@vc-shell/framework 2.5.0-pr346.16b7d63 → 2.5.0-pr347.0afabd1

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