@vc-shell/framework 2.6.0-rc.0-pr356.38334f4 → 2.6.0-rc.0-pr357.46be5aa

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 (30) hide show
  1. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-dbUBuyX1.js → VcScheduler.vue_vue_type_script_setup_true_lang-BUhBKbED.js} +6322 -6291
  2. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BUhBKbED.js.map +1 -0
  3. package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-BFmpC0MN.js → VcScheduler.vue_vue_type_style_index_0_lang-DElLkk-6.js} +524 -511
  4. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-DElLkk-6.js.map +1 -0
  5. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-f8MTDeS0.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DHc6Jrkl.js} +1 -1
  6. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-f8MTDeS0.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DHc6Jrkl.js.map} +1 -1
  7. package/dist/core/utilities/focus.d.ts +0 -23
  8. package/dist/core/utilities/focus.d.ts.map +1 -1
  9. package/dist/dashboard/index.js +1 -1
  10. package/dist/framework.js +9 -9
  11. package/dist/shell/_internal/notifications/components/notification-container/index.d.ts +2 -2
  12. package/dist/tsconfig.tsbuildinfo +1 -1
  13. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts +2 -0
  14. package/dist/ui/components/molecules/vc-color-input/vc-color-input.vue.d.ts.map +1 -1
  15. package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts +7 -0
  16. package/dist/ui/components/molecules/vc-date-picker/vc-date-picker.vue.d.ts.map +1 -1
  17. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +8 -0
  18. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  19. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +4 -0
  20. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
  21. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts +2 -0
  22. package/dist/ui/components/molecules/vc-textarea/vc-textarea.vue.d.ts.map +1 -1
  23. package/dist/ui/components/organisms/vc-blade/_internal/toolbar/ToolbarBaseButton.vue.d.ts.map +1 -1
  24. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  25. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +14 -0
  26. package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
  27. package/dist/ui/index.js +2 -2
  28. package/package.json +4 -4
  29. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-dbUBuyX1.js.map +0 -1
  30. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-BFmpC0MN.js.map +0 -1
