@vc-shell/framework 2.6.3-rc.0-pr379.dc63cf1 → 2.6.3-rc.0-pr380.ae2f7ea

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 (31) hide show
  1. package/dist/ai-agent/index.js +3 -3
  2. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-dCG9R7uD.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cs47PW6F.js} +1 -1
  3. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-dCG9R7uD.js.map → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cs47PW6F.js.map} +1 -1
  4. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-DzDHuxUZ.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CQ4PNnTu.js} +328 -322
  5. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-DzDHuxUZ.js.map → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CQ4PNnTu.js.map} +1 -1
  6. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-BZl7ykH4.js → VcScheduler.vue_vue_type_script_setup_true_lang-Bh8CNJsW.js} +3 -3
  7. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-BZl7ykH4.js.map → VcScheduler.vue_vue_type_script_setup_true_lang-Bh8CNJsW.js.map} +1 -1
  8. package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-CLKJLw-Z.js → VcScheduler.vue_vue_type_style_index_0_lang-ClYksC9b.js} +112 -111
  9. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-ClYksC9b.js.map +1 -0
  10. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-FF0FHTmO.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-CXrhWmOi.js} +2 -2
  11. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-FF0FHTmO.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-CXrhWmOi.js.map} +1 -1
  12. package/dist/chunks/{index-DBK33mvh.js → index-DyZe677u.js} +2 -2
  13. package/dist/chunks/{index-DBK33mvh.js.map → index-DyZe677u.js.map} +1 -1
  14. package/dist/core/composables/useUser/index.d.ts +15 -0
  15. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  16. package/dist/core/composables/useUserManagement/index.d.ts +3 -0
  17. package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
  18. package/dist/core/utilities/authGuard.d.ts +28 -0
  19. package/dist/core/utilities/authGuard.d.ts.map +1 -0
  20. package/dist/dashboard/index.js +1 -1
  21. package/dist/framework.js +547 -538
  22. package/dist/framework.js.map +1 -1
  23. package/dist/index.d.ts.map +1 -1
  24. package/dist/locales/de.js +2 -1
  25. package/dist/locales/en.js +2 -1
  26. package/dist/locales/en.json +2 -1
  27. package/dist/locales/types.d.ts +1 -0
  28. package/dist/tsconfig.tsbuildinfo +1 -1
  29. package/dist/ui/index.js +3 -3
  30. package/package.json +4 -4
  31. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-CLKJLw-Z.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { mergeProps as ee, computed as $, toValue as be, inject as Y, useId as ln, ref as I, onBeforeUnmount as rt, reactive as Ze, provide as Et, getCurrentScope as on, onScopeDispose as rn, getCurrentInstance as We, onErrorCaptured as sn, nextTick as Se, defineComponent as z, watch as j, unref as r, openBlock as f, createElementBlock as y, normalizeClass as W, createBlock as P, createCommentVNode as w, renderSlot as T, createElementVNode as x, toDisplayString as A, Fragment as Le, renderList as st, normalizeStyle as Ve, resolveDynamicComponent as ut, withCtx as O, withKeys as X, withModifiers as G, createVNode as M, watchEffect as tt, shallowReactive as nt, markRaw as at, createSlots as oe, createTextVNode as Z, Transition as Pe, withDirectives as ct, vModelText as un, useAttrs as Lt, vModelDynamic as cn, onMounted as je, onUnmounted as Bt, Teleport as dn, normalizeProps as Ae, guardReactiveProps as Ne } from "vue";
2
- import { c as ge, ai as fn, P as vn, x as gn, t as mn, q as pn, I as bn, s as yn, r as hn, B as Ct, b as kn, i as In, _ as U, T as xt, a as Tt, X as Sn, y as $n, u as wn } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-DzDHuxUZ.js";
1
+ import { mergeProps as ee, computed as $, toValue as be, inject as Y, useId as ln, ref as S, onBeforeUnmount as rt, reactive as Ze, provide as Et, getCurrentScope as on, onScopeDispose as rn, getCurrentInstance as We, onErrorCaptured as sn, nextTick as Ie, defineComponent as z, watch as j, unref as r, openBlock as f, createElementBlock as y, normalizeClass as W, createBlock as P, createCommentVNode as w, renderSlot as T, createElementVNode as x, toDisplayString as A, Fragment as Le, renderList as st, normalizeStyle as Ve, resolveDynamicComponent as ut, withCtx as O, withKeys as X, withModifiers as G, createVNode as M, watchEffect as tt, shallowReactive as nt, markRaw as at, createSlots as oe, createTextVNode as Z, Transition as Pe, withDirectives as ct, vModelText as un, useAttrs as Lt, vModelDynamic as cn, onMounted as je, onUnmounted as Bt, Teleport as dn, normalizeProps as Ae, guardReactiveProps as Ne } from "vue";
2
+ import { c as ge, ai as fn, P as vn, x as gn, t as mn, q as pn, I as bn, s as yn, r as hn, B as Ct, b as kn, i as Sn, _ as U, T as xt, a as Tt, X as In, y as $n, u as wn } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-CQ4PNnTu.js";
3
3
  import { defineRule as Be, Field as On } from "vee-validate";
4
4
  import { a as kt } from "./vendor-vee-validate-rules-4oWUZPpG.js";
5
5
  import { a as Rt, s as En, c as Ln, b as Qe, e as De } from "./vendor-lodash-es-D2n90GJy.js";
@@ -15,7 +15,7 @@ import { u as Pn } from "./vendor-floating-ui-vue-sCrhit51.js";
15
15
  import { f as At, s as Nt, o as lt, b as Fn } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
16
16
  import { v as zn } from "./vendor-vueuse-components-BTQXlUpM.js";
