@vc-shell/framework 2.2.0-pr261.333ed7f → 2.2.0-pr262.f0b25b6

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 (74) 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-CMiP0Wb2.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CcI_W_Vm.js} +147 -134
  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-De4Zl55K.js → VcScheduler.vue_vue_type_script_setup_true_lang-Ch_TVK_C.js} +6671 -6974
  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-BhVdbaHJ.js → VcScheduler.vue_vue_type_style_index_0_lang-CL468dK2.js} +583 -578
  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-rP8wKB3g.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-YOlFZMoP.js} +2 -2
  11. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-rP8wKB3g.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-YOlFZMoP.js.map} +1 -1
  12. package/dist/chunks/{index-Cu6xEItF.js → index-CI1U6XgH.js} +2 -2
  13. package/dist/chunks/{index-Cu6xEItF.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/composables/useAiAgent.d.ts.map +1 -1
  29. package/dist/core/types/index.d.ts +0 -12
  30. package/dist/core/types/index.d.ts.map +1 -1
  31. package/dist/core/utilities/sessionExpiration.d.ts +30 -0
  32. package/dist/core/utilities/sessionExpiration.d.ts.map +1 -0
  33. package/dist/dashboard/index.js +1 -1
  34. package/dist/framework.js +797 -806
  35. package/dist/framework.js.map +1 -1
  36. package/dist/index.css +1 -1
  37. package/dist/locales/de.js +1 -4
  38. package/dist/locales/en.js +1 -4
  39. package/dist/locales/en.json +1 -4
  40. package/dist/locales/types.d.ts +0 -3
  41. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +1 -1
  42. package/dist/shell/_internal/blade-navigation/components/vc-blade-slot/vc-blade-slot.vue.d.ts.map +1 -1
  43. package/dist/shell/components/error-interceptor/interceptor.d.ts.map +1 -1
  44. package/dist/test-helpers.d.ts.map +1 -1
  45. package/dist/tsconfig.tsbuildinfo +1 -1
  46. package/dist/ui/components/molecules/vc-dropdown/vc-dropdown.vue.d.ts.map +1 -1
  47. package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts.map +1 -1
  48. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
  49. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts.map +1 -1
  50. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/toolbar-button-props.d.ts +0 -2
  51. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/toolbar-button-props.d.ts.map +1 -1
  52. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  53. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  54. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  55. package/dist/ui/components/organisms/vc-sidebar/vc-sidebar.vue.d.ts.map +1 -1
  56. package/dist/ui/index.js +3 -3
  57. package/package.json +4 -4
  58. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CaaJs50g.js +0 -1162
  59. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CaaJs50g.js.map +0 -1
  60. package/dist/chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CMiP0Wb2.js.map +0 -1
  61. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-De4Zl55K.js.map +0 -1
  62. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-BhVdbaHJ.js.map +0 -1
  63. package/dist/core/composables/useKeyboardShortcuts/format.d.ts +0 -11
  64. package/dist/core/composables/useKeyboardShortcuts/format.d.ts.map +0 -1
  65. package/dist/core/composables/useKeyboardShortcuts/hotkey.d.ts +0 -14
  66. package/dist/core/composables/useKeyboardShortcuts/hotkey.d.ts.map +0 -1
  67. package/dist/core/composables/useKeyboardShortcuts/index.d.ts +0 -23
  68. package/dist/core/composables/useKeyboardShortcuts/index.d.ts.map +0 -1
  69. package/dist/core/composables/useKeyboardShortcuts/match.d.ts +0 -14
  70. package/dist/core/composables/useKeyboardShortcuts/match.d.ts.map +0 -1
  71. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/shortcut-dispatch.d.ts +0 -22
  72. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/shortcut-dispatch.d.ts.map +0 -1
  73. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ShortcutKbd.vue.d.ts +0 -11
  74. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ShortcutKbd.vue.d.ts.map +0 -1
@@ -1,21 +1,21 @@
1
- import { mergeProps as oe, reactive as We, ref as S, computed as $, inject as W, provide as bt, getCurrentScope as Yt, onScopeDispose as Xt, getCurrentInstance as Fe, onErrorCaptured as Zt, nextTick as me, defineComponent as J, watch as ee, unref as i, openBlock as g, createElementBlock as h, normalizeClass as j, createBlock as q, createCommentVNode as w, renderSlot as B, toValue as ue, useId as ht, onBeforeUnmount as ze, createElementVNode as L, toDisplayString as N, Fragment as Ie, renderList as _e, normalizeStyle as Se, withKeys as _, Teleport as kt, createVNode as T, Transition as we, withCtx as C, resolveDynamicComponent as It, withModifiers as Q, watchEffect as He, shallowReactive as Je, markRaw as Ye, createSlots as pe, createTextVNode as te, withDirectives as et, vModelText as Qt, useAttrs as St, vModelDynamic as _t, onMounted as tt, onUnmounted as wt, normalizeProps as Le, guardReactiveProps as xe } from "vue";
2
- import { c as de, ac as en, p as tn, m as nn, j as on, I as an, l as ln, k as rn, B as $t, a as sn, D as un, _ as H, w as cn, T as Ot, K as dn, q as fn } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-CMiP0Wb2.js";
1
+ import { mergeProps as oe, reactive as We, ref as S, computed as $, inject as W, provide as bt, getCurrentScope as Yt, onScopeDispose as Xt, getCurrentInstance as Fe, onErrorCaptured as Zt, nextTick as me, defineComponent as J, watch as ee, unref as i, openBlock as g, createElementBlock as h, normalizeClass as j, createBlock as q, createCommentVNode as w, renderSlot as B, toValue as ue, useId as ht, onBeforeUnmount as Pe, createElementVNode as L, toDisplayString as N, Fragment as Ie, renderList as _e, normalizeStyle as Se, resolveDynamicComponent as kt, withCtx as C, withKeys as _, Teleport as It, createVNode as T, Transition as we, withModifiers as Q, watchEffect as He, shallowReactive as Je, markRaw as Ye, createSlots as pe, createTextVNode as te, withDirectives as et, vModelText as Qt, useAttrs as St, vModelDynamic as _t, onMounted as tt, onUnmounted as wt, normalizeProps as Le, guardReactiveProps as xe } from "vue";
2
+ import { c as de, ae as en, r as tn, o as nn, k as on, I as an, n as ln, l as rn, B as $t, a as sn, i as un, G as cn, _ as H, y as dn, T as Ot, P as fn, s as gn } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-CcI_W_Vm.js";
3
3
  import { defineRule as $e } from "vee-validate";
4
4
  import { a as ft } from "./vendor-vee-validate-rules-4oWUZPpG.js";
5
- import { a as Et, s as gn, c as vn, b as je, e as Re } from "./vendor-lodash-es-D2n90GJy.js";
6
- import { X as pn } from "./vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js";
7
- import { d as Ct, e as mn, f as yn, g as bn } from "./vendor-vueuse-core-BFa9je5E.js";
8
- import { c as hn, u as nt } from "./vendor-vue-i18n-LO-EJStU.js";
9
- import { j as kn } from "./vendor-vueuse-shared-kZH3-Km1.js";
10
- import { k as In } from "./vendor-tiptap-core-CZbeo7XQ.js";
5
+ import { a as Et, s as vn, c as pn, b as je, e as Re } from "./vendor-lodash-es-D2n90GJy.js";
6
+ import { X as mn } from "./vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js";
7
+ import { c as Ct, d as yn, e as bn, f as hn } from "./vendor-vueuse-core-BYWoPpF_.js";
8
+ import { c as kn, u as nt } from "./vendor-vue-i18n-LO-EJStU.js";
9
+ import { j as In } from "./vendor-vueuse-shared-BlCOXw5g.js";
10
+ import { k as Sn } from "./vendor-tiptap-core-CZbeo7XQ.js";
11
11
  import "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
12
- import { C as Sn, u as wn } from "./vendor-vue-currency-input-CckB4kjx.js";
13
- import { u as Bt, a as $n } from "./vendor-floating-ui-vue-sCrhit51.js";
12
+ import { C as wn, u as $n } from "./vendor-vue-currency-input-CckB4kjx.js";
13
+ import { u as Bt, a as On } from "./vendor-floating-ui-vue-sCrhit51.js";
14
14
  import { f as ot, s as at, o as De, b as Lt } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
15
- import { v as On } from "./vendor-vueuse-components-CoR2FSn3.js";
16
- import { p as En } from "./vendor-dompurify-DpIUMBYC.js";
17
- import { q as Cn } from "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
18
- const ye = hn({
15
+ import { v as En } from "./vendor-vueuse-components-BW7i7Uhb.js";
16
+ import { p as Cn } from "./vendor-dompurify-DpIUMBYC.js";
17
+ import { q as Bn } from "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
18
+ const ye = kn({
19
19
  legacy: !1,
20
20
  globalInjection: !0,
21
21
  locale: "en",
@@ -39,17 +39,17 @@ class ie extends Error {
39
39
  };
40
40
  }
41
41
  }
42
- class Dl extends ie {
42
+ class Nl extends ie {
43
43
  constructor(t, n) {
44
44
  super(t, "VALIDATION_ERROR", n), this.name = "ValidationError";
45
45
  }
46
46
  }
47
- class Nl extends ie {
47
+ class Fl extends ie {
48
48
  constructor(t, n) {
49
49
  super(t, "SERVICE_ERROR", n), this.name = "ServiceError";
50
50
  }
51
51
  }
52
- class Bn extends ie {
52
+ class Ln extends ie {
53
53
  constructor(t, n) {
54
54
  super(`${t} not provided. Make sure to call the corresponding 'provide' function.`, "INJECTION_ERROR", {
55
55
  serviceName: t,
@@ -57,7 +57,7 @@ class Bn extends ie {
57
57
  }), this.name = "InjectionError";
58
58
  }
59
59
  }
60
- class Fl extends ie {
60
+ class Pl extends ie {
61
61
  constructor(t, n, o) {
62
62
  super(`Failed to register '${t}': ${n}`, "REGISTRATION_ERROR", {
63
63
  componentName: t,
@@ -73,7 +73,7 @@ class zl extends ie {
73
73
  }), this.name = "BladeError";
74
74
  }
75
75
  }
76
- class Pl extends ie {
76
+ class ql extends ie {
77
77
  constructor(t, n, o) {
78
78
  super(`Failed to load module '${t}': ${n}`, "MODULE_LOAD_ERROR", {
79
79
  moduleId: t,
@@ -81,11 +81,11 @@ class Pl extends ie {
81
81
  }), this.name = "ModuleLoadError";
82
82
  }
83
83
  }
84
- function Ln(e) {
84
+ function xn(e) {
85
85
  return e instanceof ie;
86
86
  }
87
- function ql(e, t = "UNKNOWN_ERROR") {
88
- return Ln(e) ? e : e instanceof Error ? new ie(e.message, t, {
87
+ function Kl(e, t = "UNKNOWN_ERROR") {
88
+ return xn(e) ? e : e instanceof Error ? new ie(e.message, t, {
89
89
  originalError: e.name,
90
90
  stack: e.stack
91
91
  }) : new ie(String(e), t);
@@ -124,8 +124,8 @@ function Ze(e) {
124
124
  }
125
125
  return new he("An unknown error occurred.", String(e), e);
126
126
  }
127
- const xn = de("color-utils");
128
- function Rn(e) {
127
+ const Rn = de("color-utils");
128
+ function Tn(e) {
129
129
  if (!e || typeof e != "string")
130
130
  return null;
131
131
  try {
@@ -134,10 +134,10 @@ function Rn(e) {
134
134
  const n = t.getContext("2d");
135
135
  return !n || (n.fillStyle = e.trim(), n.fillStyle === "#000000" && e.trim().toLowerCase() !== "black") ? null : n.fillStyle;
136
136
  } catch (t) {
137
- return xn.warn("Error converting color name to hex:", t), null;
137
+ return Rn.warn("Error converting color name to hex:", t), null;
138
138
  }
139
139
  }
140
- function Tn(e) {
140
+ function Mn(e) {
141
141
  if (!e || typeof e != "string")
142
142
  return !1;
143
143
  const t = e.startsWith("#") ? e : `#${e}`;
@@ -146,7 +146,7 @@ function Tn(e) {
146
146
  function gt(e) {
147
147
  return !e || typeof e != "string" ? "" : e.startsWith("#") ? e : `#${e}`;
148
148
  }
149
- function Mn(e) {
149
+ function An(e) {
150
150
  let t = null;
151
151
  return {
152
152
  register(n) {
@@ -160,7 +160,7 @@ function Mn(e) {
160
160
  }
161
161
  };
162
162
  }
163
- function Kl() {
163
+ function Ul() {
164
164
  const e = /* @__PURE__ */ new Map();
165
165
  return {
166
166
  register(t, n) {
@@ -192,7 +192,7 @@ const lt = () => {
192
192
  signOut: e.signOut
193
193
  };
194
194
  };
195
- function An() {
195
+ function Vn() {
196
196
  const { user: e } = lt();
197
197
  function t(n) {
198
198
  const o = e.value?.permissions ?? [];
@@ -208,8 +208,8 @@ function An() {
208
208
  hasAccess: t
209
209
  };
210
210
  }
211
- const ve = de("notification"), fe = Mn();
212
- function Vn(e) {
211
+ const ve = de("notification"), fe = An();
212
+ function Dn(e) {
213
213
  fe.register(e);
214
214
  }
215
215
  function Te(e, t) {
@@ -299,15 +299,15 @@ re.debug = () => {
299
299
  defaultOptions: e.defaultOptions
300
300
  };
301
301
  };
302
- const Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
302
+ const Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
303
303
  __proto__: null,
304
304
  notification: re,
305
- setNotificationBackend: Vn
305
+ setNotificationBackend: Dn
306
306
  }, Symbol.toStringTag, { value: "Module" }));
307
307
  Object.keys(ft).forEach((e) => {
308
308
  $e(e, ft[e]);
309
309
  });
310
- const Nn = (e, [t, n]) => {
310
+ const Fn = (e, [t, n]) => {
311
311
  if (!e?.files || !e.files?.length)
312
312
  return !0;
313
313
  const o = (a, u, s) => {
@@ -333,8 +333,8 @@ const Nn = (e, [t, n]) => {
333
333
  return u === !1 || typeof u == "string" ? u : !0;
334
334
  });
335
335
  };
336
- $e("mindimensions", Nn);
337
- const Fn = (e, [t]) => {
336
+ $e("mindimensions", Fn);
337
+ const Pn = (e, [t]) => {
338
338
  if (!e?.files || !e.files?.length)
339
339
  return !0;
340
340
  const n = t * 1e3, o = (u) => u.size > n, l = [];
@@ -342,7 +342,7 @@ const Fn = (e, [t]) => {
342
342
  l.push(e.files[u]);
343
343
  return l.map((u) => o(u)).find((u) => u === !0) ? ye.global.t("messages.file_weight", { size: t }) : !0;
344
344
  };
345
- $e("fileWeight", Fn);
345
+ $e("fileWeight", Pn);
346
346
  const xt = (e, [t], n, o) => {
347
347
  if (!e || typeof e == "string" && !e.length)
348
348
  return !0;
@@ -350,10 +350,10 @@ const xt = (e, [t], n, o) => {
350
350
  return e instanceof Date && (l = e), t instanceof Date && (r = t), typeof e == "string" && (l = new Date(e)), typeof t == "string" && (r = new Date(t)), l?.getTime && l?.getTime() > 0 && r?.getTime && r?.getTime() > 0 && n(r.getTime(), l.getTime()) ? o : !0;
351
351
  }, zn = (e, [t]) => xt(e, [t], (n, o) => n < o, ye.global.t("messages.before"));
352
352
  $e("before", zn);
353
- const Pn = (e, [t]) => xt(e, [t], (n, o) => n > o, ye.global.t("messages.after"));
354
- $e("after", Pn);
355
- const qn = (e) => Number.isSafeInteger(parseInt(e)) ? !0 : ye.global.t("messages.bigint");
356
- $e("bigint", qn);
353
+ const qn = (e, [t]) => xt(e, [t], (n, o) => n > o, ye.global.t("messages.after"));
354
+ $e("after", qn);
355
+ const Kn = (e) => Number.isSafeInteger(parseInt(e)) ? !0 : ye.global.t("messages.bigint");
356
+ $e("bigint", Kn);
357
357
  function Oe(e) {
358
358
  const t = de(`${e.name}-bus`), n = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Set();
359
359
  function l(d) {
@@ -480,7 +480,7 @@ function Rt(e) {
480
480
  isRegistered: v
481
481
  };
482
482
  }
483
- function Kn(e) {
483
+ function Un(e) {
484
484
  const t = S(/* @__PURE__ */ new Map()), n = $(() => Array.from(t.value.values()).sort((r, a) => (r.order ?? 0) - (a.order ?? 0)));
485
485
  function o(r) {
486
486
  const a = e.getId(r) || crypto.randomUUID(), u = e.createItem(r, t.value.size);
@@ -497,7 +497,7 @@ function Kn(e) {
497
497
  };
498
498
  }
499
499
  function Tt(e) {
500
- const t = Kn({
500
+ const t = Un({
501
501
  createItem: e.createItem,
502
502
  getId: e.getId
503
503
  }), n = {
@@ -515,34 +515,34 @@ const Me = S(/* @__PURE__ */ new Map()), se = Oe({
515
515
  getKey: Ne,
516
516
  registerIntoService: (e, t) => e.addMenuItem(t)
517
517
  });
518
- function Ul(e) {
518
+ function Wl(e) {
519
519
  se.preregister(e);
520
520
  }
521
- function Wl(e) {
521
+ function jl(e) {
522
522
  se.removePreregistered((t) => it(t, e)), se.broadcast((t) => t.removeMenuItem(e));
523
523
  }
524
- function jl(e, t) {
524
+ function Gl(e, t) {
525
525
  Me.value.set(e, t), se.broadcast((n) => {
526
526
  n.menuBadges.value.set(e, t);
527
527
  });
528
528
  }
529
- function Gl(e) {
529
+ function Hl(e) {
530
530
  const t = se.getFirstInstance();
531
531
  return t ? t.menuBadges.value.get(e) : Me.value.get(e);
532
532
  }
533
- function Hl(e) {
533
+ function Jl(e) {
534
534
  Me.value.delete(e), se.broadcast((t) => {
535
535
  t.menuBadges.value.delete(e);
536
536
  });
537
537
  }
538
- function Jl() {
538
+ function Yl() {
539
539
  return se.getFirstInstance()?.menuBadges ?? Me;
540
540
  }
541
- const Qe = 1 / 0, Un = 1 / 0;
541
+ const Qe = 1 / 0, Wn = 1 / 0;
542
542
  function it(e, t) {
543
543
  return Ne(e) === Ne(t);
544
544
  }
545
- function Wn(e) {
545
+ function jn(e) {
546
546
  return e.groupConfig ? {
547
547
  groupId: e.groupConfig.id,
548
548
  groupTitle: e.groupConfig.title || e.groupConfig.id,
@@ -550,22 +550,22 @@ function Wn(e) {
550
550
  groupPriority: e.groupConfig.priority,
551
551
  groupPermissions: e.groupConfig.permissions
552
552
  } : {
553
- groupId: "group_" + gn(e.group),
553
+ groupId: "group_" + vn(e.group),
554
554
  groupTitle: e.group,
555
555
  groupIcon: e.groupIcon,
556
556
  groupPriority: e.priority,
557
557
  groupPermissions: void 0
558
558
  };
559
559
  }
560
- function jn(e, t) {
560
+ function Gn(e, t) {
561
561
  return (e.priority ?? Qe) - (t.priority ?? Qe);
562
562
  }
563
- function Gn(e, t) {
564
- const n = (o) => o.inGroupPriority ?? o.priority ?? Un;
563
+ function Hn(e, t) {
564
+ const n = (o) => o.inGroupPriority ?? o.priority ?? Wn;
565
565
  return n(e) - n(t);
566
566
  }
567
- function Hn(e, t) {
568
- const n = Wn(e), o = {
567
+ function Jn(e, t) {
568
+ const n = jn(e), o = {
569
569
  ...Et(e, ["group", "groupIcon", "groupPriority", "groupConfig"])
570
570
  }, l = t.get(n.groupId);
571
571
  if (l) {
@@ -591,18 +591,18 @@ function Hn(e, t) {
591
591
  function vt(e) {
592
592
  const t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
593
593
  for (const o of e)
594
- o.group || o.groupConfig ? Hn(o, t) : o.title && n.set(Ne(o), { ...o });
595
- return Jn([...t.values(), ...n.values()]);
594
+ o.group || o.groupConfig ? Jn(o, t) : o.title && n.set(Ne(o), { ...o });
595
+ return Yn([...t.values(), ...n.values()]);
596
596
  }
597
- function Jn(e) {
597
+ function Yn(e) {
598
598
  return e.map(
599
599
  (t) => ({
600
600
  ...t,
601
- children: t.children ? [...t.children].sort(Gn) : void 0
601
+ children: t.children ? [...t.children].sort(Hn) : void 0
602
602
  })
603
- ).sort(jn);
603
+ ).sort(Gn);
604
604
  }
605
- function Yn() {
605
+ function Xn() {
606
606
  const e = S([]);
607
607
  let t = [];
608
608
  const n = S(new Map(Me.value));
@@ -621,7 +621,7 @@ function Yn() {
621
621
  };
622
622
  return se.replayInto(r), r;
623
623
  }
624
- function Pe(e) {
624
+ function ze(e) {
625
625
  const { key: t, create: n, bus: o, name: l, onMissing: r } = e;
626
626
  function a() {
627
627
  const s = W(t, null);
@@ -633,7 +633,7 @@ function Pe(e) {
633
633
  function u() {
634
634
  const s = W(t, null);
635
635
  if (!s)
636
- throw r?.(), new Bn(l);
636
+ throw r?.(), new Ln(l);
637
637
  return s;
638
638
  }
639
639
  return {
@@ -641,20 +641,20 @@ function Pe(e) {
641
641
  use: u
642
642
  };
643
643
  }
644
- const Xn = de("use-menu-service"), Mt = Pe({
644
+ const Zn = de("use-menu-service"), Mt = ze({
645
645
  key: tn,
646
- create: Yn,
646
+ create: Xn,
647
647
  bus: se,
648
648
  name: "MenuService",
649
- onMissing: () => Xn.error("Menu service not found in current context. Injection chain:", Fe())
649
+ onMissing: () => Zn.error("Menu service not found in current context. Injection chain:", Fe())
650
650
  });
651
- function Yl() {
651
+ function Xl() {
652
652
  return Mt.provide();
653
653
  }
654
- function Xl() {
654
+ function Zl() {
655
655
  return Mt.use();
656
656
  }
657
- function Zn() {
657
+ function Qn() {
658
658
  return {
659
659
  isMobile: W(rn, S(!1)),
660
660
  isDesktop: W(ln, S(!0)),
@@ -663,15 +663,15 @@ function Zn() {
663
663
  isTouch: W(nn, !1)
664
664
  };
665
665
  }
666
- const Qn = Symbol("AppInsightsOptions"), _n = Symbol("AppInsightsInstance");
667
- function eo() {
668
- const e = W(_n, null), { user: t } = lt(), n = W(Qn, void 0);
666
+ const _n = Symbol("AppInsightsOptions"), eo = Symbol("AppInsightsInstance");
667
+ function to() {
668
+ const e = W(eo, null), { user: t } = lt(), n = W(_n, void 0);
669
669
  function o() {
670
670
  const l = n?.appName ? `[${n.appName}] ` : "", r = (s) => `${l}${s.name}`;
671
671
  function a(s) {
672
672
  if (!e) return;
673
673
  const f = r(s);
674
- e.context.telemetryTrace.traceID = pn(), e.context.telemetryTrace.name = s.name, e.startTrackPage(f);
674
+ e.context.telemetryTrace.traceID = mn(), e.context.telemetryTrace.name = s.name, e.startTrackPage(f);
675
675
  }
676
676
  function u(s) {
677
677
  if (!e) return;
@@ -691,9 +691,9 @@ function eo() {
691
691
  appInsights: e
692
692
  };
693
693
  }
694
- const to = de("use-error-handler");
695
- function no(e) {
696
- const t = S(null), n = Fe(), { appInsights: o } = eo(), { user: l } = lt(), r = S(!1);
694
+ const no = de("use-error-handler");
695
+ function oo(e) {
696
+ const t = S(null), n = Fe(), { appInsights: o } = to(), { user: l } = lt(), r = S(!1);
697
697
  function a() {
698
698
  t.value = null, n && n.emit("reset");
699
699
  }
@@ -708,7 +708,7 @@ function no(e) {
708
708
  userId: l.value?.id ?? "",
709
709
  userName: l.value?.userName ?? ""
710
710
  }
711
- }), to.error("Captured Error:", s.originalError), n && n.emit("error", s), me(() => {
711
+ }), no.error("Captured Error:", s.originalError), n && n.emit("error", s), me(() => {
712
712
  r.value = !1;
713
713
  }), !e;
714
714
  }), {
@@ -717,20 +717,20 @@ function no(e) {
717
717
  };
718
718
  }
719
719
  const Ve = /* @__PURE__ */ new WeakMap();
720
- function Zl(e, t, n) {
720
+ function Ql(e, t, n) {
721
721
  Ve.set(e, { timerId: t, notifId: n });
722
722
  }
723
- function oo(e) {
723
+ function ao(e) {
724
724
  if (e && typeof e == "object") {
725
725
  const t = Ve.get(e), n = "originalError" in e && e.originalError && typeof e.originalError == "object" ? e.originalError : void 0, o = t ?? (n ? Ve.get(n) : void 0), l = t ? e : n;
726
726
  if (o && l)
727
- return clearTimeout(o.timerId), Promise.resolve().then(() => Dn).then(({ notification: r }) => {
727
+ return clearTimeout(o.timerId), Promise.resolve().then(() => Nn).then(({ notification: r }) => {
728
728
  r.remove(o.notifId);
729
729
  }), Ve.delete(l), !0;
730
730
  }
731
731
  return !1;
732
732
  }
733
- const Ql = J({
733
+ const _l = J({
734
734
  name: "ErrorInterceptor",
735
735
  props: {
736
736
  capture: {
@@ -747,23 +747,28 @@ const Ql = J({
747
747
  }
748
748
  },
749
749
  setup(e, { slots: t }) {
750
- const n = W($t, void 0), o = W(sn, void 0), l = !!(n && o), { error: r, reset: a } = no(l || e.capture);
750
+ const n = W($t, void 0), o = W(sn, void 0), l = !!(n && o), { error: r, reset: a } = oo(l || e.capture);
751
751
  return l && ee(r, (u) => {
752
752
  const s = n.value.id;
753
- u ? (oo(u), o.setBladeError(s, u)) : o.clearBladeError(s);
753
+ if (u) {
754
+ if (ao(u), un())
755
+ return;
756
+ o.setBladeError(s, u);
757
+ } else
758
+ o.clearBladeError(s);
754
759
  }), () => t.default?.({
755
760
  error: r.value,
756
761
  reset: a
757
762
  });
758
763
  }
759
- }), ao = Symbol("vc-button-group");
764
+ }), lo = Symbol("vc-button-group");
760
765
  function be() {
761
- return W(un, S(!1));
766
+ return W(cn, S(!1));
762
767
  }
763
- const lo = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], io = {
768
+ const io = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], ro = {
764
769
  key: 2,
765
770
  class: "vc-button__title"
766
- }, ro = /* @__PURE__ */ J({
771
+ }, so = /* @__PURE__ */ J({
767
772
  __name: "vc-button",
768
773
  props: {
769
774
  icon: {},
@@ -783,7 +788,7 @@ const lo = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], io =
783
788
  const n = {
784
789
  base: "default",
785
790
  xs: "sm"
786
- }, o = e, l = be(), r = t, a = W(ao, null), u = $(() => {
791
+ }, o = e, l = be(), r = t, a = W(lo, null), u = $(() => {
787
792
  const m = a?.size?.value ?? o.size;
788
793
  return n[m] ?? m;
789
794
  }), s = $(() => [
@@ -821,13 +826,13 @@ const lo = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], io =
821
826
  icon: e.icon,
822
827
  size: e.iconSize
823
828
  }, null, 8, ["class", "icon", "size"])) : w("", !0),
824
- m.$slots.default ? (g(), h("span", io, [
829
+ m.$slots.default ? (g(), h("span", ro, [
825
830
  B(m.$slots, "default")
826
831
  ])) : w("", !0)
827
- ], 10, lo));
832
+ ], 10, io));
828
833
  }
829
834
  });
830
- function so(e, t, n = {}) {
835
+ function uo(e, t, n = {}) {
831
836
  const o = $(() => ue(n.placement) ?? "bottom"), l = $(() => ue(n.strategy) ?? "absolute"), r = $(() => {
832
837
  const s = ue(n.middleware);
833
838
  if (s?.length)
@@ -859,9 +864,9 @@ function so(e, t, n = {}) {
859
864
  resolvedStrategy: l
860
865
  };
861
866
  }
862
- const uo = Symbol("vc-input-group-context");
867
+ const co = Symbol("vc-input-group-context");
863
868
  function qe(e) {
864
- const t = W(uo, null), n = ht(), o = $(() => `vc-field-${n}`), l = $(() => `${o.value}-label`), r = $(() => `${o.value}-error`), a = $(() => `${o.value}-hint`), u = $(() => !!e.error || !!e.errorMessage || !!t?.invalid.value), s = $(() => !!e.disabled || !!t?.disabled.value), f = $(() => t?.name.value || e.name), m = $(() => e.required ? !0 : void 0), v = $(() => {
869
+ const t = W(co, null), n = ht(), o = $(() => `vc-field-${n}`), l = $(() => `${o.value}-label`), r = $(() => `${o.value}-error`), a = $(() => `${o.value}-hint`), u = $(() => !!e.error || !!e.errorMessage || !!t?.invalid.value), s = $(() => !!e.disabled || !!t?.disabled.value), f = $(() => t?.name.value || e.name), m = $(() => e.required ? !0 : void 0), v = $(() => {
865
870
  const d = /* @__PURE__ */ new Set();
866
871
  return t?.describedBy.value && t.describedBy.value.split(/\s+/).forEach((c) => d.add(c)), e.errorMessage && d.add(r.value), e.hint && d.add(a.value), d.size ? Array.from(d).join(" ") : void 0;
867
872
  });
@@ -878,7 +883,7 @@ function qe(e) {
878
883
  groupContext: t
879
884
  };
880
885
  }
881
- function co(e, t = {}) {
886
+ function fo(e, t = {}) {
882
887
  const { speed: n = 2 } = t, o = S(!1), l = S(!1);
883
888
  let r = null;
884
889
  function a() {
@@ -901,7 +906,7 @@ function co(e, t = {}) {
901
906
  function s() {
902
907
  r !== null && (cancelAnimationFrame(r), r = null);
903
908
  }
904
- return Ct(e, a), ze(() => {
909
+ return Ct(e, a), Pe(() => {
905
910
  s();
906
911
  }), {
907
912
  canScrollUp: o,
@@ -912,7 +917,7 @@ function co(e, t = {}) {
912
917
  };
913
918
  }
914
919
  function At(e = {}) {
915
- const t = W(cn, void 0);
920
+ const t = W(dn, void 0);
916
921
  return {
917
922
  teleportTarget: $(() => {
918
923
  const o = e.to ? ue(e.to) : void 0;
@@ -925,90 +930,7 @@ function At(e = {}) {
925
930
  })
926
931
  };
927
932
  }
928
- const rt = Oe({
929
- name: "toolbar-service",
930
- getKey: (e) => `${e.bladeId.toLowerCase()}::${e.toolbarItem.id}`,
931
- registerIntoService: (e, t) => e.registerToolbarItem(t.toolbarItem, t.bladeId)
932
- });
933
- function _l(e, t) {
934
- const n = t.toLowerCase();
935
- rt.preregister({
936
- bladeId: n,
937
- toolbarItem: e
938
- });
939
- }
940
- function Vt() {
941
- const e = Rt({
942
- createRegistration: (u, s) => ({ bladeId: u, toolbarItem: s }),
943
- getRegistrationBladeId: (u) => u.bladeId,
944
- getRegistrationItemId: (u) => u.toolbarItem.id
945
- }), t = (u, s) => {
946
- e.register(u, s);
947
- }, n = (u, s) => {
948
- e.unregister(u, s);
949
- }, o = (u) => {
950
- const s = u ? u.toLowerCase() : "", f = e.get(s), m = e.get("*"), v = [...f], d = new Set(v.map((c) => c.id));
951
- return m.forEach((c) => {
952
- d.has(c.id) || v.push(c);
953
- }), [...v];
954
- }, l = (u) => {
955
- e.clear(u);
956
- }, r = ({
957
- id: u,
958
- bladeId: s,
959
- toolbarItem: f
960
- }) => {
961
- e.update(u, s, f);
962
- }, a = {
963
- registerToolbarItem: t,
964
- unregisterToolbarItem: n,
965
- getToolbarItems: o,
966
- clearBladeToolbarItems: l,
967
- registeredToolbarItems: e.registrations,
968
- isToolbarItemRegistered: (u) => e.isRegistered(u),
969
- updateToolbarItem: r
970
- };
971
- return rt.replayInto(a), a;
972
- }
973
- const fo = "fallback-blade-id";
974
- let Ge = null;
975
- const go = Pe({
976
- key: Ot,
977
- create: Vt,
978
- bus: rt,
979
- name: "ToolbarService"
980
- });
981
- function ei() {
982
- return go.provide();
983
- }
984
- function ti(e = {}) {
985
- const { autoCleanup: t = !0 } = e, n = W(Ot, null);
986
- !n && !Ge && (Ge = Vt());
987
- const o = n || Ge;
988
- if (!o)
989
- throw new Error("Toolbar service is not available");
990
- const l = W($t, void 0), r = $(() => l?.value?.id ?? fo), a = (c) => c ?? r.value, u = (c, y) => {
991
- o.registerToolbarItem(c, a(y));
992
- }, s = (c, y) => {
993
- o.unregisterToolbarItem(c, a(y));
994
- }, f = (c, y, b) => {
995
- o.updateToolbarItem({ id: c, bladeId: a(b), toolbarItem: y });
996
- }, m = (c) => o.getToolbarItems(a(c)), v = (c) => {
997
- o.clearBladeToolbarItems(a(c));
998
- };
999
- return Fe() && t && ze(() => {
1000
- v();
1001
- }), {
1002
- registerToolbarItem: u,
1003
- unregisterToolbarItem: s,
1004
- updateToolbarItem: f,
1005
- getToolbarItems: m,
1006
- clearBladeToolbarItems: v,
1007
- isToolbarItemRegistered: o.isToolbarItemRegistered,
1008
- registeredToolbarItems: o.registeredToolbarItems
1009
- };
1010
- }
1011
- const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo = { class: "tw-sr-only" }, ae = /* @__PURE__ */ J({
933
+ const go = ["aria-label"], vo = { class: "tw-sr-only" }, po = ["aria-label"], mo = { class: "tw-sr-only" }, ae = /* @__PURE__ */ J({
1012
934
  __name: "vc-skeleton",
1013
935
  props: {
1014
936
  variant: { default: "text" },
@@ -1036,7 +958,7 @@ const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo
1036
958
  "aria-busy": "true",
1037
959
  "aria-label": e.ariaLabel
1038
960
  }, [
1039
- L("span", po, N(e.ariaLabel), 1),
961
+ L("span", vo, N(e.ariaLabel), 1),
1040
962
  (g(!0), h(Ie, null, _e(e.rows, (a) => (g(), h("div", {
1041
963
  key: a,
1042
964
  class: "vc-skeleton__row",
@@ -1045,7 +967,7 @@ const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo
1045
967
  }),
1046
968
  "aria-hidden": "true"
1047
969
  }, null, 4))), 128))
1048
- ], 10, vo)) : (g(), h("div", {
970
+ ], 10, go)) : (g(), h("div", {
1049
971
  key: 1,
1050
972
  class: j(["vc-skeleton__shape", [`vc-skeleton__shape--${e.variant}`, { "tw-animate-pulse": e.animated }]]),
1051
973
  style: Se({
@@ -1056,10 +978,71 @@ const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo
1056
978
  "aria-busy": "true",
1057
979
  "aria-label": e.ariaLabel
1058
980
  }, [
1059
- L("span", yo, N(e.ariaLabel), 1)
1060
- ], 14, mo));
981
+ L("span", mo, N(e.ariaLabel), 1)
982
+ ], 14, po));
983
+ }
984
+ }), ei = /* @__PURE__ */ J({
985
+ __name: "vc-container",
986
+ props: {
987
+ shadow: { type: Boolean },
988
+ noPadding: { type: Boolean },
989
+ ariaLabel: {}
990
+ },
991
+ emits: ["scroll"],
992
+ setup(e, { expose: t, emit: n }) {
993
+ const o = n, l = S(), r = S(!1), a = () => {
994
+ l.value && l.value.scroll(0, 0);
995
+ };
996
+ function u(s) {
997
+ o("scroll", s);
998
+ }
999
+ return Ct(l, () => {
1000
+ r.value = !!(l.value && l.value.clientHeight < l.value.scrollHeight);
1001
+ }), t({
1002
+ scrollTop: a,
1003
+ component: l
1004
+ }), (s, f) => (g(), q(kt(e.ariaLabel ? "section" : "div"), {
1005
+ class: j([
1006
+ "vc-container",
1007
+ {
1008
+ "vc-container--shadow": e.shadow && r.value,
1009
+ "vc-container--nopadding": e.noPadding
1010
+ }
1011
+ ]),
1012
+ "aria-label": e.ariaLabel
1013
+ }, {
1014
+ default: C(() => [
1015
+ L("div", {
1016
+ ref_key: "component",
1017
+ ref: l,
1018
+ class: "vc-container__inner",
1019
+ tabindex: "0",
1020
+ onScroll: u
1021
+ }, [
1022
+ B(s.$slots, "default")
1023
+ ], 544)
1024
+ ]),
1025
+ _: 3
1026
+ }, 8, ["class", "aria-label"]));
1027
+ }
1028
+ }), yo = ["id", "role"], bo = /* @__PURE__ */ J({
1029
+ __name: "vc-hint",
1030
+ props: {
1031
+ id: {},
1032
+ error: { type: Boolean }
1033
+ },
1034
+ setup(e) {
1035
+ return (t, n) => (g(), h("div", {
1036
+ id: e.id,
1037
+ class: j(["vc-hint", {
1038
+ "vc-hint--error": e.error
1039
+ }]),
1040
+ role: e.error ? "alert" : void 0
1041
+ }, [
1042
+ B(t.$slots, "default")
1043
+ ], 10, yo));
1061
1044
  }
1062
- }), bo = ["aria-describedby"], ho = /* @__PURE__ */ J({
1045
+ }), ce = bo, ho = ["aria-describedby"], ko = /* @__PURE__ */ J({
1063
1046
  __name: "vc-tooltip",
1064
1047
  props: {
1065
1048
  placement: { default: "bottom" },
@@ -1085,7 +1068,7 @@ const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo
1085
1068
  ot({ padding: 8 }),
1086
1069
  at({ padding: 8 })
1087
1070
  ];
1088
- return t.arrow && F.push($n({ element: a, padding: 4 })), F;
1071
+ return t.arrow && F.push(On({ element: a, padding: 4 })), F;
1089
1072
  }), {
1090
1073
  floatingStyles: v,
1091
1074
  placement: d,
@@ -1111,7 +1094,7 @@ const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo
1111
1094
  }, M = () => {
1112
1095
  s && (clearTimeout(s), s = null), o.value = !1;
1113
1096
  };
1114
- return ze(() => {
1097
+ return Pe(() => {
1115
1098
  s && (clearTimeout(s), s = null);
1116
1099
  }), (F, G) => (g(), h("div", {
1117
1100
  ref_key: "target",
@@ -1130,8 +1113,8 @@ const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo
1130
1113
  "aria-describedby": o.value ? n : void 0
1131
1114
  }, [
1132
1115
  B(F.$slots, "default")
1133
- ], 8, bo),
1134
- (g(), q(kt, { to: i(f) }, [
1116
+ ], 8, ho),
1117
+ (g(), q(It, { to: i(f) }, [
1135
1118
  T(we, { name: "vc-tooltip-fade" }, {
1136
1119
  default: C(() => [
1137
1120
  o.value && !e.disabled && F.$slots.tooltip ? (g(), h("div", {
@@ -1162,75 +1145,14 @@ const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo
1162
1145
  ], 8, ["to"]))
1163
1146
  ], 544));
1164
1147
  }
1165
- }), ni = /* @__PURE__ */ J({
1166
- __name: "vc-container",
1167
- props: {
1168
- shadow: { type: Boolean },
1169
- noPadding: { type: Boolean },
1170
- ariaLabel: {}
1171
- },
1172
- emits: ["scroll"],
1173
- setup(e, { expose: t, emit: n }) {
1174
- const o = n, l = S(), r = S(!1), a = () => {
1175
- l.value && l.value.scroll(0, 0);
1176
- };
1177
- function u(s) {
1178
- o("scroll", s);
1179
- }
1180
- return Ct(l, () => {
1181
- r.value = !!(l.value && l.value.clientHeight < l.value.scrollHeight);
1182
- }), t({
1183
- scrollTop: a,
1184
- component: l
1185
- }), (s, f) => (g(), q(It(e.ariaLabel ? "section" : "div"), {
1186
- class: j([
1187
- "vc-container",
1188
- {
1189
- "vc-container--shadow": e.shadow && r.value,
1190
- "vc-container--nopadding": e.noPadding
1191
- }
1192
- ]),
1193
- "aria-label": e.ariaLabel
1194
- }, {
1195
- default: C(() => [
1196
- L("div", {
1197
- ref_key: "component",
1198
- ref: l,
1199
- class: "vc-container__inner",
1200
- tabindex: "0",
1201
- onScroll: u
1202
- }, [
1203
- B(s.$slots, "default")
1204
- ], 544)
1205
- ]),
1206
- _: 3
1207
- }, 8, ["class", "aria-label"]));
1208
- }
1209
- }), ko = ["id", "role"], Io = /* @__PURE__ */ J({
1210
- __name: "vc-hint",
1211
- props: {
1212
- id: {},
1213
- error: { type: Boolean }
1214
- },
1215
- setup(e) {
1216
- return (t, n) => (g(), h("div", {
1217
- id: e.id,
1218
- class: j(["vc-hint", {
1219
- "vc-hint--error": e.error
1220
- }]),
1221
- role: e.error ? "alert" : void 0
1222
- }, [
1223
- B(t.$slots, "default")
1224
- ], 10, ko));
1225
- }
1226
- }), ce = Io, So = { class: "vc-label__text" }, wo = { class: "vc-label__content" }, $o = {
1148
+ }), Io = { class: "vc-label__text" }, So = { class: "vc-label__content" }, wo = {
1227
1149
  key: 0,
1228
1150
  class: "vc-label__required",
1229
1151
  "aria-hidden": "true"
1230
- }, Oo = {
1152
+ }, $o = {
1231
1153
  key: 0,
1232
1154
  class: "vc-label__tooltip"
1233
- }, Eo = {
1155
+ }, Oo = {
1234
1156
  key: 1,
1235
1157
  class: "vc-label__language"
1236
1158
  }, Ke = /* @__PURE__ */ J({
@@ -1244,21 +1166,21 @@ const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo
1244
1166
  htmlFor: {}
1245
1167
  },
1246
1168
  setup(e) {
1247
- return (t, n) => (g(), q(It(e.htmlFor ? "label" : "div"), {
1169
+ return (t, n) => (g(), q(kt(e.htmlFor ? "label" : "div"), {
1248
1170
  class: j(["vc-label", {
1249
1171
  "vc-label--error": e.error
1250
1172
  }]),
1251
1173
  for: e.htmlFor || void 0
1252
1174
  }, {
1253
1175
  default: C(() => [
1254
- L("div", So, [
1255
- L("span", wo, [
1176
+ L("div", Io, [
1177
+ L("span", So, [
1256
1178
  B(t.$slots, "default")
1257
1179
  ]),
1258
- e.required ? (g(), h("span", $o, "*")) : w("", !0)
1180
+ e.required ? (g(), h("span", wo, "*")) : w("", !0)
1259
1181
  ]),
1260
- t.$slots.tooltip ? (g(), h("span", Oo, [
1261
- T(i(ho), { placement: "top-start" }, {
1182
+ t.$slots.tooltip ? (g(), h("span", $o, [
1183
+ T(i(ko), { placement: "top-start" }, {
1262
1184
  tooltip: C(() => [
1263
1185
  B(t.$slots, "tooltip")
1264
1186
  ]),
@@ -1272,12 +1194,12 @@ const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo
1272
1194
  _: 3
1273
1195
  })
1274
1196
  ])) : w("", !0),
1275
- e.multilanguage ? (g(), h("div", Eo, N(e.currentLanguage), 1)) : w("", !0)
1197
+ e.multilanguage ? (g(), h("div", Oo, N(e.currentLanguage), 1)) : w("", !0)
1276
1198
  ]),
1277
1199
  _: 3
1278
1200
  }, 8, ["class", "for"]));
1279
1201
  }
1280
- }), Co = ["aria-label"], pt = 40, Bo = /* @__PURE__ */ J({
1202
+ }), Eo = ["aria-label"], pt = 40, Co = /* @__PURE__ */ J({
1281
1203
  __name: "vc-scrollable-container",
1282
1204
  props: {
1283
1205
  speed: { default: void 0 }
@@ -1285,7 +1207,7 @@ const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo
1285
1207
  setup(e, { expose: t }) {
1286
1208
  const n = e, o = S(null), l = {};
1287
1209
  n.speed !== void 0 && (l.speed = n.speed);
1288
- const { canScrollUp: r, canScrollDown: a, startScroll: u, stopScroll: s, updateScrollState: f } = co(
1210
+ const { canScrollUp: r, canScrollDown: a, startScroll: u, stopScroll: s, updateScrollState: f } = fo(
1289
1211
  o,
1290
1212
  l
1291
1213
  );
@@ -1344,44 +1266,127 @@ const vo = ["aria-label"], po = { class: "tw-sr-only" }, mo = ["aria-label"], yo
1344
1266
  })
1345
1267
  ])
1346
1268
  ], 34)
1347
- ], 8, Co));
1269
+ ], 8, Eo));
1348
1270
  }
1349
- }), st = /* @__PURE__ */ new Map();
1350
- function Lo(e) {
1271
+ }), rt = Oe({
1272
+ name: "toolbar-service",
1273
+ getKey: (e) => `${e.bladeId.toLowerCase()}::${e.toolbarItem.id}`,
1274
+ registerIntoService: (e, t) => e.registerToolbarItem(t.toolbarItem, t.bladeId)
1275
+ });
1276
+ function ti(e, t) {
1277
+ const n = t.toLowerCase();
1278
+ rt.preregister({
1279
+ bladeId: n,
1280
+ toolbarItem: e
1281
+ });
1282
+ }
1283
+ function Vt() {
1284
+ const e = Rt({
1285
+ createRegistration: (u, s) => ({ bladeId: u, toolbarItem: s }),
1286
+ getRegistrationBladeId: (u) => u.bladeId,
1287
+ getRegistrationItemId: (u) => u.toolbarItem.id
1288
+ }), t = (u, s) => {
1289
+ e.register(u, s);
1290
+ }, n = (u, s) => {
1291
+ e.unregister(u, s);
1292
+ }, o = (u) => {
1293
+ const s = u ? u.toLowerCase() : "", f = e.get(s), m = e.get("*"), v = [...f], d = new Set(v.map((c) => c.id));
1294
+ return m.forEach((c) => {
1295
+ d.has(c.id) || v.push(c);
1296
+ }), [...v];
1297
+ }, l = (u) => {
1298
+ e.clear(u);
1299
+ }, r = ({
1300
+ id: u,
1301
+ bladeId: s,
1302
+ toolbarItem: f
1303
+ }) => {
1304
+ e.update(u, s, f);
1305
+ }, a = {
1306
+ registerToolbarItem: t,
1307
+ unregisterToolbarItem: n,
1308
+ getToolbarItems: o,
1309
+ clearBladeToolbarItems: l,
1310
+ registeredToolbarItems: e.registrations,
1311
+ isToolbarItemRegistered: (u) => e.isRegistered(u),
1312
+ updateToolbarItem: r
1313
+ };
1314
+ return rt.replayInto(a), a;
1315
+ }
1316
+ const Bo = "fallback-blade-id";
1317
+ let Ge = null;
1318
+ const Lo = ze({
1319
+ key: Ot,
1320
+ create: Vt,
1321
+ bus: rt,
1322
+ name: "ToolbarService"
1323
+ });
1324
+ function ni() {
1325
+ return Lo.provide();
1326
+ }
1327
+ function oi(e = {}) {
1328
+ const { autoCleanup: t = !0 } = e, n = W(Ot, null);
1329
+ !n && !Ge && (Ge = Vt());
1330
+ const o = n || Ge;
1331
+ if (!o)
1332
+ throw new Error("Toolbar service is not available");
1333
+ const l = W($t, void 0), r = $(() => l?.value?.id ?? Bo), a = (c) => c ?? r.value, u = (c, y) => {
1334
+ o.registerToolbarItem(c, a(y));
1335
+ }, s = (c, y) => {
1336
+ o.unregisterToolbarItem(c, a(y));
1337
+ }, f = (c, y, b) => {
1338
+ o.updateToolbarItem({ id: c, bladeId: a(b), toolbarItem: y });
1339
+ }, m = (c) => o.getToolbarItems(a(c)), v = (c) => {
1340
+ o.clearBladeToolbarItems(a(c));
1341
+ };
1342
+ return Fe() && t && Pe(() => {
1343
+ v();
1344
+ }), {
1345
+ registerToolbarItem: u,
1346
+ unregisterToolbarItem: s,
1347
+ updateToolbarItem: f,
1348
+ getToolbarItems: m,
1349
+ clearBladeToolbarItems: v,
1350
+ isToolbarItemRegistered: o.isToolbarItemRegistered,
1351
+ registeredToolbarItems: o.registeredToolbarItems
1352
+ };
1353
+ }
1354
+ const st = /* @__PURE__ */ new Map();
1355
+ function xo(e) {
1351
1356
  return e?.map((t) => t.toLowerCase());
1352
1357
  }
1353
- function oi(e) {
1358
+ function ai(e) {
1354
1359
  st.set(e.id, {
1355
1360
  ...e,
1356
- targetBlades: Lo(e.targetBlades)
1361
+ targetBlades: xo(e.targetBlades)
1357
1362
  });
1358
1363
  }
1359
- function xo(e) {
1364
+ function Ro(e) {
1360
1365
  const t = e.toLowerCase();
1361
1366
  return Array.from(st.values()).filter((n) => !n.targetBlades || n.targetBlades.includes(t)).map((n) => ({ ...n, targetBlades: n.targetBlades ? [...n.targetBlades] : void 0 }));
1362
1367
  }
1363
- function Ro() {
1368
+ function To() {
1364
1369
  return Array.from(st.values()).map((e) => ({
1365
1370
  ...e,
1366
1371
  targetBlades: e.targetBlades ? [...e.targetBlades] : void 0
1367
1372
  }));
1368
1373
  }
1369
- function To(e) {
1370
- return vn(e);
1374
+ function Mo(e) {
1375
+ return pn(e);
1371
1376
  }
1372
1377
  const Dt = Oe({
1373
1378
  name: "widget-service",
1374
1379
  getKey: (e) => `${e.bladeId.toLowerCase()}::${e.widget.id}`,
1375
1380
  registerIntoService: (e, t) => e.registerWidget(t.widget, t.bladeId)
1376
1381
  });
1377
- function ai(e, t) {
1382
+ function li(e, t) {
1378
1383
  const n = t.toLowerCase();
1379
1384
  Dt.preregister({
1380
1385
  bladeId: n,
1381
1386
  widget: e
1382
1387
  });
1383
1388
  }
1384
- function li() {
1389
+ function ii() {
1385
1390
  const e = Rt({
1386
1391
  createRegistration: (o, l) => ({ bladeId: o, widget: l }),
1387
1392
  getRegistrationBladeId: (o) => o.bladeId,
@@ -1391,16 +1396,16 @@ function li() {
1391
1396
  unregisterWidget: (o, l) => e.unregister(o, l),
1392
1397
  getWidgets: (o) => e.get(o),
1393
1398
  updateWidget: ({ id: o, bladeId: l, widget: r }) => e.update(o, l, r),
1394
- getExternalWidgetsForBlade: (o) => xo(o.toLowerCase()),
1395
- getAllExternalWidgets: Ro,
1396
- cloneWidget: To
1399
+ getExternalWidgetsForBlade: (o) => Ro(o.toLowerCase()),
1400
+ getAllExternalWidgets: To,
1401
+ cloneWidget: Mo
1397
1402
  };
1398
1403
  return Dt.replayInto(n), n;
1399
1404
  }
1400
- const Mo = de("use-theme"), ge = S([
1405
+ const Ao = de("use-theme"), ge = S([
1401
1406
  { key: "light", localizationKey: "CORE.THEMES.LIGHT" },
1402
1407
  { key: "dark", localizationKey: "CORE.THEMES.DARK" }
1403
- ]), ii = kn(() => {
1408
+ ]), ri = In(() => {
1404
1409
  const { t: e } = ye.global;
1405
1410
  function t(f) {
1406
1411
  (Array.isArray(f) ? f : [f]).forEach((m) => {
@@ -1413,7 +1418,7 @@ const Mo = de("use-theme"), ge = S([
1413
1418
  v >= 0 && ge.value.splice(v, 1);
1414
1419
  });
1415
1420
  }
1416
- const o = $(() => ge.value.map((f) => f.key)), l = mn({
1421
+ const o = $(() => ge.value.map((f) => f.key)), l = yn({
1417
1422
  attribute: "data-theme",
1418
1423
  emitAuto: !0,
1419
1424
  initialValue: "light",
@@ -1425,12 +1430,12 @@ const Mo = de("use-theme"), ge = S([
1425
1430
  {}
1426
1431
  )
1427
1432
  }
1428
- }), { state: r, next: a } = yn(o, { initialValue: l });
1433
+ }), { state: r, next: a } = bn(o, { initialValue: l });
1429
1434
  He(() => {
1430
1435
  r.value && (l.value = r.value);
1431
1436
  });
1432
1437
  function u(f) {
1433
- o.value.includes(f) ? r.value = f : Mo.warn(`Attempted to set an unregistered theme: ${f}`);
1438
+ o.value.includes(f) ? r.value = f : Ao.warn(`Attempted to set an unregistered theme: ${f}`);
1434
1439
  }
1435
1440
  const s = $(() => {
1436
1441
  const f = ge.value.find((m) => m.key === r.value);
@@ -1455,15 +1460,15 @@ const Mo = de("use-theme"), ge = S([
1455
1460
  getKey: (e) => e.id,
1456
1461
  registerIntoService: (e, t) => e.registerWidget(t)
1457
1462
  });
1458
- function ri(e) {
1463
+ function si(e) {
1459
1464
  ut.preregister(e);
1460
1465
  }
1461
- const Ao = () => ({
1466
+ const Vo = () => ({
1462
1467
  widgets: Je(/* @__PURE__ */ new Map()),
1463
1468
  layout: Je(/* @__PURE__ */ new Map())
1464
1469
  });
1465
- function Vo(e = {}) {
1466
- const t = Ao(), n = e.hasAccess ?? (() => !0), u = {
1470
+ function Do(e = {}) {
1471
+ const t = Vo(), n = e.hasAccess ?? (() => !0), u = {
1467
1472
  registerWidget: (s) => {
1468
1473
  if (t.widgets.has(s.id))
1469
1474
  throw new Error(`Widget with id ${s.id} already registered`);
@@ -1489,28 +1494,28 @@ function Vo(e = {}) {
1489
1494
  };
1490
1495
  return ut.replayInto(u), u;
1491
1496
  }
1492
- const mt = de("use-dashboard"), Nt = Pe({
1493
- key: dn,
1497
+ const mt = de("use-dashboard"), Nt = ze({
1498
+ key: fn,
1494
1499
  bus: ut,
1495
1500
  name: "DashboardService",
1496
1501
  create: () => {
1497
1502
  let e = () => !0;
1498
1503
  try {
1499
- const { hasAccess: t } = An();
1504
+ const { hasAccess: t } = Vn();
1500
1505
  e = (n) => t(n);
1501
1506
  } catch (t) {
1502
1507
  mt.warn("Permissions composable unavailable, dashboard falls back to allow-all access check", t);
1503
1508
  }
1504
- return Vo({
1509
+ return Do({
1505
1510
  hasAccess: e
1506
1511
  });
1507
1512
  },
1508
1513
  onMissing: () => mt.error("Dashboard service not found")
1509
1514
  });
1510
- function si() {
1515
+ function ui() {
1511
1516
  return Nt.provide();
1512
1517
  }
1513
- function ui() {
1518
+ function ci() {
1514
1519
  return Nt.use();
1515
1520
  }
1516
1521
  const Ft = Oe({
@@ -1519,10 +1524,10 @@ const Ft = Oe({
1519
1524
  registerIntoService: (e, t) => e.register(t),
1520
1525
  unregisterFromService: (e, t) => e.unregister(t)
1521
1526
  });
1522
- function ci(e) {
1527
+ function di(e) {
1523
1528
  Ft.preregister(e);
1524
1529
  }
1525
- function di() {
1530
+ function fi() {
1526
1531
  return Tt({
1527
1532
  bus: Ft,
1528
1533
  createItem: (e, t) => ({
@@ -1546,10 +1551,10 @@ const ct = Oe({
1546
1551
  registerIntoService: (e, t) => e.register(t),
1547
1552
  unregisterFromService: (e, t) => e.unregister(t)
1548
1553
  });
1549
- function fi(e) {
1554
+ function gi(e) {
1550
1555
  ct.preregister(e);
1551
1556
  }
1552
- function Do() {
1557
+ function No() {
1553
1558
  return Tt({
1554
1559
  bus: ct,
1555
1560
  createItem: (e, t) => ({
@@ -1562,26 +1567,26 @@ function Do() {
1562
1567
  getId: (e) => e.id || ""
1563
1568
  });
1564
1569
  }
1565
- const No = de("use-settings-menu"), zt = Pe({
1566
- key: fn,
1567
- create: Do,
1570
+ const Fo = de("use-settings-menu"), Pt = ze({
1571
+ key: gn,
1572
+ create: No,
1568
1573
  bus: ct,
1569
1574
  name: "SettingsMenuService",
1570
- onMissing: () => No.error("Settings menu service not found")
1575
+ onMissing: () => Fo.error("Settings menu service not found")
1571
1576
  });
1572
- function gi() {
1573
- return zt.provide();
1574
- }
1575
1577
  function vi() {
1576
- return zt.use();
1578
+ return Pt.provide();
1577
1579
  }
1578
- const Fo = {
1580
+ function pi() {
1581
+ return Pt.use();
1582
+ }
1583
+ const Po = {
1579
1584
  key: 0,
1580
1585
  class: "vc-date-picker vc-date-picker--skeleton"
1581
- }, zo = { class: "vc-date-picker__field-container" }, Po = { class: "vc-date-picker__field" }, qo = ["aria-label"], Ko = {
1586
+ }, zo = { class: "vc-date-picker__field-container" }, qo = { class: "vc-date-picker__field" }, Ko = ["aria-label"], Uo = {
1582
1587
  key: 0,
1583
1588
  class: "vc-date-picker__loading"
1584
- }, Uo = { key: 0 }, Wo = { key: 1 }, jo = /* @__PURE__ */ J({
1589
+ }, Wo = { key: 0 }, jo = { key: 1 }, Go = /* @__PURE__ */ J({
1585
1590
  __name: "vc-date-picker",
1586
1591
  props: {
1587
1592
  modelValue: {},
@@ -1605,7 +1610,7 @@ const Fo = {
1605
1610
  },
1606
1611
  emits: ["update:modelValue", "blur", "focus"],
1607
1612
  setup(e, { emit: t }) {
1608
- const n = e, o = t, l = be(), { isMobile: r, isDesktop: a } = Zn(), { labelId: u, errorId: s, hintId: f, invalid: m, resolvedDisabled: v, ariaRequired: d, ariaDescribedBy: c } = qe(n), y = S(!1), b = window.navigator.language, E = S(n.modelValue), p = S(null), k = $(() => n.type === "date" && "9999-12-31" || void 0), M = (() => {
1613
+ const n = e, o = t, l = be(), { isMobile: r, isDesktop: a } = Qn(), { labelId: u, errorId: s, hintId: f, invalid: m, resolvedDisabled: v, ariaRequired: d, ariaDescribedBy: c } = qe(n), y = S(!1), b = window.navigator.language, E = S(n.modelValue), p = S(null), k = $(() => n.type === "date" && "9999-12-31" || void 0), M = (() => {
1609
1614
  const I = new Intl.DateTimeFormat(b, { hour: "numeric" }).format();
1610
1615
  return Number.isInteger(Number(I));
1611
1616
  })(), F = $(() => {
@@ -1655,7 +1660,7 @@ const Fo = {
1655
1660
  function V(I) {
1656
1661
  p.value = I;
1657
1662
  }
1658
- function z() {
1663
+ function P() {
1659
1664
  p.value = null;
1660
1665
  }
1661
1666
  function U(I) {
@@ -1664,7 +1669,7 @@ const Fo = {
1664
1669
  function X() {
1665
1670
  y.value = !0, o("focus");
1666
1671
  }
1667
- return (I, x) => i(l) ? (g(), h("div", Fo, [
1672
+ return (I, x) => i(l) ? (g(), h("div", Po, [
1668
1673
  e.label ? (g(), q(i(ae), {
1669
1674
  key: 0,
1670
1675
  variant: "block",
@@ -1715,8 +1720,8 @@ const Fo = {
1715
1720
  }])
1716
1721
  }, [
1717
1722
  L("div", zo, [
1718
- L("div", Po, [
1719
- T(i(Cn), oe({
1723
+ L("div", qo, [
1724
+ T(i(Bn), oe({
1720
1725
  modelValue: E.value,
1721
1726
  "onUpdate:modelValue": x[0] || (x[0] = (K) => E.value = K),
1722
1727
  placeholder: e.placeholder || (e.type === "datetime-local" ? I.$t("COMPONENTS.MOLECULES.VC_INPUT.DATE_TIME_PLACEHOLDER") : I.$t("COMPONENTS.MOLECULES.VC_INPUT.DATE_PLACEHOLDER")),
@@ -1745,7 +1750,7 @@ const Fo = {
1745
1750
  onFocus: X,
1746
1751
  onClosed: U,
1747
1752
  onRangeStart: V,
1748
- onRangeEnd: z,
1753
+ onRangeEnd: P,
1749
1754
  onTooltipOpen: X,
1750
1755
  onTooltipClose: U
1751
1756
  }), null, 16, ["modelValue", "placeholder", "disabled", "name", "autofocus", "max-date", "enable-time-picker", "locale", "teleport-center", "is24", "teleport", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"]),
@@ -1760,9 +1765,9 @@ const Fo = {
1760
1765
  size: "xs",
1761
1766
  icon: "lucide-x"
1762
1767
  })
1763
- ], 8, qo)) : w("", !0)
1768
+ ], 8, Ko)) : w("", !0)
1764
1769
  ]),
1765
- e.loading ? (g(), h("div", Ko, [
1770
+ e.loading ? (g(), h("div", Uo, [
1766
1771
  T(i(H), {
1767
1772
  icon: "lucide-loader-2",
1768
1773
  class: "vc-date-picker__loading-icon",
@@ -1776,7 +1781,7 @@ const Fo = {
1776
1781
  mode: "out-in"
1777
1782
  }, {
1778
1783
  default: C(() => [
1779
- i(m) && e.errorMessage ? (g(), h("div", Uo, [
1784
+ i(m) && e.errorMessage ? (g(), h("div", Wo, [
1780
1785
  T(i(ce), {
1781
1786
  id: i(s),
1782
1787
  class: "vc-date-picker__hint-error",
@@ -1787,7 +1792,7 @@ const Fo = {
1787
1792
  ]),
1788
1793
  _: 1
1789
1794
  }, 8, ["id"])
1790
- ])) : (g(), h("div", Wo, [
1795
+ ])) : (g(), h("div", jo, [
1791
1796
  e.hint ? (g(), q(i(ce), {
1792
1797
  key: 0,
1793
1798
  id: i(f),
@@ -1804,13 +1809,13 @@ const Fo = {
1804
1809
  })
1805
1810
  ], 2));
1806
1811
  }
1807
- }), Go = {
1812
+ }), Ho = {
1808
1813
  key: 0,
1809
1814
  class: "vc-color-input vc-color-input--skeleton"
1810
- }, Ho = { class: "vc-color-input__field-container" }, Jo = { class: "vc-color-input__field" }, Yo = ["id", "placeholder", "disabled", "name", "autofocus", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"], Xo = { class: "vc-color-input__color-container" }, Zo = ["aria-label"], Qo = ["value"], _o = ["aria-label"], ea = {
1815
+ }, Jo = { class: "vc-color-input__field-container" }, Yo = { class: "vc-color-input__field" }, Xo = ["id", "placeholder", "disabled", "name", "autofocus", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"], Zo = { class: "vc-color-input__color-container" }, Qo = ["aria-label"], _o = ["value"], ea = ["aria-label"], ta = {
1811
1816
  key: 0,
1812
1817
  class: "vc-color-input__loading"
1813
- }, ta = { key: 0 }, na = { key: 1 }, oa = /* @__PURE__ */ J({
1818
+ }, na = { key: 0 }, oa = { key: 1 }, aa = /* @__PURE__ */ J({
1814
1819
  __name: "vc-color-input",
1815
1820
  props: {
1816
1821
  modelValue: {},
@@ -1848,11 +1853,11 @@ const Fo = {
1848
1853
  return;
1849
1854
  }
1850
1855
  const x = I.trim();
1851
- if (Tn(x)) {
1856
+ if (Mn(x)) {
1852
1857
  M.value = gt(x);
1853
1858
  return;
1854
1859
  }
1855
- const K = Rn(x);
1860
+ const K = Tn(x);
1856
1861
  K && (M.value = K);
1857
1862
  }
1858
1863
  ee(
@@ -1884,7 +1889,7 @@ const Fo = {
1884
1889
  function V() {
1885
1890
  k.value = "", M.value = "", r("update:modelValue", null);
1886
1891
  }
1887
- function z(I) {
1892
+ function P(I) {
1888
1893
  y.value = !1, r("blur", I);
1889
1894
  }
1890
1895
  function U() {
@@ -1893,7 +1898,7 @@ const Fo = {
1893
1898
  function X() {
1894
1899
  E.value?.focus();
1895
1900
  }
1896
- return t({ focus: X }), (I, x) => i(o) ? (g(), h("div", Go, [
1901
+ return t({ focus: X }), (I, x) => i(o) ? (g(), h("div", Ho, [
1897
1902
  e.label ? (g(), q(i(ae), {
1898
1903
  key: 0,
1899
1904
  variant: "block",
@@ -1944,8 +1949,8 @@ const Fo = {
1944
1949
  "vc-color-input__field-wrapper--small": e.size === "small"
1945
1950
  }])
1946
1951
  }, [
1947
- L("div", Ho, [
1948
- L("div", Jo, [
1952
+ L("div", Jo, [
1953
+ L("div", Yo, [
1949
1954
  et(L("input", {
1950
1955
  id: i(a),
1951
1956
  ref_key: "inputRef",
@@ -1962,20 +1967,20 @@ const Fo = {
1962
1967
  "aria-labelledby": e.label ? i(u) : void 0,
1963
1968
  class: "vc-color-input__input",
1964
1969
  tabindex: "0",
1965
- onBlur: z,
1970
+ onBlur: P,
1966
1971
  onFocus: U,
1967
1972
  onInput: G
1968
- }, null, 40, Yo), [
1973
+ }, null, 40, Xo), [
1969
1974
  [Qt, k.value]
1970
1975
  ]),
1971
- L("div", Xo, [
1976
+ L("div", Zo, [
1972
1977
  L("button", {
1973
1978
  type: "button",
1974
1979
  class: "vc-color-input__color-square",
1975
1980
  style: Se({ backgroundColor: M.value || "#ffffff" }),
1976
1981
  "aria-label": `Pick color${M.value ? ": " + M.value : ""}`,
1977
1982
  onClick: D
1978
- }, null, 12, Zo),
1983
+ }, null, 12, Qo),
1979
1984
  L("input", {
1980
1985
  ref_key: "colorPickerRef",
1981
1986
  ref: p,
@@ -1985,7 +1990,7 @@ const Fo = {
1985
1990
  tabindex: "-1",
1986
1991
  "aria-hidden": "true",
1987
1992
  onChange: Y
1988
- }, null, 40, Qo)
1993
+ }, null, 40, _o)
1989
1994
  ]),
1990
1995
  e.clearable && k.value && !e.disabled ? (g(), h("button", {
1991
1996
  key: 0,
@@ -1998,9 +2003,9 @@ const Fo = {
1998
2003
  size: "xs",
1999
2004
  icon: "lucide-x"
2000
2005
  })
2001
- ], 8, _o)) : w("", !0)
2006
+ ], 8, ea)) : w("", !0)
2002
2007
  ]),
2003
- e.loading ? (g(), h("div", ea, [
2008
+ e.loading ? (g(), h("div", ta, [
2004
2009
  T(i(H), {
2005
2010
  icon: "lucide-loader-2",
2006
2011
  class: "vc-color-input__loading-icon",
@@ -2014,7 +2019,7 @@ const Fo = {
2014
2019
  mode: "out-in"
2015
2020
  }, {
2016
2021
  default: C(() => [
2017
- i(m) && e.errorMessage ? (g(), h("div", ta, [
2022
+ i(m) && e.errorMessage ? (g(), h("div", na, [
2018
2023
  T(i(ce), {
2019
2024
  id: i(s),
2020
2025
  class: "vc-color-input__hint-error",
@@ -2025,7 +2030,7 @@ const Fo = {
2025
2030
  ]),
2026
2031
  _: 1
2027
2032
  }, 8, ["id"])
2028
- ])) : (g(), h("div", na, [
2033
+ ])) : (g(), h("div", oa, [
2029
2034
  e.hint ? (g(), q(i(ce), {
2030
2035
  key: 0,
2031
2036
  id: i(f),
@@ -2042,28 +2047,28 @@ const Fo = {
2042
2047
  })
2043
2048
  ], 2));
2044
2049
  }
2045
- }), aa = { class: "vc-input__container" }, la = {
2050
+ }), la = { class: "vc-input__container" }, ia = {
2046
2051
  key: 0,
2047
2052
  class: "vc-input__prepend"
2048
- }, ia = { class: "vc-input__field-container" }, ra = {
2053
+ }, ra = { class: "vc-input__field-container" }, sa = {
2049
2054
  key: 0,
2050
2055
  class: "vc-input__prepend-inner"
2051
- }, sa = { class: "vc-input__field" }, ua = {
2056
+ }, ua = { class: "vc-input__field" }, ca = {
2052
2057
  key: 0,
2053
2058
  class: "vc-input__prefix"
2054
- }, ca = ["id", "placeholder", "type", "disabled", "name", "maxlength", "autofocus", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"], da = {
2059
+ }, da = ["id", "placeholder", "type", "disabled", "name", "maxlength", "autofocus", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"], fa = {
2055
2060
  key: 1,
2056
2061
  class: "vc-input__suffix"
2057
- }, fa = ["aria-label"], ga = ["aria-label"], va = {
2062
+ }, ga = ["aria-label"], va = ["aria-label"], pa = {
2058
2063
  key: 1,
2059
2064
  class: "vc-input__append-inner"
2060
- }, pa = {
2065
+ }, ma = {
2061
2066
  key: 2,
2062
2067
  class: "vc-input__loading"
2063
- }, ma = {
2068
+ }, ya = {
2064
2069
  key: 1,
2065
2070
  class: "vc-input__append"
2066
- }, ya = { key: 0 }, ba = { key: 1 }, ha = /* @__PURE__ */ J({
2071
+ }, ba = { key: 0 }, ha = { key: 1 }, ka = /* @__PURE__ */ J({
2067
2072
  inheritAttrs: !1,
2068
2073
  __name: "vc-input",
2069
2074
  props: {
@@ -2094,8 +2099,8 @@ const Fo = {
2094
2099
  emits: ["update:modelValue", "blur", "focus"],
2095
2100
  setup(e, { emit: t }) {
2096
2101
  const n = e, o = St(), l = $(() => {
2097
- const { class: O, ...P } = o;
2098
- return P;
2102
+ const { class: O, ...z } = o;
2103
+ return z;
2099
2104
  }), r = t, a = be(), {
2100
2105
  fieldId: u,
2101
2106
  labelId: s,
@@ -2115,7 +2120,7 @@ const Fo = {
2115
2120
  set(O) {
2116
2121
  F.value = O;
2117
2122
  }
2118
- }), V = $(() => i(n.modelValue)), z = $({
2123
+ }), V = $(() => i(n.modelValue)), P = $({
2119
2124
  get() {
2120
2125
  return (n.type === "integer" || n.type === "number") && isNaN(k.value) ? "" : k.value;
2121
2126
  },
@@ -2131,8 +2136,8 @@ const Fo = {
2131
2136
  { immediate: !0 }
2132
2137
  );
2133
2138
  function U(O) {
2134
- const P = ["Backspace", "Delete", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], A = O.key;
2135
- if ((n.type === "number" || n.type === "integer") && (A === "-" || A === "e" || A === "+") && O.preventDefault(), n.type === "integer" && !/^\d$/.test(A) && !P.includes(A)) {
2139
+ const z = ["Backspace", "Delete", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], A = O.key;
2140
+ if ((n.type === "number" || n.type === "integer") && (A === "-" || A === "e" || A === "+") && O.preventDefault(), n.type === "integer" && !/^\d$/.test(A) && !z.includes(A)) {
2136
2141
  O.preventDefault();
2137
2142
  return;
2138
2143
  }
@@ -2143,8 +2148,8 @@ const Fo = {
2143
2148
  function I(O) {
2144
2149
  p = () => {
2145
2150
  if (Y.value !== O) {
2146
- let P;
2147
- n.type === "number" && O !== null && O !== void 0 ? P = O !== "" ? parseFloat(O) : null : n.type === "integer" && O !== null && O !== void 0 ? P = O !== "" ? Math.trunc(parseInt(O)) : null : P = O, r("update:modelValue", P);
2151
+ let z;
2152
+ n.type === "number" && O !== null && O !== void 0 ? z = O !== "" ? parseFloat(O) : null : n.type === "integer" && O !== null && O !== void 0 ? z = O !== "" ? Math.trunc(parseInt(O)) : null : z = O, r("update:modelValue", z);
2148
2153
  }
2149
2154
  p = void 0;
2150
2155
  }, n.debounce !== void 0 ? (clearTimeout(E), E = setTimeout(p, +n.debounce)) : p();
@@ -2161,7 +2166,7 @@ const Fo = {
2161
2166
  function Ae() {
2162
2167
  G.value = !0, r("focus");
2163
2168
  }
2164
- return (O, P) => i(a) ? (g(), h("div", oe({ key: 0 }, l.value, {
2169
+ return (O, z) => i(a) ? (g(), h("div", oe({ key: 0 }, l.value, {
2165
2170
  class: ["vc-input vc-input--skeleton", O.$attrs.class]
2166
2171
  }), [
2167
2172
  e.label ? (g(), q(i(ae), {
@@ -2175,7 +2180,7 @@ const Fo = {
2175
2180
  width: "100%",
2176
2181
  height: 36
2177
2182
  })
2178
- ], 16)) : e.type === "date" || e.type === "datetime-local" ? (g(), q(i(jo), oe({ key: 1 }, i(o), {
2183
+ ], 16)) : e.type === "date" || e.type === "datetime-local" ? (g(), q(i(Go), oe({ key: 1 }, i(o), {
2179
2184
  "model-value": e.modelValue,
2180
2185
  type: e.type,
2181
2186
  "date-picker-options": e.datePickerOptions,
@@ -2194,10 +2199,10 @@ const Fo = {
2194
2199
  multilanguage: e.multilanguage,
2195
2200
  "current-language": e.currentLanguage,
2196
2201
  name: e.name,
2197
- "onUpdate:modelValue": P[0] || (P[0] = (A) => r("update:modelValue", A ?? null)),
2198
- onBlur: P[1] || (P[1] = (A) => r("blur", A)),
2199
- onFocus: P[2] || (P[2] = (A) => r("focus"))
2200
- }), null, 16, ["model-value", "type", "date-picker-options", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name"])) : e.type === "color" ? (g(), q(i(oa), oe({ key: 2 }, i(o), {
2202
+ "onUpdate:modelValue": z[0] || (z[0] = (A) => r("update:modelValue", A ?? null)),
2203
+ onBlur: z[1] || (z[1] = (A) => r("blur", A)),
2204
+ onFocus: z[2] || (z[2] = (A) => r("focus"))
2205
+ }), null, 16, ["model-value", "type", "date-picker-options", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name"])) : e.type === "color" ? (g(), q(i(aa), oe({ key: 2 }, i(o), {
2201
2206
  "model-value": e.modelValue ?? null,
2202
2207
  label: e.label,
2203
2208
  placeholder: e.placeholder,
@@ -2214,9 +2219,9 @@ const Fo = {
2214
2219
  multilanguage: e.multilanguage,
2215
2220
  "current-language": e.currentLanguage,
2216
2221
  name: e.name,
2217
- "onUpdate:modelValue": P[3] || (P[3] = (A) => r("update:modelValue", A)),
2218
- onBlur: P[4] || (P[4] = (A) => r("blur", A)),
2219
- onFocus: P[5] || (P[5] = (A) => r("focus"))
2222
+ "onUpdate:modelValue": z[3] || (z[3] = (A) => r("update:modelValue", A)),
2223
+ onBlur: z[4] || (z[4] = (A) => r("blur", A)),
2224
+ onFocus: z[5] || (z[5] = (A) => r("focus"))
2220
2225
  }), null, 16, ["model-value", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name"])) : (g(), h("div", oe({ key: 3 }, l.value, {
2221
2226
  class: ["vc-input", [
2222
2227
  O.$attrs.class,
@@ -2252,8 +2257,8 @@ const Fo = {
2252
2257
  key: "0"
2253
2258
  } : void 0
2254
2259
  ]), 1032, ["id", "html-for", "required", "multilanguage", "current-language", "error"])) : w("", !0),
2255
- L("div", aa, [
2256
- O.$slots.prepend ? (g(), h("div", la, [
2260
+ L("div", la, [
2261
+ O.$slots.prepend ? (g(), h("div", ia, [
2257
2262
  B(O.$slots, "prepend", { focus: ne })
2258
2263
  ])) : w("", !0),
2259
2264
  L("div", {
@@ -2262,16 +2267,16 @@ const Fo = {
2262
2267
  "vc-input__field-wrapper--small": e.size === "small"
2263
2268
  }])
2264
2269
  }, [
2265
- L("div", ia, [
2266
- O.$slots["prepend-inner"] ? (g(), h("div", ra, [
2270
+ L("div", ra, [
2271
+ O.$slots["prepend-inner"] ? (g(), h("div", sa, [
2267
2272
  B(O.$slots, "prepend-inner", { focus: ne })
2268
2273
  ])) : w("", !0),
2269
- L("div", sa, [
2270
- e.prefix ? (g(), h("div", ua, N(e.prefix), 1)) : w("", !0),
2274
+ L("div", ua, [
2275
+ e.prefix ? (g(), h("div", ca, N(e.prefix), 1)) : w("", !0),
2271
2276
  B(O.$slots, "control", {
2272
2277
  editable: i(d),
2273
2278
  focused: e.autofocus,
2274
- modelValue: z.value,
2279
+ modelValue: P.value,
2275
2280
  emitValue: I,
2276
2281
  placeholder: e.placeholder
2277
2282
  }, () => [
@@ -2279,7 +2284,7 @@ const Fo = {
2279
2284
  id: i(u),
2280
2285
  ref_key: "inputRef",
2281
2286
  ref: M,
2282
- "onUpdate:modelValue": P[6] || (P[6] = (A) => z.value = A),
2287
+ "onUpdate:modelValue": z[6] || (z[6] = (A) => P.value = A),
2283
2288
  placeholder: e.placeholder,
2284
2289
  type: D.value,
2285
2290
  disabled: i(d),
@@ -2295,11 +2300,11 @@ const Fo = {
2295
2300
  onKeydown: U,
2296
2301
  onBlur: K,
2297
2302
  onFocus: Ae
2298
- }, null, 40, ca), [
2299
- [_t, z.value]
2303
+ }, null, 40, da), [
2304
+ [_t, P.value]
2300
2305
  ])
2301
2306
  ]),
2302
- e.suffix ? (g(), h("div", da, N(e.suffix), 1)) : w("", !0),
2307
+ e.suffix ? (g(), h("div", fa, N(e.suffix), 1)) : w("", !0),
2303
2308
  e.clearable && Y.value && !i(d) && e.type !== "password" ? (g(), h("button", {
2304
2309
  key: 2,
2305
2310
  type: "button",
@@ -2311,24 +2316,24 @@ const Fo = {
2311
2316
  size: "xs",
2312
2317
  icon: "lucide-x"
2313
2318
  })
2314
- ], 8, fa)) : w("", !0),
2319
+ ], 8, ga)) : w("", !0),
2315
2320
  e.type === "password" ? (g(), h("button", {
2316
2321
  key: 3,
2317
2322
  type: "button",
2318
2323
  class: "vc-input__showhide",
2319
2324
  "aria-label": F.value === "password" ? "Show password" : "Hide password",
2320
- onClick: P[7] || (P[7] = (A) => F.value = F.value === "password" ? "text" : "password")
2325
+ onClick: z[7] || (z[7] = (A) => F.value = F.value === "password" ? "text" : "password")
2321
2326
  }, [
2322
2327
  T(i(H), {
2323
2328
  size: "s",
2324
2329
  icon: F.value === "password" ? "lucide-eye-off" : "lucide-eye"
2325
2330
  }, null, 8, ["icon"])
2326
- ], 8, ga)) : w("", !0)
2331
+ ], 8, va)) : w("", !0)
2327
2332
  ]),
2328
- O.$slots["append-inner"] ? (g(), h("div", va, [
2333
+ O.$slots["append-inner"] ? (g(), h("div", pa, [
2329
2334
  B(O.$slots, "append-inner", { focus: ne })
2330
2335
  ])) : w("", !0),
2331
- e.loading ? (g(), h("div", pa, [
2336
+ e.loading ? (g(), h("div", ma, [
2332
2337
  T(i(H), {
2333
2338
  icon: "lucide-loader-2",
2334
2339
  class: "vc-input__loading-icon",
@@ -2337,7 +2342,7 @@ const Fo = {
2337
2342
  ])) : w("", !0)
2338
2343
  ])
2339
2344
  ], 2),
2340
- O.$slots.append ? (g(), h("div", ma, [
2345
+ O.$slots.append ? (g(), h("div", ya, [
2341
2346
  B(O.$slots, "append", { focus: ne })
2342
2347
  ])) : w("", !0)
2343
2348
  ]),
@@ -2346,7 +2351,7 @@ const Fo = {
2346
2351
  mode: "out-in"
2347
2352
  }, {
2348
2353
  default: C(() => [
2349
- i(v) && e.errorMessage ? (g(), h("div", ya, [
2354
+ i(v) && e.errorMessage ? (g(), h("div", ba, [
2350
2355
  B(O.$slots, "error", {}, () => [
2351
2356
  T(i(ce), {
2352
2357
  id: i(f),
@@ -2359,7 +2364,7 @@ const Fo = {
2359
2364
  _: 1
2360
2365
  }, 8, ["id"])
2361
2366
  ])
2362
- ])) : (g(), h("div", ba, [
2367
+ ])) : (g(), h("div", ha, [
2363
2368
  B(O.$slots, "hint", {}, () => [
2364
2369
  e.hint ? (g(), q(i(ce), {
2365
2370
  key: 0,
@@ -2378,7 +2383,7 @@ const Fo = {
2378
2383
  })
2379
2384
  ], 16));
2380
2385
  }
2381
- }), pi = In.create({
2386
+ }), mi = Sn.create({
2382
2387
  name: "fontSize",
2383
2388
  addOptions() {
2384
2389
  return {
@@ -2408,7 +2413,7 @@ const Fo = {
2408
2413
  };
2409
2414
  }
2410
2415
  });
2411
- function ka(e = {}) {
2416
+ function Ia(e = {}) {
2412
2417
  const {
2413
2418
  containerSelector: t = '[role="menu"]',
2414
2419
  itemSelector: n = '[tabindex="0"]',
@@ -2484,7 +2489,7 @@ function ka(e = {}) {
2484
2489
  const p = document.querySelector(t);
2485
2490
  p && b(p);
2486
2491
  }
2487
- }), ze(() => {
2492
+ }), Pe(() => {
2488
2493
  E();
2489
2494
  }), {
2490
2495
  initKeyboardNavigation: b,
@@ -2526,7 +2531,7 @@ function yt(e, t) {
2526
2531
  const n = e !== void 0 ? e : t;
2527
2532
  return typeof n == "function" ? n : (o) => o === null || typeof o != "object" ? o : n && n in o ? o[n] : o;
2528
2533
  }
2529
- function Ia(e) {
2534
+ function Sa(e) {
2530
2535
  const t = $(() => yt(e.optionValue(), "id")), n = $(() => yt(e.optionLabel(), "title"));
2531
2536
  function o(a, u, s, f) {
2532
2537
  const m = (v) => Re(t.value(v), a);
@@ -2546,7 +2551,7 @@ function Ia(e) {
2546
2551
  fieldValueIsFilled: r
2547
2552
  };
2548
2553
  }
2549
- function Sa() {
2554
+ function wa() {
2550
2555
  const e = S(null), t = S(!1);
2551
2556
  let n = null, o = null;
2552
2557
  function l() {
@@ -2576,7 +2581,7 @@ function Sa() {
2576
2581
  ensureVisibility: r
2577
2582
  };
2578
2583
  }
2579
- function wa(e) {
2584
+ function $a(e) {
2580
2585
  const t = S(!1), n = S(!1), o = S(null), l = S(null);
2581
2586
  function r() {
2582
2587
  return {
@@ -2590,7 +2595,7 @@ function wa(e) {
2590
2595
  }
2591
2596
  };
2592
2597
  }
2593
- const a = so(o, l, {
2598
+ const a = uo(o, l, {
2594
2599
  placement: $(() => e.placement),
2595
2600
  middleware: $(() => [
2596
2601
  ot({ fallbackPlacements: ["top", "bottom"] }),
@@ -2622,14 +2627,14 @@ function wa(e) {
2622
2627
  toggleDropdown: s
2623
2628
  };
2624
2629
  }
2625
- function $a(e) {
2630
+ function Oa(e) {
2626
2631
  const t = S([]), n = S(null), o = S(0), l = S(!1), r = S(!1), a = S(), u = S([]), s = S(!1), f = /* @__PURE__ */ new Map();
2627
2632
  let m = !1, v;
2628
2633
  const d = $(() => n.value ?? t.value), c = $(() => t.value.length < o.value);
2629
2634
  function y(D) {
2630
2635
  for (const V of D) {
2631
- const z = String(e.getOptionValue.value(V));
2632
- f.set(z, V);
2636
+ const P = String(e.getOptionValue.value(V));
2637
+ f.set(P, V);
2633
2638
  }
2634
2639
  }
2635
2640
  async function b() {
@@ -2656,8 +2661,8 @@ function $a(e) {
2656
2661
  if (!(typeof D != "function" || l.value))
2657
2662
  try {
2658
2663
  l.value = !0;
2659
- const V = await D(a.value, t.value.length), z = new Set(t.value.map((X) => String(e.getOptionValue.value(X)))), U = (V?.results ?? []).filter(
2660
- (X) => !z.has(String(e.getOptionValue.value(X)))
2664
+ const V = await D(a.value, t.value.length), P = new Set(t.value.map((X) => String(e.getOptionValue.value(X)))), U = (V?.results ?? []).filter(
2665
+ (X) => !P.has(String(e.getOptionValue.value(X)))
2661
2666
  );
2662
2667
  t.value = [...t.value, ...U], o.value = V?.totalCount ?? o.value, y(U);
2663
2668
  } catch (V) {
@@ -2672,50 +2677,50 @@ function $a(e) {
2672
2677
  if (typeof V == "function")
2673
2678
  try {
2674
2679
  r.value = !0;
2675
- const z = await V(D);
2676
- n.value = z?.results ?? [], o.value = z?.totalCount ?? 0, y(n.value);
2677
- } catch (z) {
2678
- console.error("useSelectDataSource: error searching", z), n.value = [];
2680
+ const P = await V(D);
2681
+ n.value = P?.results ?? [], o.value = P?.totalCount ?? 0, y(n.value);
2682
+ } catch (P) {
2683
+ console.error("useSelectDataSource: error searching", P), n.value = [];
2679
2684
  } finally {
2680
2685
  r.value = !1;
2681
2686
  }
2682
2687
  else
2683
- n.value = t.value.filter((z) => {
2684
- const U = e.getOptionLabel.value(z);
2688
+ n.value = t.value.filter((P) => {
2689
+ const U = e.getOptionLabel.value(P);
2685
2690
  return String(U).toLowerCase().includes(D.toLowerCase());
2686
2691
  });
2687
2692
  }
2688
2693
  function M(D) {
2689
2694
  if (!D?.target) return;
2690
- const V = D.target.value, z = Number(e.debounce());
2691
- v && clearTimeout(v), z > 0 ? v = setTimeout(() => {
2695
+ const V = D.target.value, P = Number(e.debounce());
2696
+ v && clearTimeout(v), P > 0 ? v = setTimeout(() => {
2692
2697
  e.emit.search(V), k(V);
2693
- }, z) : (e.emit.search(V), k(V));
2698
+ }, P) : (e.emit.search(V), k(V));
2694
2699
  }
2695
2700
  function F() {
2696
2701
  n.value = null, a.value = void 0, v && (clearTimeout(v), v = void 0), o.value = t.value.length;
2697
2702
  }
2698
2703
  async function G(D) {
2699
2704
  if (D.length === 0) return [];
2700
- const z = D.filter((I) => !f.has(String(I))).filter((I) => {
2705
+ const P = D.filter((I) => !f.has(String(I))).filter((I) => {
2701
2706
  const x = t.value.find((K) => Re(e.getOptionValue.value(K), I));
2702
2707
  return x ? (f.set(String(I), x), !1) : !0;
2703
2708
  }), U = e.options();
2704
- if (z.length > 0 && typeof U == "function") {
2709
+ if (P.length > 0 && typeof U == "function") {
2705
2710
  try {
2706
2711
  s.value = !0;
2707
- const x = await U(void 0, void 0, z);
2712
+ const x = await U(void 0, void 0, P);
2708
2713
  x?.results && y(x.results);
2709
2714
  } catch (x) {
2710
2715
  console.error("useSelectDataSource: error resolving", x);
2711
2716
  } finally {
2712
2717
  s.value = !1;
2713
2718
  }
2714
- z.filter((x) => !f.has(String(x))).length > 0 && !m && await b();
2715
- } else if (z.length > 0 && Array.isArray(U))
2719
+ P.filter((x) => !f.has(String(x))).length > 0 && !m && await b();
2720
+ } else if (P.length > 0 && Array.isArray(U))
2716
2721
  for (const I of U) {
2717
2722
  const x = String(e.getOptionValue.value(I));
2718
- z.includes(x) && f.set(x, I);
2723
+ P.includes(x) && f.set(x, I);
2719
2724
  }
2720
2725
  const X = D.map((I) => f.get(String(I))).filter(Boolean);
2721
2726
  return u.value = X, X;
@@ -2755,7 +2760,7 @@ function $a(e) {
2755
2760
  refresh: Y
2756
2761
  };
2757
2762
  }
2758
- function Oa(e) {
2763
+ function Ea(e) {
2759
2764
  let t = [];
2760
2765
  const n = $(() => {
2761
2766
  const v = e.mapOptions() === !0 && e.multiple() !== !0, d = e.modelValue() !== void 0 && (e.modelValue() !== null || v === !0) ? e.multiple() === !0 && Array.isArray(e.modelValue()) ? e.modelValue() : [e.modelValue()] : [];
@@ -2848,40 +2853,40 @@ function Oa(e) {
2848
2853
  onReset: m
2849
2854
  };
2850
2855
  }
2851
- const Ea = { class: "vc-select__control" }, Ca = {
2856
+ const Ca = { class: "vc-select__control" }, Ba = {
2852
2857
  key: 0,
2853
2858
  class: "vc-select__prepend"
2854
- }, Ba = { class: "vc-select__field" }, La = { class: "vc-select__field-inner" }, xa = { class: "vc-select__field-content" }, Ra = {
2859
+ }, La = { class: "vc-select__field" }, xa = { class: "vc-select__field-inner" }, Ra = { class: "vc-select__field-content" }, Ta = {
2855
2860
  key: 0,
2856
2861
  class: "vc-select__prepend-inner"
2857
- }, Ta = { class: "vc-select__field-main" }, Ma = {
2862
+ }, Ma = { class: "vc-select__field-main" }, Aa = {
2858
2863
  key: 0,
2859
2864
  class: "vc-select__prefix"
2860
- }, Aa = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-describedby", "aria-required", "aria-invalid"], Va = {
2865
+ }, Va = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-describedby", "aria-required", "aria-invalid"], Da = {
2861
2866
  key: 0,
2862
2867
  class: "vc-select__placeholder"
2863
- }, Da = {
2868
+ }, Na = {
2864
2869
  key: 1,
2865
2870
  class: "vc-select__selected"
2866
- }, Na = { class: "vc-select__multiple-item" }, Fa = {
2871
+ }, Fa = { class: "vc-select__multiple-item" }, Pa = {
2867
2872
  key: 0,
2868
2873
  class: "vc-select__loading"
2869
- }, za = { key: 1 }, Pa = ["aria-label", "onClick", "onKeydown"], qa = {
2874
+ }, za = { key: 1 }, qa = ["aria-label", "onClick", "onKeydown"], Ka = {
2870
2875
  key: 0,
2871
2876
  class: "vc-select__loading"
2872
- }, Ka = {
2877
+ }, Ua = {
2873
2878
  key: 1,
2874
2879
  class: "vc-select__suffix"
2875
- }, Ua = ["aria-label"], Wa = {
2880
+ }, Wa = ["aria-label"], ja = {
2876
2881
  key: 1,
2877
2882
  class: "vc-select__append-inner"
2878
- }, ja = {
2883
+ }, Ga = {
2879
2884
  key: 2,
2880
2885
  class: "vc-select__loading-icon"
2881
- }, Ga = ["aria-label"], Ha = { class: "vc-select__chevron" }, Ja = { class: "vc-select__hint-error" }, Ya = { key: 0 }, Xa = { key: 1 }, Za = {
2886
+ }, Ha = ["aria-label"], Ja = { class: "vc-select__chevron" }, Ya = { class: "vc-select__hint-error" }, Xa = { key: 0 }, Za = { key: 1 }, Qa = {
2882
2887
  key: 1,
2883
2888
  class: "vc-select__append"
2884
- }, Qa = /* @__PURE__ */ J({
2889
+ }, _a = /* @__PURE__ */ J({
2885
2890
  __name: "SelectTrigger",
2886
2891
  props: {
2887
2892
  isOpened: { type: Boolean },
@@ -2925,8 +2930,8 @@ const Ea = { class: "vc-select__control" }, Ca = {
2925
2930
  toggleHandler: e.toggleDropdown,
2926
2931
  isOpened: e.isOpened
2927
2932
  }, () => [
2928
- L("div", Ea, [
2929
- l.$slots.prepend ? (g(), h("div", Ca, [
2933
+ L("div", Ca, [
2934
+ l.$slots.prepend ? (g(), h("div", Ba, [
2930
2935
  B(l.$slots, "prepend")
2931
2936
  ])) : w("", !0),
2932
2937
  L("div", {
@@ -2935,14 +2940,14 @@ const Ea = { class: "vc-select__control" }, Ca = {
2935
2940
  "vc-select__field-wrapper--small": e.size === "small"
2936
2941
  }])
2937
2942
  }, [
2938
- L("div", Ba, [
2939
- L("div", La, [
2940
- L("div", xa, [
2941
- l.$slots["prepend-inner"] ? (g(), h("div", Ra, [
2943
+ L("div", La, [
2944
+ L("div", xa, [
2945
+ L("div", Ra, [
2946
+ l.$slots["prepend-inner"] ? (g(), h("div", Ta, [
2942
2947
  B(l.$slots, "prepend-inner")
2943
2948
  ])) : w("", !0),
2944
- L("div", Ta, [
2945
- e.prefix ? (g(), h("div", Ma, N(e.prefix), 1)) : w("", !0),
2949
+ L("div", Ma, [
2950
+ e.prefix ? (g(), h("div", Aa, N(e.prefix), 1)) : w("", !0),
2946
2951
  L("div", {
2947
2952
  "data-test-id": "dropdown-toggle",
2948
2953
  class: "vc-select__input",
@@ -2975,7 +2980,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
2975
2980
  onFocus: r[3] || (r[3] = (a) => l.$emit("focus")),
2976
2981
  onBlur: r[4] || (r[4] = (a) => l.$emit("blur"))
2977
2982
  }, [
2978
- e.hasValue ? e.selectedScope && e.selectedScope.length && e.hasValue ? (g(), h("div", Da, [
2983
+ e.hasValue ? e.selectedScope && e.selectedScope.length && e.hasValue ? (g(), h("div", Na, [
2979
2984
  (g(!0), h(Ie, null, _e(e.selectedScope, (a, u) => (g(), h("div", {
2980
2985
  key: u,
2981
2986
  class: "vc-select__selected-item"
@@ -2984,8 +2989,8 @@ const Ea = { class: "vc-select__control" }, Ca = {
2984
2989
  key: 0,
2985
2990
  ref_for: !0
2986
2991
  }, a), () => [
2987
- L("div", Na, [
2988
- e.loading ? (g(), h("span", Fa, N(i(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : (g(), h("span", za, N(e.getOptionLabel(a.opt)), 1)),
2992
+ L("div", Fa, [
2993
+ e.loading ? (g(), h("span", Pa, N(i(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : (g(), h("span", za, N(e.getOptionLabel(a.opt)), 1)),
2989
2994
  e.disabled ? w("", !0) : (g(), h("button", {
2990
2995
  key: 2,
2991
2996
  type: "button",
@@ -3000,10 +3005,10 @@ const Ea = { class: "vc-select__control" }, Ca = {
3000
3005
  icon: "lucide-x",
3001
3006
  size: "xs"
3002
3007
  })
3003
- ], 40, Pa))
3008
+ ], 40, qa))
3004
3009
  ])
3005
3010
  ]) : e.multiple ? w("", !0) : (g(), h(Ie, { key: 1 }, [
3006
- e.loading ? (g(), h("span", qa, N(i(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : B(l.$slots, "selected-item", oe({
3011
+ e.loading ? (g(), h("span", Ka, N(i(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : B(l.$slots, "selected-item", oe({
3007
3012
  key: 1,
3008
3013
  ref_for: !0
3009
3014
  }, a), () => [
@@ -3011,15 +3016,15 @@ const Ea = { class: "vc-select__control" }, Ca = {
3011
3016
  ])
3012
3017
  ], 64))
3013
3018
  ]))), 128))
3014
- ])) : w("", !0) : (g(), h("div", Va, [
3019
+ ])) : w("", !0) : (g(), h("div", Da, [
3015
3020
  e.placeholder ? (g(), h(Ie, { key: 0 }, [
3016
3021
  te(N(e.placeholder), 1)
3017
3022
  ], 64)) : (g(), h(Ie, { key: 1 }, [
3018
3023
  te(N(i(n)("COMPONENTS.MOLECULES.VC_SELECT.CLICK_TO_SELECT")), 1)
3019
3024
  ], 64))
3020
3025
  ]))
3021
- ], 40, Aa),
3022
- e.suffix ? (g(), h("div", Ka, N(e.suffix), 1)) : w("", !0),
3026
+ ], 40, Va),
3027
+ e.suffix ? (g(), h("div", Ua, N(e.suffix), 1)) : w("", !0),
3023
3028
  e.clearable && e.hasValue && !e.disabled ? (g(), h("div", {
3024
3029
  key: 2,
3025
3030
  class: "vc-select__clear",
@@ -3036,12 +3041,12 @@ const Ea = { class: "vc-select__control" }, Ca = {
3036
3041
  size: "xs",
3037
3042
  icon: "lucide-x"
3038
3043
  })
3039
- ], 40, Ua)) : w("", !0)
3044
+ ], 40, Wa)) : w("", !0)
3040
3045
  ]),
3041
- l.$slots["append-inner"] ? (g(), h("div", Wa, [
3046
+ l.$slots["append-inner"] ? (g(), h("div", ja, [
3042
3047
  B(l.$slots, "append-inner")
3043
3048
  ])) : w("", !0),
3044
- e.loading || e.listLoading || e.defaultOptionLoading ? (g(), h("div", ja, [
3049
+ e.loading || e.listLoading || e.defaultOptionLoading ? (g(), h("div", Ga, [
3045
3050
  T(i(H), {
3046
3051
  icon: "lucide-loader-2",
3047
3052
  class: "tw-animate-spin",
@@ -3072,23 +3077,23 @@ const Ea = { class: "vc-select__control" }, Ca = {
3072
3077
  ), ["space"]))
3073
3078
  ]
3074
3079
  }, [
3075
- L("div", Ha, [
3080
+ L("div", Ja, [
3076
3081
  T(i(H), {
3077
3082
  size: "s",
3078
3083
  icon: "lucide-chevron-down"
3079
3084
  })
3080
3085
  ])
3081
- ], 40, Ga))
3086
+ ], 40, Ha))
3082
3087
  ])
3083
3088
  ])
3084
3089
  ]),
3085
- L("div", Ja, [
3090
+ L("div", Ya, [
3086
3091
  T(we, {
3087
3092
  name: "slide-up",
3088
3093
  mode: "out-in"
3089
3094
  }, {
3090
3095
  default: C(() => [
3091
- e.error && e.errorMessage ? (g(), h("div", Ya, [
3096
+ e.error && e.errorMessage ? (g(), h("div", Xa, [
3092
3097
  B(l.$slots, "error", {}, () => [
3093
3098
  T(i(ce), {
3094
3099
  id: e.errorId,
@@ -3101,7 +3106,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3101
3106
  _: 1
3102
3107
  }, 8, ["id"])
3103
3108
  ])
3104
- ])) : (g(), h("div", Xa, [
3109
+ ])) : (g(), h("div", Za, [
3105
3110
  B(l.$slots, "hint", {}, () => [
3106
3111
  e.hint ? (g(), q(i(ce), {
3107
3112
  key: 0,
@@ -3120,23 +3125,23 @@ const Ea = { class: "vc-select__control" }, Ca = {
3120
3125
  })
3121
3126
  ])
3122
3127
  ], 2),
3123
- l.$slots.append ? (g(), h("div", Za, [
3128
+ l.$slots.append ? (g(), h("div", Qa, [
3124
3129
  B(l.$slots, "append")
3125
3130
  ])) : w("", !0)
3126
3131
  ])
3127
3132
  ])
3128
3133
  ], 512));
3129
3134
  }
3130
- }), _a = ["id", "aria-label"], el = ["aria-label"], tl = ["aria-selected", "data-index", "onClick", "onKeydown"], nl = {
3135
+ }), el = ["id", "aria-label"], tl = ["aria-label"], nl = ["aria-selected", "data-index", "onClick", "onKeydown"], ol = {
3131
3136
  key: 0,
3132
3137
  class: "vc-select__check-icon"
3133
- }, ol = {
3138
+ }, al = {
3134
3139
  key: 0,
3135
3140
  class: "vc-select__list-loading-indicator"
3136
- }, al = { class: "tw-ml-1" }, ll = {
3141
+ }, ll = { class: "tw-ml-1" }, il = {
3137
3142
  key: 1,
3138
3143
  class: "vc-select__no-options"
3139
- }, il = { class: "vc-select__no-options-text" }, rl = /* @__PURE__ */ J({
3144
+ }, rl = { class: "vc-select__no-options-text" }, sl = /* @__PURE__ */ J({
3140
3145
  __name: "SelectDropdown",
3141
3146
  props: {
3142
3147
  isOpened: { type: Boolean },
@@ -3178,7 +3183,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3178
3183
  searchInputRef: s,
3179
3184
  viewportRef: v,
3180
3185
  loadMoreRef: m
3181
- }), (c, y) => (g(), q(kt, { to: i(a) }, [
3186
+ }), (c, y) => (g(), q(It, { to: i(a) }, [
3182
3187
  T(we, { name: "select-dropdown" }, {
3183
3188
  default: C(() => [
3184
3189
  e.isOpened ? et((g(), h("div", {
@@ -3208,8 +3213,8 @@ const Ea = { class: "vc-select__control" }, Ca = {
3208
3213
  y[2] || (y[2] = _(Q(() => {
3209
3214
  }, ["stop"]), ["enter"]))
3210
3215
  ]
3211
- }, null, 40, el)) : w("", !0),
3212
- T(i(Bo), {
3216
+ }, null, 40, tl)) : w("", !0),
3217
+ T(i(Co), {
3213
3218
  ref_key: "scrollContainerRef",
3214
3219
  ref: f,
3215
3220
  class: "vc-select__scroll-container"
@@ -3232,24 +3237,24 @@ const Ea = { class: "vc-select__control" }, Ca = {
3232
3237
  B(c.$slots, "option", oe({ ref_for: !0 }, b), () => [
3233
3238
  te(N(b.label), 1)
3234
3239
  ]),
3235
- b.selected ? (g(), h("span", nl, [
3240
+ b.selected ? (g(), h("span", ol, [
3236
3241
  T(i(H), {
3237
3242
  icon: "lucide-check",
3238
3243
  size: "xs"
3239
3244
  })
3240
3245
  ])) : w("", !0)
3241
- ], 42, tl))), 128)),
3242
- e.listLoading ? (g(), h("div", ol, [
3246
+ ], 42, nl))), 128)),
3247
+ e.listLoading ? (g(), h("div", al, [
3243
3248
  T(i(H), {
3244
3249
  icon: "lucide-loader-2",
3245
3250
  class: "tw-animate-spin",
3246
3251
  size: "m"
3247
3252
  }),
3248
- L("span", al, N(e.optionsListLength > 0 ? i(r)("COMPONENTS.MOLECULES.VC_SELECT.LOADING_MORE") : i(r)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)
3253
+ L("span", ll, N(e.optionsListLength > 0 ? i(r)("COMPONENTS.MOLECULES.VC_SELECT.LOADING_MORE") : i(r)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)
3249
3254
  ])) : w("", !0),
3250
- !e.listLoading && !e.optionsListLength ? (g(), h("div", ll, [
3255
+ !e.listLoading && !e.optionsListLength ? (g(), h("div", il, [
3251
3256
  B(c.$slots, "no-options", {}, () => [
3252
- L("span", il, N(i(r)("COMPONENTS.MOLECULES.VC_SELECT.NO_OPTIONS")), 1)
3257
+ L("span", rl, N(i(r)("COMPONENTS.MOLECULES.VC_SELECT.NO_OPTIONS")), 1)
3253
3258
  ])
3254
3259
  ])) : w("", !0),
3255
3260
  e.hasNextPage && !e.listLoading ? (g(), h("span", {
@@ -3261,15 +3266,15 @@ const Ea = { class: "vc-select__control" }, Ca = {
3261
3266
  ]),
3262
3267
  _: 3
3263
3268
  }, 512)
3264
- ], 44, _a)), [
3265
- [i(On), [() => l("clickOutside"), { ignore: [e.dropdownToggleRef] }]]
3269
+ ], 44, el)), [
3270
+ [i(En), [() => l("clickOutside"), { ignore: [e.dropdownToggleRef] }]]
3266
3271
  ]) : w("", !0)
3267
3272
  ]),
3268
3273
  _: 3
3269
3274
  })
3270
3275
  ], 8, ["to"]));
3271
3276
  }
3272
- }), sl = ["innerHTML"], ul = { class: "vc-select__field-container" }, cl = /* @__PURE__ */ J({
3277
+ }), ul = ["innerHTML"], cl = { class: "vc-select__field-container" }, dl = /* @__PURE__ */ J({
3273
3278
  inheritAttrs: !1,
3274
3279
  __name: "vc-select",
3275
3280
  props: {
@@ -3316,10 +3321,10 @@ const Ea = { class: "vc-select__control" }, Ca = {
3316
3321
  resolvedName: y,
3317
3322
  ariaRequired: b,
3318
3323
  ariaDescribedBy: E
3319
- } = qe(n), p = $(() => `${s.value}-listbox`), k = S(null), M = S(null), { selectRootRef: F, isSelectVisible: G, ensureVisibility: Y } = Sa(), { getOptionValue: D, getOptionLabel: V, getOption: z, getEmittingOptionValue: U, fieldValueIsFilled: X } = Ia({
3324
+ } = qe(n), p = $(() => `${s.value}-listbox`), k = S(null), M = S(null), { selectRootRef: F, isSelectVisible: G, ensureVisibility: Y } = wa(), { getOptionValue: D, getOptionLabel: V, getOption: P, getEmittingOptionValue: U, fieldValueIsFilled: X } = Sa({
3320
3325
  optionValue: () => n.optionValue,
3321
3326
  optionLabel: () => n.optionLabel
3322
- }), { isOpened: I, isFocused: x, dropdownToggleRef: K, dropdownRef: ne, popper: Ae, dropdownStyle: O, toggleDropdown: P } = wa({
3327
+ }), { isOpened: I, isFocused: x, dropdownToggleRef: K, dropdownRef: ne, popper: Ae, dropdownStyle: O, toggleDropdown: z } = $a({
3323
3328
  placement: n.placement,
3324
3329
  outline: () => n.outline,
3325
3330
  isSelectVisible: G,
@@ -3332,7 +3337,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3332
3337
  }), He(() => {
3333
3338
  ne.value = M.value?.dropdownElRef ?? null;
3334
3339
  });
3335
- const A = $a({
3340
+ const A = Oa({
3336
3341
  options: () => n.options,
3337
3342
  getOptionValue: D,
3338
3343
  getOptionLabel: V,
@@ -3341,7 +3346,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3341
3346
  emit: {
3342
3347
  search: (R) => r("search", R)
3343
3348
  }
3344
- }), { selectedScope: qt, hasValue: Kt, optionScope: Ee, removeAtIndex: Ut, onReset: Wt } = Oa({
3349
+ }), { selectedScope: qt, hasValue: Kt, optionScope: Ee, removeAtIndex: Ut, onReset: Wt } = Ea({
3345
3350
  modelValue: () => n.modelValue,
3346
3351
  multiple: () => n.multiple,
3347
3352
  emitValue: () => n.emitValue ?? !0,
@@ -3351,7 +3356,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3351
3356
  cachedItems: A.cachedItems,
3352
3357
  getOptionValue: D,
3353
3358
  getOptionLabel: V,
3354
- getOption: z,
3359
+ getOption: P,
3355
3360
  fieldValueIsFilled: X,
3356
3361
  isOpened: I,
3357
3362
  popperUpdate: () => Ae.update(),
@@ -3360,14 +3365,14 @@ const Ea = { class: "vc-select__control" }, Ca = {
3360
3365
  close: () => r("close")
3361
3366
  }
3362
3367
  }), jt = $(() => M.value?.loadMoreRef ?? null), Gt = $(() => M.value?.viewportRef ?? null);
3363
- bn(
3368
+ hn(
3364
3369
  jt,
3365
3370
  ([{ isIntersecting: R }]) => {
3366
3371
  R && A.hasMore.value && A.loadMore();
3367
3372
  },
3368
3373
  { threshold: 1, root: Gt }
3369
3374
  );
3370
- const Ue = ka({
3375
+ const Ue = Ia({
3371
3376
  onEnter: (R) => {
3372
3377
  const Z = parseInt(R.getAttribute("data-index") || "0", 10);
3373
3378
  Ee.value && Ee.value[Z] && Ee.value[Z].toggleOption(Ee.value[Z].opt);
@@ -3461,14 +3466,14 @@ const Ea = { class: "vc-select__control" }, Ca = {
3461
3466
  name: "tooltip",
3462
3467
  fn: C(() => [
3463
3468
  L("span", {
3464
- innerHTML: i(En).sanitize(e.tooltip)
3465
- }, null, 8, sl)
3469
+ innerHTML: i(Cn).sanitize(e.tooltip)
3470
+ }, null, 8, ul)
3466
3471
  ]),
3467
3472
  key: "0"
3468
3473
  } : void 0
3469
3474
  ]), 1032, ["id", "required", "multilanguage", "current-language", "error"])) : w("", !0),
3470
- L("div", ul, [
3471
- T(Qa, {
3475
+ L("div", cl, [
3476
+ T(_a, {
3472
3477
  ref_key: "selectTriggerRef",
3473
3478
  ref: k,
3474
3479
  "is-opened": i(I),
@@ -3494,7 +3499,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3494
3499
  "aria-required": i(b),
3495
3500
  "error-id": i(m),
3496
3501
  "hint-id": i(v),
3497
- "toggle-dropdown": i(P),
3502
+ "toggle-dropdown": i(z),
3498
3503
  "get-option-label": i(V),
3499
3504
  "get-emitting-option-value": i(U),
3500
3505
  onFocus: Z[0] || (Z[0] = (le) => x.value = !0),
@@ -3559,7 +3564,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3559
3564
  key: "7"
3560
3565
  } : void 0
3561
3566
  ]), 1032, ["is-opened", "has-value", "selected-scope", "multiple", "loading", "disabled", "clearable", "placeholder", "prefix", "suffix", "size", "error", "error-message", "hint", "list-loading", "default-option-loading", "listbox-id", "label-id", "label", "aria-described-by", "aria-required", "error-id", "hint-id", "toggle-dropdown", "get-option-label", "get-emitting-option-value", "onReset", "onRemoveAtIndex"]),
3562
- T(rl, oe({
3567
+ T(sl, oe({
3563
3568
  ref_key: "selectDropdownRef",
3564
3569
  ref: M,
3565
3570
  "is-opened": i(I),
@@ -3593,10 +3598,10 @@ const Ea = { class: "vc-select__control" }, Ca = {
3593
3598
  ])
3594
3599
  ], 16));
3595
3600
  }
3596
- }), dl = {
3601
+ }), fl = {
3597
3602
  key: 0,
3598
3603
  class: "vc-input-dropdown vc-input-dropdown--skeleton"
3599
- }, fl = { class: "tw-flex tw-items-center" }, gl = ["aria-label", "aria-expanded", "onClick", "onKeydown"], vl = /* @__PURE__ */ J({
3604
+ }, gl = { class: "tw-flex tw-items-center" }, vl = ["aria-label", "aria-expanded", "onClick", "onKeydown"], pl = /* @__PURE__ */ J({
3600
3605
  __name: "vc-input-dropdown",
3601
3606
  props: {
3602
3607
  modelValue: {},
@@ -3629,7 +3634,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3629
3634
  emits: ["update:model-value", "update:option", "change", "blur"],
3630
3635
  setup(e) {
3631
3636
  const t = be();
3632
- return (n, o) => i(t) ? (g(), h("div", dl, [
3637
+ return (n, o) => i(t) ? (g(), h("div", fl, [
3633
3638
  e.label ? (g(), q(i(ae), {
3634
3639
  key: 0,
3635
3640
  variant: "block",
@@ -3641,7 +3646,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3641
3646
  width: "100%",
3642
3647
  height: 36
3643
3648
  })
3644
- ])) : (g(), q(i(cl), {
3649
+ ])) : (g(), q(i(dl), {
3645
3650
  key: 1,
3646
3651
  class: "vc-input-dropdown",
3647
3652
  options: e.options,
@@ -3662,7 +3667,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3662
3667
  B(n.$slots, "option", Le(xe(l)))
3663
3668
  ]),
3664
3669
  control: C(({ toggleHandler: l, isOpened: r }) => [
3665
- T(i(ha), {
3670
+ T(i(ka), {
3666
3671
  placeholder: e.placeholder,
3667
3672
  hint: e.hint,
3668
3673
  clearable: e.clearable,
@@ -3682,7 +3687,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3682
3687
  onBlur: o[1] || (o[1] = (a) => n.$emit("blur", a))
3683
3688
  }, pe({
3684
3689
  "append-inner": C(() => [
3685
- L("div", fl, [
3690
+ L("div", gl, [
3686
3691
  B(n.$slots, "button", { toggleHandler: l }, () => [
3687
3692
  e.options && e.options.length ? (g(), h("button", {
3688
3693
  key: 0,
@@ -3697,9 +3702,9 @@ const Ea = { class: "vc-select__control" }, Ca = {
3697
3702
  _(Q(l, ["stop", "prevent"]), ["enter"]),
3698
3703
  _(Q(l, ["stop", "prevent"]), ["space"])
3699
3704
  ]
3700
- }, N(i(e.option)), 41, gl)) : w("", !0)
3705
+ }, N(i(e.option)), 41, vl)) : w("", !0)
3701
3706
  ]),
3702
- e.options && e.options.length ? (g(), q(i(ro), {
3707
+ e.options && e.options.length ? (g(), q(i(so), {
3703
3708
  key: 0,
3704
3709
  icon: r ? "lucide-chevron-up" : "lucide-chevron-down",
3705
3710
  "icon-size": "s",
@@ -3746,10 +3751,10 @@ const Ea = { class: "vc-select__control" }, Ca = {
3746
3751
  _: 3
3747
3752
  }, 8, ["options", "option-label", "option-value", "searchable", "debounce", "disabled", "label", "required", "model-value", "tooltip", "multilanguage", "current-language"]));
3748
3753
  }
3749
- }), pl = {
3754
+ }), ml = {
3750
3755
  key: 0,
3751
3756
  class: "vc-input-currency vc-input-currency--skeleton"
3752
- }, ml = ["disabled", "placeholder", "aria-label"], mi = /* @__PURE__ */ J({
3757
+ }, yl = ["disabled", "placeholder", "aria-label"], yi = /* @__PURE__ */ J({
3753
3758
  __name: "vc-input-currency",
3754
3759
  props: {
3755
3760
  modelValue: {},
@@ -3766,7 +3771,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3766
3771
  options: {},
3767
3772
  optionValue: {},
3768
3773
  optionLabel: {},
3769
- currencyDisplay: { default: Sn.hidden },
3774
+ currencyDisplay: { default: wn.hidden },
3770
3775
  precision: { default: 2 },
3771
3776
  searchable: { type: Boolean, default: !1 },
3772
3777
  label: {},
@@ -3779,7 +3784,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3779
3784
  },
3780
3785
  emits: ["update:model-value", "update:option", "change", "blur"],
3781
3786
  setup(e, { emit: t }) {
3782
- const n = e, o = t, l = be(), { inputRef: r, setOptions: a, numberValue: u, setValue: s } = wn(
3787
+ const n = e, o = t, l = be(), { inputRef: r, setOptions: a, numberValue: u, setValue: s } = $n(
3783
3788
  {
3784
3789
  locale: navigator.language,
3785
3790
  currency: n.option || "USD",
@@ -3830,7 +3835,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3830
3835
  const y = c.clipboardData?.getData("text/plain");
3831
3836
  typeof y < "u" && parseInt(y) < 0 && c.preventDefault();
3832
3837
  }
3833
- return (c, y) => i(l) ? (g(), h("div", pl, [
3838
+ return (c, y) => i(l) ? (g(), h("div", ml, [
3834
3839
  e.label ? (g(), q(i(ae), {
3835
3840
  key: 0,
3836
3841
  variant: "block",
@@ -3842,7 +3847,7 @@ const Ea = { class: "vc-select__control" }, Ca = {
3842
3847
  width: "100%",
3843
3848
  height: 36
3844
3849
  })
3845
- ])) : (g(), q(i(vl), {
3850
+ ])) : (g(), q(i(pl), {
3846
3851
  key: 1,
3847
3852
  class: "vc-input-currency",
3848
3853
  options: e.options,
@@ -3885,31 +3890,31 @@ const Ea = { class: "vc-select__control" }, Ca = {
3885
3890
  onBlur: m,
3886
3891
  onKeydown: v,
3887
3892
  onPaste: d
3888
- }, null, 40, ml)
3893
+ }, null, 40, yl)
3889
3894
  ]),
3890
3895
  _: 1
3891
3896
  }, 8, ["options", "option-label", "option-value", "searchable", "debounce", "disabled", "label", "required", "option", "model-value", "tooltip", "placeholder", "hint", "clearable", "prefix", "suffix", "name", "loading", "autofocus", "error", "error-message", "maxlength"]));
3892
3897
  }
3893
- }), Pt = Symbol("VcAppBarState"), yl = {
3898
+ }), zt = Symbol("VcAppBarState"), bl = {
3894
3899
  activeWidgetId: S(null),
3895
3900
  activeMobileActionId: S(null)
3896
3901
  };
3897
- function yi() {
3902
+ function bi() {
3898
3903
  const e = {
3899
3904
  activeWidgetId: S(null),
3900
3905
  activeMobileActionId: S(null)
3901
3906
  };
3902
- return bt(Pt, e), e;
3907
+ return bt(zt, e), e;
3903
3908
  }
3904
- function bi() {
3905
- return W(Pt, yl);
3909
+ function hi() {
3910
+ return W(zt, bl);
3906
3911
  }
3907
- const hi = Symbol("TableContext"), bl = Symbol("ColumnCollector"), ki = Symbol("FillerWidth"), Ii = Symbol("IsColumnReordering"), Si = Symbol("FilterContext"), wi = (e, t) => {
3912
+ const ki = Symbol("TableContext"), hl = Symbol("ColumnCollector"), Ii = Symbol("FillerWidth"), Si = Symbol("IsColumnReordering"), wi = Symbol("FilterContext"), $i = (e, t) => {
3908
3913
  const n = e.__vccOpts || e;
3909
3914
  for (const [o, l] of t)
3910
3915
  n[o] = l;
3911
3916
  return n;
3912
- }, $i = J({
3917
+ }, Oi = J({
3913
3918
  name: "VcColumn",
3914
3919
  inheritAttrs: !1,
3915
3920
  props: {
@@ -4087,7 +4092,7 @@ const hi = Symbol("TableContext"), bl = Symbol("ColumnCollector"), ki = Symbol("
4087
4092
  }
4088
4093
  },
4089
4094
  setup(e, { slots: t }) {
4090
- const n = W(bl, null), o = Fe();
4095
+ const n = W(hl, null), o = Fe();
4091
4096
  return tt(() => {
4092
4097
  n && o && n.add({
4093
4098
  instance: o,
@@ -4099,7 +4104,7 @@ const hi = Symbol("TableContext"), bl = Symbol("ColumnCollector"), ki = Symbol("
4099
4104
  }), () => null;
4100
4105
  }
4101
4106
  }), ke = Je(/* @__PURE__ */ new Map());
4102
- function Oi() {
4107
+ function Ei() {
4103
4108
  return {
4104
4109
  register: (a) => {
4105
4110
  ke.set(a.type, a);
@@ -4113,7 +4118,7 @@ function Oi() {
4113
4118
  }
4114
4119
  };
4115
4120
  }
4116
- const Ei = J({
4121
+ const Ci = J({
4117
4122
  name: "SlotProxy",
4118
4123
  props: {
4119
4124
  slotFn: { type: Function, required: !0 },
@@ -4122,105 +4127,105 @@ const Ei = J({
4122
4127
  setup(e) {
4123
4128
  return () => e.slotFn(e.scope);
4124
4129
  }
4125
- }), Ci = (e, t) => {
4130
+ }), Bi = (e, t) => {
4126
4131
  const n = t.arg ? parseInt(t.arg, 10) : 9e3, o = typeof t.value == "object" ? t.value : { blur: !0 };
4127
4132
  t.value ? (e.classList.add("v-loading"), o.size && e.setAttribute("data-loading-size", o.size), o.color && e.style.setProperty("--v-loading-spinner-color", o.color), o.blur === !1 && e.classList.add("v-loading--no-blur"), o.fullscreen && e.classList.add("v-loading--fullscreen"), e.style.setProperty("--v-loading-z-index", `${n}`)) : (e.classList.remove("v-loading", "v-loading--no-blur", "v-loading--fullscreen"), e.removeAttribute("data-loading-size"), e.style.removeProperty("--v-loading-z-index"), e.style.removeProperty("--v-loading-spinner-color"));
4128
4133
  };
4129
4134
  export {
4130
- Ul as $,
4135
+ Wl as $,
4131
4136
  Ze as A,
4132
- ao as B,
4133
- Zl as C,
4137
+ lo as B,
4138
+ Ql as C,
4134
4139
  Xe as D,
4135
- Vn as E,
4136
- Zn as F,
4137
- ii as G,
4138
- li as H,
4139
- Bn as I,
4140
+ Dn as E,
4141
+ Qn as F,
4142
+ ri as G,
4143
+ ii as H,
4144
+ Ln as I,
4140
4145
  Vt as J,
4141
- di as K,
4142
- Yn as L,
4143
- Do as M,
4144
- Qn as N,
4145
- _n as O,
4146
- eo as P,
4146
+ fi as K,
4147
+ Xn as L,
4148
+ No as M,
4149
+ _n as N,
4150
+ eo as O,
4151
+ to as P,
4147
4152
  zl as Q,
4148
4153
  he as R,
4149
- fo as S,
4154
+ Bo as S,
4150
4155
  ie as T,
4151
- Pl as U,
4156
+ ql as U,
4152
4157
  ce as V,
4153
- Fl as W,
4154
- Nl as X,
4155
- Dl as Y,
4156
- ci as Z,
4157
- ro as _,
4158
- oa as a,
4159
- fi as a0,
4160
- Pn as a1,
4158
+ Pl as W,
4159
+ Fl as X,
4160
+ Nl as Y,
4161
+ di as Z,
4162
+ so as _,
4163
+ aa as a,
4164
+ gi as a0,
4165
+ qn as a1,
4161
4166
  zn as a2,
4162
- qn as a3,
4163
- Rn as a4,
4164
- Mn as a5,
4165
- Kl as a6,
4166
- Fn as a7,
4167
- Gl as a8,
4168
- Jl as a9,
4169
- ki as aA,
4170
- Ii as aB,
4171
- Oi as aC,
4172
- Ei as aD,
4173
- bl as aE,
4174
- Si as aF,
4175
- Dn as aG,
4176
- Ln as aa,
4177
- Tn as ab,
4178
- Nn as ac,
4167
+ Kn as a3,
4168
+ Tn as a4,
4169
+ An as a5,
4170
+ Ul as a6,
4171
+ Pn as a7,
4172
+ Hl as a8,
4173
+ Yl as a9,
4174
+ Ii as aA,
4175
+ Si as aB,
4176
+ Ei as aC,
4177
+ Ci as aD,
4178
+ hl as aE,
4179
+ wi as aF,
4180
+ Nn as aG,
4181
+ xn as aa,
4182
+ Mn as ab,
4183
+ Fn as ac,
4179
4184
  gt as ad,
4180
- si as ae,
4181
- Yl as af,
4182
- gi as ag,
4183
- ei as ah,
4184
- ri as ai,
4185
- oi as aj,
4186
- _l as ak,
4187
- ai as al,
4188
- Hl as am,
4189
- Wl as an,
4190
- jl as ao,
4191
- no as ap,
4192
- Xl as aq,
4193
- vi as ar,
4194
- ti as as,
4195
- ql as at,
4196
- Ql as au,
4185
+ ui as ae,
4186
+ Xl as af,
4187
+ vi as ag,
4188
+ ni as ah,
4189
+ si as ai,
4190
+ ai as aj,
4191
+ ti as ak,
4192
+ li as al,
4193
+ Jl as am,
4194
+ jl as an,
4195
+ Gl as ao,
4196
+ oo as ap,
4197
+ Zl as aq,
4198
+ pi as ar,
4199
+ oi as as,
4200
+ Kl as at,
4201
+ _l as au,
4197
4202
  Ft as av,
4198
- pi as aw,
4199
- ka as ax,
4200
- uo as ay,
4201
- hi as az,
4202
- $i as b,
4203
- jo as c,
4204
- ha as d,
4205
- mi as e,
4206
- vl as f,
4203
+ mi as aw,
4204
+ Ia as ax,
4205
+ co as ay,
4206
+ ki as az,
4207
+ Oi as b,
4208
+ Go as c,
4209
+ ka as d,
4210
+ yi as e,
4211
+ pl as f,
4207
4212
  Ke as g,
4208
- Bo as h,
4209
- cl as i,
4213
+ Co as h,
4214
+ dl as i,
4210
4215
  ae as j,
4211
- ho as k,
4212
- Ci as l,
4216
+ ko as k,
4217
+ Bi as l,
4213
4218
  be as m,
4214
- so as n,
4219
+ uo as n,
4215
4220
  qe as o,
4216
- yi as p,
4217
- co as q,
4221
+ bi as p,
4222
+ fo as q,
4218
4223
  At as r,
4219
- wi as s,
4220
- ui as t,
4221
- bi as u,
4222
- ni as v,
4223
- An as w,
4224
+ $i as s,
4225
+ ci as t,
4226
+ hi as u,
4227
+ ei as v,
4228
+ Vn as w,
4224
4229
  lt as x,
4225
4230
  re as y,
4226
4231
  ye as z