@vc-shell/framework 2.6.3-rc.0-pr391.84df437 → 2.6.3-rc.0-pr386.82522f3
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 +3 -3
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-DCA-Ffyd.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-DD8vPZWo.js} +355 -349
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-DD8vPZWo.js.map +1 -0
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-TiaFg1wQ.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-BO4n-ICh.js} +316 -396
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-BO4n-ICh.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-qXf9_bH2.js → VcScheduler.vue_vue_type_script_setup_true_lang-D9qR_hhh.js} +6820 -6810
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-D9qR_hhh.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-Dr98EAcc.js → VcScheduler.vue_vue_type_style_index_0_lang-DmyL2_G1.js} +1994 -1987
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-DmyL2_G1.js.map +1 -0
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-D4pPtjsM.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-CK9wE0zx.js} +30 -30
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-D4pPtjsM.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-CK9wE0zx.js.map} +1 -1
- package/dist/chunks/{index-DSdo2M5t.js → index-BHklvOJx.js} +2 -2
- package/dist/chunks/{index-DSdo2M5t.js.map → index-BHklvOJx.js.map} +1 -1
- package/dist/core/blade-navigation/utils/urlSync.d.ts.map +1 -1
- package/dist/core/composables/index.d.ts +1 -1
- package/dist/core/composables/index.d.ts.map +1 -1
- package/dist/core/composables/useBladeForm/index.d.ts.map +1 -1
- package/dist/core/interceptors/index.d.ts.map +1 -1
- package/dist/core/services/language-service.d.ts.map +1 -1
- package/dist/core/utilities/authGuard.d.ts.map +1 -1
- package/dist/core/utilities/redirectAfterLogin.d.ts +12 -0
- package/dist/core/utilities/redirectAfterLogin.d.ts.map +1 -0
- package/dist/dashboard/index.js +1 -1
- package/dist/framework.js +1090 -1081
- package/dist/framework.js.map +1 -1
- package/dist/index.css +2 -2
- package/dist/locales/de.js +1 -30
- package/dist/locales/en.js +1 -30
- package/dist/locales/en.json +1 -30
- package/dist/locales/types.d.ts +0 -29
- package/dist/shell/auth/LoginPage/components/login/Login.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-loading/vc-loading.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-tooltip/vc-tooltip.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts +2 -0
- package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-menu/vc-menu-group.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-menu/vc-menu-item.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-radio-button/vc-radio-button.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/_internal/SelectTrigger.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-switch/vc-switch.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-blade/_internal/toolbar/ToolbarDesktop.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarMobile.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableBody.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableBody.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableHeader.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableHeader.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableRow.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/DataTableRow.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/GlobalFiltersPanel.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-data-table/components/TableCell.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableCell.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableHead.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableHead.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/TableResizeHandle.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/components/mobile/DataTableMobileCard.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts +2 -4
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumns.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsReorder.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useTableColumnsResize.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerMonthView.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-scheduler/_internal/views/SchedulerTimelineView.vue.d.ts.map +1 -1
- package/dist/ui/composables/useAdaptiveItems.d.ts.map +1 -1
- package/dist/ui/composables/useFloatingPosition.d.ts +0 -5
- package/dist/ui/composables/useFloatingPosition.d.ts.map +1 -1
- package/dist/ui/index.js +33 -34
- package/package.json +4 -4
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-DCA-Ffyd.js.map +0 -1
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-TiaFg1wQ.js.map +0 -1
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-qXf9_bH2.js.map +0 -1
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-Dr98EAcc.js.map +0 -1
- package/dist/core/composables/useTextDirection/index.d.ts +0 -18
- package/dist/core/composables/useTextDirection/index.d.ts.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { a as
|
|
3
|
-
import { j as
|
|
4
|
-
import { L as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
8
|
-
function
|
|
9
|
-
if (typeof e == "string" &&
|
|
1
|
+
import { ref as _, computed as u, defineComponent as O, onMounted as F, openBlock as g, createElementBlock as S, normalizeStyle as $, normalizeClass as P, toDisplayString as Q, markRaw as Z, createBlock as J, resolveDynamicComponent as B, createElementVNode as L, mergeProps as k, createCommentVNode as K, resolveComponent as M, inject as ee, toValue as te, useId as re, onBeforeUnmount as ne, withKeys as se, renderSlot as q, Teleport as ae, unref as ie, createVNode as oe, Transition as le, withCtx as ue } from "vue";
|
|
2
|
+
import { a as he } from "./vendor-vueuse-core-BwXFv1rx.js";
|
|
3
|
+
import { j as ce } from "./vendor-vueuse-shared-BPTQMqzb.js";
|
|
4
|
+
import { L as de } from "./vendor-lucide-vue-next-CwUrzD6N.js";
|
|
5
|
+
import { a as fe, u as pe } from "./vendor-floating-ui-vue-sCrhit51.js";
|
|
6
|
+
import { o as me, f as ve, s as be, b as xe } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
|
|
7
|
+
const ge = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
|
|
8
|
+
function Ee(i, e) {
|
|
9
|
+
if (typeof e == "string" && ge.test(e)) {
|
|
10
10
|
const t = new Date(e);
|
|
11
11
|
if (!isNaN(t.getTime()))
|
|
12
12
|
return t;
|
|
@@ -20,7 +20,7 @@ class b {
|
|
|
20
20
|
* Subclasses use this when parsing API responses.
|
|
21
21
|
* The dateReviver function is defined in File.Header.liquid template.
|
|
22
22
|
*/
|
|
23
|
-
jsonParseReviver =
|
|
23
|
+
jsonParseReviver = Ee;
|
|
24
24
|
constructor() {
|
|
25
25
|
}
|
|
26
26
|
// Enforce always return empty string as baseUrl
|
|
@@ -34,7 +34,7 @@ class b {
|
|
|
34
34
|
return this.authToken && (e.headers.authorization = `Bearer ${this.authToken}`), Promise.resolve(e);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
class
|
|
37
|
+
class Ue extends b {
|
|
38
38
|
http;
|
|
39
39
|
baseUrl;
|
|
40
40
|
constructor(e, t) {
|
|
@@ -141,7 +141,7 @@ class Pe extends b {
|
|
|
141
141
|
}) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
class
|
|
144
|
+
class rt extends b {
|
|
145
145
|
http;
|
|
146
146
|
baseUrl;
|
|
147
147
|
constructor(e, t) {
|
|
@@ -210,7 +210,7 @@ class ut extends b {
|
|
|
210
210
|
}) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
class
|
|
213
|
+
class nt extends b {
|
|
214
214
|
http;
|
|
215
215
|
baseUrl;
|
|
216
216
|
constructor(e, t) {
|
|
@@ -240,7 +240,7 @@ class ht extends b {
|
|
|
240
240
|
}) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
class
|
|
243
|
+
class st extends b {
|
|
244
244
|
http;
|
|
245
245
|
baseUrl;
|
|
246
246
|
constructor(e, t) {
|
|
@@ -382,7 +382,7 @@ class ct extends b {
|
|
|
382
382
|
}) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
class
|
|
385
|
+
class at extends b {
|
|
386
386
|
http;
|
|
387
387
|
baseUrl;
|
|
388
388
|
constructor(e, t) {
|
|
@@ -583,7 +583,7 @@ class dt extends b {
|
|
|
583
583
|
}) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
|
-
class
|
|
586
|
+
class it extends b {
|
|
587
587
|
http;
|
|
588
588
|
baseUrl;
|
|
589
589
|
constructor(e, t) {
|
|
@@ -612,7 +612,7 @@ class ft extends b {
|
|
|
612
612
|
}) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
613
613
|
}
|
|
614
614
|
}
|
|
615
|
-
class
|
|
615
|
+
class ot extends b {
|
|
616
616
|
http;
|
|
617
617
|
baseUrl;
|
|
618
618
|
constructor(e, t) {
|
|
@@ -664,7 +664,7 @@ class pt extends b {
|
|
|
664
664
|
}) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
|
-
class
|
|
667
|
+
class lt extends b {
|
|
668
668
|
http;
|
|
669
669
|
baseUrl;
|
|
670
670
|
constructor(e, t) {
|
|
@@ -939,7 +939,7 @@ class mt extends b {
|
|
|
939
939
|
}) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
940
940
|
}
|
|
941
941
|
}
|
|
942
|
-
class
|
|
942
|
+
class ut extends b {
|
|
943
943
|
http;
|
|
944
944
|
baseUrl;
|
|
945
945
|
constructor(e, t) {
|
|
@@ -972,7 +972,7 @@ class vt extends b {
|
|
|
972
972
|
}) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
|
-
class
|
|
975
|
+
class ht extends b {
|
|
976
976
|
http;
|
|
977
977
|
baseUrl;
|
|
978
978
|
constructor(e, t) {
|
|
@@ -1076,7 +1076,7 @@ class bt extends b {
|
|
|
1076
1076
|
}) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
1077
1077
|
}
|
|
1078
1078
|
}
|
|
1079
|
-
class
|
|
1079
|
+
class ct extends b {
|
|
1080
1080
|
http;
|
|
1081
1081
|
baseUrl;
|
|
1082
1082
|
constructor(e, t) {
|
|
@@ -1532,7 +1532,7 @@ class xt extends b {
|
|
|
1532
1532
|
}) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
1533
1533
|
}
|
|
1534
1534
|
}
|
|
1535
|
-
class
|
|
1535
|
+
class dt extends b {
|
|
1536
1536
|
http;
|
|
1537
1537
|
baseUrl;
|
|
1538
1538
|
constructor(e, t) {
|
|
@@ -1634,7 +1634,7 @@ class gt extends b {
|
|
|
1634
1634
|
}) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
1635
1635
|
}
|
|
1636
1636
|
}
|
|
1637
|
-
class
|
|
1637
|
+
class ft extends b {
|
|
1638
1638
|
http;
|
|
1639
1639
|
baseUrl;
|
|
1640
1640
|
constructor(e, t) {
|
|
@@ -1690,7 +1690,7 @@ class Et extends b {
|
|
|
1690
1690
|
}) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
1691
1691
|
}
|
|
1692
1692
|
}
|
|
1693
|
-
class
|
|
1693
|
+
class ye extends b {
|
|
1694
1694
|
http;
|
|
1695
1695
|
baseUrl;
|
|
1696
1696
|
constructor(e, t) {
|
|
@@ -2827,7 +2827,7 @@ class Oe extends b {
|
|
|
2827
2827
|
}) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
2828
2828
|
}
|
|
2829
2829
|
}
|
|
2830
|
-
class
|
|
2830
|
+
class pt extends b {
|
|
2831
2831
|
http;
|
|
2832
2832
|
baseUrl;
|
|
2833
2833
|
constructor(e, t) {
|
|
@@ -2955,7 +2955,7 @@ class Ut extends b {
|
|
|
2955
2955
|
}) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
2956
2956
|
}
|
|
2957
2957
|
}
|
|
2958
|
-
class
|
|
2958
|
+
class mt extends b {
|
|
2959
2959
|
http;
|
|
2960
2960
|
baseUrl;
|
|
2961
2961
|
constructor(e, t) {
|
|
@@ -3224,8 +3224,8 @@ class yt extends b {
|
|
|
3224
3224
|
}) : t === 401 ? e.text().then((r) => a("Unauthorized", t, r, n)) : t === 403 ? e.text().then((r) => a("Forbidden", t, r, n)) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
|
|
3225
3225
|
}
|
|
3226
3226
|
}
|
|
3227
|
-
var
|
|
3228
|
-
class
|
|
3227
|
+
var Se = /* @__PURE__ */ ((i) => (i.AppMenu = "AppMenu", i.MainMenu = "MainMenu", i.Hidden = "Hidden", i))(Se || {}), Te = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.Html = "Html", i.Image = "Image", i))(Te || {}), _e = /* @__PURE__ */ ((i) => (i.Detached = "Detached", i.Unchanged = "Unchanged", i.Added = "Added", i.Deleted = "Deleted", i.Modified = "Modified", i))(_e || {}), Pe = /* @__PURE__ */ ((i) => (i.Undefined = "Undefined", i.Object = "Object", i.Array = "Array", i.String = "String", i.Number = "Number", i.True = "True", i.False = "False", i.Null = "Null", i))(Pe || {}), we = /* @__PURE__ */ ((i) => (i.Info = "Info", i.Warning = "Warning", i.Debug = "Debug", i.Error = "Error", i))(we || {}), Oe = /* @__PURE__ */ ((i) => (i.ShortText = "ShortText", i.LongText = "LongText", i.Integer = "Integer", i.Decimal = "Decimal", i.DateTime = "DateTime", i.Boolean = "Boolean", i.SecureString = "SecureString", i.Json = "Json", i.PositiveInteger = "PositiveInteger", i))(Oe || {}), Ae = /* @__PURE__ */ ((i) => (i.Ascending = "Ascending", i.Descending = "Descending", i))(Ae || {});
|
|
3228
|
+
class je extends Error {
|
|
3229
3229
|
message;
|
|
3230
3230
|
status;
|
|
3231
3231
|
response;
|
|
@@ -3240,21 +3240,21 @@ class Ne extends Error {
|
|
|
3240
3240
|
}
|
|
3241
3241
|
}
|
|
3242
3242
|
function a(i, e, t, n, r) {
|
|
3243
|
-
throw r ?? new
|
|
3243
|
+
throw r ?? new je(i, e, t, n, null);
|
|
3244
3244
|
}
|
|
3245
|
-
const
|
|
3245
|
+
const H = {
|
|
3246
3246
|
debug: 0,
|
|
3247
3247
|
info: 1,
|
|
3248
3248
|
warn: 2,
|
|
3249
3249
|
error: 3,
|
|
3250
3250
|
none: 4
|
|
3251
|
-
},
|
|
3251
|
+
}, Re = {
|
|
3252
3252
|
level: "warn",
|
|
3253
3253
|
prefix: "@vc-shell/framework",
|
|
3254
3254
|
enabled: !0
|
|
3255
3255
|
};
|
|
3256
|
-
function
|
|
3257
|
-
const e = { ...
|
|
3256
|
+
function U(i) {
|
|
3257
|
+
const e = { ...Re }, t = i ? `[${e.prefix}#${i}]` : `[${e.prefix}]`, n = (r) => e.enabled ? H[r] >= H[e.level] : !1;
|
|
3258
3258
|
return {
|
|
3259
3259
|
/**
|
|
3260
3260
|
* Log debug messages (only in development)
|
|
@@ -3283,7 +3283,7 @@ function y(i) {
|
|
|
3283
3283
|
/**
|
|
3284
3284
|
* Create a child logger with additional context
|
|
3285
3285
|
*/
|
|
3286
|
-
child: (r) =>
|
|
3286
|
+
child: (r) => U(i ? `${i}:${r}` : r),
|
|
3287
3287
|
/**
|
|
3288
3288
|
* Set the log level for this logger instance
|
|
3289
3289
|
*/
|
|
@@ -3298,16 +3298,16 @@ function y(i) {
|
|
|
3298
3298
|
}
|
|
3299
3299
|
};
|
|
3300
3300
|
}
|
|
3301
|
-
const
|
|
3302
|
-
core:
|
|
3303
|
-
ui:
|
|
3304
|
-
shared:
|
|
3305
|
-
plugins:
|
|
3306
|
-
services:
|
|
3307
|
-
composables:
|
|
3308
|
-
},
|
|
3309
|
-
const i = new
|
|
3310
|
-
|
|
3301
|
+
const vt = U(), bt = {
|
|
3302
|
+
core: U("core"),
|
|
3303
|
+
ui: U("ui"),
|
|
3304
|
+
shared: U("shared"),
|
|
3305
|
+
plugins: U("plugins"),
|
|
3306
|
+
services: U("services"),
|
|
3307
|
+
composables: U("composables")
|
|
3308
|
+
}, D = U("use-external-provider"), Ce = "externalSignIn", Ie = () => {
|
|
3309
|
+
const i = new Ue(), e = he(
|
|
3310
|
+
Ce,
|
|
3311
3311
|
{},
|
|
3312
3312
|
{
|
|
3313
3313
|
listenToStorageChanges: !0,
|
|
@@ -3323,18 +3323,18 @@ const St = y(), Tt = {
|
|
|
3323
3323
|
const l = window.location.origin, h = window.location.pathname ?? t() ?? "/";
|
|
3324
3324
|
if (!o)
|
|
3325
3325
|
throw new Error("The parameter 'authenticationType' cannot be null or undefined.");
|
|
3326
|
-
const
|
|
3327
|
-
|
|
3326
|
+
const v = new URL("/externalsignin", l);
|
|
3327
|
+
v.searchParams.set("authenticationType", o), v.searchParams.set("returnUrl", h), e.value = { providerType: o }, window.location.assign(v);
|
|
3328
3328
|
} catch (l) {
|
|
3329
|
-
throw
|
|
3329
|
+
throw D.error("External sign-in failed:", l), l;
|
|
3330
3330
|
}
|
|
3331
3331
|
}
|
|
3332
3332
|
async function r(o) {
|
|
3333
3333
|
try {
|
|
3334
|
-
const l = window.location.origin, h = window.location.pathname ?? "/",
|
|
3335
|
-
|
|
3334
|
+
const l = window.location.origin, h = window.location.pathname ?? "/", v = new URL("/externalsignin/signout", l);
|
|
3335
|
+
v.searchParams.set("authenticationType", o), v.searchParams.set("returnUrl", h), e.value = {}, window.location.assign(v);
|
|
3336
3336
|
} catch (l) {
|
|
3337
|
-
throw
|
|
3337
|
+
throw D.error("External sign-out failed:", l), l;
|
|
3338
3338
|
}
|
|
3339
3339
|
}
|
|
3340
3340
|
async function s() {
|
|
@@ -3342,7 +3342,7 @@ const St = y(), Tt = {
|
|
|
3342
3342
|
try {
|
|
3343
3343
|
o = await i.getExternalLoginProviders();
|
|
3344
3344
|
} catch (l) {
|
|
3345
|
-
|
|
3345
|
+
D.error("Failed to get external login providers:", l);
|
|
3346
3346
|
}
|
|
3347
3347
|
return o;
|
|
3348
3348
|
}
|
|
@@ -3353,25 +3353,25 @@ const St = y(), Tt = {
|
|
|
3353
3353
|
getProviders: s
|
|
3354
3354
|
};
|
|
3355
3355
|
};
|
|
3356
|
-
let
|
|
3357
|
-
function
|
|
3358
|
-
|
|
3356
|
+
let W = !1;
|
|
3357
|
+
function xt() {
|
|
3358
|
+
W = !0;
|
|
3359
3359
|
}
|
|
3360
|
-
function
|
|
3361
|
-
return
|
|
3360
|
+
function gt() {
|
|
3361
|
+
return W;
|
|
3362
3362
|
}
|
|
3363
|
-
function
|
|
3364
|
-
|
|
3363
|
+
function ze() {
|
|
3364
|
+
W = !1;
|
|
3365
3365
|
}
|
|
3366
|
-
class
|
|
3366
|
+
class Et extends Error {
|
|
3367
3367
|
constructor(e = "The session has expired, so this request was not completed.") {
|
|
3368
3368
|
super(e), this.name = "SessionExpiredError";
|
|
3369
3369
|
}
|
|
3370
3370
|
}
|
|
3371
|
-
const
|
|
3372
|
-
function
|
|
3371
|
+
const V = "vc_auth_data", f = U("use-user");
|
|
3372
|
+
function $e() {
|
|
3373
3373
|
try {
|
|
3374
|
-
const i = localStorage.getItem(
|
|
3374
|
+
const i = localStorage.getItem(V);
|
|
3375
3375
|
if (i)
|
|
3376
3376
|
return JSON.parse(i);
|
|
3377
3377
|
} catch (i) {
|
|
@@ -3379,25 +3379,25 @@ function Me() {
|
|
|
3379
3379
|
}
|
|
3380
3380
|
return null;
|
|
3381
3381
|
}
|
|
3382
|
-
function
|
|
3382
|
+
function Y(i) {
|
|
3383
3383
|
try {
|
|
3384
|
-
f.debug("storeAuthData - Saving:", i), localStorage.setItem(
|
|
3384
|
+
f.debug("storeAuthData - Saving:", i), localStorage.setItem(V, JSON.stringify(i)), f.debug("storeAuthData - Saved successfully");
|
|
3385
3385
|
} catch (e) {
|
|
3386
3386
|
f.error("Failed to store auth data:", e);
|
|
3387
3387
|
}
|
|
3388
3388
|
}
|
|
3389
|
-
function
|
|
3389
|
+
function Ne() {
|
|
3390
3390
|
try {
|
|
3391
|
-
localStorage.removeItem(
|
|
3391
|
+
localStorage.removeItem(V);
|
|
3392
3392
|
} catch (i) {
|
|
3393
3393
|
f.error("Failed to clear auth data:", i);
|
|
3394
3394
|
}
|
|
3395
3395
|
}
|
|
3396
|
-
function
|
|
3396
|
+
function Ge(i) {
|
|
3397
3397
|
const e = i?.status;
|
|
3398
3398
|
return e === 401 || e === 403;
|
|
3399
3399
|
}
|
|
3400
|
-
async function
|
|
3400
|
+
async function X(i) {
|
|
3401
3401
|
try {
|
|
3402
3402
|
const e = new URLSearchParams(i).toString(), t = await fetch("/connect/token", {
|
|
3403
3403
|
method: "POST",
|
|
@@ -3426,13 +3426,13 @@ async function re(i) {
|
|
|
3426
3426
|
return f.error("fetchToken - Exception:", e), null;
|
|
3427
3427
|
}
|
|
3428
3428
|
}
|
|
3429
|
-
function
|
|
3430
|
-
const i =
|
|
3431
|
-
async function
|
|
3429
|
+
function ke() {
|
|
3430
|
+
const i = _(!1), e = _(), t = _(null), { storage: n, signOut: r } = Ie(), s = new ye(), o = u(() => e.value?.userName != null), l = _(!1), h = u(() => l.value ? o.value ? "authenticated" : "anonymous" : "unknown");
|
|
3431
|
+
async function v(c, m) {
|
|
3432
3432
|
let E = !1;
|
|
3433
3433
|
try {
|
|
3434
3434
|
i.value = !0, E = await s.validatePasswordResetToken(c, {
|
|
3435
|
-
token:
|
|
3435
|
+
token: m
|
|
3436
3436
|
});
|
|
3437
3437
|
} catch {
|
|
3438
3438
|
} finally {
|
|
@@ -3440,121 +3440,121 @@ function Le() {
|
|
|
3440
3440
|
}
|
|
3441
3441
|
return E;
|
|
3442
3442
|
}
|
|
3443
|
-
async function
|
|
3443
|
+
async function N(c) {
|
|
3444
3444
|
return s.validatePassword(c);
|
|
3445
3445
|
}
|
|
3446
|
-
async function
|
|
3446
|
+
async function A(c, m, E) {
|
|
3447
3447
|
return s.resetPasswordByToken(c, {
|
|
3448
|
-
newPassword:
|
|
3448
|
+
newPassword: m,
|
|
3449
3449
|
token: E
|
|
3450
3450
|
});
|
|
3451
3451
|
}
|
|
3452
|
-
async function
|
|
3452
|
+
async function j(c, m, E = !1) {
|
|
3453
3453
|
f.debug("signIn - Entry point");
|
|
3454
3454
|
try {
|
|
3455
|
-
i.value = !0,
|
|
3456
|
-
const
|
|
3457
|
-
if (f.debug("signIn - Cookie login completed:",
|
|
3458
|
-
return
|
|
3455
|
+
i.value = !0, ze();
|
|
3456
|
+
const p = await s.login({ userName: c, password: m, rememberMe: E });
|
|
3457
|
+
if (f.debug("signIn - Cookie login completed:", p), !p.succeeded)
|
|
3458
|
+
return p;
|
|
3459
3459
|
f.debug("signIn - Requesting token...");
|
|
3460
|
-
const
|
|
3460
|
+
const I = await X({
|
|
3461
3461
|
grant_type: "password",
|
|
3462
3462
|
username: c,
|
|
3463
|
-
password:
|
|
3463
|
+
password: m,
|
|
3464
3464
|
scope: "offline_access"
|
|
3465
3465
|
});
|
|
3466
|
-
|
|
3467
|
-
const
|
|
3468
|
-
if (
|
|
3469
|
-
return e.value =
|
|
3466
|
+
I && (t.value = I, Y(t.value), f.debug("signIn - Token saved:", t.value));
|
|
3467
|
+
const z = await s.getCurrentUser();
|
|
3468
|
+
if (z)
|
|
3469
|
+
return e.value = z, l.value = !0, p;
|
|
3470
3470
|
throw { succeeded: !1 };
|
|
3471
|
-
} catch (
|
|
3472
|
-
f.error("signIn failed:",
|
|
3473
|
-
let
|
|
3474
|
-
if (
|
|
3471
|
+
} catch (p) {
|
|
3472
|
+
f.error("signIn failed:", p);
|
|
3473
|
+
let I = p.message;
|
|
3474
|
+
if (p.response)
|
|
3475
3475
|
try {
|
|
3476
|
-
const
|
|
3477
|
-
|
|
3476
|
+
const z = JSON.parse(p.response);
|
|
3477
|
+
I = z.errorDescription || z.errors?.[0]?.description || z.error || I;
|
|
3478
3478
|
} catch {
|
|
3479
3479
|
}
|
|
3480
|
-
return { succeeded: !1, error:
|
|
3480
|
+
return { succeeded: !1, error: I, status: p.status };
|
|
3481
3481
|
} finally {
|
|
3482
3482
|
i.value = !1;
|
|
3483
3483
|
}
|
|
3484
3484
|
}
|
|
3485
3485
|
async function R() {
|
|
3486
|
-
f.debug("signOut - Entry point"), e.value = void 0, l.value = !0,
|
|
3486
|
+
f.debug("signOut - Entry point"), e.value = void 0, l.value = !0, Ne(), t.value = null, n.value?.providerType ? await r(n.value.providerType) : s.logout();
|
|
3487
3487
|
}
|
|
3488
|
-
let
|
|
3489
|
-
async function
|
|
3490
|
-
return
|
|
3488
|
+
let T = null;
|
|
3489
|
+
async function C() {
|
|
3490
|
+
return T || (T = (async () => {
|
|
3491
3491
|
f.debug("loadUser - Entry point");
|
|
3492
3492
|
try {
|
|
3493
3493
|
i.value = !0, performance.mark("vc:auth-start");
|
|
3494
3494
|
const c = await s.getCurrentUser();
|
|
3495
3495
|
e.value = c, l.value = !0, performance.mark("vc:auth-done"), f.debug("User details loaded:", e.value);
|
|
3496
3496
|
} catch (c) {
|
|
3497
|
-
f.error("loadUser failed:", c),
|
|
3497
|
+
f.error("loadUser failed:", c), Ge(c) && (e.value = void 0, l.value = !0);
|
|
3498
3498
|
} finally {
|
|
3499
|
-
i.value = !1,
|
|
3499
|
+
i.value = !1, T = null;
|
|
3500
3500
|
}
|
|
3501
3501
|
return { ...e.value };
|
|
3502
|
-
})(),
|
|
3502
|
+
})(), T);
|
|
3503
3503
|
}
|
|
3504
|
-
async function
|
|
3504
|
+
async function w(c) {
|
|
3505
3505
|
try {
|
|
3506
3506
|
return i.value = !0, await s.requestPasswordReset(c), { succeeded: !0 };
|
|
3507
|
-
} catch (
|
|
3508
|
-
return { succeeded: !1, error:
|
|
3507
|
+
} catch (m) {
|
|
3508
|
+
return { succeeded: !1, error: m };
|
|
3509
3509
|
} finally {
|
|
3510
3510
|
i.value = !1;
|
|
3511
3511
|
}
|
|
3512
3512
|
}
|
|
3513
|
-
async function
|
|
3513
|
+
async function G(c, m) {
|
|
3514
3514
|
let E;
|
|
3515
3515
|
try {
|
|
3516
3516
|
i.value = !0;
|
|
3517
|
-
const
|
|
3517
|
+
const p = {
|
|
3518
3518
|
oldPassword: c,
|
|
3519
|
-
newPassword:
|
|
3519
|
+
newPassword: m
|
|
3520
3520
|
};
|
|
3521
|
-
E = await s.changeCurrentUserPassword(
|
|
3522
|
-
} catch (
|
|
3523
|
-
return { succeeded: !1, errors: [
|
|
3521
|
+
E = await s.changeCurrentUserPassword(p);
|
|
3522
|
+
} catch (p) {
|
|
3523
|
+
return { succeeded: !1, errors: [p.message] };
|
|
3524
3524
|
} finally {
|
|
3525
3525
|
i.value = !1;
|
|
3526
3526
|
}
|
|
3527
3527
|
return E;
|
|
3528
3528
|
}
|
|
3529
|
-
async function
|
|
3529
|
+
async function d() {
|
|
3530
3530
|
let c = null;
|
|
3531
3531
|
try {
|
|
3532
3532
|
c = await s.getLoginTypes();
|
|
3533
|
-
} catch (
|
|
3534
|
-
throw f.error("getLoginType failed:",
|
|
3533
|
+
} catch (m) {
|
|
3534
|
+
throw f.error("getLoginType failed:", m), m;
|
|
3535
3535
|
}
|
|
3536
3536
|
return c;
|
|
3537
3537
|
}
|
|
3538
|
-
const
|
|
3539
|
-
async function
|
|
3540
|
-
if (f.debug("getAccessToken - Entry point"), t.value || (t.value =
|
|
3538
|
+
const y = 60 * 1e3;
|
|
3539
|
+
async function x() {
|
|
3540
|
+
if (f.debug("getAccessToken - Entry point"), t.value || (t.value = $e()), !t.value)
|
|
3541
3541
|
return f.debug("getAccessToken - No auth data available"), null;
|
|
3542
|
-
const c = Date.now(),
|
|
3542
|
+
const c = Date.now(), m = t.value.expires_at, E = m ? c >= m - y : !1;
|
|
3543
3543
|
if (f.debug("getAccessToken - Token status:", {
|
|
3544
3544
|
hasToken: !!t.value.access_token,
|
|
3545
|
-
expiresAt:
|
|
3545
|
+
expiresAt: m ? new Date(m).toISOString() : "not set",
|
|
3546
3546
|
now: new Date(c).toISOString(),
|
|
3547
3547
|
shouldRefresh: E,
|
|
3548
3548
|
hasRefreshToken: !!t.value.refresh_token
|
|
3549
3549
|
}), E && t.value.refresh_token) {
|
|
3550
3550
|
f.debug("getAccessToken - Token expired or expiring soon, attempting refresh");
|
|
3551
|
-
const
|
|
3551
|
+
const p = await X({
|
|
3552
3552
|
grant_type: "refresh_token",
|
|
3553
3553
|
refresh_token: t.value.refresh_token,
|
|
3554
3554
|
scope: "offline_access"
|
|
3555
3555
|
});
|
|
3556
|
-
|
|
3557
|
-
expiresAt:
|
|
3556
|
+
p ? (p.refresh_token = p.refresh_token ?? t.value.refresh_token, t.value = p, Y(t.value), f.debug("getAccessToken - Token refreshed successfully, new expiry:", {
|
|
3557
|
+
expiresAt: p.expires_at ? new Date(p.expires_at).toISOString() : "not set"
|
|
3558
3558
|
})) : f.warn("getAccessToken - Failed to refresh token, returning existing token");
|
|
3559
3559
|
}
|
|
3560
3560
|
return t.value?.access_token ?? t.value?.token ?? null;
|
|
@@ -3565,20 +3565,20 @@ function Le() {
|
|
|
3565
3565
|
isAdministrator: u(() => e.value?.isAdministrator),
|
|
3566
3566
|
isAuthenticated: o,
|
|
3567
3567
|
authState: h,
|
|
3568
|
-
loadUser:
|
|
3569
|
-
signIn:
|
|
3568
|
+
loadUser: C,
|
|
3569
|
+
signIn: j,
|
|
3570
3570
|
signOut: R,
|
|
3571
|
-
validateToken:
|
|
3572
|
-
validatePassword:
|
|
3573
|
-
resetPasswordByToken:
|
|
3574
|
-
requestPasswordReset:
|
|
3575
|
-
changeUserPassword:
|
|
3576
|
-
getLoginType:
|
|
3577
|
-
getAccessToken:
|
|
3571
|
+
validateToken: v,
|
|
3572
|
+
validatePassword: N,
|
|
3573
|
+
resetPasswordByToken: A,
|
|
3574
|
+
requestPasswordReset: w,
|
|
3575
|
+
changeUserPassword: G,
|
|
3576
|
+
getLoginType: d,
|
|
3577
|
+
getAccessToken: x
|
|
3578
3578
|
};
|
|
3579
3579
|
}
|
|
3580
|
-
const
|
|
3581
|
-
const i =
|
|
3580
|
+
const Je = ce(ke), Ut = () => {
|
|
3581
|
+
const i = Je();
|
|
3582
3582
|
return {
|
|
3583
3583
|
user: i.user,
|
|
3584
3584
|
loading: i.loading,
|
|
@@ -3588,12 +3588,12 @@ const Ke = ye(Le), Ot = () => {
|
|
|
3588
3588
|
signOut: i.signOut,
|
|
3589
3589
|
getAccessToken: i.getAccessToken
|
|
3590
3590
|
};
|
|
3591
|
-
},
|
|
3591
|
+
}, yt = Object.freeze({
|
|
3592
3592
|
push: () => {
|
|
3593
3593
|
},
|
|
3594
3594
|
replace: () => {
|
|
3595
3595
|
}
|
|
3596
|
-
}),
|
|
3596
|
+
}), St = Symbol("BladeStack"), Tt = Symbol("BladeMessaging"), _t = Symbol("BladeDescriptor"), Pt = Symbol("BladeMaximized"), wt = Symbol("BladeRenderingState"), Ot = Symbol("BladeData"), At = Symbol("BladeBanners"), jt = Symbol("BladeBackButton"), Rt = Symbol("NotificationStore"), Ct = Symbol("WidgetService"), It = Symbol("DashboardService"), zt = Symbol("MenuService"), $t = Symbol("SettingsMenuService"), Nt = Symbol("AppBarWidgetService"), Gt = Symbol("AppBarMobileButtonsService"), kt = Symbol("LanguageService"), Jt = Symbol("ToolbarService"), Ft = Symbol("DynamicModules"), Mt = Symbol("ModulesReady"), Dt = Symbol("ModulesLoadError"), Fe = Symbol("AppRootElement"), Bt = Symbol("EmbeddedMode"), Lt = Symbol("ShellIndicators"), Kt = Symbol("AiAgentService"), Wt = Symbol("IsMobile"), Vt = Symbol("IsDesktop"), qt = Symbol("IsPhone"), Ht = Symbol("IsTablet"), Yt = Symbol("IsTouch"), Xt = Symbol("BladeRoutes"), Zt = Symbol("InternalRoutes"), Qt = Symbol("CloseSettingsMenu"), er = Symbol("BladeContext"), tr = Symbol("WidgetScope"), rr = Symbol("BladeForm"), nr = Symbol("BladeLoading"), Me = /* @__PURE__ */ O({
|
|
3597
3597
|
__name: "vc-material-icon",
|
|
3598
3598
|
props: {
|
|
3599
3599
|
icon: {},
|
|
@@ -3604,19 +3604,19 @@ const Ke = ye(Le), Ot = () => {
|
|
|
3604
3604
|
},
|
|
3605
3605
|
setup(i) {
|
|
3606
3606
|
const e = i, t = u(() => typeof e.customSize == "number" && e.customSize > 0), n = u(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
|
|
3607
|
-
return
|
|
3608
|
-
}), (r, s) => (
|
|
3607
|
+
return F(() => {
|
|
3608
|
+
}), (r, s) => (g(), S("span", {
|
|
3609
3609
|
class: P([
|
|
3610
3610
|
"vc-material-icon",
|
|
3611
3611
|
"material-symbols-" + i.type,
|
|
3612
3612
|
!t.value && `vc-material-icon--${i.size}`,
|
|
3613
3613
|
i.variant ? `vc-material-icon--${i.variant}` : ""
|
|
3614
3614
|
]),
|
|
3615
|
-
style:
|
|
3615
|
+
style: $(n.value),
|
|
3616
3616
|
"aria-hidden": "true"
|
|
3617
|
-
},
|
|
3617
|
+
}, Q(i.icon), 7));
|
|
3618
3618
|
}
|
|
3619
|
-
}),
|
|
3619
|
+
}), De = /* @__PURE__ */ O({
|
|
3620
3620
|
__name: "vc-bootstrap-icon",
|
|
3621
3621
|
props: {
|
|
3622
3622
|
icon: {},
|
|
@@ -3626,21 +3626,21 @@ const Ke = ye(Le), Ot = () => {
|
|
|
3626
3626
|
},
|
|
3627
3627
|
setup(i) {
|
|
3628
3628
|
const e = i, t = u(() => typeof e.customSize == "number" && e.customSize > 0), n = u(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
|
|
3629
|
-
|
|
3629
|
+
F(() => {
|
|
3630
3630
|
});
|
|
3631
3631
|
const r = u(() => e.icon ? `bi-${e.icon.startsWith("bi-") ? e.icon.substring(3) : e.icon}` : "");
|
|
3632
|
-
return (s, o) => (
|
|
3632
|
+
return (s, o) => (g(), S("i", {
|
|
3633
3633
|
class: P([
|
|
3634
3634
|
"vc-bootstrap-icon",
|
|
3635
3635
|
!t.value && `vc-bootstrap-icon--${i.size}`,
|
|
3636
3636
|
r.value,
|
|
3637
3637
|
i.variant ? `vc-bootstrap-icon--${i.variant}` : ""
|
|
3638
3638
|
]),
|
|
3639
|
-
style:
|
|
3639
|
+
style: $(n.value),
|
|
3640
3640
|
"aria-hidden": "true"
|
|
3641
3641
|
}, null, 6));
|
|
3642
3642
|
}
|
|
3643
|
-
}),
|
|
3643
|
+
}), Be = /* @__PURE__ */ O({
|
|
3644
3644
|
__name: "vc-lucide-icon",
|
|
3645
3645
|
props: {
|
|
3646
3646
|
icon: {},
|
|
@@ -3650,18 +3650,18 @@ const Ke = ye(Le), Ot = () => {
|
|
|
3650
3650
|
customSize: {}
|
|
3651
3651
|
},
|
|
3652
3652
|
setup(i) {
|
|
3653
|
-
const e =
|
|
3653
|
+
const e = U("vc-lucide-icon"), t = i, n = u(() => typeof t.customSize == "number" && t.customSize > 0), r = u(() => {
|
|
3654
3654
|
if (!t.icon) return "HelpCircleIcon";
|
|
3655
3655
|
let l = t.icon;
|
|
3656
3656
|
return l.startsWith("lucide-") && (l = l.substring(7)), l.toLowerCase().endsWith("icon") && (l = l.slice(0, -4)), l.includes("-") && (l = l.split("-").map((h) => h.charAt(0).toUpperCase() + h.slice(1)).join("")), l.charAt(0).toUpperCase() + l.slice(1) + "Icon";
|
|
3657
3657
|
}), s = u(() => {
|
|
3658
|
-
const l = r.value, h =
|
|
3659
|
-
return !h || typeof h != "object" && typeof h != "function" ? (e.warn(`Lucide icon not found: ${l}`), null) :
|
|
3658
|
+
const l = r.value, h = de[l];
|
|
3659
|
+
return !h || typeof h != "object" && typeof h != "function" ? (e.warn(`Lucide icon not found: ${l}`), null) : Z(h);
|
|
3660
3660
|
}), o = u(() => n.value && t.customSize ? {
|
|
3661
3661
|
width: `${t.customSize}px`,
|
|
3662
3662
|
height: `${t.customSize}px`
|
|
3663
3663
|
} : {});
|
|
3664
|
-
return (l, h) => s.value ? (
|
|
3664
|
+
return (l, h) => s.value ? (g(), J(B(s.value), {
|
|
3665
3665
|
key: 0,
|
|
3666
3666
|
"stroke-width": t.strokeWidth,
|
|
3667
3667
|
class: P([
|
|
@@ -3669,16 +3669,16 @@ const Ke = ye(Le), Ot = () => {
|
|
|
3669
3669
|
!n.value && `vc-lucide-icon--${i.size}`,
|
|
3670
3670
|
i.variant ? `vc-lucide-icon--${i.variant}` : ""
|
|
3671
3671
|
]),
|
|
3672
|
-
style:
|
|
3672
|
+
style: $(o.value),
|
|
3673
3673
|
"aria-hidden": "true"
|
|
3674
|
-
}, null, 8, ["stroke-width", "class", "style"])) : (
|
|
3674
|
+
}, null, 8, ["stroke-width", "class", "style"])) : (g(), S("span", {
|
|
3675
3675
|
key: 1,
|
|
3676
3676
|
class: P(["vc-lucide-icon", !n.value && `vc-lucide-icon--${i.size}`])
|
|
3677
3677
|
}, [...h[0] || (h[0] = [
|
|
3678
|
-
|
|
3678
|
+
L("i", { class: "vc-lucide-icon__fallback" }, null, -1)
|
|
3679
3679
|
])], 2));
|
|
3680
3680
|
}
|
|
3681
|
-
}),
|
|
3681
|
+
}), Le = /* @__PURE__ */ O({
|
|
3682
3682
|
__name: "vc-fontawesome-icon",
|
|
3683
3683
|
props: {
|
|
3684
3684
|
icon: {},
|
|
@@ -3688,21 +3688,21 @@ const Ke = ye(Le), Ot = () => {
|
|
|
3688
3688
|
},
|
|
3689
3689
|
setup(i) {
|
|
3690
3690
|
const e = i, t = u(() => typeof e.customSize == "number" && e.customSize > 0), n = u(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
|
|
3691
|
-
|
|
3691
|
+
F(() => {
|
|
3692
3692
|
});
|
|
3693
3693
|
const r = u(() => e.icon.startsWith("fas ") || e.icon.startsWith("far ") || e.icon.startsWith("fal ") || e.icon.startsWith("fab ") || e.icon.startsWith("fad ") ? e.icon : e.icon.startsWith("fa-") ? `fas ${e.icon}` : e.icon.includes("fa-") ? e.icon : `fas fa-${e.icon}`);
|
|
3694
|
-
return (s, o) => (
|
|
3694
|
+
return (s, o) => (g(), S("i", {
|
|
3695
3695
|
class: P([
|
|
3696
3696
|
"vc-fa-icon",
|
|
3697
3697
|
!t.value && `vc-fa-icon--${i.size}`,
|
|
3698
3698
|
r.value,
|
|
3699
3699
|
i.variant ? `vc-fa-icon--${i.variant}` : ""
|
|
3700
3700
|
]),
|
|
3701
|
-
style:
|
|
3701
|
+
style: $(n.value),
|
|
3702
3702
|
"aria-hidden": "true"
|
|
3703
3703
|
}, null, 6));
|
|
3704
3704
|
}
|
|
3705
|
-
}),
|
|
3705
|
+
}), Ke = ["xlink:href"], We = /* @__PURE__ */ O({
|
|
3706
3706
|
inheritAttrs: !1,
|
|
3707
3707
|
__name: "vc-svg-icon",
|
|
3708
3708
|
props: {
|
|
@@ -3727,18 +3727,18 @@ const Ke = ye(Le), Ot = () => {
|
|
|
3727
3727
|
const s = {};
|
|
3728
3728
|
return e.customSize && (s.width = `${e.customSize}px`, s.height = `${e.customSize}px`), e.strokeWidth && (s.strokeWidth = `${e.strokeWidth}`), s;
|
|
3729
3729
|
});
|
|
3730
|
-
return (s, o) => (
|
|
3730
|
+
return (s, o) => (g(), S("svg", k({
|
|
3731
3731
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3732
3732
|
class: ["vc-svg-icon", !t.value && `vc-svg-icon--${i.size}`, i.variant ? `vc-svg-icon--${i.variant}` : ""],
|
|
3733
3733
|
style: r.value
|
|
3734
3734
|
}, s.$attrs), [
|
|
3735
|
-
n.value ? (
|
|
3735
|
+
n.value ? (g(), S("use", {
|
|
3736
3736
|
key: 0,
|
|
3737
3737
|
"xlink:href": n.value
|
|
3738
|
-
}, null, 8,
|
|
3738
|
+
}, null, 8, Ke)) : K("", !0)
|
|
3739
3739
|
], 16));
|
|
3740
3740
|
}
|
|
3741
|
-
}),
|
|
3741
|
+
}), Ve = ["aria-hidden", "aria-label", "role"], sr = /* @__PURE__ */ O({
|
|
3742
3742
|
__name: "vc-icon",
|
|
3743
3743
|
props: {
|
|
3744
3744
|
icon: { default: "lucide-square" },
|
|
@@ -3751,7 +3751,7 @@ const Ke = ye(Le), Ot = () => {
|
|
|
3751
3751
|
},
|
|
3752
3752
|
setup(i) {
|
|
3753
3753
|
const e = i;
|
|
3754
|
-
|
|
3754
|
+
F(() => {
|
|
3755
3755
|
});
|
|
3756
3756
|
const t = {
|
|
3757
3757
|
xs: 12,
|
|
@@ -3771,55 +3771,40 @@ const Ke = ye(Le), Ot = () => {
|
|
|
3771
3771
|
return d.endsWith("Icon") ? d : `${d}Icon`;
|
|
3772
3772
|
}
|
|
3773
3773
|
return e.icon;
|
|
3774
|
-
}), s =
|
|
3775
|
-
[
|
|
3776
|
-
// chevron-left, arrow-right-from-line, arrow-big-left, box-arrow-in-right, panel-left-open, caret-right...
|
|
3777
|
-
// (not arrow-left-right: it reads the same both ways)
|
|
3778
|
-
"^(?:chevrons?|arrow(?:-big)?|caret|angles?|angle-double|circle-(?:arrow|chevron)|square-(?:arrow|chevron)|corner-(?:up|down)|panel|box-arrow(?:-in)?|keyboard-arrow|long-arrow|step|skip)-(?:left|right)(?!-(?:left|right)$)(?:$|-)",
|
|
3779
|
-
// log-in, sign-out-alt, right-from-bracket, undo-2, reply-all, Material's arrow_back / navigate_next / logout
|
|
3780
|
-
"^(?:log|sign)-?(?:in|out)(?:-alt)?$",
|
|
3781
|
-
"^(?:arrow-)?right-(?:from|to)-bracket$",
|
|
3782
|
-
"^(?:undo|redo|reply)(?:-|$)",
|
|
3783
|
-
"^(?:forward|arrow-back|arrow-forward|arrow-back-ios(?:-new)?|arrow-forward-ios|navigate-next|navigate-before|first-page|last-page|login|logout)$"
|
|
3784
|
-
].join("|")
|
|
3785
|
-
), o = u(() => {
|
|
3786
|
-
if (typeof e.icon != "string") return !1;
|
|
3787
|
-
const d = e.icon.replace(/^(?:fa[a-z-]*\s+)?fa-/, "").replace(/^(?:lucide|bi|material)-/, "").replace(/-(?:outlined|rounded|sharp|fill)$/, "").replace(/Icon$/, "").replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/_/g, "-").toLowerCase();
|
|
3788
|
-
return s.test(d);
|
|
3789
|
-
}), l = u(() => n.value === "material"), h = u(() => n.value === "bootstrap"), m = u(() => n.value === "lucide"), g = u(() => n.value === "fontawesome"), x = u(() => {
|
|
3774
|
+
}), s = u(() => n.value === "material"), o = u(() => n.value === "bootstrap"), l = u(() => n.value === "lucide"), h = u(() => n.value === "fontawesome"), v = u(() => {
|
|
3790
3775
|
if (typeof e.icon != "string")
|
|
3791
3776
|
return !0;
|
|
3792
3777
|
if (["fontawesome", "bootstrap"].includes(n.value) || n.value === "material" && e.icon.startsWith("material-") || n.value === "lucide" && e.icon.startsWith("lucide-"))
|
|
3793
3778
|
return !1;
|
|
3794
|
-
if (
|
|
3779
|
+
if (l.value)
|
|
3795
3780
|
try {
|
|
3796
3781
|
const d = typeof r.value == "string" ? r.value : String(r.value);
|
|
3797
|
-
return
|
|
3782
|
+
return M(d) !== d;
|
|
3798
3783
|
} catch {
|
|
3799
3784
|
return !1;
|
|
3800
3785
|
}
|
|
3801
3786
|
try {
|
|
3802
|
-
return
|
|
3787
|
+
return M(e.icon) !== e.icon;
|
|
3803
3788
|
} catch {
|
|
3804
3789
|
return !1;
|
|
3805
3790
|
}
|
|
3806
|
-
}),
|
|
3791
|
+
}), N = u(() => {
|
|
3807
3792
|
if (typeof e.icon != "string")
|
|
3808
|
-
return
|
|
3793
|
+
return Z(e.icon);
|
|
3809
3794
|
if (["fontawesome", "bootstrap", "material"].includes(n.value))
|
|
3810
3795
|
return "i";
|
|
3811
3796
|
try {
|
|
3812
|
-
const d = typeof r.value == "string" ? r.value : String(r.value),
|
|
3813
|
-
return
|
|
3797
|
+
const d = typeof r.value == "string" ? r.value : String(r.value), y = M(d);
|
|
3798
|
+
return y !== d ? y : "i";
|
|
3814
3799
|
} catch {
|
|
3815
3800
|
return "i";
|
|
3816
3801
|
}
|
|
3817
|
-
}),
|
|
3802
|
+
}), A = u(() => s.value ? Me : o.value ? De : l.value ? Be : h.value ? Le : w.value ? We : v.value ? N.value : "i"), j = u(() => e.customSize ? e.customSize : t[e.size]), R = u(() => {
|
|
3818
3803
|
const d = {};
|
|
3819
|
-
return
|
|
3820
|
-
}),
|
|
3804
|
+
return v.value && e.customSize && (d.width = `${e.customSize}px`, d.height = `${e.customSize}px`), d;
|
|
3805
|
+
}), T = u(() => e.customSize ? {
|
|
3821
3806
|
fontSize: `${e.customSize}px`
|
|
3822
|
-
} : {}), C = u(() =>
|
|
3807
|
+
} : {}), C = u(() => s.value ? {
|
|
3823
3808
|
icon: typeof r.value == "string" ? r.value.replace(/-outlined$|-rounded$|-sharp$/, "") : r.value,
|
|
3824
3809
|
size: e.size,
|
|
3825
3810
|
variant: e.variant,
|
|
@@ -3829,132 +3814,74 @@ const Ke = ye(Le), Ot = () => {
|
|
|
3829
3814
|
grade: 0,
|
|
3830
3815
|
customSize: e.customSize
|
|
3831
3816
|
// Set custom size without scaling
|
|
3832
|
-
} :
|
|
3817
|
+
} : o.value ? {
|
|
3833
3818
|
icon: typeof e.icon == "string" ? e.icon : "",
|
|
3834
3819
|
size: e.size,
|
|
3835
3820
|
variant: e.variant,
|
|
3836
3821
|
customSize: e.customSize
|
|
3837
3822
|
// Set custom size without scaling
|
|
3838
|
-
} :
|
|
3823
|
+
} : l.value ? {
|
|
3839
3824
|
icon: typeof r.value == "string" ? r.value : String(r.value),
|
|
3840
3825
|
size: e.size,
|
|
3841
3826
|
variant: e.variant,
|
|
3842
3827
|
strokeWidth: 1.5,
|
|
3843
3828
|
customSize: e.customSize
|
|
3844
3829
|
// Set custom size without scaling
|
|
3845
|
-
} :
|
|
3830
|
+
} : h.value ? {
|
|
3846
3831
|
icon: typeof e.icon == "string" ? e.icon : "",
|
|
3847
3832
|
size: e.size,
|
|
3848
3833
|
variant: e.variant,
|
|
3849
3834
|
customSize: e.customSize
|
|
3850
3835
|
// Set custom size without scaling
|
|
3851
|
-
} :
|
|
3852
|
-
icon:
|
|
3836
|
+
} : w.value ? {
|
|
3837
|
+
icon: G.value,
|
|
3853
3838
|
size: e.size,
|
|
3854
3839
|
variant: e.variant,
|
|
3855
3840
|
customSize: e.customSize,
|
|
3856
3841
|
basePath: e.basePath
|
|
3857
|
-
} :
|
|
3842
|
+
} : v.value ? {
|
|
3858
3843
|
size: e.size,
|
|
3859
|
-
width:
|
|
3860
|
-
height:
|
|
3844
|
+
width: j.value,
|
|
3845
|
+
height: j.value,
|
|
3861
3846
|
color: e.variant ? `var(--icon-color-${e.variant})` : "currentColor"
|
|
3862
|
-
} : {}),
|
|
3863
|
-
return (d,
|
|
3847
|
+
} : {}), w = u(() => n.value === "svg"), G = u(() => !w.value || typeof e.icon != "string" ? "" : e.icon.startsWith("svg:") ? e.icon.substring(4) : e.icon);
|
|
3848
|
+
return (d, y) => i.useContainer ? (g(), S("div", k({
|
|
3864
3849
|
key: 0,
|
|
3865
3850
|
class: ["vc-icon-container", `vc-icon-container--${i.size}`],
|
|
3866
|
-
style:
|
|
3851
|
+
style: T.value,
|
|
3867
3852
|
"aria-hidden": i.ariaLabel ? void 0 : "true",
|
|
3868
3853
|
"aria-label": i.ariaLabel || void 0,
|
|
3869
3854
|
role: i.ariaLabel ? "img" : void 0
|
|
3870
3855
|
}, d.$attrs), [
|
|
3871
|
-
(
|
|
3856
|
+
(g(), J(B(A.value), k({
|
|
3872
3857
|
class: [
|
|
3873
3858
|
"vc-icon",
|
|
3874
3859
|
`vc-icon--${i.size}`,
|
|
3875
3860
|
i.variant ? `vc-icon--${i.variant}` : "",
|
|
3876
|
-
|
|
3877
|
-
!x.value && !l.value && !m.value && !h.value && !g.value ? i.icon.toLowerCase() : ""
|
|
3861
|
+
!v.value && !s.value && !l.value && !o.value && !h.value ? i.icon.toLowerCase() : ""
|
|
3878
3862
|
],
|
|
3879
|
-
style:
|
|
3863
|
+
style: R.value
|
|
3880
3864
|
}, C.value), null, 16, ["class", "style"]))
|
|
3881
|
-
], 16,
|
|
3865
|
+
], 16, Ve)) : (g(), J(B(A.value), k({
|
|
3882
3866
|
key: 1,
|
|
3883
3867
|
class: [
|
|
3884
3868
|
"vc-icon",
|
|
3885
3869
|
`vc-icon--${i.size}`,
|
|
3886
3870
|
i.variant ? `vc-icon--${i.variant}` : "",
|
|
3887
|
-
|
|
3888
|
-
!x.value && !l.value && !m.value && !h.value && !g.value ? i.icon.toLowerCase() : ""
|
|
3871
|
+
!v.value && !s.value && !l.value && !o.value && !h.value ? i.icon.toLowerCase() : ""
|
|
3889
3872
|
],
|
|
3890
|
-
style:
|
|
3873
|
+
style: R.value,
|
|
3891
3874
|
"aria-hidden": i.ariaLabel ? void 0 : "true",
|
|
3892
3875
|
"aria-label": i.ariaLabel || void 0,
|
|
3893
3876
|
role: i.ariaLabel ? "img" : void 0
|
|
3894
3877
|
}, { ...C.value, ...d.$attrs }), null, 16, ["class", "style", "aria-hidden", "aria-label", "role"]));
|
|
3895
3878
|
}
|
|
3896
|
-
})
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
return document.documentElement.getAttribute("dir")?.toLowerCase() === "rtl" ? "rtl" : "ltr";
|
|
3900
|
-
}
|
|
3901
|
-
function et() {
|
|
3902
|
-
K || typeof document > "u" || typeof MutationObserver > "u" || (M.value = Y(), K = new MutationObserver(() => {
|
|
3903
|
-
M.value = Y();
|
|
3904
|
-
}), K.observe(document.documentElement, { attributes: !0, attributeFilter: ["dir"] }));
|
|
3905
|
-
}
|
|
3906
|
-
function le() {
|
|
3907
|
-
return et(), {
|
|
3908
|
-
dir: ce(M),
|
|
3909
|
-
isRtl: u(() => M.value === "rtl")
|
|
3910
|
-
};
|
|
3911
|
-
}
|
|
3912
|
-
function dr(i) {
|
|
3913
|
-
return !i || typeof getComputedStyle > "u" ? Y() === "rtl" : getComputedStyle(i).direction === "rtl";
|
|
3914
|
-
}
|
|
3915
|
-
function ue(i) {
|
|
3916
|
-
return i.startsWith("left") ? i.replace("left", "right") : i.startsWith("right") ? i.replace("right", "left") : i;
|
|
3917
|
-
}
|
|
3918
|
-
function fr(i, e, t = {}) {
|
|
3919
|
-
const { isRtl: n } = le(), r = u(() => {
|
|
3920
|
-
const m = w(t.placement) ?? "bottom";
|
|
3921
|
-
return n.value ? ue(m) : m;
|
|
3922
|
-
}), s = u(() => w(t.strategy) ?? "absolute"), o = u(() => {
|
|
3923
|
-
const m = w(t.middleware);
|
|
3924
|
-
if (m?.length)
|
|
3925
|
-
return m;
|
|
3926
|
-
const g = [];
|
|
3927
|
-
w(t.enableFlip) !== !1 && g.push(ae({ padding: t.shiftPadding ?? 8 })), w(t.enableShift) !== !1 && g.push(ie({ padding: t.shiftPadding ?? 8 }));
|
|
3928
|
-
const x = w(t.offset);
|
|
3929
|
-
return typeof x == "number" ? g.push(H(x)) : g.push(
|
|
3930
|
-
H({
|
|
3931
|
-
mainAxis: x?.mainAxis ?? 0,
|
|
3932
|
-
crossAxis: x?.crossAxis ?? 0,
|
|
3933
|
-
alignmentAxis: x?.alignmentAxis
|
|
3934
|
-
})
|
|
3935
|
-
), g;
|
|
3936
|
-
}), l = se(i, e, {
|
|
3937
|
-
placement: r,
|
|
3938
|
-
strategy: s,
|
|
3939
|
-
whileElementsMounted: w(t.autoUpdate) === !1 ? void 0 : oe,
|
|
3940
|
-
middleware: o
|
|
3941
|
-
}), h = u(() => ({
|
|
3942
|
-
position: s.value,
|
|
3943
|
-
top: `${l.y.value ?? 0}px`,
|
|
3944
|
-
left: `${l.x.value ?? 0}px`
|
|
3945
|
-
}));
|
|
3946
|
-
return {
|
|
3947
|
-
...l,
|
|
3948
|
-
floatingStyle: h,
|
|
3949
|
-
resolvedPlacement: r,
|
|
3950
|
-
resolvedStrategy: s
|
|
3951
|
-
};
|
|
3952
|
-
}
|
|
3953
|
-
function tt(i = {}) {
|
|
3954
|
-
const e = de(We, void 0);
|
|
3879
|
+
});
|
|
3880
|
+
function qe(i = {}) {
|
|
3881
|
+
const e = ee(Fe, void 0);
|
|
3955
3882
|
return {
|
|
3956
3883
|
teleportTarget: u(() => {
|
|
3957
|
-
const n = i.to ?
|
|
3884
|
+
const n = i.to ? te(i.to) : void 0;
|
|
3958
3885
|
if (n)
|
|
3959
3886
|
return n;
|
|
3960
3887
|
if (e?.value)
|
|
@@ -3964,7 +3891,7 @@ function tt(i = {}) {
|
|
|
3964
3891
|
})
|
|
3965
3892
|
};
|
|
3966
3893
|
}
|
|
3967
|
-
const
|
|
3894
|
+
const He = ["aria-describedby"], ar = /* @__PURE__ */ O({
|
|
3968
3895
|
__name: "vc-tooltip",
|
|
3969
3896
|
props: {
|
|
3970
3897
|
placement: { default: "bottom" },
|
|
@@ -3979,91 +3906,88 @@ const rt = ["aria-describedby"], pr = /* @__PURE__ */ A({
|
|
|
3979
3906
|
disabled: { type: Boolean, default: !1 }
|
|
3980
3907
|
},
|
|
3981
3908
|
setup(i) {
|
|
3982
|
-
const e = i, t = `vc-tooltip-${
|
|
3909
|
+
const e = i, t = `vc-tooltip-${re()}`, n = _(!1), r = _(null), s = _(null), o = _(null), l = _(null);
|
|
3983
3910
|
let h = null;
|
|
3984
|
-
const { teleportTarget:
|
|
3985
|
-
const
|
|
3986
|
-
|
|
3911
|
+
const { teleportTarget: v } = qe(), N = u(() => {
|
|
3912
|
+
const x = [
|
|
3913
|
+
me({
|
|
3987
3914
|
mainAxis: e.offset?.mainAxis ?? 8,
|
|
3988
3915
|
crossAxis: e.offset?.crossAxis ?? 0
|
|
3989
3916
|
}),
|
|
3990
|
-
|
|
3991
|
-
|
|
3917
|
+
ve({ padding: 8 }),
|
|
3918
|
+
be({ padding: 8 })
|
|
3992
3919
|
];
|
|
3993
|
-
return e.arrow &&
|
|
3920
|
+
return e.arrow && x.push(fe({ element: o, padding: 4 })), x;
|
|
3994
3921
|
}), {
|
|
3995
|
-
floatingStyles:
|
|
3996
|
-
placement:
|
|
3997
|
-
middlewareData:
|
|
3998
|
-
} =
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
}),
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
const E = { top: "bottom", right: "left", bottom: "top", left: "right" }[C.value];
|
|
4014
|
-
return p[E] = `${-8 / 2}px`, p;
|
|
4015
|
-
}), I = () => {
|
|
3922
|
+
floatingStyles: A,
|
|
3923
|
+
placement: j,
|
|
3924
|
+
middlewareData: R
|
|
3925
|
+
} = pe(r, s, {
|
|
3926
|
+
placement: u(() => e.placement),
|
|
3927
|
+
whileElementsMounted: xe,
|
|
3928
|
+
middleware: N
|
|
3929
|
+
}), T = u(() => typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth), C = u(() => ({
|
|
3930
|
+
...A.value,
|
|
3931
|
+
maxWidth: T.value
|
|
3932
|
+
})), w = u(() => j.value.split("-")[0]), G = u(() => {
|
|
3933
|
+
const x = R.value.arrow;
|
|
3934
|
+
if (!x) return {};
|
|
3935
|
+
const c = {};
|
|
3936
|
+
x.x != null && (c.left = `${x.x}px`), x.y != null && (c.top = `${x.y}px`);
|
|
3937
|
+
const m = { top: "bottom", right: "left", bottom: "top", left: "right" }[w.value];
|
|
3938
|
+
return c[m] = `${-8 / 2}px`, c;
|
|
3939
|
+
}), d = () => {
|
|
4016
3940
|
e.disabled || (e.delay > 0 ? h = setTimeout(() => {
|
|
4017
3941
|
n.value = !0;
|
|
4018
3942
|
}, e.delay) : n.value = !0);
|
|
4019
|
-
},
|
|
3943
|
+
}, y = () => {
|
|
4020
3944
|
h && (clearTimeout(h), h = null), n.value = !1;
|
|
4021
3945
|
};
|
|
4022
|
-
return
|
|
3946
|
+
return ne(() => {
|
|
4023
3947
|
h && (clearTimeout(h), h = null);
|
|
4024
|
-
}), (
|
|
3948
|
+
}), (x, c) => (g(), S("div", {
|
|
4025
3949
|
ref_key: "target",
|
|
4026
3950
|
ref: l,
|
|
4027
3951
|
class: "vc-tooltip",
|
|
4028
|
-
onMouseenter:
|
|
4029
|
-
onMouseleave:
|
|
4030
|
-
onFocusin:
|
|
4031
|
-
onFocusout:
|
|
4032
|
-
onKeydown:
|
|
3952
|
+
onMouseenter: d,
|
|
3953
|
+
onMouseleave: y,
|
|
3954
|
+
onFocusin: d,
|
|
3955
|
+
onFocusout: y,
|
|
3956
|
+
onKeydown: se(y, ["escape"])
|
|
4033
3957
|
}, [
|
|
4034
|
-
|
|
3958
|
+
L("div", {
|
|
4035
3959
|
ref_key: "tooltipCompRef",
|
|
4036
3960
|
ref: r,
|
|
4037
3961
|
class: "vc-tooltip__trigger",
|
|
4038
3962
|
"aria-describedby": n.value ? t : void 0
|
|
4039
3963
|
}, [
|
|
4040
|
-
|
|
4041
|
-
], 8,
|
|
4042
|
-
(
|
|
4043
|
-
|
|
4044
|
-
default:
|
|
4045
|
-
n.value && !i.disabled &&
|
|
3964
|
+
q(x.$slots, "default")
|
|
3965
|
+
], 8, He),
|
|
3966
|
+
(g(), J(ae, { to: ie(v) }, [
|
|
3967
|
+
oe(le, { name: "vc-tooltip-fade" }, {
|
|
3968
|
+
default: ue(() => [
|
|
3969
|
+
n.value && !i.disabled && x.$slots.tooltip ? (g(), S("div", {
|
|
4046
3970
|
key: 0,
|
|
4047
3971
|
id: t,
|
|
4048
3972
|
ref_key: "tooltipRef",
|
|
4049
3973
|
ref: s,
|
|
4050
3974
|
role: "tooltip",
|
|
4051
|
-
style:
|
|
3975
|
+
style: $(C.value),
|
|
4052
3976
|
class: P(["vc-tooltip__wrapper", `vc-tooltip__wrapper--${i.variant}`])
|
|
4053
3977
|
}, [
|
|
4054
|
-
i.arrow ? (
|
|
3978
|
+
i.arrow ? (g(), S("div", {
|
|
4055
3979
|
key: 0,
|
|
4056
3980
|
ref_key: "arrowRef",
|
|
4057
3981
|
ref: o,
|
|
4058
3982
|
class: P(["vc-tooltip__arrow", `vc-tooltip__arrow--${i.variant}`]),
|
|
4059
|
-
style:
|
|
4060
|
-
}, null, 6)) :
|
|
4061
|
-
|
|
3983
|
+
style: $(G.value)
|
|
3984
|
+
}, null, 6)) : K("", !0),
|
|
3985
|
+
L("div", {
|
|
4062
3986
|
class: P(["vc-tooltip__body", `vc-tooltip__body--${i.variant}`])
|
|
4063
3987
|
}, [
|
|
4064
|
-
|
|
3988
|
+
q(x.$slots, "tooltip")
|
|
4065
3989
|
], 2)
|
|
4066
|
-
], 6)) :
|
|
3990
|
+
], 6)) : K("", !0)
|
|
4067
3991
|
]),
|
|
4068
3992
|
_: 3
|
|
4069
3993
|
})
|
|
@@ -4072,84 +3996,80 @@ const rt = ["aria-describedby"], pr = /* @__PURE__ */ A({
|
|
|
4072
3996
|
}
|
|
4073
3997
|
});
|
|
4074
3998
|
export {
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
4104
|
-
|
|
4105
|
-
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
Tt as
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
|
|
4150
|
-
|
|
4151
|
-
nr as w,
|
|
4152
|
-
sr as x,
|
|
4153
|
-
Bt as y,
|
|
4154
|
-
Mt as z
|
|
3999
|
+
Ft as $,
|
|
4000
|
+
Kt as A,
|
|
4001
|
+
_t as B,
|
|
4002
|
+
Gt as C,
|
|
4003
|
+
rt as D,
|
|
4004
|
+
Bt as E,
|
|
4005
|
+
Se as F,
|
|
4006
|
+
Fe as G,
|
|
4007
|
+
nt as H,
|
|
4008
|
+
qt as I,
|
|
4009
|
+
b as J,
|
|
4010
|
+
st as K,
|
|
4011
|
+
kt as L,
|
|
4012
|
+
Mt as M,
|
|
4013
|
+
yt as N,
|
|
4014
|
+
jt as O,
|
|
4015
|
+
nr as P,
|
|
4016
|
+
Pt as Q,
|
|
4017
|
+
wt as R,
|
|
4018
|
+
pt as S,
|
|
4019
|
+
Jt as T,
|
|
4020
|
+
at as U,
|
|
4021
|
+
Qt as V,
|
|
4022
|
+
Ct as W,
|
|
4023
|
+
It as X,
|
|
4024
|
+
it as Y,
|
|
4025
|
+
ot as Z,
|
|
4026
|
+
sr as _,
|
|
4027
|
+
ar as a,
|
|
4028
|
+
lt as a0,
|
|
4029
|
+
Te as a1,
|
|
4030
|
+
_e as a2,
|
|
4031
|
+
Ue as a3,
|
|
4032
|
+
Zt as a4,
|
|
4033
|
+
ut as a5,
|
|
4034
|
+
Pe as a6,
|
|
4035
|
+
ht as a7,
|
|
4036
|
+
ct as a8,
|
|
4037
|
+
Dt as a9,
|
|
4038
|
+
dt as aa,
|
|
4039
|
+
we as ab,
|
|
4040
|
+
ft as ac,
|
|
4041
|
+
Oe as ad,
|
|
4042
|
+
mt as ae,
|
|
4043
|
+
Lt as af,
|
|
4044
|
+
Ae as ag,
|
|
4045
|
+
ke as ah,
|
|
4046
|
+
Je as ai,
|
|
4047
|
+
Ge as aj,
|
|
4048
|
+
vt as ak,
|
|
4049
|
+
bt as al,
|
|
4050
|
+
St as b,
|
|
4051
|
+
U as c,
|
|
4052
|
+
Tt as d,
|
|
4053
|
+
At as e,
|
|
4054
|
+
Ot as f,
|
|
4055
|
+
Ut as g,
|
|
4056
|
+
tr as h,
|
|
4057
|
+
gt as i,
|
|
4058
|
+
er as j,
|
|
4059
|
+
ye as k,
|
|
4060
|
+
Et as l,
|
|
4061
|
+
je as m,
|
|
4062
|
+
xt as n,
|
|
4063
|
+
Ie as o,
|
|
4064
|
+
rr as p,
|
|
4065
|
+
Ht as q,
|
|
4066
|
+
Wt as r,
|
|
4067
|
+
Vt as s,
|
|
4068
|
+
Yt as t,
|
|
4069
|
+
qe as u,
|
|
4070
|
+
Xt as v,
|
|
4071
|
+
Nt as w,
|
|
4072
|
+
zt as x,
|
|
4073
|
+
$t as y,
|
|
4074
|
+
Rt as z
|
|
4155
4075
|
};
|