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