@8wave/ai-elements 0.125.0-beta.17 → 0.125.0-beta.19

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 (114) hide show
  1. package/README.md +1 -0
  2. package/dist/_chunks/{PkChatbotFilePreview-xDlDvl5m.js → PkChatbotFilePreview-CFGqa-tX.js} +2 -2
  3. package/dist/_chunks/{PkChatbotFilePreview-xDlDvl5m.js.map → PkChatbotFilePreview-CFGqa-tX.js.map} +1 -1
  4. package/dist/_chunks/{PkFilePreview-BIFkMsAC.js → PkFilePreview-BzNLupQS.js} +318 -315
  5. package/dist/_chunks/PkFilePreview-BzNLupQS.js.map +1 -0
  6. package/dist/_chunks/{PkFilePreviewDialog-NLk4gZMd.js → PkFilePreviewDialog-BfZFgdOi.js} +2 -2
  7. package/dist/_chunks/{PkFilePreviewDialog-NLk4gZMd.js.map → PkFilePreviewDialog-BfZFgdOi.js.map} +1 -1
  8. package/dist/_chunks/{PkStreamingMarkdown-BFTTLuPc.js → PkStreamingMarkdown-CqLpNWQv.js} +2 -2
  9. package/dist/_chunks/{PkStreamingMarkdown-BFTTLuPc.js.map → PkStreamingMarkdown-CqLpNWQv.js.map} +1 -1
  10. package/dist/_chunks/{PkToolChatFile-Buv7Qkes.js → PkToolChatFile-iE4ZokYD.js} +2 -2
  11. package/dist/_chunks/{PkToolChatFile-Buv7Qkes.js.map → PkToolChatFile-iE4ZokYD.js.map} +1 -1
  12. package/dist/_chunks/{PkToolShareDocument-kB0qoQda.js → PkToolShareDocument-lTHNZodf.js} +2 -2
  13. package/dist/_chunks/{PkToolShareDocument-kB0qoQda.js.map → PkToolShareDocument-lTHNZodf.js.map} +1 -1
  14. package/dist/_chunks/{PkToolShowArtifact-ClYqvIqB.js → PkToolShowArtifact-BNQrM5fY.js} +2 -2
  15. package/dist/_chunks/{PkToolShowArtifact-ClYqvIqB.js.map → PkToolShowArtifact-BNQrM5fY.js.map} +1 -1
  16. package/dist/_chunks/{PkToolShowContactForm-C0ABjvtZ.js → PkToolShowContactForm-CvQoLumn.js} +2 -2
  17. package/dist/_chunks/{PkToolShowContactForm-C0ABjvtZ.js.map → PkToolShowContactForm-CvQoLumn.js.map} +1 -1
  18. package/dist/_chunks/{PkToolShowDiagram-BZbHtEs5.js → PkToolShowDiagram-COt1Z3q9.js} +2 -2
  19. package/dist/_chunks/{PkToolShowDiagram-BZbHtEs5.js.map → PkToolShowDiagram-COt1Z3q9.js.map} +1 -1
  20. package/dist/_chunks/{PkToolShowForm-DUjR-9o1.js → PkToolShowForm-DcPccCEU.js} +2 -2
  21. package/dist/_chunks/{PkToolShowForm-DUjR-9o1.js.map → PkToolShowForm-DcPccCEU.js.map} +1 -1
  22. package/dist/_chunks/{PkToolShowImageGallery-CNU2Zvso.js → PkToolShowImageGallery-DefXra8-.js} +2 -2
  23. package/dist/_chunks/{PkToolShowImageGallery-CNU2Zvso.js.map → PkToolShowImageGallery-DefXra8-.js.map} +1 -1
  24. package/dist/_chunks/{PkToolShowSources-DhDjNIFa.js → PkToolShowSources-BE3Zv_uz.js} +2 -2
  25. package/dist/_chunks/{PkToolShowSources-DhDjNIFa.js.map → PkToolShowSources-BE3Zv_uz.js.map} +1 -1
  26. package/dist/_chunks/{useLightbox-BEEzZ0qT.js → useLightbox-D2Zi-Fpe.js} +72 -13
  27. package/dist/_chunks/useLightbox-D2Zi-Fpe.js.map +1 -0
  28. package/dist/ai-elements.es.js +461 -429
  29. package/dist/ai-elements.es.js.map +1 -1
  30. package/dist-vue/PkChatbot.js +1 -1
  31. package/dist-vue/PkChatbotEmptyState.js +1 -1
  32. package/dist-vue/PkChatbotFilePreview.js +1 -1
  33. package/dist-vue/PkChatbotInput.js +1 -1
  34. package/dist-vue/PkChatbotMessages.js +1 -1
  35. package/dist-vue/PkChatbotSteps.js +1 -1
  36. package/dist-vue/PkChatbotViewChat.js +1 -1
  37. package/dist-vue/PkChatbotViewConversations.js +1 -1
  38. package/dist-vue/PkChatbotViewFiles.js +1 -1
  39. package/dist-vue/PkChatbotViewProfile.js +1 -1
  40. package/dist-vue/_chunks/{PkChatbot-BtUaZ-LR.js → PkChatbot-BVZgvanv.js} +7 -7
  41. package/dist-vue/_chunks/{PkChatbot-BtUaZ-LR.js.map → PkChatbot-BVZgvanv.js.map} +1 -1
  42. package/dist-vue/_chunks/{PkChatbotEmptyState-DJIkAskP.js → PkChatbotEmptyState-COya3H3C.js} +2 -2
  43. package/dist-vue/_chunks/{PkChatbotEmptyState-DJIkAskP.js.map → PkChatbotEmptyState-COya3H3C.js.map} +1 -1
  44. package/dist-vue/_chunks/{PkChatbotFilePreview-BpVM850N.js → PkChatbotFilePreview-BsvT6orx.js} +2 -2
  45. package/dist-vue/_chunks/{PkChatbotFilePreview-BpVM850N.js.map → PkChatbotFilePreview-BsvT6orx.js.map} +1 -1
  46. package/dist-vue/_chunks/{PkChatbotInput-DzqaW3EE.js → PkChatbotInput-D0KUEkAs.js} +5 -4
  47. package/dist-vue/_chunks/PkChatbotInput-D0KUEkAs.js.map +1 -0
  48. package/dist-vue/_chunks/{PkChatbotMessages-vkbq5p1X.js → PkChatbotMessages-l-IzEWsN.js} +17 -17
  49. package/dist-vue/_chunks/{PkChatbotMessages-vkbq5p1X.js.map → PkChatbotMessages-l-IzEWsN.js.map} +1 -1
  50. package/dist-vue/_chunks/{PkChatbotSteps-D5yz8lut.js → PkChatbotSteps-_Aqft0em.js} +2 -2
  51. package/dist-vue/_chunks/{PkChatbotSteps-D5yz8lut.js.map → PkChatbotSteps-_Aqft0em.js.map} +1 -1
  52. package/dist-vue/_chunks/{PkChatbotViewChat-DCPRePrE.js → PkChatbotViewChat-C1uzFQCJ.js} +458 -453
  53. package/dist-vue/_chunks/PkChatbotViewChat-C1uzFQCJ.js.map +1 -0
  54. package/dist-vue/_chunks/{PkChatbotViewConversations-BBd3XMmM.js → PkChatbotViewConversations-DjhiHp8-.js} +2 -2
  55. package/dist-vue/_chunks/{PkChatbotViewConversations-BBd3XMmM.js.map → PkChatbotViewConversations-DjhiHp8-.js.map} +1 -1
  56. package/dist-vue/_chunks/{PkChatbotViewFiles-BiQzDqJg.js → PkChatbotViewFiles-CtOhnFCc.js} +2 -2
  57. package/dist-vue/_chunks/{PkChatbotViewFiles-BiQzDqJg.js.map → PkChatbotViewFiles-CtOhnFCc.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkChatbotViewProfile-7266UiRM.js → PkChatbotViewProfile-NfTamy9j.js} +2 -2
  59. package/dist-vue/_chunks/{PkChatbotViewProfile-7266UiRM.js.map → PkChatbotViewProfile-NfTamy9j.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkFilePreview-DLo9nI2g.js → PkFilePreview-C2VOU99H.js} +469 -466
  61. package/dist-vue/_chunks/PkFilePreview-C2VOU99H.js.map +1 -0
  62. package/dist-vue/_chunks/{PkFilePreviewDialog-CgDJQgIJ.js → PkFilePreviewDialog-C6QQMntW.js} +2 -2
  63. package/dist-vue/_chunks/{PkFilePreviewDialog-CgDJQgIJ.js.map → PkFilePreviewDialog-C6QQMntW.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkStreamingMarkdown-C3UGCEXm.js → PkStreamingMarkdown-2FN4WMQD.js} +2 -2
  65. package/dist-vue/_chunks/{PkStreamingMarkdown-C3UGCEXm.js.map → PkStreamingMarkdown-2FN4WMQD.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkSvgViewer-DmkElalq.js → PkSvgViewer-BsdSOBpH.js} +2 -2
  67. package/dist-vue/_chunks/{PkSvgViewer-DmkElalq.js.map → PkSvgViewer-BsdSOBpH.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkToolChatFile-Dy0rGC29.js → PkToolChatFile-DAT1tv52.js} +2 -2
  69. package/dist-vue/_chunks/{PkToolChatFile-Dy0rGC29.js.map → PkToolChatFile-DAT1tv52.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkToolShareDocument-BIZkgcJ3.js → PkToolShareDocument-Qb2Lu5vh.js} +2 -2
  71. package/dist-vue/_chunks/{PkToolShareDocument-BIZkgcJ3.js.map → PkToolShareDocument-Qb2Lu5vh.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkToolShowArtifact-B7udnhpb.js → PkToolShowArtifact-Bskomw05.js} +2 -2
  73. package/dist-vue/_chunks/{PkToolShowArtifact-B7udnhpb.js.map → PkToolShowArtifact-Bskomw05.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkToolShowContactForm-0SEgxn2S.js → PkToolShowContactForm-iQrlqv7j.js} +2 -2
  75. package/dist-vue/_chunks/{PkToolShowContactForm-0SEgxn2S.js.map → PkToolShowContactForm-iQrlqv7j.js.map} +1 -1
  76. package/dist-vue/_chunks/{PkToolShowDiagram-BqHBhZgd.js → PkToolShowDiagram-C-43uUoh.js} +2 -2
  77. package/dist-vue/_chunks/{PkToolShowDiagram-BqHBhZgd.js.map → PkToolShowDiagram-C-43uUoh.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkToolShowForm-C4n_3mFL.js → PkToolShowForm-CKXpqQxy.js} +2 -2
  79. package/dist-vue/_chunks/{PkToolShowForm-C4n_3mFL.js.map → PkToolShowForm-CKXpqQxy.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkToolShowImageGallery-DEpdtLns.js → PkToolShowImageGallery-DLTn6JmU.js} +3 -3
  81. package/dist-vue/_chunks/{PkToolShowImageGallery-DEpdtLns.js.map → PkToolShowImageGallery-DLTn6JmU.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkToolShowLocation-DCPaDtBI.js → PkToolShowLocation-B8FE_Sqd.js} +2 -2
  83. package/dist-vue/_chunks/{PkToolShowLocation-DCPaDtBI.js.map → PkToolShowLocation-B8FE_Sqd.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkToolShowProductList-Bm2NLUGS.js → PkToolShowProductList-hhSBAQVC.js} +2 -2
  85. package/dist-vue/_chunks/{PkToolShowProductList-Bm2NLUGS.js.map → PkToolShowProductList-hhSBAQVC.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkToolShowSources-DwFqlit2.js → PkToolShowSources-BiP9fVV2.js} +2 -2
  87. package/dist-vue/_chunks/{PkToolShowSources-DwFqlit2.js.map → PkToolShowSources-BiP9fVV2.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkToolShowVideo-BLEJ8tng.js → PkToolShowVideo-DJhsbDuX.js} +2 -2
  89. package/dist-vue/_chunks/{PkToolShowVideo-BLEJ8tng.js.map → PkToolShowVideo-DJhsbDuX.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolShowWebPages-CeAXllAF.js → PkToolShowWebPages-BAv66f5H.js} +2 -2
  91. package/dist-vue/_chunks/{PkToolShowWebPages-CeAXllAF.js.map → PkToolShowWebPages-BAv66f5H.js.map} +1 -1
  92. package/dist-vue/_chunks/{createChatbotApiClient-BPN6cLGF.js → createChatbotApiClient-DO4_I5hT.js} +8 -1
  93. package/dist-vue/_chunks/createChatbotApiClient-DO4_I5hT.js.map +1 -0
  94. package/dist-vue/_chunks/{useChatbotStore-C4xhJtrb.js → useChatbotStore-BZ1n3Hyx.js} +662 -649
  95. package/dist-vue/_chunks/useChatbotStore-BZ1n3Hyx.js.map +1 -0
  96. package/dist-vue/_chunks/{useLightbox-gSzoBgNv.js → useLightbox-FDyQrPWe.js} +72 -13
  97. package/dist-vue/_chunks/useLightbox-FDyQrPWe.js.map +1 -0
  98. package/dist-vue/api.js +1 -1
  99. package/dist-vue/composables.js +8 -2
  100. package/dist-vue/composables.js.map +1 -1
  101. package/dist-vue/index.js +25 -25
  102. package/dist-vue/locales.js +6 -0
  103. package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +2 -0
  104. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +6 -0
  105. package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +4 -1
  106. package/package.json +1 -1
  107. package/dist/_chunks/PkFilePreview-BIFkMsAC.js.map +0 -1
  108. package/dist/_chunks/useLightbox-BEEzZ0qT.js.map +0 -1
  109. package/dist-vue/_chunks/PkChatbotInput-DzqaW3EE.js.map +0 -1
  110. package/dist-vue/_chunks/PkChatbotViewChat-DCPRePrE.js.map +0 -1
  111. package/dist-vue/_chunks/PkFilePreview-DLo9nI2g.js.map +0 -1
  112. package/dist-vue/_chunks/createChatbotApiClient-BPN6cLGF.js.map +0 -1
  113. package/dist-vue/_chunks/useChatbotStore-C4xhJtrb.js.map +0 -1
  114. package/dist-vue/_chunks/useLightbox-gSzoBgNv.js.map +0 -1
