@8wave/ai-elements 0.121.0-beta.16 → 0.121.0-beta.17
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/README.md +125 -54
- package/dist/_chunks/{Agent-7rbrjWzu.js → Agent-wt8Vi99H.js} +7 -5
- package/dist/_chunks/Agent-wt8Vi99H.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown-BnClGp-3.js → PkStreamingMarkdown-Br7Z60Vm.js} +787 -777
- package/dist/_chunks/PkStreamingMarkdown-Br7Z60Vm.js.map +1 -0
- package/dist/_chunks/{PkToolEditSpreadsheet-D4M6BUKx.js → PkToolEditSpreadsheet-Di9czFTy.js} +2 -2
- package/dist/_chunks/{PkToolEditSpreadsheet-D4M6BUKx.js.map → PkToolEditSpreadsheet-Di9czFTy.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-DmOoFghZ.js → PkToolRequestGeolocation-dUTqHsV-.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-DmOoFghZ.js.map → PkToolRequestGeolocation-dUTqHsV-.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-DV0sfojC.js → PkToolRequestOAuthConnection-cNDld72U.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-DV0sfojC.js.map → PkToolRequestOAuthConnection-cNDld72U.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-V0a8zhdO.js → PkToolShowArtifact-DtstlRsL.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-V0a8zhdO.js.map → PkToolShowArtifact-DtstlRsL.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-sLhBxf9e.js → PkToolShowContactForm-BKaKlYGJ.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-sLhBxf9e.js.map → PkToolShowContactForm-BKaKlYGJ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-Dl2k9jqk.js → PkToolShowForm-OxANKx0g.js} +3 -3
- package/dist/_chunks/{PkToolShowForm-Dl2k9jqk.js.map → PkToolShowForm-OxANKx0g.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-CTsq_DPb.js → PkToolShowImageGallery-DRePOmUx.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-CTsq_DPb.js.map → PkToolShowImageGallery-DRePOmUx.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-CpdKWQkP.js → PkToolShowProductList-Y9HR_RJ4.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-CpdKWQkP.js.map → PkToolShowProductList-Y9HR_RJ4.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-WFm2JF0r.js → PkToolShowSources-BQnaaL2a.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-WFm2JF0r.js.map → PkToolShowSources-BQnaaL2a.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-RcL_3RAz.js → PkToolShowSuggestedReply-ghiXQuDz.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-RcL_3RAz.js.map → PkToolShowSuggestedReply-ghiXQuDz.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-Ua5heyl1.js → PkToolShowVideo-BcNWgJD7.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-Ua5heyl1.js.map → PkToolShowVideo-BcNWgJD7.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-STOCnsKm.js → PkToolShowWebPages-Ba6DkV0V.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-STOCnsKm.js.map → PkToolShowWebPages-Ba6DkV0V.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-C8X_GMnS.js → chatImagePolicy-P0TZW1on.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-C8X_GMnS.js.map → chatImagePolicy-P0TZW1on.js.map} +1 -1
- package/dist/_chunks/{markdown-EqEd3eyd.js → markdown-DLplFIBU.js} +2 -2
- package/dist/_chunks/{markdown-EqEd3eyd.js.map → markdown-DLplFIBU.js.map} +1 -1
- package/dist/ai-elements.es.js +4051 -3492
- 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-SH2vEFKs.js → Agent-DcoF75y8.js} +7 -5
- package/dist-vue/_chunks/Agent-DcoF75y8.js.map +1 -0
- package/dist-vue/_chunks/{Document-fmCxsccF.js → Document-C1bD6VNU.js} +2 -2
- package/dist-vue/_chunks/{Document-fmCxsccF.js.map → Document-C1bD6VNU.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-DlIEIjKJ.js → PkChatbot-wyaH2IgV.js} +9 -9
- package/dist-vue/_chunks/PkChatbot-wyaH2IgV.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotEmptyState-Bcozn56E.js → PkChatbotEmptyState-h2qZ0JOD.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-Bcozn56E.js.map → PkChatbotEmptyState-h2qZ0JOD.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-DQVpDLNp.js → PkChatbotInput-C-bMNHC-.js} +87 -80
- package/dist-vue/_chunks/PkChatbotInput-C-bMNHC-.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotMessages-BYFozlwC.js → PkChatbotMessages-DU8qnlVX.js} +17 -17
- package/dist-vue/_chunks/{PkChatbotMessages-BYFozlwC.js.map → PkChatbotMessages-DU8qnlVX.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-DjntsSlX.js → PkChatbotStepPayload-BOxfKD1b.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-DjntsSlX.js.map → PkChatbotStepPayload-BOxfKD1b.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-If9goNdY.js → PkChatbotStepToolDetail-Df6EOYxj.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-If9goNdY.js.map → PkChatbotStepToolDetail-Df6EOYxj.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-DUFfniZn.js → PkChatbotSteps-DnDtN4Q7.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-DUFfniZn.js.map → PkChatbotSteps-DnDtN4Q7.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-BGoltDr9.js → PkChatbotViewChat-D4iupq1A.js} +7 -7
- package/dist-vue/_chunks/{PkChatbotViewChat-BGoltDr9.js.map → PkChatbotViewChat-D4iupq1A.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-WUpRm6GG.js → PkChatbotViewConversations-dKZScKD9.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-WUpRm6GG.js.map → PkChatbotViewConversations-dKZScKD9.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-CpG_LRg6.js → PkChatbotViewFiles-CQC3rInD.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-CpG_LRg6.js.map → PkChatbotViewFiles-CQC3rInD.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-DetQJa7E.js → PkChatbotViewProfile-CkZyWh4V.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-DetQJa7E.js.map → PkChatbotViewProfile-CkZyWh4V.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-DLKEIMcZ.js → PkStreamingMarkdown-BYV68skc.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-DLKEIMcZ.js.map → PkStreamingMarkdown-BYV68skc.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-D2JtjXef.js → PkToolEditSpreadsheet-DQxJQIY0.js} +2 -2
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-D2JtjXef.js.map → PkToolEditSpreadsheet-DQxJQIY0.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation--MTT__Vu.js → PkToolRequestGeolocation-BpjglRbg.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation--MTT__Vu.js.map → PkToolRequestGeolocation-BpjglRbg.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-Gb_qfvlN.js → PkToolRequestOAuthConnection-CD3M5DWj.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-Gb_qfvlN.js.map → PkToolRequestOAuthConnection-CD3M5DWj.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-BWVntj9H.js → PkToolShowArtifact-Bm5VBF_n.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-BWVntj9H.js.map → PkToolShowArtifact-Bm5VBF_n.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-BbBt3ha0.js → PkToolShowContactForm-CMQTQsU-.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-BbBt3ha0.js.map → PkToolShowContactForm-CMQTQsU-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-CE6KHz1M.js → PkToolShowDiagram-adGuj4AF.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-CE6KHz1M.js.map → PkToolShowDiagram-adGuj4AF.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-CNm8HSUW.js → PkToolShowForm-Cx5KdTlZ.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-CNm8HSUW.js.map → PkToolShowForm-Cx5KdTlZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-6k3ituoi.js → PkToolShowImageGallery-BtQ0gnGB.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-6k3ituoi.js.map → PkToolShowImageGallery-BtQ0gnGB.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-Bu-pUg5d.js → PkToolShowProductList-Dvatk6p-.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-Bu-pUg5d.js.map → PkToolShowProductList-Dvatk6p-.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-DTWNZqWu.js → PkToolShowSources-DKkIYQ9r.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-DTWNZqWu.js.map → PkToolShowSources-DKkIYQ9r.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DSXhqWhx.js → PkToolShowSuggestedReply-BbAfjJP9.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DSXhqWhx.js.map → PkToolShowSuggestedReply-BbAfjJP9.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-C0ycBiOI.js → PkToolShowVideo-DTNszfdU.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-C0ycBiOI.js.map → PkToolShowVideo-DTNszfdU.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-CWWv1tr5.js → PkToolShowWebPages-euov57FB.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-CWWv1tr5.js.map → PkToolShowWebPages-euov57FB.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-MbfcTdwY.js → createChatbotApiClient-qHjpFqPL.js} +8 -8
- package/dist-vue/_chunks/{createChatbotApiClient-MbfcTdwY.js.map → createChatbotApiClient-qHjpFqPL.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-DDSgrRzg.js → useChatbotStore-CBjfSN69.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-DDSgrRzg.js.map → useChatbotStore-CBjfSN69.js.map} +1 -1
- package/dist-vue/_chunks/{utils-B9-Vt10H.js → utils-BCGK2AFl.js} +2 -2
- package/dist-vue/_chunks/utils-BCGK2AFl.js.map +1 -0
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +12 -4
- package/dist-vue/apps/web-component/src/components/FloatingChatWidget.ce.d.ts +4 -3
- package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +11 -5
- package/dist-vue/apps/web-component/src/composables/useChatbotProfileProvider.d.ts +3 -2
- package/dist-vue/apps/web-component/src/composables/useCopilotPageCss.d.ts +12 -4
- package/dist-vue/apps/web-component/src/composables/usePageModal.d.ts +19 -0
- package/dist-vue/apps/web-component/src/lib.d.ts +10 -3
- package/dist-vue/apps/web-component/src/pageTools/actions.d.ts +33 -0
- package/dist-vue/apps/web-component/src/pageTools/navigation.d.ts +27 -0
- package/dist-vue/apps/web-component/src/pageTools/snapshot.d.ts +18 -2
- package/dist-vue/apps/web-component/src/utils/emitWidgetEvent.d.ts +8 -0
- package/dist-vue/apps/web-component/src/utils/layout.d.ts +3 -3
- package/dist-vue/composables.js +41 -19
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +342 -323
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +40 -14
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +8 -5
- package/dist-vue/packages/components/src/chat/PkHostCallConfirmDialog.d.ts +19 -0
- package/dist-vue/packages/components/src/chat/utils.d.ts +5 -0
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +13 -7
- package/dist-vue/packages/models/src/schema/Agent.d.ts +31 -18
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +5 -3
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +5 -3
- package/dist-vue/style.css +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-7rbrjWzu.js.map +0 -1
- package/dist/_chunks/PkStreamingMarkdown-BnClGp-3.js.map +0 -1
- package/dist-vue/_chunks/Agent-SH2vEFKs.js.map +0 -1
- package/dist-vue/_chunks/PkChatbot-DlIEIjKJ.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotInput-DQVpDLNp.js.map +0 -1
- package/dist-vue/_chunks/utils-B9-Vt10H.js.map +0 -1
- package/dist-vue/apps/web-component/src/composables/useCopilotPush.d.ts +0 -25
package/dist-vue/index.js
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { t as e } from "./_chunks/rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-
|
|
2
|
+
import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-Cx5KdTlZ.js";
|
|
3
3
|
import { E as i, S as a, T as o, _ as s, f as c, m as l, o as u, r as d, s as f, u as p, v as m, w as h, x as g, y as _ } from "./_chunks/schemas-Bu1lick6.js";
|
|
4
|
-
import { t as v } from "./_chunks/PkChatbotMessages-
|
|
4
|
+
import { t as v } from "./_chunks/PkChatbotMessages-DU8qnlVX.js";
|
|
5
5
|
import { a as y, i as b, l as x, n as S, r as C } from "./_chunks/Media-D-UGzdcW.js";
|
|
6
|
-
import { $ as w, A as ee, B as T, C as te, H as ne, L as re, M as ie, N as ae, P as oe, Q as se, S as ce, U as le, V as ue, W as de, X as fe, Z as pe,
|
|
7
|
-
import { c as Me, d as Ne, l as Pe, r as Fe, s as Ie, t as Le, u as Re } from "./_chunks/Document-
|
|
8
|
-
import { a as ze, i as Be, n as Ve } from "./_chunks/createChatbotApiClient-
|
|
6
|
+
import { $ as w, A as ee, B as T, C as te, H as ne, L as re, M as ie, N as ae, P as oe, Q as se, S as ce, U as le, V as ue, W as de, X as fe, Z as pe, a as me, d as he, et as ge, f as _e, g as ve, i as ye, j as be, k as xe, nt as Se, ot as Ce, r as E, rt as we, s as Te, t as Ee, tt as De, v as Oe, x as ke, y as Ae, z as je } from "./_chunks/Agent-DcoF75y8.js";
|
|
7
|
+
import { c as Me, d as Ne, l as Pe, r as Fe, s as Ie, t as Le, u as Re } from "./_chunks/Document-C1bD6VNU.js";
|
|
8
|
+
import { a as ze, i as Be, n as Ve } from "./_chunks/createChatbotApiClient-qHjpFqPL.js";
|
|
9
9
|
import { t as He } from "./_chunks/PkChatbotAuth-BsxfxDgR.js";
|
|
10
10
|
import { t as Ue } from "./_chunks/VvButtonLocalized-BuzLsXp3.js";
|
|
11
|
-
import { n as We, t as Ge } from "./_chunks/PkStreamingMarkdown-
|
|
12
|
-
import { a as Ke, i as qe, n as Je, r as Ye } from "./_chunks/useChatbotStore-
|
|
11
|
+
import { n as We, t as Ge } from "./_chunks/PkStreamingMarkdown-BYV68skc.js";
|
|
12
|
+
import { a as Ke, i as qe, n as Je, r as Ye } from "./_chunks/useChatbotStore-CBjfSN69.js";
|
|
13
13
|
import "./_chunks/src-BZRiAJsH.js";
|
|
14
14
|
import { a as Xe, l as Ze, u as Qe } from "./_chunks/message-DZvfzt9j.js";
|
|
15
|
-
import { C as $e, E as et, F as tt, M as nt, N as rt, P as it, d as at, h as ot, k as st, p as ct } from "./_chunks/utils-
|
|
15
|
+
import { C as $e, E as et, F as tt, M as nt, N as rt, P as it, d as at, h as ot, k as st, p as ct } from "./_chunks/utils-BCGK2AFl.js";
|
|
16
16
|
import { t as lt } from "./_chunks/useSafeLocalStorage-C1BlCeKw.js";
|
|
17
17
|
import { t as ut } from "./_chunks/useDialogConfirm-BxhvsnRr.js";
|
|
18
|
-
import { n as dt, r as ft, t as pt } from "./_chunks/PkChatbotViewConversations-
|
|
19
|
-
import { i as mt, n as ht, r as gt, t as _t } from "./_chunks/PkChatbotViewChat-
|
|
18
|
+
import { n as dt, r as ft, t as pt } from "./_chunks/PkChatbotViewConversations-dKZScKD9.js";
|
|
19
|
+
import { i as mt, n as ht, r as gt, t as _t } from "./_chunks/PkChatbotViewChat-D4iupq1A.js";
|
|
20
20
|
import { t as vt } from "./_chunks/PkChatbotError-BV5ga7hk.js";
|
|
21
21
|
import { t as yt } from "./_chunks/useImageFallback-5vQIO0pC.js";
|
|
22
22
|
import { t as bt } from "./_chunks/useLocalizedString-PfaKjIQY.js";
|
|
23
23
|
import { n as xt, t as St } from "./_chunks/PkRelativeTime--1cIphlA.js";
|
|
24
|
-
import { r as Ct, t as wt } from "./_chunks/PkToolShowArtifact-
|
|
24
|
+
import { r as Ct, t as wt } from "./_chunks/PkToolShowArtifact-Bm5VBF_n.js";
|
|
25
25
|
import { $ as Tt, A as Et, B as Dt, C as Ot, Ct as kt, D as At, E as jt, F as Mt, G as Nt, H as Pt, I as Ft, J as It, K as Lt, L as Rt, M as zt, N as D, Q as Bt, S as Vt, St as Ht, T as Ut, Tt as Wt, U as Gt, V as Kt, W as qt, X as Jt, _t as Yt, a as Xt, at as Zt, b as Qt, bt as $t, c as en, ct as tn, d as nn, dt as rn, et as an, f as on, gt as sn, h as cn, it as ln, j as un, k as dn, l as O, lt as k, mt as fn, nt as pn, o as mn, ot as hn, pt as gn, q as _n, rt as vn, st as yn, tt as bn, u as xn, ut as Sn, vt as Cn, w as wn, wt as Tn, x as En, xt as Dn, y as On, yt as kn, z as An } from "./_chunks/dist-DLs-FvuY.js";
|
|
26
26
|
import { n as jn, t as Mn } from "./_chunks/dist-BNG63goF.js";
|
|
27
27
|
import { n as Nn, r as Pn } from "./_chunks/dist-DPNJlSyW.js";
|
|
@@ -31,26 +31,26 @@ import { t as zn } from "./_chunks/PkSvgViewer-CZASatr4.js";
|
|
|
31
31
|
import { t as Bn } from "./_chunks/PkUrl-CN1kkZiH.js";
|
|
32
32
|
import { t as Vn } from "./_chunks/PkAvatar-BTqu8tn9.js";
|
|
33
33
|
import { t as Hn } from "./_chunks/PkChatbotFeedbackForm-pQc2JrQT.js";
|
|
34
|
-
import { n as Un, t as Wn } from "./_chunks/PkChatbotSteps-
|
|
35
|
-
import { t as Gn } from "./_chunks/PkChatbotStepPayload-
|
|
36
|
-
import { t as Kn } from "./_chunks/PkChatbotStepToolDetail-
|
|
37
|
-
import { n as qn, t as Jn } from "./_chunks/PkChatbotInput-
|
|
38
|
-
import { t as Yn } from "./_chunks/PkChatbotEmptyState-
|
|
39
|
-
import { t as Xn } from "./_chunks/PkChatbotViewProfile-
|
|
40
|
-
import { t as Zn } from "./_chunks/PkChatbot-
|
|
41
|
-
import { i as Qn, r as $n, t as er } from "./_chunks/PkToolShowSources-
|
|
34
|
+
import { n as Un, t as Wn } from "./_chunks/PkChatbotSteps-DnDtN4Q7.js";
|
|
35
|
+
import { t as Gn } from "./_chunks/PkChatbotStepPayload-BOxfKD1b.js";
|
|
36
|
+
import { t as Kn } from "./_chunks/PkChatbotStepToolDetail-Df6EOYxj.js";
|
|
37
|
+
import { n as qn, t as Jn } from "./_chunks/PkChatbotInput-C-bMNHC-.js";
|
|
38
|
+
import { t as Yn } from "./_chunks/PkChatbotEmptyState-h2qZ0JOD.js";
|
|
39
|
+
import { t as Xn } from "./_chunks/PkChatbotViewProfile-CkZyWh4V.js";
|
|
40
|
+
import { t as Zn } from "./_chunks/PkChatbot-wyaH2IgV.js";
|
|
41
|
+
import { i as Qn, r as $n, t as er } from "./_chunks/PkToolShowSources-DKkIYQ9r.js";
|
|
42
42
|
import { t as tr } from "./_chunks/mcpOAuthReport-BHCMTtgf.js";
|
|
43
43
|
import { t as nr } from "./_chunks/PkToolShowEmail-CUgZN0J5.js";
|
|
44
44
|
import { t as rr } from "./_chunks/PkToolShowMessage-ATTN5Hac.js";
|
|
45
|
-
import { t as ir } from "./_chunks/PkToolShowWebPages-
|
|
46
|
-
import { t as ar } from "./_chunks/PkToolShowProductList-
|
|
47
|
-
import { t as or } from "./_chunks/PkToolShowContactForm-
|
|
45
|
+
import { t as ir } from "./_chunks/PkToolShowWebPages-euov57FB.js";
|
|
46
|
+
import { t as ar } from "./_chunks/PkToolShowProductList-Dvatk6p-.js";
|
|
47
|
+
import { t as or } from "./_chunks/PkToolShowContactForm-CMQTQsU-.js";
|
|
48
48
|
import { t as sr } from "./_chunks/PkToolShowCalendarEvent-CFODjoDV.js";
|
|
49
49
|
import { t as cr } from "./_chunks/PkToolShowComparison-c2e239T4.js";
|
|
50
50
|
import { t as lr } from "./_chunks/PkToolShowLocation-BipZrvw7.js";
|
|
51
51
|
import { t as ur } from "./_chunks/PkToolShowQrCode-D_5VUtEB.js";
|
|
52
|
-
import { t as dr } from "./_chunks/PkToolShowImageGallery-
|
|
53
|
-
import { t as fr } from "./_chunks/PkToolShowSuggestedReply-
|
|
52
|
+
import { t as dr } from "./_chunks/PkToolShowImageGallery-BtQ0gnGB.js";
|
|
53
|
+
import { t as fr } from "./_chunks/PkToolShowSuggestedReply-BbAfjJP9.js";
|
|
54
54
|
import { VvAccordion as pr, VvAccordionGroup as mr, VvAlert as hr, VvAlertGroup as gr, VvBadge as _r, VvButtonGroup as vr, VvCheckbox as yr, VvCombobox as br, VvDialog as xr, VvDropdown as Sr, VvDropdownAction as Cr, VvIcon as wr, VvInputFile as Tr, VvInputRange as Er, VvInputText as Dr, VvTab as Or, VvTooltip as kr } from "@volverjs/ui-vue/components";
|
|
55
55
|
import { Fragment as A, Teleport as Ar, Transition as jr, TransitionGroup as Mr, cloneVNode as Nr, computed as j, createApp as Pr, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createSlots as Fr, createStaticVNode as Ir, createTextVNode as I, createVNode as L, defineComponent as R, guardReactiveProps as Lr, h as Rr, inject as z, isRef as zr, isVNode as Br, mergeModels as Vr, mergeProps as Hr, nextTick as Ur, normalizeClass as Wr, normalizeProps as Gr, normalizeStyle as Kr, onBeforeUnmount as qr, onMounted as Jr, onUnmounted as Yr, openBlock as B, provide as Xr, reactive as Zr, readonly as Qr, ref as V, renderList as $r, renderSlot as H, resolveComponent as ei, resolveDynamicComponent as ti, shallowRef as ni, toDisplayString as U, toRef as ri, toRefs as ii, unref as W, useId as ai, useModel as G, useSlots as oi, useTemplateRef as si, vModelSelect as ci, vModelText as li, watch as K, withCtx as q, withDirectives as ui, withKeys as di, withModifiers as fi } from "vue";
|
|
56
56
|
import { useI18n as J } from "vue-i18n";
|
|
@@ -622,10 +622,10 @@ var ka = { class: "flex items-center gap-4 mb-4" }, Aa = { class: "font-semibold
|
|
|
622
622
|
let n = G(e, "modelValue"), r = e, { t: i } = J(), { t: a } = J({ useScope: "global" }), o = j(() => {
|
|
623
623
|
let e = [{
|
|
624
624
|
label: a("agentType.chat"),
|
|
625
|
-
value:
|
|
625
|
+
value: _e.Chat
|
|
626
626
|
}, {
|
|
627
627
|
label: a("agentType.reasoning"),
|
|
628
|
-
value:
|
|
628
|
+
value: _e.Reasoning
|
|
629
629
|
}];
|
|
630
630
|
return r.readonly ? e.filter((e) => e.value === n.value) : e;
|
|
631
631
|
});
|
|
@@ -921,7 +921,7 @@ function ro(e) {
|
|
|
921
921
|
//#endregion
|
|
922
922
|
//#region ../../packages/components/src/PkEditorNotificationType.vue
|
|
923
923
|
typeof ro == "function" && ro(no);
|
|
924
|
-
var io = no, ao = ni(
|
|
924
|
+
var io = no, ao = ni(Se(pe)), oo = ni(""), so = (e) => w(oo.value, e.checksum), co = (e) => e ? so(e) : null, lo = () => {
|
|
925
925
|
let e = j(() => ao.value.assets), t = (t) => t ? e.value.logoDark ?? e.value.logoLight : e.value.logoLight ?? e.value.logoDark;
|
|
926
926
|
return {
|
|
927
927
|
branding: j(() => ao.value),
|
|
@@ -945,7 +945,7 @@ var io = no, ao = ni(xe(pe)), oo = ni(""), so = (e) => w(oo.value, e.checksum),
|
|
|
945
945
|
},
|
|
946
946
|
markUrl: (t) => {
|
|
947
947
|
let { text: n, colors: r } = ao.value;
|
|
948
|
-
return co(e.value.mark) ?? (
|
|
948
|
+
return co(e.value.mark) ?? (we(n) ? null : ge(n.productName, r[t ? "dark" : "light"].brand));
|
|
949
949
|
}
|
|
950
950
|
};
|
|
951
951
|
}, uo = /* @__PURE__ */ new Set(["object", "array/object"]), fo = {
|
|
@@ -16458,7 +16458,7 @@ var ow = /*#__PURE__*/ rw(iw, [["render", aw]]), sw = {
|
|
|
16458
16458
|
}
|
|
16459
16459
|
});
|
|
16460
16460
|
//#endregion
|
|
16461
|
-
//#region virtual:intlify-i18n-
|
|
16461
|
+
//#region virtual:intlify-i18n-4
|
|
16462
16462
|
function gw(e) {
|
|
16463
16463
|
let t = e;
|
|
16464
16464
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -16669,7 +16669,7 @@ var _w = hw, vw = { class: "block text-smaller mt-4" }, yw = { class: "block tex
|
|
|
16669
16669
|
}
|
|
16670
16670
|
});
|
|
16671
16671
|
//#endregion
|
|
16672
|
-
//#region virtual:intlify-i18n-
|
|
16672
|
+
//#region virtual:intlify-i18n-3
|
|
16673
16673
|
function Cw(e) {
|
|
16674
16674
|
let t = e;
|
|
16675
16675
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -16923,7 +16923,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
16923
16923
|
]);
|
|
16924
16924
|
};
|
|
16925
16925
|
}
|
|
16926
|
-
}), Rw = Pe, zw = .6, Bw =
|
|
16926
|
+
}), Rw = Pe, zw = .6, Bw = me.parse({}), Vw = /* @__PURE__ */ R({
|
|
16927
16927
|
__name: "PkToolApprovalBadge",
|
|
16928
16928
|
setup(e) {
|
|
16929
16929
|
let { t } = J({ useScope: "global" });
|
|
@@ -17215,7 +17215,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
17215
17215
|
}),
|
|
17216
17216
|
emits: ["update:reasoning"],
|
|
17217
17217
|
setup(e) {
|
|
17218
|
-
let { t, te: n } = J({ useScope: "global" }), r = e, i = G(e, "reasoning"), a = j(() =>
|
|
17218
|
+
let { t, te: n } = J({ useScope: "global" }), r = e, i = G(e, "reasoning"), a = j(() => be("openai", i.value)), o = j(() => be("anthropic", i.value)), s = j(() => be("google", i.value)), c = j(() => ie(r.activeProvider) ? be(r.activeProvider, i.value) : void 0), l = j(() => ({
|
|
17219
17219
|
openai: a.value !== i.value?.openai,
|
|
17220
17220
|
anthropic: o.value !== i.value?.anthropic,
|
|
17221
17221
|
google: s.value !== i.value?.google,
|
|
@@ -17505,7 +17505,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
17505
17505
|
}, {
|
|
17506
17506
|
webSearch: { default: () => ({
|
|
17507
17507
|
enabled: !1,
|
|
17508
|
-
provider:
|
|
17508
|
+
provider: xe.Native
|
|
17509
17509
|
}) },
|
|
17510
17510
|
webSearchModifiers: {}
|
|
17511
17511
|
}),
|
|
@@ -17517,7 +17517,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
17517
17517
|
if (!e) return t("hint.webSearchNativeFallback");
|
|
17518
17518
|
let r = n.fallbackModels ?? [], i = [.../* @__PURE__ */ new Set([e, ...r.flatMap((e) => re(e) ?? [])])], a = r.some((e) => !re(e));
|
|
17519
17519
|
return i.length === 1 ? t(a ? "hint.webSearchNativeWithoutSearch" : "hint.webSearchNative", { provider: e }) : t(a ? "hint.webSearchNativeChainWithoutSearch" : "hint.webSearchNativeChain", { providers: i.join(", ") });
|
|
17520
|
-
}), i = G(e, "webSearch"), a = j(() => i.value?.provider ??
|
|
17520
|
+
}), i = G(e, "webSearch"), a = j(() => i.value?.provider ?? xe.Native), o = j({
|
|
17521
17521
|
get: () => i.value?.perplexity?.searchDomainFilter?.join(", ") ?? "",
|
|
17522
17522
|
set: (e) => {
|
|
17523
17523
|
let t = e.split(",").map((e) => e.trim()).filter(Boolean);
|
|
@@ -17879,12 +17879,12 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
17879
17879
|
}), cT = /* @__PURE__ */ R({
|
|
17880
17880
|
__name: "PkEditorChannels",
|
|
17881
17881
|
props: /*@__PURE__*/ Vr({ type: {} }, {
|
|
17882
|
-
modelValue: { default: () => Object.values(
|
|
17882
|
+
modelValue: { default: () => Object.values(ye) },
|
|
17883
17883
|
modelModifiers: {}
|
|
17884
17884
|
}),
|
|
17885
17885
|
emits: ["update:modelValue"],
|
|
17886
17886
|
setup(e) {
|
|
17887
|
-
let t = e, n = G(e, "modelValue"), r = j(() => t.type ===
|
|
17887
|
+
let t = e, n = G(e, "modelValue"), r = j(() => t.type === _e.Chat);
|
|
17888
17888
|
function i(e) {
|
|
17889
17889
|
return n.value.includes(e);
|
|
17890
17890
|
}
|
|
@@ -17894,12 +17894,12 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
17894
17894
|
return (e, t) => (B(), M(es, { legend: e.$t("label.channels") }, {
|
|
17895
17895
|
default: q(() => [
|
|
17896
17896
|
L(GC, {
|
|
17897
|
-
"model-value": i(W(
|
|
17897
|
+
"model-value": i(W(ye).Frontoffice),
|
|
17898
17898
|
name: "channel.frontoffice",
|
|
17899
17899
|
switch: "",
|
|
17900
17900
|
label: e.$t("agent.channel.frontoffice"),
|
|
17901
17901
|
"hint-label": e.$t("hint.channel.frontoffice"),
|
|
17902
|
-
"onUpdate:modelValue": t[0] ||= (e) => a(W(
|
|
17902
|
+
"onUpdate:modelValue": t[0] ||= (e) => a(W(ye).Frontoffice, e)
|
|
17903
17903
|
}, null, 8, [
|
|
17904
17904
|
"model-value",
|
|
17905
17905
|
"label",
|
|
@@ -17907,12 +17907,12 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
17907
17907
|
]),
|
|
17908
17908
|
r.value ? (B(), M(GC, {
|
|
17909
17909
|
key: 0,
|
|
17910
|
-
"model-value": i(W(
|
|
17910
|
+
"model-value": i(W(ye).App),
|
|
17911
17911
|
name: "channel.app",
|
|
17912
17912
|
switch: "",
|
|
17913
17913
|
label: e.$t("agent.channel.app"),
|
|
17914
17914
|
"hint-label": e.$t("hint.channel.app"),
|
|
17915
|
-
"onUpdate:modelValue": t[1] ||= (e) => a(W(
|
|
17915
|
+
"onUpdate:modelValue": t[1] ||= (e) => a(W(ye).App, e)
|
|
17916
17916
|
}, null, 8, [
|
|
17917
17917
|
"model-value",
|
|
17918
17918
|
"label",
|
|
@@ -17920,13 +17920,13 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
17920
17920
|
])) : N("", !0),
|
|
17921
17921
|
r.value ? (B(), M(GC, {
|
|
17922
17922
|
key: 1,
|
|
17923
|
-
"model-value": i(W(
|
|
17923
|
+
"model-value": i(W(ye).Widget),
|
|
17924
17924
|
name: "channel.widget",
|
|
17925
17925
|
switch: "",
|
|
17926
17926
|
class: "mb-0",
|
|
17927
17927
|
label: e.$t("agent.channel.widget"),
|
|
17928
17928
|
"hint-label": e.$t("hint.channel.widget"),
|
|
17929
|
-
"onUpdate:modelValue": t[2] ||= (e) => a(W(
|
|
17929
|
+
"onUpdate:modelValue": t[2] ||= (e) => a(W(ye).Widget, e)
|
|
17930
17930
|
}, null, 8, [
|
|
17931
17931
|
"model-value",
|
|
17932
17932
|
"label",
|
|
@@ -18425,7 +18425,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18425
18425
|
agentIdModifiers: {},
|
|
18426
18426
|
name: { default: "" },
|
|
18427
18427
|
nameModifiers: {},
|
|
18428
|
-
type: { default:
|
|
18428
|
+
type: { default: _e.Chat },
|
|
18429
18429
|
typeModifiers: {},
|
|
18430
18430
|
initialMessage: { default: void 0 },
|
|
18431
18431
|
initialMessageModifiers: {},
|
|
@@ -18463,7 +18463,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18463
18463
|
reasoningModifiers: {},
|
|
18464
18464
|
webSearch: { default: () => ({
|
|
18465
18465
|
enabled: !1,
|
|
18466
|
-
provider:
|
|
18466
|
+
provider: xe.Native
|
|
18467
18467
|
}) },
|
|
18468
18468
|
webSearchModifiers: {},
|
|
18469
18469
|
theme: { default: "auto" },
|
|
@@ -18496,8 +18496,13 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18496
18496
|
default: !0
|
|
18497
18497
|
},
|
|
18498
18498
|
workingGlowModifiers: {},
|
|
18499
|
-
|
|
18500
|
-
|
|
18499
|
+
appearance: { default: "solid" },
|
|
18500
|
+
appearanceModifiers: {},
|
|
18501
|
+
hideFloatingButton: {
|
|
18502
|
+
type: Boolean,
|
|
18503
|
+
default: !1
|
|
18504
|
+
},
|
|
18505
|
+
hideFloatingButtonModifiers: {},
|
|
18501
18506
|
copilotPageCss: { default: void 0 },
|
|
18502
18507
|
copilotPageCssModifiers: {},
|
|
18503
18508
|
maxMessageLength: { default: void 0 },
|
|
@@ -18545,7 +18550,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18545
18550
|
default: !1
|
|
18546
18551
|
},
|
|
18547
18552
|
fileUploadEnabledModifiers: {},
|
|
18548
|
-
toolWorkingSetMode: { default:
|
|
18553
|
+
toolWorkingSetMode: { default: he.Off },
|
|
18549
18554
|
toolWorkingSetModeModifiers: {},
|
|
18550
18555
|
voiceEnabled: {
|
|
18551
18556
|
type: Boolean,
|
|
@@ -18611,7 +18616,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18611
18616
|
default: !1
|
|
18612
18617
|
},
|
|
18613
18618
|
showExtendedStepsModifiers: {},
|
|
18614
|
-
channels: { default: () => Object.values(
|
|
18619
|
+
channels: { default: () => Object.values(ye) },
|
|
18615
18620
|
channelsModifiers: {},
|
|
18616
18621
|
externalContextSchema: { default: void 0 },
|
|
18617
18622
|
externalContextSchemaModifiers: {},
|
|
@@ -18622,7 +18627,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18622
18627
|
ranking: { default: void 0 },
|
|
18623
18628
|
rankingModifiers: {}
|
|
18624
18629
|
}),
|
|
18625
|
-
emits: /* @__PURE__ */ "update:agentId.update:name.update:type.update:initialMessage.update:greeting.update:messagePlaceholder.update:dismissableNotice.update:footerMessage.update:model.update:temperature.update:prompt.update:status.update:visibility.update:limit.update:maxStepCount.update:maxOutputTokens.update:presencePenalty.update:frequencyPenalty.update:searchMode.update:reasoning.update:webSearch.update:theme.update:mainColor.update:textColor.update:useColorsForAgentHeader.update:welcomePopup.update:interactiveLogin.update:floatingButtonPosition.update:layout.update:workingGlow.update:
|
|
18630
|
+
emits: /* @__PURE__ */ "update:agentId.update:name.update:type.update:initialMessage.update:greeting.update:messagePlaceholder.update:dismissableNotice.update:footerMessage.update:model.update:temperature.update:prompt.update:status.update:visibility.update:limit.update:maxStepCount.update:maxOutputTokens.update:presencePenalty.update:frequencyPenalty.update:searchMode.update:reasoning.update:webSearch.update:theme.update:mainColor.update:textColor.update:useColorsForAgentHeader.update:welcomePopup.update:interactiveLogin.update:floatingButtonPosition.update:layout.update:workingGlow.update:appearance.update:hideFloatingButton.update:copilotPageCss.update:maxMessageLength.update:media.update:minuteRateLimit.update:hourRateLimit.update:dayRateLimit.update:monthRateLimit.update:trustedOrigins.update:imageHosts.update:disabledTools.update:approvalTools.update:useAllUserKb.update:useAllUserFiles.update:formMaxSteps.update:formMaxOptionsPerStep.update:widgetUrl.update:loadDelay.update:loaderStrategy.update:fileUploadEnabled.update:toolWorkingSetMode.update:voiceEnabled.update:voiceMaxSessionSeconds.update:voiceId.update:voiceLanguage.update:voiceFirstMessage.update:voiceCascadeTimeoutSeconds.update:voiceFillerAfterSeconds.update:voiceFillerMessage.update:voiceIgnoreBackgroundVoices.update:voiceTurnEagerness.update:voiceTurnTimeoutSeconds.update:fileUploadMaxFileSize.update:fileUploadAllowedMimeTypes.update:fileUploadMaxFilesPerMessage.update:fileUploadMaxFilesPerChat.update:customCss.update:privacyPolicyNotice.update:fallbackModels.update:zeroDataRetention.update:disallowPromptTraining.update:providerTimeoutMs.update:smoothStream.update:showExtendedSteps.update:channels.update:externalContextSchema.update:hostTools.update:pageAccess.update:ranking".split("."),
|
|
18626
18631
|
setup(e) {
|
|
18627
18632
|
let { t: n, te: r, n: i, locale: a, availableLocales: o } = J({ useScope: "global" }), s = j(() => [...o.filter((e) => e === a.value), ...o.filter((e) => e !== a.value)]), c = {
|
|
18628
18633
|
freshnessScale: ai(),
|
|
@@ -18646,8 +18651,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18646
18651
|
}, ...g.value?.slice(1) ?? []];
|
|
18647
18652
|
}, v = G(e, "messagePlaceholder"), x = G(e, "dismissableNotice"), S = G(e, "footerMessage"), C = G(e, "model"), w = j(() => Ne(C.value)), T = j(() => u.catalog?.find((e) => e.id === C.value)), ne = j(() => {
|
|
18648
18653
|
let e = T.value;
|
|
18649
|
-
if (e) return e.retired ? n("hint.modelRetired") :
|
|
18650
|
-
}), re = G(e, "temperature"), ie = G(e, "prompt"), se = G(e, "status"), ce = G(e, "visibility"), le = G(e, "limit"), ue = G(e, "maxStepCount"), de = G(e, "maxOutputTokens"), fe = G(e, "presencePenalty"), pe = G(e, "frequencyPenalty"),
|
|
18654
|
+
if (e) return e.retired ? n("hint.modelRetired") : Nt.value && e.zdr === Ji.None || Pt.value && e.noTraining === Ji.None ? n("hint.modelNotCompatible") : Nt.value && e.zdr === Ji.Some || Pt.value && e.noTraining === Ji.Some ? n("hint.modelGuaranteedOnSome") : e.contextWindow ? n("hint.modelContextWindow", { count: i(Math.round(e.contextWindow / 1e3)) }) : void 0;
|
|
18655
|
+
}), re = G(e, "temperature"), ie = G(e, "prompt"), se = G(e, "status"), ce = G(e, "visibility"), le = G(e, "limit"), ue = G(e, "maxStepCount"), de = G(e, "maxOutputTokens"), fe = G(e, "presencePenalty"), pe = G(e, "frequencyPenalty"), me = G(e, "searchMode"), ge = G(e, "reasoning"), ve = G(e, "webSearch"), be = G(e, "theme"), xe = G(e, "mainColor"), Se = G(e, "textColor"), Ce = G(e, "useColorsForAgentHeader"), we = G(e, "welcomePopup"), Ee = G(e, "interactiveLogin"), De = G(e, "floatingButtonPosition"), Oe = G(e, "layout"), ke = G(e, "workingGlow"), Ae = G(e, "appearance"), je = G(e, "hideFloatingButton"), Me = G(e, "copilotPageCss"), Pe = G(e, "maxMessageLength"), Fe = G(e, "media"), Ie = G(e, "minuteRateLimit"), Le = G(e, "hourRateLimit"), Re = G(e, "dayRateLimit"), ze = G(e, "monthRateLimit"), Be = G(e, "trustedOrigins"), Ve = G(e, "imageHosts"), He = G(e, "disabledTools"), We = G(e, "approvalTools"), Ge = G(e, "useAllUserKb"), Ke = G(e, "useAllUserFiles"), qe = G(e, "formMaxSteps"), Je = G(e, "formMaxOptionsPerStep"), Ye = G(e, "widgetUrl"), Xe = G(e, "loadDelay"), Ze = G(e, "loaderStrategy"), Qe = G(e, "fileUploadEnabled"), $e = G(e, "toolWorkingSetMode"), et = G(e, "voiceEnabled"), tt = G(e, "voiceMaxSessionSeconds"), rt = G(e, "voiceId"), it = G(e, "voiceLanguage"), at = G(e, "voiceFirstMessage"), ot = G(e, "voiceCascadeTimeoutSeconds"), st = G(e, "voiceFillerAfterSeconds"), ct = G(e, "voiceFillerMessage"), lt = G(e, "voiceIgnoreBackgroundVoices"), ut = G(e, "voiceTurnEagerness"), dt = G(e, "voiceTurnTimeoutSeconds"), ft = [
|
|
18651
18656
|
"it",
|
|
18652
18657
|
"en",
|
|
18653
18658
|
"es",
|
|
@@ -18655,46 +18660,46 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18655
18660
|
"de",
|
|
18656
18661
|
"pt",
|
|
18657
18662
|
"nl"
|
|
18658
|
-
],
|
|
18663
|
+
], pt = [
|
|
18659
18664
|
"gender",
|
|
18660
18665
|
"age",
|
|
18661
18666
|
"accent",
|
|
18662
18667
|
"descriptive",
|
|
18663
18668
|
"description",
|
|
18664
18669
|
"use_case"
|
|
18665
|
-
],
|
|
18670
|
+
], mt = ["language"], ht = (e) => {
|
|
18666
18671
|
let t = e.replace(/_/g, " ");
|
|
18667
18672
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
18668
|
-
},
|
|
18669
|
-
let t = e.labels ?? {}, n = [...
|
|
18673
|
+
}, gt = (e) => {
|
|
18674
|
+
let t = e.labels ?? {}, n = [...pt.filter((e) => e in t), ...Object.keys(t).filter((e) => !pt.includes(e) && !mt.includes(e))], r = /* @__PURE__ */ new Set();
|
|
18670
18675
|
return n.flatMap((e) => {
|
|
18671
18676
|
let n = t[e]?.trim().toLowerCase();
|
|
18672
|
-
return !n || r.has(n) ? [] : (r.add(n), [
|
|
18677
|
+
return !n || r.has(n) ? [] : (r.add(n), [ht(n)]);
|
|
18673
18678
|
}).join(" · ");
|
|
18674
|
-
},
|
|
18679
|
+
}, _t = j(() => (u.voices ?? []).map((e) => ({
|
|
18675
18680
|
label: e.name,
|
|
18676
18681
|
value: e.voiceId,
|
|
18677
|
-
description:
|
|
18678
|
-
}))),
|
|
18682
|
+
description: gt(e)
|
|
18683
|
+
}))), vt = (e, t) => {
|
|
18679
18684
|
let n = e.trim().toLowerCase();
|
|
18680
18685
|
return n ? t.filter((e) => `${e.label} ${e.description}`.toLowerCase().includes(n)) : t;
|
|
18681
|
-
},
|
|
18682
|
-
|
|
18683
|
-
},
|
|
18684
|
-
if (
|
|
18685
|
-
|
|
18686
|
+
}, yt = j(() => n("hint.voiceId")), bt = V(), xt = V(!1), St = () => {
|
|
18687
|
+
bt.value?.pause(), bt.value = void 0, xt.value = !1;
|
|
18688
|
+
}, wt = () => {
|
|
18689
|
+
if (xt.value) {
|
|
18690
|
+
St();
|
|
18686
18691
|
return;
|
|
18687
18692
|
}
|
|
18688
|
-
let e = u.voices?.find((e) => e.voiceId ===
|
|
18693
|
+
let e = u.voices?.find((e) => e.voiceId === rt.value)?.previewUrl;
|
|
18689
18694
|
if (!e) return;
|
|
18690
|
-
|
|
18695
|
+
St();
|
|
18691
18696
|
let t = new Audio(e);
|
|
18692
|
-
t.addEventListener("ended",
|
|
18693
|
-
},
|
|
18694
|
-
K(
|
|
18695
|
-
let
|
|
18696
|
-
K(
|
|
18697
|
-
(!e?.freshness || !e?.priority || !e?.mmr) && (
|
|
18697
|
+
t.addEventListener("ended", St), bt.value = t, xt.value = !0, t.play().catch(St);
|
|
18698
|
+
}, Tt = j(() => !!u.voices?.find((e) => e.voiceId === rt.value)?.previewUrl);
|
|
18699
|
+
K(rt, St), qr(St);
|
|
18700
|
+
let Et = G(e, "fileUploadMaxFileSize"), Dt = G(e, "fileUploadAllowedMimeTypes"), Ot = G(e, "fileUploadMaxFilesPerMessage"), kt = G(e, "fileUploadMaxFilesPerChat"), At = G(e, "customCss"), jt = G(e, "privacyPolicyNotice"), Mt = G(e, "fallbackModels"), Nt = G(e, "zeroDataRetention"), Pt = G(e, "disallowPromptTraining"), Ft = G(e, "providerTimeoutMs"), It = G(e, "smoothStream"), Lt = G(e, "showExtendedSteps"), Rt = G(e, "channels"), zt = G(e, "externalContextSchema"), D = G(e, "hostTools"), Bt = G(e, "pageAccess"), Vt = G(e, "ranking");
|
|
18701
|
+
K(Vt, (e) => {
|
|
18702
|
+
(!e?.freshness || !e?.priority || !e?.mmr) && (Vt.value = Zr({
|
|
18698
18703
|
freshness: {
|
|
18699
18704
|
enabled: !1,
|
|
18700
18705
|
scale: 7776e3,
|
|
@@ -18713,16 +18718,16 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18713
18718
|
}
|
|
18714
18719
|
}));
|
|
18715
18720
|
}, { immediate: !0 });
|
|
18716
|
-
let
|
|
18721
|
+
let Ht = j({
|
|
18717
18722
|
get: () => {
|
|
18718
|
-
let e =
|
|
18723
|
+
let e = Vt.value?.freshness?.scale ?? 7776e3;
|
|
18719
18724
|
return e >= 86400 ? Math.round(e / 86400) : e;
|
|
18720
18725
|
},
|
|
18721
18726
|
set: (e) => {
|
|
18722
|
-
|
|
18727
|
+
Vt.value?.freshness && (Vt.value.freshness.scale = e * 86400);
|
|
18723
18728
|
}
|
|
18724
|
-
}),
|
|
18725
|
-
let e =
|
|
18729
|
+
}), Ut = j(() => {
|
|
18730
|
+
let e = Ht.value, t = e * 4, r = Math.round(t / 30.4 * 10) / 10, i = Vt.value?.freshness?.weight ?? .1, a = Math.round(i / 2 * 1e3) / 1e3, o = Math.round(i * .06 * 1e3) / 1e3, s = {
|
|
18726
18731
|
half: e,
|
|
18727
18732
|
zero: t,
|
|
18728
18733
|
months: r,
|
|
@@ -18731,17 +18736,17 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18731
18736
|
zeroWeight: o.toFixed(3).replace(/0+$/, "").replace(/\.$/, "")
|
|
18732
18737
|
};
|
|
18733
18738
|
return n(t >= 30 ? "hint.freshnessScaleExplanationMonths" : "hint.freshnessScaleExplanationDays", s);
|
|
18734
|
-
}),
|
|
18735
|
-
await Ur(),
|
|
18739
|
+
}), Wt = V(!1), Gt = si("panelRoot"), Kt = async () => {
|
|
18740
|
+
await Ur(), Gt.value?.querySelector(".vv-tab .vv-nav__item-label.current")?.scrollIntoView({
|
|
18736
18741
|
block: "nearest",
|
|
18737
18742
|
inline: "nearest"
|
|
18738
18743
|
});
|
|
18739
|
-
},
|
|
18740
|
-
get: () =>
|
|
18744
|
+
}, qt = j({
|
|
18745
|
+
get: () => zt.value != null,
|
|
18741
18746
|
set: (e) => {
|
|
18742
|
-
|
|
18747
|
+
zt.value = e ? {} : void 0;
|
|
18743
18748
|
}
|
|
18744
|
-
}),
|
|
18749
|
+
}), Jt = {
|
|
18745
18750
|
images: [
|
|
18746
18751
|
"image/jpeg",
|
|
18747
18752
|
"image/png",
|
|
@@ -18757,7 +18762,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18757
18762
|
code: [...y],
|
|
18758
18763
|
spreadsheets: [te],
|
|
18759
18764
|
audio: [...b]
|
|
18760
|
-
},
|
|
18765
|
+
}, Yt = j(() => [
|
|
18761
18766
|
{
|
|
18762
18767
|
label: n("label.mimeTypeImages"),
|
|
18763
18768
|
value: "images"
|
|
@@ -18782,21 +18787,21 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18782
18787
|
label: n("label.mimeTypeAudio"),
|
|
18783
18788
|
value: "audio"
|
|
18784
18789
|
}]
|
|
18785
|
-
]),
|
|
18790
|
+
]), Xt = j(() => Object.values(he).map((e) => ({
|
|
18786
18791
|
label: n(`agent.toolWorkingSetMode.${e}`),
|
|
18787
18792
|
value: e
|
|
18788
|
-
}))),
|
|
18789
|
-
get: () => Object.entries(
|
|
18793
|
+
}))), Zt = j({
|
|
18794
|
+
get: () => Object.entries(Jt).filter(([, e]) => e.every((e) => Dt.value.includes(e))).map(([e]) => e),
|
|
18790
18795
|
set: (e) => {
|
|
18791
|
-
let t = new Set(
|
|
18792
|
-
|
|
18796
|
+
let t = new Set(Zt.value.filter((t) => !e.includes(t)).flatMap((e) => Jt[e] ?? []));
|
|
18797
|
+
Dt.value = [.../* @__PURE__ */ new Set([...Dt.value.filter((e) => !t.has(e)), ...e.flatMap((e) => Jt[e] ?? [])])];
|
|
18793
18798
|
}
|
|
18794
|
-
}),
|
|
18795
|
-
get: () => Math.round(
|
|
18799
|
+
}), Qt = j({
|
|
18800
|
+
get: () => Math.round(Et.value / 1048576),
|
|
18796
18801
|
set: (e) => {
|
|
18797
|
-
|
|
18802
|
+
Et.value = e * 1024 * 1024;
|
|
18798
18803
|
}
|
|
18799
|
-
}),
|
|
18804
|
+
}), $t = j(() => new Set(Ea(u.features))), en = j(() => [
|
|
18800
18805
|
{
|
|
18801
18806
|
key: "knowledgeSearch",
|
|
18802
18807
|
icon: "ri:search-line",
|
|
@@ -18865,30 +18870,30 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18865
18870
|
icon: "ri:chat-3-line",
|
|
18866
18871
|
tools: [E.FetchTeamsChannelHistory]
|
|
18867
18872
|
}
|
|
18868
|
-
]),
|
|
18873
|
+
]), tn = j(() => en.value.map((e) => ({
|
|
18869
18874
|
...e,
|
|
18870
|
-
tools: e.tools.filter((e) =>
|
|
18871
|
-
})).filter((e) => e.tools.length > 0)),
|
|
18872
|
-
function an(e) {
|
|
18873
|
-
return !Ve.value.includes(e);
|
|
18874
|
-
}
|
|
18875
|
+
tools: e.tools.filter((e) => !$t.value.has(e))
|
|
18876
|
+
})).filter((e) => e.tools.length > 0)), nn = (e) => e === E.ShowSources || e === E.ReadDocumentFile ? !He.value.includes(E.SearchInKnowledgeBase) : e !== E.ShowWeather || !He.value.includes(E.GetWeather), rn = (e) => oe(e) || e === E.Spreadsheet, an = j(() => C.value ? [C.value] : []);
|
|
18875
18877
|
function on(e) {
|
|
18876
|
-
return
|
|
18878
|
+
return !He.value.includes(e);
|
|
18877
18879
|
}
|
|
18878
18880
|
function sn(e) {
|
|
18879
|
-
return
|
|
18881
|
+
return e === E.ShowForm || e === E.UserMemory || e === E.SearchInUserFiles || ee(e);
|
|
18882
|
+
}
|
|
18883
|
+
function cn(e) {
|
|
18884
|
+
return We.value.includes(e);
|
|
18880
18885
|
}
|
|
18881
|
-
let
|
|
18886
|
+
let ln = j(() => We.value.filter((e) => ee(e) && on(e)).map((e) => nt(e, {
|
|
18882
18887
|
t: n,
|
|
18883
18888
|
te: r
|
|
18884
18889
|
})));
|
|
18885
|
-
function ln(e, t) {
|
|
18886
|
-
He.value = t ? [...He.value, e] : He.value.filter((t) => t !== e);
|
|
18887
|
-
}
|
|
18888
18890
|
function un(e, t) {
|
|
18889
|
-
|
|
18891
|
+
We.value = t ? [...We.value, e] : We.value.filter((t) => t !== e);
|
|
18890
18892
|
}
|
|
18891
|
-
|
|
18893
|
+
function dn(e, t) {
|
|
18894
|
+
t ? He.value = He.value.filter((t) => t !== e) : (He.value = [...He.value, e], un(e, !1), e === E.UserMemory && (Ge.value = !1), e === E.SearchInUserFiles && (Ke.value = !1));
|
|
18895
|
+
}
|
|
18896
|
+
let O = j(() => C.value?.split("/")[0] ?? ""), k = j(() => m.value === _e.Chat), fn = j(() => {
|
|
18892
18897
|
let e = [
|
|
18893
18898
|
{
|
|
18894
18899
|
tab: "general",
|
|
@@ -18903,7 +18908,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18903
18908
|
label: n("label.tools")
|
|
18904
18909
|
}
|
|
18905
18910
|
];
|
|
18906
|
-
return
|
|
18911
|
+
return k.value && (u.playground || (e.push({
|
|
18907
18912
|
tab: "security",
|
|
18908
18913
|
label: n("label.security"),
|
|
18909
18914
|
class: d.value?.security ? "invalid" : ""
|
|
@@ -18914,18 +18919,18 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
18914
18919
|
tab: "embed",
|
|
18915
18920
|
label: n("label.embed")
|
|
18916
18921
|
})), e;
|
|
18917
|
-
}),
|
|
18922
|
+
}), pn = j(() => `${window.location.origin}/app/${u.organizationSlug}/${f.value}`), mn = j(() => `${window.location.origin}/app/${u.organizationSlug}/${f.value}/chat`), hn = j(() => `<script src="${`${u.baseUrl}/api/v1/public/organizations/${u.organizationSlug}/agents/${f.value}/embed.js`}" defer><\/script>`), gn = j(() => `<iframe src="${pn.value}" width="100%" height="600" frameborder="0"
|
|
18918
18923
|
style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>`);
|
|
18919
18924
|
return (r, a) => {
|
|
18920
|
-
let o = br, u = Dr, d = Er, f = yr, y = wr, b = kr, T = Ue, te = pr,
|
|
18925
|
+
let o = br, u = Dr, d = Er, f = yr, y = wr, b = kr, T = Ue, te = pr, he = Or, _e = _r, Ne = xr;
|
|
18921
18926
|
return B(), P("div", {
|
|
18922
18927
|
ref_key: "panelRoot",
|
|
18923
|
-
ref:
|
|
18928
|
+
ref: Gt,
|
|
18924
18929
|
class: "pk-agent-settings-panel"
|
|
18925
|
-
}, [L(
|
|
18926
|
-
items:
|
|
18930
|
+
}, [L(he, {
|
|
18931
|
+
items: fn.value,
|
|
18927
18932
|
lazy: "once",
|
|
18928
|
-
"onUpdate:modelValue":
|
|
18933
|
+
"onUpdate:modelValue": Kt
|
|
18929
18934
|
}, {
|
|
18930
18935
|
"panel::general": q(() => [
|
|
18931
18936
|
L(La, {
|
|
@@ -19001,8 +19006,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19001
19006
|
value: "organization"
|
|
19002
19007
|
}
|
|
19003
19008
|
],
|
|
19004
|
-
"hint-label":
|
|
19005
|
-
disabled: e.playground || !
|
|
19009
|
+
"hint-label": k.value ? ce.value ? W(n)(`agent.visibilityHint.${ce.value}`) : void 0 : W(n)("hint.reasoningVisibility"),
|
|
19010
|
+
disabled: e.playground || !k.value
|
|
19006
19011
|
}, {
|
|
19007
19012
|
option: q(({ option: e }) => [L(is, {
|
|
19008
19013
|
icon: W(Mw)(String(e.value)),
|
|
@@ -19042,8 +19047,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19042
19047
|
strategy: "fixed",
|
|
19043
19048
|
placeholder: W(n)("action.select"),
|
|
19044
19049
|
catalog: e.catalog,
|
|
19045
|
-
"zero-data-retention":
|
|
19046
|
-
"disallow-prompt-training":
|
|
19050
|
+
"zero-data-retention": Nt.value,
|
|
19051
|
+
"disallow-prompt-training": Pt.value,
|
|
19047
19052
|
current: C.value,
|
|
19048
19053
|
unselectable: !1
|
|
19049
19054
|
}, null, 8, [
|
|
@@ -19085,17 +19090,17 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19085
19090
|
default: q(() => [
|
|
19086
19091
|
w.value ? N("", !0) : (B(), M(iT, {
|
|
19087
19092
|
key: 0,
|
|
19088
|
-
modelValue:
|
|
19089
|
-
"onUpdate:modelValue": a[6] ||= (e) =>
|
|
19093
|
+
modelValue: Mt.value,
|
|
19094
|
+
"onUpdate:modelValue": a[6] ||= (e) => Mt.value = e,
|
|
19090
19095
|
name: "fallbackModels",
|
|
19091
19096
|
multiple: "",
|
|
19092
19097
|
strategy: "fixed",
|
|
19093
19098
|
label: W(n)("label.fallbackModels"),
|
|
19094
19099
|
placeholder: W(n)("placeholder.select"),
|
|
19095
19100
|
catalog: e.catalog,
|
|
19096
|
-
"zero-data-retention":
|
|
19097
|
-
"disallow-prompt-training":
|
|
19098
|
-
"exclude-models":
|
|
19101
|
+
"zero-data-retention": Nt.value,
|
|
19102
|
+
"disallow-prompt-training": Pt.value,
|
|
19103
|
+
"exclude-models": an.value
|
|
19099
19104
|
}, null, 8, [
|
|
19100
19105
|
"modelValue",
|
|
19101
19106
|
"label",
|
|
@@ -19162,8 +19167,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19162
19167
|
"format-value"
|
|
19163
19168
|
]),
|
|
19164
19169
|
L(u, {
|
|
19165
|
-
modelValue:
|
|
19166
|
-
"onUpdate:modelValue": a[11] ||= (e) =>
|
|
19170
|
+
modelValue: Ft.value,
|
|
19171
|
+
"onUpdate:modelValue": a[11] ||= (e) => Ft.value = e,
|
|
19167
19172
|
name: "providerTimeoutMs",
|
|
19168
19173
|
type: "number",
|
|
19169
19174
|
min: "1000",
|
|
@@ -19172,7 +19177,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19172
19177
|
class: "mb-0",
|
|
19173
19178
|
label: W(n)("label.providerTimeoutMs"),
|
|
19174
19179
|
placeholder: W(n)("placeholder.insert"),
|
|
19175
|
-
invalid:
|
|
19180
|
+
invalid: Ft.value !== void 0 && (Ft.value < 1e3 || Ft.value > 789e3),
|
|
19176
19181
|
"hint-label": W(n)("hint.providerTimeoutMs")
|
|
19177
19182
|
}, null, 8, [
|
|
19178
19183
|
"modelValue",
|
|
@@ -19186,12 +19191,12 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19186
19191
|
}, 8, ["legend"]),
|
|
19187
19192
|
L(es, { legend: W(n)("label.reasoning") }, {
|
|
19188
19193
|
default: q(() => [L(oT, {
|
|
19189
|
-
reasoning:
|
|
19190
|
-
"onUpdate:reasoning": a[12] ||= (e) =>
|
|
19191
|
-
"active-provider":
|
|
19194
|
+
reasoning: ge.value,
|
|
19195
|
+
"onUpdate:reasoning": a[12] ||= (e) => ge.value = e,
|
|
19196
|
+
"active-provider": O.value
|
|
19192
19197
|
}, null, 8, ["reasoning", "active-provider"]), L(GC, {
|
|
19193
|
-
modelValue:
|
|
19194
|
-
"onUpdate:modelValue": a[13] ||= (e) =>
|
|
19198
|
+
modelValue: Lt.value,
|
|
19199
|
+
"onUpdate:modelValue": a[13] ||= (e) => Lt.value = e,
|
|
19195
19200
|
name: "showExtendedSteps",
|
|
19196
19201
|
class: "mt-md mb-0",
|
|
19197
19202
|
switch: "",
|
|
@@ -19207,8 +19212,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19207
19212
|
L(es, { legend: W(n)("label.searchAndExecution") }, {
|
|
19208
19213
|
default: q(() => [
|
|
19209
19214
|
L(o, {
|
|
19210
|
-
modelValue:
|
|
19211
|
-
"onUpdate:modelValue": a[14] ||= (e) =>
|
|
19215
|
+
modelValue: me.value,
|
|
19216
|
+
"onUpdate:modelValue": a[14] ||= (e) => me.value = e,
|
|
19212
19217
|
name: "searchMode",
|
|
19213
19218
|
icon: "ri:search-line",
|
|
19214
19219
|
strategy: "fixed",
|
|
@@ -19272,10 +19277,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19272
19277
|
}, 8, ["legend"]),
|
|
19273
19278
|
L(es, { legend: W(n)("label.smartRanking") }, {
|
|
19274
19279
|
default: q(() => [
|
|
19275
|
-
|
|
19280
|
+
Vt.value?.freshness ? (B(), M(f, {
|
|
19276
19281
|
key: 0,
|
|
19277
|
-
modelValue:
|
|
19278
|
-
"onUpdate:modelValue": a[17] ||= (e) =>
|
|
19282
|
+
modelValue: Vt.value.freshness.enabled,
|
|
19283
|
+
"onUpdate:modelValue": a[17] ||= (e) => Vt.value.freshness.enabled = e,
|
|
19279
19284
|
name: "freshnessEnabled",
|
|
19280
19285
|
switch: "",
|
|
19281
19286
|
value: !0,
|
|
@@ -19285,7 +19290,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19285
19290
|
default: q(() => [F("div", CT, [F("strong", null, U(W(n)("label.freshnessBoost")), 1), F("small", wT, U(W(n)("hint.freshnessBoost")), 1)])]),
|
|
19286
19291
|
_: 1
|
|
19287
19292
|
}, 8, ["modelValue"])) : N("", !0),
|
|
19288
|
-
|
|
19293
|
+
Vt.value?.freshness?.enabled ? (B(), P(A, { key: 1 }, [F("div", TT, [F("div", ET, [F("label", {
|
|
19289
19294
|
class: "block text-12 text-word-3",
|
|
19290
19295
|
for: c.freshnessScale
|
|
19291
19296
|
}, U(W(n)("hint.freshnessScale")), 9, DT), F("div", OT, [L(y, {
|
|
@@ -19296,8 +19301,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19296
19301
|
value: W(n)("hint.freshnessScaleTooltip")
|
|
19297
19302
|
}, null, 8, ["value"])])]), L(d, {
|
|
19298
19303
|
id: c.freshnessScale,
|
|
19299
|
-
modelValue:
|
|
19300
|
-
"onUpdate:modelValue": a[18] ||= (e) =>
|
|
19304
|
+
modelValue: Ht.value,
|
|
19305
|
+
"onUpdate:modelValue": a[18] ||= (e) => Ht.value = e,
|
|
19301
19306
|
name: "freshnessScale",
|
|
19302
19307
|
min: "1",
|
|
19303
19308
|
max: "365",
|
|
@@ -19319,11 +19324,11 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19319
19324
|
position: "bottom",
|
|
19320
19325
|
value: W(n)("hint.freshnessWeightTooltip")
|
|
19321
19326
|
}, null, 8, ["value"])])]),
|
|
19322
|
-
|
|
19327
|
+
Vt.value?.freshness ? (B(), M(d, {
|
|
19323
19328
|
key: 0,
|
|
19324
19329
|
id: c.freshnessWeight,
|
|
19325
|
-
modelValue:
|
|
19326
|
-
"onUpdate:modelValue": a[19] ||= (e) =>
|
|
19330
|
+
modelValue: Vt.value.freshness.weight,
|
|
19331
|
+
"onUpdate:modelValue": a[19] ||= (e) => Vt.value.freshness.weight = e,
|
|
19327
19332
|
name: "freshnessWeight",
|
|
19328
19333
|
min: "0.05",
|
|
19329
19334
|
max: "0.5",
|
|
@@ -19335,12 +19340,12 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19335
19340
|
"modelValue",
|
|
19336
19341
|
"format-value"
|
|
19337
19342
|
])) : N("", !0),
|
|
19338
|
-
F("p", NT, U(
|
|
19343
|
+
F("p", NT, U(Ut.value), 1)
|
|
19339
19344
|
])], 64)) : N("", !0),
|
|
19340
|
-
|
|
19345
|
+
Vt.value?.mmr ? (B(), M(f, {
|
|
19341
19346
|
key: 2,
|
|
19342
|
-
modelValue:
|
|
19343
|
-
"onUpdate:modelValue": a[20] ||= (e) =>
|
|
19347
|
+
modelValue: Vt.value.mmr.enabled,
|
|
19348
|
+
"onUpdate:modelValue": a[20] ||= (e) => Vt.value.mmr.enabled = e,
|
|
19344
19349
|
name: "mmrEnabled",
|
|
19345
19350
|
switch: "",
|
|
19346
19351
|
value: !0,
|
|
@@ -19350,7 +19355,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19350
19355
|
default: q(() => [F("div", PT, [F("strong", null, U(W(n)("label.mmr")), 1), F("small", FT, U(W(n)("hint.mmr")), 1)])]),
|
|
19351
19356
|
_: 1
|
|
19352
19357
|
}, 8, ["modelValue"])) : N("", !0),
|
|
19353
|
-
|
|
19358
|
+
Vt.value?.mmr?.enabled ? (B(), P(A, { key: 3 }, [F("div", IT, [F("div", LT, [F("label", {
|
|
19354
19359
|
class: "block text-12 text-word-3",
|
|
19355
19360
|
for: c.mmrDiversity
|
|
19356
19361
|
}, U(W(n)("label.mmrDiversity")), 9, RT), F("div", zT, [L(y, {
|
|
@@ -19359,11 +19364,11 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19359
19364
|
}), L(b, {
|
|
19360
19365
|
position: "bottom",
|
|
19361
19366
|
value: W(n)("hint.mmrDiversityTooltip")
|
|
19362
|
-
}, null, 8, ["value"])])]),
|
|
19367
|
+
}, null, 8, ["value"])])]), Vt.value?.mmr ? (B(), M(d, {
|
|
19363
19368
|
key: 0,
|
|
19364
19369
|
id: c.mmrDiversity,
|
|
19365
|
-
modelValue:
|
|
19366
|
-
"onUpdate:modelValue": a[21] ||= (e) =>
|
|
19370
|
+
modelValue: Vt.value.mmr.diversity,
|
|
19371
|
+
"onUpdate:modelValue": a[21] ||= (e) => Vt.value.mmr.diversity = e,
|
|
19367
19372
|
name: "mmrDiversity",
|
|
19368
19373
|
min: "0",
|
|
19369
19374
|
max: "1",
|
|
@@ -19383,11 +19388,11 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19383
19388
|
}), L(b, {
|
|
19384
19389
|
position: "bottom",
|
|
19385
19390
|
value: W(n)("hint.mmrCandidatesLimitTooltip")
|
|
19386
|
-
}, null, 8, ["value"])])]),
|
|
19391
|
+
}, null, 8, ["value"])])]), Vt.value?.mmr ? (B(), M(d, {
|
|
19387
19392
|
key: 0,
|
|
19388
19393
|
id: c.mmrCandidatesLimit,
|
|
19389
|
-
modelValue:
|
|
19390
|
-
"onUpdate:modelValue": a[22] ||= (e) =>
|
|
19394
|
+
modelValue: Vt.value.mmr.candidatesLimit,
|
|
19395
|
+
"onUpdate:modelValue": a[22] ||= (e) => Vt.value.mmr.candidatesLimit = e,
|
|
19391
19396
|
name: "mmrCandidatesLimit",
|
|
19392
19397
|
min: "20",
|
|
19393
19398
|
max: "100",
|
|
@@ -19408,8 +19413,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19408
19413
|
class: "mb-0"
|
|
19409
19414
|
}, {
|
|
19410
19415
|
default: q(() => [L(f, {
|
|
19411
|
-
modelValue:
|
|
19412
|
-
"onUpdate:modelValue": a[23] ||= (e) =>
|
|
19416
|
+
modelValue: Nt.value,
|
|
19417
|
+
"onUpdate:modelValue": a[23] ||= (e) => Nt.value = e,
|
|
19413
19418
|
name: "zeroDataRetention",
|
|
19414
19419
|
switch: "",
|
|
19415
19420
|
value: !0,
|
|
@@ -19418,10 +19423,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19418
19423
|
}, {
|
|
19419
19424
|
default: q(() => [F("div", WT, [F("strong", null, U(W(n)("label.zeroDataRetention")), 1), F("small", GT, U(W(n)("hint.zeroDataRetention")), 1)])]),
|
|
19420
19425
|
_: 1
|
|
19421
|
-
}, 8, ["modelValue"]),
|
|
19426
|
+
}, 8, ["modelValue"]), Nt.value ? N("", !0) : (B(), M(f, {
|
|
19422
19427
|
key: 0,
|
|
19423
|
-
modelValue:
|
|
19424
|
-
"onUpdate:modelValue": a[24] ||= (e) =>
|
|
19428
|
+
modelValue: Pt.value,
|
|
19429
|
+
"onUpdate:modelValue": a[24] ||= (e) => Pt.value = e,
|
|
19425
19430
|
name: "disallowPromptTraining",
|
|
19426
19431
|
switch: "",
|
|
19427
19432
|
value: !0,
|
|
@@ -19439,8 +19444,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19439
19444
|
class: "mb-0 mt-md"
|
|
19440
19445
|
}, {
|
|
19441
19446
|
default: q(() => [L(f, {
|
|
19442
|
-
modelValue:
|
|
19443
|
-
"onUpdate:modelValue": a[25] ||= (e) =>
|
|
19447
|
+
modelValue: et.value,
|
|
19448
|
+
"onUpdate:modelValue": a[25] ||= (e) => et.value = e,
|
|
19444
19449
|
name: "voiceEnabled",
|
|
19445
19450
|
switch: "",
|
|
19446
19451
|
value: !0,
|
|
@@ -19449,38 +19454,38 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19449
19454
|
}, {
|
|
19450
19455
|
default: q(() => [F("div", JT, [F("strong", null, U(W(n)("label.voiceEnabled")), 1), F("small", YT, U(W(n)("hint.voiceEnabled")), 1)])]),
|
|
19451
19456
|
_: 1
|
|
19452
|
-
}, 8, ["modelValue"]),
|
|
19453
|
-
|
|
19457
|
+
}, 8, ["modelValue"]), et.value ? (B(), P(A, { key: 0 }, [
|
|
19458
|
+
ln.value.length ? (B(), M(KC, {
|
|
19454
19459
|
key: 0,
|
|
19455
19460
|
level: "warning",
|
|
19456
19461
|
class: "mt-md mb-0"
|
|
19457
19462
|
}, {
|
|
19458
|
-
default: q(() => [I(U(W(n)("hint.voiceApprovalRefused", { tools:
|
|
19463
|
+
default: q(() => [I(U(W(n)("hint.voiceApprovalRefused", { tools: ln.value.join(", ") })), 1)]),
|
|
19459
19464
|
_: 1
|
|
19460
19465
|
})) : N("", !0),
|
|
19461
19466
|
F("div", XT, [L(o, {
|
|
19462
|
-
modelValue:
|
|
19463
|
-
"onUpdate:modelValue": a[27] ||= (e) =>
|
|
19467
|
+
modelValue: rt.value,
|
|
19468
|
+
"onUpdate:modelValue": a[27] ||= (e) => rt.value = e,
|
|
19464
19469
|
name: "voiceId",
|
|
19465
19470
|
icon: "ri:user-voice-line",
|
|
19466
19471
|
strategy: "fixed",
|
|
19467
19472
|
class: "flex-1 mb-0",
|
|
19468
19473
|
searchable: "",
|
|
19469
19474
|
label: W(n)("label.voiceId"),
|
|
19470
|
-
"hint-label":
|
|
19475
|
+
"hint-label": yt.value,
|
|
19471
19476
|
placeholder: W(n)("placeholder.select"),
|
|
19472
19477
|
"select-hint-label": "",
|
|
19473
19478
|
"deselect-hint-label": "",
|
|
19474
19479
|
"selected-hint-label": "",
|
|
19475
|
-
options:
|
|
19476
|
-
"search-function":
|
|
19480
|
+
options: _t.value,
|
|
19481
|
+
"search-function": vt
|
|
19477
19482
|
}, {
|
|
19478
19483
|
after: q(() => [L(T, {
|
|
19479
19484
|
modifiers: "action-quiet",
|
|
19480
|
-
icon:
|
|
19481
|
-
disabled: !
|
|
19482
|
-
title: W(n)(
|
|
19483
|
-
onClick: a[26] ||= (e) =>
|
|
19485
|
+
icon: xt.value ? "ri:stop-circle-line" : "ri:play-circle-line",
|
|
19486
|
+
disabled: !Tt.value,
|
|
19487
|
+
title: W(n)(xt.value ? "action.stopVoicePreview" : "action.playVoicePreview"),
|
|
19488
|
+
onClick: a[26] ||= (e) => wt()
|
|
19484
19489
|
}, null, 8, [
|
|
19485
19490
|
"icon",
|
|
19486
19491
|
"disabled",
|
|
@@ -19496,8 +19501,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19496
19501
|
"options"
|
|
19497
19502
|
])]),
|
|
19498
19503
|
L(o, {
|
|
19499
|
-
modelValue:
|
|
19500
|
-
"onUpdate:modelValue": a[28] ||= (e) =>
|
|
19504
|
+
modelValue: it.value,
|
|
19505
|
+
"onUpdate:modelValue": a[28] ||= (e) => it.value = e,
|
|
19501
19506
|
name: "voiceLanguage",
|
|
19502
19507
|
icon: "ri:translate-2",
|
|
19503
19508
|
strategy: "fixed",
|
|
@@ -19509,7 +19514,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19509
19514
|
"select-hint-label": "",
|
|
19510
19515
|
"deselect-hint-label": "",
|
|
19511
19516
|
"selected-hint-label": "",
|
|
19512
|
-
options:
|
|
19517
|
+
options: ft.map((e) => ({
|
|
19513
19518
|
label: W(n)(`language.${e}`),
|
|
19514
19519
|
value: e
|
|
19515
19520
|
}))
|
|
@@ -19521,8 +19526,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19521
19526
|
"options"
|
|
19522
19527
|
]),
|
|
19523
19528
|
L(u, {
|
|
19524
|
-
modelValue:
|
|
19525
|
-
"onUpdate:modelValue": a[29] ||= (e) =>
|
|
19529
|
+
modelValue: at.value,
|
|
19530
|
+
"onUpdate:modelValue": a[29] ||= (e) => at.value = e,
|
|
19526
19531
|
name: "voiceFirstMessage",
|
|
19527
19532
|
maxlength: "300",
|
|
19528
19533
|
class: "mb-0 mt-md",
|
|
@@ -19542,8 +19547,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19542
19547
|
}, {
|
|
19543
19548
|
default: q(() => [F("div", eE, [
|
|
19544
19549
|
L(f, {
|
|
19545
|
-
modelValue:
|
|
19546
|
-
"onUpdate:modelValue": a[30] ||= (e) =>
|
|
19550
|
+
modelValue: lt.value,
|
|
19551
|
+
"onUpdate:modelValue": a[30] ||= (e) => lt.value = e,
|
|
19547
19552
|
name: "voiceIgnoreBackgroundVoices",
|
|
19548
19553
|
switch: "",
|
|
19549
19554
|
value: !0,
|
|
@@ -19554,8 +19559,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19554
19559
|
_: 1
|
|
19555
19560
|
}, 8, ["modelValue"]),
|
|
19556
19561
|
L(o, {
|
|
19557
|
-
modelValue:
|
|
19558
|
-
"onUpdate:modelValue": a[31] ||= (e) =>
|
|
19562
|
+
modelValue: ut.value,
|
|
19563
|
+
"onUpdate:modelValue": a[31] ||= (e) => ut.value = e,
|
|
19559
19564
|
name: "voiceTurnEagerness",
|
|
19560
19565
|
icon: "ri:hourglass-line",
|
|
19561
19566
|
strategy: "fixed",
|
|
@@ -19589,8 +19594,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19589
19594
|
"options"
|
|
19590
19595
|
]),
|
|
19591
19596
|
F("div", rE, [L(u, {
|
|
19592
|
-
modelValue:
|
|
19593
|
-
"onUpdate:modelValue": a[32] ||= (e) =>
|
|
19597
|
+
modelValue: dt.value,
|
|
19598
|
+
"onUpdate:modelValue": a[32] ||= (e) => dt.value = e,
|
|
19594
19599
|
name: "voiceTurnTimeoutSeconds",
|
|
19595
19600
|
type: "number",
|
|
19596
19601
|
min: "1",
|
|
@@ -19604,8 +19609,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19604
19609
|
"label",
|
|
19605
19610
|
"placeholder"
|
|
19606
19611
|
]), L(u, {
|
|
19607
|
-
modelValue:
|
|
19608
|
-
"onUpdate:modelValue": a[33] ||= (e) =>
|
|
19612
|
+
modelValue: ot.value,
|
|
19613
|
+
"onUpdate:modelValue": a[33] ||= (e) => ot.value = e,
|
|
19609
19614
|
name: "voiceCascadeTimeoutSeconds",
|
|
19610
19615
|
type: "number",
|
|
19611
19616
|
min: "5",
|
|
@@ -19621,8 +19626,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19621
19626
|
])]),
|
|
19622
19627
|
F("small", iE, U(W(n)("hint.voiceTurnTimeoutSeconds")), 1),
|
|
19623
19628
|
L(u, {
|
|
19624
|
-
modelValue:
|
|
19625
|
-
"onUpdate:modelValue": a[34] ||= (e) =>
|
|
19629
|
+
modelValue: tt.value,
|
|
19630
|
+
"onUpdate:modelValue": a[34] ||= (e) => tt.value = e,
|
|
19626
19631
|
name: "voiceMaxSessionSeconds",
|
|
19627
19632
|
type: "number",
|
|
19628
19633
|
min: "30",
|
|
@@ -19643,8 +19648,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19643
19648
|
_: 1
|
|
19644
19649
|
}),
|
|
19645
19650
|
L(u, {
|
|
19646
|
-
modelValue:
|
|
19647
|
-
"onUpdate:modelValue": a[35] ||= (e) =>
|
|
19651
|
+
modelValue: st.value,
|
|
19652
|
+
"onUpdate:modelValue": a[35] ||= (e) => st.value = e,
|
|
19648
19653
|
name: "voiceFillerAfterSeconds",
|
|
19649
19654
|
type: "number",
|
|
19650
19655
|
min: "0.5",
|
|
@@ -19661,8 +19666,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19661
19666
|
"placeholder"
|
|
19662
19667
|
]),
|
|
19663
19668
|
L(u, {
|
|
19664
|
-
modelValue:
|
|
19665
|
-
"onUpdate:modelValue": a[36] ||= (e) =>
|
|
19669
|
+
modelValue: ct.value,
|
|
19670
|
+
"onUpdate:modelValue": a[36] ||= (e) => ct.value = e,
|
|
19666
19671
|
name: "voiceFillerMessage",
|
|
19667
19672
|
maxlength: "200",
|
|
19668
19673
|
class: "mb-0 mt-md",
|
|
@@ -19683,8 +19688,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19683
19688
|
}, 8, ["legend"])) : N("", !0),
|
|
19684
19689
|
e.playground ? N("", !0) : (B(), M(cT, {
|
|
19685
19690
|
key: 2,
|
|
19686
|
-
modelValue:
|
|
19687
|
-
"onUpdate:modelValue": a[37] ||= (e) =>
|
|
19691
|
+
modelValue: Rt.value,
|
|
19692
|
+
"onUpdate:modelValue": a[37] ||= (e) => Rt.value = e,
|
|
19688
19693
|
class: "mb-0 mt-md",
|
|
19689
19694
|
type: m.value
|
|
19690
19695
|
}, null, 8, ["modelValue", "type"]))
|
|
@@ -19695,8 +19700,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19695
19700
|
"panel::style": q(() => [
|
|
19696
19701
|
e.playground ? N("", !0) : (B(), M(EC, {
|
|
19697
19702
|
key: 0,
|
|
19698
|
-
modelValue:
|
|
19699
|
-
"onUpdate:modelValue": a[38] ||= (e) =>
|
|
19703
|
+
modelValue: Fe.value,
|
|
19704
|
+
"onUpdate:modelValue": a[38] ||= (e) => Fe.value = e,
|
|
19700
19705
|
name: "media",
|
|
19701
19706
|
label: W(n)("label.logo"),
|
|
19702
19707
|
placeholder: W(n)("placeholder.uploadFile"),
|
|
@@ -19712,7 +19717,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19712
19717
|
"label-add",
|
|
19713
19718
|
"label-remove"
|
|
19714
19719
|
])),
|
|
19715
|
-
|
|
19720
|
+
k.value ? (B(), M(t, {
|
|
19716
19721
|
key: 1,
|
|
19717
19722
|
modelValue: be.value,
|
|
19718
19723
|
"onUpdate:modelValue": a[39] ||= (e) => be.value = e,
|
|
@@ -19792,7 +19797,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19792
19797
|
class: "border border-surface-3 rounded-lg mt-md mb-md"
|
|
19793
19798
|
}, {
|
|
19794
19799
|
default: q(() => [F("div", aE, [
|
|
19795
|
-
|
|
19800
|
+
k.value ? (B(), M(GC, {
|
|
19796
19801
|
key: 0,
|
|
19797
19802
|
modelValue: Ce.value,
|
|
19798
19803
|
"onUpdate:modelValue": a[42] ||= (e) => Ce.value = e,
|
|
@@ -19806,10 +19811,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19806
19811
|
"label",
|
|
19807
19812
|
"hint-label"
|
|
19808
19813
|
])) : N("", !0),
|
|
19809
|
-
|
|
19814
|
+
k.value ? (B(), M(GC, {
|
|
19810
19815
|
key: 1,
|
|
19811
|
-
modelValue:
|
|
19812
|
-
"onUpdate:modelValue": a[43] ||= (e) =>
|
|
19816
|
+
modelValue: It.value,
|
|
19817
|
+
"onUpdate:modelValue": a[43] ||= (e) => It.value = e,
|
|
19813
19818
|
name: "smoothStream",
|
|
19814
19819
|
class: "mt-md mb-0",
|
|
19815
19820
|
switch: "",
|
|
@@ -19820,10 +19825,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19820
19825
|
"label",
|
|
19821
19826
|
"hint-label"
|
|
19822
19827
|
])) : N("", !0),
|
|
19823
|
-
!e.playground &&
|
|
19828
|
+
!e.playground && k.value ? (B(), M(GC, {
|
|
19824
19829
|
key: 2,
|
|
19825
|
-
modelValue:
|
|
19826
|
-
"onUpdate:modelValue": a[44] ||= (e) =>
|
|
19830
|
+
modelValue: we.value,
|
|
19831
|
+
"onUpdate:modelValue": a[44] ||= (e) => we.value = e,
|
|
19827
19832
|
name: "welcomePopup",
|
|
19828
19833
|
class: "mt-md mb-0",
|
|
19829
19834
|
switch: "",
|
|
@@ -19834,7 +19839,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19834
19839
|
"label",
|
|
19835
19840
|
"hint-label"
|
|
19836
19841
|
])) : N("", !0),
|
|
19837
|
-
!e.playground &&
|
|
19842
|
+
!e.playground && k.value && ce.value === "public" ? (B(), M(GC, {
|
|
19838
19843
|
key: 3,
|
|
19839
19844
|
modelValue: Ee.value,
|
|
19840
19845
|
"onUpdate:modelValue": a[45] ||= (e) => Ee.value = e,
|
|
@@ -19848,7 +19853,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19848
19853
|
"label",
|
|
19849
19854
|
"hint-label"
|
|
19850
19855
|
])) : N("", !0),
|
|
19851
|
-
!e.playground &&
|
|
19856
|
+
!e.playground && k.value ? (B(), M(t, {
|
|
19852
19857
|
key: 4,
|
|
19853
19858
|
modelValue: Oe.value,
|
|
19854
19859
|
"onUpdate:modelValue": a[46] ||= (e) => Oe.value = e,
|
|
@@ -19880,7 +19885,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19880
19885
|
"hint-label",
|
|
19881
19886
|
"options"
|
|
19882
19887
|
])) : N("", !0),
|
|
19883
|
-
!e.playground &&
|
|
19888
|
+
!e.playground && k.value ? (B(), M(t, {
|
|
19884
19889
|
key: 5,
|
|
19885
19890
|
modelValue: De.value,
|
|
19886
19891
|
"onUpdate:modelValue": a[47] ||= (e) => De.value = e,
|
|
@@ -19910,20 +19915,20 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19910
19915
|
"label",
|
|
19911
19916
|
"options"
|
|
19912
19917
|
])) : N("", !0),
|
|
19913
|
-
!e.playground &&
|
|
19918
|
+
!e.playground && k.value && Oe.value === "floating" ? (B(), M(t, {
|
|
19914
19919
|
key: 6,
|
|
19915
19920
|
modelValue: Ae.value,
|
|
19916
19921
|
"onUpdate:modelValue": a[48] ||= (e) => Ae.value = e,
|
|
19917
|
-
name: "
|
|
19922
|
+
name: "appearance",
|
|
19918
19923
|
segmented: "",
|
|
19919
|
-
label: W(n)("label.
|
|
19920
|
-
"hint-label": Ae.value === "
|
|
19924
|
+
label: W(n)("label.widgetAppearance"),
|
|
19925
|
+
"hint-label": Ae.value === "glass" ? W(n)("hint.widgetAppearanceGlass") : W(n)("hint.widgetAppearanceSolid"),
|
|
19921
19926
|
options: [{
|
|
19922
|
-
label: W(n)("label.
|
|
19923
|
-
value: "
|
|
19927
|
+
label: W(n)("label.widgetAppearanceSolid"),
|
|
19928
|
+
value: "solid"
|
|
19924
19929
|
}, {
|
|
19925
|
-
label: W(n)("label.
|
|
19926
|
-
value: "
|
|
19930
|
+
label: W(n)("label.widgetAppearanceGlass"),
|
|
19931
|
+
value: "glass"
|
|
19927
19932
|
}],
|
|
19928
19933
|
class: "mt-md mb-0"
|
|
19929
19934
|
}, null, 8, [
|
|
@@ -19932,10 +19937,24 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19932
19937
|
"hint-label",
|
|
19933
19938
|
"options"
|
|
19934
19939
|
])) : N("", !0),
|
|
19935
|
-
!e.playground &&
|
|
19940
|
+
!e.playground && k.value ? (B(), M(GC, {
|
|
19936
19941
|
key: 7,
|
|
19942
|
+
modelValue: je.value,
|
|
19943
|
+
"onUpdate:modelValue": a[49] ||= (e) => je.value = e,
|
|
19944
|
+
name: "hideFloatingButton",
|
|
19945
|
+
class: "mt-md mb-0",
|
|
19946
|
+
switch: "",
|
|
19947
|
+
label: W(n)("label.hideFloatingButton"),
|
|
19948
|
+
"hint-label": W(n)("hint.hideFloatingButton")
|
|
19949
|
+
}, null, 8, [
|
|
19950
|
+
"modelValue",
|
|
19951
|
+
"label",
|
|
19952
|
+
"hint-label"
|
|
19953
|
+
])) : N("", !0),
|
|
19954
|
+
!e.playground && k.value && Oe.value === "copilot" ? (B(), M(GC, {
|
|
19955
|
+
key: 8,
|
|
19937
19956
|
modelValue: ke.value,
|
|
19938
|
-
"onUpdate:modelValue": a[
|
|
19957
|
+
"onUpdate:modelValue": a[50] ||= (e) => ke.value = e,
|
|
19939
19958
|
name: "workingGlow",
|
|
19940
19959
|
class: "mt-md mb-0",
|
|
19941
19960
|
switch: "",
|
|
@@ -19946,10 +19965,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19946
19965
|
"label",
|
|
19947
19966
|
"hint-label"
|
|
19948
19967
|
])) : N("", !0),
|
|
19949
|
-
!e.playground &&
|
|
19950
|
-
key:
|
|
19951
|
-
modelValue:
|
|
19952
|
-
"onUpdate:modelValue": a[
|
|
19968
|
+
!e.playground && k.value && Oe.value === "copilot" ? (B(), M(Zo, {
|
|
19969
|
+
key: 9,
|
|
19970
|
+
modelValue: Me.value,
|
|
19971
|
+
"onUpdate:modelValue": a[51] ||= (e) => Me.value = e,
|
|
19953
19972
|
language: "css",
|
|
19954
19973
|
class: "mt-md mb-0",
|
|
19955
19974
|
label: W(n)("label.copilotPageCss"),
|
|
@@ -19961,10 +19980,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19961
19980
|
"hint-label",
|
|
19962
19981
|
"placeholder"
|
|
19963
19982
|
])) : N("", !0),
|
|
19964
|
-
|
|
19965
|
-
key:
|
|
19966
|
-
modelValue:
|
|
19967
|
-
"onUpdate:modelValue": a[
|
|
19983
|
+
k.value ? (B(), M(u, {
|
|
19984
|
+
key: 10,
|
|
19985
|
+
modelValue: Pe.value,
|
|
19986
|
+
"onUpdate:modelValue": a[52] ||= (e) => Pe.value = e,
|
|
19968
19987
|
name: "maxMessageLength",
|
|
19969
19988
|
type: "number",
|
|
19970
19989
|
min: "1",
|
|
@@ -19978,9 +19997,9 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19978
19997
|
"placeholder"
|
|
19979
19998
|
])) : N("", !0),
|
|
19980
19999
|
e.playground ? N("", !0) : (B(), M(Zo, {
|
|
19981
|
-
key:
|
|
19982
|
-
modelValue:
|
|
19983
|
-
"onUpdate:modelValue": a[
|
|
20000
|
+
key: 11,
|
|
20001
|
+
modelValue: At.value,
|
|
20002
|
+
"onUpdate:modelValue": a[53] ||= (e) => At.value = e,
|
|
19984
20003
|
language: "css",
|
|
19985
20004
|
class: "mt-md mb-0",
|
|
19986
20005
|
label: W(n)("label.customCss"),
|
|
@@ -19995,7 +20014,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
19995
20014
|
])]),
|
|
19996
20015
|
_: 1
|
|
19997
20016
|
}, 8, ["title"]),
|
|
19998
|
-
|
|
20017
|
+
k.value ? (B(), M(he, {
|
|
19999
20018
|
key: 2,
|
|
20000
20019
|
items: s.value.map((e) => ({
|
|
20001
20020
|
tab: e,
|
|
@@ -20089,16 +20108,16 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20089
20108
|
"placeholder",
|
|
20090
20109
|
"onUpdate:modelValue"
|
|
20091
20110
|
]),
|
|
20092
|
-
!
|
|
20111
|
+
!He.value.includes(W(E).ShowContactForm) && !$t.value.has(W(E).ShowContactForm) ? (B(), M(NC, {
|
|
20093
20112
|
key: 0,
|
|
20094
|
-
"model-value":
|
|
20113
|
+
"model-value": jt.value?.[e] ?? "",
|
|
20095
20114
|
name: `privacyPolicyNotice.${e}`,
|
|
20096
20115
|
label: W(n)("label.privacyPolicyNotice"),
|
|
20097
20116
|
placeholder: W(n)("placeholder.insert"),
|
|
20098
20117
|
"hint-label": W(n)("hint.privacyPolicyNotice"),
|
|
20099
20118
|
class: "mb-0",
|
|
20100
|
-
"onUpdate:modelValue": (t) =>
|
|
20101
|
-
...
|
|
20119
|
+
"onUpdate:modelValue": (t) => jt.value = {
|
|
20120
|
+
...jt.value,
|
|
20102
20121
|
[e]: t ?? ""
|
|
20103
20122
|
}
|
|
20104
20123
|
}, null, 8, [
|
|
@@ -20118,8 +20137,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20118
20137
|
legend: W(n)("label.fileUpload")
|
|
20119
20138
|
}, {
|
|
20120
20139
|
default: q(() => [L(GC, {
|
|
20121
|
-
modelValue:
|
|
20122
|
-
"onUpdate:modelValue": a[
|
|
20140
|
+
modelValue: Qe.value,
|
|
20141
|
+
"onUpdate:modelValue": a[54] ||= (e) => Qe.value = e,
|
|
20123
20142
|
disabled: e.playground,
|
|
20124
20143
|
name: "fileUploadEnabled",
|
|
20125
20144
|
switch: "",
|
|
@@ -20130,10 +20149,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20130
20149
|
"disabled",
|
|
20131
20150
|
"label",
|
|
20132
20151
|
"hint-label"
|
|
20133
|
-
]),
|
|
20152
|
+
]), Qe.value ? (B(), P(A, { key: 0 }, [
|
|
20134
20153
|
L(u, {
|
|
20135
|
-
modelValue:
|
|
20136
|
-
"onUpdate:modelValue": a[
|
|
20154
|
+
modelValue: Qt.value,
|
|
20155
|
+
"onUpdate:modelValue": a[55] ||= (e) => Qt.value = e,
|
|
20137
20156
|
disabled: e.playground,
|
|
20138
20157
|
name: "fileUploadMaxFileSize",
|
|
20139
20158
|
type: "number",
|
|
@@ -20148,15 +20167,15 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20148
20167
|
"placeholder"
|
|
20149
20168
|
]),
|
|
20150
20169
|
L(o, {
|
|
20151
|
-
modelValue:
|
|
20152
|
-
"onUpdate:modelValue": a[
|
|
20170
|
+
modelValue: Zt.value,
|
|
20171
|
+
"onUpdate:modelValue": a[56] ||= (e) => Zt.value = e,
|
|
20153
20172
|
disabled: e.playground,
|
|
20154
20173
|
name: "fileUploadAllowedMimeTypes",
|
|
20155
20174
|
"select-hint-label": "",
|
|
20156
20175
|
"deselect-hint-label": "",
|
|
20157
20176
|
label: W(n)("label.fileUploadAllowedMimeTypes"),
|
|
20158
20177
|
placeholder: W(n)("placeholder.select"),
|
|
20159
|
-
options:
|
|
20178
|
+
options: Yt.value,
|
|
20160
20179
|
badges: "",
|
|
20161
20180
|
multiple: "",
|
|
20162
20181
|
strategy: "fixed"
|
|
@@ -20168,8 +20187,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20168
20187
|
"options"
|
|
20169
20188
|
]),
|
|
20170
20189
|
F("div", oE, [L(u, {
|
|
20171
|
-
modelValue:
|
|
20172
|
-
"onUpdate:modelValue": a[
|
|
20190
|
+
modelValue: Ot.value,
|
|
20191
|
+
"onUpdate:modelValue": a[57] ||= (e) => Ot.value = e,
|
|
20173
20192
|
disabled: e.playground,
|
|
20174
20193
|
name: "fileUploadMaxFilesPerMessage",
|
|
20175
20194
|
type: "number",
|
|
@@ -20183,8 +20202,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20183
20202
|
"label",
|
|
20184
20203
|
"placeholder"
|
|
20185
20204
|
]), L(u, {
|
|
20186
|
-
modelValue:
|
|
20187
|
-
"onUpdate:modelValue": a[
|
|
20205
|
+
modelValue: kt.value,
|
|
20206
|
+
"onUpdate:modelValue": a[58] ||= (e) => kt.value = e,
|
|
20188
20207
|
disabled: e.playground,
|
|
20189
20208
|
name: "fileUploadMaxFilesPerChat",
|
|
20190
20209
|
type: "number",
|
|
@@ -20206,10 +20225,10 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20206
20225
|
legend: W(n)("label.webSearch")
|
|
20207
20226
|
}, {
|
|
20208
20227
|
default: q(() => [L(sT, {
|
|
20209
|
-
"web-search":
|
|
20210
|
-
"onUpdate:webSearch": a[
|
|
20211
|
-
"active-provider":
|
|
20212
|
-
"fallback-models":
|
|
20228
|
+
"web-search": ve.value,
|
|
20229
|
+
"onUpdate:webSearch": a[59] ||= (e) => ve.value = e,
|
|
20230
|
+
"active-provider": O.value,
|
|
20231
|
+
"fallback-models": Mt.value
|
|
20213
20232
|
}, null, 8, [
|
|
20214
20233
|
"web-search",
|
|
20215
20234
|
"active-provider",
|
|
@@ -20222,12 +20241,12 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20222
20241
|
legend: W(n)("label.toolWorkingSet")
|
|
20223
20242
|
}, {
|
|
20224
20243
|
default: q(() => [L(o, {
|
|
20225
|
-
modelValue:
|
|
20226
|
-
"onUpdate:modelValue": a[
|
|
20244
|
+
modelValue: $e.value,
|
|
20245
|
+
"onUpdate:modelValue": a[60] ||= (e) => $e.value = e,
|
|
20227
20246
|
disabled: e.playground,
|
|
20228
20247
|
name: "toolWorkingSetMode",
|
|
20229
20248
|
label: W(n)("label.toolWorkingSetMode"),
|
|
20230
|
-
options:
|
|
20249
|
+
options: Xt.value,
|
|
20231
20250
|
unselectable: !1,
|
|
20232
20251
|
"select-hint-label": "",
|
|
20233
20252
|
"deselect-hint-label": "",
|
|
@@ -20240,12 +20259,12 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20240
20259
|
"label",
|
|
20241
20260
|
"options"
|
|
20242
20261
|
]), L(KC, { class: "mt-md mb-0" }, {
|
|
20243
|
-
default: q(() => [I(U(W(n)(`hint.toolWorkingSetMode.${
|
|
20262
|
+
default: q(() => [I(U(W(n)(`hint.toolWorkingSetMode.${$e.value}`)), 1)]),
|
|
20244
20263
|
_: 1
|
|
20245
20264
|
})]),
|
|
20246
20265
|
_: 1
|
|
20247
20266
|
}, 8, ["legend"])) : N("", !0),
|
|
20248
|
-
F("div", sE, [F("p", cE, U(W(n)("hint.approvalChannels")), 1), (B(!0), P(A, null, $r(
|
|
20267
|
+
F("div", sE, [F("p", cE, U(W(n)("hint.approvalChannels")), 1), (B(!0), P(A, null, $r(tn.value, (t) => (B(), P(A, { key: t.key }, [k.value || !t.tools.every((e) => rn(e)) ? (B(), M(es, {
|
|
20249
20268
|
key: 0,
|
|
20250
20269
|
class: "mb-0"
|
|
20251
20270
|
}, {
|
|
@@ -20253,34 +20272,34 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20253
20272
|
name: t.icon,
|
|
20254
20273
|
class: "text-16"
|
|
20255
20274
|
}, null, 8, ["name"]), I(" " + U(W(n)(`toolGroup.${t.key}`)), 1)])]),
|
|
20256
|
-
default: q(() => [F("p", uE, U(W(n)(`toolGroupInfo.${t.key}`)), 1), F("div", dE, [(B(!0), P(A, null, $r(t.tools, (t) => (B(), P(A, { key: t }, [!
|
|
20275
|
+
default: q(() => [F("p", uE, U(W(n)(`toolGroupInfo.${t.key}`)), 1), F("div", dE, [(B(!0), P(A, null, $r(t.tools, (t) => (B(), P(A, { key: t }, [!rn(t) || k.value ? (B(), P(A, { key: 0 }, [L(f, {
|
|
20257
20276
|
class: "flex-nowrap border-t border-surface-3 mr-0 px-md pt-md",
|
|
20258
|
-
"model-value":
|
|
20277
|
+
"model-value": on(t),
|
|
20259
20278
|
name: `tool.${t}`,
|
|
20260
20279
|
value: !0,
|
|
20261
20280
|
"unchecked-value": !1,
|
|
20262
|
-
disabled: !
|
|
20281
|
+
disabled: !nn(t),
|
|
20263
20282
|
switch: "",
|
|
20264
|
-
"onUpdate:modelValue": (e) =>
|
|
20283
|
+
"onUpdate:modelValue": (e) => dn(t, e)
|
|
20265
20284
|
}, {
|
|
20266
20285
|
default: q(() => [F("div", fE, [
|
|
20267
20286
|
F("div", pE, [
|
|
20268
20287
|
F("strong", mE, U(W(n)(`agent.tool.${t}`)), 1),
|
|
20269
|
-
t === W(E).ShowMultipleChoice ? (B(), M(
|
|
20288
|
+
t === W(E).ShowMultipleChoice ? (B(), M(_e, {
|
|
20270
20289
|
key: 0,
|
|
20271
20290
|
modifiers: "gray sm"
|
|
20272
20291
|
}, {
|
|
20273
20292
|
default: q(() => [I(U(W(n)("label.deprecated")), 1)]),
|
|
20274
20293
|
_: 1
|
|
20275
20294
|
})) : N("", !0),
|
|
20276
|
-
|
|
20295
|
+
cn(t) ? (B(), M(Vw, { key: 1 })) : N("", !0)
|
|
20277
20296
|
]),
|
|
20278
20297
|
F("small", hE, U(W(n)(`hint.tool.${t}`)), 1),
|
|
20279
20298
|
W(oe)(t) && W(ae)(t) ? (B(), P("div", {
|
|
20280
20299
|
key: 0,
|
|
20281
20300
|
class: "flex items-center gap-4 self-start mt-4 pt-4 w-full border-t border-surface-3",
|
|
20282
20301
|
title: W(n)("hint.platformSupported")
|
|
20283
|
-
}, [L(
|
|
20302
|
+
}, [L(_e, {
|
|
20284
20303
|
modifiers: "ghost sm",
|
|
20285
20304
|
class: "inline-flex items-center gap-4"
|
|
20286
20305
|
}, {
|
|
@@ -20289,7 +20308,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20289
20308
|
class: "text-12"
|
|
20290
20309
|
}), I(" " + U(W(n)("label.whatsapp")), 1)]),
|
|
20291
20310
|
_: 1
|
|
20292
|
-
}), L(
|
|
20311
|
+
}), L(_e, {
|
|
20293
20312
|
modifiers: "ghost sm",
|
|
20294
20313
|
class: "inline-flex items-center gap-4"
|
|
20295
20314
|
}, {
|
|
@@ -20306,7 +20325,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20306
20325
|
"name",
|
|
20307
20326
|
"disabled",
|
|
20308
20327
|
"onUpdate:modelValue"
|
|
20309
|
-
]),
|
|
20328
|
+
]), sn(t) && on(t) ? (B(), M(te, {
|
|
20310
20329
|
key: 0,
|
|
20311
20330
|
title: W(n)("label.advancedOptions"),
|
|
20312
20331
|
modifiers: "details",
|
|
@@ -20314,8 +20333,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20314
20333
|
}, {
|
|
20315
20334
|
default: q(() => [F("div", _E, [
|
|
20316
20335
|
t === W(E).ShowForm ? (B(), P(A, { key: 0 }, [L(u, {
|
|
20317
|
-
modelValue:
|
|
20318
|
-
"onUpdate:modelValue": a[
|
|
20336
|
+
modelValue: qe.value,
|
|
20337
|
+
"onUpdate:modelValue": a[61] ||= (e) => qe.value = e,
|
|
20319
20338
|
name: "formMaxSteps",
|
|
20320
20339
|
type: "number",
|
|
20321
20340
|
min: 1,
|
|
@@ -20328,8 +20347,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20328
20347
|
"label",
|
|
20329
20348
|
"disabled"
|
|
20330
20349
|
]), L(u, {
|
|
20331
|
-
modelValue:
|
|
20332
|
-
"onUpdate:modelValue": a[
|
|
20350
|
+
modelValue: Je.value,
|
|
20351
|
+
"onUpdate:modelValue": a[62] ||= (e) => Je.value = e,
|
|
20333
20352
|
name: "formMaxOptionsPerStep",
|
|
20334
20353
|
type: "number",
|
|
20335
20354
|
min: 2,
|
|
@@ -20344,8 +20363,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20344
20363
|
])], 64)) : N("", !0),
|
|
20345
20364
|
t === W(E).UserMemory ? (B(), M(GC, {
|
|
20346
20365
|
key: 1,
|
|
20347
|
-
modelValue:
|
|
20348
|
-
"onUpdate:modelValue": a[
|
|
20366
|
+
modelValue: Ge.value,
|
|
20367
|
+
"onUpdate:modelValue": a[63] ||= (e) => Ge.value = e,
|
|
20349
20368
|
name: "useAllUserKb",
|
|
20350
20369
|
label: W(n)("agent.tool.useAllUserKb"),
|
|
20351
20370
|
"hint-label": W(n)("hint.tool.useAllUserKb"),
|
|
@@ -20358,8 +20377,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20358
20377
|
])) : N("", !0),
|
|
20359
20378
|
t === W(E).SearchInUserFiles ? (B(), M(GC, {
|
|
20360
20379
|
key: 2,
|
|
20361
|
-
modelValue:
|
|
20362
|
-
"onUpdate:modelValue": a[
|
|
20380
|
+
modelValue: Ke.value,
|
|
20381
|
+
"onUpdate:modelValue": a[64] ||= (e) => Ke.value = e,
|
|
20363
20382
|
name: "useAllUserFiles",
|
|
20364
20383
|
label: W(n)("agent.tool.useAllUserFiles"),
|
|
20365
20384
|
"hint-label": W(n)("hint.tool.useAllUserFiles"),
|
|
@@ -20372,13 +20391,13 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20372
20391
|
])) : N("", !0),
|
|
20373
20392
|
W(ee)(t) ? (B(), M(GC, {
|
|
20374
20393
|
key: 3,
|
|
20375
|
-
"model-value":
|
|
20394
|
+
"model-value": cn(t),
|
|
20376
20395
|
name: `tool.${t}.approval`,
|
|
20377
20396
|
label: W(n)("label.toolRequiresApproval"),
|
|
20378
20397
|
"hint-label": W(n)("hint.toolRequiresApproval"),
|
|
20379
20398
|
disabled: e.playground,
|
|
20380
20399
|
class: "mb-0",
|
|
20381
|
-
"onUpdate:modelValue": (e) =>
|
|
20400
|
+
"onUpdate:modelValue": (e) => un(t, e)
|
|
20382
20401
|
}, null, 8, [
|
|
20383
20402
|
"model-value",
|
|
20384
20403
|
"name",
|
|
@@ -20394,7 +20413,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20394
20413
|
}, 1024)) : N("", !0)], 64))), 128))])
|
|
20395
20414
|
]),
|
|
20396
20415
|
"panel::embed": q(() => [F("div", vE, [
|
|
20397
|
-
|
|
20416
|
+
Rt.value.includes(W(ye).Widget) ? N("", !0) : (B(), M(KC, {
|
|
20398
20417
|
key: 0,
|
|
20399
20418
|
level: "warning",
|
|
20400
20419
|
class: "mb-0"
|
|
@@ -20402,7 +20421,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20402
20421
|
default: q(() => [I(U(W(n)("hint.channelWidgetDisabled")), 1)]),
|
|
20403
20422
|
_: 1
|
|
20404
20423
|
})),
|
|
20405
|
-
|
|
20424
|
+
Rt.value.includes(W(ye).App) ? N("", !0) : (B(), M(KC, {
|
|
20406
20425
|
key: 1,
|
|
20407
20426
|
level: "warning",
|
|
20408
20427
|
class: "mb-0"
|
|
@@ -20411,9 +20430,9 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20411
20430
|
_: 1
|
|
20412
20431
|
})),
|
|
20413
20432
|
F("div", null, [F("h3", yE, U(W(n)("label.chatWidget")), 1), F("p", bE, U(W(n)("hint.embedCode")), 1)]),
|
|
20414
|
-
L(dT, { source:
|
|
20433
|
+
L(dT, { source: hn.value }, {
|
|
20415
20434
|
default: q(() => [L(Ct, {
|
|
20416
|
-
code:
|
|
20435
|
+
code: hn.value,
|
|
20417
20436
|
language: "html",
|
|
20418
20437
|
line: "",
|
|
20419
20438
|
class: "text-12 overflow-hidden font-mono leading-snug bg-surface-1"
|
|
@@ -20421,8 +20440,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20421
20440
|
_: 1
|
|
20422
20441
|
}, 8, ["source"]),
|
|
20423
20442
|
e.playground ? N("", !0) : (B(), P("div", xE, [L(u, {
|
|
20424
|
-
modelValue:
|
|
20425
|
-
"onUpdate:modelValue": a[
|
|
20443
|
+
modelValue: Ye.value,
|
|
20444
|
+
"onUpdate:modelValue": a[65] ||= (e) => Ye.value = e,
|
|
20426
20445
|
name: "widgetUrl",
|
|
20427
20446
|
type: "url",
|
|
20428
20447
|
icon: "ri:links-line",
|
|
@@ -20439,8 +20458,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20439
20458
|
}, {
|
|
20440
20459
|
default: q(() => [F("div", SE, [
|
|
20441
20460
|
L(u, {
|
|
20442
|
-
modelValue:
|
|
20443
|
-
"onUpdate:modelValue": a[
|
|
20461
|
+
modelValue: Xe.value,
|
|
20462
|
+
"onUpdate:modelValue": a[66] ||= (e) => Xe.value = e,
|
|
20444
20463
|
name: "loadDelay",
|
|
20445
20464
|
type: "number",
|
|
20446
20465
|
step: "100",
|
|
@@ -20456,8 +20475,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20456
20475
|
"hint-label"
|
|
20457
20476
|
]),
|
|
20458
20477
|
L(o, {
|
|
20459
|
-
modelValue:
|
|
20460
|
-
"onUpdate:modelValue": a[
|
|
20478
|
+
modelValue: Ze.value,
|
|
20479
|
+
"onUpdate:modelValue": a[67] ||= (e) => Ze.value = e,
|
|
20461
20480
|
name: "loaderStrategy",
|
|
20462
20481
|
"select-hint-label": "",
|
|
20463
20482
|
"deselect-hint-label": "",
|
|
@@ -20467,15 +20486,15 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20467
20486
|
options: [
|
|
20468
20487
|
{
|
|
20469
20488
|
label: W(n)("label.loaderStrategyInlineModule"),
|
|
20470
|
-
value: W(
|
|
20489
|
+
value: W(Te).InlineModule
|
|
20471
20490
|
},
|
|
20472
20491
|
{
|
|
20473
20492
|
label: W(n)("label.loaderStrategyScriptSrc"),
|
|
20474
|
-
value: W(
|
|
20493
|
+
value: W(Te).ScriptSrc
|
|
20475
20494
|
},
|
|
20476
20495
|
{
|
|
20477
20496
|
label: W(n)("label.loaderStrategyDynamicImport"),
|
|
20478
|
-
value: W(
|
|
20497
|
+
value: W(Te).DynamicImport
|
|
20479
20498
|
}
|
|
20480
20499
|
]
|
|
20481
20500
|
}, null, 8, [
|
|
@@ -20483,20 +20502,20 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20483
20502
|
"label",
|
|
20484
20503
|
"options"
|
|
20485
20504
|
]),
|
|
20486
|
-
|
|
20505
|
+
Ze.value ? (B(), M(KC, {
|
|
20487
20506
|
key: 0,
|
|
20488
20507
|
class: "mt-md mb-0"
|
|
20489
20508
|
}, {
|
|
20490
|
-
default: q(() => [I(U(W(n)(`hint.loaderStrategy.${
|
|
20509
|
+
default: q(() => [I(U(W(n)(`hint.loaderStrategy.${Ze.value}`)), 1)]),
|
|
20491
20510
|
_: 1
|
|
20492
20511
|
})) : N("", !0)
|
|
20493
20512
|
])]),
|
|
20494
20513
|
_: 1
|
|
20495
20514
|
}, 8, ["title"])])),
|
|
20496
20515
|
F("div", null, [F("h3", CE, U(W(n)("label.iframe")), 1), F("p", wE, U(W(n)("hint.embedIframe")), 1)]),
|
|
20497
|
-
L(dT, { source:
|
|
20516
|
+
L(dT, { source: gn.value }, {
|
|
20498
20517
|
default: q(() => [L(Ct, {
|
|
20499
|
-
code:
|
|
20518
|
+
code: gn.value,
|
|
20500
20519
|
language: "html",
|
|
20501
20520
|
line: "",
|
|
20502
20521
|
class: "text-12 overflow-hidden font-mono leading-snug bg-surface-1"
|
|
@@ -20504,15 +20523,15 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20504
20523
|
_: 1
|
|
20505
20524
|
}, 8, ["source"]),
|
|
20506
20525
|
F("div", null, [F("h4", TE, U(W(n)("label.preview")), 1), F("p", EE, U(W(n)("hint.embedPreview")), 1)]),
|
|
20507
|
-
L(dT, { source:
|
|
20526
|
+
L(dT, { source: mn.value }, {
|
|
20508
20527
|
actions: q(() => [L(T, {
|
|
20509
20528
|
modifiers: "action-quiet-small",
|
|
20510
20529
|
icon: "ri:eye-line",
|
|
20511
20530
|
label: W(n)("action.view"),
|
|
20512
|
-
href:
|
|
20531
|
+
href: mn.value,
|
|
20513
20532
|
target: "_blank"
|
|
20514
20533
|
}, null, 8, ["label", "href"])]),
|
|
20515
|
-
default: q(() => [F("code", DE, U(
|
|
20534
|
+
default: q(() => [F("code", DE, U(mn.value), 1)]),
|
|
20516
20535
|
_: 1
|
|
20517
20536
|
}, 8, ["source"])
|
|
20518
20537
|
])]),
|
|
@@ -20523,8 +20542,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20523
20542
|
default: q(() => [
|
|
20524
20543
|
F("p", kE, U(W(n)("hint.externalContextSchema")), 1),
|
|
20525
20544
|
L(GC, {
|
|
20526
|
-
modelValue:
|
|
20527
|
-
"onUpdate:modelValue": a[
|
|
20545
|
+
modelValue: qt.value,
|
|
20546
|
+
"onUpdate:modelValue": a[68] ||= (e) => qt.value = e,
|
|
20528
20547
|
name: "externalContextEnabled",
|
|
20529
20548
|
switch: "",
|
|
20530
20549
|
label: W(n)("label.externalContextSchema"),
|
|
@@ -20534,27 +20553,27 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20534
20553
|
"label",
|
|
20535
20554
|
"hint-label"
|
|
20536
20555
|
]),
|
|
20537
|
-
|
|
20556
|
+
qt.value ? (B(), M(T, {
|
|
20538
20557
|
key: 0,
|
|
20539
20558
|
modifiers: "action-small",
|
|
20540
20559
|
icon: "ri:code-line",
|
|
20541
20560
|
class: "ml-auto",
|
|
20542
20561
|
label: W(n)("action.editSchema"),
|
|
20543
|
-
onClick: a[
|
|
20562
|
+
onClick: a[69] ||= (e) => Wt.value = !0
|
|
20544
20563
|
}, null, 8, ["label"])) : N("", !0),
|
|
20545
20564
|
L(Ne, {
|
|
20546
|
-
modelValue:
|
|
20547
|
-
"onUpdate:modelValue": a[
|
|
20565
|
+
modelValue: Wt.value,
|
|
20566
|
+
"onUpdate:modelValue": a[72] ||= (e) => Wt.value = e,
|
|
20548
20567
|
title: W(n)("label.externalContextSchema"),
|
|
20549
20568
|
"keep-open": ""
|
|
20550
20569
|
}, {
|
|
20551
20570
|
footer: q(() => [L(T, {
|
|
20552
20571
|
label: W(n)("action.close"),
|
|
20553
|
-
onClick: a[
|
|
20572
|
+
onClick: a[71] ||= (e) => Wt.value = !1
|
|
20554
20573
|
}, null, 8, ["label"])]),
|
|
20555
20574
|
default: q(() => [L(xs, {
|
|
20556
|
-
modelValue:
|
|
20557
|
-
"onUpdate:modelValue": a[
|
|
20575
|
+
modelValue: zt.value,
|
|
20576
|
+
"onUpdate:modelValue": a[70] ||= (e) => zt.value = e,
|
|
20558
20577
|
label: W(n)("label.externalContextSchema"),
|
|
20559
20578
|
placeholder: W(n)("placeholder.insert")
|
|
20560
20579
|
}, null, 8, [
|
|
@@ -20567,20 +20586,20 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20567
20586
|
]),
|
|
20568
20587
|
_: 1
|
|
20569
20588
|
}, 8, ["legend"]), e.features?.hostTools === !0 ? (B(), P(A, { key: 0 }, [L(hT, {
|
|
20570
|
-
modelValue: zt.value,
|
|
20571
|
-
"onUpdate:modelValue": a[72] ||= (e) => zt.value = e,
|
|
20572
|
-
"trusted-origins": ze.value.origins
|
|
20573
|
-
}, null, 8, ["modelValue", "trusted-origins"]), L(bT, {
|
|
20574
20589
|
modelValue: D.value,
|
|
20575
20590
|
"onUpdate:modelValue": a[73] ||= (e) => D.value = e,
|
|
20576
|
-
"trusted-origins":
|
|
20591
|
+
"trusted-origins": Be.value.origins
|
|
20592
|
+
}, null, 8, ["modelValue", "trusted-origins"]), L(bT, {
|
|
20593
|
+
modelValue: Bt.value,
|
|
20594
|
+
"onUpdate:modelValue": a[74] ||= (e) => Bt.value = e,
|
|
20595
|
+
"trusted-origins": Be.value.origins
|
|
20577
20596
|
}, null, 8, ["modelValue", "trusted-origins"])], 64)) : N("", !0)])]),
|
|
20578
20597
|
"panel::security": q(() => [
|
|
20579
20598
|
L(es, { legend: W(n)("label.rateLimits") }, {
|
|
20580
20599
|
default: q(() => [F("div", AE, [
|
|
20581
20600
|
L(u, {
|
|
20582
|
-
modelValue:
|
|
20583
|
-
"onUpdate:modelValue": a[
|
|
20601
|
+
modelValue: Ie.value,
|
|
20602
|
+
"onUpdate:modelValue": a[75] ||= (e) => Ie.value = e,
|
|
20584
20603
|
name: "minuteRateLimit",
|
|
20585
20604
|
type: "number",
|
|
20586
20605
|
label: W(n)("label.minuteRateLimit"),
|
|
@@ -20596,8 +20615,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20596
20615
|
"invalid-label"
|
|
20597
20616
|
]),
|
|
20598
20617
|
L(u, {
|
|
20599
|
-
modelValue:
|
|
20600
|
-
"onUpdate:modelValue": a[
|
|
20618
|
+
modelValue: Le.value,
|
|
20619
|
+
"onUpdate:modelValue": a[76] ||= (e) => Le.value = e,
|
|
20601
20620
|
name: "hourRateLimit",
|
|
20602
20621
|
type: "number",
|
|
20603
20622
|
label: W(n)("label.hourRateLimit"),
|
|
@@ -20613,8 +20632,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20613
20632
|
"invalid-label"
|
|
20614
20633
|
]),
|
|
20615
20634
|
L(u, {
|
|
20616
|
-
modelValue:
|
|
20617
|
-
"onUpdate:modelValue": a[
|
|
20635
|
+
modelValue: Re.value,
|
|
20636
|
+
"onUpdate:modelValue": a[77] ||= (e) => Re.value = e,
|
|
20618
20637
|
name: "dayRateLimit",
|
|
20619
20638
|
type: "number",
|
|
20620
20639
|
label: W(n)("label.dayRateLimit"),
|
|
@@ -20630,8 +20649,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20630
20649
|
"invalid-label"
|
|
20631
20650
|
]),
|
|
20632
20651
|
L(u, {
|
|
20633
|
-
modelValue:
|
|
20634
|
-
"onUpdate:modelValue": a[
|
|
20652
|
+
modelValue: ze.value,
|
|
20653
|
+
"onUpdate:modelValue": a[78] ||= (e) => ze.value = e,
|
|
20635
20654
|
name: "monthRateLimit",
|
|
20636
20655
|
type: "number",
|
|
20637
20656
|
label: W(n)("label.monthRateLimit"),
|
|
@@ -20650,8 +20669,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20650
20669
|
_: 1
|
|
20651
20670
|
}, 8, ["legend"]),
|
|
20652
20671
|
L(VC, {
|
|
20653
|
-
modelValue:
|
|
20654
|
-
"onUpdate:modelValue": a[
|
|
20672
|
+
modelValue: Be.value.origins,
|
|
20673
|
+
"onUpdate:modelValue": a[79] ||= (e) => Be.value.origins = e,
|
|
20655
20674
|
name: "trustedOrigins",
|
|
20656
20675
|
label: W(n)("label.trustedOrigins"),
|
|
20657
20676
|
placeholder: W(n)("placeholder.noTrustedOrigins"),
|
|
@@ -20662,8 +20681,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20662
20681
|
"allow-empty": ""
|
|
20663
20682
|
}, {
|
|
20664
20683
|
default: q(({ index: e }) => [L(u, {
|
|
20665
|
-
modelValue:
|
|
20666
|
-
"onUpdate:modelValue": (t) =>
|
|
20684
|
+
modelValue: Be.value.origins[e],
|
|
20685
|
+
"onUpdate:modelValue": (t) => Be.value.origins[e] = t,
|
|
20667
20686
|
name: `trustedOrigins.${e}`,
|
|
20668
20687
|
label: W(n)("label.origin"),
|
|
20669
20688
|
placeholder: W(n)("placeholder.insertOrigin"),
|
|
@@ -20688,8 +20707,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20688
20707
|
"invalid-label"
|
|
20689
20708
|
]),
|
|
20690
20709
|
L(VC, {
|
|
20691
|
-
modelValue:
|
|
20692
|
-
"onUpdate:modelValue": a[
|
|
20710
|
+
modelValue: Ve.value,
|
|
20711
|
+
"onUpdate:modelValue": a[80] ||= (e) => Ve.value = e,
|
|
20693
20712
|
name: "imageHosts",
|
|
20694
20713
|
label: W(n)("label.imageHosts"),
|
|
20695
20714
|
placeholder: W(n)("placeholder.noImageHosts"),
|
|
@@ -20700,8 +20719,8 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
20700
20719
|
"allow-empty": ""
|
|
20701
20720
|
}, {
|
|
20702
20721
|
default: q(({ index: e }) => [L(u, {
|
|
20703
|
-
modelValue:
|
|
20704
|
-
"onUpdate:modelValue": (t) =>
|
|
20722
|
+
modelValue: Ve.value[e],
|
|
20723
|
+
"onUpdate:modelValue": (t) => Ve.value[e] = t,
|
|
20705
20724
|
name: `imageHosts.${e}`,
|
|
20706
20725
|
label: W(n)("label.imageHost"),
|
|
20707
20726
|
placeholder: W(n)("placeholder.insertImageHost"),
|
|
@@ -21306,7 +21325,7 @@ var Nw = { class: "flex items-center gap-xs min-w-0" }, Pw = { class: "truncate"
|
|
|
21306
21325
|
...b.length > 0 ? { connection: b.join(" · ") } : {},
|
|
21307
21326
|
...x.length > 0 ? { flags: x.join(" · ") } : {}
|
|
21308
21327
|
};
|
|
21309
|
-
}), l = j(() => t.message?.metadata?.transport ===
|
|
21328
|
+
}), l = j(() => t.message?.metadata?.transport === ve.Voice), u = j(() => t.message?.metadata?.externalContext && Object.keys(t.message.metadata.externalContext).length > 0), d = j(() => t.message?.metadata?.platformContext && Object.keys(t.message.metadata.platformContext).length > 0);
|
|
21310
21329
|
return (t, f) => {
|
|
21311
21330
|
let p = wr, m = pr, h = mr, g = ei("PjResizablePanel");
|
|
21312
21331
|
return B(), P("div", GD, [
|