@vc-shell/framework 2.5.0-pr351.8e074ad → 2.5.0-pr354.da09837

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 (59) hide show
  1. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-tWGSlvvu.js → VcScheduler.vue_vue_type_script_setup_true_lang-RHeDlcVB.js} +5554 -5656
  2. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-RHeDlcVB.js.map +1 -0
  3. package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-BFmpC0MN.js → VcScheduler.vue_vue_type_style_index_0_lang-BQ09AUgy.js} +440 -448
  4. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-BQ09AUgy.js.map +1 -0
  5. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-f8MTDeS0.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-C0IjvNtI.js} +256 -269
  6. package/dist/chunks/dashboard-feed-row.vue_vue_type_script_setup_true_lang-C0IjvNtI.js.map +1 -0
  7. package/dist/core/blade-navigation/utils/navigateToMainRoute.d.ts +2 -12
  8. package/dist/core/blade-navigation/utils/navigateToMainRoute.d.ts.map +1 -1
  9. package/dist/core/blade-navigation/utils/restoreFromUrl.d.ts.map +1 -1
  10. package/dist/core/composables/useAssets/index.d.ts.map +1 -1
  11. package/dist/core/composables/useAssetsManager/index.d.ts.map +1 -1
  12. package/dist/core/composables/useBladeNavigationAdapter/index.d.ts.map +1 -1
  13. package/dist/core/composables/useLatestRequest/index.d.ts +8 -25
  14. package/dist/core/composables/useLatestRequest/index.d.ts.map +1 -1
  15. package/dist/core/composables/useModificationTracker/index.d.ts +0 -11
  16. package/dist/core/composables/useModificationTracker/index.d.ts.map +1 -1
  17. package/dist/core/composables/usePopup/index.d.ts.map +1 -1
  18. package/dist/core/interceptors/index.d.ts.map +1 -1
  19. package/dist/core/plugins/signalR/index.d.ts.map +1 -1
  20. package/dist/core/utilities/focus.d.ts +0 -14
  21. package/dist/core/utilities/focus.d.ts.map +1 -1
  22. package/dist/dashboard/index.js +1 -1
  23. package/dist/framework.js +1358 -1337
  24. package/dist/framework.js.map +1 -1
  25. package/dist/locales/de.js +0 -5
  26. package/dist/locales/en.js +0 -5
  27. package/dist/locales/en.json +0 -5
  28. package/dist/locales/types.d.ts +0 -5
  29. package/dist/shell/dashboard/draggable-dashboard/DraggableDashboard.vue.d.ts +2 -5
  30. package/dist/shell/dashboard/draggable-dashboard/DraggableDashboard.vue.d.ts.map +1 -1
  31. package/dist/shell/dashboard/draggable-dashboard/GridstackDashboard.vue.d.ts.map +1 -1
  32. package/dist/shell/dashboard/draggable-dashboard/composables/useGridstack.d.ts +0 -2
  33. package/dist/shell/dashboard/draggable-dashboard/composables/useGridstack.d.ts.map +1 -1
  34. package/dist/tsconfig.tsbuildinfo +1 -1
  35. package/dist/ui/components/atoms/vc-button/vc-button.vue.d.ts.map +1 -1
  36. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts.map +1 -1
  37. package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts +0 -9
  38. package/dist/ui/components/molecules/vc-popover/vc-popover.vue.d.ts.map +1 -1
  39. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue.d.ts +0 -2
  40. package/dist/ui/components/organisms/vc-app/_internal/app-bar/components/AppHubPopover.vue.d.ts.map +1 -1
  41. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
  42. package/dist/ui/components/organisms/vc-auth-layout/vc-auth-layout.vue.d.ts.map +1 -1
  43. package/dist/ui/components/organisms/vc-blade/_internal/BladeHeader.vue.d.ts.map +1 -1
  44. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts +3 -3
  45. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  46. package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +3 -3
  47. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  48. package/dist/ui/components/organisms/vc-scheduler/VcScheduler.vue.d.ts +1 -1
  49. package/dist/ui/components/organisms/vc-scheduler/VcScheduler.vue.d.ts.map +1 -1
  50. package/dist/ui/components/organisms/vc-scheduler/_internal/editor/SchedulerEventEditor.vue.d.ts.map +1 -1
  51. package/dist/ui/index.js +2 -2
  52. package/package.json +4 -4
  53. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-tWGSlvvu.js.map +0 -1
  54. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-BFmpC0MN.js.map +0 -1
  55. package/dist/chunks/dashboard-feed-row.vue_vue_type_script_setup_true_lang-f8MTDeS0.js.map +0 -1
  56. package/dist/core/composables/useAssetsManager/uploadAssets.d.ts +0 -37
  57. package/dist/core/composables/useAssetsManager/uploadAssets.d.ts.map +0 -1
  58. package/dist/core/composables/useDynamicProperties/resolveControlKind.d.ts +0 -23
  59. package/dist/core/composables/useDynamicProperties/resolveControlKind.d.ts.map +0 -1
@@ -1,20 +1,20 @@
1
- import { mergeProps as ne, computed as $, toValue as ge, inject as Y, useId as an, ref as S, onBeforeUnmount as lt, reactive as Ye, provide as $t, getCurrentScope as ln, onScopeDispose as on, getCurrentInstance as qe, onErrorCaptured as rn, nextTick as he, defineComponent as V, watch as H, unref as r, openBlock as v, createElementBlock as y, normalizeClass as j, createBlock as N, createCommentVNode as w, renderSlot as C, createElementVNode as L, toDisplayString as T, Fragment as we, renderList as ot, normalizeStyle as Me, resolveDynamicComponent as it, withCtx as O, withKeys as Z, withModifiers as G, createVNode as x, watchEffect as Qe, shallowReactive as _e, markRaw as et, createSlots as ie, createTextVNode as Q, Transition as Ae, withDirectives as rt, vModelText as sn, useAttrs as wt, vModelDynamic as un, onMounted as Ue, onUnmounted as Ot, Teleport as cn, normalizeProps as xe, guardReactiveProps as Te } from "vue";
1
+ import { mergeProps as ne, computed as $, toValue as ge, inject as G, useId as an, ref as S, onBeforeUnmount as lt, reactive as Ye, provide as $t, getCurrentScope as ln, onScopeDispose as on, getCurrentInstance as qe, onErrorCaptured as rn, nextTick as he, defineComponent as V, watch as Y, unref as r, openBlock as v, createElementBlock as b, normalizeClass as j, createBlock as N, createCommentVNode as w, renderSlot as C, createElementVNode as L, toDisplayString as T, Fragment as we, renderList as ot, normalizeStyle as Re, resolveDynamicComponent as it, withCtx as O, withKeys as Z, withModifiers as H, createVNode as x, watchEffect as Qe, shallowReactive as _e, markRaw as et, createSlots as ie, createTextVNode as Q, Transition as Ae, withDirectives as rt, vModelText as sn, useAttrs as wt, vModelDynamic as un, onMounted as Ue, onUnmounted as Ot, Teleport as cn, normalizeProps as xe, guardReactiveProps as Te } from "vue";
2
2
  import { c as de, ai as dn, O as fn, v as vn, r as gn, o as mn, I as pn, q as bn, p as yn, B as Et, b as hn, i as kn, _ as U, T as Lt, a as Bt, V as In, w as Sn, u as $n } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-JB7OKRk6.js";
3
3
  import { defineRule as Oe, Field as wn } from "vee-validate";
4
4
  import { a as bt } from "./vendor-vee-validate-rules-4oWUZPpG.js";
5
- import { a as Ct, s as On, c as En, b as Je, e as Re } from "./vendor-lodash-es-D2n90GJy.js";
5
+ import { a as Ct, s as On, c as En, b as Je, e as Me } from "./vendor-lodash-es-D2n90GJy.js";
6
6
  import { X as Ln } from "./vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js";
7
7
  import { d as xt, e as Bn, f as Cn, g as xn } from "./vendor-vueuse-core-_wFDcFkI.js";
8
8
  import { c as Tn, u as Ie } from "./vendor-vue-i18n-LO-EJStU.js";
9
- import { j as Rn } from "./vendor-vueuse-shared-CiuC98Kk.js";
10
- import { k as Mn } from "./vendor-tiptap-core-CZbeo7XQ.js";
9
+ import { j as Mn } from "./vendor-vueuse-shared-CiuC98Kk.js";
10
+ import { k as Rn } from "./vendor-tiptap-core-CZbeo7XQ.js";
11
11
  import "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
12
12
  import { q as An } from "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
13
13
  import { C as Nn, u as Dn } from "./vendor-vue-currency-input-CckB4kjx.js";
14
14
  import { u as Vn } from "./vendor-floating-ui-vue-sCrhit51.js";
15
- import { f as Tt, s as Rt, o as tt, b as Pn } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
15
+ import { f as Tt, s as Mt, o as tt, b as Pn } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
16
16
  import { v as Fn } from "./vendor-vueuse-components-B3XvEasa.js";
17
- import { p as Mt } from "./vendor-dompurify-DpIUMBYC.js";
17
+ import { p as Rt } from "./vendor-dompurify-DpIUMBYC.js";
18
18
  import { S as ye, h as zn, T as qn } from "./vendor-date-fns-C-55OMpS.js";
19
19
  import { t as Un } from "./vendor-truncate-html-ChA1T5zy.js";