package/dist-vue/index.js CHANGED
@@ -1,61 +1,61 @@
1
1
  import { t as e } from "./_chunks/rolldown-runtime-CGnMp29N.js";
2
2
  import { t } from "./_chunks/PkEditorRadioButtons-Bw576DPQ.js";
3
3
  import { E as n, S as r, T as i, _ as a, f as o, m as s, o as c, r as l, s as u, u as d, v as f, w as p, x as m, y as h } from "./_chunks/schemas-BO5QlXAp.js";
4
- import { t as g } from "./_chunks/PkChatbotMessages-vkbq5p1X.js";
4
+ import { t as g } from "./_chunks/PkChatbotMessages-l-IzEWsN.js";
5
5
  import { a as _, i as v, l as y, n as b, r as x } from "./_chunks/Media-DylqhvaF.js";
6
6
  import { $ as S, B as C, D as w, E as ee, F as te, G as ne, I as re, J as ie, K as ae, L as oe, N as se, P as ce, Q as le, R as ue, S as de, T as fe, U as pe, X as me, Z as he, _t as ge, a as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, i as we, lt as Te, mt as Ee, p as De, pt as Oe, q as ke, r as T, s as Ae, st as je, t as Me, tt as Ne, ut as Pe, w as Fe, x as Ie, y as Le, z as Re } from "./_chunks/Agent-Cm1LrkYm.js";
