@vc-shell/framework 2.6.3-rc.0-pr381.e44adf9 → 2.6.3-rc.0-pr380.ae2f7ea

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/ai-agent/index.js +3 -3
  2. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CeicZwqW.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cs47PW6F.js} +1 -1
  3. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-CeicZwqW.js.map → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cs47PW6F.js.map} +1 -1
  4. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-Di_7qCFv.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CQ4PNnTu.js} +346 -340
  5. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-Di_7qCFv.js.map → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CQ4PNnTu.js.map} +1 -1
  6. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-SLAzCa01.js → VcScheduler.vue_vue_type_script_setup_true_lang-Bh8CNJsW.js} +3715 -3691
  7. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-Bh8CNJsW.js.map +1 -0
  8. package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-Cts7Z-jQ.js → VcScheduler.vue_vue_type_style_index_0_lang-ClYksC9b.js} +699 -690
  9. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-ClYksC9b.js.map +1 -0
  10. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-CWIBUWHJ.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-CXrhWmOi.js} +58 -58
  11. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-CWIBUWHJ.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-CXrhWmOi.js.map} +1 -1
  12. package/dist/chunks/{index-CzfVdRiW.js → index-DyZe677u.js} +2 -2
  13. package/dist/chunks/{index-CzfVdRiW.js.map → index-DyZe677u.js.map} +1 -1
  14. package/dist/core/composables/useUser/index.d.ts +16 -1
  15. package/dist/core/composables/useUser/index.d.ts.map +1 -1
  16. package/dist/core/composables/useUserManagement/index.d.ts +4 -2
  17. package/dist/core/composables/useUserManagement/index.d.ts.map +1 -1
  18. package/dist/core/utilities/authGuard.d.ts +28 -0
  19. package/dist/core/utilities/authGuard.d.ts.map +1 -0
  20. package/dist/dashboard/index.js +1 -1
  21. package/dist/framework.js +993 -996
  22. package/dist/framework.js.map +1 -1
  23. package/dist/index.css +1 -1
  24. package/dist/index.d.ts.map +1 -1
  25. package/dist/locales/de.js +2 -4
  26. package/dist/locales/en.js +2 -4
  27. package/dist/locales/en.json +2 -4
  28. package/dist/locales/types.d.ts +1 -3
  29. package/dist/shell/auth/LoginPage/components/login/Login.vue.d.ts.map +1 -1
  30. package/dist/tsconfig.tsbuildinfo +1 -1
  31. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  32. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  33. package/dist/ui/components/organisms/vc-scheduler/VcScheduler.vue.d.ts.map +1 -1
  34. package/dist/ui/composables/useScrollArrows.d.ts +7 -0
  35. package/dist/ui/composables/useScrollArrows.d.ts.map +1 -1
  36. package/dist/ui/index.js +34 -33
  37. package/package.json +4 -4
  38. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-SLAzCa01.js.map +0 -1
  39. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-Cts7Z-jQ.js.map +0 -1
@@ -1,23 +1,23 @@
1
- import { mergeProps as ee, computed as $, toValue as be, inject as Y, useId as an, ref as I, onBeforeUnmount as rt, reactive as Ze, provide as Et, getCurrentScope as ln, onScopeDispose as on, getCurrentInstance as We, onErrorCaptured as rn, nextTick as Se, defineComponent as z, watch as j, unref as r, openBlock as f, createElementBlock as y, normalizeClass as W, createBlock as P, createCommentVNode as w, renderSlot as T, createElementVNode as x, toDisplayString as A, Fragment as Le, renderList as st, normalizeStyle as Ve, resolveDynamicComponent as ut, withCtx as O, withKeys as X, withModifiers as G, createVNode as R, watchEffect as tt, shallowReactive as nt, markRaw as at, createSlots as oe, createTextVNode as Z, Transition as Pe, withDirectives as ct, vModelText as sn, useAttrs as Lt, vModelDynamic as un, onMounted as je, onUnmounted as Bt, Teleport as cn, normalizeProps as Ae, guardReactiveProps as Ne } from "vue";
2
- import { c as ge, ai as dn, P as fn, x as vn, t as gn, q as mn, I as pn, s as bn, r as yn, B as Ct, b as hn, i as kn, _ as U, T as xt, a as Tt, X as In, y as Sn, u as $n } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-Di_7qCFv.js";
3
- import { defineRule as Be, Field as wn } from "vee-validate";
1
+ import { mergeProps as ee, computed as $, toValue as be, inject as Y, useId as ln, ref as S, onBeforeUnmount as rt, reactive as Ze, provide as Et, getCurrentScope as on, onScopeDispose as rn, getCurrentInstance as We, onErrorCaptured as sn, nextTick as Ie, defineComponent as z, watch as j, unref as r, openBlock as f, createElementBlock as y, normalizeClass as W, createBlock as P, createCommentVNode as w, renderSlot as T, createElementVNode as x, toDisplayString as A, Fragment as Le, renderList as st, normalizeStyle as Ve, resolveDynamicComponent as ut, withCtx as O, withKeys as X, withModifiers as G, createVNode as M, watchEffect as tt, shallowReactive as nt, markRaw as at, createSlots as oe, createTextVNode as Z, Transition as Pe, withDirectives as ct, vModelText as un, useAttrs as Lt, vModelDynamic as cn, onMounted as je, onUnmounted as Bt, Teleport as dn, normalizeProps as Ae, guardReactiveProps as Ne } from "vue";
2
+ import { c as ge, ai as fn, P as vn, x as gn, t as mn, q as pn, I as bn, s as yn, r as hn, B as Ct, b as kn, i as Sn, _ as U, T as xt, a as Tt, X as In, y as $n, u as wn } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-CQ4PNnTu.js";
3
+ import { defineRule as Be, Field as On } from "vee-validate";
4
4
  import { a as kt } from "./vendor-vee-validate-rules-4oWUZPpG.js";
5
- import { a as Mt, s as On, c as En, b as Qe, e as De } from "./vendor-lodash-es-D2n90GJy.js";
6
- import { X as Ln } from "./vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js";
7
- import { d as Rt, e as Bn, f as Cn, g as xn } from "./vendor-vueuse-core-BwXFv1rx.js";
8
- import { c as Tn, u as we } from "./vendor-vue-i18n-LO-EJStU.js";
5
+ import { a as Rt, s as En, c as Ln, b as Qe, e as De } from "./vendor-lodash-es-D2n90GJy.js";
6
+ import { X as Bn } from "./vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js";
7
+ import { d as Mt, e as Cn, f as xn, g as Tn } from "./vendor-vueuse-core-BwXFv1rx.js";
8
+ import { c as Rn, u as we } from "./vendor-vue-i18n-LO-EJStU.js";
9
9
  import { j as Mn } from "./vendor-vueuse-shared-BPTQMqzb.js";
10
- import { k as Rn } from "./vendor-tiptap-core-CZbeo7XQ.js";
10
+ import { k as An } from "./vendor-tiptap-core-CZbeo7XQ.js";
11
11
  import "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
12
- import { q as An } from "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
13
- import { C as Nn, u as Dn } from "./vendor-vue-currency-input-CckB4kjx.js";
14
- import { u as Vn } from "./vendor-floating-ui-vue-sCrhit51.js";
15
- import { f as At, s as Nt, o as lt, b as Pn } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
16
- import { v as Fn } from "./vendor-vueuse-components-BTQXlUpM.js";
12
+ import { q as Nn } from "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
13
+ import { C as Dn, u as Vn } from "./vendor-vue-currency-input-CckB4kjx.js";
14
+ import { u as Pn } from "./vendor-floating-ui-vue-sCrhit51.js";
15
+ import { f as At, s as Nt, o as lt, b as Fn } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
16
+ import { v as zn } from "./vendor-vueuse-components-BTQXlUpM.js";
17
17
  import { p as Dt } from "./vendor-dompurify-DpIUMBYC.js";
