@8wave/ai-elements 0.126.0-beta.43 → 0.126.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 (66) hide show
  1. package/dist/_chunks/{markdown-Z_eeOlvv.js → Document-CHcFWo2X.js} +3 -5
  2. package/dist/_chunks/Document-CHcFWo2X.js.map +1 -0
  3. package/dist/_chunks/PkToolShowEmail-C8DrPLtf.js +92 -0
  4. package/dist/_chunks/PkToolShowEmail-C8DrPLtf.js.map +1 -0
  5. package/dist/_chunks/PkToolShowMessage-4vgFABsU.js +80 -0
  6. package/dist/_chunks/PkToolShowMessage-4vgFABsU.js.map +1 -0
  7. package/dist/_chunks/{PkToolShowSources-DMDML2kQ.js → PkToolShowSources-D5gh7FtU.js} +5 -4
  8. package/dist/_chunks/{PkToolShowSources-DMDML2kQ.js.map → PkToolShowSources-D5gh7FtU.js.map} +1 -1
  9. package/dist/_chunks/markdown-aNRYL30G.js +7 -0
  10. package/dist/_chunks/markdown-aNRYL30G.js.map +1 -0
  11. package/dist/ai-elements.es.js +1090 -1049
  12. package/dist/ai-elements.es.js.map +1 -1
  13. package/dist-vue/PkChatbot.js +1 -1
  14. package/dist-vue/PkChatbotEmptyState.js +1 -1
  15. package/dist-vue/PkChatbotMessages.js +1 -1
  16. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  17. package/dist-vue/PkChatbotSteps.js +1 -1
  18. package/dist-vue/PkChatbotViewChat.js +1 -1
  19. package/dist-vue/PkChatbotViewConversations.js +1 -1
  20. package/dist-vue/_chunks/{PkChatbot-QjeNY0h6.js → PkChatbot-DFPnmNO3.js} +3 -3
  21. package/dist-vue/_chunks/{PkChatbot-QjeNY0h6.js.map → PkChatbot-DFPnmNO3.js.map} +1 -1
  22. package/dist-vue/_chunks/{PkChatbotEmptyState-D6S0iYe3.js → PkChatbotEmptyState-oIgcrKtR.js} +11 -7
  23. package/dist-vue/_chunks/PkChatbotEmptyState-oIgcrKtR.js.map +1 -0
  24. package/dist-vue/_chunks/{PkChatbotMessages-CzPsgCAN.js → PkChatbotMessages-CNOkmuR-.js} +5 -5
  25. package/dist-vue/_chunks/PkChatbotMessages-CNOkmuR-.js.map +1 -0
  26. package/dist-vue/_chunks/{PkChatbotStepToolDetail-Dsf9t1B6.js → PkChatbotStepToolDetail-BAmdMTgw.js} +50 -53
  27. package/dist-vue/_chunks/PkChatbotStepToolDetail-BAmdMTgw.js.map +1 -0
  28. package/dist-vue/_chunks/{PkChatbotSteps-HACZ1RrB.js → PkChatbotSteps-QrpF-xj9.js} +2 -2
  29. package/dist-vue/_chunks/{PkChatbotSteps-HACZ1RrB.js.map → PkChatbotSteps-QrpF-xj9.js.map} +1 -1
  30. package/dist-vue/_chunks/{PkChatbotViewChat-BpDCX_72.js → PkChatbotViewChat-DfZznZyZ.js} +4 -4
  31. package/dist-vue/_chunks/{PkChatbotViewChat-BpDCX_72.js.map → PkChatbotViewChat-DfZznZyZ.js.map} +1 -1
  32. package/dist-vue/_chunks/{PkChatbotViewConversations-B0nUFwuu.js → PkChatbotViewConversations-BrgBXjpa.js} +2 -2
  33. package/dist-vue/_chunks/{PkChatbotViewConversations-B0nUFwuu.js.map → PkChatbotViewConversations-BrgBXjpa.js.map} +1 -1
  34. package/dist-vue/_chunks/{PkFilePreview-0p50S8Km.js → PkFilePreview-Ba1DOTF4.js} +2 -2
  35. package/dist-vue/_chunks/{PkFilePreview-0p50S8Km.js.map → PkFilePreview-Ba1DOTF4.js.map} +1 -1
  36. package/dist-vue/_chunks/{PkFilePreviewDialog-B1N4xDEu.js → PkFilePreviewDialog-Br5tyyL8.js} +2 -2
  37. package/dist-vue/_chunks/{PkFilePreviewDialog-B1N4xDEu.js.map → PkFilePreviewDialog-Br5tyyL8.js.map} +1 -1
  38. package/dist-vue/_chunks/PkToolShowEmail-C_iJsuec.js +92 -0
  39. package/dist-vue/_chunks/PkToolShowEmail-C_iJsuec.js.map +1 -0
  40. package/dist-vue/_chunks/PkToolShowMessage-2pxYXo-_.js +80 -0
  41. package/dist-vue/_chunks/PkToolShowMessage-2pxYXo-_.js.map +1 -0
  42. package/dist-vue/_chunks/{PkToolShowSources-Bci0Ab2u.js → PkToolShowSources-B_2niEa3.js} +2 -2
  43. package/dist-vue/_chunks/{PkToolShowSources-Bci0Ab2u.js.map → PkToolShowSources-B_2niEa3.js.map} +1 -1
  44. package/dist-vue/_chunks/markdown-aNRYL30G.js +7 -0
  45. package/dist-vue/_chunks/markdown-aNRYL30G.js.map +1 -0
  46. package/dist-vue/composables.js +2 -0
  47. package/dist-vue/composables.js.map +1 -1
  48. package/dist-vue/index.js +12 -12
  49. package/dist-vue/locales.js +4 -0
  50. package/dist-vue/packages/components/src/chat/toolApprovalPreviews.d.ts +3 -1
  51. package/dist-vue/style.css +1 -1
  52. package/package.json +1 -1
  53. package/dist/_chunks/PkToolShowEmail-CQ4uyty9.js +0 -90
  54. package/dist/_chunks/PkToolShowEmail-CQ4uyty9.js.map +0 -1
  55. package/dist/_chunks/PkToolShowMessage-9mlI4IQ6.js +0 -78
  56. package/dist/_chunks/PkToolShowMessage-9mlI4IQ6.js.map +0 -1
  57. package/dist/_chunks/markdown-Z_eeOlvv.js.map +0 -1
  58. package/dist-vue/_chunks/PkChatbotEmptyState-D6S0iYe3.js.map +0 -1
  59. package/dist-vue/_chunks/PkChatbotMessages-CzPsgCAN.js.map +0 -1
  60. package/dist-vue/_chunks/PkChatbotStepToolDetail-Dsf9t1B6.js.map +0 -1
  61. package/dist-vue/_chunks/PkToolShowEmail-idhNR5-l.js +0 -90
  62. package/dist-vue/_chunks/PkToolShowEmail-idhNR5-l.js.map +0 -1
  63. package/dist-vue/_chunks/PkToolShowMessage-B4gztWUk.js +0 -78
  64. package/dist-vue/_chunks/PkToolShowMessage-B4gztWUk.js.map +0 -1
  65. package/dist-vue/_chunks/markdown-BiG_7-9D.js +0 -7
  66. package/dist-vue/_chunks/markdown-BiG_7-9D.js.map +0 -1
