@vc-shell/framework 2.0.11 → 2.1.0-pr248.6401a93

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