@vc-shell/framework 2.0.10-pr247.f47cc74 → 2.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/ai-agent/index.js +2 -2
  2. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-CThvtYtw.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-D077_c8I.js} +431 -426
  3. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-CThvtYtw.js.map → VcAiAgentPanel.vue_vue_type_style_index_0_lang-D077_c8I.js.map} +1 -1
  4. package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-DioMlB3f.js → VcTableAdapter.vue_vue_type_style_index_0_lang-B3154ZmD.js} +776 -776
  5. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-B3154ZmD.js.map +1 -0
  6. package/dist/chunks/{index-0btrtSam.js → index-DELXU1qy.js} +1 -1
  7. package/dist/chunks/{index-0btrtSam.js.map → index-DELXU1qy.js.map} +1 -1
  8. package/dist/core/blade-navigation/index.d.ts.map +1 -1
  9. package/dist/core/blade-navigation/table-query-state/useTableQueryState.d.ts +11 -5
  10. package/dist/core/blade-navigation/table-query-state/useTableQueryState.d.ts.map +1 -1
  11. package/dist/core/composables/useBlade/index.d.ts +2 -0
  12. package/dist/core/composables/useBlade/index.d.ts.map +1 -1
  13. package/dist/framework.js +78 -77
  14. package/dist/framework.js.map +1 -1
  15. package/dist/index.css +1 -1
  16. package/dist/tsconfig.tsbuildinfo +1 -1
  17. package/dist/ui/components/organisms/vc-app/_internal/layouts/DesktopLayout.vue.d.ts.map +1 -1
  18. package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
  19. package/dist/ui/components/organisms/vc-data-table/components/VcColumn.vue.d.ts +1 -1
  20. package/dist/ui/components/organisms/vc-data-table/composables/useTableQueryPersistence.d.ts +24 -0
  21. package/dist/ui/components/organisms/vc-data-table/composables/useTableQueryPersistence.d.ts.map +1 -0
  22. package/dist/ui/composables/index.d.ts +0 -1
  23. package/dist/ui/composables/index.d.ts.map +1 -1
  24. package/dist/ui/composables/useDataTablePagination.d.ts +1 -3
  25. package/dist/ui/composables/useDataTablePagination.d.ts.map +1 -1
  26. package/dist/ui/composables/useDataTableSort.d.ts +0 -2
  27. package/dist/ui/composables/useDataTableSort.d.ts.map +1 -1
  28. package/dist/ui/index.js +28 -29
  29. package/package.json +4 -4
  30. package/dist/chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-DioMlB3f.js.map +0 -1
  31. package/dist/ui/composables/useTableSearch.d.ts +0 -18
  32. package/dist/ui/composables/useTableSearch.d.ts.map +0 -1
@@ -1,9 +1,9 @@
1
- import { mergeProps as ke, ref as I, computed as y, getCurrentInstance as ut, inject as ue, defineComponent as K, openBlock as s, createElementBlock as b, createElementVNode as k, reactive as It, provide as Oe, getCurrentScope as Gt, onScopeDispose as Tt, shallowRef as ea, onErrorCaptured as is, nextTick as Ce, watch as ee, onBeforeUnmount as ze, createBlock as N, unref as a, withCtx as T, withDirectives as je, resolveDynamicComponent as Ke, vShow as St, createCommentVNode as _, normalizeClass as q, renderSlot as U, toRef as Te, toValue as _e, toDisplayString as F, onMounted as tt, useId as Ot, withKeys as we, withModifiers as ae, Teleport as rt, createVNode as R, Transition as Be, normalizeStyle as ye, Fragment as te, renderList as me, createTextVNode as se, h as ss, createSlots as xe, markRaw as ml, useSlots as ht, isRef as gt, TransitionGroup as ta, toHandlers as Dl, onUnmounted as qt, hasInjectionContext as wo, watchEffect as Ht, shallowReactive as Fn, useAttrs as la, vModelText as ko, vModelDynamic as rs, normalizeProps as lt, guardReactiveProps as nt, resolveComponent as So, toRefs as cs, vModelCheckbox as us, toRaw as Co } from "vue";
2
- import { d as qe, av as ds, ao as vs, P as fs, h as $o, x as Eo, N as zn, G as ms, z as gs, I as ps, F as bs, C as hs, B as pt, g as na, a4 as _o, a1 as xo, a0 as Ro, ay as bl, a3 as Io, _ as J, X as aa, b as ys, T as Un, n as oa, W as Ao, l as ws, L as Hn, a7 as Wn, K as Gn, O as Fl, y as ks, as as To, a6 as ia, ad as hl, R as qn, ag as Ss, aa as Oo, aA as Cs, Y as $s, J as Es, al as _s, a as xs } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-CThvtYtw.js";
3
- import { c as Mo, d as Yl, o as Rs, u as Xl, e as Is, f as As, g as Ts, h as Os } from "./vendor-vueuse-core-CEdpDfzx.js";
4
- import { f as Kt, s as Mt, o as At, b as Bo, d as Ms } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
1
+ import { mergeProps as ke, ref as I, computed as y, getCurrentInstance as ut, inject as ue, defineComponent as K, openBlock as s, createElementBlock as b, createElementVNode as k, reactive as It, provide as Oe, getCurrentScope as qt, onScopeDispose as Tt, shallowRef as Zn, onErrorCaptured as is, nextTick as Ce, watch as ee, onBeforeUnmount as ze, createBlock as N, unref as a, withCtx as T, withDirectives as je, resolveDynamicComponent as Ke, vShow as St, createCommentVNode as _, normalizeClass as q, renderSlot as U, toRef as Te, toValue as _e, toDisplayString as F, onMounted as tt, useId as Ot, withKeys as we, withModifiers as ae, Teleport as rt, createVNode as R, Transition as Be, normalizeStyle as ye, Fragment as te, renderList as me, createTextVNode as se, h as ss, createSlots as xe, markRaw as ml, useSlots as ht, isRef as gt, TransitionGroup as ea, toHandlers as Dl, onUnmounted as Kt, hasInjectionContext as yo, watchEffect as Wt, shallowReactive as Dn, useAttrs as ta, vModelText as wo, vModelDynamic as rs, normalizeProps as lt, guardReactiveProps as nt, resolveComponent as ko, toRefs as cs, vModelCheckbox as us, toRaw as So } from "vue";
2
+ import { d as qe, av as ds, ao as vs, P as fs, h as Co, x as $o, N as Fn, G as ms, z as gs, I as ps, F as bs, C as hs, B as pt, g as la, a4 as Eo, a1 as _o, a0 as xo, ay as bl, a3 as Ro, _ as J, X as na, b as ys, T as zn, n as aa, W as Io, l as ws, L as Un, a7 as Hn, K as Wn, O as Fl, y as ks, as as Ao, a6 as oa, ad as hl, R as Gn, ag as Ss, aa as To, aA as Cs, Y as $s, J as Es, al as _s, a as xs } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-D077_c8I.js";
3
+ import { c as Oo, d as Yl, o as Rs, u as Xl, e as Is, f as As, g as Ts, h as Os } from "./vendor-vueuse-core-CEdpDfzx.js";
4
+ import { f as jt, s as Mt, o as At, b as Mo, d as Ms } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
5
5
  import { c as Bs, u as Pe } from "./vendor-vue-i18n-LO-EJStU.js";
6
- import { a as Lo, s as Ls, i as Ns, c as Kn, b as En, e as Ut, g as sa } from "./vendor-lodash-es-D2n90GJy.js";
6
+ import { a as Bo, s as Ls, i as Ns, c as qn, b as $n, e as Ht, g as ia } from "./vendor-lodash-es-D2n90GJy.js";
7
7
  import Vs from "../assets/d5f9664ebbfb104b.svg";
8
8
  import Ps from "../assets/4e43c74354534fb3.svg";
9
9
  import Ds from "../assets/e98196a9f8dcb2f0.svg";
@@ -66,9 +66,9 @@ import zr from "../assets/d3f792f54ae4c307.svg";
66
66
  import Ur from "../assets/208f810a9321a327.svg";
67
67
  import Hr from "../assets/72de3a63bc0b70dd.svg";
68
68
  import * as Wr from "vee-validate";
69
- import { defineRule as jt, useField as Gr, useForm as No, useIsFormValid as qr, useIsFormDirty as Kr, Field as fl, PublicFormContextKey as jr } from "vee-validate";
69
+ import { defineRule as Yt, useField as Gr, useForm as Lo, useIsFormValid as qr, useIsFormDirty as Kr, Field as fl, PublicFormContextKey as jr } from "vee-validate";
70
70
  import { I as Yr } from "./vendor-iso-639-1-BEjYyfKo.js";
71
- import { u as Xr, E as Fa } from "./vendor-tiptap-vue-3-BNAw8onj.js";
71
+ import { u as Xr, E as Da } from "./vendor-tiptap-vue-3-BNAw8onj.js";
72
72
  import { S as Qr } from "./vendor-tiptap-starter-kit-ny-AoaO_.js";
73
73
  import { U as Jr } from "./vendor-tiptap-extension-underline-Bo1pXXDN.js";
74
74
  import { T as Zr, a as ec, b as tc, c as lc } from "./vendor-tiptap-extension-table-QVjcLO_H.js";
@@ -79,21 +79,21 @@ import { T as ic } from "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
79
79
  import { M as sc } from "./vendor-tiptap-markdown-18K1hcU0.js";
80
80
  import { J as rc, p as cc } from "./vendor-prettier-2Sf6a5jB.js";
81
81
  import { p as Ql } from "./vendor-dompurify-DpIUMBYC.js";
82
- import { S as zl, N as Vo, a as Ul, M as uc, f as Po, G as dc, K as vc } from "./vendor-swiper-BgqGfw3Y.js";
83
- import { useRouter as Yt, RouterView as fc, useRoute as Xt } from "vue-router";
82
+ import { S as zl, N as No, a as Ul, M as uc, f as Vo, G as dc, K as vc } from "./vendor-swiper-BgqGfw3Y.js";
83
+ import { useRouter as Xt, RouterView as fc, useRoute as Qt } from "vue-router";
84
84
  import { X as mc } from "./vendor-microsoft-applicationinsights-core-js-CR3vyuZc.js";
85
- import { v as Qt, O as gc } from "./vendor-vueuse-components-BW7i7Uhb.js";
85
+ import { v as Jt, O as gc } from "./vendor-vueuse-components-BW7i7Uhb.js";
86
86
  import { u as pc, k as bc } from "./vendor-vueuse-shared-BlCOXw5g.js";
87
87
  import { l as hc, s as yc } from "./vendor-vee-validate-i18n-zT8NxX3R.js";
88
- import { a as za } from "./vendor-vee-validate-rules-4oWUZPpG.js";
88
+ import { a as Fa } from "./vendor-vee-validate-rules-4oWUZPpG.js";
89
89
  import "./vendor-cypress-signalr-mock-itnm2wpA.js";
90
90
  import "./ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
91
- import { S as wc, Y as kc, h as Ua, G as Sc, V as Cc } from "./vendor-headlessui-vue-Cn-RMs4E.js";
92
- import { S as Do } from "./vendor-sortablejs-Bsvu-FKn.js";
91
+ import { S as wc, Y as kc, h as za, G as Sc, V as Cc } from "./vendor-headlessui-vue-Cn-RMs4E.js";
92
+ import { S as Po } from "./vendor-sortablejs-Bsvu-FKn.js";
93
93
  import { k as $c } from "./vendor-tiptap-core-CZbeo7XQ.js";
94
94
  import { q as Ec } from "./vendor-vuepic-vue-datepicker-CaZ_qpJp.js";
95
95
  import { C as _c, u as xc } from "./vendor-vue-currency-input-CckB4kjx.js";
96
- import { u as Fo, a as Rc } from "./vendor-floating-ui-vue-sCrhit51.js";
96
+ import { u as Do, a as Rc } from "./vendor-floating-ui-vue-sCrhit51.js";
97
97
  import { t as Ic } from "./vendor-truncate-html-ChA1T5zy.js";
98
98
  import { S as Rt, h as Ac, T as Tc } from "./vendor-date-fns-BKO3x1R1.js";