7
7
  import { c as ze, d as Be, l as Ve, r as He, s as Ue, t as We, u as Ge } from "./_chunks/Document-DHBTrCuO.js";
8
- import { a as Ke, i as qe, n as Je } from "./_chunks/createChatbotApiClient-BPN6cLGF.js";
8
+ import { a as Ke, i as qe, n as Je } from "./_chunks/createChatbotApiClient-DO4_I5hT.js";
9
9
  import { t as Ye } from "./_chunks/PkChatbotAuth-Btxg3TF0.js";
10
10
  import { t as Xe } from "./_chunks/VvButtonLocalized-C-vx25u4.js";
11
- import { n as Ze, r as Qe } from "./_chunks/useLightbox-gSzoBgNv.js";
12
- import { n as $e, t as et } from "./_chunks/PkStreamingMarkdown-C3UGCEXm.js";
13
- import { a as tt, i as nt, n as rt, r as it } from "./_chunks/useChatbotStore-C4xhJtrb.js";
11
+ import { n as Ze, r as Qe } from "./_chunks/useLightbox-FDyQrPWe.js";
12
+ import { n as $e, t as et } from "./_chunks/PkStreamingMarkdown-2FN4WMQD.js";
13
+ import { a as tt, i as nt, n as rt, r as it } from "./_chunks/useChatbotStore-BZ1n3Hyx.js";
14
14
  import "./_chunks/src-nb8MU1sh.js";
