@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.
Files changed (96) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/components/chat/ChatBot.vue.d.ts.map +1 -1
  3. package/dist/components/chat/components/ArtifactPreview.vue.d.ts +3 -0
  4. package/dist/components/chat/components/ArtifactPreview.vue.d.ts.map +1 -1
  5. package/dist/components/chat/components/ChatFilePreview.vue.d.ts +9 -2
  6. package/dist/components/chat/components/ChatFilePreview.vue.d.ts.map +1 -1
  7. package/dist/components/chat/components/ChatFilePreviewPanel.vue.d.ts +3 -0
  8. package/dist/components/chat/components/ChatFilePreviewPanel.vue.d.ts.map +1 -1
  9. package/dist/components/chat/components/ChatSender.vue.d.ts +7 -0
  10. package/dist/components/chat/components/ChatSender.vue.d.ts.map +1 -1
  11. package/dist/components/chat/components/document-viewer/ContentArea.vue.d.ts +505 -0
  12. package/dist/components/chat/components/document-viewer/ContentArea.vue.d.ts.map +1 -0
  13. package/dist/components/chat/components/document-viewer/DocViewerNavList.vue.d.ts +14 -0
  14. package/dist/components/chat/components/document-viewer/DocViewerNavList.vue.d.ts.map +1 -0
  15. package/dist/components/chat/components/document-viewer/DocViewerSidebar.vue.d.ts +26 -0
  16. package/dist/components/chat/components/document-viewer/DocViewerSidebar.vue.d.ts.map +1 -0
  17. package/dist/components/chat/components/document-viewer/DocViewerToolbar.vue.d.ts +69 -0
  18. package/dist/components/chat/components/document-viewer/DocViewerToolbar.vue.d.ts.map +1 -0
  19. package/dist/components/chat/components/document-viewer/DocumentViewer.vue.d.ts +16 -0
  20. package/dist/components/chat/components/document-viewer/DocumentViewer.vue.d.ts.map +1 -0
  21. package/dist/components/chat/components/document-viewer/PageNumberInput.vue.d.ts +12 -0
  22. package/dist/components/chat/components/document-viewer/PageNumberInput.vue.d.ts.map +1 -0
  23. package/dist/components/chat/components/document-viewer/ScreenshotCropOverlay.vue.d.ts +13 -0
  24. package/dist/components/chat/components/document-viewer/ScreenshotCropOverlay.vue.d.ts.map +1 -0
  25. package/dist/components/chat/components/document-viewer/adapter.d.ts +70 -0
  26. package/dist/components/chat/components/document-viewer/adapter.d.ts.map +1 -0
  27. package/dist/components/chat/components/document-viewer/html/HtmlRenderer.vue.d.ts +24 -0
  28. package/dist/components/chat/components/document-viewer/html/HtmlRenderer.vue.d.ts.map +1 -0
  29. package/dist/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue.d.ts +24 -0
  30. package/dist/components/chat/components/document-viewer/markdown/MarkdownRenderer.vue.d.ts.map +1 -0
  31. package/dist/components/chat/components/document-viewer/office/OfficeDocumentViewer.vue.d.ts +16 -0
  32. package/dist/components/chat/components/document-viewer/office/OfficeDocumentViewer.vue.d.ts.map +1 -0
  33. package/dist/components/chat/components/document-viewer/office/domNav.d.ts +16 -0
  34. package/dist/components/chat/components/document-viewer/office/domNav.d.ts.map +1 -0
  35. package/dist/components/chat/components/{ChatOfficePreview.vue.d.ts → document-viewer/pdf/PdfAttachmentList.vue.d.ts} +3 -4
  36. package/dist/components/chat/components/document-viewer/pdf/PdfAttachmentList.vue.d.ts.map +1 -0
  37. package/dist/components/chat/components/document-viewer/pdf/PdfOutlineList.vue.d.ts +13 -0
  38. package/dist/components/chat/components/document-viewer/pdf/PdfOutlineList.vue.d.ts.map +1 -0
  39. package/dist/components/chat/components/document-viewer/pdf/PdfPage.vue.d.ts +16 -0
  40. package/dist/components/chat/components/document-viewer/pdf/PdfPage.vue.d.ts.map +1 -0
  41. package/dist/components/chat/components/document-viewer/pdf/PdfPageList.vue.d.ts +18 -0
  42. package/dist/components/chat/components/document-viewer/pdf/PdfPageList.vue.d.ts.map +1 -0
  43. package/dist/components/chat/components/document-viewer/pdf/PdfRenderer.vue.d.ts +57 -0
  44. package/dist/components/chat/components/document-viewer/pdf/PdfRenderer.vue.d.ts.map +1 -0
  45. package/dist/components/chat/components/document-viewer/pdf/PdfThumbnailItem.vue.d.ts +15 -0
  46. package/dist/components/chat/components/document-viewer/pdf/PdfThumbnailItem.vue.d.ts.map +1 -0
  47. package/dist/components/chat/components/document-viewer/pdf/PdfThumbnailList.vue.d.ts +14 -0
  48. package/dist/components/chat/components/document-viewer/pdf/PdfThumbnailList.vue.d.ts.map +1 -0
  49. package/dist/components/chat/components/document-viewer/pdf/pdfIntrospection.d.ts +11 -0
  50. package/dist/components/chat/components/document-viewer/pdf/pdfIntrospection.d.ts.map +1 -0
  51. package/dist/components/chat/components/document-viewer/pdf/pdfWorker.d.ts +5 -0
  52. package/dist/components/chat/components/document-viewer/pdf/pdfWorker.d.ts.map +1 -0
  53. package/dist/components/chat/components/document-viewer/pdf/usePdfDocument.d.ts +13 -0
  54. package/dist/components/chat/components/document-viewer/pdf/usePdfDocument.d.ts.map +1 -0
  55. package/dist/components/chat/components/document-viewer/pdf/useVirtualScroll.d.ts +16 -0
  56. package/dist/components/chat/components/document-viewer/pdf/useVirtualScroll.d.ts.map +1 -0
  57. package/dist/components/chat/components/document-viewer/screenshotCapture.d.ts +27 -0
  58. package/dist/components/chat/components/document-viewer/screenshotCapture.d.ts.map +1 -0
  59. package/dist/components/chat/components/document-viewer/text/TextRenderer.vue.d.ts +22 -0
  60. package/dist/components/chat/components/document-viewer/text/TextRenderer.vue.d.ts.map +1 -0
  61. package/dist/components/chat/components/document-viewer/types.d.ts +12 -0
  62. package/dist/components/chat/components/document-viewer/types.d.ts.map +1 -0
  63. package/dist/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue.d.ts +24 -0
  64. package/dist/components/chat/components/document-viewer/xlsx/XlsxRenderer.vue.d.ts.map +1 -0
  65. package/dist/components/chat/components/document-viewer/xlsx/XlsxTable.vue.d.ts +7 -0
  66. package/dist/components/chat/components/document-viewer/xlsx/XlsxTable.vue.d.ts.map +1 -0
  67. package/dist/components/chat/components/document-viewer/xlsx/columnLabel.d.ts +3 -0
  68. package/dist/components/chat/components/document-viewer/xlsx/columnLabel.d.ts.map +1 -0
  69. package/dist/components/chat/components/document-viewer/xlsx/parseSpreadsheet.d.ts +15 -0
  70. package/dist/components/chat/components/document-viewer/xlsx/parseSpreadsheet.d.ts.map +1 -0
  71. package/dist/components/chat/components/index.d.ts +1 -0
  72. package/dist/components/chat/components/index.d.ts.map +1 -1
  73. package/dist/components/chat/previewRenderers.d.ts.map +1 -1
  74. package/dist/components/chat/types.d.ts +3 -1
  75. package/dist/components/chat/types.d.ts.map +1 -1
  76. package/dist/html2canvas.esm-BA_v9SIU.cjs +22 -0
  77. package/dist/html2canvas.esm-d2sM-0Wm.js +4870 -0
  78. package/dist/index-Bh4xn5LB.cjs +1 -0
  79. package/dist/index-BuN8GnS7.js +22 -0
  80. package/dist/{index-Bj9h-xEr.cjs → index-CYsRLgmz.cjs} +20 -20
  81. package/dist/{index-DF8KmkKX.js → index-D6O6kJLS.js} +4 -3
  82. package/dist/index-DSMoLJva.cjs +850 -0
  83. package/dist/{index-BufnUXnQ.js → index-DagQuvJt.js} +4 -3
  84. package/dist/index-DeuzDK81.js +107879 -0
  85. package/dist/{index-BJdNN1GV.cjs → index-SLHt828h.cjs} +4 -4
  86. package/dist/index.cjs +1 -664
  87. package/dist/index.js +221 -68958
  88. package/dist/style.css +1 -1
  89. package/package.json +7 -1
  90. package/dist/components/chat/components/ChatOfficePreview.vue.d.ts.map +0 -1
  91. package/dist/index-B4hgICk-.cjs +0 -198
  92. package/dist/index-CnxZBHPD.js +0 -42825
  93. package/dist/index-DPhuLMkO.cjs +0 -1
  94. package/dist/index-Dq4cniDm.cjs +0 -5
  95. package/dist/index-cW_BnxHR.js +0 -1722
  96. package/dist/index-iCVvFIlX.js +0 -28
