diff --git a/packages/blocks/src/image-block/image-transformer.ts b/packages/blocks/src/image-block/image-transformer.ts index b8d92f4cbabd..0c1b6e871164 100644 --- a/packages/blocks/src/image-block/image-transformer.ts +++ b/packages/blocks/src/image-block/image-transformer.ts @@ -21,7 +21,8 @@ export class ImageBlockTransformer extends BaseBlockTransformer ): Promise> { const snapshotRet = await super.fromSnapshot(payload); const sourceId = snapshotRet.props.sourceId; - if (sourceId) await payload.assets.writeToBlob(sourceId); + if (sourceId && !sourceId.startsWith('/')) + await payload.assets.writeToBlob(sourceId); return snapshotRet; } diff --git a/packages/blocks/src/index.ts b/packages/blocks/src/index.ts index 6402c235fef7..091220c736cf 100644 --- a/packages/blocks/src/index.ts +++ b/packages/blocks/src/index.ts @@ -83,6 +83,12 @@ export * from './list-block/index.js'; export * from './models.js'; export * from './note-block/index.js'; export { EdgelessComponentToolbar } from './page-block/edgeless/components/component-toolbar/component-toolbar.js'; +export { EdgelessTemplatePanel } from './page-block/edgeless/components/toolbar/template/template-panel.js'; +export type { + Template, + TemplateCategory, + TemplateManager, +} from './page-block/edgeless/components/toolbar/template/template-type.js'; export { EdgelessPageService } from './page-block/edgeless/edgeless-page-service.js'; export * from './page-block/index.js'; export * from './paragraph-block/index.js'; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/builtin-templates.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/builtin-templates.ts index f3288be888db..388cb3a24644 100644 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/builtin-templates.ts +++ b/packages/blocks/src/page-block/edgeless/components/toolbar/template/builtin-templates.ts @@ -2,55 +2,6 @@ import { keys } from '../../../../../_common/utils/iterable.js'; import type { Template, TemplateManager } from './template-type.js'; export const templates = [ - { - name: 'Marketing', - templates: { - Storyboard: () => - import('./templates/storyboard.js').then(val => val.default), - '4P Marketing Matrix': () => - import('./templates/4p-marketing-matrix.js').then(val => val.default), - 'User Journey Map': () => - import('./templates/user-journey.js').then(val => val.default), - }, - }, - { - name: 'Project management', - templates: { - Gantt: () => - import('./templates/gantt-chart.js').then(val => val.default), - Kanban: () => import('./templates/kanban.js').then(val => val.default), - 'Montly Calendar': () => - import('./templates/monthly-calendar.js').then(val => val.default), - Fishbone: () => - import('./templates/fishbone.js').then(val => val.default), - 'Project Planning': () => - import('./templates/project-planning.js').then(val => val.default), - }, - }, - { - name: 'Brainstorming', - templates: { - SWOT: () => import('./templates/swot.js').then(val => val.default), - '5W2H': () => import('./templates/2h5w.js').then(val => val.default), - 'Flow Chart': () => - import('./templates/flow-chart.js').then(val => val.default), - 'Concept Map': () => - import('./templates/concept-map.js').then(val => val.default), - 'SMART Principles': () => - import('./templates/smart-principles.js').then(val => val.default), - }, - }, - { - name: 'Presentation', - templates: { - 'Data Analysis': () => - import('./templates/data-analysis.js').then(val => val.default), - 'Simple Presentation': () => - import('./templates/simple-presentation.js').then(val => val.default), - 'Business Proposal': () => - import('./templates/business-proposal.js').then(val => val.default), - }, - }, { name: 'Paws and pals', templates: () => import('./templates/stickers.js').then(val => val.default), @@ -74,24 +25,51 @@ function lcs(text1: string, text2: string) { return dp[text1.length][text2.length]; } +const extendTemplate: TemplateManager[] = []; + +const flat = (arr: T[][]) => + arr.reduce((pre, current) => { + if (current) { + pre.concat(current); + } + + return pre; + }, []); export const builtInTemplates = { list: async (category: string) => { + const extendTemplates = flat( + await Promise.all(extendTemplate.map(manager => manager.list(category))) + ); + const cate = templates.find(cate => cate.name === category); - if (!cate) return []; + if (!cate) return extendTemplates; - return cate.templates instanceof Function - ? await cate.templates() - : // @ts-ignore - Promise.all(keys(cate.templates).map(key => cate.templates[key]())); + const result: Template[] = + cate.templates instanceof Function + ? await cate.templates() + : await Promise.all( + // @ts-ignore + keys(cate.templates).map(key => cate.templates[key]()) + ); + + return result.concat(extendTemplates); }, categories: async () => { - return templates.map(cate => cate.name); + const extendCates = flat( + await Promise.all(extendTemplate.map(manager => manager.categories())) + ); + + return templates.map(cate => cate.name).concat(extendCates); }, search: async (keyword: string, cateName?: string) => { - const candidates: Template[] = []; + const candidates: Template[] = flat( + await Promise.all( + extendTemplate.map(manager => manager.search(keyword, cateName)) + ) + ); keyword = keyword.trim().toLocaleLowerCase(); @@ -107,7 +85,10 @@ export const builtInTemplates = { return Promise.all( keys(categroy.templates).map(async name => { - if (lcs(keyword, name.toLocaleLowerCase()) === keyword.length) { + if ( + lcs(keyword, (name as string).toLocaleLowerCase()) === + keyword.length + ) { // @ts-ignore const template = await categroy.templates[name](); @@ -120,4 +101,10 @@ export const builtInTemplates = { return candidates; }, + + extend(manager: TemplateManager) { + if (extendTemplate.includes(manager)) return; + + extendTemplate.push(manager); + }, } satisfies TemplateManager; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/template-panel.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/template-panel.ts index fb07436ce224..6f2832c28ab1 100644 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/template-panel.ts +++ b/packages/blocks/src/page-block/edgeless/components/toolbar/template/template-panel.ts @@ -5,6 +5,7 @@ import { css, html, LitElement, nothing } from 'lit'; import { customElement, property, state } from 'lit/decorators.js'; import { repeat } from 'lit/directives/repeat.js'; import { styleMap } from 'lit/directives/style-map.js'; +import { unsafeSVG } from 'lit/directives/unsafe-svg.js'; import { requestConnectedFrame, @@ -116,7 +117,7 @@ export class EdgelessTemplatePanel extends WithDisposable(LitElement) { width: 135px; height: 80px; box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.02); - background-color: #fff; + background-color: var(--affine-background-primary-color); border-radius: 4px; cursor: pointer; } @@ -124,7 +125,9 @@ export class EdgelessTemplatePanel extends WithDisposable(LitElement) { .template-item > svg { display: block; margin: 0 auto; - transform: translateY(20%); + width: 135px; + height: 80px; + color: var(--affine-background-primary-color); } .template-item:hover::before { @@ -438,10 +441,12 @@ export class EdgelessTemplatePanel extends WithDisposable(LitElement) { @click=${() => this._insertTemplate(template)} > ${template.preview - ? html`` + ? template.preview.startsWith('` : defaultPreview} ${template === this._loadingTemplate ? html`` diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/template-type.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/template-type.ts index 15a1c48201b1..55f070ca2d3e 100644 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/template-type.ts +++ b/packages/blocks/src/page-block/edgeless/components/toolbar/template/template-type.ts @@ -19,4 +19,6 @@ export interface TemplateManager { categories(): Promise; search(keyword: string, category?: string): Promise; + + extend?(manager: TemplateManager): void; } diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/2h5w.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/2h5w.ts deleted file mode 100644 index 1f867e3b8670..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/2h5w.ts +++ /dev/null @@ -1,541 +0,0 @@ -export default { - name: '2h5w critical questions', - type: 'template', - preview: 'https://cdn.affine.pro/templates/cover/2h5w.png', - content: { - type: 'page', - meta: { - id: 'page:home', - title: '', - createDate: 1702892304802, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:9PKzZjyndk', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [ - { - type: 'block', - id: 'block:lxGBw605Ce', - flavour: 'affine:surface', - props: { - elements: { - laToEg5JOl: { - type: 'shape', - xywh: '[-201.61938587621069,-529.1345070749973,1473.389985368025,257.1885476538611]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-magenta', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'laToEg5JOl', - index: 'a0', - seed: 1351664447, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Kalam', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This question seeks to identify the people involved or affected by the subject at hand.', - }, - ], - }, - fontWeight: '400', - fontStyle: 'normal', - fontSize: 40, - textAlign: 'left', - }, - zwvTDyNjaf: { - type: 'text', - xywh: '[-1870.3781936679968,-868.2245118314581,826,459]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'The 2H5W template is a structured format for problem-solving and analysis, focusing on two "Hows" (How, How Much) and five "Whys" (Why, Who, Where, When, What). \n\nThis template guides a thorough exploration of a situation or problem, facilitating comprehensive understanding and effective decision-making.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 36, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'zwvTDyNjaf', - index: 'a1', - seed: 2142683235, - hasMaxWidth: true, - }, - CsKLAV09It: { - type: 'shape', - xywh: '[-201.61938587621069,-251.3797849106202,1473.389985368025,257.1885476538611]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'CsKLAV09It', - index: 'a3', - seed: 987237184, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Kalam', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This question aims to define the subject, event, or issue being discussed or analyzed.', - }, - ], - }, - fontWeight: '400', - fontStyle: 'normal', - fontSize: 40, - textAlign: 'left', - }, - Q1w4z5F4GY: { - type: 'shape', - xywh: '[-201.61938587621069,26.374937253756883,1473.389985368025,257.1885476538611]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'Q1w4z5F4GY', - index: 'a4', - seed: 1442831124, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Kalam', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This addresses the location or context in which the subject or issue exists or occurs. ', - }, - ], - }, - fontWeight: '400', - fontStyle: 'normal', - fontSize: 40, - textAlign: 'left', - }, - 'TLdrgB-bmL': { - type: 'shape', - xywh: '[-201.61938587621069,304.129659418134,1473.389985368025,257.1885476538611]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-green', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'TLdrgB-bmL', - index: 'a5', - seed: 526447072, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Kalam', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This question is about timing. It covers the duration, frequency, historical context, or future dates related to the topic.', - }, - ], - }, - fontWeight: '400', - fontStyle: 'normal', - fontSize: 40, - textAlign: 'left', - }, - s8fodn6F2a: { - type: 'text', - xywh: '[-492.14417902997377,-464.54023324806656,225.53598022460938,128]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Who', - }, - ], - }, - color: '--affine-palette-line-magenta', - fontSize: 128, - fontFamily: 'blocksuite:surface:Kalam', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 's8fodn6F2a', - index: 'a6', - seed: 352833548, - }, - DZnhiDZZ6w: { - type: 'text', - xywh: '[-547.1841875748956,-186.7855110836895,280.57598876953125,128]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'What', - }, - ], - }, - color: '--affine-palette-line-purple', - fontSize: 128, - fontFamily: 'blocksuite:surface:Kalam', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'DZnhiDZZ6w', - index: 'aD', - seed: 659508098, - }, - 'BKF-_HB-rM': { - type: 'text', - xywh: '[-581.4882036881769,90.9692110806876,314.8800048828125,128]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'where', - }, - ], - }, - color: '--affine-palette-line-tangerine', - fontSize: 128, - fontFamily: 'blocksuite:surface:Kalam', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'BKF-_HB-rM', - index: 'aE', - seed: 1125861801, - }, - '-d71rCScfv': { - type: 'text', - xywh: '[-562.2881914811456,368.7239332450647,295.67999267578125,128]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'When', - }, - ], - }, - color: '--affine-palette-line-green', - fontSize: 128, - fontFamily: 'blocksuite:surface:Kalam', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: '-d71rCScfv', - index: 'aF', - seed: 1242708572, - }, - 'z-QEAae5Rt': { - type: 'text', - xywh: '[-500.8481890397394,646.4786554094418,234.239990234375,128]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Why', - }, - ], - }, - color: '--affine-palette-line-yellow', - fontSize: 128, - fontFamily: 'blocksuite:surface:Kalam', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'z-QEAae5Rt', - index: 'aG', - seed: 753535819, - }, - '2bY8WzF4_h': { - type: 'text', - xywh: '[-491.7601763444269,924.2333775738189,225.1519775390625,128]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'How', - }, - ], - }, - color: '--affine-palette-line-orange', - fontSize: 128, - fontFamily: 'blocksuite:surface:Kalam', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: '2bY8WzF4_h', - index: 'aH', - seed: 1590463856, - }, - Y5jr8zSDoo: { - type: 'text', - xywh: '[-828.2721392350519,1201.9880997381958,561.6639404296875,128]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'How much', - }, - ], - }, - color: '--affine-palette-line-blue', - fontSize: 128, - fontFamily: 'blocksuite:surface:Kalam', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'Y5jr8zSDoo', - index: 'aI', - seed: 1319055993, - }, - gI3omnjjik: { - type: 'shape', - xywh: '[-201.61938587621069,581.8843815825111,1473.389985368025,257.1885476538611]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'gI3omnjjik', - index: 'aJ', - seed: 1772724211, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Kalam', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This seeks to uncover reasons, motivations, causes, or purposes behind the subject.', - }, - ], - }, - fontWeight: '400', - fontStyle: 'normal', - fontSize: 40, - textAlign: 'left', - }, - xHDuIjj7x9: { - type: 'shape', - xywh: '[-201.61938587621069,859.6391037468882,1473.389985368025,257.1885476538611]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-orange', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'xHDuIjj7x9', - index: 'aK', - seed: 1757735583, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Kalam', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This is about the method, process, or manner in which something happens or is done.', - }, - ], - }, - fontWeight: '400', - fontStyle: 'normal', - fontSize: 40, - textAlign: 'left', - }, - 'BEDdddqjs-': { - type: 'shape', - xywh: '[-201.61938587621057,1137.3938259112651,1473.389985368025,257.1885476538611]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'BEDdddqjs-', - index: 'aL', - seed: 1910023393, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Kalam', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This question deals with quantities, volumes, extents, or degrees. ', - }, - ], - }, - fontWeight: '400', - fontStyle: 'normal', - fontSize: 40, - textAlign: 'left', - }, - eZmiP6bKVg: { - type: 'text', - xywh: '[-744.0789331182913,-960.7827003158441,2067,300]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '2h5W Critical questions ', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 200, - fontFamily: 'blocksuite:surface:Kalam', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'eZmiP6bKVg', - index: 'aN', - seed: 1671166181, - }, - zA3T9hK74M: { - type: 'text', - xywh: '[-744.0789331182913,-724.7827003158441,2005.9195556640625,80]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'things to think about when someone has something to say', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 80, - fontFamily: 'blocksuite:surface:Kalam', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'zA3T9hK74M', - index: 'aO', - seed: 1655939011, - }, - '9VCtL0aFBB': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - zwvTDyNjaf: true, - 'block:tTJGH7sGeG': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 1', - }, - ], - }, - id: '9VCtL0aFBB', - index: 'aP', - seed: 1619512515, - }, - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:tTJGH7sGeG', - flavour: 'affine:note', - props: { - xywh: '[-1927.2781877665518,-940.9087904148496,939.7999881971101,604.368557166783]', - background: '--affine-background-secondary-color', - index: 'Zz', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'solid', - shadowType: '--affine-note-shadow-film', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:0-Cp51KFEU', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/4p-marketing-matrix.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/4p-marketing-matrix.ts deleted file mode 100644 index 86da57a14a92..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/4p-marketing-matrix.ts +++ /dev/null @@ -1,688 +0,0 @@ -export default { - name: '4P Marketing Matrix', - type: 'template', - preview: 'https://cdn.affine.pro/templates/cover/4P%20Marketing.png', - content: { - type: 'page', - meta: { - id: 'page:home', - title: '', - createDate: 1702870652851, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:fUi0NNefLU', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [ - { - type: 'block', - id: 'block:EoEt5JLx5D', - flavour: 'affine:surface', - props: { - elements: { - XAVHT5noh2: { - type: 'shape', - xywh: '[-324.38214096820354,-550.5359796779505,2010.0706106372572,1389.47643680149]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'XAVHT5noh2', - index: 'a1', - seed: 571658708, - color: '--affine-palette-line-black', - }, - 'OUt8-2z9uu': { - type: 'shape', - xywh: '[1679.8574653793985,-551.0759492174957,2010.0706106372572,1392.0164063453992]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-green', - strokeWidth: 4, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'none', - roughness: 1.4, - id: 'OUt8-2z9uu', - index: 'a0', - seed: 1793267126, - color: '--affine-palette-line-black', - }, - '3fsYRBxMgM': { - type: 'shape', - xywh: '[-324.38214096820354,834.5533636643844,2010.0706106372572,1389.47643680149]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: '3fsYRBxMgM', - index: 'Zz', - seed: 549546192, - color: '--affine-palette-line-black', - }, - 'J-jTJsqddw': { - type: 'shape', - xywh: '[1678.125700824421,831.9557168319183,2010.0706106372572,1389.47643680149]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 12, - strokeColor: '--affine-palette-line-tangerine', - strokeStyle: 'none', - roughness: 1.4, - id: 'J-jTJsqddw', - index: 'Zy', - seed: 2034782310, - color: '--affine-palette-line-black', - }, - SM2SkaciaO: { - type: 'text', - xywh: '[-263.92954192315847,-499.2355323811801,241.47195434570312,105]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Product', - }, - ], - }, - color: '--affine-palette-line-blue', - fontSize: 88, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'SM2SkaciaO', - index: 'aD', - seed: 10085810, - }, - '4REd97_AOA': { - type: 'text', - xywh: '[1742.3329219139223,-499.7355323811801,153,106]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'PrICE', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 88, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '4REd97_AOA', - index: 'aE', - seed: 1574527816, - }, - '9HwiRJ55Tm': { - type: 'text', - xywh: '[1730.6756596208468,884.5632875897456,166,106]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'PLACE', - }, - ], - }, - color: '--affine-palette-line-red', - fontSize: 88, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '9HwiRJ55Tm', - index: 'aF', - seed: 941927626, - }, - BQzUGcyfQd: { - type: 'text', - xywh: '[-275.586804216234,885.0632875897456,310,106]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'ProMOTION', - }, - ], - }, - color: '--affine-palette-line-tangerine', - fontSize: 88, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'BQzUGcyfQd', - index: 'aG', - seed: 744618643, - }, - xxcrGIPEf8: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'J-jTJsqddw': true, - '3fsYRBxMgM': true, - 'OUt8-2z9uu': true, - XAVHT5noh2: true, - SM2SkaciaO: true, - '4REd97_AOA': true, - '9HwiRJ55Tm': true, - BQzUGcyfQd: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 1', - }, - ], - }, - id: 'xxcrGIPEf8', - index: 'aG', - seed: 876949189, - }, - 'm-mLDT4YTW': { - type: 'text', - xywh: '[-1301.404940998669,-309.390705391398,732.9849149269639,504]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'A 4P Marketing Matrix template organizes key marketing strategies around four elements: Product, Price, Place, and Promotion. \n\nIt provides a structured approach to define and analyze each aspect, ensuring a comprehensive marketing plan.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'm-mLDT4YTW', - index: 'ab', - seed: 1275152160, - hasMaxWidth: true, - }, - QoOFE1JiNd: { - type: 'text', - xywh: '[-1301.404940998669,-438.30124446352687,651.4558715820312,89]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '4P Marketing Matrix', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 64, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'QoOFE1JiNd', - index: 'ac', - seed: 1698133562, - }, - '-PtXwhhFG2': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'm-mLDT4YTW': true, - QoOFE1JiNd: true, - 'block:AU_AhtGxwK': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 2', - }, - ], - }, - id: '-PtXwhhFG2', - index: 'ad', - seed: 1745846146, - }, - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:yS_Ig30_Nu', - flavour: 'affine:note', - props: { - xywh: '[-47.65483438164483,-152.35566874448068,364,350.42578125]', - background: '--affine-tag-blue', - index: 'aR', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:YbS2j6dpbG', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:swcphBFY7n', - flavour: 'affine:note', - props: { - xywh: '[352.32566504563056,64.19414482024047,364,350.42578125]', - background: '--affine-tag-blue', - index: 'aS', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:hHit7PYKwO', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:0LEsgciBV_', - flavour: 'affine:note', - props: { - xywh: '[892.912994588858,-165.18985185378477,364,350.42578125]', - background: '--affine-tag-blue', - index: 'aT', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:cDvzE1rLan', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:33rK29Necq', - flavour: 'affine:note', - props: { - xywh: '[2152.3785001752194,-45.780025366743075,364,350.42578125]', - background: '--affine-tag-green', - index: 'aU', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:mteDr0YuUR', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:FDaOTvid0Q', - flavour: 'affine:note', - props: { - xywh: '[2657.263549538395,-227.09494996130474,364,350.42578125]', - background: '--affine-tag-green', - index: 'aV', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:QfdWGW5ex0', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:rL8n4AOvtM', - flavour: 'affine:note', - props: { - xywh: '[-11.674334954369453,1205.4178310224202,364,350.42578125]', - background: '--affine-tag-yellow', - index: 'aW', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:6UGmv2jIh_', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:hgE1YGjaUV', - flavour: 'affine:note', - props: { - xywh: '[590.2686764639566,1461.5599669243923,364,350.42578125]', - background: '--affine-tag-yellow', - index: 'aX', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:DBaEu-rHcc', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:i3C6a30Bpw', - flavour: 'affine:note', - props: { - xywh: '[2006.4604780976342,1247.0200381308277,364,350.42578125]', - background: '--affine-tag-orange', - index: 'aY', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:2kuMouV7qk', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:7YO3BZeMn4', - flavour: 'affine:note', - props: { - xywh: '[2628.9752347495414,1205.4178310224202,364,350.42578125]', - background: '--affine-tag-orange', - index: 'aZ', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:6KQgWboklE', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:VGgvle_FeJ', - flavour: 'affine:note', - props: { - xywh: '[3078.4659279251755,1259.3587141642702,364,350.42578125]', - background: '--affine-tag-orange', - index: 'aa', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:CbOBBqJXmF', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:AU_AhtGxwK', - flavour: 'affine:note', - props: { - xywh: '[-1354.715677749284,-531.0372627921784,838.3611164366516,834.8090568975388]', - background: '--affine-tag-purple', - index: 'aaV', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 24, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:OQJCfLhC2_', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/business-proposal.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/business-proposal.ts deleted file mode 100644 index 02d2a4962387..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/business-proposal.ts +++ /dev/null @@ -1,1516 +0,0 @@ -export default { - name: 'Business proposal', - preview: 'https://cdn.affine.pro/templates/cover/business-proposal.png', - type: 'template', - assets: { - '5hrUa6iRv8QEHQ4GukdlEKAJCfsLfn_SO7e1R7-kLbw=': - 'https://cdn.affine.pro/templates/assets/5hrUa6iRv8QEHQ4GukdlEKAJCfsLfn_SO7e1R7-kLbw=.png', - 'lpuHEpaVee9JQg04FPMvGyDQKaoOpGgJPcRr9esXX6c=': - 'https://cdn.affine.pro/templates/assets/lpuHEpaVee9JQg04FPMvGyDQKaoOpGgJPcRr9esXX6c=.png', - 'MU7nFyWxQZGbxJcgcMk51gPOniw0APZZz8QwibMv63I=': - 'https://cdn.affine.pro/templates/assets/MU7nFyWxQZGbxJcgcMk51gPOniw0APZZz8QwibMv63I=.png', - 'sStrDiHGmJI0fL_tOOKD5or4xGVdEAkjORUhOquQqm4=': - 'https://cdn.affine.pro/templates/assets/sStrDiHGmJI0fL_tOOKD5or4xGVdEAkjORUhOquQqm4=.png', - 'X6sT_Av1ACadZUhAcnlHNg3qzYg508fFM0AXT13gaZg=': - 'https://cdn.affine.pro/templates/assets/X6sT_Av1ACadZUhAcnlHNg3qzYg508fFM0AXT13gaZg=.png', - 'YRK8H80QGFrLa_vsRf7DIwEYnPsf2v10Ed39rl4UEyo=': - 'https://cdn.affine.pro/templates/assets/YRK8H80QGFrLa_vsRf7DIwEYnPsf2v10Ed39rl4UEyo=.png', - }, - content: { - type: 'page', - meta: { - id: 'page:I5WoYKp4Uc', - title: '', - createDate: 1702627715424, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:0WwhZofppy', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [ - { - type: 'block', - id: 'block:cZnyeEzUiq', - flavour: 'affine:surface', - props: { - elements: { - v1xvpqdc9h: { - type: 'shape', - xywh: '[5000.422168588957,825.2166135235592,1489.8866704714924,25.74013173888693]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'v1xvpqdc9h', - index: 'a4', - seed: 305892425, - color: '--affine-palette-line-black', - }, - 'xYeHY-MRWp': { - type: 'shape', - xywh: '[5471.449031000489,803.8661563746741,59.49757789928316,59.49757789928303]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 12, - strokeColor: '--affine-palette-line-purple', - strokeStyle: 'solid', - roughness: 1.4, - id: 'xYeHY-MRWp', - index: 'a6', - seed: 459940732, - color: '--affine-palette-line-black', - }, - xfSptKTgpb: { - type: 'shape', - xywh: '[5801.276777531035,803.8661563746741,59.49757789928316,59.49757789928303]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 12, - strokeColor: '--affine-palette-line-purple', - strokeStyle: 'solid', - roughness: 1.4, - id: 'xfSptKTgpb', - index: 'a7', - seed: 814009913, - color: '--affine-palette-line-black', - }, - dwRGwjh1Uy: { - type: 'shape', - xywh: '[6131.104524061582,803.8661563746741,59.49757789928316,59.49757789928303]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 12, - strokeColor: '--affine-palette-line-purple', - strokeStyle: 'solid', - roughness: 1.4, - id: 'dwRGwjh1Uy', - index: 'a8', - seed: 983459874, - color: '--affine-palette-line-black', - }, - uT4YleA06R: { - type: 'shape', - xywh: '[5069.948263232722,372.89673468264266,201.76777073378275,201.76777073378219]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 12, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'none', - roughness: 1.4, - id: 'uT4YleA06R', - index: 'a9', - seed: 1169166239, - color: '--affine-palette-line-black', - }, - ZmzLjgkT7N: { - type: 'shape', - xywh: '[5399.776009763269,372.89673468264266,201.76777073378275,201.76777073378219]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 12, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'none', - roughness: 1.4, - id: 'ZmzLjgkT7N', - index: 'aA', - seed: 1745087278, - color: '--affine-palette-line-black', - }, - '3zerHIqE-_': { - type: 'shape', - xywh: '[5729.603756293816,372.89673468264266,201.76777073378275,201.76777073378219]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 12, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'none', - roughness: 1.4, - id: '3zerHIqE-_', - index: 'aB', - seed: 835374136, - color: '--affine-palette-line-black', - }, - 'D-JDT7SAkW': { - type: 'shape', - xywh: '[6059.431502824364,372.89673468264266,201.76777073378275,201.76777073378219]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 12, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'none', - roughness: 1.4, - id: 'D-JDT7SAkW', - index: 'aC', - seed: 24543409, - color: '--affine-palette-line-black', - }, - '0ndsfTZ0SM': { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-purple', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'ZmzLjgkT7N', - position: [0.5, 1], - }, - target: { - id: 'xYeHY-MRWp', - position: [0.49999999999999856, 0], - }, - id: '0ndsfTZ0SM', - index: 'aE', - seed: 752582912, - rearEndpointStyle: 'None', - xywh: '[5500.65989513016,574.6645054164248,1,229.20165095824927]', - }, - YeoLxRuHuK: { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-purple', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '3zerHIqE-_', - position: [0.5, 1], - }, - target: { - id: 'xfSptKTgpb', - position: [0.49999999999999856, 0], - }, - id: 'YeoLxRuHuK', - index: 'aF', - seed: 1151046539, - rearEndpointStyle: 'None', - xywh: '[5830.487641660708,574.6645054164248,1,229.20165095824927]', - }, - ob7kW7BjVm: { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-purple', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'D-JDT7SAkW', - position: [0.5, 1], - }, - target: { - id: 'dwRGwjh1Uy', - position: [0.49999999999999856, 0], - }, - id: 'ob7kW7BjVm', - index: 'aG', - seed: 645414812, - rearEndpointStyle: 'None', - xywh: '[6160.315388191255,574.6645054164248,1,229.20165095824927]', - }, - CQohD_ZThx: { - type: 'text', - xywh: '[6129.315388191255,292.96623946912683,64,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '2023', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'CQohD_ZThx', - index: 'aL', - seed: 1074040389, - }, - I4YKY24gN9: { - type: 'text', - xywh: '[5799.487641660708,292.96623946912683,65,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '2022', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'I4YKY24gN9', - index: 'aM', - seed: 8316108, - }, - pVGTk_m5AZ: { - type: 'text', - xywh: '[5469.15989513016,292.96623946912683,65,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '2021', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'pVGTk_m5AZ', - index: 'aN', - seed: 1075416576, - }, - _L7CwtDFEA: { - type: 'text', - xywh: '[5139.332148599613,292.96623946912683,65,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '2020', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '_L7CwtDFEA', - index: 'aO', - seed: 2084020856, - }, - '9TjB6In1l4': { - type: 'text', - xywh: '[5129.431605386722,902.1407030686689,84.80108642578125,28.5]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Stage 1', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'center', - id: '9TjB6In1l4', - index: 'aP', - seed: 1010267648, - }, - '5ewjK533rs': { - type: 'text', - xywh: '[5046.332148599613,949.1098529022973,251,46]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This paragraph provides an introduction to this milestone', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 18, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'center', - id: '5ewjK533rs', - index: 'aT', - seed: 8255043, - hasMaxWidth: true, - }, - KrkIty49VK: { - type: 'text', - xywh: '[5456.719480503916,902.1407030686689,90,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Stage 2', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24.03372713795044, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'center', - id: 'KrkIty49VK', - index: 'aU', - seed: 756916496, - }, - oLXXWv1qS6: { - type: 'text', - xywh: '[5376.15989513016,949.1098529022973,251,46]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This paragraph provides an introduction to this milestone', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 18, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'center', - id: 'oLXXWv1qS6', - index: 'aV', - seed: 1154790041, - hasMaxWidth: true, - }, - KOCiPVB86q: { - type: 'text', - xywh: '[5786.987641660708,902.1407030686689,90,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Stage 3', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'center', - id: 'KOCiPVB86q', - index: 'aW', - seed: 1417903226, - }, - sVjzVX7Axf: { - type: 'text', - xywh: '[5706.487641660708,949.1098529022973,251,46]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This paragraph provides an introduction to this milestone', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 18, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'center', - id: 'sVjzVX7Axf', - index: 'aX', - seed: 1239190195, - hasMaxWidth: true, - }, - 'YEEQSfL1-A': { - type: 'text', - xywh: '[6115.815388191255,902.1407030686689,91,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Stage 4', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'center', - id: 'YEEQSfL1-A', - index: 'aY', - seed: 958096200, - }, - '63FSPgYdia': { - type: 'text', - xywh: '[6035.815388191255,949.1098529022973,251,46]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This paragraph provides an introduction to this milestone', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 18, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'center', - id: '63FSPgYdia', - index: 'aZ', - seed: 1615318817, - hasMaxWidth: true, - }, - 'vl-yYaqfk_': { - type: 'shape', - xywh: '[3686.5329269060107,1318.880372533908,636.1053294230119,636.1053294230111]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 6, - strokeColor: '--affine-palette-line-purple', - strokeStyle: 'dash', - roughness: 1.4, - id: 'vl-yYaqfk_', - index: 'Zv', - seed: 1659149041, - color: '--affine-palette-line-black', - }, - CzquHF_9av: { - type: 'shape', - xywh: '[4140.804251934269,1337.295248548868,201.76777073378275,201.76777073378219]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 12, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'none', - roughness: 1.4, - id: 'CzquHF_9av', - index: 'Zw', - seed: 1770583176, - color: '--affine-palette-line-black', - }, - KPL0SHH3PV: { - type: 'shape', - xywh: '[3597.306157602888,1548.3102125373161,201.76777073378275,201.76777073378219]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 12, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'none', - roughness: 1.4, - id: 'KPL0SHH3PV', - index: 'Zx', - seed: 214183508, - color: '--affine-palette-line-black', - }, - 'KRg-Xo0ahC': { - type: 'shape', - xywh: '[4168.497971764953,1706.2487813895084,201.76777073378275,201.76777073378219]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 12, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'none', - roughness: 1.4, - id: 'KRg-Xo0ahC', - index: 'Zy', - seed: 289841896, - color: '--affine-palette-line-black', - }, - RCIKCZ3oA5: { - type: 'shape', - xywh: '[3833.0343812020524,1821.6326667563994,201.76777073378275,201.76777073378219]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 12, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'none', - roughness: 1.4, - id: 'RCIKCZ3oA5', - index: 'Zz', - seed: 1649477631, - color: '--affine-palette-line-black', - }, - xzO3Re2zx2: { - type: 'shape', - xywh: '[3785.5343812020524,1245.9582031568575,201.76777073378275,201.76777073378219]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 12, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'none', - roughness: 1.4, - id: 'xzO3Re2zx2', - index: 'aM', - seed: 1480225366, - color: '--affine-palette-line-black', - }, - lIYMQyzF5Q: { - type: 'text', - xywh: '[4370.265742498736,1370.4064691041553,89,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Section', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'lIYMQyzF5Q', - index: 'aO', - seed: 950898437, - }, - NRglpdgd8B: { - type: 'text', - xywh: '[4370.265742498736,1410.6564691041553,251,43]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This paragraph provides an introduction to this section', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 18, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'NRglpdgd8B', - index: 'aP', - seed: 1312674817, - hasMaxWidth: true, - }, - nkCc3l9dbO: { - type: 'text', - xywh: '[4438.420057133606,1808.3670054292957,251,43]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This paragraph provides an introduction to this section', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 18, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'nkCc3l9dbO', - index: 'aQ', - seed: 2146196367, - hasMaxWidth: true, - }, - ruONHiRlQ9: { - type: 'text', - xywh: '[4438.420057133606,1768.1170054292957,89,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Section', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'ruONHiRlQ9', - index: 'aR', - seed: 1704267176, - }, - '2Lj16Rr0aU': { - type: 'text', - xywh: '[3513.132650596946,1968.6415521232907,251,43]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This paragraph provides an introduction to this section', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 18, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '2Lj16Rr0aU', - index: 'aS', - seed: 547147214, - hasMaxWidth: true, - }, - AxehWJn9EF: { - type: 'text', - xywh: '[3513.132650596946,1928.3915521232907,89,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Section', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'AxehWJn9EF', - index: 'aT', - seed: 623768655, - }, - '-MJyB_VljN': { - type: 'text', - xywh: '[3318.503605896128,1647.8190979042072,251,43]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This paragraph provides an introduction to this section', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 18, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '-MJyB_VljN', - index: 'aU', - seed: 1275218579, - hasMaxWidth: true, - }, - OCmVwXzMdy: { - type: 'text', - xywh: '[3318.503605896128,1607.5690979042072,89,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Section', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'OCmVwXzMdy', - index: 'aV', - seed: 1314725710, - }, - QHyUiYq2F5: { - type: 'text', - xywh: '[3462.114720377512,1297.4670885237485,251,43]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This paragraph provides an introduction to this section', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 18, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'QHyUiYq2F5', - index: 'aW', - seed: 1533504434, - hasMaxWidth: true, - }, - guoX5PU9Eb: { - type: 'text', - xywh: '[3462.114720377512,1257.2170885237485,89,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Section', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'guoX5PU9Eb', - index: 'aX', - seed: 1493386392, - }, - wFZuI2RLrD: { - type: 'shape', - xywh: '[4286.389648704759,431.35771818739454,391.1040508877638,523.9554856361598]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'none', - roughness: 1.4, - id: 'wFZuI2RLrD', - index: 'b00', - seed: 94745286, - color: '--affine-palette-line-black', - }, - 'o1HC86BOS-': { - type: 'shape', - xywh: '[3809.0335661736353,431.35771818739454,391.1040508877638,523.9554856361598]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'none', - roughness: 1.4, - id: 'o1HC86BOS-', - index: 'b00', - seed: 1688028921, - color: '--affine-palette-line-black', - }, - Ac8dO1IgZz: { - type: 'shape', - xywh: '[3331.677483642512,431.35771818739454,391.1040508877638,523.9554856361598]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'Ac8dO1IgZz', - index: 'b00', - seed: 1661884164, - color: '--affine-palette-line-black', - }, - vUR_wqR8AS: { - type: 'text', - xywh: '[3331.677483642512,283.03415541289723,85.51995849609375,56]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Title', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'vUR_wqR8AS', - index: 'b00', - seed: 1815365591, - }, - '-rpQwCGOAB': { - type: 'text', - xywh: '[3331.677483642512,347.3953759681849,1340,43]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 18, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '-rpQwCGOAB', - index: 'b00', - seed: 1590226083, - hasMaxWidth: true, - }, - bNwmKzRCmU: { - type: 'shape', - xywh: '[5141.083359649972,803.8661563746741,59.49757789928316,59.49757789928303]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 12, - strokeColor: '--affine-palette-line-purple', - strokeStyle: 'solid', - roughness: 1.4, - id: 'bNwmKzRCmU', - index: 'b02', - seed: 1486989012, - color: '--affine-palette-line-black', - }, - BM8xW6eKdu: { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-purple', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'bNwmKzRCmU', - position: [0.5, 0], - }, - target: { - id: 'uT4YleA06R', - position: [0.49999999999999944, 1], - }, - id: 'BM8xW6eKdu', - index: 'b03', - seed: 1681229764, - rearEndpointStyle: 'None', - xywh: '[5170.828969860392,574.6664677358267,1,229.20000000000005]', - }, - 'Rb4Jma-7qE': { - type: 'shape', - xywh: '[5023.469273798737,1319.6581535468417,447.3486346230511,652.2827693553795]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'none', - roughness: 1.4, - id: 'Rb4Jma-7qE', - index: 'b2a', - seed: 2052058894, - color: '--affine-palette-line-black', - }, - byS9LTkHp4: { - type: 'text', - xywh: '[5578.2184401639515,1357.0722118584613,284,73]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Summaries', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 48, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'byS9LTkHp4', - index: 'b2b', - seed: 2002337178, - }, - oshK6MXv4M: { - type: 'text', - xywh: '[5978.487655891084,1518.2294202053827,286.2980768176762,168]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'Get the word out on social media! Social media is a powerful tool to reach people across the globe. Share your tips with your followers and encourage others to do the same.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 20, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'oshK6MXv4M', - index: 'b2c', - seed: 1253755023, - hasMaxWidth: true, - }, - tzyzLRtZbi: { - type: 'text', - xywh: '[5978.487655891084,1472.0307951295272,39,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '02.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'tzyzLRtZbi', - index: 'b2d', - seed: 2046423432, - }, - KNgldlE2kB: { - type: 'text', - xywh: '[5589.8159549422035,1790.5268645906012,286.2980768176762,144]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'Join a community group that focuses on reducing plastic use and work together on ways to inform your community on how to reduce plastic use.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 20, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'KNgldlE2kB', - index: 'b2e', - seed: 503936602, - hasMaxWidth: true, - }, - Lk6esPrFki: { - type: 'text', - xywh: '[5589.8159549422035,1738.3282395147448,39,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '03.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'Lk6esPrFki', - index: 'b2f', - seed: 1972591908, - }, - UDBOSIyCCQ: { - type: 'text', - xywh: '[5589.8159549422035,1518.2294202053827,286.2980768176762,72]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'Inform your friends and family of ways they can reduce their plastic use.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 20, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'UDBOSIyCCQ', - index: 'b2g', - seed: 1543577967, - hasMaxWidth: true, - }, - Q7xttKjesV: { - type: 'text', - xywh: '[5589.8159549422035,1472.0307951295272,35,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '01.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'Q7xttKjesV', - index: 'b2h', - seed: 695140097, - }, - jvvoNcvB4h: { - type: 'text', - xywh: '[5978.487655891084,1790.5268645906012,286.2980768176762,120]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'Stay informed on progress. Keep up to date on changes in your community or state and be aware of decreases in progress.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 20, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'jvvoNcvB4h', - index: 'b2i', - seed: 713746367, - hasMaxWidth: true, - }, - aGjicymxSj: { - type: 'text', - xywh: '[5978.487655891084,1738.3282395147448,39,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '04.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'aGjicymxSj', - index: 'b2j', - seed: 1958232302, - }, - }, - }, - children: [ - { - type: 'block', - id: 'block:FfMzOl9AxI', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Timeline', - }, - ], - }, - background: '--affine-tag-purple', - xywh: '[4890.30883906045,167.35261121180537,1600,900]', - index: 'a0', - }, - children: [], - }, - { - type: 'block', - id: 'block:DCdSxTLOn3', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'MU7nFyWxQZGbxJcgcMk51gPOniw0APZZz8QwibMv63I=', - width: 0, - height: 0, - index: 'aH', - xywh: '[5453.15989513016,426.28062004953375,95,95]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:h_wqUAmzzW', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'lpuHEpaVee9JQg04FPMvGyDQKaoOpGgJPcRr9esXX6c=', - width: 0, - height: 0, - index: 'aI', - xywh: '[5123.832148599613,426.28062004953375,95,95]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:KDnP-OBZsY', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'sStrDiHGmJI0fL_tOOKD5or4xGVdEAkjORUhOquQqm4=', - width: 0, - height: 0, - index: 'aJ', - xywh: '[6112.815388191253,426.28062004953375,95,95]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:xILeUxeiAS', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'YRK8H80QGFrLa_vsRf7DIwEYnPsf2v10Ed39rl4UEyo=', - width: 0, - height: 0, - index: 'aK', - xywh: '[5782.987641660708,426.28062004953375,95,95]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:gwZLEptQ3T', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Cycle', - }, - ], - }, - background: '--affine-tag-purple', - xywh: '[3196.8433476963087,1184.0748043403794,1600,900]', - index: 'a1', - }, - children: [], - }, - { - type: 'block', - id: 'block:7ZhlE4GjyJ', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'MU7nFyWxQZGbxJcgcMk51gPOniw0APZZz8QwibMv63I=', - width: 0, - height: 0, - index: 'aP', - xywh: '[3650.6900429697794,1601.6940979042072,95,95]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:ibxjd1TYLF', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'lpuHEpaVee9JQg04FPMvGyDQKaoOpGgJPcRr9esXX6c=', - width: 0, - height: 0, - index: 'aQ', - xywh: '[4194.688137301162,1390.679133915759,95,95]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:5UbuR2d7y4', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'sStrDiHGmJI0fL_tOOKD5or4xGVdEAkjORUhOquQqm4=', - width: 0, - height: 0, - index: 'aR', - xywh: '[3886.4182665689436,1875.0165521232907,95,95]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:sC38fxJ_gX', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'YRK8H80QGFrLa_vsRf7DIwEYnPsf2v10Ed39rl4UEyo=', - width: 0, - height: 0, - index: 'aS', - xywh: '[4221.881857131846,1759.6326667563994,95,95]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:sO4f7yykIi', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'X6sT_Av1ACadZUhAcnlHNg3qzYg508fFM0AXT13gaZg=', - width: 0, - height: 0, - index: 'aT', - xywh: '[3838.9182665689436,1297.4670885237485,95,95]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:nDvIKUIUsk', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Story', - }, - ], - }, - background: '--affine-tag-purple', - xywh: '[3196.8433476963087,167.35261121180537,1600,900]', - index: 'a4', - }, - children: [], - }, - { - type: 'block', - id: 'block:ylRVGRlX4r', - flavour: 'affine:image', - props: { - caption: '', - sourceId: '5hrUa6iRv8QEHQ4GukdlEKAJCfsLfn_SO7e1R7-kLbw=', - width: 0, - height: 0, - index: 'b2X', - xywh: '[3913.8322792330237,602.5821486209802,181.50662476898833,181.50662476898833]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:fX8BzaxCUH', - flavour: 'affine:image', - props: { - caption: '', - sourceId: '5hrUa6iRv8QEHQ4GukdlEKAJCfsLfn_SO7e1R7-kLbw=', - width: 0, - height: 0, - index: 'b2Y', - xywh: '[4391.188361764147,602.5821486209802,181.50662476898833,181.50662476898833]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:u2Qt3LCs90', - flavour: 'affine:image', - props: { - caption: '', - sourceId: '5hrUa6iRv8QEHQ4GukdlEKAJCfsLfn_SO7e1R7-kLbw=', - width: 0, - height: 0, - index: 'b01', - xywh: '[3436.4761967018985,602.5821486209802,181.50662476898833,181.50662476898833]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:mDNgKTE-4u', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Summaries', - }, - ], - }, - background: '--affine-tag-purple', - xywh: '[4890.30883906045,1184.0748043403794,1600,900]', - index: 'a5', - }, - children: [], - }, - { - type: 'block', - id: 'block:Y_wwmdtGzO', - flavour: 'affine:image', - props: { - caption: '', - sourceId: '5hrUa6iRv8QEHQ4GukdlEKAJCfsLfn_SO7e1R7-kLbw=', - width: 0, - height: 0, - index: 'b2k', - xywh: '[5156.390278725768,1555.0462258400376,181.50662476898833,181.50662476898833]', - rotate: 0, - size: -1, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/concept-map.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/concept-map.ts deleted file mode 100644 index b86a63aa4cd4..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/concept-map.ts +++ /dev/null @@ -1,964 +0,0 @@ -export default { - name: 'Concept map', - preview: 'https://cdn.affine.pro/templates/cover/concept-map.png', - type: 'template', - content: { - type: 'page', - meta: { - id: 'page:home', - title: '', - createDate: 1702545977703, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:zO9N0xOG8v', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [ - { - type: 'block', - id: 'block:tax227rnU6', - flavour: 'affine:surface', - props: { - elements: { - _NauhluNv8: { - type: 'shape', - xywh: '[-565.4676959580452,823.1831587784588,359.1870409188244,234.3117368304869]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-red', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '_NauhluNv8', - index: 'a0', - seed: 1178553904, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Concept A', - }, - ], - }, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - fontSize: 64, - }, - 'c9A_0-_Yg5': { - type: 'shape', - xywh: '[313.5980409760074,337.9129232558182,354.57140802360345,355]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-green', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'c9A_0-_Yg5', - index: 'a1', - seed: 604664369, - text: { - 'affine:surface:text': true, - delta: [], - }, - color: '--affine-palette-line-black', - }, - '3QZ3Mpjpml': { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-red', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '_NauhluNv8', - position: [1, 0.5], - }, - target: { - id: 'c9A_0-_Yg5', - position: [0, 0.5], - }, - id: '3QZ3Mpjpml', - index: 'a2', - seed: 1711194383, - }, - EPo5iGWr3B: { - type: 'shape', - xywh: '[1212.2604878214552,393.9205485726134,242.69139355242314,242.98474936640957]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-green', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'EPo5iGWr3B', - index: 'a3', - seed: 300090528, - text: { - 'affine:surface:text': true, - delta: [], - }, - color: '--affine-palette-line-black', - }, - '9l9_m9y03E': { - type: 'connector', - mode: 1, - strokeWidth: 6, - stroke: '--affine-palette-line-green', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'c9A_0-_Yg5', - position: [1, 0.5], - }, - target: { - id: 'EPo5iGWr3B', - position: [0, 0.5], - }, - id: '9l9_m9y03E', - index: 'a4', - seed: 2064846110, - }, - '7vua1RTvfI': { - type: 'shape', - xywh: '[313.59859197639656,1195.870490552838,354.57140802360345,355]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '7vua1RTvfI', - index: 'a5', - seed: 692989575, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - c6IeqvtpTW: { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-red', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '_NauhluNv8', - position: [1, 0.5], - }, - target: { - id: '7vua1RTvfI', - position: [0, 0.5], - }, - id: 'c6IeqvtpTW', - index: 'a6', - seed: 541638884, - }, - pZ8YgLumPe: { - type: 'shape', - xywh: '[1212.26,961.2697195712623,243.74661660391826,244.0412479300382]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'pZ8YgLumPe', - index: 'a7', - seed: 211273728, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - aRRUmplybl: { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-yellow', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '7vua1RTvfI', - position: [1, 0.5], - }, - target: { - id: 'pZ8YgLumPe', - position: [0, 0.5], - }, - id: 'aRRUmplybl', - index: 'a8', - seed: 639191456, - }, - 'WlSXxCEv_-': { - type: 'shape', - xywh: '[1901.7200346203379,685.7172539045696,243.74661660391826,244.0412479300382]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'WlSXxCEv_-', - index: 'a9', - seed: 470221421, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - '4a3FScaSQE': { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-tangerine', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'pZ8YgLumPe', - position: [1, 0.5], - }, - target: { - id: 'WlSXxCEv_-', - position: [0, 0.5], - }, - id: '4a3FScaSQE', - index: 'aA', - seed: 1674435251, - }, - PO628YwVwL: { - type: 'shape', - xywh: '[1901.7200346203379,961.2697195712623,243.74661660391826,244.0412479300382]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'PO628YwVwL', - index: 'aB', - seed: 1494756941, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - cMz3da1Swx: { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-tangerine', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'pZ8YgLumPe', - position: [1, 0.5], - }, - target: { - id: 'PO628YwVwL', - position: [0, 0.5], - }, - id: 'cMz3da1Swx', - index: 'aC', - seed: 1162840575, - }, - bkI_M_zdPC: { - type: 'shape', - xywh: '[1583.5554980824681,1475.4422755872297,241.06663727411078,241.3580291465928]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'bkI_M_zdPC', - index: 'aD', - seed: 1290515361, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - '8xEVRaz1Ho': { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-yellow', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '7vua1RTvfI', - position: [1, 0.5], - }, - target: { - id: 'bkI_M_zdPC', - position: [0, 0.5], - }, - id: '8xEVRaz1Ho', - index: 'aE', - seed: 995661157, - }, - iPo4Mx097W: { - type: 'shape', - xywh: '[1583.56,1759.689580233623,239.0045219413642,255.87837097652096]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'iPo4Mx097W', - index: 'aF', - seed: 986102426, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - 'WUkt-X-vWF': { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-yellow', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '7vua1RTvfI', - position: [1, 0.5], - }, - target: { - id: 'iPo4Mx097W', - position: [0, 0.5], - }, - id: 'WUkt-X-vWF', - index: 'aG', - seed: 1480522675, - }, - D4TnCX6XWb: { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-tangerine', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'pZ8YgLumPe', - position: [0.5, 0], - }, - target: { - id: 'EPo5iGWr3B', - position: [0.49999999999999983, 1.0000000000000002], - }, - id: 'D4TnCX6XWb', - index: 'aH', - seed: 164523222, - }, - geVQr7C1Vl: { - type: 'shape', - xywh: '[3281.2395914798485,1165.3794861279807,359.1870409188244,234.3117368304869]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'geVQr7C1Vl', - index: 'aI', - seed: 425969247, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Concept B', - }, - ], - }, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - fontSize: 64, - }, - 'QW-eIVGqR-': { - type: 'shape', - xywh: '[4153.304804257421,470.32530887671055,352.32430188817403,352.32430188817403]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'QW-eIVGqR-', - index: 'aJ', - seed: 492532568, - color: '--affine-palette-line-black', - }, - '4TgKZqYtGt': { - type: 'shape', - xywh: '[5054.648338672829,374.3262818807707,239.3281164117212,239.32811641172134]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-navy', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '4TgKZqYtGt', - index: 'aK', - seed: 437989101, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - '80GlW4FRkW': { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-blue', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'QW-eIVGqR-', - position: [1, 0.5], - }, - target: { - id: '4TgKZqYtGt', - position: [0, 0.5], - }, - id: '80GlW4FRkW', - index: 'aL', - seed: 2026752511, - }, - rGz7nH0FWs: { - type: 'shape', - xywh: '[5054.648338672829,1016.4435314923526,239.3281164117212,239.32811641172134]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'rGz7nH0FWs', - index: 'aM', - seed: 992649697, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - EiIACS3dPR: { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-blue', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'QW-eIVGqR-', - position: [1, 0.5], - }, - target: { - id: 'rGz7nH0FWs', - }, - id: 'EiIACS3dPR', - index: 'aN', - seed: 1274432376, - }, - d6grh_hL_k: { - type: 'shape', - xywh: '[5970.458884201131,210.95038517496232,239.3281164117212,239.32811641172134]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-navy', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'd6grh_hL_k', - index: 'aV', - seed: 795723578, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - K1NIWgLhdC: { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-navy', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '4TgKZqYtGt', - position: [1, 0.5], - }, - target: { - id: 'd6grh_hL_k', - position: [0, 0.5], - }, - id: 'K1NIWgLhdC', - index: 'aW', - seed: 1020347821, - }, - '8qNQJ9bhVY': { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-navy', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '4TgKZqYtGt', - position: [1, 0.5], - }, - target: { - id: 'TArbcOobcc', - position: [0, 0.5], - }, - id: '8qNQJ9bhVY', - index: 'aX', - seed: 767517308, - }, - TArbcOobcc: { - type: 'shape', - xywh: '[5963.886461884858,583.3214943531634,239.3281164117212,239.32811641172134]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-navy', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'TArbcOobcc', - index: 'aY', - seed: 494783000, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - 'q4cuIivjW-': { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-purple', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'geVQr7C1Vl', - position: [1, 0.5], - }, - target: { - id: 'QW-eIVGqR-', - }, - id: 'q4cuIivjW-', - index: 'aZ', - seed: 1483128717, - }, - cQ9d2a_2eP: { - type: 'connector', - mode: 2, - strokeWidth: 8, - stroke: '--affine-palette-line-blue', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'rGz7nH0FWs', - position: [0.5, 0], - }, - target: { - id: '4TgKZqYtGt', - position: [0.49999999999999983, 1.0000000000000009], - }, - id: 'cQ9d2a_2eP', - index: 'aa', - seed: 1712697165, - }, - gawvFqnl5U: { - type: 'shape', - xywh: '[5741.956011523047,1016.4435314923526,239.3281164117212,239.32811641172134]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'gawvFqnl5U', - index: 'ab', - seed: 1625007549, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - QbQZA9g_Rc: { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-blue', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'rGz7nH0FWs', - position: [1, 0.5], - }, - target: { - id: 'gawvFqnl5U', - position: [0, 0.5], - }, - id: 'QbQZA9g_Rc', - index: 'ac', - seed: 2074419450, - }, - RqOagapKQq: { - type: 'shape', - xywh: '[4140.913350198338,1603.707463724004,352.32430188817403,352.32430188817403]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-magenta', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'RqOagapKQq', - index: 'ad', - seed: 644339416, - color: '--affine-palette-line-black', - }, - fVofz9OwVl: { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-purple', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'geVQr7C1Vl', - position: [1, 0.5], - }, - target: { - id: 'RqOagapKQq', - position: [-1.613383424196774e-16, 0.49999999999999994], - }, - id: 'fVofz9OwVl', - index: 'ae', - seed: 532519562, - }, - 'S-5mYrSYuJ': { - type: 'shape', - xywh: '[5054.648338672829,1467.1382249312574,239.3281164117212,239.32811641172134]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-magenta', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'S-5mYrSYuJ', - index: 'af', - seed: 13175154, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - HcKGzAtGjX: { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-magenta', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'RqOagapKQq', - position: [1, 0.5], - }, - target: { - id: 'S-5mYrSYuJ', - }, - id: 'HcKGzAtGjX', - index: 'ag', - seed: 875202134, - }, - bAN2bDXwBt: { - type: 'shape', - xywh: '[5054.647287437893,1936.3788483010126,239.3281164117212,239.32811641172134]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-magenta', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'bAN2bDXwBt', - index: 'ah', - seed: 424956776, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - }, - xoh_egbsWE: { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-magenta', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'RqOagapKQq', - position: [1, 0.5], - }, - target: { - id: 'bAN2bDXwBt', - position: [0, 0.5000000000000004], - }, - id: 'xoh_egbsWE', - index: 'ai', - seed: 1624865198, - }, - 'mR-vHIBy3d': { - type: 'text', - xywh: '[-1938.713125654775,274.4909407428672,773,506]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'A concept map template is a visual framework designed to help organize and structure information. \n\nIt typically includes blank nodes or boxes for key concepts and connecting lines or arrows to show relationships. \n\nThis template aids in mapping out ideas, facilitating understanding and analysis of complex topics.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 36, - fontFamily: 'blocksuite:surface:Lora', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'mR-vHIBy3d', - index: 'aj', - seed: 285408721, - hasMaxWidth: true, - }, - ZvEovIAZEw: { - type: 'text', - xywh: '[-1938.713125654775,147.67205889634872,401.1519470214844,82]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Concept map', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 64, - fontFamily: 'blocksuite:surface:Lora', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'ZvEovIAZEw', - index: 'ak', - seed: 547213986, - }, - '0aeQYNGnYy': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'mR-vHIBy3d': true, - ZvEovIAZEw: true, - 'block:EfncrHUP_j': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 1', - }, - ], - }, - id: '0aeQYNGnYy', - index: 'al', - seed: 988218646, - }, - }, - }, - children: [ - { - type: 'block', - id: 'block:ewW1NOT0q-', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Concept A', - }, - ], - }, - background: '--affine-palette-transparent', - xywh: '[-768.6029765827916,43.70150944204761,3295.713316143743,2334.3611703783336]', - index: 'a0', - }, - children: [], - }, - { - type: 'block', - id: 'block:wP5EuRC3Lm', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Concept B', - }, - ], - }, - background: '--affine-palette-transparent', - xywh: '[3084.0532734172084,29.19657905222857,3311.385057107737,2333.3478230012192]', - index: 'a1', - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:EfncrHUP_j', - flavour: 'affine:note', - props: { - xywh: '[-1990.0289642502662,59.11965521195796,866.643977265981,795.1339868695381]', - background: '--affine-background-secondary-color', - index: 'Zz', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-film', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:amvNla6RqM', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/data-analysis.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/data-analysis.ts deleted file mode 100644 index ec0f557fad32..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/data-analysis.ts +++ /dev/null @@ -1,2391 +0,0 @@ -export default { - name: 'Data Analysis', - type: 'template', - preview: 'https://cdn.affine.pro/templates/cover/data-analysis.png', - assets: { - 'h3n8VMwxAvsSBVIu7zElTaEzsLJY6F6mGPK6Zym3cBQ=': - 'https://cdn.affine.pro/templates/assets/h3n8VMwxAvsSBVIu7zElTaEzsLJY6F6mGPK6Zym3cBQ=.png', - }, - content: { - type: 'page', - meta: { - id: 'page:m_LVk8j2Fz', - title: '', - createDate: 1702622215481, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:V51HC9f140', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [ - { - type: 'block', - id: 'block:sNK1yLcZhO', - flavour: 'affine:surface', - props: { - elements: { - c6_y8ytVzO: { - type: 'shape', - xywh: '[3397.8937501737487,1503.7230387314412,115.16906082836704,166.5998176036096]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-orange', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'c6_y8ytVzO', - index: 'b04', - seed: 791799079, - color: '--affine-palette-line-black', - }, - '5-_fqgg8D0': { - type: 'shape', - xywh: '[3591.6118063895638,1361.905537589504,115.16906082836704,308.41731819363895]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-orange', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '5-_fqgg8D0', - index: 'b05', - seed: 358258108, - color: '--affine-palette-line-black', - }, - '1GXkFONwJS': { - type: 'shape', - xywh: '[3785.3298626053784,1229.0793103937567,115.16906082836704,441.2435447128246]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-orange', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '1GXkFONwJS', - index: 'b06', - seed: 261815659, - color: '--affine-palette-line-black', - }, - '9pM0CTjfBu': { - type: 'shape', - xywh: '[3979.047918821194,1096.9361052346371,115.16906082836704,573.3867492533714]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '9pM0CTjfBu', - index: 'b07', - seed: 206411053, - color: '--affine-palette-line-black', - }, - zEZKKUJptW: { - type: 'text', - xywh: '[3422.978280587932,1700.400210580944,65,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '2020', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'zEZKKUJptW', - index: 'b08', - seed: 1635061957, - }, - PDIALmWZOI: { - type: 'text', - xywh: '[3616.6963368037473,1700.400210580944,65,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '2021', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'PDIALmWZOI', - index: 'b09', - seed: 628646800, - }, - uwmbQEZGAz: { - type: 'text', - xywh: '[3810.4143930195623,1700.400210580944,65,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '2022', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'uwmbQEZGAz', - index: 'b0A', - seed: 1568703027, - }, - LoLPB9d2wl: { - type: 'text', - xywh: '[4004.1324492353774,1700.400210580944,65,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '2023', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'LoLPB9d2wl', - index: 'b0B', - seed: 275494740, - }, - h48izQDwKn: { - type: 'text', - xywh: '[2773.051946781119,1078.2975205814919,539,96]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Supporting Data', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 64, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'h48izQDwKn', - index: 'b0C', - seed: 1284143478, - }, - VwZCG18HYh: { - type: 'text', - xywh: '[2773.051946781119,1225.0506779931497,585.9470917571332,87]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'Place brief results & impact data here. It should help viewers more quickly understand the data importance.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'VwZCG18HYh', - index: 'b0D', - seed: 87630515, - hasMaxWidth: true, - }, - '3c8uV_3yjW': { - type: 'text', - xywh: '[3229.260224372117,1700.400210580944,65,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '2019', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '3c8uV_3yjW', - index: 'b0E', - seed: 1402713908, - }, - 'rZWEQ-SOkt': { - type: 'shape', - xywh: '[3204.1756939579336,1593.6618527848755,115.16906082836704,76.66100355017534]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-orange', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'rZWEQ-SOkt', - index: 'b0F', - seed: 1648915049, - color: '--affine-palette-line-black', - }, - i85T9hsDWj: { - type: 'shape', - xywh: '[4610.369742655374,1457.5907923099267,36.34643946415842,36.34643946415842]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 10, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - id: 'i85T9hsDWj', - index: 'b1x', - seed: 1344777050, - color: '--affine-palette-line-black', - }, - wS4mwW71ol: { - type: 'shape', - xywh: '[4771.274910109951,1064.3900083088479,36.34643946415842,36.34643946415842]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 10, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - id: 'wS4mwW71ol', - index: 'b1w', - seed: 1306727173, - color: '--affine-palette-line-black', - }, - MqRr3l2cS_: { - type: 'shape', - xywh: '[4932.180077564528,1250.1253230607085,36.34643946415842,36.34643946415842]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 10, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - id: 'MqRr3l2cS_', - index: 'b1v', - seed: 274179867, - color: '--affine-palette-line-black', - }, - _KDVZJ6KO0: { - type: 'shape', - xywh: '[5139.419126197557,1320.2220024188518,36.34643946415842,36.34643946415842]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 10, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - id: '_KDVZJ6KO0', - index: 'b1u', - seed: 1253657646, - color: '--affine-palette-line-black', - }, - AvrTqK47E0: { - type: 'shape', - xywh: '[5375.032549866165,1277.2569085371215,36.34643946415842,36.34643946415842]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 10, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - id: 'AvrTqK47E0', - index: 'b1t', - seed: 64093362, - color: '--affine-palette-line-black', - }, - VdfwWRxtXR: { - type: 'shape', - xywh: '[5535.937717320742,1567.9336923576252,36.34643946415842,36.34643946415842]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 10, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - id: 'VdfwWRxtXR', - index: 'b1s', - seed: 184708484, - color: '--affine-palette-line-black', - }, - 'IEJj9-BdLU': { - type: 'shape', - xywh: '[5696.84288477532,1567.9336923576252,36.34643946415842,36.34643946415842]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 10, - strokeColor: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - id: 'IEJj9-BdLU', - index: 'b1r', - seed: 1832389835, - color: '--affine-palette-line-black', - }, - uG5xLRTjp_: { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-tangerine', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'i85T9hsDWj', - position: [1, 0.5], - }, - target: { - id: 'wS4mwW71ol', - position: [0, 0.5000000000000021], - }, - id: 'uG5xLRTjp_', - index: 'b1f', - seed: 1438288398, - rearEndpointStyle: 'None', - xywh: '[3536.433018669503,1694.8315767726597,124.55872799041936,393.200784001079]', - }, - v0tQn2FVYC: { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-tangerine', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'wS4mwW71ol', - position: [1, 0.5], - }, - target: { - id: 'MqRr3l2cS_', - position: [0, 0.5000000000000021], - }, - id: 'v0tQn2FVYC', - index: 'b1g', - seed: 64616915, - rearEndpointStyle: 'None', - xywh: '[3697.3381861240805,1694.8315767726594,124.5587279904189,185.73531475186087]', - }, - Di36MA78NN: { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-tangerine', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'MqRr3l2cS_', - position: [1, 0.5], - }, - target: { - id: '_KDVZJ6KO0', - position: [0, 0.5000000000000021], - }, - id: 'Di36MA78NN', - index: 'b1h', - seed: 267711923, - rearEndpointStyle: 'None', - }, - '-MNy2gA7St': { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-tangerine', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '_KDVZJ6KO0', - position: [1, 0.5], - }, - target: { - id: 'AvrTqK47E0', - position: [0, 0.5000000000000021], - }, - id: '-MNy2gA7St', - index: 'b1i', - seed: 1131766686, - rearEndpointStyle: 'None', - }, - vjwYnOYikD: { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-tangerine', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'AvrTqK47E0', - position: [1, 0.5], - }, - target: { - id: 'VdfwWRxtXR', - position: [0, 0.499999999999996], - }, - id: 'vjwYnOYikD', - index: 'b1j', - seed: 579119068, - rearEndpointStyle: 'None', - }, - t20LAcXM0p: { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-tangerine', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'VdfwWRxtXR', - position: [1, 0.5], - }, - target: { - id: 'IEJj9-BdLU', - position: [0, 0.499999999999996], - }, - id: 't20LAcXM0p', - index: 'b1k', - seed: 1008579259, - rearEndpointStyle: 'None', - }, - f2p0001uIs: { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'i85T9hsDWj', - position: [1, 0.5], - }, - target: { - id: 'wS4mwW71ol', - position: [0, 0.5000000000000021], - }, - id: 'f2p0001uIs', - index: 'b1l', - seed: 1760844667, - rearEndpointStyle: 'None', - }, - '435uAEsilC': { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'wS4mwW71ol', - position: [1, 0.5], - }, - target: { - id: 'MqRr3l2cS_', - position: [0, 0.5000000000000021], - }, - id: '435uAEsilC', - index: 'b1m', - seed: 848079207, - rearEndpointStyle: 'None', - xywh: '[3697.3381861240805,1694.8315767726594,124.5587279904189,185.73531475186087]', - }, - j7LfA7NdDg: { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'MqRr3l2cS_', - position: [1, 0.5], - }, - target: { - id: '_KDVZJ6KO0', - position: [0, 0.5000000000000021], - }, - id: 'j7LfA7NdDg', - index: 'b1n', - seed: 2118726728, - rearEndpointStyle: 'None', - xywh: '[3858.2433535786577,1880.56689152452,170.89260916886997,70.09667935814377]', - }, - yWKGbh9DFK: { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '_KDVZJ6KO0', - position: [1, 0.5], - }, - target: { - id: 'AvrTqK47E0', - position: [0, 0.5000000000000021], - }, - id: 'yWKGbh9DFK', - index: 'b1o', - seed: 291654331, - rearEndpointStyle: 'None', - xywh: '[4065.482402211686,1907.6984770009333,199.26698420445018,42.965093881730354]', - }, - _iCD1ktcJ3: { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'AvrTqK47E0', - position: [1, 0.5], - }, - target: { - id: 'VdfwWRxtXR', - position: [0, 0.499999999999996], - }, - id: '_iCD1ktcJ3', - index: 'b1p', - seed: 1763910156, - rearEndpointStyle: 'None', - xywh: '[4301.095825880295,1907.698477000933,124.55872799041845,290.6767838205037]', - }, - W4a0263kQK: { - type: 'connector', - mode: 0, - strokeWidth: 4, - stroke: '--affine-palette-line-orange', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'VdfwWRxtXR', - position: [1, 0.5], - }, - target: { - id: 'IEJj9-BdLU', - position: [0, 0.499999999999996], - }, - id: 'W4a0263kQK', - index: 'b1q', - seed: 1778567460, - rearEndpointStyle: 'None', - xywh: '[4462.000993334872,2198.3752608214368,124.55872799041936,1]', - }, - '3B2P-HdVJD': { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [4627.169739765633, 1048.2809603058824], - }, - target: { - position: [5733.187883008289, 1048.1975537905903], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: '3B2P-HdVJD', - index: 'b1R', - seed: 1203313525, - xywh: '[4627.173163450028,1048.2016512682676,1106.02,1]', - }, - 'LMk-woJ4-E': { - type: 'text', - xywh: '[4517.364486468254,1667.8551086762654,21.81485652389979,38.67882780969519]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '0', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 30.94306224775615, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'LMk-woJ4-E', - index: 'b1S', - seed: 271694160, - }, - zrYMvbnIpK: { - type: 'text', - xywh: '[4505.567446887902,1561.356775342932,34.13018798012501,38.67882780969519]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '10', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 30.94306224775615, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'zrYMvbnIpK', - index: 'b1T', - seed: 48647386, - }, - D6fphDeac6: { - type: 'text', - xywh: '[4499.765622755009,1454.8584420095985,40.04031239729277,38.67882780969519]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '20', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 30.94306224775615, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'D6fphDeac6', - index: 'b1U', - seed: 687133044, - }, - 'R-pa03VqHI': { - type: 'text', - xywh: '[4499.765622759201,1348.3601086762656,39.421451742529726,38.67882780969519]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '30', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 30.94306224775615, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'R-pa03VqHI', - index: 'b1V', - seed: 1447168504, - }, - wicpA_aVo7: { - type: 'text', - xywh: '[4497.831681378775,1241.861775342932,41.8040719030283,38.67882780969519]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '40', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 30.94306224775615, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'wicpA_aVo7', - index: 'b1W', - seed: 552573628, - }, - JPOqzYuv5C: { - type: 'text', - xywh: '[4498.79865207056,1028.8651086762652,40.999551576356154,38.67882780969519]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '60', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 30.94306224775615, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'JPOqzYuv5C', - index: 'b1X', - seed: 440926681, - }, - U1g_D2TPyS: { - type: 'text', - xywh: '[4498.79865207056,1135.3634420095987,40.38069092159311,38.67882780969519]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '50', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 30.94306224775615, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'U1g_D2TPyS', - index: 'b1Y', - seed: 1694080700, - }, - 'PglzK7-gx8': { - type: 'text', - xywh: '[4747.384904598986,1706.8204706855217,84.12645048608704,41.57973989542233]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'item 1', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 30.943062247756124, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'PglzK7-gx8', - index: 'b1Z', - seed: 1022746071, - }, - '9B0jVlxdLx': { - type: 'text', - xywh: '[4927.276857809187,1706.8204706855217,89.92827465754132,41.57973989542233]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'item 2', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 30.943062247756124, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: '9B0jVlxdLx', - index: 'b1a', - seed: 437482538, - }, - rKjwdIkNeP: { - type: 'text', - xywh: '[5112.970635151549,1706.8204706855217,89.92827465754132,41.57973989542233]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'item 3', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 30.943062247756124, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'rKjwdIkNeP', - index: 'b1b', - seed: 1749471389, - }, - 'gT-4sFhP3x': { - type: 'text', - xywh: '[5298.66441248081,1706.8204706855217,91.86221604802608,41.57973989542233]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'item 4', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 30.943062247756124, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'gT-4sFhP3x', - index: 'b1c', - seed: 836905351, - }, - rPglyfceiH: { - type: 'text', - xywh: '[5486.292131194007,1706.8204706855217,90.8952453527837,41.57973989542233]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'item 5', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 30.943062247756124, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'rPglyfceiH', - index: 'b1d', - seed: 780869614, - }, - 'S2I-Ll5G6z': { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [4627.152134149909, 1154.638426984745], - }, - target: { - position: [5733.170277392568, 1154.5550204694525], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 'S2I-Ll5G6z', - index: 'b1e', - seed: 562989730, - xywh: '[4627.153163450029,1154.5516512682675,1106.0200000000004,1]', - }, - TLQkXe2k6i: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [4627.153141945715, 1260.9769343506796], - }, - target: { - position: [5733.171285188376, 1260.8935278353872], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 'TLQkXe2k6i', - index: 'b1f', - seed: 23379453, - xywh: '[4627.153163450029,1260.8916512682677,1106.0200000000004,1]', - }, - oxJleaRzPB: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [4627.153141945713, 1367.2715303140023], - }, - target: { - position: [5733.171285188374, 1367.1881237987102], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 'oxJleaRzPB', - index: 'b1g', - seed: 2141765566, - xywh: '[4627.153163450029,1367.1916512682674,1106.0200000000004,1]', - }, - Ofyq2_h6Eg: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [4627.153141945715, 1473.6462140682604], - }, - target: { - position: [5733.171285188374, 1473.5628075529673], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 'Ofyq2_h6Eg', - index: 'b1h', - seed: 265717218, - xywh: '[4627.153163450029,1473.5616512682673,1106.0200000000004,1]', - }, - j6sQ6jMAzp: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [4627.167409138024, 1579.9685555393962], - }, - target: { - position: [5733.185552380693, 1579.885149024104], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 'j6sQ6jMAzp', - index: 'b1i', - seed: 815704705, - xywh: '[4627.163163450029,1579.8816512682674,1106.0100000000002,1]', - }, - t4VBb86idl: { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - source: { - position: [4627.165588856708, 1686.270421595575], - }, - target: { - position: [5733.183732099367, 1686.187015080283], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 't4VBb86idl', - index: 'b1j', - seed: 394078032, - xywh: '[4627.163163450029,1686.1916512682674,1106.0199999999995,1]', - }, - lyx7ZXgtMW: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - '3B2P-HdVJD': true, - 'S2I-Ll5G6z': true, - TLQkXe2k6i: true, - oxJleaRzPB: true, - Ofyq2_h6Eg: true, - j6sQ6jMAzp: true, - t4VBb86idl: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 1', - }, - ], - }, - id: 'lyx7ZXgtMW', - index: 'b1S', - seed: 1528917, - }, - '36AReS4o4Y': { - type: 'shape', - xywh: '[4457.826223436582,2177.0388998667804,517.3405504720579,517.3405504720579]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '36AReS4o4Y', - index: 'b1y', - seed: 1942982855, - color: '--affine-palette-line-black', - }, - ltXTU_jFVm: { - type: 'shape', - xywh: '[4867.276530085858,2177.0388998667804,517.3405504720579,517.3405504720579]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-orange', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'ltXTU_jFVm', - index: 'b1z', - seed: 2095916862, - color: '--affine-palette-line-black', - }, - 'rFv6J7-bEm': { - type: 'shape', - xywh: '[5276.726836735134,2177.0388998667804,517.3405504720579,517.3405504720579]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'rFv6J7-bEm', - index: 'b20', - seed: 2051662826, - color: '--affine-palette-line-black', - }, - TaCfMQE8WN: { - type: 'text', - xywh: '[4477.826223436582,2081.9841785658937,85.51995849609375,56]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Title', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'TaCfMQE8WN', - index: 'b24', - seed: 382883616, - }, - IWh_yOmIOX: { - type: 'text', - xywh: '[2796.1445247601528,2558.240428780935,47.207977294921875,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$2m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'IWh_yOmIOX', - index: 'b2Z', - seed: 513297780, - }, - '2_TAbG0y71': { - type: 'text', - xywh: '[2796.00052756777,2476.3882571357053,47.35197448730469,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$3m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '2_TAbG0y71', - index: 'b2a', - seed: 1585532004, - }, - '4B8CSO0Z4C': { - type: 'text', - xywh: '[2794.584527201559,2394.5360854904757,48.767974853515625,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$4m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '4B8CSO0Z4C', - index: 'b2b', - seed: 1226227730, - }, - dL7mXYtmgs: { - type: 'text', - xywh: '[2795.6405269574184,2312.683913845245,47.71197509765625,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$5m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'dL7mXYtmgs', - index: 'b2c', - seed: 949199966, - }, - RyP5d4eZJI: { - type: 'text', - xywh: '[2795.1605159710903,2230.8317422000155,48.191986083984375,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$6m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'RyP5d4eZJI', - index: 'b2d', - seed: 328501956, - }, - VlC_nN4ctZ: { - type: 'text', - xywh: '[2797.5365230511684,2148.979570554786,45.81597900390625,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$7m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'VlC_nN4ctZ', - index: 'b2e', - seed: 2036463780, - }, - q5_leyjHDp: { - type: 'text', - xywh: '[2794.9445278119106,2067.1273989095553,49,33]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$8m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'q5_leyjHDp', - index: 'b2f', - seed: 513387752, - }, - Owkp5nYWoo: { - type: 'text', - xywh: '[2998.2520972779025,2761.8309582222328,58.12797546386719,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$10m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'Owkp5nYWoo', - index: 'b2g', - seed: 673216415, - }, - '8NhVWJNeVO': { - type: 'text', - xywh: '[3138.39652721002,2761.8309582222328,63.5999755859375,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$20m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '8NhVWJNeVO', - index: 'b2h', - seed: 230923638, - }, - f57BRkFtXy: { - type: 'text', - xywh: '[3283.5409571421364,2761.8309582222328,63.82366943359375,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$30m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24.030791930020357, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'f57BRkFtXy', - index: 'b2i', - seed: 969195576, - }, - U5CuU2zYGw: { - type: 'text', - xywh: '[3427.685387074254,2761.8309582222328,65.15997314453125,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$40m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'U5CuU2zYGw', - index: 'b2j', - seed: 1095060202, - }, - rPC_UHFHXs: { - type: 'text', - xywh: '[3573.8298170063713,2761.8309582222328,64.10397338867188,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$50m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'rPC_UHFHXs', - index: 'b2k', - seed: 439610053, - }, - bmwpmmbHPZ: { - type: 'text', - xywh: '[3718.9742469384887,2761.8309582222328,64.583984375,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$60m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'bmwpmmbHPZ', - index: 'b2l', - seed: 201573806, - }, - HBNcefNNcw: { - type: 'text', - xywh: '[2801.616524882223,2640.0926004261646,41.73597717285156,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '$1m', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'HBNcefNNcw', - index: 'b2m', - seed: 1526641817, - }, - vHgwP5I9Uw: { - type: 'shape', - xywh: '[2921.6224560798214,2422.141754664387,125.7092756113222,125.70927561132221]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'vHgwP5I9Uw', - index: 'b2n', - seed: 915440576, - color: '--affine-palette-line-black', - }, - jUDp_2Jj8V: { - type: 'shape', - xywh: '[3305.4843841173974,2342.2871179665917,125.7092756113222,125.70927561132221]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'jUDp_2Jj8V', - index: 'b2o', - seed: 646799509, - color: '--affine-palette-line-black', - }, - 'V_-Wuax_SI': { - type: 'shape', - xywh: '[3627.7686610861615,2214.7509345651824,171.48231647873936,171.48231647873942]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'V_-Wuax_SI', - index: 'b2p', - seed: 1306086331, - color: '--affine-palette-line-black', - }, - 'Xg_oWo2GR-': { - type: 'shape', - xywh: '[3667.7730214559874,2591.3252339433093,125.7092756113222,125.70927561132221]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'Xg_oWo2GR-', - index: 'b2q', - seed: 1918350130, - color: '--affine-palette-line-black', - }, - mQgQLPcqNB: { - type: 'shape', - xywh: '[3378.1607170312923,2102.035078257145,171.48231647873936,171.48231647873942]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'mQgQLPcqNB', - index: 'b2r', - seed: 1323878626, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - fontFamily: 'blocksuite:surface:Inter', - }, - YmQIobiNzx: { - type: 'shape', - xywh: '[3075.655305101491,2568.837450876309,90.18222154012594,90.182221540126]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'YmQIobiNzx', - index: 'b2s', - seed: 1850194341, - color: '--affine-palette-line-black', - }, - FzQCiBSwDW: { - type: 'shape', - xywh: '[3431.193657512987,2392.3806612601848,125.7092756113222,125.70927561132221]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-red', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'FzQCiBSwDW', - index: 'b2t', - seed: 405047153, - color: '--affine-palette-line-black', - }, - '3XIk-ed3W-': { - type: 'shape', - xywh: '[3153.2044762894807,2211.3296746957194,90.18222154012594,90.182221540126]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '3XIk-ed3W-', - index: 'b2u', - seed: 1022146453, - color: '--affine-palette-line-black', - }, - 'U-EnVCakgN': { - type: 'shape', - xywh: '[2994.3552108793688,2256.4207839545215,171.48231647873936,171.48231647873942]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-red', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'U-EnVCakgN', - index: 'b2v', - seed: 2020352953, - color: '--affine-palette-line-black', - }, - RTQiCbyZ5F: { - type: 'shape', - xywh: '[3273.9604264124314,2498.584871894688,171.48231647873936,171.48231647873942]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'RTQiCbyZ5F', - index: 'b2w', - seed: 620330432, - color: '--affine-palette-line-black', - }, - jkBH37jlcq: { - type: 'shape', - xywh: '[3585.750563174253,2482.2566128084363,90.18222154012594,90.182221540126]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'jkBH37jlcq', - index: 'b2x', - seed: 410606473, - color: '--affine-palette-line-black', - }, - eZSOAqLsbI: { - type: 'shape', - xywh: '[3047.3317297885083,2142.6851257264516,90.18222154012594,90.182221540126]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-red', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'eZSOAqLsbI', - index: 'b2y', - seed: 1715204277, - color: '--affine-palette-line-black', - }, - '3osOn0G19Y': { - type: 'shape', - xywh: '[3175.675147113066,2466.8005415245334,90.18222154012594,90.182221540126]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '3osOn0G19Y', - index: 'b2z', - seed: 2124064769, - color: '--affine-palette-line-black', - }, - CaSbW_RHtV: { - type: 'text', - xywh: '[3913.036830627853,2466.8005415245334,220,33]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Department Involved', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'CaSbW_RHtV', - index: 'b30', - seed: 1140501430, - }, - '9aZgMx6HZJ': { - type: 'text', - xywh: '[3913.036830627853,2115.326544798877,199,33]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Chance of success', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '9aZgMx6HZJ', - index: 'b31', - seed: 1465355988, - }, - Yhg8S2pfi7: { - type: 'shape', - xywh: '[3908.140419122659,2170.232905981963,216.00034506195928,216.00034506195925]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 2, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'Yhg8S2pfi7', - index: 'b32', - seed: 486668819, - color: '--affine-palette-line-black', - }, - E2tTGyHpFj: { - type: 'shape', - xywh: '[3967.884941488727,2289.7219502396274,96.51130032982422,96.51130032982422]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 2, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'E2tTGyHpFj', - index: 'b33', - seed: 228709007, - color: '--affine-palette-line-black', - }, - saILXjrRla: { - type: 'text', - xywh: '[3994.4766054475836,2327.9776004045398,43.327972412109375,20]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '>25%', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 16, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'saILXjrRla', - index: 'b34', - seed: 223838011, - }, - MxIm_SWj4n: { - type: 'shape', - xywh: '[3936.4302899212084,2226.8126473543934,159.42060346486008,159.42060346486008]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 2, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'MxIm_SWj4n', - index: 'b35', - seed: 1565625787, - color: '--affine-palette-line-black', - }, - '2BDd_DjRRF': { - type: 'text', - xywh: '[3986.284619363599,2256.6434687868514,59.711944580078125,20]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '25-50%', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 16, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '2BDd_DjRRF', - index: 'b36', - seed: 326267270, - }, - '1hDwAycJUX': { - type: 'text', - xywh: '[3982.244618448072,2192.4850067928637,67.79194641113281,20]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '50-100%', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 16, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '1hDwAycJUX', - index: 'b37', - seed: 1650177112, - }, - fhob_y9gtC: { - type: 'shape', - xywh: '[3913.036830627853,2529.5985081808685,44.07805001549741,44.07805001549741]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'fhob_y9gtC', - index: 'b38', - seed: 1655487271, - }, - V6uXPjDXmi: { - type: 'text', - xywh: '[3974.140591653639,2536.6375331886175,104.4239501953125,30]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Marketing', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'V6uXPjDXmi', - index: 'b39', - seed: 616322632, - }, - qK6VsOo7Cm: { - type: 'shape', - xywh: '[3913.036830627853,2598.6854998449517,44.07805001549741,44.07805001549741]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'qK6VsOo7Cm', - index: 'b3A', - seed: 1609408563, - color: '--affine-palette-line-black', - }, - '1MPBCY2-Ay': { - type: 'text', - xywh: '[3974.1405916536382,2603.4745248527006,84,33]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Product', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '1MPBCY2-Ay', - index: 'b3B', - seed: 280811991, - }, - GUBNeZtjeu: { - type: 'shape', - xywh: '[3913.036830627853,2667.7724915090357,44.07805001549741,44.07805001549741]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-red', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'GUBNeZtjeu', - index: 'b3C', - seed: 1159908116, - color: '--affine-palette-line-black', - }, - MJPYjn49u1: { - type: 'text', - xywh: '[3974.1405916536382,2673.3115165167846,55,33]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Sales', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'MJPYjn49u1', - index: 'b3D', - seed: 1621442922, - }, - We64ute95B: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - source: { - position: [2909.4176265661513, 2736.419121580005], - }, - target: { - position: [3811.466843931026, 2736.569799995977], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 'We64ute95B', - index: 'b3E', - seed: 1521325566, - xywh: '[2909.413163450029,2736.4216512682674,902.04,1]', - }, - uG_WvHOyVh: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [2909.4070846859804, 2654.5958521136927], - }, - target: { - position: [3811.4563020508563, 2654.7465305296646], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 'uG_WvHOyVh', - index: 'b3F', - seed: 1831677614, - xywh: '[2909.403163450029,2654.5916512682675,902.0500000000002,1]', - }, - '7qQxdfM3Nu': { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [2909.4087762329214, 2572.743021994349], - }, - target: { - position: [3811.4579935977968, 2572.893700410321], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: '7qQxdfM3Nu', - index: 'b3G', - seed: 1102974444, - xywh: '[2909.413163450029,2572.7416512682676,902.0499999999997,1]', - }, - '9QOwVlPj5q': { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [2909.410129414337, 2490.893291478707], - }, - target: { - position: [3811.4593467792133, 2491.043969894679], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: '9QOwVlPj5q', - index: 'b3H', - seed: 539621401, - xywh: '[2909.413163450029,2490.891651268267,902.0499999999997,1]', - }, - yBlfy25MDp: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [2909.413221347584, 2409.044730336741], - }, - target: { - position: [3811.4624387124586, 2409.195408752713], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 'yBlfy25MDp', - index: 'b3I', - seed: 362018792, - xywh: '[2909.413163450029,2409.0416512682673,902.0499999999997,1]', - }, - tM3FpPx25R: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [2909.407090891101, 2327.1930757855544], - }, - target: { - position: [3811.4563082559766, 2327.3437542015263], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 'tM3FpPx25R', - index: 'b3J', - seed: 334413388, - xywh: '[2909.403163450029,2327.1916512682674,902.0500000000002,1]', - }, - '8V3uSjDLZ-': { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [2909.4069487013485, 2245.341649628514], - }, - target: { - position: [3811.4561660662243, 2245.492328044486], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: '8V3uSjDLZ-', - index: 'b3K', - seed: 798688083, - xywh: '[2909.403163450029,2245.3416512682675,902.0500000000002,1]', - }, - muMJ4J4hKk: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: '', - position: [2909.408366554494, 2163.4948481505653], - }, - target: { - position: [3811.4575839193712, 2163.6455265665372], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 'muMJ4J4hKk', - index: 'b3L', - seed: 7776888, - }, - uiipnxrqJg: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [2909.418120508503, 2081.631465860281], - }, - target: { - position: [3811.46733787338, 2081.782144276253], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 'uiipnxrqJg', - index: 'b3M', - seed: 173194315, - xywh: '[2909.413163450029,2081.6316512682674,902.0499999999997,1]', - }, - '5tapz8apaA': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - We64ute95B: true, - IWh_yOmIOX: true, - '2_TAbG0y71': true, - '4B8CSO0Z4C': true, - dL7mXYtmgs: true, - RyP5d4eZJI: true, - VlC_nN4ctZ: true, - q5_leyjHDp: true, - Owkp5nYWoo: true, - '8NhVWJNeVO': true, - f57BRkFtXy: true, - U5CuU2zYGw: true, - rPC_UHFHXs: true, - bmwpmmbHPZ: true, - uG_WvHOyVh: true, - HBNcefNNcw: true, - '7qQxdfM3Nu': true, - '9QOwVlPj5q': true, - yBlfy25MDp: true, - tM3FpPx25R: true, - '8V3uSjDLZ-': true, - muMJ4J4hKk: true, - uiipnxrqJg: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 1', - }, - ], - }, - id: '5tapz8apaA', - index: 'b3N', - seed: 1138042771, - }, - gSiyzJs40L: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - vHgwP5I9Uw: true, - jUDp_2Jj8V: true, - 'V_-Wuax_SI': true, - 'Xg_oWo2GR-': true, - mQgQLPcqNB: true, - YmQIobiNzx: true, - FzQCiBSwDW: true, - '3XIk-ed3W-': true, - 'U-EnVCakgN': true, - RTQiCbyZ5F: true, - jkBH37jlcq: true, - eZSOAqLsbI: true, - '3osOn0G19Y': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Bubbles', - }, - ], - }, - id: 'gSiyzJs40L', - index: 'b3O', - seed: 1351503666, - }, - }, - }, - children: [ - { - type: 'block', - id: 'block:HQxUOe6svX', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Bar chart', - }, - ], - }, - background: '--affine-tag-yellow', - xywh: '[2632.6373939713108,923.9266478051833,1600,900]', - index: 'a5', - }, - children: [], - }, - { - type: 'block', - id: 'block:oB-VtTyFBT', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Line chart', - }, - ], - }, - background: '--affine-tag-yellow', - xywh: '[4325.946805321888,923.9266478051833,1600,900]', - index: 'a6', - }, - children: [], - }, - { - type: 'block', - id: 'block:85AH8WQpah', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'User', - }, - ], - }, - background: '--affine-tag-yellow', - xywh: '[4325.946805321887,1959.5347939058884,1600,900]', - index: 'a7', - }, - children: [], - }, - { - type: 'block', - id: 'block:ZaSEIDjBIt', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'h3n8VMwxAvsSBVIu7zElTaEzsLJY6F6mGPK6Zym3cBQ=', - width: 0, - height: 0, - index: 'b21', - xywh: '[4503.985133032676,2386.7091751028092,98,98]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:772t5OTBiI', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'h3n8VMwxAvsSBVIu7zElTaEzsLJY6F6mGPK6Zym3cBQ=', - width: 0, - height: 0, - index: 'b22', - xywh: '[4915.108405394164,2386.7091751028092,98,98]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:0VgD8SXCde', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'h3n8VMwxAvsSBVIu7zElTaEzsLJY6F6mGPK6Zym3cBQ=', - width: 0, - height: 0, - index: 'b2X', - xywh: '[5326.231677755652,2386.7091751028092,98,98]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:-kCq8eMcH6', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Bubble chart', - }, - ], - }, - background: '--affine-tag-yellow', - xywh: '[2632.6373939713108,1959.5347939058884,1600,900]', - index: 'a9', - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/fishbone.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/fishbone.ts deleted file mode 100644 index b050e54890c2..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/fishbone.ts +++ /dev/null @@ -1,1295 +0,0 @@ -export default { - name: 'Fishbone', - type: 'template', - preview: 'https://cdn.affine.pro/templates/cover/fishbone.png', - assets: { - 'lrxxmLPiDeoDlEDUuBQp51JXetfPiG7l7HUzuKzDKuo=': - 'https://cdn.affine.pro/templates/assets/lrxxmLPiDeoDlEDUuBQp51JXetfPiG7l7HUzuKzDKuo=.png', - 'YUo3S6WvBWTO3fcRR1iUKLXVFxnILmP-VTwdM3ai-h0=': - 'https://cdn.affine.pro/templates/assets/YUo3S6WvBWTO3fcRR1iUKLXVFxnILmP-VTwdM3ai-h0=.png', - }, - content: { - type: 'page', - meta: { - id: 'page:t5aZ5PCNMc', - title: '', - createDate: 1703046043802, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:pjMZBFnYM9', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [ - { - type: 'block', - id: 'block:eQX5lcfl5l', - flavour: 'affine:surface', - props: { - elements: { - '1tnkLD1v85': { - type: 'shape', - xywh: '[90.82530748541876,-473.3367926720803,1300.0535907679186,69]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-black', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '1tnkLD1v85', - index: 'ai', - seed: 898661492, - color: '--affine-palette-line-white', - text: { - 'affine:surface:text': true, - delta: [], - }, - fontFamily: 'blocksuite:surface:Inter', - fontSize: 24, - }, - Gd2Q2miQkl: { - type: 'shape', - xywh: '[190.43939980770665,-1661.643968542211,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - id: 'Gd2Q2miQkl', - index: 'aj', - seed: 100229520, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Category', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - XH93icAbGO: { - type: 'shape', - xywh: '[-215.7102635998933,-1266.5553016096458,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'XH93icAbGO', - index: 'ak', - seed: 1774361779, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Item 2', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - 'iDmTM-bSqM': { - type: 'shape', - xywh: '[-76.60249877147064,-867.4460471408631,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'iDmTM-bSqM', - index: 'al', - seed: 1975714611, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Item 1', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - ZpYgUk5Bvw: { - type: 'shape', - xywh: '[-76.60249877147064,-189.2275382032975,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'ZpYgUk5Bvw', - index: 'am', - seed: 2028054473, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Item 1', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - _OQY2CmBkj: { - type: 'shape', - xywh: '[-215.7102635998933,209.88171626548524,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: '_OQY2CmBkj', - index: 'an', - seed: 1101297049, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Item 2', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - '5SUEBaLHe6': { - type: 'shape', - xywh: '[192.03412042789043,608.9909707342675,460.09024318240836,178.5278226189996]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - id: '5SUEBaLHe6', - index: 'ao', - seed: 96786809, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Category', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - 'Jpd6g-E0Vs': { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'Gd2Q2miQkl', - position: [0.5, 1], - }, - target: { - id: '1tnkLD1v85', - position: [0.5, 0], - }, - id: 'Jpd6g-E0Vs', - index: 'ap', - seed: 668844487, - rearEndpointStyle: 'Triangle', - }, - qFjjhDXlTU: { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '5SUEBaLHe6', - position: [0.5, 0], - }, - target: { - id: '1tnkLD1v85', - position: [0.5, 1], - }, - id: 'qFjjhDXlTU', - index: 'aq', - seed: 1141491660, - rearEndpointStyle: 'Triangle', - }, - '5vVci0f2U4': { - rearEndpointStyle: 'None', - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'XH93icAbGO', - position: [1, 0.5], - }, - target: { - position: [517.7238488105149, -1179.3735758624255], - }, - id: '5vVci0f2U4', - index: 'ar', - seed: 1607660152, - xywh: '[244.37997958251506,-1124.6492930708316,302.2653505427783,1]', - }, - vGtWzHN83M: { - rearEndpointStyle: 'None', - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'iDmTM-bSqM', - position: [1, 0.5], - }, - target: { - position: [644.2224984714358, -777.7393530478234], - }, - id: 'vGtWzHN83M', - index: 'as', - seed: 744160879, - xywh: '[383.4877444109377,-724.9776586540529,311.0180004832295,1]', - }, - s2804zJoIH: { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'ZpYgUk5Bvw', - position: [1, 0.5], - }, - target: { - position: [643.7343634232523, -100.31279469185756], - }, - id: 's2804zJoIH', - index: 'at', - seed: 767016892, - rearEndpointStyle: 'None', - xywh: '[383.4877444109377,-46.785162908058986,312.71597593490213,1]', - }, - k_IkfIzeTb: { - type: 'connector', - mode: 0, - rearEndpointStyle: 'None', - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: '_OQY2CmBkj', - position: [1, 0.5], - }, - target: { - position: [518.2152623732262, 297.85112944355745], - }, - id: 'k_IkfIzeTb', - index: 'au', - seed: 433287472, - xywh: '[244.37997958251506,352.35010475229547,302.4493968329945,1]', - }, - iOIrnhoxwg: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - '1tnkLD1v85': true, - Gd2Q2miQkl: true, - XH93icAbGO: true, - 'iDmTM-bSqM': true, - ZpYgUk5Bvw: true, - _OQY2CmBkj: true, - '5SUEBaLHe6': true, - 'Jpd6g-E0Vs': true, - qFjjhDXlTU: true, - '5vVci0f2U4': true, - vGtWzHN83M: true, - s2804zJoIH: true, - k_IkfIzeTb: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 3', - }, - ], - }, - id: 'iOIrnhoxwg', - index: 'av', - seed: 2071717743, - }, - SIhEnNT7R6: { - type: 'shape', - xywh: '[1356.7165511723326,-473.33679267208055,1300.0535907679186,69]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-black', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'SIhEnNT7R6', - index: 'aw', - seed: 77230658, - color: '--affine-palette-line-white', - text: { - 'affine:surface:text': true, - delta: [], - }, - fontFamily: 'blocksuite:surface:Inter', - fontSize: 24, - }, - M5s7kM2i3I: { - type: 'shape', - xywh: '[1457.925364114804,-1665.1923786974282,460.09024318240836,178.5278226189996]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - id: 'M5s7kM2i3I', - index: 'ax', - seed: 1851160611, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Category', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - GGd5rP0AqD: { - type: 'shape', - xywh: '[1050.1809800870203,-1266.5553016096458,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'GGd5rP0AqD', - index: 'ay', - seed: 35879121, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Item 2', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - '8abHg3duFe': { - type: 'shape', - xywh: '[1189.288744915443,-867.4460471408631,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: '8abHg3duFe', - index: 'az', - seed: 139337416, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Item 1', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - 'v57sHm39O-': { - type: 'shape', - xywh: '[1189.288744915443,-189.2275382032979,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'v57sHm39O-', - index: 'b00', - seed: 935249019, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Item 1', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - qM3icEQG3J: { - type: 'shape', - xywh: '[1050.1809800870203,209.88171626548495,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'qM3icEQG3J', - index: 'b01', - seed: 1004110600, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Item 2', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - KfIfSzI2tT: { - type: 'shape', - xywh: '[1457.925364114804,608.9909707342674,460.09024318240836,178.5278226189996]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - id: 'KfIfSzI2tT', - index: 'b02', - seed: 1132643231, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Category', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - _Ox3ph6HYJ: { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'M5s7kM2i3I', - position: [0.5, 1], - }, - target: { - id: 'SIhEnNT7R6', - position: [0.5, 0], - }, - id: '_Ox3ph6HYJ', - index: 'b03', - seed: 60467959, - rearEndpointStyle: 'Triangle', - }, - DmDQxuoMGu: { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'KfIfSzI2tT', - position: [0.5, 0], - }, - target: { - id: 'SIhEnNT7R6', - position: [0.5, 1], - }, - id: 'DmDQxuoMGu', - index: 'b04', - seed: 174420372, - rearEndpointStyle: 'Triangle', - }, - '1q0J_wl6Db': { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'GGd5rP0AqD', - position: [1, 0.5], - }, - target: { - position: [1783.6150924974281, -1179.3735758624257], - }, - rearEndpointStyle: 'None', - id: '1q0J_wl6Db', - index: 'b05', - seed: 1220810882, - xywh: '[1510.2712232694287,-1126.4051873756157,273.34386922799945,2.318274252779929]', - }, - '2WyN6taeRs': { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: '8abHg3duFe', - position: [1, 0.5], - }, - target: { - position: [1910.1137421583487, -777.7393530478237], - }, - rearEndpointStyle: 'None', - id: '2WyN6taeRs', - index: 'b06', - seed: 362029486, - xywh: '[1649.3789880978513,-724.9776586540531,260.7347540604974,1]', - }, - xixw1aMPE3: { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'v57sHm39O-', - position: [1, 0.5], - }, - target: { - position: [1909.625607110166, -100.31279469185785], - }, - id: 'xixw1aMPE3', - index: 'b07', - seed: 1517862158, - rearEndpointStyle: 'None', - xywh: '[1649.3789880978513,-47.344406205047854,260.24661901231457,1]', - }, - jHY1J8LRnR: { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'qM3icEQG3J', - position: [1, 0.5], - }, - target: { - position: [1784.1065060601395, 297.8511294435571], - }, - rearEndpointStyle: 'None', - id: 'jHY1J8LRnR', - index: 'b08', - seed: 450690986, - xywh: '[1510.2712232694287,350.8195179303671,273.83528279071083,1.530586821927841]', - }, - 'zd--iqIpeR': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - SIhEnNT7R6: true, - M5s7kM2i3I: true, - GGd5rP0AqD: true, - '8abHg3duFe': true, - 'v57sHm39O-': true, - qM3icEQG3J: true, - KfIfSzI2tT: true, - _Ox3ph6HYJ: true, - DmDQxuoMGu: true, - '1q0J_wl6Db': true, - '2WyN6taeRs': true, - xixw1aMPE3: true, - jHY1J8LRnR: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 2', - }, - ], - }, - id: 'zd--iqIpeR', - index: 'b09', - seed: 1719136077, - xywh: '[3017.468060106568,-1789.2269905718442,1606.589161853231,2452.7111720506955]', - }, - '59EeImMqdn': { - type: 'shape', - xywh: '[2643.770603819579,-473.3367926720804,1300.0535907679186,69]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-black', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '59EeImMqdn', - index: 'b0A', - seed: 267669734, - color: '--affine-palette-line-white', - text: { - 'affine:surface:text': true, - delta: [], - }, - fontFamily: 'blocksuite:surface:Inter', - fontSize: 24, - }, - YdlKsliGP5: { - type: 'shape', - xywh: '[2745.0714148844436,-1664.712207988944,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - id: 'YdlKsliGP5', - index: 'b0B', - seed: 258050253, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Category', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - nbjJoH4wrM: { - type: 'shape', - xywh: '[2337.235032734267,-1266.555301609645,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'nbjJoH4wrM', - index: 'b0C', - seed: 7375873, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Item 2', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - YtuZAnHUYB: { - type: 'shape', - xywh: '[2476.3427975626896,-867.4460471408626,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'YtuZAnHUYB', - index: 'b0D', - seed: 479286311, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Item 1', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - 'qFM-pXiKkU': { - type: 'shape', - xywh: '[2476.3427975626896,-189.2275382032975,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'qFM-pXiKkU', - index: 'b0E', - seed: 1454885780, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Item 1', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - qb1iqegVEn: { - type: 'shape', - xywh: '[2337.235032734267,209.88171626548535,460.09024318240836,179]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - id: 'qb1iqegVEn', - index: 'b0F', - seed: 1364763702, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Item 2', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - nBy4pPggx8: { - type: 'shape', - xywh: '[2744.9794167620507,608.9909707342678,460.09024318240836,178.5278226189996]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: false, - fillColor: '--affine-palette-transparent', - strokeWidth: 12, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - id: 'nBy4pPggx8', - index: 'b0G', - seed: 1901980653, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Category', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:BebasNeue', - fontSize: 64, - fontWeight: '400', - fontStyle: 'normal', - }, - WxGdPLFF7I: { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'YdlKsliGP5', - position: [0.5, 1], - }, - target: { - id: '59EeImMqdn', - position: [0.5, 0], - }, - id: 'WxGdPLFF7I', - index: 'b0H', - seed: 1206651599, - rearEndpointStyle: 'Triangle', - }, - '9Vma3UWnNr': { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'nBy4pPggx8', - position: [0.5, 0], - }, - target: { - id: '59EeImMqdn', - position: [0.5, 1], - }, - id: '9Vma3UWnNr', - index: 'b0I', - seed: 177558392, - rearEndpointStyle: 'Triangle', - }, - '8G_qz8m8ZR': { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'nbjJoH4wrM', - position: [1, 0.5], - }, - target: { - position: [3070.6691451446763, -1179.3735758624252], - }, - rearEndpointStyle: 'None', - id: '8G_qz8m8ZR', - index: 'b0J', - seed: 1119718175, - xywh: '[2797.3252759166753,-1179.3735758624252,273.3438692279992,2.318274252779929]', - }, - gAWn5CJzB0: { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'YtuZAnHUYB', - position: [1, 0.5], - }, - target: { - position: [3197.167794805597, -777.7393530478231], - }, - rearEndpointStyle: 'None', - id: 'gAWn5CJzB0', - index: 'b0K', - seed: 681420993, - xywh: '[2936.433040745098,-777.9460471408626,260.7347540604974,1]', - }, - y6M55mpu2c: { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'qFM-pXiKkU', - position: [1, 0.5], - }, - target: { - position: [3196.6796597574144, -100.3127946918575], - }, - id: 'y6M55mpu2c', - index: 'b0L', - seed: 1199698523, - rearEndpointStyle: 'None', - xywh: '[2936.433040745098,-100.3127946918575,260.24661901231457,1]', - }, - YGawkS_Y_A: { - type: 'connector', - mode: 0, - strokeWidth: 12, - stroke: '--affine-palette-line-black', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'qb1iqegVEn', - position: [1, 0.5], - }, - target: { - position: [3071.1605587073877, 297.85112944355745], - }, - rearEndpointStyle: 'None', - id: 'YGawkS_Y_A', - index: 'b0M', - seed: 1767875084, - xywh: '[2797.3252759166753,297.85112944355745,273.8352827907106,1.5305868219278977]', - }, - mjeZl1OzPP: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - '59EeImMqdn': true, - YdlKsliGP5: true, - nbjJoH4wrM: true, - YtuZAnHUYB: true, - 'qFM-pXiKkU': true, - qb1iqegVEn: true, - nBy4pPggx8: true, - WxGdPLFF7I: true, - '9Vma3UWnNr': true, - '8G_qz8m8ZR': true, - gAWn5CJzB0: true, - y6M55mpu2c: true, - YGawkS_Y_A: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 1', - }, - ], - }, - id: 'mjeZl1OzPP', - index: 'b0N', - seed: 36810841, - xywh: '[4283.359303793482,-1843.3680295990064,1606.5891618532305,2452.7111720506955]', - }, - QGw56v5i0o: { - type: 'shape', - xywh: '[-380.54233706280814,-473.3367926720805,478.63157673821706,69]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-black', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'QGw56v5i0o', - index: 'b0P', - seed: 2120642858, - color: '--affine-palette-line-white', - text: { - 'affine:surface:text': true, - delta: [], - }, - fontFamily: 'blocksuite:surface:Inter', - fontSize: 24, - }, - NhzX8Xbk_k: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - QGw56v5i0o: true, - 'block:wvMZnrTQq6': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 4', - }, - ], - }, - id: 'NhzX8Xbk_k', - index: 'b0S', - seed: 302778940, - }, - u73K0TMRGA: { - type: 'text', - xywh: '[-2799.7807523400493,-1427.1178016096458,645.7605259166694,510]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'A Fishbone template, also known as an Ishikawa diagram template, is a layout for identifying and categorizing potential causes of a problem. \n\nIt\'s structured with a central "problem" line and branches for different cause categories, aiding in systematic analysis.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 36, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'u73K0TMRGA', - index: 'b0T', - seed: 12448510, - hasMaxWidth: true, - }, - iq9QWCgsaZ: { - type: 'text', - xywh: '[-2799.7807523400493,-1550.3251705964055,294.9119873046875,89]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Fishbone', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 64, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'iq9QWCgsaZ', - index: 'b0U', - seed: 730907506, - }, - 'y6nVBN-KBD': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - u73K0TMRGA: true, - iq9QWCgsaZ: true, - 'block:gBPwCn5J1q': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 5', - }, - ], - }, - id: 'y6nVBN-KBD', - index: 'b0V', - seed: 417955431, - }, - }, - }, - children: [ - { - type: 'block', - id: 'block:wvMZnrTQq6', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'YUo3S6WvBWTO3fcRR1iUKLXVFxnILmP-VTwdM3ai-h0=', - width: 360, - height: 544, - index: 'b0R', - xywh: '[-1110.587168532816,-1154.118895188299,834.0954657964721,1260.410926092447]', - rotate: 0, - size: 7354, - }, - children: [], - }, - { - type: 'block', - id: 'block:YsLXb-iBST', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'lrxxmLPiDeoDlEDUuBQp51JXetfPiG7l7HUzuKzDKuo=', - width: 518, - height: 592, - index: 'b0Q', - xywh: '[3589.6695762617496,-1124.648620104735,1200.170698007146,1371.6236548653098]', - rotate: 0, - size: 10015, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:gBPwCn5J1q', - flavour: 'affine:note', - props: { - xywh: '[-2861.9332343849437,-1621.274707988944,756.8380038322657,787.9602056072466]', - background: '--affine-background-secondary-color', - index: 'b0SV', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-film', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:5PXBeBglzC', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/flow-chart.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/flow-chart.ts deleted file mode 100644 index 4d102620d048..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/flow-chart.ts +++ /dev/null @@ -1,1040 +0,0 @@ -export default { - name: 'Flow chart', - preview: 'https://cdn.affine.pro/templates/cover/flow-chart.png', - type: 'template', - content: { - type: 'page', - meta: { - id: 'page:home', - title: '', - createDate: 1702017557277, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:PY8poNCR8Y', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [ - { - type: 'block', - id: 'block:WDieoRBX9E', - flavour: 'affine:surface', - props: { - elements: { - 'Ksae9QCWs-': { - type: 'shape', - xywh: '[-247.47478205709092,-248.0388645045369,304.01012629967965,155.86872626208762]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'Ksae9QCWs-', - index: 'a0', - seed: 1302801432, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Action', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - grsNaVQSdr: { - type: 'shape', - xywh: '[-212.31975120022017,-583.6962731429549,233.70006458593815,233.70006458593818]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'grsNaVQSdr', - index: 'a1', - seed: 932975567, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Start', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - ydD2xQblFu: { - type: 'shape', - xywh: '[409.12046501340956,236.5476392556416,217.73314401131432,218]', - rotate: 0, - shapeType: 'diamond', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'ydD2xQblFu', - index: 'a2', - seed: 1937946925, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Yes\nor\nNo', - }, - ], - }, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - 'lfUx8CQ-vY': { - type: 'shape', - xywh: '[-247.47506314983983,9.787205810030432,304.01012629967965,155.86872626208762]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'lfUx8CQ-vY', - index: 'a3', - seed: 34577438, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Action', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - HA3P0gQLSB: { - type: 'shape', - xywh: '[-246.63099698203268,267.19942246734837,304.01012629967965,156]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'HA3P0gQLSB', - index: 'a4', - seed: 991259797, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Action', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - '_PzH-12vky': { - type: 'shape', - xywh: '[-1523.3854715805187,606.7443200687947,304.01012629967965,155.86872626208762]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: '_PzH-12vky', - index: 'a5', - seed: 2045093249, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Action', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - EUdfqi0sLy: { - type: 'shape', - xywh: '[-1116.510445120214,575.6786831998384,217.73314401131432,218]', - rotate: 0, - shapeType: 'diamond', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'EUdfqi0sLy', - index: 'a6', - seed: 257218715, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Yes\nor\nNo', - }, - ], - }, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - h37vuXQ2Bk: { - type: 'shape', - xywh: '[365.9819738692269,-68.1443631310438,304.01012629967965,155.86872626208762]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'h37vuXQ2Bk', - index: 'a7', - seed: 1474556994, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Action', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - '3TVdFL78JJ': { - type: 'shape', - xywh: '[1041.1352410318743,267.61327612459775,304.01012629967965,155.86872626208762]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: '3TVdFL78JJ', - index: 'a8', - seed: 1352046864, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Action', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - h0EbkORWel: { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'grsNaVQSdr', - position: [0.5, 1], - }, - target: { - id: 'Ksae9QCWs-', - position: [0.5, 0], - }, - id: 'h0EbkORWel', - index: 'a9', - seed: 612591943, - }, - jWUjLqeUhv: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'Ksae9QCWs-', - position: [0.5, 1], - }, - target: { - id: 'lfUx8CQ-vY', - position: [0.5, 0], - }, - id: 'jWUjLqeUhv', - index: 'aA', - seed: 1495329882, - }, - g9HaseUVqV: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'Ksae9QCWs-', - position: [0.5, 1], - }, - target: { - id: 'lfUx8CQ-vY', - position: [0.5, 0], - }, - id: 'g9HaseUVqV', - index: 'aB', - seed: 1303540064, - }, - '5cBOgtqmw2': { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'Ksae9QCWs-', - position: [0.5, 1], - }, - target: { - id: 'lfUx8CQ-vY', - position: [0.5, 0], - }, - id: '5cBOgtqmw2', - index: 'aC', - seed: 1700867555, - }, - '73uORSwPtw': { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'Ksae9QCWs-', - position: [0.5, 1], - }, - target: { - position: [-70.03439413300964, -28.99846627782921], - }, - id: '73uORSwPtw', - index: 'aD', - seed: 1958199736, - }, - 'Dc-8C3utva': { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'Ksae9QCWs-', - position: [0.5, 1], - }, - target: { - id: 'lfUx8CQ-vY', - }, - id: 'Dc-8C3utva', - index: 'aE', - seed: 2045084674, - }, - pkwHC7_RuX: { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'lfUx8CQ-vY', - position: [0.5, 1], - }, - target: { - id: 'HA3P0gQLSB', - }, - id: 'pkwHC7_RuX', - index: 'aF', - seed: 1320381362, - }, - '2Vwl_h4K_8': { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'HA3P0gQLSB', - position: [1, 0.5], - }, - target: { - id: 'ydD2xQblFu', - position: [0, 0.4999999999999999], - }, - id: '2Vwl_h4K_8', - index: 'aG', - seed: 655809891, - }, - RbBZTZ2H2f: { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'ydD2xQblFu', - position: [0.5, 0], - }, - target: { - id: 'h37vuXQ2Bk', - }, - id: 'RbBZTZ2H2f', - index: 'aH', - seed: 1830139278, - }, - hAUiGDCwni: { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'h37vuXQ2Bk', - position: [1, 0.5], - }, - target: { - id: '3TVdFL78JJ', - position: [0.49999999999999983, 0], - }, - id: 'hAUiGDCwni', - index: 'aK', - seed: 602366653, - }, - gUu2DraEHc: { - type: 'text', - xywh: '[525.5525784058001,151.41,41.88067626953125,28.5]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Yes', - }, - ], - }, - color: '--affine-palette-line-grey', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'gUu2DraEHc', - index: 'aM', - seed: 868124845, - }, - YHgu7oxCyx: { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'ydD2xQblFu', - position: [1, 0.5], - }, - target: { - id: '3TVdFL78JJ', - position: [0, 0.5000000000000001], - }, - id: 'YHgu7oxCyx', - index: 'aN', - seed: 1866232091, - }, - n5Ep0HkOKR: { - type: 'text', - xywh: '[795.8080465225494,310.0815517259986,33,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'No', - }, - ], - }, - color: '--affine-palette-line-grey', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'n5Ep0HkOKR', - index: 'aO', - seed: 1709632114, - }, - '03cE0Z-fxk': { - type: 'shape', - xywh: '[1084.273427994343,613.2702190136646,217.73314401131432,218]', - rotate: 0, - shapeType: 'diamond', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: '03cE0Z-fxk', - index: 'aP', - seed: 640115209, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Yes\nor\nNo', - }, - ], - }, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - 'gZUhN-aYzi': { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '3TVdFL78JJ', - position: [0.5, 1], - }, - target: { - id: '03cE0Z-fxk', - position: [0.5000000000000001, 0], - }, - id: 'gZUhN-aYzi', - index: 'aQ', - seed: 968545969, - }, - _QU7lLy0c0: { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '03cE0Z-fxk', - position: [0, 0.5], - }, - target: { - id: 'ydD2xQblFu', - position: [0.5000000000000001, 0.9999999999999999], - }, - id: '_QU7lLy0c0', - index: 'aR', - seed: 1414857367, - }, - ZBppFGHIy0: { - type: 'text', - xywh: '[795.8080465225494,684.6786831998384,33,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'No', - }, - ], - }, - color: '--affine-palette-line-grey', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'ZBppFGHIy0', - index: 'aS', - seed: 69272275, - }, - qvhoYUj230: { - type: 'shape', - xywh: '[365.98493685016024,1021.0556368689562,304.01012629967965,155.86872626208762]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'qvhoYUj230', - index: 'aT', - seed: 1559703065, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Action', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - xixP2sNR_L: { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: '03cE0Z-fxk', - position: [0.5, 1], - }, - target: { - id: 'qvhoYUj230', - position: [0.49999999999999983, 0], - }, - id: 'xixP2sNR_L', - index: 'aU', - seed: 238268077, - }, - POQhMd2xAx: { - type: 'text', - xywh: '[790.8080465225494,889.6284572778808,43,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Yes', - }, - ], - }, - color: '--affine-palette-line-grey', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'POQhMd2xAx', - index: 'aV', - seed: 1317364024, - }, - R38499YZHD: { - type: 'shape', - xywh: '[-372.3894009393302,989.9927987716874,217.73314401131432,218]', - rotate: 0, - shapeType: 'diamond', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'R38499YZHD', - index: 'aW', - seed: 1967354475, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Yes\nor\nNo', - }, - ], - }, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - LKkTnFuF4B: { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'qvhoYUj230', - position: [0, 0.5], - }, - target: { - id: 'R38499YZHD', - position: [0.9999999999999998, 0.5], - }, - id: 'LKkTnFuF4B', - index: 'aX', - seed: 559788331, - frontEndpointStyle: 'None', - rearEndpointStyle: 'Arrow', - }, - sI0UgSQbhJ: { - type: 'shape', - xywh: '[-415.5278920835129,1423.646193915283,304.01012629967965,155.86872626208762]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'none', - roughness: 1.4, - id: 'sI0UgSQbhJ', - index: 'aY', - seed: 686892262, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Action', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - u46zCKWJW1: { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'R38499YZHD', - position: [0.5, 1], - }, - target: { - id: 'sI0UgSQbhJ', - position: [0.5000000000000002, 0], - }, - id: 'u46zCKWJW1', - index: 'aZ', - seed: 241091117, - }, - '3WulwKaXKS': { - type: 'shape', - xywh: '[-380.370032292969,1726.9003834176424,233.70006458593815,234]', - rotate: 0, - shapeType: 'ellipse', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '3WulwKaXKS', - index: 'aa', - seed: 1936488363, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Result', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - }, - '7OY4PHXyk_': { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'sI0UgSQbhJ', - position: [0.5, 1], - }, - target: { - id: '3WulwKaXKS', - position: [0.5000000000000001, 0], - }, - id: '7OY4PHXyk_', - index: 'ab', - seed: 1390346335, - xywh: '[-263.52282893367305,1638.011671002082,1,212.18000000000006]', - }, - rwfhtkmxGV: { - type: 'text', - xywh: '[-247.48,1301.3200000000002,33,29]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'No', - }, - ], - }, - color: '--affine-palette-line-grey', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'rwfhtkmxGV', - index: 'ac', - seed: 670777356, - }, - dwbykFhJKm: { - type: 'connector', - mode: 1, - strokeWidth: 4, - stroke: '--affine-palette-line-grey', - strokeStyle: 'solid', - roughness: 1.4, - source: { - id: 'R38499YZHD', - position: [0, 0.5], - }, - target: { - id: 'lfUx8CQ-vY', - position: [0, 0.5], - }, - id: 'dwbykFhJKm', - index: 'ad', - seed: 1423832944, - }, - fEBd99ZiQN: { - type: 'text', - xywh: '[-377.54477971118376,584.77,41.88067626953125,28.5]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Yes', - }, - ], - }, - color: '--affine-palette-line-grey', - fontSize: 24, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'fEBd99ZiQN', - index: 'ae', - seed: 1273423653, - }, - 'GOXMT-TQ6R': { - type: 'text', - xywh: '[-1552.638047141807,-89.43413110013387,707,353]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'A Flowchart template is a diagrammatic tool used to visually represent a process or workflow. \n\nIt typically consists of various shapes like rectangles, diamonds, and arrows that denote steps, decisions, and the flow direction, helping to map out and understand complex processes systematically.\n\nPress ā€œSā€ to quickly place shapes onto the canvas. Other shapes can be selected from the toolbar or swapped from the shape menu.\n\nPress "C" to quickly select the Connector tool. You can draw magnetic between objects on the canvas. The blue handles will let you adjust their exact path.\n\n', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 20, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'GOXMT-TQ6R', - index: 'af', - seed: 2081052614, - hasMaxWidth: true, - }, - AO_Fu_3p0U: { - type: 'text', - xywh: '[-1552.638047141807,-208.46965582048261,309.5908508300781,76.5]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Flowchart', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 64, - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'AO_Fu_3p0U', - index: 'ah', - seed: 1348985286, - }, - a3b3faEw3S: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'GOXMT-TQ6R': true, - AO_Fu_3p0U: true, - 'block:ofacia51GI': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 1', - }, - ], - }, - id: 'a3b3faEw3S', - index: 'ai', - seed: 1665064781, - }, - }, - }, - children: [ - { - type: 'block', - id: 'block:CUbp6bMsMM', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Key', - }, - ], - }, - background: '--affine-palette-transparent', - xywh: '[-1593.9377813099973,506.20729872115555,811.2479982635791,333.36808035828614]', - index: 'a0', - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:ofacia51GI', - flavour: 'affine:note', - props: { - xywh: '[-1593.9377813099973,-253.99866559224466,780.8156813417015,541.4276639514948]', - background: '--affine-background-secondary-color', - index: 'Zz', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-film', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:S2XRRZ9QZa', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/gantt-chart.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/gantt-chart.ts deleted file mode 100644 index 1067517d3548..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/gantt-chart.ts +++ /dev/null @@ -1,1011 +0,0 @@ -export default { - name: 'Gantt chart', - preview: 'https://cdn.affine.pro/templates/cover/gantt-chart.png', - type: 'template', - content: { - type: 'page', - meta: { - id: 'page:PmFlWlI_4A', - title: 'Gantt Chart', - createDate: 1701934642712, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:rZpJOZThKA', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Monthly Calendar', - }, - ], - }, - }, - children: [ - { - type: 'block', - id: 'block:rMNPdVXkf7', - flavour: 'affine:surface', - props: { - elements: { - u6zHdmzOu9: { - type: 'shape', - xywh: '[-228.11828107498832,-872.3958143989109,3513.474350882585,189.5444781885874]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-orange', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'u6zHdmzOu9', - index: 'a0', - seed: 104302524, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Project name', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 64, - }, - '93OlKObB50': { - type: 'shape', - xywh: '[-228.47362662152972,-432.20382303529044,477.0141135841853,296.02031169113934]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: '93OlKObB50', - index: 'aHG', - seed: 1385846865, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Product Team', - }, - ], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - g05yHKlh0B: { - type: 'shape', - xywh: '[-228.47362662152972,-112.63027842736824,477.0141135841853,296.02031169113934]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'g05yHKlh0B', - index: 'aIG', - seed: 1024566422, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Design Team', - }, - ], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - Y7LUOwz66o: { - type: 'shape', - xywh: '[-228.47362662152972,206.94326618055396,477.0141135841853,296.02031169113934]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'Y7LUOwz66o', - index: 'aJG', - seed: 1725109778, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Development Team', - }, - ], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - 'c3PiLo-5WC': { - type: 'shape', - xywh: '[-228.47362662152972,526.5168107884763,477.0141135841853,296.02031169113934]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-green', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'c3PiLo-5WC', - index: 'aKG', - seed: 443669891, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Operations Team', - }, - ], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - AVIb4ZiPXP: { - type: 'shape', - xywh: '[-228.47362662152972,-660.7570559520733,478.81955237391344,205]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'AVIb4ZiPXP', - index: 'a6', - seed: 1446871931, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Team', - }, - ], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - '4x2XJKGwn_': { - type: 'shape', - xywh: '[277.6371246153118,-660.7570559520733,478.81955237391344,205]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: '4x2XJKGwn_', - index: 'a7', - seed: 1562786805, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Week 1', - }, - ], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - Jijrtp0pzF: { - type: 'shape', - xywh: '[783.7478758521531,-660.7570559520733,478.81955237391344,205]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'Jijrtp0pzF', - index: 'a8', - seed: 369041213, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Week 2', - }, - ], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - U47lQHboUq: { - type: 'shape', - xywh: '[1289.8586270889946,-660.7570559520733,478.81955237391344,205]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'U47lQHboUq', - index: 'a9', - seed: 1889247856, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Week 3', - }, - ], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - u8uju0dmW2: { - type: 'shape', - xywh: '[1795.9693783258363,-660.7570559520733,478.81955237391344,205]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'u8uju0dmW2', - index: 'aA', - seed: 706323358, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Week 4', - }, - ], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - '91B-xLOCoV': { - type: 'shape', - xywh: '[2302.0801295626775,-660.7570559520733,478.81955237391344,205]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: '91B-xLOCoV', - index: 'aB', - seed: 1512922881, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Week 5', - }, - ], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - sqVx2TNQWX: { - type: 'shape', - xywh: '[2808.1908807995187,-660.7570559520733,478.81955237391344,205]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'sqVx2TNQWX', - index: 'aC', - seed: 1447411329, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Week 6', - }, - ], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - gssA_v6u7r: { - type: 'shape', - xywh: '[278.47995496942906,-432.20382303529044,3009.9808921247977,295.9836515351721]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-tangerine', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'gssA_v6u7r', - index: 'aHV', - seed: 1767513575, - color: '--affine-palette-line-black', - }, - JlaxkTN80t: { - type: 'shape', - xywh: '[278.47995503768095,-112.63027842736824,3012.9591242400897,296.02031169113934]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'JlaxkTN80t', - index: 'aIV', - seed: 507545410, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - cD12FctEyF: { - type: 'shape', - xywh: '[269.7356162322932,206.94326618055396,3017.274816941139,296.02031169113934]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'cD12FctEyF', - index: 'aJV', - seed: 271186894, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - CssVZSP7Ql: { - type: 'shape', - xywh: '[277.5361712988593,526.5168107884763,3017.274816941139,296.02031169113934]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-green', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'CssVZSP7Ql', - index: 'aKV', - seed: 1227614862, - color: '--affine-palette-line-black', - text: { - 'affine:surface:text': true, - delta: [], - }, - fontFamily: 'blocksuite:surface:Poppins', - textAlign: 'center', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 36, - }, - '76W_VC7vk7': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - AVIb4ZiPXP: true, - '4x2XJKGwn_': true, - Jijrtp0pzF: true, - U47lQHboUq: true, - u8uju0dmW2: true, - '91B-xLOCoV': true, - sqVx2TNQWX: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 5', - }, - ], - }, - id: '76W_VC7vk7', - index: 'aL', - seed: 1411929014, - }, - kPLlZTGJ2a: { - type: 'text', - xywh: '[-1298.3414896231625,-803.750191073299,750.199951171875,186]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Gantt Chart', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 124, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'kPLlZTGJ2a', - index: 'aV', - seed: 1859332079, - }, - kJ_GyzoIyW: { - type: 'text', - xywh: '[-1298.3414896231625,-544.0859047147646,773,618]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - "A Gantt Chart template is a tool for scheduling and tracking project tasks, featuring horizontal bars representing each task's duration against a timeline.\n \nThis template helps in planning, coordinating, and tracking the progress of different tasks within a project.\n\nTo use this Gantt chart, list all project tasks with Note tool, showing dependencies and progress to effectively plan and monitor the project's schedule.", - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'kJ_GyzoIyW', - index: 'aW', - seed: 955288836, - hasMaxWidth: true, - }, - O6qW3_N5u9: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - kPLlZTGJ2a: true, - kJ_GyzoIyW: true, - 'block:RluLd2sc_d': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 2', - }, - ], - }, - id: 'O6qW3_N5u9', - index: 'aX', - seed: 941281115, - xywh: '[-1369.0598801721192,-871.3958143989109,920.5142368336792,979.9740584030159]', - }, - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:aq9_cHIa1D', - flavour: 'affine:note', - props: { - xywh: '[354.3509961388838,589.2444991125155,433.12456861620115,102]', - background: '--affine-tag-green', - index: 'aM', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 2, - borderStyle: 'solid', - shadowType: '', - }, - collapse: false, - collapsedHeight: 101.26547202042082, - }, - }, - children: [ - { - type: 'block', - id: 'block:nIuruAWuoj', - flavour: 'affine:paragraph', - props: { - type: 'h4', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Operation Team Task 1...', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:9obRouUIDj', - flavour: 'affine:note', - props: { - xywh: '[316.9434255755823,-388.5999870023072,956.5023831485366,102]', - background: '--affine-tag-orange', - index: 'aN', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 2, - borderStyle: 'solid', - shadowType: '', - }, - collapse: false, - collapsedHeight: 101.26547202042082, - }, - }, - children: [ - { - type: 'block', - id: 'block:1-MMgcXt3h', - flavour: 'affine:paragraph', - props: { - type: 'h4', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Product Team Task 1...', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:_IIxA-ffLb', - flavour: 'affine:note', - props: { - xywh: '[2349.4085591451085,690.5099711329365,917.5646433088205,102]', - background: '--affine-tag-green', - index: 'aO', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 2, - borderStyle: 'solid', - shadowType: '', - }, - collapse: false, - collapsedHeight: 101.26547202042082, - }, - }, - children: [ - { - type: 'block', - id: 'block:kT9fouZODa', - flavour: 'affine:paragraph', - props: { - type: 'h4', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Operation Team Task 2...', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:iNntFCFxdI', - flavour: 'affine:note', - props: { - xywh: '[775.7257472299925,-67.22559886985249,512.2848801152704,102]', - background: '--affine-tag-pink', - index: 'aP', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 2, - borderStyle: 'solid', - shadowType: '', - }, - collapse: false, - collapsedHeight: 101.26547202042082, - }, - }, - children: [ - { - type: 'block', - id: 'block:Do0jfdYh2o', - flavour: 'affine:paragraph', - props: { - type: 'h4', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Design Team Task 1...', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:c-gKBjfigA', - flavour: 'affine:note', - props: { - xywh: '[963.8184872780671,56.095071913649605,807.9424593814309,102]', - background: '--affine-tag-pink', - index: 'aQ', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 2, - borderStyle: 'solid', - shadowType: '', - }, - collapse: false, - collapsedHeight: 101.26547202042082, - }, - }, - children: [ - { - type: 'block', - id: 'block:jHi6hEyyPG', - flavour: 'affine:paragraph', - props: { - type: 'h4', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Design Team Task 2...', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:-hve0fbnPx', - flavour: 'affine:note', - props: { - xywh: '[1795.969378325836,242.86308190669,760.1443117093463,102.00000000000003]', - background: '--affine-tag-blue', - index: 'aR', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 2, - borderStyle: 'solid', - shadowType: '', - }, - collapse: true, - collapsedHeight: 101.26547202042082, - }, - }, - children: [ - { - type: 'block', - id: 'block:Ko0OxU7l7l', - flavour: 'affine:paragraph', - props: { - type: 'h4', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Development Team Task 2...', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:mrTjrA9YLx', - flavour: 'affine:note', - props: { - xywh: '[963.8184872780671,242.86308190668998,512.2848801152704,102]', - background: '--affine-tag-blue', - index: 'aS', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 2, - borderStyle: 'solid', - shadowType: '', - }, - collapse: false, - collapsedHeight: 101.26547202042082, - }, - }, - children: [ - { - type: 'block', - id: 'block:qcuPs9AdGh', - flavour: 'affine:paragraph', - props: { - type: 'h4', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Development Team Task 1...', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:0UfZMXMwkc', - flavour: 'affine:note', - props: { - xywh: '[1795.969378325836,365.0437621455573,1463.4164242767897,102]', - background: '--affine-tag-blue', - index: 'aT', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 2, - borderStyle: 'solid', - shadowType: '', - }, - collapse: false, - collapsedHeight: 101.26547202042082, - }, - }, - children: [ - { - type: 'block', - id: 'block:Uf8v8Vd8Ls', - flavour: 'affine:paragraph', - props: { - type: 'h4', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Development Team Task 3...', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:Y3Rulg_t9m', - flavour: 'affine:note', - props: { - xywh: '[2349.4085591451085,-286.5999870023072,454.45160923865933,102]', - background: '--affine-tag-orange', - index: 'aU', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 2, - borderStyle: 'solid', - shadowType: '', - }, - collapse: false, - collapsedHeight: 101.26547202042082, - }, - }, - children: [ - { - type: 'block', - id: 'block:w3FOkZs0gK', - flavour: 'affine:paragraph', - props: { - type: 'h4', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Product Team Task 2...', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:RluLd2sc_d', - flavour: 'affine:note', - props: { - xywh: '[-1370.2665204062384,-851.4464860788814,920.5142368336792,979.9740584030159]', - background: '--affine-background-secondary-color', - index: 'Zz', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 32, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-film', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:oFgj4l6pWP', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/kanban.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/kanban.ts deleted file mode 100644 index 18c5ca448bdb..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/kanban.ts +++ /dev/null @@ -1,919 +0,0 @@ -export default { - name: 'Kanban', - preview: 'https://cdn.affine.pro/templates/cover/kanban.png', - type: 'template', - content: { - type: 'page', - meta: { - id: 'page:home', - title: 'BlockSuite Playground', - createDate: 1701765881935, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:1VxnfD_8xb', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'BlockSuite Playground', - }, - ], - }, - }, - children: [ - { - type: 'block', - id: 'block:pcmYJQ63hX', - flavour: 'affine:surface', - props: { - elements: { - '6Q-N18m1h7': { - type: 'text', - xywh: '[1003.312197418738,-2610.2482247992803,895.1110308192447,108]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This column represents tasks that are scheduled but not yet started.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 36, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'italic', - textAlign: 'left', - id: '6Q-N18m1h7', - index: 'aD', - seed: 818008543, - hasMaxWidth: true, - }, - edyYUt_oJL: { - type: 'text', - xywh: '[2438.152409845841,-2611.6320997176986,1015.487548828125,54]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This column shows tasks that are currently in progress.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 36, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'italic', - textAlign: 'left', - id: 'edyYUt_oJL', - index: 'aE', - seed: 1621352812, - }, - '6Qh8zbMziO': { - type: 'text', - xywh: '[4242.464346633909,-2612.6320997176986,1005.5516357421875,54]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This column includes tasks that have been completed.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 36, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'italic', - textAlign: 'left', - id: '6Qh8zbMziO', - index: 'aF', - seed: 507015729, - }, - BmOmdekpay: { - type: 'text', - xywh: '[181.50669753721104,-2571.5509442882258,462.51983642578125,54]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Project tracking Kanban', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'BmOmdekpay', - index: 'aG', - seed: 748310487, - }, - JI8htWNAxX: { - type: 'text', - xywh: '[181.50669753721104,-2460.1670693698075,543,130]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'A Kanban template for project tracking typically includes a visual board divided into columns representing different stages of a project, such as "planned," "ongoing," and "Complete."', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'JI8htWNAxX', - index: 'aH', - seed: 810997411, - hasMaxWidth: true, - }, - '-K-H02zO-R': { - type: 'text', - xywh: '[181.506697537211,-2296.6176968560217,543,130]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - "This template allows tasks to be added as cards under these columns. As work progresses, cards are moved along the columns, offering a clear, real-time view of the project's progress.", - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '-K-H02zO-R', - index: 'aI', - seed: 1630326155, - hasMaxWidth: true, - }, - '-vvVHIw4aX': { - type: 'text', - xywh: '[181.50669753721104,-2127.40067068264,543,97.5]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'This template is useful for managing workflow, prioritizing tasks, and ensuring efficient project execution.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '-vvVHIw4aX', - index: 'aJ', - seed: 1907471211, - hasMaxWidth: true, - }, - J_7Uy0M1s3: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - BmOmdekpay: true, - JI8htWNAxX: true, - '-K-H02zO-R': true, - '-vvVHIw4aX': true, - 'block:nc1pGg4Gsh': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 1', - }, - ], - }, - id: 'J_7Uy0M1s3', - index: 'aK', - seed: 482315495, - }, - }, - }, - children: [ - { - type: 'block', - id: 'block:0TfuSHlg-r', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Planned', - }, - ], - }, - background: '--affine-tag-purple', - xywh: '[903.6314320451293,-2646.170782828957,1392.4777890462692,2009.7726069909259]', - index: 'a0', - }, - children: [], - }, - { - type: 'block', - id: 'block:ud0l5lpJ4M', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Ongoing', - }, - ], - }, - background: '--affine-tag-yellow', - xywh: '[2408.687017161555,-2646.170782828957,1663.3762265462692,1987.9080784643184]', - index: 'a1', - }, - children: [], - }, - { - type: 'block', - id: 'block:13f5S1cQAf', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Complete', - }, - ], - }, - background: '--affine-tag-gray', - xywh: '[4200.563769981869,-2646.170782828957,1620.2902890462692,1987.9080784643184]', - index: 'a2', - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:nc1pGg4Gsh', - flavour: 'affine:note', - props: { - xywh: '[138.15040568039362,-2623.7164418835932,643.6167403419201,760.6976526754111]', - background: '--affine-background-secondary-color', - index: 'a0', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'solid', - shadowType: '--affine-note-shadow-film', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:Gf__igY0HL', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:pzEpwxhPSW', - flavour: 'affine:note', - props: { - xywh: '[1025.8905595508895,-2367.9643675746183,364,360.7657696824615]', - background: '--affine-tag-orange', - index: 'a1', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - collapsedHeight: 362.53729127607653, - }, - }, - children: [ - { - type: 'block', - id: 'block:8BDU90iR2j', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:dsUdpkG1uN', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:JrxG4A4-bl', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:Uo8YsWZDdn', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:_9TBhYB2z6', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:B_Mw4hOTa9', - flavour: 'affine:note', - props: { - xywh: '[1455.9038157514049,-2367.9643675746183,364,345.6208786944021]', - background: '--affine-tag-orange', - index: 'a2', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - collapsedHeight: 342.4265140043026, - }, - }, - children: [ - { - type: 'block', - id: 'block:Ea6Y3x2abb', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:bn_mCM4lQY', - flavour: 'affine:note', - props: { - xywh: '[2531.5121606788566,-2362.172146460574,364,360.690320348461]', - background: '--affine-tag-red', - index: 'a3', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - collapsedHeight: 362.53729127607653, - }, - }, - children: [ - { - type: 'block', - id: 'block:FI8iP8THFj', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:fFBqn5mixY', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:VgRB3pm31s', - flavour: 'affine:note', - props: { - xywh: '[3025.821367582859,-2376.4225738654554,364,362.53729127607653]', - background: '--affine-tag-red', - index: 'a4', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:HNYhsiS5CY', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:1y7yxc_hnc', - flavour: 'affine:note', - props: { - xywh: '[2555.197481910908,-1886.0200352647353,364,362.53729127607653]', - background: '--affine-tag-red', - index: 'a5', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:2bef40UnVW', - flavour: 'affine:paragraph', - props: { - type: 'h3', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:Ykf1Rx3kie', - flavour: 'affine:note', - props: { - xywh: '[4318.089419077733,-2362.172146460574,364,360.690320348461]', - background: '--affine-tag-blue', - index: 'a6', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - collapsedHeight: 362.53729127607653, - }, - }, - children: [ - { - type: 'block', - id: 'block:Ecdib6wqhO', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:Rzm3SAcKwH', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:Vq7mkZYRdb', - flavour: 'affine:note', - props: { - xywh: '[1025.8905595508895,-2367.9643675746183,364,360.7657696824615]', - background: '--affine-tag-orange', - index: 'a7', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - collapsedHeight: 362.53729127607653, - }, - }, - children: [ - { - type: 'block', - id: 'block:0J5krbr4VR', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:7NzKliNr5z', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:z6ssTxchJP', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:AT20JufICI', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:8vpXc-Bjig', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:J714CSXe6U', - flavour: 'affine:note', - props: { - xywh: '[1455.9038157514049,-2367.9643675746183,364,345.6208786944021]', - background: '--affine-tag-orange', - index: 'a8', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - collapsedHeight: 342.4265140043026, - }, - }, - children: [ - { - type: 'block', - id: 'block:z61oo3iBr_', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:F-TNp7zwe4', - flavour: 'affine:note', - props: { - xywh: '[2531.5121606788566,-2362.172146460574,364,360.690320348461]', - background: '--affine-tag-red', - index: 'a9', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - collapsedHeight: 362.53729127607653, - }, - }, - children: [ - { - type: 'block', - id: 'block:lvduEYLjUU', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:MM27Z-LS1p', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:eMA160AKGf', - flavour: 'affine:note', - props: { - xywh: '[3025.821367582859,-2376.4225738654554,364,362.53729127607653]', - background: '--affine-tag-red', - index: 'aA', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:DJnew1ZOyX', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:RF0q5wPdA4', - flavour: 'affine:note', - props: { - xywh: '[2555.197481910908,-1886.0200352647353,364,362.53729127607653]', - background: '--affine-tag-red', - index: 'aB', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:suo3BHqc9o', - flavour: 'affine:paragraph', - props: { - type: 'h3', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:KmvUmTxuKl', - flavour: 'affine:note', - props: { - xywh: '[4318.089419077733,-2362.172146460574,364,360.690320348461]', - background: '--affine-tag-blue', - index: 'aC', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - collapsedHeight: 362.53729127607653, - }, - }, - children: [ - { - type: 'block', - id: 'block:8epKIrafPT', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:-D3q4nMZ6s', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/monthly-calendar.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/monthly-calendar.ts deleted file mode 100644 index a30738cb08a3..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/monthly-calendar.ts +++ /dev/null @@ -1,1142 +0,0 @@ -export default { - name: 'Monthly calendar', - preview: 'https://cdn.affine.pro/templates/cover/monthly-calendar.png', - type: 'template', - assets: { - 'WHCOR8R09TJ7Awru1kxZBvb3A7aAZdNN2JvUkW0P_VY=': - 'https://cdn.affine.pro/templates/assets/3Awrv7sAQ3cHTsASaFAd5Y5BUEjD8qFfLQEvj1Zgwy4=.png', - 'pfRNuE2FYppI-IZnJj28Vbj7wAJraa6cPtlz-xDgqgk=': - 'https://cdn.affine.pro/templates/assets/chxqd_X0VV-NrXrIOAlpqFqwfqR86Bzy8NTT1pbUFUM_.png', - 'bj5CO1PAn9WoCcikLfC-I7y1meYfcQYGiH4ssS73wBM=': - 'https://cdn.affine.pro/templates/assets/lgFhx14co1LjjqQgiqfUUWxhz-14X1nSIolT_NNkhx4_.png', - 'efvD5QWAVJ2fi3xSQuns2JMLudwvpJxAUcSGPLtCvv8=': - 'https://cdn.affine.pro/templates/assets/ls2DZ9NR8rjXZ3WM86wNBnVSZ5kO34avB7bR570FLHU=.png', - 'OBZvFNxrfRCCrUvwgt9tsIx0dbBOwz2NIahP3OgpwHE=': - 'https://cdn.affine.pro/templates/assets/qmUcg2SDLyyoabxX89Of2QjSUzobJy9uHwhUSqi4yV4=.png', - 'drvxbiVuSxmtX2JHqbsR28u-irFo2y7FetDWdSofGBQ=': - 'https://cdn.affine.pro/templates/assets/Rwd6ofVQjyQZIYTpxYohFik92cAMrp40IfdCgo1MQJE_.png', - '4O1wLjFf9P0VHP1Gou2jNtqNzfV5BCaUqN1rOxjkl_A=': - 'https://cdn.affine.pro/templates/assets/SHcrGOvUgwA9HCpJj2W8QASwwlbQaIi39vV81k5DsSc_.png', - }, - content: { - type: 'page', - meta: { - id: 'page:PmFlWlI_4A', - title: 'Monthly Calendar', - createDate: 1701934642712, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:rZpJOZThKA', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Monthly Calendar', - }, - ], - }, - }, - children: [ - { - type: 'block', - id: 'block:rMNPdVXkf7', - flavour: 'affine:surface', - props: { - elements: { - 'cXBjy0-Dm_': { - type: 'shape', - xywh: '[-3706.2924088976333,-584.5537428299078,275.0844971371166,104]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 8, - strokeColor: '--affine-palette-line-red', - strokeStyle: 'solid', - roughness: 1.4, - id: 'cXBjy0-Dm_', - index: 'b0CV', - seed: 87895933, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'location ', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'italic', - fontSize: 24, - textAlign: 'right', - }, - '11bzCGlL9r': { - type: 'shape', - xywh: '[-3706.292408897633,-434.9603353572073,275.0844971371166,104]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 8, - strokeColor: '--affine-palette-line-tangerine', - strokeStyle: 'solid', - roughness: 1.4, - id: '11bzCGlL9r', - index: 'b0U', - seed: 2103709835, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Time ', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'italic', - fontSize: 24, - textAlign: 'right', - }, - '3V4G1V56bF': { - type: 'shape', - xywh: '[-3706.292408897633,-285.3669278845068,275.0844971371166,104]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 8, - strokeColor: '--affine-palette-line-green', - strokeStyle: 'solid', - roughness: 1.4, - id: '3V4G1V56bF', - index: 'b0GV', - seed: 581338850, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Contacts ', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'italic', - fontSize: 24, - textAlign: 'right', - }, - '7AvBCTyQ2C': { - type: 'shape', - xywh: '[-3706.292408897633,-139.09497011265762,275.0844971371166,104]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 8, - strokeColor: '--affine-palette-line-blue', - strokeStyle: 'solid', - roughness: 1.4, - id: '7AvBCTyQ2C', - index: 'b0LV', - seed: 678411172, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Weather ', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'italic', - fontSize: 24, - textAlign: 'right', - }, - VRSJ64hdR3: { - type: 'shape', - xywh: '[-3706.2924088976324,13.819887060894189,275.0844971371166,104]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 8, - strokeColor: '--affine-palette-line-purple', - strokeStyle: 'solid', - roughness: 1.4, - id: 'VRSJ64hdR3', - index: 'b0SV', - seed: 736786412, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Travel ', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'italic', - fontSize: 24, - textAlign: 'right', - }, - Vm3_lsVALu: { - type: 'shape', - xywh: '[-3706.351711164446,171.84529521490538,275.0844971371166,104.13149874516338]', - rotate: 0.06535769481764814, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 8, - strokeColor: '--affine-palette-line-green', - strokeStyle: 'solid', - roughness: 1.4, - id: 'Vm3_lsVALu', - index: 'b0X', - seed: 414751887, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Cost', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'italic', - fontSize: 24, - textAlign: 'right', - }, - R0rJM1jXn8: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'cXBjy0-Dm_': true, - 'block:N24al1Qgl7': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 2', - }, - ], - }, - id: 'R0rJM1jXn8', - index: 'aqO', - seed: 160763694, - xywh: '[-3386.20889277408,-1114.9443678299078,275.0844971371166,104]', - }, - gXiwZ7gbKO: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - '11bzCGlL9r': true, - 'block:ndrvhUSaN1': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 3', - }, - ], - }, - id: 'gXiwZ7gbKO', - index: 'b0a', - seed: 1151206806, - xywh: '[-3386.20889277408,-965.3509603572073,275.0844971371166,104]', - }, - bfNy3qWwW8: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - '3V4G1V56bF': true, - 'block:Rdl-DEiyi4': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 4', - }, - ], - }, - id: 'bfNy3qWwW8', - index: 'b0b', - seed: 1540134445, - xywh: '[-3386.20889277408,-815.7575528845068,275.0844971371166,104]', - }, - pNiSjyIw5i: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - '7AvBCTyQ2C': true, - 'block:LbfY_-Dsu1': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 5', - }, - ], - }, - id: 'pNiSjyIw5i', - index: 'b0c', - seed: 787762787, - xywh: '[-3386.20889277408,-669.4855951126576,275.0844971371166,104]', - }, - yGFt3yXm5E: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - VRSJ64hdR3: true, - 'block:auHGd3MxO9': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 6', - }, - ], - }, - id: 'yGFt3yXm5E', - index: 'b0d', - seed: 1833391408, - xywh: '[-3386.20889277408,-516.5707379391058,275.0844971371166,104]', - }, - FYq5XXZ07_: { - type: 'text', - xywh: '[-3219.2387120283856,-672.3733226565537,137.7599639892578,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Reminders', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Kalam', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'FYq5XXZ07_', - index: 'aq8', - seed: 1656541946, - }, - BMZSr_ImUD: { - type: 'text', - xywh: '[-3706.411013432607,-1161.1135813940236,834.2004820069537,418]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - "A Monthly Calendar template provides a grid or layout representing the days of a month, typically organized by weeks. \n\nIt's designed for scheduling, planning events, tracking tasks, and managing appointments. \n\nThis template is customizable for different months and years, and often includes space for notes and reminders.\n\nDrag the tags and notes below into the right table and edit it to create your personal calendar.", - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 28, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'BMZSr_ImUD', - index: 'aoG', - seed: 1207251732, - hasMaxWidth: true, - }, - BYxt0tocQt: { - type: 'text', - xywh: '[-3705.337175296088,-1239.6179238473387,293.11993408203125,47.5]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Monthly Calendar', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'BYxt0tocQt', - index: 'aoV', - seed: 999761981, - }, - 'wv-l4luCTg': { - type: 'text', - xywh: '[-3706.411013432607,-673.8561415820222,143.23191833496094,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Quick Tags', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Kalam', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'wv-l4luCTg', - index: 'ar', - seed: 853708973, - }, - fwnuzq04bj: { - type: 'connector', - mode: 1, - strokeWidth: 2, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - position: [-3328.6304634386593, -679.1025457036071], - }, - target: { - position: [-3333.3199393044856, 295.6304026399167], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'None', - id: 'fwnuzq04bj', - index: 'ao8', - seed: 671683017, - rough: false, - xywh: '[-3333.3242992726423,-679.0988668887398,4.6899999999996,974.74]', - }, - m_3CF51wZt: { - type: 'shape', - xywh: '[924.0351754833779,-783.1,275.0844971371166,104]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 8, - strokeColor: '--affine-palette-line-blue', - strokeStyle: 'solid', - roughness: 1.4, - id: 'm_3CF51wZt', - index: 'ap', - seed: 1525798825, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Weather ', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'italic', - fontSize: 24, - textAlign: 'right', - }, - ptcY2KkWVg: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - m_3CF51wZt: true, - 'block:J5zrVSACP9': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 5', - }, - ], - }, - id: 'ptcY2KkWVg', - index: 'aw', - seed: 8499192, - xywh: '[-3386.20889277408,-669.4855951126576,275.0844971371166,104]', - }, - '2Z81fm-b-G': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'block:Wt2kpwklYP': true, - Vm3_lsVALu: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 8', - }, - ], - }, - id: '2Z81fm-b-G', - index: 'ax', - seed: 2003365081, - }, - aNGP59BYSu: { - type: 'shape', - xywh: '[456.9581216113149,-150.78733423910205,275.0844971371166,104]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 8, - strokeColor: '--affine-palette-line-red', - strokeStyle: 'solid', - roughness: 1.4, - id: 'aNGP59BYSu', - index: 'b0f', - seed: 1847525765, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'location ', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Inter', - fontWeight: '600', - fontStyle: 'italic', - fontSize: 24, - textAlign: 'right', - }, - E5LNH_PyTM: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - aNGP59BYSu: true, - 'block:hYYAZfrDBZ': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 8', - }, - ], - }, - id: 'E5LNH_PyTM', - index: 'b0j', - seed: 986987768, - }, - }, - }, - children: [ - { - type: 'block', - id: 'block:N24al1Qgl7', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'bj5CO1PAn9WoCcikLfC-I7y1meYfcQYGiH4ssS73wBM=', - width: 0, - height: 0, - index: 'b0D', - xywh: '[-3696.2107535859004,-568.842319215177,76.5771527705383,76.5771527705385]', - rotate: 0, - }, - children: [], - }, - { - type: 'block', - id: 'block:LbfY_-Dsu1', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'drvxbiVuSxmtX2JHqbsR28u-irFo2y7FetDWdSofGBQ=', - width: 0, - height: 0, - index: 'b0M', - xywh: '[-3684.2107535859004,-126.06358922853371,79.2896356315082,75.78009438224478]', - rotate: 0, - }, - children: [], - }, - { - type: 'block', - id: 'block:ndrvhUSaN1', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'pfRNuE2FYppI-IZnJj28Vbj7wAJraa6cPtlz-xDgqgk=', - width: 0, - height: 0, - index: 'b0V', - xywh: '[-3684.2107535859004,-413.5862936781723,67.70791963247379,67.70791963247393]', - rotate: 0, - }, - children: [], - }, - { - type: 'block', - id: 'block:Rdl-DEiyi4', - flavour: 'affine:image', - props: { - caption: '', - sourceId: '4O1wLjFf9P0VHP1Gou2jNtqNzfV5BCaUqN1rOxjkl_A=', - width: 0, - height: 0, - index: 'b0H', - xywh: '[-3684.2107535859004,-267.1995012792322,65.4495965401581,65.77848898508364]', - rotate: 0, - }, - children: [], - }, - { - type: 'block', - id: 'block:auHGd3MxO9', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'OBZvFNxrfRCCrUvwgt9tsIx0dbBOwz2NIahP3OgpwHE=', - width: 0, - height: 0, - index: 'b0T', - xywh: '[-3684.2107535859004,31.71682762102853,68.8527214293731,68.85272142937326]', - rotate: 0, - }, - children: [], - }, - { - type: 'block', - id: 'block:Wt2kpwklYP', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'efvD5QWAVJ2fi3xSQuns2JMLudwvpJxAUcSGPLtCvv8=', - width: 0, - height: 0, - index: 'b0Y', - xywh: '[-3684.2700558609804,187.52356106262948,72.64346819016563,72.64346819016563]', - rotate: 0, - }, - children: [], - }, - { - type: 'block', - id: 'block:-k30zyBh9M', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Quick Tips', - }, - ], - }, - background: '--affine-palette-transparent', - xywh: '[-3785.8463721309627,-1294.590319678925,1000.4146680362642,1630.220319678925]', - index: 'a0', - }, - children: [], - }, - { - type: 'block', - id: 'block:J5zrVSACP9', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'drvxbiVuSxmtX2JHqbsR28u-irFo2y7FetDWdSofGBQ=', - width: 0, - height: 0, - index: 'av', - xywh: '[946.1168307951103,-770.068619115876,79.2896356315082,75.78009438224478]', - rotate: 0, - }, - children: [], - }, - { - type: 'block', - id: 'block:EXs4u0JY6F', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'WHCOR8R09TJ7Awru1kxZBvb3A7aAZdNN2JvUkW0P_VY=', - width: 0, - height: 0, - index: 'ao', - xywh: '[-2678.073305415183,-1370.855157436565,4141.853300991372,1798.0963137881806]', - rotate: 0, - }, - children: [], - }, - { - type: 'block', - id: 'block:hYYAZfrDBZ', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'bj5CO1PAn9WoCcikLfC-I7y1meYfcQYGiH4ssS73wBM=', - width: 0, - height: 0, - index: 'b0fl', - xywh: '[467.0397769230478,-135.0759106243712,76.5771527705383,76.5771527705385]', - rotate: 0, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:m0-skKuJRF', - flavour: 'affine:note', - props: { - xywh: '[-3230.750686784769,-585.5373386506271,364,187.5747734376902]', - background: '--affine-tag-yellow', - index: 'ar', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:GrAMCM-DWg', - flavour: 'affine:paragraph', - props: { - type: 'h2', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Work', - attributes: { - color: 'var(--affine-text-highlight-foreground-orange)', - }, - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:HOzMGC1Fy6', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:MCIh2k7orz', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:KThE68f8-J', - flavour: 'affine:note', - props: { - xywh: '[-3230.7506867847696,-360.3477223992635,364,187.5747734376902]', - background: '--affine-tag-purple', - index: 'as', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:lN7fdX26oe', - flavour: 'affine:paragraph', - props: { - type: 'h2', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Personal', - attributes: { - color: 'var(--affine-text-highlight-foreground-purple)', - }, - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:zQNpUuWxW4', - flavour: 'affine:note', - props: { - xywh: '[-3230.7506867847696,-135.15810614789996,364,187.5747734376902]', - background: '--affine-tag-blue', - index: 'at', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:wGlPjE56cl', - flavour: 'affine:paragraph', - props: { - type: 'h2', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Health', - attributes: { - color: 'var(--affine-text-highlight-foreground-blue)', - }, - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:yLO_2uZqpR', - flavour: 'affine:note', - props: { - xywh: '[-3230.7506867847696,90.03151010346357,364,187.5747734376902]', - background: '--affine-tag-green', - index: 'au', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:zUPnTmMG4d', - flavour: 'affine:paragraph', - props: { - type: 'h2', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Leisure', - attributes: { - color: 'var(--affine-text-highlight-foreground-green)', - }, - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:sX_l1mnwDm', - flavour: 'affine:note', - props: { - xywh: '[-1588.2917100465877,-1062.6691790295056,364,187.5747734376902]', - background: '--affine-tag-yellow', - index: 'b0f', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:v9Yfd_QOn3', - flavour: 'affine:paragraph', - props: { - type: 'h2', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Work', - attributes: { - color: 'var(--affine-text-highlight-foreground-orange)', - }, - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:yYqaSEWGk3', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:UcTuYNhD4_', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:ktrpa0pubj', - flavour: 'affine:note', - props: { - xywh: '[-2083.4026303752685,-180.88235683150273,364,187.5747734376902]', - background: '--affine-tag-green', - index: 'b0g', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:hSj5Mn7McV', - flavour: 'affine:paragraph', - props: { - type: 'h2', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Leisure', - attributes: { - color: 'var(--affine-text-highlight-foreground-green)', - }, - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:M-4nzkdECr', - flavour: 'affine:note', - props: { - xywh: '[-472.3772580133967,-499.5175294092313,364,187.5747734376902]', - background: '--affine-tag-purple', - index: 'b0fV', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:9H2hUSxnbN', - flavour: 'affine:paragraph', - props: { - type: 'h2', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Personal', - attributes: { - color: 'var(--affine-text-highlight-foreground-purple)', - }, - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:PJpwvyeVDW', - flavour: 'affine:note', - props: { - xywh: '[-606.4977725778675,-441.2121382201028,364,187.5747734376902]', - background: '--affine-tag-blue', - index: 'b0i', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:iD7m4wtdDf', - flavour: 'affine:paragraph', - props: { - type: 'h2', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Health', - attributes: { - color: 'var(--affine-text-highlight-foreground-blue)', - }, - }, - ], - }, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/project-planning.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/project-planning.ts deleted file mode 100644 index f1f7d49b5f6b..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/project-planning.ts +++ /dev/null @@ -1,1026 +0,0 @@ -export default { - name: 'Project planning', - preview: 'https://cdn.affine.pro/templates/cover/project-planning.png', - type: 'template', - content: { - type: 'page', - meta: { - id: 'page:home', - title: '', - createDate: 1702541296773, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:zET2aJVFjS', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [ - { - type: 'block', - id: 'block:N8cYzxCp3e', - flavour: 'affine:surface', - props: { - elements: { - pWyBtXCEs9: { - type: 'shape', - xywh: '[-936.2111951133554,-538.3458142160763,1081.4388302959146,1929.6600964667557]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'pWyBtXCEs9', - index: 'Zy', - seed: 1371964154, - color: '--affine-palette-line-black', - }, - pBQzY1pE2A: { - type: 'text', - xywh: '[-894.1902075880087,-494.12453840484505,300.5648909105398,68.02312071844209]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Participants', - }, - ], - }, - color: '--affine-palette-line-navy', - fontSize: 48.58794337031577, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'pBQzY1pE2A', - index: 'a2', - seed: 1094176605, - }, - BneHPippII: { - type: 'shape', - xywh: '[140.3688132174691,-538.3458142160763,1081.4388302959146,1929.6600964667557]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-navy', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'BneHPippII', - index: 'a3', - seed: 96561450, - color: '--affine-palette-line-black', - }, - du9e8wF6ZJ: { - type: 'text', - xywh: '[182.3898027758891,-494.1245384671902,142.11973435817364,72.88191505547366]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Goals', - }, - ], - }, - color: '--affine-palette-line-white', - fontSize: 48.58794337031576, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'du9e8wF6ZJ', - index: 'a4', - seed: 572113613, - }, - 'EmmIM-vr3h': { - type: 'shape', - xywh: '[1216.9488215482938,-538.3457987847758,1081.4388302959146,967.4650551572336]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'EmmIM-vr3h', - index: 'a5', - seed: 1962863270, - color: '--affine-palette-line-black', - }, - GkE3ZHj7k7: { - type: 'text', - xywh: '[1258.9698111690586,-494.1245384671902,137.26094002114206,72.88191505547366]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Users', - }, - ], - }, - color: '--affine-palette-line-white', - fontSize: 48.58794337031576, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'GkE3ZHj7k7', - index: 'a6', - seed: 1767197567, - }, - '2aNnAHBWt1': { - type: 'shape', - xywh: '[1216.9488215482938,421.97292268631315,1081.4388302959146,967.4650551572336]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: '2aNnAHBWt1', - index: 'a7', - seed: 468015372, - color: '--affine-palette-line-black', - }, - Zi5L9bKADi: { - type: 'text', - xywh: '[1258.9698087687711,469.61185308138795,324.3245219968578,72.88191505547366]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'User benefits', - }, - ], - }, - color: '--affine-palette-line-navy', - fontSize: 48.58794337031576, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'Zi5L9bKADi', - index: 'a8', - seed: 1719366953, - }, - HqPfyGtNLy: { - type: 'shape', - xywh: '[2293.5288298791183,-537.9983189207921,1081.4388302959146,1929.6600964667557]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-navy', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'HqPfyGtNLy', - index: 'a9', - seed: 705530031, - color: '--affine-palette-line-black', - }, - jvVeZuvGwa: { - type: 'text', - xywh: '[2335.5498183153263,-493.77704317190603,229.57803242474202,72.88191505547366]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Activities', - }, - ], - }, - color: '--affine-palette-line-white', - fontSize: 48.58794337031576, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'jvVeZuvGwa', - index: 'aA', - seed: 1523671853, - }, - rs6Ayp_kwE: { - type: 'shape', - xywh: '[3367.6794411037727,-537.9983189207921,1081.4388302959146,1929.6600964667557]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-blue', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'rs6Ayp_kwE', - index: 'aB', - seed: 180028404, - color: '--affine-palette-line-black', - }, - M0YfeMOWd9: { - type: 'text', - xywh: '[3409.700428542458,-493.77704317190603,307.31874181724726,72.88191505547366]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Deliverables', - }, - ], - }, - color: '--affine-palette-line-navy', - fontSize: 48.58794337031576, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'M0YfeMOWd9', - index: 'aC', - seed: 324688774, - }, - 'be9-iDKvG4': { - type: 'shape', - xywh: '[-936.2111123294355,1385.5882513952465,1351.3210018072925,672.1830183966898]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'be9-iDKvG4', - index: 'aD', - seed: 193764644, - }, - ALHUZYJM8R: { - type: 'shape', - xywh: '[407.83747438714806,1385.5882513952465,1351.3210018072925,672.1830183966898]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-orange', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'ALHUZYJM8R', - index: 'aE', - seed: 764031338, - color: '--affine-palette-line-black', - }, - YaX_Q5aifw: { - type: 'shape', - xywh: '[1751.8860611037326,1385.5882513952465,1351.3210018072925,672.1830183966898]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'YaX_Q5aifw', - index: 'aF', - seed: 1504549631, - }, - Vmz6zXptWa: { - type: 'shape', - xywh: '[3097.7719614343832,1385.5882513952465,1351.3210018072925,672.1830183966898]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-orange', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'Vmz6zXptWa', - index: 'aG', - seed: 372259012, - color: '--affine-palette-line-black', - }, - EPB0YTtJ0N: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - pWyBtXCEs9: true, - pBQzY1pE2A: true, - BneHPippII: true, - du9e8wF6ZJ: true, - 'EmmIM-vr3h': true, - GkE3ZHj7k7: true, - '2aNnAHBWt1': true, - Zi5L9bKADi: true, - HqPfyGtNLy: true, - jvVeZuvGwa: true, - rs6Ayp_kwE: true, - M0YfeMOWd9: true, - 'be9-iDKvG4': true, - ALHUZYJM8R: true, - YaX_Q5aifw: true, - Vmz6zXptWa: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 1', - }, - ], - }, - id: 'EPB0YTtJ0N', - index: 'aH', - seed: 1267487240, - }, - cYFzz0Z4y3: { - type: 'text', - xywh: '[-1896.2623870549764,-324.17145567071265,676.4558193655462,336]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'A project planning template provides a structured framework for outlining goals, defining scope, allocating resources, and setting timelines. \n\nIt typically includes sections for objectives, tasks, deadlines, and responsibilities, streamlining the project planning process.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 34, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'cYFzz0Z4y3', - index: 'aX', - seed: 853422302, - hasMaxWidth: true, - }, - l2XbltXRkQ: { - type: 'text', - xywh: '[-1896.2623870549764,-452.86212923744733,658.7838745117188,85]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Project management', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 68, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'l2XbltXRkQ', - index: 'aY', - seed: 837887889, - }, - f_vnsAemnH: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - cYFzz0Z4y3: true, - l2XbltXRkQ: true, - 'block:R0wbGFYmkR': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 2', - }, - ], - }, - id: 'f_vnsAemnH', - index: 'aZ', - seed: 12503559, - }, - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:kSiecXOR-N', - flavour: 'affine:note', - props: { - xywh: '[-779.7123192032938,-40.442032368560746,364,346.1796875]', - background: '--affine-tag-orange', - index: 'aJV', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 2, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:k9jg7Ti1ha', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:7NrC8vEeHh', - flavour: 'affine:note', - props: { - xywh: '[-549.3640943093344,176.78238878477222,364,346.1796875]', - background: '--affine-tag-teal', - index: 'aJ', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 2, - borderStyle: 'solid', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:6SaTG4do9k', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:sE8irg92ts', - flavour: 'affine:note', - props: { - xywh: '[392.19521546626953,23.937835060841273,364,346.1796875]', - background: '--affine-background-secondary-color', - index: 'aK', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:cucke67BID', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:PJpS4XwA8C', - flavour: 'affine:note', - props: { - xywh: '[686.1487491088938,-355.0730231274995,364,346.1796875]', - background: '--affine-tag-yellow', - index: 'aL', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:TNDbu7btr0', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:r_L-kpDDbB', - flavour: 'affine:note', - props: { - xywh: '[1569.8860611037326,-255.15441726081872,364,346.1796875]', - background: '--affine-tag-red', - index: 'aM', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:QlKaZaBvQS', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:_dpTheh7H8', - flavour: 'affine:note', - props: { - xywh: '[1487.1492412342031,805.154726526921,364,346.1796875]', - background: '--affine-background-secondary-color', - index: 'aN', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:278ZJlwkSj', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:At9T0kFbmK', - flavour: 'affine:note', - props: { - xywh: '[1730.2707314973322,645.3846177154558,364,346.1796875]', - background: '--affine-tag-orange', - index: 'aO', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:Rivl0CFs7i', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:inkK7D6rjU', - flavour: 'affine:note', - props: { - xywh: '[2464.186199386049,190.70272370690074,364,346.1796875]', - background: '--affine-tag-purple', - index: 'aP', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 2, - borderStyle: 'solid', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:L5yKrizMGi', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:wKVYm2Gpsw', - flavour: 'affine:note', - props: { - xywh: '[2756.7118608200626,23.93783506084128,364,346.1796875]', - background: '--affine-tag-blue', - index: 'aQ', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:xASoOXRwoj', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:bMOqSFeE5x', - flavour: 'affine:note', - props: { - xywh: '[3579.0360697959163,3.0788351620244327,364,346.1796875]', - background: '--affine-tag-orange', - index: 'aR', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:BidzD-RXBd', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:zBIyJ8_543', - flavour: 'affine:note', - props: { - xywh: '[3899.868875749833,395.75647281570707,364,346.1796875]', - background: '--affine-background-secondary-color', - index: 'aS', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:7tTBS3c-Z-', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:sjnhlCco12', - flavour: 'affine:note', - props: { - xywh: '[-745.0338364032766,1287.3505348254732,364,346.1796875]', - background: '--affine-background-secondary-color', - index: 'aT', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:mWOQE4jR_j', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:01BPDd8HGW', - flavour: 'affine:note', - props: { - xywh: '[-250.57462774607416,1559.0861403604881,364,346.1796875]', - background: '--affine-tag-yellow', - index: 'aU', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:ZRXqWGUU39', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:MmKNfet6IB', - flavour: 'affine:note', - props: { - xywh: '[2306.919927917922,1548.238043700468,364,346.1796875]', - background: '--affine-tag-yellow', - index: 'aV', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:ojcMCIXwWx', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:xI2QWxkBws', - flavour: 'affine:note', - props: { - xywh: '[2570.6892162057375,1329.8398793165102,364,346.1796875]', - background: '--affine-tag-teal', - index: 'aW', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:V9WYrXvSWE', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:R0wbGFYmkR', - flavour: 'affine:note', - props: { - xywh: '[-1932.890179347341,-516.4700469622377,749.7114039502753,607.495317201419]', - background: '--affine-tag-blue', - index: 'aWV', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:PxqxKE5Pg3', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/simple-presentation.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/simple-presentation.ts deleted file mode 100644 index b6d6224f21fb..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/simple-presentation.ts +++ /dev/null @@ -1,504 +0,0 @@ -export default { - name: 'Simple Presentation', - preview: 'https://cdn.affine.pro/templates/cover/simple-presentation.png', - type: 'template', - assets: { - '5hrUa6iRv8QEHQ4GukdlEKAJCfsLfn_SO7e1R7-kLbw=': - 'https://cdn.affine.pro/templates/assets/5hrUa6iRv8QEHQ4GukdlEKAJCfsLfn_SO7e1R7-kLbw=.png', - 'pgHqDtH06Wy-gIdECYBTRTPiCNMOiUkJq36uw1R14KI=': - 'https://cdn.affine.pro/templates/assets/pgHqDtH06Wy-gIdECYBTRTPiCNMOiUkJq36uw1R14KI=.png', - }, - content: { - type: 'page', - meta: { - id: 'page:home', - title: '', - createDate: 1702626169413, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:5M7_O-ENjC', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [ - { - type: 'block', - id: 'block:gvbTCw9AJV', - flavour: 'affine:surface', - props: { - elements: { - anGw5ND6Ay: { - type: 'text', - xywh: '[2738.520625788885,405.8804823909652,257.7919921875,96]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Agenda', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 64, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'anGw5ND6Ay', - index: 'a2', - seed: 278606533, - }, - '7ZrVZsuv_0': { - type: 'text', - xywh: '[2738.520625788885,553.5932352169066,181,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Topic title 1', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: '7ZrVZsuv_0', - index: 'a3', - seed: 895600276, - }, - '04nlt8cC-k': { - type: 'text', - xywh: '[2738.520625788885,652.8059880428477,188,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Topic title 2', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: '04nlt8cC-k', - index: 'a4', - seed: 48829006, - }, - ZicYGultI8: { - type: 'text', - xywh: '[2738.520625788885,752.5187408687893,188,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Topic title 3', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'ZicYGultI8', - index: 'a5', - seed: 1651003819, - }, - XxdgUwjnuH: { - type: 'text', - xywh: '[2738.520625788885,852.231493694731,190,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Topic title 4', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'XxdgUwjnuH', - index: 'a6', - seed: 826670243, - }, - hmGvWUmUJk: { - type: 'shape', - xywh: '[3547.8003020290953,281.8464651790168,678.3234111544948,896.0658300980467]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-green', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'hmGvWUmUJk', - index: 'a7', - seed: 1588121115, - color: '--affine-palette-line-black', - }, - '0iquyxCZsy': { - type: 'text', - xywh: '[2738.520625788885,951.9442465206721,190,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Topic title 5', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: '0iquyxCZsy', - index: 'a8', - seed: 1545891687, - }, - Wr8iYwOCpe: { - type: 'text', - xywh: '[1277.2433527805765,636.8059880428477,782.2318725585938,123]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Presentation Title', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 88, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'Wr8iYwOCpe', - index: 'aB', - seed: 245835463, - }, - JgPsTHrJ2v: { - type: 'text', - xywh: '[1625.1593073704203,772.5187408687893,86.39996337890625,51]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Date', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 36, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'JgPsTHrJ2v', - index: 'aC', - seed: 129807760, - }, - pvDlwOXu1N: { - type: 'shape', - xywh: '[890.9482679473808,1345.1034743481873,1600.246276700244,385.33721480494546]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-green', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'pvDlwOXu1N', - index: 'aD', - seed: 1007621226, - color: '--affine-palette-line-black', - }, - S2QgZLscgY: { - type: 'text', - xywh: '[1411.3914746568778,1458.088060875463,559.35986328125,89]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Feature with Title', - }, - ], - }, - color: '--affine-palette-line-white', - fontSize: 64, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'S2QgZLscgY', - index: 'aE', - seed: 788901929, - }, - SSO038Yswg: { - type: 'text', - xywh: '[1416.9315137193778,1551.3277050824836,548.27978515625,51]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Breif description or statement', - }, - ], - }, - color: '--affine-palette-line-white', - fontSize: 36, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'SSO038Yswg', - index: 'aF', - seed: 393504520, - }, - ANV5lQmbS2: { - type: 'shape', - xywh: '[2798.6230651785054,1592.8860273404648,581.8980090418504,509.7329517289122]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-green', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'ANV5lQmbS2', - index: 'aG', - seed: 865461783, - color: '--affine-palette-line-black', - }, - '8TR3u4185Z': { - type: 'text', - xywh: '[3172.4572803200454,1451.088060875463,511,96]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Image and Text', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 64, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: '8TR3u4185Z', - index: 'aI', - seed: 1880510633, - }, - 'xaPn_c0-hB': { - type: 'text', - xywh: '[3489.723459949698,1623.752503204921,612.9704705443019,448]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'Brief Description or statement.\n\nHow are you, your team, and your offering suited to win in the market you are entering? \n\nInclude images, schematics, or a prototype here.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'center', - id: 'xaPn_c0-hB', - index: 'aJ', - seed: 1696426829, - hasMaxWidth: true, - }, - }, - }, - children: [ - { - type: 'block', - id: 'block:vkuAUgTQYP', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Agenda', - }, - ], - }, - background: '--affine-tag-green', - xywh: '[2627.9572803200454,279.8503453796615,1600,900]', - index: 'a0', - }, - children: [], - }, - { - type: 'block', - id: 'block:-9dli-9Q3W', - flavour: 'affine:image', - props: { - caption: '', - sourceId: '5hrUa6iRv8QEHQ4GukdlEKAJCfsLfn_SO7e1R7-kLbw=', - width: 0, - height: 0, - index: 'a9', - xywh: '[3796.2086952218488,639.126067843546,181.50662476898833,181.50662476898833]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:Nvmn6S0HbS', - flavour: 'affine:image', - props: { - caption: '', - sourceId: '5hrUa6iRv8QEHQ4GukdlEKAJCfsLfn_SO7e1R7-kLbw=', - width: 0, - height: 0, - index: 'aA', - xywh: '[3796.2086952218488,639.126067843546,181.50662476898833,181.50662476898833]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:7iV8gMzNVt', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Frame 2', - }, - ], - }, - background: '--affine-tag-green', - xywh: '[883.5257171184523,277.91229527706355,1600,900]', - index: 'a1', - }, - children: [], - }, - { - type: 'block', - id: 'block:fhhj54I3W4', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Frame 3', - }, - ], - }, - background: '--affine-tag-green', - xywh: '[891.1650417577732,1345.320399376866,1600,900]', - index: 'a2', - }, - children: [], - }, - { - type: 'block', - id: 'block:7UDYuV_ug3', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Frame 4', - }, - ], - }, - background: '--affine-tag-green', - xywh: '[2627.9572803200454,1345.1034743481873,1600,900]', - index: 'a3', - }, - children: [], - }, - { - type: 'block', - id: 'block:FEcs75x79Z', - flavour: 'affine:image', - props: { - caption: '', - sourceId: '5hrUa6iRv8QEHQ4GukdlEKAJCfsLfn_SO7e1R7-kLbw=', - width: 0, - height: 0, - index: 'aH', - xywh: '[2998.818757314936,1756.9991908204267,181.50662476898833,181.50662476898833]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:HeHDqEBke8', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'pgHqDtH06Wy-gIdECYBTRTPiCNMOiUkJq36uw1R14KI=', - width: 538, - height: 538, - index: 'aHV', - xywh: '[1597.7600608555263,1885.1298123209674,186.62269088395297,186.62269088395317]', - rotate: 0, - size: 8156, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/smart-principles.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/smart-principles.ts deleted file mode 100644 index bda44a3130d6..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/smart-principles.ts +++ /dev/null @@ -1,1288 +0,0 @@ -export default { - name: 'Smart Principles', - type: 'template', - preview: 'https://cdn.affine.pro/templates/cover/smart.png', - content: { - type: 'page', - meta: { - id: 'page:home', - title: '', - createDate: 1702975489152, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:Ivoa5vCv2_', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [ - { - type: 'block', - id: 'block:c1LHIBVL-J', - flavour: 'affine:surface', - props: { - elements: { - VLFZ71iAHv: { - type: 'shape', - xywh: '[-3351.0058452256562,-193.49281224272409,1208.450254579689,271]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-green', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'VLFZ71iAHv', - index: 'Zt', - seed: 1658518971, - text: { - 'affine:surface:text': true, - delta: [], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 24, - }, - UILf85BFpp: { - type: 'text', - xywh: '[-2998.213531614515,123.77868158453771,501.8040785351991,1153.5726457174703]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'S', - }, - ], - }, - color: '--affine-palette-line-green', - fontSize: 823.9804612267642, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'UILf85BFpp', - index: 'a9', - seed: 1020737877, - }, - c9MSESV7E3: { - type: 'shape', - xywh: '[-3351.0058452256562,121.16593109577366,1207.3887057574816,1158.7981466949982]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-green', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'c9MSESV7E3', - index: 'Zy', - seed: 2113251578, - text: { - 'affine:surface:text': true, - delta: [], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 200, - }, - '2ZxoDqhiPD': { - type: 'text', - xywh: '[-3298.7807179358115,-99.9648970050714,1104,143]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'The goal should be clear and specific, avoiding vagueness or generalities. This helps to focus efforts and clearly define what is to be achieved.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '400', - fontStyle: 'italic', - textAlign: 'left', - id: '2ZxoDqhiPD', - index: 'a0V', - seed: 1773635052, - hasMaxWidth: true, - }, - qclPNRzVNH: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - c9MSESV7E3: true, - UILf85BFpp: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Specific', - }, - ], - }, - id: 'qclPNRzVNH', - index: 'Zy', - seed: 1204682767, - }, - ZoZvdltCAo: { - type: 'shape', - xywh: '[-2085.320761846566,121.1659310957732,1207.3887057574816,1158.7981466949982]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-magenta', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'ZoZvdltCAo', - index: 'aQ', - seed: 81413652, - text: { - 'affine:surface:text': true, - delta: [], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 200, - }, - QMFfwtaW9y: { - type: 'text', - xywh: '[-1852.6264089678255,123.77868158453771,742,1236]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'M', - }, - ], - }, - color: '--affine-palette-line-magenta', - fontSize: 823.9804612267642, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'QMFfwtaW9y', - index: 'aR', - seed: 796986841, - }, - '2bAcAezJdW': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - ZoZvdltCAo: true, - QMFfwtaW9y: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Measurable', - }, - ], - }, - id: '2bAcAezJdW', - index: 'Zx', - seed: 292574324, - xywh: '[-1152.4771618726809,1113.4513332126337,1207.3887057574816,1158.7981466949984]', - }, - CRv9moZesq: { - type: 'shape', - xywh: '[-819.6356784674756,121.16593109577366,1207.3887057574816,1158.7981466949982]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'CRv9moZesq', - index: 'aT', - seed: 167876713, - text: { - 'affine:surface:text': true, - delta: [], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 200, - }, - '1L3b654uwZ': { - type: 'text', - xywh: '[-511.4413255887348,123.77868158453816,591,1236]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'A', - }, - ], - }, - color: '--affine-palette-line-purple', - fontSize: 823.9804612267642, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: '1L3b654uwZ', - index: 'aU', - seed: 1736175608, - }, - jMeVKfk3tN: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - CRv9moZesq: true, - '1L3b654uwZ': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Attainable', - }, - ], - }, - id: 'jMeVKfk3tN', - index: 'Zw', - seed: 1524523375, - xywh: '[118.29908958978649,1116.0640837013977,1207.3887057574816,1158.798146694998]', - }, - Vkf_8k3sFH: { - type: 'shape', - xywh: '[446.0494049116146,121.16593109577366,1207.3887057574816,1158.7981466949982]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'Vkf_8k3sFH', - index: 'aW', - seed: 1685399219, - text: { - 'affine:surface:text': true, - delta: [], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 200, - }, - 'pZVwJ-Wk8e': { - type: 'text', - xywh: '[785.2437577903554,123.77868158453816,529,1236]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'R', - }, - ], - }, - color: '--affine-palette-line-yellow', - fontSize: 823.9804612267642, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'pZVwJ-Wk8e', - index: 'aX', - seed: 1272467178, - }, - d0ic8no_hD: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - Vkf_8k3sFH: true, - 'pZVwJ-Wk8e': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Relevent', - }, - ], - }, - id: 'd0ic8no_hD', - index: 'Zv', - seed: 1665773977, - xywh: '[1389.0753410522548,1101.3271266282566,1207.3887057574816,1158.7981466949984]', - }, - jZNAL4_O2f: { - type: 'shape', - xywh: '[1711.7344882907043,121.16593109577366,1207.3887057574816,1158.7981466949982]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-orange', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'jZNAL4_O2f', - index: 'aZ', - seed: 2126278060, - text: { - 'affine:surface:text': true, - delta: [], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 200, - }, - '7uEKqL4ZZE': { - type: 'text', - xywh: '[2077.428841169445,123.77868158453816,476,1236]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'T', - }, - ], - }, - color: '--affine-palette-line-orange', - fontSize: 823.9804612267642, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: '7uEKqL4ZZE', - index: 'aa', - seed: 1879860187, - }, - '5eCtP90W6E': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - jZNAL4_O2f: true, - '7uEKqL4ZZE': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Time-bound', - }, - ], - }, - id: '5eCtP90W6E', - index: 'Zu', - seed: 488603175, - xywh: '[2659.851592514723,1103.939877117021,1207.3887057574816,1158.7981466949984]', - }, - Ht75_MNgKj: { - type: 'text', - xywh: '[-3298.7807179358115,-159.02072748037654,128.3199462890625,45]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Specific', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'italic', - textAlign: 'left', - id: 'Ht75_MNgKj', - index: 'a1', - seed: 963242182, - }, - 'aRxdJtEB-h': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - VLFZ71iAHv: true, - '2ZxoDqhiPD': true, - Ht75_MNgKj: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Specific', - }, - ], - }, - id: 'aRxdJtEB-h', - index: 'a1', - seed: 681263561, - }, - 'hEcVf-73Rp': { - type: 'shape', - xywh: '[-2085.320761846566,-193.49281224272409,1208.450254579689,271]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-magenta', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'hEcVf-73Rp', - index: 'a2', - seed: 1675439228, - text: { - 'affine:surface:text': true, - delta: [], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 24, - }, - eGKmonZQA1: { - type: 'text', - xywh: '[-2033.095634556721,-99.96489700507118,1104,143]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'The goal must have criteria for measuring progress and success. This allows for tracking of progress and knowing when the objective has been achieved.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '400', - fontStyle: 'italic', - textAlign: 'left', - id: 'eGKmonZQA1', - index: 'a3', - seed: 1994121851, - hasMaxWidth: true, - }, - YSfTlyVK_E: { - type: 'text', - xywh: '[-2033.095634556721,-159.02072748037654,195,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Measurable', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'italic', - textAlign: 'left', - id: 'YSfTlyVK_E', - index: 'a4', - seed: 2117656022, - }, - wyAA7JCOkb: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'hEcVf-73Rp': true, - eGKmonZQA1: true, - YSfTlyVK_E: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Measurable', - }, - ], - }, - id: 'wyAA7JCOkb', - index: 'a5', - seed: 1137197974, - xywh: '[-914.7524361865326,1259.971277553842,1208.450254579689,271]', - }, - O3Dna1QDkc: { - type: 'shape', - xywh: '[-819.6356784674756,-193.49281224272409,1208.450254579689,271]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-purple', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'O3Dna1QDkc', - index: 'a6', - seed: 1324901350, - text: { - 'affine:surface:text': true, - delta: [], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 24, - }, - FMeqaDNTPp: { - type: 'text', - xywh: '[-767.4105511776313,-99.96489700507118,1104,143]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'The goal should be attainable; that is, realistically within the reach of the individual or team. It should challenge skills but remain possible.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '400', - fontStyle: 'italic', - textAlign: 'left', - id: 'FMeqaDNTPp', - index: 'a7', - seed: 1043066726, - hasMaxWidth: true, - }, - ykjWb35sxt: { - type: 'text', - xywh: '[-767.4105511776313,-159.02072748037654,173,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Attainable', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'italic', - textAlign: 'left', - id: 'ykjWb35sxt', - index: 'a8', - seed: 1392138820, - }, - '6lwwdy2C3y': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - O3Dna1QDkc: true, - FMeqaDNTPp: true, - ykjWb35sxt: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Measurable', - }, - ], - }, - id: '6lwwdy2C3y', - index: 'a9', - seed: 990615727, - xywh: '[343.81424374502603,1279.136236898279,1208.450254579689,271]', - }, - txSWSSW1WR: { - type: 'shape', - xywh: '[446.0494049116146,-193.49281224272409,1208.450254579689,271]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-yellow', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'txSWSSW1WR', - index: 'aA', - seed: 2145441580, - text: { - 'affine:surface:text': true, - delta: [], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 24, - }, - bn6Mjrgz1a: { - type: 'text', - xywh: '[498.274532201459,-99.96489700507072,1104,143]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'The goal should be relevant to the direction you want your career, business, or project to head. This means that it aligns with other relevant goals and fits into your immediate and long-term plans.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '400', - fontStyle: 'italic', - textAlign: 'left', - id: 'bn6Mjrgz1a', - index: 'aB', - seed: 435820474, - hasMaxWidth: true, - }, - sLYia2zuPE: { - type: 'text', - xywh: '[498.2745322014589,-159.02072748037654,144,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Relevant', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'italic', - textAlign: 'left', - id: 'sLYia2zuPE', - index: 'aC', - seed: 1120374089, - }, - lly0yHh_jh: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - txSWSSW1WR: true, - bn6Mjrgz1a: true, - sLYia2zuPE: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Measurable', - }, - ], - }, - id: 'lly0yHh_jh', - index: 'aD', - seed: 1287003439, - xywh: '[1623.8355831302415,1272.136182495278,1208.450254579689,271]', - }, - CrDcOkbe1K: { - type: 'shape', - xywh: '[1711.7344882907043,-193.49281224272409,1208.450254579689,271]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-orange', - strokeWidth: 4, - strokeColor: '--affine-palette-line-yellow', - strokeStyle: 'none', - roughness: 1.4, - id: 'CrDcOkbe1K', - index: 'aE', - seed: 276312892, - text: { - 'affine:surface:text': true, - delta: [], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - fontSize: 24, - }, - '81PZhIh4Nr': { - type: 'text', - xywh: '[1763.959615580549,-99.96489700507072,1104,143]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'The goal should have a defined timeline, including a starting date and a target date. The purpose is to create urgency and prompt action.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '400', - fontStyle: 'italic', - textAlign: 'left', - id: '81PZhIh4Nr', - index: 'aF', - seed: 1167709234, - hasMaxWidth: true, - }, - q7RAxQNyB_: { - type: 'text', - xywh: '[1763.9596155805486,-159.02072748037654,206,48]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Time-bound', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'italic', - textAlign: 'left', - id: 'q7RAxQNyB_', - index: 'aG', - seed: 523238549, - }, - YIccwkH2Ml: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - CrDcOkbe1K: true, - '81PZhIh4Nr': true, - q7RAxQNyB_: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Time-bound', - }, - ], - }, - id: 'YIccwkH2Ml', - index: 'aH', - seed: 222388655, - xywh: '[2889.65386881657,1266.969332380398,1208.450254579689,271]', - }, - p5bQwSREqj: { - type: 'text', - xywh: '[-4342.619006596488,-13.057358174548929,829,486]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'A SMART principle template is designed to help in setting effective goals or objectives by ensuring they are Specific, Measurable, Achievable, Relevant, and Time-bound. \n\nThis template typically includes sections or prompts for each of these criteria, guiding you to refine your goals to be clear, trackable, realistic, significant, and timely.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 36, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'p5bQwSREqj', - index: 'aI', - seed: 1898609963, - hasMaxWidth: true, - }, - gmi1BanjpX: { - type: 'text', - xywh: '[-4342.619006596488,-95.45854395335401,327.3598937988281,56]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'SMART principle', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 40, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: 'gmi1BanjpX', - index: 'aJ', - seed: 1251120640, - }, - jsgVCjYWKk: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - p5bQwSREqj: true, - gmi1BanjpX: true, - 'block:cdEnXNXJqL': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 11', - }, - ], - }, - id: 'jsgVCjYWKk', - index: 'aK', - seed: 690304037, - }, - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:AO4FlzLUUZ', - flavour: 'affine:note', - props: { - xywh: '[-3223.3589643662244,339.75646448917877,364,347.93359375]', - background: '--affine-tag-green', - index: 'aC', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:z0m-ULBS3e', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:r5uLaWvJGq', - flavour: 'affine:note', - props: { - xywh: '[-2617.79493007147,595.3326572305407,364,347.93359375]', - background: '--affine-tag-green', - index: 'aD', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:O0e0O5kYaE', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:Fh0N_Q2YCF', - flavour: 'affine:note', - props: { - xywh: '[-1989.6804700600383,831.1723973608521,364,347.93359375]', - background: '--affine-tag-red', - index: 'a2', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:SU1xoMmCbb', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:RA_jEg2E70', - flavour: 'affine:note', - props: { - xywh: '[-1343.4990461792797,211.11551460456477,364,347.93359375]', - background: '--affine-tag-red', - index: 'a3', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:f4kKCTYgv7', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:j_eHKl28GX', - flavour: 'affine:note', - props: { - xywh: '[-709.4578878641801,240.00984558562732,364,347.93359375]', - background: '--affine-tag-purple', - index: 'a4', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:7jxyj-iGql', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:FKUgxhkKlp', - flavour: 'affine:note', - props: { - xywh: '[-39.05825514573803,526.5982075682728,364,347.93359375]', - background: '--affine-tag-purple', - index: 'a5', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:0-ngzmshRA', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:Vo-f0AP4L7', - flavour: 'affine:note', - props: { - xywh: '[517.7720751423635,595.3326572305407,364,347.93359375]', - background: '--affine-tag-yellow', - index: 'a6', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:MiCy_xnKcg', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:WEjuudYmBb', - flavour: 'affine:note', - props: { - xywh: '[1246.7638970121116,240.00984558562732,364,347.93359375]', - background: '--affine-tag-yellow', - index: 'a7', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:SqUH7pHvqX', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:XnkUM8MtsU', - flavour: 'affine:note', - props: { - xywh: '[2442.2113962118606,651.1518547540968,364,347.93359375]', - background: '--affine-tag-yellow', - index: 'a8', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:x0_111mG5P', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:cdEnXNXJqL', - flavour: 'affine:note', - props: { - xywh: '[-4419.195197448199,-178.63371373620782,982.1523817034204,692.5167086864009]', - background: '--affine-background-secondary-color', - index: 'aE', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 24, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:vdxqM55sW6', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/storyboard.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/storyboard.ts deleted file mode 100644 index e707b096e4c3..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/storyboard.ts +++ /dev/null @@ -1,1360 +0,0 @@ -export default { - name: 'Storyboard', - preview: 'https://cdn.affine.pro/templates/cover/storyboard.png', - type: 'template', - assets: { - 'WRka6R7pvS4AKqYQRl5aBeIkQqLGkNOpB_iVroJQKtc=': - 'https://cdn.affine.pro/templates/assets/pQzvckPjmd0QPBOYJj0lRAezTAl43BtaWqVFZkydgzQ=.png', - 'NuuYD2-GljLA2H_qI0-ipdeB7YHgwkn_e05G--V8F6M=': - 'https://cdn.affine.pro/templates/assets/4rOMygicmDxT3mgVjW1-PtavNtg1TGpkNReRIwRy0fQ=.png', - }, - content: { - type: 'page', - meta: { - id: 'page:Tk8yvi7TtE', - title: 'Storyboard', - createDate: 1701855520579, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:_sq72SgftX', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Storyboard', - }, - ], - }, - }, - children: [ - { - type: 'block', - id: 'block:Vslciq5Tsw', - flavour: 'affine:surface', - props: { - elements: { - '5bPSTkBelz': { - type: 'text', - xywh: '[-623.312317566272,-20.125818767528926,102.39999389648438,153.5]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '01', - }, - ], - }, - color: '--affine-palette-line-grey', - fontSize: 128, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '5bPSTkBelz', - index: 'a0', - seed: 888423873, - }, - 'Cv-Kkmz9aC': { - type: 'shape', - xywh: '[-623.312317566272,-510.4671790604059,749.0048669510401,465.24173261151157]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'Cv-Kkmz9aC', - index: 'a1', - seed: 1877921497, - color: '--affine-palette-line-black', - }, - y5ZK_Hlq2D: { - type: 'text', - xywh: '[333.41774645201497,-20.125818767528898,103,154]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '02', - }, - ], - }, - color: '--affine-palette-line-blue', - fontSize: 128, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'y5ZK_Hlq2D', - index: 'a5', - seed: 39875881, - }, - qpnYJBKHGg: { - type: 'shape', - xywh: '[333.41774645201497,-510.4671790604059,749.0048669510401,465.24173261151157]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'qpnYJBKHGg', - index: 'a6', - seed: 1076908986, - color: '--affine-palette-line-black', - }, - '671DNrP_sE': { - type: 'text', - xywh: '[1290.1478104703021,-20.12581876752894,103,154]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '03', - }, - ], - }, - color: '--affine-palette-line-purple', - fontSize: 128, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '671DNrP_sE', - index: 'a9', - seed: 963046928, - }, - UqX1bKv8di: { - type: 'shape', - xywh: '[1290.1478104703021,-510.46717906040595,749.0048669510401,465.24173261151157]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'UqX1bKv8di', - index: 'aA', - seed: 1813280158, - color: '--affine-palette-line-black', - }, - ZBfrEL1PyL: { - type: 'text', - xywh: '[2216.773020328646,-20.12581876752892,103,154]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '04', - }, - ], - }, - color: '--affine-palette-line-green', - fontSize: 128, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'ZBfrEL1PyL', - index: 'aC', - seed: 1654062447, - }, - '7_3H8gs_M0': { - type: 'shape', - xywh: '[2216.773020328646,-510.46717906040595,749.0048669510401,465.24173261151157]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: '7_3H8gs_M0', - index: 'aD', - seed: 1632921055, - color: '--affine-palette-line-black', - }, - He2q2iLluI: { - type: 'text', - xywh: '[-623.3123175662716,905.8585775910734,103,154]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '05', - }, - ], - }, - color: '--affine-palette-line-orange', - fontSize: 128, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'He2q2iLluI', - index: 'aF', - seed: 1329611161, - }, - eRjgoJ_PO0: { - type: 'shape', - xywh: '[-623.3123175662716,415.5172172981964,749.0048669510401,465.24173261151157]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'eRjgoJ_PO0', - index: 'aG', - seed: 663330323, - color: '--affine-palette-line-black', - }, - 'V-FK3ebnt1': { - type: 'text', - xywh: '[356.09442107741177,905.8585775910734,103,154]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '06', - }, - ], - }, - color: '--affine-palette-line-magenta', - fontSize: 128, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'V-FK3ebnt1', - index: 'aI', - seed: 1364259955, - }, - '9o9_urPWat': { - type: 'shape', - xywh: '[356.09442107741177,415.5172172981964,749.0048669510401,465.24173261151157]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: '9o9_urPWat', - index: 'aJ', - seed: 1326119795, - color: '--affine-palette-line-black', - }, - AxmmlFfmZy: { - type: 'text', - xywh: '[1303.8521073764198,905.8585775910734,103,154]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '07', - }, - ], - }, - color: '--affine-palette-line-blue', - fontSize: 128, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'AxmmlFfmZy', - index: 'aL', - seed: 51782970, - }, - aDz5kGBwSw: { - type: 'shape', - xywh: '[1303.8521073764198,415.5172172981964,749.0048669510401,465.24173261151157]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: 'aDz5kGBwSw', - index: 'aM', - seed: 2070815342, - color: '--affine-palette-line-black', - }, - XUoXvxaQ6o: { - type: 'text', - xywh: '[2229.2037444382922,905.8585775910734,103,154]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '08', - }, - ], - }, - color: '--affine-palette-line-tangerine', - fontSize: 128, - fontFamily: 'blocksuite:surface:BebasNeue', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'XUoXvxaQ6o', - index: 'aO', - seed: 610565560, - }, - '4HpcXHHyCG': { - type: 'shape', - xywh: '[2229.2037444382922,415.51721729819644,749.0048669510401,465.24173261151157]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 4, - strokeColor: '--affine-palette-transparent', - strokeStyle: 'solid', - roughness: 1.4, - id: '4HpcXHHyCG', - index: 'aP', - seed: 92714421, - color: '--affine-palette-line-black', - }, - '9D9dgqb3_T': { - type: 'text', - xywh: '[-1991.971780114972,-403.81244318618457,371,194]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - "A storyboard template is a tool for visualizing a story's narrative with illustrations. \n\nIt's widely used in animation, film, and video game design, and has become essential for businesses in mapping customer experiences.\n\nThis tool is key for team alignment, idea pitching, and understanding customer journeys.", - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 16, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '9D9dgqb3_T', - index: 'aT', - seed: 172461233, - hasMaxWidth: true, - }, - '9kTksrdooV': { - type: 'text', - xywh: '[-1993.1100096192029,-455.71746314435444,141.86395263671875,32.5]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Storyboard', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Satoshi', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: '9kTksrdooV', - index: 'aU', - seed: 1798838512, - }, - '-HQm5uRmiD': { - type: 'shape', - xywh: '[-1993.1100096192029,-155.30093141487959,372.1382295042306,121]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 4, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - id: '-HQm5uRmiD', - index: 'af', - seed: 1243500994, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'Use the pen tool\nto sketch out the scenes\nof the storyboard', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Satoshi', - textAlign: 'left', - fontWeight: '400', - fontStyle: 'normal', - fontSize: 16, - }, - eDwrSwLvT1: { - type: 'shape', - xywh: '[-1993.1100096192029,13.541009953474223,372.1382295042306,126]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 4, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - id: 'eDwrSwLvT1', - index: 'aY', - seed: 740967169, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'Double click notes to \ndescribe whats happening \nin each scene', - }, - ], - }, - color: '--affine-palette-line-black', - fontFamily: 'blocksuite:surface:Satoshi', - textAlign: 'left', - fontWeight: '400', - fontStyle: 'normal', - fontSize: 16, - }, - NqZ_5sIXDi: { - type: 'text', - xywh: '[-1648.5387887440108,-155.30093141487959,11.583999633789062,47.5]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '1', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'italic', - textAlign: 'left', - id: 'NqZ_5sIXDi', - index: 'ag', - seed: 1741938248, - }, - CkRZQnBdPT: { - type: 'text', - xywh: '[-1652.0912282617626,13.398605829259246,18.367996215820312,47.5]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: '2', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'italic', - textAlign: 'left', - id: 'CkRZQnBdPT', - index: 'ac', - seed: 794575694, - }, - JuHYf15fsy: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - eDwrSwLvT1: true, - CkRZQnBdPT: true, - 'block:1N0UWZkK_8': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 1', - }, - ], - }, - id: 'JuHYf15fsy', - index: 'ad', - seed: 1573998966, - xywh: '[-2072.0422562424897,-60.25228947394268,372.1382295042306,126.14240412421498]', - }, - 'puvDjor9-d': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - '-HQm5uRmiD': true, - NqZ_5sIXDi: true, - 'block:rjD1NH1bz1': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: '324234', - }, - ], - }, - id: 'puvDjor9-d', - index: 'af', - seed: 47439129, - xywh: '[-1967.659085824912,-191.76177163350204,372.1382295042306,121]', - }, - '9pzQ4PtJqc': { - type: 'shape', - xywh: '[-2066.2474634433406,-547.4694048830397,1110.2447838460484,789.3937055152682]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 4, - strokeColor: '--affine-palette-line-black', - strokeStyle: 'solid', - roughness: 1.4, - id: '9pzQ4PtJqc', - index: 'Zz', - seed: 441326486, - color: '--affine-palette-line-black', - }, - }, - }, - children: [ - { - type: 'block', - id: 'block:fkXg4KufTv', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Board title', - }, - ], - }, - background: '--affine-tag-gray', - xywh: '[-663.1275820232445,-547.4694048830397,828.6353958649848,711.2490457412829]', - index: 'a0', - }, - children: [], - }, - { - type: 'block', - id: 'block:tPPJWh8fBf', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Board title', - }, - ], - }, - background: '--affine-tag-blue', - xywh: '[293.60248199504247,-547.4694048830397,828.6353958649848,711.2490457412829]', - index: 'a1', - }, - children: [], - }, - { - type: 'block', - id: 'block:IrLiYhlb_T', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Board title', - }, - ], - }, - background: '--affine-tag-purple', - xywh: '[1250.3325460133296,-547.4694048830397,828.6353958649848,711.2490457412829]', - index: 'a2', - }, - children: [], - }, - { - type: 'block', - id: 'block:LUJuvPKPdR', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Board title', - }, - ], - }, - background: '--affine-tag-green', - xywh: '[2176.9577558716733,-547.4694048830397,828.6353958649848,711.2490457412829]', - index: 'a3', - }, - children: [], - }, - { - type: 'block', - id: 'block:-y4TFKXJaP', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Board title', - }, - ], - }, - background: '--affine-tag-yellow', - xywh: '[-663.1275820232444,378.5149914755626,828.6353958649848,711.2490457412829]', - index: 'a4', - }, - children: [], - }, - { - type: 'block', - id: 'block:aOTmVs-FuZ', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Board title', - }, - ], - }, - background: '--affine-tag-red', - xywh: '[316.27915662043904,378.5149914755626,828.6353958649848,711.2490457412829]', - index: 'a5', - }, - children: [], - }, - { - type: 'block', - id: 'block:NNBwJnSOBh', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Board title', - }, - ], - }, - background: '--affine-tag-teal', - xywh: '[1264.036842919447,378.5149914755626,828.6353958649848,711.2490457412829]', - index: 'a6', - }, - children: [], - }, - { - type: 'block', - id: 'block:rMJjJ7V6xb', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Board title', - }, - ], - }, - background: '--affine-tag-orange', - xywh: '[2189.3884799813195,378.5149914755627,828.6353958649848,711.2490457412829]', - index: 'a7', - }, - children: [], - }, - { - type: 'block', - id: 'block:rjD1NH1bz1', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'WRka6R7pvS4AKqYQRl5aBeIkQqLGkNOpB_iVroJQKtc=', - width: 0, - height: 0, - index: 'ah', - xywh: '[-1795.5188339520957,-137.42603506396046,157.61387206265383,98.99257227794752]', - rotate: 0, - }, - children: [], - }, - { - type: 'block', - id: 'block:1N0UWZkK_8', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'NuuYD2-GljLA2H_qI0-ipdeB7YHgwkn_e05G--V8F6M=', - width: 0, - height: 0, - index: 'aal', - xywh: '[-1779.307672616336,51.18653958469409,127.21644435457343,81.65683618351409]', - rotate: 0, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:Jrhw1YLWKV', - flavour: 'affine:note', - props: { - xywh: '[-230.1873471257049,-79.13555810124546,372.68990428151096,212.50973933371654]', - background: '--affine-background-secondary-color', - index: 'a2', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 2, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:8VZyVPAO_I', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Describe whats happening in the scene', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:GFpdoPhgc2', - flavour: 'affine:note', - props: { - xywh: '[730.5968545529315,-85.50413258738763,372.83083297527776,218.87831381985876]', - background: '--affine-tag-teal', - index: 'a7', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 2, - borderStyle: 'solid', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:fUXH2joezs', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Describe whats happening in the scene', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:Fb5AygNUnr', - flavour: 'affine:note', - props: { - xywh: '[1678.3545408519394,-77.3784889090899,371.9321020416821,217.1878667538341]', - background: '--affine-tag-pink', - index: 'aB', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 2, - borderStyle: 'solid', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:BmuUA6tq3T', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Describe whats happening in the scene', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:fYGdA3MvTu', - flavour: 'affine:note', - props: { - xywh: '[2603.706177913812,-77.37848890908987,373.20567483815285,216.99615367852667]', - background: '--affine-tag-yellow', - index: 'aE', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 2, - borderStyle: 'solid', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:Zmykj3phX3', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Describe whats happening in the scene', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:pxhK-W1vEZ', - flavour: 'affine:note', - props: { - xywh: '[-236.37915998110554,848.6059074495124,373.20567483815285,207.95975843368183]', - background: '--affine-tag-orange', - index: 'aH', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 2, - borderStyle: 'solid', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:zIPWPdYTQU', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Describe whats happening in the scene', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:gB_LQwY9cK', - flavour: 'affine:note', - props: { - xywh: '[743.027578662578,848.6059074495124,373.20567483815296,206.363094177334]', - background: '--affine-tag-purple', - index: 'aK', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 2, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:0NjuAbiCKz', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Describe whats happening in the scene', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:ow9HsFYnuJ', - flavour: 'affine:note', - props: { - xywh: '[1690.785264961586,848.6059074495124,373.2056748381531,210.93935583599136]', - background: '--affine-tag-gray', - index: 'aN', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 2, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:QzGVkmTwxV', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Describe whats happening in the scene', - }, - ], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:Fonoa8wxUT', - flavour: 'affine:note', - props: { - xywh: '[2616.136902023459,848.6059074495124,373.20567483815285,210.8557329187879]', - background: '--affine-tag-blue', - index: 'aQ', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 2, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:HjrnOLxGkv', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Describe whats happening in the scene', - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:W050lCccMc', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:LTdGuueeCp', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:kF8KTh-WvC', - flavour: 'affine:note', - props: { - xywh: '[-1487.0582041163204,-467.4589900465258,448,618]', - background: '--affine-palette-transparent', - index: 'aR', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-film', - }, - }, - }, - children: [ - { - type: 'block', - id: 'block:48VdaTzf8L', - flavour: 'affine:paragraph', - props: { - type: 'h3', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Storyboard brief', - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:V9VYl5WXhx', - flavour: 'affine:divider', - props: {}, - children: [], - }, - { - type: 'block', - id: 'block:7cNtrQ0W6g', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Story summary', - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:LJzurmfoOl', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: - 'Describe the purpose and outcome of the storyboards in paragraph form. Outline any main points.', - attributes: { - color: 'var(--affine-text-highlight-foreground-grey)', - }, - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:lbS_RuR-vF', - flavour: 'affine:divider', - props: {}, - children: [], - }, - { - type: 'block', - id: 'block:g9MuIZIzLx', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Key goals and needs', - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:CWIonXIklJ', - flavour: 'affine:list', - props: { - type: 'numbered', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'This is item 1', - }, - ], - }, - checked: false, - collapsed: false, - }, - children: [], - }, - { - type: 'block', - id: 'block:PhYhzCaieP', - flavour: 'affine:list', - props: { - type: 'numbered', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'This is item 2', - }, - ], - }, - checked: false, - collapsed: false, - }, - children: [], - }, - { - type: 'block', - id: 'block:PLkpsctwaY', - flavour: 'affine:list', - props: { - type: 'numbered', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'This is item 3', - }, - ], - }, - checked: false, - collapsed: false, - }, - children: [], - }, - { - type: 'block', - id: 'block:MxqJnBLuJe', - flavour: 'affine:divider', - props: {}, - children: [], - }, - { - type: 'block', - id: 'block:GNPBYTu7Fc', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Key pains and constraints', - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:tq_8TfOK6n', - flavour: 'affine:list', - props: { - type: 'bulleted', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'This is item 1', - }, - ], - }, - checked: false, - collapsed: false, - }, - children: [], - }, - { - type: 'block', - id: 'block:GAEEyaqD4x', - flavour: 'affine:list', - props: { - type: 'bulleted', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'This is item 2', - }, - ], - }, - checked: false, - collapsed: false, - }, - children: [], - }, - { - type: 'block', - id: 'block:Tm7U_L0sbq', - flavour: 'affine:list', - props: { - type: 'bulleted', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'This is item 3', - }, - ], - }, - checked: false, - collapsed: false, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/swot.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/swot.ts deleted file mode 100644 index 7825a642396e..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/swot.ts +++ /dev/null @@ -1,1016 +0,0 @@ -export default { - name: 'SWOT', - type: 'template', - preview: 'https://cdn.affine.pro/templates/cover/swot.png', - assets: { - 'CauTvGM2-5UBtNBAWNrqu4UH1ONwnz10xNX_aRwcaCo=': - 'https://cdn.affine.pro/templates/assets/CauTvGM2-5UBtNBAWNrqu4UH1ONwnz10xNX_aRwcaCo=.png', - }, - content: { - type: 'page', - meta: { - id: 'page:home', - title: '', - createDate: 1702872979884, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:W8FkO2GKYz', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [ - { - type: 'block', - id: 'block:xZ2yXLQjjm', - flavour: 'affine:surface', - props: { - elements: { - '8hAds6Chqq': { - type: 'shape', - xywh: '[35.38967746153219,-164.01132660652547,1377.3637475434764,956.1179616060846]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 12, - strokeColor: '--affine-palette-line-purple', - strokeStyle: 'solid', - roughness: 1.4, - id: '8hAds6Chqq', - index: 'a0', - seed: 706656404, - color: '--affine-palette-line-black', - }, - HeQWoVPz0T: { - type: 'shape', - xywh: '[1463.2176072115622,-164.01132660652547,1377.3637475434764,956.1179616060846]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 12, - strokeColor: '--affine-palette-line-tangerine', - strokeStyle: 'solid', - roughness: 1.4, - id: 'HeQWoVPz0T', - index: 'a1', - seed: 612881967, - color: '--affine-palette-line-black', - }, - '-Kf7zyb_cl': { - type: 'text', - xywh: '[99.20642280085835,-111.28278638089697,244.9375,65]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Strength', - }, - ], - }, - color: '--affine-palette-line-purple', - fontSize: 64, - fontFamily: 'blocksuite:surface:OrelegaOne', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '-Kf7zyb_cl', - index: 'a2', - seed: 1128101984, - }, - Yt58QnzSDS: { - type: 'shape', - xywh: '[35.38967746153219,889.0061163075773,1377.3637475434764,956.1179616060846]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 12, - strokeColor: '--affine-palette-line-blue', - strokeStyle: 'solid', - roughness: 1.4, - id: 'Yt58QnzSDS', - index: 'a3', - seed: 1181577381, - color: '--affine-palette-line-black', - }, - sbXl1YdCvN: { - type: 'shape', - xywh: '[1458.1848048581924,889.0061163075773,1377.3637475434764,956.1179616060846]', - rotate: 0, - shapeType: 'rect', - shapeStyle: 'General', - radius: 0.1, - filled: true, - fillColor: '--affine-palette-shape-white', - strokeWidth: 12, - strokeColor: '--affine-palette-line-green', - strokeStyle: 'solid', - roughness: 1.4, - id: 'sbXl1YdCvN', - index: 'a4', - seed: 286363176, - color: '--affine-palette-line-black', - }, - q6NpeM_Yd2: { - type: 'text', - xywh: '[1530.586513438047,-111.28278638089695,286,70]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Weakness', - }, - ], - }, - color: '--affine-palette-line-tangerine', - fontSize: 64, - fontFamily: 'blocksuite:surface:OrelegaOne', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'q6NpeM_Yd2', - index: 'a5', - seed: 2036357724, - }, - gN_6dVQFGo: { - type: 'text', - xywh: '[1530.586513438047,942.2483286080626,192,70]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Threat', - }, - ], - }, - color: '--affine-palette-line-green', - fontSize: 64, - fontFamily: 'blocksuite:surface:OrelegaOne', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'gN_6dVQFGo', - index: 'a6', - seed: 956888226, - }, - 'wl5i92-3-s': { - type: 'text', - xywh: '[99.20642280085835,947.2550902187222,244.9375,65]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Strength', - }, - ], - }, - color: '--affine-palette-line-blue', - fontSize: 64, - fontFamily: 'blocksuite:surface:OrelegaOne', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'wl5i92-3-s', - index: 'a7', - seed: 1007622904, - }, - gE3bvRFPYF: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - '8hAds6Chqq': true, - HeQWoVPz0T: true, - '-Kf7zyb_cl': true, - Yt58QnzSDS: true, - sbXl1YdCvN: true, - q6NpeM_Yd2: true, - gN_6dVQFGo: true, - 'wl5i92-3-s': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 1', - }, - ], - }, - id: 'gE3bvRFPYF', - index: 'Zy', - seed: 1779472136, - }, - 'Uot8IEGH-H': { - type: 'text', - xywh: '[-970.2466233371582,-25.919600380301446,782,380]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - 'A SWOT template is a framework used to analyze Strengths, Weaknesses, Opportunities, and Threats related to a business or project. \n\nIt typically consists of four quadrants, each dedicated to one of these aspects, providing a structured approach for evaluating internal and external factors that can impact success.', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'Uot8IEGH-H', - index: 'aG', - seed: 970374725, - hasMaxWidth: true, - }, - z__aE7ILyH: { - type: 'text', - xywh: '[-637.501091718129,1382.1221134187815,329.0349341086543,72]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Move the elements into the SWOT Matrix', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 36, - fontFamily: 'blocksuite:surface:Kalam', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: 'z__aE7ILyH', - index: 'aH', - seed: 1312518426, - hasMaxWidth: true, - }, - CgIYn5rEgO: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'block:u0d5WDZH4y': true, - z__aE7ILyH: true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 2', - }, - ], - }, - id: 'CgIYn5rEgO', - index: 'aI', - seed: 1134650025, - }, - }, - }, - children: [ - { - type: 'block', - id: 'block:VYnk6sos2h', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'SWOT', - }, - ], - }, - background: '--affine-tag-purple', - xywh: '[-1037.36178702655,-111.28278638089705,932.2739438266069,1636.7354350009894]', - index: 'a0', - }, - children: [], - }, - { - type: 'block', - id: 'block:u0d5WDZH4y', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'CauTvGM2-5UBtNBAWNrqu4UH1ONwnz10xNX_aRwcaCo=', - width: 370, - height: 370, - index: 'aFzzx', - xywh: '[-336.6913164389954,1312.4286047179344,148.44469310183717,148.44469310183717]', - rotate: 347.7163247070239, - size: 21727, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:Q6yirQVvXi', - flavour: 'affine:note', - props: { - xywh: '[131.93555738860795,1134.5466639730569,364,120.33491224963538]', - background: '--affine-tag-blue', - index: 'aA', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:DRqemH7CQM', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:NXIqymwEnP', - flavour: 'affine:note', - props: { - xywh: '[131.935557388608,1300.476033361273,364,120.33491224963538]', - background: '--affine-tag-blue', - index: 'aB', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:gep6sWKQwo', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:If4JDlADt9', - flavour: 'affine:note', - props: { - xywh: '[553.9553208250791,1135.121613125235,364,120.33491224963538]', - background: '--affine-tag-blue', - index: 'aC', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:zh39gfwHWE', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:u0dktvFnAp', - flavour: 'affine:note', - props: { - xywh: '[975.9750842615504,1135.121613125235,364,120.33491224963538]', - background: '--affine-tag-blue', - index: 'aE', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:pKGrSFI2nH', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:9Dd2ICcNqO', - flavour: 'affine:note', - props: { - xywh: '[577.8971014857307,88.58243550881221,364,120.33491224963538]', - background: '--affine-tag-purple', - index: 'aF', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:1nHRjfE_7P', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:HV01I0vJZx', - flavour: 'affine:note', - props: { - xywh: '[141.84340474257664,88.58243550881221,364,120.33491224963538]', - background: '--affine-tag-purple', - index: 'a0', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:H_Yk7efraW', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:ub_LExl4Im', - flavour: 'affine:note', - props: { - xywh: '[-970.231833583536,434.71418980382526,364,107.86257662960821]', - background: '--affine-background-secondary-color', - index: 'aFV', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:3JtRLLt1C8', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:vEMOgdROpp', - flavour: 'affine:note', - props: { - xywh: '[-552.3942562499338,434.71418980382526,364,107.86257662960821]', - background: '--affine-background-secondary-color', - index: 'aFl', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:0YVqZdo2iZ', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:hQ3Z3B87eS', - flavour: 'affine:note', - props: { - xywh: '[-552.3942562499338,612.9884792320034,364,107.86257662960821]', - background: '--affine-background-secondary-color', - index: 'aFt', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:NeBI8n2Jjl', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:gC5lg3MGqy', - flavour: 'affine:note', - props: { - xywh: '[-970.2318335835361,612.9884792320034,364,107.86257662960821]', - background: '--affine-background-secondary-color', - index: 'aFx', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:M1aW0aF_lk', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:bkZLWyky3D', - flavour: 'affine:note', - props: { - xywh: '[-552.3942562499338,791.2627686601817,364,107.86257662960821]', - background: '--affine-background-secondary-color', - index: 'aFz', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:rRcd9Wtfb8', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:Gbc2tFonwO', - flavour: 'affine:note', - props: { - xywh: '[-970.2318335835361,791.2627686601817,364,107.86257662960821]', - background: '--affine-background-secondary-color', - index: 'aFzV', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:C3WoYB9JzV', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:snSexC7Z5r', - flavour: 'affine:note', - props: { - xywh: '[-552.3942562499338,969.5370580883599,364,107.86257662960821]', - background: '--affine-background-secondary-color', - index: 'aFzl', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:atkp_yv2wl', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:631RRO5lgk', - flavour: 'affine:note', - props: { - xywh: '[-970.2318335835361,969.5370580883599,364,107.86257662960821]', - background: '--affine-background-secondary-color', - index: 'aFzt', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:3t9hRCC6oY', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:2pUKbyysFr', - flavour: 'affine:note', - props: { - xywh: '[-552.3942562499338,1147.811347516538,364,107.86257662960821]', - background: '--affine-background-secondary-color', - index: 'aFzx', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:AqW5vIcxHT', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:NFka4fPmLc', - flavour: 'affine:note', - props: { - xywh: '[-970.2318335835361,1147.811347516538,364,107.86257662960821]', - background: '--affine-background-secondary-color', - index: 'aFzz', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:zK4hmYNwKS', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:q66i3z2qPY', - flavour: 'affine:note', - props: { - xywh: '[1552.8682220575324,28.414979383994478,364,120.33491224963538]', - background: '--affine-tag-orange', - index: 'aFzzV', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:o2dBUNvhWR', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:qNWsQbqvjV', - flavour: 'affine:note', - props: { - xywh: '[1964.8666786299304,28.41497938399465,364,120.33491224963538]', - background: '--affine-tag-orange', - index: 'aFzzl', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:IIHvnRAYeu', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:noIGm9yYMe', - flavour: 'affine:note', - props: { - xywh: '[1563.750616224083,1135.3390118965108,364,120.33491224963538]', - background: '--affine-tag-green', - index: 'aFzzt', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:q4opnOpmdE', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - ], - }, - }, -}; diff --git a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/user-journey.ts b/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/user-journey.ts deleted file mode 100644 index 9d70086d286d..000000000000 --- a/packages/blocks/src/page-block/edgeless/components/toolbar/template/templates/user-journey.ts +++ /dev/null @@ -1,2434 +0,0 @@ -export default { - name: 'User journey map', - type: 'template', - preview: 'https://cdn.affine.pro/templates/cover/user-journey-map.png', - assets: { - '4KbnQ1P38nUux0Tf2fdGqc909fVzGz8PJVuvuSVvnzc=': - 'https://cdn.affine.pro/templates/stickers/13.png', - 'jnpiF-qH-9NYu1WEx_asdmPfIBVf_Y5AX64yq-Jvbic=': - 'https://cdn.affine.pro/templates/stickers/1.png', - 'JwGgaM_IRE2A9RLtMk8KKbyHAz1rQ3SxnCmNt5CI0Q4=': - 'https://cdn.affine.pro/templates/stickers/2.png', - 'pmPMoebd5Z2h2cblWB_TxEw4C5VKdVc0r4BDzMu5Jrw=': - 'https://cdn.affine.pro/templates/stickers/17.png', - 'YuPd_NI22xNMhfm3GHSonetlA9pebkl-z1fsocwM638=': - 'https://cdn.affine.pro/templates/stickers/8.png', - 'GZ_5Nfi_yOnFdewbiXaHBimUOI7RxeVR10AY_R9seUs=': - 'https://cdn.affine.pro/templates/assets/GZ_5Nfi_yOnFdewbiXaHBimUOI7RxeVR10AY_R9seUs=.png', - }, - content: { - type: 'page', - meta: { - id: 'page:3j42FBTBHo', - title: '', - createDate: 1703065609359, - tags: [], - }, - blocks: { - type: 'block', - id: 'block:YV_vsyN9vv', - flavour: 'affine:page', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [ - { - type: 'block', - id: 'block:e2XMKXtoTg', - flavour: 'affine:note', - props: { - xywh: '[8925.177592713977,-465.0642042314213,364,352.9113278529278]', - background: '--affine-tag-orange', - index: 'a4x', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:YUbpNZ7bsj', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:XfX0mWzVJb', - flavour: 'affine:note', - props: { - xywh: '[9320.170746091882,-465.0642042314213,364,352.9113278529278]', - background: '--affine-tag-orange', - index: 'a4z', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:CZaEk7tHFJ', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:RPXkpZKrXm', - flavour: 'affine:note', - props: { - xywh: '[10406.243044450925,-465.0642042314213,364,352.9113278529278]', - background: '--affine-tag-red', - index: 'a5', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:D1rV1Bjkvq', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:twwNXEocJF', - flavour: 'affine:note', - props: { - xywh: '[10007.761357825666,-465.0642042314213,364,352.9113278529278]', - background: '--affine-tag-red', - index: 'a6', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:v6tCvodO9N', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:ro2FrYgKQz', - flavour: 'affine:note', - props: { - xywh: '[11464.680329172072,-465.0642042314213,364,352.9113278529278]', - background: '--affine-tag-purple', - index: 'a7', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:E3M_dEBypi', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:pk6zlzNpFG', - flavour: 'affine:note', - props: { - xywh: '[11068.617179743595,-465.0642042314213,364,352.9113278529278]', - background: '--affine-tag-purple', - index: 'a8', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:WmZ4scTAg7', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:3_vb8V81ym', - flavour: 'affine:note', - props: { - xywh: '[12530.9069935115,-465.0642042314213,364,352.9113278529278]', - background: '--affine-tag-green', - index: 'a9', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:1iA_Vnxw2B', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:pIaPsJoP1c', - flavour: 'affine:note', - props: { - xywh: '[12139.848708203097,-465.0642042314213,364,352.9113278529278]', - background: '--affine-tag-green', - index: 'aA', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:cpVFXVlIlK', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:HpSZne-aqO', - flavour: 'affine:note', - props: { - xywh: '[13597.13365785093,-465.0642042314213,364,352.9113278529278]', - background: '--affine-tag-pink', - index: 'aB', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:obu0Uqp_pf', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:GwYF8fpj_e', - flavour: 'affine:note', - props: { - xywh: '[13198.85071992075,-465.0642042314213,364,352.9113278529278]', - background: '--affine-tag-pink', - index: 'aC', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:zRKrfEw0xl', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:L4kyBfcPq2', - flavour: 'affine:note', - props: { - xywh: '[8932.966972332257,85.08909494527555,364,354.46919055639745]', - background: '--affine-tag-orange', - index: 'aD', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:uc9-dyUH4v', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:MACLKTmVEW', - flavour: 'affine:note', - props: { - xywh: '[9327.960125710162,85.08909494527589,364,354.46919055639745]', - background: '--affine-tag-orange', - index: 'aE', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:JHPz5I59ET', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:qe8kd_NTa5', - flavour: 'affine:note', - props: { - xywh: '[10414.032424069204,85.08909494527583,364,354.46919055639745]', - background: '--affine-tag-red', - index: 'aF', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:LLG9Lh4fBd', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:BVol_VIXTz', - flavour: 'affine:note', - props: { - xywh: '[10015.550737443946,85.08909494527555,364,354.46919055639745]', - background: '--affine-tag-red', - index: 'aG', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:N7ybyLeWB3', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:cSesdrgVp8', - flavour: 'affine:note', - props: { - xywh: '[11472.469708790353,85.0890949452756,364,354.46919055639745]', - background: '--affine-tag-purple', - index: 'aH', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:OTWclPPob3', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:1lScDJjNJg', - flavour: 'affine:note', - props: { - xywh: '[11076.406559361874,85.08909494527555,364,354.46919055639745]', - background: '--affine-tag-purple', - index: 'aI', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:NyEkZBXEUg', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:31VNn7C3fS', - flavour: 'affine:note', - props: { - xywh: '[12538.69637312978,85.08909494527572,364,354.46919055639745]', - background: '--affine-tag-green', - index: 'aJ', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:JeAls0-U2K', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:gKaU4gKmtv', - flavour: 'affine:note', - props: { - xywh: '[12147.638087821377,85.08909494527555,364,354.46919055639745]', - background: '--affine-tag-green', - index: 'aK', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:rVmhBLMUb8', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:2VLpFLXy-m', - flavour: 'affine:note', - props: { - xywh: '[13604.92303746921,85.08909494527589,364,354.46919055639745]', - background: '--affine-tag-pink', - index: 'aL', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:QQtP_r9a-4', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:U5DHVkcsZ-', - flavour: 'affine:note', - props: { - xywh: '[13206.64009953903,85.08909494527555,364,354.46919055639745]', - background: '--affine-tag-pink', - index: 'aM', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:q6-OmPU_Lo', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:dy2JR7NcVa', - flavour: 'affine:note', - props: { - xywh: '[8946.827251614981,649.2933179609103,739.3100589383848,351.2863377237237]', - background: '--affine-tag-orange', - index: 'aQ', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:2TIbRBL3dE', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:BpOVdScKBi', - flavour: 'affine:note', - props: { - xywh: '[10021.286083571616,543.8876181452731,737.7890700090829,333.0572729738294]', - background: '--affine-tag-red', - index: 'aR', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:J6XDwCjNqK', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:pdD1yJpa2n', - flavour: 'affine:note', - props: { - xywh: '[11090.363384969822,676.9738770772201,723.1117570744354,321.46345945383007]', - background: '--affine-tag-purple', - index: 'aT', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:10ZQt8NGJz', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:1XsfU1uGRp', - flavour: 'affine:note', - props: { - xywh: '[12147.638087821377,554.5569049101744,752.9850421649498,343.99592187925]', - background: '--affine-tag-green', - index: 'aVV', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:K2AndsI3un', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:C7rgJd6CXW', - flavour: 'affine:note', - props: { - xywh: '[13206.64009953903,674.4410436646788,748.5833627879147,325.37592383192714]', - background: '--affine-tag-pink', - index: 'a0', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:b-J-uWCDvO', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:r_fuE3OGOS', - flavour: 'affine:note', - props: { - xywh: '[8946.827251614981,1130.0022508784168,364,357.4007455314522]', - background: '--affine-tag-orange', - index: 'ah', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:_uNnZ6SRHp', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:OpVNl2g8jM', - flavour: 'affine:note', - props: { - xywh: '[9341.820404992885,1130.0022508784168,364,357.4007455314522]', - background: '--affine-tag-orange', - index: 'ai', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:LGlsE5vl2R', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:GH3QWw5rPZ', - flavour: 'affine:note', - props: { - xywh: '[10427.892703351927,1130.0022508784168,364,357.4007455314522]', - background: '--affine-tag-red', - index: 'aj', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:0JgQNZbCju', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:UL2cL4vxz2', - flavour: 'affine:note', - props: { - xywh: '[10029.41101672667,1130.0022508784168,364,357.4007455314522]', - background: '--affine-tag-red', - index: 'ak', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:Zpc9LpPgU7', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:M22c0-XAgp', - flavour: 'affine:note', - props: { - xywh: '[11486.329988073076,1130.0022508784168,364,357.4007455314522]', - background: '--affine-tag-purple', - index: 'al', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:7vMwb6mJvi', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:fXNVH6x48J', - flavour: 'affine:note', - props: { - xywh: '[11090.266838644597,1130.0022508784168,364,357.4007455314522]', - background: '--affine-tag-purple', - index: 'am', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:LJVW-76kFV', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:aSRGJCB1r5', - flavour: 'affine:note', - props: { - xywh: '[12552.556652412504,1130.0022508784168,364,357.4007455314522]', - background: '--affine-tag-green', - index: 'an', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:HxjyfnJVzd', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:oE07jO2u4h', - flavour: 'affine:note', - props: { - xywh: '[12161.4983671041,1130.0022508784168,364,357.4007455314522]', - background: '--affine-tag-green', - index: 'ao', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:4yX0yWDPXT', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:DwgRAganm9', - flavour: 'affine:note', - props: { - xywh: '[13618.783316751935,1130.0022508784168,364,357.4007455314522]', - background: '--affine-tag-pink', - index: 'ap', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:raHRcbcGNe', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:fSKwz8kgZ4', - flavour: 'affine:note', - props: { - xywh: '[13220.500378821753,1130.0022508784168,364,357.4007455314522]', - background: '--affine-tag-pink', - index: 'aq', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:h9OIh7tFg5', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:x_O4vV7HCL', - flavour: 'affine:note', - props: { - xywh: '[8938.702318459927,1656.4152414368796,364,359.1905369899068]', - background: '--affine-tag-orange', - index: 'ar', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:1q-U_mNYZ3', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:1lpgWXfTVQ', - flavour: 'affine:note', - props: { - xywh: '[9333.695471837831,1656.4152414368796,364,359.1905369899068]', - background: '--affine-tag-orange', - index: 'as', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:3ywZnorPqP', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:MaqwB2wCNL', - flavour: 'affine:note', - props: { - xywh: '[10419.767770196873,1656.4152414368796,364,359.1905369899068]', - background: '--affine-tag-red', - index: 'at', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:4pu8UF5ljp', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:ogbUz6J4xd', - flavour: 'affine:note', - props: { - xywh: '[10021.286083571616,1656.4152414368796,364,359.1905369899068]', - background: '--affine-tag-red', - index: 'au', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:oCk1SeLFMC', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:uRpuYmAxSY', - flavour: 'affine:note', - props: { - xywh: '[11478.205054918022,1656.4152414368796,364,359.1905369899068]', - background: '--affine-tag-purple', - index: 'av', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:aUsACWtbpq', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:8YyKGBr3Y2', - flavour: 'affine:note', - props: { - xywh: '[11082.141905489543,1656.4152414368796,364,359.1905369899068]', - background: '--affine-tag-purple', - index: 'aw', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:3FBT8c5Gj0', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:U5HbmqDKuX', - flavour: 'affine:note', - props: { - xywh: '[12544.43171925745,1656.4152414368796,364,359.1905369899068]', - background: '--affine-tag-green', - index: 'ax', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:wS9sMafchv', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:w-KGd0VtO-', - flavour: 'affine:note', - props: { - xywh: '[12153.373433949047,1656.4152414368796,364,359.1905369899068]', - background: '--affine-tag-green', - index: 'ay', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:KncQ6q7wUo', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:6gfc3NGgav', - flavour: 'affine:note', - props: { - xywh: '[13610.658383596881,1656.4152414368796,364,359.1905369899068]', - background: '--affine-tag-pink', - index: 'az', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:HjMCXeFXjH', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:vj0QemHLxI', - flavour: 'affine:note', - props: { - xywh: '[13212.375445666701,1656.4152414368796,364,359.1905369899068]', - background: '--affine-tag-pink', - index: 'b00', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 0, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-sticker', - }, - collapse: true, - }, - }, - children: [ - { - type: 'block', - id: 'block:GaW7zJz5R6', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:752jxVCUJJ', - flavour: 'affine:note', - props: { - xywh: '[6869.696609354102,-751.5026703511464,724.3677813340364,1264]', - background: '--affine-tag-yellow', - index: 'b01l', - displayMode: 'edgeless', - hidden: false, - edgeless: { - style: { - borderRadius: 8, - borderSize: 4, - borderStyle: 'none', - shadowType: '--affine-note-shadow-paper', - }, - collapse: false, - collapsedHeight: 838.1420799675589, - }, - }, - children: [ - { - type: 'block', - id: 'block:dCfaIixc4I', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'User Nameļ¼š', - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:mWJpc8SOrx', - flavour: 'affine:divider', - props: {}, - children: [], - }, - { - type: 'block', - id: 'block:eUU8aB-Uwf', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Age:', - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:EhWYBlA03F', - flavour: 'affine:divider', - props: {}, - children: [], - }, - { - type: 'block', - id: 'block:hB9eMkehsA', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Occupation:', - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:lx-TUv14hv', - flavour: 'affine:divider', - props: {}, - children: [], - }, - { - type: 'block', - id: 'block:vbU4vBU2KW', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'Location:', - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:2tYpV1KtCb', - flavour: 'affine:divider', - props: {}, - children: [], - }, - { - type: 'block', - id: 'block:2vgyfetl6a', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'More info:', - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:0CrTX6YHUZ', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:4GxI3M6fMW', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:osa18UAqUQ', - flavour: 'affine:divider', - props: {}, - children: [], - }, - { - type: 'block', - id: 'block:eOZMZNepTK', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'User Needs', - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:Canfzmqs3p', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: - "What high level needs does the user have that they're looking to fill with your service?", - attributes: { - italic: true, - }, - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:h-GzCs58th', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:OQDUKiRMEG', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:0uGvU2hCPa', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:KUeg1zakuR', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:KVBEkm2fAo', - flavour: 'affine:divider', - props: {}, - children: [], - }, - { - type: 'block', - id: 'block:qtK9M73lW3', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:c_5bX8x7T1', - flavour: 'affine:paragraph', - props: { - type: 'h1', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'User Mindsets', - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:aAPh5KFSGN', - flavour: 'affine:paragraph', - props: { - type: 'h6', - text: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: - "What kind of a mindset is your user in when they're finding or engaging with your service?", - }, - ], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:KbRq5Bvrw8', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:wVc8DSGpqC', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:OjxNfd3xng', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:6khSYX8pMc', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - { - type: 'block', - id: 'block:Cj0CQ-so8J', - flavour: 'affine:paragraph', - props: { - type: 'text', - text: { - '$blocksuite:internal:text$': true, - delta: [], - }, - }, - children: [], - }, - ], - }, - { - type: 'block', - id: 'block:b_5iL6X5Nx', - flavour: 'affine:surface', - props: { - elements: { - jJ7N7YzBxL: { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'block:dy2JR7NcVa', - position: [1, 0.5], - }, - target: { - id: 'block:BpOVdScKBi', - position: [0, 0.5], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'Triangle', - id: 'jJ7N7YzBxL', - index: 'aU', - seed: 2132857685, - rough: false, - xywh: '[9496.829946463788,646.0560205333768,534.8965724545177,147.8944383302353]', - }, - 'vC--A4s1bA': { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'block:BpOVdScKBi', - position: [1, 0.5], - }, - target: { - id: 'block:pdD1yJpa2n', - position: [0, 0.5], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'Triangle', - id: 'vC--A4s1bA', - index: 'aW', - seed: 1657646863, - xywh: '[10595.589488587024,646.0560205333768,492.6521411529896,147.8944383302353]', - }, - '6CKZ7Dvkdp': { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'block:pdD1yJpa2n', - position: [1, 0.5], - }, - target: { - id: 'block:1XsfU1uGRp', - position: [0, 0.5], - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'Triangle', - id: '6CKZ7Dvkdp', - index: 'aZ', - seed: 1776221218, - xywh: '[11652.104599861834,646.0560205333768,495.5334924555187,147.8944383302353]', - }, - '4d5vp_5nq6': { - type: 'connector', - mode: 2, - strokeWidth: 6, - stroke: '--affine-palette-line-grey', - strokeStyle: 'dash', - roughness: 1.4, - source: { - id: 'block:1XsfU1uGRp', - position: [1, 0.5], - }, - target: { - id: 'block:C7rgJd6CXW', - }, - controllers: [], - frontEndpointStyle: 'None', - rearEndpointStyle: 'Triangle', - id: '4d5vp_5nq6', - index: 'aa', - seed: 502130477, - xywh: '[12711.501062231026,646.0560205333768,510.7346758587963,147.8944383302353]', - }, - SoIi5coatd: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'block:C7rgJd6CXW': true, - 'block:mINH8L1Ged': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 1', - }, - ], - }, - id: 'SoIi5coatd', - index: 'ab', - seed: 51838446, - xywh: '[14744.504514889975,1246.9412384886268,1015.005620327127,477.07815480244926]', - }, - XlU_KypTPR: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'block:1XsfU1uGRp': true, - 'block:ozOGVb6Cwy': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 2', - }, - ], - }, - id: 'XlU_KypTPR', - index: 'ac', - seed: 1981802705, - xywh: '[13285.364035478788,1045.0801323812984,1031.237373587437,478.12106857187746]', - }, - 'BOzxFc-WoU': { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'block:VYi5iB-isb': true, - 'block:pdD1yJpa2n': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 3', - }, - ], - }, - id: 'BOzxFc-WoU', - index: 'ad', - seed: 825023112, - xywh: '[11846.864455123094,1386.3830086152757,1018.0154739343307,398.5803448865788]', - }, - yEvauyLkQv: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'block:XBNPLy8tDA': true, - 'block:BpOVdScKBi': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 4', - }, - ], - }, - id: 'yEvauyLkQv', - index: 'ae', - seed: 559657420, - xywh: '[10412.277312358678,1102.79807634167,966.2166668113841,420.403124611506]', - }, - OtHksQd1GM: { - type: 'group', - children: { - 'affine:surface:ymap': true, - json: { - 'block:gczQJcY6QI': true, - 'block:dy2JR7NcVa': true, - }, - }, - title: { - 'affine:surface:text': true, - delta: [ - { - insert: 'Group 5', - }, - ], - }, - id: 'OtHksQd1GM', - index: 'ag', - seed: 1335868863, - xywh: '[9004.73384234906,1386.3830086152757,955.5227209541099,421.7694313198192]', - }, - '1y_xTdcRTU': { - type: 'text', - xywh: '[6859.588353056784,-995.598443199026,742.2802274033584,198]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: - "User Journey Mapping template is a tool that visualizes a customer's experience with a product or service, from first contact to long-term engagement. It helps businesses understand user needs and pain points, revealing opportunities to improve the user experience and enhance satisfaction.", - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 24, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '400', - fontStyle: 'normal', - textAlign: 'left', - id: '1y_xTdcRTU', - index: 'b02', - seed: 667151711, - hasMaxWidth: true, - }, - '26f2OUqK4K': { - type: 'text', - xywh: '[6859.588353056784,-1061.7399714342941,294.71990966796875,45]', - rotate: 0, - text: { - 'affine:surface:text': true, - delta: [ - { - insert: 'User Journey Map', - }, - ], - }, - color: '--affine-palette-line-black', - fontSize: 32, - fontFamily: 'blocksuite:surface:Poppins', - fontWeight: '600', - fontStyle: 'normal', - textAlign: 'left', - id: '26f2OUqK4K', - index: 'b03', - seed: 1989436324, - }, - }, - }, - children: [ - { - type: 'block', - id: 'block:mINH8L1Ged', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'pmPMoebd5Z2h2cblWB_TxEw4C5VKdVc0r4BDzMu5Jrw=', - width: 0, - height: 0, - index: 'aY', - xywh: '[13739.363117513276,737.996854231183,283.4914090406118,265.002838885789]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:XBNPLy8tDA', - flavour: 'affine:image', - props: { - caption: '', - sourceId: '4KbnQ1P38nUux0Tf2fdGqc909fVzGz8PJVuvuSVvnzc=', - width: 0, - height: 0, - index: 'aS', - xywh: '[10567.808686519014,524.336993516518,250.78082845166833,234.42555703090716]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:VYi5iB-isb', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'jnpiF-qH-9NYu1WEx_asdmPfIBVf_Y5AX64yq-Jvbic=', - width: 0, - height: 0, - index: 'aV', - xywh: '[11590.88565294874,757.8745708372875,275.1610719174799,257.2157846185137]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:ozOGVb6Cwy', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'YuPd_NI22xNMhfm3GHSonetlA9pebkl-z1fsocwM638=', - width: 0, - height: 0, - index: 'aX', - xywh: '[12668.165283280094,551.7315458977927,286.5883669527295,267.89782128189927]', - rotate: 15.721381153676047, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:gczQJcY6QI', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'JwGgaM_IRE2A9RLtMk8KKbyHAz1rQ3SxnCmNt5CI0Q4=', - width: 0, - height: 0, - index: 'af', - xywh: '[9496.097336599174,812.3610904629288,209.72306839370978,196.04547697672868]', - rotate: 0, - size: -1, - }, - children: [], - }, - { - type: 'block', - id: 'block:yeMmQy4FBB', - flavour: 'affine:image', - props: { - caption: '', - sourceId: 'GZ_5Nfi_yOnFdewbiXaHBimUOI7RxeVR10AY_R9seUs=', - width: 7359, - height: 3732, - index: 'Zz', - xywh: '[7838.07291746602,-1071.186219996016,6256.4619661317,3172.865342791616]', - rotate: 0, - size: 189825, - }, - children: [], - }, - { - type: 'block', - id: 'block:zkeR00wSVf', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'User profile', - }, - ], - }, - background: '--affine-tag-orange', - xywh: '[6806.531404816287,-1111.186219996016,852.2059951529227,1695.6357928521968]', - index: 'a0', - }, - children: [], - }, - { - type: 'block', - id: 'block:A6mbqGLZFk', - flavour: 'affine:frame', - props: { - title: { - '$blocksuite:internal:text$': true, - delta: [ - { - insert: 'User journey map', - }, - ], - }, - background: '--affine-palette-transparent', - xywh: '[7798.07291746602,-1111.186219996016,6336.4619661317,3252.865342791616]', - index: 'a1', - }, - children: [], - }, - ], - }, - ], - }, - }, -};