@deep-eye/core 1.3.81 → 1.3.83
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 +53 -0
- package/README.md +1 -1
- package/dist/{ChartRenderer-uxyS-V69.js → ChartRenderer-Cjy0_9Vd.js} +1 -1
- package/dist/{ChartRenderer-BIKA42r6.cjs → ChartRenderer-DYaFJva0.cjs} +1 -1
- package/dist/ChatMyFilesArtifacts-B8IrM7Gv.cjs +1 -0
- package/dist/ChatMyFilesArtifacts-CPbY91Eg.js +1029 -0
- package/dist/chat-token.css +209 -7
- package/dist/components/chat/ChatApp.vue.d.ts +31 -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 +38 -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/{SubagentRunDialog.vue.d.ts → files/ChatMyFilesPrompt.vue.d.ts} +18 -8
- 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 +12 -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 +102 -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 +25 -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/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 +45 -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/messageChrome.d.ts +27 -0
- package/dist/components/chat/messageChrome.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/responseStream.d.ts +3 -0
- package/dist/components/chat/responseStream.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 +97 -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-DB-exfjk.cjs → docx-preview-DG8slhP7.cjs} +1 -1
- package/dist/{docx-preview-BInH2mCJ.js → docx-preview-DMQ6xzQM.js} +1 -1
- package/dist/{index-DHknc0p4.cjs → index-B4nd6sY1.cjs} +1 -1
- package/dist/{index-wpRtsEi3.js → index-CBCQPl8n.js} +75103 -65593
- package/dist/index-CJ-Mb6SU.cjs +1410 -0
- package/dist/{index-SF7mr6DW.js → index-DRZPTPoe.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +599 -463
- package/dist/{papaparse.min-BYZpQSHx.cjs → papaparse.min-BRNq6gPR.cjs} +1 -1
- package/dist/{papaparse.min-C7WHKyF4.js → papaparse.min-CpVaJlaF.js} +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.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-qBX9TwOy.cjs +0 -1248
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesFileTable.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesFileTable.vue"],"names":[],"mappings":"AAmsBA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAQnD,OAAO,wBAAwB,CAAA;AAE/B,OAAO,yBAAyB,CAAA;AAIhC;;;;;;;;;;;;;GAaG;AACH,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,GAAG,MAAM,CAAA;IAClC,iCAAiC;IACjC,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC;AAukBF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK7C,QAAA,MAAM,UAAU;;;aAxkBW,cAAc;gBAAU,MAAM;;;gBAE5B,UAAU,GAAG,QAAQ;cAAQ,cAAc,EAAE;;;;;aAF/C,cAAc;gBAAU,MAAM;;;gBAE5B,UAAU,GAAG,QAAQ;cAAQ,cAAc,EAAE;;kFAykBxE,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { MaterialNode } from './chatMyFilesModel';
|
|
2
|
+
import { type MyFilesFileRow } from './myFilesRows';
|
|
3
|
+
import type { QuickAddActionId } from './chatQuickAddMenu';
|
|
4
|
+
/**
|
|
5
|
+
* 文件夹页:面包屑 + 文件夹标题行(右上角「快速添加」)+ 子项列表。
|
|
6
|
+
*
|
|
7
|
+
* 列表与「最近」页共用 ChatMyFilesFileTable,所以列宽、行高、图标、选中态一致;
|
|
8
|
+
* 这里只负责面包屑导航、空态文案和快速添加入口。
|
|
9
|
+
*/
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
folder: MaterialNode;
|
|
12
|
+
/** 从根到父级的祖先链(不含本文件夹),用于给每行算「位置」。 */
|
|
13
|
+
ancestors: MaterialNode[];
|
|
14
|
+
/** 面包屑:第一级是根(我的资料),最后一级是当前文件夹。 */
|
|
15
|
+
crumbs: {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
}[];
|
|
19
|
+
selectedId?: string;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
open: (row: MyFilesFileRow) => any;
|
|
23
|
+
action: (payload: {
|
|
24
|
+
row: MyFilesFileRow;
|
|
25
|
+
action: string;
|
|
26
|
+
}) => any;
|
|
27
|
+
navigate: (id: string) => any;
|
|
28
|
+
batch: (payload: {
|
|
29
|
+
action: "add-task" | "delete";
|
|
30
|
+
rows: MyFilesFileRow[];
|
|
31
|
+
}) => any;
|
|
32
|
+
quickAdd: (id: QuickAddActionId) => any;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
|
+
onOpen?: ((row: MyFilesFileRow) => any) | undefined;
|
|
35
|
+
onAction?: ((payload: {
|
|
36
|
+
row: MyFilesFileRow;
|
|
37
|
+
action: string;
|
|
38
|
+
}) => any) | undefined;
|
|
39
|
+
onNavigate?: ((id: string) => any) | undefined;
|
|
40
|
+
onBatch?: ((payload: {
|
|
41
|
+
action: "add-task" | "delete";
|
|
42
|
+
rows: MyFilesFileRow[];
|
|
43
|
+
}) => any) | undefined;
|
|
44
|
+
onQuickAdd?: ((id: QuickAddActionId) => any) | undefined;
|
|
45
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
|
+
declare const _default: typeof __VLS_export;
|
|
47
|
+
export default _default;
|
|
48
|
+
//# sourceMappingURL=ChatMyFilesFolder.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesFolder.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesFolder.vue"],"names":[],"mappings":"AA+RA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EAAmB,KAAK,cAAc,EAAE,MAAM,eAAe,CAAA;AACpE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAI1D;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,YAAY,CAAA;IACpB,oCAAoC;IACpC,SAAS,EAAE,YAAY,EAAE,CAAA;IACzB,kCAAkC;IAClC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACtC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAC;AA0QF,QAAA,MAAM,YAAY;;;aAjQS,cAAc;gBAAU,MAAM;;;;gBAE5B,UAAU,GAAG,QAAQ;cAAQ,cAAc,EAAE;;;;;;aAF/C,cAAc;gBAAU,MAAM;;;;gBAE5B,UAAU,GAAG,QAAQ;cAAQ,cAAc,EAAE;;;kFAkQxE,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import './chatKindMenu.css';
|
|
2
|
+
/**
|
|
3
|
+
* 类型筛选菜单里每一项左侧的类型图标。
|
|
4
|
+
*
|
|
5
|
+
* 图标尺寸与「无图标时的占位」都放在 chatKindMenu.css 的 `.mf-kind-menu__icon`:
|
|
6
|
+
* 「全部类型」没有对应的文件类型,渲染 20px 空位而不是不留,否则它的文字会比
|
|
7
|
+
* 其余选项整体左移一个图标宽度。
|
|
8
|
+
*/
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
kind: string;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=ChatMyFilesKindMenuItemIcon.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesKindMenuItemIcon.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesKindMenuItemIcon.vue"],"names":[],"mappings":"AA4BA,OAAO,oBAAoB,CAAA;AAI3B;;;;;;GAMG;AACH,KAAK,WAAW,GAAG;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AA0CpC,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,20 +1,30 @@
|
|
|
1
|
-
import type { SubagentRun } from '../types';
|
|
2
|
-
import '../harnessProcessTokens.css';
|
|
3
1
|
type __VLS_Props = {
|
|
4
|
-
|
|
2
|
+
title: string;
|
|
3
|
+
mode?: 'prompt' | 'confirm';
|
|
4
|
+
message?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
initial?: string;
|
|
7
|
+
confirmText?: string;
|
|
8
|
+
danger?: boolean;
|
|
5
9
|
};
|
|
6
10
|
type __VLS_ModelProps = {
|
|
7
11
|
modelValue?: boolean;
|
|
8
|
-
'agentId'?: string | null;
|
|
9
12
|
};
|
|
10
13
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
11
14
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
15
|
"update:modelValue": (value: boolean) => any;
|
|
13
|
-
|
|
16
|
+
confirm: (value: string) => any;
|
|
14
17
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
18
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
16
|
-
|
|
17
|
-
}>, {
|
|
19
|
+
onConfirm?: ((value: string) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
mode: "prompt" | "confirm";
|
|
22
|
+
initial: string;
|
|
23
|
+
danger: boolean;
|
|
24
|
+
message: string;
|
|
25
|
+
placeholder: string;
|
|
26
|
+
confirmText: string;
|
|
27
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
18
28
|
declare const _default: typeof __VLS_export;
|
|
19
29
|
export default _default;
|
|
20
|
-
//# sourceMappingURL=
|
|
30
|
+
//# sourceMappingURL=ChatMyFilesPrompt.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesPrompt.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesPrompt.vue"],"names":[],"mappings":"AA0MA,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AA8CJ,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAaF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAyHxD,QAAA,MAAM,YAAY;;;;;;;UA5LP,QAAQ,GAAG,SAAS;aAGjB,MAAM;YAEP,OAAO;aAJN,MAAM;iBACF,MAAM;iBAEN,MAAM;6EA4LtB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { type UiMenuPlacement } from '../../../ui';
|
|
2
|
+
import { type QuickAddActionId } from './chatQuickAddMenu';
|
|
3
|
+
import './chatQuickAddMenu.css';
|
|
4
|
+
/**
|
|
5
|
+
* 「快速添加」菜单的通用触发器:只管弹菜单与 id 归一化,
|
|
6
|
+
* 具体动作(新建文件 / 上传 / 建文件夹)由上层 `@select` 决定。
|
|
7
|
+
*
|
|
8
|
+
* 做成组件而不是每个入口各写一遍 useUiDropdown:三个入口(分组 +、
|
|
9
|
+
* 目录行 +、文件夹页按钮)必须共用同一份菜单定义与面板样式,
|
|
10
|
+
* 否则又会回到「四处菜单不一致」的老问题。
|
|
11
|
+
*
|
|
12
|
+
* 实现上用 render 函数而不是 `<Menu><slot /></Menu>`:模板写法会把
|
|
13
|
+
* `<slot />` 这个「插槽出口」vnode 交给 Menu,Menu 克隆插槽出口时挂上的
|
|
14
|
+
* 点击/aria 属性不会穿透到真实按钮,菜单点不开。这里先 `slots.default()`
|
|
15
|
+
* 取出真实 vnode,再作为 Menu 的默认插槽传下去。
|
|
16
|
+
*/
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
20
|
+
placement: {
|
|
21
|
+
type: () => UiMenuPlacement;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
select: (id: QuickAddActionId) => boolean;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
placement: {
|
|
30
|
+
type: () => UiMenuPlacement;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
}>> & Readonly<{
|
|
34
|
+
onSelect?: ((id: QuickAddActionId) => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
placement: UiMenuPlacement;
|
|
37
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
//# sourceMappingURL=ChatMyFilesQuickAdd.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesQuickAdd.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesQuickAdd.vue"],"names":[],"mappings":"AA6DA,OAAO,EAAiB,KAAK,eAAe,EAAE,MAAM,aAAa,CAAA;AACjE,OAAO,EAML,KAAK,gBAAgB,EACtB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,wBAAwB,CAAA;AAE/B;;;;;;;;;;;;GAYG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;;cAII,MAAM,eAAe;;;;;;iBAK1B,gBAAgB;;;cALX,MAAM,eAAe;;;;;;;4EAyBzC,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { MaterialNode } from './chatMyFilesModel';
|
|
2
|
+
import './chatKindMenu.css';
|
|
3
|
+
import { type MyFilesFileRow } from './myFilesRows';
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
/** 目录树快照:本组件不接受请求,只负责把树渲染成「最近」列表。 */
|
|
6
|
+
nodes: MaterialNode[];
|
|
7
|
+
/** 目录搜索框的关键词,命中名称才显示;空串表示不筛。 */
|
|
8
|
+
keyword?: string;
|
|
9
|
+
/** 当前选中的文件 id,用于行高亮(与左侧目录树同源)。 */
|
|
10
|
+
selectedId?: string;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
open: (row: MyFilesFileRow) => any;
|
|
14
|
+
action: (payload: {
|
|
15
|
+
row: MyFilesFileRow;
|
|
16
|
+
action: string;
|
|
17
|
+
}) => any;
|
|
18
|
+
batch: (payload: {
|
|
19
|
+
action: "add-task" | "delete";
|
|
20
|
+
rows: MyFilesFileRow[];
|
|
21
|
+
}) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
23
|
+
onOpen?: ((row: MyFilesFileRow) => any) | undefined;
|
|
24
|
+
onAction?: ((payload: {
|
|
25
|
+
row: MyFilesFileRow;
|
|
26
|
+
action: string;
|
|
27
|
+
}) => any) | undefined;
|
|
28
|
+
onBatch?: ((payload: {
|
|
29
|
+
action: "add-task" | "delete";
|
|
30
|
+
rows: MyFilesFileRow[];
|
|
31
|
+
}) => any) | undefined;
|
|
32
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
//# sourceMappingURL=ChatMyFilesRecent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesRecent.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesRecent.vue"],"names":[],"mappings":"AA6UA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD,OAAO,oBAAoB,CAAA;AAC3B,OAAO,EAML,KAAK,cAAc,EAGpB,MAAM,eAAe,CAAA;AAItB,KAAK,WAAW,GAAG;IACjB,qCAAqC;IACrC,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,kCAAkC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAC;AA8TF,QAAA,MAAM,YAAY;;;aAxTS,cAAc;gBAAU,MAAM;;;gBAE5B,UAAU,GAAG,QAAQ;cAAQ,cAAc,EAAE;;;;;aAF/C,cAAc;gBAAU,MAAM;;;gBAE5B,UAAU,GAAG,QAAQ;cAAQ,cAAc,EAAE;;kFAyTxE,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { ChatCloudConfig } from '../../cloudConfig';
|
|
2
|
+
import type { MaterialNode } from './chatMyFilesModel';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
cloud?: ChatCloudConfig;
|
|
5
|
+
/** 目录树快照:空关键词时用于拼「最近浏览」,本地模式同时充当搜索源。 */
|
|
6
|
+
nodes: MaterialNode[];
|
|
7
|
+
/** 本地浏览记录(id 顺序,最近的在前)。 */
|
|
8
|
+
recentIds?: string[];
|
|
9
|
+
};
|
|
10
|
+
type __VLS_ModelProps = {
|
|
11
|
+
/**
|
|
12
|
+
* 「我的文件」右上角搜索图标打开的检索面板(命令面板形态)。
|
|
13
|
+
*
|
|
14
|
+
* 三件事刻意留在组件外:
|
|
15
|
+
* - 打开后的落地(进目录 / 预览 / 新窗口)由目录页决定,组件只抛 `open`;
|
|
16
|
+
* - 浏览记录的读写由目录页负责(它才知道用户点了什么),这里只吃 `recentIds`;
|
|
17
|
+
* - 「树 → 行」的拍平与高亮切分在 `myFilesSearch.ts`,便于单测。
|
|
18
|
+
*/
|
|
19
|
+
modelValue?: boolean;
|
|
20
|
+
};
|
|
21
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
22
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (value: boolean) => any;
|
|
24
|
+
open: (payload: {
|
|
25
|
+
node: MaterialNode;
|
|
26
|
+
newWindow: boolean;
|
|
27
|
+
}) => any;
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
30
|
+
onOpen?: ((payload: {
|
|
31
|
+
node: MaterialNode;
|
|
32
|
+
newWindow: boolean;
|
|
33
|
+
}) => any) | undefined;
|
|
34
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
35
|
+
declare const _default: typeof __VLS_export;
|
|
36
|
+
export default _default;
|
|
37
|
+
//# sourceMappingURL=ChatMyFilesSearchDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesSearchDialog.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesSearchDialog.vue"],"names":[],"mappings":"AAqgBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAqBtD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB,wCAAwC;IACxC,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;CACrB,CAAC;AAqIF,KAAK,gBAAgB,GAAG;IACxB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA8SxD,QAAA,MAAM,YAAY;;;cA9bQ,YAAY;mBAAa,OAAO;;;;;cAAhC,YAAY;mBAAa,OAAO;;kFAicxD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import './filesSkeleton.css';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
title: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
/** 有值时渲染一枚主操作按钮,点击 emit('action')。 */
|
|
6
|
+
actionText?: string;
|
|
7
|
+
/** 加载态:显示骨架屏 + 状态文案,替代空态/错误态内容。 */
|
|
8
|
+
busy?: boolean;
|
|
9
|
+
tone?: 'neutral' | 'error';
|
|
10
|
+
/** 用在窄面板里:缩小留白与插画尺寸。 */
|
|
11
|
+
compact?: boolean;
|
|
12
|
+
/** 插画语义;不传时按语气兜底(error→error,其余→folder)。 */
|
|
13
|
+
variant?: 'folder' | 'search' | 'error' | 'files';
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
action: () => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onAction?: (() => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
description: string;
|
|
21
|
+
variant: "folder" | "search" | "error" | "files";
|
|
22
|
+
tone: "neutral" | "error";
|
|
23
|
+
compact: boolean;
|
|
24
|
+
busy: boolean;
|
|
25
|
+
actionText: string;
|
|
26
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
//# sourceMappingURL=ChatMyFilesState.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesState.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesState.vue"],"names":[],"mappings":"AAiOA,OAAO,qBAAqB,CAAA;AAK5B,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,sCAAsC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,mCAAmC;IACnC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAA;IAC1B,wBAAwB;IACxB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,4CAA4C;IAC5C,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAA;CAClD,CAAC;AAqKJ,QAAA,MAAM,YAAY;;;;;iBA/KA,MAAM;aASV,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO;UAJ1C,SAAS,GAAG,OAAO;aAEhB,OAAO;UAHV,OAAO;gBAFD,MAAM;6EAiLrB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** folder=空目录 / search=搜索无结果 / error=加载失败 / files=暂无文件 */
|
|
3
|
+
variant?: 'folder' | 'search' | 'error' | 'files';
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
6
|
+
variant: "folder" | "search" | "error" | "files";
|
|
7
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
declare const _default: typeof __VLS_export;
|
|
9
|
+
export default _default;
|
|
10
|
+
//# sourceMappingURL=ChatMyFilesStateArt.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesStateArt.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesStateArt.vue"],"names":[],"mappings":"AA0MA,KAAK,WAAW,GAAG;IACf,0DAA0D;IAC1D,OAAO,CAAC,EAAE,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAA;CAClD,CAAC;AA8QJ,QAAA,MAAM,YAAY;aA/QJ,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO;6EAkRnD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type MaterialNode } from './chatMyFilesModel';
|
|
2
|
+
import type { QuickAddActionId } from './chatQuickAddMenu';
|
|
3
|
+
import './chatArtifactMenu.css';
|
|
4
|
+
import './myFilesTreeMotion.css';
|
|
5
|
+
/**
|
|
6
|
+
* 目录树的一行。
|
|
7
|
+
*
|
|
8
|
+
* 结构上刻意拆成「主按钮 + 悬浮操作区」:主按钮负责展开/进入,操作区里的
|
|
9
|
+
* `…` 与 `+` 是真正的按钮。不能整行做成 button 再往里塞按钮——嵌套 button 是
|
|
10
|
+
* 非法 HTML,点击会互相吞事件。
|
|
11
|
+
*
|
|
12
|
+
* 悬浮操作在 hover / focus-within 时出现,键盘用户靠 Tab 也能进入操作区。
|
|
13
|
+
*/
|
|
14
|
+
type __VLS_Props = {
|
|
15
|
+
node: MaterialNode;
|
|
16
|
+
depth: number;
|
|
17
|
+
expandedIds: Set<string>;
|
|
18
|
+
selectedId: string;
|
|
19
|
+
/** 当前正在查看的目录(面包屑所在层),与「选中」不是一回事。 */
|
|
20
|
+
currentFolderId?: string;
|
|
21
|
+
};
|
|
22
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
toggle: (id: string) => any;
|
|
24
|
+
open: (node: MaterialNode) => any;
|
|
25
|
+
action: (payload: {
|
|
26
|
+
node: MaterialNode;
|
|
27
|
+
action: string;
|
|
28
|
+
}) => any;
|
|
29
|
+
navigate: (node: MaterialNode) => any;
|
|
30
|
+
quickAdd: (payload: {
|
|
31
|
+
node: MaterialNode;
|
|
32
|
+
action: QuickAddActionId;
|
|
33
|
+
}) => any;
|
|
34
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
35
|
+
onToggle?: ((id: string) => any) | undefined;
|
|
36
|
+
onOpen?: ((node: MaterialNode) => any) | undefined;
|
|
37
|
+
onAction?: ((payload: {
|
|
38
|
+
node: MaterialNode;
|
|
39
|
+
action: string;
|
|
40
|
+
}) => any) | undefined;
|
|
41
|
+
onNavigate?: ((node: MaterialNode) => any) | undefined;
|
|
42
|
+
onQuickAdd?: ((payload: {
|
|
43
|
+
node: MaterialNode;
|
|
44
|
+
action: QuickAddActionId;
|
|
45
|
+
}) => any) | undefined;
|
|
46
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
declare const _default: typeof __VLS_export;
|
|
48
|
+
export default _default;
|
|
49
|
+
//# sourceMappingURL=ChatMyFilesTree.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesTree.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesTree.vue"],"names":[],"mappings":"AAsZA,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAO1D,OAAO,wBAAwB,CAAA;AAC/B,OAAO,yBAAyB,CAAA;AAIhC;;;;;;;;GAQG;AACH,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,YAAY,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,oCAAoC;IACpC,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAC;AAuZF,QAAA,MAAM,YAAY;;;;cA1YU,YAAY;gBAAU,MAAM;;;;cAE1B,YAAY;gBAAU,gBAAgB;;;;;;cAFxC,YAAY;gBAAU,MAAM;;;;cAE1B,YAAY;gBAAU,gBAAgB;;kFA2YlE,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
ext?: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
/**
|
|
5
|
+
* 目录节点:没有扩展名,按 ext 解析会落到「纯文本」图标。
|
|
6
|
+
* 搜索面板、最近列表都要把文件夹画成文件夹,故显式声明。
|
|
7
|
+
*/
|
|
8
|
+
folder?: 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<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
13
|
+
//# sourceMappingURL=ChatMyFilesTypeMark.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesTypeMark.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesTypeMark.vue"],"names":[],"mappings":"AAkDA,KAAK,WAAW,GAAG;IACjB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AA6CF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 目标目录链(不含文件名),空数组 = 我的资料根目录。
|
|
3
|
+
*
|
|
4
|
+
* 从某个文件夹的「+」进来时,落点是已经确定过的;不写出来用户就不知道会传到哪,
|
|
5
|
+
* 传完在别处找不到文件是必然后果。这里只做展示,真正的目录链由宿主钉死。
|
|
6
|
+
*/
|
|
7
|
+
type __VLS_Props = {
|
|
8
|
+
targetPath?: string[];
|
|
9
|
+
};
|
|
10
|
+
type __VLS_ModelProps = {
|
|
11
|
+
/**
|
|
12
|
+
* 「添加资料」弹窗:拖拽区 + 选择文件 + 选择文件夹。
|
|
13
|
+
*
|
|
14
|
+
* 只负责收文件,不负责上传:选中的 File[] 交给上层(上传队列已在 ChatMyFiles 层
|
|
15
|
+
* 常驻,切视图不会中断)。文件夹走 `webkitdirectory`,队列按 `webkitRelativePath`
|
|
16
|
+
* 逐级建目录,所以这里只做透传。
|
|
17
|
+
*/
|
|
18
|
+
modelValue?: boolean;
|
|
19
|
+
};
|
|
20
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
21
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
"update:modelValue": (value: boolean) => any;
|
|
23
|
+
files: (files: File[]) => any;
|
|
24
|
+
folder: (files: File[]) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
27
|
+
onFiles?: ((files: File[]) => any) | undefined;
|
|
28
|
+
onFolder?: ((files: File[]) => any) | undefined;
|
|
29
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
declare const _default: typeof __VLS_export;
|
|
31
|
+
export default _default;
|
|
32
|
+
//# sourceMappingURL=ChatMyFilesUploadDialog.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesUploadDialog.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesUploadDialog.vue"],"names":[],"mappings":"AA6YA;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC;AAyD7C,KAAK,gBAAgB,GAAG;IACxB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAoLxD,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { MyFilesUploadQueue, MyFilesUploadTask } from './myFilesUploadQueue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
queue: MyFilesUploadQueue;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
open: (task: MyFilesUploadTask) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onOpen?: ((task: MyFilesUploadTask) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
declare const _default: typeof __VLS_export;
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=ChatMyFilesUploadPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesUploadPanel.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesUploadPanel.vue"],"names":[],"mappings":"AAi/BA,OAAO,KAAK,EAEV,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAa7B,KAAK,WAAW,GAAG;IAAE,KAAK,EAAE,kBAAkB,CAAA;CAAE,CAAC;AAowBjD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { ChatCloudConfig } from '../../cloudConfig';
|
|
2
|
+
import type { OnlyOfficeProfile } from '../document-viewer/onlyoffice/onlyOfficeProfile';
|
|
3
|
+
import type { MaterialNode } from './chatMyFilesModel';
|
|
4
|
+
import { type MyFilesPreviewOptions } from './myFilesPreview';
|
|
5
|
+
/**
|
|
6
|
+
* 右侧文件预览/编辑面板。
|
|
7
|
+
*
|
|
8
|
+
* 三种形态由 `resolvePreviewMode` 决定:
|
|
9
|
+
* - `text`:文本类,md 只读走全站统一的 markdown 渲染器(`ContentNodes`:md4x + KaTeX +
|
|
10
|
+
* DOMPurify 白名单),编辑态才换成文档式编辑器(`ChatMyFilesDocEditor`),其余文件走等宽文本;
|
|
11
|
+
* - `preview`:交给 `ChatFilePreview`,Office 走 OnlyOffice、其余走本地渲染器;
|
|
12
|
+
* - `unsupported`:设计稿的「该文件类型暂不支持预览 + 下载文件」。
|
|
13
|
+
*
|
|
14
|
+
* 文本类默认是**只读**的:点标题栏「编辑」才可写。参考的文档产品都是这个路径,
|
|
15
|
+
* 也避免用户点开文件随手敲一下就改了内容。
|
|
16
|
+
*
|
|
17
|
+
* **当前整个资料库只读**(`MY_FILES_EDITING_ENABLED === false`):编辑 / 取消 / 保存
|
|
18
|
+
* 三个入口整体下线,Office 文档改走 OnlyOffice 纯预览版,保存管道不会被调用。
|
|
19
|
+
* 这是一处**总开关**,恢复编辑只需把它改回 `true`,不用重接链路。
|
|
20
|
+
*
|
|
21
|
+
* 只读态**没有「文档 / 源码」切换**:用户在读文件,不该被要求理解 markdown 源码;
|
|
22
|
+
* 切换只在编辑态出现(改表格、图片这类富文本表达不了的内容时才需要),
|
|
23
|
+
* 并且是**图标 + title**,不是「源码」这种对使用者无意义的文字按钮。
|
|
24
|
+
*/
|
|
25
|
+
type __VLS_Props = {
|
|
26
|
+
node: MaterialNode;
|
|
27
|
+
cloud?: ChatCloudConfig;
|
|
28
|
+
preview?: MyFilesPreviewOptions;
|
|
29
|
+
/**
|
|
30
|
+
* 面包屑目录链:**含「我的资料」根、不含文件名**。
|
|
31
|
+
* 带 id 是为了让面包屑可点击回退——只有名字的话点哪一级都无处可去。
|
|
32
|
+
*/
|
|
33
|
+
crumbs?: {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
}[];
|
|
37
|
+
/**
|
|
38
|
+
* OnlyOffice 界面形态。编辑打开时缺省是「编辑版」(完整页签 + 格式区)——
|
|
39
|
+
* 用户要的是真编辑器,`simple` 的单行紧凑工具栏把格式区折进页签,
|
|
40
|
+
* 改文档时每换一次样式都要多点一层。
|
|
41
|
+
* 产物侧(`ChatArtifactPreview` / `ArtifactPreview`)缺省是「纯预览版」,
|
|
42
|
+
* 不要把两边的缺省搞反。
|
|
43
|
+
*
|
|
44
|
+
* **编辑总开关关闭时本 prop 不生效**:一律走「纯预览版」,宿主传什么都改不了只读。
|
|
45
|
+
*/
|
|
46
|
+
onlyofficeProfile?: OnlyOfficeProfile;
|
|
47
|
+
};
|
|
48
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
|
+
close: () => any;
|
|
50
|
+
notice: (message: string) => any;
|
|
51
|
+
navigate: (id: string) => any;
|
|
52
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
53
|
+
onClose?: (() => any) | undefined;
|
|
54
|
+
onNotice?: ((message: string) => any) | undefined;
|
|
55
|
+
onNavigate?: ((id: string) => any) | undefined;
|
|
56
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
57
|
+
declare const _default: typeof __VLS_export;
|
|
58
|
+
export default _default;
|
|
59
|
+
//# sourceMappingURL=ChatMyFilesViewer.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesViewer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesViewer.vue"],"names":[],"mappings":"AAo2BA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AASxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAA;AAExF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD,OAAO,EAML,KAAK,qBAAqB,EAC3B,MAAM,kBAAkB,CAAA;AAIzB;;;;;;;;;;;;;;;;;;;GAmBG;AACH,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,YAAY,CAAA;IAClB,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB,OAAO,CAAC,EAAE,qBAAqB,CAAA;IAC/B;;;OAGG;IACH,MAAM,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACvC;;;;;;;;OAQG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;CACtC,CAAC;AA6yBF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import '../../mdoc/referenceTag.css';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
src: string;
|
|
4
|
+
};
|
|
5
|
+
declare function retry(): void;
|
|
6
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
7
|
+
retry: typeof retry;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
action: (payload: {
|
|
10
|
+
type: "reference-click";
|
|
11
|
+
refIndex: string;
|
|
12
|
+
}) => any;
|
|
13
|
+
loaded: (payload: {
|
|
14
|
+
text: string;
|
|
15
|
+
lines: number;
|
|
16
|
+
}) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
18
|
+
onAction?: ((payload: {
|
|
19
|
+
type: "reference-click";
|
|
20
|
+
refIndex: string;
|
|
21
|
+
}) => any) | undefined;
|
|
22
|
+
onLoaded?: ((payload: {
|
|
23
|
+
text: string;
|
|
24
|
+
lines: number;
|
|
25
|
+
}) => any) | undefined;
|
|
26
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
27
|
+
declare const _default: typeof __VLS_export;
|
|
28
|
+
export default _default;
|
|
29
|
+
//# sourceMappingURL=ChatTextReader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatTextReader.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatTextReader.vue"],"names":[],"mappings":"AAsKA,OAAO,6BAA6B,CAAA;AAgBpC,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAA;CACZ,CAAC;AAwCF,iBAAS,KAAK,IAAI,IAAI,CAErB;AAqFD,QAAA,MAAM,YAAY;;;;cAzHU,iBAAiB;kBAAY,MAAM;;;cADnC,MAAM;eAAS,MAAM;;;;cACrB,iBAAiB;kBAAY,MAAM;;;cADnC,MAAM;eAAS,MAAM;;kFA8H/C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|