@allbluecn/web-app 0.6.3 → 0.7.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 +29 -180
- package/src/__tests__/components/reference-inline.test.tsx +1 -1
- package/src/__tests__/setup.ts +1 -1
- package/src/__tests__/tag-badge.test.tsx +1 -1
- package/src/components/agents/schemas/agent-form.ts +1 -1
- package/src/components/animated-icons/layout-panel-top.tsx +1 -1
- package/src/components/auth/auth-layout.tsx +1 -1
- package/src/components/billing/__tests__/use-resource.test.tsx +1 -1
- package/src/components/billing/checkout-redirect.ts +1 -1
- package/src/components/billing/feature-gate.tsx +1 -1
- package/src/components/billing/subscription-provider.tsx +2 -2
- package/src/components/billing/use-feature.ts +1 -1
- package/src/components/billing/use-resource.ts +1 -1
- package/src/components/changelog/changelog-page.tsx +1 -1
- package/src/components/chat/ai-chat-history/utils/group-conversations.ts +1 -1
- package/src/components/chat/ai-citations/utils.ts +1 -1
- package/src/components/command/command-palette.tsx +1 -1
- package/src/components/forms/hooks/use-form-submit.ts +1 -1
- package/src/components/forms/schemas/common.ts +1 -1
- package/src/components/knowledge/editor/doc-header.tsx +4 -4
- package/src/components/knowledge/editor/knowledge-doc-editor.tsx +1 -1
- package/src/components/knowledge-public/knowledge-card.tsx +2 -2
- package/src/components/knowledge-public/knowledge-form-dialog.tsx +1 -1
- package/src/components/knowledge-public/sharers-avatar-group.tsx +1 -1
- package/src/components/layout/sidebar-03/__tests__/nav-workspace.test.tsx +1 -1
- package/src/components/layout/sidebar-03/nav-main.tsx +1 -1
- package/src/components/layout/sidebar-03/nav-notifications.tsx +1 -1
- package/src/components/layout/sidebar-03/user-menu.tsx +2 -2
- package/src/components/magicui/animated-theme-toggler.tsx +1 -1
- package/src/components/magicui/grid-pattern.tsx +1 -1
- package/src/components/mindmap/mindmap-doc-editor.tsx +4 -4
- package/src/components/notifications/settings-notifications.tsx +2 -2
- package/src/components/notifications/team-notifications.tsx +1 -1
- package/src/components/project/invite-member-dialog.tsx +1 -1
- package/src/components/project/project-activity-list.tsx +2 -2
- package/src/components/project/project-member-manager.tsx +1 -1
- package/src/components/project/schemas/create-project.ts +1 -1
- package/src/components/prototype/block/index.ts +22 -0
- package/src/components/prototype/component/Button.tsx +49 -0
- package/src/components/prototype/component/Card.tsx +49 -0
- package/src/components/prototype/component/GenericPrototype.tsx +42 -0
- package/src/components/prototype/component/Image.tsx +51 -0
- package/src/components/prototype/component/Input.tsx +45 -0
- package/src/components/prototype/component/Text.tsx +43 -0
- package/src/components/prototype/component/index.ts +102 -0
- package/src/components/prototype/component-preview.tsx +137 -0
- package/src/components/prototype/imported/.gitkeep +0 -0
- package/src/components/prototype/imported-registry.ts +25 -0
- package/src/components/prototype/index.ts +42 -0
- package/src/components/prototype/registry.ts +40 -0
- package/src/components/prototype/template/index.ts +22 -0
- package/src/components/prototype/types.ts +96 -0
- package/src/components/prototype/utils.ts +20 -0
- package/src/components/prototype/vite-env.d.ts +6 -0
- package/src/components/settings/language-selector.tsx +1 -1
- package/src/components/settings/personal-team/account/avatar/notion-avatar.tsx +2 -2
- package/src/components/settings/personal-team/team/team-member-list.tsx +1 -1
- package/src/components/share/prd/prd-share-client.tsx +1 -1
- package/src/components/share/prd/share-annotation-overlay.tsx +1 -1
- package/src/components/share/prd/share-comment-panel.tsx +1 -1
- package/src/components/share/prd/share-comment-review-panel.tsx +1 -1
- package/src/components/share/prd/share-directory-tree.tsx +1 -1
- package/src/components/share/prd/share-doc-view.tsx +1 -1
- package/src/components/share/prd/share-layout.tsx +1 -1
- package/src/components/share/prd/share-nav-bar.tsx +1 -1
- package/src/components/share/prd/share-password-gate.tsx +1 -1
- package/src/components/share/prd/share-prototype-view.tsx +1 -1
- package/src/components/share/prd/share-review-panel.tsx +1 -1
- package/src/components/share/prd/share-sse-listener.tsx +1 -1
- package/src/components/share/prd/share-theme-toggle.tsx +1 -1
- package/src/components/share/prd/version-share-client.tsx +1 -1
- package/src/components/shared/component-preview.tsx +1 -1
- package/src/components/shared/language-switcher.tsx +1 -1
- package/src/components/shared/name-confirm-dialog.tsx +1 -1
- package/src/components/shared/nav-float-button.tsx +1 -1
- package/src/components/shared/placeholder-page.tsx +1 -1
- package/src/components/story/columns.tsx +1 -1
- package/src/components/story/create-story-dialog.tsx +2 -2
- package/src/components/story/detail/__tests__/activity-timeline.test.tsx +1 -1
- package/src/components/story/detail/activity-timeline.tsx +1 -1
- package/src/components/story/detail/comment-item.tsx +1 -1
- package/src/components/story/detail/story-detail-body.tsx +2 -2
- package/src/components/story/display/__tests__/display-dropdown.test.tsx +1 -1
- package/src/components/story/display/group-resolver.tsx +1 -1
- package/src/components/story/filters/applied-filters.tsx +1 -1
- package/src/components/story/infinite-scroll-sentinel.tsx +1 -1
- package/src/components/story/inline-editors/assignee-editor.tsx +1 -1
- package/src/components/story/schemas/story-create.ts +1 -1
- package/src/components/story/views/kanban-card.tsx +1 -1
- package/src/components/story/views/view-types.ts +1 -1
- package/src/components/tiptap/__tests__/ai-extension.test.ts +120 -0
- package/src/components/tiptap/extension/ai-extension.ts +408 -0
- package/src/components/tiptap/extension/code-block-ellipsis-input-extension.ts +32 -0
- package/src/components/tiptap/extension/fullwidth-blockquote-extension.ts +31 -0
- package/src/components/tiptap/extension/indent-extension.ts +500 -0
- package/src/components/tiptap/extension/list-normalization-extension.ts +129 -0
- package/src/components/tiptap/extension/node-alignment-extension.ts +302 -0
- package/src/components/tiptap/extension/node-background-extension.ts +167 -0
- package/src/components/tiptap/extension/triple-click-block-selection-extension.ts +66 -0
- package/src/components/tiptap/extension/ui-state-extension.ts +114 -0
- package/src/components/tiptap/extensions/local-file/insert-local-file.ts +35 -0
- package/src/components/tiptap/extensions/local-file/local-file-node.ts +67 -0
- package/src/components/tiptap/global.d.ts +12 -0
- package/src/components/tiptap/hooks/use-composed-ref.ts +63 -0
- package/src/components/tiptap/hooks/use-cursor-visibility.ts +87 -0
- package/src/components/tiptap/hooks/use-element-rect.ts +179 -0
- package/src/components/tiptap/hooks/use-floating-element.ts +144 -0
- package/src/components/tiptap/hooks/use-floating-toolbar-visibility.ts +140 -0
- package/src/components/tiptap/hooks/use-is-breakpoint.ts +53 -0
- package/src/components/tiptap/hooks/use-isomorphic-layout-effect.ts +27 -0
- package/src/components/tiptap/hooks/use-menu-navigation.ts +212 -0
- package/src/components/tiptap/hooks/use-on-click-outside.ts +167 -0
- package/src/components/tiptap/hooks/use-tiptap-editor.ts +87 -0
- package/src/components/tiptap/hooks/use-ui-editor-state.ts +47 -0
- package/src/components/tiptap/hooks/use-window-size.ts +108 -0
- package/src/components/tiptap/icons/add-col-left-icon.tsx +47 -0
- package/src/components/tiptap/icons/add-col-right-icon.tsx +47 -0
- package/src/components/tiptap/icons/add-row-bottom-icon.tsx +47 -0
- package/src/components/tiptap/icons/add-row-top-icon.tsx +47 -0
- package/src/components/tiptap/icons/ai-sparkles-icon.tsx +49 -0
- package/src/components/tiptap/icons/align-bottom-icon.tsx +45 -0
- package/src/components/tiptap/icons/align-center-icon.tsx +55 -0
- package/src/components/tiptap/icons/align-center-vertical-icon.tsx +51 -0
- package/src/components/tiptap/icons/align-end-vertical-icon.tsx +51 -0
- package/src/components/tiptap/icons/align-justify-icon.tsx +55 -0
- package/src/components/tiptap/icons/align-left-icon.tsx +55 -0
- package/src/components/tiptap/icons/align-middle-icon.tsx +72 -0
- package/src/components/tiptap/icons/align-right-icon.tsx +55 -0
- package/src/components/tiptap/icons/align-start-vertical-icon.tsx +49 -0
- package/src/components/tiptap/icons/align-top-icon.tsx +45 -0
- package/src/components/tiptap/icons/alignment-icon.tsx +89 -0
- package/src/components/tiptap/icons/arrow-down-a-z-icon.tsx +51 -0
- package/src/components/tiptap/icons/arrow-down-icon.tsx +41 -0
- package/src/components/tiptap/icons/arrow-down-to-line-icon.tsx +45 -0
- package/src/components/tiptap/icons/arrow-down-z-a-icon.tsx +51 -0
- package/src/components/tiptap/icons/arrow-left-icon.tsx +41 -0
- package/src/components/tiptap/icons/arrow-right-icon.tsx +43 -0
- package/src/components/tiptap/icons/arrow-up-icon.tsx +43 -0
- package/src/components/tiptap/icons/at-sign-icon.tsx +43 -0
- package/src/components/tiptap/icons/ban-icon.tsx +43 -0
- package/src/components/tiptap/icons/blockquote-icon.tsx +61 -0
- package/src/components/tiptap/icons/bold-icon.tsx +43 -0
- package/src/components/tiptap/icons/check-ai-icon.tsx +49 -0
- package/src/components/tiptap/icons/check-icon.tsx +43 -0
- package/src/components/tiptap/icons/chevron-down-icon.tsx +43 -0
- package/src/components/tiptap/icons/chevron-right-icon.tsx +43 -0
- package/src/components/tiptap/icons/clipboard-icon.tsx +41 -0
- package/src/components/tiptap/icons/close-icon.tsx +41 -0
- package/src/components/tiptap/icons/code-block-icon.tsx +55 -0
- package/src/components/tiptap/icons/code2-icon.tsx +49 -0
- package/src/components/tiptap/icons/complete-sentence-icon.tsx +61 -0
- package/src/components/tiptap/icons/copy-icon.tsx +49 -0
- package/src/components/tiptap/icons/corner-down-left-icon.tsx +43 -0
- package/src/components/tiptap/icons/external-link-icon.tsx +45 -0
- package/src/components/tiptap/icons/grip-4-icon.tsx +41 -0
- package/src/components/tiptap/icons/grip-vertical-icon.tsx +61 -0
- package/src/components/tiptap/icons/heading-five-icon.tsx +45 -0
- package/src/components/tiptap/icons/heading-four-icon.tsx +45 -0
- package/src/components/tiptap/icons/heading-one-icon.tsx +45 -0
- package/src/components/tiptap/icons/heading-six-icon.tsx +47 -0
- package/src/components/tiptap/icons/heading-three-icon.tsx +53 -0
- package/src/components/tiptap/icons/heading-two-icon.tsx +45 -0
- package/src/components/tiptap/icons/highlighter-icon.tsx +43 -0
- package/src/components/tiptap/icons/image-caption-icon.tsx +55 -0
- package/src/components/tiptap/icons/image-icon.tsx +43 -0
- package/src/components/tiptap/icons/image-plus-icon.tsx +43 -0
- package/src/components/tiptap/icons/indent-decrease-icon.tsx +57 -0
- package/src/components/tiptap/icons/indent-increase-icon.tsx +57 -0
- package/src/components/tiptap/icons/italic-icon.tsx +41 -0
- package/src/components/tiptap/icons/languages-icon.tsx +51 -0
- package/src/components/tiptap/icons/link-icon.tsx +45 -0
- package/src/components/tiptap/icons/list-icon.tsx +73 -0
- package/src/components/tiptap/icons/list-indented-icon.tsx +73 -0
- package/src/components/tiptap/icons/list-ordered-icon.tsx +73 -0
- package/src/components/tiptap/icons/list-todo-icon.tsx +67 -0
- package/src/components/tiptap/icons/message-square-icon.tsx +43 -0
- package/src/components/tiptap/icons/message-square-plus-icon.tsx +49 -0
- package/src/components/tiptap/icons/mic-ai-icon.tsx +51 -0
- package/src/components/tiptap/icons/minus-icon.tsx +43 -0
- package/src/components/tiptap/icons/moon-star-icon.tsx +47 -0
- package/src/components/tiptap/icons/more-vertical-icon.tsx +55 -0
- package/src/components/tiptap/icons/move-horizontal-icon.tsx +41 -0
- package/src/components/tiptap/icons/network-icon.tsx +48 -0
- package/src/components/tiptap/icons/paint-bucket-icon.tsx +49 -0
- package/src/components/tiptap/icons/plus-icon.tsx +41 -0
- package/src/components/tiptap/icons/plus-small-icon.tsx +41 -0
- package/src/components/tiptap/icons/redo2-icon.tsx +43 -0
- package/src/components/tiptap/icons/refresh-ai-icon.tsx +51 -0
- package/src/components/tiptap/icons/refresh-ccw-icon.tsx +45 -0
- package/src/components/tiptap/icons/repeat-2-icon.tsx +43 -0
- package/src/components/tiptap/icons/rotate-ccw-icon.tsx +41 -0
- package/src/components/tiptap/icons/simplify-2-icon.tsx +41 -0
- package/src/components/tiptap/icons/smile-ai-icon.tsx +55 -0
- package/src/components/tiptap/icons/smile-plus-icon.tsx +43 -0
- package/src/components/tiptap/icons/square-x-icon.tsx +43 -0
- package/src/components/tiptap/icons/stop-circle-2-icon.tsx +43 -0
- package/src/components/tiptap/icons/strike-icon.tsx +45 -0
- package/src/components/tiptap/icons/subscript-icon.tsx +55 -0
- package/src/components/tiptap/icons/summarize-text-icon.tsx +53 -0
- package/src/components/tiptap/icons/sun-icon.tsx +75 -0
- package/src/components/tiptap/icons/superscript-icon.tsx +55 -0
- package/src/components/tiptap/icons/table-cell-merge-icon.tsx +61 -0
- package/src/components/tiptap/icons/table-cell-split-icon.tsx +61 -0
- package/src/components/tiptap/icons/table-column-icon.tsx +43 -0
- package/src/components/tiptap/icons/table-header-column-icon.tsx +45 -0
- package/src/components/tiptap/icons/table-header-row-icon.tsx +43 -0
- package/src/components/tiptap/icons/table-icon.tsx +43 -0
- package/src/components/tiptap/icons/table-row-icon.tsx +43 -0
- package/src/components/tiptap/icons/text-color-small-icon.tsx +43 -0
- package/src/components/tiptap/icons/text-extend-icon.tsx +53 -0
- package/src/components/tiptap/icons/text-reduce-icon.tsx +49 -0
- package/src/components/tiptap/icons/trash-icon.tsx +43 -0
- package/src/components/tiptap/icons/type-icon.tsx +41 -0
- package/src/components/tiptap/icons/underline-icon.tsx +43 -0
- package/src/components/tiptap/icons/undo2-icon.tsx +43 -0
- package/src/components/tiptap/icons/x-icon.tsx +41 -0
- package/src/components/tiptap/index.ts +1 -0
- package/src/components/tiptap/lib/advanced-utils.ts +388 -0
- package/src/components/tiptap/lib/ai-types.ts +41 -0
- package/src/components/tiptap/lib/collab-utils.ts +147 -0
- package/src/components/tiptap/lib/datetime.ts +1 -0
- package/src/components/tiptap/lib/fullwidth.ts +44 -0
- package/src/components/tiptap/lib/pacer.ts +95 -0
- package/src/components/tiptap/lib/utils/attr.ts +67 -0
- package/src/components/tiptap/lib/utils/constants.ts +46 -0
- package/src/components/tiptap/lib/utils/math.ts +23 -0
- package/src/components/tiptap/lib/utils/node.ts +136 -0
- package/src/components/tiptap/lib/utils/platform.ts +77 -0
- package/src/components/tiptap/lib/utils/schema.ts +75 -0
- package/src/components/tiptap/lib/utils/selection.ts +218 -0
- package/src/components/tiptap/lib/utils/url.ts +122 -0
- package/src/components/tiptap/lib/utils.ts +57 -0
- package/src/components/tiptap/mindmap/lib/__tests__/default-mindmap-data.test.ts +58 -0
- package/src/components/tiptap/mindmap/lib/default-mindmap-data.ts +36 -0
- package/src/components/tiptap/mindmap/mind-map.tsx +579 -0
- package/src/components/tiptap/mindmap/mindmap-fullscreen-dialog.tsx +52 -0
- package/src/components/tiptap/node/annotation-node/annotation-extension.ts +47 -0
- package/src/components/tiptap/node/annotation-node/annotation-node-view.tsx +185 -0
- package/src/components/tiptap/node/annotation-node/annotation-node.scss +77 -0
- package/src/components/tiptap/node/annotation-node/index.ts +2 -0
- package/src/components/tiptap/node/blockquote-node/blockquote-node.scss +37 -0
- package/src/components/tiptap/node/code-block-node/code-block-node.scss +54 -0
- package/src/components/tiptap/node/doc-card-extension.tsx +226 -0
- package/src/components/tiptap/node/heading-node/heading-node.scss +45 -0
- package/src/components/tiptap/node/horizontal-rule-node/horizontal-rule-node-extension.ts +31 -0
- package/src/components/tiptap/node/horizontal-rule-node/horizontal-rule-node.scss +25 -0
- package/src/components/tiptap/node/image-node/image-node-extension.ts +253 -0
- package/src/components/tiptap/node/image-node/image-node-floating.tsx +65 -0
- package/src/components/tiptap/node/image-node/image-node-view.scss +95 -0
- package/src/components/tiptap/node/image-node/image-node-view.tsx +363 -0
- package/src/components/tiptap/node/image-node/image-node.scss +35 -0
- package/src/components/tiptap/node/image-upload-node/image-upload-node-extension.ts +179 -0
- package/src/components/tiptap/node/image-upload-node/image-upload-node.scss +249 -0
- package/src/components/tiptap/node/image-upload-node/image-upload-node.tsx +570 -0
- package/src/components/tiptap/node/image-upload-node/index.tsx +18 -0
- package/src/components/tiptap/node/inline-node-selection.ts +42 -0
- package/src/components/tiptap/node/list-node/list-node.scss +208 -0
- package/src/components/tiptap/node/mention-extension.ts +163 -0
- package/src/components/tiptap/node/mindmap-node/mindmap-extension.ts +87 -0
- package/src/components/tiptap/node/mindmap-node/mindmap-node-view.tsx +61 -0
- package/src/components/tiptap/node/paragraph-node/paragraph-node.scss +1 -0
- package/src/components/tiptap/node/table-node/extensions/table-handle/helpers/create-image.ts +303 -0
- package/src/components/tiptap/node/table-node/extensions/table-handle/index.ts +19 -0
- package/src/components/tiptap/node/table-node/extensions/table-handle/table-handle-plugin.ts +863 -0
- package/src/components/tiptap/node/table-node/extensions/table-handle/table-handle.ts +67 -0
- package/src/components/tiptap/node/table-node/extensions/table-node-extension.ts +264 -0
- package/src/components/tiptap/node/table-node/hooks/use-table-handle-state.ts +88 -0
- package/src/components/tiptap/node/table-node/lib/tiptap-table-utils.ts +1306 -0
- package/src/components/tiptap/node/table-node/styles/prosemirror-table.scss +48 -0
- package/src/components/tiptap/node/table-node/styles/table-node.scss +211 -0
- package/src/components/tiptap/node/table-node/ui/table-add-row-column-button/index.tsx +19 -0
- package/src/components/tiptap/node/table-node/ui/table-add-row-column-button/table-add-row-column-button.tsx +117 -0
- package/src/components/tiptap/node/table-node/ui/table-add-row-column-button/use-table-add-row-column.ts +365 -0
- package/src/components/tiptap/node/table-node/ui/table-align-cell-button/index.tsx +19 -0
- package/src/components/tiptap/node/table-node/ui/table-align-cell-button/table-align-cell-button.tsx +144 -0
- package/src/components/tiptap/node/table-node/ui/table-align-cell-button/use-table-align-cell.ts +565 -0
- package/src/components/tiptap/node/table-node/ui/table-alignment-menu/index.tsx +18 -0
- package/src/components/tiptap/node/table-node/ui/table-alignment-menu/table-alignment-menu.tsx +177 -0
- package/src/components/tiptap/node/table-node/ui/table-cell-handle-menu/index.tsx +18 -0
- package/src/components/tiptap/node/table-node/ui/table-cell-handle-menu/table-cell-handle-menu.scss +121 -0
- package/src/components/tiptap/node/table-node/ui/table-cell-handle-menu/table-cell-handle-menu.tsx +227 -0
- package/src/components/tiptap/node/table-node/ui/table-clear-row-column-content-button/index.tsx +19 -0
- package/src/components/tiptap/node/table-node/ui/table-clear-row-column-content-button/table-clear-row-column-content-button.tsx +116 -0
- package/src/components/tiptap/node/table-node/ui/table-clear-row-column-content-button/use-table-clear-row-column-content.ts +487 -0
- package/src/components/tiptap/node/table-node/ui/table-delete-row-column-button/index.tsx +19 -0
- package/src/components/tiptap/node/table-node/ui/table-delete-row-column-button/table-delete-row-column-button.tsx +115 -0
- package/src/components/tiptap/node/table-node/ui/table-delete-row-column-button/use-table-delete-row-column.ts +283 -0
- package/src/components/tiptap/node/table-node/ui/table-duplicate-row-column-button/index.tsx +19 -0
- package/src/components/tiptap/node/table-node/ui/table-duplicate-row-column-button/table-duplicate-row-column-button.tsx +107 -0
- package/src/components/tiptap/node/table-node/ui/table-duplicate-row-column-button/use-table-duplicate-row-column.ts +424 -0
- package/src/components/tiptap/node/table-node/ui/table-extend-row-column-button/index.tsx +19 -0
- package/src/components/tiptap/node/table-node/ui/table-extend-row-column-button/table-extend-row-column-button.scss +36 -0
- package/src/components/tiptap/node/table-node/ui/table-extend-row-column-button/table-extend-row-column-button.tsx +272 -0
- package/src/components/tiptap/node/table-node/ui/table-extend-row-column-button/use-table-extend-row-column.ts +135 -0
- package/src/components/tiptap/node/table-node/ui/table-fit-to-width-button/index.tsx +19 -0
- package/src/components/tiptap/node/table-node/ui/table-fit-to-width-button/table-fit-to-width-button.tsx +113 -0
- package/src/components/tiptap/node/table-node/ui/table-fit-to-width-button/use-table-fit-to-width.ts +259 -0
- package/src/components/tiptap/node/table-node/ui/table-handle/index.tsx +19 -0
- package/src/components/tiptap/node/table-node/ui/table-handle/table-handle.tsx +179 -0
- package/src/components/tiptap/node/table-node/ui/table-handle/use-table-handle-positioning.ts +272 -0
- package/src/components/tiptap/node/table-node/ui/table-handle-menu/index.tsx +18 -0
- package/src/components/tiptap/node/table-node/ui/table-handle-menu/table-handle-menu.scss +54 -0
- package/src/components/tiptap/node/table-node/ui/table-handle-menu/table-handle-menu.tsx +765 -0
- package/src/components/tiptap/node/table-node/ui/table-header-row-column-button/index.tsx +19 -0
- package/src/components/tiptap/node/table-node/ui/table-header-row-column-button/table-header-row-column-button.tsx +114 -0
- package/src/components/tiptap/node/table-node/ui/table-header-row-column-button/use-table-header-row-column.ts +280 -0
- package/src/components/tiptap/node/table-node/ui/table-merge-split-cell-button/index.tsx +19 -0
- package/src/components/tiptap/node/table-node/ui/table-merge-split-cell-button/table-merge-split-cell-button.tsx +140 -0
- package/src/components/tiptap/node/table-node/ui/table-merge-split-cell-button/use-table-merge-split-cell.ts +305 -0
- package/src/components/tiptap/node/table-node/ui/table-move-row-column-button/index.tsx +19 -0
- package/src/components/tiptap/node/table-node/ui/table-move-row-column-button/table-move-row-column-button.tsx +138 -0
- package/src/components/tiptap/node/table-node/ui/table-move-row-column-button/use-table-move-row-column.ts +498 -0
- package/src/components/tiptap/node/table-node/ui/table-selection-overlay/index.tsx +18 -0
- package/src/components/tiptap/node/table-node/ui/table-selection-overlay/table-selection-overlay.tsx +590 -0
- package/src/components/tiptap/node/table-node/ui/table-selection-overlay/use-resize-overlay.ts +94 -0
- package/src/components/tiptap/node/table-node/ui/table-sort-row-column-button/index.tsx +19 -0
- package/src/components/tiptap/node/table-node/ui/table-sort-row-column-button/table-sort-row-column-button.tsx +115 -0
- package/src/components/tiptap/node/table-node/ui/table-sort-row-column-button/use-table-sort-row-column.ts +495 -0
- package/src/components/tiptap/node/table-node/ui/table-trigger-button/index.tsx +20 -0
- package/src/components/tiptap/node/table-node/ui/table-trigger-button/table-grid-selector.scss +98 -0
- package/src/components/tiptap/node/table-node/ui/table-trigger-button/table-grid-selector.tsx +236 -0
- package/src/components/tiptap/node/table-node/ui/table-trigger-button/table-trigger-button.tsx +147 -0
- package/src/components/tiptap/node/table-node/ui/table-trigger-button/use-table-trigger.ts +196 -0
- package/src/components/tiptap/node/toc-node/context/toc-context.tsx +214 -0
- package/src/components/tiptap/node/toc-node/extensions/toc-node-extension.ts +172 -0
- package/src/components/tiptap/node/toc-node/index.ts +20 -0
- package/src/components/tiptap/node/toc-node/toc-node.scss +105 -0
- package/src/components/tiptap/node/toc-node/toc-node.tsx +131 -0
- package/src/components/tiptap/node/toc-node/ui/toc-show-title-button/index.tsx +19 -0
- package/src/components/tiptap/node/toc-node/ui/toc-show-title-button/toc-show-title-button.tsx +113 -0
- package/src/components/tiptap/node/toc-node/ui/toc-show-title-button/toc-show-title.ts +228 -0
- package/src/components/tiptap/node/toc-node/ui/toc-sidebar/index.tsx +18 -0
- package/src/components/tiptap/node/toc-node/ui/toc-sidebar/toc-sidebar.scss +265 -0
- package/src/components/tiptap/node/toc-node/ui/toc-sidebar/toc-sidebar.tsx +272 -0
- package/src/components/tiptap/notion-like/data/content.json +1658 -0
- package/src/components/tiptap/notion-like/index.ts +2 -0
- package/src/components/tiptap/notion-like/notion-like-editor-header.scss +29 -0
- package/src/components/tiptap/notion-like/notion-like-editor-header.tsx +91 -0
- package/src/components/tiptap/notion-like/notion-like-editor-mobile-toolbar.tsx +704 -0
- package/src/components/tiptap/notion-like/notion-like-editor-theme-toggle.tsx +66 -0
- package/src/components/tiptap/notion-like/notion-like-editor-toolbar-floating.tsx +435 -0
- package/src/components/tiptap/notion-like/notion-like-editor.scss +181 -0
- package/src/components/tiptap/notion-like/notion-like-editor.tsx +589 -0
- package/src/components/tiptap/notion-like/setup-error-message/index.tsx +19 -0
- package/src/components/tiptap/notion-like/setup-error-message/setup-error-message.scss +108 -0
- package/src/components/tiptap/notion-like/setup-error-message/setup-error-message.tsx +116 -0
- package/src/components/tiptap/ui/ai-ask-button/ai-ask-button.tsx +124 -0
- package/src/components/tiptap/ui/ai-ask-button/index.tsx +19 -0
- package/src/components/tiptap/ui/ai-ask-button/use-ai-ask.ts +192 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-actions/ai-menu-actions.scss +11 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-actions/ai-menu-actions.tsx +103 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-actions/index.tsx +18 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-hooks.ts +325 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-input/ai-menu-input-hooks.ts +61 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-input/ai-menu-input-types.ts +32 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-input/ai-menu-input.scss +114 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-input/ai-menu-input.tsx +269 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-input/index.tsx +20 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-items/ai-menu-items-constants.ts +63 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-items/ai-menu-items-types.ts +64 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-items/ai-menu-items.tsx +381 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-items/index.tsx +20 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-items/language-selection-submenu.tsx +140 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-items/menu-action-renderer.tsx +105 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-items/tone-selection-submenu.tsx +125 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-types.ts +42 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu-utils.ts +255 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu.scss +101 -0
- package/src/components/tiptap/ui/ai-menu/ai-menu.tsx +427 -0
- package/src/components/tiptap/ui/ai-menu/index.tsx +25 -0
- package/src/components/tiptap/ui/blockquote-button/blockquote-button.tsx +143 -0
- package/src/components/tiptap/ui/blockquote-button/index.tsx +19 -0
- package/src/components/tiptap/ui/blockquote-button/use-blockquote.ts +290 -0
- package/src/components/tiptap/ui/code-block-button/code-block-button.tsx +143 -0
- package/src/components/tiptap/ui/code-block-button/index.tsx +19 -0
- package/src/components/tiptap/ui/code-block-button/use-code-block.ts +300 -0
- package/src/components/tiptap/ui/color-highlight-button/color-highlight-button.scss +49 -0
- package/src/components/tiptap/ui/color-highlight-button/color-highlight-button.tsx +188 -0
- package/src/components/tiptap/ui/color-highlight-button/index.tsx +19 -0
- package/src/components/tiptap/ui/color-highlight-button/use-color-highlight.ts +397 -0
- package/src/components/tiptap/ui/color-highlight-popover/color-highlight-popover.tsx +251 -0
- package/src/components/tiptap/ui/color-highlight-popover/index.tsx +18 -0
- package/src/components/tiptap/ui/color-menu/color-menu.tsx +228 -0
- package/src/components/tiptap/ui/color-menu/index.tsx +18 -0
- package/src/components/tiptap/ui/color-text-button/color-text-button.scss +52 -0
- package/src/components/tiptap/ui/color-text-button/color-text-button.tsx +168 -0
- package/src/components/tiptap/ui/color-text-button/index.tsx +19 -0
- package/src/components/tiptap/ui/color-text-button/use-color-text.ts +303 -0
- package/src/components/tiptap/ui/color-text-popover/color-text-popover.scss +40 -0
- package/src/components/tiptap/ui/color-text-popover/color-text-popover.tsx +471 -0
- package/src/components/tiptap/ui/color-text-popover/index.tsx +19 -0
- package/src/components/tiptap/ui/color-text-popover/use-color-text-popover.ts +295 -0
- package/src/components/tiptap/ui/copy-anchor-link-button/copy-anchor-link-button.tsx +136 -0
- package/src/components/tiptap/ui/copy-anchor-link-button/index.tsx +20 -0
- package/src/components/tiptap/ui/copy-anchor-link-button/use-copy-anchor-link.ts +282 -0
- package/src/components/tiptap/ui/copy-anchor-link-button/use-scroll-to-hash.ts +155 -0
- package/src/components/tiptap/ui/copy-to-clipboard-button/copy-to-clipboard-button.tsx +134 -0
- package/src/components/tiptap/ui/copy-to-clipboard-button/index.tsx +19 -0
- package/src/components/tiptap/ui/copy-to-clipboard-button/use-copy-to-clipboard.ts +275 -0
- package/src/components/tiptap/ui/delete-node-button/delete-node-button.tsx +132 -0
- package/src/components/tiptap/ui/delete-node-button/index.tsx +19 -0
- package/src/components/tiptap/ui/delete-node-button/use-delete-node.ts +259 -0
- package/src/components/tiptap/ui/doc-reference-floating/doc-reference-floating.tsx +120 -0
- package/src/components/tiptap/ui/doc-reference-interaction/doc-reference-interaction.tsx +209 -0
- package/src/components/tiptap/ui/drag-context-menu/drag-context-menu-types.ts +47 -0
- package/src/components/tiptap/ui/drag-context-menu/drag-context-menu.scss +15 -0
- package/src/components/tiptap/ui/drag-context-menu/drag-context-menu.tsx +558 -0
- package/src/components/tiptap/ui/drag-context-menu/index.tsx +19 -0
- package/src/components/tiptap/ui/duplicate-button/duplicate-button.tsx +132 -0
- package/src/components/tiptap/ui/duplicate-button/index.tsx +19 -0
- package/src/components/tiptap/ui/duplicate-button/use-duplicate.ts +240 -0
- package/src/components/tiptap/ui/emoji-dropdown-menu/emoji-dropdown-menu.tsx +124 -0
- package/src/components/tiptap/ui/emoji-dropdown-menu/index.tsx +18 -0
- package/src/components/tiptap/ui/emoji-menu/emoji-menu-utils.ts +53 -0
- package/src/components/tiptap/ui/emoji-menu/emoji-menu.scss +28 -0
- package/src/components/tiptap/ui/emoji-menu/emoji-menu.tsx +166 -0
- package/src/components/tiptap/ui/emoji-menu/index.tsx +19 -0
- package/src/components/tiptap/ui/emoji-trigger-button/emoji-trigger-button.tsx +146 -0
- package/src/components/tiptap/ui/emoji-trigger-button/index.tsx +19 -0
- package/src/components/tiptap/ui/emoji-trigger-button/use-emoji-trigger.ts +338 -0
- package/src/components/tiptap/ui/heading-button/heading-button.tsx +142 -0
- package/src/components/tiptap/ui/heading-button/index.tsx +19 -0
- package/src/components/tiptap/ui/heading-button/use-heading.ts +374 -0
- package/src/components/tiptap/ui/image-align-button/image-align-button.tsx +154 -0
- package/src/components/tiptap/ui/image-align-button/index.tsx +19 -0
- package/src/components/tiptap/ui/image-align-button/use-image-align.ts +313 -0
- package/src/components/tiptap/ui/image-caption-button/image-caption-button.tsx +109 -0
- package/src/components/tiptap/ui/image-caption-button/index.tsx +19 -0
- package/src/components/tiptap/ui/image-caption-button/use-image-caption.ts +232 -0
- package/src/components/tiptap/ui/image-download-button/image-download-button.tsx +141 -0
- package/src/components/tiptap/ui/image-download-button/index.tsx +19 -0
- package/src/components/tiptap/ui/image-download-button/use-image-download.ts +384 -0
- package/src/components/tiptap/ui/image-upload-button/image-upload-button.tsx +148 -0
- package/src/components/tiptap/ui/image-upload-button/index.tsx +19 -0
- package/src/components/tiptap/ui/image-upload-button/use-image-upload.ts +214 -0
- package/src/components/tiptap/ui/improve-dropdown/improve-dropdown.tsx +311 -0
- package/src/components/tiptap/ui/improve-dropdown/index.tsx +19 -0
- package/src/components/tiptap/ui/improve-dropdown/use-improve-dropdown.ts +294 -0
- package/src/components/tiptap/ui/indent-button/indent-button.tsx +148 -0
- package/src/components/tiptap/ui/indent-button/index.tsx +19 -0
- package/src/components/tiptap/ui/indent-button/use-indent.ts +217 -0
- package/src/components/tiptap/ui/link-popover/index.tsx +19 -0
- package/src/components/tiptap/ui/link-popover/link-popover.scss +16 -0
- package/src/components/tiptap/ui/link-popover/link-popover.tsx +333 -0
- package/src/components/tiptap/ui/link-popover/use-link-popover.ts +316 -0
- package/src/components/tiptap/ui/list-button/index.tsx +19 -0
- package/src/components/tiptap/ui/list-button/list-button.tsx +138 -0
- package/src/components/tiptap/ui/list-button/use-list.ts +370 -0
- package/src/components/tiptap/ui/mark-button/index.tsx +19 -0
- package/src/components/tiptap/ui/mark-button/mark-button.tsx +138 -0
- package/src/components/tiptap/ui/mark-button/use-mark.ts +247 -0
- package/src/components/tiptap/ui/mention-dropdown-menu/index.tsx +18 -0
- package/src/components/tiptap/ui/mention-dropdown-menu/mention-dropdown-menu.tsx +194 -0
- package/src/components/tiptap/ui/mention-trigger-button/index.tsx +19 -0
- package/src/components/tiptap/ui/mention-trigger-button/mention-trigger-button.tsx +137 -0
- package/src/components/tiptap/ui/mention-trigger-button/use-mention-trigger.ts +362 -0
- package/src/components/tiptap/ui/move-node-button/index.tsx +19 -0
- package/src/components/tiptap/ui/move-node-button/move-node-button.tsx +138 -0
- package/src/components/tiptap/ui/move-node-button/use-move-node.ts +230 -0
- package/src/components/tiptap/ui/reference-dropdown-menu/index.tsx +18 -0
- package/src/components/tiptap/ui/reference-dropdown-menu/reference-dropdown-menu.tsx +231 -0
- package/src/components/tiptap/ui/reset-all-formatting-button/index.tsx +19 -0
- package/src/components/tiptap/ui/reset-all-formatting-button/reset-all-formatting-button.tsx +144 -0
- package/src/components/tiptap/ui/reset-all-formatting-button/use-reset-all-formatting.ts +279 -0
- package/src/components/tiptap/ui/slash-command-trigger-button/index.tsx +19 -0
- package/src/components/tiptap/ui/slash-command-trigger-button/slash-command-trigger-button.tsx +143 -0
- package/src/components/tiptap/ui/slash-command-trigger-button/use-slash-command-trigger.ts +305 -0
- package/src/components/tiptap/ui/slash-dropdown-menu/index.tsx +19 -0
- package/src/components/tiptap/ui/slash-dropdown-menu/slash-dropdown-menu.scss +33 -0
- package/src/components/tiptap/ui/slash-dropdown-menu/slash-dropdown-menu.tsx +222 -0
- package/src/components/tiptap/ui/slash-dropdown-menu/use-slash-dropdown-menu.ts +498 -0
- package/src/components/tiptap/ui/text-align-button/index.tsx +19 -0
- package/src/components/tiptap/ui/text-align-button/text-align-button.tsx +160 -0
- package/src/components/tiptap/ui/text-align-button/use-text-align.ts +248 -0
- package/src/components/tiptap/ui/text-button/index.tsx +19 -0
- package/src/components/tiptap/ui/text-button/text-button.tsx +135 -0
- package/src/components/tiptap/ui/text-button/use-text.ts +308 -0
- package/src/components/tiptap/ui/turn-into-dropdown/index.tsx +19 -0
- package/src/components/tiptap/ui/turn-into-dropdown/turn-into-dropdown.tsx +243 -0
- package/src/components/tiptap/ui/turn-into-dropdown/use-turn-into-dropdown.ts +294 -0
- package/src/components/tiptap/ui/undo-redo-button/index.tsx +19 -0
- package/src/components/tiptap/ui/undo-redo-button/undo-redo-button.tsx +141 -0
- package/src/components/tiptap/ui/undo-redo-button/use-undo-redo.ts +207 -0
- package/src/components/tiptap/ui-primitive/avatar/avatar.scss +118 -0
- package/src/components/tiptap/ui-primitive/avatar/avatar.tsx +255 -0
- package/src/components/tiptap/ui-primitive/avatar/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/badge/badge-colors.scss +395 -0
- package/src/components/tiptap/ui-primitive/badge/badge-group.scss +16 -0
- package/src/components/tiptap/ui-primitive/badge/badge.scss +99 -0
- package/src/components/tiptap/ui-primitive/badge/badge.tsx +62 -0
- package/src/components/tiptap/ui-primitive/badge/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/button/button-colors.scss +429 -0
- package/src/components/tiptap/ui-primitive/button/button.scss +314 -0
- package/src/components/tiptap/ui-primitive/button/button.tsx +119 -0
- package/src/components/tiptap/ui-primitive/button/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/button-group/button-group.scss +79 -0
- package/src/components/tiptap/ui-primitive/button-group/button-group.tsx +89 -0
- package/src/components/tiptap/ui-primitive/button-group/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/card/card.scss +74 -0
- package/src/components/tiptap/ui-primitive/card/card.tsx +95 -0
- package/src/components/tiptap/ui-primitive/card/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/combobox/combobox.scss +90 -0
- package/src/components/tiptap/ui-primitive/combobox/combobox.tsx +231 -0
- package/src/components/tiptap/ui-primitive/combobox/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/dropdown-menu/dropdown-menu.scss +152 -0
- package/src/components/tiptap/ui-primitive/dropdown-menu/dropdown-menu.tsx +280 -0
- package/src/components/tiptap/ui-primitive/dropdown-menu/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/input/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/input/input.scss +41 -0
- package/src/components/tiptap/ui-primitive/input/input.tsx +33 -0
- package/src/components/tiptap/ui-primitive/input-group/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/input-group/input-group.scss +225 -0
- package/src/components/tiptap/ui-primitive/input-group/input-group.tsx +152 -0
- package/src/components/tiptap/ui-primitive/label/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/label/label.scss +20 -0
- package/src/components/tiptap/ui-primitive/label/label.tsx +34 -0
- package/src/components/tiptap/ui-primitive/menu/index.tsx +22 -0
- package/src/components/tiptap/ui-primitive/menu/menu-context.ts +35 -0
- package/src/components/tiptap/ui-primitive/menu/menu-hooks.ts +118 -0
- package/src/components/tiptap/ui-primitive/menu/menu-types.ts +75 -0
- package/src/components/tiptap/ui-primitive/menu/menu-utils.ts +80 -0
- package/src/components/tiptap/ui-primitive/menu/menu.scss +68 -0
- package/src/components/tiptap/ui-primitive/menu/menu.tsx +327 -0
- package/src/components/tiptap/ui-primitive/popover/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/popover/popover.scss +64 -0
- package/src/components/tiptap/ui-primitive/popover/popover.tsx +53 -0
- package/src/components/tiptap/ui-primitive/separator/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/separator/separator.scss +23 -0
- package/src/components/tiptap/ui-primitive/separator/separator.tsx +46 -0
- package/src/components/tiptap/ui-primitive/sidebar/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/sidebar/sidebar.scss +389 -0
- package/src/components/tiptap/ui-primitive/sidebar/sidebar.tsx +633 -0
- package/src/components/tiptap/ui-primitive/spacer/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/spacer/spacer.tsx +40 -0
- package/src/components/tiptap/ui-primitive/textarea/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/textarea/textarea.scss +42 -0
- package/src/components/tiptap/ui-primitive/textarea/textarea.tsx +32 -0
- package/src/components/tiptap/ui-primitive/textarea-autosize/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/textarea-autosize/textarea-autosize.tsx +34 -0
- package/src/components/tiptap/ui-primitive/toolbar/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/toolbar/toolbar.scss +98 -0
- package/src/components/tiptap/ui-primitive/toolbar/toolbar.tsx +139 -0
- package/src/components/tiptap/ui-primitive/tooltip/index.tsx +18 -0
- package/src/components/tiptap/ui-primitive/tooltip/tooltip.scss +43 -0
- package/src/components/tiptap/ui-primitive/tooltip/tooltip.tsx +257 -0
- package/src/components/tiptap/ui-utils/floating-element/floating-element-utils.ts +51 -0
- package/src/components/tiptap/ui-utils/floating-element/floating-element.tsx +397 -0
- package/src/components/tiptap/ui-utils/floating-element/index.tsx +19 -0
- package/src/components/tiptap/ui-utils/suggestion-menu/index.tsx +20 -0
- package/src/components/tiptap/ui-utils/suggestion-menu/suggestion-menu-fullwidth.ts +48 -0
- package/src/components/tiptap/ui-utils/suggestion-menu/suggestion-menu-types.ts +119 -0
- package/src/components/tiptap/ui-utils/suggestion-menu/suggestion-menu-utils.ts +107 -0
- package/src/components/tiptap/ui-utils/suggestion-menu/suggestion-menu.tsx +367 -0
- package/src/components/tiptap/virtual.d.ts +17 -0
- package/src/components/ui/alert-dialog.tsx +1 -1
- package/src/components/ui/badge.tsx +1 -1
- package/src/components/ui/button.tsx +1 -1
- package/src/components/ui/card.tsx +1 -1
- package/src/components/ui/checkbox.tsx +1 -1
- package/src/components/ui/context-menu.tsx +1 -1
- package/src/components/ui/dialog.tsx +1 -1
- package/src/components/ui/dropdown-menu.tsx +1 -1
- package/src/components/ui/empty.tsx +1 -1
- package/src/components/ui/input.tsx +1 -1
- package/src/components/ui/label.tsx +1 -1
- package/src/components/ui/popover.tsx +1 -1
- package/src/components/ui/resizable.tsx +1 -1
- package/src/components/ui/select.tsx +1 -1
- package/src/components/ui/sidebar.tsx +1 -1
- package/src/components/ui/skeleton.tsx +1 -1
- package/src/components/ui/sonner.tsx +1 -1
- package/src/components/ui/spinner.tsx +1 -1
- package/src/components/ui/switch.tsx +1 -1
- package/src/components/ui/textarea.tsx +1 -1
- package/src/components/ui/tooltip.tsx +1 -1
- package/src/components/ui-shared/ai-command-button.tsx +36 -0
- package/src/components/ui-shared/ai-stream-text.tsx +37 -0
- package/src/components/ui-shared/alert-dialog.tsx +216 -0
- package/src/components/ui-shared/animated-theme-toggler.tsx +272 -0
- package/src/components/ui-shared/auth-client.ts +115 -0
- package/src/components/ui-shared/auth-layout.tsx +66 -0
- package/src/components/ui-shared/avatar.tsx +129 -0
- package/src/components/ui-shared/badge.tsx +66 -0
- package/src/components/ui-shared/button.tsx +84 -0
- package/src/components/ui-shared/card.tsx +120 -0
- package/src/components/ui-shared/checkbox.tsx +50 -0
- package/src/components/ui-shared/context-menu.tsx +280 -0
- package/src/components/ui-shared/dialog.tsx +183 -0
- package/src/components/ui-shared/dropdown-menu.tsx +286 -0
- package/src/components/ui-shared/empty.tsx +121 -0
- package/src/components/ui-shared/grid-pattern.tsx +87 -0
- package/src/components/ui-shared/index.ts +23 -0
- package/src/components/ui-shared/input.tsx +36 -0
- package/src/components/ui-shared/item.tsx +213 -0
- package/src/components/ui-shared/kbd.tsx +33 -0
- package/src/components/ui-shared/label.tsx +39 -0
- package/src/components/ui-shared/layout-panel-top.tsx +160 -0
- package/src/components/ui-shared/name-confirm-dialog.tsx +153 -0
- package/src/components/ui-shared/nav-float-button.tsx +301 -0
- package/src/components/ui-shared/notion-avatar.tsx +126 -0
- package/src/components/ui-shared/placeholder-page.tsx +42 -0
- package/src/components/ui-shared/popover.tsx +106 -0
- package/src/components/ui-shared/reference-inline.tsx +53 -0
- package/src/components/ui-shared/reference-search.tsx +52 -0
- package/src/components/ui-shared/resizable.tsx +67 -0
- package/src/components/ui-shared/select.tsx +207 -0
- package/src/components/ui-shared/separator.tsx +45 -0
- package/src/components/ui-shared/sheet.tsx +164 -0
- package/src/components/ui-shared/sidebar.tsx +708 -0
- package/src/components/ui-shared/skeleton.tsx +30 -0
- package/src/components/ui-shared/sonner.tsx +37 -0
- package/src/components/ui-shared/switch.tsx +48 -0
- package/src/components/ui-shared/textarea.tsx +35 -0
- package/src/components/ui-shared/timezone-provider.tsx +55 -0
- package/src/components/ui-shared/tooltip.tsx +72 -0
- package/src/components/ui-shared/use-mobile.ts +36 -0
- package/src/components/ui-shared/user-avatar.tsx +83 -0
- package/src/components/ui-shared/utils.ts +6 -0
- package/src/components/workspace/schemas/create-workspace.ts +1 -1
- package/src/hooks/use-entity-subscription.ts +1 -1
- package/src/hooks/use-notifications.ts +2 -2
- package/src/i18n/__tests__/detect.test.ts +48 -0
- package/src/i18n/__tests__/integration.test.tsx +32 -0
- package/src/i18n/__tests__/server.test.ts +33 -0
- package/src/i18n/client.ts +32 -0
- package/src/i18n/config.ts +114 -18
- package/src/i18n/detect.ts +43 -0
- package/src/i18n/locales/en/agents.json +134 -0
- package/src/i18n/locales/en/apps.json +6 -0
- package/src/i18n/locales/en/auth.json +90 -0
- package/src/i18n/locales/en/billing.json +78 -0
- package/src/i18n/locales/en/chat.json +194 -0
- package/src/i18n/locales/en/common.json +242 -0
- package/src/i18n/locales/en/dashboard.json +38 -0
- package/src/i18n/locales/en/design.json +70 -0
- package/src/i18n/locales/en/desktop.json +35 -0
- package/src/i18n/locales/en/display.json +37 -0
- package/src/i18n/locales/en/editor.json +304 -0
- package/src/i18n/locales/en/enterprise.json +1 -0
- package/src/i18n/locales/en/invite.json +56 -0
- package/src/i18n/locales/en/iterations.json +92 -0
- package/src/i18n/locales/en/knowledge.json +462 -0
- package/src/i18n/locales/en/mindmap.json +28 -0
- package/src/i18n/locales/en/notifications.json +79 -0
- package/src/i18n/locales/en/prd.json +51 -0
- package/src/i18n/locales/en/projects.json +140 -0
- package/src/i18n/locales/en/settings.json +428 -0
- package/src/i18n/locales/en/share.json +20 -0
- package/src/i18n/locales/en/story.json +923 -0
- package/src/i18n/locales/en/tags.json +42 -0
- package/src/i18n/locales/en/workspace.json +90 -0
- package/src/i18n/locales/zh/agents.json +134 -0
- package/src/i18n/locales/zh/apps.json +6 -0
- package/src/i18n/locales/zh/auth.json +90 -0
- package/src/i18n/locales/zh/billing.json +78 -0
- package/src/i18n/locales/zh/chat.json +194 -0
- package/src/i18n/locales/zh/common.json +242 -0
- package/src/i18n/locales/zh/dashboard.json +38 -0
- package/src/i18n/locales/zh/design.json +70 -0
- package/src/i18n/locales/zh/desktop.json +35 -0
- package/src/i18n/locales/zh/display.json +37 -0
- package/src/i18n/locales/zh/editor.json +304 -0
- package/src/i18n/locales/zh/enterprise.json +1 -0
- package/src/i18n/locales/zh/invite.json +56 -0
- package/src/i18n/locales/zh/iterations.json +92 -0
- package/src/i18n/locales/zh/knowledge.json +462 -0
- package/src/i18n/locales/zh/mindmap.json +28 -0
- package/src/i18n/locales/zh/notifications.json +79 -0
- package/src/i18n/locales/zh/prd.json +51 -0
- package/src/i18n/locales/zh/projects.json +140 -0
- package/src/i18n/locales/zh/settings.json +428 -0
- package/src/i18n/locales/zh/share.json +20 -0
- package/src/i18n/locales/zh/story.json +923 -0
- package/src/i18n/locales/zh/tags.json +42 -0
- package/src/i18n/locales/zh/workspace.json +90 -0
- package/src/i18n/server.ts +18 -0
- package/src/i18n/types.ts +5 -0
- package/src/lib/__tests__/ai-adapter.test.ts +5 -5
- package/src/lib/__tests__/cli-detector.test.ts +6 -6
- package/src/lib/__tests__/embedding.test.ts +1 -1
- package/src/lib/__tests__/module-registry.test.ts +1 -1
- package/src/lib/__tests__/provider-router.test.ts +2 -2
- package/src/lib/__tests__/rag.test.ts +1 -1
- package/src/lib/ai/__tests__/story-prompt.test.ts +1 -1
- package/src/lib/annotation-template.ts +33 -1
- package/src/lib/auth/auth-client.ts +1 -1
- package/src/lib/auth/auth.config.ts +1 -1
- package/src/lib/changelog/sdk-versions.ts +1 -8
- package/src/lib/collections/index.ts +1 -1
- package/src/lib/collections/knowledge/knowledge-bases-collection.ts +1 -1
- package/src/lib/collections/reference/bookmark-categories-collection.ts +1 -1
- package/src/lib/collections/reference/labels-collection.ts +1 -1
- package/src/lib/collections/reference/projects-collection.ts +1 -1
- package/src/lib/collections/reference/users-brief-collection.ts +1 -1
- package/src/lib/collections/reference/workspaces-collection.ts +1 -1
- package/src/lib/comment-utils.ts +47 -1
- package/src/lib/crypto/api-key-cipher.ts +1 -1
- package/src/lib/datetime.ts +130 -7
- package/src/lib/outline-utils.ts +57 -1
- package/src/lib/pacer.ts +96 -11
- package/src/lib/prd/__tests__/stack-layout.test.ts +1 -1
- package/src/lib/prd/stack-layout.ts +53 -1
- package/src/lib/prd-tree-utils.ts +94 -1
- package/src/lib/prototype-registry.ts +24 -1
- package/src/lib/query-client-seam.test.ts +19 -0
- package/src/lib/query-client-seam.ts +14 -0
- package/src/lib/rag.ts +1 -1
- package/src/lib/restore-version.ts +1 -1
- package/src/lib/router-context.ts +1 -1
- package/src/lib/share-events.ts +78 -1
- package/src/lib/sidebar-utils.ts +21 -1
- package/src/lib/sse-transport.ts +1 -1
- package/src/lib/stores/prd-canvas-store.ts +69 -1
- package/src/lib/tag-colors.ts +35 -1
- package/src/lib/time-format.ts +50 -1
- package/src/lib/utils.ts +1 -1
- package/src/plugins/core/context.ts +2 -0
- package/src/plugins/core/index.ts +1 -0
- package/src/plugins/core/inspiration/index.ts +17 -0
- package/src/plugins/core/inspiration/pages/inspiration-page.tsx +8 -0
- package/src/plugins/core/inspiration/routes.ts +12 -0
- package/src/plugins/core/inspiration/ui.tsx +28 -0
- package/src/plugins/core/prd/components/agent-input.tsx +193 -0
- package/src/plugins/core/prd/components/component-annotation-overlay/AnnotationOverlay.tsx +113 -0
- package/src/plugins/core/prd/components/component-editor/__tests__/field-utils.test.ts +93 -0
- package/src/plugins/core/prd/components/component-editor/collapsible-section.tsx +44 -0
- package/src/plugins/core/prd/components/component-editor/content-section.tsx +63 -0
- package/src/plugins/core/prd/components/component-editor/field-utils.ts +56 -0
- package/src/plugins/core/prd/components/component-editor/position-section.tsx +39 -0
- package/src/plugins/core/prd/components/component-editor/style-fields.tsx +187 -0
- package/src/plugins/core/prd/components/component-editor/use-field.ts +53 -0
- package/src/plugins/core/prd/components/component-thumbnail.tsx +109 -0
- package/src/plugins/core/prd/components/dialog/create-prd-dialog.tsx +148 -0
- package/src/plugins/core/prd/components/dialog/prd-detail-client.tsx +102 -0
- package/src/plugins/core/prd/components/element-context.ts +29 -0
- package/src/plugins/core/prd/components/index.ts +19 -0
- package/src/plugins/core/prd/components/page-version-panel/components/create-version-dialog.tsx +84 -0
- package/src/plugins/core/prd/components/page-version-panel/components/delete-version-dialog.tsx +61 -0
- package/src/plugins/core/prd/components/page-version-panel/components/edit-version-dialog.tsx +82 -0
- package/src/plugins/core/prd/components/page-version-panel/constants.tsx +23 -0
- package/src/plugins/core/prd/components/page-version-panel/types.ts +30 -0
- package/src/plugins/core/prd/components/page-version-panel.tsx +1100 -0
- package/src/plugins/core/prd/components/page-version-tree.tsx +308 -0
- package/src/plugins/core/prd/components/prd-agent-panel.tsx +429 -0
- package/src/plugins/core/prd/components/prd-comment-review-panel.tsx +227 -0
- package/src/plugins/core/prd/components/prd-component-editor-content.tsx +90 -0
- package/src/plugins/core/prd/components/prd-dashboard.tsx +302 -0
- package/src/plugins/core/prd/components/prd-doc-panel.tsx +116 -0
- package/src/plugins/core/prd/components/prd-editor-layout.tsx +466 -0
- package/src/plugins/core/prd/components/prd-filter-bar.tsx +103 -0
- package/src/plugins/core/prd/components/prd-left-sidebar.tsx +473 -0
- package/src/plugins/core/prd/components/prd-navigation.tsx +287 -0
- package/src/plugins/core/prd/components/prd-outline-tab.tsx +61 -0
- package/src/plugins/core/prd/components/prd-prototype-panel.tsx +142 -0
- package/src/plugins/core/prd/components/prd-right-sidebar.tsx +209 -0
- package/src/plugins/core/prd/components/prd-share-panel/components/single-version-share-card.tsx +201 -0
- package/src/plugins/core/prd/components/prd-share-panel/constants.ts +22 -0
- package/src/plugins/core/prd/components/prd-share-panel/types.ts +21 -0
- package/src/plugins/core/prd/components/prd-share-panel/utils.ts +30 -0
- package/src/plugins/core/prd/components/prd-share-panel.tsx +567 -0
- package/src/plugins/core/prd/components/prd-tree-page-tab.tsx +572 -0
- package/src/plugins/core/prd/components/prd-tree-reducer.ts +96 -0
- package/src/plugins/core/prd/components/prototype/IconPrototype.tsx +81 -0
- package/src/plugins/core/prd/components/prototype/PrototypeCanvas.tsx +411 -0
- package/src/plugins/core/prd/components/prototype/PrototypeElement.tsx +168 -0
- package/src/plugins/core/prd/components/prototype/ResizeHandles.tsx +95 -0
- package/src/plugins/core/prd/components/prototype/icon-components.ts +57 -0
- package/src/plugins/core/prd/components/prototype/imported/.gitkeep +0 -0
- package/src/plugins/core/prd/components/prototype/index.ts +31 -0
- package/src/plugins/core/prd/components/restore-version-dialog.tsx +76 -0
- package/src/plugins/core/prd/components/schemas/create-prd.ts +26 -0
- package/src/plugins/core/prd/components/share/prd-share-client.tsx +118 -0
- package/src/plugins/core/prd/components/share/share-annotation-overlay.tsx +122 -0
- package/src/plugins/core/prd/components/share/share-comment-panel.tsx +257 -0
- package/src/plugins/core/prd/components/share/share-comment-review-panel.tsx +75 -0
- package/src/plugins/core/prd/components/share/share-directory-tree.tsx +93 -0
- package/src/plugins/core/prd/components/share/share-doc-view.tsx +96 -0
- package/src/plugins/core/prd/components/share/share-layout.tsx +171 -0
- package/src/plugins/core/prd/components/share/share-nav-bar.tsx +72 -0
- package/src/plugins/core/prd/components/share/share-password-gate.tsx +90 -0
- package/src/plugins/core/prd/components/share/share-prototype-view.tsx +92 -0
- package/src/plugins/core/prd/components/share/share-review-panel.tsx +93 -0
- package/src/plugins/core/prd/components/share/share-sse-listener.tsx +76 -0
- package/src/plugins/core/prd/components/share/share-theme-toggle.tsx +57 -0
- package/src/plugins/core/prd/components/share/version-share-client.tsx +123 -0
- package/src/plugins/core/prd/components/tiptap/node/paragraph-node/paragraph-node.scss +286 -0
- package/src/plugins/core/prd/icon-picker-bridge.ts +41 -0
- package/src/plugins/core/prd/index.ts +40 -0
- package/src/plugins/core/prd/lib/ai/annotation-prompt.ts +66 -0
- package/src/plugins/core/prd/lib/restore-version.ts +53 -0
- package/src/plugins/core/prd/pages/prd-detail-page.tsx +88 -0
- package/src/plugins/core/prd/pages/prd-layout.tsx +28 -0
- package/src/plugins/core/prd/pages/share-prd-page.tsx +69 -0
- package/src/plugins/core/prd/prd-nav.tsx +92 -0
- package/src/plugins/core/prd/routes.tsx +103 -0
- package/src/plugins/core/prd/serverFns/ai/agent-conversations.ts +124 -0
- package/src/plugins/core/prd/serverFns/ai/fill-annotation.ts +80 -0
- package/src/plugins/core/prd/serverFns/ai/generate-prototype.ts +121 -0
- package/src/plugins/core/prd/serverFns/ai/providers.ts +528 -0
- package/src/plugins/core/prd/serverFns/comments.ts +109 -0
- package/src/plugins/core/prd/serverFns/components.ts +37 -0
- package/src/plugins/core/prd/serverFns/detail.ts +49 -0
- package/src/plugins/core/prd/serverFns/index.ts +14 -0
- package/src/plugins/core/prd/serverFns/page-versions.ts +137 -0
- package/src/plugins/core/prd/serverFns/pages.ts +164 -0
- package/src/plugins/core/prd/serverFns/prd.ts +164 -0
- package/src/plugins/core/prd/serverFns/reviews.ts +87 -0
- package/src/plugins/core/prd/serverFns/share/verify-password.ts +75 -0
- package/src/plugins/core/prd/serverFns/share/versions.ts +112 -0
- package/src/plugins/core/prd/serverFns/share.ts +119 -0
- package/src/plugins/core/prd/serverFns/shares-password.ts +189 -0
- package/src/plugins/core/prd/serverFns/shares.ts +336 -0
- package/src/plugins/core/prd/serverFns/versions.ts +277 -0
- package/src/plugins/core/prd/ui.ts +24 -0
- package/src/plugins/core/server/api-key-cipher.ts +61 -0
- package/src/plugins/core/server/rate-limit.ts +111 -0
- package/src/plugins/core/tags/__tests__/tags.test.ts +367 -0
- package/src/plugins/core/tags/index.ts +39 -0
- package/src/plugins/core/tags/nav-tag.tsx +137 -0
- package/src/plugins/core/tags/pages/tag-detail-page.tsx +31 -0
- package/src/plugins/core/tags/pages/tag-settings-page.tsx +34 -0
- package/src/plugins/core/tags/pages/tags-index-page.tsx +34 -0
- package/src/plugins/core/tags/routes.ts +65 -0
- package/src/plugins/core/tags/serverFns.ts +122 -0
- package/src/plugins/core/tags/tag-badge.tsx +57 -0
- package/src/plugins/core/tags/tag-color-classes.ts +61 -0
- package/src/plugins/core/tags/tag-color-picker.tsx +56 -0
- package/src/plugins/core/tags/tag-components-index.ts +23 -0
- package/src/plugins/core/tags/tag-manager.tsx +212 -0
- package/src/plugins/core/tags/tag-selector.tsx +169 -0
- package/src/plugins/core/tags/tags-collection.ts +40 -0
- package/src/plugins/core/tags/ui.ts +24 -0
- package/src/plugins/plugins.gen.ts +3 -3
- package/src/plugins/ui.gen.ts +1 -1
- package/src/providers/index.tsx +3 -3
- package/src/providers/timezone-provider.tsx +1 -1
- package/src/router.tsx +2 -2
- package/src/routes/__root.tsx +2 -2
- package/src/routes/_login/schemas/-auth.ts +1 -1
- package/src/routes/_nav/changelog/route.lazy.tsx +1 -1
- package/src/routes/_nav/changelog/route.tsx +1 -1
- package/src/routes/_nav/dashboard/-components/avatar-group.tsx +2 -2
- package/src/routes/_nav/dashboard/route.tsx +1 -1
- package/src/routes/_nav/inspiration/route.tsx +1 -1
- package/src/routes/_nav/notifications/route.tsx +1 -1
- package/src/routes/_nav/prd/$id/route.tsx +1 -1
- package/src/routes/_nav/prd/index.tsx +1 -1
- package/src/routes/_nav/prd/route.tsx +1 -1
- package/src/routes/_nav/projects/$projectId/index.lazy.tsx +1 -1
- package/src/routes/_nav/route.tsx +1 -1
- package/src/routes/_nav/settings/account/route.tsx +1 -1
- package/src/routes/_nav/settings/route.tsx +1 -1
- package/src/routes/_nav/tags/$id/route.tsx +1 -1
- package/src/routes/_nav/tags/index.tsx +1 -1
- package/src/routes/_nav/tags/route.tsx +1 -1
- package/src/routes/_nav/tags/settings/route.tsx +1 -1
- package/src/routes/api/auth/desktop-callback.ts +1 -1
- package/src/routes/api/chat.ts +2 -2
- package/src/routes/api/notifications/stream.ts +1 -1
- package/src/routes/api/story-ai.ts +1 -1
- package/src/routes/invite/$token/route.lazy.tsx +1 -1
- package/src/routes/server.ai-stream.ts +1 -1
- package/src/routes/share/$versionId/route.lazy.tsx +1 -1
- package/src/routes/share/prd/$prdId/route.tsx +1 -1
- package/src/server/__tests__/agent-client-graph.test.ts +8 -5
- package/src/server/__tests__/resource-registry.test.ts +1 -1
- package/src/server/ai-gateway/__tests__/conformance.test.ts +43 -0
- package/src/server/ai-gateway/__tests__/embedding-request.test.ts +84 -0
- package/src/server/ai-gateway/__tests__/embedding.test.ts +42 -0
- package/src/server/ai-gateway/__tests__/interrupt-store.test.ts +539 -0
- package/src/server/ai-gateway/__tests__/knowledge-scope.test.ts +207 -0
- package/src/server/ai-gateway/__tests__/label-suggest.test.ts +113 -0
- package/src/server/ai-gateway/__tests__/message-store.test.ts +197 -0
- package/src/server/ai-gateway/__tests__/rerank.test.ts +128 -0
- package/src/server/ai-gateway/__tests__/run-store.test.ts +378 -0
- package/src/server/ai-gateway/__tests__/runtime.test.ts +58 -0
- package/src/server/ai-gateway/__tests__/story-prompt.test.ts +34 -0
- package/src/server/ai-gateway/__tests__/tools-select.test.ts +103 -0
- package/src/server/ai-gateway/__tests__/unified-router.test.ts +124 -0
- package/src/server/ai-gateway/adapter.ts +255 -0
- package/src/server/ai-gateway/chat-handler.ts +238 -0
- package/src/server/ai-gateway/chat-stream-builder.ts +91 -0
- package/src/server/ai-gateway/connectivity-check.ts +148 -0
- package/src/server/ai-gateway/embedding.ts +67 -0
- package/src/server/ai-gateway/index.ts +111 -0
- package/src/server/ai-gateway/label-suggest.ts +126 -0
- package/src/server/ai-gateway/middlewares/index.ts +19 -0
- package/src/server/ai-gateway/middlewares/logger.ts +35 -0
- package/src/server/ai-gateway/middlewares/rate-limit.ts +40 -0
- package/src/server/ai-gateway/model-fetch.ts +168 -0
- package/src/server/ai-gateway/persistence/index.ts +36 -0
- package/src/server/ai-gateway/persistence/interrupt-store.ts +154 -0
- package/src/server/ai-gateway/persistence/message-store.ts +124 -0
- package/src/server/ai-gateway/persistence/run-store.ts +120 -0
- package/src/server/ai-gateway/ports.ts +71 -0
- package/src/server/ai-gateway/pro-services.ts +25 -0
- package/src/server/ai-gateway/provider-router.ts +238 -0
- package/src/server/ai-gateway/provider-tools.ts +42 -0
- package/src/server/ai-gateway/rerank.ts +63 -0
- package/src/server/ai-gateway/runtime.ts +42 -0
- package/src/server/ai-gateway/story-handler.ts +171 -0
- package/src/server/ai-gateway/story-prompt.ts +68 -0
- package/src/server/ai-gateway/tools/definitions.ts +99 -0
- package/src/server/ai-gateway/tools/delete-project.ts +39 -0
- package/src/server/ai-gateway/tools/index.ts +31 -0
- package/src/server/ai-gateway/tools/knowledge-scope.ts +56 -0
- package/src/server/ai-gateway/tools/select.ts +53 -0
- package/src/server/ai-gateway/tools/server.ts +198 -0
- package/src/server/ai-gateway/tools.ts +7 -0
- package/src/server/ai-gateway/types.ts +42 -0
- package/src/server/ai-gateway/unified-router.ts +180 -0
- package/src/server/ai-ports.ts +2 -2
- package/src/server/entitlements-token-client.ts +1 -1
- package/src/server/entitlements-token.ts +1 -1
- package/src/server/entitlements.ts +1 -1
- package/src/server/middlewares/rate-limit-server-fn.ts +1 -1
- package/src/server/notifications/event-bus.ts +1 -1
- package/src/server/notifications/notification-service.ts +3 -3
- package/src/server/resources.ts +1 -1
- package/src/server/serverFns/__tests__/knowledge-index.test.ts +1 -1
- package/src/server/serverFns/agents/agent-crud.ts +1 -1
- package/src/server/serverFns/agents/resolve-overrides.ts +2 -2
- package/src/server/serverFns/ai/agent-conversations.ts +1 -1
- package/src/server/serverFns/ai/fill-annotation.ts +1 -1
- package/src/server/serverFns/ai/generate-prototype.ts +1 -1
- package/src/server/serverFns/ai/providers.ts +1 -1
- package/src/server/serverFns/auth/session.ts +1 -1
- package/src/server/serverFns/billing.ts +1 -1
- package/src/server/serverFns/changelog/fetch.ts +1 -1
- package/src/server/serverFns/comments.ts +1 -1
- package/src/server/serverFns/components.ts +1 -1
- package/src/server/serverFns/knowledge-index-utils.ts +1 -1
- package/src/server/serverFns/locale.ts +1 -1
- package/src/server/serverFns/notifications.ts +1 -1
- package/src/server/serverFns/reviews.ts +1 -1
- package/src/server/serverFns/share/verify-password.ts +1 -1
- package/src/server/serverFns/share/versions.ts +1 -1
- package/src/server/serverFns/story/__tests__/label-suggest-fn.test.ts +2 -2
- package/src/server/serverFns/story/story-crud/label-suggest-core.ts +1 -1
- package/src/server/serverFns/translation.ts +1 -1
- package/src/shared/ai-cli/adapter.ts +59 -0
- package/src/shared/ai-cli/cli-detector.ts +64 -0
- package/src/start.ts +1 -1
- package/vite.shared.ts +1 -5
- package/src/lib/i18n/client.ts +0 -1
- package/src/lib/i18n/config.ts +0 -1
- package/src/lib/i18n/detect.ts +0 -1
- package/src/lib/i18n/server.ts +0 -1
- package/src/lib/i18n/types.ts +0 -1
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
// AllBlue - 理想之海
|
|
3
|
+
// Copyright (C) 2026 AllBlue Contributors
|
|
4
|
+
//
|
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
|
6
|
+
// it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
// (at your option) any later version.
|
|
9
|
+
//
|
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
// GNU Affero General Public License for more details.
|
|
14
|
+
//
|
|
15
|
+
// You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
|
|
18
|
+
import { memo } from "react"
|
|
19
|
+
|
|
20
|
+
type SvgProps = React.ComponentPropsWithoutRef<"svg">
|
|
21
|
+
|
|
22
|
+
export const RotateCcwIcon = memo(({ className, ...props }: SvgProps) => {
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
width="24"
|
|
26
|
+
height="24"
|
|
27
|
+
className={className}
|
|
28
|
+
viewBox="0 0 24 24"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<path
|
|
34
|
+
d="M12 2L11.9962 2.00001C9.22213 2.01045 6.55946 3.0929 4.56496 5.02104L4.55289 5.0329L4 5.58579V3C4 2.44772 3.55228 2 3 2C2.44772 2 2 2.44772 2 3V8C2 8.55228 2.44772 9 3 9H8C8.55228 9 9 8.55228 9 8C9 7.44772 8.55228 7 8 7H5.41422L5.96097 6.45325C7.58329 4.88786 9.7473 4.00897 12.0019 4.00001C13.5835 4.00038 15.1295 4.46955 16.4446 5.34825C17.7602 6.2273 18.7855 7.47673 19.391 8.93854C19.9965 10.4003 20.155 12.0089 19.8463 13.5607C19.5376 15.1126 18.7757 16.538 17.6569 17.6569C16.538 18.7757 15.1126 19.5376 13.5607 19.8463C12.0089 20.155 10.4003 19.9965 8.93853 19.391C7.47672 18.7855 6.22729 17.7602 5.34824 16.4446C4.46919 15.129 4 13.5823 4 12C4 11.4477 3.55228 11 3 11C2.44772 11 2 11.4477 2 12C2 13.9778 2.58649 15.9112 3.6853 17.5557C4.78412 19.2002 6.3459 20.4819 8.17317 21.2388C10.0004 21.9957 12.0111 22.1937 13.9509 21.8079C15.8907 21.422 17.6725 20.4696 19.0711 19.0711C20.4696 17.6726 21.422 15.8907 21.8079 13.9509C22.1937 12.0111 21.9957 10.0004 21.2388 8.17317C20.4819 6.34591 19.2002 4.78412 17.5557 3.68531C15.9112 2.5865 13.9778 2.00001 12 2Z"
|
|
35
|
+
fill="currentColor"
|
|
36
|
+
/>
|
|
37
|
+
</svg>
|
|
38
|
+
)
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
RotateCcwIcon.displayName = "RotateCcwIcon"
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
// AllBlue - 理想之海
|
|
3
|
+
// Copyright (C) 2026 AllBlue Contributors
|
|
4
|
+
//
|
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
|
6
|
+
// it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
// (at your option) any later version.
|
|
9
|
+
//
|
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
// GNU Affero General Public License for more details.
|
|
14
|
+
//
|
|
15
|
+
// You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
|
|
18
|
+
import { memo } from "react"
|
|
19
|
+
|
|
20
|
+
type SvgProps = React.ComponentPropsWithoutRef<"svg">
|
|
21
|
+
|
|
22
|
+
export const Simplify2Icon = memo(({ className, ...props }: SvgProps) => {
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
width="24"
|
|
26
|
+
height="24"
|
|
27
|
+
className={className}
|
|
28
|
+
viewBox="0 0 24 24"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<path
|
|
34
|
+
d="M4 20C4 20.5523 3.55228 21 3 21C2.44772 21 2 20.5523 2 20V6C2 4.34315 3.34315 3 5 3C6.65685 3 8 4.34315 8 6V15C8 15.5523 8.44772 16 9 16C9.55228 16 10 15.5523 10 15V9.5C10 7.84315 11.3431 6.5 13 6.5C14.6569 6.5 16 7.84315 16 9.5V10C16 10.5523 16.4477 11 17 11H19.5858L18.2929 9.70711C17.9024 9.31658 17.9024 8.68342 18.2929 8.29289C18.6834 7.90237 19.3166 7.90237 19.7071 8.29289L22.7071 11.2929C23.0976 11.6834 23.0976 12.3166 22.7071 12.7071L19.7071 15.7071C19.3166 16.0976 18.6834 16.0976 18.2929 15.7071C17.9024 15.3166 17.9024 14.6834 18.2929 14.2929L19.5858 13H17C15.3431 13 14 11.6569 14 10V9.5C14 8.94772 13.5523 8.5 13 8.5C12.4477 8.5 12 8.94771 12 9.5V15C12 16.6569 10.6569 18 9 18C7.34315 18 6 16.6569 6 15V6C6 5.44772 5.55228 5 5 5C4.44772 5 4 5.44772 4 6V20Z"
|
|
35
|
+
fill="currentColor"
|
|
36
|
+
/>
|
|
37
|
+
</svg>
|
|
38
|
+
)
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
Simplify2Icon.displayName = "Simplify2Icon"
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
// AllBlue - 理想之海
|
|
3
|
+
// Copyright (C) 2026 AllBlue Contributors
|
|
4
|
+
//
|
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
|
6
|
+
// it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
// (at your option) any later version.
|
|
9
|
+
//
|
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
// GNU Affero General Public License for more details.
|
|
14
|
+
//
|
|
15
|
+
// You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
|
|
18
|
+
import { memo } from "react"
|
|
19
|
+
|
|
20
|
+
type SvgProps = React.ComponentPropsWithoutRef<"svg">
|
|
21
|
+
|
|
22
|
+
export const SmileAiIcon = memo(({ className, ...props }: SvgProps) => {
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
width="24"
|
|
26
|
+
height="24"
|
|
27
|
+
className={className}
|
|
28
|
+
viewBox="0 0 24 24"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<path
|
|
34
|
+
d="M7.67909 4.05505C9.27254 3.18292 11.0926 2.81337 12.9 2.995C13.4495 3.05022 13.9398 2.64952 13.995 2.1C14.0502 1.55048 13.6495 1.06024 13.1 1.00502C10.8909 0.783033 8.66641 1.2347 6.71886 2.30064C4.7713 3.36659 3.19189 4.99691 2.18824 6.97729C1.1846 8.95767 0.803706 11.1954 1.09564 13.3963C1.38758 15.5972 2.33867 17.6583 3.8239 19.3085C5.30912 20.9588 7.25894 22.121 9.41704 22.6423C11.5751 23.1637 13.8405 23.0198 15.9153 22.2296C17.9901 21.4394 19.7772 20.0398 21.0417 18.2149C22.3062 16.39 22.9889 14.2252 23 12.005L23 12V11C23 10.4477 22.5523 10 22 10C21.4477 10 21 10.4477 21 11V11.9976C20.9904 13.8132 20.4319 15.5834 19.3978 17.0758C18.3632 18.5689 16.901 19.714 15.2034 20.3605C13.5059 21.0071 11.6524 21.1248 9.8867 20.6982C8.12098 20.2717 6.52567 19.3208 5.31048 17.9706C4.0953 16.6204 3.31713 14.9341 3.07828 13.1333C2.83942 11.3326 3.15106 9.50171 3.97222 7.8814C4.79339 6.26109 6.08564 4.92719 7.67909 4.05505Z"
|
|
35
|
+
fill="currentColor"
|
|
36
|
+
/>
|
|
37
|
+
<path
|
|
38
|
+
d="M7.4 13.2C7.84043 12.8697 8.46468 12.9576 8.79686 13.3958L8.8015 13.4018C8.80745 13.4093 8.81876 13.4234 8.83531 13.4431C8.86846 13.4826 8.92219 13.5442 8.99542 13.6206C9.14272 13.7743 9.36407 13.9828 9.65067 14.1913C10.2277 14.6109 11.0255 15 12 15C12.9745 15 13.7723 14.6109 14.3493 14.1913C14.6359 13.9828 14.8573 13.7743 15.0046 13.6206C15.0778 13.5442 15.1315 13.4826 15.1647 13.4431C15.1812 13.4234 15.1925 13.4093 15.1985 13.4018L15.2031 13.3958C15.5353 12.9576 16.1596 12.8697 16.6 13.2C17.0418 13.5314 17.1314 14.1582 16.8 14.6C15.9508 13.9631 15.9921 13.9941 16.8 14.6L16.799 14.6013L16.7978 14.6029L16.7951 14.6065L16.7879 14.6159L16.7666 14.6432C16.7493 14.6649 16.726 14.6938 16.6966 14.7288C16.638 14.7987 16.555 14.8933 16.4485 15.0044C16.2365 15.2257 15.9266 15.5172 15.5257 15.8087C14.7277 16.3891 13.5255 17 12 17C10.4745 17 9.27227 16.3891 8.47433 15.8087C8.07343 15.5172 7.76352 15.2257 7.55145 15.0044C7.445 14.8933 7.362 14.7987 7.30336 14.7288C7.274 14.6938 7.25065 14.6649 7.23341 14.6432L7.21211 14.6159L7.2049 14.6065L7.20216 14.6029L7.20101 14.6013C7.19952 14.5994 8.53552 13.5984 7.2 14.6C6.86863 14.1582 6.95817 13.5314 7.4 13.2Z"
|
|
39
|
+
fill="currentColor"
|
|
40
|
+
/>
|
|
41
|
+
<path
|
|
42
|
+
d="M8 9C8 8.44772 8.44772 8 9 8H9.01C9.56229 8 10.01 8.44772 10.01 9C10.01 9.55229 9.56229 10 9.01 10H9C8.44772 10 8 9.55229 8 9Z"
|
|
43
|
+
fill="currentColor"
|
|
44
|
+
/>
|
|
45
|
+
<path
|
|
46
|
+
fillRule="evenodd"
|
|
47
|
+
clipRule="evenodd"
|
|
48
|
+
d="M18.9492 1.68544C18.8136 1.27624 18.4311 1 18 1C17.5689 1 17.1864 1.27624 17.0508 1.68544L16.3711 3.73642C16.2717 4.03638 16.0364 4.2717 15.7364 4.3711L13.6854 5.05076C13.2762 5.18636 13 5.56892 13 6C13 6.43108 13.2762 6.81364 13.6854 6.94924L15.7364 7.6289C16.0364 7.7283 16.2717 7.96362 16.3711 8.26358L17.0508 10.3146C17.1864 10.7238 17.5689 11 18 11C18.4311 11 18.8136 10.7238 18.9492 10.3146L19.6289 8.26358C19.7283 7.96362 19.9636 7.7283 20.2636 7.6289L22.3146 6.94924C22.7238 6.81364 23 6.43108 23 6C23 5.56892 22.7238 5.18636 22.3146 5.05076L20.2636 4.3711C19.9636 4.2717 19.7283 4.03638 19.6289 3.73642L18.9492 1.68544ZM16.9559 6C17.3854 5.74447 17.7445 5.38537 18 4.95595C18.2555 5.38537 18.6146 5.74447 19.0441 6C18.6146 6.25554 18.2555 6.61463 18 7.04405C17.7445 6.61463 17.3854 6.25554 16.9559 6Z"
|
|
49
|
+
fill="currentColor"
|
|
50
|
+
/>
|
|
51
|
+
</svg>
|
|
52
|
+
)
|
|
53
|
+
})
|
|
54
|
+
|
|
55
|
+
SmileAiIcon.displayName = "SmileAiIcon"
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
// AllBlue - 理想之海
|
|
3
|
+
// Copyright (C) 2026 AllBlue Contributors
|
|
4
|
+
//
|
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
|
6
|
+
// it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
// (at your option) any later version.
|
|
9
|
+
//
|
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
// GNU Affero General Public License for more details.
|
|
14
|
+
//
|
|
15
|
+
// You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
|
|
18
|
+
import { memo } from "react"
|
|
19
|
+
|
|
20
|
+
type SvgProps = React.ComponentPropsWithoutRef<"svg">
|
|
21
|
+
|
|
22
|
+
export const SmilePlusIcon = memo(({ className, ...props }: SvgProps) => {
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
width="24"
|
|
26
|
+
height="24"
|
|
27
|
+
className={className}
|
|
28
|
+
viewBox="0 0 24 24"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<path
|
|
34
|
+
fillRule="evenodd"
|
|
35
|
+
clipRule="evenodd"
|
|
36
|
+
d="M7.67909 4.05505C9.27254 3.18292 11.0926 2.81337 12.9 2.995C13.4495 3.05022 13.9398 2.64952 13.995 2.1C14.0502 1.55048 13.6495 1.06024 13.1 1.00502C10.8909 0.783033 8.66641 1.2347 6.71886 2.30064C4.7713 3.36659 3.19189 4.99691 2.18824 6.97729C1.1846 8.95767 0.803706 11.1954 1.09564 13.3963C1.38758 15.5972 2.33867 17.6583 3.8239 19.3085C5.30912 20.9588 7.25894 22.121 9.41704 22.6423C11.5751 23.1637 13.8405 23.0198 15.9153 22.2296C17.9901 21.4394 19.7772 20.0398 21.0417 18.2149C22.3062 16.39 22.9889 14.2252 23 12.005L23 12V11C23 10.4477 22.5523 10 22 10C21.4477 10 21 10.4477 21 11V11.9976C20.9904 13.8132 20.4319 15.5834 19.3978 17.0758C18.3632 18.5689 16.901 19.714 15.2034 20.3605C13.5059 21.0071 11.6524 21.1248 9.8867 20.6982C8.12098 20.2717 6.52567 19.3208 5.31048 17.9706C4.0953 16.6204 3.31713 14.9341 3.07828 13.1333C2.83942 11.3326 3.15106 9.50171 3.97222 7.8814C4.79339 6.26109 6.08564 4.92719 7.67909 4.05505ZM7.4 13.2C7.84043 12.8697 8.46468 12.9576 8.79686 13.3958L8.8015 13.4018C8.80745 13.4093 8.81876 13.4234 8.83531 13.4431C8.86846 13.4826 8.92219 13.5442 8.99542 13.6206C9.14272 13.7743 9.36407 13.9828 9.65067 14.1913C10.2277 14.6109 11.0255 15 12 15C12.9745 15 13.7723 14.6109 14.3493 14.1913C14.6359 13.9828 14.8573 13.7743 15.0046 13.6206C15.0778 13.5442 15.1315 13.4826 15.1647 13.4431C15.1812 13.4234 15.1925 13.4093 15.1985 13.4018L15.2031 13.3958C15.5353 12.9576 16.1596 12.8697 16.6 13.2C17.0418 13.5314 17.1314 14.1582 16.8 14.6L16 14C16.8 14.6 16.7998 14.6003 16.7995 14.6006L16.799 14.6013L16.7978 14.6029L16.7951 14.6065L16.7879 14.6159L16.7666 14.6432C16.7493 14.6649 16.726 14.6938 16.6966 14.7288C16.638 14.7987 16.555 14.8933 16.4485 15.0044C16.2365 15.2257 15.9266 15.5172 15.5257 15.8087C14.7277 16.3891 13.5255 17 12 17C10.4745 17 9.27227 16.3891 8.47433 15.8087C8.07343 15.5172 7.76352 15.2257 7.55145 15.0044C7.445 14.8933 7.362 14.7987 7.30336 14.7288C7.274 14.6938 7.25065 14.6649 7.23341 14.6432L7.21211 14.6159L7.2049 14.6065L7.20216 14.6029L7.20101 14.6013L7.20048 14.6006C7.20024 14.6003 7.2 14.6 8 14L7.2 14.6C6.86863 14.1582 6.95817 13.5314 7.4 13.2ZM8 9C8 8.44772 8.44772 8 9 8H9.01C9.56229 8 10.01 8.44772 10.01 9C10.01 9.55229 9.56229 10 9.01 10H9C8.44772 10 8 9.55229 8 9ZM15 8C14.4477 8 14 8.44772 14 9C14 9.55229 14.4477 10 15 10H15.01C15.5623 10 16.01 9.55229 16.01 9C16.01 8.44772 15.5623 8 15.01 8H15ZM15 5C15 4.44772 15.4477 4 16 4H18V2C18 1.44772 18.4477 1 19 1C19.5523 1 20 1.44772 20 2V4H22C22.5523 4 23 4.44772 23 5C23 5.55228 22.5523 6 22 6H20V8C20 8.55228 19.5523 9 19 9C18.4477 9 18 8.55228 18 8V6H16C15.4477 6 15 5.55228 15 5Z"
|
|
37
|
+
fill="currentColor"
|
|
38
|
+
/>
|
|
39
|
+
</svg>
|
|
40
|
+
)
|
|
41
|
+
})
|
|
42
|
+
|
|
43
|
+
SmilePlusIcon.displayName = "SmilePlusIcon"
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
// AllBlue - 理想之海
|
|
3
|
+
// Copyright (C) 2026 AllBlue Contributors
|
|
4
|
+
//
|
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
|
6
|
+
// it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
// (at your option) any later version.
|
|
9
|
+
//
|
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
// GNU Affero General Public License for more details.
|
|
14
|
+
//
|
|
15
|
+
// You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
|
|
18
|
+
import { memo } from "react"
|
|
19
|
+
|
|
20
|
+
type SvgProps = React.ComponentPropsWithoutRef<"svg">
|
|
21
|
+
|
|
22
|
+
export const SquareXIcon = memo(({ className, ...props }: SvgProps) => {
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
width="24"
|
|
26
|
+
height="24"
|
|
27
|
+
className={className}
|
|
28
|
+
viewBox="0 0 24 24"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<path
|
|
34
|
+
fillRule="evenodd"
|
|
35
|
+
clipRule="evenodd"
|
|
36
|
+
d="M5 4C4.44772 4 4 4.44772 4 5V19C4 19.5523 4.44772 20 5 20H19C19.5523 20 20 19.5523 20 19V5C20 4.44772 19.5523 4 19 4H5ZM2 5C2 3.34315 3.34315 2 5 2H19C20.6569 2 22 3.34315 22 5V19C22 20.6569 20.6569 22 19 22H5C3.34315 22 2 20.6569 2 19V5ZM15.7071 8.29289C16.0976 8.68342 16.0976 9.31658 15.7071 9.70711L13.4142 12L15.7071 14.2929C16.0976 14.6834 16.0976 15.3166 15.7071 15.7071C15.3166 16.0976 14.6834 16.0976 14.2929 15.7071L12 13.4142L9.70711 15.7071C9.31658 16.0976 8.68342 16.0976 8.29289 15.7071C7.90237 15.3166 7.90237 14.6834 8.29289 14.2929L10.5858 12L8.29289 9.70711C7.90237 9.31658 7.90237 8.68342 8.29289 8.29289C8.68342 7.90237 9.31658 7.90237 9.70711 8.29289L12 10.5858L14.2929 8.29289C14.6834 7.90237 15.3166 7.90237 15.7071 8.29289Z"
|
|
37
|
+
fill="currentColor"
|
|
38
|
+
/>
|
|
39
|
+
</svg>
|
|
40
|
+
)
|
|
41
|
+
})
|
|
42
|
+
|
|
43
|
+
SquareXIcon.displayName = "SquareXIcon"
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
// AllBlue - 理想之海
|
|
3
|
+
// Copyright (C) 2026 AllBlue Contributors
|
|
4
|
+
//
|
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
|
6
|
+
// it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
// (at your option) any later version.
|
|
9
|
+
//
|
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
// GNU Affero General Public License for more details.
|
|
14
|
+
//
|
|
15
|
+
// You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
|
|
18
|
+
import { memo } from "react"
|
|
19
|
+
|
|
20
|
+
type SvgProps = React.ComponentPropsWithoutRef<"svg">
|
|
21
|
+
|
|
22
|
+
export const StopCircle2Icon = memo(({ className, ...props }: SvgProps) => {
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
width="24"
|
|
26
|
+
height="24"
|
|
27
|
+
className={className}
|
|
28
|
+
viewBox="0 0 24 24"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<path
|
|
34
|
+
fillRule="evenodd"
|
|
35
|
+
clipRule="evenodd"
|
|
36
|
+
d="M1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12ZM8 9C8 8.44772 8.44772 8 9 8H15C15.5523 8 16 8.44772 16 9V15C16 15.5523 15.5523 16 15 16H9C8.44772 16 8 15.5523 8 15V9Z"
|
|
37
|
+
fill="currentColor"
|
|
38
|
+
/>
|
|
39
|
+
</svg>
|
|
40
|
+
)
|
|
41
|
+
})
|
|
42
|
+
|
|
43
|
+
StopCircle2Icon.displayName = "StopCircle2Icon"
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
// AllBlue - 理想之海
|
|
3
|
+
// Copyright (C) 2026 AllBlue Contributors
|
|
4
|
+
//
|
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
|
6
|
+
// it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
// (at your option) any later version.
|
|
9
|
+
//
|
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
// GNU Affero General Public License for more details.
|
|
14
|
+
//
|
|
15
|
+
// You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
|
|
18
|
+
import { memo } from "react"
|
|
19
|
+
|
|
20
|
+
type SvgProps = React.ComponentPropsWithoutRef<"svg">
|
|
21
|
+
|
|
22
|
+
export const StrikeIcon = memo(({ className, ...props }: SvgProps) => {
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
width="24"
|
|
26
|
+
height="24"
|
|
27
|
+
className={className}
|
|
28
|
+
viewBox="0 0 24 24"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<path
|
|
34
|
+
d="M9.00039 3H16.0001C16.5524 3 17.0001 3.44772 17.0001 4C17.0001 4.55229 16.5524 5 16.0001 5H9.00011C8.68006 4.99983 8.36412 5.07648 8.07983 5.22349C7.79555 5.37051 7.55069 5.5836 7.36585 5.84487C7.181 6.10614 7.06155 6.40796 7.01754 6.72497C6.97352 7.04198 7.00623 7.36492 7.11292 7.66667C7.29701 8.18737 7.02414 8.75872 6.50344 8.94281C5.98274 9.1269 5.4114 8.85403 5.2273 8.33333C5.01393 7.72984 4.94851 7.08396 5.03654 6.44994C5.12456 5.81592 5.36346 5.21229 5.73316 4.68974C6.10285 4.1672 6.59256 3.74101 7.16113 3.44698C7.72955 3.15303 8.36047 2.99975 9.00039 3Z"
|
|
35
|
+
fill="currentColor"
|
|
36
|
+
/>
|
|
37
|
+
<path
|
|
38
|
+
d="M18 13H20C20.5523 13 21 12.5523 21 12C21 11.4477 20.5523 11 20 11H4C3.44772 11 3 11.4477 3 12C3 12.5523 3.44772 13 4 13H14C14.7956 13 15.5587 13.3161 16.1213 13.8787C16.6839 14.4413 17 15.2044 17 16C17 16.7956 16.6839 17.5587 16.1213 18.1213C15.5587 18.6839 14.7956 19 14 19H6C5.44772 19 5 19.4477 5 20C5 20.5523 5.44772 21 6 21H14C15.3261 21 16.5979 20.4732 17.5355 19.5355C18.4732 18.5979 19 17.3261 19 16C19 14.9119 18.6453 13.8604 18 13Z"
|
|
39
|
+
fill="currentColor"
|
|
40
|
+
/>
|
|
41
|
+
</svg>
|
|
42
|
+
)
|
|
43
|
+
})
|
|
44
|
+
|
|
45
|
+
StrikeIcon.displayName = "StrikeIcon"
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
// AllBlue - 理想之海
|
|
3
|
+
// Copyright (C) 2026 AllBlue Contributors
|
|
4
|
+
//
|
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
|
6
|
+
// it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
// (at your option) any later version.
|
|
9
|
+
//
|
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
// GNU Affero General Public License for more details.
|
|
14
|
+
//
|
|
15
|
+
// You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
|
|
18
|
+
import { memo } from "react"
|
|
19
|
+
|
|
20
|
+
type SvgProps = React.ComponentPropsWithoutRef<"svg">
|
|
21
|
+
|
|
22
|
+
export const SubscriptIcon = memo(({ className, ...props }: SvgProps) => {
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
width="24"
|
|
26
|
+
height="24"
|
|
27
|
+
className={className}
|
|
28
|
+
viewBox="0 0 24 24"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<path
|
|
34
|
+
fillRule="evenodd"
|
|
35
|
+
clipRule="evenodd"
|
|
36
|
+
d="M3.29289 7.29289C3.68342 6.90237 4.31658 6.90237 4.70711 7.29289L12.7071 15.2929C13.0976 15.6834 13.0976 16.3166 12.7071 16.7071C12.3166 17.0976 11.6834 17.0976 11.2929 16.7071L3.29289 8.70711C2.90237 8.31658 2.90237 7.68342 3.29289 7.29289Z"
|
|
37
|
+
fill="currentColor"
|
|
38
|
+
/>
|
|
39
|
+
<path
|
|
40
|
+
fillRule="evenodd"
|
|
41
|
+
clipRule="evenodd"
|
|
42
|
+
d="M12.7071 7.29289C13.0976 7.68342 13.0976 8.31658 12.7071 8.70711L4.70711 16.7071C4.31658 17.0976 3.68342 17.0976 3.29289 16.7071C2.90237 16.3166 2.90237 15.6834 3.29289 15.2929L11.2929 7.29289C11.6834 6.90237 12.3166 6.90237 12.7071 7.29289Z"
|
|
43
|
+
fill="currentColor"
|
|
44
|
+
/>
|
|
45
|
+
<path
|
|
46
|
+
fillRule="evenodd"
|
|
47
|
+
clipRule="evenodd"
|
|
48
|
+
d="M17.4079 14.3995C18.0284 14.0487 18.7506 13.9217 19.4536 14.0397C20.1566 14.1578 20.7977 14.5138 21.2696 15.0481L21.2779 15.0574L21.2778 15.0575C21.7439 15.5988 22 16.2903 22 17C22 18.0823 21.3962 18.8401 20.7744 19.3404C20.194 19.8073 19.4858 20.141 18.9828 20.378C18.9638 20.387 18.9451 20.3958 18.9266 20.4045C18.4473 20.6306 18.2804 20.7817 18.1922 20.918C18.1773 20.9412 18.1619 20.9681 18.1467 21H21C21.5523 21 22 21.4477 22 22C22 22.5523 21.5523 23 21 23H17C16.4477 23 16 22.5523 16 22C16 21.1708 16.1176 20.4431 16.5128 19.832C16.9096 19.2184 17.4928 18.8695 18.0734 18.5956C18.6279 18.334 19.138 18.0901 19.5207 17.7821C19.8838 17.49 20 17.2477 20 17C20 16.7718 19.9176 16.5452 19.7663 16.3672C19.5983 16.1792 19.3712 16.0539 19.1224 16.0121C18.8722 15.9701 18.6152 16.015 18.3942 16.1394C18.1794 16.2628 18.0205 16.4549 17.9422 16.675C17.7572 17.1954 17.1854 17.4673 16.665 17.2822C16.1446 17.0972 15.8728 16.5254 16.0578 16.005C16.2993 15.3259 16.7797 14.7584 17.4039 14.4018L17.4079 14.3995L17.4079 14.3995Z"
|
|
49
|
+
fill="currentColor"
|
|
50
|
+
/>
|
|
51
|
+
</svg>
|
|
52
|
+
)
|
|
53
|
+
})
|
|
54
|
+
|
|
55
|
+
SubscriptIcon.displayName = "SubscriptIcon"
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
// AllBlue - 理想之海
|
|
3
|
+
// Copyright (C) 2026 AllBlue Contributors
|
|
4
|
+
//
|
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
|
6
|
+
// it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
// (at your option) any later version.
|
|
9
|
+
//
|
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
// GNU Affero General Public License for more details.
|
|
14
|
+
//
|
|
15
|
+
// You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
|
|
18
|
+
import { memo } from "react"
|
|
19
|
+
|
|
20
|
+
type SvgProps = React.ComponentPropsWithoutRef<"svg">
|
|
21
|
+
|
|
22
|
+
export const SummarizeTextIcon = memo(({ className, ...props }: SvgProps) => {
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
width="24"
|
|
26
|
+
height="24"
|
|
27
|
+
className={className}
|
|
28
|
+
viewBox="0 0 24 24"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<path
|
|
34
|
+
d="M3 2C2.44772 2 2 2.44772 2 3C2 3.55228 2.44772 4 3 4H4C4.26522 4 4.51957 4.10536 4.70711 4.29289C4.89464 4.48043 5 4.73478 5 5V10C5 10.7406 5.27387 11.453 5.76552 12.0018C5.28986 12.533 5 13.2337 5 14V19C5 19.2652 4.89464 19.5196 4.70711 19.7071C4.51957 19.8946 4.26522 20 4 20H3C2.44772 20 2 20.4477 2 21C2 21.5523 2.44772 22 3 22H4C4.79565 22 5.55871 21.6839 6.12132 21.1213C6.68393 20.5587 7 19.7957 7 19V14C7 13.4523 7.45228 13 8 13C8.55228 13 9 12.5523 9 12C9 11.4477 8.55228 11 8 11C7.73478 11 7.48043 10.8946 7.29289 10.7071C7.10536 10.5196 7 10.2652 7 10V5C7 4.20435 6.68393 3.44129 6.12132 2.87868C5.55871 2.31607 4.79565 2 4 2H3Z"
|
|
35
|
+
fill="currentColor"
|
|
36
|
+
/>
|
|
37
|
+
<path
|
|
38
|
+
d="M11 6C10.4477 6 10 6.44772 10 7C10 7.55228 10.4477 8 11 8L21 8C21.5523 8 22 7.55229 22 7C22 6.44772 21.5523 6 21 6L11 6Z"
|
|
39
|
+
fill="currentColor"
|
|
40
|
+
/>
|
|
41
|
+
<path
|
|
42
|
+
d="M14 12C14 11.4477 14.4477 11 15 11L21 11C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13L15 13C14.4477 13 14 12.5523 14 12Z"
|
|
43
|
+
fill="currentColor"
|
|
44
|
+
/>
|
|
45
|
+
<path
|
|
46
|
+
d="M11 16C10.4477 16 10 16.4477 10 17C10 17.5523 10.4477 18 11 18L21 18C21.5523 18 22 17.5523 22 17C22 16.4477 21.5523 16 21 16L11 16Z"
|
|
47
|
+
fill="currentColor"
|
|
48
|
+
/>
|
|
49
|
+
</svg>
|
|
50
|
+
)
|
|
51
|
+
})
|
|
52
|
+
|
|
53
|
+
SummarizeTextIcon.displayName = "SummarizeTextIcon"
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
// AllBlue - 理想之海
|
|
3
|
+
// Copyright (C) 2026 AllBlue Contributors
|
|
4
|
+
//
|
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
|
6
|
+
// it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
// (at your option) any later version.
|
|
9
|
+
//
|
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
// GNU Affero General Public License for more details.
|
|
14
|
+
//
|
|
15
|
+
// You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
|
|
18
|
+
import { memo } from "react"
|
|
19
|
+
|
|
20
|
+
type SvgProps = React.ComponentPropsWithoutRef<"svg">
|
|
21
|
+
|
|
22
|
+
export const SunIcon = memo(({ className, ...props }: SvgProps) => {
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
width="24"
|
|
26
|
+
height="24"
|
|
27
|
+
className={className}
|
|
28
|
+
viewBox="0 0 24 24"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<path
|
|
34
|
+
d="M12 1C12.5523 1 13 1.44772 13 2V4C13 4.55228 12.5523 5 12 5C11.4477 5 11 4.55228 11 4V2C11 1.44772 11.4477 1 12 1Z"
|
|
35
|
+
fill="currentColor"
|
|
36
|
+
/>
|
|
37
|
+
<path
|
|
38
|
+
fillRule="evenodd"
|
|
39
|
+
clipRule="evenodd"
|
|
40
|
+
d="M7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12ZM12 9C10.3431 9 9 10.3431 9 12C9 13.6569 10.3431 15 12 15C13.6569 15 15 13.6569 15 12C15 10.3431 13.6569 9 12 9Z"
|
|
41
|
+
fill="currentColor"
|
|
42
|
+
/>
|
|
43
|
+
<path
|
|
44
|
+
d="M13 20C13 19.4477 12.5523 19 12 19C11.4477 19 11 19.4477 11 20V22C11 22.5523 11.4477 23 12 23C12.5523 23 13 22.5523 13 22V20Z"
|
|
45
|
+
fill="currentColor"
|
|
46
|
+
/>
|
|
47
|
+
<path
|
|
48
|
+
d="M4.22282 4.22289C4.61335 3.83236 5.24651 3.83236 5.63704 4.22289L7.04704 5.63289C7.43756 6.02341 7.43756 6.65658 7.04704 7.0471C6.65651 7.43762 6.02335 7.43762 5.63283 7.0471L4.22282 5.6371C3.8323 5.24658 3.8323 4.61341 4.22282 4.22289Z"
|
|
49
|
+
fill="currentColor"
|
|
50
|
+
/>
|
|
51
|
+
<path
|
|
52
|
+
d="M18.367 16.9529C17.9765 16.5623 17.3433 16.5623 16.9528 16.9529C16.5623 17.3434 16.5623 17.9766 16.9528 18.3671L18.3628 19.7771C18.7533 20.1676 19.3865 20.1676 19.777 19.7771C20.1675 19.3866 20.1675 18.7534 19.777 18.3629L18.367 16.9529Z"
|
|
53
|
+
fill="currentColor"
|
|
54
|
+
/>
|
|
55
|
+
<path
|
|
56
|
+
d="M1 12C1 11.4477 1.44772 11 2 11H4C4.55228 11 5 11.4477 5 12C5 12.5523 4.55228 13 4 13H2C1.44772 13 1 12.5523 1 12Z"
|
|
57
|
+
fill="currentColor"
|
|
58
|
+
/>
|
|
59
|
+
<path
|
|
60
|
+
d="M20 11C19.4477 11 19 11.4477 19 12C19 12.5523 19.4477 13 20 13H22C22.5523 13 23 12.5523 23 12C23 11.4477 22.5523 11 22 11H20Z"
|
|
61
|
+
fill="currentColor"
|
|
62
|
+
/>
|
|
63
|
+
<path
|
|
64
|
+
d="M7.04704 16.9529C7.43756 17.3434 7.43756 17.9766 7.04704 18.3671L5.63704 19.7771C5.24651 20.1676 4.61335 20.1676 4.22282 19.7771C3.8323 19.3866 3.8323 18.7534 4.22283 18.3629L5.63283 16.9529C6.02335 16.5623 6.65651 16.5623 7.04704 16.9529Z"
|
|
65
|
+
fill="currentColor"
|
|
66
|
+
/>
|
|
67
|
+
<path
|
|
68
|
+
d="M19.777 5.6371C20.1675 5.24657 20.1675 4.61341 19.777 4.22289C19.3865 3.83236 18.7533 3.83236 18.3628 4.22289L16.9528 5.63289C16.5623 6.02341 16.5623 6.65658 16.9528 7.0471C17.3433 7.43762 17.9765 7.43762 18.367 7.0471L19.777 5.6371Z"
|
|
69
|
+
fill="currentColor"
|
|
70
|
+
/>
|
|
71
|
+
</svg>
|
|
72
|
+
)
|
|
73
|
+
})
|
|
74
|
+
|
|
75
|
+
SunIcon.displayName = "SunIcon"
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
// AllBlue - 理想之海
|
|
3
|
+
// Copyright (C) 2026 AllBlue Contributors
|
|
4
|
+
//
|
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
|
6
|
+
// it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
// (at your option) any later version.
|
|
9
|
+
//
|
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
// GNU Affero General Public License for more details.
|
|
14
|
+
//
|
|
15
|
+
// You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
|
|
18
|
+
import { memo } from "react"
|
|
19
|
+
|
|
20
|
+
type SvgProps = React.ComponentPropsWithoutRef<"svg">
|
|
21
|
+
|
|
22
|
+
export const SuperscriptIcon = memo(({ className, ...props }: SvgProps) => {
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
width="24"
|
|
26
|
+
height="24"
|
|
27
|
+
className={className}
|
|
28
|
+
viewBox="0 0 24 24"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<path
|
|
34
|
+
fillRule="evenodd"
|
|
35
|
+
clipRule="evenodd"
|
|
36
|
+
d="M12.7071 7.29289C13.0976 7.68342 13.0976 8.31658 12.7071 8.70711L4.70711 16.7071C4.31658 17.0976 3.68342 17.0976 3.29289 16.7071C2.90237 16.3166 2.90237 15.6834 3.29289 15.2929L11.2929 7.29289C11.6834 6.90237 12.3166 6.90237 12.7071 7.29289Z"
|
|
37
|
+
fill="currentColor"
|
|
38
|
+
/>
|
|
39
|
+
<path
|
|
40
|
+
fillRule="evenodd"
|
|
41
|
+
clipRule="evenodd"
|
|
42
|
+
d="M3.29289 7.29289C3.68342 6.90237 4.31658 6.90237 4.70711 7.29289L12.7071 15.2929C13.0976 15.6834 13.0976 16.3166 12.7071 16.7071C12.3166 17.0976 11.6834 17.0976 11.2929 16.7071L3.29289 8.70711C2.90237 8.31658 2.90237 7.68342 3.29289 7.29289Z"
|
|
43
|
+
fill="currentColor"
|
|
44
|
+
/>
|
|
45
|
+
<path
|
|
46
|
+
fillRule="evenodd"
|
|
47
|
+
clipRule="evenodd"
|
|
48
|
+
d="M17.405 1.40657C18.0246 1.05456 18.7463 0.92634 19.4492 1.04344C20.1521 1.16054 20.7933 1.51583 21.2652 2.0497L21.2697 2.05469L21.2696 2.05471C21.7431 2.5975 22 3.28922 22 4.00203C22 5.08579 21.3952 5.84326 20.7727 6.34289C20.1966 6.80531 19.4941 7.13675 18.9941 7.37261C18.9714 7.38332 18.9491 7.39383 18.9273 7.40415C18.4487 7.63034 18.2814 7.78152 18.1927 7.91844C18.1778 7.94155 18.1625 7.96834 18.1473 8.00003H21C21.5523 8.00003 22 8.44774 22 9.00003C22 9.55231 21.5523 10 21 10H17C16.4477 10 16 9.55231 16 9.00003C16 8.17007 16.1183 7.44255 16.5138 6.83161C16.9107 6.21854 17.4934 5.86971 18.0728 5.59591C18.6281 5.33347 19.1376 5.09075 19.5208 4.78316C19.8838 4.49179 20 4.25026 20 4.00203C20 3.77192 19.9178 3.54865 19.7646 3.37182C19.5968 3.18324 19.3696 3.05774 19.1205 3.01625C18.8705 2.97459 18.6137 3.02017 18.3933 3.14533C18.1762 3.26898 18.0191 3.45826 17.9406 3.67557C17.7531 4.19504 17.18 4.46414 16.6605 4.27662C16.141 4.0891 15.8719 3.51596 16.0594 2.99649C16.303 2.3219 16.7817 1.76125 17.4045 1.40689L17.405 1.40657Z"
|
|
49
|
+
fill="currentColor"
|
|
50
|
+
/>
|
|
51
|
+
</svg>
|
|
52
|
+
)
|
|
53
|
+
})
|
|
54
|
+
|
|
55
|
+
SuperscriptIcon.displayName = "SuperscriptIcon"
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
2
|
+
// AllBlue - 理想之海
|
|
3
|
+
// Copyright (C) 2026 AllBlue Contributors
|
|
4
|
+
//
|
|
5
|
+
// This program is free software: you can redistribute it and/or modify
|
|
6
|
+
// it under the terms of the GNU Affero General Public License as published by
|
|
7
|
+
// the Free Software Foundation, either version 3 of the License, or
|
|
8
|
+
// (at your option) any later version.
|
|
9
|
+
//
|
|
10
|
+
// This program is distributed in the hope that it will be useful,
|
|
11
|
+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
// GNU Affero General Public License for more details.
|
|
14
|
+
//
|
|
15
|
+
// You should have received a copy of the GNU Affero General Public License
|
|
16
|
+
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
17
|
+
|
|
18
|
+
import { memo } from "react"
|
|
19
|
+
|
|
20
|
+
type SvgProps = React.ComponentPropsWithoutRef<"svg">
|
|
21
|
+
|
|
22
|
+
export const TableCellMergeIcon = memo(({ className, ...props }: SvgProps) => {
|
|
23
|
+
return (
|
|
24
|
+
<svg
|
|
25
|
+
width="24"
|
|
26
|
+
height="24"
|
|
27
|
+
className={className}
|
|
28
|
+
viewBox="0 0 24 24"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
31
|
+
{...props}
|
|
32
|
+
>
|
|
33
|
+
<path
|
|
34
|
+
d="M10 16C10.5177 16 10.9438 16.3933 10.9951 16.8975L11 17V19C11 20.6569 9.65685 22 8 22H4C2.34315 22 1 20.6569 1 19V17C1 16.4477 1.44772 16 2 16C2.55228 16 3 16.4477 3 17V19C3 19.5523 3.44772 20 4 20H8C8.55228 20 9 19.5523 9 19V17L9.00488 16.8975C9.05621 16.3933 9.48232 16 10 16Z"
|
|
35
|
+
fill="currentColor"
|
|
36
|
+
/>
|
|
37
|
+
<path
|
|
38
|
+
d="M22 16C22.5177 16 22.9438 16.3933 22.9951 16.8975L23 17V19C23 20.6569 21.6569 22 20 22H16C14.3431 22 13 20.6569 13 19V17C13 16.4477 13.4477 16 14 16C14.5523 16 15 16.4477 15 17V19C15 19.5523 15.4477 20 16 20H20C20.5523 20 21 19.5523 21 19V17L21.0049 16.8975C21.0562 16.3933 21.4823 16 22 16Z"
|
|
39
|
+
fill="currentColor"
|
|
40
|
+
/>
|
|
41
|
+
<path
|
|
42
|
+
d="M5.29297 8.29297C5.68349 7.90244 6.31651 7.90244 6.70703 8.29297L9.70703 11.293L9.77539 11.3691C10.0957 11.7619 10.0731 12.3409 9.70703 12.707L6.70703 15.707C6.31651 16.0975 5.68349 16.0975 5.29297 15.707C4.90245 15.3165 4.90245 14.6835 5.29297 14.293L6.58594 13H3C2.44772 13 2 12.5523 2 12C2 11.4477 2.44772 11 3 11H6.58594L5.29297 9.70703C4.90245 9.31651 4.90245 8.68349 5.29297 8.29297Z"
|
|
43
|
+
fill="currentColor"
|
|
44
|
+
/>
|
|
45
|
+
<path
|
|
46
|
+
d="M17.293 8.29297C17.6835 7.90245 18.3165 7.90246 18.707 8.29297C19.0976 8.68349 19.0976 9.31651 18.707 9.70703L17.4141 11H21C21.5523 11 22 11.4477 22 12C22 12.5523 21.5523 13 21 13H17.4141L18.707 14.293C19.0976 14.6835 19.0976 15.3165 18.707 15.707C18.3165 16.0976 17.6835 16.0976 17.293 15.707L14.293 12.707L14.2246 12.6309C13.9043 12.2381 13.9269 11.6591 14.293 11.293L17.293 8.29297Z"
|
|
47
|
+
fill="currentColor"
|
|
48
|
+
/>
|
|
49
|
+
<path
|
|
50
|
+
d="M8 2C9.65685 2 11 3.34315 11 5V7C11 7.55228 10.5523 8 10 8C9.44771 8 9 7.55228 9 7V5C9 4.44772 8.55228 4 8 4H4C3.44772 4 3 4.44772 3 5V7C3 7.55228 2.55228 8 2 8C1.44772 8 1 7.55228 1 7V5C1 3.34315 2.34315 2 4 2H8Z"
|
|
51
|
+
fill="currentColor"
|
|
52
|
+
/>
|
|
53
|
+
<path
|
|
54
|
+
d="M20 2C21.6569 2 23 3.34315 23 5V7C23 7.55228 22.5523 8 22 8C21.4477 8 21 7.55228 21 7V5C21 4.44772 20.5523 4 20 4H16C15.4477 4 15 4.44772 15 5V7C15 7.55228 14.5523 8 14 8C13.4477 8 13 7.55228 13 7V5C13 3.34315 14.3431 2 16 2H20Z"
|
|
55
|
+
fill="currentColor"
|
|
56
|
+
/>
|
|
57
|
+
</svg>
|
|
58
|
+
)
|
|
59
|
+
})
|
|
60
|
+
|
|
61
|
+
TableCellMergeIcon.displayName = "TableCellMergeIcon"
|