@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.
Files changed (330) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/README.md +1 -1
  3. package/dist/{ChartRenderer-uxyS-V69.js → ChartRenderer-Cjy0_9Vd.js} +1 -1
  4. package/dist/{ChartRenderer-BIKA42r6.cjs → ChartRenderer-DYaFJva0.cjs} +1 -1
  5. package/dist/ChatMyFilesArtifacts-B8IrM7Gv.cjs +1 -0
  6. package/dist/ChatMyFilesArtifacts-CPbY91Eg.js +1029 -0
  7. package/dist/chat-token.css +209 -7
  8. package/dist/components/chat/ChatApp.vue.d.ts +31 -7
  9. package/dist/components/chat/ChatApp.vue.d.ts.map +1 -1
  10. package/dist/components/chat/ChatBot.vue.d.ts +3 -3
  11. package/dist/components/chat/ChatBot.vue.d.ts.map +1 -1
  12. package/dist/components/chat/addToTask.d.ts +46 -0
  13. package/dist/components/chat/addToTask.d.ts.map +1 -0
  14. package/dist/components/chat/attachmentController.d.ts.map +1 -1
  15. package/dist/components/chat/attachments.d.ts.map +1 -1
  16. package/dist/components/chat/chatAppMyFiles.d.ts +43 -0
  17. package/dist/components/chat/chatAppMyFiles.d.ts.map +1 -0
  18. package/dist/components/chat/chatContext.d.ts +17 -0
  19. package/dist/components/chat/chatContext.d.ts.map +1 -1
  20. package/dist/components/chat/chatFilePicker.d.ts +243 -0
  21. package/dist/components/chat/chatFilePicker.d.ts.map +1 -0
  22. package/dist/components/chat/chatSessionSidebarAssets.d.ts +13 -0
  23. package/dist/components/chat/chatSessionSidebarAssets.d.ts.map +1 -1
  24. package/dist/components/chat/cloudAxios.d.ts +30 -0
  25. package/dist/components/chat/cloudAxios.d.ts.map +1 -0
  26. package/dist/components/chat/cloudConfig.d.ts +95 -8
  27. package/dist/components/chat/cloudConfig.d.ts.map +1 -1
  28. package/dist/components/chat/components/ArtifactPreview.vue.d.ts +6 -0
  29. package/dist/components/chat/components/ArtifactPreview.vue.d.ts.map +1 -1
  30. package/dist/components/chat/components/ChatActionbar.vue.d.ts +2 -2
  31. package/dist/components/chat/components/ChatAttachments.vue.d.ts +8 -1
  32. package/dist/components/chat/components/ChatAttachments.vue.d.ts.map +1 -1
  33. package/dist/components/chat/components/ChatComposerContextBar.vue.d.ts.map +1 -1
  34. package/dist/components/chat/components/ChatFileCard.vue.d.ts +2 -2
  35. package/dist/components/chat/components/ChatFileCard.vue.d.ts.map +1 -1
  36. package/dist/components/chat/components/ChatFilePickerDialog.vue.d.ts +56 -0
  37. package/dist/components/chat/components/ChatFilePickerDialog.vue.d.ts.map +1 -0
  38. package/dist/components/chat/components/ChatFilePreview.vue.d.ts +41 -2
  39. package/dist/components/chat/components/ChatFilePreview.vue.d.ts.map +1 -1
  40. package/dist/components/chat/components/ChatFilePreviewPanel.vue.d.ts +9 -2
  41. package/dist/components/chat/components/ChatFilePreviewPanel.vue.d.ts.map +1 -1
  42. package/dist/components/chat/components/ChatKnowledgeLibraryList.vue.d.ts +32 -0
  43. package/dist/components/chat/components/ChatKnowledgeLibraryList.vue.d.ts.map +1 -0
  44. package/dist/components/chat/components/ChatMessage.vue.d.ts +1 -1
  45. package/dist/components/chat/components/ChatPreviewEmpty.vue.d.ts +53 -0
  46. package/dist/components/chat/components/ChatPreviewEmpty.vue.d.ts.map +1 -0
  47. package/dist/components/chat/components/ChatPreviewHeader.vue.d.ts +87 -0
  48. package/dist/components/chat/components/ChatPreviewHeader.vue.d.ts.map +1 -0
  49. package/dist/components/chat/components/ChatProvider.vue.d.ts +2 -2
  50. package/dist/components/chat/components/ChatProvider.vue.d.ts.map +1 -1
  51. package/dist/components/chat/components/ChatQueue.vue.d.ts.map +1 -1
  52. package/dist/components/chat/components/ChatQuotaDialog.vue.d.ts.map +1 -1
  53. package/dist/components/chat/components/ChatSender.vue.d.ts +18 -1
  54. package/dist/components/chat/components/ChatSender.vue.d.ts.map +1 -1
  55. package/dist/components/chat/components/ChatSessionExpandHistoryCard.vue.d.ts +1 -1
  56. package/dist/components/chat/components/ChatSessionExpandHistoryCard.vue.d.ts.map +1 -1
  57. package/dist/components/chat/components/ChatSessionGroupRow.vue.d.ts +3 -0
  58. package/dist/components/chat/components/ChatSessionGroupRow.vue.d.ts.map +1 -1
  59. package/dist/components/chat/components/ChatSessionGroupSection.vue.d.ts +5 -2
  60. package/dist/components/chat/components/ChatSessionGroupSection.vue.d.ts.map +1 -1
  61. package/dist/components/chat/components/ChatSessionPinnedSection.vue.d.ts +3 -0
  62. package/dist/components/chat/components/ChatSessionPinnedSection.vue.d.ts.map +1 -1
  63. package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts +21 -1
  64. package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts.map +1 -1
  65. package/dist/components/chat/components/ChatSessionStatusMark.vue.d.ts +1 -1
  66. package/dist/components/chat/components/ChatSessionStatusMark.vue.d.ts.map +1 -1
  67. package/dist/components/chat/components/ChatTipMenu.vue.d.ts.map +1 -1
  68. package/dist/components/chat/components/ConversationIndex.vue.d.ts.map +1 -1
  69. package/dist/components/chat/components/ConversationList.vue.d.ts +2 -2
  70. package/dist/components/chat/components/MessageBubble.vue.d.ts +1 -1
  71. package/dist/components/chat/components/MessageBubble.vue.d.ts.map +1 -1
  72. package/dist/components/chat/components/OpenFileViewerHost.vue.d.ts +6 -0
  73. package/dist/components/chat/components/OpenFileViewerHost.vue.d.ts.map +1 -1
  74. package/dist/components/chat/components/ProcessStepGroup.vue.d.ts +1 -1
  75. package/dist/components/chat/components/ProcessStepGroup.vue.d.ts.map +1 -1
  76. package/dist/components/chat/components/SubagentRunsPanel.vue.d.ts.map +1 -1
  77. package/dist/components/chat/components/document-viewer/DocumentViewer.vue.d.ts +10 -0
  78. package/dist/components/chat/components/document-viewer/DocumentViewer.vue.d.ts.map +1 -1
  79. package/dist/components/chat/components/document-viewer/bento/BentoRenderer.vue.d.ts +1 -0
  80. package/dist/components/chat/components/document-viewer/bento/BentoRenderer.vue.d.ts.map +1 -1
  81. package/dist/components/chat/components/document-viewer/chromeBridge.d.ts +53 -0
  82. package/dist/components/chat/components/document-viewer/chromeBridge.d.ts.map +1 -0
  83. package/dist/components/chat/components/document-viewer/html/HtmlRenderer.vue.d.ts +1 -0
  84. package/dist/components/chat/components/document-viewer/html/HtmlRenderer.vue.d.ts.map +1 -1
  85. package/dist/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue.d.ts +1 -0
  86. package/dist/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue.d.ts.map +1 -1
  87. package/dist/components/chat/components/document-viewer/office/OfficeDocumentViewer.vue.d.ts.map +1 -1
  88. package/dist/components/chat/components/document-viewer/onlyoffice/OnlyOfficeRenderer.vue.d.ts +9 -3
  89. package/dist/components/chat/components/document-viewer/onlyoffice/OnlyOfficeRenderer.vue.d.ts.map +1 -1
  90. package/dist/components/chat/components/document-viewer/onlyoffice/onlyOfficeConfig.d.ts +36 -1
  91. package/dist/components/chat/components/document-viewer/onlyoffice/onlyOfficeConfig.d.ts.map +1 -1
  92. package/dist/components/chat/components/document-viewer/onlyoffice/onlyOfficeProfile.d.ts +153 -0
  93. package/dist/components/chat/components/document-viewer/onlyoffice/onlyOfficeProfile.d.ts.map +1 -0
  94. package/dist/components/chat/components/document-viewer/pdf/PdfRenderer.vue.d.ts +1 -0
  95. package/dist/components/chat/components/document-viewer/pdf/PdfRenderer.vue.d.ts.map +1 -1
  96. package/dist/components/chat/components/document-viewer/text/TextRenderer.vue.d.ts +1 -0
  97. package/dist/components/chat/components/document-viewer/text/TextRenderer.vue.d.ts.map +1 -1
  98. package/dist/components/chat/components/document-viewer/types.d.ts +18 -0
  99. package/dist/components/chat/components/document-viewer/types.d.ts.map +1 -1
  100. package/dist/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue.d.ts +1 -0
  101. package/dist/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue.d.ts.map +1 -1
  102. package/dist/components/chat/components/files/ArtifactFileMoreButton.vue.d.ts +34 -0
  103. package/dist/components/chat/components/files/ArtifactFileMoreButton.vue.d.ts.map +1 -0
  104. package/dist/components/chat/components/files/ChatArtifactFileRow.vue.d.ts +25 -0
  105. package/dist/components/chat/components/files/ChatArtifactFileRow.vue.d.ts.map +1 -0
  106. package/dist/components/chat/components/files/ChatArtifactPreview.vue.d.ts +31 -0
  107. package/dist/components/chat/components/files/ChatArtifactPreview.vue.d.ts.map +1 -0
  108. package/dist/components/chat/components/files/ChatArtifactsSkeleton.vue.d.ts +17 -0
  109. package/dist/components/chat/components/files/ChatArtifactsSkeleton.vue.d.ts.map +1 -0
  110. package/dist/components/chat/components/files/ChatFileCheckbox.vue.d.ts +24 -0
  111. package/dist/components/chat/components/files/ChatFileCheckbox.vue.d.ts.map +1 -0
  112. package/dist/components/chat/components/files/ChatMyFiles.vue.d.ts +38 -0
  113. package/dist/components/chat/components/files/ChatMyFiles.vue.d.ts.map +1 -0
  114. package/dist/components/chat/components/files/ChatMyFilesArtifacts.vue.d.ts +18 -0
  115. package/dist/components/chat/components/files/ChatMyFilesArtifacts.vue.d.ts.map +1 -0
  116. package/dist/components/chat/components/files/ChatMyFilesDirectory.vue.d.ts +31 -0
  117. package/dist/components/chat/components/files/ChatMyFilesDirectory.vue.d.ts.map +1 -0
  118. package/dist/components/chat/components/files/ChatMyFilesDocEditor.vue.d.ts +44 -0
  119. package/dist/components/chat/components/files/ChatMyFilesDocEditor.vue.d.ts.map +1 -0
  120. package/dist/components/chat/components/files/ChatMyFilesEmptyGuide.vue.d.ts +12 -0
  121. package/dist/components/chat/components/files/ChatMyFilesEmptyGuide.vue.d.ts.map +1 -0
  122. package/dist/components/chat/components/files/ChatMyFilesFileTable.vue.d.ts +62 -0
  123. package/dist/components/chat/components/files/ChatMyFilesFileTable.vue.d.ts.map +1 -0
  124. package/dist/components/chat/components/files/ChatMyFilesFolder.vue.d.ts +48 -0
  125. package/dist/components/chat/components/files/ChatMyFilesFolder.vue.d.ts.map +1 -0
  126. package/dist/components/chat/components/files/ChatMyFilesKindMenuItemIcon.vue.d.ts +15 -0
  127. package/dist/components/chat/components/files/ChatMyFilesKindMenuItemIcon.vue.d.ts.map +1 -0
  128. package/dist/components/chat/components/{SubagentRunDialog.vue.d.ts → files/ChatMyFilesPrompt.vue.d.ts} +18 -8
  129. package/dist/components/chat/components/files/ChatMyFilesPrompt.vue.d.ts.map +1 -0
  130. package/dist/components/chat/components/files/ChatMyFilesQuickAdd.vue.d.ts +38 -0
  131. package/dist/components/chat/components/files/ChatMyFilesQuickAdd.vue.d.ts.map +1 -0
  132. package/dist/components/chat/components/files/ChatMyFilesRecent.vue.d.ts +35 -0
  133. package/dist/components/chat/components/files/ChatMyFilesRecent.vue.d.ts.map +1 -0
  134. package/dist/components/chat/components/files/ChatMyFilesSearchDialog.vue.d.ts +37 -0
  135. package/dist/components/chat/components/files/ChatMyFilesSearchDialog.vue.d.ts.map +1 -0
  136. package/dist/components/chat/components/files/ChatMyFilesState.vue.d.ts +29 -0
  137. package/dist/components/chat/components/files/ChatMyFilesState.vue.d.ts.map +1 -0
  138. package/dist/components/chat/components/files/ChatMyFilesStateArt.vue.d.ts +10 -0
  139. package/dist/components/chat/components/files/ChatMyFilesStateArt.vue.d.ts.map +1 -0
  140. package/dist/components/chat/components/files/ChatMyFilesTree.vue.d.ts +49 -0
  141. package/dist/components/chat/components/files/ChatMyFilesTree.vue.d.ts.map +1 -0
  142. package/dist/components/chat/components/files/ChatMyFilesTypeMark.vue.d.ts +13 -0
  143. package/dist/components/chat/components/files/ChatMyFilesTypeMark.vue.d.ts.map +1 -0
  144. package/dist/components/chat/components/files/ChatMyFilesUploadDialog.vue.d.ts +32 -0
  145. package/dist/components/chat/components/files/ChatMyFilesUploadDialog.vue.d.ts.map +1 -0
  146. package/dist/components/chat/components/files/ChatMyFilesUploadPanel.vue.d.ts +12 -0
  147. package/dist/components/chat/components/files/ChatMyFilesUploadPanel.vue.d.ts.map +1 -0
  148. package/dist/components/chat/components/files/ChatMyFilesViewer.vue.d.ts +59 -0
  149. package/dist/components/chat/components/files/ChatMyFilesViewer.vue.d.ts.map +1 -0
  150. package/dist/components/chat/components/files/ChatTextReader.vue.d.ts +29 -0
  151. package/dist/components/chat/components/files/ChatTextReader.vue.d.ts.map +1 -0
  152. package/dist/components/chat/components/files/chatArtifactFileActions.d.ts +118 -0
  153. package/dist/components/chat/components/files/chatArtifactFileActions.d.ts.map +1 -0
  154. package/dist/components/chat/components/files/chatFileTransfer.d.ts +102 -0
  155. package/dist/components/chat/components/files/chatFileTransfer.d.ts.map +1 -0
  156. package/dist/components/chat/components/files/chatFileTransferSources.d.ts +32 -0
  157. package/dist/components/chat/components/files/chatFileTransferSources.d.ts.map +1 -0
  158. package/dist/components/chat/components/files/chatMyFilesApi.d.ts +270 -0
  159. package/dist/components/chat/components/files/chatMyFilesApi.d.ts.map +1 -0
  160. package/dist/components/chat/components/files/chatMyFilesModel.d.ts +122 -0
  161. package/dist/components/chat/components/files/chatMyFilesModel.d.ts.map +1 -0
  162. package/dist/components/chat/components/files/chatQuickAddMenu.d.ts +33 -0
  163. package/dist/components/chat/components/files/chatQuickAddMenu.d.ts.map +1 -0
  164. package/dist/components/chat/components/files/chatReviewApi.d.ts +75 -0
  165. package/dist/components/chat/components/files/chatReviewApi.d.ts.map +1 -0
  166. package/dist/components/chat/components/files/index.d.ts +25 -0
  167. package/dist/components/chat/components/files/index.d.ts.map +1 -0
  168. package/dist/components/chat/components/files/myFilesApiUtils.d.ts +9 -0
  169. package/dist/components/chat/components/files/myFilesApiUtils.d.ts.map +1 -0
  170. package/dist/components/chat/components/files/myFilesChunkUpload.d.ts +86 -0
  171. package/dist/components/chat/components/files/myFilesChunkUpload.d.ts.map +1 -0
  172. package/dist/components/chat/components/files/myFilesExpandMemory.d.ts +15 -0
  173. package/dist/components/chat/components/files/myFilesExpandMemory.d.ts.map +1 -0
  174. package/dist/components/chat/components/files/myFilesFilePicker.d.ts +30 -0
  175. package/dist/components/chat/components/files/myFilesFilePicker.d.ts.map +1 -0
  176. package/dist/components/chat/components/files/myFilesFolderModel.d.ts +32 -0
  177. package/dist/components/chat/components/files/myFilesFolderModel.d.ts.map +1 -0
  178. package/dist/components/chat/components/files/myFilesKindMenu.d.ts +19 -0
  179. package/dist/components/chat/components/files/myFilesKindMenu.d.ts.map +1 -0
  180. package/dist/components/chat/components/files/myFilesMarkdown.d.ts +40 -0
  181. package/dist/components/chat/components/files/myFilesMarkdown.d.ts.map +1 -0
  182. package/dist/components/chat/components/files/myFilesPreview.d.ts +52 -0
  183. package/dist/components/chat/components/files/myFilesPreview.d.ts.map +1 -0
  184. package/dist/components/chat/components/files/myFilesRecentVisits.d.ts +22 -0
  185. package/dist/components/chat/components/files/myFilesRecentVisits.d.ts.map +1 -0
  186. package/dist/components/chat/components/files/myFilesRows.d.ts +86 -0
  187. package/dist/components/chat/components/files/myFilesRows.d.ts.map +1 -0
  188. package/dist/components/chat/components/files/myFilesSearch.d.ts +80 -0
  189. package/dist/components/chat/components/files/myFilesSearch.d.ts.map +1 -0
  190. package/dist/components/chat/components/files/myFilesTree.d.ts +53 -0
  191. package/dist/components/chat/components/files/myFilesTree.d.ts.map +1 -0
  192. package/dist/components/chat/components/files/myFilesUploadPersistence.d.ts +48 -0
  193. package/dist/components/chat/components/files/myFilesUploadPersistence.d.ts.map +1 -0
  194. package/dist/components/chat/components/files/myFilesUploadQueue.d.ts +125 -0
  195. package/dist/components/chat/components/files/myFilesUploadQueue.d.ts.map +1 -0
  196. package/dist/components/chat/components/files/useArtifactNotice.d.ts +17 -0
  197. package/dist/components/chat/components/files/useArtifactNotice.d.ts.map +1 -0
  198. package/dist/components/chat/components/files/useFileTransfer.d.ts +45 -0
  199. package/dist/components/chat/components/files/useFileTransfer.d.ts.map +1 -0
  200. package/dist/components/chat/components/index.d.ts +7 -1
  201. package/dist/components/chat/components/index.d.ts.map +1 -1
  202. package/dist/components/chat/composables/chatApiRequest.d.ts.map +1 -1
  203. package/dist/components/chat/composables/chatHistoryApi.d.ts.map +1 -1
  204. package/dist/components/chat/composables/chatReferenceApi.d.ts.map +1 -1
  205. package/dist/components/chat/composables/chatSessionGroupApi.d.ts.map +1 -1
  206. package/dist/components/chat/composables/chatTtsApi.d.ts.map +1 -1
  207. package/dist/components/chat/composables/fetchModelList.d.ts +2 -2
  208. package/dist/components/chat/composables/fetchModelList.d.ts.map +1 -1
  209. package/dist/components/chat/composables/useChatSkillTipMenu.d.ts +22 -1
  210. package/dist/components/chat/composables/useChatSkillTipMenu.d.ts.map +1 -1
  211. package/dist/components/chat/composables/useChatTipMenu.d.ts +13 -4
  212. package/dist/components/chat/composables/useChatTipMenu.d.ts.map +1 -1
  213. package/dist/components/chat/composer/composerExtensions.d.ts +1 -1
  214. package/dist/components/chat/fileIcons.d.ts +42 -2
  215. package/dist/components/chat/fileIcons.d.ts.map +1 -1
  216. package/dist/components/chat/hydrateHistory.d.ts.map +1 -1
  217. package/dist/components/chat/icons/ChatFileDropIcon.vue.d.ts +6 -0
  218. package/dist/components/chat/icons/ChatFileDropIcon.vue.d.ts.map +1 -1
  219. package/dist/components/chat/icons/ChatTipMenuLocalFileIcon.vue.d.ts +7 -0
  220. package/dist/components/chat/icons/ChatTipMenuLocalFileIcon.vue.d.ts.map +1 -0
  221. package/dist/components/chat/icons/ChatTipMenuMyFilesIcon.vue.d.ts +7 -0
  222. package/dist/components/chat/icons/ChatTipMenuMyFilesIcon.vue.d.ts.map +1 -0
  223. package/dist/components/chat/icons/index.d.ts +3 -1
  224. package/dist/components/chat/icons/index.d.ts.map +1 -1
  225. package/dist/components/chat/icons/tipMenuItemIcons.d.ts +24 -0
  226. package/dist/components/chat/icons/tipMenuItemIcons.d.ts.map +1 -1
  227. package/dist/components/chat/index.d.ts +9 -0
  228. package/dist/components/chat/index.d.ts.map +1 -1
  229. package/dist/components/chat/mdoc/ArtifactBlock.vue.d.ts +5 -0
  230. package/dist/components/chat/mdoc/ArtifactBlock.vue.d.ts.map +1 -1
  231. package/dist/components/chat/mdoc/ArtifactStack.vue.d.ts.map +1 -1
  232. package/dist/components/chat/mdoc/ContentNodes.vue.d.ts.map +1 -1
  233. package/dist/components/chat/mdoc/artifactDownload.d.ts +16 -3
  234. package/dist/components/chat/mdoc/artifactDownload.d.ts.map +1 -1
  235. package/dist/components/chat/mdoc/artifactStack.d.ts +7 -2
  236. package/dist/components/chat/mdoc/artifactStack.d.ts.map +1 -1
  237. package/dist/components/chat/messageChrome.d.ts +27 -0
  238. package/dist/components/chat/messageChrome.d.ts.map +1 -1
  239. package/dist/components/chat/openFileViewer.d.ts +25 -2
  240. package/dist/components/chat/openFileViewer.d.ts.map +1 -1
  241. package/dist/components/chat/previewRenderers.d.ts +14 -0
  242. package/dist/components/chat/previewRenderers.d.ts.map +1 -1
  243. package/dist/components/chat/responseStream.d.ts +3 -0
  244. package/dist/components/chat/responseStream.d.ts.map +1 -1
  245. package/dist/components/chat/senderReferenceStack.d.ts +1 -1
  246. package/dist/components/chat/senderReferenceStack.d.ts.map +1 -1
  247. package/dist/components/chat/subagentDisplay.d.ts +4 -18
  248. package/dist/components/chat/subagentDisplay.d.ts.map +1 -1
  249. package/dist/components/chat/types.d.ts +97 -3
  250. package/dist/components/chat/types.d.ts.map +1 -1
  251. package/dist/components/chat/utils/tipMenuBuiltin.d.ts.map +1 -1
  252. package/dist/components/index.d.ts +1 -0
  253. package/dist/components/index.d.ts.map +1 -1
  254. package/dist/components/library/LibraryApp.vue.d.ts +68 -0
  255. package/dist/components/library/LibraryApp.vue.d.ts.map +1 -0
  256. package/dist/components/library/api/libraryApi.d.ts +8 -0
  257. package/dist/components/library/api/libraryApi.d.ts.map +1 -0
  258. package/dist/components/library/api/libraryContract.d.ts +36 -0
  259. package/dist/components/library/api/libraryContract.d.ts.map +1 -0
  260. package/dist/components/library/api/libraryMockApi.d.ts +3 -0
  261. package/dist/components/library/api/libraryMockApi.d.ts.map +1 -0
  262. package/dist/components/library/api/libraryTypes.d.ts +97 -0
  263. package/dist/components/library/api/libraryTypes.d.ts.map +1 -0
  264. package/dist/components/library/components/LibraryDocEditor.vue.d.ts +50 -0
  265. package/dist/components/library/components/LibraryDocEditor.vue.d.ts.map +1 -0
  266. package/dist/components/library/components/LibraryReadonlyPane.vue.d.ts +15 -0
  267. package/dist/components/library/components/LibraryReadonlyPane.vue.d.ts.map +1 -0
  268. package/dist/components/library/components/LibrarySidebar.vue.d.ts +41 -0
  269. package/dist/components/library/components/LibrarySidebar.vue.d.ts.map +1 -0
  270. package/dist/components/library/components/LibraryTreeNode.vue.d.ts +17 -0
  271. package/dist/components/library/components/LibraryTreeNode.vue.d.ts.map +1 -0
  272. package/dist/components/library/composables/useLibraryAutoSave.d.ts +36 -0
  273. package/dist/components/library/composables/useLibraryAutoSave.d.ts.map +1 -0
  274. package/dist/components/library/index.d.ts +14 -0
  275. package/dist/components/library/index.d.ts.map +1 -0
  276. package/dist/components/library/registry/libraryFileTypes.d.ts +42 -0
  277. package/dist/components/library/registry/libraryFileTypes.d.ts.map +1 -0
  278. package/dist/components/skill/index.d.ts +1 -0
  279. package/dist/components/skill/index.d.ts.map +1 -1
  280. package/dist/components/ui/components/UiDialog.vue.d.ts +21 -0
  281. package/dist/components/ui/components/UiDialog.vue.d.ts.map +1 -1
  282. package/dist/components/ui/components/UiDropdown.vue.d.ts +2 -0
  283. package/dist/components/ui/components/UiDropdown.vue.d.ts.map +1 -1
  284. package/dist/components/ui/components/UiEmptyState.vue.d.ts +29 -0
  285. package/dist/components/ui/components/UiEmptyState.vue.d.ts.map +1 -0
  286. package/dist/components/ui/components/UiIconButton.vue.d.ts +45 -0
  287. package/dist/components/ui/components/UiIconButton.vue.d.ts.map +1 -0
  288. package/dist/components/ui/components/UiMenu.vue.d.ts +2 -0
  289. package/dist/components/ui/components/UiMenu.vue.d.ts.map +1 -1
  290. package/dist/components/ui/components/UiMenuNestedSubmenu.vue.d.ts +3 -0
  291. package/dist/components/ui/components/UiMenuNestedSubmenu.vue.d.ts.map +1 -1
  292. package/dist/components/ui/components/UiPopover.vue.d.ts.map +1 -1
  293. package/dist/components/ui/components/UiProgressRing.vue.d.ts +32 -0
  294. package/dist/components/ui/components/UiProgressRing.vue.d.ts.map +1 -0
  295. package/dist/components/ui/components/UiRichEditor.vue.d.ts +55 -0
  296. package/dist/components/ui/components/UiRichEditor.vue.d.ts.map +1 -0
  297. package/dist/components/ui/components/editor/richEditorExtensions.d.ts +13 -0
  298. package/dist/components/ui/components/editor/richEditorExtensions.d.ts.map +1 -0
  299. package/dist/components/ui/components/editor/richEditorPlaceholder.d.ts +6 -0
  300. package/dist/components/ui/components/editor/richEditorPlaceholder.d.ts.map +1 -0
  301. package/dist/components/ui/components/index.d.ts +4 -0
  302. package/dist/components/ui/components/index.d.ts.map +1 -1
  303. package/dist/components/ui/composables/index.d.ts +2 -0
  304. package/dist/components/ui/composables/index.d.ts.map +1 -1
  305. package/dist/components/ui/composables/useBreakpoint.d.ts +43 -0
  306. package/dist/components/ui/composables/useBreakpoint.d.ts.map +1 -0
  307. package/dist/components/ui/composables/useUiDropdown.d.ts +2 -0
  308. package/dist/components/ui/composables/useUiDropdown.d.ts.map +1 -1
  309. package/dist/components/ui/types.d.ts +2 -0
  310. package/dist/components/ui/types.d.ts.map +1 -1
  311. package/dist/{docx-preview-DB-exfjk.cjs → docx-preview-DG8slhP7.cjs} +1 -1
  312. package/dist/{docx-preview-BInH2mCJ.js → docx-preview-DMQ6xzQM.js} +1 -1
  313. package/dist/{index-DHknc0p4.cjs → index-B4nd6sY1.cjs} +1 -1
  314. package/dist/{index-wpRtsEi3.js → index-CBCQPl8n.js} +75103 -65593
  315. package/dist/index-CJ-Mb6SU.cjs +1410 -0
  316. package/dist/{index-SF7mr6DW.js → index-DRZPTPoe.js} +1 -1
  317. package/dist/index.cjs +1 -1
  318. package/dist/index.js +599 -463
  319. package/dist/{papaparse.min-BYZpQSHx.cjs → papaparse.min-BRNq6gPR.cjs} +1 -1
  320. package/dist/{papaparse.min-C7WHKyF4.js → papaparse.min-CpVaJlaF.js} +1 -1
  321. package/dist/shared/cloudApi.d.ts +29 -0
  322. package/dist/shared/cloudApi.d.ts.map +1 -0
  323. package/dist/style.css +2 -2
  324. package/package.json +1 -1
  325. package/dist/components/chat/components/SubagentRunDialog.vue.d.ts.map +0 -1
  326. package/dist/components/skill/formatSkillUsageCount.d.ts +0 -3
  327. package/dist/components/skill/formatSkillUsageCount.d.ts.map +0 -1
  328. package/dist/components/skill/quickActionAvatarIcon.d.ts +0 -25
  329. package/dist/components/skill/quickActionAvatarIcon.d.ts.map +0 -1
  330. package/dist/index-qBX9TwOy.cjs +0 -1248