17
17
  import { p as Dt } from "./vendor-dompurify-DpIUMBYC.js";
18
- import { S as Ie, h as qn, T as Un } from "./vendor-date-fns-C-55OMpS.js";
18
+ import { S as Se, h as qn, T as Un } from "./vendor-date-fns-C-55OMpS.js";
19
19
  import { t as Kn } from "./vendor-truncate-html-ChA1T5zy.js";
20
20
  const $e = Rn({
21
21
  legacy: !1,
@@ -164,8 +164,8 @@ function Jn(e) {
164
164
  return t;
165
165
  }
166
166
  const fe = /* @__PURE__ */ new Map();
167
- fe.set("en-US", Ie);
168
- fe.set("en", Ie);
167
+ fe.set("en-US", Se);
168
+ fe.set("en", Se);
169
169
  async function Xn(e) {
170
170
  if (fe.has(e))
171
171
  return fe.get(e);
@@ -173,7 +173,7 @@ async function Xn(e) {
173
173
  const t = await import(
174
174
  /* @vite-ignore */
175
175
  `date-fns/locale/${e}`
176
- ), n = e.replace("-", ""), a = t.default ?? t[n] ?? Ie;
176
+ ), n = e.replace("-", ""), a = t.default ?? t[n] ?? Se;
177
177
  return fe.set(e, a), a;
178
178
  } catch {
179
179
  const t = e.split("-")[0];
@@ -182,15 +182,15 @@ async function Xn(e) {
182
182
  const n = await import(
183
183
  /* @vite-ignore */
184
184
  `date-fns/locale/${t}`
185
- ), a = n.default ?? n[t] ?? Ie;
185
+ ), a = n.default ?? n[t] ?? Se;
186
186
  return fe.set(e, a), a;
187
187
  } catch {
188
188
  }
189
- return fe.set(e, Ie), Ie;
189
+ return fe.set(e, Se), Se;
190
190
  }
191
191
  }
192
192
  function Vt(e) {
193
- return fe.has(e) ? fe.get(e) : (Xn(e), Ie);
193
+ return fe.has(e) ? fe.get(e) : (Xn(e), Se);
194
194
  }
