@allbluecn/web-app 0.9.5 → 0.10.2
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 +9 -8
- package/public/favicon.ico +0 -0
- package/src/__tests__/paraglide.test.ts +43 -0
- package/src/__tests__/setup.ts +27 -9
- package/src/assets/illustrations/empty-states/workspace-empty.svg +5 -0
- package/src/assets/illustrations/knowledge/law-card-illustration.svg +5 -0
- package/src/assets/logo/logo.tsx +53 -36
- package/src/components/agents/agent-card.tsx +7 -7
- package/src/components/agents/agent-form-dialog.tsx +41 -42
- package/src/components/agents/agent-selector.tsx +6 -8
- package/src/components/agents/agents-page.tsx +26 -28
- package/src/components/agents/skill-card.tsx +1 -4
- package/src/components/agents/skill-form-dialog.tsx +19 -21
- package/src/components/agents/slash-skill-menu.tsx +5 -7
- package/src/components/agents/use-agent-handlers.ts +5 -8
- package/src/components/ai/ai-chat-prompt.tsx +26 -33
- package/src/components/ai/global-chat-panel.tsx +10 -11
- package/src/components/ai/use-knowledge-bases.ts +2 -2
- package/src/components/anyhub/anyhub-app-card.tsx +13 -15
- package/src/components/anyhub/anyhub-app-runner.tsx +5 -7
- package/src/components/anyhub/anyhub-install-dialog.tsx +16 -18
- package/src/components/anyhub/anyhub-management-view.tsx +9 -11
- package/src/components/anyhub/anyhub-marketplace-view.tsx +14 -17
- package/src/components/anyhub/anyhub-permission-panel.tsx +8 -11
- package/src/components/anyhub/anyhub-provider.tsx +0 -1
- package/src/components/anyhub/anyhub-top-nav.tsx +5 -8
- package/src/components/auth/auth-header.tsx +2 -2
- package/src/components/auth/icon-input.tsx +0 -1
- package/src/components/auth/oauth-section.tsx +3 -5
- package/src/components/auth/password-input.tsx +2 -4
- package/src/components/auth/session-guard.tsx +0 -1
- package/src/components/auth/sso-section.tsx +3 -4
- package/src/components/billing/__tests__/seats-manager.test.tsx +5 -9
- package/src/components/billing/billing-panel.tsx +5 -6
- package/src/components/billing/checkout-redirect.ts +6 -10
- package/src/components/billing/feature-gate.tsx +2 -3
- package/src/components/billing/invoice-history.tsx +9 -11
- package/src/components/billing/login-prompt-dialog.tsx +10 -11
- package/src/components/billing/pricing-card.tsx +6 -7
- package/src/components/billing/pricing-page.tsx +4 -5
- package/src/components/billing/seats-manager.tsx +19 -20
- package/src/components/billing/subscription-card.tsx +13 -14
- package/src/components/billing/upgrade-prompt.tsx +11 -13
- package/src/components/changelog/changelog-page.tsx +36 -26
- package/src/components/chat/ai-chat-history/components/conversation-header.tsx +4 -5
- package/src/components/chat/ai-chat-history/components/conversation-item.tsx +15 -17
- package/src/components/chat/ai-chat-history/components/conversation-search.tsx +3 -4
- package/src/components/chat/ai-chat-history/components/empty-state.tsx +5 -6
- package/src/components/chat/ai-chat-history/index.tsx +11 -15
- package/src/components/chat/ai-chat-history/utils/group-conversations.ts +9 -2
- package/src/components/chat/ai-citations/components/citation-item.tsx +3 -5
- package/src/components/chat/ai-citations/components/citations-list.tsx +4 -6
- package/src/components/chat/ai-citations/components/inline-citation.tsx +2 -4
- package/src/components/chat/ai-citations/components/source-components.tsx +6 -10
- package/src/components/chat/ai-citations/index.tsx +3 -4
- package/src/components/chat/ai-citations/utils.ts +15 -3
- package/src/components/chat/ai-conversation.tsx +10 -12
- package/src/components/chat/ai-message/components/message-actions.tsx +7 -9
- package/src/components/chat/ai-message/components/streaming-indicator.tsx +3 -4
- package/src/components/chat/ai-message/index.tsx +5 -5
- package/src/components/chat/ai-message/utils/dom-utils.ts +1 -1
- package/src/components/chat/ai-prompt-input/components/action-buttons.tsx +14 -16
- package/src/components/chat/ai-prompt-input/components/agent-mode-select.tsx +10 -5
- package/src/components/chat/ai-prompt-input/components/context-badge.tsx +2 -3
- package/src/components/chat/ai-prompt-input/components/kb-context-selector.tsx +6 -8
- package/src/components/chat/ai-prompt-input/components/model-select.tsx +14 -7
- package/src/components/chat/ai-prompt-input/components/page-user-context-selector.tsx +6 -8
- package/src/components/chat/ai-prompt-input/index.tsx +18 -11
- package/src/components/chat/ai-prompt-input/types.ts +6 -5
- package/src/components/chat/ai-thinking.tsx +6 -9
- package/src/components/chat/chat-thread-page.tsx +4 -5
- package/src/components/chat/interrupt-approval.tsx +6 -8
- package/src/components/command/command-palette.tsx +7 -10
- package/src/components/design/project-card.tsx +2 -3
- package/src/components/design/sketch/code-preview.tsx +3 -4
- package/src/components/design/sketch/export-panel.tsx +3 -4
- package/src/components/design/sketch/property-panel.tsx +16 -17
- package/src/components/error/global-error-boundary.tsx +65 -0
- package/src/components/forms/app-array-field.tsx +3 -4
- package/src/components/forms/app-combobox.tsx +2 -3
- package/src/components/forms/app-date-picker.tsx +2 -3
- package/src/components/forms/app-form-dialog.tsx +3 -4
- package/src/components/forms/app-select.tsx +2 -3
- package/src/components/forms/hooks/use-form-submit.ts +2 -2
- package/src/components/forms/schemas/common.ts +4 -6
- package/src/components/hotkeys/shortcuts-panel.tsx +2 -3
- package/src/components/iteration/auto-schedule-dialog.tsx +12 -13
- package/src/components/iteration/burndown-chart.tsx +6 -8
- package/src/components/iteration/constants.ts +5 -4
- package/src/components/iteration/create-iteration-dialog.tsx +14 -15
- package/src/components/iteration/iteration-card.tsx +3 -4
- package/src/components/iteration/iteration-editor.tsx +7 -8
- package/src/components/iteration/iteration-progress-bar.tsx +3 -5
- package/src/components/iteration/iteration-status-badge.tsx +1 -3
- package/src/components/kibo-ui/contribution-graph/index.tsx +37 -9
- package/src/components/knowledge/dialog/knowledge-form-dialog.tsx +8 -9
- package/src/components/knowledge/doc-properties.tsx +12 -13
- package/src/components/knowledge/editor/doc-header.tsx +7 -8
- package/src/components/knowledge/editor/knowledge-doc-editor.tsx +9 -9
- package/src/components/knowledge/knowledge-homepage.tsx +6 -7
- package/src/components/knowledge/knowledge-tag-input.tsx +3 -4
- package/src/components/knowledge/knowledge-toolbar.tsx +38 -40
- package/src/components/knowledge/knowledge-tree-item.tsx +21 -22
- package/src/components/knowledge/knowledge-tree.tsx +15 -16
- package/src/components/knowledge-public/bookmark-card.tsx +13 -14
- package/src/components/knowledge-public/bookmark-form-dialog.tsx +25 -26
- package/src/components/knowledge-public/knowledge-card-grid.tsx +3 -3
- package/src/components/knowledge-public/knowledge-filters.tsx +9 -10
- package/src/components/knowledge-public/knowledge-form-dialog.tsx +62 -63
- package/src/components/knowledge-public/knowledge-search-bar.tsx +3 -4
- package/src/components/knowledge-public/legal-compliance-editor.tsx +30 -31
- package/src/components/knowledge-public/markdown-editor.tsx +3 -4
- package/src/components/knowledge-public/markdown-view.tsx +2 -3
- package/src/components/knowledge-public/sharers-avatar-group.tsx +3 -4
- package/src/components/knowledge-public/tag-filter.tsx +3 -4
- package/src/components/layout/sidebar-03/__tests__/nav-workspace.test.tsx +42 -79
- package/src/components/layout/sidebar-03/__tests__/user-menu-anonymous.test.tsx +51 -0
- package/src/components/layout/sidebar-03/app-sidebar.tsx +3 -4
- package/src/components/layout/sidebar-03/index.tsx +0 -1
- package/src/components/layout/sidebar-03/nav-anyhub.tsx +4 -5
- package/src/components/layout/sidebar-03/nav-knowledge.tsx +80 -37
- package/src/components/layout/sidebar-03/nav-main.tsx +10 -12
- package/src/components/layout/sidebar-03/nav-notifications.tsx +19 -28
- package/src/components/layout/sidebar-03/nav-search-trigger.tsx +3 -5
- package/src/components/layout/sidebar-03/nav-workspace.tsx +32 -12
- package/src/components/layout/sidebar-03/team-switcher.tsx +0 -1
- package/src/components/layout/sidebar-03/user-menu.tsx +33 -13
- package/src/components/magicui/components/animate/avatar-group.tsx +0 -1
- package/src/components/magicui/primitives/animate/avatar-group.tsx +0 -1
- package/src/components/magicui/primitives/animate/slot.tsx +0 -1
- package/src/components/magicui/primitives/animate/tooltip.tsx +0 -1
- package/src/components/magicui/sparkles-text.tsx +0 -1
- package/src/components/mindmap/mindmap-doc-editor.tsx +15 -15
- package/src/components/notifications/settings-notifications.tsx +22 -23
- package/src/components/notifications/team-notifications.tsx +27 -29
- package/src/components/plugin-slots/__tests__/plugin-settings-tabs.test.tsx +4 -4
- package/src/components/plugin-slots/plugin-settings-tabs.tsx +15 -11
- package/src/components/project/create-project-dialog.tsx +60 -34
- package/src/components/project/invite-member-dialog.tsx +20 -21
- package/src/components/project/project-activity-list.tsx +19 -24
- package/src/components/project/project-member-manager.tsx +27 -28
- package/src/components/project/project-module-card.tsx +5 -6
- package/src/components/project/schemas/create-project.ts +3 -5
- package/src/components/prototype/component/GenericPrototype.tsx +0 -1
- package/src/components/prototype/component-preview.tsx +0 -1
- package/src/components/settings/ai/api-key-field.tsx +8 -10
- package/src/components/settings/ai/create-custom-model-dialog.tsx +28 -21
- package/src/components/settings/ai/create-custom-provider-dialog.tsx +15 -16
- package/src/components/settings/ai/model-card.tsx +25 -10
- package/src/components/settings/ai/model-manager.tsx +24 -16
- package/src/components/settings/ai/provider-card.tsx +9 -11
- package/src/components/settings/ai/provider-detail-form.tsx +24 -26
- package/src/components/settings/ai/provider-grid.tsx +23 -13
- package/src/components/settings/language-selector.tsx +13 -15
- package/src/components/settings/personal-team/account/account-client.tsx +14 -16
- package/src/components/settings/personal-team/account/avatar/notion-avatar-editor.tsx +36 -28
- package/src/components/settings/personal-team/account/settings-profile.tsx +39 -40
- package/src/components/settings/personal-team/team/team-client.tsx +45 -50
- package/src/components/settings/personal-team/team/team-invitations.tsx +89 -95
- package/src/components/settings/personal-team/team/team-member-list.tsx +50 -47
- package/src/components/shadcn-space/blocks/pricing-01/pricing.tsx +170 -172
- package/src/components/shared-kit/data-viz/contribution-graph-tooltip.tsx +128 -15
- package/src/components/shared-kit/dialogs/name-confirm-dialog.tsx +16 -16
- package/src/components/shared-kit/i18n/language-switcher.tsx +6 -9
- package/src/components/shared-kit/i18n/translator-text.tsx +2 -4
- package/src/components/shared-kit/icons/lucide-icon-picker/panel.tsx +7 -8
- package/src/components/shared-kit/logos/logo-icon.tsx +64 -0
- package/src/components/shared-kit/navigation/nav-float-button.tsx +3 -5
- package/src/components/shared-kit/pages/placeholder-page.tsx +2 -4
- package/src/components/shared-kit/theme/animated-theme-toggler.tsx +0 -1
- package/src/components/shared-kit/theme/theme-toggle.tsx +0 -1
- package/src/components/shared-kit/timezone/timezone-select.tsx +6 -7
- package/src/components/story/__tests__/constants.test.ts +7 -7
- package/src/components/story/__tests__/dependency-type-badge.test.ts +5 -5
- package/src/components/story/ai/action-registry.ts +12 -11
- package/src/components/story/ai/handlers/more-popover.tsx +5 -6
- package/src/components/story/ai/prototype-dialog.tsx +9 -10
- package/src/components/story/ai/split-dialog.tsx +22 -23
- package/src/components/story/ai/story-ai-panel.tsx +29 -30
- package/src/components/story/ai/story-ai-preview-list.tsx +16 -9
- package/src/components/story/ai/story-ai-toolbar.tsx +12 -13
- package/src/components/story/columns.tsx +33 -17
- package/src/components/story/constants.ts +73 -69
- package/src/components/story/create-story-dialog.tsx +13 -14
- package/src/components/story/detail/__tests__/categories.test.tsx +8 -10
- package/src/components/story/detail/__tests__/dependencies-button.test.tsx +3 -5
- package/src/components/story/detail/activity-tabs.tsx +6 -7
- package/src/components/story/detail/activity-timeline.tsx +33 -35
- package/src/components/story/detail/comment-input.tsx +7 -8
- package/src/components/story/detail/comment-item.tsx +15 -16
- package/src/components/story/detail/comment-thread.tsx +6 -7
- package/src/components/story/detail/reaction-bar.tsx +2 -3
- package/src/components/story/detail/story-detail-body.tsx +26 -28
- package/src/components/story/detail/story-detail-toolbar/associated-attachments-panel.tsx +42 -45
- package/src/components/story/detail/story-detail-toolbar/categories.tsx +13 -14
- package/src/components/story/detail/story-detail-toolbar/children.tsx +19 -22
- package/src/components/story/detail/story-detail-toolbar/dependencies.tsx +3 -5
- package/src/components/story/detail/story-detail-toolbar/dependency-panel.tsx +30 -20
- package/src/components/story/detail/story-detail-toolbar.tsx +16 -11
- package/src/components/story/detail/story-properties.tsx +7 -8
- package/src/components/story/display/__tests__/display-dropdown.test.tsx +3 -5
- package/src/components/story/display/__tests__/use-paged-story-groups.test.ts +2 -0
- package/src/components/story/display/constants.ts +27 -26
- package/src/components/story/display/display-dropdown.tsx +20 -26
- package/src/components/story/display/group-resolver.tsx +12 -14
- package/src/components/story/display/use-grouped-stories.ts +3 -5
- package/src/components/story/display/use-paged-story-groups.ts +12 -13
- package/src/components/story/filters/add-filter-dropdown.tsx +4 -5
- package/src/components/story/filters/applied-filters.tsx +7 -9
- package/src/components/story/filters/filter-condition.tsx +9 -12
- package/src/components/story/filters/filter-row.tsx +5 -6
- package/src/components/story/filters/filter-toggle.tsx +2 -3
- package/src/components/story/filters/filter-types.ts +24 -23
- package/src/components/story/filters/filter-value-input.tsx +3 -4
- package/src/components/story/infinite-scroll-sentinel.tsx +2 -3
- package/src/components/story/inline-editors/__tests__/dependency-type-select.test.tsx +18 -23
- package/src/components/story/inline-editors/__tests__/labels-editor.test.tsx +9 -11
- package/src/components/story/inline-editors/__tests__/priority-editor.test.tsx +21 -25
- package/src/components/story/inline-editors/__tests__/state-editor.test.tsx +21 -25
- package/src/components/story/inline-editors/assignee-editor.tsx +8 -9
- package/src/components/story/inline-editors/date-editor.tsx +4 -5
- package/src/components/story/inline-editors/dependency-type-select.tsx +15 -12
- package/src/components/story/inline-editors/inline-trigger.tsx +2 -3
- package/src/components/story/inline-editors/labels-editor.tsx +16 -17
- package/src/components/story/inline-editors/parent-story-editor.tsx +3 -4
- package/src/components/story/inline-editors/priority-editor.tsx +6 -8
- package/src/components/story/inline-editors/state-editor.tsx +6 -7
- package/src/components/story/inline-editors/story-select-dialog.tsx +25 -26
- package/src/components/story/inline-editors/title-editor.tsx +2 -3
- package/src/components/story/peek-panel.tsx +6 -7
- package/src/components/story/relations/__tests__/knowledge-select-dialog.test.tsx +2 -0
- package/src/components/story/relations/__tests__/link-manage-dialog.test.tsx +2 -0
- package/src/components/story/relations/attachment-manage-dialog.tsx +23 -24
- package/src/components/story/relations/general-groups.ts +12 -29
- package/src/components/story/relations/knowledge-select-dialog.tsx +21 -22
- package/src/components/story/relations/link-manage-dialog.tsx +12 -13
- package/src/components/story/relations/story-ref-row.tsx +20 -21
- package/src/components/story/schemas/story-create.ts +3 -5
- package/src/components/story/search-popover.tsx +5 -6
- package/src/components/story/story-list-table.tsx +3 -4
- package/src/components/story/story-list-view.tsx +9 -10
- package/src/components/story/story-panel-header.tsx +27 -28
- package/src/components/story/story-toolbar.tsx +11 -12
- package/src/components/story/transfer-story-popover.tsx +15 -16
- package/src/components/story/views/calendar-view.tsx +12 -14
- package/src/components/story/views/create-view-dialog.tsx +19 -52
- package/src/components/story/views/kanban-board.tsx +9 -12
- package/src/components/story/views/kanban-card.tsx +1 -3
- package/src/components/story/views/story-list/__tests__/batch-toolbar.test.tsx +9 -2
- package/src/components/story/views/story-list/__tests__/group-header.test.tsx +15 -17
- package/src/components/story/views/story-list/batch-preview-dialog.tsx +26 -28
- package/src/components/story/views/story-list/batch-toolbar.tsx +12 -13
- package/src/components/story/views/story-list/group.tsx +9 -11
- package/src/components/story/views/story-list/index.tsx +13 -14
- package/src/components/story/views/story-list/inline-story-creator.tsx +6 -7
- package/src/components/story/views/story-list/row.tsx +6 -7
- package/src/components/story/views/timeline-view.tsx +7 -8
- package/src/components/story/views/view-list-section.tsx +14 -16
- package/src/components/story/views/view-selector-button.tsx +6 -7
- package/src/components/story/views/view-switcher.tsx +9 -10
- package/src/components/story/views/view-types.ts +15 -15
- package/src/components/tiptap/extension/code-block-ellipsis-input-extension.ts +0 -1
- package/src/components/tiptap/hooks/use-composed-ref.ts +0 -1
- package/src/components/tiptap/hooks/use-cursor-visibility.ts +0 -1
- package/src/components/tiptap/hooks/use-floating-element.ts +0 -1
- package/src/components/tiptap/hooks/use-is-breakpoint.ts +0 -1
- package/src/components/tiptap/hooks/use-isomorphic-layout-effect.ts +0 -1
- package/src/components/tiptap/hooks/use-menu-navigation.ts +0 -1
- package/src/components/tiptap/hooks/use-on-click-outside.ts +0 -1
- package/src/components/tiptap/hooks/use-tiptap-editor.ts +0 -1
- package/src/components/tiptap/hooks/use-ui-editor-state.ts +0 -1
- package/src/components/tiptap/mindmap/lib/__tests__/default-mindmap-data.test.ts +3 -2
- package/src/components/tiptap/mindmap/lib/default-mindmap-data.ts +2 -2
- package/src/components/tiptap/mindmap/mind-map.tsx +36 -39
- package/src/components/tiptap/mindmap/mindmap-fullscreen-dialog.tsx +2 -3
- package/src/components/tiptap/node/annotation-node/annotation-node-view.tsx +11 -12
- package/src/components/tiptap/node/doc-card-extension.tsx +8 -10
- package/src/components/tiptap/node/image-node/image-node-floating.tsx +2 -3
- package/src/components/tiptap/node/image-upload-node/image-upload-node.tsx +0 -1
- package/src/components/tiptap/node/mention-extension.ts +5 -5
- package/src/components/tiptap/node/table-node/hooks/use-table-handle-state.ts +0 -1
- package/src/components/tiptap/node/table-node/ui/table-add-row-column-button/table-add-row-column-button.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-add-row-column-button/use-table-add-row-column.ts +5 -6
- package/src/components/tiptap/node/table-node/ui/table-align-cell-button/table-align-cell-button.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-align-cell-button/use-table-align-cell.ts +8 -9
- package/src/components/tiptap/node/table-node/ui/table-alignment-menu/table-alignment-menu.tsx +2 -4
- package/src/components/tiptap/node/table-node/ui/table-cell-handle-menu/table-cell-handle-menu.tsx +2 -5
- package/src/components/tiptap/node/table-node/ui/table-clear-row-column-content-button/table-clear-row-column-content-button.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-clear-row-column-content-button/use-table-clear-row-column-content.ts +4 -5
- package/src/components/tiptap/node/table-node/ui/table-delete-row-column-button/table-delete-row-column-button.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-delete-row-column-button/use-table-delete-row-column.ts +3 -4
- package/src/components/tiptap/node/table-node/ui/table-duplicate-row-column-button/table-duplicate-row-column-button.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-duplicate-row-column-button/use-table-duplicate-row-column.ts +3 -4
- package/src/components/tiptap/node/table-node/ui/table-extend-row-column-button/table-extend-row-column-button.tsx +2 -4
- package/src/components/tiptap/node/table-node/ui/table-fit-to-width-button/table-fit-to-width-button.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-fit-to-width-button/use-table-fit-to-width.ts +3 -4
- package/src/components/tiptap/node/table-node/ui/table-handle/table-handle.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-handle-menu/table-handle-menu.tsx +3 -5
- package/src/components/tiptap/node/table-node/ui/table-header-row-column-button/table-header-row-column-button.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-header-row-column-button/use-table-header-row-column.ts +3 -4
- package/src/components/tiptap/node/table-node/ui/table-merge-split-cell-button/table-merge-split-cell-button.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-merge-split-cell-button/use-table-merge-split-cell.ts +3 -4
- package/src/components/tiptap/node/table-node/ui/table-move-row-column-button/table-move-row-column-button.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-move-row-column-button/use-table-move-row-column.ts +9 -10
- package/src/components/tiptap/node/table-node/ui/table-selection-overlay/table-selection-overlay.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-selection-overlay/use-resize-overlay.ts +0 -1
- package/src/components/tiptap/node/table-node/ui/table-sort-row-column-button/table-sort-row-column-button.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-sort-row-column-button/use-table-sort-row-column.ts +5 -6
- package/src/components/tiptap/node/table-node/ui/table-trigger-button/table-grid-selector.tsx +2 -3
- package/src/components/tiptap/node/table-node/ui/table-trigger-button/table-trigger-button.tsx +0 -1
- package/src/components/tiptap/node/table-node/ui/table-trigger-button/use-table-trigger.ts +3 -4
- package/src/components/tiptap/node/toc-node/toc-node.tsx +2 -4
- package/src/components/tiptap/node/toc-node/ui/toc-show-title-button/toc-show-title-button.tsx +0 -1
- package/src/components/tiptap/node/toc-node/ui/toc-show-title-button/toc-show-title.ts +2 -3
- package/src/components/tiptap/node/toc-node/ui/toc-sidebar/toc-sidebar.tsx +2 -5
- package/src/components/tiptap/notion-like/notion-like-editor-header.tsx +2 -4
- package/src/components/tiptap/notion-like/notion-like-editor-mobile-toolbar.tsx +17 -23
- package/src/components/tiptap/notion-like/notion-like-editor-theme-toggle.tsx +2 -5
- package/src/components/tiptap/notion-like/notion-like-editor-toolbar-floating.tsx +16 -12
- package/src/components/tiptap/notion-like/notion-like-editor.tsx +2 -7
- package/src/components/tiptap/notion-like/setup-error-message/setup-error-message.tsx +0 -1
- package/src/components/tiptap/ui/ai-ask-button/ai-ask-button.tsx +0 -1
- package/src/components/tiptap/ui/ai-ask-button/use-ai-ask.ts +2 -3
- package/src/components/tiptap/ui/ai-menu/ai-menu-actions/ai-menu-actions.tsx +4 -6
- package/src/components/tiptap/ui/ai-menu/ai-menu-input/ai-menu-input.tsx +6 -10
- package/src/components/tiptap/ui/ai-menu/ai-menu-items/ai-menu-items-constants.ts +36 -36
- package/src/components/tiptap/ui/ai-menu/ai-menu-items/ai-menu-items.tsx +13 -16
- package/src/components/tiptap/ui/ai-menu/ai-menu-items/language-selection-submenu.tsx +3 -4
- package/src/components/tiptap/ui/ai-menu/ai-menu-items/tone-selection-submenu.tsx +2 -3
- package/src/components/tiptap/ui/ai-menu/ai-menu-utils.ts +3 -3
- package/src/components/tiptap/ui/ai-menu/ai-menu.tsx +3 -5
- package/src/components/tiptap/ui/blockquote-button/blockquote-button.tsx +2 -6
- package/src/components/tiptap/ui/blockquote-button/use-blockquote.ts +2 -3
- package/src/components/tiptap/ui/code-block-button/code-block-button.tsx +2 -6
- package/src/components/tiptap/ui/code-block-button/use-code-block.ts +2 -3
- package/src/components/tiptap/ui/color-highlight-button/color-highlight-button.tsx +0 -1
- package/src/components/tiptap/ui/color-highlight-button/use-color-highlight.ts +14 -14
- package/src/components/tiptap/ui/color-highlight-popover/color-highlight-popover.tsx +9 -11
- package/src/components/tiptap/ui/color-menu/color-menu.tsx +5 -11
- package/src/components/tiptap/ui/color-text-button/color-text-button.tsx +2 -3
- package/src/components/tiptap/ui/color-text-button/use-color-text.ts +12 -13
- package/src/components/tiptap/ui/color-text-popover/color-text-popover.tsx +6 -10
- package/src/components/tiptap/ui/color-text-popover/use-color-text-popover.ts +2 -3
- package/src/components/tiptap/ui/copy-anchor-link-button/copy-anchor-link-button.tsx +2 -6
- package/src/components/tiptap/ui/copy-anchor-link-button/use-copy-anchor-link.ts +2 -3
- package/src/components/tiptap/ui/copy-anchor-link-button/use-scroll-to-hash.ts +0 -1
- package/src/components/tiptap/ui/copy-to-clipboard-button/copy-to-clipboard-button.tsx +2 -6
- package/src/components/tiptap/ui/copy-to-clipboard-button/use-copy-to-clipboard.ts +2 -3
- package/src/components/tiptap/ui/delete-node-button/delete-node-button.tsx +2 -6
- package/src/components/tiptap/ui/delete-node-button/use-delete-node.ts +2 -3
- package/src/components/tiptap/ui/doc-reference-floating/doc-reference-floating.tsx +10 -11
- package/src/components/tiptap/ui/doc-reference-interaction/doc-reference-interaction.tsx +10 -11
- package/src/components/tiptap/ui/drag-context-menu/drag-context-menu.tsx +7 -9
- package/src/components/tiptap/ui/duplicate-button/duplicate-button.tsx +2 -6
- package/src/components/tiptap/ui/duplicate-button/use-duplicate.ts +2 -3
- package/src/components/tiptap/ui/emoji-dropdown-menu/emoji-dropdown-menu.tsx +0 -1
- package/src/components/tiptap/ui/emoji-menu/emoji-menu.tsx +2 -5
- package/src/components/tiptap/ui/emoji-trigger-button/emoji-trigger-button.tsx +2 -6
- package/src/components/tiptap/ui/emoji-trigger-button/use-emoji-trigger.ts +2 -3
- package/src/components/tiptap/ui/heading-button/heading-button.tsx +0 -1
- package/src/components/tiptap/ui/heading-button/use-heading.ts +7 -8
- package/src/components/tiptap/ui/image-align-button/image-align-button.tsx +0 -1
- package/src/components/tiptap/ui/image-align-button/use-image-align.ts +4 -5
- package/src/components/tiptap/ui/image-caption-button/image-caption-button.tsx +0 -1
- package/src/components/tiptap/ui/image-caption-button/use-image-caption.ts +2 -3
- package/src/components/tiptap/ui/image-download-button/image-download-button.tsx +0 -1
- package/src/components/tiptap/ui/image-download-button/use-image-download.ts +2 -3
- package/src/components/tiptap/ui/image-upload-button/image-upload-button.tsx +0 -1
- package/src/components/tiptap/ui/image-upload-button/use-image-upload.ts +2 -3
- package/src/components/tiptap/ui/improve-dropdown/improve-dropdown.tsx +14 -17
- package/src/components/tiptap/ui/improve-dropdown/use-improve-dropdown.ts +2 -3
- package/src/components/tiptap/ui/indent-button/indent-button.tsx +0 -1
- package/src/components/tiptap/ui/indent-button/use-indent.ts +3 -4
- package/src/components/tiptap/ui/link-popover/link-popover.tsx +7 -12
- package/src/components/tiptap/ui/link-popover/use-link-popover.ts +2 -3
- package/src/components/tiptap/ui/list-button/list-button.tsx +0 -1
- package/src/components/tiptap/ui/list-button/use-list.ts +4 -5
- package/src/components/tiptap/ui/mark-button/mark-button.tsx +0 -1
- package/src/components/tiptap/ui/mark-button/use-mark.ts +8 -9
- package/src/components/tiptap/ui/mention-dropdown-menu/mention-dropdown-menu.tsx +0 -2
- package/src/components/tiptap/ui/mention-trigger-button/mention-trigger-button.tsx +0 -1
- package/src/components/tiptap/ui/mention-trigger-button/use-mention-trigger.ts +2 -3
- package/src/components/tiptap/ui/move-node-button/move-node-button.tsx +2 -6
- package/src/components/tiptap/ui/move-node-button/use-move-node.ts +2 -3
- package/src/components/tiptap/ui/reference-dropdown-menu/reference-dropdown-menu.tsx +6 -10
- package/src/components/tiptap/ui/reset-all-formatting-button/reset-all-formatting-button.tsx +2 -6
- package/src/components/tiptap/ui/reset-all-formatting-button/use-reset-all-formatting.ts +2 -3
- package/src/components/tiptap/ui/slash-command-trigger-button/slash-command-trigger-button.tsx +0 -1
- package/src/components/tiptap/ui/slash-command-trigger-button/use-slash-command-trigger.ts +2 -3
- package/src/components/tiptap/ui/slash-dropdown-menu/slash-dropdown-menu.tsx +2 -5
- package/src/components/tiptap/ui/slash-dropdown-menu/use-slash-dropdown-menu.ts +78 -79
- package/src/components/tiptap/ui/text-align-button/text-align-button.tsx +0 -1
- package/src/components/tiptap/ui/text-align-button/use-text-align.ts +5 -6
- package/src/components/tiptap/ui/text-button/text-button.tsx +2 -6
- package/src/components/tiptap/ui/text-button/use-text.ts +2 -3
- package/src/components/tiptap/ui/turn-into-dropdown/turn-into-dropdown.tsx +4 -7
- package/src/components/tiptap/ui/turn-into-dropdown/use-turn-into-dropdown.ts +11 -12
- package/src/components/tiptap/ui/undo-redo-button/undo-redo-button.tsx +0 -1
- package/src/components/tiptap/ui/undo-redo-button/use-undo-redo.ts +3 -4
- package/src/components/tiptap/ui-primitive/avatar/avatar.tsx +0 -1
- package/src/components/tiptap/ui-primitive/badge/badge.tsx +0 -1
- package/src/components/tiptap/ui-primitive/button/button.tsx +0 -1
- package/src/components/tiptap/ui-primitive/card/card.tsx +0 -1
- package/src/components/tiptap/ui-primitive/combobox/combobox.tsx +0 -1
- package/src/components/tiptap/ui-primitive/dropdown-menu/dropdown-menu.tsx +0 -1
- package/src/components/tiptap/ui-primitive/input/input.tsx +0 -1
- package/src/components/tiptap/ui-primitive/input-group/input-group.tsx +0 -1
- package/src/components/tiptap/ui-primitive/label/label.tsx +0 -1
- package/src/components/tiptap/ui-primitive/menu/menu-context.ts +0 -1
- package/src/components/tiptap/ui-primitive/menu/menu-hooks.ts +0 -1
- package/src/components/tiptap/ui-primitive/menu/menu-types.ts +0 -1
- package/src/components/tiptap/ui-primitive/menu/menu-utils.ts +0 -1
- package/src/components/tiptap/ui-primitive/menu/menu.tsx +0 -1
- package/src/components/tiptap/ui-primitive/popover/popover.tsx +0 -1
- package/src/components/tiptap/ui-primitive/separator/separator.tsx +0 -1
- package/src/components/tiptap/ui-primitive/sidebar/sidebar.tsx +0 -1
- package/src/components/tiptap/ui-primitive/spacer/spacer.tsx +0 -1
- package/src/components/tiptap/ui-primitive/textarea/textarea.tsx +0 -1
- package/src/components/tiptap/ui-primitive/textarea-autosize/textarea-autosize.tsx +0 -1
- package/src/components/tiptap/ui-primitive/toolbar/toolbar.tsx +0 -1
- package/src/components/tiptap/ui-primitive/tooltip/tooltip.tsx +0 -1
- package/src/components/tiptap/ui-utils/floating-element/floating-element.tsx +0 -1
- package/src/components/tiptap/ui-utils/suggestion-menu/suggestion-menu.tsx +0 -1
- package/src/components/ui/field.tsx +1 -1
- package/src/components/ui/radio-group.tsx +2 -3
- package/src/components/ui/spinner.tsx +2 -2
- package/src/components/workspace/create-workspace-dialog.tsx +12 -13
- package/src/components/workspace/delete-workspace-options.tsx +177 -0
- package/src/components/workspace/edit-workspace-dialog.tsx +153 -0
- package/src/components/workspace/schemas/create-workspace.ts +2 -2
- package/src/components/workspace/workspace-activity-card.tsx +60 -0
- package/src/components/workspace/workspace-contribution-card.tsx +37 -0
- package/src/components/workspace/workspace-header.tsx +100 -0
- package/src/components/workspace/workspace-kb-card.tsx +31 -0
- package/src/components/workspace/workspace-member-item.tsx +80 -0
- package/src/components/workspace/workspace-members-manager.tsx +291 -0
- package/src/components/workspace/workspace-project-list.tsx +129 -0
- package/src/config/sidebar-routes.tsx +25 -24
- package/src/config/sidebar-teams.ts +4 -4
- package/src/hooks/__tests__/use-commands.test.tsx +0 -10
- package/src/hooks/use-commands.ts +3 -7
- package/src/hooks/use-entity-subscription.ts +0 -1
- package/src/hooks/use-notifications.ts +5 -6
- package/src/hooks/useTranslator.ts +0 -1
- package/src/lib/__tests__/edition.test.ts +9 -0
- package/src/lib/analytics.ts +0 -1
- package/src/lib/anyhub/anyhub-message-bridge.ts +1 -1
- package/src/lib/auth/__tests__/anonymous-safe.test.ts +89 -0
- package/src/lib/auth/__tests__/page-gate.test.ts +29 -0
- package/src/lib/auth/anonymous-safe.ts +39 -0
- package/src/lib/auth/page-gate.ts +18 -0
- package/src/lib/changelog/sdk-versions.ts +19 -19
- 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 +3 -3
- package/src/lib/commands/__tests__/registry.test.ts +3 -3
- package/src/lib/commands/registry.ts +22 -21
- package/src/lib/commands/types.ts +1 -1
- package/src/lib/edition.ts +7 -0
- package/src/lib/router-context.ts +1 -2
- package/src/plugins/.gen-manifest.json +13 -0
- package/src/plugins/core/inspiration/pages/inspiration-page.tsx +2 -3
- package/src/plugins/core/inspiration/ui.tsx +2 -3
- package/src/plugins/core/prd/components/agent-input.tsx +7 -8
- package/src/plugins/core/prd/components/component-editor/content-section.tsx +3 -3
- package/src/plugins/core/prd/components/component-editor/position-section.tsx +3 -4
- package/src/plugins/core/prd/components/component-editor/style-fields.tsx +13 -16
- package/src/plugins/core/prd/components/dialog/create-prd-dialog.tsx +11 -12
- package/src/plugins/core/prd/components/dialog/prd-detail-client.tsx +7 -9
- package/src/plugins/core/prd/components/page-version-panel/components/create-version-dialog.tsx +7 -8
- package/src/plugins/core/prd/components/page-version-panel/components/delete-version-dialog.tsx +5 -6
- package/src/plugins/core/prd/components/page-version-panel/components/edit-version-dialog.tsx +7 -8
- package/src/plugins/core/prd/components/page-version-panel/constants.tsx +3 -2
- package/src/plugins/core/prd/components/page-version-panel.tsx +43 -45
- package/src/plugins/core/prd/components/page-version-tree.tsx +6 -8
- package/src/plugins/core/prd/components/prd-agent-panel.tsx +29 -23
- package/src/plugins/core/prd/components/prd-comment-review-panel.tsx +21 -23
- package/src/plugins/core/prd/components/prd-component-editor-content.tsx +6 -7
- package/src/plugins/core/prd/components/prd-dashboard.tsx +28 -23
- package/src/plugins/core/prd/components/prd-doc-panel.tsx +6 -9
- package/src/plugins/core/prd/components/prd-editor-layout.tsx +11 -13
- package/src/plugins/core/prd/components/prd-filter-bar.tsx +2 -3
- package/src/plugins/core/prd/components/prd-left-sidebar.tsx +19 -20
- package/src/plugins/core/prd/components/prd-navigation.tsx +12 -14
- package/src/plugins/core/prd/components/prd-outline-tab.tsx +3 -4
- package/src/plugins/core/prd/components/prd-prototype-panel.tsx +8 -10
- package/src/plugins/core/prd/components/prd-right-sidebar.tsx +10 -12
- package/src/plugins/core/prd/components/prd-share-panel/components/single-version-share-card.tsx +13 -14
- package/src/plugins/core/prd/components/prd-share-panel/constants.ts +5 -3
- package/src/plugins/core/prd/components/prd-share-panel.tsx +58 -60
- package/src/plugins/core/prd/components/prd-tree-page-tab.tsx +20 -22
- package/src/plugins/core/prd/components/prototype/PrototypeCanvas.tsx +2 -4
- package/src/plugins/core/prd/components/prototype/PrototypeElement.tsx +3 -5
- package/src/plugins/core/prd/components/prototype/ResizeHandles.tsx +0 -1
- package/src/plugins/core/prd/components/prototype/icon-components.ts +19 -21
- package/src/plugins/core/prd/components/prototype/index.ts +3 -0
- package/src/plugins/core/prd/components/restore-version-dialog.tsx +5 -7
- package/src/plugins/core/prd/components/share/prd-share-client.tsx +7 -9
- package/src/plugins/core/prd/components/share/share-annotation-overlay.tsx +0 -1
- package/src/plugins/core/prd/components/share/share-comment-panel.tsx +15 -16
- package/src/plugins/core/prd/components/share/share-comment-review-panel.tsx +7 -9
- package/src/plugins/core/prd/components/share/share-directory-tree.tsx +3 -5
- package/src/plugins/core/prd/components/share/share-doc-view.tsx +3 -5
- package/src/plugins/core/prd/components/share/share-layout.tsx +3 -5
- package/src/plugins/core/prd/components/share/share-nav-bar.tsx +3 -5
- package/src/plugins/core/prd/components/share/share-password-gate.tsx +8 -9
- package/src/plugins/core/prd/components/share/share-prototype-view.tsx +3 -5
- package/src/plugins/core/prd/components/share/share-review-panel.tsx +9 -11
- package/src/plugins/core/prd/components/share/share-sse-listener.tsx +0 -1
- package/src/plugins/core/prd/components/share/version-share-client.tsx +3 -5
- package/src/plugins/core/prd/pages/prd-detail-page.tsx +9 -21
- package/src/plugins/core/prd/pages/share-prd-page.tsx +6 -16
- package/src/plugins/core/prd/prd-nav.tsx +2 -3
- package/src/plugins/core/tags/nav-tag.tsx +14 -15
- package/src/plugins/core/tags/pages/tag-detail-page.tsx +3 -5
- package/src/plugins/core/tags/pages/tag-settings-page.tsx +3 -5
- package/src/plugins/core/tags/pages/tags-index-page.tsx +3 -5
- package/src/plugins/core/tags/tag-badge.tsx +2 -3
- package/src/plugins/core/tags/tag-color-picker.tsx +2 -4
- package/src/plugins/core/tags/tag-manager.tsx +23 -25
- package/src/plugins/core/tags/tag-selector.tsx +4 -5
- package/src/plugins/modules.gen.ts +21 -0
- package/src/plugins/plugins.gen.ts +20 -0
- package/src/plugins/ui.gen.ts +8 -0
- package/src/providers/index.tsx +3 -14
- package/src/routeTree.gen.ts +27 -0
- package/src/router.tsx +16 -6
- package/src/routes/__desktop/onboarding/route.lazy.tsx +22 -23
- package/src/routes/__root.tsx +13 -36
- package/src/routes/__tests__/-edition-routing.test.tsx +151 -0
- package/src/routes/_login/forgot-password/route.lazy.tsx +14 -15
- package/src/routes/_login/login/route.lazy.tsx +26 -25
- package/src/routes/_login/register/route.lazy.tsx +23 -24
- package/src/routes/_login/reset-password/route.lazy.tsx +16 -17
- package/src/routes/_login/schemas/-auth.ts +11 -13
- package/src/routes/_nav/acceptance-criteria/route.tsx +2 -3
- package/src/routes/_nav/apps/anyhub/$id/route.tsx +2 -3
- package/src/routes/_nav/chat/route.lazy.tsx +9 -10
- package/src/routes/_nav/dashboard/-components/activity-feed.tsx +3 -4
- package/src/routes/_nav/dashboard/-components/quick-actions.tsx +3 -4
- package/src/routes/_nav/dashboard/-components/stats-grid.tsx +5 -6
- package/src/routes/_nav/dashboard/route.lazy.tsx +7 -8
- package/src/routes/_nav/design/$projectId/$artboardId/route.lazy.tsx +7 -9
- package/src/routes/_nav/design/$projectId/route.lazy.tsx +3 -5
- package/src/routes/_nav/design/index.lazy.tsx +26 -27
- package/src/routes/_nav/inspiration/route.tsx +8 -0
- package/src/routes/_nav/knowledge/$kbId/doc/$docId/route.lazy.tsx +4 -5
- package/src/routes/_nav/knowledge/$kbId/route.lazy.tsx +3 -4
- package/src/routes/_nav/knowledge/bookmarks/$id.lazy.tsx +29 -30
- package/src/routes/_nav/knowledge/bookmarks/index.lazy.tsx +12 -13
- package/src/routes/_nav/knowledge/compliance/$id.lazy.tsx +22 -23
- package/src/routes/_nav/knowledge/compliance/index.lazy.tsx +18 -19
- package/src/routes/_nav/knowledge/dictionaries/$id.lazy.tsx +5 -6
- package/src/routes/_nav/knowledge/dictionaries/index.lazy.tsx +17 -18
- package/src/routes/_nav/knowledge/index.lazy.tsx +248 -40
- package/src/routes/_nav/knowledge/laws/$id.lazy.tsx +22 -23
- package/src/routes/_nav/knowledge/laws/index.lazy.tsx +14 -15
- package/src/routes/_nav/knowledge/summary/index.lazy.tsx +31 -32
- package/src/routes/_nav/notifications/route.lazy.tsx +3 -4
- package/src/routes/_nav/notifications/route.tsx +2 -0
- package/src/routes/_nav/notion-like/route.tsx +2 -3
- package/src/routes/_nav/prd/$id/route.tsx +9 -0
- package/src/routes/_nav/prd/index.tsx +9 -0
- package/src/routes/_nav/prd/route.tsx +8 -0
- package/src/routes/_nav/pricing-02/route.tsx +2 -3
- package/src/routes/_nav/projects/$projectId/$storyId/route.lazy.tsx +23 -24
- package/src/routes/_nav/projects/$projectId/index.lazy.tsx +54 -74
- package/src/routes/_nav/projects/$projectId/iterations/$iterationId/route.lazy.tsx +27 -30
- package/src/routes/_nav/projects/$projectId/iterations/index.lazy.tsx +9 -10
- package/src/routes/_nav/projects/$projectId/route.tsx +4 -2
- package/src/routes/_nav/projects/$projectId/settings/route.lazy.tsx +40 -41
- package/src/routes/_nav/route.tsx +13 -16
- package/src/routes/_nav/settings/-settings-tabs.tsx +24 -51
- package/src/routes/_nav/settings/account/route.lazy.tsx +1 -9
- package/src/routes/_nav/settings/ai/index/route.lazy.tsx +5 -6
- package/src/routes/_nav/settings/billing/route.lazy.tsx +4 -5
- package/src/routes/_nav/settings/connection/route.lazy.tsx +14 -10
- package/src/routes/_nav/settings/design/route.lazy.tsx +21 -22
- package/src/routes/_nav/settings/general/route.lazy.tsx +10 -11
- package/src/routes/_nav/settings/notifications/route.lazy.tsx +3 -5
- package/src/routes/_nav/settings/privacy/route.lazy.tsx +15 -16
- package/src/routes/_nav/settings/route.lazy.tsx +2 -3
- package/src/routes/_nav/settings/route.tsx +10 -15
- package/src/routes/_nav/settings/team/route.lazy.tsx +1 -9
- package/src/routes/_nav/tags/$id/route.tsx +8 -0
- package/src/routes/_nav/tags/index.tsx +8 -0
- package/src/routes/_nav/tags/route.tsx +8 -0
- package/src/routes/_nav/tags/settings/route.tsx +9 -0
- package/src/routes/_nav/test-cases/route.tsx +2 -3
- package/src/routes/_nav/workspaces/$workspaceId/activities/route.lazy.tsx +69 -0
- package/src/routes/_nav/workspaces/$workspaceId/activities/route.tsx +28 -0
- package/src/routes/_nav/workspaces/$workspaceId/route.lazy.tsx +194 -99
- package/src/routes/_nav/workspaces/$workspaceId/route.tsx +12 -3
- package/src/routes/_nav/workspaces/$workspaceId/settings/route.lazy.tsx +75 -61
- package/src/routes/_nav/workspaces/index.lazy.tsx +196 -22
- package/src/routes/_nav/workspaces/route.tsx +2 -0
- package/src/routes/_public/index/route.tsx +5 -1
- package/src/routes/invite/$token/route.lazy.tsx +36 -37
- package/src/routes/share/$versionId/route.lazy.tsx +4 -11
- package/src/routes/share/compliance/$id/route.lazy.tsx +6 -8
- package/src/routes/share/law/$id/route.lazy.tsx +6 -8
- package/src/routes/share/prd/$prdId/route.tsx +10 -0
- package/src/server/__tests__/agent-client-graph.test.ts +4 -8
- package/src/server/ai-ports.ts +7 -6
- package/src/server/builtin-project.ts +43 -0
- package/src/server/design/sketch/file-storage.ts +1 -1
- package/src/server/pro-services.ts +1 -1
- package/src/server/serverFns/__tests__/workspace.test.ts +101 -0
- package/src/server/serverFns/activity.ts +15 -9
- package/src/server/serverFns/knowledge-public/bookmarks/list.ts +1 -1
- package/src/server/serverFns/knowledge-public/bookmarks/share.ts +3 -3
- package/src/server/serverFns/knowledge-public/compliance/share.ts +3 -3
- package/src/server/serverFns/knowledge-public/dictionary/share.ts +3 -3
- package/src/server/serverFns/knowledge-public/legal/share.ts +3 -3
- package/src/server/serverFns/knowledge.ts +27 -2
- package/src/server/serverFns/notifications.ts +3 -0
- package/src/server/serverFns/project.ts +48 -35
- package/src/server/serverFns/story/story-crud/bulk.ts +2 -2
- package/src/server/serverFns/story/story-crud.ts +9 -7
- package/src/server/serverFns/story/story-groups.ts +6 -6
- package/src/server/serverFns/workspace.ts +334 -13
- package/src/server-entry.ts +29 -0
- package/vite.shared.ts +4 -1
- package/src/components/layout/sidebar-03/logo.tsx +0 -41
- package/src/i18n/__tests__/detect.test.ts +0 -48
- package/src/i18n/__tests__/integration.test.tsx +0 -32
- package/src/i18n/__tests__/server.test.ts +0 -33
- package/src/i18n/client.ts +0 -32
- package/src/i18n/config.ts +0 -116
- package/src/i18n/detect.ts +0 -43
- package/src/i18n/locales/en/agents.json +0 -134
- package/src/i18n/locales/en/apps.json +0 -6
- package/src/i18n/locales/en/auth.json +0 -90
- package/src/i18n/locales/en/billing.json +0 -78
- package/src/i18n/locales/en/chat.json +0 -194
- package/src/i18n/locales/en/common.json +0 -242
- package/src/i18n/locales/en/dashboard.json +0 -38
- package/src/i18n/locales/en/design.json +0 -70
- package/src/i18n/locales/en/desktop.json +0 -35
- package/src/i18n/locales/en/display.json +0 -37
- package/src/i18n/locales/en/editor.json +0 -304
- package/src/i18n/locales/en/enterprise.json +0 -1
- package/src/i18n/locales/en/invite.json +0 -56
- package/src/i18n/locales/en/iterations.json +0 -92
- package/src/i18n/locales/en/knowledge.json +0 -462
- package/src/i18n/locales/en/mindmap.json +0 -28
- package/src/i18n/locales/en/notifications.json +0 -79
- package/src/i18n/locales/en/prd.json +0 -51
- package/src/i18n/locales/en/projects.json +0 -140
- package/src/i18n/locales/en/settings.json +0 -428
- package/src/i18n/locales/en/share.json +0 -20
- package/src/i18n/locales/en/story.json +0 -923
- package/src/i18n/locales/en/tags.json +0 -42
- package/src/i18n/locales/en/workspace.json +0 -90
- package/src/i18n/locales/zh/agents.json +0 -134
- package/src/i18n/locales/zh/apps.json +0 -6
- package/src/i18n/locales/zh/auth.json +0 -90
- package/src/i18n/locales/zh/billing.json +0 -78
- package/src/i18n/locales/zh/chat.json +0 -194
- package/src/i18n/locales/zh/common.json +0 -242
- package/src/i18n/locales/zh/dashboard.json +0 -38
- package/src/i18n/locales/zh/design.json +0 -70
- package/src/i18n/locales/zh/desktop.json +0 -35
- package/src/i18n/locales/zh/display.json +0 -37
- package/src/i18n/locales/zh/editor.json +0 -304
- package/src/i18n/locales/zh/enterprise.json +0 -1
- package/src/i18n/locales/zh/invite.json +0 -56
- package/src/i18n/locales/zh/iterations.json +0 -92
- package/src/i18n/locales/zh/knowledge.json +0 -462
- package/src/i18n/locales/zh/mindmap.json +0 -28
- package/src/i18n/locales/zh/notifications.json +0 -79
- package/src/i18n/locales/zh/prd.json +0 -51
- package/src/i18n/locales/zh/projects.json +0 -140
- package/src/i18n/locales/zh/settings.json +0 -428
- package/src/i18n/locales/zh/share.json +0 -20
- package/src/i18n/locales/zh/story.json +0 -923
- package/src/i18n/locales/zh/tags.json +0 -42
- package/src/i18n/locales/zh/workspace.json +0 -90
- package/src/i18n/server.ts +0 -18
- package/src/i18n/types.ts +0 -5
- package/src/server/serverFns/locale.ts +0 -20
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"title": "项目",
|
|
3
|
-
"module": {
|
|
4
|
-
"assigneeLabel": "负责人:",
|
|
5
|
-
"unassigned": "未分配",
|
|
6
|
-
"moduleTitle": "板块",
|
|
7
|
-
"totalItems": "共 {{count}} 条",
|
|
8
|
-
"liveBadge": "实时数据",
|
|
9
|
-
"empty": "暂无内容"
|
|
10
|
-
},
|
|
11
|
-
"detail": {
|
|
12
|
-
"settings": "项目设置",
|
|
13
|
-
"noDescription": "暂无介绍",
|
|
14
|
-
"activity": "活跃度",
|
|
15
|
-
"noContributions": "暂无贡献记录",
|
|
16
|
-
"modulesTitle": "板块总览",
|
|
17
|
-
"recentActivity": "最近动态",
|
|
18
|
-
"iterations": "迭代"
|
|
19
|
-
},
|
|
20
|
-
"project": {
|
|
21
|
-
"member": {
|
|
22
|
-
"owner": "所有者",
|
|
23
|
-
"admin": "管理员",
|
|
24
|
-
"member": "成员",
|
|
25
|
-
"viewer": "访客",
|
|
26
|
-
"self": "你",
|
|
27
|
-
"roleUpdated": "角色已更新",
|
|
28
|
-
"removed": "成员已移除",
|
|
29
|
-
"removeFailed": "移除失败",
|
|
30
|
-
"management": "成员管理",
|
|
31
|
-
"totalMembers": "共 {{count}} 位成员",
|
|
32
|
-
"noTeamMembers": "团队暂无成员可分配,先去设置 → 团队邀请成员",
|
|
33
|
-
"invite": "邀请成员",
|
|
34
|
-
"pending": "待接受",
|
|
35
|
-
"setRole": "设置角色",
|
|
36
|
-
"setAdmin": "设为管理员",
|
|
37
|
-
"setMember": "设为成员",
|
|
38
|
-
"setViewer": "设为访客",
|
|
39
|
-
"removeMember": "移除成员",
|
|
40
|
-
"confirmRemove": "确认移除成员",
|
|
41
|
-
"confirmRemoveDesc": "确定要移除「{{username}}」吗?该成员将立即失去项目访问权限,可重新邀请再加入。",
|
|
42
|
-
"removing": "移除中...",
|
|
43
|
-
"confirmRemoveAction": "确认移除"
|
|
44
|
-
},
|
|
45
|
-
"create": {
|
|
46
|
-
"nameRequired": "请输入项目名称",
|
|
47
|
-
"failed": "创建失败",
|
|
48
|
-
"title": "新建项目",
|
|
49
|
-
"namePlaceholder": "输入项目名称",
|
|
50
|
-
"idUnavailable": "ID 不可用",
|
|
51
|
-
"idPlaceholder": "自动生成项目ID,可手动修改,10个字母或数字以内",
|
|
52
|
-
"workspaceLabel": "工作空间",
|
|
53
|
-
"workspaceSelected": "已选择工作空间",
|
|
54
|
-
"workspaceRequired": "请选择工作空间",
|
|
55
|
-
"workspacePlaceholder": "选择工作空间",
|
|
56
|
-
"introPlaceholder": "简短介绍(可选)",
|
|
57
|
-
"creating": "创建中..."
|
|
58
|
-
},
|
|
59
|
-
"invite": {
|
|
60
|
-
"adminLabel": "管理员",
|
|
61
|
-
"adminDesc": "可管理成员与项目设置",
|
|
62
|
-
"memberLabel": "成员",
|
|
63
|
-
"memberDesc": "可编辑项目内容",
|
|
64
|
-
"viewerLabel": "访客",
|
|
65
|
-
"viewerDesc": "仅可查看项目",
|
|
66
|
-
"emailRequired": "请输入邮箱",
|
|
67
|
-
"invited": "邀请已发送",
|
|
68
|
-
"inviteFailed": "邀请失败",
|
|
69
|
-
"title": "邀请成员",
|
|
70
|
-
"description": "通过邮箱邀请新成员加入项目",
|
|
71
|
-
"emailLabel": "邮箱地址",
|
|
72
|
-
"roleLabel": "角色",
|
|
73
|
-
"sendInvite": "发送邀请"
|
|
74
|
-
},
|
|
75
|
-
"activity": {
|
|
76
|
-
"created": "创建了项目",
|
|
77
|
-
"updated": "更新了项目信息",
|
|
78
|
-
"deleted": "删除了项目",
|
|
79
|
-
"memberInvited": "邀请新成员加入",
|
|
80
|
-
"memberJoined": "加入了项目",
|
|
81
|
-
"memberRemoved": "移除了成员",
|
|
82
|
-
"roleChanged": "变更了成员角色",
|
|
83
|
-
"moduleViewed": "查看了板块",
|
|
84
|
-
"justNow": "刚刚",
|
|
85
|
-
"minutesAgo": "{{count}} 分钟前",
|
|
86
|
-
"hoursAgo": "{{count}} 小时前",
|
|
87
|
-
"daysAgo": "{{count}} 天前",
|
|
88
|
-
"noRecords": "暂无操作记录",
|
|
89
|
-
"unknownUser": "未知用户",
|
|
90
|
-
"dateFormat": "M月d日"
|
|
91
|
-
},
|
|
92
|
-
"moduleCard": {
|
|
93
|
-
"lastUpdate": "最近更新:",
|
|
94
|
-
"today": "今天"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
"settings": {
|
|
98
|
-
"nameRequired": "请输入项目名称",
|
|
99
|
-
"saved": "项目已更新",
|
|
100
|
-
"saveFailed": "保存失败",
|
|
101
|
-
"deleted": "项目及需求已删除",
|
|
102
|
-
"transferredAndDeleted": "需求已转移到独立需求,项目已删除",
|
|
103
|
-
"deleteFailed": "删除失败",
|
|
104
|
-
"backToProject": "返回项目",
|
|
105
|
-
"title": "项目设置",
|
|
106
|
-
"basicInfo": "基本信息",
|
|
107
|
-
"projectIcon": "项目图标",
|
|
108
|
-
"projectName": "项目名称 *",
|
|
109
|
-
"projectId": "项目 ID",
|
|
110
|
-
"idUnavailable": "ID 不可用",
|
|
111
|
-
"idPlaceholder": "全大写字母数字,最多10位",
|
|
112
|
-
"projectDescription": "项目介绍",
|
|
113
|
-
"descPlaceholder": "简短介绍项目目标与范围",
|
|
114
|
-
"saveChanges": "保存修改",
|
|
115
|
-
"timezone": "项目时区",
|
|
116
|
-
"followMyTimezone": "跟随我的时区({{timezone}})",
|
|
117
|
-
"customTimezone": "自定义时区",
|
|
118
|
-
"members": "成员",
|
|
119
|
-
"dangerZone": "危险操作",
|
|
120
|
-
"dangerDesc": "删除项目将永久移除项目及其所有成员关系与活动记录,此操作不可恢复。",
|
|
121
|
-
"deleteProject": "删除项目",
|
|
122
|
-
"confirmDelete": "确认删除",
|
|
123
|
-
"confirmDeleteDesc": "此操作将永久删除「{{projectName}}」及其所有关联数据,无法恢复。",
|
|
124
|
-
"deleteMethod": "删除方式",
|
|
125
|
-
"transfer": "转移到独立需求",
|
|
126
|
-
"transferDesc": "项目需求将转移到「独立需求」项目,保留需求数据。",
|
|
127
|
-
"clear": "清空需求(不可恢复)",
|
|
128
|
-
"clearDesc": "项目及其下所有需求将被永久删除。",
|
|
129
|
-
"kbSection": {
|
|
130
|
-
"title": "关联知识库",
|
|
131
|
-
"desc": "项目需求可关联以下团队知识库与通用知识库的页面。通用知识库默认全局可用,无需关联。",
|
|
132
|
-
"teamOnly": "仅团队可见的知识库可关联",
|
|
133
|
-
"generalDisabled": "通用知识库已全局可见,无需关联",
|
|
134
|
-
"save": "保存关联",
|
|
135
|
-
"saved": "知识库关联已更新",
|
|
136
|
-
"saveFailed": "保存失败",
|
|
137
|
-
"empty": "暂无可关联的知识库"
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
}
|
|
@@ -1,428 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"tabs": {
|
|
3
|
-
"general": "常规",
|
|
4
|
-
"generalSettings": "通用设置",
|
|
5
|
-
"personalTeam": "个人与团队",
|
|
6
|
-
"accountProfile": "账号资料",
|
|
7
|
-
"teamMembers": "团队管理",
|
|
8
|
-
"dataPrivacy": "数据与隐私",
|
|
9
|
-
"ai": "智能体",
|
|
10
|
-
"aiAgents": "智能体",
|
|
11
|
-
"aiProviders": "AI 服务商",
|
|
12
|
-
"prdDesign": "PRD原型与UI设计",
|
|
13
|
-
"uiDesign": "UI 设计",
|
|
14
|
-
"billing": "订阅与计费",
|
|
15
|
-
"subscription": "订阅管理",
|
|
16
|
-
"desktop": "桌面端",
|
|
17
|
-
"connectionMode": "连接模式",
|
|
18
|
-
"plugins": "插件",
|
|
19
|
-
"notifications": "通知"
|
|
20
|
-
},
|
|
21
|
-
"langZh": "中文",
|
|
22
|
-
"langEn": "English",
|
|
23
|
-
"languageChanged": "语言已切换",
|
|
24
|
-
"languageChangeFailed": "语言切换失败",
|
|
25
|
-
"ai": {
|
|
26
|
-
"providers": "AI 服务商",
|
|
27
|
-
"providersDescription": "点击服务商卡片配置 API Key、自定义端点与启用的模型。对话时根据所选模型自动路由到对应服务商。",
|
|
28
|
-
"privacyNotice": "隐私说明",
|
|
29
|
-
"privacyNoticeDescription": "API Key 仅保存在你的账户数据库,通过 serverFn 在服务端读取,不写入任何客户端 localStorage、cookie 或 session JWT。",
|
|
30
|
-
"loadError": "[settings/ai] 加载服务商列表失败",
|
|
31
|
-
"operationFailed": "操作失败",
|
|
32
|
-
"providerEnabled": "已启用",
|
|
33
|
-
"providerConfigured": "已配置",
|
|
34
|
-
"providerLocal": "本地",
|
|
35
|
-
"providerNotConfigured": "未配置",
|
|
36
|
-
"platformDepreciated": "平台已下架",
|
|
37
|
-
"platformDepreciatedNotice": "平台已下架,已配置用户可继续使用",
|
|
38
|
-
"modelCount": "{{count}} 个模型",
|
|
39
|
-
"enable": "启用",
|
|
40
|
-
"disable": "停用",
|
|
41
|
-
"enabledProviders": "已启用服务商({{count}})",
|
|
42
|
-
"disabledProviders": "未启用服务商({{count}})",
|
|
43
|
-
"noMatchedProviders": "没有匹配的服务商",
|
|
44
|
-
"searchPlaceholder": "搜索服务商(如 OpenAI、Claude)",
|
|
45
|
-
"sortDefault": "默认排序",
|
|
46
|
-
"sortByName": "按名称",
|
|
47
|
-
"sortConfiguredFirst": "已启用优先",
|
|
48
|
-
"localNoKeyNeeded": "本地部署无需 API Key",
|
|
49
|
-
"keyStoredEncrypted": "API Key 加密保存在数据库。",
|
|
50
|
-
"getKey": "获取 API Key",
|
|
51
|
-
"current": "当前",
|
|
52
|
-
"keepCurrentKey": "留空保留当前 Key,输入新值覆盖",
|
|
53
|
-
"hideKey": "隐藏 API Key",
|
|
54
|
-
"showKey": "显示 API Key",
|
|
55
|
-
"deleteSavedKey": "删除已保存的 API Key",
|
|
56
|
-
"createCustomModel": "创建自定义模型",
|
|
57
|
-
"createCustomModelDescription": "添加一个服务商未提供的模型(如微调模型、私有部署模型)。仅你可见。",
|
|
58
|
-
"modelId": "模型 ID *",
|
|
59
|
-
"displayName": "显示名",
|
|
60
|
-
"displayNamePlaceholder": "留空则用模型 ID",
|
|
61
|
-
"contextWindow": "上下文窗口",
|
|
62
|
-
"releaseDate": "发布日期",
|
|
63
|
-
"inputPrice": "输入价格 ($/百万 tokens)",
|
|
64
|
-
"outputPrice": "输出价格 ($/百万 tokens)",
|
|
65
|
-
"capabilitiesSection": "能力",
|
|
66
|
-
"capabilitiesMap": {
|
|
67
|
-
"text": "文本",
|
|
68
|
-
"vision": "视觉",
|
|
69
|
-
"tools": "工具",
|
|
70
|
-
"reasoning": "推理",
|
|
71
|
-
"audio": "音频"
|
|
72
|
-
},
|
|
73
|
-
"iconSlug": "图标 slug(可选)",
|
|
74
|
-
"iconSlugPlaceholder": "@lobehub/icons PascalCase 名,留空用服务商图标",
|
|
75
|
-
"tags": "标签(逗号分隔)",
|
|
76
|
-
"tagsPlaceholder": "如 旗舰, 快速",
|
|
77
|
-
"creating": "创建中...",
|
|
78
|
-
"createModel": "创建模型",
|
|
79
|
-
"fetchFailed": "获取失败",
|
|
80
|
-
"createFailed": "创建失败",
|
|
81
|
-
"totalModels": "共 {{count}} 个模型",
|
|
82
|
-
"includesCustom": "(含 {{count}} 个自定义)",
|
|
83
|
-
"searchModels": "搜索模型名称或 ID",
|
|
84
|
-
"fetchModels": "获取模型列表",
|
|
85
|
-
"enabled": "已启用",
|
|
86
|
-
"enableAll": "全部启用",
|
|
87
|
-
"toggleAllFiltered": "全部启用或停用当前筛选的模型",
|
|
88
|
-
"disableAll": "全部停用",
|
|
89
|
-
"noEnabledInFilter": "当前筛选下没有已启用的模型",
|
|
90
|
-
"noEnabledYet": "暂未启用任何模型,从下方未启用列表开启",
|
|
91
|
-
"disabled": "未启用",
|
|
92
|
-
"tabs": {
|
|
93
|
-
"all": "全部",
|
|
94
|
-
"text": "文本",
|
|
95
|
-
"reasoning": "推理",
|
|
96
|
-
"tools": "工具",
|
|
97
|
-
"vision": "视觉",
|
|
98
|
-
"video": "视频"
|
|
99
|
-
},
|
|
100
|
-
"freePrice": "免费",
|
|
101
|
-
"dragToSort": "拖动排序",
|
|
102
|
-
"tagLabels": {
|
|
103
|
-
"custom": "自定义",
|
|
104
|
-
"flagship": "旗舰",
|
|
105
|
-
"fast": "快速",
|
|
106
|
-
"recommended": "推荐",
|
|
107
|
-
"apiFetched": "API 获取"
|
|
108
|
-
},
|
|
109
|
-
"contextWindowK": "{{k}}K 上下文",
|
|
110
|
-
"toggleModel": "切换 {{name}}",
|
|
111
|
-
"saveFailedReason": "保存失败:{{message}}",
|
|
112
|
-
"configDeleted": "配置已删除",
|
|
113
|
-
"deleteFailedReason": "删除失败:{{message}}",
|
|
114
|
-
"testFailedReason": "测试失败:{{message}}",
|
|
115
|
-
"unknownError": "未知错误",
|
|
116
|
-
"back": "返回",
|
|
117
|
-
"platformDelistedTitle": "此服务商已被平台下架",
|
|
118
|
-
"platformDelistedDesc": "新用户将看不到此服务商,你仍可继续使用已保存的配置。",
|
|
119
|
-
"recommended": "推荐",
|
|
120
|
-
"docs": "文档",
|
|
121
|
-
"getApiKey": "获取 API Key",
|
|
122
|
-
"enableProvider": "启用此服务商",
|
|
123
|
-
"setupConfig": "接入配置",
|
|
124
|
-
"baseUrlLabel": "API 代理地址 (BaseURL)",
|
|
125
|
-
"baseUrlHint": "为空使用默认:",
|
|
126
|
-
"modelManagement": "模型管理",
|
|
127
|
-
"modelManagementDesc": "管理此服务商的可用模型,拖拽已启用卡片可调整顺序,顺序决定对话页模型选择器的展示。",
|
|
128
|
-
"clearConfig": "清除此服务商配置",
|
|
129
|
-
"testConnection": "测试连接",
|
|
130
|
-
"saving": "保存中…",
|
|
131
|
-
"saved": "已保存",
|
|
132
|
-
"saveShort": "保存失败",
|
|
133
|
-
"modelIdPlaceholder": "如 {{example}}",
|
|
134
|
-
"createCustomProvider": "创建自定义服务商",
|
|
135
|
-
"createCustomProviderDescription": "添加一个 OpenAI 兼容的 AI 服务商,自定义 API Key 和 BaseURL。仅你可见。",
|
|
136
|
-
"customProviderName": "服务商名称 *",
|
|
137
|
-
"customProviderNamePlaceholder": "如 私有 GPT",
|
|
138
|
-
"customApiKey": "API Key *",
|
|
139
|
-
"customBaseUrl": "BaseURL *",
|
|
140
|
-
"customBaseUrlPlaceholder": "如 https://api.openai.com/v1",
|
|
141
|
-
"customDefaultModel": "默认模型 ID",
|
|
142
|
-
"customDefaultModelPlaceholder": "可选,如 gpt-4o",
|
|
143
|
-
"creatingProvider": "创建中...",
|
|
144
|
-
"createProvider": "创建服务商",
|
|
145
|
-
"providerCreated": "服务商创建成功",
|
|
146
|
-
"providerCreatedToast": "{{name}} 已创建并启用",
|
|
147
|
-
"customProviders": "自定义服务商({{count}})",
|
|
148
|
-
"noCustomProvider": "点击右上方「+」创建自定义服务商",
|
|
149
|
-
"customBadge": "自定义",
|
|
150
|
-
"deleteCustomProvider": "删除服务商",
|
|
151
|
-
"confirmDeleteProvider": "确认删除「{{name}}」?",
|
|
152
|
-
"confirmDeleteProviderDescription": "删除后将无法使用该服务商,已保存的模型配置也将丢失。此操作不可撤销。",
|
|
153
|
-
"deletingProvider": "删除中...",
|
|
154
|
-
"providerDeleted": "服务商已删除"
|
|
155
|
-
},
|
|
156
|
-
"billing": {
|
|
157
|
-
"subscriptionSuccess": "订阅成功!",
|
|
158
|
-
"paymentCancelled": "已取消支付"
|
|
159
|
-
},
|
|
160
|
-
"connection": {
|
|
161
|
-
"cloud": "云端",
|
|
162
|
-
"selfHosted": "自部署",
|
|
163
|
-
"local": "本地",
|
|
164
|
-
"mode": "连接模式",
|
|
165
|
-
"modeDescription": "管理桌面端的连接方式",
|
|
166
|
-
"currentMode": "当前模式",
|
|
167
|
-
"cloudDescription": "已连接到 AllBlue 官方云端服务",
|
|
168
|
-
"localDescription": "使用本地 SQLite 数据库,数据存储在本机",
|
|
169
|
-
"switchMode": "切换连接模式",
|
|
170
|
-
"selfHostedDescription": "已连接到自部署实例:{{label}}"
|
|
171
|
-
},
|
|
172
|
-
"design": {
|
|
173
|
-
"hideToken": "隐藏 Token",
|
|
174
|
-
"showToken": "显示 Token",
|
|
175
|
-
"copyToken": "复制 Token",
|
|
176
|
-
"copyTokenSuccess": "Token 已复制",
|
|
177
|
-
"tokenNotGenerated": "尚未生成 Token",
|
|
178
|
-
"regenerate": "重新生成",
|
|
179
|
-
"generateToken": "生成 Token",
|
|
180
|
-
"delete": "删除",
|
|
181
|
-
"confirmDeleteToken": "确认删除 Token?",
|
|
182
|
-
"confirmDeleteTokenDescription": "删除后使用该 Token 的 Sketch 插件将无法连接。此操作不可撤销。",
|
|
183
|
-
"cancel": "取消",
|
|
184
|
-
"tokenGenerated": "Token 已生成",
|
|
185
|
-
"generateFailed": "生成失败",
|
|
186
|
-
"tokenDeleted": "Token 已删除",
|
|
187
|
-
"deleteFailed": "删除失败",
|
|
188
|
-
"setupStep1": "1. 点击「生成 Token」创建访问令牌",
|
|
189
|
-
"setupStep2": "2. 复制 Token 并粘贴到 Sketch 插件面板",
|
|
190
|
-
"setupStep3": "3. 在 Sketch 中打开 Plugins → AllBlue → 打开控制面板"
|
|
191
|
-
},
|
|
192
|
-
"general": {
|
|
193
|
-
"title": "通用设置",
|
|
194
|
-
"timezone": "时区",
|
|
195
|
-
"timezoneDescription": "设置你的偏好时区,所有时间(文档、PRD、活动等)将按此显示。项目可单独覆盖。",
|
|
196
|
-
"timezoneRequired": "请选择时区",
|
|
197
|
-
"timezoneUpdated": "时区已更新",
|
|
198
|
-
"saveFailed": "保存失败",
|
|
199
|
-
"language": "语言",
|
|
200
|
-
"languageDescription": "选择界面显示语言,切换后即时生效。"
|
|
201
|
-
},
|
|
202
|
-
"notFound": {
|
|
203
|
-
"title": "页面不存在",
|
|
204
|
-
"description": "设置中没有找到该页面",
|
|
205
|
-
"backToSettings": "返回设置",
|
|
206
|
-
"backToWorkspace": "返回工作台"
|
|
207
|
-
},
|
|
208
|
-
"nav": {
|
|
209
|
-
"settings": "设置"
|
|
210
|
-
},
|
|
211
|
-
"avatar": {
|
|
212
|
-
"editTitle": "编辑头像",
|
|
213
|
-
"editDescription": "选择风格自定义你的头像",
|
|
214
|
-
"random": "随机",
|
|
215
|
-
"flip": "翻转",
|
|
216
|
-
"bgColor": "背景色",
|
|
217
|
-
"bgShape": "背景形状",
|
|
218
|
-
"reset": "重置",
|
|
219
|
-
"shapeSquare": "方形",
|
|
220
|
-
"shapeCircle": "圆形",
|
|
221
|
-
"shapeRounded": "圆角",
|
|
222
|
-
"none": "无",
|
|
223
|
-
"part": {
|
|
224
|
-
"face": "脸型",
|
|
225
|
-
"eyes": "眼睛",
|
|
226
|
-
"eyebrows": "眉毛",
|
|
227
|
-
"mouth": "嘴巴",
|
|
228
|
-
"nose": "鼻子",
|
|
229
|
-
"glasses": "眼镜",
|
|
230
|
-
"hair": "发型",
|
|
231
|
-
"accessories": "配饰",
|
|
232
|
-
"details": "细节",
|
|
233
|
-
"beard": "胡须"
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
"profile": {
|
|
237
|
-
"title": "个人资料设置",
|
|
238
|
-
"description": "管理你的个人资料和头像",
|
|
239
|
-
"saving": "保存中…",
|
|
240
|
-
"saveChanges": "保存修改",
|
|
241
|
-
"enterName": "请输入姓名",
|
|
242
|
-
"enterEmail": "请输入邮箱",
|
|
243
|
-
"invalidEmail": "请输入有效的邮箱地址",
|
|
244
|
-
"invalidUrl": "请输入有效的网址",
|
|
245
|
-
"saveFailed": "保存资料失败",
|
|
246
|
-
"enterNewEmail": "请输入新邮箱",
|
|
247
|
-
"enterCurrentPassword": "请输入当前密码",
|
|
248
|
-
"emailChangeFailed": "更换邮箱失败",
|
|
249
|
-
"avatar": "头像",
|
|
250
|
-
"defaultUser": "用户",
|
|
251
|
-
"uploadImage": "上传图片",
|
|
252
|
-
"avatarDescription": "点击头像可自定义风格,上传图片功能暂未启用",
|
|
253
|
-
"name": "姓名",
|
|
254
|
-
"namePlaceholder": "请输入姓名",
|
|
255
|
-
"email": "邮箱",
|
|
256
|
-
"changeEmail": "更换邮箱",
|
|
257
|
-
"newEmail": "新邮箱",
|
|
258
|
-
"currentPassword": "当前密码",
|
|
259
|
-
"currentPasswordPlaceholder": "请输入当前密码",
|
|
260
|
-
"changingEmail": "更换中…",
|
|
261
|
-
"confirmChange": "确认更换",
|
|
262
|
-
"bio": "个人简介",
|
|
263
|
-
"bioPlaceholder": "介绍一下你自己...",
|
|
264
|
-
"bioDescription": "简短的个人介绍(最多 500 字符)",
|
|
265
|
-
"location": "所在地",
|
|
266
|
-
"locationPlaceholder": "城市,国家",
|
|
267
|
-
"website": "网站",
|
|
268
|
-
"socialLinks": "社交链接",
|
|
269
|
-
"socialWebsite": "个人网站",
|
|
270
|
-
"socialTwitter": "Twitter/X",
|
|
271
|
-
"socialGitHub": "GitHub",
|
|
272
|
-
"socialLinkedIn": "LinkedIn",
|
|
273
|
-
"avatarSaveFailed": "头像保存失败",
|
|
274
|
-
"avatarUpdated": "头像已更新",
|
|
275
|
-
"saved": "资料已保存({{name}})",
|
|
276
|
-
"notAvailable": "{{label}}功能暂未开放",
|
|
277
|
-
"accountInfoTitle": "账号资料",
|
|
278
|
-
"accountInfoDesc": "管理你的账号信息与头像",
|
|
279
|
-
"accountMetadata": "账号信息",
|
|
280
|
-
"accountMetadataDesc": "账号基础元数据",
|
|
281
|
-
"createdAt": "注册时间",
|
|
282
|
-
"createdAtDesc": "账号创建时间",
|
|
283
|
-
"unknown": "未知"
|
|
284
|
-
},
|
|
285
|
-
"privacy": {
|
|
286
|
-
"title": "数据与隐私",
|
|
287
|
-
"exportTitle": "导出数据",
|
|
288
|
-
"exportDesc": "请求导出您在 AllBlue 上的所有个人数据",
|
|
289
|
-
"exportBtn": "请求导出",
|
|
290
|
-
"deleteTitle": "删除账户与数据",
|
|
291
|
-
"deleteDesc": "此操作不可撤销,将永久删除您的账户和所有数据",
|
|
292
|
-
"deleteBtn": "请求删除",
|
|
293
|
-
"deleteConfirmLabel": "请输入您的用户名以确认",
|
|
294
|
-
"deleteConfirmPlaceholder": "输入用户名",
|
|
295
|
-
"submitted": "请求已提交"
|
|
296
|
-
},
|
|
297
|
-
"team": {
|
|
298
|
-
"title": "团队管理",
|
|
299
|
-
"memberCount": "共 {{count}} 位成员",
|
|
300
|
-
"searchPlaceholder": "搜索成员…",
|
|
301
|
-
"allRoles": "全部角色",
|
|
302
|
-
"role": {
|
|
303
|
-
"owner": "所有者",
|
|
304
|
-
"admin": "管理员",
|
|
305
|
-
"member": "成员",
|
|
306
|
-
"viewer": "查看者",
|
|
307
|
-
"guest": "访客"
|
|
308
|
-
},
|
|
309
|
-
"allStatuses": "全部状态",
|
|
310
|
-
"status": {
|
|
311
|
-
"active": "正常",
|
|
312
|
-
"invited": "已邀请",
|
|
313
|
-
"suspended": "已停用",
|
|
314
|
-
"pending": "待接受",
|
|
315
|
-
"pendingApproval": "待批准",
|
|
316
|
-
"accepted": "已接受",
|
|
317
|
-
"expired": "已过期",
|
|
318
|
-
"revoked": "已撤销"
|
|
319
|
-
},
|
|
320
|
-
"noMatch": "未找到匹配的成员",
|
|
321
|
-
"noMembers": "暂无成员",
|
|
322
|
-
"tryAdjustFilters": "尝试调整筛选条件",
|
|
323
|
-
"cancel": "取消",
|
|
324
|
-
"emailRequired": "请输入邮箱地址",
|
|
325
|
-
"invalidEmail": "请输入有效的邮箱地址",
|
|
326
|
-
"inviteMembers": "邀请成员开始吧",
|
|
327
|
-
"you": "你",
|
|
328
|
-
"joinedAt": "加入于",
|
|
329
|
-
"lastActiveAt": "活跃于",
|
|
330
|
-
"sessions": "{{count}} 次会话",
|
|
331
|
-
"moreActions": "更多操作",
|
|
332
|
-
"promoteToAdmin": "提升为管理员",
|
|
333
|
-
"demoteToMember": "降级为成员",
|
|
334
|
-
"resendInvite": "重新发送邀请",
|
|
335
|
-
"removeMember": "移除成员",
|
|
336
|
-
"removeMemberConfirm": "确认移除该成员?",
|
|
337
|
-
"never": "从未",
|
|
338
|
-
"justNow": "刚刚",
|
|
339
|
-
"minutesAgo": "{{count}} 分钟前",
|
|
340
|
-
"hoursAgo": "{{count}} 小时前",
|
|
341
|
-
"daysAgo": "{{count}} 天前",
|
|
342
|
-
"expired": "已过期",
|
|
343
|
-
"days": "{{count}} 天",
|
|
344
|
-
"hours": "{{count}} 小时",
|
|
345
|
-
"lessThanHour": "不足一小时",
|
|
346
|
-
"directLink": "链接邀请",
|
|
347
|
-
"resend": "重新发送",
|
|
348
|
-
"revoke": "撤销",
|
|
349
|
-
"copyLink": "复制链接",
|
|
350
|
-
"inviteSent": "邀请已发送",
|
|
351
|
-
"inviteApproved": "已批准加入",
|
|
352
|
-
"linkCreated": "链接已创建",
|
|
353
|
-
"guestBadge": "访客",
|
|
354
|
-
"unlimited": "无限",
|
|
355
|
-
"seatMembers": "成员席位",
|
|
356
|
-
"seatMembersHint": "团队成员席位使用情况",
|
|
357
|
-
"seatGuests": "访客席位",
|
|
358
|
-
"seatGuestsHint": "每加购 1 成员席位赠送 3 访客席位",
|
|
359
|
-
"invite": {
|
|
360
|
-
"title": "邀请",
|
|
361
|
-
"description": "{{pending}} 个待接受,{{approvalPending}} 个待同意,{{accepted}} 个已加入",
|
|
362
|
-
"linkTitle": "链接邀请",
|
|
363
|
-
"linkDescription": "生成邀请链接分享给团队成员",
|
|
364
|
-
"generateLink": "生成邀请链接",
|
|
365
|
-
"refreshLink": "生成链接",
|
|
366
|
-
"linkRefreshing": "生成中…",
|
|
367
|
-
"linkExpiry": "有效期至",
|
|
368
|
-
"noActiveLink": "暂无有效邀请链接,点击「生成链接」创建",
|
|
369
|
-
"emailTitle": "邮箱邀请",
|
|
370
|
-
"emailDescription": "通过邮箱邀请团队成员加入",
|
|
371
|
-
"directLink": "生成直接链接(无需邮箱)",
|
|
372
|
-
"email": "邮箱",
|
|
373
|
-
"emailPlaceholder": "填写被邀请成员的邮箱",
|
|
374
|
-
"role": "角色",
|
|
375
|
-
"roleDescription": "成员可创建内容,访客仅可查看",
|
|
376
|
-
"expires": "有效期",
|
|
377
|
-
"message": "留言(可选)",
|
|
378
|
-
"messagePlaceholder": "添加一句留言",
|
|
379
|
-
"creating": "创建中…",
|
|
380
|
-
"sendInvite": "发送邀请",
|
|
381
|
-
"noInvitations": "暂无邀请",
|
|
382
|
-
"createFirst": "创建一个邀请开始吧。",
|
|
383
|
-
"historyTitle": "邀请记录",
|
|
384
|
-
"clearExpired": "清除所有已过期邀请",
|
|
385
|
-
"approve": "同意",
|
|
386
|
-
"approveTitle": "批准成员加入",
|
|
387
|
-
"approveDescription": "选择角色后批准该成员加入团队",
|
|
388
|
-
"linkExpired": "链接已过期,需重新生成",
|
|
389
|
-
"invitedAt": "于",
|
|
390
|
-
"acceptedAt": "已于",
|
|
391
|
-
"deleteRecord": "删除记录"
|
|
392
|
-
},
|
|
393
|
-
"joinRequests": {
|
|
394
|
-
"appliedAt": "申请于",
|
|
395
|
-
"reject": "拒绝",
|
|
396
|
-
"requestApproved": "已加入",
|
|
397
|
-
"requestRejected": "已拒绝",
|
|
398
|
-
"requestInvalidated": "已失效"
|
|
399
|
-
},
|
|
400
|
-
"expiresIn": "{{time}}后过期",
|
|
401
|
-
"inviteCreateFailed": "创建邀请失败",
|
|
402
|
-
"subtitle": "邀请、管理与退出团队成员",
|
|
403
|
-
"notImplemented": "{{action}}功能暂未开放",
|
|
404
|
-
"linkCopied": "链接已复制:{{link}}",
|
|
405
|
-
"linkCopiedMessage": "我在 AllBlue 创建了团队,邀请你一起来协作。打开下面链接就能加入团队:`{{inviteLink}}`\n\n加入后可以一起管理项目、共享数据。链接有效期 {{days}} 天,如果失效告诉我,我重新生成。",
|
|
406
|
-
"dangerZone": "危险操作",
|
|
407
|
-
"dangerZoneDesc": "以下操作不可撤销,请谨慎执行",
|
|
408
|
-
"leaveTeamTitle": "退出当前团队",
|
|
409
|
-
"leaveTeamDesc": "退出后将失去该团队的所有访问权限",
|
|
410
|
-
"leaveTeam": "退出团队",
|
|
411
|
-
"joinedTeam": "已加入 {{username}} 团队",
|
|
412
|
-
"memberInfo": "成员信息",
|
|
413
|
-
"noTeam": "暂无团队",
|
|
414
|
-
"noTeamDesc": "邀请团队成员,开始协作",
|
|
415
|
-
"channel": {
|
|
416
|
-
"email": "邮箱邀请",
|
|
417
|
-
"link": "链接邀请"
|
|
418
|
-
},
|
|
419
|
-
"unregistered": "未注册",
|
|
420
|
-
"sampleNames": {
|
|
421
|
-
"zhangsan": "张三",
|
|
422
|
-
"lisi": "李四",
|
|
423
|
-
"wangwu": "王五",
|
|
424
|
-
"zhaoliu": "赵六",
|
|
425
|
-
"qianqi": "钱七"
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"review": {
|
|
3
|
-
"pending": "待评审",
|
|
4
|
-
"reviewing": "评审中",
|
|
5
|
-
"approved": "已通过",
|
|
6
|
-
"rejected": "已驳回",
|
|
7
|
-
"status-updated": "评审状态已更新",
|
|
8
|
-
"update-failed": "更新失败",
|
|
9
|
-
"login-required": "请登录后参与评审",
|
|
10
|
-
"status-label": "评审状态",
|
|
11
|
-
"notes-placeholder": "评审意见...",
|
|
12
|
-
"approve": "通过",
|
|
13
|
-
"reject": "驳回"
|
|
14
|
-
},
|
|
15
|
-
"comment": {
|
|
16
|
-
"input-placeholder": "输入评论...",
|
|
17
|
-
"send": "发送",
|
|
18
|
-
"login-required": "请登录后评论"
|
|
19
|
-
}
|
|
20
|
-
}
|