@8wave/ai-elements 0.126.0-beta.40 → 0.126.0-beta.42
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-DZEyfr8D.js → Agent-DJ6TBi6l.js} +143 -138
- package/dist/_chunks/Agent-DJ6TBi6l.js.map +1 -0
- package/dist/_chunks/{PkFilePreview-BHqmp1EW.js → PkFilePreview-BrWWeK4E.js} +3 -3
- package/dist/_chunks/{PkFilePreview-BHqmp1EW.js.map → PkFilePreview-BrWWeK4E.js.map} +1 -1
- package/dist/_chunks/{PkFilePreviewDialog-BHAgVlKs.js → PkFilePreviewDialog-BRZH_LxY.js} +2 -2
- package/dist/_chunks/{PkFilePreviewDialog-BHAgVlKs.js.map → PkFilePreviewDialog-BRZH_LxY.js.map} +1 -1
- package/dist/_chunks/{PkImageEditorDialog-BDwL39Du.js → PkImageEditorDialog-D21ggZkD.js} +6 -5
- package/dist/_chunks/{PkImageEditorDialog-BDwL39Du.js.map → PkImageEditorDialog-D21ggZkD.js.map} +1 -1
- package/dist/_chunks/{PkSelectionActions-DLsZ8-gW.js → PkSelectionActions-BLfFobXb.js} +2 -2
- package/dist/_chunks/{PkSelectionActions-DLsZ8-gW.js.map → PkSelectionActions-BLfFobXb.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-14rJ_FK2.js → PkStreamingMarkdown-Bekhx_vG.js} +300 -213
- package/dist/_chunks/PkStreamingMarkdown-Bekhx_vG.js.map +1 -0
- package/dist/_chunks/{PkToolChatFile-62j1S0Pq.js → PkToolChatFile-BzN4fMaY.js} +3 -3
- package/dist/_chunks/{PkToolChatFile-62j1S0Pq.js.map → PkToolChatFile-BzN4fMaY.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-B9EM_K6O.js → PkToolRequestGeolocation-Dj5OxEMP.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-B9EM_K6O.js.map → PkToolRequestGeolocation-Dj5OxEMP.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-CfjfqCHX.js → PkToolRequestOAuthConnection-Cj_IYnrW.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-CfjfqCHX.js.map → PkToolRequestOAuthConnection-Cj_IYnrW.js.map} +1 -1
- package/dist/_chunks/PkToolShowArtifact-BkGtejtb.js +110 -0
- package/dist/_chunks/PkToolShowArtifact-BkGtejtb.js.map +1 -0
- package/dist/_chunks/{PkToolShowContactForm-BeJ5GR6t.js → PkToolShowContactForm-BXsvfCKR.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-BeJ5GR6t.js.map → PkToolShowContactForm-BXsvfCKR.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-B9VDoS_W.js → PkToolShowForm-DeG_AzO9.js} +4 -4
- package/dist/_chunks/{PkToolShowForm-B9VDoS_W.js.map → PkToolShowForm-DeG_AzO9.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-DFuc5IJ1.js → PkToolShowImageGallery-Dri9KUNg.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-DFuc5IJ1.js.map → PkToolShowImageGallery-Dri9KUNg.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-C2EJKYOV.js → PkToolShowProductList-C-XQdsus.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-C2EJKYOV.js.map → PkToolShowProductList-C-XQdsus.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-BL3DnfcN.js → PkToolShowSources-DMDML2kQ.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-BL3DnfcN.js.map → PkToolShowSources-DMDML2kQ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-DLgtjBJ1.js → PkToolShowSuggestedReply-BYoW-L6k.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-DLgtjBJ1.js.map → PkToolShowSuggestedReply-BYoW-L6k.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-DcWXDcOZ.js → PkToolShowVideo-C_1ziurv.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-DcWXDcOZ.js.map → PkToolShowVideo-C_1ziurv.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-CPqMC6qt.js → PkToolShowWebPages-yFdm0n0F.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-CPqMC6qt.js.map → PkToolShowWebPages-yFdm0n0F.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-DMt6O5iK.js → chatImagePolicy-Dqke0kDv.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-DMt6O5iK.js.map → chatImagePolicy-Dqke0kDv.js.map} +1 -1
- package/dist/_chunks/{markdown-nw5sXwU0.js → markdown-Z_eeOlvv.js} +16 -16
- package/dist/_chunks/{markdown-nw5sXwU0.js.map → markdown-Z_eeOlvv.js.map} +1 -1
- package/dist/_chunks/{utils-DE4cAz37.js → utils-C1JaUBI_.js} +2 -2
- package/dist/_chunks/{utils-DE4cAz37.js.map → utils-C1JaUBI_.js.map} +1 -1
- package/dist/ai-elements.es.js +3754 -3573
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotAuth.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-CBAd3F7k.js → Agent-DrnYCRFA.js} +2 -2
- package/dist-vue/_chunks/{Agent-CBAd3F7k.js.map → Agent-DrnYCRFA.js.map} +1 -1
- package/dist-vue/_chunks/{Document-B3w5H0R0.js → Document-CA7c3oZE.js} +11 -11
- package/dist-vue/_chunks/{Document-B3w5H0R0.js.map → Document-CA7c3oZE.js.map} +1 -1
- package/dist-vue/_chunks/{Media-0U2B_qCS.js → Media-BIlhY_h6.js} +31 -26
- package/dist-vue/_chunks/Media-BIlhY_h6.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-aCgj2DMu.js → PkChatbot-QjeNY0h6.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-aCgj2DMu.js.map → PkChatbot-QjeNY0h6.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotAuth-C5agN8ht.js → PkChatbotAuth-C8ZjLNFY.js} +8 -8
- package/dist-vue/_chunks/{PkChatbotAuth-C5agN8ht.js.map → PkChatbotAuth-C8ZjLNFY.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-CLfzcH_t.js → PkChatbotEmptyState-D6S0iYe3.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-CLfzcH_t.js.map → PkChatbotEmptyState-D6S0iYe3.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotInput-CunAf5Rq.js +708 -0
- package/dist-vue/_chunks/PkChatbotInput-CunAf5Rq.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotMessages-CG3UZYcP.js → PkChatbotMessages-CzPsgCAN.js} +351 -326
- package/dist-vue/_chunks/PkChatbotMessages-CzPsgCAN.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotStepPayload-fyrbP7yS.js → PkChatbotStepPayload-BQDpTDgn.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-fyrbP7yS.js.map → PkChatbotStepPayload-BQDpTDgn.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-Drhc6X-x.js → PkChatbotStepToolDetail-Dsf9t1B6.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-Drhc6X-x.js.map → PkChatbotStepToolDetail-Dsf9t1B6.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-DZwV7UVr.js → PkChatbotSteps-HACZ1RrB.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-DZwV7UVr.js.map → PkChatbotSteps-HACZ1RrB.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-IU3HJpxG.js → PkChatbotViewChat-BpDCX_72.js} +107 -107
- package/dist-vue/_chunks/PkChatbotViewChat-BpDCX_72.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewConversations-4zGrp7Fo.js → PkChatbotViewConversations-B0nUFwuu.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-4zGrp7Fo.js.map → PkChatbotViewConversations-B0nUFwuu.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-PHdrHZOf.js → PkChatbotViewFiles-gGshDAPk.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-PHdrHZOf.js.map → PkChatbotViewFiles-gGshDAPk.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-BrZ7oiUY.js → PkChatbotViewProfile-BuJtqq8F.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-BrZ7oiUY.js.map → PkChatbotViewProfile-BuJtqq8F.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-WqS-s3vk.js → PkFilePreview-0p50S8Km.js} +4 -4
- package/dist-vue/_chunks/{PkFilePreview-WqS-s3vk.js.map → PkFilePreview-0p50S8Km.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreviewDialog-BIaTAK05.js → PkFilePreviewDialog-B1N4xDEu.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-BIaTAK05.js.map → PkFilePreviewDialog-B1N4xDEu.js.map} +1 -1
- package/dist-vue/_chunks/{PkImageEditorDialog-_-UkV0CO.js → PkImageEditorDialog-B-jW5yE8.js} +6 -5
- package/dist-vue/_chunks/{PkImageEditorDialog-_-UkV0CO.js.map → PkImageEditorDialog-B-jW5yE8.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-ha0V58V9.js → PkStreamingMarkdown-WIueQOg3.js} +530 -445
- package/dist-vue/_chunks/PkStreamingMarkdown-WIueQOg3.js.map +1 -0
- package/dist-vue/_chunks/{PkToolChatFile-OusYITiO.js → PkToolChatFile-W6OJP7HH.js} +3 -3
- package/dist-vue/_chunks/{PkToolChatFile-OusYITiO.js.map → PkToolChatFile-W6OJP7HH.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-CyL_M1Rm.js → PkToolRequestGeolocation-BPZfJfR1.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-CyL_M1Rm.js.map → PkToolRequestGeolocation-BPZfJfR1.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DWkeVLpx.js → PkToolRequestOAuthConnection-BaMZkvU5.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-DWkeVLpx.js.map → PkToolRequestOAuthConnection-BaMZkvU5.js.map} +1 -1
- package/dist-vue/_chunks/PkToolShowArtifact-CPBFsUrY.js +107 -0
- package/dist-vue/_chunks/PkToolShowArtifact-CPBFsUrY.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowChart-BSnYmoJJ.js → PkToolShowChart-BaUS47YU.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowChart-BSnYmoJJ.js.map → PkToolShowChart-BaUS47YU.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-DFufPNnQ.js → PkToolShowContactForm-6OQ-hjCt.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-DFufPNnQ.js.map → PkToolShowContactForm-6OQ-hjCt.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-BR4fE_be.js → PkToolShowDiagram-D6hPQVoe.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-BR4fE_be.js.map → PkToolShowDiagram-D6hPQVoe.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-yh0YAXcg.js → PkToolShowForm-CAadu_Pq.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-yh0YAXcg.js.map → PkToolShowForm-CAadu_Pq.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-mmUY1Yfg.js → PkToolShowImageGallery-BlTyCF8h.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-mmUY1Yfg.js.map → PkToolShowImageGallery-BlTyCF8h.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-B-ya1TDt.js → PkToolShowProductList-CZFkf9UD.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-B-ya1TDt.js.map → PkToolShowProductList-CZFkf9UD.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-DYkHkVdX.js → PkToolShowSources-Bci0Ab2u.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-DYkHkVdX.js.map → PkToolShowSources-Bci0Ab2u.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-wKgwHTRO.js → PkToolShowSuggestedReply-DCZbwFhR.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-wKgwHTRO.js.map → PkToolShowSuggestedReply-DCZbwFhR.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-CRg2lAY8.js → PkToolShowVideo-BnSYdoTJ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-CRg2lAY8.js.map → PkToolShowVideo-BnSYdoTJ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-C_pWag94.js → PkToolShowWebPages-CHrHuFZI.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-C_pWag94.js.map → PkToolShowWebPages-CHrHuFZI.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-DBKfGL6y.js → createChatbotApiClient-_gh3Y1rl.js} +3 -3
- package/dist-vue/_chunks/createChatbotApiClient-_gh3Y1rl.js.map +1 -0
- package/dist-vue/_chunks/{useChatbotStore-Hb5EjISl.js → useChatbotStore-CjFPM9Q5.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-Hb5EjISl.js.map → useChatbotStore-CjFPM9Q5.js.map} +1 -1
- package/dist-vue/_chunks/{utils-Df5n2cDc.js → utils-BYvQMZLG.js} +2 -2
- package/dist-vue/_chunks/{utils-Df5n2cDc.js.map → utils-BYvQMZLG.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +40 -8
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +71 -71
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +10 -0
- package/dist-vue/packages/components/src/chat/PkChatbotInput.d.ts +2 -2
- package/dist-vue/packages/components/src/chat/PkImageEditorDialog.d.ts +5 -0
- package/dist-vue/packages/components/src/chat/PkStreamingMarkdown.d.ts +6 -0
- package/dist-vue/packages/components/src/chat/richCopy.d.ts +33 -0
- package/dist-vue/packages/components/src/chat/screenshot.d.ts +38 -0
- package/dist-vue/packages/models/src/schema/Chat.d.ts +1 -1
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-DZEyfr8D.js.map +0 -1
- package/dist/_chunks/PkStreamingMarkdown-14rJ_FK2.js.map +0 -1
- package/dist/_chunks/PkToolShowArtifact-I_QZS7Pf.js +0 -94
- package/dist/_chunks/PkToolShowArtifact-I_QZS7Pf.js.map +0 -1
- package/dist-vue/_chunks/Media-0U2B_qCS.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotInput-C9l_1I3d.js +0 -584
- package/dist-vue/_chunks/PkChatbotInput-C9l_1I3d.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotMessages-CG3UZYcP.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotViewChat-IU3HJpxG.js.map +0 -1
- package/dist-vue/_chunks/PkStreamingMarkdown-ha0V58V9.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowArtifact-x57Gri2a.js +0 -91
- package/dist-vue/_chunks/PkToolShowArtifact-x57Gri2a.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-DBKfGL6y.js.map +0 -1
package/dist-vue/index.js
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import { t as e } from "./_chunks/rolldown-runtime-CGnMp29N.js";
|
|
2
|
-
import { $ as t, B as n, D as r, Dt as i, E as a, F as o, G as s, I as c, J as l, K as u, L as d, N as f, P as p, Q as m, R as h, S as g, St as _, T as v, U as y, X as b, Y as x, a as S, d as C, dt as w, et as ee, f as te, ft as ne, gt as re, ht as ie, i as ae, lt as oe, mt as se, nt as ce, p as le, pt as ue, q as de, r as T, rt as fe, s as pe, t as me, tt as he, ut as ge, vt as _e, w as ve, wt as ye, x as be, xt as xe, y as Se, yt as Ce, z as we } from "./_chunks/Agent-
|
|
2
|
+
import { $ as t, B as n, D as r, Dt as i, E as a, F as o, G as s, I as c, J as l, K as u, L as d, N as f, P as p, Q as m, R as h, S as g, St as _, T as v, U as y, X as b, Y as x, a as S, d as C, dt as w, et as ee, f as te, ft as ne, gt as re, ht as ie, i as ae, lt as oe, mt as se, nt as ce, p as le, pt as ue, q as de, r as T, rt as fe, s as pe, t as me, tt as he, ut as ge, vt as _e, w as ve, wt as ye, x as be, xt as xe, y as Se, yt as Ce, z as we } from "./_chunks/Agent-DrnYCRFA.js";
|
|
3
3
|
import { C as Te, S as Ee, _ as De, b as E, f as Oe, g as D, h as ke, m as Ae, o as je, r as Me, s as Ne, u as Pe, w as Fe, y as Ie } from "./_chunks/schemas-CwcNxjnD.js";
|
|
4
|
-
import { a as Le, i as Re,
|
|
4
|
+
import { a as Le, i as Re, n as ze, r as Be, u as Ve } from "./_chunks/Media-BIlhY_h6.js";
|
|
5
5
|
import { t as He } from "./_chunks/PkEditorRadioButtons-Bw576DPQ.js";
|
|
6
|
-
import { r as Ue, t as We } from "./_chunks/Document-
|
|
7
|
-
import { a as Ge, i as Ke, n as qe, r as Je } from "./_chunks/useChatbotStore-
|
|
8
|
-
import { a as Ye, n as Xe, o as Ze } from "./_chunks/createChatbotApiClient-
|
|
9
|
-
import { t as Qe } from "./_chunks/PkChatbotMessages-
|
|
10
|
-
import { t as $e } from "./_chunks/PkChatbotAuth-
|
|
6
|
+
import { r as Ue, t as We } from "./_chunks/Document-CA7c3oZE.js";
|
|
7
|
+
import { a as Ge, i as Ke, n as qe, r as Je } from "./_chunks/useChatbotStore-CjFPM9Q5.js";
|
|
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";
|
|
10
|
+
import { t as $e } from "./_chunks/PkChatbotAuth-C8ZjLNFY.js";
|
|
11
11
|
import { t as et } from "./_chunks/VvButtonLocalized-C-vx25u4.js";
|
|
12
|
-
import { r as tt, t as nt } from "./_chunks/PkToolShowArtifact-
|
|
12
|
+
import { r as tt, t as nt } from "./_chunks/PkToolShowArtifact-CPBFsUrY.js";
|
|
13
13
|
import { $ as rt, A as it, B as at, C as ot, Ct as st, D as ct, E as lt, F as ut, G as dt, H as ft, I as pt, J as mt, K as ht, L as gt, M as _t, N as O, Q as vt, S as yt, St as bt, T as xt, Tt as St, U as Ct, V as wt, W as Tt, X as Et, _t as Dt, a as Ot, at as kt, b as At, bt as jt, c as Mt, ct as Nt, d as Pt, dt as Ft, et as It, f as Lt, gt as Rt, h as zt, it as Bt, j as Vt, k as Ht, l as k, lt as A, mt as Ut, nt as Wt, o as Gt, ot as Kt, pt as qt, q as Jt, rt as Yt, st as Xt, tt as Zt, u as Qt, ut as $t, vt as en, w as tn, wt as nn, x as rn, xt as an, y as on, yt as sn, z as cn } from "./_chunks/dist-DtxVAOxm.js";
|
|
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-
|
|
18
|
-
import {
|
|
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";
|
|
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";
|
|
21
21
|
import { t as Dn } from "./_chunks/PkChatbotError-DFZ5S5jd.js";
|
|
22
22
|
import { t as On } from "./_chunks/useImageFallback-HUe4GHah.js";
|
|
23
23
|
import { t as kn } from "./_chunks/PkLazyImg-D_Tmtfz3.js";
|
|
24
|
-
import { n as An, t as jn } from "./_chunks/PkChatbotInput-
|
|
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-
|
|
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-
|
|
26
|
+
import { i as Nn, r as Pn } from "./_chunks/PkFilePreview-0p50S8Km.js";
|
|
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-
|
|
30
|
-
import { r as er, t as tr } from "./_chunks/PkToolShowForm-
|
|
29
|
+
import { i as Xn, n as Zn, r as Qn, t as $n } from "./_chunks/PkChatbotViewConversations-B0nUFwuu.js";
|
|
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-
|
|
35
|
+
import { n as or, t as sr } from "./_chunks/PkChatbotSteps-HACZ1RrB.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-
|
|
39
|
-
import { t as pr } from "./_chunks/PkChatbotStepPayload-
|
|
40
|
-
import { t as mr } from "./_chunks/PkChatbotStepToolDetail-
|
|
41
|
-
import { t as hr } from "./_chunks/PkChatbotEmptyState-
|
|
42
|
-
import { t as gr } from "./_chunks/PkChatbotViewProfile-
|
|
43
|
-
import { t as _r } from "./_chunks/PkChatbot-
|
|
38
|
+
import { i as ur, r as dr, t as fr } from "./_chunks/PkToolShowSources-Bci0Ab2u.js";
|
|
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";
|
|
42
|
+
import { t as gr } from "./_chunks/PkChatbotViewProfile-BuJtqq8F.js";
|
|
43
|
+
import { t as _r } from "./_chunks/PkChatbot-QjeNY0h6.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
46
|
import { t as br } from "./_chunks/PkToolShowEmail-idhNR5-l.js";
|
|
47
47
|
import { t as xr } from "./_chunks/PkToolShowMessage-B4gztWUk.js";
|
|
48
|
-
import { t as Sr } from "./_chunks/PkToolShowWebPages-
|
|
49
|
-
import { t as Cr } from "./_chunks/PkToolShowProductList-
|
|
50
|
-
import { t as wr } from "./_chunks/PkToolShowContactForm-
|
|
48
|
+
import { t as Sr } from "./_chunks/PkToolShowWebPages-CHrHuFZI.js";
|
|
49
|
+
import { t as Cr } from "./_chunks/PkToolShowProductList-CZFkf9UD.js";
|
|
50
|
+
import { t as wr } from "./_chunks/PkToolShowContactForm-6OQ-hjCt.js";
|
|
51
51
|
import { t as Tr } from "./_chunks/PkToolShowCalendarEvent-CAejFLQI.js";
|
|
52
52
|
import { t as Er } from "./_chunks/PkToolShowComparison-BEHyRNXE.js";
|
|
53
53
|
import { t as Dr } from "./_chunks/PkToolShowLocation-CyaKgQUX.js";
|
|
54
54
|
import { t as Or } from "./_chunks/PkToolShowQrCode-96KzD1rX.js";
|
|
55
|
-
import { t as kr } from "./_chunks/PkToolShowImageGallery-
|
|
56
|
-
import { t as Ar } from "./_chunks/PkToolShowSuggestedReply-
|
|
55
|
+
import { t as kr } from "./_chunks/PkToolShowImageGallery-BlTyCF8h.js";
|
|
56
|
+
import { t as Ar } from "./_chunks/PkToolShowSuggestedReply-DCZbwFhR.js";
|
|
57
57
|
import { t as jr } from "./_chunks/PkToolShareDocument-Bkt9JVqk.js";
|
|
58
|
-
import { t as Mr } from "./_chunks/PkToolChatFile-
|
|
59
|
-
import { t as Nr } from "./_chunks/PkFilePreviewDialog-
|
|
60
|
-
import { t as Pr } from "./_chunks/PkToolRequestGeolocation-
|
|
58
|
+
import { t as Mr } from "./_chunks/PkToolChatFile-W6OJP7HH.js";
|
|
59
|
+
import { t as Nr } from "./_chunks/PkFilePreviewDialog-B1N4xDEu.js";
|
|
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";
|
|
63
63
|
import { useI18n as Ii } from "vue-i18n";
|
|
@@ -102,15 +102,15 @@ D({
|
|
|
102
102
|
conversationsCount: ke(),
|
|
103
103
|
filesCount: ke(),
|
|
104
104
|
memoriesCount: ke(),
|
|
105
|
-
createdAt:
|
|
106
|
-
updatedAt:
|
|
105
|
+
createdAt: Ve(),
|
|
106
|
+
updatedAt: Ve()
|
|
107
107
|
}), D({
|
|
108
108
|
userId: E(),
|
|
109
109
|
name: E(),
|
|
110
110
|
email: E(),
|
|
111
111
|
image: E().nullable(),
|
|
112
112
|
role: ia,
|
|
113
|
-
joinedAt:
|
|
113
|
+
joinedAt: Ve()
|
|
114
114
|
}), D({
|
|
115
115
|
userId: E(),
|
|
116
116
|
name: E(),
|
|
@@ -160,12 +160,12 @@ var ua = D({
|
|
|
160
160
|
D({
|
|
161
161
|
family: la,
|
|
162
162
|
status: Me(fa),
|
|
163
|
-
changedAt:
|
|
163
|
+
changedAt: Ve().nullable(),
|
|
164
164
|
chunks: pa.nullable(),
|
|
165
165
|
memories: pa.nullable(),
|
|
166
166
|
orphanedChunks: ke().int(),
|
|
167
167
|
heldReason: Me(da).nullable(),
|
|
168
|
-
checkedAt:
|
|
168
|
+
checkedAt: Ve().nullable()
|
|
169
169
|
});
|
|
170
170
|
var ma = Te({ protocol: /^https?$/ }), ha = E().min(1).regex(/^[A-Za-z0-9!#$%&'*+.^_`|~-]+$/), ga = E().refine((e) => ![...e].some((e) => {
|
|
171
171
|
let t = e.codePointAt(0) ?? 0;
|
|
@@ -182,8 +182,8 @@ D({
|
|
|
182
182
|
models: je(ca),
|
|
183
183
|
embedding: ua.nullable(),
|
|
184
184
|
enabled: Ne(),
|
|
185
|
-
createdAt:
|
|
186
|
-
updatedAt:
|
|
185
|
+
createdAt: Ve(),
|
|
186
|
+
updatedAt: Ve()
|
|
187
187
|
});
|
|
188
188
|
var va = D({
|
|
189
189
|
id: E().min(1),
|
|
@@ -294,11 +294,11 @@ var Da = E(), Oa = D({
|
|
|
294
294
|
groupKey: E().nullable(),
|
|
295
295
|
groupCount: ke().int(),
|
|
296
296
|
metadata: Ie(E(), Ee()).nullable(),
|
|
297
|
-
scheduledAt:
|
|
298
|
-
readAt:
|
|
299
|
-
deletedAt:
|
|
300
|
-
createdAt:
|
|
301
|
-
updatedAt:
|
|
297
|
+
scheduledAt: Ve().nullable(),
|
|
298
|
+
readAt: Ve().nullable(),
|
|
299
|
+
deletedAt: Ve().nullable(),
|
|
300
|
+
createdAt: Ve(),
|
|
301
|
+
updatedAt: Ve()
|
|
302
302
|
});
|
|
303
303
|
D({
|
|
304
304
|
...i.pagination(),
|
|
@@ -326,15 +326,15 @@ var ka = D({
|
|
|
326
326
|
body: E().max(2e3).nullable().optional(),
|
|
327
327
|
groupKey: E().max(255).nullable().optional(),
|
|
328
328
|
metadata: Ie(E(), Ee()).nullable().optional(),
|
|
329
|
-
scheduledAt:
|
|
329
|
+
scheduledAt: Ve().nullable().optional()
|
|
330
330
|
}), Aa = [wa.Generic, wa.Organization];
|
|
331
331
|
ka.extend({ type: Me(Aa).default(wa.Generic) }), D({ count: ke().int() }), D({
|
|
332
332
|
id: E(),
|
|
333
333
|
notificationId: E(),
|
|
334
334
|
userId: E(),
|
|
335
|
-
readAt:
|
|
336
|
-
deletedAt:
|
|
337
|
-
createdAt:
|
|
335
|
+
readAt: Ve().nullable(),
|
|
336
|
+
deletedAt: Ve().nullable(),
|
|
337
|
+
createdAt: Ve()
|
|
338
338
|
});
|
|
339
339
|
// ../../packages/models/src/schema/Integration.ts
|
|
340
340
|
var ja = /* @__PURE__ */ function(e) {
|
|
@@ -416,8 +416,8 @@ D(Ba).superRefine(Va), D({
|
|
|
416
416
|
enabled: Ne(),
|
|
417
417
|
config: Ie(E(), Ee()).default({}),
|
|
418
418
|
fieldMapping: je(Ia).default([]),
|
|
419
|
-
createdAt:
|
|
420
|
-
updatedAt:
|
|
419
|
+
createdAt: Ve(),
|
|
420
|
+
updatedAt: Ve(),
|
|
421
421
|
createdBy: Fe().nullable(),
|
|
422
422
|
updatedBy: Fe().nullable()
|
|
423
423
|
}), D({
|
|
@@ -466,8 +466,8 @@ D(Ba).superRefine(Va), D({
|
|
|
466
466
|
errorMessage: E().nullable(),
|
|
467
467
|
attempts: ke().int(),
|
|
468
468
|
payload: Ie(E(), Ee()).nullable(),
|
|
469
|
-
createdAt:
|
|
470
|
-
updatedAt:
|
|
469
|
+
createdAt: Ve(),
|
|
470
|
+
updatedAt: Ve()
|
|
471
471
|
}), D({
|
|
472
472
|
...i.pagination(),
|
|
473
473
|
...i.sort([
|
|
@@ -554,8 +554,8 @@ D({
|
|
|
554
554
|
platform: qa.optional(),
|
|
555
555
|
phoneNumber: E().optional(),
|
|
556
556
|
currentPhoneNumber: E().optional(),
|
|
557
|
-
issuedAt:
|
|
558
|
-
expiresAt:
|
|
557
|
+
issuedAt: Ve().optional(),
|
|
558
|
+
expiresAt: Ve().optional()
|
|
559
559
|
}), D({
|
|
560
560
|
token: E().min(1).max(4096),
|
|
561
561
|
replace: Ne().optional(),
|
|
@@ -563,19 +563,19 @@ D({
|
|
|
563
563
|
}), D({
|
|
564
564
|
platform: qa,
|
|
565
565
|
phoneNumber: E(),
|
|
566
|
-
linkedAt:
|
|
566
|
+
linkedAt: Ve()
|
|
567
567
|
}), D({
|
|
568
568
|
id: E(),
|
|
569
569
|
name: E(),
|
|
570
570
|
slug: E(),
|
|
571
571
|
logo: E().nullable(),
|
|
572
|
-
media:
|
|
573
|
-
createdAt:
|
|
574
|
-
updatedAt:
|
|
572
|
+
media: ze.optional().nullable(),
|
|
573
|
+
createdAt: Ve(),
|
|
574
|
+
updatedAt: Ve(),
|
|
575
575
|
createdBy: E(),
|
|
576
576
|
updatedBy: E(),
|
|
577
577
|
deleted: Ne(),
|
|
578
|
-
deletedAt:
|
|
578
|
+
deletedAt: Ve().nullable(),
|
|
579
579
|
deletedBy: E().nullable(),
|
|
580
580
|
metadata: E().nullable(),
|
|
581
581
|
requireTwoFactor: Ne().optional()
|
|
@@ -585,13 +585,13 @@ var Ja = D({
|
|
|
585
585
|
name: E(),
|
|
586
586
|
slug: E().refine((e) => /^[a-z0-9-]+$/.test(e), { params: { i18n: "slugFormat" } }),
|
|
587
587
|
logo: E().nullish(),
|
|
588
|
-
media:
|
|
588
|
+
media: ze.optional().nullable(),
|
|
589
589
|
metadata: E().nullish()
|
|
590
590
|
});
|
|
591
591
|
D({
|
|
592
592
|
name: E().min(1).optional(),
|
|
593
593
|
slug: Ja.shape.slug.optional(),
|
|
594
|
-
media:
|
|
594
|
+
media: ze.nullish(),
|
|
595
595
|
metadata: Ie(E(), Ee()).optional(),
|
|
596
596
|
requireTwoFactor: Ne().optional()
|
|
597
597
|
});
|
|
@@ -653,15 +653,15 @@ D({
|
|
|
653
653
|
organizationId: E(),
|
|
654
654
|
creditRemaining: ke(),
|
|
655
655
|
estimatedCredit: ke(),
|
|
656
|
-
creditUpdatedAt:
|
|
657
|
-
lastRefillAt:
|
|
658
|
-
lastReconciledAt:
|
|
656
|
+
creditUpdatedAt: Ve().nullable(),
|
|
657
|
+
lastRefillAt: Ve().nullable(),
|
|
658
|
+
lastReconciledAt: Ve().nullable()
|
|
659
659
|
}), D({
|
|
660
660
|
id: E(),
|
|
661
661
|
organizationId: E(),
|
|
662
662
|
refillAmount: ke().positive(),
|
|
663
663
|
creditRemainingBeforeRefill: ke(),
|
|
664
|
-
createdAt:
|
|
664
|
+
createdAt: Ve(),
|
|
665
665
|
createdBy: E().optional().nullable(),
|
|
666
666
|
createdByName: E().optional().nullable()
|
|
667
667
|
}), D({
|
|
@@ -1344,27 +1344,27 @@ function ps(e) {
|
|
|
1344
1344
|
async function ms(e) {
|
|
1345
1345
|
let { height: t, width: n } = await us(e);
|
|
1346
1346
|
return {
|
|
1347
|
-
type:
|
|
1347
|
+
type: Be.picture,
|
|
1348
1348
|
height: t,
|
|
1349
1349
|
width: n
|
|
1350
1350
|
};
|
|
1351
1351
|
}
|
|
1352
1352
|
// ../../packages/composable/src/useMediaStore.ts
|
|
1353
1353
|
var { getRawOptions: hs } = { getRawOptions: async (e) => ds(e) ? await ms(e) : fs(e) ? {
|
|
1354
|
-
type:
|
|
1354
|
+
type: Be.video,
|
|
1355
1355
|
height: 0,
|
|
1356
1356
|
width: 0,
|
|
1357
1357
|
duration: 0
|
|
1358
1358
|
} : ps(e) ? {
|
|
1359
|
-
type:
|
|
1359
|
+
type: Be.audio,
|
|
1360
1360
|
duration: 0
|
|
1361
|
-
} : { type:
|
|
1361
|
+
} : { type: Be.office } }, gs = async (e, t, n = Xe.Backoffice) => {
|
|
1362
1362
|
let { client: r } = ls(), i = await hs(e), a = e.name.split(".").pop();
|
|
1363
1363
|
return await (await r.post({
|
|
1364
1364
|
template: "api/vundefined/:audience/medias/prepare-upload",
|
|
1365
1365
|
params: { audience: n }
|
|
1366
1366
|
}, { json: {
|
|
1367
|
-
type: i?.type ||
|
|
1367
|
+
type: i?.type || Be.binary,
|
|
1368
1368
|
name: e.name,
|
|
1369
1369
|
mimeType: e.type,
|
|
1370
1370
|
bytesCount: e.size,
|
|
@@ -18284,9 +18284,9 @@ var IE = /*#__PURE__*/ NE(PE, [["render", FE]]), LE = {
|
|
|
18284
18284
|
}, { immediate: !0 });
|
|
18285
18285
|
let a = M(() => {
|
|
18286
18286
|
switch (t.media.src.type) {
|
|
18287
|
-
case
|
|
18288
|
-
case
|
|
18289
|
-
case
|
|
18287
|
+
case Be.picture: return "ri:file-image-line";
|
|
18288
|
+
case Be.video: return "ri:file-video-line";
|
|
18289
|
+
case Be.audio: return "ri:file-music-line";
|
|
18290
18290
|
default: return Ue(t.media.src.extension);
|
|
18291
18291
|
}
|
|
18292
18292
|
}), { canShowImage: o, onImageError: s } = On(), c = M(() => o(r.value) ? r.value : void 0);
|