@8wave/ai-elements 0.127.0-beta.3 → 0.127.0-beta.5
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/{PkChatbotFilePreview-BpiLld3D.js → PkChatbotFilePreview-CWzGSq-b.js} +2 -2
- package/dist/_chunks/{PkChatbotFilePreview-BpiLld3D.js.map → PkChatbotFilePreview-CWzGSq-b.js.map} +1 -1
- package/dist/_chunks/{PkEditorRadioButtons-BtAGtjNW.js → PkEditorRadioButtons-CA1ul6tY.js} +3 -3
- package/dist/_chunks/{PkEditorRadioButtons-BtAGtjNW.js.map → PkEditorRadioButtons-CA1ul6tY.js.map} +1 -1
- package/dist/_chunks/{PkFilePreview-qTCDbut0.js → PkFilePreview-BaJet5cw.js} +5 -5
- package/dist/_chunks/{PkFilePreview-qTCDbut0.js.map → PkFilePreview-BaJet5cw.js.map} +1 -1
- package/dist/_chunks/{PkFilePreviewDialog-m5d4zZDi.js → PkFilePreviewDialog-Cq8DGCD1.js} +3 -3
- package/dist/_chunks/{PkFilePreviewDialog-m5d4zZDi.js.map → PkFilePreviewDialog-Cq8DGCD1.js.map} +1 -1
- package/dist/_chunks/{PkHeldImage-5nu3We9d.js → PkHeldImage-BWz13OCH.js} +2 -2
- package/dist/_chunks/{PkHeldImage-5nu3We9d.js.map → PkHeldImage-BWz13OCH.js.map} +1 -1
- package/dist/_chunks/{PkImageEditorDialog-aekpEqWD.js → PkImageEditorDialog-5Px7Y_8G.js} +5 -5
- package/dist/_chunks/{PkImageEditorDialog-aekpEqWD.js.map → PkImageEditorDialog-5Px7Y_8G.js.map} +1 -1
- package/dist/_chunks/{PkLazyImg-DZaX3wM4.js → PkLazyImg-DYjihkLA.js} +2 -2
- package/dist/_chunks/{PkLazyImg-DZaX3wM4.js.map → PkLazyImg-DYjihkLA.js.map} +1 -1
- package/dist/_chunks/{PkSelectionActions-DDhRX6cs.js → PkSelectionActions-DDhbwE4U.js} +2 -2
- package/dist/_chunks/{PkSelectionActions-DDhRX6cs.js.map → PkSelectionActions-DDhbwE4U.js.map} +1 -1
- package/dist/_chunks/{PkToolChatFile-C3B9q2OL.js → PkToolChatFile-fTo6gdqx.js} +3 -3
- package/dist/_chunks/{PkToolChatFile-C3B9q2OL.js.map → PkToolChatFile-fTo6gdqx.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-D4pYnCW5.js → PkToolRequestGeolocation-BeFZQQxz.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-D4pYnCW5.js.map → PkToolRequestGeolocation-BeFZQQxz.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-DnnRY2rt.js → PkToolRequestOAuthConnection-_01ct5du.js} +3 -3
- package/dist/_chunks/{PkToolRequestOAuthConnection-DnnRY2rt.js.map → PkToolRequestOAuthConnection-_01ct5du.js.map} +1 -1
- package/dist/_chunks/{PkToolShareDocument-Dn1XC44S.js → PkToolShareDocument-Vpv1an0N.js} +3 -3
- package/dist/_chunks/{PkToolShareDocument-Dn1XC44S.js.map → PkToolShareDocument-Vpv1an0N.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-DQln7TsF.js → PkToolShowArtifact-C28dOM5W.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-DQln7TsF.js.map → PkToolShowArtifact-C28dOM5W.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-B1vPVEhc.js → PkToolShowCalendarEvent-Cee5xnJM.js} +4 -4
- package/dist/_chunks/{PkToolShowCalendarEvent-B1vPVEhc.js.map → PkToolShowCalendarEvent-Cee5xnJM.js.map} +1 -1
- package/dist/_chunks/{PkToolShowChart-DfDB9BeZ.js → PkToolShowChart-kgCDHWEf.js} +3 -3
- package/dist/_chunks/{PkToolShowChart-DfDB9BeZ.js.map → PkToolShowChart-kgCDHWEf.js.map} +1 -1
- package/dist/_chunks/{PkToolShowComparison-VRck6_nr.js → PkToolShowComparison-cXfmgJ1H.js} +3 -3
- package/dist/_chunks/{PkToolShowComparison-VRck6_nr.js.map → PkToolShowComparison-cXfmgJ1H.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-Dkb8AiqL.js → PkToolShowContactForm-D06qrkHm.js} +4 -4
- package/dist/_chunks/{PkToolShowContactForm-Dkb8AiqL.js.map → PkToolShowContactForm-D06qrkHm.js.map} +1 -1
- package/dist/_chunks/{PkToolShowDiagram-B2dBogUW.js → PkToolShowDiagram-B2NX-FOw.js} +3 -3
- package/dist/_chunks/{PkToolShowDiagram-B2dBogUW.js.map → PkToolShowDiagram-B2NX-FOw.js.map} +1 -1
- package/dist/_chunks/{PkToolShowEmail-DcFaseV8.js → PkToolShowEmail-D-JnkL9A.js} +4 -4
- package/dist/_chunks/{PkToolShowEmail-DcFaseV8.js.map → PkToolShowEmail-D-JnkL9A.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-CtDcwJs4.js → PkToolShowForm-qj_f9Z5D.js} +16 -16
- package/dist/_chunks/{PkToolShowForm-CtDcwJs4.js.map → PkToolShowForm-qj_f9Z5D.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-dLMI3SM7.js → PkToolShowImageGallery-Dm2UEfWl.js} +3 -3
- package/dist/_chunks/{PkToolShowImageGallery-dLMI3SM7.js.map → PkToolShowImageGallery-Dm2UEfWl.js.map} +1 -1
- package/dist/_chunks/{PkToolShowLocation-B3YOn2fH.js → PkToolShowLocation-McS9sMWJ.js} +4 -4
- package/dist/_chunks/{PkToolShowLocation-B3YOn2fH.js.map → PkToolShowLocation-McS9sMWJ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowMessage-BJ0nNGNK.js → PkToolShowMessage-C3jjCRB3.js} +4 -4
- package/dist/_chunks/{PkToolShowMessage-BJ0nNGNK.js.map → PkToolShowMessage-C3jjCRB3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-DE6BEdr_.js → PkToolShowProductList-DorHQJMd.js} +4 -4
- package/dist/_chunks/{PkToolShowProductList-DE6BEdr_.js.map → PkToolShowProductList-DorHQJMd.js.map} +1 -1
- package/dist/_chunks/{PkToolShowQrCode-BcE0yKiC.js → PkToolShowQrCode-CIwiAzOS.js} +3 -3
- package/dist/_chunks/{PkToolShowQrCode-BcE0yKiC.js.map → PkToolShowQrCode-CIwiAzOS.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-vSr080EU.js → PkToolShowSources-BMJeacz7.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-vSr080EU.js.map → PkToolShowSources-BMJeacz7.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-HuKn3loC.js → PkToolShowSuggestedReply-DBfeOl05.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-HuKn3loC.js.map → PkToolShowSuggestedReply-DBfeOl05.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-BL-9CiYe.js → PkToolShowVideo-YwSq8c2P.js} +3 -3
- package/dist/_chunks/{PkToolShowVideo-BL-9CiYe.js.map → PkToolShowVideo-YwSq8c2P.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-CHAuNe7p.js → PkToolShowWeather-DFNz0ZAW.js} +2 -2
- package/dist/_chunks/{PkToolShowWeather-CHAuNe7p.js.map → PkToolShowWeather-DFNz0ZAW.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-DQfODZdD.js → PkToolShowWebPages-DtZC0KHO.js} +4 -4
- package/dist/_chunks/{PkToolShowWebPages-DQfODZdD.js.map → PkToolShowWebPages-DtZC0KHO.js.map} +1 -1
- package/dist/_chunks/{VvButtonLocalized-C3bg4fNl.js → VvButtonLocalized-DfLLySHy.js} +2 -2
- package/dist/_chunks/{VvButtonLocalized-C3bg4fNl.js.map → VvButtonLocalized-DfLLySHy.js.map} +1 -1
- package/dist/_chunks/{VvCheckbox.es-D44kGZc-.js → VvCheckbox.es-CEwVNJz3.js} +2 -2
- package/dist/_chunks/{VvCheckbox.es-D44kGZc-.js.map → VvCheckbox.es-CEwVNJz3.js.map} +1 -1
- package/dist/_chunks/{VvCheckboxGroup.es-Da5Vuel0.js → VvCheckboxGroup.es-BC9At7ZZ.js} +2 -2
- package/dist/_chunks/{VvCheckboxGroup.es-Da5Vuel0.js.map → VvCheckboxGroup.es-BC9At7ZZ.js.map} +1 -1
- package/dist/_chunks/{VvCombobox.es-BJzmLeTh.js → VvCombobox.es-ZJ44baFa.js} +741 -705
- package/dist/_chunks/VvCombobox.es-ZJ44baFa.js.map +1 -0
- package/dist/_chunks/{VvInputText.es-CHcdm2K-.js → VvInputText.es-D1K-kOt5.js} +356 -320
- package/dist/_chunks/VvInputText.es-D1K-kOt5.js.map +1 -0
- package/dist/_chunks/{VvRadio.es-B3IskaN4.js → VvRadio.es-Bkn-qtRB.js} +2 -2
- package/dist/_chunks/{VvRadio.es-B3IskaN4.js.map → VvRadio.es-Bkn-qtRB.js.map} +1 -1
- package/dist/_chunks/{VvRadioGroup.es-CBivcD0v.js → VvRadioGroup.es-BtyqGx_o.js} +2 -2
- package/dist/_chunks/{VvRadioGroup.es-CBivcD0v.js.map → VvRadioGroup.es-BtyqGx_o.js.map} +1 -1
- package/dist/_chunks/{VvSelect.es-CAVvkyxB.js → VvSelect.es-CKHcpSZS.js} +2 -2
- package/dist/_chunks/{VvSelect.es-CAVvkyxB.js.map → VvSelect.es-CKHcpSZS.js.map} +1 -1
- package/dist/_chunks/{VvTextarea.es-CgvZOWO4.js → VvTextarea.es-Ewp88vJ2.js} +397 -361
- package/dist/_chunks/VvTextarea.es-Ewp88vJ2.js.map +1 -0
- package/dist/_chunks/{index.es-B9l77u9z.js → index.es-DHeth3Ja.js} +660 -624
- package/dist/_chunks/index.es-DHeth3Ja.js.map +1 -0
- package/dist/_chunks/{index.es-vCE-6U81.js → index.es-EKiTmBsm.js} +10 -10
- package/dist/_chunks/{index.es-vCE-6U81.js.map → index.es-EKiTmBsm.js.map} +1 -1
- package/dist/ai-elements.es.js +80 -80
- 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/PkChatbotFeedbackForm.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/_chunks/{PkChatbot-B2SwBImk.js → PkChatbot-CuCgECW2.js} +2 -2
- package/dist-vue/_chunks/{PkChatbot-B2SwBImk.js.map → PkChatbot-CuCgECW2.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotAuth-CIK2CFy-.js → PkChatbotAuth-Bx14Ld4t.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotAuth-CIK2CFy-.js.map → PkChatbotAuth-Bx14Ld4t.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-DmpoOuoW.js → PkChatbotFeedbackForm-Dwsln0GO.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotFeedbackForm-DmpoOuoW.js.map → PkChatbotFeedbackForm-Dwsln0GO.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-DY8r4UKe.js → PkChatbotMessages-CDDoxZAf.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotMessages-DY8r4UKe.js.map → PkChatbotMessages-CDDoxZAf.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-DPk9LjX-.js → PkChatbotViewChat-FtOpDmks.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewChat-DPk9LjX-.js.map → PkChatbotViewChat-FtOpDmks.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-DLJ2wTHk.js → PkFilePreview-B6PSJcvA.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreview-DLJ2wTHk.js.map → PkFilePreview-B6PSJcvA.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreviewDialog-CDPZ3QIk.js → PkFilePreviewDialog-3HJbVudc.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-CDPZ3QIk.js.map → PkFilePreviewDialog-3HJbVudc.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-DAdKUU4X.js → PkToolShowContactForm-Cg2TiqP1.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-DAdKUU4X.js.map → PkToolShowContactForm-Cg2TiqP1.js.map} +1 -1
- package/dist-vue/_chunks/{index.es-Snvt_nNd.js → index.es-B9iCRzfa.js} +2 -2
- package/dist-vue/_chunks/{index.es-Snvt_nNd.js.map → index.es-B9iCRzfa.js.map} +1 -1
- package/dist-vue/index.js +8 -8
- package/package.json +2 -2
- package/dist/_chunks/VvCombobox.es-BJzmLeTh.js.map +0 -1
- package/dist/_chunks/VvInputText.es-CHcdm2K-.js.map +0 -1
- package/dist/_chunks/VvTextarea.es-CgvZOWO4.js.map +0 -1
- package/dist/_chunks/index.es-B9l77u9z.js.map +0 -1
package/dist/ai-elements.es.js
CHANGED
|
@@ -4,20 +4,20 @@ import { $ as xe, A as Se, B as Ce, C as A, Ct as we, D as Te, Dt as Ee, E as De
|
|
|
4
4
|
import { n as pt, r as mt, t as ht } from "./_chunks/vue-i18n-CDYWo9pX.js";
|
|
5
5
|
import { i as gt, n as Z, r as _t } from "./_chunks/iconify-BsIVfdEw.js";
|
|
6
6
|
import { n as vt } from "./_chunks/src-QHwDXo7q.js";
|
|
7
|
-
import { t as yt } from "./_chunks/VvButtonLocalized-
|
|
7
|
+
import { t as yt } from "./_chunks/VvButtonLocalized-DfLLySHy.js";
|
|
8
8
|
import { C as bt, a as xt, d as St, h as Ct, l as wt, m as Tt, o as Et, s as Dt, v as Ot, y as kt } from "./_chunks/dist-CR8l0inH.js";
|
|
9
9
|
import { A as At, D as jt, E as Mt, F as Nt, J as Pt, K as Ft, M as It, N as Lt, O as Rt, P as zt, S as Bt, T as Vt, V as Ht, Y as Ut, _ as Wt, a as Gt, b as Kt, c as qt, d as Jt, et as Yt, g as Xt, h as Zt, i as Qt, j as $t, l as en, n as tn, o as nn, q as rn, r as an, s as on, u as sn, w as cn, x as ln } from "./_chunks/Agent-nB9V45mr.js";
|
|
10
|
-
import { a as un, i as dn, n as fn, t as pn } from "./_chunks/PkSelectionActions-
|
|
10
|
+
import { a as un, i as dn, n as fn, t as pn } from "./_chunks/PkSelectionActions-DDhbwE4U.js";
|
|
11
11
|
import { n as mn } from "./_chunks/markdown-aNRYL30G.js";
|
|
12
12
|
import { r as hn, t as gn } from "./_chunks/url-validation-CJV9pp4v.js";
|
|
13
|
-
import { c as _n, d as vn, f as yn, g as bn, h as xn, i as Sn,
|
|
14
|
-
import { i as jn, n as Mn, r as Nn, t as Pn } from "./_chunks/index.es-
|
|
13
|
+
import { c as _n, d as vn, f as yn, g as bn, h as xn, i as Sn, m as Cn, n as wn, o as Tn, p as En, r as Dn, s as On, t as kn, u as An } from "./_chunks/index.es-DHeth3Ja.js";
|
|
14
|
+
import { i as jn, n as Mn, r as Nn, t as Pn } from "./_chunks/index.es-EKiTmBsm.js";
|
|
15
15
|
import { $ as Fn, A as In, B as Ln, C as Rn, Ct as zn, D as Bn, E as Vn, F as Hn, H as Un, I as Wn, L as Gn, M as Kn, N as qn, O as Jn, P as Yn, Q as Xn, R as Zn, S as Qn, St as $n, T as er, V as tr, Z as nr, _ as rr, _t as ir, a as ar, at as or, b as sr, c as cr, ct as lr, d as ur, dt as dr, et as fr, f as pr, ft as mr, g as hr, gt as gr, ht as _r, i as vr, it as yr, j as br, k as xr, l as Sr, lt as Cr, mt as wr, n as Tr, nt as Er, ot as Dr, p as Or, pt as kr, r as Ar, rt as jr, st as Mr, t as Nr, tt as Pr, u as Fr, ut as Ir, vt as Lr, w as Rr, x as zr, xt as Br, y as Vr, yt as Hr } from "./_chunks/utils-CRy3kzE3.js";
|
|
16
16
|
import { t as Ur } from "./_chunks/useShortUrlResolver-DAVZE_by.js";
|
|
17
17
|
import { t as Wr } from "./_chunks/useImageFallback-DSKCe5aP.js";
|
|
18
18
|
import { t as Gr } from "./_chunks/_plugin-vue_export-helper-Djzt4Yr7.js";
|
|
19
19
|
import { n as Kr, r as qr, t as Jr } from "./_chunks/PkStreamingMarkdown-5WfFCjFv.js";
|
|
20
|
-
import { t as Yr } from "./_chunks/PkChatbotFilePreview-
|
|
20
|
+
import { t as Yr } from "./_chunks/PkChatbotFilePreview-CWzGSq-b.js";
|
|
21
21
|
import { n as Xr, t as Zr } from "./_chunks/useLightbox-C6u2eYRL.js";
|
|
22
22
|
import { i as Qr, r as $r, t as ei } from "./_chunks/Document-Dm5GM40t.js";
|
|
23
23
|
import { t as ti } from "./_chunks/chatImagePolicy-Cj5lkTVq.js";
|
|
@@ -5812,7 +5812,7 @@ async function Hi({ response: e }) {
|
|
|
5812
5812
|
return;
|
|
5813
5813
|
}
|
|
5814
5814
|
}
|
|
5815
|
-
// ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.
|
|
5815
|
+
// ../../node_modules/.pnpm/@volverjs+ui-vue@0.0.29_@json-render+core@0.19.0_zod@4.6.7__@volverjs+style@0.1.32_@vue_141a5f629ec2c5ee32df74e62e6bb55d/node_modules/@volverjs/ui-vue/dist/index.es.js
|
|
5816
5816
|
H();
|
|
5817
5817
|
var Ui = /* @__PURE__ */ RegExp("([\\p{Ll}\\d])(\\p{Lu})", "gu"), Wi = /* @__PURE__ */ RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])", "gu"), Gi = /* @__PURE__ */ RegExp("(\\d)\\p{Ll}|(\\p{L})\\d", "u"), Ki = /[^\p{L}\d]+/giu, qi = "$1\0$2", Ji = "";
|
|
5818
5818
|
function Yi(e) {
|
|
@@ -13215,7 +13215,7 @@ var Mm = R(!1), Nm = R(), Pm = R(), Fm = R(), Im = R(), Lm = R(!1), Rm = R(), zm
|
|
|
13215
13215
|
return {
|
|
13216
13216
|
PkGlobalDialog: K({
|
|
13217
13217
|
name: "PkGlobalDialog",
|
|
13218
|
-
render: () => Te(
|
|
13218
|
+
render: () => Te(_n, {
|
|
13219
13219
|
modelValue: Mm.value,
|
|
13220
13220
|
title: Nm.value,
|
|
13221
13221
|
transition: Pm.value,
|
|
@@ -13253,7 +13253,7 @@ var Vm = () => {
|
|
|
13253
13253
|
class: "text-14 text-word-3 mt-xs mb-sm",
|
|
13254
13254
|
style: "white-space: pre-line"
|
|
13255
13255
|
}, o) : void 0,
|
|
13256
|
-
c ? Te(
|
|
13256
|
+
c ? Te(Cn, {
|
|
13257
13257
|
modelValue: h.value,
|
|
13258
13258
|
"onUpdate:modelValue": (e) => {
|
|
13259
13259
|
h.value = e;
|
|
@@ -13266,15 +13266,15 @@ var Vm = () => {
|
|
|
13266
13266
|
hintLabel: u ?? t("hint.passphrase", { passphrase: c })
|
|
13267
13267
|
}) : void 0
|
|
13268
13268
|
]),
|
|
13269
|
-
footer: () => Te(
|
|
13269
|
+
footer: () => Te(En, () => {
|
|
13270
13270
|
let e = [];
|
|
13271
|
-
return s || e.push(Te(
|
|
13271
|
+
return s || e.push(Te(kn, {
|
|
13272
13272
|
label: i ?? t("action.cancel"),
|
|
13273
13273
|
modifiers: "ghost",
|
|
13274
13274
|
onClick: () => {
|
|
13275
13275
|
g.value = !1;
|
|
13276
13276
|
}
|
|
13277
|
-
})), e.push(Te(
|
|
13277
|
+
})), e.push(Te(kn, {
|
|
13278
13278
|
label: r ?? t("action.proceed"),
|
|
13279
13279
|
modifiers: f ? "danger" : void 0,
|
|
13280
13280
|
disabled: c ? c !== h.value : !1,
|
|
@@ -16707,7 +16707,7 @@ var gb = ["src"], _b = /*#__PURE__*/ Gr(/* @__PURE__ */ K({
|
|
|
16707
16707
|
setup(e) {
|
|
16708
16708
|
let t = e, { canShowImage: n, onImageError: r } = Wr(), i = z(() => n(t.imgSrc)), a = z(() => i.value ? "transparent" : t.modifiers), o = z(() => t.name ? t.name.split(/\s+/).filter((e) => /^[\p{L}\p{N}]/u.test(e)).slice(0, 2).map((e) => e.charAt(0).toUpperCase()).join("") : "");
|
|
16709
16709
|
return (t, n) => {
|
|
16710
|
-
let s =
|
|
16710
|
+
let s = Dn, c = Tn;
|
|
16711
16711
|
return X(), F(c, {
|
|
16712
16712
|
class: "pk-avatar",
|
|
16713
16713
|
"img-src": i.value ? e.imgSrc : void 0,
|
|
@@ -16849,7 +16849,7 @@ var Sb = /* @__PURE__ */ K({
|
|
|
16849
16849
|
}, { immediate: !0 }), je(() => {
|
|
16850
16850
|
b.value && clearTimeout(b.value);
|
|
16851
16851
|
}), (e, t) => {
|
|
16852
|
-
let n = yt, r =
|
|
16852
|
+
let n = yt, r = xn;
|
|
16853
16853
|
return X(), F(r, {
|
|
16854
16854
|
modifiers: q(g) ? "warning" : "danger",
|
|
16855
16855
|
class: "rounded-lg"
|
|
@@ -16895,7 +16895,7 @@ var Cb = { class: "border border-surface-3 rounded-xl w-full overflow-hidden bg-
|
|
|
16895
16895
|
r("submit", e.comment);
|
|
16896
16896
|
};
|
|
16897
16897
|
return (t, r) => {
|
|
16898
|
-
let i =
|
|
16898
|
+
let i = Dn, l = yt, u = xn, d = En;
|
|
16899
16899
|
return X(), Y("div", Cb, [L("div", wb, [
|
|
16900
16900
|
M(i, {
|
|
16901
16901
|
name: "ri:feedback-line",
|
|
@@ -16992,7 +16992,7 @@ var Pb = { class: "pk-message-feedback__badge" }, Fb = {
|
|
|
16992
16992
|
}
|
|
16993
16993
|
});
|
|
16994
16994
|
return (t, a) => {
|
|
16995
|
-
let o =
|
|
16995
|
+
let o = Dn;
|
|
16996
16996
|
return X(), Y("div", { class: Oe(["pk-message-feedback", r.value]) }, [L("span", Pb, [n.value ? (X(), Y("span", Fb, V(n.value), 1)) : (X(), F(o, {
|
|
16997
16997
|
key: 1,
|
|
16998
16998
|
name: i.value
|
|
@@ -17035,7 +17035,7 @@ var Rb = { class: "pk-chatbot-audio" }, zb = ["src"], Bb = {
|
|
|
17035
17035
|
}
|
|
17036
17036
|
});
|
|
17037
17037
|
return (t, s) => {
|
|
17038
|
-
let c =
|
|
17038
|
+
let c = Dn;
|
|
17039
17039
|
return X(), Y("div", Rb, [L("audio", {
|
|
17040
17040
|
class: "pk-chatbot-audio__player",
|
|
17041
17041
|
src: e.url,
|
|
@@ -17120,27 +17120,27 @@ var Zb = ["datetime"], Qb = 6e4, $b = /* @__PURE__ */ K({
|
|
|
17120
17120
|
// ../../packages/components/src/chat/toolComponentMap.ts
|
|
17121
17121
|
B();
|
|
17122
17122
|
var ex = {
|
|
17123
|
-
requestOAuthConnection: A(() => import("./_chunks/PkToolRequestOAuthConnection-
|
|
17124
|
-
shareDocument: A(() => import("./_chunks/PkToolShareDocument-
|
|
17125
|
-
showArtifact: A(() => import("./_chunks/PkToolShowArtifact-
|
|
17126
|
-
showCalendarEvent: A(() => import("./_chunks/PkToolShowCalendarEvent-
|
|
17127
|
-
showChart: A(() => import("./_chunks/PkToolShowChart-
|
|
17128
|
-
showComparison: A(() => import("./_chunks/PkToolShowComparison-
|
|
17129
|
-
showContactForm: A(() => import("./_chunks/PkToolShowContactForm-
|
|
17130
|
-
showDiagram: A(() => import("./_chunks/PkToolShowDiagram-
|
|
17131
|
-
showEmail: A(() => import("./_chunks/PkToolShowEmail-
|
|
17132
|
-
showImageGallery: A(() => import("./_chunks/PkToolShowImageGallery-
|
|
17133
|
-
showLocation: A(() => import("./_chunks/PkToolShowLocation-
|
|
17134
|
-
showMessage: A(() => import("./_chunks/PkToolShowMessage-
|
|
17135
|
-
showForm: A(() => import("./_chunks/PkToolShowForm-
|
|
17136
|
-
showMultipleChoice: A(() => import("./_chunks/PkToolShowForm-
|
|
17137
|
-
showProductList: A(() => import("./_chunks/PkToolShowProductList-
|
|
17138
|
-
showQrCode: A(() => import("./_chunks/PkToolShowQrCode-
|
|
17139
|
-
showSources: A(() => import("./_chunks/PkToolShowSources-
|
|
17140
|
-
showSuggestedReply: A(() => import("./_chunks/PkToolShowSuggestedReply-
|
|
17141
|
-
showVideo: A(() => import("./_chunks/PkToolShowVideo-
|
|
17142
|
-
showWeather: A(() => import("./_chunks/PkToolShowWeather-
|
|
17143
|
-
showWebPages: A(() => import("./_chunks/PkToolShowWebPages-
|
|
17123
|
+
requestOAuthConnection: A(() => import("./_chunks/PkToolRequestOAuthConnection-_01ct5du.js")),
|
|
17124
|
+
shareDocument: A(() => import("./_chunks/PkToolShareDocument-Vpv1an0N.js")),
|
|
17125
|
+
showArtifact: A(() => import("./_chunks/PkToolShowArtifact-C28dOM5W.js")),
|
|
17126
|
+
showCalendarEvent: A(() => import("./_chunks/PkToolShowCalendarEvent-Cee5xnJM.js")),
|
|
17127
|
+
showChart: A(() => import("./_chunks/PkToolShowChart-kgCDHWEf.js")),
|
|
17128
|
+
showComparison: A(() => import("./_chunks/PkToolShowComparison-cXfmgJ1H.js")),
|
|
17129
|
+
showContactForm: A(() => import("./_chunks/PkToolShowContactForm-D06qrkHm.js")),
|
|
17130
|
+
showDiagram: A(() => import("./_chunks/PkToolShowDiagram-B2NX-FOw.js")),
|
|
17131
|
+
showEmail: A(() => import("./_chunks/PkToolShowEmail-D-JnkL9A.js")),
|
|
17132
|
+
showImageGallery: A(() => import("./_chunks/PkToolShowImageGallery-Dm2UEfWl.js")),
|
|
17133
|
+
showLocation: A(() => import("./_chunks/PkToolShowLocation-McS9sMWJ.js")),
|
|
17134
|
+
showMessage: A(() => import("./_chunks/PkToolShowMessage-C3jjCRB3.js")),
|
|
17135
|
+
showForm: A(() => import("./_chunks/PkToolShowForm-qj_f9Z5D.js")),
|
|
17136
|
+
showMultipleChoice: A(() => import("./_chunks/PkToolShowForm-qj_f9Z5D.js")),
|
|
17137
|
+
showProductList: A(() => import("./_chunks/PkToolShowProductList-DorHQJMd.js")),
|
|
17138
|
+
showQrCode: A(() => import("./_chunks/PkToolShowQrCode-CIwiAzOS.js")),
|
|
17139
|
+
showSources: A(() => import("./_chunks/PkToolShowSources-BMJeacz7.js")),
|
|
17140
|
+
showSuggestedReply: A(() => import("./_chunks/PkToolShowSuggestedReply-DBfeOl05.js")),
|
|
17141
|
+
showVideo: A(() => import("./_chunks/PkToolShowVideo-YwSq8c2P.js")),
|
|
17142
|
+
showWeather: A(() => import("./_chunks/PkToolShowWeather-DFNz0ZAW.js")),
|
|
17143
|
+
showWebPages: A(() => import("./_chunks/PkToolShowWebPages-DtZC0KHO.js"))
|
|
17144
17144
|
};
|
|
17145
17145
|
// ../../packages/components/src/chat/PkToolApprovalPreviewMessage.vue?vue&type=script&setup=true&lang.ts
|
|
17146
17146
|
B(), P();
|
|
@@ -17190,7 +17190,7 @@ var ix = {
|
|
|
17190
17190
|
};
|
|
17191
17191
|
}), _ = z(() => !!g.value && !m.value);
|
|
17192
17192
|
return (t, n) => {
|
|
17193
|
-
let a = yt, s =
|
|
17193
|
+
let a = yt, s = En, d = Dn;
|
|
17194
17194
|
return X(), Y("div", { class: Oe(["w-full overflow-hidden transition-all duration-300", { "bg-surface p-sm rounded-xl border border-surface-3": !_.value }]) }, [
|
|
17195
17195
|
M(U, null, {
|
|
17196
17196
|
default: W(() => [!c.value && l.value ? (X(), Y("p", ix, V(h.value), 1)) : G("", !0)]),
|
|
@@ -17276,7 +17276,7 @@ var gx = { class: "pk-host-call-confirm-card w-full bg-surface p-sm rounded-xl b
|
|
|
17276
17276
|
setup(e, { emit: t }) {
|
|
17277
17277
|
let n = e, r = t, i = z(() => n.details?.some((e) => e.before !== void 0) ?? !1);
|
|
17278
17278
|
return (t, n) => {
|
|
17279
|
-
let a =
|
|
17279
|
+
let a = wn, o = yt, s = En;
|
|
17280
17280
|
return X(), Y("div", gx, [
|
|
17281
17281
|
L("p", _x, V(e.question), 1),
|
|
17282
17282
|
e.details?.length && i.value ? (X(), F(hx, {
|
|
@@ -17401,7 +17401,7 @@ var Dx = {
|
|
|
17401
17401
|
u.has(e) ? u.delete(e) : u.add(e);
|
|
17402
17402
|
};
|
|
17403
17403
|
return (t, n) => {
|
|
17404
|
-
let r =
|
|
17404
|
+
let r = Dn;
|
|
17405
17405
|
return o.value || s.value ? (X(), Y("div", Dx, [L("button", {
|
|
17406
17406
|
type: "button",
|
|
17407
17407
|
class: "pk-chatbot-step-payload__header",
|
|
@@ -17624,7 +17624,7 @@ var Rx = { class: "pk-chatbot-step-detail" }, zx = {
|
|
|
17624
17624
|
x.has(e) ? x.delete(e) : x.add(e);
|
|
17625
17625
|
};
|
|
17626
17626
|
return (e, t) => {
|
|
17627
|
-
let r =
|
|
17627
|
+
let r = Dn;
|
|
17628
17628
|
return X(), Y("div", Rx, [
|
|
17629
17629
|
b.value.chips?.length ? (X(), Y("ul", zx, [(X(!0), Y(I, null, Be(b.value.chips, (e, t) => (X(), Y("li", {
|
|
17630
17630
|
key: `${t}-${e}`,
|
|
@@ -17753,7 +17753,7 @@ var iS = {
|
|
|
17753
17753
|
u.set(e.key, !d(e));
|
|
17754
17754
|
}, p = R(void 0), m = z(() => p.value ?? (!!t.isStreaming && !t.hasContent));
|
|
17755
17755
|
return (t, r) => {
|
|
17756
|
-
let i =
|
|
17756
|
+
let i = Dn;
|
|
17757
17757
|
return s.value.length ? (X(), Y("div", iS, [L("button", {
|
|
17758
17758
|
type: "button",
|
|
17759
17759
|
class: "pk-chatbot-steps__header",
|
|
@@ -17849,7 +17849,7 @@ var _S = { class: "pk-chatbot-task-run-menu" }, vS = /* @__PURE__ */ K({
|
|
|
17849
17849
|
setup(e, { emit: t }) {
|
|
17850
17850
|
let n = t;
|
|
17851
17851
|
return (t, r) => {
|
|
17852
|
-
let i = yt, a =
|
|
17852
|
+
let i = yt, a = Dn, o = bn, s = On;
|
|
17853
17853
|
return X(), Y("span", _S, [M(s, Ee(De({
|
|
17854
17854
|
placement: "top-end",
|
|
17855
17855
|
modifiers: "menu",
|
|
@@ -18298,7 +18298,7 @@ var kS = ["aria-busy"], AS = {
|
|
|
18298
18298
|
block: "center"
|
|
18299
18299
|
}));
|
|
18300
18300
|
}), (t, n) => {
|
|
18301
|
-
let l =
|
|
18301
|
+
let l = Dn, g = wn, _ = yt, C = En;
|
|
18302
18302
|
return X(), Y("div", {
|
|
18303
18303
|
ref_key: "scrollEl",
|
|
18304
18304
|
ref: p,
|
|
@@ -18941,7 +18941,7 @@ var wC = ["type"], TC = {
|
|
|
18941
18941
|
},
|
|
18942
18942
|
setup(e) {
|
|
18943
18943
|
return (t, n) => {
|
|
18944
|
-
let r =
|
|
18944
|
+
let r = Dn;
|
|
18945
18945
|
return X(), Y("button", {
|
|
18946
18946
|
class: Oe(["pk-chat-button", [e.modifiers ? `pk-chat-button--${e.modifiers}` : void 0, { "pk-chat-button--labelled": e.label }]]),
|
|
18947
18947
|
type: e.type
|
|
@@ -19113,7 +19113,7 @@ var zC = { class: "pk-chatbot-input" }, BC = {
|
|
|
19113
19113
|
"manual-confirmations"
|
|
19114
19114
|
], ["update:modelValue", "update:pendingAttachments"]),
|
|
19115
19115
|
setup(e, { expose: t, emit: n }) {
|
|
19116
|
-
let r = A(() => import("./_chunks/PkImageEditorDialog-
|
|
19116
|
+
let r = A(() => import("./_chunks/PkImageEditorDialog-5Px7Y_8G.js")), i = Me(e, "modelValue"), a = Me(e, "pendingAttachments"), o = n, s = e, { t: c } = mt({ useScope: "global" }), l = He("textareaEl"), u = He("fileInputEl"), d = He("cameraInputEl"), f = He("formEl"), p = R(i.value ?? ""), m = null, h = () => {
|
|
19117
19117
|
m !== null && (clearTimeout(m), m = null);
|
|
19118
19118
|
}, g = () => {
|
|
19119
19119
|
h(), i.value = p.value;
|
|
@@ -19234,7 +19234,7 @@ var zC = { class: "pk-chatbot-input" }, BC = {
|
|
|
19234
19234
|
O.value = void 0, ye.value = e, be.value = !1;
|
|
19235
19235
|
}
|
|
19236
19236
|
}), (t, n) => {
|
|
19237
|
-
let i =
|
|
19237
|
+
let i = Dn, s = yt, m = bn, h = On;
|
|
19238
19238
|
return X(), Y("div", zC, [
|
|
19239
19239
|
Pe.value.length ? (X(), Y("div", BC, [(X(!0), Y(I, null, Be(Pe.value, (e) => (X(), Y("div", {
|
|
19240
19240
|
key: e.id,
|
|
@@ -19509,7 +19509,7 @@ var rw = ["aria-label"], iw = { class: "pk-chatbot-queued__label" }, aw = { clas
|
|
|
19509
19509
|
setup(e, { emit: t }) {
|
|
19510
19510
|
let n = t;
|
|
19511
19511
|
return (t, r) => {
|
|
19512
|
-
let i = yt, a =
|
|
19512
|
+
let i = yt, a = En;
|
|
19513
19513
|
return X(), Y("ol", {
|
|
19514
19514
|
class: "pk-chatbot-queued",
|
|
19515
19515
|
"aria-label": t.$t("label.queuedMessages")
|
|
@@ -19670,7 +19670,7 @@ var pw = {
|
|
|
19670
19670
|
if (c.value) return n.state === "speaking" ? "speaking" : n.muted ? void 0 : "listening";
|
|
19671
19671
|
});
|
|
19672
19672
|
return (t, n) => {
|
|
19673
|
-
let u =
|
|
19673
|
+
let u = Dn;
|
|
19674
19674
|
return X(), Y("div", { class: Oe(["pk-voice-session", { "pk-voice-session--failed": !!e.error }]) }, [
|
|
19675
19675
|
e.error ? (X(), Y("span", pw, [M(u, { name: "ri:error-warning-line" })])) : (X(), F(fw, {
|
|
19676
19676
|
key: 1,
|
|
@@ -19854,7 +19854,7 @@ var Sw = {
|
|
|
19854
19854
|
}) : i("scheduledTask.bar.allPaused");
|
|
19855
19855
|
});
|
|
19856
19856
|
return (t, n) => {
|
|
19857
|
-
let a =
|
|
19857
|
+
let a = Dn, o = yt, s = yn;
|
|
19858
19858
|
return X(), Y("div", Sw, [rt(L("div", {
|
|
19859
19859
|
id: q(f),
|
|
19860
19860
|
class: "pk-chatbot-wakeup-bar__list"
|
|
@@ -20852,7 +20852,7 @@ var nT = ["aria-busy"], rT = { class: "pk-chat-task-dialog__when" }, iT = {
|
|
|
20852
20852
|
}
|
|
20853
20853
|
}
|
|
20854
20854
|
return (e, t) => {
|
|
20855
|
-
let n =
|
|
20855
|
+
let n = xn, o = Cn, s = An, c = Sn, m = vn, C = Dn, w = yt, T = En, ne = _n;
|
|
20856
20856
|
return X(), F(ne, {
|
|
20857
20857
|
modelValue: r.value,
|
|
20858
20858
|
"onUpdate:modelValue": t[9] ||= (e) => r.value = e,
|
|
@@ -21124,7 +21124,7 @@ var uT = /*#__PURE__*/ Gr(/* @__PURE__ */ K({
|
|
|
21124
21124
|
setup(e) {
|
|
21125
21125
|
let t = e, n = z(() => t.icon ? t.icon : t.level === "warning" ? "ri:alert-line" : "ri:information-line");
|
|
21126
21126
|
return (t, r) => {
|
|
21127
|
-
let i =
|
|
21127
|
+
let i = Dn;
|
|
21128
21128
|
return X(), Y("div", { class: Oe(["pk-infobox", `pk-infobox--${e.level}`]) }, [M(i, { name: n.value }, null, 8, ["name"]), Ae(t.$slots, "default")], 2);
|
|
21129
21129
|
};
|
|
21130
21130
|
}
|
|
@@ -21157,7 +21157,7 @@ var dT = ["aria-label"], fT = { class: "pk-chatbot-local-folders__list" }, pT =
|
|
|
21157
21157
|
t.files?.length && r("connectFiles", [...t.files]), t.value = "";
|
|
21158
21158
|
};
|
|
21159
21159
|
return (t, n) => {
|
|
21160
|
-
let l =
|
|
21160
|
+
let l = Dn, u = yt, d = En, f = _n;
|
|
21161
21161
|
return X(), Y("div", {
|
|
21162
21162
|
class: "pk-chatbot-local-folders",
|
|
21163
21163
|
role: "group",
|
|
@@ -21529,7 +21529,7 @@ var kT = { class: "pk-chatbot-view-chat__input-stage" }, AT = {
|
|
|
21529
21529
|
"selection-action"
|
|
21530
21530
|
],
|
|
21531
21531
|
setup(e, { emit: t }) {
|
|
21532
|
-
let n = A(() => import("./_chunks/PkToolShowForm-
|
|
21532
|
+
let n = A(() => import("./_chunks/PkToolShowForm-qj_f9Z5D.js")), r = A(() => import("./_chunks/PkToolShowContactForm-D06qrkHm.js")), i = A(() => import("./_chunks/PkToolShowSuggestedReply-DBfeOl05.js")), a = A(() => import("./_chunks/PkToolShowSources-BMJeacz7.js")), o = A(() => import("./_chunks/PkToolRequestGeolocation-BeFZQQxz.js")), s = A(() => import("./_chunks/PkToolRequestOAuthConnection-_01ct5du.js")), c = A(() => import("./_chunks/PkToolShowLocation-McS9sMWJ.js")), l = A(() => import("./_chunks/PkToolShowChart-kgCDHWEf.js")), u = A(() => import("./_chunks/PkToolShowDiagram-B2NX-FOw.js")), d = A(() => import("./_chunks/PkToolChatFile-fTo6gdqx.js")), f = A(() => import("./_chunks/PkToolShareDocument-Vpv1an0N.js")), p = A(() => import("./_chunks/PkFilePreview-BaJet5cw.js").then((e) => e.n)), m = A(() => import("./_chunks/PkFilePreviewDialog-Cq8DGCD1.js")), h = e, g = t, _ = Am(h.agentId), { isReadOnlyChat: v, chatProjectId: y, agentInterface: b, agentFileUpload: x, agentType: S, agentVoice: C, actions: w, revisedAnswers: T, messages: ee, chat: te, messageFeedbacks: ne, feedbackDialogMessage: re, isFeedbackSubmitting: ie, isFeedbackSubmitted: ae, feedbackSubmitError: E, isLeadSubmitted: oe, isLoadingSubmitLead: se, submitLeadError: ce, input: le, inputMessagePlaceholder: D, isConversationBlocked: ue, baseUrl: de, pendingAttachments: fe, isAttachmentLimitReached: pe, fileLimitError: me, apiClient: he, isDark: ge, hostToolsPending: _e, pageNoticeLevel: O, hostConfirmation: ve, agentPageAccess: ye, localFolders: be, localFoldersAvailable: k, localFolderPickerAvailable: xe, canConnectLocalFolder: Se, refusedLocalFolder: we, hostStepTitles: Te, hostStepChanges: Ee, confirmationMode: De, canQueue: ke, queuedMessages: Ae, backgroundAnswers: Me, inputFocusRequest: Ne, pagePointer: Pe, pagePointerAvailable: Fe, pagePointing: Ie, agentSelectionActions: Le } = Pi(_);
|
|
21533
21533
|
Ce(Ar, Te), Ce(Tr, Ee);
|
|
21534
21534
|
let Re = He("inputEl");
|
|
21535
21535
|
j(Ne, () => {
|
|
@@ -21665,11 +21665,11 @@ var kT = { class: "pk-chatbot-view-chat__input-stage" }, AT = {
|
|
|
21665
21665
|
xn = !1;
|
|
21666
21666
|
}
|
|
21667
21667
|
if (mn) return;
|
|
21668
|
-
if (e === "caught-up" && (hn.value = !1, or()),
|
|
21668
|
+
if (e === "caught-up" && (hn.value = !1, or()), On.isActive.value) {
|
|
21669
21669
|
vn = void 0, yn = !1, bn = 0, Cn(LT);
|
|
21670
21670
|
return;
|
|
21671
21671
|
}
|
|
21672
|
-
vn === void 0 && (vn = Date.now(), yn = !!
|
|
21672
|
+
vn === void 0 && (vn = Date.now(), yn = !!On.error.value);
|
|
21673
21673
|
let t = Date.now() - vn;
|
|
21674
21674
|
if (e === "caught-up" && t >= (yn ? zT : RT) || t >= BT) {
|
|
21675
21675
|
Sn(), cr();
|
|
@@ -21680,7 +21680,7 @@ var kT = { class: "pk-chatbot-view-chat__input-stage" }, AT = {
|
|
|
21680
21680
|
}
|
|
21681
21681
|
let Tn = (e = 1200) => {
|
|
21682
21682
|
Cn(e);
|
|
21683
|
-
}, En,
|
|
21683
|
+
}, En, On = _T({
|
|
21684
21684
|
fetchGrant: async () => {
|
|
21685
21685
|
En = _.voicePageTools();
|
|
21686
21686
|
let e = await he.value.createVoiceSession(h.agentId, _.localChatId, {
|
|
@@ -21707,23 +21707,23 @@ var kT = { class: "pk-chatbot-view-chat__input-stage" }, AT = {
|
|
|
21707
21707
|
Tn();
|
|
21708
21708
|
}
|
|
21709
21709
|
});
|
|
21710
|
-
j(() =>
|
|
21710
|
+
j(() => On.isActive.value, (e) => {
|
|
21711
21711
|
e || _.cancelVoicePageCalls();
|
|
21712
|
-
}), j(() =>
|
|
21712
|
+
}), j(() => On.error.value, (e) => {
|
|
21713
21713
|
e && (hn.value = !1);
|
|
21714
21714
|
});
|
|
21715
|
-
let kn = z(() => C.value?.enabled === !0), An = z(() =>
|
|
21716
|
-
let e =
|
|
21715
|
+
let kn = z(() => C.value?.enabled === !0), An = z(() => On.error.value ? "error" : On.isConnecting.value ? "connecting" : On.isSpeaking.value ? "speaking" : On.isActive.value ? "listening" : "idle"), jn = z(() => {
|
|
21716
|
+
let e = On.error.value;
|
|
21717
21717
|
if (e) return /took too long/i.test(e) ? J("message.voiceTookTooLong") : /cascade|no response|custom_llm_error/i.test(e) ? J("message.voiceNoAnswer") : J("message.voiceInterrupted");
|
|
21718
|
-
}), Nn = z(() =>
|
|
21719
|
-
pn.value = !1, await
|
|
21718
|
+
}), Nn = z(() => On.isSpeaking.value ? "output" : "input"), Pn = () => On.readLevel(Nn.value), Fn = () => On.readSpectrum(Nn.value), In = async () => {
|
|
21719
|
+
pn.value = !1, await On.start(), On.isActive.value && (Sn(), Cn(LT));
|
|
21720
21720
|
}, Ln = async () => {
|
|
21721
|
-
hn.value = !1, await
|
|
21721
|
+
hn.value = !1, await On.stop(), mn || Tn(0);
|
|
21722
21722
|
}, Rn = () => {
|
|
21723
|
-
|
|
21723
|
+
On.dismissError();
|
|
21724
21724
|
}, zn = async () => {
|
|
21725
|
-
|
|
21726
|
-
}, Bn = (e) => e?.toolCallId ?? "", Vn = R(/* @__PURE__ */ new Set()), Hn = (e) => Vn.value.has(Bn(e)), Un = R(/* @__PURE__ */ new Map()), Wn = (e, t) =>
|
|
21725
|
+
On.dismissError(), await On.stop(), await In();
|
|
21726
|
+
}, Bn = (e) => e?.toolCallId ?? "", Vn = R(/* @__PURE__ */ new Set()), Hn = (e) => Vn.value.has(Bn(e)), Un = R(/* @__PURE__ */ new Map()), Wn = (e, t) => On.isActive.value ? (On.sendUserMessage(t) && (Vn.value = new Set(Vn.value).add(Bn(e)), Tn()), !0) : !1, Gn = (e, t, n) => {
|
|
21727
21727
|
Wn(t, Or(t, n)) || Ze({
|
|
21728
21728
|
tool: e,
|
|
21729
21729
|
toolCallId: Bn(t),
|
|
@@ -21781,7 +21781,7 @@ var kT = { class: "pk-chatbot-view-chat__input-stage" }, AT = {
|
|
|
21781
21781
|
}
|
|
21782
21782
|
});
|
|
21783
21783
|
}, $n = () => {
|
|
21784
|
-
pn.value = !pn.value,
|
|
21784
|
+
pn.value = !pn.value, On.setMuted(pn.value);
|
|
21785
21785
|
};
|
|
21786
21786
|
je(() => {
|
|
21787
21787
|
mn = !0, Sn();
|
|
@@ -21811,7 +21811,7 @@ var kT = { class: "pk-chatbot-view-chat__input-stage" }, AT = {
|
|
|
21811
21811
|
lr.notice ? lr.notice = void 0 : nt();
|
|
21812
21812
|
}
|
|
21813
21813
|
return (t, x) => {
|
|
21814
|
-
let S =
|
|
21814
|
+
let S = Dn, C = yt;
|
|
21815
21815
|
return X(), Y("div", {
|
|
21816
21816
|
ref_key: "chatViewEl",
|
|
21817
21817
|
ref: Dt,
|
|
@@ -21951,7 +21951,7 @@ var kT = { class: "pk-chatbot-view-chat__input-stage" }, AT = {
|
|
|
21951
21951
|
])]),
|
|
21952
21952
|
"tool-requestGeolocation": W(({ part: e }) => [M(q(o), {
|
|
21953
21953
|
part: e,
|
|
21954
|
-
"call-live": q(
|
|
21954
|
+
"call-live": q(On).isActive.value,
|
|
21955
21955
|
"reverse-geocode": (e, t) => q(he).reverseGeocode(e, t),
|
|
21956
21956
|
onResult: (t) => Zn(e, t)
|
|
21957
21957
|
}, null, 8, [
|
|
@@ -22177,11 +22177,11 @@ var kT = { class: "pk-chatbot-view-chat__input-stage" }, AT = {
|
|
|
22177
22177
|
state: An.value,
|
|
22178
22178
|
sample: Pn,
|
|
22179
22179
|
spectrum: Fn,
|
|
22180
|
-
"remaining-seconds": q(
|
|
22180
|
+
"remaining-seconds": q(On).remainingSeconds.value,
|
|
22181
22181
|
muted: pn.value,
|
|
22182
22182
|
error: jn.value,
|
|
22183
|
-
"raw-error": q(
|
|
22184
|
-
live: q(
|
|
22183
|
+
"raw-error": q(On).error.value,
|
|
22184
|
+
live: q(On).isActive.value,
|
|
22185
22185
|
class: "pk-chatbot-view-chat__voice",
|
|
22186
22186
|
onToggleMute: $n,
|
|
22187
22187
|
onHangUp: Ln,
|
|
@@ -22336,7 +22336,7 @@ var HT = { class: "flex flex-col flex-1 min-h-0 relative" }, UT = {
|
|
|
22336
22336
|
m(e, x(e.messages, "assistant"));
|
|
22337
22337
|
};
|
|
22338
22338
|
return (e, t) => {
|
|
22339
|
-
let r =
|
|
22339
|
+
let r = Dn, o = yt, c = Cn, u = En, d = bn, m = On;
|
|
22340
22340
|
return X(), Y("div", HT, [q(a) && q(i).length === 0 ? (X(), Y("div", UT, [L("div", WT, [(X(), Y(I, null, Be(5, (e) => L("div", {
|
|
22341
22341
|
key: e,
|
|
22342
22342
|
class: "vv-item vv-item--roomy vv-item--plain"
|
|
@@ -22467,7 +22467,7 @@ var lE = { class: "flex flex-col flex-1 min-h-0 relative" }, uE = {
|
|
|
22467
22467
|
}
|
|
22468
22468
|
};
|
|
22469
22469
|
return (e, t) => {
|
|
22470
|
-
let r =
|
|
22470
|
+
let r = Dn, i = yt;
|
|
22471
22471
|
return X(), Y("div", lE, [q(o) && q(a).length === 0 ? (X(), Y("div", uE, [L("div", dE, [(X(), Y(I, null, Be(4, (e) => L("div", {
|
|
22472
22472
|
key: e,
|
|
22473
22473
|
class: "vv-item vv-item--roomy vv-item--plain"
|
|
@@ -22543,7 +22543,7 @@ var DE = { class: "flex flex-col flex-1 min-h-0 overflow-y-auto" }, OE = { class
|
|
|
22543
22543
|
}
|
|
22544
22544
|
}
|
|
22545
22545
|
return (e, t) => {
|
|
22546
|
-
let a =
|
|
22546
|
+
let a = xn, p = Dn, m = yt;
|
|
22547
22547
|
return X(), Y("div", DE, [
|
|
22548
22548
|
L("div", OE, [M(_b, {
|
|
22549
22549
|
class: "w-64 h-64",
|
|
@@ -22703,7 +22703,7 @@ var BE = { class: "pk-chatbot__header-start" }, VE = ["title"], HE = { key: 1 },
|
|
|
22703
22703
|
deep: !0,
|
|
22704
22704
|
immediate: !0
|
|
22705
22705
|
}), (t, n) => {
|
|
22706
|
-
let a = yt, s =
|
|
22706
|
+
let a = yt, s = Dn, c = bn, l = On, u = En, p = xn;
|
|
22707
22707
|
return X(), Y("div", {
|
|
22708
22708
|
ref_key: "chatbotEl",
|
|
22709
22709
|
ref: D,
|
|
@@ -22964,7 +22964,7 @@ var $E = { class: "pk-page-pointer" }, eD = {
|
|
|
22964
22964
|
left: i(n.bubble.left)
|
|
22965
22965
|
} : void 0);
|
|
22966
22966
|
return (t, n) => {
|
|
22967
|
-
let i =
|
|
22967
|
+
let i = Dn;
|
|
22968
22968
|
return X(), Y("div", $E, [
|
|
22969
22969
|
e.picking ? (X(), Y("div", {
|
|
22970
22970
|
key: 0,
|
|
@@ -23094,7 +23094,7 @@ var rD = { class: "pk-selection-answer__header" }, iD = { class: "pk-selection-a
|
|
|
23094
23094
|
return Ne(() => {
|
|
23095
23095
|
window.addEventListener("keydown", g), r.takeFocus && f.value?.focus();
|
|
23096
23096
|
}), je(() => window.removeEventListener("keydown", g)), (t, n) => {
|
|
23097
|
-
let r = yt, a =
|
|
23097
|
+
let r = yt, a = Dn;
|
|
23098
23098
|
return X(), Y("section", {
|
|
23099
23099
|
ref_key: "cardEl",
|
|
23100
23100
|
ref: f,
|
|
@@ -23610,7 +23610,7 @@ var eO = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-f
|
|
|
23610
23610
|
});
|
|
23611
23611
|
}
|
|
23612
23612
|
return (t, r) => {
|
|
23613
|
-
let l =
|
|
23613
|
+
let l = Dn, f = yt, m = xn, h = En;
|
|
23614
23614
|
return X(), Y("div", eO, [L("div", tO, [M(U, {
|
|
23615
23615
|
name: "pk-flip",
|
|
23616
23616
|
mode: "out-in",
|