15
15
  import { a as at, l as ot, u as st } from "./_chunks/message-DuibQyHy.js";
16
16
  import { B as ct, E as lt, F as ut, L as dt, M as ft, X as pt, Y as mt, Z as ht, b as gt, c as _t, g as vt, k as yt, v as bt } from "./_chunks/utils-RwaXl9-x.js";
17
17
  import { t as xt } from "./_chunks/useSafeLocalStorage-Bn4SsL8C.js";
18
18
  import { t as St } from "./_chunks/useDialogConfirm-fn7iV-iE.js";
19
- import { i as Ct, n as wt, r as Tt, t as Et } from "./_chunks/PkChatbotViewConversations-BBd3XMmM.js";
20
- import { a as Dt, i as Ot, n as kt, o as At, r as jt, t as Mt } from "./_chunks/PkChatbotViewChat-DCPRePrE.js";
19
+ import { i as Ct, n as wt, r as Tt, t as Et } from "./_chunks/PkChatbotViewConversations-DjhiHp8-.js";
20
+ import { a as Dt, i as Ot, n as kt, o as At, r as jt, t as Mt } from "./_chunks/PkChatbotViewChat-C1uzFQCJ.js";
21
21
  import { t as Nt } from "./_chunks/PkChatbotError-BS84xuiu.js";
