@8wave/ai-elements 0.117.0-beta.30 → 0.117.0-beta.34

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 (72) hide show
  1. package/dist/_chunks/{PkChatbotFilePreview-DlOlZm3-.js → PkChatbotFilePreview-DAhN8TyL.js} +2 -2
  2. package/dist/_chunks/PkChatbotFilePreview-DAhN8TyL.js.map +1 -0
  3. package/dist/_chunks/{PkStreamingMarkdown-DUjJT88a.js → PkStreamingMarkdown-D58uGMVJ.js} +3 -3
  4. package/dist/_chunks/PkStreamingMarkdown-D58uGMVJ.js.map +1 -0
  5. package/dist/_chunks/{PkToolEditSpreadsheet-UjqTauEQ.js → PkToolEditSpreadsheet-y3S5O_ld.js} +2 -2
  6. package/dist/_chunks/{PkToolEditSpreadsheet-UjqTauEQ.js.map → PkToolEditSpreadsheet-y3S5O_ld.js.map} +1 -1
  7. package/dist/_chunks/{PkToolShowArtifact-Cc7F5Uep.js → PkToolShowArtifact-CefFRN9d.js} +2 -2
  8. package/dist/_chunks/{PkToolShowArtifact-Cc7F5Uep.js.map → PkToolShowArtifact-CefFRN9d.js.map} +1 -1
  9. package/dist/_chunks/{PkToolShowContactForm-CosvgcI4.js → PkToolShowContactForm-Q58lENmc.js} +2 -2
  10. package/dist/_chunks/{PkToolShowContactForm-CosvgcI4.js.map → PkToolShowContactForm-Q58lENmc.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowForm-tU_zaP2m.js → PkToolShowForm-DCluttiO.js} +2 -2
  12. package/dist/_chunks/{PkToolShowForm-tU_zaP2m.js.map → PkToolShowForm-DCluttiO.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowSources-eheNtJG8.js → PkToolShowSources-D0IpU1NU.js} +2 -2
  14. package/dist/_chunks/{PkToolShowSources-eheNtJG8.js.map → PkToolShowSources-D0IpU1NU.js.map} +1 -1
  15. package/dist/ai-elements.es.js +10 -8
  16. package/dist/ai-elements.es.js.map +1 -1
  17. package/dist-vue/PkChatbot.js +1 -1
  18. package/dist-vue/PkChatbotEmptyState.js +1 -1
  19. package/dist-vue/PkChatbotInput.js +1 -1
  20. package/dist-vue/PkChatbotMessages.js +1 -1
  21. package/dist-vue/PkChatbotStepPayload.js +1 -1
  22. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  23. package/dist-vue/PkChatbotSteps.js +1 -1
  24. package/dist-vue/PkChatbotViewChat.js +1 -1
  25. package/dist-vue/_chunks/{PkChatbot-DP2XuKXf.js → PkChatbot-EnNiOHfT.js} +4 -4
  26. package/dist-vue/_chunks/{PkChatbot-DP2XuKXf.js.map → PkChatbot-EnNiOHfT.js.map} +1 -1
  27. package/dist-vue/_chunks/{PkChatbotEmptyState-vFXaIkiC.js → PkChatbotEmptyState-CeLapjG_.js} +2 -2
  28. package/dist-vue/_chunks/{PkChatbotEmptyState-vFXaIkiC.js.map → PkChatbotEmptyState-CeLapjG_.js.map} +1 -1
  29. package/dist-vue/_chunks/PkChatbotFilePreview-DIP8KLkS.js.map +1 -1
  30. package/dist-vue/_chunks/{PkChatbotInput-DB2wkyr2.js → PkChatbotInput-Chu3tBbe.js} +2 -2
  31. package/dist-vue/_chunks/{PkChatbotInput-DB2wkyr2.js.map → PkChatbotInput-Chu3tBbe.js.map} +1 -1
  32. package/dist-vue/_chunks/{PkChatbotMessages-CVefdmkP.js → PkChatbotMessages-B2_Tpjk6.js} +14 -14
  33. package/dist-vue/_chunks/{PkChatbotMessages-CVefdmkP.js.map → PkChatbotMessages-B2_Tpjk6.js.map} +1 -1
  34. package/dist-vue/_chunks/{PkChatbotStepPayload-BmcBf0U-.js → PkChatbotStepPayload-BMRSMjrw.js} +2 -2
  35. package/dist-vue/_chunks/{PkChatbotStepPayload-BmcBf0U-.js.map → PkChatbotStepPayload-BMRSMjrw.js.map} +1 -1
  36. package/dist-vue/_chunks/{PkChatbotStepToolDetail-riS6wIt-.js → PkChatbotStepToolDetail-DbAFKTSl.js} +3 -3
  37. package/dist-vue/_chunks/{PkChatbotStepToolDetail-riS6wIt-.js.map → PkChatbotStepToolDetail-DbAFKTSl.js.map} +1 -1
  38. package/dist-vue/_chunks/{PkChatbotSteps-BT-bOav4.js → PkChatbotSteps-CcXw6JiJ.js} +5 -5
  39. package/dist-vue/_chunks/{PkChatbotSteps-BT-bOav4.js.map → PkChatbotSteps-CcXw6JiJ.js.map} +1 -1
  40. package/dist-vue/_chunks/{PkChatbotViewChat-BOankj81.js → PkChatbotViewChat-eXFjwNkz.js} +6 -6
  41. package/dist-vue/_chunks/{PkChatbotViewChat-BOankj81.js.map → PkChatbotViewChat-eXFjwNkz.js.map} +1 -1
  42. package/dist-vue/_chunks/{PkStreamingMarkdown-By0JBQUl.js → PkStreamingMarkdown-BEya63gY.js} +2 -2
  43. package/dist-vue/_chunks/{PkStreamingMarkdown-By0JBQUl.js.map → PkStreamingMarkdown-BEya63gY.js.map} +1 -1
  44. package/dist-vue/_chunks/{PkToolShowArtifact-DUlhAD4Y.js → PkToolShowArtifact-DC1baqls.js} +2 -2
  45. package/dist-vue/_chunks/{PkToolShowArtifact-DUlhAD4Y.js.map → PkToolShowArtifact-DC1baqls.js.map} +1 -1
  46. package/dist-vue/_chunks/{PkToolShowContactForm-DBMQ1HOU.js → PkToolShowContactForm-BXwBUTG-.js} +2 -2
  47. package/dist-vue/_chunks/{PkToolShowContactForm-DBMQ1HOU.js.map → PkToolShowContactForm-BXwBUTG-.js.map} +1 -1
  48. package/dist-vue/_chunks/{PkToolShowDiagram-CjtKqj4N.js → PkToolShowDiagram-CHPPJjrY.js} +2 -2
  49. package/dist-vue/_chunks/{PkToolShowDiagram-CjtKqj4N.js.map → PkToolShowDiagram-CHPPJjrY.js.map} +1 -1
  50. package/dist-vue/_chunks/{PkToolShowForm-C9HbwRWB.js → PkToolShowForm-BiAd1nVG.js} +3 -3
  51. package/dist-vue/_chunks/{PkToolShowForm-C9HbwRWB.js.map → PkToolShowForm-BiAd1nVG.js.map} +1 -1
  52. package/dist-vue/_chunks/{PkToolShowImageGallery-BJ2toOhC.js → PkToolShowImageGallery-BkvHwtdK.js} +2 -2
  53. package/dist-vue/_chunks/{PkToolShowImageGallery-BJ2toOhC.js.map → PkToolShowImageGallery-BkvHwtdK.js.map} +1 -1
  54. package/dist-vue/_chunks/{PkToolShowProductList-DN_ooJEJ.js → PkToolShowProductList-C8ynmJl_.js} +2 -2
  55. package/dist-vue/_chunks/{PkToolShowProductList-DN_ooJEJ.js.map → PkToolShowProductList-C8ynmJl_.js.map} +1 -1
  56. package/dist-vue/_chunks/{PkToolShowSources-C1P3VCOr.js → PkToolShowSources-DgjeP2WK.js} +2 -2
  57. package/dist-vue/_chunks/{PkToolShowSources-C1P3VCOr.js.map → PkToolShowSources-DgjeP2WK.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkToolShowVideo-Cw2QqlRI.js → PkToolShowVideo-BMBG6A9a.js} +2 -2
  59. package/dist-vue/_chunks/{PkToolShowVideo-Cw2QqlRI.js.map → PkToolShowVideo-BMBG6A9a.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkToolShowWebPages-CpGxah7s.js → PkToolShowWebPages-B64pZeYb.js} +2 -2
  61. package/dist-vue/_chunks/{PkToolShowWebPages-CpGxah7s.js.map → PkToolShowWebPages-B64pZeYb.js.map} +1 -1
  62. package/dist-vue/_chunks/{utils-CkZQnFfM.js → utils-CGb6Qc_9.js} +3 -3
  63. package/dist-vue/_chunks/{utils-CkZQnFfM.js.map → utils-CGb6Qc_9.js.map} +1 -1
  64. package/dist-vue/composables.js +3 -1
  65. package/dist-vue/composables.js.map +1 -1
  66. package/dist-vue/index.js +22 -22
  67. package/dist-vue/index.js.map +1 -1
  68. package/dist-vue/locales.js +2 -0
  69. package/dist-vue/style.css +1 -1
  70. package/package.json +1 -1
  71. package/dist/_chunks/PkChatbotFilePreview-DlOlZm3-.js.map +0 -1
  72. package/dist/_chunks/PkStreamingMarkdown-DUjJT88a.js.map +0 -1
