@vc-shell/framework 2.4.0-pr293.07f2a8c → 2.4.0-pr294.45ad5fb

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.
@@ -1,8 +1,8 @@
1
- import { mergeProps as ae, computed as C, toValue as fe, inject as U, useId as Wt, ref as S, onBeforeUnmount as Qe, reactive as Ue, provide as mt, getCurrentScope as jt, onScopeDispose as Ht, getCurrentInstance as Fe, onErrorCaptured as Gt, nextTick as ye, defineComponent as G, watch as X, unref as i, openBlock as g, createElementBlock as h, normalizeClass as Z, createBlock as P, createCommentVNode as w, renderSlot as B, createElementVNode as L, toDisplayString as N, Fragment as ke, renderList as _e, normalizeStyle as De, resolveDynamicComponent as yt, withCtx as E, createVNode as T, withKeys as _, withModifiers as Y, watchEffect as He, shallowReactive as Ge, markRaw as Je, createSlots as me, createTextVNode as ee, Transition as Re, withDirectives as et, vModelText as Jt, useAttrs as bt, vModelDynamic as Yt, onMounted as tt, onUnmounted as ht, Teleport as Xt, normalizeProps as Ce, guardReactiveProps as Be } from "vue";
1
+ import { mergeProps as ae, computed as C, toValue as fe, inject as U, useId as Wt, ref as S, onBeforeUnmount as Qe, reactive as Ke, provide as mt, getCurrentScope as jt, onScopeDispose as Ht, getCurrentInstance as Ne, onErrorCaptured as Gt, nextTick as me, defineComponent as G, watch as X, unref as i, openBlock as g, createElementBlock as h, normalizeClass as Z, createBlock as z, createCommentVNode as w, renderSlot as B, createElementVNode as L, toDisplayString as N, Fragment as ke, renderList as _e, normalizeStyle as Ve, resolveDynamicComponent as yt, withCtx as E, createVNode as T, withKeys as _, withModifiers as Y, watchEffect as je, shallowReactive as He, markRaw as Ge, createSlots as pe, createTextVNode as ee, Transition as Re, withDirectives as et, vModelText as Jt, useAttrs as bt, vModelDynamic as Yt, onMounted as tt, onUnmounted as ht, Teleport as Xt, normalizeProps as Ce, guardReactiveProps as Be } from "vue";
2
2
  import { c as ce, ag as Zt, J as Qt, t as _t, q as en, n as tn, I as nn, p as an, o as on, B as It, b as ln, i as rn, _ as W, T as kt, a as sn, R as un, v as cn, u as dn } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-DrGobYkj.js";
3
3
  import { defineRule as Se } from "vee-validate";
4
4
  import { a as ct } from "./vendor-vee-validate-rules-4oWUZPpG.js";
5
- import { a as St, s as fn, c as gn, b as We, e as Le } from "./vendor-lodash-es-D2n90GJy.js";
5
+ import { a as St, s as fn, c as gn, b as Ue, e as Le } from "./vendor-lodash-es-D2n90GJy.js";
6
6
  import { X as vn } from "./vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js";
7
7
  import { d as wt, e as pn, f as mn, g as yn } from "./vendor-vueuse-core-BFa9je5E.js";
8
8
  import { c as bn, u as nt } from "./vendor-vue-i18n-LO-EJStU.js";
@@ -11,18 +11,18 @@ import { k as In } from "./vendor-tiptap-core-CZbeo7XQ.js";
11
11
  import "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
12
12
  import { C as kn, u as Sn } from "./vendor-vue-currency-input-CckB4kjx.js";
13
13
  import { u as wn } from "./vendor-floating-ui-vue-sCrhit51.js";
14
- import { f as $t, s as Ot, o as Ye, b as $n } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
14
+ import { f as $t, s as Ot, o as Je, b as $n } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
15
15
  import { v as On } from "./vendor-vueuse-components-CoR2FSn3.js";
16
16
  import { p as En } from "./vendor-dompurify-DpIUMBYC.js";
17
17
  import { q as Cn } from "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