22
22
  import { t as Pt } from "./_chunks/useImageFallback-HUe4GHah.js";
23
23
  import { t as Ft } from "./_chunks/useLocalizedString-Dmn92nix.js";
24
24
  import { n as It, t as Lt } from "./_chunks/PkRelativeTime-CZF5CYHv.js";
25
- import { r as Rt, t as zt } from "./_chunks/PkToolShowArtifact-B7udnhpb.js";
25
+ import { r as Rt, t as zt } from "./_chunks/PkToolShowArtifact-Bskomw05.js";
26
26
  import { $ as Bt, A as Vt, B as Ht, C as Ut, Ct as Wt, D as Gt, E as Kt, F as qt, G as Jt, H as Yt, I as Xt, J as Zt, K as Qt, L as $t, M as en, N as E, Q as tn, S as nn, St as rn, T as an, Tt as on, U as sn, V as cn, W as ln, X as un, _t as dn, a as fn, at as pn, b as mn, bt as hn, c as gn, ct as _n, d as vn, dt as yn, et as bn, f as xn, gt as Sn, h as Cn, it as wn, j as Tn, k as En, l as D, lt as O, mt as Dn, nt as On, o as kn, ot as An, pt as jn, q as Mn, rt as Nn, st as Pn, tt as Fn, u as In, ut as Ln, vt as Rn, w as zn, wt as Bn, x as Vn, xt as Hn, y as Un, yt as Wn, z as Gn } from "./_chunks/dist-DtxVAOxm.js";
27
27
  import { n as Kn, t as qn } from "./_chunks/dist-CKKe4gMX.js";
28
28
  import { n as Jn, r as Yn } from "./_chunks/dist-DTy4614p.js";
29
- import { r as Xn, t as Zn } from "./_chunks/PkToolShowForm-C4n_3mFL.js";
29
+ import { r as Xn, t as Zn } from "./_chunks/PkToolShowForm-CKXpqQxy.js";
30
30
  import { t as Qn } from "./_chunks/PkLazyImg-D_Tmtfz3.js";
31
- import { t as $n } from "./_chunks/PkSvgViewer-DmkElalq.js";
31
+ import { t as $n } from "./_chunks/PkSvgViewer-BsdSOBpH.js";
32
32
  import { t as er } from "./_chunks/PkUrl-IFszepUi.js";
33
33
  import { t as tr } from "./_chunks/PkAvatar-DwtZWSW4.js";
34
34
  import { t as nr } from "./_chunks/PkChatbotFeedbackForm-Bh3tvNUW.js";
