@8wave/ai-elements 0.125.0-beta.43 → 0.125.0-beta.45

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 (112) hide show
  1. package/README.md +9 -4
  2. package/dist/_chunks/{PkFilePreview-yjdtArag.js → PkFilePreview-DfYzaj3Y.js} +427 -427
  3. package/dist/_chunks/{PkFilePreview-yjdtArag.js.map → PkFilePreview-DfYzaj3Y.js.map} +1 -1
  4. package/dist/_chunks/{PkFilePreviewDialog-Df0Lt40J.js → PkFilePreviewDialog-COkwyLq6.js} +2 -2
  5. package/dist/_chunks/{PkFilePreviewDialog-Df0Lt40J.js.map → PkFilePreviewDialog-COkwyLq6.js.map} +1 -1
  6. package/dist/_chunks/{PkImageEditorDialog-PVf3IHGB.js → PkImageEditorDialog-Ceas-HZA.js} +2 -2
  7. package/dist/_chunks/{PkImageEditorDialog-PVf3IHGB.js.map → PkImageEditorDialog-Ceas-HZA.js.map} +1 -1
  8. package/dist/_chunks/{PkSelectionActions-CMyg_x8h.js → PkSelectionActions-Dl3cKb7x.js} +2 -2
  9. package/dist/_chunks/PkSelectionActions-Dl3cKb7x.js.map +1 -0
  10. package/dist/_chunks/{PkStreamingMarkdown-BDXbU2tz.js → PkStreamingMarkdown-DZvLHy2l.js} +2 -2
  11. package/dist/_chunks/{PkStreamingMarkdown-BDXbU2tz.js.map → PkStreamingMarkdown-DZvLHy2l.js.map} +1 -1
  12. package/dist/_chunks/{PkToolChatFile-CMQdMs-9.js → PkToolChatFile-D4ukZ9g6.js} +2 -2
  13. package/dist/_chunks/{PkToolChatFile-CMQdMs-9.js.map → PkToolChatFile-D4ukZ9g6.js.map} +1 -1
  14. package/dist/_chunks/{PkToolShowArtifact-YrC54qxc.js → PkToolShowArtifact-wIAxyXrL.js} +2 -2
  15. package/dist/_chunks/{PkToolShowArtifact-YrC54qxc.js.map → PkToolShowArtifact-wIAxyXrL.js.map} +1 -1
  16. package/dist/_chunks/{PkToolShowContactForm-Dio2FNkA.js → PkToolShowContactForm-BhcM-Z6m.js} +2 -2
  17. package/dist/_chunks/{PkToolShowContactForm-Dio2FNkA.js.map → PkToolShowContactForm-BhcM-Z6m.js.map} +1 -1
  18. package/dist/_chunks/{PkToolShowForm-w9HGhvCy.js → PkToolShowForm-D6k7_QLF.js} +3 -3
  19. package/dist/_chunks/{PkToolShowForm-w9HGhvCy.js.map → PkToolShowForm-D6k7_QLF.js.map} +1 -1
  20. package/dist/_chunks/{PkToolShowSources-DXFvFHOo.js → PkToolShowSources-Cw1ofky2.js} +2 -2
  21. package/dist/_chunks/{PkToolShowSources-DXFvFHOo.js.map → PkToolShowSources-Cw1ofky2.js.map} +1 -1
  22. package/dist/_chunks/{utils-BBoaLDYF.js → utils-C2aFWWye.js} +132 -110
  23. package/{dist-vue/_chunks/utils-C9l078yb.js.map → dist/_chunks/utils-C2aFWWye.js.map} +1 -1
  24. package/dist/ai-elements.es.js +2911 -2860
  25. package/dist/ai-elements.es.js.map +1 -1
  26. package/dist-vue/PkChatbot.js +1 -1
  27. package/dist-vue/PkChatbotEmptyState.js +1 -1
  28. package/dist-vue/PkChatbotInput.js +1 -1
  29. package/dist-vue/PkChatbotMessages.js +1 -1
  30. package/dist-vue/PkChatbotStepPayload.js +1 -1
  31. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  32. package/dist-vue/PkChatbotSteps.js +1 -1
  33. package/dist-vue/PkChatbotViewChat.js +1 -1
  34. package/dist-vue/PkChatbotViewConversations.js +1 -1
  35. package/dist-vue/_chunks/{PkChatbot-CxkTubw8.js → PkChatbot-CBSe9MOB.js} +5 -5
  36. package/dist-vue/_chunks/{PkChatbot-CxkTubw8.js.map → PkChatbot-CBSe9MOB.js.map} +1 -1
  37. package/dist-vue/_chunks/{PkChatbotEmptyState-CUoHkCgO.js → PkChatbotEmptyState-DfyYZXHQ.js} +2 -2
  38. package/dist-vue/_chunks/{PkChatbotEmptyState-CUoHkCgO.js.map → PkChatbotEmptyState-DfyYZXHQ.js.map} +1 -1
  39. package/dist-vue/_chunks/{PkChatbotInput-CPf7wqiQ.js → PkChatbotInput-CBalSveL.js} +4 -4
  40. package/dist-vue/_chunks/{PkChatbotInput-CPf7wqiQ.js.map → PkChatbotInput-CBalSveL.js.map} +1 -1
  41. package/dist-vue/_chunks/{PkChatbotMessages-CLNu2dTm.js → PkChatbotMessages-C2AUTqk4.js} +15 -15
  42. package/dist-vue/_chunks/{PkChatbotMessages-CLNu2dTm.js.map → PkChatbotMessages-C2AUTqk4.js.map} +1 -1
  43. package/dist-vue/_chunks/{PkChatbotStepPayload-Cf7mJPjL.js → PkChatbotStepPayload-Bb3Y6kuL.js} +2 -2
  44. package/dist-vue/_chunks/{PkChatbotStepPayload-Cf7mJPjL.js.map → PkChatbotStepPayload-Bb3Y6kuL.js.map} +1 -1
  45. package/dist-vue/_chunks/{PkChatbotStepToolDetail-D6nwNnHv.js → PkChatbotStepToolDetail-CwOxzYOe.js} +3 -3
  46. package/dist-vue/_chunks/{PkChatbotStepToolDetail-D6nwNnHv.js.map → PkChatbotStepToolDetail-CwOxzYOe.js.map} +1 -1
  47. package/dist-vue/_chunks/{PkChatbotSteps-xkxdaX7O.js → PkChatbotSteps-FduD9X9i.js} +5 -5
  48. package/dist-vue/_chunks/{PkChatbotSteps-xkxdaX7O.js.map → PkChatbotSteps-FduD9X9i.js.map} +1 -1
  49. package/dist-vue/_chunks/{PkChatbotViewChat-BkkyjiFl.js → PkChatbotViewChat-jl3ZbK7H.js} +6 -6
  50. package/dist-vue/_chunks/{PkChatbotViewChat-BkkyjiFl.js.map → PkChatbotViewChat-jl3ZbK7H.js.map} +1 -1
  51. package/dist-vue/_chunks/{PkChatbotViewConversations-hgqSO1hx.js → PkChatbotViewConversations-BtwTWqmM.js} +2 -2
  52. package/dist-vue/_chunks/{PkChatbotViewConversations-hgqSO1hx.js.map → PkChatbotViewConversations-BtwTWqmM.js.map} +1 -1
  53. package/dist-vue/_chunks/{PkFilePreview-CmsT6lSP.js → PkFilePreview-CRfDEYYo.js} +3 -3
  54. package/dist-vue/_chunks/PkFilePreview-CRfDEYYo.js.map +1 -0
  55. package/dist-vue/_chunks/{PkFilePreviewDialog-DIiTt9iK.js → PkFilePreviewDialog-u-0rhuRx.js} +2 -2
  56. package/dist-vue/_chunks/{PkFilePreviewDialog-DIiTt9iK.js.map → PkFilePreviewDialog-u-0rhuRx.js.map} +1 -1
  57. package/dist-vue/_chunks/{PkImageEditorDialog-CE0Y5Pwr.js → PkImageEditorDialog-CjMwpb-a.js} +2 -2
  58. package/dist-vue/_chunks/{PkImageEditorDialog-CE0Y5Pwr.js.map → PkImageEditorDialog-CjMwpb-a.js.map} +1 -1
  59. package/dist-vue/_chunks/{PkStreamingMarkdown-BBvCtDlO.js → PkStreamingMarkdown-7Kl_VBH-.js} +2 -2
  60. package/dist-vue/_chunks/{PkStreamingMarkdown-BBvCtDlO.js.map → PkStreamingMarkdown-7Kl_VBH-.js.map} +1 -1
  61. package/dist-vue/_chunks/{PkToolChatFile-DVhunkPS.js → PkToolChatFile-DcNRCVXy.js} +2 -2
  62. package/dist-vue/_chunks/{PkToolChatFile-DVhunkPS.js.map → PkToolChatFile-DcNRCVXy.js.map} +1 -1
  63. package/dist-vue/_chunks/{PkToolShowArtifact-DKOTsP9C.js → PkToolShowArtifact-C7CxCqVO.js} +2 -2
  64. package/dist-vue/_chunks/{PkToolShowArtifact-DKOTsP9C.js.map → PkToolShowArtifact-C7CxCqVO.js.map} +1 -1
  65. package/dist-vue/_chunks/{PkToolShowChart-CNBUjDc7.js → PkToolShowChart-DULlrMjq.js} +2 -2
  66. package/dist-vue/_chunks/{PkToolShowChart-CNBUjDc7.js.map → PkToolShowChart-DULlrMjq.js.map} +1 -1
  67. package/dist-vue/_chunks/{PkToolShowContactForm-D1Ff15Zf.js → PkToolShowContactForm-472d-SAE.js} +2 -2
  68. package/dist-vue/_chunks/{PkToolShowContactForm-D1Ff15Zf.js.map → PkToolShowContactForm-472d-SAE.js.map} +1 -1
  69. package/dist-vue/_chunks/{PkToolShowDiagram-CBwqjy6a.js → PkToolShowDiagram-RrqVpOaX.js} +2 -2
  70. package/dist-vue/_chunks/{PkToolShowDiagram-CBwqjy6a.js.map → PkToolShowDiagram-RrqVpOaX.js.map} +1 -1
  71. package/dist-vue/_chunks/{PkToolShowForm-D-rzzwJa.js → PkToolShowForm-CgyszDEI.js} +3 -3
  72. package/dist-vue/_chunks/{PkToolShowForm-D-rzzwJa.js.map → PkToolShowForm-CgyszDEI.js.map} +1 -1
  73. package/dist-vue/_chunks/{PkToolShowImageGallery-Cre2zSGV.js → PkToolShowImageGallery-LBx9JE6p.js} +2 -2
  74. package/dist-vue/_chunks/{PkToolShowImageGallery-Cre2zSGV.js.map → PkToolShowImageGallery-LBx9JE6p.js.map} +1 -1
  75. package/dist-vue/_chunks/{PkToolShowProductList-D4FAfMS-.js → PkToolShowProductList-THiH4EzZ.js} +2 -2
  76. package/dist-vue/_chunks/{PkToolShowProductList-D4FAfMS-.js.map → PkToolShowProductList-THiH4EzZ.js.map} +1 -1
  77. package/dist-vue/_chunks/{PkToolShowSources-BC6YJl-O.js → PkToolShowSources-CEqGXOOt.js} +2 -2
  78. package/dist-vue/_chunks/{PkToolShowSources-BC6YJl-O.js.map → PkToolShowSources-CEqGXOOt.js.map} +1 -1
  79. package/dist-vue/_chunks/{PkToolShowVideo-CxN7z_cZ.js → PkToolShowVideo-8Gi3vOer.js} +2 -2
  80. package/dist-vue/_chunks/{PkToolShowVideo-CxN7z_cZ.js.map → PkToolShowVideo-8Gi3vOer.js.map} +1 -1
  81. package/dist-vue/_chunks/{PkToolShowWebPages-0Ux6n8G1.js → PkToolShowWebPages-xjUPdfOU.js} +2 -2
  82. package/dist-vue/_chunks/{PkToolShowWebPages-0Ux6n8G1.js.map → PkToolShowWebPages-xjUPdfOU.js.map} +1 -1
  83. package/dist-vue/_chunks/{utils-C9l078yb.js → utils-VVbH-Liq.js} +22 -22
  84. package/dist-vue/_chunks/utils-VVbH-Liq.js.map +1 -0
  85. package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +6 -6
  86. package/dist-vue/apps/web-component/src/composables/useSelectionActions.d.ts +14 -4
  87. package/dist-vue/composables.js +3 -3
  88. package/dist-vue/composables.js.map +1 -1
  89. package/dist-vue/index.js +21 -21
  90. package/dist-vue/packages/auth/src/organization-auto-join.d.ts +13 -1
  91. package/dist-vue/packages/auth/src/unproven-password.d.ts +30 -0
  92. package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -6
  93. package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +1 -1
  94. package/dist-vue/packages/components/src/chat/PkSelectionActionIconPicker.d.ts +2 -2
  95. package/dist-vue/packages/components/src/chat/PkSelectionAnswerCard.d.ts +6 -0
  96. package/dist-vue/packages/components/src/chat/selectionActionEdits.d.ts +1 -1
  97. package/dist-vue/packages/components/src/chat/useChatFilePreview.d.ts +4 -4
  98. package/dist-vue/packages/components/src/chat/utils.d.ts +51 -4
  99. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +18 -18
  100. package/dist-vue/packages/composable/src/useSettledSelection.d.ts +2 -2
  101. package/dist-vue/packages/models/src/schema/Agent.d.ts +21 -21
  102. package/dist-vue/packages/models/src/schema/Chart.d.ts +1 -1
  103. package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +6 -6
  104. package/dist-vue/packages/models/src/schema/SelectionAction.d.ts +11 -11
  105. package/dist-vue/packages/models/src/schema/SelectionActionPreview.d.ts +3 -3
  106. package/dist-vue/packages/models/src/schema/SpreadsheetPreview.d.ts +5 -5
  107. package/dist-vue/packages/models/src/schema/SubAgent.d.ts +6 -6
  108. package/dist-vue/packages/models/src/schema/WordPreview.d.ts +1 -1
  109. package/package.json +1 -1
  110. package/dist/_chunks/PkSelectionActions-CMyg_x8h.js.map +0 -1
  111. package/dist/_chunks/utils-BBoaLDYF.js.map +0 -1
  112. package/dist-vue/_chunks/PkFilePreview-CmsT6lSP.js.map +0 -1
