@deep-eye/core 1.3.82 → 1.3.84
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/CHANGELOG.md +66 -0
- package/README.md +1 -1
- package/dist/{ChartRenderer-CdMqq77C.js → ChartRenderer-BFYHRt_Q.js} +1 -1
- package/dist/{ChartRenderer-D5Z9667V.cjs → ChartRenderer-NUULTbe7.cjs} +1 -1
- package/dist/ChatMyFilesArtifacts-BxZqqm8I.cjs +1 -0
- package/dist/ChatMyFilesArtifacts-Qkim1200.js +1030 -0
- package/dist/chat-token.css +209 -7
- package/dist/components/chat/ChatApp.vue.d.ts +41 -7
- package/dist/components/chat/ChatApp.vue.d.ts.map +1 -1
- package/dist/components/chat/ChatBot.vue.d.ts +3 -3
- package/dist/components/chat/ChatBot.vue.d.ts.map +1 -1
- package/dist/components/chat/addToTask.d.ts +46 -0
- package/dist/components/chat/addToTask.d.ts.map +1 -0
- package/dist/components/chat/attachmentController.d.ts.map +1 -1
- package/dist/components/chat/attachments.d.ts.map +1 -1
- package/dist/components/chat/chatAppMyFiles.d.ts +43 -0
- package/dist/components/chat/chatAppMyFiles.d.ts.map +1 -0
- package/dist/components/chat/chatContext.d.ts +17 -0
- package/dist/components/chat/chatContext.d.ts.map +1 -1
- package/dist/components/chat/chatFilePicker.d.ts +243 -0
- package/dist/components/chat/chatFilePicker.d.ts.map +1 -0
- package/dist/components/chat/chatSessionSidebarAssets.d.ts +13 -0
- package/dist/components/chat/chatSessionSidebarAssets.d.ts.map +1 -1
- package/dist/components/chat/cloudAxios.d.ts +30 -0
- package/dist/components/chat/cloudAxios.d.ts.map +1 -0
- package/dist/components/chat/cloudConfig.d.ts +95 -8
- package/dist/components/chat/cloudConfig.d.ts.map +1 -1
- package/dist/components/chat/components/ArtifactPreview.vue.d.ts +6 -0
- package/dist/components/chat/components/ArtifactPreview.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatActionbar.vue.d.ts +2 -2
- package/dist/components/chat/components/ChatAttachments.vue.d.ts +8 -1
- package/dist/components/chat/components/ChatAttachments.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatComposerContextBar.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatFileCard.vue.d.ts +2 -2
- package/dist/components/chat/components/ChatFileCard.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatFilePickerDialog.vue.d.ts +56 -0
- package/dist/components/chat/components/ChatFilePickerDialog.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatFilePreview.vue.d.ts +41 -2
- package/dist/components/chat/components/ChatFilePreview.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatFilePreviewPanel.vue.d.ts +9 -2
- package/dist/components/chat/components/ChatFilePreviewPanel.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatKnowledgeLibraryList.vue.d.ts +32 -0
- package/dist/components/chat/components/ChatKnowledgeLibraryList.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatMessage.vue.d.ts +1 -1
- package/dist/components/chat/components/ChatPreviewEmpty.vue.d.ts +53 -0
- package/dist/components/chat/components/ChatPreviewEmpty.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatPreviewHeader.vue.d.ts +87 -0
- package/dist/components/chat/components/ChatPreviewHeader.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatProvider.vue.d.ts +2 -2
- package/dist/components/chat/components/ChatProvider.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatQueue.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatQuotaDialog.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSender.vue.d.ts +18 -1
- package/dist/components/chat/components/ChatSender.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSessionExpandHistoryCard.vue.d.ts +1 -1
- package/dist/components/chat/components/ChatSessionExpandHistoryCard.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSessionGroupRow.vue.d.ts +3 -0
- package/dist/components/chat/components/ChatSessionGroupRow.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSessionGroupSection.vue.d.ts +5 -2
- package/dist/components/chat/components/ChatSessionGroupSection.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSessionPinnedSection.vue.d.ts +3 -0
- package/dist/components/chat/components/ChatSessionPinnedSection.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts +21 -1
- package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSessionStatusMark.vue.d.ts +1 -1
- package/dist/components/chat/components/ChatSessionStatusMark.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatTipMenu.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ConversationIndex.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ConversationList.vue.d.ts +2 -2
- package/dist/components/chat/components/MessageBubble.vue.d.ts +1 -1
- package/dist/components/chat/components/MessageBubble.vue.d.ts.map +1 -1
- package/dist/components/chat/components/OpenFileViewerHost.vue.d.ts +6 -0
- package/dist/components/chat/components/OpenFileViewerHost.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ProcessStepGroup.vue.d.ts +1 -1
- package/dist/components/chat/components/ProcessStepGroup.vue.d.ts.map +1 -1
- package/dist/components/chat/components/SubagentRunsPanel.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/DocumentViewer.vue.d.ts +10 -0
- package/dist/components/chat/components/document-viewer/DocumentViewer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/bento/BentoRenderer.vue.d.ts +1 -0
- package/dist/components/chat/components/document-viewer/bento/BentoRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/chromeBridge.d.ts +53 -0
- package/dist/components/chat/components/document-viewer/chromeBridge.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/html/HtmlRenderer.vue.d.ts +1 -0
- package/dist/components/chat/components/document-viewer/html/HtmlRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue.d.ts +1 -0
- package/dist/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/office/OfficeDocumentViewer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/onlyoffice/OnlyOfficeRenderer.vue.d.ts +9 -3
- package/dist/components/chat/components/document-viewer/onlyoffice/OnlyOfficeRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/onlyoffice/onlyOfficeConfig.d.ts +36 -1
- package/dist/components/chat/components/document-viewer/onlyoffice/onlyOfficeConfig.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/onlyoffice/onlyOfficeProfile.d.ts +153 -0
- package/dist/components/chat/components/document-viewer/onlyoffice/onlyOfficeProfile.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfRenderer.vue.d.ts +1 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/text/TextRenderer.vue.d.ts +1 -0
- package/dist/components/chat/components/document-viewer/text/TextRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/types.d.ts +18 -0
- package/dist/components/chat/components/document-viewer/types.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue.d.ts +1 -0
- package/dist/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ArtifactFileMoreButton.vue.d.ts +34 -0
- package/dist/components/chat/components/files/ArtifactFileMoreButton.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatArtifactFileRow.vue.d.ts +25 -0
- package/dist/components/chat/components/files/ChatArtifactFileRow.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatArtifactPreview.vue.d.ts +31 -0
- package/dist/components/chat/components/files/ChatArtifactPreview.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatArtifactsSkeleton.vue.d.ts +17 -0
- package/dist/components/chat/components/files/ChatArtifactsSkeleton.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatFileCheckbox.vue.d.ts +24 -0
- package/dist/components/chat/components/files/ChatFileCheckbox.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFiles.vue.d.ts +49 -0
- package/dist/components/chat/components/files/ChatMyFiles.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesArtifacts.vue.d.ts +18 -0
- package/dist/components/chat/components/files/ChatMyFilesArtifacts.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesDirectory.vue.d.ts +31 -0
- package/dist/components/chat/components/files/ChatMyFilesDirectory.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesDocEditor.vue.d.ts +44 -0
- package/dist/components/chat/components/files/ChatMyFilesDocEditor.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesEmptyGuide.vue.d.ts +12 -0
- package/dist/components/chat/components/files/ChatMyFilesEmptyGuide.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesFileTable.vue.d.ts +62 -0
- package/dist/components/chat/components/files/ChatMyFilesFileTable.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesFolder.vue.d.ts +48 -0
- package/dist/components/chat/components/files/ChatMyFilesFolder.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesKindMenuItemIcon.vue.d.ts +15 -0
- package/dist/components/chat/components/files/ChatMyFilesKindMenuItemIcon.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesPrompt.vue.d.ts +37 -0
- package/dist/components/chat/components/files/ChatMyFilesPrompt.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesQuickAdd.vue.d.ts +38 -0
- package/dist/components/chat/components/files/ChatMyFilesQuickAdd.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesRecent.vue.d.ts +35 -0
- package/dist/components/chat/components/files/ChatMyFilesRecent.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesSearchDialog.vue.d.ts +37 -0
- package/dist/components/chat/components/files/ChatMyFilesSearchDialog.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesState.vue.d.ts +29 -0
- package/dist/components/chat/components/files/ChatMyFilesState.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesStateArt.vue.d.ts +10 -0
- package/dist/components/chat/components/files/ChatMyFilesStateArt.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesTree.vue.d.ts +49 -0
- package/dist/components/chat/components/files/ChatMyFilesTree.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesTypeMark.vue.d.ts +13 -0
- package/dist/components/chat/components/files/ChatMyFilesTypeMark.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesUploadDialog.vue.d.ts +32 -0
- package/dist/components/chat/components/files/ChatMyFilesUploadDialog.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesUploadPanel.vue.d.ts +21 -0
- package/dist/components/chat/components/files/ChatMyFilesUploadPanel.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesViewer.vue.d.ts +59 -0
- package/dist/components/chat/components/files/ChatMyFilesViewer.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatTextReader.vue.d.ts +29 -0
- package/dist/components/chat/components/files/ChatTextReader.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/chatArtifactFileActions.d.ts +118 -0
- package/dist/components/chat/components/files/chatArtifactFileActions.d.ts.map +1 -0
- package/dist/components/chat/components/files/chatFileTransfer.d.ts +141 -0
- package/dist/components/chat/components/files/chatFileTransfer.d.ts.map +1 -0
- package/dist/components/chat/components/files/chatFileTransferSources.d.ts +32 -0
- package/dist/components/chat/components/files/chatFileTransferSources.d.ts.map +1 -0
- package/dist/components/chat/components/files/chatMyFilesApi.d.ts +270 -0
- package/dist/components/chat/components/files/chatMyFilesApi.d.ts.map +1 -0
- package/dist/components/chat/components/files/chatMyFilesModel.d.ts +122 -0
- package/dist/components/chat/components/files/chatMyFilesModel.d.ts.map +1 -0
- package/dist/components/chat/components/files/chatQuickAddMenu.d.ts +33 -0
- package/dist/components/chat/components/files/chatQuickAddMenu.d.ts.map +1 -0
- package/dist/components/chat/components/files/chatReviewApi.d.ts +75 -0
- package/dist/components/chat/components/files/chatReviewApi.d.ts.map +1 -0
- package/dist/components/chat/components/files/index.d.ts +26 -0
- package/dist/components/chat/components/files/index.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesApiUtils.d.ts +9 -0
- package/dist/components/chat/components/files/myFilesApiUtils.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesChunkUpload.d.ts +86 -0
- package/dist/components/chat/components/files/myFilesChunkUpload.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesExpandMemory.d.ts +15 -0
- package/dist/components/chat/components/files/myFilesExpandMemory.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesFilePicker.d.ts +30 -0
- package/dist/components/chat/components/files/myFilesFilePicker.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesFolderModel.d.ts +32 -0
- package/dist/components/chat/components/files/myFilesFolderModel.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesKindMenu.d.ts +19 -0
- package/dist/components/chat/components/files/myFilesKindMenu.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesMarkdown.d.ts +40 -0
- package/dist/components/chat/components/files/myFilesMarkdown.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesPreview.d.ts +52 -0
- package/dist/components/chat/components/files/myFilesPreview.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesRecentVisits.d.ts +22 -0
- package/dist/components/chat/components/files/myFilesRecentVisits.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesRows.d.ts +86 -0
- package/dist/components/chat/components/files/myFilesRows.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesSearch.d.ts +80 -0
- package/dist/components/chat/components/files/myFilesSearch.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesToast.d.ts +31 -0
- package/dist/components/chat/components/files/myFilesToast.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesTransferQueue.d.ts +76 -0
- package/dist/components/chat/components/files/myFilesTransferQueue.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesTree.d.ts +53 -0
- package/dist/components/chat/components/files/myFilesTree.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesUploadPersistence.d.ts +48 -0
- package/dist/components/chat/components/files/myFilesUploadPersistence.d.ts.map +1 -0
- package/dist/components/chat/components/files/myFilesUploadQueue.d.ts +125 -0
- package/dist/components/chat/components/files/myFilesUploadQueue.d.ts.map +1 -0
- package/dist/components/chat/components/files/useArtifactNotice.d.ts +17 -0
- package/dist/components/chat/components/files/useArtifactNotice.d.ts.map +1 -0
- package/dist/components/chat/components/files/useFileTransfer.d.ts +60 -0
- package/dist/components/chat/components/files/useFileTransfer.d.ts.map +1 -0
- package/dist/components/chat/components/index.d.ts +7 -1
- package/dist/components/chat/components/index.d.ts.map +1 -1
- package/dist/components/chat/composables/chatApiRequest.d.ts.map +1 -1
- package/dist/components/chat/composables/chatHistoryApi.d.ts.map +1 -1
- package/dist/components/chat/composables/chatReferenceApi.d.ts.map +1 -1
- package/dist/components/chat/composables/chatSessionGroupApi.d.ts.map +1 -1
- package/dist/components/chat/composables/chatTtsApi.d.ts.map +1 -1
- package/dist/components/chat/composables/fetchModelList.d.ts +2 -2
- package/dist/components/chat/composables/fetchModelList.d.ts.map +1 -1
- package/dist/components/chat/composables/useChatSkillTipMenu.d.ts +22 -1
- package/dist/components/chat/composables/useChatSkillTipMenu.d.ts.map +1 -1
- package/dist/components/chat/composables/useChatTipMenu.d.ts +13 -4
- package/dist/components/chat/composables/useChatTipMenu.d.ts.map +1 -1
- package/dist/components/chat/composer/composerExtensions.d.ts +1 -1
- package/dist/components/chat/fileIcons.d.ts +42 -2
- package/dist/components/chat/fileIcons.d.ts.map +1 -1
- package/dist/components/chat/hydrateHistory.d.ts.map +1 -1
- package/dist/components/chat/icons/ChatFileDropIcon.vue.d.ts +6 -0
- package/dist/components/chat/icons/ChatFileDropIcon.vue.d.ts.map +1 -1
- package/dist/components/chat/icons/ChatTipMenuLocalFileIcon.vue.d.ts +7 -0
- package/dist/components/chat/icons/ChatTipMenuLocalFileIcon.vue.d.ts.map +1 -0
- package/dist/components/chat/icons/ChatTipMenuMyFilesIcon.vue.d.ts +7 -0
- package/dist/components/chat/icons/ChatTipMenuMyFilesIcon.vue.d.ts.map +1 -0
- package/dist/components/chat/icons/index.d.ts +3 -1
- package/dist/components/chat/icons/index.d.ts.map +1 -1
- package/dist/components/chat/icons/tipMenuItemIcons.d.ts +24 -0
- package/dist/components/chat/icons/tipMenuItemIcons.d.ts.map +1 -1
- package/dist/components/chat/index.d.ts +9 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/mdoc/ArtifactBlock.vue.d.ts +5 -0
- package/dist/components/chat/mdoc/ArtifactBlock.vue.d.ts.map +1 -1
- package/dist/components/chat/mdoc/ArtifactStack.vue.d.ts.map +1 -1
- package/dist/components/chat/mdoc/ContentNodes.vue.d.ts.map +1 -1
- package/dist/components/chat/mdoc/artifactDownload.d.ts +16 -3
- package/dist/components/chat/mdoc/artifactDownload.d.ts.map +1 -1
- package/dist/components/chat/mdoc/artifactStack.d.ts +7 -2
- package/dist/components/chat/mdoc/artifactStack.d.ts.map +1 -1
- package/dist/components/chat/openFileViewer.d.ts +25 -2
- package/dist/components/chat/openFileViewer.d.ts.map +1 -1
- package/dist/components/chat/previewRenderers.d.ts +14 -0
- package/dist/components/chat/previewRenderers.d.ts.map +1 -1
- package/dist/components/chat/senderReferenceStack.d.ts +1 -1
- package/dist/components/chat/senderReferenceStack.d.ts.map +1 -1
- package/dist/components/chat/subagentDisplay.d.ts +4 -18
- package/dist/components/chat/subagentDisplay.d.ts.map +1 -1
- package/dist/components/chat/types.d.ts +93 -3
- package/dist/components/chat/types.d.ts.map +1 -1
- package/dist/components/chat/utils/tipMenuBuiltin.d.ts.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/library/LibraryApp.vue.d.ts +68 -0
- package/dist/components/library/LibraryApp.vue.d.ts.map +1 -0
- package/dist/components/library/api/libraryApi.d.ts +8 -0
- package/dist/components/library/api/libraryApi.d.ts.map +1 -0
- package/dist/components/library/api/libraryContract.d.ts +36 -0
- package/dist/components/library/api/libraryContract.d.ts.map +1 -0
- package/dist/components/library/api/libraryMockApi.d.ts +3 -0
- package/dist/components/library/api/libraryMockApi.d.ts.map +1 -0
- package/dist/components/library/api/libraryTypes.d.ts +97 -0
- package/dist/components/library/api/libraryTypes.d.ts.map +1 -0
- package/dist/components/library/components/LibraryDocEditor.vue.d.ts +50 -0
- package/dist/components/library/components/LibraryDocEditor.vue.d.ts.map +1 -0
- package/dist/components/library/components/LibraryReadonlyPane.vue.d.ts +15 -0
- package/dist/components/library/components/LibraryReadonlyPane.vue.d.ts.map +1 -0
- package/dist/components/library/components/LibrarySidebar.vue.d.ts +41 -0
- package/dist/components/library/components/LibrarySidebar.vue.d.ts.map +1 -0
- package/dist/components/library/components/LibraryTreeNode.vue.d.ts +17 -0
- package/dist/components/library/components/LibraryTreeNode.vue.d.ts.map +1 -0
- package/dist/components/library/composables/useLibraryAutoSave.d.ts +36 -0
- package/dist/components/library/composables/useLibraryAutoSave.d.ts.map +1 -0
- package/dist/components/library/index.d.ts +14 -0
- package/dist/components/library/index.d.ts.map +1 -0
- package/dist/components/library/registry/libraryFileTypes.d.ts +42 -0
- package/dist/components/library/registry/libraryFileTypes.d.ts.map +1 -0
- package/dist/components/skill/index.d.ts +1 -0
- package/dist/components/skill/index.d.ts.map +1 -1
- package/dist/components/ui/components/UiDialog.vue.d.ts +21 -0
- package/dist/components/ui/components/UiDialog.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiDropdown.vue.d.ts +2 -0
- package/dist/components/ui/components/UiDropdown.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiEmptyState.vue.d.ts +29 -0
- package/dist/components/ui/components/UiEmptyState.vue.d.ts.map +1 -0
- package/dist/components/ui/components/UiIconButton.vue.d.ts +45 -0
- package/dist/components/ui/components/UiIconButton.vue.d.ts.map +1 -0
- package/dist/components/ui/components/UiMenu.vue.d.ts +2 -0
- package/dist/components/ui/components/UiMenu.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiMenuNestedSubmenu.vue.d.ts +3 -0
- package/dist/components/ui/components/UiMenuNestedSubmenu.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiPopover.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiProgressRing.vue.d.ts +32 -0
- package/dist/components/ui/components/UiProgressRing.vue.d.ts.map +1 -0
- package/dist/components/ui/components/UiRichEditor.vue.d.ts +55 -0
- package/dist/components/ui/components/UiRichEditor.vue.d.ts.map +1 -0
- package/dist/components/ui/components/editor/richEditorExtensions.d.ts +13 -0
- package/dist/components/ui/components/editor/richEditorExtensions.d.ts.map +1 -0
- package/dist/components/ui/components/editor/richEditorPlaceholder.d.ts +6 -0
- package/dist/components/ui/components/editor/richEditorPlaceholder.d.ts.map +1 -0
- package/dist/components/ui/components/index.d.ts +4 -0
- package/dist/components/ui/components/index.d.ts.map +1 -1
- package/dist/components/ui/composables/index.d.ts +2 -0
- package/dist/components/ui/composables/index.d.ts.map +1 -1
- package/dist/components/ui/composables/useBreakpoint.d.ts +43 -0
- package/dist/components/ui/composables/useBreakpoint.d.ts.map +1 -0
- package/dist/components/ui/composables/useUiDropdown.d.ts +2 -0
- package/dist/components/ui/composables/useUiDropdown.d.ts.map +1 -1
- package/dist/components/ui/types.d.ts +2 -0
- package/dist/components/ui/types.d.ts.map +1 -1
- package/dist/{docx-preview-BB0Qv1nC.js → docx-preview-CgF7upUL.js} +1 -1
- package/dist/{docx-preview-WRcIosJk.cjs → docx-preview-Dom9DuwY.cjs} +1 -1
- package/dist/{index-CWLfFu3e.cjs → index-Ctl5i7Ad.cjs} +1 -1
- package/dist/{index-BGQvGRIY.js → index-CxF54XmE.js} +1 -1
- package/dist/{index-BrxlMnow.js → index-DaiEgT_d.js} +63651 -53759
- package/dist/index-DuVaE24T.cjs +1410 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +599 -463
- package/dist/{papaparse.min-B0ulAjn8.js → papaparse.min-CpVgW58v.js} +1 -1
- package/dist/{papaparse.min-C3FYhYXB.cjs → papaparse.min-Dkpv4aky.cjs} +1 -1
- package/dist/shared/cloudApi.d.ts +29 -0
- package/dist/shared/cloudApi.d.ts.map +1 -0
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/components/chat/components/SubagentRunDialog.vue.d.ts +0 -20
- package/dist/components/chat/components/SubagentRunDialog.vue.d.ts.map +0 -1
- package/dist/components/skill/formatSkillUsageCount.d.ts +0 -3
- package/dist/components/skill/formatSkillUsageCount.d.ts.map +0 -1
- package/dist/components/skill/quickActionAvatarIcon.d.ts +0 -25
- package/dist/components/skill/quickActionAvatarIcon.d.ts.map +0 -1
- package/dist/index-BBiUUsrN.cjs +0 -1248
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OnlyOffice 的三种界面形态:**编辑版** / **简单编辑版** / **纯预览版**。
|
|
3
|
+
*
|
|
4
|
+
* 这一层只回答两个问题,不碰 IO、不碰组件:
|
|
5
|
+
* 1. 这个形态允许用户做什么(能不能改、能不能落盘);
|
|
6
|
+
* 2. 编辑器自己的界面还剩哪些(工具栏 / 页签 / 左栏 / 状态栏)。
|
|
7
|
+
*
|
|
8
|
+
* 为什么不写在调用点:三种形态会同时出现在宿主里(整页编辑 vs 对话内嵌预览),
|
|
9
|
+
* 一旦每个入口各写一份 `customization`,很快就会出现「同一个简单版在两个页面长得不一样」。
|
|
10
|
+
* 所有差异收在这张表 + `buildOnlyOfficeProfileChrome()` 一个出口,宿主只选 id。
|
|
11
|
+
*
|
|
12
|
+
* 三种形态的**共同基线**(不在这里,在 `onlyOfficeConfig.ts`):
|
|
13
|
+
* 桌面端布局、适应宽度缩放、隐藏标尺、关拼写检查、`zh` 界面语言、
|
|
14
|
+
* 关评论/聊天/审阅、脱品牌(logo 不显示、about 关、feedback 关)。
|
|
15
|
+
* 形态之间只允许存在下面表里写明的差异,这样切换形态时不会连字色字号都跟着变。
|
|
16
|
+
*/
|
|
17
|
+
export type OnlyOfficeProfile = 'full' | 'simple' | 'preview';
|
|
18
|
+
/** `customization.layout.toolbar` 认的页签键(官方白标粒度)。 */
|
|
19
|
+
export type OnlyOfficeToolbarTab = 'collaboration' | 'draw' | 'file' | 'home' | 'layout' | 'plugins' | 'protect' | 'references' | 'save' | 'view';
|
|
20
|
+
export interface OnlyOfficeProfileChrome {
|
|
21
|
+
/**
|
|
22
|
+
* 把标题栏(文件名/保存/头像)并进工具栏,整条编辑区只占一行。
|
|
23
|
+
* `false` 是「标题栏 + 页签工具栏」两行。
|
|
24
|
+
*/
|
|
25
|
+
compactHeader: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 紧凑工具栏:**只留页签一行(32px),格式区折叠**,点页签才展开。
|
|
28
|
+
* `false` 是「页签 + 满排格式区」的两段式工具栏(edit 模式实测 116px)。
|
|
29
|
+
* 这是「编辑版 / 简单编辑版」最关键的一条差异,比 `compactHeader` 影响大得多。
|
|
30
|
+
*/
|
|
31
|
+
compactToolbar: boolean;
|
|
32
|
+
/** 工具栏上是否重复显示文件名(外壳已有标题栏,纯预览/简单版不需要第二份)。 */
|
|
33
|
+
hideFileName: boolean;
|
|
34
|
+
/** 顶部工具栏整条隐藏(白标 `layout.toolbar: false`)。 */
|
|
35
|
+
hideToolbar: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* 左栏(大纲 / 缩略图):`visible` 交给编辑器自己记状态(用户上次开就开),
|
|
38
|
+
* `hidden` 整条移除。不给「初始收起」这一档 —— 它和 `visible` 的差别只体现在
|
|
39
|
+
* 有 White Label 授权时,会让两种许可证下的默认观感不一致。
|
|
40
|
+
*/
|
|
41
|
+
leftMenu: 'visible' | 'hidden';
|
|
42
|
+
/** 状态栏:`full` 全留、`minimal` 只留页码/缩放、`hidden` 整条移除。 */
|
|
43
|
+
statusBar: 'full' | 'minimal' | 'hidden';
|
|
44
|
+
/** 要隐藏的页签(白标粒度,无授权时服务端静默忽略)。 */
|
|
45
|
+
hiddenTabs: readonly OnlyOfficeToolbarTab[];
|
|
46
|
+
}
|
|
47
|
+
export interface OnlyOfficeProfileSpec {
|
|
48
|
+
id: OnlyOfficeProfile;
|
|
49
|
+
/** 中文名,demo / 文档直接拿来用。 */
|
|
50
|
+
label: string;
|
|
51
|
+
/** 一句话定位。 */
|
|
52
|
+
summary: string;
|
|
53
|
+
/** 内容能否修改(`permissions.edit` + `editorConfig.mode`)。 */
|
|
54
|
+
editable: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* 改动是否写回后端:挂 `callbackUrl`、开 `autosave` / `forcesave`、
|
|
57
|
+
* 编辑器就绪后按 key 轮询 `forceSave`。只是「允许」——还必须有业务记录(`resource.onlyoffice`)。
|
|
58
|
+
*/
|
|
59
|
+
persist: boolean;
|
|
60
|
+
chrome: OnlyOfficeProfileChrome;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* 三个形态的定义。**改这里就是改产品**:宿主、demo、单测都读同一份。
|
|
64
|
+
*/
|
|
65
|
+
export declare const ONLYOFFICE_PROFILES: {
|
|
66
|
+
/** 编辑版:完整页签工具栏 + 全部编辑能力。 */
|
|
67
|
+
readonly full: {
|
|
68
|
+
readonly id: "full";
|
|
69
|
+
readonly label: "编辑版";
|
|
70
|
+
readonly summary: "完整页签工具栏,全部编辑能力,改动写回后端";
|
|
71
|
+
readonly editable: true;
|
|
72
|
+
readonly persist: true;
|
|
73
|
+
readonly chrome: {
|
|
74
|
+
readonly compactHeader: false;
|
|
75
|
+
readonly compactToolbar: false;
|
|
76
|
+
/**
|
|
77
|
+
* 编辑版保留编辑器自己的标题行(文件名 + 保存状态 + 头像)。它确实与外壳顶栏的
|
|
78
|
+
* 文件名重复,但 `toolbarHideFileName` 只在紧凑头部下生效(实测 9.3.1:`compactHeader: false`
|
|
79
|
+
* 时改成 `true` 文件名照旧),`layout.header` 又要白标 —— 所以这里不装作能关。
|
|
80
|
+
* 真要去掉那一行,只能把 `compactHeader` 也设 `true`(工具栏从 140px 降到 116px)。
|
|
81
|
+
*/
|
|
82
|
+
readonly hideFileName: false;
|
|
83
|
+
readonly hideToolbar: false;
|
|
84
|
+
readonly leftMenu: "visible";
|
|
85
|
+
readonly statusBar: "full";
|
|
86
|
+
readonly hiddenTabs: readonly ["file"];
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
/** 简单编辑版:单行紧凑工具栏,折叠格式区,仍然可编辑可保存。 */
|
|
90
|
+
readonly simple: {
|
|
91
|
+
readonly id: "simple";
|
|
92
|
+
readonly label: "简单编辑版";
|
|
93
|
+
readonly summary: "单行紧凑工具栏,格式区折叠,仍可编辑并写回";
|
|
94
|
+
readonly editable: true;
|
|
95
|
+
readonly persist: true;
|
|
96
|
+
readonly chrome: {
|
|
97
|
+
readonly compactHeader: true;
|
|
98
|
+
/**
|
|
99
|
+
* **必须为 `true`**:`false` 时编辑器会展开成「页签 32px + 格式区 84px」共 116px 的两段式
|
|
100
|
+
* 工具栏(实测 9.3.1 edit 模式),看上去就是完整编辑版,用户会认错版本。
|
|
101
|
+
* `true` 只留 32px 一行,格式按钮折进页签,点页签才展开 —— 这才是「简单编辑」。
|
|
102
|
+
*/
|
|
103
|
+
readonly compactToolbar: true;
|
|
104
|
+
readonly hideFileName: true;
|
|
105
|
+
readonly hideToolbar: false;
|
|
106
|
+
readonly leftMenu: "visible";
|
|
107
|
+
readonly statusBar: "minimal";
|
|
108
|
+
readonly hiddenTabs: readonly ["file", "collaboration", "draw", "plugins", "protect", "references"];
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
/** 纯预览版:只读、无工具栏,编辑器界面全部让位给文档。 */
|
|
112
|
+
readonly preview: {
|
|
113
|
+
readonly id: "preview";
|
|
114
|
+
readonly label: "纯预览版";
|
|
115
|
+
readonly summary: "只读,不落盘,编辑器界面全部隐藏,只剩文档";
|
|
116
|
+
readonly editable: false;
|
|
117
|
+
readonly persist: false;
|
|
118
|
+
readonly chrome: {
|
|
119
|
+
readonly compactHeader: true;
|
|
120
|
+
readonly compactToolbar: true;
|
|
121
|
+
readonly hideFileName: true;
|
|
122
|
+
readonly hideToolbar: true;
|
|
123
|
+
readonly leftMenu: "hidden";
|
|
124
|
+
readonly statusBar: "minimal";
|
|
125
|
+
readonly hiddenTabs: readonly [];
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
/** 形态缺省值:`simple` —— 对话与资料库一直在用的紧凑单行,不因引入三形态而变样。 */
|
|
130
|
+
export declare const DEFAULT_ONLYOFFICE_PROFILE: OnlyOfficeProfile;
|
|
131
|
+
export declare function isOnlyOfficeProfile(value: unknown): value is OnlyOfficeProfile;
|
|
132
|
+
/** 未知/缺省一律落到 `simple`,不让一个拼错的字符串把界面变成另一种形态。 */
|
|
133
|
+
export declare function resolveOnlyOfficeProfile(value: string | undefined | null): OnlyOfficeProfile;
|
|
134
|
+
/** 取形态定义(含兜底),宿主与单测共用。 */
|
|
135
|
+
export declare function onlyOfficeProfileSpec(value: string | undefined | null): OnlyOfficeProfileSpec;
|
|
136
|
+
export interface BuildOnlyOfficeChromeOptions {
|
|
137
|
+
/** 强制整条工具栏隐藏(宿主要更狠的壳时用,覆盖形态默认值)。 */
|
|
138
|
+
hideToolbar?: boolean;
|
|
139
|
+
/** 强制移除左栏。 */
|
|
140
|
+
hideLeftMenu?: boolean;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* 形态 → `editorConfig.customization` 里「界面元素」那一部分。
|
|
144
|
+
*
|
|
145
|
+
* 只返回与界面有关的键,品牌/行为基线(zoom、spellcheck、logo、customer…)
|
|
146
|
+
* 留在 `buildOnlyOfficeConfig()`,避免形态一改就把品牌配置也复制一遍。
|
|
147
|
+
*
|
|
148
|
+
* **`layout.*` 需要 White Label 授权**:无授权时服务端静默忽略,界面不会变差,
|
|
149
|
+
* 也不会报错。所以这里照常下发,降级观感由 `compactHeader` / `compactToolbar`
|
|
150
|
+
* 这类标准参数兜住(纯预览版因此退化为「一行紧凑工具栏」)。
|
|
151
|
+
*/
|
|
152
|
+
export declare function buildOnlyOfficeProfileChrome(profile: OnlyOfficeProfile | undefined, options?: BuildOnlyOfficeChromeOptions): Record<string, unknown>;
|
|
153
|
+
//# sourceMappingURL=onlyOfficeProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"onlyOfficeProfile.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/onlyoffice/onlyOfficeProfile.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,MAAM,MAAM,iBAAiB,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAA;AAE7D,oDAAoD;AACpD,MAAM,MAAM,oBAAoB,GAC5B,eAAe,GACf,MAAM,GACN,MAAM,GACN,MAAM,GACN,QAAQ,GACR,SAAS,GACT,SAAS,GACT,YAAY,GACZ,MAAM,GACN,MAAM,CAAA;AAEV,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,aAAa,EAAE,OAAO,CAAA;IACtB;;;;OAIG;IACH,cAAc,EAAE,OAAO,CAAA;IACvB,4CAA4C;IAC5C,YAAY,EAAE,OAAO,CAAA;IACrB,6CAA6C;IAC7C,WAAW,EAAE,OAAO,CAAA;IACpB;;;;OAIG;IACH,QAAQ,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC9B,qDAAqD;IACrD,SAAS,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAA;IACxC,gCAAgC;IAChC,UAAU,EAAE,SAAS,oBAAoB,EAAE,CAAA;CAC5C;AAED,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,iBAAiB,CAAA;IACrB,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAA;IACb,aAAa;IACb,OAAO,EAAE,MAAM,CAAA;IACf,wDAAwD;IACxD,QAAQ,EAAE,OAAO,CAAA;IACjB;;;OAGG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,uBAAuB,CAAA;CAChC;AAED;;GAEG;AACH,eAAO,MAAM,mBAAmB;IAC9B,4BAA4B;;;;;;;;;;YAUxB;;;;;eAKG;;;;;;;;IAQP,oCAAoC;;;;;;;;;YAShC;;;;eAIG;;;;;;;;;IAUP,iCAAiC;;;;;;;;;;;;;;;;;CAmBkC,CAAA;AAErE,oDAAoD;AACpD,eAAO,MAAM,0BAA0B,EAAE,iBAA4B,CAAA;AAErE,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,iBAAiB,CAE9E;AAED,+CAA+C;AAC/C,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,iBAAiB,CAE5F;AAED,0BAA0B;AAC1B,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,GAAG,qBAAqB,CAE7F;AAeD,MAAM,WAAW,4BAA4B;IAC3C,oCAAoC;IACpC,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,cAAc;IACd,YAAY,CAAC,EAAE,OAAO,CAAA;CACvB;AAED;;;;;;;;;GASG;AACH,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,iBAAiB,GAAG,SAAS,EACtC,OAAO,GAAE,4BAAiC,GACzC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAoCzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/pdf/PdfRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PdfRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/pdf/PdfRenderer.vue"],"names":[],"mappings":"AA0NA,OAAO,uBAAuB,CAAA;AAE9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAcpD,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAA;CAC3B,CAAC;AAwCF,yEAAyE;AACzE,iBAAe,IAAI,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAgBjD;AAED,iBAAS,YAAY,IAAI,MAAM,CAE9B;AAED,iBAAS,cAAc,IAAI,MAAM,CAEhC;AAED,iBAAe,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAGvD;AAED,iBAAe,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAkB/D;AAED,iBAAe,UAAU,gDAGxB;AAED,iBAAe,cAAc;;;KAI5B;AAED,iBAAS,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAG5C;AAED,iBAAS,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAEnC;AAED,iBAAS,MAAM,IAAI,IAAI,CAEtB;AAED,iBAAS,OAAO,IAAI,IAAI,CAEvB;AAED,iBAAS,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE1C;AAED,iBAAS,QAAQ,IAAI,IAAI,CAExB;AAED,iBAAS,SAAS,IAAI,IAAI,CAEzB;AAED,iBAAS,QAAQ,IAAI,IAAI,CAIxB;AA0HD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/text/TextRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/text/TextRenderer.vue"],"names":[],"mappings":"AAAA,OAsJO,uBAAuB,CAAA;AAE9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAK5E,OAAO,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAMjE,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAA;CAC3B,CAAC;AAmDF,iBAAe,IAAI,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAqBjD;AAED,iBAAe,UAAU,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAIlD;AAED,iBAAS,QAAQ,IAAI,IAAI,CAIxB;AA0ED,QAAA,MAAM,YAAY;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -9,4 +9,22 @@ export interface DocViewerNavItem {
|
|
|
9
9
|
label: string;
|
|
10
10
|
depth?: number;
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* 文档外壳(`DocViewerToolbar`)的能力快照。
|
|
14
|
+
*
|
|
15
|
+
* 宿主可以把外壳整条接管:`useDocViewerChromeHost()` 提供桥之后,外壳不再渲染
|
|
16
|
+
* 工具条,而是把这份状态写进桥,由宿主标题栏决定渲染哪些按钮。
|
|
17
|
+
*/
|
|
18
|
+
export interface DocViewerChromeState {
|
|
19
|
+
/** 当前文档有可展开的侧边栏内容(缩略图 / 大纲 / 幻灯片 / 工作表)。 */
|
|
20
|
+
sidebarAvailable: boolean;
|
|
21
|
+
sidebarOpen: boolean;
|
|
22
|
+
canZoom: boolean;
|
|
23
|
+
/** 缩放比例;不支持下缩放时为 `null`。 */
|
|
24
|
+
zoomPercent: number | null;
|
|
25
|
+
/** 可旋转(图片 / 本地分页 PDF);不支持时宿主头部不渲染旋转按钮。 */
|
|
26
|
+
canRotate: boolean;
|
|
27
|
+
/** 可一键重置缩放与旋转(图片查看器的「重置图片视图」)。 */
|
|
28
|
+
canReset: boolean;
|
|
29
|
+
}
|
|
12
30
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,SAAS,CAAA;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAEpC,MAAM,WAAW,mBAAmB;IAClC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,SAAS,CAAA;CAChB;AAED,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,4CAA4C;IAC5C,gBAAgB,EAAE,OAAO,CAAA;IACzB,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,OAAO,CAAA;IAChB,4BAA4B;IAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,0CAA0C;IAC1C,SAAS,EAAE,OAAO,CAAA;IAClB,kCAAkC;IAClC,QAAQ,EAAE,OAAO,CAAA;CAClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XlsxRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"XlsxRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue"],"names":[],"mappings":"AAgIA,OAAO,uBAAuB,CAAA;AAE9B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAQjE,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAA;CAC3B,CAAC;AAoDF,iBAAe,IAAI,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAiBjD;AAED,iBAAe,UAAU,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAElD;AAED,iBAAS,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAGzC;AAED,iBAAS,QAAQ,IAAI,IAAI,CAIxB;AA8ED,QAAA,MAAM,YAAY;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 产物文件「更多操作」的公共触发按钮。
|
|
3
|
+
*
|
|
4
|
+
* 收口四处一致的部分:无障碍语义、24×24 图标规格、默认图标资源、悬停底色、可选悬浮提示。
|
|
5
|
+
* 按钮的尺寸 / 定位 / 禁用态 / 事件仍由调用方通过 attrs 与 class 传入
|
|
6
|
+
* (attrs 自动透传到根 <button>):
|
|
7
|
+
* - AI产物列表行:.chat-artifact-row__more(24×24 流式)
|
|
8
|
+
* - 我的资料列表行:.chat-my-files-table__more(24×24,行 hover 才显形)
|
|
9
|
+
* - 文件预览弹层:.chat-artifact-preview__more(父级按钮组统一 32×32)
|
|
10
|
+
* - 对话产物卡片:.artifact-more-btn(绝对定位 + 常显 + disabled 态)
|
|
11
|
+
* 对话卡片用的是同一套切图并需要暗色反色类,因此图标资源与图标类可覆盖;
|
|
12
|
+
* 布局差异仍不进 props,避免组件演化成承载布局的「万能按钮」。
|
|
13
|
+
*/
|
|
14
|
+
type __VLS_Props = {
|
|
15
|
+
/** 覆盖默认切图(默认横排三点 more.svg);仅在需要换图形时才传。 */
|
|
16
|
+
icon?: string;
|
|
17
|
+
/** 追加到 <img> 的类,例如暗色模式反色用的 .chat-chrome-icon。 */
|
|
18
|
+
iconClass?: string;
|
|
19
|
+
/** 悬浮提示文案;空串表示不显示提示。 */
|
|
20
|
+
label?: string;
|
|
21
|
+
/** 图标加载策略:预览弹层首屏用 eager,长列表用 lazy;不传则用浏览器默认。 */
|
|
22
|
+
loading?: 'eager' | 'lazy';
|
|
23
|
+
decoding?: 'async' | 'sync' | 'auto';
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
26
|
+
label: string;
|
|
27
|
+
icon: string;
|
|
28
|
+
loading: "eager" | "lazy";
|
|
29
|
+
iconClass: string;
|
|
30
|
+
decoding: "async" | "sync" | "auto";
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
//# sourceMappingURL=ArtifactFileMoreButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ArtifactFileMoreButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ArtifactFileMoreButton.vue"],"names":[],"mappings":"AAyGA;;;;;;;;;;;;GAYG;AACH,KAAK,WAAW,GAAG;IACf,0CAA0C;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,gDAAgD;IAChD,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAA;CACrC,CAAC;AAuEJ,QAAA,MAAM,YAAY;WA3EN,MAAM;UAJP,MAAM;aAMH,OAAO,GAAG,MAAM;eAJd,MAAM;cAKP,OAAO,GAAG,MAAM,GAAG,MAAM;6EA2EtC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ArtifactFile } from './chatMyFilesModel';
|
|
2
|
+
import './chatArtifactMenu.css';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
file: ArtifactFile;
|
|
5
|
+
selected: boolean;
|
|
6
|
+
/** 整组文件操作是否置灰(与对话卡片的策略一致)。 */
|
|
7
|
+
actionsDisabled?: boolean;
|
|
8
|
+
/** 显示「更新人」列:由外层按「列表里是否真有该字段」统一决定,保证表头与行同构。 */
|
|
9
|
+
showOwner?: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
toggle: () => any;
|
|
13
|
+
open: () => any;
|
|
14
|
+
action: (id: string) => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
|
+
onToggle?: (() => any) | undefined;
|
|
17
|
+
onOpen?: (() => any) | undefined;
|
|
18
|
+
onAction?: ((id: string) => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
actionsDisabled: boolean;
|
|
21
|
+
showOwner: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
|
+
declare const _default: typeof __VLS_export;
|
|
24
|
+
export default _default;
|
|
25
|
+
//# sourceMappingURL=ChatArtifactFileRow.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatArtifactFileRow.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatArtifactFileRow.vue"],"names":[],"mappings":"AAkWA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAItD,OAAO,wBAAwB,CAAA;AAI/B,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,YAAY,CAAA;IAClB,QAAQ,EAAE,OAAO,CAAA;IACjB,8BAA8B;IAC9B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,8CAA8C;IAC9C,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAmPJ,QAAA,MAAM,YAAY;;;;;;;;;qBAtPI,OAAO;eAEb,OAAO;6EAwPrB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ChatCloudConfig } from '../../cloudConfig';
|
|
2
|
+
import { type ArtifactFile } from './chatMyFilesModel';
|
|
3
|
+
import type { OnlyOfficeProfile } from '../document-viewer/onlyoffice/onlyOfficeProfile';
|
|
4
|
+
import './chatArtifactMenu.css';
|
|
5
|
+
type __VLS_Props = {
|
|
6
|
+
file: ArtifactFile;
|
|
7
|
+
/** 列表行已带回 originalUrl(下载地址),无地址时才用 cloud 去产物详情补一次。 */
|
|
8
|
+
cloud?: ChatCloudConfig;
|
|
9
|
+
/** 整组文件操作是否置灰,与产物行菜单同一策略。 */
|
|
10
|
+
actionsDisabled?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* OnlyOffice 界面形态。**AI 产物只读**:产物是模型给出的结果,
|
|
13
|
+
* 就地改一行再退出没有任何落点,所以缺省「纯预览版」(无工具栏、不落盘)。
|
|
14
|
+
* 要编辑请引导用户「上传到我的资料」,那是唯一可编辑面。
|
|
15
|
+
*/
|
|
16
|
+
onlyofficeProfile?: OnlyOfficeProfile;
|
|
17
|
+
};
|
|
18
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
+
close: () => any;
|
|
20
|
+
action: (id: string) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
|
+
onClose?: (() => any) | undefined;
|
|
23
|
+
onAction?: ((id: string) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
cloud: ChatCloudConfig;
|
|
26
|
+
actionsDisabled: boolean;
|
|
27
|
+
onlyofficeProfile: OnlyOfficeProfile;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
//# sourceMappingURL=ChatArtifactPreview.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatArtifactPreview.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatArtifactPreview.vue"],"names":[],"mappings":"AAuhBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AASxD,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAS1E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAA;AAExF,OAAO,wBAAwB,CAAA;AAI/B,KAAK,WAAW,GAAG;IACf,IAAI,EAAE,YAAY,CAAA;IAClB,sDAAsD;IACtD,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB,6BAA6B;IAC7B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;CACtC,CAAC;AAikBJ,QAAA,MAAM,YAAY;;;;;;;WA1kBN,eAAe;qBAEL,OAAO;uBAML,iBAAiB;6EAskBvC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import './filesSkeleton.css';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** 任务块数量(一块 = 一行会话标题 + 若干文件行)。 */
|
|
4
|
+
blocks?: number;
|
|
5
|
+
/** 每块下的文件行数量。 */
|
|
6
|
+
rows?: number;
|
|
7
|
+
/** 首屏加载时连分组标题一起画;翻页续载只画任务块。 */
|
|
8
|
+
groupHead?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
11
|
+
rows: number;
|
|
12
|
+
blocks: number;
|
|
13
|
+
groupHead: boolean;
|
|
14
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
17
|
+
//# sourceMappingURL=ChatArtifactsSkeleton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatArtifactsSkeleton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatArtifactsSkeleton.vue"],"names":[],"mappings":"AAkRA,OAAO,qBAAqB,CAAA;AAI5B,KAAK,WAAW,GAAG;IACf,kCAAkC;IAClC,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,iBAAiB;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,+BAA+B;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAmLJ,QAAA,MAAM,YAAY;UAtLP,MAAM;YAFJ,MAAM;eAIH,OAAO;6EAuLrB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 文件列表用的方形勾选框。
|
|
3
|
+
*
|
|
4
|
+
* 全仓唯一实现:AI 产物行与「我的资料」列表行都用它,视觉(16px、2px 圆角、
|
|
5
|
+
* 选中为品牌蓝 + 白勾)只在这里定义一次。定位、显隐、外间距由调用方的 class 决定——
|
|
6
|
+
* 两个列表的勾选框都长在整行会变灰的容器上,硬编位置反而不好复用。
|
|
7
|
+
*
|
|
8
|
+
* 为什么不用原生 `<input type="checkbox">`:原生的方块尺寸、勾形、圆角在各家浏览器
|
|
9
|
+
* 都不一致,压不住设计稿;这里用按钮 + `role="checkbox"` 既可控又保留可访问性语义。
|
|
10
|
+
*/
|
|
11
|
+
type __VLS_Props = {
|
|
12
|
+
checked: boolean;
|
|
13
|
+
/** 无可见文字时的读屏文案;缺省按「选择 / 取消选择」自动给。 */
|
|
14
|
+
label?: string;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
toggle: () => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
20
|
+
onToggle?: (() => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
24
|
+
//# sourceMappingURL=ChatFileCheckbox.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatFileCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatFileCheckbox.vue"],"names":[],"mappings":"AA6EA;;;;;;;;;GASG;AACH,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,OAAO,CAAA;IAChB,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAiDF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type { ChatCloudConfig } from '../../cloudConfig';
|
|
2
|
+
import type { ChatFileTransferSources } from '../../chatFilePicker';
|
|
3
|
+
import type { ChatFolderRef, ChatResourceFile } from '../../types';
|
|
4
|
+
import type { ChatMyFilesView } from './chatMyFilesModel';
|
|
5
|
+
import type { MyFilesPreviewOptions } from './myFilesPreview';
|
|
6
|
+
import { type ChatFilesToast } from './myFilesToast';
|
|
7
|
+
import './chatMyFilesDesignLanguage.css';
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
/** 传入后目录和产物走 aibasicservices;不传时用组件内示例数据。 */
|
|
10
|
+
cloud?: ChatCloudConfig;
|
|
11
|
+
/**
|
|
12
|
+
* 文件预览/编辑的宿主能力:
|
|
13
|
+
* - `onlyOffice`:Office 文档的 OnlyOffice 业务载荷(editType + 业务 id);
|
|
14
|
+
* - `saveText`:文本类文件的保存管道。
|
|
15
|
+
* 两个都不传时:Office 退回本地只读预览,文本编辑不落盘并提示「未接入保存管道」。
|
|
16
|
+
*/
|
|
17
|
+
preview?: MyFilesPreviewOptions;
|
|
18
|
+
/**
|
|
19
|
+
* 「上传到」落点的宿主数据源(备课中心教材目录等)。
|
|
20
|
+
*
|
|
21
|
+
* 不传时我的资料 / 知识库仍可用(组件库有默认实现),
|
|
22
|
+
* 「上传到备课中心」会给出「由宿主提供」的明确说明。
|
|
23
|
+
*/
|
|
24
|
+
transferSources?: ChatFileTransferSources;
|
|
25
|
+
/**
|
|
26
|
+
* 页面统一反馈出口(toast),由宿主注入(典型实现是 `ElMessage`)。
|
|
27
|
+
*
|
|
28
|
+
* **页面里所有一次性反馈都走这一个口子**:日常操作(新建 / 重命名 / 删除 /
|
|
29
|
+
* 添加到任务 / 不支持的操作)与「上传到」的提交终态,语气由组件库给
|
|
30
|
+
* (`success` / `error` / `warning` / `info`),长什么样由宿主决定。
|
|
31
|
+
*
|
|
32
|
+
* 不传时所有提示被丢弃(独立挂载、单测、其他宿主),不产生额外反馈。
|
|
33
|
+
*/
|
|
34
|
+
toast?: ChatFilesToast;
|
|
35
|
+
};
|
|
36
|
+
type __VLS_ModelProps = {
|
|
37
|
+
'view'?: ChatMyFilesView;
|
|
38
|
+
};
|
|
39
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
40
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
+
"add-to-task": (resources: ChatResourceFile[], folders?: ChatFolderRef[] | undefined) => any;
|
|
42
|
+
"update:view": (value: ChatMyFilesView) => any;
|
|
43
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
44
|
+
"onAdd-to-task"?: ((resources: ChatResourceFile[], folders?: ChatFolderRef[] | undefined) => any) | undefined;
|
|
45
|
+
"onUpdate:view"?: ((value: ChatMyFilesView) => any) | undefined;
|
|
46
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
48
|
+
export default _default;
|
|
49
|
+
//# sourceMappingURL=ChatMyFiles.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFiles.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFiles.vue"],"names":[],"mappings":"AAuSA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAA;AACnE,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAMlE,OAAO,KAAK,EAAE,eAAe,EAAgB,MAAM,oBAAoB,CAAA;AACvE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAA;AAC7D,OAAO,EAAuC,KAAK,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAOzF,OAAO,iCAAiC,CAAA;AAIxC,KAAK,WAAW,GAAG;IACjB,6CAA6C;IAC7C,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB;;;;;OAKG;IACH,OAAO,CAAC,EAAE,qBAAqB,CAAA;IAC/B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,uBAAuB,CAAA;IACzC;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,cAAc,CAAA;CACvB,CAAC;AA+KF,KAAK,gBAAgB,GAAG;IACxB,MAAM,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAsIxD,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { ChatCloudConfig } from '../../cloudConfig';
|
|
2
|
+
import './chatKindMenu.css';
|
|
3
|
+
import type { ChatResourceFile } from '../../types';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
cloud?: ChatCloudConfig;
|
|
6
|
+
/** 置灰全部文件操作;与对话内产物卡片共用同一套可用/禁用规则。 */
|
|
7
|
+
actionsDisabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
back: () => any;
|
|
11
|
+
"add-to-task": (resources: ChatResourceFile[]) => any;
|
|
12
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onBack?: (() => any) | undefined;
|
|
14
|
+
"onAdd-to-task"?: ((resources: ChatResourceFile[]) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=ChatMyFilesArtifacts.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesArtifacts.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesArtifacts.vue"],"names":[],"mappings":"AAi1DA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAyBxD,OAAO,oBAAoB,CAAA;AAS3B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAcnD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB,qCAAqC;IACrC,eAAe,CAAC,EAAE,OAAO,CAAA;CAC1B,CAAC;AA46CF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { ChatCloudConfig } from '../../cloudConfig';
|
|
2
|
+
import './filesSkeleton.css';
|
|
3
|
+
import './myFilesTreeMotion.css';
|
|
4
|
+
import type { ChatFolderRef, ChatResourceFile } from '../../types';
|
|
5
|
+
import type { MyFilesPreviewOptions } from './myFilesPreview';
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
cloud?: ChatCloudConfig;
|
|
8
|
+
/** 预览/编辑能力由宿主注入(OnlyOffice 业务载荷、文本保存管道)。 */
|
|
9
|
+
preview?: MyFilesPreviewOptions;
|
|
10
|
+
/**
|
|
11
|
+
* 外部要求「打开这个文件」。
|
|
12
|
+
*
|
|
13
|
+
* 目前只有上传看板用它:看板与目录页是兄弟关系(队列要活在两者之上),
|
|
14
|
+
* 打开文件需要目录树和预览宿主能力,所以由 `ChatMyFiles` 把请求转过来。
|
|
15
|
+
* 带 `seq` 是为了让「同一个文件连点两次」也能重新触发一次打开。
|
|
16
|
+
*/
|
|
17
|
+
openRequest?: {
|
|
18
|
+
id: string;
|
|
19
|
+
seq: number;
|
|
20
|
+
} | null;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"open-artifacts": () => any;
|
|
24
|
+
"add-to-task": (resources: ChatResourceFile[], folders?: ChatFolderRef[] | undefined) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
26
|
+
"onOpen-artifacts"?: (() => any) | undefined;
|
|
27
|
+
"onAdd-to-task"?: ((resources: ChatResourceFile[], folders?: ChatFolderRef[] | undefined) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
//# sourceMappingURL=ChatMyFilesDirectory.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesDirectory.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesDirectory.vue"],"names":[],"mappings":"AA2hDA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAcxD,OAAO,qBAAqB,CAAA;AAC5B,OAAO,yBAAyB,CAAA;AAqChC,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAElE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAA;AA4B7D,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,qBAAqB,CAAA;IAC/B;;;;;;OAMG;IACH,WAAW,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAA;CACjD,CAAC;AAqoDF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { Editor } from '@tiptap/core';
|
|
2
|
+
import './chatDocToolbar.css';
|
|
3
|
+
/**
|
|
4
|
+
* 文本文件的「文档方式」编辑器:正文按文档排版渲染,选中文字浮出样式工具条。
|
|
5
|
+
*
|
|
6
|
+
* 与源码模式(textarea)的分工:
|
|
7
|
+
* - 这里对外的值始终是 **markdown 源码**,与 `saveText(node, content)` 的契约一致;
|
|
8
|
+
* - 编辑器内部是 tiptap(复用 `UiRichEditor`),只在每次改动时把文档序列化回 markdown。
|
|
9
|
+
*
|
|
10
|
+
* 位置计算用 `view.coordsAtPos` + `position: fixed`:工具条挂在 body 上,
|
|
11
|
+
* 不随编辑器滚动容器被裁切。
|
|
12
|
+
*/
|
|
13
|
+
type __VLS_Props = {
|
|
14
|
+
modelValue: string;
|
|
15
|
+
/**
|
|
16
|
+
* 是否可写。**缺省是 `false`**:文档编辑器默认只读,要能写必须显式打开。
|
|
17
|
+
* 「我的资料」当前整体只读(`MY_FILES_EDITING_ENABLED === false`),
|
|
18
|
+
* 这里的缺省值保证任何新调用点忘记传参时也不会意外变成可写。
|
|
19
|
+
*/
|
|
20
|
+
editable?: boolean;
|
|
21
|
+
placeholder?: string;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
24
|
+
getEditor: () => Editor | null;
|
|
25
|
+
focus: () => boolean | undefined;
|
|
26
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
"update:modelValue": (value: string) => any;
|
|
28
|
+
stats: (payload: {
|
|
29
|
+
chars: number;
|
|
30
|
+
selected: number;
|
|
31
|
+
}) => any;
|
|
32
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
33
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
34
|
+
onStats?: ((payload: {
|
|
35
|
+
chars: number;
|
|
36
|
+
selected: number;
|
|
37
|
+
}) => any) | undefined;
|
|
38
|
+
}>, {
|
|
39
|
+
placeholder: string;
|
|
40
|
+
editable: boolean;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
declare const _default: typeof __VLS_export;
|
|
43
|
+
export default _default;
|
|
44
|
+
//# sourceMappingURL=ChatMyFilesDocEditor.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesDocEditor.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesDocEditor.vue"],"names":[],"mappings":"AA+iBA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,cAAc,CAAA;AAyB1C,OAAO,sBAAsB,CAAA;AAI7B;;;;;;;;;GASG;AACH,KAAK,WAAW,GAAG;IACf,UAAU,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;AA6gBJ,QAAA,MAAM,YAAY;;;;;;eAlgBU,MAAM;kBAAY,MAAM;;;;;eAAxB,MAAM;kBAAY,MAAM;;;iBAZlC,MAAM;cADT,OAAO;6EAohBpB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
upload: () => any;
|
|
3
|
+
"new-folder": () => any;
|
|
4
|
+
"open-artifacts": () => any;
|
|
5
|
+
}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
6
|
+
onUpload?: (() => any) | undefined;
|
|
7
|
+
"onNew-folder"?: (() => any) | undefined;
|
|
8
|
+
"onOpen-artifacts"?: (() => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=ChatMyFilesEmptyGuide.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesEmptyGuide.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesEmptyGuide.vue"],"names":[],"mappings":"AAylDA,QAAA,MAAM,YAAY;;;;;;;;iFAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|