@vc-shell/framework 2.6.3-rc.0-pr389.fdb1c0a → 2.6.3-rc.0-pr387.0e69af3
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-CG-hIfAg.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-DXZ2irBw.js} +1 -1
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CG-hIfAg.js.map → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-DXZ2irBw.js.map} +1 -1
- package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-BO4n-ICh.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-Dr95fJrt.js} +396 -316
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-Dr95fJrt.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-C7f7hEsX.js → VcScheduler.vue_vue_type_script_setup_true_lang-BGoZwLPK.js} +6153 -6163
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BGoZwLPK.js.map +1 -0
- package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-QuNQXchQ.js → VcScheduler.vue_vue_type_style_index_0_lang-D0B72Q0H.js} +1987 -1994
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-D0B72Q0H.js.map +1 -0
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-Byx05jmm.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-BuqdooHJ.js} +30 -30
- package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-Byx05jmm.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-BuqdooHJ.js.map} +1 -1
- package/dist/chunks/{index-YzlvSxVT.js → index-BQxuPskM.js} +2 -2
- package/dist/chunks/{index-YzlvSxVT.js.map → index-BQxuPskM.js.map} +1 -1
- package/dist/core/composables/index.d.ts +1 -0
- package/dist/core/composables/index.d.ts.map +1 -1
- package/dist/core/composables/useTextDirection/index.d.ts +18 -0
- package/dist/core/composables/useTextDirection/index.d.ts.map +1 -0
- package/dist/dashboard/index.js +1 -1
- package/dist/framework.js +615 -612
- package/dist/framework.js.map +1 -1
- package/dist/index.css +2 -2
- package/dist/locales/de.js +30 -1
- package/dist/locales/en.js +30 -1
- package/dist/locales/en.json +30 -1
- package/dist/locales/types.d.ts +29 -0
- 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-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/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 +18 -0
- package/dist/ui/components/organisms/vc-data-table/components/TableResizeHandle.vue.d.ts.map +1 -0
- package/dist/ui/components/organisms/vc-data-table/components/index.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 +4 -2
- 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/useFloatingPosition.d.ts +5 -0
- package/dist/ui/composables/useFloatingPosition.d.ts.map +1 -1
- package/dist/ui/index.js +34 -33
- package/package.json +4 -4
- package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-BO4n-ICh.js.map +0 -1
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-C7f7hEsX.js.map +0 -1
- package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-QuNQXchQ.js.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 T, computed as u, defineComponent as A, onMounted as D, openBlock as U, createElementBlock as _, normalizeStyle as N, normalizeClass as P, toDisplayString as he, markRaw as ne, createBlock as F, resolveDynamicComponent as W, createElementVNode as V, mergeProps as J, createCommentVNode as q, resolveComponent as B, readonly as ce, toValue as w, inject as de, useId as fe, onBeforeUnmount as pe, withKeys as me, renderSlot as Q, Teleport as ve, unref as be, createVNode as xe, Transition as ge, withCtx as Ee } from "vue";
|
|
2
|
+
import { a as Ue } from "./vendor-vueuse-core-BwXFv1rx.js";
|
|
3
|
+
import { j as ye } from "./vendor-vueuse-shared-BPTQMqzb.js";
|
|
4
|
+
import { L as Se } from "./vendor-lucide-vue-next-CwUrzD6N.js";
|
|
5
|
+
import { u as se, a as Te } from "./vendor-floating-ui-vue-sCrhit51.js";
|
|
6
|
+
import { f as ae, s as ie, o as H, b as oe } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
|
|
7
|
+
const _e = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
|
|
8
|
+
function we(i, e) {
|
|
9
|
+
if (typeof e == "string" && _e.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 = we;
|
|
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 Pe extends b {
|
|
38
38
|
http;
|
|
39
39
|
baseUrl;
|
|
40
40
|
constructor(e, t) {
|
|
@@ -141,7 +141,7 @@ class Ue 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 ut extends b {
|
|
145
145
|
http;
|
|
146
146
|
baseUrl;
|
|
147
147
|
constructor(e, t) {
|
|
@@ -210,7 +210,7 @@ class rt 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 ht extends b {
|
|
214
214
|
http;
|
|
215
215
|
baseUrl;
|
|
216
216
|
constructor(e, t) {
|
|
@@ -240,7 +240,7 @@ class nt 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 ct extends b {
|
|
244
244
|
http;
|
|
245
245
|
baseUrl;
|
|
246
246
|
constructor(e, t) {
|
|
@@ -382,7 +382,7 @@ class st 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 dt extends b {
|
|
386
386
|
http;
|
|
387
387
|
baseUrl;
|
|
388
388
|
constructor(e, t) {
|
|
@@ -583,7 +583,7 @@ class at 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 ft extends b {
|
|
587
587
|
http;
|
|
588
588
|
baseUrl;
|
|
589
589
|
constructor(e, t) {
|
|
@@ -612,7 +612,7 @@ class it 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 pt extends b {
|
|
616
616
|
http;
|
|
617
617
|
baseUrl;
|
|
618
618
|
constructor(e, t) {
|
|
@@ -664,7 +664,7 @@ class ot 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 mt extends b {
|
|
668
668
|
http;
|
|
669
669
|
baseUrl;
|
|
670
670
|
constructor(e, t) {
|
|
@@ -939,7 +939,7 @@ class lt 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 vt extends b {
|
|
943
943
|
http;
|
|
944
944
|
baseUrl;
|
|
945
945
|
constructor(e, t) {
|
|
@@ -972,7 +972,7 @@ class ut 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 bt extends b {
|
|
976
976
|
http;
|
|
977
977
|
baseUrl;
|
|
978
978
|
constructor(e, t) {
|
|
@@ -1076,7 +1076,7 @@ class ht 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 xt extends b {
|
|
1080
1080
|
http;
|
|
1081
1081
|
baseUrl;
|
|
1082
1082
|
constructor(e, t) {
|
|
@@ -1532,7 +1532,7 @@ class ct 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 gt extends b {
|
|
1536
1536
|
http;
|
|
1537
1537
|
baseUrl;
|
|
1538
1538
|
constructor(e, t) {
|
|
@@ -1634,7 +1634,7 @@ class dt 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 Et extends b {
|
|
1638
1638
|
http;
|
|
1639
1639
|
baseUrl;
|
|
1640
1640
|
constructor(e, t) {
|
|
@@ -1690,7 +1690,7 @@ class ft 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 Oe extends b {
|
|
1694
1694
|
http;
|
|
1695
1695
|
baseUrl;
|
|
1696
1696
|
constructor(e, t) {
|
|
@@ -2827,7 +2827,7 @@ class ye 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 Ut extends b {
|
|
2831
2831
|
http;
|
|
2832
2832
|
baseUrl;
|
|
2833
2833
|
constructor(e, t) {
|
|
@@ -2955,7 +2955,7 @@ class pt 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 yt extends b {
|
|
2959
2959
|
http;
|
|
2960
2960
|
baseUrl;
|
|
2961
2961
|
constructor(e, t) {
|
|
@@ -3224,8 +3224,8 @@ class mt 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 Ae = /* @__PURE__ */ ((i) => (i.AppMenu = "AppMenu", i.MainMenu = "MainMenu", i.Hidden = "Hidden", i))(Ae || {}), Re = /* @__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))(Re || {}), je = /* @__PURE__ */ ((i) => (i.Detached = "Detached", i.Unchanged = "Unchanged", i.Added = "Added", i.Deleted = "Deleted", i.Modified = "Modified", i))(je || {}), Ce = /* @__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))(Ce || {}), Ie = /* @__PURE__ */ ((i) => (i.Info = "Info", i.Warning = "Warning", i.Debug = "Debug", i.Error = "Error", i))(Ie || {}), ze = /* @__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))(ze || {}), $e = /* @__PURE__ */ ((i) => (i.Ascending = "Ascending", i.Descending = "Descending", i))($e || {});
|
|
3228
|
+
class Ne extends Error {
|
|
3229
3229
|
message;
|
|
3230
3230
|
status;
|
|
3231
3231
|
response;
|
|
@@ -3240,21 +3240,21 @@ class je extends Error {
|
|
|
3240
3240
|
}
|
|
3241
3241
|
}
|
|
3242
3242
|
function a(i, e, t, n, r) {
|
|
3243
|
-
throw r ?? new
|
|
3243
|
+
throw r ?? new Ne(i, e, t, n, null);
|
|
3244
3244
|
}
|
|
3245
|
-
const
|
|
3245
|
+
const ee = {
|
|
3246
3246
|
debug: 0,
|
|
3247
3247
|
info: 1,
|
|
3248
3248
|
warn: 2,
|
|
3249
3249
|
error: 3,
|
|
3250
3250
|
none: 4
|
|
3251
|
-
},
|
|
3251
|
+
}, ke = {
|
|
3252
3252
|
level: "warn",
|
|
3253
3253
|
prefix: "@vc-shell/framework",
|
|
3254
3254
|
enabled: !0
|
|
3255
3255
|
};
|
|
3256
|
-
function
|
|
3257
|
-
const e = { ...
|
|
3256
|
+
function y(i) {
|
|
3257
|
+
const e = { ...ke }, t = i ? `[${e.prefix}#${i}]` : `[${e.prefix}]`, n = (r) => e.enabled ? ee[r] >= ee[e.level] : !1;
|
|
3258
3258
|
return {
|
|
3259
3259
|
/**
|
|
3260
3260
|
* Log debug messages (only in development)
|
|
@@ -3283,7 +3283,7 @@ function U(i) {
|
|
|
3283
3283
|
/**
|
|
3284
3284
|
* Create a child logger with additional context
|
|
3285
3285
|
*/
|
|
3286
|
-
child: (r) =>
|
|
3286
|
+
child: (r) => y(i ? `${i}:${r}` : r),
|
|
3287
3287
|
/**
|
|
3288
3288
|
* Set the log level for this logger instance
|
|
3289
3289
|
*/
|
|
@@ -3298,16 +3298,16 @@ function U(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 St = y(), Tt = {
|
|
3302
|
+
core: y("core"),
|
|
3303
|
+
ui: y("ui"),
|
|
3304
|
+
shared: y("shared"),
|
|
3305
|
+
plugins: y("plugins"),
|
|
3306
|
+
services: y("services"),
|
|
3307
|
+
composables: y("composables")
|
|
3308
|
+
}, L = y("use-external-provider"), Ge = "externalSignIn", Je = () => {
|
|
3309
|
+
const i = new Pe(), e = Ue(
|
|
3310
|
+
Ge,
|
|
3311
3311
|
{},
|
|
3312
3312
|
{
|
|
3313
3313
|
listenToStorageChanges: !0,
|
|
@@ -3323,18 +3323,18 @@ const vt = U(), bt = {
|
|
|
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 m = new URL("/externalsignin", l);
|
|
3327
|
+
m.searchParams.set("authenticationType", o), m.searchParams.set("returnUrl", h), e.value = { providerType: o }, window.location.assign(m);
|
|
3328
3328
|
} catch (l) {
|
|
3329
|
-
throw
|
|
3329
|
+
throw L.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 ?? "/", m = new URL("/externalsignin/signout", l);
|
|
3335
|
+
m.searchParams.set("authenticationType", o), m.searchParams.set("returnUrl", h), e.value = {}, window.location.assign(m);
|
|
3336
3336
|
} catch (l) {
|
|
3337
|
-
throw
|
|
3337
|
+
throw L.error("External sign-out failed:", l), l;
|
|
3338
3338
|
}
|
|
3339
3339
|
}
|
|
3340
3340
|
async function s() {
|
|
@@ -3342,7 +3342,7 @@ const vt = U(), bt = {
|
|
|
3342
3342
|
try {
|
|
3343
3343
|
o = await i.getExternalLoginProviders();
|
|
3344
3344
|
} catch (l) {
|
|
3345
|
-
|
|
3345
|
+
L.error("Failed to get external login providers:", l);
|
|
3346
3346
|
}
|
|
3347
3347
|
return o;
|
|
3348
3348
|
}
|
|
@@ -3353,25 +3353,25 @@ const vt = U(), bt = {
|
|
|
3353
3353
|
getProviders: s
|
|
3354
3354
|
};
|
|
3355
3355
|
};
|
|
3356
|
-
let
|
|
3357
|
-
function
|
|
3358
|
-
|
|
3356
|
+
let Z = !1;
|
|
3357
|
+
function _t() {
|
|
3358
|
+
Z = !0;
|
|
3359
3359
|
}
|
|
3360
|
-
function
|
|
3361
|
-
return
|
|
3360
|
+
function wt() {
|
|
3361
|
+
return Z;
|
|
3362
3362
|
}
|
|
3363
|
-
function
|
|
3364
|
-
|
|
3363
|
+
function Fe() {
|
|
3364
|
+
Z = !1;
|
|
3365
3365
|
}
|
|
3366
|
-
class
|
|
3366
|
+
class Pt 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 X = "vc_auth_data", f = y("use-user");
|
|
3372
|
+
function Me() {
|
|
3373
3373
|
try {
|
|
3374
|
-
const i = localStorage.getItem(
|
|
3374
|
+
const i = localStorage.getItem(X);
|
|
3375
3375
|
if (i)
|
|
3376
3376
|
return JSON.parse(i);
|
|
3377
3377
|
} catch (i) {
|
|
@@ -3379,25 +3379,25 @@ function $e() {
|
|
|
3379
3379
|
}
|
|
3380
3380
|
return null;
|
|
3381
3381
|
}
|
|
3382
|
-
function
|
|
3382
|
+
function te(i) {
|
|
3383
3383
|
try {
|
|
3384
|
-
f.debug("storeAuthData - Saving:", i), localStorage.setItem(
|
|
3384
|
+
f.debug("storeAuthData - Saving:", i), localStorage.setItem(X, 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 De() {
|
|
3390
3390
|
try {
|
|
3391
|
-
localStorage.removeItem(
|
|
3391
|
+
localStorage.removeItem(X);
|
|
3392
3392
|
} catch (i) {
|
|
3393
3393
|
f.error("Failed to clear auth data:", i);
|
|
3394
3394
|
}
|
|
3395
3395
|
}
|
|
3396
|
-
function
|
|
3396
|
+
function Be(i) {
|
|
3397
3397
|
const e = i?.status;
|
|
3398
3398
|
return e === 401 || e === 403;
|
|
3399
3399
|
}
|
|
3400
|
-
async function
|
|
3400
|
+
async function re(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 X(i) {
|
|
|
3426
3426
|
return f.error("fetchToken - Exception:", e), null;
|
|
3427
3427
|
}
|
|
3428
3428
|
}
|
|
3429
|
-
function
|
|
3430
|
-
const i =
|
|
3431
|
-
async function
|
|
3429
|
+
function Le() {
|
|
3430
|
+
const i = T(!1), e = T(), t = T(null), { storage: n, signOut: r } = Je(), s = new Oe(), o = u(() => e.value?.userName != null), l = T(!1), h = u(() => l.value ? o.value ? "authenticated" : "anonymous" : "unknown");
|
|
3431
|
+
async function m(c, p) {
|
|
3432
3432
|
let E = !1;
|
|
3433
3433
|
try {
|
|
3434
3434
|
i.value = !0, E = await s.validatePasswordResetToken(c, {
|
|
3435
|
-
token:
|
|
3435
|
+
token: p
|
|
3436
3436
|
});
|
|
3437
3437
|
} catch {
|
|
3438
3438
|
} finally {
|
|
@@ -3440,121 +3440,121 @@ function ke() {
|
|
|
3440
3440
|
}
|
|
3441
3441
|
return E;
|
|
3442
3442
|
}
|
|
3443
|
-
async function
|
|
3443
|
+
async function g(c) {
|
|
3444
3444
|
return s.validatePassword(c);
|
|
3445
3445
|
}
|
|
3446
|
-
async function
|
|
3446
|
+
async function x(c, p, E) {
|
|
3447
3447
|
return s.resetPasswordByToken(c, {
|
|
3448
|
-
newPassword:
|
|
3448
|
+
newPassword: p,
|
|
3449
3449
|
token: E
|
|
3450
3450
|
});
|
|
3451
3451
|
}
|
|
3452
|
-
async function
|
|
3452
|
+
async function k(c, p, 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, Fe();
|
|
3456
|
+
const v = await s.login({ userName: c, password: p, rememberMe: E });
|
|
3457
|
+
if (f.debug("signIn - Cookie login completed:", v), !v.succeeded)
|
|
3458
|
+
return v;
|
|
3459
3459
|
f.debug("signIn - Requesting token...");
|
|
3460
|
-
const
|
|
3460
|
+
const z = await re({
|
|
3461
3461
|
grant_type: "password",
|
|
3462
3462
|
username: c,
|
|
3463
|
-
password:
|
|
3463
|
+
password: p,
|
|
3464
3464
|
scope: "offline_access"
|
|
3465
3465
|
});
|
|
3466
|
-
|
|
3467
|
-
const
|
|
3468
|
-
if (
|
|
3469
|
-
return e.value =
|
|
3466
|
+
z && (t.value = z, te(t.value), f.debug("signIn - Token saved:", t.value));
|
|
3467
|
+
const $ = await s.getCurrentUser();
|
|
3468
|
+
if ($)
|
|
3469
|
+
return e.value = $, l.value = !0, v;
|
|
3470
3470
|
throw { succeeded: !1 };
|
|
3471
|
-
} catch (
|
|
3472
|
-
f.error("signIn failed:",
|
|
3473
|
-
let
|
|
3474
|
-
if (
|
|
3471
|
+
} catch (v) {
|
|
3472
|
+
f.error("signIn failed:", v);
|
|
3473
|
+
let z = v.message;
|
|
3474
|
+
if (v.response)
|
|
3475
3475
|
try {
|
|
3476
|
-
const
|
|
3477
|
-
|
|
3476
|
+
const $ = JSON.parse(v.response);
|
|
3477
|
+
z = $.errorDescription || $.errors?.[0]?.description || $.error || z;
|
|
3478
3478
|
} catch {
|
|
3479
3479
|
}
|
|
3480
|
-
return { succeeded: !1, error:
|
|
3480
|
+
return { succeeded: !1, error: z, status: v.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, De(), t.value = null, n.value?.providerType ? await r(n.value.providerType) : s.logout();
|
|
3487
3487
|
}
|
|
3488
|
-
let
|
|
3489
|
-
async function
|
|
3490
|
-
return
|
|
3488
|
+
let S = null;
|
|
3489
|
+
async function j() {
|
|
3490
|
+
return S || (S = (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), Be(c) && (e.value = void 0, l.value = !0);
|
|
3498
3498
|
} finally {
|
|
3499
|
-
i.value = !1,
|
|
3499
|
+
i.value = !1, S = null;
|
|
3500
3500
|
}
|
|
3501
3501
|
return { ...e.value };
|
|
3502
|
-
})(),
|
|
3502
|
+
})(), S);
|
|
3503
3503
|
}
|
|
3504
|
-
async function
|
|
3504
|
+
async function G(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 (p) {
|
|
3508
|
+
return { succeeded: !1, error: p };
|
|
3509
3509
|
} finally {
|
|
3510
3510
|
i.value = !1;
|
|
3511
3511
|
}
|
|
3512
3512
|
}
|
|
3513
|
-
async function
|
|
3513
|
+
async function C(c, p) {
|
|
3514
3514
|
let E;
|
|
3515
3515
|
try {
|
|
3516
3516
|
i.value = !0;
|
|
3517
|
-
const
|
|
3517
|
+
const v = {
|
|
3518
3518
|
oldPassword: c,
|
|
3519
|
-
newPassword:
|
|
3519
|
+
newPassword: p
|
|
3520
3520
|
};
|
|
3521
|
-
E = await s.changeCurrentUserPassword(
|
|
3522
|
-
} catch (
|
|
3523
|
-
return { succeeded: !1, errors: [
|
|
3521
|
+
E = await s.changeCurrentUserPassword(v);
|
|
3522
|
+
} catch (v) {
|
|
3523
|
+
return { succeeded: !1, errors: [v.message] };
|
|
3524
3524
|
} finally {
|
|
3525
3525
|
i.value = !1;
|
|
3526
3526
|
}
|
|
3527
3527
|
return E;
|
|
3528
3528
|
}
|
|
3529
|
-
async function
|
|
3529
|
+
async function O() {
|
|
3530
3530
|
let c = null;
|
|
3531
3531
|
try {
|
|
3532
3532
|
c = await s.getLoginTypes();
|
|
3533
|
-
} catch (
|
|
3534
|
-
throw f.error("getLoginType failed:",
|
|
3533
|
+
} catch (p) {
|
|
3534
|
+
throw f.error("getLoginType failed:", p), p;
|
|
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 I = 60 * 1e3;
|
|
3539
|
+
async function d() {
|
|
3540
|
+
if (f.debug("getAccessToken - Entry point"), t.value || (t.value = Me()), !t.value)
|
|
3541
3541
|
return f.debug("getAccessToken - No auth data available"), null;
|
|
3542
|
-
const c = Date.now(),
|
|
3542
|
+
const c = Date.now(), p = t.value.expires_at, E = p ? c >= p - I : !1;
|
|
3543
3543
|
if (f.debug("getAccessToken - Token status:", {
|
|
3544
3544
|
hasToken: !!t.value.access_token,
|
|
3545
|
-
expiresAt:
|
|
3545
|
+
expiresAt: p ? new Date(p).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 v = await re({
|
|
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
|
+
v ? (v.refresh_token = v.refresh_token ?? t.value.refresh_token, t.value = v, te(t.value), f.debug("getAccessToken - Token refreshed successfully, new expiry:", {
|
|
3557
|
+
expiresAt: v.expires_at ? new Date(v.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 ke() {
|
|
|
3565
3565
|
isAdministrator: u(() => e.value?.isAdministrator),
|
|
3566
3566
|
isAuthenticated: o,
|
|
3567
3567
|
authState: h,
|
|
3568
|
-
loadUser:
|
|
3569
|
-
signIn:
|
|
3568
|
+
loadUser: j,
|
|
3569
|
+
signIn: k,
|
|
3570
3570
|
signOut: R,
|
|
3571
|
-
validateToken:
|
|
3572
|
-
validatePassword:
|
|
3573
|
-
resetPasswordByToken:
|
|
3574
|
-
requestPasswordReset:
|
|
3575
|
-
changeUserPassword:
|
|
3576
|
-
getLoginType:
|
|
3577
|
-
getAccessToken:
|
|
3571
|
+
validateToken: m,
|
|
3572
|
+
validatePassword: g,
|
|
3573
|
+
resetPasswordByToken: x,
|
|
3574
|
+
requestPasswordReset: G,
|
|
3575
|
+
changeUserPassword: C,
|
|
3576
|
+
getLoginType: O,
|
|
3577
|
+
getAccessToken: d
|
|
3578
3578
|
};
|
|
3579
3579
|
}
|
|
3580
|
-
const
|
|
3581
|
-
const i =
|
|
3580
|
+
const Ke = ye(Le), Ot = () => {
|
|
3581
|
+
const i = Ke();
|
|
3582
3582
|
return {
|
|
3583
3583
|
user: i.user,
|
|
3584
3584
|
loading: i.loading,
|
|
@@ -3588,12 +3588,12 @@ const Je = ce(ke), Ut = () => {
|
|
|
3588
3588
|
signOut: i.signOut,
|
|
3589
3589
|
getAccessToken: i.getAccessToken
|
|
3590
3590
|
};
|
|
3591
|
-
},
|
|
3591
|
+
}, At = Object.freeze({
|
|
3592
3592
|
push: () => {
|
|
3593
3593
|
},
|
|
3594
3594
|
replace: () => {
|
|
3595
3595
|
}
|
|
3596
|
-
}),
|
|
3596
|
+
}), Rt = Symbol("BladeStack"), jt = Symbol("BladeMessaging"), Ct = Symbol("BladeDescriptor"), It = Symbol("BladeMaximized"), zt = Symbol("BladeRenderingState"), $t = Symbol("BladeData"), Nt = Symbol("BladeBanners"), kt = Symbol("BladeBackButton"), Gt = Symbol("NotificationStore"), Jt = Symbol("WidgetService"), Ft = Symbol("DashboardService"), Mt = Symbol("MenuService"), Dt = Symbol("SettingsMenuService"), Bt = Symbol("AppBarWidgetService"), Lt = Symbol("AppBarMobileButtonsService"), Kt = Symbol("LanguageService"), Wt = Symbol("ToolbarService"), Vt = Symbol("DynamicModules"), qt = Symbol("ModulesReady"), Ht = Symbol("ModulesLoadError"), We = Symbol("AppRootElement"), Yt = Symbol("EmbeddedMode"), Zt = Symbol("ShellIndicators"), Xt = Symbol("AiAgentService"), Qt = Symbol("IsMobile"), er = Symbol("IsDesktop"), tr = Symbol("IsPhone"), rr = Symbol("IsTablet"), nr = Symbol("IsTouch"), sr = Symbol("BladeRoutes"), ar = Symbol("InternalRoutes"), ir = Symbol("CloseSettingsMenu"), or = Symbol("BladeContext"), lr = Symbol("WidgetScope"), ur = Symbol("BladeForm"), hr = Symbol("BladeLoading"), Ve = /* @__PURE__ */ A({
|
|
3597
3597
|
__name: "vc-material-icon",
|
|
3598
3598
|
props: {
|
|
3599
3599
|
icon: {},
|
|
@@ -3604,19 +3604,19 @@ const Je = ce(ke), Ut = () => {
|
|
|
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 D(() => {
|
|
3608
|
+
}), (r, s) => (U(), _("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(n.value),
|
|
3616
3616
|
"aria-hidden": "true"
|
|
3617
|
-
},
|
|
3617
|
+
}, he(i.icon), 7));
|
|
3618
3618
|
}
|
|
3619
|
-
}),
|
|
3619
|
+
}), qe = /* @__PURE__ */ A({
|
|
3620
3620
|
__name: "vc-bootstrap-icon",
|
|
3621
3621
|
props: {
|
|
3622
3622
|
icon: {},
|
|
@@ -3626,21 +3626,21 @@ const Je = ce(ke), Ut = () => {
|
|
|
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
|
+
D(() => {
|
|
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) => (U(), _("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(n.value),
|
|
3640
3640
|
"aria-hidden": "true"
|
|
3641
3641
|
}, null, 6));
|
|
3642
3642
|
}
|
|
3643
|
-
}),
|
|
3643
|
+
}), He = /* @__PURE__ */ A({
|
|
3644
3644
|
__name: "vc-lucide-icon",
|
|
3645
3645
|
props: {
|
|
3646
3646
|
icon: {},
|
|
@@ -3650,18 +3650,18 @@ const Je = ce(ke), Ut = () => {
|
|
|
3650
3650
|
customSize: {}
|
|
3651
3651
|
},
|
|
3652
3652
|
setup(i) {
|
|
3653
|
-
const e =
|
|
3653
|
+
const e = y("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 = Se[l];
|
|
3659
|
+
return !h || typeof h != "object" && typeof h != "function" ? (e.warn(`Lucide icon not found: ${l}`), null) : ne(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 ? (U(), F(W(s.value), {
|
|
3665
3665
|
key: 0,
|
|
3666
3666
|
"stroke-width": t.strokeWidth,
|
|
3667
3667
|
class: P([
|
|
@@ -3669,16 +3669,16 @@ const Je = ce(ke), Ut = () => {
|
|
|
3669
3669
|
!n.value && `vc-lucide-icon--${i.size}`,
|
|
3670
3670
|
i.variant ? `vc-lucide-icon--${i.variant}` : ""
|
|
3671
3671
|
]),
|
|
3672
|
-
style:
|
|
3672
|
+
style: N(o.value),
|
|
3673
3673
|
"aria-hidden": "true"
|
|
3674
|
-
}, null, 8, ["stroke-width", "class", "style"])) : (
|
|
3674
|
+
}, null, 8, ["stroke-width", "class", "style"])) : (U(), _("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
|
+
V("i", { class: "vc-lucide-icon__fallback" }, null, -1)
|
|
3679
3679
|
])], 2));
|
|
3680
3680
|
}
|
|
3681
|
-
}),
|
|
3681
|
+
}), Ye = /* @__PURE__ */ A({
|
|
3682
3682
|
__name: "vc-fontawesome-icon",
|
|
3683
3683
|
props: {
|
|
3684
3684
|
icon: {},
|
|
@@ -3688,21 +3688,21 @@ const Je = ce(ke), Ut = () => {
|
|
|
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
|
+
D(() => {
|
|
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) => (U(), _("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(n.value),
|
|
3702
3702
|
"aria-hidden": "true"
|
|
3703
3703
|
}, null, 6));
|
|
3704
3704
|
}
|
|
3705
|
-
}),
|
|
3705
|
+
}), Ze = ["xlink:href"], Xe = /* @__PURE__ */ A({
|
|
3706
3706
|
inheritAttrs: !1,
|
|
3707
3707
|
__name: "vc-svg-icon",
|
|
3708
3708
|
props: {
|
|
@@ -3727,18 +3727,18 @@ const Je = ce(ke), Ut = () => {
|
|
|
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) => (U(), _("svg", J({
|
|
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 ? (U(), _("use", {
|
|
3736
3736
|
key: 0,
|
|
3737
3737
|
"xlink:href": n.value
|
|
3738
|
-
}, null, 8,
|
|
3738
|
+
}, null, 8, Ze)) : q("", !0)
|
|
3739
3739
|
], 16));
|
|
3740
3740
|
}
|
|
3741
|
-
}),
|
|
3741
|
+
}), Qe = ["aria-hidden", "aria-label", "role"], cr = /* @__PURE__ */ A({
|
|
3742
3742
|
__name: "vc-icon",
|
|
3743
3743
|
props: {
|
|
3744
3744
|
icon: { default: "lucide-square" },
|
|
@@ -3751,7 +3751,7 @@ const Je = ce(ke), Ut = () => {
|
|
|
3751
3751
|
},
|
|
3752
3752
|
setup(i) {
|
|
3753
3753
|
const e = i;
|
|
3754
|
-
|
|
3754
|
+
D(() => {
|
|
3755
3755
|
});
|
|
3756
3756
|
const t = {
|
|
3757
3757
|
xs: 12,
|
|
@@ -3771,40 +3771,55 @@ const Je = ce(ke), Ut = () => {
|
|
|
3771
3771
|
return d.endsWith("Icon") ? d : `${d}Icon`;
|
|
3772
3772
|
}
|
|
3773
3773
|
return e.icon;
|
|
3774
|
-
}), s =
|
|
3774
|
+
}), s = new RegExp(
|
|
3775
|
+
[
|
|
3776
|
+
// chevron-left, arrow-right-from-line, corner-down-left, panel-left-open, caret-right, angles-left...
|
|
3777
|
+
// (not arrow-left-right: it reads the same both ways)
|
|
3778
|
+
"^(?:chevrons?|arrow|caret|angles?|angle-double|circle-(?:arrow|chevron)|square-(?:arrow|chevron)|corner-(?:up|down)|panel|box-arrow|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|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(() => {
|
|
3775
3790
|
if (typeof e.icon != "string")
|
|
3776
3791
|
return !0;
|
|
3777
3792
|
if (["fontawesome", "bootstrap"].includes(n.value) || n.value === "material" && e.icon.startsWith("material-") || n.value === "lucide" && e.icon.startsWith("lucide-"))
|
|
3778
3793
|
return !1;
|
|
3779
|
-
if (
|
|
3794
|
+
if (m.value)
|
|
3780
3795
|
try {
|
|
3781
3796
|
const d = typeof r.value == "string" ? r.value : String(r.value);
|
|
3782
|
-
return
|
|
3797
|
+
return B(d) !== d;
|
|
3783
3798
|
} catch {
|
|
3784
3799
|
return !1;
|
|
3785
3800
|
}
|
|
3786
3801
|
try {
|
|
3787
|
-
return
|
|
3802
|
+
return B(e.icon) !== e.icon;
|
|
3788
3803
|
} catch {
|
|
3789
3804
|
return !1;
|
|
3790
3805
|
}
|
|
3791
|
-
}),
|
|
3806
|
+
}), k = u(() => {
|
|
3792
3807
|
if (typeof e.icon != "string")
|
|
3793
|
-
return
|
|
3808
|
+
return ne(e.icon);
|
|
3794
3809
|
if (["fontawesome", "bootstrap", "material"].includes(n.value))
|
|
3795
3810
|
return "i";
|
|
3796
3811
|
try {
|
|
3797
|
-
const d = typeof r.value == "string" ? r.value : String(r.value),
|
|
3798
|
-
return
|
|
3812
|
+
const d = typeof r.value == "string" ? r.value : String(r.value), c = B(d);
|
|
3813
|
+
return c !== d ? c : "i";
|
|
3799
3814
|
} catch {
|
|
3800
3815
|
return "i";
|
|
3801
3816
|
}
|
|
3802
|
-
}),
|
|
3817
|
+
}), R = u(() => l.value ? Ve : h.value ? qe : m.value ? He : g.value ? Ye : O.value ? Xe : x.value ? k.value : "i"), S = u(() => e.customSize ? e.customSize : t[e.size]), j = u(() => {
|
|
3803
3818
|
const d = {};
|
|
3804
|
-
return
|
|
3805
|
-
}),
|
|
3819
|
+
return x.value && e.customSize && (d.width = `${e.customSize}px`, d.height = `${e.customSize}px`), d;
|
|
3820
|
+
}), G = u(() => e.customSize ? {
|
|
3806
3821
|
fontSize: `${e.customSize}px`
|
|
3807
|
-
} : {}), C = u(() =>
|
|
3822
|
+
} : {}), C = u(() => l.value ? {
|
|
3808
3823
|
icon: typeof r.value == "string" ? r.value.replace(/-outlined$|-rounded$|-sharp$/, "") : r.value,
|
|
3809
3824
|
size: e.size,
|
|
3810
3825
|
variant: e.variant,
|
|
@@ -3814,74 +3829,132 @@ const Je = ce(ke), Ut = () => {
|
|
|
3814
3829
|
grade: 0,
|
|
3815
3830
|
customSize: e.customSize
|
|
3816
3831
|
// Set custom size without scaling
|
|
3817
|
-
} :
|
|
3832
|
+
} : h.value ? {
|
|
3818
3833
|
icon: typeof e.icon == "string" ? e.icon : "",
|
|
3819
3834
|
size: e.size,
|
|
3820
3835
|
variant: e.variant,
|
|
3821
3836
|
customSize: e.customSize
|
|
3822
3837
|
// Set custom size without scaling
|
|
3823
|
-
} :
|
|
3838
|
+
} : m.value ? {
|
|
3824
3839
|
icon: typeof r.value == "string" ? r.value : String(r.value),
|
|
3825
3840
|
size: e.size,
|
|
3826
3841
|
variant: e.variant,
|
|
3827
3842
|
strokeWidth: 1.5,
|
|
3828
3843
|
customSize: e.customSize
|
|
3829
3844
|
// Set custom size without scaling
|
|
3830
|
-
} :
|
|
3845
|
+
} : g.value ? {
|
|
3831
3846
|
icon: typeof e.icon == "string" ? e.icon : "",
|
|
3832
3847
|
size: e.size,
|
|
3833
3848
|
variant: e.variant,
|
|
3834
3849
|
customSize: e.customSize
|
|
3835
3850
|
// Set custom size without scaling
|
|
3836
|
-
} :
|
|
3837
|
-
icon:
|
|
3851
|
+
} : O.value ? {
|
|
3852
|
+
icon: I.value,
|
|
3838
3853
|
size: e.size,
|
|
3839
3854
|
variant: e.variant,
|
|
3840
3855
|
customSize: e.customSize,
|
|
3841
3856
|
basePath: e.basePath
|
|
3842
|
-
} :
|
|
3857
|
+
} : x.value ? {
|
|
3843
3858
|
size: e.size,
|
|
3844
|
-
width:
|
|
3845
|
-
height:
|
|
3859
|
+
width: S.value,
|
|
3860
|
+
height: S.value,
|
|
3846
3861
|
color: e.variant ? `var(--icon-color-${e.variant})` : "currentColor"
|
|
3847
|
-
} : {}),
|
|
3848
|
-
return (d,
|
|
3862
|
+
} : {}), O = u(() => n.value === "svg"), I = u(() => !O.value || typeof e.icon != "string" ? "" : e.icon.startsWith("svg:") ? e.icon.substring(4) : e.icon);
|
|
3863
|
+
return (d, c) => i.useContainer ? (U(), _("div", J({
|
|
3849
3864
|
key: 0,
|
|
3850
3865
|
class: ["vc-icon-container", `vc-icon-container--${i.size}`],
|
|
3851
|
-
style:
|
|
3866
|
+
style: G.value,
|
|
3852
3867
|
"aria-hidden": i.ariaLabel ? void 0 : "true",
|
|
3853
3868
|
"aria-label": i.ariaLabel || void 0,
|
|
3854
3869
|
role: i.ariaLabel ? "img" : void 0
|
|
3855
3870
|
}, d.$attrs), [
|
|
3856
|
-
(
|
|
3871
|
+
(U(), F(W(R.value), J({
|
|
3857
3872
|
class: [
|
|
3858
3873
|
"vc-icon",
|
|
3859
3874
|
`vc-icon--${i.size}`,
|
|
3860
3875
|
i.variant ? `vc-icon--${i.variant}` : "",
|
|
3861
|
-
|
|
3876
|
+
{ "vc-icon--rtl-mirror": o.value },
|
|
3877
|
+
!x.value && !l.value && !m.value && !h.value && !g.value ? i.icon.toLowerCase() : ""
|
|
3862
3878
|
],
|
|
3863
|
-
style:
|
|
3879
|
+
style: j.value
|
|
3864
3880
|
}, C.value), null, 16, ["class", "style"]))
|
|
3865
|
-
], 16,
|
|
3881
|
+
], 16, Qe)) : (U(), F(W(R.value), J({
|
|
3866
3882
|
key: 1,
|
|
3867
3883
|
class: [
|
|
3868
3884
|
"vc-icon",
|
|
3869
3885
|
`vc-icon--${i.size}`,
|
|
3870
3886
|
i.variant ? `vc-icon--${i.variant}` : "",
|
|
3871
|
-
|
|
3887
|
+
{ "vc-icon--rtl-mirror": o.value },
|
|
3888
|
+
!x.value && !l.value && !m.value && !h.value && !g.value ? i.icon.toLowerCase() : ""
|
|
3872
3889
|
],
|
|
3873
|
-
style:
|
|
3890
|
+
style: j.value,
|
|
3874
3891
|
"aria-hidden": i.ariaLabel ? void 0 : "true",
|
|
3875
3892
|
"aria-label": i.ariaLabel || void 0,
|
|
3876
3893
|
role: i.ariaLabel ? "img" : void 0
|
|
3877
3894
|
}, { ...C.value, ...d.$attrs }), null, 16, ["class", "style", "aria-hidden", "aria-label", "role"]));
|
|
3878
3895
|
}
|
|
3879
|
-
});
|
|
3880
|
-
|
|
3881
|
-
|
|
3896
|
+
}), M = T("ltr");
|
|
3897
|
+
let K;
|
|
3898
|
+
function Y() {
|
|
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);
|
|
3882
3955
|
return {
|
|
3883
3956
|
teleportTarget: u(() => {
|
|
3884
|
-
const n = i.to ?
|
|
3957
|
+
const n = i.to ? w(i.to) : void 0;
|
|
3885
3958
|
if (n)
|
|
3886
3959
|
return n;
|
|
3887
3960
|
if (e?.value)
|
|
@@ -3891,7 +3964,7 @@ function qe(i = {}) {
|
|
|
3891
3964
|
})
|
|
3892
3965
|
};
|
|
3893
3966
|
}
|
|
3894
|
-
const
|
|
3967
|
+
const rt = ["aria-describedby"], pr = /* @__PURE__ */ A({
|
|
3895
3968
|
__name: "vc-tooltip",
|
|
3896
3969
|
props: {
|
|
3897
3970
|
placement: { default: "bottom" },
|
|
@@ -3906,88 +3979,91 @@ const He = ["aria-describedby"], ar = /* @__PURE__ */ O({
|
|
|
3906
3979
|
disabled: { type: Boolean, default: !1 }
|
|
3907
3980
|
},
|
|
3908
3981
|
setup(i) {
|
|
3909
|
-
const e = i, t = `vc-tooltip-${
|
|
3982
|
+
const e = i, t = `vc-tooltip-${fe()}`, n = T(!1), r = T(null), s = T(null), o = T(null), l = T(null);
|
|
3910
3983
|
let h = null;
|
|
3911
|
-
const { teleportTarget:
|
|
3912
|
-
const
|
|
3913
|
-
|
|
3984
|
+
const { teleportTarget: m } = tt(), { isRtl: g } = le(), x = u(() => {
|
|
3985
|
+
const c = [
|
|
3986
|
+
H({
|
|
3914
3987
|
mainAxis: e.offset?.mainAxis ?? 8,
|
|
3915
3988
|
crossAxis: e.offset?.crossAxis ?? 0
|
|
3916
3989
|
}),
|
|
3917
|
-
|
|
3918
|
-
|
|
3990
|
+
ae({ padding: 8 }),
|
|
3991
|
+
ie({ padding: 8 })
|
|
3919
3992
|
];
|
|
3920
|
-
return e.arrow &&
|
|
3993
|
+
return e.arrow && c.push(Te({ element: o, padding: 4 })), c;
|
|
3921
3994
|
}), {
|
|
3922
|
-
floatingStyles:
|
|
3923
|
-
placement:
|
|
3924
|
-
middlewareData:
|
|
3925
|
-
} =
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
})
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3995
|
+
floatingStyles: k,
|
|
3996
|
+
placement: R,
|
|
3997
|
+
middlewareData: S
|
|
3998
|
+
} = se(r, s, {
|
|
3999
|
+
// a right-to-left page opens a "right" tooltip on the left (the reading direction's end)
|
|
4000
|
+
placement: u(
|
|
4001
|
+
() => g.value ? ue(e.placement) : e.placement
|
|
4002
|
+
),
|
|
4003
|
+
whileElementsMounted: oe,
|
|
4004
|
+
middleware: x
|
|
4005
|
+
}), j = u(() => typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth), G = u(() => ({
|
|
4006
|
+
...k.value,
|
|
4007
|
+
maxWidth: j.value
|
|
4008
|
+
})), C = u(() => R.value.split("-")[0]), O = u(() => {
|
|
4009
|
+
const c = S.value.arrow;
|
|
4010
|
+
if (!c) return {};
|
|
4011
|
+
const p = {};
|
|
4012
|
+
c.x != null && (p.left = `${c.x}px`), c.y != null && (p.top = `${c.y}px`);
|
|
4013
|
+
const E = { top: "bottom", right: "left", bottom: "top", left: "right" }[C.value];
|
|
4014
|
+
return p[E] = `${-8 / 2}px`, p;
|
|
4015
|
+
}), I = () => {
|
|
3940
4016
|
e.disabled || (e.delay > 0 ? h = setTimeout(() => {
|
|
3941
4017
|
n.value = !0;
|
|
3942
4018
|
}, e.delay) : n.value = !0);
|
|
3943
|
-
},
|
|
4019
|
+
}, d = () => {
|
|
3944
4020
|
h && (clearTimeout(h), h = null), n.value = !1;
|
|
3945
4021
|
};
|
|
3946
|
-
return
|
|
4022
|
+
return pe(() => {
|
|
3947
4023
|
h && (clearTimeout(h), h = null);
|
|
3948
|
-
}), (
|
|
4024
|
+
}), (c, p) => (U(), _("div", {
|
|
3949
4025
|
ref_key: "target",
|
|
3950
4026
|
ref: l,
|
|
3951
4027
|
class: "vc-tooltip",
|
|
3952
|
-
onMouseenter:
|
|
3953
|
-
onMouseleave:
|
|
3954
|
-
onFocusin:
|
|
3955
|
-
onFocusout:
|
|
3956
|
-
onKeydown:
|
|
4028
|
+
onMouseenter: I,
|
|
4029
|
+
onMouseleave: d,
|
|
4030
|
+
onFocusin: I,
|
|
4031
|
+
onFocusout: d,
|
|
4032
|
+
onKeydown: me(d, ["escape"])
|
|
3957
4033
|
}, [
|
|
3958
|
-
|
|
4034
|
+
V("div", {
|
|
3959
4035
|
ref_key: "tooltipCompRef",
|
|
3960
4036
|
ref: r,
|
|
3961
4037
|
class: "vc-tooltip__trigger",
|
|
3962
4038
|
"aria-describedby": n.value ? t : void 0
|
|
3963
4039
|
}, [
|
|
3964
|
-
|
|
3965
|
-
], 8,
|
|
3966
|
-
(
|
|
3967
|
-
|
|
3968
|
-
default:
|
|
3969
|
-
n.value && !i.disabled &&
|
|
4040
|
+
Q(c.$slots, "default")
|
|
4041
|
+
], 8, rt),
|
|
4042
|
+
(U(), F(ve, { to: be(m) }, [
|
|
4043
|
+
xe(ge, { name: "vc-tooltip-fade" }, {
|
|
4044
|
+
default: Ee(() => [
|
|
4045
|
+
n.value && !i.disabled && c.$slots.tooltip ? (U(), _("div", {
|
|
3970
4046
|
key: 0,
|
|
3971
4047
|
id: t,
|
|
3972
4048
|
ref_key: "tooltipRef",
|
|
3973
4049
|
ref: s,
|
|
3974
4050
|
role: "tooltip",
|
|
3975
|
-
style:
|
|
4051
|
+
style: N(G.value),
|
|
3976
4052
|
class: P(["vc-tooltip__wrapper", `vc-tooltip__wrapper--${i.variant}`])
|
|
3977
4053
|
}, [
|
|
3978
|
-
i.arrow ? (
|
|
4054
|
+
i.arrow ? (U(), _("div", {
|
|
3979
4055
|
key: 0,
|
|
3980
4056
|
ref_key: "arrowRef",
|
|
3981
4057
|
ref: o,
|
|
3982
4058
|
class: P(["vc-tooltip__arrow", `vc-tooltip__arrow--${i.variant}`]),
|
|
3983
|
-
style:
|
|
3984
|
-
}, null, 6)) :
|
|
3985
|
-
|
|
4059
|
+
style: N(O.value)
|
|
4060
|
+
}, null, 6)) : q("", !0),
|
|
4061
|
+
V("div", {
|
|
3986
4062
|
class: P(["vc-tooltip__body", `vc-tooltip__body--${i.variant}`])
|
|
3987
4063
|
}, [
|
|
3988
|
-
|
|
4064
|
+
Q(c.$slots, "tooltip")
|
|
3989
4065
|
], 2)
|
|
3990
|
-
], 6)) :
|
|
4066
|
+
], 6)) : q("", !0)
|
|
3991
4067
|
]),
|
|
3992
4068
|
_: 3
|
|
3993
4069
|
})
|
|
@@ -3996,80 +4072,84 @@ const He = ["aria-describedby"], ar = /* @__PURE__ */ O({
|
|
|
3996
4072
|
}
|
|
3997
4073
|
});
|
|
3998
4074
|
export {
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
Tt as
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
+
ft as $,
|
|
4076
|
+
Xt as A,
|
|
4077
|
+
Ct as B,
|
|
4078
|
+
Dt as C,
|
|
4079
|
+
Gt as D,
|
|
4080
|
+
Yt as E,
|
|
4081
|
+
Lt as F,
|
|
4082
|
+
ut as G,
|
|
4083
|
+
Ae as H,
|
|
4084
|
+
tr as I,
|
|
4085
|
+
We as J,
|
|
4086
|
+
ht as K,
|
|
4087
|
+
Kt as L,
|
|
4088
|
+
qt as M,
|
|
4089
|
+
At as N,
|
|
4090
|
+
b as O,
|
|
4091
|
+
ct as P,
|
|
4092
|
+
kt as Q,
|
|
4093
|
+
hr as R,
|
|
4094
|
+
Ut as S,
|
|
4095
|
+
Wt as T,
|
|
4096
|
+
It as U,
|
|
4097
|
+
zt as V,
|
|
4098
|
+
Jt as W,
|
|
4099
|
+
dt as X,
|
|
4100
|
+
ir as Y,
|
|
4101
|
+
Ft as Z,
|
|
4102
|
+
cr as _,
|
|
4103
|
+
pr as a,
|
|
4104
|
+
pt as a0,
|
|
4105
|
+
Vt as a1,
|
|
4106
|
+
mt as a2,
|
|
4107
|
+
Re as a3,
|
|
4108
|
+
je as a4,
|
|
4109
|
+
Pe as a5,
|
|
4110
|
+
ar as a6,
|
|
4111
|
+
vt as a7,
|
|
4112
|
+
Ce as a8,
|
|
4113
|
+
bt as a9,
|
|
4114
|
+
xt as aa,
|
|
4115
|
+
Ht as ab,
|
|
4116
|
+
gt as ac,
|
|
4117
|
+
Ie as ad,
|
|
4118
|
+
Et as ae,
|
|
4119
|
+
ze as af,
|
|
4120
|
+
yt as ag,
|
|
4121
|
+
Zt as ah,
|
|
4122
|
+
$e as ai,
|
|
4123
|
+
Le as aj,
|
|
4124
|
+
Ke as ak,
|
|
4125
|
+
Be as al,
|
|
4126
|
+
dr as am,
|
|
4127
|
+
St as an,
|
|
4128
|
+
Tt as ao,
|
|
4129
|
+
le as ap,
|
|
4130
|
+
tt as b,
|
|
4131
|
+
y as c,
|
|
4132
|
+
Rt as d,
|
|
4133
|
+
jt as e,
|
|
4134
|
+
Nt as f,
|
|
4135
|
+
$t as g,
|
|
4136
|
+
Ot as h,
|
|
4137
|
+
wt as i,
|
|
4138
|
+
lr as j,
|
|
4139
|
+
or as k,
|
|
4140
|
+
Oe as l,
|
|
4141
|
+
ue as m,
|
|
4142
|
+
Pt as n,
|
|
4143
|
+
Ne as o,
|
|
4144
|
+
_t as p,
|
|
4145
|
+
Je as q,
|
|
4146
|
+
ur as r,
|
|
4147
|
+
rr as s,
|
|
4148
|
+
Qt as t,
|
|
4149
|
+
fr as u,
|
|
4150
|
+
er as v,
|
|
4151
|
+
nr as w,
|
|
4152
|
+
sr as x,
|
|
4153
|
+
Bt as y,
|
|
4154
|
+
Mt as z
|
|
4075
4155
|
};
|