@@ -1,11 +1,11 @@
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
- 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
- import { defineRule as Oe, Field as wn } from "vee-validate";
1
+ import { mergeProps as ne, computed as S, toValue as me, inject as Y, useId as an, ref as I, onBeforeUnmount as lt, reactive as Ye, provide as $t, getCurrentScope as ln, onScopeDispose as on, getCurrentInstance as qe, onErrorCaptured as rn, nextTick as ke, defineComponent as V, watch as H, unref as r, openBlock as v, createElementBlock as y, normalizeClass as W, createBlock as N, createCommentVNode as w, renderSlot as C, createElementVNode as L, toDisplayString as T, Fragment as Oe, renderList as ot, normalizeStyle as Ae, 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 re, createTextVNode as Q, Transition as Ne, withDirectives as rt, vModelText as sn, useAttrs as wt, vModelDynamic as un, onMounted as Ue, onUnmounted as Ot, Teleport as cn, normalizeProps as Te, guardReactiveProps as Re } from "vue";
2
+ import { c as fe, 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 K, 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
+ import { defineRule as Ee, Field as wn } from "vee-validate";
4
4
  import { a as bt } from "./vendor-vee-validate-rules-4oWUZPpG.js";
5
- import { a as Ct, s as On, c as En, b as Je, e as Re } from "./vendor-lodash-es-D2n90GJy.js";
5
+ import { a as Ct, s as On, c as En, b as Je, e as Me } from "./vendor-lodash-es-D2n90GJy.js";
6
6
  import { X as Ln } from "./vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js";
7
7
  import { d as xt, e as Bn, f as Cn, g as xn } from "./vendor-vueuse-core-_wFDcFkI.js";
8
- import { c as Tn, u as Ie } from "./vendor-vue-i18n-LO-EJStU.js";
8
+ import { c as Tn, u as Se } from "./vendor-vue-i18n-LO-EJStU.js";
9
9
  import { j as Rn } from "./vendor-vueuse-shared-CiuC98Kk.js";
10
10
  import { k as Mn } from "./vendor-tiptap-core-CZbeo7XQ.js";
11
11
  import "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
@@ -15,9 +15,9 @@ import { u as Vn } from "./vendor-floating-ui-vue-sCrhit51.js";
15
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
17
  import { p as Mt } from "./vendor-dompurify-DpIUMBYC.js";
18
- import { S as ye, h as zn, T as qn } from "./vendor-date-fns-C-55OMpS.js";
18
+ import { S as he, 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
- const ke = Tn({
20
+ const Ie = Tn({
21
21
  legacy: !1,
22
22
  globalInjection: !0,
23
23
  locale: "en",
@@ -27,9 +27,9 @@ const ke = Tn({
27
27
  function nt() {
28
28
  return Math.random().toString(36).substring(2, 9);
29
29
  }
30
- class re extends Error {
30
+ class se extends Error {
31
31
  constructor(t, n, a) {
32
- super(t), this.code = n, this.context = a, this.name = "FrameworkError", Error.captureStackTrace && Error.captureStackTrace(this, re);
32
+ super(t), this.code = n, this.context = a, this.name = "FrameworkError", Error.captureStackTrace && Error.captureStackTrace(this, se);
33
33
  }
34
34
  toJSON() {
35
35
  return {
@@ -41,17 +41,17 @@ class re extends Error {
41
41
  };
42
42
  }
43
43
  }
44
- class Pi extends re {
44
+ class Pi extends se {
45
45
  constructor(t, n) {
46
46
  super(t, "VALIDATION_ERROR", n), this.name = "ValidationError";
47
47
  }
48
48
  }
49
- class Fi extends re {
49
+ class Fi extends se {
50
50
  constructor(t, n) {
51
51
  super(t, "SERVICE_ERROR", n), this.name = "ServiceError";
52
52
  }
53
53
  }
54
- class Kn extends re {
54
+ class Kn extends se {
55
55
  constructor(t, n) {
56
56
  super(`${t} not provided. Make sure to call the corresponding 'provide' function.`, "INJECTION_ERROR", {
57
57
  serviceName: t,
@@ -59,7 +59,7 @@ class Kn extends re {
59
59
  }), this.name = "InjectionError";
60
60
  }
61
61
  }
62
- class zi extends re {
62
+ class zi extends se {
63
63
  constructor(t, n, a) {
64
64
  super(`Failed to register '${t}': ${n}`, "REGISTRATION_ERROR", {
65
65
  componentName: t,
@@ -67,7 +67,7 @@ class zi extends re {
67
67
  }), this.name = "RegistrationError";
68
68
  }
69
69
  }
70
- class qi extends re {
70
+ class qi extends se {
71
71
  constructor(t, n, a) {
72
72
  super(t, "BLADE_ERROR", {
73
73
  bladeId: n,
@@ -75,7 +75,7 @@ class qi extends re {
75
75
  }), this.name = "BladeError";
76
76
  }
77
77
  }
78
- class Ui extends re {
78
+ class Ui extends se {
79
79
  constructor(t, n, a) {
80
80
  super(`Failed to load module '${t}': ${n}`, "MODULE_LOAD_ERROR", {
81
81
  moduleId: t,
@@ -84,15 +84,15 @@ class Ui extends re {
84
84
  }
85
85
  }
86
86
  function Wn(e) {
87
- return e instanceof re;
87
+ return e instanceof se;
88
88
  }
89
89
  function Ki(e, t = "UNKNOWN_ERROR") {
90
- return Wn(e) ? e : e instanceof Error ? new re(e.message, t, {
90
+ return Wn(e) ? e : e instanceof Error ? new se(e.message, t, {
91
91
  originalError: e.name,
92
92
  stack: e.stack
93
- }) : new re(String(e), t);
93
+ }) : new se(String(e), t);
94
94
  }
95
- class me extends Error {
95
+ class pe extends Error {
96
96
  details;
97
97
  originalError;
98
98
  constructor(t, n, a) {
@@ -103,7 +103,7 @@ function jn(e) {
103
103
  return e instanceof Error && typeof e.status == "number" && typeof e.response == "string";
104
104
  }
105
105
  function Pe(e) {
106
- if (e instanceof me)
106
+ if (e instanceof pe)
107
107
  return e;
108
108
  if (jn(e)) {
109
109
  const { status: t, response: n } = e;
@@ -111,19 +111,19 @@ function Pe(e) {
111
111
  return Pe(JSON.parse(n));
112
112
  } catch {
113
113
  const a = `${t}: ${e.message || "Error"}`;
114
- return new me(a, n || e.message, e);
114
+ return new pe(a, n || e.message, e);
115
115
  }
116
116
  }
117
117
  if (e instanceof Error && "response" in e && e.response)
118
118
  return Pe(e.response);
119
119
  if (e instanceof Error)
120
- return new me(e.message, e.stack || String(e), e);
120
+ return new pe(e.message, e.stack || String(e), e);
121
121
  if (typeof e == "string")
122
122
  try {
123
123
  const t = JSON.parse(e);
124
124
  return Pe(t);
125
125
  } catch {
126
- return new me(e, e, e);
126
+ return new pe(e, e, e);
127
127
  }
128
128
  if (typeof e == "object" && e !== null) {
129
129
  const t = e;
@@ -131,12 +131,12 @@ function Pe(e) {
131
131
  const o = t.status, i = t.statusText || "Error", l = `${o}: ${i}`, s = t.data;
132
132
  let u = "";
133
133
  return s ? typeof s.exceptionMessage == "string" ? u = s.exceptionMessage : typeof s.message == "string" ? u = s.message : Array.isArray(s.errors) ? u = s.errors.join(`
134
- `) : typeof s == "string" ? u = s : u = JSON.stringify(s, null, 2) : u = JSON.stringify(t, null, 2), new me(l, u, e);
134
+ `) : typeof s == "string" ? u = s : u = JSON.stringify(s, null, 2) : u = JSON.stringify(t, null, 2), new pe(l, u, e);
135
135
  }
136
136
  const n = t.message || "An unexpected error occurred.", a = t.stack || JSON.stringify(t, null, 2);
137
- return new me(n, a, e);
137
+ return new pe(n, a, e);
138
138
  }
139
- return new me("An unknown error occurred.", String(e), e);
139
+ return new pe("An unknown error occurred.", String(e), e);
140
140
  }
141
141
  const Hn = [
142
142
  ["LLLL", "PPPp"],
@@ -163,18 +163,18 @@ function Yn(e) {
163
163
  t = t.replace(n, a);
164
164
  return t;
165
165
  }
166
- const ue = /* @__PURE__ */ new Map();
167
- ue.set("en-US", ye);
168
- ue.set("en", ye);
166
+ const ce = /* @__PURE__ */ new Map();
167
+ ce.set("en-US", he);
168
+ ce.set("en", he);
169
169
  async function Jn(e) {
170
- if (ue.has(e))
171
- return ue.get(e);
170
+ if (ce.has(e))
171
+ return ce.get(e);
172
172
  try {
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] ?? ye;
177
- return ue.set(e, a), a;
176
+ ), n = e.replace("-", ""), a = t.default ?? t[n] ?? he;
177
+ return ce.set(e, a), a;
178
178
  } catch {
179
179
  const t = e.split("-")[0];
180
180
  if (t !== e)
@@ -182,15 +182,15 @@ async function Jn(e) {
182
182
  const n = await import(
183
183
  /* @vite-ignore */
184
184
  `date-fns/locale/${t}`
185
- ), a = n.default ?? n[t] ?? ye;
186
- return ue.set(e, a), a;
185
+ ), a = n.default ?? n[t] ?? he;
186
+ return ce.set(e, a), a;
187
187
  } catch {
188
188
  }
189
- return ue.set(e, ye), ye;
189
+ return ce.set(e, he), he;
190
190
  }
191
191
  }
192
192
  function At(e) {
193
- return ue.has(e) ? ue.get(e) : (Jn(e), ye);
193
+ return ce.has(e) ? ce.get(e) : (Jn(e), he);
194
194
  }
195
195
  function Nt(e) {
196
196
  if (e == null || e === "") return null;
@@ -210,7 +210,7 @@ function Zn(e, t, n) {
210
210
  const o = Yn(t), i = n ? At(n) : void 0;
211
211
  return zn(a, o, { locale: i });
212
212
  }
213
- const Qn = de("color-utils");
213
+ const Qn = fe("color-utils");
214
214
  function _n(e) {
215
215
  if (!e || typeof e != "string")
216
216
  return null;
@@ -305,14 +305,14 @@ function aa() {
305
305
  hasAccess: t
306
306
  };
307
307
  }
308
- const be = de("notification"), ve = na();
308
+ const ye = fe("notification"), ge = na();
309
309
  function la(e) {
310
- ve.register(e);
310
+ ge.register(e);
311
311
  }
312
- function Ne(e, t) {
313
- const n = ve.get();
312
+ function De(e, t) {
313
+ const n = ge.get();
314
314
  if (!n) {
315
- be.debug("Backend not yet registered — notification call ignored.");
315
+ ye.debug("Backend not yet registered — notification call ignored.");
316
316
  return;
317
317
  }
318
318
  return t = ne(
@@ -323,22 +323,22 @@ function Ne(e, t) {
323
323
  content: e
324
324
  }, n.appendInstance(t), t.notificationId;
325
325
  }
326
- const se = (e, t) => Ne(e, { ...t, type: "default" });
327
- se.error = (e, t) => Ne(e, { ...t, type: "error" });
328
- se.warning = (e, t) => Ne(e, { ...t, type: "warning" });
329
- se.success = (e, t) => Ne(e, { ...t, type: "success" });
330
- se.clearAll = () => {
331
- ve.get()?.actions.clear();
326
+ const ue = (e, t) => De(e, { ...t, type: "default" });
327
+ ue.error = (e, t) => De(e, { ...t, type: "error" });
328
+ ue.warning = (e, t) => De(e, { ...t, type: "warning" });
329
+ ue.success = (e, t) => De(e, { ...t, type: "success" });
330
+ ue.clearAll = () => {
331
+ ge.get()?.actions.clear();
332
332
  };
333
- se.remove = (e) => {
334
- const t = ve.get();
333
+ ue.remove = (e) => {
334
+ const t = ge.get();
335
335
  t && (e ? t.actions.dismiss(e) : t.actions.clear());
336
336
  };
337
- se.update = (e, t) => {
338
- const n = ve.get();
337
+ ue.update = (e, t) => {
338
+ const n = ge.get();
339
339
  if (!n) return e;
340
340
  if (!n.hasNotification(e))
341
- return be.warn(`Cannot update: notification with ID ${e} not found`), e;
341
+ return ye.warn(`Cannot update: notification with ID ${e} not found`), e;
342
342
  const a = n.getNotification(String(e));
343
343
  if (a)
344
344
  if (t.position && t.position !== a.position) {
@@ -350,7 +350,7 @@ se.update = (e, t) => {
350
350
  };
351
351
  let i;
352
352
  if (t.content !== void 0 ? (i = t.content, delete o.content) : a.content && (i = a.content, delete o.content), i)
353
- return n.actions.remove(e), Ne(i, o);
353
+ return n.actions.remove(e), De(i, o);
354
354
  } else {
355
355
  const o = {
356
356
  ...t,
@@ -361,25 +361,25 @@ se.update = (e, t) => {
361
361
  }
362
362
  return e;
363
363
  };
364
- se.setPosition = (e) => {
365
- const t = ve.get();
364
+ ue.setPosition = (e) => {
365
+ const t = ge.get();
366
366
  t && (t.defaultOptions.position = e);
367
367
  };
368
- se.clearPosition = (e) => {
369
- const t = ve.get();
368
+ ue.clearPosition = (e) => {
369
+ const t = ge.get();
370
370
  if (!t) return;
371
371
  t.getAllNotifications().filter((a) => (a.position || t.defaultOptions.position) === e).forEach((a) => {
372
372
  a.notificationId && t.actions.dismiss(a.notificationId);
373
373
  });
374
374
  };
375
- se.debug = () => {
376
- const e = ve.get();
375
+ ue.debug = () => {
376
+ const e = ge.get();
377
377
  if (!e)
378
- return be.debug("Backend not registered"), { active: [], defaultOptions: {} };
378
+ return ye.debug("Backend not registered"), { active: [], defaultOptions: {} };
379
379
  Object.entries(e.defaultOptions).forEach(([n, a]) => {
380
- be.debug(`Default option ${n}: `, a);
380
+ ye.debug(`Default option ${n}: `, a);
381
381
  }), Object.entries(e.actions).forEach(([n]) => {
382
- be.debug(`Available action: ${n}`);
382
+ ye.debug(`Available action: ${n}`);
383
383
  });
384
384
  const t = e.getAllNotifications().reduce((n, a) => {
385
385
  const o = a.position || e.defaultOptions.position;
@@ -390,7 +390,7 @@ se.debug = () => {
390
390
  }), n;
391
391
  }, {});
392
392
  return Object.entries(t).forEach(([n, a]) => {
393
- be.debug(`Position ${n}: ${a.length} notifications`), a.forEach((o) => be.debug(` - ${o.id} (${o.type}): ${o.content}`));
393
+ ye.debug(`Position ${n}: ${a.length} notifications`), a.forEach((o) => ye.debug(` - ${o.id} (${o.type}): ${o.content}`));
394
394
  }), {
395
395
  active: e.getAllNotifications(),
396
396
  defaultOptions: e.defaultOptions
@@ -398,17 +398,17 @@ se.debug = () => {
398
398
  };
399
399
  const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
400
400
  __proto__: null,
401
- notification: se,
401
+ notification: ue,
402
402
  setNotificationBackend: la
403
403
  }, Symbol.toStringTag, { value: "Module" }));
404
404
  function ia(e, t, n = {}) {
405
- const a = $(() => ge(n.placement) ?? "bottom"), o = $(() => ge(n.strategy) ?? "absolute"), i = $(() => {
406
- const u = ge(n.middleware);
405
+ const a = S(() => me(n.placement) ?? "bottom"), o = S(() => me(n.strategy) ?? "absolute"), i = S(() => {
406
+ const u = me(n.middleware);
407
407
  if (u?.length)
408
408
  return u;
409
409
  const f = [];
410
- ge(n.enableFlip) !== !1 && f.push(Tt({ padding: n.shiftPadding ?? 8 })), ge(n.enableShift) !== !1 && f.push(Rt({ padding: n.shiftPadding ?? 8 }));
411
- const m = ge(n.offset);
410
+ me(n.enableFlip) !== !1 && f.push(Tt({ padding: n.shiftPadding ?? 8 })), me(n.enableShift) !== !1 && f.push(Rt({ padding: n.shiftPadding ?? 8 }));
411
+ const m = me(n.offset);
412
412
  return typeof m == "number" ? f.push(tt(m)) : f.push(
413
413
  tt({
414
414
  mainAxis: m?.mainAxis ?? 0,
@@ -419,9 +419,9 @@ function ia(e, t, n = {}) {
419
419
  }), l = Vn(e, t, {
420
420
  placement: a,
421
421
  strategy: o,
422
- whileElementsMounted: ge(n.autoUpdate) === !1 ? void 0 : Pn,
422
+ whileElementsMounted: me(n.autoUpdate) === !1 ? void 0 : Pn,
423
423
  middleware: i
424
- }), s = $(() => ({
424
+ }), s = S(() => ({
425
425
  position: o.value,
426
426
  top: `${l.y.value ?? 0}px`,
427
427
  left: `${l.x.value ?? 0}px`
@@ -435,7 +435,7 @@ function ia(e, t, n = {}) {
435
435
  }
436
436
  const ra = Symbol("vc-input-group-context");
437
437
  function Ke(e) {
438
- const t = Y(ra, null), n = an(), a = $(() => `vc-field-${n}`), o = $(() => `${a.value}-label`), i = $(() => `${a.value}-error`), l = $(() => `${a.value}-hint`), s = $(() => !!e.error || !!e.errorMessage || !!t?.invalid.value), u = $(() => !!e.disabled || !!t?.disabled.value), f = $(() => t?.name.value || e.name), m = $(() => e.required ? !0 : void 0), g = $(() => {
438
+ const t = Y(ra, null), n = an(), a = S(() => `vc-field-${n}`), o = S(() => `${a.value}-label`), i = S(() => `${a.value}-error`), l = S(() => `${a.value}-hint`), s = S(() => !!e.error || !!e.errorMessage || !!t?.invalid.value), u = S(() => !!e.disabled || !!t?.disabled.value), f = S(() => t?.name.value || e.name), m = S(() => e.required ? !0 : void 0), g = S(() => {
439
439
  const d = /* @__PURE__ */ new Set();
440
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
  });
@@ -453,7 +453,7 @@ function Ke(e) {
453
453
  };
454
454
  }
455
455
  function sa(e, t = {}) {
456
- const { speed: n = 2 } = t, a = S(!1), o = S(!1);
456
+ const { speed: n = 2 } = t, a = I(!1), o = I(!1);
457
457
  let i = null;
458
458
  function l() {
459
459
  const f = e.value;
@@ -485,11 +485,11 @@ function sa(e, t = {}) {
485
485
  updateScrollState: l
486
486
  };
487
487
  }
488
- function Se() {
489
- return Y(fn, S(!1));
488
+ function $e() {
489
+ return Y(fn, I(!1));
490
490
  }
491
491
  Object.keys(bt).forEach((e) => {
492
- Oe(e, bt[e]);
492
+ Ee(e, bt[e]);
493
493
  });
494
494
  const ua = (e, [t, n]) => {
495
495
  if (!e?.files || !e.files?.length)
@@ -503,13 +503,13 @@ const ua = (e, [t, n]) => {
503
503
  }, g.onload = () => {
504
504
  f.revokeObjectURL(d);
505
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 }));
506
+ m(c ? !0 : Ie.global.t("messages.min_dimensions.error", { width: s, height: u }));
507
507
  }, g.src = d;
508
508
  });
509
509
  }, o = [], i = e.files;
510
510
  for (let l = 0; l < i.length; l++) {
511
511
  if (!/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(i[l].name))
512
- return Promise.resolve(ke.global.t("messages.min_dimensions.not_image_error"));
512
+ return Promise.resolve(Ie.global.t("messages.min_dimensions.not_image_error"));
513
513
  o.push(i[l]);
514
514
  }
515
515
  return Promise.all(o.map((l) => a(l, t, n))).then((l) => {
@@ -517,29 +517,29 @@ const ua = (e, [t, n]) => {
517
517
  return s === !1 || typeof s == "string" ? s : !0;
518
518
  });
519
519
  };
520
- Oe("mindimensions", ua);
520
+ Ee("mindimensions", ua);
521
521
  const ca = (e, [t]) => {
522
522
  if (!e?.files || !e.files?.length)
523
523
  return !0;
524
524
  const n = t * 1e3, a = (s) => s.size > n, o = [];
525
525
  for (let s = 0; s < e.files.length; s++)
526
526
  o.push(e.files[s]);
527
- return o.map((s) => a(s)).find((s) => s === !0) ? ke.global.t("messages.file_weight", { size: t }) : !0;
527
+ return o.map((s) => a(s)).find((s) => s === !0) ? Ie.global.t("messages.file_weight", { size: t }) : !0;
528
528
  };
529
- Oe("fileWeight", ca);
529
+ Ee("fileWeight", ca);
530
530
  const Dt = (e, [t], n, a) => {
531
531
  if (!e || typeof e == "string" && !e.length)
532
532
  return !0;
533
533
  let o, i;
534
534
  return e instanceof Date && (o = e), t instanceof Date && (i = t), typeof e == "string" && (o = new Date(e)), typeof t == "string" && (i = new Date(t)), o?.getTime && o?.getTime() > 0 && i?.getTime && i?.getTime() > 0 && n(i.getTime(), o.getTime()) ? a : !0;
535
- }, da = (e, [t]) => Dt(e, [t], (n, a) => n < a, ke.global.t("messages.before"));
536
- Oe("before", da);
537
- const fa = (e, [t]) => Dt(e, [t], (n, a) => n > a, ke.global.t("messages.after"));
538
- Oe("after", fa);
539
- const va = (e) => Number.isSafeInteger(parseInt(e)) ? !0 : ke.global.t("messages.bigint");
540
- Oe("bigint", va);
541
- function Ee(e) {
542
- const t = de(`${e.name}-bus`), n = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set();
535
+ }, da = (e, [t]) => Dt(e, [t], (n, a) => n < a, Ie.global.t("messages.before"));
536
+ Ee("before", da);
537
+ const fa = (e, [t]) => Dt(e, [t], (n, a) => n > a, Ie.global.t("messages.after"));
538
+ Ee("after", fa);
539
+ const va = (e) => Number.isSafeInteger(parseInt(e)) ? !0 : Ie.global.t("messages.bigint");
540
+ Ee("bigint", va);
541
+ function Le(e) {
542
+ const t = fe(`${e.name}-bus`), n = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set();
543
543
  function o(d) {
544
544
  const c = e.getKey(d);
545
545
  n.set(c, d), a.size > 0 && m((b) => {
@@ -625,10 +625,10 @@ function Vt(e) {
625
625
  function s(d, c) {
626
626
  const b = c.toLowerCase(), h = t[b];
627
627
  if (h) {
628
- const p = h.findIndex((I) => I.id === d);
628
+ const p = h.findIndex((k) => k.id === d);
629
629
  if (p !== -1) {
630
- const [I] = h.splice(p, 1);
631
- I && i(I.id);
630
+ const [k] = h.splice(p, 1);
631
+ k && i(k.id);
632
632
  }
633
633
  }
634
634
  const B = n.findIndex(
@@ -665,7 +665,7 @@ function Vt(e) {
665
665
  };
666
666
  }
667
667
  function ga(e) {
668
- const t = S(/* @__PURE__ */ new Map()), n = $(() => Array.from(t.value.values()).sort((i, l) => (i.order ?? 0) - (l.order ?? 0)));
668
+ const t = I(/* @__PURE__ */ new Map()), n = S(() => Array.from(t.value.values()).sort((i, l) => (i.order ?? 0) - (l.order ?? 0)));
669
669
  function a(i) {
670
670
  const l = e.getId(i) || crypto.randomUUID(), s = e.createItem(i, t.value.size);
671
671
  return t.value.set(l, { ...s, id: l }), l;
@@ -694,33 +694,33 @@ function Pt(e) {
694
694
  function ze(e) {
695
695
  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(Ct(e, "title"))}`;
696
696
  }
697
- const De = S(/* @__PURE__ */ new Map()), ce = Ee({
697
+ const Ve = I(/* @__PURE__ */ new Map()), de = Le({
698
698
  name: "menu-service",
699
699
  getKey: ze,
700
700
  registerIntoService: (e, t) => e.addMenuItem(t)
701
701
  });
702
702
  function Hi(e) {
703
- ce.preregister(e);
703
+ de.preregister(e);
704
704
  }
705
705
  function Gi(e) {
706
- ce.removePreregistered((t) => ut(t, e)), ce.broadcast((t) => t.removeMenuItem(e));
706
+ de.removePreregistered((t) => ut(t, e)), de.broadcast((t) => t.removeMenuItem(e));
707
707
  }
708
708
  function Yi(e, t) {
709
- De.value.set(e, t), ce.broadcast((n) => {
709
+ Ve.value.set(e, t), de.broadcast((n) => {
710
710
  n.menuBadges.value.set(e, t);
711
711
  });
712
712
  }
713
713
  function Ji(e) {
714
- const t = ce.getFirstInstance();
715
- return t ? t.menuBadges.value.get(e) : De.value.get(e);
714
+ const t = de.getFirstInstance();
715
+ return t ? t.menuBadges.value.get(e) : Ve.value.get(e);
716
716
  }
717
717
  function Xi(e) {
718
- De.value.delete(e), ce.broadcast((t) => {
718
+ Ve.value.delete(e), de.broadcast((t) => {
719
719
  t.menuBadges.value.delete(e);
720
720
  });
721
721
  }
722
722
  function Zi() {
723
- return ce.getFirstInstance()?.menuBadges ?? De;
723
+ return de.getFirstInstance()?.menuBadges ?? Ve;
724
724
  }
725
725
  const at = 1 / 0, ma = 1 / 0;
726
726
  function ut(e, t) {
@@ -787,9 +787,9 @@ function ka(e) {
787
787
  ).sort(ba);
788
788
  }
789
789
  function Ia() {
790
- const e = S([]);
790
+ const e = I([]);
791
791
  let t = [];
792
- const n = S(new Map(De.value));
792
+ const n = I(new Map(Ve.value));
793
793
  function a(l) {
794
794
  t.push(l), e.value = ht(t);
795
795
  }
@@ -803,7 +803,7 @@ function Ia() {
803
803
  removeMenuItem: o,
804
804
  menuBadges: n
805
805
  };
806
- return ce.replayInto(i), i;
806
+ return de.replayInto(i), i;
807
807
  }
808
808
  function We(e) {
809
809
  const { key: t, create: n, bus: a, name: o, onMissing: i } = e;
@@ -825,10 +825,10 @@ function We(e) {
825
825
  use: s
826
826
  };
827
827
  }
828
- const Sa = de("use-menu-service"), Ft = We({
828
+ const Sa = fe("use-menu-service"), Ft = We({
829
829
  key: vn,
830
830
  create: Ia,
831
- bus: ce,
831
+ bus: de,
832
832
  name: "MenuService",
833
833
  onMissing: () => Sa.error("Menu service not found in current context. Injection chain:", qe())
834
834
  });
@@ -840,10 +840,10 @@ function _i() {
840
840
  }
841
841
  function je() {
842
842
  return {
843
- isMobile: Y(yn, S(!1)),
844
- isDesktop: Y(bn, S(!0)),
845
- isPhone: Y(pn, S(!1)),
846
- isTablet: Y(mn, S(!1)),
843
+ isMobile: Y(yn, I(!1)),
844
+ isDesktop: Y(bn, I(!0)),
845
+ isPhone: Y(pn, I(!1)),
846
+ isTablet: Y(mn, I(!1)),
847
847
  isTouch: Y(gn, !1)
848
848
  };
849
849
  }
@@ -875,9 +875,9 @@ function Oa() {
875
875
  appInsights: e
876
876
  };
877
877
  }
878
- const Ea = de("use-error-handler");
878
+ const Ea = fe("use-error-handler");
879
879
  function La(e) {
880
- const t = S(null), n = qe(), { appInsights: a } = Oa(), { user: o } = st(), i = S(!1);
880
+ const t = I(null), n = qe(), { appInsights: a } = Oa(), { user: o } = st(), i = I(!1);
881
881
  function l() {
882
882
  t.value = null, n && n.emit("reset");
883
883
  }
@@ -892,7 +892,7 @@ function La(e) {
892
892
  userId: o.value?.id ?? "",
893
893
  userName: o.value?.userName ?? ""
894
894
  }
895
- }), Ea.error("Captured Error:", u.originalError), n && n.emit("error", u), he(() => {
895
+ }), Ea.error("Captured Error:", u.originalError), n && n.emit("error", u), ke(() => {
896
896
  i.value = !1;
897
897
  }), !e;
898
898
  }), {
@@ -968,14 +968,14 @@ const tr = V({
968
968
  const n = {
969
969
  base: "default",
970
970
  xs: "sm"
971
- }, a = e, o = Se(), i = t, l = Y(Ca, null), s = $(() => {
971
+ }, a = e, o = $e(), i = t, l = Y(Ca, null), s = S(() => {
972
972
  const c = l?.size?.value ?? a.size;
973
973
  return n[c] ?? c;
974
- }), u = S(null), f = $(() => a.disabled || a.loading), m = S(!1);
974
+ }), u = I(null), f = S(() => a.disabled || a.loading), m = I(!1);
975
975
  H(f, (c) => {
976
976
  m.value = c && u.value === document.activeElement;
977
977
  });
978
- const g = $(() => [
978
+ const g = S(() => [
979
979
  "vc-button",
980
980
  {
981
981
  [`vc-button-${a.variant}`]: a.variant,
@@ -993,7 +993,7 @@ const tr = V({
993
993
  key: 0,
994
994
  ref_key: "buttonRef",
995
995
  ref: u,
996
- class: j(g.value),
996
+ class: W(g.value),
997
997
  type: e.type,
998
998
  disabled: f.value && !m.value,
999
999
  "aria-disabled": m.value || void 0,
@@ -1003,14 +1003,14 @@ const tr = V({
1003
1003
  onBlur: b[0] || (b[0] = (h) => m.value = !1),
1004
1004
  onClick: d
1005
1005
  }, [
1006
- e.loading ? (v(), N(r(U), {
1006
+ e.loading ? (v(), N(r(K), {
1007
1007
  key: 0,
1008
1008
  icon: "lucide-loader-2",
1009
1009
  class: "vc-button__icon tw-animate-spin",
1010
1010
  size: e.iconSize
1011
- }, null, 8, ["size"])) : e.icon ? (v(), N(r(U), {
1011
+ }, null, 8, ["size"])) : e.icon ? (v(), N(r(K), {
1012
1012
  key: 1,
1013
- class: j(["vc-button--icon", e.iconClass]),
1013
+ class: W(["vc-button--icon", e.iconClass]),
1014
1014
  icon: e.icon,
1015
1015
  size: e.iconSize
1016
1016
  }, null, 8, ["class", "icon", "size"])) : w("", !0),
@@ -1019,7 +1019,7 @@ const tr = V({
1019
1019
  ])) : w("", !0)
1020
1020
  ], 42, xa));
1021
1021
  }
1022
- }), ct = Ee({
1022
+ }), ct = Le({
1023
1023
  name: "toolbar-service",
1024
1024
  getKey: (e) => `${e.bladeId.toLowerCase()}::${e.toolbarItem.id}`,
1025
1025
  registerIntoService: (e, t) => e.registerToolbarItem(t.toolbarItem, t.bladeId)
@@ -1081,7 +1081,7 @@ function lr(e = {}) {
1081
1081
  const a = n || Xe;
1082
1082
  if (!a)
1083
1083
  throw new Error("Toolbar service is not available");
1084
- const o = Y(Et, void 0), i = $(() => o?.value?.id ?? Ma), l = (c) => c ?? i.value, s = (c, b) => {
1084
+ const o = Y(Et, void 0), i = S(() => o?.value?.id ?? Ma), l = (c) => c ?? i.value, s = (c, b) => {
1085
1085
  a.registerToolbarItem(c, l(b));
1086
1086
  }, u = (c, b) => {
1087
1087
  a.unregisterToolbarItem(c, l(b));
@@ -1102,7 +1102,7 @@ function lr(e = {}) {
1102
1102
  registeredToolbarItems: a.registeredToolbarItems
1103
1103
  };
1104
1104
  }
1105
- const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa = { class: "tw-sr-only" }, le = /* @__PURE__ */ V({
1105
+ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa = { class: "tw-sr-only" }, oe = /* @__PURE__ */ V({
1106
1106
  __name: "vc-skeleton",
1107
1107
  props: {
1108
1108
  variant: { default: "text" },
@@ -1123,7 +1123,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1123
1123
  }
1124
1124
  return (o, i) => e.variant === "text" ? (v(), y("div", {
1125
1125
  key: 0,
1126
- class: j(["vc-skeleton", {
1126
+ class: W(["vc-skeleton", {
1127
1127
  "vc-skeleton--animated": e.animated
1128
1128
  }]),
1129
1129
  role: "status",
@@ -1131,18 +1131,18 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1131
1131
  "aria-label": e.ariaLabel
1132
1132
  }, [
1133
1133
  L("span", Da, T(e.ariaLabel), 1),
1134
- (v(!0), y(we, null, ot(e.rows, (l) => (v(), y("div", {
1134
+ (v(!0), y(Oe, null, ot(e.rows, (l) => (v(), y("div", {
1135
1135
  key: l,
1136
1136
  class: "vc-skeleton__row",
1137
- style: Me({
1137
+ style: Ae({
1138
1138
  width: n(l)
1139
1139
  }),
1140
1140
  "aria-hidden": "true"
1141
1141
  }, null, 4))), 128))
1142
1142
  ], 10, Na)) : (v(), y("div", {
1143
1143
  key: 1,
1144
- class: j(["vc-skeleton__shape", [`vc-skeleton__shape--${e.variant}`, { "tw-animate-pulse": e.animated }]]),
1145
- style: Me({
1144
+ class: W(["vc-skeleton__shape", [`vc-skeleton__shape--${e.variant}`, { "tw-animate-pulse": e.animated }]]),
1145
+ style: Ae({
1146
1146
  width: a(e.width),
1147
1147
  height: a(e.height)
1148
1148
  }),
@@ -1162,7 +1162,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1162
1162
  },
1163
1163
  emits: ["scroll"],
1164
1164
  setup(e, { expose: t, emit: n }) {
1165
- const a = n, o = S(), i = S(!1), l = () => {
1165
+ const a = n, o = I(), i = I(!1), l = () => {
1166
1166
  o.value && o.value.scroll(0, 0);
1167
1167
  };
1168
1168
  function s(u) {
@@ -1174,7 +1174,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1174
1174
  scrollTop: l,
1175
1175
  component: o
1176
1176
  }), (u, f) => (v(), N(it(e.ariaLabel ? "section" : "div"), {
1177
- class: j([
1177
+ class: W([
1178
1178
  "vc-container",
1179
1179
  {
1180
1180
  "vc-container--shadow": e.shadow && i.value,
@@ -1206,7 +1206,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1206
1206
  setup(e) {
1207
1207
  return (t, n) => (v(), y("div", {
1208
1208
  id: e.id,
1209
- class: j(["vc-hint", {
1209
+ class: W(["vc-hint", {
1210
1210
  "vc-hint--error": e.error
1211
1211
  }]),
1212
1212
  role: e.error ? "alert" : void 0
@@ -1214,7 +1214,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1214
1214
  C(t.$slots, "default")
1215
1215
  ], 10, Fa));
1216
1216
  }
1217
- }), fe = za, qa = ["role", "tabindex", "aria-label", "onKeydown"], Ua = {
1217
+ }), ve = za, qa = ["role", "tabindex", "aria-label", "onKeydown"], Ua = {
1218
1218
  key: 0,
1219
1219
  class: "vc-image__placeholder",
1220
1220
  "aria-hidden": "true"
@@ -1234,7 +1234,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1234
1234
  },
1235
1235
  emits: ["click"],
1236
1236
  setup(e, { emit: t }) {
1237
- const n = de("vc-image"), a = e, o = t;
1237
+ const n = fe("vc-image"), a = e, o = t;
1238
1238
  function i(g) {
1239
1239
  if (!g) return g;
1240
1240
  try {
@@ -1246,7 +1246,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1246
1246
  }
1247
1247
  return g;
1248
1248
  }
1249
- const l = $(() => ta(a.src, a.thumbnailSize) ?? a.src), s = S(!1), u = $(() => s.value ? a.src : l.value);
1249
+ const l = S(() => ta(a.src, a.thumbnailSize) ?? a.src), s = I(!1), u = S(() => s.value ? a.src : l.value);
1250
1250
  H(
1251
1251
  () => [a.src, a.thumbnailSize],
1252
1252
  () => {
@@ -1263,7 +1263,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1263
1263
  },
1264
1264
  { immediate: !0 }
1265
1265
  );
1266
- const f = $(() => {
1266
+ const f = S(() => {
1267
1267
  if (u.value) {
1268
1268
  const g = i(u.value);
1269
1269
  return `background: url(${CSS.escape(g)}) center / ${a.background} no-repeat`;
@@ -1273,10 +1273,10 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1273
1273
  a.clickable && o("click");
1274
1274
  }
1275
1275
  return (g, d) => (v(), y("div", {
1276
- class: j(["vc-image", [`vc-image_${e.size}`]])
1276
+ class: W(["vc-image", [`vc-image_${e.size}`]])
1277
1277
  }, [
1278
1278
  L("div", {
1279
- class: j([
1279
+ class: W([
1280
1280
  "vc-image__container",
1281
1281
  `vc-image_${e.aspect}`,
1282
1282
  {
@@ -1285,7 +1285,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1285
1285
  "vc-image__container--clickable": e.clickable
1286
1286
  }
1287
1287
  ]),
1288
- style: Me(f.value),
1288
+ style: Ae(f.value),
1289
1289
  role: e.clickable ? "button" : e.src && e.alt ? "img" : void 0,
1290
1290
  tabindex: e.clickable ? 0 : void 0,
1291
1291
  "aria-label": e.alt || (e.clickable ? g.$t("COMPONENTS.ATOMS.VC_IMAGE.LABEL") : void 0),
@@ -1296,7 +1296,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1296
1296
  ]
1297
1297
  }, [
1298
1298
  e.src ? w("", !0) : (v(), y("div", Ua, [
1299
- x(r(U), {
1299
+ x(r(K), {
1300
1300
  icon: e.emptyIcon,
1301
1301
  size: "xl"
1302
1302
  }, null, 8, ["icon"])
@@ -1326,7 +1326,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1326
1326
  },
1327
1327
  setup(e) {
1328
1328
  return (t, n) => (v(), N(it(e.htmlFor ? "label" : "div"), {
1329
- class: j(["vc-label", {
1329
+ class: W(["vc-label", {
1330
1330
  "vc-label--error": e.error
1331
1331
  }]),
1332
1332
  for: e.htmlFor || void 0
@@ -1344,7 +1344,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1344
1344
  C(t.$slots, "tooltip")
1345
1345
  ]),
1346
1346
  default: O(() => [
1347
- x(r(U), {
1347
+ x(r(K), {
1348
1348
  class: "vc-label__tooltip-icon",
1349
1349
  icon: e.tooltipIcon,
1350
1350
  size: "s"
@@ -1373,7 +1373,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1373
1373
  }
1374
1374
  return (i, l) => (v(), y("button", {
1375
1375
  type: "button",
1376
- class: j(["vc-link", {
1376
+ class: W(["vc-link", {
1377
1377
  "vc-link--active": e.active,
1378
1378
  "vc-link--disabled": e.disabled
1379
1379
  }]),
@@ -1395,7 +1395,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1395
1395
  },
1396
1396
  setup(e) {
1397
1397
  return (t, n) => (v(), y("div", {
1398
- class: j(["vc-status", [
1398
+ class: W(["vc-status", [
1399
1399
  `vc-status--${e.variant}`,
1400
1400
  {
1401
1401
  "vc-status--extended": e.extend,
@@ -1421,12 +1421,12 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1421
1421
  role: "img",
1422
1422
  "aria-label": e.status ? "Active" : "Inactive"
1423
1423
  }, [
1424
- e.status ? (v(), N(r(U), {
1424
+ e.status ? (v(), N(r(K), {
1425
1425
  key: 0,
1426
1426
  icon: "lucide-circle-check",
1427
1427
  class: "vc-status-icon__icon vc-status-icon__icon--success",
1428
1428
  "aria-hidden": "true"
1429
- })) : (v(), N(r(U), {
1429
+ })) : (v(), N(r(K), {
1430
1430
  key: 1,
1431
1431
  icon: "lucide-circle-x",
1432
1432
  class: "vc-status-icon__icon vc-status-icon__icon--inactive",
@@ -1440,7 +1440,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1440
1440
  speed: { default: void 0 }
1441
1441
  },
1442
1442
  setup(e, { expose: t }) {
1443
- const n = e, a = S(null), o = {};
1443
+ const n = e, a = I(null), o = {};
1444
1444
  n.speed !== void 0 && (o.speed = n.speed);
1445
1445
  const { canScrollUp: i, canScrollDown: l, startScroll: s, stopScroll: u, updateScrollState: f } = sa(
1446
1446
  a,
@@ -1460,14 +1460,14 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1460
1460
  "aria-label": g.$t("COMPONENTS.ATOMS.VC_SCROLLABLE_CONTAINER.LABEL")
1461
1461
  }, [
1462
1462
  L("div", {
1463
- class: j(["vc-scrollable-container__arrow", { "vc-scrollable-container__arrow--hidden": !r(i) }]),
1463
+ class: W(["vc-scrollable-container__arrow", { "vc-scrollable-container__arrow--hidden": !r(i) }]),
1464
1464
  "aria-hidden": "true",
1465
1465
  onPointerenter: d[0] || (d[0] = (c) => r(s)("up")),
1466
1466
  onPointerleave: d[1] || (d[1] = //@ts-ignore
1467
1467
  (...c) => r(u) && r(u)(...c))
1468
1468
  }, [
1469
1469
  C(g.$slots, "arrow-up", {}, () => [
1470
- x(r(U), {
1470
+ x(r(K), {
1471
1471
  icon: "lucide-chevron-up",
1472
1472
  size: "xs"
1473
1473
  })
@@ -1488,14 +1488,14 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1488
1488
  C(g.$slots, "default")
1489
1489
  ], 544),
1490
1490
  L("div", {
1491
- class: j(["vc-scrollable-container__arrow", { "vc-scrollable-container__arrow--hidden": !r(l) }]),
1491
+ class: W(["vc-scrollable-container__arrow", { "vc-scrollable-container__arrow--hidden": !r(l) }]),
1492
1492
  "aria-hidden": "true",
1493
1493
  onPointerenter: d[5] || (d[5] = (c) => r(s)("down")),
1494
1494
  onPointerleave: d[6] || (d[6] = //@ts-ignore
1495
1495
  (...c) => r(u) && r(u)(...c))
1496
1496
  }, [
1497
1497
  C(g.$slots, "arrow-down", {}, () => [
1498
- x(r(U), {
1498
+ x(r(K), {
1499
1499
  icon: "lucide-chevron-down",
1500
1500
  size: "xs"
1501
1501
  })
@@ -1526,7 +1526,7 @@ function sl() {
1526
1526
  function ul(e) {
1527
1527
  return En(e);
1528
1528
  }
1529
- const qt = Ee({
1529
+ const qt = Le({
1530
1530
  name: "widget-service",
1531
1531
  getKey: (e) => `${e.bladeId.toLowerCase()}::${e.widget.id}`,
1532
1532
  registerIntoService: (e, t) => e.registerWidget(t.widget, t.bladeId)
@@ -1554,23 +1554,23 @@ function sr() {
1554
1554
  };
1555
1555
  return qt.replayInto(n), n;
1556
1556
  }
1557
- const cl = de("use-theme"), pe = S([
1557
+ const cl = fe("use-theme"), be = I([
1558
1558
  { key: "light", localizationKey: "CORE.THEMES.LIGHT" },
1559
1559
  { key: "dark", localizationKey: "CORE.THEMES.DARK" }
1560
1560
  ]), ur = Rn(() => {
1561
- const { t: e } = ke.global;
1561
+ const { t: e } = Ie.global;
1562
1562
  function t(f) {
1563
1563
  (Array.isArray(f) ? f : [f]).forEach((m) => {
1564
- pe.value.some((g) => g.key === m.key) || pe.value.push(m);
1564
+ be.value.some((g) => g.key === m.key) || be.value.push(m);
1565
1565
  });
1566
1566
  }
1567
1567
  function n(f) {
1568
1568
  (Array.isArray(f) ? f : [f]).forEach((m) => {
1569
- const g = pe.value.findIndex((d) => d.key === m);
1570
- g >= 0 && pe.value.splice(g, 1);
1569
+ const g = be.value.findIndex((d) => d.key === m);
1570
+ g >= 0 && be.value.splice(g, 1);
1571
1571
  });
1572
1572
  }
1573
- const a = $(() => pe.value.map((f) => f.key)), o = Bn({
1573
+ const a = S(() => be.value.map((f) => f.key)), o = Bn({
1574
1574
  attribute: "data-theme",
1575
1575
  emitAuto: !0,
1576
1576
  initialValue: "light",
@@ -1589,13 +1589,13 @@ const cl = de("use-theme"), pe = S([
1589
1589
  function s(f) {
1590
1590
  a.value.includes(f) ? i.value = f : cl.warn(`Attempted to set an unregistered theme: ${f}`);
1591
1591
  }
1592
- const u = $(() => {
1593
- const f = pe.value.find((m) => m.key === i.value);
1592
+ const u = S(() => {
1593
+ const f = be.value.find((m) => m.key === i.value);
1594
1594
  return f ? f.localizationKey ? e(f.localizationKey) : Je(f.key) : i.value ? Je(i.value) : "";
1595
1595
  });
1596
1596
  return {
1597
- themes: $(
1598
- () => pe.value.map((f) => ({
1597
+ themes: S(
1598
+ () => be.value.map((f) => ({
1599
1599
  key: f.key,
1600
1600
  name: f.localizationKey ? e(f.localizationKey) : Je(f.key)
1601
1601
  }))
@@ -1607,7 +1607,7 @@ const cl = de("use-theme"), pe = S([
1607
1607
  unregister: n,
1608
1608
  setTheme: s
1609
1609
  };
1610
- }), ft = Ee({
1610
+ }), ft = Le({
1611
1611
  name: "dashboard-service",
1612
1612
  getKey: (e) => e.id,
1613
1613
  registerIntoService: (e, t) => e.registerWidget(t)
@@ -1646,7 +1646,7 @@ function fl(e = {}) {
1646
1646
  };
1647
1647
  return ft.replayInto(s), s;
1648
1648
  }
1649
- const It = de("use-dashboard"), Ut = We({
1649
+ const It = fe("use-dashboard"), Ut = We({
1650
1650
  key: In,
1651
1651
  bus: ft,
1652
1652
  name: "DashboardService",
@@ -1670,7 +1670,7 @@ function dr() {
1670
1670
  function fr() {
1671
1671
  return Ut.use();
1672
1672
  }
1673
- const Kt = Ee({
1673
+ const Kt = Le({
1674
1674
  name: "app-bar-menu-service",
1675
1675
  getKey: (e) => e.id || crypto.randomUUID(),
1676
1676
  registerIntoService: (e, t) => e.register(t),
@@ -1697,7 +1697,7 @@ function gr() {
1697
1697
  getId: (e) => e.id || ""
1698
1698
  });
1699
1699
  }
1700
- const vt = Ee({
1700
+ const vt = Le({
1701
1701
  name: "settings-menu-service",
1702
1702
  getKey: (e) => e.id || crypto.randomUUID(),
1703
1703
  registerIntoService: (e, t) => e.register(t),
@@ -1719,7 +1719,7 @@ function vl() {
1719
1719
  getId: (e) => e.id || ""
1720
1720
  });
1721
1721
  }
1722
- const gl = de("use-settings-menu"), Wt = We({
1722
+ const gl = fe("use-settings-menu"), Wt = We({
1723
1723
  key: Sn,
1724
1724
  create: vl,
1725
1725
  bus: vt,
@@ -1743,6 +1743,7 @@ const ml = {
1743
1743
  props: {
1744
1744
  modelValue: {},
1745
1745
  type: { default: "date" },
1746
+ ariaLabel: {},
1746
1747
  datePickerOptions: {},
1747
1748
  placeholder: {},
1748
1749
  hint: {},
@@ -1762,16 +1763,16 @@ const ml = {
1762
1763
  },
1763
1764
  emits: ["update:modelValue", "blur", "focus"],
1764
1765
  setup(e, { emit: t }) {
1765
- const n = e, a = t, o = Se(), { isMobile: i, isDesktop: l } = je(), { labelId: s, errorId: u, hintId: f, invalid: m, resolvedDisabled: g, ariaRequired: d, ariaDescribedBy: c } = Ke(n), b = S(!1), h = window.navigator.language, B = S(n.modelValue), p = S(null), I = $(() => n.type === "date" && "9999-12-31" || void 0), P = (() => {
1766
- const k = new Intl.DateTimeFormat(h, { hour: "numeric" }).format();
1767
- return Number.isInteger(Number(k));
1768
- })(), J = $(() => {
1769
- const k = n.type === "datetime-local", R = new Intl.DateTimeFormat(h, {
1766
+ const n = e, a = t, o = $e(), { isMobile: i, isDesktop: l } = je(), { labelId: s, errorId: u, hintId: f, invalid: m, resolvedDisabled: g, ariaRequired: d, ariaDescribedBy: c } = Ke(n), b = I(!1), h = window.navigator.language, B = I(n.modelValue), p = I(null), k = S(() => n.type === "date" && "9999-12-31" || void 0), P = (() => {
1767
+ const $ = new Intl.DateTimeFormat(h, { hour: "numeric" }).format();
1768
+ return Number.isInteger(Number($));
1769
+ })(), J = S(() => {
1770
+ const $ = n.type === "datetime-local", q = new Intl.DateTimeFormat(h, {
1770
1771
  year: "numeric",
1771
1772
  month: "2-digit",
1772
1773
  day: "2-digit",
1773
- ...k ? { hour: "2-digit", minute: "2-digit", hour12: !P } : {}
1774
- }).formatToParts(new Date(2e3, 0, 15, 13, 30)), K = {
1774
+ ...$ ? { hour: "2-digit", minute: "2-digit", hour12: !P } : {}
1775
+ }).formatToParts(new Date(2e3, 0, 15, 13, 30)), te = {
1775
1776
  year: "yyyy",
1776
1777
  month: "MM",
1777
1778
  day: "dd",
@@ -1779,63 +1780,66 @@ const ml = {
1779
1780
  minute: "mm",
1780
1781
  dayPeriod: "aa"
1781
1782
  };
1782
- return R.map((te) => K[te.type] ?? te.value).join("");
1783
- }), ae = $(() => {
1783
+ return q.map((le) => te[le.type] ?? le.value).join("");
1784
+ }), ae = S(() => {
1784
1785
  if (!n.datePickerOptions?.textInput) return n.datePickerOptions;
1785
- const k = { ...n.datePickerOptions }, R = typeof k.textInput == "object" ? k.textInput : {};
1786
- return k.textInput = {
1786
+ const $ = { ...n.datePickerOptions }, q = typeof $.textInput == "object" ? $.textInput : {};
1787
+ return $.textInput = {
1787
1788
  format: J.value,
1788
1789
  rangeSeparator: " - ",
1789
- ...R
1790
- }, k;
1791
- }), ee = (k) => {
1792
- const R = {
1790
+ ...q
1791
+ }, $;
1792
+ }), ee = S(() => {
1793
+ const $ = n.datePickerOptions?.ariaLabels;
1794
+ return n.label || !n.ariaLabel ? $ : { ...$, input: n.ariaLabel };
1795
+ }), F = ($) => {
1796
+ const q = {
1793
1797
  year: "numeric",
1794
1798
  month: "numeric",
1795
1799
  day: "numeric"
1796
1800
  };
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);
1799
- return Array.isArray(k) ? k.map((te) => te != null ? K(te) : "").join(" - ") : K(k);
1801
+ n.type === "datetime-local" && (q.hour = "numeric", q.minute = "numeric", q.hour12 = !P);
1802
+ const te = (le) => new Intl.DateTimeFormat(h, q).format(le);
1803
+ return Array.isArray($) ? $.map((le) => le != null ? te(le) : "").join(" - ") : te($);
1800
1804
  };
1801
1805
  H(
1802
1806
  () => n.modelValue,
1803
- (k) => {
1804
- B.value !== k && (B.value = k);
1807
+ ($) => {
1808
+ B.value !== $ && (B.value = $);
1805
1809
  }
1806
- ), H(B, (k, R) => {
1807
- k !== R && k !== n.modelValue && (p.value = null, a("update:modelValue", k));
1810
+ ), H(B, ($, q) => {
1811
+ $ !== q && $ !== n.modelValue && (p.value = null, a("update:modelValue", $));
1808
1812
  });
1809
- function F() {
1813
+ function D() {
1810
1814
  B.value = null, a("update:modelValue", null);
1811
1815
  }
1812
- function D(k) {
1813
- p.value = k;
1816
+ function z($) {
1817
+ p.value = $;
1814
1818
  }
1815
- function z() {
1819
+ function j() {
1816
1820
  p.value = null;
1817
1821
  }
1818
- function W(k) {
1819
- p.value != null && (B.value = [p.value, null], p.value = null), b.value = !1, a("blur", k);
1822
+ function X($) {
1823
+ p.value != null && (B.value = [p.value, null], p.value = null), b.value = !1, a("blur", $);
1820
1824
  }
1821
- function X() {
1825
+ function M() {
1822
1826
  b.value = !0, a("focus");
1823
1827
  }
1824
- return (k, R) => r(o) ? (v(), y("div", ml, [
1825
- e.label ? (v(), N(r(le), {
1828
+ return ($, q) => r(o) ? (v(), y("div", ml, [
1829
+ e.label ? (v(), N(r(oe), {
1826
1830
  key: 0,
1827
1831
  variant: "block",
1828
1832
  width: 60 + (e.label?.length || 0) * 4,
1829
1833
  height: 11
1830
1834
  }, null, 8, ["width"])) : w("", !0),
1831
- x(r(le), {
1835
+ x(r(oe), {
1832
1836
  variant: "block",
1833
1837
  width: "100%",
1834
1838
  height: 36
1835
1839
  })
1836
1840
  ])) : (v(), y("div", {
1837
1841
  key: 1,
1838
- class: j(["vc-date-picker", [
1842
+ class: W(["vc-date-picker", [
1839
1843
  {
1840
1844
  "vc-date-picker--error": r(m),
1841
1845
  "vc-date-picker--disabled": r(g),
@@ -1851,7 +1855,7 @@ const ml = {
1851
1855
  multilanguage: e.multilanguage,
1852
1856
  "current-language": e.currentLanguage,
1853
1857
  error: r(m)
1854
- }, ie({
1858
+ }, re({
1855
1859
  default: O(() => [
1856
1860
  L("span", null, T(e.label), 1)
1857
1861
  ]),
@@ -1866,7 +1870,7 @@ const ml = {
1866
1870
  } : void 0
1867
1871
  ]), 1032, ["id", "required", "multilanguage", "current-language", "error"])) : w("", !0),
1868
1872
  L("div", {
1869
- class: j(["vc-date-picker__field-wrapper", {
1873
+ class: W(["vc-date-picker__field-wrapper", {
1870
1874
  "vc-date-picker__field-wrapper--default": e.size === "default",
1871
1875
  "vc-date-picker__field-wrapper--small": e.size === "small"
1872
1876
  }])
@@ -1875,15 +1879,15 @@ const ml = {
1875
1879
  L("div", bl, [
1876
1880
  x(r(An), ne({
1877
1881
  modelValue: B.value,
1878
- "onUpdate:modelValue": R[0] || (R[0] = (K) => B.value = K),
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")),
1882
+ "onUpdate:modelValue": q[0] || (q[0] = (te) => B.value = te),
1883
+ placeholder: e.placeholder || (e.type === "datetime-local" ? $.$t("COMPONENTS.MOLECULES.VC_INPUT.DATE_TIME_PLACEHOLDER") : $.$t("COMPONENTS.MOLECULES.VC_INPUT.DATE_PLACEHOLDER")),
1880
1884
  disabled: r(g),
1881
1885
  name: e.name,
1882
1886
  autofocus: e.autofocus,
1883
- "max-date": I.value,
1887
+ "max-date": k.value,
1884
1888
  "time-picker-inline": "",
1885
1889
  "enable-time-picker": e.type === "datetime-local",
1886
- format: ee,
1890
+ format: F,
1887
1891
  locale: r(h),
1888
1892
  "start-time": { hours: 0, minutes: 0 },
1889
1893
  clearable: !1,
@@ -1892,6 +1896,7 @@ const ml = {
1892
1896
  "teleport-center": r(i),
1893
1897
  is24: r(P)
1894
1898
  }, ae.value, {
1899
+ "aria-labels": ee.value,
1895
1900
  teleport: r(l) ? "body" : void 0,
1896
1901
  "aria-invalid": r(m) || void 0,
1897
1902
  "aria-required": r(d),
@@ -1899,28 +1904,28 @@ const ml = {
1899
1904
  "aria-labelledby": e.label ? r(s) : void 0,
1900
1905
  class: "vc-date-picker__input",
1901
1906
  tabindex: "0",
1902
- onFocus: X,
1903
- onClosed: W,
1904
- onRangeStart: D,
1905
- onRangeEnd: z,
1906
- onTooltipOpen: X,
1907
- onTooltipClose: W
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"]),
1907
+ onFocus: M,
1908
+ onClosed: X,
1909
+ onRangeStart: z,
1910
+ onRangeEnd: j,
1911
+ onTooltipOpen: M,
1912
+ onTooltipClose: X
1913
+ }), null, 16, ["modelValue", "placeholder", "disabled", "name", "autofocus", "max-date", "enable-time-picker", "locale", "teleport-center", "is24", "aria-labels", "teleport", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"]),
1909
1914
  e.clearable && B.value && !e.disabled ? (v(), y("button", {
1910
1915
  key: 0,
1911
1916
  type: "button",
1912
1917
  class: "vc-date-picker__clear",
1913
- "aria-label": k.$t("COMPONENTS.MOLECULES.VC_DATE_PICKER.CLEAR"),
1914
- onClick: F
1918
+ "aria-label": $.$t("COMPONENTS.MOLECULES.VC_DATE_PICKER.CLEAR"),
1919
+ onClick: D
1915
1920
  }, [
1916
- x(r(U), {
1921
+ x(r(K), {
1917
1922
  size: "xs",
1918
1923
  icon: "lucide-x"
1919
1924
  })
1920
1925
  ], 8, yl)) : w("", !0)
1921
1926
  ]),
1922
1927
  e.loading ? (v(), y("div", hl, [
1923
- x(r(U), {
1928
+ x(r(K), {
1924
1929
  icon: "lucide-loader-2",
1925
1930
  class: "vc-date-picker__loading-icon",
1926
1931
  size: "m"
@@ -1928,13 +1933,13 @@ const ml = {
1928
1933
  ])) : w("", !0)
1929
1934
  ])
1930
1935
  ], 2),
1931
- x(Ae, {
1936
+ x(Ne, {
1932
1937
  name: "slide-up",
1933
1938
  mode: "out-in"
1934
1939
  }, {
1935
1940
  default: O(() => [
1936
1941
  r(m) && e.errorMessage ? (v(), y("div", kl, [
1937
- x(r(fe), {
1942
+ x(r(ve), {
1938
1943
  id: r(u),
1939
1944
  class: "vc-date-picker__hint-error",
1940
1945
  error: !0
@@ -1945,7 +1950,7 @@ const ml = {
1945
1950
  _: 1
1946
1951
  }, 8, ["id"])
1947
1952
  ])) : (v(), y("div", Il, [
1948
- e.hint ? (v(), N(r(fe), {
1953
+ e.hint ? (v(), N(r(ve), {
1949
1954
  key: 0,
1950
1955
  id: r(f),
1951
1956
  class: "vc-date-picker__desc"
@@ -1964,13 +1969,14 @@ const ml = {
1964
1969
  }), $l = {
1965
1970
  key: 0,
1966
1971
  class: "vc-color-input vc-color-input--skeleton"
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 = {
1972
+ }, 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", "aria-label"], Ll = { class: "vc-color-input__color-container" }, Bl = ["aria-label"], Cl = ["value"], xl = ["aria-label"], Tl = {
1968
1973
  key: 0,
1969
1974
  class: "vc-color-input__loading"
1970
1975
  }, Rl = { key: 0 }, Ml = { key: 1 }, Al = /* @__PURE__ */ V({
1971
1976
  __name: "vc-color-input",
1972
1977
  props: {
1973
1978
  modelValue: {},
1979
+ ariaLabel: {},
1974
1980
  placeholder: {},
1975
1981
  hint: {},
1976
1982
  clearable: { type: Boolean },
@@ -1989,7 +1995,7 @@ const ml = {
1989
1995
  },
1990
1996
  emits: ["update:modelValue", "blur", "focus"],
1991
1997
  setup(e, { expose: t, emit: n }) {
1992
- const a = Se(), o = e, i = n, {
1998
+ const a = $e(), o = e, i = n, {
1993
1999
  fieldId: l,
1994
2000
  labelId: s,
1995
2001
  errorId: u,
@@ -1998,73 +2004,73 @@ const ml = {
1998
2004
  resolvedDisabled: g,
1999
2005
  ariaRequired: d,
2000
2006
  ariaDescribedBy: c
2001
- } = Ke(o), b = S(!1), h = S(!1), B = S(), p = S(), I = S(o.modelValue ?? ""), P = S("");
2002
- function J(k) {
2003
- if (!k || typeof k != "string") {
2007
+ } = Ke(o), b = I(!1), h = I(!1), B = I(), p = I(), k = I(o.modelValue ?? ""), P = I("");
2008
+ function J(M) {
2009
+ if (!M || typeof M != "string") {
2004
2010
  P.value = "";
2005
2011
  return;
2006
2012
  }
2007
- const R = k.trim();
2008
- if (ea(R)) {
2009
- P.value = yt(R);
2013
+ const $ = M.trim();
2014
+ if (ea($)) {
2015
+ P.value = yt($);
2010
2016
  return;
2011
2017
  }
2012
- const K = _n(R);
2013
- K && (P.value = K);
2018
+ const q = _n($);
2019
+ q && (P.value = q);
2014
2020
  }
2015
2021
  H(
2016
2022
  () => o.modelValue,
2017
- (k) => {
2018
- h.value || (h.value = !0, I.value = k ?? "", he(() => {
2019
- J(k ?? ""), h.value = !1;
2023
+ (M) => {
2024
+ h.value || (h.value = !0, k.value = M ?? "", ke(() => {
2025
+ J(M ?? ""), h.value = !1;
2020
2026
  }));
2021
2027
  },
2022
2028
  { immediate: !0 }
2023
- ), H(P, (k) => {
2024
- k && p.value && (p.value.value = k);
2029
+ ), H(P, (M) => {
2030
+ M && p.value && (p.value.value = M);
2025
2031
  });
2026
2032
  function ae() {
2027
- h.value || (h.value = !0, i("update:modelValue", I.value || null), he(() => {
2028
- J(I.value), h.value = !1;
2033
+ h.value || (h.value = !0, i("update:modelValue", k.value || null), ke(() => {
2034
+ J(k.value), h.value = !1;
2029
2035
  }));
2030
2036
  }
2031
- function ee(k) {
2032
- const R = k.target;
2033
- if (R?.value) {
2034
- const K = yt(R.value);
2035
- P.value = K, I.value = K, i("update:modelValue", K);
2037
+ function ee(M) {
2038
+ const $ = M.target;
2039
+ if ($?.value) {
2040
+ const q = yt($.value);
2041
+ P.value = q, k.value = q, i("update:modelValue", q);
2036
2042
  }
2037
2043
  }
2038
2044
  function F() {
2039
2045
  p.value?.click();
2040
2046
  }
2041
2047
  function D() {
2042
- I.value = "", P.value = "", i("update:modelValue", null);
2048
+ k.value = "", P.value = "", i("update:modelValue", null);
2043
2049
  }
2044
- function z(k) {
2045
- b.value = !1, i("blur", k);
2050
+ function z(M) {
2051
+ b.value = !1, i("blur", M);
2046
2052
  }
2047
- function W() {
2053
+ function j() {
2048
2054
  b.value = !0, i("focus");
2049
2055
  }
2050
2056
  function X() {
2051
2057
  B.value?.focus();
2052
2058
  }
2053
- return t({ focus: X }), (k, R) => r(a) ? (v(), y("div", $l, [
2054
- e.label ? (v(), N(r(le), {
2059
+ return t({ focus: X }), (M, $) => r(a) ? (v(), y("div", $l, [
2060
+ e.label ? (v(), N(r(oe), {
2055
2061
  key: 0,
2056
2062
  variant: "block",
2057
2063
  width: 60 + (e.label?.length || 0) * 4,
2058
2064
  height: 11
2059
2065
  }, null, 8, ["width"])) : w("", !0),
2060
- x(r(le), {
2066
+ x(r(oe), {
2061
2067
  variant: "block",
2062
2068
  width: "100%",
2063
2069
  height: 36
2064
2070
  })
2065
2071
  ])) : (v(), y("div", {
2066
2072
  key: 1,
2067
- class: j(["vc-color-input", [
2073
+ class: W(["vc-color-input", [
2068
2074
  {
2069
2075
  "vc-color-input--error": r(m),
2070
2076
  "vc-color-input--disabled": r(g),
@@ -2081,7 +2087,7 @@ const ml = {
2081
2087
  multilanguage: e.multilanguage,
2082
2088
  "current-language": e.currentLanguage,
2083
2089
  error: r(m)
2084
- }, ie({
2090
+ }, re({
2085
2091
  default: O(() => [
2086
2092
  L("span", null, T(e.label), 1)
2087
2093
  ]),
@@ -2096,7 +2102,7 @@ const ml = {
2096
2102
  } : void 0
2097
2103
  ]), 1032, ["id", "html-for", "required", "multilanguage", "current-language", "error"])) : w("", !0),
2098
2104
  L("div", {
2099
- class: j(["vc-color-input__field-wrapper", {
2105
+ class: W(["vc-color-input__field-wrapper", {
2100
2106
  "vc-color-input__field-wrapper--default": e.size === "default",
2101
2107
  "vc-color-input__field-wrapper--small": e.size === "small"
2102
2108
  }])
@@ -2107,7 +2113,7 @@ const ml = {
2107
2113
  id: r(l),
2108
2114
  ref_key: "inputRef",
2109
2115
  ref: B,
2110
- "onUpdate:modelValue": R[0] || (R[0] = (K) => I.value = K),
2116
+ "onUpdate:modelValue": $[0] || ($[0] = (q) => k.value = q),
2111
2117
  placeholder: e.placeholder,
2112
2118
  type: "text",
2113
2119
  disabled: r(g),
@@ -2117,19 +2123,20 @@ const ml = {
2117
2123
  "aria-required": r(d),
2118
2124
  "aria-describedby": r(c),
2119
2125
  "aria-labelledby": e.label ? r(s) : void 0,
2126
+ "aria-label": e.label ? void 0 : e.ariaLabel,
2120
2127
  class: "vc-color-input__input",
2121
2128
  tabindex: "0",
2122
2129
  onBlur: z,
2123
- onFocus: W,
2130
+ onFocus: j,
2124
2131
  onInput: ae
2125
2132
  }, null, 40, El), [
2126
- [sn, I.value]
2133
+ [sn, k.value]
2127
2134
  ]),
2128
2135
  L("div", Ll, [
2129
2136
  L("button", {
2130
2137
  type: "button",
2131
2138
  class: "vc-color-input__color-square",
2132
- style: Me({ backgroundColor: P.value || "#ffffff" }),
2139
+ style: Ae({ backgroundColor: P.value || "#ffffff" }),
2133
2140
  "aria-label": `Pick color${P.value ? ": " + P.value : ""}`,
2134
2141
  onClick: F
2135
2142
  }, null, 12, Bl),
@@ -2144,21 +2151,21 @@ const ml = {
2144
2151
  onChange: ee
2145
2152
  }, null, 40, Cl)
2146
2153
  ]),
2147
- e.clearable && I.value && !e.disabled ? (v(), y("button", {
2154
+ e.clearable && k.value && !e.disabled ? (v(), y("button", {
2148
2155
  key: 0,
2149
2156
  type: "button",
2150
2157
  class: "vc-color-input__clear",
2151
- "aria-label": k.$t("COMPONENTS.MOLECULES.VC_COLOR_INPUT.CLEAR"),
2158
+ "aria-label": M.$t("COMPONENTS.MOLECULES.VC_COLOR_INPUT.CLEAR"),
2152
2159
  onClick: D
2153
2160
  }, [
2154
- x(r(U), {
2161
+ x(r(K), {
2155
2162
  size: "xs",
2156
2163
  icon: "lucide-x"
2157
2164
  })
2158
2165
  ], 8, xl)) : w("", !0)
2159
2166
  ]),
2160
2167
  e.loading ? (v(), y("div", Tl, [
2161
- x(r(U), {
2168
+ x(r(K), {
2162
2169
  icon: "lucide-loader-2",
2163
2170
  class: "vc-color-input__loading-icon",
2164
2171
  size: "m"
@@ -2166,13 +2173,13 @@ const ml = {
2166
2173
  ])) : w("", !0)
2167
2174
  ])
2168
2175
  ], 2),
2169
- x(Ae, {
2176
+ x(Ne, {
2170
2177
  name: "slide-up",
2171
2178
  mode: "out-in"
2172
2179
  }, {
2173
2180
  default: O(() => [
2174
2181
  r(m) && e.errorMessage ? (v(), y("div", Rl, [
2175
- x(r(fe), {
2182
+ x(r(ve), {
2176
2183
  id: r(u),
2177
2184
  class: "vc-color-input__hint-error",
2178
2185
  error: !0
@@ -2183,7 +2190,7 @@ const ml = {
2183
2190
  _: 1
2184
2191
  }, 8, ["id"])
2185
2192
  ])) : (v(), y("div", Ml, [
2186
- e.hint ? (v(), N(r(fe), {
2193
+ e.hint ? (v(), N(r(ve), {
2187
2194
  key: 0,
2188
2195
  id: r(f),
2189
2196
  class: "vc-color-input__desc"
@@ -2208,7 +2215,7 @@ const ml = {
2208
2215
  }, Fl = { class: "vc-input__field" }, zl = {
2209
2216
  key: 0,
2210
2217
  class: "vc-input__prefix"
2211
- }, ql = ["id", "placeholder", "type", "disabled", "name", "maxlength", "autofocus", "autocomplete", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"], Ul = {
2218
+ }, ql = ["id", "placeholder", "type", "disabled", "name", "maxlength", "autofocus", "autocomplete", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby", "aria-label"], Ul = {
2212
2219
  key: 1,
2213
2220
  class: "vc-input__suffix"
2214
2221
  }, Kl = ["aria-label"], Wl = ["aria-label"], jl = {
@@ -2232,6 +2239,7 @@ const ml = {
2232
2239
  maxlength: { default: "1024" },
2233
2240
  step: { default: "1" },
2234
2241
  autocomplete: {},
2242
+ ariaLabel: {},
2235
2243
  datePickerOptions: {},
2236
2244
  placeholder: {},
2237
2245
  hint: {},
@@ -2251,10 +2259,10 @@ const ml = {
2251
2259
  },
2252
2260
  emits: ["update:modelValue", "blur", "focus"],
2253
2261
  setup(e, { emit: t }) {
2254
- const n = e, a = wt(), o = $(() => {
2255
- const { class: E, ...q } = a;
2256
- return q;
2257
- }), i = t, l = Se(), {
2262
+ const n = e, a = wt(), o = S(() => {
2263
+ const { class: E, ...U } = a;
2264
+ return U;
2265
+ }), i = t, l = $e(), {
2258
2266
  fieldId: s,
2259
2267
  labelId: u,
2260
2268
  errorId: f,
@@ -2266,69 +2274,69 @@ const ml = {
2266
2274
  ariaDescribedBy: h
2267
2275
  } = Ke(n);
2268
2276
  let B, p;
2269
- const I = S(), P = S(), J = S(r(n.type)), ae = S(!1), ee = S(), F = $({
2277
+ const k = I(), P = I(), J = I(r(n.type)), ae = I(!1), ee = I(), F = S({
2270
2278
  get() {
2271
2279
  return J.value === "integer" ? "number" : J.value;
2272
2280
  },
2273
2281
  set(E) {
2274
2282
  J.value = E;
2275
2283
  }
2276
- }), D = $(() => r(n.modelValue)), z = $({
2284
+ }), D = S(() => r(n.modelValue)), z = S({
2277
2285
  get() {
2278
- return (n.type === "integer" || n.type === "number") && isNaN(I.value) ? "" : I.value;
2286
+ return (n.type === "integer" || n.type === "number") && isNaN(k.value) ? "" : k.value;
2279
2287
  },
2280
2288
  set(E) {
2281
- (n.type === "number" || n.type === "integer") && E < 0 ? I.value = Math.abs(E) : I.value = E, X(I.value);
2289
+ (n.type === "number" || n.type === "integer") && E < 0 ? k.value = Math.abs(E) : k.value = E, X(k.value);
2282
2290
  }
2283
2291
  });
2284
2292
  H(
2285
2293
  D,
2286
2294
  (E) => {
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);
2295
+ n.type === "number" && E !== null ? ee.value = parseFloat(E) : n.type === "integer" && E !== null ? ee.value = Math.trunc(E) : ee.value = E, k.value !== ee.value && (k.value = ee.value);
2288
2296
  },
2289
2297
  { immediate: !0 }
2290
2298
  );
2291
- function W(E) {
2292
- const q = ["Backspace", "Delete", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], A = E.key;
2293
- if ((n.type === "number" || n.type === "integer") && (A === "-" || A === "e" || A === "+") && E.preventDefault(), n.type === "integer" && !/^\d$/.test(A) && !q.includes(A)) {
2299
+ function j(E) {
2300
+ const U = ["Backspace", "Delete", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], A = E.key;
2301
+ if ((n.type === "number" || n.type === "integer") && (A === "-" || A === "e" || A === "+") && E.preventDefault(), n.type === "integer" && !/^\d$/.test(A) && !U.includes(A)) {
2294
2302
  E.preventDefault();
2295
2303
  return;
2296
2304
  }
2297
2305
  }
2298
2306
  function X(E) {
2299
- k(E);
2307
+ M(E);
2300
2308
  }
2301
- function k(E) {
2309
+ function M(E) {
2302
2310
  p = () => {
2303
2311
  if (ee.value !== E) {
2304
- let q;
2305
- n.type === "number" && E !== null && E !== void 0 ? q = E !== "" ? parseFloat(E) : null : n.type === "integer" && E !== null && E !== void 0 ? q = E !== "" ? Math.trunc(parseInt(E)) : null : q = E, i("update:modelValue", q);
2312
+ let U;
2313
+ n.type === "number" && E !== null && E !== void 0 ? U = E !== "" ? parseFloat(E) : null : n.type === "integer" && E !== null && E !== void 0 ? U = E !== "" ? Math.trunc(parseInt(E)) : null : U = E, i("update:modelValue", U);
2306
2314
  }
2307
2315
  p = void 0;
2308
2316
  }, n.debounce !== void 0 ? (clearTimeout(B), B = setTimeout(p, +n.debounce)) : p();
2309
2317
  }
2310
- function R() {
2311
- I.value = null, i("update:modelValue", null);
2318
+ function $() {
2319
+ k.value = null, i("update:modelValue", null);
2312
2320
  }
2313
- function K(E) {
2321
+ function q(E) {
2314
2322
  ae.value = !1, i("blur", E);
2315
2323
  }
2316
2324
  function te() {
2317
2325
  P.value?.focus();
2318
2326
  }
2319
- function Ve() {
2327
+ function le() {
2320
2328
  ae.value = !0, i("focus");
2321
2329
  }
2322
- return (E, q) => r(l) ? (v(), y("div", ne({ key: 0 }, o.value, {
2330
+ return (E, U) => r(l) ? (v(), y("div", ne({ key: 0 }, o.value, {
2323
2331
  class: ["vc-input vc-input--skeleton", E.$attrs.class]
2324
2332
  }), [
2325
- e.label ? (v(), N(r(le), {
2333
+ e.label ? (v(), N(r(oe), {
2326
2334
  key: 0,
2327
2335
  variant: "block",
2328
2336
  width: 60 + (e.label?.length || 0) * 4,
2329
2337
  height: 11
2330
2338
  }, null, 8, ["width"])) : w("", !0),
2331
- x(r(le), {
2339
+ x(r(oe), {
2332
2340
  variant: "block",
2333
2341
  width: "100%",
2334
2342
  height: 36
@@ -2352,10 +2360,11 @@ const ml = {
2352
2360
  multilanguage: e.multilanguage,
2353
2361
  "current-language": e.currentLanguage,
2354
2362
  name: e.name,
2355
- "onUpdate:modelValue": q[0] || (q[0] = (A) => i("update:modelValue", A ?? null)),
2356
- onBlur: q[1] || (q[1] = (A) => i("blur", A)),
2357
- onFocus: q[2] || (q[2] = (A) => i("focus"))
2358
- }), null, 16, ["model-value", "type", "date-picker-options", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name"])) : e.type === "color" ? (v(), N(r(Al), ne({ key: 2 }, r(a), {
2363
+ "aria-label": e.ariaLabel,
2364
+ "onUpdate:modelValue": U[0] || (U[0] = (A) => i("update:modelValue", A ?? null)),
2365
+ onBlur: U[1] || (U[1] = (A) => i("blur", A)),
2366
+ onFocus: U[2] || (U[2] = (A) => i("focus"))
2367
+ }), null, 16, ["model-value", "type", "date-picker-options", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name", "aria-label"])) : e.type === "color" ? (v(), N(r(Al), ne({ key: 2 }, r(a), {
2359
2368
  "model-value": e.modelValue ?? null,
2360
2369
  label: e.label,
2361
2370
  placeholder: e.placeholder,
@@ -2372,10 +2381,11 @@ const ml = {
2372
2381
  multilanguage: e.multilanguage,
2373
2382
  "current-language": e.currentLanguage,
2374
2383
  name: e.name,
2375
- "onUpdate:modelValue": q[3] || (q[3] = (A) => i("update:modelValue", A)),
2376
- onBlur: q[4] || (q[4] = (A) => i("blur", A)),
2377
- onFocus: q[5] || (q[5] = (A) => i("focus"))
2378
- }), null, 16, ["model-value", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name"])) : (v(), y("div", ne({ key: 3 }, o.value, {
2384
+ "aria-label": e.ariaLabel,
2385
+ "onUpdate:modelValue": U[3] || (U[3] = (A) => i("update:modelValue", A)),
2386
+ onBlur: U[4] || (U[4] = (A) => i("blur", A)),
2387
+ onFocus: U[5] || (U[5] = (A) => i("focus"))
2388
+ }), null, 16, ["model-value", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name", "aria-label"])) : (v(), y("div", ne({ key: 3 }, o.value, {
2379
2389
  class: ["vc-input", [
2380
2390
  E.$attrs.class,
2381
2391
  `vc-input--${e.type}`,
@@ -2396,7 +2406,7 @@ const ml = {
2396
2406
  multilanguage: e.multilanguage,
2397
2407
  "current-language": e.currentLanguage,
2398
2408
  error: r(g)
2399
- }, ie({
2409
+ }, re({
2400
2410
  default: O(() => [
2401
2411
  L("span", null, T(e.label), 1)
2402
2412
  ]),
@@ -2415,7 +2425,7 @@ const ml = {
2415
2425
  C(E.$slots, "prepend", { focus: te })
2416
2426
  ])) : w("", !0),
2417
2427
  L("div", {
2418
- class: j(["vc-input__field-wrapper", {
2428
+ class: W(["vc-input__field-wrapper", {
2419
2429
  "vc-input__field-wrapper--default": e.size === "default",
2420
2430
  "vc-input__field-wrapper--small": e.size === "small"
2421
2431
  }])
@@ -2430,14 +2440,14 @@ const ml = {
2430
2440
  editable: r(d),
2431
2441
  focused: e.autofocus,
2432
2442
  modelValue: z.value,
2433
- emitValue: k,
2443
+ emitValue: M,
2434
2444
  placeholder: e.placeholder
2435
2445
  }, () => [
2436
2446
  rt(L("input", {
2437
2447
  id: r(s),
2438
2448
  ref_key: "inputRef",
2439
2449
  ref: P,
2440
- "onUpdate:modelValue": q[6] || (q[6] = (A) => z.value = A),
2450
+ "onUpdate:modelValue": U[6] || (U[6] = (A) => z.value = A),
2441
2451
  placeholder: e.placeholder,
2442
2452
  type: F.value,
2443
2453
  disabled: r(d),
@@ -2449,11 +2459,12 @@ const ml = {
2449
2459
  "aria-required": r(b),
2450
2460
  "aria-describedby": r(h),
2451
2461
  "aria-labelledby": e.label ? r(u) : void 0,
2462
+ "aria-label": e.label ? void 0 : e.ariaLabel,
2452
2463
  class: "vc-input__input",
2453
2464
  tabindex: "0",
2454
- onKeydown: W,
2455
- onBlur: K,
2456
- onFocus: Ve
2465
+ onKeydown: j,
2466
+ onBlur: q,
2467
+ onFocus: le
2457
2468
  }, null, 40, ql), [
2458
2469
  [un, z.value]
2459
2470
  ])
@@ -2464,9 +2475,9 @@ const ml = {
2464
2475
  type: "button",
2465
2476
  class: "vc-input__clear",
2466
2477
  "aria-label": E.$t("COMPONENTS.CONTROLS.CLEAR"),
2467
- onClick: R
2478
+ onClick: $
2468
2479
  }, [
2469
- x(r(U), {
2480
+ x(r(K), {
2470
2481
  size: "xs",
2471
2482
  icon: "lucide-x"
2472
2483
  })
@@ -2476,9 +2487,9 @@ const ml = {
2476
2487
  type: "button",
2477
2488
  class: "vc-input__showhide",
2478
2489
  "aria-label": J.value === "password" ? E.$t("COMPONENTS.CONTROLS.SHOW_PASSWORD") : E.$t("COMPONENTS.CONTROLS.HIDE_PASSWORD"),
2479
- onClick: q[7] || (q[7] = (A) => J.value = J.value === "password" ? "text" : "password")
2490
+ onClick: U[7] || (U[7] = (A) => J.value = J.value === "password" ? "text" : "password")
2480
2491
  }, [
2481
- x(r(U), {
2492
+ x(r(K), {
2482
2493
  size: "s",
2483
2494
  icon: J.value === "password" ? "lucide-eye-off" : "lucide-eye"
2484
2495
  }, null, 8, ["icon"])
@@ -2488,7 +2499,7 @@ const ml = {
2488
2499
  C(E.$slots, "append-inner", { focus: te })
2489
2500
  ])) : w("", !0),
2490
2501
  e.loading ? (v(), y("div", Hl, [
2491
- x(r(U), {
2502
+ x(r(K), {
2492
2503
  icon: "lucide-loader-2",
2493
2504
  class: "vc-input__loading-icon",
2494
2505
  size: "m"
@@ -2500,14 +2511,14 @@ const ml = {
2500
2511
  C(E.$slots, "append", { focus: te })
2501
2512
  ])) : w("", !0)
2502
2513
  ]),
2503
- x(Ae, {
2514
+ x(Ne, {
2504
2515
  name: "slide-up",
2505
2516
  mode: "out-in"
2506
2517
  }, {
2507
2518
  default: O(() => [
2508
2519
  r(g) && e.errorMessage ? (v(), y("div", Yl, [
2509
2520
  C(E.$slots, "error", {}, () => [
2510
- x(r(fe), {
2521
+ x(r(ve), {
2511
2522
  id: r(f),
2512
2523
  class: "vc-input__hint-error",
2513
2524
  error: !0
@@ -2520,7 +2531,7 @@ const ml = {
2520
2531
  ])
2521
2532
  ])) : (v(), y("div", Jl, [
2522
2533
  C(E.$slots, "hint", {}, () => [
2523
- e.hint ? (v(), N(r(fe), {
2534
+ e.hint ? (v(), N(r(ve), {
2524
2535
  key: 0,
2525
2536
  id: r(m),
2526
2537
  class: "vc-input__desc"
@@ -2574,26 +2585,26 @@ function Xl(e = {}) {
2574
2585
  onEnter: a,
2575
2586
  onEscape: o,
2576
2587
  loop: i = !0
2577
- } = e, l = S(null), s = S(-1), u = (p) => {
2588
+ } = e, l = I(null), s = I(-1), u = (p) => {
2578
2589
  (s.value >= p.length || s.value < 0) && (s.value = p.length > 0 ? 0 : -1);
2579
2590
  }, f = (p) => {
2580
2591
  if (!l.value) return;
2581
- const I = Array.from(l.value.querySelectorAll(n));
2582
- if (I.length)
2583
- switch (u(I), p.key) {
2592
+ const k = Array.from(l.value.querySelectorAll(n));
2593
+ if (k.length)
2594
+ switch (u(k), p.key) {
2584
2595
  case "Tab":
2585
- m(p, I);
2596
+ m(p, k);
2586
2597
  break;
2587
2598
  case "ArrowDown":
2588
- p.preventDefault(), g(I);
2599
+ p.preventDefault(), g(k);
2589
2600
  break;
2590
2601
  case "ArrowUp":
2591
- p.preventDefault(), d(I);
2602
+ p.preventDefault(), d(k);
2592
2603
  break;
2593
2604
  case "Enter":
2594
2605
  case " ":
2595
- if (s.value >= 0 && s.value < I.length) {
2596
- const P = I[s.value];
2606
+ if (s.value >= 0 && s.value < k.length) {
2607
+ const P = k[s.value];
2597
2608
  P && (p.preventDefault(), a ? a(P) : typeof P.click == "function" && P.click());
2598
2609
  }
2599
2610
  break;
@@ -2601,8 +2612,8 @@ function Xl(e = {}) {
2601
2612
  o && (p.preventDefault(), o());
2602
2613
  break;
2603
2614
  }
2604
- }, m = (p, I) => {
2605
- p.shiftKey ? d(I) : g(I);
2615
+ }, m = (p, k) => {
2616
+ p.shiftKey ? d(k) : g(k);
2606
2617
  }, g = (p) => {
2607
2618
  if (!p.length) return;
2608
2619
  if (u(p), s.value < p.length - 1)
@@ -2611,8 +2622,8 @@ function Xl(e = {}) {
2611
2622
  s.value = 0;
2612
2623
  else
2613
2624
  return;
2614
- const I = p[s.value];
2615
- I && typeof I.focus == "function" && I.focus();
2625
+ const k = p[s.value];
2626
+ k && typeof k.focus == "function" && k.focus();
2616
2627
  }, d = (p) => {
2617
2628
  if (!p.length) return;
2618
2629
  if (u(p), s.value > 0)
@@ -2621,18 +2632,18 @@ function Xl(e = {}) {
2621
2632
  s.value = p.length - 1;
2622
2633
  else
2623
2634
  return;
2624
- const I = p[s.value];
2625
- I && typeof I.focus == "function" && I.focus();
2635
+ const k = p[s.value];
2636
+ k && typeof k.focus == "function" && k.focus();
2626
2637
  }, c = (p) => {
2627
2638
  if (!p.length) return;
2628
2639
  s.value = 0;
2629
- const I = p[0];
2630
- I && typeof I.focus == "function" && I.focus();
2640
+ const k = p[0];
2641
+ k && typeof k.focus == "function" && k.focus();
2631
2642
  }, b = (p) => {
2632
2643
  if (!p.length) return;
2633
2644
  s.value = p.length - 1;
2634
- const I = p[p.length - 1];
2635
- I && typeof I.focus == "function" && I.focus();
2645
+ const k = p[p.length - 1];
2646
+ k && typeof k.focus == "function" && k.focus();
2636
2647
  }, h = (p) => {
2637
2648
  l.value && l.value.removeEventListener("keydown", f), l.value = p, p.addEventListener("keydown", f);
2638
2649
  }, B = () => {
@@ -2674,8 +2685,8 @@ function Xl(e = {}) {
2674
2685
  },
2675
2686
  setFocusedIndex: (p) => {
2676
2687
  if (l.value) {
2677
- const I = Array.from(l.value.querySelectorAll(n));
2678
- p >= 0 && p < I.length && (s.value = p);
2688
+ const k = Array.from(l.value.querySelectorAll(n));
2689
+ p >= 0 && p < k.length && (s.value = p);
2679
2690
  }
2680
2691
  },
2681
2692
  getFocusedIndex: () => s.value
@@ -2686,9 +2697,9 @@ function St(e, t) {
2686
2697
  return typeof n == "function" ? n : (a) => a === null || typeof a != "object" ? a : n && n in a ? a[n] : a;
2687
2698
  }
2688
2699
  function Zl(e) {
2689
- const t = $(() => St(e.optionValue(), "id")), n = $(() => St(e.optionLabel(), "title"));
2700
+ const t = S(() => St(e.optionValue(), "id")), n = S(() => St(e.optionLabel(), "title"));
2690
2701
  function a(l, s, u, f) {
2691
- const m = (g) => Re(t.value(g), l);
2702
+ const m = (g) => Me(t.value(g), l);
2692
2703
  return u.find(m) || f.find(m) || s.find(m) || l;
2693
2704
  }
2694
2705
  function o(l) {
@@ -2706,7 +2717,7 @@ function Zl(e) {
2706
2717
  };
2707
2718
  }
2708
2719
  function Ql() {
2709
- const e = S(null), t = S(!1);
2720
+ const e = I(null), t = I(!1);
2710
2721
  let n = null, a = null;
2711
2722
  function o() {
2712
2723
  if (e.value && !t.value) {
@@ -2736,7 +2747,7 @@ function Ql() {
2736
2747
  };
2737
2748
  }
2738
2749
  function _l(e) {
2739
- const t = S(!1), n = S(!1), a = S(null), o = S(null);
2750
+ const t = I(!1), n = I(!1), a = I(null), o = I(null);
2740
2751
  function i() {
2741
2752
  return {
2742
2753
  name: "sameWidth",
@@ -2750,14 +2761,14 @@ function _l(e) {
2750
2761
  };
2751
2762
  }
2752
2763
  const l = ia(a, o, {
2753
- placement: $(() => e.placement),
2754
- middleware: $(() => [
2764
+ placement: S(() => e.placement),
2765
+ middleware: S(() => [
2755
2766
  Tt({ fallbackPlacements: ["top", "bottom"] }),
2756
2767
  Rt({ mainAxis: !1 }),
2757
2768
  i(),
2758
2769
  tt({ mainAxis: 4 })
2759
2770
  ])
2760
- }), s = $(() => ({
2771
+ }), s = S(() => ({
2761
2772
  top: `${l.y.value ?? 0}px`,
2762
2773
  left: `${l.x.value ?? 0}px`,
2763
2774
  width: l.middlewareData.value.sameWidth?.width
@@ -2782,9 +2793,9 @@ function _l(e) {
2782
2793
  };
2783
2794
  }
2784
2795
  function eo(e) {
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();
2796
+ const t = I([]), n = I(null), a = I(0), o = I(!1), i = I(!1), l = I(), s = I([]), u = I(!1), f = /* @__PURE__ */ new Map();
2786
2797
  let m = !1, g;
2787
- const d = $(() => n.value ?? t.value), c = $(() => t.value.length < a.value);
2798
+ const d = S(() => n.value ?? t.value), c = S(() => t.value.length < a.value);
2788
2799
  function b(F) {
2789
2800
  for (const D of F) {
2790
2801
  const z = String(e.getOptionValue.value(D));
@@ -2815,17 +2826,17 @@ function eo(e) {
2815
2826
  if (!(typeof F != "function" || o.value))
2816
2827
  try {
2817
2828
  o.value = !0;
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(
2829
+ const D = await F(l.value, t.value.length), z = new Set(t.value.map((X) => String(e.getOptionValue.value(X)))), j = (D?.results ?? []).filter(
2819
2830
  (X) => !z.has(String(e.getOptionValue.value(X)))
2820
2831
  );
2821
- t.value = [...t.value, ...W], a.value = D?.totalCount ?? a.value, b(W);
2832
+ t.value = [...t.value, ...j], a.value = D?.totalCount ?? a.value, b(j);
2822
2833
  } catch (D) {
2823
2834
  console.error("useSelectDataSource: error loading more", D);
2824
2835
  } finally {
2825
2836
  o.value = !1;
2826
2837
  }
2827
2838
  }
2828
- async function I(F) {
2839
+ async function k(F) {
2829
2840
  l.value = F;
2830
2841
  const D = e.options();
2831
2842
  if (typeof D == "function")
@@ -2840,43 +2851,43 @@ function eo(e) {
2840
2851
  }
2841
2852
  else
2842
2853
  n.value = t.value.filter((z) => {
2843
- const W = e.getOptionLabel.value(z);
2844
- return String(W).toLowerCase().includes(F.toLowerCase());
2854
+ const j = e.getOptionLabel.value(z);
2855
+ return String(j).toLowerCase().includes(F.toLowerCase());
2845
2856
  });
2846
2857
  }
2847
2858
  function P(F) {
2848
2859
  if (!F?.target) return;
2849
2860
  const D = F.target.value, z = Number(e.debounce());
2850
2861
  g && clearTimeout(g), z > 0 ? g = setTimeout(() => {
2851
- e.emit.search(D), I(D);
2852
- }, z) : (e.emit.search(D), I(D));
2862
+ e.emit.search(D), k(D);
2863
+ }, z) : (e.emit.search(D), k(D));
2853
2864
  }
2854
2865
  function J() {
2855
2866
  n.value = null, l.value = void 0, g && (clearTimeout(g), g = void 0), a.value = t.value.length;
2856
2867
  }
2857
2868
  async function ae(F) {
2858
2869
  if (F.length === 0) return [];
2859
- const z = F.filter((k) => !f.has(String(k))).filter((k) => {
2860
- const R = t.value.find((K) => Re(e.getOptionValue.value(K), k));
2861
- return R ? (f.set(String(k), R), !1) : !0;
2862
- }), W = e.options();
2863
- if (z.length > 0 && typeof W == "function") {
2870
+ const z = F.filter((M) => !f.has(String(M))).filter((M) => {
2871
+ const $ = t.value.find((q) => Me(e.getOptionValue.value(q), M));
2872
+ return $ ? (f.set(String(M), $), !1) : !0;
2873
+ }), j = e.options();
2874
+ if (z.length > 0 && typeof j == "function") {
2864
2875
  try {
2865
2876
  u.value = !0;
2866
- const R = await W(void 0, void 0, z);
2867
- R?.results && b(R.results);
2868
- } catch (R) {
2869
- console.error("useSelectDataSource: error resolving", R);
2877
+ const $ = await j(void 0, void 0, z);
2878
+ $?.results && b($.results);
2879
+ } catch ($) {
2880
+ console.error("useSelectDataSource: error resolving", $);
2870
2881
  } finally {
2871
2882
  u.value = !1;
2872
2883
  }
2873
- z.filter((R) => !f.has(String(R))).length > 0 && !m && await h();
2874
- } else if (z.length > 0 && Array.isArray(W))
2875
- for (const k of W) {
2876
- const R = String(e.getOptionValue.value(k));
2877
- z.includes(R) && f.set(R, k);
2884
+ z.filter(($) => !f.has(String($))).length > 0 && !m && await h();
2885
+ } else if (z.length > 0 && Array.isArray(j))
2886
+ for (const M of j) {
2887
+ const $ = String(e.getOptionValue.value(M));
2888
+ z.includes($) && f.set($, M);
2878
2889
  }
2879
- const X = F.map((k) => f.get(String(k))).filter(Boolean);
2890
+ const X = F.map((M) => f.get(String(M))).filter(Boolean);
2880
2891
  return s.value = X, X;
2881
2892
  }
2882
2893
  async function ee() {
@@ -2889,8 +2900,8 @@ function eo(e) {
2889
2900
  const F = e.options();
2890
2901
  if (Array.isArray(F) && (t.value = [...F], a.value = t.value.length, b(t.value), m = !0, s.value.length === 0)) {
2891
2902
  const D = s.value;
2892
- (D.length === 0 ? t.value.filter((W) => {
2893
- const X = String(e.getOptionValue.value(W));
2903
+ (D.length === 0 ? t.value.filter((j) => {
2904
+ const X = String(e.getOptionValue.value(j));
2894
2905
  return f.has(X);
2895
2906
  }) : D).length;
2896
2907
  }
@@ -2916,7 +2927,7 @@ function eo(e) {
2916
2927
  }
2917
2928
  function to(e) {
2918
2929
  let t = [];
2919
- const n = $(() => {
2930
+ const n = S(() => {
2920
2931
  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()] : [];
2921
2932
  if (e.mapOptions() === !0 && Array.isArray(e.displayItems.value) === !0) {
2922
2933
  const c = e.mapOptions() === !0 && t !== void 0 ? t : [], b = d.map((h) => {
@@ -2938,12 +2949,12 @@ function to(e) {
2938
2949
  },
2939
2950
  { immediate: !0 }
2940
2951
  );
2941
- const a = $(() => n.value.map((g) => e.getOptionValue.value(g)));
2952
+ const a = S(() => n.value.map((g) => e.getOptionValue.value(g)));
2942
2953
  function o(g) {
2943
2954
  const d = e.getOptionValue.value(g);
2944
- return a.value.find((c) => Re(c, d)) !== void 0;
2955
+ return a.value.find((c) => Me(c, d)) !== void 0;
2945
2956
  }
2946
- const i = $(
2957
+ const i = S(
2947
2958
  () => n.value.map((g, d) => ({
2948
2959
  index: d,
2949
2960
  opt: g,
@@ -2951,7 +2962,7 @@ function to(e) {
2951
2962
  toggleOption: u,
2952
2963
  removeAtIndex: f
2953
2964
  }))
2954
- ), l = $(() => e.fieldValueIsFilled(n.value)), s = $(() => e.displayItems.value.map((g, d) => ({
2965
+ ), l = S(() => e.fieldValueIsFilled(n.value)), s = S(() => e.displayItems.value.map((g, d) => ({
2955
2966
  index: d,
2956
2967
  opt: g,
2957
2968
  selected: o(g) === !0,
@@ -2963,7 +2974,7 @@ function to(e) {
2963
2974
  return;
2964
2975
  const d = e.getOptionValue.value(g);
2965
2976
  if (e.multiple() !== !0) {
2966
- (n.value.length === 0 || Re(e.getOptionValue.value(n.value[0]), d) !== !0) && e.emit.updateModelValue(e.emitValue() === !0 ? d : g), e.isOpened.value = !1, e.emit.close();
2977
+ (n.value.length === 0 || Me(e.getOptionValue.value(n.value[0]), d) !== !0) && e.emit.updateModelValue(e.emitValue() === !0 ? d : g), e.isOpened.value = !1, e.emit.close();
2967
2978
  return;
2968
2979
  }
2969
2980
  if (n.value.length === 0) {
@@ -2971,7 +2982,7 @@ function to(e) {
2971
2982
  e.emit.updateModelValue(e.multiple() === !0 ? [h] : h);
2972
2983
  return;
2973
2984
  }
2974
- const c = e.modelValue().slice(), b = a.value.findIndex((h) => Re(h, d));
2985
+ const c = e.modelValue().slice(), b = a.value.findIndex((h) => Me(h, d));
2975
2986
  if (b > -1)
2976
2987
  c.splice(b, 1);
2977
2988
  else {
@@ -3072,7 +3083,7 @@ const no = { class: "vc-select__control" }, ao = {
3072
3083
  },
3073
3084
  emits: ["focus", "blur", "reset", "removeAtIndex"],
3074
3085
  setup(e, { expose: t }) {
3075
- const { t: n } = Ie({ useScope: "global" }), a = S(null);
3086
+ const { t: n } = Se({ useScope: "global" }), a = I(null);
3076
3087
  return t({
3077
3088
  toggleRef: a
3078
3089
  }), (o, i) => (v(), y("div", {
@@ -3089,7 +3100,7 @@ const no = { class: "vc-select__control" }, ao = {
3089
3100
  C(o.$slots, "prepend")
3090
3101
  ])) : w("", !0),
3091
3102
  L("div", {
3092
- class: j(["vc-select__field-wrapper", {
3103
+ class: W(["vc-select__field-wrapper", {
3093
3104
  "vc-select__field-wrapper--default": e.size === "default",
3094
3105
  "vc-select__field-wrapper--small": e.size === "small"
3095
3106
  }])
@@ -3135,7 +3146,7 @@ const no = { class: "vc-select__control" }, ao = {
3135
3146
  onBlur: i[4] || (i[4] = (l) => o.$emit("blur"))
3136
3147
  }, [
3137
3148
  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", {
3149
+ (v(!0), y(Oe, null, ot(e.selectedScope, (l, s) => (v(), y("div", {
3139
3150
  key: s,
3140
3151
  class: "vc-select__selected-item"
3141
3152
  }, [
@@ -3154,14 +3165,14 @@ const no = { class: "vc-select__control" }, ao = {
3154
3165
  onClick: G((u) => o.$emit("removeAtIndex", l.index), ["stop"]),
3155
3166
  onKeydown: Z(G((u) => o.$emit("removeAtIndex", l.index), ["stop", "prevent"]), ["enter"])
3156
3167
  }, [
3157
- x(r(U), {
3168
+ x(r(K), {
3158
3169
  class: "vc-select__icon-remove",
3159
3170
  icon: "lucide-x",
3160
3171
  size: "xs"
3161
3172
  })
3162
3173
  ], 40, bo))
3163
3174
  ])
3164
- ]) : e.multiple ? w("", !0) : (v(), y(we, { key: 1 }, [
3175
+ ]) : e.multiple ? w("", !0) : (v(), y(Oe, { key: 1 }, [
3165
3176
  e.loading ? (v(), y("span", yo, T(r(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : C(o.$slots, "selected-item", ne({
3166
3177
  key: 1,
3167
3178
  ref_for: !0
@@ -3171,9 +3182,9 @@ const no = { class: "vc-select__control" }, ao = {
3171
3182
  ], 64))
3172
3183
  ]))), 128))
3173
3184
  ])) : w("", !0) : (v(), y("div", fo, [
3174
- e.placeholder ? (v(), y(we, { key: 0 }, [
3185
+ e.placeholder ? (v(), y(Oe, { key: 0 }, [
3175
3186
  Q(T(e.placeholder), 1)
3176
- ], 64)) : (v(), y(we, { key: 1 }, [
3187
+ ], 64)) : (v(), y(Oe, { key: 1 }, [
3177
3188
  Q(T(r(n)("COMPONENTS.MOLECULES.VC_SELECT.CLICK_TO_SELECT")), 1)
3178
3189
  ], 64))
3179
3190
  ]))
@@ -3191,7 +3202,7 @@ const no = { class: "vc-select__control" }, ao = {
3191
3202
  i[7] || (i[7] = Z((l) => o.$emit("reset"), ["space"]))
3192
3203
  ]
3193
3204
  }, [
3194
- x(r(U), {
3205
+ x(r(K), {
3195
3206
  size: "xs",
3196
3207
  icon: "lucide-x"
3197
3208
  })
@@ -3201,7 +3212,7 @@ const no = { class: "vc-select__control" }, ao = {
3201
3212
  C(o.$slots, "append-inner")
3202
3213
  ])) : w("", !0),
3203
3214
  e.loading || e.listLoading || e.defaultOptionLoading ? (v(), y("div", So, [
3204
- x(r(U), {
3215
+ x(r(K), {
3205
3216
  icon: "lucide-loader-2",
3206
3217
  class: "tw-animate-spin",
3207
3218
  size: "m"
@@ -3232,7 +3243,7 @@ const no = { class: "vc-select__control" }, ao = {
3232
3243
  ]
3233
3244
  }, [
3234
3245
  L("div", wo, [
3235
- x(r(U), {
3246
+ x(r(K), {
3236
3247
  size: "s",
3237
3248
  icon: "lucide-chevron-down"
3238
3249
  })
@@ -3242,14 +3253,14 @@ const no = { class: "vc-select__control" }, ao = {
3242
3253
  ])
3243
3254
  ]),
3244
3255
  L("div", Oo, [
3245
- x(Ae, {
3256
+ x(Ne, {
3246
3257
  name: "slide-up",
3247
3258
  mode: "out-in"
3248
3259
  }, {
3249
3260
  default: O(() => [
3250
3261
  e.error && e.errorMessage ? (v(), y("div", Eo, [
3251
3262
  C(o.$slots, "error", {}, () => [
3252
- x(r(fe), {
3263
+ x(r(ve), {
3253
3264
  id: e.errorId,
3254
3265
  class: "vc-select__error-message",
3255
3266
  error: !0
@@ -3262,7 +3273,7 @@ const no = { class: "vc-select__control" }, ao = {
3262
3273
  ])
3263
3274
  ])) : (v(), y("div", Lo, [
3264
3275
  C(o.$slots, "hint", {}, () => [
3265
- e.hint ? (v(), N(r(fe), {
3276
+ e.hint ? (v(), N(r(ve), {
3266
3277
  key: 0,
3267
3278
  id: e.hintId,
3268
3279
  class: "vc-select__hint"
@@ -3311,7 +3322,7 @@ const no = { class: "vc-select__control" }, ao = {
3311
3322
  },
3312
3323
  emits: ["input", "clickOutside"],
3313
3324
  setup(e, { expose: t, emit: n }) {
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);
3325
+ const a = e, o = n, { t: i } = Se({ useScope: "global" }), { teleportTarget: l } = $n(), s = I(null), u = I(null), f = I(null), m = I(null), g = S(() => f.value?.viewportRef ?? null);
3315
3326
  function d(c) {
3316
3327
  const b = g.value;
3317
3328
  if (!b) return;
@@ -3325,12 +3336,12 @@ const no = { class: "vc-select__control" }, ao = {
3325
3336
  return H(
3326
3337
  () => a.isOpened,
3327
3338
  (c) => {
3328
- c && he(() => f.value?.updateScrollState());
3339
+ c && ke(() => f.value?.updateScrollState());
3329
3340
  }
3330
3341
  ), H(
3331
3342
  () => a.optionScope.length,
3332
3343
  () => {
3333
- a.isOpened && he(() => f.value?.updateScrollState());
3344
+ a.isOpened && ke(() => f.value?.updateScrollState());
3334
3345
  }
3335
3346
  ), t({
3336
3347
  dropdownElRef: s,
@@ -3338,7 +3349,7 @@ const no = { class: "vc-select__control" }, ao = {
3338
3349
  viewportRef: g,
3339
3350
  loadMoreRef: m
3340
3351
  }), (c, b) => (v(), N(cn, { to: r(l) }, [
3341
- x(Ae, { name: "select-dropdown" }, {
3352
+ x(Ne, { name: "select-dropdown" }, {
3342
3353
  default: O(() => [
3343
3354
  e.isOpened ? rt((v(), y("div", {
3344
3355
  key: 0,
@@ -3349,7 +3360,7 @@ const no = { class: "vc-select__control" }, ao = {
3349
3360
  class: "vc-select__dropdown",
3350
3361
  role: "listbox",
3351
3362
  "aria-label": e.ariaLabel,
3352
- style: Me(e.dropdownStyle),
3363
+ style: Ae(e.dropdownStyle),
3353
3364
  onWheel: d
3354
3365
  }, [
3355
3366
  e.searchable ? (v(), y("input", {
@@ -3374,9 +3385,9 @@ const no = { class: "vc-select__control" }, ao = {
3374
3385
  class: "vc-select__scroll-container"
3375
3386
  }, {
3376
3387
  default: O(() => [
3377
- (v(!0), y(we, null, ot(e.optionScope, (h, B) => (v(), y("div", {
3388
+ (v(!0), y(Oe, null, ot(e.optionScope, (h, B) => (v(), y("div", {
3378
3389
  key: B,
3379
- class: j(["vc-select__option", { "vc-select__option--selected": h.selected }]),
3390
+ class: W(["vc-select__option", { "vc-select__option--selected": h.selected }]),
3380
3391
  "data-test-id": "option",
3381
3392
  role: "option",
3382
3393
  "aria-selected": h.selected,
@@ -3392,14 +3403,14 @@ const no = { class: "vc-select__control" }, ao = {
3392
3403
  Q(T(h.label), 1)
3393
3404
  ]),
3394
3405
  h.selected ? (v(), y("span", Mo, [
3395
- x(r(U), {
3406
+ x(r(K), {
3396
3407
  icon: "lucide-check",
3397
3408
  size: "xs"
3398
3409
  })
3399
3410
  ])) : w("", !0)
3400
3411
  ], 42, Ro))), 128)),
3401
3412
  e.listLoading ? (v(), y("div", Ao, [
3402
- x(r(U), {
3413
+ x(r(K), {
3403
3414
  icon: "lucide-loader-2",
3404
3415
  class: "tw-animate-spin",
3405
3416
  size: "m"
@@ -3462,10 +3473,10 @@ const no = { class: "vc-select__control" }, ao = {
3462
3473
  },
3463
3474
  emits: ["update:modelValue", "search", "close"],
3464
3475
  setup(e, { emit: t }) {
3465
- const n = e, a = wt(), o = $(() => {
3466
- const { class: M, ..._ } = a;
3476
+ const n = e, a = wt(), o = S(() => {
3477
+ const { class: R, ..._ } = a;
3467
3478
  return _;
3468
- }), i = t, { t: l } = Ie({ useScope: "global" }), s = Se(), {
3479
+ }), i = t, { t: l } = Se({ useScope: "global" }), s = $e(), {
3469
3480
  fieldId: u,
3470
3481
  labelId: f,
3471
3482
  errorId: m,
@@ -3475,10 +3486,10 @@ const no = { class: "vc-select__control" }, ao = {
3475
3486
  resolvedName: b,
3476
3487
  ariaRequired: h,
3477
3488
  ariaDescribedBy: B
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({
3489
+ } = Ke(n), p = S(() => `${u.value}-listbox`), k = I(null), P = I(null), { selectRootRef: J, isSelectVisible: ae, ensureVisibility: ee } = Ql(), { getOptionValue: F, getOptionLabel: D, getOption: z, getEmittingOptionValue: j, fieldValueIsFilled: X } = Zl({
3479
3490
  optionValue: () => n.optionValue,
3480
3491
  optionLabel: () => n.optionLabel
3481
- }), { isOpened: k, isFocused: R, dropdownToggleRef: K, dropdownRef: te, popper: Ve, dropdownStyle: E, toggleDropdown: q } = _l({
3492
+ }), { isOpened: M, isFocused: $, dropdownToggleRef: q, dropdownRef: te, popper: le, dropdownStyle: E, toggleDropdown: U } = _l({
3482
3493
  placement: n.placement,
3483
3494
  outline: () => n.outline,
3484
3495
  isSelectVisible: ae,
@@ -3487,7 +3498,7 @@ const no = { class: "vc-select__control" }, ao = {
3487
3498
  ensureVisibility: ee
3488
3499
  });
3489
3500
  Qe(() => {
3490
- K.value = I.value?.toggleRef ?? null;
3501
+ q.value = k.value?.toggleRef ?? null;
3491
3502
  }), Qe(() => {
3492
3503
  te.value = P.value?.dropdownElRef ?? null;
3493
3504
  });
@@ -3498,9 +3509,9 @@ const no = { class: "vc-select__control" }, ao = {
3498
3509
  isSelectVisible: ae,
3499
3510
  debounce: () => n.debounce ?? 500,
3500
3511
  emit: {
3501
- search: (M) => i("search", M)
3512
+ search: (R) => i("search", R)
3502
3513
  }
3503
- }), { selectedScope: Jt, hasValue: Xt, optionScope: Le, removeAtIndex: Zt, onReset: Qt } = to({
3514
+ }), { selectedScope: Jt, hasValue: Xt, optionScope: Be, removeAtIndex: Zt, onReset: Qt } = to({
3504
3515
  modelValue: () => n.modelValue,
3505
3516
  multiple: () => n.multiple,
3506
3517
  emitValue: () => n.emitValue ?? !0,
@@ -3512,75 +3523,75 @@ const no = { class: "vc-select__control" }, ao = {
3512
3523
  getOptionLabel: D,
3513
3524
  getOption: z,
3514
3525
  fieldValueIsFilled: X,
3515
- isOpened: k,
3516
- popperUpdate: () => Ve.update(),
3526
+ isOpened: M,
3527
+ popperUpdate: () => le.update(),
3517
3528
  emit: {
3518
- updateModelValue: (M) => i("update:modelValue", M),
3529
+ updateModelValue: (R) => i("update:modelValue", R),
3519
3530
  close: () => i("close")
3520
3531
  }
3521
- }), _t = $(() => P.value?.loadMoreRef ?? null), en = $(() => P.value?.viewportRef ?? null);
3532
+ }), _t = S(() => P.value?.loadMoreRef ?? null), en = S(() => P.value?.viewportRef ?? null);
3522
3533
  xn(
3523
3534
  _t,
3524
- ([{ isIntersecting: M }]) => {
3525
- M && A.hasMore.value && A.loadMore();
3535
+ ([{ isIntersecting: R }]) => {
3536
+ R && A.hasMore.value && A.loadMore();
3526
3537
  },
3527
3538
  { threshold: 1, root: en }
3528
3539
  );
3529
3540
  const Ge = Xl({
3530
- onEnter: (M) => {
3531
- const _ = parseInt(M.getAttribute("data-index") || "0", 10);
3532
- Le.value && Le.value[_] && Le.value[_].toggleOption(Le.value[_].opt);
3541
+ onEnter: (R) => {
3542
+ const _ = parseInt(R.getAttribute("data-index") || "0", 10);
3543
+ Be.value && Be.value[_] && Be.value[_].toggleOption(Be.value[_].opt);
3533
3544
  },
3534
3545
  onEscape: () => {
3535
- k.value = !1, i("close"), he(() => {
3536
- I.value?.toggleRef?.querySelector('[role="combobox"]')?.focus();
3546
+ M.value = !1, i("close"), ke(() => {
3547
+ k.value?.toggleRef?.querySelector('[role="combobox"]')?.focus();
3537
3548
  });
3538
3549
  }
3539
3550
  });
3540
3551
  function tn() {
3541
- k.value = !1, i("close");
3552
+ M.value = !1, i("close");
3542
3553
  }
3543
- return H(k, async (M) => {
3544
- M ? (await A.open(), he(() => {
3545
- Ve.update();
3546
- const _ = P.value?.dropdownElRef, oe = P.value?.searchInputRef;
3554
+ return H(M, async (R) => {
3555
+ R ? (await A.open(), ke(() => {
3556
+ le.update();
3557
+ const _ = P.value?.dropdownElRef, ie = P.value?.searchInputRef;
3547
3558
  if (_)
3548
- if (Ge.initKeyboardNavigation(_), n.searchable && oe)
3549
- oe.focus();
3559
+ if (Ge.initKeyboardNavigation(_), n.searchable && ie)
3560
+ ie.focus();
3550
3561
  else {
3551
- const Be = _.querySelector(
3562
+ const Ce = _.querySelector(
3552
3563
  '.vc-select__option[tabindex="0"], .vc-select__search-input[tabindex="0"]'
3553
3564
  );
3554
- Be ? Be.focus() : Ge.focusFirstElement();
3565
+ Ce ? Ce.focus() : Ge.focusFirstElement();
3555
3566
  }
3556
3567
  })) : (Ge.cleanupKeyboardNavigation(), A.close());
3557
3568
  }), H(
3558
3569
  () => n.modelValue,
3559
- async (M) => {
3560
- if (M == null || Array.isArray(M) && M.length === 0) {
3570
+ async (R) => {
3571
+ if (R == null || Array.isArray(R) && R.length === 0) {
3561
3572
  A.resolvedDefaults.value = [];
3562
3573
  return;
3563
3574
  }
3564
3575
  const _ = n.emitValue ?? !0;
3565
3576
  if (n.mapOptions ?? !0) {
3566
- const Be = Array.isArray(M) ? M : [M], pt = _ ? Be : Be.filter((Ce) => Ce != null && typeof Ce != "object");
3577
+ const Ce = Array.isArray(R) ? R : [R], pt = _ ? Ce : Ce.filter((xe) => xe != null && typeof xe != "object");
3567
3578
  if (pt.length > 0) {
3568
- const Ce = pt.filter((nn) => nn != null).map(String);
3569
- Ce.length > 0 && await A.resolve(Ce);
3579
+ const xe = pt.filter((nn) => nn != null).map(String);
3580
+ xe.length > 0 && await A.resolve(xe);
3570
3581
  }
3571
3582
  }
3572
3583
  },
3573
3584
  { immediate: !0 }
3574
- ), (M, _) => r(s) ? (v(), y("div", ne({ key: 0 }, o.value, {
3575
- class: ["vc-select vc-select--skeleton", M.$attrs.class]
3585
+ ), (R, _) => r(s) ? (v(), y("div", ne({ key: 0 }, o.value, {
3586
+ class: ["vc-select vc-select--skeleton", R.$attrs.class]
3576
3587
  }), [
3577
- e.label ? (v(), N(r(le), {
3588
+ e.label ? (v(), N(r(oe), {
3578
3589
  key: 0,
3579
3590
  variant: "block",
3580
3591
  width: 60 + (e.label?.length || 0) * 4,
3581
3592
  height: 11
3582
3593
  }, null, 8, ["width"])) : w("", !0),
3583
- x(r(le), {
3594
+ x(r(oe), {
3584
3595
  variant: "block",
3585
3596
  width: "100%",
3586
3597
  height: 36
@@ -3591,14 +3602,14 @@ const no = { class: "vc-select__control" }, ao = {
3591
3602
  ref: J
3592
3603
  }, o.value, {
3593
3604
  class: ["vc-select", [
3594
- M.$attrs.class,
3605
+ R.$attrs.class,
3595
3606
  {
3596
- "vc-select--opened": r(k),
3607
+ "vc-select--opened": r(M),
3597
3608
  "vc-select--error": r(d),
3598
3609
  "vc-select--disabled": r(c),
3599
3610
  "vc-select--has-hint-or-error": r(d) || e.hint,
3600
3611
  "vc-select--no-outline": !e.outline,
3601
- "vc-select--focused": r(R)
3612
+ "vc-select--focused": r($)
3602
3613
  }
3603
3614
  ]]
3604
3615
  }), [
@@ -3610,7 +3621,7 @@ const no = { class: "vc-select__control" }, ao = {
3610
3621
  multilanguage: e.multilanguage,
3611
3622
  "current-language": e.currentLanguage,
3612
3623
  error: r(d)
3613
- }, ie({
3624
+ }, re({
3614
3625
  default: O(() => [
3615
3626
  L("span", null, T(e.label), 1)
3616
3627
  ]),
@@ -3629,8 +3640,8 @@ const no = { class: "vc-select__control" }, ao = {
3629
3640
  L("div", zo, [
3630
3641
  x(Co, {
3631
3642
  ref_key: "selectTriggerRef",
3632
- ref: I,
3633
- "is-opened": r(k),
3643
+ ref: k,
3644
+ "is-opened": r(M),
3634
3645
  "has-value": r(Xt),
3635
3646
  "selected-scope": r(Jt),
3636
3647
  multiple: e.multiple,
@@ -3653,67 +3664,67 @@ const no = { class: "vc-select__control" }, ao = {
3653
3664
  "aria-required": r(h),
3654
3665
  "error-id": r(m),
3655
3666
  "hint-id": r(g),
3656
- "toggle-dropdown": r(q),
3667
+ "toggle-dropdown": r(U),
3657
3668
  "get-option-label": r(D),
3658
- "get-emitting-option-value": r(W),
3659
- onFocus: _[0] || (_[0] = (oe) => R.value = !0),
3660
- onBlur: _[1] || (_[1] = (oe) => R.value = !1),
3669
+ "get-emitting-option-value": r(j),
3670
+ onFocus: _[0] || (_[0] = (ie) => $.value = !0),
3671
+ onBlur: _[1] || (_[1] = (ie) => $.value = !1),
3661
3672
  onReset: r(Qt),
3662
3673
  onRemoveAtIndex: r(Zt)
3663
- }, ie({ _: 2 }, [
3664
- M.$slots.control ? {
3674
+ }, re({ _: 2 }, [
3675
+ R.$slots.control ? {
3665
3676
  name: "control",
3666
- fn: O((oe) => [
3667
- C(M.$slots, "control", xe(Te(oe)))
3677
+ fn: O((ie) => [
3678
+ C(R.$slots, "control", Te(Re(ie)))
3668
3679
  ]),
3669
3680
  key: "0"
3670
3681
  } : void 0,
3671
- M.$slots.prepend ? {
3682
+ R.$slots.prepend ? {
3672
3683
  name: "prepend",
3673
3684
  fn: O(() => [
3674
- C(M.$slots, "prepend")
3685
+ C(R.$slots, "prepend")
3675
3686
  ]),
3676
3687
  key: "1"
3677
3688
  } : void 0,
3678
- M.$slots.append ? {
3689
+ R.$slots.append ? {
3679
3690
  name: "append",
3680
3691
  fn: O(() => [
3681
- C(M.$slots, "append")
3692
+ C(R.$slots, "append")
3682
3693
  ]),
3683
3694
  key: "2"
3684
3695
  } : void 0,
3685
- M.$slots["prepend-inner"] ? {
3696
+ R.$slots["prepend-inner"] ? {
3686
3697
  name: "prepend-inner",
3687
3698
  fn: O(() => [
3688
- C(M.$slots, "prepend-inner")
3699
+ C(R.$slots, "prepend-inner")
3689
3700
  ]),
3690
3701
  key: "3"
3691
3702
  } : void 0,
3692
- M.$slots["append-inner"] ? {
3703
+ R.$slots["append-inner"] ? {
3693
3704
  name: "append-inner",
3694
3705
  fn: O(() => [
3695
- C(M.$slots, "append-inner")
3706
+ C(R.$slots, "append-inner")
3696
3707
  ]),
3697
3708
  key: "4"
3698
3709
  } : void 0,
3699
- M.$slots["selected-item"] ? {
3710
+ R.$slots["selected-item"] ? {
3700
3711
  name: "selected-item",
3701
- fn: O((oe) => [
3702
- C(M.$slots, "selected-item", xe(Te(oe)))
3712
+ fn: O((ie) => [
3713
+ C(R.$slots, "selected-item", Te(Re(ie)))
3703
3714
  ]),
3704
3715
  key: "5"
3705
3716
  } : void 0,
3706
- M.$slots.error ? {
3717
+ R.$slots.error ? {
3707
3718
  name: "error",
3708
3719
  fn: O(() => [
3709
- C(M.$slots, "error")
3720
+ C(R.$slots, "error")
3710
3721
  ]),
3711
3722
  key: "6"
3712
3723
  } : void 0,
3713
- M.$slots.hint ? {
3724
+ R.$slots.hint ? {
3714
3725
  name: "hint",
3715
3726
  fn: O(() => [
3716
- C(M.$slots, "hint")
3727
+ C(R.$slots, "hint")
3717
3728
  ]),
3718
3729
  key: "7"
3719
3730
  } : void 0
@@ -3721,30 +3732,30 @@ const no = { class: "vc-select__control" }, ao = {
3721
3732
  x(Po, ne({
3722
3733
  ref_key: "selectDropdownRef",
3723
3734
  ref: P,
3724
- "is-opened": r(k),
3735
+ "is-opened": r(M),
3725
3736
  "listbox-id": p.value
3726
3737
  }, { ariaLabel: e.label || e.name }, {
3727
3738
  "dropdown-style": r(E),
3728
3739
  searchable: e.searchable,
3729
- "option-scope": r(Le),
3740
+ "option-scope": r(Be),
3730
3741
  "list-loading": r(A).loading.value || r(A).searchLoading.value,
3731
3742
  "options-list-length": r(A).displayItems.value.length,
3732
3743
  "has-next-page": r(A).hasMore.value,
3733
- "dropdown-toggle-ref": I.value?.toggleRef ?? null,
3744
+ "dropdown-toggle-ref": k.value?.toggleRef ?? null,
3734
3745
  onInput: r(A).onInput,
3735
3746
  onClickOutside: tn
3736
- }), ie({ _: 2 }, [
3737
- M.$slots.option ? {
3747
+ }), re({ _: 2 }, [
3748
+ R.$slots.option ? {
3738
3749
  name: "option",
3739
- fn: O((oe) => [
3740
- C(M.$slots, "option", xe(Te(oe)))
3750
+ fn: O((ie) => [
3751
+ C(R.$slots, "option", Te(Re(ie)))
3741
3752
  ]),
3742
3753
  key: "0"
3743
3754
  } : void 0,
3744
- M.$slots["no-options"] ? {
3755
+ R.$slots["no-options"] ? {
3745
3756
  name: "no-options",
3746
3757
  fn: O(() => [
3747
- C(M.$slots, "no-options")
3758
+ C(R.$slots, "no-options")
3748
3759
  ]),
3749
3760
  key: "1"
3750
3761
  } : void 0
@@ -3769,6 +3780,7 @@ const no = { class: "vc-select__control" }, ao = {
3769
3780
  optionLabel: {},
3770
3781
  searchable: { type: Boolean, default: !1 },
3771
3782
  inputType: { default: "text" },
3783
+ ariaLabel: {},
3772
3784
  placeholder: {},
3773
3785
  hint: {},
3774
3786
  clearable: { type: Boolean },
@@ -3787,15 +3799,15 @@ const no = { class: "vc-select__control" }, ao = {
3787
3799
  },
3788
3800
  emits: ["update:model-value", "update:option", "change", "blur"],
3789
3801
  setup(e) {
3790
- const t = Se();
3802
+ const t = $e();
3791
3803
  return (n, a) => r(t) ? (v(), y("div", Uo, [
3792
- e.label ? (v(), N(r(le), {
3804
+ e.label ? (v(), N(r(oe), {
3793
3805
  key: 0,
3794
3806
  variant: "block",
3795
3807
  width: 60 + (e.label?.length || 0) * 4,
3796
3808
  height: 11
3797
3809
  }, null, 8, ["width"])) : w("", !0),
3798
- x(r(le), {
3810
+ x(r(oe), {
3799
3811
  variant: "block",
3800
3812
  width: "100%",
3801
3813
  height: 36
@@ -3818,7 +3830,7 @@ const no = { class: "vc-select__control" }, ao = {
3818
3830
  "onUpdate:modelValue": a[2] || (a[2] = (o) => n.$emit("update:option", o))
3819
3831
  }, {
3820
3832
  option: O((o) => [
3821
- C(n.$slots, "option", xe(Te(o)))
3833
+ C(n.$slots, "option", Te(Re(o)))
3822
3834
  ]),
3823
3835
  control: O(({ toggleHandler: o, isOpened: i }) => [
3824
3836
  x(r(gt), {
@@ -3836,10 +3848,11 @@ const no = { class: "vc-select__control" }, ao = {
3836
3848
  "error-message": e.errorMessage,
3837
3849
  maxlength: e.maxlength,
3838
3850
  type: e.inputType,
3851
+ "aria-label": e.label ? void 0 : e.ariaLabel,
3839
3852
  class: "vc-input-dropdown__input",
3840
3853
  "onUpdate:modelValue": a[0] || (a[0] = (l) => n.$emit("update:model-value", l)),
3841
3854
  onBlur: a[1] || (a[1] = (l) => n.$emit("blur", l))
3842
- }, ie({
3855
+ }, re({
3843
3856
  "append-inner": O(() => [
3844
3857
  L("div", Ko, [
3845
3858
  C(n.$slots, "button", { toggleHandler: o }, () => [
@@ -3875,7 +3888,7 @@ const no = { class: "vc-select__control" }, ao = {
3875
3888
  n.$slots.control ? {
3876
3889
  name: "control",
3877
3890
  fn: O((l) => [
3878
- C(n.$slots, "control", xe(Te(l)))
3891
+ C(n.$slots, "control", Te(Re(l)))
3879
3892
  ]),
3880
3893
  key: "0"
3881
3894
  } : void 0,
@@ -3900,7 +3913,7 @@ const no = { class: "vc-select__control" }, ao = {
3900
3913
  ]),
3901
3914
  key: "3"
3902
3915
  } : void 0
3903
- ]), 1032, ["placeholder", "hint", "clearable", "prefix", "suffix", "name", "model-value", "loading", "disabled", "autofocus", "error", "error-message", "maxlength", "type"])
3916
+ ]), 1032, ["placeholder", "hint", "clearable", "prefix", "suffix", "name", "model-value", "loading", "disabled", "autofocus", "error", "error-message", "maxlength", "type", "aria-label"])
3904
3917
  ]),
3905
3918
  _: 3
3906
3919
  }, 8, ["options", "option-label", "option-value", "searchable", "debounce", "disabled", "label", "required", "model-value", "tooltip", "multilanguage", "current-language"]));
@@ -3938,7 +3951,7 @@ const no = { class: "vc-select__control" }, ao = {
3938
3951
  },
3939
3952
  emits: ["update:model-value", "update:option", "change", "blur"],
3940
3953
  setup(e, { emit: t }) {
3941
- const n = e, a = t, o = Se(), { inputRef: i, setOptions: l, numberValue: s, setValue: u } = Dn(
3954
+ const n = e, a = t, o = $e(), { inputRef: i, setOptions: l, numberValue: s, setValue: u } = Dn(
3942
3955
  {
3943
3956
  locale: navigator.language,
3944
3957
  currency: n.option || "USD",
@@ -3990,13 +4003,13 @@ const no = { class: "vc-select__control" }, ao = {
3990
4003
  typeof b < "u" && parseInt(b) < 0 && c.preventDefault();
3991
4004
  }
3992
4005
  return (c, b) => r(o) ? (v(), y("div", Ho, [
3993
- e.label ? (v(), N(r(le), {
4006
+ e.label ? (v(), N(r(oe), {
3994
4007
  key: 0,
3995
4008
  variant: "block",
3996
4009
  width: 60 + (e.label?.length || 0) * 4,
3997
4010
  height: 11
3998
4011
  }, null, 8, ["width"])) : w("", !0),
3999
- x(r(le), {
4012
+ x(r(oe), {
4000
4013
  variant: "block",
4001
4014
  width: "100%",
4002
4015
  height: 36
@@ -4050,13 +4063,13 @@ const no = { class: "vc-select__control" }, ao = {
4050
4063
  }, 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"]));
4051
4064
  }
4052
4065
  }), jt = Symbol("VcAppBarState"), Jo = {
4053
- activeWidgetId: S(null),
4054
- activeMobileActionId: S(null)
4066
+ activeWidgetId: I(null),
4067
+ activeMobileActionId: I(null)
4055
4068
  };
4056
4069
  function hr() {
4057
4070
  const e = {
4058
- activeWidgetId: S(null),
4059
- activeMobileActionId: S(null)
4071
+ activeWidgetId: I(null),
4072
+ activeMobileActionId: I(null)
4060
4073
  };
4061
4074
  return $t(jt, e), e;
4062
4075
  }
@@ -4257,18 +4270,18 @@ const Ir = Symbol("TableContext"), Xo = Symbol("ColumnCollector"), Sr = Symbol("
4257
4270
  n && a && n.delete(a);
4258
4271
  }), () => null;
4259
4272
  }
4260
- }), $e = _e(/* @__PURE__ */ new Map());
4273
+ }), we = _e(/* @__PURE__ */ new Map());
4261
4274
  function Ht() {
4262
4275
  return {
4263
4276
  register: (l) => {
4264
- $e.set(l.type, l);
4277
+ we.set(l.type, l);
4265
4278
  },
4266
- get: (l) => $e.get(l),
4267
- has: (l) => $e.has(l),
4268
- getRegisteredTypes: () => Array.from($e.keys()),
4269
- unregister: (l) => $e.delete(l),
4279
+ get: (l) => we.get(l),
4280
+ has: (l) => we.has(l),
4281
+ getRegisteredTypes: () => Array.from(we.keys()),
4282
+ unregister: (l) => we.delete(l),
4270
4283
  clear: () => {
4271
- $e.clear();
4284
+ we.clear();
4272
4285
  }
4273
4286
  };
4274
4287
  }
@@ -4282,7 +4295,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4282
4295
  validateOnMount: { type: Boolean }
4283
4296
  },
4284
4297
  setup(e) {
4285
- const t = e, n = S(null);
4298
+ const t = e, n = I(null);
4286
4299
  return Ue(() => {
4287
4300
  const a = t.modelValue === void 0 || t.modelValue === null || t.modelValue === "";
4288
4301
  (t.validateOnMount || a && t.rules) && n.value?.validate();
@@ -4295,7 +4308,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4295
4308
  rules: e.rules
4296
4309
  }, {
4297
4310
  default: O(({ errors: i, errorMessage: l }) => [
4298
- x(Bt, { placement: "bottom" }, ie({
4311
+ x(Bt, { placement: "bottom" }, re({
4299
4312
  default: O(() => [
4300
4313
  C(a.$slots, "default", {
4301
4314
  errors: i,
@@ -4352,11 +4365,11 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4352
4365
  "error-message": r(o) ? m : void 0,
4353
4366
  "onUpdate:modelValue": u[0] || (u[0] = (g) => s.$emit("update", { field: e.fieldId || "", value: g })),
4354
4367
  onBlur: (g) => l(f)
4355
- }, ie({ _: 2 }, [
4368
+ }, re({ _: 2 }, [
4356
4369
  r(i) && f.length > 0 ? {
4357
4370
  name: "append-inner",
4358
4371
  fn: O(() => [
4359
- x(r(U), {
4372
+ x(r(K), {
4360
4373
  icon: "lucide-circle-alert",
4361
4374
  class: "vc-table-cell-default__error-icon"
4362
4375
  })
@@ -4389,7 +4402,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4389
4402
  },
4390
4403
  emits: ["update", "blur"],
4391
4404
  setup(e, { emit: t }) {
4392
- const n = e, a = t, { t: o } = Ie({ useScope: "global" }), i = window.navigator.language, { isMobile: l, isDesktop: s } = je(), u = $(() => typeof n.value > "u" || n.value === null || Number(n.value) === 0), f = $(() => {
4405
+ const n = e, a = t, { t: o } = Se({ useScope: "global" }), i = window.navigator.language, { isMobile: l, isDesktop: s } = je(), u = S(() => typeof n.value > "u" || n.value === null || Number(n.value) === 0), f = S(() => {
4393
4406
  const g = Number(n.value);
4394
4407
  return isNaN(g) ? String(n.value) : new Intl.NumberFormat(i, {
4395
4408
  style: "currency",
@@ -4417,11 +4430,11 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4417
4430
  "error-message": r(l) ? b : void 0,
4418
4431
  "onUpdate:modelValue": d[0] || (d[0] = (h) => g.$emit("update", { field: e.fieldId || "", value: h })),
4419
4432
  onBlur: (h) => m(c)
4420
- }, ie({ _: 2 }, [
4433
+ }, re({ _: 2 }, [
4421
4434
  r(s) && c.length > 0 ? {
4422
4435
  name: "append-inner",
4423
4436
  fn: O(() => [
4424
- x(r(U), {
4437
+ x(r(K), {
4425
4438
  icon: "lucide-circle-alert",
4426
4439
  class: "vc-table-cell-money__error-icon"
4427
4440
  })
@@ -4453,11 +4466,11 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4453
4466
  },
4454
4467
  emits: ["update", "blur"],
4455
4468
  setup(e, { emit: t }) {
4456
- const n = e, a = t, { t: o } = Ie({ useScope: "global" }), { isMobile: i, isDesktop: l } = je(), s = $(() => {
4469
+ const n = e, a = t, { t: o } = Se({ useScope: "global" }), { isMobile: i, isDesktop: l } = je(), s = S(() => {
4457
4470
  if (n.value === null || n.value === void 0) return !0;
4458
4471
  const m = Number(n.value);
4459
4472
  return isNaN(m) || m < 0;
4460
- }), u = $(() => {
4473
+ }), u = S(() => {
4461
4474
  const m = Number(n.value);
4462
4475
  return isNaN(m) ? String(n.value) : m.toFixed(0);
4463
4476
  }), f = (m) => {
@@ -4480,11 +4493,11 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4480
4493
  "error-message": r(i) ? c : void 0,
4481
4494
  "onUpdate:modelValue": g[0] || (g[0] = (b) => m.$emit("update", { field: e.fieldId || "", value: b })),
4482
4495
  onBlur: (b) => f(d)
4483
- }, ie({ _: 2 }, [
4496
+ }, re({ _: 2 }, [
4484
4497
  r(l) && d.length > 0 ? {
4485
4498
  name: "append-inner",
4486
4499
  fn: O(() => [
4487
- x(r(U), {
4500
+ x(r(K), {
4488
4501
  icon: "lucide-circle-alert",
4489
4502
  class: "vc-table-cell-number__error-icon"
4490
4503
  })
@@ -4510,7 +4523,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4510
4523
  format: {}
4511
4524
  },
4512
4525
  setup(e) {
4513
- const t = e, { t: n } = Ie({ useScope: "global" }), a = window.navigator.language, o = $(() => {
4526
+ const t = e, { t: n } = Se({ useScope: "global" }), a = window.navigator.language, o = S(() => {
4514
4527
  if (!t.value) return "";
4515
4528
  if (t.format)
4516
4529
  return Zn(t.value, t.format, a);
@@ -4528,7 +4541,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4528
4541
  value: {}
4529
4542
  },
4530
4543
  setup(e) {
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) : "");
4544
+ const t = e, { t: n } = Se({ useScope: "global" }), a = window.navigator.language, o = S(() => t.value ? (t.value instanceof Date ? t.value : new Date(t.value)).toLocaleString(a) : ""), i = S(() => t.value ? Xn(t.value) : "");
4532
4545
  return (l, s) => e.value ? (v(), y("span", {
4533
4546
  key: 0,
4534
4547
  class: "vc-table-cell-date-ago",
@@ -4645,7 +4658,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, mt = /* @__PURE__
4645
4658
  }
4646
4659
  return n.set(l, s), s;
4647
4660
  }
4648
- const o = $(() => t.value ? a(String(t.value)) : ""), i = $(() => Un(o.value, t.maxLength || 30));
4661
+ const o = S(() => t.value ? a(String(t.value)) : ""), i = S(() => Un(o.value, t.maxLength || 30));
4649
4662
  return (l, s) => (v(), y("div", {
4650
4663
  class: "vc-table-cell-html",
4651
4664
  innerHTML: i.value
@@ -4689,7 +4702,7 @@ const Lr = /* @__PURE__ */ V({
4689
4702
  },
4690
4703
  emits: ["update", "blur"],
4691
4704
  setup(e) {
4692
- const { get: t } = Ht(), n = e, a = $(() => t(n.type)?.component || Gt), o = $(() => {
4705
+ const { get: t } = Ht(), n = e, a = S(() => t(n.type)?.component || Gt), o = S(() => {
4693
4706
  const l = t(n.type)?.config?.editable ?? !1, s = {
4694
4707
  value: n.value
4695
4708
  };
@@ -4720,7 +4733,7 @@ export {
4720
4733
  hr as C,
4721
4734
  yi as D,
4722
4735
  kr as E,
4723
- Se as F,
4736
+ $e as F,
4724
4737
  Ht as G,
4725
4738
  ia as H,
4726
4739
  Ke as I,
@@ -4730,13 +4743,13 @@ export {
4730
4743
  or as M,
4731
4744
  aa as N,
4732
4745
  st as O,
4733
- se as P,
4734
- ke as Q,
4746
+ ue as P,
4747
+ Ie as Q,
4735
4748
  Pe as R,
4736
4749
  er as S,
4737
4750
  Kn as T,
4738
4751
  nt as U,
4739
- fe as V,
4752
+ ve as V,
4740
4753
  la as W,
4741
4754
  je as X,
4742
4755
  ur as Y,
@@ -4751,9 +4764,9 @@ export {
4751
4764
  wa as a4,
4752
4765
  Oa as a5,
4753
4766
  qi as a6,
4754
- me as a7,
4767
+ pe as a7,
4755
4768
  Ma as a8,
4756
- re as a9,
4769
+ se as a9,
4757
4770
  Qi as aA,
4758
4771
  pr as aB,
4759
4772
  ar as aC,
@@ -4830,7 +4843,7 @@ export {
4830
4843
  Qa as u,
4831
4844
  ol as v,
4832
4845
  qo as w,
4833
- le as x,
4846
+ oe as x,
4834
4847
  tl as y,
4835
4848
  al as z
4836
4849
  };