18
- const be = bn({
18
+ const ye = bn({
19
19
  legacy: !1,
20
20
  globalInjection: !0,
21
21
  locale: "en",
22
22
  fallbackLocale: "en",
23
23
  formatFallbackMessages: !0
24
24
  });
25
- function Xe() {
25
+ function Ye() {
26
26
  return Math.random().toString(36).substring(2, 9);
27
27
  }
28
28
  class ie extends Error {
@@ -39,12 +39,12 @@ class ie extends Error {
39
39
  };
40
40
  }
41
41
  }
42
- class Vl extends ie {
42
+ class Al extends ie {
43
43
  constructor(t, n) {
44
44
  super(t, "VALIDATION_ERROR", n), this.name = "ValidationError";
45
45
  }
46
46
  }
47
- class Dl extends ie {
47
+ class Vl extends ie {
48
48
  constructor(t, n) {
49
49
  super(t, "SERVICE_ERROR", n), this.name = "ServiceError";
50
50
  }
@@ -57,7 +57,7 @@ class Bn extends ie {
57
57
  }), this.name = "InjectionError";
58
58
  }
59
59
  }
60
- class Nl extends ie {
60
+ class Dl extends ie {
61
61
  constructor(t, n, a) {
62
62
  super(`Failed to register '${t}': ${n}`, "REGISTRATION_ERROR", {
63
63
  componentName: t,
@@ -65,7 +65,7 @@ class Nl extends ie {
65
65
  }), this.name = "RegistrationError";
66
66
  }
67
67
  }
68
- class Fl extends ie {
68
+ class Nl extends ie {
69
69
  constructor(t, n, a) {
70
70
  super(t, "BLADE_ERROR", {
71
71
  bladeId: n,
@@ -73,7 +73,7 @@ class Fl extends ie {
73
73
  }), this.name = "BladeError";
74
74
  }
75
75
  }
76
- class zl extends ie {
76
+ class Pl extends ie {
77
77
  constructor(t, n, a) {
78
78
  super(`Failed to load module '${t}': ${n}`, "MODULE_LOAD_ERROR", {
79
79
  moduleId: t,
@@ -84,44 +84,32 @@ class zl extends ie {
84
84
  function Ln(e) {
85
85
  return e instanceof ie;
86
86
  }
87
- function Pl(e, t = "UNKNOWN_ERROR") {
87
+ function Fl(e, t = "UNKNOWN_ERROR") {
88
88
  return Ln(e) ? e : e instanceof Error ? new ie(e.message, t, {
89
89
  originalError: e.name,
90
90
  stack: e.stack
91
91
  }) : new ie(String(e), t);
92
92
  }
93
- class ge extends Error {
93
+ class he extends Error {
94
94
  details;
95
95
  originalError;
96
96
  constructor(t, n, a) {
97
97
  super(t), this.name = "DisplayableError", this.details = n, this.originalError = a;
98
98
  }
99
99
  }
100
- function Rn(e) {
101
- return e instanceof Error && typeof e.status == "number" && typeof e.response == "string";
102
- }
103
- function Ae(e) {
104
- if (e instanceof ge)
100
+ function Xe(e) {
101
+ if (e instanceof he)
105
102
  return e;
106
- if (Rn(e)) {
107
- const { status: t, response: n } = e;
108
- try {
109
- return Ae(JSON.parse(n));
110
- } catch {
111
- const a = `${t}: ${e.message || "Error"}`;
112
- return new ge(a, n || e.message, e);
113
- }
114
- }
115
103
  if (e instanceof Error && "response" in e && e.response)
116
- return Ae(e.response);
104
+ return Xe(e.response);
117
105
  if (e instanceof Error)
118
- return new ge(e.message, e.stack || String(e), e);
106
+ return new he(e.message, e.stack || String(e), e);
119
107
  if (typeof e == "string")
120
108
  try {
121
109
  const t = JSON.parse(e);
122
- return Ae(t);
110
+ return Xe(t);
123
111
  } catch {
124
- return new ge(e, e, e);
112
+ return new he(e, e, e);
125
113
  }
126
114
  if (typeof e == "object" && e !== null) {
127
115
  const t = e;
@@ -129,15 +117,15 @@ function Ae(e) {
129
117
  const l = t.status, r = t.statusText || "Error", o = `${l}: ${r}`, s = t.data;
130
118
  let u = "";
131
119
  return s ? typeof s.exceptionMessage == "string" ? u = s.exceptionMessage : typeof s.message == "string" ? u = s.message : Array.isArray(s.errors) ? u = s.errors.join(`
132
- `) : typeof s == "string" ? u = s : u = JSON.stringify(s, null, 2) : u = JSON.stringify(t, null, 2), new ge(o, u, e);
120
+ `) : typeof s == "string" ? u = s : u = JSON.stringify(s, null, 2) : u = JSON.stringify(t, null, 2), new he(o, u, e);
133
121
  }
134
122
  const n = t.message || "An unexpected error occurred.", a = t.stack || JSON.stringify(t, null, 2);
135
- return new ge(n, a, e);
123
+ return new he(n, a, e);
136
124
  }
137
- return new ge("An unknown error occurred.", String(e), e);
125
+ return new he("An unknown error occurred.", String(e), e);
138
126
  }
139
- const xn = ce("color-utils");
140
- function Tn(e) {
127
+ const Rn = ce("color-utils");
128
+ function xn(e) {
141
129
  if (!e || typeof e != "string")
142
130
  return null;
143
131
  try {
@@ -146,10 +134,10 @@ function Tn(e) {
146
134
  const n = t.getContext("2d");
147
135
  return !n || (n.fillStyle = e.trim(), n.fillStyle === "#000000" && e.trim().toLowerCase() !== "black") ? null : n.fillStyle;
148
136
  } catch (t) {
149
- return xn.warn("Error converting color name to hex:", t), null;
137
+ return Rn.warn("Error converting color name to hex:", t), null;
150
138
  }
151
139
  }
152
- function Mn(e) {
140
+ function Tn(e) {
153
141
  if (!e || typeof e != "string")
154
142
  return !1;
155
143
  const t = e.startsWith("#") ? e : `#${e}`;
@@ -158,7 +146,7 @@ function Mn(e) {
158
146
  function dt(e) {
159
147
  return !e || typeof e != "string" ? "" : e.startsWith("#") ? e : `#${e}`;
160
148
  }
161
- function An(e) {
149
+ function Mn(e) {
162
150
  let t = null;
163
151
  return {
164
152
  register(n) {
@@ -172,7 +160,7 @@ function An(e) {
172
160
  }
173
161
  };
174
162
  }
175
- function ql() {
163
+ function zl() {
176
164
  const e = /* @__PURE__ */ new Map();
177
165
  return {
178
166
  register(t, n) {
@@ -204,7 +192,7 @@ const at = () => {
204
192
  signOut: e.signOut
205
193
  };
206
194
  };
207
- function Vn() {
195
+ function An() {
208
196
  const { user: e } = at();
209
197
  function t(n) {
210
198
  const a = e.value?.permissions ?? [];
@@ -220,20 +208,20 @@ function Vn() {
220
208
  hasAccess: t
221
209
  };
222
210
  }
223
- const pe = ce("notification"), de = An();
224
- function Dn(e) {
211
+ const ve = ce("notification"), de = Mn();
212
+ function Vn(e) {
225
213
  de.register(e);
226
214
  }
227
215
  function xe(e, t) {
228
216
  const n = de.get();
229
217
  if (!n) {
230
- pe.debug("Backend not yet registered — notification call ignored.");
218
+ ve.debug("Backend not yet registered — notification call ignored.");
231
219
  return;
232
220
  }
233
221
  return t = ae(
234
222
  n.defaultOptions,
235
223
  t
236
- ), (!t.notificationId || typeof t.notificationId != "string" && typeof t.notificationId != "number") && (t.notificationId = Xe()), t = {
224
+ ), (!t.notificationId || typeof t.notificationId != "string" && typeof t.notificationId != "number") && (t.notificationId = Ye()), t = {
237
225
  ...t,
238
226
  content: e
239
227
  }, n.appendInstance(t), t.notificationId;
@@ -253,14 +241,14 @@ re.update = (e, t) => {
253
241
  const n = de.get();
254
242
  if (!n) return e;
255
243
  if (!n.hasNotification(e))
256
- return pe.warn(`Cannot update: notification with ID ${e} not found`), e;
244
+ return ve.warn(`Cannot update: notification with ID ${e} not found`), e;
257
245
  const a = n.getNotification(String(e));
258
246
  if (a)
259
247
  if (t.position && t.position !== a.position) {
260
248
  const l = {
261
249
  ...a,
262
250
  ...t,
263
- updateId: Xe(),
251
+ updateId: Ye(),
264
252
  notificationId: e
265
253
  };
266
254
  let r;
@@ -269,7 +257,7 @@ re.update = (e, t) => {
269
257
  } else {
270
258
  const l = {
271
259
  ...t,
272
- updateId: Xe(),
260
+ updateId: Ye(),
273
261
  notificationId: e
274
262
  };
275
263
  return n.actions.update(l), e;
@@ -290,11 +278,11 @@ re.clearPosition = (e) => {
290
278
  re.debug = () => {
291
279
  const e = de.get();
292
280
  if (!e)
293
- return pe.debug("Backend not registered"), { active: [], defaultOptions: {} };
281
+ return ve.debug("Backend not registered"), { active: [], defaultOptions: {} };
294
282
  Object.entries(e.defaultOptions).forEach(([n, a]) => {
295
- pe.debug(`Default option ${n}: `, a);
283
+ ve.debug(`Default option ${n}: `, a);
296
284
  }), Object.entries(e.actions).forEach(([n]) => {
297
- pe.debug(`Available action: ${n}`);
285
+ ve.debug(`Available action: ${n}`);
298
286
  });
299
287
  const t = e.getAllNotifications().reduce((n, a) => {
300
288
  const l = a.position || e.defaultOptions.position;
@@ -305,18 +293,18 @@ re.debug = () => {
305
293
  }), n;
306
294
  }, {});
307
295
  return Object.entries(t).forEach(([n, a]) => {
308
- pe.debug(`Position ${n}: ${a.length} notifications`), a.forEach((l) => pe.debug(` - ${l.id} (${l.type}): ${l.content}`));
296
+ ve.debug(`Position ${n}: ${a.length} notifications`), a.forEach((l) => ve.debug(` - ${l.id} (${l.type}): ${l.content}`));
309
297
  }), {
310
298
  active: e.getAllNotifications(),
311
299
  defaultOptions: e.defaultOptions
312
300
  };
313
301
  };
314
- const Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
302
+ const Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
315
303
  __proto__: null,
316
304
  notification: re,
317
- setNotificationBackend: Dn
305
+ setNotificationBackend: Vn
318
306
  }, Symbol.toStringTag, { value: "Module" }));
319
- function Fn(e, t, n = {}) {
307
+ function Nn(e, t, n = {}) {
320
308
  const a = C(() => fe(n.placement) ?? "bottom"), l = C(() => fe(n.strategy) ?? "absolute"), r = C(() => {
321
309
  const u = fe(n.middleware);
322
310
  if (u?.length)
@@ -324,8 +312,8 @@ function Fn(e, t, n = {}) {
324
312
  const f = [];
325
313
  fe(n.enableFlip) !== !1 && f.push($t({ padding: n.shiftPadding ?? 8 })), fe(n.enableShift) !== !1 && f.push(Ot({ padding: n.shiftPadding ?? 8 }));
326
314
  const m = fe(n.offset);
327
- return typeof m == "number" ? f.push(Ye(m)) : f.push(
328
- Ye({
315
+ return typeof m == "number" ? f.push(Je(m)) : f.push(
316
+ Je({
329
317
  mainAxis: m?.mainAxis ?? 0,
330
318
  crossAxis: m?.crossAxis ?? 0,
331
319
  alignmentAxis: m?.alignmentAxis
@@ -348,9 +336,9 @@ function Fn(e, t, n = {}) {
348
336
  resolvedStrategy: l
349
337
  };
350
338
  }
351
- const zn = Symbol("vc-input-group-context");
352
- function ze(e) {
353
- const t = U(zn, null), n = Wt(), a = C(() => `vc-field-${n}`), l = C(() => `${a.value}-label`), r = C(() => `${a.value}-error`), o = C(() => `${a.value}-hint`), s = C(() => !!e.error || !!e.errorMessage || !!t?.invalid.value), u = C(() => !!e.disabled || !!t?.disabled.value), f = C(() => t?.name.value || e.name), m = C(() => e.required ? !0 : void 0), v = C(() => {
339
+ const Pn = Symbol("vc-input-group-context");
340
+ function Pe(e) {
341
+ const t = U(Pn, null), n = Wt(), a = C(() => `vc-field-${n}`), l = C(() => `${a.value}-label`), r = C(() => `${a.value}-error`), o = C(() => `${a.value}-hint`), s = C(() => !!e.error || !!e.errorMessage || !!t?.invalid.value), u = C(() => !!e.disabled || !!t?.disabled.value), f = C(() => t?.name.value || e.name), m = C(() => e.required ? !0 : void 0), v = C(() => {
354
342
  const d = /* @__PURE__ */ new Set();
355
343
  return t?.describedBy.value && t.describedBy.value.split(/\s+/).forEach((c) => d.add(c)), e.errorMessage && d.add(r.value), e.hint && d.add(o.value), d.size ? Array.from(d).join(" ") : void 0;
356
344
  });
@@ -367,7 +355,7 @@ function ze(e) {
367
355
  groupContext: t
368
356
  };
369
357
  }
370
- function Pn(e, t = {}) {
358
+ function Fn(e, t = {}) {
371
359
  const { speed: n = 2 } = t, a = S(!1), l = S(!1);
372
360
  let r = null;
373
361
  function o() {
@@ -400,13 +388,13 @@ function Pn(e, t = {}) {
400
388
  updateScrollState: o
401
389
  };
402
390
  }
403
- function he() {
391
+ function be() {
404
392
  return U(Qt, S(!1));
405
393
  }
406
394
  Object.keys(ct).forEach((e) => {
407
395
  Se(e, ct[e]);
408
396
  });
409
- const qn = (e, [t, n]) => {
397
+ const zn = (e, [t, n]) => {
410
398
  if (!e?.files || !e.files?.length)
411
399
  return !0;
412
400
  const a = (o, s, u) => {
@@ -418,13 +406,13 @@ const qn = (e, [t, n]) => {
418
406
  }, v.onload = () => {
419
407
  f.revokeObjectURL(d);
420
408
  const c = v.width >= Number(s) && v.height >= Number(u);
421
- m(c ? !0 : be.global.t("messages.min_dimensions.error", { width: s, height: u }));
409
+ m(c ? !0 : ye.global.t("messages.min_dimensions.error", { width: s, height: u }));
422
410
  }, v.src = d;
423
411
  });
424
412
  }, l = [], r = e.files;
425
413
  for (let o = 0; o < r.length; o++) {
426
414
  if (!/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(r[o].name))
427
- return Promise.resolve(be.global.t("messages.min_dimensions.not_image_error"));
415
+ return Promise.resolve(ye.global.t("messages.min_dimensions.not_image_error"));
428
416
  l.push(r[o]);
429
417
  }
430
418
  return Promise.all(l.map((o) => a(o, t, n))).then((o) => {
@@ -432,27 +420,27 @@ const qn = (e, [t, n]) => {
432
420
  return s === !1 || typeof s == "string" ? s : !0;
433
421
  });
434
422
  };
435
- Se("mindimensions", qn);
436
- const Kn = (e, [t]) => {
423
+ Se("mindimensions", zn);
424
+ const qn = (e, [t]) => {
437
425
  if (!e?.files || !e.files?.length)
438
426
  return !0;
439
427
  const n = t * 1e3, a = (s) => s.size > n, l = [];
440
428
  for (let s = 0; s < e.files.length; s++)
441
429
  l.push(e.files[s]);
442
- return l.map((s) => a(s)).find((s) => s === !0) ? be.global.t("messages.file_weight", { size: t }) : !0;
430
+ return l.map((s) => a(s)).find((s) => s === !0) ? ye.global.t("messages.file_weight", { size: t }) : !0;
443
431
  };
444
- Se("fileWeight", Kn);
432
+ Se("fileWeight", qn);
445
433
  const Et = (e, [t], n, a) => {
446
434
  if (!e || typeof e == "string" && !e.length)
447
435
  return !0;
448
436
  let l, r;
449
437
  return e instanceof Date && (l = e), t instanceof Date && (r = t), typeof e == "string" && (l = new Date(e)), typeof t == "string" && (r = new Date(t)), l?.getTime && l?.getTime() > 0 && r?.getTime && r?.getTime() > 0 && n(r.getTime(), l.getTime()) ? a : !0;
450
- }, Un = (e, [t]) => Et(e, [t], (n, a) => n < a, be.global.t("messages.before"));
451
- Se("before", Un);
452
- const Wn = (e, [t]) => Et(e, [t], (n, a) => n > a, be.global.t("messages.after"));
453
- Se("after", Wn);
454
- const jn = (e) => Number.isSafeInteger(parseInt(e)) ? !0 : be.global.t("messages.bigint");
455
- Se("bigint", jn);
438
+ }, Kn = (e, [t]) => Et(e, [t], (n, a) => n < a, ye.global.t("messages.before"));
439
+ Se("before", Kn);
440
+ const Un = (e, [t]) => Et(e, [t], (n, a) => n > a, ye.global.t("messages.after"));
441
+ Se("after", Un);
442
+ const Wn = (e) => Number.isSafeInteger(parseInt(e)) ? !0 : ye.global.t("messages.bigint");
443
+ Se("bigint", Wn);
456
444
  function we(e) {
457
445
  const t = ce(`${e.name}-bus`), n = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Set();
458
446
  function l(d) {
@@ -514,7 +502,7 @@ function we(e) {
514
502
  };
515
503
  }
516
504
  function Ct(e) {
517
- const t = Ue({}), n = Ue([]), a = Ue(/* @__PURE__ */ new Map());
505
+ const t = Ke({}), n = Ke([]), a = Ke(/* @__PURE__ */ new Map());
518
506
  function l(d) {
519
507
  a.set(d, (a.get(d) ?? 0) + 1);
520
508
  }
@@ -579,7 +567,7 @@ function Ct(e) {
579
567
  isRegistered: v
580
568
  };
581
569
  }
582
- function Hn(e) {
570
+ function jn(e) {
583
571
  const t = S(/* @__PURE__ */ new Map()), n = C(() => Array.from(t.value.values()).sort((r, o) => (r.order ?? 0) - (o.order ?? 0)));
584
572
  function a(r) {
585
573
  const o = e.getId(r) || crypto.randomUUID(), s = e.createItem(r, t.value.size);
@@ -596,7 +584,7 @@ function Hn(e) {
596
584
  };
597
585
  }
598
586
  function Bt(e) {
599
- const t = Hn({
587
+ const t = jn({
600
588
  createItem: e.createItem,
601
589
  getId: e.getId
602
590
  }), n = {
@@ -606,42 +594,42 @@ function Bt(e) {
606
594
  };
607
595
  return e.bus.replayInto(n), n;
608
596
  }
609
- function Ne(e) {
597
+ function De(e) {
610
598
  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(St(e, "title"))}`;
611
599
  }
612
600
  const Te = S(/* @__PURE__ */ new Map()), se = we({
613
601
  name: "menu-service",
614
- getKey: Ne,
602
+ getKey: De,
615
603
  registerIntoService: (e, t) => e.addMenuItem(t)
616
604
  });
617
- function Kl(e) {
605
+ function ql(e) {
618
606
  se.preregister(e);
619
607
  }
620
- function Ul(e) {
608
+ function Kl(e) {
621
609
  se.removePreregistered((t) => ot(t, e)), se.broadcast((t) => t.removeMenuItem(e));
622
610
  }
623
- function Wl(e, t) {
611
+ function Ul(e, t) {
624
612
  Te.value.set(e, t), se.broadcast((n) => {
625
613
  n.menuBadges.value.set(e, t);
626
614
  });
627
615
  }
628
- function jl(e) {
616
+ function Wl(e) {
629
617
  const t = se.getFirstInstance();
630
618
  return t ? t.menuBadges.value.get(e) : Te.value.get(e);
631
619
  }
632
- function Hl(e) {
620
+ function jl(e) {
633
621
  Te.value.delete(e), se.broadcast((t) => {
634
622
  t.menuBadges.value.delete(e);
635
623
  });
636
624
  }
637
- function Gl() {
625
+ function Hl() {
638
626
  return se.getFirstInstance()?.menuBadges ?? Te;
639
627
  }
640
- const Ze = 1 / 0, Gn = 1 / 0;
628
+ const Ze = 1 / 0, Hn = 1 / 0;
641
629
  function ot(e, t) {
642
- return Ne(e) === Ne(t);
630
+ return De(e) === De(t);
643
631
  }
644
- function Jn(e) {
632
+ function Gn(e) {
645
633
  return e.groupConfig ? {
646
634
  groupId: e.groupConfig.id,
647
635
  groupTitle: e.groupConfig.title || e.groupConfig.id,
@@ -656,15 +644,15 @@ function Jn(e) {
656
644
  groupPermissions: void 0
657
645
  };
658
646
  }
659
- function Yn(e, t) {
647
+ function Jn(e, t) {
660
648
  return (e.priority ?? Ze) - (t.priority ?? Ze);
661
649
  }
662
- function Xn(e, t) {
663
- const n = (a) => a.inGroupPriority ?? a.priority ?? Gn;
650
+ function Yn(e, t) {
651
+ const n = (a) => a.inGroupPriority ?? a.priority ?? Hn;
664
652
  return n(e) - n(t);
665
653
  }
666
- function Zn(e, t) {
667
- const n = Jn(e), a = {
654
+ function Xn(e, t) {
655
+ const n = Gn(e), a = {
668
656
  ...St(e, ["group", "groupIcon", "groupPriority", "groupConfig"])
669
657
  }, l = t.get(n.groupId);
670
658
  if (l) {
@@ -690,18 +678,18 @@ function Zn(e, t) {
690
678
  function ft(e) {
691
679
  const t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
692
680
  for (const a of e)
693
- a.group || a.groupConfig ? Zn(a, t) : a.title && n.set(Ne(a), { ...a });
694
- return Qn([...t.values(), ...n.values()]);
681
+ a.group || a.groupConfig ? Xn(a, t) : a.title && n.set(De(a), { ...a });
682
+ return Zn([...t.values(), ...n.values()]);
695
683
  }
696
- function Qn(e) {
684
+ function Zn(e) {
697
685
  return e.map(
698
686
  (t) => ({
699
687
  ...t,
700
- children: t.children ? [...t.children].sort(Xn) : void 0
688
+ children: t.children ? [...t.children].sort(Yn) : void 0
701
689
  })
702
- ).sort(Yn);
690
+ ).sort(Jn);
703
691
  }
704
- function _n() {
692
+ function Qn() {
705
693
  const e = S([]);
706
694
  let t = [];
707
695
  const n = S(new Map(Te.value));
@@ -720,7 +708,7 @@ function _n() {
720
708
  };
721
709
  return se.replayInto(r), r;
722
710
  }
723
- function Pe(e) {
711
+ function Fe(e) {
724
712
  const { key: t, create: n, bus: a, name: l, onMissing: r } = e;
725
713
  function o() {
726
714
  const u = U(t, null);
@@ -740,20 +728,20 @@ function Pe(e) {
740
728
  use: s
741
729
  };
742
730
  }
743
- const ea = ce("use-menu-service"), Lt = Pe({
731
+ const _n = ce("use-menu-service"), Lt = Fe({
744
732
  key: _t,
745
- create: _n,
733
+ create: Qn,
746
734
  bus: se,
747
735
  name: "MenuService",
748
- onMissing: () => ea.error("Menu service not found in current context. Injection chain:", Fe())
736
+ onMissing: () => _n.error("Menu service not found in current context. Injection chain:", Ne())
749
737
  });
750
- function Jl() {
738
+ function Gl() {
751
739
  return Lt.provide();
752
740
  }
753
- function Yl() {
741
+ function Jl() {
754
742
  return Lt.use();
755
743
  }
756
- function ta() {
744
+ function ea() {
757
745
  return {
758
746
  isMobile: U(on, S(!1)),
759
747
  isDesktop: U(an, S(!0)),
@@ -762,9 +750,9 @@ function ta() {
762
750
  isTouch: U(en, !1)
763
751
  };
764
752
  }
765
- const na = Symbol("AppInsightsOptions"), aa = Symbol("AppInsightsInstance");
766
- function oa() {
767
- const e = U(aa, null), { user: t } = at(), n = U(na, void 0);
753
+ const ta = Symbol("AppInsightsOptions"), na = Symbol("AppInsightsInstance");
754
+ function aa() {
755
+ const e = U(na, null), { user: t } = at(), n = U(ta, void 0);
768
756
  function a() {
769
757
  const l = n?.appName ? `[${n.appName}] ` : "", r = (u) => `${l}${u.name}`;
770
758
  function o(u) {
@@ -790,9 +778,9 @@ function oa() {
790
778
  appInsights: e
791
779
  };
792
780
  }
793
- const la = ce("use-error-handler");
794
- function ia(e) {
795
- const t = S(null), n = Fe(), { appInsights: a } = oa(), { user: l } = at(), r = S(!1);
781
+ const oa = ce("use-error-handler");
782
+ function la(e) {
783
+ const t = S(null), n = Ne(), { appInsights: a } = aa(), { user: l } = at(), r = S(!1);
796
784
  function o() {
797
785
  t.value = null, n && n.emit("reset");
798
786
  }
@@ -800,14 +788,14 @@ function ia(e) {
800
788
  if (r.value)
801
789
  return !e;
802
790
  r.value = !0;
803
- const u = Ae(s);
791
+ const u = Xe(s);
804
792
  return t.value = u, a && a.trackException({
805
793
  exception: u,
806
794
  properties: {
807
795
  userId: l.value?.id ?? "",
808
796
  userName: l.value?.userName ?? ""
809
797
  }
810
- }), la.error("Captured Error:", u.originalError), n && n.emit("error", u), ye(() => {
798
+ }), oa.error("Captured Error:", u.originalError), n && n.emit("error", u), me(() => {
811
799
  r.value = !1;
812
800
  }), !e;
813
801
  }), {
@@ -815,21 +803,21 @@ function ia(e) {
815
803
  reset: o
816
804
  };
817
805
  }
818
- const Ve = /* @__PURE__ */ new WeakMap();
819
- function Xl(e, t, n) {
820
- Ve.set(e, { timerId: t, notifId: n });
806
+ const Ae = /* @__PURE__ */ new WeakMap();
807
+ function Yl(e, t, n) {
808
+ Ae.set(e, { timerId: t, notifId: n });
821
809
  }
822
- function ra(e) {
810
+ function ia(e) {
823
811
  if (e && typeof e == "object") {
824
- const t = Ve.get(e), n = "originalError" in e && e.originalError && typeof e.originalError == "object" ? e.originalError : void 0, a = t ?? (n ? Ve.get(n) : void 0), l = t ? e : n;
812
+ const t = Ae.get(e), n = "originalError" in e && e.originalError && typeof e.originalError == "object" ? e.originalError : void 0, a = t ?? (n ? Ae.get(n) : void 0), l = t ? e : n;
825
813
  if (a && l)
826
- return clearTimeout(a.timerId), Promise.resolve().then(() => Nn).then(({ notification: r }) => {
814
+ return clearTimeout(a.timerId), Promise.resolve().then(() => Dn).then(({ notification: r }) => {
827
815
  r.remove(a.notifId);
828
- }), Ve.delete(l), !0;
816
+ }), Ae.delete(l), !0;
829
817
  }
830
818
  return !1;
831
819
  }
832
- const Zl = G({
820
+ const Xl = G({
833
821
  name: "ErrorInterceptor",
834
822
  props: {
835
823
  capture: {
@@ -846,11 +834,11 @@ const Zl = G({
846
834
  }
847
835
  },
848
836
  setup(e, { slots: t }) {
849
- const n = U(It, void 0), a = U(ln, void 0), l = !!(n && a), { error: r, reset: o } = ia(l || e.capture);
837
+ const n = U(It, void 0), a = U(ln, void 0), l = !!(n && a), { error: r, reset: o } = la(l || e.capture);
850
838
  return l && X(r, (s) => {
851
839
  const u = n.value.id;
852
840
  if (s) {
853
- if (ra(s), rn())
841
+ if (ia(s), rn())
854
842
  return;
855
843
  a.setBladeError(u, s);
856
844
  } else
@@ -860,10 +848,10 @@ const Zl = G({
860
848
  reset: o
861
849
  });
862
850
  }
863
- }), sa = Symbol("vc-button-group"), ua = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], ca = {
851
+ }), ra = Symbol("vc-button-group"), sa = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], ua = {
864
852
  key: 2,
865
853
  class: "vc-button__title"
866
- }, da = /* @__PURE__ */ G({
854
+ }, ca = /* @__PURE__ */ G({
867
855
  __name: "vc-button",
868
856
  props: {
869
857
  icon: {},
@@ -883,7 +871,7 @@ const Zl = G({
883
871
  const n = {
884
872
  base: "default",
885
873
  xs: "sm"
886
- }, a = e, l = he(), r = t, o = U(sa, null), s = C(() => {
874
+ }, a = e, l = be(), r = t, o = U(ra, null), s = C(() => {
887
875
  const m = o?.size?.value ?? a.size;
888
876
  return n[m] ?? m;
889
877
  }), u = C(() => [
@@ -910,28 +898,28 @@ const Zl = G({
910
898
  "aria-pressed": e.selected || void 0,
911
899
  onClick: f
912
900
  }, [
913
- e.loading ? (g(), P(i(W), {
901
+ e.loading ? (g(), z(i(W), {
914
902
  key: 0,
915
903
  icon: "lucide-loader-2",
916
904
  class: "vc-button__icon tw-animate-spin",
917
905
  size: e.iconSize
918
- }, null, 8, ["size"])) : e.icon ? (g(), P(i(W), {
906
+ }, null, 8, ["size"])) : e.icon ? (g(), z(i(W), {
919
907
  key: 1,
920
908
  class: Z(["vc-button--icon", e.iconClass]),
921
909
  icon: e.icon,
922
910
  size: e.iconSize
923
911
  }, null, 8, ["class", "icon", "size"])) : w("", !0),
924
- m.$slots.default ? (g(), h("span", ca, [
912
+ m.$slots.default ? (g(), h("span", ua, [
925
913
  B(m.$slots, "default")
926
914
  ])) : w("", !0)
927
- ], 10, ua));
915
+ ], 10, sa));
928
916
  }
929
917
  }), lt = we({
930
918
  name: "toolbar-service",
931
919
  getKey: (e) => `${e.bladeId.toLowerCase()}::${e.toolbarItem.id}`,
932
920
  registerIntoService: (e, t) => e.registerToolbarItem(t.toolbarItem, t.bladeId)
933
921
  });
934
- function Ql(e, t) {
922
+ function Zl(e, t) {
935
923
  const n = t.toLowerCase();
936
924
  lt.preregister({
937
925
  bladeId: n,
@@ -971,24 +959,24 @@ function Rt() {
971
959
  };
972
960
  return lt.replayInto(o), o;
973
961
  }
974
- const fa = "fallback-blade-id";
975
- let je = null;
976
- const ga = Pe({
962
+ const da = "fallback-blade-id";
963
+ let We = null;
964
+ const fa = Fe({
977
965
  key: kt,
978
966
  create: Rt,
979
967
  bus: lt,
980
968
  name: "ToolbarService"
981
969
  });
982
- function _l() {
983
- return ga.provide();
970
+ function Ql() {
971
+ return fa.provide();
984
972
  }
985
- function ei(e = {}) {
973
+ function _l(e = {}) {
986
974
  const { autoCleanup: t = !0 } = e, n = U(kt, null);
987
- !n && !je && (je = Rt());
988
- const a = n || je;
975
+ !n && !We && (We = Rt());
976
+ const a = n || We;
989
977
  if (!a)
990
978
  throw new Error("Toolbar service is not available");
991
- const l = U(It, void 0), r = C(() => l?.value?.id ?? fa), o = (c) => c ?? r.value, s = (c, y) => {
979
+ const l = U(It, void 0), r = C(() => l?.value?.id ?? da), o = (c) => c ?? r.value, s = (c, y) => {
992
980
  a.registerToolbarItem(c, o(y));
993
981
  }, u = (c, y) => {
994
982
  a.unregisterToolbarItem(c, o(y));
@@ -997,7 +985,7 @@ function ei(e = {}) {
997
985
  }, m = (c) => a.getToolbarItems(o(c)), v = (c) => {
998
986
  a.clearBladeToolbarItems(o(c));
999
987
  };
1000
- return Fe() && t && Qe(() => {
988
+ return Ne() && t && Qe(() => {
1001
989
  v();
1002
990
  }), {
1003
991
  registerToolbarItem: s,
@@ -1009,7 +997,7 @@ function ei(e = {}) {
1009
997
  registeredToolbarItems: a.registeredToolbarItems
1010
998
  };
1011
999
  }
1012
- const va = ["aria-label"], pa = { class: "tw-sr-only" }, ma = ["aria-label"], ya = { class: "tw-sr-only" }, oe = /* @__PURE__ */ G({
1000
+ const ga = ["aria-label"], va = { class: "tw-sr-only" }, pa = ["aria-label"], ma = { class: "tw-sr-only" }, oe = /* @__PURE__ */ G({
1013
1001
  __name: "vc-skeleton",
1014
1002
  props: {
1015
1003
  variant: { default: "text" },
@@ -1037,19 +1025,19 @@ const va = ["aria-label"], pa = { class: "tw-sr-only" }, ma = ["aria-label"], ya
1037
1025
  "aria-busy": "true",
1038
1026
  "aria-label": e.ariaLabel
1039
1027
  }, [
1040
- L("span", pa, N(e.ariaLabel), 1),
1028
+ L("span", va, N(e.ariaLabel), 1),
1041
1029
  (g(!0), h(ke, null, _e(e.rows, (o) => (g(), h("div", {
1042
1030
  key: o,
1043
1031
  class: "vc-skeleton__row",
1044
- style: De({
1032
+ style: Ve({
1045
1033
  width: n(o)
1046
1034
  }),
1047
1035
  "aria-hidden": "true"
1048
1036
  }, null, 4))), 128))
1049
- ], 10, va)) : (g(), h("div", {
1037
+ ], 10, ga)) : (g(), h("div", {
1050
1038
  key: 1,
1051
1039
  class: Z(["vc-skeleton__shape", [`vc-skeleton__shape--${e.variant}`, { "tw-animate-pulse": e.animated }]]),
1052
- style: De({
1040
+ style: Ve({
1053
1041
  width: a(e.width),
1054
1042
  height: a(e.height)
1055
1043
  }),
@@ -1057,10 +1045,10 @@ const va = ["aria-label"], pa = { class: "tw-sr-only" }, ma = ["aria-label"], ya
1057
1045
  "aria-busy": "true",
1058
1046
  "aria-label": e.ariaLabel
1059
1047
  }, [
1060
- L("span", ya, N(e.ariaLabel), 1)
1061
- ], 14, ma));
1048
+ L("span", ma, N(e.ariaLabel), 1)
1049
+ ], 14, pa));
1062
1050
  }
1063
- }), ti = /* @__PURE__ */ G({
1051
+ }), ei = /* @__PURE__ */ G({
1064
1052
  __name: "vc-container",
1065
1053
  props: {
1066
1054
  shadow: { type: Boolean },
@@ -1080,7 +1068,7 @@ const va = ["aria-label"], pa = { class: "tw-sr-only" }, ma = ["aria-label"], ya
1080
1068
  }), t({
1081
1069
  scrollTop: o,
1082
1070
  component: l
1083
- }), (u, f) => (g(), P(yt(e.ariaLabel ? "section" : "div"), {
1071
+ }), (u, f) => (g(), z(yt(e.ariaLabel ? "section" : "div"), {
1084
1072
  class: Z([
1085
1073
  "vc-container",
1086
1074
  {
@@ -1104,7 +1092,7 @@ const va = ["aria-label"], pa = { class: "tw-sr-only" }, ma = ["aria-label"], ya
1104
1092
  _: 3
1105
1093
  }, 8, ["class", "aria-label"]));
1106
1094
  }
1107
- }), ba = ["id", "role"], ha = /* @__PURE__ */ G({
1095
+ }), ya = ["id", "role"], ba = /* @__PURE__ */ G({
1108
1096
  __name: "vc-hint",
1109
1097
  props: {
1110
1098
  id: {},
@@ -1119,19 +1107,19 @@ const va = ["aria-label"], pa = { class: "tw-sr-only" }, ma = ["aria-label"], ya
1119
1107
  role: e.error ? "alert" : void 0
1120
1108
  }, [
1121
1109
  B(t.$slots, "default")
1122
- ], 10, ba));
1110
+ ], 10, ya));
1123
1111
  }
1124
- }), ue = ha, Ia = { class: "vc-label__text" }, ka = { class: "vc-label__content" }, Sa = {
1112
+ }), ue = ba, ha = { class: "vc-label__text" }, Ia = { class: "vc-label__content" }, ka = {
1125
1113
  key: 0,
1126
1114
  class: "vc-label__required",
1127
1115
  "aria-hidden": "true"
1128
- }, wa = {
1116
+ }, Sa = {
1129
1117
  key: 0,
1130
1118
  class: "vc-label__tooltip"
1131
- }, $a = {
1119
+ }, wa = {
1132
1120
  key: 1,
1133
1121
  class: "vc-label__language"
1134
- }, qe = /* @__PURE__ */ G({
1122
+ }, ze = /* @__PURE__ */ G({
1135
1123
  __name: "vc-label",
1136
1124
  props: {
1137
1125
  required: { type: Boolean },
@@ -1142,20 +1130,20 @@ const va = ["aria-label"], pa = { class: "tw-sr-only" }, ma = ["aria-label"], ya
1142
1130
  htmlFor: {}
1143
1131
  },
1144
1132
  setup(e) {
1145
- return (t, n) => (g(), P(yt(e.htmlFor ? "label" : "div"), {
1133
+ return (t, n) => (g(), z(yt(e.htmlFor ? "label" : "div"), {
1146
1134
  class: Z(["vc-label", {
1147
1135
  "vc-label--error": e.error
1148
1136
  }]),
1149
1137
  for: e.htmlFor || void 0
1150
1138
  }, {
1151
1139
  default: E(() => [
1152
- L("div", Ia, [
1153
- L("span", ka, [
1140
+ L("div", ha, [
1141
+ L("span", Ia, [
1154
1142
  B(t.$slots, "default")
1155
1143
  ]),
1156
- e.required ? (g(), h("span", Sa, "*")) : w("", !0)
1144
+ e.required ? (g(), h("span", ka, "*")) : w("", !0)
1157
1145
  ]),
1158
- t.$slots.tooltip ? (g(), h("span", wa, [
1146
+ t.$slots.tooltip ? (g(), h("span", Sa, [
1159
1147
  T(i(sn), { placement: "top-start" }, {
1160
1148
  tooltip: E(() => [
1161
1149
  B(t.$slots, "tooltip")
@@ -1170,12 +1158,12 @@ const va = ["aria-label"], pa = { class: "tw-sr-only" }, ma = ["aria-label"], ya
1170
1158
  _: 3
1171
1159
  })
1172
1160
  ])) : w("", !0),
1173
- e.multilanguage ? (g(), h("div", $a, N(e.currentLanguage), 1)) : w("", !0)
1161
+ e.multilanguage ? (g(), h("div", wa, N(e.currentLanguage), 1)) : w("", !0)
1174
1162
  ]),
1175
1163
  _: 3
1176
1164
  }, 8, ["class", "for"]));
1177
1165
  }
1178
- }), Oa = ["aria-label"], gt = 40, Ea = /* @__PURE__ */ G({
1166
+ }), $a = ["aria-label"], gt = 40, Oa = /* @__PURE__ */ G({
1179
1167
  __name: "vc-scrollable-container",
1180
1168
  props: {
1181
1169
  speed: { default: void 0 }
@@ -1183,7 +1171,7 @@ const va = ["aria-label"], pa = { class: "tw-sr-only" }, ma = ["aria-label"], ya
1183
1171
  setup(e, { expose: t }) {
1184
1172
  const n = e, a = S(null), l = {};
1185
1173
  n.speed !== void 0 && (l.speed = n.speed);
1186
- const { canScrollUp: r, canScrollDown: o, startScroll: s, stopScroll: u, updateScrollState: f } = Pn(
1174
+ const { canScrollUp: r, canScrollDown: o, startScroll: s, stopScroll: u, updateScrollState: f } = Fn(
1187
1175
  a,
1188
1176
  l
1189
1177
  );
@@ -1242,29 +1230,29 @@ const va = ["aria-label"], pa = { class: "tw-sr-only" }, ma = ["aria-label"], ya
1242
1230
  })
1243
1231
  ])
1244
1232
  ], 34)
1245
- ], 8, Oa));
1233
+ ], 8, $a));
1246
1234
  }
1247
1235
  }), it = /* @__PURE__ */ new Map();
1248
- function Ca(e) {
1236
+ function Ea(e) {
1249
1237
  return e?.map((t) => t.toLowerCase());
1250
1238
  }
1251
- function ni(e) {
1239
+ function ti(e) {
1252
1240
  it.set(e.id, {
1253
1241
  ...e,
1254
- targetBlades: Ca(e.targetBlades)
1242
+ targetBlades: Ea(e.targetBlades)
1255
1243
  });
1256
1244
  }
1257
- function Ba(e) {
1245
+ function Ca(e) {
1258
1246
  const t = e.toLowerCase();
1259
1247
  return Array.from(it.values()).filter((n) => !n.targetBlades || n.targetBlades.includes(t)).map((n) => ({ ...n, targetBlades: n.targetBlades ? [...n.targetBlades] : void 0 }));
1260
1248
  }
1261
- function La() {
1249
+ function Ba() {
1262
1250
  return Array.from(it.values()).map((e) => ({
1263
1251
  ...e,
1264
1252
  targetBlades: e.targetBlades ? [...e.targetBlades] : void 0
1265
1253
  }));
1266
1254
  }
1267
- function Ra(e) {
1255
+ function La(e) {
1268
1256
  return gn(e);
1269
1257
  }
1270
1258
  const xt = we({
@@ -1272,14 +1260,14 @@ const xt = we({
1272
1260
  getKey: (e) => `${e.bladeId.toLowerCase()}::${e.widget.id}`,
1273
1261
  registerIntoService: (e, t) => e.registerWidget(t.widget, t.bladeId)
1274
1262
  });
1275
- function ai(e, t) {
1263
+ function ni(e, t) {
1276
1264
  const n = t.toLowerCase();
1277
1265
  xt.preregister({
1278
1266
  bladeId: n,
1279
1267
  widget: e
1280
1268
  });
1281
1269
  }
1282
- function oi() {
1270
+ function ai() {
1283
1271
  const e = Ct({
1284
1272
  createRegistration: (a, l) => ({ bladeId: a, widget: l }),
1285
1273
  getRegistrationBladeId: (a) => a.bladeId,
@@ -1289,29 +1277,29 @@ function oi() {
1289
1277
  unregisterWidget: (a, l) => e.unregister(a, l),
1290
1278
  getWidgets: (a) => e.get(a),
1291
1279
  updateWidget: ({ id: a, bladeId: l, widget: r }) => e.update(a, l, r),
1292
- getExternalWidgetsForBlade: (a) => Ba(a.toLowerCase()),
1293
- getAllExternalWidgets: La,
1294
- cloneWidget: Ra
1280
+ getExternalWidgetsForBlade: (a) => Ca(a.toLowerCase()),
1281
+ getAllExternalWidgets: Ba,
1282
+ cloneWidget: La
1295
1283
  };
1296
1284
  return xt.replayInto(n), n;
1297
1285
  }
1298
- const xa = ce("use-theme"), ve = S([
1286
+ const Ra = ce("use-theme"), ge = S([
1299
1287
  { key: "light", localizationKey: "CORE.THEMES.LIGHT" },
1300
1288
  { key: "dark", localizationKey: "CORE.THEMES.DARK" }
1301
- ]), li = hn(() => {
1302
- const { t: e } = be.global;
1289
+ ]), oi = hn(() => {
1290
+ const { t: e } = ye.global;
1303
1291
  function t(f) {
1304
1292
  (Array.isArray(f) ? f : [f]).forEach((m) => {
1305
- ve.value.some((v) => v.key === m.key) || ve.value.push(m);
1293
+ ge.value.some((v) => v.key === m.key) || ge.value.push(m);
1306
1294
  });
1307
1295
  }
1308
1296
  function n(f) {
1309
1297
  (Array.isArray(f) ? f : [f]).forEach((m) => {
1310
- const v = ve.value.findIndex((d) => d.key === m);
1311
- v >= 0 && ve.value.splice(v, 1);
1298
+ const v = ge.value.findIndex((d) => d.key === m);
1299
+ v >= 0 && ge.value.splice(v, 1);
1312
1300
  });
1313
1301
  }
1314
- const a = C(() => ve.value.map((f) => f.key)), l = pn({
1302
+ const a = C(() => ge.value.map((f) => f.key)), l = pn({
1315
1303
  attribute: "data-theme",
1316
1304
  emitAuto: !0,
1317
1305
  initialValue: "light",
@@ -1324,21 +1312,21 @@ const xa = ce("use-theme"), ve = S([
1324
1312
  )
1325
1313
  }
1326
1314
  }), { state: r, next: o } = mn(a, { initialValue: l });
1327
- He(() => {
1315
+ je(() => {
1328
1316
  r.value && (l.value = r.value);
1329
1317
  });
1330
1318
  function s(f) {
1331
- a.value.includes(f) ? r.value = f : xa.warn(`Attempted to set an unregistered theme: ${f}`);
1319
+ a.value.includes(f) ? r.value = f : Ra.warn(`Attempted to set an unregistered theme: ${f}`);
1332
1320
  }
1333
1321
  const u = C(() => {
1334
- const f = ve.value.find((m) => m.key === r.value);
1335
- return f ? f.localizationKey ? e(f.localizationKey) : We(f.key) : r.value ? We(r.value) : "";
1322
+ const f = ge.value.find((m) => m.key === r.value);
1323
+ return f ? f.localizationKey ? e(f.localizationKey) : Ue(f.key) : r.value ? Ue(r.value) : "";
1336
1324
  });
1337
1325
  return {
1338
1326
  themes: C(
1339
- () => ve.value.map((f) => ({
1327
+ () => ge.value.map((f) => ({
1340
1328
  key: f.key,
1341
- name: f.localizationKey ? e(f.localizationKey) : We(f.key)
1329
+ name: f.localizationKey ? e(f.localizationKey) : Ue(f.key)
1342
1330
  }))
1343
1331
  ),
1344
1332
  currentThemeKey: r,
@@ -1353,15 +1341,15 @@ const xa = ce("use-theme"), ve = S([
1353
1341
  getKey: (e) => e.id,
1354
1342
  registerIntoService: (e, t) => e.registerWidget(t)
1355
1343
  });
1356
- function ii(e) {
1344
+ function li(e) {
1357
1345
  rt.preregister(e);
1358
1346
  }
1359
- const Ta = () => ({
1360
- widgets: Ge(/* @__PURE__ */ new Map()),
1361
- layout: Ge(/* @__PURE__ */ new Map())
1347
+ const xa = () => ({
1348
+ widgets: He(/* @__PURE__ */ new Map()),
1349
+ layout: He(/* @__PURE__ */ new Map())
1362
1350
  });
1363
- function Ma(e = {}) {
1364
- const t = Ta(), n = e.hasAccess ?? (() => !0), s = {
1351
+ function Ta(e = {}) {
1352
+ const t = xa(), n = e.hasAccess ?? (() => !0), s = {
1365
1353
  registerWidget: (u) => {
1366
1354
  if (t.widgets.has(u.id))
1367
1355
  throw new Error(`Widget with id ${u.id} already registered`);
@@ -1387,28 +1375,28 @@ function Ma(e = {}) {
1387
1375
  };
1388
1376
  return rt.replayInto(s), s;
1389
1377
  }
1390
- const vt = ce("use-dashboard"), Tt = Pe({
1378
+ const vt = ce("use-dashboard"), Tt = Fe({
1391
1379
  key: un,
1392
1380
  bus: rt,
1393
1381
  name: "DashboardService",
1394
1382
  create: () => {
1395
1383
  let e = () => !0;
1396
1384
  try {
1397
- const { hasAccess: t } = Vn();
1385
+ const { hasAccess: t } = An();
1398
1386
  e = (n) => t(n);
1399
1387
  } catch (t) {
1400
1388
  vt.warn("Permissions composable unavailable, dashboard falls back to allow-all access check", t);
1401
1389
  }
1402
- return Ma({
1390
+ return Ta({
1403
1391
  hasAccess: e
1404
1392
  });
1405
1393
  },
1406
1394
  onMissing: () => vt.error("Dashboard service not found")
1407
1395
  });
1408
- function ri() {
1396
+ function ii() {
1409
1397
  return Tt.provide();
1410
1398
  }
1411
- function si() {
1399
+ function ri() {
1412
1400
  return Tt.use();
1413
1401
  }
1414
1402
  const Mt = we({
@@ -1417,18 +1405,18 @@ const Mt = we({
1417
1405
  registerIntoService: (e, t) => e.register(t),
1418
1406
  unregisterFromService: (e, t) => e.unregister(t)
1419
1407
  });
1420
- function ui(e) {
1408
+ function si(e) {
1421
1409
  Mt.preregister(e);
1422
1410
  }
1423
- function ci() {
1411
+ function ui() {
1424
1412
  return Bt({
1425
1413
  bus: Mt,
1426
1414
  createItem: (e, t) => ({
1427
1415
  id: e.id || "",
1428
1416
  order: e.order ?? t,
1429
1417
  title: e.title,
1430
- icon: typeof e.icon == "object" ? Je(e.icon) : e.icon,
1431
- component: e.component ? Je(e.component) : void 0,
1418
+ icon: typeof e.icon == "object" ? Ge(e.icon) : e.icon,
1419
+ component: e.component ? Ge(e.component) : void 0,
1432
1420
  props: e.props,
1433
1421
  onClick: e.onClick,
1434
1422
  slot: e.slot,
@@ -1444,42 +1432,42 @@ const st = we({
1444
1432
  registerIntoService: (e, t) => e.register(t),
1445
1433
  unregisterFromService: (e, t) => e.unregister(t)
1446
1434
  });
1447
- function di(e) {
1435
+ function ci(e) {
1448
1436
  st.preregister(e);
1449
1437
  }
1450
- function Aa() {
1438
+ function Ma() {
1451
1439
  return Bt({
1452
1440
  bus: st,
1453
1441
  createItem: (e, t) => ({
1454
1442
  id: e.id || "",
1455
1443
  order: e.order ?? t,
1456
1444
  group: e.group,
1457
- component: Je(e.component),
1445
+ component: Ge(e.component),
1458
1446
  props: e.props
1459
1447
  }),
1460
1448
  getId: (e) => e.id || ""
1461
1449
  });
1462
1450
  }
1463
- const Va = ce("use-settings-menu"), At = Pe({
1451
+ const Aa = ce("use-settings-menu"), At = Fe({
1464
1452
  key: cn,
1465
- create: Aa,
1453
+ create: Ma,
1466
1454
  bus: st,
1467
1455
  name: "SettingsMenuService",
1468
- onMissing: () => Va.error("Settings menu service not found")
1456
+ onMissing: () => Aa.error("Settings menu service not found")
1469
1457
  });
1470
- function fi() {
1458
+ function di() {
1471
1459
  return At.provide();
1472
1460
  }
1473
- function gi() {
1461
+ function fi() {
1474
1462
  return At.use();
1475
1463
  }
1476
- const Da = {
1464
+ const Va = {
1477
1465
  key: 0,
1478
1466
  class: "vc-date-picker vc-date-picker--skeleton"
1479
- }, Na = { class: "vc-date-picker__field-container" }, Fa = { class: "vc-date-picker__field" }, za = ["aria-label"], Pa = {
1467
+ }, Da = { class: "vc-date-picker__field-container" }, Na = { class: "vc-date-picker__field" }, Pa = ["aria-label"], Fa = {
1480
1468
  key: 0,
1481
1469
  class: "vc-date-picker__loading"
1482
- }, qa = { key: 0 }, Ka = { key: 1 }, Ua = /* @__PURE__ */ G({
1470
+ }, za = { key: 0 }, qa = { key: 1 }, Ka = /* @__PURE__ */ G({
1483
1471
  __name: "vc-date-picker",
1484
1472
  props: {
1485
1473
  modelValue: {},
@@ -1503,7 +1491,7 @@ const Da = {
1503
1491
  },
1504
1492
  emits: ["update:modelValue", "blur", "focus"],
1505
1493
  setup(e, { emit: t }) {
1506
- const n = e, a = t, l = he(), { isMobile: r, isDesktop: o } = ta(), { labelId: s, errorId: u, hintId: f, invalid: m, resolvedDisabled: v, ariaRequired: d, ariaDescribedBy: c } = ze(n), y = S(!1), b = window.navigator.language, O = S(n.modelValue), p = S(null), k = C(() => n.type === "date" && "9999-12-31" || void 0), V = (() => {
1494
+ const n = e, a = t, l = be(), { isMobile: r, isDesktop: o } = ea(), { labelId: s, errorId: u, hintId: f, invalid: m, resolvedDisabled: v, ariaRequired: d, ariaDescribedBy: c } = Pe(n), y = S(!1), b = window.navigator.language, O = S(n.modelValue), p = S(null), k = C(() => n.type === "date" && "9999-12-31" || void 0), V = (() => {
1507
1495
  const I = new Intl.DateTimeFormat(b, { hour: "numeric" }).format();
1508
1496
  return Number.isInteger(Number(I));
1509
1497
  })(), j = C(() => {
@@ -1553,7 +1541,7 @@ const Da = {
1553
1541
  function A(I) {
1554
1542
  p.value = I;
1555
1543
  }
1556
- function F() {
1544
+ function P() {
1557
1545
  p.value = null;
1558
1546
  }
1559
1547
  function K(I) {
@@ -1562,8 +1550,8 @@ const Da = {
1562
1550
  function H() {
1563
1551
  y.value = !0, a("focus");
1564
1552
  }
1565
- return (I, R) => i(l) ? (g(), h("div", Da, [
1566
- e.label ? (g(), P(i(oe), {
1553
+ return (I, R) => i(l) ? (g(), h("div", Va, [
1554
+ e.label ? (g(), z(i(oe), {
1567
1555
  key: 0,
1568
1556
  variant: "block",
1569
1557
  width: 60 + (e.label?.length || 0) * 4,
@@ -1584,7 +1572,7 @@ const Da = {
1584
1572
  }
1585
1573
  ]])
1586
1574
  }, [
1587
- e.label ? (g(), P(i(qe), {
1575
+ e.label ? (g(), z(i(ze), {
1588
1576
  key: 0,
1589
1577
  id: i(s),
1590
1578
  class: "vc-date-picker__label",
@@ -1592,7 +1580,7 @@ const Da = {
1592
1580
  multilanguage: e.multilanguage,
1593
1581
  "current-language": e.currentLanguage,
1594
1582
  error: i(m)
1595
- }, me({
1583
+ }, pe({
1596
1584
  default: E(() => [
1597
1585
  L("span", null, N(e.label), 1)
1598
1586
  ]),
@@ -1612,8 +1600,8 @@ const Da = {
1612
1600
  "vc-date-picker__field-wrapper--small": e.size === "small"
1613
1601
  }])
1614
1602
  }, [
1615
- L("div", Na, [
1616
- L("div", Fa, [
1603
+ L("div", Da, [
1604
+ L("div", Na, [
1617
1605
  T(i(Cn), ae({
1618
1606
  modelValue: O.value,
1619
1607
  "onUpdate:modelValue": R[0] || (R[0] = (q) => O.value = q),
@@ -1643,7 +1631,7 @@ const Da = {
1643
1631
  onFocus: H,
1644
1632
  onClosed: K,
1645
1633
  onRangeStart: A,
1646
- onRangeEnd: F,
1634
+ onRangeEnd: P,
1647
1635
  onTooltipOpen: H,
1648
1636
  onTooltipClose: K
1649
1637
  }), null, 16, ["modelValue", "placeholder", "disabled", "name", "autofocus", "max-date", "enable-time-picker", "locale", "teleport-center", "is24", "teleport", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"]),
@@ -1658,9 +1646,9 @@ const Da = {
1658
1646
  size: "xs",
1659
1647
  icon: "lucide-x"
1660
1648
  })
1661
- ], 8, za)) : w("", !0)
1649
+ ], 8, Pa)) : w("", !0)
1662
1650
  ]),
1663
- e.loading ? (g(), h("div", Pa, [
1651
+ e.loading ? (g(), h("div", Fa, [
1664
1652
  T(i(W), {
1665
1653
  icon: "lucide-loader-2",
1666
1654
  class: "vc-date-picker__loading-icon",
@@ -1674,7 +1662,7 @@ const Da = {
1674
1662
  mode: "out-in"
1675
1663
  }, {
1676
1664
  default: E(() => [
1677
- i(m) && e.errorMessage ? (g(), h("div", qa, [
1665
+ i(m) && e.errorMessage ? (g(), h("div", za, [
1678
1666
  T(i(ue), {
1679
1667
  id: i(u),
1680
1668
  class: "vc-date-picker__hint-error",
@@ -1685,8 +1673,8 @@ const Da = {
1685
1673
  ]),
1686
1674
  _: 1
1687
1675
  }, 8, ["id"])
1688
- ])) : (g(), h("div", Ka, [
1689
- e.hint ? (g(), P(i(ue), {
1676
+ ])) : (g(), h("div", qa, [
1677
+ e.hint ? (g(), z(i(ue), {
1690
1678
  key: 0,
1691
1679
  id: i(f),
1692
1680
  class: "vc-date-picker__desc"
@@ -1702,13 +1690,13 @@ const Da = {
1702
1690
  })
1703
1691
  ], 2));
1704
1692
  }
1705
- }), Wa = {
1693
+ }), Ua = {
1706
1694
  key: 0,
1707
1695
  class: "vc-color-input vc-color-input--skeleton"
1708
- }, ja = { class: "vc-color-input__field-container" }, Ha = { class: "vc-color-input__field" }, Ga = ["id", "placeholder", "disabled", "name", "autofocus", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"], Ja = { class: "vc-color-input__color-container" }, Ya = ["aria-label"], Xa = ["value"], Za = ["aria-label"], Qa = {
1696
+ }, Wa = { class: "vc-color-input__field-container" }, ja = { class: "vc-color-input__field" }, Ha = ["id", "placeholder", "disabled", "name", "autofocus", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"], Ga = { class: "vc-color-input__color-container" }, Ja = ["aria-label"], Ya = ["value"], Xa = ["aria-label"], Za = {
1709
1697
  key: 0,
1710
1698
  class: "vc-color-input__loading"
1711
- }, _a = { key: 0 }, eo = { key: 1 }, to = /* @__PURE__ */ G({
1699
+ }, Qa = { key: 0 }, _a = { key: 1 }, eo = /* @__PURE__ */ G({
1712
1700
  __name: "vc-color-input",
1713
1701
  props: {
1714
1702
  modelValue: {},
@@ -1730,7 +1718,7 @@ const Da = {
1730
1718
  },
1731
1719
  emits: ["update:modelValue", "blur", "focus"],
1732
1720
  setup(e, { expose: t, emit: n }) {
1733
- const a = he(), l = e, r = n, {
1721
+ const a = be(), l = e, r = n, {
1734
1722
  fieldId: o,
1735
1723
  labelId: s,
1736
1724
  errorId: u,
@@ -1739,24 +1727,24 @@ const Da = {
1739
1727
  resolvedDisabled: v,
1740
1728
  ariaRequired: d,
1741
1729
  ariaDescribedBy: c
1742
- } = ze(l), y = S(!1), b = S(!1), O = S(), p = S(), k = S(l.modelValue ?? ""), V = S("");
1730
+ } = Pe(l), y = S(!1), b = S(!1), O = S(), p = S(), k = S(l.modelValue ?? ""), V = S("");
1743
1731
  function j(I) {
1744
1732
  if (!I || typeof I != "string") {
1745
1733
  V.value = "";
1746
1734
  return;
1747
1735
  }
1748
1736
  const R = I.trim();
1749
- if (Mn(R)) {
1737
+ if (Tn(R)) {
1750
1738
  V.value = dt(R);
1751
1739
  return;
1752
1740
  }
1753
- const q = Tn(R);
1741
+ const q = xn(R);
1754
1742
  q && (V.value = q);
1755
1743
  }
1756
1744
  X(
1757
1745
  () => l.modelValue,
1758
1746
  (I) => {
1759
- b.value || (b.value = !0, k.value = I ?? "", ye(() => {
1747
+ b.value || (b.value = !0, k.value = I ?? "", me(() => {
1760
1748
  j(I ?? ""), b.value = !1;
1761
1749
  }));
1762
1750
  },
@@ -1765,7 +1753,7 @@ const Da = {
1765
1753
  I && p.value && (p.value.value = I);
1766
1754
  });
1767
1755
  function ne() {
1768
- b.value || (b.value = !0, r("update:modelValue", k.value || null), ye(() => {
1756
+ b.value || (b.value = !0, r("update:modelValue", k.value || null), me(() => {
1769
1757
  j(k.value), b.value = !1;
1770
1758
  }));
1771
1759
  }
@@ -1782,7 +1770,7 @@ const Da = {
1782
1770
  function A() {
1783
1771
  k.value = "", V.value = "", r("update:modelValue", null);
1784
1772
  }
1785
- function F(I) {
1773
+ function P(I) {
1786
1774
  y.value = !1, r("blur", I);
1787
1775
  }
1788
1776
  function K() {
@@ -1791,8 +1779,8 @@ const Da = {
1791
1779
  function H() {
1792
1780
  O.value?.focus();
1793
1781
  }
1794
- return t({ focus: H }), (I, R) => i(a) ? (g(), h("div", Wa, [
1795
- e.label ? (g(), P(i(oe), {
1782
+ return t({ focus: H }), (I, R) => i(a) ? (g(), h("div", Ua, [
1783
+ e.label ? (g(), z(i(oe), {
1796
1784
  key: 0,
1797
1785
  variant: "block",
1798
1786
  width: 60 + (e.label?.length || 0) * 4,
@@ -1813,7 +1801,7 @@ const Da = {
1813
1801
  }
1814
1802
  ]])
1815
1803
  }, [
1816
- e.label ? (g(), P(i(qe), {
1804
+ e.label ? (g(), z(i(ze), {
1817
1805
  key: 0,
1818
1806
  id: i(s),
1819
1807
  "html-for": i(o),
@@ -1822,7 +1810,7 @@ const Da = {
1822
1810
  multilanguage: e.multilanguage,
1823
1811
  "current-language": e.currentLanguage,
1824
1812
  error: i(m)
1825
- }, me({
1813
+ }, pe({
1826
1814
  default: E(() => [
1827
1815
  L("span", null, N(e.label), 1)
1828
1816
  ]),
@@ -1842,8 +1830,8 @@ const Da = {
1842
1830
  "vc-color-input__field-wrapper--small": e.size === "small"
1843
1831
  }])
1844
1832
  }, [
1845
- L("div", ja, [
1846
- L("div", Ha, [
1833
+ L("div", Wa, [
1834
+ L("div", ja, [
1847
1835
  et(L("input", {
1848
1836
  id: i(o),
1849
1837
  ref_key: "inputRef",
@@ -1860,20 +1848,20 @@ const Da = {
1860
1848
  "aria-labelledby": e.label ? i(s) : void 0,
1861
1849
  class: "vc-color-input__input",
1862
1850
  tabindex: "0",
1863
- onBlur: F,
1851
+ onBlur: P,
1864
1852
  onFocus: K,
1865
1853
  onInput: ne
1866
- }, null, 40, Ga), [
1854
+ }, null, 40, Ha), [
1867
1855
  [Jt, k.value]
1868
1856
  ]),
1869
- L("div", Ja, [
1857
+ L("div", Ga, [
1870
1858
  L("button", {
1871
1859
  type: "button",
1872
1860
  class: "vc-color-input__color-square",
1873
- style: De({ backgroundColor: V.value || "#ffffff" }),
1861
+ style: Ve({ backgroundColor: V.value || "#ffffff" }),
1874
1862
  "aria-label": `Pick color${V.value ? ": " + V.value : ""}`,
1875
1863
  onClick: D
1876
- }, null, 12, Ya),
1864
+ }, null, 12, Ja),
1877
1865
  L("input", {
1878
1866
  ref_key: "colorPickerRef",
1879
1867
  ref: p,
@@ -1883,7 +1871,7 @@ const Da = {
1883
1871
  tabindex: "-1",
1884
1872
  "aria-hidden": "true",
1885
1873
  onChange: Q
1886
- }, null, 40, Xa)
1874
+ }, null, 40, Ya)
1887
1875
  ]),
1888
1876
  e.clearable && k.value && !e.disabled ? (g(), h("button", {
1889
1877
  key: 0,
@@ -1896,9 +1884,9 @@ const Da = {
1896
1884
  size: "xs",
1897
1885
  icon: "lucide-x"
1898
1886
  })
1899
- ], 8, Za)) : w("", !0)
1887
+ ], 8, Xa)) : w("", !0)
1900
1888
  ]),
1901
- e.loading ? (g(), h("div", Qa, [
1889
+ e.loading ? (g(), h("div", Za, [
1902
1890
  T(i(W), {
1903
1891
  icon: "lucide-loader-2",
1904
1892
  class: "vc-color-input__loading-icon",
@@ -1912,7 +1900,7 @@ const Da = {
1912
1900
  mode: "out-in"
1913
1901
  }, {
1914
1902
  default: E(() => [
1915
- i(m) && e.errorMessage ? (g(), h("div", _a, [
1903
+ i(m) && e.errorMessage ? (g(), h("div", Qa, [
1916
1904
  T(i(ue), {
1917
1905
  id: i(u),
1918
1906
  class: "vc-color-input__hint-error",
@@ -1923,8 +1911,8 @@ const Da = {
1923
1911
  ]),
1924
1912
  _: 1
1925
1913
  }, 8, ["id"])
1926
- ])) : (g(), h("div", eo, [
1927
- e.hint ? (g(), P(i(ue), {
1914
+ ])) : (g(), h("div", _a, [
1915
+ e.hint ? (g(), z(i(ue), {
1928
1916
  key: 0,
1929
1917
  id: i(f),
1930
1918
  class: "vc-color-input__desc"
@@ -1940,28 +1928,28 @@ const Da = {
1940
1928
  })
1941
1929
  ], 2));
1942
1930
  }
1943
- }), no = { class: "vc-input__container" }, ao = {
1931
+ }), to = { class: "vc-input__container" }, no = {
1944
1932
  key: 0,
1945
1933
  class: "vc-input__prepend"
1946
- }, oo = { class: "vc-input__field-container" }, lo = {
1934
+ }, ao = { class: "vc-input__field-container" }, oo = {
1947
1935
  key: 0,
1948
1936
  class: "vc-input__prepend-inner"
1949
- }, io = { class: "vc-input__field" }, ro = {
1937
+ }, lo = { class: "vc-input__field" }, io = {
1950
1938
  key: 0,
1951
1939
  class: "vc-input__prefix"
1952
- }, so = ["id", "placeholder", "type", "disabled", "name", "maxlength", "autofocus", "autocomplete", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"], uo = {
1940
+ }, ro = ["id", "placeholder", "type", "disabled", "name", "maxlength", "autofocus", "autocomplete", "aria-invalid", "aria-required", "aria-describedby", "aria-labelledby"], so = {
1953
1941
  key: 1,
1954
1942
  class: "vc-input__suffix"
1955
- }, co = ["aria-label"], fo = ["aria-label"], go = {
1943
+ }, uo = ["aria-label"], co = ["aria-label"], fo = {
1956
1944
  key: 1,
1957
1945
  class: "vc-input__append-inner"
1958
- }, vo = {
1946
+ }, go = {
1959
1947
  key: 2,
1960
1948
  class: "vc-input__loading"
1961
- }, po = {
1949
+ }, vo = {
1962
1950
  key: 1,
1963
1951
  class: "vc-input__append"
1964
- }, mo = { key: 0 }, yo = { key: 1 }, bo = /* @__PURE__ */ G({
1952
+ }, po = { key: 0 }, mo = { key: 1 }, yo = /* @__PURE__ */ G({
1965
1953
  inheritAttrs: !1,
1966
1954
  __name: "vc-input",
1967
1955
  props: {
@@ -1993,9 +1981,9 @@ const Da = {
1993
1981
  emits: ["update:modelValue", "blur", "focus"],
1994
1982
  setup(e, { emit: t }) {
1995
1983
  const n = e, a = bt(), l = C(() => {
1996
- const { class: $, ...z } = a;
1997
- return z;
1998
- }), r = t, o = he(), {
1984
+ const { class: $, ...F } = a;
1985
+ return F;
1986
+ }), r = t, o = be(), {
1999
1987
  fieldId: s,
2000
1988
  labelId: u,
2001
1989
  errorId: f,
@@ -2005,7 +1993,7 @@ const Da = {
2005
1993
  resolvedName: c,
2006
1994
  ariaRequired: y,
2007
1995
  ariaDescribedBy: b
2008
- } = ze(n);
1996
+ } = Pe(n);
2009
1997
  let O, p;
2010
1998
  const k = S(), V = S(), j = S(i(n.type)), ne = S(!1), Q = S(), D = C({
2011
1999
  get() {
@@ -2014,7 +2002,7 @@ const Da = {
2014
2002
  set($) {
2015
2003
  j.value = $;
2016
2004
  }
2017
- }), A = C(() => i(n.modelValue)), F = C({
2005
+ }), A = C(() => i(n.modelValue)), P = C({
2018
2006
  get() {
2019
2007
  return (n.type === "integer" || n.type === "number") && isNaN(k.value) ? "" : k.value;
2020
2008
  },
@@ -2030,8 +2018,8 @@ const Da = {
2030
2018
  { immediate: !0 }
2031
2019
  );
2032
2020
  function K($) {
2033
- const z = ["Backspace", "Delete", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], M = $.key;
2034
- if ((n.type === "number" || n.type === "integer") && (M === "-" || M === "e" || M === "+") && $.preventDefault(), n.type === "integer" && !/^\d$/.test(M) && !z.includes(M)) {
2021
+ const F = ["Backspace", "Delete", "ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], M = $.key;
2022
+ if ((n.type === "number" || n.type === "integer") && (M === "-" || M === "e" || M === "+") && $.preventDefault(), n.type === "integer" && !/^\d$/.test(M) && !F.includes(M)) {
2035
2023
  $.preventDefault();
2036
2024
  return;
2037
2025
  }
@@ -2042,8 +2030,8 @@ const Da = {
2042
2030
  function I($) {
2043
2031
  p = () => {
2044
2032
  if (Q.value !== $) {
2045
- let z;
2046
- n.type === "number" && $ !== null && $ !== void 0 ? z = $ !== "" ? parseFloat($) : null : n.type === "integer" && $ !== null && $ !== void 0 ? z = $ !== "" ? Math.trunc(parseInt($)) : null : z = $, r("update:modelValue", z);
2033
+ let F;
2034
+ n.type === "number" && $ !== null && $ !== void 0 ? F = $ !== "" ? parseFloat($) : null : n.type === "integer" && $ !== null && $ !== void 0 ? F = $ !== "" ? Math.trunc(parseInt($)) : null : F = $, r("update:modelValue", F);
2047
2035
  }
2048
2036
  p = void 0;
2049
2037
  }, n.debounce !== void 0 ? (clearTimeout(O), O = setTimeout(p, +n.debounce)) : p();
@@ -2060,10 +2048,10 @@ const Da = {
2060
2048
  function Me() {
2061
2049
  ne.value = !0, r("focus");
2062
2050
  }
2063
- return ($, z) => i(o) ? (g(), h("div", ae({ key: 0 }, l.value, {
2051
+ return ($, F) => i(o) ? (g(), h("div", ae({ key: 0 }, l.value, {
2064
2052
  class: ["vc-input vc-input--skeleton", $.$attrs.class]
2065
2053
  }), [
2066
- e.label ? (g(), P(i(oe), {
2054
+ e.label ? (g(), z(i(oe), {
2067
2055
  key: 0,
2068
2056
  variant: "block",
2069
2057
  width: 60 + (e.label?.length || 0) * 4,
@@ -2074,7 +2062,7 @@ const Da = {
2074
2062
  width: "100%",
2075
2063
  height: 36
2076
2064
  })
2077
- ], 16)) : e.type === "date" || e.type === "datetime-local" ? (g(), P(i(Ua), ae({ key: 1 }, i(a), {
2065
+ ], 16)) : e.type === "date" || e.type === "datetime-local" ? (g(), z(i(Ka), ae({ key: 1 }, i(a), {
2078
2066
  "model-value": e.modelValue,
2079
2067
  type: e.type,
2080
2068
  "date-picker-options": e.datePickerOptions,
@@ -2093,10 +2081,10 @@ const Da = {
2093
2081
  multilanguage: e.multilanguage,
2094
2082
  "current-language": e.currentLanguage,
2095
2083
  name: e.name,
2096
- "onUpdate:modelValue": z[0] || (z[0] = (M) => r("update:modelValue", M ?? null)),
2097
- onBlur: z[1] || (z[1] = (M) => r("blur", M)),
2098
- onFocus: z[2] || (z[2] = (M) => r("focus"))
2099
- }), null, 16, ["model-value", "type", "date-picker-options", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name"])) : e.type === "color" ? (g(), P(i(to), ae({ key: 2 }, i(a), {
2084
+ "onUpdate:modelValue": F[0] || (F[0] = (M) => r("update:modelValue", M ?? null)),
2085
+ onBlur: F[1] || (F[1] = (M) => r("blur", M)),
2086
+ onFocus: F[2] || (F[2] = (M) => r("focus"))
2087
+ }), null, 16, ["model-value", "type", "date-picker-options", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name"])) : e.type === "color" ? (g(), z(i(eo), ae({ key: 2 }, i(a), {
2100
2088
  "model-value": e.modelValue ?? null,
2101
2089
  label: e.label,
2102
2090
  placeholder: e.placeholder,
@@ -2113,9 +2101,9 @@ const Da = {
2113
2101
  multilanguage: e.multilanguage,
2114
2102
  "current-language": e.currentLanguage,
2115
2103
  name: e.name,
2116
- "onUpdate:modelValue": z[3] || (z[3] = (M) => r("update:modelValue", M)),
2117
- onBlur: z[4] || (z[4] = (M) => r("blur", M)),
2118
- onFocus: z[5] || (z[5] = (M) => r("focus"))
2104
+ "onUpdate:modelValue": F[3] || (F[3] = (M) => r("update:modelValue", M)),
2105
+ onBlur: F[4] || (F[4] = (M) => r("blur", M)),
2106
+ onFocus: F[5] || (F[5] = (M) => r("focus"))
2119
2107
  }), null, 16, ["model-value", "label", "placeholder", "hint", "disabled", "error", "error-message", "required", "clearable", "loading", "autofocus", "size", "tooltip", "multilanguage", "current-language", "name"])) : (g(), h("div", ae({ key: 3 }, l.value, {
2120
2108
  class: ["vc-input", [
2121
2109
  $.$attrs.class,
@@ -2128,7 +2116,7 @@ const Da = {
2128
2116
  }
2129
2117
  ]]
2130
2118
  }), [
2131
- e.label ? (g(), P(i(qe), {
2119
+ e.label ? (g(), z(i(ze), {
2132
2120
  key: 0,
2133
2121
  id: i(u),
2134
2122
  "html-for": i(s),
@@ -2137,7 +2125,7 @@ const Da = {
2137
2125
  multilanguage: e.multilanguage,
2138
2126
  "current-language": e.currentLanguage,
2139
2127
  error: i(v)
2140
- }, me({
2128
+ }, pe({
2141
2129
  default: E(() => [
2142
2130
  L("span", null, N(e.label), 1)
2143
2131
  ]),
@@ -2151,8 +2139,8 @@ const Da = {
2151
2139
  key: "0"
2152
2140
  } : void 0
2153
2141
  ]), 1032, ["id", "html-for", "required", "multilanguage", "current-language", "error"])) : w("", !0),
2154
- L("div", no, [
2155
- $.$slots.prepend ? (g(), h("div", ao, [
2142
+ L("div", to, [
2143
+ $.$slots.prepend ? (g(), h("div", no, [
2156
2144
  B($.$slots, "prepend", { focus: te })
2157
2145
  ])) : w("", !0),
2158
2146
  L("div", {
@@ -2161,16 +2149,16 @@ const Da = {
2161
2149
  "vc-input__field-wrapper--small": e.size === "small"
2162
2150
  }])
2163
2151
  }, [
2164
- L("div", oo, [
2165
- $.$slots["prepend-inner"] ? (g(), h("div", lo, [
2152
+ L("div", ao, [
2153
+ $.$slots["prepend-inner"] ? (g(), h("div", oo, [
2166
2154
  B($.$slots, "prepend-inner", { focus: te })
2167
2155
  ])) : w("", !0),
2168
- L("div", io, [
2169
- e.prefix ? (g(), h("div", ro, N(e.prefix), 1)) : w("", !0),
2156
+ L("div", lo, [
2157
+ e.prefix ? (g(), h("div", io, N(e.prefix), 1)) : w("", !0),
2170
2158
  B($.$slots, "control", {
2171
2159
  editable: i(d),
2172
2160
  focused: e.autofocus,
2173
- modelValue: F.value,
2161
+ modelValue: P.value,
2174
2162
  emitValue: I,
2175
2163
  placeholder: e.placeholder
2176
2164
  }, () => [
@@ -2178,7 +2166,7 @@ const Da = {
2178
2166
  id: i(s),
2179
2167
  ref_key: "inputRef",
2180
2168
  ref: V,
2181
- "onUpdate:modelValue": z[6] || (z[6] = (M) => F.value = M),
2169
+ "onUpdate:modelValue": F[6] || (F[6] = (M) => P.value = M),
2182
2170
  placeholder: e.placeholder,
2183
2171
  type: D.value,
2184
2172
  disabled: i(d),
@@ -2195,11 +2183,11 @@ const Da = {
2195
2183
  onKeydown: K,
2196
2184
  onBlur: q,
2197
2185
  onFocus: Me
2198
- }, null, 40, so), [
2199
- [Yt, F.value]
2186
+ }, null, 40, ro), [
2187
+ [Yt, P.value]
2200
2188
  ])
2201
2189
  ]),
2202
- e.suffix ? (g(), h("div", uo, N(e.suffix), 1)) : w("", !0),
2190
+ e.suffix ? (g(), h("div", so, N(e.suffix), 1)) : w("", !0),
2203
2191
  e.clearable && Q.value && !i(d) && e.type !== "password" ? (g(), h("button", {
2204
2192
  key: 2,
2205
2193
  type: "button",
@@ -2211,24 +2199,24 @@ const Da = {
2211
2199
  size: "xs",
2212
2200
  icon: "lucide-x"
2213
2201
  })
2214
- ], 8, co)) : w("", !0),
2202
+ ], 8, uo)) : w("", !0),
2215
2203
  e.type === "password" ? (g(), h("button", {
2216
2204
  key: 3,
2217
2205
  type: "button",
2218
2206
  class: "vc-input__showhide",
2219
2207
  "aria-label": j.value === "password" ? $.$t("COMPONENTS.CONTROLS.SHOW_PASSWORD") : $.$t("COMPONENTS.CONTROLS.HIDE_PASSWORD"),
2220
- onClick: z[7] || (z[7] = (M) => j.value = j.value === "password" ? "text" : "password")
2208
+ onClick: F[7] || (F[7] = (M) => j.value = j.value === "password" ? "text" : "password")
2221
2209
  }, [
2222
2210
  T(i(W), {
2223
2211
  size: "s",
2224
2212
  icon: j.value === "password" ? "lucide-eye-off" : "lucide-eye"
2225
2213
  }, null, 8, ["icon"])
2226
- ], 8, fo)) : w("", !0)
2214
+ ], 8, co)) : w("", !0)
2227
2215
  ]),
2228
- $.$slots["append-inner"] ? (g(), h("div", go, [
2216
+ $.$slots["append-inner"] ? (g(), h("div", fo, [
2229
2217
  B($.$slots, "append-inner", { focus: te })
2230
2218
  ])) : w("", !0),
2231
- e.loading ? (g(), h("div", vo, [
2219
+ e.loading ? (g(), h("div", go, [
2232
2220
  T(i(W), {
2233
2221
  icon: "lucide-loader-2",
2234
2222
  class: "vc-input__loading-icon",
@@ -2237,7 +2225,7 @@ const Da = {
2237
2225
  ])) : w("", !0)
2238
2226
  ])
2239
2227
  ], 2),
2240
- $.$slots.append ? (g(), h("div", po, [
2228
+ $.$slots.append ? (g(), h("div", vo, [
2241
2229
  B($.$slots, "append", { focus: te })
2242
2230
  ])) : w("", !0)
2243
2231
  ]),
@@ -2246,7 +2234,7 @@ const Da = {
2246
2234
  mode: "out-in"
2247
2235
  }, {
2248
2236
  default: E(() => [
2249
- i(v) && e.errorMessage ? (g(), h("div", mo, [
2237
+ i(v) && e.errorMessage ? (g(), h("div", po, [
2250
2238
  B($.$slots, "error", {}, () => [
2251
2239
  T(i(ue), {
2252
2240
  id: i(f),
@@ -2259,9 +2247,9 @@ const Da = {
2259
2247
  _: 1
2260
2248
  }, 8, ["id"])
2261
2249
  ])
2262
- ])) : (g(), h("div", yo, [
2250
+ ])) : (g(), h("div", mo, [
2263
2251
  B($.$slots, "hint", {}, () => [
2264
- e.hint ? (g(), P(i(ue), {
2252
+ e.hint ? (g(), z(i(ue), {
2265
2253
  key: 0,
2266
2254
  id: i(m),
2267
2255
  class: "vc-input__desc"
@@ -2278,7 +2266,7 @@ const Da = {
2278
2266
  })
2279
2267
  ], 16));
2280
2268
  }
2281
- }), vi = In.create({
2269
+ }), gi = In.create({
2282
2270
  name: "fontSize",
2283
2271
  addOptions() {
2284
2272
  return {
@@ -2308,7 +2296,7 @@ const Da = {
2308
2296
  };
2309
2297
  }
2310
2298
  });
2311
- function ho(e = {}) {
2299
+ function bo(e = {}) {
2312
2300
  const {
2313
2301
  containerSelector: t = '[role="menu"]',
2314
2302
  itemSelector: n = '[tabindex="0"]',
@@ -2426,7 +2414,7 @@ function pt(e, t) {
2426
2414
  const n = e !== void 0 ? e : t;
2427
2415
  return typeof n == "function" ? n : (a) => a === null || typeof a != "object" ? a : n && n in a ? a[n] : a;
2428
2416
  }
2429
- function Io(e) {
2417
+ function ho(e) {
2430
2418
  const t = C(() => pt(e.optionValue(), "id")), n = C(() => pt(e.optionLabel(), "title"));
2431
2419
  function a(o, s, u, f) {
2432
2420
  const m = (v) => Le(t.value(v), o);
@@ -2446,7 +2434,7 @@ function Io(e) {
2446
2434
  fieldValueIsFilled: r
2447
2435
  };
2448
2436
  }
2449
- function ko() {
2437
+ function Io() {
2450
2438
  const e = S(null), t = S(!1);
2451
2439
  let n = null, a = null;
2452
2440
  function l() {
@@ -2476,7 +2464,7 @@ function ko() {
2476
2464
  ensureVisibility: r
2477
2465
  };
2478
2466
  }
2479
- function So(e) {
2467
+ function ko(e) {
2480
2468
  const t = S(!1), n = S(!1), a = S(null), l = S(null);
2481
2469
  function r() {
2482
2470
  return {
@@ -2490,13 +2478,13 @@ function So(e) {
2490
2478
  }
2491
2479
  };
2492
2480
  }
2493
- const o = Fn(a, l, {
2481
+ const o = Nn(a, l, {
2494
2482
  placement: C(() => e.placement),
2495
2483
  middleware: C(() => [
2496
2484
  $t({ fallbackPlacements: ["top", "bottom"] }),
2497
2485
  Ot({ mainAxis: !1 }),
2498
2486
  r(),
2499
- Ye({ mainAxis: 4 })
2487
+ Je({ mainAxis: 4 })
2500
2488
  ])
2501
2489
  }), s = C(() => ({
2502
2490
  top: `${o.y.value ?? 0}px`,
@@ -2522,14 +2510,14 @@ function So(e) {
2522
2510
  toggleDropdown: u
2523
2511
  };
2524
2512
  }
2525
- function wo(e) {
2513
+ function So(e) {
2526
2514
  const t = S([]), n = S(null), a = S(0), l = S(!1), r = S(!1), o = S(), s = S([]), u = S(!1), f = /* @__PURE__ */ new Map();
2527
2515
  let m = !1, v;
2528
2516
  const d = C(() => n.value ?? t.value), c = C(() => t.value.length < a.value);
2529
2517
  function y(D) {
2530
2518
  for (const A of D) {
2531
- const F = String(e.getOptionValue.value(A));
2532
- f.set(F, A);
2519
+ const P = String(e.getOptionValue.value(A));
2520
+ f.set(P, A);
2533
2521
  }
2534
2522
  }
2535
2523
  async function b() {
@@ -2556,8 +2544,8 @@ function wo(e) {
2556
2544
  if (!(typeof D != "function" || l.value))
2557
2545
  try {
2558
2546
  l.value = !0;
2559
- const A = await D(o.value, t.value.length), F = new Set(t.value.map((H) => String(e.getOptionValue.value(H)))), K = (A?.results ?? []).filter(
2560
- (H) => !F.has(String(e.getOptionValue.value(H)))
2547
+ const A = await D(o.value, t.value.length), P = new Set(t.value.map((H) => String(e.getOptionValue.value(H)))), K = (A?.results ?? []).filter(
2548
+ (H) => !P.has(String(e.getOptionValue.value(H)))
2561
2549
  );
2562
2550
  t.value = [...t.value, ...K], a.value = A?.totalCount ?? a.value, y(K);
2563
2551
  } catch (A) {
@@ -2572,50 +2560,50 @@ function wo(e) {
2572
2560
  if (typeof A == "function")
2573
2561
  try {
2574
2562
  r.value = !0;
2575
- const F = await A(D);
2576
- n.value = F?.results ?? [], a.value = F?.totalCount ?? 0, y(n.value);
2577
- } catch (F) {
2578
- console.error("useSelectDataSource: error searching", F), n.value = [];
2563
+ const P = await A(D);
2564
+ n.value = P?.results ?? [], a.value = P?.totalCount ?? 0, y(n.value);
2565
+ } catch (P) {
2566
+ console.error("useSelectDataSource: error searching", P), n.value = [];
2579
2567
  } finally {
2580
2568
  r.value = !1;
2581
2569
  }
2582
2570
  else
2583
- n.value = t.value.filter((F) => {
2584
- const K = e.getOptionLabel.value(F);
2571
+ n.value = t.value.filter((P) => {
2572
+ const K = e.getOptionLabel.value(P);
2585
2573
  return String(K).toLowerCase().includes(D.toLowerCase());
2586
2574
  });
2587
2575
  }
2588
2576
  function V(D) {
2589
2577
  if (!D?.target) return;
2590
- const A = D.target.value, F = Number(e.debounce());
2591
- v && clearTimeout(v), F > 0 ? v = setTimeout(() => {
2578
+ const A = D.target.value, P = Number(e.debounce());
2579
+ v && clearTimeout(v), P > 0 ? v = setTimeout(() => {
2592
2580
  e.emit.search(A), k(A);
2593
- }, F) : (e.emit.search(A), k(A));
2581
+ }, P) : (e.emit.search(A), k(A));
2594
2582
  }
2595
2583
  function j() {
2596
2584
  n.value = null, o.value = void 0, v && (clearTimeout(v), v = void 0), a.value = t.value.length;
2597
2585
  }
2598
2586
  async function ne(D) {
2599
2587
  if (D.length === 0) return [];
2600
- const F = D.filter((I) => !f.has(String(I))).filter((I) => {
2588
+ const P = D.filter((I) => !f.has(String(I))).filter((I) => {
2601
2589
  const R = t.value.find((q) => Le(e.getOptionValue.value(q), I));
2602
2590
  return R ? (f.set(String(I), R), !1) : !0;
2603
2591
  }), K = e.options();
2604
- if (F.length > 0 && typeof K == "function") {
2592
+ if (P.length > 0 && typeof K == "function") {
2605
2593
  try {
2606
2594
  u.value = !0;
2607
- const R = await K(void 0, void 0, F);
2595
+ const R = await K(void 0, void 0, P);
2608
2596
  R?.results && y(R.results);
2609
2597
  } catch (R) {
2610
2598
  console.error("useSelectDataSource: error resolving", R);
2611
2599
  } finally {
2612
2600
  u.value = !1;
2613
2601
  }
2614
- F.filter((R) => !f.has(String(R))).length > 0 && !m && await b();
2615
- } else if (F.length > 0 && Array.isArray(K))
2602
+ P.filter((R) => !f.has(String(R))).length > 0 && !m && await b();
2603
+ } else if (P.length > 0 && Array.isArray(K))
2616
2604
  for (const I of K) {
2617
2605
  const R = String(e.getOptionValue.value(I));
2618
- F.includes(R) && f.set(R, I);
2606
+ P.includes(R) && f.set(R, I);
2619
2607
  }
2620
2608
  const H = D.map((I) => f.get(String(I))).filter(Boolean);
2621
2609
  return s.value = H, H;
@@ -2655,7 +2643,7 @@ function wo(e) {
2655
2643
  refresh: Q
2656
2644
  };
2657
2645
  }
2658
- function $o(e) {
2646
+ function wo(e) {
2659
2647
  let t = [];
2660
2648
  const n = C(() => {
2661
2649
  const v = e.mapOptions() === !0 && e.multiple() !== !0, d = e.modelValue() !== void 0 && (e.modelValue() !== null || v === !0) ? e.multiple() === !0 && Array.isArray(e.modelValue()) ? e.modelValue() : [e.modelValue()] : [];
@@ -2748,40 +2736,40 @@ function $o(e) {
2748
2736
  onReset: m
2749
2737
  };
2750
2738
  }
2751
- const Oo = { class: "vc-select__control" }, Eo = {
2739
+ const $o = { class: "vc-select__control" }, Oo = {
2752
2740
  key: 0,
2753
2741
  class: "vc-select__prepend"
2754
- }, Co = { class: "vc-select__field" }, Bo = { class: "vc-select__field-inner" }, Lo = { class: "vc-select__field-content" }, Ro = {
2742
+ }, Eo = { class: "vc-select__field" }, Co = { class: "vc-select__field-inner" }, Bo = { class: "vc-select__field-content" }, Lo = {
2755
2743
  key: 0,
2756
2744
  class: "vc-select__prepend-inner"
2757
- }, xo = { class: "vc-select__field-main" }, To = {
2745
+ }, Ro = { class: "vc-select__field-main" }, xo = {
2758
2746
  key: 0,
2759
2747
  class: "vc-select__prefix"
2760
- }, Mo = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-describedby", "aria-required", "aria-invalid"], Ao = {
2748
+ }, To = ["aria-expanded", "aria-controls", "aria-labelledby", "aria-describedby", "aria-required", "aria-invalid"], Mo = {
2761
2749
  key: 0,
2762
2750
  class: "vc-select__placeholder"
2763
- }, Vo = {
2751
+ }, Ao = {
2764
2752
  key: 1,
2765
2753
  class: "vc-select__selected"
2766
- }, Do = { class: "vc-select__multiple-item" }, No = {
2754
+ }, Vo = { class: "vc-select__multiple-item" }, Do = {
2767
2755
  key: 0,
2768
2756
  class: "vc-select__loading"
2769
- }, Fo = { key: 1 }, zo = ["aria-label", "onClick", "onKeydown"], Po = {
2757
+ }, No = { key: 1 }, Po = ["aria-label", "onClick", "onKeydown"], Fo = {
2770
2758
  key: 0,
2771
2759
  class: "vc-select__loading"
2772
- }, qo = {
2760
+ }, zo = {
2773
2761
  key: 1,
2774
2762
  class: "vc-select__suffix"
2775
- }, Ko = ["aria-label"], Uo = {
2763
+ }, qo = ["aria-label"], Ko = {
2776
2764
  key: 1,
2777
2765
  class: "vc-select__append-inner"
2778
- }, Wo = {
2766
+ }, Uo = {
2779
2767
  key: 2,
2780
2768
  class: "vc-select__loading-icon"
2781
- }, jo = ["aria-label"], Ho = { class: "vc-select__chevron" }, Go = { class: "vc-select__hint-error" }, Jo = { key: 0 }, Yo = { key: 1 }, Xo = {
2769
+ }, Wo = ["aria-label"], jo = { class: "vc-select__chevron" }, Ho = { class: "vc-select__hint-error" }, Go = { key: 0 }, Jo = { key: 1 }, Yo = {
2782
2770
  key: 1,
2783
2771
  class: "vc-select__append"
2784
- }, Zo = /* @__PURE__ */ G({
2772
+ }, Xo = /* @__PURE__ */ G({
2785
2773
  __name: "SelectTrigger",
2786
2774
  props: {
2787
2775
  isOpened: { type: Boolean },
@@ -2825,8 +2813,8 @@ const Oo = { class: "vc-select__control" }, Eo = {
2825
2813
  toggleHandler: e.toggleDropdown,
2826
2814
  isOpened: e.isOpened
2827
2815
  }, () => [
2828
- L("div", Oo, [
2829
- l.$slots.prepend ? (g(), h("div", Eo, [
2816
+ L("div", $o, [
2817
+ l.$slots.prepend ? (g(), h("div", Oo, [
2830
2818
  B(l.$slots, "prepend")
2831
2819
  ])) : w("", !0),
2832
2820
  L("div", {
@@ -2835,14 +2823,14 @@ const Oo = { class: "vc-select__control" }, Eo = {
2835
2823
  "vc-select__field-wrapper--small": e.size === "small"
2836
2824
  }])
2837
2825
  }, [
2838
- L("div", Co, [
2839
- L("div", Bo, [
2840
- L("div", Lo, [
2841
- l.$slots["prepend-inner"] ? (g(), h("div", Ro, [
2826
+ L("div", Eo, [
2827
+ L("div", Co, [
2828
+ L("div", Bo, [
2829
+ l.$slots["prepend-inner"] ? (g(), h("div", Lo, [
2842
2830
  B(l.$slots, "prepend-inner")
2843
2831
  ])) : w("", !0),
2844
- L("div", xo, [
2845
- e.prefix ? (g(), h("div", To, N(e.prefix), 1)) : w("", !0),
2832
+ L("div", Ro, [
2833
+ e.prefix ? (g(), h("div", xo, N(e.prefix), 1)) : w("", !0),
2846
2834
  L("div", {
2847
2835
  "data-test-id": "dropdown-toggle",
2848
2836
  class: "vc-select__input",
@@ -2875,7 +2863,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
2875
2863
  onFocus: r[3] || (r[3] = (o) => l.$emit("focus")),
2876
2864
  onBlur: r[4] || (r[4] = (o) => l.$emit("blur"))
2877
2865
  }, [
2878
- e.hasValue ? e.selectedScope && e.selectedScope.length && e.hasValue ? (g(), h("div", Vo, [
2866
+ e.hasValue ? e.selectedScope && e.selectedScope.length && e.hasValue ? (g(), h("div", Ao, [
2879
2867
  (g(!0), h(ke, null, _e(e.selectedScope, (o, s) => (g(), h("div", {
2880
2868
  key: s,
2881
2869
  class: "vc-select__selected-item"
@@ -2884,8 +2872,8 @@ const Oo = { class: "vc-select__control" }, Eo = {
2884
2872
  key: 0,
2885
2873
  ref_for: !0
2886
2874
  }, o), () => [
2887
- L("div", Do, [
2888
- e.loading ? (g(), h("span", No, N(i(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : (g(), h("span", Fo, N(e.getOptionLabel(o.opt)), 1)),
2875
+ L("div", Vo, [
2876
+ e.loading ? (g(), h("span", Do, N(i(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : (g(), h("span", No, N(e.getOptionLabel(o.opt)), 1)),
2889
2877
  e.disabled ? w("", !0) : (g(), h("button", {
2890
2878
  key: 2,
2891
2879
  type: "button",
@@ -2900,10 +2888,10 @@ const Oo = { class: "vc-select__control" }, Eo = {
2900
2888
  icon: "lucide-x",
2901
2889
  size: "xs"
2902
2890
  })
2903
- ], 40, zo))
2891
+ ], 40, Po))
2904
2892
  ])
2905
2893
  ]) : e.multiple ? w("", !0) : (g(), h(ke, { key: 1 }, [
2906
- e.loading ? (g(), h("span", Po, N(i(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : B(l.$slots, "selected-item", ae({
2894
+ e.loading ? (g(), h("span", Fo, N(i(n)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)) : B(l.$slots, "selected-item", ae({
2907
2895
  key: 1,
2908
2896
  ref_for: !0
2909
2897
  }, o), () => [
@@ -2911,15 +2899,15 @@ const Oo = { class: "vc-select__control" }, Eo = {
2911
2899
  ])
2912
2900
  ], 64))
2913
2901
  ]))), 128))
2914
- ])) : w("", !0) : (g(), h("div", Ao, [
2902
+ ])) : w("", !0) : (g(), h("div", Mo, [
2915
2903
  e.placeholder ? (g(), h(ke, { key: 0 }, [
2916
2904
  ee(N(e.placeholder), 1)
2917
2905
  ], 64)) : (g(), h(ke, { key: 1 }, [
2918
2906
  ee(N(i(n)("COMPONENTS.MOLECULES.VC_SELECT.CLICK_TO_SELECT")), 1)
2919
2907
  ], 64))
2920
2908
  ]))
2921
- ], 40, Mo),
2922
- e.suffix ? (g(), h("div", qo, N(e.suffix), 1)) : w("", !0),
2909
+ ], 40, To),
2910
+ e.suffix ? (g(), h("div", zo, N(e.suffix), 1)) : w("", !0),
2923
2911
  e.clearable && e.hasValue && !e.disabled ? (g(), h("div", {
2924
2912
  key: 2,
2925
2913
  class: "vc-select__clear",
@@ -2936,12 +2924,12 @@ const Oo = { class: "vc-select__control" }, Eo = {
2936
2924
  size: "xs",
2937
2925
  icon: "lucide-x"
2938
2926
  })
2939
- ], 40, Ko)) : w("", !0)
2927
+ ], 40, qo)) : w("", !0)
2940
2928
  ]),
2941
- l.$slots["append-inner"] ? (g(), h("div", Uo, [
2929
+ l.$slots["append-inner"] ? (g(), h("div", Ko, [
2942
2930
  B(l.$slots, "append-inner")
2943
2931
  ])) : w("", !0),
2944
- e.loading || e.listLoading || e.defaultOptionLoading ? (g(), h("div", Wo, [
2932
+ e.loading || e.listLoading || e.defaultOptionLoading ? (g(), h("div", Uo, [
2945
2933
  T(i(W), {
2946
2934
  icon: "lucide-loader-2",
2947
2935
  class: "tw-animate-spin",
@@ -2972,23 +2960,23 @@ const Oo = { class: "vc-select__control" }, Eo = {
2972
2960
  ), ["space"]))
2973
2961
  ]
2974
2962
  }, [
2975
- L("div", Ho, [
2963
+ L("div", jo, [
2976
2964
  T(i(W), {
2977
2965
  size: "s",
2978
2966
  icon: "lucide-chevron-down"
2979
2967
  })
2980
2968
  ])
2981
- ], 40, jo))
2969
+ ], 40, Wo))
2982
2970
  ])
2983
2971
  ])
2984
2972
  ]),
2985
- L("div", Go, [
2973
+ L("div", Ho, [
2986
2974
  T(Re, {
2987
2975
  name: "slide-up",
2988
2976
  mode: "out-in"
2989
2977
  }, {
2990
2978
  default: E(() => [
2991
- e.error && e.errorMessage ? (g(), h("div", Jo, [
2979
+ e.error && e.errorMessage ? (g(), h("div", Go, [
2992
2980
  B(l.$slots, "error", {}, () => [
2993
2981
  T(i(ue), {
2994
2982
  id: e.errorId,
@@ -3001,9 +2989,9 @@ const Oo = { class: "vc-select__control" }, Eo = {
3001
2989
  _: 1
3002
2990
  }, 8, ["id"])
3003
2991
  ])
3004
- ])) : (g(), h("div", Yo, [
2992
+ ])) : (g(), h("div", Jo, [
3005
2993
  B(l.$slots, "hint", {}, () => [
3006
- e.hint ? (g(), P(i(ue), {
2994
+ e.hint ? (g(), z(i(ue), {
3007
2995
  key: 0,
3008
2996
  id: e.hintId,
3009
2997
  class: "vc-select__hint"
@@ -3020,23 +3008,23 @@ const Oo = { class: "vc-select__control" }, Eo = {
3020
3008
  })
3021
3009
  ])
3022
3010
  ], 2),
3023
- l.$slots.append ? (g(), h("div", Xo, [
3011
+ l.$slots.append ? (g(), h("div", Yo, [
3024
3012
  B(l.$slots, "append")
3025
3013
  ])) : w("", !0)
3026
3014
  ])
3027
3015
  ])
3028
3016
  ], 512));
3029
3017
  }
3030
- }), Qo = ["id", "aria-label"], _o = ["aria-label"], el = ["aria-selected", "data-index", "onClick", "onKeydown"], tl = {
3018
+ }), Zo = ["id", "aria-label"], Qo = ["aria-label"], _o = ["aria-selected", "data-index", "onClick", "onKeydown"], el = {
3031
3019
  key: 0,
3032
3020
  class: "vc-select__check-icon"
3033
- }, nl = {
3021
+ }, tl = {
3034
3022
  key: 0,
3035
3023
  class: "vc-select__list-loading-indicator"
3036
- }, al = { class: "tw-ml-1" }, ol = {
3024
+ }, nl = { class: "tw-ml-1" }, al = {
3037
3025
  key: 1,
3038
3026
  class: "vc-select__no-options"
3039
- }, ll = { class: "vc-select__no-options-text" }, il = /* @__PURE__ */ G({
3027
+ }, ol = { class: "vc-select__no-options-text" }, ll = /* @__PURE__ */ G({
3040
3028
  __name: "SelectDropdown",
3041
3029
  props: {
3042
3030
  isOpened: { type: Boolean },
@@ -3066,19 +3054,19 @@ const Oo = { class: "vc-select__control" }, Eo = {
3066
3054
  return X(
3067
3055
  () => a.isOpened,
3068
3056
  (c) => {
3069
- c && ye(() => f.value?.updateScrollState());
3057
+ c && me(() => f.value?.updateScrollState());
3070
3058
  }
3071
3059
  ), X(
3072
3060
  () => a.optionScope.length,
3073
3061
  () => {
3074
- a.isOpened && ye(() => f.value?.updateScrollState());
3062
+ a.isOpened && me(() => f.value?.updateScrollState());
3075
3063
  }
3076
3064
  ), t({
3077
3065
  dropdownElRef: s,
3078
3066
  searchInputRef: u,
3079
3067
  viewportRef: v,
3080
3068
  loadMoreRef: m
3081
- }), (c, y) => (g(), P(Xt, { to: i(o) }, [
3069
+ }), (c, y) => (g(), z(Xt, { to: i(o) }, [
3082
3070
  T(Re, { name: "select-dropdown" }, {
3083
3071
  default: E(() => [
3084
3072
  e.isOpened ? et((g(), h("div", {
@@ -3090,7 +3078,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3090
3078
  class: "vc-select__dropdown",
3091
3079
  role: "listbox",
3092
3080
  "aria-label": e.ariaLabel,
3093
- style: De(e.dropdownStyle),
3081
+ style: Ve(e.dropdownStyle),
3094
3082
  onWheel: d
3095
3083
  }, [
3096
3084
  e.searchable ? (g(), h("input", {
@@ -3108,8 +3096,8 @@ const Oo = { class: "vc-select__control" }, Eo = {
3108
3096
  y[2] || (y[2] = _(Y(() => {
3109
3097
  }, ["stop"]), ["enter"]))
3110
3098
  ]
3111
- }, null, 40, _o)) : w("", !0),
3112
- T(i(Ea), {
3099
+ }, null, 40, Qo)) : w("", !0),
3100
+ T(i(Oa), {
3113
3101
  ref_key: "scrollContainerRef",
3114
3102
  ref: f,
3115
3103
  class: "vc-select__scroll-container"
@@ -3132,24 +3120,24 @@ const Oo = { class: "vc-select__control" }, Eo = {
3132
3120
  B(c.$slots, "option", ae({ ref_for: !0 }, b), () => [
3133
3121
  ee(N(b.label), 1)
3134
3122
  ]),
3135
- b.selected ? (g(), h("span", tl, [
3123
+ b.selected ? (g(), h("span", el, [
3136
3124
  T(i(W), {
3137
3125
  icon: "lucide-check",
3138
3126
  size: "xs"
3139
3127
  })
3140
3128
  ])) : w("", !0)
3141
- ], 42, el))), 128)),
3142
- e.listLoading ? (g(), h("div", nl, [
3129
+ ], 42, _o))), 128)),
3130
+ e.listLoading ? (g(), h("div", tl, [
3143
3131
  T(i(W), {
3144
3132
  icon: "lucide-loader-2",
3145
3133
  class: "tw-animate-spin",
3146
3134
  size: "m"
3147
3135
  }),
3148
- L("span", al, N(e.optionsListLength > 0 ? i(r)("COMPONENTS.MOLECULES.VC_SELECT.LOADING_MORE") : i(r)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)
3136
+ L("span", nl, N(e.optionsListLength > 0 ? i(r)("COMPONENTS.MOLECULES.VC_SELECT.LOADING_MORE") : i(r)("COMPONENTS.MOLECULES.VC_SELECT.LOADING")), 1)
3149
3137
  ])) : w("", !0),
3150
- !e.listLoading && !e.optionsListLength ? (g(), h("div", ol, [
3138
+ !e.listLoading && !e.optionsListLength ? (g(), h("div", al, [
3151
3139
  B(c.$slots, "no-options", {}, () => [
3152
- L("span", ll, N(i(r)("COMPONENTS.MOLECULES.VC_SELECT.NO_OPTIONS")), 1)
3140
+ L("span", ol, N(i(r)("COMPONENTS.MOLECULES.VC_SELECT.NO_OPTIONS")), 1)
3153
3141
  ])
3154
3142
  ])) : w("", !0),
3155
3143
  e.hasNextPage && !e.listLoading ? (g(), h("span", {
@@ -3161,7 +3149,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3161
3149
  ]),
3162
3150
  _: 3
3163
3151
  }, 512)
3164
- ], 44, Qo)), [
3152
+ ], 44, Zo)), [
3165
3153
  [i(On), [() => l("clickOutside"), { ignore: [e.dropdownToggleRef] }]]
3166
3154
  ]) : w("", !0)
3167
3155
  ]),
@@ -3169,7 +3157,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3169
3157
  })
3170
3158
  ], 8, ["to"]));
3171
3159
  }
3172
- }), rl = ["innerHTML"], sl = { class: "vc-select__field-container" }, ul = /* @__PURE__ */ G({
3160
+ }), il = ["innerHTML"], rl = { class: "vc-select__field-container" }, sl = /* @__PURE__ */ G({
3173
3161
  inheritAttrs: !1,
3174
3162
  __name: "vc-select",
3175
3163
  props: {
@@ -3206,7 +3194,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3206
3194
  const n = e, a = bt(), l = C(() => {
3207
3195
  const { class: x, ...J } = a;
3208
3196
  return J;
3209
- }), r = t, { t: o } = nt({ useScope: "global" }), s = he(), {
3197
+ }), r = t, { t: o } = nt({ useScope: "global" }), s = be(), {
3210
3198
  fieldId: u,
3211
3199
  labelId: f,
3212
3200
  errorId: m,
@@ -3216,10 +3204,10 @@ const Oo = { class: "vc-select__control" }, Eo = {
3216
3204
  resolvedName: y,
3217
3205
  ariaRequired: b,
3218
3206
  ariaDescribedBy: O
3219
- } = ze(n), p = C(() => `${u.value}-listbox`), k = S(null), V = S(null), { selectRootRef: j, isSelectVisible: ne, ensureVisibility: Q } = ko(), { getOptionValue: D, getOptionLabel: A, getOption: F, getEmittingOptionValue: K, fieldValueIsFilled: H } = Io({
3207
+ } = Pe(n), p = C(() => `${u.value}-listbox`), k = S(null), V = S(null), { selectRootRef: j, isSelectVisible: ne, ensureVisibility: Q } = Io(), { getOptionValue: D, getOptionLabel: A, getOption: P, getEmittingOptionValue: K, fieldValueIsFilled: H } = ho({
3220
3208
  optionValue: () => n.optionValue,
3221
3209
  optionLabel: () => n.optionLabel
3222
- }), { isOpened: I, isFocused: R, dropdownToggleRef: q, dropdownRef: te, popper: Me, dropdownStyle: $, toggleDropdown: z } = So({
3210
+ }), { isOpened: I, isFocused: R, dropdownToggleRef: q, dropdownRef: te, popper: Me, dropdownStyle: $, toggleDropdown: F } = ko({
3223
3211
  placement: n.placement,
3224
3212
  outline: () => n.outline,
3225
3213
  isSelectVisible: ne,
@@ -3227,12 +3215,12 @@ const Oo = { class: "vc-select__control" }, Eo = {
3227
3215
  disabled: () => n.disabled ?? !1,
3228
3216
  ensureVisibility: Q
3229
3217
  });
3230
- He(() => {
3218
+ je(() => {
3231
3219
  q.value = k.value?.toggleRef ?? null;
3232
- }), He(() => {
3220
+ }), je(() => {
3233
3221
  te.value = V.value?.dropdownElRef ?? null;
3234
3222
  });
3235
- const M = wo({
3223
+ const M = So({
3236
3224
  options: () => n.options,
3237
3225
  getOptionValue: D,
3238
3226
  getOptionLabel: A,
@@ -3241,7 +3229,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3241
3229
  emit: {
3242
3230
  search: (x) => r("search", x)
3243
3231
  }
3244
- }), { selectedScope: Dt, hasValue: Nt, optionScope: $e, removeAtIndex: Ft, onReset: zt } = $o({
3232
+ }), { selectedScope: Dt, hasValue: Nt, optionScope: $e, removeAtIndex: Pt, onReset: Ft } = wo({
3245
3233
  modelValue: () => n.modelValue,
3246
3234
  multiple: () => n.multiple,
3247
3235
  emitValue: () => n.emitValue ?? !0,
@@ -3251,7 +3239,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3251
3239
  cachedItems: M.cachedItems,
3252
3240
  getOptionValue: D,
3253
3241
  getOptionLabel: A,
3254
- getOption: F,
3242
+ getOption: P,
3255
3243
  fieldValueIsFilled: H,
3256
3244
  isOpened: I,
3257
3245
  popperUpdate: () => Me.update(),
@@ -3259,21 +3247,21 @@ const Oo = { class: "vc-select__control" }, Eo = {
3259
3247
  updateModelValue: (x) => r("update:modelValue", x),
3260
3248
  close: () => r("close")
3261
3249
  }
3262
- }), Pt = C(() => V.value?.loadMoreRef ?? null), qt = C(() => V.value?.viewportRef ?? null);
3250
+ }), zt = C(() => V.value?.loadMoreRef ?? null), qt = C(() => V.value?.viewportRef ?? null);
3263
3251
  yn(
3264
- Pt,
3252
+ zt,
3265
3253
  ([{ isIntersecting: x }]) => {
3266
3254
  x && M.hasMore.value && M.loadMore();
3267
3255
  },
3268
3256
  { threshold: 1, root: qt }
3269
3257
  );
3270
- const Ke = ho({
3258
+ const qe = bo({
3271
3259
  onEnter: (x) => {
3272
3260
  const J = parseInt(x.getAttribute("data-index") || "0", 10);
3273
3261
  $e.value && $e.value[J] && $e.value[J].toggleOption($e.value[J].opt);
3274
3262
  },
3275
3263
  onEscape: () => {
3276
- I.value = !1, r("close"), ye(() => {
3264
+ I.value = !1, r("close"), me(() => {
3277
3265
  k.value?.toggleRef?.querySelector('[role="combobox"]')?.focus();
3278
3266
  });
3279
3267
  }
@@ -3282,19 +3270,19 @@ const Oo = { class: "vc-select__control" }, Eo = {
3282
3270
  I.value = !1, r("close");
3283
3271
  }
3284
3272
  return X(I, async (x) => {
3285
- x ? (await M.open(), ye(() => {
3273
+ x ? (await M.open(), me(() => {
3286
3274
  Me.update();
3287
3275
  const J = V.value?.dropdownElRef, le = V.value?.searchInputRef;
3288
3276
  if (J)
3289
- if (Ke.initKeyboardNavigation(J), n.searchable && le)
3277
+ if (qe.initKeyboardNavigation(J), n.searchable && le)
3290
3278
  le.focus();
3291
3279
  else {
3292
3280
  const Oe = J.querySelector(
3293
3281
  '.vc-select__option[tabindex="0"], .vc-select__search-input[tabindex="0"]'
3294
3282
  );
3295
- Oe ? Oe.focus() : Ke.focusFirstElement();
3283
+ Oe ? Oe.focus() : qe.focusFirstElement();
3296
3284
  }
3297
- })) : (Ke.cleanupKeyboardNavigation(), M.close());
3285
+ })) : (qe.cleanupKeyboardNavigation(), M.close());
3298
3286
  }), X(
3299
3287
  () => n.modelValue,
3300
3288
  async (x) => {
@@ -3315,7 +3303,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3315
3303
  ), (x, J) => i(s) ? (g(), h("div", ae({ key: 0 }, l.value, {
3316
3304
  class: ["vc-select vc-select--skeleton", x.$attrs.class]
3317
3305
  }), [
3318
- e.label ? (g(), P(i(oe), {
3306
+ e.label ? (g(), z(i(oe), {
3319
3307
  key: 0,
3320
3308
  variant: "block",
3321
3309
  width: 60 + (e.label?.length || 0) * 4,
@@ -3343,7 +3331,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3343
3331
  }
3344
3332
  ]]
3345
3333
  }), [
3346
- e.label ? (g(), P(i(qe), {
3334
+ e.label ? (g(), z(i(ze), {
3347
3335
  key: 0,
3348
3336
  id: i(f),
3349
3337
  class: "vc-select__label",
@@ -3351,7 +3339,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3351
3339
  multilanguage: e.multilanguage,
3352
3340
  "current-language": e.currentLanguage,
3353
3341
  error: i(d)
3354
- }, me({
3342
+ }, pe({
3355
3343
  default: E(() => [
3356
3344
  L("span", null, N(e.label), 1)
3357
3345
  ]),
@@ -3362,13 +3350,13 @@ const Oo = { class: "vc-select__control" }, Eo = {
3362
3350
  fn: E(() => [
3363
3351
  L("span", {
3364
3352
  innerHTML: i(En).sanitize(e.tooltip)
3365
- }, null, 8, rl)
3353
+ }, null, 8, il)
3366
3354
  ]),
3367
3355
  key: "0"
3368
3356
  } : void 0
3369
3357
  ]), 1032, ["id", "required", "multilanguage", "current-language", "error"])) : w("", !0),
3370
- L("div", sl, [
3371
- T(Zo, {
3358
+ L("div", rl, [
3359
+ T(Xo, {
3372
3360
  ref_key: "selectTriggerRef",
3373
3361
  ref: k,
3374
3362
  "is-opened": i(I),
@@ -3394,14 +3382,14 @@ const Oo = { class: "vc-select__control" }, Eo = {
3394
3382
  "aria-required": i(b),
3395
3383
  "error-id": i(m),
3396
3384
  "hint-id": i(v),
3397
- "toggle-dropdown": i(z),
3385
+ "toggle-dropdown": i(F),
3398
3386
  "get-option-label": i(A),
3399
3387
  "get-emitting-option-value": i(K),
3400
3388
  onFocus: J[0] || (J[0] = (le) => R.value = !0),
3401
3389
  onBlur: J[1] || (J[1] = (le) => R.value = !1),
3402
- onReset: i(zt),
3403
- onRemoveAtIndex: i(Ft)
3404
- }, me({ _: 2 }, [
3390
+ onReset: i(Ft),
3391
+ onRemoveAtIndex: i(Pt)
3392
+ }, pe({ _: 2 }, [
3405
3393
  x.$slots.control ? {
3406
3394
  name: "control",
3407
3395
  fn: E((le) => [
@@ -3459,7 +3447,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3459
3447
  key: "7"
3460
3448
  } : void 0
3461
3449
  ]), 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"]),
3462
- T(il, ae({
3450
+ T(ll, ae({
3463
3451
  ref_key: "selectDropdownRef",
3464
3452
  ref: V,
3465
3453
  "is-opened": i(I),
@@ -3474,7 +3462,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3474
3462
  "dropdown-toggle-ref": k.value?.toggleRef ?? null,
3475
3463
  onInput: i(M).onInput,
3476
3464
  onClickOutside: Kt
3477
- }), me({ _: 2 }, [
3465
+ }), pe({ _: 2 }, [
3478
3466
  x.$slots.option ? {
3479
3467
  name: "option",
3480
3468
  fn: E((le) => [
@@ -3493,10 +3481,10 @@ const Oo = { class: "vc-select__control" }, Eo = {
3493
3481
  ])
3494
3482
  ], 16));
3495
3483
  }
3496
- }), cl = {
3484
+ }), ul = {
3497
3485
  key: 0,
3498
3486
  class: "vc-input-dropdown vc-input-dropdown--skeleton"
3499
- }, dl = { class: "tw-flex tw-items-center" }, fl = ["aria-label", "aria-expanded", "onClick", "onKeydown"], gl = /* @__PURE__ */ G({
3487
+ }, cl = { class: "tw-flex tw-items-center" }, dl = ["aria-label", "aria-expanded", "onClick", "onKeydown"], fl = /* @__PURE__ */ G({
3500
3488
  __name: "vc-input-dropdown",
3501
3489
  props: {
3502
3490
  modelValue: {},
@@ -3528,9 +3516,9 @@ const Oo = { class: "vc-select__control" }, Eo = {
3528
3516
  },
3529
3517
  emits: ["update:model-value", "update:option", "change", "blur"],
3530
3518
  setup(e) {
3531
- const t = he();
3532
- return (n, a) => i(t) ? (g(), h("div", cl, [
3533
- e.label ? (g(), P(i(oe), {
3519
+ const t = be();
3520
+ return (n, a) => i(t) ? (g(), h("div", ul, [
3521
+ e.label ? (g(), z(i(oe), {
3534
3522
  key: 0,
3535
3523
  variant: "block",
3536
3524
  width: 60 + (e.label?.length || 0) * 4,
@@ -3541,7 +3529,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3541
3529
  width: "100%",
3542
3530
  height: 36
3543
3531
  })
3544
- ])) : (g(), P(i(ul), {
3532
+ ])) : (g(), z(i(sl), {
3545
3533
  key: 1,
3546
3534
  class: "vc-input-dropdown",
3547
3535
  options: e.options,
@@ -3562,7 +3550,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3562
3550
  B(n.$slots, "option", Ce(Be(l)))
3563
3551
  ]),
3564
3552
  control: E(({ toggleHandler: l, isOpened: r }) => [
3565
- T(i(bo), {
3553
+ T(i(yo), {
3566
3554
  placeholder: e.placeholder,
3567
3555
  hint: e.hint,
3568
3556
  clearable: e.clearable,
@@ -3580,9 +3568,9 @@ const Oo = { class: "vc-select__control" }, Eo = {
3580
3568
  class: "vc-input-dropdown__input",
3581
3569
  "onUpdate:modelValue": a[0] || (a[0] = (o) => n.$emit("update:model-value", o)),
3582
3570
  onBlur: a[1] || (a[1] = (o) => n.$emit("blur", o))
3583
- }, me({
3571
+ }, pe({
3584
3572
  "append-inner": E(() => [
3585
- L("div", dl, [
3573
+ L("div", cl, [
3586
3574
  B(n.$slots, "button", { toggleHandler: l }, () => [
3587
3575
  e.options && e.options.length ? (g(), h("button", {
3588
3576
  key: 0,
@@ -3597,9 +3585,9 @@ const Oo = { class: "vc-select__control" }, Eo = {
3597
3585
  _(Y(l, ["stop", "prevent"]), ["enter"]),
3598
3586
  _(Y(l, ["stop", "prevent"]), ["space"])
3599
3587
  ]
3600
- }, N(i(e.option)), 41, fl)) : w("", !0)
3588
+ }, N(i(e.option)), 41, dl)) : w("", !0)
3601
3589
  ]),
3602
- e.options && e.options.length ? (g(), P(i(da), {
3590
+ e.options && e.options.length ? (g(), z(i(ca), {
3603
3591
  key: 0,
3604
3592
  icon: r ? "lucide-chevron-up" : "lucide-chevron-down",
3605
3593
  "icon-size": "s",
@@ -3646,10 +3634,10 @@ const Oo = { class: "vc-select__control" }, Eo = {
3646
3634
  _: 3
3647
3635
  }, 8, ["options", "option-label", "option-value", "searchable", "debounce", "disabled", "label", "required", "model-value", "tooltip", "multilanguage", "current-language"]));
3648
3636
  }
3649
- }), vl = {
3637
+ }), gl = {
3650
3638
  key: 0,
3651
3639
  class: "vc-input-currency vc-input-currency--skeleton"
3652
- }, pl = ["disabled", "placeholder", "aria-label"], pi = /* @__PURE__ */ G({
3640
+ }, vl = ["disabled", "placeholder", "aria-label"], vi = /* @__PURE__ */ G({
3653
3641
  __name: "vc-input-currency",
3654
3642
  props: {
3655
3643
  modelValue: {},
@@ -3679,7 +3667,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3679
3667
  },
3680
3668
  emits: ["update:model-value", "update:option", "change", "blur"],
3681
3669
  setup(e, { emit: t }) {
3682
- const n = e, a = t, l = he(), { inputRef: r, setOptions: o, numberValue: s, setValue: u } = Sn(
3670
+ const n = e, a = t, l = be(), { inputRef: r, setOptions: o, numberValue: s, setValue: u } = Sn(
3683
3671
  {
3684
3672
  locale: navigator.language,
3685
3673
  currency: n.option || "USD",
@@ -3730,8 +3718,8 @@ const Oo = { class: "vc-select__control" }, Eo = {
3730
3718
  const y = c.clipboardData?.getData("text/plain");
3731
3719
  typeof y < "u" && parseInt(y) < 0 && c.preventDefault();
3732
3720
  }
3733
- return (c, y) => i(l) ? (g(), h("div", vl, [
3734
- e.label ? (g(), P(i(oe), {
3721
+ return (c, y) => i(l) ? (g(), h("div", gl, [
3722
+ e.label ? (g(), z(i(oe), {
3735
3723
  key: 0,
3736
3724
  variant: "block",
3737
3725
  width: 60 + (e.label?.length || 0) * 4,
@@ -3742,7 +3730,7 @@ const Oo = { class: "vc-select__control" }, Eo = {
3742
3730
  width: "100%",
3743
3731
  height: 36
3744
3732
  })
3745
- ])) : (g(), P(i(gl), {
3733
+ ])) : (g(), z(i(fl), {
3746
3734
  key: 1,
3747
3735
  class: "vc-input-currency",
3748
3736
  options: e.options,
@@ -3785,31 +3773,31 @@ const Oo = { class: "vc-select__control" }, Eo = {
3785
3773
  onBlur: m,
3786
3774
  onKeydown: v,
3787
3775
  onPaste: d
3788
- }, null, 40, pl)
3776
+ }, null, 40, vl)
3789
3777
  ]),
3790
3778
  _: 1
3791
3779
  }, 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"]));
3792
3780
  }
3793
- }), Vt = Symbol("VcAppBarState"), ml = {
3781
+ }), Vt = Symbol("VcAppBarState"), pl = {
3794
3782
  activeWidgetId: S(null),
3795
3783
  activeMobileActionId: S(null)
3796
3784
  };
3797
- function mi() {
3785
+ function pi() {
3798
3786
  const e = {
3799
3787
  activeWidgetId: S(null),
3800
3788
  activeMobileActionId: S(null)
3801
3789
  };
3802
3790
  return mt(Vt, e), e;
3803
3791
  }
3804
- function yi() {
3805
- return U(Vt, ml);
3792
+ function mi() {
3793
+ return U(Vt, pl);
3806
3794
  }
3807
- const bi = Symbol("TableContext"), yl = Symbol("ColumnCollector"), hi = Symbol("FillerWidth"), Ii = Symbol("IsColumnReordering"), ki = Symbol("FilterContext"), Si = (e, t) => {
3795
+ const yi = Symbol("TableContext"), ml = Symbol("ColumnCollector"), bi = Symbol("FillerWidth"), hi = Symbol("IsColumnReordering"), Ii = Symbol("FilterContext"), ki = (e, t) => {
3808
3796
  const n = e.__vccOpts || e;
3809
3797
  for (const [a, l] of t)
3810
3798
  n[a] = l;
3811
3799
  return n;
3812
- }, wi = G({
3800
+ }, Si = G({
3813
3801
  name: "VcColumn",
3814
3802
  inheritAttrs: !1,
3815
3803
  props: {
@@ -3987,7 +3975,7 @@ const bi = Symbol("TableContext"), yl = Symbol("ColumnCollector"), hi = Symbol("
3987
3975
  }
3988
3976
  },
3989
3977
  setup(e, { slots: t }) {
3990
- const n = U(yl, null), a = Fe();
3978
+ const n = U(ml, null), a = Ne();
3991
3979
  return tt(() => {
3992
3980
  n && a && n.add({
3993
3981
  instance: a,
@@ -3998,8 +3986,8 @@ const bi = Symbol("TableContext"), yl = Symbol("ColumnCollector"), hi = Symbol("
3998
3986
  n && a && n.delete(a);
3999
3987
  }), () => null;
4000
3988
  }
4001
- }), Ie = Ge(/* @__PURE__ */ new Map());
4002
- function $i() {
3989
+ }), Ie = He(/* @__PURE__ */ new Map());
3990
+ function wi() {
4003
3991
  return {
4004
3992
  register: (o) => {
4005
3993
  Ie.set(o.type, o);
@@ -4013,7 +4001,7 @@ function $i() {
4013
4001
  }
4014
4002
  };
4015
4003
  }
4016
- const Oi = G({
4004
+ const $i = G({
4017
4005
  name: "SlotProxy",
4018
4006
  props: {
4019
4007
  slotFn: { type: Function, required: !0 },
@@ -4022,104 +4010,104 @@ const Oi = G({
4022
4010
  setup(e) {
4023
4011
  return () => e.slotFn(e.scope);
4024
4012
  }
4025
- }), Ei = (e, t) => {
4013
+ }), Oi = (e, t) => {
4026
4014
  const n = t.arg ? parseInt(t.arg, 10) : 9e3, a = typeof t.value == "object" ? t.value : { blur: !0 };
4027
4015
  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"));
4028
4016
  };
4029
4017
  export {
4030
- Wn as $,
4031
- Xe as A,
4032
- sa as B,
4033
- Dn as C,
4034
- ta as D,
4035
- li as E,
4036
- oi as F,
4018
+ Un as $,
4019
+ Ye as A,
4020
+ ra as B,
4021
+ Vn as C,
4022
+ ea as D,
4023
+ oi as E,
4024
+ ai as F,
4037
4025
  Rt as G,
4038
- ci as H,
4026
+ ui as H,
4039
4027
  Bn as I,
4040
- _n as J,
4041
- Aa as K,
4042
- na as L,
4043
- aa as M,
4044
- oa as N,
4045
- Fl as O,
4046
- ge as P,
4047
- fa as Q,
4028
+ Qn as J,
4029
+ Ma as K,
4030
+ ta as L,
4031
+ na as M,
4032
+ aa as N,
4033
+ Nl as O,
4034
+ he as P,
4035
+ da as Q,
4048
4036
  ie as R,
4049
- zl as S,
4050
- Nl as T,
4051
- Dl as U,
4037
+ Pl as S,
4038
+ Dl as T,
4039
+ Vl as U,
4052
4040
  ue as V,
4053
- Vl as W,
4054
- ui as X,
4055
- Kl as Y,
4056
- di as Z,
4057
- da as _,
4058
- to as a,
4059
- Un as a0,
4060
- jn as a1,
4061
- Tn as a2,
4062
- An as a3,
4063
- ql as a4,
4064
- Kn as a5,
4065
- jl as a6,
4066
- Gl as a7,
4041
+ Al as W,
4042
+ si as X,
4043
+ ql as Y,
4044
+ ci as Z,
4045
+ ca as _,
4046
+ eo as a,
4047
+ Kn as a0,
4048
+ Wn as a1,
4049
+ xn as a2,
4050
+ Mn as a3,
4051
+ zl as a4,
4052
+ qn as a5,
4053
+ Wl as a6,
4054
+ Hl as a7,
4067
4055
  Ln as a8,
4068
- Mn as a9,
4069
- $i as aA,
4070
- Oi as aB,
4071
- yl as aC,
4072
- ki as aD,
4073
- Nn as aE,
4074
- qn as aa,
4056
+ Tn as a9,
4057
+ wi as aA,
4058
+ $i as aB,
4059
+ ml as aC,
4060
+ Ii as aD,
4061
+ Dn as aE,
4062
+ zn as aa,
4075
4063
  dt as ab,
4076
- ri as ac,
4077
- Jl as ad,
4078
- fi as ae,
4079
- _l as af,
4080
- ii as ag,
4081
- ni as ah,
4082
- Ql as ai,
4083
- ai as aj,
4084
- Hl as ak,
4085
- Ul as al,
4086
- Wl as am,
4087
- ia as an,
4088
- Yl as ao,
4089
- gi as ap,
4090
- ei as aq,
4091
- Pl as ar,
4092
- Zl as as,
4064
+ ii as ac,
4065
+ Gl as ad,
4066
+ di as ae,
4067
+ Ql as af,
4068
+ li as ag,
4069
+ ti as ah,
4070
+ Zl as ai,
4071
+ ni as aj,
4072
+ jl as ak,
4073
+ Kl as al,
4074
+ Ul as am,
4075
+ la as an,
4076
+ Jl as ao,
4077
+ fi as ap,
4078
+ _l as aq,
4079
+ Fl as ar,
4080
+ Xl as as,
4093
4081
  Mt as at,
4094
- vi as au,
4095
- ho as av,
4096
- zn as aw,
4097
- bi as ax,
4098
- hi as ay,
4099
- Ii as az,
4100
- wi as b,
4101
- Ua as c,
4102
- bo as d,
4103
- pi as e,
4104
- gl as f,
4105
- qe as g,
4106
- Ea as h,
4107
- ul as i,
4082
+ gi as au,
4083
+ bo as av,
4084
+ Pn as aw,
4085
+ yi as ax,
4086
+ bi as ay,
4087
+ hi as az,
4088
+ Si as b,
4089
+ Ka as c,
4090
+ yo as d,
4091
+ vi as e,
4092
+ fl as f,
4093
+ ze as g,
4094
+ Oa as h,
4095
+ sl as i,
4108
4096
  oe as j,
4109
- he as k,
4110
- Ei as l,
4111
- Fn as m,
4112
- ze as n,
4113
- Pn as o,
4114
- mi as p,
4115
- Si as q,
4116
- si as r,
4117
- ti as s,
4118
- Vn as t,
4119
- yi as u,
4097
+ be as k,
4098
+ Oi as l,
4099
+ Nn as m,
4100
+ Pe as n,
4101
+ Fn as o,
4102
+ pi as p,
4103
+ ki as q,
4104
+ ri as r,
4105
+ ei as s,
4106
+ An as t,
4107
+ mi as u,
4120
4108
  at as v,
4121
4109
  re as w,
4122
- be as x,
4123
- Ae as y,
4124
- Xl as z
4110
+ ye as x,
4111
+ Xe as y,
4112
+ Yl as z
4125
4113
  };