@@ -3,7 +3,7 @@ import { C as e, E as t, S as n, T as r, _ as i, a, b as o, d as s, f as c, g as
3
3
  import { $ as C, B as te, C as w, Ct as T, D as ne, Dt as E, E as D, Et as re, F as ie, G as ae, H as oe, I as O, J as k, K as se, L as A, M as ce, N as j, O as M, P as le, R as ue, S as N, St as P, T as de, Tt as fe, X as F, Z as pe, _ as I, _t as me, b as L, bt as R, ct as z, d as B, dt as he, ft as ge, g as V, gt as _e, h as H, it as U, j as ve, k as ye, l as be, lt as xe, m as W, mt as G, n as Se, nt as Ce, ot as we, q as Te, r as Ee, rt as De, st as Oe, t as K, u as ke, ut as Ae, v as q, vt as je, w as Me, wt as Ne, x as J, xt as Pe, y as Fe, yt as Ie, z as Le } from "./_chunks/vue.runtime.esm-bundler-DKVd2gci.js";
4
4
  import { n as Re, r as ze, t as Be } from "./_chunks/vue-i18n-CooVjJjT.js";
5
5
  import { i as Ve, n as He, r as Ue } from "./_chunks/iconify-CgyW1o4B.js";
6
- import { A as We, C as Ge, D as Ke, E as qe, M as Y, N as Je, O as Ye, S as Xe, T as Ze, _ as Qe, a as $e, b as et, d as tt, f as nt, g as rt, h as it, i as at, j as ot, k as st, m as ct, n as lt, o as ut, p as dt, r as ft, s as pt, t as mt, u as ht, v as gt, w as _t, x as vt, y as yt } from "./_chunks/PkStreamingMarkdown-DUjJT88a.js";
6
+ import { A as We, C as Ge, D as Ke, E as qe, M as Y, N as Je, O as Ye, S as Xe, T as Ze, _ as Qe, a as $e, b as et, d as tt, f as nt, g as rt, h as it, i as at, j as ot, k as st, m as ct, n as lt, o as ut, p as dt, r as ft, s as pt, t as mt, u as ht, v as gt, w as _t, x as vt, y as yt } from "./_chunks/PkStreamingMarkdown-D58uGMVJ.js";
7
7
  import { _ as bt, a as xt, b as St, c as Ct, f as wt, g as Tt, h as Et, i as Dt, l as Ot, n as kt, o as At, p as jt, r as Mt, t as Nt, u as Pt, v as Ft } from "./_chunks/Agent-DDAyL-4q.js";
8
8
  import { a as It, i as Lt, n as Rt, t as zt } from "./_chunks/markdown-lpamC2tL.js";
9
9
  import { t as Bt } from "./_chunks/src-Dt4rhhPN.js";
@@ -16,7 +16,7 @@ import { t as sn } from "./_chunks/useShortUrlResolver-qFJHKHwE.js";
16
16
  import { t as cn } from "./_chunks/useImageFallback-DTJ6uHcF.js";
17
17
  import { t as ln } from "./_chunks/_plugin-vue_export-helper-B3ysoDQm.js";
18
18
  import { t as un } from "./_chunks/chatImagePolicy-CiUR4uD1.js";
19
- import { t as dn } from "./_chunks/PkChatbotFilePreview-DlOlZm3-.js";
19
+ import { t as dn } from "./_chunks/PkChatbotFilePreview-DAhN8TyL.js";
20
20
  //#region ../../node_modules/.pnpm/pinia@4.1.0_@vue+devtools-api@8.2.1_typescript@6.0.3_vue@3.5.44_typescript@6.0.3_/node_modules/pinia/dist/pinia.js
21
21
  M(), U();
22
22
  var fn = typeof window < "u", pn, mn = (e) => pn = e, hn = Symbol();
@@ -1302,6 +1302,7 @@ var Gn = {
1302
1302
  getWeather: "Recupero dati meteo…",
1303
1303
  querySpreadsheet: "Interrogazione del foglio di calcolo…",
1304
1304
  readDocumentFile: "Lettura del documento originale…",
1305
+ readEarlierMessages: "Rilettura dei messaggi precedenti…",
1305
1306
  readSpreadsheet: "Lettura del foglio di calcolo…",
1306
1307
  reasoning: "Ragionamento…",
1307
1308
  recallUserMemory: "Richiamo dei ricordi utente…",
@@ -2859,6 +2860,7 @@ var Gn = {
2859
2860
  getWeather: "Fetching weather data…",
2860
2861
  querySpreadsheet: "Querying the spreadsheet…",
2861
2862
  readDocumentFile: "Reading the original document…",
2863
+ readEarlierMessages: "Rereading earlier messages…",
2862
2864
  readSpreadsheet: "Reading the spreadsheet…",
2863
2865
  reasoning: "Reasoning…",
2864
2866
  recallUserMemory: "Recalling user memories…",
@@ -11767,20 +11769,20 @@ var sm = ["datetime"], cm = 6e4, lm = /* @__PURE__ */ w({
11767
11769
  M();
11768
11770
  var um = {
11769
11771
  requestOAuthConnection: N(() => import("./_chunks/PkToolRequestOAuthConnection-ryjE17UY.js")),
11770
- showArtifact: N(() => import("./_chunks/PkToolShowArtifact-Cc7F5Uep.js")),
11772
+ showArtifact: N(() => import("./_chunks/PkToolShowArtifact-CefFRN9d.js")),
11771
11773
  showCalendarEvent: N(() => import("./_chunks/PkToolShowCalendarEvent-Bp_yv8S7.js")),
11772
11774
  showComparison: N(() => import("./_chunks/PkToolShowComparison-Bvd4f4tJ.js")),
11773
- showContactForm: N(() => import("./_chunks/PkToolShowContactForm-CosvgcI4.js")),
11775
+ showContactForm: N(() => import("./_chunks/PkToolShowContactForm-Q58lENmc.js")),
11774
11776
  showDiagram: N(() => import("./_chunks/PkToolShowDiagram-C-pNbC9n.js")),
11775
11777
  showEmail: N(() => import("./_chunks/PkToolShowEmail-BKel_O29.js")),
11776
11778
  showImageGallery: N(() => import("./_chunks/PkToolShowImageGallery-DzU2_qQW.js")),
11777
11779
  showLocation: N(() => import("./_chunks/PkToolShowLocation-78C7jFiV.js")),
11778
11780
  showMessage: N(() => import("./_chunks/PkToolShowMessage-BScy-w4J.js")),
11779
- showForm: N(() => import("./_chunks/PkToolShowForm-tU_zaP2m.js")),
11780
- showMultipleChoice: N(() => import("./_chunks/PkToolShowForm-tU_zaP2m.js")),
11781
+ showForm: N(() => import("./_chunks/PkToolShowForm-DCluttiO.js")),
11782
+ showMultipleChoice: N(() => import("./_chunks/PkToolShowForm-DCluttiO.js")),
11781
11783
  showProductList: N(() => import("./_chunks/PkToolShowProductList-0P7S5Ywo.js")),
11782
11784
  showQrCode: N(() => import("./_chunks/PkToolShowQrCode-B70jPHDw.js")),
11783
- showSources: N(() => import("./_chunks/PkToolShowSources-eheNtJG8.js")),
11785
+ showSources: N(() => import("./_chunks/PkToolShowSources-D0IpU1NU.js")),
11784
11786
  showSuggestedReply: N(() => import("./_chunks/PkToolShowSuggestedReply-0RVUEzK_.js")),
11785
11787
  showVideo: N(() => import("./_chunks/PkToolShowVideo-C5RfIsFU.js")),
11786
11788
  showWeather: N(() => import("./_chunks/PkToolShowWeather-BFOlS1AS.js")),
@@ -13972,7 +13974,7 @@ var Pg = { class: "pk-chatbot-view-chat__input-stage" }, Fg = {
13972
13974
  },
13973
13975
  emits: ["show-info", "revise"],
13974
13976
  setup(e, { emit: t }) {
13975
- let n = N(() => import("./_chunks/PkToolShowForm-tU_zaP2m.js")), r = N(() => import("./_chunks/PkToolShowContactForm-CosvgcI4.js")), i = N(() => import("./_chunks/PkToolShowSuggestedReply-0RVUEzK_.js")), a = N(() => import("./_chunks/PkToolShowSources-eheNtJG8.js")), o = N(() => import("./_chunks/PkToolRequestGeolocation-DUD4RaA_.js")), s = N(() => import("./_chunks/PkToolRequestOAuthConnection-ryjE17UY.js")), c = N(() => import("./_chunks/PkToolShowLocation-78C7jFiV.js")), l = N(() => import("./_chunks/PkToolShowDiagram-C-pNbC9n.js")), u = N(() => import("./_chunks/PkToolEditSpreadsheet-UjqTauEQ.js")), d = e, f = t, p = jd(d.agentId), { agentInterface: m, agentFileUpload: h, agentVoice: g, actions: _, revisedAnswers: v, messages: y, chat: b, messageFeedbacks: x, feedbackDialogMessage: S, isFeedbackSubmitting: ee, isFeedbackSubmitted: te, feedbackSubmitError: w, isLeadSubmitted: T, isLoadingSubmitLead: ne, submitLeadError: D, input: re, inputMessagePlaceholder: ie, isConversationBlocked: ae, baseUrl: oe, pendingAttachments: O, isAttachmentLimitReached: se, fileLimitError: ce, apiClient: j, isDark: M } = Wn(p), ue = (e) => j.value.getMediaDownloadUrl(d.agentId, p.localChatId, e), { handleSubmit: de, stopGeneration: fe, regenerate: pe, onUpvote: me, onDownvote: L, onFeedback: R, onFeedbackSubmit: B, onLeadSubmit: he, startNewChat: ge, addToolOutput: _e, addToolApprovalResponse: U, handleFileSelect: ve, clearFileLimitError: ye, refreshMessages: be, appendMessage: xe } = p, { t: Se } = ze({ useScope: "global" }), Ce = W(() => {
13977
+ let n = N(() => import("./_chunks/PkToolShowForm-DCluttiO.js")), r = N(() => import("./_chunks/PkToolShowContactForm-Q58lENmc.js")), i = N(() => import("./_chunks/PkToolShowSuggestedReply-0RVUEzK_.js")), a = N(() => import("./_chunks/PkToolShowSources-D0IpU1NU.js")), o = N(() => import("./_chunks/PkToolRequestGeolocation-DUD4RaA_.js")), s = N(() => import("./_chunks/PkToolRequestOAuthConnection-ryjE17UY.js")), c = N(() => import("./_chunks/PkToolShowLocation-78C7jFiV.js")), l = N(() => import("./_chunks/PkToolShowDiagram-C-pNbC9n.js")), u = N(() => import("./_chunks/PkToolEditSpreadsheet-y3S5O_ld.js")), d = e, f = t, p = jd(d.agentId), { agentInterface: m, agentFileUpload: h, agentVoice: g, actions: _, revisedAnswers: v, messages: y, chat: b, messageFeedbacks: x, feedbackDialogMessage: S, isFeedbackSubmitting: ee, isFeedbackSubmitted: te, feedbackSubmitError: w, isLeadSubmitted: T, isLoadingSubmitLead: ne, submitLeadError: D, input: re, inputMessagePlaceholder: ie, isConversationBlocked: ae, baseUrl: oe, pendingAttachments: O, isAttachmentLimitReached: se, fileLimitError: ce, apiClient: j, isDark: M } = Wn(p), ue = (e) => j.value.getMediaDownloadUrl(d.agentId, p.localChatId, e), { handleSubmit: de, stopGeneration: fe, regenerate: pe, onUpvote: me, onDownvote: L, onFeedback: R, onFeedbackSubmit: B, onLeadSubmit: he, startNewChat: ge, addToolOutput: _e, addToolApprovalResponse: U, handleFileSelect: ve, clearFileLimitError: ye, refreshMessages: be, appendMessage: xe } = p, { t: Se } = ze({ useScope: "global" }), Ce = W(() => {
13976
13978
  let e = ce.value;
13977
13979
  if (e) return e.reason === "per-chat" ? Se("message.fileLimitPerChat", { max: e.max }) : Se("message.fileLimitPerMessage", { max: e.max });
13978
13980
  }), we = rn(() => m.value?.dismissableNotice), Te = W(() => y.value.some((e) => e.role === "user")), Ee = W(() => d.modifier === "fullscreen" && !Te.value), De = Ud(m, () => d.userName), Oe = k("chatViewEl"), ke = async (e) => (await j.value.expandSourceContext(d.agentId, e.documentId, e.chunkIndex)).content, Ae = async (e) => {