package/README.md CHANGED
@@ -1040,10 +1040,15 @@ question of the user's own. An action of the agent's own has a label and an inst
1040
1040
  language: the menu shows it in the widget's language, or, where the author did not write that
1041
1041
  one, in the first language its label is written in, and sends the instruction of the same
1042
1042
  language. The menu takes the place of the **Ask** bubble of Point and ask, with the chat open and
1043
- closed, on devices with a mouse or a trackpad. It never shows on a text in the widget, in an
1044
- excluded area or touching a sensitive field, while an answer is running, while the user points,
1045
- or while your page has a modal dialog open. Its rows take no focus on a click, so the text stays
1046
- selected and `Cmd+C` still copies it; `Esc` or a click elsewhere closes it.
1043
+ closed. On a touch screen it shows too, once the selection has rested for a moment: below the
1044
+ text, clear of the selection's handles and of the menu the phone opens above a selection, and
1045
+ above that menu only when the text is on the last line of the screen. The card of an answer
1046
+ also tries below first there, clear of the same menu, and the field of **Ask…** stays above the
1047
+ keyboard. The **Ask**
1048
+ bubble stays on devices with a mouse or a trackpad. The menu never shows on a text in the widget,
1049
+ in an excluded area or touching a sensitive field, while an answer is running, while the user
1050
+ points, or while your page has a modal dialog open. Its rows take no focus on a click, so the text
1051
+ stays selected and `Cmd+C` still copies it; `Esc` or a click elsewhere closes it.
1047
1052
 
1048
1053
  An action sends a message whose text is the action's instruction ("Explain the text I selected
1049
1054
  in plain words."), carrying the selected text as Point and ask does. It is an ordinary turn of the