@deep-eye/core 1.3.84 → 1.3.85
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 +50 -0
- package/README.md +1 -1
- package/dist/{ChartRenderer-BFYHRt_Q.js → ChartRenderer-4jMDeAxm.js} +1 -1
- package/dist/{ChartRenderer-NUULTbe7.cjs → ChartRenderer-Bq-WRQmw.cjs} +1 -1
- package/dist/{ChatMyFilesArtifacts-Qkim1200.js → ChatMyFilesArtifacts-D7unczTL.js} +427 -444
- package/dist/ChatMyFilesArtifacts-dk7QXDl0.cjs +1 -0
- package/dist/components/chat/ChatApp.vue.d.ts +27 -14
- package/dist/components/chat/ChatApp.vue.d.ts.map +1 -1
- package/dist/components/chat/addToTask.d.ts +1 -1
- package/dist/components/chat/addToTask.d.ts.map +1 -1
- package/dist/components/chat/attachmentController.d.ts.map +1 -1
- package/dist/components/chat/attachments.d.ts +4 -1
- package/dist/components/chat/attachments.d.ts.map +1 -1
- package/dist/components/chat/chatErrors.d.ts.map +1 -1
- package/dist/components/chat/chatFilePicker.d.ts +91 -1
- package/dist/components/chat/chatFilePicker.d.ts.map +1 -1
- package/dist/components/chat/chatQuota.d.ts +29 -14
- package/dist/components/chat/chatQuota.d.ts.map +1 -1
- package/dist/components/chat/chatSessionSidebarAssets.d.ts +4 -2
- package/dist/components/chat/chatSessionSidebarAssets.d.ts.map +1 -1
- package/dist/components/chat/cloudConfig.d.ts +6 -0
- package/dist/components/chat/cloudConfig.d.ts.map +1 -1
- package/dist/components/chat/components/ChatFilePickerDialog.vue.d.ts +5 -5
- package/dist/components/chat/components/ChatFilePickerDialog.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatMentionFileMenu.vue.d.ts +24 -0
- package/dist/components/chat/components/ChatMentionFileMenu.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatPreviewDrawer.vue.d.ts +31 -0
- package/dist/components/chat/components/ChatPreviewDrawer.vue.d.ts.map +1 -0
- package/dist/components/chat/components/ChatPreviewHeader.vue.d.ts +1 -1
- package/dist/components/chat/components/ChatPreviewHeader.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatQuotaDialog.vue.d.ts +20 -1
- package/dist/components/chat/components/ChatQuotaDialog.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatQuotaEntry.vue.d.ts +14 -3
- package/dist/components/chat/components/ChatQuotaEntry.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSender.vue.d.ts +3 -3
- package/dist/components/chat/components/ChatSender.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts +9 -2
- package/dist/components/chat/components/ChatSessionSidebar.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ConversationIndex.vue.d.ts.map +1 -1
- package/dist/components/chat/components/InputContentParts.vue.d.ts.map +1 -1
- package/dist/components/chat/components/IntermediateFileCards.vue.d.ts.map +1 -1
- package/dist/components/chat/components/MessageBubble.vue.d.ts.map +1 -1
- package/dist/components/chat/components/UserMessageEditor.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatArtifactFileRow.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatArtifactPreview.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatFileCheckbox.vue.d.ts +2 -0
- package/dist/components/chat/components/files/ChatFileCheckbox.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatMyFiles.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatMyFilesArtifacts.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatMyFilesDirectory.vue.d.ts +6 -0
- package/dist/components/chat/components/files/ChatMyFilesDirectory.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatMyFilesEmptyGuide.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatMyFilesFileTable.vue.d.ts +66 -3
- package/dist/components/chat/components/files/ChatMyFilesFileTable.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatMyFilesFolder.vue.d.ts +61 -5
- package/dist/components/chat/components/files/ChatMyFilesFolder.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatMyFilesGuideIcon.vue.d.ts +7 -0
- package/dist/components/chat/components/files/ChatMyFilesGuideIcon.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatMyFilesQuickAdd.vue.d.ts +17 -3
- package/dist/components/chat/components/files/ChatMyFilesQuickAdd.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatMyFilesRecent.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatMyFilesSearchDialog.vue.d.ts +18 -2
- package/dist/components/chat/components/files/ChatMyFilesSearchDialog.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatMyFilesTree.vue.d.ts +1 -1
- package/dist/components/chat/components/files/ChatMyFilesTree.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatMyFilesUploadDialog.vue.d.ts +2 -2
- package/dist/components/chat/components/files/ChatMyFilesUploadPanel.vue.d.ts +4 -5
- package/dist/components/chat/components/files/ChatMyFilesUploadPanel.vue.d.ts.map +1 -1
- package/dist/components/chat/components/files/ChatSelectionBar.vue.d.ts +36 -0
- package/dist/components/chat/components/files/ChatSelectionBar.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/ChatUploadPanel.vue.d.ts +34 -0
- package/dist/components/chat/components/files/ChatUploadPanel.vue.d.ts.map +1 -0
- package/dist/components/chat/components/files/chatArtifactFileActions.d.ts +26 -11
- package/dist/components/chat/components/files/chatArtifactFileActions.d.ts.map +1 -1
- package/dist/components/chat/components/files/chatFileTransfer.d.ts +55 -12
- package/dist/components/chat/components/files/chatFileTransfer.d.ts.map +1 -1
- package/dist/components/chat/components/files/chatFileTransferSources.d.ts +37 -3
- package/dist/components/chat/components/files/chatFileTransferSources.d.ts.map +1 -1
- package/dist/components/chat/components/files/chatMyFilesApi.d.ts +132 -2
- package/dist/components/chat/components/files/chatMyFilesApi.d.ts.map +1 -1
- package/dist/components/chat/components/files/chatMyFilesModel.d.ts +24 -3
- package/dist/components/chat/components/files/chatMyFilesModel.d.ts.map +1 -1
- package/dist/components/chat/components/files/chatUploadPanel.d.ts +42 -0
- package/dist/components/chat/components/files/chatUploadPanel.d.ts.map +1 -0
- package/dist/components/chat/components/files/guideIcon.d.ts +10 -0
- package/dist/components/chat/components/files/guideIcon.d.ts.map +1 -0
- package/dist/components/chat/components/files/index.d.ts +19 -2
- package/dist/components/chat/components/files/index.d.ts.map +1 -1
- package/dist/components/chat/components/files/myFilesFilePicker.d.ts +16 -3
- package/dist/components/chat/components/files/myFilesFilePicker.d.ts.map +1 -1
- package/dist/components/chat/components/files/myFilesRows.d.ts +15 -0
- package/dist/components/chat/components/files/myFilesRows.d.ts.map +1 -1
- package/dist/components/chat/components/files/myFilesTransferQueue.d.ts +5 -0
- package/dist/components/chat/components/files/myFilesTransferQueue.d.ts.map +1 -1
- package/dist/components/chat/components/files/myFilesUploadQueue.d.ts +2 -0
- package/dist/components/chat/components/files/myFilesUploadQueue.d.ts.map +1 -1
- package/dist/components/chat/components/files/useFileTransfer.d.ts +15 -4
- package/dist/components/chat/components/files/useFileTransfer.d.ts.map +1 -1
- package/dist/components/chat/components/index.d.ts +4 -0
- package/dist/components/chat/components/index.d.ts.map +1 -1
- package/dist/components/chat/components/mentionFileMenu.d.ts +130 -0
- package/dist/components/chat/components/mentionFileMenu.d.ts.map +1 -0
- package/dist/components/chat/composables/chatQuotaApi.d.ts +28 -0
- package/dist/components/chat/composables/chatQuotaApi.d.ts.map +1 -0
- package/dist/components/chat/composables/useChatColorMode.d.ts +11 -0
- package/dist/components/chat/composables/useChatColorMode.d.ts.map +1 -0
- package/dist/components/chat/composables/useChatQuota.d.ts +23 -0
- package/dist/components/chat/composables/useChatQuota.d.ts.map +1 -0
- package/dist/components/chat/composer/ComposerFormattedText.vue.d.ts.map +1 -1
- package/dist/components/chat/composer/ComposerInlineParts.vue.d.ts.map +1 -1
- package/dist/components/chat/composer/composerExtensions.d.ts +3 -0
- package/dist/components/chat/composer/composerExtensions.d.ts.map +1 -1
- package/dist/components/chat/composer/composerText.d.ts +6 -1
- package/dist/components/chat/composer/composerText.d.ts.map +1 -1
- package/dist/components/chat/fileChipView.d.ts +21 -0
- package/dist/components/chat/fileChipView.d.ts.map +1 -0
- package/dist/components/chat/fileToken.d.ts +42 -0
- package/dist/components/chat/fileToken.d.ts.map +1 -0
- package/dist/components/chat/hydrateHistory.d.ts.map +1 -1
- package/dist/components/chat/icons/ChatTipMenuAssetIcon.vue.d.ts +9 -0
- package/dist/components/chat/icons/ChatTipMenuAssetIcon.vue.d.ts.map +1 -1
- package/dist/components/chat/icons/ChatTipMenuLocalFileIcon.vue.d.ts.map +1 -1
- package/dist/components/chat/icons/ChatTipMenuMyFilesIcon.vue.d.ts.map +1 -1
- package/dist/components/chat/index.d.ts +2 -2
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/mdoc/ArtifactBlock.vue.d.ts.map +1 -1
- package/dist/components/chat/mentionEditor.d.ts +3 -1
- package/dist/components/chat/mentionEditor.d.ts.map +1 -1
- package/dist/components/chat/responseStream.d.ts +3 -1
- package/dist/components/chat/responseStream.d.ts.map +1 -1
- package/dist/components/chat/types.d.ts +31 -6
- package/dist/components/chat/types.d.ts.map +1 -1
- package/dist/components/library/LibraryApp.vue.d.ts +8 -2
- package/dist/components/library/LibraryApp.vue.d.ts.map +1 -1
- package/dist/components/library/components/LibrarySidebar.vue.d.ts +6 -2
- package/dist/components/library/components/LibrarySidebar.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiMenuNestedSubmenu.vue.d.ts.map +1 -1
- package/dist/components/ui/components/UiSplitPane.vue.d.ts +38 -0
- package/dist/components/ui/components/UiSplitPane.vue.d.ts.map +1 -0
- package/dist/components/ui/components/index.d.ts +1 -0
- package/dist/components/ui/components/index.d.ts.map +1 -1
- package/dist/{docx-preview-CgF7upUL.js → docx-preview-_KbfGYVZ.js} +1 -1
- package/dist/{docx-preview-Dom9DuwY.cjs → docx-preview-ljv2r1o6.cjs} +1 -1
- package/dist/index-B0LYCMyD.cjs +1447 -0
- package/dist/{index-CxF54XmE.js → index-CgfD9R7Z.js} +1 -1
- package/dist/{index-Ctl5i7Ad.cjs → index-DkAkCzn-.cjs} +1 -1
- package/dist/{index-DaiEgT_d.js → index-xNFX7ZcL.js} +32181 -29257
- package/dist/index.cjs +1 -1
- package/dist/index.js +609 -574
- package/dist/{papaparse.min-CpVgW58v.js → papaparse.min-CxNXl7Vn.js} +1 -1
- package/dist/{papaparse.min-Dkpv4aky.cjs → papaparse.min-DYV83FIL.cjs} +1 -1
- package/dist/style.css +2 -2
- package/package.json +1 -1
- package/dist/ChatMyFilesArtifacts-BxZqqm8I.cjs +0 -1
- package/dist/index-DuVaE24T.cjs +0 -1410
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { UiDropdownMenuItem } from '../../../ui';
|
|
1
2
|
import type { MaterialNode } from './chatMyFilesModel';
|
|
2
|
-
import { type MyFilesFileRow } from './myFilesRows';
|
|
3
|
-
import type { QuickAddActionId } from './chatQuickAddMenu';
|
|
3
|
+
import { type MyFilesFileRow, type MyFilesTableColumn } from './myFilesRows';
|
|
4
4
|
/**
|
|
5
5
|
* 文件夹页:面包屑 + 文件夹标题行(右上角「快速添加」)+ 子项列表。
|
|
6
6
|
*
|
|
@@ -17,8 +17,46 @@ type __VLS_Props = {
|
|
|
17
17
|
name: string;
|
|
18
18
|
}[];
|
|
19
19
|
selectedId?: string;
|
|
20
|
+
/** 为 false 时不渲染右上角「快速添加」。缺省仍显示。 */
|
|
21
|
+
showQuickAdd?: boolean;
|
|
22
|
+
/** 传入后替换「快速添加」菜单。不传时用「我的文件」默认项。 */
|
|
23
|
+
quickAddItems?: readonly UiDropdownMenuItem[];
|
|
24
|
+
/** 按行替换右侧「更多」菜单。不传时用「我的资料」菜单。 */
|
|
25
|
+
menuForRow?: (row: MyFilesFileRow) => readonly UiDropdownMenuItem[];
|
|
26
|
+
editingId?: string;
|
|
27
|
+
editingValue?: string;
|
|
28
|
+
checkedIds?: readonly string[];
|
|
29
|
+
indeterminateIds?: readonly string[];
|
|
30
|
+
selectionCount?: number;
|
|
31
|
+
/** 时间列表头。不传 `columns` 时表格仍写「访问时间」。 */
|
|
32
|
+
timeLabel?: string;
|
|
33
|
+
/** 数据列。不传时表格仍是名称、所有者、位置、访问时间。 */
|
|
34
|
+
columns?: readonly MyFilesTableColumn[];
|
|
35
|
+
/** 按行决定有没有勾选框。不传时每行都能选。 */
|
|
36
|
+
rowSelectable?: (row: MyFilesFileRow) => boolean;
|
|
37
|
+
/** 操作列宽度。用了 `#row-action` 插槽时传;不传仍是 24px。 */
|
|
38
|
+
actionWidth?: string;
|
|
20
39
|
};
|
|
21
|
-
declare
|
|
40
|
+
declare var __VLS_1: {}, __VLS_29: string, __VLS_30: {
|
|
41
|
+
row: MyFilesFileRow;
|
|
42
|
+
}, __VLS_33: {
|
|
43
|
+
rows: MyFilesFileRow[];
|
|
44
|
+
clear: () => void;
|
|
45
|
+
}, __VLS_36: {
|
|
46
|
+
row: MyFilesFileRow;
|
|
47
|
+
}, __VLS_39: {};
|
|
48
|
+
type __VLS_Slots = {} & {
|
|
49
|
+
[K in NonNullable<typeof __VLS_29>]?: (props: typeof __VLS_30) => any;
|
|
50
|
+
} & {
|
|
51
|
+
'head-actions'?: (props: typeof __VLS_1) => any;
|
|
52
|
+
} & {
|
|
53
|
+
batch?: (props: typeof __VLS_33) => any;
|
|
54
|
+
} & {
|
|
55
|
+
'row-action'?: (props: typeof __VLS_36) => any;
|
|
56
|
+
} & {
|
|
57
|
+
empty?: (props: typeof __VLS_39) => any;
|
|
58
|
+
};
|
|
59
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
60
|
open: (row: MyFilesFileRow) => any;
|
|
23
61
|
action: (payload: {
|
|
24
62
|
row: MyFilesFileRow;
|
|
@@ -29,7 +67,13 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
29
67
|
action: "add-task" | "delete";
|
|
30
68
|
rows: MyFilesFileRow[];
|
|
31
69
|
}) => any;
|
|
32
|
-
|
|
70
|
+
"update:editingValue": (value: string) => any;
|
|
71
|
+
"editing-submit": () => any;
|
|
72
|
+
"editing-cancel": () => any;
|
|
73
|
+
"more-open": (row: MyFilesFileRow) => any;
|
|
74
|
+
"selection-change": (rows: MyFilesFileRow[]) => any;
|
|
75
|
+
"selection-clear": () => any;
|
|
76
|
+
quickAdd: (id: string) => any;
|
|
33
77
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
34
78
|
onOpen?: ((row: MyFilesFileRow) => any) | undefined;
|
|
35
79
|
onAction?: ((payload: {
|
|
@@ -41,8 +85,20 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {
|
|
|
41
85
|
action: "add-task" | "delete";
|
|
42
86
|
rows: MyFilesFileRow[];
|
|
43
87
|
}) => any) | undefined;
|
|
44
|
-
|
|
88
|
+
"onUpdate:editingValue"?: ((value: string) => any) | undefined;
|
|
89
|
+
"onEditing-submit"?: (() => any) | undefined;
|
|
90
|
+
"onEditing-cancel"?: (() => any) | undefined;
|
|
91
|
+
"onMore-open"?: ((row: MyFilesFileRow) => any) | undefined;
|
|
92
|
+
"onSelection-change"?: ((rows: MyFilesFileRow[]) => any) | undefined;
|
|
93
|
+
"onSelection-clear"?: (() => any) | undefined;
|
|
94
|
+
onQuickAdd?: ((id: string) => any) | undefined;
|
|
45
95
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
96
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
46
97
|
declare const _default: typeof __VLS_export;
|
|
47
98
|
export default _default;
|
|
99
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
100
|
+
new (): {
|
|
101
|
+
$slots: S;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
48
104
|
//# sourceMappingURL=ChatMyFilesFolder.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMyFilesFolder.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesFolder.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatMyFilesFolder.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesFolder.vue"],"names":[],"mappings":"AA8VA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EAAmB,KAAK,cAAc,EAAE,KAAK,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAI7F;;;;;GAKG;AACH,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,YAAY,CAAA;IACpB,oCAAoC;IACpC,SAAS,EAAE,YAAY,EAAE,CAAA;IACzB,kCAAkC;IAClC,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IACtC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,mCAAmC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,mCAAmC;IACnC,aAAa,CAAC,EAAE,SAAS,kBAAkB,EAAE,CAAA;IAC7C,iCAAiC;IACjC,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,SAAS,kBAAkB,EAAE,CAAA;IACnE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,UAAU,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IAC9B,gBAAgB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACpC,cAAc,CAAC,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Y;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
src: string;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
//# sourceMappingURL=ChatMyFilesGuideIcon.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatMyFilesGuideIcon.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesGuideIcon.vue"],"names":[],"mappings":"AAgEA,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,MAAM,CAAA;CACZ,CAAC;AAiDF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type UiMenuPlacement } from '../../../ui';
|
|
2
|
-
import {
|
|
2
|
+
import type { UiDropdownMenuItem } from '../../../ui';
|
|
3
3
|
import './chatQuickAddMenu.css';
|
|
4
4
|
/**
|
|
5
5
|
* 「快速添加」菜单的通用触发器:只管弹菜单与 id 归一化,
|
|
@@ -21,18 +21,32 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
21
21
|
type: () => UiMenuPlacement;
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
|
+
/** 传入后替换默认菜单。不传时仍是「我的文件」那一份。 */
|
|
25
|
+
items: {
|
|
26
|
+
type: () => readonly UiDropdownMenuItem[] | undefined;
|
|
27
|
+
default: undefined;
|
|
28
|
+
};
|
|
24
29
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
30
|
[key: string]: any;
|
|
26
31
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
select: (id:
|
|
32
|
+
select: (id: string) => boolean;
|
|
33
|
+
/** 触发按钮悬浮才出现的宿主(目录行)要靠它在菜单打开期间保住锚点。 */
|
|
34
|
+
openChange: (open: boolean) => boolean;
|
|
28
35
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
36
|
placement: {
|
|
30
37
|
type: () => UiMenuPlacement;
|
|
31
38
|
default: string;
|
|
32
39
|
};
|
|
40
|
+
/** 传入后替换默认菜单。不传时仍是「我的文件」那一份。 */
|
|
41
|
+
items: {
|
|
42
|
+
type: () => readonly UiDropdownMenuItem[] | undefined;
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
33
45
|
}>> & Readonly<{
|
|
34
|
-
onSelect?: ((id:
|
|
46
|
+
onSelect?: ((id: string) => any) | undefined;
|
|
47
|
+
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
35
48
|
}>, {
|
|
49
|
+
items: readonly UiDropdownMenuItem[] | undefined;
|
|
36
50
|
placement: UiMenuPlacement;
|
|
37
51
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
52
|
//# sourceMappingURL=ChatMyFilesQuickAdd.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMyFilesQuickAdd.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesQuickAdd.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatMyFilesQuickAdd.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesQuickAdd.vue"],"names":[],"mappings":"AA0EA,OAAO,EAAiB,KAAK,eAAe,EAAE,MAAM,aAAa,CAAA;AACjE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAA;AASrD,OAAO,wBAAwB,CAAA;AAE/B;;;;;;;;;;;;GAYG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAQzC,QAAA,MAAM,YAAY;;cAII,MAAM,eAAe;;;IAGvC,gCAAgC;;cAEf,MAAM,SAAS,kBAAkB,EAAE,GAAG,SAAS;;;;;;iBAKnD,MAAM;IACnB,uCAAuC;uBACpB,OAAO;;;cAZR,MAAM,eAAe;;;IAGvC,gCAAgC;;cAEf,MAAM,SAAS,kBAAkB,EAAE,GAAG,SAAS;;;;;;;;;4EAgClE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMyFilesRecent.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesRecent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatMyFilesRecent.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesRecent.vue"],"names":[],"mappings":"AA2UA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD,OAAO,oBAAoB,CAAA;AAC3B,OAAO,EAML,KAAK,cAAc,EAGpB,MAAM,eAAe,CAAA;AAItB,KAAK,WAAW,GAAG;IACjB,qCAAqC;IACrC,KAAK,EAAE,YAAY,EAAE,CAAA;IACrB,gCAAgC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,kCAAkC;IAClC,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAC;AA0TF,QAAA,MAAM,YAAY;;;aApTS,cAAc;gBAAU,MAAM;;;gBAE5B,UAAU,GAAG,QAAQ;cAAQ,cAAc,EAAE;;;;;aAF/C,cAAc;gBAAU,MAAM;;;gBAE5B,UAAU,GAAG,QAAQ;cAAQ,cAAc,EAAE;;kFAqTxE,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -3,10 +3,13 @@ import type { MaterialNode } from './chatMyFilesModel';
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
cloud?: ChatCloudConfig;
|
|
5
5
|
/** 目录树快照:空关键词时用于拼「最近浏览」,本地模式同时充当搜索源。 */
|
|
6
|
-
nodes
|
|
6
|
+
nodes?: MaterialNode[];
|
|
7
7
|
/** 本地浏览记录(id 顺序,最近的在前)。 */
|
|
8
8
|
recentIds?: string[];
|
|
9
|
+
/** 搜索框占位。不传时仍是「搜索文档」。 */
|
|
10
|
+
placeholder?: string;
|
|
9
11
|
};
|
|
12
|
+
declare function close(): void;
|
|
10
13
|
type __VLS_ModelProps = {
|
|
11
14
|
/**
|
|
12
15
|
* 「我的文件」右上角搜索图标打开的检索面板(命令面板形态)。
|
|
@@ -19,7 +22,14 @@ type __VLS_ModelProps = {
|
|
|
19
22
|
modelValue?: boolean;
|
|
20
23
|
};
|
|
21
24
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
22
|
-
declare
|
|
25
|
+
declare var __VLS_22: {
|
|
26
|
+
keyword: string;
|
|
27
|
+
close: typeof close;
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Slots = {} & {
|
|
30
|
+
default?: (props: typeof __VLS_22) => any;
|
|
31
|
+
};
|
|
32
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
33
|
"update:modelValue": (value: boolean) => any;
|
|
24
34
|
open: (payload: {
|
|
25
35
|
node: MaterialNode;
|
|
@@ -32,6 +42,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
32
42
|
newWindow: boolean;
|
|
33
43
|
}) => any) | undefined;
|
|
34
44
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
46
|
declare const _default: typeof __VLS_export;
|
|
36
47
|
export default _default;
|
|
48
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
49
|
+
new (): {
|
|
50
|
+
$slots: S;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
37
53
|
//# sourceMappingURL=ChatMyFilesSearchDialog.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMyFilesSearchDialog.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesSearchDialog.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatMyFilesSearchDialog.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesSearchDialog.vue"],"names":[],"mappings":"AAohBA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAqBtD,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,eAAe,CAAA;IACvB,wCAAwC;IACxC,KAAK,CAAC,EAAE,YAAY,EAAE,CAAA;IACtB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,EAAE,CAAA;IACpB,yBAAyB;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;AA2EF,iBAAS,KAAK,SAEb;AAmED,KAAK,gBAAgB,GAAG;IACxB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA2SxD,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;AAQhD,QAAA,MAAM,UAAU;;;cA5cU,YAAY;mBAAa,OAAO;;;;;cAAhC,YAAY;mBAAa,OAAO;;kFA+cxD,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":"ChatMyFilesTree.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesTree.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatMyFilesTree.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesTree.vue"],"names":[],"mappings":"AA0aA,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACvE,OAAO,EAAuB,KAAK,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAQ/E,OAAO,wBAAwB,CAAA;AAC/B,OAAO,yBAAyB,CAAA;AAIhC;;;;;;;;GAQG;AACH,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,YAAY,CAAA;IAClB,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,CAAA;IACxB,UAAU,EAAE,MAAM,CAAA;IAClB,oCAAoC;IACpC,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB,CAAC;AAyaF,QAAA,MAAM,YAAY;;;;cA5ZU,YAAY;gBAAU,MAAM;;;;cAE1B,YAAY;gBAAU,gBAAgB;;;;;;cAFxC,YAAY;gBAAU,MAAM;;;;cAE1B,YAAY;gBAAU,gBAAgB;;kFA6ZlE,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -20,12 +20,12 @@ type __VLS_ModelProps = {
|
|
|
20
20
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
21
21
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
22
|
"update:modelValue": (value: boolean) => any;
|
|
23
|
-
files: (files: File[]) => any;
|
|
24
23
|
folder: (files: File[]) => any;
|
|
24
|
+
files: (files: File[]) => any;
|
|
25
25
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
26
26
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
27
|
-
onFiles?: ((files: File[]) => any) | undefined;
|
|
28
27
|
onFolder?: ((files: File[]) => any) | undefined;
|
|
28
|
+
onFiles?: ((files: File[]) => any) | undefined;
|
|
29
29
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
31
31
|
export default _default;
|
|
@@ -3,17 +3,16 @@ import type { MyFilesTransferQueue } from './myFilesTransferQueue';
|
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
queue: MyFilesUploadQueue;
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* 和本地上传放**同一块面板**:两者都是「一批文件正在去哪」,
|
|
9
|
-
* 分成两个浮层会出现上下两块同时冒出来,用户得分别关两次。
|
|
10
|
-
* 差别只在行的内容——本地上传有字节进度,转存只有逐条成败。
|
|
6
|
+
* 「上传到」的批量任务(可选)。和本地上传放同一块面板:两者都是「一批文件正在去哪」,
|
|
7
|
+
* 分成两个浮层用户得分别关两次。差别只在行的内容——本地上传有字节进度,转存只有逐条成败。
|
|
11
8
|
*/
|
|
12
9
|
transfer?: MyFilesTransferQueue;
|
|
13
10
|
};
|
|
14
11
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
delete: (task: MyFilesUploadTask) => any;
|
|
15
13
|
open: (task: MyFilesUploadTask) => any;
|
|
16
14
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onDelete?: ((task: MyFilesUploadTask) => any) | undefined;
|
|
17
16
|
onOpen?: ((task: MyFilesUploadTask) => any) | undefined;
|
|
18
17
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
18
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMyFilesUploadPanel.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesUploadPanel.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatMyFilesUploadPanel.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatMyFilesUploadPanel.vue"],"names":[],"mappings":"AAoOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACjF,OAAO,KAAK,EAEV,oBAAoB,EAErB,MAAM,wBAAwB,CAAA;AAW/B,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,kBAAkB,CAAA;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,oBAAoB,CAAA;CAChC,CAAC;AAoRF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import './chatSelectionBar.css';
|
|
2
|
+
/**
|
|
3
|
+
* 多选后的浮动操作条:贴着列表底部居中浮出,
|
|
4
|
+
* 从左到右固定为「已选 N 项 · 取消选择 | 次要操作 | 添加到任务」。
|
|
5
|
+
*
|
|
6
|
+
* 「添加到任务」由这里自己画,是条上唯一的实心按钮,永远在最右端。
|
|
7
|
+
* 页面只能用默认插槽往中间补次要操作(按钮加 `chat-selection-bar__action`,
|
|
8
|
+
* 危险操作再加 `is-danger`),改不了主按钮的位置和样式——
|
|
9
|
+
* 用户在我的文件、AI 产物、知识库之间切换时,不用重新找这颗按钮。
|
|
10
|
+
*
|
|
11
|
+
* 定位相对最近的 positioned 祖先;宿主要给滚动区底部留出约 84px,
|
|
12
|
+
* 否则最后一行会被盖住。
|
|
13
|
+
*/
|
|
14
|
+
type __VLS_Props = {
|
|
15
|
+
count: number;
|
|
16
|
+
};
|
|
17
|
+
declare var __VLS_7: {};
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
default?: (props: typeof __VLS_7) => any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
clear: () => any;
|
|
23
|
+
"add-task": () => any;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
25
|
+
onClear?: (() => any) | undefined;
|
|
26
|
+
"onAdd-task"?: (() => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=ChatSelectionBar.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatSelectionBar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatSelectionBar.vue"],"names":[],"mappings":"AAyEA,OAAO,wBAAwB,CAAA;AAI/B;;;;;;;;;;;GAWG;AACH,KAAK,WAAW,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAwHrC,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;;;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { type ChatUploadGroup, type ChatUploadItem } from './chatUploadPanel';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
groups: ChatUploadGroup[];
|
|
5
|
+
/** 进行中时的标题文案。 */
|
|
6
|
+
busyTitle?: string;
|
|
7
|
+
};
|
|
8
|
+
type __VLS_ModelProps = {
|
|
9
|
+
'collapsed'?: boolean;
|
|
10
|
+
'collapsedGroups'?: string[];
|
|
11
|
+
};
|
|
12
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
13
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
close: () => any;
|
|
15
|
+
open: (item: ChatUploadItem) => any;
|
|
16
|
+
retry: (item: ChatUploadItem) => any;
|
|
17
|
+
remove: (item: ChatUploadItem) => any;
|
|
18
|
+
"update:collapsed": (value: boolean) => any;
|
|
19
|
+
"retry-all": () => any;
|
|
20
|
+
"update:collapsedGroups": (value: string[]) => any;
|
|
21
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
+
onClose?: (() => any) | undefined;
|
|
23
|
+
onOpen?: ((item: ChatUploadItem) => any) | undefined;
|
|
24
|
+
onRetry?: ((item: ChatUploadItem) => any) | undefined;
|
|
25
|
+
onRemove?: ((item: ChatUploadItem) => any) | undefined;
|
|
26
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
27
|
+
"onRetry-all"?: (() => any) | undefined;
|
|
28
|
+
"onUpdate:collapsedGroups"?: ((value: string[]) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
busyTitle: string;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
//# sourceMappingURL=ChatUploadPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatUploadPanel.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/files/ChatUploadPanel.vue"],"names":[],"mappings":"AAs6BA,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,cAAc,EACpB,MAAM,mBAAmB,CAAA;AAU1B,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,eAAe,EAAE,CAAA;IACzB,iBAAiB;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAC;AAqIJ,KAAK,gBAAgB,GAAG;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B,CAAC;AAOF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA4lBxD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;eA5uBF,MAAM;6EAgvBpB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type InjectionKey, type Ref } from 'vue';
|
|
2
2
|
import type { UiDropdownMenuItem } from '../../../ui';
|
|
3
|
+
import type { FileTransferTarget } from './chatFileTransfer';
|
|
3
4
|
/**
|
|
4
5
|
* 文件行「更多操作」菜单的统一数据源。
|
|
5
6
|
*
|
|
@@ -16,19 +17,31 @@ import type { UiDropdownMenuItem } from '../../../ui';
|
|
|
16
17
|
*/
|
|
17
18
|
export type ArtifactFileActionId = 'add-task' | 'rename' | 'share' | 'share-school' | 'upload-my-files' | 'upload-lesson' | 'upload-knowledge' | 'delete';
|
|
18
19
|
export declare const ARTIFACT_FILE_ACTION_IDS: readonly ArtifactFileActionId[];
|
|
19
|
-
/**
|
|
20
|
+
/**
|
|
21
|
+
* 「上传到」的目标项;id 与菜单项 id 同名,便于二级路径归一化。
|
|
22
|
+
*
|
|
23
|
+
* 三个落点都带图标,且都取自侧栏同一套导航切图(我的文件 / 备课 / 知识库),
|
|
24
|
+
* 保证「上传到」子菜单里三行的图标语言与左侧导航一致:
|
|
25
|
+
* 我的资料用「我的文件」、备课中心用「备课」、知识库用「知识库」。
|
|
26
|
+
*/
|
|
20
27
|
export declare const UPLOAD_TARGETS: {
|
|
21
28
|
readonly myFiles: {
|
|
22
29
|
readonly id: "upload-my-files";
|
|
30
|
+
readonly target: "my-files";
|
|
23
31
|
readonly label: "我的资料";
|
|
32
|
+
readonly iconUrl: string;
|
|
24
33
|
};
|
|
25
34
|
readonly lesson: {
|
|
26
35
|
readonly id: "upload-lesson";
|
|
36
|
+
readonly target: "lesson";
|
|
27
37
|
readonly label: "备课中心";
|
|
38
|
+
readonly iconUrl: string;
|
|
28
39
|
};
|
|
29
40
|
readonly knowledge: {
|
|
30
41
|
readonly id: "upload-knowledge";
|
|
42
|
+
readonly target: "knowledge";
|
|
31
43
|
readonly label: "知识库";
|
|
44
|
+
readonly iconUrl: string;
|
|
32
45
|
};
|
|
33
46
|
};
|
|
34
47
|
/**
|
|
@@ -37,11 +50,11 @@ export declare const UPLOAD_TARGETS: {
|
|
|
37
50
|
* 换图只改这里;对话卡片另需 `.chat-chrome-icon` 做暗色反色。
|
|
38
51
|
*/
|
|
39
52
|
export declare const ARTIFACT_FILE_MORE_ICON: string;
|
|
40
|
-
/**
|
|
53
|
+
/** 面板宽 160;行高 36、圆角 12、项圆角 6、图标 20 见 chatFileMenu.css。 */
|
|
41
54
|
export declare const ARTIFACT_FILE_MENU_PANEL_CLASS = "chat-artifact-menu";
|
|
42
|
-
/** 子菜单 flyout
|
|
55
|
+
/** 子菜单 flyout 面板与根面板同一套规格。 */
|
|
43
56
|
export declare const ARTIFACT_FILE_SUBMENU_PANEL_CLASS = "chat-artifact-menu-sub";
|
|
44
|
-
export declare const ARTIFACT_FILE_MENU_WIDTH =
|
|
57
|
+
export declare const ARTIFACT_FILE_MENU_WIDTH = 160;
|
|
45
58
|
export declare const ARTIFACT_FILE_MENU_PLACEMENT: "bottom-end";
|
|
46
59
|
export declare const ARTIFACT_FILE_ACTIONS_UNAVAILABLE_NOTICE = "\u6682\u4E0D\u652F\u6301";
|
|
47
60
|
/** 与 AI 产物页 `onFileAction` 逐字一致的即时反馈文案。 */
|
|
@@ -66,16 +79,20 @@ export declare const artifactFileActionsKey: InjectionKey<Readonly<Ref<ArtifactF
|
|
|
66
79
|
* 场景差异(有哪些动作、能传到哪)留在各自的 scope 里,不做「万能菜单」。
|
|
67
80
|
*/
|
|
68
81
|
export type FileActionMenuScope = 'artifact' | 'my-files';
|
|
82
|
+
export interface FileActionMenuOptions {
|
|
83
|
+
includeDownload?: boolean;
|
|
84
|
+
/** 返回 false 的落点不进「上传到」子菜单;一个都不剩时整项不出现。 */
|
|
85
|
+
canUploadTo?: (target: FileTransferTarget) => boolean;
|
|
86
|
+
}
|
|
69
87
|
/**
|
|
70
88
|
* 统一的文件行菜单工厂。
|
|
71
89
|
*
|
|
72
90
|
* - `scope`:动作集合与上传目标的差异来源。
|
|
73
91
|
* - `includeDownload`:是否把「下载」置顶。产物侧恒有下载;我的资料的文件
|
|
74
92
|
* 在预览弹层里已能下载,设计稿的行菜单里也没有下载,故默认不带。
|
|
93
|
+
* - `canUploadTo`:按文件格式裁掉落点(见 `useTransferTargetFilter`)。
|
|
75
94
|
*/
|
|
76
|
-
export declare function createFileActionMenuItems(scope: FileActionMenuScope, policy?: Partial<ArtifactFileActionPolicy>, options?:
|
|
77
|
-
includeDownload?: boolean;
|
|
78
|
-
}): UiDropdownMenuItem[];
|
|
95
|
+
export declare function createFileActionMenuItems(scope: FileActionMenuScope, policy?: Partial<ArtifactFileActionPolicy>, options?: FileActionMenuOptions): UiDropdownMenuItem[];
|
|
79
96
|
/**
|
|
80
97
|
* 产物文件「更多操作」的统一菜单:下载、添加到任务、上传到。
|
|
81
98
|
*
|
|
@@ -86,11 +103,9 @@ export declare function createFileActionMenuItems(scope: FileActionMenuScope, po
|
|
|
86
103
|
* - 对话卡片:非 bento 才显示下载;
|
|
87
104
|
* - AI 产物列表行 / 预览:恒显示下载。
|
|
88
105
|
*/
|
|
89
|
-
export declare function createArtifactFileMenuItems(policy?: Partial<ArtifactFileActionPolicy>, options?:
|
|
90
|
-
includeDownload?: boolean;
|
|
91
|
-
}): UiDropdownMenuItem[];
|
|
106
|
+
export declare function createArtifactFileMenuItems(policy?: Partial<ArtifactFileActionPolicy>, options?: FileActionMenuOptions): UiDropdownMenuItem[];
|
|
92
107
|
/** 我的资料文件行的菜单:设计稿的六项(上传到子菜单为备课中心 / 知识库)。 */
|
|
93
|
-
export declare function createMyFilesFileMenuItems(policy?: Partial<ArtifactFileActionPolicy>): UiDropdownMenuItem[];
|
|
108
|
+
export declare function createMyFilesFileMenuItems(policy?: Partial<ArtifactFileActionPolicy>, options?: Pick<FileActionMenuOptions, 'canUploadTo'>): UiDropdownMenuItem[];
|
|
94
109
|
/**
|
|
95
110
|
* UiDropdown 对二级菜单项返回 `父id:子id` 路径(如 `upload:upload-knowledge`),
|
|
96
111
|
* 归一化为统一的操作 id;未知 id 返回 null,避免误触发操作。
|
|
@@ -1 +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;
|
|
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;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AA8B5D;;;;;;;;;;;;;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;AASD;;;;;;GAMG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;CAS0B,CAAA;AAErD;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,QAAW,CAAA;AAE/C,0DAA0D;AAC1D,eAAO,MAAM,8BAA8B,uBAAuB,CAAA;AAClE,8BAA8B;AAC9B,eAAO,MAAM,iCAAiC,2BAA2B,CAAA;AACzE,eAAO,MAAM,wBAAwB,MAAM,CAAA;AAC3C,eAAO,MAAM,4BAA4B,EAAG,YAAqB,CAAA;AAEjE,eAAO,MAAM,wCAAwC,6BAAS,CAAA;AAE9D,2CAA2C;AAC3C,eAAO,MAAM,4BAA4B,EAA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E,oBAAoB,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"}
|
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
import type { ChatCloudConfig } from '../../cloudConfig';
|
|
2
|
+
import type { ChatFilePickerTeachingOptions } from '../../chatFilePicker';
|
|
2
3
|
import type { ArtifactFile, ArtifactSession, MaterialNode } from './chatMyFilesModel';
|
|
3
4
|
import { type ArtifactFileActionId } from './chatArtifactFileActions';
|
|
4
5
|
/**
|
|
5
6
|
* 「上传到」的落点与提交逻辑(我的资料 / 知识库 / 备课中心)。
|
|
6
7
|
*
|
|
7
|
-
* 为什么单独一个文件:这三个目标的**提交接口**各有各的入参(saveFiles /
|
|
8
|
-
* copyToTeaching
|
|
9
|
-
*
|
|
10
|
-
*
|
|
8
|
+
* 为什么单独一个文件:这三个目标的**提交接口**各有各的入参(saveFiles /
|
|
9
|
+
* copyToKnowledge / copyToTeaching / 两个 importArtifact*),但四个入口(AI 产物行、
|
|
10
|
+
* 产物预览、对话产物卡片、我的资料行与目录树)需要的是同一套「把哪些文件传到哪」
|
|
11
|
+
* 的语义。没有这一层,四处会各写一遍字段拼装与提示文案,改一处漏三处——这正是
|
|
12
|
+
* 模块治理里被反复点出的问题。
|
|
13
|
+
*
|
|
14
|
+
* 产物与我的文件记录**分开走**(接口文档 2026-11-17 §4/§5):
|
|
15
|
+
* - 我的文件里的文件 → `copyToKnowledge` / `copyToTeaching`(批量 ≤20,认我的文件 id);
|
|
16
|
+
* - Agent 产物 → `importArtifactToKnowledge` / `importArtifactToTeaching`(单文件,
|
|
17
|
+
* 不经「先落我的资料再复制」的两步法 —— 那会在我的文件里留副本,与文档语义相反)。
|
|
11
18
|
*
|
|
12
19
|
* 依赖方向:本文件只依赖 `chatMyFilesApi` 与 `chatArtifactFileActions`,
|
|
13
20
|
* 不 import 任何 .vue,测试里可以直接跑。
|
|
@@ -39,9 +46,26 @@ export interface FileTransferItem {
|
|
|
39
46
|
mimeType?: string;
|
|
40
47
|
artifact?: {
|
|
41
48
|
artifactId: string;
|
|
49
|
+
/**
|
|
50
|
+
* 真实产物 id。对话里的产物卡片为了同消息内区分同名卡片,`artifactId` 是
|
|
51
|
+
* `scope:nodeId` 合成串(后端按 Mongo `_id` 查不到),但 mdoc 节点的
|
|
52
|
+
* `props.id` 仍保留真实 id —— 放在这里供「补查详情」和「后端幂等键」使用。
|
|
53
|
+
* 产物页 / 详情页来的条目没有合成串,不需要它。
|
|
54
|
+
*/
|
|
55
|
+
detailId?: string;
|
|
42
56
|
sessionId?: string;
|
|
43
57
|
messageId?: string;
|
|
44
58
|
taskName?: string;
|
|
59
|
+
/**
|
|
60
|
+
* 产物对象所在的源桶与桶内 key。
|
|
61
|
+
*
|
|
62
|
+
* 后端把产物转入「我的资料」走的是「服务器内部复制对象」,靠这两个字段定位
|
|
63
|
+
* 源对象;缺任一个后端会拒收(`Agent产物缺少sourceBucket或fileKey`)。
|
|
64
|
+
* 它们来自产物接口(list / artifactPage / detail)的返回,必须一路带到底。
|
|
65
|
+
*/
|
|
66
|
+
sourceBucket?: string;
|
|
67
|
+
fileKey?: string;
|
|
68
|
+
sha256?: string;
|
|
45
69
|
};
|
|
46
70
|
}
|
|
47
71
|
/** 我的资料的文件夹节点 → 可上传项;文件夹不进上传队列。 */
|
|
@@ -95,21 +119,28 @@ export declare function transferItemsToKnowledge(cloud: ChatCloudConfig, items:
|
|
|
95
119
|
*
|
|
96
120
|
* `catalogRootId` 是教材、`catalogNodeId` 是章节,两个都由选择器的「页签 + 树节点」
|
|
97
121
|
* 给出(页签 = 教材,树 = 该教材的章节树)。备课上传**不触发解析**,入库即可用。
|
|
122
|
+
*
|
|
123
|
+
* `teaching` 是宿主放在落点来源上的环境级备课属性(学年学期 / 资源范围),
|
|
124
|
+
* 产物这条单文件通道还会按扩展名补 `resourceType`(pptx → 课件、表格 → 练习、
|
|
125
|
+
* 视频 → 视频),认不出的留给后端默认教案 —— 此前「传个 ppt 也被记成教案」。
|
|
126
|
+
* 我的文件批量通道不逐条推断:`resourceType` 是请求级字段,一批文件类型混杂时
|
|
127
|
+
* 单方面替用户定类型反而制造错误归类。
|
|
98
128
|
*/
|
|
99
|
-
export declare function transferItemsToTeaching(cloud: ChatCloudConfig, items: FileTransferItem[], input: {
|
|
100
|
-
catalogRootId: string;
|
|
101
|
-
catalogNodeId: string;
|
|
102
|
-
}): Promise<{
|
|
129
|
+
export declare function transferItemsToTeaching(cloud: ChatCloudConfig, items: FileTransferItem[], input: TeachingTransferInput): Promise<{
|
|
103
130
|
outcomes: FileTransferItemOutcome[];
|
|
104
131
|
ids: string[];
|
|
105
132
|
}>;
|
|
133
|
+
/** 备课落点的提交参数:教材 + 章节两个 id,外加可选的环境级备课属性。 */
|
|
134
|
+
export interface TeachingTransferInput {
|
|
135
|
+
catalogRootId: string;
|
|
136
|
+
catalogNodeId: string;
|
|
137
|
+
/** 来自落点来源(`ChatFilePickerSource.teaching`);不传走后端默认。 */
|
|
138
|
+
teaching?: ChatFilePickerTeachingOptions;
|
|
139
|
+
}
|
|
106
140
|
/** 产物 → 我的资料(单步入口,有失败即抛错;对话产物卡片用)。 */
|
|
107
141
|
export declare function transferFilesToMyFiles(cloud: ChatCloudConfig, items: FileTransferItem[], directoryId?: string): Promise<FileTransferOutcome>;
|
|
108
142
|
export declare function transferFilesToKnowledge(cloud: ChatCloudConfig, items: FileTransferItem[], targetKnowledgeId: string, targetDirectoryId?: string): Promise<FileTransferOutcome>;
|
|
109
|
-
export declare function transferFilesToTeaching(cloud: ChatCloudConfig, items: FileTransferItem[], input:
|
|
110
|
-
catalogRootId: string;
|
|
111
|
-
catalogNodeId: string;
|
|
112
|
-
}): Promise<FileTransferOutcome>;
|
|
143
|
+
export declare function transferFilesToTeaching(cloud: ChatCloudConfig, items: FileTransferItem[], input: TeachingTransferInput): Promise<FileTransferOutcome>;
|
|
113
144
|
/** 选择器确认后回抛的落点。 */
|
|
114
145
|
export interface FileTransferChoice {
|
|
115
146
|
/** 我的资料目录 id / 知识库 id / 章节节点 id。 */
|
|
@@ -117,6 +148,18 @@ export interface FileTransferChoice {
|
|
|
117
148
|
name: string;
|
|
118
149
|
/** 备课中心:教材根节点 id(选择器当前页签的 key)。 */
|
|
119
150
|
catalogRootId?: string;
|
|
151
|
+
/**
|
|
152
|
+
* 知识库:库内目标目录 id。缺省 = 落在库根。
|
|
153
|
+
*
|
|
154
|
+
* 与 `id`(知识库 id)是两个字段:`copyToKnowledge` 要的是
|
|
155
|
+
* `targetKnowledgeId` + `targetDirectoryId`,只给前者会一律落根目录。
|
|
156
|
+
*/
|
|
157
|
+
targetDirectoryId?: string;
|
|
158
|
+
/**
|
|
159
|
+
* 备课中心:随落点一起提交的备课属性(来自落点来源 `ChatFilePickerSource.teaching`,
|
|
160
|
+
* 由 `useFileTransfer` 在确认时带回)。不传走后端默认值。
|
|
161
|
+
*/
|
|
162
|
+
teaching?: ChatFilePickerTeachingOptions;
|
|
120
163
|
}
|
|
121
164
|
/**
|
|
122
165
|
* 统一入口:按落点分派,**逐文件**返回结果。
|
|
@@ -1 +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;
|
|
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;AAGxD,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,sBAAsB,CAAA;AAiBzE,OAAO,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACrF,OAAO,EAAkB,KAAK,oBAAoB,EAAE,MAAM,2BAA2B,CAAA;AAErF;;;;;;;;;;;;;;;;GAgBG;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,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CAS1E;AAED;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,EAAE,OAAO,CAAC,MAAM,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAM,CAAA;AAExF;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE;QACT,UAAU,EAAE,MAAM,CAAA;QAClB;;;;;WAKG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAA;QACjB,SAAS,CAAC,EAAE,MAAM,CAAA;Q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