@8wave/ai-elements 0.114.0-beta.25 → 0.114.0-beta.30
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 +792 -353
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotAuth.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/PkChatbotAuth-jzoNJkmH.js +421 -0
- package/dist-vue/_chunks/PkChatbotAuth-jzoNJkmH.js.map +1 -0
- 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/apps/web-component/src/components/EmbeddedChatWidget.ce.d.ts +4 -4
- package/dist-vue/apps/web-component/src/composables/useChatbotAuth.d.ts +53 -5
- package/dist-vue/apps/web-component/src/composables/useChatbotAuthForm.d.ts +14 -0
- package/dist-vue/composables.js +333 -32
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +395 -367
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +24 -0
- package/dist-vue/packages/auth/src/additional-fields.d.ts +48 -0
- package/dist-vue/packages/auth/src/passkey-policy-client-plugin.d.ts +31 -0
- package/dist-vue/packages/auth/src/passkey-policy-plugin.d.ts +22 -0
- package/dist-vue/packages/auth/src/two-factor-policy-client-plugin.d.ts +60 -0
- package/dist-vue/packages/auth/src/two-factor-policy-plugin.d.ts +65 -0
- package/dist-vue/packages/components/src/PkQrCode.d.ts +14 -0
- package/dist-vue/packages/components/src/chat/PkChatbotAuth.d.ts +19 -0
- package/dist-vue/packages/components/src/index.d.ts +2 -1
- 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/Member.d.ts +3 -0
- package/dist-vue/packages/models/src/schema/Notification.d.ts +6 -0
- package/dist-vue/packages/models/src/schema/Organization.d.ts +1 -0
- package/dist-vue/packages/models/src/schema/User.d.ts +1 -0
- package/dist-vue/style.css +1 -1
- 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/_chunks/PkChatbotAuth-Bi508F1u.js +0 -349
- package/dist-vue/_chunks/PkChatbotAuth-Bi508F1u.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
|
-
import { t as Ce } from "./_chunks/PkChatbotAuth-
|
|
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";
|
|
@@ -210,7 +210,10 @@ var Ei = (e) => !e.disabled && !e.retired, Di = {
|
|
|
210
210
|
ApiKeyExpiring: "api_key_expiring",
|
|
211
211
|
Organization: "organization",
|
|
212
212
|
PasswordResetRequested: "password_reset_requested",
|
|
213
|
+
TwoFactor: "two_factor",
|
|
213
214
|
DocumentSyncRemoved: "document_sync_removed",
|
|
215
|
+
WebSourcePagesRemoved: "web_source_pages_removed",
|
|
216
|
+
WebSourceRemovalHeld: "web_source_removal_held",
|
|
214
217
|
ChatWarning: "chat_warning",
|
|
215
218
|
ChatBlocked: "chat_blocked",
|
|
216
219
|
Generic: "generic"
|
|
@@ -16101,32 +16104,32 @@ var CS = { class: "pk-editor-markdown" }, wS = {
|
|
|
16101
16104
|
[Mi.HubSpot]: "mdi:hubspot",
|
|
16102
16105
|
[Mi.Salesforce]: "mdi:salesforce",
|
|
16103
16106
|
[Mi.SharePoint]: "mdi:microsoft-sharepoint"
|
|
16104
|
-
}, eC = "mdi:puzzle-outline";
|
|
16105
|
-
function
|
|
16106
|
-
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;
|
|
16107
16110
|
}
|
|
16108
16111
|
//#endregion
|
|
16109
16112
|
//#region ../../packages/components/src/PkIntegrationProvider.vue?vue&type=script&setup=true&lang.ts
|
|
16110
|
-
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({
|
|
16111
16114
|
__name: "PkIntegrationProvider",
|
|
16112
16115
|
props: { provider: {} },
|
|
16113
16116
|
setup(e) {
|
|
16114
|
-
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));
|
|
16115
16118
|
return (e, t) => {
|
|
16116
16119
|
let n = $n;
|
|
16117
|
-
return z(), N("div",
|
|
16120
|
+
return z(), N("div", rC, [P("span", iC, [I(n, {
|
|
16118
16121
|
name: a.value,
|
|
16119
16122
|
title: i.value
|
|
16120
|
-
}, null, 8, ["name", "title"])]), P("span",
|
|
16123
|
+
}, null, 8, ["name", "title"])]), P("span", aC, H(i.value), 1)]);
|
|
16121
16124
|
};
|
|
16122
16125
|
}
|
|
16123
|
-
}),
|
|
16126
|
+
}), sC = [
|
|
16124
16127
|
"href",
|
|
16125
16128
|
"data-pswp-src",
|
|
16126
16129
|
"data-pswp-width",
|
|
16127
16130
|
"data-pswp-height",
|
|
16128
16131
|
"data-pswp-caption"
|
|
16129
|
-
],
|
|
16132
|
+
], cC = /* @__PURE__ */ L({
|
|
16130
16133
|
__name: "PkLightbox",
|
|
16131
16134
|
props: {
|
|
16132
16135
|
images: {},
|
|
@@ -16169,23 +16172,23 @@ var nC = { class: "flex gap-sm items-center min-w-0" }, rC = { class: "w-40 h-40
|
|
|
16169
16172
|
hidden: "",
|
|
16170
16173
|
target: "_blank",
|
|
16171
16174
|
rel: "noopener noreferrer"
|
|
16172
|
-
}, null, 8,
|
|
16175
|
+
}, null, 8, sC))), 128)), V(t.$slots, "default", { open: c })], 512));
|
|
16173
16176
|
}
|
|
16174
|
-
}),
|
|
16177
|
+
}), lC = (e, t) => {
|
|
16175
16178
|
let n = e.__vccOpts || e;
|
|
16176
16179
|
for (let [e, r] of t) n[e] = r;
|
|
16177
16180
|
return n;
|
|
16178
|
-
},
|
|
16179
|
-
function
|
|
16181
|
+
}, uC = {};
|
|
16182
|
+
function dC(e, t) {
|
|
16180
16183
|
return z(), N("div", null, [...t[0] ||= [P("div", {
|
|
16181
16184
|
"aria-hidden": "true",
|
|
16182
16185
|
class: "pk-loader"
|
|
16183
16186
|
}, null, -1)]]);
|
|
16184
16187
|
}
|
|
16185
|
-
var
|
|
16188
|
+
var fC = /*#__PURE__*/ lC(uC, [["render", dC]]), pC = {
|
|
16186
16189
|
key: 2,
|
|
16187
16190
|
class: "absolute inset-0 vv-skeleton__item z-1 h-auto"
|
|
16188
|
-
},
|
|
16191
|
+
}, mC = /* @__PURE__ */ L({
|
|
16189
16192
|
__name: "PkMedia",
|
|
16190
16193
|
props: {
|
|
16191
16194
|
media: {},
|
|
@@ -16237,16 +16240,16 @@ var dC = /*#__PURE__*/ cC(lC, [["render", uC]]), fC = {
|
|
|
16237
16240
|
width: `${e.width}px`,
|
|
16238
16241
|
height: `${e.height}px`
|
|
16239
16242
|
})
|
|
16240
|
-
}, [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);
|
|
16241
16244
|
};
|
|
16242
16245
|
}
|
|
16243
|
-
}),
|
|
16246
|
+
}), hC = ["aria-labelledby", "aria-describedby"], gC = {
|
|
16244
16247
|
class: "pk-offline-screen__badge",
|
|
16245
16248
|
"aria-hidden": "true"
|
|
16246
|
-
},
|
|
16249
|
+
}, _C = ["id"], vC = ["id"], yC = { class: "pk-offline-screen__actions" }, bC = {
|
|
16247
16250
|
class: "pk-offline-screen__status",
|
|
16248
16251
|
"aria-live": "polite"
|
|
16249
|
-
},
|
|
16252
|
+
}, xC = /*@__PURE__*/ L({
|
|
16250
16253
|
__name: "PkOfflineScreen",
|
|
16251
16254
|
props: {
|
|
16252
16255
|
offline: { type: Boolean },
|
|
@@ -16274,17 +16277,17 @@ var dC = /*#__PURE__*/ cC(lC, [["render", uC]]), fC = {
|
|
|
16274
16277
|
ref: s,
|
|
16275
16278
|
class: "pk-offline-screen__panel"
|
|
16276
16279
|
}, [
|
|
16277
|
-
P("span",
|
|
16280
|
+
P("span", gC, [I(c, { name: "wifi-off" })]),
|
|
16278
16281
|
P("h1", {
|
|
16279
16282
|
id: U(a),
|
|
16280
16283
|
class: "vv-text vv-text--headline vv-text--size-1 pk-offline-screen__title"
|
|
16281
|
-
}, H(U(i)("title")), 9,
|
|
16284
|
+
}, H(U(i)("title")), 9, _C),
|
|
16282
16285
|
P("p", {
|
|
16283
16286
|
id: U(o),
|
|
16284
16287
|
class: "pk-offline-screen__text"
|
|
16285
|
-
}, H(U(i)("text")), 9,
|
|
16288
|
+
}, H(U(i)("text")), 9, vC),
|
|
16286
16289
|
n[2] ||= P("hr", { class: "pk-offline-screen__divider" }, null, -1),
|
|
16287
|
-
P("div",
|
|
16290
|
+
P("div", yC, [I(l, {
|
|
16288
16291
|
modifiers: "primary",
|
|
16289
16292
|
icon: "reload",
|
|
16290
16293
|
label: t.$t("action.retry"),
|
|
@@ -16295,11 +16298,11 @@ var dC = /*#__PURE__*/ cC(lC, [["render", uC]]), fC = {
|
|
|
16295
16298
|
"label",
|
|
16296
16299
|
"loading",
|
|
16297
16300
|
"disabled"
|
|
16298
|
-
]), P("p",
|
|
16301
|
+
]), P("p", bC, [n[1] ||= P("span", {
|
|
16299
16302
|
class: "pk-offline-screen__pulse",
|
|
16300
16303
|
"aria-hidden": "true"
|
|
16301
16304
|
}, null, -1), F(" " + H(e.checking ? U(i)("statusChecking") : U(i)("statusIdle")), 1)])])
|
|
16302
|
-
], 512)], 8,
|
|
16305
|
+
], 512)], 8, hC)) : M("", !0)]),
|
|
16303
16306
|
_: 1
|
|
16304
16307
|
});
|
|
16305
16308
|
};
|
|
@@ -16307,7 +16310,7 @@ var dC = /*#__PURE__*/ cC(lC, [["render", uC]]), fC = {
|
|
|
16307
16310
|
});
|
|
16308
16311
|
//#endregion
|
|
16309
16312
|
//#region virtual:intlify-i18n-3
|
|
16310
|
-
function
|
|
16313
|
+
function SC(e) {
|
|
16311
16314
|
let t = e;
|
|
16312
16315
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
16313
16316
|
locale: "",
|
|
@@ -16385,8 +16388,8 @@ function xC(e) {
|
|
|
16385
16388
|
}
|
|
16386
16389
|
//#endregion
|
|
16387
16390
|
//#region ../../packages/components/src/PkOfflineScreen.vue
|
|
16388
|
-
typeof
|
|
16389
|
-
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({
|
|
16390
16393
|
__name: "PkPwaNotices",
|
|
16391
16394
|
props: {
|
|
16392
16395
|
updateAvailable: { type: Boolean },
|
|
@@ -16394,7 +16397,7 @@ var SC = bC, CC = { class: "block text-smaller mt-4" }, wC = { class: "block tex
|
|
|
16394
16397
|
},
|
|
16395
16398
|
emits: ["update", "dismissUpdate"],
|
|
16396
16399
|
setup(e, { emit: t }) {
|
|
16397
|
-
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 = () => {
|
|
16398
16401
|
let e = window.navigator.userAgent;
|
|
16399
16402
|
return (/iphone|ipad|ipod/i.test(e) || /macintosh/i.test(e) && window.navigator.maxTouchPoints > 1) && !/crios|fxios|edgios/i.test(e);
|
|
16400
16403
|
}, u = B(!1), d, f = A(() => !a.value && (!!o.value || u.value)), p = (e) => {
|
|
@@ -16405,7 +16408,7 @@ var SC = bC, CC = { class: "block text-smaller mt-4" }, wC = { class: "block tex
|
|
|
16405
16408
|
Cr(() => {
|
|
16406
16409
|
c() || (window.addEventListener("beforeinstallprompt", p), window.addEventListener("appinstalled", m), l() && (d = setTimeout(() => {
|
|
16407
16410
|
u.value = !0;
|
|
16408
|
-
},
|
|
16411
|
+
}, DC)));
|
|
16409
16412
|
}), Sr(() => {
|
|
16410
16413
|
window.removeEventListener("beforeinstallprompt", p), window.removeEventListener("appinstalled", m), clearTimeout(d);
|
|
16411
16414
|
});
|
|
@@ -16458,7 +16461,7 @@ var SC = bC, CC = { class: "block text-smaller mt-4" }, wC = { class: "block tex
|
|
|
16458
16461
|
}, null, 8, ["label", "disabled"])]),
|
|
16459
16462
|
_: 1
|
|
16460
16463
|
})]),
|
|
16461
|
-
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)]),
|
|
16462
16465
|
_: 1
|
|
16463
16466
|
})) : M("", !0), e.updateAvailable ? (z(), j(l, {
|
|
16464
16467
|
key: "update",
|
|
@@ -16484,7 +16487,7 @@ var SC = bC, CC = { class: "block text-smaller mt-4" }, wC = { class: "block tex
|
|
|
16484
16487
|
}, null, 8, ["label", "disabled"])]),
|
|
16485
16488
|
_: 1
|
|
16486
16489
|
})]),
|
|
16487
|
-
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)]),
|
|
16488
16491
|
_: 1
|
|
16489
16492
|
})) : M("", !0)]),
|
|
16490
16493
|
_: 1
|
|
@@ -16494,7 +16497,7 @@ var SC = bC, CC = { class: "block text-smaller mt-4" }, wC = { class: "block tex
|
|
|
16494
16497
|
});
|
|
16495
16498
|
//#endregion
|
|
16496
16499
|
//#region virtual:intlify-i18n-4
|
|
16497
|
-
function
|
|
16500
|
+
function kC(e) {
|
|
16498
16501
|
let t = e;
|
|
16499
16502
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
16500
16503
|
locale: "",
|
|
@@ -16604,11 +16607,36 @@ function OC(e) {
|
|
|
16604
16607
|
}
|
|
16605
16608
|
//#endregion
|
|
16606
16609
|
//#region ../../packages/components/src/PkPwaNotices.vue
|
|
16607
|
-
typeof
|
|
16608
|
-
var
|
|
16610
|
+
typeof kC == "function" && kC(OC);
|
|
16611
|
+
var AC = OC, jC = ["aria-label", "innerHTML"], MC = /* @__PURE__ */ L({
|
|
16612
|
+
__name: "PkQrCode",
|
|
16613
|
+
props: {
|
|
16614
|
+
value: {},
|
|
16615
|
+
label: {}
|
|
16616
|
+
},
|
|
16617
|
+
setup(e) {
|
|
16618
|
+
let t = e, n = B("");
|
|
16619
|
+
return G(() => t.value, async (e) => {
|
|
16620
|
+
if (!e) {
|
|
16621
|
+
n.value = "";
|
|
16622
|
+
return;
|
|
16623
|
+
}
|
|
16624
|
+
let { default: t } = await import("qrcode");
|
|
16625
|
+
n.value = await t.toString(e, {
|
|
16626
|
+
type: "svg",
|
|
16627
|
+
margin: 1
|
|
16628
|
+
});
|
|
16629
|
+
}, { immediate: !0 }), (t, r) => (z(), N("div", {
|
|
16630
|
+
class: "pk-qr-code",
|
|
16631
|
+
role: "img",
|
|
16632
|
+
"aria-label": e.label,
|
|
16633
|
+
innerHTML: n.value
|
|
16634
|
+
}, null, 8, jC));
|
|
16635
|
+
}
|
|
16636
|
+
}), NC = {
|
|
16609
16637
|
key: 0,
|
|
16610
16638
|
class: "vv-skeleton"
|
|
16611
|
-
},
|
|
16639
|
+
}, PC = /* @__PURE__ */ L({
|
|
16612
16640
|
inheritAttrs: !1,
|
|
16613
16641
|
__name: "PkSkeleton",
|
|
16614
16642
|
props: {
|
|
@@ -16621,35 +16649,35 @@ var kC = DC, AC = {
|
|
|
16621
16649
|
},
|
|
16622
16650
|
setup(e) {
|
|
16623
16651
|
return (t, n) => (z(), j(or, { mode: "out-in" }, {
|
|
16624
|
-
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", {
|
|
16625
16653
|
key: n,
|
|
16626
16654
|
class: yr(["vv-skeleton__item", e.rowClasses?.[n - 1] ? e.rowClasses[n - 1] : t.$attrs.class])
|
|
16627
16655
|
}, null, 2))), 128))])])) : V(t.$slots, "default", {}, void 0, void 0, 1)]),
|
|
16628
16656
|
_: 3
|
|
16629
16657
|
}));
|
|
16630
16658
|
}
|
|
16631
|
-
}),
|
|
16659
|
+
}), FC = {
|
|
16632
16660
|
active: "ri:play-line",
|
|
16633
16661
|
inactive: "ri:pause-line",
|
|
16634
16662
|
draft: "ri:edit-line",
|
|
16635
16663
|
error: "ri:error-warning-line"
|
|
16636
|
-
},
|
|
16664
|
+
}, IC = {
|
|
16637
16665
|
public: "ri:global-line",
|
|
16638
16666
|
organization: "ri:building-line",
|
|
16639
16667
|
private: "ri:lock-line"
|
|
16640
16668
|
};
|
|
16641
|
-
function
|
|
16642
|
-
return
|
|
16669
|
+
function LC(e) {
|
|
16670
|
+
return FC[e ?? ""] ?? "ri:pause-line";
|
|
16643
16671
|
}
|
|
16644
|
-
function
|
|
16645
|
-
return
|
|
16672
|
+
function RC(e) {
|
|
16673
|
+
return IC[e ?? ""] ?? "ri:building-line";
|
|
16646
16674
|
}
|
|
16647
16675
|
//#endregion
|
|
16648
16676
|
//#region ../../packages/components/src/chat/PkAgentSelectorInline.vue?vue&type=script&setup=true&lang.ts
|
|
16649
|
-
var
|
|
16677
|
+
var zC = { class: "flex items-center gap-xs min-w-0" }, BC = { class: "truncate" }, VC = {
|
|
16650
16678
|
key: 0,
|
|
16651
16679
|
class: "flex items-center gap-xs min-w-0"
|
|
16652
|
-
},
|
|
16680
|
+
}, HC = { class: "text-word truncate" }, UC = /* @__PURE__ */ L({
|
|
16653
16681
|
__name: "PkAgentSelectorInline",
|
|
16654
16682
|
props: /*@__PURE__*/ gr({ agents: {} }, {
|
|
16655
16683
|
modelValue: { default: void 0 },
|
|
@@ -16677,16 +16705,16 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16677
16705
|
"dropdown-modifiers": "menu mobile",
|
|
16678
16706
|
offset: "2"
|
|
16679
16707
|
}, {
|
|
16680
|
-
option: K(({ option: e }) => [P("span",
|
|
16708
|
+
option: K(({ option: e }) => [P("span", zC, [I(gn, {
|
|
16681
16709
|
modifiers: "surface ring",
|
|
16682
16710
|
"img-src": e.interface?.logo,
|
|
16683
16711
|
name: e.name
|
|
16684
|
-
}, null, 8, ["img-src", "name"]), P("span",
|
|
16685
|
-
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, {
|
|
16686
16714
|
modifiers: "surface ring",
|
|
16687
16715
|
"img-src": e[0].interface?.logo,
|
|
16688
16716
|
name: e[0].name
|
|
16689
|
-
}, null, 8, ["img-src", "name"]), P("span",
|
|
16717
|
+
}, null, 8, ["img-src", "name"]), P("span", HC, H(e[0].name), 1)])) : M("", !0)]),
|
|
16690
16718
|
_: 1
|
|
16691
16719
|
}, 8, [
|
|
16692
16720
|
"modelValue",
|
|
@@ -16696,7 +16724,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16696
16724
|
]);
|
|
16697
16725
|
};
|
|
16698
16726
|
}
|
|
16699
|
-
}),
|
|
16727
|
+
}), WC = he, GC = .6, KC = ne.parse({}), qC = /* @__PURE__ */ L({
|
|
16700
16728
|
__name: "PkToolApprovalBadge",
|
|
16701
16729
|
setup(e) {
|
|
16702
16730
|
let { t } = Vr({ useScope: "global" });
|
|
@@ -16714,16 +16742,16 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16714
16742
|
});
|
|
16715
16743
|
};
|
|
16716
16744
|
}
|
|
16717
|
-
}),
|
|
16718
|
-
let e = R(
|
|
16745
|
+
}), JC = Symbol("modelCatalog"), YC = (e) => Tr(JC, e), XC = () => {
|
|
16746
|
+
let e = R(JC, void 0);
|
|
16719
16747
|
return (t) => t ? e?.value?.find((e) => e.id === t) : void 0;
|
|
16720
|
-
},
|
|
16721
|
-
let e = R(
|
|
16748
|
+
}, ZC = () => {
|
|
16749
|
+
let e = R(JC, void 0);
|
|
16722
16750
|
return A(() => e?.value !== void 0);
|
|
16723
|
-
},
|
|
16751
|
+
}, QC = (e) => me(e) ? {
|
|
16724
16752
|
label: "label.modelNotAvailable",
|
|
16725
16753
|
hint: "hint.modelNotOnEndpoint"
|
|
16726
|
-
} : void 0,
|
|
16754
|
+
} : void 0, $C = (e) => {
|
|
16727
16755
|
if (e) {
|
|
16728
16756
|
if (e.retired) return {
|
|
16729
16757
|
label: "label.retired",
|
|
@@ -16738,7 +16766,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16738
16766
|
hint: "hint.modelDisabledForOrganization"
|
|
16739
16767
|
};
|
|
16740
16768
|
}
|
|
16741
|
-
},
|
|
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({
|
|
16742
16770
|
__name: "PkLanguageModel",
|
|
16743
16771
|
props: {
|
|
16744
16772
|
modelName: {},
|
|
@@ -16749,7 +16777,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16749
16777
|
showSource: { type: Boolean }
|
|
16750
16778
|
},
|
|
16751
16779
|
setup(e) {
|
|
16752
|
-
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(() => {
|
|
16753
16781
|
let e = t.modelName;
|
|
16754
16782
|
if (!e) return;
|
|
16755
16783
|
let n = e.indexOf("/");
|
|
@@ -16772,11 +16800,11 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16772
16800
|
hint: n("hint.modelSourcePlatform")
|
|
16773
16801
|
} : void 0;
|
|
16774
16802
|
}), f = A(() => {
|
|
16775
|
-
if (!t.historical) return a.value ?
|
|
16803
|
+
if (!t.historical) return a.value ? $C(a.value) : i.value ? QC(t.modelName) : void 0;
|
|
16776
16804
|
});
|
|
16777
16805
|
return (t, r) => {
|
|
16778
16806
|
let i = $n;
|
|
16779
|
-
return z(), N("div",
|
|
16807
|
+
return z(), N("div", ew, [I(i, {
|
|
16780
16808
|
name: u.value,
|
|
16781
16809
|
prefix: l.value,
|
|
16782
16810
|
class: yr(["shrink-0", { "text-word-4": f.value }]),
|
|
@@ -16786,40 +16814,40 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16786
16814
|
"prefix",
|
|
16787
16815
|
"class",
|
|
16788
16816
|
"title"
|
|
16789
|
-
]), P("span",
|
|
16817
|
+
]), P("span", tw, [
|
|
16790
16818
|
P("span", { class: yr(["truncate", { "text-word-3": f.value }]) }, H(e.label || a.value?.label || o.value), 3),
|
|
16791
16819
|
d.value ? (z(), N("span", {
|
|
16792
16820
|
key: 0,
|
|
16793
16821
|
class: "shrink-0 text-12 text-word-3",
|
|
16794
16822
|
title: d.value.hint
|
|
16795
|
-
}, H(d.value.label), 9,
|
|
16823
|
+
}, H(d.value.label), 9, nw)) : M("", !0),
|
|
16796
16824
|
f.value ? (z(), N("span", {
|
|
16797
16825
|
key: 1,
|
|
16798
16826
|
class: "shrink-0 text-12 text-word-3",
|
|
16799
16827
|
title: U(n)(f.value.hint)
|
|
16800
|
-
}, H(U(n)(f.value.label)), 9,
|
|
16828
|
+
}, H(U(n)(f.value.label)), 9, rw)) : M("", !0)
|
|
16801
16829
|
])]);
|
|
16802
16830
|
};
|
|
16803
16831
|
}
|
|
16804
|
-
}),
|
|
16832
|
+
}), aw = {
|
|
16805
16833
|
key: 0,
|
|
16806
16834
|
class: "flex items-center gap-8 min-w-0 w-full"
|
|
16807
|
-
},
|
|
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 = {
|
|
16808
16836
|
key: 0,
|
|
16809
16837
|
class: "text-12 text-word-3 truncate leading-tight"
|
|
16810
|
-
},
|
|
16838
|
+
}, dw = {
|
|
16811
16839
|
key: 1,
|
|
16812
16840
|
class: "flex items-center gap-8 min-w-0 w-full"
|
|
16813
|
-
},
|
|
16841
|
+
}, fw = { class: "truncate" }, pw = ["title"], mw = {
|
|
16814
16842
|
key: 1,
|
|
16815
16843
|
class: "ml-auto flex items-center gap-8 shrink-0"
|
|
16816
|
-
},
|
|
16844
|
+
}, hw = {
|
|
16817
16845
|
key: 0,
|
|
16818
16846
|
class: "text-12 text-word-3 none sm:inline"
|
|
16819
|
-
},
|
|
16847
|
+
}, gw = {
|
|
16820
16848
|
key: 1,
|
|
16821
16849
|
class: "text-12 text-word-3"
|
|
16822
|
-
},
|
|
16850
|
+
}, _w = ["title"], vw = /* @__PURE__ */ L({
|
|
16823
16851
|
__name: "PkModelOption",
|
|
16824
16852
|
props: {
|
|
16825
16853
|
entry: {},
|
|
@@ -16828,7 +16856,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16828
16856
|
stacked: { type: Boolean }
|
|
16829
16857
|
},
|
|
16830
16858
|
setup(e) {
|
|
16831
|
-
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(() => {
|
|
16832
16860
|
let e = t.entry?.pricing;
|
|
16833
16861
|
if (!e) return;
|
|
16834
16862
|
let n = (e) => r(e * ye, "USD");
|
|
@@ -16848,7 +16876,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16848
16876
|
}), f = A(() => [u.value, l.value].filter(Boolean).join(" · "));
|
|
16849
16877
|
return (t, r) => {
|
|
16850
16878
|
let a = $n;
|
|
16851
|
-
return e.stacked ? (z(), N("div",
|
|
16879
|
+
return e.stacked ? (z(), N("div", aw, [I(a, {
|
|
16852
16880
|
name: s.value,
|
|
16853
16881
|
prefix: o.value,
|
|
16854
16882
|
class: "shrink-0 w-16 h-16",
|
|
@@ -16857,11 +16885,11 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16857
16885
|
"name",
|
|
16858
16886
|
"prefix",
|
|
16859
16887
|
"title"
|
|
16860
|
-
]), P("div",
|
|
16888
|
+
]), P("div", ow, [P("span", sw, [P("span", cw, H(i.value), 1), c.value ? (z(), N("span", {
|
|
16861
16889
|
key: 0,
|
|
16862
16890
|
class: "text-12 text-word-3 shrink-0",
|
|
16863
16891
|
title: U(n)(c.value.hint)
|
|
16864
|
-
}, 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, [
|
|
16865
16893
|
I(a, {
|
|
16866
16894
|
name: s.value,
|
|
16867
16895
|
prefix: o.value,
|
|
@@ -16872,25 +16900,25 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16872
16900
|
"prefix",
|
|
16873
16901
|
"title"
|
|
16874
16902
|
]),
|
|
16875
|
-
P("span",
|
|
16903
|
+
P("span", fw, H(i.value), 1),
|
|
16876
16904
|
c.value ? (z(), N("span", {
|
|
16877
16905
|
key: 0,
|
|
16878
16906
|
class: "text-12 text-word-3 shrink-0",
|
|
16879
16907
|
title: U(n)(c.value.hint)
|
|
16880
|
-
}, H(U(n)(c.value.label)), 9,
|
|
16881
|
-
e.detailed ? (z(), N("span",
|
|
16882
|
-
u.value ? (z(), N("span",
|
|
16883
|
-
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),
|
|
16884
16912
|
(z(!0), N(k, null, Or(d.value, (e) => (z(), N("span", {
|
|
16885
16913
|
key: e.key,
|
|
16886
16914
|
class: yr(["pk-model-option__dot", `pk-model-option__dot--${e.value}`]),
|
|
16887
16915
|
title: e.title
|
|
16888
|
-
}, null, 10,
|
|
16916
|
+
}, null, 10, _w))), 128))
|
|
16889
16917
|
])) : M("", !0)
|
|
16890
16918
|
]));
|
|
16891
16919
|
};
|
|
16892
16920
|
}
|
|
16893
|
-
}),
|
|
16921
|
+
}), yw = /* @__PURE__ */ L({
|
|
16894
16922
|
__name: "PkLanguageModelCombobox",
|
|
16895
16923
|
props: {
|
|
16896
16924
|
name: {},
|
|
@@ -16907,7 +16935,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16907
16935
|
},
|
|
16908
16936
|
emits: ["update:modelValue"],
|
|
16909
16937
|
setup(e, { emit: t }) {
|
|
16910
|
-
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) => ({
|
|
16911
16939
|
label: e,
|
|
16912
16940
|
value: e
|
|
16913
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) => ({
|
|
@@ -16960,7 +16988,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16960
16988
|
"selected-hint-label": "",
|
|
16961
16989
|
"onUpdate:modelValue": a[0] ||= (e) => i("update:modelValue", e)
|
|
16962
16990
|
}, {
|
|
16963
|
-
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, {
|
|
16964
16992
|
key: g(t),
|
|
16965
16993
|
"model-name": g(t),
|
|
16966
16994
|
label: _(t)?.catalogLabel,
|
|
@@ -16978,7 +17006,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16978
17006
|
"endpoint-name",
|
|
16979
17007
|
"show-source",
|
|
16980
17008
|
"class"
|
|
16981
|
-
]))), 128)) : (z(), j(
|
|
17009
|
+
]))), 128)) : (z(), j(iw, {
|
|
16982
17010
|
key: 1,
|
|
16983
17011
|
"model-name": g(e[0]),
|
|
16984
17012
|
label: _(e[0])?.catalogLabel,
|
|
@@ -16993,12 +17021,12 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
16993
17021
|
"endpoint-name",
|
|
16994
17022
|
"show-source"
|
|
16995
17023
|
]))]),
|
|
16996
|
-
option: K(({ option: e }) => [_(e)?.entry ? (z(), j(
|
|
17024
|
+
option: K(({ option: e }) => [_(e)?.entry ? (z(), j(vw, {
|
|
16997
17025
|
key: 0,
|
|
16998
17026
|
entry: _(e)?.entry,
|
|
16999
17027
|
stacked: "",
|
|
17000
17028
|
class: "text-14"
|
|
17001
|
-
}, null, 8, ["entry"])) : (z(), j(
|
|
17029
|
+
}, null, 8, ["entry"])) : (z(), j(iw, {
|
|
17002
17030
|
key: 1,
|
|
17003
17031
|
"model-name": g(e),
|
|
17004
17032
|
label: _(e)?.catalogLabel,
|
|
@@ -17021,10 +17049,10 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
17021
17049
|
]);
|
|
17022
17050
|
};
|
|
17023
17051
|
}
|
|
17024
|
-
}),
|
|
17052
|
+
}), bw = {
|
|
17025
17053
|
key: 5,
|
|
17026
17054
|
class: "text-12 text-word-3"
|
|
17027
|
-
},
|
|
17055
|
+
}, xw = /* @__PURE__ */ L({
|
|
17028
17056
|
__name: "PkReasoningSettings",
|
|
17029
17057
|
props: /*@__PURE__*/ gr({ activeProvider: {} }, {
|
|
17030
17058
|
reasoning: { default: void 0 },
|
|
@@ -17334,10 +17362,10 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
17334
17362
|
"placeholder",
|
|
17335
17363
|
"hint-label",
|
|
17336
17364
|
"options"
|
|
17337
|
-
])) : (z(), N("small",
|
|
17365
|
+
])) : (z(), N("small", bw, H(U(t)("hint.reasoningNotSupported")), 1));
|
|
17338
17366
|
};
|
|
17339
17367
|
}
|
|
17340
|
-
}),
|
|
17368
|
+
}), Sw = /* @__PURE__ */ L({
|
|
17341
17369
|
__name: "PkWebSearchSettings",
|
|
17342
17370
|
props: /*@__PURE__*/ gr({
|
|
17343
17371
|
activeProvider: {},
|
|
@@ -17708,7 +17736,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
17708
17736
|
], 64)) : M("", !0)], 64)) : M("", !0)], 64)) : M("", !0)], 64);
|
|
17709
17737
|
};
|
|
17710
17738
|
}
|
|
17711
|
-
}),
|
|
17739
|
+
}), Cw = /* @__PURE__ */ L({
|
|
17712
17740
|
__name: "PkEditorChannels",
|
|
17713
17741
|
props: /*@__PURE__*/ gr({ type: {} }, {
|
|
17714
17742
|
modelValue: { default: () => Object.values(oe) },
|
|
@@ -17768,7 +17796,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
17768
17796
|
_: 1
|
|
17769
17797
|
}, 8, ["legend"]));
|
|
17770
17798
|
}
|
|
17771
|
-
}),
|
|
17799
|
+
}), ww = { key: 1 }, Tw = { class: "pk-copy-block__actions" }, Ew = /* @__PURE__ */ L({
|
|
17772
17800
|
__name: "PkCopyBlock",
|
|
17773
17801
|
props: {
|
|
17774
17802
|
source: {},
|
|
@@ -17783,7 +17811,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
17783
17811
|
key: 0,
|
|
17784
17812
|
code: n.value,
|
|
17785
17813
|
language: e.codeLanguage
|
|
17786
|
-
}, 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, {
|
|
17787
17815
|
default: K(() => [I(s, {
|
|
17788
17816
|
modifiers: e.modifiers.includes("inline") ? "action-quiet-small" : "action-small",
|
|
17789
17817
|
icon: U(i) ? "ri:check-line" : "ri:file-copy-line",
|
|
@@ -17798,7 +17826,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
17798
17826
|
})])], 2);
|
|
17799
17827
|
};
|
|
17800
17828
|
}
|
|
17801
|
-
}),
|
|
17829
|
+
}), Dw = /* @__PURE__ */ L({
|
|
17802
17830
|
__name: "PkInputColor",
|
|
17803
17831
|
props: {
|
|
17804
17832
|
modelValue: {},
|
|
@@ -17831,13 +17859,13 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
17831
17859
|
])]);
|
|
17832
17860
|
};
|
|
17833
17861
|
}
|
|
17834
|
-
}),
|
|
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 = {
|
|
17835
17863
|
key: 0,
|
|
17836
17864
|
class: "text-12 text-word-3 -mt-sm mb-md"
|
|
17837
|
-
},
|
|
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 = {
|
|
17838
17866
|
key: 0,
|
|
17839
17867
|
class: "text-12 text-word-3 truncate"
|
|
17840
|
-
},
|
|
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({
|
|
17841
17869
|
__name: "PkAgentSettingsPanel",
|
|
17842
17870
|
props: /*@__PURE__*/ gr({
|
|
17843
17871
|
organizationSlug: {},
|
|
@@ -17866,9 +17894,9 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
17866
17894
|
dismissableNoticeModifiers: {},
|
|
17867
17895
|
footerMessage: { default: void 0 },
|
|
17868
17896
|
footerMessageModifiers: {},
|
|
17869
|
-
model: { default:
|
|
17897
|
+
model: { default: WC[0] },
|
|
17870
17898
|
modelModifiers: {},
|
|
17871
|
-
temperature: { default:
|
|
17899
|
+
temperature: { default: GC },
|
|
17872
17900
|
temperatureModifiers: {},
|
|
17873
17901
|
prompt: { default: "" },
|
|
17874
17902
|
promptModifiers: {},
|
|
@@ -17991,13 +18019,13 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
17991
18019
|
voiceTurnEagernessModifiers: {},
|
|
17992
18020
|
voiceTurnTimeoutSeconds: { default: 5 },
|
|
17993
18021
|
voiceTurnTimeoutSecondsModifiers: {},
|
|
17994
|
-
fileUploadMaxFileSize: { default:
|
|
18022
|
+
fileUploadMaxFileSize: { default: KC.maxFileSizeBytes },
|
|
17995
18023
|
fileUploadMaxFileSizeModifiers: {},
|
|
17996
|
-
fileUploadAllowedMimeTypes: { default: () => [...
|
|
18024
|
+
fileUploadAllowedMimeTypes: { default: () => [...KC.allowedMimeTypes] },
|
|
17997
18025
|
fileUploadAllowedMimeTypesModifiers: {},
|
|
17998
|
-
fileUploadMaxFilesPerMessage: { default:
|
|
18026
|
+
fileUploadMaxFilesPerMessage: { default: KC.maxFilesPerMessage },
|
|
17999
18027
|
fileUploadMaxFilesPerMessageModifiers: {},
|
|
18000
|
-
fileUploadMaxFilesPerChat: { default:
|
|
18028
|
+
fileUploadMaxFilesPerChat: { default: KC.maxFilesPerChat },
|
|
18001
18029
|
fileUploadMaxFilesPerChatModifiers: {},
|
|
18002
18030
|
customCss: { default: void 0 },
|
|
18003
18031
|
customCssModifiers: {},
|
|
@@ -18294,7 +18322,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18294
18322
|
style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>`);
|
|
18295
18323
|
return (s, c) => {
|
|
18296
18324
|
let l = $n, v = Yn, w = nr, ce = tr, me = Jn, je = ir, et = Kn, tt = Vn, nt = rr, rt = Gn, st = Xn;
|
|
18297
|
-
return z(), N("div",
|
|
18325
|
+
return z(), N("div", Ow, [I(nt, {
|
|
18298
18326
|
items: Wt.value,
|
|
18299
18327
|
lazy: "once"
|
|
18300
18328
|
}, {
|
|
@@ -18307,11 +18335,11 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18307
18335
|
readonly: "",
|
|
18308
18336
|
vertical: ""
|
|
18309
18337
|
}, null, 8, ["modelValue", "label"]),
|
|
18310
|
-
P("div",
|
|
18338
|
+
P("div", kw, [I(v, {
|
|
18311
18339
|
modelValue: te.value,
|
|
18312
18340
|
"onUpdate:modelValue": c[1] ||= (e) => te.value = e,
|
|
18313
18341
|
name: "status",
|
|
18314
|
-
icon: U(
|
|
18342
|
+
icon: U(LC)(te.value),
|
|
18315
18343
|
label: U(n)("label.status"),
|
|
18316
18344
|
placeholder: U(n)("placeholder.select"),
|
|
18317
18345
|
unselectable: !1,
|
|
@@ -18334,8 +18362,8 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18334
18362
|
],
|
|
18335
18363
|
disabled: e.playground
|
|
18336
18364
|
}, {
|
|
18337
|
-
option: K(({ option: e }) => [P("span",
|
|
18338
|
-
name: U(
|
|
18365
|
+
option: K(({ option: e }) => [P("span", Aw, [I(l, {
|
|
18366
|
+
name: U(LC)(String(e.value)),
|
|
18339
18367
|
class: "w-16 h-16 shrink-0"
|
|
18340
18368
|
}, null, 8, ["name"]), F(" " + H(e.label), 1)])]),
|
|
18341
18369
|
_: 1
|
|
@@ -18350,7 +18378,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18350
18378
|
modelValue: ne.value,
|
|
18351
18379
|
"onUpdate:modelValue": c[2] ||= (e) => ne.value = e,
|
|
18352
18380
|
name: "visibility",
|
|
18353
|
-
icon: U(
|
|
18381
|
+
icon: U(RC)(ne.value),
|
|
18354
18382
|
label: U(n)("label.visibility"),
|
|
18355
18383
|
placeholder: U(n)("placeholder.select"),
|
|
18356
18384
|
unselectable: !1,
|
|
@@ -18373,8 +18401,8 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18373
18401
|
],
|
|
18374
18402
|
disabled: e.playground || !Ut.value
|
|
18375
18403
|
}, {
|
|
18376
|
-
option: K(({ option: e }) => [P("span",
|
|
18377
|
-
name: U(
|
|
18404
|
+
option: K(({ option: e }) => [P("span", jw, [I(l, {
|
|
18405
|
+
name: U(RC)(String(e.value)),
|
|
18378
18406
|
class: "w-16 h-16 shrink-0"
|
|
18379
18407
|
}, null, 8, ["name"]), F(" " + H(e.label), 1)])]),
|
|
18380
18408
|
_: 1
|
|
@@ -18397,7 +18425,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18397
18425
|
"label",
|
|
18398
18426
|
"placeholder"
|
|
18399
18427
|
]),
|
|
18400
|
-
I(
|
|
18428
|
+
I(yw, {
|
|
18401
18429
|
modelValue: g.value,
|
|
18402
18430
|
"onUpdate:modelValue": c[4] ||= (e) => g.value = e,
|
|
18403
18431
|
name: "model",
|
|
@@ -18418,7 +18446,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18418
18446
|
"disallow-prompt-training",
|
|
18419
18447
|
"current"
|
|
18420
18448
|
]),
|
|
18421
|
-
y.value ? (z(), N("p",
|
|
18449
|
+
y.value ? (z(), N("p", Mw, H(y.value), 1)) : M("", !0),
|
|
18422
18450
|
_.value ? (z(), j(QS, {
|
|
18423
18451
|
key: 1,
|
|
18424
18452
|
icon: "ri:server-line",
|
|
@@ -18443,10 +18471,10 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18443
18471
|
modifiers: "details",
|
|
18444
18472
|
class: "border border-surface-3 rounded"
|
|
18445
18473
|
}, {
|
|
18446
|
-
default: K(() => [P("div",
|
|
18474
|
+
default: K(() => [P("div", Nw, [
|
|
18447
18475
|
I(oo, { legend: U(n)("label.modelParameters") }, {
|
|
18448
18476
|
default: K(() => [
|
|
18449
|
-
_.value ? M("", !0) : (z(), j(
|
|
18477
|
+
_.value ? M("", !0) : (z(), j(yw, {
|
|
18450
18478
|
key: 0,
|
|
18451
18479
|
modelValue: _t.value,
|
|
18452
18480
|
"onUpdate:modelValue": c[6] ||= (e) => _t.value = e,
|
|
@@ -18548,7 +18576,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18548
18576
|
_: 1
|
|
18549
18577
|
}, 8, ["legend"]),
|
|
18550
18578
|
I(oo, { legend: U(n)("label.reasoning") }, {
|
|
18551
|
-
default: K(() => [I(
|
|
18579
|
+
default: K(() => [I(xw, {
|
|
18552
18580
|
reasoning: pe.value,
|
|
18553
18581
|
"onUpdate:reasoning": c[12] ||= (e) => pe.value = e,
|
|
18554
18582
|
"active-provider": Ht.value
|
|
@@ -18645,13 +18673,13 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18645
18673
|
"unchecked-value": !1,
|
|
18646
18674
|
class: "flex-nowrap mb-md"
|
|
18647
18675
|
}, {
|
|
18648
|
-
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)])]),
|
|
18649
18677
|
_: 1
|
|
18650
18678
|
}, 8, ["modelValue"])) : M("", !0),
|
|
18651
|
-
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", {
|
|
18652
18680
|
class: "block text-12 text-word-3",
|
|
18653
18681
|
for: a.freshnessScale
|
|
18654
|
-
}, H(U(n)("hint.freshnessScale")), 9,
|
|
18682
|
+
}, H(U(n)("hint.freshnessScale")), 9, Rw), P("div", zw, [I(l, {
|
|
18655
18683
|
name: "ri:information-line",
|
|
18656
18684
|
class: "w-14 h-14"
|
|
18657
18685
|
}), I(je, {
|
|
@@ -18671,11 +18699,11 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18671
18699
|
"id",
|
|
18672
18700
|
"modelValue",
|
|
18673
18701
|
"format-value"
|
|
18674
|
-
])]), P("div",
|
|
18675
|
-
P("div",
|
|
18702
|
+
])]), P("div", Bw, [
|
|
18703
|
+
P("div", Vw, [P("label", {
|
|
18676
18704
|
class: "block text-12 text-word-3",
|
|
18677
18705
|
for: a.freshnessWeight
|
|
18678
|
-
}, H(U(n)("label.freshnessWeight")), 9,
|
|
18706
|
+
}, H(U(n)("label.freshnessWeight")), 9, Hw), P("div", Uw, [I(l, {
|
|
18679
18707
|
name: "ri:information-line",
|
|
18680
18708
|
class: "w-14 h-14"
|
|
18681
18709
|
}), I(je, {
|
|
@@ -18698,7 +18726,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18698
18726
|
"modelValue",
|
|
18699
18727
|
"format-value"
|
|
18700
18728
|
])) : M("", !0),
|
|
18701
|
-
P("p",
|
|
18729
|
+
P("p", Ww, H(Dt.value), 1)
|
|
18702
18730
|
])], 64)) : M("", !0),
|
|
18703
18731
|
Tt.value?.mmr ? (z(), j(me, {
|
|
18704
18732
|
key: 2,
|
|
@@ -18710,13 +18738,13 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18710
18738
|
"unchecked-value": !1,
|
|
18711
18739
|
class: "flex-nowrap mb-md border-t border-surface-3 pt-md"
|
|
18712
18740
|
}, {
|
|
18713
|
-
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)])]),
|
|
18714
18742
|
_: 1
|
|
18715
18743
|
}, 8, ["modelValue"])) : M("", !0),
|
|
18716
|
-
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", {
|
|
18717
18745
|
class: "block text-12 text-word-3",
|
|
18718
18746
|
for: a.mmrDiversity
|
|
18719
|
-
}, H(U(n)("label.mmrDiversity")), 9,
|
|
18747
|
+
}, H(U(n)("label.mmrDiversity")), 9, Yw), P("div", Xw, [I(l, {
|
|
18720
18748
|
name: "ri:information-line",
|
|
18721
18749
|
class: "w-14 h-14"
|
|
18722
18750
|
}), I(je, {
|
|
@@ -18737,10 +18765,10 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18737
18765
|
"id",
|
|
18738
18766
|
"modelValue",
|
|
18739
18767
|
"format-value"
|
|
18740
|
-
])) : M("", !0)]), P("div",
|
|
18768
|
+
])) : M("", !0)]), P("div", Zw, [P("div", Qw, [P("label", {
|
|
18741
18769
|
class: "block text-12 text-word-3",
|
|
18742
18770
|
for: a.mmrCandidatesLimit
|
|
18743
|
-
}, H(U(n)("label.mmrCandidatesLimit")), 9,
|
|
18771
|
+
}, H(U(n)("label.mmrCandidatesLimit")), 9, $w), P("div", eT, [I(l, {
|
|
18744
18772
|
name: "ri:information-line",
|
|
18745
18773
|
class: "w-14 h-14"
|
|
18746
18774
|
}), I(je, {
|
|
@@ -18779,7 +18807,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18779
18807
|
"unchecked-value": !1,
|
|
18780
18808
|
class: "flex-nowrap mb-0"
|
|
18781
18809
|
}, {
|
|
18782
|
-
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)])]),
|
|
18783
18811
|
_: 1
|
|
18784
18812
|
}, 8, ["modelValue"]), vt.value ? M("", !0) : (z(), j(me, {
|
|
18785
18813
|
key: 0,
|
|
@@ -18791,7 +18819,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18791
18819
|
"unchecked-value": !1,
|
|
18792
18820
|
class: "flex-nowrap mt-md mb-0"
|
|
18793
18821
|
}, {
|
|
18794
|
-
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)])]),
|
|
18795
18823
|
_: 1
|
|
18796
18824
|
}, 8, ["modelValue"]))]),
|
|
18797
18825
|
_: 1
|
|
@@ -18810,7 +18838,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18810
18838
|
"unchecked-value": !1,
|
|
18811
18839
|
class: "flex-nowrap mb-0"
|
|
18812
18840
|
}, {
|
|
18813
|
-
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)])]),
|
|
18814
18842
|
_: 1
|
|
18815
18843
|
}, 8, ["modelValue"]), Ve.value ? (z(), N(k, { key: 0 }, [
|
|
18816
18844
|
zt.value.length ? (z(), j(QS, {
|
|
@@ -18821,7 +18849,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18821
18849
|
default: K(() => [F(H(U(n)("hint.voiceApprovalRefused", { tools: zt.value.join(", ") })), 1)]),
|
|
18822
18850
|
_: 1
|
|
18823
18851
|
})) : M("", !0),
|
|
18824
|
-
P("div",
|
|
18852
|
+
P("div", sT, [I(v, {
|
|
18825
18853
|
modelValue: Ue.value,
|
|
18826
18854
|
"onUpdate:modelValue": c[27] ||= (e) => Ue.value = e,
|
|
18827
18855
|
name: "voiceId",
|
|
@@ -18849,7 +18877,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18849
18877
|
"disabled",
|
|
18850
18878
|
"title"
|
|
18851
18879
|
])]),
|
|
18852
|
-
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)])]),
|
|
18853
18881
|
_: 1
|
|
18854
18882
|
}, 8, [
|
|
18855
18883
|
"modelValue",
|
|
@@ -18903,7 +18931,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18903
18931
|
modifiers: "details",
|
|
18904
18932
|
class: "border border-surface-3 rounded-lg mt-md"
|
|
18905
18933
|
}, {
|
|
18906
|
-
default: K(() => [P("div",
|
|
18934
|
+
default: K(() => [P("div", dT, [
|
|
18907
18935
|
I(me, {
|
|
18908
18936
|
modelValue: Ye.value,
|
|
18909
18937
|
"onUpdate:modelValue": c[30] ||= (e) => Ye.value = e,
|
|
@@ -18913,7 +18941,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18913
18941
|
"unchecked-value": !1,
|
|
18914
18942
|
class: "flex-nowrap mb-0"
|
|
18915
18943
|
}, {
|
|
18916
|
-
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)])]),
|
|
18917
18945
|
_: 1
|
|
18918
18946
|
}, 8, ["modelValue"]),
|
|
18919
18947
|
I(v, {
|
|
@@ -18951,7 +18979,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18951
18979
|
"placeholder",
|
|
18952
18980
|
"options"
|
|
18953
18981
|
]),
|
|
18954
|
-
P("div",
|
|
18982
|
+
P("div", mT, [I(w, {
|
|
18955
18983
|
modelValue: Qe.value,
|
|
18956
18984
|
"onUpdate:modelValue": c[32] ||= (e) => Qe.value = e,
|
|
18957
18985
|
name: "voiceTurnTimeoutSeconds",
|
|
@@ -18982,7 +19010,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
18982
19010
|
"label",
|
|
18983
19011
|
"placeholder"
|
|
18984
19012
|
])]),
|
|
18985
|
-
P("small",
|
|
19013
|
+
P("small", hT, H(U(n)("hint.voiceTurnTimeoutSeconds")), 1),
|
|
18986
19014
|
I(w, {
|
|
18987
19015
|
modelValue: He.value,
|
|
18988
19016
|
"onUpdate:modelValue": c[34] ||= (e) => He.value = e,
|
|
@@ -19044,7 +19072,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19044
19072
|
], 64)) : M("", !0)]),
|
|
19045
19073
|
_: 1
|
|
19046
19074
|
}, 8, ["legend"])) : M("", !0),
|
|
19047
|
-
e.playground ? M("", !0) : (z(), j(
|
|
19075
|
+
e.playground ? M("", !0) : (z(), j(Cw, {
|
|
19048
19076
|
key: 2,
|
|
19049
19077
|
modelValue: Ct.value,
|
|
19050
19078
|
"onUpdate:modelValue": c[37] ||= (e) => Ct.value = e,
|
|
@@ -19116,7 +19144,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19116
19144
|
"options"
|
|
19117
19145
|
])) : M("", !0),
|
|
19118
19146
|
I(oo, { legend: U(n)("label.appearance") }, {
|
|
19119
|
-
default: K(() => [I(
|
|
19147
|
+
default: K(() => [I(Dw, {
|
|
19120
19148
|
modelValue: _e.value,
|
|
19121
19149
|
"onUpdate:modelValue": c[40] ||= (e) => _e.value = e,
|
|
19122
19150
|
name: "mainColor",
|
|
@@ -19154,7 +19182,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19154
19182
|
modifiers: "details",
|
|
19155
19183
|
class: "border border-surface-3 rounded-lg mt-md mb-md"
|
|
19156
19184
|
}, {
|
|
19157
|
-
default: K(() => [P("div",
|
|
19185
|
+
default: K(() => [P("div", gT, [
|
|
19158
19186
|
Ut.value ? (z(), j(ZS, {
|
|
19159
19187
|
key: 0,
|
|
19160
19188
|
modelValue: ye.value,
|
|
@@ -19430,7 +19458,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19430
19458
|
"placeholder",
|
|
19431
19459
|
"options"
|
|
19432
19460
|
]),
|
|
19433
|
-
P("div",
|
|
19461
|
+
P("div", _T, [I(w, {
|
|
19434
19462
|
modelValue: pt.value,
|
|
19435
19463
|
"onUpdate:modelValue": c[52] ||= (e) => pt.value = e,
|
|
19436
19464
|
disabled: e.playground,
|
|
@@ -19468,7 +19496,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19468
19496
|
key: 1,
|
|
19469
19497
|
legend: U(n)("label.webSearch")
|
|
19470
19498
|
}, {
|
|
19471
|
-
default: K(() => [I(
|
|
19499
|
+
default: K(() => [I(Sw, {
|
|
19472
19500
|
"web-search": he.value,
|
|
19473
19501
|
"onUpdate:webSearch": c[54] ||= (e) => he.value = e,
|
|
19474
19502
|
"active-provider": Ht.value
|
|
@@ -19503,15 +19531,15 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19503
19531
|
})]),
|
|
19504
19532
|
_: 1
|
|
19505
19533
|
}, 8, ["legend"])) : M("", !0),
|
|
19506
|
-
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, {
|
|
19507
19535
|
key: 0,
|
|
19508
19536
|
class: "mb-0"
|
|
19509
19537
|
}, {
|
|
19510
|
-
legend: K(() => [P("span",
|
|
19538
|
+
legend: K(() => [P("span", bT, [I(l, {
|
|
19511
19539
|
name: t.icon,
|
|
19512
19540
|
class: "text-16"
|
|
19513
19541
|
}, null, 8, ["name"]), F(" " + H(U(n)(`toolGroup.${t.key}`)), 1)])]),
|
|
19514
|
-
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, {
|
|
19515
19543
|
class: "flex-nowrap border-t border-surface-3 mr-0 px-md pt-md",
|
|
19516
19544
|
"model-value": D(t),
|
|
19517
19545
|
name: `tool.${t}`,
|
|
@@ -19521,9 +19549,9 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19521
19549
|
switch: "",
|
|
19522
19550
|
"onUpdate:modelValue": (e) => Vt(t, e)
|
|
19523
19551
|
}, {
|
|
19524
|
-
default: K(() => [P("div",
|
|
19525
|
-
P("div",
|
|
19526
|
-
P("strong",
|
|
19552
|
+
default: K(() => [P("div", CT, [
|
|
19553
|
+
P("div", wT, [
|
|
19554
|
+
P("strong", TT, H(U(n)(`agent.tool.${t}`)), 1),
|
|
19527
19555
|
t === U(T).ShowMultipleChoice ? (z(), j(rt, {
|
|
19528
19556
|
key: 0,
|
|
19529
19557
|
modifiers: "gray sm"
|
|
@@ -19531,9 +19559,9 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19531
19559
|
default: K(() => [F(H(U(n)("label.deprecated")), 1)]),
|
|
19532
19560
|
_: 1
|
|
19533
19561
|
})) : M("", !0),
|
|
19534
|
-
Rt(t) ? (z(), j(
|
|
19562
|
+
Rt(t) ? (z(), j(qC, { key: 1 })) : M("", !0)
|
|
19535
19563
|
]),
|
|
19536
|
-
P("small",
|
|
19564
|
+
P("small", ET, H(U(n)(`hint.tool.${t}`)), 1),
|
|
19537
19565
|
U(ee)(t) && U(S)(t) ? (z(), N("div", {
|
|
19538
19566
|
key: 0,
|
|
19539
19567
|
class: "flex items-center gap-4 self-start mt-4 pt-4 w-full border-t border-surface-3",
|
|
@@ -19556,7 +19584,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19556
19584
|
class: "text-12"
|
|
19557
19585
|
}), F(" " + H(U(n)("label.teams")), 1)]),
|
|
19558
19586
|
_: 1
|
|
19559
|
-
})], 8,
|
|
19587
|
+
})], 8, DT)) : M("", !0)
|
|
19560
19588
|
])]),
|
|
19561
19589
|
_: 2
|
|
19562
19590
|
}, 1032, [
|
|
@@ -19570,7 +19598,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19570
19598
|
modifiers: "details",
|
|
19571
19599
|
class: "border border-surface-3 rounded-lg mx-md mb-md"
|
|
19572
19600
|
}, {
|
|
19573
|
-
default: K(() => [P("div",
|
|
19601
|
+
default: K(() => [P("div", OT, [
|
|
19574
19602
|
t === U(T).ShowForm ? (z(), N(k, { key: 0 }, [I(w, {
|
|
19575
19603
|
modelValue: Pe.value,
|
|
19576
19604
|
"onUpdate:modelValue": c[56] ||= (e) => Pe.value = e,
|
|
@@ -19651,7 +19679,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19651
19679
|
_: 2
|
|
19652
19680
|
}, 1024)) : M("", !0)], 64))), 128))])
|
|
19653
19681
|
]),
|
|
19654
|
-
"panel::embed": K(() => [P("div",
|
|
19682
|
+
"panel::embed": K(() => [P("div", kT, [
|
|
19655
19683
|
Ct.value.includes(U(oe).Widget) ? M("", !0) : (z(), j(QS, {
|
|
19656
19684
|
key: 0,
|
|
19657
19685
|
level: "warning",
|
|
@@ -19668,8 +19696,8 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19668
19696
|
default: K(() => [F(H(U(n)("hint.channelAppDisabled")), 1)]),
|
|
19669
19697
|
_: 1
|
|
19670
19698
|
})),
|
|
19671
|
-
P("div", null, [P("h3",
|
|
19672
|
-
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 }, {
|
|
19673
19701
|
default: K(() => [I(Xe, {
|
|
19674
19702
|
code: qt.value,
|
|
19675
19703
|
language: "html",
|
|
@@ -19678,7 +19706,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19678
19706
|
}, null, 8, ["code"])]),
|
|
19679
19707
|
_: 1
|
|
19680
19708
|
}, 8, ["source"]),
|
|
19681
|
-
e.playground ? M("", !0) : (z(), N("div",
|
|
19709
|
+
e.playground ? M("", !0) : (z(), N("div", MT, [
|
|
19682
19710
|
I(w, {
|
|
19683
19711
|
modelValue: Ie.value,
|
|
19684
19712
|
"onUpdate:modelValue": c[60] ||= (e) => Ie.value = e,
|
|
@@ -19697,7 +19725,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19697
19725
|
modifiers: "details",
|
|
19698
19726
|
class: "border border-surface-3 rounded-lg mb-md"
|
|
19699
19727
|
}, {
|
|
19700
|
-
default: K(() => [P("div",
|
|
19728
|
+
default: K(() => [P("div", NT, [
|
|
19701
19729
|
I(w, {
|
|
19702
19730
|
modelValue: Le.value,
|
|
19703
19731
|
"onUpdate:modelValue": c[61] ||= (e) => Le.value = e,
|
|
@@ -19758,7 +19786,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19758
19786
|
class: "mb-0"
|
|
19759
19787
|
}, {
|
|
19760
19788
|
default: K(() => [
|
|
19761
|
-
P("p",
|
|
19789
|
+
P("p", PT, H(U(n)("hint.externalContextSchema")), 1),
|
|
19762
19790
|
I(ZS, {
|
|
19763
19791
|
modelValue: kt.value,
|
|
19764
19792
|
"onUpdate:modelValue": c[63] ||= (e) => kt.value = e,
|
|
@@ -19806,8 +19834,8 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19806
19834
|
_: 1
|
|
19807
19835
|
}, 8, ["legend"])
|
|
19808
19836
|
])),
|
|
19809
|
-
P("div", null, [P("h3",
|
|
19810
|
-
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 }, {
|
|
19811
19839
|
default: K(() => [I(Xe, {
|
|
19812
19840
|
code: Jt.value,
|
|
19813
19841
|
language: "html",
|
|
@@ -19816,8 +19844,8 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19816
19844
|
}, null, 8, ["code"])]),
|
|
19817
19845
|
_: 1
|
|
19818
19846
|
}, 8, ["source"]),
|
|
19819
|
-
P("div", null, [P("h4",
|
|
19820
|
-
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 }, {
|
|
19821
19849
|
actions: K(() => [I(et, {
|
|
19822
19850
|
modifiers: "action-quiet-small",
|
|
19823
19851
|
icon: "ri:eye-line",
|
|
@@ -19825,12 +19853,12 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19825
19853
|
href: Kt.value,
|
|
19826
19854
|
target: "_blank"
|
|
19827
19855
|
}, null, 8, ["label", "href"])]),
|
|
19828
|
-
default: K(() => [P("code",
|
|
19856
|
+
default: K(() => [P("code", zT, H(Kt.value), 1)]),
|
|
19829
19857
|
_: 1
|
|
19830
19858
|
}, 8, ["source"])
|
|
19831
19859
|
])]),
|
|
19832
19860
|
"panel::security": K(() => [I(oo, { legend: U(n)("label.rateLimits") }, {
|
|
19833
|
-
default: K(() => [P("div",
|
|
19861
|
+
default: K(() => [P("div", BT, [
|
|
19834
19862
|
I(w, {
|
|
19835
19863
|
modelValue: Te.value,
|
|
19836
19864
|
"onUpdate:modelValue": c[68] ||= (e) => Te.value = e,
|
|
@@ -19943,7 +19971,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
19943
19971
|
}, 8, ["items"]), V(s.$slots, "default")]);
|
|
19944
19972
|
};
|
|
19945
19973
|
}
|
|
19946
|
-
}),
|
|
19974
|
+
}), HT = ["aria-current", "title"], UT = /* @__PURE__ */ L({
|
|
19947
19975
|
__name: "PkChatSidebarConversationItem",
|
|
19948
19976
|
props: /*@__PURE__*/ gr({
|
|
19949
19977
|
conversation: {},
|
|
@@ -20000,7 +20028,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20000
20028
|
"aria-current": e.active ? "page" : void 0,
|
|
20001
20029
|
title: o.value,
|
|
20002
20030
|
onClick: n[4] ||= (e) => i("select")
|
|
20003
|
-
}, H(o.value), 9,
|
|
20031
|
+
}, H(o.value), 9, HT), I(f, _r({
|
|
20004
20032
|
placement: "bottom-end",
|
|
20005
20033
|
modifiers: "menu",
|
|
20006
20034
|
flip: !0,
|
|
@@ -20033,19 +20061,19 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20033
20061
|
}, 16)], 64))], 2);
|
|
20034
20062
|
};
|
|
20035
20063
|
}
|
|
20036
|
-
}),
|
|
20064
|
+
}), WT = ["inert", "aria-label"], GT = { class: "pk-chat-sidebar__header" }, KT = ["title"], qT = { class: "pk-chat-sidebar__actions" }, JT = {
|
|
20037
20065
|
key: 0,
|
|
20038
20066
|
class: "pk-chat-sidebar__list vv-skeleton"
|
|
20039
|
-
},
|
|
20067
|
+
}, YT = {
|
|
20040
20068
|
key: 1,
|
|
20041
20069
|
class: "pk-chat-sidebar__list"
|
|
20042
|
-
},
|
|
20070
|
+
}, XT = {
|
|
20043
20071
|
key: 0,
|
|
20044
20072
|
class: "pk-chat-sidebar__no-results"
|
|
20045
|
-
},
|
|
20073
|
+
}, ZT = { class: "pk-chat-sidebar__group-label" }, QT = {
|
|
20046
20074
|
key: 2,
|
|
20047
20075
|
class: "pk-chat-sidebar__footer"
|
|
20048
|
-
},
|
|
20076
|
+
}, $T = 864e5, eE = /* @__PURE__ */ L({
|
|
20049
20077
|
__name: "PkChatSidebar",
|
|
20050
20078
|
props: /*@__PURE__*/ gr({
|
|
20051
20079
|
agentId: {},
|
|
@@ -20081,7 +20109,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20081
20109
|
};
|
|
20082
20110
|
for (let n of w.value) {
|
|
20083
20111
|
let r = n.lastMessageAt ? new Date(n.lastMessageAt).getTime() : 0;
|
|
20084
|
-
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);
|
|
20085
20113
|
}
|
|
20086
20114
|
return Object.entries(t).filter(([, e]) => e.length > 0).map(([e, t]) => ({
|
|
20087
20115
|
key: e,
|
|
@@ -20124,7 +20152,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20124
20152
|
"aria-label": U(s)("label.conversations"),
|
|
20125
20153
|
onKeydown: se
|
|
20126
20154
|
}, [
|
|
20127
|
-
P("header",
|
|
20155
|
+
P("header", GT, [
|
|
20128
20156
|
e.organizationLogo || e.organizationName ? (z(), j(gn, {
|
|
20129
20157
|
key: 0,
|
|
20130
20158
|
modifiers: "surface ring",
|
|
@@ -20136,7 +20164,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20136
20164
|
key: 1,
|
|
20137
20165
|
class: "pk-chat-sidebar__org-name",
|
|
20138
20166
|
title: e.organizationName
|
|
20139
|
-
}, H(e.organizationName), 9,
|
|
20167
|
+
}, H(e.organizationName), 9, KT)) : M("", !0),
|
|
20140
20168
|
I(a, {
|
|
20141
20169
|
class: "ml-auto",
|
|
20142
20170
|
icon: U(i) ? "ri:close-line" : "ri:sidebar-fold-line",
|
|
@@ -20150,8 +20178,8 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20150
20178
|
"title"
|
|
20151
20179
|
])
|
|
20152
20180
|
]),
|
|
20153
|
-
P("div",
|
|
20154
|
-
e.agents ? (z(), j(
|
|
20181
|
+
P("div", qT, [
|
|
20182
|
+
e.agents ? (z(), j(UC, {
|
|
20155
20183
|
key: 0,
|
|
20156
20184
|
agents: e.agents,
|
|
20157
20185
|
"model-value": e.agentId,
|
|
@@ -20173,13 +20201,13 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20173
20201
|
placeholder: U(s)("placeholder.search")
|
|
20174
20202
|
}, null, 8, ["modelValue", "placeholder"])
|
|
20175
20203
|
]),
|
|
20176
|
-
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", {
|
|
20177
20205
|
key: e,
|
|
20178
20206
|
class: "vv-skeleton__item rounded-md h-36"
|
|
20179
|
-
})), 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", {
|
|
20180
20208
|
key: t.key,
|
|
20181
20209
|
class: "pk-chat-sidebar__group"
|
|
20182
|
-
}, [P("span",
|
|
20210
|
+
}, [P("span", ZT, H(t.label), 1), (z(!0), N(k, null, Or(t.items, (t) => (z(), j(UT, {
|
|
20183
20211
|
key: t.id,
|
|
20184
20212
|
"editing-title": U(_),
|
|
20185
20213
|
"onUpdate:editingTitle": n[4] ||= (e) => mr(_) ? _.value = e : null,
|
|
@@ -20208,44 +20236,44 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20208
20236
|
"onDelete",
|
|
20209
20237
|
"onFiles"
|
|
20210
20238
|
]))), 128))]))), 128))])),
|
|
20211
|
-
t.$slots.footer ? (z(), N("footer",
|
|
20212
|
-
], 46,
|
|
20239
|
+
t.$slots.footer ? (z(), N("footer", QT, [V(t.$slots, "footer")])) : M("", !0)
|
|
20240
|
+
], 46, WT)], 64);
|
|
20213
20241
|
};
|
|
20214
20242
|
}
|
|
20215
|
-
}),
|
|
20243
|
+
}), tE = { class: "pk-retry-countdown" }, nE = /* @__PURE__ */ L({
|
|
20216
20244
|
__name: "PkRetryCountdown",
|
|
20217
20245
|
props: {
|
|
20218
20246
|
countdown: {},
|
|
20219
20247
|
maxSeconds: {}
|
|
20220
20248
|
},
|
|
20221
20249
|
setup(e) {
|
|
20222
|
-
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)]]));
|
|
20223
20251
|
}
|
|
20224
|
-
}),
|
|
20252
|
+
}), rE = {
|
|
20225
20253
|
key: 0,
|
|
20226
20254
|
class: "pk-tool-selection"
|
|
20227
|
-
},
|
|
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 = {
|
|
20228
20256
|
key: 0,
|
|
20229
20257
|
class: "text-10 text-warning-darken-2 bg-surface-warning rounded px-4 py-2"
|
|
20230
|
-
},
|
|
20258
|
+
}, cE = ["title"], lE = { class: "font-mono text-10 text-word-3 truncate ml-auto" }, uE = { class: "border rounded-b border-surface-3" }, dE = {
|
|
20231
20259
|
key: 0,
|
|
20232
20260
|
class: "flex flex-col gap-6 p-8 border-b border-surface-3 text-12 text-word-2"
|
|
20233
|
-
},
|
|
20261
|
+
}, fE = { key: 0 }, pE = {
|
|
20234
20262
|
key: 1,
|
|
20235
20263
|
class: "flex items-center gap-4 text-warning-darken-2"
|
|
20236
|
-
},
|
|
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 = {
|
|
20237
20265
|
key: 1,
|
|
20238
20266
|
class: "text-warning-darken-2 bg-surface-warning rounded px-4 py-2"
|
|
20239
|
-
},
|
|
20267
|
+
}, DE = {
|
|
20240
20268
|
key: 2,
|
|
20241
20269
|
class: "pk-tool-selection__label"
|
|
20242
|
-
},
|
|
20270
|
+
}, OE = {
|
|
20243
20271
|
key: 3,
|
|
20244
20272
|
class: "pk-tool-selection__tag rounded px-4 py-2"
|
|
20245
|
-
},
|
|
20273
|
+
}, kE = {
|
|
20246
20274
|
key: 4,
|
|
20247
20275
|
class: "pk-tool-selection__tag rounded px-4 py-2"
|
|
20248
|
-
},
|
|
20276
|
+
}, AE = ["title"], jE = { class: "text-10 text-word-2 tabular-nums" }, ME = /* @__PURE__ */ L({
|
|
20249
20277
|
__name: "PkToolSelection",
|
|
20250
20278
|
props: { message: {} },
|
|
20251
20279
|
setup(e) {
|
|
@@ -20287,32 +20315,32 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20287
20315
|
});
|
|
20288
20316
|
return (e, t) => {
|
|
20289
20317
|
let s = $n;
|
|
20290
|
-
return a.value ? (z(), N("section",
|
|
20291
|
-
P("div",
|
|
20318
|
+
return a.value ? (z(), N("section", rE, [P("header", iE, [
|
|
20319
|
+
P("div", aE, [I(s, {
|
|
20292
20320
|
name: "ri:filter-3-line",
|
|
20293
20321
|
class: "w-12 h-12"
|
|
20294
20322
|
})]),
|
|
20295
|
-
P("strong",
|
|
20296
|
-
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", {
|
|
20297
20325
|
key: 1,
|
|
20298
20326
|
class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2",
|
|
20299
20327
|
title: U(n)(`toolSelection.modeHint.${a.value.decision.mode}`)
|
|
20300
|
-
}, H(U(n)(`toolSelection.mode.${a.value.decision.mode}`)), 9,
|
|
20301
|
-
P("code",
|
|
20302
|
-
]), P("div",
|
|
20303
|
-
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, {
|
|
20304
20332
|
name: "ri:error-warning-line",
|
|
20305
20333
|
class: "shrink-0"
|
|
20306
20334
|
}), F(" " + H(U(n)(a.value.decision.mode === "active" ? "toolSelection.missedActive" : "toolSelection.missedShadow", a.value.missed)), 1)])) : M("", !0)])) : M("", !0),
|
|
20307
|
-
P("dl",
|
|
20335
|
+
P("dl", mE, [(z(!0), N(k, null, Or(o.value, (e) => (z(), N("div", {
|
|
20308
20336
|
key: e.icon,
|
|
20309
20337
|
class: "flex items-center gap-6 min-w-0",
|
|
20310
20338
|
title: e.label
|
|
20311
|
-
}, [P("dt",
|
|
20339
|
+
}, [P("dt", gE, [I(s, {
|
|
20312
20340
|
name: e.icon,
|
|
20313
20341
|
"aria-hidden": "true"
|
|
20314
|
-
}, null, 8, ["name"]), P("span",
|
|
20315
|
-
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", {
|
|
20316
20344
|
key: e.id,
|
|
20317
20345
|
class: yr(["pk-tool-selection__group", {
|
|
20318
20346
|
"pk-tool-selection__group--selected": e.selected,
|
|
@@ -20323,24 +20351,24 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20323
20351
|
name: e.selected ? "ri:check-line" : "ri:subtract-line",
|
|
20324
20352
|
class: "pk-tool-selection__mark shrink-0"
|
|
20325
20353
|
}, null, 8, ["name"]),
|
|
20326
|
-
P("div",
|
|
20354
|
+
P("div", bE, [P("span", xE, [
|
|
20327
20355
|
I(s, {
|
|
20328
20356
|
name: i[e.kind],
|
|
20329
20357
|
class: "shrink-0 w-14 h-14",
|
|
20330
20358
|
title: U(n)(`toolSelection.kind.${e.kind}`),
|
|
20331
20359
|
"aria-hidden": "true"
|
|
20332
20360
|
}, null, 8, ["name", "title"]),
|
|
20333
|
-
P("span",
|
|
20361
|
+
P("span", SE, H(U(n)(`toolSelection.kind.${e.kind}`)), 1),
|
|
20334
20362
|
P("span", {
|
|
20335
20363
|
class: "pk-tool-selection__name truncate",
|
|
20336
20364
|
title: e.name
|
|
20337
|
-
}, H(e.name), 9,
|
|
20338
|
-
]), P("span",
|
|
20339
|
-
e.kind === "mcp" ? (z(), N("span",
|
|
20340
|
-
e.used && !e.selected ? (z(), N("span",
|
|
20341
|
-
e.used ? (z(), N("span",
|
|
20342
|
-
e.enabled ? (z(), N("span",
|
|
20343
|
-
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)
|
|
20344
20372
|
])]),
|
|
20345
20373
|
e.probability === void 0 ? M("", !0) : (z(), N("div", {
|
|
20346
20374
|
key: 0,
|
|
@@ -20353,18 +20381,18 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20353
20381
|
"--pk-tool-selection-probability": `${e.probability * 100}%`,
|
|
20354
20382
|
"--pk-tool-selection-threshold": `${a.value.decision.threshold * 100}%`
|
|
20355
20383
|
})
|
|
20356
|
-
}, null, 4), P("span",
|
|
20384
|
+
}, null, 4), P("span", jE, H(U(r)(e.probability, "decimal")), 1)], 8, AE))
|
|
20357
20385
|
], 2))), 128))])
|
|
20358
20386
|
])])) : M("", !0);
|
|
20359
20387
|
};
|
|
20360
20388
|
}
|
|
20361
|
-
}),
|
|
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 = {
|
|
20362
20390
|
key: 0,
|
|
20363
20391
|
class: "text-10 text-warning-darken-2 bg-surface-warning rounded px-4 py-2"
|
|
20364
|
-
},
|
|
20392
|
+
}, RE = ["title"], zE = { class: "u-visually-hidden" }, BE = ["title"], VE = { class: "u-visually-hidden" }, HE = { class: "border rounded-b border-surface-3" }, UE = {
|
|
20365
20393
|
key: 0,
|
|
20366
20394
|
class: "p-8 border-b border-surface-3 text-12 text-word-2"
|
|
20367
|
-
},
|
|
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({
|
|
20368
20396
|
__name: "PkTurnEvaluation",
|
|
20369
20397
|
props: { message: {} },
|
|
20370
20398
|
setup(e) {
|
|
@@ -20408,79 +20436,79 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20408
20436
|
key: 0,
|
|
20409
20437
|
class: "pk-turn-evaluation",
|
|
20410
20438
|
"aria-labelledby": U(a)
|
|
20411
|
-
}, [P("header",
|
|
20412
|
-
P("div",
|
|
20439
|
+
}, [P("header", PE, [
|
|
20440
|
+
P("div", FE, [I(r, {
|
|
20413
20441
|
name: "ri:scales-line",
|
|
20414
20442
|
class: "w-12 h-12"
|
|
20415
20443
|
})]),
|
|
20416
20444
|
P("strong", {
|
|
20417
20445
|
id: U(a),
|
|
20418
20446
|
class: "font-semibold text-12 truncate"
|
|
20419
|
-
}, H(U(n)("turnEvaluation.title")), 9,
|
|
20420
|
-
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", {
|
|
20421
20449
|
key: 1,
|
|
20422
20450
|
class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2",
|
|
20423
20451
|
title: U(n)("turnEvaluation.modeHint")
|
|
20424
|
-
}, [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)),
|
|
20425
20453
|
P("code", {
|
|
20426
20454
|
class: "font-mono text-10 text-word-3 truncate ml-auto",
|
|
20427
20455
|
title: U(n)("turnEvaluation.version", { version: o.value.version })
|
|
20428
|
-
}, [F(H(U(pe)) + " ", 1), P("span",
|
|
20429
|
-
]), P("div",
|
|
20430
|
-
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),
|
|
20431
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", {
|
|
20432
20460
|
key: e.icon,
|
|
20433
20461
|
class: "flex items-center gap-6 min-w-0",
|
|
20434
20462
|
title: e.label
|
|
20435
|
-
}, [P("dt",
|
|
20463
|
+
}, [P("dt", GE, [I(r, {
|
|
20436
20464
|
name: e.icon,
|
|
20437
20465
|
"aria-hidden": "true"
|
|
20438
|
-
}, null, 8, ["name"]), P("span",
|
|
20439
|
-
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", {
|
|
20440
20468
|
key: e.id,
|
|
20441
|
-
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 }])
|
|
20442
20470
|
}, [P("span", {
|
|
20443
20471
|
class: "truncate",
|
|
20444
20472
|
title: e.label
|
|
20445
|
-
}, H(e.label), 9,
|
|
20473
|
+
}, H(e.label), 9, YE), P("div", {
|
|
20446
20474
|
class: "pk-turn-evaluation__probability",
|
|
20447
20475
|
title: U(n)("turnEvaluation.probability")
|
|
20448
20476
|
}, [P("span", {
|
|
20449
20477
|
class: "pk-turn-evaluation__bar",
|
|
20450
20478
|
"aria-hidden": "true",
|
|
20451
20479
|
style: xr({ "--pk-turn-evaluation-probability": `${e.probability * 100}%` })
|
|
20452
|
-
}, null, 4), P("span",
|
|
20453
|
-
])], 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);
|
|
20454
20482
|
};
|
|
20455
20483
|
}
|
|
20456
|
-
}),
|
|
20484
|
+
}), eD = { class: "flex flex-col gap-16" }, tD = {
|
|
20457
20485
|
key: 0,
|
|
20458
20486
|
class: "grid grid-cols-2 gap-x-10 text-12 text-word-3 justify-between"
|
|
20459
|
-
},
|
|
20487
|
+
}, nD = { class: "flex flex-col gap-y-4" }, rD = {
|
|
20460
20488
|
key: 1,
|
|
20461
20489
|
class: "flex items-center gap-4 min-w-0"
|
|
20462
|
-
},
|
|
20490
|
+
}, iD = { class: "truncate" }, aD = {
|
|
20463
20491
|
key: 2,
|
|
20464
20492
|
class: "flex items-center gap-4 min-w-0"
|
|
20465
|
-
},
|
|
20493
|
+
}, oD = { class: "truncate" }, sD = { key: 0 }, cD = {
|
|
20466
20494
|
key: 3,
|
|
20467
20495
|
class: "flex items-center gap-4"
|
|
20468
|
-
},
|
|
20496
|
+
}, lD = {
|
|
20469
20497
|
key: 4,
|
|
20470
20498
|
class: "flex items-center gap-4"
|
|
20471
|
-
},
|
|
20499
|
+
}, uD = { class: "flex flex-col gap-y-4 items-end" }, dD = ["datetime"], fD = {
|
|
20472
20500
|
key: 1,
|
|
20473
20501
|
class: "flex items-center gap-4"
|
|
20474
|
-
},
|
|
20502
|
+
}, pD = { key: 0 }, mD = {
|
|
20475
20503
|
key: 2,
|
|
20476
20504
|
class: "flex items-center gap-4"
|
|
20477
|
-
},
|
|
20505
|
+
}, hD = {
|
|
20478
20506
|
key: 3,
|
|
20479
20507
|
class: "flex items-center gap-4 min-w-0"
|
|
20480
|
-
},
|
|
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 = {
|
|
20481
20509
|
key: 0,
|
|
20482
20510
|
class: "text-10 text-word-4 whitespace-nowrap ml-auto"
|
|
20483
|
-
},
|
|
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({
|
|
20484
20512
|
__name: "PkMessageParts",
|
|
20485
20513
|
props: { message: {} },
|
|
20486
20514
|
setup(e) {
|
|
@@ -20511,29 +20539,29 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20511
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);
|
|
20512
20540
|
return (t, l) => {
|
|
20513
20541
|
let u = $n, d = Vn, f = Hn, p = kr("PjResizablePanel");
|
|
20514
|
-
return z(), N("div",
|
|
20515
|
-
e.message.metadata?.model || o.value ? (z(), N("div",
|
|
20516
|
-
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, {
|
|
20517
20545
|
key: 0,
|
|
20518
20546
|
"model-name": e.message.metadata?.model,
|
|
20519
20547
|
historical: ""
|
|
20520
20548
|
}, null, 8, ["model-name"])) : M("", !0),
|
|
20521
|
-
e.message?.metadata?.resolvedProvider ? (z(), N("span",
|
|
20549
|
+
e.message?.metadata?.resolvedProvider ? (z(), N("span", rD, [I(u, {
|
|
20522
20550
|
name: "ri:cloud-line",
|
|
20523
20551
|
class: "shrink-0"
|
|
20524
|
-
}), P("span",
|
|
20525
|
-
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, {
|
|
20526
20554
|
name: "ri:ai-generate-2-line",
|
|
20527
20555
|
class: "shrink-0"
|
|
20528
|
-
}), P("span",
|
|
20529
|
-
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, {
|
|
20530
20558
|
name: "ri:shield-check-line",
|
|
20531
20559
|
class: "shrink-0"
|
|
20532
|
-
}), 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, {
|
|
20533
20561
|
name: "ri:shield-check-line",
|
|
20534
20562
|
class: "shrink-0"
|
|
20535
20563
|
}), F(" " + H(t.$t("label.noPromptTraining")), 1)])) : M("", !0)
|
|
20536
|
-
]), P("div",
|
|
20564
|
+
]), P("div", uD, [
|
|
20537
20565
|
e.message?.metadata?.createdAt ? (z(), N("time", {
|
|
20538
20566
|
key: 0,
|
|
20539
20567
|
datetime: new Date(e.message.metadata.createdAt).toISOString(),
|
|
@@ -20541,8 +20569,8 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20541
20569
|
}, [I(u, {
|
|
20542
20570
|
name: "ri:time-line",
|
|
20543
20571
|
class: "shrink-0"
|
|
20544
|
-
}), F(" " + H(t.$d(new Date(e.message.metadata.createdAt), "date-time")), 1)], 8,
|
|
20545
|
-
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, [
|
|
20546
20574
|
I(u, {
|
|
20547
20575
|
name: "ri:hourglass-line",
|
|
20548
20576
|
class: "shrink-0"
|
|
@@ -20551,16 +20579,16 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20551
20579
|
date: e.message.metadata?.createdAt,
|
|
20552
20580
|
"end-date": e.message.metadata?.completedAt
|
|
20553
20581
|
}, null, 8, ["date", "end-date"]),
|
|
20554
|
-
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)
|
|
20555
20583
|
])) : M("", !0),
|
|
20556
|
-
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, {
|
|
20557
20585
|
name: "ri:wallet-line",
|
|
20558
20586
|
class: "shrink-0"
|
|
20559
20587
|
}), F(" " + H(t.$n(parseFloat(e.message.metadata.cost), "currencyUSD")), 1)])) : M("", !0),
|
|
20560
|
-
o.value ? (z(), N("span",
|
|
20588
|
+
o.value ? (z(), N("span", hD, [I(u, {
|
|
20561
20589
|
name: "ri:mic-line",
|
|
20562
20590
|
class: "shrink-0"
|
|
20563
|
-
}), P("span",
|
|
20591
|
+
}), P("span", gD, H(t.$t("label.spokenExchange")), 1)])) : M("", !0)
|
|
20564
20592
|
])])) : M("", !0),
|
|
20565
20593
|
a.value || c.value || s.value ? (z(), j(f, {
|
|
20566
20594
|
key: 1,
|
|
@@ -20573,10 +20601,10 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20573
20601
|
title: t.$t("label.platformContext"),
|
|
20574
20602
|
class: "border border-surface-3 rounded"
|
|
20575
20603
|
}, {
|
|
20576
|
-
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", {
|
|
20577
20605
|
class: "truncate font-mono col-span-2",
|
|
20578
20606
|
title: String(e)
|
|
20579
|
-
}, H(e), 9,
|
|
20607
|
+
}, H(e), 9, yD)], 64))), 128))])]),
|
|
20580
20608
|
_: 1
|
|
20581
20609
|
}, 8, ["title"])) : M("", !0),
|
|
20582
20610
|
a.value ? (z(), j(d, {
|
|
@@ -20585,10 +20613,10 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20585
20613
|
title: t.$t("label.deviceContext"),
|
|
20586
20614
|
class: "border border-surface-3 rounded"
|
|
20587
20615
|
}, {
|
|
20588
|
-
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", {
|
|
20589
20617
|
class: "truncate font-mono col-span-2",
|
|
20590
20618
|
title: String(e)
|
|
20591
|
-
}, H(e), 9,
|
|
20619
|
+
}, H(e), 9, SD)], 64))), 128))])]),
|
|
20592
20620
|
_: 1
|
|
20593
20621
|
}, 8, ["title"])) : M("", !0),
|
|
20594
20622
|
s.value ? (z(), j(d, {
|
|
@@ -20597,19 +20625,19 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20597
20625
|
title: t.$t("label.externalContext"),
|
|
20598
20626
|
class: "border border-surface-3 rounded"
|
|
20599
20627
|
}, {
|
|
20600
|
-
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", {
|
|
20601
20629
|
class: "truncate font-mono col-span-2",
|
|
20602
20630
|
title: String(e)
|
|
20603
|
-
}, H(e), 9,
|
|
20631
|
+
}, H(e), 9, TD)], 64))), 128))])]),
|
|
20604
20632
|
_: 1
|
|
20605
20633
|
}, 8, ["title"])) : M("", !0)
|
|
20606
20634
|
]),
|
|
20607
20635
|
_: 1
|
|
20608
20636
|
})) : M("", !0),
|
|
20609
|
-
I(
|
|
20610
|
-
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 }, [
|
|
20611
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) }]) }, [
|
|
20612
|
-
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, {
|
|
20613
20641
|
key: 0,
|
|
20614
20642
|
name: "loading-loop",
|
|
20615
20643
|
class: "w-12 h-12 ml-4"
|
|
@@ -20618,11 +20646,11 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20618
20646
|
name: U(cn)(e) || "ri:question-line",
|
|
20619
20647
|
class: "w-12 h-12 ml-4"
|
|
20620
20648
|
}, null, 8, ["name"]))]),
|
|
20621
|
-
P("code",
|
|
20622
|
-
"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)
|
|
20623
20651
|
], 2),
|
|
20624
|
-
U(ke)(e) ? (z(), N("div",
|
|
20625
|
-
P("div",
|
|
20652
|
+
U(ke)(e) ? (z(), N("div", ND, [P("div", PD, [
|
|
20653
|
+
P("div", FD, H(t.$t("label.input")), 1),
|
|
20626
20654
|
I(p, {
|
|
20627
20655
|
"min-height": 128,
|
|
20628
20656
|
"fit-content": ""
|
|
@@ -20634,7 +20662,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20634
20662
|
}, null, 8, ["code"])]),
|
|
20635
20663
|
_: 2
|
|
20636
20664
|
}, 1024),
|
|
20637
|
-
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, {
|
|
20638
20666
|
"min-height": 128,
|
|
20639
20667
|
"fit-content": ""
|
|
20640
20668
|
}, {
|
|
@@ -20660,26 +20688,26 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20660
20688
|
_: 2
|
|
20661
20689
|
}, 1024)) : M("", !0)
|
|
20662
20690
|
]))), 128))]),
|
|
20663
|
-
I(
|
|
20691
|
+
I($E, { message: e.message }, null, 8, ["message"])
|
|
20664
20692
|
]);
|
|
20665
20693
|
};
|
|
20666
20694
|
}
|
|
20667
|
-
}),
|
|
20695
|
+
}), RD = {
|
|
20668
20696
|
key: 0,
|
|
20669
20697
|
class: "border-t border-surface-3"
|
|
20670
|
-
},
|
|
20698
|
+
}, zD = { class: "flex flex-col" }, BD = ["onClick"], VD = { class: "flex items-center gap-4 shrink-0" }, HD = {
|
|
20671
20699
|
key: 0,
|
|
20672
20700
|
class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2"
|
|
20673
|
-
},
|
|
20701
|
+
}, UD = { class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2 uppercase" }, WD = {
|
|
20674
20702
|
key: 0,
|
|
20675
20703
|
class: "border-t border-surface-3"
|
|
20676
|
-
},
|
|
20704
|
+
}, GD = {
|
|
20677
20705
|
key: 0,
|
|
20678
20706
|
class: "px-8 py-4 text-10 text-word-3 bg-surface-1 border-b border-surface-3"
|
|
20679
|
-
},
|
|
20707
|
+
}, KD = ["onClick"], qD = {
|
|
20680
20708
|
key: 0,
|
|
20681
20709
|
class: "px-8 py-6 bg-surface-1 border-t border-surface-3"
|
|
20682
|
-
},
|
|
20710
|
+
}, JD = { class: "flex justify-between items-center gap-4 min-w-0" }, YD = { class: "font-semibold text-12 truncate" }, XD = /* @__PURE__ */ L({
|
|
20683
20711
|
__name: "PkMessageDetail",
|
|
20684
20712
|
props: {
|
|
20685
20713
|
message: {},
|
|
@@ -20704,14 +20732,14 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20704
20732
|
};
|
|
20705
20733
|
return (s, c) => {
|
|
20706
20734
|
let l = Kn, u = $n, d = Vn;
|
|
20707
|
-
return z(), j(
|
|
20735
|
+
return z(), j(LD, { message: e.message }, ur({
|
|
20708
20736
|
subagent: K(({ part: t }) => [t.output?.reasoningChatId && (t.output?.subAgentId || t.input?.objective) ? (z(), j(d, {
|
|
20709
20737
|
key: 0,
|
|
20710
20738
|
title: t.output.subAgentId ? s.$t("label.subAgent") : s.$t("agent.tool.runWorker"),
|
|
20711
20739
|
modifiers: "details",
|
|
20712
20740
|
class: "border-t border-surface-3"
|
|
20713
20741
|
}, {
|
|
20714
|
-
default: K(() => [P("div",
|
|
20742
|
+
default: K(() => [P("div", JD, [P("strong", YD, H(t.output.subAgentName ?? t.input?.objective), 1), I(l, {
|
|
20715
20743
|
modifiers: "action-small",
|
|
20716
20744
|
icon: "ri:eye-line",
|
|
20717
20745
|
class: "text-10 shrink-0",
|
|
@@ -20730,7 +20758,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20730
20758
|
_: 2
|
|
20731
20759
|
}, [e.canReadDocuments ? {
|
|
20732
20760
|
name: "tool-search-in-knowledge-base",
|
|
20733
|
-
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", {
|
|
20734
20762
|
key: o.document.id,
|
|
20735
20763
|
class: "border-b border-surface-3 last:border-b-0"
|
|
20736
20764
|
}, [P("button", {
|
|
@@ -20746,9 +20774,9 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20746
20774
|
"name",
|
|
20747
20775
|
"url",
|
|
20748
20776
|
"filename"
|
|
20749
|
-
]), P("div",
|
|
20750
|
-
o.chunks.length > 1 ? (z(), N("span",
|
|
20751
|
-
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),
|
|
20752
20780
|
I(l, {
|
|
20753
20781
|
modifiers: "action-quiet-small",
|
|
20754
20782
|
icon: "ri:eye-line",
|
|
@@ -20767,7 +20795,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20767
20795
|
name: t.has(o.document.id) ? "ri:arrow-up-s-line" : "ri:arrow-down-s-line",
|
|
20768
20796
|
class: "text-16 text-word-3"
|
|
20769
20797
|
}, null, 8, ["name"])
|
|
20770
|
-
])], 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", {
|
|
20771
20799
|
key: e.id,
|
|
20772
20800
|
class: "border-b border-surface-3 last:border-b-0"
|
|
20773
20801
|
}, [P("button", {
|
|
@@ -20783,7 +20811,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20783
20811
|
"similarity",
|
|
20784
20812
|
"max-similarity",
|
|
20785
20813
|
"expanded"
|
|
20786
|
-
])], 8,
|
|
20814
|
+
])], 8, KD), n.has(e.id) ? (z(), N("div", qD, [I(we, {
|
|
20787
20815
|
markdown: e.content,
|
|
20788
20816
|
class: "wysiwyg text-10"
|
|
20789
20817
|
}, null, 8, ["markdown"])])) : M("", !0)]))), 128))])) : M("", !0)]))), 128))])])) : M("", !0)]),
|
|
@@ -20791,19 +20819,19 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20791
20819
|
} : void 0]), 1032, ["message"]);
|
|
20792
20820
|
};
|
|
20793
20821
|
}
|
|
20794
|
-
}),
|
|
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 = {
|
|
20795
20823
|
key: 1,
|
|
20796
20824
|
class: "text-14 font-bold"
|
|
20797
|
-
},
|
|
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 = {
|
|
20798
20826
|
key: 1,
|
|
20799
20827
|
class: "flex flex-col gap-sm p-md bg-surface-1 border border-surface-3 rounded-xl"
|
|
20800
|
-
},
|
|
20828
|
+
}, cO = { class: "flex items-center gap-xs pb-xs border-b border-surface-3" }, lO = { class: "text-12 text-word-3" }, uO = {
|
|
20801
20829
|
key: 2,
|
|
20802
20830
|
class: "flex flex-col gap-sm p-md bg-surface-1 border border-surface-3 rounded-xl"
|
|
20803
|
-
},
|
|
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 = {
|
|
20804
20832
|
key: 0,
|
|
20805
20833
|
class: "py-sm text-word-2 leading-normal"
|
|
20806
|
-
},
|
|
20834
|
+
}, hO = /* @__PURE__ */ L({
|
|
20807
20835
|
__name: "PkReasoningChat",
|
|
20808
20836
|
props: {
|
|
20809
20837
|
baseUrl: {},
|
|
@@ -20839,7 +20867,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20839
20867
|
}), p = A(() => f.value?.parts.find((e) => e.type === "text")?.text || "");
|
|
20840
20868
|
return (t, r) => {
|
|
20841
20869
|
let m = Kn, h = Un, g = $n;
|
|
20842
|
-
return z(), N("div",
|
|
20870
|
+
return z(), N("div", ZD, [P("div", QD, [P("div", $D, [I(gn, {
|
|
20843
20871
|
modifiers: "surface ring shrink-0",
|
|
20844
20872
|
class: "w-24 h-24",
|
|
20845
20873
|
name: e.name
|
|
@@ -20847,16 +20875,16 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20847
20875
|
key: 0,
|
|
20848
20876
|
class: "text-14 font-bold truncate",
|
|
20849
20877
|
title: e.name
|
|
20850
|
-
}, 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, {
|
|
20851
20879
|
key: 0,
|
|
20852
20880
|
icon: "ri:reset-right-line",
|
|
20853
20881
|
modifiers: "action-quiet",
|
|
20854
20882
|
title: U(n)("action.clear"),
|
|
20855
20883
|
disabled: u.value,
|
|
20856
20884
|
onClick: l
|
|
20857
|
-
}, null, 8, ["title", "disabled"])) : M("", !0)]), P("div",
|
|
20858
|
-
P("div",
|
|
20859
|
-
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),
|
|
20860
20888
|
Rr(P("textarea", {
|
|
20861
20889
|
"onUpdate:modelValue": r[0] ||= (e) => a.value = e,
|
|
20862
20890
|
placeholder: U(n)("placeholder.enterYourQuestion"),
|
|
@@ -20864,8 +20892,8 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20864
20892
|
class: "u-field w-full p-sm font-inherit text-14 resize-y min-h-60",
|
|
20865
20893
|
rows: "3",
|
|
20866
20894
|
onKeydown: c
|
|
20867
|
-
}, null, 40,
|
|
20868
|
-
P("div",
|
|
20895
|
+
}, null, 40, aO), [[Lr, a.value]]),
|
|
20896
|
+
P("div", oO, [I(m, {
|
|
20869
20897
|
label: U(n)("action.submit"),
|
|
20870
20898
|
loading: u.value,
|
|
20871
20899
|
disabled: !a.value.trim() || u.value,
|
|
@@ -20882,17 +20910,17 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20882
20910
|
title: U(n)("label.error"),
|
|
20883
20911
|
content: o.value.error.message
|
|
20884
20912
|
}, null, 8, ["title", "content"])) : M("", !0),
|
|
20885
|
-
u.value && !f.value ? (z(), N("div",
|
|
20913
|
+
u.value && !f.value ? (z(), N("div", sO, [P("div", cO, [I(g, {
|
|
20886
20914
|
name: "loading-loop",
|
|
20887
20915
|
class: "w-16 h-16"
|
|
20888
|
-
}), P("span",
|
|
20889
|
-
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, [
|
|
20890
20918
|
I(g, {
|
|
20891
20919
|
name: "ri:robot-2-line",
|
|
20892
20920
|
class: "w-16 h-16"
|
|
20893
20921
|
}),
|
|
20894
|
-
P("span",
|
|
20895
|
-
P("div",
|
|
20922
|
+
P("span", fO, H(U(n)("label.answer")), 1),
|
|
20923
|
+
P("div", pO, [u.value ? (z(), j(g, {
|
|
20896
20924
|
key: 0,
|
|
20897
20925
|
name: "loading-loop",
|
|
20898
20926
|
class: "w-14 h-14"
|
|
@@ -20903,7 +20931,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20903
20931
|
modifiers: "action-quiet-small",
|
|
20904
20932
|
onClick: r[1] ||= Br((e) => i("show-info", f.value), ["stop"])
|
|
20905
20933
|
}, null, 8, ["title"])) : M("", !0)])
|
|
20906
|
-
]), p.value ? (z(), N("div",
|
|
20934
|
+
]), p.value ? (z(), N("div", mO, [I(we, {
|
|
20907
20935
|
markdown: p.value,
|
|
20908
20936
|
loading: u.value,
|
|
20909
20937
|
class: "wysiwyg text-14"
|
|
@@ -20911,7 +20939,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20911
20939
|
])]);
|
|
20912
20940
|
};
|
|
20913
20941
|
}
|
|
20914
|
-
}),
|
|
20942
|
+
}), gO = { class: "welcome-popup__text" }, _O = ["aria-label"], vO = 100, yO = /* @__PURE__ */ L({
|
|
20915
20943
|
__name: "PkWelcomePopup",
|
|
20916
20944
|
props: {
|
|
20917
20945
|
agentId: {},
|
|
@@ -20926,7 +20954,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20926
20954
|
c.value = [], s.value = !1;
|
|
20927
20955
|
let t = e.split(/(\s+)/), n = 0;
|
|
20928
20956
|
function r() {
|
|
20929
|
-
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;
|
|
20930
20958
|
}
|
|
20931
20959
|
r();
|
|
20932
20960
|
}
|
|
@@ -20950,7 +20978,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20950
20978
|
key: 0,
|
|
20951
20979
|
class: "welcome-popup",
|
|
20952
20980
|
onClick: Br(m, ["stop"])
|
|
20953
|
-
}, [P("p",
|
|
20981
|
+
}, [P("p", gO, [(z(!0), N(k, null, Or(c.value, (e, t) => (z(), N("span", {
|
|
20954
20982
|
key: t,
|
|
20955
20983
|
class: "welcome-popup__word"
|
|
20956
20984
|
}, H(e), 1))), 128))]), I(or, null, {
|
|
@@ -20966,22 +20994,22 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
20966
20994
|
width: "14",
|
|
20967
20995
|
height: "14",
|
|
20968
20996
|
fill: "currentColor"
|
|
20969
|
-
}, [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)]),
|
|
20970
20998
|
_: 1
|
|
20971
20999
|
})])) : M("", !0)]),
|
|
20972
21000
|
_: 1
|
|
20973
21001
|
}));
|
|
20974
21002
|
}
|
|
20975
|
-
}),
|
|
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 = {
|
|
20976
21004
|
key: 1,
|
|
20977
21005
|
class: "ml-8 text-12 font-semibold tabular-nums"
|
|
20978
|
-
},
|
|
21006
|
+
}, EO = { class: "flex justify-center items-center" }, DO = {
|
|
20979
21007
|
class: "rounded-md border border-surface-3 px-14 py-4 text-center text-12 font-bold tabular-nums",
|
|
20980
21008
|
type: "button"
|
|
20981
|
-
},
|
|
21009
|
+
}, OO = {
|
|
20982
21010
|
key: 0,
|
|
20983
21011
|
class: "ml-6 text-12 whitespace-nowrap tabular-nums"
|
|
20984
|
-
},
|
|
21012
|
+
}, kO = { class: "flex text-12 justify-end items-center whitespace-nowrap tabular-nums" }, AO = /* @__PURE__ */ L({
|
|
20985
21013
|
__name: "PkPagination",
|
|
20986
21014
|
props: {
|
|
20987
21015
|
page: {
|
|
@@ -21013,8 +21041,8 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
21013
21041
|
});
|
|
21014
21042
|
return (t, r) => {
|
|
21015
21043
|
let l = Kn, u = qn;
|
|
21016
|
-
return z(), N("div",
|
|
21017
|
-
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", {
|
|
21018
21046
|
key: 0,
|
|
21019
21047
|
"onUpdate:modelValue": r[0] ||= (e) => c.value = e,
|
|
21020
21048
|
disabled: e.disabled,
|
|
@@ -21022,8 +21050,8 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
21022
21050
|
}, [(z(!0), N(k, null, Or(e.limitSteps, (e) => (z(), N("option", {
|
|
21023
21051
|
key: e,
|
|
21024
21052
|
value: e
|
|
21025
|
-
}, H(e), 9,
|
|
21026
|
-
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" }, {
|
|
21027
21055
|
default: K(() => [
|
|
21028
21056
|
I(l, {
|
|
21029
21057
|
title: U(n)("action.prev"),
|
|
@@ -21032,7 +21060,7 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
21032
21060
|
modifiers: "action-quiet",
|
|
21033
21061
|
onClick: r[1] ||= Br((t) => i("update:page", e.page - 1), ["stop"])
|
|
21034
21062
|
}, null, 8, ["title", "disabled"]),
|
|
21035
|
-
P("button",
|
|
21063
|
+
P("button", DO, H(e.page), 1),
|
|
21036
21064
|
I(l, {
|
|
21037
21065
|
title: U(n)("action.next"),
|
|
21038
21066
|
disabled: s.value,
|
|
@@ -21042,21 +21070,21 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
21042
21070
|
}, null, 8, ["title", "disabled"])
|
|
21043
21071
|
]),
|
|
21044
21072
|
_: 1
|
|
21045
|
-
}), a.value ? (z(), N("small",
|
|
21046
|
-
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)
|
|
21047
21075
|
]);
|
|
21048
21076
|
};
|
|
21049
21077
|
}
|
|
21050
|
-
}),
|
|
21078
|
+
}), jO = { class: "pk-table-empty" }, MO = {
|
|
21051
21079
|
class: "pk-table-empty__glyph",
|
|
21052
21080
|
"aria-hidden": "true"
|
|
21053
|
-
},
|
|
21081
|
+
}, NO = { class: "pk-table-empty__text" }, PO = { class: "pk-table-empty__title" }, FO = {
|
|
21054
21082
|
key: 0,
|
|
21055
21083
|
class: "pk-table-empty__description"
|
|
21056
|
-
},
|
|
21084
|
+
}, IO = {
|
|
21057
21085
|
key: 0,
|
|
21058
21086
|
class: "pk-table-empty__actions"
|
|
21059
|
-
},
|
|
21087
|
+
}, LO = /* @__PURE__ */ L({
|
|
21060
21088
|
__name: "PkTableEmpty",
|
|
21061
21089
|
props: {
|
|
21062
21090
|
title: { default: void 0 },
|
|
@@ -21067,82 +21095,82 @@ var IC = { class: "flex items-center gap-xs min-w-0" }, LC = { class: "truncate"
|
|
|
21067
21095
|
let { t } = Vr({ useScope: "global" });
|
|
21068
21096
|
return (n, r) => {
|
|
21069
21097
|
let i = $n;
|
|
21070
|
-
return z(), N("div",
|
|
21071
|
-
P("div",
|
|
21072
|
-
P("div",
|
|
21073
|
-
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)
|
|
21074
21102
|
]);
|
|
21075
21103
|
};
|
|
21076
21104
|
}
|
|
21077
|
-
}),
|
|
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({
|
|
21078
21106
|
__name: "PkTableError",
|
|
21079
21107
|
setup(e) {
|
|
21080
21108
|
let { t } = Vr({ useScope: "global" });
|
|
21081
21109
|
return (e, n) => {
|
|
21082
21110
|
let r = $n;
|
|
21083
|
-
return z(), N("div",
|
|
21084
|
-
P("div",
|
|
21111
|
+
return z(), N("div", RO, [
|
|
21112
|
+
P("div", zO, [I(r, {
|
|
21085
21113
|
name: "ri:alert-line",
|
|
21086
21114
|
class: "text-32 text-word-2"
|
|
21087
21115
|
})]),
|
|
21088
|
-
P("strong",
|
|
21089
|
-
P("div",
|
|
21116
|
+
P("strong", BO, H(U(t)("message.warning")), 1),
|
|
21117
|
+
P("div", VO, H(U(t)("message.readError")), 1)
|
|
21090
21118
|
]);
|
|
21091
21119
|
};
|
|
21092
21120
|
}
|
|
21093
21121
|
});
|
|
21094
21122
|
//#endregion
|
|
21095
21123
|
//#region ../../node_modules/.pnpm/ts-util-is@2.1.0/node_modules/ts-util-is/dist/src/index.js
|
|
21096
|
-
function
|
|
21124
|
+
function UO(e) {
|
|
21097
21125
|
return Array.isArray(e);
|
|
21098
21126
|
}
|
|
21099
|
-
function
|
|
21127
|
+
function WO(e) {
|
|
21100
21128
|
return e !== void 0;
|
|
21101
21129
|
}
|
|
21102
|
-
function
|
|
21130
|
+
function GO(e) {
|
|
21103
21131
|
return e === null;
|
|
21104
21132
|
}
|
|
21105
|
-
function
|
|
21133
|
+
function KO(e) {
|
|
21106
21134
|
return typeof e == "object";
|
|
21107
21135
|
}
|
|
21108
|
-
function
|
|
21136
|
+
function qO(e) {
|
|
21109
21137
|
return typeof e == "string";
|
|
21110
21138
|
}
|
|
21111
|
-
function
|
|
21139
|
+
function JO(e) {
|
|
21112
21140
|
return e === void 0;
|
|
21113
21141
|
}
|
|
21114
21142
|
//#endregion
|
|
21115
21143
|
//#region ../../node_modules/.pnpm/ts-dot-prop@2.1.4/node_modules/ts-dot-prop/dist/index.js
|
|
21116
|
-
var
|
|
21144
|
+
var YO = /^[0-9]+$/, XO = [
|
|
21117
21145
|
"__proto__",
|
|
21118
21146
|
"prototype",
|
|
21119
21147
|
"constructor"
|
|
21120
21148
|
];
|
|
21121
|
-
function
|
|
21122
|
-
let r =
|
|
21123
|
-
if (!
|
|
21124
|
-
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);
|
|
21125
21153
|
if (i.length !== 0) {
|
|
21126
21154
|
for (let t of i) {
|
|
21127
21155
|
if (t === "*") continue;
|
|
21128
21156
|
let n = function(e) {
|
|
21129
|
-
return e.map((e) =>
|
|
21157
|
+
return e.map((e) => JO(e) || GO(e) ? e : UO(e) ? n(e) : e[t]);
|
|
21130
21158
|
};
|
|
21131
|
-
if (e =
|
|
21159
|
+
if (e = UO(e) && !YO.test(t) ? n(e) : e[t], JO(e) || GO(e)) break;
|
|
21132
21160
|
}
|
|
21133
|
-
return
|
|
21161
|
+
return JO(e) ? r : e;
|
|
21134
21162
|
}
|
|
21135
21163
|
}
|
|
21136
|
-
function
|
|
21164
|
+
function QO(e) {
|
|
21137
21165
|
let t = e.split(/[.]|(?:\[(\d|\*)\])/).filter((e) => !!e);
|
|
21138
|
-
return t.some((e) =>
|
|
21166
|
+
return t.some((e) => XO.indexOf(e) !== -1) ? [] : t;
|
|
21139
21167
|
}
|
|
21140
21168
|
//#endregion
|
|
21141
21169
|
//#region ../../packages/components/src/table/PkTableSortable.vue?vue&type=script&setup=true&lang.ts
|
|
21142
|
-
var
|
|
21170
|
+
var $O = { class: "pk-table-sortable" }, ek = { key: 0 }, tk = {
|
|
21143
21171
|
key: 0,
|
|
21144
21172
|
class: "truncate"
|
|
21145
|
-
},
|
|
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({
|
|
21146
21174
|
__name: "PkTableSortable",
|
|
21147
21175
|
props: {
|
|
21148
21176
|
columns: {
|
|
@@ -21275,7 +21303,7 @@ var XO = { class: "pk-table-sortable" }, ZO = { key: 0 }, QO = {
|
|
|
21275
21303
|
}
|
|
21276
21304
|
c.value = e;
|
|
21277
21305
|
}, v = (e, t, n) => {
|
|
21278
|
-
r.rowClickable && (n.target?.closest(
|
|
21306
|
+
r.rowClickable && (n.target?.closest(uk) || i("click:row", e, t));
|
|
21279
21307
|
}, y = () => {
|
|
21280
21308
|
s.value++;
|
|
21281
21309
|
}, ee = () => {
|
|
@@ -21285,8 +21313,8 @@ var XO = { class: "pk-table-sortable" }, ZO = { key: 0 }, QO = {
|
|
|
21285
21313
|
r.page || i("update:page", s.value), r.limit || i("update:limit", o.value);
|
|
21286
21314
|
}), (t, r) => {
|
|
21287
21315
|
let i = $n;
|
|
21288
|
-
return z(), N("div",
|
|
21289
|
-
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: [
|
|
21290
21318
|
e.class,
|
|
21291
21319
|
e.classTh,
|
|
21292
21320
|
{ selected: U(c) === e.name }
|
|
@@ -21294,7 +21322,7 @@ var XO = { class: "pk-table-sortable" }, ZO = { key: 0 }, QO = {
|
|
|
21294
21322
|
key: 1,
|
|
21295
21323
|
type: "button",
|
|
21296
21324
|
onClick: (t) => _(e.name)
|
|
21297
|
-
}, [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))])])),
|
|
21298
21326
|
I(sr, {
|
|
21299
21327
|
tag: "tbody",
|
|
21300
21328
|
name: e.transitionName
|
|
@@ -21306,7 +21334,7 @@ var XO = { class: "pk-table-sortable" }, ZO = { key: 0 }, QO = {
|
|
|
21306
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 }, {
|
|
21307
21335
|
index: e,
|
|
21308
21336
|
wrapperClass: i
|
|
21309
|
-
}), () => [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", {
|
|
21310
21338
|
key: i,
|
|
21311
21339
|
class: yr([{
|
|
21312
21340
|
"pk-table-sortable__row--clickable": e.rowClickable,
|
|
@@ -21329,11 +21357,11 @@ var XO = { class: "pk-table-sortable" }, ZO = { key: 0 }, QO = {
|
|
|
21329
21357
|
wrapperClass: o,
|
|
21330
21358
|
index: i,
|
|
21331
21359
|
value: r[e]
|
|
21332
|
-
}), () => [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))])]),
|
|
21333
21361
|
_: 3
|
|
21334
21362
|
}, 8, ["name"]),
|
|
21335
|
-
U(n).tfoot ? (z(), N("tfoot",
|
|
21336
|
-
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)
|
|
21337
21365
|
], 2)], 2), V(t.$slots, "navigation", br(fr({
|
|
21338
21366
|
hide: e.hideNavigation,
|
|
21339
21367
|
prevDisabled: g.value,
|
|
@@ -21342,7 +21370,7 @@ var XO = { class: "pk-table-sortable" }, ZO = { key: 0 }, QO = {
|
|
|
21342
21370
|
next: y,
|
|
21343
21371
|
total: u.value,
|
|
21344
21372
|
page: s.value
|
|
21345
|
-
})), () => [e.hideNavigation ? M("", !0) : (z(), j(
|
|
21373
|
+
})), () => [e.hideNavigation ? M("", !0) : (z(), j(AO, {
|
|
21346
21374
|
key: 0,
|
|
21347
21375
|
page: s.value,
|
|
21348
21376
|
total: a.value ?? 0,
|
|
@@ -21364,6 +21392,6 @@ var XO = { class: "pk-table-sortable" }, ZO = { key: 0 }, QO = {
|
|
|
21364
21392
|
}
|
|
21365
21393
|
});
|
|
21366
21394
|
//#endregion
|
|
21367
|
-
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 };
|
|
21368
21396
|
|
|
21369
21397
|
//# sourceMappingURL=index.js.map
|