@8wave/ai-elements 0.121.0-beta.26 → 0.121.0-beta.27
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/dist/_chunks/Agent-wt8Vi99H.js.map +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-Br7Z60Vm.js → PkStreamingMarkdown-UzW6Wv-y.js} +4 -4
- package/dist/_chunks/PkStreamingMarkdown-UzW6Wv-y.js.map +1 -0
- package/dist/_chunks/{PkToolShowArtifact-DtstlRsL.js → PkToolShowArtifact-Du5sSnTg.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-DtstlRsL.js.map → PkToolShowArtifact-Du5sSnTg.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-BKaKlYGJ.js → PkToolShowContactForm-CB046Ks4.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-BKaKlYGJ.js.map → PkToolShowContactForm-CB046Ks4.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-OxANKx0g.js → PkToolShowForm-RGbMaC_e.js} +2 -2
- package/dist/_chunks/{PkToolShowForm-OxANKx0g.js.map → PkToolShowForm-RGbMaC_e.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-BQnaaL2a.js → PkToolShowSources-Cad5zT51.js} +2 -2
- package/dist/_chunks/{PkToolShowSources-BQnaaL2a.js.map → PkToolShowSources-Cad5zT51.js.map} +1 -1
- package/dist/ai-elements.es.js +9 -7
- 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/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Agent-DcoF75y8.js → Agent-CeteYjj7.js} +3 -2
- package/dist-vue/_chunks/Agent-CeteYjj7.js.map +1 -0
- package/dist-vue/_chunks/{Document-C1bD6VNU.js → Document-Bqt29i1g.js} +2 -2
- package/dist-vue/_chunks/{Document-C1bD6VNU.js.map → Document-Bqt29i1g.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-XUOiHLy1.js → PkChatbot-C6RQaC57.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-XUOiHLy1.js.map → PkChatbot-C6RQaC57.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-h2qZ0JOD.js → PkChatbotEmptyState-DyfVQV1L.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-h2qZ0JOD.js.map → PkChatbotEmptyState-DyfVQV1L.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-C-bMNHC-.js → PkChatbotInput-CGrW71Yz.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotInput-C-bMNHC-.js.map → PkChatbotInput-CGrW71Yz.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-C0922gNt.js → PkChatbotMessages-CSY0yAVd.js} +17 -17
- package/dist-vue/_chunks/{PkChatbotMessages-C0922gNt.js.map → PkChatbotMessages-CSY0yAVd.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-BOxfKD1b.js → PkChatbotStepPayload-CGvRYp_H.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-BOxfKD1b.js.map → PkChatbotStepPayload-CGvRYp_H.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-Df6EOYxj.js → PkChatbotStepToolDetail-CvFdxw5H.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-Df6EOYxj.js.map → PkChatbotStepToolDetail-CvFdxw5H.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-DnDtN4Q7.js → PkChatbotSteps-CYXy__Wx.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-DnDtN4Q7.js.map → PkChatbotSteps-CYXy__Wx.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-DiWz4tVX.js → PkChatbotViewChat-DlDZwo7m.js} +7 -7
- package/dist-vue/_chunks/{PkChatbotViewChat-DiWz4tVX.js.map → PkChatbotViewChat-DlDZwo7m.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-CyfHf6K-.js → PkChatbotViewConversations-CGhSt4ES.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-CyfHf6K-.js.map → PkChatbotViewConversations-CGhSt4ES.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-B8g7tHZJ.js → PkChatbotViewFiles-CrPd-Y2d.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-B8g7tHZJ.js.map → PkChatbotViewFiles-CrPd-Y2d.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-Dg5Uq6I0.js → PkChatbotViewProfile-vw8r9Pdo.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-Dg5Uq6I0.js.map → PkChatbotViewProfile-vw8r9Pdo.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-BYV68skc.js → PkStreamingMarkdown-CgydvfPX.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-BYV68skc.js.map → PkStreamingMarkdown-CgydvfPX.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-DQxJQIY0.js → PkToolEditSpreadsheet-BJ5yxQTX.js} +2 -2
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-DQxJQIY0.js.map → PkToolEditSpreadsheet-BJ5yxQTX.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-BpjglRbg.js → PkToolRequestGeolocation-FIvZM_BB.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-BpjglRbg.js.map → PkToolRequestGeolocation-FIvZM_BB.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CD3M5DWj.js → PkToolRequestOAuthConnection-CB6ukVv1.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CD3M5DWj.js.map → PkToolRequestOAuthConnection-CB6ukVv1.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-Bm5VBF_n.js → PkToolShowArtifact--Ut-C6en.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-Bm5VBF_n.js.map → PkToolShowArtifact--Ut-C6en.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-CMQTQsU-.js → PkToolShowContactForm-DwLwlkCt.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-CMQTQsU-.js.map → PkToolShowContactForm-DwLwlkCt.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-adGuj4AF.js → PkToolShowDiagram-Czl46bbI.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-adGuj4AF.js.map → PkToolShowDiagram-Czl46bbI.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-Cx5KdTlZ.js → PkToolShowForm-iz6g6jXJ.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-Cx5KdTlZ.js.map → PkToolShowForm-iz6g6jXJ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-BtQ0gnGB.js → PkToolShowImageGallery-Goytzhpx.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-BtQ0gnGB.js.map → PkToolShowImageGallery-Goytzhpx.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-Dvatk6p-.js → PkToolShowProductList-DHXm_0yk.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-Dvatk6p-.js.map → PkToolShowProductList-DHXm_0yk.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-DKkIYQ9r.js → PkToolShowSources-BzwULCGN.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-DKkIYQ9r.js.map → PkToolShowSources-BzwULCGN.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-BbAfjJP9.js → PkToolShowSuggestedReply-CWnw4Ybp.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-BbAfjJP9.js.map → PkToolShowSuggestedReply-CWnw4Ybp.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-DTNszfdU.js → PkToolShowVideo-BpplYU7J.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-DTNszfdU.js.map → PkToolShowVideo-BpplYU7J.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-euov57FB.js → PkToolShowWebPages-CMKyI7Id.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-euov57FB.js.map → PkToolShowWebPages-CMKyI7Id.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-CShV2zzL.js → createChatbotApiClient-Qwv4G6rH.js} +2 -2
- package/dist-vue/_chunks/{createChatbotApiClient-CShV2zzL.js.map → createChatbotApiClient-Qwv4G6rH.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-CcRdVi34.js → useChatbotStore-BFOUiojG.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-CcRdVi34.js.map → useChatbotStore-BFOUiojG.js.map} +1 -1
- package/dist-vue/_chunks/{utils-BCGK2AFl.js → utils-CzMEd-lR.js} +5 -5
- package/dist-vue/_chunks/utils-CzMEd-lR.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +6 -4
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +24 -24
- package/dist-vue/locales.js +2 -0
- package/package.json +1 -1
- package/dist/_chunks/PkStreamingMarkdown-Br7Z60Vm.js.map +0 -1
- package/dist-vue/_chunks/Agent-DcoF75y8.js.map +0 -1
- package/dist-vue/_chunks/utils-BCGK2AFl.js.map +0 -1
package/dist/ai-elements.es.js
CHANGED
|
@@ -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 { A as ne, B as S, C, Ct as w, D as T, Dt as re, E, Et as ie, F as ae, I as oe, J as D, K as O, L as se, M as ce, N as k, O as le, Ot as A, P as ue, Q as de, R as j, S as M, St as fe, T as pe, Tt as me, U as he, V as ge, Y as _e, Z as N, _ as P, _t as ve, at as F, b as I, bt as ye, ct as be, d as L, dt as xe, et as R, f as z, ft as Se, g as B, h as V, ht as H, i as Ce, it as we, k as U, lt as Te, n as Ee, pt as De, q as W, r as Oe, rt as ke, st as Ae, t as G, u as je, ut as Me, v as K, vt as Ne, w as q, wt as J, x as Y, xt as X, y as Z, yt as Pe, z as Fe } from "./_chunks/vue.runtime.esm-bundler-BkvITeKg.js";
|
|
4
4
|
import { n as Ie, r as Le, t as Re } from "./_chunks/vue-i18n-BoTyYk8j.js";
|
|
5
5
|
import { i as ze, n as Be, r as Ve } from "./_chunks/iconify-Lm6SAZ2s.js";
|
|
6
|
-
import { A as He, B as Ue, C as We, D as Ge, E as Ke, F as qe, I as Je, L as Ye, M as Xe, N as Ze, O as Qe, P as $e, R as et, S as tt, T as nt, V as rt, _ as it, a as at, b as ot, c as st, d as ct, f as lt, g as ut, h as dt, i as ft, j as pt, k as mt, m as ht, n as gt, o as _t, p as vt, r as yt, s as bt, t as xt, v as St, w as Ct, x as wt, y as Tt, z as Et } from "./_chunks/PkStreamingMarkdown-
|
|
6
|
+
import { A as He, B as Ue, C as We, D as Ge, E as Ke, F as qe, I as Je, L as Ye, M as Xe, N as Ze, O as Qe, P as $e, R as et, S as tt, T as nt, V as rt, _ as it, a as at, b as ot, c as st, d as ct, f as lt, g as ut, h as dt, i as ft, j as pt, k as mt, m as ht, n as gt, o as _t, p as vt, r as yt, s as bt, t as xt, v as St, w as Ct, x as wt, y as Tt, z as Et } from "./_chunks/PkStreamingMarkdown-UzW6Wv-y.js";
|
|
7
7
|
import { A as Dt, C as Ot, D as kt, E as At, I as jt, M as Mt, N as Nt, O as Pt, P as Ft, S as It, T as Lt, a as Rt, c as zt, h as Bt, i as Vt, j as Ht, k as Ut, l as Wt, m as Gt, n as Kt, o as qt, p as Jt, r as Yt, s as Xt, v as Zt, w as Qt, x as $t, y as en } from "./_chunks/Agent-wt8Vi99H.js";
|
|
8
8
|
import { a as tn, i as nn, n as rn, t as an } from "./_chunks/markdown-DLplFIBU.js";
|
|
9
9
|
import { n as on } from "./_chunks/src-Ra4oUpUU.js";
|
|
@@ -1453,6 +1453,7 @@ var fr = {
|
|
|
1453
1453
|
saveUserMemory: "Aggiornamento memoria utente…",
|
|
1454
1454
|
scheduleWakeup: "Programmo il prossimo controllo…",
|
|
1455
1455
|
searchingDocuments: "Ricerca nella memoria…",
|
|
1456
|
+
sendChatFile: "Nuovo invio del file…",
|
|
1456
1457
|
showArtifact: "Preparazione contenuto…",
|
|
1457
1458
|
showCalendarEvent: "Creazione evento calendario…",
|
|
1458
1459
|
showComparison: "Costruzione confronto…",
|
|
@@ -3390,6 +3391,7 @@ var fr = {
|
|
|
3390
3391
|
saveUserMemory: "Updating user memory…",
|
|
3391
3392
|
scheduleWakeup: "Scheduling the next check…",
|
|
3392
3393
|
searchingDocuments: "Memory search…",
|
|
3394
|
+
sendChatFile: "Sending the file again…",
|
|
3393
3395
|
showArtifact: "Preparing content…",
|
|
3394
3396
|
showCalendarEvent: "Creating calendar event…",
|
|
3395
3397
|
showComparison: "Building comparison…",
|
|
@@ -13941,20 +13943,20 @@ var Yg = ["datetime"], Xg = 6e4, Zg = /* @__PURE__ */ q({
|
|
|
13941
13943
|
U();
|
|
13942
13944
|
var Qg = {
|
|
13943
13945
|
requestOAuthConnection: C(() => import("./_chunks/PkToolRequestOAuthConnection-cNDld72U.js")),
|
|
13944
|
-
showArtifact: C(() => import("./_chunks/PkToolShowArtifact-
|
|
13946
|
+
showArtifact: C(() => import("./_chunks/PkToolShowArtifact-Du5sSnTg.js")),
|
|
13945
13947
|
showCalendarEvent: C(() => import("./_chunks/PkToolShowCalendarEvent-K4_7WrtL.js")),
|
|
13946
13948
|
showComparison: C(() => import("./_chunks/PkToolShowComparison-whPYJiI5.js")),
|
|
13947
|
-
showContactForm: C(() => import("./_chunks/PkToolShowContactForm-
|
|
13949
|
+
showContactForm: C(() => import("./_chunks/PkToolShowContactForm-CB046Ks4.js")),
|
|
13948
13950
|
showDiagram: C(() => import("./_chunks/PkToolShowDiagram-CXpSKtDS.js")),
|
|
13949
13951
|
showEmail: C(() => import("./_chunks/PkToolShowEmail-w6YoMH75.js")),
|
|
13950
13952
|
showImageGallery: C(() => import("./_chunks/PkToolShowImageGallery-DRePOmUx.js")),
|
|
13951
13953
|
showLocation: C(() => import("./_chunks/PkToolShowLocation-CPFldsb9.js")),
|
|
13952
13954
|
showMessage: C(() => import("./_chunks/PkToolShowMessage-CLoGgUhg.js")),
|
|
13953
|
-
showForm: C(() => import("./_chunks/PkToolShowForm-
|
|
13954
|
-
showMultipleChoice: C(() => import("./_chunks/PkToolShowForm-
|
|
13955
|
+
showForm: C(() => import("./_chunks/PkToolShowForm-RGbMaC_e.js")),
|
|
13956
|
+
showMultipleChoice: C(() => import("./_chunks/PkToolShowForm-RGbMaC_e.js")),
|
|
13955
13957
|
showProductList: C(() => import("./_chunks/PkToolShowProductList-Y9HR_RJ4.js")),
|
|
13956
13958
|
showQrCode: C(() => import("./_chunks/PkToolShowQrCode-CBPbE62N.js")),
|
|
13957
|
-
showSources: C(() => import("./_chunks/PkToolShowSources-
|
|
13959
|
+
showSources: C(() => import("./_chunks/PkToolShowSources-Cad5zT51.js")),
|
|
13958
13960
|
showSuggestedReply: C(() => import("./_chunks/PkToolShowSuggestedReply-ghiXQuDz.js")),
|
|
13959
13961
|
showVideo: C(() => import("./_chunks/PkToolShowVideo-BcNWgJD7.js")),
|
|
13960
13962
|
showWeather: C(() => import("./_chunks/PkToolShowWeather-BKFV5n-r.js")),
|
|
@@ -16245,7 +16247,7 @@ var ky = { class: "pk-chatbot-view-chat__input-stage" }, Ay = {
|
|
|
16245
16247
|
},
|
|
16246
16248
|
emits: ["show-info", "revise"],
|
|
16247
16249
|
setup(e, { emit: t }) {
|
|
16248
|
-
let n = C(() => import("./_chunks/PkToolShowForm-
|
|
16250
|
+
let n = C(() => import("./_chunks/PkToolShowForm-RGbMaC_e.js")), r = C(() => import("./_chunks/PkToolShowContactForm-CB046Ks4.js")), i = C(() => import("./_chunks/PkToolShowSuggestedReply-ghiXQuDz.js")), a = C(() => import("./_chunks/PkToolShowSources-Cad5zT51.js")), o = C(() => import("./_chunks/PkToolRequestGeolocation-dUTqHsV-.js")), s = C(() => import("./_chunks/PkToolRequestOAuthConnection-cNDld72U.js")), c = C(() => import("./_chunks/PkToolShowLocation-CPFldsb9.js")), l = C(() => import("./_chunks/PkToolShowDiagram-CXpSKtDS.js")), u = C(() => import("./_chunks/PkToolEditSpreadsheet-Di9czFTy.js")), d = e, f = t, p = pf(d.agentId), { agentInterface: m, agentFileUpload: h, agentType: g, agentVoice: _, actions: v, revisedAnswers: y, messages: b, chat: x, messageFeedbacks: ee, feedbackDialogMessage: te, isFeedbackSubmitting: ne, isFeedbackSubmitted: S, feedbackSubmitError: T, isLeadSubmitted: re, isLoadingSubmitLead: E, submitLeadError: ie, input: oe, inputMessagePlaceholder: D, isConversationBlocked: O, baseUrl: se, pendingAttachments: ce, isAttachmentLimitReached: k, fileLimitError: le, apiClient: ue, isDark: de, hostToolsPending: fe, pageNoticeLevel: pe, hostConfirmation: he, agentPageAccess: ge } = dr(p), ve = V(() => g.value === "reasoning" ? void 0 : h.value), F = (e) => ue.value.getMediaDownloadUrl(d.agentId, p.localChatId, e), { handleSubmit: ye, stopGeneration: be, regenerate: L, onUpvote: xe, onDownvote: z, onFeedback: Se, onFeedbackSubmit: Ce, onLeadSubmit: we, startNewChat: U, addToolOutput: Ee, addToolApprovalResponse: De, handleFileSelect: W, clearFileLimitError: Oe, refreshMessages: ke, appendMessage: Ae, closePageNotice: je, respondHostConfirmation: Me } = p, { t: Ne } = Le({ useScope: "global" }), q = V(() => fe.value > 0), J = V(() => q.value && x.value.status === "ready" ? "streaming" : x.value.status), Y = Tn(() => ge.value?.notice), X = V(() => pe.value ? Y.value || Ne(`message.pageAccessNotice.${pe.value}`) : void 0), Pe = V(() => {
|
|
16249
16251
|
let e = le.value;
|
|
16250
16252
|
if (e) return e.reason === "per-chat" ? Ne("message.fileLimitPerChat", { max: e.max }) : Ne("message.fileLimitPerMessage", { max: e.max });
|
|
16251
16253
|
}), Fe = Tn(() => m.value?.dismissableNotice), Ie = V(() => b.value.some((e) => e.role === "user")), Re = V(() => d.modifier === "fullscreen" && !Ie.value), ze = Tf(m, () => d.userName), Be = _e("chatViewEl"), Ve = async (e) => (await ue.value.expandSourceContext(d.agentId, e.documentId, e.chunkIndex)).content, He = async (e) => {
|