@vc-shell/framework 2.2.0-pr261.11c6306 → 2.2.0-pr262.1eb3cac

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.
Files changed (78) hide show
  1. package/dist/ai-agent/index.js +3 -3
  2. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-IxvmIZ32.js +1124 -0
  3. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-IxvmIZ32.js.map +1 -0
  4. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-BneMFPUI.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CcI_W_Vm.js} +260 -369
  5. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CcI_W_Vm.js.map +1 -0
  6. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-ChAZE3ab.js → VcScheduler.vue_vue_type_script_setup_true_lang-Ch_TVK_C.js} +6853 -7012
  7. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-Ch_TVK_C.js.map +1 -0
  8. package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-DGx3smxP.js → VcScheduler.vue_vue_type_style_index_0_lang-CL468dK2.js} +1606 -1480
  9. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-CL468dK2.js.map +1 -0
  10. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-Vlgchlib.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-YOlFZMoP.js} +68 -68
  11. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-Vlgchlib.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-YOlFZMoP.js.map} +1 -1
  12. package/dist/chunks/{index-BuToNK4r.js → index-CI1U6XgH.js} +2 -2
  13. package/dist/chunks/{index-BuToNK4r.js.map → index-CI1U6XgH.js.map} +1 -1
  14. package/dist/chunks/{vendor-vueuse-components-CoR2FSn3.js → vendor-vueuse-components-BW7i7Uhb.js} +1 -1
  15. package/dist/chunks/{vendor-vueuse-components-CoR2FSn3.js.map → vendor-vueuse-components-BW7i7Uhb.js.map} +1 -1
  16. package/dist/chunks/{vendor-vueuse-core-BFa9je5E.js → vendor-vueuse-core-BYWoPpF_.js} +82 -83
  17. package/dist/chunks/{vendor-vueuse-core-BFa9je5E.js.map → vendor-vueuse-core-BYWoPpF_.js.map} +1 -1
  18. package/dist/chunks/{vendor-vueuse-shared-kZH3-Km1.js → vendor-vueuse-shared-BlCOXw5g.js} +2 -2
  19. package/dist/chunks/{vendor-vueuse-shared-kZH3-Km1.js.map → vendor-vueuse-shared-BlCOXw5g.js.map} +1 -1
  20. package/dist/core/blade-navigation/types/index.d.ts +0 -8
  21. package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
  22. package/dist/core/composables/index.d.ts +0 -1
  23. package/dist/core/composables/index.d.ts.map +1 -1
  24. package/dist/core/composables/useAsync/index.d.ts.map +1 -1
  25. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  26. package/dist/core/interceptors/index.d.ts.map +1 -1
  27. package/dist/core/plugins/ai-agent/components/VcAiAgentPanel.vue.d.ts.map +1 -1
  28. package/dist/core/plugins/ai-agent/components/_internal/VcAiAgentHeader.vue.d.ts.map +1 -1
  29. package/dist/core/plugins/ai-agent/composables/useAiAgent.d.ts.map +1 -1
  30. package/dist/core/types/index.d.ts +0 -12
  31. package/dist/core/types/index.d.ts.map +1 -1
  32. package/dist/core/utilities/sessionExpiration.d.ts +30 -0
  33. package/dist/core/utilities/sessionExpiration.d.ts.map +1 -0
  34. package/dist/dashboard/index.js +1 -1
  35. package/dist/framework.js +800 -809
  36. package/dist/framework.js.map +1 -1
  37. package/dist/index.css +1 -1
  38. package/dist/locales/de.js +1 -4
  39. package/dist/locales/en.js +1 -4
  40. package/dist/locales/en.json +1 -4
  41. package/dist/locales/types.d.ts +0 -3
  42. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +1 -1
  43. package/dist/shell/_internal/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts.map +1 -1
  44. package/dist/shell/components/error-interceptor/interceptor.d.ts.map +1 -1
  45. package/dist/test-helpers.d.ts.map +1 -1
  46. package/dist/tsconfig.tsbuildinfo +1 -1
  47. package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
  48. package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts +1 -1
  49. package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts.map +1 -1
  50. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
  51. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts.map +1 -1
  52. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/toolbar-button-props.d.ts +0 -2
  53. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/toolbar-button-props.d.ts.map +1 -1
  54. package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +1 -1
  55. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts +1 -1
  56. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-filmstrip/vc-gallery-filmstrip.vue.d.ts.map +1 -1
  57. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  58. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  59. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
  60. package/dist/ui/index.js +20 -20
  61. package/package.json +4 -4
  62. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-qC6yOtWU.js +0 -1380
  63. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-qC6yOtWU.js.map +0 -1
  64. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-BneMFPUI.js.map +0 -1
  65. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-ChAZE3ab.js.map +0 -1
  66. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-DGx3smxP.js.map +0 -1
  67. package/dist/core/composables/useKeyboardShortcuts/format.d.ts +0 -11
  68. package/dist/core/composables/useKeyboardShortcuts/format.d.ts.map +0 -1
  69. package/dist/core/composables/useKeyboardShortcuts/hotkey.d.ts +0 -14
  70. package/dist/core/composables/useKeyboardShortcuts/hotkey.d.ts.map +0 -1
  71. package/dist/core/composables/useKeyboardShortcuts/index.d.ts +0 -23
  72. package/dist/core/composables/useKeyboardShortcuts/index.d.ts.map +0 -1
  73. package/dist/core/composables/useKeyboardShortcuts/match.d.ts +0 -14
  74. package/dist/core/composables/useKeyboardShortcuts/match.d.ts.map +0 -1
  75. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/shortcut-dispatch.d.ts +0 -22
  76. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/shortcut-dispatch.d.ts.map +0 -1
  77. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ShortcutKbd.vue.d.ts +0 -11
  78. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ShortcutKbd.vue.d.ts.map +0 -1
@@ -1,26 +1,24 @@
1
- import { ref as S, computed as u, defineComponent as P, onMounted as G, openBlock as g, createElementBlock as y, normalizeStyle as R, normalizeClass as T, toDisplayString as H, markRaw as q, createBlock as N, resolveDynamicComponent as F, createElementVNode as M, mergeProps as $, createCommentVNode as D, resolveComponent as k, inject as Y, toValue as X, useId as Z, onBeforeUnmount as Q, withKeys as ee, renderSlot as L, Teleport as te, unref as re, createVNode as ne, Transition as se, withCtx as ae } from "vue";
2
- import { a as ie } from "./vendor-vueuse-core-BFa9je5E.js";
3
- import { j as oe } from "./vendor-vueuse-shared-kZH3-Km1.js";
4
- import { L as le } from "./vendor-lucide-vue-next-CwUrzD6N.js";
5
- import { a as ue, u as he } from "./vendor-floating-ui-vue-sCrhit51.js";
6
- import { o as ce, f as de, s as fe, b as pe } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
7
- const me = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
8
- function ve(i, e) {
9
- if (typeof e == "string" && me.test(e)) {
1
+ import { ref as N, computed as u, defineComponent as T, onMounted as R, openBlock as E, createElementBlock as S, normalizeStyle as C, normalizeClass as P, toDisplayString as V, markRaw as W, createBlock as J, resolveDynamicComponent as F, createElementVNode as q, mergeProps as j, createCommentVNode as H, resolveComponent as G } from "vue";
2
+ import { u as Y } from "./vendor-vueuse-core-BYWoPpF_.js";
3
+ import { j as X } from "./vendor-vueuse-shared-BlCOXw5g.js";
4
+ import { L as Z } from "./vendor-lucide-vue-next-CwUrzD6N.js";
5
+ const Q = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})?$/;
6
+ function ee(i, e) {
7
+ if (typeof e == "string" && Q.test(e)) {
10
8
  const t = new Date(e);
11
9
  if (!isNaN(t.getTime()))
12
10
  return t;
13
11
  }
14
12
  return e;
15
13
  }