35
- import { t as rr } from "./_chunks/PkChatbotFilePreview-BpVM850N.js";
36
- import { n as ir, t as ar } from "./_chunks/PkChatbotSteps-D5yz8lut.js";
35
+ import { t as rr } from "./_chunks/PkChatbotFilePreview-BsvT6orx.js";
36
+ import { n as ir, t as ar } from "./_chunks/PkChatbotSteps-_Aqft0em.js";
37
37
  import { t as or } from "./_chunks/PkChatbotStepPayload-cuYclK_2.js";
38
38
  import { t as sr } from "./_chunks/PkChatbotStepToolDetail-Yd8cUQJP.js";
39
- import { n as cr, t as lr } from "./_chunks/PkChatbotInput-DzqaW3EE.js";
40
- import { t as ur } from "./_chunks/PkChatbotEmptyState-DJIkAskP.js";
41
- import { t as dr } from "./_chunks/PkChatbotViewProfile-7266UiRM.js";
42
- import { t as fr } from "./_chunks/PkChatbot-BtUaZ-LR.js";
43
- import { i as pr, r as mr, t as hr } from "./_chunks/PkToolShowSources-DwFqlit2.js";
39
+ import { n as cr, t as lr } from "./_chunks/PkChatbotInput-D0KUEkAs.js";
40
+ import { t as ur } from "./_chunks/PkChatbotEmptyState-COya3H3C.js";
41
+ import { t as dr } from "./_chunks/PkChatbotViewProfile-NfTamy9j.js";
42
+ import { t as fr } from "./_chunks/PkChatbot-BVZgvanv.js";
43
+ import { i as pr, r as mr, t as hr } from "./_chunks/PkToolShowSources-BiP9fVV2.js";
44
44
  import { t as gr } from "./_chunks/mcpOAuthReport-D-MtFYwN.js";
45
45
  import { t as _r } from "./_chunks/PkToolShowEmail-BehvoNsz.js";
46
46
  import { t as vr } from "./_chunks/PkToolShowMessage-Cca7K7GQ.js";
47
- import { t as yr } from "./_chunks/PkToolShowWebPages-CeAXllAF.js";
48
- import { t as br } from "./_chunks/PkToolShowProductList-Bm2NLUGS.js";
49
- import { t as xr } from "./_chunks/PkToolShowContactForm-0SEgxn2S.js";
47
+ import { t as yr } from "./_chunks/PkToolShowWebPages-BAv66f5H.js";
48
+ import { t as br } from "./_chunks/PkToolShowProductList-hhSBAQVC.js";
49
+ import { t as xr } from "./_chunks/PkToolShowContactForm-iQrlqv7j.js";
50
50
  import { t as Sr } from "./_chunks/PkToolShowCalendarEvent-CAejFLQI.js";
51
51
  import { t as Cr } from "./_chunks/PkToolShowComparison-BEHyRNXE.js";
52
- import { t as wr } from "./_chunks/PkToolShowLocation-DCPaDtBI.js";
52
+ import { t as wr } from "./_chunks/PkToolShowLocation-B8FE_Sqd.js";
53
53
  import { t as Tr } from "./_chunks/PkToolShowQrCode-96KzD1rX.js";
54
- import { t as Er } from "./_chunks/PkToolShowImageGallery-DEpdtLns.js";
54
+ import { t as Er } from "./_chunks/PkToolShowImageGallery-DLTn6JmU.js";
55
55
  import { t as Dr } from "./_chunks/PkToolShowSuggestedReply-BRIzGNwx.js";
56
- import { t as Or } from "./_chunks/PkToolShareDocument-BIZkgcJ3.js";
57
- import { t as kr } from "./_chunks/PkToolChatFile-Dy0rGC29.js";
58
- import { t as Ar } from "./_chunks/PkFilePreviewDialog-CgDJQgIJ.js";
56
+ import { t as Or } from "./_chunks/PkToolShareDocument-Qb2Lu5vh.js";
57
+ import { t as kr } from "./_chunks/PkToolChatFile-DAT1tv52.js";
58
+ import { t as Ar } from "./_chunks/PkFilePreviewDialog-C6QQMntW.js";
59
59
  import { t as jr } from "./_chunks/PkToolRequestGeolocation-p7Ip17F7.js";
