@8wave/ai-elements 0.125.0-beta.33 → 0.125.0-beta.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{Agent-BZiorSrE.js → Agent-CnCu6gNx.js} +2 -1
- package/dist/_chunks/{Agent-BZiorSrE.js.map → Agent-CnCu6gNx.js.map} +1 -1
- package/dist/_chunks/{PkFilePreview-DCk2wnP9.js → PkFilePreview-Ctp30WJH.js} +3 -3
- package/dist/_chunks/{PkFilePreview-DCk2wnP9.js.map → PkFilePreview-Ctp30WJH.js.map} +1 -1
- package/dist/_chunks/{PkFilePreviewDialog-BFGUstHI.js → PkFilePreviewDialog-B8JKpCXy.js} +2 -2
- package/dist/_chunks/{PkFilePreviewDialog-BFGUstHI.js.map → PkFilePreviewDialog-B8JKpCXy.js.map} +1 -1
- package/dist/_chunks/{PkSelectionActions-DMqJYWem.js → PkSelectionActions-BOuC5Dvy.js} +2 -2
- package/dist/_chunks/{PkSelectionActions-DMqJYWem.js.map → PkSelectionActions-BOuC5Dvy.js.map} +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-CjL7l_3E.js → PkStreamingMarkdown-B0iGNA8Y.js} +3 -3
- package/dist/_chunks/{PkStreamingMarkdown-CjL7l_3E.js.map → PkStreamingMarkdown-B0iGNA8Y.js.map} +1 -1
- package/dist/_chunks/{PkToolChatFile-weptM8iA.js → PkToolChatFile-DbmXl92B.js} +3 -3
- package/dist/_chunks/{PkToolChatFile-weptM8iA.js.map → PkToolChatFile-DbmXl92B.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-BfwRKTYt.js → PkToolRequestGeolocation-DqrwL2xq.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-BfwRKTYt.js.map → PkToolRequestGeolocation-DqrwL2xq.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-BeNjHyE9.js → PkToolRequestOAuthConnection-CRHMFsVo.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-BeNjHyE9.js.map → PkToolRequestOAuthConnection-CRHMFsVo.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-Bm2zS5YS.js → PkToolShowArtifact-BiIFmeNh.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-Bm2zS5YS.js.map → PkToolShowArtifact-BiIFmeNh.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-BKJCv5To.js → PkToolShowContactForm-CNLEoesy.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-BKJCv5To.js.map → PkToolShowContactForm-CNLEoesy.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-DvAcJgDP.js → PkToolShowForm-DSUzABRs.js} +4 -4
- package/dist/_chunks/{PkToolShowForm-DvAcJgDP.js.map → PkToolShowForm-DSUzABRs.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-D0htuXNL.js → PkToolShowImageGallery-CuSEzHyb.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-D0htuXNL.js.map → PkToolShowImageGallery-CuSEzHyb.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-BQjFsiEo.js → PkToolShowProductList-BHV90ovg.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-BQjFsiEo.js.map → PkToolShowProductList-BHV90ovg.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-Cfj6iRGj.js → PkToolShowSources-LxKdEl5a.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-Cfj6iRGj.js.map → PkToolShowSources-LxKdEl5a.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-C9gtEyCy.js → PkToolShowSuggestedReply-DQ64E-n3.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-C9gtEyCy.js.map → PkToolShowSuggestedReply-DQ64E-n3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-CxYRfgA5.js → PkToolShowVideo-m9TYCZU4.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-CxYRfgA5.js.map → PkToolShowVideo-m9TYCZU4.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-CBkk8sYx.js → PkToolShowWebPages-D836KB_D.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-CBkk8sYx.js.map → PkToolShowWebPages-D836KB_D.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-NToILNOC.js → chatImagePolicy-DMvnRaBQ.js} +14 -8
- package/dist/_chunks/chatImagePolicy-DMvnRaBQ.js.map +1 -0
- package/dist/_chunks/{markdown-DqyUj6ze.js → markdown-BLSDivef.js} +2 -2
- package/dist/_chunks/{markdown-DqyUj6ze.js.map → markdown-BLSDivef.js.map} +1 -1
- package/dist/_chunks/{utils-BcIYGNLF.js → utils-BF9VwhRy.js} +2 -2
- package/dist/_chunks/{utils-BcIYGNLF.js.map → utils-BF9VwhRy.js.map} +1 -1
- package/dist/ai-elements.es.js +25 -25
- 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-B55xNURC.js → Agent-DuB5Hh7M.js} +2 -1
- package/dist-vue/_chunks/{Agent-B55xNURC.js.map → Agent-DuB5Hh7M.js.map} +1 -1
- package/dist-vue/_chunks/{Document-BzJVMupn.js → Document-BJxoQzKV.js} +2 -2
- package/dist-vue/_chunks/{Document-BzJVMupn.js.map → Document-BJxoQzKV.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-Bc2hlwFO.js → PkChatbot-CXW3IFfs.js} +9 -9
- package/dist-vue/_chunks/PkChatbot-CXW3IFfs.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotEmptyState-NHarCaDm.js → PkChatbotEmptyState-CD6ehXRE.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-NHarCaDm.js.map → PkChatbotEmptyState-CD6ehXRE.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-BSzDRoDD.js → PkChatbotInput-2zUenuUE.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotInput-BSzDRoDD.js.map → PkChatbotInput-2zUenuUE.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-DEMKZDCb.js → PkChatbotMessages-DbgmLmbz.js} +17 -17
- package/dist-vue/_chunks/{PkChatbotMessages-DEMKZDCb.js.map → PkChatbotMessages-DbgmLmbz.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-DfLVMQrN.js → PkChatbotStepPayload-CkTJ1nFP.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-DfLVMQrN.js.map → PkChatbotStepPayload-CkTJ1nFP.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-mwByeqKJ.js → PkChatbotStepToolDetail-DBi87nYU.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-mwByeqKJ.js.map → PkChatbotStepToolDetail-DBi87nYU.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-DGQoYxJ9.js → PkChatbotSteps-BC2gLvzh.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-DGQoYxJ9.js.map → PkChatbotSteps-BC2gLvzh.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-aKi08vCz.js → PkChatbotViewChat-9BKIdCDD.js} +7 -7
- package/dist-vue/_chunks/{PkChatbotViewChat-aKi08vCz.js.map → PkChatbotViewChat-9BKIdCDD.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-BPnPsRhJ.js → PkChatbotViewConversations-BWj_CaXs.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-BPnPsRhJ.js.map → PkChatbotViewConversations-BWj_CaXs.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-gYkXw8dc.js → PkChatbotViewFiles-9kcgLUrQ.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-gYkXw8dc.js.map → PkChatbotViewFiles-9kcgLUrQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-PnHDQuuK.js → PkChatbotViewProfile-CJR38-Zw.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-PnHDQuuK.js.map → PkChatbotViewProfile-CJR38-Zw.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreview-D2HInDoA.js → PkFilePreview-CmET6sdA.js} +3 -3
- package/dist-vue/_chunks/{PkFilePreview-D2HInDoA.js.map → PkFilePreview-CmET6sdA.js.map} +1 -1
- package/dist-vue/_chunks/{PkFilePreviewDialog-jxcUSzPx.js → PkFilePreviewDialog-CqQBzL5n.js} +2 -2
- package/dist-vue/_chunks/{PkFilePreviewDialog-jxcUSzPx.js.map → PkFilePreviewDialog-CqQBzL5n.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-DdOv86Eb.js → PkStreamingMarkdown-Db4sGE5U.js} +15 -9
- package/dist-vue/_chunks/PkStreamingMarkdown-Db4sGE5U.js.map +1 -0
- package/dist-vue/_chunks/{PkToolChatFile-8nx166iM.js → PkToolChatFile-CuilyyQV.js} +3 -3
- package/dist-vue/_chunks/{PkToolChatFile-8nx166iM.js.map → PkToolChatFile-CuilyyQV.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-Bx2Vtb-5.js → PkToolRequestGeolocation-DBjweLxM.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-Bx2Vtb-5.js.map → PkToolRequestGeolocation-DBjweLxM.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-Dp_dx8cQ.js → PkToolRequestOAuthConnection-C3RPmvS9.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-Dp_dx8cQ.js.map → PkToolRequestOAuthConnection-C3RPmvS9.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-BppP_xSN.js → PkToolShowArtifact-BPM1M44f.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-BppP_xSN.js.map → PkToolShowArtifact-BPM1M44f.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-Bm0icz24.js → PkToolShowContactForm-B3Um_vEc.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-Bm0icz24.js.map → PkToolShowContactForm-B3Um_vEc.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-CgukB1Ss.js → PkToolShowDiagram-BDyGph2_.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-CgukB1Ss.js.map → PkToolShowDiagram-BDyGph2_.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-CyyN7GQP.js → PkToolShowForm-D14J_UP1.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-CyyN7GQP.js.map → PkToolShowForm-D14J_UP1.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-zQF_lsxI.js → PkToolShowImageGallery-BVrAQqq5.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-zQF_lsxI.js.map → PkToolShowImageGallery-BVrAQqq5.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-DW_P0gC2.js → PkToolShowProductList-DkDNFoIh.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-DW_P0gC2.js.map → PkToolShowProductList-DkDNFoIh.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-BugMybUx.js → PkToolShowSources-BIsZaSr3.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-BugMybUx.js.map → PkToolShowSources-BIsZaSr3.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-CXGpPEl-.js → PkToolShowSuggestedReply-qbQz8Ia2.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-CXGpPEl-.js.map → PkToolShowSuggestedReply-qbQz8Ia2.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-BW7aRKs_.js → PkToolShowVideo-BursN2E9.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-BW7aRKs_.js.map → PkToolShowVideo-BursN2E9.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-DxKimT-2.js → PkToolShowWebPages-C2QqzOZx.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-DxKimT-2.js.map → PkToolShowWebPages-C2QqzOZx.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-c3U4TXu2.js → createChatbotApiClient-CWQKS07V.js} +2 -2
- package/dist-vue/_chunks/{createChatbotApiClient-c3U4TXu2.js.map → createChatbotApiClient-CWQKS07V.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-Kk3ioX3v.js → useChatbotStore-qgCC4aIL.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-Kk3ioX3v.js.map → useChatbotStore-qgCC4aIL.js.map} +1 -1
- package/dist-vue/_chunks/{utils-DXOZ6zjh.js → utils-BcFZVBxd.js} +2 -2
- package/dist-vue/_chunks/{utils-DXOZ6zjh.js.map → utils-BcFZVBxd.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/apps/web-component/src/composables/useChatbotAgent.d.ts +2 -0
- package/dist-vue/composables.js +10 -10
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +301 -285
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +4 -0
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -2
- package/dist-vue/packages/components/src/chat/chatImagePolicy.d.ts +17 -9
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +6 -0
- package/dist-vue/packages/models/src/schema/Agent.d.ts +8 -0
- package/dist-vue/packages/models/src/schema/AgentChatStatistics.d.ts +27 -0
- package/dist-vue/packages/models/src/schema/CostReport.d.ts +40 -0
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +2 -0
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +2 -0
- package/package.json +1 -1
- package/dist/_chunks/chatImagePolicy-NToILNOC.js.map +0 -1
- package/dist-vue/_chunks/PkChatbot-Bc2hlwFO.js.map +0 -1
- package/dist-vue/_chunks/PkStreamingMarkdown-DdOv86Eb.js.map +0 -1
package/dist-vue/index.js
CHANGED
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import { t as e } from "./_chunks/rolldown-runtime-CGnMp29N.js";
|
|
2
2
|
import { t } from "./_chunks/PkEditorRadioButtons-Bw576DPQ.js";
|
|
3
3
|
import { E as n, S as r, T as i, _ as a, f as o, m as s, o as c, r as l, s as u, u as d, v as f, w as p, x as m, y as h } from "./_chunks/schemas-BO5QlXAp.js";
|
|
4
|
-
import { t as g } from "./_chunks/PkChatbotMessages-
|
|
4
|
+
import { t as g } from "./_chunks/PkChatbotMessages-DbgmLmbz.js";
|
|
5
5
|
import { a as _, i as v, l as y, n as b, r as x } from "./_chunks/Media-DylqhvaF.js";
|
|
6
|
-
import { $ as S, B as C, D as w, E as ee, F as te, G as ne, I as re, J as ie, K as ae, L as oe, N as se, P as ce, Q as le, R as ue, S as de, T as fe, U as pe, Y as me, Z as he, a as ge, ct as _e, d as ve, dt as ye, et as be, f as xe, ft as Se, ht as Ce, i as we, lt as Te, mt as Ee, nt as De, p as Oe, pt as ke, q as Ae, r as T, s as je, t as Me, tt as Ne, ut as Pe, vt as Fe, w as Ie, x as Le, y as Re, z as ze } from "./_chunks/Agent-
|
|
7
|
-
import { c as Be, d as Ve, l as He, r as Ue, s as We, t as Ge, u as Ke } from "./_chunks/Document-
|
|
8
|
-
import { a as qe, i as Je, n as Ye } from "./_chunks/createChatbotApiClient-
|
|
6
|
+
import { $ as S, B as C, D as w, E as ee, F as te, G as ne, I as re, J as ie, K as ae, L as oe, N as se, P as ce, Q as le, R as ue, S as de, T as fe, U as pe, Y as me, Z as he, a as ge, ct as _e, d as ve, dt as ye, et as be, f as xe, ft as Se, ht as Ce, i as we, lt as Te, mt as Ee, nt as De, p as Oe, pt as ke, q as Ae, r as T, s as je, t as Me, tt as Ne, ut as Pe, vt as Fe, w as Ie, x as Le, y as Re, z as ze } from "./_chunks/Agent-DuB5Hh7M.js";
|
|
7
|
+
import { c as Be, d as Ve, l as He, r as Ue, s as We, t as Ge, u as Ke } from "./_chunks/Document-BJxoQzKV.js";
|
|
8
|
+
import { a as qe, i as Je, n as Ye } from "./_chunks/createChatbotApiClient-CWQKS07V.js";
|
|
9
9
|
import { t as Xe } from "./_chunks/PkChatbotAuth-Btxg3TF0.js";
|
|
10
10
|
import { t as Ze } from "./_chunks/VvButtonLocalized-C-vx25u4.js";
|
|
11
11
|
import { i as Qe, r as $e } from "./_chunks/useLightbox-Ctl9zaMX.js";
|
|
12
|
-
import { n as et, t as tt } from "./_chunks/PkStreamingMarkdown-
|
|
13
|
-
import { a as nt, i as rt, n as it, r as at } from "./_chunks/useChatbotStore-
|
|
12
|
+
import { n as et, t as tt } from "./_chunks/PkStreamingMarkdown-Db4sGE5U.js";
|
|
13
|
+
import { a as nt, i as rt, n as it, r as at } from "./_chunks/useChatbotStore-qgCC4aIL.js";
|
|
14
14
|
import "./_chunks/src-nb8MU1sh.js";
|
|
15
15
|
import { a as ot, l as st, u as ct } from "./_chunks/message-DuibQyHy.js";
|
|
16
|
-
import { A as lt, E as ut, I as dt, N as ft, Q as pt, R as mt, V as ht, X as gt, Z as _t, b as vt, c as yt, g as bt, v as xt } from "./_chunks/utils-
|
|
16
|
+
import { A as lt, E as ut, I as dt, N as ft, Q as pt, R as mt, V as ht, X as gt, Z as _t, b as vt, c as yt, g as bt, v as xt } from "./_chunks/utils-BcFZVBxd.js";
|
|
17
17
|
import { t as St } from "./_chunks/useSafeLocalStorage-Bn4SsL8C.js";
|
|
18
18
|
import { t as Ct } from "./_chunks/useDialogConfirm-fn7iV-iE.js";
|
|
19
|
-
import { i as wt, n as Tt, r as Et, t as Dt } from "./_chunks/PkChatbotViewConversations-
|
|
20
|
-
import { a as Ot, i as kt, n as At, o as jt, s as Mt, t as Nt } from "./_chunks/PkChatbotViewChat-
|
|
19
|
+
import { i as wt, n as Tt, r as Et, t as Dt } from "./_chunks/PkChatbotViewConversations-BWj_CaXs.js";
|
|
20
|
+
import { a as Ot, i as kt, n as At, o as jt, s as Mt, t as Nt } from "./_chunks/PkChatbotViewChat-9BKIdCDD.js";
|
|
21
21
|
import { t as Pt } from "./_chunks/PkChatbotError-BS84xuiu.js";
|
|
22
22
|
import { t as Ft } from "./_chunks/useImageFallback-HUe4GHah.js";
|
|
23
23
|
import { t as It } from "./_chunks/useLocalizedString-Dmn92nix.js";
|
|
24
24
|
import { n as Lt, t as Rt } from "./_chunks/PkRelativeTime-CZF5CYHv.js";
|
|
25
|
-
import { r as zt, t as Bt } from "./_chunks/PkToolShowArtifact-
|
|
25
|
+
import { r as zt, t as Bt } from "./_chunks/PkToolShowArtifact-BPM1M44f.js";
|
|
26
26
|
import { $ as Vt, A as Ht, B as Ut, C as Wt, Ct as Gt, D as Kt, E as qt, F as Jt, G as Yt, H as Xt, I as Zt, J as Qt, K as $t, L as en, M as tn, N as E, Q as nn, S as rn, St as an, T as on, Tt as sn, U as cn, V as ln, W as un, X as dn, _t as fn, a as pn, at as mn, b as hn, bt as gn, c as _n, ct as vn, d as yn, dt as bn, et as xn, f as Sn, gt as Cn, h as wn, it as Tn, j as En, k as Dn, l as D, lt as O, mt as On, nt as kn, o as An, ot as jn, pt as Mn, q as Nn, rt as Pn, st as Fn, tt as In, u as Ln, ut as Rn, vt as zn, w as Bn, wt as Vn, x as Hn, xt as Un, y as Wn, yt as Gn, z as Kn } from "./_chunks/dist-DtxVAOxm.js";
|
|
27
27
|
import { n as qn, t as Jn } from "./_chunks/dist-CKKe4gMX.js";
|
|
28
28
|
import { n as Yn, r as Xn } from "./_chunks/dist-DTy4614p.js";
|
|
29
|
-
import { r as Zn, t as Qn } from "./_chunks/PkToolShowForm-
|
|
29
|
+
import { r as Zn, t as Qn } from "./_chunks/PkToolShowForm-D14J_UP1.js";
|
|
30
30
|
import { t as $n } from "./_chunks/PkLazyImg-D_Tmtfz3.js";
|
|
31
31
|
import { t as er } from "./_chunks/PkSvgViewer-vkd5Dluw.js";
|
|
32
32
|
import { t as tr } from "./_chunks/PkUrl-IFszepUi.js";
|
|
33
33
|
import { t as nr } from "./_chunks/PkAvatar-DwtZWSW4.js";
|
|
34
34
|
import { t as rr } from "./_chunks/PkChatbotFeedbackForm-Bh3tvNUW.js";
|
|
35
35
|
import { t as ir } from "./_chunks/PkChatbotFilePreview-BIta8Yg-.js";
|
|
36
|
-
import { n as ar, t as or } from "./_chunks/PkChatbotSteps-
|
|
37
|
-
import { t as sr } from "./_chunks/PkChatbotStepPayload-
|
|
38
|
-
import { t as cr } from "./_chunks/PkChatbotStepToolDetail-
|
|
39
|
-
import { n as lr, t as ur } from "./_chunks/PkChatbotInput-
|
|
40
|
-
import { t as dr } from "./_chunks/PkChatbotEmptyState-
|
|
41
|
-
import { t as fr } from "./_chunks/PkChatbotViewProfile-
|
|
42
|
-
import { t as pr } from "./_chunks/PkChatbot-
|
|
43
|
-
import { i as mr, r as hr, t as gr } from "./_chunks/PkToolShowSources-
|
|
36
|
+
import { n as ar, t as or } from "./_chunks/PkChatbotSteps-BC2gLvzh.js";
|
|
37
|
+
import { t as sr } from "./_chunks/PkChatbotStepPayload-CkTJ1nFP.js";
|
|
38
|
+
import { t as cr } from "./_chunks/PkChatbotStepToolDetail-DBi87nYU.js";
|
|
39
|
+
import { n as lr, t as ur } from "./_chunks/PkChatbotInput-2zUenuUE.js";
|
|
40
|
+
import { t as dr } from "./_chunks/PkChatbotEmptyState-CD6ehXRE.js";
|
|
41
|
+
import { t as fr } from "./_chunks/PkChatbotViewProfile-CJR38-Zw.js";
|
|
42
|
+
import { t as pr } from "./_chunks/PkChatbot-CXW3IFfs.js";
|
|
43
|
+
import { i as mr, r as hr, t as gr } from "./_chunks/PkToolShowSources-BIsZaSr3.js";
|
|
44
44
|
import { t as _r } from "./_chunks/mcpOAuthReport-D-MtFYwN.js";
|
|
45
45
|
import { t as vr } from "./_chunks/PkToolShowEmail-BehvoNsz.js";
|
|
46
46
|
import { t as yr } from "./_chunks/PkToolShowMessage-Cca7K7GQ.js";
|
|
47
|
-
import { t as br } from "./_chunks/PkToolShowWebPages-
|
|
48
|
-
import { t as xr } from "./_chunks/PkToolShowProductList-
|
|
49
|
-
import { t as Sr } from "./_chunks/PkToolShowContactForm-
|
|
47
|
+
import { t as br } from "./_chunks/PkToolShowWebPages-C2QqzOZx.js";
|
|
48
|
+
import { t as xr } from "./_chunks/PkToolShowProductList-DkDNFoIh.js";
|
|
49
|
+
import { t as Sr } from "./_chunks/PkToolShowContactForm-B3Um_vEc.js";
|
|
50
50
|
import { t as Cr } from "./_chunks/PkToolShowCalendarEvent-CAejFLQI.js";
|
|
51
51
|
import { t as wr } from "./_chunks/PkToolShowComparison-BEHyRNXE.js";
|
|
52
52
|
import { t as Tr } from "./_chunks/PkToolShowLocation-WdRqG8Wi.js";
|
|
53
53
|
import { t as Er } from "./_chunks/PkToolShowQrCode-96KzD1rX.js";
|
|
54
|
-
import { t as Dr } from "./_chunks/PkToolShowImageGallery-
|
|
55
|
-
import { t as Or } from "./_chunks/PkToolShowSuggestedReply-
|
|
54
|
+
import { t as Dr } from "./_chunks/PkToolShowImageGallery-BVrAQqq5.js";
|
|
55
|
+
import { t as Or } from "./_chunks/PkToolShowSuggestedReply-qbQz8Ia2.js";
|
|
56
56
|
import { t as kr } from "./_chunks/PkToolShareDocument-CspvFwRR.js";
|
|
57
|
-
import { t as Ar } from "./_chunks/PkToolChatFile-
|
|
58
|
-
import { t as jr } from "./_chunks/PkFilePreviewDialog-
|
|
59
|
-
import { t as Mr } from "./_chunks/PkToolRequestGeolocation-
|
|
57
|
+
import { t as Ar } from "./_chunks/PkToolChatFile-CuilyyQV.js";
|
|
58
|
+
import { t as jr } from "./_chunks/PkFilePreviewDialog-CqQBzL5n.js";
|
|
59
|
+
import { t as Mr } from "./_chunks/PkToolRequestGeolocation-DBjweLxM.js";
|
|
60
60
|
import { VvAccordion as Nr, VvAccordionGroup as Pr, VvAlert as Fr, VvAlertGroup as Ir, VvBadge as Lr, VvButtonGroup as Rr, VvCheckbox as zr, VvCombobox as Br, VvDialog as Vr, VvDropdown as Hr, VvDropdownAction as Ur, VvIcon as Wr, VvInputFile as Gr, VvInputRange as Kr, VvInputText as qr, VvTab as Jr, VvTextarea as Yr } from "@volverjs/ui-vue/components";
|
|
61
61
|
import { Fragment as k, Teleport as Xr, Transition as Zr, TransitionGroup as Qr, cloneVNode as $r, computed as A, createApp as ei, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as ti, createStaticVNode as ni, createTextVNode as F, createVNode as I, defineComponent as L, guardReactiveProps as ri, h as ii, inject as R, isRef as ai, isVNode as oi, mergeModels as si, mergeProps as ci, nextTick as li, normalizeClass as ui, normalizeProps as di, normalizeStyle as fi, onBeforeUnmount as pi, onMounted as mi, onUnmounted as hi, openBlock as z, provide as gi, reactive as _i, readonly as vi, ref as B, renderList as yi, renderSlot as bi, resolveComponent as xi, resolveDynamicComponent as Si, shallowRef as Ci, toDisplayString as V, toRef as wi, toRefs as Ti, unref as H, useId as Ei, useModel as U, useSlots as Di, useTemplateRef as Oi, vModelSelect as ki, vModelText as Ai, watch as W, withCtx as G, withDirectives as ji, withKeys as Mi, withModifiers as Ni } from "vue";
|
|
62
62
|
import { useI18n as Pi } from "vue-i18n";
|
|
@@ -20489,6 +20489,11 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
20489
20489
|
monthRateLimitModifiers: {},
|
|
20490
20490
|
trustedOrigins: { default: () => ({ origins: [] }) },
|
|
20491
20491
|
trustedOriginsModifiers: {},
|
|
20492
|
+
holdExternalImages: {
|
|
20493
|
+
type: Boolean,
|
|
20494
|
+
default: !1
|
|
20495
|
+
},
|
|
20496
|
+
holdExternalImagesModifiers: {},
|
|
20492
20497
|
imageHosts: { default: () => [] },
|
|
20493
20498
|
imageHostsModifiers: {},
|
|
20494
20499
|
disabledTools: { default: () => [] },
|
|
@@ -20624,7 +20629,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
20624
20629
|
ranking: { default: void 0 },
|
|
20625
20630
|
rankingModifiers: {}
|
|
20626
20631
|
}),
|
|
20627
|
-
emits: /*@__PURE__*/ si(["manageAccess"], /* @__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:glowTones.update:glowSecondColor.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:shareDocumentEnabled.update:createSpreadsheetEnabled.update:createWordDocumentEnabled.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:showReasoning.update:channels.update:externalContextSchema.update:hostTools.update:pageAccess.update:selectionActionsPage.update:confirmationsAllowAutomatic.update:ranking".split(".")),
|
|
20632
|
+
emits: /*@__PURE__*/ si(["manageAccess"], /* @__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:glowTones.update:glowSecondColor.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:holdExternalImages.update:imageHosts.update:disabledTools.update:shareDocumentEnabled.update:createSpreadsheetEnabled.update:createWordDocumentEnabled.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:showReasoning.update:channels.update:externalContextSchema.update:hostTools.update:pageAccess.update:selectionActionsPage.update:confirmationsAllowAutomatic.update:ranking".split(".")),
|
|
20628
20633
|
setup(e, { emit: n }) {
|
|
20629
20634
|
let { t: r, te: i, n: a, locale: o, availableLocales: s } = Pi({ useScope: "global" }), c = A(() => [...s.filter((e) => e === o.value), ...s.filter((e) => e !== o.value)]), l = {
|
|
20630
20635
|
freshnessScale: Ei(),
|
|
@@ -20648,8 +20653,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
20648
20653
|
}, ...b.value?.slice(1) ?? []];
|
|
20649
20654
|
}, S = U(e, "messagePlaceholder"), ee = U(e, "dismissableNotice"), ne = U(e, "footerMessage"), re = U(e, "model"), ie = A(() => Ve(re.value)), ae = A(() => d.catalog?.find((e) => e.id === re.value)), ce = A(() => {
|
|
20650
20655
|
let e = ae.value;
|
|
20651
|
-
if (e) return e.retired ? r("hint.modelRetired") :
|
|
20652
|
-
}), le = U(e, "temperature"), ue = U(e, "prompt"), de = U(e, "status"), fe = U(e, "visibility"), pe = U(e, "limit"), me = U(e, "maxStepCount"), ge = U(e, "maxOutputTokens"), _e = U(e, "presencePenalty"), ye = U(e, "frequencyPenalty"), be = U(e, "searchMode"), Se = U(e, "reasoning"), Ce = U(e, "webSearch"), Te = U(e, "theme"), Ee = U(e, "mainColor"), De = U(e, "textColor"), ke = U(e, "glowTones"), Ae = U(e, "glowSecondColor"), Me = U(e, "useColorsForAgentHeader"), Ne = U(e, "welcomePopup"), Pe = U(e, "interactiveLogin"), Fe = U(e, "floatingButtonPosition"), Le = U(e, "layout"), Re = U(e, "workingGlow"), Be = U(e, "appearance"), He = U(e, "hideFloatingButton"), Ue = U(e, "copilotPageCss"), We = U(e, "maxMessageLength"), Ge = U(e, "media"), Ke = U(e, "minuteRateLimit"), qe = U(e, "hourRateLimit"), Je = U(e, "dayRateLimit"), Ye = U(e, "monthRateLimit"), Xe = U(e, "trustedOrigins"), Qe = U(e, "
|
|
20656
|
+
if (e) return e.retired ? r("hint.modelRetired") : Xt.value && e.zdr === va.None || Zt.value && e.noTraining === va.None ? r("hint.modelNotCompatible") : Xt.value && e.zdr === va.Some || Zt.value && e.noTraining === va.Some ? r("hint.modelGuaranteedOnSome") : e.contextWindow ? r("hint.modelContextWindow", { count: a(Math.round(e.contextWindow / 1e3)) }) : void 0;
|
|
20657
|
+
}), le = U(e, "temperature"), ue = U(e, "prompt"), de = U(e, "status"), fe = U(e, "visibility"), pe = U(e, "limit"), me = U(e, "maxStepCount"), ge = U(e, "maxOutputTokens"), _e = U(e, "presencePenalty"), ye = U(e, "frequencyPenalty"), be = U(e, "searchMode"), Se = U(e, "reasoning"), Ce = U(e, "webSearch"), Te = U(e, "theme"), Ee = U(e, "mainColor"), De = U(e, "textColor"), ke = U(e, "glowTones"), Ae = U(e, "glowSecondColor"), Me = U(e, "useColorsForAgentHeader"), Ne = U(e, "welcomePopup"), Pe = U(e, "interactiveLogin"), Fe = U(e, "floatingButtonPosition"), Le = U(e, "layout"), Re = U(e, "workingGlow"), Be = U(e, "appearance"), He = U(e, "hideFloatingButton"), Ue = U(e, "copilotPageCss"), We = U(e, "maxMessageLength"), Ge = U(e, "media"), Ke = U(e, "minuteRateLimit"), qe = U(e, "hourRateLimit"), Je = U(e, "dayRateLimit"), Ye = U(e, "monthRateLimit"), Xe = U(e, "trustedOrigins"), Qe = U(e, "holdExternalImages"), $e = U(e, "imageHosts"), et = U(e, "disabledTools"), tt = U(e, "shareDocumentEnabled"), nt = U(e, "createSpreadsheetEnabled"), rt = U(e, "createWordDocumentEnabled"), it = U(e, "approvalTools"), at = U(e, "useAllUserKb"), ot = U(e, "useAllUserFiles"), st = U(e, "formMaxSteps"), ct = U(e, "formMaxOptionsPerStep"), lt = U(e, "widgetUrl"), dt = U(e, "loadDelay"), ft = U(e, "loaderStrategy"), pt = U(e, "fileUploadEnabled"), gt = U(e, "toolWorkingSetMode"), _t = U(e, "voiceEnabled"), vt = U(e, "voiceMaxSessionSeconds"), bt = U(e, "voiceId"), xt = U(e, "voiceLanguage"), St = U(e, "voiceFirstMessage"), Ct = U(e, "voiceCascadeTimeoutSeconds"), wt = U(e, "voiceFillerAfterSeconds"), Tt = U(e, "voiceFillerMessage"), Et = U(e, "voiceIgnoreBackgroundVoices"), Dt = U(e, "voiceTurnEagerness"), Ot = U(e, "voiceTurnTimeoutSeconds"), kt = [
|
|
20653
20658
|
"it",
|
|
20654
20659
|
"en",
|
|
20655
20660
|
"es",
|
|
@@ -20657,46 +20662,46 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
20657
20662
|
"de",
|
|
20658
20663
|
"pt",
|
|
20659
20664
|
"nl"
|
|
20660
|
-
],
|
|
20665
|
+
], At = [
|
|
20661
20666
|
"gender",
|
|
20662
20667
|
"age",
|
|
20663
20668
|
"accent",
|
|
20664
20669
|
"descriptive",
|
|
20665
20670
|
"description",
|
|
20666
20671
|
"use_case"
|
|
20667
|
-
],
|
|
20672
|
+
], jt = ["language"], Mt = (e) => {
|
|
20668
20673
|
let t = e.replace(/_/g, " ");
|
|
20669
20674
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
20670
|
-
},
|
|
20671
|
-
let t = e.labels ?? {}, n = [...
|
|
20675
|
+
}, Nt = (e) => {
|
|
20676
|
+
let t = e.labels ?? {}, n = [...At.filter((e) => e in t), ...Object.keys(t).filter((e) => !At.includes(e) && !jt.includes(e))], r = /* @__PURE__ */ new Set();
|
|
20672
20677
|
return n.flatMap((e) => {
|
|
20673
20678
|
let n = t[e]?.trim().toLowerCase();
|
|
20674
|
-
return !n || r.has(n) ? [] : (r.add(n), [
|
|
20679
|
+
return !n || r.has(n) ? [] : (r.add(n), [Mt(n)]);
|
|
20675
20680
|
}).join(" · ");
|
|
20676
|
-
},
|
|
20681
|
+
}, Pt = A(() => (d.voices ?? []).map((e) => ({
|
|
20677
20682
|
label: e.name,
|
|
20678
20683
|
value: e.voiceId,
|
|
20679
|
-
description:
|
|
20680
|
-
}))),
|
|
20684
|
+
description: Nt(e)
|
|
20685
|
+
}))), Ft = (e, t) => {
|
|
20681
20686
|
let n = e.trim().toLowerCase();
|
|
20682
20687
|
return n ? t.filter((e) => `${e.label} ${e.description}`.toLowerCase().includes(n)) : t;
|
|
20683
|
-
},
|
|
20684
|
-
|
|
20685
|
-
},
|
|
20686
|
-
if (
|
|
20687
|
-
|
|
20688
|
+
}, It = A(() => r("hint.voiceId")), Lt = B(), Rt = B(!1), Bt = () => {
|
|
20689
|
+
Lt.value?.pause(), Lt.value = void 0, Rt.value = !1;
|
|
20690
|
+
}, Vt = () => {
|
|
20691
|
+
if (Rt.value) {
|
|
20692
|
+
Bt();
|
|
20688
20693
|
return;
|
|
20689
20694
|
}
|
|
20690
|
-
let e = d.voices?.find((e) => e.voiceId ===
|
|
20695
|
+
let e = d.voices?.find((e) => e.voiceId === bt.value)?.previewUrl;
|
|
20691
20696
|
if (!e) return;
|
|
20692
|
-
|
|
20697
|
+
Bt();
|
|
20693
20698
|
let t = new Audio(e);
|
|
20694
|
-
t.addEventListener("ended",
|
|
20695
|
-
},
|
|
20696
|
-
W(
|
|
20697
|
-
let
|
|
20698
|
-
W(
|
|
20699
|
-
e?.freshness && e?.priority && e?.mmr || (
|
|
20699
|
+
t.addEventListener("ended", Bt), Lt.value = t, Rt.value = !0, t.play().catch(Bt);
|
|
20700
|
+
}, Ht = A(() => !!d.voices?.find((e) => e.voiceId === bt.value)?.previewUrl);
|
|
20701
|
+
W(bt, Bt), pi(Bt);
|
|
20702
|
+
let Ut = U(e, "fileUploadMaxFileSize"), Wt = U(e, "fileUploadAllowedMimeTypes"), Gt = U(e, "fileUploadMaxFilesPerMessage"), Kt = U(e, "fileUploadMaxFilesPerChat"), qt = U(e, "customCss"), Jt = U(e, "privacyPolicyNotice"), Yt = U(e, "fallbackModels"), Xt = U(e, "zeroDataRetention"), Zt = U(e, "disallowPromptTraining"), Qt = U(e, "providerTimeoutMs"), $t = U(e, "smoothStream"), en = U(e, "showExtendedSteps"), tn = U(e, "showReasoning"), E = U(e, "channels"), nn = U(e, "externalContextSchema"), rn = U(e, "hostTools"), an = U(e, "pageAccess"), on = U(e, "selectionActionsPage"), sn = U(e, "confirmationsAllowAutomatic"), cn = U(e, "ranking");
|
|
20703
|
+
W(cn, (e) => {
|
|
20704
|
+
e?.freshness && e?.priority && e?.mmr || (cn.value = _i({
|
|
20700
20705
|
freshness: {
|
|
20701
20706
|
enabled: !1,
|
|
20702
20707
|
scale: 7776e3,
|
|
@@ -20715,16 +20720,16 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
20715
20720
|
}
|
|
20716
20721
|
}));
|
|
20717
20722
|
}, { immediate: !0 });
|
|
20718
|
-
let
|
|
20723
|
+
let ln = A({
|
|
20719
20724
|
get: () => {
|
|
20720
|
-
let e =
|
|
20725
|
+
let e = cn.value?.freshness?.scale ?? 7776e3;
|
|
20721
20726
|
return e >= 86400 ? Math.round(e / 86400) : e;
|
|
20722
20727
|
},
|
|
20723
20728
|
set: (e) => {
|
|
20724
|
-
|
|
20729
|
+
cn.value?.freshness && (cn.value.freshness.scale = e * 86400);
|
|
20725
20730
|
}
|
|
20726
|
-
}),
|
|
20727
|
-
let e =
|
|
20731
|
+
}), un = A(() => {
|
|
20732
|
+
let e = ln.value, t = e * 4, n = Math.round(t / 30.4 * 10) / 10, i = cn.value?.freshness?.weight ?? .1, a = Math.round(i / 2 * 1e3) / 1e3, o = Math.round(i * .06 * 1e3) / 1e3, s = {
|
|
20728
20733
|
half: e,
|
|
20729
20734
|
zero: t,
|
|
20730
20735
|
months: n,
|
|
@@ -20733,27 +20738,27 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
20733
20738
|
zeroWeight: o.toFixed(3).replace(/0+$/, "").replace(/\.$/, "")
|
|
20734
20739
|
};
|
|
20735
20740
|
return r(t >= 30 ? "hint.freshnessScaleExplanationMonths" : "hint.freshnessScaleExplanationDays", s);
|
|
20736
|
-
}),
|
|
20737
|
-
await li(),
|
|
20741
|
+
}), dn = B(!1), fn = Oi("panelRoot"), pn = async () => {
|
|
20742
|
+
await li(), fn.value?.querySelector(".vv-tab .vv-nav__item-label.current")?.scrollIntoView({
|
|
20738
20743
|
block: "nearest",
|
|
20739
20744
|
inline: "nearest"
|
|
20740
20745
|
});
|
|
20741
|
-
},
|
|
20742
|
-
get: () =>
|
|
20746
|
+
}, mn = A({
|
|
20747
|
+
get: () => nn.value != null,
|
|
20743
20748
|
set: (e) => {
|
|
20744
|
-
|
|
20749
|
+
nn.value = e ? {} : void 0;
|
|
20745
20750
|
}
|
|
20746
|
-
}),
|
|
20751
|
+
}), hn = A(() => ke.value === "two" || ke.value === "auto" && ut(Ee.value)), gn = A({
|
|
20747
20752
|
get: () => Ae.value != null,
|
|
20748
20753
|
set: (e) => {
|
|
20749
20754
|
if (!e) {
|
|
20750
20755
|
Ae.value = void 0;
|
|
20751
20756
|
return;
|
|
20752
20757
|
}
|
|
20753
|
-
let t =
|
|
20758
|
+
let t = fn.value ? mt(fn.value, { mainColor: Ee.value })?.second : void 0;
|
|
20754
20759
|
Ae.value = t ? yt(t) : Ee.value;
|
|
20755
20760
|
}
|
|
20756
|
-
}),
|
|
20761
|
+
}), _n = {
|
|
20757
20762
|
images: [
|
|
20758
20763
|
"image/jpeg",
|
|
20759
20764
|
"image/png",
|
|
@@ -20770,7 +20775,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
20770
20775
|
spreadsheets: [w],
|
|
20771
20776
|
wordDocuments: [se],
|
|
20772
20777
|
audio: [...v]
|
|
20773
|
-
},
|
|
20778
|
+
}, vn = A(() => [
|
|
20774
20779
|
{
|
|
20775
20780
|
label: r("label.mimeTypeImages"),
|
|
20776
20781
|
description: r("hint.mimeTypeImages"),
|
|
@@ -20813,24 +20818,24 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
20813
20818
|
icon: "ri:file-music-line",
|
|
20814
20819
|
value: "audio"
|
|
20815
20820
|
}]
|
|
20816
|
-
]),
|
|
20821
|
+
]), yn = A(() => Object.values(ve).map((e) => ({
|
|
20817
20822
|
label: r(`agent.toolWorkingSetMode.${e}`),
|
|
20818
20823
|
value: e
|
|
20819
|
-
}))),
|
|
20820
|
-
get: () => Object.entries(
|
|
20824
|
+
}))), bn = A({
|
|
20825
|
+
get: () => Object.entries(_n).filter(([, e]) => e.every((e) => Wt.value.includes(e))).map(([e]) => e),
|
|
20821
20826
|
set: (e) => {
|
|
20822
|
-
let t = new Set(
|
|
20823
|
-
|
|
20827
|
+
let t = new Set(bn.value.filter((t) => !e.includes(t)).flatMap((e) => _n[e] ?? []));
|
|
20828
|
+
Wt.value = [.../* @__PURE__ */ new Set([...Wt.value.filter((e) => !t.has(e)), ...e.flatMap((e) => _n[e] ?? [])])];
|
|
20824
20829
|
}
|
|
20825
|
-
}),
|
|
20826
|
-
let e =
|
|
20830
|
+
}), xn = A(() => {
|
|
20831
|
+
let e = vn.value.filter(({ value: e }) => bn.value.includes(e) && _n[e].some((e) => oe(e, et.value))).map(({ label: e }) => e);
|
|
20827
20832
|
return e.length ? r("hint.fileUploadToolOff", { types: e.join(", ") }) : void 0;
|
|
20828
|
-
}),
|
|
20829
|
-
get: () => Math.round(
|
|
20833
|
+
}), Sn = A({
|
|
20834
|
+
get: () => Math.round(Ut.value / 1048576),
|
|
20830
20835
|
set: (e) => {
|
|
20831
|
-
|
|
20836
|
+
Ut.value = e * 1024 * 1024;
|
|
20832
20837
|
}
|
|
20833
|
-
}),
|
|
20838
|
+
}), Cn = A(() => new Set(eo(d.features))), wn = A(() => [
|
|
20834
20839
|
{
|
|
20835
20840
|
key: "knowledgeSearch",
|
|
20836
20841
|
icon: "ri:search-line",
|
|
@@ -20901,36 +20906,36 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
20901
20906
|
icon: "ri:chat-3-line",
|
|
20902
20907
|
tools: [T.FetchTeamsChannelHistory]
|
|
20903
20908
|
}
|
|
20904
|
-
]),
|
|
20909
|
+
]), Tn = A(() => wn.value.map((e) => ({
|
|
20905
20910
|
...e,
|
|
20906
|
-
tools: e.tools.filter((e) => !
|
|
20907
|
-
})).filter((e) => e.tools.length > 0)),
|
|
20908
|
-
function D(e) {
|
|
20909
|
-
return e === T.ShareDocument ? et.value : !$e.value.includes(e);
|
|
20910
|
-
}
|
|
20911
|
+
tools: e.tools.filter((e) => !Cn.value.has(e))
|
|
20912
|
+
})).filter((e) => e.tools.length > 0)), En = (e) => e === T.ShowSources || e === T.ReadDocumentFile ? !et.value.includes(T.SearchInKnowledgeBase) : e === T.ShowWeather ? !et.value.includes(T.GetWeather) : e !== T.ShareDocument || !d.playground && !et.value.includes(T.SearchInKnowledgeBase), Dn = (e) => C(e) || e === T.Spreadsheet || e === T.WordDocument, D = A(() => re.value ? [re.value] : []);
|
|
20911
20913
|
function O(e) {
|
|
20912
|
-
return e === T.
|
|
20914
|
+
return e === T.ShareDocument ? tt.value : !et.value.includes(e);
|
|
20913
20915
|
}
|
|
20914
20916
|
function On(e) {
|
|
20915
|
-
return
|
|
20917
|
+
return e === T.ShowForm || e === T.UserMemory || e === T.SearchInUserFiles || te(e);
|
|
20916
20918
|
}
|
|
20917
|
-
|
|
20919
|
+
function kn(e) {
|
|
20920
|
+
return it.value.includes(e);
|
|
20921
|
+
}
|
|
20922
|
+
let An = A(() => it.value.filter((e) => te(e) && O(e)).map((e) => ht(e, {
|
|
20918
20923
|
t: r,
|
|
20919
20924
|
te: i
|
|
20920
20925
|
})));
|
|
20921
|
-
function An(e, t) {
|
|
20922
|
-
rt.value = t ? [...rt.value, e] : rt.value.filter((t) => t !== e);
|
|
20923
|
-
}
|
|
20924
20926
|
function jn(e, t) {
|
|
20925
|
-
|
|
20927
|
+
it.value = t ? [...it.value, e] : it.value.filter((t) => t !== e);
|
|
20926
20928
|
}
|
|
20927
|
-
|
|
20929
|
+
function Mn(e, t) {
|
|
20930
|
+
e === T.ShareDocument ? (tt.value = t, t || jn(e, !1)) : t ? et.value = et.value.filter((t) => t !== e) : (et.value = [...et.value, e], jn(e, !1), e === T.UserMemory && (at.value = !1), e === T.SearchInUserFiles && (ot.value = !1), e === T.Spreadsheet && !d.playground && (nt.value = !1), e === T.WordDocument && !d.playground && (rt.value = !1));
|
|
20931
|
+
}
|
|
20932
|
+
let Nn = A(() => re.value?.split("/")[0] ?? ""), Pn = A(() => g.value === xe.Chat), Fn = A(() => {
|
|
20928
20933
|
let e = Qa(g.value, d.features);
|
|
20929
20934
|
return Object.values(Oe).filter((t) => e.includes(t) || t === fe.value).map((e) => ({
|
|
20930
20935
|
label: r(`agent.visibility.${e}`),
|
|
20931
20936
|
value: e
|
|
20932
20937
|
}));
|
|
20933
|
-
}),
|
|
20938
|
+
}), In = A(() => {
|
|
20934
20939
|
let e = [
|
|
20935
20940
|
{
|
|
20936
20941
|
tab: "general",
|
|
@@ -20945,7 +20950,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
20945
20950
|
label: r("label.tools")
|
|
20946
20951
|
}
|
|
20947
20952
|
];
|
|
20948
|
-
return
|
|
20953
|
+
return Pn.value && (d.playground || (e.push({
|
|
20949
20954
|
tab: "security",
|
|
20950
20955
|
label: r("label.security"),
|
|
20951
20956
|
class: p.value?.security ? "invalid" : ""
|
|
@@ -20956,18 +20961,18 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
20956
20961
|
tab: "embed",
|
|
20957
20962
|
label: r("label.embed")
|
|
20958
20963
|
})), e;
|
|
20959
|
-
}),
|
|
20964
|
+
}), Ln = A(() => `${window.location.origin}/app/${d.organizationSlug}/${m.value}`), Rn = A(() => `${window.location.origin}/app/${d.organizationSlug}/${m.value}/chat`), zn = A(() => `<script src="${`${d.baseUrl}/api/v1/public/organizations/${d.organizationSlug}/agents/${m.value}/embed.js`}" defer><\/script>`), Bn = A(() => `<iframe src="${Ln.value}" width="100%" height="600" frameborder="0"
|
|
20960
20965
|
style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>`);
|
|
20961
20966
|
return (n, o) => {
|
|
20962
20967
|
let s = Br, d = Ze, p = qr, m = Kr, _ = zr, v = Nr, w = Wr, ae = Jr, oe = Lr, se = Vr;
|
|
20963
20968
|
return z(), N("div", {
|
|
20964
20969
|
ref_key: "panelRoot",
|
|
20965
|
-
ref:
|
|
20970
|
+
ref: fn,
|
|
20966
20971
|
class: "pk-agent-settings-panel"
|
|
20967
20972
|
}, [I(ae, {
|
|
20968
|
-
items:
|
|
20973
|
+
items: In.value,
|
|
20969
20974
|
lazy: "once",
|
|
20970
|
-
"onUpdate:modelValue":
|
|
20975
|
+
"onUpdate:modelValue": pn
|
|
20971
20976
|
}, {
|
|
20972
20977
|
"panel::general": G(() => [
|
|
20973
20978
|
I(fo, {
|
|
@@ -21029,8 +21034,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21029
21034
|
"select-hint-label": "",
|
|
21030
21035
|
"deselect-hint-label": "",
|
|
21031
21036
|
"selected-hint-label": "",
|
|
21032
|
-
options:
|
|
21033
|
-
"hint-label":
|
|
21037
|
+
options: Fn.value,
|
|
21038
|
+
"hint-label": Pn.value ? fe.value ? H(r)(`agent.visibilityHint.${fe.value}`) : void 0 : H(r)("hint.reasoningVisibility"),
|
|
21034
21039
|
disabled: e.playground
|
|
21035
21040
|
}, {
|
|
21036
21041
|
option: G(({ option: e }) => [I(Ms, {
|
|
@@ -21079,8 +21084,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21079
21084
|
strategy: "fixed",
|
|
21080
21085
|
placeholder: H(r)("action.select"),
|
|
21081
21086
|
catalog: e.catalog,
|
|
21082
|
-
"zero-data-retention":
|
|
21083
|
-
"disallow-prompt-training":
|
|
21087
|
+
"zero-data-retention": Xt.value,
|
|
21088
|
+
"disallow-prompt-training": Zt.value,
|
|
21084
21089
|
current: re.value,
|
|
21085
21090
|
unselectable: !1
|
|
21086
21091
|
}, null, 8, [
|
|
@@ -21122,17 +21127,17 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21122
21127
|
default: G(() => [
|
|
21123
21128
|
ie.value ? M("", !0) : (z(), j(wD, {
|
|
21124
21129
|
key: 0,
|
|
21125
|
-
modelValue:
|
|
21126
|
-
"onUpdate:modelValue": o[7] ||= (e) =>
|
|
21130
|
+
modelValue: Yt.value,
|
|
21131
|
+
"onUpdate:modelValue": o[7] ||= (e) => Yt.value = e,
|
|
21127
21132
|
name: "fallbackModels",
|
|
21128
21133
|
multiple: "",
|
|
21129
21134
|
strategy: "fixed",
|
|
21130
21135
|
label: H(r)("label.fallbackModels"),
|
|
21131
21136
|
placeholder: H(r)("placeholder.select"),
|
|
21132
21137
|
catalog: e.catalog,
|
|
21133
|
-
"zero-data-retention":
|
|
21134
|
-
"disallow-prompt-training":
|
|
21135
|
-
"exclude-models":
|
|
21138
|
+
"zero-data-retention": Xt.value,
|
|
21139
|
+
"disallow-prompt-training": Zt.value,
|
|
21140
|
+
"exclude-models": D.value
|
|
21136
21141
|
}, null, 8, [
|
|
21137
21142
|
"modelValue",
|
|
21138
21143
|
"label",
|
|
@@ -21199,8 +21204,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21199
21204
|
"format-value"
|
|
21200
21205
|
]),
|
|
21201
21206
|
I(p, {
|
|
21202
|
-
modelValue:
|
|
21203
|
-
"onUpdate:modelValue": o[12] ||= (e) =>
|
|
21207
|
+
modelValue: Qt.value,
|
|
21208
|
+
"onUpdate:modelValue": o[12] ||= (e) => Qt.value = e,
|
|
21204
21209
|
name: "providerTimeoutMs",
|
|
21205
21210
|
type: "number",
|
|
21206
21211
|
min: "1000",
|
|
@@ -21209,7 +21214,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21209
21214
|
class: "mb-0",
|
|
21210
21215
|
label: H(r)("label.providerTimeoutMs"),
|
|
21211
21216
|
placeholder: H(r)("placeholder.insert"),
|
|
21212
|
-
invalid:
|
|
21217
|
+
invalid: Qt.value !== void 0 && (Qt.value < 1e3 || Qt.value > 789e3),
|
|
21213
21218
|
"hint-label": H(r)("hint.providerTimeoutMs")
|
|
21214
21219
|
}, null, 8, [
|
|
21215
21220
|
"modelValue",
|
|
@@ -21226,11 +21231,11 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21226
21231
|
I(ED, {
|
|
21227
21232
|
reasoning: Se.value,
|
|
21228
21233
|
"onUpdate:reasoning": o[13] ||= (e) => Se.value = e,
|
|
21229
|
-
"active-provider":
|
|
21234
|
+
"active-provider": Nn.value
|
|
21230
21235
|
}, null, 8, ["reasoning", "active-provider"]),
|
|
21231
21236
|
I(gE, {
|
|
21232
|
-
modelValue:
|
|
21233
|
-
"onUpdate:modelValue": o[14] ||= (e) =>
|
|
21237
|
+
modelValue: tn.value,
|
|
21238
|
+
"onUpdate:modelValue": o[14] ||= (e) => tn.value = e,
|
|
21234
21239
|
name: "showReasoning",
|
|
21235
21240
|
class: "mt-md",
|
|
21236
21241
|
switch: "",
|
|
@@ -21242,8 +21247,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21242
21247
|
"hint-label"
|
|
21243
21248
|
]),
|
|
21244
21249
|
I(gE, {
|
|
21245
|
-
modelValue:
|
|
21246
|
-
"onUpdate:modelValue": o[15] ||= (e) =>
|
|
21250
|
+
modelValue: en.value,
|
|
21251
|
+
"onUpdate:modelValue": o[15] ||= (e) => en.value = e,
|
|
21247
21252
|
name: "showExtendedSteps",
|
|
21248
21253
|
class: "mb-0",
|
|
21249
21254
|
switch: "",
|
|
@@ -21325,10 +21330,10 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21325
21330
|
}, 8, ["legend"]),
|
|
21326
21331
|
I(Os, { legend: H(r)("label.smartRanking") }, {
|
|
21327
21332
|
default: G(() => [
|
|
21328
|
-
|
|
21333
|
+
cn.value?.freshness ? (z(), j(_, {
|
|
21329
21334
|
key: 0,
|
|
21330
|
-
modelValue:
|
|
21331
|
-
"onUpdate:modelValue": o[19] ||= (e) =>
|
|
21335
|
+
modelValue: cn.value.freshness.enabled,
|
|
21336
|
+
"onUpdate:modelValue": o[19] ||= (e) => cn.value.freshness.enabled = e,
|
|
21332
21337
|
name: "freshnessEnabled",
|
|
21333
21338
|
switch: "",
|
|
21334
21339
|
value: !0,
|
|
@@ -21338,13 +21343,13 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21338
21343
|
default: G(() => [P("div", QD, [P("strong", null, V(H(r)("label.freshnessBoost")), 1), P("small", $D, V(H(r)("hint.freshnessBoost")), 1)])]),
|
|
21339
21344
|
_: 1
|
|
21340
21345
|
}, 8, ["modelValue"])) : M("", !0),
|
|
21341
|
-
|
|
21346
|
+
cn.value?.freshness?.enabled ? (z(), N(k, { key: 1 }, [P("div", eO, [P("div", tO, [P("label", {
|
|
21342
21347
|
class: "block text-12 text-word-3",
|
|
21343
21348
|
for: l.freshnessScale
|
|
21344
21349
|
}, V(H(r)("hint.freshnessScale")), 9, nO), I(uE, { text: H(r)("hint.freshnessScaleTooltip") }, null, 8, ["text"])]), I(m, {
|
|
21345
21350
|
id: l.freshnessScale,
|
|
21346
|
-
modelValue:
|
|
21347
|
-
"onUpdate:modelValue": o[20] ||= (e) =>
|
|
21351
|
+
modelValue: ln.value,
|
|
21352
|
+
"onUpdate:modelValue": o[20] ||= (e) => ln.value = e,
|
|
21348
21353
|
name: "freshnessScale",
|
|
21349
21354
|
min: "1",
|
|
21350
21355
|
max: "365",
|
|
@@ -21360,11 +21365,11 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21360
21365
|
class: "block text-12 text-word-3",
|
|
21361
21366
|
for: l.freshnessWeight
|
|
21362
21367
|
}, V(H(r)("label.freshnessWeight")), 9, aO), I(uE, { text: H(r)("hint.freshnessWeightTooltip") }, null, 8, ["text"])]),
|
|
21363
|
-
|
|
21368
|
+
cn.value?.freshness ? (z(), j(m, {
|
|
21364
21369
|
key: 0,
|
|
21365
21370
|
id: l.freshnessWeight,
|
|
21366
|
-
modelValue:
|
|
21367
|
-
"onUpdate:modelValue": o[21] ||= (e) =>
|
|
21371
|
+
modelValue: cn.value.freshness.weight,
|
|
21372
|
+
"onUpdate:modelValue": o[21] ||= (e) => cn.value.freshness.weight = e,
|
|
21368
21373
|
name: "freshnessWeight",
|
|
21369
21374
|
min: "0.05",
|
|
21370
21375
|
max: "0.5",
|
|
@@ -21376,12 +21381,12 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21376
21381
|
"modelValue",
|
|
21377
21382
|
"format-value"
|
|
21378
21383
|
])) : M("", !0),
|
|
21379
|
-
P("p", oO, V(
|
|
21384
|
+
P("p", oO, V(un.value), 1)
|
|
21380
21385
|
])], 64)) : M("", !0),
|
|
21381
|
-
|
|
21386
|
+
cn.value?.mmr ? (z(), j(_, {
|
|
21382
21387
|
key: 2,
|
|
21383
|
-
modelValue:
|
|
21384
|
-
"onUpdate:modelValue": o[22] ||= (e) =>
|
|
21388
|
+
modelValue: cn.value.mmr.enabled,
|
|
21389
|
+
"onUpdate:modelValue": o[22] ||= (e) => cn.value.mmr.enabled = e,
|
|
21385
21390
|
name: "mmrEnabled",
|
|
21386
21391
|
switch: "",
|
|
21387
21392
|
value: !0,
|
|
@@ -21391,14 +21396,14 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21391
21396
|
default: G(() => [P("div", sO, [P("strong", null, V(H(r)("label.mmr")), 1), P("small", cO, V(H(r)("hint.mmr")), 1)])]),
|
|
21392
21397
|
_: 1
|
|
21393
21398
|
}, 8, ["modelValue"])) : M("", !0),
|
|
21394
|
-
|
|
21399
|
+
cn.value?.mmr?.enabled ? (z(), N(k, { key: 3 }, [P("div", lO, [P("div", uO, [P("label", {
|
|
21395
21400
|
class: "block text-12 text-word-3",
|
|
21396
21401
|
for: l.mmrDiversity
|
|
21397
|
-
}, V(H(r)("label.mmrDiversity")), 9, dO), I(uE, { text: H(r)("hint.mmrDiversityTooltip") }, null, 8, ["text"])]),
|
|
21402
|
+
}, V(H(r)("label.mmrDiversity")), 9, dO), I(uE, { text: H(r)("hint.mmrDiversityTooltip") }, null, 8, ["text"])]), cn.value?.mmr ? (z(), j(m, {
|
|
21398
21403
|
key: 0,
|
|
21399
21404
|
id: l.mmrDiversity,
|
|
21400
|
-
modelValue:
|
|
21401
|
-
"onUpdate:modelValue": o[23] ||= (e) =>
|
|
21405
|
+
modelValue: cn.value.mmr.diversity,
|
|
21406
|
+
"onUpdate:modelValue": o[23] ||= (e) => cn.value.mmr.diversity = e,
|
|
21402
21407
|
name: "mmrDiversity",
|
|
21403
21408
|
min: "0",
|
|
21404
21409
|
max: "1",
|
|
@@ -21412,11 +21417,11 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21412
21417
|
])) : M("", !0)]), P("div", fO, [P("div", pO, [P("label", {
|
|
21413
21418
|
class: "block text-12 text-word-3",
|
|
21414
21419
|
for: l.mmrCandidatesLimit
|
|
21415
|
-
}, V(H(r)("label.mmrCandidatesLimit")), 9, mO), I(uE, { text: H(r)("hint.mmrCandidatesLimitTooltip") }, null, 8, ["text"])]),
|
|
21420
|
+
}, V(H(r)("label.mmrCandidatesLimit")), 9, mO), I(uE, { text: H(r)("hint.mmrCandidatesLimitTooltip") }, null, 8, ["text"])]), cn.value?.mmr ? (z(), j(m, {
|
|
21416
21421
|
key: 0,
|
|
21417
21422
|
id: l.mmrCandidatesLimit,
|
|
21418
|
-
modelValue:
|
|
21419
|
-
"onUpdate:modelValue": o[24] ||= (e) =>
|
|
21423
|
+
modelValue: cn.value.mmr.candidatesLimit,
|
|
21424
|
+
"onUpdate:modelValue": o[24] ||= (e) => cn.value.mmr.candidatesLimit = e,
|
|
21420
21425
|
name: "mmrCandidatesLimit",
|
|
21421
21426
|
min: "20",
|
|
21422
21427
|
max: "100",
|
|
@@ -21437,8 +21442,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21437
21442
|
class: "mb-0"
|
|
21438
21443
|
}, {
|
|
21439
21444
|
default: G(() => [I(_, {
|
|
21440
|
-
modelValue:
|
|
21441
|
-
"onUpdate:modelValue": o[25] ||= (e) =>
|
|
21445
|
+
modelValue: Xt.value,
|
|
21446
|
+
"onUpdate:modelValue": o[25] ||= (e) => Xt.value = e,
|
|
21442
21447
|
name: "zeroDataRetention",
|
|
21443
21448
|
switch: "",
|
|
21444
21449
|
value: !0,
|
|
@@ -21447,10 +21452,10 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21447
21452
|
}, {
|
|
21448
21453
|
default: G(() => [P("div", hO, [P("strong", null, V(H(r)("label.zeroDataRetention")), 1), P("small", gO, V(H(r)("hint.zeroDataRetention")), 1)])]),
|
|
21449
21454
|
_: 1
|
|
21450
|
-
}, 8, ["modelValue"]),
|
|
21455
|
+
}, 8, ["modelValue"]), Xt.value ? M("", !0) : (z(), j(_, {
|
|
21451
21456
|
key: 0,
|
|
21452
|
-
modelValue:
|
|
21453
|
-
"onUpdate:modelValue": o[26] ||= (e) =>
|
|
21457
|
+
modelValue: Zt.value,
|
|
21458
|
+
"onUpdate:modelValue": o[26] ||= (e) => Zt.value = e,
|
|
21454
21459
|
name: "disallowPromptTraining",
|
|
21455
21460
|
switch: "",
|
|
21456
21461
|
value: !0,
|
|
@@ -21468,8 +21473,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21468
21473
|
class: "mb-0 mt-md"
|
|
21469
21474
|
}, {
|
|
21470
21475
|
default: G(() => [I(_, {
|
|
21471
|
-
modelValue:
|
|
21472
|
-
"onUpdate:modelValue": o[27] ||= (e) =>
|
|
21476
|
+
modelValue: _t.value,
|
|
21477
|
+
"onUpdate:modelValue": o[27] ||= (e) => _t.value = e,
|
|
21473
21478
|
name: "voiceEnabled",
|
|
21474
21479
|
switch: "",
|
|
21475
21480
|
value: !0,
|
|
@@ -21478,38 +21483,38 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21478
21483
|
}, {
|
|
21479
21484
|
default: G(() => [P("div", yO, [P("strong", null, V(H(r)("label.voiceEnabled")), 1), P("small", bO, V(H(r)("hint.voiceEnabled")), 1)])]),
|
|
21480
21485
|
_: 1
|
|
21481
|
-
}, 8, ["modelValue"]),
|
|
21482
|
-
|
|
21486
|
+
}, 8, ["modelValue"]), _t.value ? (z(), N(k, { key: 0 }, [
|
|
21487
|
+
An.value.length ? (z(), j(_E, {
|
|
21483
21488
|
key: 0,
|
|
21484
21489
|
level: "warning",
|
|
21485
21490
|
class: "mt-md mb-0"
|
|
21486
21491
|
}, {
|
|
21487
|
-
default: G(() => [F(V(H(r)("hint.voiceApprovalRefused", { tools:
|
|
21492
|
+
default: G(() => [F(V(H(r)("hint.voiceApprovalRefused", { tools: An.value.join(", ") })), 1)]),
|
|
21488
21493
|
_: 1
|
|
21489
21494
|
})) : M("", !0),
|
|
21490
21495
|
P("div", xO, [I(s, {
|
|
21491
|
-
modelValue:
|
|
21492
|
-
"onUpdate:modelValue": o[29] ||= (e) =>
|
|
21496
|
+
modelValue: bt.value,
|
|
21497
|
+
"onUpdate:modelValue": o[29] ||= (e) => bt.value = e,
|
|
21493
21498
|
name: "voiceId",
|
|
21494
21499
|
icon: "ri:user-voice-line",
|
|
21495
21500
|
strategy: "fixed",
|
|
21496
21501
|
class: "flex-1 mb-0",
|
|
21497
21502
|
searchable: "",
|
|
21498
21503
|
label: H(r)("label.voiceId"),
|
|
21499
|
-
"hint-label":
|
|
21504
|
+
"hint-label": It.value,
|
|
21500
21505
|
placeholder: H(r)("placeholder.select"),
|
|
21501
21506
|
"select-hint-label": "",
|
|
21502
21507
|
"deselect-hint-label": "",
|
|
21503
21508
|
"selected-hint-label": "",
|
|
21504
|
-
options:
|
|
21505
|
-
"search-function":
|
|
21509
|
+
options: Pt.value,
|
|
21510
|
+
"search-function": Ft
|
|
21506
21511
|
}, {
|
|
21507
21512
|
after: G(() => [I(d, {
|
|
21508
21513
|
modifiers: "action-quiet",
|
|
21509
|
-
icon:
|
|
21510
|
-
disabled: !
|
|
21511
|
-
title: H(r)(
|
|
21512
|
-
onClick: o[28] ||= (e) =>
|
|
21514
|
+
icon: Rt.value ? "ri:stop-circle-line" : "ri:play-circle-line",
|
|
21515
|
+
disabled: !Ht.value,
|
|
21516
|
+
title: H(r)(Rt.value ? "action.stopVoicePreview" : "action.playVoicePreview"),
|
|
21517
|
+
onClick: o[28] ||= (e) => Vt()
|
|
21513
21518
|
}, null, 8, [
|
|
21514
21519
|
"icon",
|
|
21515
21520
|
"disabled",
|
|
@@ -21525,8 +21530,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21525
21530
|
"options"
|
|
21526
21531
|
])]),
|
|
21527
21532
|
I(s, {
|
|
21528
|
-
modelValue:
|
|
21529
|
-
"onUpdate:modelValue": o[30] ||= (e) =>
|
|
21533
|
+
modelValue: xt.value,
|
|
21534
|
+
"onUpdate:modelValue": o[30] ||= (e) => xt.value = e,
|
|
21530
21535
|
name: "voiceLanguage",
|
|
21531
21536
|
icon: "ri:translate-2",
|
|
21532
21537
|
strategy: "fixed",
|
|
@@ -21538,7 +21543,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21538
21543
|
"select-hint-label": "",
|
|
21539
21544
|
"deselect-hint-label": "",
|
|
21540
21545
|
"selected-hint-label": "",
|
|
21541
|
-
options:
|
|
21546
|
+
options: kt.map((e) => ({
|
|
21542
21547
|
label: H(r)(`language.${e}`),
|
|
21543
21548
|
value: e
|
|
21544
21549
|
}))
|
|
@@ -21550,8 +21555,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21550
21555
|
"options"
|
|
21551
21556
|
]),
|
|
21552
21557
|
I(p, {
|
|
21553
|
-
modelValue:
|
|
21554
|
-
"onUpdate:modelValue": o[31] ||= (e) =>
|
|
21558
|
+
modelValue: St.value,
|
|
21559
|
+
"onUpdate:modelValue": o[31] ||= (e) => St.value = e,
|
|
21555
21560
|
name: "voiceFirstMessage",
|
|
21556
21561
|
maxlength: "300",
|
|
21557
21562
|
class: "mb-0 mt-md",
|
|
@@ -21571,8 +21576,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21571
21576
|
}, {
|
|
21572
21577
|
default: G(() => [P("div", TO, [
|
|
21573
21578
|
I(_, {
|
|
21574
|
-
modelValue:
|
|
21575
|
-
"onUpdate:modelValue": o[32] ||= (e) =>
|
|
21579
|
+
modelValue: Et.value,
|
|
21580
|
+
"onUpdate:modelValue": o[32] ||= (e) => Et.value = e,
|
|
21576
21581
|
name: "voiceIgnoreBackgroundVoices",
|
|
21577
21582
|
switch: "",
|
|
21578
21583
|
value: !0,
|
|
@@ -21583,8 +21588,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21583
21588
|
_: 1
|
|
21584
21589
|
}, 8, ["modelValue"]),
|
|
21585
21590
|
I(s, {
|
|
21586
|
-
modelValue:
|
|
21587
|
-
"onUpdate:modelValue": o[33] ||= (e) =>
|
|
21591
|
+
modelValue: Dt.value,
|
|
21592
|
+
"onUpdate:modelValue": o[33] ||= (e) => Dt.value = e,
|
|
21588
21593
|
name: "voiceTurnEagerness",
|
|
21589
21594
|
icon: "ri:hourglass-line",
|
|
21590
21595
|
strategy: "fixed",
|
|
@@ -21618,8 +21623,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21618
21623
|
"options"
|
|
21619
21624
|
]),
|
|
21620
21625
|
P("div", OO, [I(p, {
|
|
21621
|
-
modelValue:
|
|
21622
|
-
"onUpdate:modelValue": o[34] ||= (e) =>
|
|
21626
|
+
modelValue: Ot.value,
|
|
21627
|
+
"onUpdate:modelValue": o[34] ||= (e) => Ot.value = e,
|
|
21623
21628
|
name: "voiceTurnTimeoutSeconds",
|
|
21624
21629
|
type: "number",
|
|
21625
21630
|
min: "1",
|
|
@@ -21633,8 +21638,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21633
21638
|
"label",
|
|
21634
21639
|
"placeholder"
|
|
21635
21640
|
]), I(p, {
|
|
21636
|
-
modelValue:
|
|
21637
|
-
"onUpdate:modelValue": o[35] ||= (e) =>
|
|
21641
|
+
modelValue: Ct.value,
|
|
21642
|
+
"onUpdate:modelValue": o[35] ||= (e) => Ct.value = e,
|
|
21638
21643
|
name: "voiceCascadeTimeoutSeconds",
|
|
21639
21644
|
type: "number",
|
|
21640
21645
|
min: "5",
|
|
@@ -21650,8 +21655,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21650
21655
|
])]),
|
|
21651
21656
|
P("small", kO, V(H(r)("hint.voiceTurnTimeoutSeconds")), 1),
|
|
21652
21657
|
I(p, {
|
|
21653
|
-
modelValue:
|
|
21654
|
-
"onUpdate:modelValue": o[36] ||= (e) =>
|
|
21658
|
+
modelValue: vt.value,
|
|
21659
|
+
"onUpdate:modelValue": o[36] ||= (e) => vt.value = e,
|
|
21655
21660
|
name: "voiceMaxSessionSeconds",
|
|
21656
21661
|
type: "number",
|
|
21657
21662
|
min: "30",
|
|
@@ -21672,8 +21677,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21672
21677
|
_: 1
|
|
21673
21678
|
}),
|
|
21674
21679
|
I(p, {
|
|
21675
|
-
modelValue:
|
|
21676
|
-
"onUpdate:modelValue": o[37] ||= (e) =>
|
|
21680
|
+
modelValue: wt.value,
|
|
21681
|
+
"onUpdate:modelValue": o[37] ||= (e) => wt.value = e,
|
|
21677
21682
|
name: "voiceFillerAfterSeconds",
|
|
21678
21683
|
type: "number",
|
|
21679
21684
|
min: "0.5",
|
|
@@ -21690,8 +21695,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21690
21695
|
"placeholder"
|
|
21691
21696
|
]),
|
|
21692
21697
|
I(p, {
|
|
21693
|
-
modelValue:
|
|
21694
|
-
"onUpdate:modelValue": o[38] ||= (e) =>
|
|
21698
|
+
modelValue: Tt.value,
|
|
21699
|
+
"onUpdate:modelValue": o[38] ||= (e) => Tt.value = e,
|
|
21695
21700
|
name: "voiceFillerMessage",
|
|
21696
21701
|
maxlength: "200",
|
|
21697
21702
|
class: "mb-0 mt-md",
|
|
@@ -21712,8 +21717,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21712
21717
|
}, 8, ["legend"])) : M("", !0),
|
|
21713
21718
|
e.playground ? M("", !0) : (z(), j(OD, {
|
|
21714
21719
|
key: 2,
|
|
21715
|
-
modelValue:
|
|
21716
|
-
"onUpdate:modelValue": o[39] ||= (e) =>
|
|
21720
|
+
modelValue: E.value,
|
|
21721
|
+
"onUpdate:modelValue": o[39] ||= (e) => E.value = e,
|
|
21717
21722
|
class: "mb-0 mt-md",
|
|
21718
21723
|
type: g.value
|
|
21719
21724
|
}, null, 8, ["modelValue", "type"]))
|
|
@@ -21741,7 +21746,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21741
21746
|
"label-add",
|
|
21742
21747
|
"label-remove"
|
|
21743
21748
|
])),
|
|
21744
|
-
|
|
21749
|
+
Pn.value ? (z(), j(t, {
|
|
21745
21750
|
key: 1,
|
|
21746
21751
|
modelValue: Te.value,
|
|
21747
21752
|
"onUpdate:modelValue": o[41] ||= (e) => Te.value = e,
|
|
@@ -21809,14 +21814,14 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21809
21814
|
value: "black"
|
|
21810
21815
|
}
|
|
21811
21816
|
],
|
|
21812
|
-
class: ui({ "mb-0": !
|
|
21817
|
+
class: ui({ "mb-0": !Pn.value })
|
|
21813
21818
|
}, null, 8, [
|
|
21814
21819
|
"modelValue",
|
|
21815
21820
|
"label",
|
|
21816
21821
|
"options",
|
|
21817
21822
|
"class"
|
|
21818
21823
|
]),
|
|
21819
|
-
|
|
21824
|
+
Pn.value ? (z(), N(k, { key: 0 }, [I(t, {
|
|
21820
21825
|
modelValue: ke.value,
|
|
21821
21826
|
"onUpdate:modelValue": o[44] ||= (e) => ke.value = e,
|
|
21822
21827
|
name: "glowTones",
|
|
@@ -21837,16 +21842,16 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21837
21842
|
value: "two"
|
|
21838
21843
|
}
|
|
21839
21844
|
],
|
|
21840
|
-
class: ui({ "mb-0": !
|
|
21845
|
+
class: ui({ "mb-0": !hn.value })
|
|
21841
21846
|
}, null, 8, [
|
|
21842
21847
|
"modelValue",
|
|
21843
21848
|
"label",
|
|
21844
21849
|
"hint-label",
|
|
21845
21850
|
"options",
|
|
21846
21851
|
"class"
|
|
21847
|
-
]),
|
|
21848
|
-
modelValue:
|
|
21849
|
-
"onUpdate:modelValue": o[45] ||= (e) =>
|
|
21852
|
+
]), hn.value ? (z(), N(k, { key: 0 }, [I(gE, {
|
|
21853
|
+
modelValue: gn.value,
|
|
21854
|
+
"onUpdate:modelValue": o[45] ||= (e) => gn.value = e,
|
|
21850
21855
|
name: "glowSecondColorCustom",
|
|
21851
21856
|
switch: "",
|
|
21852
21857
|
class: "mb-0",
|
|
@@ -21873,7 +21878,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21873
21878
|
class: "border border-surface-3 rounded-lg mt-md mb-md"
|
|
21874
21879
|
}, {
|
|
21875
21880
|
default: G(() => [P("div", AO, [
|
|
21876
|
-
|
|
21881
|
+
Pn.value ? (z(), j(gE, {
|
|
21877
21882
|
key: 0,
|
|
21878
21883
|
modelValue: Me.value,
|
|
21879
21884
|
"onUpdate:modelValue": o[47] ||= (e) => Me.value = e,
|
|
@@ -21887,10 +21892,10 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21887
21892
|
"label",
|
|
21888
21893
|
"hint-label"
|
|
21889
21894
|
])) : M("", !0),
|
|
21890
|
-
|
|
21895
|
+
Pn.value ? (z(), j(gE, {
|
|
21891
21896
|
key: 1,
|
|
21892
|
-
modelValue:
|
|
21893
|
-
"onUpdate:modelValue": o[48] ||= (e) =>
|
|
21897
|
+
modelValue: $t.value,
|
|
21898
|
+
"onUpdate:modelValue": o[48] ||= (e) => $t.value = e,
|
|
21894
21899
|
name: "smoothStream",
|
|
21895
21900
|
class: "mt-md mb-0",
|
|
21896
21901
|
switch: "",
|
|
@@ -21901,7 +21906,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21901
21906
|
"label",
|
|
21902
21907
|
"hint-label"
|
|
21903
21908
|
])) : M("", !0),
|
|
21904
|
-
!e.playground &&
|
|
21909
|
+
!e.playground && Pn.value ? (z(), j(gE, {
|
|
21905
21910
|
key: 2,
|
|
21906
21911
|
modelValue: Ne.value,
|
|
21907
21912
|
"onUpdate:modelValue": o[49] ||= (e) => Ne.value = e,
|
|
@@ -21915,7 +21920,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21915
21920
|
"label",
|
|
21916
21921
|
"hint-label"
|
|
21917
21922
|
])) : M("", !0),
|
|
21918
|
-
!e.playground &&
|
|
21923
|
+
!e.playground && Pn.value && fe.value === "public" ? (z(), j(gE, {
|
|
21919
21924
|
key: 3,
|
|
21920
21925
|
modelValue: Pe.value,
|
|
21921
21926
|
"onUpdate:modelValue": o[50] ||= (e) => Pe.value = e,
|
|
@@ -21929,7 +21934,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21929
21934
|
"label",
|
|
21930
21935
|
"hint-label"
|
|
21931
21936
|
])) : M("", !0),
|
|
21932
|
-
!e.playground &&
|
|
21937
|
+
!e.playground && Pn.value ? (z(), j(t, {
|
|
21933
21938
|
key: 4,
|
|
21934
21939
|
modelValue: Le.value,
|
|
21935
21940
|
"onUpdate:modelValue": o[51] ||= (e) => Le.value = e,
|
|
@@ -21961,7 +21966,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21961
21966
|
"hint-label",
|
|
21962
21967
|
"options"
|
|
21963
21968
|
])) : M("", !0),
|
|
21964
|
-
!e.playground &&
|
|
21969
|
+
!e.playground && Pn.value ? (z(), j(t, {
|
|
21965
21970
|
key: 5,
|
|
21966
21971
|
modelValue: Fe.value,
|
|
21967
21972
|
"onUpdate:modelValue": o[52] ||= (e) => Fe.value = e,
|
|
@@ -21991,7 +21996,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
21991
21996
|
"label",
|
|
21992
21997
|
"options"
|
|
21993
21998
|
])) : M("", !0),
|
|
21994
|
-
!e.playground &&
|
|
21999
|
+
!e.playground && Pn.value && Le.value === "floating" ? (z(), j(t, {
|
|
21995
22000
|
key: 6,
|
|
21996
22001
|
modelValue: Be.value,
|
|
21997
22002
|
"onUpdate:modelValue": o[53] ||= (e) => Be.value = e,
|
|
@@ -22013,7 +22018,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22013
22018
|
"hint-label",
|
|
22014
22019
|
"options"
|
|
22015
22020
|
])) : M("", !0),
|
|
22016
|
-
!e.playground &&
|
|
22021
|
+
!e.playground && Pn.value ? (z(), j(gE, {
|
|
22017
22022
|
key: 7,
|
|
22018
22023
|
modelValue: He.value,
|
|
22019
22024
|
"onUpdate:modelValue": o[54] ||= (e) => He.value = e,
|
|
@@ -22027,7 +22032,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22027
22032
|
"label",
|
|
22028
22033
|
"hint-label"
|
|
22029
22034
|
])) : M("", !0),
|
|
22030
|
-
!e.playground &&
|
|
22035
|
+
!e.playground && Pn.value ? (z(), j(gE, {
|
|
22031
22036
|
key: 8,
|
|
22032
22037
|
modelValue: Re.value,
|
|
22033
22038
|
"onUpdate:modelValue": o[55] ||= (e) => Re.value = e,
|
|
@@ -22041,7 +22046,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22041
22046
|
"label",
|
|
22042
22047
|
"hint-label"
|
|
22043
22048
|
])) : M("", !0),
|
|
22044
|
-
!e.playground &&
|
|
22049
|
+
!e.playground && Pn.value && Le.value === "copilot" ? (z(), j(Ts, {
|
|
22045
22050
|
key: 9,
|
|
22046
22051
|
modelValue: Ue.value,
|
|
22047
22052
|
"onUpdate:modelValue": o[56] ||= (e) => Ue.value = e,
|
|
@@ -22056,7 +22061,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22056
22061
|
"hint-label",
|
|
22057
22062
|
"placeholder"
|
|
22058
22063
|
])) : M("", !0),
|
|
22059
|
-
|
|
22064
|
+
Pn.value ? (z(), j(p, {
|
|
22060
22065
|
key: 10,
|
|
22061
22066
|
modelValue: We.value,
|
|
22062
22067
|
"onUpdate:modelValue": o[57] ||= (e) => We.value = e,
|
|
@@ -22074,8 +22079,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22074
22079
|
])) : M("", !0),
|
|
22075
22080
|
e.playground ? M("", !0) : (z(), j(Ts, {
|
|
22076
22081
|
key: 11,
|
|
22077
|
-
modelValue:
|
|
22078
|
-
"onUpdate:modelValue": o[58] ||= (e) =>
|
|
22082
|
+
modelValue: qt.value,
|
|
22083
|
+
"onUpdate:modelValue": o[58] ||= (e) => qt.value = e,
|
|
22079
22084
|
language: "css",
|
|
22080
22085
|
class: "mt-md mb-0",
|
|
22081
22086
|
label: H(r)("label.customCss"),
|
|
@@ -22090,7 +22095,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22090
22095
|
])]),
|
|
22091
22096
|
_: 1
|
|
22092
22097
|
}, 8, ["title"]),
|
|
22093
|
-
|
|
22098
|
+
Pn.value ? (z(), j(ae, {
|
|
22094
22099
|
key: 2,
|
|
22095
22100
|
items: c.value.map((e) => ({
|
|
22096
22101
|
tab: e,
|
|
@@ -22194,17 +22199,17 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22194
22199
|
"placeholder",
|
|
22195
22200
|
"onUpdate:modelValue"
|
|
22196
22201
|
]),
|
|
22197
|
-
|
|
22202
|
+
!et.value.includes(H(T).ShowContactForm) && !Cn.value.has(H(T).ShowContactForm) ? (z(), j(XT, {
|
|
22198
22203
|
key: 0,
|
|
22199
|
-
"model-value":
|
|
22204
|
+
"model-value": Jt.value?.[e] ?? "",
|
|
22200
22205
|
name: `privacyPolicyNotice.${e}`,
|
|
22201
22206
|
lang: e,
|
|
22202
22207
|
label: H(r)("label.privacyPolicyNotice"),
|
|
22203
22208
|
placeholder: H(r)("placeholder.insert"),
|
|
22204
22209
|
"hint-label": H(r)("hint.privacyPolicyNotice"),
|
|
22205
22210
|
class: "mb-0",
|
|
22206
|
-
"onUpdate:modelValue": (t) =>
|
|
22207
|
-
...
|
|
22211
|
+
"onUpdate:modelValue": (t) => Jt.value = {
|
|
22212
|
+
...Jt.value,
|
|
22208
22213
|
[e]: t ?? ""
|
|
22209
22214
|
}
|
|
22210
22215
|
}, null, 8, [
|
|
@@ -22225,8 +22230,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22225
22230
|
legend: H(r)("label.fileUpload")
|
|
22226
22231
|
}, {
|
|
22227
22232
|
default: G(() => [I(gE, {
|
|
22228
|
-
modelValue:
|
|
22229
|
-
"onUpdate:modelValue": o[59] ||= (e) =>
|
|
22233
|
+
modelValue: pt.value,
|
|
22234
|
+
"onUpdate:modelValue": o[59] ||= (e) => pt.value = e,
|
|
22230
22235
|
disabled: e.playground,
|
|
22231
22236
|
name: "fileUploadEnabled",
|
|
22232
22237
|
switch: "",
|
|
@@ -22237,10 +22242,10 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22237
22242
|
"disabled",
|
|
22238
22243
|
"label",
|
|
22239
22244
|
"hint-label"
|
|
22240
|
-
]),
|
|
22245
|
+
]), pt.value ? (z(), N(k, { key: 0 }, [
|
|
22241
22246
|
I(p, {
|
|
22242
|
-
modelValue:
|
|
22243
|
-
"onUpdate:modelValue": o[60] ||= (e) =>
|
|
22247
|
+
modelValue: Sn.value,
|
|
22248
|
+
"onUpdate:modelValue": o[60] ||= (e) => Sn.value = e,
|
|
22244
22249
|
disabled: e.playground,
|
|
22245
22250
|
name: "fileUploadMaxFileSize",
|
|
22246
22251
|
type: "number",
|
|
@@ -22255,15 +22260,15 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22255
22260
|
"placeholder"
|
|
22256
22261
|
]),
|
|
22257
22262
|
I(s, {
|
|
22258
|
-
modelValue:
|
|
22259
|
-
"onUpdate:modelValue": o[61] ||= (e) =>
|
|
22263
|
+
modelValue: bn.value,
|
|
22264
|
+
"onUpdate:modelValue": o[61] ||= (e) => bn.value = e,
|
|
22260
22265
|
disabled: e.playground,
|
|
22261
22266
|
name: "fileUploadAllowedMimeTypes",
|
|
22262
22267
|
"select-hint-label": "",
|
|
22263
22268
|
"deselect-hint-label": "",
|
|
22264
22269
|
label: H(r)("label.fileUploadAllowedMimeTypes"),
|
|
22265
22270
|
placeholder: H(r)("placeholder.select"),
|
|
22266
|
-
options:
|
|
22271
|
+
options: vn.value,
|
|
22267
22272
|
badges: "",
|
|
22268
22273
|
multiple: "",
|
|
22269
22274
|
strategy: "fixed"
|
|
@@ -22301,17 +22306,17 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22301
22306
|
"placeholder",
|
|
22302
22307
|
"options"
|
|
22303
22308
|
]),
|
|
22304
|
-
|
|
22309
|
+
xn.value ? (z(), j(_E, {
|
|
22305
22310
|
key: 0,
|
|
22306
22311
|
level: "warning",
|
|
22307
22312
|
class: "mb-md"
|
|
22308
22313
|
}, {
|
|
22309
|
-
default: G(() => [F(V(
|
|
22314
|
+
default: G(() => [F(V(xn.value), 1)]),
|
|
22310
22315
|
_: 1
|
|
22311
22316
|
})) : M("", !0),
|
|
22312
22317
|
P("div", MO, [I(p, {
|
|
22313
|
-
modelValue:
|
|
22314
|
-
"onUpdate:modelValue": o[62] ||= (e) =>
|
|
22318
|
+
modelValue: Gt.value,
|
|
22319
|
+
"onUpdate:modelValue": o[62] ||= (e) => Gt.value = e,
|
|
22315
22320
|
disabled: e.playground,
|
|
22316
22321
|
name: "fileUploadMaxFilesPerMessage",
|
|
22317
22322
|
type: "number",
|
|
@@ -22325,8 +22330,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22325
22330
|
"label",
|
|
22326
22331
|
"placeholder"
|
|
22327
22332
|
]), I(p, {
|
|
22328
|
-
modelValue:
|
|
22329
|
-
"onUpdate:modelValue": o[63] ||= (e) =>
|
|
22333
|
+
modelValue: Kt.value,
|
|
22334
|
+
"onUpdate:modelValue": o[63] ||= (e) => Kt.value = e,
|
|
22330
22335
|
disabled: e.playground,
|
|
22331
22336
|
name: "fileUploadMaxFilesPerChat",
|
|
22332
22337
|
type: "number",
|
|
@@ -22350,8 +22355,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22350
22355
|
default: G(() => [I(DD, {
|
|
22351
22356
|
"web-search": Ce.value,
|
|
22352
22357
|
"onUpdate:webSearch": o[64] ||= (e) => Ce.value = e,
|
|
22353
|
-
"active-provider":
|
|
22354
|
-
"fallback-models":
|
|
22358
|
+
"active-provider": Nn.value,
|
|
22359
|
+
"fallback-models": Yt.value
|
|
22355
22360
|
}, null, 8, [
|
|
22356
22361
|
"web-search",
|
|
22357
22362
|
"active-provider",
|
|
@@ -22364,12 +22369,12 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22364
22369
|
legend: H(r)("label.toolWorkingSet")
|
|
22365
22370
|
}, {
|
|
22366
22371
|
default: G(() => [I(s, {
|
|
22367
|
-
modelValue:
|
|
22368
|
-
"onUpdate:modelValue": o[65] ||= (e) =>
|
|
22372
|
+
modelValue: gt.value,
|
|
22373
|
+
"onUpdate:modelValue": o[65] ||= (e) => gt.value = e,
|
|
22369
22374
|
disabled: e.playground,
|
|
22370
22375
|
name: "toolWorkingSetMode",
|
|
22371
22376
|
label: H(r)("label.toolWorkingSetMode"),
|
|
22372
|
-
options:
|
|
22377
|
+
options: yn.value,
|
|
22373
22378
|
unselectable: !1,
|
|
22374
22379
|
"select-hint-label": "",
|
|
22375
22380
|
"deselect-hint-label": "",
|
|
@@ -22382,12 +22387,12 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22382
22387
|
"label",
|
|
22383
22388
|
"options"
|
|
22384
22389
|
]), I(_E, { class: "mt-md mb-0" }, {
|
|
22385
|
-
default: G(() => [F(V(H(r)(`hint.toolWorkingSetMode.${
|
|
22390
|
+
default: G(() => [F(V(H(r)(`hint.toolWorkingSetMode.${gt.value}`)), 1)]),
|
|
22386
22391
|
_: 1
|
|
22387
22392
|
})]),
|
|
22388
22393
|
_: 1
|
|
22389
22394
|
}, 8, ["legend"])) : M("", !0),
|
|
22390
|
-
P("div", NO, [P("p", PO, V(H(r)("hint.approvalChannels")), 1), (z(!0), N(k, null, yi(
|
|
22395
|
+
P("div", NO, [P("p", PO, V(H(r)("hint.approvalChannels")), 1), (z(!0), N(k, null, yi(Tn.value, (t) => (z(), N(k, { key: t.key }, [Pn.value || !t.tools.every((e) => Dn(e)) ? (z(), j(Os, {
|
|
22391
22396
|
key: 0,
|
|
22392
22397
|
class: "mb-0"
|
|
22393
22398
|
}, {
|
|
@@ -22395,15 +22400,15 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22395
22400
|
name: t.icon,
|
|
22396
22401
|
class: "text-16"
|
|
22397
22402
|
}, null, 8, ["name"]), F(" " + V(H(r)(`toolGroup.${t.key}`)), 1)])]),
|
|
22398
|
-
default: G(() => [P("p", IO, V(H(r)(`toolGroupInfo.${t.key}`)), 1), P("div", LO, [(z(!0), N(k, null, yi(t.tools, (t) => (z(), N(k, { key: t }, [!
|
|
22403
|
+
default: G(() => [P("p", IO, V(H(r)(`toolGroupInfo.${t.key}`)), 1), P("div", LO, [(z(!0), N(k, null, yi(t.tools, (t) => (z(), N(k, { key: t }, [!Dn(t) || Pn.value ? (z(), N(k, { key: 0 }, [I(_, {
|
|
22399
22404
|
class: "flex-nowrap border-t border-surface-3 mr-0 px-md pt-md",
|
|
22400
|
-
"model-value":
|
|
22405
|
+
"model-value": O(t),
|
|
22401
22406
|
name: `tool.${t}`,
|
|
22402
22407
|
value: !0,
|
|
22403
22408
|
"unchecked-value": !1,
|
|
22404
|
-
disabled: !
|
|
22409
|
+
disabled: !En(t),
|
|
22405
22410
|
switch: "",
|
|
22406
|
-
"onUpdate:modelValue": (e) =>
|
|
22411
|
+
"onUpdate:modelValue": (e) => Mn(t, e)
|
|
22407
22412
|
}, {
|
|
22408
22413
|
default: G(() => [P("div", RO, [
|
|
22409
22414
|
P("div", zO, [
|
|
@@ -22419,7 +22424,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22419
22424
|
default: G(() => [F(V(H(r)("label.deprecated")), 1)]),
|
|
22420
22425
|
_: 1
|
|
22421
22426
|
})) : M("", !0),
|
|
22422
|
-
|
|
22427
|
+
kn(t) ? (z(), j(sD, { key: 2 })) : M("", !0)
|
|
22423
22428
|
]),
|
|
22424
22429
|
P("small", VO, V(H(r)(`hint.tool.${t}`)), 1),
|
|
22425
22430
|
H(C)(t) && H(ze)(t) ? (z(), N("div", {
|
|
@@ -22452,7 +22457,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22452
22457
|
"name",
|
|
22453
22458
|
"disabled",
|
|
22454
22459
|
"onUpdate:modelValue"
|
|
22455
|
-
]),
|
|
22460
|
+
]), On(t) && O(t) ? (z(), j(v, {
|
|
22456
22461
|
key: 0,
|
|
22457
22462
|
title: H(r)("label.advancedOptions"),
|
|
22458
22463
|
modifiers: "details",
|
|
@@ -22460,8 +22465,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22460
22465
|
}, {
|
|
22461
22466
|
default: G(() => [P("div", UO, [
|
|
22462
22467
|
t === H(T).ShowForm ? (z(), N("div", WO, [I(p, {
|
|
22463
|
-
modelValue:
|
|
22464
|
-
"onUpdate:modelValue": o[66] ||= (e) =>
|
|
22468
|
+
modelValue: st.value,
|
|
22469
|
+
"onUpdate:modelValue": o[66] ||= (e) => st.value = e,
|
|
22465
22470
|
name: "formMaxSteps",
|
|
22466
22471
|
type: "number",
|
|
22467
22472
|
min: 1,
|
|
@@ -22474,8 +22479,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22474
22479
|
"label",
|
|
22475
22480
|
"disabled"
|
|
22476
22481
|
]), I(p, {
|
|
22477
|
-
modelValue:
|
|
22478
|
-
"onUpdate:modelValue": o[67] ||= (e) =>
|
|
22482
|
+
modelValue: ct.value,
|
|
22483
|
+
"onUpdate:modelValue": o[67] ||= (e) => ct.value = e,
|
|
22479
22484
|
name: "formMaxOptionsPerStep",
|
|
22480
22485
|
type: "number",
|
|
22481
22486
|
min: 2,
|
|
@@ -22490,8 +22495,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22490
22495
|
])])) : M("", !0),
|
|
22491
22496
|
t === H(T).UserMemory ? (z(), j(gE, {
|
|
22492
22497
|
key: 1,
|
|
22493
|
-
modelValue:
|
|
22494
|
-
"onUpdate:modelValue": o[68] ||= (e) =>
|
|
22498
|
+
modelValue: at.value,
|
|
22499
|
+
"onUpdate:modelValue": o[68] ||= (e) => at.value = e,
|
|
22495
22500
|
name: "useAllUserKb",
|
|
22496
22501
|
label: H(r)("agent.tool.useAllUserKb"),
|
|
22497
22502
|
"hint-label": H(r)("hint.tool.useAllUserKb"),
|
|
@@ -22506,8 +22511,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22506
22511
|
])) : M("", !0),
|
|
22507
22512
|
t === H(T).SearchInUserFiles ? (z(), j(gE, {
|
|
22508
22513
|
key: 2,
|
|
22509
|
-
modelValue:
|
|
22510
|
-
"onUpdate:modelValue": o[69] ||= (e) =>
|
|
22514
|
+
modelValue: ot.value,
|
|
22515
|
+
"onUpdate:modelValue": o[69] ||= (e) => ot.value = e,
|
|
22511
22516
|
name: "useAllUserFiles",
|
|
22512
22517
|
label: H(r)("agent.tool.useAllUserFiles"),
|
|
22513
22518
|
"hint-label": H(r)("hint.tool.useAllUserFiles"),
|
|
@@ -22520,8 +22525,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22520
22525
|
])) : M("", !0),
|
|
22521
22526
|
t === H(T).Spreadsheet ? (z(), j(gE, {
|
|
22522
22527
|
key: 3,
|
|
22523
|
-
modelValue:
|
|
22524
|
-
"onUpdate:modelValue": o[70] ||= (e) =>
|
|
22528
|
+
modelValue: nt.value,
|
|
22529
|
+
"onUpdate:modelValue": o[70] ||= (e) => nt.value = e,
|
|
22525
22530
|
name: "createSpreadsheetEnabled",
|
|
22526
22531
|
label: H(r)("agent.tool.createSpreadsheet"),
|
|
22527
22532
|
"hint-label": H(r)("hint.tool.createSpreadsheet"),
|
|
@@ -22536,8 +22541,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22536
22541
|
])) : M("", !0),
|
|
22537
22542
|
t === H(T).WordDocument ? (z(), j(gE, {
|
|
22538
22543
|
key: 4,
|
|
22539
|
-
modelValue:
|
|
22540
|
-
"onUpdate:modelValue": o[71] ||= (e) =>
|
|
22544
|
+
modelValue: rt.value,
|
|
22545
|
+
"onUpdate:modelValue": o[71] ||= (e) => rt.value = e,
|
|
22541
22546
|
name: "createWordDocumentEnabled",
|
|
22542
22547
|
label: H(r)("agent.tool.createWordDocument"),
|
|
22543
22548
|
"hint-label": H(r)("hint.tool.createWordDocument"),
|
|
@@ -22552,13 +22557,13 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22552
22557
|
])) : M("", !0),
|
|
22553
22558
|
H(te)(t) ? (z(), j(gE, {
|
|
22554
22559
|
key: 5,
|
|
22555
|
-
"model-value":
|
|
22560
|
+
"model-value": kn(t),
|
|
22556
22561
|
name: `tool.${t}.approval`,
|
|
22557
22562
|
label: H(r)("label.toolRequiresApproval"),
|
|
22558
22563
|
"hint-label": H(r)("hint.toolRequiresApproval"),
|
|
22559
22564
|
disabled: e.playground,
|
|
22560
22565
|
class: "mb-0",
|
|
22561
|
-
"onUpdate:modelValue": (e) =>
|
|
22566
|
+
"onUpdate:modelValue": (e) => jn(t, e)
|
|
22562
22567
|
}, null, 8, [
|
|
22563
22568
|
"model-value",
|
|
22564
22569
|
"name",
|
|
@@ -22574,7 +22579,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22574
22579
|
}, 1024)) : M("", !0)], 64))), 128))])
|
|
22575
22580
|
]),
|
|
22576
22581
|
"panel::embed": G(() => [P("div", GO, [
|
|
22577
|
-
|
|
22582
|
+
E.value.includes(H(we).Widget) ? M("", !0) : (z(), j(_E, {
|
|
22578
22583
|
key: 0,
|
|
22579
22584
|
level: "warning",
|
|
22580
22585
|
class: "mb-0"
|
|
@@ -22582,7 +22587,7 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22582
22587
|
default: G(() => [F(V(H(r)("hint.channelWidgetDisabled")), 1)]),
|
|
22583
22588
|
_: 1
|
|
22584
22589
|
})),
|
|
22585
|
-
|
|
22590
|
+
E.value.includes(H(we).App) ? M("", !0) : (z(), j(_E, {
|
|
22586
22591
|
key: 1,
|
|
22587
22592
|
level: "warning",
|
|
22588
22593
|
class: "mb-0"
|
|
@@ -22591,9 +22596,9 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22591
22596
|
_: 1
|
|
22592
22597
|
})),
|
|
22593
22598
|
P("div", null, [P("h3", KO, V(H(r)("label.chatWidget")), 1), P("p", qO, V(H(r)("hint.embedCode")), 1)]),
|
|
22594
|
-
I(jD, { source:
|
|
22599
|
+
I(jD, { source: zn.value }, {
|
|
22595
22600
|
default: G(() => [I(zt, {
|
|
22596
|
-
code:
|
|
22601
|
+
code: zn.value,
|
|
22597
22602
|
language: "html",
|
|
22598
22603
|
line: "",
|
|
22599
22604
|
class: "text-12 overflow-hidden font-mono leading-snug bg-surface-1"
|
|
@@ -22601,8 +22606,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22601
22606
|
_: 1
|
|
22602
22607
|
}, 8, ["source"]),
|
|
22603
22608
|
e.playground ? M("", !0) : (z(), N("div", JO, [I(p, {
|
|
22604
|
-
modelValue:
|
|
22605
|
-
"onUpdate:modelValue": o[72] ||= (e) =>
|
|
22609
|
+
modelValue: lt.value,
|
|
22610
|
+
"onUpdate:modelValue": o[72] ||= (e) => lt.value = e,
|
|
22606
22611
|
name: "widgetUrl",
|
|
22607
22612
|
type: "url",
|
|
22608
22613
|
icon: "ri:links-line",
|
|
@@ -22619,8 +22624,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22619
22624
|
}, {
|
|
22620
22625
|
default: G(() => [P("div", YO, [
|
|
22621
22626
|
I(p, {
|
|
22622
|
-
modelValue:
|
|
22623
|
-
"onUpdate:modelValue": o[73] ||= (e) =>
|
|
22627
|
+
modelValue: dt.value,
|
|
22628
|
+
"onUpdate:modelValue": o[73] ||= (e) => dt.value = e,
|
|
22624
22629
|
name: "loadDelay",
|
|
22625
22630
|
type: "number",
|
|
22626
22631
|
step: "100",
|
|
@@ -22636,8 +22641,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22636
22641
|
"hint-label"
|
|
22637
22642
|
]),
|
|
22638
22643
|
I(s, {
|
|
22639
|
-
modelValue:
|
|
22640
|
-
"onUpdate:modelValue": o[74] ||= (e) =>
|
|
22644
|
+
modelValue: ft.value,
|
|
22645
|
+
"onUpdate:modelValue": o[74] ||= (e) => ft.value = e,
|
|
22641
22646
|
name: "loaderStrategy",
|
|
22642
22647
|
"select-hint-label": "",
|
|
22643
22648
|
"deselect-hint-label": "",
|
|
@@ -22663,20 +22668,20 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22663
22668
|
"label",
|
|
22664
22669
|
"options"
|
|
22665
22670
|
]),
|
|
22666
|
-
|
|
22671
|
+
ft.value ? (z(), j(_E, {
|
|
22667
22672
|
key: 0,
|
|
22668
22673
|
class: "mt-md mb-0"
|
|
22669
22674
|
}, {
|
|
22670
|
-
default: G(() => [F(V(H(r)(`hint.loaderStrategy.${
|
|
22675
|
+
default: G(() => [F(V(H(r)(`hint.loaderStrategy.${ft.value}`)), 1)]),
|
|
22671
22676
|
_: 1
|
|
22672
22677
|
})) : M("", !0)
|
|
22673
22678
|
])]),
|
|
22674
22679
|
_: 1
|
|
22675
22680
|
}, 8, ["title"])])),
|
|
22676
22681
|
P("div", null, [P("h3", XO, V(H(r)("label.iframe")), 1), P("p", ZO, V(H(r)("hint.embedIframe")), 1)]),
|
|
22677
|
-
I(jD, { source:
|
|
22682
|
+
I(jD, { source: Bn.value }, {
|
|
22678
22683
|
default: G(() => [I(zt, {
|
|
22679
|
-
code:
|
|
22684
|
+
code: Bn.value,
|
|
22680
22685
|
language: "html",
|
|
22681
22686
|
line: "",
|
|
22682
22687
|
class: "text-12 overflow-hidden font-mono leading-snug bg-surface-1"
|
|
@@ -22684,15 +22689,15 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22684
22689
|
_: 1
|
|
22685
22690
|
}, 8, ["source"]),
|
|
22686
22691
|
P("div", null, [P("h4", QO, V(H(r)("label.preview")), 1), P("p", $O, V(H(r)("hint.embedPreview")), 1)]),
|
|
22687
|
-
I(jD, { source:
|
|
22692
|
+
I(jD, { source: Rn.value }, {
|
|
22688
22693
|
actions: G(() => [I(d, {
|
|
22689
22694
|
modifiers: "action-quiet-small",
|
|
22690
22695
|
icon: "ri:eye-line",
|
|
22691
22696
|
label: H(r)("action.view"),
|
|
22692
|
-
href:
|
|
22697
|
+
href: Rn.value,
|
|
22693
22698
|
target: "_blank"
|
|
22694
22699
|
}, null, 8, ["label", "href"])]),
|
|
22695
|
-
default: G(() => [P("code", ek, V(
|
|
22700
|
+
default: G(() => [P("code", ek, V(Rn.value), 1)]),
|
|
22696
22701
|
_: 1
|
|
22697
22702
|
}, 8, ["source"])
|
|
22698
22703
|
])]),
|
|
@@ -22704,8 +22709,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22704
22709
|
default: G(() => [
|
|
22705
22710
|
P("p", nk, V(H(r)("hint.externalContextSchema")), 1),
|
|
22706
22711
|
I(gE, {
|
|
22707
|
-
modelValue:
|
|
22708
|
-
"onUpdate:modelValue": o[75] ||= (e) =>
|
|
22712
|
+
modelValue: mn.value,
|
|
22713
|
+
"onUpdate:modelValue": o[75] ||= (e) => mn.value = e,
|
|
22709
22714
|
name: "externalContextEnabled",
|
|
22710
22715
|
switch: "",
|
|
22711
22716
|
label: H(r)("label.externalContextSchema"),
|
|
@@ -22715,27 +22720,27 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22715
22720
|
"label",
|
|
22716
22721
|
"hint-label"
|
|
22717
22722
|
]),
|
|
22718
|
-
|
|
22723
|
+
mn.value ? (z(), j(d, {
|
|
22719
22724
|
key: 0,
|
|
22720
22725
|
modifiers: "action-small",
|
|
22721
22726
|
icon: "ri:code-line",
|
|
22722
22727
|
class: "ml-auto",
|
|
22723
22728
|
label: H(r)("action.editSchema"),
|
|
22724
|
-
onClick: o[76] ||= (e) =>
|
|
22729
|
+
onClick: o[76] ||= (e) => dn.value = !0
|
|
22725
22730
|
}, null, 8, ["label"])) : M("", !0),
|
|
22726
22731
|
I(se, {
|
|
22727
|
-
modelValue:
|
|
22728
|
-
"onUpdate:modelValue": o[79] ||= (e) =>
|
|
22732
|
+
modelValue: dn.value,
|
|
22733
|
+
"onUpdate:modelValue": o[79] ||= (e) => dn.value = e,
|
|
22729
22734
|
title: H(r)("label.externalContextSchema"),
|
|
22730
22735
|
"keep-open": ""
|
|
22731
22736
|
}, {
|
|
22732
22737
|
footer: G(() => [I(d, {
|
|
22733
22738
|
label: H(r)("action.close"),
|
|
22734
|
-
onClick: o[78] ||= (e) =>
|
|
22739
|
+
onClick: o[78] ||= (e) => dn.value = !1
|
|
22735
22740
|
}, null, 8, ["label"])]),
|
|
22736
22741
|
default: G(() => [I(Ys, {
|
|
22737
|
-
modelValue:
|
|
22738
|
-
"onUpdate:modelValue": o[77] ||= (e) =>
|
|
22742
|
+
modelValue: nn.value,
|
|
22743
|
+
"onUpdate:modelValue": o[77] ||= (e) => nn.value = e,
|
|
22739
22744
|
label: H(r)("label.externalContextSchema"),
|
|
22740
22745
|
placeholder: H(r)("placeholder.insert")
|
|
22741
22746
|
}, null, 8, [
|
|
@@ -22750,24 +22755,24 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22750
22755
|
}, 8, ["legend"]),
|
|
22751
22756
|
e.features?.hostTools === !0 ? (z(), N(k, { key: 0 }, [
|
|
22752
22757
|
I(FD, {
|
|
22753
|
-
modelValue:
|
|
22754
|
-
"onUpdate:modelValue": o[80] ||= (e) =>
|
|
22758
|
+
modelValue: rn.value,
|
|
22759
|
+
"onUpdate:modelValue": o[80] ||= (e) => rn.value = e,
|
|
22755
22760
|
"trusted-origins": Xe.value.origins
|
|
22756
22761
|
}, null, 8, ["modelValue", "trusted-origins"]),
|
|
22757
22762
|
I(BD, {
|
|
22758
|
-
modelValue:
|
|
22759
|
-
"onUpdate:modelValue": o[81] ||= (e) =>
|
|
22763
|
+
modelValue: an.value,
|
|
22764
|
+
"onUpdate:modelValue": o[81] ||= (e) => an.value = e,
|
|
22760
22765
|
"trusted-origins": Xe.value.origins,
|
|
22761
|
-
"automatic-allowed": e.features?.autoConfirmations === !0 &&
|
|
22766
|
+
"automatic-allowed": e.features?.autoConfirmations === !0 && sn.value
|
|
22762
22767
|
}, null, 8, [
|
|
22763
22768
|
"modelValue",
|
|
22764
22769
|
"trusted-origins",
|
|
22765
22770
|
"automatic-allowed"
|
|
22766
22771
|
]),
|
|
22767
|
-
(
|
|
22772
|
+
(an.value?.level ?? H(he).Off) === H(he).Off ? M("", !0) : (z(), j(YD, {
|
|
22768
22773
|
key: 0,
|
|
22769
|
-
modelValue:
|
|
22770
|
-
"onUpdate:modelValue": o[82] ||= (e) =>
|
|
22774
|
+
modelValue: on.value,
|
|
22775
|
+
"onUpdate:modelValue": o[82] ||= (e) => on.value = e,
|
|
22771
22776
|
surface: "page",
|
|
22772
22777
|
locales: c.value
|
|
22773
22778
|
}, null, 8, ["modelValue", "locales"]))
|
|
@@ -22777,8 +22782,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22777
22782
|
legend: H(r)("label.confirmations")
|
|
22778
22783
|
}, {
|
|
22779
22784
|
default: G(() => [I(gE, {
|
|
22780
|
-
modelValue:
|
|
22781
|
-
"onUpdate:modelValue": o[83] ||= (e) =>
|
|
22785
|
+
modelValue: sn.value,
|
|
22786
|
+
"onUpdate:modelValue": o[83] ||= (e) => sn.value = e,
|
|
22782
22787
|
name: "confirmationsAllowAutomatic",
|
|
22783
22788
|
class: "mb-0",
|
|
22784
22789
|
switch: "",
|
|
@@ -22904,9 +22909,21 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22904
22909
|
"invalid",
|
|
22905
22910
|
"invalid-label"
|
|
22906
22911
|
]),
|
|
22907
|
-
I(
|
|
22912
|
+
I(gE, {
|
|
22908
22913
|
modelValue: Qe.value,
|
|
22909
22914
|
"onUpdate:modelValue": o[89] ||= (e) => Qe.value = e,
|
|
22915
|
+
name: "holdExternalImages",
|
|
22916
|
+
switch: "",
|
|
22917
|
+
label: H(r)("label.holdExternalImages"),
|
|
22918
|
+
"hint-label": H(r)("hint.holdExternalImages")
|
|
22919
|
+
}, null, 8, [
|
|
22920
|
+
"modelValue",
|
|
22921
|
+
"label",
|
|
22922
|
+
"hint-label"
|
|
22923
|
+
]),
|
|
22924
|
+
Qe.value ? (z(), N(k, { key: 0 }, [I(iE, {
|
|
22925
|
+
modelValue: $e.value,
|
|
22926
|
+
"onUpdate:modelValue": o[90] ||= (e) => $e.value = e,
|
|
22910
22927
|
name: "imageHosts",
|
|
22911
22928
|
label: H(r)("label.imageHosts"),
|
|
22912
22929
|
placeholder: H(r)("placeholder.noImageHosts"),
|
|
@@ -22917,8 +22934,8 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22917
22934
|
"allow-empty": ""
|
|
22918
22935
|
}, {
|
|
22919
22936
|
default: G(({ index: e }) => [I(p, {
|
|
22920
|
-
modelValue:
|
|
22921
|
-
"onUpdate:modelValue": (t) =>
|
|
22937
|
+
modelValue: $e.value[e],
|
|
22938
|
+
"onUpdate:modelValue": (t) => $e.value[e] = t,
|
|
22922
22939
|
name: `imageHosts.${e}`,
|
|
22923
22940
|
label: H(r)("label.imageHost"),
|
|
22924
22941
|
placeholder: H(r)("placeholder.insertImageHost"),
|
|
@@ -22941,11 +22958,10 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
22941
22958
|
"placeholder",
|
|
22942
22959
|
"invalid",
|
|
22943
22960
|
"invalid-label"
|
|
22944
|
-
]),
|
|
22945
|
-
P("p", ik, [F(V(H(r)("label.imageHostsHint")) + " ", 1), I(uE, {
|
|
22961
|
+
]), P("p", ik, [F(V(H(r)("label.imageHostsHint")) + " ", 1), I(uE, {
|
|
22946
22962
|
class: "align-middle",
|
|
22947
22963
|
text: H(r)("label.imageHostsInfo")
|
|
22948
|
-
}, null, 8, ["text"])])
|
|
22964
|
+
}, null, 8, ["text"])])], 64)) : M("", !0)
|
|
22949
22965
|
]),
|
|
22950
22966
|
_: 1
|
|
22951
22967
|
}, 8, ["items"]), bi(n.$slots, "default")], 512);
|
|
@@ -24322,10 +24338,10 @@ var qD = { class: "text-12 text-word-3 mb-xs" }, JD = { class: "text-12 text-wor
|
|
|
24322
24338
|
_: 1
|
|
24323
24339
|
}));
|
|
24324
24340
|
}
|
|
24325
|
-
}), fM = { class: "pk-pagination mt-auto grid grid-cols-3 gap-md pt-24" }, pM = { class: "flex items-center" }, mM = ["for"], hM = ["id", "disabled"], gM = ["value"], _M = {
|
|
24341
|
+
}), fM = { class: "pk-pagination mt-auto grid grid-cols-2 sm:grid-cols-3 gap-x-md gap-y-sm pt-24" }, pM = { class: "flex items-center" }, mM = ["for"], hM = ["id", "disabled"], gM = ["value"], _M = {
|
|
24326
24342
|
key: 1,
|
|
24327
24343
|
class: "ml-8 text-12 font-semibold tabular-nums"
|
|
24328
|
-
}, vM = { class: "flex justify-center items-center" }, yM = {
|
|
24344
|
+
}, vM = { class: "flex justify-center items-center col-span-2 sm:col-span-1 order-last sm:order-none" }, yM = {
|
|
24329
24345
|
class: "rounded-md border border-surface-3 px-14 py-4 text-center text-12 font-bold tabular-nums",
|
|
24330
24346
|
type: "button"
|
|
24331
24347
|
}, bM = {
|