16
- class x {
14
+ class b {
17
15
  authToken = "";
18
16
  /**
19
17
  * JSON parse reviver for converting date strings to Date objects.
20
18
  * Subclasses use this when parsing API responses.
21
19
  * The dateReviver function is defined in File.Header.liquid template.
22
20
  */
23
- jsonParseReviver = ve;
21
+ jsonParseReviver = ee;
24
22
  constructor() {
25
23
  }
26
24
  // Enforce always return empty string as baseUrl
@@ -34,7 +32,7 @@ class x {
34
32
  return this.authToken && (e.headers.authorization = `Bearer ${this.authToken}`), Promise.resolve(e);
35
33
  }
36
34
  }
37
- class be extends x {
35
+ class te extends b {
38
36
  http;
39
37
  baseUrl;
40
38
  constructor(e, t) {
@@ -141,7 +139,7 @@ class be extends x {
141
139
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
142
140
  }
143
141
  }
144
- class Ye extends x {
142
+ class je extends b {
145
143
  http;
146
144
  baseUrl;
147
145
  constructor(e, t) {
@@ -210,7 +208,7 @@ class Ye extends x {
210
208
  }) : 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
209
  }
212
210
  }
213
- class Xe extends x {
211
+ class Re extends b {
214
212
  http;
215
213
  baseUrl;
216
214
  constructor(e, t) {
@@ -240,7 +238,7 @@ class Xe extends x {
240
238
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
241
239
  }
242
240
  }
243
- class Ze extends x {
241
+ class Ce extends b {
244
242
  http;
245
243
  baseUrl;
246
244
  constructor(e, t) {
@@ -382,7 +380,7 @@ class Ze extends x {
382
380
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
383
381
  }
384
382
  }
385
- class Qe extends x {
383
+ class Ie extends b {
386
384
  http;
387
385
  baseUrl;
388
386
  constructor(e, t) {
@@ -583,7 +581,7 @@ class Qe extends x {
583
581
  }) : 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
582
  }
585
583
  }
586
- class et extends x {
584
+ class ze extends b {
587
585
  http;
588
586
  baseUrl;
589
587
  constructor(e, t) {
@@ -612,7 +610,7 @@ class et extends x {
612
610
  }) : 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
611
  }
614
612
  }
615
- class tt extends x {
613
+ class $e extends b {
616
614
  http;
617
615
  baseUrl;
618
616
  constructor(e, t) {
@@ -664,7 +662,7 @@ class tt extends x {
664
662
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
665
663
  }
666
664
  }
667
- class rt extends x {
665
+ class Ne extends b {
668
666
  http;
669
667
  baseUrl;
670
668
  constructor(e, t) {
@@ -939,7 +937,7 @@ class rt extends x {
939
937
  }) : 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
938
  }
941
939
  }
942
- class nt extends x {
940
+ class Ge extends b {
943
941
  http;
944
942
  baseUrl;
945
943
  constructor(e, t) {
@@ -972,7 +970,7 @@ class nt extends x {
972
970
  }) : 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
971
  }
974
972
  }
975
- class st extends x {
973
+ class ke extends b {
976
974
  http;
977
975
  baseUrl;
978
976
  constructor(e, t) {
@@ -1076,7 +1074,7 @@ class st extends x {
1076
1074
  }) : 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
1075
  }
1078
1076
  }
1079
- class at extends x {
1077
+ class Je extends b {
1080
1078
  http;
1081
1079
  baseUrl;
1082
1080
  constructor(e, t) {
@@ -1532,7 +1530,7 @@ class at extends x {
1532
1530
  }) : 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
1531
  }
1534
1532
  }
1535
- class it extends x {
1533
+ class Fe extends b {
1536
1534
  http;
1537
1535
  baseUrl;
1538
1536
  constructor(e, t) {
@@ -1634,7 +1632,7 @@ class it extends x {
1634
1632
  }) : 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
1633
  }
1636
1634
  }
1637
- class ot extends x {
1635
+ class Me extends b {
1638
1636
  http;
1639
1637
  baseUrl;
1640
1638
  constructor(e, t) {
@@ -1690,7 +1688,7 @@ class ot extends x {
1690
1688
  }) : 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
1689
  }
1692
1690
  }
1693
- class xe extends x {
1691
+ class re extends b {
1694
1692
  http;
1695
1693
  baseUrl;
1696
1694
  constructor(e, t) {
@@ -2827,7 +2825,7 @@ class xe extends x {
2827
2825
  }) : 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
2826
  }
2829
2827
  }
2830
- class lt extends x {
2828
+ class De extends b {
2831
2829
  http;
2832
2830
  baseUrl;
2833
2831
  constructor(e, t) {
@@ -2955,7 +2953,7 @@ class lt extends x {
2955
2953
  }) : t !== 200 && t !== 204 ? e.text().then((r) => a("An unexpected server error occurred.", t, r, n)) : Promise.resolve(null);
2956
2954
  }
2957
2955
  }
2958
- class ut extends x {
2956
+ class Be extends b {
2959
2957
  http;
2960
2958
  baseUrl;
2961
2959
  constructor(e, t) {
@@ -3224,8 +3222,8 @@ class ut extends x {
3224
3222
  }) : 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
3223
  }
3226
3224
  }
3227
- var ge = /* @__PURE__ */ ((i) => (i.AppMenu = "AppMenu", i.MainMenu = "MainMenu", i.Hidden = "Hidden", i))(ge || {}), Ee = /* @__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))(Ee || {}), Ue = /* @__PURE__ */ ((i) => (i.Detached = "Detached", i.Unchanged = "Unchanged", i.Added = "Added", i.Deleted = "Deleted", i.Modified = "Modified", i))(Ue || {}), ye = /* @__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))(ye || {}), Se = /* @__PURE__ */ ((i) => (i.Info = "Info", i.Warning = "Warning", i.Debug = "Debug", i.Error = "Error", i))(Se || {}), Te = /* @__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))(Te || {}), _e = /* @__PURE__ */ ((i) => (i.Ascending = "Ascending", i.Descending = "Descending", i))(_e || {});
3228
- class Pe extends Error {
3225
+ var ne = /* @__PURE__ */ ((i) => (i.AppMenu = "AppMenu", i.MainMenu = "MainMenu", i.Hidden = "Hidden", i))(ne || {}), se = /* @__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))(se || {}), ae = /* @__PURE__ */ ((i) => (i.Detached = "Detached", i.Unchanged = "Unchanged", i.Added = "Added", i.Deleted = "Deleted", i.Modified = "Modified", i))(ae || {}), ie = /* @__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))(ie || {}), oe = /* @__PURE__ */ ((i) => (i.Info = "Info", i.Warning = "Warning", i.Debug = "Debug", i.Error = "Error", i))(oe || {}), le = /* @__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))(le || {}), ue = /* @__PURE__ */ ((i) => (i.Ascending = "Ascending", i.Descending = "Descending", i))(ue || {});
3226
+ class he extends Error {
3229
3227
  message;
3230
3228
  status;
3231
3229
  response;
@@ -3240,21 +3238,21 @@ class Pe extends Error {
3240
3238
  }
3241
3239
  }
3242
3240
  function a(i, e, t, n, r) {
3243
- throw r ?? new Pe(i, e, t, n, null);
3241
+ throw r ?? new he(i, e, t, n, null);
3244
3242
  }
3245
- const K = {
3243
+ const B = {
3246
3244
  debug: 0,
3247
3245
  info: 1,
3248
3246
  warn: 2,
3249
3247
  error: 3,
3250
3248
  none: 4
3251
- }, we = {
3249
+ }, ce = {
3252
3250
  level: "warn",
3253
3251
  prefix: "@vc-shell/framework",
3254
3252
  enabled: !0
3255
3253
  };
3256
- function E(i) {
3257
- const e = { ...we }, t = i ? `[${e.prefix}#${i}]` : `[${e.prefix}]`, n = (r) => e.enabled ? K[r] >= K[e.level] : !1;
3254
+ function g(i) {
3255
+ const e = { ...ce }, t = i ? `[${e.prefix}#${i}]` : `[${e.prefix}]`, n = (r) => e.enabled ? B[r] >= B[e.level] : !1;
3258
3256
  return {
3259
3257
  /**
3260
3258
  * Log debug messages (only in development)
@@ -3283,7 +3281,7 @@ function E(i) {
3283
3281
  /**
3284
3282
  * Create a child logger with additional context
3285
3283
  */
3286
- child: (r) => E(i ? `${i}:${r}` : r),
3284
+ child: (r) => g(i ? `${i}:${r}` : r),
3287
3285
  /**
3288
3286
  * Set the log level for this logger instance
3289
3287
  */
@@ -3298,16 +3296,16 @@ function E(i) {
3298
3296
  }
3299
3297
  };
3300
3298
  }
3301
- const ht = E(), ct = {
3302
- core: E("core"),
3303
- ui: E("ui"),
3304
- shared: E("shared"),
3305
- plugins: E("plugins"),
3306
- services: E("services"),
3307
- composables: E("composables")
3308
- }, J = E("use-external-provider"), Oe = "externalSignIn", Ae = () => {
3309
- const i = new be(), e = ie(
3310
- Oe,
3299
+ const Le = g(), Ke = {
3300
+ core: g("core"),
3301
+ ui: g("ui"),
3302
+ shared: g("shared"),
3303
+ plugins: g("plugins"),
3304
+ services: g("services"),
3305
+ composables: g("composables")
3306
+ }, k = g("use-external-provider"), de = "externalSignIn", fe = () => {
3307
+ const i = new te(), e = Y(
3308
+ de,
3311
3309
  {},
3312
3310
  {
3313
3311
  listenToStorageChanges: !0,
@@ -3323,18 +3321,18 @@ const ht = E(), ct = {
3323
3321
  const l = window.location.origin, h = window.location.pathname ?? t() ?? "/";
3324
3322
  if (!o)
3325
3323
  throw new Error("The parameter 'authenticationType' cannot be null or undefined.");
3326
- const b = new URL("/externalsignin", l);
3327
- b.searchParams.set("authenticationType", o), b.searchParams.set("returnUrl", h), e.value = { providerType: o }, window.location.assign(b);
3324
+ const x = new URL("/externalsignin", l);
3325
+ x.searchParams.set("authenticationType", o), x.searchParams.set("returnUrl", h), e.value = { providerType: o }, window.location.assign(x);
3328
3326
  } catch (l) {
3329
- throw J.error("External sign-in failed:", l), l;
3327
+ throw k.error("External sign-in failed:", l), l;
3330
3328
  }
3331
3329
  }
3332
3330
  async function r(o) {
3333
3331
  try {
3334
- const l = window.location.origin, h = window.location.pathname ?? "/", b = new URL("/externalsignin/signout", l);
3335
- b.searchParams.set("authenticationType", o), b.searchParams.set("returnUrl", h), e.value = {}, window.location.assign(b);
3332
+ const l = window.location.origin, h = window.location.pathname ?? "/", x = new URL("/externalsignin/signout", l);
3333
+ x.searchParams.set("authenticationType", o), x.searchParams.set("returnUrl", h), e.value = {}, window.location.assign(x);
3336
3334
  } catch (l) {
3337
- throw J.error("External sign-out failed:", l), l;
3335
+ throw k.error("External sign-out failed:", l), l;
3338
3336
  }
3339
3337
  }
3340
3338
  async function s() {
@@ -3342,7 +3340,7 @@ const ht = E(), ct = {
3342
3340
  try {
3343
3341
  o = await i.getExternalLoginProviders();
3344
3342
  } catch (l) {
3345
- J.error("Failed to get external login providers:", l);
3343
+ k.error("Failed to get external login providers:", l);
3346
3344
  }
3347
3345
  return o;
3348
3346
  }
@@ -3352,32 +3350,43 @@ const ht = E(), ct = {
3352
3350
  signOut: r,
3353
3351
  getProviders: s
3354
3352
  };
3355
- }, B = "vc_auth_data", m = E("use-user");
3356
- function je() {
3353
+ };
3354
+ let M = !1;
3355
+ function We() {
3356
+ M = !0;
3357
+ }
3358
+ function Ve() {
3359
+ return M;
3360
+ }
3361
+ function pe() {
3362
+ M = !1;
3363
+ }
3364
+ const D = "vc_auth_data", f = g("use-user");
3365
+ function me() {
3357
3366
  try {
3358
- const i = localStorage.getItem(B);
3367
+ const i = localStorage.getItem(D);
3359
3368
  if (i)
3360
3369
  return JSON.parse(i);
3361
3370
  } catch (i) {
3362
- m.error("Failed to read auth data from storage:", i);
3371
+ f.error("Failed to read auth data from storage:", i);
3363
3372
  }
3364
3373
  return null;
3365
3374
  }
3366
- function W(i) {
3375
+ function L(i) {
3367
3376
  try {
3368
- m.debug("storeAuthData - Saving:", i), localStorage.setItem(B, JSON.stringify(i)), m.debug("storeAuthData - Saved successfully");
3377
+ f.debug("storeAuthData - Saving:", i), localStorage.setItem(D, JSON.stringify(i)), f.debug("storeAuthData - Saved successfully");
3369
3378
  } catch (e) {
3370
- m.error("Failed to store auth data:", e);
3379
+ f.error("Failed to store auth data:", e);
3371
3380
  }
3372
3381
  }
3373
- function Re() {
3382
+ function ve() {
3374
3383
  try {
3375
- localStorage.removeItem(B);
3384
+ localStorage.removeItem(D);
3376
3385
  } catch (i) {
3377
- m.error("Failed to clear auth data:", i);
3386
+ f.error("Failed to clear auth data:", i);
3378
3387
  }
3379
3388
  }
3380
- async function V(i) {
3389
+ async function K(i) {
3381
3390
  try {
3382
3391
  const e = new URLSearchParams(i).toString(), t = await fetch("/connect/token", {
3383
3392
  method: "POST",
@@ -3388,13 +3397,13 @@ async function V(i) {
3388
3397
  });
3389
3398
  if (!t.ok) {
3390
3399
  const h = await t.text();
3391
- return m.error("fetchToken - HTTP error:", t.status, t.statusText, h), null;
3400
+ return f.error("fetchToken - HTTP error:", t.status, t.statusText, h), null;
3392
3401
  }
3393
3402
  const n = await t.json();
3394
- m.debug("fetchToken - Response:", n);
3403
+ f.debug("fetchToken - Response:", n);
3395
3404
  const r = n.access_token, s = n.refresh_token, o = n.expires_in;
3396
3405
  if (n.error || !r)
3397
- return m.error("fetchToken - Error:", n.error_description || n.error || "No access token"), null;
3406
+ return f.error("fetchToken - Error:", n.error_description || n.error || "No access token"), null;
3398
3407
  const l = o ? Date.now() + o * 1e3 : null;
3399
3408
  return {
3400
3409
  token: r,
@@ -3403,16 +3412,16 @@ async function V(i) {
3403
3412
  expires_at: l
3404
3413
  };
3405
3414
  } catch (e) {
3406
- return m.error("fetchToken - Exception:", e), null;
3415
+ return f.error("fetchToken - Exception:", e), null;
3407
3416
  }
3408
3417
  }
3409
- function Ce() {
3410
- const i = S(!1), e = S(), t = S(null), { storage: n, signOut: r } = Ae(), s = new xe(), o = u(() => e.value?.userName != null);
3411
- async function l(c, d) {
3418
+ function be() {
3419
+ const i = N(!1), e = N(), t = N(null), { storage: n, signOut: r } = fe(), s = new re(), o = u(() => e.value?.userName != null);
3420
+ async function l(c, m) {
3412
3421
  let p = !1;
3413
3422
  try {
3414
3423
  i.value = !0, p = await s.validatePasswordResetToken(c, {
3415
- token: d
3424
+ token: m
3416
3425
  });
3417
3426
  } catch {
3418
3427
  } finally {
@@ -3423,38 +3432,38 @@ function Ce() {
3423
3432
  async function h(c) {
3424
3433
  return s.validatePassword(c);
3425
3434
  }
3426
- async function b(c, d, p) {
3435
+ async function x(c, m, p) {
3427
3436
  return s.resetPasswordByToken(c, {
3428
- newPassword: d,
3437
+ newPassword: m,
3429
3438
  token: p
3430
3439
  });
3431
3440
  }
3432
- async function C(c, d) {
3433
- m.debug("signIn - Entry point");
3441
+ async function I(c, m) {
3442
+ f.debug("signIn - Entry point");
3434
3443
  try {
3435
- i.value = !0;
3436
- const p = await s.login({ userName: c, password: d });
3437
- if (m.debug("signIn - Cookie login completed:", p), !p.succeeded)
3444
+ i.value = !0, pe();
3445
+ const p = await s.login({ userName: c, password: m });
3446
+ if (f.debug("signIn - Cookie login completed:", p), !p.succeeded)
3438
3447
  return p;
3439
- m.debug("signIn - Requesting token...");
3440
- const v = await V({
3448
+ f.debug("signIn - Requesting token...");
3449
+ const v = await K({
3441
3450
  grant_type: "password",
3442
3451
  username: c,
3443
- password: d,
3452
+ password: m,
3444
3453
  scope: "offline_access"
3445
3454
  });
3446
- v && (t.value = v, W(t.value), m.debug("signIn - Token saved:", t.value));
3447
- const j = await s.getCurrentUser();
3448
- if (j)
3449
- return e.value = j, p;
3455
+ v && (t.value = v, L(t.value), f.debug("signIn - Token saved:", t.value));
3456
+ const y = await s.getCurrentUser();
3457
+ if (y)
3458
+ return e.value = y, p;
3450
3459
  throw { succeeded: !1 };
3451
3460
  } catch (p) {
3452
- m.error("signIn failed:", p);
3461
+ f.error("signIn failed:", p);
3453
3462
  let v = p.message;
3454
3463
  if (p.response)
3455
3464
  try {
3456
- const j = JSON.parse(p.response);
3457
- v = j.errorDescription || j.errors?.[0]?.description || j.error || v;
3465
+ const y = JSON.parse(p.response);
3466
+ v = y.errorDescription || y.errors?.[0]?.description || y.error || v;
3458
3467
  } catch {
3459
3468
  }
3460
3469
  return { succeeded: !1, error: v, status: p.status };
@@ -3462,41 +3471,41 @@ function Ce() {
3462
3471
  i.value = !1;
3463
3472
  }
3464
3473
  }
3465
- async function w() {
3466
- m.debug("signOut - Entry point"), e.value = void 0, Re(), t.value = null, n.value?.providerType ? await r(n.value.providerType) : s.logout();
3474
+ async function O() {
3475
+ f.debug("signOut - Entry point"), e.value = void 0, ve(), t.value = null, n.value?.providerType ? await r(n.value.providerType) : s.logout();
3467
3476
  }
3468
3477
  let U = null;
3469
- async function O() {
3478
+ async function w() {
3470
3479
  return U || (U = (async () => {
3471
- m.debug("loadUser - Entry point");
3480
+ f.debug("loadUser - Entry point");
3472
3481
  try {
3473
3482
  i.value = !0, performance.mark("vc:auth-start");
3474
- const [c] = await Promise.all([s.getCurrentUser(), f()]);
3475
- e.value = c, performance.mark("vc:auth-done"), m.debug("User details loaded:", e.value);
3483
+ const [c] = await Promise.all([s.getCurrentUser(), d()]);
3484
+ e.value = c, performance.mark("vc:auth-done"), f.debug("User details loaded:", e.value);
3476
3485
  } catch (c) {
3477
- m.error("loadUser failed:", c);
3486
+ f.error("loadUser failed:", c);
3478
3487
  } finally {
3479
3488
  i.value = !1, U = null;
3480
3489
  }
3481
3490
  return { ...e.value };
3482
3491
  })(), U);
3483
3492
  }
3484
- async function I(c) {
3493
+ async function z(c) {
3485
3494
  try {
3486
3495
  return i.value = !0, await s.requestPasswordReset(c), { succeeded: !0 };
3487
- } catch (d) {
3488
- return { succeeded: !1, error: d };
3496
+ } catch (m) {
3497
+ return { succeeded: !1, error: m };
3489
3498
  } finally {
3490
3499
  i.value = !1;
3491
3500
  }
3492
3501
  }
3493
- async function A(c, d) {
3502
+ async function A(c, m) {
3494
3503
  let p;
3495
3504
  try {
3496
3505
  i.value = !0;
3497
3506
  const v = {
3498
3507
  oldPassword: c,
3499
- newPassword: d
3508
+ newPassword: m
3500
3509
  };
3501
3510
  p = await s.changeCurrentUserPassword(v);
3502
3511
  } catch (v) {
@@ -3510,32 +3519,32 @@ function Ce() {
3510
3519
  let c = null;
3511
3520
  try {
3512
3521
  c = await s.getLoginTypes();
3513
- } catch (d) {
3514
- throw m.error("getLoginType failed:", d), d;
3522
+ } catch (m) {
3523
+ throw f.error("getLoginType failed:", m), m;
3515
3524
  }
3516
3525
  return c;
3517
3526
  }
3518
- const z = 60 * 1e3;
3519
- async function f() {
3520
- if (m.debug("getAccessToken - Entry point"), t.value || (t.value = je()), !t.value)
3521
- return m.debug("getAccessToken - No auth data available"), null;
3522
- const c = Date.now(), d = t.value.expires_at, p = d ? c >= d - z : !1;
3523
- if (m.debug("getAccessToken - Token status:", {
3527
+ const $ = 60 * 1e3;
3528
+ async function d() {
3529
+ if (f.debug("getAccessToken - Entry point"), t.value || (t.value = me()), !t.value)
3530
+ return f.debug("getAccessToken - No auth data available"), null;
3531
+ const c = Date.now(), m = t.value.expires_at, p = m ? c >= m - $ : !1;
3532
+ if (f.debug("getAccessToken - Token status:", {
3524
3533
  hasToken: !!t.value.access_token,
3525
- expiresAt: d ? new Date(d).toISOString() : "not set",
3534
+ expiresAt: m ? new Date(m).toISOString() : "not set",
3526
3535
  now: new Date(c).toISOString(),
3527
3536
  shouldRefresh: p,
3528
3537
  hasRefreshToken: !!t.value.refresh_token
3529
3538
  }), p && t.value.refresh_token) {
3530
- m.debug("getAccessToken - Token expired or expiring soon, attempting refresh");
3531
- const v = await V({
3539
+ f.debug("getAccessToken - Token expired or expiring soon, attempting refresh");
3540
+ const v = await K({
3532
3541
  grant_type: "refresh_token",
3533
3542
  refresh_token: t.value.refresh_token,
3534
3543
  scope: "offline_access"
3535
3544
  });
3536
- v ? (v.refresh_token = v.refresh_token ?? t.value.refresh_token, t.value = v, W(t.value), m.debug("getAccessToken - Token refreshed successfully, new expiry:", {
3545
+ v ? (v.refresh_token = v.refresh_token ?? t.value.refresh_token, t.value = v, L(t.value), f.debug("getAccessToken - Token refreshed successfully, new expiry:", {
3537
3546
  expiresAt: v.expires_at ? new Date(v.expires_at).toISOString() : "not set"
3538
- })) : m.warn("getAccessToken - Failed to refresh token, returning existing token");
3547
+ })) : f.warn("getAccessToken - Failed to refresh token, returning existing token");
3539
3548
  }
3540
3549
  return t.value?.access_token ?? t.value?.token ?? null;
3541
3550
  }
@@ -3544,20 +3553,20 @@ function Ce() {
3544
3553
  loading: u(() => i.value),
3545
3554
  isAdministrator: u(() => e.value?.isAdministrator),
3546
3555
  isAuthenticated: o,
3547
- loadUser: O,
3548
- signIn: C,
3549
- signOut: w,
3556
+ loadUser: w,
3557
+ signIn: I,
3558
+ signOut: O,
3550
3559
  validateToken: l,
3551
3560
  validatePassword: h,
3552
- resetPasswordByToken: b,
3553
- requestPasswordReset: I,
3561
+ resetPasswordByToken: x,
3562
+ requestPasswordReset: z,
3554
3563
  changeUserPassword: A,
3555
3564
  getLoginType: _,
3556
- getAccessToken: f
3565
+ getAccessToken: d
3557
3566
  };
3558
3567
  }
3559
- const Ie = oe(Ce), dt = () => {
3560
- const i = Ie();
3568
+ const xe = X(be), qe = () => {
3569
+ const i = xe();
3561
3570
  return {
3562
3571
  user: i.user,
3563
3572
  loading: i.loading,
@@ -3567,7 +3576,7 @@ const Ie = oe(Ce), dt = () => {
3567
3576
  signOut: i.signOut,
3568
3577
  getAccessToken: i.getAccessToken
3569
3578
  };
3570
- }, ft = Symbol("BladeStack"), pt = Symbol("BladeMessaging"), mt = Symbol("BladeDescriptor"), vt = Symbol("BladeMaximized"), bt = Symbol("BladeRenderingState"), xt = Symbol("BladeData"), gt = Symbol("BladeBanners"), Et = Symbol("BladeBackButton"), Ut = Symbol("NotificationStore"), yt = Symbol("WidgetService"), St = Symbol("DashboardService"), Tt = Symbol("MenuService"), _t = Symbol("SettingsMenuService"), Pt = Symbol("AppBarWidgetService"), wt = Symbol("AppBarMobileButtonsService"), Ot = Symbol("LanguageService"), At = Symbol("ToolbarService"), jt = Symbol("DynamicModules"), Rt = Symbol("ModulesReady"), Ct = Symbol("ModulesLoadError"), ze = Symbol("AppRootElement"), It = Symbol("EmbeddedMode"), zt = Symbol("ShellIndicators"), $t = Symbol("AiAgentService"), Nt = Symbol("IsMobile"), Gt = Symbol("IsDesktop"), kt = Symbol("IsPhone"), Jt = Symbol("IsTablet"), Ft = Symbol("IsTouch"), Mt = Symbol("BladeRoutes"), Dt = Symbol("InternalRoutes"), Bt = Symbol("CloseSettingsMenu"), Lt = Symbol("BladeContext"), Kt = Symbol("WidgetScope"), Wt = Symbol("BladeForm"), Vt = Symbol("BladeLoading"), $e = /* @__PURE__ */ P({
3579
+ }, He = Symbol("BladeStack"), Ye = Symbol("BladeMessaging"), Xe = Symbol("BladeDescriptor"), Ze = Symbol("BladeMaximized"), Qe = Symbol("BladeRenderingState"), et = Symbol("BladeData"), tt = Symbol("BladeBanners"), rt = Symbol("BladeBackButton"), nt = Symbol("NotificationStore"), st = Symbol("WidgetService"), at = Symbol("DashboardService"), it = Symbol("MenuService"), ot = Symbol("SettingsMenuService"), lt = Symbol("AppBarWidgetService"), ut = Symbol("AppBarMobileButtonsService"), ht = Symbol("LanguageService"), ct = Symbol("ToolbarService"), dt = Symbol("DynamicModules"), ft = Symbol("ModulesReady"), pt = Symbol("ModulesLoadError"), mt = Symbol("AppRootElement"), vt = Symbol("EmbeddedMode"), bt = Symbol("ShellIndicators"), xt = Symbol("AiAgentService"), gt = Symbol("IsMobile"), Et = Symbol("IsDesktop"), Ut = Symbol("IsPhone"), St = Symbol("IsTablet"), yt = Symbol("IsTouch"), Tt = Symbol("BladeRoutes"), _t = Symbol("InternalRoutes"), Pt = Symbol("CloseSettingsMenu"), Ot = Symbol("BladeContext"), wt = Symbol("WidgetScope"), At = Symbol("BladeForm"), jt = Symbol("BladeLoading"), ge = /* @__PURE__ */ T({
3571
3580
  __name: "vc-material-icon",
3572
3581
  props: {
3573
3582
  icon: {},
@@ -3578,19 +3587,19 @@ const Ie = oe(Ce), dt = () => {
3578
3587
  },
3579
3588
  setup(i) {
3580
3589
  const e = i, t = u(() => typeof e.customSize == "number" && e.customSize > 0), n = u(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
3581
- return G(() => {
3582
- }), (r, s) => (g(), y("span", {
3583
- class: T([
3590
+ return R(() => {
3591
+ }), (r, s) => (E(), S("span", {
3592
+ class: P([
3584
3593
  "vc-material-icon",
3585
3594
  "material-symbols-" + i.type,
3586
3595
  !t.value && `vc-material-icon--${i.size}`,
3587
3596
  i.variant ? `vc-material-icon--${i.variant}` : ""
3588
3597
  ]),
3589
- style: R(n.value),
3598
+ style: C(n.value),
3590
3599
  "aria-hidden": "true"
3591
- }, H(i.icon), 7));
3600
+ }, V(i.icon), 7));
3592
3601
  }
3593
- }), Ne = /* @__PURE__ */ P({
3602
+ }), Ee = /* @__PURE__ */ T({
3594
3603
  __name: "vc-bootstrap-icon",
3595
3604
  props: {
3596
3605
  icon: {},
@@ -3600,21 +3609,21 @@ const Ie = oe(Ce), dt = () => {
3600
3609
  },
3601
3610
  setup(i) {
3602
3611
  const e = i, t = u(() => typeof e.customSize == "number" && e.customSize > 0), n = u(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
3603
- G(() => {
3612
+ R(() => {
3604
3613
  });
3605
3614
  const r = u(() => e.icon ? `bi-${e.icon.startsWith("bi-") ? e.icon.substring(3) : e.icon}` : "");
3606
- return (s, o) => (g(), y("i", {
3607
- class: T([
3615
+ return (s, o) => (E(), S("i", {
3616
+ class: P([
3608
3617
  "vc-bootstrap-icon",
3609
3618
  !t.value && `vc-bootstrap-icon--${i.size}`,
3610
3619
  r.value,
3611
3620
  i.variant ? `vc-bootstrap-icon--${i.variant}` : ""
3612
3621
  ]),
3613
- style: R(n.value),
3622
+ style: C(n.value),
3614
3623
  "aria-hidden": "true"
3615
3624
  }, null, 6));
3616
3625
  }
3617
- }), Ge = /* @__PURE__ */ P({
3626
+ }), Ue = /* @__PURE__ */ T({
3618
3627
  __name: "vc-lucide-icon",
3619
3628
  props: {
3620
3629
  icon: {},
@@ -3624,35 +3633,35 @@ const Ie = oe(Ce), dt = () => {
3624
3633
  customSize: {}
3625
3634
  },
3626
3635
  setup(i) {
3627
- const e = E("vc-lucide-icon"), t = i, n = u(() => typeof t.customSize == "number" && t.customSize > 0), r = u(() => {
3636
+ const e = g("vc-lucide-icon"), t = i, n = u(() => typeof t.customSize == "number" && t.customSize > 0), r = u(() => {
3628
3637
  if (!t.icon) return "HelpCircleIcon";
3629
3638
  let l = t.icon;
3630
3639
  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";
3631
3640
  }), s = u(() => {
3632
- const l = r.value, h = le[l];
3633
- return !h || typeof h != "object" && typeof h != "function" ? (e.warn(`Lucide icon not found: ${l}`), null) : q(h);
3641
+ const l = r.value, h = Z[l];
3642
+ return !h || typeof h != "object" && typeof h != "function" ? (e.warn(`Lucide icon not found: ${l}`), null) : W(h);
3634
3643
  }), o = u(() => n.value && t.customSize ? {
3635
3644
  width: `${t.customSize}px`,
3636
3645
  height: `${t.customSize}px`
3637
3646
  } : {});
3638
- return (l, h) => s.value ? (g(), N(F(s.value), {
3647
+ return (l, h) => s.value ? (E(), J(F(s.value), {
3639
3648
  key: 0,
3640
3649
  "stroke-width": t.strokeWidth,
3641
- class: T([
3650
+ class: P([
3642
3651
  "vc-lucide-icon",
3643
3652
  !n.value && `vc-lucide-icon--${i.size}`,
3644
3653
  i.variant ? `vc-lucide-icon--${i.variant}` : ""
3645
3654
  ]),
3646
- style: R(o.value),
3655
+ style: C(o.value),
3647
3656
  "aria-hidden": "true"
3648
- }, null, 8, ["stroke-width", "class", "style"])) : (g(), y("span", {
3657
+ }, null, 8, ["stroke-width", "class", "style"])) : (E(), S("span", {
3649
3658
  key: 1,
3650
- class: T(["vc-lucide-icon", !n.value && `vc-lucide-icon--${i.size}`])
3659
+ class: P(["vc-lucide-icon", !n.value && `vc-lucide-icon--${i.size}`])
3651
3660
  }, [...h[0] || (h[0] = [
3652
- M("i", { class: "vc-lucide-icon__fallback" }, null, -1)
3661
+ q("i", { class: "vc-lucide-icon__fallback" }, null, -1)
3653
3662
  ])], 2));
3654
3663
  }
3655
- }), ke = /* @__PURE__ */ P({
3664
+ }), Se = /* @__PURE__ */ T({
3656
3665
  __name: "vc-fontawesome-icon",
3657
3666
  props: {
3658
3667
  icon: {},
@@ -3662,21 +3671,21 @@ const Ie = oe(Ce), dt = () => {
3662
3671
  },
3663
3672
  setup(i) {
3664
3673
  const e = i, t = u(() => typeof e.customSize == "number" && e.customSize > 0), n = u(() => e.customSize ? { fontSize: `${e.customSize}px` } : void 0);
3665
- G(() => {
3674
+ R(() => {
3666
3675
  });
3667
3676
  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}`);
3668
- return (s, o) => (g(), y("i", {
3669
- class: T([
3677
+ return (s, o) => (E(), S("i", {
3678
+ class: P([
3670
3679
  "vc-fa-icon",
3671
3680
  !t.value && `vc-fa-icon--${i.size}`,
3672
3681
  r.value,
3673
3682
  i.variant ? `vc-fa-icon--${i.variant}` : ""
3674
3683
  ]),
3675
- style: R(n.value),
3684
+ style: C(n.value),
3676
3685
  "aria-hidden": "true"
3677
3686
  }, null, 6));
3678
3687
  }
3679
- }), Je = ["xlink:href"], Fe = /* @__PURE__ */ P({
3688
+ }), ye = ["xlink:href"], Te = /* @__PURE__ */ T({
3680
3689
  inheritAttrs: !1,
3681
3690
  __name: "vc-svg-icon",
3682
3691
  props: {
@@ -3701,18 +3710,18 @@ const Ie = oe(Ce), dt = () => {
3701
3710
  const s = {};
3702
3711
  return e.customSize && (s.width = `${e.customSize}px`, s.height = `${e.customSize}px`), e.strokeWidth && (s.strokeWidth = `${e.strokeWidth}`), s;
3703
3712
  });
3704
- return (s, o) => (g(), y("svg", $({
3713
+ return (s, o) => (E(), S("svg", j({
3705
3714
  xmlns: "http://www.w3.org/2000/svg",
3706
3715
  class: ["vc-svg-icon", !t.value && `vc-svg-icon--${i.size}`, i.variant ? `vc-svg-icon--${i.variant}` : ""],
3707
3716
  style: r.value
3708
3717
  }, s.$attrs), [
3709
- n.value ? (g(), y("use", {
3718
+ n.value ? (E(), S("use", {
3710
3719
  key: 0,
3711
3720
  "xlink:href": n.value
3712
- }, null, 8, Je)) : D("", !0)
3721
+ }, null, 8, ye)) : H("", !0)
3713
3722
  ], 16));
3714
3723
  }
3715
- }), Me = ["aria-hidden", "aria-label", "role"], qt = /* @__PURE__ */ P({
3724
+ }), _e = ["aria-hidden", "aria-label", "role"], Rt = /* @__PURE__ */ T({
3716
3725
  __name: "vc-icon",
3717
3726
  props: {
3718
3727
  icon: { default: "lucide-square" },
@@ -3725,7 +3734,7 @@ const Ie = oe(Ce), dt = () => {
3725
3734
  },
3726
3735
  setup(i) {
3727
3736
  const e = i;
3728
- G(() => {
3737
+ R(() => {
3729
3738
  });
3730
3739
  const t = {
3731
3740
  xs: 12,
@@ -3741,42 +3750,42 @@ const Ie = oe(Ce), dt = () => {
3741
3750
  if (n.value === "material" && e.icon.startsWith("material-"))
3742
3751
  return e.icon.replace(/^material-/, "");
3743
3752
  if (n.value === "lucide" && e.icon.startsWith("lucide-")) {
3744
- const f = e.icon.replace(/^lucide-/, "");
3745
- return f.endsWith("Icon") ? f : `${f}Icon`;
3753
+ const d = e.icon.replace(/^lucide-/, "");
3754
+ return d.endsWith("Icon") ? d : `${d}Icon`;
3746
3755
  }
3747
3756
  return e.icon;
3748
- }), s = u(() => n.value === "material"), o = u(() => n.value === "bootstrap"), l = u(() => n.value === "lucide"), h = u(() => n.value === "fontawesome"), b = u(() => {
3757
+ }), s = u(() => n.value === "material"), o = u(() => n.value === "bootstrap"), l = u(() => n.value === "lucide"), h = u(() => n.value === "fontawesome"), x = u(() => {
3749
3758
  if (typeof e.icon != "string")
3750
3759
  return !0;
3751
3760
  if (["fontawesome", "bootstrap"].includes(n.value) || n.value === "material" && e.icon.startsWith("material-") || n.value === "lucide" && e.icon.startsWith("lucide-"))
3752
3761
  return !1;
3753
3762
  if (l.value)
3754
3763
  try {
3755
- const f = typeof r.value == "string" ? r.value : String(r.value);
3756
- return k(f) !== f;
3764
+ const d = typeof r.value == "string" ? r.value : String(r.value);
3765
+ return G(d) !== d;
3757
3766
  } catch {
3758
3767
  return !1;
3759
3768
  }
3760
3769
  try {
3761
- return k(e.icon) !== e.icon;
3770
+ return G(e.icon) !== e.icon;
3762
3771
  } catch {
3763
3772
  return !1;
3764
3773
  }
3765
- }), C = u(() => {
3774
+ }), I = u(() => {
3766
3775
  if (typeof e.icon != "string")
3767
- return q(e.icon);
3776
+ return W(e.icon);
3768
3777
  if (["fontawesome", "bootstrap", "material"].includes(n.value))
3769
3778
  return "i";
3770
3779
  try {
3771
- const f = typeof r.value == "string" ? r.value : String(r.value), c = k(f);
3772
- return c !== f ? c : "i";
3780
+ const d = typeof r.value == "string" ? r.value : String(r.value), c = G(d);
3781
+ return c !== d ? c : "i";
3773
3782
  } catch {
3774
3783
  return "i";
3775
3784
  }
3776
- }), w = u(() => s.value ? $e : o.value ? Ne : l.value ? Ge : h.value ? ke : _.value ? Fe : b.value ? C.value : "i"), U = u(() => e.customSize ? e.customSize : t[e.size]), O = u(() => {
3777
- const f = {};
3778
- return b.value && e.customSize && (f.width = `${e.customSize}px`, f.height = `${e.customSize}px`), f;
3779
- }), I = u(() => e.customSize ? {
3785
+ }), O = u(() => s.value ? ge : o.value ? Ee : l.value ? Ue : h.value ? Se : _.value ? Te : x.value ? I.value : "i"), U = u(() => e.customSize ? e.customSize : t[e.size]), w = u(() => {
3786
+ const d = {};
3787
+ return x.value && e.customSize && (d.width = `${e.customSize}px`, d.height = `${e.customSize}px`), d;
3788
+ }), z = u(() => e.customSize ? {
3780
3789
  fontSize: `${e.customSize}px`
3781
3790
  } : {}), A = u(() => s.value ? {
3782
3791
  icon: typeof r.value == "string" ? r.value.replace(/-outlined$|-rounded$|-sharp$/, "") : r.value,
@@ -3808,237 +3817,119 @@ const Ie = oe(Ce), dt = () => {
3808
3817
  customSize: e.customSize
3809
3818
  // Set custom size without scaling
3810
3819
  } : _.value ? {
3811
- icon: z.value,
3820
+ icon: $.value,
3812
3821
  size: e.size,
3813
3822
  variant: e.variant,
3814
3823
  customSize: e.customSize,
3815
3824
  basePath: e.basePath
3816
- } : b.value ? {
3825
+ } : x.value ? {
3817
3826
  size: e.size,
3818
3827
  width: U.value,
3819
3828
  height: U.value,
3820
3829
  color: e.variant ? `var(--icon-color-${e.variant})` : "currentColor"
3821
- } : {}), _ = u(() => n.value === "svg"), z = u(() => !_.value || typeof e.icon != "string" ? "" : e.icon.startsWith("svg:") ? e.icon.substring(4) : e.icon);
3822
- return (f, c) => i.useContainer ? (g(), y("div", $({
3830
+ } : {}), _ = u(() => n.value === "svg"), $ = u(() => !_.value || typeof e.icon != "string" ? "" : e.icon.startsWith("svg:") ? e.icon.substring(4) : e.icon);
3831
+ return (d, c) => i.useContainer ? (E(), S("div", j({
3823
3832
  key: 0,
3824
3833
  class: ["vc-icon-container", `vc-icon-container--${i.size}`],
3825
- style: I.value,
3834
+ style: z.value,
3826
3835
  "aria-hidden": i.ariaLabel ? void 0 : "true",
3827
3836
  "aria-label": i.ariaLabel || void 0,
3828
3837
  role: i.ariaLabel ? "img" : void 0
3829
- }, f.$attrs), [
3830
- (g(), N(F(w.value), $({
3838
+ }, d.$attrs), [
3839
+ (E(), J(F(O.value), j({
3831
3840
  class: [
3832
3841
  "vc-icon",
3833
3842
  `vc-icon--${i.size}`,
3834
3843
  i.variant ? `vc-icon--${i.variant}` : "",
3835
- !b.value && !s.value && !l.value && !o.value && !h.value ? i.icon.toLowerCase() : ""
3844
+ !x.value && !s.value && !l.value && !o.value && !h.value ? i.icon.toLowerCase() : ""
3836
3845
  ],
3837
- style: O.value
3846
+ style: w.value
3838
3847
  }, A.value), null, 16, ["class", "style"]))
3839
- ], 16, Me)) : (g(), N(F(w.value), $({
3848
+ ], 16, _e)) : (E(), J(F(O.value), j({
3840
3849
  key: 1,
3841
3850
  class: [
3842
3851
  "vc-icon",
3843
3852
  `vc-icon--${i.size}`,
3844
3853
  i.variant ? `vc-icon--${i.variant}` : "",
3845
- !b.value && !s.value && !l.value && !o.value && !h.value ? i.icon.toLowerCase() : ""
3854
+ !x.value && !s.value && !l.value && !o.value && !h.value ? i.icon.toLowerCase() : ""
3846
3855
  ],
3847
- style: O.value,
3856
+ style: w.value,
3848
3857
  "aria-hidden": i.ariaLabel ? void 0 : "true",
3849
3858
  "aria-label": i.ariaLabel || void 0,
3850
3859
  role: i.ariaLabel ? "img" : void 0
3851
- }, { ...A.value, ...f.$attrs }), null, 16, ["class", "style", "aria-hidden", "aria-label", "role"]));
3852
- }
3853
- });
3854
- function De(i = {}) {
3855
- const e = Y(ze, void 0);
3856
- return {
3857
- teleportTarget: u(() => {
3858
- const n = i.to ? X(i.to) : void 0;
3859
- if (n)
3860
- return n;
3861
- if (e?.value)
3862
- return e.value;
3863
- if (i.fallbackToBody !== !1)
3864
- return "body";
3865
- })
3866
- };
3867
- }
3868
- const Be = ["aria-describedby"], Ht = /* @__PURE__ */ P({
3869
- __name: "vc-tooltip",
3870
- props: {
3871
- placement: { default: "bottom" },
3872
- offset: { default: () => ({
3873
- crossAxis: 0,
3874
- mainAxis: 8
3875
- }) },
3876
- delay: { default: 0 },
3877
- arrow: { type: Boolean, default: !0 },
3878
- variant: { default: "default" },
3879
- maxWidth: { default: 240 },
3880
- disabled: { type: Boolean, default: !1 }
3881
- },
3882
- setup(i) {
3883
- const e = i, t = `vc-tooltip-${Z()}`, n = S(!1), r = S(null), s = S(null), o = S(null), l = S(null);
3884
- let h = null;
3885
- const { teleportTarget: b } = De(), C = u(() => {
3886
- const d = [
3887
- ce({
3888
- mainAxis: e.offset?.mainAxis ?? 8,
3889
- crossAxis: e.offset?.crossAxis ?? 0
3890
- }),
3891
- de({ padding: 8 }),
3892
- fe({ padding: 8 })
3893
- ];
3894
- return e.arrow && d.push(ue({ element: o, padding: 4 })), d;
3895
- }), {
3896
- floatingStyles: w,
3897
- placement: U,
3898
- middlewareData: O
3899
- } = he(r, s, {
3900
- placement: u(() => e.placement),
3901
- whileElementsMounted: pe,
3902
- middleware: C
3903
- }), I = u(() => typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth), A = u(() => ({
3904
- ...w.value,
3905
- maxWidth: I.value
3906
- })), _ = u(() => U.value.split("-")[0]), z = u(() => {
3907
- const d = O.value.arrow;
3908
- if (!d) return {};
3909
- const p = {};
3910
- d.x != null && (p.left = `${d.x}px`), d.y != null && (p.top = `${d.y}px`);
3911
- const v = { top: "bottom", right: "left", bottom: "top", left: "right" }[_.value];
3912
- return p[v] = `${-8 / 2}px`, p;
3913
- }), f = () => {
3914
- e.disabled || (e.delay > 0 ? h = setTimeout(() => {
3915
- n.value = !0;
3916
- }, e.delay) : n.value = !0);
3917
- }, c = () => {
3918
- h && (clearTimeout(h), h = null), n.value = !1;
3919
- };
3920
- return Q(() => {
3921
- h && (clearTimeout(h), h = null);
3922
- }), (d, p) => (g(), y("div", {
3923
- ref_key: "target",
3924
- ref: l,
3925
- class: "vc-tooltip",
3926
- onMouseenter: f,
3927
- onMouseleave: c,
3928
- onFocusin: f,
3929
- onFocusout: c,
3930
- onKeydown: ee(c, ["escape"])
3931
- }, [
3932
- M("div", {
3933
- ref_key: "tooltipCompRef",
3934
- ref: r,
3935
- class: "vc-tooltip__trigger",
3936
- "aria-describedby": n.value ? t : void 0
3937
- }, [
3938
- L(d.$slots, "default")
3939
- ], 8, Be),
3940
- (g(), N(te, { to: re(b) }, [
3941
- ne(se, { name: "vc-tooltip-fade" }, {
3942
- default: ae(() => [
3943
- n.value && !i.disabled && d.$slots.tooltip ? (g(), y("div", {
3944
- key: 0,
3945
- id: t,
3946
- ref_key: "tooltipRef",
3947
- ref: s,
3948
- role: "tooltip",
3949
- style: R(A.value),
3950
- class: T(["vc-tooltip__wrapper", `vc-tooltip__wrapper--${i.variant}`])
3951
- }, [
3952
- i.arrow ? (g(), y("div", {
3953
- key: 0,
3954
- ref_key: "arrowRef",
3955
- ref: o,
3956
- class: T(["vc-tooltip__arrow", `vc-tooltip__arrow--${i.variant}`]),
3957
- style: R(z.value)
3958
- }, null, 6)) : D("", !0),
3959
- M("div", {
3960
- class: T(["vc-tooltip__body", `vc-tooltip__body--${i.variant}`])
3961
- }, [
3962
- L(d.$slots, "tooltip")
3963
- ], 2)
3964
- ], 6)) : D("", !0)
3965
- ]),
3966
- _: 3
3967
- })
3968
- ], 8, ["to"]))
3969
- ], 544));
3860
+ }, { ...A.value, ...d.$attrs }), null, 16, ["class", "style", "aria-hidden", "aria-label", "role"]));
3970
3861
  }
3971
3862
  });
3972
3863
  export {
3973
- Dt as $,
3974
- $t as A,
3975
- mt as B,
3976
- x as C,
3977
- Ze as D,
3978
- It as E,
3979
- Et as F,
3980
- Vt as G,
3981
- vt as H,
3982
- kt as I,
3983
- bt as J,
3984
- Qe as K,
3985
- Ot as L,
3986
- Rt as M,
3987
- Ut as N,
3988
- Bt as O,
3989
- St as P,
3990
- et as Q,
3991
- tt as R,
3992
- lt as S,
3993
- At as T,
3994
- jt as U,
3995
- rt as V,
3996
- yt as W,
3997
- Ee as X,
3998
- Ue as Y,
3999
- be as Z,
4000
- qt as _,
4001
- Ht as a,
4002
- nt as a0,
4003
- ye as a1,
4004
- st as a2,
4005
- at as a3,
4006
- Ct as a4,
4007
- it as a5,
4008
- Se as a6,
4009
- ot as a7,
4010
- xe as a8,
4011
- Te as a9,
4012
- ut as aa,
4013
- zt as ab,
4014
- _e as ac,
4015
- Ce as ad,
4016
- Ie as ae,
4017
- ht as af,
4018
- ct as ag,
4019
- ft as b,
4020
- E as c,
4021
- pt as d,
4022
- gt as e,
4023
- xt as f,
4024
- dt as g,
4025
- Kt as h,
4026
- Lt as i,
4027
- Ae as j,
4028
- Wt as k,
4029
- Jt as l,
4030
- Nt as m,
4031
- Gt as n,
4032
- Ft as o,
4033
- Mt as p,
4034
- Pt as q,
4035
- Tt as r,
4036
- _t as s,
4037
- Pe as t,
4038
- De as u,
4039
- wt as v,
4040
- Ye as w,
4041
- ge as x,
4042
- ze as y,
4043
- Xe as z
3864
+ _t as $,
3865
+ xt as A,
3866
+ Xe as B,
3867
+ b as C,
3868
+ Ce as D,
3869
+ vt as E,
3870
+ rt as F,
3871
+ jt as G,
3872
+ Ze as H,
3873
+ Ut as I,
3874
+ Qe as J,
3875
+ Ie as K,
3876
+ ht as L,
3877
+ ft as M,
3878
+ nt as N,
3879
+ Pt as O,
3880
+ at as P,
3881
+ ze as Q,
3882
+ $e as R,
3883
+ De as S,
3884
+ ct as T,
3885
+ dt as U,
3886
+ Ne as V,
3887
+ st as W,
3888
+ se as X,
3889
+ ae as Y,
3890
+ te as Z,
3891
+ Rt as _,
3892
+ He as a,
3893
+ Ge as a0,
3894
+ ie as a1,
3895
+ ke as a2,
3896
+ Je as a3,
3897
+ pt as a4,
3898
+ Fe as a5,
3899
+ oe as a6,
3900
+ Me as a7,
3901
+ re as a8,
3902
+ le as a9,
3903
+ Be as aa,
3904
+ bt as ab,
3905
+ ue as ac,
3906
+ be as ad,
3907
+ xe as ae,
3908
+ Le as af,
3909
+ Ke as ag,
3910
+ Ye as b,
3911
+ g as c,
3912
+ tt as d,
3913
+ et as e,
3914
+ wt as f,
3915
+ Ot as g,
3916
+ fe as h,
3917
+ Ve as i,
3918
+ At as j,
3919
+ St as k,
3920
+ gt as l,
3921
+ We as m,
3922
+ Et as n,
3923
+ yt as o,
3924
+ Tt as p,
3925
+ lt as q,
3926
+ it as r,
3927
+ ot as s,
3928
+ he as t,
3929
+ qe as u,
3930
+ ut as v,
3931
+ je as w,
3932
+ ne as x,
3933
+ mt as y,
3934
+ Re as z
4044
3935
  };