@@ -0,0 +1,56 @@
1
+ import { type ChatFilePickerSelection, type ChatFilePickerSource } from '../chatFilePicker';
2
+ import './files/filesSkeleton.css';
3
+ /**
4
+ * 「+ → 添加文件」里「我的文件 / 知识库」的选文件弹框,同时承担「上传到」的**位置选择**。
5
+ *
6
+ * 全仓唯一的选文件 / 选落点弹框实现,两种布局由来源的 `layout` 决定:
7
+ * - `tree`(我的文件 / 备课中心):三列表格(名称 / 所有者 / 最近更新),文件夹可展开、
8
+ * 子节点缩进,文件与文件夹都能勾(文件夹是否可勾由 `allowFolderSelection` 决定)。
9
+ * 备课中心用 `tabs` 承载教材列表、`load` 按当前教材拉章节树。
10
+ * - `library`(知识库):顶部「选择知识库 / 选择文件」两个页签。
11
+ *
12
+ * 两种模式由 `mode` 决定:
13
+ * - `files`(默认):多选,勾选框,确认后回抛全部勾选项;
14
+ * - `target`:**选落点**。目录树不画勾选框、只列文件夹,点行即选中、双击直接确认;
15
+ * 知识库布局与 `files` 模式**完全一致**(两个页签、分组、勾选框、「已选择 N 项」),
16
+ * 只是点击改成「替换」——落点只能有一个。这是「上传到」用的形态,
17
+ * 与「+ → 添加文件」共用同一份壳、表格、骨架屏与搜索,避免两套弹框长得不一样。
18
+ */
19
+ type __VLS_Props = {
20
+ /** 当前打开的来源;`null` 时弹框不渲染内容。 */
21
+ source: ChatFilePickerSource | null;
22
+ /** 覆盖弹框标题。 */
23
+ title?: string;
24
+ /** 搜索框占位文案(目录树布局用;知识库布局按页签自动切换)。 */
25
+ searchPlaceholder?: string;
26
+ /** 选文件(多选)还是选落点(单选)。 */
27
+ mode?: 'files' | 'target';
28
+ /** `target` 模式的说明文案,如「共 3 个文件,选择要存到的位置」。 */
29
+ hint?: string;
30
+ /** 提交中:确定按钮置灰并显示「上传中…」,避免重复点。 */
31
+ busy?: boolean;
32
+ /**
33
+ * 显式开关。不传时由 `source` 是否为空推导(选文件场景就是这么用的)。
34
+ *
35
+ * 「上传到」要传它:关闭时 `source` 仍保留最后一份,弹框内容才不会在
36
+ * 淡出动画里先被清空(那是肉眼可见的一下闪白)。
37
+ */
38
+ open?: boolean;
39
+ };
40
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
41
+ "update:open": (value: boolean) => any;
42
+ confirm: (selection: ChatFilePickerSelection) => any;
43
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
44
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
45
+ onConfirm?: ((selection: ChatFilePickerSelection) => any) | undefined;
46
+ }>, {
47
+ title: string;
48
+ mode: "files" | "target";
49
+ open: boolean;
50
+ searchPlaceholder: string;
51
+ hint: string;
52
+ busy: boolean;
53
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
54
+ declare const _default: typeof __VLS_export;
55
+ export default _default;
56
+ //# sourceMappingURL=ChatFilePickerDialog.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatFilePickerDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatFilePickerDialog.vue"],"names":[],"mappings":"AAm/CA,OAAO,EAQL,KAAK,uBAAuB,EAC5B,KAAK,oBAAoB,EAE1B,MAAM,mBAAmB,CAAA;AAK1B,OAAO,2BAA2B,CAAA;AAIlC;;;;;;;;;;;;;;;GAeG;AACH,KAAK,WAAW,GAAG;IACf,+BAA+B;IAC/B,MAAM,EAAE,oBAAoB,GAAG,IAAI,CAAA;IACnC,cAAc;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oCAAoC;IACpC,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,wBAAwB;IACxB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IACzB,4CAA4C;IAC5C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,iCAAiC;IACjC,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;;;;OAKG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;CACf,CAAC;AA03CJ,QAAA,MAAM,YAAY;;;;;;;WA14CN,MAAM;UAIP,OAAO,GAAG,QAAQ;UAWlB,OAAO;uBAbM,MAAM;UAInB,MAAM;UAEN,OAAO;6EAs4ChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,4 +1,5 @@
1
1
  import { type Component, type PropType } from 'vue';
2
+ import { type OnlyOfficeProfile } from './document-viewer/onlyoffice/onlyOfficeProfile';
2
3
  import type { ChatPreviewKind, ChatResourceFile, ConversationUiAction } from '../types';
3
4
  import type { DocumentScreenshotResult } from './document-viewer/adapter';
4
5
  declare var __VLS_1: {
@@ -59,6 +60,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
59
60
  type: BooleanConstructor;
60
61
  default: boolean;
61
62
  };
63
+ /** 关掉图片预览自带的控制条(`-` `+` 旋转图片 重置图片视图),宿主标题栏已有这些操作时用。 */
64
+ hideImageControls: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
62
68
  /**
63
69
  * 灰度开关:`'onlyoffice'`(默认)让 docx/xls/ppt/pdf 走 OnlyOffice 预览,
64
70
  * `'local'` 强制全部走原有本地渲染器。出问题时宿主可一键回关,无需发版回滚。
@@ -66,12 +72,25 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
66
72
  previewBackend: {
67
73
  type: PropType<"onlyoffice" | "local">;
68
74
  default: string;
69
- validator: (value: string) => value is "onlyoffice" | "local";
75
+ validator: (value: string) => value is "local" | "onlyoffice";
76
+ };
77
+ /**
78
+ * OnlyOffice 界面形态:`'full'` 编辑版 / `'simple'` 简单编辑版 / `'preview'` 纯预览版。
79
+ * 只对走 OnlyOffice 的标准文档生效(本地渲染器有自己的外壳)。
80
+ */
81
+ onlyofficeProfile: {
82
+ type: PropType<OnlyOfficeProfile>;
83
+ default: OnlyOfficeProfile;
84
+ validator: (value: string) => value is "full" | "preview" | "simple";
70
85
  };
71
86
  }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