60
60
  import { VvAccordion as Mr, VvAccordionGroup as Nr, VvAlert as Pr, VvAlertGroup as Fr, VvBadge as Ir, VvButtonGroup as Lr, VvCheckbox as Rr, VvCombobox as zr, VvDialog as Br, VvDropdown as Vr, VvDropdownAction as Hr, VvIcon as Ur, VvInputFile as Wr, VvInputRange as Gr, VvInputText as Kr, VvTab as qr } from "@volverjs/ui-vue/components";
61
61
  import { Fragment as k, Teleport as Jr, Transition as Yr, TransitionGroup as Xr, cloneVNode as Zr, computed as A, createApp as Qr, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as $r, createStaticVNode as ei, createTextVNode as F, createVNode as I, defineComponent as L, guardReactiveProps as ti, h as ni, inject as R, isRef as ri, isVNode as ii, mergeModels as ai, mergeProps as oi, nextTick as si, normalizeClass as ci, normalizeProps as li, normalizeStyle as ui, onBeforeUnmount as di, onMounted as fi, onUnmounted as pi, openBlock as z, provide as mi, reactive as hi, readonly as gi, ref as B, renderList as _i, renderSlot as vi, resolveComponent as yi, resolveDynamicComponent as bi, shallowRef as xi, toDisplayString as V, toRef as Si, toRefs as Ci, unref as H, useId as wi, useModel as U, useSlots as Ti, useTemplateRef as Ei, vModelSelect as Di, vModelText as Oi, watch as W, withCtx as G, withDirectives as ki, withKeys as Ai, withModifiers as ji } from "vue";
@@ -946,6 +946,9 @@ var e = {
946
946
  },
947
947
  lightbox: {
948
948
  zoom: "Zoom in or out",
949
+ copy: "Copy image",
950
+ copied: "Image copied",
951
+ copyFailed: "The image could not be copied",
949
952
  openInNewTab: "Open in a new tab"
950
953
  }
951
954
  }, t = {
@@ -1895,6 +1898,9 @@ var e = {
1895
1898
  },
1896
1899
  lightbox: {
1897
1900
  zoom: "Ingrandisci o riduci",
1901
+ copy: "Copia immagine",
1902
+ copied: "Immagine copiata",
1903
+ copyFailed: "Non è stato possibile copiare l'immagine",
1898
1904
  openInNewTab: "Apri in una nuova scheda"
1899
1905
  }
1900
1906
  };
@@ -62,6 +62,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {
62
62
  "update:pendingAttachments": (value: PendingAttachment[]) => any;
63
63
  "stop-generation": () => any;
64
64
  "file-select": (file: File) => any;
65
+ "remove-attachment": (attachment: PendingAttachment) => any;
65
66
  "dismiss-attachment-notice": () => any;
66
67
  "dismiss-page-notice": () => any;
67
68
  "open-answer-notice": (id: string) => any;
@@ -76,6 +77,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {
76
77
  "onUpdate:pendingAttachments"?: ((value: PendingAttachment[]) => any) | undefined;
77
78
  "onStop-generation"?: (() => any) | undefined;
78
79
  "onFile-select"?: ((file: File) => any) | undefined;
80
+ "onRemove-attachment"?: ((attachment: PendingAttachment) => any) | undefined;
79
81
  "onDismiss-attachment-notice"?: (() => any) | undefined;
80
82
  "onDismiss-page-notice"?: (() => any) | undefined;
81
83
  "onOpen-answer-notice"?: ((id: string) => any) | undefined;
@@ -75,6 +75,12 @@ export interface ChatbotApiClient {
75
75
  getChatFilePreview(agentId: string, chatId: string, storedFileName: string): Promise<ChatFilePreview>;
76
76
  appendAuthToken(url: string): string;
77
77
  uploadMedia(agentId: string, chatId: string, file: File): Promise<MediaSource>;
78
+ /**
79
+ * Deletes an upload that was never sent, still in `temp/`: the receipt
80
+ * the upload returned in the source names its uploader, the only one who
81
+ * can.
82
+ */
83
+ discardMedia(source: MediaSource): Promise<void>;
78
84
  getChatEndpoint(agentId: string, type?: 'chat' | 'reasoning'): string;
79
85
  /** Where a client resumes the stream of the turn running in a chat. */
80
86
  getChatStreamEndpoint(agentId: string, chatId: string): string;
@@ -2178,6 +2178,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
2178
2178
  reason?: string;
2179
2179
  }) => void;
2180
2180
  handleFileSelect: (file: File) => Promise<void>;
2181
+ discardPendingAttachment: (attachment: PendingAttachment) => Promise<void>;
2181
2182
  clearFileLimitError: () => void;
2182
2183
  clearPendingAttachments: (revokeAll?: boolean) => void;
2183
2184
  onUpvote: (message: UIChatMessage) => Promise<void>;
@@ -4321,6 +4322,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
4321
4322
  reason?: string;
4322
4323
  }) => void;
