@deep-eye/core 1.2.90 → 1.2.91
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 +16 -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 +9 -2
- package/dist/components/chat/components/ChatFilePreview.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatFilePreviewPanel.vue.d.ts +3 -0
- package/dist/components/chat/components/ChatFilePreviewPanel.vue.d.ts.map +1 -1
- package/dist/components/chat/components/ChatSender.vue.d.ts +7 -0
- package/dist/components/chat/components/ChatSender.vue.d.ts.map +1 -1
- package/dist/components/chat/components/document-viewer/ContentArea.vue.d.ts +505 -0
- package/dist/components/chat/components/document-viewer/ContentArea.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/DocViewerNavList.vue.d.ts +14 -0
- package/dist/components/chat/components/document-viewer/DocViewerNavList.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/DocViewerSidebar.vue.d.ts +26 -0
- package/dist/components/chat/components/document-viewer/DocViewerSidebar.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/DocViewerToolbar.vue.d.ts +69 -0
- package/dist/components/chat/components/document-viewer/DocViewerToolbar.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/DocumentViewer.vue.d.ts +16 -0
- package/dist/components/chat/components/document-viewer/DocumentViewer.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/PageNumberInput.vue.d.ts +12 -0
- package/dist/components/chat/components/document-viewer/PageNumberInput.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/ScreenshotCropOverlay.vue.d.ts +13 -0
- package/dist/components/chat/components/document-viewer/ScreenshotCropOverlay.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/adapter.d.ts +70 -0
- package/dist/components/chat/components/document-viewer/adapter.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/html/HtmlRenderer.vue.d.ts +24 -0
- package/dist/components/chat/components/document-viewer/html/HtmlRenderer.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue.d.ts +24 -0
- package/dist/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/office/OfficeDocumentViewer.vue.d.ts +16 -0
- package/dist/components/chat/components/document-viewer/office/OfficeDocumentViewer.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/office/domNav.d.ts +16 -0
- package/dist/components/chat/components/document-viewer/office/domNav.d.ts.map +1 -0
- package/dist/components/chat/components/{ChatOfficePreview.vue.d.ts → document-viewer/pdf/PdfAttachmentList.vue.d.ts} +3 -4
- package/dist/components/chat/components/document-viewer/pdf/PdfAttachmentList.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfOutlineList.vue.d.ts +13 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfOutlineList.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfPage.vue.d.ts +16 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfPage.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfPageList.vue.d.ts +18 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfPageList.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfRenderer.vue.d.ts +57 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfRenderer.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfThumbnailItem.vue.d.ts +15 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfThumbnailItem.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfThumbnailList.vue.d.ts +14 -0
- package/dist/components/chat/components/document-viewer/pdf/PdfThumbnailList.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/pdf/pdfIntrospection.d.ts +11 -0
- package/dist/components/chat/components/document-viewer/pdf/pdfIntrospection.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/pdf/pdfWorker.d.ts +5 -0
- package/dist/components/chat/components/document-viewer/pdf/pdfWorker.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/pdf/usePdfDocument.d.ts +13 -0
- package/dist/components/chat/components/document-viewer/pdf/usePdfDocument.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/pdf/useVirtualScroll.d.ts +16 -0
- package/dist/components/chat/components/document-viewer/pdf/useVirtualScroll.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/screenshotCapture.d.ts +27 -0
- package/dist/components/chat/components/document-viewer/screenshotCapture.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/text/TextRenderer.vue.d.ts +22 -0
- package/dist/components/chat/components/document-viewer/text/TextRenderer.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/types.d.ts +12 -0
- package/dist/components/chat/components/document-viewer/types.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue.d.ts +24 -0
- package/dist/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/xlsx/XlsxTable.vue.d.ts +7 -0
- package/dist/components/chat/components/document-viewer/xlsx/XlsxTable.vue.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/xlsx/columnLabel.d.ts +3 -0
- package/dist/components/chat/components/document-viewer/xlsx/columnLabel.d.ts.map +1 -0
- package/dist/components/chat/components/document-viewer/xlsx/parseSpreadsheet.d.ts +15 -0
- package/dist/components/chat/components/document-viewer/xlsx/parseSpreadsheet.d.ts.map +1 -0
- package/dist/components/chat/components/index.d.ts +1 -0
- package/dist/components/chat/components/index.d.ts.map +1 -1
- package/dist/components/chat/previewRenderers.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/html2canvas.esm-BA_v9SIU.cjs +22 -0
- package/dist/html2canvas.esm-d2sM-0Wm.js +4870 -0
- package/dist/index-Bh4xn5LB.cjs +1 -0
- package/dist/index-BuN8GnS7.js +22 -0
- package/dist/{index-Bj9h-xEr.cjs → index-CYsRLgmz.cjs} +20 -20
- package/dist/{index-DF8KmkKX.js → index-D6O6kJLS.js} +4 -3
- package/dist/index-DSMoLJva.cjs +850 -0
- package/dist/{index-BufnUXnQ.js → index-DagQuvJt.js} +4 -3
- package/dist/index-DeuzDK81.js +107879 -0
- package/dist/{index-BJdNN1GV.cjs → index-SLHt828h.cjs} +4 -4
- package/dist/index.cjs +1 -664
- package/dist/index.js +221 -68958
- package/dist/style.css +1 -1
- package/package.json +7 -1
- package/dist/components/chat/components/ChatOfficePreview.vue.d.ts.map +0 -1
- package/dist/index-B4hgICk-.cjs +0 -198
- package/dist/index-CnxZBHPD.js +0 -42825
- package/dist/index-DPhuLMkO.cjs +0 -1
- package/dist/index-Dq4cniDm.cjs +0 -5
- package/dist/index-cW_BnxHR.js +0 -1722
- package/dist/index-iCVvFIlX.js +0 -28
package/CHANGELOG.md
CHANGED
|
@@ -4,10 +4,26 @@
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [1.2.91] - 2026-08-21
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- 多格式文档查看器 `DocumentViewer`(外壳 + `DocumentAdapter`):`pdf`(paginated)、`html` / `markdown` / `text` / `excel`(含 CSV,flow)走统一工具栏与侧边栏;`docx` / `pptx` 仍经 `OfficeDocumentViewer`。
|
|
12
|
+
- 文档预览「截图提问」:框选区域后可复制,或回填到输入框(提取到文本 → `insertText`;截图 → `addFiles` 附件)。
|
|
13
|
+
- `ChatBot` / `ChatSender` 暴露 `insertText(text)`,供文档截图等场景程序化写入草稿。
|
|
14
|
+
- Playground:`DocumentViewerDemo`;Chat Showcase 工件 `src` 样例覆盖多格式。
|
|
15
|
+
|
|
7
16
|
### Changed
|
|
8
17
|
|
|
18
|
+
- `ChatBot` 侧栏默认宽度 `sidebarWidth`:`'42%'` → `'70%'`。
|
|
19
|
+
- 带 `src` 的可预览工件卡片:侧栏只保留 `DocumentViewer` / Office 一层工具栏(去掉与 `ArtifactPreview` 叠头)。
|
|
20
|
+
- `ArtifactPreview` 顶栏复用 `DocViewerToolbar` 分区布局,与文档查看器视觉一致。
|
|
9
21
|
- `ProcessStepGroup` / 工具行对齐豆包过程块:折叠摘要去掉时长、标题后置 `>`/`∨`、展开区扁平化(去嵌套思考折叠头)、工具行「已读取 filename」;流式自动展开、完成后自动折叠;过程块内工具行不再扫光;仅折叠/展开做高度动画(流式增高不 tween);过程文字 14px、行间距 16px。
|
|
10
22
|
|
|
23
|
+
### Dependencies
|
|
24
|
+
|
|
25
|
+
- 新增:`html2canvas`、`marked`、`xlsx`、`papaparse`(及 `@types/papaparse` 开发依赖)。请按合规要求自行确认体积与许可。
|
|
26
|
+
|
|
11
27
|
## [1.2.90] - 2026-08-21
|
|
12
28
|
|
|
13
29
|
### Changed
|
|
@@ -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.d.ts","sourceRoot":"","sources":["../../../src/components/chat/ChatBot.vue"],"names":[],"mappings":"AA6vCA,OAAO,EAAqB,KAAK,mBAAmB,EAAE,MAAM,cAAc,CAAA;AAe1E,OAAO,KAAK,EACV,wBAAwB,EACxB,mBAAmB,EAEnB,aAAa,EACb,YAAY,EACZ,gBAAgB,EAChB,sBAAsB,EACtB,aAAa,EACb,gBAAgB,EAChB,eAAe,EACf,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EAErB,mB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U;;;;;;;;;;;;;;;;;;;;;;;;;mBAn1CyB,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;;;;;;;;;;;;;;;;;;;6EAo1C1E,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,13 +1,16 @@
|
|
|
1
1
|
import type { ConversationUiAction } from '../types';
|
|
2
|
+
import type { DocumentScreenshotResult } from './document-viewer/adapter';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
artifact: ConversationUiAction;
|
|
4
5
|
expanded?: boolean;
|
|
5
6
|
};
|
|
6
7
|
declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
8
|
close: () => any;
|
|
9
|
+
"screenshot-result": (result: DocumentScreenshotResult) => any;
|
|
8
10
|
"toggle-expanded": () => any;
|
|
9
11
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
12
|
onClose?: (() => any) | undefined;
|
|
13
|
+
"onScreenshot-result"?: ((result: DocumentScreenshotResult) => any) | undefined;
|
|
11
14
|
"onToggle-expanded"?: (() => any) | undefined;
|
|
12
15
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
16
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArtifactPreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ArtifactPreview.vue"],"names":[],"mappings":"AA+
|
|
1
|
+
{"version":3,"file":"ArtifactPreview.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ArtifactPreview.vue"],"names":[],"mappings":"AA+ZA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAA;AAKpD,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;AA6qBF,QAAA,MAAM,YAAY;;;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type Component, type PropType } from 'vue';
|
|
2
2
|
import type { ChatPreviewKind, ChatResourceFile } from '../types';
|
|
3
|
+
import type { DocumentScreenshotResult } from './document-viewer/adapter';
|
|
3
4
|
declare var __VLS_1: {
|
|
4
5
|
resource: ChatResourceFile;
|
|
5
6
|
kind: ChatPreviewKind;
|
|
@@ -22,7 +23,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
22
23
|
type: PropType<Component>;
|
|
23
24
|
default: undefined;
|
|
24
25
|
};
|
|
25
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
close: () => any;
|
|
28
|
+
"screenshot-result": (result: DocumentScreenshotResult) => any;
|
|
29
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
26
30
|
resource: {
|
|
27
31
|
type: PropType<ChatResourceFile>;
|
|
28
32
|
required: true;
|
|
@@ -31,7 +35,10 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
31
35
|
type: PropType<Component>;
|
|
32
36
|
default: undefined;
|
|
33
37
|
};
|
|
34
|
-
}>> & Readonly<{
|
|
38
|
+
}>> & Readonly<{
|
|
39
|
+
onClose?: (() => any) | undefined;
|
|
40
|
+
"onScreenshot-result"?: ((result: DocumentScreenshotResult) => any) | undefined;
|
|
41
|
+
}>, {
|
|
35
42
|
renderer: Component;
|
|
36
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
37
44
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -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":"AA2IA,OAAO,EAAgC,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGjF,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AACjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AAyIzE,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,5 @@
|
|
|
1
1
|
import type { ChatResourceFile } from '../types';
|
|
2
|
+
import type { DocumentScreenshotResult } from './document-viewer/adapter';
|
|
2
3
|
type __VLS_Props = {
|
|
3
4
|
resource: ChatResourceFile;
|
|
4
5
|
};
|
|
@@ -10,8 +11,10 @@ type __VLS_Slots = {} & {
|
|
|
10
11
|
};
|
|
11
12
|
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
13
|
close: () => any;
|
|
14
|
+
"screenshot-result": (result: DocumentScreenshotResult) => any;
|
|
13
15
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
16
|
onClose?: (() => any) | undefined;
|
|
17
|
+
"onScreenshot-result"?: ((result: DocumentScreenshotResult) => any) | undefined;
|
|
15
18
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
20
|
declare const _default: typeof __VLS_export;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatFilePreviewPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatFilePreviewPanel.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ChatFilePreviewPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/chat/components/ChatFilePreviewPanel.vue"],"names":[],"mappings":"AAkJA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAChD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AAGzE,KAAK,WAAW,GAAG;IAAE,QAAQ,EAAE,gBAAgB,CAAA;CAAE,CAAC;AA6KlD,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"}
|
|
@@ -16,8 +16,15 @@ type __VLS_Slots = {
|
|
|
16
16
|
'toolbar-before-voice'?: () => unknown;
|
|
17
17
|
};
|
|
18
18
|
declare function addFiles(files: readonly File[]): void;
|
|
19
|
+
/**
|
|
20
|
+
* Programmatic text insertion (e.g. the document viewer's "截图提问" crop
|
|
21
|
+
* tool feeding extracted text back in). Unlike `insertTextAtCaret`, this
|
|
22
|
+
* works even when the editor isn't currently focused/selected.
|
|
23
|
+
*/
|
|
24
|
+
declare function insertText(text: string): void;
|
|
19
25
|
declare const __VLS_base: import("vue").DefineComponent<ChatSenderProps, {
|
|
20
26
|
addFiles: typeof addFiles;
|
|
27
|
+
insertText: typeof insertText;
|
|
21
28
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
29
|
stop: () => any;
|
|
23
30
|
send: (payload: ChatSendPayload) => any;
|
|
@@ -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":"AA+8HA,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,eAAe,EACf,0BAA0B,EAC1B,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACrB,iBAAiB,EACjB,gBAAgB,EACjB,MAAM,UAAU,CAAA;AAsEjB,KAAK,WAAW,GAAG;IACjB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE;QACvB,SAAS,EAAE,MAAM,CAAA;QACjB,KAAK,EAAE,MAAM,CAAA;QACb,MAAM,EAAE,CAAC,OAAO,EAAE;YAAE,EAAE,EAAE,MAAM,CAAC;YAAC,KAAK,EAAE,MAAM,CAAA;SAAE,KAAK,IAAI,CAAA;QACxD,KAAK,EAAE,MAAM,IAAI,CAAA;QACjB,UAAU,EAAE,OAAO,GAAG,IAAI,CAAA;KAC3B,KAAK,OAAO,CAAA;IACb,4EAA4E;IAC5E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,0BAA0B,KAAK,OAAO,CAAA;IACxD,6EAA6E;IAC7E,sBAAsB,CAAC,EAAE,MAAM,OAAO,CAAA;CACvC,CAAC;AA83CF,iBAAS,QAAQ,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,GAAG,IAAI,CAE9C;AAED;;;;GAIG;AACH,iBAAS,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAwBtC;AA2wDD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;mBAtsGyB,MAAM;;;mBACL,MAAM;eAAS,MAAM;;;mBACrB,MAAM;;;mBACL,MAAM;YAAM,MAAM;eAAS,MAAM;;;mBACjC,MAAM;YAAM,MA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