@@ -0,0 +1,505 @@
1
+ import type { ChatPreviewKind, ChatResourceFile } from '../../types';
2
+ import type { DocumentLoadResult } from './adapter';
3
+ /**
4
+ * Mounts the render adapter for `kind`. `docx`/`pptx` aren't wired to a real
5
+ * adapter yet (they're still handled upstream by the legacy self-contained
6
+ * `OfficeDocumentViewer` and never reach this component).
7
+ */
8
+ declare const rendererMap: {
9
+ readonly pdf: import("vue").DefineComponent<{
10
+ resource: ChatResourceFile;
11
+ }, {
12
+ load: () => Promise<DocumentLoadResult>;
13
+ getPageCount: () => number;
14
+ getCurrentPage: () => number;
15
+ scrollToPage: (page: number) => Promise<void>;
16
+ getThumbnail: (pageNumber: number) => Promise<string>;
17
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
18
+ getAttachments: () => Promise<{
19
+ id: string;
20
+ filename: string;
21
+ }[]>;
22
+ downloadAttachment: (id: string) => void;
23
+ setZoom: (next: number) => void;
24
+ setRotation: (degrees: number) => void;
25
+ zoomIn: () => void;
26
+ zoomOut: () => void;
27
+ rotateCw: () => void;
28
+ rotateCcw: () => void;
29
+ download: () => void;
30
+ pdfDoc: import("vue").Ref<import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null, import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null>;
31
+ numPages: import("vue").Ref<number, number>;
32
+ currentPage: import("vue").Ref<number, number>;
33
+ scale: import("vue").Ref<number, number>;
34
+ rotation: import("vue").Ref<number, number>;
35
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
36
+ error: (error: Error) => any;
37
+ "update:current-page": (page: number) => any;
38
+ loaded: (result: DocumentLoadResult) => any;
39
+ }, string, import("vue").PublicProps, Readonly<{
40
+ resource: ChatResourceFile;
41
+ }> & Readonly<{
42
+ onError?: ((error: Error) => any) | undefined;
43
+ "onUpdate:current-page"?: ((page: number) => any) | undefined;
44
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
45
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
+ readonly html: import("vue").DefineComponent<{
47
+ resource: ChatResourceFile;
48
+ }, {
49
+ load: () => Promise<DocumentLoadResult>;
50
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
51
+ scrollToOutline: (id: string) => void;
52
+ download: () => void;
53
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
+ error: (error: Error) => any;
55
+ loaded: (result: DocumentLoadResult) => any;
56
+ }, string, import("vue").PublicProps, Readonly<{
57
+ resource: ChatResourceFile;
58
+ }> & Readonly<{
59
+ onError?: ((error: Error) => any) | undefined;
60
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
61
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
62
+ readonly markdown: import("vue").DefineComponent<{
63
+ resource: ChatResourceFile;
64
+ }, {
65
+ load: () => Promise<DocumentLoadResult>;
66
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
67
+ scrollToOutline: (id: string) => void;
68
+ download: () => void;
69
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
70
+ error: (error: Error) => any;
71
+ loaded: (result: DocumentLoadResult) => any;
72
+ }, string, import("vue").PublicProps, Readonly<{
73
+ resource: ChatResourceFile;
74
+ }> & Readonly<{
75
+ onError?: ((error: Error) => any) | undefined;
76
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
77
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
78
+ readonly text: import("vue").DefineComponent<{
79
+ resource: ChatResourceFile;
80
+ }, {
81
+ load: () => Promise<DocumentLoadResult>;
82
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
83
+ download: () => void;
84
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
85
+ error: (error: Error) => any;
86
+ loaded: (result: DocumentLoadResult) => any;
87
+ }, string, import("vue").PublicProps, Readonly<{
88
+ resource: ChatResourceFile;
89
+ }> & Readonly<{
90
+ onError?: ((error: Error) => any) | undefined;
91
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
92
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
93
+ readonly excel: import("vue").DefineComponent<{
94
+ resource: ChatResourceFile;
95
+ }, {
96
+ load: () => Promise<DocumentLoadResult>;
97
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
98
+ scrollToOutline: (id: string) => void;
99
+ download: () => void;
100
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
101
+ error: (error: Error) => any;
102
+ loaded: (result: DocumentLoadResult) => any;
103
+ }, string, import("vue").PublicProps, Readonly<{
104
+ resource: ChatResourceFile;
105
+ }> & Readonly<{
106
+ onError?: ((error: Error) => any) | undefined;
107
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
108
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
109
+ };
110
+ type __VLS_Props = {
111
+ resource: ChatResourceFile;
112
+ kind: Extract<ChatPreviewKind, keyof typeof rendererMap>;
113
+ };
114
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {
115
+ renderer: import("vue").Ref<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
116
+ resource: ChatResourceFile;
117
+ }> & Readonly<{
118
+ onError?: ((error: Error) => any) | undefined;
119
+ "onUpdate:current-page"?: ((page: number) => any) | undefined;
120
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
121
+ }>, {
122
+ load: () => Promise<DocumentLoadResult>;
123
+ getPageCount: () => number;
124
+ getCurrentPage: () => number;
125
+ scrollToPage: (page: number) => Promise<void>;
126
+ getThumbnail: (pageNumber: number) => Promise<string>;
127
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
128
+ getAttachments: () => Promise<{
129
+ id: string;
130
+ filename: string;
131
+ }[]>;
132
+ downloadAttachment: (id: string) => void;
133
+ setZoom: (next: number) => void;
134
+ setRotation: (degrees: number) => void;
135
+ zoomIn: () => void;
136
+ zoomOut: () => void;
137
+ rotateCw: () => void;
138
+ rotateCcw: () => void;
139
+ download: () => void;
140
+ pdfDoc: import("vue").Ref<import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null, import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null>;
141
+ numPages: import("vue").Ref<number, number>;
142
+ currentPage: import("vue").Ref<number, number>;
143
+ scale: import("vue").Ref<number, number>;
144
+ rotation: import("vue").Ref<number, number>;
145
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
146
+ error: (error: Error) => any;
147
+ "update:current-page": (page: number) => any;
148
+ loaded: (result: DocumentLoadResult) => any;
149
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
150
+ P: {};
151
+ B: {};
152
+ D: {};
153
+ C: {};
154
+ M: {};
155
+ Defaults: {};
156
+ }, Readonly<{
157
+ resource: ChatResourceFile;
158
+ }> & Readonly<{
159
+ onError?: ((error: Error) => any) | undefined;
160
+ "onUpdate:current-page"?: ((page: number) => any) | undefined;
161
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
162
+ }>, {
163
+ load: () => Promise<DocumentLoadResult>;
164
+ getPageCount: () => number;
165
+ getCurrentPage: () => number;
166
+ scrollToPage: (page: number) => Promise<void>;
167
+ getThumbnail: (pageNumber: number) => Promise<string>;
168
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
169
+ getAttachments: () => Promise<{
170
+ id: string;
171
+ filename: string;
172
+ }[]>;
173
+ downloadAttachment: (id: string) => void;
174
+ setZoom: (next: number) => void;
175
+ setRotation: (degrees: number) => void;
176
+ zoomIn: () => void;
177
+ zoomOut: () => void;
178
+ rotateCw: () => void;
179
+ rotateCcw: () => void;
180
+ download: () => void;
181
+ pdfDoc: import("vue").Ref<import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null, import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null>;
182
+ numPages: import("vue").Ref<number, number>;
183
+ currentPage: import("vue").Ref<number, number>;
184
+ scale: import("vue").Ref<number, number>;
185
+ rotation: import("vue").Ref<number, number>;
186
+ }, {}, {}, {}, {}> | import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
187
+ resource: ChatResourceFile;
188
+ }> & Readonly<{
189
+ onError?: ((error: Error) => any) | undefined;
190
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
191
+ }>, {
192
+ load: () => Promise<DocumentLoadResult>;
193
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
194
+ scrollToOutline: (id: string) => void;
195
+ download: () => void;
196
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
197
+ error: (error: Error) => any;
198
+ loaded: (result: DocumentLoadResult) => any;
199
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
200
+ P: {};
201
+ B: {};
202
+ D: {};
203
+ C: {};
204
+ M: {};
205
+ Defaults: {};
206
+ }, Readonly<{
207
+ resource: ChatResourceFile;
208
+ }> & Readonly<{
209
+ onError?: ((error: Error) => any) | undefined;
210
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
211
+ }>, {
212
+ load: () => Promise<DocumentLoadResult>;
213
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
214
+ scrollToOutline: (id: string) => void;
215
+ download: () => void;
216
+ }, {}, {}, {}, {}> | import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
217
+ resource: ChatResourceFile;
218
+ }> & Readonly<{
219
+ onError?: ((error: Error) => any) | undefined;
220
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
221
+ }>, {
222
+ load: () => Promise<DocumentLoadResult>;
223
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
224
+ scrollToOutline: (id: string) => void;
225
+ download: () => void;
226
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
227
+ error: (error: Error) => any;
228
+ loaded: (result: DocumentLoadResult) => any;
229
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
230
+ P: {};
231
+ B: {};
232
+ D: {};
233
+ C: {};
234
+ M: {};
235
+ Defaults: {};
236
+ }, Readonly<{
237
+ resource: ChatResourceFile;
238
+ }> & Readonly<{
239
+ onError?: ((error: Error) => any) | undefined;
240
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
241
+ }>, {
242
+ load: () => Promise<DocumentLoadResult>;
243
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
244
+ scrollToOutline: (id: string) => void;
245
+ download: () => void;
246
+ }, {}, {}, {}, {}> | import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
247
+ resource: ChatResourceFile;
248
+ }> & Readonly<{
249
+ onError?: ((error: Error) => any) | undefined;
250
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
251
+ }>, {
252
+ load: () => Promise<DocumentLoadResult>;
253
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
254
+ download: () => void;
255
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
256
+ error: (error: Error) => any;
257
+ loaded: (result: DocumentLoadResult) => any;
258
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
259
+ P: {};
260
+ B: {};
261
+ D: {};
262
+ C: {};
263
+ M: {};
264
+ Defaults: {};
265
+ }, Readonly<{
266
+ resource: ChatResourceFile;
267
+ }> & Readonly<{
268
+ onError?: ((error: Error) => any) | undefined;
269
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
270
+ }>, {
271
+ load: () => Promise<DocumentLoadResult>;
272
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
273
+ download: () => void;
274
+ }, {}, {}, {}, {}> | import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
275
+ resource: ChatResourceFile;
276
+ }> & Readonly<{
277
+ onError?: ((error: Error) => any) | undefined;
278
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
279
+ }>, {
280
+ load: () => Promise<DocumentLoadResult>;
281
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
282
+ scrollToOutline: (id: string) => void;
283
+ download: () => void;
284
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
285
+ error: (error: Error) => any;
286
+ loaded: (result: DocumentLoadResult) => any;
287
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
288
+ P: {};
289
+ B: {};
290
+ D: {};
291
+ C: {};
292
+ M: {};
293
+ Defaults: {};
294
+ }, Readonly<{
295
+ resource: ChatResourceFile;
296
+ }> & Readonly<{
297
+ onError?: ((error: Error) => any) | undefined;
298
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
299
+ }>, {
300
+ load: () => Promise<DocumentLoadResult>;
301
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
302
+ scrollToOutline: (id: string) => void;
303
+ download: () => void;
304
+ }, {}, {}, {}, {}> | undefined, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
305
+ resource: ChatResourceFile;
306
+ }> & Readonly<{
307
+ onError?: ((error: Error) => any) | undefined;
308
+ "onUpdate:current-page"?: ((page: number) => any) | undefined;
309
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
310
+ }>, {
311
+ load: () => Promise<DocumentLoadResult>;
312
+ getPageCount: () => number;
313
+ getCurrentPage: () => number;
314
+ scrollToPage: (page: number) => Promise<void>;
315
+ getThumbnail: (pageNumber: number) => Promise<string>;
316
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
317
+ getAttachments: () => Promise<{
318
+ id: string;
319
+ filename: string;
320
+ }[]>;
321
+ downloadAttachment: (id: string) => void;
322
+ setZoom: (next: number) => void;
323
+ setRotation: (degrees: number) => void;
324
+ zoomIn: () => void;
325
+ zoomOut: () => void;
326
+ rotateCw: () => void;
327
+ rotateCcw: () => void;
328
+ download: () => void;
329
+ pdfDoc: import("vue").Ref<import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null, import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null>;
330
+ numPages: import("vue").Ref<number, number>;
331
+ currentPage: import("vue").Ref<number, number>;
332
+ scale: import("vue").Ref<number, number>;
333
+ rotation: import("vue").Ref<number, number>;
334
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
335
+ error: (error: Error) => any;
336
+ "update:current-page": (page: number) => any;
337
+ loaded: (result: DocumentLoadResult) => any;
338
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
339
+ P: {};
340
+ B: {};
341
+ D: {};
342
+ C: {};
343
+ M: {};
344
+ Defaults: {};
345
+ }, Readonly<{
346
+ resource: ChatResourceFile;
347
+ }> & Readonly<{
348
+ onError?: ((error: Error) => any) | undefined;
349
+ "onUpdate:current-page"?: ((page: number) => any) | undefined;
350
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
351
+ }>, {
352
+ load: () => Promise<DocumentLoadResult>;
353
+ getPageCount: () => number;
354
+ getCurrentPage: () => number;
355
+ scrollToPage: (page: number) => Promise<void>;
356
+ getThumbnail: (pageNumber: number) => Promise<string>;
357
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
358
+ getAttachments: () => Promise<{
359
+ id: string;
360
+ filename: string;
361
+ }[]>;
362
+ downloadAttachment: (id: string) => void;
363
+ setZoom: (next: number) => void;
364
+ setRotation: (degrees: number) => void;
365
+ zoomIn: () => void;
366
+ zoomOut: () => void;
367
+ rotateCw: () => void;
368
+ rotateCcw: () => void;
369
+ download: () => void;
370
+ pdfDoc: import("vue").Ref<import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null, import("pdfjs-dist/types/src/display/api").PDFDocumentProxy | null>;
371
+ numPages: import("vue").Ref<number, number>;
372
+ currentPage: import("vue").Ref<number, number>;
373
+ scale: import("vue").Ref<number, number>;
374
+ rotation: import("vue").Ref<number, number>;
375
+ }, {}, {}, {}, {}> | import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
376
+ resource: ChatResourceFile;
377
+ }> & Readonly<{
378
+ onError?: ((error: Error) => any) | undefined;
379
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
380
+ }>, {
381
+ load: () => Promise<DocumentLoadResult>;
382
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
383
+ scrollToOutline: (id: string) => void;
384
+ download: () => void;
385
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
386
+ error: (error: Error) => any;
387
+ loaded: (result: DocumentLoadResult) => any;
388
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
389
+ P: {};
390
+ B: {};
391
+ D: {};
392
+ C: {};
393
+ M: {};
394
+ Defaults: {};
395
+ }, Readonly<{
396
+ resource: ChatResourceFile;
397
+ }> & Readonly<{
398
+ onError?: ((error: Error) => any) | undefined;
399
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
400
+ }>, {
401
+ load: () => Promise<DocumentLoadResult>;
402
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
403
+ scrollToOutline: (id: string) => void;
404
+ download: () => void;
405
+ }, {}, {}, {}, {}> | import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
406
+ resource: ChatResourceFile;
407
+ }> & Readonly<{
408
+ onError?: ((error: Error) => any) | undefined;
409
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
410
+ }>, {
411
+ load: () => Promise<DocumentLoadResult>;
412
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
413
+ scrollToOutline: (id: string) => void;
414
+ download: () => void;
415
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
416
+ error: (error: Error) => any;
417
+ loaded: (result: DocumentLoadResult) => any;
418
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
419
+ P: {};
420
+ B: {};
421
+ D: {};
422
+ C: {};
423
+ M: {};
424
+ Defaults: {};
425
+ }, Readonly<{
426
+ resource: ChatResourceFile;
427
+ }> & Readonly<{
428
+ onError?: ((error: Error) => any) | undefined;
429
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
430
+ }>, {
431
+ load: () => Promise<DocumentLoadResult>;
432
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
433
+ scrollToOutline: (id: string) => void;
434
+ download: () => void;
435
+ }, {}, {}, {}, {}> | import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
436
+ resource: ChatResourceFile;
437
+ }> & Readonly<{
438
+ onError?: ((error: Error) => any) | undefined;
439
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
440
+ }>, {
441
+ load: () => Promise<DocumentLoadResult>;
442
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
443
+ download: () => void;
444
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
445
+ error: (error: Error) => any;
446
+ loaded: (result: DocumentLoadResult) => any;
447
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
448
+ P: {};
449
+ B: {};
450
+ D: {};
451
+ C: {};
452
+ M: {};
453
+ Defaults: {};
454
+ }, Readonly<{
455
+ resource: ChatResourceFile;
456
+ }> & Readonly<{
457
+ onError?: ((error: Error) => any) | undefined;
458
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
459
+ }>, {
460
+ load: () => Promise<DocumentLoadResult>;
461
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
462
+ download: () => void;
463
+ }, {}, {}, {}, {}> | import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
464
+ resource: ChatResourceFile;
465
+ }> & Readonly<{
466
+ onError?: ((error: Error) => any) | undefined;
467
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
468
+ }>, {
469
+ load: () => Promise<DocumentLoadResult>;
470
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
471
+ scrollToOutline: (id: string) => void;
472
+ download: () => void;
473
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
474
+ error: (error: Error) => any;
475
+ loaded: (result: DocumentLoadResult) => any;
476
+ }, import("vue").PublicProps, {}, false, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
477
+ P: {};
478
+ B: {};
479
+ D: {};
480
+ C: {};
481
+ M: {};
482
+ Defaults: {};
483
+ }, Readonly<{
484
+ resource: ChatResourceFile;
485
+ }> & Readonly<{
486
+ onError?: ((error: Error) => any) | undefined;
487
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
488
+ }>, {
489
+ load: () => Promise<DocumentLoadResult>;
490
+ getOutline: () => Promise<import("./adapter").OutlineNode[]>;
491
+ scrollToOutline: (id: string) => void;
492
+ download: () => void;
493
+ }, {}, {}, {}, {}> | undefined>;
494
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
495
+ error: (error: Error) => any;
496
+ "update:current-page": (page: number) => any;
497
+ loaded: (result: DocumentLoadResult) => any;
498
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
499
+ onError?: ((error: Error) => any) | undefined;
500
+ "onUpdate:current-page"?: ((page: number) => any) | undefined;
501
+ onLoaded?: ((result: DocumentLoadResult) => any) | undefined;
502
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
503
+ declare const _default: typeof __VLS_export;
504
+ export default _default;
505
+ //# sourceMappingURL=ContentArea.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentArea.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/ContentArea.vue"],"names":[],"mappings":"AA2EA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AACpE,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;AAsGF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,14 @@
1
+ import type { DocViewerNavItem } from './types';
2
+ type __VLS_Props = {
3
+ items: DocViewerNavItem[];
4
+ activeId?: string | null;
5
+ emptyLabel?: string;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ select: (id: string) => any;
9
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onSelect?: ((id: string) => any) | undefined;
11
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ //# sourceMappingURL=DocViewerNavList.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocViewerNavList.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/DocViewerNavList.vue"],"names":[],"mappings":"AAAA,OAsFO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAI/C,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,gBAAgB,EAAE,CAAA;IACzB,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,UAAU,CAAC,EAAE,MAAM,CAAA;CACpB,CAAC;AA6EF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,26 @@
1
+ import type { DocViewerSidebarTab } from './types';
2
+ type __VLS_Props = {
3
+ open: boolean;
4
+ tabs: DocViewerSidebarTab[];
5
+ activeTab: string;
6
+ };
7
+ declare var __VLS_6: {
8
+ activeTab: string;
9
+ };
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_6) => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ "update:active-tab": (id: string) => any;
15
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ "onUpdate:active-tab"?: ((id: string) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
26
+ //# sourceMappingURL=DocViewerSidebar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocViewerSidebar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/DocViewerSidebar.vue"],"names":[],"mappings":"AAyFA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAIlD,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,OAAO,CAAA;IACb,IAAI,EAAE,mBAAmB,EAAE,CAAA;IAC3B,SAAS,EAAE,MAAM,CAAA;CAClB,CAAC;AA0FF,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;;;;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,69 @@
1
+ type __VLS_Props = {
2
+ /** Optional — irrelevant to consumers that override the `left` slot entirely (e.g. `ArtifactPreview`). */
3
+ sidebarOpen?: boolean;
4
+ currentPage?: number;
5
+ numPages?: number | null;
6
+ showPageNav?: boolean;
7
+ canZoom?: boolean;
8
+ canRotate?: boolean;
9
+ zoomPercent?: number | null;
10
+ /** Hide the toggle entirely when this render has no sidebar content to show. */
11
+ showSidebarToggle?: boolean;
12
+ };
13
+ declare var __VLS_1: {}, __VLS_15: {}, __VLS_22: {};
14
+ type __VLS_Slots = {} & {
15
+ left?: (props: typeof __VLS_1) => any;
16
+ } & {
17
+ middle?: (props: typeof __VLS_15) => any;
18
+ } & {
19
+ right?: (props: typeof __VLS_22) => any;
20
+ };
21
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ download: () => any;
23
+ search: () => any;
24
+ close: () => any;
25
+ translate: () => any;
26
+ fullscreen: () => any;
27
+ screenshot: () => any;
28
+ "toggle-sidebar": () => any;
29
+ "jump-page": (page: number) => any;
30
+ "zoom-in": () => any;
31
+ "zoom-out": () => any;
32
+ "rotate-ccw": () => any;
33
+ "rotate-cw": () => any;
34
+ edit: () => any;
35
+ "search-plus": () => any;
36
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
37
+ onDownload?: (() => any) | undefined;
38
+ onSearch?: (() => any) | undefined;
39
+ onClose?: (() => any) | undefined;
40
+ onTranslate?: (() => any) | undefined;
41
+ onFullscreen?: (() => any) | undefined;
42
+ onScreenshot?: (() => any) | undefined;
43
+ "onToggle-sidebar"?: (() => any) | undefined;
44
+ "onJump-page"?: ((page: number) => any) | undefined;
45
+ "onZoom-in"?: (() => any) | undefined;
46
+ "onZoom-out"?: (() => any) | undefined;
47
+ "onRotate-ccw"?: (() => any) | undefined;
48
+ "onRotate-cw"?: (() => any) | undefined;
49
+ onEdit?: (() => any) | undefined;
50
+ "onSearch-plus"?: (() => any) | undefined;
51
+ }>, {
52
+ currentPage: number;
53
+ numPages: number | null;
54
+ sidebarOpen: boolean;
55
+ showPageNav: boolean;
56
+ canZoom: boolean;
57
+ canRotate: boolean;
58
+ zoomPercent: number | null;
59
+ showSidebarToggle: boolean;
60
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
61
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
62
+ declare const _default: typeof __VLS_export;
63
+ export default _default;
64
+ type __VLS_WithSlots<T, S> = T & {
65
+ new (): {
66
+ $slots: S;
67
+ };
68
+ };
69
+ //# sourceMappingURL=DocViewerToolbar.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocViewerToolbar.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/DocViewerToolbar.vue"],"names":[],"mappings":"AA2PA,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"}
@@ -0,0 +1,16 @@
1
+ import type { ChatPreviewKind, ChatResourceFile } from '../../types';
2
+ import type { DocumentScreenshotResult } from './adapter';
3
+ type __VLS_Props = {
4
+ resource: ChatResourceFile;
5
+ kind: Extract<ChatPreviewKind, 'pdf' | 'docx' | 'excel' | 'pptx' | 'html' | 'markdown' | 'text'>;
6
+ };
7
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ close: () => any;
9
+ "screenshot-result": (result: DocumentScreenshotResult) => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onClose?: (() => any) | undefined;
12
+ "onScreenshot-result"?: ((result: DocumentScreenshotResult) => any) | undefined;
13
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ //# sourceMappingURL=DocumentViewer.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentViewer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/chat/components/document-viewer/DocumentViewer.vue"],"names":[],"mappings":"AA4UA,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAYpE,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;AAmlBF,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}