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

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