@8wave/ai-elements 0.97.0-beta.2 → 0.97.0-beta.3
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/ai-elements.es.js +8 -7
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.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/{PkChatbot-C_eZTz6p.js → PkChatbot-A1jKttsQ.js} +6 -6
- package/dist-vue/_chunks/{PkChatbot-C_eZTz6p.js.map → PkChatbot-A1jKttsQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-DhoY_8n8.js → PkChatbotViewChat-Cc8bZfAr.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewChat-DhoY_8n8.js.map → PkChatbotViewChat-Cc8bZfAr.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-DS_k_sT_.js → PkChatbotViewConversations-BsfA4A7O.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-DS_k_sT_.js.map → PkChatbotViewConversations-BsfA4A7O.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-7dp8BlYW.js → PkChatbotViewFiles-C6aouWQh.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewFiles-7dp8BlYW.js.map → PkChatbotViewFiles-C6aouWQh.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-BdFkddeC.js → PkChatbotViewProfile-B_ZAXIrC.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-BdFkddeC.js.map → PkChatbotViewProfile-B_ZAXIrC.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-DvuGurzU.js → createChatbotApiClient-BHfNaVk8.js} +2 -1
- package/dist-vue/_chunks/createChatbotApiClient-BHfNaVk8.js.map +1 -0
- package/dist-vue/_chunks/{useChatbotStore-C7VyUKXU.js → useChatbotStore-bbenzuMe.js} +2 -2
- package/dist-vue/_chunks/{useChatbotStore-C7VyUKXU.js.map → useChatbotStore-bbenzuMe.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 +2 -2
- package/dist-vue/index.js +359 -341
- 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 +5 -2
- 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/ReasoningChat.d.ts +2 -0
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +2 -0
- package/package.json +1 -1
- package/dist-vue/_chunks/createChatbotApiClient-DvuGurzU.js.map +0 -1
package/dist-vue/index.js
CHANGED
|
@@ -3,18 +3,18 @@ import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-DnzUxm2o.js";
|
|
|
3
3
|
import { S as i, b as a, g as o, h as s, m as c, n as l, v as u } from "./_chunks/schemas-BsOP_5an.js";
|
|
4
4
|
import { i as d, r as f } from "./_chunks/Media-BmW9F_3T.js";
|
|
5
5
|
import { r as p, s as m } from "./_chunks/constants-DtnBK4PW.js";
|
|
6
|
-
import { a as h, c as g, d as _, f as v, i as y, l as b, n as x, o as ee, r as S, s as C, u as te } from "./_chunks/createChatbotApiClient-
|
|
6
|
+
import { a as h, c as g, d as _, f as v, i as y, l as b, n as x, o as ee, r as S, s as C, u as te } from "./_chunks/createChatbotApiClient-BHfNaVk8.js";
|
|
7
7
|
import { r as w, t as ne } from "./_chunks/Document-q67u4D3u.js";
|
|
8
8
|
import { t as re } from "./_chunks/PkChatbotAuth-C0ATmt-9.js";
|
|
9
9
|
import { t as ie } from "./_chunks/PkChatbotError-B2iob9cQ.js";
|
|
10
|
-
import { i as ae, n as oe, r as se, t as ce } from "./_chunks/useChatbotStore-
|
|
10
|
+
import { i as ae, n as oe, r as se, t as ce } from "./_chunks/useChatbotStore-bbenzuMe.js";
|
|
11
11
|
import "./_chunks/src-8QXYVWIx.js";
|
|
12
12
|
import { c as le, i as ue, s as de } from "./_chunks/message-RohfrdWS.js";
|
|
13
13
|
import { n as fe, r as pe, t as me } from "./_chunks/text-CeT0hpJK.js";
|
|
14
14
|
import { t as he } from "./_chunks/useSafeLocalStorage-BGbMO01p.js";
|
|
15
15
|
import { t as ge } from "./_chunks/useDialogConfirm-DaoekZdk.js";
|
|
16
|
-
import { n as _e, r as ve, t as ye } from "./_chunks/PkChatbotViewConversations-
|
|
17
|
-
import { n as be, t as xe } from "./_chunks/PkChatbotViewChat-
|
|
16
|
+
import { n as _e, r as ve, t as ye } from "./_chunks/PkChatbotViewConversations-BsfA4A7O.js";
|
|
17
|
+
import { n as be, t as xe } from "./_chunks/PkChatbotViewChat-Cc8bZfAr.js";
|
|
18
18
|
import { t as Se } from "./_chunks/useLocalizedString-PfaKjIQY.js";
|
|
19
19
|
import { n as Ce, t as we } from "./_chunks/PkRelativeTime-C9zd1ffO.js";
|
|
20
20
|
import { r as Te, t as Ee } from "./_chunks/PkToolShowArtifact-B2ilUNT0.js";
|
|
@@ -34,8 +34,8 @@ import { c as At, r as jt } from "./_chunks/utils-BMa8jwJS.js";
|
|
|
34
34
|
import { t as Mt } from "./_chunks/PkChatbotStepToolDetail-ldThv0t5.js";
|
|
35
35
|
import { t as Nt } from "./_chunks/PkChatbotInput-Be3J_Fgz.js";
|
|
36
36
|
import { t as Pt } from "./_chunks/PkChatbotEmptyState-BGTSWFSS.js";
|
|
37
|
-
import { t as Ft } from "./_chunks/PkChatbotViewProfile-
|
|
38
|
-
import { t as It } from "./_chunks/PkChatbot-
|
|
37
|
+
import { t as Ft } from "./_chunks/PkChatbotViewProfile-B_ZAXIrC.js";
|
|
38
|
+
import { t as It } from "./_chunks/PkChatbot-A1jKttsQ.js";
|
|
39
39
|
import { i as Lt, r as Rt, t as zt } from "./_chunks/PkToolShowSources-BF2-VGSg.js";
|
|
40
40
|
import { t as Bt } from "./_chunks/PkToolShowEmail-C591LR5N.js";
|
|
41
41
|
import { t as Vt } from "./_chunks/PkToolShowMessage-CbXERPHI.js";
|
|
@@ -15299,13 +15299,13 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15299
15299
|
])]);
|
|
15300
15300
|
};
|
|
15301
15301
|
}
|
|
15302
|
-
}), ub = { class: "pk-agent-settings-panel" }, db = { class: "xl:grid grid-cols-2 gap-x-md items-start" }, fb = { class: "p-8 flex flex-col" }, pb = { class: "flex flex-col ml-12 gap-2" }, mb = { class: "font-semibold" }, hb = { class: "text-12 text-word-3" }, gb = { class: "flex flex-col ml-12 gap-2" }, _b = { class: "text-12 text-word-3" }, vb = { class: "mb-md" }, yb = { class: "flex items-center gap-xs mb-2" }, bb = { class: "block text-12 text-word-3" }, xb = { class: "info-icon relative cursor-help text-word-3" }, Sb = { class: "mb-md" }, Cb = { class: "flex items-center gap-xs mb-2" }, wb = { class: "block text-12 text-word-3" }, Tb = { class: "info-icon relative cursor-help text-word-3" }, Eb = { class: "text-12 text-word-3 mt-xs leading-normal" }, Db = { class: "flex flex-col ml-12 gap-2" }, Ob = { class: "text-12 text-word-3" }, kb = { class: "mb-md" }, Ab = { class: "flex items-center gap-xs mb-2" }, jb = { class: "block text-12 text-word-3" }, Mb = { class: "info-icon relative cursor-help text-word-3" }, Nb = { class: "mb-md" }, Pb = { class: "flex items-center gap-xs mb-2" }, Fb = { class: "block text-12 text-word-3" }, Ib = { class: "info-icon relative cursor-help text-word-3" }, Lb = { class: "flex flex-col ml-12 gap-2" }, Rb = { class: "text-12 text-word-3" }, zb = { class: "flex flex-col ml-12 gap-2" }, Bb = { class: "text-12 text-word-3" }, Vb = { class: "flex flex-col ml-12 gap-2" }, Hb = { class: "font-semibold" }, Ub = { class: "text-12 text-word-3" }, Wb = { class: "flex flex-col ml-12 gap-2" }, Gb = { class: "font-semibold" }, Kb = { class: "text-12 text-word-3" }, qb = { class: "flex flex-col ml-12 gap-2" }, Jb = { class: "font-semibold" }, Yb = { class: "text-12 text-word-3" }, Xb = { class: "flex flex-col ml-12 gap-2" }, Zb = { class: "font-semibold" }, Qb = { class: "text-12 text-word-3" }, $b = { class: "grid sm:grid-cols-2 gap-md items-start" },
|
|
15302
|
+
}), ub = { class: "pk-agent-settings-panel" }, db = { class: "xl:grid grid-cols-2 gap-x-md items-start" }, fb = { class: "p-8 flex flex-col" }, pb = { class: "flex flex-col ml-12 gap-2" }, mb = { class: "font-semibold" }, hb = { class: "text-12 text-word-3" }, gb = { class: "flex flex-col ml-12 gap-2" }, _b = { class: "text-12 text-word-3" }, vb = { class: "mb-md" }, yb = { class: "flex items-center gap-xs mb-2" }, bb = { class: "block text-12 text-word-3" }, xb = { class: "info-icon relative cursor-help text-word-3" }, Sb = { class: "mb-md" }, Cb = { class: "flex items-center gap-xs mb-2" }, wb = { class: "block text-12 text-word-3" }, Tb = { class: "info-icon relative cursor-help text-word-3" }, Eb = { class: "text-12 text-word-3 mt-xs leading-normal" }, Db = { class: "flex flex-col ml-12 gap-2" }, Ob = { class: "text-12 text-word-3" }, kb = { class: "mb-md" }, Ab = { class: "flex items-center gap-xs mb-2" }, jb = { class: "block text-12 text-word-3" }, Mb = { class: "info-icon relative cursor-help text-word-3" }, Nb = { class: "mb-md" }, Pb = { class: "flex items-center gap-xs mb-2" }, Fb = { class: "block text-12 text-word-3" }, Ib = { class: "info-icon relative cursor-help text-word-3" }, Lb = { class: "flex flex-col ml-12 gap-2" }, Rb = { class: "text-12 text-word-3" }, zb = { class: "flex flex-col ml-12 gap-2" }, Bb = { class: "text-12 text-word-3" }, Vb = { class: "flex flex-col ml-12 gap-2" }, Hb = { class: "font-semibold" }, Ub = { class: "text-12 text-word-3" }, Wb = { class: "flex flex-col ml-12 gap-2" }, Gb = { class: "font-semibold" }, Kb = { class: "text-12 text-word-3" }, qb = { class: "flex flex-col ml-12 gap-2" }, Jb = { class: "font-semibold" }, Yb = { class: "text-12 text-word-3" }, Xb = { class: "flex flex-col ml-12 gap-2" }, Zb = { class: "font-semibold" }, Qb = { class: "text-12 text-word-3" }, $b = { class: "flex flex-col ml-12 gap-2" }, ex = { class: "font-semibold" }, tx = { class: "text-12 text-word-3" }, nx = { class: "grid sm:grid-cols-2 gap-md items-start" }, rx = { class: "flex flex-col gap-md" }, ix = { class: "flex items-center gap-4" }, ax = { class: "text-12 text-word-3 mb-sm" }, ox = { class: "flex flex-col nx-md nb-md" }, sx = { class: "flex flex-col ml-12 gap-2" }, cx = { class: "flex items-center gap-6" }, lx = { class: "font-semibold" }, ux = { class: "text-12 text-word-3" }, dx = ["title"], fx = { class: "p-xs" }, px = { class: "flex flex-col ml-12 gap-2" }, mx = { class: "font-semibold" }, hx = { class: "text-12 text-word-3" }, gx = { class: "flex flex-col ml-12 gap-2" }, _x = { class: "font-semibold" }, vx = { class: "text-12 text-word-3" }, yx = { class: "flex flex-col gap-md" }, bx = {
|
|
15303
15303
|
key: 0,
|
|
15304
15304
|
class: "text-12 leading-normal py-xs bg-surface-1 border border-surface-3 pl-36 pr-xs block relative"
|
|
15305
|
-
},
|
|
15305
|
+
}, xx = {
|
|
15306
15306
|
key: 1,
|
|
15307
15307
|
class: "text-12 leading-normal py-xs bg-surface-1 border border-surface-3 pl-36 pr-xs block relative"
|
|
15308
|
-
},
|
|
15308
|
+
}, Sx = { class: "font-semibold mb-xs" }, Cx = { class: "text-smaller" }, wx = { key: 2 }, Tx = { class: "text-smaller mb-xs" }, Ex = { class: "flex flex-col ml-12 gap-2" }, Dx = { class: "font-semibold" }, Ox = { class: "text-12 text-word-3" }, kx = { class: "font-semibold mb-xs" }, Ax = { class: "text-smaller" }, jx = { class: "font-semibold mb-xs" }, Mx = { class: "text-smaller" }, Nx = { class: "block text-12 text-word-2 break-all p-12 font-mono" }, Px = { class: "grid sm:grid-cols-2 gap-md" }, Fx = /* @__PURE__ */ L({
|
|
15309
15309
|
__name: "PkAgentSettingsPanel",
|
|
15310
15310
|
props: /*@__PURE__*/ wn({
|
|
15311
15311
|
organizationSlug: {},
|
|
@@ -15376,6 +15376,11 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15376
15376
|
default: !1
|
|
15377
15377
|
},
|
|
15378
15378
|
welcomePopupModifiers: {},
|
|
15379
|
+
interactiveLogin: {
|
|
15380
|
+
type: Boolean,
|
|
15381
|
+
default: !0
|
|
15382
|
+
},
|
|
15383
|
+
interactiveLoginModifiers: {},
|
|
15379
15384
|
floatingButtonPosition: { default: "right" },
|
|
15380
15385
|
floatingButtonPositionModifiers: {},
|
|
15381
15386
|
maxMessageLength: { default: void 0 },
|
|
@@ -15462,7 +15467,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15462
15467
|
ranking: {},
|
|
15463
15468
|
rankingModifiers: {}
|
|
15464
15469
|
}),
|
|
15465
|
-
emits: /* @__PURE__ */ "update:agentId.update:name.update:type.update:initialMessage.update:messagePlaceholder.update:dismissableNotice.update:footerMessage.update:model.update:temperature.update:prompt.update:status.update:visibility.update:limit.update:maxStepCount.update:maxOutputTokens.update:presencePenalty.update:frequencyPenalty.update:searchMode.update:reasoning.update:webSearch.update:theme.update:mainColor.update:textColor.update:useColorsForAgentHeader.update:welcomePopup.update:floatingButtonPosition.update:maxMessageLength.update:media.update:minuteRateLimit.update:hourRateLimit.update:dayRateLimit.update:monthRateLimit.update:trustedOrigins.update:disabledTools.update:useAllUserKb.update:useAllUserFiles.update:formMaxSteps.update:formMaxOptionsPerStep.update:widgetUrl.update:loadDelay.update:loaderStrategy.update:fileUploadEnabled.update:fileUploadMaxFileSize.update:fileUploadAllowedMimeTypes.update:fileUploadMaxFilesPerMessage.update:fileUploadMaxFilesPerChat.update:customCss.update:privacyPolicyNotice.update:fallbackModels.update:zeroDataRetention.update:disallowPromptTraining.update:providerTimeoutMs.update:smoothStream.update:showExtendedSteps.update:channels.update:externalContextSchema.update:ranking".split("."),
|
|
15470
|
+
emits: /* @__PURE__ */ "update:agentId.update:name.update:type.update:initialMessage.update:messagePlaceholder.update:dismissableNotice.update:footerMessage.update:model.update:temperature.update:prompt.update:status.update:visibility.update:limit.update:maxStepCount.update:maxOutputTokens.update:presencePenalty.update:frequencyPenalty.update:searchMode.update:reasoning.update:webSearch.update:theme.update:mainColor.update:textColor.update:useColorsForAgentHeader.update:welcomePopup.update:interactiveLogin.update:floatingButtonPosition.update:maxMessageLength.update:media.update:minuteRateLimit.update:hourRateLimit.update:dayRateLimit.update:monthRateLimit.update:trustedOrigins.update:disabledTools.update:useAllUserKb.update:useAllUserFiles.update:formMaxSteps.update:formMaxOptionsPerStep.update:widgetUrl.update:loadDelay.update:loaderStrategy.update:fileUploadEnabled.update:fileUploadMaxFileSize.update:fileUploadAllowedMimeTypes.update:fileUploadMaxFilesPerMessage.update:fileUploadMaxFilesPerChat.update:customCss.update:privacyPolicyNotice.update:fallbackModels.update:zeroDataRetention.update:disallowPromptTraining.update:providerTimeoutMs.update:smoothStream.update:showExtendedSteps.update:channels.update:externalContextSchema.update:ranking".split("."),
|
|
15466
15471
|
setup(e) {
|
|
15467
15472
|
let { t, availableLocales: n } = Jn({ useScope: "global" }), r = (e) => {
|
|
15468
15473
|
if (!i.errors) return [];
|
|
@@ -15474,9 +15479,9 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15474
15479
|
return Array.isArray(e) ? e : [];
|
|
15475
15480
|
}
|
|
15476
15481
|
return [];
|
|
15477
|
-
}, i = e, { errors: a } = Bn(i), o = G(e, "agentId"), s = G(e, "name"), c = G(e, "type"), l = G(e, "initialMessage"), u = G(e, "messagePlaceholder"), d = G(e, "dismissableNotice"), f = G(e, "footerMessage"), p = G(e, "model"), m = G(e, "temperature"), h = G(e, "prompt"), b = G(e, "status"), x = G(e, "visibility"), w = G(e, "limit"), ne = G(e, "maxStepCount"), re = G(e, "maxOutputTokens"), ie = G(e, "presencePenalty"), ae = G(e, "frequencyPenalty"), oe = G(e, "searchMode"), se = G(e, "reasoning"), ce = G(e, "webSearch"), le = G(e, "theme"), ue = G(e, "mainColor"), de = G(e, "textColor"), fe = G(e, "useColorsForAgentHeader"), pe = G(e, "welcomePopup"), me = G(e, "
|
|
15478
|
-
K(
|
|
15479
|
-
(!e?.freshness || !e?.priority || !e?.mmr) && (
|
|
15482
|
+
}, i = e, { errors: a } = Bn(i), o = G(e, "agentId"), s = G(e, "name"), c = G(e, "type"), l = G(e, "initialMessage"), u = G(e, "messagePlaceholder"), d = G(e, "dismissableNotice"), f = G(e, "footerMessage"), p = G(e, "model"), m = G(e, "temperature"), h = G(e, "prompt"), b = G(e, "status"), x = G(e, "visibility"), w = G(e, "limit"), ne = G(e, "maxStepCount"), re = G(e, "maxOutputTokens"), ie = G(e, "presencePenalty"), ae = G(e, "frequencyPenalty"), oe = G(e, "searchMode"), se = G(e, "reasoning"), ce = G(e, "webSearch"), le = G(e, "theme"), ue = G(e, "mainColor"), de = G(e, "textColor"), fe = G(e, "useColorsForAgentHeader"), pe = G(e, "welcomePopup"), me = G(e, "interactiveLogin"), he = G(e, "floatingButtonPosition"), ge = G(e, "maxMessageLength"), _e = G(e, "media"), ve = G(e, "minuteRateLimit"), ye = G(e, "hourRateLimit"), be = G(e, "dayRateLimit"), xe = G(e, "monthRateLimit"), Se = G(e, "trustedOrigins"), Ce = G(e, "disabledTools"), we = G(e, "useAllUserKb"), Ee = G(e, "useAllUserFiles"), De = G(e, "formMaxSteps"), Oe = G(e, "formMaxOptionsPerStep"), ke = G(e, "widgetUrl"), Ae = G(e, "loadDelay"), je = G(e, "loaderStrategy"), Me = G(e, "fileUploadEnabled"), Ne = G(e, "fileUploadMaxFileSize"), Pe = G(e, "fileUploadAllowedMimeTypes"), Fe = G(e, "fileUploadMaxFilesPerMessage"), T = G(e, "fileUploadMaxFilesPerChat"), Ie = G(e, "customCss"), Le = G(e, "privacyPolicyNotice"), Re = G(e, "fallbackModels"), ze = G(e, "zeroDataRetention"), Be = G(e, "disallowPromptTraining"), Ve = G(e, "providerTimeoutMs"), E = G(e, "smoothStream"), He = G(e, "showExtendedSteps"), Ue = G(e, "channels"), We = G(e, "externalContextSchema"), Ge = G(e, "ranking");
|
|
15483
|
+
K(Ge, (e) => {
|
|
15484
|
+
(!e?.freshness || !e?.priority || !e?.mmr) && (Ge.value = Nn({
|
|
15480
15485
|
freshness: {
|
|
15481
15486
|
enabled: !1,
|
|
15482
15487
|
scale: 7776e3,
|
|
@@ -15495,16 +15500,16 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15495
15500
|
}
|
|
15496
15501
|
}));
|
|
15497
15502
|
}, { immediate: !0 });
|
|
15498
|
-
let
|
|
15503
|
+
let Ke = A({
|
|
15499
15504
|
get: () => {
|
|
15500
|
-
let e =
|
|
15505
|
+
let e = Ge.value?.freshness?.scale ?? 7776e3;
|
|
15501
15506
|
return e >= 86400 ? Math.round(e / 86400) : e;
|
|
15502
15507
|
},
|
|
15503
15508
|
set: (e) => {
|
|
15504
|
-
|
|
15509
|
+
Ge.value?.freshness && (Ge.value.freshness.scale = e * 86400);
|
|
15505
15510
|
}
|
|
15506
|
-
}),
|
|
15507
|
-
let e =
|
|
15511
|
+
}), qe = A(() => {
|
|
15512
|
+
let e = Ke.value, n = e * 4, r = Math.round(n / 30.4 * 10) / 10, i = Ge.value?.freshness?.weight ?? .1, a = Math.round(i / 2 * 1e3) / 1e3, o = Math.round(i * .06 * 1e3) / 1e3, s = {
|
|
15508
15513
|
half: e,
|
|
15509
15514
|
zero: n,
|
|
15510
15515
|
months: r,
|
|
@@ -15513,12 +15518,12 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15513
15518
|
zeroWeight: o.toFixed(3).replace(/0+$/, "").replace(/\.$/, "")
|
|
15514
15519
|
};
|
|
15515
15520
|
return t(n >= 30 ? "hint.freshnessScaleExplanationMonths" : "hint.freshnessScaleExplanationDays", s);
|
|
15516
|
-
}),
|
|
15517
|
-
get: () =>
|
|
15521
|
+
}), Je = V(!1), Ye = A({
|
|
15522
|
+
get: () => We.value != null,
|
|
15518
15523
|
set: (e) => {
|
|
15519
|
-
|
|
15524
|
+
We.value = e ? {} : void 0;
|
|
15520
15525
|
}
|
|
15521
|
-
}),
|
|
15526
|
+
}), Xe = {
|
|
15522
15527
|
images: [
|
|
15523
15528
|
"image/jpeg",
|
|
15524
15529
|
"image/png",
|
|
@@ -15531,7 +15536,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15531
15536
|
"text/markdown",
|
|
15532
15537
|
"text/csv"
|
|
15533
15538
|
]
|
|
15534
|
-
},
|
|
15539
|
+
}, Ze = A(() => [
|
|
15535
15540
|
{
|
|
15536
15541
|
label: t("label.mimeTypeImages"),
|
|
15537
15542
|
value: "images"
|
|
@@ -15544,17 +15549,17 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15544
15549
|
label: t("label.mimeTypeText"),
|
|
15545
15550
|
value: "text"
|
|
15546
15551
|
}
|
|
15547
|
-
]),
|
|
15548
|
-
get: () => Object.entries(
|
|
15552
|
+
]), Qe = A({
|
|
15553
|
+
get: () => Object.entries(Xe).filter(([, e]) => e.every((e) => Pe.value.includes(e))).map(([e]) => e),
|
|
15549
15554
|
set: (e) => {
|
|
15550
|
-
|
|
15555
|
+
Pe.value = e.flatMap((e) => Xe[e] ?? []);
|
|
15551
15556
|
}
|
|
15552
|
-
}),
|
|
15553
|
-
get: () => Math.round(
|
|
15557
|
+
}), $e = A({
|
|
15558
|
+
get: () => Math.round(Ne.value / (1024 * 1024)),
|
|
15554
15559
|
set: (e) => {
|
|
15555
|
-
|
|
15560
|
+
Ne.value = e * 1024 * 1024;
|
|
15556
15561
|
}
|
|
15557
|
-
}),
|
|
15562
|
+
}), D = A(() => [
|
|
15558
15563
|
{
|
|
15559
15564
|
key: "knowledgeSearch",
|
|
15560
15565
|
icon: "ri:search-line",
|
|
@@ -15618,21 +15623,21 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15618
15623
|
icon: "ri:chat-3-line",
|
|
15619
15624
|
tools: [S.FetchTeamsChannelHistory]
|
|
15620
15625
|
}
|
|
15621
|
-
]),
|
|
15622
|
-
function
|
|
15623
|
-
return !
|
|
15626
|
+
]), O = (e) => e === S.ShowSources || e === S.ReadDocumentFile ? !Ce.value.includes(S.SearchInKnowledgeBase) : e !== S.ShowWeather || !Ce.value.includes(S.GetWeather), et = A(() => p.value ? [p.value] : []);
|
|
15627
|
+
function tt(e) {
|
|
15628
|
+
return !Ce.value.includes(e);
|
|
15624
15629
|
}
|
|
15625
|
-
function
|
|
15630
|
+
function nt(e, t) {
|
|
15626
15631
|
if (t) {
|
|
15627
|
-
|
|
15632
|
+
Ce.value = Ce.value.filter((t) => t !== e);
|
|
15628
15633
|
return;
|
|
15629
15634
|
}
|
|
15630
|
-
|
|
15635
|
+
Ce.value = [...Ce.value, e], e === S.UserMemory && (we.value = !1), e === S.SearchInUserFiles && (Ee.value = !1);
|
|
15631
15636
|
}
|
|
15632
|
-
let
|
|
15637
|
+
let rt = A(() => ky.map((e) => ({
|
|
15633
15638
|
label: e,
|
|
15634
15639
|
value: e
|
|
15635
|
-
}))),
|
|
15640
|
+
}))), it = A(() => p.value?.split("/")[0] ?? ""), at = A(() => v(p.value ?? "", se.value)), ot = A(() => c.value === C.Chat), st = A(() => {
|
|
15636
15641
|
let e = [
|
|
15637
15642
|
{
|
|
15638
15643
|
tab: "general",
|
|
@@ -15647,7 +15652,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15647
15652
|
label: t("label.tools")
|
|
15648
15653
|
}
|
|
15649
15654
|
];
|
|
15650
|
-
return
|
|
15655
|
+
return ot.value && (i.playground || e.push({
|
|
15651
15656
|
tab: "security",
|
|
15652
15657
|
label: t("label.security"),
|
|
15653
15658
|
class: a.value?.security ? "invalid" : ""
|
|
@@ -15655,12 +15660,12 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15655
15660
|
tab: "embed",
|
|
15656
15661
|
label: t("label.embed")
|
|
15657
15662
|
})), e;
|
|
15658
|
-
}),
|
|
15663
|
+
}), ct = A(() => `${window.location.origin}/app/${i.organizationSlug}/${o.value}`), lt = A(() => `${window.location.origin}/app/${i.organizationSlug}/${o.value}/chat`), ut = A(() => `<script src="${`${i.baseUrl}/api/v1/public/organizations/${i.organizationSlug}/agents/${o.value}/embed.js`}" defer><\/script>`), dt = A(() => `<iframe src="${ct.value}" width="100%" height="600" frameborder="0"
|
|
15659
15664
|
style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>`);
|
|
15660
15665
|
return (i, a) => {
|
|
15661
|
-
let o = rn, v = un, C = nn,
|
|
15662
|
-
return B(), N("div", ub, [I(
|
|
15663
|
-
items:
|
|
15666
|
+
let o = rn, v = un, C = nn, Ne = cn, Pe = fn, Xe = Zt, ct = dn, ft = $t, pt = en, mt = an;
|
|
15667
|
+
return B(), N("div", ub, [I(ct, {
|
|
15668
|
+
items: st.value,
|
|
15664
15669
|
lazy: "once"
|
|
15665
15670
|
}, {
|
|
15666
15671
|
"panel::general": q(() => [
|
|
@@ -15729,7 +15734,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15729
15734
|
value: "organization"
|
|
15730
15735
|
}
|
|
15731
15736
|
],
|
|
15732
|
-
disabled: e.playground || !
|
|
15737
|
+
disabled: e.playground || !ot.value
|
|
15733
15738
|
}, null, 8, [
|
|
15734
15739
|
"modelValue",
|
|
15735
15740
|
"label",
|
|
@@ -15755,7 +15760,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15755
15760
|
label: W(t)("label.model"),
|
|
15756
15761
|
strategy: "fixed",
|
|
15757
15762
|
placeholder: W(t)("action.select"),
|
|
15758
|
-
options:
|
|
15763
|
+
options: rt.value,
|
|
15759
15764
|
unselectable: !1
|
|
15760
15765
|
}, null, 8, [
|
|
15761
15766
|
"modelValue",
|
|
@@ -15774,7 +15779,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15774
15779
|
"label",
|
|
15775
15780
|
"placeholder"
|
|
15776
15781
|
]),
|
|
15777
|
-
I(
|
|
15782
|
+
I(Xe, {
|
|
15778
15783
|
title: W(t)("label.advancedOptions"),
|
|
15779
15784
|
modifiers: "details",
|
|
15780
15785
|
class: "border border-surface-3 rounded"
|
|
@@ -15783,14 +15788,14 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15783
15788
|
I(Li, { legend: W(t)("label.modelParameters") }, {
|
|
15784
15789
|
default: q(() => [
|
|
15785
15790
|
I(Fy, {
|
|
15786
|
-
modelValue:
|
|
15787
|
-
"onUpdate:modelValue": a[6] ||= (e) =>
|
|
15791
|
+
modelValue: Re.value,
|
|
15792
|
+
"onUpdate:modelValue": a[6] ||= (e) => Re.value = e,
|
|
15788
15793
|
name: "fallbackModels",
|
|
15789
15794
|
multiple: "",
|
|
15790
15795
|
strategy: "fixed",
|
|
15791
15796
|
label: W(t)("label.fallbackModels"),
|
|
15792
15797
|
placeholder: W(t)("placeholder.select"),
|
|
15793
|
-
"exclude-models":
|
|
15798
|
+
"exclude-models": et.value
|
|
15794
15799
|
}, null, 8, [
|
|
15795
15800
|
"modelValue",
|
|
15796
15801
|
"label",
|
|
@@ -15842,8 +15847,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15842
15847
|
class: "mb-md"
|
|
15843
15848
|
}, null, 8, ["modelValue", "label"]),
|
|
15844
15849
|
I(v, {
|
|
15845
|
-
modelValue:
|
|
15846
|
-
"onUpdate:modelValue": a[11] ||= (e) =>
|
|
15850
|
+
modelValue: Ve.value,
|
|
15851
|
+
"onUpdate:modelValue": a[11] ||= (e) => Ve.value = e,
|
|
15847
15852
|
name: "providerTimeoutMs",
|
|
15848
15853
|
type: "number",
|
|
15849
15854
|
min: "1000",
|
|
@@ -15852,7 +15857,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15852
15857
|
class: "mb-0",
|
|
15853
15858
|
label: W(t)("label.providerTimeoutMs"),
|
|
15854
15859
|
placeholder: W(t)("placeholder.insert"),
|
|
15855
|
-
invalid:
|
|
15860
|
+
invalid: Ve.value !== void 0 && (Ve.value < 1e3 || Ve.value > 789e3),
|
|
15856
15861
|
"hint-label": W(t)("hint.providerTimeoutMs")
|
|
15857
15862
|
}, null, 8, [
|
|
15858
15863
|
"modelValue",
|
|
@@ -15868,11 +15873,11 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15868
15873
|
default: q(() => [I(By, {
|
|
15869
15874
|
reasoning: se.value,
|
|
15870
15875
|
"onUpdate:reasoning": a[12] ||= (e) => se.value = e,
|
|
15871
|
-
"active-provider":
|
|
15872
|
-
}, null, 8, ["reasoning", "active-provider"]),
|
|
15876
|
+
"active-provider": it.value
|
|
15877
|
+
}, null, 8, ["reasoning", "active-provider"]), at.value ? (B(), j(C, {
|
|
15873
15878
|
key: 0,
|
|
15874
|
-
modelValue:
|
|
15875
|
-
"onUpdate:modelValue": a[13] ||= (e) =>
|
|
15879
|
+
modelValue: He.value,
|
|
15880
|
+
"onUpdate:modelValue": a[13] ||= (e) => He.value = e,
|
|
15876
15881
|
name: "showExtendedSteps",
|
|
15877
15882
|
class: "flex-nowrap mt-md mb-0",
|
|
15878
15883
|
value: !0,
|
|
@@ -15939,10 +15944,10 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15939
15944
|
}, 8, ["legend"]),
|
|
15940
15945
|
I(Li, { legend: W(t)("label.smartRanking") }, {
|
|
15941
15946
|
default: q(() => [
|
|
15942
|
-
|
|
15947
|
+
Ge.value?.freshness ? (B(), j(C, {
|
|
15943
15948
|
key: 0,
|
|
15944
|
-
modelValue:
|
|
15945
|
-
"onUpdate:modelValue": a[17] ||= (e) =>
|
|
15949
|
+
modelValue: Ge.value.freshness.enabled,
|
|
15950
|
+
"onUpdate:modelValue": a[17] ||= (e) => Ge.value.freshness.enabled = e,
|
|
15946
15951
|
name: "freshnessEnabled",
|
|
15947
15952
|
switch: "",
|
|
15948
15953
|
value: !0,
|
|
@@ -15952,42 +15957,42 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15952
15957
|
default: q(() => [P("div", gb, [P("strong", null, U(W(t)("label.freshnessBoost")), 1), P("small", _b, U(W(t)("hint.freshnessBoost")), 1)])]),
|
|
15953
15958
|
_: 1
|
|
15954
15959
|
}, 8, ["modelValue"])) : M("", !0),
|
|
15955
|
-
|
|
15960
|
+
Ge.value?.freshness?.enabled ? (B(), N(k, { key: 1 }, [P("div", vb, [P("div", yb, [P("label", bb, U(W(t)("hint.freshnessScale")), 1), P("div", xb, [I(Ne, {
|
|
15956
15961
|
name: "ri:information-line",
|
|
15957
15962
|
class: "w-14 h-14"
|
|
15958
|
-
}), I(
|
|
15963
|
+
}), I(Pe, {
|
|
15959
15964
|
position: "bottom",
|
|
15960
15965
|
value: W(t)("hint.freshnessScaleTooltip")
|
|
15961
15966
|
}, null, 8, ["value"])])]), I(cb, {
|
|
15962
|
-
modelValue:
|
|
15963
|
-
"onUpdate:modelValue": a[18] ||= (e) =>
|
|
15967
|
+
modelValue: Ke.value,
|
|
15968
|
+
"onUpdate:modelValue": a[18] ||= (e) => Ke.value = e,
|
|
15964
15969
|
name: "freshnessScale",
|
|
15965
15970
|
min: "1",
|
|
15966
15971
|
max: "365",
|
|
15967
15972
|
step: "1"
|
|
15968
15973
|
}, null, 8, ["modelValue"])]), P("div", Sb, [
|
|
15969
|
-
P("div", Cb, [P("label", wb, U(W(t)("label.freshnessWeight")), 1), P("div", Tb, [I(
|
|
15974
|
+
P("div", Cb, [P("label", wb, U(W(t)("label.freshnessWeight")), 1), P("div", Tb, [I(Ne, {
|
|
15970
15975
|
name: "ri:information-line",
|
|
15971
15976
|
class: "w-14 h-14"
|
|
15972
|
-
}), I(
|
|
15977
|
+
}), I(Pe, {
|
|
15973
15978
|
position: "bottom",
|
|
15974
15979
|
value: W(t)("hint.freshnessWeightTooltip")
|
|
15975
15980
|
}, null, 8, ["value"])])]),
|
|
15976
|
-
|
|
15981
|
+
Ge.value?.freshness ? (B(), j(cb, {
|
|
15977
15982
|
key: 0,
|
|
15978
|
-
modelValue:
|
|
15979
|
-
"onUpdate:modelValue": a[19] ||= (e) =>
|
|
15983
|
+
modelValue: Ge.value.freshness.weight,
|
|
15984
|
+
"onUpdate:modelValue": a[19] ||= (e) => Ge.value.freshness.weight = e,
|
|
15980
15985
|
name: "freshnessWeight",
|
|
15981
15986
|
min: "0.05",
|
|
15982
15987
|
max: "0.5",
|
|
15983
15988
|
step: "0.05"
|
|
15984
15989
|
}, null, 8, ["modelValue"])) : M("", !0),
|
|
15985
|
-
P("p", Eb, U(
|
|
15990
|
+
P("p", Eb, U(qe.value), 1)
|
|
15986
15991
|
])], 64)) : M("", !0),
|
|
15987
|
-
|
|
15992
|
+
Ge.value?.mmr ? (B(), j(C, {
|
|
15988
15993
|
key: 2,
|
|
15989
|
-
modelValue:
|
|
15990
|
-
"onUpdate:modelValue": a[20] ||= (e) =>
|
|
15994
|
+
modelValue: Ge.value.mmr.enabled,
|
|
15995
|
+
"onUpdate:modelValue": a[20] ||= (e) => Ge.value.mmr.enabled = e,
|
|
15991
15996
|
name: "mmrEnabled",
|
|
15992
15997
|
switch: "",
|
|
15993
15998
|
value: !0,
|
|
@@ -15997,30 +16002,30 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
15997
16002
|
default: q(() => [P("div", Db, [P("strong", null, U(W(t)("label.mmr")), 1), P("small", Ob, U(W(t)("hint.mmr")), 1)])]),
|
|
15998
16003
|
_: 1
|
|
15999
16004
|
}, 8, ["modelValue"])) : M("", !0),
|
|
16000
|
-
|
|
16005
|
+
Ge.value?.mmr?.enabled ? (B(), N(k, { key: 3 }, [P("div", kb, [P("div", Ab, [P("label", jb, U(W(t)("label.mmrDiversity")), 1), P("div", Mb, [I(Ne, {
|
|
16001
16006
|
name: "ri:information-line",
|
|
16002
16007
|
class: "w-14 h-14"
|
|
16003
|
-
}), I(
|
|
16008
|
+
}), I(Pe, {
|
|
16004
16009
|
position: "bottom",
|
|
16005
16010
|
value: W(t)("hint.mmrDiversityTooltip")
|
|
16006
|
-
}, null, 8, ["value"])])]),
|
|
16011
|
+
}, null, 8, ["value"])])]), Ge.value?.mmr ? (B(), j(cb, {
|
|
16007
16012
|
key: 0,
|
|
16008
|
-
modelValue:
|
|
16009
|
-
"onUpdate:modelValue": a[21] ||= (e) =>
|
|
16013
|
+
modelValue: Ge.value.mmr.diversity,
|
|
16014
|
+
"onUpdate:modelValue": a[21] ||= (e) => Ge.value.mmr.diversity = e,
|
|
16010
16015
|
name: "mmrDiversity",
|
|
16011
16016
|
min: "0",
|
|
16012
16017
|
max: "1",
|
|
16013
16018
|
step: "0.1"
|
|
16014
|
-
}, null, 8, ["modelValue"])) : M("", !0)]), P("div", Nb, [P("div", Pb, [P("label", Fb, U(W(t)("label.mmrCandidatesLimit")), 1), P("div", Ib, [I(
|
|
16019
|
+
}, null, 8, ["modelValue"])) : M("", !0)]), P("div", Nb, [P("div", Pb, [P("label", Fb, U(W(t)("label.mmrCandidatesLimit")), 1), P("div", Ib, [I(Ne, {
|
|
16015
16020
|
name: "ri:information-line",
|
|
16016
16021
|
class: "w-14 h-14"
|
|
16017
|
-
}), I(
|
|
16022
|
+
}), I(Pe, {
|
|
16018
16023
|
position: "bottom",
|
|
16019
16024
|
value: W(t)("hint.mmrCandidatesLimitTooltip")
|
|
16020
|
-
}, null, 8, ["value"])])]),
|
|
16025
|
+
}, null, 8, ["value"])])]), Ge.value?.mmr ? (B(), j(cb, {
|
|
16021
16026
|
key: 0,
|
|
16022
|
-
modelValue:
|
|
16023
|
-
"onUpdate:modelValue": a[22] ||= (e) =>
|
|
16027
|
+
modelValue: Ge.value.mmr.candidatesLimit,
|
|
16028
|
+
"onUpdate:modelValue": a[22] ||= (e) => Ge.value.mmr.candidatesLimit = e,
|
|
16024
16029
|
name: "mmrCandidatesLimit",
|
|
16025
16030
|
min: "20",
|
|
16026
16031
|
max: "100",
|
|
@@ -16034,8 +16039,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16034
16039
|
class: "mb-0"
|
|
16035
16040
|
}, {
|
|
16036
16041
|
default: q(() => [I(C, {
|
|
16037
|
-
modelValue:
|
|
16038
|
-
"onUpdate:modelValue": a[23] ||= (e) =>
|
|
16042
|
+
modelValue: ze.value,
|
|
16043
|
+
"onUpdate:modelValue": a[23] ||= (e) => ze.value = e,
|
|
16039
16044
|
name: "zeroDataRetention",
|
|
16040
16045
|
switch: "",
|
|
16041
16046
|
value: !0,
|
|
@@ -16044,10 +16049,10 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16044
16049
|
}, {
|
|
16045
16050
|
default: q(() => [P("div", Lb, [P("strong", null, U(W(t)("label.zeroDataRetention")), 1), P("small", Rb, U(W(t)("hint.zeroDataRetention")), 1)])]),
|
|
16046
16051
|
_: 1
|
|
16047
|
-
}, 8, ["modelValue"]),
|
|
16052
|
+
}, 8, ["modelValue"]), ze.value ? M("", !0) : (B(), j(C, {
|
|
16048
16053
|
key: 0,
|
|
16049
|
-
modelValue:
|
|
16050
|
-
"onUpdate:modelValue": a[24] ||= (e) =>
|
|
16054
|
+
modelValue: Be.value,
|
|
16055
|
+
"onUpdate:modelValue": a[24] ||= (e) => Be.value = e,
|
|
16051
16056
|
name: "disallowPromptTraining",
|
|
16052
16057
|
switch: "",
|
|
16053
16058
|
value: !0,
|
|
@@ -16061,8 +16066,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16061
16066
|
}, 8, ["legend"]),
|
|
16062
16067
|
e.playground ? M("", !0) : (B(), j(eb, {
|
|
16063
16068
|
key: 0,
|
|
16064
|
-
modelValue:
|
|
16065
|
-
"onUpdate:modelValue": a[25] ||= (e) =>
|
|
16069
|
+
modelValue: Ue.value,
|
|
16070
|
+
"onUpdate:modelValue": a[25] ||= (e) => Ue.value = e,
|
|
16066
16071
|
class: "mb-0 mt-md",
|
|
16067
16072
|
type: c.value
|
|
16068
16073
|
}, null, 8, ["modelValue", "type"]))
|
|
@@ -16073,8 +16078,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16073
16078
|
"panel::style": q(() => [
|
|
16074
16079
|
e.playground ? M("", !0) : (B(), j(Vv, {
|
|
16075
16080
|
key: 0,
|
|
16076
|
-
modelValue:
|
|
16077
|
-
"onUpdate:modelValue": a[26] ||= (e) =>
|
|
16081
|
+
modelValue: _e.value,
|
|
16082
|
+
"onUpdate:modelValue": a[26] ||= (e) => _e.value = e,
|
|
16078
16083
|
name: "media",
|
|
16079
16084
|
label: W(t)("label.logo"),
|
|
16080
16085
|
placeholder: W(t)("placeholder.uploadFile"),
|
|
@@ -16090,7 +16095,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16090
16095
|
"label-add",
|
|
16091
16096
|
"label-remove"
|
|
16092
16097
|
])),
|
|
16093
|
-
|
|
16098
|
+
ot.value ? (B(), j(o, {
|
|
16094
16099
|
key: 1,
|
|
16095
16100
|
modelValue: le.value,
|
|
16096
16101
|
"onUpdate:modelValue": a[27] ||= (e) => le.value = e,
|
|
@@ -16155,7 +16160,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16155
16160
|
"placeholder",
|
|
16156
16161
|
"options"
|
|
16157
16162
|
]),
|
|
16158
|
-
|
|
16163
|
+
ot.value ? (B(), j(C, {
|
|
16159
16164
|
key: 0,
|
|
16160
16165
|
modelValue: fe.value,
|
|
16161
16166
|
"onUpdate:modelValue": a[30] ||= (e) => fe.value = e,
|
|
@@ -16168,10 +16173,10 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16168
16173
|
default: q(() => [P("div", Vb, [P("strong", Hb, U(W(t)("action.useColorsForAgentHeader")), 1), P("small", Ub, U(W(t)("hint.useColorsForAgentHeader")), 1)])]),
|
|
16169
16174
|
_: 1
|
|
16170
16175
|
}, 8, ["modelValue"])) : M("", !0),
|
|
16171
|
-
|
|
16176
|
+
ot.value ? (B(), j(C, {
|
|
16172
16177
|
key: 1,
|
|
16173
|
-
modelValue:
|
|
16174
|
-
"onUpdate:modelValue": a[31] ||= (e) =>
|
|
16178
|
+
modelValue: E.value,
|
|
16179
|
+
"onUpdate:modelValue": a[31] ||= (e) => E.value = e,
|
|
16175
16180
|
name: "smoothStream",
|
|
16176
16181
|
class: "flex-nowrap mb-0",
|
|
16177
16182
|
value: !0,
|
|
@@ -16181,7 +16186,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16181
16186
|
default: q(() => [P("div", Wb, [P("strong", Gb, U(W(t)("label.smoothStream")), 1), P("small", Kb, U(W(t)("hint.smoothStream")), 1)])]),
|
|
16182
16187
|
_: 1
|
|
16183
16188
|
}, 8, ["modelValue"])) : M("", !0),
|
|
16184
|
-
!e.playground &&
|
|
16189
|
+
!e.playground && ot.value ? (B(), j(C, {
|
|
16185
16190
|
key: 2,
|
|
16186
16191
|
modelValue: pe.value,
|
|
16187
16192
|
"onUpdate:modelValue": a[32] ||= (e) => pe.value = e,
|
|
@@ -16194,13 +16199,26 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16194
16199
|
default: q(() => [P("div", qb, [P("strong", Jb, U(W(t)("action.welcomePopup")), 1), P("small", Yb, U(W(t)("hint.welcomePopup")), 1)])]),
|
|
16195
16200
|
_: 1
|
|
16196
16201
|
}, 8, ["modelValue"])) : M("", !0),
|
|
16197
|
-
!e.playground &&
|
|
16202
|
+
!e.playground && ot.value && x.value === "public" ? (B(), j(C, {
|
|
16198
16203
|
key: 3,
|
|
16199
16204
|
modelValue: me.value,
|
|
16200
16205
|
"onUpdate:modelValue": a[33] ||= (e) => me.value = e,
|
|
16206
|
+
name: "interactiveLogin",
|
|
16207
|
+
class: "flex-nowrap mt-md mb-0",
|
|
16208
|
+
"unchecked-value": !1,
|
|
16209
|
+
value: !0,
|
|
16210
|
+
switch: ""
|
|
16211
|
+
}, {
|
|
16212
|
+
default: q(() => [P("div", Xb, [P("strong", Zb, U(W(t)("label.interactiveLogin")), 1), P("small", Qb, U(W(t)("hint.interactiveLogin")), 1)])]),
|
|
16213
|
+
_: 1
|
|
16214
|
+
}, 8, ["modelValue"])) : M("", !0),
|
|
16215
|
+
!e.playground && ot.value ? (B(), j(o, {
|
|
16216
|
+
key: 4,
|
|
16217
|
+
modelValue: he.value,
|
|
16218
|
+
"onUpdate:modelValue": a[34] ||= (e) => he.value = e,
|
|
16201
16219
|
name: "floatingButtonPosition",
|
|
16202
16220
|
strategy: "fixed",
|
|
16203
|
-
icon:
|
|
16221
|
+
icon: he.value === "right" ? "ri:layout-right-2-line" : "ri:layout-left-2-line",
|
|
16204
16222
|
label: W(t)("label.floatingButtonPosition"),
|
|
16205
16223
|
placeholder: W(t)("action.select"),
|
|
16206
16224
|
unselectable: !1,
|
|
@@ -16222,10 +16240,10 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16222
16240
|
]),
|
|
16223
16241
|
_: 1
|
|
16224
16242
|
}, 8, ["legend"]),
|
|
16225
|
-
|
|
16243
|
+
ot.value ? (B(), N(k, { key: 2 }, [
|
|
16226
16244
|
I(v, {
|
|
16227
|
-
modelValue:
|
|
16228
|
-
"onUpdate:modelValue": a[
|
|
16245
|
+
modelValue: ge.value,
|
|
16246
|
+
"onUpdate:modelValue": a[35] ||= (e) => ge.value = e,
|
|
16229
16247
|
name: "maxMessageLength",
|
|
16230
16248
|
type: "number",
|
|
16231
16249
|
min: "1",
|
|
@@ -16239,8 +16257,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16239
16257
|
]),
|
|
16240
16258
|
e.playground ? M("", !0) : (B(), j(Pi, {
|
|
16241
16259
|
key: 0,
|
|
16242
|
-
modelValue:
|
|
16243
|
-
"onUpdate:modelValue": a[
|
|
16260
|
+
modelValue: Ie.value,
|
|
16261
|
+
"onUpdate:modelValue": a[36] ||= (e) => Ie.value = e,
|
|
16244
16262
|
language: "css",
|
|
16245
16263
|
label: W(t)("label.customCss"),
|
|
16246
16264
|
"hint-label": W(t)("hint.customCss"),
|
|
@@ -16251,7 +16269,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16251
16269
|
"hint-label",
|
|
16252
16270
|
"placeholder"
|
|
16253
16271
|
])),
|
|
16254
|
-
I(
|
|
16272
|
+
I(ct, {
|
|
16255
16273
|
items: W(n).map((e) => ({
|
|
16256
16274
|
tab: e,
|
|
16257
16275
|
label: W(t)(`language.${e}`)
|
|
@@ -16327,16 +16345,16 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16327
16345
|
"placeholder",
|
|
16328
16346
|
"onUpdate:modelValue"
|
|
16329
16347
|
]),
|
|
16330
|
-
|
|
16348
|
+
Ce.value.includes(W(S).ShowContactForm) ? M("", !0) : (B(), j(qv, {
|
|
16331
16349
|
key: 0,
|
|
16332
|
-
"model-value":
|
|
16350
|
+
"model-value": Le.value?.[e] ?? "",
|
|
16333
16351
|
name: `privacyPolicyNotice.${e}`,
|
|
16334
16352
|
label: W(t)("label.privacyPolicyNotice"),
|
|
16335
16353
|
placeholder: W(t)("placeholder.insert"),
|
|
16336
16354
|
"hint-label": W(t)("hint.privacyPolicyNotice"),
|
|
16337
16355
|
class: "mb-0",
|
|
16338
|
-
"onUpdate:modelValue": (t) =>
|
|
16339
|
-
...
|
|
16356
|
+
"onUpdate:modelValue": (t) => Le.value = {
|
|
16357
|
+
...Le.value,
|
|
16340
16358
|
[e]: t ?? ""
|
|
16341
16359
|
}
|
|
16342
16360
|
}, null, 8, [
|
|
@@ -16354,8 +16372,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16354
16372
|
"panel::tools": q(() => [
|
|
16355
16373
|
I(Li, { legend: W(t)("label.fileUpload") }, {
|
|
16356
16374
|
default: q(() => [I(C, {
|
|
16357
|
-
modelValue:
|
|
16358
|
-
"onUpdate:modelValue": a[
|
|
16375
|
+
modelValue: Me.value,
|
|
16376
|
+
"onUpdate:modelValue": a[37] ||= (e) => Me.value = e,
|
|
16359
16377
|
disabled: e.playground,
|
|
16360
16378
|
name: "fileUploadEnabled",
|
|
16361
16379
|
class: "flex-nowrap",
|
|
@@ -16363,12 +16381,12 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16363
16381
|
value: !0,
|
|
16364
16382
|
switch: ""
|
|
16365
16383
|
}, {
|
|
16366
|
-
default: q(() => [P("div",
|
|
16384
|
+
default: q(() => [P("div", $b, [P("strong", ex, U(W(t)("label.fileUploadEnabled")), 1), P("small", tx, U(W(t)("hint.fileUploadEnabled")), 1)])]),
|
|
16367
16385
|
_: 1
|
|
16368
|
-
}, 8, ["modelValue", "disabled"]),
|
|
16386
|
+
}, 8, ["modelValue", "disabled"]), Me.value ? (B(), N(k, { key: 0 }, [
|
|
16369
16387
|
I(v, {
|
|
16370
|
-
modelValue:
|
|
16371
|
-
"onUpdate:modelValue": a[
|
|
16388
|
+
modelValue: $e.value,
|
|
16389
|
+
"onUpdate:modelValue": a[38] ||= (e) => $e.value = e,
|
|
16372
16390
|
disabled: e.playground,
|
|
16373
16391
|
name: "fileUploadMaxFileSize",
|
|
16374
16392
|
type: "number",
|
|
@@ -16383,13 +16401,13 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16383
16401
|
"placeholder"
|
|
16384
16402
|
]),
|
|
16385
16403
|
I(o, {
|
|
16386
|
-
modelValue:
|
|
16387
|
-
"onUpdate:modelValue": a[
|
|
16404
|
+
modelValue: Qe.value,
|
|
16405
|
+
"onUpdate:modelValue": a[39] ||= (e) => Qe.value = e,
|
|
16388
16406
|
disabled: e.playground,
|
|
16389
16407
|
name: "fileUploadAllowedMimeTypes",
|
|
16390
16408
|
label: W(t)("label.fileUploadAllowedMimeTypes"),
|
|
16391
16409
|
placeholder: W(t)("placeholder.select"),
|
|
16392
|
-
options:
|
|
16410
|
+
options: Ze.value,
|
|
16393
16411
|
badges: "",
|
|
16394
16412
|
multiple: "",
|
|
16395
16413
|
strategy: "fixed"
|
|
@@ -16400,9 +16418,9 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16400
16418
|
"placeholder",
|
|
16401
16419
|
"options"
|
|
16402
16420
|
]),
|
|
16403
|
-
P("div",
|
|
16404
|
-
modelValue:
|
|
16405
|
-
"onUpdate:modelValue": a[
|
|
16421
|
+
P("div", nx, [I(v, {
|
|
16422
|
+
modelValue: Fe.value,
|
|
16423
|
+
"onUpdate:modelValue": a[40] ||= (e) => Fe.value = e,
|
|
16406
16424
|
disabled: e.playground,
|
|
16407
16425
|
name: "fileUploadMaxFilesPerMessage",
|
|
16408
16426
|
type: "number",
|
|
@@ -16416,8 +16434,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16416
16434
|
"label",
|
|
16417
16435
|
"placeholder"
|
|
16418
16436
|
]), I(v, {
|
|
16419
|
-
modelValue:
|
|
16420
|
-
"onUpdate:modelValue": a[
|
|
16437
|
+
modelValue: T.value,
|
|
16438
|
+
"onUpdate:modelValue": a[41] ||= (e) => T.value = e,
|
|
16421
16439
|
disabled: e.playground,
|
|
16422
16440
|
name: "fileUploadMaxFilesPerChat",
|
|
16423
16441
|
type: "number",
|
|
@@ -16437,62 +16455,62 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16437
16455
|
I(Li, { legend: W(t)("label.webSearch") }, {
|
|
16438
16456
|
default: q(() => [I(Wy, {
|
|
16439
16457
|
"web-search": ce.value,
|
|
16440
|
-
"onUpdate:webSearch": a[
|
|
16441
|
-
"active-provider":
|
|
16458
|
+
"onUpdate:webSearch": a[42] ||= (e) => ce.value = e,
|
|
16459
|
+
"active-provider": it.value
|
|
16442
16460
|
}, null, 8, ["web-search", "active-provider"])]),
|
|
16443
16461
|
_: 1
|
|
16444
16462
|
}, 8, ["legend"]),
|
|
16445
|
-
P("div",
|
|
16463
|
+
P("div", rx, [(B(!0), N(k, null, Fn(D.value, (n) => (B(), N(k, { key: n.key }, [ot.value || !n.tools.every((e) => W(_)(e)) ? (B(), j(Li, {
|
|
16446
16464
|
key: 0,
|
|
16447
16465
|
class: "mb-0"
|
|
16448
16466
|
}, {
|
|
16449
|
-
legend: q(() => [P("span",
|
|
16467
|
+
legend: q(() => [P("span", ix, [I(Ne, {
|
|
16450
16468
|
name: n.icon,
|
|
16451
16469
|
class: "text-16"
|
|
16452
16470
|
}, null, 8, ["name"]), F(" " + U(W(t)(`toolGroup.${n.key}`)), 1)])]),
|
|
16453
|
-
default: q(() => [P("p",
|
|
16471
|
+
default: q(() => [P("p", ax, U(W(t)(`toolGroupInfo.${n.key}`)), 1), P("div", ox, [(B(!0), N(k, null, Fn(n.tools, (n) => (B(), N(k, { key: n }, [!W(_)(n) || ot.value ? (B(), N(k, { key: 0 }, [
|
|
16454
16472
|
I(C, {
|
|
16455
16473
|
class: "flex-nowrap border-t border-surface-3 mr-0 px-md pt-md",
|
|
16456
|
-
"model-value":
|
|
16474
|
+
"model-value": tt(n),
|
|
16457
16475
|
name: `tool.${n}`,
|
|
16458
16476
|
value: !0,
|
|
16459
16477
|
"unchecked-value": !1,
|
|
16460
|
-
disabled: !
|
|
16478
|
+
disabled: !O(n),
|
|
16461
16479
|
switch: "",
|
|
16462
|
-
"onUpdate:modelValue": (e) =>
|
|
16480
|
+
"onUpdate:modelValue": (e) => nt(n, e)
|
|
16463
16481
|
}, {
|
|
16464
|
-
default: q(() => [P("div",
|
|
16465
|
-
P("div",
|
|
16482
|
+
default: q(() => [P("div", sx, [
|
|
16483
|
+
P("div", cx, [P("strong", lx, U(W(t)(`agent.tool.${n}`)), 1), n === W(S).ShowMultipleChoice ? (B(), j(ft, {
|
|
16466
16484
|
key: 0,
|
|
16467
16485
|
modifiers: "gray sm"
|
|
16468
16486
|
}, {
|
|
16469
16487
|
default: q(() => [F(U(W(t)("label.deprecated")), 1)]),
|
|
16470
16488
|
_: 1
|
|
16471
16489
|
})) : M("", !0)]),
|
|
16472
|
-
P("small",
|
|
16490
|
+
P("small", ux, U(W(t)(`hint.tool.${n}`)), 1),
|
|
16473
16491
|
W(_)(n) && W(te)(n) ? (B(), N("div", {
|
|
16474
16492
|
key: 0,
|
|
16475
16493
|
class: "flex items-center gap-4 self-start mt-4 pt-4 w-full border-t border-surface-3",
|
|
16476
16494
|
title: W(t)("hint.platformSupported")
|
|
16477
|
-
}, [I(
|
|
16495
|
+
}, [I(ft, {
|
|
16478
16496
|
modifiers: "ghost sm",
|
|
16479
16497
|
class: "inline-flex items-center gap-4"
|
|
16480
16498
|
}, {
|
|
16481
|
-
default: q(() => [I(
|
|
16499
|
+
default: q(() => [I(Ne, {
|
|
16482
16500
|
name: "ri:whatsapp-line",
|
|
16483
16501
|
class: "text-12"
|
|
16484
16502
|
}), F(" " + U(W(t)("label.whatsapp")), 1)]),
|
|
16485
16503
|
_: 1
|
|
16486
|
-
}), I(
|
|
16504
|
+
}), I(ft, {
|
|
16487
16505
|
modifiers: "ghost sm",
|
|
16488
16506
|
class: "inline-flex items-center gap-4"
|
|
16489
16507
|
}, {
|
|
16490
|
-
default: q(() => [I(
|
|
16508
|
+
default: q(() => [I(Ne, {
|
|
16491
16509
|
name: "ri:microsoft-line",
|
|
16492
16510
|
class: "text-12"
|
|
16493
16511
|
}), F(" " + U(W(t)("label.teams")), 1)]),
|
|
16494
16512
|
_: 1
|
|
16495
|
-
})], 8,
|
|
16513
|
+
})], 8, dx)) : M("", !0)
|
|
16496
16514
|
])]),
|
|
16497
16515
|
_: 2
|
|
16498
16516
|
}, 1032, [
|
|
@@ -16501,15 +16519,15 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16501
16519
|
"disabled",
|
|
16502
16520
|
"onUpdate:modelValue"
|
|
16503
16521
|
]),
|
|
16504
|
-
n === W(S).ShowForm &&
|
|
16522
|
+
n === W(S).ShowForm && tt(n) ? (B(), j(Xe, {
|
|
16505
16523
|
key: 0,
|
|
16506
16524
|
title: W(t)("label.advancedOptions"),
|
|
16507
16525
|
modifiers: "details",
|
|
16508
16526
|
class: "border border-surface-3 rounded mx-md mb-md"
|
|
16509
16527
|
}, {
|
|
16510
|
-
default: q(() => [P("div",
|
|
16511
|
-
modelValue:
|
|
16512
|
-
"onUpdate:modelValue": a[
|
|
16528
|
+
default: q(() => [P("div", fx, [I(v, {
|
|
16529
|
+
modelValue: De.value,
|
|
16530
|
+
"onUpdate:modelValue": a[43] ||= (e) => De.value = e,
|
|
16513
16531
|
name: "formMaxSteps",
|
|
16514
16532
|
type: "number",
|
|
16515
16533
|
min: 1,
|
|
@@ -16523,8 +16541,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16523
16541
|
"hint",
|
|
16524
16542
|
"disabled"
|
|
16525
16543
|
]), I(v, {
|
|
16526
|
-
modelValue:
|
|
16527
|
-
"onUpdate:modelValue": a[
|
|
16544
|
+
modelValue: Oe.value,
|
|
16545
|
+
"onUpdate:modelValue": a[44] ||= (e) => Oe.value = e,
|
|
16528
16546
|
name: "formMaxOptionsPerStep",
|
|
16529
16547
|
type: "number",
|
|
16530
16548
|
min: 2,
|
|
@@ -16540,59 +16558,59 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16540
16558
|
])])]),
|
|
16541
16559
|
_: 1
|
|
16542
16560
|
}, 8, ["title"])) : M("", !0),
|
|
16543
|
-
n === W(S).UserMemory &&
|
|
16561
|
+
n === W(S).UserMemory && tt(n) ? (B(), j(C, {
|
|
16544
16562
|
key: 1,
|
|
16545
|
-
modelValue:
|
|
16546
|
-
"onUpdate:modelValue": a[
|
|
16563
|
+
modelValue: we.value,
|
|
16564
|
+
"onUpdate:modelValue": a[45] ||= (e) => we.value = e,
|
|
16547
16565
|
class: "flex-nowrap mr-0 px-md pb-md ml-32",
|
|
16548
16566
|
name: "useAllUserKb",
|
|
16549
16567
|
value: !0,
|
|
16550
16568
|
"unchecked-value": !1,
|
|
16551
16569
|
disabled: e.playground
|
|
16552
16570
|
}, {
|
|
16553
|
-
default: q(() => [P("div",
|
|
16571
|
+
default: q(() => [P("div", px, [P("strong", mx, U(W(t)("agent.tool.useAllUserKb")), 1), P("small", hx, U(W(t)("hint.tool.useAllUserKb")), 1)])]),
|
|
16554
16572
|
_: 1
|
|
16555
16573
|
}, 8, ["modelValue", "disabled"])) : M("", !0),
|
|
16556
|
-
n === W(S).SearchInUserFiles &&
|
|
16574
|
+
n === W(S).SearchInUserFiles && tt(n) ? (B(), j(C, {
|
|
16557
16575
|
key: 2,
|
|
16558
|
-
modelValue:
|
|
16559
|
-
"onUpdate:modelValue": a[
|
|
16576
|
+
modelValue: Ee.value,
|
|
16577
|
+
"onUpdate:modelValue": a[46] ||= (e) => Ee.value = e,
|
|
16560
16578
|
class: "flex-nowrap mr-0 px-md pb-md ml-32",
|
|
16561
16579
|
name: "useAllUserFiles",
|
|
16562
16580
|
value: !0,
|
|
16563
16581
|
"unchecked-value": !1,
|
|
16564
16582
|
disabled: e.playground
|
|
16565
16583
|
}, {
|
|
16566
|
-
default: q(() => [P("div",
|
|
16584
|
+
default: q(() => [P("div", gx, [P("strong", _x, U(W(t)("agent.tool.useAllUserFiles")), 1), P("small", vx, U(W(t)("hint.tool.useAllUserFiles")), 1)])]),
|
|
16567
16585
|
_: 1
|
|
16568
16586
|
}, 8, ["modelValue", "disabled"])) : M("", !0)
|
|
16569
16587
|
], 64)) : M("", !0)], 64))), 128))])]),
|
|
16570
16588
|
_: 2
|
|
16571
16589
|
}, 1024)) : M("", !0)], 64))), 128))])
|
|
16572
16590
|
]),
|
|
16573
|
-
"panel::embed": q(() => [P("div",
|
|
16574
|
-
|
|
16591
|
+
"panel::embed": q(() => [P("div", yx, [
|
|
16592
|
+
Ue.value.includes(W(y).Widget) ? M("", !0) : (B(), N("p", bx, [I(Ne, {
|
|
16575
16593
|
name: "ri:alert-line",
|
|
16576
16594
|
class: "align-middle text-18 left-8 absolute text-warning"
|
|
16577
16595
|
}), F(" " + U(W(t)("hint.channelWidgetDisabled")), 1)])),
|
|
16578
|
-
|
|
16596
|
+
Ue.value.includes(W(y).App) ? M("", !0) : (B(), N("p", xx, [I(Ne, {
|
|
16579
16597
|
name: "ri:alert-line",
|
|
16580
16598
|
class: "align-middle text-18 left-8 absolute text-warning"
|
|
16581
16599
|
}), F(" " + U(W(t)("hint.channelAppDisabled")), 1)])),
|
|
16582
|
-
P("div", null, [P("h3",
|
|
16583
|
-
I(rb, { source:
|
|
16600
|
+
P("div", null, [P("h3", Sx, U(W(t)("label.chatWidget")), 1), P("p", Cx, U(W(t)("hint.embedCode")), 1)]),
|
|
16601
|
+
I(rb, { source: ut.value }, {
|
|
16584
16602
|
default: q(() => [I(Te, {
|
|
16585
|
-
code:
|
|
16603
|
+
code: ut.value,
|
|
16586
16604
|
language: "html",
|
|
16587
16605
|
line: "",
|
|
16588
16606
|
class: "text-12 overflow-hidden font-mono leading-snug bg-surface-1"
|
|
16589
16607
|
}, null, 8, ["code"])]),
|
|
16590
16608
|
_: 1
|
|
16591
16609
|
}, 8, ["source"]),
|
|
16592
|
-
e.playground ? M("", !0) : (B(), N("div",
|
|
16610
|
+
e.playground ? M("", !0) : (B(), N("div", wx, [
|
|
16593
16611
|
I(v, {
|
|
16594
|
-
modelValue:
|
|
16595
|
-
"onUpdate:modelValue": a[
|
|
16612
|
+
modelValue: ke.value,
|
|
16613
|
+
"onUpdate:modelValue": a[47] ||= (e) => ke.value = e,
|
|
16596
16614
|
name: "widgetUrl",
|
|
16597
16615
|
type: "url",
|
|
16598
16616
|
icon: "ri:links-line",
|
|
@@ -16604,8 +16622,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16604
16622
|
"placeholder"
|
|
16605
16623
|
]),
|
|
16606
16624
|
I(v, {
|
|
16607
|
-
modelValue:
|
|
16608
|
-
"onUpdate:modelValue": a[
|
|
16625
|
+
modelValue: Ae.value,
|
|
16626
|
+
"onUpdate:modelValue": a[48] ||= (e) => Ae.value = e,
|
|
16609
16627
|
name: "loadDelay",
|
|
16610
16628
|
type: "number",
|
|
16611
16629
|
step: "100",
|
|
@@ -16620,8 +16638,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16620
16638
|
"hint"
|
|
16621
16639
|
]),
|
|
16622
16640
|
I(o, {
|
|
16623
|
-
modelValue:
|
|
16624
|
-
"onUpdate:modelValue": a[
|
|
16641
|
+
modelValue: je.value,
|
|
16642
|
+
"onUpdate:modelValue": a[49] ||= (e) => je.value = e,
|
|
16625
16643
|
name: "loaderStrategy",
|
|
16626
16644
|
icon: "ri:code-line",
|
|
16627
16645
|
label: W(t)("label.loaderStrategy"),
|
|
@@ -16644,8 +16662,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16644
16662
|
"label",
|
|
16645
16663
|
"options"
|
|
16646
16664
|
]),
|
|
16647
|
-
|
|
16648
|
-
default: q(() => [F(U(W(t)(`hint.loaderStrategy.${
|
|
16665
|
+
je.value ? (B(), j(sy, { key: 0 }, {
|
|
16666
|
+
default: q(() => [F(U(W(t)(`hint.loaderStrategy.${je.value}`)), 1)]),
|
|
16649
16667
|
_: 1
|
|
16650
16668
|
})) : M("", !0),
|
|
16651
16669
|
I(Li, {
|
|
@@ -16653,40 +16671,40 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16653
16671
|
class: "mb-0"
|
|
16654
16672
|
}, {
|
|
16655
16673
|
default: q(() => [
|
|
16656
|
-
P("p",
|
|
16674
|
+
P("p", Tx, U(W(t)("hint.externalContextSchema")), 1),
|
|
16657
16675
|
I(C, {
|
|
16658
|
-
modelValue:
|
|
16659
|
-
"onUpdate:modelValue": a[
|
|
16676
|
+
modelValue: Ye.value,
|
|
16677
|
+
"onUpdate:modelValue": a[50] ||= (e) => Ye.value = e,
|
|
16660
16678
|
name: "externalContextEnabled",
|
|
16661
16679
|
class: "flex-nowrap",
|
|
16662
16680
|
value: !0,
|
|
16663
16681
|
"unchecked-value": !1,
|
|
16664
16682
|
switch: ""
|
|
16665
16683
|
}, {
|
|
16666
|
-
default: q(() => [P("div",
|
|
16684
|
+
default: q(() => [P("div", Ex, [P("strong", Dx, U(W(t)("label.externalContextSchema")), 1), P("small", Ox, U(W(t)("hint.externalContextSchemaToggle")), 1)])]),
|
|
16667
16685
|
_: 1
|
|
16668
16686
|
}, 8, ["modelValue"]),
|
|
16669
|
-
|
|
16687
|
+
Ye.value ? (B(), j(pt, {
|
|
16670
16688
|
key: 0,
|
|
16671
16689
|
modifiers: "action-small",
|
|
16672
16690
|
icon: "ri:code-line",
|
|
16673
16691
|
class: "ml-auto",
|
|
16674
16692
|
label: W(t)("action.editSchema"),
|
|
16675
|
-
onClick: a[
|
|
16693
|
+
onClick: a[51] ||= (e) => Je.value = !0
|
|
16676
16694
|
}, null, 8, ["label"])) : M("", !0),
|
|
16677
|
-
I(
|
|
16678
|
-
modelValue:
|
|
16679
|
-
"onUpdate:modelValue": a[
|
|
16695
|
+
I(mt, {
|
|
16696
|
+
modelValue: Je.value,
|
|
16697
|
+
"onUpdate:modelValue": a[54] ||= (e) => Je.value = e,
|
|
16680
16698
|
title: W(t)("label.externalContextSchema")
|
|
16681
16699
|
}, {
|
|
16682
|
-
footer: q(() => [I(
|
|
16700
|
+
footer: q(() => [I(pt, {
|
|
16683
16701
|
modifiers: "primary",
|
|
16684
16702
|
label: W(t)("action.close"),
|
|
16685
|
-
onClick: a[
|
|
16703
|
+
onClick: a[53] ||= (e) => Je.value = !1
|
|
16686
16704
|
}, null, 8, ["label"])]),
|
|
16687
16705
|
default: q(() => [I(ta, {
|
|
16688
|
-
modelValue:
|
|
16689
|
-
"onUpdate:modelValue": a[
|
|
16706
|
+
modelValue: We.value,
|
|
16707
|
+
"onUpdate:modelValue": a[52] ||= (e) => We.value = e,
|
|
16690
16708
|
label: W(t)("label.externalContextSchema"),
|
|
16691
16709
|
placeholder: W(t)("placeholder.insert")
|
|
16692
16710
|
}, null, 8, [
|
|
@@ -16700,34 +16718,34 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16700
16718
|
_: 1
|
|
16701
16719
|
}, 8, ["legend"])
|
|
16702
16720
|
])),
|
|
16703
|
-
P("div", null, [P("h3",
|
|
16704
|
-
I(rb, { source:
|
|
16721
|
+
P("div", null, [P("h3", kx, U(W(t)("label.iframe")), 1), P("p", Ax, U(W(t)("hint.embedIframe")), 1)]),
|
|
16722
|
+
I(rb, { source: dt.value }, {
|
|
16705
16723
|
default: q(() => [I(Te, {
|
|
16706
|
-
code:
|
|
16724
|
+
code: dt.value,
|
|
16707
16725
|
language: "html",
|
|
16708
16726
|
line: "",
|
|
16709
16727
|
class: "text-12 overflow-hidden font-mono leading-snug bg-surface-1"
|
|
16710
16728
|
}, null, 8, ["code"])]),
|
|
16711
16729
|
_: 1
|
|
16712
16730
|
}, 8, ["source"]),
|
|
16713
|
-
P("div", null, [P("h4",
|
|
16714
|
-
I(rb, { source:
|
|
16715
|
-
actions: q(() => [I(
|
|
16731
|
+
P("div", null, [P("h4", jx, U(W(t)("label.preview")), 1), P("p", Mx, U(W(t)("hint.embedPreview")), 1)]),
|
|
16732
|
+
I(rb, { source: lt.value }, {
|
|
16733
|
+
actions: q(() => [I(pt, {
|
|
16716
16734
|
modifiers: "action-quiet-small",
|
|
16717
16735
|
icon: "ri:eye-line",
|
|
16718
16736
|
label: W(t)("action.view"),
|
|
16719
|
-
href:
|
|
16737
|
+
href: lt.value,
|
|
16720
16738
|
target: "_blank"
|
|
16721
16739
|
}, null, 8, ["label", "href"])]),
|
|
16722
|
-
default: q(() => [P("code",
|
|
16740
|
+
default: q(() => [P("code", Nx, U(lt.value), 1)]),
|
|
16723
16741
|
_: 1
|
|
16724
16742
|
}, 8, ["source"])
|
|
16725
16743
|
])]),
|
|
16726
16744
|
"panel::security": q(() => [I(Li, { legend: W(t)("label.rateLimits") }, {
|
|
16727
|
-
default: q(() => [P("div",
|
|
16745
|
+
default: q(() => [P("div", Px, [
|
|
16728
16746
|
I(v, {
|
|
16729
|
-
modelValue:
|
|
16730
|
-
"onUpdate:modelValue": a[
|
|
16747
|
+
modelValue: ve.value,
|
|
16748
|
+
"onUpdate:modelValue": a[55] ||= (e) => ve.value = e,
|
|
16731
16749
|
name: "minuteRateLimit",
|
|
16732
16750
|
type: "number",
|
|
16733
16751
|
label: W(t)("label.minuteRateLimit"),
|
|
@@ -16743,8 +16761,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16743
16761
|
"invalid-label"
|
|
16744
16762
|
]),
|
|
16745
16763
|
I(v, {
|
|
16746
|
-
modelValue:
|
|
16747
|
-
"onUpdate:modelValue": a[
|
|
16764
|
+
modelValue: ye.value,
|
|
16765
|
+
"onUpdate:modelValue": a[56] ||= (e) => ye.value = e,
|
|
16748
16766
|
name: "hourRateLimit",
|
|
16749
16767
|
type: "number",
|
|
16750
16768
|
label: W(t)("label.hourRateLimit"),
|
|
@@ -16760,8 +16778,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16760
16778
|
"invalid-label"
|
|
16761
16779
|
]),
|
|
16762
16780
|
I(v, {
|
|
16763
|
-
modelValue:
|
|
16764
|
-
"onUpdate:modelValue": a[
|
|
16781
|
+
modelValue: be.value,
|
|
16782
|
+
"onUpdate:modelValue": a[57] ||= (e) => be.value = e,
|
|
16765
16783
|
name: "dayRateLimit",
|
|
16766
16784
|
type: "number",
|
|
16767
16785
|
label: W(t)("label.dayRateLimit"),
|
|
@@ -16777,8 +16795,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16777
16795
|
"invalid-label"
|
|
16778
16796
|
]),
|
|
16779
16797
|
I(v, {
|
|
16780
|
-
modelValue:
|
|
16781
|
-
"onUpdate:modelValue": a[
|
|
16798
|
+
modelValue: xe.value,
|
|
16799
|
+
"onUpdate:modelValue": a[58] ||= (e) => xe.value = e,
|
|
16782
16800
|
name: "monthRateLimit",
|
|
16783
16801
|
type: "number",
|
|
16784
16802
|
label: W(t)("label.monthRateLimit"),
|
|
@@ -16796,8 +16814,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16796
16814
|
])]),
|
|
16797
16815
|
_: 1
|
|
16798
16816
|
}, 8, ["legend"]), I(ty, {
|
|
16799
|
-
modelValue:
|
|
16800
|
-
"onUpdate:modelValue": a[
|
|
16817
|
+
modelValue: Se.value.origins,
|
|
16818
|
+
"onUpdate:modelValue": a[59] ||= (e) => Se.value.origins = e,
|
|
16801
16819
|
name: "trustedOrigins",
|
|
16802
16820
|
label: W(t)("label.trustedOrigins"),
|
|
16803
16821
|
placeholder: W(t)("placeholder.noTrustedOrigins"),
|
|
@@ -16808,8 +16826,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16808
16826
|
"allow-empty": ""
|
|
16809
16827
|
}, {
|
|
16810
16828
|
default: q(({ index: e }) => [I(v, {
|
|
16811
|
-
modelValue:
|
|
16812
|
-
"onUpdate:modelValue": (t) =>
|
|
16829
|
+
modelValue: Se.value.origins[e],
|
|
16830
|
+
"onUpdate:modelValue": (t) => Se.value.origins[e] = t,
|
|
16813
16831
|
name: `trustedOrigins.${e}`,
|
|
16814
16832
|
label: W(t)("label.origin"),
|
|
16815
16833
|
placeholder: W(t)("placeholder.insertOrigin"),
|
|
@@ -16837,7 +16855,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16837
16855
|
}, 8, ["items"]), H(i.$slots, "default")]);
|
|
16838
16856
|
};
|
|
16839
16857
|
}
|
|
16840
|
-
}),
|
|
16858
|
+
}), Ix = ["aria-current", "title"], Lx = /* @__PURE__ */ L({
|
|
16841
16859
|
__name: "PkChatSidebarConversationItem",
|
|
16842
16860
|
props: /*@__PURE__*/ wn({
|
|
16843
16861
|
conversation: {},
|
|
@@ -16890,7 +16908,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16890
16908
|
"aria-current": e.active ? "page" : void 0,
|
|
16891
16909
|
title: o.value,
|
|
16892
16910
|
onClick: n[4] ||= (e) => i("select")
|
|
16893
|
-
}, U(o.value), 9,
|
|
16911
|
+
}, U(o.value), 9, Ix), I(f, Tn({
|
|
16894
16912
|
placement: "bottom-end",
|
|
16895
16913
|
modifiers: "menu",
|
|
16896
16914
|
flip: !0,
|
|
@@ -16920,19 +16938,19 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16920
16938
|
}, 16)], 64))], 2);
|
|
16921
16939
|
};
|
|
16922
16940
|
}
|
|
16923
|
-
}),
|
|
16941
|
+
}), Rx = ["inert", "aria-label"], zx = { class: "pk-chat-sidebar__header" }, Bx = ["title"], Vx = { class: "pk-chat-sidebar__actions" }, Hx = {
|
|
16924
16942
|
key: 0,
|
|
16925
16943
|
class: "pk-chat-sidebar__list vv-skeleton"
|
|
16926
|
-
},
|
|
16944
|
+
}, Ux = {
|
|
16927
16945
|
key: 1,
|
|
16928
16946
|
class: "pk-chat-sidebar__list"
|
|
16929
|
-
},
|
|
16947
|
+
}, Wx = {
|
|
16930
16948
|
key: 0,
|
|
16931
16949
|
class: "pk-chat-sidebar__no-results"
|
|
16932
|
-
},
|
|
16950
|
+
}, Gx = { class: "pk-chat-sidebar__group-label" }, Kx = {
|
|
16933
16951
|
key: 2,
|
|
16934
16952
|
class: "pk-chat-sidebar__footer"
|
|
16935
|
-
},
|
|
16953
|
+
}, qx = 864e5, Jx = /* @__PURE__ */ L({
|
|
16936
16954
|
__name: "PkChatSidebar",
|
|
16937
16955
|
props: /*@__PURE__*/ wn({
|
|
16938
16956
|
agentId: {},
|
|
@@ -16967,7 +16985,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
16967
16985
|
};
|
|
16968
16986
|
for (let n of te.value) {
|
|
16969
16987
|
let r = n.lastMessageAt ? new Date(n.lastMessageAt).getTime() : 0;
|
|
16970
|
-
r >= e ? t.today.push(n) : r >= e -
|
|
16988
|
+
r >= e ? t.today.push(n) : r >= e - qx ? t.yesterday.push(n) : r >= e - 7 * qx ? t.last7Days.push(n) : r >= e - 30 * qx ? t.last30Days.push(n) : t.older.push(n);
|
|
16971
16989
|
}
|
|
16972
16990
|
return Object.entries(t).filter(([, e]) => e.length > 0).map(([e, t]) => ({
|
|
16973
16991
|
key: e,
|
|
@@ -17010,7 +17028,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17010
17028
|
"aria-label": W(s)("label.conversations"),
|
|
17011
17029
|
onKeydown: le
|
|
17012
17030
|
}, [
|
|
17013
|
-
P("header",
|
|
17031
|
+
P("header", zx, [
|
|
17014
17032
|
e.organizationLogo || e.organizationName ? (B(), j(wt, {
|
|
17015
17033
|
key: 0,
|
|
17016
17034
|
modifiers: "surface ring",
|
|
@@ -17022,7 +17040,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17022
17040
|
key: 1,
|
|
17023
17041
|
class: "pk-chat-sidebar__org-name",
|
|
17024
17042
|
title: e.organizationName
|
|
17025
|
-
}, U(e.organizationName), 9,
|
|
17043
|
+
}, U(e.organizationName), 9, Bx)) : M("", !0),
|
|
17026
17044
|
I(a, {
|
|
17027
17045
|
class: "ml-auto",
|
|
17028
17046
|
icon: W(i) ? "ri:close-line" : "ri:sidebar-fold-line",
|
|
@@ -17036,7 +17054,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17036
17054
|
"title"
|
|
17037
17055
|
])
|
|
17038
17056
|
]),
|
|
17039
|
-
P("div",
|
|
17057
|
+
P("div", Vx, [
|
|
17040
17058
|
e.agents ? (B(), j(Oy, {
|
|
17041
17059
|
key: 0,
|
|
17042
17060
|
agents: e.agents,
|
|
@@ -17059,13 +17077,13 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17059
17077
|
placeholder: W(s)("placeholder.search")
|
|
17060
17078
|
}, null, 8, ["modelValue", "placeholder"])
|
|
17061
17079
|
]),
|
|
17062
|
-
W(u) && W(l).length === 0 ? (B(), N("div",
|
|
17080
|
+
W(u) && W(l).length === 0 ? (B(), N("div", Hx, [(B(), N(k, null, Fn(6, (e) => P("div", {
|
|
17063
17081
|
key: e,
|
|
17064
17082
|
class: "vv-skeleton__item rounded-md h-36"
|
|
17065
|
-
})), 64))])) : (B(), N("nav",
|
|
17083
|
+
})), 64))])) : (B(), N("nav", Ux, [w.value.length === 0 ? (B(), N("p", Wx, U(W(s)("message.noConversations")), 1)) : M("", !0), (B(!0), N(k, null, Fn(w.value, (e) => (B(), N("div", {
|
|
17066
17084
|
key: e.key,
|
|
17067
17085
|
class: "pk-chat-sidebar__group"
|
|
17068
|
-
}, [P("span",
|
|
17086
|
+
}, [P("span", Gx, U(e.label), 1), (B(!0), N(k, null, Fn(e.items, (e) => (B(), j(Lx, {
|
|
17069
17087
|
key: e.id,
|
|
17070
17088
|
"editing-title": W(_),
|
|
17071
17089
|
"onUpdate:editingTitle": n[4] ||= (e) => Sn(_) ? _.value = e : null,
|
|
@@ -17092,44 +17110,44 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17092
17110
|
"onDelete",
|
|
17093
17111
|
"onFiles"
|
|
17094
17112
|
]))), 128))]))), 128))])),
|
|
17095
|
-
t.$slots.footer ? (B(), N("footer",
|
|
17096
|
-
], 46,
|
|
17113
|
+
t.$slots.footer ? (B(), N("footer", Kx, [H(t.$slots, "footer")])) : M("", !0)
|
|
17114
|
+
], 46, Rx)], 64);
|
|
17097
17115
|
};
|
|
17098
17116
|
}
|
|
17099
|
-
}),
|
|
17117
|
+
}), Yx = { class: "retry-animation-container" }, Xx = /*#__PURE__*/ gy(/* @__PURE__ */ L({
|
|
17100
17118
|
__name: "PkRetryCountdown",
|
|
17101
17119
|
props: {
|
|
17102
17120
|
countdown: {},
|
|
17103
17121
|
maxSeconds: {}
|
|
17104
17122
|
},
|
|
17105
17123
|
setup(e) {
|
|
17106
|
-
return (e, t) => (B(), N("div",
|
|
17124
|
+
return (e, t) => (B(), N("div", Yx, [...t[0] ||= [yn("<div class=\"chatbot-loader\" data-v-c6cf85a3><div class=\"chat-bubble\" data-v-c6cf85a3><div class=\"typing-indicator\" data-v-c6cf85a3><span class=\"dot\" data-v-c6cf85a3></span><span class=\"dot\" data-v-c6cf85a3></span><span class=\"dot\" data-v-c6cf85a3></span></div></div></div>", 1)]]));
|
|
17107
17125
|
}
|
|
17108
|
-
}), [["__scopeId", "data-v-c6cf85a3"]]),
|
|
17126
|
+
}), [["__scopeId", "data-v-c6cf85a3"]]), Zx = { class: "flex flex-col gap-16" }, Qx = {
|
|
17109
17127
|
key: 0,
|
|
17110
17128
|
class: "grid grid-cols-2 gap-x-10 text-12 text-word-3 justify-between"
|
|
17111
|
-
},
|
|
17129
|
+
}, $x = { class: "flex flex-col gap-y-4" }, eS = {
|
|
17112
17130
|
key: 1,
|
|
17113
17131
|
class: "flex items-center gap-4 min-w-0"
|
|
17114
|
-
},
|
|
17132
|
+
}, tS = { class: "truncate" }, nS = {
|
|
17115
17133
|
key: 2,
|
|
17116
17134
|
class: "flex items-center gap-4 min-w-0"
|
|
17117
|
-
},
|
|
17135
|
+
}, rS = { class: "truncate" }, iS = { key: 0 }, aS = {
|
|
17118
17136
|
key: 3,
|
|
17119
17137
|
class: "flex items-center gap-4"
|
|
17120
|
-
},
|
|
17138
|
+
}, oS = {
|
|
17121
17139
|
key: 4,
|
|
17122
17140
|
class: "flex items-center gap-4"
|
|
17123
|
-
},
|
|
17141
|
+
}, sS = { class: "flex flex-col gap-y-4 items-end" }, cS = ["datetime"], lS = {
|
|
17124
17142
|
key: 1,
|
|
17125
17143
|
class: "flex items-center gap-4"
|
|
17126
|
-
},
|
|
17144
|
+
}, uS = { key: 0 }, dS = {
|
|
17127
17145
|
key: 2,
|
|
17128
17146
|
class: "flex items-center gap-4"
|
|
17129
|
-
},
|
|
17147
|
+
}, fS = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, pS = { class: "font-semibold truncate" }, mS = ["title"], hS = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, gS = { class: "font-semibold truncate" }, _S = ["title"], vS = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, yS = { class: "font-semibold truncate" }, bS = ["title"], xS = { class: "flex flex-col gap-16" }, SS = { class: "flex items-center bg-gray-lighten-1 text-white px-6 py-3 rounded" }, CS = { class: "tracking-widest border-r border-gray-lighten-3 pr-4" }, wS = { class: "font-bold text-12" }, TS = { class: "text-10" }, ES = { class: "font-mono text-10 text-word-2 truncate" }, DS = {
|
|
17130
17148
|
key: 0,
|
|
17131
17149
|
class: "text-10 text-word-4 whitespace-nowrap ml-auto"
|
|
17132
|
-
},
|
|
17150
|
+
}, OS = { key: 0 }, kS = { class: "border rounded-b border-surface-3" }, AS = { class: "font-bold text-10 uppercase p-8 border-b border-surface-3" }, jS = { class: "font-bold text-10 uppercase p-8 border-b border-t border-surface-3" }, MS = /* @__PURE__ */ L({
|
|
17133
17151
|
__name: "PkMessageParts",
|
|
17134
17152
|
props: { message: {} },
|
|
17135
17153
|
setup(e) {
|
|
@@ -17170,28 +17188,28 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17170
17188
|
}), o = A(() => t.message?.metadata?.externalContext && Object.keys(t.message.metadata.externalContext).length > 0), s = A(() => t.message?.metadata?.platformContext && Object.keys(t.message.metadata.platformContext).length > 0);
|
|
17171
17189
|
return (t, c) => {
|
|
17172
17190
|
let l = cn, u = Zt, d = Qt, f = In("PjResizablePanel");
|
|
17173
|
-
return B(), N("div",
|
|
17174
|
-
e.message.metadata?.model ? (B(), N("div",
|
|
17191
|
+
return B(), N("div", Zx, [
|
|
17192
|
+
e.message.metadata?.model ? (B(), N("div", Qx, [P("div", $x, [
|
|
17175
17193
|
e.message.metadata?.model ? (B(), j(Py, {
|
|
17176
17194
|
key: 0,
|
|
17177
17195
|
"model-name": e.message.metadata?.model
|
|
17178
17196
|
}, null, 8, ["model-name"])) : M("", !0),
|
|
17179
|
-
e.message?.metadata?.resolvedProvider ? (B(), N("span",
|
|
17197
|
+
e.message?.metadata?.resolvedProvider ? (B(), N("span", eS, [I(l, {
|
|
17180
17198
|
name: "ri:cloud-line",
|
|
17181
17199
|
class: "shrink-0"
|
|
17182
|
-
}), P("span",
|
|
17183
|
-
e.message?.metadata?.totalTokens ? (B(), N("span",
|
|
17200
|
+
}), P("span", tS, [F(U(e.message.metadata.resolvedProvider) + " ", 1), e.message.metadata.resolvedModelId ? (B(), N(k, { key: 0 }, [F(" (" + U(e.message.metadata.resolvedModelId) + ") ", 1)], 64)) : M("", !0)])])) : M("", !0),
|
|
17201
|
+
e.message?.metadata?.totalTokens ? (B(), N("span", nS, [I(l, {
|
|
17184
17202
|
name: "ri:ai-generate-2-line",
|
|
17185
17203
|
class: "shrink-0"
|
|
17186
|
-
}), P("span",
|
|
17187
|
-
e.message?.metadata?.zeroDataRetention ? (B(), N("span",
|
|
17204
|
+
}), P("span", rS, [F(U(t.$n(e.message.metadata.totalTokens, "integer")) + " " + U(t.$t("label.tokens")) + " ", 1), e.message?.metadata?.cachedTokens ? (B(), N("span", iS, " (" + U(t.$n(e.message.metadata.cachedTokens, "integer")) + " " + U(t.$t("label.cached")) + ") ", 1)) : M("", !0)])])) : M("", !0),
|
|
17205
|
+
e.message?.metadata?.zeroDataRetention ? (B(), N("span", aS, [I(l, {
|
|
17188
17206
|
name: "ri:shield-check-line",
|
|
17189
17207
|
class: "shrink-0"
|
|
17190
|
-
}), F(" " + U(t.$t("label.noDataRetention")), 1)])) : e.message?.metadata?.disallowPromptTraining ? (B(), N("span",
|
|
17208
|
+
}), F(" " + U(t.$t("label.noDataRetention")), 1)])) : e.message?.metadata?.disallowPromptTraining ? (B(), N("span", oS, [I(l, {
|
|
17191
17209
|
name: "ri:shield-check-line",
|
|
17192
17210
|
class: "shrink-0"
|
|
17193
17211
|
}), F(" " + U(t.$t("label.noPromptTraining")), 1)])) : M("", !0)
|
|
17194
|
-
]), P("div",
|
|
17212
|
+
]), P("div", sS, [
|
|
17195
17213
|
e.message?.metadata?.createdAt ? (B(), N("time", {
|
|
17196
17214
|
key: 0,
|
|
17197
17215
|
datetime: new Date(e.message.metadata.createdAt).toISOString(),
|
|
@@ -17199,8 +17217,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17199
17217
|
}, [I(l, {
|
|
17200
17218
|
name: "ri:time-line",
|
|
17201
17219
|
class: "shrink-0"
|
|
17202
|
-
}), F(" " + U(t.$d(new Date(e.message.metadata.createdAt), "date-time")), 1)], 8,
|
|
17203
|
-
e.message?.metadata?.completedAt && e.message?.metadata?.createdAt ? (B(), N("div",
|
|
17220
|
+
}), F(" " + U(t.$d(new Date(e.message.metadata.createdAt), "date-time")), 1)], 8, cS)) : M("", !0),
|
|
17221
|
+
e.message?.metadata?.completedAt && e.message?.metadata?.createdAt ? (B(), N("div", lS, [
|
|
17204
17222
|
I(l, {
|
|
17205
17223
|
name: "ri:hourglass-line",
|
|
17206
17224
|
class: "shrink-0"
|
|
@@ -17209,9 +17227,9 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17209
17227
|
date: e.message.metadata?.createdAt,
|
|
17210
17228
|
"end-date": e.message.metadata?.completedAt
|
|
17211
17229
|
}, null, 8, ["date", "end-date"]),
|
|
17212
|
-
e.message?.metadata?.totalProviderAttemptCount && e.message.metadata.totalProviderAttemptCount > 1 ? (B(), N("span",
|
|
17230
|
+
e.message?.metadata?.totalProviderAttemptCount && e.message.metadata.totalProviderAttemptCount > 1 ? (B(), N("span", uS, " (" + U(e.message.metadata.totalProviderAttemptCount) + " attempts) ", 1)) : M("", !0)
|
|
17213
17231
|
])) : M("", !0),
|
|
17214
|
-
e.message?.metadata?.cost && parseFloat(e.message.metadata.cost) > 0 ? (B(), N("span",
|
|
17232
|
+
e.message?.metadata?.cost && parseFloat(e.message.metadata.cost) > 0 ? (B(), N("span", dS, [I(l, {
|
|
17215
17233
|
name: "ri:wallet-line",
|
|
17216
17234
|
class: "shrink-0"
|
|
17217
17235
|
}), F(" " + U(t.$n(parseFloat(e.message.metadata.cost), "currencyUSD")), 1)])) : M("", !0)
|
|
@@ -17227,10 +17245,10 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17227
17245
|
title: t.$t("label.platformContext"),
|
|
17228
17246
|
class: "border border-surface-3 rounded"
|
|
17229
17247
|
}, {
|
|
17230
|
-
default: q(() => [P("dl",
|
|
17248
|
+
default: q(() => [P("dl", fS, [(B(!0), N(k, null, Fn(e.message.metadata?.platformContext, (e, t) => (B(), N(k, { key: t }, [P("dt", pS, U(W(me)(W(fe)(t))), 1), P("dd", {
|
|
17231
17249
|
class: "truncate font-mono col-span-2",
|
|
17232
17250
|
title: String(e)
|
|
17233
|
-
}, U(e), 9,
|
|
17251
|
+
}, U(e), 9, mS)], 64))), 128))])]),
|
|
17234
17252
|
_: 1
|
|
17235
17253
|
}, 8, ["title"])) : M("", !0),
|
|
17236
17254
|
a.value ? (B(), j(u, {
|
|
@@ -17239,10 +17257,10 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17239
17257
|
title: t.$t("label.deviceContext"),
|
|
17240
17258
|
class: "border border-surface-3 rounded"
|
|
17241
17259
|
}, {
|
|
17242
|
-
default: q(() => [P("dl",
|
|
17260
|
+
default: q(() => [P("dl", hS, [(B(!0), N(k, null, Fn(a.value, (e, t) => (B(), N(k, { key: t }, [P("dt", gS, U(W(me)(W(fe)(t))), 1), P("dd", {
|
|
17243
17261
|
class: "truncate font-mono col-span-2",
|
|
17244
17262
|
title: String(e)
|
|
17245
|
-
}, U(e), 9,
|
|
17263
|
+
}, U(e), 9, _S)], 64))), 128))])]),
|
|
17246
17264
|
_: 1
|
|
17247
17265
|
}, 8, ["title"])) : M("", !0),
|
|
17248
17266
|
o.value ? (B(), j(u, {
|
|
@@ -17251,18 +17269,18 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17251
17269
|
title: t.$t("label.externalContext"),
|
|
17252
17270
|
class: "border border-surface-3 rounded"
|
|
17253
17271
|
}, {
|
|
17254
|
-
default: q(() => [P("dl",
|
|
17272
|
+
default: q(() => [P("dl", vS, [(B(!0), N(k, null, Fn(e.message.metadata?.externalContext, (e, t) => (B(), N(k, { key: t }, [P("dt", yS, U(W(me)(W(fe)(t))), 1), P("dd", {
|
|
17255
17273
|
class: "truncate font-mono col-span-2",
|
|
17256
17274
|
title: String(e)
|
|
17257
|
-
}, U(e), 9,
|
|
17275
|
+
}, U(e), 9, bS)], 64))), 128))])]),
|
|
17258
17276
|
_: 1
|
|
17259
17277
|
}, 8, ["title"])) : M("", !0)
|
|
17260
17278
|
]),
|
|
17261
17279
|
_: 1
|
|
17262
17280
|
})) : M("", !0),
|
|
17263
|
-
P("ol",
|
|
17281
|
+
P("ol", xS, [(B(!0), N(k, null, Fn(n.value, (e, a) => (B(), N("li", { key: a }, [
|
|
17264
17282
|
P("span", { class: Dn(["text-12 text-word-2 leading-none flex items-center gap-12 bg-surface-1 rounded-t border-t border-x border-surface-3 p-8", { "border-b rounded-b": !W(le)(e) && !W(ue)(e) }]) }, [
|
|
17265
|
-
P("div",
|
|
17283
|
+
P("div", SS, [P("span", CS, [P("strong", wS, U(a + 1), 1), P("span", TS, "/" + U(n.value.length), 1)]), (W(le)(e) || W(de)(e)) && W(At)(e.state) ? (B(), j(l, {
|
|
17266
17284
|
key: 0,
|
|
17267
17285
|
name: "line-md:loading-loop",
|
|
17268
17286
|
class: "w-12 h-12 ml-4"
|
|
@@ -17271,11 +17289,11 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17271
17289
|
name: W(jt)(e) || "ri:question-line",
|
|
17272
17290
|
class: "w-12 h-12 ml-4"
|
|
17273
17291
|
}, null, 8, ["name"]))]),
|
|
17274
|
-
P("code",
|
|
17275
|
-
"toolCallId" in e && r(e.toolCallId) ? (B(), N("span",
|
|
17292
|
+
P("code", ES, U(W(pe)(e.type)), 1),
|
|
17293
|
+
"toolCallId" in e && r(e.toolCallId) ? (B(), N("span", DS, U(W(i)(r(e.toolCallId))), 1)) : M("", !0)
|
|
17276
17294
|
], 2),
|
|
17277
|
-
W(le)(e) ? (B(), N("div",
|
|
17278
|
-
P("div",
|
|
17295
|
+
W(le)(e) ? (B(), N("div", OS, [P("div", kS, [
|
|
17296
|
+
P("div", AS, U(t.$t("label.input")), 1),
|
|
17279
17297
|
I(f, {
|
|
17280
17298
|
"min-height": 128,
|
|
17281
17299
|
"fit-content": ""
|
|
@@ -17287,7 +17305,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17287
17305
|
}, null, 8, ["code"])]),
|
|
17288
17306
|
_: 2
|
|
17289
17307
|
}, 1024),
|
|
17290
|
-
e.output && e.output !== "null" ? (B(), N(k, { key: 0 }, [P("div",
|
|
17308
|
+
e.output && e.output !== "null" ? (B(), N(k, { key: 0 }, [P("div", jS, U(t.$t("label.output")), 1), I(f, {
|
|
17291
17309
|
"min-height": 128,
|
|
17292
17310
|
"fit-content": ""
|
|
17293
17311
|
}, {
|
|
@@ -17316,22 +17334,22 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17316
17334
|
]);
|
|
17317
17335
|
};
|
|
17318
17336
|
}
|
|
17319
|
-
}),
|
|
17337
|
+
}), NS = {
|
|
17320
17338
|
key: 0,
|
|
17321
17339
|
class: "border-t border-surface-3"
|
|
17322
|
-
},
|
|
17340
|
+
}, PS = { class: "flex flex-col" }, FS = ["onClick"], IS = { class: "flex items-center gap-4 shrink-0" }, LS = {
|
|
17323
17341
|
key: 0,
|
|
17324
17342
|
class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2"
|
|
17325
|
-
},
|
|
17343
|
+
}, RS = { class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2 uppercase" }, zS = {
|
|
17326
17344
|
key: 0,
|
|
17327
17345
|
class: "border-t border-surface-3"
|
|
17328
|
-
},
|
|
17346
|
+
}, BS = {
|
|
17329
17347
|
key: 0,
|
|
17330
17348
|
class: "px-8 py-4 text-10 text-word-3 bg-surface-1 border-b border-surface-3"
|
|
17331
|
-
},
|
|
17349
|
+
}, VS = ["onClick"], HS = {
|
|
17332
17350
|
key: 0,
|
|
17333
17351
|
class: "px-8 py-6 bg-surface-1 border-t border-surface-3"
|
|
17334
|
-
},
|
|
17352
|
+
}, US = { class: "flex justify-between items-center gap-4 min-w-0" }, WS = { class: "font-semibold text-12 truncate" }, GS = /* @__PURE__ */ L({
|
|
17335
17353
|
__name: "PkMessageDetail",
|
|
17336
17354
|
props: {
|
|
17337
17355
|
message: {},
|
|
@@ -17356,14 +17374,14 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17356
17374
|
};
|
|
17357
17375
|
return (s, c) => {
|
|
17358
17376
|
let l = en, u = cn, d = Zt;
|
|
17359
|
-
return B(), j(
|
|
17377
|
+
return B(), j(MS, { message: e.message }, vn({
|
|
17360
17378
|
subagent: q(({ part: t }) => [t.output?.reasoningChatId && (t.output?.subAgentId || t.input?.objective) ? (B(), j(d, {
|
|
17361
17379
|
key: 0,
|
|
17362
17380
|
title: t.output.subAgentId ? s.$t("label.subAgent") : s.$t("agent.tool.runWorker"),
|
|
17363
17381
|
modifiers: "details",
|
|
17364
17382
|
class: "border-t border-surface-3"
|
|
17365
17383
|
}, {
|
|
17366
|
-
default: q(() => [P("div",
|
|
17384
|
+
default: q(() => [P("div", US, [P("strong", WS, U(t.output.subAgentName ?? t.input?.objective), 1), I(l, {
|
|
17367
17385
|
modifiers: "action-small",
|
|
17368
17386
|
icon: "ri:eye-line",
|
|
17369
17387
|
class: "text-10 shrink-0",
|
|
@@ -17382,7 +17400,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17382
17400
|
_: 2
|
|
17383
17401
|
}, [e.canReadDocuments ? {
|
|
17384
17402
|
name: "tool-search-in-knowledge-base",
|
|
17385
|
-
fn: q(({ part: d }) => [d.output?.results?.length ? (B(), N("div",
|
|
17403
|
+
fn: q(({ part: d }) => [d.output?.results?.length ? (B(), N("div", NS, [P("ul", PS, [(B(!0), N(k, null, Fn(o(d.output.results), (o) => (B(), N("li", {
|
|
17386
17404
|
key: o.document.id,
|
|
17387
17405
|
class: "border-b border-surface-3 last:border-b-0"
|
|
17388
17406
|
}, [P("button", {
|
|
@@ -17398,9 +17416,9 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17398
17416
|
"name",
|
|
17399
17417
|
"url",
|
|
17400
17418
|
"filename"
|
|
17401
|
-
]), P("div",
|
|
17402
|
-
o.chunks.length > 1 ? (B(), N("span",
|
|
17403
|
-
P("span",
|
|
17419
|
+
]), P("div", IS, [
|
|
17420
|
+
o.chunks.length > 1 ? (B(), N("span", LS, U(o.chunks.length), 1)) : M("", !0),
|
|
17421
|
+
P("span", RS, U(o.document.language), 1),
|
|
17404
17422
|
I(l, {
|
|
17405
17423
|
modifiers: "action-quiet-small",
|
|
17406
17424
|
icon: "ri:eye-line",
|
|
@@ -17419,7 +17437,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17419
17437
|
name: t.has(o.document.id) ? "ri:arrow-up-s-line" : "ri:arrow-down-s-line",
|
|
17420
17438
|
class: "text-16 text-word-3"
|
|
17421
17439
|
}, null, 8, ["name"])
|
|
17422
|
-
])], 8,
|
|
17440
|
+
])], 8, FS), t.has(o.document.id) ? (B(), N("div", zS, [o.document.source.description ? (B(), N("div", BS, U(o.document.source.description), 1)) : M("", !0), (B(!0), N(k, null, Fn(o.chunks, (e) => (B(), N("div", {
|
|
17423
17441
|
key: e.id,
|
|
17424
17442
|
class: "border-b border-surface-3 last:border-b-0"
|
|
17425
17443
|
}, [P("button", {
|
|
@@ -17435,7 +17453,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17435
17453
|
"similarity",
|
|
17436
17454
|
"max-similarity",
|
|
17437
17455
|
"expanded"
|
|
17438
|
-
])], 8,
|
|
17456
|
+
])], 8, VS), n.has(e.id) ? (B(), N("div", HS, [I(yt, {
|
|
17439
17457
|
markdown: e.content,
|
|
17440
17458
|
class: "wysiwyg text-10"
|
|
17441
17459
|
}, null, 8, ["markdown"])])) : M("", !0)]))), 128))])) : M("", !0)]))), 128))])])) : M("", !0)]),
|
|
@@ -17443,22 +17461,22 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17443
17461
|
} : void 0]), 1032, ["message"]);
|
|
17444
17462
|
};
|
|
17445
17463
|
}
|
|
17446
|
-
}),
|
|
17464
|
+
}), KS = { class: "flex flex-col h-full bg-surface rounded-xl" }, qS = { class: "sticky z-1 top-0 bg-surface-1 flex items-center justify-between gap-sm p-sm border-b border-surface-4" }, JS = { class: "flex items-center gap-sm min-w-0" }, YS = ["title"], XS = {
|
|
17447
17465
|
key: 1,
|
|
17448
17466
|
class: "text-14 font-bold"
|
|
17449
|
-
},
|
|
17467
|
+
}, ZS = { class: "flex-1 flex flex-col gap-md p-md overflow-y-auto min-h-0" }, QS = { class: "flex flex-col" }, $S = { class: "text-12 font-medium text-word-2 mb-xs block" }, eC = ["placeholder", "disabled"], tC = { class: "flex justify-end mt-xs" }, nC = {
|
|
17450
17468
|
key: 0,
|
|
17451
17469
|
class: "flex items-start gap-sm p-md bg-danger-lighten-4 border border-danger rounded-xl text-danger-darken-2"
|
|
17452
|
-
},
|
|
17470
|
+
}, rC = { class: "font-bold" }, iC = { class: "text-12" }, aC = {
|
|
17453
17471
|
key: 1,
|
|
17454
17472
|
class: "flex items-center gap-sm p-md bg-surface-1 border border-surface-3 rounded-xl text-word-2"
|
|
17455
|
-
},
|
|
17473
|
+
}, oC = {
|
|
17456
17474
|
key: 2,
|
|
17457
17475
|
class: "flex flex-col gap-sm p-md bg-surface-1 border border-surface-3 rounded-xl"
|
|
17458
|
-
},
|
|
17476
|
+
}, sC = { class: "flex items-center gap-xs pb-xs border-b border-surface-3" }, cC = { class: "text-12 font-medium text-word-2" }, lC = { class: "flex items-center gap-xs ml-auto" }, uC = {
|
|
17459
17477
|
key: 0,
|
|
17460
17478
|
class: "py-sm text-word-2 leading-normal"
|
|
17461
|
-
},
|
|
17479
|
+
}, dC = /* @__PURE__ */ L({
|
|
17462
17480
|
__name: "PkReasoningChat",
|
|
17463
17481
|
props: {
|
|
17464
17482
|
baseUrl: {},
|
|
@@ -17494,7 +17512,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17494
17512
|
}), p = A(() => f.value?.parts.find((e) => e.type === "text")?.text || "");
|
|
17495
17513
|
return (t, r) => {
|
|
17496
17514
|
let m = en, h = cn;
|
|
17497
|
-
return B(), N("div",
|
|
17515
|
+
return B(), N("div", KS, [P("div", qS, [P("div", JS, [I(wt, {
|
|
17498
17516
|
modifiers: "surface ring shrink-0",
|
|
17499
17517
|
class: "w-24 h-24",
|
|
17500
17518
|
name: e.name
|
|
@@ -17502,16 +17520,16 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17502
17520
|
key: 0,
|
|
17503
17521
|
class: "text-14 font-bold truncate",
|
|
17504
17522
|
title: e.name
|
|
17505
|
-
}, U(e.name), 9,
|
|
17523
|
+
}, U(e.name), 9, YS)) : (B(), N("strong", XS, U(W(n)("label.reasoningAgentTester")), 1))]), d.value ? (B(), j(m, {
|
|
17506
17524
|
key: 0,
|
|
17507
17525
|
icon: "ri:reset-right-line",
|
|
17508
17526
|
modifiers: "action-quiet",
|
|
17509
17527
|
title: W(n)("action.clear"),
|
|
17510
17528
|
disabled: u.value,
|
|
17511
17529
|
onClick: l
|
|
17512
|
-
}, null, 8, ["title", "disabled"])) : M("", !0)]), P("div",
|
|
17513
|
-
P("div",
|
|
17514
|
-
P("label",
|
|
17530
|
+
}, null, 8, ["title", "disabled"])) : M("", !0)]), P("div", ZS, [
|
|
17531
|
+
P("div", QS, [
|
|
17532
|
+
P("label", $S, U(W(n)("label.question")), 1),
|
|
17515
17533
|
Gn(P("textarea", {
|
|
17516
17534
|
"onUpdate:modelValue": r[0] ||= (e) => a.value = e,
|
|
17517
17535
|
placeholder: W(n)("placeholder.enterYourQuestion"),
|
|
@@ -17519,8 +17537,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17519
17537
|
class: "w-full p-sm border border-surface-3 rounded-xl bg-surface-1 text-word-1 font-inherit text-14 resize-y min-h-60 focus:outline-none focus:border-brand disabled:opacity-60 disabled:cursor-not-allowed",
|
|
17520
17538
|
rows: "3",
|
|
17521
17539
|
onKeydown: c
|
|
17522
|
-
}, null, 40,
|
|
17523
|
-
P("div",
|
|
17540
|
+
}, null, 40, eC), [[Wn, a.value]]),
|
|
17541
|
+
P("div", tC, [I(m, {
|
|
17524
17542
|
label: W(n)("action.submit"),
|
|
17525
17543
|
loading: u.value,
|
|
17526
17544
|
disabled: !a.value.trim() || u.value,
|
|
@@ -17531,21 +17549,21 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17531
17549
|
"disabled"
|
|
17532
17550
|
])])
|
|
17533
17551
|
]),
|
|
17534
|
-
o.value.error ? (B(), N("div",
|
|
17552
|
+
o.value.error ? (B(), N("div", nC, [I(h, {
|
|
17535
17553
|
name: "ri:error-warning-line",
|
|
17536
17554
|
class: "w-16 h-16 shrink-0"
|
|
17537
|
-
}), P("div", null, [P("div",
|
|
17538
|
-
u.value && !f.value ? (B(), N("div",
|
|
17555
|
+
}), P("div", null, [P("div", rC, U(W(n)("label.error")), 1), P("div", iC, U(o.value.error.message), 1)])])) : M("", !0),
|
|
17556
|
+
u.value && !f.value ? (B(), N("div", aC, [I(h, {
|
|
17539
17557
|
name: "line-md:loading-loop",
|
|
17540
17558
|
class: "w-20 h-20"
|
|
17541
17559
|
}), P("span", null, U(W(n)("label.processing")), 1)])) : M("", !0),
|
|
17542
|
-
f.value ? (B(), N("div",
|
|
17560
|
+
f.value ? (B(), N("div", oC, [P("div", sC, [
|
|
17543
17561
|
I(h, {
|
|
17544
17562
|
name: "ri:robot-2-line",
|
|
17545
17563
|
class: "w-16 h-16"
|
|
17546
17564
|
}),
|
|
17547
|
-
P("span",
|
|
17548
|
-
P("div",
|
|
17565
|
+
P("span", cC, U(W(n)("label.answer")), 1),
|
|
17566
|
+
P("div", lC, [u.value ? (B(), j(h, {
|
|
17549
17567
|
key: 0,
|
|
17550
17568
|
name: "line-md:loading-loop",
|
|
17551
17569
|
class: "w-14 h-14"
|
|
@@ -17556,7 +17574,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17556
17574
|
modifiers: "action-quiet-small",
|
|
17557
17575
|
onClick: r[1] ||= qn((e) => i("show-info", f.value), ["stop"])
|
|
17558
17576
|
}, null, 8, ["title"])) : M("", !0)])
|
|
17559
|
-
]), p.value ? (B(), N("div",
|
|
17577
|
+
]), p.value ? (B(), N("div", uC, [I(yt, {
|
|
17560
17578
|
markdown: p.value,
|
|
17561
17579
|
loading: u.value,
|
|
17562
17580
|
class: "wysiwyg text-14"
|
|
@@ -17564,7 +17582,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17564
17582
|
])]);
|
|
17565
17583
|
};
|
|
17566
17584
|
}
|
|
17567
|
-
}),
|
|
17585
|
+
}), fC = { class: "welcome-popup__text" }, pC = ["aria-label"], mC = 100, hC = /* @__PURE__ */ L({
|
|
17568
17586
|
__name: "PkWelcomePopup",
|
|
17569
17587
|
props: {
|
|
17570
17588
|
agentId: {},
|
|
@@ -17579,7 +17597,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17579
17597
|
c.value = [], s.value = !1;
|
|
17580
17598
|
let t = e.split(/(\s+)/), n = 0;
|
|
17581
17599
|
function r() {
|
|
17582
|
-
n < t.length ? (c.value.push(t[n]), n++, l = setTimeout(r,
|
|
17600
|
+
n < t.length ? (c.value.push(t[n]), n++, l = setTimeout(r, mC)) : s.value = !0;
|
|
17583
17601
|
}
|
|
17584
17602
|
r();
|
|
17585
17603
|
}
|
|
@@ -17603,7 +17621,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17603
17621
|
key: 0,
|
|
17604
17622
|
class: "welcome-popup",
|
|
17605
17623
|
onClick: qn(m, ["stop"])
|
|
17606
|
-
}, [P("p",
|
|
17624
|
+
}, [P("p", fC, [(B(!0), N(k, null, Fn(c.value, (e, t) => (B(), N("span", {
|
|
17607
17625
|
key: t,
|
|
17608
17626
|
class: "welcome-popup__word"
|
|
17609
17627
|
}, U(e), 1))), 128))]), I(mn, null, {
|
|
@@ -17619,22 +17637,22 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17619
17637
|
width: "14",
|
|
17620
17638
|
height: "14",
|
|
17621
17639
|
fill: "currentColor"
|
|
17622
|
-
}, [P("path", { d: "M12.0007 10.5865L16.9504 5.63672L18.3646 7.05093L13.4149 12.0007L18.3646 16.9504L16.9504 18.3646L12.0007 13.4149L7.05093 18.3646L5.63672 16.9504L10.5865 12.0007L5.63672 7.05093L7.05093 5.63672L12.0007 10.5865Z" })], -1)]], 8,
|
|
17640
|
+
}, [P("path", { d: "M12.0007 10.5865L16.9504 5.63672L18.3646 7.05093L13.4149 12.0007L18.3646 16.9504L16.9504 18.3646L12.0007 13.4149L7.05093 18.3646L5.63672 16.9504L10.5865 12.0007L5.63672 7.05093L7.05093 5.63672L12.0007 10.5865Z" })], -1)]], 8, pC)) : M("", !0)]),
|
|
17623
17641
|
_: 1
|
|
17624
17642
|
})])) : M("", !0)]),
|
|
17625
17643
|
_: 1
|
|
17626
17644
|
}));
|
|
17627
17645
|
}
|
|
17628
|
-
}),
|
|
17646
|
+
}), gC = { class: "pk-pagination mt-auto grid grid-cols-3 gap-md pt-24" }, _C = { class: "flex items-center" }, vC = { class: "text-12" }, yC = ["disabled"], bC = ["value"], xC = {
|
|
17629
17647
|
key: 1,
|
|
17630
17648
|
class: "ml-8 text-12 font-semibold"
|
|
17631
|
-
},
|
|
17649
|
+
}, SC = { class: "flex justify-center items-center" }, CC = {
|
|
17632
17650
|
class: "rounded border border-surface-3 px-14 py-4 text-center text-12 font-bold",
|
|
17633
17651
|
type: "button"
|
|
17634
|
-
},
|
|
17652
|
+
}, wC = {
|
|
17635
17653
|
key: 0,
|
|
17636
17654
|
class: "ml-6 text-12 whitespace-nowrap"
|
|
17637
|
-
},
|
|
17655
|
+
}, TC = { class: "flex text-12 justify-end items-center whitespace-nowrap" }, EC = /* @__PURE__ */ L({
|
|
17638
17656
|
__name: "PkPagination",
|
|
17639
17657
|
props: {
|
|
17640
17658
|
page: {
|
|
@@ -17666,8 +17684,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17666
17684
|
});
|
|
17667
17685
|
return (t, r) => {
|
|
17668
17686
|
let l = en, u = tn;
|
|
17669
|
-
return B(), N("div",
|
|
17670
|
-
P("div",
|
|
17687
|
+
return B(), N("div", gC, [
|
|
17688
|
+
P("div", _C, [P("label", vC, U(W(n)("label.itemsPerPage")) + ":", 1), e.limitSteps ? Gn((B(), N("select", {
|
|
17671
17689
|
key: 0,
|
|
17672
17690
|
"onUpdate:modelValue": r[0] ||= (e) => c.value = e,
|
|
17673
17691
|
disabled: e.disabled,
|
|
@@ -17675,8 +17693,8 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17675
17693
|
}, [(B(!0), N(k, null, Fn(e.limitSteps, (e) => (B(), N("option", {
|
|
17676
17694
|
key: e,
|
|
17677
17695
|
value: e
|
|
17678
|
-
}, U(e), 9,
|
|
17679
|
-
P("div",
|
|
17696
|
+
}, U(e), 9, bC))), 128))], 8, yC)), [[Un, c.value]]) : (B(), N("span", xC, U(e.limit), 1))]),
|
|
17697
|
+
P("div", SC, [I(u, { class: "flex-nowrap" }, {
|
|
17680
17698
|
default: q(() => [
|
|
17681
17699
|
I(l, {
|
|
17682
17700
|
title: W(n)("action.prev"),
|
|
@@ -17685,7 +17703,7 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17685
17703
|
modifiers: "action-quiet",
|
|
17686
17704
|
onClick: r[1] ||= qn((t) => i("update:page", e.page - 1), ["stop"])
|
|
17687
17705
|
}, null, 8, ["title", "disabled"]),
|
|
17688
|
-
P("button",
|
|
17706
|
+
P("button", CC, U(e.page), 1),
|
|
17689
17707
|
I(l, {
|
|
17690
17708
|
title: W(n)("action.next"),
|
|
17691
17709
|
disabled: s.value,
|
|
@@ -17695,96 +17713,96 @@ var yy = /*#__PURE__*/ gy(_y, [["render", vy]]), by = {
|
|
|
17695
17713
|
}, null, 8, ["title", "disabled"])
|
|
17696
17714
|
]),
|
|
17697
17715
|
_: 1
|
|
17698
|
-
}), a.value ? (B(), N("small",
|
|
17699
|
-
P("div",
|
|
17716
|
+
}), a.value ? (B(), N("small", wC, U(W(n)("label.totalPages", { total: a.value })), 1)) : M("", !0)]),
|
|
17717
|
+
P("div", TC, U(W(n)("label.totalItemsCount", { total: e.total })), 1)
|
|
17700
17718
|
]);
|
|
17701
17719
|
};
|
|
17702
17720
|
}
|
|
17703
|
-
}),
|
|
17721
|
+
}), DC = { class: "flex flex-col items-center justify-center w-full text-md p-md leading-normal" }, OC = { class: "mb-4" }, kC = { class: "font-bold" }, AC = { class: "text-smaller text-word-3" }, jC = /* @__PURE__ */ L({
|
|
17704
17722
|
__name: "PkTableEmpty",
|
|
17705
17723
|
setup(e) {
|
|
17706
17724
|
let { t } = Jn({ useScope: "global" });
|
|
17707
17725
|
return (e, n) => {
|
|
17708
17726
|
let r = cn;
|
|
17709
|
-
return B(), N("div",
|
|
17710
|
-
P("div",
|
|
17727
|
+
return B(), N("div", DC, [
|
|
17728
|
+
P("div", OC, [I(r, {
|
|
17711
17729
|
name: "ri:emotion-sad-line",
|
|
17712
17730
|
class: "text-32 text-word-2"
|
|
17713
17731
|
})]),
|
|
17714
|
-
P("strong",
|
|
17715
|
-
P("div",
|
|
17732
|
+
P("strong", kC, U(W(t)("message.warning")), 1),
|
|
17733
|
+
P("div", AC, U(W(t)("message.empty")), 1)
|
|
17716
17734
|
]);
|
|
17717
17735
|
};
|
|
17718
17736
|
}
|
|
17719
|
-
}),
|
|
17737
|
+
}), MC = { class: "flex flex-col items-center justify-center w-full text-md p-md leading-normal" }, NC = { class: "mb-4" }, PC = { class: "font-bold" }, FC = { class: "text-smaller text-word-3" }, IC = /* @__PURE__ */ L({
|
|
17720
17738
|
__name: "PkTableError",
|
|
17721
17739
|
setup(e) {
|
|
17722
17740
|
let { t } = Jn({ useScope: "global" });
|
|
17723
17741
|
return (e, n) => {
|
|
17724
17742
|
let r = cn;
|
|
17725
|
-
return B(), N("div",
|
|
17726
|
-
P("div",
|
|
17743
|
+
return B(), N("div", MC, [
|
|
17744
|
+
P("div", NC, [I(r, {
|
|
17727
17745
|
name: "ri:alert-line",
|
|
17728
17746
|
class: "text-32 text-word-2"
|
|
17729
17747
|
})]),
|
|
17730
|
-
P("strong",
|
|
17731
|
-
P("div",
|
|
17748
|
+
P("strong", PC, U(W(t)("message.warning")), 1),
|
|
17749
|
+
P("div", FC, U(W(t)("message.readError")), 1)
|
|
17732
17750
|
]);
|
|
17733
17751
|
};
|
|
17734
17752
|
}
|
|
17735
17753
|
});
|
|
17736
17754
|
//#endregion
|
|
17737
17755
|
//#region ../../node_modules/.pnpm/ts-util-is@2.1.0/node_modules/ts-util-is/dist/src/index.js
|
|
17738
|
-
function
|
|
17756
|
+
function LC(e) {
|
|
17739
17757
|
return Array.isArray(e);
|
|
17740
17758
|
}
|
|
17741
|
-
function
|
|
17759
|
+
function RC(e) {
|
|
17742
17760
|
return e !== void 0;
|
|
17743
17761
|
}
|
|
17744
|
-
function
|
|
17762
|
+
function zC(e) {
|
|
17745
17763
|
return e === null;
|
|
17746
17764
|
}
|
|
17747
|
-
function
|
|
17765
|
+
function BC(e) {
|
|
17748
17766
|
return typeof e == "object";
|
|
17749
17767
|
}
|
|
17750
|
-
function
|
|
17768
|
+
function VC(e) {
|
|
17751
17769
|
return typeof e == "string";
|
|
17752
17770
|
}
|
|
17753
|
-
function
|
|
17771
|
+
function HC(e) {
|
|
17754
17772
|
return e === void 0;
|
|
17755
17773
|
}
|
|
17756
17774
|
//#endregion
|
|
17757
17775
|
//#region ../../node_modules/.pnpm/ts-dot-prop@2.1.4/node_modules/ts-dot-prop/dist/index.js
|
|
17758
|
-
var
|
|
17776
|
+
var UC = /^[0-9]+$/, WC = [
|
|
17759
17777
|
"__proto__",
|
|
17760
17778
|
"prototype",
|
|
17761
17779
|
"constructor"
|
|
17762
17780
|
];
|
|
17763
|
-
function
|
|
17764
|
-
let r =
|
|
17765
|
-
if (!
|
|
17766
|
-
let i =
|
|
17781
|
+
function GC(e, t, n) {
|
|
17782
|
+
let r = RC(n) ? n : void 0;
|
|
17783
|
+
if (!BC(e) || !VC(t)) return r;
|
|
17784
|
+
let i = KC(t);
|
|
17767
17785
|
if (i.length !== 0) {
|
|
17768
17786
|
for (let t of i) {
|
|
17769
17787
|
if (t === "*") continue;
|
|
17770
17788
|
let n = function(e) {
|
|
17771
|
-
return e.map((e) =>
|
|
17789
|
+
return e.map((e) => HC(e) || zC(e) ? e : LC(e) ? n(e) : e[t]);
|
|
17772
17790
|
};
|
|
17773
|
-
if (e =
|
|
17791
|
+
if (e = LC(e) && !UC.test(t) ? n(e) : e[t], HC(e) || zC(e)) break;
|
|
17774
17792
|
}
|
|
17775
|
-
return
|
|
17793
|
+
return HC(e) ? r : e;
|
|
17776
17794
|
}
|
|
17777
17795
|
}
|
|
17778
|
-
function
|
|
17796
|
+
function KC(e) {
|
|
17779
17797
|
let t = e.split(/[.]|(?:\[(\d|\*)\])/).filter((e) => !!e);
|
|
17780
|
-
return t.some((e) =>
|
|
17798
|
+
return t.some((e) => WC.indexOf(e) !== -1) ? [] : t;
|
|
17781
17799
|
}
|
|
17782
17800
|
//#endregion
|
|
17783
17801
|
//#region ../../packages/components/src/table/PkTableSortable.vue?vue&type=script&setup=true&lang.ts
|
|
17784
|
-
var
|
|
17802
|
+
var qC = { class: "pk-table-sortable" }, JC = { key: 0 }, YC = {
|
|
17785
17803
|
key: 0,
|
|
17786
17804
|
class: "truncate"
|
|
17787
|
-
},
|
|
17805
|
+
}, XC = ["onClick"], ZC = { key: 1 }, QC = ["colspan"], $C = { key: 2 }, ew = ["colspan"], tw = { key: 1 }, nw = { key: 2 }, rw = /* @__PURE__ */ L({
|
|
17788
17806
|
__name: "PkTableSortable",
|
|
17789
17807
|
props: {
|
|
17790
17808
|
columns: {
|
|
@@ -17908,8 +17926,8 @@ var WC = { class: "pk-table-sortable" }, GC = { key: 0 }, KC = {
|
|
|
17908
17926
|
r.page || i("update:page", s.value), r.limit || i("update:limit", o.value);
|
|
17909
17927
|
}), (t, r) => {
|
|
17910
17928
|
let i = cn;
|
|
17911
|
-
return B(), N("div",
|
|
17912
|
-
e.hideHead ? M("", !0) : (B(), N("thead",
|
|
17929
|
+
return B(), N("div", qC, [P("div", { class: Dn([e.classWrapper, "pk-table-sortable__wrapper"]) }, [P("table", { class: Dn(["vv-table", e.classTable]) }, [
|
|
17930
|
+
e.hideHead ? M("", !0) : (B(), N("thead", JC, [P("tr", null, [(B(!0), N(k, null, Fn(d.value, (e) => (B(), N("th", Tn({ key: e.name }, { ref_for: !0 }, { class: [
|
|
17913
17931
|
e.class,
|
|
17914
17932
|
e.classTh,
|
|
17915
17933
|
{ selected: W(c) === e.name }
|
|
@@ -17917,7 +17935,7 @@ var WC = { class: "pk-table-sortable" }, GC = { key: 0 }, KC = {
|
|
|
17917
17935
|
key: 1,
|
|
17918
17936
|
type: "button",
|
|
17919
17937
|
onClick: (t) => h(e.name)
|
|
17920
|
-
}, [H(t.$slots, `col::header::${e.name}`, {}, () => [F(U(e.label), 1)]), I(i, Tn({ class: { "opacity-30": W(c) !== e.name } }, { ref_for: !0 }, W(c) === e.name ? { name: W(l) === "asc" ? "ri:arrow-up-line" : "ri:arrow-down-line" } : { name: "ri:arrow-up-down-line" }), null, 16, ["class"])], 8,
|
|
17938
|
+
}, [H(t.$slots, `col::header::${e.name}`, {}, () => [F(U(e.label), 1)]), I(i, Tn({ class: { "opacity-30": W(c) !== e.name } }, { ref_for: !0 }, W(c) === e.name ? { name: W(l) === "asc" ? "ri:arrow-up-line" : "ri:arrow-down-line" } : { name: "ri:arrow-up-down-line" }), null, 16, ["class"])], 8, XC)) : (B(), N("div", YC, [H(t.$slots, `col::header::${e.name}`, {}, () => [F(U(e.label), 1)])]))], 16))), 128))])])),
|
|
17921
17939
|
I(hn, {
|
|
17922
17940
|
tag: "tbody",
|
|
17923
17941
|
name: e.transitionName
|
|
@@ -17929,7 +17947,7 @@ var WC = { class: "pk-table-sortable" }, GC = { key: 0 }, KC = {
|
|
|
17929
17947
|
})), () => [e.isLoading ? H(t.$slots, "loading", {}, () => [(B(!0), N(k, null, Fn(o.value, (e) => (B(), N("tr", { key: e }, [(B(!0), N(k, null, Fn(d.value, ({ name: n, wrapperClass: i }) => (B(), N("td", { key: n }, [H(t.$slots, `skeleton::${n}`, Tn({ ref_for: !0 }, {
|
|
17930
17948
|
index: e,
|
|
17931
17949
|
wrapperClass: i
|
|
17932
|
-
}), () => [P("div", { class: Dn(["vv-skeleton", i]) }, [...r[2] ||= [P("div", { class: "vv-skeleton__item" }, null, -1)]], 2)])]))), 128))]))), 128))], void 0, 0) : e.isError ? e.isError ? (B(), N("tr",
|
|
17950
|
+
}), () => [P("div", { class: Dn(["vv-skeleton", i]) }, [...r[2] ||= [P("div", { class: "vv-skeleton__item" }, null, -1)]], 2)])]))), 128))]))), 128))], void 0, 0) : e.isError ? e.isError ? (B(), N("tr", $C, [P("td", { colspan: e.columns.length }, [H(t.$slots, "error", {}, () => [I(IC)])], 8, ew)])) : M("", !0) : (B(), N(k, { key: 1 }, [e.data?.length ? (B(!0), N(k, { key: 0 }, Fn(e.data, (e, r) => (B(), N("tr", { key: r }, [(B(!0), N(k, null, Fn(d.value, ({ name: i, field: a, wrapperClass: o, render: s, ...c }) => (B(), N("td", {
|
|
17933
17951
|
key: i,
|
|
17934
17952
|
class: Dn([c.class, c.classTd])
|
|
17935
17953
|
}, [s ? (B(), j(Ln(s(e, r)), { key: 0 })) : W(n)[`col::${i}`] ? H(t.$slots, `col::${i}`, Tn({ ref_for: !0 }, {
|
|
@@ -17945,11 +17963,11 @@ var WC = { class: "pk-table-sortable" }, GC = { key: 0 }, KC = {
|
|
|
17945
17963
|
wrapperClass: o,
|
|
17946
17964
|
index: r,
|
|
17947
17965
|
value: e[i]
|
|
17948
|
-
}), () => [P("div", { class: Dn(["truncate", o]) }, U(W(
|
|
17966
|
+
}), () => [P("div", { class: Dn(["truncate", o]) }, U(W(GC)(e, a ?? i)), 3)], void 0, 2)], 2))), 128))]))), 128)) : (B(), N("tr", ZC, [P("td", { colspan: e.columns.length }, [H(t.$slots, "empty", {}, () => [I(jC)])], 8, QC)]))], 64))])]),
|
|
17949
17967
|
_: 3
|
|
17950
17968
|
}, 8, ["name"]),
|
|
17951
|
-
W(n).tfoot ? (B(), N("tfoot",
|
|
17952
|
-
W(n).caption ? (B(), N("caption",
|
|
17969
|
+
W(n).tfoot ? (B(), N("tfoot", tw, [H(t.$slots, "tfoot")])) : M("", !0),
|
|
17970
|
+
W(n).caption ? (B(), N("caption", nw, [H(t.$slots, "caption")])) : M("", !0)
|
|
17953
17971
|
], 2)], 2), H(t.$slots, "navigation", On(bn({
|
|
17954
17972
|
hide: e.hideNavigation,
|
|
17955
17973
|
prevDisabled: m.value,
|
|
@@ -17958,7 +17976,7 @@ var WC = { class: "pk-table-sortable" }, GC = { key: 0 }, KC = {
|
|
|
17958
17976
|
next: g,
|
|
17959
17977
|
total: u.value,
|
|
17960
17978
|
page: s.value
|
|
17961
|
-
})), () => [e.hideNavigation ? M("", !0) : (B(), j(
|
|
17979
|
+
})), () => [e.hideNavigation ? M("", !0) : (B(), j(EC, {
|
|
17962
17980
|
key: 0,
|
|
17963
17981
|
page: s.value,
|
|
17964
17982
|
total: a.value ?? 0,
|
|
@@ -17980,6 +17998,6 @@ var WC = { class: "pk-table-sortable" }, GC = { key: 0 }, KC = {
|
|
|
17980
17998
|
}
|
|
17981
17999
|
});
|
|
17982
18000
|
//#endregion
|
|
17983
|
-
export { Oy as PkAgentSelectorInline,
|
|
18001
|
+
export { Oy as PkAgentSelectorInline, Fx as PkAgentSettingsPanel, be as PkAuroraCanvas, wt as PkAvatar, mr as PkBadge, Jx as PkChatSidebar, Lx as PkChatSidebarConversationItem, It as PkChatbot, re as PkChatbotAuth, Pt as PkChatbotEmptyState, ie as PkChatbotError, Tt as PkChatbotFeedbackForm, Et as PkChatbotFilePreview, Nt as PkChatbotInput, Dt as PkChatbotMessages, Mt as PkChatbotStepToolDetail, kt as PkChatbotSteps, xe as PkChatbotViewChat, ye as PkChatbotViewConversations, Ft as PkChatbotViewProfile, Lt as PkChunkPreview, Te as PkCode, rb as PkCopyBlock, Rt as PkDocumentHeader, Or as PkEditorAgentType, n as PkEditorCheckboxButtons, Pi as PkEditorCode, Br as PkEditorDocumentType, ta as PkEditorJsonSchema, Bv as PkEditorMarkdown, Vv as PkEditorMedia, Yr as PkEditorNotificationType, qv as PkEditorPrompt, t as PkEditorRadioButtons, ty as PkEditorRepeater, oy as PkEditorWyswyg, Li as PkFieldset, sy as PkInfobox, lb as PkInputColor, cb as PkInputRange, dy as PkIntegrationProvider, Py as PkLanguageModel, Fy as PkLanguageModelCombobox, py as PkLazyImg, hy as PkLightbox, yy as PkLoader, xy as PkMedia, GS as PkMessageDetail, MS as PkMessageParts, EC as PkPagination, dC as PkReasoningChat, By as PkReasoningSettings, we as PkRelativeTime, Xx as PkRetryCountdown, Yi as PkSchemaField, Cy as PkSkeleton, yt as PkStreamingMarkdown, Ot as PkStreamingMarkdownAutoscroll, St as PkSvgViewer, jC as PkTableEmpty, IC as PkTableError, rw as PkTableSortable, Ee as PkToolShowArtifact, Gt as PkToolShowCalendarEvent, Kt as PkToolShowComparison, Wt as PkToolShowContactForm, Bt as PkToolShowEmail, r as PkToolShowForm, Yt as PkToolShowImageGallery, qt as PkToolShowLocation, Vt as PkToolShowMessage, Ut as PkToolShowProductList, Jt as PkToolShowQrCode, zt as PkToolShowSources, Xt as PkToolShowSuggestedReply, Ht as PkToolShowWebPages, Ct as PkUrl, Wy as PkWebSearchSettings, hC as PkWelcomePopup };
|
|
17984
18002
|
|
|
17985
18003
|
//# sourceMappingURL=index.js.map
|