72
87
  close: () => any;
73
88
  action: (payload: ConversationUiAction) => any;
74
89
  "screenshot-result": (result: DocumentScreenshotResult) => any;
90
+ "text-loaded": (payload: {
91
+ text: string;
92
+ lines: number;
93
+ }) => any;
75
94
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
76
95
  resource: {
77
96
  type: PropType<ChatResourceFile>;
@@ -115,6 +134,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
115
134
  type: BooleanConstructor;
116
135
  default: boolean;
117
136
  };
137
+ /** 关掉图片预览自带的控制条(`-` `+` 旋转图片 重置图片视图),宿主标题栏已有这些操作时用。 */
138
+ hideImageControls: {
139
+ type: BooleanConstructor;
140
+ default: boolean;
141
+ };
118
142
  /**
119
143
  * 灰度开关:`'onlyoffice'`(默认)让 docx/xls/ppt/pdf 走 OnlyOffice 预览,
120
144
  * `'local'` 强制全部走原有本地渲染器。出问题时宿主可一键回关,无需发版回滚。
@@ -122,12 +146,25 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
122
146
  previewBackend: {
123
147
  type: PropType<"onlyoffice" | "local">;
124
148
  default: string;
125
- validator: (value: string) => value is "onlyoffice" | "local";
149
+ validator: (value: string) => value is "local" | "onlyoffice";
150
+ };
151
+ /**
152
+ * OnlyOffice 界面形态:`'full'` 编辑版 / `'simple'` 简单编辑版 / `'preview'` 纯预览版。
153
+ * 只对走 OnlyOffice 的标准文档生效(本地渲染器有自己的外壳)。
154
+ */
155
+ onlyofficeProfile: {
156
+ type: PropType<OnlyOfficeProfile>;
157
+ default: OnlyOfficeProfile;
158
+ validator: (value: string) => value is "full" | "preview" | "simple";
126
159
  };
