@8wave/ai-elements 0.125.0-beta.35 → 0.125.0-beta.36

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 (136) hide show
  1. package/dist/_chunks/{Agent-CnCu6gNx.js → Agent-D9MWMkLp.js} +15 -11
  2. package/dist/_chunks/Agent-D9MWMkLp.js.map +1 -0
  3. package/dist/_chunks/{PkFilePreview-Ctp30WJH.js → PkFilePreview-Bic0SA47.js} +524 -450
  4. package/dist/_chunks/PkFilePreview-Bic0SA47.js.map +1 -0
  5. package/dist/_chunks/{PkFilePreviewDialog-B8JKpCXy.js → PkFilePreviewDialog-WKJ0Zm3O.js} +2 -2
  6. package/dist/_chunks/{PkFilePreviewDialog-B8JKpCXy.js.map → PkFilePreviewDialog-WKJ0Zm3O.js.map} +1 -1
  7. package/dist/_chunks/{PkSelectionActions-BOuC5Dvy.js → PkSelectionActions-mna8QQGY.js} +66 -56
  8. package/dist/_chunks/PkSelectionActions-mna8QQGY.js.map +1 -0
  9. package/dist/_chunks/{PkStreamingMarkdown-B0iGNA8Y.js → PkStreamingMarkdown-DKTxy47I.js} +3 -3
  10. package/dist/_chunks/{PkStreamingMarkdown-B0iGNA8Y.js.map → PkStreamingMarkdown-DKTxy47I.js.map} +1 -1
  11. package/dist/_chunks/{PkToolChatFile-DbmXl92B.js → PkToolChatFile-CTBwDxvV.js} +3 -3
  12. package/dist/_chunks/{PkToolChatFile-DbmXl92B.js.map → PkToolChatFile-CTBwDxvV.js.map} +1 -1
  13. package/dist/_chunks/{PkToolRequestGeolocation-DqrwL2xq.js → PkToolRequestGeolocation-XmQTnuwg.js} +2 -2
  14. package/dist/_chunks/{PkToolRequestGeolocation-DqrwL2xq.js.map → PkToolRequestGeolocation-XmQTnuwg.js.map} +1 -1
  15. package/dist/_chunks/{PkToolRequestOAuthConnection-CRHMFsVo.js → PkToolRequestOAuthConnection-BSKa66Nf.js} +2 -2
  16. package/dist/_chunks/{PkToolRequestOAuthConnection-CRHMFsVo.js.map → PkToolRequestOAuthConnection-BSKa66Nf.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowArtifact-BiIFmeNh.js → PkToolShowArtifact-C27hZNJd.js} +2 -2
  18. package/dist/_chunks/{PkToolShowArtifact-BiIFmeNh.js.map → PkToolShowArtifact-C27hZNJd.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowContactForm-CNLEoesy.js → PkToolShowContactForm-VVgxhvQd.js} +2 -2
  20. package/dist/_chunks/{PkToolShowContactForm-CNLEoesy.js.map → PkToolShowContactForm-VVgxhvQd.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowForm-DSUzABRs.js → PkToolShowForm-C4t_v1ps.js} +4 -4
  22. package/dist/_chunks/{PkToolShowForm-DSUzABRs.js.map → PkToolShowForm-C4t_v1ps.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowImageGallery-CuSEzHyb.js → PkToolShowImageGallery-y3iOOanc.js} +2 -2
  24. package/dist/_chunks/{PkToolShowImageGallery-CuSEzHyb.js.map → PkToolShowImageGallery-y3iOOanc.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowProductList-BHV90ovg.js → PkToolShowProductList-CTB2wcrz.js} +2 -2
  26. package/dist/_chunks/{PkToolShowProductList-BHV90ovg.js.map → PkToolShowProductList-CTB2wcrz.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowSources-LxKdEl5a.js → PkToolShowSources-Byv7DkHR.js} +3 -3
  28. package/dist/_chunks/{PkToolShowSources-LxKdEl5a.js.map → PkToolShowSources-Byv7DkHR.js.map} +1 -1
  29. package/dist/_chunks/{PkToolShowSuggestedReply-DQ64E-n3.js → PkToolShowSuggestedReply-D8FQu6Pd.js} +2 -2
  30. package/dist/_chunks/{PkToolShowSuggestedReply-DQ64E-n3.js.map → PkToolShowSuggestedReply-D8FQu6Pd.js.map} +1 -1
  31. package/dist/_chunks/{PkToolShowVideo-m9TYCZU4.js → PkToolShowVideo-B8Ql2lYD.js} +2 -2
  32. package/dist/_chunks/{PkToolShowVideo-m9TYCZU4.js.map → PkToolShowVideo-B8Ql2lYD.js.map} +1 -1
  33. package/dist/_chunks/{PkToolShowWebPages-D836KB_D.js → PkToolShowWebPages-CR-eQrdv.js} +2 -2
  34. package/dist/_chunks/{PkToolShowWebPages-D836KB_D.js.map → PkToolShowWebPages-CR-eQrdv.js.map} +1 -1
  35. package/dist/_chunks/{chatImagePolicy-DMvnRaBQ.js → chatImagePolicy-XBxAhi8o.js} +2 -2
  36. package/dist/_chunks/{chatImagePolicy-DMvnRaBQ.js.map → chatImagePolicy-XBxAhi8o.js.map} +1 -1
  37. package/dist/_chunks/{markdown-BLSDivef.js → markdown-DGKSBppG.js} +2 -2
  38. package/dist/_chunks/{markdown-BLSDivef.js.map → markdown-DGKSBppG.js.map} +1 -1
  39. package/dist/_chunks/{utils-BF9VwhRy.js → utils-DYtnrtNk.js} +2 -2
  40. package/dist/_chunks/{utils-BF9VwhRy.js.map → utils-DYtnrtNk.js.map} +1 -1
  41. package/dist/ai-elements.es.js +37 -31
  42. package/dist/ai-elements.es.js.map +1 -1
  43. package/dist-vue/PkChatbot.js +1 -1
  44. package/dist-vue/PkChatbotEmptyState.js +1 -1
  45. package/dist-vue/PkChatbotInput.js +1 -1
  46. package/dist-vue/PkChatbotMessages.js +1 -1
  47. package/dist-vue/PkChatbotStepPayload.js +1 -1
  48. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  49. package/dist-vue/PkChatbotSteps.js +1 -1
  50. package/dist-vue/PkChatbotViewChat.js +1 -1
  51. package/dist-vue/PkChatbotViewConversations.js +1 -1
  52. package/dist-vue/PkChatbotViewFiles.js +1 -1
  53. package/dist-vue/PkChatbotViewProfile.js +1 -1
  54. package/dist-vue/_chunks/{Agent-DuB5Hh7M.js → Agent-hvrlDtLK.js} +15 -11
  55. package/dist-vue/_chunks/Agent-hvrlDtLK.js.map +1 -0
  56. package/dist-vue/_chunks/{Document-BJxoQzKV.js → Document-DXSWegFn.js} +2 -2
  57. package/dist-vue/_chunks/{Document-BJxoQzKV.js.map → Document-DXSWegFn.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkChatbot-CXW3IFfs.js → PkChatbot-BtJsIn4h.js} +8 -8
  59. package/dist-vue/_chunks/{PkChatbot-CXW3IFfs.js.map → PkChatbot-BtJsIn4h.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkChatbotEmptyState-CD6ehXRE.js → PkChatbotEmptyState-BYrTqidA.js} +2 -2
  61. package/dist-vue/_chunks/{PkChatbotEmptyState-CD6ehXRE.js.map → PkChatbotEmptyState-BYrTqidA.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkChatbotInput-2zUenuUE.js → PkChatbotInput-Cwkz19oM.js} +3 -3
  63. package/dist-vue/_chunks/{PkChatbotInput-2zUenuUE.js.map → PkChatbotInput-Cwkz19oM.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkChatbotMessages-DbgmLmbz.js → PkChatbotMessages-Bmrvz0Nv.js} +17 -17
  65. package/dist-vue/_chunks/{PkChatbotMessages-DbgmLmbz.js.map → PkChatbotMessages-Bmrvz0Nv.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkChatbotStepPayload-CkTJ1nFP.js → PkChatbotStepPayload-C4yEGoXA.js} +2 -2
  67. package/dist-vue/_chunks/{PkChatbotStepPayload-CkTJ1nFP.js.map → PkChatbotStepPayload-C4yEGoXA.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkChatbotStepToolDetail-DBi87nYU.js → PkChatbotStepToolDetail-DnGYrFSt.js} +3 -3
  69. package/dist-vue/_chunks/{PkChatbotStepToolDetail-DBi87nYU.js.map → PkChatbotStepToolDetail-DnGYrFSt.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkChatbotSteps-BC2gLvzh.js → PkChatbotSteps-CoP1JyWG.js} +5 -5
  71. package/dist-vue/_chunks/{PkChatbotSteps-BC2gLvzh.js.map → PkChatbotSteps-CoP1JyWG.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkChatbotViewChat-9BKIdCDD.js → PkChatbotViewChat-B14w_WuO.js} +7 -7
  73. package/dist-vue/_chunks/{PkChatbotViewChat-9BKIdCDD.js.map → PkChatbotViewChat-B14w_WuO.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkChatbotViewConversations-BWj_CaXs.js → PkChatbotViewConversations-oYUIHDwb.js} +3 -3
  75. package/dist-vue/_chunks/{PkChatbotViewConversations-BWj_CaXs.js.map → PkChatbotViewConversations-oYUIHDwb.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkChatbotViewFiles-9kcgLUrQ.js → PkChatbotViewFiles-C1ggPJvX.js} +3 -3
  77. package/dist-vue/_chunks/{PkChatbotViewFiles-9kcgLUrQ.js.map → PkChatbotViewFiles-C1ggPJvX.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkChatbotViewProfile-CJR38-Zw.js → PkChatbotViewProfile-BZJ8OZ9h.js} +2 -2
  79. package/dist-vue/_chunks/{PkChatbotViewProfile-CJR38-Zw.js.map → PkChatbotViewProfile-BZJ8OZ9h.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkFilePreview-CmET6sdA.js → PkFilePreview-CTsoIgC0.js} +516 -432
  81. package/dist-vue/_chunks/PkFilePreview-CTsoIgC0.js.map +1 -0
  82. package/dist-vue/_chunks/{PkFilePreviewDialog-CqQBzL5n.js → PkFilePreviewDialog-DbTpN0hb.js} +2 -2
  83. package/dist-vue/_chunks/{PkFilePreviewDialog-CqQBzL5n.js.map → PkFilePreviewDialog-DbTpN0hb.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkStreamingMarkdown-Db4sGE5U.js → PkStreamingMarkdown-BiS7Huii.js} +3 -3
  85. package/dist-vue/_chunks/{PkStreamingMarkdown-Db4sGE5U.js.map → PkStreamingMarkdown-BiS7Huii.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkToolChatFile-CuilyyQV.js → PkToolChatFile-DJouw7ft.js} +3 -3
  87. package/dist-vue/_chunks/{PkToolChatFile-CuilyyQV.js.map → PkToolChatFile-DJouw7ft.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkToolRequestGeolocation-DBjweLxM.js → PkToolRequestGeolocation-Du8b17X9.js} +2 -2
  89. package/dist-vue/_chunks/{PkToolRequestGeolocation-DBjweLxM.js.map → PkToolRequestGeolocation-Du8b17X9.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-C3RPmvS9.js → PkToolRequestOAuthConnection-X00hZZJe.js} +2 -2
  91. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-C3RPmvS9.js.map → PkToolRequestOAuthConnection-X00hZZJe.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkToolShowArtifact-BPM1M44f.js → PkToolShowArtifact-BAfGUGM4.js} +2 -2
  93. package/dist-vue/_chunks/{PkToolShowArtifact-BPM1M44f.js.map → PkToolShowArtifact-BAfGUGM4.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkToolShowContactForm-B3Um_vEc.js → PkToolShowContactForm-BEWOoCVa.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolShowContactForm-B3Um_vEc.js.map → PkToolShowContactForm-BEWOoCVa.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkToolShowDiagram-BDyGph2_.js → PkToolShowDiagram-CgOAGQCq.js} +2 -2
  97. package/dist-vue/_chunks/{PkToolShowDiagram-BDyGph2_.js.map → PkToolShowDiagram-CgOAGQCq.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkToolShowForm-D14J_UP1.js → PkToolShowForm-BXpPnVzJ.js} +4 -4
  99. package/dist-vue/_chunks/{PkToolShowForm-D14J_UP1.js.map → PkToolShowForm-BXpPnVzJ.js.map} +1 -1
  100. package/dist-vue/_chunks/{PkToolShowImageGallery-BVrAQqq5.js → PkToolShowImageGallery-DOsnvy1W.js} +2 -2
  101. package/dist-vue/_chunks/{PkToolShowImageGallery-BVrAQqq5.js.map → PkToolShowImageGallery-DOsnvy1W.js.map} +1 -1
  102. package/dist-vue/_chunks/{PkToolShowProductList-DkDNFoIh.js → PkToolShowProductList-Buw-GpNJ.js} +2 -2
  103. package/dist-vue/_chunks/{PkToolShowProductList-DkDNFoIh.js.map → PkToolShowProductList-Buw-GpNJ.js.map} +1 -1
  104. package/dist-vue/_chunks/{PkToolShowSources-BIsZaSr3.js → PkToolShowSources-CPvjMvqB.js} +3 -3
  105. package/dist-vue/_chunks/{PkToolShowSources-BIsZaSr3.js.map → PkToolShowSources-CPvjMvqB.js.map} +1 -1
  106. package/dist-vue/_chunks/{PkToolShowSuggestedReply-qbQz8Ia2.js → PkToolShowSuggestedReply-HLFecN53.js} +2 -2
  107. package/dist-vue/_chunks/{PkToolShowSuggestedReply-qbQz8Ia2.js.map → PkToolShowSuggestedReply-HLFecN53.js.map} +1 -1
  108. package/dist-vue/_chunks/{PkToolShowVideo-BursN2E9.js → PkToolShowVideo-DPZtAuLl.js} +2 -2
  109. package/dist-vue/_chunks/{PkToolShowVideo-BursN2E9.js.map → PkToolShowVideo-DPZtAuLl.js.map} +1 -1
  110. package/dist-vue/_chunks/{PkToolShowWebPages-C2QqzOZx.js → PkToolShowWebPages-DXjDxztJ.js} +2 -2
  111. package/dist-vue/_chunks/{PkToolShowWebPages-C2QqzOZx.js.map → PkToolShowWebPages-DXjDxztJ.js.map} +1 -1
  112. package/dist-vue/_chunks/{createChatbotApiClient-CWQKS07V.js → createChatbotApiClient-CWLca1yc.js} +2 -2
  113. package/dist-vue/_chunks/{createChatbotApiClient-CWQKS07V.js.map → createChatbotApiClient-CWLca1yc.js.map} +1 -1
  114. package/dist-vue/_chunks/{useChatbotStore-qgCC4aIL.js → useChatbotStore-CNQ8lTub.js} +3 -3
  115. package/dist-vue/_chunks/{useChatbotStore-qgCC4aIL.js.map → useChatbotStore-CNQ8lTub.js.map} +1 -1
  116. package/dist-vue/_chunks/{utils-BcFZVBxd.js → utils-Dqyng-2B.js} +2 -2
  117. package/dist-vue/_chunks/{utils-BcFZVBxd.js.map → utils-Dqyng-2B.js.map} +1 -1
  118. package/dist-vue/api.js +1 -1
  119. package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +4 -4
  120. package/dist-vue/composables.js +10 -10
  121. package/dist-vue/composables.js.map +1 -1
  122. package/dist-vue/index.js +2915 -2895
  123. package/dist-vue/index.js.map +1 -1
  124. package/dist-vue/locales.js +6 -6
  125. package/dist-vue/packages/components/src/chat/PkAgentSelectionActionsSettings.d.ts +6 -0
  126. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +42 -2
  127. package/dist-vue/packages/composable/src/useSettledSelection.d.ts +13 -4
  128. package/dist-vue/packages/models/src/schema/Agent.d.ts +1 -1
  129. package/dist-vue/packages/models/src/schema/SelectionAction.d.ts +5 -2
  130. package/dist-vue/style.css +1 -1
  131. package/package.json +1 -1
  132. package/dist/_chunks/Agent-CnCu6gNx.js.map +0 -1
  133. package/dist/_chunks/PkFilePreview-Ctp30WJH.js.map +0 -1
  134. package/dist/_chunks/PkSelectionActions-BOuC5Dvy.js.map +0 -1
  135. package/dist-vue/_chunks/Agent-DuB5Hh7M.js.map +0 -1
  136. package/dist-vue/_chunks/PkFilePreview-CmET6sdA.js.map +0 -1