195
195
  function Pt(e) {
196
196
  if (e == null || e === "") return null;
@@ -229,7 +229,7 @@ function ta(e) {
229
229
  const t = e.startsWith("#") ? e : `#${e}`;
230
230
  return /^#[0-9A-Fa-f]{6}$/.test(t);
231
231
  }
232
- function It(e) {
232
+ function St(e) {
233
233
  return !e || typeof e != "string" ? "" : e.startsWith("#") ? e : `#${e}`;
234
234
  }
235
235
  function na(e, t) {
@@ -278,6 +278,7 @@ const dt = () => {
278
278
  loading: e.loading,
279
279
  isAdministrator: e.isAdministrator,
280
280
  isAuthenticated: e.isAuthenticated,
281
+ authState: e.authState,
281
282
  validateToken: e.validateToken,
282
283
  validatePassword: e.validatePassword,
283
284
  resetPasswordByToken: e.resetPasswordByToken,
@@ -457,7 +458,7 @@ function Ft(e) {
457
458
  return e.scrollTop + e.clientHeight >= e.scrollHeight - 1 - t;
458
459
  }
459
460
  function ua(e, t = {}) {
460
- const { speed: n = 2 } = t, a = I(!1), o = I(!1);
461
+ const { speed: n = 2 } = t, a = S(!1), o = S(!1);
461
462
  let i = null;
462
463
  function l() {
463
464
  const v = e.value;
@@ -490,7 +491,7 @@ function ua(e, t = {}) {
490
491
  };
491
492
  }
492
493
  function Oe() {
493
- return Y(vn, I(!1));
494
+ return Y(vn, S(!1));
494
495
  }
495
496
  Object.keys(kt).forEach((e) => {
496
497
  Be(e, kt[e]);
@@ -629,10 +630,10 @@ function qt(e) {
629
630
  function s(d, c) {
630
631
  const b = c.toLowerCase(), h = t[b];
631
632
  if (h) {
632
- const p = h.findIndex((S) => S.id === d);
633
+ const p = h.findIndex((I) => I.id === d);
633
634
  if (p !== -1) {
634
- const [S] = h.splice(p, 1);
635
- S && i(S.id);
635
+ const [I] = h.splice(p, 1);
636
+ I && i(I.id);
636
637
  }
637
638
  }
638
639
  const E = n.findIndex(
@@ -669,7 +670,7 @@ function qt(e) {
669
670
  };
670
671
  }
671
672
  function ma(e) {
672
- const t = I(/* @__PURE__ */ new Map()), n = $(() => Array.from(t.value.values()).sort((i, l) => (i.order ?? 0) - (l.order ?? 0)));
673
+ const t = S(/* @__PURE__ */ new Map()), n = $(() => Array.from(t.value.values()).sort((i, l) => (i.order ?? 0) - (l.order ?? 0)));
673
674
  function a(i) {
674
675
  const l = e.getId(i) || crypto.randomUUID(), s = e.createItem(i, t.value.size);
675
676
  return t.value.set(l, { ...s, id: l }), l;
@@ -698,7 +699,7 @@ function Ut(e) {
698
699
  function Ke(e) {
699
700
  return e.id !== void 0 ? `id:${String(e.id)}` : e.routeId ? `route:${e.routeId}` : e.url ? `url:${e.url}` : e.groupConfig?.id ? `gc:${e.groupConfig.id}:${e.title}` : e.group ? `g:${e.group}:${e.title}` : `hash:${JSON.stringify(Rt(e, "title"))}`;
700
701
  }
701
- const ze = I(/* @__PURE__ */ new Map()), ve = Ce({
702
+ const ze = S(/* @__PURE__ */ new Map()), ve = Ce({
702
703
  name: "menu-service",
703
704
  getKey: Ke,
704
705
  registerIntoService: (e, t) => e.addMenuItem(t)
@@ -776,13 +777,13 @@ function ka(e, t) {
776
777
  permissions: n.groupPermissions
777
778
  });
778
779
  }
779
- function St(e) {
780
+ function It(e) {
780
781
  const t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
781
782
  for (const a of e)
782
783
  a.group || a.groupConfig ? ka(a, t) : a.title && n.set(Ke(a), { ...a });
783
- return Ia([...t.values(), ...n.values()]);
784
+ return Sa([...t.values(), ...n.values()]);
784
785
  }
785
- function Ia(e) {
786
+ function Sa(e) {
786
787
  return e.map(
787
788
  (t) => ({
788
789
  ...t,
@@ -790,16 +791,16 @@ function Ia(e) {
790
791
  })
791
792
  ).sort(ya);
792
793
  }
793
- function Sa() {
794
- const e = I([]);
794
+ function Ia() {
795
+ const e = S([]);
795
796
  let t = [];
796
- const n = I(new Map(ze.value));
797
+ const n = S(new Map(ze.value));
797
798
  function a(l) {
798
- t.push(l), e.value = St(t);
799
+ t.push(l), e.value = It(t);
799
800
  }
800
801
  function o(l) {
801
802
  const s = t.length;
802
- t = t.filter((u) => !ft(u, l)), t.length !== s && (e.value = St(t));
803
+ t = t.filter((u) => !ft(u, l)), t.length !== s && (e.value = It(t));
803
804
  }
804
805
  const i = {
805
806
  addMenuItem: a,
@@ -831,7 +832,7 @@ function Ge(e) {
831
832
  }
832
833
  const $a = ge("use-menu-service"), Kt = Ge({
833
834
  key: gn,
834
- create: Sa,
835
+ create: Ia,
835
836
  bus: ve,
836
837
  name: "MenuService",
837
838
  onMissing: () => $a.error("Menu service not found in current context. Injection chain:", We())
@@ -844,10 +845,10 @@ function er() {
844
845
  }
845
846
  function Ye() {
846
847
  return {
847
- isMobile: Y(hn, I(!1)),
848
- isDesktop: Y(yn, I(!0)),
849
- isPhone: Y(bn, I(!1)),
850
- isTablet: Y(pn, I(!1)),
848
+ isMobile: Y(hn, S(!1)),
849
+ isDesktop: Y(yn, S(!0)),
850
+ isPhone: Y(bn, S(!1)),
851
+ isTablet: Y(pn, S(!1)),
851
852
  isTouch: Y(mn, !1)
852
853
  };
853
854
  }
@@ -881,7 +882,7 @@ function Ea() {
881
882
  }
882
883
  const La = ge("use-error-handler");
883
884
  function Ba(e) {
884
- const t = I(null), n = We(), { appInsights: a } = Ea(), { user: o } = dt(), i = I(!1);
885
+ const t = S(null), n = We(), { appInsights: a } = Ea(), { user: o } = dt(), i = S(!1);
885
886
  function l() {
886
887
  t.value = null, n && n.emit("reset");
887
888
  }
@@ -896,7 +897,7 @@ function Ba(e) {
896
897
  userId: o.value?.id ?? "",
897
898
  userName: o.value?.userName ?? ""
898
899
  }
899
- }), La.error("Captured Error:", u.originalError), n && n.emit("error", u), Se(() => {
900
+ }), La.error("Captured Error:", u.originalError), n && n.emit("error", u), Ie(() => {
900
901
  i.value = !1;
901
902
  }), !e;
902
903
  }), {
@@ -939,7 +940,7 @@ const nr = z({
939
940
  return o && j(i, (s) => {
940
941
  const u = n.value.id;
941
942
  if (s) {
942
- if (Ca(s), In())
943
+ if (Ca(s), Sn())
943
944
  return;
944
945
  a.setBladeError(u, s);
945
946
  } else
@@ -975,7 +976,7 @@ const nr = z({
975
976
  }, a = e, o = Oe(), i = t, l = Y(xa, null), s = $(() => {
976
977
  const c = l?.size?.value ?? a.size;
977
978
  return n[c] ?? c;
978
- }), u = I(null), v = $(() => a.disabled || a.loading), m = I(!1);
979
+ }), u = S(null), v = $(() => a.disabled || a.loading), m = S(!1);
979
980
  j(v, (c) => {
980
981
  m.value = c && u.value === document.activeElement;
981
982
  });
@@ -1166,7 +1167,7 @@ const Da = ["aria-label"], Va = { class: "tw-sr-only" }, Pa = ["aria-label"], Fa
1166
1167
  },
1167
1168
  emits: ["scroll"],
1168
1169
  setup(e, { expose: t, emit: n }) {
1169
- const a = n, o = I(), i = I(!1), l = () => {
1170
+ const a = n, o = S(), i = S(!1), l = () => {
1170
1171
  o.value && o.value.scroll(0, 0);
1171
1172
  };
1172
1173
  function s(u) {
@@ -1250,7 +1251,7 @@ const Da = ["aria-label"], Va = { class: "tw-sr-only" }, Pa = ["aria-label"], Fa
1250
1251
  }
1251
1252
  return g;
1252
1253
  }
1253
- const l = $(() => na(a.src, a.thumbnailSize) ?? a.src), s = I(!1), u = $(() => s.value ? a.src : l.value);
1254
+ const l = $(() => na(a.src, a.thumbnailSize) ?? a.src), s = S(!1), u = $(() => s.value ? a.src : l.value);
1254
1255
  j(
1255
1256
  () => [a.src, a.thumbnailSize],
1256
1257
  () => {
@@ -1444,7 +1445,7 @@ const Da = ["aria-label"], Va = { class: "tw-sr-only" }, Pa = ["aria-label"], Fa
1444
1445
  speed: { default: void 0 }
1445
1446
  },
1446
1447
  setup(e, { expose: t }) {
1447
- const n = e, a = I(null), o = {};
1448
+ const n = e, a = S(null), o = {};
1448
1449
  n.speed !== void 0 && (o.speed = n.speed);
1449
1450
  const { canScrollUp: i, canScrollDown: l, startScroll: s, stopScroll: u, updateScrollState: v } = ua(
1450
1451
  a,
@@ -1558,7 +1559,7 @@ function ur() {
1558
1559
  };
1559
1560
  return jt.replayInto(n), n;
1560
1561
  }
1561
- const dl = ge("use-theme"), he = I([
1562
+ const dl = ge("use-theme"), he = S([
1562
1563
  { key: "light", localizationKey: "CORE.THEMES.LIGHT" },
1563
1564
  { key: "dark", localizationKey: "CORE.THEMES.DARK" }
1564
1565
  ]), cr = Mn(() => {
@@ -1651,7 +1652,7 @@ function vl(e = {}) {
1651
1652
  return mt.replayInto(s), s;
1652
1653
  }
1653
1654
  const wt = ge("use-dashboard"), Ht = Ge({
1654
- key: Sn,
1655
+ key: In,
1655
1656
  bus: mt,
1656
1657
  name: "DashboardService",
1657
1658
  create: () => {
@@ -1742,7 +1743,7 @@ const pl = {
1742
1743
  }, bl = { class: "vc-date-picker__field-container" }, yl = { class: "vc-date-picker__field" }, hl = ["aria-label"], kl = {
1743
1744
  key: 0,
1744
1745
  class: "vc-date-picker__loading"
1745
- }, Il = { key: 0 }, Sl = { key: 1 }, $l = /* @__PURE__ */ z({
1746
+ }, Sl = { key: 0 }, Il = { key: 1 }, $l = /* @__PURE__ */ z({
1746
1747
  __name: "vc-date-picker",
1747
1748
  props: {
1748
1749
  modelValue: {},
@@ -1767,7 +1768,7 @@ const pl = {
1767
1768
  },
1768
1769
  emits: ["update:modelValue", "blur", "focus"],
1769
1770
  setup(e, { emit: t }) {
1770
- const n = e, a = t, o = Oe(), { isMobile: i, isDesktop: l } = Ye(), { labelId: s, errorId: u, hintId: v, invalid: m, resolvedDisabled: g, ariaRequired: d, ariaDescribedBy: c } = He(n), b = I(!1), h = window.navigator.language, E = I(n.modelValue), p = I(null), S = $(() => n.type === "date" && "9999-12-31" || void 0), F = (() => {
1771
+ const n = e, a = t, o = Oe(), { isMobile: i, isDesktop: l } = Ye(), { labelId: s, errorId: u, hintId: v, invalid: m, resolvedDisabled: g, ariaRequired: d, ariaDescribedBy: c } = He(n), b = S(!1), h = window.navigator.language, E = S(n.modelValue), p = S(null), I = $(() => n.type === "date" && "9999-12-31" || void 0), F = (() => {
1771
1772
  const C = new Intl.DateTimeFormat(h, { hour: "numeric" }).format();
1772
1773
  return Number.isInteger(Number(C));
1773
1774
  })(), K = $(() => {
@@ -1888,7 +1889,7 @@ const pl = {
1888
1889
  disabled: r(g),
1889
1890
  name: e.name,
1890
1891
  autofocus: e.autofocus,
1891
- "max-date": S.value,
1892
+ "max-date": I.value,
1892
1893
  "time-picker-inline": "",
1893
1894
  "enable-time-picker": e.type === "datetime-local",
1894
1895
  format: re,
@@ -1942,7 +1943,7 @@ const pl = {
1942
1943
  mode: "out-in"
1943
1944
  }, {
1944
1945
  default: O(() => [
1945
- r(m) && e.errorMessage ? (f(), y("div", Il, [
1946
+ r(m) && e.errorMessage ? (f(), y("div", Sl, [
1946
1947
  M(r(me), {
1947
1948
  id: r(u),
1948
1949
  class: "vc-date-picker__hint-error",
@@ -1953,7 +1954,7 @@ const pl = {
1953
1954
  ]),
1954
1955
  _: 1
1955
1956
  }, 8, ["id"])
1956
- ])) : (f(), y("div", Sl, [
1957
+ ])) : (f(), y("div", Il, [
1957
1958
  e.hint ? (f(), P(r(me), {
1958
1959
  key: 0,
1959
1960
  id: r(v),
@@ -2008,7 +2009,7 @@ const pl = {
2008
2009
  resolvedDisabled: g,
2009
2010
  ariaRequired: d,
2010
2011
  ariaDescribedBy: c
2011
- } = He(o), b = I(!1), h = I(!1), E = I(), p = I(), S = I(o.modelValue ?? ""), F = I("");
2012
+ } = He(o), b = S(!1), h = S(!1), E = S(), p = S(), I = S(o.modelValue ?? ""), F = S("");
2012
2013
  function K(q) {
2013
2014
  if (!q || typeof q != "string") {
2014
2015
  F.value = "";
@@ -2016,7 +2017,7 @@ const pl = {
2016
2017
  }
2017
2018
  const C = q.trim();
2018
2019
  if (ta(C)) {
2019
- F.value = It(C);
2020
+ F.value = St(C);
2020
2021
  return;
2021
2022
  }
2022
2023
  const B = ea(C);
@@ -2025,7 +2026,7 @@ const pl = {
2025
2026
  j(
2026
2027
  () => o.modelValue,
2027
2028
  (q) => {
2028
- h.value || (h.value = !0, S.value = q ?? "", Se(() => {
2029
+ h.value || (h.value = !0, I.value = q ?? "", Ie(() => {
2029
2030
  K(q ?? ""), h.value = !1;
2030
2031
  }));
2031
2032
  },
@@ -2034,22 +2035,22 @@ const pl = {
2034
2035
  q && p.value && (p.value.value = q);
2035
2036
  });
2036
2037
  function _() {
2037
- h.value || (h.value = !0, i("update:modelValue", S.value || null), Se(() => {
2038
- K(S.value), h.value = !1;
2038
+ h.value || (h.value = !0, i("update:modelValue", I.value || null), Ie(() => {
2039
+ K(I.value), h.value = !1;
2039
2040
  }));
2040
2041
  }
2041
2042
  function J(q) {
2042
2043
  const C = q.target;
2043
2044
  if (C?.value) {
2044
- const B = It(C.value);
2045
- F.value = B, S.value = B, i("update:modelValue", B);
2045
+ const B = St(C.value);
2046
+ F.value = B, I.value = B, i("update:modelValue", B);
2046
2047
  }
2047
2048
  }
2048
2049
  function re() {
2049
2050
  p.value?.click();
2050
2051
  }
2051
2052
  function ae() {
2052
- S.value = "", F.value = "", i("update:modelValue", null);
2053
+ I.value = "", F.value = "", i("update:modelValue", null);
2053
2054
  }
2054
2055
  function te(q) {
2055
2056
  b.value = !1, i("blur", q);
@@ -2117,7 +2118,7 @@ const pl = {
2117
2118
  id: r(l),
2118
2119
  ref_key: "inputRef",
2119
2120
  ref: E,
2120
- "onUpdate:modelValue": C[0] || (C[0] = (B) => S.value = B),
2121
+ "onUpdate:modelValue": C[0] || (C[0] = (B) => I.value = B),
2121
2122
  placeholder: e.placeholder,
2122
2123
  type: "text",
2123
2124
  disabled: r(g),
@@ -2134,7 +2135,7 @@ const pl = {
2134
2135
  onFocus: ce,
2135
2136
  onInput: _
2136
2137
  }, null, 40, Ll), [
2137
- [un, S.value]
2138
+ [un, I.value]
2138
2139
  ]),
2139
2140
  x("div", Bl, [
2140
2141
  x("button", {
@@ -2155,7 +2156,7 @@ const pl = {
2155
2156
  onChange: J
2156
2157
  }, null, 40, xl)
2157
2158
  ]),
2158
- e.clearable && S.value && !e.disabled ? (f(), y("button", {
2159
+ e.clearable && I.value && !e.disabled ? (f(), y("button", {
2159
2160
  key: 0,
2160
2161
  type: "button",
2161
2162
  class: "vc-color-input__clear",
@@ -2278,7 +2279,7 @@ const pl = {
2278
2279
  ariaDescribedBy: h
2279
2280
  } = He(n);
2280
2281
  let E, p;
2281
- const S = I(), F = I(), K = I(r(n.type)), _ = I(!1), J = I(), re = $({
2282
+ const I = S(), F = S(), K = S(r(n.type)), _ = S(!1), J = S(), re = $({
2282
2283
  get() {
2283
2284
  return K.value === "integer" ? "number" : K.value;
2284
2285
  },
@@ -2287,16 +2288,16 @@ const pl = {
2287
2288
  }
2288
2289
  }), ae = $(() => r(n.modelValue)), te = $({
2289
2290
  get() {
2290
- return (n.type === "integer" || n.type === "number") && isNaN(S.value) ? "" : S.value;
2291
+ return (n.type === "integer" || n.type === "number") && isNaN(I.value) ? "" : I.value;
2291
2292
  },
2292
2293
  set(k) {
2293
- (n.type === "number" || n.type === "integer") && k < 0 ? S.value = Math.abs(k) : S.value = k, se(S.value);
2294
+ (n.type === "number" || n.type === "integer") && k < 0 ? I.value = Math.abs(k) : I.value = k, se(I.value);
2294
2295
  }
2295
2296
  });
2296
2297
  j(
2297
2298
  ae,
2298
2299
  (k) => {
2299
- n.type === "number" && k !== null ? J.value = parseFloat(k) : n.type === "integer" && k !== null ? J.value = Math.trunc(k) : J.value = k, S.value !== J.value && (S.value = J.value);
2300
+ n.type === "number" && k !== null ? J.value = parseFloat(k) : n.type === "integer" && k !== null ? J.value = Math.trunc(k) : J.value = k, I.value !== J.value && (I.value = J.value);
2300
2301
  },
2301
2302
  { immediate: !0 }
2302
2303
  );
@@ -2320,7 +2321,7 @@ const pl = {
2320
2321
  }, n.debounce !== void 0 ? (clearTimeout(E), E = setTimeout(p, +n.debounce)) : p();
2321
2322
  }
2322
2323
  function C() {
2323
- S.value = null, i("update:modelValue", null);
2324
+ I.value = null, i("update:modelValue", null);
2324
2325
  }
2325
2326
  function B(k) {
2326
2327
  _.value = !1, i("blur", k);
@@ -2589,26 +2590,26 @@ function Zl(e = {}) {
2589
2590
  onEnter: a,
2590
2591
  onEscape: o,
2591
2592
  loop: i = !0
2592
- } = e, l = I(null), s = I(-1), u = (p) => {
2593
+ } = e, l = S(null), s = S(-1), u = (p) => {
2593
2594
  (s.value >= p.length || s.value < 0) && (s.value = p.length > 0 ? 0 : -1);
2594
2595
  }, v = (p) => {
2595
2596
  if (!l.value) return;
2596
- const S = Array.from(l.value.querySelectorAll(n));
2597
- if (S.length)
2598
- switch (u(S), p.key) {
2597
+ const I = Array.from(l.value.querySelectorAll(n));
2598
+ if (I.length)
2599
+ switch (u(I), p.key) {
2599
2600
  case "Tab":
2600
- m(p, S);
2601
+ m(p, I);
2601
2602
  break;
2602
2603
  case "ArrowDown":
2603
- p.preventDefault(), g(S);
2604
+ p.preventDefault(), g(I);
2604
2605
  break;
2605
2606
  case "ArrowUp":
2606
- p.preventDefault(), d(S);
2607
+ p.preventDefault(), d(I);
2607
2608
  break;
2608
2609
  case "Enter":
2609
2610
  case " ":
2610
- if (s.value >= 0 && s.value < S.length) {
2611
- const F = S[s.value];
2611
+ if (s.value >= 0 && s.value < I.length) {
2612
+ const F = I[s.value];
2612
2613
  F && (p.preventDefault(), a ? a(F) : typeof F.click == "function" && F.click());
2613
2614
  }
2614
2615
  break;
@@ -2616,8 +2617,8 @@ function Zl(e = {}) {
2616
2617
  o && (p.preventDefault(), p.stopPropagation(), o());
2617
2618
  break;
2618
2619
  }
2619
- }, m = (p, S) => {
2620
- p.shiftKey ? d(S) : g(S);
2620
+ }, m = (p, I) => {
2621
+ p.shiftKey ? d(I) : g(I);
2621
2622
  }, g = (p) => {
2622
2623
  if (!p.length) return;
2623
2624
  if (u(p), s.value < p.length - 1)
@@ -2626,8 +2627,8 @@ function Zl(e = {}) {
2626
2627
  s.value = 0;
2627
2628
  else
2628
2629
  return;
2629
- const S = p[s.value];
2630
- S && typeof S.focus == "function" && S.focus();
2630
+ const I = p[s.value];
2631
+ I && typeof I.focus == "function" && I.focus();
2631
2632
  }, d = (p) => {
2632
2633
  if (!p.length) return;
2633
2634
  if (u(p), s.value > 0)
@@ -2636,18 +2637,18 @@ function Zl(e = {}) {
2636
2637
  s.value = p.length - 1;
2637
2638
  else
2638
2639
  return;
2639
- const S = p[s.value];
2640
- S && typeof S.focus == "function" && S.focus();
2640
+ const I = p[s.value];
2641
+ I && typeof I.focus == "function" && I.focus();
2641
2642
  }, c = (p) => {
2642
2643
  if (!p.length) return;
2643
2644
  s.value = 0;
2644
- const S = p[0];
2645
- S && typeof S.focus == "function" && S.focus();
2645
+ const I = p[0];
2646
+ I && typeof I.focus == "function" && I.focus();
2646
2647
  }, b = (p) => {
2647
2648
  if (!p.length) return;
2648
2649
  s.value = p.length - 1;
2649
- const S = p[p.length - 1];
2650
- S && typeof S.focus == "function" && S.focus();
2650
+ const I = p[p.length - 1];
2651
+ I && typeof I.focus == "function" && I.focus();
2651
2652
  }, h = (p) => {
2652
2653
  l.value && l.value.removeEventListener("keydown", v), l.value = p, p.addEventListener("keydown", v);
2653
2654
  }, E = () => {
@@ -2689,8 +2690,8 @@ function Zl(e = {}) {
2689
2690
  },
2690
2691
  setFocusedIndex: (p) => {
2691
2692
  if (l.value) {
2692
- const S = Array.from(l.value.querySelectorAll(n));
2693
- p >= 0 && p < S.length && (s.value = p);
2693
+ const I = Array.from(l.value.querySelectorAll(n));
2694
+ p >= 0 && p < I.length && (s.value = p);
2694
2695
  }
2695
2696
  },
2696
2697
  getFocusedIndex: () => s.value
@@ -2721,7 +2722,7 @@ function Ql(e) {
2721
2722
  };
2722
2723
  }
2723
2724
  function _l() {
2724
- const e = I(null), t = I(!1);
2725
+ const e = S(null), t = S(!1);
2725
2726
  let n = null, a = null;
2726
2727
  function o() {
2727
2728
  if (e.value && !t.value) {
@@ -2751,7 +2752,7 @@ function _l() {
2751
2752
  };
2752
2753
  }
2753
2754
  function eo(e) {
2754
- const t = I(!1), n = I(!1), a = I(null), o = I(null);
2755
+ const t = S(!1), n = S(!1), a = S(null), o = S(null);
2755
2756
  function i() {
2756
2757
  return {
2757
2758
  name: "sameWidth",
@@ -2797,9 +2798,9 @@ function eo(e) {
2797
2798
  };
2798
2799
  }
2799
2800
  function to(e) {
2800
- const t = I([]), n = I(null), a = I(0), o = I(0), i = I(!1), l = I(!1), s = I(!1), u = I(!1), v = I(), m = I([]), g = I(!1), d = /* @__PURE__ */ new Map();
2801
+ const t = S([]), n = S(null), a = S(0), o = S(0), i = S(!1), l = S(!1), s = S(!1), u = S(!1), v = S(), m = S([]), g = S(!1), d = /* @__PURE__ */ new Map();
2801
2802
  let c = !1, b = 0, h = 0, E = 0, p;
2802
- const S = $(() => n.value ?? t.value), F = $(() => n.value !== null ? !l.value && n.value.length < o.value : !i.value && t.value.length < a.value);
2803
+ const I = $(() => n.value ?? t.value), F = $(() => n.value !== null ? !l.value && n.value.length < o.value : !i.value && t.value.length < a.value);
2803
2804
  function K(B) {
2804
2805
  for (const D of B) {
2805
2806
  const V = String(e.getOptionValue.value(D));
@@ -2927,7 +2928,7 @@ function to(e) {
2927
2928
  },
2928
2929
  { deep: !1 }
2929
2930
  ), {
2930
- displayItems: S,
2931
+ displayItems: I,
2931
2932
  loading: s,
2932
2933
  searchLoading: u,
2933
2934
  hasMore: F,
@@ -3061,7 +3062,7 @@ const ao = { class: "vc-select__control" }, lo = {
3061
3062
  }, ko = {
3062
3063
  key: 1,
3063
3064
  class: "vc-select__suffix"
3064
- }, Io = ["aria-label"], So = {
3065
+ }, So = ["aria-label"], Io = {
3065
3066
  key: 1,
3066
3067
  class: "vc-select__append-inner"
3067
3068
  }, $o = {
@@ -3102,7 +3103,7 @@ const ao = { class: "vc-select__control" }, lo = {
3102
3103
  },
3103
3104
  emits: ["focus", "blur", "reset", "removeAtIndex"],
3104
3105
  setup(e, { expose: t }) {
3105
- const { t: n } = we({ useScope: "global" }), a = I(null);
3106
+ const { t: n } = we({ useScope: "global" }), a = S(null);
3106
3107
  return t({
3107
3108
  toggleRef: a
3108
3109
  }), (o, i) => (f(), y("div", {
@@ -3225,9 +3226,9 @@ const ao = { class: "vc-select__control" }, lo = {
3225
3226
  size: "xs",
3226
3227
  icon: "lucide-x"
3227
3228
  })
3228
- ], 40, Io)) : w("", !0)
3229
+ ], 40, So)) : w("", !0)
3229
3230
  ]),
3230
- o.$slots["append-inner"] ? (f(), y("div", So, [
3231
+ o.$slots["append-inner"] ? (f(), y("div", Io, [
3231
3232
  T(o.$slots, "append-inner")
3232
3233
  ])) : w("", !0),
3233
3234
  e.loading || e.listLoading || e.defaultOptionLoading ? (f(), y("div", $o, [
@@ -3341,7 +3342,7 @@ const ao = { class: "vc-select__control" }, lo = {
3341
3342
  },
3342
3343
  emits: ["input", "clickOutside"],
3343
3344
  setup(e, { expose: t, emit: n }) {
3344
- const a = e, o = n, { t: i } = we({ useScope: "global" }), { teleportTarget: l } = wn(), s = I(null), u = I(null), v = I(null), m = I(null), g = $(() => v.value?.viewportRef ?? null);
3345
+ const a = e, o = n, { t: i } = we({ useScope: "global" }), { teleportTarget: l } = wn(), s = S(null), u = S(null), v = S(null), m = S(null), g = $(() => v.value?.viewportRef ?? null);
3345
3346
  function d(c) {
3346
3347
  const b = g.value;
3347
3348
  if (!b) return;
@@ -3355,12 +3356,12 @@ const ao = { class: "vc-select__control" }, lo = {
3355
3356
  return j(
3356
3357
  () => a.isOpened,
3357
3358
  (c) => {
3358
- c && Se(() => v.value?.updateScrollState());
3359
+ c && Ie(() => v.value?.updateScrollState());
3359
3360
  }
3360
3361
  ), j(
3361
3362
  () => a.optionScope.length,
3362
3363
  () => {
3363
- a.isOpened && Se(() => v.value?.updateScrollState());
3364
+ a.isOpened && Ie(() => v.value?.updateScrollState());
3364
3365
  }
3365
3366
  ), t({
3366
3367
  dropdownElRef: s,
@@ -3505,7 +3506,7 @@ const ao = { class: "vc-select__control" }, lo = {
3505
3506
  resolvedName: b,
3506
3507
  ariaRequired: h,
3507
3508
  ariaDescribedBy: E
3508
- } = He(n), p = $(() => `${u.value}-listbox`), S = I(null), F = I(null), { selectRootRef: K, isSelectVisible: _, ensureVisibility: J } = _l(), { getOptionValue: re, getOptionLabel: ae, getOption: te, getEmittingOptionValue: ce, fieldValueIsFilled: se } = Ql({
3509
+ } = He(n), p = $(() => `${u.value}-listbox`), I = S(null), F = S(null), { selectRootRef: K, isSelectVisible: _, ensureVisibility: J } = _l(), { getOptionValue: re, getOptionLabel: ae, getOption: te, getEmittingOptionValue: ce, fieldValueIsFilled: se } = Ql({
3509
3510
  optionValue: () => n.optionValue,
3510
3511
  optionLabel: () => n.optionLabel
3511
3512
  }), { isOpened: q, isFocused: C, dropdownToggleRef: B, dropdownRef: D, popper: V, dropdownStyle: k, toggleDropdown: R } = eo({
@@ -3517,7 +3518,7 @@ const ao = { class: "vc-select__control" }, lo = {
3517
3518
  ensureVisibility: J
3518
3519
  });
3519
3520
  tt(() => {
3520
- B.value = S.value?.toggleRef ?? null;
3521
+ B.value = I.value?.toggleRef ?? null;
3521
3522
  }), tt(() => {
3522
3523
  D.value = F.value?.dropdownElRef ?? null;
3523
3524
  });
@@ -3565,8 +3566,8 @@ const ao = { class: "vc-select__control" }, lo = {
3565
3566
  de.value && de.value[Q] && de.value[Q].toggleOption(de.value[Q].opt);
3566
3567
  },
3567
3568
  onEscape: () => {
3568
- q.value = !1, i("close"), Se(() => {
3569
- S.value?.toggleRef?.querySelector('[role="combobox"]')?.focus();
3569
+ q.value = !1, i("close"), Ie(() => {
3570
+ I.value?.toggleRef?.querySelector('[role="combobox"]')?.focus();
3570
3571
  });
3571
3572
  }
3572
3573
  });
@@ -3574,7 +3575,7 @@ const ao = { class: "vc-select__control" }, lo = {
3574
3575
  q.value = !1, i("close");
3575
3576
  }
3576
3577
  return j(q, async (N) => {
3577
- N ? (await L.open(), Se(() => {
3578
+ N ? (await L.open(), Ie(() => {
3578
3579
  V.update();
3579
3580
  const Q = F.value?.dropdownElRef, le = F.value?.searchInputRef;
3580
3581
  if (Q)
@@ -3662,7 +3663,7 @@ const ao = { class: "vc-select__control" }, lo = {
3662
3663
  x("div", qo, [
3663
3664
  M(xo, {
3664
3665
  ref_key: "selectTriggerRef",
3665
- ref: S,
3666
+ ref: I,
3666
3667
  "is-opened": r(q),
3667
3668
  "has-value": r(xe),
3668
3669
  "selected-scope": r(H),
@@ -3763,7 +3764,7 @@ const ao = { class: "vc-select__control" }, lo = {
3763
3764
  "list-loading": r(L).loading.value || r(L).searchLoading.value,
3764
3765
  "options-list-length": r(L).displayItems.value.length,
3765
3766
  "has-next-page": r(L).hasMore.value,
3766
- "dropdown-toggle-ref": S.value?.toggleRef ?? null,
3767
+ "dropdown-toggle-ref": I.value?.toggleRef ?? null,
3767
3768
  onInput: r(L).onInput,
3768
3769
  onClickOutside: nn
3769
3770
  }), oe({ _: 2 }, [
@@ -4085,20 +4086,20 @@ const ao = { class: "vc-select__control" }, lo = {
4085
4086
  }, 8, ["options", "option-label", "option-value", "searchable", "debounce", "disabled", "label", "required", "option", "model-value", "tooltip", "placeholder", "hint", "clearable", "prefix", "suffix", "name", "loading", "autofocus", "error", "error-message", "maxlength"]));
4086
4087
  }
4087
4088
  }), Jt = Symbol("VcAppBarState"), Xo = {
4088
- activeWidgetId: I(null),
4089
- activeMobileActionId: I(null)
4089
+ activeWidgetId: S(null),
4090
+ activeMobileActionId: S(null)
4090
4091
  };
4091
4092
  function kr() {
4092
4093
  const e = {
4093
- activeWidgetId: I(null),
4094
- activeMobileActionId: I(null)
4094
+ activeWidgetId: S(null),
4095
+ activeMobileActionId: S(null)
4095
4096
  };
4096
4097
  return Et(Jt, e), e;
4097
4098
  }
4098
- function Ir() {
4099
+ function Sr() {
4099
4100
  return Y(Jt, Xo);
4100
4101
  }
4101
- const Sr = Symbol("TableContext"), Zo = Symbol("ColumnCollector"), $r = Symbol("FillerWidth"), wr = Symbol("IsColumnReordering"), Or = Symbol("MobileCellEdit"), Er = (e, t) => {
4102
+ const Ir = Symbol("TableContext"), Zo = Symbol("ColumnCollector"), $r = Symbol("FillerWidth"), wr = Symbol("IsColumnReordering"), Or = Symbol("MobileCellEdit"), Er = (e, t) => {
4102
4103
  const n = e.__vccOpts || e;
4103
4104
  for (const [a, o] of t)
4104
4105
  n[a] = o;
@@ -4317,7 +4318,7 @@ const Qo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4317
4318
  validateOnMount: { type: Boolean }
4318
4319
  },
4319
4320
  setup(e) {
4320
- const t = e, n = I(null);
4321
+ const t = e, n = S(null);
4321
4322
  return je(() => {
4322
4323
  const a = t.modelValue === void 0 || t.modelValue === null || t.modelValue === "";
4323
4324
  (t.validateOnMount || a && t.rules) && n.value?.validate();
@@ -4755,7 +4756,7 @@ export {
4755
4756
  Tr as C,
4756
4757
  kr as D,
4757
4758
  hi as E,
4758
- Ir as F,
4759
+ Sr as F,
4759
4760
  Oe as G,
4760
4761
  Xt as H,
4761
4762
  ra as I,
@@ -4781,7 +4782,7 @@ export {
4781
4782
  Cr as a$,
4782
4783
  Wt as a0,
4783
4784
  mr as a1,
4784
- Sa as a2,
4785
+ Ia as a2,
4785
4786
  gl as a3,
4786
4787
  wa as a4,
4787
4788
  Oa as a5,
@@ -4812,7 +4813,7 @@ export {
4812
4813
  hr as aU,
4813
4814
  Zl as aV,
4814
4815
  sa as aW,
4815
- Sr as aX,
4816
+ Ir as aX,
4816
4817
  $r as aY,
4817
4818
  wr as aZ,
4818
4819
  xr as a_,
@@ -4841,7 +4842,7 @@ export {
4841
4842
  jn as aw,
4842
4843
  ta as ax,
4843
4844
  ca as ay,
4844
- It as az,
4845
+ St as az,
4845
4846
  ci as b,
4846
4847
  Or as b0,
4847
4848
  Zo as b1,