127
160
  }>> & Readonly<{
128
161
  onClose?: (() => any) | undefined;
129
162
  onAction?: ((payload: ConversationUiAction) => any) | undefined;
130
163
  "onScreenshot-result"?: ((result: DocumentScreenshotResult) => any) | undefined;
164
+ "onText-loaded"?: ((payload: {
165
+ text: string;
166
+ lines: number;
167
+ }) => any) | undefined;
131
168
  }>, {
132
169
  renderer: Component;
133
170
  askLabel: string;
@@ -136,7 +173,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
136
173
  hideDownload: boolean;
137
174
  hideFullscreen: boolean;
138
175
  hideSidebar: boolean;
176
+ hideImageControls: boolean;
139
177
  previewBackend: "local" | "onlyoffice";
178
+ onlyofficeProfile: OnlyOfficeProfile;
140
179
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
141
180
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
142
181
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatFilePreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatFilePreview.vue"],"names":[],"mappings":"AAkMA,OAAO,EAAY,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAS7D,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AACvF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AAmLzE,QAAA,IAAI,OAAO;;;;;;;;;;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE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AAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { ChatResourceFile, ConversationUiAction } from '../types';
2
2
  import type { DocumentScreenshotResult } from './document-viewer/adapter';
3
+ import { type OnlyOfficeProfile } from './document-viewer/onlyoffice/onlyOfficeProfile';
3
4
  type __VLS_Props = {
4
5
  resource: ChatResourceFile;
5
6
  /**
@@ -14,14 +15,19 @@ type __VLS_Props = {
14
15
  * `'local'` 让标准文档(docx/xls/ppt/pdf)回到原有本地渲染器。
15
16
  */
16
17
  previewBackend?: 'onlyoffice' | 'local';
18
+ /**
19
+ * OnlyOffice 界面形态:`'full'` 编辑版 / `'simple'` 简单编辑版 / `'preview'` 纯预览版。
20
+ * 透传给 `ChatFilePreview`;只影响走 OnlyOffice 的标准文档。
21
+ */
22
+ onlyofficeProfile?: OnlyOfficeProfile;
17
23
  };
18
- declare var __VLS_16: {
24
+ declare var __VLS_26: {
19
25
  resource: ChatResourceFile;
20
26
  screenshotAsk: boolean;
21
27
  askLabel: string | undefined;
22
28
  };
23
29
  type __VLS_Slots = {} & {
24
- default?: (props: typeof __VLS_16) => any;
30
+ default?: (props: typeof __VLS_26) => any;
25
31
  };
26
32
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
33
  close: () => any;
@@ -34,6 +40,7 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {},
34
40
  }>, {
35
41
  screenshotAsk: boolean;
36
42
  previewBackend: "onlyoffice" | "local";
43
+ onlyofficeProfile: OnlyOfficeProfile;
37
44
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
45
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
39
46
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatFilePreviewPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatFilePreviewPanel.vue"],"names":[],"mappings":"AAuLA,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AACtE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AAGzE,KAAK,WAAW,GAAG;IACf,QAAQ,EAAE,gBAAgB,CAAA;IAC1B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,cAAc,CAAC,EAAE,YAAY,GAAG,OAAO,CAAA;CACxC,CAAC;AAgOJ,QAAA,IAAI,QAAQ;;;;CAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAQhD,QAAA,MAAM,UAAU;;;;;;;;;mBAlPI,OAAO;oBAON,YAAY,GAAG,OAAO;6EA+OzC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ChatFilePreviewPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatFilePreviewPanel.vue"],"names":[],"mappings":"AA0RA,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AACtE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AACzE,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,gDAAgD,CAAA;AAMvD,KAAK,WAAW,GAAG;IACf,QAAQ,EAAE,gBAAgB,CAAA;IAC1B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,cAAc,CAAC,EAAE,YAAY,GAAG,OAAO,CAAA;IACvC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;CACtC,CAAC;AA+XJ,QAAA,IAAyB,QAAQ;;;;CAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAShD,QAAA,MAAM,UAAU;;;;;;;;;mBAvZI,OAAO;oBAON,YAAY,GAAG,OAAO;uBAKnB,iBAAiB;6EA+YvC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,32 @@
1
+ import type { ChatFilePickerLibrary } from '../chatFilePicker';
2
+ /**
3
+ * 「知识库」弹框里的库列表(分组 + 勾选/单选)。
4
+ *
5
+ * 一个组件两用:
6
+ * - `mode="select"`:「选择知识库」页签,每行一个勾选框,可多选整库;
7
+ * - `mode="navigate"`:「选择文件」页签的左栏,点行切换右侧文件列表(不勾选)。
8
+ *
9
+ * 分组标题来自 `group`(个人知识库 / 共享知识库 / 我加入的…),由 `groupChatFileLibraries` 归好再传进来。
10
+ */
11
+ type __VLS_Props = {
12
+ groups: ReadonlyArray<{
13
+ group: string;
14
+ items: ChatFilePickerLibrary[];
15
+ }>;
16
+ mode: 'select' | 'navigate';
17
+ selectedIds?: readonly string[];
18
+ activeId?: string;
19
+ };
20
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ toggle: (library: ChatFilePickerLibrary) => any;
22
+ activate: (library: ChatFilePickerLibrary) => any;
23
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ onToggle?: ((library: ChatFilePickerLibrary) => any) | undefined;
25
+ onActivate?: ((library: ChatFilePickerLibrary) => any) | undefined;
26
+ }>, {
27
+ selectedIds: readonly string[];
28
+ activeId: string;
29
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ //# sourceMappingURL=ChatKnowledgeLibraryList.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatKnowledgeLibraryList.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatKnowledgeLibraryList.vue"],"names":[],"mappings":"AAwHA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAA;AAK9D;;;;;;;;GAQG;AACH,KAAK,WAAW,GAAG;IACf,MAAM,EAAE,aAAa,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,qBAAqB,EAAE,CAAA;KAAE,CAAC,CAAA;IACxE,IAAI,EAAE,QAAQ,GAAG,UAAU,CAAA;IAC3B,WAAW,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAC;AAwIJ,QAAA,MAAM,YAAY;;;;;;;iBA1IA,SAAS,MAAM,EAAE;cACpB,MAAM;6EA6InB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -149,6 +149,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
149
149
  streaming: boolean;
150
150
  toolMessages: readonly ToolMessage[];
151
151
  toolStates: Readonly<Record<string, import("../types").ChatToolState>>;
152
+ awaitingUser: boolean;
152
153
  userAvatar: string;
153
154
  assistantAvatar: string;
154
155
  followUps: string[];
@@ -156,7 +157,6 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
156
157
  occurrenceKey: string;
157
158
  streamStatus: ConversationStreamStatus;
158
159
  sourceIndex: number;
159
- awaitingUser: boolean;
160
160
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
161
161
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
162
162
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,53 @@
1
+ type __VLS_Props = {
2
+ /** 主文案;缺省即截图基线「该文件类型暂不支持预览」。 */
3
+ title?: string;
4
+ /** 自定义补充说明;不传时按扩展名从 unsupportedPreviewHint 推导。 */
5
+ description?: string;
6
+ /** 文件扩展名,决定图标与默认补充说明。 */
7
+ ext?: string;
8
+ /** 文件名,作为扩展名的兜底来源。 */
9
+ name?: string;
10
+ /** 是否显示文件类型图标:消息内极简空态可关掉。 */
11
+ showArt?: boolean;
12
+ size?: 'md' | 'sm';
13
+ tone?: 'neutral' | 'subtle';
14
+ /** 下载地址:有值时渲染 <a>,保留新标签页打开的行为。 */
15
+ downloadUrl?: string;
16
+ /** 有值且没有 downloadUrl 时渲染下载按钮,点击抛 download 事件。 */
17
+ download?: boolean;
18
+ downloadLabel?: string;
19
+ /** 次操作文案(如「返回列表」)。 */
20
+ secondaryLabel?: string;
21
+ };
22
+ declare var __VLS_17: {};
23
+ type __VLS_Slots = {} & {
24
+ actions?: (props: typeof __VLS_17) => any;
25
+ };
26
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
+ download: () => any;
28
+ secondary: () => any;
29
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
30
+ onDownload?: (() => any) | undefined;
31
+ onSecondary?: (() => any) | undefined;
32
+ }>, {
33
+ download: boolean;
34
+ size: "md" | "sm";
35
+ name: string;
36
+ title: string;
37
+ description: string;
38
+ tone: "neutral" | "subtle";
39
+ ext: string;
40
+ downloadUrl: string;
41
+ showArt: boolean;
42
+ downloadLabel: string;
43
+ secondaryLabel: string;
44
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
45
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
46
+ declare const _default: typeof __VLS_export;
47
+ export default _default;
48
+ type __VLS_WithSlots<T, S> = T & {
49
+ new (): {
50
+ $slots: S;
51
+ };
52
+ };
53
+ //# sourceMappingURL=ChatPreviewEmpty.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatPreviewEmpty.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatPreviewEmpty.vue"],"names":[],"mappings":"AAmGA,KAAK,WAAW,GAAG;IACf,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,yBAAyB;IACzB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,sBAAsB;IACtB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6BAA6B;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;IAClB,IAAI,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAA;IAC3B,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,sBAAsB;IACtB,cAAc,CAAC,EAAE,MAAM,CAAA;CACxB,CAAC;AA2JJ,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKhD,QAAA,MAAM,UAAU;;;;;;;cAtKD,OAAO;UALX,IAAI,GAAG,IAAI;UAHX,MAAM;WANL,MAAM;iBAEA,MAAM;UAQb,SAAS,GAAG,QAAQ;SANrB,MAAM;iBAQE,MAAM;aAJV,OAAO;mBAOD,MAAM;oBAEL,MAAM;6EAuKzB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,87 @@
1
+ import type { DocViewerChromeBridge } from './document-viewer/chromeBridge';
2
+ /**
3
+ * 预览头部的唯一实现:文件类型图标 + 标题区 + 图标动作组。
4
+ *
5
+ * 为什么要有它:同一个「文件预览」在三个入口各画过一条头(我的资料右侧面板、
6
+ * AI 产物抽屉、对话侧预览面板),按钮数量、尺寸、判断「谁负责下载/关闭」的逻辑
7
+ * 全是抄的。图片尤其明显——我的资料把内联的 `-` `+` 旋转图片 重置图片视图 100%
8
+ * 关掉后换成了图标按钮,AI 产物那边没关,于是同一张图多出一排文字按钮。
9
+ *
10
+ * 收口原则(与项目其它公共件一致):
11
+ * - 只收「一致的部分」:图标按钮规格、缩放/旋转/重置的取值与禁用、标题省略规则;
12
+ * - 尺寸、定位、底色、下边框留给宿主(用 class 覆盖根节点);
13
+ * - 宿主特有的动作(源码/编辑/保存、产物「更多」菜单)走 `#tools` / `#actions` 插槽。
14
+ *
15
+ * 缩放、旋转、重置都读 `chrome`(渲染器上报的能力)。宿主没有接管外壳时传
16
+ * `undefined`,这条头部就只出下载/全屏/关闭。
17
+ */
18
+ type __VLS_Props = {
19
+ /** 文件名:有面包屑时作为终点(不可点),否则作为唯一标题。 */
20
+ name: string;
21
+ ext?: string;
22
+ /** 副标题(如「文档 · 119KB」),与文件名同一基线。 */
23
+ meta?: string;
24
+ /** 面包屑目录链:**含根、不含文件名**;为空则走「文件名 + 副标题」布局。 */
25
+ crumbs?: {
26
+ id: string;
27
+ name: string;
28
+ }[];
29
+ /** 渲染器上报的外壳能力(`useDocViewerChromeHost()` 的返回值)。 */
30
+ chrome?: DocViewerChromeBridge;
31
+ showDownload?: boolean;
32
+ showFullscreen?: boolean;
33
+ showClose?: boolean;
34
+ fullscreen?: boolean;
35
+ /** 「复制全文」:只有内容已经以文本形式拿到时才有意义(文本阅读视图)。 */
36
+ showCopy?: boolean;
37
+ /** 复制成功的短暂反馈(图标换成对勾 + 文案改「已复制」),由宿主控时序。 */
38
+ copied?: boolean;
39
+ };
40
+ declare var __VLS_19: {}, __VLS_21: {}, __VLS_23: {}, __VLS_134: {};
41
+ type __VLS_Slots = {} & {
42
+ 'title-suffix'?: (props: typeof __VLS_19) => any;
43
+ } & {
44
+ 'title-suffix'?: (props: typeof __VLS_21) => any;
45
+ } & {
46
+ tools?: (props: typeof __VLS_23) => any;
47
+ } & {
48
+ actions?: (props: typeof __VLS_134) => any;
49
+ };
50
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
51
+ focusClose: () => void | undefined;
52
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
53
+ download: () => any;
54
+ close: () => any;
55
+ copy: () => any;
56
+ fullscreen: () => any;
57
+ navigate: (id: string) => any;
58
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
59
+ onDownload?: (() => any) | undefined;
60
+ onClose?: (() => any) | undefined;
61
+ onCopy?: (() => any) | undefined;
62
+ onFullscreen?: (() => any) | undefined;
63
+ onNavigate?: ((id: string) => any) | undefined;
64
+ }>, {
65
+ meta: string;
66
+ showDownload: boolean;
67
+ showClose: boolean;
68
+ fullscreen: boolean;
69
+ copied: boolean;
70
+ ext: string;
71
+ showFullscreen: boolean;
72
+ crumbs: {
73
+ id: string;
74
+ name: string;
75
+ }[];
76
+ chrome: DocViewerChromeBridge;
77
+ showCopy: boolean;
78
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
79
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
80
+ declare const _default: typeof __VLS_export;
81
+ export default _default;
82
+ type __VLS_WithSlots<T, S> = T & {
83
+ new (): {
84
+ $slots: S;
85
+ };
86
+ };
87
+ //# sourceMappingURL=ChatPreviewHeader.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatPreviewHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatPreviewHeader.vue"],"names":[],"mappings":"AAkYA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAA;AAM3E;;;;;;;;;;;;;;;GAeG;AACH,KAAK,WAAW,GAAG;IACf,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,6CAA6C;IAC7C,MAAM,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACvC,mDAAmD;IACnD,MAAM,CAAC,EAAE,qBAAqB,CAAA;IAC9B,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,2CAA2C;IAC3C,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB,CAAC;AAurBJ,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,SAAS,IAAoC,CAAE;AAClH,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,SAAS,KAAK,GAAG,CAAA;CAAE,CAAC;AAOjD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;UAhtBL,MAAM;kBAKE,OAAO;eAEV,OAAO;gBACN,OAAO;YAIX,OAAO;SAdV,MAAM;oBAQK,OAAO;YAJf;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE;YAE9B,qBAAqB;cAMnB,OAAO;6EA2sBpB,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -68,11 +68,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
68
68
  }>> & Readonly<{}>, {
69
69
  theme: ChatTheme;
70
70
  limits: Partial<ChatAttachmentLimits>;
71
- cloud: ChatCloudConfig;
72
71
  colorMode: ChatColorMode;
73
- skillUi: ChatSkillUiConfig;
72
+ cloud: ChatCloudConfig;
74
73
  previewRenderers: Partial<Record<string, import("..").ChatPreviewRenderer>>;
75
74
  toolRenderers: ChatToolRendererMap;
75
+ skillUi: ChatSkillUiConfig;
76
76
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
77
77
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
78
78
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatProvider.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatProvider.vue"],"names":[],"mappings":"AAuJA,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAO7C,OAAO,EAAwB,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAC3E,OAAO,KAAK,EACV,oBAAoB,EACpB,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,SAAS,EACT,mBAAmB,EACpB,MAAM,UAAU,CAAA;AA+EjB,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU;;cAEe,QAAQ,CAAC,aAAa,CAAC;;;IACpD,8CAA8C;;cACrB,QAAQ,CAAC,eAAe,CAAC;;;;cACxB,QAAQ,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;;;;cACxC,QAAQ,CAAC,SAAS,CAAC;;;;cACjB,QAAQ,CAAC,iBAAiB,CAAC;;;;cAClB,QAAQ,CAAC,sBAAsB,CAAC;;;;cACnC,QAAQ,CAAC,mBAAmB,CAAC;;;;;cAPjC,QAAQ,CAAC,aAAa,CAAC;;;IACpD,8CAA8C;;cACrB,QAAQ,CAAC,eAAe,CAAC;;;;cACxB,QAAQ,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;;;;cACxC,QAAQ,CAAC,SAAS,CAAC;;;;cACjB,QAAQ,CAAC,iBAAiB,CAAC;;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AAQ,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;;;;cACxC,QAAQ,CAAC,SAAS,CAAC;;;;cACjB,QAAQ,CAAC,iBAAiB,CAAC;;;;cAClB,QAAQ,CAAC,sBAAsB,CAAC;;;;cACnC,QAAQ,CAAC,mBAAmB,CAAC;;;;;;;;;;;4EAE9D,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatQueue.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatQueue.vue"],"names":[],"mappings":"AAitBA,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,UAAU,CAAA;AAOrE,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,SAAS,aAAa,EAAE,CAAA;IAC/B,gFAAgF;IAChF,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AAmpBF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ChatQueue.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatQueue.vue"],"names":[],"mappings":"AA2tBA,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,UAAU,CAAA;AAOrE,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,SAAS,aAAa,EAAE,CAAA;IAC/B,gFAAgF;IAChF,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC;AA6pBF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatQuotaDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatQuotaDialog.vue"],"names":[],"mappings":"AAgdA,OAAO,EAQL,KAAK,aAAa,EAClB,KAAK,eAAe,EAErB,MAAM,cAAc,CAAA;AAMrB,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,aAAa,EAAE,CAAA;IACvB,OAAO,CAAC,EAAE,eAAe,EAAE,CAAA;CAC5B,CAAC;AAiEJ,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AASF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAqWxD,QAAA,MAAM,YAAY;;;;;WAnbN,aAAa,EAAE;aACb,eAAe,EAAE;6EAsb7B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ChatQuotaDialog.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatQuotaDialog.vue"],"names":[],"mappings":"AAkdA,OAAO,EAQL,KAAK,aAAa,EAClB,KAAK,eAAe,EAErB,MAAM,cAAc,CAAA;AAMrB,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,aAAa,EAAE,CAAA;IACvB,OAAO,CAAC,EAAE,eAAe,EAAE,CAAA;CAC5B,CAAC;AAiEJ,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AASF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAqWxD,QAAA,MAAM,YAAY;;;;;WAnbN,aAAa,EAAE;aACb,eAAe,EAAE;6EAsb7B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,5 +1,5 @@
1
1
  import { type ChatAgentMode } from '../chatAgentMode';
2
- import type { ChatAttachmentError, ChatAttachmentLimits, ChatComposerAttachment, ChatResourceFile, ChatMentionKind, ChatSendPayload, ChatSenderDraftSnapshot, ChatSenderMentionSlotProps, ChatModelChangePayload, ChatSenderModelOption, ChatSenderProps, ChatSenderQuickAction, ChatSenderTrigger } from '../types';
2
+ import type { ChatAttachmentError, ChatAttachmentLimits, ChatComposerAttachment, ChatFolderRef, ChatResourceFile, ChatMentionKind, ChatSendPayload, ChatSenderDraftSnapshot, ChatSenderMentionSlotProps, ChatModelChangePayload, ChatSenderModelOption, ChatSenderProps, ChatSenderQuickAction, ChatSenderTrigger } from '../types';
3
3
  import type { ChatCloudConfig } from '../cloudConfig';
4
4
  import type { ChatSkillCardModel, ChatSkillDetailContentSlotProps, ChatSkillDetailHeaderSlotProps, ChatSkillUseSource } from '../../skill';
5
5
  interface ChatSenderLocalProps {
@@ -50,6 +50,21 @@ declare function focusEditor(): void;
50
50
  */
51
51
  declare function openCaretMenu(kind: CaretMenuKind): void;
52
52
  declare function addFiles(files: readonly File[]): void;
53
+ /**
54
+ * 已在云端的文件直接挂成「已上传」附件(「添加到任务」用它)。
55
+ *
56
+ * 与 `addFiles` 的差别是**没有本地 `File`**:文件本来就在云上,只带地址进来,
57
+ * 所以不经过上传管道,也不做类型/大小校验 —— 能存进云端的文件就能挂上。
58
+ * 超出 `maxFiles` 的部分丢弃并提示,与上传管道保持同一套上限。
59
+ */
60
+ declare function addResourceFiles(resources: readonly ChatResourceFile[]): void;
61
+ /**
62
+ * 「我的资料」的文件夹挂成文件夹附件(「添加到任务」用它)。
63
+ *
64
+ * 文件夹没有本地文件也没有地址,只带一个 id:后端按 id 展开成文件。
65
+ * 与 `addResourceFiles` 共用 `maxFiles` 上限与去重口径(同一个 id 只挂一次)。
66
+ */
67
+ declare function addFolderFiles(folders: readonly ChatFolderRef[]): void;
53
68
  /**
54
69
  * Programmatic text insertion (e.g. skill shortcuts). Unlike `insertTextAtCaret`,
55
70
  * this works even when the editor isn't currently focused/selected.
@@ -99,6 +114,8 @@ declare function handleConnectorInsert(payload: {
99
114
  }): void;
100
115
  declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {
101
116
  addFiles: typeof addFiles;
117
+ addResourceFiles: typeof addResourceFiles;
118
+ addFolderFiles: typeof addFolderFiles;
102
119
  insertText: typeof insertText;
103
120
  setTextReference: typeof setTextReference;
104
121
  clearTextReference: typeof clearTextReference;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatSender.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSender.vue"],"names":[],"mappings":"AA6mLA,OAAO,EAIL,KAAK,aAAa,EACnB,MAAM,kBAAkB,CAAA;AA6EzB,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,eAAe,EAEf,eAAe,EACf,uBAAuB,EACvB,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EAElB,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,KAAK,EACV,kBAAkB,EAClB,+BAA+B,EAC/B,8BAA8B,EAC9B,kBAAkB,EAEnB,MAAM,aAAa,CAAA;AAQpB,UAAU,oBAAoB;IAC5B,gGAAgG;IAChG,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,KAAK,WAAW,GAAG,eAAe,GAAG,oBAAoB,CAAC;AAuF1D,KAAK,WAAW,GAAG;IACjB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE;QACvB,SAAS,EAAE,MAAM,CAAA;QACjB,KAAK,EAAE,MAAM,CAAA;QACb,MAAM,EAAE,CAAC,OAAO,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,KAAK,IAAI,CAAA;QACxD,KAAK,EAAE,MA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,MAAM;iBAAW,MAAM;;;;;;;;mBAM1B,MAAM;;;mBACL,MAAM;eAAS,MAAM;;;mBACrB,MAAM;;;mBAEtB,MAAM;YAAM,MAAM;eAAS,MAAM;eAAS,eAAe;;;mBAGzD,MAAM;YAAM,MAAM;eAAS,MAAM;eAAS,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAk6JjF,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ChatSender.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSender.vue"],"names":[],"mappings":"AAkzLA,OAAO,EAIL,KAAK,aAAa,EACnB,MAAM,kBAAkB,CAAA;AA6FzB,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,aAAa,EACb,gBAAgB,EAChB,eAAe,EAEf,eAAe,EACf,uBAAuB,EACvB,0BAA0B,EAC1B,sBAAsB,EACtB,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EAElB,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,KAAK,EACV,kBAAkB,EAClB,+BAA+B,EAC/B,8BAA8B,EAC9B,kBAAkB,EAEnB,MAAM,aAAa,CAAA;AAQpB,UAAU,oBAAoB;IAC5B,gGAAgG;IAChG,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,KAAK,WAAW,GAAG,eAAe,GAAG,oBAAoB,CAAC;AAuF1D,KAAK,WAAW,GAAG;IACjB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE;QACv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G,WAAW,MAAM,MAAM;0BAEpD,QAAQ,GAAG,OAAO,GAAG,WAAW,WAAW,MAAM;;;;;;;;;;;;;;;;;;;;gBAj+E1B,MAAM;eAAS,MAAM;;;mBACxB,MAAM;iBAAW,MAAM;;;;;;;;mBAM1B,MAAM;;;mBACL,MAAM;eAAS,MAAM;;;mBACrB,MAAM;;;mBAEtB,MAAM;YAAM,MAAM;eAAS,MAAM;eAAS,eAAe;;;mBAGzD,MAAM;YAAM,MAAM;eAAS,MAAM;eAAS,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;gBAdpC,MAAM;eAAS,MAAM;;;mBACxB,MAAM;iBAAW,MAAM;;;;;;;;mBAM1B,MAAM;;;mBACL,MAAM;eAAS,MAAM;;;mBACrB,MAAM;;;mBAEtB,MAAM;YAAM,MAAM;eAAS,MAAM;eAAS,eAAe;;;mBAGzD,MAAM;YAAM,MAAM;eAAS,MAAM;eAAS,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAymKjF,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -53,8 +53,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
53
53
  loading: boolean;
54
54
  hasMore: boolean;
55
55
  total: number;
56
- texts: Partial<ChatSidebarTexts>;
57
56
  sessions: ChatSessionListItem[];
57
+ texts: Partial<ChatSidebarTexts>;
58
58
  activeSessionId: string;
59
59
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
60
60
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatSessionExpandHistoryCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionExpandHistoryCard.vue"],"names":[],"mappings":"AA4cA,OAAO,EAEL,KAAK,gBAAgB,EAErB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACtB,MAAM,4BAA4B,CAAA;AAWnC,KAAK,WAAW,GAAG;IACf,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAChC,6BAA6B;IAC7B,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC3B,sBAAsB;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,CAAA;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACtC,2BAA2B;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACpC,qBAAqB;IACrB,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAA;IACtC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAA;CAClC,CAAC;AAixBJ,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aArxBJ,OAAO;aACP,OAAO;WACT,MAAM;WACN,OAAO,CAAC,gBAAgB,CAAC;cAdtB,mBAAmB,EAAE;qBADd,MAAM;6EAqyB1B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ChatSessionExpandHistoryCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionExpandHistoryCard.vue"],"names":[],"mappings":"AA4cA,OAAO,EAEL,KAAK,gBAAgB,EAErB,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACtB,MAAM,4BAA4B,CAAA;AAWnC,KAAK,WAAW,GAAG;IACf,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,EAAE,mBAAmB,EAAE,CAAA;IAChC,6BAA6B;IAC7B,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC3B,sBAAsB;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,CAAA;IACrD,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACtC,2BAA2B;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACpC,qBAAqB;IACrB,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAA;IACtC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAA;CAClC,CAAC;AAixBJ,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aArxBJ,OAAO;aACP,OAAO;WACT,MAAM;cAbH,mBAAmB,EAAE;WAcxB,OAAO,CAAC,gBAAgB,CAAC;qBAff,MAAM;6EAqyB1B,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -9,7 +9,10 @@ type __VLS_Props = {
9
9
  /** 组内会话总数。有值时优先于已加载条数,分页时也能显示全量。 */
10
10
  count?: number;
11
11
  texts: ChatSidebarTexts;
12
+ /** 是否为当前会话:只影响分页定位,不代表要画成选中。 */
12
13
  isRowActive: (session: ChatSessionListItem) => boolean;
14
+ /** 是否画成选中态。缺省与 `isRowActive` 一致。 */
15
+ isRowHighlighted?: (session: ChatSessionListItem) => boolean;
13
16
  };
14
17
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
18
  delete: (id: string) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatSessionGroupRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionGroupRow.vue"],"names":[],"mappings":"AAiZA,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,4BAA4B,CAAA;AASnC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,gBAAgB,CAAA;IACvB,MAAM,EAAE,gBAAgB,EAAE,CAAA;IAC1B,QAAQ,EAAE,mBAAmB,EAAE,CAAA;IAC/B,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,gBAAgB,CAAA;IACvB,WAAW,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,OAAO,CAAA;CACvD,CAAC;AAseF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ChatSessionGroupRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionGroupRow.vue"],"names":[],"mappings":"AAwZA,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,4BAA4B,CAAA;AASnC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,gBAAgB,CAAA;IACvB,MAAM,EAAE,gBAAgB,EAAE,CAAA;IAC1B,QAAQ,EAAE,mBAAmB,EAAE,CAAA;IAC/B,QAAQ,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,gBAAgB,CAAA;IACvB,gCAAgC;IAChC,WAAW,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,OAAO,CAAA;IACtD,oCAAoC;IACpC,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,OAAO,CAAA;CAC7D,CAAC;AA2eF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -15,13 +15,15 @@ type __VLS_Props = {
15
15
  groupsReady?: boolean;
16
16
  texts: ChatSidebarTexts;
17
17
  isRowActive: (session: ChatSessionListItem) => boolean;
18
+ /** 是否画成选中态。缺省与 `isRowActive` 一致。 */
19
+ isRowHighlighted?: (session: ChatSessionListItem) => boolean;
18
20
  };
19
21
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
22
  delete: (id: string) => any;
21
23
  "load-more": (groupId: string) => any;
22
24
  create: (name: string) => any;
23
- expand: (groupId: string) => any;
24
25
  rename: (id: string, name: string) => any;
26
+ expand: (groupId: string) => any;
25
27
  "assign-group": (sessionId: string, groupId: string) => any;
26
28
  "remove-group": (sessionId: string) => any;
27
29
  "toggle-pin": (sessionId: string, pinned: boolean) => any;
@@ -33,8 +35,8 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
33
35
  onDelete?: ((id: string) => any) | undefined;
34
36
  "onLoad-more"?: ((groupId: string) => any) | undefined;
35
37
  onCreate?: ((name: string) => any) | undefined;
36
- onExpand?: ((groupId: string) => any) | undefined;
37
38
  onRename?: ((id: string, name: string) => any) | undefined;
39
+ onExpand?: ((groupId: string) => any) | undefined;
38
40
  "onAssign-group"?: ((sessionId: string, groupId: string) => any) | undefined;
39
41
  "onRemove-group"?: ((sessionId: string) => any) | undefined;
40
42
  "onToggle-pin"?: ((sessionId: string, pinned: boolean) => any) | undefined;
@@ -43,6 +45,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
43
45
  "onRename-session"?: ((id: string, name: string) => any) | undefined;
44
46
  "onDelete-session"?: ((id: string) => any) | undefined;
45
47
  }>, {
48
+ isRowHighlighted: (session: ChatSessionListItem) => boolean;
46
49
  groupsReady: boolean;
47
50
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
51
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatSessionGroupSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionGroupSection.vue"],"names":[],"mappings":"AAucA,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,4BAA4B,CAAA;AAMnC,KAAK,WAAW,GAAG;IACf,MAAM,EAAE,gBAAgB,EAAE,CAAA;IAC1B,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,CAAA;IACtD,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACxC,uCAAuC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,EAAE,gBAAgB,CAAA;IACvB,WAAW,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,OAAO,CAAA;CACvD,CAAC;AAkfJ,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;iBArfA,OAAO;6EAyfvB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ChatSessionGroupSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionGroupSection.vue"],"names":[],"mappings":"AA0cA,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,4BAA4B,CAAA;AAMnC,KAAK,WAAW,GAAG;IACf,MAAM,EAAE,gBAAgB,EAAE,CAAA;IAC1B,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,CAAC,CAAA;IACtD,wBAAwB;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACpC,eAAe,CAAC,EAAE,MAAM,EAAE,CAAA;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACxC,uCAAuC;IACvC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,KAAK,EAAE,gBAAgB,CAAA;IACvB,WAAW,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,OAAO,CAAA;IACtD,oCAAoC;IACpC,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,OAAO,CAAA;CAC7D,CAAC;AAofJ,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;sBArfK,CAAC,OAAO,EAAE,mBAAmB,KAAK,OAAO;iBAJ9C,OAAO;6EA6fvB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -4,7 +4,10 @@ type __VLS_Props = {
4
4
  sessions: ChatSessionListItem[];
5
5
  groups: ChatSessionGroup[];
6
6
  texts: ChatSidebarTexts;
7
+ /** 是否为当前会话:只影响收起可见性与分页定位,不代表要画成选中。 */
7
8
  isRowActive: (session: ChatSessionListItem) => boolean;
9
+ /** 是否画成选中态。缺省与 `isRowActive` 一致。 */
10
+ isRowHighlighted?: (session: ChatSessionListItem) => boolean;
8
11
  };
9
12
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
13
  "assign-group": (sessionId: string, groupId: string) => any;
@@ -1 +1 @@
1
- {"version":3,"file":"ChatSessionPinnedSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionPinnedSection.vue"],"names":[],"mappings":"AAwJA,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,4BAA4B,CAAA;AAKnC,KAAK,WAAW,GAAG;IACjB,uCAAuC;IACvC,QAAQ,EAAE,mBAAmB,EAAE,CAAA;IAC/B,MAAM,EAAE,gBAAgB,EAAE,CAAA;IAC1B,KAAK,EAAE,gBAAgB,CAAA;IACvB,WAAW,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,OAAO,CAAA;CACvD,CAAC;AAmMF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"ChatSessionPinnedSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSessionPinnedSection.vue"],"names":[],"mappings":"AA+JA,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACnB,gBAAgB,EACjB,MAAM,4BAA4B,CAAA;AAKnC,KAAK,WAAW,GAAG;IACjB,uCAAuC;IACvC,QAAQ,EAAE,mBAAmB,EAAE,CAAA;IAC/B,MAAM,EAAE,gBAAgB,EAAE,CAAA;IAC1B,KAAK,EAAE,gBAAgB,CAAA;IACvB,sCAAsC;IACtC,WAAW,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,OAAO,CAAA;IACtD,oCAAoC;IACpC,gBAAgB,CAAC,EAAE,CAAC,OAAO,EAAE,mBAAmB,KAAK,OAAO,CAAA;CAC7D,CAAC;AAwMF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}