@8wave/ai-elements 0.114.0-beta.28 → 0.114.0-beta.43
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/{PkToolShowSources-Sc1W6WHe.js → PkToolShowSources-Bfx-Th_j.js} +2 -2
- package/dist/_chunks/{PkToolShowSources-Sc1W6WHe.js.map → PkToolShowSources-Bfx-Th_j.js.map} +1 -1
- package/dist/_chunks/{markdown-BrvkrEUr.js → markdown-BL7WANiX.js} +10 -3
- package/dist/_chunks/markdown-BL7WANiX.js.map +1 -0
- package/dist/ai-elements.es.js +138 -28
- 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/PkChatbotViewFiles.js +1 -1
- package/dist-vue/_chunks/{Document-p2Y_4gk8.js → Document-nCWwJC2h.js} +10 -3
- package/dist-vue/_chunks/Document-nCWwJC2h.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-Dn_6yrFw.js → PkChatbot-CXQzBuxy.js} +3 -3
- package/dist-vue/_chunks/{PkChatbot-Dn_6yrFw.js.map → PkChatbot-CXQzBuxy.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-Yaf_5xJV.js → PkChatbotMessages-KH5RE8Dk.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotMessages-Yaf_5xJV.js.map → PkChatbotMessages-KH5RE8Dk.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-DFYw4nzP.js → PkChatbotViewChat-D5sfTMCW.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewChat-DFYw4nzP.js.map → PkChatbotViewChat-D5sfTMCW.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-BBBO5hyd.js → PkChatbotViewFiles-Bk9-K6Hw.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewFiles-BBBO5hyd.js.map → PkChatbotViewFiles-Bk9-K6Hw.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-WyUnnDUn.js → PkToolShowDiagram-CztnTdq2.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-WyUnnDUn.js.map → PkToolShowDiagram-CztnTdq2.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-BItTltB5.js → PkToolShowSources-CyR2GTiE.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSources-BItTltB5.js.map → PkToolShowSources-CyR2GTiE.js.map} +1 -1
- package/dist-vue/composables.js +134 -24
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +379 -377
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/packages/auth/src/add-member-to-organization.d.ts +8 -2
- package/dist-vue/packages/auth/src/organization-member-limit.d.ts +12 -0
- package/dist-vue/packages/auth/src/two-factor-admin-plugin.d.ts +2 -0
- package/dist-vue/packages/auth/src/two-factor-policy-client-plugin.d.ts +105 -2
- package/dist-vue/packages/auth/src/two-factor-policy-plugin.d.ts +43 -2
- package/dist-vue/packages/models/src/schema/Document.d.ts +17 -0
- package/dist-vue/packages/models/src/schema/DocumentFolder.d.ts +10 -0
- package/dist-vue/packages/models/src/schema/DocumentSyncSource.d.ts +71 -1
- package/dist-vue/packages/models/src/schema/Lead.d.ts +1 -1
- package/dist-vue/packages/models/src/schema/Member.d.ts +7 -0
- package/dist-vue/packages/models/src/schema/Notification.d.ts +29 -0
- package/dist-vue/packages/models/src/schema/Organization.d.ts +19 -0
- package/dist-vue/packages/models/src/schema/SignInSecurity.d.ts +168 -0
- package/dist-vue/packages/models/src/schema/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/_chunks/markdown-BrvkrEUr.js.map +0 -1
- package/dist-vue/_chunks/Document-p2Y_4gk8.js.map +0 -1
package/dist-vue/index.js
CHANGED
|
@@ -3,18 +3,18 @@ import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-C9N_SSm8.js";
|
|
|
3
3
|
import { C as i, S as a, _ as o, a as s, b as c, d as l, g as u, l as d, n as f, o as p, p as m, w as h, y as g } from "./_chunks/schemas-DxbHVg3r.js";
|
|
4
4
|
import { i as _, r as v } from "./_chunks/Media-_HfFLHGD.js";
|
|
5
5
|
import { C as y, E as ee, M as b, S as x, T as S, _ as C, d as w, g as te, i as ne, m as re, n as T, o as ie, p as ae, r as oe, t as se, u as ce, v as le, w as ue, x as de, y as fe } from "./_chunks/Agent-tbKw8Mdt.js";
|
|
6
|
-
import { c as pe, d as me, l as he, r as ge, s as _e, t as ve, u as ye } from "./_chunks/Document-
|
|
6
|
+
import { c as pe, d as me, l as he, r as ge, s as _e, t as ve, u as ye } from "./_chunks/Document-nCWwJC2h.js";
|
|
7
7
|
import { a as be, i as xe, n as Se } from "./_chunks/createChatbotApiClient-BlWs282E.js";
|
|
8
8
|
import { t as Ce } from "./_chunks/PkChatbotAuth-jzoNJkmH.js";
|
|
9
9
|
import { t as we } from "./_chunks/PkStreamingMarkdown-BN7waklD.js";
|
|
10
10
|
import { a as Te, i as Ee, n as De, r as Oe } from "./_chunks/useChatbotStore-CMo47fnS.js";
|
|
11
11
|
import "./_chunks/src-DT8FLE4_.js";
|
|
12
12
|
import { c as ke, i as Ae, s as je } from "./_chunks/message-RohfrdWS.js";
|
|
13
|
-
import { i as Me, n as Ne, r as Pe, t as Fe } from "./_chunks/PkChatbotMessages-
|
|
13
|
+
import { i as Me, n as Ne, r as Pe, t as Fe } from "./_chunks/PkChatbotMessages-KH5RE8Dk.js";
|
|
14
14
|
import { t as Ie } from "./_chunks/useSafeLocalStorage-Ce3S1Ayn.js";
|
|
15
15
|
import { t as Le } from "./_chunks/useDialogConfirm-KWz0ohCQ.js";
|
|
16
16
|
import { n as Re, r as ze, t as Be } from "./_chunks/PkChatbotViewConversations-CHpN4vhm.js";
|
|
17
|
-
import { i as Ve, n as He, r as Ue, t as We } from "./_chunks/PkChatbotViewChat-
|
|
17
|
+
import { i as Ve, n as He, r as Ue, t as We } from "./_chunks/PkChatbotViewChat-D5sfTMCW.js";
|
|
18
18
|
import { t as Ge } from "./_chunks/PkChatbotError-CuX9C_b9.js";
|
|
19
19
|
import { t as Ke } from "./_chunks/useImageFallback-5vQIO0pC.js";
|
|
20
20
|
import { t as qe } from "./_chunks/useLocalizedString-PfaKjIQY.js";
|
|
@@ -36,8 +36,8 @@ import { t as xn } from "./_chunks/PkChatbotStepToolDetail-CBX-AQXv.js";
|
|
|
36
36
|
import { n as Sn, t as Cn } from "./_chunks/PkChatbotInput-BzaCyeFp.js";
|
|
37
37
|
import { t as wn } from "./_chunks/PkChatbotEmptyState-9mWiPd4B.js";
|
|
38
38
|
import { t as Tn } from "./_chunks/PkChatbotViewProfile-CosaHA-g.js";
|
|
39
|
-
import { t as En } from "./_chunks/PkChatbot-
|
|
40
|
-
import { i as Dn, r as On, t as kn } from "./_chunks/PkToolShowSources-
|
|
39
|
+
import { t as En } from "./_chunks/PkChatbot-CXQzBuxy.js";
|
|
40
|
+
import { i as Dn, r as On, t as kn } from "./_chunks/PkToolShowSources-CyR2GTiE.js";
|
|
41
41
|
import { t as An } from "./_chunks/PkToolShowEmail-C30K5kJA.js";
|
|
42
42
|
import { t as jn } from "./_chunks/PkToolShowMessage-DvkCRERv.js";
|
|
43
43
|
import { t as Mn } from "./_chunks/PkToolShowWebPages-CkQ2NhRj.js";
|
|
@@ -212,6 +212,8 @@ var Ei = (e) => !e.disabled && !e.retired, Di = {
|
|
|
212
212
|
PasswordResetRequested: "password_reset_requested",
|
|
213
213
|
TwoFactor: "two_factor",
|
|
214
214
|
DocumentSyncRemoved: "document_sync_removed",
|
|
215
|
+
WebSourcePagesRemoved: "web_source_pages_removed",
|
|
216
|
+
WebSourceRemovalHeld: "web_source_removal_held",
|
|
215
217
|
ChatWarning: "chat_warning",
|
|
216
218
|
ChatBlocked: "chat_blocked",
|
|
217
219
|
Generic: "generic"
|
|
@@ -464,7 +466,7 @@ var Ui = { class: "flex items-center gap-4 mb-4" }, Wi = { class: "font-semibold
|
|
|
464
466
|
}
|
|
465
467
|
});
|
|
466
468
|
//#endregion
|
|
467
|
-
//#region virtual:intlify-i18n-
|
|
469
|
+
//#region virtual:intlify-i18n-2
|
|
468
470
|
function Xi(e) {
|
|
469
471
|
let t = e;
|
|
470
472
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -573,7 +575,7 @@ var Zi = Yi, Qi = { class: "flex items-center gap-4 mb-4" }, $i = { class: "font
|
|
|
573
575
|
}
|
|
574
576
|
});
|
|
575
577
|
//#endregion
|
|
576
|
-
//#region virtual:intlify-i18n-
|
|
578
|
+
//#region virtual:intlify-i18n-3
|
|
577
579
|
function ca(e) {
|
|
578
580
|
let t = e;
|
|
579
581
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -680,7 +682,7 @@ var la = sa, ua = { class: "flex items-center gap-4 mb-4" }, da = { class: "font
|
|
|
680
682
|
}
|
|
681
683
|
});
|
|
682
684
|
//#endregion
|
|
683
|
-
//#region virtual:intlify-i18n-
|
|
685
|
+
//#region virtual:intlify-i18n-0
|
|
684
686
|
function _a(e) {
|
|
685
687
|
let t = e;
|
|
686
688
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -16102,32 +16104,32 @@ var CS = { class: "pk-editor-markdown" }, wS = {
|
|
|
16102
16104
|
[Mi.HubSpot]: "mdi:hubspot",
|
|
16103
16105
|
[Mi.Salesforce]: "mdi:salesforce",
|
|
16104
16106
|
[Mi.SharePoint]: "mdi:microsoft-sharepoint"
|
|
16105
|
-
}, eC = "mdi:puzzle-outline";
|
|
16106
|
-
function
|
|
16107
|
-
return e ? $S[e] ?? eC :
|
|
16107
|
+
}, eC = { web: "ri:global-line" }, tC = "mdi:puzzle-outline";
|
|
16108
|
+
function nC(e) {
|
|
16109
|
+
return e ? $S[e] ?? eC[e] ?? tC : tC;
|
|
16108
16110
|
}
|
|
16109
16111
|
//#endregion
|
|
16110
16112
|
//#region ../../packages/components/src/PkIntegrationProvider.vue?vue&type=script&setup=true&lang.ts
|
|
16111
|
-
var
|
|
16113
|
+
var rC = { class: "flex gap-sm items-center min-w-0" }, iC = { class: "w-40 h-40 shrink-0 rounded-lg border border-surface-3 bg-surface-1 flex items-center justify-center text-18" }, aC = { class: "truncate" }, oC = /* @__PURE__ */ L({
|
|
16112
16114
|
__name: "PkIntegrationProvider",
|
|
16113
16115
|
props: { provider: {} },
|
|
16114
16116
|
setup(e) {
|
|
16115
|
-
let t = e, { t: n, te: r } = Vr({ useScope: "global" }), i = A(() => r(`integrationProvider.${t.provider}`) ? n(`integrationProvider.${t.provider}`) : t.provider), a = A(() =>
|
|
16117
|
+
let t = e, { t: n, te: r } = Vr({ useScope: "global" }), i = A(() => r(`integrationProvider.${t.provider}`) ? n(`integrationProvider.${t.provider}`) : t.provider), a = A(() => nC(t.provider));
|
|
16116
16118
|
return (e, t) => {
|
|
16117
16119
|
let n = $n;
|
|
16118
|
-
return z(), N("div",
|
|
16120
|
+
return z(), N("div", rC, [P("span", iC, [I(n, {
|
|
16119
16121
|
name: a.value,
|
|
16120
16122
|
title: i.value
|
|
16121
|
-
}, null, 8, ["name", "title"])]), P("span",
|
|
16123
|
+
}, null, 8, ["name", "title"])]), P("span", aC, H(i.value), 1)]);
|
|
16122
16124
|
};
|
|
16123
16125
|
}
|
|
16124
|
-
}),
|
|
16126
|
+
}), sC = [
|
|
16125
16127
|
"href",
|
|
16126
16128
|
"data-pswp-src",
|
|
16127
16129
|
"data-pswp-width",
|
|
16128
16130
|
"data-pswp-height",
|
|
16129
16131
|
"data-pswp-caption"
|
|
16130
|
-
],
|
|
16132
|
+
], cC = /* @__PURE__ */ L({
|
|
16131
16133
|
__name: "PkLightbox",
|
|
16132
16134
|
props: {
|
|
16133
16135
|
images: {},
|
|
@@ -16170,23 +16172,23 @@ var nC = { class: "flex gap-sm items-center min-w-0" }, rC = { class: "w-40 h-40
|
|
|
16170
16172
|
hidden: "",
|
|
16171
16173
|
target: "_blank",
|
|
16172
16174
|
rel: "noopener noreferrer"
|
|
16173
|
-
}, null, 8,
|
|
16175
|
+
}, null, 8, sC))), 128)), V(t.$slots, "default", { open: c })], 512));
|
|
16174
16176
|
}
|
|
16175
|
-
}),
|
|
16177
|
+
}), lC = (e, t) => {
|
|
16176
16178
|
let n = e.__vccOpts || e;
|
|
16177
16179
|
for (let [e, r] of t) n[e] = r;
|
|
16178
16180
|
return n;
|
|
16179
|
-
},
|
|
16180
|
-
function
|
|
16181
|
+
}, uC = {};
|
|
16182
|
+
function dC(e, t) {
|
|
16181
16183
|
return z(), N("div", null, [...t[0] ||= [P("div", {
|
|
16182
16184
|
"aria-hidden": "true",
|
|
16183
16185
|
class: "pk-loader"
|
|
16184
16186
|
}, null, -1)]]);
|
|
16185
16187
|
}
|
|
16186
|
-
var
|
|
16188
|
+
var fC = /*#__PURE__*/ lC(uC, [["render", dC]]), pC = {
|
|
16187
16189
|
key: 2,
|
|
16188
16190
|
class: "absolute inset-0 vv-skeleton__item z-1 h-auto"
|
|
16189
|
-
},
|
|
16191
|
+
}, mC = /* @__PURE__ */ L({
|
|
16190
16192
|
__name: "PkMedia",
|
|
16191
16193
|
props: {
|
|
16192
16194
|
media: {},
|
|
@@ -16238,16 +16240,16 @@ var dC = /*#__PURE__*/ cC(lC, [["render", uC]]), fC = {
|
|
|
16238
16240
|
width: `${e.width}px`,
|
|
16239
16241
|
height: `${e.height}px`
|
|
16240
16242
|
})
|
|
16241
|
-
}, [I(r, { name: a.value }, null, 8, ["name"])], 4)), i.value ? (z(), N("div",
|
|
16243
|
+
}, [I(r, { name: a.value }, null, 8, ["name"])], 4)), i.value ? (z(), N("div", pC)) : M("", !0)], 2);
|
|
16242
16244
|
};
|
|
16243
16245
|
}
|
|
16244
|
-
}),
|
|
16246
|
+
}), hC = ["aria-labelledby", "aria-describedby"], gC = {
|
|
16245
16247
|
class: "pk-offline-screen__badge",
|
|
16246
16248
|
"aria-hidden": "true"
|
|
16247
|
-
},
|
|
16249
|
+
}, _C = ["id"], vC = ["id"], yC = { class: "pk-offline-screen__actions" }, bC = {
|
|
16248
16250
|
class: "pk-offline-screen__status",
|
|
16249
16251
|
"aria-live": "polite"
|
|
16250
|
-
},
|
|
16252
|
+
}, xC = /*@__PURE__*/ L({
|
|
16251
16253
|
__name: "PkOfflineScreen",
|
|
16252
16254
|
props: {
|
|
16253
16255
|
offline: { type: Boolean },
|
|
@@ -16275,17 +16277,17 @@ var dC = /*#__PURE__*/ cC(lC, [["render", uC]]), fC = {
|
|
|
16275
16277
|
ref: s,
|
|
16276
16278
|
class: "pk-offline-screen__panel"
|
|
16277
16279
|
}, [
|
|
16278
|
-
P("span",
|
|
16280
|
+
P("span", gC, [I(c, { name: "wifi-off" })]),
|
|
16279
16281
|
P("h1", {
|
|
16280
16282
|
id: U(a),
|
|
16281
16283
|
class: "vv-text vv-text--headline vv-text--size-1 pk-offline-screen__title"
|
|
16282
|
-
}, H(U(i)("title")), 9,
|
|
16284
|
+
}, H(U(i)("title")), 9, _C),
|
|
16283
16285
|
P("p", {
|
|
16284
16286
|
id: U(o),
|
|
16285
16287
|
class: "pk-offline-screen__text"
|
|
16286
|
-
}, H(U(i)("text")), 9,
|
|
16288
|
+
}, H(U(i)("text")), 9, vC),
|
|
16287
16289
|
n[2] ||= P("hr", { class: "pk-offline-screen__divider" }, null, -1),
|
|
16288
|
-
P("div",
|
|
16290
|
+
P("div", yC, [I(l, {
|
|
16289
16291
|
modifiers: "primary",
|
|
16290
16292
|
icon: "reload",
|
|
16291
16293
|
label: t.$t("action.retry"),
|
|
@@ -16296,19 +16298,19 @@ var dC = /*#__PURE__*/ cC(lC, [["render", uC]]), fC = {
|
|
|
16296
16298
|
"label",
|
|
16297
16299
|
"loading",
|
|
16298
16300
|
"disabled"
|
|
16299
|
-
]), P("p",
|
|
16301
|
+
]), P("p", bC, [n[1] ||= P("span", {
|
|
16300
16302
|
class: "pk-offline-screen__pulse",
|
|
16301
16303
|
"aria-hidden": "true"
|
|
16302
16304
|
}, null, -1), F(" " + H(e.checking ? U(i)("statusChecking") : U(i)("statusIdle")), 1)])])
|
|
16303
|
-
], 512)], 8,
|
|
16305
|
+
], 512)], 8, hC)) : M("", !0)]),
|
|
16304
16306
|
_: 1
|
|
16305
16307
|
});
|
|
16306
16308
|
};
|
|
16307
16309
|
}
|
|
16308
16310
|
});
|
|
16309
16311
|
//#endregion
|
|
16310
|
-
//#region virtual:intlify-i18n-
|
|
16311
|
-
function
|
|
16312
|
+
//#region virtual:intlify-i18n-1
|
|
16313
|
+
function SC(e) {
|
|
16312
16314
|
let t = e;
|
|
16313
16315
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
16314
16316
|
locale: "",
|
|
@@ -16386,8 +16388,8 @@ function xC(e) {
|
|
|
16386
16388
|
}
|
|
16387
16389
|
//#endregion
|
|
16388
16390
|
//#region ../../packages/components/src/PkOfflineScreen.vue
|
|
16389
|
-
typeof
|
|
16390
|
-
var
|
|
16391
|
+
typeof SC == "function" && SC(xC);
|
|
16392
|
+
var CC = xC, wC = { class: "block text-smaller mt-4" }, TC = { class: "block text-smaller mt-4" }, EC = "pwa-install-dismissed", DC = 5e3, OC = /*@__PURE__*/ L({
|
|
16391
16393
|
__name: "PkPwaNotices",
|
|
16392
16394
|
props: {
|
|
16393
16395
|
updateAvailable: { type: Boolean },
|
|
@@ -16395,7 +16397,7 @@ var SC = bC, CC = { class: "block text-smaller mt-4" }, wC = { class: "block tex
|
|
|
16395
16397
|
},
|
|
16396
16398
|
emits: ["update", "dismissUpdate"],
|
|
16397
16399
|
setup(e, { emit: t }) {
|
|
16398
|
-
let n = t, { t: r } = Vr(), { t: i } = Vr({ useScope: "global" }), a = Ie(
|
|
16400
|
+
let n = t, { t: r } = Vr(), { t: i } = Vr({ useScope: "global" }), a = Ie(EC, !1), o = B(), s = B(!1), c = () => window.matchMedia("(display-mode: standalone)").matches || window.navigator.standalone === !0, l = () => {
|
|
16399
16401
|
let e = window.navigator.userAgent;
|
|
16400
16402
|
return (/iphone|ipad|ipod/i.test(e) || /macintosh/i.test(e) && window.navigator.maxTouchPoints > 1) && !/crios|fxios|edgios/i.test(e);
|
|
16401
16403
|
}, u = B(!1), d, f = A(() => !a.value && (!!o.value || u.value)), p = (e) => {
|
|
@@ -16406,7 +16408,7 @@ var SC = bC, CC = { class: "block text-smaller mt-4" }, wC = { class: "block tex
|
|
|
16406
16408
|
Cr(() => {
|
|
16407
16409
|
c() || (window.addEventListener("beforeinstallprompt", p), window.addEventListener("appinstalled", m), l() && (d = setTimeout(() => {
|
|
16408
16410
|
u.value = !0;
|
|
16409
|
-
},
|
|
16411
|
+
}, DC)));
|
|
16410
16412
|
}), Sr(() => {
|
|
16411
16413
|
window.removeEventListener("beforeinstallprompt", p), window.removeEventListener("appinstalled", m), clearTimeout(d);
|
|
16412
16414
|
});
|
|
@@ -16459,7 +16461,7 @@ var SC = bC, CC = { class: "block text-smaller mt-4" }, wC = { class: "block tex
|
|
|
16459
16461
|
}, null, 8, ["label", "disabled"])]),
|
|
16460
16462
|
_: 1
|
|
16461
16463
|
})]),
|
|
16462
|
-
default: K(() => [F(H(U(r)("installText")) + " ", 1), P("small",
|
|
16464
|
+
default: K(() => [F(H(U(r)("installText")) + " ", 1), P("small", wC, H(u.value ? U(r)("installHintIos") : U(r)("installHint")), 1)]),
|
|
16463
16465
|
_: 1
|
|
16464
16466
|
})) : M("", !0), e.updateAvailable ? (z(), j(l, {
|
|
16465
16467
|
key: "update",
|
|
@@ -16485,7 +16487,7 @@ var SC = bC, CC = { class: "block text-smaller mt-4" }, wC = { class: "block tex
|
|
|
16485
16487
|
}, null, 8, ["label", "disabled"])]),
|
|
16486
16488
|
_: 1
|
|
16487
16489
|
})]),
|
|
16488
|
-
default: K(() => [F(H(U(r)("updateText")) + " ", 1), P("small",
|
|
16490
|
+
default: K(() => [F(H(U(r)("updateText")) + " ", 1), P("small", TC, H(U(r)("updateInfo")), 1)]),
|
|
16489
16491
|
_: 1
|
|
16490
16492
|
})) : M("", !0)]),
|
|
16491
16493
|
_: 1
|
|
@@ -16495,7 +16497,7 @@ var SC = bC, CC = { class: "block text-smaller mt-4" }, wC = { class: "block tex
|
|
|
16495
16497
|
});
|
|
16496
16498
|
//#endregion
|
|
16497
16499
|
//#region virtual:intlify-i18n-4
|
|
16498
|
-
function
|
|
16500
|
+
function kC(e) {
|
|
16499
16501
|
let t = e;
|
|
16500
16502
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
16501
16503
|
locale: "",
|
|
@@ -16605,8 +16607,8 @@ function OC(e) {
|
|
|
16605
16607
|
}
|
|
16606
16608
|
//#endregion
|
|
16607
16609
|
//#region ../../packages/components/src/PkPwaNotices.vue
|
|
16608
|
-
typeof
|
|
16609
|
-
var
|
|
16610
|
+
typeof kC == "function" && kC(OC);
|
|
16611
|
+
var AC = OC, jC = ["aria-label", "innerHTML"], MC = /* @__PURE__ */ L({
|
|
16610
16612
|
__name: "PkQrCode",
|
|
16611
16613
|
props: {
|
|
16612
16614
|
value: {},
|
|
@@ -16629,12 +16631,12 @@ var kC = DC, AC = ["aria-label", "innerHTML"], jC = /* @__PURE__ */ L({
|
|
|
16629
16631
|
role: "img",
|
|
16630
16632
|
"aria-label": e.label,
|
|
16631
16633
|
innerHTML: n.value
|
|
16632
|
-
}, null, 8,
|
|
16634
|
+
}, null, 8, jC));
|
|
16633
16635
|
}
|
|
16634
|
-
}),
|
|
16636
|
+
}), NC = {
|
|
16635
16637
|
key: 0,
|
|
16636
16638
|
class: "vv-skeleton"
|
|
16637
|
-
},
|
|
16639
|
+
}, PC = /* @__PURE__ */ L({
|
|
16638
16640
|
inheritAttrs: !1,
|
|
16639
16641
|
__name: "PkSkeleton",
|
|
16640
16642
|
props: {
|
|
@@ -16647,35 +16649,35 @@ var kC = DC, AC = ["aria-label", "innerHTML"], jC = /* @__PURE__ */ L({
|
|
|
16647
16649
|
},
|
|
16648
16650
|
setup(e) {
|
|
16649
16651
|
return (t, n) => (z(), j(or, { mode: "out-in" }, {
|
|
16650
|
-
default: K(() => [e.loading ? (z(), N("div",
|
|
16652
|
+
default: K(() => [e.loading ? (z(), N("div", NC, [V(t.$slots, "skeleton", {}, () => [(z(!0), N(k, null, Or(typeof e.rows == "string" ? parseInt(e.rows) : e.rows, (n) => (z(), N("div", {
|
|
16651
16653
|
key: n,
|
|
16652
16654
|
class: yr(["vv-skeleton__item", e.rowClasses?.[n - 1] ? e.rowClasses[n - 1] : t.$attrs.class])
|
|
16653
16655
|
}, null, 2))), 128))])])) : V(t.$slots, "default", {}, void 0, void 0, 1)]),
|
|
16654
16656
|
_: 3
|
|
16655
16657
|
}));
|
|
16656
16658
|
}
|
|
16657
|
-
}),
|
|
16659
|
+
}), FC = {
|
|
16658
16660
|
active: "ri:play-line",
|
|
16659
16661
|
inactive: "ri:pause-line",
|
|
16660
16662
|
draft: "ri:edit-line",
|
|
16661
16663
|
error: "ri:error-warning-line"
|
|
16662
|
-
},
|
|
16664
|
+
}, IC = {
|
|
16663
16665
|
public: "ri:global-line",
|
|
16664
16666
|
organization: "ri:building-line",
|
|
16665
16667
|
private: "ri:lock-line"
|
|
16666
16668
|
};
|
|
16667
|
-
function IC(e) {
|
|
16668
|
-
return PC[e ?? ""] ?? "ri:pause-line";
|
|
16669
|
-
}
|
|
16670
16669
|
function LC(e) {
|
|
16671
|
-
return FC[e ?? ""] ?? "ri:
|
|
16670
|
+
return FC[e ?? ""] ?? "ri:pause-line";
|
|
16671
|
+
}
|
|
16672
|
+
function RC(e) {
|
|
16673
|
+
return IC[e ?? ""] ?? "ri:building-line";
|
|
16672
16674
|
}
|
|
16673
16675
|
//#endregion
|
|
16674
16676
|
//#region ../../packages/components/src/chat/PkAgentSelectorInline.vue?vue&type=script&setup=true&lang.ts
|
|
16675
|
-
var
|
|
16677
|
+
var zC = { class: "flex items-center gap-xs min-w-0" }, BC = { class: "truncate" }, VC = {
|
|
16676
16678
|
key: 0,
|
|
16677
16679
|
class: "flex items-center gap-xs min-w-0"
|
|
16678
|
-
},
|
|
16680
|
+
}, HC = { class: "text-word truncate" }, UC = /* @__PURE__ */ L({
|
|
16679
16681
|
__name: "PkAgentSelectorInline",
|
|
16680
16682
|
props: /*@__PURE__*/ gr({ agents: {} }, {
|
|
16681
16683
|
modelValue: { default: void 0 },
|
|
@@ -16703,16 +16705,16 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16703
16705
|
"dropdown-modifiers": "menu mobile",
|
|
16704
16706
|
offset: "2"
|
|
16705
16707
|
}, {
|
|
16706
|
-
option: K(({ option: e }) => [P("span",
|
|
16708
|
+
option: K(({ option: e }) => [P("span", zC, [I(gn, {
|
|
16707
16709
|
modifiers: "surface ring",
|
|
16708
16710
|
"img-src": e.interface?.logo,
|
|
16709
16711
|
name: e.name
|
|
16710
|
-
}, null, 8, ["img-src", "name"]), P("span",
|
|
16711
|
-
value: K(({ selectedOptions: e }) => [e.length ? (z(), N("span",
|
|
16712
|
+
}, null, 8, ["img-src", "name"]), P("span", BC, H(e.name), 1)])]),
|
|
16713
|
+
value: K(({ selectedOptions: e }) => [e.length ? (z(), N("span", VC, [I(gn, {
|
|
16712
16714
|
modifiers: "surface ring",
|
|
16713
16715
|
"img-src": e[0].interface?.logo,
|
|
16714
16716
|
name: e[0].name
|
|
16715
|
-
}, null, 8, ["img-src", "name"]), P("span",
|
|
16717
|
+
}, null, 8, ["img-src", "name"]), P("span", HC, H(e[0].name), 1)])) : M("", !0)]),
|
|
16716
16718
|
_: 1
|
|
16717
16719
|
}, 8, [
|
|
16718
16720
|
"modelValue",
|
|
@@ -16722,7 +16724,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16722
16724
|
]);
|
|
16723
16725
|
};
|
|
16724
16726
|
}
|
|
16725
|
-
}),
|
|
16727
|
+
}), WC = he, GC = .6, KC = ne.parse({}), qC = /* @__PURE__ */ L({
|
|
16726
16728
|
__name: "PkToolApprovalBadge",
|
|
16727
16729
|
setup(e) {
|
|
16728
16730
|
let { t } = Vr({ useScope: "global" });
|
|
@@ -16740,16 +16742,16 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16740
16742
|
});
|
|
16741
16743
|
};
|
|
16742
16744
|
}
|
|
16743
|
-
}),
|
|
16744
|
-
let e = R(
|
|
16745
|
+
}), JC = Symbol("modelCatalog"), YC = (e) => Tr(JC, e), XC = () => {
|
|
16746
|
+
let e = R(JC, void 0);
|
|
16745
16747
|
return (t) => t ? e?.value?.find((e) => e.id === t) : void 0;
|
|
16746
|
-
},
|
|
16747
|
-
let e = R(
|
|
16748
|
+
}, ZC = () => {
|
|
16749
|
+
let e = R(JC, void 0);
|
|
16748
16750
|
return A(() => e?.value !== void 0);
|
|
16749
|
-
},
|
|
16751
|
+
}, QC = (e) => me(e) ? {
|
|
16750
16752
|
label: "label.modelNotAvailable",
|
|
16751
16753
|
hint: "hint.modelNotOnEndpoint"
|
|
16752
|
-
} : void 0,
|
|
16754
|
+
} : void 0, $C = (e) => {
|
|
16753
16755
|
if (e) {
|
|
16754
16756
|
if (e.retired) return {
|
|
16755
16757
|
label: "label.retired",
|
|
@@ -16764,7 +16766,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16764
16766
|
hint: "hint.modelDisabledForOrganization"
|
|
16765
16767
|
};
|
|
16766
16768
|
}
|
|
16767
|
-
},
|
|
16769
|
+
}, ew = { class: "flex gap-6 items-center" }, tw = { class: "flex items-baseline gap-6 min-w-0" }, nw = ["title"], rw = ["title"], iw = /* @__PURE__ */ L({
|
|
16768
16770
|
__name: "PkLanguageModel",
|
|
16769
16771
|
props: {
|
|
16770
16772
|
modelName: {},
|
|
@@ -16775,7 +16777,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16775
16777
|
showSource: { type: Boolean }
|
|
16776
16778
|
},
|
|
16777
16779
|
setup(e) {
|
|
16778
|
-
let t = e, { t: n } = Vr({ useScope: "global" }), r =
|
|
16780
|
+
let t = e, { t: n } = Vr({ useScope: "global" }), r = XC(), i = ZC(), a = A(() => r(t.modelName)), o = A(() => {
|
|
16779
16781
|
let e = t.modelName;
|
|
16780
16782
|
if (!e) return;
|
|
16781
16783
|
let n = e.indexOf("/");
|
|
@@ -16798,11 +16800,11 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16798
16800
|
hint: n("hint.modelSourcePlatform")
|
|
16799
16801
|
} : void 0;
|
|
16800
16802
|
}), f = A(() => {
|
|
16801
|
-
if (!t.historical) return a.value ?
|
|
16803
|
+
if (!t.historical) return a.value ? $C(a.value) : i.value ? QC(t.modelName) : void 0;
|
|
16802
16804
|
});
|
|
16803
16805
|
return (t, r) => {
|
|
16804
16806
|
let i = $n;
|
|
16805
|
-
return z(), N("div",
|
|
16807
|
+
return z(), N("div", ew, [I(i, {
|
|
16806
16808
|
name: u.value,
|
|
16807
16809
|
prefix: l.value,
|
|
16808
16810
|
class: yr(["shrink-0", { "text-word-4": f.value }]),
|
|
@@ -16812,40 +16814,40 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16812
16814
|
"prefix",
|
|
16813
16815
|
"class",
|
|
16814
16816
|
"title"
|
|
16815
|
-
]), P("span",
|
|
16817
|
+
]), P("span", tw, [
|
|
16816
16818
|
P("span", { class: yr(["truncate", { "text-word-3": f.value }]) }, H(e.label || a.value?.label || o.value), 3),
|
|
16817
16819
|
d.value ? (z(), N("span", {
|
|
16818
16820
|
key: 0,
|
|
16819
16821
|
class: "shrink-0 text-12 text-word-3",
|
|
16820
16822
|
title: d.value.hint
|
|
16821
|
-
}, H(d.value.label), 9,
|
|
16823
|
+
}, H(d.value.label), 9, nw)) : M("", !0),
|
|
16822
16824
|
f.value ? (z(), N("span", {
|
|
16823
16825
|
key: 1,
|
|
16824
16826
|
class: "shrink-0 text-12 text-word-3",
|
|
16825
16827
|
title: U(n)(f.value.hint)
|
|
16826
|
-
}, H(U(n)(f.value.label)), 9,
|
|
16828
|
+
}, H(U(n)(f.value.label)), 9, rw)) : M("", !0)
|
|
16827
16829
|
])]);
|
|
16828
16830
|
};
|
|
16829
16831
|
}
|
|
16830
|
-
}),
|
|
16832
|
+
}), aw = {
|
|
16831
16833
|
key: 0,
|
|
16832
16834
|
class: "flex items-center gap-8 min-w-0 w-full"
|
|
16833
|
-
},
|
|
16835
|
+
}, ow = { class: "flex flex-col gap-2 min-w-0" }, sw = { class: "flex items-center gap-8 min-w-0 leading-tight" }, cw = { class: "truncate" }, lw = ["title"], uw = {
|
|
16834
16836
|
key: 0,
|
|
16835
16837
|
class: "text-12 text-word-3 truncate leading-tight"
|
|
16836
|
-
},
|
|
16838
|
+
}, dw = {
|
|
16837
16839
|
key: 1,
|
|
16838
16840
|
class: "flex items-center gap-8 min-w-0 w-full"
|
|
16839
|
-
},
|
|
16841
|
+
}, fw = { class: "truncate" }, pw = ["title"], mw = {
|
|
16840
16842
|
key: 1,
|
|
16841
16843
|
class: "ml-auto flex items-center gap-8 shrink-0"
|
|
16842
|
-
},
|
|
16844
|
+
}, hw = {
|
|
16843
16845
|
key: 0,
|
|
16844
16846
|
class: "text-12 text-word-3 none sm:inline"
|
|
16845
|
-
},
|
|
16847
|
+
}, gw = {
|
|
16846
16848
|
key: 1,
|
|
16847
16849
|
class: "text-12 text-word-3"
|
|
16848
|
-
},
|
|
16850
|
+
}, _w = ["title"], vw = /* @__PURE__ */ L({
|
|
16849
16851
|
__name: "PkModelOption",
|
|
16850
16852
|
props: {
|
|
16851
16853
|
entry: {},
|
|
@@ -16854,7 +16856,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16854
16856
|
stacked: { type: Boolean }
|
|
16855
16857
|
},
|
|
16856
16858
|
setup(e) {
|
|
16857
|
-
let t = e, { t: n, n: r } = Vr({ useScope: "global" }), i = A(() => t.entry?.label || t.modelName || ""), a = A(() => t.entry?.brandIcon ?? "ri:cpu-line"), o = A(() => a.value.startsWith("custom:") ? "custom" : void 0), s = A(() => a.value.replace(/^custom:/, "")), c = A(() =>
|
|
16859
|
+
let t = e, { t: n, n: r } = Vr({ useScope: "global" }), i = A(() => t.entry?.label || t.modelName || ""), a = A(() => t.entry?.brandIcon ?? "ri:cpu-line"), o = A(() => a.value.startsWith("custom:") ? "custom" : void 0), s = A(() => a.value.replace(/^custom:/, "")), c = A(() => $C(t.entry)), l = A(() => {
|
|
16858
16860
|
let e = t.entry?.pricing;
|
|
16859
16861
|
if (!e) return;
|
|
16860
16862
|
let n = (e) => r(e * ye, "USD");
|
|
@@ -16874,7 +16876,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16874
16876
|
}), f = A(() => [u.value, l.value].filter(Boolean).join(" · "));
|
|
16875
16877
|
return (t, r) => {
|
|
16876
16878
|
let a = $n;
|
|
16877
|
-
return e.stacked ? (z(), N("div",
|
|
16879
|
+
return e.stacked ? (z(), N("div", aw, [I(a, {
|
|
16878
16880
|
name: s.value,
|
|
16879
16881
|
prefix: o.value,
|
|
16880
16882
|
class: "shrink-0 w-16 h-16",
|
|
@@ -16883,11 +16885,11 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16883
16885
|
"name",
|
|
16884
16886
|
"prefix",
|
|
16885
16887
|
"title"
|
|
16886
|
-
]), P("div",
|
|
16888
|
+
]), P("div", ow, [P("span", sw, [P("span", cw, H(i.value), 1), c.value ? (z(), N("span", {
|
|
16887
16889
|
key: 0,
|
|
16888
16890
|
class: "text-12 text-word-3 shrink-0",
|
|
16889
16891
|
title: U(n)(c.value.hint)
|
|
16890
|
-
}, H(U(n)(c.value.label)), 9,
|
|
16892
|
+
}, H(U(n)(c.value.label)), 9, lw)) : M("", !0)]), f.value ? (z(), N("span", uw, H(f.value), 1)) : M("", !0)])])) : (z(), N("div", dw, [
|
|
16891
16893
|
I(a, {
|
|
16892
16894
|
name: s.value,
|
|
16893
16895
|
prefix: o.value,
|
|
@@ -16898,25 +16900,25 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16898
16900
|
"prefix",
|
|
16899
16901
|
"title"
|
|
16900
16902
|
]),
|
|
16901
|
-
P("span",
|
|
16903
|
+
P("span", fw, H(i.value), 1),
|
|
16902
16904
|
c.value ? (z(), N("span", {
|
|
16903
16905
|
key: 0,
|
|
16904
16906
|
class: "text-12 text-word-3 shrink-0",
|
|
16905
16907
|
title: U(n)(c.value.hint)
|
|
16906
|
-
}, H(U(n)(c.value.label)), 9,
|
|
16907
|
-
e.detailed ? (z(), N("span",
|
|
16908
|
-
u.value ? (z(), N("span",
|
|
16909
|
-
l.value ? (z(), N("span",
|
|
16908
|
+
}, H(U(n)(c.value.label)), 9, pw)) : M("", !0),
|
|
16909
|
+
e.detailed ? (z(), N("span", mw, [
|
|
16910
|
+
u.value ? (z(), N("span", hw, H(u.value), 1)) : M("", !0),
|
|
16911
|
+
l.value ? (z(), N("span", gw, H(l.value), 1)) : M("", !0),
|
|
16910
16912
|
(z(!0), N(k, null, Or(d.value, (e) => (z(), N("span", {
|
|
16911
16913
|
key: e.key,
|
|
16912
16914
|
class: yr(["pk-model-option__dot", `pk-model-option__dot--${e.value}`]),
|
|
16913
16915
|
title: e.title
|
|
16914
|
-
}, null, 10,
|
|
16916
|
+
}, null, 10, _w))), 128))
|
|
16915
16917
|
])) : M("", !0)
|
|
16916
16918
|
]));
|
|
16917
16919
|
};
|
|
16918
16920
|
}
|
|
16919
|
-
}),
|
|
16921
|
+
}), yw = /* @__PURE__ */ L({
|
|
16920
16922
|
__name: "PkLanguageModelCombobox",
|
|
16921
16923
|
props: {
|
|
16922
16924
|
name: {},
|
|
@@ -16933,7 +16935,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16933
16935
|
},
|
|
16934
16936
|
emits: ["update:modelValue"],
|
|
16935
16937
|
setup(e, { emit: t }) {
|
|
16936
|
-
let { t: n } = Vr({ useScope: "global" }), r = e, i = t, a = R(
|
|
16938
|
+
let { t: n } = Vr({ useScope: "global" }), r = e, i = t, a = R(JC, void 0), o = A(() => r.catalog ?? a?.value), s = A(() => Array.isArray(r.modelValue) ? r.modelValue.filter(Boolean) : r.modelValue || void 0), c = A(() => WC.map((e) => ({
|
|
16937
16939
|
label: e,
|
|
16938
16940
|
value: e
|
|
16939
16941
|
}))), l = (e) => r.zeroDataRetention === !0 && e.zdr === Ti.None || r.disallowPromptTraining === !0 && e.noTraining === Ti.None, u = A(() => new Set([r.current, ...Array.isArray(s.value) ? s.value : [s.value]].filter(Boolean))), d = (e) => !r.inputModality || !e.inputModalities || e.inputModalities.includes(r.inputModality), f = A(() => (o.value ?? []).filter((e) => u.value.has(e.id) || (r.offerDisabled ? !e.retired : Ei(e)) && !l(e) && d(e)).map((e) => ({
|
|
@@ -16986,7 +16988,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
16986
16988
|
"selected-hint-label": "",
|
|
16987
16989
|
"onUpdate:modelValue": a[0] ||= (e) => i("update:modelValue", e)
|
|
16988
16990
|
}, {
|
|
16989
|
-
value: K(({ selectedOptions: e }) => [r.multiple ? (z(!0), N(k, { key: 0 }, Or(e, (t) => (z(), j(
|
|
16991
|
+
value: K(({ selectedOptions: e }) => [r.multiple ? (z(!0), N(k, { key: 0 }, Or(e, (t) => (z(), j(iw, {
|
|
16990
16992
|
key: g(t),
|
|
16991
16993
|
"model-name": g(t),
|
|
16992
16994
|
label: _(t)?.catalogLabel,
|
|
@@ -17004,7 +17006,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
17004
17006
|
"endpoint-name",
|
|
17005
17007
|
"show-source",
|
|
17006
17008
|
"class"
|
|
17007
|
-
]))), 128)) : (z(), j(
|
|
17009
|
+
]))), 128)) : (z(), j(iw, {
|
|
17008
17010
|
key: 1,
|
|
17009
17011
|
"model-name": g(e[0]),
|
|
17010
17012
|
label: _(e[0])?.catalogLabel,
|
|
@@ -17019,12 +17021,12 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
17019
17021
|
"endpoint-name",
|
|
17020
17022
|
"show-source"
|
|
17021
17023
|
]))]),
|
|
17022
|
-
option: K(({ option: e }) => [_(e)?.entry ? (z(), j(
|
|
17024
|
+
option: K(({ option: e }) => [_(e)?.entry ? (z(), j(vw, {
|
|
17023
17025
|
key: 0,
|
|
17024
17026
|
entry: _(e)?.entry,
|
|
17025
17027
|
stacked: "",
|
|
17026
17028
|
class: "text-14"
|
|
17027
|
-
}, null, 8, ["entry"])) : (z(), j(
|
|
17029
|
+
}, null, 8, ["entry"])) : (z(), j(iw, {
|
|
17028
17030
|
key: 1,
|
|
17029
17031
|
"model-name": g(e),
|
|
17030
17032
|
label: _(e)?.catalogLabel,
|
|
@@ -17047,10 +17049,10 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
17047
17049
|
]);
|
|
17048
17050
|
};
|
|
17049
17051
|
}
|
|
17050
|
-
}),
|
|
17052
|
+
}), bw = {
|
|
17051
17053
|
key: 5,
|
|
17052
17054
|
class: "text-12 text-word-3"
|
|
17053
|
-
},
|
|
17055
|
+
}, xw = /* @__PURE__ */ L({
|
|
17054
17056
|
__name: "PkReasoningSettings",
|
|
17055
17057
|
props: /*@__PURE__*/ gr({ activeProvider: {} }, {
|
|
17056
17058
|
reasoning: { default: void 0 },
|
|
@@ -17360,10 +17362,10 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
17360
17362
|
"placeholder",
|
|
17361
17363
|
"hint-label",
|
|
17362
17364
|
"options"
|
|
17363
|
-
])) : (z(), N("small",
|
|
17365
|
+
])) : (z(), N("small", bw, H(U(t)("hint.reasoningNotSupported")), 1));
|
|
17364
17366
|
};
|
|
17365
17367
|
}
|
|
17366
|
-
}),
|
|
17368
|
+
}), Sw = /* @__PURE__ */ L({
|
|
17367
17369
|
__name: "PkWebSearchSettings",
|
|
17368
17370
|
props: /*@__PURE__*/ gr({
|
|
17369
17371
|
activeProvider: {},
|
|
@@ -17734,7 +17736,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
17734
17736
|
], 64)) : M("", !0)], 64)) : M("", !0)], 64)) : M("", !0)], 64);
|
|
17735
17737
|
};
|
|
17736
17738
|
}
|
|
17737
|
-
}),
|
|
17739
|
+
}), Cw = /* @__PURE__ */ L({
|
|
17738
17740
|
__name: "PkEditorChannels",
|
|
17739
17741
|
props: /*@__PURE__*/ gr({ type: {} }, {
|
|
17740
17742
|
modelValue: { default: () => Object.values(oe) },
|
|
@@ -17794,7 +17796,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
17794
17796
|
_: 1
|
|
17795
17797
|
}, 8, ["legend"]));
|
|
17796
17798
|
}
|
|
17797
|
-
}),
|
|
17799
|
+
}), ww = { key: 1 }, Tw = { class: "pk-copy-block__actions" }, Ew = /* @__PURE__ */ L({
|
|
17798
17800
|
__name: "PkCopyBlock",
|
|
17799
17801
|
props: {
|
|
17800
17802
|
source: {},
|
|
@@ -17809,7 +17811,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
17809
17811
|
key: 0,
|
|
17810
17812
|
code: n.value,
|
|
17811
17813
|
language: e.codeLanguage
|
|
17812
|
-
}, null, 8, ["code", "language"])) : (z(), N("div",
|
|
17814
|
+
}, null, 8, ["code", "language"])) : (z(), N("div", ww, H(n.value), 1))]), P("div", Tw, [I(c, null, {
|
|
17813
17815
|
default: K(() => [I(s, {
|
|
17814
17816
|
modifiers: e.modifiers.includes("inline") ? "action-quiet-small" : "action-small",
|
|
17815
17817
|
icon: U(i) ? "ri:check-line" : "ri:file-copy-line",
|
|
@@ -17824,7 +17826,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
17824
17826
|
})])], 2);
|
|
17825
17827
|
};
|
|
17826
17828
|
}
|
|
17827
|
-
}),
|
|
17829
|
+
}), Dw = /* @__PURE__ */ L({
|
|
17828
17830
|
__name: "PkInputColor",
|
|
17829
17831
|
props: {
|
|
17830
17832
|
modelValue: {},
|
|
@@ -17857,13 +17859,13 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
17857
17859
|
])]);
|
|
17858
17860
|
};
|
|
17859
17861
|
}
|
|
17860
|
-
}),
|
|
17862
|
+
}), Ow = { class: "pk-agent-settings-panel" }, kw = { class: "xl:grid grid-cols-2 gap-x-md items-start" }, Aw = { class: "flex items-center gap-8" }, jw = { class: "flex items-center gap-8" }, Mw = {
|
|
17861
17863
|
key: 0,
|
|
17862
17864
|
class: "text-12 text-word-3 -mt-sm mb-md"
|
|
17863
|
-
},
|
|
17865
|
+
}, Nw = { class: "p-8 flex flex-col" }, Pw = { class: "flex flex-col ml-12 gap-2" }, Fw = { class: "text-12 text-word-3" }, Iw = { class: "mb-md" }, Lw = { class: "flex items-center gap-xs mb-2" }, Rw = ["for"], zw = { class: "info-icon relative cursor-help text-word-3" }, Bw = { class: "mb-md" }, Vw = { class: "flex items-center gap-xs mb-2" }, Hw = ["for"], Uw = { class: "info-icon relative cursor-help text-word-3" }, Ww = { class: "text-12 text-word-3 mt-xs leading-normal" }, Gw = { class: "flex flex-col ml-12 gap-2" }, Kw = { class: "text-12 text-word-3" }, qw = { class: "mb-md" }, Jw = { class: "flex items-center gap-xs mb-2" }, Yw = ["for"], Xw = { class: "info-icon relative cursor-help text-word-3" }, Zw = { class: "mb-md" }, Qw = { class: "flex items-center gap-xs mb-2" }, $w = ["for"], eT = { class: "info-icon relative cursor-help text-word-3" }, tT = { class: "flex flex-col ml-12 gap-2" }, nT = { class: "text-12 text-word-3" }, rT = { class: "flex flex-col ml-12 gap-2" }, iT = { class: "text-12 text-word-3" }, aT = { class: "flex flex-col ml-12 gap-2" }, oT = { class: "text-12 text-word-3" }, sT = { class: "flex items-end gap-sm mt-md" }, cT = { class: "flex flex-col gap-2 min-w-0" }, lT = { class: "truncate" }, uT = {
|
|
17864
17866
|
key: 0,
|
|
17865
17867
|
class: "text-12 text-word-3 truncate"
|
|
17866
|
-
},
|
|
17868
|
+
}, dT = { class: "p-8 flex flex-col" }, fT = { class: "flex flex-col ml-12 gap-2" }, pT = { class: "text-12 text-word-3" }, mT = { class: "flex gap-sm mt-md" }, hT = { class: "text-12 text-word-3 mt-8 mb-md px-8" }, gT = { class: "p-8 flex flex-col" }, _T = { class: "grid sm:grid-cols-2 gap-md items-start" }, vT = { class: "flex flex-col gap-md" }, yT = { class: "text-12 text-word-3 mb-sm" }, bT = { class: "flex items-center gap-4" }, xT = { class: "text-12 text-word-3 mb-sm" }, ST = { class: "flex flex-col nx-md nb-md" }, CT = { class: "flex flex-col ml-12 gap-2" }, wT = { class: "flex items-center gap-8" }, TT = { class: "font-semibold" }, ET = { class: "text-12 text-word-3" }, DT = ["title"], OT = { class: "p-xs flex gap-md items-start" }, kT = { class: "flex flex-col gap-md" }, AT = { class: "font-semibold mb-xs" }, jT = { class: "text-smaller" }, MT = { key: 2 }, NT = { class: "p-8 flex flex-col" }, PT = { class: "text-smaller mb-xs" }, FT = { class: "font-semibold mb-xs" }, IT = { class: "text-smaller" }, LT = { class: "font-semibold mb-xs" }, RT = { class: "text-smaller" }, zT = { class: "block text-12 text-word-2 break-all p-12 font-mono" }, BT = { class: "grid sm:grid-cols-2 gap-md" }, VT = /* @__PURE__ */ L({
|
|
17867
17869
|
__name: "PkAgentSettingsPanel",
|
|
17868
17870
|
props: /*@__PURE__*/ gr({
|
|
17869
17871
|
organizationSlug: {},
|
|
@@ -17892,9 +17894,9 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
17892
17894
|
dismissableNoticeModifiers: {},
|
|
17893
17895
|
footerMessage: { default: void 0 },
|
|
17894
17896
|
footerMessageModifiers: {},
|
|
17895
|
-
model: { default:
|
|
17897
|
+
model: { default: WC[0] },
|
|
17896
17898
|
modelModifiers: {},
|
|
17897
|
-
temperature: { default:
|
|
17899
|
+
temperature: { default: GC },
|
|
17898
17900
|
temperatureModifiers: {},
|
|
17899
17901
|
prompt: { default: "" },
|
|
17900
17902
|
promptModifiers: {},
|
|
@@ -18017,13 +18019,13 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18017
18019
|
voiceTurnEagernessModifiers: {},
|
|
18018
18020
|
voiceTurnTimeoutSeconds: { default: 5 },
|
|
18019
18021
|
voiceTurnTimeoutSecondsModifiers: {},
|
|
18020
|
-
fileUploadMaxFileSize: { default:
|
|
18022
|
+
fileUploadMaxFileSize: { default: KC.maxFileSizeBytes },
|
|
18021
18023
|
fileUploadMaxFileSizeModifiers: {},
|
|
18022
|
-
fileUploadAllowedMimeTypes: { default: () => [...
|
|
18024
|
+
fileUploadAllowedMimeTypes: { default: () => [...KC.allowedMimeTypes] },
|
|
18023
18025
|
fileUploadAllowedMimeTypesModifiers: {},
|
|
18024
|
-
fileUploadMaxFilesPerMessage: { default:
|
|
18026
|
+
fileUploadMaxFilesPerMessage: { default: KC.maxFilesPerMessage },
|
|
18025
18027
|
fileUploadMaxFilesPerMessageModifiers: {},
|
|
18026
|
-
fileUploadMaxFilesPerChat: { default:
|
|
18028
|
+
fileUploadMaxFilesPerChat: { default: KC.maxFilesPerChat },
|
|
18027
18029
|
fileUploadMaxFilesPerChatModifiers: {},
|
|
18028
18030
|
customCss: { default: void 0 },
|
|
18029
18031
|
customCssModifiers: {},
|
|
@@ -18320,7 +18322,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18320
18322
|
style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>`);
|
|
18321
18323
|
return (s, c) => {
|
|
18322
18324
|
let l = $n, v = Yn, w = nr, ce = tr, me = Jn, je = ir, et = Kn, tt = Vn, nt = rr, rt = Gn, st = Xn;
|
|
18323
|
-
return z(), N("div",
|
|
18325
|
+
return z(), N("div", Ow, [I(nt, {
|
|
18324
18326
|
items: Wt.value,
|
|
18325
18327
|
lazy: "once"
|
|
18326
18328
|
}, {
|
|
@@ -18333,11 +18335,11 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18333
18335
|
readonly: "",
|
|
18334
18336
|
vertical: ""
|
|
18335
18337
|
}, null, 8, ["modelValue", "label"]),
|
|
18336
|
-
P("div",
|
|
18338
|
+
P("div", kw, [I(v, {
|
|
18337
18339
|
modelValue: te.value,
|
|
18338
18340
|
"onUpdate:modelValue": c[1] ||= (e) => te.value = e,
|
|
18339
18341
|
name: "status",
|
|
18340
|
-
icon: U(
|
|
18342
|
+
icon: U(LC)(te.value),
|
|
18341
18343
|
label: U(n)("label.status"),
|
|
18342
18344
|
placeholder: U(n)("placeholder.select"),
|
|
18343
18345
|
unselectable: !1,
|
|
@@ -18360,8 +18362,8 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18360
18362
|
],
|
|
18361
18363
|
disabled: e.playground
|
|
18362
18364
|
}, {
|
|
18363
|
-
option: K(({ option: e }) => [P("span",
|
|
18364
|
-
name: U(
|
|
18365
|
+
option: K(({ option: e }) => [P("span", Aw, [I(l, {
|
|
18366
|
+
name: U(LC)(String(e.value)),
|
|
18365
18367
|
class: "w-16 h-16 shrink-0"
|
|
18366
18368
|
}, null, 8, ["name"]), F(" " + H(e.label), 1)])]),
|
|
18367
18369
|
_: 1
|
|
@@ -18376,7 +18378,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18376
18378
|
modelValue: ne.value,
|
|
18377
18379
|
"onUpdate:modelValue": c[2] ||= (e) => ne.value = e,
|
|
18378
18380
|
name: "visibility",
|
|
18379
|
-
icon: U(
|
|
18381
|
+
icon: U(RC)(ne.value),
|
|
18380
18382
|
label: U(n)("label.visibility"),
|
|
18381
18383
|
placeholder: U(n)("placeholder.select"),
|
|
18382
18384
|
unselectable: !1,
|
|
@@ -18399,8 +18401,8 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18399
18401
|
],
|
|
18400
18402
|
disabled: e.playground || !Ut.value
|
|
18401
18403
|
}, {
|
|
18402
|
-
option: K(({ option: e }) => [P("span",
|
|
18403
|
-
name: U(
|
|
18404
|
+
option: K(({ option: e }) => [P("span", jw, [I(l, {
|
|
18405
|
+
name: U(RC)(String(e.value)),
|
|
18404
18406
|
class: "w-16 h-16 shrink-0"
|
|
18405
18407
|
}, null, 8, ["name"]), F(" " + H(e.label), 1)])]),
|
|
18406
18408
|
_: 1
|
|
@@ -18423,7 +18425,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18423
18425
|
"label",
|
|
18424
18426
|
"placeholder"
|
|
18425
18427
|
]),
|
|
18426
|
-
I(
|
|
18428
|
+
I(yw, {
|
|
18427
18429
|
modelValue: g.value,
|
|
18428
18430
|
"onUpdate:modelValue": c[4] ||= (e) => g.value = e,
|
|
18429
18431
|
name: "model",
|
|
@@ -18444,7 +18446,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18444
18446
|
"disallow-prompt-training",
|
|
18445
18447
|
"current"
|
|
18446
18448
|
]),
|
|
18447
|
-
y.value ? (z(), N("p",
|
|
18449
|
+
y.value ? (z(), N("p", Mw, H(y.value), 1)) : M("", !0),
|
|
18448
18450
|
_.value ? (z(), j(QS, {
|
|
18449
18451
|
key: 1,
|
|
18450
18452
|
icon: "ri:server-line",
|
|
@@ -18469,10 +18471,10 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18469
18471
|
modifiers: "details",
|
|
18470
18472
|
class: "border border-surface-3 rounded"
|
|
18471
18473
|
}, {
|
|
18472
|
-
default: K(() => [P("div",
|
|
18474
|
+
default: K(() => [P("div", Nw, [
|
|
18473
18475
|
I(oo, { legend: U(n)("label.modelParameters") }, {
|
|
18474
18476
|
default: K(() => [
|
|
18475
|
-
_.value ? M("", !0) : (z(), j(
|
|
18477
|
+
_.value ? M("", !0) : (z(), j(yw, {
|
|
18476
18478
|
key: 0,
|
|
18477
18479
|
modelValue: _t.value,
|
|
18478
18480
|
"onUpdate:modelValue": c[6] ||= (e) => _t.value = e,
|
|
@@ -18574,7 +18576,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18574
18576
|
_: 1
|
|
18575
18577
|
}, 8, ["legend"]),
|
|
18576
18578
|
I(oo, { legend: U(n)("label.reasoning") }, {
|
|
18577
|
-
default: K(() => [I(
|
|
18579
|
+
default: K(() => [I(xw, {
|
|
18578
18580
|
reasoning: pe.value,
|
|
18579
18581
|
"onUpdate:reasoning": c[12] ||= (e) => pe.value = e,
|
|
18580
18582
|
"active-provider": Ht.value
|
|
@@ -18671,13 +18673,13 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18671
18673
|
"unchecked-value": !1,
|
|
18672
18674
|
class: "flex-nowrap mb-md"
|
|
18673
18675
|
}, {
|
|
18674
|
-
default: K(() => [P("div",
|
|
18676
|
+
default: K(() => [P("div", Pw, [P("strong", null, H(U(n)("label.freshnessBoost")), 1), P("small", Fw, H(U(n)("hint.freshnessBoost")), 1)])]),
|
|
18675
18677
|
_: 1
|
|
18676
18678
|
}, 8, ["modelValue"])) : M("", !0),
|
|
18677
|
-
Tt.value?.freshness?.enabled ? (z(), N(k, { key: 1 }, [P("div",
|
|
18679
|
+
Tt.value?.freshness?.enabled ? (z(), N(k, { key: 1 }, [P("div", Iw, [P("div", Lw, [P("label", {
|
|
18678
18680
|
class: "block text-12 text-word-3",
|
|
18679
18681
|
for: a.freshnessScale
|
|
18680
|
-
}, H(U(n)("hint.freshnessScale")), 9,
|
|
18682
|
+
}, H(U(n)("hint.freshnessScale")), 9, Rw), P("div", zw, [I(l, {
|
|
18681
18683
|
name: "ri:information-line",
|
|
18682
18684
|
class: "w-14 h-14"
|
|
18683
18685
|
}), I(je, {
|
|
@@ -18697,11 +18699,11 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18697
18699
|
"id",
|
|
18698
18700
|
"modelValue",
|
|
18699
18701
|
"format-value"
|
|
18700
|
-
])]), P("div",
|
|
18701
|
-
P("div",
|
|
18702
|
+
])]), P("div", Bw, [
|
|
18703
|
+
P("div", Vw, [P("label", {
|
|
18702
18704
|
class: "block text-12 text-word-3",
|
|
18703
18705
|
for: a.freshnessWeight
|
|
18704
|
-
}, H(U(n)("label.freshnessWeight")), 9,
|
|
18706
|
+
}, H(U(n)("label.freshnessWeight")), 9, Hw), P("div", Uw, [I(l, {
|
|
18705
18707
|
name: "ri:information-line",
|
|
18706
18708
|
class: "w-14 h-14"
|
|
18707
18709
|
}), I(je, {
|
|
@@ -18724,7 +18726,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18724
18726
|
"modelValue",
|
|
18725
18727
|
"format-value"
|
|
18726
18728
|
])) : M("", !0),
|
|
18727
|
-
P("p",
|
|
18729
|
+
P("p", Ww, H(Dt.value), 1)
|
|
18728
18730
|
])], 64)) : M("", !0),
|
|
18729
18731
|
Tt.value?.mmr ? (z(), j(me, {
|
|
18730
18732
|
key: 2,
|
|
@@ -18736,13 +18738,13 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18736
18738
|
"unchecked-value": !1,
|
|
18737
18739
|
class: "flex-nowrap mb-md border-t border-surface-3 pt-md"
|
|
18738
18740
|
}, {
|
|
18739
|
-
default: K(() => [P("div",
|
|
18741
|
+
default: K(() => [P("div", Gw, [P("strong", null, H(U(n)("label.mmr")), 1), P("small", Kw, H(U(n)("hint.mmr")), 1)])]),
|
|
18740
18742
|
_: 1
|
|
18741
18743
|
}, 8, ["modelValue"])) : M("", !0),
|
|
18742
|
-
Tt.value?.mmr?.enabled ? (z(), N(k, { key: 3 }, [P("div",
|
|
18744
|
+
Tt.value?.mmr?.enabled ? (z(), N(k, { key: 3 }, [P("div", qw, [P("div", Jw, [P("label", {
|
|
18743
18745
|
class: "block text-12 text-word-3",
|
|
18744
18746
|
for: a.mmrDiversity
|
|
18745
|
-
}, H(U(n)("label.mmrDiversity")), 9,
|
|
18747
|
+
}, H(U(n)("label.mmrDiversity")), 9, Yw), P("div", Xw, [I(l, {
|
|
18746
18748
|
name: "ri:information-line",
|
|
18747
18749
|
class: "w-14 h-14"
|
|
18748
18750
|
}), I(je, {
|
|
@@ -18763,10 +18765,10 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18763
18765
|
"id",
|
|
18764
18766
|
"modelValue",
|
|
18765
18767
|
"format-value"
|
|
18766
|
-
])) : M("", !0)]), P("div",
|
|
18768
|
+
])) : M("", !0)]), P("div", Zw, [P("div", Qw, [P("label", {
|
|
18767
18769
|
class: "block text-12 text-word-3",
|
|
18768
18770
|
for: a.mmrCandidatesLimit
|
|
18769
|
-
}, H(U(n)("label.mmrCandidatesLimit")), 9,
|
|
18771
|
+
}, H(U(n)("label.mmrCandidatesLimit")), 9, $w), P("div", eT, [I(l, {
|
|
18770
18772
|
name: "ri:information-line",
|
|
18771
18773
|
class: "w-14 h-14"
|
|
18772
18774
|
}), I(je, {
|
|
@@ -18805,7 +18807,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18805
18807
|
"unchecked-value": !1,
|
|
18806
18808
|
class: "flex-nowrap mb-0"
|
|
18807
18809
|
}, {
|
|
18808
|
-
default: K(() => [P("div",
|
|
18810
|
+
default: K(() => [P("div", tT, [P("strong", null, H(U(n)("label.zeroDataRetention")), 1), P("small", nT, H(U(n)("hint.zeroDataRetention")), 1)])]),
|
|
18809
18811
|
_: 1
|
|
18810
18812
|
}, 8, ["modelValue"]), vt.value ? M("", !0) : (z(), j(me, {
|
|
18811
18813
|
key: 0,
|
|
@@ -18817,7 +18819,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18817
18819
|
"unchecked-value": !1,
|
|
18818
18820
|
class: "flex-nowrap mt-md mb-0"
|
|
18819
18821
|
}, {
|
|
18820
|
-
default: K(() => [P("div",
|
|
18822
|
+
default: K(() => [P("div", rT, [P("strong", null, H(U(n)("label.disallowPromptTraining")), 1), P("small", iT, H(U(n)("hint.disallowPromptTraining")), 1)])]),
|
|
18821
18823
|
_: 1
|
|
18822
18824
|
}, 8, ["modelValue"]))]),
|
|
18823
18825
|
_: 1
|
|
@@ -18836,7 +18838,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18836
18838
|
"unchecked-value": !1,
|
|
18837
18839
|
class: "flex-nowrap mb-0"
|
|
18838
18840
|
}, {
|
|
18839
|
-
default: K(() => [P("div",
|
|
18841
|
+
default: K(() => [P("div", aT, [P("strong", null, H(U(n)("label.voiceEnabled")), 1), P("small", oT, H(U(n)("hint.voiceEnabled")), 1)])]),
|
|
18840
18842
|
_: 1
|
|
18841
18843
|
}, 8, ["modelValue"]), Ve.value ? (z(), N(k, { key: 0 }, [
|
|
18842
18844
|
zt.value.length ? (z(), j(QS, {
|
|
@@ -18847,7 +18849,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18847
18849
|
default: K(() => [F(H(U(n)("hint.voiceApprovalRefused", { tools: zt.value.join(", ") })), 1)]),
|
|
18848
18850
|
_: 1
|
|
18849
18851
|
})) : M("", !0),
|
|
18850
|
-
P("div",
|
|
18852
|
+
P("div", sT, [I(v, {
|
|
18851
18853
|
modelValue: Ue.value,
|
|
18852
18854
|
"onUpdate:modelValue": c[27] ||= (e) => Ue.value = e,
|
|
18853
18855
|
name: "voiceId",
|
|
@@ -18875,7 +18877,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18875
18877
|
"disabled",
|
|
18876
18878
|
"title"
|
|
18877
18879
|
])]),
|
|
18878
|
-
option: K(({ option: e }) => [P("span",
|
|
18880
|
+
option: K(({ option: e }) => [P("span", cT, [P("span", lT, H(e.label), 1), e.description ? (z(), N("small", uT, H(e.description), 1)) : M("", !0)])]),
|
|
18879
18881
|
_: 1
|
|
18880
18882
|
}, 8, [
|
|
18881
18883
|
"modelValue",
|
|
@@ -18929,7 +18931,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18929
18931
|
modifiers: "details",
|
|
18930
18932
|
class: "border border-surface-3 rounded-lg mt-md"
|
|
18931
18933
|
}, {
|
|
18932
|
-
default: K(() => [P("div",
|
|
18934
|
+
default: K(() => [P("div", dT, [
|
|
18933
18935
|
I(me, {
|
|
18934
18936
|
modelValue: Ye.value,
|
|
18935
18937
|
"onUpdate:modelValue": c[30] ||= (e) => Ye.value = e,
|
|
@@ -18939,7 +18941,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18939
18941
|
"unchecked-value": !1,
|
|
18940
18942
|
class: "flex-nowrap mb-0"
|
|
18941
18943
|
}, {
|
|
18942
|
-
default: K(() => [P("div",
|
|
18944
|
+
default: K(() => [P("div", fT, [P("strong", null, H(U(n)("label.voiceIgnoreBackgroundVoices")), 1), P("small", pT, H(U(n)("hint.voiceIgnoreBackgroundVoices")), 1)])]),
|
|
18943
18945
|
_: 1
|
|
18944
18946
|
}, 8, ["modelValue"]),
|
|
18945
18947
|
I(v, {
|
|
@@ -18977,7 +18979,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
18977
18979
|
"placeholder",
|
|
18978
18980
|
"options"
|
|
18979
18981
|
]),
|
|
18980
|
-
P("div",
|
|
18982
|
+
P("div", mT, [I(w, {
|
|
18981
18983
|
modelValue: Qe.value,
|
|
18982
18984
|
"onUpdate:modelValue": c[32] ||= (e) => Qe.value = e,
|
|
18983
18985
|
name: "voiceTurnTimeoutSeconds",
|
|
@@ -19008,7 +19010,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19008
19010
|
"label",
|
|
19009
19011
|
"placeholder"
|
|
19010
19012
|
])]),
|
|
19011
|
-
P("small",
|
|
19013
|
+
P("small", hT, H(U(n)("hint.voiceTurnTimeoutSeconds")), 1),
|
|
19012
19014
|
I(w, {
|
|
19013
19015
|
modelValue: He.value,
|
|
19014
19016
|
"onUpdate:modelValue": c[34] ||= (e) => He.value = e,
|
|
@@ -19070,7 +19072,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19070
19072
|
], 64)) : M("", !0)]),
|
|
19071
19073
|
_: 1
|
|
19072
19074
|
}, 8, ["legend"])) : M("", !0),
|
|
19073
|
-
e.playground ? M("", !0) : (z(), j(
|
|
19075
|
+
e.playground ? M("", !0) : (z(), j(Cw, {
|
|
19074
19076
|
key: 2,
|
|
19075
19077
|
modelValue: Ct.value,
|
|
19076
19078
|
"onUpdate:modelValue": c[37] ||= (e) => Ct.value = e,
|
|
@@ -19142,7 +19144,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19142
19144
|
"options"
|
|
19143
19145
|
])) : M("", !0),
|
|
19144
19146
|
I(oo, { legend: U(n)("label.appearance") }, {
|
|
19145
|
-
default: K(() => [I(
|
|
19147
|
+
default: K(() => [I(Dw, {
|
|
19146
19148
|
modelValue: _e.value,
|
|
19147
19149
|
"onUpdate:modelValue": c[40] ||= (e) => _e.value = e,
|
|
19148
19150
|
name: "mainColor",
|
|
@@ -19180,7 +19182,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19180
19182
|
modifiers: "details",
|
|
19181
19183
|
class: "border border-surface-3 rounded-lg mt-md mb-md"
|
|
19182
19184
|
}, {
|
|
19183
|
-
default: K(() => [P("div",
|
|
19185
|
+
default: K(() => [P("div", gT, [
|
|
19184
19186
|
Ut.value ? (z(), j(ZS, {
|
|
19185
19187
|
key: 0,
|
|
19186
19188
|
modelValue: ye.value,
|
|
@@ -19456,7 +19458,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19456
19458
|
"placeholder",
|
|
19457
19459
|
"options"
|
|
19458
19460
|
]),
|
|
19459
|
-
P("div",
|
|
19461
|
+
P("div", _T, [I(w, {
|
|
19460
19462
|
modelValue: pt.value,
|
|
19461
19463
|
"onUpdate:modelValue": c[52] ||= (e) => pt.value = e,
|
|
19462
19464
|
disabled: e.playground,
|
|
@@ -19494,7 +19496,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19494
19496
|
key: 1,
|
|
19495
19497
|
legend: U(n)("label.webSearch")
|
|
19496
19498
|
}, {
|
|
19497
|
-
default: K(() => [I(
|
|
19499
|
+
default: K(() => [I(Sw, {
|
|
19498
19500
|
"web-search": he.value,
|
|
19499
19501
|
"onUpdate:webSearch": c[54] ||= (e) => he.value = e,
|
|
19500
19502
|
"active-provider": Ht.value
|
|
@@ -19529,15 +19531,15 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19529
19531
|
})]),
|
|
19530
19532
|
_: 1
|
|
19531
19533
|
}, 8, ["legend"])) : M("", !0),
|
|
19532
|
-
P("div",
|
|
19534
|
+
P("div", vT, [P("p", yT, H(U(n)("hint.approvalChannels")), 1), (z(!0), N(k, null, Or(Ft.value, (t) => (z(), N(k, { key: t.key }, [Ut.value || !t.tools.every((e) => U(ee)(e)) ? (z(), j(oo, {
|
|
19533
19535
|
key: 0,
|
|
19534
19536
|
class: "mb-0"
|
|
19535
19537
|
}, {
|
|
19536
|
-
legend: K(() => [P("span",
|
|
19538
|
+
legend: K(() => [P("span", bT, [I(l, {
|
|
19537
19539
|
name: t.icon,
|
|
19538
19540
|
class: "text-16"
|
|
19539
19541
|
}, null, 8, ["name"]), F(" " + H(U(n)(`toolGroup.${t.key}`)), 1)])]),
|
|
19540
|
-
default: K(() => [P("p",
|
|
19542
|
+
default: K(() => [P("p", xT, H(U(n)(`toolGroupInfo.${t.key}`)), 1), P("div", ST, [(z(!0), N(k, null, Or(t.tools, (t) => (z(), N(k, { key: t }, [!U(ee)(t) || Ut.value ? (z(), N(k, { key: 0 }, [I(me, {
|
|
19541
19543
|
class: "flex-nowrap border-t border-surface-3 mr-0 px-md pt-md",
|
|
19542
19544
|
"model-value": D(t),
|
|
19543
19545
|
name: `tool.${t}`,
|
|
@@ -19547,9 +19549,9 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19547
19549
|
switch: "",
|
|
19548
19550
|
"onUpdate:modelValue": (e) => Vt(t, e)
|
|
19549
19551
|
}, {
|
|
19550
|
-
default: K(() => [P("div",
|
|
19551
|
-
P("div",
|
|
19552
|
-
P("strong",
|
|
19552
|
+
default: K(() => [P("div", CT, [
|
|
19553
|
+
P("div", wT, [
|
|
19554
|
+
P("strong", TT, H(U(n)(`agent.tool.${t}`)), 1),
|
|
19553
19555
|
t === U(T).ShowMultipleChoice ? (z(), j(rt, {
|
|
19554
19556
|
key: 0,
|
|
19555
19557
|
modifiers: "gray sm"
|
|
@@ -19557,9 +19559,9 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19557
19559
|
default: K(() => [F(H(U(n)("label.deprecated")), 1)]),
|
|
19558
19560
|
_: 1
|
|
19559
19561
|
})) : M("", !0),
|
|
19560
|
-
Rt(t) ? (z(), j(
|
|
19562
|
+
Rt(t) ? (z(), j(qC, { key: 1 })) : M("", !0)
|
|
19561
19563
|
]),
|
|
19562
|
-
P("small",
|
|
19564
|
+
P("small", ET, H(U(n)(`hint.tool.${t}`)), 1),
|
|
19563
19565
|
U(ee)(t) && U(S)(t) ? (z(), N("div", {
|
|
19564
19566
|
key: 0,
|
|
19565
19567
|
class: "flex items-center gap-4 self-start mt-4 pt-4 w-full border-t border-surface-3",
|
|
@@ -19582,7 +19584,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19582
19584
|
class: "text-12"
|
|
19583
19585
|
}), F(" " + H(U(n)("label.teams")), 1)]),
|
|
19584
19586
|
_: 1
|
|
19585
|
-
})], 8,
|
|
19587
|
+
})], 8, DT)) : M("", !0)
|
|
19586
19588
|
])]),
|
|
19587
19589
|
_: 2
|
|
19588
19590
|
}, 1032, [
|
|
@@ -19596,7 +19598,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19596
19598
|
modifiers: "details",
|
|
19597
19599
|
class: "border border-surface-3 rounded-lg mx-md mb-md"
|
|
19598
19600
|
}, {
|
|
19599
|
-
default: K(() => [P("div",
|
|
19601
|
+
default: K(() => [P("div", OT, [
|
|
19600
19602
|
t === U(T).ShowForm ? (z(), N(k, { key: 0 }, [I(w, {
|
|
19601
19603
|
modelValue: Pe.value,
|
|
19602
19604
|
"onUpdate:modelValue": c[56] ||= (e) => Pe.value = e,
|
|
@@ -19677,7 +19679,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19677
19679
|
_: 2
|
|
19678
19680
|
}, 1024)) : M("", !0)], 64))), 128))])
|
|
19679
19681
|
]),
|
|
19680
|
-
"panel::embed": K(() => [P("div",
|
|
19682
|
+
"panel::embed": K(() => [P("div", kT, [
|
|
19681
19683
|
Ct.value.includes(U(oe).Widget) ? M("", !0) : (z(), j(QS, {
|
|
19682
19684
|
key: 0,
|
|
19683
19685
|
level: "warning",
|
|
@@ -19694,8 +19696,8 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19694
19696
|
default: K(() => [F(H(U(n)("hint.channelAppDisabled")), 1)]),
|
|
19695
19697
|
_: 1
|
|
19696
19698
|
})),
|
|
19697
|
-
P("div", null, [P("h3",
|
|
19698
|
-
I(
|
|
19699
|
+
P("div", null, [P("h3", AT, H(U(n)("label.chatWidget")), 1), P("p", jT, H(U(n)("hint.embedCode")), 1)]),
|
|
19700
|
+
I(Ew, { source: qt.value }, {
|
|
19699
19701
|
default: K(() => [I(Xe, {
|
|
19700
19702
|
code: qt.value,
|
|
19701
19703
|
language: "html",
|
|
@@ -19704,7 +19706,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19704
19706
|
}, null, 8, ["code"])]),
|
|
19705
19707
|
_: 1
|
|
19706
19708
|
}, 8, ["source"]),
|
|
19707
|
-
e.playground ? M("", !0) : (z(), N("div",
|
|
19709
|
+
e.playground ? M("", !0) : (z(), N("div", MT, [
|
|
19708
19710
|
I(w, {
|
|
19709
19711
|
modelValue: Ie.value,
|
|
19710
19712
|
"onUpdate:modelValue": c[60] ||= (e) => Ie.value = e,
|
|
@@ -19723,7 +19725,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19723
19725
|
modifiers: "details",
|
|
19724
19726
|
class: "border border-surface-3 rounded-lg mb-md"
|
|
19725
19727
|
}, {
|
|
19726
|
-
default: K(() => [P("div",
|
|
19728
|
+
default: K(() => [P("div", NT, [
|
|
19727
19729
|
I(w, {
|
|
19728
19730
|
modelValue: Le.value,
|
|
19729
19731
|
"onUpdate:modelValue": c[61] ||= (e) => Le.value = e,
|
|
@@ -19784,7 +19786,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19784
19786
|
class: "mb-0"
|
|
19785
19787
|
}, {
|
|
19786
19788
|
default: K(() => [
|
|
19787
|
-
P("p",
|
|
19789
|
+
P("p", PT, H(U(n)("hint.externalContextSchema")), 1),
|
|
19788
19790
|
I(ZS, {
|
|
19789
19791
|
modelValue: kt.value,
|
|
19790
19792
|
"onUpdate:modelValue": c[63] ||= (e) => kt.value = e,
|
|
@@ -19832,8 +19834,8 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19832
19834
|
_: 1
|
|
19833
19835
|
}, 8, ["legend"])
|
|
19834
19836
|
])),
|
|
19835
|
-
P("div", null, [P("h3",
|
|
19836
|
-
I(
|
|
19837
|
+
P("div", null, [P("h3", FT, H(U(n)("label.iframe")), 1), P("p", IT, H(U(n)("hint.embedIframe")), 1)]),
|
|
19838
|
+
I(Ew, { source: Jt.value }, {
|
|
19837
19839
|
default: K(() => [I(Xe, {
|
|
19838
19840
|
code: Jt.value,
|
|
19839
19841
|
language: "html",
|
|
@@ -19842,8 +19844,8 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19842
19844
|
}, null, 8, ["code"])]),
|
|
19843
19845
|
_: 1
|
|
19844
19846
|
}, 8, ["source"]),
|
|
19845
|
-
P("div", null, [P("h4",
|
|
19846
|
-
I(
|
|
19847
|
+
P("div", null, [P("h4", LT, H(U(n)("label.preview")), 1), P("p", RT, H(U(n)("hint.embedPreview")), 1)]),
|
|
19848
|
+
I(Ew, { source: Kt.value }, {
|
|
19847
19849
|
actions: K(() => [I(et, {
|
|
19848
19850
|
modifiers: "action-quiet-small",
|
|
19849
19851
|
icon: "ri:eye-line",
|
|
@@ -19851,12 +19853,12 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19851
19853
|
href: Kt.value,
|
|
19852
19854
|
target: "_blank"
|
|
19853
19855
|
}, null, 8, ["label", "href"])]),
|
|
19854
|
-
default: K(() => [P("code",
|
|
19856
|
+
default: K(() => [P("code", zT, H(Kt.value), 1)]),
|
|
19855
19857
|
_: 1
|
|
19856
19858
|
}, 8, ["source"])
|
|
19857
19859
|
])]),
|
|
19858
19860
|
"panel::security": K(() => [I(oo, { legend: U(n)("label.rateLimits") }, {
|
|
19859
|
-
default: K(() => [P("div",
|
|
19861
|
+
default: K(() => [P("div", BT, [
|
|
19860
19862
|
I(w, {
|
|
19861
19863
|
modelValue: Te.value,
|
|
19862
19864
|
"onUpdate:modelValue": c[68] ||= (e) => Te.value = e,
|
|
@@ -19969,7 +19971,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
19969
19971
|
}, 8, ["items"]), V(s.$slots, "default")]);
|
|
19970
19972
|
};
|
|
19971
19973
|
}
|
|
19972
|
-
}),
|
|
19974
|
+
}), HT = ["aria-current", "title"], UT = /* @__PURE__ */ L({
|
|
19973
19975
|
__name: "PkChatSidebarConversationItem",
|
|
19974
19976
|
props: /*@__PURE__*/ gr({
|
|
19975
19977
|
conversation: {},
|
|
@@ -20026,7 +20028,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20026
20028
|
"aria-current": e.active ? "page" : void 0,
|
|
20027
20029
|
title: o.value,
|
|
20028
20030
|
onClick: n[4] ||= (e) => i("select")
|
|
20029
|
-
}, H(o.value), 9,
|
|
20031
|
+
}, H(o.value), 9, HT), I(f, _r({
|
|
20030
20032
|
placement: "bottom-end",
|
|
20031
20033
|
modifiers: "menu",
|
|
20032
20034
|
flip: !0,
|
|
@@ -20059,19 +20061,19 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20059
20061
|
}, 16)], 64))], 2);
|
|
20060
20062
|
};
|
|
20061
20063
|
}
|
|
20062
|
-
}),
|
|
20064
|
+
}), WT = ["inert", "aria-label"], GT = { class: "pk-chat-sidebar__header" }, KT = ["title"], qT = { class: "pk-chat-sidebar__actions" }, JT = {
|
|
20063
20065
|
key: 0,
|
|
20064
20066
|
class: "pk-chat-sidebar__list vv-skeleton"
|
|
20065
|
-
},
|
|
20067
|
+
}, YT = {
|
|
20066
20068
|
key: 1,
|
|
20067
20069
|
class: "pk-chat-sidebar__list"
|
|
20068
|
-
},
|
|
20070
|
+
}, XT = {
|
|
20069
20071
|
key: 0,
|
|
20070
20072
|
class: "pk-chat-sidebar__no-results"
|
|
20071
|
-
},
|
|
20073
|
+
}, ZT = { class: "pk-chat-sidebar__group-label" }, QT = {
|
|
20072
20074
|
key: 2,
|
|
20073
20075
|
class: "pk-chat-sidebar__footer"
|
|
20074
|
-
},
|
|
20076
|
+
}, $T = 864e5, eE = /* @__PURE__ */ L({
|
|
20075
20077
|
__name: "PkChatSidebar",
|
|
20076
20078
|
props: /*@__PURE__*/ gr({
|
|
20077
20079
|
agentId: {},
|
|
@@ -20107,7 +20109,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20107
20109
|
};
|
|
20108
20110
|
for (let n of w.value) {
|
|
20109
20111
|
let r = n.lastMessageAt ? new Date(n.lastMessageAt).getTime() : 0;
|
|
20110
|
-
r >= e ? t.today.push(n) : r >= e -
|
|
20112
|
+
r >= e ? t.today.push(n) : r >= e - $T ? t.yesterday.push(n) : r >= e - 7 * $T ? t.last7Days.push(n) : r >= e - 30 * $T ? t.last30Days.push(n) : t.older.push(n);
|
|
20111
20113
|
}
|
|
20112
20114
|
return Object.entries(t).filter(([, e]) => e.length > 0).map(([e, t]) => ({
|
|
20113
20115
|
key: e,
|
|
@@ -20150,7 +20152,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20150
20152
|
"aria-label": U(s)("label.conversations"),
|
|
20151
20153
|
onKeydown: se
|
|
20152
20154
|
}, [
|
|
20153
|
-
P("header",
|
|
20155
|
+
P("header", GT, [
|
|
20154
20156
|
e.organizationLogo || e.organizationName ? (z(), j(gn, {
|
|
20155
20157
|
key: 0,
|
|
20156
20158
|
modifiers: "surface ring",
|
|
@@ -20162,7 +20164,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20162
20164
|
key: 1,
|
|
20163
20165
|
class: "pk-chat-sidebar__org-name",
|
|
20164
20166
|
title: e.organizationName
|
|
20165
|
-
}, H(e.organizationName), 9,
|
|
20167
|
+
}, H(e.organizationName), 9, KT)) : M("", !0),
|
|
20166
20168
|
I(a, {
|
|
20167
20169
|
class: "ml-auto",
|
|
20168
20170
|
icon: U(i) ? "ri:close-line" : "ri:sidebar-fold-line",
|
|
@@ -20176,8 +20178,8 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20176
20178
|
"title"
|
|
20177
20179
|
])
|
|
20178
20180
|
]),
|
|
20179
|
-
P("div",
|
|
20180
|
-
e.agents ? (z(), j(
|
|
20181
|
+
P("div", qT, [
|
|
20182
|
+
e.agents ? (z(), j(UC, {
|
|
20181
20183
|
key: 0,
|
|
20182
20184
|
agents: e.agents,
|
|
20183
20185
|
"model-value": e.agentId,
|
|
@@ -20199,13 +20201,13 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20199
20201
|
placeholder: U(s)("placeholder.search")
|
|
20200
20202
|
}, null, 8, ["modelValue", "placeholder"])
|
|
20201
20203
|
]),
|
|
20202
|
-
U(u) && U(l).length === 0 ? (z(), N("div",
|
|
20204
|
+
U(u) && U(l).length === 0 ? (z(), N("div", JT, [(z(), N(k, null, Or(6, (e) => P("div", {
|
|
20203
20205
|
key: e,
|
|
20204
20206
|
class: "vv-skeleton__item rounded-md h-36"
|
|
20205
|
-
})), 64))])) : (z(), N("nav",
|
|
20207
|
+
})), 64))])) : (z(), N("nav", YT, [te.value.length === 0 ? (z(), N("p", XT, H(U(s)("message.noConversations")), 1)) : M("", !0), (z(!0), N(k, null, Or(te.value, (t) => (z(), N("div", {
|
|
20206
20208
|
key: t.key,
|
|
20207
20209
|
class: "pk-chat-sidebar__group"
|
|
20208
|
-
}, [P("span",
|
|
20210
|
+
}, [P("span", ZT, H(t.label), 1), (z(!0), N(k, null, Or(t.items, (t) => (z(), j(UT, {
|
|
20209
20211
|
key: t.id,
|
|
20210
20212
|
"editing-title": U(_),
|
|
20211
20213
|
"onUpdate:editingTitle": n[4] ||= (e) => mr(_) ? _.value = e : null,
|
|
@@ -20234,44 +20236,44 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20234
20236
|
"onDelete",
|
|
20235
20237
|
"onFiles"
|
|
20236
20238
|
]))), 128))]))), 128))])),
|
|
20237
|
-
t.$slots.footer ? (z(), N("footer",
|
|
20238
|
-
], 46,
|
|
20239
|
+
t.$slots.footer ? (z(), N("footer", QT, [V(t.$slots, "footer")])) : M("", !0)
|
|
20240
|
+
], 46, WT)], 64);
|
|
20239
20241
|
};
|
|
20240
20242
|
}
|
|
20241
|
-
}),
|
|
20243
|
+
}), tE = { class: "pk-retry-countdown" }, nE = /* @__PURE__ */ L({
|
|
20242
20244
|
__name: "PkRetryCountdown",
|
|
20243
20245
|
props: {
|
|
20244
20246
|
countdown: {},
|
|
20245
20247
|
maxSeconds: {}
|
|
20246
20248
|
},
|
|
20247
20249
|
setup(e) {
|
|
20248
|
-
return (e, t) => (z(), N("div",
|
|
20250
|
+
return (e, t) => (z(), N("div", tE, [...t[0] ||= [dr("<div class=\"pk-retry-countdown__loader\"><div class=\"pk-retry-countdown__bubble\"><div class=\"pk-retry-countdown__typing\"><span class=\"pk-retry-countdown__dot\"></span><span class=\"pk-retry-countdown__dot\"></span><span class=\"pk-retry-countdown__dot\"></span></div></div></div>", 1)]]));
|
|
20249
20251
|
}
|
|
20250
|
-
}),
|
|
20252
|
+
}), rE = {
|
|
20251
20253
|
key: 0,
|
|
20252
20254
|
class: "pk-tool-selection"
|
|
20253
|
-
},
|
|
20255
|
+
}, iE = { class: "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" }, aE = { class: "flex items-center bg-gray-lighten-1 text-white px-6 py-3 rounded" }, oE = { class: "font-semibold text-12 truncate" }, sE = {
|
|
20254
20256
|
key: 0,
|
|
20255
|
-
class: "text-10 text-
|
|
20256
|
-
},
|
|
20257
|
+
class: "text-10 text-word-1 bg-surface-warning rounded px-4 py-2"
|
|
20258
|
+
}, cE = ["title"], lE = { class: "font-mono text-10 text-word-3 truncate ml-auto" }, uE = { class: "border rounded-b border-surface-3" }, dE = {
|
|
20257
20259
|
key: 0,
|
|
20258
20260
|
class: "flex flex-col gap-6 p-8 border-b border-surface-3 text-12 text-word-2"
|
|
20259
|
-
},
|
|
20261
|
+
}, fE = { key: 0 }, pE = {
|
|
20260
20262
|
key: 1,
|
|
20261
|
-
class: "flex items-center gap-4
|
|
20262
|
-
},
|
|
20263
|
+
class: "flex items-center gap-4"
|
|
20264
|
+
}, mE = { class: "flex flex-wrap items-center justify-between gap-x-12 gap-y-4 p-8 border-b border-surface-3 text-12 text-word-3" }, hE = ["title"], gE = { class: "flex shrink-0" }, _E = { class: "pk-tool-selection__label" }, vE = { class: "tabular-nums truncate" }, yE = { class: "pk-tool-selection__groups" }, bE = { class: "flex flex-col gap-4 min-w-0" }, xE = { class: "flex items-center gap-6 min-w-0" }, SE = { class: "pk-tool-selection__label" }, CE = ["title"], wE = { class: "flex flex-wrap items-center gap-x-6 gap-y-2 text-10 text-word-3" }, TE = { key: 0 }, EE = {
|
|
20263
20265
|
key: 1,
|
|
20264
|
-
class: "text-
|
|
20265
|
-
},
|
|
20266
|
+
class: "text-word-1 bg-surface-warning rounded px-4 py-2"
|
|
20267
|
+
}, DE = {
|
|
20266
20268
|
key: 2,
|
|
20267
20269
|
class: "pk-tool-selection__label"
|
|
20268
|
-
},
|
|
20270
|
+
}, OE = {
|
|
20269
20271
|
key: 3,
|
|
20270
20272
|
class: "pk-tool-selection__tag rounded px-4 py-2"
|
|
20271
|
-
},
|
|
20273
|
+
}, kE = {
|
|
20272
20274
|
key: 4,
|
|
20273
20275
|
class: "pk-tool-selection__tag rounded px-4 py-2"
|
|
20274
|
-
},
|
|
20276
|
+
}, AE = ["title"], jE = { class: "text-10 text-word-2 tabular-nums" }, ME = /* @__PURE__ */ L({
|
|
20275
20277
|
__name: "PkToolSelection",
|
|
20276
20278
|
props: { message: {} },
|
|
20277
20279
|
setup(e) {
|
|
@@ -20313,32 +20315,32 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20313
20315
|
});
|
|
20314
20316
|
return (e, t) => {
|
|
20315
20317
|
let s = $n;
|
|
20316
|
-
return a.value ? (z(), N("section",
|
|
20317
|
-
P("div",
|
|
20318
|
+
return a.value ? (z(), N("section", rE, [P("header", iE, [
|
|
20319
|
+
P("div", aE, [I(s, {
|
|
20318
20320
|
name: "ri:filter-3-line",
|
|
20319
20321
|
class: "w-12 h-12"
|
|
20320
20322
|
})]),
|
|
20321
|
-
P("strong",
|
|
20322
|
-
a.value.decision.failed ? (z(), N("span",
|
|
20323
|
+
P("strong", oE, H(U(n)("toolSelection.title")), 1),
|
|
20324
|
+
a.value.decision.failed ? (z(), N("span", sE, H(U(n)("toolSelection.failed")), 1)) : (z(), N("span", {
|
|
20323
20325
|
key: 1,
|
|
20324
20326
|
class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2",
|
|
20325
20327
|
title: U(n)(`toolSelection.modeHint.${a.value.decision.mode}`)
|
|
20326
|
-
}, H(U(n)(`toolSelection.mode.${a.value.decision.mode}`)), 9,
|
|
20327
|
-
P("code",
|
|
20328
|
-
]), P("div",
|
|
20329
|
-
a.value.decision.failed || a.value.missed > 0 ? (z(), N("div",
|
|
20328
|
+
}, H(U(n)(`toolSelection.mode.${a.value.decision.mode}`)), 9, cE)),
|
|
20329
|
+
P("code", lE, H(U(pe)), 1)
|
|
20330
|
+
]), P("div", uE, [
|
|
20331
|
+
a.value.decision.failed || a.value.missed > 0 ? (z(), N("div", dE, [a.value.decision.failed ? (z(), N("p", fE, H(U(n)("toolSelection.leadFailed", { budget: U(r)(a.value.decision.budgetMs, "integer") })), 1)) : M("", !0), a.value.missed > 0 ? (z(), N("p", pE, [I(s, {
|
|
20330
20332
|
name: "ri:error-warning-line",
|
|
20331
|
-
class: "shrink-0"
|
|
20333
|
+
class: "shrink-0 text-warning-darken-3"
|
|
20332
20334
|
}), F(" " + H(U(n)(a.value.decision.mode === "active" ? "toolSelection.missedActive" : "toolSelection.missedShadow", a.value.missed)), 1)])) : M("", !0)])) : M("", !0),
|
|
20333
|
-
P("dl",
|
|
20335
|
+
P("dl", mE, [(z(!0), N(k, null, Or(o.value, (e) => (z(), N("div", {
|
|
20334
20336
|
key: e.icon,
|
|
20335
20337
|
class: "flex items-center gap-6 min-w-0",
|
|
20336
20338
|
title: e.label
|
|
20337
|
-
}, [P("dt",
|
|
20339
|
+
}, [P("dt", gE, [I(s, {
|
|
20338
20340
|
name: e.icon,
|
|
20339
20341
|
"aria-hidden": "true"
|
|
20340
|
-
}, null, 8, ["name"]), P("span",
|
|
20341
|
-
P("ul",
|
|
20342
|
+
}, null, 8, ["name"]), P("span", _E, H(e.label), 1)]), P("dd", vE, H(e.value), 1)], 8, hE))), 128))]),
|
|
20343
|
+
P("ul", yE, [(z(!0), N(k, null, Or(a.value.groups, (e) => (z(), N("li", {
|
|
20342
20344
|
key: e.id,
|
|
20343
20345
|
class: yr(["pk-tool-selection__group", {
|
|
20344
20346
|
"pk-tool-selection__group--selected": e.selected,
|
|
@@ -20349,24 +20351,24 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20349
20351
|
name: e.selected ? "ri:check-line" : "ri:subtract-line",
|
|
20350
20352
|
class: "pk-tool-selection__mark shrink-0"
|
|
20351
20353
|
}, null, 8, ["name"]),
|
|
20352
|
-
P("div",
|
|
20354
|
+
P("div", bE, [P("span", xE, [
|
|
20353
20355
|
I(s, {
|
|
20354
20356
|
name: i[e.kind],
|
|
20355
20357
|
class: "shrink-0 w-14 h-14",
|
|
20356
20358
|
title: U(n)(`toolSelection.kind.${e.kind}`),
|
|
20357
20359
|
"aria-hidden": "true"
|
|
20358
20360
|
}, null, 8, ["name", "title"]),
|
|
20359
|
-
P("span",
|
|
20361
|
+
P("span", SE, H(U(n)(`toolSelection.kind.${e.kind}`)), 1),
|
|
20360
20362
|
P("span", {
|
|
20361
20363
|
class: "pk-tool-selection__name truncate",
|
|
20362
20364
|
title: e.name
|
|
20363
|
-
}, H(e.name), 9,
|
|
20364
|
-
]), P("span",
|
|
20365
|
-
e.kind === "mcp" ? (z(), N("span",
|
|
20366
|
-
e.used && !e.selected ? (z(), N("span",
|
|
20367
|
-
e.used ? (z(), N("span",
|
|
20368
|
-
e.enabled ? (z(), N("span",
|
|
20369
|
-
e.seeded ? (z(), N("span",
|
|
20365
|
+
}, H(e.name), 9, CE)
|
|
20366
|
+
]), P("span", wE, [
|
|
20367
|
+
e.kind === "mcp" ? (z(), N("span", TE, H(U(n)("toolSelection.tools", e.tools)), 1)) : M("", !0),
|
|
20368
|
+
e.used && !e.selected ? (z(), N("span", EE, H(U(n)("toolSelection.missed")), 1)) : M("", !0),
|
|
20369
|
+
e.used ? (z(), N("span", DE, H(U(n)("toolSelection.used")), 1)) : M("", !0),
|
|
20370
|
+
e.enabled ? (z(), N("span", OE, H(U(n)("toolSelection.enabled")), 1)) : M("", !0),
|
|
20371
|
+
e.seeded ? (z(), N("span", kE, H(U(n)("toolSelection.seeded")), 1)) : M("", !0)
|
|
20370
20372
|
])]),
|
|
20371
20373
|
e.probability === void 0 ? M("", !0) : (z(), N("div", {
|
|
20372
20374
|
key: 0,
|
|
@@ -20379,18 +20381,18 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20379
20381
|
"--pk-tool-selection-probability": `${e.probability * 100}%`,
|
|
20380
20382
|
"--pk-tool-selection-threshold": `${a.value.decision.threshold * 100}%`
|
|
20381
20383
|
})
|
|
20382
|
-
}, null, 4), P("span",
|
|
20384
|
+
}, null, 4), P("span", jE, H(U(r)(e.probability, "decimal")), 1)], 8, AE))
|
|
20383
20385
|
], 2))), 128))])
|
|
20384
20386
|
])])) : M("", !0);
|
|
20385
20387
|
};
|
|
20386
20388
|
}
|
|
20387
|
-
}),
|
|
20389
|
+
}), NE = ["aria-labelledby"], PE = { class: "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" }, FE = { class: "flex items-center bg-gray-lighten-1 text-white px-6 py-3 rounded" }, IE = ["id"], LE = {
|
|
20388
20390
|
key: 0,
|
|
20389
|
-
class: "text-10 text-
|
|
20390
|
-
},
|
|
20391
|
+
class: "text-10 text-word-1 bg-surface-warning rounded px-4 py-2"
|
|
20392
|
+
}, RE = ["title"], zE = { class: "u-visually-hidden" }, BE = ["title"], VE = { class: "u-visually-hidden" }, HE = { class: "border rounded-b border-surface-3" }, UE = {
|
|
20391
20393
|
key: 0,
|
|
20392
20394
|
class: "p-8 border-b border-surface-3 text-12 text-word-2"
|
|
20393
|
-
},
|
|
20395
|
+
}, WE = ["title"], GE = { class: "flex shrink-0" }, KE = { class: "u-visually-hidden" }, qE = { class: "tabular-nums truncate" }, JE = { key: 1 }, YE = ["title"], XE = ["title"], ZE = { class: "text-10 text-word-2 tabular-nums" }, QE = .5, $E = /* @__PURE__ */ L({
|
|
20394
20396
|
__name: "PkTurnEvaluation",
|
|
20395
20397
|
props: { message: {} },
|
|
20396
20398
|
setup(e) {
|
|
@@ -20434,79 +20436,79 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20434
20436
|
key: 0,
|
|
20435
20437
|
class: "pk-turn-evaluation",
|
|
20436
20438
|
"aria-labelledby": U(a)
|
|
20437
|
-
}, [P("header",
|
|
20438
|
-
P("div",
|
|
20439
|
+
}, [P("header", PE, [
|
|
20440
|
+
P("div", FE, [I(r, {
|
|
20439
20441
|
name: "ri:scales-line",
|
|
20440
20442
|
class: "w-12 h-12"
|
|
20441
20443
|
})]),
|
|
20442
20444
|
P("strong", {
|
|
20443
20445
|
id: U(a),
|
|
20444
20446
|
class: "font-semibold text-12 truncate"
|
|
20445
|
-
}, H(U(n)("turnEvaluation.title")), 9,
|
|
20446
|
-
o.value.failed ? (z(), N("span",
|
|
20447
|
+
}, H(U(n)("turnEvaluation.title")), 9, IE),
|
|
20448
|
+
o.value.failed ? (z(), N("span", LE, H(U(n)("toolSelection.failed")), 1)) : (z(), N("span", {
|
|
20447
20449
|
key: 1,
|
|
20448
20450
|
class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2",
|
|
20449
20451
|
title: U(n)("turnEvaluation.modeHint")
|
|
20450
|
-
}, [F(H(U(n)(`toolSelection.mode.${o.value.mode}`)) + " ", 1), P("span",
|
|
20452
|
+
}, [F(H(U(n)(`toolSelection.mode.${o.value.mode}`)) + " ", 1), P("span", zE, H(U(n)("turnEvaluation.modeHint")), 1)], 8, RE)),
|
|
20451
20453
|
P("code", {
|
|
20452
20454
|
class: "font-mono text-10 text-word-3 truncate ml-auto",
|
|
20453
20455
|
title: U(n)("turnEvaluation.version", { version: o.value.version })
|
|
20454
|
-
}, [F(H(U(pe)) + " ", 1), P("span",
|
|
20455
|
-
]), P("div",
|
|
20456
|
-
o.value.failed ? (z(), N("p",
|
|
20456
|
+
}, [F(H(U(pe)) + " ", 1), P("span", VE, H(U(n)("turnEvaluation.version", { version: o.value.version })), 1)], 8, BE)
|
|
20457
|
+
]), P("div", HE, [
|
|
20458
|
+
o.value.failed ? (z(), N("p", UE, H(U(n)("turnEvaluation.leadFailed", { budget: U(i)(o.value.budgetMs, "integer") })), 1)) : M("", !0),
|
|
20457
20459
|
P("dl", { class: yr(["flex flex-wrap items-center justify-between gap-x-12 gap-y-4 p-8 text-12 text-word-3", { "border-b border-surface-3": c.value.length > 0 }]) }, [(z(!0), N(k, null, Or(l.value, (e) => (z(), N("div", {
|
|
20458
20460
|
key: e.icon,
|
|
20459
20461
|
class: "flex items-center gap-6 min-w-0",
|
|
20460
20462
|
title: e.label
|
|
20461
|
-
}, [P("dt",
|
|
20463
|
+
}, [P("dt", GE, [I(r, {
|
|
20462
20464
|
name: e.icon,
|
|
20463
20465
|
"aria-hidden": "true"
|
|
20464
|
-
}, null, 8, ["name"]), P("span",
|
|
20465
|
-
c.value.length > 0 ? (z(), N("ul",
|
|
20466
|
+
}, null, 8, ["name"]), P("span", KE, H(e.label), 1)]), P("dd", qE, H(e.value), 1)], 8, WE))), 128))], 2),
|
|
20467
|
+
c.value.length > 0 ? (z(), N("ul", JE, [(z(!0), N(k, null, Or(c.value, (e) => (z(), N("li", {
|
|
20466
20468
|
key: e.id,
|
|
20467
|
-
class: yr(["pk-turn-evaluation__question", { "pk-turn-evaluation__question--yes": e.probability >=
|
|
20469
|
+
class: yr(["pk-turn-evaluation__question", { "pk-turn-evaluation__question--yes": e.probability >= QE }])
|
|
20468
20470
|
}, [P("span", {
|
|
20469
20471
|
class: "truncate",
|
|
20470
20472
|
title: e.label
|
|
20471
|
-
}, H(e.label), 9,
|
|
20473
|
+
}, H(e.label), 9, YE), P("div", {
|
|
20472
20474
|
class: "pk-turn-evaluation__probability",
|
|
20473
20475
|
title: U(n)("turnEvaluation.probability")
|
|
20474
20476
|
}, [P("span", {
|
|
20475
20477
|
class: "pk-turn-evaluation__bar",
|
|
20476
20478
|
"aria-hidden": "true",
|
|
20477
20479
|
style: xr({ "--pk-turn-evaluation-probability": `${e.probability * 100}%` })
|
|
20478
|
-
}, null, 4), P("span",
|
|
20479
|
-
])], 8,
|
|
20480
|
+
}, null, 4), P("span", ZE, H(U(i)(e.probability, "decimal")), 1)], 8, XE)], 2))), 128))])) : M("", !0)
|
|
20481
|
+
])], 8, NE)) : M("", !0);
|
|
20480
20482
|
};
|
|
20481
20483
|
}
|
|
20482
|
-
}),
|
|
20484
|
+
}), eD = { class: "flex flex-col gap-16" }, tD = {
|
|
20483
20485
|
key: 0,
|
|
20484
20486
|
class: "grid grid-cols-2 gap-x-10 text-12 text-word-3 justify-between"
|
|
20485
|
-
},
|
|
20487
|
+
}, nD = { class: "flex flex-col gap-y-4" }, rD = {
|
|
20486
20488
|
key: 1,
|
|
20487
20489
|
class: "flex items-center gap-4 min-w-0"
|
|
20488
|
-
},
|
|
20490
|
+
}, iD = { class: "truncate" }, aD = {
|
|
20489
20491
|
key: 2,
|
|
20490
20492
|
class: "flex items-center gap-4 min-w-0"
|
|
20491
|
-
},
|
|
20493
|
+
}, oD = { class: "truncate" }, sD = { key: 0 }, cD = {
|
|
20492
20494
|
key: 3,
|
|
20493
20495
|
class: "flex items-center gap-4"
|
|
20494
|
-
},
|
|
20496
|
+
}, lD = {
|
|
20495
20497
|
key: 4,
|
|
20496
20498
|
class: "flex items-center gap-4"
|
|
20497
|
-
},
|
|
20499
|
+
}, uD = { class: "flex flex-col gap-y-4 items-end" }, dD = ["datetime"], fD = {
|
|
20498
20500
|
key: 1,
|
|
20499
20501
|
class: "flex items-center gap-4"
|
|
20500
|
-
},
|
|
20502
|
+
}, pD = { key: 0 }, mD = {
|
|
20501
20503
|
key: 2,
|
|
20502
20504
|
class: "flex items-center gap-4"
|
|
20503
|
-
},
|
|
20505
|
+
}, hD = {
|
|
20504
20506
|
key: 3,
|
|
20505
20507
|
class: "flex items-center gap-4 min-w-0"
|
|
20506
|
-
},
|
|
20508
|
+
}, gD = { class: "truncate" }, _D = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, vD = { class: "font-semibold truncate" }, yD = ["title"], bD = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, xD = { class: "font-semibold truncate" }, SD = ["title"], CD = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, wD = { class: "font-semibold truncate" }, TD = ["title"], ED = { class: "flex flex-col gap-16" }, DD = { class: "flex items-center bg-gray-lighten-1 text-white px-6 py-3 rounded" }, OD = { class: "tracking-widest border-r border-gray-lighten-3 pr-4" }, kD = { class: "font-bold text-12" }, AD = { class: "text-10" }, jD = { class: "font-mono text-10 text-word-2 truncate" }, MD = {
|
|
20507
20509
|
key: 0,
|
|
20508
20510
|
class: "text-10 text-word-4 whitespace-nowrap ml-auto"
|
|
20509
|
-
},
|
|
20511
|
+
}, ND = { key: 0 }, PD = { class: "border rounded-b border-surface-3" }, FD = { class: "font-bold text-10 uppercase p-8 border-b border-surface-3" }, ID = { class: "font-bold text-10 uppercase p-8 border-b border-t border-surface-3" }, LD = /* @__PURE__ */ L({
|
|
20510
20512
|
__name: "PkMessageParts",
|
|
20511
20513
|
props: { message: {} },
|
|
20512
20514
|
setup(e) {
|
|
@@ -20537,29 +20539,29 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20537
20539
|
}), o = A(() => t.message?.metadata?.transport === ae.Voice), s = A(() => t.message?.metadata?.externalContext && Object.keys(t.message.metadata.externalContext).length > 0), c = A(() => t.message?.metadata?.platformContext && Object.keys(t.message.metadata.platformContext).length > 0);
|
|
20538
20540
|
return (t, l) => {
|
|
20539
20541
|
let u = $n, d = Vn, f = Hn, p = kr("PjResizablePanel");
|
|
20540
|
-
return z(), N("div",
|
|
20541
|
-
e.message.metadata?.model || o.value ? (z(), N("div",
|
|
20542
|
-
e.message.metadata?.model ? (z(), j(
|
|
20542
|
+
return z(), N("div", eD, [
|
|
20543
|
+
e.message.metadata?.model || o.value ? (z(), N("div", tD, [P("div", nD, [
|
|
20544
|
+
e.message.metadata?.model ? (z(), j(iw, {
|
|
20543
20545
|
key: 0,
|
|
20544
20546
|
"model-name": e.message.metadata?.model,
|
|
20545
20547
|
historical: ""
|
|
20546
20548
|
}, null, 8, ["model-name"])) : M("", !0),
|
|
20547
|
-
e.message?.metadata?.resolvedProvider ? (z(), N("span",
|
|
20549
|
+
e.message?.metadata?.resolvedProvider ? (z(), N("span", rD, [I(u, {
|
|
20548
20550
|
name: "ri:cloud-line",
|
|
20549
20551
|
class: "shrink-0"
|
|
20550
|
-
}), P("span",
|
|
20551
|
-
e.message?.metadata?.totalTokens ? (z(), N("span",
|
|
20552
|
+
}), P("span", iD, [F(H(e.message.metadata.resolvedProvider) + " ", 1), e.message.metadata.resolvedModelId ? (z(), N(k, { key: 0 }, [F(" (" + H(e.message.metadata.resolvedModelId) + ") ", 1)], 64)) : M("", !0)])])) : M("", !0),
|
|
20553
|
+
e.message?.metadata?.totalTokens ? (z(), N("span", aD, [I(u, {
|
|
20552
20554
|
name: "ri:ai-generate-2-line",
|
|
20553
20555
|
class: "shrink-0"
|
|
20554
|
-
}), P("span",
|
|
20555
|
-
e.message?.metadata?.zeroDataRetention ? (z(), N("span",
|
|
20556
|
+
}), P("span", oD, [F(H(t.$n(e.message.metadata.totalTokens, "integer")) + " " + H(t.$t("label.tokens")) + " ", 1), e.message?.metadata?.cachedTokens ? (z(), N("span", sD, " (" + H(t.$n(e.message.metadata.cachedTokens, "integer")) + " " + H(t.$t("label.cached")) + ") ", 1)) : M("", !0)])])) : M("", !0),
|
|
20557
|
+
e.message?.metadata?.zeroDataRetention ? (z(), N("span", cD, [I(u, {
|
|
20556
20558
|
name: "ri:shield-check-line",
|
|
20557
20559
|
class: "shrink-0"
|
|
20558
|
-
}), F(" " + H(t.$t("label.noDataRetention")), 1)])) : e.message?.metadata?.disallowPromptTraining ? (z(), N("span",
|
|
20560
|
+
}), F(" " + H(t.$t("label.noDataRetention")), 1)])) : e.message?.metadata?.disallowPromptTraining ? (z(), N("span", lD, [I(u, {
|
|
20559
20561
|
name: "ri:shield-check-line",
|
|
20560
20562
|
class: "shrink-0"
|
|
20561
20563
|
}), F(" " + H(t.$t("label.noPromptTraining")), 1)])) : M("", !0)
|
|
20562
|
-
]), P("div",
|
|
20564
|
+
]), P("div", uD, [
|
|
20563
20565
|
e.message?.metadata?.createdAt ? (z(), N("time", {
|
|
20564
20566
|
key: 0,
|
|
20565
20567
|
datetime: new Date(e.message.metadata.createdAt).toISOString(),
|
|
@@ -20567,8 +20569,8 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20567
20569
|
}, [I(u, {
|
|
20568
20570
|
name: "ri:time-line",
|
|
20569
20571
|
class: "shrink-0"
|
|
20570
|
-
}), F(" " + H(t.$d(new Date(e.message.metadata.createdAt), "date-time")), 1)], 8,
|
|
20571
|
-
e.message?.metadata?.completedAt && e.message?.metadata?.createdAt ? (z(), N("div",
|
|
20572
|
+
}), F(" " + H(t.$d(new Date(e.message.metadata.createdAt), "date-time")), 1)], 8, dD)) : M("", !0),
|
|
20573
|
+
e.message?.metadata?.completedAt && e.message?.metadata?.createdAt ? (z(), N("div", fD, [
|
|
20572
20574
|
I(u, {
|
|
20573
20575
|
name: "ri:hourglass-line",
|
|
20574
20576
|
class: "shrink-0"
|
|
@@ -20577,16 +20579,16 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20577
20579
|
date: e.message.metadata?.createdAt,
|
|
20578
20580
|
"end-date": e.message.metadata?.completedAt
|
|
20579
20581
|
}, null, 8, ["date", "end-date"]),
|
|
20580
|
-
e.message?.metadata?.totalProviderAttemptCount && e.message.metadata.totalProviderAttemptCount > 1 ? (z(), N("span",
|
|
20582
|
+
e.message?.metadata?.totalProviderAttemptCount && e.message.metadata.totalProviderAttemptCount > 1 ? (z(), N("span", pD, " (" + H(e.message.metadata.totalProviderAttemptCount) + " attempts) ", 1)) : M("", !0)
|
|
20581
20583
|
])) : M("", !0),
|
|
20582
|
-
e.message?.metadata?.cost && parseFloat(e.message.metadata.cost) > 0 ? (z(), N("span",
|
|
20584
|
+
e.message?.metadata?.cost && parseFloat(e.message.metadata.cost) > 0 ? (z(), N("span", mD, [I(u, {
|
|
20583
20585
|
name: "ri:wallet-line",
|
|
20584
20586
|
class: "shrink-0"
|
|
20585
20587
|
}), F(" " + H(t.$n(parseFloat(e.message.metadata.cost), "currencyUSD")), 1)])) : M("", !0),
|
|
20586
|
-
o.value ? (z(), N("span",
|
|
20588
|
+
o.value ? (z(), N("span", hD, [I(u, {
|
|
20587
20589
|
name: "ri:mic-line",
|
|
20588
20590
|
class: "shrink-0"
|
|
20589
|
-
}), P("span",
|
|
20591
|
+
}), P("span", gD, H(t.$t("label.spokenExchange")), 1)])) : M("", !0)
|
|
20590
20592
|
])])) : M("", !0),
|
|
20591
20593
|
a.value || c.value || s.value ? (z(), j(f, {
|
|
20592
20594
|
key: 1,
|
|
@@ -20599,10 +20601,10 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20599
20601
|
title: t.$t("label.platformContext"),
|
|
20600
20602
|
class: "border border-surface-3 rounded"
|
|
20601
20603
|
}, {
|
|
20602
|
-
default: K(() => [P("dl",
|
|
20604
|
+
default: K(() => [P("dl", _D, [(z(!0), N(k, null, Or(e.message.metadata?.platformContext, (e, t) => (z(), N(k, { key: t }, [P("dt", vD, H(U(Ne)(U(Pe)(t))), 1), P("dd", {
|
|
20603
20605
|
class: "truncate font-mono col-span-2",
|
|
20604
20606
|
title: String(e)
|
|
20605
|
-
}, H(e), 9,
|
|
20607
|
+
}, H(e), 9, yD)], 64))), 128))])]),
|
|
20606
20608
|
_: 1
|
|
20607
20609
|
}, 8, ["title"])) : M("", !0),
|
|
20608
20610
|
a.value ? (z(), j(d, {
|
|
@@ -20611,10 +20613,10 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20611
20613
|
title: t.$t("label.deviceContext"),
|
|
20612
20614
|
class: "border border-surface-3 rounded"
|
|
20613
20615
|
}, {
|
|
20614
|
-
default: K(() => [P("dl",
|
|
20616
|
+
default: K(() => [P("dl", bD, [(z(!0), N(k, null, Or(a.value, (e, t) => (z(), N(k, { key: t }, [P("dt", xD, H(U(Ne)(U(Pe)(t))), 1), P("dd", {
|
|
20615
20617
|
class: "truncate font-mono col-span-2",
|
|
20616
20618
|
title: String(e)
|
|
20617
|
-
}, H(e), 9,
|
|
20619
|
+
}, H(e), 9, SD)], 64))), 128))])]),
|
|
20618
20620
|
_: 1
|
|
20619
20621
|
}, 8, ["title"])) : M("", !0),
|
|
20620
20622
|
s.value ? (z(), j(d, {
|
|
@@ -20623,19 +20625,19 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20623
20625
|
title: t.$t("label.externalContext"),
|
|
20624
20626
|
class: "border border-surface-3 rounded"
|
|
20625
20627
|
}, {
|
|
20626
|
-
default: K(() => [P("dl",
|
|
20628
|
+
default: K(() => [P("dl", CD, [(z(!0), N(k, null, Or(e.message.metadata?.externalContext, (e, t) => (z(), N(k, { key: t }, [P("dt", wD, H(U(Ne)(U(Pe)(t))), 1), P("dd", {
|
|
20627
20629
|
class: "truncate font-mono col-span-2",
|
|
20628
20630
|
title: String(e)
|
|
20629
|
-
}, H(e), 9,
|
|
20631
|
+
}, H(e), 9, TD)], 64))), 128))])]),
|
|
20630
20632
|
_: 1
|
|
20631
20633
|
}, 8, ["title"])) : M("", !0)
|
|
20632
20634
|
]),
|
|
20633
20635
|
_: 1
|
|
20634
20636
|
})) : M("", !0),
|
|
20635
|
-
I(
|
|
20636
|
-
P("ol",
|
|
20637
|
+
I(ME, { message: e.message }, null, 8, ["message"]),
|
|
20638
|
+
P("ol", ED, [(z(!0), N(k, null, Or(n.value, (e, a) => (z(), N("li", { key: a }, [
|
|
20637
20639
|
P("span", { class: yr(["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": !U(ke)(e) && !U(Ae)(e) }]) }, [
|
|
20638
|
-
P("div",
|
|
20640
|
+
P("div", DD, [P("span", OD, [P("strong", kD, H(a + 1), 1), P("span", AD, "/" + H(n.value.length), 1)]), (U(ke)(e) || U(je)(e)) && U(ln)(e.state) ? (z(), j(u, {
|
|
20639
20641
|
key: 0,
|
|
20640
20642
|
name: "loading-loop",
|
|
20641
20643
|
class: "w-12 h-12 ml-4"
|
|
@@ -20644,11 +20646,11 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20644
20646
|
name: U(cn)(e) || "ri:question-line",
|
|
20645
20647
|
class: "w-12 h-12 ml-4"
|
|
20646
20648
|
}, null, 8, ["name"]))]),
|
|
20647
|
-
P("code",
|
|
20648
|
-
"toolCallId" in e && r(e.toolCallId) ? (z(), N("span",
|
|
20649
|
+
P("code", jD, H(U(Me)(e.type)), 1),
|
|
20650
|
+
"toolCallId" in e && r(e.toolCallId) ? (z(), N("span", MD, H(U(i)(r(e.toolCallId))), 1)) : M("", !0)
|
|
20649
20651
|
], 2),
|
|
20650
|
-
U(ke)(e) ? (z(), N("div",
|
|
20651
|
-
P("div",
|
|
20652
|
+
U(ke)(e) ? (z(), N("div", ND, [P("div", PD, [
|
|
20653
|
+
P("div", FD, H(t.$t("label.input")), 1),
|
|
20652
20654
|
I(p, {
|
|
20653
20655
|
"min-height": 128,
|
|
20654
20656
|
"fit-content": ""
|
|
@@ -20660,7 +20662,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20660
20662
|
}, null, 8, ["code"])]),
|
|
20661
20663
|
_: 2
|
|
20662
20664
|
}, 1024),
|
|
20663
|
-
e.output && e.output !== "null" ? (z(), N(k, { key: 0 }, [P("div",
|
|
20665
|
+
e.output && e.output !== "null" ? (z(), N(k, { key: 0 }, [P("div", ID, H(t.$t("label.output")), 1), I(p, {
|
|
20664
20666
|
"min-height": 128,
|
|
20665
20667
|
"fit-content": ""
|
|
20666
20668
|
}, {
|
|
@@ -20686,26 +20688,26 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20686
20688
|
_: 2
|
|
20687
20689
|
}, 1024)) : M("", !0)
|
|
20688
20690
|
]))), 128))]),
|
|
20689
|
-
I(
|
|
20691
|
+
I($E, { message: e.message }, null, 8, ["message"])
|
|
20690
20692
|
]);
|
|
20691
20693
|
};
|
|
20692
20694
|
}
|
|
20693
|
-
}),
|
|
20695
|
+
}), RD = {
|
|
20694
20696
|
key: 0,
|
|
20695
20697
|
class: "border-t border-surface-3"
|
|
20696
|
-
},
|
|
20698
|
+
}, zD = { class: "flex flex-col" }, BD = ["onClick"], VD = { class: "flex items-center gap-4 shrink-0" }, HD = {
|
|
20697
20699
|
key: 0,
|
|
20698
20700
|
class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2"
|
|
20699
|
-
},
|
|
20701
|
+
}, UD = { class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2 uppercase" }, WD = {
|
|
20700
20702
|
key: 0,
|
|
20701
20703
|
class: "border-t border-surface-3"
|
|
20702
|
-
},
|
|
20704
|
+
}, GD = {
|
|
20703
20705
|
key: 0,
|
|
20704
20706
|
class: "px-8 py-4 text-10 text-word-3 bg-surface-1 border-b border-surface-3"
|
|
20705
|
-
},
|
|
20707
|
+
}, KD = ["onClick"], qD = {
|
|
20706
20708
|
key: 0,
|
|
20707
20709
|
class: "px-8 py-6 bg-surface-1 border-t border-surface-3"
|
|
20708
|
-
},
|
|
20710
|
+
}, JD = { class: "flex justify-between items-center gap-4 min-w-0" }, YD = { class: "font-semibold text-12 truncate" }, XD = /* @__PURE__ */ L({
|
|
20709
20711
|
__name: "PkMessageDetail",
|
|
20710
20712
|
props: {
|
|
20711
20713
|
message: {},
|
|
@@ -20730,14 +20732,14 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20730
20732
|
};
|
|
20731
20733
|
return (s, c) => {
|
|
20732
20734
|
let l = Kn, u = $n, d = Vn;
|
|
20733
|
-
return z(), j(
|
|
20735
|
+
return z(), j(LD, { message: e.message }, ur({
|
|
20734
20736
|
subagent: K(({ part: t }) => [t.output?.reasoningChatId && (t.output?.subAgentId || t.input?.objective) ? (z(), j(d, {
|
|
20735
20737
|
key: 0,
|
|
20736
20738
|
title: t.output.subAgentId ? s.$t("label.subAgent") : s.$t("agent.tool.runWorker"),
|
|
20737
20739
|
modifiers: "details",
|
|
20738
20740
|
class: "border-t border-surface-3"
|
|
20739
20741
|
}, {
|
|
20740
|
-
default: K(() => [P("div",
|
|
20742
|
+
default: K(() => [P("div", JD, [P("strong", YD, H(t.output.subAgentName ?? t.input?.objective), 1), I(l, {
|
|
20741
20743
|
modifiers: "action-small",
|
|
20742
20744
|
icon: "ri:eye-line",
|
|
20743
20745
|
class: "text-10 shrink-0",
|
|
@@ -20756,7 +20758,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20756
20758
|
_: 2
|
|
20757
20759
|
}, [e.canReadDocuments ? {
|
|
20758
20760
|
name: "tool-search-in-knowledge-base",
|
|
20759
|
-
fn: K(({ part: d }) => [d.output?.results?.length ? (z(), N("div",
|
|
20761
|
+
fn: K(({ part: d }) => [d.output?.results?.length ? (z(), N("div", RD, [P("ul", zD, [(z(!0), N(k, null, Or(o(d.output.results), (o) => (z(), N("li", {
|
|
20760
20762
|
key: o.document.id,
|
|
20761
20763
|
class: "border-b border-surface-3 last:border-b-0"
|
|
20762
20764
|
}, [P("button", {
|
|
@@ -20772,9 +20774,9 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20772
20774
|
"name",
|
|
20773
20775
|
"url",
|
|
20774
20776
|
"filename"
|
|
20775
|
-
]), P("div",
|
|
20776
|
-
o.chunks.length > 1 ? (z(), N("span",
|
|
20777
|
-
P("span",
|
|
20777
|
+
]), P("div", VD, [
|
|
20778
|
+
o.chunks.length > 1 ? (z(), N("span", HD, H(o.chunks.length), 1)) : M("", !0),
|
|
20779
|
+
P("span", UD, H(o.document.language), 1),
|
|
20778
20780
|
I(l, {
|
|
20779
20781
|
modifiers: "action-quiet-small",
|
|
20780
20782
|
icon: "ri:eye-line",
|
|
@@ -20793,7 +20795,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20793
20795
|
name: t.has(o.document.id) ? "ri:arrow-up-s-line" : "ri:arrow-down-s-line",
|
|
20794
20796
|
class: "text-16 text-word-3"
|
|
20795
20797
|
}, null, 8, ["name"])
|
|
20796
|
-
])], 8,
|
|
20798
|
+
])], 8, BD), t.has(o.document.id) ? (z(), N("div", WD, [o.document.source.description ? (z(), N("div", GD, H(o.document.source.description), 1)) : M("", !0), (z(!0), N(k, null, Or(o.chunks, (e) => (z(), N("div", {
|
|
20797
20799
|
key: e.id,
|
|
20798
20800
|
class: "border-b border-surface-3 last:border-b-0"
|
|
20799
20801
|
}, [P("button", {
|
|
@@ -20809,7 +20811,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20809
20811
|
"similarity",
|
|
20810
20812
|
"max-similarity",
|
|
20811
20813
|
"expanded"
|
|
20812
|
-
])], 8,
|
|
20814
|
+
])], 8, KD), n.has(e.id) ? (z(), N("div", qD, [I(we, {
|
|
20813
20815
|
markdown: e.content,
|
|
20814
20816
|
class: "wysiwyg text-10"
|
|
20815
20817
|
}, null, 8, ["markdown"])])) : M("", !0)]))), 128))])) : M("", !0)]))), 128))])])) : M("", !0)]),
|
|
@@ -20817,19 +20819,19 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20817
20819
|
} : void 0]), 1032, ["message"]);
|
|
20818
20820
|
};
|
|
20819
20821
|
}
|
|
20820
|
-
}),
|
|
20822
|
+
}), ZD = { class: "flex flex-col h-full bg-surface rounded-xl" }, QD = { class: "sticky z-1 top-0 bg-surface-1 flex items-center justify-between gap-sm p-sm border-b border-surface-3" }, $D = { class: "flex items-center gap-sm min-w-0" }, eO = ["title"], tO = {
|
|
20821
20823
|
key: 1,
|
|
20822
20824
|
class: "text-14 font-bold"
|
|
20823
|
-
},
|
|
20825
|
+
}, nO = { class: "flex-1 flex flex-col gap-md p-md overflow-y-auto min-h-0" }, rO = { class: "flex flex-col" }, iO = { class: "text-12 font-medium text-word-2 mb-xs block" }, aO = ["placeholder", "disabled"], oO = { class: "flex justify-end mt-xs" }, sO = {
|
|
20824
20826
|
key: 1,
|
|
20825
20827
|
class: "flex flex-col gap-sm p-md bg-surface-1 border border-surface-3 rounded-xl"
|
|
20826
|
-
},
|
|
20828
|
+
}, cO = { class: "flex items-center gap-xs pb-xs border-b border-surface-3" }, lO = { class: "text-12 text-word-3" }, uO = {
|
|
20827
20829
|
key: 2,
|
|
20828
20830
|
class: "flex flex-col gap-sm p-md bg-surface-1 border border-surface-3 rounded-xl"
|
|
20829
|
-
},
|
|
20831
|
+
}, dO = { class: "flex items-center gap-xs pb-xs border-b border-surface-3" }, fO = { class: "text-12 font-medium text-word-2" }, pO = { class: "flex items-center gap-xs ml-auto" }, mO = {
|
|
20830
20832
|
key: 0,
|
|
20831
20833
|
class: "py-sm text-word-2 leading-normal"
|
|
20832
|
-
},
|
|
20834
|
+
}, hO = /* @__PURE__ */ L({
|
|
20833
20835
|
__name: "PkReasoningChat",
|
|
20834
20836
|
props: {
|
|
20835
20837
|
baseUrl: {},
|
|
@@ -20865,7 +20867,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20865
20867
|
}), p = A(() => f.value?.parts.find((e) => e.type === "text")?.text || "");
|
|
20866
20868
|
return (t, r) => {
|
|
20867
20869
|
let m = Kn, h = Un, g = $n;
|
|
20868
|
-
return z(), N("div",
|
|
20870
|
+
return z(), N("div", ZD, [P("div", QD, [P("div", $D, [I(gn, {
|
|
20869
20871
|
modifiers: "surface ring shrink-0",
|
|
20870
20872
|
class: "w-24 h-24",
|
|
20871
20873
|
name: e.name
|
|
@@ -20873,16 +20875,16 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20873
20875
|
key: 0,
|
|
20874
20876
|
class: "text-14 font-bold truncate",
|
|
20875
20877
|
title: e.name
|
|
20876
|
-
}, H(e.name), 9,
|
|
20878
|
+
}, H(e.name), 9, eO)) : (z(), N("strong", tO, H(U(n)("label.reasoningAgentTester")), 1))]), d.value ? (z(), j(m, {
|
|
20877
20879
|
key: 0,
|
|
20878
20880
|
icon: "ri:reset-right-line",
|
|
20879
20881
|
modifiers: "action-quiet",
|
|
20880
20882
|
title: U(n)("action.clear"),
|
|
20881
20883
|
disabled: u.value,
|
|
20882
20884
|
onClick: l
|
|
20883
|
-
}, null, 8, ["title", "disabled"])) : M("", !0)]), P("div",
|
|
20884
|
-
P("div",
|
|
20885
|
-
P("label",
|
|
20885
|
+
}, null, 8, ["title", "disabled"])) : M("", !0)]), P("div", nO, [
|
|
20886
|
+
P("div", rO, [
|
|
20887
|
+
P("label", iO, H(U(n)("label.question")), 1),
|
|
20886
20888
|
Rr(P("textarea", {
|
|
20887
20889
|
"onUpdate:modelValue": r[0] ||= (e) => a.value = e,
|
|
20888
20890
|
placeholder: U(n)("placeholder.enterYourQuestion"),
|
|
@@ -20890,8 +20892,8 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20890
20892
|
class: "u-field w-full p-sm font-inherit text-14 resize-y min-h-60",
|
|
20891
20893
|
rows: "3",
|
|
20892
20894
|
onKeydown: c
|
|
20893
|
-
}, null, 40,
|
|
20894
|
-
P("div",
|
|
20895
|
+
}, null, 40, aO), [[Lr, a.value]]),
|
|
20896
|
+
P("div", oO, [I(m, {
|
|
20895
20897
|
label: U(n)("action.submit"),
|
|
20896
20898
|
loading: u.value,
|
|
20897
20899
|
disabled: !a.value.trim() || u.value,
|
|
@@ -20908,17 +20910,17 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20908
20910
|
title: U(n)("label.error"),
|
|
20909
20911
|
content: o.value.error.message
|
|
20910
20912
|
}, null, 8, ["title", "content"])) : M("", !0),
|
|
20911
|
-
u.value && !f.value ? (z(), N("div",
|
|
20913
|
+
u.value && !f.value ? (z(), N("div", sO, [P("div", cO, [I(g, {
|
|
20912
20914
|
name: "loading-loop",
|
|
20913
20915
|
class: "w-16 h-16"
|
|
20914
|
-
}), P("span",
|
|
20915
|
-
f.value ? (z(), N("div",
|
|
20916
|
+
}), P("span", lO, H(U(n)("label.processing")), 1)]), r[2] ||= P("div", { class: "vv-skeleton flex flex-col gap-8" }, [P("div", { class: "vv-skeleton__item h-12 rounded" }), P("div", { class: "vv-skeleton__item h-12 rounded w-192" })], -1)])) : M("", !0),
|
|
20917
|
+
f.value ? (z(), N("div", uO, [P("div", dO, [
|
|
20916
20918
|
I(g, {
|
|
20917
20919
|
name: "ri:robot-2-line",
|
|
20918
20920
|
class: "w-16 h-16"
|
|
20919
20921
|
}),
|
|
20920
|
-
P("span",
|
|
20921
|
-
P("div",
|
|
20922
|
+
P("span", fO, H(U(n)("label.answer")), 1),
|
|
20923
|
+
P("div", pO, [u.value ? (z(), j(g, {
|
|
20922
20924
|
key: 0,
|
|
20923
20925
|
name: "loading-loop",
|
|
20924
20926
|
class: "w-14 h-14"
|
|
@@ -20929,7 +20931,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20929
20931
|
modifiers: "action-quiet-small",
|
|
20930
20932
|
onClick: r[1] ||= Br((e) => i("show-info", f.value), ["stop"])
|
|
20931
20933
|
}, null, 8, ["title"])) : M("", !0)])
|
|
20932
|
-
]), p.value ? (z(), N("div",
|
|
20934
|
+
]), p.value ? (z(), N("div", mO, [I(we, {
|
|
20933
20935
|
markdown: p.value,
|
|
20934
20936
|
loading: u.value,
|
|
20935
20937
|
class: "wysiwyg text-14"
|
|
@@ -20937,7 +20939,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20937
20939
|
])]);
|
|
20938
20940
|
};
|
|
20939
20941
|
}
|
|
20940
|
-
}),
|
|
20942
|
+
}), gO = { class: "welcome-popup__text" }, _O = ["aria-label"], vO = 100, yO = /* @__PURE__ */ L({
|
|
20941
20943
|
__name: "PkWelcomePopup",
|
|
20942
20944
|
props: {
|
|
20943
20945
|
agentId: {},
|
|
@@ -20952,7 +20954,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20952
20954
|
c.value = [], s.value = !1;
|
|
20953
20955
|
let t = e.split(/(\s+)/), n = 0;
|
|
20954
20956
|
function r() {
|
|
20955
|
-
n < t.length ? (c.value.push(t[n]), n++, l = setTimeout(r,
|
|
20957
|
+
n < t.length ? (c.value.push(t[n]), n++, l = setTimeout(r, vO)) : s.value = !0;
|
|
20956
20958
|
}
|
|
20957
20959
|
r();
|
|
20958
20960
|
}
|
|
@@ -20976,7 +20978,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20976
20978
|
key: 0,
|
|
20977
20979
|
class: "welcome-popup",
|
|
20978
20980
|
onClick: Br(m, ["stop"])
|
|
20979
|
-
}, [P("p",
|
|
20981
|
+
}, [P("p", gO, [(z(!0), N(k, null, Or(c.value, (e, t) => (z(), N("span", {
|
|
20980
20982
|
key: t,
|
|
20981
20983
|
class: "welcome-popup__word"
|
|
20982
20984
|
}, H(e), 1))), 128))]), I(or, null, {
|
|
@@ -20992,22 +20994,22 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
20992
20994
|
width: "14",
|
|
20993
20995
|
height: "14",
|
|
20994
20996
|
fill: "currentColor"
|
|
20995
|
-
}, [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,
|
|
20997
|
+
}, [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, _O)) : M("", !0)]),
|
|
20996
20998
|
_: 1
|
|
20997
20999
|
})])) : M("", !0)]),
|
|
20998
21000
|
_: 1
|
|
20999
21001
|
}));
|
|
21000
21002
|
}
|
|
21001
|
-
}),
|
|
21003
|
+
}), bO = { class: "pk-pagination mt-auto grid grid-cols-3 gap-md pt-24" }, xO = { class: "flex items-center" }, SO = { class: "text-12" }, CO = ["disabled"], wO = ["value"], TO = {
|
|
21002
21004
|
key: 1,
|
|
21003
21005
|
class: "ml-8 text-12 font-semibold tabular-nums"
|
|
21004
|
-
},
|
|
21006
|
+
}, EO = { class: "flex justify-center items-center" }, DO = {
|
|
21005
21007
|
class: "rounded-md border border-surface-3 px-14 py-4 text-center text-12 font-bold tabular-nums",
|
|
21006
21008
|
type: "button"
|
|
21007
|
-
},
|
|
21009
|
+
}, OO = {
|
|
21008
21010
|
key: 0,
|
|
21009
21011
|
class: "ml-6 text-12 whitespace-nowrap tabular-nums"
|
|
21010
|
-
},
|
|
21012
|
+
}, kO = { class: "flex text-12 justify-end items-center whitespace-nowrap tabular-nums" }, AO = /* @__PURE__ */ L({
|
|
21011
21013
|
__name: "PkPagination",
|
|
21012
21014
|
props: {
|
|
21013
21015
|
page: {
|
|
@@ -21039,8 +21041,8 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
21039
21041
|
});
|
|
21040
21042
|
return (t, r) => {
|
|
21041
21043
|
let l = Kn, u = qn;
|
|
21042
|
-
return z(), N("div",
|
|
21043
|
-
P("div",
|
|
21044
|
+
return z(), N("div", bO, [
|
|
21045
|
+
P("div", xO, [P("label", SO, H(U(n)("label.itemsPerPage")) + ":", 1), e.limitSteps ? Rr((z(), N("select", {
|
|
21044
21046
|
key: 0,
|
|
21045
21047
|
"onUpdate:modelValue": r[0] ||= (e) => c.value = e,
|
|
21046
21048
|
disabled: e.disabled,
|
|
@@ -21048,8 +21050,8 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
21048
21050
|
}, [(z(!0), N(k, null, Or(e.limitSteps, (e) => (z(), N("option", {
|
|
21049
21051
|
key: e,
|
|
21050
21052
|
value: e
|
|
21051
|
-
}, H(e), 9,
|
|
21052
|
-
P("div",
|
|
21053
|
+
}, H(e), 9, wO))), 128))], 8, CO)), [[Ir, c.value]]) : (z(), N("span", TO, H(e.limit), 1))]),
|
|
21054
|
+
P("div", EO, [I(u, { class: "flex-nowrap" }, {
|
|
21053
21055
|
default: K(() => [
|
|
21054
21056
|
I(l, {
|
|
21055
21057
|
title: U(n)("action.prev"),
|
|
@@ -21058,7 +21060,7 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
21058
21060
|
modifiers: "action-quiet",
|
|
21059
21061
|
onClick: r[1] ||= Br((t) => i("update:page", e.page - 1), ["stop"])
|
|
21060
21062
|
}, null, 8, ["title", "disabled"]),
|
|
21061
|
-
P("button",
|
|
21063
|
+
P("button", DO, H(e.page), 1),
|
|
21062
21064
|
I(l, {
|
|
21063
21065
|
title: U(n)("action.next"),
|
|
21064
21066
|
disabled: s.value,
|
|
@@ -21068,21 +21070,21 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
21068
21070
|
}, null, 8, ["title", "disabled"])
|
|
21069
21071
|
]),
|
|
21070
21072
|
_: 1
|
|
21071
|
-
}), a.value ? (z(), N("small",
|
|
21072
|
-
P("div",
|
|
21073
|
+
}), a.value ? (z(), N("small", OO, H(U(n)("label.totalPages", { total: a.value })), 1)) : M("", !0)]),
|
|
21074
|
+
P("div", kO, H(U(n)("label.totalItemsCount", { total: e.total })), 1)
|
|
21073
21075
|
]);
|
|
21074
21076
|
};
|
|
21075
21077
|
}
|
|
21076
|
-
}),
|
|
21078
|
+
}), jO = { class: "pk-table-empty" }, MO = {
|
|
21077
21079
|
class: "pk-table-empty__glyph",
|
|
21078
21080
|
"aria-hidden": "true"
|
|
21079
|
-
},
|
|
21081
|
+
}, NO = { class: "pk-table-empty__text" }, PO = { class: "pk-table-empty__title" }, FO = {
|
|
21080
21082
|
key: 0,
|
|
21081
21083
|
class: "pk-table-empty__description"
|
|
21082
|
-
},
|
|
21084
|
+
}, IO = {
|
|
21083
21085
|
key: 0,
|
|
21084
21086
|
class: "pk-table-empty__actions"
|
|
21085
|
-
},
|
|
21087
|
+
}, LO = /* @__PURE__ */ L({
|
|
21086
21088
|
__name: "PkTableEmpty",
|
|
21087
21089
|
props: {
|
|
21088
21090
|
title: { default: void 0 },
|
|
@@ -21093,82 +21095,82 @@ var RC = { class: "flex items-center gap-xs min-w-0" }, zC = { class: "truncate"
|
|
|
21093
21095
|
let { t } = Vr({ useScope: "global" });
|
|
21094
21096
|
return (n, r) => {
|
|
21095
21097
|
let i = $n;
|
|
21096
|
-
return z(), N("div",
|
|
21097
|
-
P("div",
|
|
21098
|
-
P("div",
|
|
21099
|
-
n.$slots.actions ? (z(), N("div",
|
|
21098
|
+
return z(), N("div", jO, [
|
|
21099
|
+
P("div", MO, [I(i, { name: e.icon }, null, 8, ["name"])]),
|
|
21100
|
+
P("div", NO, [P("strong", PO, H(e.title ?? U(t)("message.empty")), 1), e.description ? (z(), N("p", FO, H(e.description), 1)) : M("", !0)]),
|
|
21101
|
+
n.$slots.actions ? (z(), N("div", IO, [V(n.$slots, "actions")])) : M("", !0)
|
|
21100
21102
|
]);
|
|
21101
21103
|
};
|
|
21102
21104
|
}
|
|
21103
|
-
}),
|
|
21105
|
+
}), RO = { class: "flex flex-col items-center justify-center w-full text-md p-md leading-normal" }, zO = { class: "mb-4" }, BO = { class: "font-bold" }, VO = { class: "text-smaller text-word-3" }, HO = /* @__PURE__ */ L({
|
|
21104
21106
|
__name: "PkTableError",
|
|
21105
21107
|
setup(e) {
|
|
21106
21108
|
let { t } = Vr({ useScope: "global" });
|
|
21107
21109
|
return (e, n) => {
|
|
21108
21110
|
let r = $n;
|
|
21109
|
-
return z(), N("div",
|
|
21110
|
-
P("div",
|
|
21111
|
+
return z(), N("div", RO, [
|
|
21112
|
+
P("div", zO, [I(r, {
|
|
21111
21113
|
name: "ri:alert-line",
|
|
21112
21114
|
class: "text-32 text-word-2"
|
|
21113
21115
|
})]),
|
|
21114
|
-
P("strong",
|
|
21115
|
-
P("div",
|
|
21116
|
+
P("strong", BO, H(U(t)("message.warning")), 1),
|
|
21117
|
+
P("div", VO, H(U(t)("message.readError")), 1)
|
|
21116
21118
|
]);
|
|
21117
21119
|
};
|
|
21118
21120
|
}
|
|
21119
21121
|
});
|
|
21120
21122
|
//#endregion
|
|
21121
21123
|
//#region ../../node_modules/.pnpm/ts-util-is@2.1.0/node_modules/ts-util-is/dist/src/index.js
|
|
21122
|
-
function
|
|
21124
|
+
function UO(e) {
|
|
21123
21125
|
return Array.isArray(e);
|
|
21124
21126
|
}
|
|
21125
|
-
function
|
|
21127
|
+
function WO(e) {
|
|
21126
21128
|
return e !== void 0;
|
|
21127
21129
|
}
|
|
21128
|
-
function
|
|
21130
|
+
function GO(e) {
|
|
21129
21131
|
return e === null;
|
|
21130
21132
|
}
|
|
21131
|
-
function
|
|
21133
|
+
function KO(e) {
|
|
21132
21134
|
return typeof e == "object";
|
|
21133
21135
|
}
|
|
21134
|
-
function
|
|
21136
|
+
function qO(e) {
|
|
21135
21137
|
return typeof e == "string";
|
|
21136
21138
|
}
|
|
21137
|
-
function
|
|
21139
|
+
function JO(e) {
|
|
21138
21140
|
return e === void 0;
|
|
21139
21141
|
}
|
|
21140
21142
|
//#endregion
|
|
21141
21143
|
//#region ../../node_modules/.pnpm/ts-dot-prop@2.1.4/node_modules/ts-dot-prop/dist/index.js
|
|
21142
|
-
var
|
|
21144
|
+
var YO = /^[0-9]+$/, XO = [
|
|
21143
21145
|
"__proto__",
|
|
21144
21146
|
"prototype",
|
|
21145
21147
|
"constructor"
|
|
21146
21148
|
];
|
|
21147
|
-
function
|
|
21148
|
-
let r =
|
|
21149
|
-
if (!
|
|
21150
|
-
let i =
|
|
21149
|
+
function ZO(e, t, n) {
|
|
21150
|
+
let r = WO(n) ? n : void 0;
|
|
21151
|
+
if (!KO(e) || !qO(t)) return r;
|
|
21152
|
+
let i = QO(t);
|
|
21151
21153
|
if (i.length !== 0) {
|
|
21152
21154
|
for (let t of i) {
|
|
21153
21155
|
if (t === "*") continue;
|
|
21154
21156
|
let n = function(e) {
|
|
21155
|
-
return e.map((e) =>
|
|
21157
|
+
return e.map((e) => JO(e) || GO(e) ? e : UO(e) ? n(e) : e[t]);
|
|
21156
21158
|
};
|
|
21157
|
-
if (e =
|
|
21159
|
+
if (e = UO(e) && !YO.test(t) ? n(e) : e[t], JO(e) || GO(e)) break;
|
|
21158
21160
|
}
|
|
21159
|
-
return
|
|
21161
|
+
return JO(e) ? r : e;
|
|
21160
21162
|
}
|
|
21161
21163
|
}
|
|
21162
|
-
function
|
|
21164
|
+
function QO(e) {
|
|
21163
21165
|
let t = e.split(/[.]|(?:\[(\d|\*)\])/).filter((e) => !!e);
|
|
21164
|
-
return t.some((e) =>
|
|
21166
|
+
return t.some((e) => XO.indexOf(e) !== -1) ? [] : t;
|
|
21165
21167
|
}
|
|
21166
21168
|
//#endregion
|
|
21167
21169
|
//#region ../../packages/components/src/table/PkTableSortable.vue?vue&type=script&setup=true&lang.ts
|
|
21168
|
-
var
|
|
21170
|
+
var $O = { class: "pk-table-sortable" }, ek = { key: 0 }, tk = {
|
|
21169
21171
|
key: 0,
|
|
21170
21172
|
class: "truncate"
|
|
21171
|
-
},
|
|
21173
|
+
}, nk = ["onClick"], rk = ["onClick"], ik = { key: 1 }, ak = ["colspan"], ok = { key: 2 }, sk = ["colspan"], ck = { key: 1 }, lk = { key: 2 }, uk = "a, button, input, select, textarea, label, [contenteditable], [role=\"button\"], [role=\"link\"], [role=\"checkbox\"], [role=\"menuitem\"]", dk = /* @__PURE__ */ L({
|
|
21172
21174
|
__name: "PkTableSortable",
|
|
21173
21175
|
props: {
|
|
21174
21176
|
columns: {
|
|
@@ -21301,7 +21303,7 @@ var QO = { class: "pk-table-sortable" }, $O = { key: 0 }, ek = {
|
|
|
21301
21303
|
}
|
|
21302
21304
|
c.value = e;
|
|
21303
21305
|
}, v = (e, t, n) => {
|
|
21304
|
-
r.rowClickable && (n.target?.closest(
|
|
21306
|
+
r.rowClickable && (n.target?.closest(uk) || i("click:row", e, t));
|
|
21305
21307
|
}, y = () => {
|
|
21306
21308
|
s.value++;
|
|
21307
21309
|
}, ee = () => {
|
|
@@ -21311,8 +21313,8 @@ var QO = { class: "pk-table-sortable" }, $O = { key: 0 }, ek = {
|
|
|
21311
21313
|
r.page || i("update:page", s.value), r.limit || i("update:limit", o.value);
|
|
21312
21314
|
}), (t, r) => {
|
|
21313
21315
|
let i = $n;
|
|
21314
|
-
return z(), N("div",
|
|
21315
|
-
e.hideHead ? M("", !0) : (z(), N("thead",
|
|
21316
|
+
return z(), N("div", $O, [P("div", { class: yr([f.value, "pk-table-sortable__wrapper"]) }, [P("table", { class: yr(["vv-table", e.classTable]) }, [
|
|
21317
|
+
e.hideHead ? M("", !0) : (z(), N("thead", ek, [P("tr", null, [(z(!0), N(k, null, Or(d.value, (e) => (z(), N("th", _r({ key: e.name }, { ref_for: !0 }, { class: [
|
|
21316
21318
|
e.class,
|
|
21317
21319
|
e.classTh,
|
|
21318
21320
|
{ selected: U(c) === e.name }
|
|
@@ -21320,7 +21322,7 @@ var QO = { class: "pk-table-sortable" }, $O = { key: 0 }, ek = {
|
|
|
21320
21322
|
key: 1,
|
|
21321
21323
|
type: "button",
|
|
21322
21324
|
onClick: (t) => _(e.name)
|
|
21323
|
-
}, [V(t.$slots, `col::header::${e.name}`, {}, () => [F(H(e.label), 1)]), I(i, _r({ class: { "opacity-30": U(c) !== e.name } }, { ref_for: !0 }, U(c) === e.name ? { name: U(l) === "asc" ? "ri:arrow-up-line" : "ri:arrow-down-line" } : { name: "ri:arrow-up-down-line" }), null, 16, ["class"])], 8,
|
|
21325
|
+
}, [V(t.$slots, `col::header::${e.name}`, {}, () => [F(H(e.label), 1)]), I(i, _r({ class: { "opacity-30": U(c) !== e.name } }, { ref_for: !0 }, U(c) === e.name ? { name: U(l) === "asc" ? "ri:arrow-up-line" : "ri:arrow-down-line" } : { name: "ri:arrow-up-down-line" }), null, 16, ["class"])], 8, nk)) : (z(), N("div", tk, [V(t.$slots, `col::header::${e.name}`, {}, () => [F(H(e.label), 1)])]))], 16))), 128))])])),
|
|
21324
21326
|
I(sr, {
|
|
21325
21327
|
tag: "tbody",
|
|
21326
21328
|
name: e.transitionName
|
|
@@ -21332,7 +21334,7 @@ var QO = { class: "pk-table-sortable" }, $O = { key: 0 }, ek = {
|
|
|
21332
21334
|
})), () => [e.isLoading ? V(t.$slots, "loading", {}, () => [(z(!0), N(k, null, Or(o.value, (e) => (z(), N("tr", { key: e }, [(z(!0), N(k, null, Or(d.value, ({ name: n, wrapperClass: i }) => (z(), N("td", { key: n }, [V(t.$slots, `skeleton::${n}`, _r({ ref_for: !0 }, {
|
|
21333
21335
|
index: e,
|
|
21334
21336
|
wrapperClass: i
|
|
21335
|
-
}), () => [P("div", { class: yr(["vv-skeleton", i]) }, [...r[2] ||= [P("div", { class: "vv-skeleton__item" }, null, -1)]], 2)])]))), 128))]))), 128))], void 0, 0) : e.isError ? e.isError ? (z(), N("tr",
|
|
21337
|
+
}), () => [P("div", { class: yr(["vv-skeleton", i]) }, [...r[2] ||= [P("div", { class: "vv-skeleton__item" }, null, -1)]], 2)])]))), 128))]))), 128))], void 0, 0) : e.isError ? e.isError ? (z(), N("tr", ok, [P("td", { colspan: e.columns.length }, [V(t.$slots, "error", {}, () => [I(HO)])], 8, sk)])) : M("", !0) : (z(), N(k, { key: 1 }, [e.data?.length ? (z(!0), N(k, { key: 0 }, Or(e.data, (r, i) => (z(), N("tr", {
|
|
21336
21338
|
key: i,
|
|
21337
21339
|
class: yr([{
|
|
21338
21340
|
"pk-table-sortable__row--clickable": e.rowClickable,
|
|
@@ -21355,11 +21357,11 @@ var QO = { class: "pk-table-sortable" }, $O = { key: 0 }, ek = {
|
|
|
21355
21357
|
wrapperClass: o,
|
|
21356
21358
|
index: i,
|
|
21357
21359
|
value: r[e]
|
|
21358
|
-
}), () => [P("div", { class: yr(["truncate", o]) }, H(U(
|
|
21360
|
+
}), () => [P("div", { class: yr(["truncate", o]) }, H(U(ZO)(r, a ?? e)), 3)], void 0, 2)], 2))), 128))], 10, rk))), 128)) : (z(), N("tr", ik, [P("td", { colspan: e.columns.length }, [V(t.$slots, "empty", {}, () => [I(LO)])], 8, ak)]))], 64))])]),
|
|
21359
21361
|
_: 3
|
|
21360
21362
|
}, 8, ["name"]),
|
|
21361
|
-
U(n).tfoot ? (z(), N("tfoot",
|
|
21362
|
-
U(n).caption ? (z(), N("caption",
|
|
21363
|
+
U(n).tfoot ? (z(), N("tfoot", ck, [V(t.$slots, "tfoot")])) : M("", !0),
|
|
21364
|
+
U(n).caption ? (z(), N("caption", lk, [V(t.$slots, "caption")])) : M("", !0)
|
|
21363
21365
|
], 2)], 2), V(t.$slots, "navigation", br(fr({
|
|
21364
21366
|
hide: e.hideNavigation,
|
|
21365
21367
|
prevDisabled: g.value,
|
|
@@ -21368,7 +21370,7 @@ var QO = { class: "pk-table-sortable" }, $O = { key: 0 }, ek = {
|
|
|
21368
21370
|
next: y,
|
|
21369
21371
|
total: u.value,
|
|
21370
21372
|
page: s.value
|
|
21371
|
-
})), () => [e.hideNavigation ? M("", !0) : (z(), j(
|
|
21373
|
+
})), () => [e.hideNavigation ? M("", !0) : (z(), j(AO, {
|
|
21372
21374
|
key: 0,
|
|
21373
21375
|
page: s.value,
|
|
21374
21376
|
total: a.value ?? 0,
|
|
@@ -21390,6 +21392,6 @@ var QO = { class: "pk-table-sortable" }, $O = { key: 0 }, ek = {
|
|
|
21390
21392
|
}
|
|
21391
21393
|
});
|
|
21392
21394
|
//#endregion
|
|
21393
|
-
export {
|
|
21395
|
+
export { FC as AGENT_STATUS_GLYPHS, IC as AGENT_VISIBILITY_GLYPHS, JC as MODEL_CATALOG_KEY, UC as PkAgentSelectorInline, VT as PkAgentSettingsPanel, Ve as PkAuroraCanvas, gn as PkAvatar, si as PkBadge, Sn as PkChatButton, eE as PkChatSidebar, UT as PkChatSidebarConversationItem, En as PkChatbot, Ce as PkChatbotAuth, wn as PkChatbotEmptyState, Ge as PkChatbotError, _n as PkChatbotFeedbackForm, pn as PkChatbotFilePreview, Cn as PkChatbotInput, Fe as PkChatbotMessages, bn as PkChatbotStepPayload, xn as PkChatbotStepToolDetail, yn as PkChatbotSteps, We as PkChatbotViewChat, Be as PkChatbotViewConversations, Tn as PkChatbotViewProfile, ZS as PkCheckboxField, Dn as PkChunkPreview, Xe as PkCode, Ew as PkCopyBlock, On as PkDocumentHeader, Zi as PkEditorAgentType, n as PkEditorCheckboxButtons, ro as PkEditorCode, la as PkEditorDocumentType, To as PkEditorJsonSchema, ES as PkEditorMarkdown, DS as PkEditorMedia, va as PkEditorNotificationType, PS as PkEditorPrompt, t as PkEditorRadioButtons, HS as PkEditorRepeater, qS as PkEditorWyswyg, oo as PkFieldset, QS as PkInfobox, Dw as PkInputColor, oC as PkIntegrationProvider, iw as PkLanguageModel, yw as PkLanguageModelCombobox, un as PkLazyImg, cC as PkLightbox, fC as PkLoader, mC as PkMedia, XD as PkMessageDetail, LD as PkMessageParts, vw as PkModelOption, CC as PkOfflineScreen, AO as PkPagination, AC as PkPwaNotices, MC as PkQrCode, hO as PkReasoningChat, xw as PkReasoningSettings, Ye as PkRelativeTime, nE as PkRetryCountdown, yo as PkSchemaField, PC as PkSkeleton, we as PkStreamingMarkdown, vn as PkStreamingMarkdownAutoscroll, mn as PkSvgViewer, LO as PkTableEmpty, HO as PkTableError, dk as PkTableSortable, qC as PkToolApprovalBadge, Ze as PkToolShowArtifact, Fn as PkToolShowCalendarEvent, In as PkToolShowComparison, Pn as PkToolShowContactForm, An as PkToolShowEmail, r as PkToolShowForm, zn as PkToolShowImageGallery, Ln as PkToolShowLocation, jn as PkToolShowMessage, Nn as PkToolShowProductList, Rn as PkToolShowQrCode, kn as PkToolShowSources, Bn as PkToolShowSuggestedReply, Mn as PkToolShowWebPages, hn as PkUrl, Ue as PkVoiceOrb, He as PkVoiceSession, Sw as PkWebSearchSettings, yO as PkWelcomePopup, LC as agentStatusGlyph, RC as agentVisibilityGlyph, nC as integrationProviderIcon, YC as provideModelCatalog, XC as useModelCatalogEntry };
|
|
21394
21396
|
|
|
21395
21397
|
//# sourceMappingURL=index.js.map
|