@8wave/ai-elements 0.104.0-beta.1 → 0.105.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{Agent-DG4nPG72.js → Agent-VhugusRf.js} +2 -2
- package/dist/_chunks/Agent-VhugusRf.js.map +1 -0
- package/dist/_chunks/{Document-DXkvvAnt.js → Document-DjNrISX1.js} +2 -2
- package/dist/_chunks/{Document-DXkvvAnt.js.map → Document-DjNrISX1.js.map} +1 -1
- package/dist/_chunks/{Media-3Mo4NRj7.js → Media-hjgDyEMr.js} +2 -2
- package/dist/_chunks/Media-hjgDyEMr.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown-YKd9F3xU.js → PkStreamingMarkdown-B4eMb97I.js} +2 -2
- package/dist/_chunks/{PkStreamingMarkdown-YKd9F3xU.js.map → PkStreamingMarkdown-B4eMb97I.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-sf6LpUN_.js → PkToolRequestGeolocation-Bp-D2nDb.js} +3 -3
- package/{dist-vue/_chunks/PkToolRequestGeolocation-BdX5DzEN.js.map → dist/_chunks/PkToolRequestGeolocation-Bp-D2nDb.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-BB8mlQit.js → PkToolRequestOAuthConnection-CjjyDj9A.js} +3 -3
- package/dist/_chunks/{PkToolRequestOAuthConnection-BB8mlQit.js.map → PkToolRequestOAuthConnection-CjjyDj9A.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-54saXXCe.js → PkToolShowArtifact-Dl8f7Q7q.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-54saXXCe.js.map → PkToolShowArtifact-Dl8f7Q7q.js.map} +1 -1
- package/dist/_chunks/{PkToolShowCalendarEvent-B_HPVUDk.js → PkToolShowCalendarEvent-B_QmZrlZ.js} +2 -2
- package/dist/_chunks/{PkToolShowCalendarEvent-B_HPVUDk.js.map → PkToolShowCalendarEvent-B_QmZrlZ.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-BtcNCixq.js → PkToolShowContactForm-CXE0485W.js} +14 -14
- package/dist/_chunks/{PkToolShowContactForm-BtcNCixq.js.map → PkToolShowContactForm-CXE0485W.js.map} +1 -1
- package/dist/_chunks/{PkToolShowDiagram-cA64c2_N.js → PkToolShowDiagram-D-TyCkCB.js} +2 -2
- package/dist/_chunks/{PkToolShowDiagram-cA64c2_N.js.map → PkToolShowDiagram-D-TyCkCB.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-DdBAG0Qs.js → PkToolShowForm-BzaibKAz.js} +101 -115
- package/dist/_chunks/PkToolShowForm-BzaibKAz.js.map +1 -0
- package/dist/_chunks/{PkToolShowSources-0qudS-bu.js → PkToolShowSources-CoTIoupP.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-0qudS-bu.js.map → PkToolShowSources-CoTIoupP.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-B2IB6ioR.js → PkToolShowSuggestedReply-DA2Bi7k4.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-B2IB6ioR.js.map → PkToolShowSuggestedReply-DA2Bi7k4.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWeather-Bl3Yoscl.js → PkToolShowWeather-ChDHtOLz.js} +2 -2
- package/dist/_chunks/{PkToolShowWeather-Bl3Yoscl.js.map → PkToolShowWeather-ChDHtOLz.js.map} +1 -1
- package/dist/_chunks/{browser-DuzNfJq0.js → browser-BXy4OnXA.js} +804 -779
- package/dist/_chunks/browser-BXy4OnXA.js.map +1 -0
- package/dist/_chunks/index.es-CnpsLhp_.js +1006 -0
- package/dist/_chunks/index.es-CnpsLhp_.js.map +1 -0
- package/dist/_chunks/utils-DtJdKlnF.js +185 -0
- package/dist/_chunks/utils-DtJdKlnF.js.map +1 -0
- package/dist/_chunks/{vue-i18n-_ouwlDGE.js → vue-i18n-C3J36GV4.js} +2 -2
- package/dist/_chunks/{vue-i18n-_ouwlDGE.js.map → vue-i18n-C3J36GV4.js.map} +1 -1
- package/dist/_chunks/{web-DnPxEADy.js → web-CzR5jWfC.js} +46 -45
- package/dist/_chunks/{web-DnPxEADy.js.map → web-CzR5jWfC.js.map} +1 -1
- package/dist/ai-elements.es.js +2100 -2159
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Agent-gCuDMxHN.js → Agent-CpIgGdU4.js} +2 -2
- package/dist-vue/_chunks/Agent-CpIgGdU4.js.map +1 -0
- package/dist-vue/_chunks/{Document-iH61Cw06.js → Document-CiaGPYTR.js} +2 -2
- package/dist-vue/_chunks/{Document-iH61Cw06.js.map → Document-CiaGPYTR.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-Bg9oercD.js → PkChatbot-xmjKbljL.js} +7 -7
- package/dist-vue/_chunks/{PkChatbot-Bg9oercD.js.map → PkChatbot-xmjKbljL.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-DUQxuYaG.js → PkChatbotMessages-tHQ2JQrb.js} +75 -75
- package/dist-vue/_chunks/{PkChatbotMessages-DUQxuYaG.js.map → PkChatbotMessages-tHQ2JQrb.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-hCmy4XG9.js → PkChatbotStepPayload-BtsnkJIV.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-hCmy4XG9.js.map → PkChatbotStepPayload-BtsnkJIV.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-B0WU0HcD.js → PkChatbotStepToolDetail-CCa95eBO.js} +116 -101
- package/dist-vue/_chunks/PkChatbotStepToolDetail-CCa95eBO.js.map +1 -0
- package/dist-vue/_chunks/PkChatbotSteps-CPBzs7Gi.js +180 -0
- package/dist-vue/_chunks/PkChatbotSteps-CPBzs7Gi.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotViewChat-YwjWNoqf.js → PkChatbotViewChat-CdiPjQLq.js} +6 -6
- package/dist-vue/_chunks/{PkChatbotViewChat-YwjWNoqf.js.map → PkChatbotViewChat-CdiPjQLq.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-vo57eSwy.js → PkChatbotViewConversations-BP-NJvlK.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-vo57eSwy.js.map → PkChatbotViewConversations-BP-NJvlK.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-DDPugn7F.js → PkChatbotViewFiles-DRUVmxU5.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-DDPugn7F.js.map → PkChatbotViewFiles-DRUVmxU5.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-Dww5KI21.js → PkChatbotViewProfile-ywvIs6N5.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-Dww5KI21.js.map → PkChatbotViewProfile-ywvIs6N5.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-BdX5DzEN.js → PkToolRequestGeolocation-BdIyXoPQ.js} +2 -2
- package/{dist/_chunks/PkToolRequestGeolocation-sf6LpUN_.js.map → dist-vue/_chunks/PkToolRequestGeolocation-BdIyXoPQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-BUmnRgMi.js → PkToolRequestOAuthConnection-Dnch7xAB.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-BUmnRgMi.js.map → PkToolRequestOAuthConnection-Dnch7xAB.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-YMo-iVWr.js → PkToolShowDiagram-DgLxNNp7.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-YMo-iVWr.js.map → PkToolShowDiagram-DgLxNNp7.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-D2n2rA6J.js → PkToolShowForm-6eLi6Wr0.js} +103 -117
- package/dist-vue/_chunks/PkToolShowForm-6eLi6Wr0.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowSources-DUAsrrzC.js → PkToolShowSources-DTJgvDiB.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSources-DUAsrrzC.js.map → PkToolShowSources-DTJgvDiB.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-Dm28RIJF.js → PkToolShowSuggestedReply-D9RY2h6Z.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-Dm28RIJF.js.map → PkToolShowSuggestedReply-D9RY2h6Z.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-CAX-3-oK.js → createChatbotApiClient-12eL7hul.js} +2 -2
- package/dist-vue/_chunks/{createChatbotApiClient-CAX-3-oK.js.map → createChatbotApiClient-12eL7hul.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-Rj18hAUf.js → useChatbotStore-Chtzi5jc.js} +1086 -1016
- package/dist-vue/_chunks/useChatbotStore-Chtzi5jc.js.map +1 -0
- package/dist-vue/_chunks/{utils-B0jsOUqd.js → utils-DKNWwMTQ.js} +46 -23
- package/dist-vue/_chunks/utils-DKNWwMTQ.js.map +1 -0
- package/dist-vue/_chunks/{web-DnPxEADy.js → web-CzR5jWfC.js} +46 -45
- package/dist-vue/_chunks/{web-DnPxEADy.js.map → web-CzR5jWfC.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +3 -3
- package/dist-vue/index.js +261 -261
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +10 -4
- package/dist-vue/packages/components/src/PkEditorRepeater.d.ts +1 -1
- package/dist-vue/packages/components/src/chat/constants.d.ts +12 -0
- package/dist-vue/packages/components/src/chat/utils.d.ts +37 -0
- package/dist-vue/packages/models/src/schema/Agent.d.ts +24 -16
- package/dist-vue/packages/models/src/schema/AgentChatStatistics.d.ts +1 -1
- package/dist-vue/packages/models/src/schema/Chat.d.ts +9 -9
- package/dist-vue/packages/models/src/schema/Document.d.ts +6 -6
- package/dist-vue/packages/models/src/schema/DocumentFolder.d.ts +0 -1
- package/dist-vue/packages/models/src/schema/McpServer.d.ts +2 -2
- package/dist-vue/packages/models/src/schema/Member.d.ts +2 -2
- package/dist-vue/packages/models/src/schema/Organization.d.ts +4 -4
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +29 -29
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +20 -20
- package/dist-vue/packages/models/src/schema/User.d.ts +6 -6
- package/dist-vue/packages/models/src/schema/constants.d.ts +2 -0
- package/package.json +10 -5
- package/dist/_chunks/Agent-DG4nPG72.js.map +0 -1
- package/dist/_chunks/Media-3Mo4NRj7.js.map +0 -1
- package/dist/_chunks/PkToolShowForm-DdBAG0Qs.js.map +0 -1
- package/dist/_chunks/browser-DuzNfJq0.js.map +0 -1
- package/dist/_chunks/index.es-DXx8DNKf.js +0 -2986
- package/dist/_chunks/index.es-DXx8DNKf.js.map +0 -1
- package/dist-vue/_chunks/Agent-gCuDMxHN.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotStepToolDetail-B0WU0HcD.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotSteps-BrvTsAeZ.js +0 -177
- package/dist-vue/_chunks/PkChatbotSteps-BrvTsAeZ.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowForm-D2n2rA6J.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-Rj18hAUf.js.map +0 -1
- package/dist-vue/_chunks/utils-B0jsOUqd.js.map +0 -1
package/dist-vue/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as e } from "./_chunks/rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-
|
|
2
|
+
import { i as t, r as n, t as r } from "./_chunks/PkToolShowForm-6eLi6Wr0.js";
|
|
3
3
|
import { S as i, _ as a, b as o, g as s, h as c, n as l, v as u } from "./_chunks/schemas-U769m8P5.js";
|
|
4
4
|
import { i as d, r as f } from "./_chunks/Media-BVlrL176.js";
|
|
5
|
-
import { C as p, P as m, S as h, T as g, _, b as v, d as y, g as ee, h as b, i as x, j as S, m as C, n as w, o as T, p as te, r as ne, t as re, v as ie, w as ae, x as oe } from "./_chunks/Agent-
|
|
6
|
-
import { r as se, t as ce } from "./_chunks/Document-
|
|
7
|
-
import { n as le } from "./_chunks/createChatbotApiClient-
|
|
5
|
+
import { C as p, P as m, S as h, T as g, _, b as v, d as y, g as ee, h as b, i as x, j as S, m as C, n as w, o as T, p as te, r as ne, t as re, v as ie, w as ae, x as oe } from "./_chunks/Agent-CpIgGdU4.js";
|
|
6
|
+
import { r as se, t as ce } from "./_chunks/Document-CiaGPYTR.js";
|
|
7
|
+
import { n as le } from "./_chunks/createChatbotApiClient-12eL7hul.js";
|
|
8
8
|
import { t as ue } from "./_chunks/PkChatbotAuth-Csyq2ijg.js";
|
|
9
9
|
import { t as de } from "./_chunks/PkChatbotError-B2iob9cQ.js";
|
|
10
10
|
import { t as fe } from "./_chunks/PkStreamingMarkdown-DWU_rlti.js";
|
|
11
|
-
import { a as pe, i as me, n as he, r as ge } from "./_chunks/useChatbotStore-
|
|
11
|
+
import { a as pe, i as me, n as he, r as ge } from "./_chunks/useChatbotStore-Chtzi5jc.js";
|
|
12
12
|
import "./_chunks/src-C2w8W_tC.js";
|
|
13
13
|
import { c as _e, i as ve, s as ye } from "./_chunks/message-RohfrdWS.js";
|
|
14
|
-
import { i as be, n as xe, r as Se, t as Ce } from "./_chunks/PkChatbotMessages-
|
|
14
|
+
import { i as be, n as xe, r as Se, t as Ce } from "./_chunks/PkChatbotMessages-tHQ2JQrb.js";
|
|
15
15
|
import { t as we } from "./_chunks/useSafeLocalStorage-BneNcUZ9.js";
|
|
16
16
|
import { t as Te } from "./_chunks/useDialogConfirm-CMTIKoWn.js";
|
|
17
|
-
import { n as Ee, r as De, t as Oe } from "./_chunks/PkChatbotViewConversations-
|
|
18
|
-
import { i as ke, n as Ae, r as je, t as Me } from "./_chunks/PkChatbotViewChat-
|
|
17
|
+
import { n as Ee, r as De, t as Oe } from "./_chunks/PkChatbotViewConversations-BP-NJvlK.js";
|
|
18
|
+
import { i as ke, n as Ae, r as je, t as Me } from "./_chunks/PkChatbotViewChat-CdiPjQLq.js";
|
|
19
19
|
import { t as Ne } from "./_chunks/useImageFallback-5vQIO0pC.js";
|
|
20
20
|
import { t as Pe } from "./_chunks/useLocalizedString-PfaKjIQY.js";
|
|
21
21
|
import { n as Fe, t as Ie } from "./_chunks/PkRelativeTime--1cIphlA.js";
|
|
@@ -29,15 +29,15 @@ import { t as Qt } from "./_chunks/PkSvgViewer-1bB26X12.js";
|
|
|
29
29
|
import { t as $t } from "./_chunks/PkUrl-DoOVEU0V.js";
|
|
30
30
|
import { t as en } from "./_chunks/PkAvatar-paEJByEA.js";
|
|
31
31
|
import { t as tn } from "./_chunks/PkChatbotFeedbackForm-DBmoiyav.js";
|
|
32
|
-
import {
|
|
33
|
-
import { n as an, t as on } from "./_chunks/PkChatbotSteps-
|
|
34
|
-
import { t as sn } from "./_chunks/PkChatbotStepPayload-
|
|
35
|
-
import { t as cn } from "./_chunks/PkChatbotStepToolDetail-
|
|
32
|
+
import { h as nn, s as rn } from "./_chunks/utils-DKNWwMTQ.js";
|
|
33
|
+
import { n as an, t as on } from "./_chunks/PkChatbotSteps-CPBzs7Gi.js";
|
|
34
|
+
import { t as sn } from "./_chunks/PkChatbotStepPayload-BtsnkJIV.js";
|
|
35
|
+
import { t as cn } from "./_chunks/PkChatbotStepToolDetail-CCa95eBO.js";
|
|
36
36
|
import { n as ln, t as un } from "./_chunks/PkChatbotInput-Cnqm3mnZ.js";
|
|
37
37
|
import { t as dn } from "./_chunks/PkChatbotEmptyState-j7ubd6rk.js";
|
|
38
|
-
import { t as fn } from "./_chunks/PkChatbotViewProfile-
|
|
39
|
-
import { t as pn } from "./_chunks/PkChatbot-
|
|
40
|
-
import { i as mn, r as hn, t as gn } from "./_chunks/PkToolShowSources-
|
|
38
|
+
import { t as fn } from "./_chunks/PkChatbotViewProfile-ywvIs6N5.js";
|
|
39
|
+
import { t as pn } from "./_chunks/PkChatbot-xmjKbljL.js";
|
|
40
|
+
import { i as mn, r as hn, t as gn } from "./_chunks/PkToolShowSources-DTJgvDiB.js";
|
|
41
41
|
import { t as _n } from "./_chunks/PkToolShowEmail-DteAgLOB.js";
|
|
42
42
|
import { t as vn } from "./_chunks/PkToolShowMessage-BF2whC3q.js";
|
|
43
43
|
import { t as yn } from "./_chunks/PkToolShowWebPages-CKmPTEcN.js";
|
|
@@ -48,7 +48,7 @@ import { t as Cn } from "./_chunks/PkToolShowComparison-D0iMf7JW.js";
|
|
|
48
48
|
import { t as wn } from "./_chunks/PkToolShowLocation-BHHR5EC5.js";
|
|
49
49
|
import { t as Tn } from "./_chunks/PkToolShowQrCode-DEAvfLFu.js";
|
|
50
50
|
import { t as En } from "./_chunks/PkToolShowImageGallery-Bs3-eeHY.js";
|
|
51
|
-
import { t as Dn } from "./_chunks/PkToolShowSuggestedReply-
|
|
51
|
+
import { t as Dn } from "./_chunks/PkToolShowSuggestedReply-D9RY2h6Z.js";
|
|
52
52
|
import { VvAccordion as On, VvAccordionGroup as kn, VvAlert as An, VvAlertGroup as jn, VvBadge as Mn, VvButton as Nn, VvButtonGroup as Pn, VvCheckbox as Fn, VvCombobox as In, VvDialog as Ln, VvDropdown as Rn, VvDropdownAction as zn, VvIcon as Bn, VvInputFile as Vn, VvInputText as Hn, VvTab as Un, VvTooltip as Wn } from "@volverjs/ui-vue/components";
|
|
53
53
|
import { Fragment as k, Teleport as Gn, Transition as Kn, TransitionGroup as qn, cloneVNode as Jn, computed as A, createApp as Yn, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as Xn, createStaticVNode as Zn, createTextVNode as F, createVNode as I, defineComponent as L, guardReactiveProps as Qn, h as $n, inject as R, isRef as er, isVNode as tr, mergeModels as nr, mergeProps as rr, nextTick as ir, normalizeClass as ar, normalizeProps as or, normalizeStyle as sr, onBeforeUnmount as cr, onMounted as lr, onUnmounted as ur, openBlock as z, provide as dr, reactive as fr, readonly as pr, ref as B, renderList as mr, renderSlot as V, resolveComponent as hr, resolveDynamicComponent as gr, shallowRef as _r, toDisplayString as H, toRef as vr, toRefs as yr, unref as U, useId as br, useModel as W, useSlots as xr, vModelSelect as Sr, vModelText as Cr, watch as G, withCtx as K, withDirectives as wr, withKeys as Tr, withModifiers as Er } from "vue";
|
|
54
54
|
import { useI18n as Dr } from "vue-i18n";
|
|
@@ -197,7 +197,7 @@ var $r = { class: "flex items-center gap-4 mb-4" }, ei = { class: "font-semibold
|
|
|
197
197
|
}
|
|
198
198
|
});
|
|
199
199
|
//#endregion
|
|
200
|
-
//#region virtual:intlify-i18n-
|
|
200
|
+
//#region virtual:intlify-i18n-0
|
|
201
201
|
function oi(e) {
|
|
202
202
|
let t = e;
|
|
203
203
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -306,7 +306,7 @@ var si = ai, ci = { class: "flex items-center gap-4 mb-4" }, li = { class: "font
|
|
|
306
306
|
}
|
|
307
307
|
});
|
|
308
308
|
//#endregion
|
|
309
|
-
//#region virtual:intlify-i18n-
|
|
309
|
+
//#region virtual:intlify-i18n-1
|
|
310
310
|
function vi(e) {
|
|
311
311
|
let t = e;
|
|
312
312
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -413,7 +413,7 @@ var yi = _i, bi = { class: "flex items-center gap-4 mb-4" }, xi = { class: "font
|
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
415
|
//#endregion
|
|
416
|
-
//#region virtual:intlify-i18n-
|
|
416
|
+
//#region virtual:intlify-i18n-4
|
|
417
417
|
function Di(e) {
|
|
418
418
|
let t = e;
|
|
419
419
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -16027,7 +16027,7 @@ var vS = /*#__PURE__*/ hS(gS, [["render", _S]]), yS = {
|
|
|
16027
16027
|
}
|
|
16028
16028
|
});
|
|
16029
16029
|
//#endregion
|
|
16030
|
-
//#region virtual:intlify-i18n-
|
|
16030
|
+
//#region virtual:intlify-i18n-2
|
|
16031
16031
|
function OS(e) {
|
|
16032
16032
|
let t = e;
|
|
16033
16033
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -16214,7 +16214,7 @@ var kS = DS, AS = { class: "block text-smaller mt-4" }, jS = { class: "block tex
|
|
|
16214
16214
|
}
|
|
16215
16215
|
});
|
|
16216
16216
|
//#endregion
|
|
16217
|
-
//#region virtual:intlify-i18n-
|
|
16217
|
+
//#region virtual:intlify-i18n-3
|
|
16218
16218
|
function FS(e) {
|
|
16219
16219
|
let t = e;
|
|
16220
16220
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
|
@@ -16399,7 +16399,7 @@ var IS = PS, LS = {
|
|
|
16399
16399
|
]);
|
|
16400
16400
|
};
|
|
16401
16401
|
}
|
|
16402
|
-
}), WS = Object.values(S), GS = .
|
|
16402
|
+
}), WS = Object.values(S), GS = (e) => `models.${e?.split("/").pop()?.replace(".", "")}`, KS = .6, qS = x.parse({}), JS = /* @__PURE__ */ L({
|
|
16403
16403
|
__name: "PkToolApprovalBadge",
|
|
16404
16404
|
setup(e) {
|
|
16405
16405
|
let { t } = Dr({ useScope: "global" });
|
|
@@ -16417,14 +16417,14 @@ var IS = PS, LS = {
|
|
|
16417
16417
|
});
|
|
16418
16418
|
};
|
|
16419
16419
|
}
|
|
16420
|
-
}),
|
|
16420
|
+
}), YS = { class: "flex gap-6 items-center" }, XS = { class: "truncate" }, ZS = /* @__PURE__ */ L({
|
|
16421
16421
|
__name: "PkLanguageModel",
|
|
16422
16422
|
props: { modelName: {} },
|
|
16423
16423
|
setup(e) {
|
|
16424
16424
|
let t = e, { t: n, te: r } = Dr(), i = ["zai", "moonshotai"], a = A(() => t.modelName?.split("/")?.[1]), o = A(() => t.modelName?.split("/")?.[0]), s = A(() => o.value === "alibaba" ? "ri:alibaba-cloud-fill" : o.value === "spacexai" ? "bxl:xai" : o.value === "zai" ? "zai" : o.value === "moonshotai" ? "moonshotai" : `ri:${o.value}-fill`), c = A(() => i.includes(o.value ?? "") ? "custom" : void 0);
|
|
16425
|
-
return (
|
|
16426
|
-
let
|
|
16427
|
-
return z(), N("div",
|
|
16425
|
+
return (t, i) => {
|
|
16426
|
+
let l = Bn;
|
|
16427
|
+
return z(), N("div", YS, [I(l, {
|
|
16428
16428
|
name: s.value,
|
|
16429
16429
|
prefix: c.value,
|
|
16430
16430
|
class: "shrink-0",
|
|
@@ -16433,10 +16433,10 @@ var IS = PS, LS = {
|
|
|
16433
16433
|
"name",
|
|
16434
16434
|
"prefix",
|
|
16435
16435
|
"title"
|
|
16436
|
-
]), P("span",
|
|
16436
|
+
]), P("span", XS, H(U(r)(U(GS)(e.modelName)) ? U(n)(U(GS)(e.modelName)) : a.value), 1)]);
|
|
16437
16437
|
};
|
|
16438
16438
|
}
|
|
16439
|
-
}),
|
|
16439
|
+
}), QS = /* @__PURE__ */ L({
|
|
16440
16440
|
__name: "PkLanguageModelCombobox",
|
|
16441
16441
|
props: {
|
|
16442
16442
|
name: {},
|
|
@@ -16447,7 +16447,7 @@ var IS = PS, LS = {
|
|
|
16447
16447
|
let { t, te: n } = Dr({ useScope: "global" }), r = e, i = A(() => {
|
|
16448
16448
|
let e = r.excludeModels ?? [];
|
|
16449
16449
|
return WS.filter((t) => !e.includes(t)).map((e) => ({
|
|
16450
|
-
label: n(
|
|
16450
|
+
label: n(GS(e)) ? t(GS(e)) : e,
|
|
16451
16451
|
value: e
|
|
16452
16452
|
}));
|
|
16453
16453
|
}), a = (e, t) => {
|
|
@@ -16467,19 +16467,19 @@ var IS = PS, LS = {
|
|
|
16467
16467
|
searchable: "",
|
|
16468
16468
|
"search-function": a
|
|
16469
16469
|
}, {
|
|
16470
|
-
value: K(({ selectedOptions: e }) => [r.multiple ? (z(!0), N(k, { key: 0 }, mr(e, (t) => (z(), j(
|
|
16470
|
+
value: K(({ selectedOptions: e }) => [r.multiple ? (z(!0), N(k, { key: 0 }, mr(e, (t) => (z(), j(ZS, {
|
|
16471
16471
|
key: t.value,
|
|
16472
16472
|
"model-name": t.value,
|
|
16473
16473
|
class: ar({
|
|
16474
16474
|
"text-12 gap-4 border border-surface-3 bg-surface px-6 py-3 rounded-md": e.length > 1,
|
|
16475
16475
|
"text-14 gap-sm": e.length === 1
|
|
16476
16476
|
})
|
|
16477
|
-
}, null, 8, ["model-name", "class"]))), 128)) : (z(), j(
|
|
16477
|
+
}, null, 8, ["model-name", "class"]))), 128)) : (z(), j(ZS, {
|
|
16478
16478
|
key: 1,
|
|
16479
16479
|
"model-name": e[0]?.value,
|
|
16480
16480
|
class: "text-14 gap-sm"
|
|
16481
16481
|
}, null, 8, ["model-name"]))]),
|
|
16482
|
-
option: K(({ option: e }) => [I(
|
|
16482
|
+
option: K(({ option: e }) => [I(ZS, {
|
|
16483
16483
|
"model-name": e.value,
|
|
16484
16484
|
class: "text-14 gap-sm"
|
|
16485
16485
|
}, null, 8, ["model-name"])]),
|
|
@@ -16492,10 +16492,10 @@ var IS = PS, LS = {
|
|
|
16492
16492
|
]);
|
|
16493
16493
|
};
|
|
16494
16494
|
}
|
|
16495
|
-
}),
|
|
16495
|
+
}), $S = {
|
|
16496
16496
|
key: 5,
|
|
16497
16497
|
class: "text-12 text-word-3"
|
|
16498
|
-
},
|
|
16498
|
+
}, eC = /* @__PURE__ */ L({
|
|
16499
16499
|
__name: "PkReasoningSettings",
|
|
16500
16500
|
props: /*@__PURE__*/ nr({ activeProvider: {} }, {
|
|
16501
16501
|
reasoning: { default: void 0 },
|
|
@@ -16789,10 +16789,10 @@ var IS = PS, LS = {
|
|
|
16789
16789
|
"placeholder",
|
|
16790
16790
|
"hint-label",
|
|
16791
16791
|
"options"
|
|
16792
|
-
])) : (z(), N("small",
|
|
16792
|
+
])) : (z(), N("small", $S, H(U(t)("hint.reasoningNotSupported")), 1));
|
|
16793
16793
|
};
|
|
16794
16794
|
}
|
|
16795
|
-
}),
|
|
16795
|
+
}), tC = /* @__PURE__ */ L({
|
|
16796
16796
|
__name: "PkWebSearchSettings",
|
|
16797
16797
|
props: /*@__PURE__*/ nr({
|
|
16798
16798
|
activeProvider: {},
|
|
@@ -17156,7 +17156,7 @@ var IS = PS, LS = {
|
|
|
17156
17156
|
], 64)) : M("", !0)], 64)) : M("", !0)], 64)) : M("", !0)], 64);
|
|
17157
17157
|
};
|
|
17158
17158
|
}
|
|
17159
|
-
}),
|
|
17159
|
+
}), nC = /* @__PURE__ */ L({
|
|
17160
17160
|
__name: "PkEditorChannels",
|
|
17161
17161
|
props: /*@__PURE__*/ nr({ type: {} }, {
|
|
17162
17162
|
modelValue: { default: () => Object.values(ne) },
|
|
@@ -17216,7 +17216,7 @@ var IS = PS, LS = {
|
|
|
17216
17216
|
_: 1
|
|
17217
17217
|
}, 8, ["legend"]));
|
|
17218
17218
|
}
|
|
17219
|
-
}),
|
|
17219
|
+
}), rC = { key: 1 }, iC = { class: "pk-copy-block__actions" }, aC = /* @__PURE__ */ L({
|
|
17220
17220
|
__name: "PkCopyBlock",
|
|
17221
17221
|
props: {
|
|
17222
17222
|
source: {},
|
|
@@ -17231,7 +17231,7 @@ var IS = PS, LS = {
|
|
|
17231
17231
|
key: 0,
|
|
17232
17232
|
code: n.value,
|
|
17233
17233
|
language: e.codeLanguage
|
|
17234
|
-
}, null, 8, ["code", "language"])) : (z(), N("div",
|
|
17234
|
+
}, null, 8, ["code", "language"])) : (z(), N("div", rC, H(n.value), 1))]), P("div", iC, [I(c, null, {
|
|
17235
17235
|
default: K(() => [I(s, {
|
|
17236
17236
|
modifiers: e.modifiers.includes("inline") ? "action-quiet-small" : "action-small",
|
|
17237
17237
|
icon: U(i) ? "ri:check-line" : "ri:file-copy-line",
|
|
@@ -17246,13 +17246,13 @@ var IS = PS, LS = {
|
|
|
17246
17246
|
})])], 2);
|
|
17247
17247
|
};
|
|
17248
17248
|
}
|
|
17249
|
-
}),
|
|
17249
|
+
}), oC = ["for"], sC = { class: "flex gap-sm items-center" }, cC = [
|
|
17250
17250
|
"id",
|
|
17251
17251
|
"name",
|
|
17252
17252
|
"min",
|
|
17253
17253
|
"max",
|
|
17254
17254
|
"step"
|
|
17255
|
-
],
|
|
17255
|
+
], lC = { class: "text-14 bg-surface border border-surface-3 rounded-md p-4 text-center w-36" }, uC = /* @__PURE__ */ L({
|
|
17256
17256
|
__name: "PkInputRange",
|
|
17257
17257
|
props: {
|
|
17258
17258
|
modelValue: {},
|
|
@@ -17277,7 +17277,7 @@ var IS = PS, LS = {
|
|
|
17277
17277
|
key: 0,
|
|
17278
17278
|
for: U(n),
|
|
17279
17279
|
class: "block text-12 text-word-3 mb-2"
|
|
17280
|
-
}, H(e.label), 9,
|
|
17280
|
+
}, H(e.label), 9, oC)) : M("", !0), P("div", sC, [wr(P("input", {
|
|
17281
17281
|
id: U(n),
|
|
17282
17282
|
"onUpdate:modelValue": r[0] ||= (e) => er(a) ? a.value = e : null,
|
|
17283
17283
|
type: "range",
|
|
@@ -17286,9 +17286,9 @@ var IS = PS, LS = {
|
|
|
17286
17286
|
max: e.max,
|
|
17287
17287
|
step: e.step,
|
|
17288
17288
|
class: "flex-1 bg-word text-word appearance-none rounded-full h-2"
|
|
17289
|
-
}, null, 8,
|
|
17289
|
+
}, null, 8, cC), [[Cr, U(a)]]), P("div", lC, H(U(a) ? t.$n(parseFloat(U(a).toString())) : "-"), 1)])]));
|
|
17290
17290
|
}
|
|
17291
|
-
}),
|
|
17291
|
+
}), dC = /* @__PURE__ */ L({
|
|
17292
17292
|
__name: "PkInputColor",
|
|
17293
17293
|
props: {
|
|
17294
17294
|
modelValue: {},
|
|
@@ -17321,19 +17321,19 @@ var IS = PS, LS = {
|
|
|
17321
17321
|
])]);
|
|
17322
17322
|
};
|
|
17323
17323
|
}
|
|
17324
|
-
}),
|
|
17324
|
+
}), fC = { class: "pk-agent-settings-panel" }, pC = { class: "xl:grid grid-cols-2 gap-x-md items-start" }, mC = { class: "p-8 flex flex-col" }, hC = { class: "flex flex-col ml-12 gap-2" }, gC = { class: "text-12 text-word-3" }, _C = { class: "mb-md" }, vC = { class: "flex items-center gap-xs mb-2" }, yC = { class: "block text-12 text-word-3" }, bC = { class: "info-icon relative cursor-help text-word-3" }, xC = { class: "mb-md" }, SC = { class: "flex items-center gap-xs mb-2" }, CC = { class: "block text-12 text-word-3" }, wC = { class: "info-icon relative cursor-help text-word-3" }, TC = { class: "text-12 text-word-3 mt-xs leading-normal" }, EC = { class: "flex flex-col ml-12 gap-2" }, DC = { class: "text-12 text-word-3" }, OC = { class: "mb-md" }, kC = { class: "flex items-center gap-xs mb-2" }, AC = { class: "block text-12 text-word-3" }, jC = { class: "info-icon relative cursor-help text-word-3" }, MC = { class: "mb-md" }, NC = { class: "flex items-center gap-xs mb-2" }, PC = { class: "block text-12 text-word-3" }, FC = { class: "info-icon relative cursor-help text-word-3" }, IC = { class: "flex flex-col ml-12 gap-2" }, LC = { class: "text-12 text-word-3" }, RC = { class: "flex flex-col ml-12 gap-2" }, zC = { class: "text-12 text-word-3" }, BC = { class: "flex flex-col ml-12 gap-2" }, VC = { class: "text-12 text-word-3" }, HC = {
|
|
17325
17325
|
key: 0,
|
|
17326
17326
|
class: "text-12 leading-normal py-xs bg-surface-1 border border-surface-3 pl-36 pr-xs block relative mt-md"
|
|
17327
|
-
},
|
|
17327
|
+
}, UC = { class: "flex items-end gap-sm mt-md" }, WC = { class: "flex flex-col gap-2 min-w-0" }, GC = { class: "truncate" }, KC = {
|
|
17328
17328
|
key: 0,
|
|
17329
17329
|
class: "text-12 text-word-3 truncate"
|
|
17330
|
-
},
|
|
17330
|
+
}, qC = { class: "p-8 flex flex-col" }, JC = { class: "flex flex-col ml-12 gap-2" }, YC = { class: "text-12 text-word-3" }, XC = { class: "flex gap-sm mt-md" }, ZC = { class: "text-12 text-word-3 mt-8 mb-md px-8" }, QC = { class: "text-12 leading-normal py-xs bg-surface-1 border border-surface-3 pl-36 pr-xs block relative mt-md" }, $C = { class: "p-8 flex flex-col" }, ew = { class: "grid sm:grid-cols-2 gap-md items-start" }, tw = { class: "flex flex-col gap-md" }, nw = { class: "text-12 text-word-3 mb-sm" }, rw = { class: "flex items-center gap-4" }, iw = { class: "text-12 text-word-3 mb-sm" }, aw = { class: "flex flex-col nx-md nb-md" }, ow = { class: "flex flex-col ml-12 gap-2" }, sw = { class: "flex items-center gap-8" }, cw = { class: "font-semibold" }, lw = { class: "text-12 text-word-3" }, uw = ["title"], dw = { class: "p-xs flex gap-md items-start" }, fw = { class: "flex flex-col gap-md" }, pw = {
|
|
17331
17331
|
key: 0,
|
|
17332
17332
|
class: "text-12 leading-normal py-xs bg-surface-1 border border-surface-3 pl-36 pr-xs block relative"
|
|
17333
|
-
},
|
|
17333
|
+
}, mw = {
|
|
17334
17334
|
key: 1,
|
|
17335
17335
|
class: "text-12 leading-normal py-xs bg-surface-1 border border-surface-3 pl-36 pr-xs block relative"
|
|
17336
|
-
},
|
|
17336
|
+
}, hw = { class: "font-semibold mb-xs" }, gw = { class: "text-smaller" }, _w = { key: 2 }, vw = { class: "p-8 flex flex-col" }, yw = { class: "text-smaller mb-xs" }, bw = { class: "font-semibold mb-xs" }, xw = { class: "text-smaller" }, Sw = { class: "font-semibold mb-xs" }, Cw = { class: "text-smaller" }, ww = { class: "block text-12 text-word-2 break-all p-12 font-mono" }, Tw = { class: "grid sm:grid-cols-2 gap-md" }, Ew = /* @__PURE__ */ L({
|
|
17337
17337
|
__name: "PkAgentSettingsPanel",
|
|
17338
17338
|
props: /*@__PURE__*/ nr({
|
|
17339
17339
|
organizationSlug: {},
|
|
@@ -17362,7 +17362,7 @@ var IS = PS, LS = {
|
|
|
17362
17362
|
footerMessageModifiers: {},
|
|
17363
17363
|
model: { default: WS[0] },
|
|
17364
17364
|
modelModifiers: {},
|
|
17365
|
-
temperature: { default:
|
|
17365
|
+
temperature: { default: KS },
|
|
17366
17366
|
temperatureModifiers: {},
|
|
17367
17367
|
prompt: { default: "" },
|
|
17368
17368
|
promptModifiers: {},
|
|
@@ -17483,13 +17483,13 @@ var IS = PS, LS = {
|
|
|
17483
17483
|
voiceTurnEagernessModifiers: {},
|
|
17484
17484
|
voiceTurnTimeoutSeconds: { default: 5 },
|
|
17485
17485
|
voiceTurnTimeoutSecondsModifiers: {},
|
|
17486
|
-
fileUploadMaxFileSize: { default:
|
|
17486
|
+
fileUploadMaxFileSize: { default: qS.maxFileSizeBytes },
|
|
17487
17487
|
fileUploadMaxFileSizeModifiers: {},
|
|
17488
|
-
fileUploadAllowedMimeTypes: { default: () => [...
|
|
17488
|
+
fileUploadAllowedMimeTypes: { default: () => [...qS.allowedMimeTypes] },
|
|
17489
17489
|
fileUploadAllowedMimeTypesModifiers: {},
|
|
17490
|
-
fileUploadMaxFilesPerMessage: { default:
|
|
17490
|
+
fileUploadMaxFilesPerMessage: { default: qS.maxFilesPerMessage },
|
|
17491
17491
|
fileUploadMaxFilesPerMessageModifiers: {},
|
|
17492
|
-
fileUploadMaxFilesPerChat: { default:
|
|
17492
|
+
fileUploadMaxFilesPerChat: { default: qS.maxFilesPerChat },
|
|
17493
17493
|
fileUploadMaxFilesPerChatModifiers: {},
|
|
17494
17494
|
customCss: { default: void 0 },
|
|
17495
17495
|
customCssModifiers: {},
|
|
@@ -17778,7 +17778,7 @@ var IS = PS, LS = {
|
|
|
17778
17778
|
style="border: 1px solid #e5e7eb; border-radius: 8px;"></iframe>`);
|
|
17779
17779
|
return (i, a) => {
|
|
17780
17780
|
let o = In, y = Hn, Ce = Fn, Ge = Bn, Ke = Wn, qe = Nn, Je = On, Qe = Un, E = Mn, nt = Ln;
|
|
17781
|
-
return z(), N("div",
|
|
17781
|
+
return z(), N("div", fC, [I(Qe, {
|
|
17782
17782
|
items: Ft.value,
|
|
17783
17783
|
lazy: "once"
|
|
17784
17784
|
}, {
|
|
@@ -17791,7 +17791,7 @@ var IS = PS, LS = {
|
|
|
17791
17791
|
readonly: "",
|
|
17792
17792
|
vertical: ""
|
|
17793
17793
|
}, null, 8, ["modelValue", "label"]),
|
|
17794
|
-
P("div",
|
|
17794
|
+
P("div", pC, [I(o, {
|
|
17795
17795
|
modelValue: _.value,
|
|
17796
17796
|
"onUpdate:modelValue": a[1] ||= (e) => _.value = e,
|
|
17797
17797
|
name: "status",
|
|
@@ -17867,7 +17867,7 @@ var IS = PS, LS = {
|
|
|
17867
17867
|
"label",
|
|
17868
17868
|
"placeholder"
|
|
17869
17869
|
]),
|
|
17870
|
-
I(
|
|
17870
|
+
I(QS, {
|
|
17871
17871
|
modelValue: p.value,
|
|
17872
17872
|
"onUpdate:modelValue": a[4] ||= (e) => p.value = e,
|
|
17873
17873
|
name: "model",
|
|
@@ -17898,10 +17898,10 @@ var IS = PS, LS = {
|
|
|
17898
17898
|
modifiers: "details",
|
|
17899
17899
|
class: "border border-surface-3 rounded"
|
|
17900
17900
|
}, {
|
|
17901
|
-
default: K(() => [P("div",
|
|
17901
|
+
default: K(() => [P("div", mC, [
|
|
17902
17902
|
I(ga, { legend: U(t)("label.modelParameters") }, {
|
|
17903
17903
|
default: K(() => [
|
|
17904
|
-
I(
|
|
17904
|
+
I(QS, {
|
|
17905
17905
|
modelValue: ct.value,
|
|
17906
17906
|
"onUpdate:modelValue": a[6] ||= (e) => ct.value = e,
|
|
17907
17907
|
name: "fallbackModels",
|
|
@@ -17930,7 +17930,7 @@ var IS = PS, LS = {
|
|
|
17930
17930
|
"label",
|
|
17931
17931
|
"placeholder"
|
|
17932
17932
|
]),
|
|
17933
|
-
I(
|
|
17933
|
+
I(uC, {
|
|
17934
17934
|
modelValue: m.value,
|
|
17935
17935
|
"onUpdate:modelValue": a[8] ||= (e) => m.value = e,
|
|
17936
17936
|
name: "temperature",
|
|
@@ -17940,7 +17940,7 @@ var IS = PS, LS = {
|
|
|
17940
17940
|
step: "0.1",
|
|
17941
17941
|
class: "mb-md"
|
|
17942
17942
|
}, null, 8, ["modelValue", "label"]),
|
|
17943
|
-
I(
|
|
17943
|
+
I(uC, {
|
|
17944
17944
|
modelValue: S.value,
|
|
17945
17945
|
"onUpdate:modelValue": a[9] ||= (e) => S.value = e,
|
|
17946
17946
|
name: "presencePenalty",
|
|
@@ -17950,7 +17950,7 @@ var IS = PS, LS = {
|
|
|
17950
17950
|
step: "0.1",
|
|
17951
17951
|
class: "mb-md"
|
|
17952
17952
|
}, null, 8, ["modelValue", "label"]),
|
|
17953
|
-
I(
|
|
17953
|
+
I(uC, {
|
|
17954
17954
|
modelValue: te.value,
|
|
17955
17955
|
"onUpdate:modelValue": a[10] ||= (e) => te.value = e,
|
|
17956
17956
|
name: "frequencyPenalty",
|
|
@@ -17984,7 +17984,7 @@ var IS = PS, LS = {
|
|
|
17984
17984
|
_: 1
|
|
17985
17985
|
}, 8, ["legend"]),
|
|
17986
17986
|
I(ga, { legend: U(t)("label.reasoning") }, {
|
|
17987
|
-
default: K(() => [I(
|
|
17987
|
+
default: K(() => [I(eC, {
|
|
17988
17988
|
reasoning: ie.value,
|
|
17989
17989
|
"onUpdate:reasoning": a[12] ||= (e) => ie.value = e,
|
|
17990
17990
|
"active-provider": Nt.value
|
|
@@ -18034,7 +18034,7 @@ var IS = PS, LS = {
|
|
|
18034
18034
|
"placeholder",
|
|
18035
18035
|
"options"
|
|
18036
18036
|
]),
|
|
18037
|
-
I(
|
|
18037
|
+
I(uC, {
|
|
18038
18038
|
modelValue: ee.value,
|
|
18039
18039
|
"onUpdate:modelValue": a[15] ||= (e) => ee.value = e,
|
|
18040
18040
|
name: "limit",
|
|
@@ -18044,7 +18044,7 @@ var IS = PS, LS = {
|
|
|
18044
18044
|
step: "1",
|
|
18045
18045
|
class: "mb-md"
|
|
18046
18046
|
}, null, 8, ["modelValue", "label"]),
|
|
18047
|
-
I(
|
|
18047
|
+
I(uC, {
|
|
18048
18048
|
modelValue: b.value,
|
|
18049
18049
|
"onUpdate:modelValue": a[16] ||= (e) => b.value = e,
|
|
18050
18050
|
name: "maxStepCount",
|
|
@@ -18068,31 +18068,31 @@ var IS = PS, LS = {
|
|
|
18068
18068
|
"unchecked-value": !1,
|
|
18069
18069
|
class: "flex-nowrap mb-md"
|
|
18070
18070
|
}, {
|
|
18071
|
-
default: K(() => [P("div",
|
|
18071
|
+
default: K(() => [P("div", hC, [P("strong", null, H(U(t)("label.freshnessBoost")), 1), P("small", gC, H(U(t)("hint.freshnessBoost")), 1)])]),
|
|
18072
18072
|
_: 1
|
|
18073
18073
|
}, 8, ["modelValue"])) : M("", !0),
|
|
18074
|
-
gt.value?.freshness?.enabled ? (z(), N(k, { key: 1 }, [P("div",
|
|
18074
|
+
gt.value?.freshness?.enabled ? (z(), N(k, { key: 1 }, [P("div", _C, [P("div", vC, [P("label", yC, H(U(t)("hint.freshnessScale")), 1), P("div", bC, [I(Ge, {
|
|
18075
18075
|
name: "ri:information-line",
|
|
18076
18076
|
class: "w-14 h-14"
|
|
18077
18077
|
}), I(Ke, {
|
|
18078
18078
|
position: "bottom",
|
|
18079
18079
|
value: U(t)("hint.freshnessScaleTooltip")
|
|
18080
|
-
}, null, 8, ["value"])])]), I(
|
|
18080
|
+
}, null, 8, ["value"])])]), I(uC, {
|
|
18081
18081
|
modelValue: _t.value,
|
|
18082
18082
|
"onUpdate:modelValue": a[18] ||= (e) => _t.value = e,
|
|
18083
18083
|
name: "freshnessScale",
|
|
18084
18084
|
min: "1",
|
|
18085
18085
|
max: "365",
|
|
18086
18086
|
step: "1"
|
|
18087
|
-
}, null, 8, ["modelValue"])]), P("div",
|
|
18088
|
-
P("div",
|
|
18087
|
+
}, null, 8, ["modelValue"])]), P("div", xC, [
|
|
18088
|
+
P("div", SC, [P("label", CC, H(U(t)("label.freshnessWeight")), 1), P("div", wC, [I(Ge, {
|
|
18089
18089
|
name: "ri:information-line",
|
|
18090
18090
|
class: "w-14 h-14"
|
|
18091
18091
|
}), I(Ke, {
|
|
18092
18092
|
position: "bottom",
|
|
18093
18093
|
value: U(t)("hint.freshnessWeightTooltip")
|
|
18094
18094
|
}, null, 8, ["value"])])]),
|
|
18095
|
-
gt.value?.freshness ? (z(), j(
|
|
18095
|
+
gt.value?.freshness ? (z(), j(uC, {
|
|
18096
18096
|
key: 0,
|
|
18097
18097
|
modelValue: gt.value.freshness.weight,
|
|
18098
18098
|
"onUpdate:modelValue": a[19] ||= (e) => gt.value.freshness.weight = e,
|
|
@@ -18101,7 +18101,7 @@ var IS = PS, LS = {
|
|
|
18101
18101
|
max: "0.5",
|
|
18102
18102
|
step: "0.05"
|
|
18103
18103
|
}, null, 8, ["modelValue"])) : M("", !0),
|
|
18104
|
-
P("p",
|
|
18104
|
+
P("p", TC, H(vt.value), 1)
|
|
18105
18105
|
])], 64)) : M("", !0),
|
|
18106
18106
|
gt.value?.mmr ? (z(), j(Ce, {
|
|
18107
18107
|
key: 2,
|
|
@@ -18113,16 +18113,16 @@ var IS = PS, LS = {
|
|
|
18113
18113
|
"unchecked-value": !1,
|
|
18114
18114
|
class: "flex-nowrap mb-md border-t border-surface-3 pt-md"
|
|
18115
18115
|
}, {
|
|
18116
|
-
default: K(() => [P("div",
|
|
18116
|
+
default: K(() => [P("div", EC, [P("strong", null, H(U(t)("label.mmr")), 1), P("small", DC, H(U(t)("hint.mmr")), 1)])]),
|
|
18117
18117
|
_: 1
|
|
18118
18118
|
}, 8, ["modelValue"])) : M("", !0),
|
|
18119
|
-
gt.value?.mmr?.enabled ? (z(), N(k, { key: 3 }, [P("div",
|
|
18119
|
+
gt.value?.mmr?.enabled ? (z(), N(k, { key: 3 }, [P("div", OC, [P("div", kC, [P("label", AC, H(U(t)("label.mmrDiversity")), 1), P("div", jC, [I(Ge, {
|
|
18120
18120
|
name: "ri:information-line",
|
|
18121
18121
|
class: "w-14 h-14"
|
|
18122
18122
|
}), I(Ke, {
|
|
18123
18123
|
position: "bottom",
|
|
18124
18124
|
value: U(t)("hint.mmrDiversityTooltip")
|
|
18125
|
-
}, null, 8, ["value"])])]), gt.value?.mmr ? (z(), j(
|
|
18125
|
+
}, null, 8, ["value"])])]), gt.value?.mmr ? (z(), j(uC, {
|
|
18126
18126
|
key: 0,
|
|
18127
18127
|
modelValue: gt.value.mmr.diversity,
|
|
18128
18128
|
"onUpdate:modelValue": a[21] ||= (e) => gt.value.mmr.diversity = e,
|
|
@@ -18130,13 +18130,13 @@ var IS = PS, LS = {
|
|
|
18130
18130
|
min: "0",
|
|
18131
18131
|
max: "1",
|
|
18132
18132
|
step: "0.1"
|
|
18133
|
-
}, null, 8, ["modelValue"])) : M("", !0)]), P("div",
|
|
18133
|
+
}, null, 8, ["modelValue"])) : M("", !0)]), P("div", MC, [P("div", NC, [P("label", PC, H(U(t)("label.mmrCandidatesLimit")), 1), P("div", FC, [I(Ge, {
|
|
18134
18134
|
name: "ri:information-line",
|
|
18135
18135
|
class: "w-14 h-14"
|
|
18136
18136
|
}), I(Ke, {
|
|
18137
18137
|
position: "bottom",
|
|
18138
18138
|
value: U(t)("hint.mmrCandidatesLimitTooltip")
|
|
18139
|
-
}, null, 8, ["value"])])]), gt.value?.mmr ? (z(), j(
|
|
18139
|
+
}, null, 8, ["value"])])]), gt.value?.mmr ? (z(), j(uC, {
|
|
18140
18140
|
key: 0,
|
|
18141
18141
|
modelValue: gt.value.mmr.candidatesLimit,
|
|
18142
18142
|
"onUpdate:modelValue": a[22] ||= (e) => gt.value.mmr.candidatesLimit = e,
|
|
@@ -18161,7 +18161,7 @@ var IS = PS, LS = {
|
|
|
18161
18161
|
"unchecked-value": !1,
|
|
18162
18162
|
class: "flex-nowrap mb-0"
|
|
18163
18163
|
}, {
|
|
18164
|
-
default: K(() => [P("div",
|
|
18164
|
+
default: K(() => [P("div", IC, [P("strong", null, H(U(t)("label.zeroDataRetention")), 1), P("small", LC, H(U(t)("hint.zeroDataRetention")), 1)])]),
|
|
18165
18165
|
_: 1
|
|
18166
18166
|
}, 8, ["modelValue"]), lt.value ? M("", !0) : (z(), j(Ce, {
|
|
18167
18167
|
key: 0,
|
|
@@ -18173,7 +18173,7 @@ var IS = PS, LS = {
|
|
|
18173
18173
|
"unchecked-value": !1,
|
|
18174
18174
|
class: "flex-nowrap mt-md mb-0"
|
|
18175
18175
|
}, {
|
|
18176
|
-
default: K(() => [P("div",
|
|
18176
|
+
default: K(() => [P("div", RC, [P("strong", null, H(U(t)("label.disallowPromptTraining")), 1), P("small", zC, H(U(t)("hint.disallowPromptTraining")), 1)])]),
|
|
18177
18177
|
_: 1
|
|
18178
18178
|
}, 8, ["modelValue"]))]),
|
|
18179
18179
|
_: 1
|
|
@@ -18192,14 +18192,14 @@ var IS = PS, LS = {
|
|
|
18192
18192
|
"unchecked-value": !1,
|
|
18193
18193
|
class: "flex-nowrap mb-0"
|
|
18194
18194
|
}, {
|
|
18195
|
-
default: K(() => [P("div",
|
|
18195
|
+
default: K(() => [P("div", BC, [P("strong", null, H(U(t)("label.voiceEnabled")), 1), P("small", VC, H(U(t)("hint.voiceEnabled")), 1)])]),
|
|
18196
18196
|
_: 1
|
|
18197
18197
|
}, 8, ["modelValue"]), Me.value ? (z(), N(k, { key: 0 }, [
|
|
18198
|
-
kt.value.length ? (z(), N("p",
|
|
18198
|
+
kt.value.length ? (z(), N("p", HC, [I(Ge, {
|
|
18199
18199
|
name: "ri:alert-line",
|
|
18200
18200
|
class: "align-middle text-18 left-8 absolute text-warning"
|
|
18201
18201
|
}), F(" " + H(U(t)("hint.voiceApprovalRefused", { tools: kt.value.join(", ") })), 1)])) : M("", !0),
|
|
18202
|
-
P("div",
|
|
18202
|
+
P("div", UC, [I(o, {
|
|
18203
18203
|
modelValue: Pe.value,
|
|
18204
18204
|
"onUpdate:modelValue": a[27] ||= (e) => Pe.value = e,
|
|
18205
18205
|
name: "voiceId",
|
|
@@ -18227,7 +18227,7 @@ var IS = PS, LS = {
|
|
|
18227
18227
|
"disabled",
|
|
18228
18228
|
"title"
|
|
18229
18229
|
])]),
|
|
18230
|
-
option: K(({ option: e }) => [P("span",
|
|
18230
|
+
option: K(({ option: e }) => [P("span", WC, [P("span", GC, H(e.label), 1), e.description ? (z(), N("small", KC, H(e.description), 1)) : M("", !0)])]),
|
|
18231
18231
|
_: 1
|
|
18232
18232
|
}, 8, [
|
|
18233
18233
|
"modelValue",
|
|
@@ -18281,7 +18281,7 @@ var IS = PS, LS = {
|
|
|
18281
18281
|
modifiers: "details",
|
|
18282
18282
|
class: "border border-surface-3 rounded mt-md"
|
|
18283
18283
|
}, {
|
|
18284
|
-
default: K(() => [P("div",
|
|
18284
|
+
default: K(() => [P("div", qC, [
|
|
18285
18285
|
I(Ce, {
|
|
18286
18286
|
modelValue: Ve.value,
|
|
18287
18287
|
"onUpdate:modelValue": a[30] ||= (e) => Ve.value = e,
|
|
@@ -18291,7 +18291,7 @@ var IS = PS, LS = {
|
|
|
18291
18291
|
"unchecked-value": !1,
|
|
18292
18292
|
class: "flex-nowrap mb-0"
|
|
18293
18293
|
}, {
|
|
18294
|
-
default: K(() => [P("div",
|
|
18294
|
+
default: K(() => [P("div", JC, [P("strong", null, H(U(t)("label.voiceIgnoreBackgroundVoices")), 1), P("small", YC, H(U(t)("hint.voiceIgnoreBackgroundVoices")), 1)])]),
|
|
18295
18295
|
_: 1
|
|
18296
18296
|
}, 8, ["modelValue"]),
|
|
18297
18297
|
I(o, {
|
|
@@ -18329,7 +18329,7 @@ var IS = PS, LS = {
|
|
|
18329
18329
|
"placeholder",
|
|
18330
18330
|
"options"
|
|
18331
18331
|
]),
|
|
18332
|
-
P("div",
|
|
18332
|
+
P("div", XC, [I(y, {
|
|
18333
18333
|
modelValue: Ue.value,
|
|
18334
18334
|
"onUpdate:modelValue": a[32] ||= (e) => Ue.value = e,
|
|
18335
18335
|
name: "voiceTurnTimeoutSeconds",
|
|
@@ -18360,7 +18360,7 @@ var IS = PS, LS = {
|
|
|
18360
18360
|
"label",
|
|
18361
18361
|
"placeholder"
|
|
18362
18362
|
])]),
|
|
18363
|
-
P("small",
|
|
18363
|
+
P("small", ZC, H(U(t)("hint.voiceTurnTimeoutSeconds")), 1),
|
|
18364
18364
|
I(y, {
|
|
18365
18365
|
modelValue: Ne.value,
|
|
18366
18366
|
"onUpdate:modelValue": a[34] ||= (e) => Ne.value = e,
|
|
@@ -18379,7 +18379,7 @@ var IS = PS, LS = {
|
|
|
18379
18379
|
"hint-label",
|
|
18380
18380
|
"placeholder"
|
|
18381
18381
|
]),
|
|
18382
|
-
P("p",
|
|
18382
|
+
P("p", QC, [I(Ge, {
|
|
18383
18383
|
name: "ri:information-line",
|
|
18384
18384
|
class: "align-middle text-18 left-8 absolute text-word-3"
|
|
18385
18385
|
}), F(" " + H(U(t)("hint.voiceSlowAgentOnCall")), 1)]),
|
|
@@ -18422,7 +18422,7 @@ var IS = PS, LS = {
|
|
|
18422
18422
|
], 64)) : M("", !0)]),
|
|
18423
18423
|
_: 1
|
|
18424
18424
|
}, 8, ["legend"])),
|
|
18425
|
-
e.playground ? M("", !0) : (z(), j(
|
|
18425
|
+
e.playground ? M("", !0) : (z(), j(nC, {
|
|
18426
18426
|
key: 1,
|
|
18427
18427
|
modelValue: mt.value,
|
|
18428
18428
|
"onUpdate:modelValue": a[37] ||= (e) => mt.value = e,
|
|
@@ -18484,7 +18484,7 @@ var IS = PS, LS = {
|
|
|
18484
18484
|
"options"
|
|
18485
18485
|
])) : M("", !0),
|
|
18486
18486
|
I(ga, { legend: U(t)("label.appearance") }, {
|
|
18487
|
-
default: K(() => [I(
|
|
18487
|
+
default: K(() => [I(dC, {
|
|
18488
18488
|
modelValue: le.value,
|
|
18489
18489
|
"onUpdate:modelValue": a[40] ||= (e) => le.value = e,
|
|
18490
18490
|
name: "mainColor",
|
|
@@ -18524,7 +18524,7 @@ var IS = PS, LS = {
|
|
|
18524
18524
|
modifiers: "details",
|
|
18525
18525
|
class: "border border-surface-3 rounded mt-md mb-md"
|
|
18526
18526
|
}, {
|
|
18527
|
-
default: K(() => [P("div",
|
|
18527
|
+
default: K(() => [P("div", $C, [
|
|
18528
18528
|
Pt.value ? (z(), j(sS, {
|
|
18529
18529
|
key: 0,
|
|
18530
18530
|
modelValue: de.value,
|
|
@@ -18790,7 +18790,7 @@ var IS = PS, LS = {
|
|
|
18790
18790
|
"placeholder",
|
|
18791
18791
|
"options"
|
|
18792
18792
|
]),
|
|
18793
|
-
P("div",
|
|
18793
|
+
P("div", ew, [I(y, {
|
|
18794
18794
|
modelValue: it.value,
|
|
18795
18795
|
"onUpdate:modelValue": a[52] ||= (e) => it.value = e,
|
|
18796
18796
|
disabled: e.playground,
|
|
@@ -18825,22 +18825,22 @@ var IS = PS, LS = {
|
|
|
18825
18825
|
_: 1
|
|
18826
18826
|
}, 8, ["legend"]),
|
|
18827
18827
|
I(ga, { legend: U(t)("label.webSearch") }, {
|
|
18828
|
-
default: K(() => [I(
|
|
18828
|
+
default: K(() => [I(tC, {
|
|
18829
18829
|
"web-search": se.value,
|
|
18830
18830
|
"onUpdate:webSearch": a[54] ||= (e) => se.value = e,
|
|
18831
18831
|
"active-provider": Nt.value
|
|
18832
18832
|
}, null, 8, ["web-search", "active-provider"])]),
|
|
18833
18833
|
_: 1
|
|
18834
18834
|
}, 8, ["legend"]),
|
|
18835
|
-
P("div",
|
|
18835
|
+
P("div", tw, [P("p", nw, H(U(t)("hint.approvalChannels")), 1), (z(!0), N(k, null, mr(D.value, (n) => (z(), N(k, { key: n.key }, [Pt.value || !n.tools.every((e) => U(g)(e)) ? (z(), j(ga, {
|
|
18836
18836
|
key: 0,
|
|
18837
18837
|
class: "mb-0"
|
|
18838
18838
|
}, {
|
|
18839
|
-
legend: K(() => [P("span",
|
|
18839
|
+
legend: K(() => [P("span", rw, [I(Ge, {
|
|
18840
18840
|
name: n.icon,
|
|
18841
18841
|
class: "text-16"
|
|
18842
18842
|
}, null, 8, ["name"]), F(" " + H(U(t)(`toolGroup.${n.key}`)), 1)])]),
|
|
18843
|
-
default: K(() => [P("p",
|
|
18843
|
+
default: K(() => [P("p", iw, H(U(t)(`toolGroupInfo.${n.key}`)), 1), P("div", aw, [(z(!0), N(k, null, mr(n.tools, (n) => (z(), N(k, { key: n }, [!U(g)(n) || Pt.value ? (z(), N(k, { key: 0 }, [I(Ce, {
|
|
18844
18844
|
class: "flex-nowrap border-t border-surface-3 mr-0 px-md pt-md",
|
|
18845
18845
|
"model-value": Et(n),
|
|
18846
18846
|
name: `tool.${n}`,
|
|
@@ -18850,9 +18850,9 @@ var IS = PS, LS = {
|
|
|
18850
18850
|
switch: "",
|
|
18851
18851
|
"onUpdate:modelValue": (e) => jt(n, e)
|
|
18852
18852
|
}, {
|
|
18853
|
-
default: K(() => [P("div",
|
|
18854
|
-
P("div",
|
|
18855
|
-
P("strong",
|
|
18853
|
+
default: K(() => [P("div", ow, [
|
|
18854
|
+
P("div", sw, [
|
|
18855
|
+
P("strong", cw, H(U(t)(`agent.tool.${n}`)), 1),
|
|
18856
18856
|
n === U(w).ShowMultipleChoice ? (z(), j(E, {
|
|
18857
18857
|
key: 0,
|
|
18858
18858
|
modifiers: "gray sm"
|
|
@@ -18860,9 +18860,9 @@ var IS = PS, LS = {
|
|
|
18860
18860
|
default: K(() => [F(H(U(t)("label.deprecated")), 1)]),
|
|
18861
18861
|
_: 1
|
|
18862
18862
|
})) : M("", !0),
|
|
18863
|
-
Ot(n) ? (z(), j(
|
|
18863
|
+
Ot(n) ? (z(), j(JS, { key: 1 })) : M("", !0)
|
|
18864
18864
|
]),
|
|
18865
|
-
P("small",
|
|
18865
|
+
P("small", lw, H(U(t)(`hint.tool.${n}`)), 1),
|
|
18866
18866
|
U(g)(n) && U(ae)(n) ? (z(), N("div", {
|
|
18867
18867
|
key: 0,
|
|
18868
18868
|
class: "flex items-center gap-4 self-start mt-4 pt-4 w-full border-t border-surface-3",
|
|
@@ -18885,7 +18885,7 @@ var IS = PS, LS = {
|
|
|
18885
18885
|
class: "text-12"
|
|
18886
18886
|
}), F(" " + H(U(t)("label.teams")), 1)]),
|
|
18887
18887
|
_: 1
|
|
18888
|
-
})], 8,
|
|
18888
|
+
})], 8, uw)) : M("", !0)
|
|
18889
18889
|
])]),
|
|
18890
18890
|
_: 2
|
|
18891
18891
|
}, 1032, [
|
|
@@ -18899,7 +18899,7 @@ var IS = PS, LS = {
|
|
|
18899
18899
|
modifiers: "details",
|
|
18900
18900
|
class: "border border-surface-3 rounded mx-md mb-md"
|
|
18901
18901
|
}, {
|
|
18902
|
-
default: K(() => [P("div",
|
|
18902
|
+
default: K(() => [P("div", dw, [
|
|
18903
18903
|
n === U(w).ShowForm ? (z(), N(k, { key: 0 }, [I(y, {
|
|
18904
18904
|
modelValue: Ee.value,
|
|
18905
18905
|
"onUpdate:modelValue": a[55] ||= (e) => Ee.value = e,
|
|
@@ -18980,17 +18980,17 @@ var IS = PS, LS = {
|
|
|
18980
18980
|
_: 2
|
|
18981
18981
|
}, 1024)) : M("", !0)], 64))), 128))])
|
|
18982
18982
|
]),
|
|
18983
|
-
"panel::embed": K(() => [P("div",
|
|
18984
|
-
mt.value.includes(U(ne).Widget) ? M("", !0) : (z(), N("p",
|
|
18983
|
+
"panel::embed": K(() => [P("div", fw, [
|
|
18984
|
+
mt.value.includes(U(ne).Widget) ? M("", !0) : (z(), N("p", pw, [I(Ge, {
|
|
18985
18985
|
name: "ri:alert-line",
|
|
18986
18986
|
class: "align-middle text-18 left-8 absolute text-warning"
|
|
18987
18987
|
}), F(" " + H(U(t)("hint.channelWidgetDisabled")), 1)])),
|
|
18988
|
-
mt.value.includes(U(ne).App) ? M("", !0) : (z(), N("p",
|
|
18988
|
+
mt.value.includes(U(ne).App) ? M("", !0) : (z(), N("p", mw, [I(Ge, {
|
|
18989
18989
|
name: "ri:alert-line",
|
|
18990
18990
|
class: "align-middle text-18 left-8 absolute text-warning"
|
|
18991
18991
|
}), F(" " + H(U(t)("hint.channelAppDisabled")), 1)])),
|
|
18992
|
-
P("div", null, [P("h3",
|
|
18993
|
-
I(
|
|
18992
|
+
P("div", null, [P("h3", hw, H(U(t)("label.chatWidget")), 1), P("p", gw, H(U(t)("hint.embedCode")), 1)]),
|
|
18993
|
+
I(aC, { source: Rt.value }, {
|
|
18994
18994
|
default: K(() => [I(Le, {
|
|
18995
18995
|
code: Rt.value,
|
|
18996
18996
|
language: "html",
|
|
@@ -18999,7 +18999,7 @@ var IS = PS, LS = {
|
|
|
18999
18999
|
}, null, 8, ["code"])]),
|
|
19000
19000
|
_: 1
|
|
19001
19001
|
}, 8, ["source"]),
|
|
19002
|
-
e.playground ? M("", !0) : (z(), N("div",
|
|
19002
|
+
e.playground ? M("", !0) : (z(), N("div", _w, [
|
|
19003
19003
|
I(y, {
|
|
19004
19004
|
modelValue: Oe.value,
|
|
19005
19005
|
"onUpdate:modelValue": a[59] ||= (e) => Oe.value = e,
|
|
@@ -19018,7 +19018,7 @@ var IS = PS, LS = {
|
|
|
19018
19018
|
modifiers: "details",
|
|
19019
19019
|
class: "border border-surface-3 rounded mb-md"
|
|
19020
19020
|
}, {
|
|
19021
|
-
default: K(() => [P("div",
|
|
19021
|
+
default: K(() => [P("div", vw, [
|
|
19022
19022
|
I(y, {
|
|
19023
19023
|
modelValue: ke.value,
|
|
19024
19024
|
"onUpdate:modelValue": a[60] ||= (e) => ke.value = e,
|
|
@@ -19077,7 +19077,7 @@ var IS = PS, LS = {
|
|
|
19077
19077
|
class: "mb-0"
|
|
19078
19078
|
}, {
|
|
19079
19079
|
default: K(() => [
|
|
19080
|
-
P("p",
|
|
19080
|
+
P("p", yw, H(U(t)("hint.externalContextSchema")), 1),
|
|
19081
19081
|
I(sS, {
|
|
19082
19082
|
modelValue: bt.value,
|
|
19083
19083
|
"onUpdate:modelValue": a[62] ||= (e) => bt.value = e,
|
|
@@ -19124,8 +19124,8 @@ var IS = PS, LS = {
|
|
|
19124
19124
|
_: 1
|
|
19125
19125
|
}, 8, ["legend"])
|
|
19126
19126
|
])),
|
|
19127
|
-
P("div", null, [P("h3",
|
|
19128
|
-
I(
|
|
19127
|
+
P("div", null, [P("h3", bw, H(U(t)("label.iframe")), 1), P("p", xw, H(U(t)("hint.embedIframe")), 1)]),
|
|
19128
|
+
I(aC, { source: zt.value }, {
|
|
19129
19129
|
default: K(() => [I(Le, {
|
|
19130
19130
|
code: zt.value,
|
|
19131
19131
|
language: "html",
|
|
@@ -19134,8 +19134,8 @@ var IS = PS, LS = {
|
|
|
19134
19134
|
}, null, 8, ["code"])]),
|
|
19135
19135
|
_: 1
|
|
19136
19136
|
}, 8, ["source"]),
|
|
19137
|
-
P("div", null, [P("h4",
|
|
19138
|
-
I(
|
|
19137
|
+
P("div", null, [P("h4", Sw, H(U(t)("label.preview")), 1), P("p", Cw, H(U(t)("hint.embedPreview")), 1)]),
|
|
19138
|
+
I(aC, { source: Lt.value }, {
|
|
19139
19139
|
actions: K(() => [I(qe, {
|
|
19140
19140
|
modifiers: "action-quiet-small",
|
|
19141
19141
|
icon: "ri:eye-line",
|
|
@@ -19143,12 +19143,12 @@ var IS = PS, LS = {
|
|
|
19143
19143
|
href: Lt.value,
|
|
19144
19144
|
target: "_blank"
|
|
19145
19145
|
}, null, 8, ["label", "href"])]),
|
|
19146
|
-
default: K(() => [P("code",
|
|
19146
|
+
default: K(() => [P("code", ww, H(Lt.value), 1)]),
|
|
19147
19147
|
_: 1
|
|
19148
19148
|
}, 8, ["source"])
|
|
19149
19149
|
])]),
|
|
19150
19150
|
"panel::security": K(() => [I(ga, { legend: U(t)("label.rateLimits") }, {
|
|
19151
|
-
default: K(() => [P("div",
|
|
19151
|
+
default: K(() => [P("div", Tw, [
|
|
19152
19152
|
I(y, {
|
|
19153
19153
|
modelValue: _e.value,
|
|
19154
19154
|
"onUpdate:modelValue": a[67] ||= (e) => _e.value = e,
|
|
@@ -19261,7 +19261,7 @@ var IS = PS, LS = {
|
|
|
19261
19261
|
}, 8, ["items"]), V(i.$slots, "default")]);
|
|
19262
19262
|
};
|
|
19263
19263
|
}
|
|
19264
|
-
}),
|
|
19264
|
+
}), Dw = ["aria-current", "title"], Ow = /* @__PURE__ */ L({
|
|
19265
19265
|
__name: "PkChatSidebarConversationItem",
|
|
19266
19266
|
props: /*@__PURE__*/ nr({
|
|
19267
19267
|
conversation: {},
|
|
@@ -19318,7 +19318,7 @@ var IS = PS, LS = {
|
|
|
19318
19318
|
"aria-current": e.active ? "page" : void 0,
|
|
19319
19319
|
title: o.value,
|
|
19320
19320
|
onClick: n[4] ||= (e) => i("select")
|
|
19321
|
-
}, H(o.value), 9,
|
|
19321
|
+
}, H(o.value), 9, Dw), I(f, rr({
|
|
19322
19322
|
placement: "bottom-end",
|
|
19323
19323
|
modifiers: "menu",
|
|
19324
19324
|
flip: !0,
|
|
@@ -19351,19 +19351,19 @@ var IS = PS, LS = {
|
|
|
19351
19351
|
}, 16)], 64))], 2);
|
|
19352
19352
|
};
|
|
19353
19353
|
}
|
|
19354
|
-
}),
|
|
19354
|
+
}), kw = ["inert", "aria-label"], Aw = { class: "pk-chat-sidebar__header" }, jw = ["title"], Mw = { class: "pk-chat-sidebar__actions" }, Nw = {
|
|
19355
19355
|
key: 0,
|
|
19356
19356
|
class: "pk-chat-sidebar__list vv-skeleton"
|
|
19357
|
-
},
|
|
19357
|
+
}, Pw = {
|
|
19358
19358
|
key: 1,
|
|
19359
19359
|
class: "pk-chat-sidebar__list"
|
|
19360
|
-
},
|
|
19360
|
+
}, Fw = {
|
|
19361
19361
|
key: 0,
|
|
19362
19362
|
class: "pk-chat-sidebar__no-results"
|
|
19363
|
-
},
|
|
19363
|
+
}, Iw = { class: "pk-chat-sidebar__group-label" }, Lw = {
|
|
19364
19364
|
key: 2,
|
|
19365
19365
|
class: "pk-chat-sidebar__footer"
|
|
19366
|
-
},
|
|
19366
|
+
}, Rw = 864e5, zw = /* @__PURE__ */ L({
|
|
19367
19367
|
__name: "PkChatSidebar",
|
|
19368
19368
|
props: /*@__PURE__*/ nr({
|
|
19369
19369
|
agentId: {},
|
|
@@ -19399,7 +19399,7 @@ var IS = PS, LS = {
|
|
|
19399
19399
|
};
|
|
19400
19400
|
for (let n of w.value) {
|
|
19401
19401
|
let r = n.lastMessageAt ? new Date(n.lastMessageAt).getTime() : 0;
|
|
19402
|
-
r >= e ? t.today.push(n) : r >= e -
|
|
19402
|
+
r >= e ? t.today.push(n) : r >= e - Rw ? t.yesterday.push(n) : r >= e - 7 * Rw ? t.last7Days.push(n) : r >= e - 30 * Rw ? t.last30Days.push(n) : t.older.push(n);
|
|
19403
19403
|
}
|
|
19404
19404
|
return Object.entries(t).filter(([, e]) => e.length > 0).map(([e, t]) => ({
|
|
19405
19405
|
key: e,
|
|
@@ -19442,7 +19442,7 @@ var IS = PS, LS = {
|
|
|
19442
19442
|
"aria-label": U(s)("label.conversations"),
|
|
19443
19443
|
onKeydown: se
|
|
19444
19444
|
}, [
|
|
19445
|
-
P("header",
|
|
19445
|
+
P("header", Aw, [
|
|
19446
19446
|
e.organizationLogo || e.organizationName ? (z(), j(en, {
|
|
19447
19447
|
key: 0,
|
|
19448
19448
|
modifiers: "surface ring",
|
|
@@ -19454,7 +19454,7 @@ var IS = PS, LS = {
|
|
|
19454
19454
|
key: 1,
|
|
19455
19455
|
class: "pk-chat-sidebar__org-name",
|
|
19456
19456
|
title: e.organizationName
|
|
19457
|
-
}, H(e.organizationName), 9,
|
|
19457
|
+
}, H(e.organizationName), 9, jw)) : M("", !0),
|
|
19458
19458
|
I(a, {
|
|
19459
19459
|
class: "ml-auto",
|
|
19460
19460
|
icon: U(i) ? "ri:close-line" : "ri:sidebar-fold-line",
|
|
@@ -19468,7 +19468,7 @@ var IS = PS, LS = {
|
|
|
19468
19468
|
"title"
|
|
19469
19469
|
])
|
|
19470
19470
|
]),
|
|
19471
|
-
P("div",
|
|
19471
|
+
P("div", Mw, [
|
|
19472
19472
|
e.agents ? (z(), j(US, {
|
|
19473
19473
|
key: 0,
|
|
19474
19474
|
agents: e.agents,
|
|
@@ -19491,13 +19491,13 @@ var IS = PS, LS = {
|
|
|
19491
19491
|
placeholder: U(s)("placeholder.search")
|
|
19492
19492
|
}, null, 8, ["modelValue", "placeholder"])
|
|
19493
19493
|
]),
|
|
19494
|
-
U(u) && U(l).length === 0 ? (z(), N("div",
|
|
19494
|
+
U(u) && U(l).length === 0 ? (z(), N("div", Nw, [(z(), N(k, null, mr(6, (e) => P("div", {
|
|
19495
19495
|
key: e,
|
|
19496
19496
|
class: "vv-skeleton__item rounded-md h-36"
|
|
19497
|
-
})), 64))])) : (z(), N("nav",
|
|
19497
|
+
})), 64))])) : (z(), N("nav", Pw, [T.value.length === 0 ? (z(), N("p", Fw, H(U(s)("message.noConversations")), 1)) : M("", !0), (z(!0), N(k, null, mr(T.value, (t) => (z(), N("div", {
|
|
19498
19498
|
key: t.key,
|
|
19499
19499
|
class: "pk-chat-sidebar__group"
|
|
19500
|
-
}, [P("span",
|
|
19500
|
+
}, [P("span", Iw, H(t.label), 1), (z(!0), N(k, null, mr(t.items, (t) => (z(), j(Ow, {
|
|
19501
19501
|
key: t.id,
|
|
19502
19502
|
"editing-title": U(_),
|
|
19503
19503
|
"onUpdate:editingTitle": n[4] ||= (e) => er(_) ? _.value = e : null,
|
|
@@ -19526,47 +19526,47 @@ var IS = PS, LS = {
|
|
|
19526
19526
|
"onDelete",
|
|
19527
19527
|
"onFiles"
|
|
19528
19528
|
]))), 128))]))), 128))])),
|
|
19529
|
-
t.$slots.footer ? (z(), N("footer",
|
|
19530
|
-
], 46,
|
|
19529
|
+
t.$slots.footer ? (z(), N("footer", Lw, [V(t.$slots, "footer")])) : M("", !0)
|
|
19530
|
+
], 46, kw)], 64);
|
|
19531
19531
|
};
|
|
19532
19532
|
}
|
|
19533
|
-
}),
|
|
19533
|
+
}), Bw = { class: "retry-animation-container" }, Vw = /*#__PURE__*/ hS(/* @__PURE__ */ L({
|
|
19534
19534
|
__name: "PkRetryCountdown",
|
|
19535
19535
|
props: {
|
|
19536
19536
|
countdown: {},
|
|
19537
19537
|
maxSeconds: {}
|
|
19538
19538
|
},
|
|
19539
19539
|
setup(e) {
|
|
19540
|
-
return (e, t) => (z(), N("div",
|
|
19540
|
+
return (e, t) => (z(), N("div", Bw, [...t[0] ||= [Zn("<div class=\"chatbot-loader\" data-v-c6cf85a3><div class=\"chat-bubble\" data-v-c6cf85a3><div class=\"typing-indicator\" data-v-c6cf85a3><span class=\"dot\" data-v-c6cf85a3></span><span class=\"dot\" data-v-c6cf85a3></span><span class=\"dot\" data-v-c6cf85a3></span></div></div></div>", 1)]]));
|
|
19541
19541
|
}
|
|
19542
|
-
}), [["__scopeId", "data-v-c6cf85a3"]]),
|
|
19542
|
+
}), [["__scopeId", "data-v-c6cf85a3"]]), Hw = { class: "flex flex-col gap-16" }, Uw = {
|
|
19543
19543
|
key: 0,
|
|
19544
19544
|
class: "grid grid-cols-2 gap-x-10 text-12 text-word-3 justify-between"
|
|
19545
|
-
},
|
|
19545
|
+
}, Ww = { class: "flex flex-col gap-y-4" }, Gw = {
|
|
19546
19546
|
key: 1,
|
|
19547
19547
|
class: "flex items-center gap-4 min-w-0"
|
|
19548
|
-
},
|
|
19548
|
+
}, Kw = { class: "truncate" }, qw = {
|
|
19549
19549
|
key: 2,
|
|
19550
19550
|
class: "flex items-center gap-4 min-w-0"
|
|
19551
|
-
},
|
|
19551
|
+
}, Jw = { class: "truncate" }, Yw = { key: 0 }, Xw = {
|
|
19552
19552
|
key: 3,
|
|
19553
19553
|
class: "flex items-center gap-4"
|
|
19554
|
-
},
|
|
19554
|
+
}, Zw = {
|
|
19555
19555
|
key: 4,
|
|
19556
19556
|
class: "flex items-center gap-4"
|
|
19557
|
-
},
|
|
19557
|
+
}, Qw = { class: "flex flex-col gap-y-4 items-end" }, $w = ["datetime"], eT = {
|
|
19558
19558
|
key: 1,
|
|
19559
19559
|
class: "flex items-center gap-4"
|
|
19560
|
-
},
|
|
19560
|
+
}, tT = { key: 0 }, nT = {
|
|
19561
19561
|
key: 2,
|
|
19562
19562
|
class: "flex items-center gap-4"
|
|
19563
|
-
},
|
|
19563
|
+
}, rT = {
|
|
19564
19564
|
key: 3,
|
|
19565
19565
|
class: "flex items-center gap-4 min-w-0"
|
|
19566
|
-
},
|
|
19566
|
+
}, iT = { class: "truncate" }, aT = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, oT = { class: "font-semibold truncate" }, sT = ["title"], cT = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, lT = { class: "font-semibold truncate" }, uT = ["title"], dT = { class: "grid grid-cols-3 gap-x-8 gap-y-2 text-10 text-word-3" }, fT = { class: "font-semibold truncate" }, pT = ["title"], mT = { class: "flex flex-col gap-16" }, hT = { class: "flex items-center bg-gray-lighten-1 text-white px-6 py-3 rounded" }, gT = { class: "tracking-widest border-r border-gray-lighten-3 pr-4" }, _T = { class: "font-bold text-12" }, vT = { class: "text-10" }, yT = { class: "font-mono text-10 text-word-2 truncate" }, bT = {
|
|
19567
19567
|
key: 0,
|
|
19568
19568
|
class: "text-10 text-word-4 whitespace-nowrap ml-auto"
|
|
19569
|
-
},
|
|
19569
|
+
}, xT = { key: 0 }, ST = { class: "border rounded-b border-surface-3" }, CT = { class: "font-bold text-10 uppercase p-8 border-b border-surface-3" }, wT = { class: "font-bold text-10 uppercase p-8 border-b border-t border-surface-3" }, TT = /* @__PURE__ */ L({
|
|
19570
19570
|
__name: "PkMessageParts",
|
|
19571
19571
|
props: { message: {} },
|
|
19572
19572
|
setup(e) {
|
|
@@ -19597,28 +19597,28 @@ var IS = PS, LS = {
|
|
|
19597
19597
|
}), o = A(() => t.message?.metadata?.transport === te.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);
|
|
19598
19598
|
return (t, l) => {
|
|
19599
19599
|
let u = Bn, d = On, f = kn, p = hr("PjResizablePanel");
|
|
19600
|
-
return z(), N("div",
|
|
19601
|
-
e.message.metadata?.model || o.value ? (z(), N("div",
|
|
19602
|
-
e.message.metadata?.model ? (z(), j(
|
|
19600
|
+
return z(), N("div", Hw, [
|
|
19601
|
+
e.message.metadata?.model || o.value ? (z(), N("div", Uw, [P("div", Ww, [
|
|
19602
|
+
e.message.metadata?.model ? (z(), j(ZS, {
|
|
19603
19603
|
key: 0,
|
|
19604
19604
|
"model-name": e.message.metadata?.model
|
|
19605
19605
|
}, null, 8, ["model-name"])) : M("", !0),
|
|
19606
|
-
e.message?.metadata?.resolvedProvider ? (z(), N("span",
|
|
19606
|
+
e.message?.metadata?.resolvedProvider ? (z(), N("span", Gw, [I(u, {
|
|
19607
19607
|
name: "ri:cloud-line",
|
|
19608
19608
|
class: "shrink-0"
|
|
19609
|
-
}), P("span",
|
|
19610
|
-
e.message?.metadata?.totalTokens ? (z(), N("span",
|
|
19609
|
+
}), P("span", Kw, [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),
|
|
19610
|
+
e.message?.metadata?.totalTokens ? (z(), N("span", qw, [I(u, {
|
|
19611
19611
|
name: "ri:ai-generate-2-line",
|
|
19612
19612
|
class: "shrink-0"
|
|
19613
|
-
}), P("span",
|
|
19614
|
-
e.message?.metadata?.zeroDataRetention ? (z(), N("span",
|
|
19613
|
+
}), P("span", Jw, [F(H(t.$n(e.message.metadata.totalTokens, "integer")) + " " + H(t.$t("label.tokens")) + " ", 1), e.message?.metadata?.cachedTokens ? (z(), N("span", Yw, " (" + H(t.$n(e.message.metadata.cachedTokens, "integer")) + " " + H(t.$t("label.cached")) + ") ", 1)) : M("", !0)])])) : M("", !0),
|
|
19614
|
+
e.message?.metadata?.zeroDataRetention ? (z(), N("span", Xw, [I(u, {
|
|
19615
19615
|
name: "ri:shield-check-line",
|
|
19616
19616
|
class: "shrink-0"
|
|
19617
|
-
}), F(" " + H(t.$t("label.noDataRetention")), 1)])) : e.message?.metadata?.disallowPromptTraining ? (z(), N("span",
|
|
19617
|
+
}), F(" " + H(t.$t("label.noDataRetention")), 1)])) : e.message?.metadata?.disallowPromptTraining ? (z(), N("span", Zw, [I(u, {
|
|
19618
19618
|
name: "ri:shield-check-line",
|
|
19619
19619
|
class: "shrink-0"
|
|
19620
19620
|
}), F(" " + H(t.$t("label.noPromptTraining")), 1)])) : M("", !0)
|
|
19621
|
-
]), P("div",
|
|
19621
|
+
]), P("div", Qw, [
|
|
19622
19622
|
e.message?.metadata?.createdAt ? (z(), N("time", {
|
|
19623
19623
|
key: 0,
|
|
19624
19624
|
datetime: new Date(e.message.metadata.createdAt).toISOString(),
|
|
@@ -19626,8 +19626,8 @@ var IS = PS, LS = {
|
|
|
19626
19626
|
}, [I(u, {
|
|
19627
19627
|
name: "ri:time-line",
|
|
19628
19628
|
class: "shrink-0"
|
|
19629
|
-
}), F(" " + H(t.$d(new Date(e.message.metadata.createdAt), "date-time")), 1)], 8,
|
|
19630
|
-
e.message?.metadata?.completedAt && e.message?.metadata?.createdAt ? (z(), N("div",
|
|
19629
|
+
}), F(" " + H(t.$d(new Date(e.message.metadata.createdAt), "date-time")), 1)], 8, $w)) : M("", !0),
|
|
19630
|
+
e.message?.metadata?.completedAt && e.message?.metadata?.createdAt ? (z(), N("div", eT, [
|
|
19631
19631
|
I(u, {
|
|
19632
19632
|
name: "ri:hourglass-line",
|
|
19633
19633
|
class: "shrink-0"
|
|
@@ -19636,16 +19636,16 @@ var IS = PS, LS = {
|
|
|
19636
19636
|
date: e.message.metadata?.createdAt,
|
|
19637
19637
|
"end-date": e.message.metadata?.completedAt
|
|
19638
19638
|
}, null, 8, ["date", "end-date"]),
|
|
19639
|
-
e.message?.metadata?.totalProviderAttemptCount && e.message.metadata.totalProviderAttemptCount > 1 ? (z(), N("span",
|
|
19639
|
+
e.message?.metadata?.totalProviderAttemptCount && e.message.metadata.totalProviderAttemptCount > 1 ? (z(), N("span", tT, " (" + H(e.message.metadata.totalProviderAttemptCount) + " attempts) ", 1)) : M("", !0)
|
|
19640
19640
|
])) : M("", !0),
|
|
19641
|
-
e.message?.metadata?.cost && parseFloat(e.message.metadata.cost) > 0 ? (z(), N("span",
|
|
19641
|
+
e.message?.metadata?.cost && parseFloat(e.message.metadata.cost) > 0 ? (z(), N("span", nT, [I(u, {
|
|
19642
19642
|
name: "ri:wallet-line",
|
|
19643
19643
|
class: "shrink-0"
|
|
19644
19644
|
}), F(" " + H(t.$n(parseFloat(e.message.metadata.cost), "currencyUSD")), 1)])) : M("", !0),
|
|
19645
|
-
o.value ? (z(), N("span",
|
|
19645
|
+
o.value ? (z(), N("span", rT, [I(u, {
|
|
19646
19646
|
name: "ri:mic-line",
|
|
19647
19647
|
class: "shrink-0"
|
|
19648
|
-
}), P("span",
|
|
19648
|
+
}), P("span", iT, H(t.$t("label.spokenExchange")), 1)])) : M("", !0)
|
|
19649
19649
|
])])) : M("", !0),
|
|
19650
19650
|
a.value || c.value || s.value ? (z(), j(f, {
|
|
19651
19651
|
key: 1,
|
|
@@ -19658,10 +19658,10 @@ var IS = PS, LS = {
|
|
|
19658
19658
|
title: t.$t("label.platformContext"),
|
|
19659
19659
|
class: "border border-surface-3 rounded"
|
|
19660
19660
|
}, {
|
|
19661
|
-
default: K(() => [P("dl",
|
|
19661
|
+
default: K(() => [P("dl", aT, [(z(!0), N(k, null, mr(e.message.metadata?.platformContext, (e, t) => (z(), N(k, { key: t }, [P("dt", oT, H(U(xe)(U(Se)(t))), 1), P("dd", {
|
|
19662
19662
|
class: "truncate font-mono col-span-2",
|
|
19663
19663
|
title: String(e)
|
|
19664
|
-
}, H(e), 9,
|
|
19664
|
+
}, H(e), 9, sT)], 64))), 128))])]),
|
|
19665
19665
|
_: 1
|
|
19666
19666
|
}, 8, ["title"])) : M("", !0),
|
|
19667
19667
|
a.value ? (z(), j(d, {
|
|
@@ -19670,10 +19670,10 @@ var IS = PS, LS = {
|
|
|
19670
19670
|
title: t.$t("label.deviceContext"),
|
|
19671
19671
|
class: "border border-surface-3 rounded"
|
|
19672
19672
|
}, {
|
|
19673
|
-
default: K(() => [P("dl",
|
|
19673
|
+
default: K(() => [P("dl", cT, [(z(!0), N(k, null, mr(a.value, (e, t) => (z(), N(k, { key: t }, [P("dt", lT, H(U(xe)(U(Se)(t))), 1), P("dd", {
|
|
19674
19674
|
class: "truncate font-mono col-span-2",
|
|
19675
19675
|
title: String(e)
|
|
19676
|
-
}, H(e), 9,
|
|
19676
|
+
}, H(e), 9, uT)], 64))), 128))])]),
|
|
19677
19677
|
_: 1
|
|
19678
19678
|
}, 8, ["title"])) : M("", !0),
|
|
19679
19679
|
s.value ? (z(), j(d, {
|
|
@@ -19682,31 +19682,31 @@ var IS = PS, LS = {
|
|
|
19682
19682
|
title: t.$t("label.externalContext"),
|
|
19683
19683
|
class: "border border-surface-3 rounded"
|
|
19684
19684
|
}, {
|
|
19685
|
-
default: K(() => [P("dl",
|
|
19685
|
+
default: K(() => [P("dl", dT, [(z(!0), N(k, null, mr(e.message.metadata?.externalContext, (e, t) => (z(), N(k, { key: t }, [P("dt", fT, H(U(xe)(U(Se)(t))), 1), P("dd", {
|
|
19686
19686
|
class: "truncate font-mono col-span-2",
|
|
19687
19687
|
title: String(e)
|
|
19688
|
-
}, H(e), 9,
|
|
19688
|
+
}, H(e), 9, pT)], 64))), 128))])]),
|
|
19689
19689
|
_: 1
|
|
19690
19690
|
}, 8, ["title"])) : M("", !0)
|
|
19691
19691
|
]),
|
|
19692
19692
|
_: 1
|
|
19693
19693
|
})) : M("", !0),
|
|
19694
|
-
P("ol",
|
|
19694
|
+
P("ol", mT, [(z(!0), N(k, null, mr(n.value, (e, a) => (z(), N("li", { key: a }, [
|
|
19695
19695
|
P("span", { class: ar(["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(_e)(e) && !U(ve)(e) }]) }, [
|
|
19696
|
-
P("div",
|
|
19696
|
+
P("div", hT, [P("span", gT, [P("strong", _T, H(a + 1), 1), P("span", vT, "/" + H(n.value.length), 1)]), (U(_e)(e) || U(ye)(e)) && U(nn)(e.state) ? (z(), j(u, {
|
|
19697
19697
|
key: 0,
|
|
19698
19698
|
name: "line-md:loading-loop",
|
|
19699
19699
|
class: "w-12 h-12 ml-4"
|
|
19700
19700
|
})) : (z(), j(u, {
|
|
19701
19701
|
key: 1,
|
|
19702
|
-
name: U(
|
|
19702
|
+
name: U(rn)(e) || "ri:question-line",
|
|
19703
19703
|
class: "w-12 h-12 ml-4"
|
|
19704
19704
|
}, null, 8, ["name"]))]),
|
|
19705
|
-
P("code",
|
|
19706
|
-
"toolCallId" in e && r(e.toolCallId) ? (z(), N("span",
|
|
19705
|
+
P("code", yT, H(U(be)(e.type)), 1),
|
|
19706
|
+
"toolCallId" in e && r(e.toolCallId) ? (z(), N("span", bT, H(U(i)(r(e.toolCallId))), 1)) : M("", !0)
|
|
19707
19707
|
], 2),
|
|
19708
|
-
U(_e)(e) ? (z(), N("div",
|
|
19709
|
-
P("div",
|
|
19708
|
+
U(_e)(e) ? (z(), N("div", xT, [P("div", ST, [
|
|
19709
|
+
P("div", CT, H(t.$t("label.input")), 1),
|
|
19710
19710
|
I(p, {
|
|
19711
19711
|
"min-height": 128,
|
|
19712
19712
|
"fit-content": ""
|
|
@@ -19718,7 +19718,7 @@ var IS = PS, LS = {
|
|
|
19718
19718
|
}, null, 8, ["code"])]),
|
|
19719
19719
|
_: 2
|
|
19720
19720
|
}, 1024),
|
|
19721
|
-
e.output && e.output !== "null" ? (z(), N(k, { key: 0 }, [P("div",
|
|
19721
|
+
e.output && e.output !== "null" ? (z(), N(k, { key: 0 }, [P("div", wT, H(t.$t("label.output")), 1), I(p, {
|
|
19722
19722
|
"min-height": 128,
|
|
19723
19723
|
"fit-content": ""
|
|
19724
19724
|
}, {
|
|
@@ -19747,22 +19747,22 @@ var IS = PS, LS = {
|
|
|
19747
19747
|
]);
|
|
19748
19748
|
};
|
|
19749
19749
|
}
|
|
19750
|
-
}),
|
|
19750
|
+
}), ET = {
|
|
19751
19751
|
key: 0,
|
|
19752
19752
|
class: "border-t border-surface-3"
|
|
19753
|
-
},
|
|
19753
|
+
}, DT = { class: "flex flex-col" }, OT = ["onClick"], kT = { class: "flex items-center gap-4 shrink-0" }, AT = {
|
|
19754
19754
|
key: 0,
|
|
19755
19755
|
class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2"
|
|
19756
|
-
},
|
|
19756
|
+
}, jT = { class: "text-10 text-word-4 bg-surface-2 rounded px-4 py-2 uppercase" }, MT = {
|
|
19757
19757
|
key: 0,
|
|
19758
19758
|
class: "border-t border-surface-3"
|
|
19759
|
-
},
|
|
19759
|
+
}, NT = {
|
|
19760
19760
|
key: 0,
|
|
19761
19761
|
class: "px-8 py-4 text-10 text-word-3 bg-surface-1 border-b border-surface-3"
|
|
19762
|
-
},
|
|
19762
|
+
}, PT = ["onClick"], FT = {
|
|
19763
19763
|
key: 0,
|
|
19764
19764
|
class: "px-8 py-6 bg-surface-1 border-t border-surface-3"
|
|
19765
|
-
},
|
|
19765
|
+
}, IT = { class: "flex justify-between items-center gap-4 min-w-0" }, LT = { class: "font-semibold text-12 truncate" }, RT = /* @__PURE__ */ L({
|
|
19766
19766
|
__name: "PkMessageDetail",
|
|
19767
19767
|
props: {
|
|
19768
19768
|
message: {},
|
|
@@ -19787,14 +19787,14 @@ var IS = PS, LS = {
|
|
|
19787
19787
|
};
|
|
19788
19788
|
return (s, c) => {
|
|
19789
19789
|
let l = Nn, u = Bn, d = On;
|
|
19790
|
-
return z(), j(
|
|
19790
|
+
return z(), j(TT, { message: e.message }, Xn({
|
|
19791
19791
|
subagent: K(({ part: t }) => [t.output?.reasoningChatId && (t.output?.subAgentId || t.input?.objective) ? (z(), j(d, {
|
|
19792
19792
|
key: 0,
|
|
19793
19793
|
title: t.output.subAgentId ? s.$t("label.subAgent") : s.$t("agent.tool.runWorker"),
|
|
19794
19794
|
modifiers: "details",
|
|
19795
19795
|
class: "border-t border-surface-3"
|
|
19796
19796
|
}, {
|
|
19797
|
-
default: K(() => [P("div",
|
|
19797
|
+
default: K(() => [P("div", IT, [P("strong", LT, H(t.output.subAgentName ?? t.input?.objective), 1), I(l, {
|
|
19798
19798
|
modifiers: "action-small",
|
|
19799
19799
|
icon: "ri:eye-line",
|
|
19800
19800
|
class: "text-10 shrink-0",
|
|
@@ -19813,7 +19813,7 @@ var IS = PS, LS = {
|
|
|
19813
19813
|
_: 2
|
|
19814
19814
|
}, [e.canReadDocuments ? {
|
|
19815
19815
|
name: "tool-search-in-knowledge-base",
|
|
19816
|
-
fn: K(({ part: d }) => [d.output?.results?.length ? (z(), N("div",
|
|
19816
|
+
fn: K(({ part: d }) => [d.output?.results?.length ? (z(), N("div", ET, [P("ul", DT, [(z(!0), N(k, null, mr(o(d.output.results), (o) => (z(), N("li", {
|
|
19817
19817
|
key: o.document.id,
|
|
19818
19818
|
class: "border-b border-surface-3 last:border-b-0"
|
|
19819
19819
|
}, [P("button", {
|
|
@@ -19829,9 +19829,9 @@ var IS = PS, LS = {
|
|
|
19829
19829
|
"name",
|
|
19830
19830
|
"url",
|
|
19831
19831
|
"filename"
|
|
19832
|
-
]), P("div",
|
|
19833
|
-
o.chunks.length > 1 ? (z(), N("span",
|
|
19834
|
-
P("span",
|
|
19832
|
+
]), P("div", kT, [
|
|
19833
|
+
o.chunks.length > 1 ? (z(), N("span", AT, H(o.chunks.length), 1)) : M("", !0),
|
|
19834
|
+
P("span", jT, H(o.document.language), 1),
|
|
19835
19835
|
I(l, {
|
|
19836
19836
|
modifiers: "action-quiet-small",
|
|
19837
19837
|
icon: "ri:eye-line",
|
|
@@ -19850,7 +19850,7 @@ var IS = PS, LS = {
|
|
|
19850
19850
|
name: t.has(o.document.id) ? "ri:arrow-up-s-line" : "ri:arrow-down-s-line",
|
|
19851
19851
|
class: "text-16 text-word-3"
|
|
19852
19852
|
}, null, 8, ["name"])
|
|
19853
|
-
])], 8,
|
|
19853
|
+
])], 8, OT), t.has(o.document.id) ? (z(), N("div", MT, [o.document.source.description ? (z(), N("div", NT, H(o.document.source.description), 1)) : M("", !0), (z(!0), N(k, null, mr(o.chunks, (e) => (z(), N("div", {
|
|
19854
19854
|
key: e.id,
|
|
19855
19855
|
class: "border-b border-surface-3 last:border-b-0"
|
|
19856
19856
|
}, [P("button", {
|
|
@@ -19866,7 +19866,7 @@ var IS = PS, LS = {
|
|
|
19866
19866
|
"similarity",
|
|
19867
19867
|
"max-similarity",
|
|
19868
19868
|
"expanded"
|
|
19869
|
-
])], 8,
|
|
19869
|
+
])], 8, PT), n.has(e.id) ? (z(), N("div", FT, [I(fe, {
|
|
19870
19870
|
markdown: e.content,
|
|
19871
19871
|
class: "wysiwyg text-10"
|
|
19872
19872
|
}, null, 8, ["markdown"])])) : M("", !0)]))), 128))])) : M("", !0)]))), 128))])])) : M("", !0)]),
|
|
@@ -19874,22 +19874,22 @@ var IS = PS, LS = {
|
|
|
19874
19874
|
} : void 0]), 1032, ["message"]);
|
|
19875
19875
|
};
|
|
19876
19876
|
}
|
|
19877
|
-
}),
|
|
19877
|
+
}), zT = { class: "flex flex-col h-full bg-surface rounded-xl" }, BT = { class: "sticky z-1 top-0 bg-surface-1 flex items-center justify-between gap-sm p-sm border-b border-surface-4" }, VT = { class: "flex items-center gap-sm min-w-0" }, HT = ["title"], UT = {
|
|
19878
19878
|
key: 1,
|
|
19879
19879
|
class: "text-14 font-bold"
|
|
19880
|
-
},
|
|
19880
|
+
}, WT = { class: "flex-1 flex flex-col gap-md p-md overflow-y-auto min-h-0" }, GT = { class: "flex flex-col" }, KT = { class: "text-12 font-medium text-word-2 mb-xs block" }, qT = ["placeholder", "disabled"], JT = { class: "flex justify-end mt-xs" }, YT = {
|
|
19881
19881
|
key: 0,
|
|
19882
19882
|
class: "flex items-start gap-sm p-md bg-danger-lighten-4 border border-danger rounded-xl text-danger-darken-2"
|
|
19883
|
-
},
|
|
19883
|
+
}, XT = { class: "font-bold" }, ZT = { class: "text-12" }, QT = {
|
|
19884
19884
|
key: 1,
|
|
19885
19885
|
class: "flex items-center gap-sm p-md bg-surface-1 border border-surface-3 rounded-xl text-word-2"
|
|
19886
|
-
},
|
|
19886
|
+
}, $T = {
|
|
19887
19887
|
key: 2,
|
|
19888
19888
|
class: "flex flex-col gap-sm p-md bg-surface-1 border border-surface-3 rounded-xl"
|
|
19889
|
-
},
|
|
19889
|
+
}, eE = { class: "flex items-center gap-xs pb-xs border-b border-surface-3" }, tE = { class: "text-12 font-medium text-word-2" }, nE = { class: "flex items-center gap-xs ml-auto" }, rE = {
|
|
19890
19890
|
key: 0,
|
|
19891
19891
|
class: "py-sm text-word-2 leading-normal"
|
|
19892
|
-
},
|
|
19892
|
+
}, iE = /* @__PURE__ */ L({
|
|
19893
19893
|
__name: "PkReasoningChat",
|
|
19894
19894
|
props: {
|
|
19895
19895
|
baseUrl: {},
|
|
@@ -19925,7 +19925,7 @@ var IS = PS, LS = {
|
|
|
19925
19925
|
}), p = A(() => f.value?.parts.find((e) => e.type === "text")?.text || "");
|
|
19926
19926
|
return (t, r) => {
|
|
19927
19927
|
let m = Nn, h = Bn;
|
|
19928
|
-
return z(), N("div",
|
|
19928
|
+
return z(), N("div", zT, [P("div", BT, [P("div", VT, [I(en, {
|
|
19929
19929
|
modifiers: "surface ring shrink-0",
|
|
19930
19930
|
class: "w-24 h-24",
|
|
19931
19931
|
name: e.name
|
|
@@ -19933,16 +19933,16 @@ var IS = PS, LS = {
|
|
|
19933
19933
|
key: 0,
|
|
19934
19934
|
class: "text-14 font-bold truncate",
|
|
19935
19935
|
title: e.name
|
|
19936
|
-
}, H(e.name), 9,
|
|
19936
|
+
}, H(e.name), 9, HT)) : (z(), N("strong", UT, H(U(n)("label.reasoningAgentTester")), 1))]), d.value ? (z(), j(m, {
|
|
19937
19937
|
key: 0,
|
|
19938
19938
|
icon: "ri:reset-right-line",
|
|
19939
19939
|
modifiers: "action-quiet",
|
|
19940
19940
|
title: U(n)("action.clear"),
|
|
19941
19941
|
disabled: u.value,
|
|
19942
19942
|
onClick: l
|
|
19943
|
-
}, null, 8, ["title", "disabled"])) : M("", !0)]), P("div",
|
|
19944
|
-
P("div",
|
|
19945
|
-
P("label",
|
|
19943
|
+
}, null, 8, ["title", "disabled"])) : M("", !0)]), P("div", WT, [
|
|
19944
|
+
P("div", GT, [
|
|
19945
|
+
P("label", KT, H(U(n)("label.question")), 1),
|
|
19946
19946
|
wr(P("textarea", {
|
|
19947
19947
|
"onUpdate:modelValue": r[0] ||= (e) => a.value = e,
|
|
19948
19948
|
placeholder: U(n)("placeholder.enterYourQuestion"),
|
|
@@ -19950,8 +19950,8 @@ var IS = PS, LS = {
|
|
|
19950
19950
|
class: "w-full p-sm border border-surface-3 rounded-xl bg-surface-1 text-word-1 font-inherit text-14 resize-y min-h-60 focus:outline-none focus:border-brand disabled:opacity-60 disabled:cursor-not-allowed",
|
|
19951
19951
|
rows: "3",
|
|
19952
19952
|
onKeydown: c
|
|
19953
|
-
}, null, 40,
|
|
19954
|
-
P("div",
|
|
19953
|
+
}, null, 40, qT), [[Cr, a.value]]),
|
|
19954
|
+
P("div", JT, [I(m, {
|
|
19955
19955
|
label: U(n)("action.submit"),
|
|
19956
19956
|
loading: u.value,
|
|
19957
19957
|
disabled: !a.value.trim() || u.value,
|
|
@@ -19962,21 +19962,21 @@ var IS = PS, LS = {
|
|
|
19962
19962
|
"disabled"
|
|
19963
19963
|
])])
|
|
19964
19964
|
]),
|
|
19965
|
-
o.value.error ? (z(), N("div",
|
|
19965
|
+
o.value.error ? (z(), N("div", YT, [I(h, {
|
|
19966
19966
|
name: "ri:error-warning-line",
|
|
19967
19967
|
class: "w-16 h-16 shrink-0"
|
|
19968
|
-
}), P("div", null, [P("div",
|
|
19969
|
-
u.value && !f.value ? (z(), N("div",
|
|
19968
|
+
}), P("div", null, [P("div", XT, H(U(n)("label.error")), 1), P("div", ZT, H(o.value.error.message), 1)])])) : M("", !0),
|
|
19969
|
+
u.value && !f.value ? (z(), N("div", QT, [I(h, {
|
|
19970
19970
|
name: "line-md:loading-loop",
|
|
19971
19971
|
class: "w-20 h-20"
|
|
19972
19972
|
}), P("span", null, H(U(n)("label.processing")), 1)])) : M("", !0),
|
|
19973
|
-
f.value ? (z(), N("div",
|
|
19973
|
+
f.value ? (z(), N("div", $T, [P("div", eE, [
|
|
19974
19974
|
I(h, {
|
|
19975
19975
|
name: "ri:robot-2-line",
|
|
19976
19976
|
class: "w-16 h-16"
|
|
19977
19977
|
}),
|
|
19978
|
-
P("span",
|
|
19979
|
-
P("div",
|
|
19978
|
+
P("span", tE, H(U(n)("label.answer")), 1),
|
|
19979
|
+
P("div", nE, [u.value ? (z(), j(h, {
|
|
19980
19980
|
key: 0,
|
|
19981
19981
|
name: "line-md:loading-loop",
|
|
19982
19982
|
class: "w-14 h-14"
|
|
@@ -19987,7 +19987,7 @@ var IS = PS, LS = {
|
|
|
19987
19987
|
modifiers: "action-quiet-small",
|
|
19988
19988
|
onClick: r[1] ||= Er((e) => i("show-info", f.value), ["stop"])
|
|
19989
19989
|
}, null, 8, ["title"])) : M("", !0)])
|
|
19990
|
-
]), p.value ? (z(), N("div",
|
|
19990
|
+
]), p.value ? (z(), N("div", rE, [I(fe, {
|
|
19991
19991
|
markdown: p.value,
|
|
19992
19992
|
loading: u.value,
|
|
19993
19993
|
class: "wysiwyg text-14"
|
|
@@ -19995,7 +19995,7 @@ var IS = PS, LS = {
|
|
|
19995
19995
|
])]);
|
|
19996
19996
|
};
|
|
19997
19997
|
}
|
|
19998
|
-
}),
|
|
19998
|
+
}), aE = { class: "welcome-popup__text" }, oE = ["aria-label"], sE = 100, cE = /* @__PURE__ */ L({
|
|
19999
19999
|
__name: "PkWelcomePopup",
|
|
20000
20000
|
props: {
|
|
20001
20001
|
agentId: {},
|
|
@@ -20010,7 +20010,7 @@ var IS = PS, LS = {
|
|
|
20010
20010
|
c.value = [], s.value = !1;
|
|
20011
20011
|
let t = e.split(/(\s+)/), n = 0;
|
|
20012
20012
|
function r() {
|
|
20013
|
-
n < t.length ? (c.value.push(t[n]), n++, l = setTimeout(r,
|
|
20013
|
+
n < t.length ? (c.value.push(t[n]), n++, l = setTimeout(r, sE)) : s.value = !0;
|
|
20014
20014
|
}
|
|
20015
20015
|
r();
|
|
20016
20016
|
}
|
|
@@ -20034,7 +20034,7 @@ var IS = PS, LS = {
|
|
|
20034
20034
|
key: 0,
|
|
20035
20035
|
class: "welcome-popup",
|
|
20036
20036
|
onClick: Er(m, ["stop"])
|
|
20037
|
-
}, [P("p",
|
|
20037
|
+
}, [P("p", aE, [(z(!0), N(k, null, mr(c.value, (e, t) => (z(), N("span", {
|
|
20038
20038
|
key: t,
|
|
20039
20039
|
class: "welcome-popup__word"
|
|
20040
20040
|
}, H(e), 1))), 128))]), I(Kn, null, {
|
|
@@ -20050,22 +20050,22 @@ var IS = PS, LS = {
|
|
|
20050
20050
|
width: "14",
|
|
20051
20051
|
height: "14",
|
|
20052
20052
|
fill: "currentColor"
|
|
20053
|
-
}, [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,
|
|
20053
|
+
}, [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, oE)) : M("", !0)]),
|
|
20054
20054
|
_: 1
|
|
20055
20055
|
})])) : M("", !0)]),
|
|
20056
20056
|
_: 1
|
|
20057
20057
|
}));
|
|
20058
20058
|
}
|
|
20059
|
-
}),
|
|
20059
|
+
}), lE = { class: "pk-pagination mt-auto grid grid-cols-3 gap-md pt-24" }, uE = { class: "flex items-center" }, dE = { class: "text-12" }, fE = ["disabled"], pE = ["value"], mE = {
|
|
20060
20060
|
key: 1,
|
|
20061
20061
|
class: "ml-8 text-12 font-semibold"
|
|
20062
|
-
},
|
|
20062
|
+
}, hE = { class: "flex justify-center items-center" }, gE = {
|
|
20063
20063
|
class: "rounded border border-surface-3 px-14 py-4 text-center text-12 font-bold",
|
|
20064
20064
|
type: "button"
|
|
20065
|
-
},
|
|
20065
|
+
}, _E = {
|
|
20066
20066
|
key: 0,
|
|
20067
20067
|
class: "ml-6 text-12 whitespace-nowrap"
|
|
20068
|
-
},
|
|
20068
|
+
}, vE = { class: "flex text-12 justify-end items-center whitespace-nowrap" }, yE = /* @__PURE__ */ L({
|
|
20069
20069
|
__name: "PkPagination",
|
|
20070
20070
|
props: {
|
|
20071
20071
|
page: {
|
|
@@ -20097,8 +20097,8 @@ var IS = PS, LS = {
|
|
|
20097
20097
|
});
|
|
20098
20098
|
return (t, r) => {
|
|
20099
20099
|
let l = Nn, u = Pn;
|
|
20100
|
-
return z(), N("div",
|
|
20101
|
-
P("div",
|
|
20100
|
+
return z(), N("div", lE, [
|
|
20101
|
+
P("div", uE, [P("label", dE, H(U(n)("label.itemsPerPage")) + ":", 1), e.limitSteps ? wr((z(), N("select", {
|
|
20102
20102
|
key: 0,
|
|
20103
20103
|
"onUpdate:modelValue": r[0] ||= (e) => c.value = e,
|
|
20104
20104
|
disabled: e.disabled,
|
|
@@ -20106,8 +20106,8 @@ var IS = PS, LS = {
|
|
|
20106
20106
|
}, [(z(!0), N(k, null, mr(e.limitSteps, (e) => (z(), N("option", {
|
|
20107
20107
|
key: e,
|
|
20108
20108
|
value: e
|
|
20109
|
-
}, H(e), 9,
|
|
20110
|
-
P("div",
|
|
20109
|
+
}, H(e), 9, pE))), 128))], 8, fE)), [[Sr, c.value]]) : (z(), N("span", mE, H(e.limit), 1))]),
|
|
20110
|
+
P("div", hE, [I(u, { class: "flex-nowrap" }, {
|
|
20111
20111
|
default: K(() => [
|
|
20112
20112
|
I(l, {
|
|
20113
20113
|
title: U(n)("action.prev"),
|
|
@@ -20116,7 +20116,7 @@ var IS = PS, LS = {
|
|
|
20116
20116
|
modifiers: "action-quiet",
|
|
20117
20117
|
onClick: r[1] ||= Er((t) => i("update:page", e.page - 1), ["stop"])
|
|
20118
20118
|
}, null, 8, ["title", "disabled"]),
|
|
20119
|
-
P("button",
|
|
20119
|
+
P("button", gE, H(e.page), 1),
|
|
20120
20120
|
I(l, {
|
|
20121
20121
|
title: U(n)("action.next"),
|
|
20122
20122
|
disabled: s.value,
|
|
@@ -20126,96 +20126,96 @@ var IS = PS, LS = {
|
|
|
20126
20126
|
}, null, 8, ["title", "disabled"])
|
|
20127
20127
|
]),
|
|
20128
20128
|
_: 1
|
|
20129
|
-
}), a.value ? (z(), N("small",
|
|
20130
|
-
P("div",
|
|
20129
|
+
}), a.value ? (z(), N("small", _E, H(U(n)("label.totalPages", { total: a.value })), 1)) : M("", !0)]),
|
|
20130
|
+
P("div", vE, H(U(n)("label.totalItemsCount", { total: e.total })), 1)
|
|
20131
20131
|
]);
|
|
20132
20132
|
};
|
|
20133
20133
|
}
|
|
20134
|
-
}),
|
|
20134
|
+
}), bE = { class: "flex flex-col items-center justify-center w-full text-md p-md leading-normal" }, xE = { class: "mb-4" }, SE = { class: "font-bold" }, CE = { class: "text-smaller text-word-3" }, wE = /* @__PURE__ */ L({
|
|
20135
20135
|
__name: "PkTableEmpty",
|
|
20136
20136
|
setup(e) {
|
|
20137
20137
|
let { t } = Dr({ useScope: "global" });
|
|
20138
20138
|
return (e, n) => {
|
|
20139
20139
|
let r = Bn;
|
|
20140
|
-
return z(), N("div",
|
|
20141
|
-
P("div",
|
|
20140
|
+
return z(), N("div", bE, [
|
|
20141
|
+
P("div", xE, [I(r, {
|
|
20142
20142
|
name: "ri:emotion-sad-line",
|
|
20143
20143
|
class: "text-32 text-word-2"
|
|
20144
20144
|
})]),
|
|
20145
|
-
P("strong",
|
|
20146
|
-
P("div",
|
|
20145
|
+
P("strong", SE, H(U(t)("message.warning")), 1),
|
|
20146
|
+
P("div", CE, H(U(t)("message.empty")), 1)
|
|
20147
20147
|
]);
|
|
20148
20148
|
};
|
|
20149
20149
|
}
|
|
20150
|
-
}),
|
|
20150
|
+
}), TE = { class: "flex flex-col items-center justify-center w-full text-md p-md leading-normal" }, EE = { class: "mb-4" }, DE = { class: "font-bold" }, OE = { class: "text-smaller text-word-3" }, kE = /* @__PURE__ */ L({
|
|
20151
20151
|
__name: "PkTableError",
|
|
20152
20152
|
setup(e) {
|
|
20153
20153
|
let { t } = Dr({ useScope: "global" });
|
|
20154
20154
|
return (e, n) => {
|
|
20155
20155
|
let r = Bn;
|
|
20156
|
-
return z(), N("div",
|
|
20157
|
-
P("div",
|
|
20156
|
+
return z(), N("div", TE, [
|
|
20157
|
+
P("div", EE, [I(r, {
|
|
20158
20158
|
name: "ri:alert-line",
|
|
20159
20159
|
class: "text-32 text-word-2"
|
|
20160
20160
|
})]),
|
|
20161
|
-
P("strong",
|
|
20162
|
-
P("div",
|
|
20161
|
+
P("strong", DE, H(U(t)("message.warning")), 1),
|
|
20162
|
+
P("div", OE, H(U(t)("message.readError")), 1)
|
|
20163
20163
|
]);
|
|
20164
20164
|
};
|
|
20165
20165
|
}
|
|
20166
20166
|
});
|
|
20167
20167
|
//#endregion
|
|
20168
20168
|
//#region ../../node_modules/.pnpm/ts-util-is@2.1.0/node_modules/ts-util-is/dist/src/index.js
|
|
20169
|
-
function
|
|
20169
|
+
function AE(e) {
|
|
20170
20170
|
return Array.isArray(e);
|
|
20171
20171
|
}
|
|
20172
|
-
function
|
|
20172
|
+
function jE(e) {
|
|
20173
20173
|
return e !== void 0;
|
|
20174
20174
|
}
|
|
20175
|
-
function
|
|
20175
|
+
function ME(e) {
|
|
20176
20176
|
return e === null;
|
|
20177
20177
|
}
|
|
20178
|
-
function
|
|
20178
|
+
function NE(e) {
|
|
20179
20179
|
return typeof e == "object";
|
|
20180
20180
|
}
|
|
20181
|
-
function
|
|
20181
|
+
function PE(e) {
|
|
20182
20182
|
return typeof e == "string";
|
|
20183
20183
|
}
|
|
20184
|
-
function
|
|
20184
|
+
function FE(e) {
|
|
20185
20185
|
return e === void 0;
|
|
20186
20186
|
}
|
|
20187
20187
|
//#endregion
|
|
20188
20188
|
//#region ../../node_modules/.pnpm/ts-dot-prop@2.1.4/node_modules/ts-dot-prop/dist/index.js
|
|
20189
|
-
var
|
|
20189
|
+
var IE = /^[0-9]+$/, LE = [
|
|
20190
20190
|
"__proto__",
|
|
20191
20191
|
"prototype",
|
|
20192
20192
|
"constructor"
|
|
20193
20193
|
];
|
|
20194
|
-
function
|
|
20195
|
-
let r =
|
|
20196
|
-
if (!
|
|
20197
|
-
let i =
|
|
20194
|
+
function RE(e, t, n) {
|
|
20195
|
+
let r = jE(n) ? n : void 0;
|
|
20196
|
+
if (!NE(e) || !PE(t)) return r;
|
|
20197
|
+
let i = zE(t);
|
|
20198
20198
|
if (i.length !== 0) {
|
|
20199
20199
|
for (let t of i) {
|
|
20200
20200
|
if (t === "*") continue;
|
|
20201
20201
|
let n = function(e) {
|
|
20202
|
-
return e.map((e) =>
|
|
20202
|
+
return e.map((e) => FE(e) || ME(e) ? e : AE(e) ? n(e) : e[t]);
|
|
20203
20203
|
};
|
|
20204
|
-
if (e =
|
|
20204
|
+
if (e = AE(e) && !IE.test(t) ? n(e) : e[t], FE(e) || ME(e)) break;
|
|
20205
20205
|
}
|
|
20206
|
-
return
|
|
20206
|
+
return FE(e) ? r : e;
|
|
20207
20207
|
}
|
|
20208
20208
|
}
|
|
20209
|
-
function
|
|
20209
|
+
function zE(e) {
|
|
20210
20210
|
let t = e.split(/[.]|(?:\[(\d|\*)\])/).filter((e) => !!e);
|
|
20211
|
-
return t.some((e) =>
|
|
20211
|
+
return t.some((e) => LE.indexOf(e) !== -1) ? [] : t;
|
|
20212
20212
|
}
|
|
20213
20213
|
//#endregion
|
|
20214
20214
|
//#region ../../packages/components/src/table/PkTableSortable.vue?vue&type=script&setup=true&lang.ts
|
|
20215
|
-
var
|
|
20215
|
+
var BE = { class: "pk-table-sortable" }, VE = { key: 0 }, HE = {
|
|
20216
20216
|
key: 0,
|
|
20217
20217
|
class: "truncate"
|
|
20218
|
-
},
|
|
20218
|
+
}, UE = ["onClick"], WE = { key: 1 }, GE = ["colspan"], KE = { key: 2 }, qE = ["colspan"], JE = { key: 1 }, YE = { key: 2 }, XE = /* @__PURE__ */ L({
|
|
20219
20219
|
__name: "PkTableSortable",
|
|
20220
20220
|
props: {
|
|
20221
20221
|
columns: {
|
|
@@ -20339,8 +20339,8 @@ var zE = { class: "pk-table-sortable" }, BE = { key: 0 }, VE = {
|
|
|
20339
20339
|
r.page || i("update:page", s.value), r.limit || i("update:limit", o.value);
|
|
20340
20340
|
}), (t, r) => {
|
|
20341
20341
|
let i = Bn;
|
|
20342
|
-
return z(), N("div",
|
|
20343
|
-
e.hideHead ? M("", !0) : (z(), N("thead",
|
|
20342
|
+
return z(), N("div", BE, [P("div", { class: ar([e.classWrapper, "pk-table-sortable__wrapper"]) }, [P("table", { class: ar(["vv-table", e.classTable]) }, [
|
|
20343
|
+
e.hideHead ? M("", !0) : (z(), N("thead", VE, [P("tr", null, [(z(!0), N(k, null, mr(d.value, (e) => (z(), N("th", rr({ key: e.name }, { ref_for: !0 }, { class: [
|
|
20344
20344
|
e.class,
|
|
20345
20345
|
e.classTh,
|
|
20346
20346
|
{ selected: U(c) === e.name }
|
|
@@ -20348,7 +20348,7 @@ var zE = { class: "pk-table-sortable" }, BE = { key: 0 }, VE = {
|
|
|
20348
20348
|
key: 1,
|
|
20349
20349
|
type: "button",
|
|
20350
20350
|
onClick: (t) => h(e.name)
|
|
20351
|
-
}, [V(t.$slots, `col::header::${e.name}`, {}, () => [F(H(e.label), 1)]), I(i, rr({ 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,
|
|
20351
|
+
}, [V(t.$slots, `col::header::${e.name}`, {}, () => [F(H(e.label), 1)]), I(i, rr({ 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, UE)) : (z(), N("div", HE, [V(t.$slots, `col::header::${e.name}`, {}, () => [F(H(e.label), 1)])]))], 16))), 128))])])),
|
|
20352
20352
|
I(qn, {
|
|
20353
20353
|
tag: "tbody",
|
|
20354
20354
|
name: e.transitionName
|
|
@@ -20360,7 +20360,7 @@ var zE = { class: "pk-table-sortable" }, BE = { key: 0 }, VE = {
|
|
|
20360
20360
|
})), () => [e.isLoading ? V(t.$slots, "loading", {}, () => [(z(!0), N(k, null, mr(o.value, (e) => (z(), N("tr", { key: e }, [(z(!0), N(k, null, mr(d.value, ({ name: n, wrapperClass: i }) => (z(), N("td", { key: n }, [V(t.$slots, `skeleton::${n}`, rr({ ref_for: !0 }, {
|
|
20361
20361
|
index: e,
|
|
20362
20362
|
wrapperClass: i
|
|
20363
|
-
}), () => [P("div", { class: ar(["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",
|
|
20363
|
+
}), () => [P("div", { class: ar(["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", KE, [P("td", { colspan: e.columns.length }, [V(t.$slots, "error", {}, () => [I(kE)])], 8, qE)])) : M("", !0) : (z(), N(k, { key: 1 }, [e.data?.length ? (z(!0), N(k, { key: 0 }, mr(e.data, (e, r) => (z(), N("tr", { key: r }, [(z(!0), N(k, null, mr(d.value, ({ name: i, field: a, wrapperClass: o, render: s, ...c }) => (z(), N("td", {
|
|
20364
20364
|
key: i,
|
|
20365
20365
|
class: ar([c.class, c.classTd])
|
|
20366
20366
|
}, [s ? (z(), j(gr(s(e, r)), { key: 0 })) : U(n)[`col::${i}`] ? V(t.$slots, `col::${i}`, rr({ ref_for: !0 }, {
|
|
@@ -20376,11 +20376,11 @@ var zE = { class: "pk-table-sortable" }, BE = { key: 0 }, VE = {
|
|
|
20376
20376
|
wrapperClass: o,
|
|
20377
20377
|
index: r,
|
|
20378
20378
|
value: e[i]
|
|
20379
|
-
}), () => [P("div", { class: ar(["truncate", o]) }, H(U(
|
|
20379
|
+
}), () => [P("div", { class: ar(["truncate", o]) }, H(U(RE)(e, a ?? i)), 3)], void 0, 2)], 2))), 128))]))), 128)) : (z(), N("tr", WE, [P("td", { colspan: e.columns.length }, [V(t.$slots, "empty", {}, () => [I(wE)])], 8, GE)]))], 64))])]),
|
|
20380
20380
|
_: 3
|
|
20381
20381
|
}, 8, ["name"]),
|
|
20382
|
-
U(n).tfoot ? (z(), N("tfoot",
|
|
20383
|
-
U(n).caption ? (z(), N("caption",
|
|
20382
|
+
U(n).tfoot ? (z(), N("tfoot", JE, [V(t.$slots, "tfoot")])) : M("", !0),
|
|
20383
|
+
U(n).caption ? (z(), N("caption", YE, [V(t.$slots, "caption")])) : M("", !0)
|
|
20384
20384
|
], 2)], 2), V(t.$slots, "navigation", or(Qn({
|
|
20385
20385
|
hide: e.hideNavigation,
|
|
20386
20386
|
prevDisabled: m.value,
|
|
@@ -20389,7 +20389,7 @@ var zE = { class: "pk-table-sortable" }, BE = { key: 0 }, VE = {
|
|
|
20389
20389
|
next: g,
|
|
20390
20390
|
total: u.value,
|
|
20391
20391
|
page: s.value
|
|
20392
|
-
})), () => [e.hideNavigation ? M("", !0) : (z(), j(
|
|
20392
|
+
})), () => [e.hideNavigation ? M("", !0) : (z(), j(yE, {
|
|
20393
20393
|
key: 0,
|
|
20394
20394
|
page: s.value,
|
|
20395
20395
|
total: a.value ?? 0,
|
|
@@ -20411,6 +20411,6 @@ var zE = { class: "pk-table-sortable" }, BE = { key: 0 }, VE = {
|
|
|
20411
20411
|
}
|
|
20412
20412
|
});
|
|
20413
20413
|
//#endregion
|
|
20414
|
-
export { US as PkAgentSelectorInline,
|
|
20414
|
+
export { US as PkAgentSelectorInline, Ew as PkAgentSettingsPanel, ke as PkAuroraCanvas, en as PkAvatar, qr as PkBadge, ln as PkChatButton, zw as PkChatSidebar, Ow as PkChatSidebarConversationItem, pn as PkChatbot, ue as PkChatbotAuth, dn as PkChatbotEmptyState, de as PkChatbotError, tn as PkChatbotFeedbackForm, Zt as PkChatbotFilePreview, un as PkChatbotInput, Ce as PkChatbotMessages, sn as PkChatbotStepPayload, cn as PkChatbotStepToolDetail, on as PkChatbotSteps, Me as PkChatbotViewChat, Oe as PkChatbotViewConversations, fn as PkChatbotViewProfile, sS as PkCheckboxField, mn as PkChunkPreview, Le as PkCode, aC as PkCopyBlock, hn as PkDocumentHeader, si as PkEditorAgentType, n as PkEditorCheckboxButtons, pa as PkEditorCode, yi as PkEditorDocumentType, Pa as PkEditorJsonSchema, Ix as PkEditorMarkdown, Lx as PkEditorMedia, Oi as PkEditorNotificationType, Wx as PkEditorPrompt, t as PkEditorRadioButtons, Qx as PkEditorRepeater, rS as PkEditorWyswyg, ga as PkFieldset, cS as PkInfobox, dC as PkInputColor, uC as PkInputRange, fS as PkIntegrationProvider, ZS as PkLanguageModel, QS as PkLanguageModelCombobox, Jt as PkLazyImg, mS as PkLightbox, vS as PkLoader, bS as PkMedia, RT as PkMessageDetail, TT as PkMessageParts, kS as PkOfflineScreen, yE as PkPagination, IS as PkPwaNotices, iE as PkReasoningChat, eC as PkReasoningSettings, Ie as PkRelativeTime, Vw as PkRetryCountdown, Oa as PkSchemaField, RS as PkSkeleton, fe as PkStreamingMarkdown, an as PkStreamingMarkdownAutoscroll, Qt as PkSvgViewer, wE as PkTableEmpty, kE as PkTableError, XE as PkTableSortable, JS as PkToolApprovalBadge, Re as PkToolShowArtifact, Sn as PkToolShowCalendarEvent, Cn as PkToolShowComparison, xn as PkToolShowContactForm, _n as PkToolShowEmail, r as PkToolShowForm, En as PkToolShowImageGallery, wn as PkToolShowLocation, vn as PkToolShowMessage, bn as PkToolShowProductList, Tn as PkToolShowQrCode, gn as PkToolShowSources, Dn as PkToolShowSuggestedReply, yn as PkToolShowWebPages, $t as PkUrl, je as PkVoiceOrb, Ae as PkVoiceSession, tC as PkWebSearchSettings, cE as PkWelcomePopup };
|
|
20415
20415
|
|
|
20416
20416
|
//# sourceMappingURL=index.js.map
|