@deep-eye/core 1.3.82 → 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 +47 -0
- package/README.md +1 -1
- package/dist/{ChartRenderer-CdMqq77C.js → ChartRenderer-Cjy0_9Vd.js} +1 -1
- package/dist/{ChartRenderer-D5Z9667V.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/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-WRcIosJk.cjs → docx-preview-DG8slhP7.cjs} +1 -1
- package/dist/{docx-preview-BB0Qv1nC.js → docx-preview-DMQ6xzQM.js} +1 -1
- package/dist/{index-CWLfFu3e.cjs → index-B4nd6sY1.cjs} +1 -1
- package/dist/{index-BrxlMnow.js → index-CBCQPl8n.js} +75358 -65919
- package/dist/index-CJ-Mb6SU.cjs +1410 -0
- package/dist/{index-BGQvGRIY.js → index-DRZPTPoe.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +599 -463
- package/dist/{papaparse.min-C3FYhYXB.cjs → papaparse.min-BRNq6gPR.cjs} +1 -1
- package/dist/{papaparse.min-B0ulAjn8.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-BBiUUsrN.cjs +0 -1248
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { type InjectionKey, type Ref } from 'vue';
|
|
2
|
+
import type { UiDropdownMenuItem } from '../../../ui';
|
|
3
|
+
/**
|
|
4
|
+
* 文件行「更多操作」菜单的统一数据源。
|
|
5
|
+
*
|
|
6
|
+
* 两个消费方共用同一份定义,只在**动作集合**与**上传目标**上按场景裁剪:
|
|
7
|
+
*
|
|
8
|
+
* - `artifact`(AI 产物行 / 产物预览 / 对话流产物卡片):
|
|
9
|
+
* 下载 → 添加到任务 → 上传到(我的资料 / 备课中心 / 知识库)。
|
|
10
|
+
* 产物本身不在「我的资料」里,所以上传目标含「我的资料」。
|
|
11
|
+
* - `my-files`(我的资料的文件行):添加到任务 / 重命名 / 上传到(备课中心 / 知识库) / 删除。
|
|
12
|
+
* 文件本来就在「我的资料」里,再传回自己是自指,因此上传目标去掉「我的资料」。
|
|
13
|
+
* 分享 / 共享校内暂缓实现,菜单项已注释隐藏(id 与文案保留)。
|
|
14
|
+
*
|
|
15
|
+
* 三处产物入口共用操作 id、可用/禁用策略与反馈文案,保证体验统一。
|
|
16
|
+
*/
|
|
17
|
+
export type ArtifactFileActionId = 'add-task' | 'rename' | 'share' | 'share-school' | 'upload-my-files' | 'upload-lesson' | 'upload-knowledge' | 'delete';
|
|
18
|
+
export declare const ARTIFACT_FILE_ACTION_IDS: readonly ArtifactFileActionId[];
|
|
19
|
+
/** 「上传到」的目标项;id 与菜单项 id 同名,便于二级路径归一化。 */
|
|
20
|
+
export declare const UPLOAD_TARGETS: {
|
|
21
|
+
readonly myFiles: {
|
|
22
|
+
readonly id: "upload-my-files";
|
|
23
|
+
readonly label: "我的资料";
|
|
24
|
+
};
|
|
25
|
+
readonly lesson: {
|
|
26
|
+
readonly id: "upload-lesson";
|
|
27
|
+
readonly label: "备课中心";
|
|
28
|
+
};
|
|
29
|
+
readonly knowledge: {
|
|
30
|
+
readonly id: "upload-knowledge";
|
|
31
|
+
readonly label: "知识库";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* 更多操作按钮图标(24×24 槽位):横排三点。
|
|
36
|
+
* 我的文件 / AI 产物列表行、AI 产物预览、对话产物卡片三处共用这一张切图,
|
|
37
|
+
* 换图只改这里;对话卡片另需 `.chat-chrome-icon` 做暗色反色。
|
|
38
|
+
*/
|
|
39
|
+
export declare const ARTIFACT_FILE_MORE_ICON: string;
|
|
40
|
+
/** 菜单尺寸取自设计稿:面板 180 宽、行高 40、圆角 16、项圆角 4、图标 24。 */
|
|
41
|
+
export declare const ARTIFACT_FILE_MENU_PANEL_CLASS = "chat-artifact-menu";
|
|
42
|
+
/** 子菜单 flyout 面板同规格(行高 40 / 字号 14 / 圆角 16 / 边框),与根面板一致。 */
|
|
43
|
+
export declare const ARTIFACT_FILE_SUBMENU_PANEL_CLASS = "chat-artifact-menu-sub";
|
|
44
|
+
export declare const ARTIFACT_FILE_MENU_WIDTH = 180;
|
|
45
|
+
export declare const ARTIFACT_FILE_MENU_PLACEMENT: "bottom-end";
|
|
46
|
+
export declare const ARTIFACT_FILE_ACTIONS_UNAVAILABLE_NOTICE = "\u6682\u4E0D\u652F\u6301";
|
|
47
|
+
/** 与 AI 产物页 `onFileAction` 逐字一致的即时反馈文案。 */
|
|
48
|
+
export declare const ARTIFACT_FILE_ACTION_NOTICES: Record<Exclude<ArtifactFileActionId, 'rename' | 'delete'>, string>;
|
|
49
|
+
/**
|
|
50
|
+
* 可用 / 禁用规则,与 AI 产物页一致:
|
|
51
|
+
* - `disabled`:整组操作不可用(例如流式生成中、只读场景),菜单项置灰且不可点。
|
|
52
|
+
* - `unavailable`:云端数据模式(`props.cloud`)。AI 产物页不置灰菜单项,
|
|
53
|
+
* 而是点击任意项后提示「暂不支持」,这里保持同样的规则。
|
|
54
|
+
*/
|
|
55
|
+
export interface ArtifactFileActionPolicy {
|
|
56
|
+
disabled: boolean;
|
|
57
|
+
unavailable: boolean;
|
|
58
|
+
}
|
|
59
|
+
export declare const DEFAULT_ARTIFACT_FILE_ACTION_POLICY: ArtifactFileActionPolicy;
|
|
60
|
+
/** 由上层(ChatBot / 宿主)注入,让对话内卡片与 AI 产物页处于同一策略下。 */
|
|
61
|
+
export declare const artifactFileActionsKey: InjectionKey<Readonly<Ref<ArtifactFileActionPolicy>>>;
|
|
62
|
+
/**
|
|
63
|
+
* 菜单的作用域:决定动作集合与「上传到」的目标子集。
|
|
64
|
+
*
|
|
65
|
+
* 只收口真正一致的部分(图标、顺序骨架、禁用策略、反馈文案、子菜单路径归一化),
|
|
66
|
+
* 场景差异(有哪些动作、能传到哪)留在各自的 scope 里,不做「万能菜单」。
|
|
67
|
+
*/
|
|
68
|
+
export type FileActionMenuScope = 'artifact' | 'my-files';
|
|
69
|
+
/**
|
|
70
|
+
* 统一的文件行菜单工厂。
|
|
71
|
+
*
|
|
72
|
+
* - `scope`:动作集合与上传目标的差异来源。
|
|
73
|
+
* - `includeDownload`:是否把「下载」置顶。产物侧恒有下载;我的资料的文件
|
|
74
|
+
* 在预览弹层里已能下载,设计稿的行菜单里也没有下载,故默认不带。
|
|
75
|
+
*/
|
|
76
|
+
export declare function createFileActionMenuItems(scope: FileActionMenuScope, policy?: Partial<ArtifactFileActionPolicy>, options?: {
|
|
77
|
+
includeDownload?: boolean;
|
|
78
|
+
}): UiDropdownMenuItem[];
|
|
79
|
+
/**
|
|
80
|
+
* 产物文件「更多操作」的统一菜单:下载、添加到任务、上传到。
|
|
81
|
+
*
|
|
82
|
+
* 对话流卡片、AI 产物列表行、AI 产物预览三处共用同一份定义,
|
|
83
|
+
* 保证菜单项、顺序、图标、可用/禁用规则完全一致。
|
|
84
|
+
*
|
|
85
|
+
* `includeDownload` 控制是否把「下载」置顶:
|
|
86
|
+
* - 对话卡片:非 bento 才显示下载;
|
|
87
|
+
* - AI 产物列表行 / 预览:恒显示下载。
|
|
88
|
+
*/
|
|
89
|
+
export declare function createArtifactFileMenuItems(policy?: Partial<ArtifactFileActionPolicy>, options?: {
|
|
90
|
+
includeDownload?: boolean;
|
|
91
|
+
}): UiDropdownMenuItem[];
|
|
92
|
+
/** 我的资料文件行的菜单:设计稿的六项(上传到子菜单为备课中心 / 知识库)。 */
|
|
93
|
+
export declare function createMyFilesFileMenuItems(policy?: Partial<ArtifactFileActionPolicy>): UiDropdownMenuItem[];
|
|
94
|
+
/**
|
|
95
|
+
* UiDropdown 对二级菜单项返回 `父id:子id` 路径(如 `upload:upload-knowledge`),
|
|
96
|
+
* 归一化为统一的操作 id;未知 id 返回 null,避免误触发操作。
|
|
97
|
+
*/
|
|
98
|
+
export declare function normalizeArtifactFileActionId(id: string): ArtifactFileActionId | null;
|
|
99
|
+
export type ArtifactFileActionOutcome = {
|
|
100
|
+
kind: 'unavailable';
|
|
101
|
+
action: ArtifactFileActionId;
|
|
102
|
+
notice: string;
|
|
103
|
+
} | {
|
|
104
|
+
kind: 'prompt';
|
|
105
|
+
action: 'rename';
|
|
106
|
+
} | {
|
|
107
|
+
kind: 'confirm';
|
|
108
|
+
action: 'delete';
|
|
109
|
+
} | {
|
|
110
|
+
kind: 'notice';
|
|
111
|
+
action: ArtifactFileActionId;
|
|
112
|
+
notice: string;
|
|
113
|
+
};
|
|
114
|
+
/** 把一次菜单点击解析成两处共用的后续行为。 */
|
|
115
|
+
export declare function resolveArtifactFileAction(id: string, policy?: Partial<ArtifactFileActionPolicy>): ArtifactFileActionOutcome | null;
|
|
116
|
+
/** 读取注入策略;缺省时与 AI 产物页的本地(非云端)模式一致:全部操作可用。 */
|
|
117
|
+
export declare function injectArtifactFileActionPolicy(): Readonly<Ref<ArtifactFileActionPolicy>> | null;
|
|
118
|
+
//# sourceMappingURL=chatArtifactFileActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chatArtifactFileActions.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/chatArtifactFileActions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,KAAK,YAAY,EAAE,KAAK,GAAG,EAAE,MAAM,KAAK,CAAA;AACzD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AAqBrD;;;;;;;;;;;;;GAaG;AAEH,MAAM,MAAM,oBAAoB,GAC5B,UAAU,GACV,QAAQ,GACR,OAAO,GACP,cAAc,GACd,iBAAiB,GACjB,eAAe,GACf,kBAAkB,GAClB,QAAQ,CAAA;AAEZ,eAAO,MAAM,wBAAwB,EAAE,SAAS,oBAAoB,EASnE,CAAA;AAED,yCAAyC;AACzC,eAAO,MAAM,cAAc;;;;;;;;;;;;;CAIqD,CAAA;AAEhF;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,QAAW,CAAA;AAE/C,kDAAkD;AAClD,eAAO,MAAM,8BAA8B,uBAAuB,CAAA;AAClE,2DAA2D;AAC3D,eAAO,MAAM,iCAAiC,2BAA2B,CAAA;AACzE,eAAO,MAAM,wBAAwB,MAAM,CAAA;AAC3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,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACrE;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,QAAQ,CAAA;CAAE,GACpC;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,QAAQ,CAAA;CAAE,GACrC;IAAE,IAAI,EAAE,QAAQ,CAAC;IAAC,MAAM,EAAE,oBAAoB,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,CAAA;AAEpE,2BAA2B;AAC3B,wBAAgB,yBAAyB,CACvC,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,OAAO,CAAC,wBAAwB,CAAM,GAC7C,yBAAyB,GAAG,IAAI,CAUlC;AAED,6CAA6C;AAC7C,wBAAgB,8BAA8B,IAAI,QAAQ,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC,GAAG,IAAI,CAE/F"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { ChatCloudConfig } from '../../cloudConfig';
|
|
2
|
+
import type { ArtifactFile, ArtifactSession, MaterialNode } from './chatMyFilesModel';
|
|
3
|
+
import { type ArtifactFileActionId } from './chatArtifactFileActions';
|
|
4
|
+
/**
|
|
5
|
+
* 「上传到」的落点与提交逻辑(我的资料 / 知识库 / 备课中心)。
|
|
6
|
+
*
|
|
7
|
+
* 为什么单独一个文件:这三个目标的**提交接口**各有各的入参(saveFiles / copyToKnowledge /
|
|
8
|
+
* copyToTeaching),但四个入口(AI 产物行、产物预览、对话产物卡片、我的资料行与目录树)
|
|
9
|
+
* 需要的是同一套「把哪些文件传到哪」的语义。没有这一层,四处会各写一遍字段拼装与
|
|
10
|
+
* 提示文案,改一处漏三处——这正是模块治理里被反复点出的问题。
|
|
11
|
+
*
|
|
12
|
+
* 依赖方向:本文件只依赖 `chatMyFilesApi` 与 `chatArtifactFileActions`,
|
|
13
|
+
* 不 import 任何 .vue,测试里可以直接跑。
|
|
14
|
+
*/
|
|
15
|
+
export type FileTransferTarget = 'my-files' | 'knowledge' | 'lesson';
|
|
16
|
+
export declare function fileTransferTargetOfAction(action: ArtifactFileActionId): FileTransferTarget | null;
|
|
17
|
+
/** 落点文案直接取菜单那一份,避免菜单写「我的资料」、弹窗写「我的文件」。 */
|
|
18
|
+
export declare function fileTransferTargetLabel(target: FileTransferTarget): string;
|
|
19
|
+
/**
|
|
20
|
+
* 尚未接通的落点。
|
|
21
|
+
*
|
|
22
|
+
* 备课中心的落点数据(教材 → 单元 → 章节)在宿主侧(basic-agent-web),
|
|
23
|
+
* 组件库不猜接口:宿主没传 `transferSources.teaching` 时点「上传到备课中心」
|
|
24
|
+
* 会给出这句说明,而不是假装成功。
|
|
25
|
+
*/
|
|
26
|
+
export declare const FILE_TRANSFER_UNAVAILABLE: Partial<Record<FileTransferTarget, string>>;
|
|
27
|
+
/**
|
|
28
|
+
* 一次上传里的单个文件。
|
|
29
|
+
*
|
|
30
|
+
* - `id`:我的资料里是文件节点 id;从产物出发时是产物 id。
|
|
31
|
+
* - `artifact`:存在即表示「这个文件还在产物库里」,落我的资料要走 `AGENT_ARTIFACT` 通道。
|
|
32
|
+
*/
|
|
33
|
+
export interface FileTransferItem {
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
url?: string;
|
|
37
|
+
ext?: string;
|
|
38
|
+
size?: number;
|
|
39
|
+
mimeType?: string;
|
|
40
|
+
artifact?: {
|
|
41
|
+
artifactId: string;
|
|
42
|
+
sessionId?: string;
|
|
43
|
+
messageId?: string;
|
|
44
|
+
taskName?: string;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
/** 我的资料的文件夹节点 → 可上传项;文件夹不进上传队列。 */
|
|
48
|
+
export declare function materialToTransferItem(node: MaterialNode): FileTransferItem | null;
|
|
49
|
+
/** 产物文件 → 可上传项;带上会话信息,落库后还能回溯「这份产物来自哪个任务」。 */
|
|
50
|
+
export declare function artifactToTransferItem(file: ArtifactFile, session?: Pick<ArtifactSession, 'id' | 'title'>): FileTransferItem;
|
|
51
|
+
export interface FileTransferOutcome {
|
|
52
|
+
notice: string;
|
|
53
|
+
/** 落库后的文件 id(产物上传时由服务端新建)。批量场景下给宿主刷新用。 */
|
|
54
|
+
fileIds: string[];
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* 上传前先校验一遍。
|
|
58
|
+
*
|
|
59
|
+
* 只有**产物**需要下载地址:服务端是按 URL 去拉那一份文件落库的。
|
|
60
|
+
* 我的资料里的文件本来就已经在库里,`copyToKnowledge` 只认 id,没有直链照样能传,
|
|
61
|
+
* 所以不能拿「必须有 url」去卡它(目录树不少节点就是没有直链)。
|
|
62
|
+
*/
|
|
63
|
+
export declare function assertUploadable(items: FileTransferItem[]): void;
|
|
64
|
+
/**
|
|
65
|
+
* 产物 → 我的资料。
|
|
66
|
+
*
|
|
67
|
+
* 只有产物走这里:我的资料里的文件不该「上传到我的资料」(自指),菜单里本就没有这个目标。
|
|
68
|
+
*/
|
|
69
|
+
export declare function transferFilesToMyFiles(cloud: ChatCloudConfig, items: FileTransferItem[], directoryId?: string): Promise<FileTransferOutcome>;
|
|
70
|
+
export declare function transferFilesToKnowledge(cloud: ChatCloudConfig, items: FileTransferItem[], targetKnowledgeId: string, targetDirectoryId?: string): Promise<FileTransferOutcome>;
|
|
71
|
+
/**
|
|
72
|
+
* 我的资料 / 产物 → 备课中心(教材章节)。
|
|
73
|
+
*
|
|
74
|
+
* `catalogRootId` 是教材、`catalogNodeId` 是章节,两个都由选择器的「页签 + 树节点」
|
|
75
|
+
* 给出(页签 = 教材,树 = 该教材的章节树)。备课上传**不触发解析**,入库即可用。
|
|
76
|
+
*/
|
|
77
|
+
export declare function transferFilesToTeaching(cloud: ChatCloudConfig, items: FileTransferItem[], input: {
|
|
78
|
+
catalogRootId: string;
|
|
79
|
+
catalogNodeId: string;
|
|
80
|
+
}): Promise<FileTransferOutcome>;
|
|
81
|
+
/** 选择器确认后回抛的落点。 */
|
|
82
|
+
export interface FileTransferChoice {
|
|
83
|
+
/** 我的资料目录 id / 知识库 id / 章节节点 id。 */
|
|
84
|
+
id: string;
|
|
85
|
+
name: string;
|
|
86
|
+
/** 备课中心:教材根节点 id(选择器当前页签的 key)。 */
|
|
87
|
+
catalogRootId?: string;
|
|
88
|
+
}
|
|
89
|
+
/** 统一入口:按落点分派。 */
|
|
90
|
+
export declare function transferFiles(cloud: ChatCloudConfig, target: FileTransferTarget, items: FileTransferItem[], choice: FileTransferChoice): Promise<FileTransferOutcome>;
|
|
91
|
+
export interface KnowledgeTarget {
|
|
92
|
+
id: string;
|
|
93
|
+
name: string;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* 目标选择器要的知识库列表。
|
|
97
|
+
*
|
|
98
|
+
* 直接复用技能侧 `findSimpleKnowledgeBaseList` 的实现(同一个接口、同一组宿主默认参数),
|
|
99
|
+
* 不另起一份 path 常量——那份常量在 `skillApiPaths` 里是唯一真源。
|
|
100
|
+
*/
|
|
101
|
+
export declare function fetchKnowledgeTargets(cloud: ChatCloudConfig): Promise<KnowledgeTarget[]>;
|
|
102
|
+
//# sourceMappingURL=chatFileTransfer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chatFileTransfer.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/chatFileTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAYxD,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACrF,OAAO,EAAkB,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAErF;;;;;;;;;;GAUG;AAEH,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,WAAW,GAAG,QAAQ,CAAA;AASpE,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,oBAAoB,GAC3B,kBAAkB,GAAG,IAAI,CAE3B;AAED,0CAA0C;AAC1C,w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AC5C,KAAK,EAAE,eAAe,EACtB,KAAK,EAAE,gBAAgB,EAAE,EACzB,iBAAiB,EAAE,MAAM,EACzB,iBAAiB,CAAC,EAAE,MAAM,GACzB,OAAO,CAAC,mBAAmB,CAAC,CAe9B;AAED;;;;;GAKG;AACH,wBAAsB,uBAAuB,CAC3C,KAAK,EAAE,eAAe,EACtB,KAAK,EAAE,gBAAgB,EAAE,EACzB,KAAK,EAAE;IAAE,aAAa,EAAE,MAAM,CAAC;IAAC,aAAa,EAAE,MAAM,CAAA;CAAE,GACtD,OAAO,CAAC,mBAAmB,CAAC,CAe9B;AAED,mBAAmB;AACnB,MAAM,WAAW,kBAAkB;IACjC,oCAAoC;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,mCAAmC;IACnC,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,kBAAkB;AAClB,wBAAsB,aAAa,CACjC,KAAK,EAAE,eAAe,EACtB,MAAM,EAAE,kBAAkB,EAC1B,KAAK,EAAE,gBAAgB,EAAE,EACzB,MAAM,EAAE,kBAAkB,GACzB,OAAO,CAAC,mBAAmB,CAAC,CAO9B;AAED,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;CACb;AAED;;;;;GAKG;AACH,wBAAsB,qBAAqB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC,CAK9F"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ChatCloudConfig } from '../../cloudConfig';
|
|
2
|
+
import type { ChatFilePickerSource } from '../../chatFilePicker';
|
|
3
|
+
/**
|
|
4
|
+
* 「上传到」的默认落点来源。
|
|
5
|
+
*
|
|
6
|
+
* 放在单独一层的原因:落点选择与「+ → 添加文件」共用同一个弹框,
|
|
7
|
+
* 但两者要的东西不一样 —— 选文件要「库 → 文件」,选落点要「库 / 目录」。
|
|
8
|
+
* 这里把三种落点各自包成一个 `ChatFilePickerSource`,弹框按 `mode="target"` 渲染,
|
|
9
|
+
* 调用方(`useFileTransfer`)只认 `id` 与 `catalogRootId`,不碰 UI。
|
|
10
|
+
*
|
|
11
|
+
* 三个落点的数据来源刻意分开:
|
|
12
|
+
* - 我的资料:组件库自带目录树,宿主零配置;
|
|
13
|
+
* - 知识库 / 备课中心:**都必须宿主提供** —— 组件库不猜接口。
|
|
14
|
+
*
|
|
15
|
+
* 知识库为什么不给默认实现:仓里已经有一个「能引用哪些库」的清单
|
|
16
|
+
* (技能侧 `findSimpleKnowledgeBaseList`,给 @ 提及用),但它和「能写入哪些库」
|
|
17
|
+
* 不是一回事 —— 字段、分组(共享知识库 / 我加入的)、权限口径都不同。
|
|
18
|
+
* 两套数据源并存的结果是:落点列表缺库、或选到无权写入的库,而且**静默**。
|
|
19
|
+
* 所以这里只认宿主给的那一份,「+ → 添加文件」与「上传到」共用同一个 source。
|
|
20
|
+
*/
|
|
21
|
+
/** 备课中心落点缺失时给用户的说明。 */
|
|
22
|
+
export declare const TEACHING_SOURCE_MISSING = "\u5907\u8BFE\u4E2D\u5FC3\u7684\u6559\u6750\u76EE\u5F55\u7531\u5BBF\u4E3B\u63D0\u4F9B\uFF0C\u5F53\u524D\u73AF\u5883\u8FD8\u6CA1\u63A5\u5165";
|
|
23
|
+
/** 知识库落点缺失时给用户的说明。 */
|
|
24
|
+
export declare const KNOWLEDGE_SOURCE_MISSING = "\u77E5\u8BC6\u5E93\u5217\u8868\u7531\u5BBF\u4E3B\u63D0\u4F9B\uFF0C\u5F53\u524D\u73AF\u5883\u8FD8\u6CA1\u63A5\u5165";
|
|
25
|
+
/**
|
|
26
|
+
* 我的资料落点:整棵目录树,根目录作为可选中项。
|
|
27
|
+
*
|
|
28
|
+
* 树挂在「根目录」这一行下面,选中根目录就等于落资料库顶层 ——
|
|
29
|
+
* 与旧落点选择器里的 `我的资料(根目录)` 文案保持一致。
|
|
30
|
+
*/
|
|
31
|
+
export declare function createMyFilesTransferSource(cloud: ChatCloudConfig): ChatFilePickerSource;
|
|
32
|
+
//# sourceMappingURL=chatFileTransferSources.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chatFileTransferSources.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/chatFileTransferSources.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAuB,oBAAoB,EAAE,MAAM,sBAAsB,CAAA;AAIrF;;;;;;;;;;;;;;;;;GAiBG;AAEH,uBAAuB;AACvB,eAAO,MAAM,uBAAuB,+IAA4B,CAAA;AAEhE,sBAAsB;AACtB,eAAO,MAAM,wBAAwB,uHAAwB,CAAA;AAS7D;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,eAAe,GAAG,oBAAoB,CAgBxF"}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import type { ChatCloudChunkUploadEndpoints, ChatCloudConfig } from '../../cloudConfig';
|
|
2
|
+
import { ChatMyFilesRequestError } from './myFilesApiUtils';
|
|
3
|
+
import type { ArtifactFile, ArtifactGroup, ArtifactKind, MaterialNode } from './chatMyFilesModel';
|
|
4
|
+
import { MY_FILES_ROOT_ID } from './chatMyFilesModel';
|
|
5
|
+
export type MyFilesApiNodeType = 'FILE' | 'FOLDER';
|
|
6
|
+
export interface MyFilesNodeRef {
|
|
7
|
+
nodeType: MyFilesApiNodeType;
|
|
8
|
+
nodeId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface MyFilesSaveFileInput {
|
|
11
|
+
/**
|
|
12
|
+
* 文件服务侧的 fileId(七牛直传返回的 id)。
|
|
13
|
+
*
|
|
14
|
+
* 后端 v3 起:`fileInfo.id` **传了才会写**「文件 ↔ 个人空间」归属关系,不传就不写。
|
|
15
|
+
* 所以只有确实是文件服务 id 时才填 —— 把业务 id(产物 id、资料节点 id)填进来,
|
|
16
|
+
* 会写出一条指向不存在文件的归属记录。
|
|
17
|
+
*/
|
|
18
|
+
id?: string;
|
|
19
|
+
fileName: string;
|
|
20
|
+
url: string;
|
|
21
|
+
fileType?: string;
|
|
22
|
+
mimeType?: string;
|
|
23
|
+
size?: number;
|
|
24
|
+
sha256?: string;
|
|
25
|
+
/**
|
|
26
|
+
* 对象存储 key(直传凭证里的 `fileKey`)。
|
|
27
|
+
*
|
|
28
|
+
* 「我的文件 → 知识库 / 备课」复制对象时靠它定位源对象;不传后端只能从 url 反解,
|
|
29
|
+
* 而反解要求 url 是「协议 + 域名 + / + 对象 key」的直接映射(中间夹了 CDN 路径前缀就解不出来)。
|
|
30
|
+
*/
|
|
31
|
+
fileKey?: string;
|
|
32
|
+
/**
|
|
33
|
+
* 上传通道已把文件直接入库(如分片上传 `businessType=PERSONAL_FILES`),
|
|
34
|
+
* 调用方**不要**再调 `saveFiles` 登记一次,否则会重复入库。
|
|
35
|
+
*/
|
|
36
|
+
registered?: boolean;
|
|
37
|
+
}
|
|
38
|
+
export interface MyFilesAgentSaveInput extends MyFilesSaveFileInput {
|
|
39
|
+
/**
|
|
40
|
+
* 产物 id(`originType=AGENT_ARTIFACT` 的关联键,落到请求体的 `sourceArtifactId`)。
|
|
41
|
+
*
|
|
42
|
+
* 注意它**不是**文件服务 fileId:产物与文件服务是两套 id,
|
|
43
|
+
* 拿它去填 `fileInfo.id` 会写错「文件 ↔ 个人空间」归属关系。
|
|
44
|
+
*/
|
|
45
|
+
artifactId?: string;
|
|
46
|
+
sourceArtifactId?: string;
|
|
47
|
+
sourceSessionId?: string;
|
|
48
|
+
sourceMessageId?: string;
|
|
49
|
+
sourceTaskName?: string;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* `saveFiles` 的可选场景参数。
|
|
53
|
+
*
|
|
54
|
+
* `MY_UPLOAD` = 聊天入口上传:后端固定把文件归集到个人空间**顶层**的「我的上传」目录,
|
|
55
|
+
* 并**忽略**请求里的 `directoryId`(找不到同名目录就自动建)。
|
|
56
|
+
*/
|
|
57
|
+
export interface MyFilesSaveOptions {
|
|
58
|
+
uploadScene?: 'MY_UPLOAD';
|
|
59
|
+
}
|
|
60
|
+
export interface MyFilesCopyFileResult {
|
|
61
|
+
sourceFileId: string;
|
|
62
|
+
sourceFileName: string;
|
|
63
|
+
targetFileId: string;
|
|
64
|
+
status: string;
|
|
65
|
+
duplicate: boolean;
|
|
66
|
+
skipReason: string;
|
|
67
|
+
}
|
|
68
|
+
export interface MyFilesCopyResult {
|
|
69
|
+
targetKnowledgeId: string;
|
|
70
|
+
businessType: string;
|
|
71
|
+
batchId: string;
|
|
72
|
+
total: number;
|
|
73
|
+
successCount: number;
|
|
74
|
+
duplicateCount: number;
|
|
75
|
+
failedCount: number;
|
|
76
|
+
files: MyFilesCopyFileResult[];
|
|
77
|
+
}
|
|
78
|
+
export interface CopyMyFilesToKnowledgeInput {
|
|
79
|
+
sourceFileIds: string[];
|
|
80
|
+
targetKnowledgeId: string;
|
|
81
|
+
targetDirectoryId?: string;
|
|
82
|
+
batchId?: string;
|
|
83
|
+
buildKnowledgeGraph?: boolean;
|
|
84
|
+
}
|
|
85
|
+
export type TeachingResourceType = 'COURSEWARE' | 'VIDEO' | 'WORKSHEET' | 'LESSON_PLAN' | 'PROJECT';
|
|
86
|
+
export interface CopyMyFilesToTeachingInput {
|
|
87
|
+
sourceFileIds: string[];
|
|
88
|
+
catalogRootId: string;
|
|
89
|
+
catalogNodeId: string;
|
|
90
|
+
resourceType?: TeachingResourceType;
|
|
91
|
+
resourceRange?: string;
|
|
92
|
+
evaluationTag?: string;
|
|
93
|
+
year?: number;
|
|
94
|
+
term?: 0 | 1;
|
|
95
|
+
batchId?: string;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* `saveFiles` 单次最多 20 条 `fileInfo`(后端 A7.2)。
|
|
99
|
+
*
|
|
100
|
+
* 多选产物一次能选几十个,直接一次提交会被后端拒掉,所以统一在这里分批。
|
|
101
|
+
*/
|
|
102
|
+
export declare const MY_FILES_SAVE_BATCH_SIZE = 20;
|
|
103
|
+
/** 「我的文件」根目录 id,上传队列需要它来判定「无需建目录」。 */
|
|
104
|
+
export { MY_FILES_ROOT_ID };
|
|
105
|
+
/** `/check/list` 的 `page_size` 是会话数,不是每个会话里的产物数。 */
|
|
106
|
+
export declare const ARTIFACT_SESSION_PAGE_SIZE = 20;
|
|
107
|
+
export declare const ARTIFACT_FILE_PAGE_SIZE = 20;
|
|
108
|
+
export { ChatMyFilesRequestError };
|
|
109
|
+
export declare function sha256Hex(file: Blob): Promise<string>;
|
|
110
|
+
export declare function formatByteSize(size: number): string;
|
|
111
|
+
export declare function formatUpdatedLabel(value: string): string;
|
|
112
|
+
export declare function parseUpdatedAt(value: string): number;
|
|
113
|
+
export declare function artifactKindFromType(urlType: string, fileName: string): ArtifactKind;
|
|
114
|
+
/** 根节点是固定的「我的文件」,页面只渲染它的子节点。 */
|
|
115
|
+
export declare function mapMyFilesTree(result: unknown): MaterialNode[];
|
|
116
|
+
/** 学校共享树的根节点本身要展示,名字是「学校共享」。 */
|
|
117
|
+
export declare function mapSchoolSharedTree(result: unknown): MaterialNode | undefined;
|
|
118
|
+
export declare function collectFolderIds(nodes: MaterialNode[]): string[];
|
|
119
|
+
/**
|
|
120
|
+
* 现在 list / artifactPage / detail 三个接口的产物对象都带 `originalUrl`,`mapArtifactFile`
|
|
121
|
+
* 已直接收进 `file.url`,绝大多数情况下预览无需额外请求。只有在行上没有地址时才回落:
|
|
122
|
+
* 1. `genericAgent/library/check/detail` 直查(不限制 status/delete,回收站产物也能查);
|
|
123
|
+
* 2. 我的文件目录树里按 `sourceArtifactId / sourceFileId` 反查(产物入库到「我的文件」但 id 不同)。
|
|
124
|
+
* 都拿不到就返回 undefined,由 UI 提示「未能获取预览地址」。
|
|
125
|
+
*/
|
|
126
|
+
export interface ArtifactPreviewSource {
|
|
127
|
+
url: string;
|
|
128
|
+
/** 详情接口给的预览类型,优先于扩展名参与渲染器选择。 */
|
|
129
|
+
previewType?: string;
|
|
130
|
+
}
|
|
131
|
+
export declare function resolveArtifactPreview(cloud: ChatCloudConfig | undefined, file: ArtifactFile): Promise<ArtifactPreviewSource | undefined>;
|
|
132
|
+
export declare function mapArtifactLibrary(result: unknown): ArtifactGroup[];
|
|
133
|
+
export declare function countArtifactSessions(groups: ArtifactGroup[]): number;
|
|
134
|
+
export declare function mergeArtifactGroups(current: ArtifactGroup[], incoming: ArtifactGroup[]): ArtifactGroup[];
|
|
135
|
+
export interface ArtifactPage {
|
|
136
|
+
pageNum: number;
|
|
137
|
+
pageSize: number;
|
|
138
|
+
total: number;
|
|
139
|
+
files: ArtifactFile[];
|
|
140
|
+
}
|
|
141
|
+
export interface ArtifactLibraryQuery {
|
|
142
|
+
page?: number;
|
|
143
|
+
pageSize?: number;
|
|
144
|
+
search?: string;
|
|
145
|
+
}
|
|
146
|
+
export declare function mapArtifactPage(result: unknown): ArtifactPage;
|
|
147
|
+
export declare function appendArtifactPage(groups: ArtifactGroup[], sessionId: string, page: ArtifactPage): {
|
|
148
|
+
groups: ArtifactGroup[];
|
|
149
|
+
added: number;
|
|
150
|
+
hasMore: boolean;
|
|
151
|
+
};
|
|
152
|
+
export declare function summarizeSaveFiles(result: unknown): string;
|
|
153
|
+
export declare function fetchMyFilesTree(cloud: ChatCloudConfig, search?: string): Promise<MaterialNode[]>;
|
|
154
|
+
export declare function createMyFilesFolder(cloud: ChatCloudConfig, name: string, parentId?: string): Promise<void>;
|
|
155
|
+
export declare function saveUploadedMyFiles(cloud: ChatCloudConfig, files: MyFilesSaveFileInput[], directoryId?: string, options?: MyFilesSaveOptions): Promise<string>;
|
|
156
|
+
/** 单个文件的落库结果。`status` 取值 `OK | DUPLICATE | FAILED`,其余视为未知。 */
|
|
157
|
+
export interface MyFilesSaveFileResult {
|
|
158
|
+
id: string;
|
|
159
|
+
fileName: string;
|
|
160
|
+
status: string;
|
|
161
|
+
skipReason: string;
|
|
162
|
+
duplicate: boolean;
|
|
163
|
+
/** 命中重复时,已有文件所在的目录 id(后端 v3 新增)。 */
|
|
164
|
+
duplicateDirectoryId: string;
|
|
165
|
+
/** 命中重复时,已有文件所在目录的名字;用于「该文件已在 xxx 目录」的提示。 */
|
|
166
|
+
duplicateDirectoryName: string;
|
|
167
|
+
}
|
|
168
|
+
/** 逐文件读取 `saveFiles` 的响应,字段口径与 `summarizeSaveFiles` 保持一致。 */
|
|
169
|
+
export declare function parseSaveFilesResult(result: unknown): MyFilesSaveFileResult[];
|
|
170
|
+
/**
|
|
171
|
+
* 单文件落库。
|
|
172
|
+
*
|
|
173
|
+
* 批量 `saveUploadedMyFiles` 只回一句话,无法给出「哪个文件失败、为什么」;上传
|
|
174
|
+
* 进度面板需要逐文件状态与单文件重试,所以走这条逐文件通道。
|
|
175
|
+
*/
|
|
176
|
+
export declare function saveUploadedMyFile(cloud: ChatCloudConfig, file: MyFilesSaveFileInput, directoryId?: string, options?: MyFilesSaveOptions): Promise<MyFilesSaveFileResult>;
|
|
177
|
+
/**
|
|
178
|
+
* 新建目录并返回新目录 id。
|
|
179
|
+
*
|
|
180
|
+
* `createFolder` 的 `result` 形态在仓库里没有契约文档约束(既可能是 id 字符串,
|
|
181
|
+
* 也可能是节点对象),因此这里做宽解析;全部解析不出时返回 `undefined`,由调用方
|
|
182
|
+
* 回查目录树兜底。
|
|
183
|
+
*/
|
|
184
|
+
export declare function createMyFilesFolderNode(cloud: ChatCloudConfig, name: string, parentId?: string): Promise<string | undefined>;
|
|
185
|
+
export declare function fetchArtifactLibrary(cloud: ChatCloudConfig, query?: ArtifactLibraryQuery): Promise<ArtifactGroup[]>;
|
|
186
|
+
export declare function fetchArtifactPage(cloud: ChatCloudConfig, sessionId: string, page?: number, pageSize?: number): Promise<ArtifactPage>;
|
|
187
|
+
export declare function fetchArtifactDetail(cloud: ChatCloudConfig, artifactId: string): Promise<ArtifactFile>;
|
|
188
|
+
export declare function saveAgentArtifacts(cloud: ChatCloudConfig, files: MyFilesAgentSaveInput[], directoryId?: string): Promise<string>;
|
|
189
|
+
/**
|
|
190
|
+
* 产物落库的逐文件版本。
|
|
191
|
+
*
|
|
192
|
+
* 「上传到我的资料」需要知道**每个文件落到了哪**:提示要能说清「几个成功、几个已存在」,
|
|
193
|
+
* 而「产物 → 知识库」还要拿回新的文件 id 去调 copyToKnowledge。只回一句话的批量接口
|
|
194
|
+
* 满足不了这两件事,因此这里把 `saveFiles` 的响应逐条解出来,`saveAgentArtifacts`
|
|
195
|
+
* 也改为复用它(同一份请求体,只有解析粒度不同)。
|
|
196
|
+
*
|
|
197
|
+
* 产物这条链路**不传 `fileInfo.id`**:那是文件服务侧的 fileId,产物 id 不是它,
|
|
198
|
+
* 传过去后端会按「传了 id 就写归属关系」写出一条指向不存在文件的记录。
|
|
199
|
+
* 产物与资料记录的关联走 `sourceArtifactId`。
|
|
200
|
+
*/
|
|
201
|
+
export declare function saveAgentArtifactsDetailed(cloud: ChatCloudConfig, files: MyFilesAgentSaveInput[], directoryId?: string): Promise<MyFilesSaveFileResult[]>;
|
|
202
|
+
export declare function mapCopyResult(result: unknown): MyFilesCopyResult;
|
|
203
|
+
export declare function summarizeCopyFiles(result: MyFilesCopyResult): string;
|
|
204
|
+
export declare function copyMyFilesToKnowledge(cloud: ChatCloudConfig, input: CopyMyFilesToKnowledgeInput): Promise<MyFilesCopyResult>;
|
|
205
|
+
export declare function copyMyFilesToTeaching(cloud: ChatCloudConfig, input: CopyMyFilesToTeachingInput): Promise<MyFilesCopyResult>;
|
|
206
|
+
export declare function fetchSchoolSharedTree(cloud: ChatCloudConfig, search?: string, ownerUserId?: string): Promise<MaterialNode | undefined>;
|
|
207
|
+
export declare function renameMyFilesNode(cloud: ChatCloudConfig, node: MyFilesNodeRef, newName: string): Promise<string>;
|
|
208
|
+
export declare function moveMyFilesNode(cloud: ChatCloudConfig, node: MyFilesNodeRef, targetDirectoryId?: string, newOrder?: number): Promise<void>;
|
|
209
|
+
export declare function deleteMyFilesNodes(cloud: ChatCloudConfig, nodes: MyFilesNodeRef[]): Promise<string>;
|
|
210
|
+
export declare function fetchMyFilesDetail(cloud: ChatCloudConfig, fileId: string): Promise<MaterialNode>;
|
|
211
|
+
export declare function ensureMyFilesHome(cloud: ChatCloudConfig): Promise<void>;
|
|
212
|
+
/**
|
|
213
|
+
* 分片上传的业务落点。
|
|
214
|
+
*
|
|
215
|
+
* - `NORMAL`:普通知识库(传完会**触发解析**,解析期间列表里是「解析中」);
|
|
216
|
+
* - `TEACHING`:备课教材章节(不触发解析);
|
|
217
|
+
* - `PERSONAL_FILES`:我的资料个人空间(不解析,**传完即入库**)。
|
|
218
|
+
*/
|
|
219
|
+
export type MyFilesChunkBusinessType = 'NORMAL' | 'TEACHING' | 'PERSONAL_FILES';
|
|
220
|
+
export interface MyFilesChunkInitInput {
|
|
221
|
+
originalFileName: string;
|
|
222
|
+
directoryId: string;
|
|
223
|
+
chunkSize: number;
|
|
224
|
+
totalChunks: number;
|
|
225
|
+
size: number;
|
|
226
|
+
knowledgeId?: string;
|
|
227
|
+
businessType?: MyFilesChunkBusinessType;
|
|
228
|
+
}
|
|
229
|
+
export interface MyFilesChunkStatus {
|
|
230
|
+
uploadedChunks: number[];
|
|
231
|
+
totalChunks: number;
|
|
232
|
+
}
|
|
233
|
+
export interface MyFilesChunkCompleteResult {
|
|
234
|
+
fileId: string;
|
|
235
|
+
url: string;
|
|
236
|
+
size: number;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* 分片通道的四个原语,打包成对象交给 `myFilesChunkUpload` 的纯引擎调度;
|
|
240
|
+
* 引擎不直接 import 本模块,测试里可以用内存假实现替换。
|
|
241
|
+
*/
|
|
242
|
+
export interface MyFilesChunkApi {
|
|
243
|
+
init: (input: MyFilesChunkInitInput) => Promise<string>;
|
|
244
|
+
put: (uploadId: string, index: number, chunk: ArrayBuffer, signal?: AbortSignal) => Promise<void>;
|
|
245
|
+
status: (uploadId: string) => Promise<MyFilesChunkStatus>;
|
|
246
|
+
complete: (uploadId: string, signal?: AbortSignal) => Promise<MyFilesChunkCompleteResult>;
|
|
247
|
+
/** 取消上传:删掉服务端临时分片目录与会话(宿主没配取消地址时为 undefined)。 */
|
|
248
|
+
cancel?: (uploadId: string, fileName: string) => Promise<void>;
|
|
249
|
+
}
|
|
250
|
+
export interface MyFilesChunkApiOptions {
|
|
251
|
+
/** 知识库 id;「我的资料」场景可省(后端自动取个人空间)。 */
|
|
252
|
+
knowledgeId?: string;
|
|
253
|
+
/** 落点类型,默认 `PERSONAL_FILES`(组件库里这条通道只服务「我的资料」)。 */
|
|
254
|
+
businessType?: MyFilesChunkBusinessType;
|
|
255
|
+
/** 落点目录;`PERSONAL_FILES` 传根目录(`0`)时按「不传」处理,由后端取默认根目录。 */
|
|
256
|
+
directoryId?: string;
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* 默认实现:按宿主在 `cloud.upload.chunkUpload.endpoints` 给的地址走云网关。
|
|
260
|
+
*
|
|
261
|
+
* 契约(后端 A3):
|
|
262
|
+
* - `init` 的参数走 **query**(不是 JSON body):`size` / `chunkSize` / `totalChunks` /
|
|
263
|
+
* `originalFileName` / `directoryId` / `knowledgeId` / `businessType`;
|
|
264
|
+
* `totalChunks` 必须等于 `ceil(size / chunkSize)`;
|
|
265
|
+
* - `PUT {part}` 上传单片(index 从 0 开始),可并发;
|
|
266
|
+
* - `GET {status}` 查已传分片;
|
|
267
|
+
* - `POST {complete}` 合并入库,返回 `fileId` / `url` / `size`。
|
|
268
|
+
*/
|
|
269
|
+
export declare function createMyFilesChunkApi(cloud: ChatCloudConfig, endpoints: ChatCloudChunkUploadEndpoints, options?: MyFilesChunkApiOptions): MyFilesChunkApi;
|
|
270
|
+
//# sourceMappingURL=chatMyFilesApi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chatMyFilesApi.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/chatMyFilesApi.ts"],"names":[],"mappings":"A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