99
99
  const et = Bs({
@@ -103,7 +103,7 @@ const et = Bs({
103
103
  fallbackLocale: "en",
104
104
  formatFallbackMessages: !0
105
105
  });
106
- function jn() {
106
+ function Kn() {
107
107
  return Math.random().toString(36).substring(2, 9);
108
108
  }
109
109
  class ct extends Error {
@@ -120,12 +120,12 @@ class ct extends Error {
120
120
  };
121
121
  }
122
122
  }
123
- class AE extends ct {
123
+ class TE extends ct {
124
124
  constructor(l, t) {
125
125
  super(l, "VALIDATION_ERROR", t), this.name = "ValidationError";
126
126
  }
127
127
  }
128
- class TE extends ct {
128
+ class OE extends ct {
129
129
  constructor(l, t) {
130
130
  super(l, "SERVICE_ERROR", t), this.name = "ServiceError";
131
131
  }
@@ -138,7 +138,7 @@ class Bt extends ct {
138
138
  }), this.name = "InjectionError";
139
139
  }
140
140
  }
141
- class OE extends ct {
141
+ class ME extends ct {
142
142
  constructor(l, t, n) {
143
143
  super(`Failed to register '${l}': ${t}`, "REGISTRATION_ERROR", {
144
144
  componentName: l,
@@ -146,7 +146,7 @@ class OE extends ct {
146
146
  }), this.name = "RegistrationError";
147
147
  }
148
148
  }
149
- class ME extends ct {
149
+ class BE extends ct {
150
150
  constructor(l, t, n) {
151
151
  super(l, "BLADE_ERROR", {
152
152
  bladeId: t,
@@ -154,7 +154,7 @@ class ME extends ct {
154
154
  }), this.name = "BladeError";
155
155
  }
156
156
  }
157
- class BE extends ct {
157
+ class LE extends ct {
158
158
  constructor(l, t, n) {
159
159
  super(`Failed to load module '${l}': ${t}`, "MODULE_LOAD_ERROR", {
160
160
  moduleId: l,
@@ -165,32 +165,32 @@ class BE extends ct {
165
165
  function Oc(e) {
166
166
  return e instanceof ct;
167
167
  }
168
- function LE(e, l = "UNKNOWN_ERROR") {
168
+ function NE(e, l = "UNKNOWN_ERROR") {
169
169
  return Oc(e) ? e : e instanceof Error ? new ct(e.message, l, {
170
170
  originalError: e.name,
171
171
  stack: e.stack
172
172
  }) : new ct(String(e), l);
173
173
  }
174
- class Dt extends Error {
174
+ class Ft extends Error {
175
175
  details;
176
176
  originalError;
177
177
  constructor(l, t, n) {
178
178
  super(l), this.name = "DisplayableError", this.details = t, this.originalError = n;
179
179
  }
180
180
  }
181
- function Yn(e) {
182
- if (e instanceof Dt)
181
+ function jn(e) {
182
+ if (e instanceof Ft)
183
183
  return e;
184
184
  if (e instanceof Error && "response" in e && e.response)
185
- return Yn(e.response);
185
+ return jn(e.response);
186
186
  if (e instanceof Error)
187
- return new Dt(e.message, e.stack || String(e), e);
187
+ return new Ft(e.message, e.stack || String(e), e);
188
188
  if (typeof e == "string")
189
189
  try {
190
190
  const l = JSON.parse(e);
191
- return Yn(l);
191
+ return jn(l);
192
192
  } catch {
193
- return new Dt(e, e, e);
193
+ return new Ft(e, e, e);
194
194
  }
195
195
  if (typeof e == "object" && e !== null) {
196
196
  const l = e;
@@ -198,12 +198,12 @@ function Yn(e) {
198
198
  const r = l.status, i = l.statusText || "Error", o = `${r}: ${i}`, c = l.data;
199
199
  let u = "";
200
200
  return c ? typeof c.exceptionMessage == "string" ? u = c.exceptionMessage : typeof c.message == "string" ? u = c.message : Array.isArray(c.errors) ? u = c.errors.join(`
201
- `) : typeof c == "string" ? u = c : u = JSON.stringify(c, null, 2) : u = JSON.stringify(l, null, 2), new Dt(o, u, e);
201
+ `) : typeof c == "string" ? u = c : u = JSON.stringify(c, null, 2) : u = JSON.stringify(l, null, 2), new Ft(o, u, e);
202
202
  }
203
203
  const t = l.message || "An unexpected error occurred.", n = l.stack || JSON.stringify(l, null, 2);
204
- return new Dt(t, n, e);
204
+ return new Ft(t, n, e);
205
205
  }
206
- return new Dt("An unknown error occurred.", String(e), e);
206
+ return new Ft("An unknown error occurred.", String(e), e);
207
207
  }
208
208
  const Mc = [
209
209
  ["LLLL", "PPPp"],
@@ -256,29 +256,29 @@ async function Nc(e) {
256
256
  return mt.set(e, Rt), Rt;
257
257
  }
258
258
  }
259
- function zo(e) {
259
+ function Fo(e) {
260
260
  return mt.has(e) ? mt.get(e) : (Nc(e), Rt);
261
261
  }
262
- function Uo(e) {
262
+ function zo(e) {
263
263
  if (e == null || e === "") return null;
264
264
  if (e instanceof Date) return isNaN(e.getTime()) ? null : e;
265
265
  const l = new Date(e);
266
266
  return isNaN(l.getTime()) ? null : l;
267
267
  }
268
- function Ho(e, l) {
269
- const t = Uo(e);
268
+ function Uo(e, l) {
269
+ const t = zo(e);
270
270
  if (!t) return "";
271
- const n = l ? zo(l) : void 0;
271
+ const n = l ? Fo(l) : void 0;
272
272
  return Tc(t, { addSuffix: !0, locale: n });
273
273
  }
274
274
  function Vc(e, l, t) {
275
- const n = Uo(e);
275
+ const n = zo(e);
276
276
  if (!n) return "";
277
- const r = Lc(l), i = t ? zo(t) : void 0;
277
+ const r = Lc(l), i = t ? Fo(t) : void 0;
278
278
  return Ac(n, r, { locale: i });
279
279
  }
280
280
  const Pc = qe("color-utils");
281
- function ra(e) {
281
+ function sa(e) {
282
282
  if (!e || typeof e != "string")
283
283
  return null;
284
284
  try {
@@ -296,7 +296,7 @@ function Dc(e) {
296
296
  const l = e.startsWith("#") ? e : `#${e}`;
297
297
  return /^#[0-9A-Fa-f]{6}$/.test(l);
298
298
  }
299
- function Ha(e) {
299
+ function Ua(e) {
300
300
  return !e || typeof e != "string" ? "" : e.startsWith("#") ? e : `#${e}`;
301
301
  }
302
302
  function Fc(e) {
@@ -304,7 +304,7 @@ function Fc(e) {
304
304
  const l = typeof e == "string" ? parseInt(e) : e;
305
305
  return !isNaN(l) && l > 99 ? "99+" : String(e);
306
306
  }
307
- function ca(e, l) {
307
+ function ra(e, l) {
308
308
  if (!e || !l || e.includes(`_${l}`)) return e;
309
309
  const t = e.lastIndexOf("/"), n = e.indexOf("?", t), i = (n > -1 ? e.slice(t + 1, n) : e.slice(t + 1)).lastIndexOf(".");
310
310
  if (i <= 0)
@@ -312,7 +312,7 @@ function ca(e, l) {
312
312
  const o = t + 1 + i, c = e.slice(0, o), u = e.slice(o);
313
313
  return `${c}_${l}${u}`;
314
314
  }
315
- function NE(e) {
315
+ function VE(e) {
316
316
  return e <= 64 ? "64x64" : e <= 128 ? "128x128" : e <= 168 ? "168x168" : e <= 216 ? "216x216" : e <= 348 ? "348x348" : "lg";
317
317
  }
318
318
  const Lt = () => {
@@ -369,7 +369,7 @@ function wl(e, l) {
369
369
  return l = ke(
370
370
  Fe.defaultOptions,
371
371
  l
372
- ), (!l.notificationId || typeof l.notificationId != "string" && typeof l.notificationId != "number") && (l.notificationId = jn()), l = {
372
+ ), (!l.notificationId || typeof l.notificationId != "string" && typeof l.notificationId != "number") && (l.notificationId = Kn()), l = {
373
373
  ...l,
374
374
  content: e
375
375
  }, Fe.appendInstance(l), l.notificationId;
@@ -394,7 +394,7 @@ Qe.update = (e, l) => {
394
394
  const n = {
395
395
  ...t,
396
396
  ...l,
397
- updateId: jn(),
397
+ updateId: Kn(),
398
398
  notificationId: e
399
399
  };
400
400
  let r;
@@ -403,7 +403,7 @@ Qe.update = (e, l) => {
403
403
  } else {
404
404
  const n = {
405
405
  ...l,
406
- updateId: jn(),
406
+ updateId: Kn(),
407
407
  notificationId: e
408
408
  };
409
409
  return Fe.actions.update(n), e;
@@ -502,7 +502,7 @@ function Yc() {
502
502
  }
503
503
  return { handle: l };
504
504
  }
505
- const Wa = qe("notification-store");
505
+ const Ha = qe("notification-store");
506
506
  function Xc(e) {
507
507
  const l = /* @__PURE__ */ new Map(), t = I([]), n = I([]), r = /* @__PURE__ */ new Map();
508
508
  let i = 0;
@@ -546,7 +546,7 @@ function Xc(e) {
546
546
  try {
547
547
  await u.markAllAsRead();
548
548
  } catch (O) {
549
- Wa.error("markAllAsRead failed:", O);
549
+ Ha.error("markAllAsRead failed:", O);
550
550
  }
551
551
  }
552
552
  async function m(O = 10) {
@@ -554,7 +554,7 @@ function Xc(e) {
554
554
  const P = { take: O }, B = await u.searchPushNotification(P);
555
555
  t.value = B.notifyEvents ?? [];
556
556
  } catch (P) {
557
- throw Wa.error("loadHistory failed:", P), P;
557
+ throw Ha.error("loadHistory failed:", P), P;
558
558
  }
559
559
  }
560
560
  function C(O) {
@@ -601,7 +601,7 @@ function Jl() {
601
601
  }
602
602
  return Al || (Al = Xc()), Al;
603
603
  }
604
- function VE(e) {
604
+ function PE(e) {
605
605
  const l = /* @__PURE__ */ new Map();
606
606
  function t(i, o) {
607
607
  l.set(i, o);
@@ -630,24 +630,24 @@ function VE(e) {
630
630
  cleanup: r
631
631
  };
632
632
  }
633
- function Wo() {
634
- const e = ue($o);
633
+ function Ho() {
634
+ const e = ue(Co);
635
635
  if (!e)
636
636
  throw new Error("[useBladeMessaging] BladeMessaging not found. Ensure BladeNavigationPlugin is installed.");
637
637
  return e;
638
638
  }
639
639
  const Hl = /* @__PURE__ */ new Map();
640
- function PE(e, l) {
640
+ function DE(e, l) {
641
641
  Hl.has(e) && console.warn(`[defineBlade] Duplicate blade name: "${e}". Overwriting.`), Hl.set(e, l);
642
642
  }
643
643
  function Qc(e) {
644
644
  return Hl.get(e);
645
645
  }
646
- function DE() {
646
+ function FE() {
647
647
  return Hl;
648
648
  }
649
- const Zl = Symbol("TableQueryState");
650
- function Ga(e, l) {
649
+ const Wo = Symbol("TableQueryState");
650
+ function Wa(e, l) {
651
651
  const t = {};
652
652
  return "sort" in l && (t[`${e}_sort`] = l.sort ?? ""), "search" in l && (t[`${e}_search`] = l.search ?? ""), "page" in l && (t[`${e}_page`] = l.page != null ? String(l.page) : ""), t;
653
653
  }
@@ -670,7 +670,7 @@ function tu(e) {
670
670
  return e.replace(/^\/+|\/+$/g, "") || void 0;
671
671
  }
672
672
  function lu(e) {
673
- const { descriptor: l, router: t, bladeStack: n } = e, { syncUrlReplace: r } = Eo(t, n), i = /* @__PURE__ */ new Map();
673
+ const { descriptor: l, router: t, bladeStack: n } = e, { syncUrlReplace: r } = $o(t, n), i = /* @__PURE__ */ new Map();
674
674
  let o;
675
675
  function c(v) {
676
676
  return v || tu(l.value.url);
@@ -679,7 +679,7 @@ function lu(e) {
679
679
  const p = c(v);
680
680
  if (!p) return {};
681
681
  const f = Zc(p, t.currentRoute.value.query);
682
- return Object.keys(f).length > 0 && n.updateBladeQuery(l.value.id, Ga(p, f)), f;
682
+ return Object.keys(f).length > 0 && n.updateBladeQuery(l.value.id, Wa(p, f)), f;
683
683
  }
684
684
  function d(v, p) {
685
685
  const f = c(v);
@@ -687,13 +687,13 @@ function lu(e) {
687
687
  o = void 0;
688
688
  const g = l.value.id;
689
689
  for (const [h, m] of i)
690
- n.updateBladeQuery(g, Ga(h, m));
690
+ n.updateBladeQuery(g, Wa(h, m));
691
691
  i.clear(), r();
692
692
  }, eu));
693
693
  }
694
694
  return { read: u, write: d };
695
695
  }
696
- const nu = ["width", "height"], FE = /* @__PURE__ */ K({
696
+ const nu = ["width", "height"], zE = /* @__PURE__ */ K({
697
697
  __name: "MenuBurgerIcon",
698
698
  props: {
699
699
  width: {},
@@ -721,8 +721,8 @@ function au(e, l) {
721
721
  const t = e.getRoutes(), n = t.find((i) => i.meta?.root), r = t.find((i) => i.aliasOf?.path === n?.path) ?? n;
722
722
  r?.name && e.replace({ name: r.name, params: l });
723
723
  }
724
- Object.keys(za).forEach((e) => {
725
- jt(e, za[e]);
724
+ Object.keys(Fa).forEach((e) => {
725
+ Yt(e, Fa[e]);
726
726
  });
727
727
  const ou = (e, [l, t]) => {
728
728
  if (!e?.files || !e.files?.length)
@@ -747,7 +747,7 @@ const ou = (e, [l, t]) => {
747
747
  return c === !1 || typeof c == "string" ? c : !0;
748
748
  });
749
749
  };
750
- jt("mindimensions", ou);
750
+ Yt("mindimensions", ou);
751
751
  const iu = (e, [l]) => {
752
752
  if (!e?.files || !e.files?.length)
753
753
  return !0;
@@ -756,19 +756,19 @@ const iu = (e, [l]) => {
756
756
  r.push(e.files[c]);
757
757
  return r.map((c) => n(c)).find((c) => c === !0) ? et.global.t("messages.file_weight", { size: l }) : !0;
758
758
  };
759
- jt("fileWeight", iu);
759
+ Yt("fileWeight", iu);
760
760
  const Go = (e, [l], t, n) => {
761
761
  if (!e || typeof e == "string" && !e.length)
762
762
  return !0;
763
763
  let r, i;
764
764
  return e instanceof Date && (r = e), l instanceof Date && (i = l), typeof e == "string" && (r = new Date(e)), typeof l == "string" && (i = new Date(l)), r?.getTime && r?.getTime() > 0 && i?.getTime && i?.getTime() > 0 && t(i.getTime(), r.getTime()) ? n : !0;
765
765
  }, su = (e, [l]) => Go(e, [l], (t, n) => t < n, et.global.t("messages.before"));
766
- jt("before", su);
766
+ Yt("before", su);
767
767
  const ru = (e, [l]) => Go(e, [l], (t, n) => t > n, et.global.t("messages.after"));
768
- jt("after", ru);
768
+ Yt("after", ru);
769
769
  const cu = (e) => Number.isSafeInteger(parseInt(e)) ? !0 : et.global.t("messages.bigint");
770
- jt("bigint", cu);
771
- function Jt(e) {
770
+ Yt("bigint", cu);
771
+ function Zt(e) {
772
772
  const l = qe(`${e.name}-bus`), t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set();
773
773
  function r(f) {
774
774
  const g = e.getKey(f);
@@ -911,9 +911,9 @@ function Ko(e) {
911
911
  };
912
912
  }
913
913
  function Wl(e) {
914
- 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(Lo(e, "title"))}`;
914
+ 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(Bo(e, "title"))}`;
915
915
  }
916
- const kl = I(/* @__PURE__ */ new Map()), bt = Jt({
916
+ const kl = I(/* @__PURE__ */ new Map()), bt = Zt({
917
917
  name: "menu-service",
918
918
  getKey: Wl,
919
919
  registerIntoService: (e, l) => e.addMenuItem(l)
@@ -921,28 +921,28 @@ const kl = I(/* @__PURE__ */ new Map()), bt = Jt({
921
921
  function uu(e) {
922
922
  bt.preregister(e);
923
923
  }
924
- function zE(e) {
925
- bt.removePreregistered((l) => ua(l, e)), bt.broadcast((l) => l.removeMenuItem(e));
924
+ function UE(e) {
925
+ bt.removePreregistered((l) => ca(l, e)), bt.broadcast((l) => l.removeMenuItem(e));
926
926
  }
927
- function UE(e, l) {
927
+ function HE(e, l) {
928
928
  kl.value.set(e, l), bt.broadcast((t) => {
929
929
  t.menuBadges.value.set(e, l);
930
930
  });
931
931
  }
932
- function HE(e) {
932
+ function WE(e) {
933
933
  const l = bt.getFirstInstance();
934
934
  return l ? l.menuBadges.value.get(e) : kl.value.get(e);
935
935
  }
936
- function WE(e) {
936
+ function GE(e) {
937
937
  kl.value.delete(e), bt.broadcast((l) => {
938
938
  l.menuBadges.value.delete(e);
939
939
  });
940
940
  }
941
- function GE() {
941
+ function qE() {
942
942
  return bt.getFirstInstance()?.menuBadges ?? kl;
943
943
  }
944
- const Xn = 1 / 0, du = 1 / 0;
945
- function ua(e, l) {
944
+ const Yn = 1 / 0, du = 1 / 0;
945
+ function ca(e, l) {
946
946
  return Wl(e) === Wl(l);
947
947
  }
948
948
  function vu(e) {
@@ -961,7 +961,7 @@ function vu(e) {
961
961
  };
962
962
  }
963
963
  function fu(e, l) {
964
- return (e.priority ?? Xn) - (l.priority ?? Xn);
964
+ return (e.priority ?? Yn) - (l.priority ?? Yn);
965
965
  }
966
966
  function mu(e, l) {
967
967
  const t = (n) => n.inGroupPriority ?? n.priority ?? du;
@@ -969,10 +969,10 @@ function mu(e, l) {
969
969
  }
970
970
  function gu(e, l) {
971
971
  const t = vu(e), n = {
972
- ...Lo(e, ["group", "groupIcon", "groupPriority", "groupConfig"])
972
+ ...Bo(e, ["group", "groupIcon", "groupPriority", "groupConfig"])
973
973
  }, r = l.get(t.groupId);
974
974
  if (r) {
975
- const i = [...r.children ?? []], o = i.findIndex((c) => ua(c, n));
975
+ const i = [...r.children ?? []], o = i.findIndex((c) => ca(c, n));
976
976
  o > -1 ? i[o] = n : i.push(n), l.set(t.groupId, {
977
977
  ...r,
978
978
  children: i,
@@ -987,11 +987,11 @@ function gu(e, l) {
987
987
  groupIcon: t.groupIcon ?? "",
988
988
  title: t.groupTitle,
989
989
  children: [n],
990
- priority: t.groupPriority ?? e.priority ?? Xn,
990
+ priority: t.groupPriority ?? e.priority ?? Yn,
991
991
  permissions: t.groupPermissions
992
992
  });
993
993
  }
994
- function qa(e) {
994
+ function Ga(e) {
995
995
  const l = /* @__PURE__ */ new Map(), t = /* @__PURE__ */ new Map();
996
996
  for (const n of e)
997
997
  n.group || n.groupConfig ? gu(n, l) : n.title && t.set(Wl(n), { ...n });
@@ -1010,11 +1010,11 @@ function bu() {
1010
1010
  let l = [];
1011
1011
  const t = I(new Map(kl.value));
1012
1012
  function n(o) {
1013
- l.push(o), e.value = qa(l);
1013
+ l.push(o), e.value = Ga(l);
1014
1014
  }
1015
1015
  function r(o) {
1016
1016
  const c = l.length;
1017
- l = l.filter((u) => !ua(u, o)), l.length !== c && (e.value = qa(l));
1017
+ l = l.filter((u) => !ca(u, o)), l.length !== c && (e.value = Ga(l));
1018
1018
  }
1019
1019
  const i = {
1020
1020
  addMenuItem: n,
@@ -1025,25 +1025,25 @@ function bu() {
1025
1025
  return bt.replayInto(i), i;
1026
1026
  }
1027
1027
  const hu = qe("use-menu-service");
1028
- function qE() {
1029
- const e = ue(zn, null);
1028
+ function KE() {
1029
+ const e = ue(Fn, null);
1030
1030
  if (e)
1031
1031
  return e;
1032
1032
  const l = bu();
1033
- return Oe(zn, l), Gt() && Tt(() => bt.dispose(l)), l;
1033
+ return Oe(Fn, l), qt() && Tt(() => bt.dispose(l)), l;
1034
1034
  }
1035
1035
  function jo() {
1036
- const e = ue(zn);
1036
+ const e = ue(Fn);
1037
1037
  if (!e)
1038
1038
  throw hu.error("Menu service not found in current context. Injection chain:", ut()), new Bt("MenuService");
1039
1039
  return e;
1040
1040
  }
1041
- const _n = qe("blade-registry"), yu = Symbol("BladeRegistry");
1042
- function Ka(e) {
1041
+ const En = qe("blade-registry"), yu = Symbol("BladeRegistry");
1042
+ function qa(e) {
1043
1043
  return !(!e || typeof e != "function" && typeof e != "object");
1044
1044
  }
1045
- function KE(e) {
1046
- const l = ea(/* @__PURE__ */ new Map()), t = /* @__PURE__ */ new Map();
1045
+ function jE(e) {
1046
+ const l = Zn(/* @__PURE__ */ new Map()), t = /* @__PURE__ */ new Map();
1047
1047
  function n(v) {
1048
1048
  return v.startsWith("/") ? v : `/${v}`;
1049
1049
  }
@@ -1052,7 +1052,7 @@ function KE(e) {
1052
1052
  throw new Error("BladeRegistry: Blade name must be a non-empty string");
1053
1053
  if (!p?.component)
1054
1054
  throw new Error(`BladeRegistry: Registration data must include a component for blade '${v}'`);
1055
- if (!Ka(p.component))
1055
+ if (!qa(p.component))
1056
1056
  throw new Error(`BladeRegistry: Invalid component provided for blade '${v}'`);
1057
1057
  const g = Qc(v), h = p.component, m = g?.url ?? p.route, C = g?.isWorkspace ?? p.isWorkspace ?? !1, w = g?.routable ?? p.routable !== !1, $ = g?.permissions ?? p.permissions, A = g?.menuItem ?? h.menuItem, O = new Map(l.value);
1058
1058
  if (O.has(v)) {
@@ -1060,10 +1060,10 @@ function KE(e) {
1060
1060
  throw new Error(
1061
1061
  `BladeRegistry: Blade '${v}' is already registered. Use allowOverwrite=true if intentional (e.g. dynamic module hot-reload).`
1062
1062
  );
1063
- _n.warn(`Blade '${v}' is already registered. Overwriting (allowOverwrite=true).`);
1063
+ En.warn(`Blade '${v}' is already registered. Overwriting (allowOverwrite=true).`);
1064
1064
  }
1065
1065
  const P = e.component(v);
1066
- (!P || P !== h) && (P && P !== h && _n.warn(
1066
+ (!P || P !== h) && (P && P !== h && En.warn(
1067
1067
  `Global component '${v}' already exists and is different. Overwriting with new blade component.`
1068
1068
  ), e.component(v, h));
1069
1069
  const B = {
@@ -1092,10 +1092,10 @@ function KE(e) {
1092
1092
  return p.component;
1093
1093
  try {
1094
1094
  const f = e._context.components[v];
1095
- if (f && Ka(f))
1095
+ if (f && qa(f))
1096
1096
  return f;
1097
1097
  } catch (f) {
1098
- _n.warn(`Error accessing global component '${v}':`, f);
1098
+ En.warn(`Error accessing global component '${v}':`, f);
1099
1099
  }
1100
1100
  }
1101
1101
  function c(v) {
@@ -1171,7 +1171,7 @@ function Eu(e) {
1171
1171
  if (i.value)
1172
1172
  return !e;
1173
1173
  i.value = !0;
1174
- const u = Yn(c);
1174
+ const u = jn(c);
1175
1175
  return l.value = u, n && n.trackException({
1176
1176
  exception: u,
1177
1177
  properties: {
@@ -1187,7 +1187,7 @@ function Eu(e) {
1187
1187
  };
1188
1188
  }
1189
1189
  const Pl = /* @__PURE__ */ new WeakMap();
1190
- function jE(e, l, t) {
1190
+ function YE(e, l, t) {
1191
1191
  Pl.set(e, { timerId: l, notifId: t });
1192
1192
  }
1193
1193
  function _u(e) {
@@ -1217,7 +1217,7 @@ const xu = K({
1217
1217
  }
1218
1218
  },
1219
1219
  setup(e, { slots: l }) {
1220
- const t = ue(pt, void 0), n = ue(na, void 0), r = !!(t && n), { error: i, reset: o } = Eu(r || e.capture);
1220
+ const t = ue(pt, void 0), n = ue(la, void 0), r = !!(t && n), { error: i, reset: o } = Eu(r || e.capture);
1221
1221
  return r && ee(i, (c) => {
1222
1222
  const u = t.value.id;
1223
1223
  c ? (_u(c), n.setBladeError(u, c)) : n.clearBladeError(u);
@@ -1246,20 +1246,20 @@ const xu = K({
1246
1246
  maximized: i.value,
1247
1247
  breadcrumbs: t.breadcrumbs
1248
1248
  }))
1249
- ), Oe(_o, i), Oe(xo, o), Oe(
1250
- Ro,
1249
+ ), Oe(Eo, i), Oe(_o, o), Oe(
1250
+ xo,
1251
1251
  y(() => t.backButton)
1252
1252
  );
1253
- const d = Yt();
1253
+ const d = Xt();
1254
1254
  Oe(
1255
- Zl,
1255
+ Wo,
1256
1256
  d ? lu({
1257
1257
  descriptor: y(() => t.descriptor),
1258
1258
  router: d,
1259
1259
  bladeStack: bl()
1260
1260
  }) : void 0
1261
1261
  );
1262
- const v = Wo();
1262
+ const v = Ho();
1263
1263
  ee(
1264
1264
  c,
1265
1265
  (m) => {
@@ -1309,7 +1309,7 @@ const xu = K({
1309
1309
  }
1310
1310
  }), Yo = Symbol("vc-button-group");
1311
1311
  function Ge() {
1312
- return ue(Io, I(!1));
1312
+ return ue(Ro, I(!1));
1313
1313
  }
1314
1314
  const Au = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], Tu = {
1315
1315
  key: 2,
@@ -1377,7 +1377,7 @@ const Au = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], Tu =
1377
1377
  ])) : _("", !0)
1378
1378
  ], 10, Au));
1379
1379
  }
1380
- }), YE = /* @__PURE__ */ K({
1380
+ }), XE = /* @__PURE__ */ K({
1381
1381
  __name: "vc-button-group",
1382
1382
  props: {
1383
1383
  orientation: { default: "horizontal" },
@@ -1455,17 +1455,17 @@ const Au = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], Tu =
1455
1455
  ], 2));
1456
1456
  }
1457
1457
  });
1458
- function ja(e) {
1458
+ function Ka(e) {
1459
1459
  const l = e.style.flexShrink;
1460
1460
  e.style.flexShrink = "0";
1461
1461
  const t = getComputedStyle(e), n = e.offsetWidth + parseFloat(t.marginLeft || "0") + parseFloat(t.marginRight || "0");
1462
1462
  return e.style.flexShrink = l, n;
1463
1463
  }
1464
- function xn(e) {
1464
+ function _n(e) {
1465
1465
  const l = getComputedStyle(e), t = l.columnGap || l.gap || "0px";
1466
1466
  return parseFloat(t) || 0;
1467
1467
  }
1468
- function da(e) {
1468
+ function ua(e) {
1469
1469
  const {
1470
1470
  containerRef: l,
1471
1471
  items: t,
@@ -1473,13 +1473,13 @@ function da(e) {
1473
1473
  moreButtonWidth: r,
1474
1474
  calculationStrategy: i = "forward",
1475
1475
  initialItemWidth: o = 50
1476
- } = e, { width: c } = Mo(l), u = I(/* @__PURE__ */ new Map()), d = I(null), v = I(0), p = I([]), f = I([]), g = y(() => f.value.length > 0);
1476
+ } = e, { width: c } = Oo(l), u = I(/* @__PURE__ */ new Map()), d = I(null), v = I(0), p = I([]), f = I([]), g = y(() => f.value.length > 0);
1477
1477
  let h = null;
1478
1478
  const m = /* @__PURE__ */ new Set(), C = () => d.value ?? r, w = () => {
1479
1479
  if (!l.value) return;
1480
1480
  const D = l.value.querySelector("[data-more-button]");
1481
1481
  if (D) {
1482
- const L = ja(D);
1482
+ const L = Ka(D);
1483
1483
  L > 0 && (d.value = L);
1484
1484
  }
1485
1485
  }, $ = (D) => {
@@ -1499,7 +1499,7 @@ function da(e) {
1499
1499
  p.value = [...t.value], f.value = [];
1500
1500
  return;
1501
1501
  }
1502
- v.value = xn(l.value);
1502
+ v.value = _n(l.value);
1503
1503
  const D = v.value, L = i === "reverse" ? [...t.value].reverse() : t.value;
1504
1504
  let M = A(L, c.value);
1505
1505
  if (M.hidden.length > 0) {
@@ -1509,10 +1509,10 @@ function da(e) {
1509
1509
  i === "reverse" ? (p.value = M.visible.reverse(), f.value = M.hidden.reverse()) : (p.value = M.visible, f.value = M.hidden);
1510
1510
  }, P = () => {
1511
1511
  if (!l.value) return;
1512
- v.value = xn(l.value), w(), l.value.querySelectorAll("[data-item-key]").forEach((L) => {
1512
+ v.value = _n(l.value), w(), l.value.querySelectorAll("[data-item-key]").forEach((L) => {
1513
1513
  const M = L.getAttribute("data-item-key");
1514
1514
  if (M) {
1515
- const S = ja(L);
1515
+ const S = Ka(L);
1516
1516
  S > 0 && u.value.set(M, S);
1517
1517
  }
1518
1518
  }), O();
@@ -1543,7 +1543,7 @@ function da(e) {
1543
1543
  P();
1544
1544
  });
1545
1545
  }, V = pc(() => {
1546
- l.value && (v.value = xn(l.value)), O();
1546
+ l.value && (v.value = _n(l.value)), O();
1547
1547
  }, 50);
1548
1548
  return ee(c, () => {
1549
1549
  V();
@@ -1578,7 +1578,7 @@ function da(e) {
1578
1578
  updateObserver: x
1579
1579
  };
1580
1580
  }
1581
- function en(e = {}) {
1581
+ function Zl(e = {}) {
1582
1582
  const l = e.collapsedHeight ?? 0, t = e.maxExpandedHeight, n = I(), r = I(0), i = I(e.expanded ?? !1), o = y(() => r.value > l), c = y(() => t !== void 0 && r.value > t), u = y(() => i.value ? t !== void 0 && r.value > t ? { maxHeight: `${t}px` } : { maxHeight: `${r.value}px` } : { maxHeight: l > 0 ? `${l}px` : "0px" });
1583
1583
  function d() {
1584
1584
  i.value = !i.value;
@@ -1595,13 +1595,13 @@ function en(e = {}) {
1595
1595
  toggle: d
1596
1596
  };
1597
1597
  }
1598
- function Zt(e, l, t = {}) {
1598
+ function el(e, l, t = {}) {
1599
1599
  const n = y(() => _e(t.placement) ?? "bottom"), r = y(() => _e(t.strategy) ?? "absolute"), i = y(() => {
1600
1600
  const u = _e(t.middleware);
1601
1601
  if (u?.length)
1602
1602
  return u;
1603
1603
  const d = [];
1604
- _e(t.enableFlip) !== !1 && d.push(Kt({ padding: t.shiftPadding ?? 8 })), _e(t.enableShift) !== !1 && d.push(Mt({ padding: t.shiftPadding ?? 8 }));
1604
+ _e(t.enableFlip) !== !1 && d.push(jt({ padding: t.shiftPadding ?? 8 })), _e(t.enableShift) !== !1 && d.push(Mt({ padding: t.shiftPadding ?? 8 }));
1605
1605
  const v = _e(t.offset);
1606
1606
  return typeof v == "number" ? d.push(At(v)) : d.push(
1607
1607
  At({
@@ -1610,10 +1610,10 @@ function Zt(e, l, t = {}) {
1610
1610
  alignmentAxis: v?.alignmentAxis
1611
1611
  })
1612
1612
  ), d;
1613
- }), o = Fo(e, l, {
1613
+ }), o = Do(e, l, {
1614
1614
  placement: n,
1615
1615
  strategy: r,
1616
- whileElementsMounted: _e(t.autoUpdate) === !1 ? void 0 : Bo,
1616
+ whileElementsMounted: _e(t.autoUpdate) === !1 ? void 0 : Mo,
1617
1617
  middleware: i
1618
1618
  }), c = y(() => ({
1619
1619
  position: r.value,
@@ -1680,7 +1680,7 @@ function Lu(e, l = {}) {
1680
1680
  };
1681
1681
  }
1682
1682
  function Ct(e = {}) {
1683
- const l = ue(aa, void 0);
1683
+ const l = ue(na, void 0);
1684
1684
  return {
1685
1685
  teleportTarget: y(() => {
1686
1686
  const n = e.to ? _e(e.to) : void 0;
@@ -1694,7 +1694,7 @@ function Ct(e = {}) {
1694
1694
  };
1695
1695
  }
1696
1696
  const Nu = qe("use-table-sort");
1697
- function XE(e) {
1697
+ function QE(e) {
1698
1698
  const l = I(e?.initialProperty || null), t = I(e?.initialDirection || null), n = y({
1699
1699
  get: () => ({
1700
1700
  property: l.value,
@@ -1726,8 +1726,8 @@ function XE(e) {
1726
1726
  }
1727
1727
  };
1728
1728
  }
1729
- const Rn = qe("use-table-selection");
1730
- function QE(e) {
1729
+ const xn = qe("use-table-selection");
1730
+ function JE(e) {
1731
1731
  const l = e?.idField ?? "id", t = (m) => {
1732
1732
  if (typeof l == "function")
1733
1733
  return l(m);
@@ -1744,13 +1744,13 @@ function QE(e) {
1744
1744
  selectionCount: o,
1745
1745
  hasSelection: c,
1746
1746
  handleSelectionChange: (m) => {
1747
- n.value = m, m.length === 0 && (r.value = !1), Rn.debug("Selection changed", { count: m.length });
1747
+ n.value = m, m.length === 0 && (r.value = !1), xn.debug("Selection changed", { count: m.length });
1748
1748
  },
1749
1749
  handleSelectAll: (m) => {
1750
- r.value = m, m || (n.value = []), Rn.debug("Select all changed", { selected: m });
1750
+ r.value = m, m || (n.value = []), xn.debug("Select all changed", { selected: m });
1751
1751
  },
1752
1752
  resetSelection: () => {
1753
- n.value = [], r.value = !1, Rn.debug("Selection reset");
1753
+ n.value = [], r.value = !1, xn.debug("Selection reset");
1754
1754
  },
1755
1755
  isSelected: (m) => {
1756
1756
  const C = t(m);
@@ -1775,23 +1775,12 @@ function Pu(e) {
1775
1775
  if (e === 1) return "ASC";
1776
1776
  if (e === -1) return "DESC";
1777
1777
  }
1778
- function JE(e) {
1778
+ function ZE(e) {
1779
1779
  const l = e?.initialField, t = Vu(e?.initialDirection), n = I(l), r = I(t), i = y(() => {
1780
1780
  const c = Pu(r.value);
1781
1781
  if (!(!n.value || !c))
1782
1782
  return `${n.value}:${c}`;
1783
1783
  });
1784
- if (e?.stateKey) {
1785
- const c = ue(Zl, void 0);
1786
- if (c) {
1787
- const u = c.read(e.stateKey);
1788
- if (u.sort) {
1789
- const [d, v] = u.sort.split(":");
1790
- d && (n.value = d, r.value = v === "DESC" ? -1 : 1);
1791
- }
1792
- ee(i, (d) => c.write(e.stateKey, { sort: d }));
1793
- }
1794
- }
1795
1784
  return {
1796
1785
  sortField: n,
1797
1786
  sortOrder: r,
@@ -1801,7 +1790,7 @@ function JE(e) {
1801
1790
  }
1802
1791
  };
1803
1792
  }
1804
- function ZE(e) {
1793
+ function e_(e) {
1805
1794
  const l = y(() => _e(e.pageSize) ?? 20), t = I(1), n = y(() => Math.ceil(_e(e.totalCount) / l.value) || 0), r = y(() => (t.value - 1) * l.value), i = y(() => _e(e.totalCount));
1806
1795
  function o(d) {
1807
1796
  t.value = d, e.onPageChange?.({ page: d, skip: r.value });
@@ -1812,36 +1801,15 @@ function ZE(e) {
1812
1801
  function u() {
1813
1802
  t.value = 1;
1814
1803
  }
1815
- if (e.stateKey) {
1816
- const d = ue(Zl, void 0);
1817
- if (d) {
1818
- const v = d.read(e.stateKey);
1819
- v.page != null && c(v.page), ee(
1820
- () => t.value,
1821
- (p) => d.write(e.stateKey, { page: p === 1 ? void 0 : p })
1822
- );
1823
- }
1824
- }
1825
1804
  return It({ currentPage: t, pages: n, skip: r, pageSize: l, totalCount: i, goToPage: o, setPage: c, reset: u });
1826
1805
  }
1827
- function e_(e) {
1828
- const l = I(e?.initial), t = e?.stateKey;
1829
- if (t) {
1830
- const n = ue(Zl, void 0);
1831
- if (n) {
1832
- const r = n.read(t);
1833
- r.search !== void 0 && (l.value = r.search), ee(l, (i) => n.write(t, { search: i }));
1834
- }
1835
- }
1836
- return { searchValue: l };
1837
- }
1838
1806
  const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "onKeydown"], zu = ["role", "aria-activedescendant"], Uu = {
1839
1807
  key: 0,
1840
1808
  class: "vc-dropdown__items-container"
1841
1809
  }, Hu = ["id", "role", "aria-selected", "onClick"], Wu = {
1842
1810
  key: 1,
1843
1811
  class: "vc-dropdown__empty"
1844
- }, tn = /* @__PURE__ */ K({
1812
+ }, en = /* @__PURE__ */ K({
1845
1813
  __name: "vc-dropdown",
1846
1814
  props: {
1847
1815
  modelValue: { type: Boolean, default: !1 },
@@ -1875,7 +1843,7 @@ const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "on
1875
1843
  }), f = y(() => t.teleport ?? t.floating), g = y({
1876
1844
  get: () => t.modelValue,
1877
1845
  set: (H) => n("update:modelValue", H)
1878
- }), { x: h, y: m, resolvedPlacement: C, resolvedStrategy: w } = Zt(u, d, {
1846
+ }), { x: h, y: m, resolvedPlacement: C, resolvedStrategy: w } = el(u, d, {
1879
1847
  placement: y(() => t.placement),
1880
1848
  strategy: y(() => t.floating ? "fixed" : "absolute"),
1881
1849
  offset: y(() => t.offset),
@@ -2075,7 +2043,7 @@ const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "on
2075
2043
  ])
2076
2044
  ], 2)
2077
2045
  ], 46, zu)), [
2078
- [a(Qt), x]
2046
+ [a(Jt), x]
2079
2047
  ]) : _("", !0)
2080
2048
  ]),
2081
2049
  _: 3
@@ -2086,7 +2054,7 @@ const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "on
2086
2054
  }), Gu = {
2087
2055
  key: 2,
2088
2056
  class: "vc-dropdown-item__icon-placeholder"
2089
- }, qu = { class: "vc-dropdown-item__title" }, ln = /* @__PURE__ */ K({
2057
+ }, qu = { class: "vc-dropdown-item__title" }, tn = /* @__PURE__ */ K({
2090
2058
  __name: "VcDropdownItem",
2091
2059
  props: {
2092
2060
  title: {},
@@ -2132,7 +2100,7 @@ const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "on
2132
2100
  collapsed: { type: Boolean, default: !1 }
2133
2101
  },
2134
2102
  setup(e) {
2135
- const l = e, t = I(null), n = I(!1), r = da({
2103
+ const l = e, t = I(null), n = I(!1), r = ua({
2136
2104
  containerRef: t,
2137
2105
  items: Te(l, "items"),
2138
2106
  getItemKey: (p) => p.id,
@@ -2154,7 +2122,7 @@ const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "on
2154
2122
  "vc-breadcrumbs__content--separated": e.separated
2155
2123
  }])
2156
2124
  }, [
2157
- c.value ? (s(), N(a(tn), {
2125
+ c.value ? (s(), N(a(en), {
2158
2126
  key: 0,
2159
2127
  items: o.value,
2160
2128
  "model-value": n.value,
@@ -2185,7 +2153,7 @@ const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "on
2185
2153
  ])
2186
2154
  ]),
2187
2155
  item: T(({ item: g, click: h }) => [
2188
- R(ln, {
2156
+ R(tn, {
2189
2157
  title: typeof g.title == "string" ? g.title : g.title?.value ?? "",
2190
2158
  icon: g.icon,
2191
2159
  onClick: h
@@ -2259,12 +2227,12 @@ const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "on
2259
2227
  ]),
2260
2228
  _: 1
2261
2229
  }, 8, ["items"])), [
2262
- [a(Qt), i]
2230
+ [a(Jt), i]
2263
2231
  ]);
2264
2232
  }
2265
2233
  }), Zu = qe("use-breadcrumbs");
2266
2234
  function ed() {
2267
- const e = ea([]);
2235
+ const e = Zn([]);
2268
2236
  function l(r) {
2269
2237
  const i = e.value.findIndex((o) => o.id === r);
2270
2238
  i !== -1 && (e.value = e.value.slice(0, i + 1));
@@ -2301,7 +2269,7 @@ const td = ["aria-label"], ld = {
2301
2269
  }, nd = /* @__PURE__ */ K({
2302
2270
  __name: "vc-blade-navigation-new",
2303
2271
  setup(e) {
2304
- const { t: l } = Pe(), t = bl(), n = Wo(), r = Yt(), { breadcrumbs: i, push: o, remove: c } = ed(), { syncUrlReplace: u } = Eo(r, t);
2272
+ const { t: l } = Pe(), t = bl(), n = Ho(), r = Xt(), { breadcrumbs: i, push: o, remove: c } = ed(), { syncUrlReplace: u } = $o(r, t);
2305
2273
  tt(() => {
2306
2274
  t.blades.value.length !== 0 && Ce(() => {
2307
2275
  u();
@@ -2386,7 +2354,7 @@ const ei = /* @__PURE__ */ new Map();
2386
2354
  function l_(e, l) {
2387
2355
  ei.set(e, l);
2388
2356
  }
2389
- function In(e) {
2357
+ function Rn(e) {
2390
2358
  return ei.get(e);
2391
2359
  }
2392
2360
  const ad = { class: "vc-popup__center" }, od = ["aria-label"], id = { class: "vc-popup__content" }, sd = {
@@ -2440,7 +2408,7 @@ const ad = { class: "vc-popup__center" }, od = ["aria-label"], id = { class: "vc
2440
2408
  onKeydown: we(w, ["esc"])
2441
2409
  }, {
2442
2410
  default: T(() => [
2443
- R(a(Ua), {
2411
+ R(a(za), {
2444
2412
  as: "template",
2445
2413
  enter: "vc-popup__transition-enter",
2446
2414
  "enter-from": "vc-popup__transition-enter-from",
@@ -2462,7 +2430,7 @@ const ad = { class: "vc-popup__center" }, od = ["aria-label"], id = { class: "vc
2462
2430
  }])
2463
2431
  }, [
2464
2432
  k("div", ad, [
2465
- R(a(Ua), {
2433
+ R(a(za), {
2466
2434
  as: "template",
2467
2435
  enter: "vc-popup__dialog-enter",
2468
2436
  "enter-from": "vc-popup__dialog-enter-from",
@@ -2625,12 +2593,12 @@ const cd = ["innerHTML"], ud = /* @__PURE__ */ K({
2625
2593
  }))
2626
2594
  ]), 1040, ["onClose"]))), 128));
2627
2595
  }
2628
- }), dd = ud, An = qe("use-popup");
2629
- function Ya() {
2596
+ }), dd = ud, In = qe("use-popup");
2597
+ function ja() {
2630
2598
  return ut() && ue(Jo, void 0) || Zo;
2631
2599
  }
2632
2600
  function li(e) {
2633
- const { t: l } = Pe({ useScope: "global" }), t = Ya();
2601
+ const { t: l } = Pe({ useScope: "global" }), t = ja();
2634
2602
  let n;
2635
2603
  e && (n = g(a(e))), ee(
2636
2604
  () => e ? a(e) : void 0,
@@ -2642,7 +2610,7 @@ function li(e) {
2642
2610
  function r(h) {
2643
2611
  if (!h)
2644
2612
  return;
2645
- const m = Ya(), C = m?.popups?.findIndex(
2613
+ const m = ja(), C = m?.popups?.findIndex(
2646
2614
  (w) => Ns(w, h, ($) => $.component)
2647
2615
  );
2648
2616
  typeof C == "number" && C !== -1 && m?.popups?.splice(C, 1);
@@ -2681,7 +2649,7 @@ function li(e) {
2681
2649
  return o(w), w;
2682
2650
  }
2683
2651
  function v(h) {
2684
- const m = In("warning");
2652
+ const m = Rn("warning");
2685
2653
  return m ? new Promise((C) => {
2686
2654
  const w = g({
2687
2655
  component: m,
@@ -2701,20 +2669,20 @@ function li(e) {
2701
2669
  }
2702
2670
  });
2703
2671
  o(w);
2704
- }) : (An.error("Popup preset 'warning' not registered. Ensure shell popup plugin is installed."), Promise.resolve(!1));
2672
+ }) : (In.error("Popup preset 'warning' not registered. Ensure shell popup plugin is installed."), Promise.resolve(!1));
2705
2673
  }
2706
2674
  function p(h) {
2707
- const m = In("error");
2675
+ const m = Rn("error");
2708
2676
  if (!m) {
2709
- An.error("Popup preset 'error' not registered. Ensure shell popup plugin is installed.");
2677
+ In.error("Popup preset 'error' not registered. Ensure shell popup plugin is installed.");
2710
2678
  return;
2711
2679
  }
2712
2680
  d(m, l("COMPONENTS.ORGANISMS.VC_POPUP.TITLE.ERROR"), h);
2713
2681
  }
2714
2682
  function f(h) {
2715
- const m = In("info");
2683
+ const m = Rn("info");
2716
2684
  if (!m) {
2717
- An.error("Popup preset 'info' not registered. Ensure shell popup plugin is installed.");
2685
+ In.error("Popup preset 'info' not registered. Ensure shell popup plugin is installed.");
2718
2686
  return;
2719
2687
  }
2720
2688
  d(m, l("COMPONENTS.ORGANISMS.VC_POPUP.TITLE.INFO"), h);
@@ -2745,7 +2713,7 @@ function vd(e) {
2745
2713
  return {
2746
2714
  ...e,
2747
2715
  slots: l,
2748
- component: ml(ea(e.component))
2716
+ component: ml(Zn(e.component))
2749
2717
  };
2750
2718
  }
2751
2719
  const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd = { class: "tw-sr-only" }, be = /* @__PURE__ */ K({
@@ -2833,7 +2801,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
2833
2801
  },
2834
2802
  emits: ["close", "expand", "collapse"],
2835
2803
  setup(e, { emit: l }) {
2836
- const t = e, n = l, { isMobile: r } = Le(), i = ue(pt, void 0), o = I(!1), c = I(null), u = I(null), { teleportTarget: d } = Ct(), { floatingStyle: v } = Zt(c, u, {
2804
+ const t = e, n = l, { isMobile: r } = Le(), i = ue(pt, void 0), o = I(!1), c = I(null), u = I(null), { teleportTarget: d } = Ct(), { floatingStyle: v } = el(c, u, {
2837
2805
  placement: "bottom-start",
2838
2806
  middleware: () => [Mt()]
2839
2807
  });
@@ -3241,7 +3209,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
3241
3209
  }
3242
3210
  return p;
3243
3211
  }
3244
- const o = y(() => ca(n.src, n.thumbnailSize) ?? n.src), c = I(!1), u = y(() => c.value ? n.src : o.value);
3212
+ const o = y(() => ra(n.src, n.thumbnailSize) ?? n.src), c = I(!1), u = y(() => c.value ? n.src : o.value);
3245
3213
  ee(
3246
3214
  () => [n.src, n.thumbnailSize],
3247
3215
  () => {
@@ -3322,7 +3290,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
3322
3290
  mainAxis: l.offset?.mainAxis ?? 8,
3323
3291
  crossAxis: l.offset?.crossAxis ?? 0
3324
3292
  }),
3325
- Kt({ padding: 8 }),
3293
+ jt({ padding: 8 }),
3326
3294
  Mt({ padding: 8 })
3327
3295
  ];
3328
3296
  return l.arrow && O.push(Rc({ element: o, padding: 4 })), O;
@@ -3330,9 +3298,9 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
3330
3298
  floatingStyles: p,
3331
3299
  placement: f,
3332
3300
  middlewareData: g
3333
- } = Fo(r, i, {
3301
+ } = Do(r, i, {
3334
3302
  placement: y(() => l.placement),
3335
- whileElementsMounted: Bo,
3303
+ whileElementsMounted: Mo,
3336
3304
  middleware: v
3337
3305
  }), h = y(() => typeof l.maxWidth == "number" ? `${l.maxWidth}px` : l.maxWidth), m = y(() => ({
3338
3306
  ...p.value,
@@ -3719,7 +3687,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
3719
3687
  collapsedHeight: { default: 100 }
3720
3688
  },
3721
3689
  setup(e) {
3722
- const l = e, t = Ge(), n = ht(), { contentRef: r, isExpanded: i, hasOverflow: o, wrapperStyle: c, toggle: u } = en({
3690
+ const l = e, t = Ge(), n = ht(), { contentRef: r, isExpanded: i, hasOverflow: o, wrapperStyle: c, toggle: u } = Zl({
3723
3691
  collapsedHeight: l.collapsedHeight
3724
3692
  });
3725
3693
  function d(C) {
@@ -3792,7 +3760,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
3792
3760
  class: "vc-scrollable-container",
3793
3761
  role: "region",
3794
3762
  "aria-label": "Scrollable content"
3795
- }, Xa = 40, kt = /* @__PURE__ */ K({
3763
+ }, Ya = 40, kt = /* @__PURE__ */ K({
3796
3764
  __name: "vc-scrollable-container",
3797
3765
  props: {
3798
3766
  speed: { default: void 0 }
@@ -3806,7 +3774,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
3806
3774
  );
3807
3775
  function v(p) {
3808
3776
  if (!n.value) return;
3809
- const f = p === "up" ? -Xa : Xa;
3777
+ const f = p === "up" ? -Ya : Ya;
3810
3778
  n.value.scrollBy({ top: f, behavior: "smooth" });
3811
3779
  }
3812
3780
  return l({
@@ -3861,7 +3829,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
3861
3829
  function ii(e, l) {
3862
3830
  return e === void 0 ? !0 : typeof e == "function" ? !!e(l) : gt(e) ? !!_e(e) : !!e;
3863
3831
  }
3864
- function va(e) {
3832
+ function da(e) {
3865
3833
  return e === void 0 ? !1 : gt(e) ? !!_e(e) : !!e;
3866
3834
  }
3867
3835
  const Rv = ["aria-label"], Iv = ["aria-hidden"], Av = ["disabled", "aria-label", "tabindex", "onClick"], Tv = { class: "vc-blade-toolbar-mobile__action-label" }, Ov = {
@@ -3884,7 +3852,7 @@ const Rv = ["aria-label"], Iv = ["aria-hidden"], Av = ["disabled", "aria-label",
3884
3852
  return p.icon ? typeof p.icon == "function" ? p.icon() : p.icon : "";
3885
3853
  }
3886
3854
  function i(p) {
3887
- return va(p.disabled);
3855
+ return da(p.disabled);
3888
3856
  }
3889
3857
  function o(p) {
3890
3858
  return { transitionDelay: t.value ? `${p * 40}ms` : `${(l.items.length - 1 - p) * 25}ms` };
@@ -4006,7 +3974,7 @@ const Rv = ["aria-label"], Iv = ["aria-hidden"], Av = ["disabled", "aria-label",
4006
3974
  onClick: {}
4007
3975
  },
4008
3976
  setup(e) {
4009
- const l = e, t = I(!1), n = y(() => va(l.disabled)), r = y(() => gt(l.title) ? _e(l.title) : l.title), i = y(() => typeof l.icon == "function" ? l.icon() : l.icon);
3977
+ const l = e, t = I(!1), n = y(() => da(l.disabled)), r = y(() => gt(l.title) ? _e(l.title) : l.title), i = y(() => typeof l.icon == "function" ? l.icon() : l.icon);
4010
3978
  async function o() {
4011
3979
  if (!(n.value || t.value || !l.onClick)) {
4012
3980
  t.value = !0;
@@ -4051,7 +4019,7 @@ const Rv = ["aria-label"], Iv = ["aria-hidden"], Av = ["disabled", "aria-label",
4051
4019
  isExpanded: { type: Boolean }
4052
4020
  },
4053
4021
  setup(e) {
4054
- const l = e, t = I(!1), n = I(null), { visibleItems: r, hiddenItems: i, showMoreButton: o, recalculate: c, updateObserver: u } = da({
4022
+ const l = e, t = I(!1), n = I(null), { visibleItems: r, hiddenItems: i, showMoreButton: o, recalculate: c, updateObserver: u } = ua({
4055
4023
  containerRef: n,
4056
4024
  items: Te(l, "items"),
4057
4025
  getItemKey: (v) => v.id ?? `toolbar_item_${l.items.indexOf(v)}`,
@@ -4082,7 +4050,7 @@ const Rv = ["aria-label"], Iv = ["aria-hidden"], Av = ["disabled", "aria-label",
4082
4050
  "show-title": e.isExpanded,
4083
4051
  "on-click": f.clickHandler
4084
4052
  }), null, 16, ["data-item-key", "show-title", "on-click"]))), 128)),
4085
- a(o) ? (s(), N(a(tn), {
4053
+ a(o) ? (s(), N(a(en), {
4086
4054
  key: 0,
4087
4055
  "model-value": t.value,
4088
4056
  items: a(i),
@@ -4103,7 +4071,7 @@ const Rv = ["aria-label"], Iv = ["aria-hidden"], Av = ["disabled", "aria-label",
4103
4071
  ], 2)
4104
4072
  ]),
4105
4073
  item: T(({ item: f }) => [
4106
- R(ln, {
4074
+ R(tn, {
4107
4075
  title: _e(f.title) ?? "",
4108
4076
  icon: typeof f.icon == "function" ? f.icon() : f.icon
4109
4077
  }, null, 8, ["title", "icon"])
@@ -4113,14 +4081,14 @@ const Rv = ["aria-label"], Iv = ["aria-hidden"], Av = ["disabled", "aria-label",
4113
4081
  ], 512)
4114
4082
  ]));
4115
4083
  }
4116
- }), fa = Jt({
4084
+ }), va = Zt({
4117
4085
  name: "toolbar-service",
4118
4086
  getKey: (e) => `${e.bladeId.toLowerCase()}::${e.toolbarItem.id}`,
4119
4087
  registerIntoService: (e, l) => e.registerToolbarItem(l.toolbarItem, l.bladeId)
4120
4088
  });
4121
4089
  function u_(e, l) {
4122
4090
  const t = l.toLowerCase();
4123
- fa.preregister({
4091
+ va.preregister({
4124
4092
  bladeId: t,
4125
4093
  toolbarItem: e
4126
4094
  });
@@ -4156,9 +4124,9 @@ function si() {
4156
4124
  isToolbarItemRegistered: (c) => e.isRegistered(c),
4157
4125
  updateToolbarItem: i
4158
4126
  };
4159
- return fa.replayInto(o), o;
4127
+ return va.replayInto(o), o;
4160
4128
  }
4161
- const Qa = {
4129
+ const Xa = {
4162
4130
  af: "za",
4163
4131
  ar: "sa",
4164
4132
  az: "az",
@@ -4231,18 +4199,18 @@ const Qa = {
4231
4199
  zh: "cn",
4232
4200
  zu: "za"
4233
4201
  }, ri = "fallback-blade-id";
4234
- let Tn = null;
4202
+ let An = null;
4235
4203
  function d_() {
4236
- const e = ue(Un, null);
4204
+ const e = ue(zn, null);
4237
4205
  if (e)
4238
4206
  return e;
4239
4207
  const l = si();
4240
- return Oe(Un, l), Gt() && Tt(() => fa.dispose(l)), l;
4208
+ return Oe(zn, l), qt() && Tt(() => va.dispose(l)), l;
4241
4209
  }
4242
4210
  function Wv(e = {}) {
4243
- const { autoCleanup: l = !0 } = e, t = ue(Un, null);
4244
- !t && !Tn && (Tn = si());
4245
- const n = t || Tn;
4211
+ const { autoCleanup: l = !0 } = e, t = ue(zn, null);
4212
+ !t && !An && (An = si());
4213
+ const n = t || An;
4246
4214
  if (!n)
4247
4215
  throw new Error("Toolbar service is not available");
4248
4216
  const r = ue(pt, void 0), i = y(() => r?.value?.id ?? ri), o = (g) => g ?? i.value, c = (g, h) => {
@@ -4270,7 +4238,7 @@ const Gv = "prop_toolbar_item_";
4270
4238
  function qv(e) {
4271
4239
  const { hasAccess: l } = yl(), { registerToolbarItem: t, unregisterToolbarItem: n, getToolbarItems: r, updateToolbarItem: i } = Wv({
4272
4240
  autoCleanup: !1
4273
- }), { id: o } = oa(), c = y(() => (o.value ?? ri).toLowerCase()), { isMobile: u } = Le(), d = /* @__PURE__ */ new Set(), v = I(c.value);
4241
+ }), { id: o } = aa(), c = y(() => (o.value ?? ri).toLowerCase()), { isMobile: u } = Le(), d = /* @__PURE__ */ new Set(), v = I(c.value);
4274
4242
  function p(m, C) {
4275
4243
  const w = v.value, $ = m.id || `${Gv}${w}_${C}`;
4276
4244
  return {
@@ -4296,7 +4264,7 @@ function qv(e) {
4296
4264
  d.clear();
4297
4265
  }
4298
4266
  const h = y(() => r(v.value).filter(
4299
- (m) => l(m.permissions) && ii(m.isVisible) && (u.value ? !va(m.disabled) : !0)
4267
+ (m) => l(m.permissions) && ii(m.isVisible) && (u.value ? !da(m.disabled) : !0)
4300
4268
  ).sort((m, C) => {
4301
4269
  const w = m.priority ?? 0;
4302
4270
  return (C.priority ?? 0) - w;
@@ -4407,7 +4375,7 @@ const ef = ["role"], tf = { class: "vc-blade-status-banners__text" }, lf = ["tit
4407
4375
  }, rf = {
4408
4376
  key: 0,
4409
4377
  class: "vc-blade-status-banners__text"
4410
- }, cf = ["onClick"], uf = ["onClick"], Tl = "__system-error__", Ja = "__system-modified__", df = /* @__PURE__ */ K({
4378
+ }, cf = ["onClick"], uf = ["onClick"], Tl = "__system-error__", Qa = "__system-modified__", df = /* @__PURE__ */ K({
4411
4379
  __name: "BladeStatusBanners",
4412
4380
  props: {
4413
4381
  modified: { type: Boolean }
@@ -4420,12 +4388,12 @@ const ef = ["role"], tf = { class: "vc-blade-status-banners__text" }, lf = ["tit
4420
4388
  setup(B) {
4421
4389
  return () => B.renderFn();
4422
4390
  }
4423
- }), t = e, n = ue(pt, void 0), r = ue(xo, void 0), i = ue(na, void 0), { t: o } = Pe({ useScope: "global" }), { hasError: c, shortErrorMessage: u, errorDetails: d, copyError: v } = Zv(n), {
4391
+ }), t = e, n = ue(pt, void 0), r = ue(_o, void 0), i = ue(la, void 0), { t: o } = Pe({ useScope: "global" }), { hasError: c, shortErrorMessage: u, errorDetails: d, copyError: v } = Zv(n), {
4424
4392
  contentRef: p,
4425
4393
  isExpanded: f,
4426
4394
  wrapperStyle: g,
4427
4395
  toggle: h
4428
- } = en(), m = I(!1), C = d;
4396
+ } = Zl(), m = I(!1), C = d;
4429
4397
  async function w() {
4430
4398
  await v() && (m.value = !0, setTimeout(() => {
4431
4399
  m.value = !1;
@@ -4452,9 +4420,9 @@ const ef = ["role"], tf = { class: "vc-blade-status-banners__text" }, lf = ["tit
4452
4420
  () => t.modified,
4453
4421
  (B) => {
4454
4422
  if (!r) return;
4455
- const x = r.value.findIndex((V) => V.id === Ja);
4423
+ const x = r.value.findIndex((V) => V.id === Qa);
4456
4424
  B && x === -1 ? r.value.push({
4457
- id: Ja,
4425
+ id: Qa,
4458
4426
  variant: "warning",
4459
4427
  icon: "lucide-pencil",
4460
4428
  message: o("COMPONENTS.ORGANISMS.VC_BLADE.UNSAVED_CHANGES"),
@@ -4481,7 +4449,7 @@ const ef = ["role"], tf = { class: "vc-blade-status-banners__text" }, lf = ["tit
4481
4449
  function P(B) {
4482
4450
  r && (B.id === Tl && n && i && i.clearBladeError(n.value.id), r.value = r.value.filter((x) => x.id !== B.id));
4483
4451
  }
4484
- return (B, x) => (s(), N(ta, { name: "banner-reveal" }, {
4452
+ return (B, x) => (s(), N(ea, { name: "banner-reveal" }, {
4485
4453
  default: T(() => [
4486
4454
  (s(!0), b(te, null, me(A.value, (V) => (s(), b("div", {
4487
4455
  key: V.id,
@@ -4573,30 +4541,30 @@ const ef = ["role"], tf = { class: "vc-blade-status-banners__text" }, lf = ["tit
4573
4541
  _: 1
4574
4542
  }));
4575
4543
  }
4576
- }), ma = /* @__PURE__ */ new Map();
4544
+ }), fa = /* @__PURE__ */ new Map();
4577
4545
  function vf(e) {
4578
4546
  return e?.map((l) => l.toLowerCase());
4579
4547
  }
4580
4548
  function v_(e) {
4581
- ma.set(e.id, {
4549
+ fa.set(e.id, {
4582
4550
  ...e,
4583
4551
  targetBlades: vf(e.targetBlades)
4584
4552
  });
4585
4553
  }
4586
4554
  function ff(e) {
4587
4555
  const l = e.toLowerCase();
4588
- return Array.from(ma.values()).filter((t) => !t.targetBlades || t.targetBlades.includes(l)).map((t) => ({ ...t, targetBlades: t.targetBlades ? [...t.targetBlades] : void 0 }));
4556
+ return Array.from(fa.values()).filter((t) => !t.targetBlades || t.targetBlades.includes(l)).map((t) => ({ ...t, targetBlades: t.targetBlades ? [...t.targetBlades] : void 0 }));
4589
4557
  }
4590
4558
  function mf() {
4591
- return Array.from(ma.values()).map((e) => ({
4559
+ return Array.from(fa.values()).map((e) => ({
4592
4560
  ...e,
4593
4561
  targetBlades: e.targetBlades ? [...e.targetBlades] : void 0
4594
4562
  }));
4595
4563
  }
4596
4564
  function gf(e) {
4597
- return Kn(e);
4565
+ return qn(e);
4598
4566
  }
4599
- const ci = Jt({
4567
+ const ci = Zt({
4600
4568
  name: "widget-service",
4601
4569
  getKey: (e) => `${e.bladeId.toLowerCase()}::${e.widget.id}`,
4602
4570
  registerIntoService: (e, l) => e.registerWidget(l.widget, l.bladeId)
@@ -4626,7 +4594,7 @@ function m_() {
4626
4594
  }
4627
4595
  const pf = qe("use-widgets");
4628
4596
  function bf() {
4629
- const e = ue(Ao);
4597
+ const e = ue(Io);
4630
4598
  if (!e)
4631
4599
  throw pf.error("Widget service not found in current context. Injection chain:", ut()), new Bt("WidgetService");
4632
4600
  return e;
@@ -4637,7 +4605,7 @@ const Kl = /* @__PURE__ */ K({
4637
4605
  widgetId: {}
4638
4606
  },
4639
4607
  setup(e) {
4640
- const l = e, t = ue(Ao), r = ue(pt, void 0)?.value.id ?? "";
4608
+ const l = e, t = ue(Io), r = ue(pt, void 0)?.value.id ?? "";
4641
4609
  return Oe(ws, {
4642
4610
  setTrigger: (o) => {
4643
4611
  t.updateWidget({ id: l.widgetId, bladeId: r, widget: { trigger: o } });
@@ -4717,7 +4685,7 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
4717
4685
  _: 2
4718
4686
  }, 1032, ["widget-id"]))
4719
4687
  ], 64))), 128)),
4720
- v.value ? (s(), N(a(tn), {
4688
+ v.value ? (s(), N(a(en), {
4721
4689
  key: 0,
4722
4690
  "model-value": t.value,
4723
4691
  items: d.value,
@@ -4781,7 +4749,7 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
4781
4749
  }, Rf = { class: "vc-sidebar__header-actions" }, If = ["aria-label"], Af = { class: "vc-sidebar__content" }, Tf = {
4782
4750
  key: 2,
4783
4751
  class: "vc-sidebar__footer"
4784
- }, Of = 'a[href], area[href], button:not([disabled]), input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]), [contenteditable="true"]', el = /* @__PURE__ */ K({
4752
+ }, Of = 'a[href], area[href], button:not([disabled]), input:not([disabled]):not([type="hidden"]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]), [contenteditable="true"]', tl = /* @__PURE__ */ K({
4785
4753
  __name: "vc-sidebar",
4786
4754
  props: {
4787
4755
  modelValue: { type: Boolean },
@@ -5066,7 +5034,7 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
5066
5034
  bladeId: {}
5067
5035
  },
5068
5036
  setup(e) {
5069
- const l = e, t = I(null), n = I(!1), r = y(() => l.widgets.length > 0), { resolveBadge: i, resolveLoading: o, resolveDisabled: c, resolveTitle: u, handleHeadlessClick: d } = ui(), { visibleItems: v, showMoreButton: p, hiddenItems: f } = da({
5037
+ const l = e, t = I(null), n = I(!1), r = y(() => l.widgets.length > 0), { resolveBadge: i, resolveLoading: o, resolveDisabled: c, resolveTitle: u, handleHeadlessClick: d } = ui(), { visibleItems: v, showMoreButton: p, hiddenItems: f } = ua({
5070
5038
  containerRef: t,
5071
5039
  items: y(() => l.widgets),
5072
5040
  getItemKey: (g) => g.id ?? "",
@@ -5129,7 +5097,7 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
5129
5097
  R(a(J), { icon: "lucide-chevron-up" })
5130
5098
  ])) : _("", !0)
5131
5099
  ], 512),
5132
- R(a(el), {
5100
+ R(a(tl), {
5133
5101
  "model-value": n.value,
5134
5102
  position: "bottom",
5135
5103
  size: "sm",
@@ -5221,7 +5189,7 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
5221
5189
  }
5222
5190
  }), u.clear();
5223
5191
  }
5224
- tt(d), qt(v);
5192
+ tt(d), Kt(v);
5225
5193
  const p = y(() => i.getWidgets(r.value)), f = y(
5226
5194
  () => p.value.filter((g) => ii(g.isVisible, o?.value))
5227
5195
  );
@@ -5272,7 +5240,7 @@ function di() {
5272
5240
  return l(u);
5273
5241
  }
5274
5242
  function o(u) {
5275
- return Qa[u.toLowerCase()] || Qa[u.slice(0, 2)] || "xx";
5243
+ return Xa[u.toLowerCase()] || Xa[u.slice(0, 2)] || "xx";
5276
5244
  }
5277
5245
  async function c(u) {
5278
5246
  if (!u) return "";
@@ -5289,23 +5257,23 @@ function di() {
5289
5257
  };
5290
5258
  }
5291
5259
  const vi = qe("use-languages");
5292
- let On = null;
5260
+ let Tn = null;
5293
5261
  function fi() {
5294
- return On || (On = di()), On;
5262
+ return Tn || (Tn = di()), Tn;
5295
5263
  }
5296
5264
  function g_() {
5297
- if (!wo())
5265
+ if (!yo())
5298
5266
  return vi.warn("No injection context for provideLanguages; using fallback language service"), fi();
5299
- const e = ue(Hn, null);
5267
+ const e = ue(Un, null);
5300
5268
  if (e)
5301
5269
  return e;
5302
5270
  const l = di();
5303
- return Oe(Hn, l), l;
5271
+ return Oe(Un, l), l;
5304
5272
  }
5305
5273
  function mi() {
5306
- if (!wo())
5274
+ if (!yo())
5307
5275
  return fi();
5308
- const e = ue(Hn, null);
5276
+ const e = ue(Un, null);
5309
5277
  if (!e)
5310
5278
  throw vi.error("Language service not found"), new Bt("LanguageService");
5311
5279
  return e;
@@ -5339,7 +5307,7 @@ const Pf = qe("use-theme"), _t = I([
5339
5307
  )
5340
5308
  }
5341
5309
  }), { state: i, next: o } = As(n, { initialValue: r });
5342
- Ht(() => {
5310
+ Wt(() => {
5343
5311
  i.value && (r.value = i.value);
5344
5312
  });
5345
5313
  function c(d) {
@@ -5347,13 +5315,13 @@ const Pf = qe("use-theme"), _t = I([
5347
5315
  }
5348
5316
  const u = y(() => {
5349
5317
  const d = _t.value.find((v) => v.key === i.value);
5350
- return d ? d.localizationKey ? e(d.localizationKey) : En(d.key) : i.value ? En(i.value) : "";
5318
+ return d ? d.localizationKey ? e(d.localizationKey) : $n(d.key) : i.value ? $n(i.value) : "";
5351
5319
  });
5352
5320
  return {
5353
5321
  themes: y(
5354
5322
  () => _t.value.map((d) => ({
5355
5323
  key: d.key,
5356
- name: d.localizationKey ? e(d.localizationKey) : En(d.key)
5324
+ name: d.localizationKey ? e(d.localizationKey) : $n(d.key)
5357
5325
  }))
5358
5326
  ),
5359
5327
  currentThemeKey: i,
@@ -5363,17 +5331,17 @@ const Pf = qe("use-theme"), _t = I([
5363
5331
  unregister: t,
5364
5332
  setTheme: c
5365
5333
  };
5366
- }, ga = Jt({
5334
+ }, ma = Zt({
5367
5335
  name: "dashboard-service",
5368
5336
  getKey: (e) => e.id,
5369
5337
  registerIntoService: (e, l) => e.registerWidget(l)
5370
5338
  });
5371
5339
  function p_(e) {
5372
- ga.preregister(e);
5340
+ ma.preregister(e);
5373
5341
  }
5374
5342
  const Ff = () => ({
5375
- widgets: Fn(/* @__PURE__ */ new Map()),
5376
- layout: Fn(/* @__PURE__ */ new Map())
5343
+ widgets: Dn(/* @__PURE__ */ new Map()),
5344
+ layout: Dn(/* @__PURE__ */ new Map())
5377
5345
  });
5378
5346
  function zf(e = {}) {
5379
5347
  const l = Ff(), t = e.hasAccess ?? (() => !0), c = {
@@ -5400,11 +5368,11 @@ function zf(e = {}) {
5400
5368
  },
5401
5369
  getLayout: () => new Map(l.layout)
5402
5370
  };
5403
- return ga.replayInto(c), c;
5371
+ return ma.replayInto(c), c;
5404
5372
  }
5405
5373
  const gi = qe("use-dashboard");
5406
5374
  function Uf() {
5407
- const e = ue(Wn, null);
5375
+ const e = ue(Hn, null);
5408
5376
  if (e)
5409
5377
  return e;
5410
5378
  let l = () => !0;
@@ -5417,22 +5385,22 @@ function Uf() {
5417
5385
  const t = zf({
5418
5386
  hasAccess: l
5419
5387
  });
5420
- return Oe(Wn, t), Gt() && Tt(() => ga.dispose(t)), t;
5388
+ return Oe(Hn, t), qt() && Tt(() => ma.dispose(t)), t;
5421
5389
  }
5422
5390
  function b_() {
5423
- const e = ue(Wn);
5391
+ const e = ue(Hn);
5424
5392
  if (!e)
5425
5393
  throw gi.error("Dashboard service not found"), new Bt("DashboardService");
5426
5394
  return e;
5427
5395
  }
5428
- const pa = Jt({
5396
+ const ga = Zt({
5429
5397
  name: "app-bar-menu-service",
5430
5398
  getKey: (e) => e.id || crypto.randomUUID(),
5431
5399
  registerIntoService: (e, l) => e.register(l),
5432
5400
  unregisterFromService: (e, l) => e.unregister(l)
5433
5401
  });
5434
5402
  function h_(e) {
5435
- pa.preregister(e);
5403
+ ga.preregister(e);
5436
5404
  }
5437
5405
  function Hf() {
5438
5406
  const e = Ko({
@@ -5454,30 +5422,30 @@ function Hf() {
5454
5422
  unregister: (t) => e.unregister(t),
5455
5423
  items: e.sortedItems
5456
5424
  };
5457
- return pa.replayInto(l), l;
5425
+ return ga.replayInto(l), l;
5458
5426
  }
5459
5427
  const Wf = qe("use-app-bar-widget");
5460
5428
  function y_() {
5461
- const e = ue(Gn, null);
5429
+ const e = ue(Wn, null);
5462
5430
  if (e)
5463
5431
  return e;
5464
5432
  const l = Hf();
5465
- return Oe(Gn, l), Gt() && Tt(() => pa.dispose(l)), l;
5433
+ return Oe(Wn, l), qt() && Tt(() => ga.dispose(l)), l;
5466
5434
  }
5467
- function nn() {
5468
- const e = ue(Gn);
5435
+ function ln() {
5436
+ const e = ue(Wn);
5469
5437
  if (!e)
5470
5438
  throw Wf.error("AppBarWidgetService not found"), new Bt("AppBarWidgetService");
5471
5439
  return e;
5472
5440
  }
5473
- const ba = Jt({
5441
+ const pa = Zt({
5474
5442
  name: "settings-menu-service",
5475
5443
  getKey: (e) => e.id || crypto.randomUUID(),
5476
5444
  registerIntoService: (e, l) => e.register(l),
5477
5445
  unregisterFromService: (e, l) => e.unregister(l)
5478
5446
  });
5479
5447
  function w_(e) {
5480
- ba.preregister(e);
5448
+ pa.preregister(e);
5481
5449
  }
5482
5450
  function Gf() {
5483
5451
  const e = Ko({
@@ -5494,7 +5462,7 @@ function Gf() {
5494
5462
  unregister: (t) => e.unregister(t),
5495
5463
  items: e.sortedItems
5496
5464
  };
5497
- return ba.replayInto(l), l;
5465
+ return pa.replayInto(l), l;
5498
5466
  }
5499
5467
  const qf = qe("use-settings-menu");
5500
5468
  function k_() {
@@ -5502,7 +5470,7 @@ function k_() {
5502
5470
  if (e)
5503
5471
  return e;
5504
5472
  const l = Gf();
5505
- return Oe(Fl, l), Gt() && Tt(() => ba.dispose(l)), l;
5473
+ return Oe(Fl, l), qt() && Tt(() => pa.dispose(l)), l;
5506
5474
  }
5507
5475
  function Kf() {
5508
5476
  const e = ue(Fl);
@@ -5533,9 +5501,9 @@ const Qf = () => {
5533
5501
  isHoverExpanded: l,
5534
5502
  toggleHoverExpanded: r
5535
5503
  };
5536
- }, Qn = Symbol("SidebarState");
5504
+ }, Xn = Symbol("SidebarState");
5537
5505
  function Jf() {
5538
- const e = ue(Qn, null);
5506
+ const e = ue(Xn, null);
5539
5507
  if (e) return e;
5540
5508
  const { isExpanded: l, isHoverExpanded: t, toggleExpanded: n, toggleHoverExpanded: r } = Qf(), i = I(!1), o = y(() => l.value || t.value), v = {
5541
5509
  isPinned: l,
@@ -5553,10 +5521,10 @@ function Jf() {
5553
5521
  i.value = !1;
5554
5522
  }
5555
5523
  };
5556
- return Oe(Qn, v), v;
5524
+ return Oe(Xn, v), v;
5557
5525
  }
5558
- function ha() {
5559
- const e = ue(Qn);
5526
+ function ba() {
5527
+ const e = ue(Xn);
5560
5528
  if (!e)
5561
5529
  throw new Error("useSidebarState() requires provideSidebarState() in a parent component");
5562
5530
  return e;
@@ -5585,8 +5553,8 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
5585
5553
  if (n)
5586
5554
  return n.isModified.value;
5587
5555
  }), o = `blade-title-${ut()?.uid ?? 0}`, c = y(() => !!t.loading);
5588
- Oe(Io, c), ht();
5589
- const u = l, { isMobile: d, isDesktop: v } = Le(), p = oa(), { id: f } = p, g = !!ue(pt, void 0), h = ue(_o, void 0), m = y(() => g ? p.expanded.value : t.expanded), C = y(() => g ? p.closable.value : t.closable), w = la(), $ = y(() => {
5556
+ Oe(Ro, c), ht();
5557
+ const u = l, { isMobile: d, isDesktop: v } = Le(), p = aa(), { id: f } = p, g = !!ue(pt, void 0), h = ue(Eo, void 0), m = y(() => g ? p.expanded.value : t.expanded), C = y(() => g ? p.closable.value : t.closable), w = ta(), $ = y(() => {
5590
5558
  const { class: S, style: E, onClose: z, ...Y } = w;
5591
5559
  return Y;
5592
5560
  });
@@ -5599,8 +5567,8 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
5599
5567
  function P() {
5600
5568
  h ? h.value = !1 : u("collapse");
5601
5569
  }
5602
- const B = ue(pt, void 0), x = ue(Ro), { blades: V, setBladeTitle: D } = bl();
5603
- Ht(() => {
5570
+ const B = ue(pt, void 0), x = ue(xo), { blades: V, setBladeTitle: D } = bl();
5571
+ Wt(() => {
5604
5572
  g && f.value && t.title && D(f.value, t.title);
5605
5573
  });
5606
5574
  const L = I(null), M = I(null);
@@ -6002,10 +5970,10 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
6002
5970
  }
6003
5971
  const E = S.trim();
6004
5972
  if (Dc(E)) {
6005
- A.value = Ha(E);
5973
+ A.value = Ua(E);
6006
5974
  return;
6007
5975
  }
6008
- const z = ra(E);
5976
+ const z = sa(E);
6009
5977
  z && (A.value = z);
6010
5978
  }
6011
5979
  ee(
@@ -6027,7 +5995,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
6027
5995
  function B(S) {
6028
5996
  const E = S.target;
6029
5997
  if (E?.value) {
6030
- const z = Ha(E.value);
5998
+ const z = Ua(E.value);
6031
5999
  A.value = z, $.value = z, i("update:modelValue", z);
6032
6000
  }
6033
6001
  }
@@ -6119,7 +6087,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
6119
6087
  onFocus: L,
6120
6088
  onInput: P
6121
6089
  }, null, 40, mm), [
6122
- [ko, $.value]
6090
+ [wo, $.value]
6123
6091
  ]),
6124
6092
  k("div", gm, [
6125
6093
  k("button", {
@@ -6247,7 +6215,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
6247
6215
  },
6248
6216
  emits: ["update:modelValue", "blur", "focus"],
6249
6217
  setup(e, { emit: l }) {
6250
- const t = e, n = la(), r = y(() => {
6218
+ const t = e, n = ta(), r = y(() => {
6251
6219
  const { class: Q, ...ie } = n;
6252
6220
  return ie;
6253
6221
  }), i = l, o = Ge(), {
@@ -6689,7 +6657,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
6689
6657
  setup(e) {
6690
6658
  const l = Ge(), t = e, n = y(() => {
6691
6659
  const c = t.modelValue;
6692
- return c == null || c === "" ? t.type === "date" || t.type === "date-ago" ? "N/A" : "" : t.type === "date" ? c instanceof Date ? c.toLocaleDateString() : String(c) : t.type === "date-ago" ? Ho(c) || "N/A" : String(c);
6660
+ return c == null || c === "" ? t.type === "date" || t.type === "date-ago" ? "N/A" : "" : t.type === "date" ? c instanceof Date ? c.toLocaleDateString() : String(c) : t.type === "date-ago" ? Uo(c) || "N/A" : String(c);
6693
6661
  }), r = I("lucide-copy");
6694
6662
  function i() {
6695
6663
  navigator.clipboard?.writeText(String(t.modelValue ?? "")), r.value = "lucide-check", setTimeout(() => {
@@ -6801,7 +6769,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
6801
6769
  hasOverflow: d,
6802
6770
  hasScroll: v,
6803
6771
  wrapperStyle: p
6804
- } = en({
6772
+ } = Zl({
6805
6773
  collapsedHeight: t.collapsedHeight,
6806
6774
  maxExpandedHeight: t.maxExpandedHeight,
6807
6775
  expanded: t.isExpanded
@@ -7159,7 +7127,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
7159
7127
  ], 10, ng));
7160
7128
  }
7161
7129
  });
7162
- function Za(e) {
7130
+ function Ja(e) {
7163
7131
  return "options" in e;
7164
7132
  }
7165
7133
  function Ol(e) {
@@ -7182,7 +7150,7 @@ const ag = {
7182
7150
  }
7183
7151
  function i(o) {
7184
7152
  const c = o.target;
7185
- if (Za(l.customButton)) {
7153
+ if (Ja(l.customButton)) {
7186
7154
  const u = l.customButton.options.find((d) => d.value === c.value);
7187
7155
  u && u.action(l.editor, c.value);
7188
7156
  }
@@ -7197,7 +7165,7 @@ const ag = {
7197
7165
  active: t.value,
7198
7166
  disabled: e.disabled || n.value,
7199
7167
  onAction: r
7200
- }, null, 8, ["icon", "active", "disabled"])) : a(Za)(e.customButton) ? (s(), b("div", ag, [
7168
+ }, null, 8, ["icon", "active", "disabled"])) : a(Ja)(e.customButton) ? (s(), b("div", ag, [
7201
7169
  k("select", {
7202
7170
  disabled: e.disabled || n.value,
7203
7171
  onChange: i
@@ -7240,7 +7208,7 @@ const ag = {
7240
7208
  }
7241
7209
  return tt(() => {
7242
7210
  document.addEventListener("click", v);
7243
- }), qt(() => {
7211
+ }), Kt(() => {
7244
7212
  document.removeEventListener("click", v);
7245
7213
  }), (p, f) => (s(), b("div", rg, [
7246
7214
  k("div", cg, [
@@ -7284,7 +7252,7 @@ const ag = {
7284
7252
  onKeydown: we(u, ["enter"]),
7285
7253
  onBlur: u
7286
7254
  }, null, 544), [
7287
- [ko, n.value]
7255
+ [wo, n.value]
7288
7256
  ])
7289
7257
  ])
7290
7258
  ])) : _("", !0)
@@ -7818,7 +7786,7 @@ const ag = {
7818
7786
  ])
7819
7787
  ])) : _("", !0),
7820
7788
  k("div", Sg, [
7821
- w.value === "editor" ? (s(), N(a(Fa), {
7789
+ w.value === "editor" ? (s(), N(a(Da), {
7822
7790
  key: 0,
7823
7791
  editor: a(B),
7824
7792
  class: "vc-editor__content"
@@ -7839,7 +7807,7 @@ const ag = {
7839
7807
  }, null, 40, $g)) : _("", !0),
7840
7808
  w.value === "split" ? (s(), b("div", Eg, [
7841
7809
  k("div", _g, [
7842
- R(a(Fa), {
7810
+ R(a(Da), {
7843
7811
  editor: a(B),
7844
7812
  class: "vc-editor__content"
7845
7813
  }, null, 8, ["editor"])
@@ -8007,14 +7975,14 @@ function hi(e = {}) {
8007
7975
  getFocusedIndex: () => c.value
8008
7976
  };
8009
7977
  }
8010
- function eo(e, l) {
7978
+ function Za(e, l) {
8011
7979
  const t = e !== void 0 ? e : l;
8012
7980
  return typeof t == "function" ? t : (n) => n === null || typeof n != "object" ? n : t && t in n ? n[t] : n;
8013
7981
  }
8014
7982
  function Ag(e) {
8015
- const l = y(() => eo(e.optionValue(), "id")), t = y(() => eo(e.optionLabel(), "title"));
7983
+ const l = y(() => Za(e.optionValue(), "id")), t = y(() => Za(e.optionLabel(), "title"));
8016
7984
  function n(o, c, u, d) {
8017
- const v = (p) => Ut(l.value(p), o);
7985
+ const v = (p) => Ht(l.value(p), o);
8018
7986
  return u.find(v) || d.find(v) || c.find(v) || o;
8019
7987
  }
8020
7988
  function r(o) {
@@ -8053,7 +8021,7 @@ function Tg() {
8053
8021
  },
8054
8022
  { threshold: 0.1 }
8055
8023
  ), t.observe(e.value), n = setTimeout(r, 100));
8056
- }), qt(() => {
8024
+ }), Kt(() => {
8057
8025
  n !== null && (clearTimeout(n), n = null), t && e.value && t.unobserve(e.value), t && t.disconnect();
8058
8026
  }), {
8059
8027
  selectRootRef: e,
@@ -8075,10 +8043,10 @@ function Og(e) {
8075
8043
  }
8076
8044
  };
8077
8045
  }
8078
- const o = Zt(n, r, {
8046
+ const o = el(n, r, {
8079
8047
  placement: y(() => e.placement),
8080
8048
  middleware: y(() => [
8081
- Kt({ fallbackPlacements: ["top", "bottom"] }),
8049
+ jt({ fallbackPlacements: ["top", "bottom"] }),
8082
8050
  Mt({ mainAxis: !1 }),
8083
8051
  i(),
8084
8052
  At({ mainAxis: 4 })
@@ -8183,7 +8151,7 @@ function Mg(e) {
8183
8151
  async function P(x) {
8184
8152
  if (x.length === 0) return [];
8185
8153
  const D = x.filter((S) => !d.has(String(S))).filter((S) => {
8186
- const E = l.value.find((z) => Ut(e.getOptionValue.value(z), S));
8154
+ const E = l.value.find((z) => Ht(e.getOptionValue.value(z), S));
8187
8155
  return E ? (d.set(String(S), E), !1) : !0;
8188
8156
  }), L = e.options();
8189
8157
  if (D.length > 0 && typeof L == "function") {
@@ -8267,7 +8235,7 @@ function Bg(e) {
8267
8235
  const n = y(() => t.value.map((p) => e.getOptionValue.value(p)));
8268
8236
  function r(p) {
8269
8237
  const f = e.getOptionValue.value(p);
8270
- return n.value.find((g) => Ut(g, f)) !== void 0;
8238
+ return n.value.find((g) => Ht(g, f)) !== void 0;
8271
8239
  }
8272
8240
  const i = y(
8273
8241
  () => t.value.map((p, f) => ({
@@ -8289,7 +8257,7 @@ function Bg(e) {
8289
8257
  return;
8290
8258
  const f = e.getOptionValue.value(p);
8291
8259
  if (e.multiple() !== !0) {
8292
- (t.value.length === 0 || Ut(e.getOptionValue.value(t.value[0]), f) !== !0) && e.emit.updateModelValue(e.emitValue() === !0 ? f : p), e.isOpened.value = !1, e.emit.close();
8260
+ (t.value.length === 0 || Ht(e.getOptionValue.value(t.value[0]), f) !== !0) && e.emit.updateModelValue(e.emitValue() === !0 ? f : p), e.isOpened.value = !1, e.emit.close();
8293
8261
  return;
8294
8262
  }
8295
8263
  if (t.value.length === 0) {
@@ -8297,7 +8265,7 @@ function Bg(e) {
8297
8265
  e.emit.updateModelValue(e.multiple() === !0 ? [m] : m);
8298
8266
  return;
8299
8267
  }
8300
- const g = e.modelValue().slice(), h = n.value.findIndex((m) => Ut(m, f));
8268
+ const g = e.modelValue().slice(), h = n.value.findIndex((m) => Ht(m, f));
8301
8269
  if (h > -1)
8302
8270
  g.splice(h, 1);
8303
8271
  else {
@@ -8747,14 +8715,14 @@ const Lg = { class: "vc-select__control" }, Ng = {
8747
8715
  _: 3
8748
8716
  }, 512)
8749
8717
  ], 44, ip)), [
8750
- [a(Qt), [() => r("clickOutside"), { ignore: [e.dropdownToggleRef] }]]
8718
+ [a(Jt), [() => r("clickOutside"), { ignore: [e.dropdownToggleRef] }]]
8751
8719
  ]) : _("", !0)
8752
8720
  ]),
8753
8721
  _: 3
8754
8722
  })
8755
8723
  ], 8, ["to"]));
8756
8724
  }
8757
- }), mp = ["innerHTML"], gp = { class: "vc-select__field-container" }, Wt = /* @__PURE__ */ K({
8725
+ }), mp = ["innerHTML"], gp = { class: "vc-select__field-container" }, Gt = /* @__PURE__ */ K({
8758
8726
  inheritAttrs: !1,
8759
8727
  __name: "vc-select",
8760
8728
  props: {
@@ -8788,7 +8756,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
8788
8756
  },
8789
8757
  emits: ["update:modelValue", "search", "close"],
8790
8758
  setup(e, { emit: l }) {
8791
- const t = e, n = la(), r = y(() => {
8759
+ const t = e, n = ta(), r = y(() => {
8792
8760
  const { class: oe, ...Re } = n;
8793
8761
  return Re;
8794
8762
  }), i = l, { t: o } = Pe({ useScope: "global" }), c = Ge(), {
@@ -8812,9 +8780,9 @@ const Lg = { class: "vc-select__control" }, Ng = {
8812
8780
  disabled: () => t.disabled ?? !1,
8813
8781
  ensureVisibility: B
8814
8782
  });
8815
- Ht(() => {
8783
+ Wt(() => {
8816
8784
  z.value = $.value?.toggleRef ?? null;
8817
- }), Ht(() => {
8785
+ }), Wt(() => {
8818
8786
  Y.value = A.value?.dropdownElRef ?? null;
8819
8787
  });
8820
8788
  const H = Mg({
@@ -9115,7 +9083,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
9115
9083
  setup(e) {
9116
9084
  const l = Ge();
9117
9085
  return (t, n) => {
9118
- const r = So("VcButton");
9086
+ const r = ko("VcButton");
9119
9087
  return a(l) ? (s(), b("div", pp, [
9120
9088
  e.label ? (s(), N(a(be), {
9121
9089
  key: 0,
@@ -9128,7 +9096,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
9128
9096
  width: "100%",
9129
9097
  height: 36
9130
9098
  })
9131
- ])) : (s(), N(a(Wt), {
9099
+ ])) : (s(), N(a(Gt), {
9132
9100
  key: 1,
9133
9101
  class: "vc-input-dropdown",
9134
9102
  options: e.options,
@@ -9380,7 +9348,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
9380
9348
  }), Sp = ["id", "data-mounted", "data-removed", "data-y-position", "data-front", "data-expanded", "data-visible", "data-swiping", "data-swiped-out", "role"], Cp = { class: "vc-notification__content-wrapper" }, $p = {
9381
9349
  key: 0,
9382
9350
  class: "vc-notification__content"
9383
- }, Ep = { key: 1 }, to = 200, _p = 45, x_ = /* @__PURE__ */ K({
9351
+ }, Ep = { key: 1 }, eo = 200, _p = 45, x_ = /* @__PURE__ */ K({
9384
9352
  __name: "vc-toast",
9385
9353
  props: {
9386
9354
  content: { type: [String, Object, Function] },
@@ -9409,7 +9377,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
9409
9377
  function g() {
9410
9378
  u.value || (u.value = !0, f.value?.clear(), setTimeout(() => {
9411
9379
  t("close", n.notificationId);
9412
- }, to));
9380
+ }, eo));
9413
9381
  }
9414
9382
  ee(
9415
9383
  () => n.dismissing,
@@ -9494,7 +9462,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
9494
9462
  if (Math.abs(E) >= _p || Y > 0.11) {
9495
9463
  u.value = !0, f.value?.clear(), B.value = !0;
9496
9464
  const X = E > 0 ? 1 : -1;
9497
- o.value?.style.setProperty("--swipe-amount-x", `${X * window.innerWidth}px`), setTimeout(() => t("close", n.notificationId), to);
9465
+ o.value?.style.setProperty("--swipe-amount-x", `${X * window.innerWidth}px`), setTimeout(() => t("close", n.notificationId), eo);
9498
9466
  } else
9499
9467
  o.value?.style.setProperty("--swipe-amount-x", "0px"), f.value?.resume();
9500
9468
  P.value = !1, A.value = 0, O.value = 0;
@@ -9763,7 +9731,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
9763
9731
  ariaLabel: {}
9764
9732
  },
9765
9733
  setup(e) {
9766
- const l = Ge(), t = [Vo], n = y(() => ({
9734
+ const l = Ge(), t = [No], n = y(() => ({
9767
9735
  nextEl: ".vc-slider__next",
9768
9736
  prevEl: ".vc-slider__prev"
9769
9737
  }));
@@ -10133,7 +10101,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
10133
10101
  })
10134
10102
  ], 34)
10135
10103
  ], 44, db)), [
10136
- [a(Qt), [() => r("clickOutside"), { ignore: [e.dropdownToggleRef] }]]
10104
+ [a(Jt), [() => r("clickOutside"), { ignore: [e.dropdownToggleRef] }]]
10137
10105
  ]) : _("", !0)
10138
10106
  ]),
10139
10107
  _: 3
@@ -10180,7 +10148,7 @@ function bb(e) {
10180
10148
  if (i === "" || i === void 0 || i === null)
10181
10149
  return;
10182
10150
  if (e.type() === "color") {
10183
- const c = ra(i);
10151
+ const c = sa(i);
10184
10152
  e.addItem({
10185
10153
  [e.optionLabel()]: i,
10186
10154
  colorCode: c || "#000000"
@@ -10238,10 +10206,10 @@ function yb(e) {
10238
10206
  }
10239
10207
  };
10240
10208
  }
10241
- const c = Zt(n, r, {
10209
+ const c = el(n, r, {
10242
10210
  placement: "bottom",
10243
10211
  middleware: y(() => [
10244
- Kt({ fallbackPlacements: ["top", "bottom"] }),
10212
+ jt({ fallbackPlacements: ["top", "bottom"] }),
10245
10213
  Mt({ mainAxis: !1 }),
10246
10214
  o(),
10247
10215
  At({ mainAxis: 4 })
@@ -10303,7 +10271,7 @@ function wb(e) {
10303
10271
  const kb = {
10304
10272
  key: 0,
10305
10273
  class: "vc-multivalue vc-multivalue--skeleton"
10306
- }, Sb = { key: 0 }, Cb = { key: 1 }, Ft = /* @__PURE__ */ K({
10274
+ }, Sb = { key: 0 }, Cb = { key: 1 }, zt = /* @__PURE__ */ K({
10307
10275
  __name: "vc-multivalue",
10308
10276
  props: {
10309
10277
  placeholder: {},
@@ -10360,7 +10328,7 @@ const kb = {
10360
10328
  close: () => n("close")
10361
10329
  }
10362
10330
  });
10363
- Ht(() => {
10331
+ Wt(() => {
10364
10332
  Y.value = h.value?.triggerRef ?? null, X.value = m.value?.dropdownElRef ?? null, Q.value = m.value?.searchInputRef ?? null;
10365
10333
  });
10366
10334
  function le(W) {
@@ -10536,7 +10504,7 @@ const kb = {
10536
10504
  }, Eb = {
10537
10505
  key: 1,
10538
10506
  class: "vc-radio-button"
10539
- }, _b = { class: "vc-radio-button__label" }, xb = ["id", "name", "value", "checked", "disabled", "aria-invalid", "aria-required", "aria-describedby"], Rb = { key: 0 }, ya = /* @__PURE__ */ K({
10507
+ }, _b = { class: "vc-radio-button__label" }, xb = ["id", "name", "value", "checked", "disabled", "aria-invalid", "aria-required", "aria-describedby"], Rb = { key: 0 }, ha = /* @__PURE__ */ K({
10540
10508
  __name: "vc-radio-button",
10541
10509
  props: {
10542
10510
  label: {},
@@ -10560,7 +10528,7 @@ const kb = {
10560
10528
  resolvedName: u,
10561
10529
  ariaRequired: d,
10562
10530
  ariaDescribedBy: v
10563
- } = dt(t), p = Ge(), f = y(() => t.modelValue != null && (t.binary ? !!t.modelValue : Ut(t.modelValue, t.value)));
10531
+ } = dt(t), p = Ge(), f = y(() => t.modelValue != null && (t.binary ? !!t.modelValue : Ht(t.modelValue, t.value)));
10564
10532
  function g() {
10565
10533
  if (!c.value) {
10566
10534
  const h = t.binary ? !f.value : t.value;
@@ -10784,7 +10752,7 @@ const kb = {
10784
10752
  name: c.value
10785
10753
  }, {
10786
10754
  default: T(() => [
10787
- v.$slots.default ? U(v.$slots, "default", { key: 0 }) : (s(!0), b(te, { key: 1 }, me(e.options, (f, g) => (s(), N(a(ya), {
10755
+ v.$slots.default ? U(v.$slots, "default", { key: 0 }) : (s(!0), b(te, { key: 1 }, me(e.options, (f, g) => (s(), N(a(ha), {
10788
10756
  key: d(f, g),
10789
10757
  "model-value": e.modelValue,
10790
10758
  value: f.value,
@@ -10818,7 +10786,7 @@ const kb = {
10818
10786
  key: 1,
10819
10787
  class: "vc-checkbox__required",
10820
10788
  "aria-hidden": "true"
10821
- }, Hb = { key: 0 }, an = /* @__PURE__ */ K({
10789
+ }, Hb = { key: 0 }, nn = /* @__PURE__ */ K({
10822
10790
  __name: "vc-checkbox",
10823
10791
  props: {
10824
10792
  label: {},
@@ -11038,7 +11006,7 @@ const kb = {
11038
11006
  name: c.value
11039
11007
  }, {
11040
11008
  default: T(() => [
11041
- p.$slots.default ? U(p.$slots, "default", { key: 0 }) : (s(!0), b(te, { key: 1 }, me(e.options, (g, h) => (s(), N(a(an), {
11009
+ p.$slots.default ? U(p.$slots, "default", { key: 0 }) : (s(!0), b(te, { key: 1 }, me(e.options, (g, h) => (s(), N(a(nn), {
11042
11010
  key: v(g, h),
11043
11011
  "model-value": u.value,
11044
11012
  value: g.value,
@@ -11209,12 +11177,12 @@ const kb = {
11209
11177
  const n = e, r = t, { teleportTarget: i } = Ct(), o = I(null), c = I(null), u = y(() => n.anchorRef ?? null), d = y(() => {
11210
11178
  const w = n.anchorRef;
11211
11179
  return w ? w instanceof Element ? w : w.contextElement ?? null : null;
11212
- }), { floatingStyle: v } = Zt(u, o, {
11180
+ }), { floatingStyle: v } = el(u, o, {
11213
11181
  strategy: "fixed",
11214
11182
  placement: y(() => n.placement),
11215
11183
  middleware: y(() => [
11216
11184
  At(4),
11217
- Kt(),
11185
+ jt(),
11218
11186
  Mt({ padding: 16 }),
11219
11187
  Ms({
11220
11188
  padding: 16,
@@ -11307,7 +11275,7 @@ const kb = {
11307
11275
  })
11308
11276
  ], 8, ["to"]));
11309
11277
  }
11310
- }), wa = Symbol("VcMenuExpanded"), th = { class: "vc-menu" }, lh = {
11278
+ }), ya = Symbol("VcMenuExpanded"), th = { class: "vc-menu" }, lh = {
11311
11279
  key: 0,
11312
11280
  class: "vc-menu__skeleton"
11313
11281
  }, nh = { class: "tw-flex tw-items-center tw-h-[30px] tw-px-1.5" }, ah = { class: "tw-flex tw-flex-col tw-gap-1" }, oh = { class: "tw-flex tw-items-center tw-gap-1.5 tw-h-7 tw-px-1.5" }, ih = {
@@ -11326,7 +11294,7 @@ const kb = {
11326
11294
  setup(e) {
11327
11295
  const l = e;
11328
11296
  Oe(
11329
- wa,
11297
+ ya,
11330
11298
  y(() => l.expanded)
11331
11299
  );
11332
11300
  const t = [
@@ -11410,7 +11378,7 @@ const kb = {
11410
11378
  },
11411
11379
  emits: ["click"],
11412
11380
  setup(e) {
11413
- const l = e, t = ue(wa, void 0), n = y(() => l.expanded != null ? l.expanded : t?.value ?? !0), r = y(() => l.title?.split(" ").slice(0, 2).map((o) => o[0]).join("")), i = y(() => {
11381
+ const l = e, t = ue(ya, void 0), n = y(() => l.expanded != null ? l.expanded : t?.value ?? !0), r = y(() => l.title?.split(" ").slice(0, 2).map((o) => o[0]).join("")), i = y(() => {
11414
11382
  if (!l.badge) return !1;
11415
11383
  if (l.badge.isDot) return !0;
11416
11384
  const o = l.badge.content;
@@ -11489,7 +11457,7 @@ const kb = {
11489
11457
  },
11490
11458
  emits: ["update:open"],
11491
11459
  setup(e, { expose: l }) {
11492
- const t = e, n = ue(wa, void 0), r = y(() => n?.value ?? !0), i = typeof window > "u" ? `vc_menu_${t.groupId}_open` : `vc_menu_${window.location.pathname.split("/").filter(Boolean)[0] || "default"}_${t.groupId}_open`, o = Xl(i, t.open ?? !1), c = () => {
11460
+ const t = e, n = ue(ya, void 0), r = y(() => n?.value ?? !0), i = typeof window > "u" ? `vc_menu_${t.groupId}_open` : `vc_menu_${window.location.pathname.split("/").filter(Boolean)[0] || "default"}_${t.groupId}_open`, o = Xl(i, t.open ?? !1), c = () => {
11493
11461
  o.value = !o.value;
11494
11462
  };
11495
11463
  return l({
@@ -11549,7 +11517,7 @@ const kb = {
11549
11517
  ], 2)
11550
11518
  ], 2));
11551
11519
  }
11552
- }), bh = rh, lo = ki, hh = ph;
11520
+ }), bh = rh, to = ki, hh = ph;
11553
11521
  function yh(e) {
11554
11522
  const l = I(!1), t = I(!1);
11555
11523
  function n() {
@@ -11583,7 +11551,7 @@ const wh = {
11583
11551
  },
11584
11552
  emits: ["preview", "edit", "remove"],
11585
11553
  setup(e) {
11586
- const l = e, { t } = Pe({ useScope: "global" }), { isMobile: n } = Le(), r = y(() => ca(l.src, l.thumbnailSize) ?? l.src), i = I(!1), o = y(() => i.value ? l.src : r.value), c = yh(Te(() => o.value)), u = I(!1);
11554
+ const l = e, { t } = Pe({ useScope: "global" }), { isMobile: n } = Le(), r = y(() => ra(l.src, l.thumbnailSize) ?? l.src), i = I(!1), o = y(() => i.value ? l.src : r.value), c = yh(Te(() => o.value)), u = I(!1);
11587
11555
  ee(
11588
11556
  () => [l.src, l.thumbnailSize],
11589
11557
  () => {
@@ -11679,7 +11647,7 @@ const wh = {
11679
11647
  ])
11680
11648
  ])
11681
11649
  ], 2)), [
11682
- [a(Qt), p]
11650
+ [a(Jt), p]
11683
11651
  ]);
11684
11652
  }
11685
11653
  }), Ah = { class: "vc-language-selector" }, Th = ["disabled", "aria-expanded"], Oh = ["src", "alt"], Mh = {
@@ -11709,7 +11677,7 @@ const wh = {
11709
11677
  i.value = !1, n("update:modelValue", d.value);
11710
11678
  };
11711
11679
  return (d, v) => (s(), b("div", Ah, [
11712
- R(a(tn), {
11680
+ R(a(en), {
11713
11681
  "model-value": i.value,
11714
11682
  items: e.options,
11715
11683
  floating: !0,
@@ -11808,7 +11776,7 @@ const wh = {
11808
11776
  },
11809
11777
  emits: ["logo:click", "toggle-menu", "toggle-notifications"],
11810
11778
  setup(e) {
11811
- const l = ue(To, I(!1));
11779
+ const l = ue(Ao, I(!1));
11812
11780
  return (t, n) => e.isVisible ? (s(), b("div", {
11813
11781
  key: 0,
11814
11782
  class: q(["sidebar-header", {
@@ -11895,7 +11863,7 @@ function $i(e) {
11895
11863
  return t && e.path.startsWith(`/${t}/`) ? e.path.slice(t.length + 1) : t && e.path === `/${t}` ? "/" : e.path;
11896
11864
  }
11897
11865
  function M_(e) {
11898
- const l = Xt();
11866
+ const l = Qt();
11899
11867
  return { isActive: y(() => {
11900
11868
  const n = _e(e);
11901
11869
  if (!n) return !1;
@@ -11903,7 +11871,7 @@ function M_(e) {
11903
11871
  return r === n || r.startsWith(n + "/");
11904
11872
  }) };
11905
11873
  }
11906
- const Jn = /* @__PURE__ */ K({
11874
+ const Qn = /* @__PURE__ */ K({
11907
11875
  __name: "VcAppMenu",
11908
11876
  props: {
11909
11877
  expanded: { type: Boolean, default: !0 },
@@ -11911,7 +11879,7 @@ const Jn = /* @__PURE__ */ K({
11911
11879
  },
11912
11880
  emits: ["item:click"],
11913
11881
  setup(e, { emit: l }) {
11914
- const t = e, n = l, r = Xt(), { t: i } = Pe(), { menuItems: o, menuBadges: c } = jo(), { hasAccess: u } = yl(), d = ($) => u($.permissions), v = ($) => ($.children ?? []).filter((A) => d(A)), p = y(() => o.value.filter(($) => d($) ? $.children?.length ? v($).length > 0 : !0 : !1)), f = y(() => {
11882
+ const t = e, n = l, r = Qt(), { t: i } = Pe(), { menuItems: o, menuBadges: c } = jo(), { hasAccess: u } = yl(), d = ($) => u($.permissions), v = ($) => ($.children ?? []).filter((A) => d(A)), p = y(() => o.value.filter(($) => d($) ? $.children?.length ? v($).length > 0 : !0 : !1)), f = y(() => {
11915
11883
  const $ = t.searchQuery?.toLowerCase().trim();
11916
11884
  return $ ? p.value.map((A) => {
11917
11885
  const O = v(A);
@@ -11981,7 +11949,7 @@ const Jn = /* @__PURE__ */ K({
11981
11949
  badge: w.value.get(O.routeId ?? O.groupId ?? "")
11982
11950
  }, {
11983
11951
  default: T(() => [
11984
- (s(!0), b(te, null, me(v(O), (P) => (s(), N(a(lo), {
11952
+ (s(!0), b(te, null, me(v(O), (P) => (s(), N(a(to), {
11985
11953
  key: P.routeId || P.url || P.id || P.title,
11986
11954
  "data-test-id": P.routeId,
11987
11955
  icon: P.icon,
@@ -11993,7 +11961,7 @@ const Jn = /* @__PURE__ */ K({
11993
11961
  }, null, 8, ["data-test-id", "icon", "title", "badge", "active", "onClick"]))), 128))
11994
11962
  ]),
11995
11963
  _: 2
11996
- }, 1032, ["data-test-id", "group-id", "icon", "title", "badge"])) : (s(), N(a(lo), {
11964
+ }, 1032, ["data-test-id", "group-id", "icon", "title", "badge"])) : (s(), N(a(to), {
11997
11965
  key: 1,
11998
11966
  "data-test-id": O.routeId,
11999
11967
  icon: O.groupIcon || O.icon,
@@ -12078,7 +12046,7 @@ const Jn = /* @__PURE__ */ K({
12078
12046
  emits: ["update:isOpened", "item:click"],
12079
12047
  setup(e) {
12080
12048
  const { isDesktop: l } = Le();
12081
- return (t, n) => (s(), N(a(el), {
12049
+ return (t, n) => (s(), N(a(tl), {
12082
12050
  "model-value": e.isOpened,
12083
12051
  position: "left",
12084
12052
  teleport: !a(l),
@@ -12106,11 +12074,11 @@ const Jn = /* @__PURE__ */ K({
12106
12074
  disabled: { type: Boolean }
12107
12075
  },
12108
12076
  setup(e) {
12109
- const l = I(!1), t = I(null), { isPinned: n, isExpanded: r } = ha(), { isMobile: i, isDesktop: o } = Le();
12077
+ const l = I(!1), t = I(null), { isPinned: n, isExpanded: r } = ba(), { isMobile: i, isDesktop: o } = Le();
12110
12078
  function c() {
12111
12079
  l.value = !1;
12112
12080
  }
12113
- Oe(ia, c);
12081
+ Oe(oa, c);
12114
12082
  function u() {
12115
12083
  l.value = !l.value;
12116
12084
  }
@@ -12218,7 +12186,7 @@ const Jn = /* @__PURE__ */ K({
12218
12186
  onItemClick: c,
12219
12187
  searchQuery: o.value
12220
12188
  }, () => [
12221
- R(Jn, {
12189
+ R(Qn, {
12222
12190
  expanded: e.expanded,
12223
12191
  "search-query": o.value,
12224
12192
  "onItem:click": c
@@ -12298,8 +12266,8 @@ function vy() {
12298
12266
  function Ii() {
12299
12267
  return ue(Ri, dy);
12300
12268
  }
12301
- function on() {
12302
- const { items: e } = nn(), { activeWidgetId: l } = Ii(), {
12269
+ function an() {
12270
+ const { items: e } = ln(), { activeWidgetId: l } = Ii(), {
12303
12271
  showItem: t,
12304
12272
  hideAllItems: n,
12305
12273
  toggleItem: r,
@@ -12329,13 +12297,13 @@ function fy(e) {
12329
12297
  function my(e) {
12330
12298
  return e ? e.replace(/[\-_]+/g, " ").replace(/\s+/g, " ").trim().replace(/\b\w/g, (l) => l.toUpperCase()) : "";
12331
12299
  }
12332
- const no = /* @__PURE__ */ K({
12300
+ const lo = /* @__PURE__ */ K({
12333
12301
  __name: "AppBarWidgetContent",
12334
12302
  props: {
12335
12303
  mobile: { type: Boolean, default: !1 }
12336
12304
  },
12337
12305
  setup(e) {
12338
- const { currentWidget: l, hideAllWidgets: t, isAnyWidgetVisible: n } = on(), r = y(() => ({
12306
+ const { currentWidget: l, hideAllWidgets: t, isAnyWidgetVisible: n } = an(), r = y(() => ({
12339
12307
  ...l.value?.props ?? {},
12340
12308
  onClose: t
12341
12309
  }));
@@ -12367,7 +12335,7 @@ const no = /* @__PURE__ */ K({
12367
12335
  }, Py = {
12368
12336
  key: 0,
12369
12337
  class: "app-hub-content__flyout app-hub-content__flyout--mobile"
12370
- }, Dy = { class: "app-hub-content__flyout-header" }, Fy = { class: "app-hub-content__flyout-title" }, zy = { class: "app-hub-content__flyout-body" }, ao = 120, Bl = 120, Uy = 80, Hy = 120, Zn = /* @__PURE__ */ K({
12338
+ }, Dy = { class: "app-hub-content__flyout-header" }, Fy = { class: "app-hub-content__flyout-title" }, zy = { class: "app-hub-content__flyout-body" }, no = 120, Bl = 120, Uy = 80, Hy = 120, Jn = /* @__PURE__ */ K({
12371
12339
  __name: "AppHubContent",
12372
12340
  props: {
12373
12341
  appsList: {},
@@ -12376,12 +12344,12 @@ const no = /* @__PURE__ */ K({
12376
12344
  },
12377
12345
  emits: ["switch-app"],
12378
12346
  setup(e, { emit: l }) {
12379
- const t = e, n = l, r = ht(), i = y(() => typeof r.applications == "function"), o = I(null), c = I(null), { items: u } = nn(), { currentWidget: d, hideAllWidgets: v, isAnyWidgetVisible: p, toggleWidget: f } = on(), { searchQuery: g, filteredApps: h, filteredWidgets: m, getWidgetTitle: C } = fy({
12347
+ const t = e, n = l, r = ht(), i = y(() => typeof r.applications == "function"), o = I(null), c = I(null), { items: u } = ln(), { currentWidget: d, hideAllWidgets: v, isAnyWidgetVisible: p, toggleWidget: f } = an(), { searchQuery: g, filteredApps: h, filteredWidgets: m, getWidgetTitle: C } = fy({
12380
12348
  appsList: Te(t, "appsList"),
12381
12349
  widgets: u,
12382
12350
  showApplications: Te(t, "showApplications"),
12383
12351
  mobile: Te(t, "mobile")
12384
- }), w = I(Bl), $ = I(Bl), A = y(() => !i.value && h.value.length > ao), O = y(() => m.value.length > ao), P = y(() => A.value ? h.value.slice(0, w.value) : h.value), B = y(() => O.value ? m.value.slice(0, $.value) : m.value);
12352
+ }), w = I(Bl), $ = I(Bl), A = y(() => !i.value && h.value.length > no), O = y(() => m.value.length > no), P = y(() => A.value ? h.value.slice(0, w.value) : h.value), B = y(() => O.value ? m.value.slice(0, $.value) : m.value);
12385
12353
  ee(
12386
12354
  () => u.value.map((G) => G.id),
12387
12355
  () => {
@@ -12551,7 +12519,7 @@ const no = /* @__PURE__ */ K({
12551
12519
  ]),
12552
12520
  R(a(kt), { class: "app-hub-content__widget-inline-body" }, {
12553
12521
  default: T(() => [
12554
- R(no)
12522
+ R(lo)
12555
12523
  ]),
12556
12524
  _: 1
12557
12525
  })
@@ -12605,7 +12573,7 @@ const no = /* @__PURE__ */ K({
12605
12573
  }, null, 8, ["onClick"])
12606
12574
  ]),
12607
12575
  k("div", zy, [
12608
- R(no, { mobile: "" })
12576
+ R(lo, { mobile: "" })
12609
12577
  ])
12610
12578
  ])) : _("", !0)
12611
12579
  ]),
@@ -12623,7 +12591,7 @@ const no = /* @__PURE__ */ K({
12623
12591
  },
12624
12592
  emits: ["update:show", "switch-app"],
12625
12593
  setup(e, { emit: l }) {
12626
- const t = e, n = l, { hideAllWidgets: r } = on(), i = y({
12594
+ const t = e, n = l, { hideAllWidgets: r } = an(), i = y({
12627
12595
  get: () => t.show,
12628
12596
  set: (c) => {
12629
12597
  n("update:show", c);
@@ -12649,7 +12617,7 @@ const no = /* @__PURE__ */ K({
12649
12617
  "content-scrollable": !1
12650
12618
  }, {
12651
12619
  default: T(() => [
12652
- R(Zn, {
12620
+ R(Jn, {
12653
12621
  "apps-list": e.appsList,
12654
12622
  "show-applications": e.showApplications,
12655
12623
  onSwitchApp: o
@@ -12669,7 +12637,7 @@ const no = /* @__PURE__ */ K({
12669
12637
  }), Gy = { class: "vc-notification-template__content" }, qy = { class: "vc-notification-template__time" }, Ky = {
12670
12638
  key: 0,
12671
12639
  class: "vc-notification-template__content-body"
12672
- }, oo = 60, io = 3600, jy = 86400, Yy = /* @__PURE__ */ K({
12640
+ }, ao = 60, oo = 3600, jy = 86400, Yy = /* @__PURE__ */ K({
12673
12641
  __name: "notification-template",
12674
12642
  props: {
12675
12643
  title: {},
@@ -12686,7 +12654,7 @@ const no = /* @__PURE__ */ K({
12686
12654
  const u = c instanceof Date ? c : new Date(c);
12687
12655
  if (Number.isNaN(u.getTime())) return "";
12688
12656
  const d = Date.now(), v = Math.round((d - u.getTime()) / 1e3), p = Math.abs(v), f = new Intl.RelativeTimeFormat(i, { numeric: "auto" });
12689
- return p < oo ? f.format(-v, "second") : p < io ? f.format(-Math.round(v / oo), "minute") : p < jy ? f.format(-Math.round(v / io), "hour") : new Intl.DateTimeFormat(i, {
12657
+ return p < ao ? f.format(-v, "second") : p < oo ? f.format(-Math.round(v / ao), "minute") : p < jy ? f.format(-Math.round(v / oo), "hour") : new Intl.DateTimeFormat(i, {
12690
12658
  dateStyle: "short",
12691
12659
  timeStyle: "short"
12692
12660
  }).format(u);
@@ -12815,7 +12783,7 @@ const no = /* @__PURE__ */ K({
12815
12783
  },
12816
12784
  emits: ["logo:click", "item:click", "switch-app"],
12817
12785
  setup(e, { emit: l }) {
12818
- const t = l, n = ha(), r = ue(hl, !1), i = Xt(), o = I(null), c = I(!1), u = I(null), d = y(() => !r);
12786
+ const t = l, n = ba(), r = ue(hl, !1), i = Qt(), o = I(null), c = I(!1), u = I(null), d = y(() => !r);
12819
12787
  ee(
12820
12788
  () => i.fullPath,
12821
12789
  () => {
@@ -12962,15 +12930,15 @@ function nw() {
12962
12930
  }
12963
12931
  const aw = qe("use-app-bar-mobile-buttons");
12964
12932
  function ow() {
12965
- const e = ue(qn, null);
12933
+ const e = ue(Gn, null);
12966
12934
  if (e)
12967
12935
  return e;
12968
12936
  const l = nw();
12969
- return Oe(qn, l), Gt() && Tt(() => {
12937
+ return Oe(Gn, l), qt() && Tt(() => {
12970
12938
  }), l;
12971
12939
  }
12972
12940
  function Ti() {
12973
- const e = ue(qn);
12941
+ const e = ue(Gn);
12974
12942
  if (!e)
12975
12943
  throw aw.error("AppBarMobileButtonsService not found"), new Bt("AppBarMobileButtonsService");
12976
12944
  return e;
@@ -13015,7 +12983,7 @@ const sw = {
13015
12983
  expanded: {}
13016
12984
  },
13017
12985
  setup(e) {
13018
- const l = e, { isMobile: t } = Le(), { getButtons: n } = Ti(), { currentAction: r, toggleAction: i, hideAllActions: o, isAnyActionVisible: c } = iw(), u = Xt(), d = (f) => {
12986
+ const l = e, { isMobile: t } = Le(), { getButtons: n } = Ti(), { currentAction: r, toggleAction: i, hideAllActions: o, isAnyActionVisible: c } = iw(), u = Qt(), d = (f) => {
13019
12987
  if (r.value?.id === f.id) {
13020
12988
  f.onClose?.(), o();
13021
12989
  return;
@@ -13044,7 +13012,7 @@ const sw = {
13044
13012
  }, null, 8, ["class", "icon", "onClick"])) : _("", !0),
13045
13013
  p(h) ? (s(), b("span", rw)) : _("", !0)
13046
13014
  ]))), 128)),
13047
- R(a(el), {
13015
+ R(a(tl), {
13048
13016
  "model-value": a(c) && !!a(r)?.component,
13049
13017
  position: "bottom",
13050
13018
  size: "sm",
@@ -13080,7 +13048,7 @@ const sw = {
13080
13048
  },
13081
13049
  emits: ["update:is-opened"],
13082
13050
  setup(e, { emit: l }) {
13083
- const t = e, n = l, r = ue(hl, !1), { isMobile: i, isDesktop: o } = Le(), c = ht(), u = y(() => !r && (o.value || !!c.widgets)), d = y(() => i.value ? el : "div"), v = y(() => i.value ? {
13051
+ const t = e, n = l, r = ue(hl, !1), { isMobile: i, isDesktop: o } = Le(), c = ht(), u = y(() => !r && (o.value || !!c.widgets)), d = y(() => i.value ? tl : "div"), v = y(() => i.value ? {
13084
13052
  modelValue: t.isOpened,
13085
13053
  position: "left",
13086
13054
  closeButton: !1,
@@ -13166,7 +13134,7 @@ const sw = {
13166
13134
  }, Iw = {
13167
13135
  key: 0,
13168
13136
  class: "mobile-layout__search"
13169
- }, ft = 0, ul = 1, so = 8, Aw = 0.3, Tw = 0.3, Ow = 1, Mw = 0.2, ro = "transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94)", Bw = /* @__PURE__ */ K({
13137
+ }, ft = 0, ul = 1, io = 8, Aw = 0.3, Tw = 0.3, Ow = 1, Mw = 0.2, so = "transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94)", Bw = /* @__PURE__ */ K({
13170
13138
  __name: "MobileLayout",
13171
13139
  props: {
13172
13140
  logo: {},
@@ -13182,7 +13150,7 @@ const sw = {
13182
13150
  },
13183
13151
  emits: ["item:click", "switch-app"],
13184
13152
  setup(e, { emit: l }) {
13185
- const t = e, n = l, r = I(""), i = ha(), o = ue(hl, !1), { blades: c, activeBlade: u } = bl(), { items: d } = nn(), v = y(
13153
+ const t = e, n = l, r = I(""), i = ba(), o = ue(hl, !1), { blades: c, activeBlade: u } = bl(), { items: d } = ln(), v = y(
13186
13154
  () => d.value.some((H) => H.badge === void 0 ? !1 : typeof H.badge == "function" ? H.badge() : !!H.badge)
13187
13155
  ), p = y(() => d.value.length > 0 || !t.disableAppHub && t.appsList.length > 0), f = y(() => p.value && !t.disableMenu), g = I(ft), h = I(!1), m = I(0), C = I(null), w = I("idle");
13188
13156
  let $ = 0, A = 0, O = 0, P = 0;
@@ -13197,13 +13165,13 @@ const sw = {
13197
13165
  }
13198
13166
  return {
13199
13167
  transform: `translateX(${H}%)`,
13200
- transition: ro
13168
+ transition: so
13201
13169
  };
13202
13170
  }), x = y(() => {
13203
13171
  const H = C.value?.clientWidth ?? 0, G = h.value && H > 0 ? -m.value / H : 0;
13204
13172
  return {
13205
13173
  transform: `translateX(${Math.max(0, Math.min(1, g.value + G)) * 100}%)`,
13206
- transition: h.value ? "none" : ro
13174
+ transition: h.value ? "none" : so
13207
13175
  };
13208
13176
  });
13209
13177
  function V(H) {
@@ -13240,7 +13208,7 @@ const sw = {
13240
13208
  return;
13241
13209
  const G = H.touches[0], le = G.clientX - $, Z = G.clientY - A, W = Math.abs(le), pe = Math.abs(Z);
13242
13210
  if (w.value === "pending") {
13243
- if (W < so && pe < so)
13211
+ if (W < io && pe < io)
13244
13212
  return;
13245
13213
  if (pe > W) {
13246
13214
  w.value = "vertical";
@@ -13391,7 +13359,7 @@ const sw = {
13391
13359
  onItemClick: Q,
13392
13360
  searchQuery: r.value
13393
13361
  }, () => [
13394
- R(Jn, {
13362
+ R(Qn, {
13395
13363
  expanded: !0,
13396
13364
  "search-query": r.value,
13397
13365
  "onItem:click": Q
@@ -13402,7 +13370,7 @@ const sw = {
13402
13370
  })
13403
13371
  ]),
13404
13372
  k("div", _w, [
13405
- R(Zn, {
13373
+ R(Jn, {
13406
13374
  "apps-list": t.appsList,
13407
13375
  "show-applications": !t.disableAppHub,
13408
13376
  mobile: "",
@@ -13423,7 +13391,7 @@ const sw = {
13423
13391
  ], 4)
13424
13392
  ], 544)
13425
13393
  ], 64)) : t.disableMenu ? (s(), b("div", xw, [
13426
- R(Zn, {
13394
+ R(Jn, {
13427
13395
  "apps-list": t.appsList,
13428
13396
  "show-applications": !t.disableAppHub,
13429
13397
  mobile: "",
@@ -13458,7 +13426,7 @@ const sw = {
13458
13426
  onItemClick: Q,
13459
13427
  searchQuery: r.value
13460
13428
  }, () => [
13461
- R(Jn, {
13429
+ R(Qn, {
13462
13430
  expanded: !0,
13463
13431
  "search-query": r.value,
13464
13432
  "onItem:click": Q
@@ -13497,7 +13465,7 @@ function Nw() {
13497
13465
  const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__title" }, Dw = {
13498
13466
  key: 0,
13499
13467
  class: "vc-menu-item__value"
13500
- }, Fw = { class: "tw-p-1" }, sn = /* @__PURE__ */ K({
13468
+ }, Fw = { class: "tw-p-1" }, on = /* @__PURE__ */ K({
13501
13469
  __name: "settings-menu-item",
13502
13470
  props: {
13503
13471
  title: {},
@@ -13513,7 +13481,7 @@ const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__titl
13513
13481
  },
13514
13482
  emits: ["trigger:click", "trigger:hover"],
13515
13483
  setup(e, { expose: l, emit: t }) {
13516
- const n = e, r = t, i = ht(), { isMobile: o } = Le(), c = y(() => !!i.submenu), u = I(!1), { contentRef: d, wrapperStyle: v, isExpanded: p } = en();
13484
+ const n = e, r = t, i = ht(), { isMobile: o } = Le(), c = y(() => !!i.submenu), u = I(!1), { contentRef: d, wrapperStyle: v, isExpanded: p } = Zl();
13517
13485
  ee(u, (h) => {
13518
13486
  p.value !== h && (p.value = h);
13519
13487
  }), ee(o, () => {
@@ -13609,13 +13577,13 @@ const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__titl
13609
13577
  })).filter((u) => u.title), o = y(() => i.find((d) => d.lang === r.value)?.title), c = (u) => {
13610
13578
  Object.prototype.hasOwnProperty.call(u, "clickHandler") && u.clickHandler(u.lang);
13611
13579
  };
13612
- return (u, d) => (s(), N(a(sn), {
13580
+ return (u, d) => (s(), N(a(on), {
13613
13581
  icon: "lucide-languages",
13614
13582
  title: u.$t("COMPONENTS.LANGUAGE_SELECTOR.TITLE"),
13615
13583
  value: o.value
13616
13584
  }, {
13617
13585
  submenu: T(() => [
13618
- (s(!0), b(te, null, me(a(i), (v) => (s(), N(ln, {
13586
+ (s(!0), b(te, null, me(a(i), (v) => (s(), N(tn, {
13619
13587
  key: v.lang,
13620
13588
  title: v.title,
13621
13589
  active: v.lang === a(r),
@@ -13631,13 +13599,13 @@ const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__titl
13631
13599
  const { currentThemeKey: l, currentLocalizedName: t, themes: n, setTheme: r } = Df(), i = (o) => {
13632
13600
  r(o.key), t.value && Qe(t.value);
13633
13601
  };
13634
- return (o, c) => (s(), N(a(sn), {
13602
+ return (o, c) => (s(), N(a(on), {
13635
13603
  icon: "lucide-palette",
13636
13604
  title: o.$t("COMPONENTS.THEME_SELECTOR.THEME_SELECTOR"),
13637
13605
  value: a(t)
13638
13606
  }, {
13639
13607
  submenu: T(() => [
13640
- (s(!0), b(te, null, me(a(n), (u) => (s(), N(ln, {
13608
+ (s(!0), b(te, null, me(a(n), (u) => (s(), N(tn, {
13641
13609
  key: u.key,
13642
13610
  title: u.name,
13643
13611
  active: u.key === a(l),
@@ -13659,8 +13627,8 @@ const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__titl
13659
13627
  emits: ["close"],
13660
13628
  setup(e, { emit: l }) {
13661
13629
  const t = e, n = l, { t: r } = Pe({ useScope: "global" }), { changeUserPassword: i, loading: o, validatePassword: c, signOut: u } = Lt();
13662
- No({ validateOnMount: !1 });
13663
- const d = qr(), v = Kr(), p = Yt(), f = It({
13630
+ Lo({ validateOnMount: !1 });
13631
+ const d = qr(), v = Kr(), p = Xt(), f = It({
13664
13632
  isValid: !1,
13665
13633
  errors: [],
13666
13634
  currentPassword: "",
@@ -13827,10 +13795,10 @@ const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__titl
13827
13795
  }), Yw = jw, Xw = /* @__PURE__ */ K({
13828
13796
  __name: "change-password-button",
13829
13797
  setup(e) {
13830
- const { open: l } = li({ component: Yw }), t = ue(ia, void 0), n = () => {
13798
+ const { open: l } = li({ component: Yw }), t = ue(oa, void 0), n = () => {
13831
13799
  t?.(), l();
13832
13800
  };
13833
- return (r, i) => (s(), N(a(sn), {
13801
+ return (r, i) => (s(), N(a(on), {
13834
13802
  icon: "lucide-key",
13835
13803
  title: r.$t("SHELL.ACCOUNT.CHANGE_PASSWORD"),
13836
13804
  "onTrigger:click": n
@@ -13839,7 +13807,7 @@ const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__titl
13839
13807
  }), Qw = /* @__PURE__ */ K({
13840
13808
  __name: "logout-button",
13841
13809
  setup(e) {
13842
- const { signOut: l } = Lt(), t = Yt(), { blades: n, closeBlade: r } = bl(), i = ue(ia, void 0), o = async () => {
13810
+ const { signOut: l } = Lt(), t = Xt(), { blades: n, closeBlade: r } = bl(), i = ue(oa, void 0), o = async () => {
13843
13811
  for (i?.(); n.value.length > 1; ) {
13844
13812
  const c = n.value[n.value.length - 1];
13845
13813
  if (await r(c.id))
@@ -13847,7 +13815,7 @@ const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__titl
13847
13815
  }
13848
13816
  await l(), t.push({ name: "Login" });
13849
13817
  };
13850
- return (c, u) => (s(), N(a(sn), {
13818
+ return (c, u) => (s(), N(a(on), {
13851
13819
  icon: "lucide-log-out",
13852
13820
  title: c.$t("SHELL.ACCOUNT.LOGOUT"),
13853
13821
  "onTrigger:click": o
@@ -13856,7 +13824,7 @@ const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__titl
13856
13824
  });
13857
13825
  function Jw(e) {
13858
13826
  const l = ue(Fl), t = ow();
13859
- Uf(), Oe(hl, e.isEmbedded), e.isEmbedded && Nw(), e.internalRoutes && Oe(Ss, e.internalRoutes), e.dynamicModules !== void 0 && Oe(Oo, e.dynamicModules), e.aiAgentConfig?.url && Cs({
13827
+ Uf(), Oe(hl, e.isEmbedded), e.isEmbedded && Nw(), e.internalRoutes && Oe(Ss, e.internalRoutes), e.dynamicModules !== void 0 && Oe(To, e.dynamicModules), e.aiAgentConfig?.url && Cs({
13860
13828
  config: e.aiAgentConfig,
13861
13829
  addGlobalToolbarButton: e.aiAgentAddGlobalToolbarButton ?? !0,
13862
13830
  isEmbedded: e.isEmbedded
@@ -13880,11 +13848,11 @@ function Zw(e) {
13880
13848
  component: Uw,
13881
13849
  group: "preferences",
13882
13850
  order: 20
13883
- }), e.registerSettingsMenuItem({ id: "change-password", component: Xw, group: "account", order: 30 }), e.registerSettingsMenuItem({ id: "logout", component: Qw, group: "account", order: 100 }), Oe(To, l.hasUnread);
13851
+ }), e.registerSettingsMenuItem({ id: "change-password", component: Xw, group: "account", order: 30 }), e.registerSettingsMenuItem({ id: "logout", component: Qw, group: "account", order: 100 }), Oe(Ao, l.hasUnread);
13884
13852
  }
13885
13853
  const e0 = qe("useShellNavigation");
13886
13854
  function t0() {
13887
- const e = Yt(), l = Xt(), { openBlade: t } = oa(), n = e.getRoutes(), r = (o) => {
13855
+ const e = Xt(), l = Qt(), { openBlade: t } = aa(), n = e.getRoutes(), r = (o) => {
13888
13856
  if (e0.debug("handleMenuItemClick() called"), o.routeId)
13889
13857
  t({ name: o.routeId, isWorkspace: !0 });
13890
13858
  else if (!o.routeId && o.url) {
@@ -13933,7 +13901,7 @@ function a0(e) {
13933
13901
  l.value = u, !t.value && u && d && (t.value = !0, await r(), await c());
13934
13902
  },
13935
13903
  { immediate: !0 }
13936
- ), qt(() => {
13904
+ ), Kt(() => {
13937
13905
  l.value = !1, t.value = !1;
13938
13906
  }), { isAppReady: l, isAuthenticated: n, appsList: i, switchApp: o };
13939
13907
  }
@@ -13957,13 +13925,13 @@ const o0 = { class: "vc-app__main-content" }, i0 = {
13957
13925
  searchPlaceholder: {}
13958
13926
  },
13959
13927
  setup(e) {
13960
- const l = e, { isMobile: t, isDesktop: n } = Le(), r = !!(ue(na, null) && ue($o, null));
13928
+ const l = e, { isMobile: t, isDesktop: n } = Le(), r = !!(ue(la, null) && ue(Co, null));
13961
13929
  qe("vc-app").debug("Init vc-app");
13962
- const c = Xt().query.EmbeddedMode === "true", u = I();
13963
- Oe(aa, u);
13930
+ const c = Qt().query.EmbeddedMode === "true", u = I();
13931
+ Oe(na, u);
13964
13932
  const d = Jf();
13965
13933
  vy();
13966
- const { isAppReady: v, isAuthenticated: p, appsList: f, switchApp: g } = a0(l), { handleMenuItemClick: h, openRoot: m } = t0(), C = ue(Es), w = ue(Oo, void 0), $ = ue("aiAgentConfig", void 0), A = ue("aiAgentAddGlobalToolbarButton", !0), O = ue(_s, I(!1));
13934
+ const { isAppReady: v, isAuthenticated: p, appsList: f, switchApp: g } = a0(l), { handleMenuItemClick: h, openRoot: m } = t0(), C = ue(Es), w = ue(To, void 0), $ = ue("aiAgentConfig", void 0), A = ue("aiAgentAddGlobalToolbarButton", !0), O = ue(_s, I(!1));
13967
13935
  return Jw({
13968
13936
  isEmbedded: c,
13969
13937
  internalRoutes: C,
@@ -14089,7 +14057,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14089
14057
  expanded: {}
14090
14058
  },
14091
14059
  setup(e) {
14092
- const { isMobile: l, isDesktop: t } = Le(), n = ue(aa, void 0);
14060
+ const { isMobile: l, isDesktop: t } = Le(), n = ue(na, void 0);
14093
14061
  return (r, i) => a(n) ? (s(), N(rt, {
14094
14062
  key: 0,
14095
14063
  to: a(n)
@@ -14111,7 +14079,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14111
14079
  }
14112
14080
  }), r0 = {
14113
14081
  class: /* @__PURE__ */ q(["app-bar-button__button-container"])
14114
- }, c0 = { class: "app-bar-button__button-wrap" }, co = /* @__PURE__ */ K({
14082
+ }, c0 = { class: "app-bar-button__button-wrap" }, ro = /* @__PURE__ */ K({
14115
14083
  __name: "AppBarWidgetItem",
14116
14084
  props: {
14117
14085
  title: {},
@@ -14121,7 +14089,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14121
14089
  },
14122
14090
  emits: ["toggle"],
14123
14091
  setup(e, { emit: l }) {
14124
- const t = e, n = l, { isMobile: r } = Le(), { toggleWidget: i, currentWidget: o } = on(), c = y(() => t.widgetId ? o.value?.id === t.widgetId : !1);
14092
+ const t = e, n = l, { isMobile: r } = Le(), { toggleWidget: i, currentWidget: o } = an(), c = y(() => t.widgetId ? o.value?.id === t.widgetId : !1);
14125
14093
  function u() {
14126
14094
  if (!(t.beforeOpen && typeof t.beforeOpen == "function" && t.beforeOpen() === !1) && t.widgetId) {
14127
14095
  const d = !c.value;
@@ -14179,7 +14147,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14179
14147
  }, V_ = /* @__PURE__ */ K({
14180
14148
  __name: "AppBarWidgetsMenu",
14181
14149
  setup(e) {
14182
- const { items: l } = nn();
14150
+ const { items: l } = ln();
14183
14151
  function t(n) {
14184
14152
  return n.badge === void 0 ? !1 : typeof n.badge == "function" ? n.badge() : !!n.badge;
14185
14153
  }
@@ -14188,7 +14156,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14188
14156
  key: i.id,
14189
14157
  class: "vc-app-toolbar-menu__item"
14190
14158
  }, [
14191
- i.component ? (s(), N(co, {
14159
+ i.component ? (s(), N(ro, {
14192
14160
  key: 0,
14193
14161
  "widget-id": i.id,
14194
14162
  onToggle: (o) => i.onClick && i.onClick()
@@ -14210,7 +14178,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14210
14178
  ])
14211
14179
  ]),
14212
14180
  _: 2
14213
- }, 1032, ["widget-id", "onToggle"])) : i.onClick ? (s(), N(co, {
14181
+ }, 1032, ["widget-id", "onToggle"])) : i.onClick ? (s(), N(ro, {
14214
14182
  key: 1,
14215
14183
  "widget-id": i.id,
14216
14184
  onToggle: i.onClick
@@ -14260,7 +14228,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14260
14228
  logoAlt: { default: "Logo" }
14261
14229
  },
14262
14230
  setup(e) {
14263
- const l = e, n = Yt().currentRoute.value.meta?.appVersion, r = I(!1), i = I(!1);
14231
+ const l = e, n = Xt().currentRoute.value.meta?.appVersion, r = I(!1), i = I(!1);
14264
14232
  ee(
14265
14233
  () => l.background,
14266
14234
  (c) => {
@@ -14336,7 +14304,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14336
14304
  ee(
14337
14305
  () => t.property,
14338
14306
  (B) => {
14339
- d.value = Kn(B);
14307
+ d.value = qn(B);
14340
14308
  },
14341
14309
  {
14342
14310
  deep: !0,
@@ -14345,7 +14313,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14345
14313
  ), ee(
14346
14314
  () => t.modelValue,
14347
14315
  (B) => {
14348
- v.value = Kn(B);
14316
+ v.value = qn(B);
14349
14317
  },
14350
14318
  {
14351
14319
  deep: !0,
@@ -14390,7 +14358,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14390
14358
  if (B.startsWith("#"))
14391
14359
  x = B;
14392
14360
  else {
14393
- const V = ra(B);
14361
+ const V = sa(B);
14394
14362
  V && (x = V);
14395
14363
  }
14396
14364
  n("update:model-value", {
@@ -14458,7 +14426,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14458
14426
  rules: m.value.rules
14459
14427
  }, {
14460
14428
  default: T(({ errorMessage: V, errors: D }) => [
14461
- m.value.valueType !== "Color" && m.value.dictionary && !m.value.multivalue ? (s(), N(a(Wt), ke({ key: 0 }, B.$attrs, {
14429
+ m.value.valueType !== "Color" && m.value.dictionary && !m.value.multivalue ? (s(), N(a(Gt), ke({ key: 0 }, B.$attrs, {
14462
14430
  modelValue: C.value,
14463
14431
  "onUpdate:modelValue": x[0] || (x[0] = (L) => C.value = L),
14464
14432
  error: !!D.length,
@@ -14476,7 +14444,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14476
14444
  loading: c.value,
14477
14445
  onSearch: O,
14478
14446
  onClose: P
14479
- }), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "options", "option-value", "option-label", "disabled", "multilanguage", "current-language", "loading"])) : m.value.valueType === "ShortText" && m.value.multivalue && !m.value.dictionary ? (s(), N(a(Ft), ke({ key: 1 }, B.$attrs, {
14447
+ }), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "options", "option-value", "option-label", "disabled", "multilanguage", "current-language", "loading"])) : m.value.valueType === "ShortText" && m.value.multivalue && !m.value.dictionary ? (s(), N(a(zt), ke({ key: 1 }, B.$attrs, {
14480
14448
  modelValue: C.value,
14481
14449
  "onUpdate:modelValue": x[1] || (x[1] = (L) => C.value = L),
14482
14450
  name: m.value.name,
@@ -14488,7 +14456,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14488
14456
  disabled: e.disabled,
14489
14457
  multilanguage: e.multilanguage,
14490
14458
  "current-language": e.currentLanguage
14491
- }), null, 16, ["modelValue", "name", "error", "error-message", "label", "required", "placeholder", "disabled", "multilanguage", "current-language"])) : m.value.valueType === "ShortText" && m.value.multivalue && m.value.dictionary ? (s(), N(a(Ft), ke({ key: 2 }, B.$attrs, {
14459
+ }), null, 16, ["modelValue", "name", "error", "error-message", "label", "required", "placeholder", "disabled", "multilanguage", "current-language"])) : m.value.valueType === "ShortText" && m.value.multivalue && m.value.dictionary ? (s(), N(a(zt), ke({ key: 2 }, B.$attrs, {
14492
14460
  modelValue: C.value,
14493
14461
  "onUpdate:modelValue": x[2] || (x[2] = (L) => C.value = L),
14494
14462
  error: !!D.length,
@@ -14518,7 +14486,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14518
14486
  disabled: e.disabled,
14519
14487
  "current-language": e.currentLanguage,
14520
14488
  loading: c.value
14521
- }), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "current-language", "loading"])) : m.value.valueType === "Number" && m.value.multivalue ? (s(), N(a(Ft), ke({ key: 4 }, B.$attrs, {
14489
+ }), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "current-language", "loading"])) : m.value.valueType === "Number" && m.value.multivalue ? (s(), N(a(zt), ke({ key: 4 }, B.$attrs, {
14522
14490
  modelValue: C.value,
14523
14491
  "onUpdate:modelValue": x[4] || (x[4] = (L) => C.value = L),
14524
14492
  label: m.value.displayName,
@@ -14531,7 +14499,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14531
14499
  "option-label": "value",
14532
14500
  "option-value": "value",
14533
14501
  options: o.value
14534
- }), null, 16, ["modelValue", "label", "required", "placeholder", "disabled", "error", "error-message", "options"])) : m.value.valueType === "Integer" && m.value.multivalue ? (s(), N(a(Ft), ke({ key: 5 }, B.$attrs, {
14502
+ }), null, 16, ["modelValue", "label", "required", "placeholder", "disabled", "error", "error-message", "options"])) : m.value.valueType === "Integer" && m.value.multivalue ? (s(), N(a(zt), ke({ key: 5 }, B.$attrs, {
14535
14503
  modelValue: C.value,
14536
14504
  "onUpdate:modelValue": x[5] || (x[5] = (L) => C.value = L),
14537
14505
  label: m.value.displayName,
@@ -14630,7 +14598,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14630
14598
  }, F(h.value), 41, C0)
14631
14599
  ]),
14632
14600
  _: 1
14633
- }, 16, ["modelValue", "option", "options", "loading", "multilanguage", "current-language", "label", "placeholder", "required", "disabled"])) : m.value.valueType === "Color" && m.value.multivalue && !m.value.dictionary ? (s(), N(a(Ft), ke({ key: 12 }, B.$attrs, {
14601
+ }, 16, ["modelValue", "option", "options", "loading", "multilanguage", "current-language", "label", "placeholder", "required", "disabled"])) : m.value.valueType === "Color" && m.value.multivalue && !m.value.dictionary ? (s(), N(a(zt), ke({ key: 12 }, B.$attrs, {
14634
14602
  modelValue: C.value,
14635
14603
  "onUpdate:modelValue": x[13] || (x[13] = (L) => C.value = L),
14636
14604
  type: "color",
@@ -14645,7 +14613,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14645
14613
  "current-language": e.currentLanguage,
14646
14614
  "option-label": "value",
14647
14615
  "option-value": "value"
14648
- }), null, 16, ["modelValue", "name", "error", "error-message", "label", "required", "placeholder", "disabled", "multilanguage", "current-language"])) : m.value.valueType === "Color" && m.value.multivalue && m.value.dictionary ? (s(), N(a(Ft), ke({ key: 13 }, B.$attrs, {
14616
+ }), null, 16, ["modelValue", "name", "error", "error-message", "label", "required", "placeholder", "disabled", "multilanguage", "current-language"])) : m.value.valueType === "Color" && m.value.multivalue && m.value.dictionary ? (s(), N(a(zt), ke({ key: 13 }, B.$attrs, {
14649
14617
  modelValue: C.value,
14650
14618
  "onUpdate:modelValue": x[14] || (x[14] = (L) => C.value = L),
14651
14619
  error: !!D.length,
@@ -14691,7 +14659,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14691
14659
  error: !!D.length,
14692
14660
  "error-message": V,
14693
14661
  placeholder: B.$t("COMPONENTS.ORGANISMS.VC_DYNAMIC_PROPERTY.VALUE_TYPE.COLOR.NAME")
14694
- }), null, 16, ["modelValue", "label", "error", "error-message", "placeholder"])) : m.value.valueType === "Color" && m.value.dictionary && !m.value.multivalue ? (s(), N(a(Wt), ke({ key: 15 }, B.$attrs, {
14662
+ }), null, 16, ["modelValue", "label", "error", "error-message", "placeholder"])) : m.value.valueType === "Color" && m.value.dictionary && !m.value.multivalue ? (s(), N(a(Gt), ke({ key: 15 }, B.$attrs, {
14695
14663
  modelValue: C.value,
14696
14664
  "onUpdate:modelValue": x[16] || (x[16] = (L) => C.value = L),
14697
14665
  error: !!D.length,
@@ -14734,7 +14702,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14734
14702
  _: 1
14735
14703
  }, 8, ["label", "name", "model-value", "rules"]));
14736
14704
  }
14737
- }), uo = /* @__PURE__ */ K({
14705
+ }), co = /* @__PURE__ */ K({
14738
14706
  __name: "vc-gallery-item",
14739
14707
  props: {
14740
14708
  image: { default: () => ({}) },
@@ -14791,7 +14759,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14791
14759
  },
14792
14760
  emits: ["swiper-init", "swiper-resize", "slides-updated", "sortable-container"],
14793
14761
  setup(e, { emit: l }) {
14794
- const t = e, n = l, r = [Vo, uc, Po, dc], i = I(), o = I(), c = I();
14762
+ const t = e, n = l, r = [No, uc, Vo, dc], i = I(), o = I(), c = I();
14795
14763
  function u(f) {
14796
14764
  c.value = f, i.value && o.value && (f.params.navigation = {
14797
14765
  ...f.params.navigation,
@@ -14894,7 +14862,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
14894
14862
  },
14895
14863
  emits: ["close"],
14896
14864
  setup(e, { emit: l }) {
14897
- const t = l, n = e, { t: r } = Pe({ useScope: "global" }), { isMobile: i } = Le(), o = I(n.index), c = I(!1), u = [vc], d = [Po], v = I(), p = I(), f = y(() => n.images[o.value]);
14865
+ const t = l, n = e, { t: r } = Pe({ useScope: "global" }), { isMobile: i } = Le(), o = I(n.index), c = I(!1), u = [vc], d = [Vo], v = I(), p = I(), f = y(() => n.images[o.value]);
14898
14866
  ee(
14899
14867
  () => n.index,
14900
14868
  (x) => {
@@ -15052,7 +15020,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_
15052
15020
  onClick: (M) => C(L)
15053
15021
  }, [
15054
15022
  k("img", {
15055
- src: a(ca)(D.url, "64x64") ?? D.url,
15023
+ src: a(ra)(D.url, "64x64") ?? D.url,
15056
15024
  alt: D.name || "",
15057
15025
  loading: "lazy",
15058
15026
  class: "vc-gallery-preview__thumb-img",
@@ -15167,7 +15135,7 @@ function G0(e, l) {
15167
15135
  document.removeEventListener("pointermove", d, !0), c && (clearInterval(c), c = null);
15168
15136
  }
15169
15137
  function f(h) {
15170
- g(), o = Do.create(h, {
15138
+ g(), o = Po.create(h, {
15171
15139
  handle: ".vc-gallery-item__drag-handle",
15172
15140
  animation: 250,
15173
15141
  ghostClass: "vc-gallery__item--ghost",
@@ -15487,7 +15455,7 @@ const X0 = {
15487
15455
  remove: () => n("remove", S)
15488
15456
  }
15489
15457
  }, () => [
15490
- R(uo, {
15458
+ R(co, {
15491
15459
  image: S,
15492
15460
  readonly: e.disabled,
15493
15461
  actions: e.itemActions,
@@ -15521,7 +15489,7 @@ const X0 = {
15521
15489
  remove: () => n("remove", S)
15522
15490
  }
15523
15491
  }, () => [
15524
- R(uo, {
15492
+ R(co, {
15525
15493
  image: S,
15526
15494
  readonly: e.disabled,
15527
15495
  actions: e.itemActions,
@@ -15591,7 +15559,7 @@ const X0 = {
15591
15559
  ])) : _("", !0)
15592
15560
  ], 38));
15593
15561
  }
15594
- }), rn = Symbol("TableContext"), Mi = Symbol("ColumnCollector"), Bi = Symbol("FillerWidth"), Li = Symbol("IsColumnReordering"), s1 = Symbol("FilterContext"), r1 = /* @__PURE__ */ K({
15562
+ }), sn = Symbol("TableContext"), Mi = Symbol("ColumnCollector"), Bi = Symbol("FillerWidth"), Li = Symbol("IsColumnReordering"), s1 = Symbol("FilterContext"), r1 = /* @__PURE__ */ K({
15595
15563
  __name: "Table",
15596
15564
  props: {
15597
15565
  variant: { default: "default" }
@@ -15606,7 +15574,7 @@ const X0 = {
15606
15574
  },
15607
15575
  variant: y(() => l.variant)
15608
15576
  };
15609
- return Oe(rn, i), (o, c) => (s(), b("div", {
15577
+ return Oe(sn, i), (o, c) => (s(), b("div", {
15610
15578
  role: "table",
15611
15579
  class: q(["vc-table-composition", e.variant && `vc-table-composition--${e.variant}`])
15612
15580
  }, [
@@ -15672,7 +15640,7 @@ const v1 = /* @__PURE__ */ Ni(c1, [["render", d1]]), f1 = ["data-items-count"],
15672
15640
  }, y1 = {
15673
15641
  key: 2,
15674
15642
  class: "vc-table-composition__row-actions-column"
15675
- }, ka = /* @__PURE__ */ K({
15643
+ }, wa = /* @__PURE__ */ K({
15676
15644
  __name: "TableRow",
15677
15645
  props: {
15678
15646
  selected: { type: Boolean },
@@ -15686,7 +15654,7 @@ const v1 = /* @__PURE__ */ Ni(c1, [["render", d1]]), f1 = ["data-items-count"],
15686
15654
  },
15687
15655
  emits: ["click", "hover", "leave", "space-press"],
15688
15656
  setup(e, { emit: l }) {
15689
- const t = e, n = l, r = ue(rn, null), i = ue(
15657
+ const t = e, n = l, r = ue(sn, null), i = ue(
15690
15658
  Bi,
15691
15659
  y(() => 0)
15692
15660
  ), o = ue(Li, I(!1)), c = y(() => !!t.clickable), u = (f) => {
@@ -15746,7 +15714,7 @@ const v1 = /* @__PURE__ */ Ni(c1, [["render", d1]]), f1 = ["data-items-count"],
15746
15714
  })
15747
15715
  ], -1)
15748
15716
  ])])) : _("", !0),
15749
- R(ta, {
15717
+ R(ea, {
15750
15718
  tag: "div",
15751
15719
  name: a(o) ? "vc-table-col-swap" : "",
15752
15720
  class: "vc-table-composition__row-transition-wrapper",
@@ -15769,7 +15737,7 @@ const v1 = /* @__PURE__ */ Ni(c1, [["render", d1]]), f1 = ["data-items-count"],
15769
15737
  }, C1 = {
15770
15738
  key: 0,
15771
15739
  class: "vc-table-composition__head-sort-badge"
15772
- }, vo = /* @__PURE__ */ K({
15740
+ }, uo = /* @__PURE__ */ K({
15773
15741
  __name: "TableHead",
15774
15742
  props: {
15775
15743
  sortable: { type: Boolean },
@@ -16021,7 +15989,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
16021
15989
  key: v.id,
16022
15990
  class: "vc-column-switcher-panel__item"
16023
15991
  }, [
16024
- R(a(an), {
15992
+ R(a(nn), {
16025
15993
  "model-value": r(v.id),
16026
15994
  "onUpdate:modelValue": (p) => i(v.id)
16027
15995
  }, null, 8, ["model-value", "onUpdate:modelValue"]),
@@ -16044,9 +16012,9 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
16044
16012
  },
16045
16013
  emits: ["action"],
16046
16014
  setup(e, { emit: l }) {
16047
- const t = e, n = l, r = ue(rn, null), i = I(!1), o = I(!1), c = I(null), u = I(null), d = I(null), { teleportTarget: v } = Ct(), p = y(() => t.actions?.length ? t.position === "column" ? !0 : t.visible !== void 0 ? t.visible : r && t.rowIndex !== void 0 ? r.selectedRowIndex.value === t.rowIndex : !1 : !1), f = y(() => t.actions?.filter((S) => !S.hidden) || []), g = y(() => t.mode === "dropdown"), h = y(() => g.value ? [] : f.value.slice(0, t.maxQuickActions)), m = y(() => g.value ? f.value : f.value.slice(t.maxQuickActions)), C = y(() => g.value || m.value.length > 0), { floatingStyle: w } = Zt(c, u, {
16015
+ const t = e, n = l, r = ue(sn, null), i = I(!1), o = I(!1), c = I(null), u = I(null), d = I(null), { teleportTarget: v } = Ct(), p = y(() => t.actions?.length ? t.position === "column" ? !0 : t.visible !== void 0 ? t.visible : r && t.rowIndex !== void 0 ? r.selectedRowIndex.value === t.rowIndex : !1 : !1), f = y(() => t.actions?.filter((S) => !S.hidden) || []), g = y(() => t.mode === "dropdown"), h = y(() => g.value ? [] : f.value.slice(0, t.maxQuickActions)), m = y(() => g.value ? f.value : f.value.slice(t.maxQuickActions)), C = y(() => g.value || m.value.length > 0), { floatingStyle: w } = el(c, u, {
16048
16016
  placement: "bottom-end",
16049
- middleware: () => [At(4), Kt(), Mt({ padding: 8 })]
16017
+ middleware: () => [At(4), jt(), Mt({ padding: 8 })]
16050
16018
  });
16051
16019
  ee(p, (S) => {
16052
16020
  !S && !g.value && !i.value && (o.value = !1, i.value = !1);
@@ -16222,7 +16190,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
16222
16190
  onClick: c[0] || (c[0] = ae(() => {
16223
16191
  }, ["stop"]))
16224
16192
  }, [
16225
- R(a(an), {
16193
+ R(a(nn), {
16226
16194
  "model-value": r.value,
16227
16195
  disabled: e.disabled,
16228
16196
  indeterminate: e.indeterminate,
@@ -16613,7 +16581,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
16613
16581
  ]
16614
16582
  }, null, 8, ["model-value", "placeholder"])
16615
16583
  ])) : e.filterType === "select" ? (s(), b("div", ck, [
16616
- R(a(Wt), {
16584
+ R(a(Gt), {
16617
16585
  "model-value": d.value,
16618
16586
  options: e.filterOptions || [],
16619
16587
  "option-value": "value",
@@ -16705,18 +16673,18 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
16705
16673
  function dl(e) {
16706
16674
  return typeof e == "object" && "options" in e;
16707
16675
  }
16708
- function fo(e) {
16676
+ function vo(e) {
16709
16677
  return typeof e == "object" && "options" in e && "field" in e;
16710
16678
  }
16711
- function Mn(e) {
16679
+ function On(e) {
16712
16680
  return typeof e == "object" && "range" in e;
16713
16681
  }
16714
16682
  function Di() {
16715
16683
  return {
16716
- getFilterType: (o) => o ? o === !0 || typeof o == "string" ? "text" : Mn(o) ? "dateRange" : dl(o) ? "select" : "none" : "none",
16717
- getFilterField: (o, c) => !c || c === !0 ? o : typeof c == "string" ? c : fo(c) ? c.field : (dl(c), o),
16684
+ getFilterType: (o) => o ? o === !0 || typeof o == "string" ? "text" : On(o) ? "dateRange" : dl(o) ? "select" : "none" : "none",
16685
+ getFilterField: (o, c) => !c || c === !0 ? o : typeof c == "string" ? c : vo(c) ? c.field : (dl(c), o),
16718
16686
  getRangeFields: (o) => {
16719
- if (o && Mn(o))
16687
+ if (o && On(o))
16720
16688
  return o.range;
16721
16689
  },
16722
16690
  getFilterOptions: (o) => {
@@ -16727,8 +16695,8 @@ function Di() {
16727
16695
  hasFilter: (o) => o != null,
16728
16696
  // Export type guards for external use
16729
16697
  isSelectFilter: dl,
16730
- isSelectFilterWithField: fo,
16731
- isDateRangeFilter: Mn
16698
+ isSelectFilterWithField: vo,
16699
+ isDateRangeFilter: On
16732
16700
  };
16733
16701
  }
16734
16702
  const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-global-filters-panel__label" }, kk = {
@@ -16834,7 +16802,7 @@ const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-glob
16834
16802
  x[V.id] = null;
16835
16803
  p.value = x, n("update:modelValue", x), n("clear"), O();
16836
16804
  };
16837
- return (x, V) => a(r) ? (s(), N(a(el), {
16805
+ return (x, V) => a(r) ? (s(), N(a(tl), {
16838
16806
  key: 1,
16839
16807
  "model-value": e.show,
16840
16808
  position: "bottom",
@@ -16887,7 +16855,7 @@ const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-glob
16887
16855
  placeholder: D.placeholder ?? "",
16888
16856
  size: "small",
16889
16857
  "onUpdate:modelValue": (L) => g(D.id, L)
16890
- }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])) : v(D.id) === "select" ? (s(), N(a(Wt), {
16858
+ }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])) : v(D.id) === "select" ? (s(), N(a(Gt), {
16891
16859
  key: 2,
16892
16860
  "model-value": p.value[D.id],
16893
16861
  options: a(o)(D.filter),
@@ -16971,7 +16939,7 @@ const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-glob
16971
16939
  placeholder: D.placeholder ?? "",
16972
16940
  size: "small",
16973
16941
  "onUpdate:modelValue": (L) => g(D.id, L)
16974
- }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])) : v(D.id) === "select" ? (s(), N(a(Wt), {
16942
+ }, null, 8, ["model-value", "placeholder", "onUpdate:modelValue"])) : v(D.id) === "select" ? (s(), N(a(Gt), {
16975
16943
  key: 2,
16976
16944
  "model-value": p.value[D.id],
16977
16945
  options: a(o)(D.filter),
@@ -17009,7 +16977,7 @@ const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-glob
17009
16977
  _: 3
17010
16978
  }, 8, ["show", "anchor-ref", "title"]));
17011
16979
  }
17012
- }), Lk = { class: "vc-table-add-row" }, Bn = /* @__PURE__ */ K({
16980
+ }), Lk = { class: "vc-table-add-row" }, Mn = /* @__PURE__ */ K({
17013
16981
  __name: "TableAddRowButton",
17014
16982
  props: {
17015
16983
  label: { default: void 0 },
@@ -17217,26 +17185,26 @@ const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-glob
17217
17185
  props: e,
17218
17186
  slots: l
17219
17187
  });
17220
- }), qt(() => {
17188
+ }), Kt(() => {
17221
17189
  t && n && t.delete(n);
17222
17190
  }), () => null;
17223
17191
  }
17224
- }), zt = Fn(/* @__PURE__ */ new Map());
17192
+ }), Ut = Dn(/* @__PURE__ */ new Map());
17225
17193
  function Vk() {
17226
17194
  return {
17227
17195
  register: (o) => {
17228
- zt.set(o.type, o);
17196
+ Ut.set(o.type, o);
17229
17197
  },
17230
- get: (o) => zt.get(o),
17231
- has: (o) => zt.has(o),
17232
- getRegisteredTypes: () => Array.from(zt.keys()),
17233
- unregister: (o) => zt.delete(o),
17198
+ get: (o) => Ut.get(o),
17199
+ has: (o) => Ut.has(o),
17200
+ getRegisteredTypes: () => Array.from(Ut.keys()),
17201
+ unregister: (o) => Ut.delete(o),
17234
17202
  clear: () => {
17235
- zt.clear();
17203
+ Ut.clear();
17236
17204
  }
17237
17205
  };
17238
17206
  }
17239
- const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__ */ K({
17207
+ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, ka = /* @__PURE__ */ K({
17240
17208
  __name: "CellEditableWrapper",
17241
17209
  props: {
17242
17210
  label: {},
@@ -17283,7 +17251,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
17283
17251
  }), Dk = {
17284
17252
  key: 1,
17285
17253
  class: "vc-table-cell-default"
17286
- }, mo = /* @__PURE__ */ K({
17254
+ }, fo = /* @__PURE__ */ K({
17287
17255
  __name: "CellDefault",
17288
17256
  props: {
17289
17257
  value: {},
@@ -17300,7 +17268,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
17300
17268
  const t = e, n = l, { isMobile: r, isDesktop: i } = Le(), o = (c) => {
17301
17269
  c && c.length > 0 || n("blur", { row: t.rowIndex, field: t.fieldId || "" });
17302
17270
  };
17303
- return (c, u) => e.editable ? (s(), N(Sa, {
17271
+ return (c, u) => e.editable ? (s(), N(ka, {
17304
17272
  key: 0,
17305
17273
  label: e.label || "",
17306
17274
  "field-name": e.fieldName || "",
@@ -17362,7 +17330,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
17362
17330
  }), v = (p) => {
17363
17331
  p && p.length > 0 || n("blur", { row: t.rowIndex, field: t.fieldId || "" });
17364
17332
  };
17365
- return (p, f) => e.editable ? (s(), N(Sa, {
17333
+ return (p, f) => e.editable ? (s(), N(ka, {
17366
17334
  key: 0,
17367
17335
  label: e.label || "",
17368
17336
  "field-name": e.fieldName || "",
@@ -17427,7 +17395,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
17427
17395
  }), d = (v) => {
17428
17396
  v && v.length > 0 || n("blur", { row: t.rowIndex, field: t.fieldId || "" });
17429
17397
  };
17430
- return (v, p) => e.editable ? (s(), N(Sa, {
17398
+ return (v, p) => e.editable ? (s(), N(ka, {
17431
17399
  key: 0,
17432
17400
  label: e.label || "",
17433
17401
  "field-name": e.fieldName || "",
@@ -17466,7 +17434,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
17466
17434
  }, Kk = {
17467
17435
  key: 1,
17468
17436
  class: "vc-table-cell-date vc-table-cell-date--not-set"
17469
- }, Ln = /* @__PURE__ */ K({
17437
+ }, Bn = /* @__PURE__ */ K({
17470
17438
  __name: "CellDate",
17471
17439
  props: {
17472
17440
  value: {},
@@ -17492,7 +17460,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
17492
17460
  value: {}
17493
17461
  },
17494
17462
  setup(e) {
17495
- const l = e, { t } = Pe({ useScope: "global" }), n = window.navigator.language, r = y(() => l.value ? (l.value instanceof Date ? l.value : new Date(l.value)).toLocaleString(n) : ""), i = y(() => l.value ? Ho(l.value) : "");
17463
+ const l = e, { t } = Pe({ useScope: "global" }), n = window.navigator.language, r = y(() => l.value ? (l.value instanceof Date ? l.value : new Date(l.value)).toLocaleString(n) : ""), i = y(() => l.value ? Uo(l.value) : "");
17496
17464
  return (o, c) => e.value ? (s(), b("span", {
17497
17465
  key: 0,
17498
17466
  class: "vc-table-cell-date-ago",
@@ -17634,8 +17602,8 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
17634
17602
  emits: ["update", "blur"],
17635
17603
  setup(e) {
17636
17604
  const { register: l, has: t, get: n } = Vk();
17637
- t("text") || l({ type: "text", component: mo, config: { editable: !0 } }), t("number") || l({ type: "number", component: Gk, config: { editable: !0 } }), t("money") || l({ type: "money", component: Uk, config: { editable: !0 } }), t("date") || l({ type: "date", component: Ln, config: { editable: !1 } }), t("time") || l({ type: "time", component: Ln, config: { editable: !1 } }), t("datetime") || l({ type: "datetime", component: Ln, config: { editable: !1 } }), t("date-ago") || l({ type: "date-ago", component: Xk, config: { editable: !1 } }), t("image") || l({ type: "image", component: Qk, config: { editable: !1 } }), t("status") || l({ type: "status", component: Jk, config: { editable: !1 } }), t("status-icon") || l({ type: "status-icon", component: eS, config: { editable: !1 } }), t("link") || l({ type: "link", component: tS, config: { editable: !1 } }), t("html") || l({ type: "html", component: aS, config: { editable: !1 } });
17638
- const r = e, i = y(() => n(r.type)?.component || mo), o = y(() => {
17605
+ t("text") || l({ type: "text", component: fo, config: { editable: !0 } }), t("number") || l({ type: "number", component: Gk, config: { editable: !0 } }), t("money") || l({ type: "money", component: Uk, config: { editable: !0 } }), t("date") || l({ type: "date", component: Bn, config: { editable: !1 } }), t("time") || l({ type: "time", component: Bn, config: { editable: !1 } }), t("datetime") || l({ type: "datetime", component: Bn, config: { editable: !1 } }), t("date-ago") || l({ type: "date-ago", component: Xk, config: { editable: !1 } }), t("image") || l({ type: "image", component: Qk, config: { editable: !1 } }), t("status") || l({ type: "status", component: Jk, config: { editable: !1 } }), t("status-icon") || l({ type: "status-icon", component: eS, config: { editable: !1 } }), t("link") || l({ type: "link", component: tS, config: { editable: !1 } }), t("html") || l({ type: "html", component: aS, config: { editable: !1 } });
17606
+ const r = e, i = y(() => n(r.type)?.component || fo), o = y(() => {
17639
17607
  const u = n(r.type)?.config?.editable ?? !1, d = {
17640
17608
  value: r.value
17641
17609
  };
@@ -17696,7 +17664,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
17696
17664
  A && $.contains(A) || i();
17697
17665
  }, u = (w) => {
17698
17666
  w.key === "Enter" && !w.shiftKey ? (w.preventDefault(), i()) : w.key === "Escape" && (w.preventDefault(), o());
17699
- }, d = y(() => t.column.props.field || t.column.props.id), v = y(() => `${d.value}_${t.index}`), p = y(() => t.column.slots.editor ? !1 : t.isCellEditing || t.isRowEditing && t.column.props.editable), f = y(() => sa(t.item, d.value || "")), g = y(() => {
17667
+ }, d = y(() => t.column.props.field || t.column.props.id), v = y(() => `${d.value}_${t.index}`), p = y(() => t.column.slots.editor ? !1 : t.isCellEditing || t.isRowEditing && t.column.props.editable), f = y(() => ia(t.item, d.value || "")), g = y(() => {
17700
17668
  const w = t.column.props.currencyField || "currency";
17701
17669
  return t.item[w] || "USD";
17702
17670
  }), h = y(() => {
@@ -17714,7 +17682,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
17714
17682
  "model-value": e.isSelected,
17715
17683
  disabled: !e.isSelectable,
17716
17684
  "onUpdate:modelValue": $[0] || ($[0] = (A) => w.$emit("selection-change", A))
17717
- }, null, 8, ["model-value", "disabled"])) : (s(), N(a(ya), {
17685
+ }, null, 8, ["model-value", "disabled"])) : (s(), N(a(ha), {
17718
17686
  key: 1,
17719
17687
  "model-value": e.isSelected ?? !1,
17720
17688
  value: !0,
@@ -17910,7 +17878,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
17910
17878
  ]),
17911
17879
  _: 3
17912
17880
  }, 8, ["group-key", "count", "expandable", "expanded"])) : _("", !0),
17913
- !e.groupingEnabled || !e.expandableRowGroups || e.isGroupRowExpanded ? (s(), N(ka, {
17881
+ !e.groupingEnabled || !e.expandableRowGroups || e.isGroupRowExpanded ? (s(), N(wa, {
17914
17882
  key: 1,
17915
17883
  selected: e.isSelected,
17916
17884
  active: e.isActive,
@@ -17939,7 +17907,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
17939
17907
  "model-value": e.isSelected,
17940
17908
  disabled: !e.isSelectable,
17941
17909
  "onUpdate:modelValue": u
17942
- }, null, 8, ["model-value", "disabled"])) : (s(), N(a(ya), {
17910
+ }, null, 8, ["model-value", "disabled"])) : (s(), N(a(ha), {
17943
17911
  key: 1,
17944
17912
  "model-value": e.isSelected ?? !1,
17945
17913
  value: !0,
@@ -18038,7 +18006,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
18038
18006
  }
18039
18007
  }
18040
18008
  return (n, r) => (s(), b("div", pS, [
18041
- e.columns.length > 0 ? (s(!0), b(te, { key: 0 }, me(e.rows, (i) => (s(), N(ka, { key: i }, {
18009
+ e.columns.length > 0 ? (s(!0), b(te, { key: 0 }, me(e.rows, (i) => (s(), N(wa, { key: i }, {
18042
18010
  default: T(() => [
18043
18011
  e.showSelectionCell ? (s(), N(jl, {
18044
18012
  key: 0,
@@ -18134,7 +18102,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
18134
18102
  "get-cell-style": e.getCellStyle,
18135
18103
  "show-selection-cell": e.showSelectionCell
18136
18104
  }, null, 8, ["columns", "rows", "get-column-width", "get-cell-style", "show-selection-cell"])
18137
- ]) : (s(), N(ta, {
18105
+ ]) : (s(), N(ea, {
18138
18106
  key: 2,
18139
18107
  ref_key: "rowsContainerRef",
18140
18108
  ref: D,
@@ -18292,13 +18260,13 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
18292
18260
  };
18293
18261
  return (g, h) => (s(), N(v1, null, {
18294
18262
  default: T(() => [
18295
- R(ka, {
18263
+ R(wa, {
18296
18264
  variant: "header",
18297
18265
  "show-drag-handle": e.showDragHandle,
18298
18266
  "actions-position": e.actionsPosition
18299
18267
  }, xe({
18300
18268
  default: T(() => [
18301
- e.showSelectionCell ? (s(), N(vo, {
18269
+ e.showSelectionCell ? (s(), N(uo, {
18302
18270
  key: 0,
18303
18271
  class: "vc-data-table__selection-cell"
18304
18272
  }, {
@@ -18312,7 +18280,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
18312
18280
  ]),
18313
18281
  _: 1
18314
18282
  })) : _("", !0),
18315
- (s(!0), b(te, null, me(e.columns, (m) => (s(), N(vo, {
18283
+ (s(!0), b(te, null, me(e.columns, (m) => (s(), N(uo, {
18316
18284
  ref_for: !0,
18317
18285
  ref: (C) => e.setHeaderRef(m.props.id, C),
18318
18286
  key: m.props.id,
@@ -18461,7 +18429,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
18461
18429
  },
18462
18430
  emits: ["update", "blur"],
18463
18431
  setup(e) {
18464
- const l = e, t = y(() => l.config.field || l.config.id), n = y(() => sa(l.item, t.value || "")), r = y(() => {
18432
+ const l = e, t = y(() => l.config.field || l.config.id), n = y(() => ia(l.item, t.value || "")), r = y(() => {
18465
18433
  const o = l.config.column.props.currencyField || "currency";
18466
18434
  return l.item[o] || "USD";
18467
18435
  }), i = y(() => {
@@ -18511,7 +18479,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, Sa = /* @__PURE__
18511
18479
  function r(i) {
18512
18480
  i.disabled || (t("action", i), t("close"));
18513
18481
  }
18514
- return (i, o) => (s(), N(a(el), {
18482
+ return (i, o) => (s(), N(a(tl), {
18515
18483
  "model-value": e.open,
18516
18484
  position: "bottom",
18517
18485
  size: "sm",
@@ -18583,7 +18551,7 @@ const OS = {
18583
18551
  }, NS = {
18584
18552
  key: 2,
18585
18553
  class: "vc-data-table-mobile-card__statuses"
18586
- }, VS = { class: "vc-data-table-mobile-card__action-title" }, PS = ["disabled", "onClick"], DS = { class: "vc-data-table-mobile-card__action-title" }, go = 8, FS = 0.08, zS = 0.7, US = 1, HS = /* @__PURE__ */ K({
18554
+ }, VS = { class: "vc-data-table-mobile-card__action-title" }, PS = ["disabled", "onClick"], DS = { class: "vc-data-table-mobile-card__action-title" }, mo = 8, FS = 0.08, zS = 0.7, US = 1, HS = /* @__PURE__ */ K({
18587
18555
  __name: "DataTableMobileCard",
18588
18556
  props: {
18589
18557
  item: {},
@@ -18628,8 +18596,8 @@ const OS = {
18628
18596
  g.value = !0;
18629
18597
  function $e(Ne) {
18630
18598
  if (Ne - oe < he) {
18631
- const Ye = (fe - ce) * FS, yt = Re * zS, tl = (Ye - yt) / US;
18632
- Re += tl, ce += Re, p.value = ce, f.value = Math.abs(p.value), m.value = requestAnimationFrame($e);
18599
+ const Ye = (fe - ce) * FS, yt = Re * zS, ll = (Ye - yt) / US;
18600
+ Re += ll, ce += Re, p.value = ce, f.value = Math.abs(p.value), m.value = requestAnimationFrame($e);
18633
18601
  } else
18634
18602
  p.value = fe, f.value = Math.abs(fe), g.value = !1, m.value = null;
18635
18603
  }
@@ -18645,7 +18613,7 @@ const OS = {
18645
18613
  const he = fe.touches[0], Ie = he.clientX, oe = Ie - C.value, Re = he.clientY - w.value;
18646
18614
  if (B.value === null) {
18647
18615
  const De = Math.abs(oe), Ye = Math.abs(Re);
18648
- if (De >= go || Ye >= go)
18616
+ if (De >= mo || Ye >= mo)
18649
18617
  B.value = De > Ye ? "horizontal" : "vertical";
18650
18618
  else
18651
18619
  return;
@@ -18711,7 +18679,7 @@ const OS = {
18711
18679
  }), ze(() => {
18712
18680
  o.value && (o.value.removeEventListener("touchstart", Q), o.value.removeEventListener("touchmove", ie), o.value.removeEventListener("touchend", H)), m.value !== null && cancelAnimationFrame(m.value), u.value && clearTimeout(u.value);
18713
18681
  }), (fe, he) => {
18714
- const Ie = So("VcIcon");
18682
+ const Ie = ko("VcIcon");
18715
18683
  return je((s(), b("div", {
18716
18684
  ref_key: "containerRef",
18717
18685
  ref: i,
@@ -18779,7 +18747,7 @@ const OS = {
18779
18747
  class: "vc-data-table-mobile-card__checkbox",
18780
18748
  onClick: ae(Z, ["stop"])
18781
18749
  }, [
18782
- R(a(an), {
18750
+ R(a(nn), {
18783
18751
  "model-value": e.isSelected,
18784
18752
  disabled: !e.isSelectable,
18785
18753
  size: "m"
@@ -18894,7 +18862,7 @@ const OS = {
18894
18862
  onAction: re
18895
18863
  }, null, 8, ["open", "title", "actions", "cancel-label"])
18896
18864
  ], 34)), [
18897
- [a(Qt), G]
18865
+ [a(Jt), G]
18898
18866
  ]);
18899
18867
  };
18900
18868
  }
@@ -19009,7 +18977,7 @@ function YS(e) {
19009
18977
  mobileVisibleColumns: t
19010
18978
  };
19011
18979
  }
19012
- const XS = { class: "vc-pull-to-refresh__indicator-content" }, QS = { class: "vc-pull-to-refresh__text" }, JS = 0.08, ZS = 0.7, eC = 1, Nn = 60, tC = /* @__PURE__ */ K({
18980
+ const XS = { class: "vc-pull-to-refresh__indicator-content" }, QS = { class: "vc-pull-to-refresh__text" }, JS = 0.08, ZS = 0.7, eC = 1, Ln = 60, tC = /* @__PURE__ */ K({
19013
18981
  __name: "PullToRefresh",
19014
18982
  props: {
19015
18983
  enabled: { type: Boolean, default: !0 },
@@ -19025,7 +18993,7 @@ const XS = { class: "vc-pull-to-refresh__indicator-content" }, QS = { class: "vc
19025
18993
  "vc-pull-to-refresh__icon--rotate": v.value && !n.refreshing,
19026
18994
  "vc-pull-to-refresh__icon--spin": n.refreshing
19027
18995
  })), O = y(() => n.refreshing ? n.refreshingText ?? r("COMPONENTS.ORGANISMS.VC_TABLE.REFRESHING") : v.value ? n.releaseText ?? r("COMPONENTS.ORGANISMS.VC_TABLE.RELEASE_TO_REFRESH") : n.pullText ?? r("COMPONENTS.ORGANISMS.VC_TABLE.PULL_TO_REFRESH")), P = y(() => ({
19028
- transform: `translateY(${Math.min(u.value, Nn + 20) - Nn}px)`,
18996
+ transform: `translateY(${Math.min(u.value, Ln + 20) - Ln}px)`,
19029
18997
  opacity: Math.min(u.value / n.threshold, 1)
19030
18998
  })), B = y(() => ({
19031
18999
  transform: `translateY(${u.value}px)`
@@ -19074,14 +19042,14 @@ const XS = { class: "vc-pull-to-refresh__indicator-content" }, QS = { class: "vc
19074
19042
  H = Math.min(H, G), u.value = H, v.value = H >= n.threshold;
19075
19043
  }
19076
19044
  function M() {
19077
- d.value && (d.value = !1, v.value && !n.refreshing ? (i("refresh"), V(Nn)) : V(0), v.value = !1);
19045
+ d.value && (d.value = !1, v.value && !n.refreshing ? (i("refresh"), V(Ln)) : V(0), v.value = !1);
19078
19046
  }
19079
19047
  return ee(
19080
19048
  () => n.refreshing,
19081
19049
  (S, E) => {
19082
19050
  E && !S && V(0);
19083
19051
  }
19084
- ), qt(() => {
19052
+ ), Kt(() => {
19085
19053
  f.value !== null && cancelAnimationFrame(f.value);
19086
19054
  }), l({
19087
19055
  pullDistance: u,
@@ -19263,9 +19231,9 @@ const XS = { class: "vc-pull-to-refresh__indicator-content" }, QS = { class: "vc
19263
19231
  }
19264
19232
  });
19265
19233
  function U_() {
19266
- return ue(rn, null);
19234
+ return ue(sn, null);
19267
19235
  }
19268
- const Ca = 40;
19236
+ const Sa = 40;
19269
19237
  function sC(e) {
19270
19238
  const { availableWidth: l, columns: t, mode: n } = e;
19271
19239
  if (l <= 0 || t.length === 0) {
@@ -19275,7 +19243,7 @@ function sC(e) {
19275
19243
  }
19276
19244
  const r = t.map((c) => c.spec.weight * l), i = t.map((c, u) => Math.max(c.spec.minPx, Math.min(r[u], c.spec.maxPx)));
19277
19245
  let o = l - i.reduce((c, u) => c + u, 0);
19278
- return n === "gap" && o >= 0 ? po(t, i, o, l) : (o > 0 && (rC(t, i, o), o = l - i.reduce((c, u) => c + u, 0)), o < 0 && (cC(t, i, o), o = l - i.reduce((c, u) => c + u, 0)), o < -0.5 && (uC(t, i, l), o = 0), po(t, i, 0, l));
19246
+ return n === "gap" && o >= 0 ? go(t, i, o, l) : (o > 0 && (rC(t, i, o), o = l - i.reduce((c, u) => c + u, 0)), o < 0 && (cC(t, i, o), o = l - i.reduce((c, u) => c + u, 0)), o < -0.5 && (uC(t, i, l), o = 0), go(t, i, 0, l));
19279
19247
  }
19280
19248
  function rC(e, l, t) {
19281
19249
  let n = t;
@@ -19333,7 +19301,7 @@ function uC(e, l, t) {
19333
19301
  l[r] = Math.max(0, i * t);
19334
19302
  }
19335
19303
  }
19336
- function po(e, l, t, n) {
19304
+ function go(e, l, t, n) {
19337
19305
  const r = {}, i = l.map((h) => Math.floor(h)), o = l.map((h, m) => h - i[m]), c = Math.floor(t), u = i.reduce((h, m) => h + m, 0) + c;
19338
19306
  let d = n - u;
19339
19307
  const v = l.map((h, m) => m);
@@ -19369,9 +19337,9 @@ function Vl(e, l) {
19369
19337
  const n = t.match(/^(\d+(?:\.\d+)?)(px)?$/);
19370
19338
  return n ? { type: "px", desiredPx: parseFloat(n[1]) } : (dC(e), { type: "auto", desiredPx: null });
19371
19339
  }
19372
- const bo = /* @__PURE__ */ new Set();
19340
+ const po = /* @__PURE__ */ new Set();
19373
19341
  function dC(e) {
19374
- typeof process > "u" || process.env?.NODE_ENV === "production" || bo.has(e) || (bo.add(e), console.warn(
19342
+ typeof process > "u" || process.env?.NODE_ENV === "production" || po.has(e) || (po.add(e), console.warn(
19375
19343
  `[VcDataTable] Unsupported width value "${e}". Only px (number, "200", "200px") and % ("20%") are supported. Treating as auto.`
19376
19344
  ));
19377
19345
  }
@@ -19393,7 +19361,7 @@ function vC(e, l) {
19393
19361
  u[d] = c > 0 ? r[d] / c : 1 / e.length;
19394
19362
  return u;
19395
19363
  }
19396
- function Vn(e, l) {
19364
+ function Nn(e, l) {
19397
19365
  const t = l.reduce((n, r) => n + (e[r]?.weight ?? 0), 0);
19398
19366
  if (t <= 0) {
19399
19367
  const n = 1 / l.length;
@@ -19410,7 +19378,7 @@ function fC(e) {
19410
19378
  engineOutput: t,
19411
19379
  recompute: n,
19412
19380
  getAvailableWidth: r,
19413
- minColumnWidth: i = Ca,
19381
+ minColumnWidth: i = Sa,
19414
19382
  getVisibleRegularColumnIds: o,
19415
19383
  onResizeEnd: c,
19416
19384
  containerEl: u
@@ -19574,7 +19542,7 @@ function gC(e, l, t) {
19574
19542
  o && (o.destroy(), o = null);
19575
19543
  }
19576
19544
  function u(d) {
19577
- c(), o = Do.create(d, {
19545
+ c(), o = Po.create(d, {
19578
19546
  handle: t.handle,
19579
19547
  animation: 200,
19580
19548
  forceFallback: !0,
@@ -19620,9 +19588,9 @@ function gC(e, l, t) {
19620
19588
  pendingReorder: i
19621
19589
  };
19622
19590
  }
19623
- function Pn(e) {
19591
+ function Vn(e) {
19624
19592
  try {
19625
- return structuredClone(Co(e));
19593
+ return structuredClone(So(e));
19626
19594
  } catch {
19627
19595
  return JSON.parse(
19628
19596
  JSON.stringify(e, (l, t) => t instanceof Date ? { __type: "Date", value: t.toISOString() } : t),
@@ -19633,7 +19601,7 @@ function Pn(e) {
19633
19601
  function pC(e) {
19634
19602
  const { items: l, rules: t, onCellUpdate: n, onSave: r, onCancel: i } = e, o = I(!1);
19635
19603
  let c = [];
19636
- const u = ue(jr, void 0), d = u ? void 0 : No(), v = u ?? d, { meta: p, setFieldValue: f, errors: g, validate: h } = v, m = () => {
19604
+ const u = ue(jr, void 0), d = u ? void 0 : Lo(), v = u ?? d, { meta: p, setFieldValue: f, errors: g, validate: h } = v, m = () => {
19637
19605
  d && d.resetForm();
19638
19606
  }, C = I(/* @__PURE__ */ new Map()), w = I(/* @__PURE__ */ new Set()), $ = (X) => {
19639
19607
  if (w.value.has(X)) {
@@ -19641,12 +19609,12 @@ function pC(e) {
19641
19609
  Q.delete(X), w.value = Q;
19642
19610
  }
19643
19611
  }, A = (X, Q) => `${X}:${Q}`, O = () => {
19644
- c = l.value.map((X) => Pn(X)), m(), C.value = /* @__PURE__ */ new Map(), o.value = !0;
19612
+ c = l.value.map((X) => Vn(X)), m(), C.value = /* @__PURE__ */ new Map(), o.value = !0;
19645
19613
  }, P = () => {
19646
- l.value.splice(0, l.value.length, ...c.map((X) => Pn(X))), m(), C.value = /* @__PURE__ */ new Map(), o.value = !1, i?.();
19614
+ l.value.splice(0, l.value.length, ...c.map((X) => Vn(X))), m(), C.value = /* @__PURE__ */ new Map(), o.value = !1, i?.();
19647
19615
  }, B = async () => {
19648
19616
  const { valid: X } = await h();
19649
- X && (r && await r(M.value), c = l.value.map((Q) => Pn(Q)), m(), C.value = /* @__PURE__ */ new Map(), o.value = !1);
19617
+ X && (r && await r(M.value), c = l.value.map((Q) => Vn(Q)), m(), C.value = /* @__PURE__ */ new Map(), o.value = !1);
19650
19618
  }, x = (X, Q, ie) => {
19651
19619
  if (X < 0 || X >= l.value.length) return;
19652
19620
  const H = A(X, Q), G = l.value[X];
@@ -19821,7 +19789,7 @@ function bC(e) {
19821
19789
  );
19822
19790
  const v = y(() => !!t.value), p = y(() => t.value ? Array.isArray(t.value) ? t.value[0] : t.value : null), f = (B) => {
19823
19791
  if (!p.value) return "";
19824
- const x = sa(B, p.value);
19792
+ const x = ia(B, p.value);
19825
19793
  return String(x ?? "undefined");
19826
19794
  }, g = y(() => {
19827
19795
  if (!v.value || !p.value)
@@ -19987,9 +19955,9 @@ function yC(e) {
19987
19955
  internalMultiSortMeta: d
19988
19956
  };
19989
19957
  }
19990
- function ho(e) {
19958
+ function bo(e) {
19991
19959
  try {
19992
- return structuredClone(Co(e));
19960
+ return structuredClone(So(e));
19993
19961
  } catch {
19994
19962
  return JSON.parse(
19995
19963
  JSON.stringify(e, (l, t) => t instanceof Date ? { __type: "Date", value: t.toISOString() } : t),
@@ -20021,7 +19989,7 @@ function wC(e) {
20021
19989
  return O ? O.fields.includes($) || O.fields.push($) : i.value = {
20022
19990
  ...i.value,
20023
19991
  [A]: {
20024
- data: ho(w),
19992
+ data: bo(w),
20025
19993
  fields: [$]
20026
19994
  }
20027
19995
  }, { data: w, field: $, index: A };
@@ -20075,7 +20043,7 @@ function wC(e) {
20075
20043
  if (l.value !== "row")
20076
20044
  return { data: w, index: $ };
20077
20045
  const A = n(w, $);
20078
- return c.value.set(A, ho(w)), o.value = [...o.value, w], { data: w, index: $ };
20046
+ return c.value.set(A, bo(w)), o.value = [...o.value, w], { data: w, index: $ };
20079
20047
  },
20080
20048
  saveRowEdit: (w, $) => {
20081
20049
  if (l.value !== "row")
@@ -20293,7 +20261,7 @@ function CC(e) {
20293
20261
  const Y = Vl(S.minWidth, E), X = Vl(S.maxWidth, E);
20294
20262
  return {
20295
20263
  weight: z,
20296
- minPx: Y.desiredPx ?? Ca,
20264
+ minPx: Y.desiredPx ?? Sa,
20297
20265
  maxPx: X.desiredPx ?? 1 / 0
20298
20266
  };
20299
20267
  }
@@ -20343,7 +20311,7 @@ function CC(e) {
20343
20311
  for (const fe of S)
20344
20312
  Y.has(fe.props.id) || (Z.order.push(fe.props.id), Z.specs[fe.props.id] = O(fe.props, le, pe));
20345
20313
  const re = E.filter((fe) => Z.specs[fe]);
20346
- Vn(Z.specs, re), i.value = Z, G && le <= 0 && (V = !0);
20314
+ Nn(Z.specs, re), i.value = Z, G && le <= 0 && (V = !0);
20347
20315
  }
20348
20316
  else if (Q.length > 0) {
20349
20317
  const Z = { ...i.value };
@@ -20351,13 +20319,13 @@ function CC(e) {
20351
20319
  const W = E.filter((re) => Z.specs[re] && !Q.includes(re)), pe = W.length > 0 ? W.reduce((re, fe) => re + Z.specs[fe].weight, 0) / W.length : 1 / E.length;
20352
20320
  for (const re of Q)
20353
20321
  Z.specs[re] && (Z.specs[re] = { ...Z.specs[re], weight: pe });
20354
- Vn(
20322
+ Nn(
20355
20323
  Z.specs,
20356
20324
  E.filter((re) => Z.specs[re])
20357
20325
  ), i.value = Z;
20358
20326
  } else if (ie.length > 0) {
20359
20327
  const Z = { ...i.value };
20360
- Z.specs = { ...Z.specs }, Vn(
20328
+ Z.specs = { ...Z.specs }, Nn(
20361
20329
  Z.specs,
20362
20330
  E.filter((W) => Z.specs[W])
20363
20331
  ), i.value = Z;
@@ -20703,7 +20671,7 @@ function IC(e) {
20703
20671
  onFilterChange: (j) => {
20704
20672
  t("filter", { filters: j, filteredValue: l.items });
20705
20673
  }
20706
- }), De = (j) => re.hasFilter(j.props.filter), Ye = (j) => j.props.filterField || re.getFilterField(j.props.id, j.props.filter), yt = (j) => re.getFilterType(j.props.filter), tl = (j) => re.getFilterOptions(j.props.filter), cn = (j) => re.isMultipleSelect(j.props.filter), Pt = (j) => re.getRangeFields(j.props.filter), un = (j) => {
20674
+ }), De = (j) => re.hasFilter(j.props.filter), Ye = (j) => j.props.filterField || re.getFilterField(j.props.id, j.props.filter), yt = (j) => re.getFilterType(j.props.filter), ll = (j) => re.getFilterOptions(j.props.filter), rn = (j) => re.isMultipleSelect(j.props.filter), Pt = (j) => re.getRangeFields(j.props.filter), cn = (j) => {
20707
20675
  const ve = Ye(j);
20708
20676
  if (yt(j) === "dateRange") {
20709
20677
  const de = Pt(j);
@@ -20713,10 +20681,10 @@ function IC(e) {
20713
20681
  }
20714
20682
  }
20715
20683
  return fe.value[ve] ?? null;
20716
- }, ll = I(null), nl = () => {
20684
+ }, nl = I(null), al = () => {
20717
20685
  const j = ce();
20718
- ll.value && Object.assign(j, ll.value), t("filter", { filters: j, filteredValue: l.items });
20719
- }, dn = (j, ve) => {
20686
+ nl.value && Object.assign(j, nl.value), t("filter", { filters: j, filteredValue: l.items });
20687
+ }, un = (j, ve) => {
20720
20688
  const de = yt(j), Ee = Ye(j);
20721
20689
  if (de === "dateRange") {
20722
20690
  const Ve = Pt(j);
@@ -20728,7 +20696,7 @@ function IC(e) {
20728
20696
  const Ve = ve[Ee];
20729
20697
  he(Ee, Ve);
20730
20698
  }
20731
- nl();
20699
+ al();
20732
20700
  }, Sl = (j) => {
20733
20701
  const ve = Ye(j);
20734
20702
  if (yt(j) === "dateRange") {
@@ -20739,27 +20707,27 @@ function IC(e) {
20739
20707
  }
20740
20708
  } else
20741
20709
  oe(ve);
20742
- nl();
20743
- }, al = y(() => Z.value && ie.value ? [...le.value] : l.items ?? []), vn = (j) => al.value.indexOf(j), fn = y(() => S.orderedVisibleColumns.value.filter(
20710
+ al();
20711
+ }, ol = y(() => Z.value && ie.value ? [...le.value] : l.items ?? []), dn = (j) => ol.value.indexOf(j), vn = y(() => S.orderedVisibleColumns.value.filter(
20744
20712
  (j) => j != null && j.props != null && j.props.id != null
20745
- )), { handleResizeStart: mn } = fC({
20713
+ )), { handleResizeStart: fn } = fC({
20746
20714
  columnState: S.columnState,
20747
20715
  engineOutput: S.engineOutput,
20748
20716
  recompute: S.recompute,
20749
20717
  getAvailableWidth: M,
20750
- minColumnWidth: Ca,
20718
+ minColumnWidth: Sa,
20751
20719
  getVisibleRegularColumnIds: () => S.orderedVisibleColumns.value.filter((j) => !ot(j.props)).map((j) => j.props.id),
20752
20720
  onResizeEnd: () => t("column-resize-end", { columns: [] }),
20753
20721
  containerEl: d
20754
20722
  }), {
20755
- isDragging: gn,
20756
- handleDragStart: pn,
20757
- handleDragOver: bn,
20758
- handleDrop: ol
20723
+ isDragging: mn,
20724
+ handleDragStart: gn,
20725
+ handleDragOver: pn,
20726
+ handleDrop: il
20759
20727
  } = mC({
20760
20728
  columnState: S.columnState,
20761
20729
  onReorderEnd: () => t("column-reorder", { columns: [] })
20762
- }), hn = (j, ve) => {
20730
+ }), bn = (j, ve) => {
20763
20731
  w.handleSort(S.getSortField(j), ve);
20764
20732
  }, $t = (j) => {
20765
20733
  const ve = C.handleSelectAllChange(j);
@@ -20791,21 +20759,21 @@ function IC(e) {
20791
20759
  // Column filter template helpers
20792
20760
  showColumnFilter: De,
20793
20761
  getColumnFilterType: yt,
20794
- getColumnFilterOptions: tl,
20795
- isColumnFilterMultiple: cn,
20762
+ getColumnFilterOptions: ll,
20763
+ isColumnFilterMultiple: rn,
20796
20764
  getColumnRangeFields: Pt,
20797
- getColumnFilterValue: un,
20798
- handleColumnFilterApply: dn,
20765
+ getColumnFilterValue: cn,
20766
+ handleColumnFilterApply: un,
20799
20767
  handleColumnFilterClear: Sl,
20800
- emitFilterPayload: nl,
20768
+ emitFilterPayload: al,
20801
20769
  // Global filter
20802
- globalFilterPayload: ll,
20770
+ globalFilterPayload: nl,
20803
20771
  // Resize / reorder
20804
- handleResizeStart: mn,
20805
- isColumnReordering: gn,
20806
- handleColumnDragStart: pn,
20807
- handleColumnDragOver: bn,
20808
- handleColumnDrop: ol,
20772
+ handleResizeStart: fn,
20773
+ isColumnReordering: mn,
20774
+ handleColumnDragStart: gn,
20775
+ handleColumnDragOver: pn,
20776
+ handleColumnDrop: il,
20809
20777
  // Row reorder
20810
20778
  reorderedItems: le,
20811
20779
  pendingReorder: Z,
@@ -20813,8 +20781,8 @@ function IC(e) {
20813
20781
  showRowDragHandle: H,
20814
20782
  rowReorderListRef: G,
20815
20783
  // Derived computeds
20816
- displayItems: al,
20817
- getGlobalIndex: vn,
20784
+ displayItems: ol,
20785
+ getGlobalIndex: dn,
20818
20786
  effectiveSelectionMode: f,
20819
20787
  selectionColumn: v,
20820
20788
  hasSelectionColumn: p,
@@ -20824,7 +20792,7 @@ function IC(e) {
20824
20792
  computedVariant: h,
20825
20793
  switcherColumns: z,
20826
20794
  switcherVisibleColumnIds: Y,
20827
- safeColumns: fn,
20795
+ safeColumns: vn,
20828
20796
  isInlineEditing: D,
20829
20797
  // Expansion helper
20830
20798
  isRowExpanded: P,
@@ -20833,7 +20801,7 @@ function IC(e) {
20833
20801
  // Data-discovered IDs stable ref
20834
20802
  dataDiscoveredIds: E,
20835
20803
  // Event handlers
20836
- handleSort: hn,
20804
+ handleSort: bn,
20837
20805
  handleSelectAllChange: $t,
20838
20806
  handleRowSelectionChange: Et,
20839
20807
  handleRowClick: (j, ve, de) => {
@@ -21000,23 +20968,53 @@ class AC {
21000
20968
  this.updateCallback?.();
21001
20969
  }
21002
20970
  }
20971
+ function TC(e) {
20972
+ const l = ue(Wo, void 0);
20973
+ if (!l) return;
20974
+ const { props: t, internalSearchValue: n } = e, r = l.read(t.stateKey);
20975
+ let i = r.sort, o = r.search ?? "", c = r.page;
20976
+ r.search !== void 0 && (n.value = r.search);
20977
+ function u() {
20978
+ const d = t.sortField, v = t.sortOrder;
20979
+ if (!(!d || !v))
20980
+ return `${d}:${v === -1 ? "DESC" : "ASC"}`;
20981
+ }
20982
+ ee(
20983
+ () => [t.sortField, t.sortOrder],
20984
+ () => {
20985
+ const d = u();
20986
+ d !== i && (i = d, l.write(t.stateKey, { sort: d }));
20987
+ }
20988
+ ), ee(
20989
+ () => t.searchValue ?? n.value,
20990
+ (d) => {
20991
+ const v = d || "";
20992
+ v !== o && (o = v, l.write(t.stateKey, { search: v }));
20993
+ }
20994
+ ), ee(
20995
+ () => t.pagination?.currentPage,
20996
+ (d) => {
20997
+ d == null || d === c || (c = d, l.write(t.stateKey, { page: d === 1 ? void 0 : d }));
20998
+ }
20999
+ );
21000
+ }
21003
21001
  const W_ = {
21004
21002
  mounted(e, l) {
21005
21003
  l.value && e.focus();
21006
21004
  }
21007
- }, TC = (e, l) => {
21005
+ }, OC = (e, l) => {
21008
21006
  const t = l.arg ? parseInt(l.arg, 10) : 9e3, n = typeof l.value == "object" ? l.value : { blur: !0 };
21009
21007
  l.value ? (e.classList.add("v-loading"), n.size && e.setAttribute("data-loading-size", n.size), n.color && e.style.setProperty("--v-loading-spinner-color", n.color), n.blur === !1 && e.classList.add("v-loading--no-blur"), n.fullscreen && e.classList.add("v-loading--fullscreen"), e.style.setProperty("--v-loading-z-index", `${t}`)) : (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"));
21010
- }, OC = ["aria-busy"], MC = {
21008
+ }, MC = ["aria-busy"], BC = {
21011
21009
  key: 0,
21012
21010
  class: "vc-data-table__header"
21013
- }, BC = {
21011
+ }, LC = {
21014
21012
  key: 6,
21015
21013
  class: "vc-data-table__content"
21016
- }, LC = {
21014
+ }, NC = {
21017
21015
  key: 0,
21018
21016
  class: "vc-data-table__mobile-select-toolbar"
21019
- }, NC = { class: "vc-data-table__mobile-select-toolbar-text" }, VC = { class: "vc-data-table__page-info" }, Dn = 37, yo = 140, PC = /* @__PURE__ */ K({
21017
+ }, VC = { class: "vc-data-table__mobile-select-toolbar-text" }, PC = { class: "vc-data-table__page-info" }, Pn = 37, ho = 140, DC = /* @__PURE__ */ K({
21020
21018
  inheritAttrs: !1,
21021
21019
  __name: "VcDataTable",
21022
21020
  props: {
@@ -21088,7 +21086,7 @@ const W_ = {
21088
21086
  emits: ["update:selection", "update:selectAll", "row-select", "row-unselect", "row-select-all", "row-unselect-all", "select-all", "update:selectAllActive", "update:editingRows", "cell-edit-init", "cell-edit-complete", "cell-edit-cancel", "row-edit-init", "row-edit-save", "row-edit-cancel", "edit-save", "edit-cancel", "row-add", "row-remove", "update:sortField", "update:sortOrder", "update:multiSortMeta", "sort", "filter", "update:activeItemId", "row-click", "row-action", "row-reorder", "column-resize-end", "column-reorder", "state-save", "state-restore", "update:expandedRows", "row-expand", "row-collapse", "update:expandedRowGroups", "rowgroup-expand", "rowgroup-collapse", "pull-refresh", "load-more", "pagination-click", "update:searchValue", "search"],
21089
21087
  setup(e, { expose: l, emit: t }) {
21090
21088
  const n = e, r = t, { t: i } = Pe({ useScope: "global" }), o = y(() => i("COMPONENTS.ORGANISMS.VC_TABLE.EMPTY_TITLE")), c = y(() => i("COMPONENTS.ORGANISMS.VC_TABLE.EMPTY_DESCRIPTION")), u = y(() => i("COMPONENTS.ORGANISMS.VC_TABLE.NOT_FOUND_TITLE")), d = y(() => i("COMPONENTS.ORGANISMS.VC_TABLE.NOT_FOUND_DESCRIPTION")), v = y(
21091
- () => ol.value.length === 0 && !n.loading && (sl.value !== "" || De.value)
21089
+ () => il.value.length === 0 && !n.loading && (Dt.value !== "" || De.value)
21092
21090
  ), p = y(() => v.value ? n.notFoundState?.icon : n.emptyState?.icon), f = y(
21093
21091
  () => v.value ? n.notFoundState?.title ?? u.value : n.emptyState?.title ?? o.value
21094
21092
  ), g = y(
@@ -21196,48 +21194,48 @@ const W_ = {
21196
21194
  activeFilterCount: Ye,
21197
21195
  // Column filter template helpers
21198
21196
  showColumnFilter: yt,
21199
- getColumnFilterType: tl,
21200
- getColumnFilterOptions: cn,
21197
+ getColumnFilterType: ll,
21198
+ getColumnFilterOptions: rn,
21201
21199
  isColumnFilterMultiple: Pt,
21202
- getColumnRangeFields: un,
21203
- getColumnFilterValue: ll,
21204
- handleColumnFilterApply: nl,
21205
- handleColumnFilterClear: dn,
21200
+ getColumnRangeFields: cn,
21201
+ getColumnFilterValue: nl,
21202
+ handleColumnFilterApply: al,
21203
+ handleColumnFilterClear: un,
21206
21204
  emitFilterPayload: Sl,
21207
21205
  // Global filter payload (owned by component UI state; orchestrator wires it)
21208
- globalFilterPayload: al,
21206
+ globalFilterPayload: ol,
21209
21207
  // Resize / reorder
21210
- handleResizeStart: vn,
21211
- isColumnReordering: fn,
21212
- handleColumnDragStart: mn,
21213
- handleColumnDragOver: gn,
21214
- handleColumnDrop: pn,
21208
+ handleResizeStart: dn,
21209
+ isColumnReordering: vn,
21210
+ handleColumnDragStart: fn,
21211
+ handleColumnDragOver: mn,
21212
+ handleColumnDrop: gn,
21215
21213
  // Row reorder state
21216
- rowReorderListRef: bn,
21214
+ rowReorderListRef: pn,
21217
21215
  // Derived computeds
21218
- displayItems: ol,
21219
- getGlobalIndex: hn,
21216
+ displayItems: il,
21217
+ getGlobalIndex: bn,
21220
21218
  effectiveSelectionMode: $t,
21221
21219
  hasSelectionColumn: Et,
21222
21220
  isSelectionViaColumn: Cl,
21223
- isRowReorderEnabled: yn,
21224
- showRowDragHandle: wn,
21225
- hasExpanderColumn: $a,
21226
- computedVariant: Ea,
21227
- switcherColumns: _a,
21228
- switcherVisibleColumnIds: xa,
21221
+ isRowReorderEnabled: hn,
21222
+ showRowDragHandle: yn,
21223
+ hasExpanderColumn: Ca,
21224
+ computedVariant: $a,
21225
+ switcherColumns: Ea,
21226
+ switcherVisibleColumnIds: _a,
21229
21227
  safeColumns: $l,
21230
21228
  isInlineEditing: El,
21231
21229
  // Expansion helper
21232
- isRowExpanded: Ra,
21233
- canExpand: Ia,
21230
+ isRowExpanded: xa,
21231
+ canExpand: Ra,
21234
21232
  // Event handlers
21235
- handleSort: Aa,
21236
- handleSelectAllChange: kn,
21237
- handleRowSelectionChange: Ta,
21238
- handleRowClick: Oa,
21239
- handleAddRow: il,
21240
- handleRemoveRow: Ma,
21233
+ handleSort: Ia,
21234
+ handleSelectAllChange: wn,
21235
+ handleRowSelectionChange: Aa,
21236
+ handleRowClick: Ta,
21237
+ handleAddRow: sl,
21238
+ handleRemoveRow: Oa,
21241
21239
  handleColumnVisibilityChange: j,
21242
21240
  handleTableReset: ve,
21243
21241
  handleCellClick: de,
@@ -21262,9 +21260,9 @@ const W_ = {
21262
21260
  dataDiscoveredColumns: Q,
21263
21261
  getItemKey: H,
21264
21262
  tableContainerRef: le
21265
- }), Ba = I(null), La = I(null);
21266
- Ht(() => {
21267
- bn.value = B.value ? La.value?.listEl : Ba.value?.listEl;
21263
+ }), Ma = I(null), Ba = I(null);
21264
+ Wt(() => {
21265
+ pn.value = B.value ? Ba.value?.listEl : Ma.value?.listEl;
21268
21266
  }), Oe(s1, {
21269
21267
  filterValues: Re,
21270
21268
  updateFilter: ce,
@@ -21275,38 +21273,41 @@ const W_ = {
21275
21273
  }), Oe(
21276
21274
  Bi,
21277
21275
  y(() => Ie.engineOutput.value.fillerWidth)
21278
- ), Oe(Li, fn);
21279
- const Na = (ne) => {
21276
+ ), Oe(Li, vn);
21277
+ const La = (ne) => {
21280
21278
  r("pagination-click", ne);
21281
- }, sl = I(n.searchValue ?? "");
21279
+ }, Dt = I(n.searchValue ?? "");
21282
21280
  let rl = null;
21283
21281
  const ji = (ne) => {
21284
- sl.value = ne, r("update:searchValue", ne), rl && clearTimeout(rl), rl = setTimeout(() => {
21282
+ Dt.value = ne, r("update:searchValue", ne), rl && clearTimeout(rl), rl = setTimeout(() => {
21285
21283
  r("search", ne);
21286
21284
  }, n.searchDebounce ?? 300);
21287
21285
  };
21288
21286
  ee(
21289
21287
  () => n.searchValue,
21290
21288
  (ne) => {
21291
- ne !== void 0 && ne !== sl.value && (sl.value = ne);
21289
+ ne !== void 0 && ne !== Dt.value && (Dt.value = ne);
21292
21290
  }
21293
- );
21291
+ ), TC({
21292
+ props: n,
21293
+ internalSearchValue: Dt
21294
+ });
21294
21295
  const Yi = (ne) => {
21295
21296
  if (!n.infiniteScroll || n.loading) return;
21296
21297
  const ge = ne.target, Se = n.infiniteScrollDistance ?? 100;
21297
21298
  ge.scrollHeight - ge.scrollTop - ge.clientHeight < Se && r("load-more");
21298
- }, Sn = y(() => n.addRow?.enabled === !0), Va = y(() => n.addRow?.position ?? "footer"), Cn = y(() => n.addRow?.label ?? "Add row"), $n = y(() => n.addRow?.icon ?? "lucide-plus"), Xi = (ne) => {
21299
+ }, kn = y(() => n.addRow?.enabled === !0), Na = y(() => n.addRow?.position ?? "footer"), Sn = y(() => n.addRow?.label ?? "Add row"), Cn = y(() => n.addRow?.icon ?? "lucide-plus"), Xi = (ne) => {
21299
21300
  }, Qi = () => {
21300
- }, _l = I(!1), xl = I({}), Pa = I(null), Ji = y(() => {
21301
- const ne = Pa.value;
21301
+ }, _l = I(!1), xl = I({}), Va = I(null), Ji = y(() => {
21302
+ const ne = Va.value;
21302
21303
  return ne ? {
21303
21304
  getBoundingClientRect: () => ne.$el?.getBoundingClientRect() ?? new DOMRect(),
21304
21305
  get contextElement() {
21305
21306
  return ne.$el;
21306
21307
  }
21307
21308
  } : null;
21308
- }), cl = I(!1), Da = I(null), Zi = y(() => {
21309
- const ne = Da.value;
21309
+ }), cl = I(!1), Pa = I(null), Zi = y(() => {
21310
+ const ne = Pa.value;
21310
21311
  return ne ? {
21311
21312
  getBoundingClientRect: () => (ne.columnSwitcherEl ?? null)?.getBoundingClientRect() ?? new DOMRect(),
21312
21313
  get contextElement() {
@@ -21326,9 +21327,9 @@ const W_ = {
21326
21327
  }
21327
21328
  return ne;
21328
21329
  }), ts = (ne) => {
21329
- al.value = ne, Sl();
21330
+ ol.value = ne, Sl();
21330
21331
  }, ls = () => {
21331
- al.value = null, xl.value = {}, Sl();
21332
+ ol.value = null, xl.value = {}, Sl();
21332
21333
  }, ns = (ne, ge) => ({
21333
21334
  item: ne,
21334
21335
  index: ge,
@@ -21340,11 +21341,11 @@ const W_ = {
21340
21341
  selectionMode: $t.value,
21341
21342
  showSelectionCell: Et.value && !Cl.value,
21342
21343
  // Reorder
21343
- reorderable: yn.value,
21344
- showDragHandle: wn.value,
21344
+ reorderable: hn.value,
21345
+ showDragHandle: yn.value,
21345
21346
  // Expansion
21346
- expandable: $a.value && Ia(ne),
21347
- isExpanded: Ra(ne),
21347
+ expandable: Ca.value && Ra(ne),
21348
+ isExpanded: xa(ne),
21348
21349
  expandedIcon: n.expandedRowIcon,
21349
21350
  collapsedIcon: n.collapsedRowIcon,
21350
21351
  // Editing
@@ -21361,11 +21362,11 @@ const W_ = {
21361
21362
  getCellStyle: Ie.getCellStyle,
21362
21363
  // Custom class
21363
21364
  rowClass: n.rowClass?.(ne)
21364
- }), { width: Rl } = Mo(Z), as = y(() => {
21365
+ }), { width: Rl } = Oo(Z), as = y(() => {
21365
21366
  if (!n.pagination || Rl.value === 0) return 5;
21366
- const ne = Rl.value - yo, ge = Math.floor((ne - 2 * Dn) / Dn);
21367
+ const ne = Rl.value - ho, ge = Math.floor((ne - 2 * Pn) / Pn);
21367
21368
  return ge >= 7 ? 5 : ge >= 3 ? ge : 0;
21368
- }), os = y(() => !n.pagination || Rl.value === 0 ? !0 : Rl.value - yo >= 5 * Dn);
21369
+ }), os = y(() => !n.pagination || Rl.value === 0 ? !0 : Rl.value - ho >= 5 * Pn);
21369
21370
  return l({
21370
21371
  // Selection API
21371
21372
  selectAll: W.selectAll,
@@ -21375,8 +21376,8 @@ const W_ = {
21375
21376
  showSelectAllChoice: W.showSelectAllChoice,
21376
21377
  selectionInfo: W.selectionInfo,
21377
21378
  // Row CRUD API
21378
- addRow: il,
21379
- removeRow: Ma,
21379
+ addRow: sl,
21380
+ removeRow: Oa,
21380
21381
  // Inline editing API
21381
21382
  startEditing: he.startEditing,
21382
21383
  cancelEditing: he.cancelEditing,
@@ -21396,13 +21397,13 @@ const W_ = {
21396
21397
  class: "vc-data-table",
21397
21398
  "aria-busy": e.loading || a($) || void 0
21398
21399
  }, [
21399
- ne.$slots.header ? (s(), b("div", MC, [
21400
+ ne.$slots.header ? (s(), b("div", BC, [
21400
21401
  U(ne.$slots, "header")
21401
21402
  ])) : _("", !0),
21402
21403
  e.searchable || e.globalFilters?.length || ne.$slots["search-header-actions"] ? (s(), N(a(ek), {
21403
21404
  key: 1,
21404
21405
  searchable: e.searchable,
21405
- "model-value": sl.value,
21406
+ "model-value": Dt.value,
21406
21407
  placeholder: e.searchPlaceholder,
21407
21408
  "onUpdate:modelValue": ji
21408
21409
  }, {
@@ -21410,7 +21411,7 @@ const W_ = {
21410
21411
  e.globalFilters?.length ? (s(), N(a(Pi), {
21411
21412
  key: 0,
21412
21413
  ref_key: "globalFiltersButtonRef",
21413
- ref: Pa,
21414
+ ref: Va,
21414
21415
  "active-count": es.value,
21415
21416
  onClick: ge[0] || (ge[0] = (Se) => _l.value = !_l.value)
21416
21417
  }, null, 8, ["active-count"])) : _("", !0),
@@ -21431,19 +21432,19 @@ const W_ = {
21431
21432
  }, null, 8, ["filters", "model-value", "show", "anchor-ref"])) : _("", !0),
21432
21433
  e.columnSwitcher ? (s(), N(a(V1), {
21433
21434
  key: 3,
21434
- columns: a(_a),
21435
- "visible-columns": a(xa),
21435
+ columns: a(Ea),
21436
+ "visible-columns": a(_a),
21436
21437
  show: cl.value,
21437
21438
  "anchor-ref": Zi.value,
21438
21439
  "onUpdate:visibleColumns": a(j),
21439
21440
  "onUpdate:show": ge[3] || (ge[3] = (Se) => cl.value = Se),
21440
21441
  onReset: a(ve)
21441
21442
  }, null, 8, ["columns", "visible-columns", "show", "anchor-ref", "onUpdate:visibleColumns", "onReset"])) : _("", !0),
21442
- Sn.value && Va.value === "header" ? (s(), N(a(Bn), {
21443
+ kn.value && Na.value === "header" ? (s(), N(a(Mn), {
21443
21444
  key: 4,
21444
- label: Cn.value,
21445
- icon: $n.value,
21446
- onAdd: ge[4] || (ge[4] = (Se) => a(il)())
21445
+ label: Sn.value,
21446
+ icon: Cn.value,
21447
+ onAdd: ge[4] || (ge[4] = (Se) => a(sl)())
21447
21448
  }, null, 8, ["label", "icon"])) : _("", !0),
21448
21449
  U(ne.$slots, "selection-banner", {
21449
21450
  count: a(W).internalSelection.value.length,
@@ -21462,20 +21463,20 @@ const W_ = {
21462
21463
  onCancel: a(W).clearSelection
21463
21464
  }, null, 8, ["selection-count", "total-count", "all-selected", "show-select-all-prompt", "onSelectAll", "onCancel"])) : _("", !0)
21464
21465
  ]),
21465
- B.value ? (s(), b("div", BC, [
21466
- a($t) === "multiple" && (a(W).someSelected.value || a(W).allSelected.value) ? (s(), b("div", LC, [
21466
+ B.value ? (s(), b("div", LC, [
21467
+ a($t) === "multiple" && (a(W).someSelected.value || a(W).allSelected.value) ? (s(), b("div", NC, [
21467
21468
  R(a(gl), {
21468
21469
  "model-value": a(W).allSelected.value,
21469
21470
  indeterminate: a(W).someSelected.value && !a(W).allSelected.value,
21470
- onChange: a(kn)
21471
+ onChange: a(wn)
21471
21472
  }, null, 8, ["model-value", "indeterminate", "onChange"]),
21472
- k("span", NC, F(ne.$t("COMPONENTS.ORGANISMS.VC_TABLE.SELECTED", "Selected")) + ": " + F(a(W).internalSelection.value.length), 1)
21473
+ k("span", VC, F(ne.$t("COMPONENTS.ORGANISMS.VC_TABLE.SELECTED", "Selected")) + ": " + F(a(W).internalSelection.value.length), 1)
21473
21474
  ])) : _("", !0),
21474
21475
  R(a(iC), {
21475
21476
  ref_key: "mobileViewRef",
21476
- ref: La,
21477
- items: a(ol),
21478
- reorderable: a(yn),
21477
+ ref: Ba,
21478
+ items: a(il),
21479
+ reorderable: a(hn),
21479
21480
  columns: ie.value,
21480
21481
  selection: a(W).internalSelection.value,
21481
21482
  "selection-mode": a($t),
@@ -21505,11 +21506,11 @@ const W_ = {
21505
21506
  ]),
21506
21507
  _: 3
21507
21508
  }, 8, ["items", "reorderable", "columns", "selection", "selection-mode", "is-row-selectable", "row-actions", "loading", "data-key", "pull-to-refresh", "pull-to-refresh-text", "is-inline-editing", "new-row-indices", "onClick", "onSelect", "onAction"]),
21508
- Sn.value ? (s(), N(a(Bn), {
21509
+ kn.value ? (s(), N(a(Mn), {
21509
21510
  key: 1,
21510
- label: Cn.value,
21511
- icon: $n.value,
21512
- onAdd: ge[12] || (ge[12] = (Se) => a(il)())
21511
+ label: Sn.value,
21512
+ icon: Cn.value,
21513
+ onAdd: ge[12] || (ge[12] = (Se) => a(sl)())
21513
21514
  }, null, 8, ["label", "icon"])) : _("", !0)
21514
21515
  ])) : (s(), b("div", {
21515
21516
  key: 5,
@@ -21518,13 +21519,13 @@ const W_ = {
21518
21519
  class: "vc-data-table__content",
21519
21520
  style: ye(e.scrollHeight ? { height: e.scrollHeight } : void 0)
21520
21521
  }, [
21521
- R(a(r1), { variant: a(Ea) }, {
21522
+ R(a(r1), { variant: a($a) }, {
21522
21523
  default: T(() => [
21523
21524
  R(a($S), {
21524
21525
  ref_key: "dataTableHeaderRef",
21525
- ref: Da,
21526
+ ref: Pa,
21526
21527
  columns: a($l),
21527
- "show-drag-handle": a(wn),
21528
+ "show-drag-handle": a(yn),
21528
21529
  "show-selection-cell": a(Et) && !a(Cl),
21529
21530
  "selection-mode": a($t),
21530
21531
  "all-selected": a(W).allSelected.value,
@@ -21540,29 +21541,29 @@ const W_ = {
21540
21541
  "get-sort-field": a(Ie).getSortField,
21541
21542
  "set-header-ref": a(Ie).setHeaderRef,
21542
21543
  "show-filter": a(yt),
21543
- "get-filter-type": a(tl),
21544
- "get-filter-options": a(cn),
21544
+ "get-filter-type": a(ll),
21545
+ "get-filter-options": a(rn),
21545
21546
  "is-filter-multiple": a(Pt),
21546
- "get-range-fields": a(un),
21547
- "get-filter-value": a(ll),
21547
+ "get-range-fields": a(cn),
21548
+ "get-filter-value": a(nl),
21548
21549
  "is-editing": a(El),
21549
21550
  "show-column-switcher": !!e.columnSwitcher,
21550
21551
  "column-switcher-active": cl.value,
21551
21552
  "actions-position": e.rowActionsPosition,
21552
- onSelectAll: a(kn),
21553
- onSort: a(Aa),
21554
- onResizeStart: a(vn),
21555
- onReorderStart: a(mn),
21556
- onReorderOver: a(gn),
21557
- onReorderDrop: ge[5] || (ge[5] = (Se, Ae) => a(pn)(Ae)),
21558
- onFilterApply: a(nl),
21559
- onFilterClear: a(dn),
21553
+ onSelectAll: a(wn),
21554
+ onSort: a(Ia),
21555
+ onResizeStart: a(dn),
21556
+ onReorderStart: a(fn),
21557
+ onReorderOver: a(mn),
21558
+ onReorderDrop: ge[5] || (ge[5] = (Se, Ae) => a(gn)(Ae)),
21559
+ onFilterApply: a(al),
21560
+ onFilterClear: a(un),
21560
21561
  onColumnSwitcherClick: ge[6] || (ge[6] = (Se) => cl.value = !cl.value)
21561
21562
  }, null, 8, ["columns", "show-drag-handle", "show-selection-cell", "selection-mode", "all-selected", "some-selected", "get-sort-direction", "get-sort-index", "get-column-width", "get-header-align", "get-header-style", "is-column-resizable", "is-column-reorderable", "is-last-resizable", "get-sort-field", "set-header-ref", "show-filter", "get-filter-type", "get-filter-options", "is-filter-multiple", "get-range-fields", "get-filter-value", "is-editing", "show-column-switcher", "column-switcher-active", "actions-position", "onSelectAll", "onSort", "onResizeStart", "onReorderStart", "onReorderOver", "onFilterApply", "onFilterClear"]),
21562
21563
  R(a(hS), {
21563
21564
  ref_key: "desktopBodyRef",
21564
- ref: Ba,
21565
- items: a(ol),
21565
+ ref: Ma,
21566
+ items: a(il),
21566
21567
  loading: e.loading || a($),
21567
21568
  "skeleton-rows": n.skeletonRows,
21568
21569
  columns: a($l),
@@ -21580,16 +21581,16 @@ const W_ = {
21580
21581
  "expandable-row-groups": e.expandableRowGroups,
21581
21582
  "is-group-expanded": a(fe).isGroupExpanded,
21582
21583
  "get-item-group-key": a(fe).getItemGroupKey,
21583
- "get-global-index": a(hn),
21584
+ "get-global-index": a(bn),
21584
21585
  "get-item-key": H,
21585
21586
  "new-row-indices": a(he).newRowIndices.value,
21586
21587
  "get-row-props": ns,
21587
21588
  onScroll: Yi,
21588
21589
  onGroupToggle: ge[7] || (ge[7] = (Se, Ae) => a(fe).toggleGroupExpansion(Se, Ae)),
21589
- onRowClick: a(Oa),
21590
+ onRowClick: a(Ta),
21590
21591
  onRowMouseenter: Xi,
21591
21592
  onRowMouseleave: Qi,
21592
- onSelectionChange: a(Ta),
21593
+ onSelectionChange: a(Aa),
21593
21594
  onExpandToggle: ge[8] || (ge[8] = (Se, Ae, Je) => a(Ze)(Se, Ae, Je)),
21594
21595
  onRowEdit: a(st),
21595
21596
  onRowSave: a(Xe),
@@ -21659,11 +21660,11 @@ const W_ = {
21659
21660
  ]),
21660
21661
  _: 3
21661
21662
  })) : _("", !0),
21662
- Sn.value && Va.value === "footer" ? (s(), N(a(Bn), {
21663
+ kn.value && Na.value === "footer" ? (s(), N(a(Mn), {
21663
21664
  key: 1,
21664
- label: Cn.value,
21665
- icon: $n.value,
21666
- onAdd: ge[9] || (ge[9] = (Se) => a(il)())
21665
+ label: Sn.value,
21666
+ icon: Cn.value,
21667
+ onAdd: ge[9] || (ge[9] = (Se) => a(sl)())
21667
21668
  }, null, 8, ["label", "icon"])) : _("", !0)
21668
21669
  ]),
21669
21670
  _: 3
@@ -21675,11 +21676,11 @@ const W_ = {
21675
21676
  ref: Z,
21676
21677
  class: "vc-data-table__pagination"
21677
21678
  }, [
21678
- k("span", VC, F(O.value), 1),
21679
+ k("span", PC, F(O.value), 1),
21679
21680
  U(ne.$slots, "pagination", {
21680
21681
  pages: n.pagination.pages,
21681
21682
  currentPage: n.pagination.currentPage,
21682
- onPageClick: Na
21683
+ onPageClick: La
21683
21684
  }, () => [
21684
21685
  R(a(Vp), {
21685
21686
  pages: n.pagination.pages,
@@ -21687,16 +21688,16 @@ const W_ = {
21687
21688
  variant: n.pagination.variant,
21688
21689
  "max-pages": as.value,
21689
21690
  "show-first-last": os.value,
21690
- onItemClick: Na
21691
+ onItemClick: La
21691
21692
  }, null, 8, ["pages", "current-page", "variant", "max-pages", "show-first-last"])
21692
21693
  ])
21693
21694
  ], 512)) : _("", !0),
21694
21695
  U(ne.$slots, "default")
21695
- ], 8, OC)), [
21696
- [a(TC), (e.loading || a($)) && !A.value, "49"]
21696
+ ], 8, MC)), [
21697
+ [a(OC), (e.loading || a($)) && !A.value, "49"]
21697
21698
  ]);
21698
21699
  }
21699
- }), DC = { class: "vc-table-adapter" }, FC = { class: "vc-global-filters-panel__content" }, G_ = /* @__PURE__ */ K({
21700
+ }), FC = { class: "vc-table-adapter" }, zC = { class: "vc-global-filters-panel__content" }, G_ = /* @__PURE__ */ K({
21700
21701
  __name: "VcTableAdapter",
21701
21702
  props: {
21702
21703
  columns: {},
@@ -21858,8 +21859,8 @@ const W_ = {
21858
21859
  function Z(W) {
21859
21860
  W.cancel(), n("onAddNewRow");
21860
21861
  }
21861
- return (W, pe) => (s(), b("div", DC, [
21862
- R(PC, {
21862
+ return (W, pe) => (s(), b("div", FC, [
21863
+ R(DC, {
21863
21864
  items: t.items,
21864
21865
  "sort-field": v.value,
21865
21866
  "sort-order": p.value,
@@ -22002,7 +22003,7 @@ const W_ = {
22002
22003
  "onUpdate:show": pe[1] || (pe[1] = (re) => o.value = re)
22003
22004
  }, {
22004
22005
  default: T(() => [
22005
- k("div", FC, [
22006
+ k("div", zC, [
22006
22007
  U(W.$slots, "filters", { closePanel: d })
22007
22008
  ])
22008
22009
  ]),
@@ -22017,11 +22018,11 @@ export {
22017
22018
  Yo as B,
22018
22019
  AC as C,
22019
22020
  N_ as D,
22020
- no as E,
22021
- co as F,
22021
+ lo as E,
22022
+ ro as F,
22022
22023
  V_ as G,
22023
22024
  lw as H,
22024
- Jn as I,
22025
+ Qn as I,
22025
22026
  pw as J,
22026
22027
  Bw as K,
22027
22028
  uy as L,
@@ -22035,28 +22036,28 @@ export {
22035
22036
  I1 as T,
22036
22037
  Me as U,
22037
22038
  $_ as V,
22038
- YE as W,
22039
+ XE as W,
22039
22040
  n_ as X,
22040
- an as Y,
22041
+ nn as Y,
22041
22042
  T_ as Z,
22042
- Ln as _,
22043
+ Bn as _,
22043
22044
  Xk as a,
22044
22045
  Di as a$,
22045
22046
  km as a0,
22046
22047
  Nk as a1,
22047
22048
  o_ as a2,
22048
- PC as a3,
22049
+ DC as a3,
22049
22050
  um as a4,
22050
- tn as a5,
22051
- ln as a6,
22051
+ en as a5,
22052
+ tn as a6,
22052
22053
  Vt as a7,
22053
22054
  D_ as a8,
22054
22055
  __ as a9,
22055
22056
  R_ as aA,
22056
22057
  s_ as aB,
22057
22058
  kt as aC,
22058
- Wt as aD,
22059
- el as aE,
22059
+ Gt as aD,
22060
+ tl as aE,
22060
22061
  be as aF,
22061
22062
  I_ as aG,
22062
22063
  oi as aH,
@@ -22069,16 +22070,16 @@ export {
22069
22070
  r_ as aO,
22070
22071
  ql as aP,
22071
22072
  W_ as aQ,
22072
- TC as aR,
22073
+ OC as aR,
22073
22074
  vy as aS,
22074
22075
  $i as aT,
22075
- da as aU,
22076
+ ua as aU,
22076
22077
  iw as aV,
22077
22078
  Ii as aW,
22078
- on as aX,
22079
+ an as aX,
22079
22080
  L_ as aY,
22080
22081
  Ge as aZ,
22081
- en as a_,
22082
+ Zl as a_,
22082
22083
  C_ as aa,
22083
22084
  bi as ab,
22084
22085
  nm as ac,
@@ -22096,54 +22097,54 @@ export {
22096
22097
  Gl as ao,
22097
22098
  av as ap,
22098
22099
  bh as aq,
22099
- wa as ar,
22100
+ ya as ar,
22100
22101
  hh as as,
22101
- lo as at,
22102
- Ft as au,
22102
+ to as at,
22103
+ zt as au,
22103
22104
  Vp as av,
22104
22105
  ti as aw,
22105
22106
  i_ as ax,
22106
- ya as ay,
22107
+ ha as ay,
22107
22108
  A_ as az,
22108
- mo as b,
22109
- Dt as b$,
22110
- ZE as b0,
22111
- JE as b1,
22109
+ fo as b,
22110
+ Ru as b$,
22111
+ e_ as b0,
22112
+ ZE as b1,
22112
22113
  hC as b2,
22113
- Zt as b3,
22114
+ el as b3,
22114
22115
  dt as b4,
22115
22116
  Oi as b5,
22116
22117
  yh as b6,
22117
22118
  M_ as b7,
22118
22119
  Lu as b8,
22119
22120
  Jw as b9,
22120
- Jo as bA,
22121
- t_ as bB,
22122
- Yn as bC,
22123
- jE as bD,
22124
- Bt as bE,
22125
- PE as bF,
22126
- jn as bG,
22127
- Wc as bH,
22128
- Le as bI,
22129
- Ni as bJ,
22130
- b_ as bK,
22131
- zd as bL,
22132
- li as bM,
22133
- Df as bN,
22134
- di as bO,
22135
- m_ as bP,
22136
- si as bQ,
22137
- Hf as bR,
22138
- bu as bS,
22139
- Gf as bT,
22140
- KE as bU,
22141
- ku as bV,
22142
- Su as bW,
22143
- Cu as bX,
22144
- ME as bY,
22145
- Yw as bZ,
22146
- Xw as b_,
22121
+ t_ as bA,
22122
+ jn as bB,
22123
+ YE as bC,
22124
+ Bt as bD,
22125
+ DE as bE,
22126
+ Kn as bF,
22127
+ Wc as bG,
22128
+ Le as bH,
22129
+ Ni as bI,
22130
+ b_ as bJ,
22131
+ zd as bK,
22132
+ li as bL,
22133
+ Df as bM,
22134
+ di as bN,
22135
+ m_ as bO,
22136
+ si as bP,
22137
+ Hf as bQ,
22138
+ bu as bR,
22139
+ Gf as bS,
22140
+ jE as bT,
22141
+ ku as bU,
22142
+ Su as bV,
22143
+ Cu as bW,
22144
+ BE as bX,
22145
+ Yw as bY,
22146
+ Xw as bZ,
22147
+ Ft as b_,
22147
22148
  a0 as ba,
22148
22149
  t0 as bb,
22149
22150
  mC as bc,
@@ -22152,101 +22153,100 @@ export {
22152
22153
  pC as bf,
22153
22154
  bC as bg,
22154
22155
  gC as bh,
22155
- e_ as bi,
22156
+ JE as bi,
22156
22157
  QE as bj,
22157
- XE as bk,
22158
- Ct as bl,
22159
- xi as bm,
22160
- H_ as bn,
22161
- yl as bo,
22162
- Jl as bp,
22163
- Uc as bq,
22164
- Lt as br,
22165
- Zl as bs,
22166
- yu as bt,
22167
- Qe as bu,
22168
- et as bv,
22169
- au as bw,
22170
- wu as bx,
22171
- VE as by,
22172
- l_ as bz,
22173
- Sa as c,
22174
- Kf as c$,
22175
- Ru as c0,
22176
- ri as c1,
22177
- ct as c2,
22178
- Uw as c3,
22179
- Qw as c4,
22180
- BE as c5,
22181
- Ai as c6,
22182
- Xy as c7,
22158
+ Ct as bk,
22159
+ xi as bl,
22160
+ H_ as bm,
22161
+ yl as bn,
22162
+ Jl as bo,
22163
+ Uc as bp,
22164
+ Lt as bq,
22165
+ Wo as br,
22166
+ yu as bs,
22167
+ Qe as bt,
22168
+ et as bu,
22169
+ au as bv,
22170
+ wu as bw,
22171
+ PE as bx,
22172
+ l_ as by,
22173
+ Jo as bz,
22174
+ ka as c,
22175
+ ba as c$,
22176
+ ri as c0,
22177
+ ct as c1,
22178
+ Uw as c2,
22179
+ Qw as c3,
22180
+ LE as c4,
22181
+ Ai as c5,
22182
+ Xy as c6,
22183
+ ME as c7,
22183
22184
  OE as c8,
22184
- TE as c9,
22185
- Dc as cA,
22186
- Qa as cB,
22187
- ou as cC,
22188
- Ha as cD,
22189
- y_ as cE,
22190
- Uf as cF,
22191
- g_ as cG,
22192
- qE as cH,
22193
- k_ as cI,
22194
- Jf as cJ,
22195
- d_ as cK,
22196
- p_ as cL,
22197
- v_ as cM,
22198
- u_ as cN,
22199
- f_ as cO,
22200
- WE as cP,
22201
- zE as cQ,
22202
- Nc as cR,
22203
- zo as cS,
22204
- UE as cT,
22205
- nn as cU,
22206
- Wo as cV,
22207
- ed as cW,
22208
- Eu as cX,
22209
- mi as cY,
22210
- Qf as cZ,
22211
- jo as c_,
22212
- Ei as ca,
22213
- sn as cb,
22214
- Hw as cc,
22215
- _i as cd,
22216
- AE as ce,
22217
- nd as cf,
22218
- Iu as cg,
22219
- h_ as ch,
22220
- uu as ci,
22221
- w_ as cj,
22222
- ru as ck,
22223
- su as cl,
22224
- cu as cm,
22225
- ra as cn,
22226
- Lc as co,
22227
- iu as cp,
22228
- Fc as cq,
22229
- Ho as cr,
22230
- Vc as cs,
22231
- DE as ct,
22232
- NE as cu,
22233
- Qc as cv,
22234
- HE as cw,
22235
- GE as cx,
22236
- ca as cy,
22237
- Oc as cz,
22185
+ Ei as c9,
22186
+ Xa as cA,
22187
+ ou as cB,
22188
+ Ua as cC,
22189
+ y_ as cD,
22190
+ Uf as cE,
22191
+ g_ as cF,
22192
+ KE as cG,
22193
+ k_ as cH,
22194
+ Jf as cI,
22195
+ d_ as cJ,
22196
+ p_ as cK,
22197
+ v_ as cL,
22198
+ u_ as cM,
22199
+ f_ as cN,
22200
+ GE as cO,
22201
+ UE as cP,
22202
+ Nc as cQ,
22203
+ Fo as cR,
22204
+ HE as cS,
22205
+ ln as cT,
22206
+ Ho as cU,
22207
+ ed as cV,
22208
+ Eu as cW,
22209
+ mi as cX,
22210
+ Qf as cY,
22211
+ jo as cZ,
22212
+ Kf as c_,
22213
+ on as ca,
22214
+ Hw as cb,
22215
+ _i as cc,
22216
+ TE as cd,
22217
+ nd as ce,
22218
+ Iu as cf,
22219
+ h_ as cg,
22220
+ uu as ch,
22221
+ w_ as ci,
22222
+ ru as cj,
22223
+ su as ck,
22224
+ cu as cl,
22225
+ sa as cm,
22226
+ Lc as cn,
22227
+ iu as co,
22228
+ Fc as cp,
22229
+ Uo as cq,
22230
+ Vc as cr,
22231
+ FE as cs,
22232
+ VE as ct,
22233
+ Qc as cu,
22234
+ WE as cv,
22235
+ qE as cw,
22236
+ ra as cx,
22237
+ Oc as cy,
22238
+ Dc as cz,
22238
22239
  aS as d,
22239
- ha as d0,
22240
- Wv as d1,
22241
- LE as d2,
22242
- Gc as d3,
22240
+ Wv as d0,
22241
+ NE as d1,
22242
+ Gc as d2,
22243
22243
  Qk as e,
22244
22244
  tS as f,
22245
22245
  Uk as g,
22246
22246
  Gk as h,
22247
22247
  Jk as i,
22248
22248
  eS as j,
22249
- FE as k,
22249
+ zE as k,
22250
22250
  r1 as l,
22251
22251
  z_ as m,
22252
22252
  jl as n,
@@ -22254,9 +22254,9 @@ export {
22254
22254
  V1 as p,
22255
22255
  Vi as q,
22256
22256
  ok as r,
22257
- vo as s,
22257
+ uo as s,
22258
22258
  v1 as t,
22259
- ka as u,
22259
+ wa as u,
22260
22260
  z1 as v,
22261
22261
  ek as w,
22262
22262
  G1 as x,