@vc-shell/framework 2.4.0-pr305.1f96afd → 2.4.0-pr306.cc97338
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-CzeWZLxJ.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-B6-CbU4n.js} +57 -53
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CzeWZLxJ.js.map → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-B6-CbU4n.js.map} +1 -1
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-a2joBaMe.js → VcScheduler.vue_vue_type_script_setup_true_lang-rZsBM9o8.js} +6795 -6739
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-rZsBM9o8.js.map +1 -0
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-DSujdkDw.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-BCsJG_hk.js} +146 -141
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-DSujdkDw.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-BCsJG_hk.js.map} +1 -1
- package/dist/chunks/{index-BSOHtJam.js → index-QlzA13tK.js} +1 -1
- package/dist/chunks/{index-BSOHtJam.js.map → index-QlzA13tK.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/dashboard/index.js +1 -1
- package/dist/framework.js +12 -12
- package/dist/locales/de.js +1 -0
- package/dist/locales/en.js +1 -0
- package/dist/locales/en.json +1 -0
- package/dist/locales/types.d.ts +1 -0
- package/dist/shell/dashboard/draggable-dashboard/GridstackDashboard.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts +4 -0
- 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-blade/useBladeSkeleton.d.ts +16 -0
- package/dist/ui/components/organisms/vc-blade/useBladeSkeleton.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-blade/vc-blade.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-a2joBaMe.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-QlzA13tK.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-B6-CbU4n.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 L, computed as b, shallowRef as Ge, watch as q, getCurrentInstance as ee, inject as
|
|
1
|
+
import { ref as L, computed as b, shallowRef as Ge, watch as q, getCurrentInstance as ee, inject as $, isRef as Ve, provide as Pe, defineComponent as H, openBlock as y, createElementBlock as S, createElementVNode as w, createCommentVNode as z, createStaticVNode as Ke, Fragment as we, renderList as qe, toDisplayString as K, createVNode as M, 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");
|
|
@@ -437,7 +437,7 @@ const bt = /* @__PURE__ */ new Set([
|
|
|
437
437
|
"range",
|
|
438
438
|
"color"
|
|
439
439
|
]);
|
|
440
|
-
function
|
|
440
|
+
function bn() {
|
|
441
441
|
const e = document.activeElement;
|
|
442
442
|
if (!e) return !1;
|
|
443
443
|
const o = e.tagName;
|
|
@@ -457,17 +457,17 @@ function Ne() {
|
|
|
457
457
|
formatShortcut: (o) => Ee(o, e)
|
|
458
458
|
};
|
|
459
459
|
}
|
|
460
|
-
let
|
|
461
|
-
function bn(e) {
|
|
462
|
-
Fe = e;
|
|
463
|
-
}
|
|
460
|
+
let $e, Fe, Re, At;
|
|
464
461
|
function wn(e) {
|
|
465
462
|
$e = e;
|
|
466
463
|
}
|
|
467
464
|
function An(e) {
|
|
468
|
-
|
|
465
|
+
Fe = e;
|
|
469
466
|
}
|
|
470
467
|
function yn(e) {
|
|
468
|
+
Re = e;
|
|
469
|
+
}
|
|
470
|
+
function Bn(e) {
|
|
471
471
|
At = e;
|
|
472
472
|
}
|
|
473
473
|
function xe(e, o) {
|
|
@@ -490,7 +490,7 @@ function xe(e, o) {
|
|
|
490
490
|
c.visible && c.query && Object.assign(g, c.query);
|
|
491
491
|
return { path: l || "/", query: g };
|
|
492
492
|
}
|
|
493
|
-
function
|
|
493
|
+
function In(e, o) {
|
|
494
494
|
let t = e.split("/").filter(Boolean);
|
|
495
495
|
return o && t.length > 0 && t[0] === o && (t = t.slice(1)), t.length === 0 ? {} : {
|
|
496
496
|
workspaceUrl: t[0],
|
|
@@ -523,16 +523,16 @@ function A(e) {
|
|
|
523
523
|
${Bt}`);
|
|
524
524
|
}
|
|
525
525
|
function It() {
|
|
526
|
-
const e = (ee() ?
|
|
526
|
+
const e = (ee() ? $(De, void 0) : void 0) ?? Fe, o = (ee() ? $(We, void 0) : void 0) ?? Re;
|
|
527
527
|
if (!e || !o)
|
|
528
528
|
throw new Error(
|
|
529
529
|
"[vc-shell] useBlade() failed: BladeStack or BladeMessaging not available. Ensure BladeNavigationPlugin (plugin-v2) is installed."
|
|
530
530
|
);
|
|
531
|
-
const t = e, s = o, n = ee() ?
|
|
531
|
+
const t = e, s = o, n = ee() ? $(Ze, void 0) : void 0, l = ee() ? $(Xe, void 0) : void 0;
|
|
532
532
|
let g;
|
|
533
533
|
function c() {
|
|
534
534
|
if (g) return g;
|
|
535
|
-
const r =
|
|
535
|
+
const r = $e?.router;
|
|
536
536
|
return r && (g = yt(r, t)), g;
|
|
537
537
|
}
|
|
538
538
|
const d = b(() => (n || A("id"), n.value.id)), u = b(() => (n || A("param"), n.value.param)), h = b(() => (n || A("options"), n.value.options)), v = b(() => (n || A("query"), n.value.query)), f = b(() => (n || A("closable"), n.value.parentId !== void 0)), C = b(() => (n || A("expanded"), t.activeBlade.value?.id === n.value.id)), E = b(() => (n || A("name"), n.value.name)), B = b(() => {
|
|
@@ -710,7 +710,7 @@ let Pt = 0;
|
|
|
710
710
|
function kt() {
|
|
711
711
|
return `blade_${++Pt}_${Math.random().toString(36).slice(2, 8)}`;
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function Tn(e, o) {
|
|
714
714
|
const t = L([]), s = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), l = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Map(), c = b(() => t.value[0]), d = b(() => t.value), u = b(() => {
|
|
715
715
|
for (let a = t.value.length - 1; a >= 0; a--)
|
|
716
716
|
if (t.value[a].visible) return t.value[a];
|
|
@@ -902,14 +902,14 @@ function In(e, o) {
|
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
904
|
function Mt() {
|
|
905
|
-
const e =
|
|
905
|
+
const e = $(De);
|
|
906
906
|
if (!e)
|
|
907
907
|
throw new Error("[useBladeStack] BladeStack not found. Ensure BladeNavigationPlugin is installed.");
|
|
908
908
|
return e;
|
|
909
909
|
}
|
|
910
910
|
const V = W("use-ai-agent");
|
|
911
|
-
function
|
|
912
|
-
const o =
|
|
911
|
+
function xn(e) {
|
|
912
|
+
const o = $(je), { user: t, getAccessToken: s } = Qe(), { openBlade: n } = It(), { blades: l, activeBlade: g } = Mt(), c = e?.isEmbedded, d = dt({
|
|
913
913
|
userGetter: () => {
|
|
914
914
|
if (t.value)
|
|
915
915
|
return {
|
|
@@ -942,7 +942,7 @@ function Tn(e) {
|
|
|
942
942
|
isEmbedded: c
|
|
943
943
|
});
|
|
944
944
|
if (Pe(be, d), V.debug("AiAgentService provided"), e?.addGlobalToolbarButton ?? !0) {
|
|
945
|
-
const h =
|
|
945
|
+
const h = $(Je, null);
|
|
946
946
|
h ? (h.registerToolbarItem(
|
|
947
947
|
{
|
|
948
948
|
id: ot,
|
|
@@ -959,8 +959,8 @@ function Tn(e) {
|
|
|
959
959
|
}
|
|
960
960
|
return d;
|
|
961
961
|
}
|
|
962
|
-
function
|
|
963
|
-
const e =
|
|
962
|
+
function Sn() {
|
|
963
|
+
const e = $(be);
|
|
964
964
|
if (!e) {
|
|
965
965
|
V.error("AiAgentService not found. Did you forget to call provideAiAgentService()?");
|
|
966
966
|
return;
|
|
@@ -986,7 +986,7 @@ function xn() {
|
|
|
986
986
|
onMessage: e.onMessage
|
|
987
987
|
};
|
|
988
988
|
}
|
|
989
|
-
function
|
|
989
|
+
function On(e) {
|
|
990
990
|
return {
|
|
991
991
|
id: "ai-agent-toggle",
|
|
992
992
|
icon: e?.icon ?? "lucide-sparkles",
|
|
@@ -1000,7 +1000,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1000
1000
|
key: 1,
|
|
1001
1001
|
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",
|
|
1002
1002
|
fill: "url(#virto-oz-gradient-animated)"
|
|
1003
|
-
},
|
|
1003
|
+
}, $t = ["id"], Ft = {
|
|
1004
1004
|
key: 1,
|
|
1005
1005
|
id: "virto-oz-gradient-animated",
|
|
1006
1006
|
gradientUnits: "userSpaceOnUse",
|
|
@@ -1086,8 +1086,8 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1086
1086
|
id: o.value
|
|
1087
1087
|
}, [...s[1] || (s[1] = [
|
|
1088
1088
|
w("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)
|
|
1089
|
-
])], 8,
|
|
1090
|
-
e.animated ? (y(), S("linearGradient",
|
|
1089
|
+
])], 8, $t)),
|
|
1090
|
+
e.animated ? (y(), S("linearGradient", Ft, [...s[2] || (s[2] = [
|
|
1091
1091
|
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)
|
|
1092
1092
|
])])) : z("", !0)
|
|
1093
1093
|
])
|
|
@@ -1138,7 +1138,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1138
1138
|
key: 0,
|
|
1139
1139
|
placement: "bottom"
|
|
1140
1140
|
}, {
|
|
1141
|
-
tooltip:
|
|
1141
|
+
tooltip: F(() => [
|
|
1142
1142
|
w("span", Xt, [
|
|
1143
1143
|
Ce(K(x(o)("COMPONENTS.ORGANISMS.VC_BLADE_HEADER.RESTORE")) + " ", 1),
|
|
1144
1144
|
M(_e, {
|
|
@@ -1147,7 +1147,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1147
1147
|
}, null, 8, ["parts", "separated"])
|
|
1148
1148
|
])
|
|
1149
1149
|
]),
|
|
1150
|
-
default:
|
|
1150
|
+
default: F(() => [
|
|
1151
1151
|
w("div", {
|
|
1152
1152
|
class: "vc-ai-agent-header__button",
|
|
1153
1153
|
role: "button",
|
|
@@ -1168,7 +1168,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1168
1168
|
key: 1,
|
|
1169
1169
|
placement: "bottom"
|
|
1170
1170
|
}, {
|
|
1171
|
-
tooltip:
|
|
1171
|
+
tooltip: F(() => [
|
|
1172
1172
|
w("span", jt, [
|
|
1173
1173
|
Ce(K(x(o)("COMPONENTS.ORGANISMS.VC_BLADE_HEADER.MAXIMIZE")) + " ", 1),
|
|
1174
1174
|
M(_e, {
|
|
@@ -1177,7 +1177,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1177
1177
|
}, null, 8, ["parts", "separated"])
|
|
1178
1178
|
])
|
|
1179
1179
|
]),
|
|
1180
|
-
default:
|
|
1180
|
+
default: F(() => [
|
|
1181
1181
|
w("div", {
|
|
1182
1182
|
class: "vc-ai-agent-header__button",
|
|
1183
1183
|
role: "button",
|
|
@@ -1196,7 +1196,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1196
1196
|
_: 1
|
|
1197
1197
|
})),
|
|
1198
1198
|
M(x(me), { placement: "bottom" }, {
|
|
1199
|
-
tooltip:
|
|
1199
|
+
tooltip: F(() => [
|
|
1200
1200
|
w("span", Jt, [
|
|
1201
1201
|
Ce(K(x(o)("COMPONENTS.ORGANISMS.VC_BLADE_HEADER.CLOSE")) + " ", 1),
|
|
1202
1202
|
M(_e, {
|
|
@@ -1205,7 +1205,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1205
1205
|
}, null, 8, ["parts", "separated"])
|
|
1206
1206
|
])
|
|
1207
1207
|
]),
|
|
1208
|
-
default:
|
|
1208
|
+
default: F(() => [
|
|
1209
1209
|
w("div", {
|
|
1210
1210
|
class: "vc-ai-agent-header__button",
|
|
1211
1211
|
role: "button",
|
|
@@ -1276,7 +1276,7 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1276
1276
|
}
|
|
1277
1277
|
), (d, u) => (y(), S("div", sn, [
|
|
1278
1278
|
M(ke, { name: "fade" }, {
|
|
1279
|
-
default:
|
|
1279
|
+
default: F(() => [
|
|
1280
1280
|
g.value && e.url ? (y(), se(rn, {
|
|
1281
1281
|
key: 0,
|
|
1282
1282
|
text: d.$t("AI_AGENT.LOADING")
|
|
@@ -1303,10 +1303,13 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1303
1303
|
]))
|
|
1304
1304
|
]));
|
|
1305
1305
|
}
|
|
1306
|
-
}), un = { class: "vc-ai-agent-panel__content" },
|
|
1306
|
+
}), un = ["inert"], pn = { class: "vc-ai-agent-panel__content" }, Pn = /* @__PURE__ */ H({
|
|
1307
1307
|
__name: "VcAiAgentPanel",
|
|
1308
|
+
props: {
|
|
1309
|
+
inert: { type: Boolean }
|
|
1310
|
+
},
|
|
1308
1311
|
setup(e) {
|
|
1309
|
-
const { isMac: o } = Ne(), t =
|
|
1312
|
+
const { isMac: o } = Ne(), t = $(be), s = $(et, !1);
|
|
1310
1313
|
t || console.error("[VcAiAgentPanel] AiAgentService not provided");
|
|
1311
1314
|
const n = b(
|
|
1312
1315
|
() => t?.config.value ?? { url: "", title: "AI Assistant", width: 362, expandedWidth: 500 }
|
|
@@ -1328,13 +1331,14 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1328
1331
|
return ze(() => {
|
|
1329
1332
|
t?._setIframeRef(null);
|
|
1330
1333
|
}), (C, E) => (y(), se(ke, { name: "ai-panel-slide" }, {
|
|
1331
|
-
default:
|
|
1334
|
+
default: F(() => [
|
|
1332
1335
|
l.value ? (y(), S("div", {
|
|
1333
1336
|
key: 0,
|
|
1334
1337
|
class: Me(["vc-ai-agent-panel", {
|
|
1335
1338
|
"vc-ai-agent-panel--expanded": g.value
|
|
1336
1339
|
}]),
|
|
1337
|
-
style: He(d.value)
|
|
1340
|
+
style: He(d.value),
|
|
1341
|
+
inert: e.inert || void 0
|
|
1338
1342
|
}, [
|
|
1339
1343
|
M(en, {
|
|
1340
1344
|
title: n.value.title,
|
|
@@ -1344,46 +1348,46 @@ const Dt = ["width", "height"], Lt = ["clip-path"], Nt = {
|
|
|
1344
1348
|
onExpand: h,
|
|
1345
1349
|
onCollapse: v
|
|
1346
1350
|
}, null, 8, ["title", "is-expanded", "items-count"]),
|
|
1347
|
-
w("div",
|
|
1351
|
+
w("div", pn, [
|
|
1348
1352
|
M(dn, {
|
|
1349
1353
|
url: n.value.url,
|
|
1350
1354
|
onIframeReady: f
|
|
1351
1355
|
}, null, 8, ["url"])
|
|
1352
1356
|
])
|
|
1353
|
-
],
|
|
1357
|
+
], 14, un)) : z("", !0)
|
|
1354
1358
|
]),
|
|
1355
1359
|
_: 1
|
|
1356
1360
|
}));
|
|
1357
1361
|
}
|
|
1358
1362
|
});
|
|
1359
1363
|
export {
|
|
1360
|
-
|
|
1361
|
-
|
|
1364
|
+
hn as A,
|
|
1365
|
+
xn as B,
|
|
1362
1366
|
at as D,
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
+
_n as E,
|
|
1368
|
+
En as H,
|
|
1369
|
+
Pn as _,
|
|
1370
|
+
Tn as a,
|
|
1367
1371
|
xe as b,
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
+
On as c,
|
|
1373
|
+
yn as d,
|
|
1374
|
+
wn as e,
|
|
1375
|
+
Bn as f,
|
|
1372
1376
|
It as g,
|
|
1373
|
-
|
|
1374
|
-
|
|
1377
|
+
$e as h,
|
|
1378
|
+
Fe as i,
|
|
1375
1379
|
At as j,
|
|
1376
1380
|
Re as k,
|
|
1377
1381
|
Oe as l,
|
|
1378
1382
|
yt as m,
|
|
1379
1383
|
mt as n,
|
|
1380
1384
|
ht as o,
|
|
1381
|
-
|
|
1385
|
+
In as p,
|
|
1382
1386
|
Ee as q,
|
|
1383
1387
|
Q as r,
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1388
|
+
An as s,
|
|
1389
|
+
bn as t,
|
|
1390
|
+
Sn as u,
|
|
1387
1391
|
Et as v,
|
|
1388
1392
|
Mt as w,
|
|
1389
1393
|
wt as x,
|