@8wave/ai-elements 0.125.0-beta.38 → 0.125.0-beta.39
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/dist/_chunks/{Agent-D9MWMkLp.js → Agent-CeZ3bgZ3.js} +4 -3
- package/dist/_chunks/Agent-CeZ3bgZ3.js.map +1 -0
- package/dist/_chunks/PkChart-CbtMRGWc.js +7411 -0
- package/dist/_chunks/PkChart-CbtMRGWc.js.map +1 -0
- package/dist/_chunks/{PkFilePreview-BdqdC1ml.js → PkFilePreview-CT3_vRcU.js} +3 -3
- package/dist/_chunks/{PkFilePreview-BdqdC1ml.js.map → PkFilePreview-CT3_vRcU.js.map} +1 -1
- package/dist/_chunks/{PkFilePreviewDialog-_pdW07pm.js → PkFilePreviewDialog-BOKJCapN.js} +2 -2
- package/dist/_chunks/{PkFilePreviewDialog-_pdW07pm.js.map → PkFilePreviewDialog-BOKJCapN.js.map} +1 -1
- package/dist/_chunks/{PkSelectionActions-CjAiM1G3.js → PkSelectionActions-CXQTnSXQ.js} +2 -2
- package/dist/_chunks/{PkSelectionActions-CjAiM1G3.js.map → PkSelectionActions-CXQTnSXQ.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-DKTxy47I.js → PkStreamingMarkdown-5fgxYt_s.js} +3 -3
- package/dist/_chunks/{PkStreamingMarkdown-DKTxy47I.js.map → PkStreamingMarkdown-5fgxYt_s.js.map} +1 -1
- package/dist/_chunks/{PkToolChatFile-39PrHVVm.js → PkToolChatFile-Cbmu6I0S.js} +3 -3
- package/dist/_chunks/{PkToolChatFile-39PrHVVm.js.map → PkToolChatFile-Cbmu6I0S.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-CMSIJu4c.js → PkToolRequestGeolocation-DktrQJvA.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-CMSIJu4c.js.map → PkToolRequestGeolocation-DktrQJvA.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-ClVVaEuK.js → PkToolRequestOAuthConnection-DkcLwFWl.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-ClVVaEuK.js.map → PkToolRequestOAuthConnection-DkcLwFWl.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-D1AOFL1o.js → PkToolShowArtifact-CGUmoTfN.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-D1AOFL1o.js.map → PkToolShowArtifact-CGUmoTfN.js.map} +1 -1
- package/dist/_chunks/PkToolShowChart-DZWu3Yuo.js +224 -0
- package/dist/_chunks/PkToolShowChart-DZWu3Yuo.js.map +1 -0
- package/dist/_chunks/{PkToolShowContactForm-CTitUxv_.js → PkToolShowContactForm-DZ-kgXa6.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-CTitUxv_.js.map → PkToolShowContactForm-DZ-kgXa6.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-YaDgT_04.js → PkToolShowForm-BrxNGFCH.js} +4 -4
- package/dist/_chunks/{PkToolShowForm-YaDgT_04.js.map → PkToolShowForm-BrxNGFCH.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-BVrcfe_b.js → PkToolShowImageGallery-BGTncXxq.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-BVrcfe_b.js.map → PkToolShowImageGallery-BGTncXxq.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-CYNh8YRF.js → PkToolShowProductList-k-VB4pUB.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-CYNh8YRF.js.map → PkToolShowProductList-k-VB4pUB.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-BvH0el0N.js → PkToolShowSources-B3RSUWP7.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-BvH0el0N.js.map → PkToolShowSources-B3RSUWP7.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-PHcre0Ff.js → PkToolShowSuggestedReply-DTAq41wP.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-PHcre0Ff.js.map → PkToolShowSuggestedReply-DTAq41wP.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-SiP-5Ekl.js → PkToolShowVideo-DeexblEL.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-SiP-5Ekl.js.map → PkToolShowVideo-DeexblEL.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-Co_33g_K.js → PkToolShowWebPages-C42FNo8K.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-Co_33g_K.js.map → PkToolShowWebPages-C42FNo8K.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-XBxAhi8o.js → chatImagePolicy-DlZPHhW-.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-XBxAhi8o.js.map → chatImagePolicy-DlZPHhW-.js.map} +1 -1
- package/dist/_chunks/{markdown-DGKSBppG.js → markdown-DNPhTO5l.js} +2 -2
- package/dist/_chunks/{markdown-DGKSBppG.js.map → markdown-DNPhTO5l.js.map} +1 -1
- package/dist/_chunks/{utils-DYtnrtNk.js → utils-Do6urHUh.js} +4 -4
- package/dist/_chunks/utils-Do6urHUh.js.map +1 -0
- package/dist/ai-elements.es.js +2045 -2020
- 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/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Agent-hvrlDtLK.js → Agent-ldDZiq6E.js} +4 -3
- package/dist-vue/_chunks/Agent-ldDZiq6E.js.map +1 -0
- package/dist-vue/_chunks/{Document-DXSWegFn.js → Document-BfjAfogy.js} +2 -2
- package/dist-vue/_chunks/{Document-DXSWegFn.js.map → Document-BfjAfogy.js.map} +1 -1
- package/dist-vue/_chunks/PkChart-BsF3OtnS.js +243 -0
- package/dist-vue/_chunks/PkChart-BsF3OtnS.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-CfBea2qY.js → PkChatbot-BIQh81cA.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-CfBea2qY.js.map → PkChatbot-BIQh81cA.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-BYrTqidA.js → PkChatbotEmptyState-pAeFPPQc.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-BYrTqidA.js.map → PkChatbotEmptyState-pAeFPPQc.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-Cwkz19oM.js → PkChatbotInput-DSyIo0xB.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotInput-Cwkz19oM.js.map → PkChatbotInput-DSyIo0xB.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-AkfEvXEN.js → PkChatbotMessages-CZu8feEz.js} +23 -18
- package/dist-vue/_chunks/PkChatbotMessages-CZu8feEz.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotStepPayload-C4yEGoXA.js → PkChatbotStepPayload-r25JHO7_.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-C4yEGoXA.js.map → PkChatbotStepPayload-r25JHO7_.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-DnGYrFSt.js → PkChatbotStepToolDetail-C897BpRX.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-DnGYrFSt.js.map → PkChatbotStepToolDetail-C897BpRX.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-CoP1JyWG.js → PkChatbotSteps-CRtIVwJV.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-CoP1JyWG.js.map → PkChatbotSteps-CRtIVwJV.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-CdcZrTJJ.js → PkChatbotViewChat-BBCxj4Qz.js} +369 -365
- package/dist-vue/_chunks/PkChatbotViewChat-BBCxj4Qz.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-oYUIHDwb.js → PkChatbotViewConversations-rXGl7NKA.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-oYUIHDwb.js.map → PkChatbotViewConversations-rXGl7NKA.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-C1ggPJvX.js → PkChatbotViewFiles-CsL8OhcA.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-C1ggPJvX.js.map → PkChatbotViewFiles-CsL8OhcA.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-BZJ8OZ9h.js → PkChatbotViewProfile-CFqxCK2f.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-BZJ8OZ9h.js.map → PkChatbotViewProfile-CFqxCK2f.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-DJBrACR3.js → PkFilePreview-1ZNyDAo5.js} +3 -3
- package/dist-vue/_chunks/{PkFilePreview-DJBrACR3.js.map → PkFilePreview-1ZNyDAo5.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreviewDialog-C-m04VEl.js → PkFilePreviewDialog-DnbUHGG2.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-C-m04VEl.js.map → PkFilePreviewDialog-DnbUHGG2.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-BiS7Huii.js → PkStreamingMarkdown-COQLmP8b.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-BiS7Huii.js.map → PkStreamingMarkdown-COQLmP8b.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolChatFile-DJouw7ft.js → PkToolChatFile-e-7a0k7l.js} +3 -3
- package/dist-vue/_chunks/{PkToolChatFile-DJouw7ft.js.map → PkToolChatFile-e-7a0k7l.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-Du8b17X9.js → PkToolRequestGeolocation-D1XNCvdr.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-Du8b17X9.js.map → PkToolRequestGeolocation-D1XNCvdr.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-X00hZZJe.js → PkToolRequestOAuthConnection-OTvMRYaL.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-X00hZZJe.js.map → PkToolRequestOAuthConnection-OTvMRYaL.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-BAfGUGM4.js → PkToolShowArtifact-CUP3VaC9.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-BAfGUGM4.js.map → PkToolShowArtifact-CUP3VaC9.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowChart-X6JZDAWD.js +217 -0
- package/dist-vue/_chunks/PkToolShowChart-X6JZDAWD.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowContactForm-CtJSjw8M.js → PkToolShowContactForm-BM8d9M5a.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-CtJSjw8M.js.map → PkToolShowContactForm-BM8d9M5a.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-CgOAGQCq.js → PkToolShowDiagram-DOdzpndK.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-CgOAGQCq.js.map → PkToolShowDiagram-DOdzpndK.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-BXpPnVzJ.js → PkToolShowForm-TYBf8q6g.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-BXpPnVzJ.js.map → PkToolShowForm-TYBf8q6g.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-DOsnvy1W.js → PkToolShowImageGallery-BvwuoyF6.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-DOsnvy1W.js.map → PkToolShowImageGallery-BvwuoyF6.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-Buw-GpNJ.js → PkToolShowProductList-_MHBAgNI.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-Buw-GpNJ.js.map → PkToolShowProductList-_MHBAgNI.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-CPvjMvqB.js → PkToolShowSources-CHw7qZtw.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-CPvjMvqB.js.map → PkToolShowSources-CHw7qZtw.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-HLFecN53.js → PkToolShowSuggestedReply-BVLCX5Sm.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-HLFecN53.js.map → PkToolShowSuggestedReply-BVLCX5Sm.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-DPZtAuLl.js → PkToolShowVideo-D7oiBe4p.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-DPZtAuLl.js.map → PkToolShowVideo-D7oiBe4p.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-DXjDxztJ.js → PkToolShowWebPages-CRq9Jhmw.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-DXjDxztJ.js.map → PkToolShowWebPages-CRq9Jhmw.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-CWLca1yc.js → createChatbotApiClient-CGeNprai.js} +2 -2
- package/dist-vue/_chunks/{createChatbotApiClient-CWLca1yc.js.map → createChatbotApiClient-CGeNprai.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-CNQ8lTub.js → useChatbotStore-KXAltGz3.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-CNQ8lTub.js.map → useChatbotStore-KXAltGz3.js.map} +1 -1
- package/dist-vue/_chunks/{utils-Dqyng-2B.js → utils-Do3JWPJe.js} +4 -4
- package/dist-vue/_chunks/utils-Do3JWPJe.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +28 -12
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +28 -27
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +22 -4
- package/dist-vue/packages/components/src/chat/PkChart.d.ts +18 -0
- package/dist-vue/packages/components/src/chat/PkChartCard.d.ts +16 -0
- package/dist-vue/packages/components/src/chat/PkToolShowChart.d.ts +12 -0
- package/dist-vue/packages/components/src/chat/chartFormat.d.ts +21 -0
- package/dist-vue/packages/components/src/chat/useChatFilePreview.d.ts +2 -2
- package/dist-vue/packages/composable/src/cssColor.d.ts +44 -0
- package/dist-vue/packages/composable/src/index.d.ts +1 -0
- package/dist-vue/packages/models/src/schema/Agent.d.ts +2 -0
- package/dist-vue/packages/models/src/schema/Chart.d.ts +147 -0
- package/dist-vue/packages/models/src/schema/Document.d.ts +2 -2
- package/dist-vue/packages/models/src/schema/Invitation.d.ts +1 -1
- package/dist-vue/packages/models/src/schema/Lead.d.ts +3 -3
- package/dist-vue/packages/models/src/schema/SelectionAction.d.ts +1 -1
- package/dist-vue/packages/models/src/schema/SpreadsheetPreview.d.ts +5 -5
- package/dist-vue/packages/models/src/schema/index.d.ts +1 -0
- package/dist-vue/style.css +1 -1
- package/package.json +2 -1
- package/dist/_chunks/Agent-D9MWMkLp.js.map +0 -1
- package/dist/_chunks/utils-DYtnrtNk.js.map +0 -1
- package/dist-vue/_chunks/Agent-hvrlDtLK.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-AkfEvXEN.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-CdcZrTJJ.js.map +0 -1
- package/dist-vue/_chunks/utils-Dqyng-2B.js.map +0 -1
package/dist-vue/locales.js
CHANGED
|
@@ -30,6 +30,8 @@ var e = {
|
|
|
30
30
|
view: "View",
|
|
31
31
|
editSchema: "Edit schema",
|
|
32
32
|
close: "Close",
|
|
33
|
+
copied: "Copied",
|
|
34
|
+
download: "Download",
|
|
33
35
|
toggleSidebar: "Open or close the sidebar",
|
|
34
36
|
focusMessage: "Go to the message field",
|
|
35
37
|
showShortcuts: "Show keyboard shortcuts",
|
|
@@ -53,7 +55,6 @@ var e = {
|
|
|
53
55
|
signUp: "Sign up",
|
|
54
56
|
retryNow: "Try again now",
|
|
55
57
|
feedback: "I want to make a report",
|
|
56
|
-
download: "Download",
|
|
57
58
|
open: "Open",
|
|
58
59
|
attachFile: "Attach a file",
|
|
59
60
|
takePhoto: "Take a photo",
|
|
@@ -72,7 +73,6 @@ var e = {
|
|
|
72
73
|
deleteMyConversations: "Delete my conversations",
|
|
73
74
|
manageProfile: "Manage your profile",
|
|
74
75
|
signOut: "Sign out",
|
|
75
|
-
copied: "Copied",
|
|
76
76
|
copy: "Copy",
|
|
77
77
|
proceed: "Proceed",
|
|
78
78
|
apply: "Apply",
|
|
@@ -149,6 +149,7 @@ var e = {
|
|
|
149
149
|
noOptions: "No options",
|
|
150
150
|
geolocationPermissionDenied: "Location access denied. Allow it in your browser settings.",
|
|
151
151
|
geolocationUnavailable: "Location unavailable. Try again or enter your location manually.",
|
|
152
|
+
chartRenderError: "Could not draw the chart.",
|
|
152
153
|
contactFormRecordPrefilled: "The agent showed the contact form with these details. If the user sent it, the contact is in Contacts.",
|
|
153
154
|
contactFormRecord: "The agent showed the contact form. If the user sent it, the contact is in Contacts.",
|
|
154
155
|
leadSubmittedTitle: "Thank you!",
|
|
@@ -332,6 +333,7 @@ var e = {
|
|
|
332
333
|
imageHost: "Host",
|
|
333
334
|
imageHostsHint: "Answers and cards load images by themselves only from these hosts and from the platform.",
|
|
334
335
|
imageHostsInfo: "An image from any other host shows its host and loads on a click, so an answer cannot send the conversation to a site through an image url.",
|
|
336
|
+
chart: "Chart",
|
|
335
337
|
conversations: "Conversations",
|
|
336
338
|
newChat: "New chat",
|
|
337
339
|
keyboardShortcuts: "Keyboard shortcuts",
|
|
@@ -626,6 +628,12 @@ var e = {
|
|
|
626
628
|
normal: "Normal",
|
|
627
629
|
eager: "Eager"
|
|
628
630
|
},
|
|
631
|
+
chart: {
|
|
632
|
+
showChart: "Chart",
|
|
633
|
+
showTable: "Table",
|
|
634
|
+
copyData: "Copy data",
|
|
635
|
+
downloadPng: "Download the chart as a PNG image"
|
|
636
|
+
},
|
|
629
637
|
nav: { searchChat: "Search a chat" },
|
|
630
638
|
userFiles: {
|
|
631
639
|
chatFilesTitle: "Files in this chat",
|
|
@@ -727,6 +735,7 @@ var e = {
|
|
|
727
735
|
saveUserMemory: "Updating user memory…",
|
|
728
736
|
showWeather: "Loading forecast…",
|
|
729
737
|
showForm: "Creating form…",
|
|
738
|
+
showChart: "Drawing chart…",
|
|
730
739
|
showDiagram: "Rendering diagram…",
|
|
731
740
|
showSources: "Loading sources…",
|
|
732
741
|
showMultipleChoice: "Show the options…",
|
|
@@ -1033,6 +1042,8 @@ var e = {
|
|
|
1033
1042
|
view: "Visualizza",
|
|
1034
1043
|
editSchema: "Modifica schema",
|
|
1035
1044
|
close: "Chiudi",
|
|
1045
|
+
copied: "Copiato",
|
|
1046
|
+
download: "Scarica",
|
|
1036
1047
|
toggleSidebar: "Apri o chiudi la sidebar",
|
|
1037
1048
|
focusMessage: "Vai al campo del messaggio",
|
|
1038
1049
|
showShortcuts: "Mostra le scorciatoie da tastiera",
|
|
@@ -1056,7 +1067,6 @@ var e = {
|
|
|
1056
1067
|
signUp: "Registrati",
|
|
1057
1068
|
retryNow: "Riprova ora",
|
|
1058
1069
|
feedback: "Voglio fare una segnalazione",
|
|
1059
|
-
download: "Scarica",
|
|
1060
1070
|
open: "Apri",
|
|
1061
1071
|
attachFile: "Allega un file",
|
|
1062
1072
|
takePhoto: "Scatta una foto",
|
|
@@ -1075,7 +1085,6 @@ var e = {
|
|
|
1075
1085
|
deleteMyConversations: "Cancella le mie conversazioni",
|
|
1076
1086
|
manageProfile: "Gestisci il tuo profilo",
|
|
1077
1087
|
signOut: "Esci",
|
|
1078
|
-
copied: "Copiato",
|
|
1079
1088
|
copy: "Copia",
|
|
1080
1089
|
proceed: "Procedi",
|
|
1081
1090
|
apply: "Applica",
|
|
@@ -1152,6 +1161,7 @@ var e = {
|
|
|
1152
1161
|
noOptions: "Nessun elemento",
|
|
1153
1162
|
geolocationPermissionDenied: "Accesso alla posizione negato. Consentilo nelle impostazioni del browser.",
|
|
1154
1163
|
geolocationUnavailable: "Posizione non disponibile. Riprova o inserisci la posizione manualmente.",
|
|
1164
|
+
chartRenderError: "Impossibile disegnare il grafico.",
|
|
1155
1165
|
contactFormRecordPrefilled: "L'agente ha mostrato il modulo di contatto con questi dati. Se l'utente l'ha inviato, il contatto è in Contatti.",
|
|
1156
1166
|
contactFormRecord: "L'agente ha mostrato il modulo di contatto. Se l'utente l'ha inviato, il contatto è in Contatti.",
|
|
1157
1167
|
leadSubmittedTitle: "Grazie!",
|
|
@@ -1335,6 +1345,7 @@ var e = {
|
|
|
1335
1345
|
imageHost: "Host",
|
|
1336
1346
|
imageHostsHint: "Risposte e card caricano da sole solo le immagini di questi host e della piattaforma.",
|
|
1337
1347
|
imageHostsInfo: "Un'immagine di un altro host mostra il suo host e si carica con un clic, così una risposta non può mandare la conversazione a un sito dentro l'url di un'immagine.",
|
|
1348
|
+
chart: "Grafico",
|
|
1338
1349
|
conversations: "Conversazioni",
|
|
1339
1350
|
newChat: "Nuova chat",
|
|
1340
1351
|
keyboardShortcuts: "Scorciatoie da tastiera",
|
|
@@ -1629,6 +1640,12 @@ var e = {
|
|
|
1629
1640
|
normal: "Normale",
|
|
1630
1641
|
eager: "Pronto"
|
|
1631
1642
|
},
|
|
1643
|
+
chart: {
|
|
1644
|
+
showChart: "Grafico",
|
|
1645
|
+
showTable: "Tabella",
|
|
1646
|
+
copyData: "Copia dati",
|
|
1647
|
+
downloadPng: "Scarica il grafico come immagine PNG"
|
|
1648
|
+
},
|
|
1632
1649
|
nav: { searchChat: "Cerca una chat" },
|
|
1633
1650
|
userFiles: {
|
|
1634
1651
|
chatFilesTitle: "File in questa chat",
|
|
@@ -1730,6 +1747,7 @@ var e = {
|
|
|
1730
1747
|
saveUserMemory: "Aggiornamento memoria utente…",
|
|
1731
1748
|
showWeather: "Caricamento previsioni…",
|
|
1732
1749
|
showForm: "Creazione form…",
|
|
1750
|
+
showChart: "Generazione grafico…",
|
|
1733
1751
|
showDiagram: "Generazione diagramma…",
|
|
1734
1752
|
showSources: "Caricamento fonti…",
|
|
1735
1753
|
showMultipleChoice: "Mostro le opzioni…",
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Chart } from '../../../models/src';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* Draws a chart described as data (spec `chat-charts.md`) with Chart.js,
|
|
5
|
+
* in the colors of the theme it sits in: the categorical palette from the
|
|
6
|
+
* design system's graphic roles, the tones from its semantic ones. The
|
|
7
|
+
* colors are read inside this element, so in the widget they are the
|
|
8
|
+
* widget's own and not the host page's.
|
|
9
|
+
*/
|
|
10
|
+
type __VLS_Props = {
|
|
11
|
+
chart: Chart;
|
|
12
|
+
isDark?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {
|
|
15
|
+
toBlob: () => Promise<Blob | null>;
|
|
16
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Chart } from '../../../models/src';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
+
/**
|
|
4
|
+
* One chart of `showChart` (spec `chat-charts.md`) in its card: the chart,
|
|
5
|
+
* the same numbers as a table, "Copy data" for a sheet and the chart as a
|
|
6
|
+
* PNG.
|
|
7
|
+
*/
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
chart: Chart;
|
|
10
|
+
/** A note below the chart, e.g. the source of the numbers. */
|
|
11
|
+
caption?: string;
|
|
12
|
+
isDark?: boolean;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* The cards of `showChart` (spec `chat-charts.md`): every chart of the
|
|
4
|
+
* call in its own card, one under the other, the caption under the last.
|
|
5
|
+
*/
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
part: unknown;
|
|
8
|
+
isDark?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const _default: typeof __VLS_export;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ChartFormat } from '../../../models/src';
|
|
2
|
+
/**
|
|
3
|
+
* How the values of a chart read, on its axis, in its tooltip and in its
|
|
4
|
+
* table: `percent` takes 0.25 as 25%, `currency` is in euro, as the model is
|
|
5
|
+
* told (spec `chat-charts.md`).
|
|
6
|
+
*/
|
|
7
|
+
export declare const chartValueFormatter: (locale: string, format?: ChartFormat) => ((value: number | null) => string);
|
|
8
|
+
/**
|
|
9
|
+
* The chart as tab-separated text: pasted in Excel or Sheets it lands in
|
|
10
|
+
* cells, one row per category and one column per series. The numbers are
|
|
11
|
+
* written in the reader's locale without grouping: an Italian Excel reads
|
|
12
|
+
* "12.5" as text or a date, "12,5" as the number.
|
|
13
|
+
*/
|
|
14
|
+
export declare const chartAsTsv: (chart: {
|
|
15
|
+
categories: string[];
|
|
16
|
+
series: {
|
|
17
|
+
name: string;
|
|
18
|
+
values: (number | null)[];
|
|
19
|
+
}[];
|
|
20
|
+
categoryLabel?: string;
|
|
21
|
+
}, locale: string) => string;
|
|
@@ -362,7 +362,7 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
362
362
|
cells: {
|
|
363
363
|
col: number;
|
|
364
364
|
value?: string | number | boolean | undefined;
|
|
365
|
-
format?: "date" | "error" | "
|
|
365
|
+
format?: "date" | "error" | "percent" | "currency" | undefined;
|
|
366
366
|
decimals?: number | undefined;
|
|
367
367
|
maxDecimals?: number | undefined;
|
|
368
368
|
currency?: string | undefined;
|
|
@@ -778,7 +778,7 @@ export declare function useChatFilePreview(read: (storedFileName: string) => Pro
|
|
|
778
778
|
cells: {
|
|
779
779
|
col: number;
|
|
780
780
|
value?: string | number | boolean | undefined;
|
|
781
|
-
format?: "date" | "error" | "
|
|
781
|
+
format?: "date" | "error" | "percent" | "currency" | undefined;
|
|
782
782
|
decimals?: number | undefined;
|
|
783
783
|
maxDecimals?: number | undefined;
|
|
784
784
|
currency?: string | undefined;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/** A color as a canvas draws it: channels 0-255, alpha 0-1. */
|
|
2
|
+
export type RgbaColor = {
|
|
3
|
+
r: number;
|
|
4
|
+
g: number;
|
|
5
|
+
b: number;
|
|
6
|
+
a: number;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Whether this browser computes the color roles of the design system, which
|
|
10
|
+
* derive from the palette with the relative color syntax and `color-mix()`.
|
|
11
|
+
*/
|
|
12
|
+
export declare const supportsColorRoles: () => boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The color a CSS expression (`var(--color-accent-graphic)`, a `color-mix()`)
|
|
15
|
+
* resolves to in a theme, in channels a canvas understands. Chart.js draws on
|
|
16
|
+
* a canvas, which reads no custom property, and the design system derives its
|
|
17
|
+
* roles in XYZ with the relative color syntax: the expression is mixed into
|
|
18
|
+
* sRGB first, so the browser hands it back as `color(srgb ...)`.
|
|
19
|
+
*
|
|
20
|
+
* Results are kept while `revision` stays the same: the caller passes what
|
|
21
|
+
* changes the colors, the theme's version and its stylesheet.
|
|
22
|
+
*/
|
|
23
|
+
export declare function resolveCssColor(expression: string, theme: 'light' | 'dark', revision: string): RgbaColor;
|
|
24
|
+
/**
|
|
25
|
+
* The colors of CSS expressions as they resolve inside `element`, with the
|
|
26
|
+
* theme and the custom properties that reach it there. In the widget that is
|
|
27
|
+
* its shadow root, which the theme scopes of {@link resolveCssColor}, on the
|
|
28
|
+
* document's body, never see. Nothing is memoized: the caller reads again
|
|
29
|
+
* when the theme changes.
|
|
30
|
+
*/
|
|
31
|
+
export declare function resolveCssColorsIn(element: Element, expressions: readonly string[]): RgbaColor[];
|
|
32
|
+
/** `#rrggbb`, ready for the hex alpha some charts append. */
|
|
33
|
+
export declare const hexString: ({ r, g, b }: RgbaColor) => string;
|
|
34
|
+
/** A `#rrggbb` color as an `rgba()` string with the alpha given. */
|
|
35
|
+
export declare function hexWithAlpha(hex: string, alpha: number): string;
|
|
36
|
+
/**
|
|
37
|
+
* `color` as a chart mark on `ground`: unchanged when it already stands 3:1
|
|
38
|
+
* off it, the contrast WCAG asks of a graphic (1.4.11), otherwise mixed
|
|
39
|
+
* toward `toward` (white on a dark ground, black on a light one) a tenth at
|
|
40
|
+
* a time until it does. An agent's own color is often black, which vanished
|
|
41
|
+
* from the bars of the dark theme, and the palette's two dark teals did too.
|
|
42
|
+
* A color that is not `#rgb` or `#rrggbb` is returned as it is.
|
|
43
|
+
*/
|
|
44
|
+
export declare function readableOn(color: string, ground: string, toward: string): string;
|
|
@@ -366,6 +366,8 @@ export declare enum AgentBuiltInTool {
|
|
|
366
366
|
FetchTeamsChannelHistory = "fetchTeamsChannelHistory",
|
|
367
367
|
ShowArtifact = "showArtifact",
|
|
368
368
|
ShowCalendarEvent = "showCalendarEvent",
|
|
369
|
+
/** `showChart`: a bar, line, pie or doughnut chart from structured data. */
|
|
370
|
+
ShowChart = "showChart",
|
|
369
371
|
ShowComparison = "showComparison",
|
|
370
372
|
ShowContactForm = "showContactForm",
|
|
371
373
|
ShowDiagram = "showDiagram",
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { AgentBuiltInTool } from './Agent';
|
|
2
|
+
import * as z from 'zod';
|
|
3
|
+
export declare const CHART_TYPES: readonly ["bar", "line", "pie", "doughnut"];
|
|
4
|
+
export type ChartType = (typeof CHART_TYPES)[number];
|
|
5
|
+
/** The meaning a series' color carries, drawn with the semantic colors. */
|
|
6
|
+
export declare const CHART_TONES: readonly ["positive", "warning", "negative", "critical", "neutral"];
|
|
7
|
+
export type ChartTone = (typeof CHART_TONES)[number];
|
|
8
|
+
export declare const CHART_FORMATS: readonly ["number", "percent", "currency"];
|
|
9
|
+
export type ChartFormat = (typeof CHART_FORMATS)[number];
|
|
10
|
+
export declare const CHART_LIMITS: {
|
|
11
|
+
readonly maxCategories: 50;
|
|
12
|
+
readonly maxSeries: 8;
|
|
13
|
+
/** Slices of a pie or a doughnut: more do not read. */
|
|
14
|
+
readonly maxSlices: 12;
|
|
15
|
+
/** Charts in one `showChart` call. */
|
|
16
|
+
readonly maxCharts: 4;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* The agent can draw a chart in the chat: with `showChart`, or with the
|
|
20
|
+
* Mermaid XY chart of `showDiagram` when it has not got the first. What the
|
|
21
|
+
* "Make a chart" selection action needs.
|
|
22
|
+
*/
|
|
23
|
+
export declare const hasChatChartTool: (disabledTools: readonly AgentBuiltInTool[]) => boolean;
|
|
24
|
+
/** A pie or a doughnut: one series, its values the slices. */
|
|
25
|
+
export declare const isRoundChart: (type: ChartType) => boolean;
|
|
26
|
+
export declare const ChartSeriesSchema: z.ZodObject<{
|
|
27
|
+
name: z.ZodString;
|
|
28
|
+
values: z.ZodArray<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
30
|
+
positive: "positive";
|
|
31
|
+
warning: "warning";
|
|
32
|
+
negative: "negative";
|
|
33
|
+
critical: "critical";
|
|
34
|
+
neutral: "neutral";
|
|
35
|
+
}>>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
export type ChartSeries = z.infer<typeof ChartSeriesSchema>;
|
|
38
|
+
/**
|
|
39
|
+
* The fields of a chart, without the checks across them: the schema a tool
|
|
40
|
+
* extends before {@link refineChart} adds those checks.
|
|
41
|
+
*/
|
|
42
|
+
export declare const ChartFieldsSchema: z.ZodObject<{
|
|
43
|
+
type: z.ZodEnum<{
|
|
44
|
+
line: "line";
|
|
45
|
+
bar: "bar";
|
|
46
|
+
pie: "pie";
|
|
47
|
+
doughnut: "doughnut";
|
|
48
|
+
}>;
|
|
49
|
+
title: z.ZodOptional<z.ZodString>;
|
|
50
|
+
horizontal: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
stacked: z.ZodOptional<z.ZodBoolean>;
|
|
52
|
+
categories: z.ZodArray<z.ZodString>;
|
|
53
|
+
series: z.ZodArray<z.ZodObject<{
|
|
54
|
+
name: z.ZodString;
|
|
55
|
+
values: z.ZodArray<z.ZodNullable<z.ZodNumber>>;
|
|
56
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
57
|
+
positive: "positive";
|
|
58
|
+
warning: "warning";
|
|
59
|
+
negative: "negative";
|
|
60
|
+
critical: "critical";
|
|
61
|
+
neutral: "neutral";
|
|
62
|
+
}>>;
|
|
63
|
+
}, z.core.$strip>>;
|
|
64
|
+
valueLabel: z.ZodOptional<z.ZodString>;
|
|
65
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
66
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
67
|
+
number: "number";
|
|
68
|
+
percent: "percent";
|
|
69
|
+
currency: "currency";
|
|
70
|
+
}>>;
|
|
71
|
+
}, z.core.$strip>;
|
|
72
|
+
/**
|
|
73
|
+
* The checks JSON Schema cannot state, worded for the model that wrote the
|
|
74
|
+
* chart: it reads the message and calls again.
|
|
75
|
+
*/
|
|
76
|
+
export declare const refineChart: (chart: z.infer<typeof ChartFieldsSchema>, ctx: z.RefinementCtx) => void;
|
|
77
|
+
export declare const ChartSchema: z.ZodObject<{
|
|
78
|
+
type: z.ZodEnum<{
|
|
79
|
+
line: "line";
|
|
80
|
+
bar: "bar";
|
|
81
|
+
pie: "pie";
|
|
82
|
+
doughnut: "doughnut";
|
|
83
|
+
}>;
|
|
84
|
+
title: z.ZodOptional<z.ZodString>;
|
|
85
|
+
horizontal: z.ZodOptional<z.ZodBoolean>;
|
|
86
|
+
stacked: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
+
categories: z.ZodArray<z.ZodString>;
|
|
88
|
+
series: z.ZodArray<z.ZodObject<{
|
|
89
|
+
name: z.ZodString;
|
|
90
|
+
values: z.ZodArray<z.ZodNullable<z.ZodNumber>>;
|
|
91
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
92
|
+
positive: "positive";
|
|
93
|
+
warning: "warning";
|
|
94
|
+
negative: "negative";
|
|
95
|
+
critical: "critical";
|
|
96
|
+
neutral: "neutral";
|
|
97
|
+
}>>;
|
|
98
|
+
}, z.core.$strip>>;
|
|
99
|
+
valueLabel: z.ZodOptional<z.ZodString>;
|
|
100
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
101
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
102
|
+
number: "number";
|
|
103
|
+
percent: "percent";
|
|
104
|
+
currency: "currency";
|
|
105
|
+
}>>;
|
|
106
|
+
}, z.core.$strip>;
|
|
107
|
+
export type Chart = z.infer<typeof ChartSchema>;
|
|
108
|
+
/**
|
|
109
|
+
* The input of `showChart`: every chart the user asked for in one call. A
|
|
110
|
+
* presentation tool ends the turn, and a model that calls one chart at a
|
|
111
|
+
* time (GPT-6.1 Sol, asked for a pie and a bar chart, drew the pie only)
|
|
112
|
+
* would never draw the second.
|
|
113
|
+
*/
|
|
114
|
+
export declare const ShowChartInputSchema: z.ZodObject<{
|
|
115
|
+
charts: z.ZodArray<z.ZodObject<{
|
|
116
|
+
type: z.ZodEnum<{
|
|
117
|
+
line: "line";
|
|
118
|
+
bar: "bar";
|
|
119
|
+
pie: "pie";
|
|
120
|
+
doughnut: "doughnut";
|
|
121
|
+
}>;
|
|
122
|
+
title: z.ZodOptional<z.ZodString>;
|
|
123
|
+
horizontal: z.ZodOptional<z.ZodBoolean>;
|
|
124
|
+
stacked: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
categories: z.ZodArray<z.ZodString>;
|
|
126
|
+
series: z.ZodArray<z.ZodObject<{
|
|
127
|
+
name: z.ZodString;
|
|
128
|
+
values: z.ZodArray<z.ZodNullable<z.ZodNumber>>;
|
|
129
|
+
tone: z.ZodOptional<z.ZodEnum<{
|
|
130
|
+
positive: "positive";
|
|
131
|
+
warning: "warning";
|
|
132
|
+
negative: "negative";
|
|
133
|
+
critical: "critical";
|
|
134
|
+
neutral: "neutral";
|
|
135
|
+
}>>;
|
|
136
|
+
}, z.core.$strip>>;
|
|
137
|
+
valueLabel: z.ZodOptional<z.ZodString>;
|
|
138
|
+
categoryLabel: z.ZodOptional<z.ZodString>;
|
|
139
|
+
format: z.ZodOptional<z.ZodEnum<{
|
|
140
|
+
number: "number";
|
|
141
|
+
percent: "percent";
|
|
142
|
+
currency: "currency";
|
|
143
|
+
}>>;
|
|
144
|
+
}, z.core.$strip>>;
|
|
145
|
+
caption: z.ZodOptional<z.ZodString>;
|
|
146
|
+
}, z.core.$strip>;
|
|
147
|
+
export type ShowChartInput = z.infer<typeof ShowChartInputSchema>;
|
|
@@ -2229,14 +2229,14 @@ export type DocumentRestoreResult = z.infer<typeof DocumentRestoreResultSchema>;
|
|
|
2229
2229
|
export type DocumentTrashSummary = z.infer<typeof DocumentTrashSummarySchema>;
|
|
2230
2230
|
export type DocumentEmptyTrashDto = z.infer<typeof DocumentEmptyTrashDtoSchema>;
|
|
2231
2231
|
export type DocumentEmptyTrashResult = z.infer<typeof DocumentEmptyTrashResultSchema>;
|
|
2232
|
-
export declare const getStatusColor: (status: IndexStatus) => "success" | "
|
|
2232
|
+
export declare const getStatusColor: (status: IndexStatus) => "success" | "warning" | "danger" | "info";
|
|
2233
2233
|
export declare const getStatusIcon: (status: IndexStatus) => "ri:check-line" | "ri:error-warning-line" | "ri:hourglass-line" | "ri:time-line";
|
|
2234
2234
|
/**
|
|
2235
2235
|
* The color of a search state: green when the agents find the document, the
|
|
2236
2236
|
* wait and the fixable ones in warning, the failure in danger, and gray where
|
|
2237
2237
|
* there is nothing to find.
|
|
2238
2238
|
*/
|
|
2239
|
-
export declare const getSearchStatusColor: (status: SearchIndexStatus) => "success" | "
|
|
2239
|
+
export declare const getSearchStatusColor: (status: SearchIndexStatus) => "success" | "warning" | "danger" | "gray";
|
|
2240
2240
|
export declare const getSearchStatusIcon: (status: SearchIndexStatus) => "ri:check-line" | "ri:error-warning-line" | "ri:hourglass-line" | "ri:indeterminate-circle-line";
|
|
2241
2241
|
export declare const getTypeIcon: (type: DocumentType) => "ri:file-line" | "ri:link" | "ri:feedback-line" | "ri:input-method-line";
|
|
2242
2242
|
export declare const getFileIcon: (extension: string) => "ri:file-line" | "ri:file-pdf-2-line" | "ri:file-word-line" | "ri:file-excel-line" | "ri:file-ppt-line" | "ri:file-text-line" | "ri:file-music-line" | "ri:file-video-line" | "ri:file-image-line" | "ri:file-zip-line";
|
|
@@ -34,4 +34,4 @@ export type InvitationsQuerystring = z.infer<typeof InvitationsQuerystringSchema
|
|
|
34
34
|
* applied where the status is shown and the row is left as it is.
|
|
35
35
|
*/
|
|
36
36
|
export declare const getInvitationStatus: (invitation: Pick<Invitation, "status" | "expiresAt">, now?: Date) => Invitation["status"];
|
|
37
|
-
export declare const getColorByInvitationStatus: (status: Invitation["status"]) => "success" | "
|
|
37
|
+
export declare const getColorByInvitationStatus: (status: Invitation["status"]) => "success" | "warning" | "danger" | "info" | "gray" | undefined;
|
|
@@ -35,8 +35,8 @@ export declare const LeadConversationContextSchema: z.ZodObject<{
|
|
|
35
35
|
}>;
|
|
36
36
|
sentiment: z.ZodEnum<{
|
|
37
37
|
positive: "positive";
|
|
38
|
-
neutral: "neutral";
|
|
39
38
|
negative: "negative";
|
|
39
|
+
neutral: "neutral";
|
|
40
40
|
frustrated: "frustrated";
|
|
41
41
|
excited: "excited";
|
|
42
42
|
}>;
|
|
@@ -88,8 +88,8 @@ export declare const LeadCreateDtoSchema: z.ZodObject<{
|
|
|
88
88
|
}>;
|
|
89
89
|
sentiment: z.ZodEnum<{
|
|
90
90
|
positive: "positive";
|
|
91
|
-
neutral: "neutral";
|
|
92
91
|
negative: "negative";
|
|
92
|
+
neutral: "neutral";
|
|
93
93
|
frustrated: "frustrated";
|
|
94
94
|
excited: "excited";
|
|
95
95
|
}>;
|
|
@@ -151,8 +151,8 @@ export declare const LeadUpdateDtoSchema: z.ZodObject<{
|
|
|
151
151
|
}>;
|
|
152
152
|
sentiment: z.ZodEnum<{
|
|
153
153
|
positive: "positive";
|
|
154
|
-
neutral: "neutral";
|
|
155
154
|
negative: "negative";
|
|
155
|
+
neutral: "neutral";
|
|
156
156
|
frustrated: "frustrated";
|
|
157
157
|
excited: "excited";
|
|
158
158
|
}>;
|
|
@@ -212,7 +212,7 @@ export type SelectionActionsCapability = z.infer<typeof SelectionActionsCapabili
|
|
|
212
212
|
* The public groups of a stored `settings.selectionActions`, read with its
|
|
213
213
|
* defaults: a group is there only when it is on and its surface is allowed
|
|
214
214
|
* (`allowed`: the page with the page access published, Word and Excel with
|
|
215
|
-
* the tool of the format), and "chart" only with
|
|
215
|
+
* the tool of the format), and "chart" only with a chart tool. Undefined
|
|
216
216
|
* when no group is left.
|
|
217
217
|
*/
|
|
218
218
|
export declare function selectionActionsCapability(stored: unknown, allowed: Record<SelectionSurface, boolean> & {
|
|
@@ -52,8 +52,8 @@ export declare const SpreadsheetPreviewCellSchema: z.ZodObject<{
|
|
|
52
52
|
format: z.ZodOptional<z.ZodEnum<{
|
|
53
53
|
date: "date";
|
|
54
54
|
error: "error";
|
|
55
|
-
currency: "currency";
|
|
56
55
|
percent: "percent";
|
|
56
|
+
currency: "currency";
|
|
57
57
|
}>>;
|
|
58
58
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
59
59
|
maxDecimals: z.ZodOptional<z.ZodNumber>;
|
|
@@ -78,8 +78,8 @@ export declare const SpreadsheetPreviewRowSchema: z.ZodObject<{
|
|
|
78
78
|
format: z.ZodOptional<z.ZodEnum<{
|
|
79
79
|
date: "date";
|
|
80
80
|
error: "error";
|
|
81
|
-
currency: "currency";
|
|
82
81
|
percent: "percent";
|
|
82
|
+
currency: "currency";
|
|
83
83
|
}>>;
|
|
84
84
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
85
85
|
maxDecimals: z.ZodOptional<z.ZodNumber>;
|
|
@@ -112,8 +112,8 @@ export declare const SpreadsheetPreviewSheetSchema: z.ZodObject<{
|
|
|
112
112
|
format: z.ZodOptional<z.ZodEnum<{
|
|
113
113
|
date: "date";
|
|
114
114
|
error: "error";
|
|
115
|
-
currency: "currency";
|
|
116
115
|
percent: "percent";
|
|
116
|
+
currency: "currency";
|
|
117
117
|
}>>;
|
|
118
118
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
119
119
|
maxDecimals: z.ZodOptional<z.ZodNumber>;
|
|
@@ -159,8 +159,8 @@ export declare const SpreadsheetPreviewSchema: z.ZodObject<{
|
|
|
159
159
|
format: z.ZodOptional<z.ZodEnum<{
|
|
160
160
|
date: "date";
|
|
161
161
|
error: "error";
|
|
162
|
-
currency: "currency";
|
|
163
162
|
percent: "percent";
|
|
163
|
+
currency: "currency";
|
|
164
164
|
}>>;
|
|
165
165
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
166
166
|
maxDecimals: z.ZodOptional<z.ZodNumber>;
|
|
@@ -751,8 +751,8 @@ export declare const ChatFilePreviewSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
751
751
|
format: z.ZodOptional<z.ZodEnum<{
|
|
752
752
|
date: "date";
|
|
753
753
|
error: "error";
|
|
754
|
-
currency: "currency";
|
|
755
754
|
percent: "percent";
|
|
755
|
+
currency: "currency";
|
|
756
756
|
}>>;
|
|
757
757
|
decimals: z.ZodOptional<z.ZodNumber>;
|
|
758
758
|
maxDecimals: z.ZodOptional<z.ZodNumber>;
|