@vc-shell/framework 2.4.0-pr304.cdae0d6 → 2.4.0-pr306.6ac3fa2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ai-agent/index.js +2 -2
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-bvyt-Rtf.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-B14Pt_5D.js} +61 -57
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-bvyt-Rtf.js.map → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-B14Pt_5D.js.map} +1 -1
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-DSn7nAmv.js → VcScheduler.vue_vue_type_script_setup_true_lang-CxJ7HTEq.js} +5399 -5385
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-CxJ7HTEq.js.map +1 -0
- package/dist/chunks/{index-DYMV0pFy.js → index-BLL7pyCO.js} +1 -1
- package/dist/chunks/{index-DYMV0pFy.js.map → index-BLL7pyCO.js.map} +1 -1
- package/dist/core/composables/usePopup/index.d.ts.map +1 -1
- package/dist/core/plugins/ai-agent/components/VcAiAgentPanel.vue.d.ts +4 -1
- package/dist/core/plugins/ai-agent/components/VcAiAgentPanel.vue.d.ts.map +1 -1
- package/dist/framework.js +11 -11
- package/dist/locales/de.js +0 -1
- package/dist/locales/en.js +0 -1
- package/dist/locales/en.json +0 -1
- package/dist/locales/types.d.ts +0 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts +0 -4
- package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/MenuSidebar.vue.d.ts +1 -0
- package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/MenuSidebar.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/_internal/layouts/MobileLayout.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-scheduler/_internal/month/MonthMorePopover.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts +1 -0
- package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +4 -4
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-DSn7nAmv.js.map +0 -1
package/dist/ai-agent/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a, u as e } from "../chunks/index-
|
|
2
|
-
import { A as s, D as T, E as n, H as o, _ as D, c as S, u as i } from "../chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { a, u as e } from "../chunks/index-BLL7pyCO.js";
|
|
2
|
+
import { A as s, D as T, E as n, H as o, _ as D, c as S, u as i } from "../chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-B14Pt_5D.js";
|
|
3
3
|
import "../chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js";
|
|
4
4
|
export {
|
|
5
5
|
s as AI_AGENT_URL_ENV_KEY,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as D, computed as b, shallowRef as Ge, watch as q, getCurrentInstance as ee, inject as N, isRef as Ve, provide as Pe, defineComponent as H, openBlock as B, createElementBlock as S, createElementVNode as A, createCommentVNode as z, createStaticVNode as Ke, Fragment as Ae, renderList as qe, toDisplayString as K, createVNode as P, createBlock as se, unref as x, withCtx as
|
|
1
|
+
import { ref as D, computed as b, shallowRef as Ge, watch as q, getCurrentInstance as ee, inject as N, isRef as Ve, provide as Pe, defineComponent as H, openBlock as B, createElementBlock as S, createElementVNode as A, createCommentVNode as z, createStaticVNode as Ke, Fragment as Ae, renderList as qe, toDisplayString as K, createVNode as P, createBlock as se, unref as x, withCtx as F, withKeys as U, withModifiers as G, createTextVNode as Ce, Transition as ke, normalizeClass as Me, onUnmounted as ze, normalizeStyle as He } from "vue";
|
|
2
2
|
import { c as W, b as De, d as We, B as Ze, e as Xe, f as Ye, A as be, L as je, g as Qe, T as Je, a as me, _ as ie, E as et } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js";
|
|
3
3
|
import { c as te } from "./vendor-lodash-es-D2n90GJy.js";
|
|
4
4
|
import { u as tt } from "./vendor-vueuse-core-BFa9je5E.js";
|
|
@@ -10,12 +10,12 @@ const at = {
|
|
|
10
10
|
expandedWidth: 500,
|
|
11
11
|
// Secure by default: no origins trusted until the embedder configures them.
|
|
12
12
|
allowedOrigins: []
|
|
13
|
-
},
|
|
13
|
+
}, hn = "APP_AI_AGENT_URL", _n = {
|
|
14
14
|
EMBEDDED_APP_READY: "EMBEDDED_APP_READY",
|
|
15
15
|
AI_TOGGLE_PANEL: "AI_TOGGLE_PANEL",
|
|
16
16
|
AI_CONTEXT_UPDATE: "AI_CONTEXT_UPDATE",
|
|
17
17
|
AI_CONTEXT_CLEAR: "AI_CONTEXT_CLEAR"
|
|
18
|
-
},
|
|
18
|
+
}, En = {
|
|
19
19
|
EMBEDDED_HOST_READY: "EMBEDDED_HOST_READY",
|
|
20
20
|
AI_CHAT_MESSAGE: "AI_CHAT_MESSAGE"
|
|
21
21
|
}, ot = "ai-agent-toggle", rt = "lucide-sparkles", it = "AI Assistant", ne = W("ai-agent-panel");
|
|
@@ -73,8 +73,8 @@ function lt(e) {
|
|
|
73
73
|
contextType: d,
|
|
74
74
|
contextSuggestions: u,
|
|
75
75
|
totalItemsCount: h,
|
|
76
|
-
setContextData: (E, w, T,
|
|
77
|
-
const M = t()?.id ||
|
|
76
|
+
setContextData: (E, w, T, $) => {
|
|
77
|
+
const M = t()?.id || $;
|
|
78
78
|
return M ? E.length === 0 && !T ? (c.value.delete(M), he.debug(`Context cleared for blade: ${M}`), { cleared: !0 }) : (c.value.set(M, { items: E, type: w, suggestions: T }), he.debug(`Context set for blade: ${M}, items: ${E.length}, type: ${w}`), { cleared: !1 }) : (he.warn("Cannot set context data: no blade id available"), { cleared: !1 });
|
|
79
79
|
},
|
|
80
80
|
buildInitPayload: async () => {
|
|
@@ -167,8 +167,8 @@ function ct(e) {
|
|
|
167
167
|
u.forEach((T) => {
|
|
168
168
|
try {
|
|
169
169
|
T();
|
|
170
|
-
} catch (
|
|
171
|
-
O.error("ChatReady handler error:",
|
|
170
|
+
} catch ($) {
|
|
171
|
+
O.error("ChatReady handler error:", $);
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
174
|
break;
|
|
@@ -283,7 +283,7 @@ function dt(e) {
|
|
|
283
283
|
},
|
|
284
284
|
{ deep: !0 }
|
|
285
285
|
);
|
|
286
|
-
const E = () => l ? v.sendToParent({ type: "AI_TOGGLE_PANEL" }) : u.open(), w = () => l ? v.sendToParent({ type: "AI_TOGGLE_PANEL" }) : u.close(), T = () => l ? v.sendToParent({ type: "AI_TOGGLE_PANEL" }) : u.toggle(),
|
|
286
|
+
const E = () => l ? v.sendToParent({ type: "AI_TOGGLE_PANEL" }) : u.open(), w = () => l ? v.sendToParent({ type: "AI_TOGGLE_PANEL" }) : u.close(), T = () => l ? v.sendToParent({ type: "AI_TOGGLE_PANEL" }) : u.toggle(), $ = (I) => {
|
|
287
287
|
v.setIframeRef(I), C();
|
|
288
288
|
}, M = (I, R, Z, X) => {
|
|
289
289
|
const { cleared: Y } = h.setContextData(I, R, Z, X);
|
|
@@ -317,7 +317,7 @@ function dt(e) {
|
|
|
317
317
|
onMessage: v.onMessage,
|
|
318
318
|
// Internal API
|
|
319
319
|
iframeRef: v.iframeRef,
|
|
320
|
-
_setIframeRef:
|
|
320
|
+
_setIframeRef: $,
|
|
321
321
|
_startListening: v.startListening,
|
|
322
322
|
_stopListening: v.stopListening,
|
|
323
323
|
_setContextData: M
|
|
@@ -434,7 +434,7 @@ const bt = /* @__PURE__ */ new Set([
|
|
|
434
434
|
"range",
|
|
435
435
|
"color"
|
|
436
436
|
]);
|
|
437
|
-
function
|
|
437
|
+
function bn() {
|
|
438
438
|
const e = document.activeElement;
|
|
439
439
|
if (!e) return !1;
|
|
440
440
|
const o = e.tagName;
|
|
@@ -454,17 +454,17 @@ function Ne() {
|
|
|
454
454
|
formatShortcut: (o) => Ee(o, e)
|
|
455
455
|
};
|
|
456
456
|
}
|
|
457
|
-
let
|
|
458
|
-
function bn(e) {
|
|
459
|
-
Fe = e;
|
|
460
|
-
}
|
|
457
|
+
let $e, Fe, Re, wt;
|
|
461
458
|
function An(e) {
|
|
462
459
|
$e = e;
|
|
463
460
|
}
|
|
464
461
|
function wn(e) {
|
|
465
|
-
|
|
462
|
+
Fe = e;
|
|
466
463
|
}
|
|
467
464
|
function yn(e) {
|
|
465
|
+
Re = e;
|
|
466
|
+
}
|
|
467
|
+
function Bn(e) {
|
|
468
468
|
wt = e;
|
|
469
469
|
}
|
|
470
470
|
function xe(e, o) {
|
|
@@ -487,7 +487,7 @@ function xe(e, o) {
|
|
|
487
487
|
l.visible && l.query && Object.assign(f, l.query);
|
|
488
488
|
return { path: c || "/", query: f };
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function In(e, o) {
|
|
491
491
|
let t = e.split("/").filter(Boolean);
|
|
492
492
|
return o && t.length > 0 && t[0] === o && (t = t.slice(1)), t.length === 0 ? {} : {
|
|
493
493
|
workspaceUrl: t[0],
|
|
@@ -520,7 +520,7 @@ function y(e) {
|
|
|
520
520
|
${Bt}`);
|
|
521
521
|
}
|
|
522
522
|
function It() {
|
|
523
|
-
const e = (ee() ? N(De, void 0) : void 0) ??
|
|
523
|
+
const e = (ee() ? N(De, void 0) : void 0) ?? Fe, o = (ee() ? N(We, void 0) : void 0) ?? Re;
|
|
524
524
|
if (!e || !o)
|
|
525
525
|
throw new Error(
|
|
526
526
|
"[vc-shell] useBlade() failed: BladeStack or BladeMessaging not available. Ensure BladeNavigationPlugin (plugin-v2) is installed."
|
|
@@ -529,7 +529,7 @@ function It() {
|
|
|
529
529
|
let f;
|
|
530
530
|
function l() {
|
|
531
531
|
if (f) return f;
|
|
532
|
-
const r =
|
|
532
|
+
const r = $e?.router;
|
|
533
533
|
return r && (f = yt(r, t)), f;
|
|
534
534
|
}
|
|
535
535
|
const d = b(() => (n || y("id"), n.value.id)), u = b(() => (n || y("param"), n.value.param)), h = b(() => (n || y("options"), n.value.options)), v = b(() => (n || y("query"), n.value.query)), g = b(() => (n || y("closable"), n.value.parentId !== void 0)), C = b(() => (n || y("expanded"), t.activeBlade.value?.id === n.value.id)), E = b(() => (n || y("name"), n.value.name)), w = b(() => {
|
|
@@ -538,7 +538,7 @@ function It() {
|
|
|
538
538
|
return t.blades.value.find((m) => m.parentId === r)?.param;
|
|
539
539
|
});
|
|
540
540
|
let T = !1;
|
|
541
|
-
function
|
|
541
|
+
function $(r) {
|
|
542
542
|
if (T) {
|
|
543
543
|
console.warn(
|
|
544
544
|
"[vc-shell] provideBladeData() called more than once in the same blade. Only the first call takes effect."
|
|
@@ -638,7 +638,7 @@ function It() {
|
|
|
638
638
|
closable: g,
|
|
639
639
|
expanded: C,
|
|
640
640
|
name: E,
|
|
641
|
-
provideBladeData:
|
|
641
|
+
provideBladeData: $,
|
|
642
642
|
openBlade: M,
|
|
643
643
|
closeSelf: I,
|
|
644
644
|
closeChildren: R,
|
|
@@ -707,7 +707,7 @@ let Pt = 0;
|
|
|
707
707
|
function kt() {
|
|
708
708
|
return `blade_${++Pt}_${Math.random().toString(36).slice(2, 8)}`;
|
|
709
709
|
}
|
|
710
|
-
function
|
|
710
|
+
function Tn(e, o) {
|
|
711
711
|
const t = D([]), s = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), f = /* @__PURE__ */ new Map(), l = b(() => t.value[0]), d = b(() => t.value), u = b(() => {
|
|
712
712
|
for (let a = t.value.length - 1; a >= 0; a--)
|
|
713
713
|
if (t.value[a].visible) return t.value[a];
|
|
@@ -765,7 +765,7 @@ function In(e, o) {
|
|
|
765
765
|
const r = xt(a, i, g);
|
|
766
766
|
t.value = [...t.value.slice(0, p + 1), r], a.onOpen && n.set(r.id, a.onOpen), a.onClose && c.set(r.id, a.onClose), a.onOpen?.();
|
|
767
767
|
}
|
|
768
|
-
async function
|
|
768
|
+
async function $(a) {
|
|
769
769
|
const i = t.value.findIndex((m) => m.id === a);
|
|
770
770
|
if (i === -1 || i === 0) return !1;
|
|
771
771
|
const p = t.value.slice(i);
|
|
@@ -881,7 +881,7 @@ function In(e, o) {
|
|
|
881
881
|
activeBlade: u,
|
|
882
882
|
openWorkspace: w,
|
|
883
883
|
openBlade: T,
|
|
884
|
-
closeBlade:
|
|
884
|
+
closeBlade: $,
|
|
885
885
|
closeChildren: R,
|
|
886
886
|
replaceCurrentBlade: M,
|
|
887
887
|
coverCurrentBlade: I,
|
|
@@ -905,7 +905,7 @@ function Mt() {
|
|
|
905
905
|
return e;
|
|
906
906
|
}
|
|
907
907
|
const V = W("use-ai-agent");
|
|
908
|
-
function
|
|
908
|
+
function xn(e) {
|
|
909
909
|
const o = N(je), { user: t, getAccessToken: s } = Qe(), { openBlade: n } = It(), { blades: c, activeBlade: f } = Mt(), l = e?.isEmbedded, d = dt({
|
|
910
910
|
userGetter: () => {
|
|
911
911
|
if (t.value)
|
|
@@ -956,7 +956,7 @@ function Tn(e) {
|
|
|
956
956
|
}
|
|
957
957
|
return d;
|
|
958
958
|
}
|
|
959
|
-
function
|
|
959
|
+
function Sn() {
|
|
960
960
|
const e = N(be);
|
|
961
961
|
if (!e) {
|
|
962
962
|
V.error("AiAgentService not found. Did you forget to call provideAiAgentService()?");
|
|
@@ -983,7 +983,7 @@ function xn() {
|
|
|
983
983
|
onMessage: e.onMessage
|
|
984
984
|
};
|
|
985
985
|
}
|
|
986
|
-
function
|
|
986
|
+
function On(e) {
|
|
987
987
|
return {
|
|
988
988
|
id: "ai-agent-toggle",
|
|
989
989
|
icon: e?.icon ?? "lucide-sparkles",
|
|
@@ -997,7 +997,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
997
997
|
key: 1,
|
|
998
998
|
d: "M72.9199 46.4165C73.2527 46.9495 73.5831 47.4996 73.9092 48.0679C78.4022 55.8976 79.0605 66.3551 76.7793 76.6079C74.5635 86.5668 69.6096 96.1504 62.9795 102.692L58.1514 105.48C52.5725 108.701 45.699 108.701 40.1201 105.48L21.665 94.8247C29.1398 95.4723 37.0781 94.4072 44.3848 91.9233C54.5984 88.4512 63.7463 82.1497 68.6807 73.6548C75.124 62.5619 75.4351 53.2694 72.9199 46.4165ZM56.5205 29.5093C65.5697 29.5331 75.1259 33.9964 83.0215 40.8853C89.9848 46.9608 95.5441 54.8286 98.2715 62.9478V71.9058C98.2715 78.3478 94.8348 84.301 89.2559 87.522L69.4658 98.9468C74.0688 92.6731 77.4601 84.9996 79.207 77.1479C81.5723 66.517 80.9666 55.3703 76.0654 46.8296C69.6817 35.7054 61.7917 30.789 54.6006 29.5396C55.2271 29.5179 55.867 29.5076 56.5205 29.5093ZM0 50.688C3.16812 57.476 8.04614 63.7935 13.8389 68.853C21.9305 75.9204 31.9368 80.6465 41.7578 80.6724C54.5833 80.706 62.7851 76.3308 67.4629 70.728C67.1684 71.2812 66.8584 71.8408 66.5303 72.4058C61.9844 80.2318 53.417 86.2251 43.584 89.5679C34.4355 92.6779 24.3375 93.4401 15.6328 91.3423L9.01562 87.522C3.43667 84.301 0 78.3478 0 71.9058V50.688ZM26.7559 10.1313C22.5672 16.2131 19.6599 23.483 18.2695 30.9126C16.3077 41.3962 17.3358 52.3558 22.2188 60.8647C28.6034 71.9905 36.4946 76.9061 43.6865 78.1548C43.0594 78.1765 42.4188 78.1868 41.7646 78.1851C32.7113 78.1612 23.2602 73.7801 15.4746 66.98C8.2197 60.6434 2.52684 52.3035 0 43.7075V35.9897C6.33247e-05 29.5479 3.43687 23.5955 9.01562 20.3745L26.7559 10.1313ZM51.2432 31.6978C54.0287 31.7659 57.0796 32.4389 60.1875 33.9976C58.8529 33.7029 57.5584 33.677 56.3965 33.9722L57.0088 36.3833C58.4774 36.0102 60.6741 36.4134 63.0332 37.8237C65.3553 39.212 67.6865 41.4953 69.375 44.5923C70.7081 47.0376 71.6489 50.015 71.8535 53.4839C71.4414 52.1828 70.818 51.0505 69.9824 50.1929L68.2012 51.9282C69.2585 53.0135 70.0076 55.1176 69.9658 57.8657C69.9246 60.5708 69.1121 63.731 67.2744 66.7417C65.8225 69.1203 63.7129 71.4251 60.8086 73.3374C61.7311 72.329 62.4012 71.2217 62.7266 70.0679L60.333 69.3931C59.9218 70.8514 58.4742 72.5523 56.0732 73.8901C53.71 75.207 50.5672 76.0837 47.041 75.9976C44.2551 75.9294 41.204 75.2549 38.0957 73.6958C39.4307 73.9907 40.7254 74.0184 41.8877 73.7231L41.2754 71.312C39.8069 71.6851 37.6101 71.2818 35.251 69.8716C32.9289 68.4834 30.5977 66.2 28.9092 63.103C27.5754 60.6565 26.6337 57.6775 26.4297 54.2065C26.8418 55.5096 27.4661 56.6438 28.3027 57.5024L30.084 55.7661C29.0267 54.6807 28.2775 52.5767 28.3193 49.8286C28.3606 47.1236 29.173 43.9633 31.0107 40.9526C32.4621 38.5751 34.5702 36.2706 37.4727 34.3589C36.5514 35.3666 35.8827 36.4736 35.5576 37.6265L37.9512 38.3013C38.3625 36.8429 39.8101 35.142 42.2109 33.8042C44.5742 32.4874 47.717 31.6116 51.2432 31.6978ZM40.1201 2.4165C45.6991 -0.804509 52.5724 -0.804509 58.1514 2.4165L75.6777 12.5356C68.4683 12.0708 60.8765 13.1991 53.8691 15.6333C43.6671 19.1774 34.5353 25.5492 29.6035 34.0396C23.1612 45.1305 22.8486 54.4223 25.3623 61.2749C25.0301 60.7429 24.7004 60.1936 24.375 59.6265C19.8639 51.765 18.8286 41.4457 20.7139 31.3706C22.4486 22.1007 26.633 13.1734 32.6709 6.71631L40.1201 2.4165ZM54.6855 17.9829C63.3703 14.966 72.9092 14.0715 81.3008 15.7817L89.2559 20.3745C94.8346 23.5955 98.2714 29.5479 98.2715 35.9897V56.4692C95.0606 49.9731 90.2759 43.9144 84.6562 39.0112C76.4636 31.8632 66.3524 27.0488 56.5273 27.0229C43.6978 26.9893 35.4935 31.3659 30.8164 36.9712C31.1117 36.4161 31.4247 35.8554 31.7539 35.2886C36.3024 27.4582 44.8633 21.395 54.6855 17.9829Z",
|
|
999
999
|
fill: "url(#virto-oz-gradient-animated)"
|
|
1000
|
-
},
|
|
1000
|
+
}, $t = ["id"], Ft = {
|
|
1001
1001
|
key: 1,
|
|
1002
1002
|
id: "virto-oz-gradient-animated",
|
|
1003
1003
|
gradientUnits: "userSpaceOnUse",
|
|
@@ -1083,8 +1083,8 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1083
1083
|
id: o.value
|
|
1084
1084
|
}, [...s[1] || (s[1] = [
|
|
1085
1085
|
A("path", { d: "M72.9199 46.4165C73.2527 46.9495 73.5831 47.4996 73.9092 48.0679C78.4022 55.8976 79.0605 66.3551 76.7793 76.6079C74.5635 86.5668 69.6096 96.1504 62.9795 102.692L58.1514 105.48C52.5725 108.701 45.699 108.701 40.1201 105.48L21.665 94.8247C29.1398 95.4723 37.0781 94.4072 44.3848 91.9233C54.5984 88.4512 63.7463 82.1497 68.6807 73.6548C75.124 62.5619 75.4351 53.2694 72.9199 46.4165ZM56.5205 29.5093C65.5697 29.5331 75.1259 33.9964 83.0215 40.8853C89.9848 46.9608 95.5441 54.8286 98.2715 62.9478V71.9058C98.2715 78.3478 94.8348 84.301 89.2559 87.522L69.4658 98.9468C74.0688 92.6731 77.4601 84.9996 79.207 77.1479C81.5723 66.517 80.9666 55.3703 76.0654 46.8296C69.6817 35.7054 61.7917 30.789 54.6006 29.5396C55.2271 29.5179 55.867 29.5076 56.5205 29.5093ZM0 50.688C3.16812 57.476 8.04614 63.7935 13.8389 68.853C21.9305 75.9204 31.9368 80.6465 41.7578 80.6724C54.5833 80.706 62.7851 76.3308 67.4629 70.728C67.1684 71.2812 66.8584 71.8408 66.5303 72.4058C61.9844 80.2318 53.417 86.2251 43.584 89.5679C34.4355 92.6779 24.3375 93.4401 15.6328 91.3423L9.01562 87.522C3.43667 84.301 0 78.3478 0 71.9058V50.688ZM26.7559 10.1313C22.5672 16.2131 19.6599 23.483 18.2695 30.9126C16.3077 41.3962 17.3358 52.3558 22.2188 60.8647C28.6034 71.9905 36.4946 76.9061 43.6865 78.1548C43.0594 78.1765 42.4188 78.1868 41.7646 78.1851C32.7113 78.1612 23.2602 73.7801 15.4746 66.98C8.2197 60.6434 2.52684 52.3035 0 43.7075V35.9897C6.33247e-05 29.5479 3.43687 23.5955 9.01562 20.3745L26.7559 10.1313ZM51.2432 31.6978C54.0287 31.7659 57.0796 32.4389 60.1875 33.9976C58.8529 33.7029 57.5584 33.677 56.3965 33.9722L57.0088 36.3833C58.4774 36.0102 60.6741 36.4134 63.0332 37.8237C65.3553 39.212 67.6865 41.4953 69.375 44.5923C70.7081 47.0376 71.6489 50.015 71.8535 53.4839C71.4414 52.1828 70.818 51.0505 69.9824 50.1929L68.2012 51.9282C69.2585 53.0135 70.0076 55.1176 69.9658 57.8657C69.9246 60.5708 69.1121 63.731 67.2744 66.7417C65.8225 69.1203 63.7129 71.4251 60.8086 73.3374C61.7311 72.329 62.4012 71.2217 62.7266 70.0679L60.333 69.3931C59.9218 70.8514 58.4742 72.5523 56.0732 73.8901C53.71 75.207 50.5672 76.0837 47.041 75.9976C44.2551 75.9294 41.204 75.2549 38.0957 73.6958C39.4307 73.9907 40.7254 74.0184 41.8877 73.7231L41.2754 71.312C39.8069 71.6851 37.6101 71.2818 35.251 69.8716C32.9289 68.4834 30.5977 66.2 28.9092 63.103C27.5754 60.6565 26.6337 57.6775 26.4297 54.2065C26.8418 55.5096 27.4661 56.6438 28.3027 57.5024L30.084 55.7661C29.0267 54.6807 28.2775 52.5767 28.3193 49.8286C28.3606 47.1236 29.173 43.9633 31.0107 40.9526C32.4621 38.5751 34.5702 36.2706 37.4727 34.3589C36.5514 35.3666 35.8827 36.4736 35.5576 37.6265L37.9512 38.3013C38.3625 36.8429 39.8101 35.142 42.2109 33.8042C44.5742 32.4874 47.717 31.6116 51.2432 31.6978ZM40.1201 2.4165C45.6991 -0.804509 52.5724 -0.804509 58.1514 2.4165L75.6777 12.5356C68.4683 12.0708 60.8765 13.1991 53.8691 15.6333C43.6671 19.1774 34.5353 25.5492 29.6035 34.0396C23.1612 45.1305 22.8486 54.4223 25.3623 61.2749C25.0301 60.7429 24.7004 60.1936 24.375 59.6265C19.8639 51.765 18.8286 41.4457 20.7139 31.3706C22.4486 22.1007 26.633 13.1734 32.6709 6.71631L40.1201 2.4165ZM54.6855 17.9829C63.3703 14.966 72.9092 14.0715 81.3008 15.7817L89.2559 20.3745C94.8346 23.5955 98.2714 29.5479 98.2715 35.9897V56.4692C95.0606 49.9731 90.2759 43.9144 84.6562 39.0112C76.4636 31.8632 66.3524 27.0488 56.5273 27.0229C43.6978 26.9893 35.4935 31.3659 30.8164 36.9712C31.1117 36.4161 31.4247 35.8554 31.7539 35.2886C36.3024 27.4582 44.8633 21.395 54.6855 17.9829Z" }, null, -1)
|
|
1086
|
-
])], 8,
|
|
1087
|
-
e.animated ? (B(), S("linearGradient",
|
|
1086
|
+
])], 8, $t)),
|
|
1087
|
+
e.animated ? (B(), S("linearGradient", Ft, [...s[2] || (s[2] = [
|
|
1088
1088
|
Ke('<stop offset="0%" stop-color="#FF9533"><animate attributeName="stop-color" values="#FF9533;#FF4FBB;#EAFF4F;#1C91FC;#9A2DF8;#FF9533" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="25%" stop-color="#FF4FBB"><animate attributeName="stop-color" values="#FF4FBB;#EAFF4F;#1C91FC;#9A2DF8;#FF9533;#FF4FBB" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="50%" stop-color="#EAFF4F"><animate attributeName="stop-color" values="#EAFF4F;#1C91FC;#9A2DF8;#FF9533;#FF4FBB;#EAFF4F" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="75%" stop-color="#1C91FC"><animate attributeName="stop-color" values="#1C91FC;#9A2DF8;#FF9533;#FF4FBB;#EAFF4F;#1C91FC" dur="4s" repeatCount="indefinite"></animate></stop><stop offset="100%" stop-color="#9A2DF8"><animate attributeName="stop-color" values="#9A2DF8;#FF9533;#FF4FBB;#EAFF4F;#1C91FC;#9A2DF8" dur="4s" repeatCount="indefinite"></animate></stop>', 5)
|
|
1089
1089
|
])])) : z("", !0)
|
|
1090
1090
|
])
|
|
@@ -1135,7 +1135,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1135
1135
|
key: 0,
|
|
1136
1136
|
placement: "bottom"
|
|
1137
1137
|
}, {
|
|
1138
|
-
tooltip:
|
|
1138
|
+
tooltip: F(() => [
|
|
1139
1139
|
A("span", Xt, [
|
|
1140
1140
|
Ce(K(x(o)("COMPONENTS.ORGANISMS.VC_BLADE_HEADER.RESTORE")) + " ", 1),
|
|
1141
1141
|
P(_e, {
|
|
@@ -1144,7 +1144,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1144
1144
|
}, null, 8, ["parts", "separated"])
|
|
1145
1145
|
])
|
|
1146
1146
|
]),
|
|
1147
|
-
default:
|
|
1147
|
+
default: F(() => [
|
|
1148
1148
|
A("div", {
|
|
1149
1149
|
class: "vc-ai-agent-header__button",
|
|
1150
1150
|
role: "button",
|
|
@@ -1165,7 +1165,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1165
1165
|
key: 1,
|
|
1166
1166
|
placement: "bottom"
|
|
1167
1167
|
}, {
|
|
1168
|
-
tooltip:
|
|
1168
|
+
tooltip: F(() => [
|
|
1169
1169
|
A("span", jt, [
|
|
1170
1170
|
Ce(K(x(o)("COMPONENTS.ORGANISMS.VC_BLADE_HEADER.MAXIMIZE")) + " ", 1),
|
|
1171
1171
|
P(_e, {
|
|
@@ -1174,7 +1174,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1174
1174
|
}, null, 8, ["parts", "separated"])
|
|
1175
1175
|
])
|
|
1176
1176
|
]),
|
|
1177
|
-
default:
|
|
1177
|
+
default: F(() => [
|
|
1178
1178
|
A("div", {
|
|
1179
1179
|
class: "vc-ai-agent-header__button",
|
|
1180
1180
|
role: "button",
|
|
@@ -1193,7 +1193,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1193
1193
|
_: 1
|
|
1194
1194
|
})),
|
|
1195
1195
|
P(x(me), { placement: "bottom" }, {
|
|
1196
|
-
tooltip:
|
|
1196
|
+
tooltip: F(() => [
|
|
1197
1197
|
A("span", Jt, [
|
|
1198
1198
|
Ce(K(x(o)("COMPONENTS.ORGANISMS.VC_BLADE_HEADER.CLOSE")) + " ", 1),
|
|
1199
1199
|
P(_e, {
|
|
@@ -1202,7 +1202,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1202
1202
|
}, null, 8, ["parts", "separated"])
|
|
1203
1203
|
])
|
|
1204
1204
|
]),
|
|
1205
|
-
default:
|
|
1205
|
+
default: F(() => [
|
|
1206
1206
|
A("div", {
|
|
1207
1207
|
class: "vc-ai-agent-header__button",
|
|
1208
1208
|
role: "button",
|
|
@@ -1273,7 +1273,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1273
1273
|
}
|
|
1274
1274
|
), (d, u) => (B(), S("div", sn, [
|
|
1275
1275
|
P(ke, { name: "fade" }, {
|
|
1276
|
-
default:
|
|
1276
|
+
default: F(() => [
|
|
1277
1277
|
f.value && e.url ? (B(), se(rn, {
|
|
1278
1278
|
key: 0,
|
|
1279
1279
|
text: d.$t("AI_AGENT.LOADING")
|
|
@@ -1300,8 +1300,11 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1300
1300
|
]))
|
|
1301
1301
|
]));
|
|
1302
1302
|
}
|
|
1303
|
-
}), un = { class: "vc-ai-agent-panel__content" },
|
|
1303
|
+
}), un = ["inert"], pn = { class: "vc-ai-agent-panel__content" }, Pn = /* @__PURE__ */ H({
|
|
1304
1304
|
__name: "VcAiAgentPanel",
|
|
1305
|
+
props: {
|
|
1306
|
+
inert: { type: Boolean }
|
|
1307
|
+
},
|
|
1305
1308
|
setup(e) {
|
|
1306
1309
|
const { isMac: o } = Ne(), t = N(be), s = N(et, !1);
|
|
1307
1310
|
t || console.error("[VcAiAgentPanel] AiAgentService not provided");
|
|
@@ -1325,13 +1328,14 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1325
1328
|
return ze(() => {
|
|
1326
1329
|
t?._setIframeRef(null);
|
|
1327
1330
|
}), (C, E) => (B(), se(ke, { name: "ai-panel-slide" }, {
|
|
1328
|
-
default:
|
|
1331
|
+
default: F(() => [
|
|
1329
1332
|
c.value ? (B(), S("div", {
|
|
1330
1333
|
key: 0,
|
|
1331
1334
|
class: Me(["vc-ai-agent-panel", {
|
|
1332
1335
|
"vc-ai-agent-panel--expanded": f.value
|
|
1333
1336
|
}]),
|
|
1334
|
-
style: He(d.value)
|
|
1337
|
+
style: He(d.value),
|
|
1338
|
+
inert: e.inert || void 0
|
|
1335
1339
|
}, [
|
|
1336
1340
|
P(en, {
|
|
1337
1341
|
title: n.value.title,
|
|
@@ -1341,46 +1345,46 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1341
1345
|
onExpand: h,
|
|
1342
1346
|
onCollapse: v
|
|
1343
1347
|
}, null, 8, ["title", "is-expanded", "items-count"]),
|
|
1344
|
-
A("div",
|
|
1348
|
+
A("div", pn, [
|
|
1345
1349
|
P(dn, {
|
|
1346
1350
|
url: n.value.url,
|
|
1347
1351
|
onIframeReady: g
|
|
1348
1352
|
}, null, 8, ["url"])
|
|
1349
1353
|
])
|
|
1350
|
-
],
|
|
1354
|
+
], 14, un)) : z("", !0)
|
|
1351
1355
|
]),
|
|
1352
1356
|
_: 1
|
|
1353
1357
|
}));
|
|
1354
1358
|
}
|
|
1355
1359
|
});
|
|
1356
1360
|
export {
|
|
1357
|
-
|
|
1358
|
-
|
|
1361
|
+
hn as A,
|
|
1362
|
+
xn as B,
|
|
1359
1363
|
at as D,
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
+
_n as E,
|
|
1365
|
+
En as H,
|
|
1366
|
+
Pn as _,
|
|
1367
|
+
Tn as a,
|
|
1364
1368
|
xe as b,
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
+
On as c,
|
|
1370
|
+
yn as d,
|
|
1371
|
+
An as e,
|
|
1372
|
+
Bn as f,
|
|
1369
1373
|
It as g,
|
|
1370
|
-
|
|
1371
|
-
|
|
1374
|
+
$e as h,
|
|
1375
|
+
Fe as i,
|
|
1372
1376
|
wt as j,
|
|
1373
1377
|
Re as k,
|
|
1374
1378
|
Oe as l,
|
|
1375
1379
|
yt as m,
|
|
1376
1380
|
mt as n,
|
|
1377
1381
|
ht as o,
|
|
1378
|
-
|
|
1382
|
+
In as p,
|
|
1379
1383
|
Ee as q,
|
|
1380
1384
|
Q as r,
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1385
|
+
wn as s,
|
|
1386
|
+
bn as t,
|
|
1387
|
+
Sn as u,
|
|
1384
1388
|
Et as v,
|
|
1385
1389
|
Mt as w,
|
|
1386
1390
|
At as x,
|