20
20
  const ke = Tn({
@@ -407,7 +407,7 @@ function ia(e, t, n = {}) {
407
407
  if (u?.length)
408
408
  return u;
409
409
  const f = [];
410
- ge(n.enableFlip) !== !1 && f.push(Tt({ padding: n.shiftPadding ?? 8 })), ge(n.enableShift) !== !1 && f.push(Rt({ padding: n.shiftPadding ?? 8 }));
410
+ ge(n.enableFlip) !== !1 && f.push(Tt({ padding: n.shiftPadding ?? 8 })), ge(n.enableShift) !== !1 && f.push(Mt({ padding: n.shiftPadding ?? 8 }));
411
411
  const m = ge(n.offset);
412
412
  return typeof m == "number" ? f.push(tt(m)) : f.push(
413
413
  tt({
@@ -435,9 +435,9 @@ function ia(e, t, n = {}) {
435
435
  }
436
436
  const ra = Symbol("vc-input-group-context");
437
437
  function Ke(e) {
438
- const t = Y(ra, null), n = an(), a = $(() => `vc-field-${n}`), o = $(() => `${a.value}-label`), i = $(() => `${a.value}-error`), l = $(() => `${a.value}-hint`), s = $(() => !!e.error || !!e.errorMessage || !!t?.invalid.value), u = $(() => !!e.disabled || !!t?.disabled.value), f = $(() => t?.name.value || e.name), m = $(() => e.required ? !0 : void 0), g = $(() => {
439
- const d = /* @__PURE__ */ new Set();
440
- return t?.describedBy.value && t.describedBy.value.split(/\s+/).forEach((c) => d.add(c)), e.errorMessage && d.add(i.value), e.hint && d.add(l.value), d.size ? Array.from(d).join(" ") : void 0;
438
+ const t = G(ra, null), n = an(), a = $(() => `vc-field-${n}`), o = $(() => `${a.value}-label`), i = $(() => `${a.value}-error`), l = $(() => `${a.value}-hint`), s = $(() => !!e.error || !!e.errorMessage || !!t?.invalid.value), u = $(() => !!e.disabled || !!t?.disabled.value), f = $(() => t?.name.value || e.name), m = $(() => e.required ? !0 : void 0), g = $(() => {
439
+ const c = /* @__PURE__ */ new Set();
440
+ return t?.describedBy.value && t.describedBy.value.split(/\s+/).forEach((d) => c.add(d)), e.errorMessage && c.add(i.value), e.hint && c.add(l.value), c.size ? Array.from(c).join(" ") : void 0;
441
441
  });
442
442
  return {
443
443
  fieldId: a,
@@ -486,7 +486,7 @@ function sa(e, t = {}) {
486
486
  };
487
487
  }
488
488
  function Se() {
489
- return Y(fn, S(!1));
489
+ return G(fn, S(!1));
490
490
  }
491
491
  Object.keys(bt).forEach((e) => {
492
492
  Oe(e, bt[e]);
@@ -497,14 +497,14 @@ const ua = (e, [t, n]) => {
497
497
  const a = (l, s, u) => {
498
498
  const f = window.URL || window.webkitURL;
499
499
  return new Promise((m) => {
500
- const g = new Image(), d = f.createObjectURL(l);
500
+ const g = new Image(), c = f.createObjectURL(l);
501
501
  g.onerror = () => {
502
- f.revokeObjectURL(d), m(!1);
502
+ f.revokeObjectURL(c), m(!1);
503
503
  }, g.onload = () => {
504
- f.revokeObjectURL(d);
505
- const c = g.width >= Number(s) && g.height >= Number(u);
506
- m(c ? !0 : ke.global.t("messages.min_dimensions.error", { width: s, height: u }));
507
- }, g.src = d;
504
+ f.revokeObjectURL(c);
505
+ const d = g.width >= Number(s) && g.height >= Number(u);
506
+ m(d ? !0 : ke.global.t("messages.min_dimensions.error", { width: s, height: u }));
507
+ }, g.src = c;
508
508
  });
509
509
  }, o = [], i = e.files;
510
510
  for (let l = 0; l < i.length; l++) {
@@ -540,46 +540,46 @@ const va = (e) => Number.isSafeInteger(parseInt(e)) ? !0 : ke.global.t("messages
540
540
  Oe("bigint", va);
541
541
  function Ee(e) {
542
542
  const t = de(`${e.name}-bus`), n = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set();
543
- function o(d) {
544
- const c = e.getKey(d);
545
- n.set(c, d), a.size > 0 && m((b) => {
543
+ function o(c) {
544
+ const d = e.getKey(c);
545
+ n.set(d, c), a.size > 0 && m((y) => {
546
546
  try {
547
- e.registerIntoService(b, d);
547
+ e.registerIntoService(y, c);
548
548
  } catch (h) {
549
- t.warn(`Failed to live-register item (key=${c}):`, h);
549
+ t.warn(`Failed to live-register item (key=${d}):`, h);
550
550
  }
551
551
  });
552
552
  }
553
- function i(d) {
554
- n.delete(d), e.unregisterFromService && a.size > 0 && a.forEach((c) => {
553
+ function i(c) {
554
+ n.delete(c), e.unregisterFromService && a.size > 0 && a.forEach((d) => {
555
555
  try {
556
- e.unregisterFromService(c, d);
557
- } catch (b) {
558
- t.warn(`Failed to live-unregister item (id=${d}):`, b);
556
+ e.unregisterFromService(d, c);
557
+ } catch (y) {
558
+ t.warn(`Failed to live-unregister item (id=${c}):`, y);
559
559
  }
560
560
  });
561
561
  }
562
- function l(d) {
563
- for (const [c, b] of n)
564
- d(b) && n.delete(c);
562
+ function l(c) {
563
+ for (const [d, y] of n)
564
+ c(y) && n.delete(d);
565
565
  }
566
566
  function s() {
567
567
  return Array.from(n.values());
568
568
  }
569
- function u(d) {
570
- a.add(d), n.forEach((c, b) => {
569
+ function u(c) {
570
+ a.add(c), n.forEach((d, y) => {
571
571
  try {
572
- e.registerIntoService(d, c);
572
+ e.registerIntoService(c, d);
573
573
  } catch (h) {
574
- t.warn(`Failed to replay item (key=${b}):`, h);
574
+ t.warn(`Failed to replay item (key=${y}):`, h);
575
575
  }
576
576
  });
577
577
  }
578
- function f(d) {
579
- a.delete(d);
578
+ function f(c) {
579
+ a.delete(c);
580
580
  }
581
- function m(d) {
582
- a.forEach((c) => d(c));
581
+ function m(c) {
582
+ a.forEach((d) => c(d));
583
583
  }
584
584
  function g() {
585
585
  return a.values().next().value;
@@ -600,58 +600,58 @@ function Ee(e) {
600
600
  }
601
601
  function Vt(e) {
602
602
  const t = Ye({}), n = Ye([]), a = Ye(/* @__PURE__ */ new Map());
603
- function o(d) {
604
- a.set(d, (a.get(d) ?? 0) + 1);
603
+ function o(c) {
604
+ a.set(c, (a.get(c) ?? 0) + 1);
605
605
  }
606
- function i(d) {
607
- const c = a.get(d);
608
- if (!c || c <= 1) {
609
- a.delete(d);
606
+ function i(c) {
607
+ const d = a.get(c);
608
+ if (!d || d <= 1) {
609
+ a.delete(c);
610
610
  return;
611
611
  }
612
- a.set(d, c - 1);
612
+ a.set(c, d - 1);
613
613
  }
614
- function l(d, c) {
615
- const b = c.toLowerCase();
616
- t[b] || (t[b] = []);
617
- const h = t[b].find((p) => p.id === d.id);
614
+ function l(c, d) {
615
+ const y = d.toLowerCase();
616
+ t[y] || (t[y] = []);
617
+ const h = t[y].find((p) => p.id === c.id);
618
618
  if (h) {
619
- Object.assign(h, d, { bladeId: b });
619
+ Object.assign(h, c, { bladeId: y });
620
620
  return;
621
621
  }
622
- const B = { ...d, bladeId: b };
623
- t[b].push(B), n.push(e.createRegistration(b, B)), o(d.id);
622
+ const B = { ...c, bladeId: y };
623
+ t[y].push(B), n.push(e.createRegistration(y, B)), o(c.id);
624
624
  }
625
- function s(d, c) {
626
- const b = c.toLowerCase(), h = t[b];
625
+ function s(c, d) {
626
+ const y = d.toLowerCase(), h = t[y];
627
627
  if (h) {
628
- const p = h.findIndex((I) => I.id === d);
628
+ const p = h.findIndex((I) => I.id === c);
629
629
  if (p !== -1) {
630
630
  const [I] = h.splice(p, 1);
631
631
  I && i(I.id);
632
632
  }
633
633
  }
634
634
  const B = n.findIndex(
635
- (p) => e.getRegistrationBladeId(p) === b && e.getRegistrationItemId(p) === d
635
+ (p) => e.getRegistrationBladeId(p) === y && e.getRegistrationItemId(p) === c
636
636
  );
637
637
  B !== -1 && n.splice(B, 1);
638
638
  }
639
- function u(d) {
640
- const c = d ? d.toLowerCase() : "";
641
- return [...t[c] || []];
639
+ function u(c) {
640
+ const d = c ? c.toLowerCase() : "";
641
+ return [...t[d] || []];
642
642
  }
643
- function f(d) {
644
- const c = d.toLowerCase(), b = t[c];
645
- b && (b.forEach((B) => i(B.id)), delete t[c]), n.map((B, p) => e.getRegistrationBladeId(B) === c ? p : -1).filter((B) => B !== -1).reverse().forEach((B) => {
643
+ function f(c) {
644
+ const d = c.toLowerCase(), y = t[d];
645
+ y && (y.forEach((B) => i(B.id)), delete t[d]), n.map((B, p) => e.getRegistrationBladeId(B) === d ? p : -1).filter((B) => B !== -1).reverse().forEach((B) => {
646
646
  n.splice(B, 1);
647
647
  });
648
648
  }
649
- function m(d, c, b) {
650
- const h = c.toLowerCase(), B = t[h]?.find((p) => p.id === d);
651
- B && Object.assign(B, b, { bladeId: h });
649
+ function m(c, d, y) {
650
+ const h = d.toLowerCase(), B = t[h]?.find((p) => p.id === c);
651
+ B && Object.assign(B, y, { bladeId: h });
652
652
  }
653
- function g(d) {
654
- return a.has(d);
653
+ function g(c) {
654
+ return a.has(c);
655
655
  }
656
656
  return {
657
657
  registry: t,
@@ -808,14 +808,14 @@ function Ia() {
808
808
  function We(e) {
809
809
  const { key: t, create: n, bus: a, name: o, onMissing: i } = e;
810
810
  function l() {
811
- const u = Y(t, null);
811
+ const u = G(t, null);
812
812
  if (u)
813
813
  return u;
814
814
  const f = n();
815
815
  return $t(t, f), ln() && on(() => a.dispose(f)), f;
816
816
  }
817
817
  function s() {
818
- const u = Y(t, null);
818
+ const u = G(t, null);
819
819
  if (!u)
820
820
  throw i?.(), new Kn(o);
821
821
  return u;
@@ -840,16 +840,16 @@ function _i() {
840
840
  }
841
841
  function je() {
842
842
  return {
843
- isMobile: Y(yn, S(!1)),
844
- isDesktop: Y(bn, S(!0)),
845
- isPhone: Y(pn, S(!1)),
846
- isTablet: Y(mn, S(!1)),
847
- isTouch: Y(gn, !1)
843
+ isMobile: G(yn, S(!1)),
844
+ isDesktop: G(bn, S(!0)),
845
+ isPhone: G(pn, S(!1)),
846
+ isTablet: G(mn, S(!1)),
847
+ isTouch: G(gn, !1)
848
848
  };
849
849
  }
850
850
  const $a = Symbol("AppInsightsOptions"), wa = Symbol("AppInsightsInstance");
851
851
  function Oa() {
852
- const e = Y(wa, null), { user: t } = st(), n = Y($a, void 0);
852
+ const e = G(wa, null), { user: t } = st(), n = G($a, void 0);
853
853
  function a() {
854
854
  const o = n?.appName ? `[${n.appName}] ` : "", i = (u) => `${o}${u.name}`;
855
855
  function l(u) {
@@ -931,8 +931,8 @@ const tr = V({
931
931
  }
932
932
  },
933
933
  setup(e, { slots: t }) {
934
- const n = Y(Et, void 0), a = Y(hn, void 0), o = !!(n && a), { error: i, reset: l } = La(o || e.capture);
935
- return o && H(i, (s) => {
934
+ const n = G(Et, void 0), a = G(hn, void 0), o = !!(n && a), { error: i, reset: l } = La(o || e.capture);
935
+ return o && Y(i, (s) => {
936
936
  const u = n.value.id;
937
937
  if (s) {
938
938
  if (Ba(s), kn())
@@ -945,10 +945,10 @@ const tr = V({
945
945
  reset: l
946
946
  });
947
947
  }
948
- }), Ca = Symbol("vc-button-group"), xa = ["type", "disabled", "aria-disabled", "aria-label", "aria-busy", "aria-pressed"], Ta = {
948
+ }), Ca = Symbol("vc-button-group"), xa = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], Ta = {
949
949
  key: 2,
950
950
  class: "vc-button__title"
951
- }, Ra = /* @__PURE__ */ V({
951
+ }, Ma = /* @__PURE__ */ V({
952
952
  __name: "vc-button",
953
953
  props: {
954
954
  icon: {},
@@ -968,40 +968,32 @@ const tr = V({
968
968
  const n = {
969
969
  base: "default",
970
970
  xs: "sm"
971
- }, a = e, o = Se(), i = t, l = Y(Ca, null), s = $(() => {
972
- const c = l?.size?.value ?? a.size;
973
- return n[c] ?? c;
974
- }), u = S(null), f = $(() => a.disabled || a.loading), m = S(!1);
975
- H(f, (c) => {
976
- m.value = c && u.value === document.activeElement;
977
- });
978
- const g = $(() => [
971
+ }, a = e, o = Se(), i = t, l = G(Ca, null), s = $(() => {
972
+ const m = l?.size?.value ?? a.size;
973
+ return n[m] ?? m;
974
+ }), u = $(() => [
979
975
  "vc-button",
980
976
  {
981
977
  [`vc-button-${a.variant}`]: a.variant,
982
978
  [`vc-button--${s.value}`]: s.value,
983
979
  "vc-button--selected": a.selected,
984
980
  "vc-button--text": a.text,
985
- "vc-button--disabled": f.value,
981
+ "vc-button--disabled": a.disabled || a.loading,
986
982
  "vc-button--loading": a.loading
987
983
  }
988
984
  ]);
989
- function d(c) {
990
- c.preventDefault(), !f.value && i("click", c);
985
+ function f(m) {
986
+ !a.disabled && !a.loading && (m.preventDefault(), i("click", m));
991
987
  }
992
- return (c, b) => r(o) ? w("", !0) : (v(), y("button", {
988
+ return (m, g) => r(o) ? w("", !0) : (v(), b("button", {
993
989
  key: 0,
994
- ref_key: "buttonRef",
995
- ref: u,
996
- class: j(g.value),
990
+ class: j(u.value),
997
991
  type: e.type,
998
- disabled: f.value && !m.value,
999
- "aria-disabled": m.value || void 0,
992
+ disabled: e.disabled || e.loading,
1000
993
  "aria-label": e.ariaLabel,
1001
994
  "aria-busy": e.loading || void 0,
1002
995
  "aria-pressed": e.selected || void 0,
1003
- onBlur: b[0] || (b[0] = (h) => m.value = !1),
1004
- onClick: d
996
+ onClick: f
1005
997
  }, [
1006
998
  e.loading ? (v(), N(r(U), {
1007
999
  key: 0,
@@ -1014,10 +1006,10 @@ const tr = V({
1014
1006
  icon: e.icon,
1015
1007
  size: e.iconSize
1016
1008
  }, null, 8, ["class", "icon", "size"])) : w("", !0),
1017
- c.$slots.default ? (v(), y("span", Ta, [
1018
- C(c.$slots, "default")
1009
+ m.$slots.default ? (v(), b("span", Ta, [
1010
+ C(m.$slots, "default")
1019
1011
  ])) : w("", !0)
1020
- ], 42, xa));
1012
+ ], 10, xa));
1021
1013
  }
1022
1014
  }), ct = Ee({
1023
1015
  name: "toolbar-service",
@@ -1041,9 +1033,9 @@ function zt() {
1041
1033
  }, n = (s, u) => {
1042
1034
  e.unregister(s, u);
1043
1035
  }, a = (s) => {
1044
- const u = s ? s.toLowerCase() : "", f = e.get(u), m = e.get("*"), g = [...f], d = new Set(g.map((c) => c.id));
1045
- return m.forEach((c) => {
1046
- d.has(c.id) || g.push(c);
1036
+ const u = s ? s.toLowerCase() : "", f = e.get(u), m = e.get("*"), g = [...f], c = new Set(g.map((d) => d.id));
1037
+ return m.forEach((d) => {
1038
+ c.has(d.id) || g.push(d);
1047
1039
  }), [...g];
1048
1040
  }, o = (s) => {
1049
1041
  e.clear(s);
@@ -1064,7 +1056,7 @@ function zt() {
1064
1056
  };
1065
1057
  return ct.replayInto(l), l;
1066
1058
  }
1067
- const Ma = "fallback-blade-id";
1059
+ const Ra = "fallback-blade-id";
1068
1060
  let Xe = null;
1069
1061
  const Aa = We({
1070
1062
  key: Lt,
@@ -1076,19 +1068,19 @@ function ar() {
1076
1068
  return Aa.provide();
1077
1069
  }
1078
1070
  function lr(e = {}) {
1079
- const { autoCleanup: t = !0 } = e, n = Y(Lt, null);
1071
+ const { autoCleanup: t = !0 } = e, n = G(Lt, null);
1080
1072
  !n && !Xe && (Xe = zt());
1081
1073
  const a = n || Xe;
1082
1074
  if (!a)
1083
1075
  throw new Error("Toolbar service is not available");
1084
- const o = Y(Et, void 0), i = $(() => o?.value?.id ?? Ma), l = (c) => c ?? i.value, s = (c, b) => {
1085
- a.registerToolbarItem(c, l(b));
1086
- }, u = (c, b) => {
1087
- a.unregisterToolbarItem(c, l(b));
1088
- }, f = (c, b, h) => {
1089
- a.updateToolbarItem({ id: c, bladeId: l(h), toolbarItem: b });
1090
- }, m = (c) => a.getToolbarItems(l(c)), g = (c) => {
1091
- a.clearBladeToolbarItems(l(c));
1076
+ const o = G(Et, void 0), i = $(() => o?.value?.id ?? Ra), l = (d) => d ?? i.value, s = (d, y) => {
1077
+ a.registerToolbarItem(d, l(y));
1078
+ }, u = (d, y) => {
1079
+ a.unregisterToolbarItem(d, l(y));
1080
+ }, f = (d, y, h) => {
1081
+ a.updateToolbarItem({ id: d, bladeId: l(h), toolbarItem: y });
1082
+ }, m = (d) => a.getToolbarItems(l(d)), g = (d) => {
1083
+ a.clearBladeToolbarItems(l(d));
1092
1084
  };
1093
1085
  return qe() && t && lt(() => {
1094
1086
  g();
@@ -1121,7 +1113,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1121
1113
  if (o !== void 0)
1122
1114
  return typeof o == "number" ? `${o}px` : o;
1123
1115
  }
1124
- return (o, i) => e.variant === "text" ? (v(), y("div", {
1116
+ return (o, i) => e.variant === "text" ? (v(), b("div", {
1125
1117
  key: 0,
1126
1118
  class: j(["vc-skeleton", {
1127
1119
  "vc-skeleton--animated": e.animated
@@ -1131,18 +1123,18 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1131
1123
  "aria-label": e.ariaLabel
1132
1124
  }, [
1133
1125
  L("span", Da, T(e.ariaLabel), 1),
1134
- (v(!0), y(we, null, ot(e.rows, (l) => (v(), y("div", {
1126
+ (v(!0), b(we, null, ot(e.rows, (l) => (v(), b("div", {
1135
1127
  key: l,
1136
1128
  class: "vc-skeleton__row",
1137
- style: Me({
1129
+ style: Re({
1138
1130
  width: n(l)
1139
1131
  }),
1140
1132
  "aria-hidden": "true"
1141
1133
  }, null, 4))), 128))
1142
- ], 10, Na)) : (v(), y("div", {
1134
+ ], 10, Na)) : (v(), b("div", {
1143
1135
  key: 1,
1144
1136
  class: j(["vc-skeleton__shape", [`vc-skeleton__shape--${e.variant}`, { "tw-animate-pulse": e.animated }]]),
1145
- style: Me({
1137
+ style: Re({
1146
1138
  width: a(e.width),
1147
1139
  height: a(e.height)
1148
1140
  }),
@@ -1204,7 +1196,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1204
1196
  error: { type: Boolean }
1205
1197
  },
1206
1198
  setup(e) {
1207
- return (t, n) => (v(), y("div", {
1199
+ return (t, n) => (v(), b("div", {
1208
1200
  id: e.id,
1209
1201
  class: j(["vc-hint", {
1210
1202
  "vc-hint--error": e.error
@@ -1238,26 +1230,26 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1238
1230
  function i(g) {
1239
1231
  if (!g) return g;
1240
1232
  try {
1241
- const d = new URL(g);
1242
- if (d.protocol === "http:" && window.location.protocol === "https:")
1243
- return d.protocol = "https:", d.href;
1233
+ const c = new URL(g);
1234
+ if (c.protocol === "http:" && window.location.protocol === "https:")
1235
+ return c.protocol = "https:", c.href;
1244
1236
  } catch {
1245
1237
  n.warn("Invalid URL:", g);
1246
1238
  }
1247
1239
  return g;
1248
1240
  }
1249
1241
  const l = $(() => ta(a.src, a.thumbnailSize) ?? a.src), s = S(!1), u = $(() => s.value ? a.src : l.value);
1250
- H(
1242
+ Y(
1251
1243
  () => [a.src, a.thumbnailSize],
1252
1244
  () => {
1253
1245
  s.value = !1;
1254
1246
  }
1255
- ), H(
1247
+ ), Y(
1256
1248
  u,
1257
1249
  (g) => {
1258
1250
  if (!g || !a.thumbnailSize || s.value || g === a.src) return;
1259
- const d = new Image();
1260
- d.src = i(g), d.onerror = () => {
1251
+ const c = new Image();
1252
+ c.src = i(g), c.onerror = () => {
1261
1253
  s.value = !0;
1262
1254
  };
1263
1255
  },
@@ -1272,7 +1264,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1272
1264
  function m() {
1273
1265
  a.clickable && o("click");
1274
1266
  }
1275
- return (g, d) => (v(), y("div", {
1267
+ return (g, c) => (v(), b("div", {
1276
1268
  class: j(["vc-image", [`vc-image_${e.size}`]])
1277
1269
  }, [
1278
1270
  L("div", {
@@ -1285,17 +1277,17 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1285
1277
  "vc-image__container--clickable": e.clickable
1286
1278
  }
1287
1279
  ]),
1288
- style: Me(f.value),
1280
+ style: Re(f.value),
1289
1281
  role: e.clickable ? "button" : e.src && e.alt ? "img" : void 0,
1290
1282
  tabindex: e.clickable ? 0 : void 0,
1291
1283
  "aria-label": e.alt || (e.clickable ? g.$t("COMPONENTS.ATOMS.VC_IMAGE.LABEL") : void 0),
1292
1284
  onClick: m,
1293
1285
  onKeydown: [
1294
- Z(G(m, ["prevent"]), ["enter"]),
1295
- Z(G(m, ["prevent"]), ["space"])
1286
+ Z(H(m, ["prevent"]), ["enter"]),
1287
+ Z(H(m, ["prevent"]), ["space"])
1296
1288
  ]
1297
1289
  }, [
1298
- e.src ? w("", !0) : (v(), y("div", Ua, [
1290
+ e.src ? w("", !0) : (v(), b("div", Ua, [
1299
1291
  x(r(U), {
1300
1292
  icon: e.emptyIcon,
1301
1293
  size: "xl"
@@ -1336,9 +1328,9 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1336
1328
  L("span", ja, [
1337
1329
  C(t.$slots, "default")
1338
1330
  ]),
1339
- e.required ? (v(), y("span", Ha, "*")) : w("", !0)
1331
+ e.required ? (v(), b("span", Ha, "*")) : w("", !0)
1340
1332
  ]),
1341
- t.$slots.tooltip ? (v(), y("span", Ga, [
1333
+ t.$slots.tooltip ? (v(), b("span", Ga, [
1342
1334
  x(r(Bt), { placement: "top-start" }, {
1343
1335
  tooltip: O(() => [
1344
1336
  C(t.$slots, "tooltip")
@@ -1353,7 +1345,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1353
1345
  _: 3
1354
1346
  })
1355
1347
  ])) : w("", !0),
1356
- e.multilanguage ? (v(), y("div", Ya, T(e.currentLanguage), 1)) : w("", !0)
1348
+ e.multilanguage ? (v(), b("div", Ya, T(e.currentLanguage), 1)) : w("", !0)
1357
1349
  ]),
1358
1350
  _: 3
1359
1351
  }, 8, ["class", "for"]));
@@ -1371,7 +1363,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1371
1363
  function o() {
1372
1364
  n.disabled || a("click");
1373
1365
  }
1374
- return (i, l) => (v(), y("button", {
1366
+ return (i, l) => (v(), b("button", {
1375
1367
  type: "button",
1376
1368
  class: j(["vc-link", {
1377
1369
  "vc-link--active": e.active,
@@ -1394,7 +1386,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1394
1386
  dot: { type: Boolean, default: !1 }
1395
1387
  },
1396
1388
  setup(e) {
1397
- return (t, n) => (v(), y("div", {
1389
+ return (t, n) => (v(), b("div", {
1398
1390
  class: j(["vc-status", [
1399
1391
  `vc-status--${e.variant}`,
1400
1392
  {
@@ -1416,7 +1408,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1416
1408
  status: { type: Boolean }
1417
1409
  },
1418
1410
  setup(e) {
1419
- return (t, n) => (v(), y("div", {
1411
+ return (t, n) => (v(), b("div", {
1420
1412
  class: "vc-status-icon",
1421
1413
  role: "img",
1422
1414
  "aria-label": e.status ? "Active" : "Inactive"
@@ -1448,13 +1440,13 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1448
1440
  );
1449
1441
  function m(g) {
1450
1442
  if (!a.value) return;
1451
- const d = g === "up" ? -kt : kt;
1452
- a.value.scrollBy({ top: d, behavior: "smooth" });
1443
+ const c = g === "up" ? -kt : kt;
1444
+ a.value.scrollBy({ top: c, behavior: "smooth" });
1453
1445
  }
1454
1446
  return t({
1455
1447
  viewportRef: a,
1456
1448
  updateScrollState: f
1457
- }), (g, d) => (v(), y("div", {
1449
+ }), (g, c) => (v(), b("div", {
1458
1450
  class: "vc-scrollable-container",
1459
1451
  role: "region",
1460
1452
  "aria-label": g.$t("COMPONENTS.ATOMS.VC_SCROLLABLE_CONTAINER.LABEL")
@@ -1462,9 +1454,9 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1462
1454
  L("div", {
1463
1455
  class: j(["vc-scrollable-container__arrow", { "vc-scrollable-container__arrow--hidden": !r(i) }]),
1464
1456
  "aria-hidden": "true",
1465
- onPointerenter: d[0] || (d[0] = (c) => r(s)("up")),
1466
- onPointerleave: d[1] || (d[1] = //@ts-ignore
1467
- (...c) => r(u) && r(u)(...c))
1457
+ onPointerenter: c[0] || (c[0] = (d) => r(s)("up")),
1458
+ onPointerleave: c[1] || (c[1] = //@ts-ignore
1459
+ (...d) => r(u) && r(u)(...d))
1468
1460
  }, [
1469
1461
  C(g.$slots, "arrow-up", {}, () => [
1470
1462
  x(r(U), {
@@ -1478,11 +1470,11 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1478
1470
  ref: a,
1479
1471
  class: "vc-scrollable-container__viewport",
1480
1472
  tabindex: "0",
1481
- onScroll: d[2] || (d[2] = //@ts-ignore
1482
- (...c) => r(f) && r(f)(...c)),
1473
+ onScroll: c[2] || (c[2] = //@ts-ignore
1474
+ (...d) => r(f) && r(f)(...d)),
1483
1475
  onKeydown: [
1484
- d[3] || (d[3] = Z(G((c) => m("up"), ["prevent"]), ["up"])),
1485
- d[4] || (d[4] = Z(G((c) => m("down"), ["prevent"]), ["down"]))
1476
+ c[3] || (c[3] = Z(H((d) => m("up"), ["prevent"]), ["up"])),
1477
+ c[4] || (c[4] = Z(H((d) => m("down"), ["prevent"]), ["down"]))
1486
1478
  ]
1487
1479
  }, [
1488
1480
  C(g.$slots, "default")
@@ -1490,9 +1482,9 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1490
1482
  L("div", {
1491
1483
  class: j(["vc-scrollable-container__arrow", { "vc-scrollable-container__arrow--hidden": !r(l) }]),
1492
1484
  "aria-hidden": "true",
1493
- onPointerenter: d[5] || (d[5] = (c) => r(s)("down")),
1494
- onPointerleave: d[6] || (d[6] = //@ts-ignore
1495
- (...c) => r(u) && r(u)(...c))
1485
+ onPointerenter: c[5] || (c[5] = (d) => r(s)("down")),
1486
+ onPointerleave: c[6] || (c[6] = //@ts-ignore
1487
+ (...d) => r(u) && r(u)(...d))
1496
1488
  }, [
1497
1489
  C(g.$slots, "arrow-down", {}, () => [
1498
1490
  x(r(U), {
@@ -1557,7 +1549,7 @@ function sr() {
1557
1549
  const cl = de("use-theme"), pe = S([
1558
1550
  { key: "light", localizationKey: "CORE.THEMES.LIGHT" },
1559
1551
  { key: "dark", localizationKey: "CORE.THEMES.DARK" }
1560
- ]), ur = Rn(() => {
1552
+ ]), ur = Mn(() => {
1561
1553
  const { t: e } = ke.global;
1562
1554
  function t(f) {
1563
1555
  (Array.isArray(f) ? f : [f]).forEach((m) => {
@@ -1566,7 +1558,7 @@ const cl = de("use-theme"), pe = S([
1566
1558
  }
1567
1559
  function n(f) {
1568
1560
  (Array.isArray(f) ? f : [f]).forEach((m) => {
1569
- const g = pe.value.findIndex((d) => d.key === m);
1561
+ const g = pe.value.findIndex((c) => c.key === m);
1570
1562
  g >= 0 && pe.value.splice(g, 1);
1571
1563
  });
1572
1564
  }
@@ -1762,11 +1754,11 @@ const ml = {
1762
1754
  },
1763
1755
  emits: ["update:modelValue", "blur", "focus"],
1764
1756
  setup(e, { emit: t }) {
1765
- const n = e, a = t, o = Se(), { isMobile: i, isDesktop: l } = je(), { labelId: s, errorId: u, hintId: f, invalid: m, resolvedDisabled: g, ariaRequired: d, ariaDescribedBy: c } = Ke(n), b = S(!1), h = window.navigator.language, B = S(n.modelValue), p = S(null), I = $(() => n.type === "date" && "9999-12-31" || void 0), P = (() => {
1757
+ const n = e, a = t, o = Se(), { isMobile: i, isDesktop: l } = je(), { labelId: s, errorId: u, hintId: f, invalid: m, resolvedDisabled: g, ariaRequired: c, ariaDescribedBy: d } = Ke(n), y = S(!1), h = window.navigator.language, B = S(n.modelValue), p = S(null), I = $(() => n.type === "date" && "9999-12-31" || void 0), P = (() => {
1766
1758
  const k = new Intl.DateTimeFormat(h, { hour: "numeric" }).format();
1767
1759
  return Number.isInteger(Number(k));
1768
1760
  })(), J = $(() => {
1769
- const k = n.type === "datetime-local", R = new Intl.DateTimeFormat(h, {
1761
+ const k = n.type === "datetime-local", M = new Intl.DateTimeFormat(h, {
1770
1762
  year: "numeric",
1771
1763
  month: "2-digit",
1772
1764
  day: "2-digit",
@@ -1779,32 +1771,32 @@ const ml = {
1779
1771
  minute: "mm",
1780
1772
  dayPeriod: "aa"
1781
1773
  };
1782
- return R.map((te) => K[te.type] ?? te.value).join("");
1774
+ return M.map((te) => K[te.type] ?? te.value).join("");
1783
1775
  }), ae = $(() => {
1784
1776
  if (!n.datePickerOptions?.textInput) return n.datePickerOptions;
1785
- const k = { ...n.datePickerOptions }, R = typeof k.textInput == "object" ? k.textInput : {};
1777
+ const k = { ...n.datePickerOptions }, M = typeof k.textInput == "object" ? k.textInput : {};
1786
1778
  return k.textInput = {
1787
1779
  format: J.value,
1788
1780
  rangeSeparator: " - ",
1789
- ...R
1781
+ ...M
1790
1782
  }, k;
1791
1783
  }), ee = (k) => {
1792
- const R = {
1784
+ const M = {
1793
1785
  year: "numeric",
1794
1786
  month: "numeric",
1795
1787
  day: "numeric"
1796
1788
  };
1797
- n.type === "datetime-local" && (R.hour = "numeric", R.minute = "numeric", R.hour12 = !P);
1798
- const K = (te) => new Intl.DateTimeFormat(h, R).format(te);
1789
+ n.type === "datetime-local" && (M.hour = "numeric", M.minute = "numeric", M.hour12 = !P);
1790
+ const K = (te) => new Intl.DateTimeFormat(h, M).format(te);
1799
1791
  return Array.isArray(k) ? k.map((te) => te != null ? K(te) : "").join(" - ") : K(k);
1800
1792
  };
1801
- H(
1793
+ Y(
1802
1794
  () => n.modelValue,
1803
1795
  (k) => {
1804
1796
  B.value !== k && (B.value = k);
1805
1797
  }
1806
- ), H(B, (k, R) => {
1807
- k !== R && k !== n.modelValue && (p.value = null, a("update:modelValue", k));
1798
+ ), Y(B, (k, M) => {
1799
+ k !== M && k !== n.modelValue && (p.value = null, a("update:modelValue", k));
1808
1800
  });
1809
1801
  function F() {
1810
1802
  B.value = null, a("update:modelValue", null);
@@ -1816,12 +1808,12 @@ const ml = {
1816
1808
  p.value = null;
1817
1809
  }
1818
1810
  function W(k) {
1819
- p.value != null && (B.value = [p.value, null], p.value = null), b.value = !1, a("blur", k);
1811
+ p.value != null && (B.value = [p.value, null], p.value = null), y.value = !1, a("blur", k);
1820
1812
  }
1821
1813
  function X() {
1822
- b.value = !0, a("focus");
1814
+ y.value = !0, a("focus");
1823
1815
  }
1824
- return (k, R) => r(o) ? (v(), y("div", ml, [
1816
+ return (k, M) => r(o) ? (v(), b("div", ml, [
1825
1817
  e.label ? (v(), N(r(le), {
1826
1818
  key: 0,
1827
1819
  variant: "block",
@@ -1833,13 +1825,13 @@ const ml = {
1833
1825
  width: "100%",
1834
1826
  height: 36
1835
1827
  })
1836
- ])) : (v(), y("div", {
1828
+ ])) : (v(), b("div", {
1837
1829
  key: 1,
1838
1830
  class: j(["vc-date-picker", [
1839
1831
  {
1840
1832
  "vc-date-picker--error": r(m),
1841
1833
  "vc-date-picker--disabled": r(g),
1842
- "vc-date-picker--focused": b.value
1834
+ "vc-date-picker--focused": y.value
1843
1835
  }
1844
1836
  ]])
1845
1837
  }, [
@@ -1875,7 +1867,7 @@ const ml = {
1875
1867
  L("div", bl, [
1876
1868
  x(r(An), ne({
1877
1869
  modelValue: B.value,
1878
- "onUpdate:modelValue": R[0] || (R[0] = (K) => B.value = K),
1870
+ "onUpdate:modelValue": M[0] || (M[0] = (K) => B.value = K),
1879
1871
  placeholder: e.placeholder || (e.type === "datetime-local" ? k.$t("COMPONENTS.MOLECULES.VC_INPUT.DATE_TIME_PLACEHOLDER") : k.$t("COMPONENTS.MOLECULES.VC_INPUT.DATE_PLACEHOLDER")),
1880
1872
  disabled: r(g),
1881
1873
  name: e.name,
@@ -1894,8 +1886,8 @@ const ml = {
1894
1886
  }, ae.value, {
1895
1887
  teleport: r(l) ? "body" : void 0,
1896
1888
  "aria-invalid": r(m) || void 0,
1897
- "aria-required": r(d),
1898
- "aria-describedby": r(c),
1889
+ "aria-required": r(c),
1890
+ "aria-describedby": r(d),
1899
1891
  "aria-labelledby": e.label ? r(s) : void 0,
1900
1892
  class: "vc-date-picker__input",
1901
1893
  tabindex: "0",
@@ -1906,7 +1898,7 @@ const ml = {
1906
1898
  onTooltipOpen: X,
1907
1899
  onTooltipClose: W
1908
1900
  }), 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"]),
1909
- e.clearable && B.value && !e.disabled ? (v(), y("button", {
1901
+ e.clearable && B.value && !e.disabled ? (v(), b("button", {
1910
1902
  key: 0,
1911
1903
  type: "button",
1912
1904
  class: "vc-date-picker__clear",
@@ -1919,7 +1911,7 @@ const ml = {
1919
1911
  })
1920
1912
  ], 8, yl)) : w("", !0)
1921
1913
  ]),
1922
- e.loading ? (v(), y("div", hl, [
1914
+ e.loading ? (v(), b("div", hl, [
1923
1915
  x(r(U), {
1924
1916
  icon: "lucide-loader-2",
1925
1917
  class: "vc-date-picker__loading-icon",
@@ -1933,7 +1925,7 @@ const ml = {
1933
1925
  mode: "out-in"
1934
1926
  }, {
1935
1927
  default: O(() => [
1936
- r(m) && e.errorMessage ? (v(), y("div", kl, [
1928
+ r(m) && e.errorMessage ? (v(), b("div", kl, [
1937
1929
  x(r(fe), {
1938
1930
  id: r(u),
1939
1931
  class: "vc-date-picker__hint-error",
@@ -1944,7 +1936,7 @@ const ml = {
1944
1936
  ]),
1945
1937
  _: 1
1946
1938
  }, 8, ["id"])
1947
- ])) : (v(), y("div", Il, [
1939
+ ])) : (v(), b("div", Il, [
1948
1940
  e.hint ? (v(), N(r(fe), {
1949
1941
  key: 0,
1950
1942
  id: r(f),
@@ -1967,7 +1959,7 @@ const ml = {
1967
1959
  }, wl = { class: "vc-color-input__field-container" }, Ol = { class: "vc-color-input__field" }, El = ["id", "placeholder", "disabled", "name", "autofocus", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"], Ll = { class: "vc-color-input__color-container" }, Bl = ["aria-label"], Cl = ["value"], xl = ["aria-label"], Tl = {
1968
1960
  key: 0,
1969
1961
  class: "vc-color-input__loading"
1970
- }, Rl = { key: 0 }, Ml = { key: 1 }, Al = /* @__PURE__ */ V({
1962
+ }, Ml = { key: 0 }, Rl = { key: 1 }, Al = /* @__PURE__ */ V({
1971
1963
  __name: "vc-color-input",
1972
1964
  props: {
1973
1965
  modelValue: {},
@@ -1996,23 +1988,23 @@ const ml = {
1996
1988
  hintId: f,
1997
1989
  invalid: m,
1998
1990
  resolvedDisabled: g,
1999
- ariaRequired: d,
2000
- ariaDescribedBy: c
2001
- } = Ke(o), b = S(!1), h = S(!1), B = S(), p = S(), I = S(o.modelValue ?? ""), P = S("");
1991
+ ariaRequired: c,
1992
+ ariaDescribedBy: d
1993
+ } = Ke(o), y = S(!1), h = S(!1), B = S(), p = S(), I = S(o.modelValue ?? ""), P = S("");
2002
1994
  function J(k) {
2003
1995
  if (!k || typeof k != "string") {
2004
1996
  P.value = "";
2005
1997
  return;
2006
1998
  }
2007
- const R = k.trim();
2008
- if (ea(R)) {
2009
- P.value = yt(R);
1999
+ const M = k.trim();
2000
+ if (ea(M)) {
2001
+ P.value = yt(M);
2010
2002
  return;
2011
2003
  }
2012
- const K = _n(R);
2004
+ const K = _n(M);
2013
2005
  K && (P.value = K);
2014
2006
  }
2015
- H(
2007
+ Y(
2016
2008
  () => o.modelValue,
2017
2009
  (k) => {
2018
2010
  h.value || (h.value = !0, I.value = k ?? "", he(() => {
@@ -2020,7 +2012,7 @@ const ml = {
2020
2012
  }));
2021
2013
  },
2022
2014
  { immediate: !0 }
2023
- ), H(P, (k) => {
2015
+ ), Y(P, (k) => {
2024
2016
  k && p.value && (p.value.value = k);
2025
2017
  });
2026
2018
  function ae() {
@@ -2029,9 +2021,9 @@ const ml = {
2029
2021
  }));
2030
2022
  }
2031
2023
  function ee(k) {
2032
- const R = k.target;
2033
- if (R?.value) {
2034
- const K = yt(R.value);
2024
+ const M = k.target;
2025
+ if (M?.value) {
2026
+ const K = yt(M.value);
2035
2027
  P.value = K, I.value = K, i("update:modelValue", K);
2036
2028
  }
2037
2029
  }
@@ -2042,15 +2034,15 @@ const ml = {
2042
2034
  I.value = "", P.value = "", i("update:modelValue", null);
2043
2035
  }
2044
2036
  function z(k) {
2045
- b.value = !1, i("blur", k);
2037
+ y.value = !1, i("blur", k);
2046
2038
  }
2047
2039
  function W() {
2048
- b.value = !0, i("focus");
2040
+ y.value = !0, i("focus");
2049
2041
  }
2050
2042
  function X() {
2051
2043
  B.value?.focus();
2052
2044
  }
2053
- return t({ focus: X }), (k, R) => r(a) ? (v(), y("div", $l, [
2045
+ return t({ focus: X }), (k, M) => r(a) ? (v(), b("div", $l, [
2054
2046
  e.label ? (v(), N(r(le), {
2055
2047
  key: 0,
2056
2048
  variant: "block",
@@ -2062,13 +2054,13 @@ const ml = {
2062
2054
  width: "100%",
2063
2055
  height: 36
2064
2056
  })
2065
- ])) : (v(), y("div", {
2057
+ ])) : (v(), b("div", {
2066
2058
  key: 1,
2067
2059
  class: j(["vc-color-input", [
2068
2060
  {
2069
2061
  "vc-color-input--error": r(m),
2070
2062
  "vc-color-input--disabled": r(g),
2071
- "vc-color-input--focused": b.value
2063
+ "vc-color-input--focused": y.value
2072
2064
  }
2073
2065
  ]])
2074
2066
  }, [
@@ -2107,15 +2099,15 @@ const ml = {
2107
2099
  id: r(l),
2108
2100
  ref_key: "inputRef",
2109
2101
  ref: B,
2110
- "onUpdate:modelValue": R[0] || (R[0] = (K) => I.value = K),
2102
+ "onUpdate:modelValue": M[0] || (M[0] = (K) => I.value = K),
2111
2103
  placeholder: e.placeholder,
2112
2104
  type: "text",
2113
2105
  disabled: r(g),
2114
2106
  name: e.name,
2115
2107
  autofocus: e.autofocus,
2116
2108
  "aria-invalid": r(m) || void 0,
2117
- "aria-required": r(d),
2118
- "aria-describedby": r(c),
2109
+ "aria-required": r(c),
2110
+ "aria-describedby": r(d),
2119
2111
  "aria-labelledby": e.label ? r(s) : void 0,
2120
2112
  class: "vc-color-input__input",
2121
2113
  tabindex: "0",
@@ -2129,7 +2121,7 @@ const ml = {
2129
2121
  L("button", {
2130
2122
  type: "button",
2131
2123
  class: "vc-color-input__color-square",
2132
- style: Me({ backgroundColor: P.value || "#ffffff" }),
2124
+ style: Re({ backgroundColor: P.value || "#ffffff" }),
2133
2125
  "aria-label": `Pick color${P.value ? ": " + P.value : ""}`,
2134
2126
  onClick: F
2135
2127
  }, null, 12, Bl),
@@ -2144,7 +2136,7 @@ const ml = {
2144
2136
  onChange: ee
2145
2137
  }, null, 40, Cl)
2146
2138
  ]),
2147
- e.clearable && I.value && !e.disabled ? (v(), y("button", {
2139
+ e.clearable && I.value && !e.disabled ? (v(), b("button", {
2148
2140
  key: 0,
2149
2141
  type: "button",
2150
2142
  class: "vc-color-input__clear",
@@ -2157,7 +2149,7 @@ const ml = {
2157
2149
  })
2158
2150
  ], 8, xl)) : w("", !0)
2159
2151
  ]),
2160
- e.loading ? (v(), y("div", Tl, [
2152
+ e.loading ? (v(), b("div", Tl, [
2161
2153
  x(r(U), {
2162
2154
  icon: "lucide-loader-2",
2163
2155
  class: "vc-color-input__loading-icon",
@@ -2171,7 +2163,7 @@ const ml = {
2171
2163
  mode: "out-in"
2172
2164
  }, {
2173
2165
  default: O(() => [
2174
- r(m) && e.errorMessage ? (v(), y("div", Rl, [
2166
+ r(m) && e.errorMessage ? (v(), b("div", Ml, [
2175
2167
  x(r(fe), {
2176
2168
  id: r(u),
2177
2169
  class: "vc-color-input__hint-error",
@@ -2182,7 +2174,7 @@ const ml = {
2182
2174
  ]),
2183
2175
  _: 1
2184
2176
  }, 8, ["id"])
2185
- ])) : (v(), y("div", Ml, [
2177
+ ])) : (v(), b("div", Rl, [
2186
2178
  e.hint ? (v(), N(r(fe), {
2187
2179
  key: 0,
2188
2180
  id: r(f),
@@ -2260,9 +2252,9 @@ const ml = {
2260
2252
  errorId: f,
2261
2253
  hintId: m,
2262
2254
  invalid: g,
2263
- resolvedDisabled: d,
2264
- resolvedName: c,
2265
- ariaRequired: b,
2255
+ resolvedDisabled: c,
2256
+ resolvedName: d,
2257
+ ariaRequired: y,
2266
2258
  ariaDescribedBy: h
2267
2259
  } = Ke(n);
2268
2260
  let B, p;
@@ -2281,7 +2273,7 @@ const ml = {
2281
2273
  (n.type === "number" || n.type === "integer") && E < 0 ? I.value = Math.abs(E) : I.value = E, X(I.value);
2282
2274
  }
2283
2275
  });
2284
- H(
2276
+ Y(
2285
2277
  D,
2286
2278
  (E) => {
2287
2279
  n.type === "number" && E !== null ? ee.value = parseFloat(E) : n.type === "integer" && E !== null ? ee.value = Math.trunc(E) : ee.value = E, I.value !== ee.value && (I.value = ee.value);
@@ -2307,7 +2299,7 @@ const ml = {
2307
2299
  p = void 0;
2308
2300
  }, n.debounce !== void 0 ? (clearTimeout(B), B = setTimeout(p, +n.debounce)) : p();
2309
2301
  }
2310
- function R() {
2302
+ function M() {
2311
2303
  I.value = null, i("update:modelValue", null);
2312
2304
  }
2313
2305
  function K(E) {
@@ -2319,7 +2311,7 @@ const ml = {
2319
2311
  function Ve() {
2320
2312
  ae.value = !0, i("focus");
2321
2313
  }
2322
- return (E, q) => r(l) ? (v(), y("div", ne({ key: 0 }, o.value, {
2314
+ return (E, q) => r(l) ? (v(), b("div", ne({ key: 0 }, o.value, {
2323
2315
  class: ["vc-input vc-input--skeleton", E.$attrs.class]
2324
2316
  }), [
2325
2317
  e.label ? (v(), N(r(le), {
@@ -2375,14 +2367,14 @@ const ml = {
2375
2367
  "onUpdate:modelValue": q[3] || (q[3] = (A) => i("update:modelValue", A)),
2376
2368
  onBlur: q[4] || (q[4] = (A) => i("blur", A)),
2377
2369
  onFocus: q[5] || (q[5] = (A) => i("focus"))
2378
- }), null, 16, ["model-value", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name"])) : (v(), y("div", ne({ key: 3 }, o.value, {
2370
+ }), null, 16, ["model-value", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name"])) : (v(), b("div", ne({ key: 3 }, o.value, {
2379
2371
  class: ["vc-input", [
2380
2372
  E.$attrs.class,
2381
2373
  `vc-input--${e.type}`,
2382
2374
  {
2383
2375
  "vc-input--clearable": e.clearable,
2384
2376
  "vc-input--error": r(g),
2385
- "vc-input--disabled": r(d),
2377
+ "vc-input--disabled": r(c),
2386
2378
  "vc-input--focused": ae.value
2387
2379
  }
2388
2380
  ]]
@@ -2411,7 +2403,7 @@ const ml = {
2411
2403
  } : void 0
2412
2404
  ]), 1032, ["id", "html-for", "required", "multilanguage", "current-language", "error"])) : w("", !0),
2413
2405
  L("div", Nl, [
2414
- E.$slots.prepend ? (v(), y("div", Dl, [
2406
+ E.$slots.prepend ? (v(), b("div", Dl, [
2415
2407
  C(E.$slots, "prepend", { focus: te })
2416
2408
  ])) : w("", !0),
2417
2409
  L("div", {
@@ -2421,13 +2413,13 @@ const ml = {
2421
2413
  }])
2422
2414
  }, [
2423
2415
  L("div", Vl, [
2424
- E.$slots["prepend-inner"] ? (v(), y("div", Pl, [
2416
+ E.$slots["prepend-inner"] ? (v(), b("div", Pl, [
2425
2417
  C(E.$slots, "prepend-inner", { focus: te })
2426
2418
  ])) : w("", !0),
2427
2419
  L("div", Fl, [
2428
- e.prefix ? (v(), y("div", zl, T(e.prefix), 1)) : w("", !0),
2420
+ e.prefix ? (v(), b("div", zl, T(e.prefix), 1)) : w("", !0),
2429
2421
  C(E.$slots, "control", {
2430
- editable: r(d),
2422
+ editable: r(c),
2431
2423
  focused: e.autofocus,
2432
2424
  modelValue: z.value,
2433
2425
  emitValue: k,
@@ -2440,13 +2432,13 @@ const ml = {
2440
2432
  "onUpdate:modelValue": q[6] || (q[6] = (A) => z.value = A),
2441
2433
  placeholder: e.placeholder,
2442
2434
  type: F.value,
2443
- disabled: r(d),
2444
- name: r(c),
2435
+ disabled: r(c),
2436
+ name: r(d),
2445
2437
  maxlength: e.maxlength,
2446
2438
  autofocus: e.autofocus,
2447
2439
  autocomplete: e.autocomplete,
2448
2440
  "aria-invalid": r(g) || void 0,
2449
- "aria-required": r(b),
2441
+ "aria-required": r(y),
2450
2442
  "aria-describedby": r(h),
2451
2443
  "aria-labelledby": e.label ? r(u) : void 0,
2452
2444
  class: "vc-input__input",
@@ -2458,20 +2450,20 @@ const ml = {
2458
2450
  [un, z.value]
2459
2451
  ])
2460
2452
  ]),
2461
- e.suffix ? (v(), y("div", Ul, T(e.suffix), 1)) : w("", !0),
2462
- e.clearable && ee.value && !r(d) && e.type !== "password" ? (v(), y("button", {
2453
+ e.suffix ? (v(), b("div", Ul, T(e.suffix), 1)) : w("", !0),
2454
+ e.clearable && ee.value && !r(c) && e.type !== "password" ? (v(), b("button", {
2463
2455
  key: 2,
2464
2456
  type: "button",
2465
2457
  class: "vc-input__clear",
2466
2458
  "aria-label": E.$t("COMPONENTS.CONTROLS.CLEAR"),
2467
- onClick: R
2459
+ onClick: M
2468
2460
  }, [
2469
2461
  x(r(U), {
2470
2462
  size: "xs",
2471
2463
  icon: "lucide-x"
2472
2464
  })
2473
2465
  ], 8, Kl)) : w("", !0),
2474
- e.type === "password" ? (v(), y("button", {
2466
+ e.type === "password" ? (v(), b("button", {
2475
2467
  key: 3,
2476
2468
  type: "button",
2477
2469
  class: "vc-input__showhide",
@@ -2484,10 +2476,10 @@ const ml = {
2484
2476
  }, null, 8, ["icon"])
2485
2477
  ], 8, Wl)) : w("", !0)
2486
2478
  ]),
2487
- E.$slots["append-inner"] ? (v(), y("div", jl, [
2479
+ E.$slots["append-inner"] ? (v(), b("div", jl, [
2488
2480
  C(E.$slots, "append-inner", { focus: te })
2489
2481
  ])) : w("", !0),
2490
- e.loading ? (v(), y("div", Hl, [
2482
+ e.loading ? (v(), b("div", Hl, [
2491
2483
  x(r(U), {
2492
2484
  icon: "lucide-loader-2",
2493
2485
  class: "vc-input__loading-icon",
@@ -2496,7 +2488,7 @@ const ml = {
2496
2488
  ])) : w("", !0)
2497
2489
  ])
2498
2490
  ], 2),
2499
- E.$slots.append ? (v(), y("div", Gl, [
2491
+ E.$slots.append ? (v(), b("div", Gl, [
2500
2492
  C(E.$slots, "append", { focus: te })
2501
2493
  ])) : w("", !0)
2502
2494
  ]),
@@ -2505,7 +2497,7 @@ const ml = {
2505
2497
  mode: "out-in"
2506
2498
  }, {
2507
2499
  default: O(() => [
2508
- r(g) && e.errorMessage ? (v(), y("div", Yl, [
2500
+ r(g) && e.errorMessage ? (v(), b("div", Yl, [
2509
2501
  C(E.$slots, "error", {}, () => [
2510
2502
  x(r(fe), {
2511
2503
  id: r(f),
@@ -2518,7 +2510,7 @@ const ml = {
2518
2510
  _: 1
2519
2511
  }, 8, ["id"])
2520
2512
  ])
2521
- ])) : (v(), y("div", Jl, [
2513
+ ])) : (v(), b("div", Jl, [
2522
2514
  C(E.$slots, "hint", {}, () => [
2523
2515
  e.hint ? (v(), N(r(fe), {
2524
2516
  key: 0,
@@ -2537,7 +2529,7 @@ const ml = {
2537
2529
  })
2538
2530
  ], 16));
2539
2531
  }
2540
- }), yr = Mn.create({
2532
+ }), yr = Rn.create({
2541
2533
  name: "fontSize",
2542
2534
  addOptions() {
2543
2535
  return {
@@ -2588,7 +2580,7 @@ function Xl(e = {}) {
2588
2580
  p.preventDefault(), g(I);
2589
2581
  break;
2590
2582
  case "ArrowUp":
2591
- p.preventDefault(), d(I);
2583
+ p.preventDefault(), c(I);
2592
2584
  break;
2593
2585
  case "Enter":
2594
2586
  case " ":
@@ -2602,7 +2594,7 @@ function Xl(e = {}) {
2602
2594
  break;
2603
2595
  }
2604
2596
  }, m = (p, I) => {
2605
- p.shiftKey ? d(I) : g(I);
2597
+ p.shiftKey ? c(I) : g(I);
2606
2598
  }, g = (p) => {
2607
2599
  if (!p.length) return;
2608
2600
  if (u(p), s.value < p.length - 1)
@@ -2613,7 +2605,7 @@ function Xl(e = {}) {
2613
2605
  return;
2614
2606
  const I = p[s.value];
2615
2607
  I && typeof I.focus == "function" && I.focus();
2616
- }, d = (p) => {
2608
+ }, c = (p) => {
2617
2609
  if (!p.length) return;
2618
2610
  if (u(p), s.value > 0)
2619
2611
  s.value--;
@@ -2623,12 +2615,12 @@ function Xl(e = {}) {
2623
2615
  return;
2624
2616
  const I = p[s.value];
2625
2617
  I && typeof I.focus == "function" && I.focus();
2626
- }, c = (p) => {
2618
+ }, d = (p) => {
2627
2619
  if (!p.length) return;
2628
2620
  s.value = 0;
2629
2621
  const I = p[0];
2630
2622
  I && typeof I.focus == "function" && I.focus();
2631
- }, b = (p) => {
2623
+ }, y = (p) => {
2632
2624
  if (!p.length) return;
2633
2625
  s.value = p.length - 1;
2634
2626
  const I = p[p.length - 1];
@@ -2657,19 +2649,19 @@ function Xl(e = {}) {
2657
2649
  focusPreviousElement: () => {
2658
2650
  if (l.value) {
2659
2651
  const p = Array.from(l.value.querySelectorAll(n));
2660
- d(p);
2652
+ c(p);
2661
2653
  }
2662
2654
  },
2663
2655
  focusFirstElement: () => {
2664
2656
  if (l.value) {
2665
2657
  const p = Array.from(l.value.querySelectorAll(n));
2666
- c(p);
2658
+ d(p);
2667
2659
  }
2668
2660
  },
2669
2661
  focusLastElement: () => {
2670
2662
  if (l.value) {
2671
2663
  const p = Array.from(l.value.querySelectorAll(n));
2672
- b(p);
2664
+ y(p);
2673
2665
  }
2674
2666
  },
2675
2667
  setFocusedIndex: (p) => {
@@ -2688,7 +2680,7 @@ function St(e, t) {
2688
2680
  function Zl(e) {
2689
2681
  const t = $(() => St(e.optionValue(), "id")), n = $(() => St(e.optionLabel(), "title"));
2690
2682
  function a(l, s, u, f) {
2691
- const m = (g) => Re(t.value(g), l);
2683
+ const m = (g) => Me(t.value(g), l);
2692
2684
  return u.find(m) || f.find(m) || s.find(m) || l;
2693
2685
  }
2694
2686
  function o(l) {
@@ -2753,7 +2745,7 @@ function _l(e) {
2753
2745
  placement: $(() => e.placement),
2754
2746
  middleware: $(() => [
2755
2747
  Tt({ fallbackPlacements: ["top", "bottom"] }),
2756
- Rt({ mainAxis: !1 }),
2748
+ Mt({ mainAxis: !1 }),
2757
2749
  i(),
2758
2750
  tt({ mainAxis: 4 })
2759
2751
  ])
@@ -2762,7 +2754,7 @@ function _l(e) {
2762
2754
  left: `${l.x.value ?? 0}px`,
2763
2755
  width: l.middlewareData.value.sameWidth?.width
2764
2756
  }));
2765
- H(
2757
+ Y(
2766
2758
  () => l.isPositioned.value,
2767
2759
  (f) => {
2768
2760
  f && l.update();
@@ -2784,8 +2776,8 @@ function _l(e) {
2784
2776
  function eo(e) {
2785
2777
  const t = S([]), n = S(null), a = S(0), o = S(!1), i = S(!1), l = S(), s = S([]), u = S(!1), f = /* @__PURE__ */ new Map();
2786
2778
  let m = !1, g;
2787
- const d = $(() => n.value ?? t.value), c = $(() => t.value.length < a.value);
2788
- function b(F) {
2779
+ const c = $(() => n.value ?? t.value), d = $(() => t.value.length < a.value);
2780
+ function y(F) {
2789
2781
  for (const D of F) {
2790
2782
  const z = String(e.getOptionValue.value(D));
2791
2783
  f.set(z, D);
@@ -2799,13 +2791,13 @@ function eo(e) {
2799
2791
  try {
2800
2792
  o.value = !0;
2801
2793
  const D = await F(void 0, 0);
2802
- t.value = D?.results ?? [], a.value = D?.totalCount ?? 0, b(t.value), m = !0;
2794
+ t.value = D?.results ?? [], a.value = D?.totalCount ?? 0, y(t.value), m = !0;
2803
2795
  } catch (D) {
2804
2796
  console.error("useSelectDataSource: error loading options", D), t.value = [], a.value = 0;
2805
2797
  } finally {
2806
2798
  o.value = !1;
2807
2799
  }
2808
- else Array.isArray(F) && (t.value = [...F], a.value = t.value.length, b(t.value), m = !0);
2800
+ else Array.isArray(F) && (t.value = [...F], a.value = t.value.length, y(t.value), m = !0);
2809
2801
  }
2810
2802
  function B() {
2811
2803
  n.value = null, l.value = void 0, g && (clearTimeout(g), g = void 0);
@@ -2818,7 +2810,7 @@ function eo(e) {
2818
2810
  const D = await F(l.value, t.value.length), z = new Set(t.value.map((X) => String(e.getOptionValue.value(X)))), W = (D?.results ?? []).filter(
2819
2811
  (X) => !z.has(String(e.getOptionValue.value(X)))
2820
2812
  );
2821
- t.value = [...t.value, ...W], a.value = D?.totalCount ?? a.value, b(W);
2813
+ t.value = [...t.value, ...W], a.value = D?.totalCount ?? a.value, y(W);
2822
2814
  } catch (D) {
2823
2815
  console.error("useSelectDataSource: error loading more", D);
2824
2816
  } finally {
@@ -2832,7 +2824,7 @@ function eo(e) {
2832
2824
  try {
2833
2825
  i.value = !0;
2834
2826
  const z = await D(F);
2835
- n.value = z?.results ?? [], a.value = z?.totalCount ?? 0, b(n.value);
2827
+ n.value = z?.results ?? [], a.value = z?.totalCount ?? 0, y(n.value);
2836
2828
  } catch (z) {
2837
2829
  console.error("useSelectDataSource: error searching", z), n.value = [];
2838
2830
  } finally {
@@ -2857,24 +2849,24 @@ function eo(e) {
2857
2849
  async function ae(F) {
2858
2850
  if (F.length === 0) return [];
2859
2851
  const z = F.filter((k) => !f.has(String(k))).filter((k) => {
2860
- const R = t.value.find((K) => Re(e.getOptionValue.value(K), k));
2861
- return R ? (f.set(String(k), R), !1) : !0;
2852
+ const M = t.value.find((K) => Me(e.getOptionValue.value(K), k));
2853
+ return M ? (f.set(String(k), M), !1) : !0;
2862
2854
  }), W = e.options();
2863
2855
  if (z.length > 0 && typeof W == "function") {
2864
2856
  try {
2865
2857
  u.value = !0;
2866
- const R = await W(void 0, void 0, z);
2867
- R?.results && b(R.results);
2868
- } catch (R) {
2869
- console.error("useSelectDataSource: error resolving", R);
2858
+ const M = await W(void 0, void 0, z);
2859
+ M?.results && y(M.results);
2860
+ } catch (M) {
2861
+ console.error("useSelectDataSource: error resolving", M);
2870
2862
  } finally {
2871
2863
  u.value = !1;
2872
2864
  }
2873
- z.filter((R) => !f.has(String(R))).length > 0 && !m && await h();
2865
+ z.filter((M) => !f.has(String(M))).length > 0 && !m && await h();
2874
2866
  } else if (z.length > 0 && Array.isArray(W))
2875
2867
  for (const k of W) {
2876
- const R = String(e.getOptionValue.value(k));
2877
- z.includes(R) && f.set(R, k);
2868
+ const M = String(e.getOptionValue.value(k));
2869
+ z.includes(M) && f.set(M, k);
2878
2870
  }
2879
2871
  const X = F.map((k) => f.get(String(k))).filter(Boolean);
2880
2872
  return s.value = X, X;
@@ -2882,12 +2874,12 @@ function eo(e) {
2882
2874
  async function ee() {
2883
2875
  t.value = [], n.value = null, a.value = 0, f.clear(), s.value = [], m = !1, await h();
2884
2876
  }
2885
- return H(
2877
+ return Y(
2886
2878
  e.options,
2887
2879
  async () => {
2888
2880
  t.value = [], n.value = null, a.value = 0, f.clear(), m = !1;
2889
2881
  const F = e.options();
2890
- if (Array.isArray(F) && (t.value = [...F], a.value = t.value.length, b(t.value), m = !0, s.value.length === 0)) {
2882
+ if (Array.isArray(F) && (t.value = [...F], a.value = t.value.length, y(t.value), m = !0, s.value.length === 0)) {
2891
2883
  const D = s.value;
2892
2884
  (D.length === 0 ? t.value.filter((W) => {
2893
2885
  const X = String(e.getOptionValue.value(W));
@@ -2897,10 +2889,10 @@ function eo(e) {
2897
2889
  },
2898
2890
  { deep: !1 }
2899
2891
  ), {
2900
- displayItems: d,
2892
+ displayItems: c,
2901
2893
  loading: o,
2902
2894
  searchLoading: i,
2903
- hasMore: c,
2895
+ hasMore: d,
2904
2896
  filterString: l,
2905
2897
  resolvedDefaults: s,
2906
2898
  defaultOptionLoading: u,
@@ -2917,21 +2909,21 @@ function eo(e) {
2917
2909
  function to(e) {
2918
2910
  let t = [];
2919
2911
  const n = $(() => {
2920
- const g = e.mapOptions() === !0 && e.multiple() !== !0, d = e.modelValue() !== void 0 && (e.modelValue() !== null || g === !0) ? e.multiple() === !0 && Array.isArray(e.modelValue()) ? e.modelValue() : [e.modelValue()] : [];
2912
+ const g = e.mapOptions() === !0 && e.multiple() !== !0, c = e.modelValue() !== void 0 && (e.modelValue() !== null || g === !0) ? e.multiple() === !0 && Array.isArray(e.modelValue()) ? e.modelValue() : [e.modelValue()] : [];
2921
2913
  if (e.mapOptions() === !0 && Array.isArray(e.displayItems.value) === !0) {
2922
- const c = e.mapOptions() === !0 && t !== void 0 ? t : [], b = d.map((h) => {
2923
- const B = e.getOption(h, c, e.resolvedDefaults.value, e.displayItems.value);
2914
+ const d = e.mapOptions() === !0 && t !== void 0 ? t : [], y = c.map((h) => {
2915
+ const B = e.getOption(h, d, e.resolvedDefaults.value, e.displayItems.value);
2924
2916
  if (B === h && e.cachedItems.value.length > 0) {
2925
- const p = e.getOption(h, c, e.resolvedDefaults.value, e.cachedItems.value);
2917
+ const p = e.getOption(h, d, e.resolvedDefaults.value, e.cachedItems.value);
2926
2918
  if (p !== h) return p;
2927
2919
  }
2928
2920
  return B;
2929
2921
  });
2930
- return e.modelValue() === null && g === !0 ? b.filter((h) => h !== null) : b;
2922
+ return e.modelValue() === null && g === !0 ? y.filter((h) => h !== null) : y;
2931
2923
  }
2932
- return d;
2924
+ return c;
2933
2925
  });
2934
- H(
2926
+ Y(
2935
2927
  n,
2936
2928
  (g) => {
2937
2929
  t = g;
@@ -2940,19 +2932,19 @@ function to(e) {
2940
2932
  );
2941
2933
  const a = $(() => n.value.map((g) => e.getOptionValue.value(g)));
2942
2934
  function o(g) {
2943
- const d = e.getOptionValue.value(g);
2944
- return a.value.find((c) => Re(c, d)) !== void 0;
2935
+ const c = e.getOptionValue.value(g);
2936
+ return a.value.find((d) => Me(d, c)) !== void 0;
2945
2937
  }
2946
2938
  const i = $(
2947
- () => n.value.map((g, d) => ({
2948
- index: d,
2939
+ () => n.value.map((g, c) => ({
2940
+ index: c,
2949
2941
  opt: g,
2950
2942
  selected: !0,
2951
2943
  toggleOption: u,
2952
2944
  removeAtIndex: f
2953
2945
  }))
2954
- ), l = $(() => e.fieldValueIsFilled(n.value)), s = $(() => e.displayItems.value.map((g, d) => ({
2955
- index: d,
2946
+ ), l = $(() => e.fieldValueIsFilled(n.value)), s = $(() => e.displayItems.value.map((g, c) => ({
2947
+ index: c,
2956
2948
  opt: g,
2957
2949
  selected: o(g) === !0,
2958
2950
  label: e.getOptionLabel.value(g),
@@ -2961,30 +2953,30 @@ function to(e) {
2961
2953
  function u(g) {
2962
2954
  if (g === void 0)
2963
2955
  return;
2964
- const d = e.getOptionValue.value(g);
2956
+ const c = e.getOptionValue.value(g);
2965
2957
  if (e.multiple() !== !0) {
2966
- (n.value.length === 0 || Re(e.getOptionValue.value(n.value[0]), d) !== !0) && e.emit.updateModelValue(e.emitValue() === !0 ? d : g), e.isOpened.value = !1, e.emit.close();
2958
+ (n.value.length === 0 || Me(e.getOptionValue.value(n.value[0]), c) !== !0) && e.emit.updateModelValue(e.emitValue() === !0 ? c : g), e.isOpened.value = !1, e.emit.close();
2967
2959
  return;
2968
2960
  }
2969
2961
  if (n.value.length === 0) {
2970
- const h = e.emitValue() === !0 ? d : g;
2962
+ const h = e.emitValue() === !0 ? c : g;
2971
2963
  e.emit.updateModelValue(e.multiple() === !0 ? [h] : h);
2972
2964
  return;
2973
2965
  }
2974
- const c = e.modelValue().slice(), b = a.value.findIndex((h) => Re(h, d));
2975
- if (b > -1)
2976
- c.splice(b, 1);
2966
+ const d = e.modelValue().slice(), y = a.value.findIndex((h) => Me(h, c));
2967
+ if (y > -1)
2968
+ d.splice(y, 1);
2977
2969
  else {
2978
- const h = e.emitValue() === !0 ? d : g;
2979
- c.push(h);
2970
+ const h = e.emitValue() === !0 ? c : g;
2971
+ d.push(h);
2980
2972
  }
2981
- e.emit.updateModelValue(c), e.isOpened.value && e.popperUpdate();
2973
+ e.emit.updateModelValue(d), e.isOpened.value && e.popperUpdate();
2982
2974
  }
2983
2975
  function f(g) {
2984
2976
  if (g > -1 && g < n.value.length)
2985
2977
  if (e.multiple() === !0) {
2986
- const d = e.modelValue().slice();
2987
- d.splice(g, 1), e.emit.updateModelValue(d);
2978
+ const c = e.modelValue().slice();
2979
+ c.splice(g, 1), e.emit.updateModelValue(c);
2988
2980
  } else
2989
2981
  e.emit.updateModelValue(null);
2990
2982
  }
@@ -3075,7 +3067,7 @@ const no = { class: "vc-select__control" }, ao = {
3075
3067
  const { t: n } = Ie({ useScope: "global" }), a = S(null);
3076
3068
  return t({
3077
3069
  toggleRef: a
3078
- }), (o, i) => (v(), y("div", {
3070
+ }), (o, i) => (v(), b("div", {
3079
3071
  ref_key: "toggleRef",
3080
3072
  ref: a,
3081
3073
  class: "vc-select__dropdown-toggle"
@@ -3085,7 +3077,7 @@ const no = { class: "vc-select__control" }, ao = {
3085
3077
  isOpened: e.isOpened
3086
3078
  }, () => [
3087
3079
  L("div", no, [
3088
- o.$slots.prepend ? (v(), y("div", ao, [
3080
+ o.$slots.prepend ? (v(), b("div", ao, [
3089
3081
  C(o.$slots, "prepend")
3090
3082
  ])) : w("", !0),
3091
3083
  L("div", {
@@ -3097,11 +3089,11 @@ const no = { class: "vc-select__control" }, ao = {
3097
3089
  L("div", lo, [
3098
3090
  L("div", oo, [
3099
3091
  L("div", io, [
3100
- o.$slots["prepend-inner"] ? (v(), y("div", ro, [
3092
+ o.$slots["prepend-inner"] ? (v(), b("div", ro, [
3101
3093
  C(o.$slots, "prepend-inner")
3102
3094
  ])) : w("", !0),
3103
3095
  L("div", so, [
3104
- e.prefix ? (v(), y("div", uo, T(e.prefix), 1)) : w("", !0),
3096
+ e.prefix ? (v(), b("div", uo, T(e.prefix), 1)) : w("", !0),
3105
3097
  L("div", {
3106
3098
  "data-test-id": "dropdown-toggle",
3107
3099
  class: "vc-select__input",
@@ -3114,18 +3106,18 @@ const no = { class: "vc-select__control" }, ao = {
3114
3106
  "aria-describedby": e.ariaDescribedBy,
3115
3107
  "aria-required": e.ariaRequired,
3116
3108
  "aria-invalid": e.error || void 0,
3117
- onClick: i[0] || (i[0] = G(
3109
+ onClick: i[0] || (i[0] = H(
3118
3110
  //@ts-ignore
3119
3111
  (...l) => e.toggleDropdown && e.toggleDropdown(...l),
3120
3112
  ["stop"]
3121
3113
  )),
3122
3114
  onKeydown: [
3123
- i[1] || (i[1] = Z(G(
3115
+ i[1] || (i[1] = Z(H(
3124
3116
  //@ts-ignore
3125
3117
  (...l) => e.toggleDropdown && e.toggleDropdown(...l),
3126
3118
  ["stop"]
3127
3119
  ), ["enter"])),
3128
- i[2] || (i[2] = Z(G(
3120
+ i[2] || (i[2] = Z(H(
3129
3121
  //@ts-ignore
3130
3122
  (...l) => e.toggleDropdown && e.toggleDropdown(...l),
3131
3123
  ["stop"]
@@ -3134,8 +3126,8 @@ const no = { class: "vc-select__control" }, ao = {
3134
3126
  onFocus: i[3] || (i[3] = (l) => o.$emit("focus")),
3135
3127
  onBlur: i[4] || (i[4] = (l) => o.$emit("blur"))
3136
3128
  }, [
3137
- e.hasValue ? e.selectedScope && e.selectedScope.length && e.hasValue ? (v(), y("div", vo, [
3138
- (v(!0), y(we, null, ot(e.selectedScope, (l, s) => (v(), y("div", {
3129
+ e.hasValue ? e.selectedScope && e.selectedScope.length && e.hasValue ? (v(), b("div", vo, [
3130
+ (v(!0), b(we, null, ot(e.selectedScope, (l, s) => (v(), b("div", {
3139
3131
  key: s,
3140
3132
  class: "vc-select__selected-item"
3141
3133
  }, [
@@ -3144,15 +3136,15 @@ const no = { class: "vc-select__control" }, ao = {
3144
3136
  ref_for: !0
3145
3137
  }, l), () => [
3146
3138
  L("div", go, [
3147
- e.loading ? (v(), y("span", mo, T(r(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : (v(), y("span", po, T(e.getOptionLabel(l.opt)), 1)),
3148
- e.disabled ? w("", !0) : (v(), y("button", {
3139
+ e.loading ? (v(), b("span", mo, T(r(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : (v(), b("span", po, T(e.getOptionLabel(l.opt)), 1)),
3140
+ e.disabled ? w("", !0) : (v(), b("button", {
3149
3141
  key: 2,
3150
3142
  type: "button",
3151
3143
  class: "vc-select__chip-remove",
3152
3144
  "aria-label": `Remove ${e.getOptionLabel(l.opt) || ""}`,
3153
3145
  tabindex: "0",
3154
- onClick: G((u) => o.$emit("removeAtIndex", l.index), ["stop"]),
3155
- onKeydown: Z(G((u) => o.$emit("removeAtIndex", l.index), ["stop", "prevent"]), ["enter"])
3146
+ onClick: H((u) => o.$emit("removeAtIndex", l.index), ["stop"]),
3147
+ onKeydown: Z(H((u) => o.$emit("removeAtIndex", l.index), ["stop", "prevent"]), ["enter"])
3156
3148
  }, [
3157
3149
  x(r(U), {
3158
3150
  class: "vc-select__icon-remove",
@@ -3161,8 +3153,8 @@ const no = { class: "vc-select__control" }, ao = {
3161
3153
  })
3162
3154
  ], 40, bo))
3163
3155
  ])
3164
- ]) : e.multiple ? w("", !0) : (v(), y(we, { key: 1 }, [
3165
- e.loading ? (v(), y("span", yo, T(r(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : C(o.$slots, "selected-item", ne({
3156
+ ]) : e.multiple ? w("", !0) : (v(), b(we, { key: 1 }, [
3157
+ e.loading ? (v(), b("span", yo, T(r(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : C(o.$slots, "selected-item", ne({
3166
3158
  key: 1,
3167
3159
  ref_for: !0
3168
3160
  }, l), () => [
@@ -3170,16 +3162,16 @@ const no = { class: "vc-select__control" }, ao = {
3170
3162
  ])
3171
3163
  ], 64))
3172
3164
  ]))), 128))
3173
- ])) : w("", !0) : (v(), y("div", fo, [
3174
- e.placeholder ? (v(), y(we, { key: 0 }, [
3165
+ ])) : w("", !0) : (v(), b("div", fo, [
3166
+ e.placeholder ? (v(), b(we, { key: 0 }, [
3175
3167
  Q(T(e.placeholder), 1)
3176
- ], 64)) : (v(), y(we, { key: 1 }, [
3168
+ ], 64)) : (v(), b(we, { key: 1 }, [
3177
3169
  Q(T(r(n)("COMPONENTS.MOLECULES.VC_SELECT.CLICK_TO_SELECT")), 1)
3178
3170
  ], 64))
3179
3171
  ]))
3180
3172
  ], 40, co),
3181
- e.suffix ? (v(), y("div", ho, T(e.suffix), 1)) : w("", !0),
3182
- e.clearable && e.hasValue && !e.disabled ? (v(), y("div", {
3173
+ e.suffix ? (v(), b("div", ho, T(e.suffix), 1)) : w("", !0),
3174
+ e.clearable && e.hasValue && !e.disabled ? (v(), b("div", {
3183
3175
  key: 2,
3184
3176
  class: "vc-select__clear",
3185
3177
  role: "button",
@@ -3197,34 +3189,34 @@ const no = { class: "vc-select__control" }, ao = {
3197
3189
  })
3198
3190
  ], 40, ko)) : w("", !0)
3199
3191
  ]),
3200
- o.$slots["append-inner"] ? (v(), y("div", Io, [
3192
+ o.$slots["append-inner"] ? (v(), b("div", Io, [
3201
3193
  C(o.$slots, "append-inner")
3202
3194
  ])) : w("", !0),
3203
- e.loading || e.listLoading || e.defaultOptionLoading ? (v(), y("div", So, [
3195
+ e.loading || e.listLoading || e.defaultOptionLoading ? (v(), b("div", So, [
3204
3196
  x(r(U), {
3205
3197
  icon: "lucide-loader-2",
3206
3198
  class: "tw-animate-spin",
3207
3199
  size: "m"
3208
3200
  })
3209
3201
  ])) : w("", !0),
3210
- e.disabled ? w("", !0) : (v(), y("div", {
3202
+ e.disabled ? w("", !0) : (v(), b("div", {
3211
3203
  key: 3,
3212
3204
  class: "vc-select__chevron-container",
3213
3205
  role: "button",
3214
3206
  "aria-label": o.$t("COMPONENTS.CONTROLS.TOGGLE_DROPDOWN"),
3215
3207
  tabindex: "0",
3216
- onClick: i[8] || (i[8] = G(
3208
+ onClick: i[8] || (i[8] = H(
3217
3209
  //@ts-ignore
3218
3210
  (...l) => e.toggleDropdown && e.toggleDropdown(...l),
3219
3211
  ["stop"]
3220
3212
  )),
3221
3213
  onKeydown: [
3222
- i[9] || (i[9] = Z(G(
3214
+ i[9] || (i[9] = Z(H(
3223
3215
  //@ts-ignore
3224
3216
  (...l) => e.toggleDropdown && e.toggleDropdown(...l),
3225
3217
  ["stop"]
3226
3218
  ), ["enter"])),
3227
- i[10] || (i[10] = Z(G(
3219
+ i[10] || (i[10] = Z(H(
3228
3220
  //@ts-ignore
3229
3221
  (...l) => e.toggleDropdown && e.toggleDropdown(...l),
3230
3222
  ["stop"]
@@ -3247,7 +3239,7 @@ const no = { class: "vc-select__control" }, ao = {
3247
3239
  mode: "out-in"
3248
3240
  }, {
3249
3241
  default: O(() => [
3250
- e.error && e.errorMessage ? (v(), y("div", Eo, [
3242
+ e.error && e.errorMessage ? (v(), b("div", Eo, [
3251
3243
  C(o.$slots, "error", {}, () => [
3252
3244
  x(r(fe), {
3253
3245
  id: e.errorId,
@@ -3260,7 +3252,7 @@ const no = { class: "vc-select__control" }, ao = {
3260
3252
  _: 1
3261
3253
  }, 8, ["id"])
3262
3254
  ])
3263
- ])) : (v(), y("div", Lo, [
3255
+ ])) : (v(), b("div", Lo, [
3264
3256
  C(o.$slots, "hint", {}, () => [
3265
3257
  e.hint ? (v(), N(r(fe), {
3266
3258
  key: 0,
@@ -3279,14 +3271,14 @@ const no = { class: "vc-select__control" }, ao = {
3279
3271
  })
3280
3272
  ])
3281
3273
  ], 2),
3282
- o.$slots.append ? (v(), y("div", Bo, [
3274
+ o.$slots.append ? (v(), b("div", Bo, [
3283
3275
  C(o.$slots, "append")
3284
3276
  ])) : w("", !0)
3285
3277
  ])
3286
3278
  ])
3287
3279
  ], 512));
3288
3280
  }
3289
- }), xo = ["id", "aria-label"], To = ["aria-label"], Ro = ["aria-selected", "data-index", "onClick", "onKeydown"], Mo = {
3281
+ }), xo = ["id", "aria-label"], To = ["aria-label"], Mo = ["aria-selected", "data-index", "onClick", "onKeydown"], Ro = {
3290
3282
  key: 0,
3291
3283
  class: "vc-select__check-icon"
3292
3284
  }, Ao = {
@@ -3312,22 +3304,22 @@ const no = { class: "vc-select__control" }, ao = {
3312
3304
  emits: ["input", "clickOutside"],
3313
3305
  setup(e, { expose: t, emit: n }) {
3314
3306
  const a = e, o = n, { t: i } = Ie({ useScope: "global" }), { teleportTarget: l } = $n(), s = S(null), u = S(null), f = S(null), m = S(null), g = $(() => f.value?.viewportRef ?? null);
3315
- function d(c) {
3316
- const b = g.value;
3317
- if (!b) return;
3318
- if (b.contains(c.target)) {
3319
- const B = b.scrollTop <= 0 && c.deltaY < 0, p = Math.ceil(b.scrollTop) >= b.scrollHeight - b.clientHeight && c.deltaY > 0;
3320
- (B || p) && c.preventDefault();
3307
+ function c(d) {
3308
+ const y = g.value;
3309
+ if (!y) return;
3310
+ if (y.contains(d.target)) {
3311
+ const B = y.scrollTop <= 0 && d.deltaY < 0, p = Math.ceil(y.scrollTop) >= y.scrollHeight - y.clientHeight && d.deltaY > 0;
3312
+ (B || p) && d.preventDefault();
3321
3313
  } else
3322
- c.preventDefault(), b.scrollTop += c.deltaY;
3314
+ d.preventDefault(), y.scrollTop += d.deltaY;
3323
3315
  f.value?.updateScrollState();
3324
3316
  }
3325
- return H(
3317
+ return Y(
3326
3318
  () => a.isOpened,
3327
- (c) => {
3328
- c && he(() => f.value?.updateScrollState());
3319
+ (d) => {
3320
+ d && he(() => f.value?.updateScrollState());
3329
3321
  }
3330
- ), H(
3322
+ ), Y(
3331
3323
  () => a.optionScope.length,
3332
3324
  () => {
3333
3325
  a.isOpened && he(() => f.value?.updateScrollState());
@@ -3337,10 +3329,10 @@ const no = { class: "vc-select__control" }, ao = {
3337
3329
  searchInputRef: u,
3338
3330
  viewportRef: g,
3339
3331
  loadMoreRef: m
3340
- }), (c, b) => (v(), N(cn, { to: r(l) }, [
3332
+ }), (d, y) => (v(), N(cn, { to: r(l) }, [
3341
3333
  x(Ae, { name: "select-dropdown" }, {
3342
3334
  default: O(() => [
3343
- e.isOpened ? rt((v(), y("div", {
3335
+ e.isOpened ? rt((v(), b("div", {
3344
3336
  key: 0,
3345
3337
  id: e.listboxId,
3346
3338
  ref_key: "dropdownElRef",
@@ -3349,22 +3341,22 @@ const no = { class: "vc-select__control" }, ao = {
3349
3341
  class: "vc-select__dropdown",
3350
3342
  role: "listbox",
3351
3343
  "aria-label": e.ariaLabel,
3352
- style: Me(e.dropdownStyle),
3353
- onWheel: d
3344
+ style: Re(e.dropdownStyle),
3345
+ onWheel: c
3354
3346
  }, [
3355
- e.searchable ? (v(), y("input", {
3347
+ e.searchable ? (v(), b("input", {
3356
3348
  key: 0,
3357
3349
  ref_key: "searchInputRef",
3358
3350
  ref: u,
3359
3351
  class: "vc-select__search-input",
3360
3352
  tabindex: "0",
3361
- "aria-label": c.$t("COMPONENTS.CONTROLS.SEARCH_OPTIONS"),
3353
+ "aria-label": d.$t("COMPONENTS.CONTROLS.SEARCH_OPTIONS"),
3362
3354
  autocomplete: "off",
3363
- onInput: b[0] || (b[0] = (h) => o("input", h)),
3355
+ onInput: y[0] || (y[0] = (h) => o("input", h)),
3364
3356
  onKeydown: [
3365
- b[1] || (b[1] = Z(G(() => {
3357
+ y[1] || (y[1] = Z(H(() => {
3366
3358
  }, ["stop"]), ["space"])),
3367
- b[2] || (b[2] = Z(G(() => {
3359
+ y[2] || (y[2] = Z(H(() => {
3368
3360
  }, ["stop"]), ["enter"]))
3369
3361
  ]
3370
3362
  }, null, 40, To)) : w("", !0),
@@ -3374,7 +3366,7 @@ const no = { class: "vc-select__control" }, ao = {
3374
3366
  class: "vc-select__scroll-container"
3375
3367
  }, {
3376
3368
  default: O(() => [
3377
- (v(!0), y(we, null, ot(e.optionScope, (h, B) => (v(), y("div", {
3369
+ (v(!0), b(we, null, ot(e.optionScope, (h, B) => (v(), b("div", {
3378
3370
  key: B,
3379
3371
  class: j(["vc-select__option", { "vc-select__option--selected": h.selected }]),
3380
3372
  "data-test-id": "option",
@@ -3388,17 +3380,17 @@ const no = { class: "vc-select__control" }, ao = {
3388
3380
  Z((p) => h.toggleOption(h.opt), ["space"])
3389
3381
  ]
3390
3382
  }, [
3391
- C(c.$slots, "option", ne({ ref_for: !0 }, h), () => [
3383
+ C(d.$slots, "option", ne({ ref_for: !0 }, h), () => [
3392
3384
  Q(T(h.label), 1)
3393
3385
  ]),
3394
- h.selected ? (v(), y("span", Mo, [
3386
+ h.selected ? (v(), b("span", Ro, [
3395
3387
  x(r(U), {
3396
3388
  icon: "lucide-check",
3397
3389
  size: "xs"
3398
3390
  })
3399
3391
  ])) : w("", !0)
3400
- ], 42, Ro))), 128)),
3401
- e.listLoading ? (v(), y("div", Ao, [
3392
+ ], 42, Mo))), 128)),
3393
+ e.listLoading ? (v(), b("div", Ao, [
3402
3394
  x(r(U), {
3403
3395
  icon: "lucide-loader-2",
3404
3396
  class: "tw-animate-spin",
@@ -3406,12 +3398,12 @@ const no = { class: "vc-select__control" }, ao = {
3406
3398
  }),
3407
3399
  L("span", No, T(e.optionsListLength > 0 ? r(i)("COMPONENTS.MOLECULES.VC_SELECT.LOADING_MORE") : r(i)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)
3408
3400
  ])) : w("", !0),
3409
- !e.listLoading && !e.optionsListLength ? (v(), y("div", Do, [
3410
- C(c.$slots, "no-options", {}, () => [
3401
+ !e.listLoading && !e.optionsListLength ? (v(), b("div", Do, [
3402
+ C(d.$slots, "no-options", {}, () => [
3411
3403
  L("span", Vo, T(r(i)("COMPONENTS.MOLECULES.VC_SELECT.NO_OPTIONS")), 1)
3412
3404
  ])
3413
3405
  ])) : w("", !0),
3414
- e.hasNextPage && !e.listLoading ? (v(), y("span", {
3406
+ e.hasNextPage && !e.listLoading ? (v(), b("span", {
3415
3407
  key: 2,
3416
3408
  ref_key: "loadMoreRef",
3417
3409
  ref: m,
@@ -3463,22 +3455,22 @@ const no = { class: "vc-select__control" }, ao = {
3463
3455
  emits: ["update:modelValue", "search", "close"],
3464
3456
  setup(e, { emit: t }) {
3465
3457
  const n = e, a = wt(), o = $(() => {
3466
- const { class: M, ..._ } = a;
3458
+ const { class: R, ..._ } = a;
3467
3459
  return _;
3468
3460
  }), i = t, { t: l } = Ie({ useScope: "global" }), s = Se(), {
3469
3461
  fieldId: u,
3470
3462
  labelId: f,
3471
3463
  errorId: m,
3472
3464
  hintId: g,
3473
- invalid: d,
3474
- resolvedDisabled: c,
3475
- resolvedName: b,
3465
+ invalid: c,
3466
+ resolvedDisabled: d,
3467
+ resolvedName: y,
3476
3468
  ariaRequired: h,
3477
3469
  ariaDescribedBy: B
3478
3470
  } = Ke(n), p = $(() => `${u.value}-listbox`), I = S(null), P = S(null), { selectRootRef: J, isSelectVisible: ae, ensureVisibility: ee } = Ql(), { getOptionValue: F, getOptionLabel: D, getOption: z, getEmittingOptionValue: W, fieldValueIsFilled: X } = Zl({
3479
3471
  optionValue: () => n.optionValue,
3480
3472
  optionLabel: () => n.optionLabel
3481
- }), { isOpened: k, isFocused: R, dropdownToggleRef: K, dropdownRef: te, popper: Ve, dropdownStyle: E, toggleDropdown: q } = _l({
3473
+ }), { isOpened: k, isFocused: M, dropdownToggleRef: K, dropdownRef: te, popper: Ve, dropdownStyle: E, toggleDropdown: q } = _l({
3482
3474
  placement: n.placement,
3483
3475
  outline: () => n.outline,
3484
3476
  isSelectVisible: ae,
@@ -3498,7 +3490,7 @@ const no = { class: "vc-select__control" }, ao = {
3498
3490
  isSelectVisible: ae,
3499
3491
  debounce: () => n.debounce ?? 500,
3500
3492
  emit: {
3501
- search: (M) => i("search", M)
3493
+ search: (R) => i("search", R)
3502
3494
  }
3503
3495
  }), { selectedScope: Jt, hasValue: Xt, optionScope: Le, removeAtIndex: Zt, onReset: Qt } = to({
3504
3496
  modelValue: () => n.modelValue,
@@ -3515,20 +3507,20 @@ const no = { class: "vc-select__control" }, ao = {
3515
3507
  isOpened: k,
3516
3508
  popperUpdate: () => Ve.update(),
3517
3509
  emit: {
3518
- updateModelValue: (M) => i("update:modelValue", M),
3510
+ updateModelValue: (R) => i("update:modelValue", R),
3519
3511
  close: () => i("close")
3520
3512
  }
3521
3513
  }), _t = $(() => P.value?.loadMoreRef ?? null), en = $(() => P.value?.viewportRef ?? null);
3522
3514
  xn(
3523
3515
  _t,
3524
- ([{ isIntersecting: M }]) => {
3525
- M && A.hasMore.value && A.loadMore();
3516
+ ([{ isIntersecting: R }]) => {
3517
+ R && A.hasMore.value && A.loadMore();
3526
3518
  },
3527
3519
  { threshold: 1, root: en }
3528
3520
  );
3529
3521
  const Ge = Xl({
3530
- onEnter: (M) => {
3531
- const _ = parseInt(M.getAttribute("data-index") || "0", 10);
3522
+ onEnter: (R) => {
3523
+ const _ = parseInt(R.getAttribute("data-index") || "0", 10);
3532
3524
  Le.value && Le.value[_] && Le.value[_].toggleOption(Le.value[_].opt);
3533
3525
  },
3534
3526
  onEscape: () => {
@@ -3540,8 +3532,8 @@ const no = { class: "vc-select__control" }, ao = {
3540
3532
  function tn() {
3541
3533
  k.value = !1, i("close");
3542
3534
  }
3543
- return H(k, async (M) => {
3544
- M ? (await A.open(), he(() => {
3535
+ return Y(k, async (R) => {
3536
+ R ? (await A.open(), he(() => {
3545
3537
  Ve.update();
3546
3538
  const _ = P.value?.dropdownElRef, oe = P.value?.searchInputRef;
3547
3539
  if (_)
@@ -3554,16 +3546,16 @@ const no = { class: "vc-select__control" }, ao = {
3554
3546
  Be ? Be.focus() : Ge.focusFirstElement();
3555
3547
  }
3556
3548
  })) : (Ge.cleanupKeyboardNavigation(), A.close());
3557
- }), H(
3549
+ }), Y(
3558
3550
  () => n.modelValue,
3559
- async (M) => {
3560
- if (M == null || Array.isArray(M) && M.length === 0) {
3551
+ async (R) => {
3552
+ if (R == null || Array.isArray(R) && R.length === 0) {
3561
3553
  A.resolvedDefaults.value = [];
3562
3554
  return;
3563
3555
  }
3564
3556
  const _ = n.emitValue ?? !0;
3565
3557
  if (n.mapOptions ?? !0) {
3566
- const Be = Array.isArray(M) ? M : [M], pt = _ ? Be : Be.filter((Ce) => Ce != null && typeof Ce != "object");
3558
+ const Be = Array.isArray(R) ? R : [R], pt = _ ? Be : Be.filter((Ce) => Ce != null && typeof Ce != "object");
3567
3559
  if (pt.length > 0) {
3568
3560
  const Ce = pt.filter((nn) => nn != null).map(String);
3569
3561
  Ce.length > 0 && await A.resolve(Ce);
@@ -3571,8 +3563,8 @@ const no = { class: "vc-select__control" }, ao = {
3571
3563
  }
3572
3564
  },
3573
3565
  { immediate: !0 }
3574
- ), (M, _) => r(s) ? (v(), y("div", ne({ key: 0 }, o.value, {
3575
- class: ["vc-select vc-select--skeleton", M.$attrs.class]
3566
+ ), (R, _) => r(s) ? (v(), b("div", ne({ key: 0 }, o.value, {
3567
+ class: ["vc-select vc-select--skeleton", R.$attrs.class]
3576
3568
  }), [
3577
3569
  e.label ? (v(), N(r(le), {
3578
3570
  key: 0,
@@ -3585,20 +3577,20 @@ const no = { class: "vc-select__control" }, ao = {
3585
3577
  width: "100%",
3586
3578
  height: 36
3587
3579
  })
3588
- ], 16)) : (v(), y("div", ne({
3580
+ ], 16)) : (v(), b("div", ne({
3589
3581
  key: 1,
3590
3582
  ref_key: "selectRootRef",
3591
3583
  ref: J
3592
3584
  }, o.value, {
3593
3585
  class: ["vc-select", [
3594
- M.$attrs.class,
3586
+ R.$attrs.class,
3595
3587
  {
3596
3588
  "vc-select--opened": r(k),
3597
- "vc-select--error": r(d),
3598
- "vc-select--disabled": r(c),
3599
- "vc-select--has-hint-or-error": r(d) || e.hint,
3589
+ "vc-select--error": r(c),
3590
+ "vc-select--disabled": r(d),
3591
+ "vc-select--has-hint-or-error": r(c) || e.hint,
3600
3592
  "vc-select--no-outline": !e.outline,
3601
- "vc-select--focused": r(R)
3593
+ "vc-select--focused": r(M)
3602
3594
  }
3603
3595
  ]]
3604
3596
  }), [
@@ -3609,7 +3601,7 @@ const no = { class: "vc-select__control" }, ao = {
3609
3601
  required: e.required,
3610
3602
  multilanguage: e.multilanguage,
3611
3603
  "current-language": e.currentLanguage,
3612
- error: r(d)
3604
+ error: r(c)
3613
3605
  }, ie({
3614
3606
  default: O(() => [
3615
3607
  L("span", null, T(e.label), 1)
@@ -3620,7 +3612,7 @@ const no = { class: "vc-select__control" }, ao = {
3620
3612
  name: "tooltip",
3621
3613
  fn: O(() => [
3622
3614
  L("span", {
3623
- innerHTML: r(Mt).sanitize(e.tooltip)
3615
+ innerHTML: r(Rt).sanitize(e.tooltip)
3624
3616
  }, null, 8, Fo)
3625
3617
  ]),
3626
3618
  key: "0"
@@ -3635,13 +3627,13 @@ const no = { class: "vc-select__control" }, ao = {
3635
3627
  "selected-scope": r(Jt),
3636
3628
  multiple: e.multiple,
3637
3629
  loading: e.loading,
3638
- disabled: r(c),
3630
+ disabled: r(d),
3639
3631
  clearable: e.clearable,
3640
3632
  placeholder: e.placeholder,
3641
3633
  prefix: e.prefix,
3642
3634
  suffix: e.suffix,
3643
3635
  size: e.size,
3644
- error: r(d),
3636
+ error: r(c),
3645
3637
  "error-message": e.errorMessage,
3646
3638
  hint: e.hint,
3647
3639
  "list-loading": r(A).loading.value || r(A).searchLoading.value,
@@ -3656,64 +3648,64 @@ const no = { class: "vc-select__control" }, ao = {
3656
3648
  "toggle-dropdown": r(q),
3657
3649
  "get-option-label": r(D),
3658
3650
  "get-emitting-option-value": r(W),
3659
- onFocus: _[0] || (_[0] = (oe) => R.value = !0),
3660
- onBlur: _[1] || (_[1] = (oe) => R.value = !1),
3651
+ onFocus: _[0] || (_[0] = (oe) => M.value = !0),
3652
+ onBlur: _[1] || (_[1] = (oe) => M.value = !1),
3661
3653
  onReset: r(Qt),
3662
3654
  onRemoveAtIndex: r(Zt)
3663
3655
  }, ie({ _: 2 }, [
3664
- M.$slots.control ? {
3656
+ R.$slots.control ? {
3665
3657
  name: "control",
3666
3658
  fn: O((oe) => [
3667
- C(M.$slots, "control", xe(Te(oe)))
3659
+ C(R.$slots, "control", xe(Te(oe)))
3668
3660
  ]),
3669
3661
  key: "0"
3670
3662
  } : void 0,
3671
- M.$slots.prepend ? {
3663
+ R.$slots.prepend ? {
3672
3664
  name: "prepend",
3673
3665
  fn: O(() => [
3674
- C(M.$slots, "prepend")
3666
+ C(R.$slots, "prepend")
3675
3667
  ]),
3676
3668
  key: "1"
3677
3669
  } : void 0,
3678
- M.$slots.append ? {
3670
+ R.$slots.append ? {
3679
3671
  name: "append",
3680
3672
  fn: O(() => [
3681
- C(M.$slots, "append")
3673
+ C(R.$slots, "append")
3682
3674
  ]),
3683
3675
  key: "2"
3684
3676
  } : void 0,
3685
- M.$slots["prepend-inner"] ? {
3677
+ R.$slots["prepend-inner"] ? {
3686
3678
  name: "prepend-inner",
3687
3679
  fn: O(() => [
3688
- C(M.$slots, "prepend-inner")
3680
+ C(R.$slots, "prepend-inner")
3689
3681
  ]),
3690
3682
  key: "3"
3691
3683
  } : void 0,
3692
- M.$slots["append-inner"] ? {
3684
+ R.$slots["append-inner"] ? {
3693
3685
  name: "append-inner",
3694
3686
  fn: O(() => [
3695
- C(M.$slots, "append-inner")
3687
+ C(R.$slots, "append-inner")
3696
3688
  ]),
3697
3689
  key: "4"
3698
3690
  } : void 0,
3699
- M.$slots["selected-item"] ? {
3691
+ R.$slots["selected-item"] ? {
3700
3692
  name: "selected-item",
3701
3693
  fn: O((oe) => [
3702
- C(M.$slots, "selected-item", xe(Te(oe)))
3694
+ C(R.$slots, "selected-item", xe(Te(oe)))
3703
3695
  ]),
3704
3696
  key: "5"
3705
3697
  } : void 0,
3706
- M.$slots.error ? {
3698
+ R.$slots.error ? {
3707
3699
  name: "error",
3708
3700
  fn: O(() => [
3709
- C(M.$slots, "error")
3701
+ C(R.$slots, "error")
3710
3702
  ]),
3711
3703
  key: "6"
3712
3704
  } : void 0,
3713
- M.$slots.hint ? {
3705
+ R.$slots.hint ? {
3714
3706
  name: "hint",
3715
3707
  fn: O(() => [
3716
- C(M.$slots, "hint")
3708
+ C(R.$slots, "hint")
3717
3709
  ]),
3718
3710
  key: "7"
3719
3711
  } : void 0
@@ -3734,17 +3726,17 @@ const no = { class: "vc-select__control" }, ao = {
3734
3726
  onInput: r(A).onInput,
3735
3727
  onClickOutside: tn
3736
3728
  }), ie({ _: 2 }, [
3737
- M.$slots.option ? {
3729
+ R.$slots.option ? {
3738
3730
  name: "option",
3739
3731
  fn: O((oe) => [
3740
- C(M.$slots, "option", xe(Te(oe)))
3732
+ C(R.$slots, "option", xe(Te(oe)))
3741
3733
  ]),
3742
3734
  key: "0"
3743
3735
  } : void 0,
3744
- M.$slots["no-options"] ? {
3736
+ R.$slots["no-options"] ? {
3745
3737
  name: "no-options",
3746
3738
  fn: O(() => [
3747
- C(M.$slots, "no-options")
3739
+ C(R.$slots, "no-options")
3748
3740
  ]),
3749
3741
  key: "1"
3750
3742
  } : void 0
@@ -3788,7 +3780,7 @@ const no = { class: "vc-select__control" }, ao = {
3788
3780
  emits: ["update:model-value", "update:option", "change", "blur"],
3789
3781
  setup(e) {
3790
3782
  const t = Se();
3791
- return (n, a) => r(t) ? (v(), y("div", Uo, [
3783
+ return (n, a) => r(t) ? (v(), b("div", Uo, [
3792
3784
  e.label ? (v(), N(r(le), {
3793
3785
  key: 0,
3794
3786
  variant: "block",
@@ -3843,7 +3835,7 @@ const no = { class: "vc-select__control" }, ao = {
3843
3835
  "append-inner": O(() => [
3844
3836
  L("div", Ko, [
3845
3837
  C(n.$slots, "button", { toggleHandler: o }, () => [
3846
- e.options && e.options.length ? (v(), y("button", {
3838
+ e.options && e.options.length ? (v(), b("button", {
3847
3839
  key: 0,
3848
3840
  type: "button",
3849
3841
  class: "vc-input-dropdown__toggle-button",
@@ -3851,21 +3843,21 @@ const no = { class: "vc-select__control" }, ao = {
3851
3843
  "aria-label": n.$t("COMPONENTS.CONTROLS.SELECT_OPTION"),
3852
3844
  "aria-expanded": i,
3853
3845
  "aria-haspopup": "listbox",
3854
- onClick: G(o, ["stop", "prevent"]),
3846
+ onClick: H(o, ["stop", "prevent"]),
3855
3847
  onKeydown: [
3856
- Z(G(o, ["stop", "prevent"]), ["enter"]),
3857
- Z(G(o, ["stop", "prevent"]), ["space"])
3848
+ Z(H(o, ["stop", "prevent"]), ["enter"]),
3849
+ Z(H(o, ["stop", "prevent"]), ["space"])
3858
3850
  ]
3859
3851
  }, T(r(e.option)), 41, Wo)) : w("", !0)
3860
3852
  ]),
3861
- e.options && e.options.length ? (v(), N(r(Ra), {
3853
+ e.options && e.options.length ? (v(), N(r(Ma), {
3862
3854
  key: 0,
3863
3855
  icon: i ? "lucide-chevron-up" : "lucide-chevron-down",
3864
3856
  "icon-size": "s",
3865
3857
  text: "",
3866
3858
  "aria-label": n.$t("COMPONENTS.CONTROLS.TOGGLE_DROPDOWN"),
3867
3859
  "icon-class": "vc-input-dropdown__toggle-button-icon",
3868
- onClick: G(o, ["stop", "prevent"])
3860
+ onClick: H(o, ["stop", "prevent"])
3869
3861
  }, null, 8, ["icon", "aria-label", "onClick"])) : w("", !0)
3870
3862
  ]),
3871
3863
  n.$slots["append-inner"] ? C(n.$slots, "append-inner", { key: 0 }) : w("", !0)
@@ -3949,12 +3941,12 @@ const no = { class: "vc-select__control" }, ao = {
3949
3941
  hideNegligibleDecimalDigitsOnFocus: !1
3950
3942
  }
3951
3943
  );
3952
- H(
3944
+ Y(
3953
3945
  () => n.option,
3954
- (c) => {
3955
- c && l({
3946
+ (d) => {
3947
+ d && l({
3956
3948
  locale: navigator.language,
3957
- currency: c,
3949
+ currency: d,
3958
3950
  currencyDisplay: n.currencyDisplay,
3959
3951
  hideGroupingSeparatorOnFocus: !1,
3960
3952
  precision: n.precision,
@@ -3962,34 +3954,34 @@ const no = { class: "vc-select__control" }, ao = {
3962
3954
  hideNegligibleDecimalDigitsOnFocus: !1
3963
3955
  });
3964
3956
  }
3965
- ), H(
3957
+ ), Y(
3966
3958
  () => n.modelValue,
3967
- (c) => {
3968
- u(c);
3959
+ (d) => {
3960
+ u(d);
3969
3961
  }
3970
- ), H(s, (c) => {
3971
- a("update:model-value", c);
3962
+ ), Y(s, (d) => {
3963
+ a("update:model-value", d);
3972
3964
  });
3973
- function f(c) {
3974
- i.value && (i.value.value = c), s.value = typeof c == "number" ? c : c === null ? null : parseFloat(String(c)) || null, a("update:model-value", s.value);
3965
+ function f(d) {
3966
+ i.value && (i.value.value = d), s.value = typeof d == "number" ? d : d === null ? null : parseFloat(String(d)) || null, a("update:model-value", s.value);
3975
3967
  }
3976
- function m(c) {
3977
- a("blur", c);
3968
+ function m(d) {
3969
+ a("blur", d);
3978
3970
  }
3979
- function g(c) {
3980
- if ((c.key === "-" || c.key === "e") && c.preventDefault(), c.key !== "Tab") {
3981
- if (c.key === "Enter") {
3982
- c.target && c.target.blur();
3983
- const b = Array.from(document.querySelectorAll('[tabindex="0"]:not(:disabled)')), h = b.indexOf(c.target);
3984
- h >= 0 && h < b.length - 1 && b[h + 1].focus();
3971
+ function g(d) {
3972
+ if ((d.key === "-" || d.key === "e") && d.preventDefault(), d.key !== "Tab") {
3973
+ if (d.key === "Enter") {
3974
+ d.target && d.target.blur();
3975
+ const y = Array.from(document.querySelectorAll('[tabindex="0"]:not(:disabled)')), h = y.indexOf(d.target);
3976
+ h >= 0 && h < y.length - 1 && y[h + 1].focus();
3985
3977
  }
3986
3978
  }
3987
3979
  }
3988
- function d(c) {
3989
- const b = c.clipboardData?.getData("text/plain");
3990
- typeof b < "u" && parseInt(b) < 0 && c.preventDefault();
3980
+ function c(d) {
3981
+ const y = d.clipboardData?.getData("text/plain");
3982
+ typeof y < "u" && parseInt(y) < 0 && d.preventDefault();
3991
3983
  }
3992
- return (c, b) => r(o) ? (v(), y("div", Ho, [
3984
+ return (d, y) => r(o) ? (v(), b("div", Ho, [
3993
3985
  e.label ? (v(), N(r(le), {
3994
3986
  key: 0,
3995
3987
  variant: "block",
@@ -4028,7 +4020,7 @@ const no = { class: "vc-select__control" }, ao = {
4028
4020
  maxlength: e.maxlength,
4029
4021
  "input-type": "number",
4030
4022
  "onUpdate:modelValue": f,
4031
- "onUpdate:option": b[0] || (b[0] = (h) => c.$emit("update:option", h)),
4023
+ "onUpdate:option": y[0] || (y[0] = (h) => d.$emit("update:option", h)),
4032
4024
  onBlur: m
4033
4025
  }, {
4034
4026
  control: O(({ placeholder: h }) => [
@@ -4043,7 +4035,7 @@ const no = { class: "vc-select__control" }, ao = {
4043
4035
  tabindex: "0",
4044
4036
  onBlur: m,
4045
4037
  onKeydown: g,
4046
- onPaste: d
4038
+ onPaste: c
4047
4039
  }, null, 40, Go)
4048
4040
  ]),
4049
4041
  _: 1
@@ -4061,7 +4053,7 @@ function hr() {
4061
4053
  return $t(jt, e), e;
4062
4054
  }
4063
4055
  function kr() {
4064
- return Y(jt, Jo);
4056
+ return G(jt, Jo);
4065
4057
  }
4066
4058
  const Ir = Symbol("TableContext"), Xo = Symbol("ColumnCollector"), Sr = Symbol("FillerWidth"), $r = Symbol("IsColumnReordering"), wr = (e, t) => {
4067
4059
  const n = e.__vccOpts || e;
@@ -4246,7 +4238,7 @@ const Ir = Symbol("TableContext"), Xo = Symbol("ColumnCollector"), Sr = Symbol("
4246
4238
  }
4247
4239
  },
4248
4240
  setup(e, { slots: t }) {
4249
- const n = Y(Xo, null), a = qe();
4241
+ const n = G(Xo, null), a = qe();
4250
4242
  return Ue(() => {
4251
4243
  n && a && n.add({
4252
4244
  instance: a,
@@ -4366,7 +4358,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4366
4358
  ]), 1032, ["model-value", "error", "error-message", "onBlur"])
4367
4359
  ]),
4368
4360
  _: 1
4369
- }, 8, ["label", "field-name", "model-value", "rules", "validate-on-mount"])) : (v(), y("span", Qo, T(e.value), 1));
4361
+ }, 8, ["label", "field-name", "model-value", "rules", "validate-on-mount"])) : (v(), b("span", Qo, T(e.value), 1));
4370
4362
  }
4371
4363
  }), _o = {
4372
4364
  key: 1,
@@ -4398,7 +4390,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4398
4390
  }), m = (g) => {
4399
4391
  g && g.length > 0 || a("blur", { row: n.rowIndex, field: n.fieldId || "" });
4400
4392
  };
4401
- return (g, d) => e.editable ? (v(), N(mt, {
4393
+ return (g, c) => e.editable ? (v(), N(mt, {
4402
4394
  key: 0,
4403
4395
  label: e.label || "",
4404
4396
  "field-name": e.fieldName || "",
@@ -4406,19 +4398,19 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4406
4398
  rules: e.rules,
4407
4399
  "validate-on-mount": e.validateOnMount
4408
4400
  }, {
4409
- default: O(({ errors: c, errorMessage: b }) => [
4401
+ default: O(({ errors: d, errorMessage: y }) => [
4410
4402
  x(Yo, {
4411
4403
  "model-value": e.value,
4412
4404
  options: [],
4413
4405
  option: e.currency || "USD",
4414
4406
  "currency-display": "symbol",
4415
4407
  class: "vc-table-cell-money__input",
4416
- error: c.length > 0,
4417
- "error-message": r(l) ? b : void 0,
4418
- "onUpdate:modelValue": d[0] || (d[0] = (h) => g.$emit("update", { field: e.fieldId || "", value: h })),
4419
- onBlur: (h) => m(c)
4408
+ error: d.length > 0,
4409
+ "error-message": r(l) ? y : void 0,
4410
+ "onUpdate:modelValue": c[0] || (c[0] = (h) => g.$emit("update", { field: e.fieldId || "", value: h })),
4411
+ onBlur: (h) => m(d)
4420
4412
  }, ie({ _: 2 }, [
4421
- r(s) && c.length > 0 ? {
4413
+ r(s) && d.length > 0 ? {
4422
4414
  name: "append-inner",
4423
4415
  fn: O(() => [
4424
4416
  x(r(U), {
@@ -4431,7 +4423,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4431
4423
  ]), 1032, ["model-value", "option", "error", "error-message", "onBlur"])
4432
4424
  ]),
4433
4425
  _: 1
4434
- }, 8, ["label", "field-name", "model-value", "rules", "validate-on-mount"])) : u.value ? (v(), y("span", ei, T(r(o)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1)) : (v(), y("span", _o, T(f.value), 1));
4426
+ }, 8, ["label", "field-name", "model-value", "rules", "validate-on-mount"])) : u.value ? (v(), b("span", ei, T(r(o)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1)) : (v(), b("span", _o, T(f.value), 1));
4435
4427
  }
4436
4428
  }), ni = {
4437
4429
  key: 1,
@@ -4471,17 +4463,17 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4471
4463
  rules: e.rules,
4472
4464
  "validate-on-mount": e.validateOnMount
4473
4465
  }, {
4474
- default: O(({ errors: d, errorMessage: c }) => [
4466
+ default: O(({ errors: c, errorMessage: d }) => [
4475
4467
  x(gt, {
4476
4468
  "model-value": e.value,
4477
4469
  class: "vc-table-cell-number__input",
4478
4470
  type: "number",
4479
- error: d.length > 0,
4480
- "error-message": r(i) ? c : void 0,
4481
- "onUpdate:modelValue": g[0] || (g[0] = (b) => m.$emit("update", { field: e.fieldId || "", value: b })),
4482
- onBlur: (b) => f(d)
4471
+ error: c.length > 0,
4472
+ "error-message": r(i) ? d : void 0,
4473
+ "onUpdate:modelValue": g[0] || (g[0] = (y) => m.$emit("update", { field: e.fieldId || "", value: y })),
4474
+ onBlur: (y) => f(c)
4483
4475
  }, ie({ _: 2 }, [
4484
- r(l) && d.length > 0 ? {
4476
+ r(l) && c.length > 0 ? {
4485
4477
  name: "append-inner",
4486
4478
  fn: O(() => [
4487
4479
  x(r(U), {
@@ -4494,7 +4486,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4494
4486
  ]), 1032, ["model-value", "error", "error-message", "onBlur"])
4495
4487
  ]),
4496
4488
  _: 1
4497
- }, 8, ["label", "field-name", "model-value", "rules", "validate-on-mount"])) : s.value ? (v(), y("span", ai, T(r(o)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1)) : (v(), y("span", ni, T(u.value), 1));
4489
+ }, 8, ["label", "field-name", "model-value", "rules", "validate-on-mount"])) : s.value ? (v(), b("span", ai, T(r(o)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1)) : (v(), b("span", ni, T(u.value), 1));
4498
4490
  }
4499
4491
  }), oi = {
4500
4492
  key: 0,
@@ -4517,7 +4509,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4517
4509
  const i = t.value instanceof Date ? t.value : new Date(t.value), l = t.variant || "date";
4518
4510
  return l === "time" ? i.toLocaleTimeString(a) : l === "date-time" ? i.toLocaleString(a) : i.toLocaleDateString(a);
4519
4511
  });
4520
- return (i, l) => e.value ? (v(), y("span", oi, T(o.value), 1)) : (v(), y("span", ii, T(r(n)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1));
4512
+ return (i, l) => e.value ? (v(), b("span", oi, T(o.value), 1)) : (v(), b("span", ii, T(r(n)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1));
4521
4513
  }
4522
4514
  }), ri = ["title"], si = {
4523
4515
  key: 1,
@@ -4529,11 +4521,11 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4529
4521
  },
4530
4522
  setup(e) {
4531
4523
  const t = e, { t: n } = Ie({ useScope: "global" }), a = window.navigator.language, o = $(() => t.value ? (t.value instanceof Date ? t.value : new Date(t.value)).toLocaleString(a) : ""), i = $(() => t.value ? Xn(t.value) : "");
4532
- return (l, s) => e.value ? (v(), y("span", {
4524
+ return (l, s) => e.value ? (v(), b("span", {
4533
4525
  key: 0,
4534
4526
  class: "vc-table-cell-date-ago",
4535
4527
  title: o.value
4536
- }, T(i.value), 9, ri)) : (v(), y("span", si, T(r(n)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1));
4528
+ }, T(i.value), 9, ri)) : (v(), b("span", si, T(r(n)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1));
4537
4529
  }
4538
4530
  }), ci = /* @__PURE__ */ V({
4539
4531
  __name: "CellImage",
@@ -4572,7 +4564,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4572
4564
  value: {}
4573
4565
  },
4574
4566
  setup(e) {
4575
- return (t, n) => (v(), y("div", fi, [
4567
+ return (t, n) => (v(), b("div", fi, [
4576
4568
  typeof e.value == "boolean" ? (v(), N(r(al), {
4577
4569
  key: 0,
4578
4570
  status: e.value
@@ -4603,7 +4595,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4603
4595
  function a(l) {
4604
4596
  if (n.has(l))
4605
4597
  return n.get(l);
4606
- const s = Mt.sanitize(l, {
4598
+ const s = Rt.sanitize(l, {
4607
4599
  ALLOWED_TAGS: [
4608
4600
  "p",
4609
4601
  "br",
@@ -4646,7 +4638,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4646
4638
  return n.set(l, s), s;
4647
4639
  }
4648
4640
  const o = $(() => t.value ? a(String(t.value)) : ""), i = $(() => Un(o.value, t.maxLength || 30));
4649
- return (l, s) => (v(), y("div", {
4641
+ return (l, s) => (v(), b("div", {
4650
4642
  class: "vc-table-cell-html",
4651
4643
  innerHTML: i.value
4652
4644
  }, null, 8, mi));
@@ -4752,7 +4744,7 @@ export {
4752
4744
  Oa as a5,
4753
4745
  qi as a6,
4754
4746
  me as a7,
4755
- Ma as a8,
4747
+ Ra as a8,
4756
4748
  re as a9,
4757
4749
  Qi as aA,
4758
4750
  pr as aB,
@@ -4818,7 +4810,7 @@ export {
4818
4810
  li as i,
4819
4811
  di as j,
4820
4812
  vi as k,
4821
- Ra as l,
4813
+ Ma as l,
4822
4814
  Al as m,
4823
4815
  Or as n,
4824
4816
  Sl as o,