@8wave/ai-elements 0.125.0-beta.43 → 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/{PkFilePreview-yjdtArag.js → PkFilePreview-DfYzaj3Y.js} +427 -427
- package/dist/_chunks/{PkFilePreview-yjdtArag.js.map → PkFilePreview-DfYzaj3Y.js.map} +1 -1
- package/dist/_chunks/{PkFilePreviewDialog-Df0Lt40J.js → PkFilePreviewDialog-COkwyLq6.js} +2 -2
- package/dist/_chunks/{PkFilePreviewDialog-Df0Lt40J.js.map → PkFilePreviewDialog-COkwyLq6.js.map} +1 -1
- package/dist/_chunks/{PkImageEditorDialog-PVf3IHGB.js → PkImageEditorDialog-Ceas-HZA.js} +2 -2
- package/dist/_chunks/{PkImageEditorDialog-PVf3IHGB.js.map → PkImageEditorDialog-Ceas-HZA.js.map} +1 -1
- package/dist/_chunks/{PkSelectionActions-CMyg_x8h.js → PkSelectionActions-Dl3cKb7x.js} +2 -2
- package/dist/_chunks/PkSelectionActions-Dl3cKb7x.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown-BDXbU2tz.js → PkStreamingMarkdown-DZvLHy2l.js} +2 -2
- package/dist/_chunks/{PkStreamingMarkdown-BDXbU2tz.js.map → PkStreamingMarkdown-DZvLHy2l.js.map} +1 -1
- package/dist/_chunks/{PkToolChatFile-CMQdMs-9.js → PkToolChatFile-D4ukZ9g6.js} +2 -2
- package/dist/_chunks/{PkToolChatFile-CMQdMs-9.js.map → PkToolChatFile-D4ukZ9g6.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-YrC54qxc.js → PkToolShowArtifact-wIAxyXrL.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-YrC54qxc.js.map → PkToolShowArtifact-wIAxyXrL.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-Dio2FNkA.js → PkToolShowContactForm-BhcM-Z6m.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-Dio2FNkA.js.map → PkToolShowContactForm-BhcM-Z6m.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-w9HGhvCy.js → PkToolShowForm-D6k7_QLF.js} +3 -3
- package/dist/_chunks/{PkToolShowForm-w9HGhvCy.js.map → PkToolShowForm-D6k7_QLF.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-DXFvFHOo.js → PkToolShowSources-Cw1ofky2.js} +2 -2
- package/dist/_chunks/{PkToolShowSources-DXFvFHOo.js.map → PkToolShowSources-Cw1ofky2.js.map} +1 -1
- package/dist/_chunks/{utils-BBoaLDYF.js → utils-C2aFWWye.js} +132 -110
- package/{dist-vue/_chunks/utils-C9l078yb.js.map → dist/_chunks/utils-C2aFWWye.js.map} +1 -1
- package/dist/ai-elements.es.js +2909 -2858
- 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/{PkChatbot-CxkTubw8.js → PkChatbot-CBSe9MOB.js} +5 -5
- package/dist-vue/_chunks/{PkChatbot-CxkTubw8.js.map → PkChatbot-CBSe9MOB.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-CUoHkCgO.js → PkChatbotEmptyState-DfyYZXHQ.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-CUoHkCgO.js.map → PkChatbotEmptyState-DfyYZXHQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-CPf7wqiQ.js → PkChatbotInput-CBalSveL.js} +4 -4
- package/dist-vue/_chunks/{PkChatbotInput-CPf7wqiQ.js.map → PkChatbotInput-CBalSveL.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-CLNu2dTm.js → PkChatbotMessages-C2AUTqk4.js} +15 -15
- package/dist-vue/_chunks/{PkChatbotMessages-CLNu2dTm.js.map → PkChatbotMessages-C2AUTqk4.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-Cf7mJPjL.js → PkChatbotStepPayload-Bb3Y6kuL.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-Cf7mJPjL.js.map → PkChatbotStepPayload-Bb3Y6kuL.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-D6nwNnHv.js → PkChatbotStepToolDetail-CwOxzYOe.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-D6nwNnHv.js.map → PkChatbotStepToolDetail-CwOxzYOe.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-xkxdaX7O.js → PkChatbotSteps-FduD9X9i.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-xkxdaX7O.js.map → PkChatbotSteps-FduD9X9i.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-BkkyjiFl.js → PkChatbotViewChat-jl3ZbK7H.js} +6 -6
- package/dist-vue/_chunks/{PkChatbotViewChat-BkkyjiFl.js.map → PkChatbotViewChat-jl3ZbK7H.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-hgqSO1hx.js → PkChatbotViewConversations-BtwTWqmM.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-hgqSO1hx.js.map → PkChatbotViewConversations-BtwTWqmM.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-CmsT6lSP.js → PkFilePreview-CRfDEYYo.js} +3 -3
- package/dist-vue/_chunks/PkFilePreview-CRfDEYYo.js.map +1 -0
- package/dist-vue/_chunks/{PkFilePreviewDialog-DIiTt9iK.js → PkFilePreviewDialog-u-0rhuRx.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-DIiTt9iK.js.map → PkFilePreviewDialog-u-0rhuRx.js.map} +1 -1
- package/dist-vue/_chunks/{PkImageEditorDialog-CE0Y5Pwr.js → PkImageEditorDialog-CjMwpb-a.js} +2 -2
- package/dist-vue/_chunks/{PkImageEditorDialog-CE0Y5Pwr.js.map → PkImageEditorDialog-CjMwpb-a.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-BBvCtDlO.js → PkStreamingMarkdown-7Kl_VBH-.js} +2 -2
- package/dist-vue/_chunks/{PkStreamingMarkdown-BBvCtDlO.js.map → PkStreamingMarkdown-7Kl_VBH-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolChatFile-DVhunkPS.js → PkToolChatFile-DcNRCVXy.js} +2 -2
- package/dist-vue/_chunks/{PkToolChatFile-DVhunkPS.js.map → PkToolChatFile-DcNRCVXy.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-DKOTsP9C.js → PkToolShowArtifact-C7CxCqVO.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-DKOTsP9C.js.map → PkToolShowArtifact-C7CxCqVO.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowChart-CNBUjDc7.js → PkToolShowChart-DULlrMjq.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowChart-CNBUjDc7.js.map → PkToolShowChart-DULlrMjq.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-D1Ff15Zf.js → PkToolShowContactForm-472d-SAE.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-D1Ff15Zf.js.map → PkToolShowContactForm-472d-SAE.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-CBwqjy6a.js → PkToolShowDiagram-RrqVpOaX.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-CBwqjy6a.js.map → PkToolShowDiagram-RrqVpOaX.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-D-rzzwJa.js → PkToolShowForm-CgyszDEI.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowForm-D-rzzwJa.js.map → PkToolShowForm-CgyszDEI.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-Cre2zSGV.js → PkToolShowImageGallery-LBx9JE6p.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-Cre2zSGV.js.map → PkToolShowImageGallery-LBx9JE6p.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-D4FAfMS-.js → PkToolShowProductList-THiH4EzZ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-D4FAfMS-.js.map → PkToolShowProductList-THiH4EzZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-BC6YJl-O.js → PkToolShowSources-CEqGXOOt.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSources-BC6YJl-O.js.map → PkToolShowSources-CEqGXOOt.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-CxN7z_cZ.js → PkToolShowVideo-8Gi3vOer.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-CxN7z_cZ.js.map → PkToolShowVideo-8Gi3vOer.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-0Ux6n8G1.js → PkToolShowWebPages-xjUPdfOU.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-0Ux6n8G1.js.map → PkToolShowWebPages-xjUPdfOU.js.map} +1 -1
- package/dist-vue/_chunks/{utils-C9l078yb.js → utils-VVbH-Liq.js} +22 -22
- 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 +1 -1
- package/dist-vue/index.js +21 -21
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -6
- package/dist-vue/packages/components/src/chat/PkChatbotMessages.d.ts +1 -1
- 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/selectionActionEdits.d.ts +1 -1
- package/dist-vue/packages/components/src/chat/useChatFilePreview.d.ts +4 -4
- package/dist-vue/packages/components/src/chat/utils.d.ts +51 -4
- 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 +1 -1
- 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 +5 -5
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +6 -6
- package/dist-vue/packages/models/src/schema/WordPreview.d.ts +1 -1
- package/package.json +1 -1
- package/dist/_chunks/PkSelectionActions-CMyg_x8h.js.map +0 -1
- package/dist/_chunks/utils-BBoaLDYF.js.map +0 -1
- 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
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
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
|