18
- import { S as Ie, h as zn, T as qn } from "./vendor-date-fns-C-55OMpS.js";
19
- import { t as Un } from "./vendor-truncate-html-ChA1T5zy.js";
20
- const $e = Tn({
18
+ import { S as Se, h as qn, T as Un } from "./vendor-date-fns-C-55OMpS.js";
19
+ import { t as Kn } from "./vendor-truncate-html-ChA1T5zy.js";
20
+ const $e = Rn({
21
21
  legacy: !1,
22
22
  globalInjection: !0,
23
23
  locale: "en",
@@ -41,17 +41,17 @@ class ie extends Error {
41
41
  };
42
42
  }
43
43
  }
44
- class Pi extends ie {
44
+ class Fi extends ie {
45
45
  constructor(t, n) {
46
46
  super(t, "VALIDATION_ERROR", n), this.name = "ValidationError";
47
47
  }
48
48
  }
49
- class Fi extends ie {
49
+ class zi extends ie {
50
50
  constructor(t, n) {
51
51
  super(t, "SERVICE_ERROR", n), this.name = "ServiceError";
52
52
  }
53
53
  }
54
- class Kn extends ie {
54
+ class Wn extends ie {
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 ie {
59
59
  }), this.name = "InjectionError";
60
60
  }
61
61
  }
62
- class zi extends ie {
62
+ class qi extends ie {
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 ie {
67
67
  }), this.name = "RegistrationError";
68
68
  }
69
69
  }
70
- class qi extends ie {
70
+ class Ui extends ie {
71
71
  constructor(t, n, a) {
72
72
  super(t, "BLADE_ERROR", {
73
73
  bladeId: n,
@@ -75,7 +75,7 @@ class qi extends ie {
75
75
  }), this.name = "BladeError";
76
76
  }
77
77
  }
78
- class Ui extends ie {
78
+ class Ki extends ie {
79
79
  constructor(t, n, a) {
80
80
  super(`Failed to load module '${t}': ${n}`, "MODULE_LOAD_ERROR", {
81
81
  moduleId: t,
@@ -83,11 +83,11 @@ class Ui extends ie {
83
83
  }), this.name = "ModuleLoadError";
84
84
  }
85
85
  }
86
- function Wn(e) {
86
+ function jn(e) {
87
87
  return e instanceof ie;
88
88
  }
89
- function Ki(e, t = "UNKNOWN_ERROR") {
90
- return Wn(e) ? e : e instanceof Error ? new ie(e.message, t, {
89
+ function Wi(e, t = "UNKNOWN_ERROR") {
90
+ return jn(e) ? e : e instanceof Error ? new ie(e.message, t, {
91
91
  originalError: e.name,
92
92
  stack: e.stack
93
93
  }) : new ie(String(e), t);
@@ -99,13 +99,13 @@ class ye extends Error {
99
99
  super(t), this.name = "DisplayableError", this.details = n, this.originalError = a;
100
100
  }
101
101
  }
102
- function jn(e) {
102
+ function Hn(e) {
103
103
  return e instanceof Error && typeof e.status == "number" && typeof e.response == "string";
104
104
  }
105
105
  function qe(e) {
106
106
  if (e instanceof ye)
107
107
  return e;
108
- if (jn(e)) {
108
+ if (Hn(e)) {
109
109
  const { status: t, response: n } = e;
110
110
  try {
111
111
  return qe(JSON.parse(n));
@@ -138,14 +138,14 @@ function qe(e) {
138
138
  }
139
139
  return new ye("An unknown error occurred.", String(e), e);
140
140
  }
141
- const Hn = [
141
+ const Gn = [
142
142
  ["LLLL", "PPPp"],
143
143
  ["LLL", "PPp"],
144
144
  ["LTS", "pp"],
145
145
  ["LT", "p"],
146
146
  ["LL", "PP"],
147
147
  ["L", "P"]
148
- ], Gn = [
148
+ ], Yn = [
149
149
  [/YYYY/g, "yyyy"],
150
150
  [/YY/g, "yy"],
151
151
  [/dddd/g, "EEEE"],
@@ -155,25 +155,25 @@ const Hn = [
155
155
  [/D(?![\w])/g, "d"],
156
156
  [/A/g, "a"]
157
157
  ];
158
- function Yn(e) {
158
+ function Jn(e) {
159
159
  let t = e;
160
- for (const [n, a] of Hn)
161
- t = t.split(n).join(a);
162
160
  for (const [n, a] of Gn)
161
+ t = t.split(n).join(a);
162
+ for (const [n, a] of Yn)
163
163
  t = t.replace(n, a);
164
164
  return t;
165
165
  }
166
166
  const fe = /* @__PURE__ */ new Map();
167
- fe.set("en-US", Ie);
168
- fe.set("en", Ie);
169
- async function Jn(e) {
167
+ fe.set("en-US", Se);
168
+ fe.set("en", Se);
169
+ async function Xn(e) {
170
170
  if (fe.has(e))
171
171
  return fe.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] ?? Ie;
176
+ ), n = e.replace("-", ""), a = t.default ?? t[n] ?? Se;
177
177
  return fe.set(e, a), a;
178
178
  } catch {
179
179
  const t = e.split("-")[0];
@@ -182,15 +182,15 @@ async function Jn(e) {
182
182
  const n = await import(
183
183
  /* @vite-ignore */
184
184
  `date-fns/locale/${t}`
185
- ), a = n.default ?? n[t] ?? Ie;
185
+ ), a = n.default ?? n[t] ?? Se;
186
186
  return fe.set(e, a), a;
187
187
  } catch {
188
188
  }
189
- return fe.set(e, Ie), Ie;
189
+ return fe.set(e, Se), Se;
190
190
  }
191
191
  }
192
192
  function Vt(e) {
193
- return fe.has(e) ? fe.get(e) : (Jn(e), Ie);
193
+ return fe.has(e) ? fe.get(e) : (Xn(e), Se);
194
194
  }
195
195
  function Pt(e) {
196
196
  if (e == null || e === "") return null;
@@ -198,20 +198,20 @@ function Pt(e) {
198
198
  const t = new Date(e);
199
199
  return isNaN(t.getTime()) ? null : t;
200
200
  }
201
- function Xn(e, t) {
201
+ function Zn(e, t) {
202
202
  const n = Pt(e);
203
203
  if (!n) return "";
204
204
  const a = t ? Vt(t) : void 0;
205
- return qn(n, { addSuffix: !0, locale: a });
205
+ return Un(n, { addSuffix: !0, locale: a });
206
206
  }
207
- function Zn(e, t, n) {
207
+ function Qn(e, t, n) {
208
208
  const a = Pt(e);
209
209
  if (!a) return "";
210
- const o = Yn(t), i = n ? Vt(n) : void 0;
211
- return zn(a, o, { locale: i });
210
+ const o = Jn(t), i = n ? Vt(n) : void 0;
211
+ return qn(a, o, { locale: i });
212
212
  }
213
- const Qn = ge("color-utils");
214
- function _n(e) {
213
+ const _n = ge("color-utils");
214
+ function ea(e) {
215
215
  if (!e || typeof e != "string")
216
216
  return null;
217
217
  try {
@@ -220,19 +220,19 @@ function _n(e) {
220
220
  const n = t.getContext("2d");
221
221
  return !n || (n.fillStyle = e.trim(), n.fillStyle === "#000000" && e.trim().toLowerCase() !== "black") ? null : n.fillStyle;
222
222
  } catch (t) {
223
- return Qn.warn("Error converting color name to hex:", t), null;
223
+ return _n.warn("Error converting color name to hex:", t), null;
224
224
  }
225
225
  }
226
- function ea(e) {
226
+ function ta(e) {
227
227
  if (!e || typeof e != "string")
228
228
  return !1;
229
229
  const t = e.startsWith("#") ? e : `#${e}`;
230
230
  return /^#[0-9A-Fa-f]{6}$/.test(t);
231
231
  }
232
- function It(e) {
232
+ function St(e) {
233
233
  return !e || typeof e != "string" ? "" : e.startsWith("#") ? e : `#${e}`;
234
234
  }
235
- function ta(e, t) {
235
+ function na(e, t) {
236
236
  if (!e || !t || e.includes(`_${t}`)) return e;
237
237
  const n = e.lastIndexOf("/"), a = e.indexOf("?", n), i = (a > -1 ? e.slice(n + 1, a) : e.slice(n + 1)).lastIndexOf(".");
238
238
  if (i <= 0)
@@ -240,10 +240,10 @@ function ta(e, t) {
240
240
  const l = n + 1 + i, s = e.slice(0, l), u = e.slice(l);
241
241
  return `${s}_${t}${u}`;
242
242
  }
243
- function Wi(e) {
243
+ function ji(e) {
244
244
  return e <= 64 ? "64x64" : e <= 128 ? "128x128" : e <= 168 ? "168x168" : e <= 216 ? "216x216" : e <= 348 ? "348x348" : "lg";
245
245
  }
246
- function na(e) {
246
+ function aa(e) {
247
247
  let t = null;
248
248
  return {
249
249
  register(n) {
@@ -257,7 +257,7 @@ function na(e) {
257
257
  }
258
258
  };
259
259
  }
260
- function ji() {
260
+ function Hi() {
261
261
  const e = /* @__PURE__ */ new Map();
262
262
  return {
263
263
  register(t, n) {
@@ -272,12 +272,13 @@ function ji() {
272
272
  };
273
273
  }
274
274
  const dt = () => {
275
- const e = dn();
275
+ const e = fn();
276
276
  return {
277
277
  user: e.user,
278
278
  loading: e.loading,
279
279
  isAdministrator: e.isAdministrator,
280
280
  isAuthenticated: e.isAuthenticated,
281
+ authState: e.authState,
281
282
  validateToken: e.validateToken,
282
283
  validatePassword: e.validatePassword,
283
284
  resetPasswordByToken: e.resetPasswordByToken,
@@ -289,7 +290,7 @@ const dt = () => {
289
290
  signOut: e.signOut
290
291
  };
291
292
  };
292
- function aa() {
293
+ function la() {
293
294
  const { user: e } = dt();
294
295
  function t(n) {
295
296
  const a = e.value?.permissions ?? [];
@@ -305,8 +306,8 @@ function aa() {
305
306
  hasAccess: t
306
307
  };
307
308
  }
308
- const ke = ge("notification"), pe = na();
309
- function la(e) {
309
+ const ke = ge("notification"), pe = aa();
310
+ function oa(e) {
310
311
  pe.register(e);
311
312
  }
312
313
  function Fe(e, t) {
@@ -396,12 +397,12 @@ ue.debug = () => {
396
397
  defaultOptions: e.defaultOptions
397
398
  };
398
399
  };
399
- const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
400
+ const ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
400
401
  __proto__: null,
401
402
  notification: ue,
402
- setNotificationBackend: la
403
+ setNotificationBackend: oa
403
404
  }, Symbol.toStringTag, { value: "Module" }));
404
- function ia(e, t, n = {}) {
405
+ function ra(e, t, n = {}) {
405
406
  const a = $(() => be(n.placement) ?? "bottom"), o = $(() => be(n.strategy) ?? "absolute"), i = $(() => {
406
407
  const u = be(n.middleware);
407
408
  if (u?.length)
@@ -416,10 +417,10 @@ function ia(e, t, n = {}) {
416
417
  alignmentAxis: m?.alignmentAxis
417
418
  })
418
419
  ), v;
419
- }), l = Vn(e, t, {
420
+ }), l = Pn(e, t, {
420
421
  placement: a,
421
422
  strategy: o,
422
- whileElementsMounted: be(n.autoUpdate) === !1 ? void 0 : Pn,
423
+ whileElementsMounted: be(n.autoUpdate) === !1 ? void 0 : Fn,
423
424
  middleware: i
424
425
  }), s = $(() => ({
425
426
  position: o.value,
@@ -433,9 +434,9 @@ function ia(e, t, n = {}) {
433
434
  resolvedStrategy: o
434
435
  };
435
436
  }
436
- const ra = Symbol("vc-input-group-context");
437
+ const sa = Symbol("vc-input-group-context");
437
438
  function He(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), v = $(() => t?.name.value || e.name), m = $(() => e.required ? !0 : void 0), g = $(() => {
439
+ const t = Y(sa, null), n = ln(), 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), v = $(() => t?.name.value || e.name), m = $(() => e.required ? !0 : void 0), g = $(() => {
439
440
  const d = /* @__PURE__ */ new Set();
440
441
  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
442
  });
@@ -452,8 +453,12 @@ function He(e) {
452
453
  groupContext: t
453
454
  };
454
455
  }
455
- function sa(e, t = {}) {
456
- const { speed: n = 2 } = t, a = I(!1), o = I(!1);
456
+ function Ft(e) {
457
+ const t = 1 / (window.devicePixelRatio || 1);
458
+ return e.scrollTop + e.clientHeight >= e.scrollHeight - 1 - t;
459
+ }
460
+ function ua(e, t = {}) {
461
+ const { speed: n = 2 } = t, a = S(!1), o = S(!1);
457
462
  let i = null;
458
463
  function l() {
459
464
  const v = e.value;
@@ -461,7 +466,7 @@ function sa(e, t = {}) {
461
466
  a.value = !1, o.value = !1;
462
467
  return;
463
468
  }
464
- a.value = v.scrollTop > 0, o.value = Math.ceil(v.scrollTop) < v.scrollHeight - v.clientHeight;
469
+ a.value = v.scrollTop > 0, o.value = !Ft(v);
465
470
  }
466
471
  function s(v) {
467
472
  u();
@@ -475,7 +480,7 @@ function sa(e, t = {}) {
475
480
  function u() {
476
481
  i !== null && (cancelAnimationFrame(i), i = null);
477
482
  }
478
- return Rt(e, l), rt(() => {
483
+ return Mt(e, l), rt(() => {
479
484
  u();
480
485
  }), {
481
486
  canScrollUp: a,
@@ -486,12 +491,12 @@ function sa(e, t = {}) {
486
491
  };
487
492
  }
488
493
  function Oe() {
489
- return Y(fn, I(!1));
494
+ return Y(vn, S(!1));
490
495
  }
491
496
  Object.keys(kt).forEach((e) => {
492
497
  Be(e, kt[e]);
493
498
  });
494
- const ua = (e, [t, n]) => {
499
+ const ca = (e, [t, n]) => {
495
500
  if (!e?.files || !e.files?.length)
496
501
  return !0;
497
502
  const a = (l, s, u) => {
@@ -517,8 +522,8 @@ const ua = (e, [t, n]) => {
517
522
  return s === !1 || typeof s == "string" ? s : !0;
518
523
  });
519
524
  };
520
- Be("mindimensions", ua);
521
- const ca = (e, [t]) => {
525
+ Be("mindimensions", ca);
526
+ const da = (e, [t]) => {
522
527
  if (!e?.files || !e.files?.length)
523
528
  return !0;
524
529
  const n = t * 1e3, a = (s) => s.size > n, o = [];
@@ -526,18 +531,18 @@ const ca = (e, [t]) => {
526
531
  o.push(e.files[s]);
527
532
  return o.map((s) => a(s)).find((s) => s === !0) ? $e.global.t("messages.file_weight", { size: t }) : !0;
528
533
  };
529
- Be("fileWeight", ca);
530
- const Ft = (e, [t], n, a) => {
534
+ Be("fileWeight", da);
535
+ const zt = (e, [t], n, a) => {
531
536
  if (!e || typeof e == "string" && !e.length)
532
537
  return !0;
533
538
  let o, i;
534
539
  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]) => Ft(e, [t], (n, a) => n < a, $e.global.t("messages.before"));
536
- Be("before", da);
537
- const fa = (e, [t]) => Ft(e, [t], (n, a) => n > a, $e.global.t("messages.after"));
538
- Be("after", fa);
539
- const va = (e) => Number.isSafeInteger(parseInt(e)) ? !0 : $e.global.t("messages.bigint");
540
- Be("bigint", va);
540
+ }, fa = (e, [t]) => zt(e, [t], (n, a) => n < a, $e.global.t("messages.before"));
541
+ Be("before", fa);
542
+ const va = (e, [t]) => zt(e, [t], (n, a) => n > a, $e.global.t("messages.after"));
543
+ Be("after", va);
544
+ const ga = (e) => Number.isSafeInteger(parseInt(e)) ? !0 : $e.global.t("messages.bigint");
545
+ Be("bigint", ga);
541
546
  function Ce(e) {
542
547
  const t = ge(`${e.name}-bus`), n = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set();
543
548
  function o(d) {
@@ -598,7 +603,7 @@ function Ce(e) {
598
603
  }
599
604
  };
600
605
  }
601
- function zt(e) {
606
+ function qt(e) {
602
607
  const t = Ze({}), n = Ze([]), a = Ze(/* @__PURE__ */ new Map());
603
608
  function o(d) {
604
609
  a.set(d, (a.get(d) ?? 0) + 1);
@@ -625,10 +630,10 @@ function zt(e) {
625
630
  function s(d, c) {
626
631
  const b = c.toLowerCase(), h = t[b];
627
632
  if (h) {
628
- const p = h.findIndex((S) => S.id === d);
633
+ const p = h.findIndex((I) => I.id === d);
629
634
  if (p !== -1) {
630
- const [S] = h.splice(p, 1);
631
- S && i(S.id);
635
+ const [I] = h.splice(p, 1);
636
+ I && i(I.id);
632
637
  }
633
638
  }
634
639
  const E = n.findIndex(
@@ -664,8 +669,8 @@ function zt(e) {
664
669
  isRegistered: g
665
670
  };
666
671
  }
667
- function ga(e) {
668
- const t = I(/* @__PURE__ */ new Map()), n = $(() => Array.from(t.value.values()).sort((i, l) => (i.order ?? 0) - (l.order ?? 0)));
672
+ function ma(e) {
673
+ const t = S(/* @__PURE__ */ new Map()), n = $(() => Array.from(t.value.values()).sort((i, l) => (i.order ?? 0) - (l.order ?? 0)));
669
674
  function a(i) {
670
675
  const l = e.getId(i) || crypto.randomUUID(), s = e.createItem(i, t.value.size);
671
676
  return t.value.set(l, { ...s, id: l }), l;
@@ -680,8 +685,8 @@ function ga(e) {
680
685
  unregister: o
681
686
  };
682
687
  }
683
- function qt(e) {
684
- const t = ga({
688
+ function Ut(e) {
689
+ const t = ma({
685
690
  createItem: e.createItem,
686
691
  getId: e.getId
687
692
  }), n = {
@@ -692,41 +697,41 @@ function qt(e) {
692
697
  return e.bus.replayInto(n), n;
693
698
  }
694
699
  function Ke(e) {
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(Mt(e, "title"))}`;
700
+ return e.id !== void 0 ? `id:${String(e.id)}` : e.routeId ? `route:${e.routeId}` : e.url ? `url:${e.url}` : e.groupConfig?.id ? `gc:${e.groupConfig.id}:${e.title}` : e.group ? `g:${e.group}:${e.title}` : `hash:${JSON.stringify(Rt(e, "title"))}`;
696
701
  }
697
- const ze = I(/* @__PURE__ */ new Map()), ve = Ce({
702
+ const ze = S(/* @__PURE__ */ new Map()), ve = Ce({
698
703
  name: "menu-service",
699
704
  getKey: Ke,
700
705
  registerIntoService: (e, t) => e.addMenuItem(t)
701
706
  });
702
- function Hi(e) {
707
+ function Gi(e) {
703
708
  ve.preregister(e);
704
709
  }
705
- function Gi(e) {
710
+ function Yi(e) {
706
711
  ve.removePreregistered((t) => ft(t, e)), ve.broadcast((t) => t.removeMenuItem(e));
707
712
  }
708
- function Yi(e, t) {
713
+ function Ji(e, t) {
709
714
  ze.value.set(e, t), ve.broadcast((n) => {
710
715
  n.menuBadges.value.set(e, t);
711
716
  });
712
717
  }
713
- function Ji(e) {
718
+ function Xi(e) {
714
719
  const t = ve.getFirstInstance();
715
720
  return t ? t.menuBadges.value.get(e) : ze.value.get(e);
716
721
  }
717
- function Xi(e) {
722
+ function Zi(e) {
718
723
  ze.value.delete(e), ve.broadcast((t) => {
719
724
  t.menuBadges.value.delete(e);
720
725
  });
721
726
  }
722
- function Zi() {
727
+ function Qi() {
723
728
  return ve.getFirstInstance()?.menuBadges ?? ze;
724
729
  }
725
- const it = 1 / 0, ma = 1 / 0;
730
+ const it = 1 / 0, pa = 1 / 0;
726
731
  function ft(e, t) {
727
732
  return Ke(e) === Ke(t);
728
733
  }
729
- function pa(e) {
734
+ function ba(e) {
730
735
  return e.groupConfig ? {
731
736
  groupId: e.groupConfig.id,
732
737
  groupTitle: e.groupConfig.title || e.groupConfig.id,
@@ -734,23 +739,23 @@ function pa(e) {
734
739
  groupPriority: e.groupConfig.priority,
735
740
  groupPermissions: e.groupConfig.permissions
736
741
  } : {
737
- groupId: "group_" + On(e.group),
742
+ groupId: "group_" + En(e.group),
738
743
  groupTitle: e.group,
739
744
  groupIcon: e.groupIcon,
740
745
  groupPriority: e.priority,
741
746
  groupPermissions: void 0
742
747
  };
743
748
  }
744
- function ba(e, t) {
749
+ function ya(e, t) {
745
750
  return (e.priority ?? it) - (t.priority ?? it);
746
751
  }
747
- function ya(e, t) {
748
- const n = (a) => a.inGroupPriority ?? a.priority ?? ma;
752
+ function ha(e, t) {
753
+ const n = (a) => a.inGroupPriority ?? a.priority ?? pa;
749
754
  return n(e) - n(t);
750
755
  }
751
- function ha(e, t) {
752
- const n = pa(e), a = {
753
- ...Mt(e, ["group", "groupIcon", "groupPriority", "groupConfig"])
756
+ function ka(e, t) {
757
+ const n = ba(e), a = {
758
+ ...Rt(e, ["group", "groupIcon", "groupPriority", "groupConfig"])
754
759
  }, o = t.get(n.groupId);
755
760
  if (o) {
756
761
  const i = [...o.children ?? []], l = i.findIndex((s) => ft(s, a));
@@ -772,30 +777,30 @@ function ha(e, t) {
772
777
  permissions: n.groupPermissions
773
778
  });
774
779
  }
775
- function St(e) {
780
+ function It(e) {
776
781
  const t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
777
782
  for (const a of e)
778
- a.group || a.groupConfig ? ha(a, t) : a.title && n.set(Ke(a), { ...a });
779
- return ka([...t.values(), ...n.values()]);
783
+ a.group || a.groupConfig ? ka(a, t) : a.title && n.set(Ke(a), { ...a });
784
+ return Sa([...t.values(), ...n.values()]);
780
785
  }
781
- function ka(e) {
786
+ function Sa(e) {
782
787
  return e.map(
783
788
  (t) => ({
784
789
  ...t,
785
- children: t.children ? [...t.children].sort(ya) : void 0
790
+ children: t.children ? [...t.children].sort(ha) : void 0
786
791
  })
787
- ).sort(ba);
792
+ ).sort(ya);
788
793
  }
789
794
  function Ia() {
790
- const e = I([]);
795
+ const e = S([]);
791
796
  let t = [];
792
- const n = I(new Map(ze.value));
797
+ const n = S(new Map(ze.value));
793
798
  function a(l) {
794
- t.push(l), e.value = St(t);
799
+ t.push(l), e.value = It(t);
795
800
  }
796
801
  function o(l) {
797
802
  const s = t.length;
798
- t = t.filter((u) => !ft(u, l)), t.length !== s && (e.value = St(t));
803
+ t = t.filter((u) => !ft(u, l)), t.length !== s && (e.value = It(t));
799
804
  }
800
805
  const i = {
801
806
  addMenuItem: a,
@@ -812,12 +817,12 @@ function Ge(e) {
812
817
  if (u)
813
818
  return u;
814
819
  const v = n();
815
- return Et(t, v), ln() && on(() => a.dispose(v)), v;
820
+ return Et(t, v), on() && rn(() => a.dispose(v)), v;
816
821
  }
817
822
  function s() {
818
823
  const u = Y(t, null);
819
824
  if (!u)
820
- throw i?.(), new Kn(o);
825
+ throw i?.(), new Wn(o);
821
826
  return u;
822
827
  }
823
828
  return {
@@ -825,37 +830,37 @@ function Ge(e) {
825
830
  use: s
826
831
  };
827
832
  }
828
- const Sa = ge("use-menu-service"), Ut = Ge({
829
- key: vn,
833
+ const $a = ge("use-menu-service"), Kt = Ge({
834
+ key: gn,
830
835
  create: Ia,
831
836
  bus: ve,
832
837
  name: "MenuService",
833
- onMissing: () => Sa.error("Menu service not found in current context. Injection chain:", We())
838
+ onMissing: () => $a.error("Menu service not found in current context. Injection chain:", We())
834
839
  });
835
- function Qi() {
836
- return Ut.provide();
837
- }
838
840
  function _i() {
839
- return Ut.use();
841
+ return Kt.provide();
842
+ }
843
+ function er() {
844
+ return Kt.use();
840
845
  }
841
846
  function Ye() {
842
847
  return {
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
- isTouch: Y(gn, !1)
848
+ isMobile: Y(hn, S(!1)),
849
+ isDesktop: Y(yn, S(!0)),
850
+ isPhone: Y(bn, S(!1)),
851
+ isTablet: Y(pn, S(!1)),
852
+ isTouch: Y(mn, !1)
848
853
  };
849
854
  }
850
- const $a = Symbol("AppInsightsOptions"), wa = Symbol("AppInsightsInstance");
851
- function Oa() {
852
- const e = Y(wa, null), { user: t } = dt(), n = Y($a, void 0);
855
+ const wa = Symbol("AppInsightsOptions"), Oa = Symbol("AppInsightsInstance");
856
+ function Ea() {
857
+ const e = Y(Oa, null), { user: t } = dt(), n = Y(wa, void 0);
853
858
  function a() {
854
859
  const o = n?.appName ? `[${n.appName}] ` : "", i = (u) => `${o}${u.name}`;
855
860
  function l(u) {
856
861
  if (!e) return;
857
862
  const v = i(u);
858
- e.context.telemetryTrace.traceID = Ln(), e.context.telemetryTrace.name = u.name, e.startTrackPage(v);
863
+ e.context.telemetryTrace.traceID = Bn(), e.context.telemetryTrace.name = u.name, e.startTrackPage(v);
859
864
  }
860
865
  function s(u) {
861
866
  if (!e) return;
@@ -875,13 +880,13 @@ function Oa() {
875
880
  appInsights: e
876
881
  };
877
882
  }
878
- const Ea = ge("use-error-handler");
879
- function La(e) {
880
- const t = I(null), n = We(), { appInsights: a } = Oa(), { user: o } = dt(), i = I(!1);
883
+ const La = ge("use-error-handler");
884
+ function Ba(e) {
885
+ const t = S(null), n = We(), { appInsights: a } = Ea(), { user: o } = dt(), i = S(!1);
881
886
  function l() {
882
887
  t.value = null, n && n.emit("reset");
883
888
  }
884
- return rn((s) => {
889
+ return sn((s) => {
885
890
  if (i.value)
886
891
  return !e;
887
892
  i.value = !0;
@@ -892,7 +897,7 @@ function La(e) {
892
897
  userId: o.value?.id ?? "",
893
898
  userName: o.value?.userName ?? ""
894
899
  }
895
- }), Ea.error("Captured Error:", u.originalError), n && n.emit("error", u), Se(() => {
900
+ }), La.error("Captured Error:", u.originalError), n && n.emit("error", u), Ie(() => {
896
901
  i.value = !1;
897
902
  }), !e;
898
903
  }), {
@@ -901,20 +906,20 @@ function La(e) {
901
906
  };
902
907
  }
903
908
  const Ue = /* @__PURE__ */ new WeakMap();
904
- function er(e, t, n) {
909
+ function tr(e, t, n) {
905
910
  Ue.set(e, { timerId: t, notifId: n });
906
911
  }
907
- function Ba(e) {
912
+ function Ca(e) {
908
913
  if (e && typeof e == "object") {
909
914
  const t = Ue.get(e), n = "originalError" in e && e.originalError && typeof e.originalError == "object" ? e.originalError : void 0, a = t ?? (n ? Ue.get(n) : void 0), o = t ? e : n;
910
915
  if (a && o)
911
- return clearTimeout(a.timerId), Promise.resolve().then(() => oa).then(({ notification: i }) => {
916
+ return clearTimeout(a.timerId), Promise.resolve().then(() => ia).then(({ notification: i }) => {
912
917
  i.remove(a.notifId);
913
918
  }), Ue.delete(o), !0;
914
919
  }
915
920
  return !1;
916
921
  }
917
- const tr = z({
922
+ const nr = z({
918
923
  name: "ErrorInterceptor",
919
924
  props: {
920
925
  capture: {
@@ -931,11 +936,11 @@ const tr = z({
931
936
  }
932
937
  },
933
938
  setup(e, { slots: t }) {
934
- const n = Y(Ct, void 0), a = Y(hn, void 0), o = !!(n && a), { error: i, reset: l } = La(o || e.capture);
939
+ const n = Y(Ct, void 0), a = Y(kn, void 0), o = !!(n && a), { error: i, reset: l } = Ba(o || e.capture);
935
940
  return o && j(i, (s) => {
936
941
  const u = n.value.id;
937
942
  if (s) {
938
- if (Ba(s), kn())
943
+ if (Ca(s), Sn())
939
944
  return;
940
945
  a.setBladeError(u, s);
941
946
  } else
@@ -945,7 +950,7 @@ const tr = z({
945
950
  reset: l
946
951
  });
947
952
  }
948
- }), Ca = Symbol("vc-button-group"), xa = ["type", "disabled", "aria-disabled", "aria-label", "aria-busy", "aria-pressed"], Ta = {
953
+ }), xa = Symbol("vc-button-group"), Ta = ["type", "disabled", "aria-disabled", "aria-label", "aria-busy", "aria-pressed"], Ra = {
949
954
  key: 2,
950
955
  class: "vc-button__title"
951
956
  }, Ma = /* @__PURE__ */ z({
@@ -968,10 +973,10 @@ const tr = z({
968
973
  const n = {
969
974
  base: "default",
970
975
  xs: "sm"
971
- }, a = e, o = Oe(), i = t, l = Y(Ca, null), s = $(() => {
976
+ }, a = e, o = Oe(), i = t, l = Y(xa, null), s = $(() => {
972
977
  const c = l?.size?.value ?? a.size;
973
978
  return n[c] ?? c;
974
- }), u = I(null), v = $(() => a.disabled || a.loading), m = I(!1);
979
+ }), u = S(null), v = $(() => a.disabled || a.loading), m = S(!1);
975
980
  j(v, (c) => {
976
981
  m.value = c && u.value === document.activeElement;
977
982
  });
@@ -1014,25 +1019,25 @@ const tr = z({
1014
1019
  icon: e.icon,
1015
1020
  size: e.iconSize
1016
1021
  }, null, 8, ["class", "icon", "size"])) : w("", !0),
1017
- c.$slots.default ? (f(), y("span", Ta, [
1022
+ c.$slots.default ? (f(), y("span", Ra, [
1018
1023
  T(c.$slots, "default")
1019
1024
  ])) : w("", !0)
1020
- ], 42, xa));
1025
+ ], 42, Ta));
1021
1026
  }
1022
1027
  }), vt = Ce({
1023
1028
  name: "toolbar-service",
1024
1029
  getKey: (e) => `${e.bladeId.toLowerCase()}::${e.toolbarItem.id}`,
1025
1030
  registerIntoService: (e, t) => e.registerToolbarItem(t.toolbarItem, t.bladeId)
1026
1031
  });
1027
- function nr(e, t) {
1032
+ function ar(e, t) {
1028
1033
  const n = t.toLowerCase();
1029
1034
  vt.preregister({
1030
1035
  bladeId: n,
1031
1036
  toolbarItem: e
1032
1037
  });
1033
1038
  }
1034
- function Kt() {
1035
- const e = zt({
1039
+ function Wt() {
1040
+ const e = qt({
1036
1041
  createRegistration: (s, u) => ({ bladeId: s, toolbarItem: u }),
1037
1042
  getRegistrationBladeId: (s) => s.bladeId,
1038
1043
  getRegistrationItemId: (s) => s.toolbarItem.id
@@ -1064,24 +1069,24 @@ function Kt() {
1064
1069
  };
1065
1070
  return vt.replayInto(l), l;
1066
1071
  }
1067
- const Ra = "fallback-blade-id";
1072
+ const Aa = "fallback-blade-id";
1068
1073
  let _e = null;
1069
- const Aa = Ge({
1074
+ const Na = Ge({
1070
1075
  key: xt,
1071
- create: Kt,
1076
+ create: Wt,
1072
1077
  bus: vt,
1073
1078
  name: "ToolbarService"
1074
1079
  });
1075
- function ar() {
1076
- return Aa.provide();
1080
+ function lr() {
1081
+ return Na.provide();
1077
1082
  }
1078
- function lr(e = {}) {
1083
+ function or(e = {}) {
1079
1084
  const { autoCleanup: t = !0 } = e, n = Y(xt, null);
1080
- !n && !_e && (_e = Kt());
1085
+ !n && !_e && (_e = Wt());
1081
1086
  const a = n || _e;
1082
1087
  if (!a)
1083
1088
  throw new Error("Toolbar service is not available");
1084
- const o = Y(Ct, void 0), i = $(() => o?.value?.id ?? Ra), l = (c) => c ?? i.value, s = (c, b) => {
1089
+ const o = Y(Ct, void 0), i = $(() => o?.value?.id ?? Aa), l = (c) => c ?? i.value, s = (c, b) => {
1085
1090
  a.registerToolbarItem(c, l(b));
1086
1091
  }, u = (c, b) => {
1087
1092
  a.unregisterToolbarItem(c, l(b));
@@ -1102,7 +1107,7 @@ function lr(e = {}) {
1102
1107
  registeredToolbarItems: a.registeredToolbarItems
1103
1108
  };
1104
1109
  }
1105
- const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa = { class: "tw-sr-only" }, ne = /* @__PURE__ */ z({
1110
+ const Da = ["aria-label"], Va = { class: "tw-sr-only" }, Pa = ["aria-label"], Fa = { class: "tw-sr-only" }, ne = /* @__PURE__ */ z({
1106
1111
  __name: "vc-skeleton",
1107
1112
  props: {
1108
1113
  variant: { default: "text" },
@@ -1130,7 +1135,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1130
1135
  "aria-busy": "true",
1131
1136
  "aria-label": e.ariaLabel
1132
1137
  }, [
1133
- x("span", Da, A(e.ariaLabel), 1),
1138
+ x("span", Va, A(e.ariaLabel), 1),
1134
1139
  (f(!0), y(Le, null, st(e.rows, (l) => (f(), y("div", {
1135
1140
  key: l,
1136
1141
  class: "vc-skeleton__row",
@@ -1139,7 +1144,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1139
1144
  }),
1140
1145
  "aria-hidden": "true"
1141
1146
  }, null, 4))), 128))
1142
- ], 10, Na)) : (f(), y("div", {
1147
+ ], 10, Da)) : (f(), y("div", {
1143
1148
  key: 1,
1144
1149
  class: W(["vc-skeleton__shape", [`vc-skeleton__shape--${e.variant}`, { "tw-animate-pulse": e.animated }]]),
1145
1150
  style: Ve({
@@ -1150,10 +1155,10 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1150
1155
  "aria-busy": "true",
1151
1156
  "aria-label": e.ariaLabel
1152
1157
  }, [
1153
- x("span", Pa, A(e.ariaLabel), 1)
1154
- ], 14, Va));
1158
+ x("span", Fa, A(e.ariaLabel), 1)
1159
+ ], 14, Pa));
1155
1160
  }
1156
- }), or = /* @__PURE__ */ z({
1161
+ }), ir = /* @__PURE__ */ z({
1157
1162
  __name: "vc-container",
1158
1163
  props: {
1159
1164
  shadow: { type: Boolean },
@@ -1162,13 +1167,13 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1162
1167
  },
1163
1168
  emits: ["scroll"],
1164
1169
  setup(e, { expose: t, emit: n }) {
1165
- const a = n, o = I(), i = I(!1), l = () => {
1170
+ const a = n, o = S(), i = S(!1), l = () => {
1166
1171
  o.value && o.value.scroll(0, 0);
1167
1172
  };
1168
1173
  function s(u) {
1169
1174
  a("scroll", u);
1170
1175
  }
1171
- return Rt(o, () => {
1176
+ return Mt(o, () => {
1172
1177
  i.value = !!(o.value && o.value.clientHeight < o.value.scrollHeight);
1173
1178
  }), t({
1174
1179
  scrollTop: l,
@@ -1197,7 +1202,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1197
1202
  _: 3
1198
1203
  }, 8, ["class", "aria-label"]));
1199
1204
  }
1200
- }), Fa = ["id", "role"], za = /* @__PURE__ */ z({
1205
+ }), za = ["id", "role"], qa = /* @__PURE__ */ z({
1201
1206
  __name: "vc-hint",
1202
1207
  props: {
1203
1208
  id: {},
@@ -1212,13 +1217,13 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1212
1217
  role: e.error ? "alert" : void 0
1213
1218
  }, [
1214
1219
  T(t.$slots, "default")
1215
- ], 10, Fa));
1220
+ ], 10, za));
1216
1221
  }
1217
- }), me = za, qa = ["role", "tabindex", "aria-label", "onKeydown"], Ua = {
1222
+ }), me = qa, Ua = ["role", "tabindex", "aria-label", "onKeydown"], Ka = {
1218
1223
  key: 0,
1219
1224
  class: "vc-image__placeholder",
1220
1225
  "aria-hidden": "true"
1221
- }, Ka = /* @__PURE__ */ z({
1226
+ }, Wa = /* @__PURE__ */ z({
1222
1227
  __name: "vc-image",
1223
1228
  props: {
1224
1229
  aspect: { default: "1x1" },
@@ -1246,7 +1251,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1246
1251
  }
1247
1252
  return g;
1248
1253
  }
1249
- const l = $(() => ta(a.src, a.thumbnailSize) ?? a.src), s = I(!1), u = $(() => s.value ? a.src : l.value);
1254
+ const l = $(() => na(a.src, a.thumbnailSize) ?? a.src), s = S(!1), u = $(() => s.value ? a.src : l.value);
1250
1255
  j(
1251
1256
  () => [a.src, a.thumbnailSize],
1252
1257
  () => {
@@ -1295,23 +1300,23 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1295
1300
  X(G(m, ["prevent"]), ["space"])
1296
1301
  ]
1297
1302
  }, [
1298
- e.src ? w("", !0) : (f(), y("div", Ua, [
1299
- R(r(U), {
1303
+ e.src ? w("", !0) : (f(), y("div", Ka, [
1304
+ M(r(U), {
1300
1305
  icon: e.emptyIcon,
1301
1306
  size: "xl"
1302
1307
  }, null, 8, ["icon"])
1303
1308
  ]))
1304
- ], 46, qa)
1309
+ ], 46, Ua)
1305
1310
  ], 2));
1306
1311
  }
1307
- }), Wa = { class: "vc-label__text" }, ja = { class: "vc-label__content" }, Ha = {
1312
+ }), ja = { class: "vc-label__text" }, Ha = { class: "vc-label__content" }, Ga = {
1308
1313
  key: 0,
1309
1314
  class: "vc-label__required",
1310
1315
  "aria-hidden": "true"
1311
- }, Ga = {
1316
+ }, Ya = {
1312
1317
  key: 0,
1313
1318
  class: "vc-label__tooltip"
1314
- }, Ya = {
1319
+ }, Ja = {
1315
1320
  key: 1,
1316
1321
  class: "vc-label__language"
1317
1322
  }, Je = /* @__PURE__ */ z({
@@ -1332,19 +1337,19 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1332
1337
  for: e.htmlFor || void 0
1333
1338
  }, {
1334
1339
  default: O(() => [
1335
- x("div", Wa, [
1336
- x("span", ja, [
1340
+ x("div", ja, [
1341
+ x("span", Ha, [
1337
1342
  T(t.$slots, "default")
1338
1343
  ]),
1339
- e.required ? (f(), y("span", Ha, "*")) : w("", !0)
1344
+ e.required ? (f(), y("span", Ga, "*")) : w("", !0)
1340
1345
  ]),
1341
- t.$slots.tooltip ? (f(), y("span", Ga, [
1342
- R(r(Tt), { placement: "top-start" }, {
1346
+ t.$slots.tooltip ? (f(), y("span", Ya, [
1347
+ M(r(Tt), { placement: "top-start" }, {
1343
1348
  tooltip: O(() => [
1344
1349
  T(t.$slots, "tooltip")
1345
1350
  ]),
1346
1351
  default: O(() => [
1347
- R(r(U), {
1352
+ M(r(U), {
1348
1353
  class: "vc-label__tooltip-icon",
1349
1354
  icon: e.tooltipIcon,
1350
1355
  size: "s"
@@ -1353,12 +1358,12 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1353
1358
  _: 3
1354
1359
  })
1355
1360
  ])) : w("", !0),
1356
- e.multilanguage ? (f(), y("div", Ya, A(e.currentLanguage), 1)) : w("", !0)
1361
+ e.multilanguage ? (f(), y("div", Ja, A(e.currentLanguage), 1)) : w("", !0)
1357
1362
  ]),
1358
1363
  _: 3
1359
1364
  }, 8, ["class", "for"]));
1360
1365
  }
1361
- }), Ja = ["disabled", "aria-disabled"], Xa = { class: "vc-link__text" }, Za = /* @__PURE__ */ z({
1366
+ }), Xa = ["disabled", "aria-disabled"], Za = { class: "vc-link__text" }, Qa = /* @__PURE__ */ z({
1362
1367
  __name: "vc-link",
1363
1368
  props: {
1364
1369
  active: { type: Boolean },
@@ -1381,12 +1386,12 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1381
1386
  "aria-disabled": e.disabled,
1382
1387
  onClick: o
1383
1388
  }, [
1384
- x("span", Xa, [
1389
+ x("span", Za, [
1385
1390
  T(i.$slots, "default")
1386
1391
  ])
1387
- ], 10, Ja));
1392
+ ], 10, Xa));
1388
1393
  }
1389
- }), Qa = Za, _a = ["aria-label"], el = { class: "vc-status__content" }, tl = /* @__PURE__ */ z({
1394
+ }), _a = Qa, el = ["aria-label"], tl = { class: "vc-status__content" }, nl = /* @__PURE__ */ z({
1390
1395
  __name: "vc-status",
1391
1396
  props: {
1392
1397
  variant: { default: "info" },
@@ -1405,12 +1410,12 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1405
1410
  role: "status",
1406
1411
  "aria-label": e.dot ? e.variant : void 0
1407
1412
  }, [
1408
- x("div", el, [
1413
+ x("div", tl, [
1409
1414
  T(t.$slots, "default")
1410
1415
  ])
1411
- ], 10, _a));
1416
+ ], 10, el));
1412
1417
  }
1413
- }), nl = ["aria-label"], al = /* @__PURE__ */ z({
1418
+ }), al = ["aria-label"], ll = /* @__PURE__ */ z({
1414
1419
  __name: "vc-status-icon",
1415
1420
  props: {
1416
1421
  status: { type: Boolean }
@@ -1432,17 +1437,17 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1432
1437
  class: "vc-status-icon__icon vc-status-icon__icon--inactive",
1433
1438
  "aria-hidden": "true"
1434
1439
  }))
1435
- ], 8, nl));
1440
+ ], 8, al));
1436
1441
  }
1437
- }), ll = ["aria-label"], $t = 40, ol = /* @__PURE__ */ z({
1442
+ }), ol = ["aria-label"], $t = 40, il = /* @__PURE__ */ z({
1438
1443
  __name: "vc-scrollable-container",
1439
1444
  props: {
1440
1445
  speed: { default: void 0 }
1441
1446
  },
1442
1447
  setup(e, { expose: t }) {
1443
- const n = e, a = I(null), o = {};
1448
+ const n = e, a = S(null), o = {};
1444
1449
  n.speed !== void 0 && (o.speed = n.speed);
1445
- const { canScrollUp: i, canScrollDown: l, startScroll: s, stopScroll: u, updateScrollState: v } = sa(
1450
+ const { canScrollUp: i, canScrollDown: l, startScroll: s, stopScroll: u, updateScrollState: v } = ua(
1446
1451
  a,
1447
1452
  o
1448
1453
  );
@@ -1467,7 +1472,7 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1467
1472
  (...c) => r(u) && r(u)(...c))
1468
1473
  }, [
1469
1474
  T(g.$slots, "arrow-up", {}, () => [
1470
- R(r(U), {
1475
+ M(r(U), {
1471
1476
  icon: "lucide-chevron-up",
1472
1477
  size: "xs"
1473
1478
  })
@@ -1495,51 +1500,51 @@ const Na = ["aria-label"], Da = { class: "tw-sr-only" }, Va = ["aria-label"], Pa
1495
1500
  (...c) => r(u) && r(u)(...c))
1496
1501
  }, [
1497
1502
  T(g.$slots, "arrow-down", {}, () => [
1498
- R(r(U), {
1503
+ M(r(U), {
1499
1504
  icon: "lucide-chevron-down",
1500
1505
  size: "xs"
1501
1506
  })
1502
1507
  ])
1503
1508
  ], 34)
1504
- ], 8, ll));
1509
+ ], 8, ol));
1505
1510
  }
1506
1511
  }), gt = /* @__PURE__ */ new Map();
1507
- function il(e) {
1512
+ function rl(e) {
1508
1513
  return e?.map((t) => t.toLowerCase());
1509
1514
  }
1510
- function ir(e) {
1515
+ function rr(e) {
1511
1516
  gt.set(e.id, {
1512
1517
  ...e,
1513
- targetBlades: il(e.targetBlades)
1518
+ targetBlades: rl(e.targetBlades)
1514
1519
  });
1515
1520
  }
1516
- function rl(e) {
1521
+ function sl(e) {
1517
1522
  const t = e.toLowerCase();
1518
1523
  return Array.from(gt.values()).filter((n) => !n.targetBlades || n.targetBlades.includes(t)).map((n) => ({ ...n, targetBlades: n.targetBlades ? [...n.targetBlades] : void 0 }));
1519
1524
  }
1520
- function sl() {
1525
+ function ul() {
1521
1526
  return Array.from(gt.values()).map((e) => ({
1522
1527
  ...e,
1523
1528
  targetBlades: e.targetBlades ? [...e.targetBlades] : void 0
1524
1529
  }));
1525
1530
  }
1526
- function ul(e) {
1527
- return En(e);
1531
+ function cl(e) {
1532
+ return Ln(e);
1528
1533
  }
1529
- const Wt = Ce({
1534
+ const jt = Ce({
1530
1535
  name: "widget-service",
1531
1536
  getKey: (e) => `${e.bladeId.toLowerCase()}::${e.widget.id}`,
1532
1537
  registerIntoService: (e, t) => e.registerWidget(t.widget, t.bladeId)
1533
1538
  });
1534
- function rr(e, t) {
1539
+ function sr(e, t) {
1535
1540
  const n = t.toLowerCase();
1536
- Wt.preregister({
1541
+ jt.preregister({
1537
1542
  bladeId: n,
1538
1543
  widget: e
1539
1544
  });
1540
1545
  }
1541
- function sr() {
1542
- const e = zt({
1546
+ function ur() {
1547
+ const e = qt({
1543
1548
  createRegistration: (a, o) => ({ bladeId: a, widget: o }),
1544
1549
  getRegistrationBladeId: (a) => a.bladeId,
1545
1550
  getRegistrationItemId: (a) => a.widget.id
@@ -1548,16 +1553,16 @@ function sr() {
1548
1553
  unregisterWidget: (a, o) => e.unregister(a, o),
1549
1554
  getWidgets: (a) => e.get(a),
1550
1555
  updateWidget: ({ id: a, bladeId: o, widget: i }) => e.update(a, o, i),
1551
- getExternalWidgetsForBlade: (a) => rl(a.toLowerCase()),
1552
- getAllExternalWidgets: sl,
1553
- cloneWidget: ul
1556
+ getExternalWidgetsForBlade: (a) => sl(a.toLowerCase()),
1557
+ getAllExternalWidgets: ul,
1558
+ cloneWidget: cl
1554
1559
  };
1555
- return Wt.replayInto(n), n;
1560
+ return jt.replayInto(n), n;
1556
1561
  }
1557
- const cl = ge("use-theme"), he = I([
1562
+ const dl = ge("use-theme"), he = S([
1558
1563
  { key: "light", localizationKey: "CORE.THEMES.LIGHT" },
1559
1564
  { key: "dark", localizationKey: "CORE.THEMES.DARK" }
1560
- ]), ur = Mn(() => {
1565
+ ]), cr = Mn(() => {
1561
1566
  const { t: e } = $e.global;
1562
1567
  function t(v) {
1563
1568
  (Array.isArray(v) ? v : [v]).forEach((m) => {
@@ -1570,7 +1575,7 @@ const cl = ge("use-theme"), he = I([
1570
1575
  g >= 0 && he.value.splice(g, 1);
1571
1576
  });
1572
1577
  }
1573
- const a = $(() => he.value.map((v) => v.key)), o = Bn({
1578
+ const a = $(() => he.value.map((v) => v.key)), o = Cn({
1574
1579
  attribute: "data-theme",
1575
1580
  emitAuto: !0,
1576
1581
  initialValue: "light",
@@ -1582,12 +1587,12 @@ const cl = ge("use-theme"), he = I([
1582
1587
  {}
1583
1588
  )
1584
1589
  }
1585
- }), { state: i, next: l } = Cn(a, { initialValue: o });
1590
+ }), { state: i, next: l } = xn(a, { initialValue: o });
1586
1591
  tt(() => {
1587
1592
  i.value && (o.value = i.value);
1588
1593
  });
1589
1594
  function s(v) {
1590
- a.value.includes(v) ? i.value = v : cl.warn(`Attempted to set an unregistered theme: ${v}`);
1595
+ a.value.includes(v) ? i.value = v : dl.warn(`Attempted to set an unregistered theme: ${v}`);
1591
1596
  }
1592
1597
  const u = $(() => {
1593
1598
  const v = he.value.find((m) => m.key === i.value);
@@ -1612,15 +1617,15 @@ const cl = ge("use-theme"), he = I([
1612
1617
  getKey: (e) => e.id,
1613
1618
  registerIntoService: (e, t) => e.registerWidget(t)
1614
1619
  });
1615
- function cr(e) {
1620
+ function dr(e) {
1616
1621
  mt.preregister(e);
1617
1622
  }
1618
- const dl = () => ({
1623
+ const fl = () => ({
1619
1624
  widgets: nt(/* @__PURE__ */ new Map()),
1620
1625
  layout: nt(/* @__PURE__ */ new Map())
1621
1626
  });
1622
- function fl(e = {}) {
1623
- const t = dl(), n = e.hasAccess ?? (() => !0), s = {
1627
+ function vl(e = {}) {
1628
+ const t = fl(), n = e.hasAccess ?? (() => !0), s = {
1624
1629
  registerWidget: (u) => {
1625
1630
  if (t.widgets.has(u.id))
1626
1631
  throw new Error(`Widget with id ${u.id} already registered`);
@@ -1646,42 +1651,42 @@ function fl(e = {}) {
1646
1651
  };
1647
1652
  return mt.replayInto(s), s;
1648
1653
  }
1649
- const wt = ge("use-dashboard"), jt = Ge({
1654
+ const wt = ge("use-dashboard"), Ht = Ge({
1650
1655
  key: In,
1651
1656
  bus: mt,
1652
1657
  name: "DashboardService",
1653
1658
  create: () => {
1654
1659
  let e = () => !0;
1655
1660
  try {
1656
- const { hasAccess: t } = aa();
1661
+ const { hasAccess: t } = la();
1657
1662
  e = (n) => t(n);
1658
1663
  } catch (t) {
1659
1664
  wt.warn("Permissions composable unavailable, dashboard falls back to allow-all access check", t);
1660
1665
  }
1661
- return fl({
1666
+ return vl({
1662
1667
  hasAccess: e
1663
1668
  });
1664
1669
  },
1665
1670
  onMissing: () => wt.error("Dashboard service not found")
1666
1671
  });
1667
- function dr() {
1668
- return jt.provide();
1669
- }
1670
1672
  function fr() {
1671
- return jt.use();
1673
+ return Ht.provide();
1674
+ }
1675
+ function vr() {
1676
+ return Ht.use();
1672
1677
  }
1673
- const Ht = Ce({
1678
+ const Gt = Ce({
1674
1679
  name: "app-bar-menu-service",
1675
1680
  getKey: (e) => e.id || crypto.randomUUID(),
1676
1681
  registerIntoService: (e, t) => e.register(t),
1677
1682
  unregisterFromService: (e, t) => e.unregister(t)
1678
1683
  });
1679
- function vr(e) {
1680
- Ht.preregister(e);
1684
+ function gr(e) {
1685
+ Gt.preregister(e);
1681
1686
  }
1682
- function gr() {
1683
- return qt({
1684
- bus: Ht,
1687
+ function mr() {
1688
+ return Ut({
1689
+ bus: Gt,
1685
1690
  createItem: (e, t) => ({
1686
1691
  id: e.id || "",
1687
1692
  order: e.order ?? t,
@@ -1703,11 +1708,11 @@ const pt = Ce({
1703
1708
  registerIntoService: (e, t) => e.register(t),
1704
1709
  unregisterFromService: (e, t) => e.unregister(t)
1705
1710
  });
1706
- function mr(e) {
1711
+ function pr(e) {
1707
1712
  pt.preregister(e);
1708
1713
  }
1709
- function vl() {
1710
- return qt({
1714
+ function gl() {
1715
+ return Ut({
1711
1716
  bus: pt,
1712
1717
  createItem: (e, t) => ({
1713
1718
  id: e.id || "",
@@ -1719,26 +1724,26 @@ function vl() {
1719
1724
  getId: (e) => e.id || ""
1720
1725
  });
1721
1726
  }
1722
- const gl = ge("use-settings-menu"), Gt = Ge({
1723
- key: Sn,
1724
- create: vl,
1727
+ const ml = ge("use-settings-menu"), Yt = Ge({
1728
+ key: $n,
1729
+ create: gl,
1725
1730
  bus: pt,
1726
1731
  name: "SettingsMenuService",
1727
- onMissing: () => gl.error("Settings menu service not found")
1732
+ onMissing: () => ml.error("Settings menu service not found")
1728
1733
  });
1729
- function pr() {
1730
- return Gt.provide();
1731
- }
1732
1734
  function br() {
1733
- return Gt.use();
1735
+ return Yt.provide();
1734
1736
  }
1735
- const ml = {
1737
+ function yr() {
1738
+ return Yt.use();
1739
+ }
1740
+ const pl = {
1736
1741
  key: 0,
1737
1742
  class: "vc-date-picker vc-date-picker--skeleton"
1738
- }, pl = { class: "vc-date-picker__field-container" }, bl = { class: "vc-date-picker__field" }, yl = ["aria-label"], hl = {
1743
+ }, bl = { class: "vc-date-picker__field-container" }, yl = { class: "vc-date-picker__field" }, hl = ["aria-label"], kl = {
1739
1744
  key: 0,
1740
1745
  class: "vc-date-picker__loading"
1741
- }, kl = { key: 0 }, Il = { key: 1 }, Sl = /* @__PURE__ */ z({
1746
+ }, Sl = { key: 0 }, Il = { key: 1 }, $l = /* @__PURE__ */ z({
1742
1747
  __name: "vc-date-picker",
1743
1748
  props: {
1744
1749
  modelValue: {},
@@ -1763,7 +1768,7 @@ const ml = {
1763
1768
  },
1764
1769
  emits: ["update:modelValue", "blur", "focus"],
1765
1770
  setup(e, { emit: t }) {
1766
- const n = e, a = t, o = Oe(), { isMobile: i, isDesktop: l } = Ye(), { labelId: s, errorId: u, hintId: v, invalid: m, resolvedDisabled: g, ariaRequired: d, ariaDescribedBy: c } = He(n), b = I(!1), h = window.navigator.language, E = I(n.modelValue), p = I(null), S = $(() => n.type === "date" && "9999-12-31" || void 0), F = (() => {
1771
+ const n = e, a = t, o = Oe(), { isMobile: i, isDesktop: l } = Ye(), { labelId: s, errorId: u, hintId: v, invalid: m, resolvedDisabled: g, ariaRequired: d, ariaDescribedBy: c } = He(n), b = S(!1), h = window.navigator.language, E = S(n.modelValue), p = S(null), I = $(() => n.type === "date" && "9999-12-31" || void 0), F = (() => {
1767
1772
  const C = new Intl.DateTimeFormat(h, { hour: "numeric" }).format();
1768
1773
  return Number.isInteger(Number(C));
1769
1774
  })(), K = $(() => {
@@ -1825,14 +1830,14 @@ const ml = {
1825
1830
  function q() {
1826
1831
  b.value = !0, a("focus");
1827
1832
  }
1828
- return (C, B) => r(o) ? (f(), y("div", ml, [
1833
+ return (C, B) => r(o) ? (f(), y("div", pl, [
1829
1834
  e.label ? (f(), P(r(ne), {
1830
1835
  key: 0,
1831
1836
  variant: "block",
1832
1837
  width: 60 + (e.label?.length || 0) * 4,
1833
1838
  height: 11
1834
1839
  }, null, 8, ["width"])) : w("", !0),
1835
- R(r(ne), {
1840
+ M(r(ne), {
1836
1841
  variant: "block",
1837
1842
  width: "100%",
1838
1843
  height: 36
@@ -1875,16 +1880,16 @@ const ml = {
1875
1880
  "vc-date-picker__field-wrapper--small": e.size === "small"
1876
1881
  }])
1877
1882
  }, [
1878
- x("div", pl, [
1879
- x("div", bl, [
1880
- R(r(An), ee({
1883
+ x("div", bl, [
1884
+ x("div", yl, [
1885
+ M(r(Nn), ee({
1881
1886
  modelValue: E.value,
1882
1887
  "onUpdate:modelValue": B[0] || (B[0] = (D) => E.value = D),
1883
1888
  placeholder: e.placeholder || (e.type === "datetime-local" ? C.$t("COMPONENTS.MOLECULES.VC_INPUT.DATE_TIME_PLACEHOLDER") : C.$t("COMPONENTS.MOLECULES.VC_INPUT.DATE_PLACEHOLDER")),
1884
1889
  disabled: r(g),
1885
1890
  name: e.name,
1886
1891
  autofocus: e.autofocus,
1887
- "max-date": S.value,
1892
+ "max-date": I.value,
1888
1893
  "time-picker-inline": "",
1889
1894
  "enable-time-picker": e.type === "datetime-local",
1890
1895
  format: re,
@@ -1918,14 +1923,14 @@ const ml = {
1918
1923
  "aria-label": C.$t("COMPONENTS.MOLECULES.VC_DATE_PICKER.CLEAR"),
1919
1924
  onClick: ae
1920
1925
  }, [
1921
- R(r(U), {
1926
+ M(r(U), {
1922
1927
  size: "xs",
1923
1928
  icon: "lucide-x"
1924
1929
  })
1925
- ], 8, yl)) : w("", !0)
1930
+ ], 8, hl)) : w("", !0)
1926
1931
  ]),
1927
- e.loading ? (f(), y("div", hl, [
1928
- R(r(U), {
1932
+ e.loading ? (f(), y("div", kl, [
1933
+ M(r(U), {
1929
1934
  icon: "lucide-loader-2",
1930
1935
  class: "vc-date-picker__loading-icon",
1931
1936
  size: "m"
@@ -1933,13 +1938,13 @@ const ml = {
1933
1938
  ])) : w("", !0)
1934
1939
  ])
1935
1940
  ], 2),
1936
- R(Pe, {
1941
+ M(Pe, {
1937
1942
  name: "slide-up",
1938
1943
  mode: "out-in"
1939
1944
  }, {
1940
1945
  default: O(() => [
1941
- r(m) && e.errorMessage ? (f(), y("div", kl, [
1942
- R(r(me), {
1946
+ r(m) && e.errorMessage ? (f(), y("div", Sl, [
1947
+ M(r(me), {
1943
1948
  id: r(u),
1944
1949
  class: "vc-date-picker__hint-error",
1945
1950
  error: !0
@@ -1966,13 +1971,13 @@ const ml = {
1966
1971
  })
1967
1972
  ], 2));
1968
1973
  }
1969
- }), $l = {
1974
+ }), wl = {
1970
1975
  key: 0,
1971
1976
  class: "vc-color-input vc-color-input--skeleton"
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 = {
1977
+ }, Ol = { class: "vc-color-input__field-container" }, El = { class: "vc-color-input__field" }, Ll = ["id", "placeholder", "disabled", "name", "autofocus", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby", "aria-label"], Bl = { class: "vc-color-input__color-container" }, Cl = ["aria-label"], xl = ["value"], Tl = ["aria-label"], Rl = {
1973
1978
  key: 0,
1974
1979
  class: "vc-color-input__loading"
1975
- }, Ml = { key: 0 }, Rl = { key: 1 }, Al = /* @__PURE__ */ z({
1980
+ }, Ml = { key: 0 }, Al = { key: 1 }, Nl = /* @__PURE__ */ z({
1976
1981
  __name: "vc-color-input",
1977
1982
  props: {
1978
1983
  modelValue: {},
@@ -2004,24 +2009,24 @@ const ml = {
2004
2009
  resolvedDisabled: g,
2005
2010
  ariaRequired: d,
2006
2011
  ariaDescribedBy: c
2007
- } = He(o), b = I(!1), h = I(!1), E = I(), p = I(), S = I(o.modelValue ?? ""), F = I("");
2012
+ } = He(o), b = S(!1), h = S(!1), E = S(), p = S(), I = S(o.modelValue ?? ""), F = S("");
2008
2013
  function K(q) {
2009
2014
  if (!q || typeof q != "string") {
2010
2015
  F.value = "";
2011
2016
  return;
2012
2017
  }
2013
2018
  const C = q.trim();
2014
- if (ea(C)) {
2015
- F.value = It(C);
2019
+ if (ta(C)) {
2020
+ F.value = St(C);
2016
2021
  return;
2017
2022
  }
2018
- const B = _n(C);
2023
+ const B = ea(C);
2019
2024
  B && (F.value = B);
2020
2025
  }
2021
2026
  j(
2022
2027
  () => o.modelValue,
2023
2028
  (q) => {
2024
- h.value || (h.value = !0, S.value = q ?? "", Se(() => {
2029
+ h.value || (h.value = !0, I.value = q ?? "", Ie(() => {
2025
2030
  K(q ?? ""), h.value = !1;
2026
2031
  }));
2027
2032
  },
@@ -2030,22 +2035,22 @@ const ml = {
2030
2035
  q && p.value && (p.value.value = q);
2031
2036
  });
2032
2037
  function _() {
2033
- h.value || (h.value = !0, i("update:modelValue", S.value || null), Se(() => {
2034
- K(S.value), h.value = !1;
2038
+ h.value || (h.value = !0, i("update:modelValue", I.value || null), Ie(() => {
2039
+ K(I.value), h.value = !1;
2035
2040
  }));
2036
2041
  }
2037
2042
  function J(q) {
2038
2043
  const C = q.target;
2039
2044
  if (C?.value) {
2040
- const B = It(C.value);
2041
- F.value = B, S.value = B, i("update:modelValue", B);
2045
+ const B = St(C.value);
2046
+ F.value = B, I.value = B, i("update:modelValue", B);
2042
2047
  }
2043
2048
  }
2044
2049
  function re() {
2045
2050
  p.value?.click();
2046
2051
  }
2047
2052
  function ae() {
2048
- S.value = "", F.value = "", i("update:modelValue", null);
2053
+ I.value = "", F.value = "", i("update:modelValue", null);
2049
2054
  }
2050
2055
  function te(q) {
2051
2056
  b.value = !1, i("blur", q);
@@ -2056,14 +2061,14 @@ const ml = {
2056
2061
  function se() {
2057
2062
  E.value?.focus();
2058
2063
  }
2059
- return t({ focus: se }), (q, C) => r(a) ? (f(), y("div", $l, [
2064
+ return t({ focus: se }), (q, C) => r(a) ? (f(), y("div", wl, [
2060
2065
  e.label ? (f(), P(r(ne), {
2061
2066
  key: 0,
2062
2067
  variant: "block",
2063
2068
  width: 60 + (e.label?.length || 0) * 4,
2064
2069
  height: 11
2065
2070
  }, null, 8, ["width"])) : w("", !0),
2066
- R(r(ne), {
2071
+ M(r(ne), {
2067
2072
  variant: "block",
2068
2073
  width: "100%",
2069
2074
  height: 36
@@ -2107,13 +2112,13 @@ const ml = {
2107
2112
  "vc-color-input__field-wrapper--small": e.size === "small"
2108
2113
  }])
2109
2114
  }, [
2110
- x("div", wl, [
2111
- x("div", Ol, [
2115
+ x("div", Ol, [
2116
+ x("div", El, [
2112
2117
  ct(x("input", {
2113
2118
  id: r(l),
2114
2119
  ref_key: "inputRef",
2115
2120
  ref: E,
2116
- "onUpdate:modelValue": C[0] || (C[0] = (B) => S.value = B),
2121
+ "onUpdate:modelValue": C[0] || (C[0] = (B) => I.value = B),
2117
2122
  placeholder: e.placeholder,
2118
2123
  type: "text",
2119
2124
  disabled: r(g),
@@ -2129,17 +2134,17 @@ const ml = {
2129
2134
  onBlur: te,
2130
2135
  onFocus: ce,
2131
2136
  onInput: _
2132
- }, null, 40, El), [
2133
- [sn, S.value]
2137
+ }, null, 40, Ll), [
2138
+ [un, I.value]
2134
2139
  ]),
2135
- x("div", Ll, [
2140
+ x("div", Bl, [
2136
2141
  x("button", {
2137
2142
  type: "button",
2138
2143
  class: "vc-color-input__color-square",
2139
2144
  style: Ve({ backgroundColor: F.value || "#ffffff" }),
2140
2145
  "aria-label": `Pick color${F.value ? ": " + F.value : ""}`,
2141
2146
  onClick: re
2142
- }, null, 12, Bl),
2147
+ }, null, 12, Cl),
2143
2148
  x("input", {
2144
2149
  ref_key: "colorPickerRef",
2145
2150
  ref: p,
@@ -2149,23 +2154,23 @@ const ml = {
2149
2154
  tabindex: "-1",
2150
2155
  "aria-hidden": "true",
2151
2156
  onChange: J
2152
- }, null, 40, Cl)
2157
+ }, null, 40, xl)
2153
2158
  ]),
2154
- e.clearable && S.value && !e.disabled ? (f(), y("button", {
2159
+ e.clearable && I.value && !e.disabled ? (f(), y("button", {
2155
2160
  key: 0,
2156
2161
  type: "button",
2157
2162
  class: "vc-color-input__clear",
2158
2163
  "aria-label": q.$t("COMPONENTS.MOLECULES.VC_COLOR_INPUT.CLEAR"),
2159
2164
  onClick: ae
2160
2165
  }, [
2161
- R(r(U), {
2166
+ M(r(U), {
2162
2167
  size: "xs",
2163
2168
  icon: "lucide-x"
2164
2169
  })
2165
- ], 8, xl)) : w("", !0)
2170
+ ], 8, Tl)) : w("", !0)
2166
2171
  ]),
2167
- e.loading ? (f(), y("div", Tl, [
2168
- R(r(U), {
2172
+ e.loading ? (f(), y("div", Rl, [
2173
+ M(r(U), {
2169
2174
  icon: "lucide-loader-2",
2170
2175
  class: "vc-color-input__loading-icon",
2171
2176
  size: "m"
@@ -2173,13 +2178,13 @@ const ml = {
2173
2178
  ])) : w("", !0)
2174
2179
  ])
2175
2180
  ], 2),
2176
- R(Pe, {
2181
+ M(Pe, {
2177
2182
  name: "slide-up",
2178
2183
  mode: "out-in"
2179
2184
  }, {
2180
2185
  default: O(() => [
2181
2186
  r(m) && e.errorMessage ? (f(), y("div", Ml, [
2182
- R(r(me), {
2187
+ M(r(me), {
2183
2188
  id: r(u),
2184
2189
  class: "vc-color-input__hint-error",
2185
2190
  error: !0
@@ -2189,7 +2194,7 @@ const ml = {
2189
2194
  ]),
2190
2195
  _: 1
2191
2196
  }, 8, ["id"])
2192
- ])) : (f(), y("div", Rl, [
2197
+ ])) : (f(), y("div", Al, [
2193
2198
  e.hint ? (f(), P(r(me), {
2194
2199
  key: 0,
2195
2200
  id: r(v),
@@ -2206,28 +2211,28 @@ const ml = {
2206
2211
  })
2207
2212
  ], 2));
2208
2213
  }
2209
- }), Nl = { class: "vc-input__container" }, Dl = {
2214
+ }), Dl = { class: "vc-input__container" }, Vl = {
2210
2215
  key: 0,
2211
2216
  class: "vc-input__prepend"
2212
- }, Vl = { class: "vc-input__field-container" }, Pl = {
2217
+ }, Pl = { class: "vc-input__field-container" }, Fl = {
2213
2218
  key: 0,
2214
2219
  class: "vc-input__prepend-inner"
2215
- }, Fl = { class: "vc-input__field" }, zl = {
2220
+ }, zl = { class: "vc-input__field" }, ql = {
2216
2221
  key: 0,
2217
2222
  class: "vc-input__prefix"
2218
- }, ql = ["id", "placeholder", "type", "disabled", "name", "maxlength", "autofocus", "autocomplete", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby", "aria-label"], Ul = {
2223
+ }, Ul = ["id", "placeholder", "type", "disabled", "name", "maxlength", "autofocus", "autocomplete", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby", "aria-label"], Kl = {
2219
2224
  key: 1,
2220
2225
  class: "vc-input__suffix"
2221
- }, Kl = ["aria-label"], Wl = ["aria-label"], jl = {
2226
+ }, Wl = ["aria-label"], jl = ["aria-label"], Hl = {
2222
2227
  key: 1,
2223
2228
  class: "vc-input__append-inner"
2224
- }, Hl = {
2229
+ }, Gl = {
2225
2230
  key: 2,
2226
2231
  class: "vc-input__loading"
2227
- }, Gl = {
2232
+ }, Yl = {
2228
2233
  key: 1,
2229
2234
  class: "vc-input__append"
2230
- }, Yl = { key: 0 }, Jl = { key: 1 }, bt = /* @__PURE__ */ z({
2235
+ }, Jl = { key: 0 }, Xl = { key: 1 }, bt = /* @__PURE__ */ z({
2231
2236
  inheritAttrs: !1,
2232
2237
  __name: "vc-input",
2233
2238
  props: {
@@ -2260,8 +2265,8 @@ const ml = {
2260
2265
  emits: ["update:modelValue", "blur", "focus"],
2261
2266
  setup(e, { emit: t }) {
2262
2267
  const n = e, a = Lt(), o = $(() => {
2263
- const { class: k, ...M } = a;
2264
- return M;
2268
+ const { class: k, ...R } = a;
2269
+ return R;
2265
2270
  }), i = t, l = Oe(), {
2266
2271
  fieldId: s,
2267
2272
  labelId: u,
@@ -2274,7 +2279,7 @@ const ml = {
2274
2279
  ariaDescribedBy: h
2275
2280
  } = He(n);
2276
2281
  let E, p;
2277
- const S = I(), F = I(), K = I(r(n.type)), _ = I(!1), J = I(), re = $({
2282
+ const I = S(), F = S(), K = S(r(n.type)), _ = S(!1), J = S(), re = $({
2278
2283
  get() {
2279
2284
  return K.value === "integer" ? "number" : K.value;
2280
2285
  },
@@ -2283,22 +2288,22 @@ const ml = {
2283
2288
  }
2284
2289
  }), ae = $(() => r(n.modelValue)), te = $({
2285
2290
  get() {
2286
- return (n.type === "integer" || n.type === "number") && isNaN(S.value) ? "" : S.value;
2291
+ return (n.type === "integer" || n.type === "number") && isNaN(I.value) ? "" : I.value;
2287
2292
  },
2288
2293
  set(k) {
2289
- (n.type === "number" || n.type === "integer") && k < 0 ? S.value = Math.abs(k) : S.value = k, se(S.value);
2294
+ (n.type === "number" || n.type === "integer") && k < 0 ? I.value = Math.abs(k) : I.value = k, se(I.value);
2290
2295
  }
2291
2296
  });
2292
2297
  j(
2293
2298
  ae,
2294
2299
  (k) => {
2295
- n.type === "number" && k !== null ? J.value = parseFloat(k) : n.type === "integer" && k !== null ? J.value = Math.trunc(k) : J.value = k, S.value !== J.value && (S.value = J.value);
2300
+ n.type === "number" && k !== null ? J.value = parseFloat(k) : n.type === "integer" && k !== null ? J.value = Math.trunc(k) : J.value = k, I.value !== J.value && (I.value = J.value);
2296
2301
  },
2297
2302
  { immediate: !0 }
2298
2303
  );
2299
2304
  function ce(k) {
2300
- const M = ["Backspace", "Delete", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], L = k.key;
2301
- if ((n.type === "number" || n.type === "integer") && (L === "-" || L === "e" || L === "+") && k.preventDefault(), n.type === "integer" && !/^\d$/.test(L) && !M.includes(L)) {
2305
+ const R = ["Backspace", "Delete", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], L = k.key;
2306
+ if ((n.type === "number" || n.type === "integer") && (L === "-" || L === "e" || L === "+") && k.preventDefault(), n.type === "integer" && !/^\d$/.test(L) && !R.includes(L)) {
2302
2307
  k.preventDefault();
2303
2308
  return;
2304
2309
  }
@@ -2309,14 +2314,14 @@ const ml = {
2309
2314
  function q(k) {
2310
2315
  p = () => {
2311
2316
  if (J.value !== k) {
2312
- let M;
2313
- n.type === "number" && k !== null && k !== void 0 ? M = k !== "" ? parseFloat(k) : null : n.type === "integer" && k !== null && k !== void 0 ? M = k !== "" ? Math.trunc(parseInt(k)) : null : M = k, i("update:modelValue", M);
2317
+ let R;
2318
+ n.type === "number" && k !== null && k !== void 0 ? R = k !== "" ? parseFloat(k) : null : n.type === "integer" && k !== null && k !== void 0 ? R = k !== "" ? Math.trunc(parseInt(k)) : null : R = k, i("update:modelValue", R);
2314
2319
  }
2315
2320
  p = void 0;
2316
2321
  }, n.debounce !== void 0 ? (clearTimeout(E), E = setTimeout(p, +n.debounce)) : p();
2317
2322
  }
2318
2323
  function C() {
2319
- S.value = null, i("update:modelValue", null);
2324
+ I.value = null, i("update:modelValue", null);
2320
2325
  }
2321
2326
  function B(k) {
2322
2327
  _.value = !1, i("blur", k);
@@ -2327,7 +2332,7 @@ const ml = {
2327
2332
  function V() {
2328
2333
  _.value = !0, i("focus");
2329
2334
  }
2330
- return (k, M) => r(l) ? (f(), y("div", ee({ key: 0 }, o.value, {
2335
+ return (k, R) => r(l) ? (f(), y("div", ee({ key: 0 }, o.value, {
2331
2336
  class: ["vc-input vc-input--skeleton", k.$attrs.class]
2332
2337
  }), [
2333
2338
  e.label ? (f(), P(r(ne), {
@@ -2336,12 +2341,12 @@ const ml = {
2336
2341
  width: 60 + (e.label?.length || 0) * 4,
2337
2342
  height: 11
2338
2343
  }, null, 8, ["width"])) : w("", !0),
2339
- R(r(ne), {
2344
+ M(r(ne), {
2340
2345
  variant: "block",
2341
2346
  width: "100%",
2342
2347
  height: 36
2343
2348
  })
2344
- ], 16)) : e.type === "date" || e.type === "datetime-local" ? (f(), P(r(Sl), ee({ key: 1 }, r(a), {
2349
+ ], 16)) : e.type === "date" || e.type === "datetime-local" ? (f(), P(r($l), ee({ key: 1 }, r(a), {
2345
2350
  "model-value": e.modelValue,
2346
2351
  type: e.type,
2347
2352
  "date-picker-options": e.datePickerOptions,
@@ -2361,10 +2366,10 @@ const ml = {
2361
2366
  "current-language": e.currentLanguage,
2362
2367
  name: e.name,
2363
2368
  "aria-label": e.ariaLabel,
2364
- "onUpdate:modelValue": M[0] || (M[0] = (L) => i("update:modelValue", L ?? null)),
2365
- onBlur: M[1] || (M[1] = (L) => i("blur", L)),
2366
- onFocus: M[2] || (M[2] = (L) => 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" ? (f(), P(r(Al), ee({ key: 2 }, r(a), {
2369
+ "onUpdate:modelValue": R[0] || (R[0] = (L) => i("update:modelValue", L ?? null)),
2370
+ onBlur: R[1] || (R[1] = (L) => i("blur", L)),
2371
+ onFocus: R[2] || (R[2] = (L) => i("focus"))
2372
+ }), 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" ? (f(), P(r(Nl), ee({ key: 2 }, r(a), {
2368
2373
  "model-value": e.modelValue ?? null,
2369
2374
  label: e.label,
2370
2375
  placeholder: e.placeholder,
@@ -2382,9 +2387,9 @@ const ml = {
2382
2387
  "current-language": e.currentLanguage,
2383
2388
  name: e.name,
2384
2389
  "aria-label": e.ariaLabel,
2385
- "onUpdate:modelValue": M[3] || (M[3] = (L) => i("update:modelValue", L)),
2386
- onBlur: M[4] || (M[4] = (L) => i("blur", L)),
2387
- onFocus: M[5] || (M[5] = (L) => i("focus"))
2390
+ "onUpdate:modelValue": R[3] || (R[3] = (L) => i("update:modelValue", L)),
2391
+ onBlur: R[4] || (R[4] = (L) => i("blur", L)),
2392
+ onFocus: R[5] || (R[5] = (L) => i("focus"))
2388
2393
  }), null, 16, ["model-value", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name", "aria-label"])) : (f(), y("div", ee({ key: 3 }, o.value, {
2389
2394
  class: ["vc-input", [
2390
2395
  k.$attrs.class,
@@ -2420,8 +2425,8 @@ const ml = {
2420
2425
  key: "0"
2421
2426
  } : void 0
2422
2427
  ]), 1032, ["id", "html-for", "required", "multilanguage", "current-language", "error"])) : w("", !0),
2423
- x("div", Nl, [
2424
- k.$slots.prepend ? (f(), y("div", Dl, [
2428
+ x("div", Dl, [
2429
+ k.$slots.prepend ? (f(), y("div", Vl, [
2425
2430
  T(k.$slots, "prepend", { focus: D })
2426
2431
  ])) : w("", !0),
2427
2432
  x("div", {
@@ -2430,12 +2435,12 @@ const ml = {
2430
2435
  "vc-input__field-wrapper--small": e.size === "small"
2431
2436
  }])
2432
2437
  }, [
2433
- x("div", Vl, [
2434
- k.$slots["prepend-inner"] ? (f(), y("div", Pl, [
2438
+ x("div", Pl, [
2439
+ k.$slots["prepend-inner"] ? (f(), y("div", Fl, [
2435
2440
  T(k.$slots, "prepend-inner", { focus: D })
2436
2441
  ])) : w("", !0),
2437
- x("div", Fl, [
2438
- e.prefix ? (f(), y("div", zl, A(e.prefix), 1)) : w("", !0),
2442
+ x("div", zl, [
2443
+ e.prefix ? (f(), y("div", ql, A(e.prefix), 1)) : w("", !0),
2439
2444
  T(k.$slots, "control", {
2440
2445
  editable: r(d),
2441
2446
  focused: e.autofocus,
@@ -2447,7 +2452,7 @@ const ml = {
2447
2452
  id: r(s),
2448
2453
  ref_key: "inputRef",
2449
2454
  ref: F,
2450
- "onUpdate:modelValue": M[6] || (M[6] = (L) => te.value = L),
2455
+ "onUpdate:modelValue": R[6] || (R[6] = (L) => te.value = L),
2451
2456
  placeholder: e.placeholder,
2452
2457
  type: re.value,
2453
2458
  disabled: r(d),
@@ -2465,11 +2470,11 @@ const ml = {
2465
2470
  onKeydown: ce,
2466
2471
  onBlur: B,
2467
2472
  onFocus: V
2468
- }, null, 40, ql), [
2469
- [un, te.value]
2473
+ }, null, 40, Ul), [
2474
+ [cn, te.value]
2470
2475
  ])
2471
2476
  ]),
2472
- e.suffix ? (f(), y("div", Ul, A(e.suffix), 1)) : w("", !0),
2477
+ e.suffix ? (f(), y("div", Kl, A(e.suffix), 1)) : w("", !0),
2473
2478
  e.clearable && J.value && !r(d) && e.type !== "password" ? (f(), y("button", {
2474
2479
  key: 2,
2475
2480
  type: "button",
@@ -2477,29 +2482,29 @@ const ml = {
2477
2482
  "aria-label": k.$t("COMPONENTS.CONTROLS.CLEAR"),
2478
2483
  onClick: C
2479
2484
  }, [
2480
- R(r(U), {
2485
+ M(r(U), {
2481
2486
  size: "xs",
2482
2487
  icon: "lucide-x"
2483
2488
  })
2484
- ], 8, Kl)) : w("", !0),
2489
+ ], 8, Wl)) : w("", !0),
2485
2490
  e.type === "password" ? (f(), y("button", {
2486
2491
  key: 3,
2487
2492
  type: "button",
2488
2493
  class: "vc-input__showhide",
2489
2494
  "aria-label": K.value === "password" ? k.$t("COMPONENTS.CONTROLS.SHOW_PASSWORD") : k.$t("COMPONENTS.CONTROLS.HIDE_PASSWORD"),
2490
- onClick: M[7] || (M[7] = (L) => K.value = K.value === "password" ? "text" : "password")
2495
+ onClick: R[7] || (R[7] = (L) => K.value = K.value === "password" ? "text" : "password")
2491
2496
  }, [
2492
- R(r(U), {
2497
+ M(r(U), {
2493
2498
  size: "s",
2494
2499
  icon: K.value === "password" ? "lucide-eye-off" : "lucide-eye"
2495
2500
  }, null, 8, ["icon"])
2496
- ], 8, Wl)) : w("", !0)
2501
+ ], 8, jl)) : w("", !0)
2497
2502
  ]),
2498
- k.$slots["append-inner"] ? (f(), y("div", jl, [
2503
+ k.$slots["append-inner"] ? (f(), y("div", Hl, [
2499
2504
  T(k.$slots, "append-inner", { focus: D })
2500
2505
  ])) : w("", !0),
2501
- e.loading ? (f(), y("div", Hl, [
2502
- R(r(U), {
2506
+ e.loading ? (f(), y("div", Gl, [
2507
+ M(r(U), {
2503
2508
  icon: "lucide-loader-2",
2504
2509
  class: "vc-input__loading-icon",
2505
2510
  size: "m"
@@ -2507,18 +2512,18 @@ const ml = {
2507
2512
  ])) : w("", !0)
2508
2513
  ])
2509
2514
  ], 2),
2510
- k.$slots.append ? (f(), y("div", Gl, [
2515
+ k.$slots.append ? (f(), y("div", Yl, [
2511
2516
  T(k.$slots, "append", { focus: D })
2512
2517
  ])) : w("", !0)
2513
2518
  ]),
2514
- R(Pe, {
2519
+ M(Pe, {
2515
2520
  name: "slide-up",
2516
2521
  mode: "out-in"
2517
2522
  }, {
2518
2523
  default: O(() => [
2519
- r(g) && e.errorMessage ? (f(), y("div", Yl, [
2524
+ r(g) && e.errorMessage ? (f(), y("div", Jl, [
2520
2525
  T(k.$slots, "error", {}, () => [
2521
- R(r(me), {
2526
+ M(r(me), {
2522
2527
  id: r(v),
2523
2528
  class: "vc-input__hint-error",
2524
2529
  error: !0
@@ -2529,7 +2534,7 @@ const ml = {
2529
2534
  _: 1
2530
2535
  }, 8, ["id"])
2531
2536
  ])
2532
- ])) : (f(), y("div", Jl, [
2537
+ ])) : (f(), y("div", Xl, [
2533
2538
  T(k.$slots, "hint", {}, () => [
2534
2539
  e.hint ? (f(), P(r(me), {
2535
2540
  key: 0,
@@ -2548,7 +2553,7 @@ const ml = {
2548
2553
  })
2549
2554
  ], 16));
2550
2555
  }
2551
- }), yr = Rn.create({
2556
+ }), hr = An.create({
2552
2557
  name: "fontSize",
2553
2558
  addOptions() {
2554
2559
  return {
@@ -2578,33 +2583,33 @@ const ml = {
2578
2583
  };
2579
2584
  }
2580
2585
  });
2581
- function Xl(e = {}) {
2586
+ function Zl(e = {}) {
2582
2587
  const {
2583
2588
  containerSelector: t = '[role="menu"]',
2584
2589
  itemSelector: n = '[tabindex="0"]',
2585
2590
  onEnter: a,
2586
2591
  onEscape: o,
2587
2592
  loop: i = !0
2588
- } = e, l = I(null), s = I(-1), u = (p) => {
2593
+ } = e, l = S(null), s = S(-1), u = (p) => {
2589
2594
  (s.value >= p.length || s.value < 0) && (s.value = p.length > 0 ? 0 : -1);
2590
2595
  }, v = (p) => {
2591
2596
  if (!l.value) return;
2592
- const S = Array.from(l.value.querySelectorAll(n));
2593
- if (S.length)
2594
- switch (u(S), p.key) {
2597
+ const I = Array.from(l.value.querySelectorAll(n));
2598
+ if (I.length)
2599
+ switch (u(I), p.key) {
2595
2600
  case "Tab":
2596
- m(p, S);
2601
+ m(p, I);
2597
2602
  break;
2598
2603
  case "ArrowDown":
2599
- p.preventDefault(), g(S);
2604
+ p.preventDefault(), g(I);
2600
2605
  break;
2601
2606
  case "ArrowUp":
2602
- p.preventDefault(), d(S);
2607
+ p.preventDefault(), d(I);
2603
2608
  break;
2604
2609
  case "Enter":
2605
2610
  case " ":
2606
- if (s.value >= 0 && s.value < S.length) {
2607
- const F = S[s.value];
2611
+ if (s.value >= 0 && s.value < I.length) {
2612
+ const F = I[s.value];
2608
2613
  F && (p.preventDefault(), a ? a(F) : typeof F.click == "function" && F.click());
2609
2614
  }
2610
2615
  break;
@@ -2612,8 +2617,8 @@ function Xl(e = {}) {
2612
2617
  o && (p.preventDefault(), p.stopPropagation(), o());
2613
2618
  break;
2614
2619
  }
2615
- }, m = (p, S) => {
2616
- p.shiftKey ? d(S) : g(S);
2620
+ }, m = (p, I) => {
2621
+ p.shiftKey ? d(I) : g(I);
2617
2622
  }, g = (p) => {
2618
2623
  if (!p.length) return;
2619
2624
  if (u(p), s.value < p.length - 1)
@@ -2622,8 +2627,8 @@ function Xl(e = {}) {
2622
2627
  s.value = 0;
2623
2628
  else
2624
2629
  return;
2625
- const S = p[s.value];
2626
- S && typeof S.focus == "function" && S.focus();
2630
+ const I = p[s.value];
2631
+ I && typeof I.focus == "function" && I.focus();
2627
2632
  }, d = (p) => {
2628
2633
  if (!p.length) return;
2629
2634
  if (u(p), s.value > 0)
@@ -2632,18 +2637,18 @@ function Xl(e = {}) {
2632
2637
  s.value = p.length - 1;
2633
2638
  else
2634
2639
  return;
2635
- const S = p[s.value];
2636
- S && typeof S.focus == "function" && S.focus();
2640
+ const I = p[s.value];
2641
+ I && typeof I.focus == "function" && I.focus();
2637
2642
  }, c = (p) => {
2638
2643
  if (!p.length) return;
2639
2644
  s.value = 0;
2640
- const S = p[0];
2641
- S && typeof S.focus == "function" && S.focus();
2645
+ const I = p[0];
2646
+ I && typeof I.focus == "function" && I.focus();
2642
2647
  }, b = (p) => {
2643
2648
  if (!p.length) return;
2644
2649
  s.value = p.length - 1;
2645
- const S = p[p.length - 1];
2646
- S && typeof S.focus == "function" && S.focus();
2650
+ const I = p[p.length - 1];
2651
+ I && typeof I.focus == "function" && I.focus();
2647
2652
  }, h = (p) => {
2648
2653
  l.value && l.value.removeEventListener("keydown", v), l.value = p, p.addEventListener("keydown", v);
2649
2654
  }, E = () => {
@@ -2685,8 +2690,8 @@ function Xl(e = {}) {
2685
2690
  },
2686
2691
  setFocusedIndex: (p) => {
2687
2692
  if (l.value) {
2688
- const S = Array.from(l.value.querySelectorAll(n));
2689
- p >= 0 && p < S.length && (s.value = p);
2693
+ const I = Array.from(l.value.querySelectorAll(n));
2694
+ p >= 0 && p < I.length && (s.value = p);
2690
2695
  }
2691
2696
  },
2692
2697
  getFocusedIndex: () => s.value
@@ -2696,7 +2701,7 @@ function Ot(e, t) {
2696
2701
  const n = e !== void 0 ? e : t;
2697
2702
  return typeof n == "function" ? n : (a) => a === null || typeof a != "object" ? a : n && n in a ? a[n] : a;
2698
2703
  }
2699
- function Zl(e) {
2704
+ function Ql(e) {
2700
2705
  const t = $(() => Ot(e.optionValue(), "id")), n = $(() => Ot(e.optionLabel(), "title"));
2701
2706
  function a(l, s, u, v) {
2702
2707
  const m = (g) => De(t.value(g), l);
@@ -2716,8 +2721,8 @@ function Zl(e) {
2716
2721
  fieldValueIsFilled: i
2717
2722
  };
2718
2723
  }
2719
- function Ql() {
2720
- const e = I(null), t = I(!1);
2724
+ function _l() {
2725
+ const e = S(null), t = S(!1);
2721
2726
  let n = null, a = null;
2722
2727
  function o() {
2723
2728
  if (e.value && !t.value) {
@@ -2746,8 +2751,8 @@ function Ql() {
2746
2751
  ensureVisibility: i
2747
2752
  };
2748
2753
  }
2749
- function _l(e) {
2750
- const t = I(!1), n = I(!1), a = I(null), o = I(null);
2754
+ function eo(e) {
2755
+ const t = S(!1), n = S(!1), a = S(null), o = S(null);
2751
2756
  function i() {
2752
2757
  return {
2753
2758
  name: "sameWidth",
@@ -2760,7 +2765,7 @@ function _l(e) {
2760
2765
  }
2761
2766
  };
2762
2767
  }
2763
- const l = ia(a, o, {
2768
+ const l = ra(a, o, {
2764
2769
  placement: $(() => e.placement),
2765
2770
  middleware: $(() => [
2766
2771
  At({ fallbackPlacements: ["top", "bottom"] }),
@@ -2792,10 +2797,10 @@ function _l(e) {
2792
2797
  toggleDropdown: u
2793
2798
  };
2794
2799
  }
2795
- function eo(e) {
2796
- const t = I([]), n = I(null), a = I(0), o = I(0), i = I(!1), l = I(!1), s = I(!1), u = I(!1), v = I(), m = I([]), g = I(!1), d = /* @__PURE__ */ new Map();
2800
+ function to(e) {
2801
+ const t = S([]), n = S(null), a = S(0), o = S(0), i = S(!1), l = S(!1), s = S(!1), u = S(!1), v = S(), m = S([]), g = S(!1), d = /* @__PURE__ */ new Map();
2797
2802
  let c = !1, b = 0, h = 0, E = 0, p;
2798
- const S = $(() => n.value ?? t.value), F = $(() => n.value !== null ? !l.value && n.value.length < o.value : !i.value && t.value.length < a.value);
2803
+ const I = $(() => n.value ?? t.value), F = $(() => n.value !== null ? !l.value && n.value.length < o.value : !i.value && t.value.length < a.value);
2799
2804
  function K(B) {
2800
2805
  for (const D of B) {
2801
2806
  const V = String(e.getOptionValue.value(D));
@@ -2830,17 +2835,17 @@ function eo(e) {
2830
2835
  const D = n.value !== null, V = E, k = n.value;
2831
2836
  try {
2832
2837
  s.value = !0;
2833
- const M = await B(v.value, D ? h : b);
2838
+ const R = await B(v.value, D ? h : b);
2834
2839
  if (D && (n.value !== k || V !== E)) return;
2835
- const L = M?.results ?? [];
2840
+ const L = R?.results ?? [];
2836
2841
  if (D ? h += L.length : b += L.length, L.length === 0) {
2837
2842
  D ? l.value = !0 : i.value = !0;
2838
2843
  return;
2839
2844
  }
2840
2845
  const H = D ? n.value : t.value, xe = new Set(H.map((Te) => String(e.getOptionValue.value(Te)))), de = L.filter((Te) => !xe.has(String(e.getOptionValue.value(Te))));
2841
- D ? (n.value = [...H, ...de], o.value = M?.totalCount ?? o.value, h >= o.value && (l.value = !0)) : (t.value = [...H, ...de], a.value = M?.totalCount ?? a.value, b >= a.value && (i.value = !0)), K(de);
2842
- } catch (M) {
2843
- console.error("useSelectDataSource: error loading more", M);
2846
+ D ? (n.value = [...H, ...de], o.value = R?.totalCount ?? o.value, h >= o.value && (l.value = !0)) : (t.value = [...H, ...de], a.value = R?.totalCount ?? a.value, b >= a.value && (i.value = !0)), K(de);
2847
+ } catch (R) {
2848
+ console.error("useSelectDataSource: error loading more", R);
2844
2849
  } finally {
2845
2850
  s.value = !1;
2846
2851
  }
@@ -2854,8 +2859,8 @@ function eo(e) {
2854
2859
  u.value = !0;
2855
2860
  const k = await D(B);
2856
2861
  if (V !== E) return;
2857
- const M = k?.results ?? [];
2858
- n.value = M, o.value = k?.totalCount ?? 0, h = M.length, l.value = M.length === 0 || h >= o.value, K(M);
2862
+ const R = k?.results ?? [];
2863
+ n.value = R, o.value = k?.totalCount ?? 0, h = R.length, l.value = R.length === 0 || h >= o.value, K(R);
2859
2864
  } catch (k) {
2860
2865
  if (V !== E) return;
2861
2866
  console.error("useSelectDataSource: error searching", k), n.value = [], o.value = 0, h = 0, l.value = !0;
@@ -2864,8 +2869,8 @@ function eo(e) {
2864
2869
  }
2865
2870
  } else {
2866
2871
  const V = t.value.filter((k) => {
2867
- const M = e.getOptionLabel.value(k);
2868
- return String(M).toLowerCase().includes(B.toLowerCase());
2872
+ const R = e.getOptionLabel.value(k);
2873
+ return String(R).toLowerCase().includes(B.toLowerCase());
2869
2874
  });
2870
2875
  n.value = V, o.value = V.length, h = V.length, l.value = !0;
2871
2876
  }
@@ -2902,8 +2907,8 @@ function eo(e) {
2902
2907
  const H = String(e.getOptionValue.value(L));
2903
2908
  V.includes(H) && d.set(H, L);
2904
2909
  }
2905
- const M = B.map((L) => d.get(String(L))).filter(Boolean);
2906
- return m.value = M, M;
2910
+ const R = B.map((L) => d.get(String(L))).filter(Boolean);
2911
+ return m.value = R, R;
2907
2912
  }
2908
2913
  async function C() {
2909
2914
  t.value = [], a.value = 0, b = 0, i.value = !1, _(), d.clear(), m.value = [], c = !1, await J();
@@ -2916,14 +2921,14 @@ function eo(e) {
2916
2921
  if (Array.isArray(B) && (t.value = [...B], a.value = t.value.length, b = t.value.length, i.value = !0, K(t.value), c = !0, m.value.length === 0)) {
2917
2922
  const D = m.value;
2918
2923
  (D.length === 0 ? t.value.filter((k) => {
2919
- const M = String(e.getOptionValue.value(k));
2920
- return d.has(M);
2924
+ const R = String(e.getOptionValue.value(k));
2925
+ return d.has(R);
2921
2926
  }) : D).length;
2922
2927
  }
2923
2928
  },
2924
2929
  { deep: !1 }
2925
2930
  ), {
2926
- displayItems: S,
2931
+ displayItems: I,
2927
2932
  loading: s,
2928
2933
  searchLoading: u,
2929
2934
  hasMore: F,
@@ -2940,7 +2945,7 @@ function eo(e) {
2940
2945
  refresh: C
2941
2946
  };
2942
2947
  }
2943
- function to(e) {
2948
+ function no(e) {
2944
2949
  let t = [];
2945
2950
  const n = $(() => {
2946
2951
  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()] : [];
@@ -3033,40 +3038,40 @@ function to(e) {
3033
3038
  onReset: m
3034
3039
  };
3035
3040
  }
3036
- const no = { class: "vc-select__control" }, ao = {
3041
+ const ao = { class: "vc-select__control" }, lo = {
3037
3042
  key: 0,
3038
3043
  class: "vc-select__prepend"
3039
- }, lo = { class: "vc-select__field" }, oo = { class: "vc-select__field-inner" }, io = { class: "vc-select__field-content" }, ro = {
3044
+ }, oo = { class: "vc-select__field" }, io = { class: "vc-select__field-inner" }, ro = { class: "vc-select__field-content" }, so = {
3040
3045
  key: 0,
3041
3046
  class: "vc-select__prepend-inner"
3042
- }, so = { class: "vc-select__field-main" }, uo = {
3047
+ }, uo = { class: "vc-select__field-main" }, co = {
3043
3048
  key: 0,
3044
3049
  class: "vc-select__prefix"
3045
- }, co = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-describedby", "aria-required", "aria-invalid"], fo = {
3050
+ }, fo = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-describedby", "aria-required", "aria-invalid"], vo = {
3046
3051
  key: 0,
3047
3052
  class: "vc-select__placeholder"
3048
- }, vo = {
3053
+ }, go = {
3049
3054
  key: 1,
3050
3055
  class: "vc-select__selected"
3051
- }, go = { class: "vc-select__multiple-item" }, mo = {
3056
+ }, mo = { class: "vc-select__multiple-item" }, po = {
3052
3057
  key: 0,
3053
3058
  class: "vc-select__loading"
3054
- }, po = { key: 1 }, bo = ["aria-label", "onClick", "onKeydown"], yo = {
3059
+ }, bo = { key: 1 }, yo = ["aria-label", "onClick", "onKeydown"], ho = {
3055
3060
  key: 0,
3056
3061
  class: "vc-select__loading"
3057
- }, ho = {
3062
+ }, ko = {
3058
3063
  key: 1,
3059
3064
  class: "vc-select__suffix"
3060
- }, ko = ["aria-label"], Io = {
3065
+ }, So = ["aria-label"], Io = {
3061
3066
  key: 1,
3062
3067
  class: "vc-select__append-inner"
3063
- }, So = {
3068
+ }, $o = {
3064
3069
  key: 2,
3065
3070
  class: "vc-select__loading-icon"
3066
- }, $o = ["aria-label"], wo = { class: "vc-select__chevron" }, Oo = { class: "vc-select__hint-error" }, Eo = { key: 0 }, Lo = { key: 1 }, Bo = {
3071
+ }, wo = ["aria-label"], Oo = { class: "vc-select__chevron" }, Eo = { class: "vc-select__hint-error" }, Lo = { key: 0 }, Bo = { key: 1 }, Co = {
3067
3072
  key: 1,
3068
3073
  class: "vc-select__append"
3069
- }, Co = /* @__PURE__ */ z({
3074
+ }, xo = /* @__PURE__ */ z({
3070
3075
  __name: "SelectTrigger",
3071
3076
  props: {
3072
3077
  isOpened: { type: Boolean },
@@ -3098,7 +3103,7 @@ const no = { class: "vc-select__control" }, ao = {
3098
3103
  },
3099
3104
  emits: ["focus", "blur", "reset", "removeAtIndex"],
3100
3105
  setup(e, { expose: t }) {
3101
- const { t: n } = we({ useScope: "global" }), a = I(null);
3106
+ const { t: n } = we({ useScope: "global" }), a = S(null);
3102
3107
  return t({
3103
3108
  toggleRef: a
3104
3109
  }), (o, i) => (f(), y("div", {
@@ -3110,8 +3115,8 @@ const no = { class: "vc-select__control" }, ao = {
3110
3115
  toggleHandler: e.toggleDropdown,
3111
3116
  isOpened: e.isOpened
3112
3117
  }, () => [
3113
- x("div", no, [
3114
- o.$slots.prepend ? (f(), y("div", ao, [
3118
+ x("div", ao, [
3119
+ o.$slots.prepend ? (f(), y("div", lo, [
3115
3120
  T(o.$slots, "prepend")
3116
3121
  ])) : w("", !0),
3117
3122
  x("div", {
@@ -3120,14 +3125,14 @@ const no = { class: "vc-select__control" }, ao = {
3120
3125
  "vc-select__field-wrapper--small": e.size === "small"
3121
3126
  }])
3122
3127
  }, [
3123
- x("div", lo, [
3124
- x("div", oo, [
3125
- x("div", io, [
3126
- o.$slots["prepend-inner"] ? (f(), y("div", ro, [
3128
+ x("div", oo, [
3129
+ x("div", io, [
3130
+ x("div", ro, [
3131
+ o.$slots["prepend-inner"] ? (f(), y("div", so, [
3127
3132
  T(o.$slots, "prepend-inner")
3128
3133
  ])) : w("", !0),
3129
- x("div", so, [
3130
- e.prefix ? (f(), y("div", uo, A(e.prefix), 1)) : w("", !0),
3134
+ x("div", uo, [
3135
+ e.prefix ? (f(), y("div", co, A(e.prefix), 1)) : w("", !0),
3131
3136
  x("div", {
3132
3137
  "data-test-id": "dropdown-toggle",
3133
3138
  class: "vc-select__input",
@@ -3160,7 +3165,7 @@ const no = { class: "vc-select__control" }, ao = {
3160
3165
  onFocus: i[3] || (i[3] = (l) => o.$emit("focus")),
3161
3166
  onBlur: i[4] || (i[4] = (l) => o.$emit("blur"))
3162
3167
  }, [
3163
- e.hasValue ? e.selectedScope && e.selectedScope.length && e.hasValue ? (f(), y("div", vo, [
3168
+ e.hasValue ? e.selectedScope && e.selectedScope.length && e.hasValue ? (f(), y("div", go, [
3164
3169
  (f(!0), y(Le, null, st(e.selectedScope, (l, s) => (f(), y("div", {
3165
3170
  key: s,
3166
3171
  class: "vc-select__selected-item"
@@ -3169,8 +3174,8 @@ const no = { class: "vc-select__control" }, ao = {
3169
3174
  key: 0,
3170
3175
  ref_for: !0
3171
3176
  }, l), () => [
3172
- x("div", go, [
3173
- e.loading ? (f(), y("span", mo, A(r(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : (f(), y("span", po, A(e.getOptionLabel(l.opt)), 1)),
3177
+ x("div", mo, [
3178
+ e.loading ? (f(), y("span", po, A(r(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : (f(), y("span", bo, A(e.getOptionLabel(l.opt)), 1)),
3174
3179
  e.disabled ? w("", !0) : (f(), y("button", {
3175
3180
  key: 2,
3176
3181
  type: "button",
@@ -3180,15 +3185,15 @@ const no = { class: "vc-select__control" }, ao = {
3180
3185
  onClick: G((u) => o.$emit("removeAtIndex", l.index), ["stop"]),
3181
3186
  onKeydown: X(G((u) => o.$emit("removeAtIndex", l.index), ["stop", "prevent"]), ["enter"])
3182
3187
  }, [
3183
- R(r(U), {
3188
+ M(r(U), {
3184
3189
  class: "vc-select__icon-remove",
3185
3190
  icon: "lucide-x",
3186
3191
  size: "xs"
3187
3192
  })
3188
- ], 40, bo))
3193
+ ], 40, yo))
3189
3194
  ])
3190
3195
  ]) : e.multiple ? w("", !0) : (f(), y(Le, { key: 1 }, [
3191
- e.loading ? (f(), y("span", yo, A(r(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : T(o.$slots, "selected-item", ee({
3196
+ e.loading ? (f(), y("span", ho, A(r(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : T(o.$slots, "selected-item", ee({
3192
3197
  key: 1,
3193
3198
  ref_for: !0
3194
3199
  }, l), () => [
@@ -3196,15 +3201,15 @@ const no = { class: "vc-select__control" }, ao = {
3196
3201
  ])
3197
3202
  ], 64))
3198
3203
  ]))), 128))
3199
- ])) : w("", !0) : (f(), y("div", fo, [
3204
+ ])) : w("", !0) : (f(), y("div", vo, [
3200
3205
  e.placeholder ? (f(), y(Le, { key: 0 }, [
3201
3206
  Z(A(e.placeholder), 1)
3202
3207
  ], 64)) : (f(), y(Le, { key: 1 }, [
3203
3208
  Z(A(r(n)("COMPONENTS.MOLECULES.VC_SELECT.CLICK_TO_SELECT")), 1)
3204
3209
  ], 64))
3205
3210
  ]))
3206
- ], 40, co),
3207
- e.suffix ? (f(), y("div", ho, A(e.suffix), 1)) : w("", !0),
3211
+ ], 40, fo),
3212
+ e.suffix ? (f(), y("div", ko, A(e.suffix), 1)) : w("", !0),
3208
3213
  e.clearable && e.hasValue && !e.disabled ? (f(), y("div", {
3209
3214
  key: 2,
3210
3215
  class: "vc-select__clear",
@@ -3217,17 +3222,17 @@ const no = { class: "vc-select__control" }, ao = {
3217
3222
  i[7] || (i[7] = X((l) => o.$emit("reset"), ["space"]))
3218
3223
  ]
3219
3224
  }, [
3220
- R(r(U), {
3225
+ M(r(U), {
3221
3226
  size: "xs",
3222
3227
  icon: "lucide-x"
3223
3228
  })
3224
- ], 40, ko)) : w("", !0)
3229
+ ], 40, So)) : w("", !0)
3225
3230
  ]),
3226
3231
  o.$slots["append-inner"] ? (f(), y("div", Io, [
3227
3232
  T(o.$slots, "append-inner")
3228
3233
  ])) : w("", !0),
3229
- e.loading || e.listLoading || e.defaultOptionLoading ? (f(), y("div", So, [
3230
- R(r(U), {
3234
+ e.loading || e.listLoading || e.defaultOptionLoading ? (f(), y("div", $o, [
3235
+ M(r(U), {
3231
3236
  icon: "lucide-loader-2",
3232
3237
  class: "tw-animate-spin",
3233
3238
  size: "m"
@@ -3257,25 +3262,25 @@ const no = { class: "vc-select__control" }, ao = {
3257
3262
  ), ["space"]))
3258
3263
  ]
3259
3264
  }, [
3260
- x("div", wo, [
3261
- R(r(U), {
3265
+ x("div", Oo, [
3266
+ M(r(U), {
3262
3267
  size: "s",
3263
3268
  icon: "lucide-chevron-down"
3264
3269
  })
3265
3270
  ])
3266
- ], 40, $o))
3271
+ ], 40, wo))
3267
3272
  ])
3268
3273
  ])
3269
3274
  ]),
3270
- x("div", Oo, [
3271
- R(Pe, {
3275
+ x("div", Eo, [
3276
+ M(Pe, {
3272
3277
  name: "slide-up",
3273
3278
  mode: "out-in"
3274
3279
  }, {
3275
3280
  default: O(() => [
3276
- e.error && e.errorMessage ? (f(), y("div", Eo, [
3281
+ e.error && e.errorMessage ? (f(), y("div", Lo, [
3277
3282
  T(o.$slots, "error", {}, () => [
3278
- R(r(me), {
3283
+ M(r(me), {
3279
3284
  id: e.errorId,
3280
3285
  class: "vc-select__error-message",
3281
3286
  error: !0
@@ -3286,7 +3291,7 @@ const no = { class: "vc-select__control" }, ao = {
3286
3291
  _: 1
3287
3292
  }, 8, ["id"])
3288
3293
  ])
3289
- ])) : (f(), y("div", Lo, [
3294
+ ])) : (f(), y("div", Bo, [
3290
3295
  T(o.$slots, "hint", {}, () => [
3291
3296
  e.hint ? (f(), P(r(me), {
3292
3297
  key: 0,
@@ -3305,23 +3310,23 @@ const no = { class: "vc-select__control" }, ao = {
3305
3310
  })
3306
3311
  ])
3307
3312
  ], 2),
3308
- o.$slots.append ? (f(), y("div", Bo, [
3313
+ o.$slots.append ? (f(), y("div", Co, [
3309
3314
  T(o.$slots, "append")
3310
3315
  ])) : w("", !0)
3311
3316
  ])
3312
3317
  ])
3313
3318
  ], 512));
3314
3319
  }
3315
- }), xo = ["id", "aria-label"], To = ["aria-label"], Mo = ["aria-selected", "data-index", "onClick", "onKeydown"], Ro = {
3320
+ }), To = ["id", "aria-label"], Ro = ["aria-label"], Mo = ["aria-selected", "data-index", "onClick", "onKeydown"], Ao = {
3316
3321
  key: 0,
3317
3322
  class: "vc-select__check-icon"
3318
- }, Ao = {
3323
+ }, No = {
3319
3324
  key: 0,
3320
3325
  class: "vc-select__list-loading-indicator"
3321
- }, No = { class: "tw-ml-1" }, Do = {
3326
+ }, Do = { class: "tw-ml-1" }, Vo = {
3322
3327
  key: 1,
3323
3328
  class: "vc-select__no-options"
3324
- }, Vo = { class: "vc-select__no-options-text" }, Po = /* @__PURE__ */ z({
3329
+ }, Po = { class: "vc-select__no-options-text" }, Fo = /* @__PURE__ */ z({
3325
3330
  __name: "SelectDropdown",
3326
3331
  props: {
3327
3332
  isOpened: { type: Boolean },
@@ -3337,12 +3342,12 @@ const no = { class: "vc-select__control" }, ao = {
3337
3342
  },
3338
3343
  emits: ["input", "clickOutside"],
3339
3344
  setup(e, { expose: t, emit: n }) {
3340
- const a = e, o = n, { t: i } = we({ useScope: "global" }), { teleportTarget: l } = $n(), s = I(null), u = I(null), v = I(null), m = I(null), g = $(() => v.value?.viewportRef ?? null);
3345
+ const a = e, o = n, { t: i } = we({ useScope: "global" }), { teleportTarget: l } = wn(), s = S(null), u = S(null), v = S(null), m = S(null), g = $(() => v.value?.viewportRef ?? null);
3341
3346
  function d(c) {
3342
3347
  const b = g.value;
3343
3348
  if (!b) return;
3344
3349
  if (b.contains(c.target)) {
3345
- const E = b.scrollTop <= 0 && c.deltaY < 0, p = Math.ceil(b.scrollTop) >= b.scrollHeight - b.clientHeight && c.deltaY > 0;
3350
+ const E = b.scrollTop <= 0 && c.deltaY < 0, p = Ft(b) && c.deltaY > 0;
3346
3351
  (E || p) && c.preventDefault();
3347
3352
  } else
3348
3353
  c.preventDefault(), b.scrollTop += c.deltaY;
@@ -3351,20 +3356,20 @@ const no = { class: "vc-select__control" }, ao = {
3351
3356
  return j(
3352
3357
  () => a.isOpened,
3353
3358
  (c) => {
3354
- c && Se(() => v.value?.updateScrollState());
3359
+ c && Ie(() => v.value?.updateScrollState());
3355
3360
  }
3356
3361
  ), j(
3357
3362
  () => a.optionScope.length,
3358
3363
  () => {
3359
- a.isOpened && Se(() => v.value?.updateScrollState());
3364
+ a.isOpened && Ie(() => v.value?.updateScrollState());
3360
3365
  }
3361
3366
  ), t({
3362
3367
  dropdownElRef: s,
3363
3368
  searchInputRef: u,
3364
3369
  viewportRef: g,
3365
3370
  loadMoreRef: m
3366
- }), (c, b) => (f(), P(cn, { to: r(l) }, [
3367
- R(Pe, { name: "select-dropdown" }, {
3371
+ }), (c, b) => (f(), P(dn, { to: r(l) }, [
3372
+ M(Pe, { name: "select-dropdown" }, {
3368
3373
  default: O(() => [
3369
3374
  e.isOpened ? ct((f(), y("div", {
3370
3375
  key: 0,
@@ -3393,8 +3398,8 @@ const no = { class: "vc-select__control" }, ao = {
3393
3398
  b[2] || (b[2] = X(G(() => {
3394
3399
  }, ["stop"]), ["enter"]))
3395
3400
  ]
3396
- }, null, 40, To)) : w("", !0),
3397
- R(r(ol), {
3401
+ }, null, 40, Ro)) : w("", !0),
3402
+ M(r(il), {
3398
3403
  ref_key: "scrollContainerRef",
3399
3404
  ref: v,
3400
3405
  class: "vc-select__scroll-container"
@@ -3417,24 +3422,24 @@ const no = { class: "vc-select__control" }, ao = {
3417
3422
  T(c.$slots, "option", ee({ ref_for: !0 }, h), () => [
3418
3423
  Z(A(h.label), 1)
3419
3424
  ]),
3420
- h.selected ? (f(), y("span", Ro, [
3421
- R(r(U), {
3425
+ h.selected ? (f(), y("span", Ao, [
3426
+ M(r(U), {
3422
3427
  icon: "lucide-check",
3423
3428
  size: "xs"
3424
3429
  })
3425
3430
  ])) : w("", !0)
3426
3431
  ], 42, Mo))), 128)),
3427
- e.listLoading ? (f(), y("div", Ao, [
3428
- R(r(U), {
3432
+ e.listLoading ? (f(), y("div", No, [
3433
+ M(r(U), {
3429
3434
  icon: "lucide-loader-2",
3430
3435
  class: "tw-animate-spin",
3431
3436
  size: "m"
3432
3437
  }),
3433
- x("span", No, A(e.optionsListLength > 0 ? r(i)("COMPONENTS.MOLECULES.VC_SELECT.LOADING_MORE") : r(i)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)
3438
+ x("span", Do, A(e.optionsListLength > 0 ? r(i)("COMPONENTS.MOLECULES.VC_SELECT.LOADING_MORE") : r(i)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)
3434
3439
  ])) : w("", !0),
3435
- !e.listLoading && !e.optionsListLength ? (f(), y("div", Do, [
3440
+ !e.listLoading && !e.optionsListLength ? (f(), y("div", Vo, [
3436
3441
  T(c.$slots, "no-options", {}, () => [
3437
- x("span", Vo, A(r(i)("COMPONENTS.MOLECULES.VC_SELECT.NO_OPTIONS")), 1)
3442
+ x("span", Po, A(r(i)("COMPONENTS.MOLECULES.VC_SELECT.NO_OPTIONS")), 1)
3438
3443
  ])
3439
3444
  ])) : w("", !0),
3440
3445
  e.hasNextPage && !e.listLoading ? (f(), y("span", {
@@ -3446,15 +3451,15 @@ const no = { class: "vc-select__control" }, ao = {
3446
3451
  ]),
3447
3452
  _: 3
3448
3453
  }, 512)
3449
- ], 44, xo)), [
3450
- [r(Fn), [() => o("clickOutside"), { ignore: [e.dropdownToggleRef] }]]
3454
+ ], 44, To)), [
3455
+ [r(zn), [() => o("clickOutside"), { ignore: [e.dropdownToggleRef] }]]
3451
3456
  ]) : w("", !0)
3452
3457
  ]),
3453
3458
  _: 3
3454
3459
  })
3455
3460
  ], 8, ["to"]));
3456
3461
  }
3457
- }), Fo = ["innerHTML"], zo = { class: "vc-select__field-container" }, qo = /* @__PURE__ */ z({
3462
+ }), zo = ["innerHTML"], qo = { class: "vc-select__field-container" }, Uo = /* @__PURE__ */ z({
3458
3463
  inheritAttrs: !1,
3459
3464
  __name: "vc-select",
3460
3465
  props: {
@@ -3501,10 +3506,10 @@ const no = { class: "vc-select__control" }, ao = {
3501
3506
  resolvedName: b,
3502
3507
  ariaRequired: h,
3503
3508
  ariaDescribedBy: E
3504
- } = He(n), p = $(() => `${u.value}-listbox`), S = I(null), F = I(null), { selectRootRef: K, isSelectVisible: _, ensureVisibility: J } = Ql(), { getOptionValue: re, getOptionLabel: ae, getOption: te, getEmittingOptionValue: ce, fieldValueIsFilled: se } = Zl({
3509
+ } = He(n), p = $(() => `${u.value}-listbox`), I = S(null), F = S(null), { selectRootRef: K, isSelectVisible: _, ensureVisibility: J } = _l(), { getOptionValue: re, getOptionLabel: ae, getOption: te, getEmittingOptionValue: ce, fieldValueIsFilled: se } = Ql({
3505
3510
  optionValue: () => n.optionValue,
3506
3511
  optionLabel: () => n.optionLabel
3507
- }), { isOpened: q, isFocused: C, dropdownToggleRef: B, dropdownRef: D, popper: V, dropdownStyle: k, toggleDropdown: M } = _l({
3512
+ }), { isOpened: q, isFocused: C, dropdownToggleRef: B, dropdownRef: D, popper: V, dropdownStyle: k, toggleDropdown: R } = eo({
3508
3513
  placement: n.placement,
3509
3514
  outline: () => n.outline,
3510
3515
  isSelectVisible: _,
@@ -3513,11 +3518,11 @@ const no = { class: "vc-select__control" }, ao = {
3513
3518
  ensureVisibility: J
3514
3519
  });
3515
3520
  tt(() => {
3516
- B.value = S.value?.toggleRef ?? null;
3521
+ B.value = I.value?.toggleRef ?? null;
3517
3522
  }), tt(() => {
3518
3523
  D.value = F.value?.dropdownElRef ?? null;
3519
3524
  });
3520
- const L = eo({
3525
+ const L = to({
3521
3526
  options: () => n.options,
3522
3527
  getOptionValue: re,
3523
3528
  getOptionLabel: ae,
@@ -3526,7 +3531,7 @@ const no = { class: "vc-select__control" }, ao = {
3526
3531
  emit: {
3527
3532
  search: (N) => i("search", N)
3528
3533
  }
3529
- }), { selectedScope: H, hasValue: xe, optionScope: de, removeAtIndex: Te, onReset: Qt } = to({
3534
+ }), { selectedScope: H, hasValue: xe, optionScope: de, removeAtIndex: Te, onReset: _t } = no({
3530
3535
  modelValue: () => n.modelValue,
3531
3536
  multiple: () => n.multiple,
3532
3537
  emitValue: () => n.emitValue ?? !0,
@@ -3544,40 +3549,43 @@ const no = { class: "vc-select__control" }, ao = {
3544
3549
  updateModelValue: (N) => i("update:modelValue", N),
3545
3550
  close: () => i("close")
3546
3551
  }
3547
- }), _t = $(() => F.value?.loadMoreRef ?? null), en = $(() => F.value?.viewportRef ?? null);
3548
- xn(
3549
- _t,
3552
+ }), en = $(() => F.value?.loadMoreRef ?? null), tn = $(() => F.value?.viewportRef ?? null);
3553
+ Tn(
3554
+ en,
3550
3555
  ([{ isIntersecting: N }]) => {
3551
3556
  N && L.hasMore.value && L.loadMore();
3552
3557
  },
3553
- { threshold: 1, root: en }
3558
+ // The trigger is a 1px line at the end of the list. Asking for all of it to show never fires
3559
+ // under a fractional zoom, where the scrolled-to-end line sits a fraction past the viewport.
3560
+ // Any part showing is enough, and the margin starts the next page just before the end.
3561
+ { threshold: 0, rootMargin: "0px 0px 48px 0px", root: tn }
3554
3562
  );
3555
- const Xe = Xl({
3563
+ const Xe = Zl({
3556
3564
  onEnter: (N) => {
3557
3565
  const Q = parseInt(N.getAttribute("data-index") || "0", 10);
3558
3566
  de.value && de.value[Q] && de.value[Q].toggleOption(de.value[Q].opt);
3559
3567
  },
3560
3568
  onEscape: () => {
3561
- q.value = !1, i("close"), Se(() => {
3562
- S.value?.toggleRef?.querySelector('[role="combobox"]')?.focus();
3569
+ q.value = !1, i("close"), Ie(() => {
3570
+ I.value?.toggleRef?.querySelector('[role="combobox"]')?.focus();
3563
3571
  });
3564
3572
  }
3565
3573
  });
3566
- function tn() {
3574
+ function nn() {
3567
3575
  q.value = !1, i("close");
3568
3576
  }
3569
3577
  return j(q, async (N) => {
3570
- N ? (await L.open(), Se(() => {
3578
+ N ? (await L.open(), Ie(() => {
3571
3579
  V.update();
3572
3580
  const Q = F.value?.dropdownElRef, le = F.value?.searchInputRef;
3573
3581
  if (Q)
3574
3582
  if (Xe.initKeyboardNavigation(Q), n.searchable && le)
3575
3583
  le.focus();
3576
3584
  else {
3577
- const Me = Q.querySelector(
3585
+ const Re = Q.querySelector(
3578
3586
  '.vc-select__option[tabindex="0"], .vc-select__search-input[tabindex="0"]'
3579
3587
  );
3580
- Me ? Me.focus() : Xe.focusFirstElement();
3588
+ Re ? Re.focus() : Xe.focusFirstElement();
3581
3589
  }
3582
3590
  })) : (Xe.cleanupKeyboardNavigation(), L.close());
3583
3591
  }), j(
@@ -3589,10 +3597,10 @@ const no = { class: "vc-select__control" }, ao = {
3589
3597
  }
3590
3598
  const Q = n.emitValue ?? !0;
3591
3599
  if (n.mapOptions ?? !0) {
3592
- const Me = Array.isArray(N) ? N : [N], ht = Q ? Me : Me.filter((Re) => Re != null && typeof Re != "object");
3600
+ const Re = Array.isArray(N) ? N : [N], ht = Q ? Re : Re.filter((Me) => Me != null && typeof Me != "object");
3593
3601
  if (ht.length > 0) {
3594
- const Re = ht.filter((nn) => nn != null).map(String);
3595
- Re.length > 0 && await L.resolve(Re);
3602
+ const Me = ht.filter((an) => an != null).map(String);
3603
+ Me.length > 0 && await L.resolve(Me);
3596
3604
  }
3597
3605
  }
3598
3606
  },
@@ -3606,7 +3614,7 @@ const no = { class: "vc-select__control" }, ao = {
3606
3614
  width: 60 + (e.label?.length || 0) * 4,
3607
3615
  height: 11
3608
3616
  }, null, 8, ["width"])) : w("", !0),
3609
- R(r(ne), {
3617
+ M(r(ne), {
3610
3618
  variant: "block",
3611
3619
  width: "100%",
3612
3620
  height: 36
@@ -3647,15 +3655,15 @@ const no = { class: "vc-select__control" }, ao = {
3647
3655
  fn: O(() => [
3648
3656
  x("span", {
3649
3657
  innerHTML: r(Dt).sanitize(e.tooltip)
3650
- }, null, 8, Fo)
3658
+ }, null, 8, zo)
3651
3659
  ]),
3652
3660
  key: "0"
3653
3661
  } : void 0
3654
3662
  ]), 1032, ["id", "required", "multilanguage", "current-language", "error"])) : w("", !0),
3655
- x("div", zo, [
3656
- R(Co, {
3663
+ x("div", qo, [
3664
+ M(xo, {
3657
3665
  ref_key: "selectTriggerRef",
3658
- ref: S,
3666
+ ref: I,
3659
3667
  "is-opened": r(q),
3660
3668
  "has-value": r(xe),
3661
3669
  "selected-scope": r(H),
@@ -3679,12 +3687,12 @@ const no = { class: "vc-select__control" }, ao = {
3679
3687
  "aria-required": r(h),
3680
3688
  "error-id": r(m),
3681
3689
  "hint-id": r(g),
3682
- "toggle-dropdown": r(M),
3690
+ "toggle-dropdown": r(R),
3683
3691
  "get-option-label": r(ae),
3684
3692
  "get-emitting-option-value": r(ce),
3685
3693
  onFocus: Q[0] || (Q[0] = (le) => C.value = !0),
3686
3694
  onBlur: Q[1] || (Q[1] = (le) => C.value = !1),
3687
- onReset: r(Qt),
3695
+ onReset: r(_t),
3688
3696
  onRemoveAtIndex: r(Te)
3689
3697
  }, oe({ _: 2 }, [
3690
3698
  N.$slots.control ? {
@@ -3744,7 +3752,7 @@ const no = { class: "vc-select__control" }, ao = {
3744
3752
  key: "7"
3745
3753
  } : void 0
3746
3754
  ]), 1032, ["is-opened", "has-value", "selected-scope", "multiple", "loading", "disabled", "clearable", "placeholder", "prefix", "suffix", "size", "error", "error-message", "hint", "list-loading", "default-option-loading", "listbox-id", "label-id", "label", "aria-described-by", "aria-required", "error-id", "hint-id", "toggle-dropdown", "get-option-label", "get-emitting-option-value", "onReset", "onRemoveAtIndex"]),
3747
- R(Po, ee({
3755
+ M(Fo, ee({
3748
3756
  ref_key: "selectDropdownRef",
3749
3757
  ref: F,
3750
3758
  "is-opened": r(q),
@@ -3756,9 +3764,9 @@ const no = { class: "vc-select__control" }, ao = {
3756
3764
  "list-loading": r(L).loading.value || r(L).searchLoading.value,
3757
3765
  "options-list-length": r(L).displayItems.value.length,
3758
3766
  "has-next-page": r(L).hasMore.value,
3759
- "dropdown-toggle-ref": S.value?.toggleRef ?? null,
3767
+ "dropdown-toggle-ref": I.value?.toggleRef ?? null,
3760
3768
  onInput: r(L).onInput,
3761
- onClickOutside: tn
3769
+ onClickOutside: nn
3762
3770
  }), oe({ _: 2 }, [
3763
3771
  N.$slots.option ? {
3764
3772
  name: "option",
@@ -3778,10 +3786,10 @@ const no = { class: "vc-select__control" }, ao = {
3778
3786
  ])
3779
3787
  ], 16));
3780
3788
  }
3781
- }), Uo = {
3789
+ }), Ko = {
3782
3790
  key: 0,
3783
3791
  class: "vc-input-dropdown vc-input-dropdown--skeleton"
3784
- }, Ko = { class: "tw-flex tw-items-center" }, Wo = ["aria-label", "aria-expanded", "onClick", "onKeydown"], jo = /* @__PURE__ */ z({
3792
+ }, Wo = { class: "tw-flex tw-items-center" }, jo = ["aria-label", "aria-expanded", "onClick", "onKeydown"], Ho = /* @__PURE__ */ z({
3785
3793
  __name: "vc-input-dropdown",
3786
3794
  props: {
3787
3795
  modelValue: {},
@@ -3815,19 +3823,19 @@ const no = { class: "vc-select__control" }, ao = {
3815
3823
  emits: ["update:model-value", "update:option", "change", "blur"],
3816
3824
  setup(e) {
3817
3825
  const t = Oe();
3818
- return (n, a) => r(t) ? (f(), y("div", Uo, [
3826
+ return (n, a) => r(t) ? (f(), y("div", Ko, [
3819
3827
  e.label ? (f(), P(r(ne), {
3820
3828
  key: 0,
3821
3829
  variant: "block",
3822
3830
  width: 60 + (e.label?.length || 0) * 4,
3823
3831
  height: 11
3824
3832
  }, null, 8, ["width"])) : w("", !0),
3825
- R(r(ne), {
3833
+ M(r(ne), {
3826
3834
  variant: "block",
3827
3835
  width: "100%",
3828
3836
  height: 36
3829
3837
  })
3830
- ])) : (f(), P(r(qo), {
3838
+ ])) : (f(), P(r(Uo), {
3831
3839
  key: 1,
3832
3840
  class: "vc-input-dropdown",
3833
3841
  options: e.options,
@@ -3848,7 +3856,7 @@ const no = { class: "vc-select__control" }, ao = {
3848
3856
  T(n.$slots, "option", Ae(Ne(o)))
3849
3857
  ]),
3850
3858
  control: O(({ toggleHandler: o, isOpened: i }) => [
3851
- R(r(bt), {
3859
+ M(r(bt), {
3852
3860
  placeholder: e.placeholder,
3853
3861
  hint: e.hint,
3854
3862
  clearable: e.clearable,
@@ -3869,7 +3877,7 @@ const no = { class: "vc-select__control" }, ao = {
3869
3877
  onBlur: a[1] || (a[1] = (l) => n.$emit("blur", l))
3870
3878
  }, oe({
3871
3879
  "append-inner": O(() => [
3872
- x("div", Ko, [
3880
+ x("div", Wo, [
3873
3881
  T(n.$slots, "button", { toggleHandler: o }, () => [
3874
3882
  e.options && e.options.length ? (f(), y("button", {
3875
3883
  key: 0,
@@ -3884,7 +3892,7 @@ const no = { class: "vc-select__control" }, ao = {
3884
3892
  X(G(o, ["stop", "prevent"]), ["enter"]),
3885
3893
  X(G(o, ["stop", "prevent"]), ["space"])
3886
3894
  ]
3887
- }, A(r(e.option)), 41, Wo)) : w("", !0)
3895
+ }, A(r(e.option)), 41, jo)) : w("", !0)
3888
3896
  ]),
3889
3897
  e.options && e.options.length ? (f(), P(r(Ma), {
3890
3898
  key: 0,
@@ -3933,10 +3941,10 @@ const no = { class: "vc-select__control" }, ao = {
3933
3941
  _: 3
3934
3942
  }, 8, ["options", "option-label", "option-value", "searchable", "debounce", "disabled", "label", "required", "model-value", "tooltip", "multilanguage", "current-language"]));
3935
3943
  }
3936
- }), Ho = {
3944
+ }), Go = {
3937
3945
  key: 0,
3938
3946
  class: "vc-input-currency vc-input-currency--skeleton"
3939
- }, Go = ["disabled", "placeholder", "aria-label"], Yo = /* @__PURE__ */ z({
3947
+ }, Yo = ["disabled", "placeholder", "aria-label"], Jo = /* @__PURE__ */ z({
3940
3948
  __name: "vc-input-currency",
3941
3949
  props: {
3942
3950
  modelValue: {},
@@ -3953,7 +3961,7 @@ const no = { class: "vc-select__control" }, ao = {
3953
3961
  options: {},
3954
3962
  optionValue: {},
3955
3963
  optionLabel: {},
3956
- currencyDisplay: { default: Nn.hidden },
3964
+ currencyDisplay: { default: Dn.hidden },
3957
3965
  precision: { default: 2 },
3958
3966
  searchable: { type: Boolean, default: !1 },
3959
3967
  label: {},
@@ -3966,7 +3974,7 @@ const no = { class: "vc-select__control" }, ao = {
3966
3974
  },
3967
3975
  emits: ["update:model-value", "update:option", "change", "blur"],
3968
3976
  setup(e, { emit: t }) {
3969
- const n = e, a = t, o = Oe(), { inputRef: i, setOptions: l, numberValue: s, setValue: u } = Dn(
3977
+ const n = e, a = t, o = Oe(), { inputRef: i, setOptions: l, numberValue: s, setValue: u } = Vn(
3970
3978
  {
3971
3979
  locale: navigator.language,
3972
3980
  currency: n.option || "USD",
@@ -4017,19 +4025,19 @@ const no = { class: "vc-select__control" }, ao = {
4017
4025
  const b = c.clipboardData?.getData("text/plain");
4018
4026
  typeof b < "u" && parseInt(b) < 0 && c.preventDefault();
4019
4027
  }
4020
- return (c, b) => r(o) ? (f(), y("div", Ho, [
4028
+ return (c, b) => r(o) ? (f(), y("div", Go, [
4021
4029
  e.label ? (f(), P(r(ne), {
4022
4030
  key: 0,
4023
4031
  variant: "block",
4024
4032
  width: 60 + (e.label?.length || 0) * 4,
4025
4033
  height: 11
4026
4034
  }, null, 8, ["width"])) : w("", !0),
4027
- R(r(ne), {
4035
+ M(r(ne), {
4028
4036
  variant: "block",
4029
4037
  width: "100%",
4030
4038
  height: 36
4031
4039
  })
4032
- ])) : (f(), P(r(jo), {
4040
+ ])) : (f(), P(r(Ho), {
4033
4041
  key: 1,
4034
4042
  class: "vc-input-currency",
4035
4043
  options: e.options,
@@ -4072,31 +4080,31 @@ const no = { class: "vc-select__control" }, ao = {
4072
4080
  onBlur: m,
4073
4081
  onKeydown: g,
4074
4082
  onPaste: d
4075
- }, null, 40, Go)
4083
+ }, null, 40, Yo)
4076
4084
  ]),
4077
4085
  _: 1
4078
4086
  }, 8, ["options", "option-label", "option-value", "searchable", "debounce", "disabled", "label", "required", "option", "model-value", "tooltip", "placeholder", "hint", "clearable", "prefix", "suffix", "name", "loading", "autofocus", "error", "error-message", "maxlength"]));
4079
4087
  }
4080
- }), Yt = Symbol("VcAppBarState"), Jo = {
4081
- activeWidgetId: I(null),
4082
- activeMobileActionId: I(null)
4088
+ }), Jt = Symbol("VcAppBarState"), Xo = {
4089
+ activeWidgetId: S(null),
4090
+ activeMobileActionId: S(null)
4083
4091
  };
4084
- function hr() {
4092
+ function kr() {
4085
4093
  const e = {
4086
- activeWidgetId: I(null),
4087
- activeMobileActionId: I(null)
4094
+ activeWidgetId: S(null),
4095
+ activeMobileActionId: S(null)
4088
4096
  };
4089
- return Et(Yt, e), e;
4097
+ return Et(Jt, e), e;
4090
4098
  }
4091
- function kr() {
4092
- return Y(Yt, Jo);
4099
+ function Sr() {
4100
+ return Y(Jt, Xo);
4093
4101
  }
4094
- const Ir = Symbol("TableContext"), Xo = Symbol("ColumnCollector"), Sr = Symbol("FillerWidth"), $r = Symbol("IsColumnReordering"), wr = Symbol("MobileCellEdit"), Or = (e, t) => {
4102
+ const Ir = Symbol("TableContext"), Zo = Symbol("ColumnCollector"), $r = Symbol("FillerWidth"), wr = Symbol("IsColumnReordering"), Or = Symbol("MobileCellEdit"), Er = (e, t) => {
4095
4103
  const n = e.__vccOpts || e;
4096
4104
  for (const [a, o] of t)
4097
4105
  n[a] = o;
4098
4106
  return n;
4099
- }, Er = z({
4107
+ }, Lr = z({
4100
4108
  name: "VcColumn",
4101
4109
  inheritAttrs: !1,
4102
4110
  props: {
@@ -4274,7 +4282,7 @@ const Ir = Symbol("TableContext"), Xo = Symbol("ColumnCollector"), Sr = Symbol("
4274
4282
  }
4275
4283
  },
4276
4284
  setup(e, { slots: t }) {
4277
- const n = Y(Xo, null), a = We();
4285
+ const n = Y(Zo, null), a = We();
4278
4286
  return je(() => {
4279
4287
  n && a && n.add({
4280
4288
  instance: a,
@@ -4286,7 +4294,7 @@ const Ir = Symbol("TableContext"), Xo = Symbol("ColumnCollector"), Sr = Symbol("
4286
4294
  }), () => null;
4287
4295
  }
4288
4296
  }), Ee = nt(/* @__PURE__ */ new Map());
4289
- function Jt() {
4297
+ function Xt() {
4290
4298
  return {
4291
4299
  register: (l) => {
4292
4300
  Ee.set(l.type, l);
@@ -4300,7 +4308,7 @@ function Jt() {
4300
4308
  }
4301
4309
  };
4302
4310
  }
4303
- const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__ */ z({
4311
+ const Qo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__ */ z({
4304
4312
  __name: "CellEditableWrapper",
4305
4313
  props: {
4306
4314
  label: {},
@@ -4310,11 +4318,11 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4310
4318
  validateOnMount: { type: Boolean }
4311
4319
  },
4312
4320
  setup(e) {
4313
- const t = e, n = I(null);
4321
+ const t = e, n = S(null);
4314
4322
  return je(() => {
4315
4323
  const a = t.modelValue === void 0 || t.modelValue === null || t.modelValue === "";
4316
4324
  (t.validateOnMount || a && t.rules) && n.value?.validate();
4317
- }), (a, o) => (f(), P(r(wn), {
4325
+ }), (a, o) => (f(), P(r(On), {
4318
4326
  ref_key: "fieldRef",
4319
4327
  ref: n,
4320
4328
  label: e.label,
@@ -4323,7 +4331,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4323
4331
  rules: e.rules
4324
4332
  }, {
4325
4333
  default: O(({ errors: i, errorMessage: l }) => [
4326
- R(Tt, { placement: "bottom" }, oe({
4334
+ M(Tt, { placement: "bottom" }, oe({
4327
4335
  default: O(() => [
4328
4336
  T(a.$slots, "default", {
4329
4337
  errors: i,
@@ -4335,7 +4343,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4335
4343
  l ? {
4336
4344
  name: "tooltip",
4337
4345
  fn: O(() => [
4338
- x("div", Zo, A(l), 1)
4346
+ x("div", Qo, A(l), 1)
4339
4347
  ]),
4340
4348
  key: "0"
4341
4349
  } : void 0
@@ -4344,10 +4352,10 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4344
4352
  _: 3
4345
4353
  }, 8, ["label", "name", "model-value", "rules"]));
4346
4354
  }
4347
- }), Qo = {
4355
+ }), _o = {
4348
4356
  key: 1,
4349
4357
  class: "vc-table-cell-default"
4350
- }, Xt = /* @__PURE__ */ z({
4358
+ }, Zt = /* @__PURE__ */ z({
4351
4359
  __name: "CellDefault",
4352
4360
  props: {
4353
4361
  value: {},
@@ -4373,7 +4381,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4373
4381
  "validate-on-mount": e.validateOnMount
4374
4382
  }, {
4375
4383
  default: O(({ errors: v, errorMessage: m }) => [
4376
- R(bt, {
4384
+ M(bt, {
4377
4385
  "model-value": e.value,
4378
4386
  class: "vc-table-cell-default__input",
4379
4387
  error: v.length > 0,
@@ -4384,7 +4392,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4384
4392
  r(i) && v.length > 0 ? {
4385
4393
  name: "append-inner",
4386
4394
  fn: O(() => [
4387
- R(r(U), {
4395
+ M(r(U), {
4388
4396
  icon: "lucide-circle-alert",
4389
4397
  class: "vc-table-cell-default__error-icon"
4390
4398
  })
@@ -4394,15 +4402,15 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4394
4402
  ]), 1032, ["model-value", "error", "error-message", "onBlur"])
4395
4403
  ]),
4396
4404
  _: 1
4397
- }, 8, ["label", "field-name", "model-value", "rules", "validate-on-mount"])) : (f(), y("span", Qo, A(e.value), 1));
4405
+ }, 8, ["label", "field-name", "model-value", "rules", "validate-on-mount"])) : (f(), y("span", _o, A(e.value), 1));
4398
4406
  }
4399
- }), _o = {
4407
+ }), ei = {
4400
4408
  key: 1,
4401
4409
  class: "vc-table-cell-money"
4402
- }, ei = {
4410
+ }, ti = {
4403
4411
  key: 2,
4404
4412
  class: "vc-table-cell-money vc-table-cell-money--not-set"
4405
- }, ti = /* @__PURE__ */ z({
4413
+ }, ni = /* @__PURE__ */ z({
4406
4414
  __name: "CellMoney",
4407
4415
  props: {
4408
4416
  value: {},
@@ -4435,7 +4443,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4435
4443
  "validate-on-mount": e.validateOnMount
4436
4444
  }, {
4437
4445
  default: O(({ errors: c, errorMessage: b }) => [
4438
- R(Yo, {
4446
+ M(Jo, {
4439
4447
  "model-value": e.value,
4440
4448
  options: [],
4441
4449
  option: e.currency || "USD",
@@ -4449,7 +4457,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4449
4457
  r(s) && c.length > 0 ? {
4450
4458
  name: "append-inner",
4451
4459
  fn: O(() => [
4452
- R(r(U), {
4460
+ M(r(U), {
4453
4461
  icon: "lucide-circle-alert",
4454
4462
  class: "vc-table-cell-money__error-icon"
4455
4463
  })
@@ -4459,15 +4467,15 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4459
4467
  ]), 1032, ["model-value", "option", "error", "error-message", "onBlur"])
4460
4468
  ]),
4461
4469
  _: 1
4462
- }, 8, ["label", "field-name", "model-value", "rules", "validate-on-mount"])) : u.value ? (f(), y("span", ei, A(r(o)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1)) : (f(), y("span", _o, A(v.value), 1));
4470
+ }, 8, ["label", "field-name", "model-value", "rules", "validate-on-mount"])) : u.value ? (f(), y("span", ti, A(r(o)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1)) : (f(), y("span", ei, A(v.value), 1));
4463
4471
  }
4464
- }), ni = {
4472
+ }), ai = {
4465
4473
  key: 1,
4466
4474
  class: "vc-table-cell-number"
4467
- }, ai = {
4475
+ }, li = {
4468
4476
  key: 2,
4469
4477
  class: "vc-table-cell-number vc-table-cell-number--not-set"
4470
- }, li = /* @__PURE__ */ z({
4478
+ }, oi = /* @__PURE__ */ z({
4471
4479
  __name: "CellNumber",
4472
4480
  props: {
4473
4481
  value: {},
@@ -4500,7 +4508,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4500
4508
  "validate-on-mount": e.validateOnMount
4501
4509
  }, {
4502
4510
  default: O(({ errors: d, errorMessage: c }) => [
4503
- R(bt, {
4511
+ M(bt, {
4504
4512
  "model-value": e.value,
4505
4513
  class: "vc-table-cell-number__input",
4506
4514
  type: "number",
@@ -4512,7 +4520,7 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4512
4520
  r(l) && d.length > 0 ? {
4513
4521
  name: "append-inner",
4514
4522
  fn: O(() => [
4515
- R(r(U), {
4523
+ M(r(U), {
4516
4524
  icon: "lucide-circle-alert",
4517
4525
  class: "vc-table-cell-number__error-icon"
4518
4526
  })
@@ -4522,12 +4530,12 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4522
4530
  ]), 1032, ["model-value", "error", "error-message", "onBlur"])
4523
4531
  ]),
4524
4532
  _: 1
4525
- }, 8, ["label", "field-name", "model-value", "rules", "validate-on-mount"])) : s.value ? (f(), y("span", ai, A(r(o)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1)) : (f(), y("span", ni, A(u.value), 1));
4533
+ }, 8, ["label", "field-name", "model-value", "rules", "validate-on-mount"])) : s.value ? (f(), y("span", li, A(r(o)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1)) : (f(), y("span", ai, A(u.value), 1));
4526
4534
  }
4527
- }), oi = {
4535
+ }), ii = {
4528
4536
  key: 0,
4529
4537
  class: "vc-table-cell-date"
4530
- }, ii = {
4538
+ }, ri = {
4531
4539
  key: 1,
4532
4540
  class: "vc-table-cell-date vc-table-cell-date--not-set"
4533
4541
  }, et = /* @__PURE__ */ z({
@@ -4541,36 +4549,36 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4541
4549
  const t = e, { t: n } = we({ useScope: "global" }), a = window.navigator.language, o = $(() => {
4542
4550
  if (!t.value) return "";
4543
4551
  if (t.format)
4544
- return Zn(t.value, t.format, a);
4552
+ return Qn(t.value, t.format, a);
4545
4553
  const i = t.value instanceof Date ? t.value : new Date(t.value), l = t.variant || "date";
4546
4554
  return l === "time" ? i.toLocaleTimeString(a) : l === "date-time" ? i.toLocaleString(a) : i.toLocaleDateString(a);
4547
4555
  });
4548
- return (i, l) => e.value ? (f(), y("span", oi, A(o.value), 1)) : (f(), y("span", ii, A(r(n)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1));
4556
+ return (i, l) => e.value ? (f(), y("span", ii, A(o.value), 1)) : (f(), y("span", ri, A(r(n)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1));
4549
4557
  }
4550
- }), ri = ["title"], si = {
4558
+ }), si = ["title"], ui = {
4551
4559
  key: 1,
4552
4560
  class: "vc-table-cell-date-ago vc-table-cell-date-ago--not-set"
4553
- }, ui = /* @__PURE__ */ z({
4561
+ }, ci = /* @__PURE__ */ z({
4554
4562
  __name: "CellDateAgo",
4555
4563
  props: {
4556
4564
  value: {}
4557
4565
  },
4558
4566
  setup(e) {
4559
- const t = e, { t: n } = we({ 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) : "");
4567
+ const t = e, { t: n } = we({ useScope: "global" }), a = window.navigator.language, o = $(() => t.value ? (t.value instanceof Date ? t.value : new Date(t.value)).toLocaleString(a) : ""), i = $(() => t.value ? Zn(t.value) : "");
4560
4568
  return (l, s) => e.value ? (f(), y("span", {
4561
4569
  key: 0,
4562
4570
  class: "vc-table-cell-date-ago",
4563
4571
  title: o.value
4564
- }, A(i.value), 9, ri)) : (f(), y("span", si, A(r(n)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1));
4572
+ }, A(i.value), 9, si)) : (f(), y("span", ui, A(r(n)("COMPONENTS.ORGANISMS.VC_TABLE.NOT_SET")), 1));
4565
4573
  }
4566
- }), ci = /* @__PURE__ */ z({
4574
+ }), di = /* @__PURE__ */ z({
4567
4575
  __name: "CellImage",
4568
4576
  props: {
4569
4577
  value: {},
4570
4578
  emptyIcon: {}
4571
4579
  },
4572
4580
  setup(e) {
4573
- return (t, n) => (f(), P(r(Ka), {
4581
+ return (t, n) => (f(), P(r(Wa), {
4574
4582
  class: "vc-table-cell-image",
4575
4583
  bordered: !0,
4576
4584
  size: "s",
@@ -4581,46 +4589,46 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4581
4589
  "thumbnail-size": "sm"
4582
4590
  }, null, 8, ["src", "empty-icon"]));
4583
4591
  }
4584
- }), di = /* @__PURE__ */ z({
4592
+ }), fi = /* @__PURE__ */ z({
4585
4593
  __name: "CellStatus",
4586
4594
  props: {
4587
4595
  value: {}
4588
4596
  },
4589
4597
  setup(e) {
4590
- return (t, n) => (f(), P(r(tl), { class: "vc-table-cell-status" }, {
4598
+ return (t, n) => (f(), P(r(nl), { class: "vc-table-cell-status" }, {
4591
4599
  default: O(() => [
4592
4600
  Z(A(e.value), 1)
4593
4601
  ]),
4594
4602
  _: 1
4595
4603
  }));
4596
4604
  }
4597
- }), fi = { class: "vc-table-cell-status-icon" }, vi = /* @__PURE__ */ z({
4605
+ }), vi = { class: "vc-table-cell-status-icon" }, gi = /* @__PURE__ */ z({
4598
4606
  __name: "CellStatusIcon",
4599
4607
  props: {
4600
4608
  value: {}
4601
4609
  },
4602
4610
  setup(e) {
4603
- return (t, n) => (f(), y("div", fi, [
4604
- typeof e.value == "boolean" ? (f(), P(r(al), {
4611
+ return (t, n) => (f(), y("div", vi, [
4612
+ typeof e.value == "boolean" ? (f(), P(r(ll), {
4605
4613
  key: 0,
4606
4614
  status: e.value
4607
4615
  }, null, 8, ["status"])) : w("", !0)
4608
4616
  ]));
4609
4617
  }
4610
- }), gi = /* @__PURE__ */ z({
4618
+ }), mi = /* @__PURE__ */ z({
4611
4619
  __name: "CellLink",
4612
4620
  props: {
4613
4621
  value: {}
4614
4622
  },
4615
4623
  setup(e) {
4616
- return (t, n) => (f(), P(r(Qa), { class: "vc-table-cell-link" }, {
4624
+ return (t, n) => (f(), P(r(_a), { class: "vc-table-cell-link" }, {
4617
4625
  default: O(() => [
4618
4626
  Z(A(e.value), 1)
4619
4627
  ]),
4620
4628
  _: 1
4621
4629
  }));
4622
4630
  }
4623
- }), mi = ["innerHTML"], pi = 500, bi = /* @__PURE__ */ z({
4631
+ }), pi = ["innerHTML"], bi = 500, yi = /* @__PURE__ */ z({
4624
4632
  __name: "CellHtml",
4625
4633
  props: {
4626
4634
  value: {},
@@ -4667,39 +4675,39 @@ const Zo = { class: "vc-table-cell-editable__error-tooltip" }, yt = /* @__PURE__
4667
4675
  FORBID_TAGS: ["script", "object", "embed", "form", "input"],
4668
4676
  FORBID_ATTR: ["onerror", "onload", "onclick", "onmouseover", "onfocus", "onblur", "style"]
4669
4677
  });
4670
- if (n.size >= pi) {
4678
+ if (n.size >= bi) {
4671
4679
  const u = n.keys().next().value;
4672
4680
  u !== void 0 && n.delete(u);
4673
4681
  }
4674
4682
  return n.set(l, s), s;
4675
4683
  }
4676
- const o = $(() => t.value ? a(String(t.value)) : ""), i = $(() => Un(o.value, t.maxLength || 30));
4684
+ const o = $(() => t.value ? a(String(t.value)) : ""), i = $(() => Kn(o.value, t.maxLength || 30));
4677
4685
  return (l, s) => (f(), y("div", {
4678
4686
  class: "vc-table-cell-html",
4679
4687
  innerHTML: i.value
4680
- }, null, 8, mi));
4688
+ }, null, 8, pi));
4681
4689
  }
4682
- }), Zt = [
4683
- { type: "text", component: Xt, config: { editable: !0 } },
4684
- { type: "number", component: li, config: { editable: !0 } },
4685
- { type: "money", component: ti, config: { editable: !0 } },
4690
+ }), Qt = [
4691
+ { type: "text", component: Zt, config: { editable: !0 } },
4692
+ { type: "number", component: oi, config: { editable: !0 } },
4693
+ { type: "money", component: ni, config: { editable: !0 } },
4686
4694
  { type: "date", component: et, config: { editable: !1 } },
4687
4695
  { type: "time", component: et, config: { editable: !1 } },
4688
4696
  { type: "datetime", component: et, config: { editable: !1 } },
4689
- { type: "date-ago", component: ui, config: { editable: !1 } },
4690
- { type: "image", component: ci, config: { editable: !1 } },
4691
- { type: "status", component: di, config: { editable: !1 } },
4692
- { type: "status-icon", component: vi, config: { editable: !1 } },
4693
- { type: "link", component: gi, config: { editable: !1 } },
4694
- { type: "html", component: bi, config: { editable: !1 } }
4695
- ], Lr = Object.freeze(Zt.map((e) => e.type));
4696
- function yi() {
4697
- const { register: e, has: t } = Jt();
4698
- for (const n of Zt)
4697
+ { type: "date-ago", component: ci, config: { editable: !1 } },
4698
+ { type: "image", component: di, config: { editable: !1 } },
4699
+ { type: "status", component: fi, config: { editable: !1 } },
4700
+ { type: "status-icon", component: gi, config: { editable: !1 } },
4701
+ { type: "link", component: mi, config: { editable: !1 } },
4702
+ { type: "html", component: yi, config: { editable: !1 } }
4703
+ ], Br = Object.freeze(Qt.map((e) => e.type));
4704
+ function hi() {
4705
+ const { register: e, has: t } = Xt();
4706
+ for (const n of Qt)
4699
4707
  t(n.type) || e(n);
4700
4708
  }
4701
- yi();
4702
- const Br = /* @__PURE__ */ z({
4709
+ hi();
4710
+ const Cr = /* @__PURE__ */ z({
4703
4711
  __name: "DynamicCellRenderer",
4704
4712
  props: {
4705
4713
  type: {},
@@ -4717,7 +4725,7 @@ const Br = /* @__PURE__ */ z({
4717
4725
  },
4718
4726
  emits: ["update", "blur"],
4719
4727
  setup(e) {
4720
- const { get: t } = Jt(), n = e, a = $(() => t(n.type)?.component || Xt), o = $(() => {
4728
+ const { get: t } = Xt(), n = e, a = $(() => t(n.type)?.component || Zt), o = $(() => {
4721
4729
  const l = t(n.type)?.config?.editable ?? !1, s = {
4722
4730
  value: n.value
4723
4731
  };
@@ -4728,7 +4736,7 @@ const Br = /* @__PURE__ */ z({
4728
4736
  onBlur: l[1] || (l[1] = (s) => i.$emit("blur", s))
4729
4737
  }), null, 16));
4730
4738
  }
4731
- }), Cr = z({
4739
+ }), xr = z({
4732
4740
  name: "SlotProxy",
4733
4741
  props: {
4734
4742
  slotFn: { type: Function, required: !0 },
@@ -4737,129 +4745,130 @@ const Br = /* @__PURE__ */ z({
4737
4745
  setup(e) {
4738
4746
  return () => e.slotFn(e.scope);
4739
4747
  }
4740
- }), xr = (e, t) => {
4748
+ }), Tr = (e, t) => {
4741
4749
  const n = t.arg ? parseInt(t.arg, 10) : 9e3, a = typeof t.value == "object" ? t.value : { blur: !0 };
4742
4750
  t.value ? (e.classList.add("v-loading"), a.size && e.setAttribute("data-loading-size", a.size), a.color && e.style.setProperty("--v-loading-spinner-color", a.color), a.blur === !1 && e.classList.add("v-loading--no-blur"), a.fullscreen && e.classList.add("v-loading--fullscreen"), e.style.setProperty("--v-loading-z-index", `${n}`)) : (e.classList.remove("v-loading", "v-loading--no-blur", "v-loading--fullscreen"), e.removeAttribute("data-loading-size"), e.style.removeProperty("--v-loading-z-index"), e.style.removeProperty("--v-loading-spinner-color"));
4743
4751
  };
4744
4752
  export {
4745
- Kt as $,
4746
- xr as A,
4747
- Lr as B,
4748
- hr as C,
4749
- yi as D,
4750
- kr as E,
4751
- Oe as F,
4752
- Jt as G,
4753
- ia as H,
4754
- He as I,
4755
- sa as J,
4756
- Or as K,
4757
- fr as L,
4758
- or as M,
4759
- aa as N,
4760
- dt as O,
4761
- ue as P,
4762
- $e as Q,
4763
- qe as R,
4764
- er as S,
4765
- Kn as T,
4766
- ot as U,
4753
+ ur as $,
4754
+ Ft as A,
4755
+ Br as B,
4756
+ Tr as C,
4757
+ kr as D,
4758
+ hi as E,
4759
+ Sr as F,
4760
+ Oe as G,
4761
+ Xt as H,
4762
+ ra as I,
4763
+ He as J,
4764
+ ua as K,
4765
+ Er as L,
4766
+ vr as M,
4767
+ ir as N,
4768
+ la as O,
4769
+ dt as P,
4770
+ ue as Q,
4771
+ $e as R,
4772
+ qe as S,
4773
+ tr as T,
4774
+ Wn as U,
4767
4775
  me as V,
4768
- la as W,
4769
- Ye as X,
4770
- ur as Y,
4771
- sr as Z,
4776
+ ot as W,
4777
+ oa as X,
4778
+ Ye as Y,
4779
+ cr as Z,
4772
4780
  et as _,
4773
- Ca as a,
4774
- wr as a$,
4775
- gr as a0,
4776
- Ia as a1,
4777
- vl as a2,
4778
- $a as a3,
4781
+ xa as a,
4782
+ Cr as a$,
4783
+ Wt as a0,
4784
+ mr as a1,
4785
+ Ia as a2,
4786
+ gl as a3,
4779
4787
  wa as a4,
4780
4788
  Oa as a5,
4781
- qi as a6,
4782
- ye as a7,
4783
- Ra as a8,
4784
- ie as a9,
4785
- Qi as aA,
4786
- pr as aB,
4787
- ar as aC,
4788
- cr as aD,
4789
- ir as aE,
4790
- nr as aF,
4791
- rr as aG,
4792
- Xi as aH,
4793
- Gi as aI,
4794
- Jn as aJ,
4795
- Vt as aK,
4796
- Yi as aL,
4797
- La as aM,
4798
- _i as aN,
4799
- br as aO,
4800
- lr as aP,
4801
- Ki as aQ,
4802
- tr as aR,
4803
- Ht as aS,
4804
- yr as aT,
4805
- Xl as aU,
4806
- ra as aV,
4807
- Ir as aW,
4808
- Sr as aX,
4789
+ Ea as a6,
4790
+ Ui as a7,
4791
+ ye as a8,
4792
+ Aa as a9,
4793
+ fr as aA,
4794
+ _i as aB,
4795
+ br as aC,
4796
+ lr as aD,
4797
+ dr as aE,
4798
+ rr as aF,
4799
+ ar as aG,
4800
+ sr as aH,
4801
+ Zi as aI,
4802
+ Yi as aJ,
4803
+ Xn as aK,
4804
+ Vt as aL,
4805
+ Ji as aM,
4806
+ Ba as aN,
4807
+ er as aO,
4808
+ yr as aP,
4809
+ or as aQ,
4810
+ Wi as aR,
4811
+ nr as aS,
4812
+ Gt as aT,
4813
+ hr as aU,
4814
+ Zl as aV,
4815
+ sa as aW,
4816
+ Ir as aX,
4809
4817
  $r as aY,
4810
- Cr as aZ,
4811
- Br as a_,
4812
- Ui as aa,
4813
- zi as ab,
4814
- Fi as ac,
4815
- Pi as ad,
4816
- vr as ae,
4817
- Hi as af,
4818
- mr as ag,
4819
- fa as ah,
4820
- da as ai,
4821
- va as aj,
4822
- _n as ak,
4823
- Yn as al,
4824
- na as am,
4825
- ji as an,
4826
- ca as ao,
4827
- Xn as ap,
4818
+ wr as aZ,
4819
+ xr as a_,
4820
+ ie as aa,
4821
+ Ki as ab,
4822
+ qi as ac,
4823
+ zi as ad,
4824
+ Fi as ae,
4825
+ gr as af,
4826
+ Gi as ag,
4827
+ pr as ah,
4828
+ va as ai,
4829
+ fa as aj,
4830
+ ga as ak,
4831
+ ea as al,
4832
+ Jn as am,
4833
+ aa as an,
4834
+ Hi as ao,
4835
+ da as ap,
4828
4836
  Zn as aq,
4829
- Wi as ar,
4830
- Ji as as,
4831
- Zi as at,
4832
- ta as au,
4833
- Wn as av,
4834
- ea as aw,
4835
- ua as ax,
4836
- It as ay,
4837
- dr as az,
4838
- ui as b,
4839
- Xo as b0,
4840
- oa as b1,
4841
- Xt as c,
4837
+ Qn as ar,
4838
+ ji as as,
4839
+ Xi as at,
4840
+ Qi as au,
4841
+ na as av,
4842
+ jn as aw,
4843
+ ta as ax,
4844
+ ca as ay,
4845
+ St as az,
4846
+ ci as b,
4847
+ Or as b0,
4848
+ Zo as b1,
4849
+ ia as b2,
4850
+ Zt as c,
4842
4851
  yt as d,
4843
- bi as e,
4844
- ci as f,
4845
- gi as g,
4846
- ti as h,
4847
- li as i,
4848
- di as j,
4849
- vi as k,
4852
+ yi as e,
4853
+ di as f,
4854
+ mi as g,
4855
+ ni as h,
4856
+ oi as i,
4857
+ fi as j,
4858
+ gi as k,
4850
4859
  Ma as l,
4851
- Al as m,
4852
- Er as n,
4853
- Sl as o,
4854
- Ka as p,
4860
+ Nl as m,
4861
+ Lr as n,
4862
+ $l as o,
4863
+ Wa as p,
4855
4864
  bt as q,
4856
- Yo as r,
4857
- jo as s,
4865
+ Jo as r,
4866
+ Ho as s,
4858
4867
  Je as t,
4859
- Qa as u,
4860
- ol as v,
4861
- qo as w,
4868
+ _a as u,
4869
+ il as v,
4870
+ Uo as w,
4862
4871
  ne as x,
4863
- tl as y,
4864
- al as z
4872
+ nl as y,
4873
+ ll as z
4865
4874
  };