@formicoidea/labre-core 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +297 -0
- package/src/_pkgs/affine-block-attachment/adapters/extension.ts +9 -0
- package/src/_pkgs/affine-block-attachment/adapters/index.ts +2 -0
- package/src/_pkgs/affine-block-attachment/adapters/markdown.ts +85 -0
- package/src/_pkgs/affine-block-attachment/adapters/notion-html.ts +115 -0
- package/src/_pkgs/affine-block-attachment/attachment-block.ts +533 -0
- package/src/_pkgs/affine-block-attachment/attachment-edgeless-block.ts +72 -0
- package/src/_pkgs/affine-block-attachment/attachment-service.ts +51 -0
- package/src/_pkgs/affine-block-attachment/components/rename-model.ts +95 -0
- package/src/_pkgs/affine-block-attachment/components/styles.ts +64 -0
- package/src/_pkgs/affine-block-attachment/configs/slash-menu.ts +58 -0
- package/src/_pkgs/affine-block-attachment/configs/toolbar.ts +411 -0
- package/src/_pkgs/affine-block-attachment/configs/tooltips.ts +77 -0
- package/src/_pkgs/affine-block-attachment/edgeless-clipboard-config.ts +34 -0
- package/src/_pkgs/affine-block-attachment/effects.ts +10 -0
- package/src/_pkgs/affine-block-attachment/embed.ts +305 -0
- package/src/_pkgs/affine-block-attachment/index.ts +11 -0
- package/src/_pkgs/affine-block-attachment/store.ts +17 -0
- package/src/_pkgs/affine-block-attachment/styles.ts +160 -0
- package/src/_pkgs/affine-block-attachment/utils.ts +216 -0
- package/src/_pkgs/affine-block-attachment/view.ts +51 -0
- package/src/_pkgs/affine-block-bookmark/adapters/extension.ts +13 -0
- package/src/_pkgs/affine-block-bookmark/adapters/html.ts +10 -0
- package/src/_pkgs/affine-block-bookmark/adapters/index.ts +4 -0
- package/src/_pkgs/affine-block-bookmark/adapters/markdown/index.ts +12 -0
- package/src/_pkgs/affine-block-bookmark/adapters/markdown/markdown.ts +93 -0
- package/src/_pkgs/affine-block-bookmark/adapters/markdown/preprocessor.ts +263 -0
- package/src/_pkgs/affine-block-bookmark/adapters/notion-html.ts +71 -0
- package/src/_pkgs/affine-block-bookmark/adapters/plain-text.ts +9 -0
- package/src/_pkgs/affine-block-bookmark/bookmark-block.ts +291 -0
- package/src/_pkgs/affine-block-bookmark/bookmark-edgeless-block.ts +88 -0
- package/src/_pkgs/affine-block-bookmark/commands/index.ts +2 -0
- package/src/_pkgs/affine-block-bookmark/commands/insert-bookmark.ts +23 -0
- package/src/_pkgs/affine-block-bookmark/commands/insert-link-by-quick-search.ts +79 -0
- package/src/_pkgs/affine-block-bookmark/components/bookmark-card.ts +131 -0
- package/src/_pkgs/affine-block-bookmark/components/index.ts +1 -0
- package/src/_pkgs/affine-block-bookmark/configs/slash-menu.ts +65 -0
- package/src/_pkgs/affine-block-bookmark/configs/toolbar.ts +625 -0
- package/src/_pkgs/affine-block-bookmark/configs/tooltips.ts +13 -0
- package/src/_pkgs/affine-block-bookmark/edgeless-clipboard-config.ts +29 -0
- package/src/_pkgs/affine-block-bookmark/effects.ts +12 -0
- package/src/_pkgs/affine-block-bookmark/index.ts +6 -0
- package/src/_pkgs/affine-block-bookmark/store.ts +17 -0
- package/src/_pkgs/affine-block-bookmark/styles.ts +282 -0
- package/src/_pkgs/affine-block-bookmark/utils.ts +47 -0
- package/src/_pkgs/affine-block-bookmark/view.ts +43 -0
- package/src/_pkgs/affine-block-callout/adapters/markdown.ts +207 -0
- package/src/_pkgs/affine-block-callout/callout-block.ts +132 -0
- package/src/_pkgs/affine-block-callout/callout-keymap.ts +34 -0
- package/src/_pkgs/affine-block-callout/configs/slash-menu.ts +67 -0
- package/src/_pkgs/affine-block-callout/configs/tooltips.ts +28 -0
- package/src/_pkgs/affine-block-callout/effects.ts +14 -0
- package/src/_pkgs/affine-block-callout/emoji-menu.ts +34 -0
- package/src/_pkgs/affine-block-callout/index.ts +2 -0
- package/src/_pkgs/affine-block-callout/store.ts +17 -0
- package/src/_pkgs/affine-block-callout/view.ts +30 -0
- package/src/_pkgs/affine-block-code/adapters/extension.ts +13 -0
- package/src/_pkgs/affine-block-code/adapters/html.ts +109 -0
- package/src/_pkgs/affine-block-code/adapters/index.ts +4 -0
- package/src/_pkgs/affine-block-code/adapters/markdown/index.ts +12 -0
- package/src/_pkgs/affine-block-code/adapters/markdown/markdown.ts +99 -0
- package/src/_pkgs/affine-block-code/adapters/markdown/preprocessor.ts +76 -0
- package/src/_pkgs/affine-block-code/adapters/notion-html.ts +59 -0
- package/src/_pkgs/affine-block-code/adapters/plain-text.ts +26 -0
- package/src/_pkgs/affine-block-code/clipboard/index.ts +173 -0
- package/src/_pkgs/affine-block-code/code-block-config.ts +19 -0
- package/src/_pkgs/affine-block-code/code-block-inline.ts +50 -0
- package/src/_pkgs/affine-block-code/code-block-service.ts +69 -0
- package/src/_pkgs/affine-block-code/code-block.ts +498 -0
- package/src/_pkgs/affine-block-code/code-keymap.ts +7 -0
- package/src/_pkgs/affine-block-code/code-preview-extension.ts +27 -0
- package/src/_pkgs/affine-block-code/code-toolbar/components/code-toolbar.ts +159 -0
- package/src/_pkgs/affine-block-code/code-toolbar/components/lang-button.ts +168 -0
- package/src/_pkgs/affine-block-code/code-toolbar/components/preview-button.ts +112 -0
- package/src/_pkgs/affine-block-code/code-toolbar/config.ts +284 -0
- package/src/_pkgs/affine-block-code/code-toolbar/context.ts +46 -0
- package/src/_pkgs/affine-block-code/code-toolbar/index.ts +173 -0
- package/src/_pkgs/affine-block-code/code-toolbar/utils.ts +16 -0
- package/src/_pkgs/affine-block-code/configs/slash-menu.ts +8 -0
- package/src/_pkgs/affine-block-code/effects.ts +27 -0
- package/src/_pkgs/affine-block-code/highlight/affine-code-unit.ts +122 -0
- package/src/_pkgs/affine-block-code/highlight/const.ts +6 -0
- package/src/_pkgs/affine-block-code/index.ts +10 -0
- package/src/_pkgs/affine-block-code/markdown.ts +61 -0
- package/src/_pkgs/affine-block-code/store.ts +19 -0
- package/src/_pkgs/affine-block-code/styles.ts +73 -0
- package/src/_pkgs/affine-block-code/turbo/code-layout-handler.ts +73 -0
- package/src/_pkgs/affine-block-code/turbo/code-painter.worker.ts +53 -0
- package/src/_pkgs/affine-block-code/view.ts +65 -0
- package/src/_pkgs/affine-block-data-view/block-meta/base.ts +37 -0
- package/src/_pkgs/affine-block-data-view/block-meta/index.ts +6 -0
- package/src/_pkgs/affine-block-data-view/block-meta/todo.ts +13 -0
- package/src/_pkgs/affine-block-data-view/columns/index.ts +22 -0
- package/src/_pkgs/affine-block-data-view/configs/slash-menu.ts +51 -0
- package/src/_pkgs/affine-block-data-view/configs/tooltips.ts +16 -0
- package/src/_pkgs/affine-block-data-view/data-source.ts +326 -0
- package/src/_pkgs/affine-block-data-view/data-view-block.ts +318 -0
- package/src/_pkgs/affine-block-data-view/data-view-model.ts +102 -0
- package/src/_pkgs/affine-block-data-view/data-view-spec.ts +8 -0
- package/src/_pkgs/affine-block-data-view/effects.ts +5 -0
- package/src/_pkgs/affine-block-data-view/index.ts +3 -0
- package/src/_pkgs/affine-block-data-view/store.ts +15 -0
- package/src/_pkgs/affine-block-data-view/view.ts +28 -0
- package/src/_pkgs/affine-block-data-view/views/index.ts +11 -0
- package/src/_pkgs/affine-block-database/adapters/extension.ts +13 -0
- package/src/_pkgs/affine-block-database/adapters/html.ts +105 -0
- package/src/_pkgs/affine-block-database/adapters/index.ts +4 -0
- package/src/_pkgs/affine-block-database/adapters/markdown.ts +67 -0
- package/src/_pkgs/affine-block-database/adapters/notion-html.ts +358 -0
- package/src/_pkgs/affine-block-database/adapters/plain-text.ts +48 -0
- package/src/_pkgs/affine-block-database/adapters/utils.ts +109 -0
- package/src/_pkgs/affine-block-database/block-icons.ts +45 -0
- package/src/_pkgs/affine-block-database/commands.ts +69 -0
- package/src/_pkgs/affine-block-database/components/layout.ts +69 -0
- package/src/_pkgs/affine-block-database/components/title/index.ts +199 -0
- package/src/_pkgs/affine-block-database/config.ts +6 -0
- package/src/_pkgs/affine-block-database/configs/slash-menu.ts +83 -0
- package/src/_pkgs/affine-block-database/configs/tooltips.ts +181 -0
- package/src/_pkgs/affine-block-database/context/host-context.ts +4 -0
- package/src/_pkgs/affine-block-database/context/index.ts +1 -0
- package/src/_pkgs/affine-block-database/data-source.ts +667 -0
- package/src/_pkgs/affine-block-database/database-block-styles.ts +73 -0
- package/src/_pkgs/affine-block-database/database-block.ts +468 -0
- package/src/_pkgs/affine-block-database/database-dnd-preview-block.ts +58 -0
- package/src/_pkgs/affine-block-database/detail-panel/block-renderer.ts +158 -0
- package/src/_pkgs/affine-block-database/detail-panel/note-renderer.ts +129 -0
- package/src/_pkgs/affine-block-database/effects.ts +29 -0
- package/src/_pkgs/affine-block-database/index.ts +14 -0
- package/src/_pkgs/affine-block-database/properties/converts.ts +176 -0
- package/src/_pkgs/affine-block-database/properties/created-time/cell-renderer.ts +54 -0
- package/src/_pkgs/affine-block-database/properties/created-time/define.ts +30 -0
- package/src/_pkgs/affine-block-database/properties/index.ts +29 -0
- package/src/_pkgs/affine-block-database/properties/link/cell-renderer-css.ts +99 -0
- package/src/_pkgs/affine-block-database/properties/link/cell-renderer.ts +186 -0
- package/src/_pkgs/affine-block-database/properties/link/define.ts +25 -0
- package/src/_pkgs/affine-block-database/properties/model.ts +20 -0
- package/src/_pkgs/affine-block-database/properties/rich-text/cell-renderer-css.ts +20 -0
- package/src/_pkgs/affine-block-database/properties/rich-text/cell-renderer.ts +430 -0
- package/src/_pkgs/affine-block-database/properties/rich-text/define.ts +77 -0
- package/src/_pkgs/affine-block-database/properties/title/cell-renderer-css.ts +31 -0
- package/src/_pkgs/affine-block-database/properties/title/cell-renderer.ts +23 -0
- package/src/_pkgs/affine-block-database/properties/title/define.ts +83 -0
- package/src/_pkgs/affine-block-database/properties/title/icon.ts +21 -0
- package/src/_pkgs/affine-block-database/properties/title/text.ts +319 -0
- package/src/_pkgs/affine-block-database/selection.ts +68 -0
- package/src/_pkgs/affine-block-database/service/index.ts +11 -0
- package/src/_pkgs/affine-block-database/store.ts +19 -0
- package/src/_pkgs/affine-block-database/utils/block-utils.ts +240 -0
- package/src/_pkgs/affine-block-database/utils/current-view.ts +52 -0
- package/src/_pkgs/affine-block-database/utils/title-doc.ts +30 -0
- package/src/_pkgs/affine-block-database/view.ts +51 -0
- package/src/_pkgs/affine-block-database/views/index.ts +12 -0
- package/src/_pkgs/affine-block-database/widgets/index.ts +1 -0
- package/src/_pkgs/affine-block-divider/adapters/extension.ts +13 -0
- package/src/_pkgs/affine-block-divider/adapters/html.ts +53 -0
- package/src/_pkgs/affine-block-divider/adapters/index.ts +4 -0
- package/src/_pkgs/affine-block-divider/adapters/markdown.ts +50 -0
- package/src/_pkgs/affine-block-divider/adapters/notion-html.ts +38 -0
- package/src/_pkgs/affine-block-divider/adapters/plain-text.ts +21 -0
- package/src/_pkgs/affine-block-divider/divider-block.ts +50 -0
- package/src/_pkgs/affine-block-divider/effects.ts +5 -0
- package/src/_pkgs/affine-block-divider/index.ts +2 -0
- package/src/_pkgs/affine-block-divider/markdown.ts +63 -0
- package/src/_pkgs/affine-block-divider/store.ts +17 -0
- package/src/_pkgs/affine-block-divider/styles.ts +19 -0
- package/src/_pkgs/affine-block-divider/view.ts +26 -0
- package/src/_pkgs/affine-block-edgeless-text/edgeless-clipboard-config.ts +33 -0
- package/src/_pkgs/affine-block-edgeless-text/edgeless-text-block.ts +512 -0
- package/src/_pkgs/affine-block-edgeless-text/edgeless-toolbar/config.ts +19 -0
- package/src/_pkgs/affine-block-edgeless-text/edgeless-toolbar/index.ts +1 -0
- package/src/_pkgs/affine-block-edgeless-text/effects.ts +5 -0
- package/src/_pkgs/affine-block-edgeless-text/index.ts +3 -0
- package/src/_pkgs/affine-block-edgeless-text/store.ts +14 -0
- package/src/_pkgs/affine-block-edgeless-text/view.ts +37 -0
- package/src/_pkgs/affine-block-embed/common/adapters/html.ts +66 -0
- package/src/_pkgs/affine-block-embed/common/adapters/markdown.ts +58 -0
- package/src/_pkgs/affine-block-embed/common/adapters/notion-html.ts +89 -0
- package/src/_pkgs/affine-block-embed/common/adapters/plain-text.ts +40 -0
- package/src/_pkgs/affine-block-embed/common/embed-block-element.ts +207 -0
- package/src/_pkgs/affine-block-embed/common/embed-note-content-styles.ts +85 -0
- package/src/_pkgs/affine-block-embed/common/insert-embed-card.ts +94 -0
- package/src/_pkgs/affine-block-embed/common/render-linked-doc.ts +205 -0
- package/src/_pkgs/affine-block-embed/common/to-edgeless-embed-block.ts +78 -0
- package/src/_pkgs/affine-block-embed/common/utils.ts +49 -0
- package/src/_pkgs/affine-block-embed/configs/toolbar.ts +686 -0
- package/src/_pkgs/affine-block-embed/effects.ts +96 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/adapters/extension.ts +13 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/adapters/html.ts +11 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/adapters/index.ts +4 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/adapters/markdown.ts +11 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/adapters/notion-html.ts +14 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/adapters/plain-text.ts +10 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/configs/slash-menu.ts +47 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/configs/tooltips.ts +23 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/edgeless-clipboard-config.ts +25 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/embed-edgeless-figma-block.ts +13 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/embed-figma-block.ts +126 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/embed-figma-model.ts +2 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/embed-figma-service.ts +14 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/embed-figma-spec.ts +26 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/index.ts +6 -0
- package/src/_pkgs/affine-block-embed/embed-figma-block/styles.ts +218 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/adapters/extension.ts +13 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/adapters/html.ts +11 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/adapters/index.ts +4 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/adapters/markdown.ts +10 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/adapters/notion-html.ts +14 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/adapters/plain-text.ts +10 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/configs/slash-menu.ts +47 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/configs/tooltips.ts +24 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/edgeless-clipboard-config.ts +51 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/embed-edgeless-github-block.ts +13 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/embed-github-block.ts +271 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/embed-github-model.ts +2 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/embed-github-service.ts +36 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/embed-github-spec.ts +30 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/index.ts +6 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/styles.ts +501 -0
- package/src/_pkgs/affine-block-embed/embed-github-block/utils.ts +182 -0
- package/src/_pkgs/affine-block-embed/embed-html-block/components/fullscreen-toolbar.ts +171 -0
- package/src/_pkgs/affine-block-embed/embed-html-block/configs/toolbar.ts +193 -0
- package/src/_pkgs/affine-block-embed/embed-html-block/configs/tooltips.ts +83 -0
- package/src/_pkgs/affine-block-embed/embed-html-block/edgeless-clipboard-config.ts +24 -0
- package/src/_pkgs/affine-block-embed/embed-html-block/embed-edgeless-html-block.ts +19 -0
- package/src/_pkgs/affine-block-embed/embed-html-block/embed-html-block.ts +114 -0
- package/src/_pkgs/affine-block-embed/embed-html-block/embed-html-spec.ts +19 -0
- package/src/_pkgs/affine-block-embed/embed-html-block/index.ts +8 -0
- package/src/_pkgs/affine-block-embed/embed-html-block/styles.ts +144 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/adapters/html.ts +55 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/adapters/index.ts +15 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/adapters/markdown.ts +46 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/adapters/plain-text.ts +31 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/commands/index.ts +2 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/commands/insert-embed-iframe-with-url.ts +107 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/commands/insert-empty-embed-iframe.ts +55 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/components/embed-iframe-error-card.ts +343 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/components/embed-iframe-idle-card.ts +132 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/components/embed-iframe-link-edit-popup.ts +122 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/components/embed-iframe-link-input-base.ts +160 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/components/embed-iframe-link-input-popup.ts +292 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/components/embed-iframe-loading-card.ts +193 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/configs/index.ts +2 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/configs/providers/excalidraw.ts +42 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/configs/providers/generic.ts +75 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/configs/providers/google-docs.ts +81 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/configs/providers/google-drive.ts +197 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/configs/providers/index.ts +15 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/configs/providers/miro.ts +46 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/configs/providers/spotify.ts +47 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/configs/slash-menu/slash-menu.ts +37 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/configs/slash-menu/tooltip.ts +74 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/configs/toolbar.ts +492 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/consts.ts +12 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/edgeless-clipboard-config.ts +37 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/embed-edgeless-iframe-block.ts +119 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/embed-iframe-block.ts +470 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/embed-iframe-spec.ts +23 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/index.ts +11 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/style.ts +29 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/types.ts +16 -0
- package/src/_pkgs/affine-block-embed/embed-iframe-block/utils.ts +75 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/adapters/extension.ts +13 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/adapters/html.ts +11 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/adapters/index.ts +4 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/adapters/markdown.ts +11 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/adapters/notion-html.ts +14 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/adapters/plain-text.ts +10 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/configs/slash-menu.ts +47 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/configs/tooltips.ts +30 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/edgeless-clipboard-config.ts +28 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/embed-edgeless-loom-bock.ts +13 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/embed-loom-block.ts +171 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/embed-loom-model.ts +2 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/embed-loom-service.ts +25 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/embed-loom-spec.ts +30 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/index.ts +7 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/styles.ts +210 -0
- package/src/_pkgs/affine-block-embed/embed-loom-block/utils.ts +75 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/adapters/extension.ts +13 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/adapters/html.ts +51 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/adapters/index.ts +4 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/adapters/markdown.ts +10 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/adapters/notion-html.ts +14 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/adapters/plain-text.ts +12 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/configs/slash-menu.ts +47 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/configs/tooltips.ts +24 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/edgeless-clipboard-config.ts +42 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/embed-edgeless-youtube-block.ts +13 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/embed-youtube-block.ts +225 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/embed-youtube-model.ts +2 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/embed-youtube-service.ts +35 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/embed-youtube-spec.ts +30 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/index.ts +7 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/styles.ts +241 -0
- package/src/_pkgs/affine-block-embed/embed-youtube-block/utils.ts +114 -0
- package/src/_pkgs/affine-block-embed/index.ts +19 -0
- package/src/_pkgs/affine-block-embed/store.ts +48 -0
- package/src/_pkgs/affine-block-embed/types.ts +23 -0
- package/src/_pkgs/affine-block-embed/view.ts +72 -0
- package/src/_pkgs/affine-block-embed-doc/common/render-linked-doc.ts +213 -0
- package/src/_pkgs/affine-block-embed-doc/effects.ts +37 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/adapters/extension.ts +11 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/adapters/html.ts +63 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/adapters/index.ts +3 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/adapters/markdown.ts +122 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/adapters/plain-text.ts +33 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/commands/index.ts +1 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/commands/insert-embed-linked-doc.ts +34 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/configs/slash-menu.ts +84 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/configs/toolbar.ts +513 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/configs/tooltips.ts +31 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/edgeless-clipboard-config.ts +31 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/embed-edgeless-linked-doc-block.ts +71 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/embed-linked-doc-block.ts +628 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/embed-linked-doc-spec.ts +21 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/index.ts +8 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/styles.ts +2232 -0
- package/src/_pkgs/affine-block-embed-doc/embed-linked-doc-block/utils.ts +102 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/adapters/extension.ts +11 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/adapters/html.ts +88 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/adapters/index.ts +3 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/adapters/markdown.ts +64 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/adapters/plain-text.ts +62 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/commands/index.ts +1 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/commands/insert-embed-synced-doc.ts +20 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/components/embed-synced-doc-card.ts +262 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/configs/edgeless-interaction.ts +87 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/configs/index.ts +18 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/configs/toolbar.ts +500 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/edgeless-clipboard-config.ts +27 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/embed-edgeless-synced-doc-block.ts +196 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/embed-synced-doc-block.ts +627 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/embed-synced-doc-spec.ts +20 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/index.ts +8 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/init-height-extension.ts +65 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/styles.ts +1122 -0
- package/src/_pkgs/affine-block-embed-doc/embed-synced-doc-block/utils.ts +74 -0
- package/src/_pkgs/affine-block-embed-doc/index.ts +2 -0
- package/src/_pkgs/affine-block-embed-doc/store.ts +25 -0
- package/src/_pkgs/affine-block-embed-doc/view.ts +40 -0
- package/src/_pkgs/affine-block-frame/edgeless-clipboard-config.ts +43 -0
- package/src/_pkgs/affine-block-frame/edgeless-toolbar/config.ts +9 -0
- package/src/_pkgs/affine-block-frame/edgeless-toolbar/frame-dense-menu.ts +34 -0
- package/src/_pkgs/affine-block-frame/edgeless-toolbar/frame-menu.ts +104 -0
- package/src/_pkgs/affine-block-frame/edgeless-toolbar/frame-tool-button.ts +49 -0
- package/src/_pkgs/affine-block-frame/edgeless-toolbar/index.ts +5 -0
- package/src/_pkgs/affine-block-frame/edgeless-toolbar/presentation-toolbar.ts +560 -0
- package/src/_pkgs/affine-block-frame/edgeless-toolbar/quick-tool.ts +16 -0
- package/src/_pkgs/affine-block-frame/effects.ts +47 -0
- package/src/_pkgs/affine-block-frame/frame-block.ts +208 -0
- package/src/_pkgs/affine-block-frame/frame-highlight-manager.ts +96 -0
- package/src/_pkgs/affine-block-frame/frame-manager.ts +503 -0
- package/src/_pkgs/affine-block-frame/frame-spec.ts +16 -0
- package/src/_pkgs/affine-block-frame/frame-tool.ts +108 -0
- package/src/_pkgs/affine-block-frame/frame-toolbar.ts +218 -0
- package/src/_pkgs/affine-block-frame/index.ts +9 -0
- package/src/_pkgs/affine-block-frame/present/frame-order-button.ts +82 -0
- package/src/_pkgs/affine-block-frame/present/frame-order-menu.ts +265 -0
- package/src/_pkgs/affine-block-frame/present/navigator-bg-widget.ts +126 -0
- package/src/_pkgs/affine-block-frame/present/navigator-setting-button.ts +195 -0
- package/src/_pkgs/affine-block-frame/present/present-button.ts +40 -0
- package/src/_pkgs/affine-block-frame/present-tool.ts +12 -0
- package/src/_pkgs/affine-block-frame/store.ts +14 -0
- package/src/_pkgs/affine-block-frame/view.ts +39 -0
- package/src/_pkgs/affine-block-image/adapters/extension.ts +11 -0
- package/src/_pkgs/affine-block-image/adapters/html.ts +90 -0
- package/src/_pkgs/affine-block-image/adapters/index.ts +3 -0
- package/src/_pkgs/affine-block-image/adapters/markdown.ts +66 -0
- package/src/_pkgs/affine-block-image/adapters/notion-html.ts +82 -0
- package/src/_pkgs/affine-block-image/adapters/utils.ts +89 -0
- package/src/_pkgs/affine-block-image/commands/index.ts +1 -0
- package/src/_pkgs/affine-block-image/commands/insert-images.ts +40 -0
- package/src/_pkgs/affine-block-image/components/image-block-fallback.ts +126 -0
- package/src/_pkgs/affine-block-image/components/image-selected-rect.ts +83 -0
- package/src/_pkgs/affine-block-image/components/page-image-block.ts +422 -0
- package/src/_pkgs/affine-block-image/configs/slash-menu.ts +32 -0
- package/src/_pkgs/affine-block-image/configs/toolbar.ts +174 -0
- package/src/_pkgs/affine-block-image/configs/tooltips.ts +20 -0
- package/src/_pkgs/affine-block-image/edgeless-clipboard-config.ts +30 -0
- package/src/_pkgs/affine-block-image/effects.ts +21 -0
- package/src/_pkgs/affine-block-image/image-block.ts +194 -0
- package/src/_pkgs/affine-block-image/image-edgeless-block.ts +205 -0
- package/src/_pkgs/affine-block-image/image-resize-manager.ts +105 -0
- package/src/_pkgs/affine-block-image/image-service.ts +46 -0
- package/src/_pkgs/affine-block-image/image-spec.ts +29 -0
- package/src/_pkgs/affine-block-image/index.ts +11 -0
- package/src/_pkgs/affine-block-image/preview-image/edgeless.ts +25 -0
- package/src/_pkgs/affine-block-image/preview-image/page.ts +58 -0
- package/src/_pkgs/affine-block-image/store.ts +18 -0
- package/src/_pkgs/affine-block-image/turbo/image-layout-handler.ts +71 -0
- package/src/_pkgs/affine-block-image/turbo/image-painter.worker.ts +56 -0
- package/src/_pkgs/affine-block-image/utils.ts +433 -0
- package/src/_pkgs/affine-block-image/view.ts +27 -0
- package/src/_pkgs/affine-block-latex/adapters/extension.ts +11 -0
- package/src/_pkgs/affine-block-latex/adapters/index.ts +3 -0
- package/src/_pkgs/affine-block-latex/adapters/markdown/index.ts +12 -0
- package/src/_pkgs/affine-block-latex/adapters/markdown/markdown.ts +55 -0
- package/src/_pkgs/affine-block-latex/adapters/markdown/preprocessor.ts +88 -0
- package/src/_pkgs/affine-block-latex/adapters/notion-html.ts +50 -0
- package/src/_pkgs/affine-block-latex/adapters/plain-text.ts +29 -0
- package/src/_pkgs/affine-block-latex/commands.ts +75 -0
- package/src/_pkgs/affine-block-latex/configs/slash-menu.ts +62 -0
- package/src/_pkgs/affine-block-latex/configs/tooltips.ts +41 -0
- package/src/_pkgs/affine-block-latex/effects.ts +5 -0
- package/src/_pkgs/affine-block-latex/index.ts +8 -0
- package/src/_pkgs/affine-block-latex/latex-block.ts +158 -0
- package/src/_pkgs/affine-block-latex/store.ts +19 -0
- package/src/_pkgs/affine-block-latex/styles.ts +40 -0
- package/src/_pkgs/affine-block-latex/view.ts +27 -0
- package/src/_pkgs/affine-block-list/adapters/extension.ts +13 -0
- package/src/_pkgs/affine-block-list/adapters/html.ts +203 -0
- package/src/_pkgs/affine-block-list/adapters/index.ts +4 -0
- package/src/_pkgs/affine-block-list/adapters/markdown.ts +156 -0
- package/src/_pkgs/affine-block-list/adapters/notion-html.ts +116 -0
- package/src/_pkgs/affine-block-list/adapters/plain-text.ts +27 -0
- package/src/_pkgs/affine-block-list/commands/convert-to-numbered-list.ts +28 -0
- package/src/_pkgs/affine-block-list/commands/dedent-list.ts +165 -0
- package/src/_pkgs/affine-block-list/commands/indent-list.ts +147 -0
- package/src/_pkgs/affine-block-list/commands/index.ts +5 -0
- package/src/_pkgs/affine-block-list/commands/list-to-paragraph.ts +44 -0
- package/src/_pkgs/affine-block-list/commands/split-list.ts +250 -0
- package/src/_pkgs/affine-block-list/commands/utils.ts +70 -0
- package/src/_pkgs/affine-block-list/effects.ts +11 -0
- package/src/_pkgs/affine-block-list/index.ts +6 -0
- package/src/_pkgs/affine-block-list/list-block.ts +216 -0
- package/src/_pkgs/affine-block-list/list-keymap.ts +136 -0
- package/src/_pkgs/affine-block-list/markdown.ts +91 -0
- package/src/_pkgs/affine-block-list/store.ts +17 -0
- package/src/_pkgs/affine-block-list/styles.ts +69 -0
- package/src/_pkgs/affine-block-list/turbo/list-layout-handler.ts +151 -0
- package/src/_pkgs/affine-block-list/turbo/list-painter.worker.ts +119 -0
- package/src/_pkgs/affine-block-list/utils/forward-delete.ts +75 -0
- package/src/_pkgs/affine-block-list/utils/get-list-icon.ts +78 -0
- package/src/_pkgs/affine-block-list/utils/get-number-prefix.ts +52 -0
- package/src/_pkgs/affine-block-list/view.ts +30 -0
- package/src/_pkgs/affine-block-note/adapters/html.ts +44 -0
- package/src/_pkgs/affine-block-note/adapters/index.ts +30 -0
- package/src/_pkgs/affine-block-note/adapters/markdown.ts +131 -0
- package/src/_pkgs/affine-block-note/adapters/plain-text.ts +41 -0
- package/src/_pkgs/affine-block-note/commands/block-type.ts +247 -0
- package/src/_pkgs/affine-block-note/commands/change-note-display-mode.ts +60 -0
- package/src/_pkgs/affine-block-note/commands/dedent-block-to-root.ts +38 -0
- package/src/_pkgs/affine-block-note/commands/dedent-block.ts +67 -0
- package/src/_pkgs/affine-block-note/commands/dedent-blocks-to-root.ts +43 -0
- package/src/_pkgs/affine-block-note/commands/dedent-blocks.ts +87 -0
- package/src/_pkgs/affine-block-note/commands/indent-block.ts +74 -0
- package/src/_pkgs/affine-block-note/commands/indent-blocks.ts +125 -0
- package/src/_pkgs/affine-block-note/commands/index.ts +10 -0
- package/src/_pkgs/affine-block-note/commands/select-block.ts +22 -0
- package/src/_pkgs/affine-block-note/commands/select-blocks-between.ts +53 -0
- package/src/_pkgs/affine-block-note/components/edgeless-note-background.css.ts +27 -0
- package/src/_pkgs/affine-block-note/components/edgeless-note-background.ts +182 -0
- package/src/_pkgs/affine-block-note/components/edgeless-note-border-dropdown-menu.ts +42 -0
- package/src/_pkgs/affine-block-note/components/edgeless-note-display-mode-dropdown-menu.ts +58 -0
- package/src/_pkgs/affine-block-note/components/edgeless-note-mask.ts +84 -0
- package/src/_pkgs/affine-block-note/components/edgeless-note-shadow-menu.ts +206 -0
- package/src/_pkgs/affine-block-note/components/edgeless-note-style-panel.ts +434 -0
- package/src/_pkgs/affine-block-note/components/edgeless-page-block-title.css.ts +11 -0
- package/src/_pkgs/affine-block-note/components/edgeless-page-block-title.ts +46 -0
- package/src/_pkgs/affine-block-note/components/icons.ts +74 -0
- package/src/_pkgs/affine-block-note/components/more-indicator.ts +17 -0
- package/src/_pkgs/affine-block-note/config.ts +20 -0
- package/src/_pkgs/affine-block-note/configs/slash-menu.ts +125 -0
- package/src/_pkgs/affine-block-note/configs/toolbar.ts +350 -0
- package/src/_pkgs/affine-block-note/configs/tooltips.ts +330 -0
- package/src/_pkgs/affine-block-note/edgeless-clipboard-config.ts +28 -0
- package/src/_pkgs/affine-block-note/effects.ts +29 -0
- package/src/_pkgs/affine-block-note/index.ts +9 -0
- package/src/_pkgs/affine-block-note/move-block.ts +129 -0
- package/src/_pkgs/affine-block-note/note-block.ts +34 -0
- package/src/_pkgs/affine-block-note/note-edgeless-block.css.ts +74 -0
- package/src/_pkgs/affine-block-note/note-edgeless-block.ts +499 -0
- package/src/_pkgs/affine-block-note/note-keymap.ts +611 -0
- package/src/_pkgs/affine-block-note/quick-action.ts +66 -0
- package/src/_pkgs/affine-block-note/store.ts +36 -0
- package/src/_pkgs/affine-block-note/turbo/note-layout-handler.ts +83 -0
- package/src/_pkgs/affine-block-note/turbo/note-painter.worker.ts +49 -0
- package/src/_pkgs/affine-block-note/view.ts +47 -0
- package/src/_pkgs/affine-block-paragraph/adapters/extension.ts +13 -0
- package/src/_pkgs/affine-block-paragraph/adapters/html.ts +359 -0
- package/src/_pkgs/affine-block-paragraph/adapters/index.ts +4 -0
- package/src/_pkgs/affine-block-paragraph/adapters/markdown.ts +200 -0
- package/src/_pkgs/affine-block-paragraph/adapters/notion-html.ts +239 -0
- package/src/_pkgs/affine-block-paragraph/adapters/plain-text.ts +28 -0
- package/src/_pkgs/affine-block-paragraph/commands/add-paragraph.ts +56 -0
- package/src/_pkgs/affine-block-paragraph/commands/append-paragraph.ts +30 -0
- package/src/_pkgs/affine-block-paragraph/commands/dedent-paragraph.ts +114 -0
- package/src/_pkgs/affine-block-paragraph/commands/indent-paragraph.ts +156 -0
- package/src/_pkgs/affine-block-paragraph/commands/index.ts +11 -0
- package/src/_pkgs/affine-block-paragraph/commands/split-paragraph.ts +81 -0
- package/src/_pkgs/affine-block-paragraph/effects.ts +13 -0
- package/src/_pkgs/affine-block-paragraph/heading-icon.ts +92 -0
- package/src/_pkgs/affine-block-paragraph/index.ts +6 -0
- package/src/_pkgs/affine-block-paragraph/markdown.ts +74 -0
- package/src/_pkgs/affine-block-paragraph/paragraph-block-config.ts +9 -0
- package/src/_pkgs/affine-block-paragraph/paragraph-block.ts +369 -0
- package/src/_pkgs/affine-block-paragraph/paragraph-keymap.ts +230 -0
- package/src/_pkgs/affine-block-paragraph/store.ts +17 -0
- package/src/_pkgs/affine-block-paragraph/styles.ts +158 -0
- package/src/_pkgs/affine-block-paragraph/turbo/paragraph-layout-handler.ts +106 -0
- package/src/_pkgs/affine-block-paragraph/turbo/paragraph-painter.worker.ts +115 -0
- package/src/_pkgs/affine-block-paragraph/utils/forward-delete.ts +94 -0
- package/src/_pkgs/affine-block-paragraph/utils/merge-with-prev.ts +184 -0
- package/src/_pkgs/affine-block-paragraph/view.ts +66 -0
- package/src/_pkgs/affine-block-root/adapters/extension.ts +11 -0
- package/src/_pkgs/affine-block-root/adapters/html.ts +135 -0
- package/src/_pkgs/affine-block-root/adapters/index.ts +3 -0
- package/src/_pkgs/affine-block-root/adapters/markdown.ts +36 -0
- package/src/_pkgs/affine-block-root/adapters/notion-html.ts +28 -0
- package/src/_pkgs/affine-block-root/clipboard/index.ts +2 -0
- package/src/_pkgs/affine-block-root/clipboard/page-clipboard.ts +176 -0
- package/src/_pkgs/affine-block-root/clipboard/readonly-clipboard.ts +71 -0
- package/src/_pkgs/affine-block-root/configs/toolbar.ts +398 -0
- package/src/_pkgs/affine-block-root/edgeless/clipboard/canvas.ts +117 -0
- package/src/_pkgs/affine-block-root/edgeless/clipboard/clipboard.ts +715 -0
- package/src/_pkgs/affine-block-root/edgeless/clipboard/command.ts +218 -0
- package/src/_pkgs/affine-block-root/edgeless/clipboard/utils.ts +140 -0
- package/src/_pkgs/affine-block-root/edgeless/configs/toolbar/alignment.ts +293 -0
- package/src/_pkgs/affine-block-root/edgeless/configs/toolbar/index.ts +19 -0
- package/src/_pkgs/affine-block-root/edgeless/configs/toolbar/misc.ts +369 -0
- package/src/_pkgs/affine-block-root/edgeless/configs/toolbar/more.ts +435 -0
- package/src/_pkgs/affine-block-root/edgeless/configs/toolbar/render-linked-doc.ts +96 -0
- package/src/_pkgs/affine-block-root/edgeless/configs/toolbar/utils.ts +17 -0
- package/src/_pkgs/affine-block-root/edgeless/edgeless-keyboard.ts +753 -0
- package/src/_pkgs/affine-block-root/edgeless/edgeless-root-block.ts +524 -0
- package/src/_pkgs/affine-block-root/edgeless/edgeless-root-service.ts +231 -0
- package/src/_pkgs/affine-block-root/edgeless/edgeless-root-spec.ts +11 -0
- package/src/_pkgs/affine-block-root/edgeless/index.ts +9 -0
- package/src/_pkgs/affine-block-root/edgeless/interact-extensions/clone-ext.ts +32 -0
- package/src/_pkgs/affine-block-root/edgeless/utils/clipboard-utils.ts +97 -0
- package/src/_pkgs/affine-block-root/edgeless/utils/clone-utils.ts +237 -0
- package/src/_pkgs/affine-block-root/edgeless/utils/connector.ts +34 -0
- package/src/_pkgs/affine-block-root/edgeless/utils/consts.ts +3 -0
- package/src/_pkgs/affine-block-root/edgeless/utils/crud.ts +37 -0
- package/src/_pkgs/affine-block-root/edgeless/utils/cursors.ts +2 -0
- package/src/_pkgs/affine-block-root/edgeless/utils/query.ts +104 -0
- package/src/_pkgs/affine-block-root/effects.ts +28 -0
- package/src/_pkgs/affine-block-root/index.ts +7 -0
- package/src/_pkgs/affine-block-root/keyboard/keyboard-manager.ts +163 -0
- package/src/_pkgs/affine-block-root/keyboard/keymap.ts +16 -0
- package/src/_pkgs/affine-block-root/page/page-root-block.ts +422 -0
- package/src/_pkgs/affine-block-root/preview/edgeless-root-preview-block.ts +262 -0
- package/src/_pkgs/affine-block-root/preview/preview-root-block.ts +41 -0
- package/src/_pkgs/affine-block-root/store.ts +17 -0
- package/src/_pkgs/affine-block-root/types.ts +6 -0
- package/src/_pkgs/affine-block-root/view.ts +93 -0
- package/src/_pkgs/affine-block-surface/adapters/extension.ts +21 -0
- package/src/_pkgs/affine-block-surface/adapters/html-adapter/html.ts +20 -0
- package/src/_pkgs/affine-block-surface/adapters/index.ts +1 -0
- package/src/_pkgs/affine-block-surface/adapters/markdown/element-adapter/index.ts +33 -0
- package/src/_pkgs/affine-block-surface/adapters/markdown/element-adapter/type.ts +29 -0
- package/src/_pkgs/affine-block-surface/adapters/markdown/markdown.ts +76 -0
- package/src/_pkgs/affine-block-surface/adapters/plain-text/element-adapter/index.ts +32 -0
- package/src/_pkgs/affine-block-surface/adapters/plain-text/element-adapter/type.ts +29 -0
- package/src/_pkgs/affine-block-surface/adapters/plain-text/plain-text.ts +77 -0
- package/src/_pkgs/affine-block-surface/adapters/type.ts +30 -0
- package/src/_pkgs/affine-block-surface/commands/auto-align.ts +157 -0
- package/src/_pkgs/affine-block-surface/commands/index.ts +5 -0
- package/src/_pkgs/affine-block-surface/commands/reassociate-connectors.ts +46 -0
- package/src/_pkgs/affine-block-surface/consts.ts +28 -0
- package/src/_pkgs/affine-block-surface/effects.ts +7 -0
- package/src/_pkgs/affine-block-surface/element-model/base.ts +4 -0
- package/src/_pkgs/affine-block-surface/element-model/index.ts +96 -0
- package/src/_pkgs/affine-block-surface/extensions/clipboard-config.ts +80 -0
- package/src/_pkgs/affine-block-surface/extensions/crud-extension.ts +181 -0
- package/src/_pkgs/affine-block-surface/extensions/dom-element-renderer.ts +30 -0
- package/src/_pkgs/affine-block-surface/extensions/edit-props-middleware-builder.ts +26 -0
- package/src/_pkgs/affine-block-surface/extensions/element-renderer.ts +31 -0
- package/src/_pkgs/affine-block-surface/extensions/export-manager/export-manager.ts +559 -0
- package/src/_pkgs/affine-block-surface/extensions/export-manager/file-exporter.ts +81 -0
- package/src/_pkgs/affine-block-surface/extensions/export-manager/index.ts +1 -0
- package/src/_pkgs/affine-block-surface/extensions/index.ts +9 -0
- package/src/_pkgs/affine-block-surface/extensions/legacy-slot-extension.ts +39 -0
- package/src/_pkgs/affine-block-surface/extensions/query.ts +15 -0
- package/src/_pkgs/affine-block-surface/extensions/surface-middleware.ts +23 -0
- package/src/_pkgs/affine-block-surface/index.ts +54 -0
- package/src/_pkgs/affine-block-surface/renderer/canvas-renderer.ts +472 -0
- package/src/_pkgs/affine-block-surface/renderer/dom-elements/index.ts +31 -0
- package/src/_pkgs/affine-block-surface/renderer/dom-renderer.ts +710 -0
- package/src/_pkgs/affine-block-surface/renderer/elements/index.ts +23 -0
- package/src/_pkgs/affine-block-surface/renderer/elements/type.ts +6 -0
- package/src/_pkgs/affine-block-surface/renderer/overlay.ts +57 -0
- package/src/_pkgs/affine-block-surface/renderer/tool-overlay.ts +44 -0
- package/src/_pkgs/affine-block-surface/store.ts +17 -0
- package/src/_pkgs/affine-block-surface/surface-block-void.ts +16 -0
- package/src/_pkgs/affine-block-surface/surface-block.ts +255 -0
- package/src/_pkgs/affine-block-surface/surface-model.ts +69 -0
- package/src/_pkgs/affine-block-surface/surface-transformer.ts +115 -0
- package/src/_pkgs/affine-block-surface/tool/default-tool.ts +374 -0
- package/src/_pkgs/affine-block-surface/tool/panning-utils.ts +46 -0
- package/src/_pkgs/affine-block-surface/utils/a-star.ts +299 -0
- package/src/_pkgs/affine-block-surface/utils/font.ts +47 -0
- package/src/_pkgs/affine-block-surface/utils/get-bg-grip-gap.ts +10 -0
- package/src/_pkgs/affine-block-surface/utils/get-last-props-key.ts +29 -0
- package/src/_pkgs/affine-block-surface/utils/get-surface-block.ts +16 -0
- package/src/_pkgs/affine-block-surface/utils/graph.ts +151 -0
- package/src/_pkgs/affine-block-surface/utils/index.ts +38 -0
- package/src/_pkgs/affine-block-surface/utils/path-data-parser/LICENSE +21 -0
- package/src/_pkgs/affine-block-surface/utils/path-data-parser/absolutize.ts +117 -0
- package/src/_pkgs/affine-block-surface/utils/path-data-parser/normalize.ts +280 -0
- package/src/_pkgs/affine-block-surface/utils/path-data-parser/parser.ts +153 -0
- package/src/_pkgs/affine-block-surface/utils/points-on-curve/LICENSE +21 -0
- package/src/_pkgs/affine-block-surface/utils/points-on-curve/curve-to-bezier.ts +51 -0
- package/src/_pkgs/affine-block-surface/utils/points-on-curve/index.ts +163 -0
- package/src/_pkgs/affine-block-surface/utils/points-on-path/LICENSE +21 -0
- package/src/_pkgs/affine-block-surface/utils/points-on-path/index.ts +77 -0
- package/src/_pkgs/affine-block-surface/utils/priority-queue.ts +85 -0
- package/src/_pkgs/affine-block-surface/utils/rough/LICENSE +21 -0
- package/src/_pkgs/affine-block-surface/utils/rough/canvas.ts +214 -0
- package/src/_pkgs/affine-block-surface/utils/rough/core.ts +93 -0
- package/src/_pkgs/affine-block-surface/utils/rough/fillers/dashed-filler.ts +62 -0
- package/src/_pkgs/affine-block-surface/utils/rough/fillers/dot-filler.ts +50 -0
- package/src/_pkgs/affine-block-surface/utils/rough/fillers/filler-interface.ts +25 -0
- package/src/_pkgs/affine-block-surface/utils/rough/fillers/filler.ts +54 -0
- package/src/_pkgs/affine-block-surface/utils/rough/fillers/hachure-filler.ts +38 -0
- package/src/_pkgs/affine-block-surface/utils/rough/fillers/hatch-filler.ts +13 -0
- package/src/_pkgs/affine-block-surface/utils/rough/fillers/scan-line-hachure.ts +152 -0
- package/src/_pkgs/affine-block-surface/utils/rough/fillers/zigzag-filler.ts +31 -0
- package/src/_pkgs/affine-block-surface/utils/rough/fillers/zigzag-line-filler.ts +64 -0
- package/src/_pkgs/affine-block-surface/utils/rough/generator.ts +340 -0
- package/src/_pkgs/affine-block-surface/utils/rough/geometry.ts +43 -0
- package/src/_pkgs/affine-block-surface/utils/rough/math.ts +21 -0
- package/src/_pkgs/affine-block-surface/utils/rough/renderer.ts +742 -0
- package/src/_pkgs/affine-block-surface/utils/rough/rough.ts +22 -0
- package/src/_pkgs/affine-block-surface/utils/rough/svg.ts +182 -0
- package/src/_pkgs/affine-block-surface/utils/sort.ts +93 -0
- package/src/_pkgs/affine-block-surface/utils/update-xywh.ts +82 -0
- package/src/_pkgs/affine-block-surface/view.ts +45 -0
- package/src/_pkgs/affine-block-surface-ref/commands.ts +60 -0
- package/src/_pkgs/affine-block-surface-ref/components/index.ts +2 -0
- package/src/_pkgs/affine-block-surface-ref/components/placeholder.ts +131 -0
- package/src/_pkgs/affine-block-surface-ref/components/surface-ref-toolbar-title.ts +76 -0
- package/src/_pkgs/affine-block-surface-ref/configs/slash-menu.ts +164 -0
- package/src/_pkgs/affine-block-surface-ref/configs/toolbar.ts +100 -0
- package/src/_pkgs/affine-block-surface-ref/configs/tooltips.ts +111 -0
- package/src/_pkgs/affine-block-surface-ref/effects.ts +20 -0
- package/src/_pkgs/affine-block-surface-ref/icons.ts +211 -0
- package/src/_pkgs/affine-block-surface-ref/index.ts +3 -0
- package/src/_pkgs/affine-block-surface-ref/portal/generic-block.ts +82 -0
- package/src/_pkgs/affine-block-surface-ref/portal/note.ts +169 -0
- package/src/_pkgs/affine-block-surface-ref/store.ts +14 -0
- package/src/_pkgs/affine-block-surface-ref/surface-ref-block-edgeless.ts +80 -0
- package/src/_pkgs/affine-block-surface-ref/surface-ref-block.ts +511 -0
- package/src/_pkgs/affine-block-surface-ref/utils.ts +152 -0
- package/src/_pkgs/affine-block-surface-ref/view.ts +49 -0
- package/src/_pkgs/affine-block-table/adapters/extension.ts +13 -0
- package/src/_pkgs/affine-block-table/adapters/html.ts +129 -0
- package/src/_pkgs/affine-block-table/adapters/index.ts +5 -0
- package/src/_pkgs/affine-block-table/adapters/markdown.ts +82 -0
- package/src/_pkgs/affine-block-table/adapters/notion-html.ts +21 -0
- package/src/_pkgs/affine-block-table/adapters/plain-text.ts +79 -0
- package/src/_pkgs/affine-block-table/adapters/utils.ts +212 -0
- package/src/_pkgs/affine-block-table/add-button-css.ts +99 -0
- package/src/_pkgs/affine-block-table/add-button.ts +330 -0
- package/src/_pkgs/affine-block-table/color.ts +45 -0
- package/src/_pkgs/affine-block-table/commands.ts +52 -0
- package/src/_pkgs/affine-block-table/configs/slash-menu.ts +44 -0
- package/src/_pkgs/affine-block-table/configs/tooltips.ts +68 -0
- package/src/_pkgs/affine-block-table/consts.ts +4 -0
- package/src/_pkgs/affine-block-table/effects.ts +11 -0
- package/src/_pkgs/affine-block-table/index.ts +4 -0
- package/src/_pkgs/affine-block-table/selection-controller.ts +527 -0
- package/src/_pkgs/affine-block-table/selection-layer.ts +112 -0
- package/src/_pkgs/affine-block-table/selection-schema.ts +112 -0
- package/src/_pkgs/affine-block-table/store.ts +19 -0
- package/src/_pkgs/affine-block-table/table-block-css.ts +40 -0
- package/src/_pkgs/affine-block-table/table-block.ts +209 -0
- package/src/_pkgs/affine-block-table/table-cell-css.ts +154 -0
- package/src/_pkgs/affine-block-table/table-cell.ts +866 -0
- package/src/_pkgs/affine-block-table/table-data-manager.ts +382 -0
- package/src/_pkgs/affine-block-table/utils.ts +6 -0
- package/src/_pkgs/affine-block-table/view.ts +29 -0
- package/src/_pkgs/affine-components/block-selection/index.ts +69 -0
- package/src/_pkgs/affine-components/block-zero-width/index.ts +59 -0
- package/src/_pkgs/affine-components/caption/block-caption.ts +188 -0
- package/src/_pkgs/affine-components/caption/captioned-block-component.ts +82 -0
- package/src/_pkgs/affine-components/caption/index.ts +10 -0
- package/src/_pkgs/affine-components/caption/styles.ts +18 -0
- package/src/_pkgs/affine-components/card-style-dropdown-menu/dropdown-menu.ts +118 -0
- package/src/_pkgs/affine-components/card-style-dropdown-menu/index.ts +10 -0
- package/src/_pkgs/affine-components/citation/citation.ts +167 -0
- package/src/_pkgs/affine-components/citation/index.ts +7 -0
- package/src/_pkgs/affine-components/color-picker/button.ts +207 -0
- package/src/_pkgs/affine-components/color-picker/color-panel.ts +260 -0
- package/src/_pkgs/affine-components/color-picker/color-picker.ts +677 -0
- package/src/_pkgs/affine-components/color-picker/consts.ts +25 -0
- package/src/_pkgs/affine-components/color-picker/custom-button.ts +69 -0
- package/src/_pkgs/affine-components/color-picker/icons.ts +71 -0
- package/src/_pkgs/affine-components/color-picker/index.ts +41 -0
- package/src/_pkgs/affine-components/color-picker/styles.ts +308 -0
- package/src/_pkgs/affine-components/color-picker/types.ts +53 -0
- package/src/_pkgs/affine-components/color-picker/utils.ts +368 -0
- package/src/_pkgs/affine-components/context-menu/button.ts +302 -0
- package/src/_pkgs/affine-components/context-menu/dynamic.ts +15 -0
- package/src/_pkgs/affine-components/context-menu/focusable.ts +18 -0
- package/src/_pkgs/affine-components/context-menu/group.ts +35 -0
- package/src/_pkgs/affine-components/context-menu/index.ts +30 -0
- package/src/_pkgs/affine-components/context-menu/input.ts +254 -0
- package/src/_pkgs/affine-components/context-menu/item.ts +12 -0
- package/src/_pkgs/affine-components/context-menu/menu-all.ts +14 -0
- package/src/_pkgs/affine-components/context-menu/menu-divider.ts +50 -0
- package/src/_pkgs/affine-components/context-menu/menu-renderer.ts +574 -0
- package/src/_pkgs/affine-components/context-menu/menu.ts +170 -0
- package/src/_pkgs/affine-components/context-menu/sub-menu.ts +194 -0
- package/src/_pkgs/affine-components/context-menu/types.ts +21 -0
- package/src/_pkgs/affine-components/date-picker/date-picker.ts +626 -0
- package/src/_pkgs/affine-components/date-picker/icons.ts +11 -0
- package/src/_pkgs/affine-components/date-picker/index.ts +7 -0
- package/src/_pkgs/affine-components/date-picker/style.ts +309 -0
- package/src/_pkgs/affine-components/date-picker/utils.ts +68 -0
- package/src/_pkgs/affine-components/drop-indicator/drop-indicator.ts +51 -0
- package/src/_pkgs/affine-components/drop-indicator/file-drop-manager.ts +300 -0
- package/src/_pkgs/affine-components/drop-indicator/index.ts +13 -0
- package/src/_pkgs/affine-components/edgeless-line-styles-panel/index.ts +7 -0
- package/src/_pkgs/affine-components/edgeless-line-styles-panel/line-styles-panel.ts +113 -0
- package/src/_pkgs/affine-components/edgeless-line-width-panel/index.ts +7 -0
- package/src/_pkgs/affine-components/edgeless-line-width-panel/line-width-panel.ts +50 -0
- package/src/_pkgs/affine-components/edgeless-shape-color-picker/color-picker.ts +318 -0
- package/src/_pkgs/affine-components/edgeless-shape-color-picker/index.ts +10 -0
- package/src/_pkgs/affine-components/embed-card-modal/embed-card-create-modal.ts +218 -0
- package/src/_pkgs/affine-components/embed-card-modal/embed-card-edit-modal.ts +468 -0
- package/src/_pkgs/affine-components/embed-card-modal/index.ts +10 -0
- package/src/_pkgs/affine-components/embed-card-modal/styles.ts +131 -0
- package/src/_pkgs/affine-components/filterable-list/index.ts +259 -0
- package/src/_pkgs/affine-components/filterable-list/styles.ts +109 -0
- package/src/_pkgs/affine-components/filterable-list/types.ts +16 -0
- package/src/_pkgs/affine-components/highlight-dropdown-menu/dropdown-menu.ts +123 -0
- package/src/_pkgs/affine-components/highlight-dropdown-menu/highlight-duotone-icon.ts +23 -0
- package/src/_pkgs/affine-components/highlight-dropdown-menu/index.ts +16 -0
- package/src/_pkgs/affine-components/highlight-dropdown-menu/text-duotone-icon.ts +26 -0
- package/src/_pkgs/affine-components/hover/controller.ts +201 -0
- package/src/_pkgs/affine-components/hover/index.ts +3 -0
- package/src/_pkgs/affine-components/hover/middlewares/basic.ts +79 -0
- package/src/_pkgs/affine-components/hover/middlewares/safe-area.ts +361 -0
- package/src/_pkgs/affine-components/hover/types.ts +65 -0
- package/src/_pkgs/affine-components/hover/when-hover.ts +144 -0
- package/src/_pkgs/affine-components/icon-button/index.ts +242 -0
- package/src/_pkgs/affine-components/icons/ai.ts +103 -0
- package/src/_pkgs/affine-components/icons/file-icons-rc.ts +173 -0
- package/src/_pkgs/affine-components/icons/file-icons.ts +105 -0
- package/src/_pkgs/affine-components/icons/import-export.ts +110 -0
- package/src/_pkgs/affine-components/icons/index.ts +10 -0
- package/src/_pkgs/affine-components/icons/list.ts +39 -0
- package/src/_pkgs/affine-components/icons/loading.ts +47 -0
- package/src/_pkgs/affine-components/icons/misc.ts +59 -0
- package/src/_pkgs/affine-components/icons/tags.ts +6 -0
- package/src/_pkgs/affine-components/icons/text.ts +856 -0
- package/src/_pkgs/affine-components/icons/utils.ts +12 -0
- package/src/_pkgs/affine-components/index.ts +1 -0
- package/src/_pkgs/affine-components/link-preview/index.ts +7 -0
- package/src/_pkgs/affine-components/link-preview/link.ts +65 -0
- package/src/_pkgs/affine-components/linked-doc-title/doc-title.ts +61 -0
- package/src/_pkgs/affine-components/linked-doc-title/index.ts +7 -0
- package/src/_pkgs/affine-components/notification/index.ts +1 -0
- package/src/_pkgs/affine-components/notification/linked-doc.ts +45 -0
- package/src/_pkgs/affine-components/open-doc-dropdown-menu/dropdown-menu.ts +131 -0
- package/src/_pkgs/affine-components/open-doc-dropdown-menu/index.ts +7 -0
- package/src/_pkgs/affine-components/peek/commands.ts +47 -0
- package/src/_pkgs/affine-components/peek/controller.ts +31 -0
- package/src/_pkgs/affine-components/peek/index.ts +8 -0
- package/src/_pkgs/affine-components/peek/peekable.ts +137 -0
- package/src/_pkgs/affine-components/peek/service.ts +16 -0
- package/src/_pkgs/affine-components/peek/type.ts +70 -0
- package/src/_pkgs/affine-components/portal/helper.ts +225 -0
- package/src/_pkgs/affine-components/portal/index.ts +9 -0
- package/src/_pkgs/affine-components/portal/portal.ts +60 -0
- package/src/_pkgs/affine-components/portal/types.ts +82 -0
- package/src/_pkgs/affine-components/resource/index.ts +8 -0
- package/src/_pkgs/affine-components/resource/resource.ts +230 -0
- package/src/_pkgs/affine-components/resource/status.ts +165 -0
- package/src/_pkgs/affine-components/size-dropdown-menu/dropdown-menu.ts +211 -0
- package/src/_pkgs/affine-components/size-dropdown-menu/index.ts +7 -0
- package/src/_pkgs/affine-components/slider/index.ts +6 -0
- package/src/_pkgs/affine-components/slider/slider.ts +159 -0
- package/src/_pkgs/affine-components/slider/styles.ts +79 -0
- package/src/_pkgs/affine-components/slider/types.ts +22 -0
- package/src/_pkgs/affine-components/slider/utils.ts +10 -0
- package/src/_pkgs/affine-components/smooth-corner/index.ts +184 -0
- package/src/_pkgs/affine-components/toast/create.ts +39 -0
- package/src/_pkgs/affine-components/toast/html-to-element.ts +19 -0
- package/src/_pkgs/affine-components/toast/index.ts +1 -0
- package/src/_pkgs/affine-components/toast/toast.ts +80 -0
- package/src/_pkgs/affine-components/toggle-button/index.ts +7 -0
- package/src/_pkgs/affine-components/toggle-button/toggle-button.ts +97 -0
- package/src/_pkgs/affine-components/toggle-switch/index.ts +88 -0
- package/src/_pkgs/affine-components/toolbar/chevron-down.ts +7 -0
- package/src/_pkgs/affine-components/toolbar/config.ts +7 -0
- package/src/_pkgs/affine-components/toolbar/icon-button.ts +220 -0
- package/src/_pkgs/affine-components/toolbar/index.ts +48 -0
- package/src/_pkgs/affine-components/toolbar/menu-button.ts +242 -0
- package/src/_pkgs/affine-components/toolbar/menu-context.ts +30 -0
- package/src/_pkgs/affine-components/toolbar/separator.ts +39 -0
- package/src/_pkgs/affine-components/toolbar/styles.ts +39 -0
- package/src/_pkgs/affine-components/toolbar/toolbar.ts +52 -0
- package/src/_pkgs/affine-components/toolbar/tooltip.ts +328 -0
- package/src/_pkgs/affine-components/toolbar/types.ts +39 -0
- package/src/_pkgs/affine-components/toolbar/utils.ts +120 -0
- package/src/_pkgs/affine-components/tooltip-content-with-shortcut/index.ts +86 -0
- package/src/_pkgs/affine-components/view-dropdown-menu/dropdown-menu.ts +86 -0
- package/src/_pkgs/affine-components/view-dropdown-menu/index.ts +7 -0
- package/src/_pkgs/affine-ext-loader/base-provider.ts +69 -0
- package/src/_pkgs/affine-ext-loader/index.ts +4 -0
- package/src/_pkgs/affine-ext-loader/manager.ts +146 -0
- package/src/_pkgs/affine-ext-loader/store-manager.ts +47 -0
- package/src/_pkgs/affine-ext-loader/store-provider.ts +41 -0
- package/src/_pkgs/affine-ext-loader/view-manager.ts +49 -0
- package/src/_pkgs/affine-ext-loader/view-provider.ts +129 -0
- package/src/_pkgs/affine-foundation/clipboard.ts +65 -0
- package/src/_pkgs/affine-foundation/effects.ts +70 -0
- package/src/_pkgs/affine-foundation/index.ts +1 -0
- package/src/_pkgs/affine-foundation/store.ts +54 -0
- package/src/_pkgs/affine-foundation/view.ts +108 -0
- package/src/_pkgs/affine-fragment-adapter-panel/adapter-panel.ts +177 -0
- package/src/_pkgs/affine-fragment-adapter-panel/body/adapter-panel-body.ts +216 -0
- package/src/_pkgs/affine-fragment-adapter-panel/config.ts +28 -0
- package/src/_pkgs/affine-fragment-adapter-panel/effects.ts +17 -0
- package/src/_pkgs/affine-fragment-adapter-panel/header/adapter-menu.ts +86 -0
- package/src/_pkgs/affine-fragment-adapter-panel/header/adapter-panel-header.ts +119 -0
- package/src/_pkgs/affine-fragment-adapter-panel/index.ts +4 -0
- package/src/_pkgs/affine-fragment-adapter-panel/view.ts +12 -0
- package/src/_pkgs/affine-fragment-doc-title/doc-title.ts +241 -0
- package/src/_pkgs/affine-fragment-doc-title/effects.ts +11 -0
- package/src/_pkgs/affine-fragment-doc-title/index.ts +2 -0
- package/src/_pkgs/affine-fragment-doc-title/utils.ts +11 -0
- package/src/_pkgs/affine-fragment-doc-title/view.ts +12 -0
- package/src/_pkgs/affine-fragment-frame-panel/body/frame-panel-body.ts +436 -0
- package/src/_pkgs/affine-fragment-frame-panel/card/frame-card-title-editor.ts +126 -0
- package/src/_pkgs/affine-fragment-frame-panel/card/frame-card-title.ts +151 -0
- package/src/_pkgs/affine-fragment-frame-panel/card/frame-card.ts +254 -0
- package/src/_pkgs/affine-fragment-frame-panel/card/frame-preview.ts +263 -0
- package/src/_pkgs/affine-fragment-frame-panel/effects.ts +34 -0
- package/src/_pkgs/affine-fragment-frame-panel/frame-panel.ts +92 -0
- package/src/_pkgs/affine-fragment-frame-panel/header/frame-panel-header.ts +248 -0
- package/src/_pkgs/affine-fragment-frame-panel/header/frames-setting-menu.ts +219 -0
- package/src/_pkgs/affine-fragment-frame-panel/index.ts +1 -0
- package/src/_pkgs/affine-fragment-frame-panel/utils/drag.ts +156 -0
- package/src/_pkgs/affine-fragment-frame-panel/view.ts +12 -0
- package/src/_pkgs/affine-fragment-outline/body/outline-notice.css.ts +86 -0
- package/src/_pkgs/affine-fragment-outline/body/outline-notice.ts +94 -0
- package/src/_pkgs/affine-fragment-outline/body/outline-panel-body.css.ts +62 -0
- package/src/_pkgs/affine-fragment-outline/body/outline-panel-body.ts +481 -0
- package/src/_pkgs/affine-fragment-outline/card/outline-card.css.ts +166 -0
- package/src/_pkgs/affine-fragment-outline/card/outline-card.ts +278 -0
- package/src/_pkgs/affine-fragment-outline/card/outline-preview.css.ts +119 -0
- package/src/_pkgs/affine-fragment-outline/card/outline-preview.ts +228 -0
- package/src/_pkgs/affine-fragment-outline/config.ts +97 -0
- package/src/_pkgs/affine-fragment-outline/effects.ts +39 -0
- package/src/_pkgs/affine-fragment-outline/header/outline-panel-header.css.ts +44 -0
- package/src/_pkgs/affine-fragment-outline/header/outline-panel-header.ts +90 -0
- package/src/_pkgs/affine-fragment-outline/header/outline-setting-menu.css.ts +47 -0
- package/src/_pkgs/affine-fragment-outline/header/outline-setting-menu.ts +47 -0
- package/src/_pkgs/affine-fragment-outline/index.ts +3 -0
- package/src/_pkgs/affine-fragment-outline/mobile-outline-panel.ts +197 -0
- package/src/_pkgs/affine-fragment-outline/outline-panel.css.ts +15 -0
- package/src/_pkgs/affine-fragment-outline/outline-panel.ts +118 -0
- package/src/_pkgs/affine-fragment-outline/outline-viewer.ts +325 -0
- package/src/_pkgs/affine-fragment-outline/utils/custom-events.ts +27 -0
- package/src/_pkgs/affine-fragment-outline/utils/drag.ts +8 -0
- package/src/_pkgs/affine-fragment-outline/utils/query.ts +72 -0
- package/src/_pkgs/affine-fragment-outline/utils/scroll.ts +201 -0
- package/src/_pkgs/affine-fragment-outline/view.ts +12 -0
- package/src/_pkgs/affine-gfx-brush/adapter/index.ts +2 -0
- package/src/_pkgs/affine-gfx-brush/adapter/markdown/index.ts +18 -0
- package/src/_pkgs/affine-gfx-brush/adapter/plain-text/index.ts +11 -0
- package/src/_pkgs/affine-gfx-brush/brush-tool.ts +200 -0
- package/src/_pkgs/affine-gfx-brush/effects.ts +20 -0
- package/src/_pkgs/affine-gfx-brush/element-renderer.ts +32 -0
- package/src/_pkgs/affine-gfx-brush/eraser-tool.ts +158 -0
- package/src/_pkgs/affine-gfx-brush/highlighter-tool.ts +179 -0
- package/src/_pkgs/affine-gfx-brush/index.ts +7 -0
- package/src/_pkgs/affine-gfx-brush/store.ts +19 -0
- package/src/_pkgs/affine-gfx-brush/toolbar/components/eraser/eraser-tool-button.ts +75 -0
- package/src/_pkgs/affine-gfx-brush/toolbar/components/eraser/icons.ts +422 -0
- package/src/_pkgs/affine-gfx-brush/toolbar/components/pen/consts.ts +29 -0
- package/src/_pkgs/affine-gfx-brush/toolbar/components/pen/icons.ts +608 -0
- package/src/_pkgs/affine-gfx-brush/toolbar/components/pen/pen-menu.ts +215 -0
- package/src/_pkgs/affine-gfx-brush/toolbar/components/pen/pen-tool-button.ts +195 -0
- package/src/_pkgs/affine-gfx-brush/toolbar/components/pen/types.ts +3 -0
- package/src/_pkgs/affine-gfx-brush/toolbar/configs/brush.ts +120 -0
- package/src/_pkgs/affine-gfx-brush/toolbar/configs/highlighter.ts +139 -0
- package/src/_pkgs/affine-gfx-brush/toolbar/configs/index.ts +2 -0
- package/src/_pkgs/affine-gfx-brush/toolbar/senior-tool.ts +15 -0
- package/src/_pkgs/affine-gfx-brush/view.ts +39 -0
- package/src/_pkgs/affine-gfx-connector/adapter/index.ts +2 -0
- package/src/_pkgs/affine-gfx-connector/adapter/markdown/index.ts +26 -0
- package/src/_pkgs/affine-gfx-connector/adapter/plain-text/index.ts +14 -0
- package/src/_pkgs/affine-gfx-connector/adapter/text.ts +23 -0
- package/src/_pkgs/affine-gfx-connector/components/connector-handle.ts +263 -0
- package/src/_pkgs/affine-gfx-connector/connector-manager.ts +1858 -0
- package/src/_pkgs/affine-gfx-connector/connector-tool.ts +279 -0
- package/src/_pkgs/affine-gfx-connector/connector-watcher.ts +190 -0
- package/src/_pkgs/affine-gfx-connector/effects.ts +26 -0
- package/src/_pkgs/affine-gfx-connector/element-renderer/connector-dom/index.ts +367 -0
- package/src/_pkgs/affine-gfx-connector/element-renderer/connector-dom.ts +11 -0
- package/src/_pkgs/affine-gfx-connector/element-renderer/index.ts +315 -0
- package/src/_pkgs/affine-gfx-connector/element-renderer/utils.ts +327 -0
- package/src/_pkgs/affine-gfx-connector/element-transform/connector-filter.ts +44 -0
- package/src/_pkgs/affine-gfx-connector/element-transform/index.ts +1 -0
- package/src/_pkgs/affine-gfx-connector/index.ts +10 -0
- package/src/_pkgs/affine-gfx-connector/store.ts +21 -0
- package/src/_pkgs/affine-gfx-connector/text/edgeless-connector-label-editor.ts +394 -0
- package/src/_pkgs/affine-gfx-connector/text/index.ts +1 -0
- package/src/_pkgs/affine-gfx-connector/text/text.ts +66 -0
- package/src/_pkgs/affine-gfx-connector/toolbar/config.ts +436 -0
- package/src/_pkgs/affine-gfx-connector/toolbar/connector-dense-menu.ts +58 -0
- package/src/_pkgs/affine-gfx-connector/toolbar/connector-menu.ts +153 -0
- package/src/_pkgs/affine-gfx-connector/toolbar/connector-tool-button.ts +79 -0
- package/src/_pkgs/affine-gfx-connector/toolbar/quick-tool.ts +15 -0
- package/src/_pkgs/affine-gfx-connector/view/index.ts +1 -0
- package/src/_pkgs/affine-gfx-connector/view/view.ts +256 -0
- package/src/_pkgs/affine-gfx-connector/view.ts +38 -0
- package/src/_pkgs/affine-gfx-group/adapter/index.ts +2 -0
- package/src/_pkgs/affine-gfx-group/adapter/markdown/index.ts +25 -0
- package/src/_pkgs/affine-gfx-group/adapter/plain-text/index.ts +14 -0
- package/src/_pkgs/affine-gfx-group/adapter/text.ts +21 -0
- package/src/_pkgs/affine-gfx-group/command/group-api.ts +134 -0
- package/src/_pkgs/affine-gfx-group/command/index.ts +1 -0
- package/src/_pkgs/affine-gfx-group/effects.ts +14 -0
- package/src/_pkgs/affine-gfx-group/element-renderer/consts.ts +6 -0
- package/src/_pkgs/affine-gfx-group/element-renderer/index.ts +67 -0
- package/src/_pkgs/affine-gfx-group/element-renderer/utils.ts +77 -0
- package/src/_pkgs/affine-gfx-group/element-view.ts +57 -0
- package/src/_pkgs/affine-gfx-group/group-watcher.ts +36 -0
- package/src/_pkgs/affine-gfx-group/index.ts +6 -0
- package/src/_pkgs/affine-gfx-group/interaction-ext.ts +45 -0
- package/src/_pkgs/affine-gfx-group/store.ts +21 -0
- package/src/_pkgs/affine-gfx-group/text/edgeless-group-title-editor.ts +189 -0
- package/src/_pkgs/affine-gfx-group/text/text.ts +33 -0
- package/src/_pkgs/affine-gfx-group/toolbar/config.ts +106 -0
- package/src/_pkgs/affine-gfx-group/view.ts +30 -0
- package/src/_pkgs/affine-gfx-link/effects.ts +5 -0
- package/src/_pkgs/affine-gfx-link/index.ts +1 -0
- package/src/_pkgs/affine-gfx-link/link-tool.ts +13 -0
- package/src/_pkgs/affine-gfx-link/toolbar/link-dense-menu.ts +32 -0
- package/src/_pkgs/affine-gfx-link/toolbar/link-tool-button.ts +96 -0
- package/src/_pkgs/affine-gfx-link/view.ts +23 -0
- package/src/_pkgs/affine-gfx-mindmap/adapter/index.ts +2 -0
- package/src/_pkgs/affine-gfx-mindmap/adapter/markdown/index.ts +69 -0
- package/src/_pkgs/affine-gfx-mindmap/adapter/plain-text/index.ts +13 -0
- package/src/_pkgs/affine-gfx-mindmap/adapter/utils.ts +65 -0
- package/src/_pkgs/affine-gfx-mindmap/effects.ts +20 -0
- package/src/_pkgs/affine-gfx-mindmap/element-renderer.ts +81 -0
- package/src/_pkgs/affine-gfx-mindmap/index.ts +8 -0
- package/src/_pkgs/affine-gfx-mindmap/indicator-overlay/index.ts +301 -0
- package/src/_pkgs/affine-gfx-mindmap/interactivity/drag-utils.ts +190 -0
- package/src/_pkgs/affine-gfx-mindmap/interactivity/index.ts +1 -0
- package/src/_pkgs/affine-gfx-mindmap/interactivity/mind-map-drag.ts +465 -0
- package/src/_pkgs/affine-gfx-mindmap/store.ts +19 -0
- package/src/_pkgs/affine-gfx-mindmap/toolbar/assets.ts +46 -0
- package/src/_pkgs/affine-gfx-mindmap/toolbar/basket-elements.ts +206 -0
- package/src/_pkgs/affine-gfx-mindmap/toolbar/config.ts +199 -0
- package/src/_pkgs/affine-gfx-mindmap/toolbar/icons.ts +619 -0
- package/src/_pkgs/affine-gfx-mindmap/toolbar/mindmap-importing-placeholder.ts +54 -0
- package/src/_pkgs/affine-gfx-mindmap/toolbar/mindmap-menu.ts +415 -0
- package/src/_pkgs/affine-gfx-mindmap/toolbar/mindmap-tool-button.ts +466 -0
- package/src/_pkgs/affine-gfx-mindmap/toolbar/senior-tool.ts +15 -0
- package/src/_pkgs/affine-gfx-mindmap/toolbar/utils/import-mindmap.ts +143 -0
- package/src/_pkgs/affine-gfx-mindmap/utils/index.ts +70 -0
- package/src/_pkgs/affine-gfx-mindmap/view/index.ts +4 -0
- package/src/_pkgs/affine-gfx-mindmap/view/layout.ts +201 -0
- package/src/_pkgs/affine-gfx-mindmap/view/style-svg.ts +680 -0
- package/src/_pkgs/affine-gfx-mindmap/view/utils.ts +692 -0
- package/src/_pkgs/affine-gfx-mindmap/view/view.ts +378 -0
- package/src/_pkgs/affine-gfx-mindmap/view.ts +36 -0
- package/src/_pkgs/affine-gfx-note/components/icons.ts +84 -0
- package/src/_pkgs/affine-gfx-note/components/note-display-mode-panel.ts +104 -0
- package/src/_pkgs/affine-gfx-note/components/note-shadow-panel.ts +144 -0
- package/src/_pkgs/affine-gfx-note/effects.ts +26 -0
- package/src/_pkgs/affine-gfx-note/index.ts +3 -0
- package/src/_pkgs/affine-gfx-note/note-tool.ts +330 -0
- package/src/_pkgs/affine-gfx-note/overlay/consts.ts +9 -0
- package/src/_pkgs/affine-gfx-note/overlay/index.ts +2 -0
- package/src/_pkgs/affine-gfx-note/overlay/overlay.ts +161 -0
- package/src/_pkgs/affine-gfx-note/toolbar/icon.ts +23 -0
- package/src/_pkgs/affine-gfx-note/toolbar/note-menu-config.ts +151 -0
- package/src/_pkgs/affine-gfx-note/toolbar/note-menu.ts +210 -0
- package/src/_pkgs/affine-gfx-note/toolbar/note-senior-button.ts +218 -0
- package/src/_pkgs/affine-gfx-note/toolbar/note-tool-button.ts +120 -0
- package/src/_pkgs/affine-gfx-note/toolbar/senior-tool.ts +11 -0
- package/src/_pkgs/affine-gfx-note/view.ts +23 -0
- package/src/_pkgs/affine-gfx-pointer/effects.ts +8 -0
- package/src/_pkgs/affine-gfx-pointer/index.ts +1 -0
- package/src/_pkgs/affine-gfx-pointer/quick-tool/default-tool-button.ts +105 -0
- package/src/_pkgs/affine-gfx-pointer/quick-tool/quick-tool.ts +12 -0
- package/src/_pkgs/affine-gfx-pointer/snap/snap-manager.ts +139 -0
- package/src/_pkgs/affine-gfx-pointer/snap/snap-overlay.ts +816 -0
- package/src/_pkgs/affine-gfx-pointer/tools/empty-tool.ts +8 -0
- package/src/_pkgs/affine-gfx-pointer/tools/index.ts +2 -0
- package/src/_pkgs/affine-gfx-pointer/tools/pan-tool.ts +110 -0
- package/src/_pkgs/affine-gfx-pointer/view.ts +30 -0
- package/src/_pkgs/affine-gfx-shape/adapter/index.ts +3 -0
- package/src/_pkgs/affine-gfx-shape/adapter/markdown/index.ts +46 -0
- package/src/_pkgs/affine-gfx-shape/adapter/plain-text/index.ts +35 -0
- package/src/_pkgs/affine-gfx-shape/adapter/utils.ts +36 -0
- package/src/_pkgs/affine-gfx-shape/components/shape-panel.ts +65 -0
- package/src/_pkgs/affine-gfx-shape/components/shape-style-panel.ts +59 -0
- package/src/_pkgs/affine-gfx-shape/consts.ts +19 -0
- package/src/_pkgs/affine-gfx-shape/draggable/index.ts +4 -0
- package/src/_pkgs/affine-gfx-shape/draggable/shape-draggable.ts +367 -0
- package/src/_pkgs/affine-gfx-shape/draggable/shape-menu.ts +212 -0
- package/src/_pkgs/affine-gfx-shape/draggable/shape-tool-button.ts +99 -0
- package/src/_pkgs/affine-gfx-shape/draggable/shape-tool-element.ts +326 -0
- package/src/_pkgs/affine-gfx-shape/draggable/utils.ts +150 -0
- package/src/_pkgs/affine-gfx-shape/effects.ts +37 -0
- package/src/_pkgs/affine-gfx-shape/element-renderer/highlighter.ts +41 -0
- package/src/_pkgs/affine-gfx-shape/element-renderer/index.ts +2 -0
- package/src/_pkgs/affine-gfx-shape/element-renderer/shape/diamond.ts +66 -0
- package/src/_pkgs/affine-gfx-shape/element-renderer/shape/ellipse.ts +59 -0
- package/src/_pkgs/affine-gfx-shape/element-renderer/shape/index.ts +185 -0
- package/src/_pkgs/affine-gfx-shape/element-renderer/shape/polygon.ts +134 -0
- package/src/_pkgs/affine-gfx-shape/element-renderer/shape/rect.ts +98 -0
- package/src/_pkgs/affine-gfx-shape/element-renderer/shape/triangle.ts +65 -0
- package/src/_pkgs/affine-gfx-shape/element-renderer/shape/utils.ts +362 -0
- package/src/_pkgs/affine-gfx-shape/element-renderer/shape-dom/index.ts +228 -0
- package/src/_pkgs/affine-gfx-shape/element-renderer/shape-dom/utils.ts +59 -0
- package/src/_pkgs/affine-gfx-shape/element-renderer/shape-dom.ts +11 -0
- package/src/_pkgs/affine-gfx-shape/element-view.ts +612 -0
- package/src/_pkgs/affine-gfx-shape/index.ts +10 -0
- package/src/_pkgs/affine-gfx-shape/overlay/diamond.ts +23 -0
- package/src/_pkgs/affine-gfx-shape/overlay/ellipse.ts +15 -0
- package/src/_pkgs/affine-gfx-shape/overlay/factory.ts +37 -0
- package/src/_pkgs/affine-gfx-shape/overlay/index.ts +5 -0
- package/src/_pkgs/affine-gfx-shape/overlay/polygon-drawing-overlay.ts +195 -0
- package/src/_pkgs/affine-gfx-shape/overlay/polygon-vertex-editing-overlay.ts +1213 -0
- package/src/_pkgs/affine-gfx-shape/overlay/polygon.ts +28 -0
- package/src/_pkgs/affine-gfx-shape/overlay/rect.ts +15 -0
- package/src/_pkgs/affine-gfx-shape/overlay/rounded-rect.ts +32 -0
- package/src/_pkgs/affine-gfx-shape/overlay/shape-overlay.ts +110 -0
- package/src/_pkgs/affine-gfx-shape/overlay/shape.ts +27 -0
- package/src/_pkgs/affine-gfx-shape/overlay/triangle.ts +22 -0
- package/src/_pkgs/affine-gfx-shape/overlay/utils.ts +59 -0
- package/src/_pkgs/affine-gfx-shape/polygon-tool.ts +430 -0
- package/src/_pkgs/affine-gfx-shape/shape-tool.ts +368 -0
- package/src/_pkgs/affine-gfx-shape/store.ts +19 -0
- package/src/_pkgs/affine-gfx-shape/text/edgeless-shape-text-editor.ts +411 -0
- package/src/_pkgs/affine-gfx-shape/text/index.ts +1 -0
- package/src/_pkgs/affine-gfx-shape/toolbar/config.ts +361 -0
- package/src/_pkgs/affine-gfx-shape/toolbar/icons.ts +299 -0
- package/src/_pkgs/affine-gfx-shape/toolbar/index.ts +4 -0
- package/src/_pkgs/affine-gfx-shape/toolbar/senior-tool.ts +15 -0
- package/src/_pkgs/affine-gfx-shape/toolbar/shape-menu-config.ts +81 -0
- package/src/_pkgs/affine-gfx-shape/view.ts +39 -0
- package/src/_pkgs/affine-gfx-template/builtin/other.ts +260 -0
- package/src/_pkgs/affine-gfx-template/contribute.ts +41 -0
- package/src/_pkgs/affine-gfx-template/effects.ts +20 -0
- package/src/_pkgs/affine-gfx-template/index.ts +7 -0
- package/src/_pkgs/affine-gfx-template/make-snapshot.ts +58 -0
- package/src/_pkgs/affine-gfx-template/services/template-middlewares.ts +344 -0
- package/src/_pkgs/affine-gfx-template/services/template.ts +432 -0
- package/src/_pkgs/affine-gfx-template/template-tool.ts +5 -0
- package/src/_pkgs/affine-gfx-template/toolbar/builtin-templates.ts +109 -0
- package/src/_pkgs/affine-gfx-template/toolbar/cards.ts +1411 -0
- package/src/_pkgs/affine-gfx-template/toolbar/overlay-scrollbar.ts +174 -0
- package/src/_pkgs/affine-gfx-template/toolbar/senior-tool.ts +15 -0
- package/src/_pkgs/affine-gfx-template/toolbar/template-loading.ts +50 -0
- package/src/_pkgs/affine-gfx-template/toolbar/template-panel.ts +517 -0
- package/src/_pkgs/affine-gfx-template/toolbar/template-tool-button.ts +225 -0
- package/src/_pkgs/affine-gfx-template/toolbar/template-type.ts +42 -0
- package/src/_pkgs/affine-gfx-template/toolbar/utils.ts +33 -0
- package/src/_pkgs/affine-gfx-template/view.ts +25 -0
- package/src/_pkgs/affine-gfx-text/adapter/index.ts +2 -0
- package/src/_pkgs/affine-gfx-text/adapter/markdown/index.ts +24 -0
- package/src/_pkgs/affine-gfx-text/adapter/plain-text/index.ts +14 -0
- package/src/_pkgs/affine-gfx-text/adapter/text.ts +22 -0
- package/src/_pkgs/affine-gfx-text/commands/index.ts +1 -0
- package/src/_pkgs/affine-gfx-text/commands/insert-edgeless-text.ts +114 -0
- package/src/_pkgs/affine-gfx-text/dblclick-add-edgeless-text.ts +52 -0
- package/src/_pkgs/affine-gfx-text/edgeless-text-editor.ts +487 -0
- package/src/_pkgs/affine-gfx-text/effects.ts +14 -0
- package/src/_pkgs/affine-gfx-text/element-renderer/index.ts +94 -0
- package/src/_pkgs/affine-gfx-text/element-renderer/utils.ts +559 -0
- package/src/_pkgs/affine-gfx-text/element-view.ts +95 -0
- package/src/_pkgs/affine-gfx-text/index.ts +7 -0
- package/src/_pkgs/affine-gfx-text/store.ts +19 -0
- package/src/_pkgs/affine-gfx-text/tool.ts +66 -0
- package/src/_pkgs/affine-gfx-text/toolbar/actions.ts +396 -0
- package/src/_pkgs/affine-gfx-text/toolbar/config.ts +56 -0
- package/src/_pkgs/affine-gfx-text/toolbar/index.ts +2 -0
- package/src/_pkgs/affine-gfx-text/toolbar/text-menu.ts +49 -0
- package/src/_pkgs/affine-gfx-text/view.ts +32 -0
- package/src/_pkgs/affine-gfx-turbo-renderer/index.ts +5 -0
- package/src/_pkgs/affine-gfx-turbo-renderer/layout/block-layout-provider.ts +29 -0
- package/src/_pkgs/affine-gfx-turbo-renderer/painter/painter.worker.ts +129 -0
- package/src/_pkgs/affine-gfx-turbo-renderer/renderer-utils.ts +222 -0
- package/src/_pkgs/affine-gfx-turbo-renderer/text-utils.ts +145 -0
- package/src/_pkgs/affine-gfx-turbo-renderer/turbo-renderer.ts +431 -0
- package/src/_pkgs/affine-gfx-turbo-renderer/types.ts +105 -0
- package/src/_pkgs/affine-inline-comment/effects.ts +11 -0
- package/src/_pkgs/affine-inline-comment/index.ts +2 -0
- package/src/_pkgs/affine-inline-comment/inline-comment-manager.ts +218 -0
- package/src/_pkgs/affine-inline-comment/inline-comment.ts +97 -0
- package/src/_pkgs/affine-inline-comment/inline-spec.ts +38 -0
- package/src/_pkgs/affine-inline-comment/utils.ts +64 -0
- package/src/_pkgs/affine-inline-comment/view.ts +22 -0
- package/src/_pkgs/affine-inline-footnote/adapters/index.ts +3 -0
- package/src/_pkgs/affine-inline-footnote/adapters/markdown/inline-delta.ts +50 -0
- package/src/_pkgs/affine-inline-footnote/adapters/markdown/markdown-inline.ts +57 -0
- package/src/_pkgs/affine-inline-footnote/adapters/markdown/preprocessor.ts +54 -0
- package/src/_pkgs/affine-inline-footnote/effects.ts +17 -0
- package/src/_pkgs/affine-inline-footnote/footnote-node/footnote-config.ts +120 -0
- package/src/_pkgs/affine-inline-footnote/footnote-node/footnote-node.ts +279 -0
- package/src/_pkgs/affine-inline-footnote/footnote-node/footnote-popup-chip.ts +74 -0
- package/src/_pkgs/affine-inline-footnote/footnote-node/footnote-popup.ts +223 -0
- package/src/_pkgs/affine-inline-footnote/index.ts +4 -0
- package/src/_pkgs/affine-inline-footnote/inline-spec.ts +32 -0
- package/src/_pkgs/affine-inline-footnote/store.ts +21 -0
- package/src/_pkgs/affine-inline-footnote/view.ts +21 -0
- package/src/_pkgs/affine-inline-latex/adapters/index.ts +3 -0
- package/src/_pkgs/affine-inline-latex/adapters/markdown/inline-delta.ts +21 -0
- package/src/_pkgs/affine-inline-latex/adapters/markdown/markdown-inline.ts +12 -0
- package/src/_pkgs/affine-inline-latex/adapters/plain-text/inline-delta.ts +21 -0
- package/src/_pkgs/affine-inline-latex/command.ts +74 -0
- package/src/_pkgs/affine-inline-latex/effects.ts +17 -0
- package/src/_pkgs/affine-inline-latex/index.ts +9 -0
- package/src/_pkgs/affine-inline-latex/inline-spec.ts +40 -0
- package/src/_pkgs/affine-inline-latex/latex-node/latex-editor-menu.ts +210 -0
- package/src/_pkgs/affine-inline-latex/latex-node/latex-editor-unit.ts +55 -0
- package/src/_pkgs/affine-inline-latex/latex-node/latex-node.ts +265 -0
- package/src/_pkgs/affine-inline-latex/markdown.ts +180 -0
- package/src/_pkgs/affine-inline-latex/store.ts +21 -0
- package/src/_pkgs/affine-inline-latex/view.ts +29 -0
- package/src/_pkgs/affine-inline-link/adapters/html/html-inline.ts +70 -0
- package/src/_pkgs/affine-inline-link/adapters/html/inline-delta.ts +25 -0
- package/src/_pkgs/affine-inline-link/adapters/index.ts +6 -0
- package/src/_pkgs/affine-inline-link/adapters/markdown/index.ts +2 -0
- package/src/_pkgs/affine-inline-link/adapters/markdown/inline-delta.ts +36 -0
- package/src/_pkgs/affine-inline-link/adapters/markdown/markdown-inline.ts +52 -0
- package/src/_pkgs/affine-inline-link/adapters/notion-html/html-inline.ts +52 -0
- package/src/_pkgs/affine-inline-link/adapters/plain-text/inline-delta.ts +25 -0
- package/src/_pkgs/affine-inline-link/command.ts +42 -0
- package/src/_pkgs/affine-inline-link/effects.ts +7 -0
- package/src/_pkgs/affine-inline-link/index.ts +6 -0
- package/src/_pkgs/affine-inline-link/inline-spec.ts +22 -0
- package/src/_pkgs/affine-inline-link/link-node/affine-link.ts +188 -0
- package/src/_pkgs/affine-inline-link/link-node/configs/toolbar.ts +365 -0
- package/src/_pkgs/affine-inline-link/link-node/index.ts +2 -0
- package/src/_pkgs/affine-inline-link/link-node/link-popup/link-popup.ts +335 -0
- package/src/_pkgs/affine-inline-link/link-node/link-popup/styles.ts +162 -0
- package/src/_pkgs/affine-inline-link/link-node/link-popup/toggle-link-popup.ts +27 -0
- package/src/_pkgs/affine-inline-link/markdown.ts +53 -0
- package/src/_pkgs/affine-inline-link/store.ts +27 -0
- package/src/_pkgs/affine-inline-link/toolbar.ts +9 -0
- package/src/_pkgs/affine-inline-link/view.ts +23 -0
- package/src/_pkgs/affine-inline-mention/affine-mention.ts +150 -0
- package/src/_pkgs/affine-inline-mention/effects.ts +11 -0
- package/src/_pkgs/affine-inline-mention/index.ts +3 -0
- package/src/_pkgs/affine-inline-mention/inline-spec.ts +34 -0
- package/src/_pkgs/affine-inline-mention/view.ts +21 -0
- package/src/_pkgs/affine-inline-preset/adapters/extensions.ts +21 -0
- package/src/_pkgs/affine-inline-preset/adapters/html/html-inline.ts +311 -0
- package/src/_pkgs/affine-inline-preset/adapters/html/inline-delta.ts +154 -0
- package/src/_pkgs/affine-inline-preset/adapters/markdown/inline-delta.ts +57 -0
- package/src/_pkgs/affine-inline-preset/adapters/markdown/markdown-inline.ts +98 -0
- package/src/_pkgs/affine-inline-preset/adapters/notion-html/html-inline.ts +256 -0
- package/src/_pkgs/affine-inline-preset/command/config.ts +138 -0
- package/src/_pkgs/affine-inline-preset/command/consts.ts +19 -0
- package/src/_pkgs/affine-inline-preset/command/delete-text.ts +81 -0
- package/src/_pkgs/affine-inline-preset/command/format-block.ts +75 -0
- package/src/_pkgs/affine-inline-preset/command/format-native.ts +53 -0
- package/src/_pkgs/affine-inline-preset/command/format-text.ts +94 -0
- package/src/_pkgs/affine-inline-preset/command/index.ts +22 -0
- package/src/_pkgs/affine-inline-preset/command/text-style.ts +110 -0
- package/src/_pkgs/affine-inline-preset/command/utils.ts +226 -0
- package/src/_pkgs/affine-inline-preset/default-inline-manager.ts +38 -0
- package/src/_pkgs/affine-inline-preset/effects.ts +11 -0
- package/src/_pkgs/affine-inline-preset/index.ts +10 -0
- package/src/_pkgs/affine-inline-preset/inline-spec.ts +118 -0
- package/src/_pkgs/affine-inline-preset/keymap/basic.ts +78 -0
- package/src/_pkgs/affine-inline-preset/keymap/bracket.ts +162 -0
- package/src/_pkgs/affine-inline-preset/keymap/format.ts +36 -0
- package/src/_pkgs/affine-inline-preset/keymap/index.ts +15 -0
- package/src/_pkgs/affine-inline-preset/markdown.ts +284 -0
- package/src/_pkgs/affine-inline-preset/nodes/affine-text.ts +35 -0
- package/src/_pkgs/affine-inline-preset/store.ts +15 -0
- package/src/_pkgs/affine-inline-preset/view.ts +25 -0
- package/src/_pkgs/affine-inline-reference/adapters/html/inline-delta.ts +42 -0
- package/src/_pkgs/affine-inline-reference/adapters/index.ts +3 -0
- package/src/_pkgs/affine-inline-reference/adapters/markdown/inline-delta.ts +42 -0
- package/src/_pkgs/affine-inline-reference/adapters/plain-text/inline-delta.ts +33 -0
- package/src/_pkgs/affine-inline-reference/effects.ts +13 -0
- package/src/_pkgs/affine-inline-reference/index.ts +5 -0
- package/src/_pkgs/affine-inline-reference/inline-spec.ts +57 -0
- package/src/_pkgs/affine-inline-reference/reference-node/configs/toolbar.ts +247 -0
- package/src/_pkgs/affine-inline-reference/reference-node/index.ts +6 -0
- package/src/_pkgs/affine-inline-reference/reference-node/reference-config.ts +53 -0
- package/src/_pkgs/affine-inline-reference/reference-node/reference-node-slots.ts +30 -0
- package/src/_pkgs/affine-inline-reference/reference-node/reference-node.ts +318 -0
- package/src/_pkgs/affine-inline-reference/reference-node/reference-popup/reference-popup.ts +282 -0
- package/src/_pkgs/affine-inline-reference/reference-node/reference-popup/toggle-reference-popup.ts +27 -0
- package/src/_pkgs/affine-inline-reference/reference-node/types.ts +15 -0
- package/src/_pkgs/affine-inline-reference/store.ts +21 -0
- package/src/_pkgs/affine-inline-reference/toolbar.ts +9 -0
- package/src/_pkgs/affine-inline-reference/utils.ts +21 -0
- package/src/_pkgs/affine-inline-reference/view.ts +25 -0
- package/src/_pkgs/affine-model/blocks/attachment/attachment-model.ts +112 -0
- package/src/_pkgs/affine-model/blocks/attachment/attachment-transformer.ts +34 -0
- package/src/_pkgs/affine-model/blocks/attachment/index.ts +2 -0
- package/src/_pkgs/affine-model/blocks/bookmark/bookmark-model.ts +81 -0
- package/src/_pkgs/affine-model/blocks/bookmark/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/callout/callout-model.ts +44 -0
- package/src/_pkgs/affine-model/blocks/callout/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/code/code-model.ts +52 -0
- package/src/_pkgs/affine-model/blocks/code/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/database/database-model.ts +43 -0
- package/src/_pkgs/affine-model/blocks/database/index.ts +2 -0
- package/src/_pkgs/affine-model/blocks/database/types.ts +23 -0
- package/src/_pkgs/affine-model/blocks/divider/divider-model.ts +24 -0
- package/src/_pkgs/affine-model/blocks/divider/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/edgeless-text/edgeless-text-model.ts +94 -0
- package/src/_pkgs/affine-model/blocks/edgeless-text/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/embed/figma/figma-model.ts +21 -0
- package/src/_pkgs/affine-model/blocks/embed/figma/figma-schema.ts +28 -0
- package/src/_pkgs/affine-model/blocks/embed/figma/index.ts +2 -0
- package/src/_pkgs/affine-model/blocks/embed/github/github-model.ts +35 -0
- package/src/_pkgs/affine-model/blocks/embed/github/github-schema.ts +37 -0
- package/src/_pkgs/affine-model/blocks/embed/github/index.ts +2 -0
- package/src/_pkgs/affine-model/blocks/embed/html/html-model.ts +17 -0
- package/src/_pkgs/affine-model/blocks/embed/html/html-schema.ts +25 -0
- package/src/_pkgs/affine-model/blocks/embed/html/index.ts +2 -0
- package/src/_pkgs/affine-model/blocks/embed/iframe/iframe-model.ts +38 -0
- package/src/_pkgs/affine-model/blocks/embed/iframe/iframe-schema.ts +17 -0
- package/src/_pkgs/affine-model/blocks/embed/iframe/index.ts +2 -0
- package/src/_pkgs/affine-model/blocks/embed/index.ts +9 -0
- package/src/_pkgs/affine-model/blocks/embed/linked-doc/index.ts +2 -0
- package/src/_pkgs/affine-model/blocks/embed/linked-doc/linked-doc-model.ts +24 -0
- package/src/_pkgs/affine-model/blocks/embed/linked-doc/linked-doc-schema.ts +30 -0
- package/src/_pkgs/affine-model/blocks/embed/loom/index.ts +2 -0
- package/src/_pkgs/affine-model/blocks/embed/loom/loom-model.ts +23 -0
- package/src/_pkgs/affine-model/blocks/embed/loom/loom-schema.ts +29 -0
- package/src/_pkgs/affine-model/blocks/embed/synced-doc/index.ts +2 -0
- package/src/_pkgs/affine-model/blocks/embed/synced-doc/synced-doc-model.ts +30 -0
- package/src/_pkgs/affine-model/blocks/embed/synced-doc/synced-doc-schema.ts +39 -0
- package/src/_pkgs/affine-model/blocks/embed/types.ts +58 -0
- package/src/_pkgs/affine-model/blocks/embed/youtube/index.ts +2 -0
- package/src/_pkgs/affine-model/blocks/embed/youtube/youtube-model.ts +26 -0
- package/src/_pkgs/affine-model/blocks/embed/youtube/youtube-schema.ts +33 -0
- package/src/_pkgs/affine-model/blocks/frame/frame-model.ts +163 -0
- package/src/_pkgs/affine-model/blocks/frame/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/image/image-model.ts +59 -0
- package/src/_pkgs/affine-model/blocks/image/image-transformer.ts +34 -0
- package/src/_pkgs/affine-model/blocks/image/index.ts +2 -0
- package/src/_pkgs/affine-model/blocks/index.ts +17 -0
- package/src/_pkgs/affine-model/blocks/latex/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/latex/latex-model.ts +47 -0
- package/src/_pkgs/affine-model/blocks/list/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/list/list-model.ts +56 -0
- package/src/_pkgs/affine-model/blocks/note/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/note/note-model.ts +167 -0
- package/src/_pkgs/affine-model/blocks/paragraph/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/paragraph/paragraph-model.ts +62 -0
- package/src/_pkgs/affine-model/blocks/root/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/root/root-block-model.ts +65 -0
- package/src/_pkgs/affine-model/blocks/surface-ref/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/surface-ref/surface-ref-model.ts +34 -0
- package/src/_pkgs/affine-model/blocks/table/index.ts +1 -0
- package/src/_pkgs/affine-model/blocks/table/table-model.ts +71 -0
- package/src/_pkgs/affine-model/consts/connector.ts +36 -0
- package/src/_pkgs/affine-model/consts/doc.ts +94 -0
- package/src/_pkgs/affine-model/consts/edgeless-text.ts +2 -0
- package/src/_pkgs/affine-model/consts/image.ts +1 -0
- package/src/_pkgs/affine-model/consts/index.ts +9 -0
- package/src/_pkgs/affine-model/consts/line.ts +69 -0
- package/src/_pkgs/affine-model/consts/mindmap.ts +12 -0
- package/src/_pkgs/affine-model/consts/note.ts +80 -0
- package/src/_pkgs/affine-model/consts/shape.ts +47 -0
- package/src/_pkgs/affine-model/consts/text.ts +68 -0
- package/src/_pkgs/affine-model/elements/bpmn/index.ts +2 -0
- package/src/_pkgs/affine-model/elements/bpmn/node.ts +42 -0
- package/src/_pkgs/affine-model/elements/bpmn/pool.ts +66 -0
- package/src/_pkgs/affine-model/elements/brush/brush.ts +219 -0
- package/src/_pkgs/affine-model/elements/brush/index.ts +1 -0
- package/src/_pkgs/affine-model/elements/connector/connector.ts +539 -0
- package/src/_pkgs/affine-model/elements/connector/index.ts +2 -0
- package/src/_pkgs/affine-model/elements/connector/local-connector.ts +58 -0
- package/src/_pkgs/affine-model/elements/cynefin/cynefin.ts +78 -0
- package/src/_pkgs/affine-model/elements/cynefin/index.ts +1 -0
- package/src/_pkgs/affine-model/elements/edgy/facets.ts +87 -0
- package/src/_pkgs/affine-model/elements/edgy/index.ts +2 -0
- package/src/_pkgs/affine-model/elements/edgy/node.ts +37 -0
- package/src/_pkgs/affine-model/elements/estuarine/estuarine.ts +79 -0
- package/src/_pkgs/affine-model/elements/estuarine/index.ts +1 -0
- package/src/_pkgs/affine-model/elements/group/group.ts +121 -0
- package/src/_pkgs/affine-model/elements/group/index.ts +1 -0
- package/src/_pkgs/affine-model/elements/highlighter/highlighter.ts +220 -0
- package/src/_pkgs/affine-model/elements/highlighter/index.ts +1 -0
- package/src/_pkgs/affine-model/elements/index.ts +62 -0
- package/src/_pkgs/affine-model/elements/mindmap/index.ts +3 -0
- package/src/_pkgs/affine-model/elements/mindmap/mindmap.ts +974 -0
- package/src/_pkgs/affine-model/elements/mindmap/snapshot/index.ts +2 -0
- package/src/_pkgs/affine-model/elements/mindmap/snapshot/types.ts +25 -0
- package/src/_pkgs/affine-model/elements/mindmap/snapshot/utils.ts +70 -0
- package/src/_pkgs/affine-model/elements/mindmap/style.ts +508 -0
- package/src/_pkgs/affine-model/elements/mindmap/utils.ts +46 -0
- package/src/_pkgs/affine-model/elements/shape/api/diamond.ts +120 -0
- package/src/_pkgs/affine-model/elements/shape/api/ellipse.ts +202 -0
- package/src/_pkgs/affine-model/elements/shape/api/index.ts +16 -0
- package/src/_pkgs/affine-model/elements/shape/api/polygon.ts +424 -0
- package/src/_pkgs/affine-model/elements/shape/api/rect.ts +119 -0
- package/src/_pkgs/affine-model/elements/shape/api/triangle.ts +116 -0
- package/src/_pkgs/affine-model/elements/shape/index.ts +2 -0
- package/src/_pkgs/affine-model/elements/shape/shape.ts +367 -0
- package/src/_pkgs/affine-model/elements/text/index.ts +1 -0
- package/src/_pkgs/affine-model/elements/text/text.ts +92 -0
- package/src/_pkgs/affine-model/elements/wardley/index.ts +2 -0
- package/src/_pkgs/affine-model/elements/wardley/node.ts +52 -0
- package/src/_pkgs/affine-model/elements/wardley/wardley.ts +160 -0
- package/src/_pkgs/affine-model/index.ts +5 -0
- package/src/_pkgs/affine-model/themes/color.ts +54 -0
- package/src/_pkgs/affine-model/themes/default.ts +136 -0
- package/src/_pkgs/affine-model/themes/index.ts +10 -0
- package/src/_pkgs/affine-model/themes/types.ts +41 -0
- package/src/_pkgs/affine-model/themes/utils.ts +29 -0
- package/src/_pkgs/affine-model/utils/enum.ts +11 -0
- package/src/_pkgs/affine-model/utils/helper.ts +74 -0
- package/src/_pkgs/affine-model/utils/index.ts +3 -0
- package/src/_pkgs/affine-model/utils/types.ts +43 -0
- package/src/_pkgs/affine-rich-text/conversion.ts +136 -0
- package/src/_pkgs/affine-rich-text/dom.ts +172 -0
- package/src/_pkgs/affine-rich-text/effects.ts +11 -0
- package/src/_pkgs/affine-rich-text/hooks.ts +116 -0
- package/src/_pkgs/affine-rich-text/index.ts +14 -0
- package/src/_pkgs/affine-rich-text/rich-text.ts +480 -0
- package/src/_pkgs/affine-rich-text/utils.ts +68 -0
- package/src/_pkgs/affine-shared/adapters/attachment.ts +147 -0
- package/src/_pkgs/affine-shared/adapters/clipboard/clipboard.ts +107 -0
- package/src/_pkgs/affine-shared/adapters/clipboard/index.ts +2 -0
- package/src/_pkgs/affine-shared/adapters/clipboard/utils.ts +117 -0
- package/src/_pkgs/affine-shared/adapters/html/block-adapter.ts +31 -0
- package/src/_pkgs/affine-shared/adapters/html/delta-converter.ts +135 -0
- package/src/_pkgs/affine-shared/adapters/html/html.ts +400 -0
- package/src/_pkgs/affine-shared/adapters/html/index.ts +3 -0
- package/src/_pkgs/affine-shared/adapters/html/rehype-plugins/index.ts +2 -0
- package/src/_pkgs/affine-shared/adapters/html/rehype-plugins/inline-to-block.ts +37 -0
- package/src/_pkgs/affine-shared/adapters/html/rehype-plugins/wrap-inline-element.ts +79 -0
- package/src/_pkgs/affine-shared/adapters/image.ts +137 -0
- package/src/_pkgs/affine-shared/adapters/index.ts +88 -0
- package/src/_pkgs/affine-shared/adapters/markdown/block-adapter.ts +31 -0
- package/src/_pkgs/affine-shared/adapters/markdown/delta-converter.ts +124 -0
- package/src/_pkgs/affine-shared/adapters/markdown/gfm.ts +76 -0
- package/src/_pkgs/affine-shared/adapters/markdown/index.ts +5 -0
- package/src/_pkgs/affine-shared/adapters/markdown/markdown.ts +414 -0
- package/src/_pkgs/affine-shared/adapters/markdown/preprocessor.ts +40 -0
- package/src/_pkgs/affine-shared/adapters/markdown/remark-plugins/index.ts +1 -0
- package/src/_pkgs/affine-shared/adapters/markdown/remark-plugins/remark-callout.ts +70 -0
- package/src/_pkgs/affine-shared/adapters/markdown/type.ts +45 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/callout-export-options.ts +45 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/code.ts +11 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/copy.ts +66 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/doc-link.ts +44 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/file-name.ts +27 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/file-path.ts +14 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/index.ts +12 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/paste.ts +596 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/proxy.ts +53 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/replace-id.ts +256 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/surface-ref-to-embed.ts +46 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/title.ts +15 -0
- package/src/_pkgs/affine-shared/adapters/middlewares/upload.ts +118 -0
- package/src/_pkgs/affine-shared/adapters/mix-text.ts +360 -0
- package/src/_pkgs/affine-shared/adapters/notion-html/block-adapter.ts +33 -0
- package/src/_pkgs/affine-shared/adapters/notion-html/delta-converter.ts +105 -0
- package/src/_pkgs/affine-shared/adapters/notion-html/index.ts +3 -0
- package/src/_pkgs/affine-shared/adapters/notion-html/notion-html.ts +300 -0
- package/src/_pkgs/affine-shared/adapters/notion-text.ts +191 -0
- package/src/_pkgs/affine-shared/adapters/plain-text/block-adapter.ts +28 -0
- package/src/_pkgs/affine-shared/adapters/plain-text/delta-converter.ts +81 -0
- package/src/_pkgs/affine-shared/adapters/plain-text/index.ts +3 -0
- package/src/_pkgs/affine-shared/adapters/plain-text/plain-text.ts +324 -0
- package/src/_pkgs/affine-shared/adapters/types/adapter.ts +124 -0
- package/src/_pkgs/affine-shared/adapters/types/delta-converter.ts +61 -0
- package/src/_pkgs/affine-shared/adapters/types/hast.ts +12 -0
- package/src/_pkgs/affine-shared/adapters/types/index.ts +4 -0
- package/src/_pkgs/affine-shared/adapters/types/preprocessor.ts +88 -0
- package/src/_pkgs/affine-shared/adapters/utils/fetch.ts +37 -0
- package/src/_pkgs/affine-shared/adapters/utils/file-path.ts +56 -0
- package/src/_pkgs/affine-shared/adapters/utils/hast.ts +295 -0
- package/src/_pkgs/affine-shared/adapters/utils/index.ts +4 -0
- package/src/_pkgs/affine-shared/adapters/utils/text.ts +96 -0
- package/src/_pkgs/affine-shared/commands/block-crud/get-block-index.ts +33 -0
- package/src/_pkgs/affine-shared/commands/block-crud/get-first-content-block.ts +65 -0
- package/src/_pkgs/affine-shared/commands/block-crud/get-last-content-block.ts +67 -0
- package/src/_pkgs/affine-shared/commands/block-crud/get-next-block.ts +36 -0
- package/src/_pkgs/affine-shared/commands/block-crud/get-prev-block.ts +37 -0
- package/src/_pkgs/affine-shared/commands/block-crud/get-selected-blocks.ts +164 -0
- package/src/_pkgs/affine-shared/commands/block-crud/index.ts +6 -0
- package/src/_pkgs/affine-shared/commands/index.d.ts +5 -0
- package/src/_pkgs/affine-shared/commands/index.ts +29 -0
- package/src/_pkgs/affine-shared/commands/model-crud/clear-and-select-first-model.ts +33 -0
- package/src/_pkgs/affine-shared/commands/model-crud/copy-selected-models.ts +25 -0
- package/src/_pkgs/affine-shared/commands/model-crud/delete-selected-models.ts +21 -0
- package/src/_pkgs/affine-shared/commands/model-crud/draft-selected-models.ts +50 -0
- package/src/_pkgs/affine-shared/commands/model-crud/duplicate-selected-model.ts +55 -0
- package/src/_pkgs/affine-shared/commands/model-crud/get-selected-models.ts +67 -0
- package/src/_pkgs/affine-shared/commands/model-crud/index.ts +8 -0
- package/src/_pkgs/affine-shared/commands/model-crud/replace-selected-text-with-blocks.ts +399 -0
- package/src/_pkgs/affine-shared/commands/model-crud/retain-first-model.ts +19 -0
- package/src/_pkgs/affine-shared/commands/selection/focus-block-end.ts +37 -0
- package/src/_pkgs/affine-shared/commands/selection/focus-block-start.ts +23 -0
- package/src/_pkgs/affine-shared/commands/selection/get-block-selections.ts +10 -0
- package/src/_pkgs/affine-shared/commands/selection/get-image-selections.ts +9 -0
- package/src/_pkgs/affine-shared/commands/selection/get-selection-rects.ts +184 -0
- package/src/_pkgs/affine-shared/commands/selection/get-surface-selection.ts +10 -0
- package/src/_pkgs/affine-shared/commands/selection/get-text-selection.ts +10 -0
- package/src/_pkgs/affine-shared/commands/selection/index.ts +12 -0
- package/src/_pkgs/affine-shared/commands/selection/is-nothing-selected.ts +24 -0
- package/src/_pkgs/affine-shared/commands/selection/types.ts +18 -0
- package/src/_pkgs/affine-shared/consts/bracket-pairs.ts +68 -0
- package/src/_pkgs/affine-shared/consts/index.ts +90 -0
- package/src/_pkgs/affine-shared/consts/note.ts +2 -0
- package/src/_pkgs/affine-shared/consts/text.ts +2 -0
- package/src/_pkgs/affine-shared/index.ts +1 -0
- package/src/_pkgs/affine-shared/selection/hightlight.ts +66 -0
- package/src/_pkgs/affine-shared/selection/image.ts +33 -0
- package/src/_pkgs/affine-shared/selection/index.ts +5 -0
- package/src/_pkgs/affine-shared/services/auto-clear-selection-service.ts +12 -0
- package/src/_pkgs/affine-shared/services/block-meta-service.ts +104 -0
- package/src/_pkgs/affine-shared/services/citation-service/citation-service.ts +84 -0
- package/src/_pkgs/affine-shared/services/citation-service/index.ts +1 -0
- package/src/_pkgs/affine-shared/services/comment-service/block-comment-manager.ts +118 -0
- package/src/_pkgs/affine-shared/services/comment-service/comment-provider.ts +44 -0
- package/src/_pkgs/affine-shared/services/comment-service/index.ts +3 -0
- package/src/_pkgs/affine-shared/services/comment-service/utils.ts +50 -0
- package/src/_pkgs/affine-shared/services/doc-display-meta-service.ts +197 -0
- package/src/_pkgs/affine-shared/services/doc-mode-service.ts +109 -0
- package/src/_pkgs/affine-shared/services/drag-handle-config.ts +65 -0
- package/src/_pkgs/affine-shared/services/edit-props-store.ts +217 -0
- package/src/_pkgs/affine-shared/services/editor-setting-service.ts +41 -0
- package/src/_pkgs/affine-shared/services/embed-iframe/embed-iframe-config.ts +93 -0
- package/src/_pkgs/affine-shared/services/embed-iframe/embed-iframe-service.ts +152 -0
- package/src/_pkgs/affine-shared/services/embed-iframe/index.ts +2 -0
- package/src/_pkgs/affine-shared/services/embed-option-service.ts +65 -0
- package/src/_pkgs/affine-shared/services/feature-flag-service.ts +65 -0
- package/src/_pkgs/affine-shared/services/file-size-limit-service.ts +23 -0
- package/src/_pkgs/affine-shared/services/font-loader/config.ts +379 -0
- package/src/_pkgs/affine-shared/services/font-loader/font-loader-service.ts +62 -0
- package/src/_pkgs/affine-shared/services/font-loader/index.ts +2 -0
- package/src/_pkgs/affine-shared/services/generate-url-service.ts +21 -0
- package/src/_pkgs/affine-shared/services/index.ts +29 -0
- package/src/_pkgs/affine-shared/services/link-preview-service/index.ts +3 -0
- package/src/_pkgs/affine-shared/services/link-preview-service/link-preview-cache.ts +240 -0
- package/src/_pkgs/affine-shared/services/link-preview-service/link-preview-service.ts +210 -0
- package/src/_pkgs/affine-shared/services/link-preview-service/link-preview-storage.ts +81 -0
- package/src/_pkgs/affine-shared/services/native-clipboard-service.ts +23 -0
- package/src/_pkgs/affine-shared/services/notification-service.ts +123 -0
- package/src/_pkgs/affine-shared/services/open-doc-config.ts +59 -0
- package/src/_pkgs/affine-shared/services/page-viewport-service.ts +15 -0
- package/src/_pkgs/affine-shared/services/parse-url-service.ts +22 -0
- package/src/_pkgs/affine-shared/services/quick-search-service.ts +31 -0
- package/src/_pkgs/affine-shared/services/sidebar-service.ts +18 -0
- package/src/_pkgs/affine-shared/services/telemetry-service/block-lifecycle-watcher.ts +148 -0
- package/src/_pkgs/affine-shared/services/telemetry-service/citation.ts +8 -0
- package/src/_pkgs/affine-shared/services/telemetry-service/code-block.ts +8 -0
- package/src/_pkgs/affine-shared/services/telemetry-service/database.ts +85 -0
- package/src/_pkgs/affine-shared/services/telemetry-service/index.ts +8 -0
- package/src/_pkgs/affine-shared/services/telemetry-service/lifecycle.ts +50 -0
- package/src/_pkgs/affine-shared/services/telemetry-service/link.ts +19 -0
- package/src/_pkgs/affine-shared/services/telemetry-service/noop.ts +20 -0
- package/src/_pkgs/affine-shared/services/telemetry-service/note.ts +11 -0
- package/src/_pkgs/affine-shared/services/telemetry-service/slash-menu.ts +5 -0
- package/src/_pkgs/affine-shared/services/telemetry-service/telemetry-service.ts +78 -0
- package/src/_pkgs/affine-shared/services/telemetry-service/types.ts +127 -0
- package/src/_pkgs/affine-shared/services/theme-service.ts +195 -0
- package/src/_pkgs/affine-shared/services/toolbar-service/action.ts +58 -0
- package/src/_pkgs/affine-shared/services/toolbar-service/config.ts +16 -0
- package/src/_pkgs/affine-shared/services/toolbar-service/context.ts +297 -0
- package/src/_pkgs/affine-shared/services/toolbar-service/flags.ts +88 -0
- package/src/_pkgs/affine-shared/services/toolbar-service/index.ts +6 -0
- package/src/_pkgs/affine-shared/services/toolbar-service/module.ts +9 -0
- package/src/_pkgs/affine-shared/services/toolbar-service/registry.ts +64 -0
- package/src/_pkgs/affine-shared/services/user-service/index.ts +4 -0
- package/src/_pkgs/affine-shared/services/user-service/types.ts +25 -0
- package/src/_pkgs/affine-shared/services/user-service/user-list-service.ts +28 -0
- package/src/_pkgs/affine-shared/services/user-service/user-service.ts +24 -0
- package/src/_pkgs/affine-shared/services/user-service/writer-info-service.ts +22 -0
- package/src/_pkgs/affine-shared/services/viewport-element-service.ts +62 -0
- package/src/_pkgs/affine-shared/services/virtual-keyboard-service.ts +23 -0
- package/src/_pkgs/affine-shared/styles/font.ts +30 -0
- package/src/_pkgs/affine-shared/styles/index.ts +4 -0
- package/src/_pkgs/affine-shared/styles/panel.ts +26 -0
- package/src/_pkgs/affine-shared/styles/scrollbar-style.ts +37 -0
- package/src/_pkgs/affine-shared/styles/text.ts +40 -0
- package/src/_pkgs/affine-shared/test-utils/affine-template.ts +316 -0
- package/src/_pkgs/affine-shared/test-utils/affine-test-utils.ts +113 -0
- package/src/_pkgs/affine-shared/test-utils/create-test-host.ts +248 -0
- package/src/_pkgs/affine-shared/test-utils/index.ts +3 -0
- package/src/_pkgs/affine-shared/theme/css-variables.ts +132 -0
- package/src/_pkgs/affine-shared/theme/index.ts +1 -0
- package/src/_pkgs/affine-shared/types/index.ts +74 -0
- package/src/_pkgs/affine-shared/types/uni-component.ts +15 -0
- package/src/_pkgs/affine-shared/utils/auto-scroll.ts +30 -0
- package/src/_pkgs/affine-shared/utils/button-popper.ts +161 -0
- package/src/_pkgs/affine-shared/utils/collapsed/index.ts +1 -0
- package/src/_pkgs/affine-shared/utils/collapsed/paragraph.ts +57 -0
- package/src/_pkgs/affine-shared/utils/computing.ts +23 -0
- package/src/_pkgs/affine-shared/utils/dnd/calc-drop-target.ts +208 -0
- package/src/_pkgs/affine-shared/utils/dnd/get-drop-rect-by-point.ts +160 -0
- package/src/_pkgs/affine-shared/utils/dnd/index.ts +3 -0
- package/src/_pkgs/affine-shared/utils/dnd/types.ts +29 -0
- package/src/_pkgs/affine-shared/utils/dom/checker.ts +18 -0
- package/src/_pkgs/affine-shared/utils/dom/has-classname-in-list.ts +6 -0
- package/src/_pkgs/affine-shared/utils/dom/index.ts +7 -0
- package/src/_pkgs/affine-shared/utils/dom/point-to-block.ts +334 -0
- package/src/_pkgs/affine-shared/utils/dom/point-to-range.ts +98 -0
- package/src/_pkgs/affine-shared/utils/dom/query.ts +39 -0
- package/src/_pkgs/affine-shared/utils/dom/scroll-container.ts +12 -0
- package/src/_pkgs/affine-shared/utils/dom/viewport.ts +19 -0
- package/src/_pkgs/affine-shared/utils/drag-helper/cell-select.ts +83 -0
- package/src/_pkgs/affine-shared/utils/drag-helper/index.ts +3 -0
- package/src/_pkgs/affine-shared/utils/drag-helper/linear-move.ts +38 -0
- package/src/_pkgs/affine-shared/utils/drag-helper/types.ts +1 -0
- package/src/_pkgs/affine-shared/utils/edgeless.ts +79 -0
- package/src/_pkgs/affine-shared/utils/event.ts +362 -0
- package/src/_pkgs/affine-shared/utils/figma-squircle/distribute.ts +154 -0
- package/src/_pkgs/affine-shared/utils/figma-squircle/draw.ts +232 -0
- package/src/_pkgs/affine-shared/utils/figma-squircle/index.ts +105 -0
- package/src/_pkgs/affine-shared/utils/file/filesys.ts +293 -0
- package/src/_pkgs/affine-shared/utils/file/header-value-parser.ts +32 -0
- package/src/_pkgs/affine-shared/utils/file/index.ts +2 -0
- package/src/_pkgs/affine-shared/utils/fractional-indexing.ts +74 -0
- package/src/_pkgs/affine-shared/utils/image.ts +59 -0
- package/src/_pkgs/affine-shared/utils/index.ts +28 -0
- package/src/_pkgs/affine-shared/utils/insert.ts +51 -0
- package/src/_pkgs/affine-shared/utils/is-abort-error.ts +3 -0
- package/src/_pkgs/affine-shared/utils/math.ts +9 -0
- package/src/_pkgs/affine-shared/utils/model/block-props.ts +6 -0
- package/src/_pkgs/affine-shared/utils/model/checker.ts +34 -0
- package/src/_pkgs/affine-shared/utils/model/doc.ts +38 -0
- package/src/_pkgs/affine-shared/utils/model/get-content-block.ts +140 -0
- package/src/_pkgs/affine-shared/utils/model/getter.ts +75 -0
- package/src/_pkgs/affine-shared/utils/model/index.ts +8 -0
- package/src/_pkgs/affine-shared/utils/model/list.ts +103 -0
- package/src/_pkgs/affine-shared/utils/model/merge-to-code-model.ts +33 -0
- package/src/_pkgs/affine-shared/utils/model/transform-model.ts +31 -0
- package/src/_pkgs/affine-shared/utils/popper-position.ts +139 -0
- package/src/_pkgs/affine-shared/utils/print-to-pdf.ts +145 -0
- package/src/_pkgs/affine-shared/utils/reference.ts +44 -0
- package/src/_pkgs/affine-shared/utils/reordering.ts +6 -0
- package/src/_pkgs/affine-shared/utils/signal.ts +25 -0
- package/src/_pkgs/affine-shared/utils/string.ts +75 -0
- package/src/_pkgs/affine-shared/utils/title.ts +32 -0
- package/src/_pkgs/affine-shared/utils/url.ts +156 -0
- package/src/_pkgs/affine-shared/utils/virtual-padding.ts +35 -0
- package/src/_pkgs/affine-shared/utils/zod-schema.ts +219 -0
- package/src/_pkgs/affine-widget-drag-handle/components/edgeless-preview/preview.ts +133 -0
- package/src/_pkgs/affine-widget-drag-handle/config.ts +19 -0
- package/src/_pkgs/affine-widget-drag-handle/consts.ts +1 -0
- package/src/_pkgs/affine-widget-drag-handle/drag-handle.ts +252 -0
- package/src/_pkgs/affine-widget-drag-handle/effects.ts +14 -0
- package/src/_pkgs/affine-widget-drag-handle/helpers/preview-helper.ts +207 -0
- package/src/_pkgs/affine-widget-drag-handle/helpers/rect-helper.ts +95 -0
- package/src/_pkgs/affine-widget-drag-handle/helpers/selection-helper.ts +67 -0
- package/src/_pkgs/affine-widget-drag-handle/index.ts +15 -0
- package/src/_pkgs/affine-widget-drag-handle/middleware/blocks-filter.ts +119 -0
- package/src/_pkgs/affine-widget-drag-handle/middleware/card-style-updater.ts +56 -0
- package/src/_pkgs/affine-widget-drag-handle/middleware/new-id-cross-doc.ts +53 -0
- package/src/_pkgs/affine-widget-drag-handle/middleware/reorder-list.ts +31 -0
- package/src/_pkgs/affine-widget-drag-handle/styles.ts +86 -0
- package/src/_pkgs/affine-widget-drag-handle/utils.ts +346 -0
- package/src/_pkgs/affine-widget-drag-handle/view.ts +21 -0
- package/src/_pkgs/affine-widget-drag-handle/watchers/drag-event-watcher.ts +1742 -0
- package/src/_pkgs/affine-widget-drag-handle/watchers/edgeless-watcher.ts +235 -0
- package/src/_pkgs/affine-widget-drag-handle/watchers/handle-event-watcher.ts +93 -0
- package/src/_pkgs/affine-widget-drag-handle/watchers/keyboard-event-watcher.ts +24 -0
- package/src/_pkgs/affine-widget-drag-handle/watchers/page-watcher.ts +21 -0
- package/src/_pkgs/affine-widget-drag-handle/watchers/pointer-event-watcher.ts +366 -0
- package/src/_pkgs/affine-widget-edgeless-auto-connect/effects.ts +11 -0
- package/src/_pkgs/affine-widget-edgeless-auto-connect/index.ts +634 -0
- package/src/_pkgs/affine-widget-edgeless-auto-connect/view.ts +23 -0
- package/src/_pkgs/affine-widget-edgeless-dragging-area/edgeless-dragging-area-rect.ts +68 -0
- package/src/_pkgs/affine-widget-edgeless-dragging-area/effects.ts +11 -0
- package/src/_pkgs/affine-widget-edgeless-dragging-area/index.ts +1 -0
- package/src/_pkgs/affine-widget-edgeless-dragging-area/view.ts +23 -0
- package/src/_pkgs/affine-widget-edgeless-selected-rect/auto-complete-panel.ts +680 -0
- package/src/_pkgs/affine-widget-edgeless-selected-rect/edgeless-auto-complete.ts +787 -0
- package/src/_pkgs/affine-widget-edgeless-selected-rect/edgeless-selected-rect.ts +844 -0
- package/src/_pkgs/affine-widget-edgeless-selected-rect/effects.ts +18 -0
- package/src/_pkgs/affine-widget-edgeless-selected-rect/index.ts +1 -0
- package/src/_pkgs/affine-widget-edgeless-selected-rect/resize-handles.ts +94 -0
- package/src/_pkgs/affine-widget-edgeless-selected-rect/spec.ts +10 -0
- package/src/_pkgs/affine-widget-edgeless-selected-rect/utils.ts +416 -0
- package/src/_pkgs/affine-widget-edgeless-selected-rect/view.ts +23 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/button/tool-icon-button.ts +192 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/button/toolbar-button.ts +39 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/config/consts.ts +16 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/config/index.ts +3 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/config/types.ts +28 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/config/utils.ts +72 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/context.ts +21 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/create-popper.ts +103 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/draggable/draggable-element.controller.ts +477 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/draggable/event-resolver.ts +25 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/draggable/index.ts +1 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/draggable/overlay-factory.ts +96 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/draggable/types.ts +97 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/edgeless-toolbar.ts +732 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/effects.ts +35 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/extension/index.ts +66 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/index.ts +7 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/menu/slide-menu.ts +184 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/menu/toolbar-arrow-up-icon.ts +17 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/mixins/index.ts +3 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/mixins/quick-tool.mixin.ts +21 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/mixins/tool.mixin.ts +171 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/mixins/toolbar-button-with-menu.mixin.ts +20 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/panel/font-family-panel.ts +57 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/panel/font-weight-and-style-panel.ts +163 -0
- package/src/_pkgs/affine-widget-edgeless-toolbar/view.ts +23 -0
- package/src/_pkgs/affine-widget-edgeless-zoom-toolbar/effects.ts +15 -0
- package/src/_pkgs/affine-widget-edgeless-zoom-toolbar/index.ts +94 -0
- package/src/_pkgs/affine-widget-edgeless-zoom-toolbar/view.ts +23 -0
- package/src/_pkgs/affine-widget-edgeless-zoom-toolbar/zoom-bar-toggle-button.ts +113 -0
- package/src/_pkgs/affine-widget-edgeless-zoom-toolbar/zoom-toolbar.ts +213 -0
- package/src/_pkgs/affine-widget-frame-title/affine-frame-title-widget.ts +21 -0
- package/src/_pkgs/affine-widget-frame-title/edgeless-frame-title-editor.ts +185 -0
- package/src/_pkgs/affine-widget-frame-title/effects.ts +15 -0
- package/src/_pkgs/affine-widget-frame-title/frame-title.ts +293 -0
- package/src/_pkgs/affine-widget-frame-title/index.ts +4 -0
- package/src/_pkgs/affine-widget-frame-title/mount-frame-title-editor.ts +34 -0
- package/src/_pkgs/affine-widget-frame-title/styles.ts +35 -0
- package/src/_pkgs/affine-widget-frame-title/view.ts +23 -0
- package/src/_pkgs/affine-widget-keyboard-toolbar/config.ts +1160 -0
- package/src/_pkgs/affine-widget-keyboard-toolbar/effects.ts +28 -0
- package/src/_pkgs/affine-widget-keyboard-toolbar/icons.ts +138 -0
- package/src/_pkgs/affine-widget-keyboard-toolbar/index.ts +2 -0
- package/src/_pkgs/affine-widget-keyboard-toolbar/keyboard-tool-panel.ts +100 -0
- package/src/_pkgs/affine-widget-keyboard-toolbar/keyboard-toolbar.ts +350 -0
- package/src/_pkgs/affine-widget-keyboard-toolbar/position-controller.ts +42 -0
- package/src/_pkgs/affine-widget-keyboard-toolbar/styles.ts +145 -0
- package/src/_pkgs/affine-widget-keyboard-toolbar/utils.ts +43 -0
- package/src/_pkgs/affine-widget-keyboard-toolbar/view.ts +28 -0
- package/src/_pkgs/affine-widget-keyboard-toolbar/widget.ts +148 -0
- package/src/_pkgs/affine-widget-linked-doc/config.ts +230 -0
- package/src/_pkgs/affine-widget-linked-doc/effects.ts +17 -0
- package/src/_pkgs/affine-widget-linked-doc/import-doc/import-doc.ts +297 -0
- package/src/_pkgs/affine-widget-linked-doc/import-doc/index.ts +38 -0
- package/src/_pkgs/affine-widget-linked-doc/import-doc/loader.ts +103 -0
- package/src/_pkgs/affine-widget-linked-doc/import-doc/styles.ts +88 -0
- package/src/_pkgs/affine-widget-linked-doc/index.ts +4 -0
- package/src/_pkgs/affine-widget-linked-doc/linked-doc-popover.ts +428 -0
- package/src/_pkgs/affine-widget-linked-doc/mobile-linked-doc-menu.ts +216 -0
- package/src/_pkgs/affine-widget-linked-doc/styles.ts +163 -0
- package/src/_pkgs/affine-widget-linked-doc/transformers/html.ts +218 -0
- package/src/_pkgs/affine-widget-linked-doc/transformers/index.ts +5 -0
- package/src/_pkgs/affine-widget-linked-doc/transformers/markdown.ts +283 -0
- package/src/_pkgs/affine-widget-linked-doc/transformers/notion-html.ts +174 -0
- package/src/_pkgs/affine-widget-linked-doc/transformers/type.ts +25 -0
- package/src/_pkgs/affine-widget-linked-doc/transformers/utils.ts +115 -0
- package/src/_pkgs/affine-widget-linked-doc/transformers/zip.ts +172 -0
- package/src/_pkgs/affine-widget-linked-doc/utils.ts +5 -0
- package/src/_pkgs/affine-widget-linked-doc/view.ts +83 -0
- package/src/_pkgs/affine-widget-linked-doc/widget.ts +344 -0
- package/src/_pkgs/affine-widget-note-slicer/effects.ts +5 -0
- package/src/_pkgs/affine-widget-note-slicer/index.ts +1 -0
- package/src/_pkgs/affine-widget-note-slicer/note-slicer.ts +451 -0
- package/src/_pkgs/affine-widget-note-slicer/view.ts +23 -0
- package/src/_pkgs/affine-widget-page-dragging-area/effects.ts +11 -0
- package/src/_pkgs/affine-widget-page-dragging-area/index.ts +331 -0
- package/src/_pkgs/affine-widget-page-dragging-area/utils.ts +146 -0
- package/src/_pkgs/affine-widget-page-dragging-area/view.ts +24 -0
- package/src/_pkgs/affine-widget-remote-selection/doc/config.ts +5 -0
- package/src/_pkgs/affine-widget-remote-selection/doc/doc-remote-selection.ts +398 -0
- package/src/_pkgs/affine-widget-remote-selection/doc/index.ts +1 -0
- package/src/_pkgs/affine-widget-remote-selection/doc/utils.ts +36 -0
- package/src/_pkgs/affine-widget-remote-selection/edgeless/index.ts +304 -0
- package/src/_pkgs/affine-widget-remote-selection/effects.ts +17 -0
- package/src/_pkgs/affine-widget-remote-selection/index.ts +20 -0
- package/src/_pkgs/affine-widget-remote-selection/manager/color-picker.ts +36 -0
- package/src/_pkgs/affine-widget-remote-selection/manager/remote-color-manager.ts +42 -0
- package/src/_pkgs/affine-widget-remote-selection/view.ts +27 -0
- package/src/_pkgs/affine-widget-scroll-anchoring/effects.ts +17 -0
- package/src/_pkgs/affine-widget-scroll-anchoring/index.ts +12 -0
- package/src/_pkgs/affine-widget-scroll-anchoring/scroll-anchoring.ts +267 -0
- package/src/_pkgs/affine-widget-scroll-anchoring/view.ts +21 -0
- package/src/_pkgs/affine-widget-slash-menu/config.ts +189 -0
- package/src/_pkgs/affine-widget-slash-menu/consts.ts +4 -0
- package/src/_pkgs/affine-widget-slash-menu/effects.ts +15 -0
- package/src/_pkgs/affine-widget-slash-menu/extensions.ts +51 -0
- package/src/_pkgs/affine-widget-slash-menu/index.ts +3 -0
- package/src/_pkgs/affine-widget-slash-menu/slash-menu-popover.ts +668 -0
- package/src/_pkgs/affine-widget-slash-menu/styles.ts +109 -0
- package/src/_pkgs/affine-widget-slash-menu/tooltips/copy.ts +13 -0
- package/src/_pkgs/affine-widget-slash-menu/tooltips/delete.ts +14 -0
- package/src/_pkgs/affine-widget-slash-menu/tooltips/empty.ts +11 -0
- package/src/_pkgs/affine-widget-slash-menu/tooltips/index.ts +51 -0
- package/src/_pkgs/affine-widget-slash-menu/tooltips/move-down.ts +21 -0
- package/src/_pkgs/affine-widget-slash-menu/tooltips/move-up.ts +21 -0
- package/src/_pkgs/affine-widget-slash-menu/tooltips/now.ts +14 -0
- package/src/_pkgs/affine-widget-slash-menu/tooltips/today.ts +14 -0
- package/src/_pkgs/affine-widget-slash-menu/tooltips/tomorrow.ts +14 -0
- package/src/_pkgs/affine-widget-slash-menu/tooltips/yesterday.ts +14 -0
- package/src/_pkgs/affine-widget-slash-menu/types.ts +59 -0
- package/src/_pkgs/affine-widget-slash-menu/utils.ts +102 -0
- package/src/_pkgs/affine-widget-slash-menu/view.ts +22 -0
- package/src/_pkgs/affine-widget-slash-menu/widget.ts +184 -0
- package/src/_pkgs/affine-widget-toolbar/effects.ts +11 -0
- package/src/_pkgs/affine-widget-toolbar/index.ts +12 -0
- package/src/_pkgs/affine-widget-toolbar/toolbar.ts +705 -0
- package/src/_pkgs/affine-widget-toolbar/utils.ts +432 -0
- package/src/_pkgs/affine-widget-toolbar/view.ts +22 -0
- package/src/_pkgs/affine-widget-viewport-overlay/effects.ts +11 -0
- package/src/_pkgs/affine-widget-viewport-overlay/index.ts +90 -0
- package/src/_pkgs/affine-widget-viewport-overlay/view.ts +21 -0
- package/src/_pkgs/data-view/core/common/css-variable.ts +66 -0
- package/src/_pkgs/data-view/core/common/dv-css.ts +88 -0
- package/src/_pkgs/data-view/core/common/index.ts +8 -0
- package/src/_pkgs/data-view/core/common/properties.ts +283 -0
- package/src/_pkgs/data-view/core/common/property-menu.ts +76 -0
- package/src/_pkgs/data-view/core/common/types.ts +13 -0
- package/src/_pkgs/data-view/core/component/button/button.ts +89 -0
- package/src/_pkgs/data-view/core/component/index.ts +3 -0
- package/src/_pkgs/data-view/core/component/overflow/overflow.ts +109 -0
- package/src/_pkgs/data-view/core/component/tags/colors.ts +88 -0
- package/src/_pkgs/data-view/core/component/tags/index.ts +3 -0
- package/src/_pkgs/data-view/core/component/tags/multi-tag-select.ts +606 -0
- package/src/_pkgs/data-view/core/component/tags/multi-tag-view.ts +88 -0
- package/src/_pkgs/data-view/core/component/tags/styles-css.ts +143 -0
- package/src/_pkgs/data-view/core/data-source/base.ts +305 -0
- package/src/_pkgs/data-view/core/data-source/index.ts +1 -0
- package/src/_pkgs/data-view/core/data-view.ts +211 -0
- package/src/_pkgs/data-view/core/detail/detail.ts +305 -0
- package/src/_pkgs/data-view/core/detail/field.ts +286 -0
- package/src/_pkgs/data-view/core/detail/selection.ts +154 -0
- package/src/_pkgs/data-view/core/effect.ts +39 -0
- package/src/_pkgs/data-view/core/expression/index.ts +3 -0
- package/src/_pkgs/data-view/core/expression/ref/index.ts +2 -0
- package/src/_pkgs/data-view/core/expression/ref/ref-view.ts +94 -0
- package/src/_pkgs/data-view/core/expression/ref/ref.ts +5 -0
- package/src/_pkgs/data-view/core/expression/types.ts +22 -0
- package/src/_pkgs/data-view/core/filter/add-filter.ts +67 -0
- package/src/_pkgs/data-view/core/filter/eval.ts +53 -0
- package/src/_pkgs/data-view/core/filter/filter-fn/boolean.ts +27 -0
- package/src/_pkgs/data-view/core/filter/filter-fn/create.ts +64 -0
- package/src/_pkgs/data-view/core/filter/filter-fn/date.ts +37 -0
- package/src/_pkgs/data-view/core/filter/filter-fn/matcher.ts +61 -0
- package/src/_pkgs/data-view/core/filter/filter-fn/multi-tag.ts +89 -0
- package/src/_pkgs/data-view/core/filter/filter-fn/number.ts +88 -0
- package/src/_pkgs/data-view/core/filter/filter-fn/string.ts +69 -0
- package/src/_pkgs/data-view/core/filter/filter-fn/tag.ts +46 -0
- package/src/_pkgs/data-view/core/filter/filter-fn/unknown.ts +37 -0
- package/src/_pkgs/data-view/core/filter/filter-fn/utils.ts +20 -0
- package/src/_pkgs/data-view/core/filter/generate-default-values.ts +44 -0
- package/src/_pkgs/data-view/core/filter/index.ts +5 -0
- package/src/_pkgs/data-view/core/filter/literal/create.ts +5 -0
- package/src/_pkgs/data-view/core/filter/literal/define.ts +154 -0
- package/src/_pkgs/data-view/core/filter/literal/index.ts +3 -0
- package/src/_pkgs/data-view/core/filter/literal/matcher.ts +20 -0
- package/src/_pkgs/data-view/core/filter/literal/types.ts +19 -0
- package/src/_pkgs/data-view/core/filter/trait.ts +25 -0
- package/src/_pkgs/data-view/core/filter/types.ts +14 -0
- package/src/_pkgs/data-view/core/filter/utils.ts +66 -0
- package/src/_pkgs/data-view/core/group-by/default.ts +23 -0
- package/src/_pkgs/data-view/core/group-by/define.ts +185 -0
- package/src/_pkgs/data-view/core/group-by/group-title.ts +231 -0
- package/src/_pkgs/data-view/core/group-by/index.ts +3 -0
- package/src/_pkgs/data-view/core/group-by/matcher.ts +41 -0
- package/src/_pkgs/data-view/core/group-by/renderer/base.ts +40 -0
- package/src/_pkgs/data-view/core/group-by/renderer/boolean-group.ts +25 -0
- package/src/_pkgs/data-view/core/group-by/renderer/number-group.ts +65 -0
- package/src/_pkgs/data-view/core/group-by/renderer/select-group.ts +119 -0
- package/src/_pkgs/data-view/core/group-by/renderer/string-group.ts +53 -0
- package/src/_pkgs/data-view/core/group-by/setting.ts +322 -0
- package/src/_pkgs/data-view/core/group-by/trait.ts +362 -0
- package/src/_pkgs/data-view/core/group-by/types.ts +41 -0
- package/src/_pkgs/data-view/core/index.ts +14 -0
- package/src/_pkgs/data-view/core/logical/composite-type.ts +138 -0
- package/src/_pkgs/data-view/core/logical/data-type.ts +79 -0
- package/src/_pkgs/data-view/core/logical/index.ts +3 -0
- package/src/_pkgs/data-view/core/logical/matcher.ts +113 -0
- package/src/_pkgs/data-view/core/logical/type-presets.ts +67 -0
- package/src/_pkgs/data-view/core/logical/type-system.ts +195 -0
- package/src/_pkgs/data-view/core/logical/type-variable.ts +76 -0
- package/src/_pkgs/data-view/core/logical/type.ts +38 -0
- package/src/_pkgs/data-view/core/property/base-cell.ts +134 -0
- package/src/_pkgs/data-view/core/property/convert.ts +30 -0
- package/src/_pkgs/data-view/core/property/index.ts +6 -0
- package/src/_pkgs/data-view/core/property/manager.ts +44 -0
- package/src/_pkgs/data-view/core/property/property-config.ts +81 -0
- package/src/_pkgs/data-view/core/property/renderer.ts +25 -0
- package/src/_pkgs/data-view/core/property/types.ts +99 -0
- package/src/_pkgs/data-view/core/property/utils.ts +30 -0
- package/src/_pkgs/data-view/core/sort/add-sort.ts +53 -0
- package/src/_pkgs/data-view/core/sort/eval.ts +188 -0
- package/src/_pkgs/data-view/core/sort/manager.ts +43 -0
- package/src/_pkgs/data-view/core/sort/types.ts +10 -0
- package/src/_pkgs/data-view/core/sort/utils.ts +108 -0
- package/src/_pkgs/data-view/core/statistics/any.ts +104 -0
- package/src/_pkgs/data-view/core/statistics/checkbox.ts +62 -0
- package/src/_pkgs/data-view/core/statistics/create.ts +8 -0
- package/src/_pkgs/data-view/core/statistics/index.ts +10 -0
- package/src/_pkgs/data-view/core/statistics/number.ts +130 -0
- package/src/_pkgs/data-view/core/statistics/types.ts +18 -0
- package/src/_pkgs/data-view/core/traits/key.ts +10 -0
- package/src/_pkgs/data-view/core/types.ts +17 -0
- package/src/_pkgs/data-view/core/utils/auto-scroll.ts +78 -0
- package/src/_pkgs/data-view/core/utils/cache.ts +32 -0
- package/src/_pkgs/data-view/core/utils/drag.ts +69 -0
- package/src/_pkgs/data-view/core/utils/event.ts +3 -0
- package/src/_pkgs/data-view/core/utils/index.ts +3 -0
- package/src/_pkgs/data-view/core/utils/lazy.ts +11 -0
- package/src/_pkgs/data-view/core/utils/lock.ts +15 -0
- package/src/_pkgs/data-view/core/utils/menu-title.ts +23 -0
- package/src/_pkgs/data-view/core/utils/uni-component/index.ts +2 -0
- package/src/_pkgs/data-view/core/utils/uni-component/operation.ts +16 -0
- package/src/_pkgs/data-view/core/utils/uni-component/render-template.ts +24 -0
- package/src/_pkgs/data-view/core/utils/uni-component/uni-component.ts +156 -0
- package/src/_pkgs/data-view/core/utils/uni-icon.ts +36 -0
- package/src/_pkgs/data-view/core/utils/utils.ts +39 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/dnd-context.ts +549 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/sensors/index.ts +5 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/sensors/mouse.ts +235 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/sort/sort-context.ts +93 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/sort/strategies/horizontal-list-sorting.ts +95 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/sort/strategies/index.ts +2 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/sort/strategies/vertical-list-sorting.ts +89 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/types.ts +123 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/adjustment.ts +28 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/apply-modifiers.ts +15 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/array-move.ts +13 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/closest-center.ts +44 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/data-directive.ts +27 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/distance-between-points.ts +8 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/element.ts +3 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/events.ts +7 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/get-scrollable-ancestors.ts +63 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/has-exceeded-distance.ts +27 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/linear-move.ts +60 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/listeners.ts +20 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/raf.ts +24 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/rect-adjustment.ts +14 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/rect.ts +16 -0
- package/src/_pkgs/data-view/core/utils/wc-dnd/utils/signal.ts +18 -0
- package/src/_pkgs/data-view/core/view/convert.ts +27 -0
- package/src/_pkgs/data-view/core/view/data-view-base.ts +106 -0
- package/src/_pkgs/data-view/core/view/data-view.ts +80 -0
- package/src/_pkgs/data-view/core/view/index.ts +4 -0
- package/src/_pkgs/data-view/core/view/types.ts +43 -0
- package/src/_pkgs/data-view/core/view-manager/cell.ts +125 -0
- package/src/_pkgs/data-view/core/view-manager/index.ts +5 -0
- package/src/_pkgs/data-view/core/view-manager/property.ts +270 -0
- package/src/_pkgs/data-view/core/view-manager/row.ts +65 -0
- package/src/_pkgs/data-view/core/view-manager/single-view.ts +286 -0
- package/src/_pkgs/data-view/core/view-manager/view-manager.ts +130 -0
- package/src/_pkgs/data-view/core/widget/index.ts +1 -0
- package/src/_pkgs/data-view/core/widget/types.ts +10 -0
- package/src/_pkgs/data-view/core/widget/widget-base.ts +28 -0
- package/src/_pkgs/data-view/effects.ts +11 -0
- package/src/_pkgs/data-view/index.ts +1 -0
- package/src/_pkgs/data-view/property-presets/checkbox/cell-renderer.ts +121 -0
- package/src/_pkgs/data-view/property-presets/checkbox/define.ts +44 -0
- package/src/_pkgs/data-view/property-presets/converts.ts +45 -0
- package/src/_pkgs/data-view/property-presets/date/cell-renderer-css.ts +33 -0
- package/src/_pkgs/data-view/property-presets/date/cell-renderer.ts +167 -0
- package/src/_pkgs/data-view/property-presets/date/define.ts +30 -0
- package/src/_pkgs/data-view/property-presets/effect.ts +19 -0
- package/src/_pkgs/data-view/property-presets/image/cell-renderer.ts +32 -0
- package/src/_pkgs/data-view/property-presets/image/define.ts +32 -0
- package/src/_pkgs/data-view/property-presets/index.ts +22 -0
- package/src/_pkgs/data-view/property-presets/multi-select/cell-renderer-css.ts +17 -0
- package/src/_pkgs/data-view/property-presets/multi-select/cell-renderer.ts +89 -0
- package/src/_pkgs/data-view/property-presets/multi-select/define.ts +76 -0
- package/src/_pkgs/data-view/property-presets/number/cell-renderer-css.ts +37 -0
- package/src/_pkgs/data-view/property-presets/number/cell-renderer.ts +133 -0
- package/src/_pkgs/data-view/property-presets/number/define.ts +30 -0
- package/src/_pkgs/data-view/property-presets/number/index.ts +1 -0
- package/src/_pkgs/data-view/property-presets/number/types.ts +9 -0
- package/src/_pkgs/data-view/property-presets/number/utils/formats.ts +19 -0
- package/src/_pkgs/data-view/property-presets/number/utils/formatter.ts +104 -0
- package/src/_pkgs/data-view/property-presets/progress/cell-renderer-css.ts +57 -0
- package/src/_pkgs/data-view/property-presets/progress/cell-renderer.ts +166 -0
- package/src/_pkgs/data-view/property-presets/progress/define.ts +29 -0
- package/src/_pkgs/data-view/property-presets/pure-index.ts +19 -0
- package/src/_pkgs/data-view/property-presets/select/cell-renderer-css.ts +18 -0
- package/src/_pkgs/data-view/property-presets/select/cell-renderer.ts +88 -0
- package/src/_pkgs/data-view/property-presets/select/define.ts +73 -0
- package/src/_pkgs/data-view/property-presets/text/cell-renderer-css.ts +42 -0
- package/src/_pkgs/data-view/property-presets/text/cell-renderer.ts +65 -0
- package/src/_pkgs/data-view/property-presets/text/define.ts +29 -0
- package/src/_pkgs/data-view/view-presets/convert.ts +21 -0
- package/src/_pkgs/data-view/view-presets/effect.ts +7 -0
- package/src/_pkgs/data-view/view-presets/index.ts +11 -0
- package/src/_pkgs/data-view/view-presets/kanban/define.ts +91 -0
- package/src/_pkgs/data-view/view-presets/kanban/effect.ts +7 -0
- package/src/_pkgs/data-view/view-presets/kanban/index.ts +4 -0
- package/src/_pkgs/data-view/view-presets/kanban/kanban-view-manager.ts +328 -0
- package/src/_pkgs/data-view/view-presets/kanban/mobile/card.ts +225 -0
- package/src/_pkgs/data-view/view-presets/kanban/mobile/cell.ts +178 -0
- package/src/_pkgs/data-view/view-presets/kanban/mobile/effect.ts +11 -0
- package/src/_pkgs/data-view/view-presets/kanban/mobile/group.ts +153 -0
- package/src/_pkgs/data-view/view-presets/kanban/mobile/kanban-view-ui-logic.ts +170 -0
- package/src/_pkgs/data-view/view-presets/kanban/mobile/menu.ts +122 -0
- package/src/_pkgs/data-view/view-presets/kanban/pc/card.ts +337 -0
- package/src/_pkgs/data-view/view-presets/kanban/pc/cell.ts +185 -0
- package/src/_pkgs/data-view/view-presets/kanban/pc/controller/clipboard.ts +53 -0
- package/src/_pkgs/data-view/view-presets/kanban/pc/controller/drag.ts +255 -0
- package/src/_pkgs/data-view/view-presets/kanban/pc/controller/hotkeys.ts +67 -0
- package/src/_pkgs/data-view/view-presets/kanban/pc/controller/selection.ts +801 -0
- package/src/_pkgs/data-view/view-presets/kanban/pc/effect.ts +11 -0
- package/src/_pkgs/data-view/view-presets/kanban/pc/group.ts +211 -0
- package/src/_pkgs/data-view/view-presets/kanban/pc/header.ts +76 -0
- package/src/_pkgs/data-view/view-presets/kanban/pc/kanban-view-ui-logic.ts +331 -0
- package/src/_pkgs/data-view/view-presets/kanban/pc/menu.ts +114 -0
- package/src/_pkgs/data-view/view-presets/kanban/renderer.ts +12 -0
- package/src/_pkgs/data-view/view-presets/kanban/selection.ts +50 -0
- package/src/_pkgs/data-view/view-presets/table/consts.ts +10 -0
- package/src/_pkgs/data-view/view-presets/table/define.ts +51 -0
- package/src/_pkgs/data-view/view-presets/table/effect.ts +11 -0
- package/src/_pkgs/data-view/view-presets/table/index.ts +6 -0
- package/src/_pkgs/data-view/view-presets/table/mobile/cell.ts +170 -0
- package/src/_pkgs/data-view/view-presets/table/mobile/column-header.ts +272 -0
- package/src/_pkgs/data-view/view-presets/table/mobile/effect.ts +15 -0
- package/src/_pkgs/data-view/view-presets/table/mobile/group.ts +166 -0
- package/src/_pkgs/data-view/view-presets/table/mobile/header.ts +90 -0
- package/src/_pkgs/data-view/view-presets/table/mobile/menu.ts +47 -0
- package/src/_pkgs/data-view/view-presets/table/mobile/row.ts +150 -0
- package/src/_pkgs/data-view/view-presets/table/mobile/table-view-style.ts +27 -0
- package/src/_pkgs/data-view/view-presets/table/mobile/table-view-ui-logic.ts +160 -0
- package/src/_pkgs/data-view/view-presets/table/pc/cell.ts +161 -0
- package/src/_pkgs/data-view/view-presets/table/pc/controller/clipboard.ts +323 -0
- package/src/_pkgs/data-view/view-presets/table/pc/controller/drag-to-fill.ts +112 -0
- package/src/_pkgs/data-view/view-presets/table/pc/controller/drag.ts +209 -0
- package/src/_pkgs/data-view/view-presets/table/pc/controller/hotkeys.ts +416 -0
- package/src/_pkgs/data-view/view-presets/table/pc/controller/selection.ts +1180 -0
- package/src/_pkgs/data-view/view-presets/table/pc/effect.ts +36 -0
- package/src/_pkgs/data-view/view-presets/table/pc/group.ts +311 -0
- package/src/_pkgs/data-view/view-presets/table/pc/header/column-header.ts +143 -0
- package/src/_pkgs/data-view/view-presets/table/pc/header/column-renderer.ts +98 -0
- package/src/_pkgs/data-view/view-presets/table/pc/header/database-header-column.ts +500 -0
- package/src/_pkgs/data-view/view-presets/table/pc/header/number-format-bar.ts +145 -0
- package/src/_pkgs/data-view/view-presets/table/pc/header/styles.ts +349 -0
- package/src/_pkgs/data-view/view-presets/table/pc/header/vertical-indicator.ts +163 -0
- package/src/_pkgs/data-view/view-presets/table/pc/menu.ts +132 -0
- package/src/_pkgs/data-view/view-presets/table/pc/row/row-select-checkbox.ts +80 -0
- package/src/_pkgs/data-view/view-presets/table/pc/row/row.ts +306 -0
- package/src/_pkgs/data-view/view-presets/table/pc/table-view-style.ts +112 -0
- package/src/_pkgs/data-view/view-presets/table/pc/table-view-ui-logic.ts +220 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/controller/clipboard.ts +324 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/controller/drag-to-fill.ts +117 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/controller/drag.ts +212 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/controller/hotkeys.ts +418 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/controller/selection.ts +1110 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/effect.ts +55 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/bottom/group-footer-css.ts +33 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/bottom/group-footer.ts +105 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/bottom/stats/column-stats-bar.ts +51 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/bottom/stats/column-stats-column.ts +246 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/top/group-header-css.ts +5 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/top/group-header.ts +138 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/top/group-title-css.ts +63 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/top/group-title.ts +78 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/top/header/column-header-css.ts +42 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/top/header/column-header.ts +135 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/top/header/column-move-preview.ts +98 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/top/header/number-format-bar.ts +147 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/top/header/single-column-header.ts +497 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/group/top/header/vertical-indicator.ts +169 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/row/cell.ts +225 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/row/menu.ts +132 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/row/row-header-css.ts +52 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/row/row-header.ts +128 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/row/row-last.ts +65 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/table-view-css.ts +60 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/table-view-ui-logic.ts +321 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/types.ts +41 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/virtual/batch-task-manager.ts +119 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/virtual/linked-list.ts +169 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/virtual/virtual-cell-css.ts +6 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/virtual/virtual-cell.ts +60 -0
- package/src/_pkgs/data-view/view-presets/table/pc-virtual/virtual/virtual-scroll.ts +959 -0
- package/src/_pkgs/data-view/view-presets/table/renderer.ts +19 -0
- package/src/_pkgs/data-view/view-presets/table/selection.ts +123 -0
- package/src/_pkgs/data-view/view-presets/table/stats/column-stats-bar.ts +55 -0
- package/src/_pkgs/data-view/view-presets/table/stats/column-stats-column.ts +246 -0
- package/src/_pkgs/data-view/view-presets/table/stats/effect.ts +10 -0
- package/src/_pkgs/data-view/view-presets/table/styles.ts +8 -0
- package/src/_pkgs/data-view/view-presets/table/table-view-manager.ts +395 -0
- package/src/_pkgs/data-view/view-presets/table/types.ts +12 -0
- package/src/_pkgs/data-view/view-presets/table/utils.ts +58 -0
- package/src/_pkgs/data-view/widget-presets/effect.ts +41 -0
- package/src/_pkgs/data-view/widget-presets/index.ts +10 -0
- package/src/_pkgs/data-view/widget-presets/quick-setting-bar/context.ts +10 -0
- package/src/_pkgs/data-view/widget-presets/quick-setting-bar/filter/condition-view.ts +311 -0
- package/src/_pkgs/data-view/widget-presets/quick-setting-bar/filter/group-panel-view.ts +480 -0
- package/src/_pkgs/data-view/widget-presets/quick-setting-bar/filter/index.ts +21 -0
- package/src/_pkgs/data-view/widget-presets/quick-setting-bar/filter/list-view.ts +220 -0
- package/src/_pkgs/data-view/widget-presets/quick-setting-bar/filter/root-panel-view.ts +437 -0
- package/src/_pkgs/data-view/widget-presets/quick-setting-bar/index.ts +52 -0
- package/src/_pkgs/data-view/widget-presets/quick-setting-bar/sort/index.ts +32 -0
- package/src/_pkgs/data-view/widget-presets/quick-setting-bar/sort/root-panel.ts +240 -0
- package/src/_pkgs/data-view/widget-presets/tools/index.ts +33 -0
- package/src/_pkgs/data-view/widget-presets/tools/presets/filter/filter.ts +122 -0
- package/src/_pkgs/data-view/widget-presets/tools/presets/search/search.ts +189 -0
- package/src/_pkgs/data-view/widget-presets/tools/presets/sort/sort.ts +127 -0
- package/src/_pkgs/data-view/widget-presets/tools/presets/table-add-row/add-row.ts +51 -0
- package/src/_pkgs/data-view/widget-presets/tools/presets/table-add-row/new-record-preview.ts +44 -0
- package/src/_pkgs/data-view/widget-presets/tools/presets/view-options/view-options.ts +384 -0
- package/src/_pkgs/data-view/widget-presets/tools/tools-view.ts +83 -0
- package/src/_pkgs/data-view/widget-presets/views-bar/index.ts +11 -0
- package/src/_pkgs/data-view/widget-presets/views-bar/views-view.ts +319 -0
- package/src/_pkgs/global/di/consts.ts +4 -0
- package/src/_pkgs/global/di/container.ts +459 -0
- package/src/_pkgs/global/di/error.ts +59 -0
- package/src/_pkgs/global/di/identifier.ts +114 -0
- package/src/_pkgs/global/di/index.ts +7 -0
- package/src/_pkgs/global/di/provider.ts +219 -0
- package/src/_pkgs/global/di/scope.ts +13 -0
- package/src/_pkgs/global/di/stable-hash.ts +59 -0
- package/src/_pkgs/global/di/types.ts +37 -0
- package/src/_pkgs/global/disposable/index.ts +106 -0
- package/src/_pkgs/global/env/index.ts +31 -0
- package/src/_pkgs/global/exceptions/code.ts +30 -0
- package/src/_pkgs/global/exceptions/index.ts +36 -0
- package/src/_pkgs/global/gfx/bound.ts +175 -0
- package/src/_pkgs/global/gfx/curve.ts +402 -0
- package/src/_pkgs/global/gfx/index.ts +8 -0
- package/src/_pkgs/global/gfx/math.ts +660 -0
- package/src/_pkgs/global/gfx/model/bound.ts +373 -0
- package/src/_pkgs/global/gfx/model/index.ts +4 -0
- package/src/_pkgs/global/gfx/model/point-location.ts +94 -0
- package/src/_pkgs/global/gfx/model/point.ts +268 -0
- package/src/_pkgs/global/gfx/model/vec.ts +601 -0
- package/src/_pkgs/global/gfx/perfect-freehand/LICENSE +21 -0
- package/src/_pkgs/global/gfx/perfect-freehand/get-solid-stroke-points.ts +16 -0
- package/src/_pkgs/global/gfx/perfect-freehand/get-stroke-outline-points.ts +398 -0
- package/src/_pkgs/global/gfx/perfect-freehand/get-stroke-points.ts +132 -0
- package/src/_pkgs/global/gfx/perfect-freehand/get-stroke-radius.ts +16 -0
- package/src/_pkgs/global/gfx/perfect-freehand/get-stroke.ts +26 -0
- package/src/_pkgs/global/gfx/perfect-freehand/index.ts +5 -0
- package/src/_pkgs/global/gfx/perfect-freehand/types.ts +46 -0
- package/src/_pkgs/global/gfx/perfect-freehand/vec.ts +178 -0
- package/src/_pkgs/global/gfx/polyline.ts +136 -0
- package/src/_pkgs/global/gfx/svg-path.ts +160 -0
- package/src/_pkgs/global/gfx/xywh.ts +29 -0
- package/src/_pkgs/global/index.ts +1 -0
- package/src/_pkgs/global/lit/index.ts +3 -0
- package/src/_pkgs/global/lit/signal-watcher.ts +73 -0
- package/src/_pkgs/global/lit/watch.ts +68 -0
- package/src/_pkgs/global/lit/with-disposable.ts +53 -0
- package/src/_pkgs/global/types/index.ts +1 -0
- package/src/_pkgs/global/types/virtual-keyboard.ts +43 -0
- package/src/_pkgs/global/utils/crypto.ts +12 -0
- package/src/_pkgs/global/utils/function.ts +36 -0
- package/src/_pkgs/global/utils/index.ts +4 -0
- package/src/_pkgs/global/utils/logger.ts +34 -0
- package/src/_pkgs/global/utils/types.ts +14 -0
- package/src/_pkgs/std/clipboard/clipboard-adapter.ts +33 -0
- package/src/_pkgs/std/clipboard/clipboard.ts +323 -0
- package/src/_pkgs/std/clipboard/index.ts +2 -0
- package/src/_pkgs/std/clipboard/utils.ts +33 -0
- package/src/_pkgs/std/command/consts.ts +1 -0
- package/src/_pkgs/std/command/index.ts +3 -0
- package/src/_pkgs/std/command/manager.ts +237 -0
- package/src/_pkgs/std/command/types.ts +42 -0
- package/src/_pkgs/std/effects.ts +14 -0
- package/src/_pkgs/std/event/base.ts +62 -0
- package/src/_pkgs/std/event/control/clipboard.ts +56 -0
- package/src/_pkgs/std/event/control/keyboard.ts +149 -0
- package/src/_pkgs/std/event/control/pointer.ts +626 -0
- package/src/_pkgs/std/event/control/range.ts +156 -0
- package/src/_pkgs/std/event/dispatcher.ts +435 -0
- package/src/_pkgs/std/event/index.ts +4 -0
- package/src/_pkgs/std/event/keymap.ts +127 -0
- package/src/_pkgs/std/event/state/clipboard.ts +23 -0
- package/src/_pkgs/std/event/state/dnd.ts +23 -0
- package/src/_pkgs/std/event/state/index.ts +5 -0
- package/src/_pkgs/std/event/state/keyboard.ts +27 -0
- package/src/_pkgs/std/event/state/pointer.ts +83 -0
- package/src/_pkgs/std/event/state/source.ts +31 -0
- package/src/_pkgs/std/event/utils.ts +17 -0
- package/src/_pkgs/std/extension/block-view.ts +33 -0
- package/src/_pkgs/std/extension/config.ts +44 -0
- package/src/_pkgs/std/extension/dnd/index.ts +373 -0
- package/src/_pkgs/std/extension/dnd/types.ts +118 -0
- package/src/_pkgs/std/extension/editor-life-cycle.ts +49 -0
- package/src/_pkgs/std/extension/flavour.ts +26 -0
- package/src/_pkgs/std/extension/index.ts +10 -0
- package/src/_pkgs/std/extension/keymap.ts +49 -0
- package/src/_pkgs/std/extension/lifecycle-watcher.ts +70 -0
- package/src/_pkgs/std/extension/service-manager.ts +22 -0
- package/src/_pkgs/std/extension/service.ts +113 -0
- package/src/_pkgs/std/extension/widget-view-map.ts +40 -0
- package/src/_pkgs/std/gfx/controller.ts +284 -0
- package/src/_pkgs/std/gfx/cursor.ts +54 -0
- package/src/_pkgs/std/gfx/extension.ts +53 -0
- package/src/_pkgs/std/gfx/grid.ts +513 -0
- package/src/_pkgs/std/gfx/identifiers.ts +10 -0
- package/src/_pkgs/std/gfx/index.ts +117 -0
- package/src/_pkgs/std/gfx/interactivity/event.ts +48 -0
- package/src/_pkgs/std/gfx/interactivity/extension/base.ts +211 -0
- package/src/_pkgs/std/gfx/interactivity/extension/view.ts +134 -0
- package/src/_pkgs/std/gfx/interactivity/gfx-view-event-handler.ts +108 -0
- package/src/_pkgs/std/gfx/interactivity/index.ts +33 -0
- package/src/_pkgs/std/gfx/interactivity/manager.ts +1111 -0
- package/src/_pkgs/std/gfx/interactivity/resize/manager.ts +657 -0
- package/src/_pkgs/std/gfx/interactivity/types/clone.ts +7 -0
- package/src/_pkgs/std/gfx/interactivity/types/drag.ts +73 -0
- package/src/_pkgs/std/gfx/interactivity/types/resize.ts +41 -0
- package/src/_pkgs/std/gfx/interactivity/types/select.ts +33 -0
- package/src/_pkgs/std/gfx/interactivity/types/view.ts +173 -0
- package/src/_pkgs/std/gfx/keyboard.ts +51 -0
- package/src/_pkgs/std/gfx/layer.ts +909 -0
- package/src/_pkgs/std/gfx/model/base.ts +173 -0
- package/src/_pkgs/std/gfx/model/gfx-block-model.ts +315 -0
- package/src/_pkgs/std/gfx/model/model.ts +18 -0
- package/src/_pkgs/std/gfx/model/surface/decorators/common.ts +53 -0
- package/src/_pkgs/std/gfx/model/surface/decorators/convert.ts +49 -0
- package/src/_pkgs/std/gfx/model/surface/decorators/derive.ts +103 -0
- package/src/_pkgs/std/gfx/model/surface/decorators/field.ts +88 -0
- package/src/_pkgs/std/gfx/model/surface/decorators/index.ts +6 -0
- package/src/_pkgs/std/gfx/model/surface/decorators/local.ts +58 -0
- package/src/_pkgs/std/gfx/model/surface/decorators/observer.ts +122 -0
- package/src/_pkgs/std/gfx/model/surface/decorators/watch.ts +59 -0
- package/src/_pkgs/std/gfx/model/surface/element-model.ts +598 -0
- package/src/_pkgs/std/gfx/model/surface/local-element-model.ts +254 -0
- package/src/_pkgs/std/gfx/model/surface/surface-model.ts +697 -0
- package/src/_pkgs/std/gfx/selection.ts +408 -0
- package/src/_pkgs/std/gfx/surface-middleware.ts +61 -0
- package/src/_pkgs/std/gfx/tool/tool-controller.ts +635 -0
- package/src/_pkgs/std/gfx/tool/tool.ts +125 -0
- package/src/_pkgs/std/gfx/view/view-manager.ts +139 -0
- package/src/_pkgs/std/gfx/view/view.ts +225 -0
- package/src/_pkgs/std/gfx/viewport-element.ts +230 -0
- package/src/_pkgs/std/gfx/viewport.ts +659 -0
- package/src/_pkgs/std/identifier.ts +34 -0
- package/src/_pkgs/std/index.ts +9 -0
- package/src/_pkgs/std/inline/components/embed-gap.ts +12 -0
- package/src/_pkgs/std/inline/components/index.ts +3 -0
- package/src/_pkgs/std/inline/components/v-element.ts +113 -0
- package/src/_pkgs/std/inline/components/v-line.ts +156 -0
- package/src/_pkgs/std/inline/components/v-text.ts +34 -0
- package/src/_pkgs/std/inline/consts.ts +6 -0
- package/src/_pkgs/std/inline/extensions/index.ts +4 -0
- package/src/_pkgs/std/inline/extensions/inline-manager.ts +124 -0
- package/src/_pkgs/std/inline/extensions/inline-spec.ts +49 -0
- package/src/_pkgs/std/inline/extensions/markdown-matcher.ts +30 -0
- package/src/_pkgs/std/inline/extensions/type.ts +44 -0
- package/src/_pkgs/std/inline/index.ts +8 -0
- package/src/_pkgs/std/inline/inline-editor.ts +296 -0
- package/src/_pkgs/std/inline/range/active.ts +19 -0
- package/src/_pkgs/std/inline/range/consts.ts +9 -0
- package/src/_pkgs/std/inline/range/index.ts +4 -0
- package/src/_pkgs/std/inline/range/inline-range-provider.ts +118 -0
- package/src/_pkgs/std/inline/range/range-binding.ts +392 -0
- package/src/_pkgs/std/inline/range/range-manager.ts +261 -0
- package/src/_pkgs/std/inline/services/attribute.ts +106 -0
- package/src/_pkgs/std/inline/services/delta.ts +153 -0
- package/src/_pkgs/std/inline/services/event.ts +382 -0
- package/src/_pkgs/std/inline/services/hook.ts +35 -0
- package/src/_pkgs/std/inline/services/index.ts +6 -0
- package/src/_pkgs/std/inline/services/range.ts +394 -0
- package/src/_pkgs/std/inline/services/render.ts +185 -0
- package/src/_pkgs/std/inline/services/text.ts +140 -0
- package/src/_pkgs/std/inline/types.ts +37 -0
- package/src/_pkgs/std/inline/utils/attribute-renderer.ts +49 -0
- package/src/_pkgs/std/inline/utils/delta-convert.ts +63 -0
- package/src/_pkgs/std/inline/utils/dynamic-schema.ts +26 -0
- package/src/_pkgs/std/inline/utils/embed.ts +47 -0
- package/src/_pkgs/std/inline/utils/guard.ts +29 -0
- package/src/_pkgs/std/inline/utils/index.ts +11 -0
- package/src/_pkgs/std/inline/utils/inline-range.ts +74 -0
- package/src/_pkgs/std/inline/utils/point-conversion.ts +191 -0
- package/src/_pkgs/std/inline/utils/query.ts +20 -0
- package/src/_pkgs/std/inline/utils/range-conversion.ts +368 -0
- package/src/_pkgs/std/inline/utils/renderer.ts +18 -0
- package/src/_pkgs/std/inline/utils/text.ts +25 -0
- package/src/_pkgs/std/inline/utils/transform-input.ts +78 -0
- package/src/_pkgs/std/scope/index.ts +1 -0
- package/src/_pkgs/std/scope/std-scope.ts +169 -0
- package/src/_pkgs/std/selection/block.ts +33 -0
- package/src/_pkgs/std/selection/cursor.ts +45 -0
- package/src/_pkgs/std/selection/index.ts +4 -0
- package/src/_pkgs/std/selection/surface.ts +72 -0
- package/src/_pkgs/std/selection/text.ts +117 -0
- package/src/_pkgs/std/spec/index.ts +1 -0
- package/src/_pkgs/std/spec/type.ts +5 -0
- package/src/_pkgs/std/utils/fractional-indexing.ts +66 -0
- package/src/_pkgs/std/utils/gfx.ts +32 -0
- package/src/_pkgs/std/utils/layer.ts +175 -0
- package/src/_pkgs/std/utils/tree.ts +137 -0
- package/src/_pkgs/std/view/decorators/index.ts +1 -0
- package/src/_pkgs/std/view/decorators/required.ts +58 -0
- package/src/_pkgs/std/view/element/block-component.ts +315 -0
- package/src/_pkgs/std/view/element/consts.ts +10 -0
- package/src/_pkgs/std/view/element/gfx-block-component.ts +303 -0
- package/src/_pkgs/std/view/element/index.ts +6 -0
- package/src/_pkgs/std/view/element/lit-host.ts +197 -0
- package/src/_pkgs/std/view/element/shadowless-element.ts +97 -0
- package/src/_pkgs/std/view/element/widget-component.ts +98 -0
- package/src/_pkgs/std/view/index.ts +3 -0
- package/src/_pkgs/std/view/view-store.ts +145 -0
- package/src/_pkgs/store/adapter/assets.ts +159 -0
- package/src/_pkgs/store/adapter/base.ts +324 -0
- package/src/_pkgs/store/adapter/context.ts +119 -0
- package/src/_pkgs/store/adapter/index.ts +3 -0
- package/src/_pkgs/store/consts.ts +7 -0
- package/src/_pkgs/store/extension/extension.ts +134 -0
- package/src/_pkgs/store/extension/history/history-extension.ts +79 -0
- package/src/_pkgs/store/extension/history/index.ts +1 -0
- package/src/_pkgs/store/extension/index.ts +6 -0
- package/src/_pkgs/store/extension/schema.ts +20 -0
- package/src/_pkgs/store/extension/selection/base.ts +46 -0
- package/src/_pkgs/store/extension/selection/identifier.ts +17 -0
- package/src/_pkgs/store/extension/selection/index.ts +4 -0
- package/src/_pkgs/store/extension/selection/selection-extension.ts +189 -0
- package/src/_pkgs/store/extension/selection/types.ts +9 -0
- package/src/_pkgs/store/extension/store-extension.ts +61 -0
- package/src/_pkgs/store/extension/workspace/doc.ts +38 -0
- package/src/_pkgs/store/extension/workspace/index.ts +3 -0
- package/src/_pkgs/store/extension/workspace/workspace-meta.ts +39 -0
- package/src/_pkgs/store/extension/workspace/workspace.ts +30 -0
- package/src/_pkgs/store/index.ts +27 -0
- package/src/_pkgs/store/model/block/block-model.ts +158 -0
- package/src/_pkgs/store/model/block/block.ts +65 -0
- package/src/_pkgs/store/model/block/draft.ts +42 -0
- package/src/_pkgs/store/model/block/flat-sync-controller.ts +173 -0
- package/src/_pkgs/store/model/block/index.ts +5 -0
- package/src/_pkgs/store/model/block/sync-controller.ts +391 -0
- package/src/_pkgs/store/model/block/types.ts +23 -0
- package/src/_pkgs/store/model/block/zod.ts +117 -0
- package/src/_pkgs/store/model/index.ts +3 -0
- package/src/_pkgs/store/model/store/crud.ts +397 -0
- package/src/_pkgs/store/model/store/identifier.ts +5 -0
- package/src/_pkgs/store/model/store/index.ts +3 -0
- package/src/_pkgs/store/model/store/query.ts +82 -0
- package/src/_pkgs/store/model/store/store.ts +1298 -0
- package/src/_pkgs/store/model/store/utils.ts +36 -0
- package/src/_pkgs/store/model/store-container.ts +86 -0
- package/src/_pkgs/store/reactive/base-reactive-data.ts +76 -0
- package/src/_pkgs/store/reactive/boxed.ts +137 -0
- package/src/_pkgs/store/reactive/flat-native-y/index.ts +147 -0
- package/src/_pkgs/store/reactive/flat-native-y/initialize.ts +59 -0
- package/src/_pkgs/store/reactive/flat-native-y/proxy.ts +203 -0
- package/src/_pkgs/store/reactive/flat-native-y/signal-updater.ts +58 -0
- package/src/_pkgs/store/reactive/flat-native-y/types.ts +26 -0
- package/src/_pkgs/store/reactive/flat-native-y/utils.ts +50 -0
- package/src/_pkgs/store/reactive/flat-native-y/y-event-handler.ts +117 -0
- package/src/_pkgs/store/reactive/flat-native-y/y-map-updater.ts +61 -0
- package/src/_pkgs/store/reactive/index.ts +8 -0
- package/src/_pkgs/store/reactive/is-pure-object.ts +8 -0
- package/src/_pkgs/store/reactive/memory.ts +4 -0
- package/src/_pkgs/store/reactive/native-y.ts +74 -0
- package/src/_pkgs/store/reactive/proxy.ts +390 -0
- package/src/_pkgs/store/reactive/stash-pop.ts +17 -0
- package/src/_pkgs/store/reactive/text/attributes.ts +12 -0
- package/src/_pkgs/store/reactive/text/index.ts +3 -0
- package/src/_pkgs/store/reactive/text/text.ts +472 -0
- package/src/_pkgs/store/reactive/text/types.ts +22 -0
- package/src/_pkgs/store/reactive/types.ts +19 -0
- package/src/_pkgs/store/schema/error.ts +10 -0
- package/src/_pkgs/store/schema/index.ts +1 -0
- package/src/_pkgs/store/schema/schema.ts +325 -0
- package/src/_pkgs/store/test/index.ts +10 -0
- package/src/_pkgs/store/test/test-doc.ts +182 -0
- package/src/_pkgs/store/test/test-meta.ts +179 -0
- package/src/_pkgs/store/test/test-workspace.ts +231 -0
- package/src/_pkgs/store/transformer/assets.ts +105 -0
- package/src/_pkgs/store/transformer/base.ts +89 -0
- package/src/_pkgs/store/transformer/index.ts +7 -0
- package/src/_pkgs/store/transformer/json.ts +51 -0
- package/src/_pkgs/store/transformer/middleware.ts +120 -0
- package/src/_pkgs/store/transformer/slice.ts +42 -0
- package/src/_pkgs/store/transformer/transformer.ts +660 -0
- package/src/_pkgs/store/transformer/type.ts +74 -0
- package/src/_pkgs/store/utils/id-generator.ts +12 -0
- package/src/_pkgs/store/yjs/awareness.ts +69 -0
- package/src/_pkgs/store/yjs/index.ts +2 -0
- package/src/_pkgs/store/yjs/utils.ts +11 -0
- package/src/_pkgs/sync/awareness/engine.ts +18 -0
- package/src/_pkgs/sync/awareness/impl/broadcast.ts +73 -0
- package/src/_pkgs/sync/awareness/impl/index.ts +1 -0
- package/src/_pkgs/sync/awareness/index.ts +3 -0
- package/src/_pkgs/sync/awareness/source.ts +6 -0
- package/src/_pkgs/sync/blob/engine.ts +205 -0
- package/src/_pkgs/sync/blob/impl/index.ts +2 -0
- package/src/_pkgs/sync/blob/impl/indexeddb.ts +39 -0
- package/src/_pkgs/sync/blob/impl/memory.ts +27 -0
- package/src/_pkgs/sync/blob/index.ts +3 -0
- package/src/_pkgs/sync/blob/source.ts +23 -0
- package/src/_pkgs/sync/doc/consts.ts +15 -0
- package/src/_pkgs/sync/doc/engine.ts +291 -0
- package/src/_pkgs/sync/doc/impl/broadcast.ts +96 -0
- package/src/_pkgs/sync/doc/impl/index.ts +3 -0
- package/src/_pkgs/sync/doc/impl/indexeddb.ts +116 -0
- package/src/_pkgs/sync/doc/impl/noop.ts +18 -0
- package/src/_pkgs/sync/doc/index.ts +21 -0
- package/src/_pkgs/sync/doc/peer.ts +451 -0
- package/src/_pkgs/sync/doc/source.ts +28 -0
- package/src/_pkgs/sync/index.ts +3 -0
- package/src/_pkgs/sync/utils/async-queue.ts +102 -0
- package/src/_pkgs/sync/utils/throw-if-aborted.ts +9 -0
- package/src/blocks/attachment/index.ts +1 -0
- package/src/blocks/attachment/store.ts +1 -0
- package/src/blocks/attachment/view.ts +1 -0
- package/src/blocks/bookmark/index.ts +1 -0
- package/src/blocks/bookmark/store.ts +1 -0
- package/src/blocks/bookmark/view.ts +1 -0
- package/src/blocks/callout/index.ts +1 -0
- package/src/blocks/callout/store.ts +1 -0
- package/src/blocks/callout/view.ts +1 -0
- package/src/blocks/code/index.ts +1 -0
- package/src/blocks/code/store.ts +1 -0
- package/src/blocks/code/view.ts +1 -0
- package/src/blocks/data-view/index.ts +1 -0
- package/src/blocks/data-view/store.ts +1 -0
- package/src/blocks/data-view/view.ts +1 -0
- package/src/blocks/database/index.ts +1 -0
- package/src/blocks/database/store.ts +1 -0
- package/src/blocks/database/view.ts +1 -0
- package/src/blocks/divider/index.ts +1 -0
- package/src/blocks/divider/store.ts +1 -0
- package/src/blocks/divider/view.ts +1 -0
- package/src/blocks/edgeless-text/index.ts +1 -0
- package/src/blocks/edgeless-text/store.ts +1 -0
- package/src/blocks/edgeless-text/view.ts +1 -0
- package/src/blocks/embed/index.ts +1 -0
- package/src/blocks/embed/store.ts +1 -0
- package/src/blocks/embed/view.ts +1 -0
- package/src/blocks/embed-doc/index.ts +1 -0
- package/src/blocks/embed-doc/store.ts +1 -0
- package/src/blocks/embed-doc/view.ts +1 -0
- package/src/blocks/frame/index.ts +1 -0
- package/src/blocks/frame/store.ts +1 -0
- package/src/blocks/frame/view.ts +1 -0
- package/src/blocks/image/index.ts +1 -0
- package/src/blocks/image/store.ts +1 -0
- package/src/blocks/image/view.ts +1 -0
- package/src/blocks/latex/index.ts +1 -0
- package/src/blocks/latex/store.ts +1 -0
- package/src/blocks/latex/view.ts +1 -0
- package/src/blocks/list/index.ts +1 -0
- package/src/blocks/list/store.ts +1 -0
- package/src/blocks/list/view.ts +1 -0
- package/src/blocks/note/index.ts +1 -0
- package/src/blocks/note/store.ts +1 -0
- package/src/blocks/note/view.ts +1 -0
- package/src/blocks/paragraph/index.ts +1 -0
- package/src/blocks/paragraph/store.ts +1 -0
- package/src/blocks/paragraph/view.ts +1 -0
- package/src/blocks/root/index.ts +1 -0
- package/src/blocks/root/store.ts +1 -0
- package/src/blocks/root/view.ts +1 -0
- package/src/blocks/surface/index.ts +1 -0
- package/src/blocks/surface/store.ts +1 -0
- package/src/blocks/surface/view.ts +1 -0
- package/src/blocks/surface-ref/index.ts +1 -0
- package/src/blocks/surface-ref/store.ts +1 -0
- package/src/blocks/surface-ref/view.ts +1 -0
- package/src/blocks/table/index.ts +1 -0
- package/src/blocks/table/store.ts +1 -0
- package/src/blocks/table/view.ts +1 -0
- package/src/components/block-selection.ts +1 -0
- package/src/components/block-zero-width.ts +1 -0
- package/src/components/caption.ts +1 -0
- package/src/components/card-style-dropdown-menu.ts +1 -0
- package/src/components/citation.ts +1 -0
- package/src/components/color-picker.ts +1 -0
- package/src/components/context-menu.ts +1 -0
- package/src/components/date-picker.ts +1 -0
- package/src/components/drop-indicator.ts +1 -0
- package/src/components/edgeless-line-styles-panel.ts +1 -0
- package/src/components/edgeless-line-width-panel.ts +1 -0
- package/src/components/edgeless-shape-color-picker.ts +1 -0
- package/src/components/embed-card-modal.ts +1 -0
- package/src/components/filterable-list.ts +1 -0
- package/src/components/highlight-dropdown-menu.ts +1 -0
- package/src/components/hover.ts +1 -0
- package/src/components/icon-button.ts +1 -0
- package/src/components/icons.ts +1 -0
- package/src/components/link-preview.ts +1 -0
- package/src/components/linked-doc-title.ts +1 -0
- package/src/components/notification.ts +1 -0
- package/src/components/open-doc-dropdown-menu.ts +1 -0
- package/src/components/peek.ts +1 -0
- package/src/components/portal.ts +1 -0
- package/src/components/resource.ts +1 -0
- package/src/components/size-dropdown-menu.ts +1 -0
- package/src/components/smooth-corner.ts +1 -0
- package/src/components/toast.ts +1 -0
- package/src/components/toggle-button.ts +1 -0
- package/src/components/toggle-switch.ts +1 -0
- package/src/components/toolbar.ts +1 -0
- package/src/components/tooltip-content-with-shortcut.ts +1 -0
- package/src/components/view-dropdown-menu.ts +1 -0
- package/src/data-view/effects.ts +1 -0
- package/src/data-view/index.ts +1 -0
- package/src/effects.ts +34 -0
- package/src/ext-loader/index.ts +1 -0
- package/src/extensions/store.ts +83 -0
- package/src/extensions/view.ts +143 -0
- package/src/flags.ts +60 -0
- package/src/foundation/clipboard.ts +1 -0
- package/src/foundation/store.ts +1 -0
- package/src/foundation/view.ts +1 -0
- package/src/fragments/adapter-panel/index.ts +1 -0
- package/src/fragments/adapter-panel/view.ts +1 -0
- package/src/fragments/doc-title/index.ts +1 -0
- package/src/fragments/doc-title/view.ts +1 -0
- package/src/fragments/frame-panel/index.ts +1 -0
- package/src/fragments/frame-panel/view.ts +1 -0
- package/src/fragments/outline/index.ts +1 -0
- package/src/fragments/outline/view.ts +1 -0
- package/src/gfx/brush/index.ts +1 -0
- package/src/gfx/brush/store.ts +1 -0
- package/src/gfx/brush/view.ts +1 -0
- package/src/gfx/connector/index.ts +1 -0
- package/src/gfx/connector/store.ts +1 -0
- package/src/gfx/connector/view.ts +1 -0
- package/src/gfx/group/index.ts +1 -0
- package/src/gfx/group/store.ts +1 -0
- package/src/gfx/group/view.ts +1 -0
- package/src/gfx/link/index.ts +1 -0
- package/src/gfx/link/view.ts +1 -0
- package/src/gfx/mindmap/index.ts +1 -0
- package/src/gfx/mindmap/store.ts +1 -0
- package/src/gfx/mindmap/view.ts +1 -0
- package/src/gfx/note/index.ts +1 -0
- package/src/gfx/note/view.ts +1 -0
- package/src/gfx/pointer/index.ts +1 -0
- package/src/gfx/pointer/view.ts +1 -0
- package/src/gfx/shape/index.ts +1 -0
- package/src/gfx/shape/store.ts +1 -0
- package/src/gfx/shape/view.ts +1 -0
- package/src/gfx/template/index.ts +1 -0
- package/src/gfx/template/view.ts +1 -0
- package/src/gfx/text/index.ts +1 -0
- package/src/gfx/text/store.ts +1 -0
- package/src/gfx/text/view.ts +1 -0
- package/src/gfx/turbo-renderer.ts +1 -0
- package/src/global/di.ts +1 -0
- package/src/global/disposable.ts +1 -0
- package/src/global/env.ts +1 -0
- package/src/global/exceptions.ts +1 -0
- package/src/global/gfx.ts +1 -0
- package/src/global/index.ts +1 -0
- package/src/global/lit.ts +1 -0
- package/src/global/types.ts +1 -0
- package/src/global/utils.ts +1 -0
- package/src/index.ts +1 -0
- package/src/inlines/comment/index.ts +1 -0
- package/src/inlines/footnote/index.ts +1 -0
- package/src/inlines/footnote/store.ts +1 -0
- package/src/inlines/footnote/view.ts +1 -0
- package/src/inlines/latex/index.ts +1 -0
- package/src/inlines/latex/store.ts +1 -0
- package/src/inlines/latex/view.ts +1 -0
- package/src/inlines/link/index.ts +1 -0
- package/src/inlines/link/store.ts +1 -0
- package/src/inlines/link/view.ts +1 -0
- package/src/inlines/mention/index.ts +1 -0
- package/src/inlines/mention/view.ts +1 -0
- package/src/inlines/preset/index.ts +1 -0
- package/src/inlines/preset/store.ts +1 -0
- package/src/inlines/preset/view.ts +1 -0
- package/src/inlines/reference/index.ts +1 -0
- package/src/inlines/reference/store.ts +1 -0
- package/src/inlines/reference/view.ts +1 -0
- package/src/model/index.ts +1 -0
- package/src/rich-text/effects.ts +1 -0
- package/src/rich-text/index.ts +1 -0
- package/src/schemas.ts +78 -0
- package/src/shared/adapters.ts +1 -0
- package/src/shared/commands.ts +1 -0
- package/src/shared/consts.ts +1 -0
- package/src/shared/selection.ts +1 -0
- package/src/shared/services.ts +1 -0
- package/src/shared/styles.ts +1 -0
- package/src/shared/theme.ts +1 -0
- package/src/shared/types.ts +1 -0
- package/src/shared/utils.ts +1 -0
- package/src/std/effects.ts +1 -0
- package/src/std/gfx.ts +1 -0
- package/src/std/index.ts +1 -0
- package/src/std/inline.ts +1 -0
- package/src/store/index.ts +3 -0
- package/src/store/test.ts +1 -0
- package/src/sync/index.ts +1 -0
- package/src/widgets/drag-handle/index.ts +1 -0
- package/src/widgets/drag-handle/view.ts +1 -0
- package/src/widgets/edgeless-auto-connect/index.ts +1 -0
- package/src/widgets/edgeless-auto-connect/view.ts +1 -0
- package/src/widgets/edgeless-dragging-area/index.ts +1 -0
- package/src/widgets/edgeless-dragging-area/view.ts +1 -0
- package/src/widgets/edgeless-selected-rect/index.ts +1 -0
- package/src/widgets/edgeless-selected-rect/view.ts +1 -0
- package/src/widgets/edgeless-toolbar/index.ts +1 -0
- package/src/widgets/edgeless-toolbar/view.ts +1 -0
- package/src/widgets/edgeless-zoom-toolbar/index.ts +1 -0
- package/src/widgets/edgeless-zoom-toolbar/view.ts +1 -0
- package/src/widgets/frame-title/index.ts +1 -0
- package/src/widgets/frame-title/view.ts +1 -0
- package/src/widgets/keyboard-toolbar/index.ts +1 -0
- package/src/widgets/keyboard-toolbar/view.ts +1 -0
- package/src/widgets/linked-doc/index.ts +1 -0
- package/src/widgets/linked-doc/view.ts +1 -0
- package/src/widgets/note-slicer/index.ts +1 -0
- package/src/widgets/note-slicer/view.ts +1 -0
- package/src/widgets/page-dragging-area/index.ts +1 -0
- package/src/widgets/page-dragging-area/view.ts +1 -0
- package/src/widgets/remote-selection/index.ts +1 -0
- package/src/widgets/remote-selection/view.ts +1 -0
- package/src/widgets/scroll-anchoring/index.ts +1 -0
- package/src/widgets/scroll-anchoring/view.ts +1 -0
- package/src/widgets/slash-menu/index.ts +1 -0
- package/src/widgets/slash-menu/view.ts +1 -0
- package/src/widgets/toolbar/index.ts +1 -0
- package/src/widgets/toolbar/view.ts +1 -0
- package/src/widgets/viewport-overlay/index.ts +1 -0
- package/src/widgets/viewport-overlay/view.ts +1 -0
|
@@ -0,0 +1,2232 @@
|
|
|
1
|
+
import { embedNoteContentStyles } from '../../affine-block-embed/index.js';
|
|
2
|
+
import { unsafeCSSVarV2 } from '../../affine-shared/theme/index.js';
|
|
3
|
+
import { css, html } from 'lit';
|
|
4
|
+
|
|
5
|
+
export const styles = css`
|
|
6
|
+
.affine-embed-linked-doc-block {
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
display: flex;
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
border-radius: 8px;
|
|
12
|
+
border: 1px solid var(--affine-background-tertiary-color);
|
|
13
|
+
background: ${unsafeCSSVarV2('layer/background/primary')};
|
|
14
|
+
user-select: none;
|
|
15
|
+
position: relative;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.affine-embed-linked-doc-block.comment-highlighted {
|
|
19
|
+
outline: 2px solid ${unsafeCSSVarV2('block/comment/highlightUnderline')};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.affine-embed-linked-doc-block.in-canvas {
|
|
23
|
+
border: 1px solid ${unsafeCSSVarV2('layer/insideBorder/border')};
|
|
24
|
+
background: ${unsafeCSSVarV2('layer/background/linkedDocOnEdgeless')};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.affine-embed-linked-doc-content {
|
|
28
|
+
flex-grow: 1;
|
|
29
|
+
height: 100%;
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
align-self: stretch;
|
|
33
|
+
gap: 4px;
|
|
34
|
+
padding: 12px;
|
|
35
|
+
max-width: 100%;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.affine-embed-linked-doc-content-title {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: row;
|
|
41
|
+
gap: 8px;
|
|
42
|
+
align-items: center;
|
|
43
|
+
align-self: stretch;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.affine-embed-linked-doc-content-title-icon {
|
|
47
|
+
display: flex;
|
|
48
|
+
width: 16px;
|
|
49
|
+
height: 16px;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
align-items: center;
|
|
52
|
+
color: ${unsafeCSSVarV2('icon/primary')};
|
|
53
|
+
}
|
|
54
|
+
.affine-embed-linked-doc-content-title-icon img,
|
|
55
|
+
.affine-embed-linked-doc-content-title-icon object,
|
|
56
|
+
.affine-embed-linked-doc-content-title-icon svg {
|
|
57
|
+
width: 16px;
|
|
58
|
+
height: 16px;
|
|
59
|
+
fill: var(--affine-background-primary-color);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.affine-embed-linked-doc-content-title-text {
|
|
63
|
+
flex-grow: 1;
|
|
64
|
+
position: relative;
|
|
65
|
+
height: 22px;
|
|
66
|
+
word-break: break-word;
|
|
67
|
+
overflow: hidden;
|
|
68
|
+
text-overflow: ellipsis;
|
|
69
|
+
color: var(--affine-text-primary-color);
|
|
70
|
+
font-family: var(--affine-font-family);
|
|
71
|
+
font-size: var(--affine-font-sm);
|
|
72
|
+
font-style: normal;
|
|
73
|
+
font-weight: 600;
|
|
74
|
+
line-height: 22px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.affine-embed-linked-doc-content-note.render {
|
|
78
|
+
display: none;
|
|
79
|
+
overflow: hidden;
|
|
80
|
+
pointer-events: none;
|
|
81
|
+
flex: 1;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
${embedNoteContentStyles}
|
|
85
|
+
|
|
86
|
+
.affine-embed-linked-doc-content-note.alias,
|
|
87
|
+
.affine-embed-linked-doc-content-note.default {
|
|
88
|
+
flex: 1;
|
|
89
|
+
display: -webkit-box;
|
|
90
|
+
-webkit-line-clamp: 2;
|
|
91
|
+
-webkit-box-orient: vertical;
|
|
92
|
+
position: relative;
|
|
93
|
+
white-space: normal;
|
|
94
|
+
word-break: break-word;
|
|
95
|
+
overflow: hidden;
|
|
96
|
+
text-overflow: ellipsis;
|
|
97
|
+
color: var(--affine-placeholder-color);
|
|
98
|
+
font-family: var(--affine-font-family);
|
|
99
|
+
font-size: var(--affine-font-xs);
|
|
100
|
+
font-style: normal;
|
|
101
|
+
font-weight: 400;
|
|
102
|
+
line-height: 20px;
|
|
103
|
+
|
|
104
|
+
p {
|
|
105
|
+
padding: 0 2px;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.affine-embed-linked-doc-content-note.alias {
|
|
110
|
+
color: var(--affine-text-primary-color);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.affine-embed-linked-doc-card-content-reload,
|
|
114
|
+
.affine-embed-linked-doc-content-date {
|
|
115
|
+
display: flex;
|
|
116
|
+
height: 20px;
|
|
117
|
+
align-items: flex-end;
|
|
118
|
+
justify-content: flex-start;
|
|
119
|
+
gap: 8px;
|
|
120
|
+
width: max-content;
|
|
121
|
+
max-width: 100%;
|
|
122
|
+
line-height: 20px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.affine-embed-linked-doc-card-content-reload-button {
|
|
126
|
+
display: flex;
|
|
127
|
+
flex-direction: row;
|
|
128
|
+
align-items: center;
|
|
129
|
+
gap: 4px;
|
|
130
|
+
cursor: pointer;
|
|
131
|
+
color: ${unsafeCSSVarV2('button/primary')};
|
|
132
|
+
}
|
|
133
|
+
.affine-embed-linked-doc-card-content-reload-button svg {
|
|
134
|
+
width: 12px;
|
|
135
|
+
height: 12px;
|
|
136
|
+
}
|
|
137
|
+
.affine-embed-linked-doc-card-content-reload-button > span {
|
|
138
|
+
display: -webkit-box;
|
|
139
|
+
-webkit-line-clamp: 1;
|
|
140
|
+
-webkit-box-orient: vertical;
|
|
141
|
+
word-break: break-all;
|
|
142
|
+
white-space: normal;
|
|
143
|
+
overflow: hidden;
|
|
144
|
+
text-overflow: ellipsis;
|
|
145
|
+
font-family: var(--affine-font-family);
|
|
146
|
+
font-size: var(--affine-font-xs);
|
|
147
|
+
font-style: normal;
|
|
148
|
+
font-weight: 500;
|
|
149
|
+
line-height: 20px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.affine-embed-linked-doc-content-date > span {
|
|
153
|
+
display: -webkit-box;
|
|
154
|
+
-webkit-line-clamp: 1;
|
|
155
|
+
-webkit-box-orient: vertical;
|
|
156
|
+
word-break: break-all;
|
|
157
|
+
white-space: normal;
|
|
158
|
+
overflow: hidden;
|
|
159
|
+
text-overflow: ellipsis;
|
|
160
|
+
color: var(--affine-text-secondary-color);
|
|
161
|
+
font-family: var(--affine-font-family);
|
|
162
|
+
font-size: var(--affine-font-xs);
|
|
163
|
+
font-style: normal;
|
|
164
|
+
font-weight: 400;
|
|
165
|
+
line-height: 20px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.affine-embed-linked-doc-banner {
|
|
169
|
+
margin: 12px 12px 0px 0px;
|
|
170
|
+
width: 204px;
|
|
171
|
+
min-width: 204px;
|
|
172
|
+
max-width: 100%;
|
|
173
|
+
height: 102px;
|
|
174
|
+
pointer-events: none;
|
|
175
|
+
}
|
|
176
|
+
.affine-embed-linked-doc-banner img,
|
|
177
|
+
.affine-embed-linked-doc-banner object,
|
|
178
|
+
.affine-embed-linked-doc-banner svg {
|
|
179
|
+
width: 204px;
|
|
180
|
+
max-width: 100%;
|
|
181
|
+
height: 102px;
|
|
182
|
+
object-fit: cover;
|
|
183
|
+
border-radius: 4px;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.affine-embed-linked-doc-block.loading {
|
|
187
|
+
.affine-embed-linked-doc-content-date {
|
|
188
|
+
display: none;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.affine-embed-linked-doc-block:not(.loading):not(.note-empty) {
|
|
193
|
+
.affine-embed-linked-doc-content-note.render {
|
|
194
|
+
display: block;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.affine-embed-linked-doc-content-note.default {
|
|
198
|
+
display: none;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.affine-embed-linked-doc-block:not(.loading):not(.banner-empty) {
|
|
203
|
+
.affine-embed-linked-doc-banner.default {
|
|
204
|
+
display: none;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.affine-embed-linked-doc-block:not(.loading):not(.deleted):not(.error):not(
|
|
209
|
+
.empty
|
|
210
|
+
).banner-empty {
|
|
211
|
+
.affine-embed-linked-doc-content {
|
|
212
|
+
width: 100%;
|
|
213
|
+
height: 100%;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.affine-embed-linked-doc-banner.default {
|
|
217
|
+
display: none;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
.affine-embed-linked-doc-block:not(.loading).error,
|
|
221
|
+
.affine-embed-linked-doc-block:not(.loading).deleted {
|
|
222
|
+
background: var(--affine-background-secondary-color);
|
|
223
|
+
|
|
224
|
+
.affine-embed-linked-doc-content-note.render {
|
|
225
|
+
display: none;
|
|
226
|
+
}
|
|
227
|
+
.affine-embed-linked-doc-content-note.default {
|
|
228
|
+
display: block;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.affine-embed-linked-doc-content-date {
|
|
232
|
+
display: none;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.affine-embed-linked-doc-banner.default {
|
|
236
|
+
display: block;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
.affine-embed-linked-doc-block.horizontalThin {
|
|
240
|
+
.affine-embed-linked-doc-banner {
|
|
241
|
+
height: 66px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.affine-embed-linked-doc-banner img,
|
|
245
|
+
.affine-embed-linked-doc-banner object,
|
|
246
|
+
.affine-embed-linked-doc-banner svg {
|
|
247
|
+
height: 66px;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.affine-embed-linked-doc-content {
|
|
251
|
+
gap: 12px;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
.affine-embed-linked-doc-block.list {
|
|
255
|
+
.affine-embed-linked-doc-content {
|
|
256
|
+
width: 100%;
|
|
257
|
+
flex-direction: row;
|
|
258
|
+
align-items: center;
|
|
259
|
+
justify-content: space-between;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.affine-embed-linked-doc-content-title {
|
|
263
|
+
width: calc(100% - 204px);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.affine-embed-linked-doc-content-note {
|
|
267
|
+
display: none !important;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.affine-embed-linked-doc-content-date {
|
|
271
|
+
width: 204px;
|
|
272
|
+
justify-content: flex-end;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.affine-embed-linked-doc-banner {
|
|
276
|
+
display: none !important;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
.affine-embed-linked-doc-block.vertical {
|
|
280
|
+
flex-direction: column-reverse;
|
|
281
|
+
|
|
282
|
+
.affine-embed-linked-doc-content {
|
|
283
|
+
width: 100%;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.affine-embed-linked-doc-banner {
|
|
287
|
+
width: 340px;
|
|
288
|
+
height: 170px;
|
|
289
|
+
margin-left: 12px;
|
|
290
|
+
}
|
|
291
|
+
.affine-embed-linked-doc-banner img,
|
|
292
|
+
.affine-embed-linked-doc-banner object,
|
|
293
|
+
.affine-embed-linked-doc-banner svg {
|
|
294
|
+
width: 340px;
|
|
295
|
+
height: 170px;
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
.affine-embed-linked-doc-block.vertical:not(.loading):not(.deleted):not(
|
|
299
|
+
.error
|
|
300
|
+
):not(.empty).banner-empty {
|
|
301
|
+
.affine-embed-linked-doc-content {
|
|
302
|
+
width: 100%;
|
|
303
|
+
height: 100%;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.affine-embed-linked-doc-banner.default {
|
|
307
|
+
display: none;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.affine-embed-linked-doc-content-note {
|
|
311
|
+
-webkit-line-clamp: 16;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.affine-embed-linked-doc-content-date {
|
|
315
|
+
flex-grow: unset;
|
|
316
|
+
align-items: center;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
.affine-embed-linked-doc-block.cube {
|
|
320
|
+
.affine-embed-linked-doc-content {
|
|
321
|
+
width: 100%;
|
|
322
|
+
flex-direction: column;
|
|
323
|
+
align-items: flex-start;
|
|
324
|
+
justify-content: space-between;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.affine-embed-linked-doc-content-title {
|
|
328
|
+
flex-direction: column;
|
|
329
|
+
gap: 4px;
|
|
330
|
+
align-items: flex-start;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.affine-embed-linked-doc-content-title-text {
|
|
334
|
+
-webkit-line-clamp: 2;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.affine-embed-linked-doc-content-note {
|
|
338
|
+
display: none !important;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.affine-embed-linked-doc-banner {
|
|
342
|
+
display: none !important;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
`;
|
|
346
|
+
|
|
347
|
+
export const LinkedDocDeletedIcon = html`<svg
|
|
348
|
+
width="16"
|
|
349
|
+
height="16"
|
|
350
|
+
viewBox="0 0 16 16"
|
|
351
|
+
fill="none"
|
|
352
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
353
|
+
>
|
|
354
|
+
<path
|
|
355
|
+
fill-rule="evenodd"
|
|
356
|
+
clip-rule="evenodd"
|
|
357
|
+
d="M7.33331 1.5C6.32079 1.5 5.49997 2.32081 5.49997 3.33333V4.09994H2.66664C2.35368 4.09994 2.09998 4.35364 2.09998 4.6666C2.09998 4.97956 2.35368 5.23327 2.66664 5.23327H2.87251L3.41279 12.7973C3.48132 13.7567 4.27963 14.5 5.24147 14.5H10.7585C11.7203 14.5 12.5186 13.7567 12.5872 12.7973L13.1274 5.23327H13.3333C13.6463 5.23327 13.9 4.97956 13.9 4.6666C13.9 4.35364 13.6463 4.09994 13.3333 4.09994H10.5V3.33333C10.5 2.32081 9.67916 1.5 8.66664 1.5H7.33331ZM9.49997 4.09994V3.33333C9.49997 2.8731 9.12688 2.5 8.66664 2.5H7.33331C6.87307 2.5 6.49997 2.8731 6.49997 3.33333V4.09994H9.49997ZM12.1249 5.23327H3.87505L4.41025 12.726C4.4414 13.1621 4.80427 13.5 5.24147 13.5H10.7585C11.1957 13.5 11.5585 13.1621 11.5897 12.726L12.1249 5.23327ZM7.16664 7.33333C7.16664 7.05719 6.94278 6.83333 6.66664 6.83333C6.3905 6.83333 6.16664 7.05719 6.16664 7.33333V11.3333C6.16664 11.6095 6.3905 11.8333 6.66664 11.8333C6.94278 11.8333 7.16664 11.6095 7.16664 11.3333V7.33333ZM9.33331 6.83333C9.60945 6.83333 9.83331 7.05719 9.83331 7.33333V11.3333C9.83331 11.6095 9.60945 11.8333 9.33331 11.8333C9.05716 11.8333 8.83331 11.6095 8.83331 11.3333V7.33333C8.83331 7.05719 9.05716 6.83333 9.33331 6.83333Z"
|
|
358
|
+
fill="#A8A8A0"
|
|
359
|
+
/>
|
|
360
|
+
</svg> `;
|
|
361
|
+
|
|
362
|
+
export const LightLinkedPageEmptySmallBanner = html`<svg
|
|
363
|
+
width="204"
|
|
364
|
+
height="102"
|
|
365
|
+
viewBox="0 0 204 102"
|
|
366
|
+
fill="none"
|
|
367
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
368
|
+
>
|
|
369
|
+
<g clip-path="url(#clip0_3075_9783)">
|
|
370
|
+
<g filter="url(#filter0_d_3075_9783)">
|
|
371
|
+
<rect
|
|
372
|
+
x="58"
|
|
373
|
+
y="3"
|
|
374
|
+
width="105.778"
|
|
375
|
+
height="120"
|
|
376
|
+
rx="4"
|
|
377
|
+
transform="rotate(8 58 3)"
|
|
378
|
+
fill="white"
|
|
379
|
+
fill-opacity="0.1"
|
|
380
|
+
shape-rendering="crispEdges"
|
|
381
|
+
/>
|
|
382
|
+
<rect
|
|
383
|
+
x="71.6174"
|
|
384
|
+
y="21.071"
|
|
385
|
+
width="52"
|
|
386
|
+
height="7"
|
|
387
|
+
rx="3"
|
|
388
|
+
transform="rotate(8 71.6174 21.071)"
|
|
389
|
+
fill="black"
|
|
390
|
+
fill-opacity="0.1"
|
|
391
|
+
/>
|
|
392
|
+
<rect
|
|
393
|
+
x="69.8083"
|
|
394
|
+
y="33.9445"
|
|
395
|
+
width="73.7781"
|
|
396
|
+
height="4"
|
|
397
|
+
rx="2"
|
|
398
|
+
transform="rotate(8 69.8083 33.9445)"
|
|
399
|
+
fill="black"
|
|
400
|
+
fill-opacity="0.1"
|
|
401
|
+
/>
|
|
402
|
+
<rect
|
|
403
|
+
x="68.4165"
|
|
404
|
+
y="43.8472"
|
|
405
|
+
width="39"
|
|
406
|
+
height="4"
|
|
407
|
+
rx="2"
|
|
408
|
+
transform="rotate(8 68.4165 43.8472)"
|
|
409
|
+
fill="black"
|
|
410
|
+
fill-opacity="0.1"
|
|
411
|
+
/>
|
|
412
|
+
<rect
|
|
413
|
+
x="67.0249"
|
|
414
|
+
y="53.7499"
|
|
415
|
+
width="73.7781"
|
|
416
|
+
height="4"
|
|
417
|
+
rx="2"
|
|
418
|
+
transform="rotate(8 67.0249 53.7499)"
|
|
419
|
+
fill="black"
|
|
420
|
+
fill-opacity="0.1"
|
|
421
|
+
/>
|
|
422
|
+
<rect
|
|
423
|
+
x="65.6331"
|
|
424
|
+
y="63.6526"
|
|
425
|
+
width="39"
|
|
426
|
+
height="4"
|
|
427
|
+
rx="2"
|
|
428
|
+
transform="rotate(8 65.6331 63.6526)"
|
|
429
|
+
fill="black"
|
|
430
|
+
fill-opacity="0.1"
|
|
431
|
+
/>
|
|
432
|
+
<rect
|
|
433
|
+
x="64.2415"
|
|
434
|
+
y="73.5553"
|
|
435
|
+
width="39"
|
|
436
|
+
height="4"
|
|
437
|
+
rx="2"
|
|
438
|
+
transform="rotate(8 64.2415 73.5553)"
|
|
439
|
+
fill="black"
|
|
440
|
+
fill-opacity="0.1"
|
|
441
|
+
/>
|
|
442
|
+
</g>
|
|
443
|
+
</g>
|
|
444
|
+
<defs>
|
|
445
|
+
<filter
|
|
446
|
+
id="filter0_d_3075_9783"
|
|
447
|
+
x="36.2993"
|
|
448
|
+
y="-2"
|
|
449
|
+
width="131.449"
|
|
450
|
+
height="143.554"
|
|
451
|
+
filterUnits="userSpaceOnUse"
|
|
452
|
+
color-interpolation-filters="sRGB"
|
|
453
|
+
>
|
|
454
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
455
|
+
<feColorMatrix
|
|
456
|
+
in="SourceAlpha"
|
|
457
|
+
type="matrix"
|
|
458
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
459
|
+
result="hardAlpha"
|
|
460
|
+
/>
|
|
461
|
+
<feOffset />
|
|
462
|
+
<feGaussianBlur stdDeviation="2.5" />
|
|
463
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
464
|
+
<feColorMatrix
|
|
465
|
+
type="matrix"
|
|
466
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.17 0"
|
|
467
|
+
/>
|
|
468
|
+
<feBlend
|
|
469
|
+
mode="normal"
|
|
470
|
+
in2="BackgroundImageFix"
|
|
471
|
+
result="effect1_dropShadow_3075_9783"
|
|
472
|
+
/>
|
|
473
|
+
<feBlend
|
|
474
|
+
mode="normal"
|
|
475
|
+
in="SourceGraphic"
|
|
476
|
+
in2="effect1_dropShadow_3075_9783"
|
|
477
|
+
result="shape"
|
|
478
|
+
/>
|
|
479
|
+
</filter>
|
|
480
|
+
<clipPath id="clip0_3075_9783">
|
|
481
|
+
<rect width="204" height="102" fill="white" />
|
|
482
|
+
</clipPath>
|
|
483
|
+
</defs>
|
|
484
|
+
</svg> `;
|
|
485
|
+
|
|
486
|
+
export const DarkLinkedPageEmptySmallBanner = html`<svg
|
|
487
|
+
width="204"
|
|
488
|
+
height="102"
|
|
489
|
+
viewBox="0 0 204 102"
|
|
490
|
+
fill="none"
|
|
491
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
492
|
+
>
|
|
493
|
+
<g clip-path="url(#clip0_3075_12065)">
|
|
494
|
+
<g filter="url(#filter0_d_3075_12065)">
|
|
495
|
+
<rect
|
|
496
|
+
x="58"
|
|
497
|
+
y="3"
|
|
498
|
+
width="105.778"
|
|
499
|
+
height="120"
|
|
500
|
+
rx="4"
|
|
501
|
+
transform="rotate(8 58 3)"
|
|
502
|
+
fill="white"
|
|
503
|
+
fill-opacity="0.1"
|
|
504
|
+
shape-rendering="crispEdges"
|
|
505
|
+
/>
|
|
506
|
+
<rect
|
|
507
|
+
x="71.6175"
|
|
508
|
+
y="21.071"
|
|
509
|
+
width="52"
|
|
510
|
+
height="7"
|
|
511
|
+
rx="3"
|
|
512
|
+
transform="rotate(8 71.6175 21.071)"
|
|
513
|
+
fill="white"
|
|
514
|
+
fill-opacity="0.1"
|
|
515
|
+
/>
|
|
516
|
+
<rect
|
|
517
|
+
x="69.8083"
|
|
518
|
+
y="33.9445"
|
|
519
|
+
width="73.7781"
|
|
520
|
+
height="4"
|
|
521
|
+
rx="2"
|
|
522
|
+
transform="rotate(8 69.8083 33.9445)"
|
|
523
|
+
fill="white"
|
|
524
|
+
fill-opacity="0.1"
|
|
525
|
+
/>
|
|
526
|
+
<rect
|
|
527
|
+
x="68.4165"
|
|
528
|
+
y="43.8472"
|
|
529
|
+
width="39"
|
|
530
|
+
height="4"
|
|
531
|
+
rx="2"
|
|
532
|
+
transform="rotate(8 68.4165 43.8472)"
|
|
533
|
+
fill="white"
|
|
534
|
+
fill-opacity="0.1"
|
|
535
|
+
/>
|
|
536
|
+
<rect
|
|
537
|
+
x="67.0248"
|
|
538
|
+
y="53.7499"
|
|
539
|
+
width="73.7781"
|
|
540
|
+
height="4"
|
|
541
|
+
rx="2"
|
|
542
|
+
transform="rotate(8 67.0248 53.7499)"
|
|
543
|
+
fill="white"
|
|
544
|
+
fill-opacity="0.1"
|
|
545
|
+
/>
|
|
546
|
+
<rect
|
|
547
|
+
x="65.6331"
|
|
548
|
+
y="63.6526"
|
|
549
|
+
width="39"
|
|
550
|
+
height="4"
|
|
551
|
+
rx="2"
|
|
552
|
+
transform="rotate(8 65.6331 63.6526)"
|
|
553
|
+
fill="white"
|
|
554
|
+
fill-opacity="0.1"
|
|
555
|
+
/>
|
|
556
|
+
<rect
|
|
557
|
+
x="64.2413"
|
|
558
|
+
y="73.5553"
|
|
559
|
+
width="39"
|
|
560
|
+
height="4"
|
|
561
|
+
rx="2"
|
|
562
|
+
transform="rotate(8 64.2413 73.5553)"
|
|
563
|
+
fill="white"
|
|
564
|
+
fill-opacity="0.1"
|
|
565
|
+
/>
|
|
566
|
+
</g>
|
|
567
|
+
</g>
|
|
568
|
+
<defs>
|
|
569
|
+
<filter
|
|
570
|
+
id="filter0_d_3075_12065"
|
|
571
|
+
x="36.2992"
|
|
572
|
+
y="-2"
|
|
573
|
+
width="131.449"
|
|
574
|
+
height="143.554"
|
|
575
|
+
filterUnits="userSpaceOnUse"
|
|
576
|
+
color-interpolation-filters="sRGB"
|
|
577
|
+
>
|
|
578
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
579
|
+
<feColorMatrix
|
|
580
|
+
in="SourceAlpha"
|
|
581
|
+
type="matrix"
|
|
582
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
583
|
+
result="hardAlpha"
|
|
584
|
+
/>
|
|
585
|
+
<feOffset />
|
|
586
|
+
<feGaussianBlur stdDeviation="2.5" />
|
|
587
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
588
|
+
<feColorMatrix
|
|
589
|
+
type="matrix"
|
|
590
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.17 0"
|
|
591
|
+
/>
|
|
592
|
+
<feBlend
|
|
593
|
+
mode="normal"
|
|
594
|
+
in2="BackgroundImageFix"
|
|
595
|
+
result="effect1_dropShadow_3075_12065"
|
|
596
|
+
/>
|
|
597
|
+
<feBlend
|
|
598
|
+
mode="normal"
|
|
599
|
+
in="SourceGraphic"
|
|
600
|
+
in2="effect1_dropShadow_3075_12065"
|
|
601
|
+
result="shape"
|
|
602
|
+
/>
|
|
603
|
+
</filter>
|
|
604
|
+
<clipPath id="clip0_3075_12065">
|
|
605
|
+
<rect width="204" height="102" fill="white" />
|
|
606
|
+
</clipPath>
|
|
607
|
+
</defs>
|
|
608
|
+
</svg> `;
|
|
609
|
+
|
|
610
|
+
export const LightLinkedPageEmptyLargeBanner = html`<svg
|
|
611
|
+
width="340"
|
|
612
|
+
height="170"
|
|
613
|
+
viewBox="0 0 340 170"
|
|
614
|
+
fill="none"
|
|
615
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
616
|
+
>
|
|
617
|
+
<g clip-path="url(#clip0_3075_10418)">
|
|
618
|
+
<path
|
|
619
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
620
|
+
fill="#F4F4F5"
|
|
621
|
+
/>
|
|
622
|
+
<g filter="url(#filter0_d_3075_10418)">
|
|
623
|
+
<rect
|
|
624
|
+
width="268"
|
|
625
|
+
height="300"
|
|
626
|
+
transform="translate(36 26)"
|
|
627
|
+
fill="white"
|
|
628
|
+
/>
|
|
629
|
+
<rect
|
|
630
|
+
x="77"
|
|
631
|
+
y="56.3567"
|
|
632
|
+
width="131.747"
|
|
633
|
+
height="18"
|
|
634
|
+
rx="9"
|
|
635
|
+
fill="black"
|
|
636
|
+
fill-opacity="0.1"
|
|
637
|
+
/>
|
|
638
|
+
<rect
|
|
639
|
+
x="77"
|
|
640
|
+
y="88.3567"
|
|
641
|
+
width="186.925"
|
|
642
|
+
height="10"
|
|
643
|
+
rx="5"
|
|
644
|
+
fill="black"
|
|
645
|
+
fill-opacity="0.1"
|
|
646
|
+
/>
|
|
647
|
+
<rect
|
|
648
|
+
x="77"
|
|
649
|
+
y="112.357"
|
|
650
|
+
width="98.8106"
|
|
651
|
+
height="10"
|
|
652
|
+
rx="5"
|
|
653
|
+
fill="black"
|
|
654
|
+
fill-opacity="0.1"
|
|
655
|
+
/>
|
|
656
|
+
<rect
|
|
657
|
+
x="77"
|
|
658
|
+
y="136.357"
|
|
659
|
+
width="186.925"
|
|
660
|
+
height="10"
|
|
661
|
+
rx="5"
|
|
662
|
+
fill="black"
|
|
663
|
+
fill-opacity="0.1"
|
|
664
|
+
/>
|
|
665
|
+
<rect
|
|
666
|
+
x="77"
|
|
667
|
+
y="160.357"
|
|
668
|
+
width="98.8106"
|
|
669
|
+
height="10"
|
|
670
|
+
rx="5"
|
|
671
|
+
fill="black"
|
|
672
|
+
fill-opacity="0.1"
|
|
673
|
+
/>
|
|
674
|
+
</g>
|
|
675
|
+
</g>
|
|
676
|
+
<defs>
|
|
677
|
+
<filter
|
|
678
|
+
id="filter0_d_3075_10418"
|
|
679
|
+
x="12"
|
|
680
|
+
y="15"
|
|
681
|
+
width="316"
|
|
682
|
+
height="348"
|
|
683
|
+
filterUnits="userSpaceOnUse"
|
|
684
|
+
color-interpolation-filters="sRGB"
|
|
685
|
+
>
|
|
686
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
687
|
+
<feColorMatrix
|
|
688
|
+
in="SourceAlpha"
|
|
689
|
+
type="matrix"
|
|
690
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
691
|
+
result="hardAlpha"
|
|
692
|
+
/>
|
|
693
|
+
<feOffset dy="13" />
|
|
694
|
+
<feGaussianBlur stdDeviation="12" />
|
|
695
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
696
|
+
<feColorMatrix
|
|
697
|
+
type="matrix"
|
|
698
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.1 0"
|
|
699
|
+
/>
|
|
700
|
+
<feBlend
|
|
701
|
+
mode="normal"
|
|
702
|
+
in2="BackgroundImageFix"
|
|
703
|
+
result="effect1_dropShadow_3075_10418"
|
|
704
|
+
/>
|
|
705
|
+
<feBlend
|
|
706
|
+
mode="normal"
|
|
707
|
+
in="SourceGraphic"
|
|
708
|
+
in2="effect1_dropShadow_3075_10418"
|
|
709
|
+
result="shape"
|
|
710
|
+
/>
|
|
711
|
+
</filter>
|
|
712
|
+
<clipPath id="clip0_3075_10418">
|
|
713
|
+
<path
|
|
714
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
715
|
+
fill="white"
|
|
716
|
+
/>
|
|
717
|
+
</clipPath>
|
|
718
|
+
</defs>
|
|
719
|
+
</svg>`;
|
|
720
|
+
|
|
721
|
+
export const DarkLinkedPageEmptyLargeBanner = html`<svg
|
|
722
|
+
width="340"
|
|
723
|
+
height="170"
|
|
724
|
+
viewBox="0 0 340 170"
|
|
725
|
+
fill="none"
|
|
726
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
727
|
+
>
|
|
728
|
+
<g clip-path="url(#clip0_3075_13652)">
|
|
729
|
+
<path
|
|
730
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
731
|
+
fill="white"
|
|
732
|
+
fill-opacity="0.1"
|
|
733
|
+
/>
|
|
734
|
+
<g filter="url(#filter0_d_3075_13652)">
|
|
735
|
+
<rect
|
|
736
|
+
width="268"
|
|
737
|
+
height="300"
|
|
738
|
+
transform="translate(36 26)"
|
|
739
|
+
fill="white"
|
|
740
|
+
fill-opacity="0.06"
|
|
741
|
+
/>
|
|
742
|
+
<rect
|
|
743
|
+
x="77"
|
|
744
|
+
y="56.3567"
|
|
745
|
+
width="131.747"
|
|
746
|
+
height="18"
|
|
747
|
+
rx="9"
|
|
748
|
+
fill="white"
|
|
749
|
+
fill-opacity="0.1"
|
|
750
|
+
/>
|
|
751
|
+
<rect
|
|
752
|
+
x="77"
|
|
753
|
+
y="88.3567"
|
|
754
|
+
width="186.925"
|
|
755
|
+
height="10"
|
|
756
|
+
rx="5"
|
|
757
|
+
fill="white"
|
|
758
|
+
fill-opacity="0.1"
|
|
759
|
+
/>
|
|
760
|
+
<rect
|
|
761
|
+
x="77"
|
|
762
|
+
y="112.357"
|
|
763
|
+
width="98.8106"
|
|
764
|
+
height="10"
|
|
765
|
+
rx="5"
|
|
766
|
+
fill="white"
|
|
767
|
+
fill-opacity="0.1"
|
|
768
|
+
/>
|
|
769
|
+
<rect
|
|
770
|
+
x="77"
|
|
771
|
+
y="136.357"
|
|
772
|
+
width="186.925"
|
|
773
|
+
height="10"
|
|
774
|
+
rx="5"
|
|
775
|
+
fill="white"
|
|
776
|
+
fill-opacity="0.1"
|
|
777
|
+
/>
|
|
778
|
+
<rect
|
|
779
|
+
x="77"
|
|
780
|
+
y="160.357"
|
|
781
|
+
width="98.8106"
|
|
782
|
+
height="10"
|
|
783
|
+
rx="5"
|
|
784
|
+
fill="white"
|
|
785
|
+
fill-opacity="0.1"
|
|
786
|
+
/>
|
|
787
|
+
</g>
|
|
788
|
+
</g>
|
|
789
|
+
<defs>
|
|
790
|
+
<filter
|
|
791
|
+
id="filter0_d_3075_13652"
|
|
792
|
+
x="8"
|
|
793
|
+
y="11"
|
|
794
|
+
width="324"
|
|
795
|
+
height="356"
|
|
796
|
+
filterUnits="userSpaceOnUse"
|
|
797
|
+
color-interpolation-filters="sRGB"
|
|
798
|
+
>
|
|
799
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
800
|
+
<feColorMatrix
|
|
801
|
+
in="SourceAlpha"
|
|
802
|
+
type="matrix"
|
|
803
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
804
|
+
result="hardAlpha"
|
|
805
|
+
/>
|
|
806
|
+
<feOffset dy="13" />
|
|
807
|
+
<feGaussianBlur stdDeviation="14" />
|
|
808
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
809
|
+
<feColorMatrix
|
|
810
|
+
type="matrix"
|
|
811
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.44 0"
|
|
812
|
+
/>
|
|
813
|
+
<feBlend
|
|
814
|
+
mode="normal"
|
|
815
|
+
in2="BackgroundImageFix"
|
|
816
|
+
result="effect1_dropShadow_3075_13652"
|
|
817
|
+
/>
|
|
818
|
+
<feBlend
|
|
819
|
+
mode="normal"
|
|
820
|
+
in="SourceGraphic"
|
|
821
|
+
in2="effect1_dropShadow_3075_13652"
|
|
822
|
+
result="shape"
|
|
823
|
+
/>
|
|
824
|
+
</filter>
|
|
825
|
+
<clipPath id="clip0_3075_13652">
|
|
826
|
+
<path
|
|
827
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
828
|
+
fill="white"
|
|
829
|
+
/>
|
|
830
|
+
</clipPath>
|
|
831
|
+
</defs>
|
|
832
|
+
</svg> `;
|
|
833
|
+
|
|
834
|
+
export const LightLinkedPageDeletedSmallBanner = html`<svg
|
|
835
|
+
width="204"
|
|
836
|
+
height="66"
|
|
837
|
+
viewBox="0 0 204 66"
|
|
838
|
+
fill="none"
|
|
839
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
840
|
+
>
|
|
841
|
+
<g filter="url(#filter0_d_3075_418)">
|
|
842
|
+
<rect width="53" height="66" transform="translate(49 22)" fill="white" />
|
|
843
|
+
<rect
|
|
844
|
+
x="57.0168"
|
|
845
|
+
y="30.8"
|
|
846
|
+
width="26.0545"
|
|
847
|
+
height="3.85"
|
|
848
|
+
rx="1.925"
|
|
849
|
+
fill="black"
|
|
850
|
+
fill-opacity="0.1"
|
|
851
|
+
/>
|
|
852
|
+
<rect
|
|
853
|
+
x="57.0168"
|
|
854
|
+
y="38.5"
|
|
855
|
+
width="36.9664"
|
|
856
|
+
height="2.2"
|
|
857
|
+
rx="1.1"
|
|
858
|
+
fill="black"
|
|
859
|
+
fill-opacity="0.1"
|
|
860
|
+
/>
|
|
861
|
+
<rect
|
|
862
|
+
x="57.0168"
|
|
863
|
+
y="44"
|
|
864
|
+
width="19.5409"
|
|
865
|
+
height="2.2"
|
|
866
|
+
rx="1.1"
|
|
867
|
+
fill="black"
|
|
868
|
+
fill-opacity="0.1"
|
|
869
|
+
/>
|
|
870
|
+
<rect
|
|
871
|
+
x="57.0168"
|
|
872
|
+
y="49.5"
|
|
873
|
+
width="36.9664"
|
|
874
|
+
height="2.2"
|
|
875
|
+
rx="1.1"
|
|
876
|
+
fill="black"
|
|
877
|
+
fill-opacity="0.1"
|
|
878
|
+
/>
|
|
879
|
+
<rect
|
|
880
|
+
x="57.0168"
|
|
881
|
+
y="55"
|
|
882
|
+
width="19.5409"
|
|
883
|
+
height="2.2"
|
|
884
|
+
rx="1.1"
|
|
885
|
+
fill="black"
|
|
886
|
+
fill-opacity="0.1"
|
|
887
|
+
/>
|
|
888
|
+
</g>
|
|
889
|
+
<path
|
|
890
|
+
d="M157.341 17.6783L144.153 14.3561L144.708 12.2671C145.628 8.80601 143.153 5.189 139.18 4.18818L129.588 1.77201C125.616 0.771194 121.65 2.7656 120.73 6.22672L120.175 8.31566L106.987 4.99344C103.676 4.15945 100.371 5.82152 99.6047 8.70569L98.4946 12.8836C98.188 14.0373 99.013 15.2429 100.337 15.5766L157.885 30.0735C159.209 30.4072 160.531 29.7424 160.837 28.5886L161.948 24.4108C162.714 21.5266 160.651 18.5123 157.341 17.6783ZM125.525 7.4348C125.831 6.28327 127.157 5.61692 128.478 5.9499L138.07 8.36606C139.391 8.69904 140.218 9.90752 139.912 11.059L139.357 13.148L124.97 9.52375L125.525 7.4348Z"
|
|
891
|
+
fill="#E6E6E6"
|
|
892
|
+
/>
|
|
893
|
+
<path
|
|
894
|
+
d="M98.6798 34.2639C98.2253 34.2631 97.8625 34.6108 97.8834 35.0271L99.9152 75.4671C100.103 79.2098 103.451 82.1461 107.536 82.1528L146.222 82.216C150.307 82.2227 153.665 79.2973 153.866 75.5553L156.037 35.1222C156.06 34.7059 155.698 34.3571 155.243 34.3563L98.6798 34.2639ZM137.141 40.1651C137.143 38.8748 138.285 37.8316 139.693 37.8339C141.1 37.8362 142.238 38.8831 142.236 40.1734L142.183 70.5327C142.181 71.823 141.039 72.8662 139.632 72.8639C138.225 72.8616 137.086 71.8147 137.089 70.5244L137.141 40.1651ZM124.404 40.1443C124.406 38.854 125.548 37.8108 126.956 37.8131C128.363 37.8154 129.501 38.8623 129.499 40.1526L129.447 70.5119C129.444 71.8022 128.303 72.8454 126.895 72.8431C125.488 72.8408 124.349 71.7938 124.352 70.5036L124.404 40.1443ZM111.667 40.1234C111.669 38.8332 112.811 37.79 114.219 37.7923C115.626 37.7946 116.764 38.8415 116.762 40.1318L116.71 70.4911C116.707 71.7813 115.566 72.8245 114.158 72.8222C112.751 72.8199 111.613 71.773 111.615 70.4827L111.667 40.1234Z"
|
|
895
|
+
fill="#E6E6E6"
|
|
896
|
+
/>
|
|
897
|
+
<defs>
|
|
898
|
+
<filter
|
|
899
|
+
id="filter0_d_3075_418"
|
|
900
|
+
x="46"
|
|
901
|
+
y="19"
|
|
902
|
+
width="59"
|
|
903
|
+
height="72"
|
|
904
|
+
filterUnits="userSpaceOnUse"
|
|
905
|
+
color-interpolation-filters="sRGB"
|
|
906
|
+
>
|
|
907
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
908
|
+
<feColorMatrix
|
|
909
|
+
in="SourceAlpha"
|
|
910
|
+
type="matrix"
|
|
911
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
912
|
+
result="hardAlpha"
|
|
913
|
+
/>
|
|
914
|
+
<feOffset />
|
|
915
|
+
<feGaussianBlur stdDeviation="1.5" />
|
|
916
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
917
|
+
<feColorMatrix
|
|
918
|
+
type="matrix"
|
|
919
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.1 0"
|
|
920
|
+
/>
|
|
921
|
+
<feBlend
|
|
922
|
+
mode="normal"
|
|
923
|
+
in2="BackgroundImageFix"
|
|
924
|
+
result="effect1_dropShadow_3075_418"
|
|
925
|
+
/>
|
|
926
|
+
<feBlend
|
|
927
|
+
mode="normal"
|
|
928
|
+
in="SourceGraphic"
|
|
929
|
+
in2="effect1_dropShadow_3075_418"
|
|
930
|
+
result="shape"
|
|
931
|
+
/>
|
|
932
|
+
</filter>
|
|
933
|
+
</defs>
|
|
934
|
+
</svg> `;
|
|
935
|
+
|
|
936
|
+
export const DarkLinkedPageDeletedSmallBanner = html`<svg
|
|
937
|
+
width="204"
|
|
938
|
+
height="66"
|
|
939
|
+
viewBox="0 0 204 66"
|
|
940
|
+
fill="none"
|
|
941
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
942
|
+
>
|
|
943
|
+
<g filter="url(#filter0_d_3075_12843)">
|
|
944
|
+
<rect
|
|
945
|
+
width="53"
|
|
946
|
+
height="66"
|
|
947
|
+
transform="translate(49 22)"
|
|
948
|
+
fill="white"
|
|
949
|
+
fill-opacity="0.08"
|
|
950
|
+
/>
|
|
951
|
+
<rect
|
|
952
|
+
x="57.0168"
|
|
953
|
+
y="30.8"
|
|
954
|
+
width="26.0545"
|
|
955
|
+
height="3.85"
|
|
956
|
+
rx="1.925"
|
|
957
|
+
fill="white"
|
|
958
|
+
fill-opacity="0.1"
|
|
959
|
+
/>
|
|
960
|
+
<rect
|
|
961
|
+
x="57.0168"
|
|
962
|
+
y="38.5"
|
|
963
|
+
width="36.9664"
|
|
964
|
+
height="2.2"
|
|
965
|
+
rx="1.1"
|
|
966
|
+
fill="white"
|
|
967
|
+
fill-opacity="0.1"
|
|
968
|
+
/>
|
|
969
|
+
<rect
|
|
970
|
+
x="57.0168"
|
|
971
|
+
y="44"
|
|
972
|
+
width="19.5409"
|
|
973
|
+
height="2.2"
|
|
974
|
+
rx="1.1"
|
|
975
|
+
fill="white"
|
|
976
|
+
fill-opacity="0.1"
|
|
977
|
+
/>
|
|
978
|
+
<rect
|
|
979
|
+
x="57.0168"
|
|
980
|
+
y="49.5"
|
|
981
|
+
width="36.9664"
|
|
982
|
+
height="2.2"
|
|
983
|
+
rx="1.1"
|
|
984
|
+
fill="white"
|
|
985
|
+
fill-opacity="0.1"
|
|
986
|
+
/>
|
|
987
|
+
<rect
|
|
988
|
+
x="57.0168"
|
|
989
|
+
y="55"
|
|
990
|
+
width="19.5409"
|
|
991
|
+
height="2.2"
|
|
992
|
+
rx="1.1"
|
|
993
|
+
fill="white"
|
|
994
|
+
fill-opacity="0.1"
|
|
995
|
+
/>
|
|
996
|
+
</g>
|
|
997
|
+
<path
|
|
998
|
+
d="M157.341 17.6783L144.153 14.3561L144.708 12.2671C145.628 8.80601 143.153 5.189 139.18 4.18818L129.588 1.77201C125.616 0.771194 121.65 2.7656 120.73 6.22672L120.175 8.31566L106.987 4.99344C103.676 4.15945 100.371 5.82152 99.6048 8.70569L98.4946 12.8836C98.1881 14.0373 99.013 15.2429 100.337 15.5766L157.885 30.0735C159.209 30.4072 160.531 29.7424 160.837 28.5886L161.948 24.4108C162.714 21.5266 160.651 18.5123 157.341 17.6783ZM125.525 7.4348C125.831 6.28327 127.157 5.61692 128.478 5.9499L138.07 8.36606C139.391 8.69904 140.218 9.90752 139.912 11.059L139.357 13.148L124.97 9.52375L125.525 7.4348Z"
|
|
999
|
+
fill="#646464"
|
|
1000
|
+
/>
|
|
1001
|
+
<path
|
|
1002
|
+
d="M98.6798 34.2639C98.2253 34.2631 97.8625 34.6108 97.8834 35.0271L99.9152 75.4671C100.103 79.2098 103.451 82.1461 107.536 82.1528L146.222 82.216C150.307 82.2227 153.665 79.2973 153.866 75.5553L156.037 35.1222C156.06 34.7059 155.698 34.3571 155.243 34.3563L98.6798 34.2639ZM137.141 40.1651C137.143 38.8748 138.285 37.8316 139.693 37.8339C141.1 37.8362 142.238 38.8831 142.236 40.1734L142.183 70.5327C142.181 71.823 141.04 72.8662 139.632 72.8639C138.225 72.8616 137.086 71.8147 137.089 70.5244L137.141 40.1651ZM124.404 40.1443C124.406 38.854 125.548 37.8108 126.956 37.8131C128.363 37.8154 129.501 38.8623 129.499 40.1526L129.447 70.5119C129.444 71.8022 128.303 72.8454 126.895 72.8431C125.488 72.8408 124.35 71.7938 124.352 70.5036L124.404 40.1443ZM111.667 40.1234C111.669 38.8332 112.811 37.79 114.219 37.7923C115.626 37.7946 116.764 38.8415 116.762 40.1318L116.71 70.4911C116.707 71.7813 115.566 72.8245 114.158 72.8222C112.751 72.8199 111.613 71.773 111.615 70.4827L111.667 40.1234Z"
|
|
1003
|
+
fill="#646464"
|
|
1004
|
+
/>
|
|
1005
|
+
<defs>
|
|
1006
|
+
<filter
|
|
1007
|
+
id="filter0_d_3075_12843"
|
|
1008
|
+
x="46"
|
|
1009
|
+
y="19"
|
|
1010
|
+
width="59"
|
|
1011
|
+
height="72"
|
|
1012
|
+
filterUnits="userSpaceOnUse"
|
|
1013
|
+
color-interpolation-filters="sRGB"
|
|
1014
|
+
>
|
|
1015
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
1016
|
+
<feColorMatrix
|
|
1017
|
+
in="SourceAlpha"
|
|
1018
|
+
type="matrix"
|
|
1019
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1020
|
+
result="hardAlpha"
|
|
1021
|
+
/>
|
|
1022
|
+
<feOffset />
|
|
1023
|
+
<feGaussianBlur stdDeviation="1.5" />
|
|
1024
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
1025
|
+
<feColorMatrix
|
|
1026
|
+
type="matrix"
|
|
1027
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.1 0"
|
|
1028
|
+
/>
|
|
1029
|
+
<feBlend
|
|
1030
|
+
mode="normal"
|
|
1031
|
+
in2="BackgroundImageFix"
|
|
1032
|
+
result="effect1_dropShadow_3075_12843"
|
|
1033
|
+
/>
|
|
1034
|
+
<feBlend
|
|
1035
|
+
mode="normal"
|
|
1036
|
+
in="SourceGraphic"
|
|
1037
|
+
in2="effect1_dropShadow_3075_12843"
|
|
1038
|
+
result="shape"
|
|
1039
|
+
/>
|
|
1040
|
+
</filter>
|
|
1041
|
+
</defs>
|
|
1042
|
+
</svg> `;
|
|
1043
|
+
|
|
1044
|
+
export const LightLinkedPageDeletedLargeBanner = html`<svg
|
|
1045
|
+
width="340"
|
|
1046
|
+
height="170"
|
|
1047
|
+
viewBox="0 0 340 170"
|
|
1048
|
+
fill="none"
|
|
1049
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1050
|
+
>
|
|
1051
|
+
<g clip-path="url(#clip0_3075_695)">
|
|
1052
|
+
<path
|
|
1053
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
1054
|
+
fill="white"
|
|
1055
|
+
/>
|
|
1056
|
+
<g filter="url(#filter0_d_3075_695)">
|
|
1057
|
+
<rect
|
|
1058
|
+
width="124"
|
|
1059
|
+
height="154"
|
|
1060
|
+
transform="translate(41 61)"
|
|
1061
|
+
fill="white"
|
|
1062
|
+
/>
|
|
1063
|
+
<rect
|
|
1064
|
+
x="59.7562"
|
|
1065
|
+
y="81.5333"
|
|
1066
|
+
width="60.9578"
|
|
1067
|
+
height="8.98333"
|
|
1068
|
+
rx="4.49167"
|
|
1069
|
+
fill="black"
|
|
1070
|
+
fill-opacity="0.1"
|
|
1071
|
+
/>
|
|
1072
|
+
<rect
|
|
1073
|
+
x="59.7562"
|
|
1074
|
+
y="99.5"
|
|
1075
|
+
width="86.4875"
|
|
1076
|
+
height="5.13333"
|
|
1077
|
+
rx="2.56667"
|
|
1078
|
+
fill="black"
|
|
1079
|
+
fill-opacity="0.1"
|
|
1080
|
+
/>
|
|
1081
|
+
<rect
|
|
1082
|
+
x="59.7562"
|
|
1083
|
+
y="112.333"
|
|
1084
|
+
width="45.7183"
|
|
1085
|
+
height="5.13333"
|
|
1086
|
+
rx="2.56667"
|
|
1087
|
+
fill="black"
|
|
1088
|
+
fill-opacity="0.1"
|
|
1089
|
+
/>
|
|
1090
|
+
<rect
|
|
1091
|
+
x="59.7562"
|
|
1092
|
+
y="125.167"
|
|
1093
|
+
width="86.4875"
|
|
1094
|
+
height="5.13333"
|
|
1095
|
+
rx="2.56667"
|
|
1096
|
+
fill="black"
|
|
1097
|
+
fill-opacity="0.1"
|
|
1098
|
+
/>
|
|
1099
|
+
<rect
|
|
1100
|
+
x="59.7562"
|
|
1101
|
+
y="138"
|
|
1102
|
+
width="45.7183"
|
|
1103
|
+
height="5.13333"
|
|
1104
|
+
rx="2.56667"
|
|
1105
|
+
fill="black"
|
|
1106
|
+
fill-opacity="0.1"
|
|
1107
|
+
/>
|
|
1108
|
+
</g>
|
|
1109
|
+
<path
|
|
1110
|
+
d="M296.961 47.9114L266.018 40.1164L267.32 35.215C269.478 27.0941 263.671 18.6074 254.349 16.2592L231.845 10.5901C222.524 8.2418 213.218 12.9213 211.06 21.0422L209.758 25.9436L178.815 18.1486C171.047 16.1917 163.292 20.0915 161.494 26.8587L158.889 36.6614C158.17 39.3685 160.105 42.1973 163.213 42.98L298.237 76.9947C301.344 77.7775 304.446 76.2177 305.166 73.5106L307.77 63.7079C309.568 56.9407 304.729 49.8682 296.961 47.9114ZM222.312 23.8768C223.03 21.1749 226.139 19.6115 229.241 20.3927L251.745 26.0619C254.846 26.8431 256.786 29.6786 256.068 32.3805L254.766 37.2818L221.01 28.7781L222.312 23.8768Z"
|
|
1111
|
+
fill="#E6E6E6"
|
|
1112
|
+
/>
|
|
1113
|
+
<path
|
|
1114
|
+
d="M159.323 86.8265C158.256 86.8248 157.405 87.6405 157.454 88.6173L162.221 183.503C162.662 192.284 170.517 199.174 180.103 199.19L270.871 199.338C280.457 199.354 288.336 192.49 288.807 183.71L293.902 88.8403C293.955 87.8637 293.106 87.0452 292.04 87.0435L159.323 86.8265ZM249.566 100.673C249.571 97.6453 252.25 95.1976 255.552 95.203C258.854 95.2084 261.525 97.6648 261.52 100.692L261.397 171.925C261.391 174.952 258.712 177.4 255.41 177.395C252.108 177.389 249.437 174.933 249.443 171.906L249.566 100.673ZM219.68 100.624C219.686 97.5965 222.365 95.1488 225.667 95.1542C228.969 95.1596 231.64 97.616 231.635 100.643L231.512 171.876C231.506 174.904 228.827 177.351 225.525 177.346C222.223 177.341 219.552 174.884 219.557 171.857L219.68 100.624ZM189.795 100.575C189.801 97.5476 192.48 95.0999 195.782 95.1053C199.084 95.1107 201.755 97.5671 201.749 100.595L201.626 171.827C201.621 174.855 198.942 177.302 195.64 177.297C192.338 177.292 189.667 174.835 189.672 171.808L189.795 100.575Z"
|
|
1115
|
+
fill="#E6E6E6"
|
|
1116
|
+
/>
|
|
1117
|
+
</g>
|
|
1118
|
+
<defs>
|
|
1119
|
+
<filter
|
|
1120
|
+
id="filter0_d_3075_695"
|
|
1121
|
+
x="27"
|
|
1122
|
+
y="51"
|
|
1123
|
+
width="152"
|
|
1124
|
+
height="182"
|
|
1125
|
+
filterUnits="userSpaceOnUse"
|
|
1126
|
+
color-interpolation-filters="sRGB"
|
|
1127
|
+
>
|
|
1128
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
1129
|
+
<feColorMatrix
|
|
1130
|
+
in="SourceAlpha"
|
|
1131
|
+
type="matrix"
|
|
1132
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1133
|
+
result="hardAlpha"
|
|
1134
|
+
/>
|
|
1135
|
+
<feOffset dy="4" />
|
|
1136
|
+
<feGaussianBlur stdDeviation="7" />
|
|
1137
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
1138
|
+
<feColorMatrix
|
|
1139
|
+
type="matrix"
|
|
1140
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.14 0"
|
|
1141
|
+
/>
|
|
1142
|
+
<feBlend
|
|
1143
|
+
mode="normal"
|
|
1144
|
+
in2="BackgroundImageFix"
|
|
1145
|
+
result="effect1_dropShadow_3075_695"
|
|
1146
|
+
/>
|
|
1147
|
+
<feBlend
|
|
1148
|
+
mode="normal"
|
|
1149
|
+
in="SourceGraphic"
|
|
1150
|
+
in2="effect1_dropShadow_3075_695"
|
|
1151
|
+
result="shape"
|
|
1152
|
+
/>
|
|
1153
|
+
</filter>
|
|
1154
|
+
<clipPath id="clip0_3075_695">
|
|
1155
|
+
<path
|
|
1156
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
1157
|
+
fill="white"
|
|
1158
|
+
/>
|
|
1159
|
+
</clipPath>
|
|
1160
|
+
</defs>
|
|
1161
|
+
</svg> `;
|
|
1162
|
+
|
|
1163
|
+
export const DarkLinkedPageDeletedLargeBanner = html`<svg
|
|
1164
|
+
width="340"
|
|
1165
|
+
height="170"
|
|
1166
|
+
viewBox="0 0 340 170"
|
|
1167
|
+
fill="none"
|
|
1168
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1169
|
+
>
|
|
1170
|
+
<g clip-path="url(#clip0_3075_10008)">
|
|
1171
|
+
<path
|
|
1172
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
1173
|
+
fill="#141414"
|
|
1174
|
+
/>
|
|
1175
|
+
<g filter="url(#filter0_d_3075_10008)">
|
|
1176
|
+
<rect
|
|
1177
|
+
width="124"
|
|
1178
|
+
height="154"
|
|
1179
|
+
transform="translate(41 61)"
|
|
1180
|
+
fill="white"
|
|
1181
|
+
fill-opacity="0.06"
|
|
1182
|
+
/>
|
|
1183
|
+
<rect
|
|
1184
|
+
x="59.7562"
|
|
1185
|
+
y="81.5333"
|
|
1186
|
+
width="60.9578"
|
|
1187
|
+
height="8.98333"
|
|
1188
|
+
rx="4.49167"
|
|
1189
|
+
fill="white"
|
|
1190
|
+
fill-opacity="0.1"
|
|
1191
|
+
/>
|
|
1192
|
+
<rect
|
|
1193
|
+
x="59.7562"
|
|
1194
|
+
y="99.5"
|
|
1195
|
+
width="86.4875"
|
|
1196
|
+
height="5.13333"
|
|
1197
|
+
rx="2.56667"
|
|
1198
|
+
fill="white"
|
|
1199
|
+
fill-opacity="0.1"
|
|
1200
|
+
/>
|
|
1201
|
+
<rect
|
|
1202
|
+
x="59.7562"
|
|
1203
|
+
y="112.333"
|
|
1204
|
+
width="45.7183"
|
|
1205
|
+
height="5.13333"
|
|
1206
|
+
rx="2.56667"
|
|
1207
|
+
fill="white"
|
|
1208
|
+
fill-opacity="0.1"
|
|
1209
|
+
/>
|
|
1210
|
+
<rect
|
|
1211
|
+
x="59.7562"
|
|
1212
|
+
y="125.167"
|
|
1213
|
+
width="86.4875"
|
|
1214
|
+
height="5.13333"
|
|
1215
|
+
rx="2.56667"
|
|
1216
|
+
fill="white"
|
|
1217
|
+
fill-opacity="0.1"
|
|
1218
|
+
/>
|
|
1219
|
+
<rect
|
|
1220
|
+
x="59.7562"
|
|
1221
|
+
y="138"
|
|
1222
|
+
width="45.7183"
|
|
1223
|
+
height="5.13333"
|
|
1224
|
+
rx="2.56667"
|
|
1225
|
+
fill="white"
|
|
1226
|
+
fill-opacity="0.1"
|
|
1227
|
+
/>
|
|
1228
|
+
</g>
|
|
1229
|
+
<path
|
|
1230
|
+
d="M296.961 47.9114L266.018 40.1164L267.32 35.215C269.478 27.0941 263.671 18.6074 254.349 16.2592L231.845 10.5901C222.524 8.2418 213.218 12.9213 211.06 21.0422L209.758 25.9436L178.815 18.1486C171.047 16.1917 163.292 20.0915 161.494 26.8587L158.889 36.6614C158.17 39.3685 160.105 42.1973 163.213 42.98L298.237 76.9947C301.344 77.7775 304.446 76.2177 305.166 73.5106L307.77 63.7079C309.568 56.9407 304.729 49.8682 296.961 47.9114ZM222.312 23.8768C223.03 21.1749 226.139 19.6115 229.241 20.3927L251.745 26.0619C254.846 26.8431 256.786 29.6786 256.068 32.3805L254.766 37.2818L221.01 28.7781L222.312 23.8768Z"
|
|
1231
|
+
fill="#313131"
|
|
1232
|
+
/>
|
|
1233
|
+
<path
|
|
1234
|
+
d="M159.323 86.8265C158.256 86.8248 157.405 87.6405 157.454 88.6173L162.221 183.503C162.662 192.284 170.517 199.174 180.103 199.19L270.871 199.338C280.457 199.354 288.336 192.49 288.807 183.71L293.902 88.8403C293.955 87.8637 293.106 87.0452 292.04 87.0435L159.323 86.8265ZM249.566 100.673C249.571 97.6453 252.25 95.1976 255.552 95.203C258.854 95.2084 261.525 97.6648 261.52 100.692L261.397 171.925C261.391 174.952 258.712 177.4 255.41 177.395C252.108 177.389 249.437 174.933 249.443 171.906L249.566 100.673ZM219.68 100.624C219.686 97.5965 222.365 95.1488 225.667 95.1542C228.969 95.1596 231.64 97.616 231.635 100.643L231.512 171.876C231.506 174.904 228.827 177.351 225.525 177.346C222.223 177.341 219.552 174.884 219.557 171.857L219.68 100.624ZM189.795 100.575C189.801 97.5476 192.48 95.0999 195.782 95.1053C199.084 95.1107 201.755 97.5671 201.749 100.595L201.626 171.827C201.621 174.855 198.942 177.302 195.64 177.297C192.338 177.292 189.667 174.835 189.672 171.808L189.795 100.575Z"
|
|
1235
|
+
fill="#313131"
|
|
1236
|
+
/>
|
|
1237
|
+
</g>
|
|
1238
|
+
<defs>
|
|
1239
|
+
<filter
|
|
1240
|
+
id="filter0_d_3075_10008"
|
|
1241
|
+
x="17"
|
|
1242
|
+
y="41"
|
|
1243
|
+
width="172"
|
|
1244
|
+
height="202"
|
|
1245
|
+
filterUnits="userSpaceOnUse"
|
|
1246
|
+
color-interpolation-filters="sRGB"
|
|
1247
|
+
>
|
|
1248
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
1249
|
+
<feColorMatrix
|
|
1250
|
+
in="SourceAlpha"
|
|
1251
|
+
type="matrix"
|
|
1252
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1253
|
+
result="hardAlpha"
|
|
1254
|
+
/>
|
|
1255
|
+
<feOffset dy="4" />
|
|
1256
|
+
<feGaussianBlur stdDeviation="12" />
|
|
1257
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
1258
|
+
<feColorMatrix
|
|
1259
|
+
type="matrix"
|
|
1260
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.14 0"
|
|
1261
|
+
/>
|
|
1262
|
+
<feBlend
|
|
1263
|
+
mode="normal"
|
|
1264
|
+
in2="BackgroundImageFix"
|
|
1265
|
+
result="effect1_dropShadow_3075_10008"
|
|
1266
|
+
/>
|
|
1267
|
+
<feBlend
|
|
1268
|
+
mode="normal"
|
|
1269
|
+
in="SourceGraphic"
|
|
1270
|
+
in2="effect1_dropShadow_3075_10008"
|
|
1271
|
+
result="shape"
|
|
1272
|
+
/>
|
|
1273
|
+
</filter>
|
|
1274
|
+
<clipPath id="clip0_3075_10008">
|
|
1275
|
+
<path
|
|
1276
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
1277
|
+
fill="white"
|
|
1278
|
+
/>
|
|
1279
|
+
</clipPath>
|
|
1280
|
+
</defs>
|
|
1281
|
+
</svg> `;
|
|
1282
|
+
|
|
1283
|
+
export const LightLinkedEdgelessEmptySmallBanner = html`<svg
|
|
1284
|
+
width="204"
|
|
1285
|
+
height="102"
|
|
1286
|
+
viewBox="0 0 204 102"
|
|
1287
|
+
fill="none"
|
|
1288
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1289
|
+
>
|
|
1290
|
+
<g clip-path="url(#clip0_3075_9806)">
|
|
1291
|
+
<g filter="url(#filter0_d_3075_9806)">
|
|
1292
|
+
<g clip-path="url(#clip1_3075_9806)">
|
|
1293
|
+
<rect
|
|
1294
|
+
x="46"
|
|
1295
|
+
y="5"
|
|
1296
|
+
width="125.328"
|
|
1297
|
+
height="85.42"
|
|
1298
|
+
rx="4"
|
|
1299
|
+
transform="rotate(8 46 5)"
|
|
1300
|
+
fill="white"
|
|
1301
|
+
fill-opacity="0.1"
|
|
1302
|
+
shape-rendering="crispEdges"
|
|
1303
|
+
/>
|
|
1304
|
+
<rect
|
|
1305
|
+
x="58.1663"
|
|
1306
|
+
y="19.0759"
|
|
1307
|
+
width="43.8649"
|
|
1308
|
+
height="32.392"
|
|
1309
|
+
rx="4"
|
|
1310
|
+
transform="rotate(8 58.1663 19.0759)"
|
|
1311
|
+
fill="#EEEEEE"
|
|
1312
|
+
/>
|
|
1313
|
+
<rect
|
|
1314
|
+
x="110.528"
|
|
1315
|
+
y="62.3364"
|
|
1316
|
+
width="43.8649"
|
|
1317
|
+
height="21.7263"
|
|
1318
|
+
rx="4"
|
|
1319
|
+
transform="rotate(8 110.528 62.3364)"
|
|
1320
|
+
fill="#EEEEEE"
|
|
1321
|
+
/>
|
|
1322
|
+
<rect
|
|
1323
|
+
x="54.2542"
|
|
1324
|
+
y="62.8047"
|
|
1325
|
+
width="41.6532"
|
|
1326
|
+
height="4.74028"
|
|
1327
|
+
rx="2.37014"
|
|
1328
|
+
transform="rotate(8 54.2542 62.8047)"
|
|
1329
|
+
fill="black"
|
|
1330
|
+
fill-opacity="0.1"
|
|
1331
|
+
/>
|
|
1332
|
+
<rect
|
|
1333
|
+
x="52.9346"
|
|
1334
|
+
y="72.1931"
|
|
1335
|
+
width="29.8576"
|
|
1336
|
+
height="4.74028"
|
|
1337
|
+
rx="2.37014"
|
|
1338
|
+
transform="rotate(8 52.9346 72.1931)"
|
|
1339
|
+
fill="black"
|
|
1340
|
+
fill-opacity="0.1"
|
|
1341
|
+
/>
|
|
1342
|
+
<path
|
|
1343
|
+
d="M102.665 41.4729C102.118 41.396 101.612 41.7771 101.536 42.324C101.459 42.8709 101.84 43.3765 102.387 43.4534L102.665 41.4729ZM105.394 43.876C105.941 43.9529 106.447 43.5719 106.523 43.025C106.6 42.478 106.219 41.9724 105.672 41.8955L105.394 43.876ZM111.687 42.7408C111.14 42.6639 110.634 43.045 110.557 43.5919C110.481 44.1388 110.862 44.6445 111.409 44.7213L111.687 42.7408ZM117.423 45.5666C117.97 45.6435 118.476 45.2625 118.553 44.7155C118.629 44.1686 118.248 43.663 117.702 43.5861L117.423 45.5666ZM123.716 44.4314C123.169 44.3545 122.664 44.7356 122.587 45.2825C122.51 45.8294 122.891 46.3351 123.438 46.4119L123.716 44.4314ZM129.077 47.7514C129.553 48.0319 130.166 47.8737 130.446 47.3979C130.727 46.9222 130.569 46.3091 130.093 46.0286L129.077 47.7514ZM134.305 51.618C134.166 51.0834 133.621 50.7622 133.086 50.9007C132.551 51.0392 132.23 51.5849 132.369 52.1195L134.305 51.618ZM132.272 56.7004C132.195 57.2473 132.576 57.753 133.123 57.8298C133.67 57.9067 134.176 57.5256 134.252 56.9787L132.272 56.7004ZM133.747 60.5748C133.824 60.0279 133.443 59.5222 132.896 59.4453C132.349 59.3685 131.843 59.7495 131.766 60.2964L133.747 60.5748ZM102.387 43.4534L105.394 43.876L105.672 41.8955L102.665 41.4729L102.387 43.4534ZM111.409 44.7213L117.423 45.5666L117.702 43.5861L111.687 42.7408L111.409 44.7213ZM123.438 46.4119L126.445 46.8346L126.723 44.854L123.716 44.4314L123.438 46.4119ZM126.445 46.8346C127.406 46.9696 128.293 47.2891 129.077 47.7514L130.093 46.0286C129.086 45.4351 127.949 45.0263 126.723 44.854L126.445 46.8346ZM132.369 52.1195C132.597 53.0007 132.66 53.9414 132.525 54.9024L134.505 55.1807C134.677 53.9549 134.598 52.7492 134.305 51.618L132.369 52.1195ZM132.525 54.9024L132.272 56.7004L134.252 56.9787L134.505 55.1807L132.525 54.9024ZM131.766 60.2964L131.514 62.0945L133.494 62.3728L133.747 60.5748L131.766 60.2964Z"
|
|
1344
|
+
fill="black"
|
|
1345
|
+
fill-opacity="0.3"
|
|
1346
|
+
/>
|
|
1347
|
+
<path
|
|
1348
|
+
d="M136.622 38.7233C145.813 33.9965 156.074 29.1384 149.749 37.1115C143.424 45.0846 137.142 57.4286 151.255 49.3745"
|
|
1349
|
+
stroke="black"
|
|
1350
|
+
stroke-opacity="0.3"
|
|
1351
|
+
stroke-width="1.90521"
|
|
1352
|
+
stroke-linecap="round"
|
|
1353
|
+
/>
|
|
1354
|
+
</g>
|
|
1355
|
+
</g>
|
|
1356
|
+
</g>
|
|
1357
|
+
<defs>
|
|
1358
|
+
<filter
|
|
1359
|
+
id="filter0_d_3075_9806"
|
|
1360
|
+
x="29.1118"
|
|
1361
|
+
y="0"
|
|
1362
|
+
width="145.997"
|
|
1363
|
+
height="112.031"
|
|
1364
|
+
filterUnits="userSpaceOnUse"
|
|
1365
|
+
color-interpolation-filters="sRGB"
|
|
1366
|
+
>
|
|
1367
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
1368
|
+
<feColorMatrix
|
|
1369
|
+
in="SourceAlpha"
|
|
1370
|
+
type="matrix"
|
|
1371
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1372
|
+
result="hardAlpha"
|
|
1373
|
+
/>
|
|
1374
|
+
<feOffset />
|
|
1375
|
+
<feGaussianBlur stdDeviation="2.5" />
|
|
1376
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
1377
|
+
<feColorMatrix
|
|
1378
|
+
type="matrix"
|
|
1379
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.17 0"
|
|
1380
|
+
/>
|
|
1381
|
+
<feBlend
|
|
1382
|
+
mode="normal"
|
|
1383
|
+
in2="BackgroundImageFix"
|
|
1384
|
+
result="effect1_dropShadow_3075_9806"
|
|
1385
|
+
/>
|
|
1386
|
+
<feBlend
|
|
1387
|
+
mode="normal"
|
|
1388
|
+
in="SourceGraphic"
|
|
1389
|
+
in2="effect1_dropShadow_3075_9806"
|
|
1390
|
+
result="shape"
|
|
1391
|
+
/>
|
|
1392
|
+
</filter>
|
|
1393
|
+
<clipPath id="clip0_3075_9806">
|
|
1394
|
+
<rect width="204" height="102" fill="white" />
|
|
1395
|
+
</clipPath>
|
|
1396
|
+
<clipPath id="clip1_3075_9806">
|
|
1397
|
+
<rect
|
|
1398
|
+
x="46"
|
|
1399
|
+
y="5"
|
|
1400
|
+
width="125.328"
|
|
1401
|
+
height="85.42"
|
|
1402
|
+
rx="4"
|
|
1403
|
+
transform="rotate(8 46 5)"
|
|
1404
|
+
fill="white"
|
|
1405
|
+
/>
|
|
1406
|
+
</clipPath>
|
|
1407
|
+
</defs>
|
|
1408
|
+
</svg> `;
|
|
1409
|
+
|
|
1410
|
+
export const DarkLinkedEdgelessEmptySmallBanner = html`<svg
|
|
1411
|
+
width="204"
|
|
1412
|
+
height="102"
|
|
1413
|
+
viewBox="0 0 204 102"
|
|
1414
|
+
fill="none"
|
|
1415
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1416
|
+
>
|
|
1417
|
+
<g clip-path="url(#clip0_3075_9829)">
|
|
1418
|
+
<g filter="url(#filter0_d_3075_9829)">
|
|
1419
|
+
<g clip-path="url(#clip1_3075_9829)">
|
|
1420
|
+
<rect
|
|
1421
|
+
x="46"
|
|
1422
|
+
y="5"
|
|
1423
|
+
width="125.328"
|
|
1424
|
+
height="85.42"
|
|
1425
|
+
rx="4"
|
|
1426
|
+
transform="rotate(8 46 5)"
|
|
1427
|
+
fill="white"
|
|
1428
|
+
fill-opacity="0.1"
|
|
1429
|
+
shape-rendering="crispEdges"
|
|
1430
|
+
/>
|
|
1431
|
+
<rect
|
|
1432
|
+
x="58.1662"
|
|
1433
|
+
y="19.0759"
|
|
1434
|
+
width="43.8649"
|
|
1435
|
+
height="32.392"
|
|
1436
|
+
rx="4"
|
|
1437
|
+
transform="rotate(8 58.1662 19.0759)"
|
|
1438
|
+
fill="#303030"
|
|
1439
|
+
/>
|
|
1440
|
+
<rect
|
|
1441
|
+
x="110.528"
|
|
1442
|
+
y="62.3364"
|
|
1443
|
+
width="43.8649"
|
|
1444
|
+
height="21.7263"
|
|
1445
|
+
rx="4"
|
|
1446
|
+
transform="rotate(8 110.528 62.3364)"
|
|
1447
|
+
fill="#303030"
|
|
1448
|
+
/>
|
|
1449
|
+
<rect
|
|
1450
|
+
x="54.2541"
|
|
1451
|
+
y="62.8047"
|
|
1452
|
+
width="41.6532"
|
|
1453
|
+
height="4.74028"
|
|
1454
|
+
rx="2.37014"
|
|
1455
|
+
transform="rotate(8 54.2541 62.8047)"
|
|
1456
|
+
fill="white"
|
|
1457
|
+
fill-opacity="0.1"
|
|
1458
|
+
/>
|
|
1459
|
+
<rect
|
|
1460
|
+
x="52.9347"
|
|
1461
|
+
y="72.1931"
|
|
1462
|
+
width="29.8576"
|
|
1463
|
+
height="4.74028"
|
|
1464
|
+
rx="2.37014"
|
|
1465
|
+
transform="rotate(8 52.9347 72.1931)"
|
|
1466
|
+
fill="white"
|
|
1467
|
+
fill-opacity="0.1"
|
|
1468
|
+
/>
|
|
1469
|
+
<path
|
|
1470
|
+
d="M102.665 41.4729C102.118 41.396 101.613 41.7771 101.536 42.324C101.459 42.8709 101.84 43.3765 102.387 43.4534L102.665 41.4729ZM105.394 43.876C105.941 43.9529 106.447 43.5719 106.524 43.025C106.6 42.478 106.219 41.9724 105.672 41.8955L105.394 43.876ZM111.687 42.7408C111.14 42.6639 110.634 43.045 110.558 43.5919C110.481 44.1388 110.862 44.6445 111.409 44.7213L111.687 42.7408ZM117.423 45.5666C117.97 45.6435 118.476 45.2625 118.553 44.7155C118.63 44.1686 118.248 43.663 117.702 43.5861L117.423 45.5666ZM123.716 44.4314C123.169 44.3545 122.664 44.7356 122.587 45.2825C122.51 45.8294 122.891 46.3351 123.438 46.4119L123.716 44.4314ZM129.077 47.7514C129.553 48.0319 130.166 47.8737 130.446 47.3979C130.727 46.9222 130.569 46.3091 130.093 46.0286L129.077 47.7514ZM134.305 51.618C134.166 51.0834 133.621 50.7622 133.086 50.9007C132.551 51.0392 132.23 51.5849 132.369 52.1195L134.305 51.618ZM132.272 56.7004C132.195 57.2473 132.576 57.753 133.123 57.8298C133.67 57.9067 134.176 57.5256 134.252 56.9787L132.272 56.7004ZM133.747 60.5748C133.824 60.0279 133.443 59.5222 132.896 59.4453C132.349 59.3685 131.843 59.7495 131.767 60.2964L133.747 60.5748ZM102.387 43.4534L105.394 43.876L105.672 41.8955L102.665 41.4729L102.387 43.4534ZM111.409 44.7213L117.423 45.5666L117.702 43.5861L111.687 42.7408L111.409 44.7213ZM123.438 46.4119L126.445 46.8346L126.723 44.854L123.716 44.4314L123.438 46.4119ZM126.445 46.8346C127.406 46.9696 128.293 47.2891 129.077 47.7514L130.093 46.0286C129.086 45.4351 127.949 45.0263 126.723 44.854L126.445 46.8346ZM132.369 52.1195C132.597 53.0007 132.66 53.9414 132.525 54.9024L134.505 55.1807C134.677 53.9549 134.598 52.7492 134.305 51.618L132.369 52.1195ZM132.525 54.9024L132.272 56.7004L134.252 56.9787L134.505 55.1807L132.525 54.9024ZM131.767 60.2964L131.514 62.0945L133.494 62.3728L133.747 60.5748L131.767 60.2964Z"
|
|
1471
|
+
fill="white"
|
|
1472
|
+
fill-opacity="0.3"
|
|
1473
|
+
/>
|
|
1474
|
+
<path
|
|
1475
|
+
d="M136.622 38.7233C145.813 33.9965 156.074 29.1384 149.749 37.1115C143.424 45.0846 137.142 57.4286 151.254 49.3745"
|
|
1476
|
+
stroke="white"
|
|
1477
|
+
stroke-opacity="0.3"
|
|
1478
|
+
stroke-width="1.90521"
|
|
1479
|
+
stroke-linecap="round"
|
|
1480
|
+
/>
|
|
1481
|
+
</g>
|
|
1482
|
+
</g>
|
|
1483
|
+
</g>
|
|
1484
|
+
<defs>
|
|
1485
|
+
<filter
|
|
1486
|
+
id="filter0_d_3075_9829"
|
|
1487
|
+
x="29.1118"
|
|
1488
|
+
y="0"
|
|
1489
|
+
width="145.997"
|
|
1490
|
+
height="112.031"
|
|
1491
|
+
filterUnits="userSpaceOnUse"
|
|
1492
|
+
color-interpolation-filters="sRGB"
|
|
1493
|
+
>
|
|
1494
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
1495
|
+
<feColorMatrix
|
|
1496
|
+
in="SourceAlpha"
|
|
1497
|
+
type="matrix"
|
|
1498
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1499
|
+
result="hardAlpha"
|
|
1500
|
+
/>
|
|
1501
|
+
<feOffset />
|
|
1502
|
+
<feGaussianBlur stdDeviation="2.5" />
|
|
1503
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
1504
|
+
<feColorMatrix
|
|
1505
|
+
type="matrix"
|
|
1506
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.17 0"
|
|
1507
|
+
/>
|
|
1508
|
+
<feBlend
|
|
1509
|
+
mode="normal"
|
|
1510
|
+
in2="BackgroundImageFix"
|
|
1511
|
+
result="effect1_dropShadow_3075_9829"
|
|
1512
|
+
/>
|
|
1513
|
+
<feBlend
|
|
1514
|
+
mode="normal"
|
|
1515
|
+
in="SourceGraphic"
|
|
1516
|
+
in2="effect1_dropShadow_3075_9829"
|
|
1517
|
+
result="shape"
|
|
1518
|
+
/>
|
|
1519
|
+
</filter>
|
|
1520
|
+
<clipPath id="clip0_3075_9829">
|
|
1521
|
+
<rect width="204" height="102" fill="white" />
|
|
1522
|
+
</clipPath>
|
|
1523
|
+
<clipPath id="clip1_3075_9829">
|
|
1524
|
+
<rect
|
|
1525
|
+
x="46"
|
|
1526
|
+
y="5"
|
|
1527
|
+
width="125.328"
|
|
1528
|
+
height="85.42"
|
|
1529
|
+
rx="4"
|
|
1530
|
+
transform="rotate(8 46 5)"
|
|
1531
|
+
fill="white"
|
|
1532
|
+
/>
|
|
1533
|
+
</clipPath>
|
|
1534
|
+
</defs>
|
|
1535
|
+
</svg> `;
|
|
1536
|
+
|
|
1537
|
+
export const LightLinkedEdgelessEmptyLargeBanner = html`<svg
|
|
1538
|
+
width="340"
|
|
1539
|
+
height="170"
|
|
1540
|
+
viewBox="0 0 340 170"
|
|
1541
|
+
fill="none"
|
|
1542
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1543
|
+
>
|
|
1544
|
+
<g clip-path="url(#clip0_3075_9936)">
|
|
1545
|
+
<path
|
|
1546
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
1547
|
+
fill="white"
|
|
1548
|
+
fill-opacity="0.1"
|
|
1549
|
+
/>
|
|
1550
|
+
<g filter="url(#filter0_dd_3075_9936)">
|
|
1551
|
+
<rect x="32" y="19.3782" width="119" height="78" rx="8" fill="#EEEEEE" />
|
|
1552
|
+
</g>
|
|
1553
|
+
<g filter="url(#filter1_dd_3075_9936)">
|
|
1554
|
+
<rect x="189" y="102.378" width="119" height="54" rx="8" fill="#EEEEEE" />
|
|
1555
|
+
</g>
|
|
1556
|
+
<rect
|
|
1557
|
+
x="35.999"
|
|
1558
|
+
y="120.552"
|
|
1559
|
+
width="113"
|
|
1560
|
+
height="11"
|
|
1561
|
+
rx="5.5"
|
|
1562
|
+
fill="black"
|
|
1563
|
+
fill-opacity="0.1"
|
|
1564
|
+
/>
|
|
1565
|
+
<rect
|
|
1566
|
+
x="35.999"
|
|
1567
|
+
y="145.378"
|
|
1568
|
+
width="81"
|
|
1569
|
+
height="11"
|
|
1570
|
+
rx="5.5"
|
|
1571
|
+
fill="black"
|
|
1572
|
+
fill-opacity="0.1"
|
|
1573
|
+
/>
|
|
1574
|
+
<path
|
|
1575
|
+
d="M160 57.1802C159.172 57.1802 158.5 57.8517 158.5 58.6802C158.5 59.5086 159.172 60.1802 160 60.1802V57.1802ZM164.75 60.1802C165.578 60.1802 166.25 59.5086 166.25 58.6802C166.25 57.8517 165.578 57.1802 164.75 57.1802V60.1802ZM174.25 57.1802C173.422 57.1802 172.75 57.8517 172.75 58.6802C172.75 59.5086 173.422 60.1802 174.25 60.1802V57.1802ZM183.75 60.1802C184.578 60.1802 185.25 59.5086 185.25 58.6802C185.25 57.8517 184.578 57.1802 183.75 57.1802V60.1802ZM193.25 57.1802C192.422 57.1802 191.75 57.8517 191.75 58.6802C191.75 59.5086 192.422 60.1802 193.25 60.1802V57.1802ZM202.75 60.1802C203.578 60.1802 204.25 59.5086 204.25 58.6802C204.25 57.8517 203.578 57.1802 202.75 57.1802V60.1802ZM212.25 57.1802C211.422 57.1802 210.75 57.8517 210.75 58.6802C210.75 59.5086 211.422 60.1802 212.25 60.1802V57.1802ZM221.75 60.1802C222.578 60.1802 223.25 59.5086 223.25 58.6802C223.25 57.8517 222.578 57.1802 221.75 57.1802V60.1802ZM231.25 57.1802C230.422 57.1802 229.75 57.8517 229.75 58.6802C229.75 59.5086 230.422 60.1802 231.25 60.1802V57.1802ZM240.019 60.9763C240.784 61.2937 241.662 60.9306 241.979 60.1653C242.296 59.4001 241.933 58.5225 241.168 58.2052L240.019 60.9763ZM248.475 65.5121C248.158 64.7469 247.28 64.3838 246.515 64.7011C245.75 65.0185 245.387 65.8961 245.704 66.6613L248.475 65.5121ZM246.5 78.1288C246.5 78.9572 247.172 79.6288 248 79.6288C248.828 79.6288 249.5 78.9572 249.5 78.1288H246.5ZM249.5 93.0259C249.5 92.1975 248.828 91.5259 248 91.5259C247.172 91.5259 246.5 92.1975 246.5 93.0259H249.5ZM160 60.1802H164.75V57.1802H160V60.1802ZM174.25 60.1802H183.75V57.1802H174.25V60.1802ZM193.25 60.1802H202.75V57.1802H193.25V60.1802ZM212.25 60.1802H221.75V57.1802H212.25V60.1802ZM231.25 60.1802H236V57.1802H231.25V60.1802ZM236 60.1802C237.426 60.1802 238.783 60.4638 240.019 60.9763L241.168 58.2052C239.574 57.5442 237.828 57.1802 236 57.1802V60.1802ZM245.704 66.6613C246.216 67.8973 246.5 69.2537 246.5 70.6802H249.5C249.5 68.8525 249.136 67.106 248.475 65.5121L245.704 66.6613ZM246.5 70.6802V78.1288H249.5V70.6802H246.5ZM246.5 93.0259V100.475H249.5V93.0259H246.5Z"
|
|
1576
|
+
fill="black"
|
|
1577
|
+
fill-opacity="0.3"
|
|
1578
|
+
/>
|
|
1579
|
+
<path
|
|
1580
|
+
d="M250.185 35.7596C273.092 19.591 298.824 2.66568 284.842 26.4733C270.86 50.2808 258.644 85.8144 293.517 58.8491"
|
|
1581
|
+
stroke="black"
|
|
1582
|
+
stroke-opacity="0.3"
|
|
1583
|
+
stroke-width="3"
|
|
1584
|
+
stroke-linecap="round"
|
|
1585
|
+
/>
|
|
1586
|
+
</g>
|
|
1587
|
+
<path
|
|
1588
|
+
d="M0.5 4C0.5 2.067 2.067 0.5 4 0.5H336C337.933 0.5 339.5 2.067 339.5 4V169.5H0.5V4Z"
|
|
1589
|
+
stroke="#E3E2E4"
|
|
1590
|
+
/>
|
|
1591
|
+
<defs>
|
|
1592
|
+
<filter
|
|
1593
|
+
id="filter0_dd_3075_9936"
|
|
1594
|
+
x="22"
|
|
1595
|
+
y="19.3782"
|
|
1596
|
+
width="139"
|
|
1597
|
+
height="98"
|
|
1598
|
+
filterUnits="userSpaceOnUse"
|
|
1599
|
+
color-interpolation-filters="sRGB"
|
|
1600
|
+
>
|
|
1601
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
1602
|
+
<feColorMatrix
|
|
1603
|
+
in="SourceAlpha"
|
|
1604
|
+
type="matrix"
|
|
1605
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1606
|
+
result="hardAlpha"
|
|
1607
|
+
/>
|
|
1608
|
+
<feMorphology
|
|
1609
|
+
radius="3"
|
|
1610
|
+
operator="erode"
|
|
1611
|
+
in="SourceAlpha"
|
|
1612
|
+
result="effect1_dropShadow_3075_9936"
|
|
1613
|
+
/>
|
|
1614
|
+
<feOffset dy="4" />
|
|
1615
|
+
<feGaussianBlur stdDeviation="3" />
|
|
1616
|
+
<feColorMatrix
|
|
1617
|
+
type="matrix"
|
|
1618
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.1 0"
|
|
1619
|
+
/>
|
|
1620
|
+
<feBlend
|
|
1621
|
+
mode="normal"
|
|
1622
|
+
in2="BackgroundImageFix"
|
|
1623
|
+
result="effect1_dropShadow_3075_9936"
|
|
1624
|
+
/>
|
|
1625
|
+
<feColorMatrix
|
|
1626
|
+
in="SourceAlpha"
|
|
1627
|
+
type="matrix"
|
|
1628
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1629
|
+
result="hardAlpha"
|
|
1630
|
+
/>
|
|
1631
|
+
<feMorphology
|
|
1632
|
+
radius="2"
|
|
1633
|
+
operator="erode"
|
|
1634
|
+
in="SourceAlpha"
|
|
1635
|
+
result="effect2_dropShadow_3075_9936"
|
|
1636
|
+
/>
|
|
1637
|
+
<feOffset dy="10" />
|
|
1638
|
+
<feGaussianBlur stdDeviation="6" />
|
|
1639
|
+
<feColorMatrix
|
|
1640
|
+
type="matrix"
|
|
1641
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.1 0"
|
|
1642
|
+
/>
|
|
1643
|
+
<feBlend
|
|
1644
|
+
mode="normal"
|
|
1645
|
+
in2="effect1_dropShadow_3075_9936"
|
|
1646
|
+
result="effect2_dropShadow_3075_9936"
|
|
1647
|
+
/>
|
|
1648
|
+
<feBlend
|
|
1649
|
+
mode="normal"
|
|
1650
|
+
in="SourceGraphic"
|
|
1651
|
+
in2="effect2_dropShadow_3075_9936"
|
|
1652
|
+
result="shape"
|
|
1653
|
+
/>
|
|
1654
|
+
</filter>
|
|
1655
|
+
<filter
|
|
1656
|
+
id="filter1_dd_3075_9936"
|
|
1657
|
+
x="179"
|
|
1658
|
+
y="102.378"
|
|
1659
|
+
width="139"
|
|
1660
|
+
height="74"
|
|
1661
|
+
filterUnits="userSpaceOnUse"
|
|
1662
|
+
color-interpolation-filters="sRGB"
|
|
1663
|
+
>
|
|
1664
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
1665
|
+
<feColorMatrix
|
|
1666
|
+
in="SourceAlpha"
|
|
1667
|
+
type="matrix"
|
|
1668
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1669
|
+
result="hardAlpha"
|
|
1670
|
+
/>
|
|
1671
|
+
<feMorphology
|
|
1672
|
+
radius="3"
|
|
1673
|
+
operator="erode"
|
|
1674
|
+
in="SourceAlpha"
|
|
1675
|
+
result="effect1_dropShadow_3075_9936"
|
|
1676
|
+
/>
|
|
1677
|
+
<feOffset dy="4" />
|
|
1678
|
+
<feGaussianBlur stdDeviation="3" />
|
|
1679
|
+
<feColorMatrix
|
|
1680
|
+
type="matrix"
|
|
1681
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.1 0"
|
|
1682
|
+
/>
|
|
1683
|
+
<feBlend
|
|
1684
|
+
mode="normal"
|
|
1685
|
+
in2="BackgroundImageFix"
|
|
1686
|
+
result="effect1_dropShadow_3075_9936"
|
|
1687
|
+
/>
|
|
1688
|
+
<feColorMatrix
|
|
1689
|
+
in="SourceAlpha"
|
|
1690
|
+
type="matrix"
|
|
1691
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1692
|
+
result="hardAlpha"
|
|
1693
|
+
/>
|
|
1694
|
+
<feMorphology
|
|
1695
|
+
radius="2"
|
|
1696
|
+
operator="erode"
|
|
1697
|
+
in="SourceAlpha"
|
|
1698
|
+
result="effect2_dropShadow_3075_9936"
|
|
1699
|
+
/>
|
|
1700
|
+
<feOffset dy="10" />
|
|
1701
|
+
<feGaussianBlur stdDeviation="6" />
|
|
1702
|
+
<feColorMatrix
|
|
1703
|
+
type="matrix"
|
|
1704
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.1 0"
|
|
1705
|
+
/>
|
|
1706
|
+
<feBlend
|
|
1707
|
+
mode="normal"
|
|
1708
|
+
in2="effect1_dropShadow_3075_9936"
|
|
1709
|
+
result="effect2_dropShadow_3075_9936"
|
|
1710
|
+
/>
|
|
1711
|
+
<feBlend
|
|
1712
|
+
mode="normal"
|
|
1713
|
+
in="SourceGraphic"
|
|
1714
|
+
in2="effect2_dropShadow_3075_9936"
|
|
1715
|
+
result="shape"
|
|
1716
|
+
/>
|
|
1717
|
+
</filter>
|
|
1718
|
+
<clipPath id="clip0_3075_9936">
|
|
1719
|
+
<path
|
|
1720
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
1721
|
+
fill="white"
|
|
1722
|
+
/>
|
|
1723
|
+
</clipPath>
|
|
1724
|
+
</defs>
|
|
1725
|
+
</svg> `;
|
|
1726
|
+
|
|
1727
|
+
export const DarkLinkedEdgelessEmptyLargeBanner = html`<svg
|
|
1728
|
+
width="340"
|
|
1729
|
+
height="170"
|
|
1730
|
+
viewBox="0 0 340 170"
|
|
1731
|
+
fill="none"
|
|
1732
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1733
|
+
>
|
|
1734
|
+
<path
|
|
1735
|
+
d="M0.5 4C0.5 2.067 2.067 0.5 4 0.5H336C337.933 0.5 339.5 2.067 339.5 4V169.5H0.5V4Z"
|
|
1736
|
+
fill="#141414"
|
|
1737
|
+
/>
|
|
1738
|
+
<path
|
|
1739
|
+
d="M0.5 4C0.5 2.067 2.067 0.5 4 0.5H336C337.933 0.5 339.5 2.067 339.5 4V169.5H0.5V4Z"
|
|
1740
|
+
stroke="#2E2E2E"
|
|
1741
|
+
/>
|
|
1742
|
+
<rect x="32" y="19.3782" width="119" height="78" rx="8" fill="#303030" />
|
|
1743
|
+
<rect x="189" y="102.378" width="119" height="54" rx="8" fill="#303030" />
|
|
1744
|
+
<rect
|
|
1745
|
+
x="35.999"
|
|
1746
|
+
y="120.552"
|
|
1747
|
+
width="113"
|
|
1748
|
+
height="11"
|
|
1749
|
+
rx="5.5"
|
|
1750
|
+
fill="white"
|
|
1751
|
+
fill-opacity="0.1"
|
|
1752
|
+
/>
|
|
1753
|
+
<rect
|
|
1754
|
+
x="35.999"
|
|
1755
|
+
y="145.378"
|
|
1756
|
+
width="81"
|
|
1757
|
+
height="11"
|
|
1758
|
+
rx="5.5"
|
|
1759
|
+
fill="white"
|
|
1760
|
+
fill-opacity="0.1"
|
|
1761
|
+
/>
|
|
1762
|
+
<path
|
|
1763
|
+
d="M160 57.1802C159.172 57.1802 158.5 57.8517 158.5 58.6802C158.5 59.5086 159.172 60.1802 160 60.1802V57.1802ZM164.75 60.1802C165.578 60.1802 166.25 59.5086 166.25 58.6802C166.25 57.8517 165.578 57.1802 164.75 57.1802V60.1802ZM174.25 57.1802C173.422 57.1802 172.75 57.8517 172.75 58.6802C172.75 59.5086 173.422 60.1802 174.25 60.1802V57.1802ZM183.75 60.1802C184.578 60.1802 185.25 59.5086 185.25 58.6802C185.25 57.8517 184.578 57.1802 183.75 57.1802V60.1802ZM193.25 57.1802C192.422 57.1802 191.75 57.8517 191.75 58.6802C191.75 59.5086 192.422 60.1802 193.25 60.1802V57.1802ZM202.75 60.1802C203.578 60.1802 204.25 59.5086 204.25 58.6802C204.25 57.8517 203.578 57.1802 202.75 57.1802V60.1802ZM212.25 57.1802C211.422 57.1802 210.75 57.8517 210.75 58.6802C210.75 59.5086 211.422 60.1802 212.25 60.1802V57.1802ZM221.75 60.1802C222.578 60.1802 223.25 59.5086 223.25 58.6802C223.25 57.8517 222.578 57.1802 221.75 57.1802V60.1802ZM231.25 57.1802C230.422 57.1802 229.75 57.8517 229.75 58.6802C229.75 59.5086 230.422 60.1802 231.25 60.1802V57.1802ZM240.019 60.9763C240.784 61.2937 241.662 60.9306 241.979 60.1653C242.296 59.4001 241.933 58.5225 241.168 58.2052L240.019 60.9763ZM248.475 65.5121C248.158 64.7469 247.28 64.3838 246.515 64.7011C245.75 65.0185 245.387 65.8961 245.704 66.6613L248.475 65.5121ZM246.5 78.1288C246.5 78.9572 247.172 79.6288 248 79.6288C248.828 79.6288 249.5 78.9572 249.5 78.1288H246.5ZM249.5 93.0259C249.5 92.1975 248.828 91.5259 248 91.5259C247.172 91.5259 246.5 92.1975 246.5 93.0259H249.5ZM160 60.1802H164.75V57.1802H160V60.1802ZM174.25 60.1802H183.75V57.1802H174.25V60.1802ZM193.25 60.1802H202.75V57.1802H193.25V60.1802ZM212.25 60.1802H221.75V57.1802H212.25V60.1802ZM231.25 60.1802H236V57.1802H231.25V60.1802ZM236 60.1802C237.426 60.1802 238.783 60.4638 240.019 60.9763L241.168 58.2052C239.574 57.5442 237.828 57.1802 236 57.1802V60.1802ZM245.704 66.6613C246.216 67.8973 246.5 69.2537 246.5 70.6802H249.5C249.5 68.8525 249.136 67.106 248.475 65.5121L245.704 66.6613ZM246.5 70.6802V78.1288H249.5V70.6802H246.5ZM246.5 93.0259V100.475H249.5V93.0259H246.5Z"
|
|
1764
|
+
fill="white"
|
|
1765
|
+
fill-opacity="0.3"
|
|
1766
|
+
/>
|
|
1767
|
+
<path
|
|
1768
|
+
d="M250.185 35.7596C273.092 19.591 298.824 2.66568 284.842 26.4733C270.86 50.2808 258.644 85.8144 293.517 58.8491"
|
|
1769
|
+
stroke="white"
|
|
1770
|
+
stroke-opacity="0.3"
|
|
1771
|
+
stroke-width="3"
|
|
1772
|
+
stroke-linecap="round"
|
|
1773
|
+
/>
|
|
1774
|
+
</svg> `;
|
|
1775
|
+
|
|
1776
|
+
export const LightLinkedEdgelessDeletedSmallBanner = html`<svg
|
|
1777
|
+
width="204"
|
|
1778
|
+
height="66"
|
|
1779
|
+
viewBox="0 0 204 66"
|
|
1780
|
+
fill="none"
|
|
1781
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1782
|
+
>
|
|
1783
|
+
<g filter="url(#filter0_d_3075_9990)">
|
|
1784
|
+
<rect
|
|
1785
|
+
x="35.446"
|
|
1786
|
+
y="22.3057"
|
|
1787
|
+
width="66"
|
|
1788
|
+
height="44.9836"
|
|
1789
|
+
rx="2"
|
|
1790
|
+
fill="white"
|
|
1791
|
+
/>
|
|
1792
|
+
<rect
|
|
1793
|
+
x="42.8223"
|
|
1794
|
+
y="28.7544"
|
|
1795
|
+
width="23.1"
|
|
1796
|
+
height="17.0581"
|
|
1797
|
+
rx="2"
|
|
1798
|
+
fill="#EAEAEA"
|
|
1799
|
+
/>
|
|
1800
|
+
<rect
|
|
1801
|
+
x="73.2991"
|
|
1802
|
+
y="47.4768"
|
|
1803
|
+
width="23.1"
|
|
1804
|
+
height="11.4414"
|
|
1805
|
+
rx="2"
|
|
1806
|
+
fill="#EAEAEA"
|
|
1807
|
+
/>
|
|
1808
|
+
<rect
|
|
1809
|
+
x="43.9871"
|
|
1810
|
+
y="51.8455"
|
|
1811
|
+
width="21.9353"
|
|
1812
|
+
height="2.49631"
|
|
1813
|
+
rx="1.24816"
|
|
1814
|
+
fill="black"
|
|
1815
|
+
fill-opacity="0.1"
|
|
1816
|
+
/>
|
|
1817
|
+
<rect
|
|
1818
|
+
x="43.9871"
|
|
1819
|
+
y="56.8379"
|
|
1820
|
+
width="15.7235"
|
|
1821
|
+
height="2.49631"
|
|
1822
|
+
rx="1.24816"
|
|
1823
|
+
fill="black"
|
|
1824
|
+
fill-opacity="0.1"
|
|
1825
|
+
/>
|
|
1826
|
+
<path
|
|
1827
|
+
d="M67.6697 37.6997H80.752C82.9612 37.6997 84.752 39.4906 84.752 41.6997V45.8127"
|
|
1828
|
+
stroke="black"
|
|
1829
|
+
stroke-opacity="0.3"
|
|
1830
|
+
stroke-linecap="round"
|
|
1831
|
+
stroke-dasharray="4 4"
|
|
1832
|
+
/>
|
|
1833
|
+
<path
|
|
1834
|
+
d="M85.1761 33.2503C89.6228 30.1117 94.6178 26.8262 91.9036 31.4477C89.1895 36.0691 86.8182 42.9668 93.5876 37.7324"
|
|
1835
|
+
stroke="black"
|
|
1836
|
+
stroke-opacity="0.3"
|
|
1837
|
+
stroke-linecap="round"
|
|
1838
|
+
/>
|
|
1839
|
+
</g>
|
|
1840
|
+
<path
|
|
1841
|
+
d="M157.341 17.6782L144.153 14.356L144.708 12.267C145.628 8.80589 143.153 5.18888 139.18 4.18806L129.588 1.77189C125.616 0.771072 121.65 2.76548 120.73 6.2266L120.175 8.31554L106.987 4.99332C103.676 4.15932 100.371 5.82139 99.6047 8.70557L98.4946 12.8835C98.188 14.0372 99.013 15.2428 100.337 15.5764L157.885 30.0734C159.209 30.407 160.531 29.7423 160.837 28.5885L161.948 24.4106C162.714 21.5265 160.651 18.5122 157.341 17.6782ZM125.525 7.43468C125.831 6.28315 127.157 5.6168 128.478 5.94978L138.07 8.36594C139.391 8.69892 140.218 9.9074 139.912 11.0589L139.357 13.1479L124.97 9.52362L125.525 7.43468Z"
|
|
1842
|
+
fill="#E6E6E6"
|
|
1843
|
+
/>
|
|
1844
|
+
<path
|
|
1845
|
+
d="M98.6798 34.2638C98.2253 34.263 97.8625 34.6107 97.8834 35.027L99.9152 75.467C100.103 79.2096 103.451 82.146 107.536 82.1526L146.222 82.2159C150.307 82.2226 153.665 79.2972 153.866 75.5551L156.037 35.122C156.06 34.7058 155.698 34.3569 155.243 34.3562L98.6798 34.2638ZM137.141 40.165C137.143 38.8747 138.285 37.8315 139.693 37.8338C141.1 37.8361 142.238 38.883 142.236 40.1733L142.183 70.5326C142.181 71.8229 141.039 72.8661 139.632 72.8638C138.225 72.8615 137.086 71.8145 137.089 70.5243L137.141 40.165ZM124.404 40.1441C124.406 38.8539 125.548 37.8107 126.956 37.813C128.363 37.8153 129.501 38.8622 129.499 40.1525L129.447 70.5118C129.444 71.802 128.303 72.8452 126.895 72.8429C125.488 72.8406 124.349 71.7937 124.352 70.5034L124.404 40.1441ZM111.667 40.1233C111.669 38.8331 112.811 37.7899 114.219 37.7922C115.626 37.7945 116.764 38.8414 116.762 40.1317L116.71 70.491C116.707 71.7812 115.566 72.8244 114.158 72.8221C112.751 72.8198 111.613 71.7729 111.615 70.4826L111.667 40.1233Z"
|
|
1846
|
+
fill="#E6E6E6"
|
|
1847
|
+
/>
|
|
1848
|
+
<defs>
|
|
1849
|
+
<filter
|
|
1850
|
+
id="filter0_d_3075_9990"
|
|
1851
|
+
x="32.446"
|
|
1852
|
+
y="19.3057"
|
|
1853
|
+
width="72"
|
|
1854
|
+
height="50.9836"
|
|
1855
|
+
filterUnits="userSpaceOnUse"
|
|
1856
|
+
color-interpolation-filters="sRGB"
|
|
1857
|
+
>
|
|
1858
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
1859
|
+
<feColorMatrix
|
|
1860
|
+
in="SourceAlpha"
|
|
1861
|
+
type="matrix"
|
|
1862
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1863
|
+
result="hardAlpha"
|
|
1864
|
+
/>
|
|
1865
|
+
<feOffset />
|
|
1866
|
+
<feGaussianBlur stdDeviation="1.5" />
|
|
1867
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
1868
|
+
<feColorMatrix
|
|
1869
|
+
type="matrix"
|
|
1870
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.14 0"
|
|
1871
|
+
/>
|
|
1872
|
+
<feBlend
|
|
1873
|
+
mode="normal"
|
|
1874
|
+
in2="BackgroundImageFix"
|
|
1875
|
+
result="effect1_dropShadow_3075_9990"
|
|
1876
|
+
/>
|
|
1877
|
+
<feBlend
|
|
1878
|
+
mode="normal"
|
|
1879
|
+
in="SourceGraphic"
|
|
1880
|
+
in2="effect1_dropShadow_3075_9990"
|
|
1881
|
+
result="shape"
|
|
1882
|
+
/>
|
|
1883
|
+
</filter>
|
|
1884
|
+
</defs>
|
|
1885
|
+
</svg> `;
|
|
1886
|
+
|
|
1887
|
+
export const DarkLinkedEdgelessDeletedSmallBanner = html`<svg
|
|
1888
|
+
width="204"
|
|
1889
|
+
height="66"
|
|
1890
|
+
viewBox="0 0 204 66"
|
|
1891
|
+
fill="none"
|
|
1892
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
1893
|
+
>
|
|
1894
|
+
<g filter="url(#filter0_d_3075_2681)">
|
|
1895
|
+
<rect
|
|
1896
|
+
x="35.446"
|
|
1897
|
+
y="22.3057"
|
|
1898
|
+
width="66"
|
|
1899
|
+
height="44.9836"
|
|
1900
|
+
rx="2"
|
|
1901
|
+
fill="white"
|
|
1902
|
+
fill-opacity="0.08"
|
|
1903
|
+
shape-rendering="crispEdges"
|
|
1904
|
+
/>
|
|
1905
|
+
<rect
|
|
1906
|
+
x="42.8223"
|
|
1907
|
+
y="28.7544"
|
|
1908
|
+
width="23.1"
|
|
1909
|
+
height="17.0581"
|
|
1910
|
+
rx="2"
|
|
1911
|
+
fill="white"
|
|
1912
|
+
fill-opacity="0.1"
|
|
1913
|
+
/>
|
|
1914
|
+
<rect
|
|
1915
|
+
x="73.299"
|
|
1916
|
+
y="47.4768"
|
|
1917
|
+
width="23.1"
|
|
1918
|
+
height="11.4414"
|
|
1919
|
+
rx="2"
|
|
1920
|
+
fill="white"
|
|
1921
|
+
fill-opacity="0.1"
|
|
1922
|
+
/>
|
|
1923
|
+
<rect
|
|
1924
|
+
x="43.987"
|
|
1925
|
+
y="51.8455"
|
|
1926
|
+
width="21.9353"
|
|
1927
|
+
height="2.49631"
|
|
1928
|
+
rx="1.24816"
|
|
1929
|
+
fill="white"
|
|
1930
|
+
fill-opacity="0.1"
|
|
1931
|
+
/>
|
|
1932
|
+
<rect
|
|
1933
|
+
x="43.987"
|
|
1934
|
+
y="56.8379"
|
|
1935
|
+
width="15.7235"
|
|
1936
|
+
height="2.49631"
|
|
1937
|
+
rx="1.24816"
|
|
1938
|
+
fill="white"
|
|
1939
|
+
fill-opacity="0.1"
|
|
1940
|
+
/>
|
|
1941
|
+
<path
|
|
1942
|
+
d="M67.6696 37.6997H80.7519C82.9611 37.6997 84.7519 39.4906 84.7519 41.6997V45.8127"
|
|
1943
|
+
stroke="white"
|
|
1944
|
+
stroke-opacity="0.3"
|
|
1945
|
+
stroke-linecap="round"
|
|
1946
|
+
stroke-dasharray="4 4"
|
|
1947
|
+
/>
|
|
1948
|
+
<path
|
|
1949
|
+
d="M85.1761 33.2503C89.6228 30.1117 94.6177 26.8262 91.9036 31.4477C89.1895 36.0691 86.8182 42.9668 93.5876 37.7324"
|
|
1950
|
+
stroke="white"
|
|
1951
|
+
stroke-opacity="0.3"
|
|
1952
|
+
stroke-linecap="round"
|
|
1953
|
+
/>
|
|
1954
|
+
</g>
|
|
1955
|
+
<path
|
|
1956
|
+
d="M157.341 17.6782L144.153 14.356L144.708 12.267C145.628 8.80589 143.153 5.18888 139.18 4.18806L129.588 1.77189C125.616 0.771072 121.65 2.76548 120.73 6.2266L120.175 8.31554L106.987 4.99332C103.676 4.15932 100.371 5.82139 99.6047 8.70557L98.4946 12.8835C98.188 14.0372 99.013 15.2428 100.337 15.5764L157.885 30.0734C159.209 30.407 160.531 29.7423 160.837 28.5885L161.948 24.4106C162.714 21.5265 160.651 18.5122 157.341 17.6782ZM125.525 7.43468C125.831 6.28315 127.157 5.6168 128.478 5.94978L138.07 8.36594C139.391 8.69892 140.218 9.9074 139.912 11.0589L139.357 13.1479L124.97 9.52362L125.525 7.43468Z"
|
|
1957
|
+
fill="#646464"
|
|
1958
|
+
/>
|
|
1959
|
+
<path
|
|
1960
|
+
d="M98.6798 34.2638C98.2253 34.263 97.8625 34.6107 97.8834 35.027L99.9152 75.467C100.103 79.2096 103.451 82.146 107.536 82.1526L146.222 82.2159C150.307 82.2226 153.665 79.2972 153.866 75.5551L156.037 35.122C156.06 34.7058 155.698 34.3569 155.243 34.3562L98.6798 34.2638ZM137.141 40.165C137.143 38.8747 138.285 37.8315 139.693 37.8338C141.1 37.8361 142.238 38.883 142.236 40.1733L142.183 70.5326C142.181 71.8229 141.039 72.8661 139.632 72.8638C138.225 72.8615 137.086 71.8145 137.089 70.5243L137.141 40.165ZM124.404 40.1441C124.406 38.8539 125.548 37.8107 126.956 37.813C128.363 37.8153 129.501 38.8622 129.499 40.1525L129.447 70.5118C129.444 71.802 128.303 72.8452 126.895 72.8429C125.488 72.8406 124.349 71.7937 124.352 70.5034L124.404 40.1441ZM111.667 40.1233C111.669 38.8331 112.811 37.7899 114.219 37.7922C115.626 37.7945 116.764 38.8414 116.762 40.1317L116.71 70.491C116.707 71.7812 115.566 72.8244 114.158 72.8221C112.751 72.8198 111.613 71.7729 111.615 70.4826L111.667 40.1233Z"
|
|
1961
|
+
fill="#646464"
|
|
1962
|
+
/>
|
|
1963
|
+
<defs>
|
|
1964
|
+
<filter
|
|
1965
|
+
id="filter0_d_3075_2681"
|
|
1966
|
+
x="32.446"
|
|
1967
|
+
y="19.3057"
|
|
1968
|
+
width="72"
|
|
1969
|
+
height="50.9836"
|
|
1970
|
+
filterUnits="userSpaceOnUse"
|
|
1971
|
+
color-interpolation-filters="sRGB"
|
|
1972
|
+
>
|
|
1973
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
1974
|
+
<feColorMatrix
|
|
1975
|
+
in="SourceAlpha"
|
|
1976
|
+
type="matrix"
|
|
1977
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
1978
|
+
result="hardAlpha"
|
|
1979
|
+
/>
|
|
1980
|
+
<feOffset />
|
|
1981
|
+
<feGaussianBlur stdDeviation="1.5" />
|
|
1982
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
1983
|
+
<feColorMatrix
|
|
1984
|
+
type="matrix"
|
|
1985
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.14 0"
|
|
1986
|
+
/>
|
|
1987
|
+
<feBlend
|
|
1988
|
+
mode="normal"
|
|
1989
|
+
in2="BackgroundImageFix"
|
|
1990
|
+
result="effect1_dropShadow_3075_2681"
|
|
1991
|
+
/>
|
|
1992
|
+
<feBlend
|
|
1993
|
+
mode="normal"
|
|
1994
|
+
in="SourceGraphic"
|
|
1995
|
+
in2="effect1_dropShadow_3075_2681"
|
|
1996
|
+
result="shape"
|
|
1997
|
+
/>
|
|
1998
|
+
</filter>
|
|
1999
|
+
</defs>
|
|
2000
|
+
</svg> `;
|
|
2001
|
+
|
|
2002
|
+
export const LightLinkedEdgelessDeletedLargeBanner = html`<svg
|
|
2003
|
+
width="340"
|
|
2004
|
+
height="170"
|
|
2005
|
+
viewBox="0 0 340 170"
|
|
2006
|
+
fill="none"
|
|
2007
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2008
|
+
>
|
|
2009
|
+
<g clip-path="url(#clip0_3075_10039)">
|
|
2010
|
+
<path
|
|
2011
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
2012
|
+
fill="white"
|
|
2013
|
+
/>
|
|
2014
|
+
<g filter="url(#filter0_d_3075_10039)">
|
|
2015
|
+
<path
|
|
2016
|
+
d="M30 71C30 68.7909 31.7909 67 34 67H175C177.209 67 179 68.7909 179 71V170H30V71Z"
|
|
2017
|
+
fill="white"
|
|
2018
|
+
/>
|
|
2019
|
+
<rect
|
|
2020
|
+
x="46.6523"
|
|
2021
|
+
y="81.7659"
|
|
2022
|
+
width="52.15"
|
|
2023
|
+
height="39.0585"
|
|
2024
|
+
rx="4"
|
|
2025
|
+
fill="#EEEEEE"
|
|
2026
|
+
/>
|
|
2027
|
+
<rect x="115" y="125" width="53" height="30" rx="4" fill="#EEEEEE" />
|
|
2028
|
+
<rect
|
|
2029
|
+
x="49.282"
|
|
2030
|
+
y="134.638"
|
|
2031
|
+
width="49.5206"
|
|
2032
|
+
height="5.71587"
|
|
2033
|
+
rx="2.85793"
|
|
2034
|
+
fill="black"
|
|
2035
|
+
fill-opacity="0.1"
|
|
2036
|
+
/>
|
|
2037
|
+
<rect
|
|
2038
|
+
x="49.282"
|
|
2039
|
+
y="146.07"
|
|
2040
|
+
width="35.4971"
|
|
2041
|
+
height="5.71587"
|
|
2042
|
+
rx="2.85793"
|
|
2043
|
+
fill="black"
|
|
2044
|
+
fill-opacity="0.1"
|
|
2045
|
+
/>
|
|
2046
|
+
<path
|
|
2047
|
+
d="M102.747 102.248H135.312C138.625 102.248 141.312 104.934 141.312 108.248V120.824"
|
|
2048
|
+
stroke="black"
|
|
2049
|
+
stroke-opacity="0.3"
|
|
2050
|
+
stroke-width="2"
|
|
2051
|
+
stroke-linecap="round"
|
|
2052
|
+
stroke-linejoin="bevel"
|
|
2053
|
+
stroke-dasharray="5 5"
|
|
2054
|
+
/>
|
|
2055
|
+
<path
|
|
2056
|
+
d="M142.269 92.0603C152.308 84.8737 163.585 77.3509 157.457 87.9327C151.33 98.5146 145.977 114.308 161.259 102.323"
|
|
2057
|
+
stroke="black"
|
|
2058
|
+
stroke-opacity="0.3"
|
|
2059
|
+
stroke-width="2"
|
|
2060
|
+
stroke-linecap="round"
|
|
2061
|
+
/>
|
|
2062
|
+
</g>
|
|
2063
|
+
<path
|
|
2064
|
+
d="M305.571 53.002L275.744 45.4883L276.999 40.7638C279.079 32.9359 273.482 24.7555 264.497 22.492L242.805 17.0275C233.819 14.7639 224.849 19.2746 222.77 27.1025L221.514 31.8269L191.688 24.3132C184.2 22.427 176.725 26.186 174.992 32.709L172.481 42.158C171.788 44.7674 173.653 47.4941 176.649 48.2486L306.801 81.0358C309.796 81.7903 312.786 80.2868 313.479 77.6774L315.99 68.2285C317.723 61.7055 313.058 54.8882 305.571 53.002ZM233.616 29.8347C234.308 27.2304 237.304 25.7233 240.294 26.4764L261.986 31.9409C264.975 32.694 266.846 35.4272 266.153 38.0315L264.898 42.756L232.36 34.5592L233.616 29.8347Z"
|
|
2065
|
+
fill="#E6E6E6"
|
|
2066
|
+
/>
|
|
2067
|
+
<path
|
|
2068
|
+
d="M172.9 90.5127C171.872 90.511 171.051 91.2973 171.099 92.2389L175.694 183.7C176.119 192.165 183.69 198.806 192.93 198.821L280.423 198.964C289.663 198.979 297.258 192.363 297.712 183.9L302.623 92.4538C302.673 91.5125 301.855 90.7235 300.827 90.7218L172.9 90.5127ZM259.886 103.859C259.891 100.941 262.473 98.5817 265.657 98.5869C268.84 98.5921 271.414 100.96 271.409 103.878L271.29 172.54C271.285 175.458 268.703 177.818 265.52 177.813C262.337 177.807 259.763 175.44 259.768 172.521L259.886 103.859ZM231.08 103.812C231.085 100.894 233.667 98.5346 236.85 98.5398C240.033 98.545 242.607 100.913 242.602 103.831L242.484 172.493C242.479 175.411 239.896 177.771 236.713 177.766C233.53 177.76 230.956 175.393 230.961 172.474L231.08 103.812ZM202.273 103.765C202.278 100.847 204.86 98.4875 208.043 98.4927C211.226 98.4979 213.801 100.866 213.796 103.784L213.677 172.446C213.672 175.364 211.09 177.724 207.907 177.718C204.723 177.713 202.149 175.345 202.154 172.427L202.273 103.765Z"
|
|
2069
|
+
fill="#E6E6E6"
|
|
2070
|
+
/>
|
|
2071
|
+
</g>
|
|
2072
|
+
<defs>
|
|
2073
|
+
<filter
|
|
2074
|
+
id="filter0_d_3075_10039"
|
|
2075
|
+
x="26"
|
|
2076
|
+
y="63"
|
|
2077
|
+
width="157"
|
|
2078
|
+
height="111"
|
|
2079
|
+
filterUnits="userSpaceOnUse"
|
|
2080
|
+
color-interpolation-filters="sRGB"
|
|
2081
|
+
>
|
|
2082
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
2083
|
+
<feColorMatrix
|
|
2084
|
+
in="SourceAlpha"
|
|
2085
|
+
type="matrix"
|
|
2086
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
2087
|
+
result="hardAlpha"
|
|
2088
|
+
/>
|
|
2089
|
+
<feOffset />
|
|
2090
|
+
<feGaussianBlur stdDeviation="2" />
|
|
2091
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
2092
|
+
<feColorMatrix
|
|
2093
|
+
type="matrix"
|
|
2094
|
+
values="0 0 0 0 0.258824 0 0 0 0 0.254902 0 0 0 0 0.286275 0 0 0 0.14 0"
|
|
2095
|
+
/>
|
|
2096
|
+
<feBlend
|
|
2097
|
+
mode="normal"
|
|
2098
|
+
in2="BackgroundImageFix"
|
|
2099
|
+
result="effect1_dropShadow_3075_10039"
|
|
2100
|
+
/>
|
|
2101
|
+
<feBlend
|
|
2102
|
+
mode="normal"
|
|
2103
|
+
in="SourceGraphic"
|
|
2104
|
+
in2="effect1_dropShadow_3075_10039"
|
|
2105
|
+
result="shape"
|
|
2106
|
+
/>
|
|
2107
|
+
</filter>
|
|
2108
|
+
<clipPath id="clip0_3075_10039">
|
|
2109
|
+
<path
|
|
2110
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
2111
|
+
fill="white"
|
|
2112
|
+
/>
|
|
2113
|
+
</clipPath>
|
|
2114
|
+
</defs>
|
|
2115
|
+
</svg> `;
|
|
2116
|
+
|
|
2117
|
+
export const DarkLinkedEdgelessDeletedLargeBanner = html`<svg
|
|
2118
|
+
width="340"
|
|
2119
|
+
height="170"
|
|
2120
|
+
viewBox="0 0 340 170"
|
|
2121
|
+
fill="none"
|
|
2122
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
2123
|
+
>
|
|
2124
|
+
<g clip-path="url(#clip0_3075_10071)">
|
|
2125
|
+
<path
|
|
2126
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
2127
|
+
fill="#141414"
|
|
2128
|
+
/>
|
|
2129
|
+
<g filter="url(#filter0_d_3075_10071)">
|
|
2130
|
+
<path
|
|
2131
|
+
d="M30 71C30 68.7909 31.7909 67 34 67H175C177.209 67 179 68.7909 179 71V170H30V71Z"
|
|
2132
|
+
fill="white"
|
|
2133
|
+
fill-opacity="0.06"
|
|
2134
|
+
shape-rendering="crispEdges"
|
|
2135
|
+
/>
|
|
2136
|
+
<rect
|
|
2137
|
+
x="46.6523"
|
|
2138
|
+
y="81.7659"
|
|
2139
|
+
width="52.15"
|
|
2140
|
+
height="39.0585"
|
|
2141
|
+
rx="4"
|
|
2142
|
+
fill="#303030"
|
|
2143
|
+
/>
|
|
2144
|
+
<rect x="115" y="125" width="53" height="30" rx="4" fill="#303030" />
|
|
2145
|
+
<rect
|
|
2146
|
+
x="49.282"
|
|
2147
|
+
y="134.638"
|
|
2148
|
+
width="49.5206"
|
|
2149
|
+
height="5.71587"
|
|
2150
|
+
rx="2.85793"
|
|
2151
|
+
fill="white"
|
|
2152
|
+
fill-opacity="0.1"
|
|
2153
|
+
/>
|
|
2154
|
+
<rect
|
|
2155
|
+
x="49.282"
|
|
2156
|
+
y="146.07"
|
|
2157
|
+
width="35.4971"
|
|
2158
|
+
height="5.71587"
|
|
2159
|
+
rx="2.85793"
|
|
2160
|
+
fill="white"
|
|
2161
|
+
fill-opacity="0.1"
|
|
2162
|
+
/>
|
|
2163
|
+
<path
|
|
2164
|
+
d="M102.747 102.248H135.312C138.625 102.248 141.312 104.934 141.312 108.248V120.824"
|
|
2165
|
+
stroke="white"
|
|
2166
|
+
stroke-opacity="0.3"
|
|
2167
|
+
stroke-width="2"
|
|
2168
|
+
stroke-linecap="round"
|
|
2169
|
+
stroke-linejoin="bevel"
|
|
2170
|
+
stroke-dasharray="5 5"
|
|
2171
|
+
/>
|
|
2172
|
+
<path
|
|
2173
|
+
d="M142.269 92.0603C152.308 84.8737 163.585 77.3509 157.457 87.9327C151.33 98.5146 145.977 114.308 161.259 102.323"
|
|
2174
|
+
stroke="white"
|
|
2175
|
+
stroke-opacity="0.3"
|
|
2176
|
+
stroke-width="2"
|
|
2177
|
+
stroke-linecap="round"
|
|
2178
|
+
/>
|
|
2179
|
+
</g>
|
|
2180
|
+
<path
|
|
2181
|
+
d="M305.571 53.002L275.744 45.4883L276.999 40.7638C279.079 32.9359 273.482 24.7555 264.497 22.492L242.805 17.0275C233.819 14.7639 224.849 19.2746 222.77 27.1025L221.514 31.8269L191.688 24.3132C184.2 22.427 176.725 26.186 174.992 32.709L172.481 42.158C171.788 44.7674 173.653 47.4941 176.649 48.2486L306.801 81.0358C309.796 81.7903 312.786 80.2868 313.479 77.6774L315.99 68.2285C317.723 61.7055 313.058 54.8882 305.571 53.002ZM233.616 29.8347C234.308 27.2304 237.304 25.7233 240.294 26.4764L261.986 31.9409C264.975 32.694 266.846 35.4272 266.153 38.0315L264.898 42.756L232.36 34.5592L233.616 29.8347Z"
|
|
2182
|
+
fill="#313131"
|
|
2183
|
+
/>
|
|
2184
|
+
<path
|
|
2185
|
+
d="M172.9 90.5127C171.872 90.511 171.051 91.2973 171.099 92.2389L175.694 183.7C176.119 192.165 183.69 198.806 192.93 198.821L280.423 198.964C289.663 198.979 297.258 192.363 297.712 183.9L302.623 92.4538C302.673 91.5125 301.855 90.7235 300.827 90.7218L172.9 90.5127ZM259.886 103.859C259.891 100.941 262.473 98.5817 265.657 98.5869C268.84 98.5921 271.414 100.96 271.409 103.878L271.29 172.54C271.285 175.458 268.703 177.818 265.52 177.813C262.337 177.807 259.763 175.44 259.768 172.521L259.886 103.859ZM231.08 103.812C231.085 100.894 233.667 98.5346 236.85 98.5398C240.033 98.545 242.607 100.913 242.602 103.831L242.484 172.493C242.479 175.411 239.896 177.771 236.713 177.766C233.53 177.76 230.956 175.393 230.961 172.474L231.08 103.812ZM202.273 103.765C202.278 100.847 204.86 98.4875 208.043 98.4927C211.226 98.4979 213.801 100.866 213.796 103.784L213.677 172.446C213.672 175.364 211.09 177.724 207.907 177.718C204.723 177.713 202.149 175.345 202.154 172.427L202.273 103.765Z"
|
|
2186
|
+
fill="#313131"
|
|
2187
|
+
/>
|
|
2188
|
+
</g>
|
|
2189
|
+
<defs>
|
|
2190
|
+
<filter
|
|
2191
|
+
id="filter0_d_3075_10071"
|
|
2192
|
+
x="26"
|
|
2193
|
+
y="63"
|
|
2194
|
+
width="157"
|
|
2195
|
+
height="111"
|
|
2196
|
+
filterUnits="userSpaceOnUse"
|
|
2197
|
+
color-interpolation-filters="sRGB"
|
|
2198
|
+
>
|
|
2199
|
+
<feFlood flood-opacity="0" result="BackgroundImageFix" />
|
|
2200
|
+
<feColorMatrix
|
|
2201
|
+
in="SourceAlpha"
|
|
2202
|
+
type="matrix"
|
|
2203
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
|
|
2204
|
+
result="hardAlpha"
|
|
2205
|
+
/>
|
|
2206
|
+
<feOffset />
|
|
2207
|
+
<feGaussianBlur stdDeviation="2" />
|
|
2208
|
+
<feComposite in2="hardAlpha" operator="out" />
|
|
2209
|
+
<feColorMatrix
|
|
2210
|
+
type="matrix"
|
|
2211
|
+
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0"
|
|
2212
|
+
/>
|
|
2213
|
+
<feBlend
|
|
2214
|
+
mode="normal"
|
|
2215
|
+
in2="BackgroundImageFix"
|
|
2216
|
+
result="effect1_dropShadow_3075_10071"
|
|
2217
|
+
/>
|
|
2218
|
+
<feBlend
|
|
2219
|
+
mode="normal"
|
|
2220
|
+
in="SourceGraphic"
|
|
2221
|
+
in2="effect1_dropShadow_3075_10071"
|
|
2222
|
+
result="shape"
|
|
2223
|
+
/>
|
|
2224
|
+
</filter>
|
|
2225
|
+
<clipPath id="clip0_3075_10071">
|
|
2226
|
+
<path
|
|
2227
|
+
d="M0 4C0 1.79086 1.79086 0 4 0H336C338.209 0 340 1.79086 340 4V170H0V4Z"
|
|
2228
|
+
fill="white"
|
|
2229
|
+
/>
|
|
2230
|
+
</clipPath>
|
|
2231
|
+
</defs>
|
|
2232
|
+
</svg> `;
|