@@ -468,7 +468,7 @@ var e = {
468
468
  pageAccessPointer: "A button in the chat input to point at an element of the page, or select its text, and ask about it.",
469
469
  pageAccessNotice: "Empty, the widget uses the level's own text.",
470
470
  selectionActionPrompt: "Sent with the selected text",
471
- selectionActionsMax: "At most {count} actions on the bar, built-in and the agent's together.",
471
+ selectionActionsMax: "At most {count} actions in the menu, built-in and the agent's together.",
472
472
  modelRetired: "No longer available on the platform: move the agents using it to another model.",
473
473
  modelNotCompatible: "Not compatible with the privacy flags of this agent.",
474
474
  modelGuaranteedOnSome: "The guarantees you switched on hold only on some providers of this model: the gateway routes accordingly.",
@@ -583,7 +583,7 @@ var e = {
583
583
  noHostToolsAllowed: "No tool allowed",
584
584
  select: "Select",
585
585
  noPageAccessExcludeSelectors: "No excluded area besides data-agent-ignore",
586
- noSelectionActions: "No actions of the agent: the bar shows the chosen built-ins and “Ask…”",
586
+ noSelectionActions: "No actions of the agent: the menu shows the chosen built-ins and “Ask…”",
587
587
  uploadFile: "Upload a file",
588
588
  askAnything: "Type your message…",
589
589
  noTrustedOrigins: "No trusted origins configured",
@@ -931,8 +931,8 @@ var e = {
931
931
  labelCell: "{file}, sheet {sheet}, cell {cell}",
932
932
  notLatest: "This is version {version}: edits start from the latest one.",
933
933
  openLatest: "Open the latest",
934
- label: "Actions on the selection",
935
934
  askPlaceholder: "What should be done with the selection?",
935
+ label: "Actions on the selection",
936
936
  ask: "Ask…",
937
937
  card: {
938
938
  aiNotice: "Answered by artificial intelligence",
@@ -1471,7 +1471,7 @@ var e = {
1471
1471
  pageAccessPointer: "Un pulsante nel campo della chat per indicare un elemento della pagina, o selezionarne il testo, e chiedere.",
1472
1472
  pageAccessNotice: "Vuoto, il widget usa il testo del livello.",
1473
1473
  selectionActionPrompt: "Parte con il testo selezionato",
1474
- selectionActionsMax: "Al massimo {count} azioni nella barra, predefinite e dell'agente insieme.",
1474
+ selectionActionsMax: "Al massimo {count} azioni nel menu, predefinite e dell'agente insieme.",
1475
1475
  modelRetired: "Non più disponibile sulla piattaforma: sposta su un altro modello gli agenti che lo usano.",
1476
1476
  modelNotCompatible: "Non compatibile con i flag di riservatezza di questo agente.",
1477
1477
  modelGuaranteedOnSome: "Le garanzie che hai acceso valgono solo su alcuni provider di questo modello: il gateway instrada di conseguenza.",
@@ -1586,7 +1586,7 @@ var e = {
1586
1586
  noHostToolsAllowed: "Nessun tool ammesso",
1587
1587
  select: "Seleziona",
1588
1588
  noPageAccessExcludeSelectors: "Nessuna zona esclusa oltre a data-agent-ignore",
1589
- noSelectionActions: "Nessuna azione dell'agente: la barra mostra le predefinite scelte e «Chiedi…»",
1589
+ noSelectionActions: "Nessuna azione dell'agente: il menu mostra le predefinite scelte e «Chiedi…»",
1590
1590
  uploadFile: "Carica un file",
1591
1591
  askAnything: "Scrivi la tua domanda…",
1592
1592
  noTrustedOrigins: "Nessuna origine attendibile configurata",
@@ -1934,8 +1934,8 @@ var e = {
1934
1934
  labelCell: "{file}, foglio {sheet}, cella {cell}",
1935
1935
  notLatest: "Questa è la versione {version}: le modifiche partono dall'ultima.",
1936
1936
  openLatest: "Apri l'ultima",
1937
- label: "Azioni sulla selezione",
1938
1937
  askPlaceholder: "Cosa vuoi fare con la selezione?",
1938
+ label: "Azioni sulla selezione",
1939
1939
  ask: "Chiedi…",
1940
1940
  card: {
1941
1941
  aiNotice: "Risponde un'intelligenza artificiale",
@@ -14,6 +14,12 @@ type __VLS_Props = {
14
14
  surface: SelectionSurface;
15
15
  /** The agent's languages, the interface's first: a tab each, as the agent's other texts. */
16
16
  locales: string[];
17
+ /**
18
+ * No frame of its own: in the advanced options of a tool, which are
19
+ * framed already and name the tool. A third frame there left the
20
+ * instruction a few words wide.
21
+ */
22
+ bare?: boolean;
17
23
  };
18
24
  type __VLS_ModelProps = {
19
25
  modelValue?: Partial<Group> | undefined;
@@ -140,6 +140,10 @@ type __VLS_ModelProps = {
140
140
  'pageAccess'?: Partial<PageAccessSettings> | undefined;
141
141
  /** The bar of actions on a text selected on the page (spec `selection-actions.md`). */
142
142
  'selectionActionsPage'?: Partial<SelectionActionsSettings['page']> | undefined;
143
+ /** The menu on a text selected in a Word document of the chat (spec `chat-file-selection-edit.md`). */
144
+ 'selectionActionsWord'?: Partial<SelectionActionsSettings['word']> | undefined;
145
+ /** The menu on a range of cells of an Excel sheet of the chat. */
146
+ 'selectionActionsExcel'?: Partial<SelectionActionsSettings['excel']> | undefined;
143
147
  /** The user may choose automatic confirmations in the chat (spec `auto-confirmations.md`). */
144
148
  'confirmationsAllowAutomatic'?: boolean;
145
149
  'ranking'?: {
@@ -159,9 +163,9 @@ type __VLS_ModelProps = {
159
163
  } | undefined;
160
164
  };
161
165
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
162
- declare var __VLS_919: {};
166
+ declare var __VLS_929: {};
163
167
  type __VLS_Slots = {} & {
164
- default?: (props: typeof __VLS_919) => any;
168
+ default?: (props: typeof __VLS_929) => any;
165
169
  };
166
170
  declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
167
171
  "update:reasoning": (value: {
@@ -429,6 +433,24 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
429
433
  prompt: Record<string, string>;
430
434
  }[];
431
435
  }> | undefined) => any;
436
+ "update:selectionActionsWord": (value: Partial<{
437
+ enabled: boolean;
438
+ builtIns: ("rewrite" | "shorten" | "proofread" | "translate")[];
439
+ actions: {
440
+ id: string;
441
+ label: Record<string, string>;
442
+ prompt: Record<string, string>;
443
+ }[];
444
+ }> | undefined) => any;
445
+ "update:selectionActionsExcel": (value: Partial<{
446
+ enabled: boolean;
447
+ builtIns: ("explain" | "summarize" | "chart")[];
448
+ actions: {
449
+ id: string;
450
+ label: Record<string, string>;
451
+ prompt: Record<string, string>;
452
+ }[];
453
+ }> | undefined) => any;
432
454
  "update:confirmationsAllowAutomatic": (value: boolean) => any;
433
455
  "update:ranking": (value: {
434
456
  freshness?: {
@@ -712,6 +734,24 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
712
734
  prompt: Record<string, string>;
713
735
  }[];
714
736
  }> | undefined) => any) | undefined;
737
+ "onUpdate:selectionActionsWord"?: ((value: Partial<{
738
+ enabled: boolean;
739
+ builtIns: ("rewrite" | "shorten" | "proofread" | "translate")[];
740
+ actions: {
741
+ id: string;
742
+ label: Record<string, string>;
743
+ prompt: Record<string, string>;
744
+ }[];
745
+ }> | undefined) => any) | undefined;
746
+ "onUpdate:selectionActionsExcel"?: ((value: Partial<{
747
+ enabled: boolean;
748
+ builtIns: ("explain" | "summarize" | "chart")[];
749
+ actions: {
750
+ id: string;
751
+ label: Record<string, string>;
752
+ prompt: Record<string, string>;
753
+ }[];
754
+ }> | undefined) => any) | undefined;
715
755
  "onUpdate:confirmationsAllowAutomatic"?: ((value: boolean) => any) | undefined;
716
756
  "onUpdate:ranking"?: ((value: {
717
757
  freshness?: {
@@ -16,17 +16,26 @@ export interface UseSettledSelectionOptions {
16
16
  delay?: number;
17
17
  /** The shortest text that counts. */
18
18
  minChars?: number;
19
+ /**
20
+ * Also on a touch screen, where the bar goes below the selection, away
21
+ * from the system's menu: the chat's file viewer (spec
22
+ * `chat-file-selection-edit.md`, F4). The page leaves a touch selection
23
+ * to the system's menu (spec `selection-actions.md`, F3).
24
+ */
25
+ touch?: boolean;
19
26
  }
27
+ /** True on a touch screen, where a selection's bar goes below it. */
28
+ export declare function isTouchScreen(): boolean;
20
29
  /**
21
30
  * The selection once it stays still (spec `selection-actions.md`, "Cosa è
22
31
  * comune"): what the bar of actions appears on, on the page that embeds the
23
32
  * widget and in the chat's file viewer. `selectionchange` fires on the
24
33
  * document wherever the selection is, so the document is always listened to
25
- * and `root` only says where the range is read. Nothing on a touch screen.
26
- * Undefined while the selection moves, is collapsed or shorter than
27
- * `minChars`; each reader then checks that the range is its own.
34
+ * and `root` only says where the range is read. Nothing on a touch screen
35
+ * unless `touch`. Undefined while the selection moves, is collapsed or
36
+ * shorter than `minChars`; each reader then checks that the range is its own.
28
37
  */
29
- export declare function useSettledSelection({ root, enabled, delay, minChars, }: UseSettledSelectionOptions): {
38
+ export declare function useSettledSelection({ root, enabled, delay, minChars, touch, }: UseSettledSelectionOptions): {
30
39
  selection: Readonly<ShallowRef<SettledSelection | undefined>>;
31
40
  clear: () => void;
32
41
  };
@@ -1,5 +1,5 @@
1
- import { StoragePolicy } from './Media';
2
1
  import { PageAccessLevel } from './PageAccess';
2
+ import { StoragePolicy } from './Media';
3
3
  import * as z from 'zod';
4
4
  export declare enum AgentStatus {
5
5
  Draft = "draft",
@@ -43,11 +43,14 @@ export type SelectionAction = z.infer<typeof SelectionActionSchema>;
43
43
  * The check of a save on `settings`, for `AgentDtoSchema`: every action of a
44
44
  * group that is on has its label and instruction in each locale written, the
45
45
  * issue on the field that lacks it. A group switched off is not checked: its
46
- * fields are not on screen, and the bar does not show it.
46
+ * fields are not on screen, and the bar does not show it. Nor is a group
47
+ * whose condition is off (`shown`: the page access, the tool of the format):
48
+ * the backoffice hides it with its condition, and a half-written action
49
+ * there refused every save until the tool was switched on again.
47
50
  */
48
51
  export declare function refineSelectionActions(settings: {
49
52
  selectionActions?: Partial<SelectionActionsSettings>;
50
- }, context: z.RefinementCtx): void;
53
+ }, context: z.RefinementCtx, shown?: Partial<Record<SelectionSurface, boolean>>): void;
51
54
  export declare const PageSelectionGroupSchema: z.ZodObject<{
52
55
  enabled: z.ZodDefault<z.ZodBoolean>;
53
56
  builtIns: z.ZodDefault<z.ZodArray<z.ZodEnum<{