4323
4324
  handleFileSelect: (file: File) => Promise<void>;
4325
+ discardPendingAttachment: (attachment: PendingAttachment) => Promise<void>;
4324
4326
  clearFileLimitError: () => void;
4325
4327
  clearPendingAttachments: (revokeAll?: boolean) => void;
4326
4328
  onUpvote: (message: UIChatMessage) => Promise<void>;
@@ -6464,6 +6466,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
6464
6466
  reason?: string;
6465
6467
  }) => void;
6466
6468
  handleFileSelect: (file: File) => Promise<void>;
6469
+ discardPendingAttachment: (attachment: PendingAttachment) => Promise<void>;
6467
6470
  clearFileLimitError: () => void;
6468
6471
  clearPendingAttachments: (revokeAll?: boolean) => void;
6469
6472
  onUpvote: (message: UIChatMessage) => Promise<void>;
@@ -6475,4 +6478,4 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
6475
6478
  focusInput: () => void;
6476
6479
  renameChatTitle: (chatId: string, title: string) => Promise<void>;
6477
6480
  deleteChat: (chatId: string) => Promise<void>;
6478
- }, "regenerate" | "sendMessage" | "addToolOutput" | "addToolApprovalResponse" | "stopHostActions" | "voicePageTools" | "cancelVoicePageCalls" | "closePageNotice" | "respondHostConfirmation" | "setPageAccessOff" | "sendSelection" | "setConfirmationMode" | "openBackgroundAnswer" | "dismissBackgroundAnswer" | "removeQueuedMessage" | "editQueuedMessage" | "buildDeviceContext" | "initialize" | "loadConversations" | "loadMoreConversations" | "searchConversations" | "loadChatFiles" | "refreshMessages" | "appendMessage" | "getChatFileUrl" | "getChatFilePreviewUrl" | "deleteChatFile" | "handleSubmit" | "stopGeneration" | "startNewChat" | "handleFileSelect" | "clearFileLimitError" | "clearPendingAttachments" | "onUpvote" | "onDownvote" | "onFeedback" | "onFeedbackSubmit" | "onLeadSubmit" | "navigate" | "focusInput" | "renameChatTitle" | "deleteChat">>;
6481
+ }, "regenerate" | "sendMessage" | "addToolOutput" | "addToolApprovalResponse" | "stopHostActions" | "voicePageTools" | "cancelVoicePageCalls" | "closePageNotice" | "respondHostConfirmation" | "setPageAccessOff" | "sendSelection" | "setConfirmationMode" | "openBackgroundAnswer" | "dismissBackgroundAnswer" | "removeQueuedMessage" | "editQueuedMessage" | "buildDeviceContext" | "initialize" | "loadConversations" | "loadMoreConversations" | "searchConversations" | "loadChatFiles" | "refreshMessages" | "appendMessage" | "getChatFileUrl" | "getChatFilePreviewUrl" | "deleteChatFile" | "handleSubmit" | "stopGeneration" | "startNewChat" | "handleFileSelect" | "discardPendingAttachment" | "clearFileLimitError" | "clearPendingAttachments" | "onUpvote" | "onDownvote" | "onFeedback" | "onFeedbackSubmit" | "onLeadSubmit" | "navigate" | "focusInput" | "renameChatTitle" | "deleteChat">>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8wave/ai-elements",
3
3
  "private": false,
4
- "version": "0.125.0-beta.17",
4
+ "version": "0.125.0-beta.19",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 8082 --open --host",