package/dist-vue/index.js CHANGED
@@ -6,7 +6,7 @@ import { t as He } from "./_chunks/PkEditorRadioButtons-Bw576DPQ.js";
6
6
  import { r as Ue, t as We } from "./_chunks/Document-CA7c3oZE.js";
7
7
  import { a as Ge, i as Ke, n as qe, r as Je } from "./_chunks/useChatbotStore-CjFPM9Q5.js";
8
8
  import { a as Ye, n as Xe, o as Ze } from "./_chunks/createChatbotApiClient-_gh3Y1rl.js";
9
- import { t as Qe } from "./_chunks/PkChatbotMessages-CzPsgCAN.js";
9
+ import { t as Qe } from "./_chunks/PkChatbotMessages-CNOkmuR-.js";
10
10
  import { t as $e } from "./_chunks/PkChatbotAuth-C8ZjLNFY.js";
11
11
  import { t as et } from "./_chunks/VvButtonLocalized-C-vx25u4.js";
12
12
  import { r as tt, t as nt } from "./_chunks/PkToolShowArtifact-CPBFsUrY.js";
@@ -14,7 +14,7 @@ import { $ as rt, A as it, B as at, C as ot, Ct as st, D as ct, E as lt, F as ut
14
14
  import { n as ln, t as un } from "./_chunks/dist-CKKe4gMX.js";
15
15
  import { n as dn, r as fn } from "./_chunks/dist-CrTGiCae.js";
16
16
  import { a as pn, l as mn, u as hn } from "./_chunks/message-DuibQyHy.js";
17
- import { a as gn, i as _n, n as vn, o as yn, s as bn, t as xn } from "./_chunks/PkChatbotViewChat-BpDCX_72.js";
17
+ import { a as gn, i as _n, n as vn, o as yn, s as bn, t as xn } from "./_chunks/PkChatbotViewChat-DfZznZyZ.js";
18
18
  import { i as Sn, t as Cn } from "./_chunks/PkStreamingMarkdown-WIueQOg3.js";
19
19
  import { t as wn } from "./_chunks/useDialogConfirm-fn7iV-iE.js";
20
20
  import { i as Tn, r as En } from "./_chunks/useLightbox-DrEFS3gx.js";
@@ -23,28 +23,28 @@ import { t as On } from "./_chunks/useImageFallback-HUe4GHah.js";
23
23
  import { t as kn } from "./_chunks/PkLazyImg-D_Tmtfz3.js";
24
24
  import { n as An, t as jn } from "./_chunks/PkChatbotInput-CunAf5Rq.js";
25
25
  import { t as Mn } from "./_chunks/useSafeLocalStorage-Bn4SsL8C.js";
26
- import { i as Nn, r as Pn } from "./_chunks/PkFilePreview-0p50S8Km.js";
26
+ import { i as Nn, r as Pn } from "./_chunks/PkFilePreview-Ba1DOTF4.js";
27
27
  import { $ as Fn, B as In, D as Ln, F as Rn, M as zn, R as Bn, U as Vn, W as Hn, _ as Un, et as Wn, l as Gn, tt as Kn, x as qn, y as Jn } from "./_chunks/utils-BYvQMZLG.js";
28
28
  import { t as Yn } from "./_chunks/PkAvatar-DwtZWSW4.js";
29
- import { i as Xn, n as Zn, r as Qn, t as $n } from "./_chunks/PkChatbotViewConversations-B0nUFwuu.js";
29
+ import { i as Xn, n as Zn, r as Qn, t as $n } from "./_chunks/PkChatbotViewConversations-BrgBXjpa.js";
30
30
  import { r as er, t as tr } from "./_chunks/PkToolShowForm-CAadu_Pq.js";
31
31
  import "./_chunks/src-nb8MU1sh.js";
32
32
  import { t as nr } from "./_chunks/PkSvgViewer-PAr87kCa.js";
33
33
  import { t as rr } from "./_chunks/PkUrl-IFszepUi.js";
34
34
  import { n as ir, t as ar } from "./_chunks/PkRelativeTime-CZF5CYHv.js";
35
- import { n as or, t as sr } from "./_chunks/PkChatbotSteps-HACZ1RrB.js";
35
+ import { n as or, t as sr } from "./_chunks/PkChatbotSteps-QrpF-xj9.js";
36
36
  import { t as cr } from "./_chunks/PkChatbotFeedbackForm-DjsLxYjT.js";
37
37
  import { t as lr } from "./_chunks/PkChatbotFilePreview-aKJBtw04.js";
38
- import { i as ur, r as dr, t as fr } from "./_chunks/PkToolShowSources-Bci0Ab2u.js";
38
+ import { i as ur, r as dr, t as fr } from "./_chunks/PkToolShowSources-B_2niEa3.js";
39
39
  import { t as pr } from "./_chunks/PkChatbotStepPayload-BQDpTDgn.js";
40
- import { t as mr } from "./_chunks/PkChatbotStepToolDetail-Dsf9t1B6.js";
41
- import { t as hr } from "./_chunks/PkChatbotEmptyState-D6S0iYe3.js";
40
+ import { t as mr } from "./_chunks/PkChatbotStepToolDetail-BAmdMTgw.js";
41
+ import { t as hr } from "./_chunks/PkChatbotEmptyState-oIgcrKtR.js";
42
42
  import { t as gr } from "./_chunks/PkChatbotViewProfile-BuJtqq8F.js";
43
- import { t as _r } from "./_chunks/PkChatbot-QjeNY0h6.js";
43
+ import { t as _r } from "./_chunks/PkChatbot-DFPnmNO3.js";
44
44
  import { t as vr } from "./_chunks/useLocalizedString-Dmn92nix.js";
45
45
  import { t as yr } from "./_chunks/mcpOAuthReport-D-MtFYwN.js";
46
- import { t as br } from "./_chunks/PkToolShowEmail-idhNR5-l.js";
47
- import { t as xr } from "./_chunks/PkToolShowMessage-B4gztWUk.js";
46
+ import { t as br } from "./_chunks/PkToolShowEmail-C_iJsuec.js";
47
+ import { t as xr } from "./_chunks/PkToolShowMessage-2pxYXo-_.js";
48
48
  import { t as Sr } from "./_chunks/PkToolShowWebPages-CHrHuFZI.js";
49
49
  import { t as Cr } from "./_chunks/PkToolShowProductList-CZFkf9UD.js";
50
50
  import { t as wr } from "./_chunks/PkToolShowContactForm-6OQ-hjCt.js";
@@ -56,7 +56,7 @@ import { t as kr } from "./_chunks/PkToolShowImageGallery-BlTyCF8h.js";
56
56
  import { t as Ar } from "./_chunks/PkToolShowSuggestedReply-DCZbwFhR.js";
57
57
  import { t as jr } from "./_chunks/PkToolShareDocument-Bkt9JVqk.js";
58
58
  import { t as Mr } from "./_chunks/PkToolChatFile-W6OJP7HH.js";
59
- import { t as Nr } from "./_chunks/PkFilePreviewDialog-B1N4xDEu.js";
59
+ import { t as Nr } from "./_chunks/PkFilePreviewDialog-Br5tyyL8.js";
60
60
  import { t as Pr } from "./_chunks/PkToolRequestGeolocation-BPZfJfR1.js";
61
61
  import { VvAccordion as Fr, VvAccordionGroup as Ir, VvAlert as Lr, VvAlertGroup as Rr, VvBadge as zr, VvButtonGroup as Br, VvCheckbox as Vr, VvCombobox as Hr, VvDialog as Ur, VvDropdown as Wr, VvDropdownAction as Gr, VvIcon as Kr, VvInputFile as qr, VvInputRange as Jr, VvInputText as Yr, VvTab as Xr, VvTextarea as Zr } from "@volverjs/ui-vue/components";
62
62
  import { Fragment as j, Teleport as Qr, Transition as $r, TransitionGroup as ei, cloneVNode as ti, computed as M, createApp as ni, createBlock as N, createCommentVNode as P, createElementBlock as F, createElementVNode as I, createSlots as ri, createStaticVNode as ii, createTextVNode as L, createVNode as R, defineComponent as z, guardReactiveProps as ai, h as oi, inject as B, isRef as si, isVNode as ci, mergeModels as li, mergeProps as ui, nextTick as di, normalizeClass as fi, normalizeProps as pi, normalizeStyle as mi, onBeforeUnmount as hi, onMounted as gi, onUnmounted as _i, openBlock as V, provide as vi, reactive as yi, readonly as bi, ref as H, renderList as xi, renderSlot as Si, resolveComponent as Ci, resolveDynamicComponent as wi, shallowRef as Ti, toDisplayString as U, toRef as Ei, toRefs as Di, unref as W, useId as Oi, useModel as G, useSlots as ki, useTemplateRef as Ai, vModelSelect as ji, vModelText as Mi, watch as K, withCtx as q, withDirectives as Ni, withKeys as Pi, withModifiers as Fi } from "vue";
@@ -452,6 +452,7 @@ var e = {
452
452
  sortDescending: "Descending order",
453
453
  sortBy: "Sort by",
454
454
  passphrase: "Enter passphrase",
455
+ chat: "Chat",
455
456
  selectedHint: "Selected"
456
457
  },
457
458
  time: {
@@ -731,6 +732,7 @@ var e = {
731
732
  revisedAnswers: "Search frequently asked questions…",
732
733
  stepRepeated: "{n} excerpt already found earlier | {n} excerpts already found earlier",
733
734
  stepNoResults: "No results found",
735
+ stepOpenHit: "Open {title} in a new tab",
734
736
  stepInput: "Input",
735
737
  stepOutput: "Output",
736
738
  steps: "Processing",
@@ -1536,6 +1538,7 @@ var e = {
1536
1538
  sortDescending: "Ordine decrescente",
1537
1539
  sortBy: "Ordina per",
1538
1540
  passphrase: "Inserisci la parola chiave",
1541
+ chat: "Chat",
1539
1542
  selectedHint: "Selezionato"
1540
1543
  },
1541
1544
  time: {
@@ -1815,6 +1818,7 @@ var e = {
1815
1818
  revisedAnswers: "Ricerca nelle domande ricorrenti…",
1816
1819
  stepRepeated: "{n} estratto già trovato prima | {n} estratti già trovati prima",
1817
1820
  stepNoResults: "Nessun risultato trovato",
1821
+ stepOpenHit: "Apri {title} in una nuova scheda",
1818
1822
  stepInput: "Input",
1819
1823
  stepOutput: "Output",
1820
1824
  steps: "Elaborazione",
@@ -7,6 +7,8 @@ import { Component } from 'vue';
7
7
  * Registering a preview needs no change to the card: tools with no entry here
8
8
  * show only the localized confirmation prompt (no raw echo of the call input).
9
9
  * Reuse the component that already renders that kind of payload when there is
10
- * one (e.g. `sendEmail` will reuse `PkToolShowEmail`).
10
+ * one (e.g. `sendEmail` will reuse `PkToolShowEmail`). Mind that the draft
11
+ * cards drop the Markdown from the body: a preview must show the text the
12
+ * tool will send, so it cleans the sent body the same way or none at all.
11
13
  */
12
14
  export declare const toolApprovalPreviews: Record<string, Component>;