@deep-eye/core 1.2.91 → 1.2.93
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 +38 -0
- package/dist/components/chat/ChatBot.vue.d.ts +2 -0
- package/dist/components/chat/ChatBot.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ArtifactPreview.vue.d.ts +3 -0
- package/dist/components/chat/components/ArtifactPreview.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatFilePreview.vue.d.ts +3 -1
- package/dist/components/chat/components/ChatFilePreview.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatFilePreviewPanel.vue.d.ts +3 -1
- package/dist/components/chat/components/ChatFilePreviewPanel.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSender.vue.d.ts +3 -1
- package/dist/components/chat/components/ChatSender.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ProcessStepGroup.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ToolCallPart.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/ContentArea.vue.d.ts +19 -1
- package/dist/components/chat/components/document-viewer/ContentArea.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/DocViewerToolbar.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/DocumentViewer.vue.d.ts +3 -1
- package/dist/components/chat/components/document-viewer/DocumentViewer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/ScreenshotCropOverlay.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/adapter.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue.d.ts +4 -1
- package/dist/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/office/OfficeDocumentViewer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/pdf/PdfAttachmentList.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/pdf/PdfOutlineList.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/pdf/PdfPageList.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/pdf/PdfRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/screenshotCapture.d.ts +10 -2
- package/dist/components/chat/components/document-viewer/screenshotCapture.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/text/TextRenderer.vue.d.ts +4 -1
- package/dist/components/chat/components/document-viewer/text/TextRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/xlsx/XlsxTable.vue.d.ts.map +1 -1
- package/dist/components/chat/harness/DisclosureRow.vue.d.ts +1 -0
- package/dist/components/chat/harness/DisclosureRow.vue.d.ts.map +1 -1
- package/dist/components/chat/harness/RunningDots.vue.d.ts +5 -0
- package/dist/components/chat/harness/RunningDots.vue.d.ts.map +1 -0
- package/dist/components/chat/index.d.ts +1 -1
- 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/mdoc/ContentNodes.vue.d.ts +1 -0
- package/dist/components/chat/mdoc/ContentNodes.vue.d.ts.map +1 -1
- package/dist/components/chat/mdoc/MediaImageStack.vue.d.ts +2 -0
- package/dist/components/chat/mdoc/MediaImageStack.vue.d.ts.map +1 -1
- package/dist/components/chat/mdoc/MediaPendingSkeleton.vue.d.ts +2 -0
- package/dist/components/chat/mdoc/MediaPendingSkeleton.vue.d.ts.map +1 -1
- package/dist/components/chat/mdoc/artifactBlockVisuals.d.ts +14 -0
- package/dist/components/chat/mdoc/artifactBlockVisuals.d.ts.map +1 -0
- package/dist/components/chat/mdoc/artifactOpenStrategy.d.ts.map +1 -1
- package/dist/components/chat/mdoc/builtInRegistry.d.ts.map +1 -1
- package/dist/components/chat/mdoc/index.d.ts +1 -1
- package/dist/components/chat/mdoc/index.d.ts.map +1 -1
- package/dist/components/chat/mdoc/referenceMarkup.d.ts +26 -0
- package/dist/components/chat/mdoc/referenceMarkup.d.ts.map +1 -1
- package/dist/components/chat/mdoc/textContent.d.ts +2 -0
- package/dist/components/chat/mdoc/textContent.d.ts.map +1 -1
- package/dist/components/chat/processGroupSummary.d.ts +2 -4
- package/dist/components/chat/processGroupSummary.d.ts.map +1 -1
- package/dist/components/chat/types.d.ts +3 -1
- package/dist/components/chat/types.d.ts.map +1 -1
- package/dist/{index-DSMoLJva.cjs → index-Cjp7WnJC.cjs} +234 -235
- package/dist/{index-DeuzDK81.js → index-DTeKlwX4.js} +26654 -26458
- package/dist/{index-D6O6kJLS.js → index-NfihRnSK.js} +1 -1
- package/dist/{index-CYsRLgmz.cjs → index-_PPTubKn.cjs} +1 -1
- package/dist/{index-SLHt828h.cjs → index-koytFrET.cjs} +1 -1
- package/dist/{index-DagQuvJt.js → index-unpEfkU-.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +149 -145
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,44 @@
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [1.2.93] - 2026-08-24
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- `{% artifact %}` 新增 `createdAt` / `created` / `iconSrc` / `previewSrc` 属性;元信息行支持 `创建时间:15:34`。
|
|
12
|
+
- `MediaImageStack`:流式生成下一张图片时,封面/网格显示 `pendingImage` 骨架(嵌入 `MediaPendingSkeleton`)。
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- `ProcessStepGroup`:Claude 式默认收起——流式不再自动展开;进行中标题为 provider / 工具动词 /「思考中」,不再把 reasoning 正文写进标题;组级标题行恢复 running 扫光(收起态可见)。
|
|
17
|
+
- `{% action-bar %}`:白底卡片(`#FFFFFF` / `8px` 圆角 / `#EEEEEE` 边框);悬停改为浅灰阴影,不再改背景色。
|
|
18
|
+
- `{% artifact %}` 卡片:固定高度 `100px`,白底 / `14px` 圆角 / `#EEEEEE` 边框;左侧图标 + 标题/元信息、右侧 `103×91` 预览图;悬停浅灰阴影;移除卡片内「下载」按钮(侧栏内仍可下载)。
|
|
19
|
+
|
|
20
|
+
### Fixed
|
|
21
|
+
|
|
22
|
+
- `ChatBot` 侧栏工件预览、`ArtifactPreview`、`DocumentViewer` `ContentArea`:`flex` / `min-height` 修正,避免侧栏内容高度塌陷。
|
|
23
|
+
|
|
24
|
+
## [1.2.92] - 2026-08-21
|
|
25
|
+
|
|
26
|
+
### Added
|
|
27
|
+
|
|
28
|
+
- 引用徽标点击:消息 / 工件预览 / `src` 拉取的 Markdown·纯文本查看器统一发出 `action`(`type: 'reference-click', refIndex`);导出 `createReferenceClickHandler`、`extractReferenceIndex`、`renderPlainTextWithReferences`、`escapeHtml`;样式抽到 `mdoc/referenceTag.css`。
|
|
29
|
+
- `ChatBot` 事件 `file-preview`:附件在侧栏打开时抛出(与 `artifact-open` 对称)。
|
|
30
|
+
- `ChatSender` 事件 `preview`:已上传的非图片附件点击时抛出;图片附件走内置 `ChatImageLightbox`。
|
|
31
|
+
- 侧栏打开策略:`type="text"` / `.txt` / `.text` 的 `src` 工件也可进侧栏预览。
|
|
32
|
+
- Playground:**引用标记** Demo(真实教案 + 内联 / `.txt` / `.md` 三种打开路径)。
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- `ChatBot` 侧栏默认宽度 `sidebarWidth`:`'70%'` → `'55%'`。
|
|
37
|
+
- `v-model:messages` 清空线程时自动关闭文件/工件预览侧栏。
|
|
38
|
+
- 文档截图:`captureImageInRect` 按选区裁剪渲染(不再整页 rasterize 再裁),长文档「截图提问」更轻。
|
|
39
|
+
- `ChatSender`:Shift+Enter 换行在空草稿 / 行尾也能立刻显示新行(补 trailing `<br>`,并跳过空编辑器清理)。
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
|
|
43
|
+
- 纯文本工件 Preview 与 `TextRenderer`:`[REF:x-y]` / `$$x-y$$` 渲染为引用徽标(先 escape 再转标记),与 Markdown / 消息气泡一致。
|
|
44
|
+
|
|
7
45
|
## [1.2.91] - 2026-08-21
|
|
8
46
|
|
|
9
47
|
### Added
|
|
@@ -116,6 +116,7 @@ declare const __VLS_base: import("vue").DefineComponent<ChatBotProps, ChatBotExp
|
|
|
116
116
|
"update:messages": (messages: ConversationMessage[]) => any;
|
|
117
117
|
"update:queue": (queue: readonly ChatQueueItem[]) => any;
|
|
118
118
|
"artifact-open": (payload: ConversationUiAction) => any;
|
|
119
|
+
"file-preview": (resource: ChatResourceFile) => any;
|
|
119
120
|
"status-change": (status: ConversationStreamStatus) => any;
|
|
120
121
|
"response-event": (event: ResponseStreamEvent, frame: ResponseSseFrame) => any;
|
|
121
122
|
"response-error": (error: Error, info: ClassifiedChatError) => any;
|
|
@@ -171,6 +172,7 @@ declare const __VLS_base: import("vue").DefineComponent<ChatBotProps, ChatBotExp
|
|
|
171
172
|
"onUpdate:messages"?: ((messages: ConversationMessage[]) => any) | undefined;
|
|
172
173
|
"onUpdate:queue"?: ((queue: readonly ChatQueueItem[]) => any) | undefined;
|
|
173
174
|
"onArtifact-open"?: ((payload: ConversationUiAction) => any) | undefined;
|
|
175
|
+
"onFile-preview"?: ((resource: ChatResourceFile) => any) | undefined;
|
|
174
176
|
"onStatus-change"?: ((status: ConversationStreamStatus) => any) | undefined;
|
|
175
177
|
"onResponse-event"?: ((event: ResponseStreamEvent, frame: ResponseSseFrame) => any) | undefined;
|
|
176
178
|
"onResponse-error"?: ((error: Error, info: ClassifiedChatError) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatBot.vue.d.ts","sourceRoot":"","sources":["../../../src/components/chat/ChatBot.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatBot.vue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Ac,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,QAAQ,EAAE,gBAAgB,CAAA;KAAE,KAAK,OAAO,CAAA;IACnE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,2BAA2B,KAAK,OAAO,CAAA;IAChE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,OAAO,CAAA;IACrD,sBAAsB,CAAC,EAAE,MAAM,OAAO,CAAA;CACvC,CAAC;AAy5CF,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;mBA92CyB,MAAM;;;mBACL,MAAM;eAAS,MAAM;;;mBACrB,MAAM;;;mBACL,MAAM;YAAM,MAAM;eAAS,MAAM;;;mBACjC,MAAM;YAAM,MAAM;eAAS,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAJnC,MAAM;;;mBACL,MAAM;eAAS,MAAM;;;mBACrB,MAAM;;;mBACL,MAAM;YAAM,MAAM;eAAS,MAAM;;;mBACjC,MAAM;YAAM,MAAM;eAAS,MAAM;;;;;;;;;;;;;;;;;;;;6EA+2C1E,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,4 +1,5 @@
|
|
|
1
1
|
import type { ConversationUiAction } from '../types';
|
|
2
|
+
import '../mdoc/referenceTag.css';
|
|
2
3
|
import type { DocumentScreenshotResult } from './document-viewer/adapter';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
artifact: ConversationUiAction;
|
|
@@ -6,10 +7,12 @@ type __VLS_Props = {
|
|
|
6
7
|
};
|
|
7
8
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
9
|
close: () => any;
|
|
10
|
+
action: (payload: ConversationUiAction) => any;
|
|
9
11
|
"screenshot-result": (result: DocumentScreenshotResult) => any;
|
|
10
12
|
"toggle-expanded": () => any;
|
|
11
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
14
|
onClose?: (() => any) | undefined;
|
|
15
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
13
16
|
"onScreenshot-result"?: ((result: DocumentScreenshotResult) => any) | undefined;
|
|
14
17
|
"onToggle-expanded"?: (() => any) | undefined;
|
|
15
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArtifactPreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ArtifactPreview.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ArtifactPreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ArtifactPreview.vue"],"names":[],"mappings":"AA0aA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAKpD,OAAO,0BAA0B,CAAA;AAEjC,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AAKzE,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAotBF,QAAA,MAAM,YAAY;;;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Component, type PropType } from 'vue';
|
|
2
|
-
import type { ChatPreviewKind, ChatResourceFile } from '../types';
|
|
2
|
+
import type { ChatPreviewKind, ChatResourceFile, ConversationUiAction } from '../types';
|
|
3
3
|
import type { DocumentScreenshotResult } from './document-viewer/adapter';
|
|
4
4
|
declare var __VLS_1: {
|
|
5
5
|
resource: ChatResourceFile;
|
|
@@ -25,6 +25,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
25
25
|
};
|
|
26
26
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
27
|
close: () => any;
|
|
28
|
+
action: (payload: ConversationUiAction) => any;
|
|
28
29
|
"screenshot-result": (result: DocumentScreenshotResult) => any;
|
|
29
30
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
31
|
resource: {
|
|
@@ -37,6 +38,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
37
38
|
};
|
|
38
39
|
}>> & Readonly<{
|
|
39
40
|
onClose?: (() => any) | undefined;
|
|
41
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
40
42
|
"onScreenshot-result"?: ((result: DocumentScreenshotResult) => any) | undefined;
|
|
41
43
|
}>, {
|
|
42
44
|
renderer: Component;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatFilePreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatFilePreview.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatFilePreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatFilePreview.vue"],"names":[],"mappings":"AA6IA,OAAO,EAAgC,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGjF,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AACvF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AA2IzE,QAAA,IAAI,OAAO;;;;;;;;;CAAW,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;;cAGc,QAAQ,CAAC,gBAAgB,CAAC;;;;cAC1B,QAAQ,CAAC,SAAS,CAAC;;;;;;;;;cADnB,QAAQ,CAAC,gBAAgB,CAAC;;;;cAC1B,QAAQ,CAAC,SAAS,CAAC;;;;;;;;;4EAE/C,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,4 +1,4 @@
|
|
|
1
|
-
import type { ChatResourceFile } from '../types';
|
|
1
|
+
import type { ChatResourceFile, ConversationUiAction } from '../types';
|
|
2
2
|
import type { DocumentScreenshotResult } from './document-viewer/adapter';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
resource: ChatResourceFile;
|
|
@@ -11,9 +11,11 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
13
|
close: () => any;
|
|
14
|
+
action: (payload: ConversationUiAction) => any;
|
|
14
15
|
"screenshot-result": (result: DocumentScreenshotResult) => any;
|
|
15
16
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
16
17
|
onClose?: (() => any) | undefined;
|
|
18
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
17
19
|
"onScreenshot-result"?: ((result: DocumentScreenshotResult) => any) | undefined;
|
|
18
20
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatFilePreviewPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatFilePreviewPanel.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatFilePreviewPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatFilePreviewPanel.vue"],"names":[],"mappings":"AA0JA,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AACtE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AAGzE,KAAK,WAAW,GAAG;IAAE,QAAQ,EAAE,gBAAgB,CAAA;CAAE,CAAC;AA2LlD,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;;;;;;;;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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ChatAttachmentError, ChatAttachmentLimits, ChatComposerAttachment, ChatSendPayload, ChatSenderMentionSlotProps, ChatSenderModelOption, ChatSenderProps, ChatSenderQuickAction, ChatSenderTrigger, ChatUploadConfig } from '../types';
|
|
1
|
+
import type { ChatAttachmentError, ChatAttachmentLimits, ChatComposerAttachment, ChatResourceFile, ChatSendPayload, ChatSenderMentionSlotProps, ChatSenderModelOption, ChatSenderProps, ChatSenderQuickAction, ChatSenderTrigger, ChatUploadConfig } from '../types';
|
|
2
2
|
type __VLS_Slots = {
|
|
3
3
|
'trigger-menu'?: (props: {
|
|
4
4
|
triggerId: string;
|
|
@@ -27,6 +27,7 @@ declare const __VLS_base: import("vue").DefineComponent<ChatSenderProps, {
|
|
|
27
27
|
insertText: typeof insertText;
|
|
28
28
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
29
|
stop: () => any;
|
|
30
|
+
preview: (resource: ChatResourceFile) => any;
|
|
30
31
|
send: (payload: ChatSendPayload) => any;
|
|
31
32
|
"update:draft": (value: string) => any;
|
|
32
33
|
"update:attachments": (attachments: readonly ChatComposerAttachment[]) => any;
|
|
@@ -71,6 +72,7 @@ declare const __VLS_base: import("vue").DefineComponent<ChatSenderProps, {
|
|
|
71
72
|
"load-models": () => any;
|
|
72
73
|
}, string, import("vue").PublicProps, Readonly<ChatSenderProps> & Readonly<{
|
|
73
74
|
onStop?: (() => any) | undefined;
|
|
75
|
+
onPreview?: ((resource: ChatResourceFile) => any) | undefined;
|
|
74
76
|
onSend?: ((payload: ChatSendPayload) => any) | undefined;
|
|
75
77
|
"onUpdate:draft"?: ((value: string) => any) | undefined;
|
|
76
78
|
"onUpdate:attachments"?: ((attachments: readonly ChatComposerAttachment[]) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatSender.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSender.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatSender.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatSender.vue"],"names":[],"mappings":"AA8gIA,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,eAAe,EACf,0BAA0B,EAC1B,qBAAqB,EACrB,eAAe,EACf,qBAA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,wBAAyC;AAWzC,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":"ProcessStepGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ProcessStepGroup.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ProcessStepGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ProcessStepGroup.vue"],"names":[],"mappings":"AAsVA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAE9D,OAAO,KAAK,EACV,qBAAqB,EACrB,cAAc,EACd,oBAAoB,EACpB,WAAW,EACZ,MAAM,UAAU,CAAA;AACjB,OAAO,6BAA6B,CAAA;AAIpC,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,SAAS,gBAAgB,EAAE,CAAA;IAClC,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,YAAY,CAAC,EAAE,SAAS,WAAW,EAAE,CAAA;IACrC,UAAU,CAAC,EAAE,cAAc,CAAA;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,qEAAqE;IACrE,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;AAGF,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,CAAC,SAAS,EAAE;QACjB,QAAQ,EAAE,oBAAoB,CAAA;QAC9B,WAAW,CAAC,EAAE,WAAW,CAAA;QACzB,SAAS,EAAE,OAAO,CAAA;KACnB,KAAK,OAAO,CAAA;CACd,CAAC;AA8TF,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ToolCallPart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ToolCallPart.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ToolCallPart.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ToolCallPart.vue"],"names":[],"mappings":"AAsiCA,OAAO,EAAyC,KAAK,SAAS,EAAE,MAAM,KAAK,CAAA;AAiB3E,OAAO,KAAK,EACV,qBAAqB,EACrB,aAAa,EACb,oBAAoB,EAEpB,WAAW,EACZ,MAAM,UAAU,CAAA;AACjB,OAAO,yBAAyB,CAAA;AAmBhC,OAAO,6BAA6B,CAAA;AAMpC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,oBAAoB,CAAA;IAC9B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,SAAS,CAAC,EAAE,aAAa,CAAA;IACzB,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAC;AA23BF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ChatPreviewKind, ChatResourceFile } from '../../types';
|
|
1
|
+
import type { ChatPreviewKind, ChatResourceFile, ConversationUiAction } from '../../types';
|
|
2
2
|
import type { DocumentLoadResult } from './adapter';
|
|
3
3
|
/**
|
|
4
4
|
* Mounts the render adapter for `kind`. `docx`/`pptx` aren't wired to a real
|
|
@@ -68,11 +68,13 @@ declare const rendererMap: {
|
|
|
68
68
|
download: () => void;
|
|
69
69
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
70
70
|
error: (error: Error) => any;
|
|
71
|
+
action: (payload: ConversationUiAction) => any;
|
|
71
72
|
loaded: (result: DocumentLoadResult) => any;
|
|
72
73
|
}, string, import("vue").PublicProps, Readonly<{
|
|
73
74
|
resource: ChatResourceFile;
|
|
74
75
|
}> & Readonly<{
|
|
75
76
|
onError?: ((error: Error) => any) | undefined;
|
|
77
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
76
78
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
77
79
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
78
80
|
readonly text: import("vue").DefineComponent<{
|
|
@@ -83,11 +85,13 @@ declare const rendererMap: {
|
|
|
83
85
|
download: () => void;
|
|
84
86
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
85
87
|
error: (error: Error) => any;
|
|
88
|
+
action: (payload: ConversationUiAction) => any;
|
|
86
89
|
loaded: (result: DocumentLoadResult) => any;
|
|
87
90
|
}, string, import("vue").PublicProps, Readonly<{
|
|
88
91
|
resource: ChatResourceFile;
|
|
89
92
|
}> & Readonly<{
|
|
90
93
|
onError?: ((error: Error) => any) | undefined;
|
|
94
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
91
95
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
92
96
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
93
97
|
readonly excel: import("vue").DefineComponent<{
|
|
@@ -217,6 +221,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
217
221
|
resource: ChatResourceFile;
|
|
218
222
|
}> & Readonly<{
|
|
219
223
|
onError?: ((error: Error) => any) | undefined;
|
|
224
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
220
225
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
221
226
|
}>, {
|
|
222
227
|
load: () => Promise<DocumentLoadResult>;
|
|
@@ -225,6 +230,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
225
230
|
download: () => void;
|
|
226
231
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
227
232
|
error: (error: Error) => any;
|
|
233
|
+
action: (payload: ConversationUiAction) => any;
|
|
228
234
|
loaded: (result: DocumentLoadResult) => any;
|
|
229
235
|
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
230
236
|
P: {};
|
|
@@ -237,6 +243,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
237
243
|
resource: ChatResourceFile;
|
|
238
244
|
}> & Readonly<{
|
|
239
245
|
onError?: ((error: Error) => any) | undefined;
|
|
246
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
240
247
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
241
248
|
}>, {
|
|
242
249
|
load: () => Promise<DocumentLoadResult>;
|
|
@@ -247,6 +254,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
247
254
|
resource: ChatResourceFile;
|
|
248
255
|
}> & Readonly<{
|
|
249
256
|
onError?: ((error: Error) => any) | undefined;
|
|
257
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
250
258
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
251
259
|
}>, {
|
|
252
260
|
load: () => Promise<DocumentLoadResult>;
|
|
@@ -254,6 +262,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
254
262
|
download: () => void;
|
|
255
263
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
256
264
|
error: (error: Error) => any;
|
|
265
|
+
action: (payload: ConversationUiAction) => any;
|
|
257
266
|
loaded: (result: DocumentLoadResult) => any;
|
|
258
267
|
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
259
268
|
P: {};
|
|
@@ -266,6 +275,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
266
275
|
resource: ChatResourceFile;
|
|
267
276
|
}> & Readonly<{
|
|
268
277
|
onError?: ((error: Error) => any) | undefined;
|
|
278
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
269
279
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
270
280
|
}>, {
|
|
271
281
|
load: () => Promise<DocumentLoadResult>;
|
|
@@ -406,6 +416,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
406
416
|
resource: ChatResourceFile;
|
|
407
417
|
}> & Readonly<{
|
|
408
418
|
onError?: ((error: Error) => any) | undefined;
|
|
419
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
409
420
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
410
421
|
}>, {
|
|
411
422
|
load: () => Promise<DocumentLoadResult>;
|
|
@@ -414,6 +425,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
414
425
|
download: () => void;
|
|
415
426
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
416
427
|
error: (error: Error) => any;
|
|
428
|
+
action: (payload: ConversationUiAction) => any;
|
|
417
429
|
loaded: (result: DocumentLoadResult) => any;
|
|
418
430
|
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
419
431
|
P: {};
|
|
@@ -426,6 +438,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
426
438
|
resource: ChatResourceFile;
|
|
427
439
|
}> & Readonly<{
|
|
428
440
|
onError?: ((error: Error) => any) | undefined;
|
|
441
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
429
442
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
430
443
|
}>, {
|
|
431
444
|
load: () => Promise<DocumentLoadResult>;
|
|
@@ -436,6 +449,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
436
449
|
resource: ChatResourceFile;
|
|
437
450
|
}> & Readonly<{
|
|
438
451
|
onError?: ((error: Error) => any) | undefined;
|
|
452
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
439
453
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
440
454
|
}>, {
|
|
441
455
|
load: () => Promise<DocumentLoadResult>;
|
|
@@ -443,6 +457,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
443
457
|
download: () => void;
|
|
444
458
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
445
459
|
error: (error: Error) => any;
|
|
460
|
+
action: (payload: ConversationUiAction) => any;
|
|
446
461
|
loaded: (result: DocumentLoadResult) => any;
|
|
447
462
|
}, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
448
463
|
P: {};
|
|
@@ -455,6 +470,7 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
455
470
|
resource: ChatResourceFile;
|
|
456
471
|
}> & Readonly<{
|
|
457
472
|
onError?: ((error: Error) => any) | undefined;
|
|
473
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
458
474
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
459
475
|
}>, {
|
|
460
476
|
load: () => Promise<DocumentLoadResult>;
|
|
@@ -493,10 +509,12 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
493
509
|
}, {}, {}, {}, {}> | undefined>;
|
|
494
510
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
495
511
|
error: (error: Error) => any;
|
|
512
|
+
action: (payload: ConversationUiAction) => any;
|
|
496
513
|
"update:current-page": (page: number) => any;
|
|
497
514
|
loaded: (result: DocumentLoadResult) => any;
|
|
498
515
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
499
516
|
onError?: ((error: Error) => any) | undefined;
|
|
517
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
500
518
|
"onUpdate:current-page"?: ((page: number) => any) | undefined;
|
|
501
519
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
502
520
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentArea.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/ContentArea.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContentArea.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/ContentArea.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAC1F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAA;AASnD;;;;GAIG;AACH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMP,CAAA;AAEV,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,IAAI,EAAE,OAAO,CAAC,eAAe,EAAE,MAAM,OAAO,WAAW,CAAC,CAAA;CACzD,CAAC;AAiHF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocViewerToolbar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/DocViewerToolbar.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DocViewerToolbar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/DocViewerToolbar.vue"],"names":[],"mappings":"AA+SA,KAAK,WAAW,GAAG;IACf,0GAA0G;IAC1G,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,gFAAgF;IAChF,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,CAAC;AA2YJ,QAAA,IAAI,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAClE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA5ZE,MAAM;cACT,MAAM,GAAG,IAAI;iBAFV,OAAO;iBAGP,OAAO;aACX,OAAO;eACL,OAAO;iBACL,MAAM,GAAG,IAAI;uBAEP,OAAO;6EAyZ7B,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,4 +1,4 @@
|
|
|
1
|
-
import type { ChatPreviewKind, ChatResourceFile } from '../../types';
|
|
1
|
+
import type { ChatPreviewKind, ChatResourceFile, ConversationUiAction } from '../../types';
|
|
2
2
|
import type { DocumentScreenshotResult } from './adapter';
|
|
3
3
|
type __VLS_Props = {
|
|
4
4
|
resource: ChatResourceFile;
|
|
@@ -6,9 +6,11 @@ type __VLS_Props = {
|
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
close: () => any;
|
|
9
|
+
action: (payload: ConversationUiAction) => any;
|
|
9
10
|
"screenshot-result": (result: DocumentScreenshotResult) => any;
|
|
10
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
12
|
onClose?: (() => any) | undefined;
|
|
13
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
12
14
|
"onScreenshot-result"?: ((result: DocumentScreenshotResult) => any) | undefined;
|
|
13
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentViewer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/DocumentViewer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DocumentViewer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/DocumentViewer.vue"],"names":[],"mappings":"AA+VA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAA;AAY1F,OAAO,KAAK,EAGV,wBAAwB,EAGzB,MAAM,WAAW,CAAA;AAIlB,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,IAAI,EAAE,OAAO,CAAC,eAAe,EAAE,KAAK,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC,CAAA;CACjG,CAAC;AAumBF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenshotCropOverlay.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/ScreenshotCropOverlay.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScreenshotCropOverlay.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/ScreenshotCropOverlay.vue"],"names":[],"mappings":"AAsTA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAuSvD,QAAA,MAAM,YAAY;;;;;;;;iFAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,mIAAmI;AACnI,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,MAAM,CAAA;AAErD,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,6FAA6F;IAC7F,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAA;CACzB;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,kBAAkB,CAAA;CACzB;AAED;;;;;;GAMG;AACH,MAAM,MAAM,wBAAwB,
|
|
1
|
+
{"version":3,"file":"adapter.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/adapter.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,mIAAmI;AACnI,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG,MAAM,CAAA;AAErD,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CA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Ae;IACzD,cAAc,CAAC,IAAI,OAAO,CAAC;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC,CAAA;IAC9D,kBAAkB,CAAC,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAA;IACrC,WAAW,CAAC,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;CACpC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import type { ChatResourceFile } from '../../../types';
|
|
1
|
+
import type { ChatResourceFile, ConversationUiAction } from '../../../types';
|
|
2
2
|
import type { DocumentLoadResult, OutlineNode } from '../adapter';
|
|
3
|
+
import '../../../mdoc/referenceTag.css';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
resource: ChatResourceFile;
|
|
5
6
|
};
|
|
@@ -14,9 +15,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
14
15
|
download: typeof download;
|
|
15
16
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
17
|
error: (error: Error) => any;
|
|
18
|
+
action: (payload: ConversationUiAction) => any;
|
|
17
19
|
loaded: (result: DocumentLoadResult) => any;
|
|
18
20
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
20
23
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
21
24
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
25
|
declare const _default: typeof __VLS_export;
|
package/dist/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MarkdownRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue"],"names":[],"mappings":"AA2NA,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAC5E,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAGjE,OAAO,gCAAgC,CAAA;AAKvC,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAA;CAC3B,CAAC;AAgFF,iBAAe,IAAI,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAqBjD;AAED,iBAAe,UAAU,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAElD;AAED,iBAAS,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAEzC;AAED,iBAAS,QAAQ,IAAI,IAAI,CAOxB;AAmFD,QAAA,MAAM,YAAY;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
package/dist/components/chat/components/document-viewer/office/OfficeDocumentViewer.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfficeDocumentViewer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/office/OfficeDocumentViewer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"OfficeDocumentViewer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/office/OfficeDocumentViewer.vue"],"names":[],"mappings":"AA8VA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAQtD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAA;AAK1D,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAA;IAC1B,IAAI,EAAE,MAAM,GAAG,MAAM,CAAA;CACtB,CAAC;AA6cF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfAttachmentList.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/pdf/PdfAttachmentList.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PdfAttachmentList.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/pdf/PdfAttachmentList.vue"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAWlD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,gBAAgB,CAAA;CACzB,CAAC;AAkEF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfOutlineList.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/pdf/PdfOutlineList.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PdfOutlineList.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/pdf/PdfOutlineList.vue"],"names":[],"mappings":"AAsDA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAWlD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,gBAAgB,CAAA;IACxB,WAAW,EAAE,MAAM,CAAA;CACpB,CAAC;AA4EF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfPageList.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/pdf/PdfPageList.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PdfPageList.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/pdf/PdfPageList.vue"],"names":[],"mappings":"AAmHA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAMlD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,gBAAgB,CAAA;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAC;AA2DF,iBAAe,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAIvD;AAyED,QAAA,MAAM,YAAY;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/pdf/PdfRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PdfRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/pdf/PdfRenderer.vue"],"names":[],"mappings":"AAqOA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAapD,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAA;CAC3B,CAAC;AAwCF,yEAAyE;AACzE,iBAAe,IAAI,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAgBjD;AAED,iBAAS,YAAY,IAAI,MAAM,CAE9B;AAED,iBAAS,cAAc,IAAI,MAAM,CAEhC;AAED,iBAAe,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAGvD;AAED,iBAAe,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAkB/D;AAED,iBAAe,UAAU,gDAGxB;AAED,iBAAe,cAAc;;;KAI5B;AAED,iBAAS,kBAAkB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAG5C;AAED,iBAAS,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAEnC;AAED,iBAAS,MAAM,IAAI,IAAI,CAEtB;AAED,iBAAS,OAAO,IAAI,IAAI,CAEvB;AAED,iBAAS,WAAW,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE1C;AAED,iBAAS,QAAQ,IAAI,IAAI,CAExB;AAED,iBAAS,SAAS,IAAI,IAAI,CAEzB;AAED,iBAAS,QAAQ,IAAI,IAAI,CAOxB;AA0HD,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -20,8 +20,16 @@ export interface ViewportRect {
|
|
|
20
20
|
*/
|
|
21
21
|
export declare function extractTextInRect(rect: ViewportRect, iframes?: readonly HTMLIFrameElement[]): string;
|
|
22
22
|
/**
|
|
23
|
-
* Rasterizes `containerEl` (lazy-loaded
|
|
24
|
-
*
|
|
23
|
+
* Rasterizes just the `rect` region of `containerEl` (lazy-loaded
|
|
24
|
+
* `html2canvas`). Returns `null` if the crop ends up empty/degenerate.
|
|
25
|
+
*
|
|
26
|
+
* Passes `x`/`y`/`width`/`height` (in `containerEl`'s own coordinate space)
|
|
27
|
+
* so html2canvas only renders that sub-region instead of the whole
|
|
28
|
+
* container — for a long/virtualized document (e.g. a multi-page PDF or a
|
|
29
|
+
* tall HTML/markdown render) rasterizing the *entire* scrollable content on
|
|
30
|
+
* every "问问 AI" click is the dominant cost and is what makes the crop tool
|
|
31
|
+
* feel laggy; scoping the render to the selected rect keeps it proportional
|
|
32
|
+
* to what the user actually selected.
|
|
25
33
|
*/
|
|
26
34
|
export declare function captureImageInRect(containerEl: HTMLElement, rect: ViewportRect, filename: string): Promise<File | null>;
|
|
27
35
|
//# sourceMappingURL=screenshotCapture.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"screenshotCapture.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/screenshotCapture.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AA4CD;;;GAGG;AACH,wBAAgB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"screenshotCapture.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/screenshotCapture.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;CACf;AA4CD;;;GAGG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,YAAY,EAClB,OAAO,GAAE,SAAS,iBAAiB,EAAO,GACzC,MAAM,CA0BR;AAED;;;;;;;;;;;GAWG;AACH,wBAAsB,kBAAkB,CACtC,WAAW,EAAE,WAAW,EACxB,IAAI,EAAE,YAAY,EAClB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC,CA0BtB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { ChatResourceFile } from '../../../types';
|
|
1
|
+
import type { ChatResourceFile, ConversationUiAction } from '../../../types';
|
|
2
|
+
import '../../../mdoc/referenceTag.css';
|
|
2
3
|
import type { DocumentLoadResult, OutlineNode } from '../adapter';
|
|
3
4
|
type __VLS_Props = {
|
|
4
5
|
resource: ChatResourceFile;
|
|
@@ -12,9 +13,11 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
|
|
|
12
13
|
download: typeof download;
|
|
13
14
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
15
|
error: (error: Error) => any;
|
|
16
|
+
action: (payload: ConversationUiAction) => any;
|
|
15
17
|
loaded: (result: DocumentLoadResult) => any;
|
|
16
18
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
17
19
|
onError?: ((error: Error) => any) | undefined;
|
|
20
|
+
onAction?: ((payload: ConversationUiAction) => any) | undefined;
|
|
18
21
|
onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
|
|
19
22
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/text/TextRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/text/TextRenderer.vue"],"names":[],"mappings":"AAiKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AAK5E,OAAO,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAKjE,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAA;CAC3B,CAAC;AAmDF,iBAAe,IAAI,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAqBjD;AAED,iBAAe,UAAU,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAIlD;AAED,iBAAS,QAAQ,IAAI,IAAI,CAOxB;AA0ED,QAAA,MAAM,YAAY;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XlsxRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"XlsxRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue"],"names":[],"mappings":"AA4IA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAOjE,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,gBAAgB,CAAA;CAC3B,CAAC;AAoDF,iBAAe,IAAI,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAiBjD;AAED,iBAAe,UAAU,IAAI,OAAO,CAAC,WAAW,EAAE,CAAC,CAElD;AAED,iBAAS,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAGzC;AAED,iBAAS,QAAQ,IAAI,IAAI,CAOxB;AA8ED,QAAA,MAAM,YAAY;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XlsxTable.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/xlsx/XlsxTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"XlsxTable.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/chat/components/document-viewer/xlsx/XlsxTable.vue"],"names":[],"mappings":"AAoKA,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,EAAE,EAAE,CAAA;CACjB,CAAC;AAkLF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisclosureRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/harness/DisclosureRow.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DisclosureRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/harness/DisclosureRow.vue"],"names":[],"mappings":"AAqOA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,CAAA;AAEhC,OAAO,6BAA6B,CAAA;AAIpC,KAAK,WAAW,GAAG;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,OAAO,CAAA;IACb,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,8EAA8E;IAC9E,gBAAgB,CAAC,EAAE,SAAS,GAAG,UAAU,CAAA;CAC1C,CAAC;AAeJ,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,KAAK,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,KAAK,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,KAAK,CAAA;IACvB,OAAO,CAAC,EAAE,MAAM,KAAK,CAAA;CACtB,CAAC;AAuQF,QAAA,MAAM,UAAU;;;;;gBAjSC,OAAO;sBACD,OAAO;oBACT,OAAO;yBACF,OAAO;sBAEV,SAAS,GAAG,UAAU;6EAgS3C,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,5 @@
|
|
|
1
|
+
import '../harnessProcessTokens.css';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=RunningDots.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RunningDots.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/harness/RunningDots.vue"],"names":[],"mappings":"AAgBA,OAAO,6BAA6B,CAAA;AAgCpC,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -6,7 +6,7 @@ export { ChatSenderAppendIcon, ChatSenderAtIcon, ChatSenderCheckIcon, ChatSender
|
|
|
6
6
|
export { ACTION_BAR_SYSTEM_PROMPT, ARTIFACT_BLOCK_SYSTEM_PROMPT, ASK_USER_FORM_SYSTEM_PROMPT, CHART_BLOCK_SYSTEM_PROMPT, } from './mdoc/builtInRegistry';
|
|
7
7
|
export { buildAskUserFunctionCallOutput, extractAskUserFromToolCall, extractAskUserFromToolCalls, extractAskUserQuestionsFromContent, filterOutAskUserToolCalls, formatAskUserAnswersLabel, formatAskUserBubbleLabel, isAskUserAnswerComplete, isAskUserShapedArguments, isAskUserToolName, normalizeAskUserPayload, normalizeAskUserQuestion, parseAskUserPayloadFromArguments, serializeAskUserOutput, extractAskFormNodes, extractAskFormMdocFromToolCalls, filterOutAskFormToolCalls, isAskFormToolName, } from './askUser';
|
|
8
8
|
export type { AskUserAnswer, AskUserFunctionCallOutput, AskUserOption, AskUserOutput, AskUserPayload, AskUserQuestion, AskUserToolExtract, } from './askUser';
|
|
9
|
-
export { convertReferenceMarkers } from './mdoc/referenceMarkup';
|
|
9
|
+
export { convertReferenceMarkers, createReferenceClickHandler, escapeHtml, extractReferenceIndex, renderPlainTextWithReferences, } from './mdoc/referenceMarkup';
|
|
10
10
|
export { ACTION_BAR_ICON_NAMES, isActionBarReady, resolveActionBarIcon, } from './mdoc/actionBarIcons';
|
|
11
11
|
export type { ActionBarIconName } from './mdoc/actionBarIcons';
|
|
12
12
|
export { CHART_TYPES, isChartType } from './mdoc/chart/schema';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/chat/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,8BAA8B,CAAA;AACrE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAA;AAClD,cAAc,cAAc,CAAA;AAC5B,OAAO,EACL,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EACjB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,SAAS,CAAA;AAEhB,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,2BAA2B,EAC3B,yBAAyB,GAC1B,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EACL,8BAA8B,EAC9B,0BAA0B,EAC1B,2BAA2B,EAC3B,kCAAkC,EAClC,yBAAyB,EACzB,yBAAyB,EACzB,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,iBAAiB,EACjB,uBAAuB,EACvB,wBAAwB,EACxB,gCAAgC,EAChC,sBAAsB,EAEtB,mBAAmB,EACnB,+BAA+B,EAC/B,yBAAyB,EACzB,iBAAiB,GAClB,MAAM,WAAW,CAAA;AAClB,YAAY,EACV,aAAa,EACb,yBAAyB,EACzB,aAAa,EACb,aAAa,EACb,cAAc,EACd,eAAe,EACf,kBAAkB,GACnB,MAAM,WAAW,CAAA;AAClB,OAAO,
|
|
1
|
+
{"version":3,"file":"index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