@8wave/ai-elements 0.125.0-beta.42 → 0.125.0-beta.44
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/README.md +9 -4
- package/dist/_chunks/Chart-1vt0m6l_.js +87 -0
- package/dist/_chunks/Chart-1vt0m6l_.js.map +1 -0
- package/dist/_chunks/{PkChart-CbtMRGWc.js → PkChart-CYFx_UDq.js} +741 -623
- package/dist/_chunks/PkChart-CYFx_UDq.js.map +1 -0
- package/dist/_chunks/PkFilePreview-DfYzaj3Y.js +1745 -0
- package/dist/_chunks/PkFilePreview-DfYzaj3Y.js.map +1 -0
- package/dist/_chunks/{PkFilePreviewDialog-bcTkTcYk.js → PkFilePreviewDialog-COkwyLq6.js} +2 -2
- package/dist/_chunks/{PkFilePreviewDialog-bcTkTcYk.js.map → PkFilePreviewDialog-COkwyLq6.js.map} +1 -1
- package/dist/_chunks/{PkImageEditorDialog-FpbyhV3t.js → PkImageEditorDialog-Ceas-HZA.js} +2 -2
- package/dist/_chunks/{PkImageEditorDialog-FpbyhV3t.js.map → PkImageEditorDialog-Ceas-HZA.js.map} +1 -1
- package/dist/_chunks/{PkSelectionActions-BbfVZY0R.js → PkSelectionActions-Dl3cKb7x.js} +2 -2
- package/dist/_chunks/PkSelectionActions-Dl3cKb7x.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown-COSOOhCg.js → PkStreamingMarkdown-DZvLHy2l.js} +2 -2
- package/dist/_chunks/{PkStreamingMarkdown-COSOOhCg.js.map → PkStreamingMarkdown-DZvLHy2l.js.map} +1 -1
- package/dist/_chunks/{PkToolChatFile-C_gS0X1j.js → PkToolChatFile-D4ukZ9g6.js} +3 -3
- package/dist/_chunks/{PkToolChatFile-C_gS0X1j.js.map → PkToolChatFile-D4ukZ9g6.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-fpFtKrZo.js → PkToolShowArtifact-wIAxyXrL.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-fpFtKrZo.js.map → PkToolShowArtifact-wIAxyXrL.js.map} +1 -1
- package/dist/_chunks/PkToolShowChart-D3E_xBJv.js +138 -0
- package/dist/_chunks/PkToolShowChart-D3E_xBJv.js.map +1 -0
- package/dist/_chunks/{PkToolShowContactForm-BAM772bm.js → PkToolShowContactForm-BhcM-Z6m.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-BAM772bm.js.map → PkToolShowContactForm-BhcM-Z6m.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-DJcL0bgw.js → PkToolShowForm-D6k7_QLF.js} +3 -3
- package/dist/_chunks/{PkToolShowForm-DJcL0bgw.js.map → PkToolShowForm-D6k7_QLF.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-GeWAMHYC.js → PkToolShowSources-Cw1ofky2.js} +2 -2
- package/dist/_chunks/{PkToolShowSources-GeWAMHYC.js.map → PkToolShowSources-Cw1ofky2.js.map} +1 -1
- package/dist/_chunks/chartFormat-B1T7y-16.js +27 -0
- package/dist/_chunks/chartFormat-B1T7y-16.js.map +1 -0
- package/dist/_chunks/{excelNumberFormat-BhQjife9.js → excelNumberFormat-CcXF_wJK.js} +101 -88
- package/dist/_chunks/excelNumberFormat-CcXF_wJK.js.map +1 -0
- package/dist/_chunks/{utils-DMvy5QRR.js → utils-C2aFWWye.js} +132 -110
- package/dist/_chunks/utils-C2aFWWye.js.map +1 -0
- package/dist/ai-elements.es.js +2939 -2882
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/_chunks/Chart-DsBNs5rS.js +87 -0
- package/dist-vue/_chunks/Chart-DsBNs5rS.js.map +1 -0
- package/dist-vue/_chunks/{PkChart-D-K7nc0g.js → PkChart-CrZqhEpp.js} +112 -74
- package/dist-vue/_chunks/PkChart-CrZqhEpp.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-DVQ-Bb7n.js → PkChatbot-CBSe9MOB.js} +6 -6
- package/dist-vue/_chunks/{PkChatbot-DVQ-Bb7n.js.map → PkChatbot-CBSe9MOB.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-OlgewA4_.js → PkChatbotEmptyState-DfyYZXHQ.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-OlgewA4_.js.map → PkChatbotEmptyState-DfyYZXHQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-D_I0Gf_u.js → PkChatbotInput-CBalSveL.js} +4 -4
- package/dist-vue/_chunks/{PkChatbotInput-D_I0Gf_u.js.map → PkChatbotInput-CBalSveL.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-CAXnEfXK.js → PkChatbotMessages-C2AUTqk4.js} +307 -307
- package/dist-vue/_chunks/{PkChatbotMessages-CAXnEfXK.js.map → PkChatbotMessages-C2AUTqk4.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-EBri1L10.js → PkChatbotStepPayload-Bb3Y6kuL.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-EBri1L10.js.map → PkChatbotStepPayload-Bb3Y6kuL.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-DiQEa0UV.js → PkChatbotStepToolDetail-CwOxzYOe.js} +16 -16
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-DiQEa0UV.js.map → PkChatbotStepToolDetail-CwOxzYOe.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-BgLnv2J1.js → PkChatbotSteps-FduD9X9i.js} +38 -38
- package/dist-vue/_chunks/{PkChatbotSteps-BgLnv2J1.js.map → PkChatbotSteps-FduD9X9i.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-CmjD1IXf.js → PkChatbotViewChat-jl3ZbK7H.js} +22 -22
- package/dist-vue/_chunks/{PkChatbotViewChat-CmjD1IXf.js.map → PkChatbotViewChat-jl3ZbK7H.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-CVZH5dXx.js → PkChatbotViewConversations-BtwTWqmM.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-CVZH5dXx.js.map → PkChatbotViewConversations-BtwTWqmM.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-k5gEl3n8.js → PkFilePreview-CRfDEYYo.js} +701 -624
- package/dist-vue/_chunks/PkFilePreview-CRfDEYYo.js.map +1 -0
- package/dist-vue/_chunks/{PkFilePreviewDialog-DUwZPErE.js → PkFilePreviewDialog-u-0rhuRx.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-DUwZPErE.js.map → PkFilePreviewDialog-u-0rhuRx.js.map} +1 -1
- package/dist-vue/_chunks/{PkImageEditorDialog-DQPXePae.js → PkImageEditorDialog-CjMwpb-a.js} +2 -2
- package/dist-vue/_chunks/{PkImageEditorDialog-DQPXePae.js.map → PkImageEditorDialog-CjMwpb-a.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-ZasabxE0.js → PkStreamingMarkdown-7Kl_VBH-.js} +2 -2
- package/dist-vue/_chunks/{PkStreamingMarkdown-ZasabxE0.js.map → PkStreamingMarkdown-7Kl_VBH-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolChatFile-CD26Q2xp.js → PkToolChatFile-DcNRCVXy.js} +3 -3
- package/dist-vue/_chunks/{PkToolChatFile-CD26Q2xp.js.map → PkToolChatFile-DcNRCVXy.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-BhVd_ZQ8.js → PkToolShowArtifact-C7CxCqVO.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-BhVd_ZQ8.js.map → PkToolShowArtifact-C7CxCqVO.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowChart-DULlrMjq.js +133 -0
- package/dist-vue/_chunks/PkToolShowChart-DULlrMjq.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowContactForm-CackCDGD.js → PkToolShowContactForm-472d-SAE.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-CackCDGD.js.map → PkToolShowContactForm-472d-SAE.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-CABPsFi8.js → PkToolShowDiagram-RrqVpOaX.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-CABPsFi8.js.map → PkToolShowDiagram-RrqVpOaX.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-BStbk4Iu.js → PkToolShowForm-CgyszDEI.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowForm-BStbk4Iu.js.map → PkToolShowForm-CgyszDEI.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-BeeHsdTp.js → PkToolShowImageGallery-LBx9JE6p.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-BeeHsdTp.js.map → PkToolShowImageGallery-LBx9JE6p.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-BfUiap9U.js → PkToolShowProductList-THiH4EzZ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-BfUiap9U.js.map → PkToolShowProductList-THiH4EzZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-CgEkcyRg.js → PkToolShowSources-CEqGXOOt.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSources-CgEkcyRg.js.map → PkToolShowSources-CEqGXOOt.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-CqSRnDNC.js → PkToolShowVideo-8Gi3vOer.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-CqSRnDNC.js.map → PkToolShowVideo-8Gi3vOer.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-B-qIS8qY.js → PkToolShowWebPages-xjUPdfOU.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-B-qIS8qY.js.map → PkToolShowWebPages-xjUPdfOU.js.map} +1 -1
- package/dist-vue/_chunks/chartFormat-B1T7y-16.js +27 -0
- package/dist-vue/_chunks/chartFormat-B1T7y-16.js.map +1 -0
- package/dist-vue/_chunks/{excelNumberFormat-C1sCQrOz.js → excelNumberFormat-BxRi0Y3e.js} +101 -88
- package/dist-vue/_chunks/excelNumberFormat-BxRi0Y3e.js.map +1 -0
- package/dist-vue/_chunks/{utils-KBB6SDPn.js → utils-VVbH-Liq.js} +30 -30
- package/dist-vue/_chunks/utils-VVbH-Liq.js.map +1 -0
- package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +6 -6
- package/dist-vue/apps/web-component/src/composables/useSelectionActions.d.ts +14 -4
- package/dist-vue/composables.js +9 -3
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +42 -42
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +6 -0
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -6
- package/dist-vue/packages/components/src/chat/PkChart.d.ts +8 -0
- package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +1 -1
- package/dist-vue/packages/components/src/chat/PkFileChart.d.ts +14 -0
- package/dist-vue/packages/components/src/chat/PkSelectionActionIconPicker.d.ts +2 -2
- package/dist-vue/packages/components/src/chat/PkSelectionAnswerCard.d.ts +6 -0
- package/dist-vue/packages/components/src/chat/PkWordPreviewRuns.d.ts +4 -1
- package/dist-vue/packages/components/src/chat/selectionActionEdits.d.ts +1 -1
- package/dist-vue/packages/components/src/chat/useChatFilePreview.d.ts +240 -0
- package/dist-vue/packages/components/src/chat/utils.d.ts +57 -5
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -18
- package/dist-vue/packages/composable/src/useSettledSelection.d.ts +2 -2
- package/dist-vue/packages/models/src/schema/Agent.d.ts +21 -21
- package/dist-vue/packages/models/src/schema/Chart.d.ts +91 -0
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +6 -6
- package/dist-vue/packages/models/src/schema/SelectionAction.d.ts +11 -11
- package/dist-vue/packages/models/src/schema/SelectionActionPreview.d.ts +3 -3
- package/dist-vue/packages/models/src/schema/SpreadsheetPreview.d.ts +381 -0
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +6 -6
- package/dist-vue/packages/models/src/schema/WordPreview.d.ts +304 -0
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/PkChart-CbtMRGWc.js.map +0 -1
- package/dist/_chunks/PkFilePreview-DC4iX7Yc.js +0 -1665
- package/dist/_chunks/PkFilePreview-DC4iX7Yc.js.map +0 -1
- package/dist/_chunks/PkSelectionActions-BbfVZY0R.js.map +0 -1
- package/dist/_chunks/PkToolShowChart-DZWu3Yuo.js +0 -224
- package/dist/_chunks/PkToolShowChart-DZWu3Yuo.js.map +0 -1
- package/dist/_chunks/excelNumberFormat-BhQjife9.js.map +0 -1
- package/dist/_chunks/utils-DMvy5QRR.js.map +0 -1
- package/dist-vue/_chunks/PkChart-D-K7nc0g.js.map +0 -1
- package/dist-vue/_chunks/PkFilePreview-k5gEl3n8.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowChart-BQXxaPIO.js +0 -217
- package/dist-vue/_chunks/PkToolShowChart-BQXxaPIO.js.map +0 -1
- package/dist-vue/_chunks/excelNumberFormat-C1sCQrOz.js.map +0 -1
- package/dist-vue/_chunks/utils-KBB6SDPn.js.map +0 -1
package/dist-vue/locales.js
CHANGED
|
@@ -631,6 +631,7 @@ var e = {
|
|
|
631
631
|
eager: "Eager"
|
|
632
632
|
},
|
|
633
633
|
chart: {
|
|
634
|
+
series: "Series {n}",
|
|
634
635
|
showChart: "Chart",
|
|
635
636
|
showTable: "Table",
|
|
636
637
|
copyData: "Copy data",
|
|
@@ -855,6 +856,8 @@ var e = {
|
|
|
855
856
|
chatFilePreview: {
|
|
856
857
|
restore: "Restore this version",
|
|
857
858
|
open: "Open",
|
|
859
|
+
chart: "Chart",
|
|
860
|
+
chartNotDrawn: "The preview does not draw this kind of chart.",
|
|
858
861
|
modeMarkup: "With changes",
|
|
859
862
|
modeAccepted: "Accepted",
|
|
860
863
|
modeOriginal: "Original",
|
|
@@ -1649,6 +1652,7 @@ var e = {
|
|
|
1649
1652
|
eager: "Pronto"
|
|
1650
1653
|
},
|
|
1651
1654
|
chart: {
|
|
1655
|
+
series: "Serie {n}",
|
|
1652
1656
|
showChart: "Grafico",
|
|
1653
1657
|
showTable: "Tabella",
|
|
1654
1658
|
copyData: "Copia dati",
|
|
@@ -1873,6 +1877,8 @@ var e = {
|
|
|
1873
1877
|
chatFilePreview: {
|
|
1874
1878
|
restore: "Ripristina questa versione",
|
|
1875
1879
|
open: "Apri",
|
|
1880
|
+
chart: "Grafico",
|
|
1881
|
+
chartNotDrawn: "L'anteprima non disegna questo tipo di grafico.",
|
|
1876
1882
|
modeMarkup: "Con le revisioni",
|
|
1877
1883
|
modeAccepted: "Accettate",
|
|
1878
1884
|
modeOriginal: "Originale",
|
|
@@ -431,7 +431,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
431
431
|
id: string;
|
|
432
432
|
label: Record<string, string>;
|
|
433
433
|
prompt: Record<string, string>;
|
|
434
|
-
icon?: "map" | "filter" | "card" | "
|
|
434
|
+
icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
|
|
435
435
|
}[];
|
|
436
436
|
}> | undefined) => any;
|
|
437
437
|
"update:selectionActionsWord": (value: Partial<{
|
|
@@ -441,7 +441,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
441
441
|
id: string;
|
|
442
442
|
label: Record<string, string>;
|
|
443
443
|
prompt: Record<string, string>;
|
|
444
|
-
icon?: "map" | "filter" | "card" | "
|
|
444
|
+
icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
|
|
445
445
|
}[];
|
|
446
446
|
}> | undefined) => any;
|
|
447
447
|
"update:selectionActionsExcel": (value: Partial<{
|
|
@@ -451,7 +451,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
451
451
|
id: string;
|
|
452
452
|
label: Record<string, string>;
|
|
453
453
|
prompt: Record<string, string>;
|
|
454
|
-
icon?: "map" | "filter" | "card" | "
|
|
454
|
+
icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
|
|
455
455
|
}[];
|
|
456
456
|
}> | undefined) => any;
|
|
457
457
|
"update:confirmationsAllowAutomatic": (value: boolean) => any;
|
|
@@ -735,7 +735,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
735
735
|
id: string;
|
|
736
736
|
label: Record<string, string>;
|
|
737
737
|
prompt: Record<string, string>;
|
|
738
|
-
icon?: "map" | "filter" | "card" | "
|
|
738
|
+
icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
|
|
739
739
|
}[];
|
|
740
740
|
}> | undefined) => any) | undefined;
|
|
741
741
|
"onUpdate:selectionActionsWord"?: ((value: Partial<{
|
|
@@ -745,7 +745,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
745
745
|
id: string;
|
|
746
746
|
label: Record<string, string>;
|
|
747
747
|
prompt: Record<string, string>;
|
|
748
|
-
icon?: "map" | "filter" | "card" | "
|
|
748
|
+
icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
|
|
749
749
|
}[];
|
|
750
750
|
}> | undefined) => any) | undefined;
|
|
751
751
|
"onUpdate:selectionActionsExcel"?: ((value: Partial<{
|
|
@@ -755,7 +755,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
755
755
|
id: string;
|
|
756
756
|
label: Record<string, string>;
|
|
757
757
|
prompt: Record<string, string>;
|
|
758
|
-
icon?: "map" | "filter" | "card" | "
|
|
758
|
+
icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
|
|
759
759
|
}[];
|
|
760
760
|
}> | undefined) => any) | undefined;
|
|
761
761
|
"onUpdate:confirmationsAllowAutomatic"?: ((value: boolean) => any) | undefined;
|
|
@@ -6,10 +6,18 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
6
6
|
* design system's graphic roles, the tones from its semantic ones. The
|
|
7
7
|
* colors are read inside this element, so in the widget they are the
|
|
8
8
|
* widget's own and not the host page's.
|
|
9
|
+
*
|
|
10
|
+
* On `paper` it draws a chart of a file in the file's viewer (F4): on the
|
|
11
|
+
* white of the sheet or the page in both themes, in Office's grey ink,
|
|
12
|
+
* with the file's `colors` (one per series, or one per slice), its
|
|
13
|
+
* `legend` where the file puts one, and its title inside.
|
|
9
14
|
*/
|
|
10
15
|
type __VLS_Props = {
|
|
11
16
|
chart: Chart;
|
|
12
17
|
isDark?: boolean;
|
|
18
|
+
paper?: boolean;
|
|
19
|
+
colors?: string[];
|
|
20
|
+
legend?: 'top' | 'bottom' | 'left' | 'right';
|
|
13
21
|
};
|
|
14
22
|
declare const __VLS_export: DefineComponent<__VLS_Props, {
|
|
15
23
|
toBlob: () => Promise<Blob | null>;
|
|
@@ -100,7 +100,7 @@ declare var __VLS_35: {
|
|
|
100
100
|
part: TextUIPart;
|
|
101
101
|
index: number;
|
|
102
102
|
isLoading: boolean;
|
|
103
|
-
}, __VLS_128: "
|
|
103
|
+
}, __VLS_128: "text" | "custom" | "reasoning" | "dynamic-tool" | "source-url" | "source-document" | "reasoning-file" | "step-start" | `data-${string}` | `tool-${string}`, __VLS_129: {
|
|
104
104
|
message: UIChatMessage;
|
|
105
105
|
part: TextUIPart | CustomContentUIPart | ReasoningUIPart | DynamicToolUIPart | SourceUrlUIPart | SourceDocumentUIPart | ReasoningFileUIPart | StepStartUIPart | {
|
|
106
106
|
type: `data-${string}`;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PreviewChart } from '../../../models/src';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* A native chart of an Excel or a Word file in its viewer (spec
|
|
5
|
+
* `chat-charts.md`, F4), at the size its box gives it: drawn on the
|
|
6
|
+
* file's white, in its colors, as Office draws it; a kind the chat does
|
|
7
|
+
* not draw is a placeholder with its title.
|
|
8
|
+
*/
|
|
9
|
+
type __VLS_Props = {
|
|
10
|
+
preview: PreviewChart;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: typeof __VLS_export;
|
|
14
|
+
export default _default;
|
|
@@ -11,9 +11,9 @@ type __VLS_ModelProps = {
|
|
|
11
11
|
modelValue?: SelectionActionIcon | undefined;
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_export: DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
14
|
-
"update:modelValue": (value: "map" | "filter" | "card" | "
|
|
14
|
+
"update:modelValue": (value: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined) => any;
|
|
15
15
|
}, string, PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
|
|
16
|
-
"onUpdate:modelValue"?: ((value: "map" | "filter" | "card" | "
|
|
16
|
+
"onUpdate:modelValue"?: ((value: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined) => any) | undefined;
|
|
17
17
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
export default _default;
|
|
@@ -27,6 +27,12 @@ type __VLS_Props = {
|
|
|
27
27
|
isDark?: boolean;
|
|
28
28
|
/** The action came from the keyboard: the focus the bar had moves here. */
|
|
29
29
|
takeFocus?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* On a touch screen the text stays selected, with the system's menu
|
|
32
|
+
* above it: the card goes below first, and above only clear of that
|
|
33
|
+
* menu, which covered its buttons on Android.
|
|
34
|
+
*/
|
|
35
|
+
touch?: boolean;
|
|
30
36
|
};
|
|
31
37
|
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
32
38
|
continue: () => any;
|
|
@@ -12,7 +12,10 @@ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOp
|
|
|
12
12
|
* Word positions it from its paragraph; one positioned on the page is
|
|
13
13
|
* the page's to draw. Without the page (in a cell, or where the text
|
|
14
14
|
* flows) every image sits in the text. An image the preview could not
|
|
15
|
-
* read is a placeholder. A
|
|
15
|
+
* read is a placeholder. A native chart is drawn at its size where an
|
|
16
|
+
* image would be (spec `chat-charts.md`, F4); one Word positions on the
|
|
17
|
+
* page sits in its paragraph. A page number field shows the page's
|
|
18
|
+
* number.
|
|
16
19
|
*/
|
|
17
20
|
type __VLS_Props = {
|
|
18
21
|
runs: WordPreviewRun[];
|
|
@@ -17,7 +17,7 @@ export declare const withoutUnwritten: (actions: SelectionAction[]) => {
|
|
|
17
17
|
id: string;
|
|
18
18
|
label: Record<string, string>;
|
|
19
19
|
prompt: Record<string, string>;
|
|
20
|
-
icon?: "map" | "filter" | "card" | "
|
|
20
|
+
icon?: "map" | "filter" | "card" | "text" | "check" | "key" | "sparkles" | "magic" | "idea" | "star" | "heart" | "lightning" | "fire" | "rocket" | "pen" | "pencil" | "paragraph" | "quote" | "list" | "checklist" | "highlighter" | "document" | "folder" | "book" | "bookmark" | "clipboard" | "draft" | "contract" | "attachment" | "archive" | "search" | "eye" | "questions" | "pie-chart" | "line-chart" | "table" | "database" | "calculator" | "percent" | "scales" | "euro" | "dollar" | "wallet" | "bank" | "cart" | "price-tag" | "bill" | "gift" | "shop" | "truck" | "shield" | "lock" | "gavel" | "institution" | "passport" | "person" | "team" | "group" | "smile" | "handshake" | "support" | "contacts" | "mail" | "send" | "speech" | "phone" | "megaphone" | "bell" | "share" | "link" | "globe" | "calendar" | "event" | "clock" | "timer" | "history" | "hourglass" | "plane" | "car" | "train" | "ship" | "pin" | "compass" | "bed" | "suitcase" | "home" | "building" | "flag" | "earth" | "sun" | "umbrella" | "heartbeat" | "capsule" | "first-aid" | "restaurant" | "cup" | "leaf" | "plant" | "recycle" | "school" | "graduation" | "brain" | "puzzle" | "award" | "trophy" | "settings" | "tools" | "code" | "bug" | "robot" | "cloud" | "flask" | "microscope" | "cross" | "warning" | "information" | "refresh" | "swap" | "arrow" | "thumbs-up" | "target" | "palette" | "image" | "music" | "video" | "microphone" | undefined;
|
|
21
21
|
}[];
|
|
22
22
|
/**
|
|
23
23
|
* The languages the list is written in, a tab each: the agent's, then any
|
|
@@ -46,6 +46,18 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
46
46
|
wrap: "behind" | "front" | "around" | "block";
|
|
47
47
|
} | undefined;
|
|
48
48
|
} | undefined;
|
|
49
|
+
chart?: {
|
|
50
|
+
ref: string;
|
|
51
|
+
width: number;
|
|
52
|
+
height: number;
|
|
53
|
+
anchor?: {
|
|
54
|
+
x: number;
|
|
55
|
+
y: number;
|
|
56
|
+
xFrom: "page" | "margin";
|
|
57
|
+
yFrom: "page" | "paragraph" | "margin";
|
|
58
|
+
wrap: "behind" | "front" | "around" | "block";
|
|
59
|
+
} | undefined;
|
|
60
|
+
} | undefined;
|
|
49
61
|
field?: "page" | "pages" | "sectionPages" | undefined;
|
|
50
62
|
label?: true | undefined;
|
|
51
63
|
}[];
|
|
@@ -96,6 +108,18 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
96
108
|
wrap: "behind" | "front" | "around" | "block";
|
|
97
109
|
} | undefined;
|
|
98
110
|
} | undefined;
|
|
111
|
+
chart?: {
|
|
112
|
+
ref: string;
|
|
113
|
+
width: number;
|
|
114
|
+
height: number;
|
|
115
|
+
anchor?: {
|
|
116
|
+
x: number;
|
|
117
|
+
y: number;
|
|
118
|
+
xFrom: "page" | "margin";
|
|
119
|
+
yFrom: "page" | "paragraph" | "margin";
|
|
120
|
+
wrap: "behind" | "front" | "around" | "block";
|
|
121
|
+
} | undefined;
|
|
122
|
+
} | undefined;
|
|
99
123
|
field?: "page" | "pages" | "sectionPages" | undefined;
|
|
100
124
|
label?: true | undefined;
|
|
101
125
|
}[];
|
|
@@ -147,6 +171,18 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
147
171
|
wrap: "behind" | "front" | "around" | "block";
|
|
148
172
|
} | undefined;
|
|
149
173
|
} | undefined;
|
|
174
|
+
chart?: {
|
|
175
|
+
ref: string;
|
|
176
|
+
width: number;
|
|
177
|
+
height: number;
|
|
178
|
+
anchor?: {
|
|
179
|
+
x: number;
|
|
180
|
+
y: number;
|
|
181
|
+
xFrom: "page" | "margin";
|
|
182
|
+
yFrom: "page" | "paragraph" | "margin";
|
|
183
|
+
wrap: "behind" | "front" | "around" | "block";
|
|
184
|
+
} | undefined;
|
|
185
|
+
} | undefined;
|
|
150
186
|
field?: "page" | "pages" | "sectionPages" | undefined;
|
|
151
187
|
label?: true | undefined;
|
|
152
188
|
}[];
|
|
@@ -235,6 +271,18 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
235
271
|
wrap: "behind" | "front" | "around" | "block";
|
|
236
272
|
} | undefined;
|
|
237
273
|
} | undefined;
|
|
274
|
+
chart?: {
|
|
275
|
+
ref: string;
|
|
276
|
+
width: number;
|
|
277
|
+
height: number;
|
|
278
|
+
anchor?: {
|
|
279
|
+
x: number;
|
|
280
|
+
y: number;
|
|
281
|
+
xFrom: "page" | "margin";
|
|
282
|
+
yFrom: "page" | "paragraph" | "margin";
|
|
283
|
+
wrap: "behind" | "front" | "around" | "block";
|
|
284
|
+
} | undefined;
|
|
285
|
+
} | undefined;
|
|
238
286
|
field?: "page" | "pages" | "sectionPages" | undefined;
|
|
239
287
|
label?: true | undefined;
|
|
240
288
|
}[];
|
|
@@ -285,6 +333,18 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
285
333
|
wrap: "behind" | "front" | "around" | "block";
|
|
286
334
|
} | undefined;
|
|
287
335
|
} | undefined;
|
|
336
|
+
chart?: {
|
|
337
|
+
ref: string;
|
|
338
|
+
width: number;
|
|
339
|
+
height: number;
|
|
340
|
+
anchor?: {
|
|
341
|
+
x: number;
|
|
342
|
+
y: number;
|
|
343
|
+
xFrom: "page" | "margin";
|
|
344
|
+
yFrom: "page" | "paragraph" | "margin";
|
|
345
|
+
wrap: "behind" | "front" | "around" | "block";
|
|
346
|
+
} | undefined;
|
|
347
|
+
} | undefined;
|
|
288
348
|
field?: "page" | "pages" | "sectionPages" | undefined;
|
|
289
349
|
label?: true | undefined;
|
|
290
350
|
}[];
|
|
@@ -336,6 +396,18 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
336
396
|
wrap: "behind" | "front" | "around" | "block";
|
|
337
397
|
} | undefined;
|
|
338
398
|
} | undefined;
|
|
399
|
+
chart?: {
|
|
400
|
+
ref: string;
|
|
401
|
+
width: number;
|
|
402
|
+
height: number;
|
|
403
|
+
anchor?: {
|
|
404
|
+
x: number;
|
|
405
|
+
y: number;
|
|
406
|
+
xFrom: "page" | "margin";
|
|
407
|
+
yFrom: "page" | "paragraph" | "margin";
|
|
408
|
+
wrap: "behind" | "front" | "around" | "block";
|
|
409
|
+
} | undefined;
|
|
410
|
+
} | undefined;
|
|
339
411
|
field?: "page" | "pages" | "sectionPages" | undefined;
|
|
340
412
|
label?: true | undefined;
|
|
341
413
|
}[];
|
|
@@ -353,6 +425,26 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
353
425
|
})[]> | undefined;
|
|
354
426
|
evenAndOddHeaders?: true | undefined;
|
|
355
427
|
images?: Record<string, string> | undefined;
|
|
428
|
+
charts?: Record<string, {
|
|
429
|
+
chart?: {
|
|
430
|
+
type: "line" | "bar" | "pie" | "doughnut";
|
|
431
|
+
categories: string[];
|
|
432
|
+
series: {
|
|
433
|
+
name: string;
|
|
434
|
+
values: (number | null)[];
|
|
435
|
+
tone?: "warning" | "positive" | "negative" | "critical" | "neutral" | undefined;
|
|
436
|
+
}[];
|
|
437
|
+
title?: string | undefined;
|
|
438
|
+
horizontal?: boolean | undefined;
|
|
439
|
+
stacked?: boolean | undefined;
|
|
440
|
+
valueLabel?: string | undefined;
|
|
441
|
+
categoryLabel?: string | undefined;
|
|
442
|
+
format?: "number" | "percent" | "currency" | undefined;
|
|
443
|
+
} | undefined;
|
|
444
|
+
colors?: string[] | undefined;
|
|
445
|
+
legend?: "bottom" | "left" | "right" | "top" | undefined;
|
|
446
|
+
title?: string | undefined;
|
|
447
|
+
}> | undefined;
|
|
356
448
|
} | {
|
|
357
449
|
kind: "spreadsheet";
|
|
358
450
|
sheets: {
|
|
@@ -394,6 +486,34 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
394
486
|
rows: number;
|
|
395
487
|
cols: number;
|
|
396
488
|
} | undefined;
|
|
489
|
+
charts?: {
|
|
490
|
+
col: number;
|
|
491
|
+
row: number;
|
|
492
|
+
x: number;
|
|
493
|
+
y: number;
|
|
494
|
+
width: number;
|
|
495
|
+
height: number;
|
|
496
|
+
lastCol: number;
|
|
497
|
+
lastRow: number;
|
|
498
|
+
chart?: {
|
|
499
|
+
type: "line" | "bar" | "pie" | "doughnut";
|
|
500
|
+
categories: string[];
|
|
501
|
+
series: {
|
|
502
|
+
name: string;
|
|
503
|
+
values: (number | null)[];
|
|
504
|
+
tone?: "warning" | "positive" | "negative" | "critical" | "neutral" | undefined;
|
|
505
|
+
}[];
|
|
506
|
+
title?: string | undefined;
|
|
507
|
+
horizontal?: boolean | undefined;
|
|
508
|
+
stacked?: boolean | undefined;
|
|
509
|
+
valueLabel?: string | undefined;
|
|
510
|
+
categoryLabel?: string | undefined;
|
|
511
|
+
format?: "number" | "percent" | "currency" | undefined;
|
|
512
|
+
} | undefined;
|
|
513
|
+
colors?: string[] | undefined;
|
|
514
|
+
legend?: "bottom" | "left" | "right" | "top" | undefined;
|
|
515
|
+
title?: string | undefined;
|
|
516
|
+
}[] | undefined;
|
|
397
517
|
}[];
|
|
398
518
|
styles: {
|
|
399
519
|
bold?: true | undefined;
|
|
@@ -462,6 +582,18 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
462
582
|
wrap: "behind" | "front" | "around" | "block";
|
|
463
583
|
} | undefined;
|
|
464
584
|
} | undefined;
|
|
585
|
+
chart?: {
|
|
586
|
+
ref: string;
|
|
587
|
+
width: number;
|
|
588
|
+
height: number;
|
|
589
|
+
anchor?: {
|
|
590
|
+
x: number;
|
|
591
|
+
y: number;
|
|
592
|
+
xFrom: "page" | "margin";
|
|
593
|
+
yFrom: "page" | "paragraph" | "margin";
|
|
594
|
+
wrap: "behind" | "front" | "around" | "block";
|
|
595
|
+
} | undefined;
|
|
596
|
+
} | undefined;
|
|
465
597
|
field?: "page" | "pages" | "sectionPages" | undefined;
|
|
466
598
|
label?: true | undefined;
|
|
467
599
|
}[];
|
|
@@ -512,6 +644,18 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
512
644
|
wrap: "behind" | "front" | "around" | "block";
|
|
513
645
|
} | undefined;
|
|
514
646
|
} | undefined;
|
|
647
|
+
chart?: {
|
|
648
|
+
ref: string;
|
|
649
|
+
width: number;
|
|
650
|
+
height: number;
|
|
651
|
+
anchor?: {
|
|
652
|
+
x: number;
|
|
653
|
+
y: number;
|
|
654
|
+
xFrom: "page" | "margin";
|
|
655
|
+
yFrom: "page" | "paragraph" | "margin";
|
|
656
|
+
wrap: "behind" | "front" | "around" | "block";
|
|
657
|
+
} | undefined;
|
|
658
|
+
} | undefined;
|
|
515
659
|
field?: "page" | "pages" | "sectionPages" | undefined;
|
|
516
660
|
label?: true | undefined;
|
|
517
661
|
}[];
|
|
@@ -563,6 +707,18 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
563
707
|
wrap: "behind" | "front" | "around" | "block";
|
|
564
708
|
} | undefined;
|
|
565
709
|
} | undefined;
|
|
710
|
+
chart?: {
|
|
711
|
+
ref: string;
|
|
712
|
+
width: number;
|
|
713
|
+
height: number;
|
|
714
|
+
anchor?: {
|
|
715
|
+
x: number;
|
|
716
|
+
y: number;
|
|
717
|
+
xFrom: "page" | "margin";
|
|
718
|
+
yFrom: "page" | "paragraph" | "margin";
|
|
719
|
+
wrap: "behind" | "front" | "around" | "block";
|
|
720
|
+
} | undefined;
|
|
721
|
+
} | undefined;
|
|
566
722
|
field?: "page" | "pages" | "sectionPages" | undefined;
|
|
567
723
|
label?: true | undefined;
|
|
568
724
|
}[];
|
|
@@ -651,6 +807,18 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
651
807
|
wrap: "behind" | "front" | "around" | "block";
|
|
652
808
|
} | undefined;
|
|
653
809
|
} | undefined;
|
|
810
|
+
chart?: {
|
|
811
|
+
ref: string;
|
|
812
|
+
width: number;
|
|
813
|
+
height: number;
|
|
814
|
+
anchor?: {
|
|
815
|
+
x: number;
|
|
816
|
+
y: number;
|
|
817
|
+
xFrom: "page" | "margin";
|
|
818
|
+
yFrom: "page" | "paragraph" | "margin";
|
|
819
|
+
wrap: "behind" | "front" | "around" | "block";
|
|
820
|
+
} | undefined;
|
|
821
|
+
} | undefined;
|
|
654
822
|
field?: "page" | "pages" | "sectionPages" | undefined;
|
|
655
823
|
label?: true | undefined;
|
|
656
824
|
}[];
|
|
@@ -701,6 +869,18 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
701
869
|
wrap: "behind" | "front" | "around" | "block";
|
|
702
870
|
} | undefined;
|
|
703
871
|
} | undefined;
|
|
872
|
+
chart?: {
|
|
873
|
+
ref: string;
|
|
874
|
+
width: number;
|
|
875
|
+
height: number;
|
|
876
|
+
anchor?: {
|
|
877
|
+
x: number;
|
|
878
|
+
y: number;
|
|
879
|
+
xFrom: "page" | "margin";
|
|
880
|
+
yFrom: "page" | "paragraph" | "margin";
|
|
881
|
+
wrap: "behind" | "front" | "around" | "block";
|
|
882
|
+
} | undefined;
|
|
883
|
+
} | undefined;
|
|
704
884
|
field?: "page" | "pages" | "sectionPages" | undefined;
|
|
705
885
|
label?: true | undefined;
|
|
706
886
|
}[];
|
|
@@ -752,6 +932,18 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
752
932
|
wrap: "behind" | "front" | "around" | "block";
|
|
753
933
|
} | undefined;
|
|
754
934
|
} | undefined;
|
|
935
|
+
chart?: {
|
|
936
|
+
ref: string;
|
|
937
|
+
width: number;
|
|
938
|
+
height: number;
|
|
939
|
+
anchor?: {
|
|
940
|
+
x: number;
|
|
941
|
+
y: number;
|
|
942
|
+
xFrom: "page" | "margin";
|
|
943
|
+
yFrom: "page" | "paragraph" | "margin";
|
|
944
|
+
wrap: "behind" | "front" | "around" | "block";
|
|
945
|
+
} | undefined;
|
|
946
|
+
} | undefined;
|
|
755
947
|
field?: "page" | "pages" | "sectionPages" | undefined;
|
|
756
948
|
label?: true | undefined;
|
|
757
949
|
}[];
|
|
@@ -769,6 +961,26 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
769
961
|
})[]> | undefined;
|
|
770
962
|
evenAndOddHeaders?: true | undefined;
|
|
771
963
|
images?: Record<string, string> | undefined;
|
|
964
|
+
charts?: Record<string, {
|
|
965
|
+
chart?: {
|
|
966
|
+
type: "line" | "bar" | "pie" | "doughnut";
|
|
967
|
+
categories: string[];
|
|
968
|
+
series: {
|
|
969
|
+
name: string;
|
|
970
|
+
values: (number | null)[];
|
|
971
|
+
tone?: "warning" | "positive" | "negative" | "critical" | "neutral" | undefined;
|
|
972
|
+
}[];
|
|
973
|
+
title?: string | undefined;
|
|
974
|
+
horizontal?: boolean | undefined;
|
|
975
|
+
stacked?: boolean | undefined;
|
|
976
|
+
valueLabel?: string | undefined;
|
|
977
|
+
categoryLabel?: string | undefined;
|
|
978
|
+
format?: "number" | "percent" | "currency" | undefined;
|
|
979
|
+
} | undefined;
|
|
980
|
+
colors?: string[] | undefined;
|
|
981
|
+
legend?: "bottom" | "left" | "right" | "top" | undefined;
|
|
982
|
+
title?: string | undefined;
|
|
983
|
+
}> | undefined;
|
|
772
984
|
} | {
|
|
773
985
|
kind: "spreadsheet";
|
|
774
986
|
sheets: {
|
|
@@ -810,6 +1022,34 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
810
1022
|
rows: number;
|
|
811
1023
|
cols: number;
|
|
812
1024
|
} | undefined;
|
|
1025
|
+
charts?: {
|
|
1026
|
+
col: number;
|
|
1027
|
+
row: number;
|
|
1028
|
+
x: number;
|
|
1029
|
+
y: number;
|
|
1030
|
+
width: number;
|
|
1031
|
+
height: number;
|
|
1032
|
+
lastCol: number;
|
|
1033
|
+
lastRow: number;
|
|
1034
|
+
chart?: {
|
|
1035
|
+
type: "line" | "bar" | "pie" | "doughnut";
|
|
1036
|
+
categories: string[];
|
|
1037
|
+
series: {
|
|
1038
|
+
name: string;
|
|
1039
|
+
values: (number | null)[];
|
|
1040
|
+
tone?: "warning" | "positive" | "negative" | "critical" | "neutral" | undefined;
|
|
1041
|
+
}[];
|
|
1042
|
+
title?: string | undefined;
|
|
1043
|
+
horizontal?: boolean | undefined;
|
|
1044
|
+
stacked?: boolean | undefined;
|
|
1045
|
+
valueLabel?: string | undefined;
|
|
1046
|
+
categoryLabel?: string | undefined;
|
|
1047
|
+
format?: "number" | "percent" | "currency" | undefined;
|
|
1048
|
+
} | undefined;
|
|
1049
|
+
colors?: string[] | undefined;
|
|
1050
|
+
legend?: "bottom" | "left" | "right" | "top" | undefined;
|
|
1051
|
+
title?: string | undefined;
|
|
1052
|
+
}[] | undefined;
|
|
813
1053
|
}[];
|
|
814
1054
|
styles: {
|
|
815
1055
|
bold?: true | undefined;
|