@vc-shell/framework 2.0.0-alpha.33-pr220.455e322 → 2.0.0-alpha.34

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.
package/dist/framework.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { a as Qa, b as es } from "./chunks/vendor-vueuse-core-CEdpDfzx.js";
2
- import { bn as gt, bo as Ge, bp as ts, bq as Kt, br as j, bs as te, bt as Ke, bu as as, bv as ss, aw as os, bw as qe, bx as ns, by as rs, bz as Ne, bA as is, bB as qt, R as jt, a2 as ls, ac as Ee, af as mt, aa as je, ai as q, aL as cs, a3 as us, a1 as Ae, aR as Yt, bC as ce, bD as ds, bE as fs, bF as gs, aE as ms, U as Q, O as Le, ae as me, ap as Zt, Q as ps, bG as Es, bH as hs, bI as vs, aM as It, bJ as Ss, bK as As, bL as bs, bM as Ts, bN as ws, bO as Ls, bP as Os, bQ as ys, bR as _s, bS as Is, bT as Rs, bU as Ps } from "./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-D71wkuIU.js";
3
- import { B as zc, _ as Kc, a as qc, b as jc, c as Yc, d as Zc, e as Xc, f as Jc, g as Qc, h as eu, i as tu, j as au, bV as su, bW as ou, C as nu, bX as ru, bY as iu, bZ as lu, b_ as cu, b$ as uu, k as du, c0 as fu, c1 as gu, c2 as mu, c3 as pu, l as Eu, m as hu, n as vu, o as Su, p as Au, q as bu, T as Tu, r as wu, s as Lu, t as Ou, u as yu, v as _u, w as Iu, x as Ru, c4 as Pu, c5 as Cu, V as Du, y as Nu, z as ku, A as Bu, D as Mu, E as Vu, F as Fu, G as Uu, H as $u, I as Wu, J as Gu, K as xu, L as Hu, M as zu, N as Ku, P as qu, c6 as ju, c6 as Yu, c7 as Zu, S as Xu, W as Ju, X as Qu, Y as ed, Z as td, $ as ad, a0 as sd, a4 as od, a5 as nd, a6 as rd, a7 as id, a8 as ld, a9 as cd, ab as ud, ad as dd, ag as fd, ah as gd, aj as md, ak as pd, al as Ed, am as hd, an as vd, ao as Sd, aq as Ad, ar as bd, as as Td, at as wd, au as Ld, av as Od, ax as yd, ay as _d, az as Id, aA as Rd, aB as Pd, aC as Cd, aD as Dd, aF as Nd, aG as kd, aH as Bd, aI as Md, aJ as Vd, aK as Fd, aN as Ud, aO as $d, aP as Wd, c8 as Gd, c9 as xd, ca as Hd, cb as zd, aQ as Kd, cc as qd, cd as jd, ce as Yd, cf as Zd, cg as Xd, ch as Jd, ci as Qd, cj as ef, ck as tf, cl as af, cm as sf, cn as of, co as nf, cp as rf, cq as lf, cr as cf, cs as uf, ct as df, aS as ff, cu as gf, cv as mf, cw as pf, cx as Ef, cy as hf, cz as vf, cA as Sf, cB as Af, cC as bf, cD as Tf, cE as wf, cF as Lf, cG as Of, cH as yf, cI as _f, cJ as If, aT as Rf, cK as Pf, aU as Cf, aV as Df, aW as Nf, cL as kf, aX as Bf, aY as Mf, aZ as Vf, cM as Ff, cN as Uf, a_ as $f, a$ as Wf, b0 as Gf, b1 as xf, cO as Hf, b2 as zf, b3 as Kf, b4 as qf, b5 as jf, b6 as Yf, cP as Zf, b7 as Xf, cQ as Jf, cR as Qf, b8 as eg, cS as tg, b9 as ag, ba as sg, bb as og, cT as ng, bc as rg, bd as ig, be as lg, bf as cg, bg as ug, bh as dg, bi as fg, bj as gg, bk as mg, bl as pg, cU as Eg, bm as hg, aQ as vg } from "./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-D71wkuIU.js";
2
+ import { bn as gt, bo as Ge, bp as ts, bq as Kt, br as j, bs as te, bt as Ke, bu as as, bv as ss, aw as os, bw as qe, bx as ns, by as rs, bz as Ne, bA as is, bB as qt, R as jt, a2 as ls, ac as Ee, af as mt, aa as je, ai as q, aL as cs, a3 as us, a1 as Ae, aR as Yt, bC as ce, bD as ds, bE as fs, bF as gs, aE as ms, U as Q, O as Le, ae as me, ap as Zt, Q as ps, bG as Es, bH as hs, bI as Ss, aM as It, bJ as vs, bK as As, bL as bs, bM as Ts, bN as ws, bO as Ls, bP as Os, bQ as ys, bR as _s, bS as Is, bT as Rs, bU as Ps } from "./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-D71wkuIU.js";
3
+ import { B as jc, _ as Yc, a as Zc, b as Xc, c as Jc, d as Qc, e as eu, f as tu, g as au, h as su, i as ou, j as nu, bV as ru, bW as iu, C as lu, bX as cu, bY as uu, bZ as du, b_ as fu, b$ as gu, k as mu, c0 as pu, c1 as Eu, c2 as hu, c3 as Su, l as vu, m as Au, n as bu, o as Tu, p as wu, q as Lu, T as Ou, r as yu, s as _u, t as Iu, u as Ru, v as Pu, w as Cu, x as Du, c4 as Nu, c5 as ku, V as Bu, y as Mu, z as Vu, A as Fu, D as Uu, E as $u, F as Wu, G as Gu, H as xu, I as Hu, J as zu, K as Ku, L as qu, M as ju, N as Yu, P as Zu, c6 as Xu, c6 as Ju, c7 as Qu, S as ed, W as td, X as ad, Y as sd, Z as od, $ as nd, a0 as rd, a4 as id, a5 as ld, a6 as cd, a7 as ud, a8 as dd, a9 as fd, ab as gd, ad as md, ag as pd, ah as Ed, aj as hd, ak as Sd, al as vd, am as Ad, an as bd, ao as Td, aq as wd, ar as Ld, as as Od, at as yd, au as _d, av as Id, ax as Rd, ay as Pd, az as Cd, aA as Dd, aB as Nd, aC as kd, aD as Bd, aF as Md, aG as Vd, aH as Fd, aI as Ud, aJ as $d, aK as Wd, aN as Gd, aO as xd, aP as Hd, c8 as zd, c9 as Kd, ca as qd, cb as jd, aQ as Yd, cc as Zd, cd as Xd, ce as Jd, cf as Qd, cg as ef, ch as tf, ci as af, cj as sf, ck as of, cl as nf, cm as rf, cn as lf, co as cf, cp as uf, cq as df, cr as ff, cs as gf, ct as mf, aS as pf, cu as Ef, cv as hf, cw as Sf, cx as vf, cy as Af, cz as bf, cA as Tf, cB as wf, cC as Lf, cD as Of, cE as yf, cF as _f, cG as If, cH as Rf, cI as Pf, cJ as Cf, aT as Df, cK as Nf, aU as kf, aV as Bf, aW as Mf, cL as Vf, aX as Ff, aY as Uf, aZ as $f, cM as Wf, cN as Gf, a_ as xf, a$ as Hf, b0 as zf, b1 as Kf, cO as qf, b2 as jf, b3 as Yf, b4 as Zf, b5 as Xf, b6 as Jf, cP as Qf, b7 as eg, cQ as tg, cR as ag, b8 as sg, cS as og, b9 as ng, ba as rg, bb as ig, cT as lg, bc as cg, bd as ug, be as dg, bf as fg, bg as gg, bh as mg, bi as pg, bj as Eg, bk as hg, bl as Sg, cU as vg, bm as Ag, aQ as bg } from "./chunks/VcTableAdapter.vue_vue_type_style_index_0_lang-D71wkuIU.js";
4
4
  import { a as Cs } from "./chunks/index-CDUdOax4.js";
5
- import { u as Ag } from "./chunks/index-CDUdOax4.js";
5
+ import { u as wg } from "./chunks/index-CDUdOax4.js";
6
6
  import { d as H, p as Ds, e as Ns, f as ks, g as Bs, s as Ms, h as Vs, i as Fs, j as Us, k as $s, S as Ws, W as Xt, I as Jt, B as Qt, l as Gs, m as ea, n as pt, o as ta, _ as aa, q as xs, r as Hs, t as zs, v as Ks, w as qs, x as js, y as Ys, L as Zs, z as Xs, C as Js, F as Qs, G as eo, J as to, K as ao, T as so, M as oo, N as no, O as ro, P as io } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D0kWIlz3.js";
7
- import { A as Tg, b as wg, Q as Lg, R as Og, U as yg, V as _g, X as Ig, Y as Rg, Z as Pg, $ as Cg, a0 as Dg, a1 as Ng, a2 as kg, a3 as Bg, a4 as Mg, a5 as Vg, D as Fg, a6 as Ug, a7 as $g, a8 as Wg, a9 as Gg, aa as xg, ab as Hg, ac as zg, ad as Kg, ae as qg, E as jg, af as Yg, ag as Zg, ah as Xg, ai as Jg, H as Qg, aj as em, ak as tm, al as am, am as sm, an as om, ao as nm, ap as rm, aq as im, ar as lm, as as cm, at as um, au as dm, av as fm, aw as gm, ax as mm, ay as pm, az as Em, aA as hm, aB as vm, aC as Sm, aD as Am, aE as bm, aF as Tm, a as wm, aG as Lm, aH as Om, c as ym, aI as _m, aJ as Im, aK as Rm, u as Pm, aL as Cm, aM as Dm, aN as Nm } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D0kWIlz3.js";
8
- import { getCurrentScope as sa, onScopeDispose as oa, computed as O, inject as se, defineComponent as $, resolveComponent as lo, openBlock as h, createBlock as C, createSlots as Oe, withCtx as b, renderSlot as W, createElementVNode as k, normalizeClass as na, createElementBlock as B, Fragment as Y, createVNode as y, createTextVNode as G, toDisplayString as V, shallowReactive as co, ref as P, readonly as nt, onMounted as he, watch as oe, onBeforeMount as uo, onBeforeUnmount as fo, unref as c, onUnmounted as ra, provide as ia, toValue as la, isRef as ca, normalizeStyle as ye, createCommentVNode as F, withDirectives as ua, withModifiers as Ye, reactive as ue, createApp as go, nextTick as ge, renderList as ne, withKeys as Et, mergeProps as ae, shallowRef as mo, resolveDynamicComponent as po, getCurrentInstance as Eo, warn as ho, h as ie, toRaw as vo } from "vue";
7
+ import { A as Og, b as yg, Q as _g, R as Ig, U as Rg, V as Pg, X as Cg, Y as Dg, Z as Ng, $ as kg, a0 as Bg, a1 as Mg, a2 as Vg, a3 as Fg, a4 as Ug, a5 as $g, D as Wg, a6 as Gg, a7 as xg, a8 as Hg, a9 as zg, aa as Kg, ab as qg, ac as jg, ad as Yg, ae as Zg, E as Xg, af as Jg, ag as Qg, ah as em, ai as tm, H as am, aj as sm, ak as om, al as nm, am as rm, an as im, ao as lm, ap as cm, aq as um, ar as dm, as as fm, at as gm, au as mm, av as pm, aw as Em, ax as hm, ay as Sm, az as vm, aA as Am, aB as bm, aC as Tm, aD as wm, aE as Lm, aF as Om, a as ym, aG as _m, aH as Im, c as Rm, aI as Pm, aJ as Cm, aK as Dm, u as Nm, aL as km, aM as Bm, aN as Mm } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-D0kWIlz3.js";
8
+ import { getCurrentScope as sa, onScopeDispose as oa, computed as y, inject as se, defineComponent as $, resolveComponent as lo, openBlock as h, createBlock as C, createSlots as Oe, withCtx as b, renderSlot as W, createElementVNode as N, normalizeClass as na, createElementBlock as k, Fragment as Y, createVNode as I, createTextVNode as G, toDisplayString as V, shallowReactive as co, ref as P, readonly as nt, onMounted as he, watch as oe, onBeforeMount as uo, onBeforeUnmount as fo, unref as c, onUnmounted as ra, provide as ia, toValue as la, isRef as ca, normalizeStyle as ye, createCommentVNode as F, withDirectives as ua, withModifiers as Ye, reactive as ue, createApp as go, nextTick as ge, renderList as ne, withKeys as Et, mergeProps as ae, shallowRef as mo, resolveDynamicComponent as po, getCurrentInstance as Eo, warn as ho, h as ie, toRaw as So } from "vue";
9
9
  import "./chunks/ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
10
10
  import "./chunks/vendor-dompurify-DpIUMBYC.js";
11
- import { u as ve } from "./chunks/vendor-vue-i18n-LO-EJStU.js";
11
+ import { u as Se } from "./chunks/vendor-vue-i18n-LO-EJStU.js";
12
12
  import { useForm as de, useIsFormValid as _e, useIsFormDirty as ht, Field as X } from "vee-validate";
13
13
  import { useRouter as Ie } from "vue-router";
14
14
  import "./chunks/vendor-tiptap-starter-kit-ny-AoaO_.js";
@@ -83,35 +83,35 @@ import "./assets/208f810a9321a327.svg";
83
83
  import "./assets/72de3a63bc0b70dd.svg";
84
84
  import "./chunks/vendor-iso-639-1-BEjYyfKo.js";
85
85
  import "./chunks/vendor-truncate-html-ChA1T5zy.js";
86
- import { v as So } from "./chunks/vendor-vue3-touch-events-DqysuuWh.js";
86
+ import { v as vo } from "./chunks/vendor-vue3-touch-events-DqysuuWh.js";
87
87
  import { G as Ao } from "./chunks/vendor-gridstack-Beau2jQ7.js";
88
88
  import { A as bo, u as To } from "./chunks/vendor-vue3-application-insights-CAgbt8pk.js";
89
89
  import { o as wo, c as J, d as Lo, a as Oo } from "./chunks/vendor-lodash-es-CfnUOh0o.js";
90
90
  import { T as yo, x as _o, b as Io, S as Ro, $ as Po } from "./chunks/vendor-web-vitals-ByFgAM-8.js";
91
91
  import { _ as Co } from "./chunks/index-BuTo_Lx8.js";
92
- import { E as Bm, d as Mm, u as Vm } from "./chunks/index-BuTo_Lx8.js";
93
- import { S as da, z as vt, A as Do, C as No, a as Fe, w as ko, b as Bo, D as Mo, c as Vo, E as Fo } from "./chunks/vendor-unovis-vue-CZWGT3-0.js";
94
- function Ql(e) {
92
+ import { E as Fm, d as Um, u as $m } from "./chunks/index-BuTo_Lx8.js";
93
+ import { S as da, z as St, A as Do, C as No, a as Fe, w as ko, b as Bo, D as Mo, c as Vo, E as Fo } from "./chunks/vendor-unovis-vue-CZWGT3-0.js";
94
+ function ac(e) {
95
95
  return e.replace(/[\w]([A-Z])/g, function(t) {
96
96
  return t[0] + "_" + t[1];
97
97
  }).toLowerCase();
98
98
  }
99
99
  const Uo = (e) => e.replace(/-./g, (t) => t[1].toUpperCase());
100
- function ec(e) {
100
+ function sc(e) {
101
101
  const t = Uo(e);
102
102
  return t[0].toUpperCase() + t.substring(1);
103
103
  }
104
- function tc(e) {
104
+ function oc(e) {
105
105
  return e.replace(/\W+(.)/g, function(t, a) {
106
106
  return a.toUpperCase();
107
107
  });
108
108
  }
109
109
  const $o = /* @__PURE__ */ new Set(["png", "jpg", "jpeg", "svg", "gif"]);
110
- function St(e) {
110
+ function vt(e) {
111
111
  return e.split(".").pop()?.toLowerCase();
112
112
  }
113
113
  function fa(e) {
114
- return e ? $o.has(St(e) ?? "") : !1;
114
+ return e ? $o.has(vt(e) ?? "") : !1;
115
115
  }
116
116
  function ga(e, t = 2) {
117
117
  if (!e) return "0 Bytes";
@@ -135,11 +135,11 @@ const Wo = {
135
135
  };
136
136
  function ma(e) {
137
137
  if (!e) return "var(--neutrals-400)";
138
- const t = St(e) ?? "";
138
+ const t = vt(e) ?? "";
139
139
  return Wo[t] ?? "var(--neutrals-400)";
140
140
  }
141
141
  function pa(e) {
142
- return e ? (St(e) ?? "FILE").toUpperCase() : "FILE";
142
+ return e ? (vt(e) ?? "FILE").toUpperCase() : "FILE";
143
143
  }
144
144
  const Go = {
145
145
  install(e) {
@@ -147,16 +147,16 @@ const Go = {
147
147
  e.config.globalProperties.$hasAccess = t, e.provide("$hasAccess", t);
148
148
  }
149
149
  };
150
- function ac(e) {
150
+ function nc(e) {
151
151
  const t = Ge(), a = t.subscribe({
152
152
  types: e.types,
153
153
  filter: e.filter,
154
154
  handler: e.onMessage
155
155
  });
156
156
  sa() && oa(a);
157
- const s = O(
157
+ const s = y(
158
158
  () => t.realtime.value.filter((i) => !(!i.notifyType || !e.types.includes(i.notifyType) || !i.isNew || e.filter && !e.filter(i)))
159
- ), o = O(() => s.value.length);
159
+ ), o = y(() => s.value.length);
160
160
  function l(i) {
161
161
  t.markAsRead(i);
162
162
  }
@@ -166,7 +166,7 @@ function ac(e) {
166
166
  markAsRead: l
167
167
  };
168
168
  }
169
- function sc() {
169
+ function rc() {
170
170
  const e = se(ts);
171
171
  if (!e)
172
172
  throw new Error("useNotificationContext() must be used inside a notification template");
@@ -229,7 +229,7 @@ function At(e) {
229
229
  }
230
230
  };
231
231
  }
232
- function oc(e, t, a, s) {
232
+ function ic(e, t, a, s) {
233
233
  return At({
234
234
  blades: e,
235
235
  locales: t,
@@ -353,14 +353,14 @@ const Ko = {
353
353
  close: r,
354
354
  confirm: () => o(r)
355
355
  }, () => [
356
- k("div", {
356
+ N("div", {
357
357
  class: na(["vc-popup-base__actions", {
358
358
  "vc-popup-base__actions--confirm": e.mode === "confirm",
359
359
  "vc-popup-base__actions--single": e.mode === "acknowledge"
360
360
  }])
361
361
  }, [
362
- e.mode === "confirm" ? (h(), B(Y, { key: 0 }, [
363
- y(n, {
362
+ e.mode === "confirm" ? (h(), k(Y, { key: 0 }, [
363
+ I(n, {
364
364
  text: e.confirmAsText,
365
365
  class: "vc-popup-base__confirm",
366
366
  onClick: (u) => o(r)
@@ -370,7 +370,7 @@ const Ko = {
370
370
  ]),
371
371
  _: 1
372
372
  }, 8, ["text", "onClick"]),
373
- y(n, { onClick: r }, {
373
+ I(n, { onClick: r }, {
374
374
  default: b(() => [
375
375
  G(V(e.cancelLabel), 1)
376
376
  ]),
@@ -549,7 +549,7 @@ const Xo = {
549
549
  gap: 20
550
550
  }
551
551
  };
552
- function nc(e) {
552
+ function lc(e) {
553
553
  return Jo[e];
554
554
  }
555
555
  function Qo(e, t) {
@@ -581,7 +581,7 @@ function an(e, t) {
581
581
  }, t));
582
582
  };
583
583
  }
584
- function rc() {
584
+ function cc() {
585
585
  return {
586
586
  debounce: Qo,
587
587
  delay: en,
@@ -589,18 +589,18 @@ function rc() {
589
589
  throttle: an
590
590
  };
591
591
  }
592
- function ic(e) {
592
+ function uc(e) {
593
593
  const t = Ge(), a = e ? Array.isArray(e) ? e : [e] : [];
594
594
  let s, o;
595
595
  a.length && (o = t.subscribe({
596
596
  types: a,
597
597
  handler: (i) => s?.(i)
598
598
  }), sa() && oa(() => o?.()));
599
- const l = O(() => a.length ? t.realtime.value.filter(
599
+ const l = y(() => a.length ? t.realtime.value.filter(
600
600
  (i) => i.isNew && i.notifyType != null && a.includes(i.notifyType)
601
601
  ) : []);
602
602
  return {
603
- notifications: O(() => wo(t.history.value, ["created"], ["desc"])),
603
+ notifications: y(() => wo(t.history.value, ["created"], ["desc"])),
604
604
  moduleNotifications: l,
605
605
  loadFromHistory: t.loadHistory,
606
606
  addNotification: t.ingest,
@@ -649,8 +649,8 @@ function on(e) {
649
649
  getApiClient: t
650
650
  };
651
651
  }
652
- function va(...e) {
653
- return O(() => e.some((t) => t.value));
652
+ function Sa(...e) {
653
+ return y(() => e.some((t) => t.value));
654
654
  }
655
655
  function Re() {
656
656
  const e = P(), t = P(!1), { getApiClient: a } = on(Ws), { loading: s, action: o } = ha(async () => {
@@ -674,9 +674,9 @@ function Re() {
674
674
  return he(async () => {
675
675
  !e.value && !t.value && await o();
676
676
  }), {
677
- uiSettings: O(() => e.value ?? {}),
677
+ uiSettings: y(() => e.value ?? {}),
678
678
  applySettings: l,
679
- loading: va(s)
679
+ loading: Sa(s)
680
680
  };
681
681
  }
682
682
  const Pt = H("use-assets"), nn = 4;
@@ -701,7 +701,7 @@ async function ln(e, t, a) {
701
701
  }
702
702
  return s;
703
703
  }
704
- function lc() {
704
+ function dc() {
705
705
  const e = P(!1);
706
706
  async function t(o, l, i) {
707
707
  try {
@@ -742,7 +742,7 @@ function lc() {
742
742
  upload: t,
743
743
  remove: a,
744
744
  edit: s,
745
- loading: O(() => e.value)
745
+ loading: y(() => e.value)
746
746
  };
747
747
  }
748
748
  const cn = H("use-assets-manager"), un = 4;
@@ -767,7 +767,7 @@ async function fn(e, t, a) {
767
767
  }
768
768
  return s;
769
769
  }
770
- function cc(e, t) {
770
+ function fc(e, t) {
771
771
  const a = P(!1), s = P(e.value ?? []);
772
772
  oe(
773
773
  () => e.value,
@@ -779,18 +779,18 @@ function cc(e, t) {
779
779
  function o() {
780
780
  e.value = s.value;
781
781
  }
782
- const l = s, i = O(() => a.value), n = t.concurrency ?? un, r = t.assetKey ?? "url";
782
+ const l = s, i = y(() => a.value), n = t.concurrency ?? un, r = t.assetKey ?? "url";
783
783
  async function u(w, T) {
784
784
  try {
785
785
  a.value = !0;
786
- const S = Array.from(w), _ = t.uploadPath(), I = (await fn(
787
- S,
788
- (A, N) => dn(A, _, N, T),
786
+ const v = Array.from(w), O = t.uploadPath(), A = (await fn(
787
+ v,
788
+ (_, B) => dn(_, O, B, T),
789
789
  n
790
- )).filter((A) => A !== null);
791
- s.value = [...s.value, ...I], o();
792
- } catch (S) {
793
- throw cn.error("Upload failed:", S), S;
790
+ )).filter((_) => _ !== null);
791
+ s.value = [...s.value, ...A], o();
792
+ } catch (v) {
793
+ throw cn.error("Upload failed:", v), v;
794
794
  } finally {
795
795
  a.value = !1;
796
796
  }
@@ -801,17 +801,17 @@ function cc(e, t) {
801
801
  async function p(w) {
802
802
  if (t.confirmRemove && !await t.confirmRemove())
803
803
  return;
804
- const T = new Set(w.map((S) => S[r]));
805
- s.value = s.value.filter((S) => !T.has(S[r])), o();
804
+ const T = new Set(w.map((v) => v[r]));
805
+ s.value = s.value.filter((v) => !T.has(v[r])), o();
806
806
  }
807
807
  function g(w) {
808
808
  s.value = w.map((T) => ({ ...T })), o();
809
809
  }
810
810
  function d(w) {
811
- const T = s.value.findIndex((S) => S[r] === w[r]);
811
+ const T = s.value.findIndex((v) => v[r] === w[r]);
812
812
  if (T !== -1) {
813
- const S = [...s.value];
814
- S[T] = { ...s.value[T], ...w }, s.value = S, o();
813
+ const v = [...s.value];
814
+ v[T] = { ...s.value[T], ...w }, s.value = v, o();
815
815
  }
816
816
  }
817
817
  return {
@@ -837,7 +837,7 @@ const gn = (e) => {
837
837
  modified: e
838
838
  };
839
839
  };
840
- function Se(e) {
840
+ function ve(e) {
841
841
  return !!(e == null || typeof e == "number" && isNaN(e) || typeof e == "string" && e.trim().length === 0 || typeof e == "object" && Object.keys(e).length === 0);
842
842
  }
843
843
  function pe(e) {
@@ -859,14 +859,14 @@ function x(e) {
859
859
  return { isInherited: !1, ...e };
860
860
  }
861
861
  function xe(e, t) {
862
- e.values && (pe(e) && t ? e.values = e.values.filter((a) => a.languageCode !== t) : e.values = [], e.values.length > 0 && e.values.every((a) => Se(a.value)) && (e.values = []));
862
+ e.values && (pe(e) && t ? e.values = e.values.filter((a) => a.languageCode !== t) : e.values = [], e.values.length > 0 && e.values.every((a) => ve(a.value)) && (e.values = []));
863
863
  }
864
864
  const En = {
865
865
  get(e, t) {
866
866
  return pe(e) ? Te(e) ? e.values?.filter((s) => s.languageCode === t) ?? [] : (e.values?.find((s) => s.languageCode === t) ?? e.values?.find((s) => !s.languageCode))?.value ?? "" : Te(e) ? e.values ?? [] : e.values?.[0]?.value ?? "";
867
867
  },
868
868
  set(e, t, a) {
869
- if (!Array.isArray(t) && Se(t)) {
869
+ if (!Array.isArray(t) && ve(t)) {
870
870
  xe(e, a.locale);
871
871
  return;
872
872
  }
@@ -895,20 +895,20 @@ const En = {
895
895
  set(e, t, a) {
896
896
  e.values?.[0] ? Object.assign(e.values[0], { value: t }) : e.values = [x({ value: t })];
897
897
  }
898
- }, vn = {
898
+ }, Sn = {
899
899
  get(e, t) {
900
900
  return pe(e) ? Te(e) ? e.values?.filter((s) => s.languageCode === t) ?? [] : (e.values?.find((s) => s.languageCode === t) ?? e.values?.find((s) => !s.languageCode))?.valueId ?? "" : Te(e) ? e.values ?? [] : e.values?.[0]?.valueId ?? "";
901
901
  },
902
902
  set(e, t, a) {
903
903
  const { dictionary: s, locale: o } = a;
904
- if (!Array.isArray(t) && Se(t)) {
904
+ if (!Array.isArray(t) && ve(t)) {
905
905
  xe(e, o);
906
906
  return;
907
907
  }
908
- s?.length && (pe(e) ? Sn(e, t, s, o) : Tn(e, t, s));
908
+ s?.length && (pe(e) ? vn(e, t, s, o) : Tn(e, t, s));
909
909
  }
910
910
  };
911
- function Sn(e, t, a, s) {
911
+ function vn(e, t, a, s) {
912
912
  Array.isArray(t) ? An(
913
913
  e,
914
914
  t,
@@ -978,7 +978,7 @@ function Tn(e, t, a) {
978
978
  } : s);
979
979
  });
980
980
  else {
981
- if (Se(t)) {
981
+ if (ve(t)) {
982
982
  e.values = [];
983
983
  return;
984
984
  }
@@ -999,7 +999,7 @@ const wn = {
999
999
  return e.values?.[0]?.value ?? "";
1000
1000
  },
1001
1001
  set(e, t, a) {
1002
- if (Se(t)) {
1002
+ if (ve(t)) {
1003
1003
  xe(e);
1004
1004
  return;
1005
1005
  }
@@ -1010,7 +1010,7 @@ const wn = {
1010
1010
  return Te(e) ? e.values ?? [] : e.values?.[0]?.value ?? "";
1011
1011
  },
1012
1012
  set(e, t, a) {
1013
- if (!Array.isArray(t) && Se(t)) {
1013
+ if (!Array.isArray(t) && ve(t)) {
1014
1014
  xe(e);
1015
1015
  return;
1016
1016
  }
@@ -1020,9 +1020,9 @@ const wn = {
1020
1020
  }
1021
1021
  };
1022
1022
  function Dt(e) {
1023
- return mn(e) ? wn : pn(e) && !Ct(e) ? Ln : e.valueType === "Boolean" ? hn : Ct(e) ? vn : En;
1023
+ return mn(e) ? wn : pn(e) && !Ct(e) ? Ln : e.valueType === "Boolean" ? hn : Ct(e) ? Sn : En;
1024
1024
  }
1025
- function uc(e) {
1025
+ function gc(e) {
1026
1026
  const { searchDictionary: t, searchMeasurements: a } = e, { loading: s, action: o } = ha(async (u) => {
1027
1027
  if (u)
1028
1028
  return await t(u);
@@ -1055,10 +1055,10 @@ function uc(e) {
1055
1055
  setPropertyValue: r,
1056
1056
  loadDictionaries: l,
1057
1057
  loadMeasurements: i,
1058
- loading: va(s)
1058
+ loading: Sa(s)
1059
1059
  };
1060
1060
  }
1061
- function dc(e) {
1061
+ function mc(e) {
1062
1062
  const t = (s) => {
1063
1063
  }, a = (s) => {
1064
1064
  (e ?? t)({
@@ -1069,8 +1069,8 @@ function dc(e) {
1069
1069
  };
1070
1070
  yo(a), _o(a), Io(a), Ro(a), Po(a);
1071
1071
  }
1072
- const Sa = H("use-blade-widgets");
1073
- function fc(e) {
1072
+ const va = H("use-blade-widgets");
1073
+ function pc(e) {
1074
1074
  const t = se(Xt);
1075
1075
  if (!t)
1076
1076
  throw new Jt("WidgetService");
@@ -1089,7 +1089,7 @@ function fc(e) {
1089
1089
  });
1090
1090
  function l(n) {
1091
1091
  const u = a.getWidgets(o).find((f) => f.id === n);
1092
- u?.trigger?.onRefresh ? u.trigger.onRefresh() : Sa.warn(`Widget '${n}' has no trigger.onRefresh registered.`);
1092
+ u?.trigger?.onRefresh ? u.trigger.onRefresh() : va.warn(`Widget '${n}' has no trigger.onRefresh registered.`);
1093
1093
  }
1094
1094
  function i() {
1095
1095
  const n = a.getWidgets(o);
@@ -1098,10 +1098,10 @@ function fc(e) {
1098
1098
  }
1099
1099
  return { refresh: l, refreshAll: i };
1100
1100
  }
1101
- function gc(e) {
1101
+ function Ec(e) {
1102
1102
  const t = se(Gs);
1103
1103
  if (!t) {
1104
- Sa.warn("useWidgetTrigger() called outside WidgetContainer scope — trigger will not be registered.");
1104
+ va.warn("useWidgetTrigger() called outside WidgetContainer scope — trigger will not be registered.");
1105
1105
  return;
1106
1106
  }
1107
1107
  t.setTrigger(e);
@@ -1131,13 +1131,13 @@ function yn(e) {
1131
1131
  }
1132
1132
  return t;
1133
1133
  }
1134
- function mc(e) {
1134
+ function hc(e) {
1135
1135
  ia(
1136
1136
  ea,
1137
- O(() => yn(la(e)))
1137
+ y(() => yn(la(e)))
1138
1138
  );
1139
1139
  }
1140
- function pc() {
1140
+ function Sc() {
1141
1141
  const e = se(ea);
1142
1142
  if (!e)
1143
1143
  throw new Jt("BladeContext");
@@ -1151,7 +1151,7 @@ function kt(e, t) {
1151
1151
  if (Nt(a) && Nt(s)) return !0;
1152
1152
  });
1153
1153
  }
1154
- function Ec(e) {
1154
+ function vc(e) {
1155
1155
  const t = (i) => J(c(i)), a = P(t(e)), s = P(t(e)), o = P(!1);
1156
1156
  ca(e) && oe(
1157
1157
  e,
@@ -1180,7 +1180,7 @@ function Ec(e) {
1180
1180
  return {
1181
1181
  currentValue: s,
1182
1182
  pristineValue: a,
1183
- isModified: O(() => o.value),
1183
+ isModified: y(() => o.value),
1184
1184
  resetModificationState: l
1185
1185
  };
1186
1186
  }
@@ -1195,7 +1195,7 @@ const Nn = /* @__PURE__ */ $({
1195
1195
  setup(e) {
1196
1196
  const { options: t, closeSelf: a } = pt();
1197
1197
  de({ validateOnMount: !1 });
1198
- const s = _e(), o = ht(), { t: l } = ve({ useScope: "global" }), i = P({ ...t.value?.asset }), n = O(() => t.value?.disabled), r = O({
1198
+ const s = _e(), o = ht(), { t: l } = Se({ useScope: "global" }), i = P({ ...t.value?.asset }), n = y(() => t.value?.disabled), r = y({
1199
1199
  get() {
1200
1200
  const g = i.value.name;
1201
1201
  if (!g) return "";
@@ -1208,7 +1208,7 @@ const Nn = /* @__PURE__ */ $({
1208
1208
  const w = d.lastIndexOf("."), T = w > 0 ? d.slice(w) : "";
1209
1209
  i.value.name = g ? g + T : "";
1210
1210
  }
1211
- }), u = O(() => !o.value || !s.value), f = P([
1211
+ }), u = y(() => !o.value || !s.value), f = P([
1212
1212
  {
1213
1213
  id: "save",
1214
1214
  title: l("ASSETS.PAGES.DETAILS.TOOLBAR.SAVE"),
@@ -1216,7 +1216,7 @@ const Nn = /* @__PURE__ */ $({
1216
1216
  async clickHandler() {
1217
1217
  t.value?.assetEditHandler && typeof t.value?.assetEditHandler == "function" && (await t.value?.assetEditHandler(i.value), a());
1218
1218
  },
1219
- disabled: O(() => u.value || n.value)
1219
+ disabled: y(() => u.value || n.value)
1220
1220
  },
1221
1221
  {
1222
1222
  id: "delete",
@@ -1225,46 +1225,46 @@ const Nn = /* @__PURE__ */ $({
1225
1225
  async clickHandler() {
1226
1226
  t.value?.assetRemoveHandler && typeof t.value?.assetRemoveHandler == "function" && (await t.value?.assetRemoveHandler(i.value), a());
1227
1227
  },
1228
- disabled: O(() => n.value)
1228
+ disabled: y(() => n.value)
1229
1229
  }
1230
- ]), p = O(() => i.value?.typeId);
1230
+ ]), p = y(() => i.value?.typeId);
1231
1231
  return (g, d) => (h(), C(c(jt), {
1232
1232
  title: c(t)?.asset?.name,
1233
1233
  subtitle: c(l)("ASSETS.PAGES.DETAILS.SUBTITLE"),
1234
1234
  "toolbar-items": f.value
1235
1235
  }, {
1236
1236
  default: b(() => [
1237
- k("div", _n, [
1238
- k("div", In, [
1239
- y(c(ls), { "no-padding": !0 }, {
1237
+ N("div", _n, [
1238
+ N("div", In, [
1239
+ I(c(ls), { "no-padding": !0 }, {
1240
1240
  default: b(() => [
1241
- k("div", Rn, [
1242
- y(c(Ee), null, {
1241
+ N("div", Rn, [
1242
+ I(c(Ee), null, {
1243
1243
  default: b(() => [
1244
- k("div", Pn, [
1244
+ N("div", Pn, [
1245
1245
  c(fa)(i.value.name) ? (h(), C(c(mt), {
1246
1246
  key: 0,
1247
1247
  src: i.value.url,
1248
1248
  size: "xl",
1249
1249
  bordered: !0,
1250
1250
  class: "tw-shrink-0"
1251
- }, null, 8, ["src"])) : (h(), B("div", Cn, [
1252
- k("div", {
1251
+ }, null, 8, ["src"])) : (h(), k("div", Cn, [
1252
+ N("div", {
1253
1253
  class: "assets-details__file-badge",
1254
1254
  style: ye({ backgroundColor: c(ma)(i.value.name) })
1255
1255
  }, V(c(pa)(i.value.name)), 5)
1256
1256
  ])),
1257
- k("div", Dn, [
1258
- y(c(je), {
1257
+ N("div", Dn, [
1258
+ I(c(je), {
1259
1259
  label: c(l)("ASSETS.PAGES.DETAILS.FIELDS.SIZE"),
1260
1260
  "model-value": c(ga)(i.value.size)
1261
1261
  }, null, 8, ["label", "model-value"]),
1262
- y(c(je), {
1262
+ I(c(je), {
1263
1263
  label: c(l)("ASSETS.PAGES.DETAILS.FIELDS.CREATED_DATE"),
1264
1264
  "model-value": i.value.createdDate,
1265
1265
  type: "date-ago"
1266
1266
  }, null, 8, ["label", "model-value"]),
1267
- y(c(je), {
1267
+ I(c(je), {
1268
1268
  label: c(l)("ASSETS.PAGES.DETAILS.FIELDS.URL"),
1269
1269
  "model-value": i.value.url,
1270
1270
  "display-value": i.value.name,
@@ -1280,18 +1280,18 @@ const Nn = /* @__PURE__ */ $({
1280
1280
  rules: "required",
1281
1281
  "model-value": i.value.name
1282
1282
  }, {
1283
- default: b(({ errorMessage: w, handleChange: T, errors: S }) => [
1284
- y(c(q), {
1283
+ default: b(({ errorMessage: w, handleChange: T, errors: v }) => [
1284
+ I(c(q), {
1285
1285
  modelValue: r.value,
1286
1286
  "onUpdate:modelValue": [
1287
- d[0] || (d[0] = (_) => r.value = _),
1287
+ d[0] || (d[0] = (O) => r.value = O),
1288
1288
  T
1289
1289
  ],
1290
1290
  class: "tw-mb-4",
1291
1291
  label: c(l)("ASSETS.PAGES.DETAILS.FIELDS.NAME.TITLE"),
1292
1292
  clearable: "",
1293
1293
  required: "",
1294
- error: !!S.length,
1294
+ error: !!v.length,
1295
1295
  "error-message": w,
1296
1296
  placeholder: c(l)("ASSETS.PAGES.DETAILS.FIELDS.NAME.PLACEHOLDER"),
1297
1297
  disabled: n.value
@@ -1341,48 +1341,48 @@ const Fn = /* @__PURE__ */ $({
1341
1341
  name: "AssetsManager",
1342
1342
  __name: "assets-manager",
1343
1343
  setup(e) {
1344
- const t = H("assets-manager"), { options: a, openBlade: s } = pt(), { t: o } = ve({ useScope: "global" }), l = O(() => a.value.manager), i = O(() => l.value.items.value ?? []), n = O(() => l.value.loading.value), r = O(() => a.value?.title || o("ASSETS_MANAGER.TITLE")), u = P(!1), f = P(), p = P([]), g = O(() => a.value?.disabled), d = P([
1344
+ const t = H("assets-manager"), { options: a, openBlade: s } = pt(), { t: o } = Se({ useScope: "global" }), l = y(() => a.value.manager), i = y(() => l.value.items.value ?? []), n = y(() => l.value.loading.value), r = y(() => a.value?.title || o("ASSETS_MANAGER.TITLE")), u = P(!1), f = P(), p = P([]), g = y(() => a.value?.disabled), d = P([
1345
1345
  {
1346
1346
  id: "add",
1347
- title: O(() => o("ASSETS_MANAGER.TOOLBAR.ADD")),
1347
+ title: y(() => o("ASSETS_MANAGER.TOOLBAR.ADD")),
1348
1348
  icon: "lucide-plus",
1349
1349
  clickHandler() {
1350
1350
  R();
1351
1351
  },
1352
- disabled: O(() => g.value),
1353
- isVisible: O(() => !g.value)
1352
+ disabled: y(() => g.value),
1353
+ isVisible: y(() => !g.value)
1354
1354
  },
1355
1355
  {
1356
1356
  id: "delete",
1357
- title: O(() => o("ASSETS_MANAGER.TOOLBAR.DELETE")),
1357
+ title: y(() => o("ASSETS_MANAGER.TOOLBAR.DELETE")),
1358
1358
  icon: "lucide-trash-2",
1359
1359
  async clickHandler() {
1360
1360
  await l.value.removeMany(p.value);
1361
1361
  },
1362
- disabled: O(() => !p.value.length || g.value),
1363
- isVisible: O(() => !g.value)
1362
+ disabled: y(() => !p.value.length || g.value),
1363
+ isVisible: y(() => !g.value)
1364
1364
  }
1365
1365
  ]);
1366
1366
  async function w(E) {
1367
1367
  if (E.dragIndex !== E.dropIndex) {
1368
- const m = E.value.map((v, L) => (v.sortOrder = L, v));
1368
+ const m = E.value.map((S, L) => (S.sortOrder = L, S));
1369
1369
  l.value.reorder(m);
1370
1370
  }
1371
1371
  }
1372
1372
  function T() {
1373
1373
  g.value || (u.value = !0);
1374
1374
  }
1375
- function S() {
1375
+ function v() {
1376
1376
  g.value || (u.value = !1);
1377
1377
  }
1378
- async function _(E) {
1378
+ async function O(E) {
1379
1379
  if (!g.value) {
1380
1380
  const m = E.dataTransfer?.files;
1381
1381
  if (m && m.length)
1382
1382
  try {
1383
- await I(m);
1384
- } catch (v) {
1385
- throw t.error("Failed to upload dropped files:", v), v;
1383
+ await A(m);
1384
+ } catch (S) {
1385
+ throw t.error("Failed to upload dropped files:", S), S;
1386
1386
  }
1387
1387
  u.value = !1;
1388
1388
  }
@@ -1390,9 +1390,9 @@ const Fn = /* @__PURE__ */ $({
1390
1390
  function R() {
1391
1391
  f.value.value = "", f.value.click();
1392
1392
  }
1393
- async function I(E) {
1393
+ async function A(E) {
1394
1394
  if (!E || E.length === 0) return;
1395
- const m = new Set((i.value ?? []).map((L) => L.name).filter(Boolean)), v = new DataTransfer();
1395
+ const m = new Set((i.value ?? []).map((L) => L.name).filter(Boolean)), S = new DataTransfer();
1396
1396
  for (const L of Array.from(E)) {
1397
1397
  let D = L.name;
1398
1398
  if (m.has(D)) {
@@ -1401,25 +1401,25 @@ const Fn = /* @__PURE__ */ $({
1401
1401
  for (; m.has(D); )
1402
1402
  D = `${z}_${re}${M}`, re++;
1403
1403
  }
1404
- m.add(D), v.items.add(new File([L], D, { type: L.type }));
1404
+ m.add(D), S.items.add(new File([L], D, { type: L.type }));
1405
1405
  }
1406
1406
  try {
1407
1407
  const L = i.value.reduce((D, M) => Math.max(D, M.sortOrder ?? 0), -1);
1408
- await l.value.upload(v.files, L);
1408
+ await l.value.upload(S.files, L);
1409
1409
  } catch (L) {
1410
1410
  throw t.error("Failed to upload assets:", L), L;
1411
1411
  }
1412
1412
  }
1413
- async function A(E) {
1414
- const v = E.target.files;
1415
- if (v && v.length)
1413
+ async function _(E) {
1414
+ const S = E.target.files;
1415
+ if (S && S.length)
1416
1416
  try {
1417
- await I(v);
1417
+ await A(S);
1418
1418
  } catch (L) {
1419
1419
  throw t.error("Failed to upload files:", L), L;
1420
1420
  }
1421
1421
  }
1422
- function N(E) {
1422
+ function B(E) {
1423
1423
  s({
1424
1424
  name: "AssetsDetails",
1425
1425
  options: {
@@ -1440,7 +1440,7 @@ const Fn = /* @__PURE__ */ $({
1440
1440
  const U = () => [
1441
1441
  {
1442
1442
  icon: "lucide-trash-2",
1443
- title: O(() => o("ASSETS_MANAGER.TABLE.ACTIONS.DELETE")),
1443
+ title: y(() => o("ASSETS_MANAGER.TABLE.ACTIONS.DELETE")),
1444
1444
  type: "danger",
1445
1445
  async clickHandler(E) {
1446
1446
  await l.value.remove(E), p.value = [];
@@ -1453,15 +1453,15 @@ const Fn = /* @__PURE__ */ $({
1453
1453
  width: "70%"
1454
1454
  }, {
1455
1455
  default: b(() => [
1456
- ua((h(), B("div", {
1456
+ ua((h(), k("div", {
1457
1457
  class: "tw-relative tw-h-full tw-flex-1",
1458
1458
  onDragover: Ye(T, ["prevent", "stop"]),
1459
- onDragleave: Ye(S, ["prevent"]),
1460
- onDrop: Ye(_, ["prevent", "stop"])
1459
+ onDragleave: Ye(v, ["prevent"]),
1460
+ onDrop: Ye(O, ["prevent", "stop"])
1461
1461
  }, [
1462
- y(c(us), {
1462
+ I(c(us), {
1463
1463
  selection: p.value,
1464
- "onUpdate:selection": m[0] || (m[0] = (v) => p.value = v),
1464
+ "onUpdate:selection": m[0] || (m[0] = (S) => p.value = S),
1465
1465
  items: i.value,
1466
1466
  "state-key": "assets_manager",
1467
1467
  "reorderable-rows": !g.value,
@@ -1474,63 +1474,63 @@ const Fn = /* @__PURE__ */ $({
1474
1474
  actionHandler: R
1475
1475
  },
1476
1476
  class: "tw-h-full tw-w-full",
1477
- onRowClick: m[1] || (m[1] = ({ data: v }) => N(v)),
1477
+ onRowClick: m[1] || (m[1] = ({ data: S }) => B(S)),
1478
1478
  onRowReorder: w
1479
1479
  }, {
1480
1480
  default: b(() => [
1481
- y(c(Ae), {
1481
+ I(c(Ae), {
1482
1482
  id: "url",
1483
1483
  title: c(o)("ASSETS_MANAGER.TABLE.HEADER.IMAGE"),
1484
1484
  width: "10%",
1485
1485
  "always-visible": ""
1486
1486
  }, {
1487
- body: b(({ data: v }) => [
1488
- k("div", Vn, [
1489
- c(fa)(v.name ?? "") ? (h(), C(c(mt), {
1487
+ body: b(({ data: S }) => [
1488
+ N("div", Vn, [
1489
+ c(fa)(S.name ?? "") ? (h(), C(c(mt), {
1490
1490
  key: 0,
1491
1491
  bordered: !0,
1492
1492
  size: "s",
1493
1493
  aspect: "1x1",
1494
- src: v.url,
1494
+ src: S.url,
1495
1495
  background: "contain"
1496
- }, null, 8, ["src"])) : (h(), B("div", {
1496
+ }, null, 8, ["src"])) : (h(), k("div", {
1497
1497
  key: 1,
1498
1498
  class: "assets-manager__file-badge",
1499
- style: ye({ backgroundColor: c(ma)(v.name ?? "") })
1500
- }, V(c(pa)(v.name ?? "")), 5))
1499
+ style: ye({ backgroundColor: c(ma)(S.name ?? "") })
1500
+ }, V(c(pa)(S.name ?? "")), 5))
1501
1501
  ])
1502
1502
  ]),
1503
1503
  _: 1
1504
1504
  }, 8, ["title"]),
1505
- y(c(Ae), {
1505
+ I(c(Ae), {
1506
1506
  id: "name",
1507
1507
  title: c(o)("ASSETS_MANAGER.TABLE.HEADER.NAME"),
1508
1508
  width: "20%",
1509
1509
  "always-visible": ""
1510
1510
  }, null, 8, ["title"]),
1511
- y(c(Ae), {
1511
+ I(c(Ae), {
1512
1512
  id: "size",
1513
1513
  title: c(o)("ASSETS_MANAGER.TABLE.HEADER.SIZE"),
1514
1514
  width: "20%",
1515
1515
  "always-visible": ""
1516
1516
  }, {
1517
- body: b(({ data: v }) => [
1518
- k("div", null, V(c(ga)(v.size ?? 0)), 1)
1517
+ body: b(({ data: S }) => [
1518
+ N("div", null, V(c(ga)(S.size ?? 0)), 1)
1519
1519
  ]),
1520
1520
  _: 1
1521
1521
  }, 8, ["title"]),
1522
- y(c(Ae), {
1522
+ I(c(Ae), {
1523
1523
  id: "sortOrder",
1524
1524
  title: c(o)("ASSETS_MANAGER.TABLE.HEADER.SORT_ORDER"),
1525
1525
  width: "25%",
1526
1526
  "always-visible": ""
1527
1527
  }, {
1528
- body: b(({ data: v }) => [
1529
- k("div", null, V(v.sortOrder), 1)
1528
+ body: b(({ data: S }) => [
1529
+ N("div", null, V(S.sortOrder), 1)
1530
1530
  ]),
1531
1531
  _: 1
1532
1532
  }, 8, ["title"]),
1533
- y(c(Ae), {
1533
+ I(c(Ae), {
1534
1534
  id: "createdDate",
1535
1535
  title: c(o)("ASSETS_MANAGER.TABLE.HEADER.CREATED_DATE"),
1536
1536
  width: "25%",
@@ -1543,14 +1543,14 @@ const Fn = /* @__PURE__ */ $({
1543
1543
  ], 32)), [
1544
1544
  [c(Yt), n.value]
1545
1545
  ]),
1546
- k("input", {
1546
+ N("input", {
1547
1547
  ref_key: "uploader",
1548
1548
  ref: f,
1549
1549
  type: "file",
1550
1550
  hidden: "",
1551
1551
  multiple: "",
1552
1552
  name: "assets_manager",
1553
- onChange: A
1553
+ onChange: _
1554
1554
  }, null, 544)
1555
1555
  ]),
1556
1556
  _: 1
@@ -1592,7 +1592,7 @@ function Ut() {
1592
1592
  function $t() {
1593
1593
  j.remove(ba);
1594
1594
  }
1595
- const Wt = P(!1), Ue = P(0), rt = P(!1), $e = /* @__PURE__ */ new Map(), it = /* @__PURE__ */ new Set(), et = O(() => Ue.value > 0 || rt.value);
1595
+ const Wt = P(!1), Ue = P(0), rt = P(!1), $e = /* @__PURE__ */ new Map(), it = /* @__PURE__ */ new Set(), et = y(() => Ue.value > 0 || rt.value);
1596
1596
  function Kn(e) {
1597
1597
  const t = setTimeout(() => {
1598
1598
  Ue.value++, $e.delete(e), it.add(e);
@@ -1651,11 +1651,11 @@ function jn(e) {
1651
1651
  });
1652
1652
  });
1653
1653
  {
1654
- let r = function(_) {
1655
- const R = typeof _ == "string" ? _ : _ instanceof Request ? _.url : _.toString();
1654
+ let r = function(O) {
1655
+ const R = typeof O == "string" ? O : O instanceof Request ? O.url : O.toString();
1656
1656
  try {
1657
- const I = new URL(R, window.location.origin);
1658
- return I.origin === window.location.origin && I.pathname.startsWith("/api/");
1657
+ const A = new URL(R, window.location.origin);
1658
+ return A.origin === window.location.origin && A.pathname.startsWith("/api/");
1659
1659
  } catch {
1660
1660
  return !1;
1661
1661
  }
@@ -1671,23 +1671,23 @@ function jn(e) {
1671
1671
  let d = !1;
1672
1672
  const w = setTimeout(() => {
1673
1673
  d = !0, g.abort();
1674
- }, 3e4), T = f?.signal, S = () => g.abort();
1675
- T?.aborted ? S() : T && T.addEventListener("abort", S, { once: !0 });
1674
+ }, 3e4), T = f?.signal, v = () => g.abort();
1675
+ T?.aborted ? v() : T && T.addEventListener("abort", v, { once: !0 });
1676
1676
  try {
1677
- const _ = await t(u, {
1677
+ const O = await t(u, {
1678
1678
  ...f || {},
1679
1679
  signal: g.signal
1680
1680
  });
1681
- return _.status === 401 && s.value && a().then(() => {
1681
+ return O.status === 401 && s.value && a().then(() => {
1682
1682
  Yn(e), j.error(
1683
1683
  `Access Denied: Your session has expired or you do not have the necessary permissions.
1684
1684
  Please log in again or contact the administrator for assistance.`
1685
1685
  );
1686
- }), _;
1687
- } catch (_) {
1688
- throw d ? new Error("Request timed out. Please try again.") : _;
1686
+ }), O;
1687
+ } catch (O) {
1688
+ throw d ? new Error("Request timed out. Please try again.") : O;
1689
1689
  } finally {
1690
- l(p), clearTimeout(w), T && T.removeEventListener("abort", S);
1690
+ l(p), clearTimeout(w), T && T.removeEventListener("abort", v);
1691
1691
  }
1692
1692
  }
1693
1693
  }, window.fetch;
@@ -1877,7 +1877,7 @@ function ir() {
1877
1877
  async function l(r) {
1878
1878
  const u = r.position || e.position;
1879
1879
  if (!xt(u)) {
1880
- const p = o(u), { default: g } = await Promise.resolve().then(() => ci), d = go(g, {
1880
+ const p = o(u), { default: g } = await Promise.resolve().then(() => fi), d = go(g, {
1881
1881
  ...r,
1882
1882
  position: u
1883
1883
  // Pass the position to the component
@@ -1990,7 +1990,7 @@ const cr = /* @__PURE__ */ $({
1990
1990
  },
1991
1991
  emits: ["close"],
1992
1992
  setup(e, { emit: t }) {
1993
- const a = e, s = t, { isMobile: o, isDesktop: l } = gs(), i = O(() => a.render === "always" ? !0 : a.render === "mobile" ? o.value : l.value), n = O(() => a.isExpanded && i.value);
1993
+ const a = e, s = t, { isMobile: o, isDesktop: l } = gs(), i = y(() => a.render === "always" ? !0 : a.render === "mobile" ? o.value : l.value), n = y(() => a.isExpanded && i.value);
1994
1994
  function r(u) {
1995
1995
  u || s("close");
1996
1996
  }
@@ -2017,7 +2017,7 @@ const cr = /* @__PURE__ */ $({
2017
2017
  } : void 0
2018
2018
  ]), 1032, ["position", "title", "close-button", "teleport"])) : W(u.$slots, "content", { key: 1 });
2019
2019
  }
2020
- }), hc = cr, ur = { class: "tw-flex tw-flex-row tw-items-center tw-gap-2" }, dr = /* @__PURE__ */ $({
2020
+ }), Ac = cr, ur = { class: "tw-flex tw-flex-row tw-items-center tw-gap-2" }, dr = /* @__PURE__ */ $({
2021
2021
  __name: "external-provider",
2022
2022
  props: {
2023
2023
  logo: {},
@@ -2026,15 +2026,15 @@ const cr = /* @__PURE__ */ $({
2026
2026
  },
2027
2027
  emits: ["signIn"],
2028
2028
  setup(e) {
2029
- const t = e, a = O(() => t.logo && !t.logo.startsWith("data:image") && !t.logo.startsWith("http") ? new URL(t.logo, window.location.origin).toString() : t.logo);
2029
+ const t = e, a = y(() => t.logo && !t.logo.startsWith("data:image") && !t.logo.startsWith("http") ? new URL(t.logo, window.location.origin).toString() : t.logo);
2030
2030
  return (s, o) => (h(), C(c(Q), {
2031
2031
  variant: "secondary",
2032
2032
  class: "vc-external-provider",
2033
2033
  onClick: o[0] || (o[0] = (l) => s.$emit("signIn"))
2034
2034
  }, {
2035
2035
  default: b(() => [
2036
- k("div", ur, [
2037
- y(c(mt), {
2036
+ N("div", ur, [
2037
+ I(c(mt), {
2038
2038
  src: a.value,
2039
2039
  class: "vc-external-provider__icon",
2040
2040
  size: "xxs"
@@ -2052,8 +2052,8 @@ const cr = /* @__PURE__ */ $({
2052
2052
  },
2053
2053
  setup(e) {
2054
2054
  const { signIn: t } = ta();
2055
- return (a, s) => (h(), B("div", fr, [
2056
- (h(!0), B(Y, null, ne(e.providers, (o) => (h(), C(dr, {
2055
+ return (a, s) => (h(), k("div", fr, [
2056
+ (h(!0), k(Y, null, ne(e.providers, (o) => (h(), C(dr, {
2057
2057
  key: o.authenticationType,
2058
2058
  logo: o.logoUrl,
2059
2059
  "display-name": o.displayName,
@@ -2062,13 +2062,26 @@ const cr = /* @__PURE__ */ $({
2062
2062
  }, null, 8, ["logo", "display-name", "authentication-type", "onSignIn"]))), 128))
2063
2063
  ]));
2064
2064
  }
2065
- }), mr = {
2065
+ });
2066
+ function mr(e) {
2067
+ if (!e) return "/";
2068
+ const t = e.trim();
2069
+ return !t.startsWith("/") || t.startsWith("//") ? "/" : t;
2070
+ }
2071
+ function pr(e) {
2072
+ return e.status === 401 ? "The login or password is incorrect." : e.status ? "Authentication error (code: " + e.status + ")." : e.error ? "Authentication error: " + e.error : "The login or password is incorrect.";
2073
+ }
2074
+ function Er(e) {
2075
+ const t = [];
2076
+ return e.confirmPassword !== e.password && t.push({ code: "Repeat-password" }), e.password === e.currentPassword && e.confirmPassword === e.currentPassword && t.push({ code: "Equal-passwords" }), t;
2077
+ }
2078
+ const hr = {
2066
2079
  key: 0,
2067
2080
  class: "vc-login-page__providers"
2068
- }, pr = {
2081
+ }, Sr = {
2069
2082
  key: 0,
2070
2083
  class: "vc-login-page__separator-line"
2071
- }, Er = /* @__PURE__ */ $({
2084
+ }, vr = /* @__PURE__ */ $({
2072
2085
  __name: "Login",
2073
2086
  props: {
2074
2087
  logo: {},
@@ -2082,34 +2095,28 @@ const cr = /* @__PURE__ */ $({
2082
2095
  he(async () => {
2083
2096
  d.value = await p(), w.value = !0;
2084
2097
  });
2085
- const T = O(() => ({
2098
+ const T = y(() => ({
2086
2099
  logo: i.value ? "" : l.value?.logo || a.logo
2087
- })), S = ue({
2100
+ })), v = ue({
2088
2101
  username: "",
2089
2102
  password: ""
2090
- });
2091
- function _(A) {
2092
- if (!A) return "/";
2093
- const N = A.trim();
2094
- return !N.startsWith("/") || N.startsWith("//") ? "/" : N;
2095
- }
2096
- const R = async () => {
2103
+ }), O = async () => {
2097
2104
  if (g.value) {
2098
- if (n.value.error = "", n.value = await r(S.username, S.password), n.value.succeeded && f.value?.passwordExpired) {
2105
+ if (n.value.error = "", n.value = await r(v.username, v.password), n.value.succeeded && f.value?.passwordExpired) {
2099
2106
  await s.push({ name: "ChangePassword" });
2100
2107
  return;
2101
2108
  }
2102
2109
  if (n.value.succeeded) {
2103
- const A = _(localStorage.getItem("redirectAfterLogin"));
2110
+ const A = mr(localStorage.getItem("redirectAfterLogin"));
2104
2111
  localStorage.removeItem("redirectAfterLogin"), await s.push(A);
2105
2112
  return;
2106
2113
  }
2107
- n.value.status === 401 ? n.value.error = "The login or password is incorrect." : n.value.status ? n.value.error = "Authentication error (code: " + n.value.status + ")." : n.value.error ? n.value.error = "Authentication error: " + n.value.error : n.value.error = "The login or password is incorrect.", S.password = "", o("password");
2114
+ n.value.error = pr(n.value), v.password = "", o("password");
2108
2115
  }
2109
- }, I = () => {
2116
+ }, R = () => {
2110
2117
  s.push({ name: "ForgotPassword" });
2111
2118
  };
2112
- return t.debug("Init login-page"), (A, N) => (h(), C(c(Le), {
2119
+ return t.debug("Init login-page"), (A, _) => (h(), C(c(Le), {
2113
2120
  logo: T.value.logo,
2114
2121
  background: e.background,
2115
2122
  title: e.title || A.$t("LOGIN.TITLE"),
@@ -2117,9 +2124,9 @@ const cr = /* @__PURE__ */ $({
2117
2124
  class: "vc-login-page"
2118
2125
  }, {
2119
2126
  default: b(() => [
2120
- d.value && d.value.length ? (h(), B("div", mr, [
2121
- y(gr, { providers: d.value }, null, 8, ["providers"]),
2122
- e.ssoOnly ? F("", !0) : (h(), B("div", pr, V(A.$t("LOGIN.OR")), 1))
2127
+ d.value && d.value.length ? (h(), k("div", hr, [
2128
+ I(gr, { providers: d.value }, null, 8, ["providers"]),
2129
+ e.ssoOnly ? F("", !0) : (h(), k("div", Sr, V(A.$t("LOGIN.OR")), 1))
2123
2130
  ])) : F("", !0),
2124
2131
  e.ssoOnly && w.value && !d.value?.length ? (h(), C(c(me), {
2125
2132
  key: 1,
@@ -2130,78 +2137,78 @@ const cr = /* @__PURE__ */ $({
2130
2137
  ]),
2131
2138
  _: 1
2132
2139
  })) : F("", !0),
2133
- e.ssoOnly ? F("", !0) : (h(), B(Y, { key: 2 }, [
2134
- y(c(Ee), {
2140
+ e.ssoOnly ? F("", !0) : (h(), k(Y, { key: 2 }, [
2141
+ I(c(Ee), {
2135
2142
  class: "tw-gap-5",
2136
- onSubmit: R
2143
+ onSubmit: O
2137
2144
  }, {
2138
2145
  default: b(() => [
2139
- y(c(X), {
2146
+ I(c(X), {
2140
2147
  label: A.$t("LOGIN.FIELDS.LOGIN.LABEL"),
2141
2148
  name: "username",
2142
- "model-value": S.username,
2149
+ "model-value": v.username,
2143
2150
  rules: "required"
2144
2151
  }, {
2145
- default: b(({ errorMessage: U, handleChange: E, errors: m }) => [
2146
- y(c(q), {
2152
+ default: b(({ errorMessage: B, handleChange: U, errors: E }) => [
2153
+ I(c(q), {
2147
2154
  ref: "loginField",
2148
- modelValue: S.username,
2155
+ modelValue: v.username,
2149
2156
  "onUpdate:modelValue": [
2150
- N[0] || (N[0] = (v) => S.username = v),
2151
- E
2157
+ _[0] || (_[0] = (m) => v.username = m),
2158
+ U
2152
2159
  ],
2153
2160
  label: A.$t("LOGIN.FIELDS.LOGIN.LABEL"),
2154
2161
  placeholder: A.$t("LOGIN.FIELDS.LOGIN.PLACEHOLDER"),
2155
2162
  required: "",
2156
- error: !!m.length,
2157
- "error-message": U
2163
+ error: !!E.length,
2164
+ "error-message": B
2158
2165
  }, null, 8, ["modelValue", "label", "placeholder", "error", "error-message", "onUpdate:modelValue"])
2159
2166
  ]),
2160
2167
  _: 1
2161
2168
  }, 8, ["label", "model-value"]),
2162
- y(c(X), {
2169
+ I(c(X), {
2163
2170
  label: A.$t("LOGIN.FIELDS.PASSWORD.LABEL"),
2164
2171
  name: "password",
2165
- "model-value": S.password,
2172
+ "model-value": v.password,
2166
2173
  rules: "required"
2167
2174
  }, {
2168
- default: b(({ errorMessage: U, handleChange: E, errors: m }) => [
2169
- y(c(q), {
2175
+ default: b(({ errorMessage: B, handleChange: U, errors: E }) => [
2176
+ I(c(q), {
2170
2177
  ref: "passwordField",
2171
- modelValue: S.password,
2178
+ modelValue: v.password,
2172
2179
  "onUpdate:modelValue": [
2173
- N[1] || (N[1] = (v) => S.password = v),
2174
- E
2180
+ _[1] || (_[1] = (m) => v.password = m),
2181
+ U
2175
2182
  ],
2176
2183
  label: A.$t("LOGIN.FIELDS.PASSWORD.LABEL"),
2177
2184
  placeholder: A.$t("LOGIN.FIELDS.PASSWORD.PLACEHOLDER"),
2178
2185
  type: "password",
2179
2186
  required: "",
2180
- error: !!m.length,
2181
- "error-message": U,
2182
- onKeyup: Et(R, ["enter"])
2187
+ error: !!E.length,
2188
+ "error-message": B,
2189
+ onKeyup: Et(O, ["enter"])
2183
2190
  }, null, 8, ["modelValue", "label", "placeholder", "error", "error-message", "onUpdate:modelValue"])
2184
2191
  ]),
2185
2192
  _: 1
2186
2193
  }, 8, ["label", "model-value"]),
2187
- y(c(Q), {
2194
+ I(c(Q), {
2188
2195
  variant: "primary",
2189
2196
  class: "tw-w-full",
2190
2197
  icon: "lucide-log-in",
2191
2198
  disabled: !c(g),
2192
2199
  loading: c(u),
2193
- onClick: R
2200
+ onClick: O
2194
2201
  }, {
2195
2202
  default: b(() => [
2196
2203
  G(V(A.$t("LOGIN.BUTTON")), 1)
2197
2204
  ]),
2198
2205
  _: 1
2199
2206
  }, 8, ["disabled", "loading"]),
2200
- y(c(Q), {
2207
+ I(c(Q), {
2201
2208
  variant: "link",
2202
2209
  class: "tw-w-full tw-justify-center",
2203
2210
  type: "button",
2204
- onClick: I
2211
+ onClick: R
2205
2212
  }, {
2206
2213
  default: b(() => [
2207
2214
  G(V(A.$t("LOGIN.FORGOT_PASSWORD_BUTTON")), 1)
@@ -2211,7 +2218,7 @@ const cr = /* @__PURE__ */ $({
2211
2218
  ]),
2212
2219
  _: 1
2213
2220
  }),
2214
- y(c(Co), {
2221
+ I(c(Co), {
2215
2222
  name: "auth:after-form",
2216
2223
  separator: "",
2217
2224
  "separator-class": "tw-border-t tw-border-[color:var(--login-separator)] tw-border-solid tw-pb-5",
@@ -2231,7 +2238,7 @@ const cr = /* @__PURE__ */ $({
2231
2238
  _: 1
2232
2239
  }, 8, ["logo", "background", "title", "subtitle"]));
2233
2240
  }
2234
- }), vc = Er, hr = { class: "tw-text-center" }, vr = { class: "tw-text-center tw-mb-6" }, Sr = { class: "tw-text-sm tw-text-neutrals-600" }, Ar = /* @__PURE__ */ $({
2241
+ }), bc = vr, Ar = { class: "tw-text-center" }, br = { class: "tw-text-center tw-mb-6" }, Tr = { class: "tw-text-sm tw-text-neutrals-600" }, wr = /* @__PURE__ */ $({
2235
2242
  __name: "ForgotPassword",
2236
2243
  props: {
2237
2244
  logo: {},
@@ -2239,7 +2246,7 @@ const cr = /* @__PURE__ */ $({
2239
2246
  composable: { type: Function }
2240
2247
  },
2241
2248
  setup(e) {
2242
- const t = e, a = Ie(), { t: s } = ve({ useScope: "global" });
2249
+ const t = e, a = Ie(), { t: s } = Se({ useScope: "global" });
2243
2250
  de({ validateOnMount: !1 });
2244
2251
  const o = _e(), { uiSettings: l, loading: i } = Re(), n = P(!1), r = P(""), u = P(!1), f = ue({
2245
2252
  loginOrEmail: ""
@@ -2248,40 +2255,40 @@ const cr = /* @__PURE__ */ $({
2248
2255
  if (t.composable && typeof t.composable == "function")
2249
2256
  p = t.composable().forgotPassword;
2250
2257
  else {
2251
- const { requestPasswordReset: S } = ce();
2252
- p = async (_) => {
2253
- await S(_.loginOrEmail);
2258
+ const { requestPasswordReset: v } = ce();
2259
+ p = async (O) => {
2260
+ await v(O.loginOrEmail);
2254
2261
  };
2255
2262
  }
2256
- const g = O(() => ({
2263
+ const g = y(() => ({
2257
2264
  logo: i.value ? "" : l.value?.logo || t.logo
2258
- })), d = O(() => {
2259
- const S = f.loginOrEmail, [_, R] = S.split("@");
2260
- return !_ || !R ? S : `${_.length > 2 ? _[0] + "***" + _[_.length - 1] : _[0] + "***"}@${R}`;
2265
+ })), d = y(() => {
2266
+ const v = f.loginOrEmail, [O, R] = v.split("@");
2267
+ return !O || !R ? v : `${O.length > 2 ? O[0] + "***" + O[O.length - 1] : O[0] + "***"}@${R}`;
2261
2268
  }), w = async () => {
2262
2269
  if (!(!o.value || !p))
2263
2270
  try {
2264
2271
  n.value = !0, r.value = "", await p({ loginOrEmail: f.loginOrEmail }), u.value = !0;
2265
- } catch (S) {
2266
- r.value = S instanceof Error ? S.message : String(S);
2272
+ } catch (v) {
2273
+ r.value = v instanceof Error ? v.message : String(v);
2267
2274
  } finally {
2268
2275
  n.value = !1;
2269
2276
  }
2270
2277
  }, T = () => {
2271
2278
  a.push({ name: "Login" });
2272
2279
  };
2273
- return (S, _) => (h(), C(c(Le), {
2280
+ return (v, O) => (h(), C(c(Le), {
2274
2281
  logo: g.value.logo,
2275
2282
  background: e.background,
2276
2283
  title: u.value ? c(s)("FORGOT_PASSWORD.SUCCESS_TITLE") : c(s)("FORGOT_PASSWORD.TITLE"),
2277
2284
  subtitle: u.value ? void 0 : c(s)("FORGOT_PASSWORD.SUBTITLE")
2278
2285
  }, {
2279
2286
  default: b(() => [
2280
- u.value ? (h(), B(Y, { key: 1 }, [
2281
- k("div", vr, [
2282
- k("p", Sr, V(c(s)("FORGOT_PASSWORD.SUCCESS_TEXT", { email: d.value })), 1)
2287
+ u.value ? (h(), k(Y, { key: 1 }, [
2288
+ N("div", br, [
2289
+ N("p", Tr, V(c(s)("FORGOT_PASSWORD.SUCCESS_TEXT", { email: d.value })), 1)
2283
2290
  ]),
2284
- y(c(Q), {
2291
+ I(c(Q), {
2285
2292
  variant: "primary",
2286
2293
  class: "tw-w-full",
2287
2294
  onClick: T
@@ -2291,34 +2298,34 @@ const cr = /* @__PURE__ */ $({
2291
2298
  ]),
2292
2299
  _: 1
2293
2300
  })
2294
- ], 64)) : (h(), B(Y, { key: 0 }, [
2295
- y(c(Ee), { onSubmit: w }, {
2301
+ ], 64)) : (h(), k(Y, { key: 0 }, [
2302
+ I(c(Ee), { onSubmit: w }, {
2296
2303
  default: b(() => [
2297
- y(c(X), {
2304
+ I(c(X), {
2298
2305
  label: c(s)("FORGOT_PASSWORD.FIELDS.EMAIL.LABEL"),
2299
2306
  name: "loginOrEmail",
2300
2307
  "model-value": f.loginOrEmail,
2301
2308
  rules: "required|email"
2302
2309
  }, {
2303
- default: b(({ errorMessage: R, handleChange: I, errors: A }) => [
2304
- y(c(q), {
2310
+ default: b(({ errorMessage: R, handleChange: A, errors: _ }) => [
2311
+ I(c(q), {
2305
2312
  ref: "emailField",
2306
2313
  modelValue: f.loginOrEmail,
2307
2314
  "onUpdate:modelValue": [
2308
- _[0] || (_[0] = (N) => f.loginOrEmail = N),
2309
- I
2315
+ O[0] || (O[0] = (B) => f.loginOrEmail = B),
2316
+ A
2310
2317
  ],
2311
2318
  class: "tw-mb-6",
2312
2319
  label: c(s)("FORGOT_PASSWORD.FIELDS.EMAIL.LABEL"),
2313
2320
  placeholder: c(s)("FORGOT_PASSWORD.FIELDS.EMAIL.PLACEHOLDER"),
2314
2321
  required: "",
2315
- error: !!A.length,
2322
+ error: !!_.length,
2316
2323
  "error-message": R
2317
2324
  }, null, 8, ["modelValue", "label", "placeholder", "error", "error-message", "onUpdate:modelValue"])
2318
2325
  ]),
2319
2326
  _: 1
2320
2327
  }, 8, ["label", "model-value"]),
2321
- y(c(Q), {
2328
+ I(c(Q), {
2322
2329
  variant: "primary",
2323
2330
  class: "tw-w-full tw-mb-4",
2324
2331
  disabled: !c(o) || n.value,
@@ -2330,8 +2337,8 @@ const cr = /* @__PURE__ */ $({
2330
2337
  ]),
2331
2338
  _: 1
2332
2339
  }, 8, ["disabled", "loading"]),
2333
- k("div", hr, [
2334
- y(c(Q), {
2340
+ N("div", Ar, [
2341
+ I(c(Q), {
2335
2342
  variant: "link",
2336
2343
  icon: "lucide-arrow-left",
2337
2344
  "icon-size": "xs",
@@ -2361,7 +2368,7 @@ const cr = /* @__PURE__ */ $({
2361
2368
  _: 1
2362
2369
  }, 8, ["logo", "background", "title", "subtitle"]));
2363
2370
  }
2364
- }), Sc = Ar, br = /* @__PURE__ */ $({
2371
+ }), Tc = wr, Lr = /* @__PURE__ */ $({
2365
2372
  __name: "ResetPassword",
2366
2373
  props: {
2367
2374
  userId: {},
@@ -2371,7 +2378,7 @@ const cr = /* @__PURE__ */ $({
2371
2378
  background: { default: "/assets/background.jpg" }
2372
2379
  },
2373
2380
  setup(e) {
2374
- const t = e, { validateToken: a, validatePassword: s, resetPasswordByToken: o, signIn: l, loading: i } = ce(), n = Ie(), { t: r } = ve({ useScope: "global" }), { validate: u } = de({ validateOnMount: !1 }), { uiSettings: f, loading: p } = Re(), g = ue({
2381
+ const t = e, { validateToken: a, validatePassword: s, resetPasswordByToken: o, signIn: l, loading: i } = ce(), n = Ie(), { t: r } = Se({ useScope: "global" }), { validate: u } = de({ validateOnMount: !1 }), { uiSettings: f, loading: p } = Re(), g = ue({
2375
2382
  isValid: !1,
2376
2383
  tokenIsValid: !1,
2377
2384
  errors: [],
@@ -2381,26 +2388,26 @@ const cr = /* @__PURE__ */ $({
2381
2388
  he(async () => {
2382
2389
  g.tokenIsValid = await a(t.userId, t.token), g.tokenIsValid || g.errors.push("Invalid-token");
2383
2390
  });
2384
- const d = O(() => i.value || !g.password || !g.confirmPassword || !g.isValid && g.tokenIsValid), w = async () => {
2391
+ const d = y(() => i.value || !g.password || !g.confirmPassword || !g.isValid && g.tokenIsValid), w = async () => {
2385
2392
  if (g.tokenIsValid) {
2386
- const _ = (await s(g.password)).errors;
2387
- g.errors = _?.map((R) => R.code), g.confirmPassword !== g.password && g.errors.push("Repeat-password"), g.isValid = g.errors.length == 0;
2393
+ const O = (await s(g.password)).errors;
2394
+ g.errors = O?.map((R) => R.code), g.confirmPassword !== g.password && g.errors.push("Repeat-password"), g.isValid = g.errors.length == 0;
2388
2395
  }
2389
2396
  }, T = async () => {
2390
- const { valid: _ } = await u();
2391
- if (_) {
2397
+ const { valid: O } = await u();
2398
+ if (O) {
2392
2399
  const R = await o(t.userId, g.password, t.token);
2393
2400
  if (R.succeeded) {
2394
- const I = await l(t.userName, g.password);
2395
- I.succeeded ? n.push("/") : g.errors = "error" in I && [I.error] || [];
2401
+ const A = await l(t.userName, g.password);
2402
+ A.succeeded ? n.push("/") : g.errors = "error" in A && [A.error] || [];
2396
2403
  } else
2397
2404
  g.errors = R.errors;
2398
2405
  }
2399
- }, S = O(() => ({
2406
+ }, v = y(() => ({
2400
2407
  logo: p.value ? "" : f.value?.logo || t.logo
2401
2408
  }));
2402
- return (_, R) => (h(), C(c(Le), {
2403
- logo: S.value.logo,
2409
+ return (O, R) => (h(), C(c(Le), {
2410
+ logo: v.value.logo,
2404
2411
  background: e.background,
2405
2412
  title: c(r)("PASSWORDRESET.TITLE"),
2406
2413
  subtitle: c(r)("PASSWORDRESET.SUBTITLE")
@@ -2410,22 +2417,22 @@ const cr = /* @__PURE__ */ $({
2410
2417
  key: 0,
2411
2418
  active: ""
2412
2419
  })) : F("", !0),
2413
- y(c(Ee), null, {
2420
+ I(c(Ee), null, {
2414
2421
  default: b(() => [
2415
- y(c(X), {
2422
+ I(c(X), {
2416
2423
  label: c(r)("PASSWORDRESET.FIELDS.PASSWORD.LABEL"),
2417
2424
  name: "password",
2418
2425
  "model-value": g.password,
2419
2426
  rules: "required"
2420
2427
  }, {
2421
- default: b(({ field: I, errorMessage: A, handleChange: N, errors: U }) => [
2422
- y(c(q), ae(I, {
2428
+ default: b(({ field: A, errorMessage: _, handleChange: B, errors: U }) => [
2429
+ I(c(q), ae(A, {
2423
2430
  ref: "passwordField",
2424
2431
  modelValue: g.password,
2425
2432
  "onUpdate:modelValue": [
2426
2433
  R[0] || (R[0] = (E) => g.password = E),
2427
2434
  (E) => {
2428
- N(E), w();
2435
+ B(E), w();
2429
2436
  }
2430
2437
  ],
2431
2438
  class: "tw-mb-4",
@@ -2435,25 +2442,25 @@ const cr = /* @__PURE__ */ $({
2435
2442
  disabled: !g.tokenIsValid,
2436
2443
  required: "",
2437
2444
  error: !!U.length,
2438
- "error-message": A
2445
+ "error-message": _
2439
2446
  }), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
2440
2447
  ]),
2441
2448
  _: 1
2442
2449
  }, 8, ["label", "model-value"]),
2443
- y(c(X), {
2450
+ I(c(X), {
2444
2451
  label: c(r)("PASSWORDRESET.FIELDS.CONFIRM_PASSWORD.LABEL"),
2445
2452
  name: "confirm_password",
2446
2453
  "model-value": g.confirmPassword,
2447
2454
  rules: "required"
2448
2455
  }, {
2449
- default: b(({ field: I, errorMessage: A, handleChange: N, errors: U }) => [
2450
- y(c(q), ae(I, {
2456
+ default: b(({ field: A, errorMessage: _, handleChange: B, errors: U }) => [
2457
+ I(c(q), ae(A, {
2451
2458
  ref: "confirmPasswordField",
2452
2459
  modelValue: g.confirmPassword,
2453
2460
  "onUpdate:modelValue": [
2454
2461
  R[1] || (R[1] = (E) => g.confirmPassword = E),
2455
2462
  (E) => {
2456
- N(E), w();
2463
+ B(E), w();
2457
2464
  }
2458
2465
  ],
2459
2466
  class: "tw-mb-6",
@@ -2463,13 +2470,13 @@ const cr = /* @__PURE__ */ $({
2463
2470
  type: "password",
2464
2471
  required: "",
2465
2472
  error: !!U.length,
2466
- "error-message": A,
2473
+ "error-message": _,
2467
2474
  onKeyup: Et(T, ["enter"])
2468
2475
  }), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
2469
2476
  ]),
2470
2477
  _: 1
2471
2478
  }, 8, ["label", "model-value"]),
2472
- y(c(Q), {
2479
+ I(c(Q), {
2473
2480
  variant: "primary",
2474
2481
  class: "tw-w-full",
2475
2482
  disabled: d.value,
@@ -2481,12 +2488,12 @@ const cr = /* @__PURE__ */ $({
2481
2488
  ]),
2482
2489
  _: 1
2483
2490
  }, 8, ["disabled", "loading"]),
2484
- (h(!0), B(Y, null, ne(g.errors, (I) => (h(), C(c(me), {
2485
- key: I,
2491
+ (h(!0), k(Y, null, ne(g.errors, (A) => (h(), C(c(me), {
2492
+ key: A,
2486
2493
  class: "tw-mt-3 tw-text-danger-500"
2487
2494
  }, {
2488
2495
  default: b(() => [
2489
- G(V(c(r)(`PASSWORDRESET.ERRORS.${I}`)), 1)
2496
+ G(V(c(r)(`PASSWORDRESET.ERRORS.${A}`)), 1)
2490
2497
  ]),
2491
2498
  _: 2
2492
2499
  }, 1024))), 128))
@@ -2497,7 +2504,7 @@ const cr = /* @__PURE__ */ $({
2497
2504
  _: 1
2498
2505
  }, 8, ["logo", "background", "title", "subtitle"]));
2499
2506
  }
2500
- }), Ac = br, Tr = /* @__PURE__ */ $({
2507
+ }), wc = Lr, Or = /* @__PURE__ */ $({
2501
2508
  __name: "Invite",
2502
2509
  props: {
2503
2510
  userId: {},
@@ -2508,29 +2515,29 @@ const cr = /* @__PURE__ */ $({
2508
2515
  },
2509
2516
  setup(e) {
2510
2517
  de({ validateOnMount: !1 });
2511
- const t = e, { validateToken: a, validatePassword: s, resetPasswordByToken: o, signIn: l, loading: i } = ce(), n = Ie(), { t: r } = ve({ useScope: "global" }), u = _e(), f = ht(), { uiSettings: p, loading: g } = Re(), d = ue({
2518
+ const t = e, { validateToken: a, validatePassword: s, resetPasswordByToken: o, signIn: l, loading: i } = ce(), n = Ie(), { t: r } = Se({ useScope: "global" }), u = _e(), f = ht(), { uiSettings: p, loading: g } = Re(), d = ue({
2512
2519
  isValid: !1,
2513
2520
  tokenIsValid: !1,
2514
2521
  errors: [],
2515
2522
  password: "",
2516
2523
  confirmPassword: ""
2517
- }), w = O(() => !f.value || !u.value);
2524
+ }), w = y(() => !f.value || !u.value);
2518
2525
  he(async () => {
2519
2526
  d.tokenIsValid = await a(t.userId, t.token), d.tokenIsValid || d.errors.push("Invalid-token");
2520
2527
  });
2521
2528
  const T = async () => {
2522
2529
  if (d.tokenIsValid) {
2523
2530
  const R = (await s(d.password)).errors;
2524
- d.errors = R?.map((I) => I.code), d.confirmPassword && d.confirmPassword !== d.password && d.errors.push("Repeat-password"), d.isValid = d.errors.length == 0 && !w.value;
2531
+ d.errors = R?.map((A) => A.code), d.confirmPassword && d.confirmPassword !== d.password && d.errors.push("Repeat-password"), d.isValid = d.errors.length == 0 && !w.value;
2525
2532
  }
2526
- }, S = async () => {
2533
+ }, v = async () => {
2527
2534
  const R = await o(t.userId, d.password, t.token);
2528
2535
  R.succeeded ? (await l(t.userName, d.password)).succeeded && n.push("/") : d.errors = R.errors;
2529
- }, _ = O(() => ({
2536
+ }, O = y(() => ({
2530
2537
  logo: g.value ? "" : p.value?.logo || t.logo
2531
2538
  }));
2532
- return (R, I) => (h(), C(c(Le), {
2533
- logo: _.value.logo,
2539
+ return (R, A) => (h(), C(c(Le), {
2540
+ logo: O.value.logo,
2534
2541
  background: e.background,
2535
2542
  title: c(r)("INVITATION.TITLE"),
2536
2543
  subtitle: c(r)("INVITATION.SUBTITLE")
@@ -2540,27 +2547,27 @@ const cr = /* @__PURE__ */ $({
2540
2547
  key: 0,
2541
2548
  active: ""
2542
2549
  })) : F("", !0),
2543
- y(c(Ee), null, {
2550
+ I(c(Ee), null, {
2544
2551
  default: b(() => [
2545
- y(c(q), {
2552
+ I(c(q), {
2546
2553
  class: "tw-mb-4",
2547
2554
  label: c(r)("INVITATION.FIELDS.EMAIL.LABEL"),
2548
2555
  "model-value": e.userName,
2549
2556
  name: "username",
2550
2557
  disabled: ""
2551
2558
  }, null, 8, ["label", "model-value"]),
2552
- y(c(X), {
2559
+ I(c(X), {
2553
2560
  label: c(r)("INVITATION.FIELDS.PASSWORD.LABEL"),
2554
2561
  "model-value": d.password,
2555
2562
  rules: "required",
2556
2563
  name: "password"
2557
2564
  }, {
2558
- default: b(({ field: A, errorMessage: N, handleChange: U, errors: E }) => [
2559
- y(c(q), ae(A, {
2565
+ default: b(({ field: _, errorMessage: B, handleChange: U, errors: E }) => [
2566
+ I(c(q), ae(_, {
2560
2567
  ref: "passwordField",
2561
2568
  modelValue: d.password,
2562
2569
  "onUpdate:modelValue": [
2563
- I[0] || (I[0] = (m) => d.password = m),
2570
+ A[0] || (A[0] = (m) => d.password = m),
2564
2571
  (m) => {
2565
2572
  U(m), T();
2566
2573
  }
@@ -2571,24 +2578,24 @@ const cr = /* @__PURE__ */ $({
2571
2578
  type: "password",
2572
2579
  disabled: !d.tokenIsValid,
2573
2580
  error: !!E.length,
2574
- "error-message": N,
2581
+ "error-message": B,
2575
2582
  required: ""
2576
2583
  }), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
2577
2584
  ]),
2578
2585
  _: 1
2579
2586
  }, 8, ["label", "model-value"]),
2580
- y(c(X), {
2587
+ I(c(X), {
2581
2588
  label: c(r)("INVITATION.FIELDS.CONFIRM_PASSWORD.LABEL"),
2582
2589
  "model-value": d.confirmPassword,
2583
2590
  rules: "required",
2584
2591
  name: "confirm_password"
2585
2592
  }, {
2586
- default: b(({ field: A, errorMessage: N, handleChange: U, errors: E }) => [
2587
- y(c(q), ae(A, {
2593
+ default: b(({ field: _, errorMessage: B, handleChange: U, errors: E }) => [
2594
+ I(c(q), ae(_, {
2588
2595
  ref: "confirmPasswordField",
2589
2596
  modelValue: d.confirmPassword,
2590
2597
  "onUpdate:modelValue": [
2591
- I[1] || (I[1] = (m) => d.confirmPassword = m),
2598
+ A[1] || (A[1] = (m) => d.confirmPassword = m),
2592
2599
  (m) => {
2593
2600
  U(m), T();
2594
2601
  }
@@ -2599,31 +2606,31 @@ const cr = /* @__PURE__ */ $({
2599
2606
  disabled: !d.tokenIsValid,
2600
2607
  type: "password",
2601
2608
  error: !!E.length,
2602
- "error-message": N,
2609
+ "error-message": B,
2603
2610
  required: "",
2604
- onKeyup: Et(S, ["enter"])
2611
+ onKeyup: Et(v, ["enter"])
2605
2612
  }), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
2606
2613
  ]),
2607
2614
  _: 1
2608
2615
  }, 8, ["label", "model-value"]),
2609
- y(c(Q), {
2616
+ I(c(Q), {
2610
2617
  variant: "primary",
2611
2618
  class: "tw-w-full",
2612
2619
  disabled: c(i) || !d.isValid || !d.tokenIsValid,
2613
2620
  loading: c(i),
2614
- onClick: S
2621
+ onClick: v
2615
2622
  }, {
2616
2623
  default: b(() => [
2617
2624
  G(V(c(r)("INVITATION.ACCEPT_INVITATION")), 1)
2618
2625
  ]),
2619
2626
  _: 1
2620
2627
  }, 8, ["disabled", "loading"]),
2621
- (h(!0), B(Y, null, ne(d.errors, (A) => (h(), C(c(me), {
2622
- key: A,
2628
+ (h(!0), k(Y, null, ne(d.errors, (_) => (h(), C(c(me), {
2629
+ key: _,
2623
2630
  class: "tw-mt-3 tw-text-danger-500"
2624
2631
  }, {
2625
2632
  default: b(() => [
2626
- G(V(c(r)(`INVITATION.ERRORS.${A}`)), 1)
2633
+ G(V(c(r)(`INVITATION.ERRORS.${_}`)), 1)
2627
2634
  ]),
2628
2635
  _: 2
2629
2636
  }, 1024))), 128))
@@ -2634,10 +2641,10 @@ const cr = /* @__PURE__ */ $({
2634
2641
  _: 1
2635
2642
  }, 8, ["logo", "background", "title", "subtitle"]));
2636
2643
  }
2637
- }), bc = Tr, wr = {
2644
+ }), Lc = Or, yr = {
2638
2645
  key: 0,
2639
2646
  class: "tw-mb-4"
2640
- }, Lr = { class: "tw-flex tw-gap-3" }, Or = /* @__PURE__ */ $({
2647
+ }, _r = { class: "tw-flex tw-gap-3" }, Ir = /* @__PURE__ */ $({
2641
2648
  __name: "ChangePassword",
2642
2649
  props: {
2643
2650
  forced: { type: Boolean },
@@ -2645,7 +2652,7 @@ const cr = /* @__PURE__ */ $({
2645
2652
  background: {}
2646
2653
  },
2647
2654
  setup(e) {
2648
- const t = e, { t: a } = ve({ useScope: "global" }), { changeUserPassword: s, loading: o, validatePassword: l, signOut: i } = ce(), { uiSettings: n, loading: r } = Re(), u = O(() => ({
2655
+ const t = e, { t: a } = Se({ useScope: "global" }), { changeUserPassword: s, loading: o, validatePassword: l, signOut: i } = ce(), { uiSettings: n, loading: r } = Re(), u = y(() => ({
2649
2656
  logo: r.value ? "" : n.value?.logo || t.logo
2650
2657
  }));
2651
2658
  de({ validateOnMount: !1 });
@@ -2655,28 +2662,35 @@ const cr = /* @__PURE__ */ $({
2655
2662
  currentPassword: "",
2656
2663
  password: "",
2657
2664
  confirmPassword: ""
2658
- }), w = O(() => !p.value || !f.value);
2665
+ }), w = y(() => !p.value || !f.value);
2659
2666
  async function T() {
2660
2667
  await i(), await g.push("/login");
2661
2668
  }
2662
- async function S() {
2669
+ async function v() {
2663
2670
  const R = await s(d.currentPassword, d.password);
2664
2671
  R?.succeeded ? await g.push("/") : R?.errors && (d.errors = R?.errors, d.isValid = d.errors.length == 0);
2665
2672
  }
2666
- function _() {
2673
+ function O() {
2667
2674
  ge(async () => {
2668
- (d.password || d.confirmPassword) && (d.errors = (await l(d.password)).errors ?? [], d.confirmPassword !== d.password && d.errors.push({ code: "Repeat-password" }), d.confirmPassword === d.currentPassword && d.password === d.currentPassword && d.errors.push({ code: "Equal-passwords" }), d.isValid = d.errors.length == 0);
2675
+ if (d.password || d.confirmPassword) {
2676
+ const R = (await l(d.password)).errors ?? [], A = Er({
2677
+ password: d.password,
2678
+ confirmPassword: d.confirmPassword,
2679
+ currentPassword: d.currentPassword
2680
+ });
2681
+ d.errors = [...R, ...A], d.isValid = d.errors.length == 0;
2682
+ }
2669
2683
  });
2670
2684
  }
2671
- return (R, I) => (h(), C(c(Le), {
2685
+ return (R, A) => (h(), C(c(Le), {
2672
2686
  logo: u.value.logo,
2673
2687
  background: e.background,
2674
2688
  title: e.forced ? c(a)("COMPONENTS.CHANGE_PASSWORD.TITLE_FORCED") : c(a)("COMPONENTS.CHANGE_PASSWORD.TITLE"),
2675
2689
  subtitle: e.forced ? c(a)("COMPONENTS.CHANGE_PASSWORD.SUBTITLE_FORCED") : void 0
2676
2690
  }, {
2677
2691
  default: b(() => [
2678
- e.forced ? (h(), B("div", wr, [
2679
- y(c(ps), {
2692
+ e.forced ? (h(), k("div", yr, [
2693
+ I(c(ps), {
2680
2694
  variant: "info",
2681
2695
  icon: "lucide-lightbulb",
2682
2696
  "icon-size": "l"
@@ -2687,21 +2701,21 @@ const cr = /* @__PURE__ */ $({
2687
2701
  _: 1
2688
2702
  })
2689
2703
  ])) : F("", !0),
2690
- y(c(Ee), null, {
2704
+ I(c(Ee), null, {
2691
2705
  default: b(() => [
2692
- y(c(X), {
2706
+ I(c(X), {
2693
2707
  label: c(a)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
2694
2708
  name: "current",
2695
2709
  rules: "required|min:6",
2696
2710
  "model-value": d.currentPassword
2697
2711
  }, {
2698
- default: b(({ field: A, errorMessage: N, errors: U }) => [
2699
- y(c(q), ae(A, {
2712
+ default: b(({ field: _, errorMessage: B, errors: U }) => [
2713
+ I(c(q), ae(_, {
2700
2714
  ref: "passwordField",
2701
2715
  modelValue: d.currentPassword,
2702
2716
  "onUpdate:modelValue": [
2703
- I[0] || (I[0] = (E) => d.currentPassword = E),
2704
- _
2717
+ A[0] || (A[0] = (E) => d.currentPassword = E),
2718
+ O
2705
2719
  ],
2706
2720
  class: "tw-mb-4",
2707
2721
  label: c(a)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
@@ -2709,24 +2723,24 @@ const cr = /* @__PURE__ */ $({
2709
2723
  type: "password",
2710
2724
  required: "",
2711
2725
  error: !!U.length,
2712
- "error-message": N
2726
+ "error-message": B
2713
2727
  }), null, 16, ["modelValue", "label", "placeholder", "error", "error-message"])
2714
2728
  ]),
2715
2729
  _: 1
2716
2730
  }, 8, ["label", "model-value"]),
2717
- y(c(X), {
2731
+ I(c(X), {
2718
2732
  label: c(a)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL"),
2719
2733
  name: "new_pass",
2720
2734
  rules: "required|min:6",
2721
2735
  "model-value": d.password
2722
2736
  }, {
2723
- default: b(({ field: A, errorMessage: N, errors: U }) => [
2724
- y(c(q), ae(A, {
2737
+ default: b(({ field: _, errorMessage: B, errors: U }) => [
2738
+ I(c(q), ae(_, {
2725
2739
  ref: "newPasswordField",
2726
2740
  modelValue: d.password,
2727
2741
  "onUpdate:modelValue": [
2728
- I[1] || (I[1] = (E) => d.password = E),
2729
- _
2742
+ A[1] || (A[1] = (E) => d.password = E),
2743
+ O
2730
2744
  ],
2731
2745
  class: "tw-mb-4",
2732
2746
  label: c(a)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL"),
@@ -2734,24 +2748,24 @@ const cr = /* @__PURE__ */ $({
2734
2748
  type: "password",
2735
2749
  required: "",
2736
2750
  error: !!U.length,
2737
- "error-message": N
2751
+ "error-message": B
2738
2752
  }), null, 16, ["modelValue", "label", "placeholder", "error", "error-message"])
2739
2753
  ]),
2740
2754
  _: 1
2741
2755
  }, 8, ["label", "model-value"]),
2742
- y(c(X), {
2756
+ I(c(X), {
2743
2757
  label: c(a)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL"),
2744
2758
  name: "confirm_pass",
2745
2759
  rules: "required|min:6",
2746
2760
  "model-value": d.confirmPassword
2747
2761
  }, {
2748
- default: b(({ field: A, errorMessage: N, errors: U }) => [
2749
- y(c(q), ae(A, {
2762
+ default: b(({ field: _, errorMessage: B, errors: U }) => [
2763
+ I(c(q), ae(_, {
2750
2764
  ref: "confirmPasswordField",
2751
2765
  modelValue: d.confirmPassword,
2752
2766
  "onUpdate:modelValue": [
2753
- I[2] || (I[2] = (E) => d.confirmPassword = E),
2754
- _
2767
+ A[2] || (A[2] = (E) => d.confirmPassword = E),
2768
+ O
2755
2769
  ],
2756
2770
  class: "tw-mb-6",
2757
2771
  label: c(a)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL"),
@@ -2759,13 +2773,13 @@ const cr = /* @__PURE__ */ $({
2759
2773
  type: "password",
2760
2774
  required: "",
2761
2775
  error: !!U.length,
2762
- "error-message": N
2776
+ "error-message": B
2763
2777
  }), null, 16, ["modelValue", "label", "placeholder", "error", "error-message"])
2764
2778
  ]),
2765
2779
  _: 1
2766
2780
  }, 8, ["label", "model-value"]),
2767
- k("div", Lr, [
2768
- y(c(Q), {
2781
+ N("div", _r, [
2782
+ I(c(Q), {
2769
2783
  variant: "secondary",
2770
2784
  class: "tw-flex-1",
2771
2785
  onClick: T
@@ -2775,12 +2789,12 @@ const cr = /* @__PURE__ */ $({
2775
2789
  ]),
2776
2790
  _: 1
2777
2791
  }),
2778
- y(c(Q), {
2792
+ I(c(Q), {
2779
2793
  variant: "primary",
2780
2794
  class: "tw-flex-1",
2781
2795
  disabled: c(o) || !d.isValid || w.value,
2782
2796
  loading: c(o),
2783
- onClick: S
2797
+ onClick: v
2784
2798
  }, {
2785
2799
  default: b(() => [
2786
2800
  G(V(c(a)("COMPONENTS.CHANGE_PASSWORD.SAVE")), 1)
@@ -2788,12 +2802,12 @@ const cr = /* @__PURE__ */ $({
2788
2802
  _: 1
2789
2803
  }, 8, ["disabled", "loading"])
2790
2804
  ]),
2791
- (h(!0), B(Y, null, ne(d.errors, (A, N) => (h(), C(c(me), {
2792
- key: N,
2805
+ (h(!0), k(Y, null, ne(d.errors, (_, B) => (h(), C(c(me), {
2806
+ key: B,
2793
2807
  class: "tw-mt-3 tw-text-danger-500"
2794
2808
  }, {
2795
2809
  default: b(() => [
2796
- G(V(A.code ? c(a)(`COMPONENTS.CHANGE_PASSWORD.ERRORS.${A.code}`) : A), 1)
2810
+ G(V(_.code ? c(a)(`COMPONENTS.CHANGE_PASSWORD.ERRORS.${_.code}`) : _), 1)
2797
2811
  ]),
2798
2812
  _: 2
2799
2813
  }, 1024))), 128))
@@ -2804,7 +2818,7 @@ const cr = /* @__PURE__ */ $({
2804
2818
  _: 1
2805
2819
  }, 8, ["logo", "background", "title", "subtitle"]));
2806
2820
  }
2807
- }), Tc = Or, He = "vc-dashboard-layout";
2821
+ }), Oc = Ir, He = "vc-dashboard-layout";
2808
2822
  function lt(e, t) {
2809
2823
  const a = t ?? e.position;
2810
2824
  return {
@@ -2830,7 +2844,7 @@ function ct(e) {
2830
2844
  }
2831
2845
  };
2832
2846
  }
2833
- function yr(e) {
2847
+ function Rr(e) {
2834
2848
  const t = /* @__PURE__ */ new Map();
2835
2849
  for (const a of e)
2836
2850
  a.id && t.set(a.id, {
@@ -2845,7 +2859,7 @@ function ut() {
2845
2859
  if (!e) return null;
2846
2860
  const t = JSON.parse(e);
2847
2861
  if (Array.isArray(t))
2848
- return yr(t);
2862
+ return Rr(t);
2849
2863
  if (typeof t == "object" && t !== null) {
2850
2864
  const a = /* @__PURE__ */ new Map();
2851
2865
  for (const [s, o] of Object.entries(t))
@@ -2874,14 +2888,14 @@ function Ya(e, t) {
2874
2888
  console.warn("[GridstackAdapter] Failed to save layout to storage:", a);
2875
2889
  }
2876
2890
  }
2877
- function _r() {
2891
+ function Pr() {
2878
2892
  try {
2879
2893
  localStorage.removeItem(He);
2880
2894
  } catch (e) {
2881
2895
  console.warn("[GridstackAdapter] Failed to clear layout storage:", e);
2882
2896
  }
2883
2897
  }
2884
- function Ir(e, t = 12) {
2898
+ function Cr(e, t = 12) {
2885
2899
  const a = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), o = (n, r, u, f) => {
2886
2900
  for (let p = r; p < r + f; p++) {
2887
2901
  const g = s.get(p) || [];
@@ -2927,9 +2941,9 @@ function dt(e, t) {
2927
2941
  s.set(o.id, o.position);
2928
2942
  return s;
2929
2943
  }
2930
- return Ir(e);
2944
+ return Cr(e);
2931
2945
  }
2932
- const Rr = {
2946
+ const Dr = {
2933
2947
  column: 12,
2934
2948
  cellHeight: 80,
2935
2949
  margin: "10px",
@@ -2948,9 +2962,9 @@ const Rr = {
2948
2962
  // Only bottom-right corner
2949
2963
  }
2950
2964
  };
2951
- function Pr(e, t = {}) {
2965
+ function Nr(e, t = {}) {
2952
2966
  const { gridOptions: a = {}, resizable: s = !1, autoSave: o = !0, onLayoutChange: l } = t, i = mo(null), n = P(/* @__PURE__ */ new Map()), r = P(!1), u = P(!1), f = {
2953
- ...Rr,
2967
+ ...Dr,
2954
2968
  ...a,
2955
2969
  disableResize: !s
2956
2970
  }, p = (m) => {
@@ -2958,65 +2972,65 @@ function Pr(e, t = {}) {
2958
2972
  console.warn("[useGridstack] Grid already initialized");
2959
2973
  return;
2960
2974
  }
2961
- const v = ut();
2962
- n.value = dt(e.value, v), i.value = Ao.init(f, m), i.value.on("change", g), i.value.on("added", d), i.value.on("removed", w);
2975
+ const S = ut();
2976
+ n.value = dt(e.value, S), i.value = Ao.init(f, m), i.value.on("change", g), i.value.on("added", d), i.value.on("removed", w);
2963
2977
  const L = e.value.map((D) => {
2964
2978
  const M = n.value.get(D.id);
2965
2979
  return lt(D, M);
2966
2980
  });
2967
2981
  i.value.load(L), r.value = !0;
2968
- }, g = (m, v) => {
2982
+ }, g = (m, S) => {
2969
2983
  if (!u.value) {
2970
- for (const L of v) {
2984
+ for (const L of S) {
2971
2985
  const { id: D, position: M } = ct(L);
2972
2986
  D && n.value.set(D, M);
2973
2987
  }
2974
- n.value = new Map(n.value), l?.(n.value), o && I();
2988
+ n.value = new Map(n.value), l?.(n.value), o && A();
2975
2989
  }
2976
- }, d = (m, v) => {
2977
- for (const L of v) {
2990
+ }, d = (m, S) => {
2991
+ for (const L of S) {
2978
2992
  const { id: D, position: M } = ct(L);
2979
2993
  D && !n.value.has(D) && n.value.set(D, M);
2980
2994
  }
2981
2995
  n.value = new Map(n.value);
2982
- }, w = (m, v) => {
2983
- for (const L of v)
2996
+ }, w = (m, S) => {
2997
+ for (const L of S)
2984
2998
  L.id && n.value.delete(L.id);
2985
2999
  n.value = new Map(n.value);
2986
3000
  }, T = () => {
2987
3001
  i.value && (i.value.off("change"), i.value.off("added"), i.value.off("removed"), i.value.destroy(!1), i.value = null, r.value = !1);
2988
- }, S = (m) => {
3002
+ }, v = (m) => {
2989
3003
  if (!i.value) return;
2990
- const v = n.value.get(m.id) ?? m.position, L = lt(m, v), D = document.querySelector(`[gs-id="${m.id}"]`);
3004
+ const S = n.value.get(m.id) ?? m.position, L = lt(m, S), D = document.querySelector(`[gs-id="${m.id}"]`);
2991
3005
  D && i.value.makeWidget(D, L);
2992
- }, _ = (m) => {
3006
+ }, O = (m) => {
2993
3007
  if (!i.value) return;
2994
- const v = document.querySelector(`[gs-id="${m}"]`);
2995
- v && i.value.removeWidget(v, !1), n.value.delete(m);
2996
- }, R = (m, v) => {
3008
+ const S = document.querySelector(`[gs-id="${m}"]`);
3009
+ S && i.value.removeWidget(S, !1), n.value.delete(m);
3010
+ }, R = (m, S) => {
2997
3011
  if (!i.value) return;
2998
3012
  const L = document.querySelector(`[gs-id="${m}"]`);
2999
- L && (u.value = !0, i.value.update(L, { x: v.x, y: v.y }), n.value.set(m, v), n.value = new Map(n.value), u.value = !1);
3000
- }, I = () => {
3001
- Ya(e.value, n.value);
3013
+ L && (u.value = !0, i.value.update(L, { x: S.x, y: S.y }), n.value.set(m, S), n.value = new Map(n.value), u.value = !1);
3002
3014
  }, A = () => {
3015
+ Ya(e.value, n.value);
3016
+ }, _ = () => {
3003
3017
  const m = ut();
3004
3018
  m && (n.value = dt(e.value, m), U());
3005
- }, N = () => {
3019
+ }, B = () => {
3006
3020
  n.value = /* @__PURE__ */ new Map();
3007
3021
  for (const m of e.value)
3008
3022
  m.position && n.value.set(m.id, { ...m.position });
3009
- U(), I();
3023
+ U(), A();
3010
3024
  }, U = () => {
3011
3025
  if (i.value) {
3012
3026
  u.value = !0, i.value.batchUpdate();
3013
3027
  for (const m of e.value) {
3014
- const v = n.value.get(m.id);
3015
- if (v) {
3028
+ const S = n.value.get(m.id);
3029
+ if (S) {
3016
3030
  const L = document.querySelector(`[gs-id="${m.id}"]`);
3017
3031
  L && i.value.update(L, {
3018
- x: v.x,
3019
- y: v.y
3032
+ x: S.x,
3033
+ y: S.y
3020
3034
  });
3021
3035
  }
3022
3036
  }
@@ -3031,14 +3045,14 @@ function Pr(e, t = {}) {
3031
3045
  };
3032
3046
  return oe(
3033
3047
  e,
3034
- async (m, v) => {
3048
+ async (m, S) => {
3035
3049
  if (!i.value || !r.value) return;
3036
3050
  await ge();
3037
- const L = m.filter((M) => !v?.some((z) => z.id === M.id)), D = v?.filter((M) => !m.some((z) => z.id === M.id)).map((M) => M.id) ?? [];
3051
+ const L = m.filter((M) => !S?.some((z) => z.id === M.id)), D = S?.filter((M) => !m.some((z) => z.id === M.id)).map((M) => M.id) ?? [];
3038
3052
  for (const M of D)
3039
- _(M);
3053
+ O(M);
3040
3054
  for (const M of L)
3041
- S(M);
3055
+ v(M);
3042
3056
  },
3043
3057
  { deep: !1 }
3044
3058
  ), ra(() => {
@@ -3049,25 +3063,25 @@ function Pr(e, t = {}) {
3049
3063
  isInitialized: r,
3050
3064
  initGrid: p,
3051
3065
  destroyGrid: T,
3052
- addWidget: S,
3053
- removeWidget: _,
3066
+ addWidget: v,
3067
+ removeWidget: O,
3054
3068
  updateWidgetPosition: R,
3055
- saveLayout: I,
3056
- loadLayout: A,
3057
- resetToDefaults: N,
3069
+ saveLayout: A,
3070
+ loadLayout: _,
3071
+ resetToDefaults: B,
3058
3072
  batchUpdate: E
3059
3073
  };
3060
3074
  }
3061
- const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-label"], Nr = { class: "grid-stack-item-content" }, kr = {
3075
+ const kr = ["aria-label"], Br = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-label"], Mr = { class: "grid-stack-item-content" }, Vr = {
3062
3076
  key: 0,
3063
3077
  class: "vc-gridstack-dashboard__drag-handle",
3064
3078
  "aria-hidden": "true"
3065
- }, Br = {
3079
+ }, Fr = {
3066
3080
  class: "vc-gridstack-dashboard__live-region",
3067
3081
  role: "status",
3068
3082
  "aria-live": "polite",
3069
3083
  "aria-atomic": "true"
3070
- }, Mr = /* @__PURE__ */ $({
3084
+ }, Ur = /* @__PURE__ */ $({
3071
3085
  __name: "GridstackDashboard",
3072
3086
  props: {
3073
3087
  showDragHandles: { type: Boolean, default: !1 },
@@ -3075,7 +3089,7 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3075
3089
  ariaLabel: { default: "Dashboard widgets. Drag widgets to rearrange." }
3076
3090
  },
3077
3091
  setup(e, { expose: t }) {
3078
- const a = e, s = P(null), o = P(""), l = Es(), i = O(() => l.getWidgets()), { layout: n, isInitialized: r, initGrid: u, saveLayout: f, resetToDefaults: p } = Pr(i, {
3092
+ const a = e, s = P(null), o = P(""), l = Es(), i = y(() => l.getWidgets()), { layout: n, isInitialized: r, initGrid: u, saveLayout: f, resetToDefaults: p } = Nr(i, {
3079
3093
  resizable: a.resizable,
3080
3094
  autoSave: !0,
3081
3095
  gridOptions: {
@@ -3084,11 +3098,11 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3084
3098
  }
3085
3099
  },
3086
3100
  onLayoutChange: (R) => {
3087
- for (const [I, A] of R)
3088
- l.updateWidgetPosition(I, A);
3101
+ for (const [A, _] of R)
3102
+ l.updateWidgetPosition(A, _);
3089
3103
  w("Widget positions updated");
3090
3104
  }
3091
- }), g = (R) => n.value.get(R), d = (R, I) => `${R.name || R.id}, widget ${I + 1} of ${i.value.length}. Drag to reorder.`, w = (R) => {
3105
+ }), g = (R) => n.value.get(R), d = (R, A) => `${R.name || R.id}, widget ${A + 1} of ${i.value.length}. Drag to reorder.`, w = (R) => {
3092
3106
  o.value = R, setTimeout(() => {
3093
3107
  o.value = "";
3094
3108
  }, 1e3);
@@ -3103,81 +3117,81 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3103
3117
  },
3104
3118
  saveLayout: f,
3105
3119
  useBuiltInPositions: () => (p(), !0)
3106
- }), (R, I) => (h(), C(hs, {
3120
+ }), (R, A) => (h(), C(hs, {
3107
3121
  "no-padding": "",
3108
3122
  class: "vc-gridstack-dashboard"
3109
3123
  }, {
3110
3124
  default: b(() => [
3111
- k("div", {
3125
+ N("div", {
3112
3126
  ref_key: "gridRef",
3113
3127
  ref: s,
3114
3128
  class: "grid-stack vc-gridstack-dashboard__grid",
3115
3129
  role: "list",
3116
3130
  "aria-label": e.ariaLabel
3117
3131
  }, [
3118
- (h(!0), B(Y, null, ne(i.value, (A, N) => (h(), B("div", {
3119
- key: A.id,
3132
+ (h(!0), k(Y, null, ne(i.value, (_, B) => (h(), k("div", {
3133
+ key: _.id,
3120
3134
  class: "grid-stack-item",
3121
- "gs-id": A.id,
3122
- "gs-x": g(A.id)?.x ?? A.position?.x ?? 0,
3123
- "gs-y": g(A.id)?.y ?? A.position?.y ?? 0,
3124
- "gs-w": A.size.width,
3125
- "gs-h": A.size.height,
3135
+ "gs-id": _.id,
3136
+ "gs-x": g(_.id)?.x ?? _.position?.x ?? 0,
3137
+ "gs-y": g(_.id)?.y ?? _.position?.y ?? 0,
3138
+ "gs-w": _.size.width,
3139
+ "gs-h": _.size.height,
3126
3140
  "gs-min-w": 2,
3127
3141
  "gs-min-h": 2,
3128
3142
  role: "listitem",
3129
- "aria-label": d(A, N)
3143
+ "aria-label": d(_, B)
3130
3144
  }, [
3131
- k("div", Nr, [
3132
- e.showDragHandles ? (h(), B("div", kr, [...I[0] || (I[0] = [
3133
- k("svg", {
3145
+ N("div", Mr, [
3146
+ e.showDragHandles ? (h(), k("div", Vr, [...A[0] || (A[0] = [
3147
+ N("svg", {
3134
3148
  width: "16",
3135
3149
  height: "16",
3136
3150
  viewBox: "0 0 16 16",
3137
3151
  fill: "currentColor"
3138
3152
  }, [
3139
- k("circle", {
3153
+ N("circle", {
3140
3154
  cx: "5",
3141
3155
  cy: "3",
3142
3156
  r: "1.5"
3143
3157
  }),
3144
- k("circle", {
3158
+ N("circle", {
3145
3159
  cx: "11",
3146
3160
  cy: "3",
3147
3161
  r: "1.5"
3148
3162
  }),
3149
- k("circle", {
3163
+ N("circle", {
3150
3164
  cx: "5",
3151
3165
  cy: "8",
3152
3166
  r: "1.5"
3153
3167
  }),
3154
- k("circle", {
3168
+ N("circle", {
3155
3169
  cx: "11",
3156
3170
  cy: "8",
3157
3171
  r: "1.5"
3158
3172
  }),
3159
- k("circle", {
3173
+ N("circle", {
3160
3174
  cx: "5",
3161
3175
  cy: "13",
3162
3176
  r: "1.5"
3163
3177
  }),
3164
- k("circle", {
3178
+ N("circle", {
3165
3179
  cx: "11",
3166
3180
  cy: "13",
3167
3181
  r: "1.5"
3168
3182
  })
3169
3183
  ], -1)
3170
3184
  ])])) : F("", !0),
3171
- (h(), C(po(A.component), ae({ ref_for: !0 }, A.props || {}, { class: "vc-gridstack-dashboard__widget-content" }), null, 16))
3185
+ (h(), C(po(_.component), ae({ ref_for: !0 }, _.props || {}, { class: "vc-gridstack-dashboard__widget-content" }), null, 16))
3172
3186
  ])
3173
- ], 8, Dr))), 128))
3174
- ], 8, Cr),
3175
- k("div", Br, V(o.value), 1)
3187
+ ], 8, Br))), 128))
3188
+ ], 8, kr),
3189
+ N("div", Fr, V(o.value), 1)
3176
3190
  ]),
3177
3191
  _: 1
3178
3192
  }));
3179
3193
  }
3180
- }), wc = /* @__PURE__ */ $({
3194
+ }), yc = /* @__PURE__ */ $({
3181
3195
  __name: "DraggableDashboard",
3182
3196
  props: {
3183
3197
  showDragHandles: { type: Boolean, default: !1 },
@@ -3197,7 +3211,7 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3197
3211
  a.value?.saveLayout?.();
3198
3212
  },
3199
3213
  useBuiltInPositions: () => a.value?.useBuiltInPositions?.() ?? !1
3200
- }), (n, r) => (h(), C(Mr, {
3214
+ }), (n, r) => (h(), C(Ur, {
3201
3215
  ref_key: "dashboardRef",
3202
3216
  ref: a,
3203
3217
  "show-drag-handles": e.showDragHandles,
@@ -3205,19 +3219,19 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3205
3219
  "aria-label": e.ariaLabel
3206
3220
  }, null, 8, ["show-drag-handles", "resizable", "aria-label"]));
3207
3221
  }
3208
- }), Lc = lt, Oc = ct, yc = ut, _c = Ya, Ic = dt, Rc = _r, Pc = He, Vr = { class: "dashboard-widget-card" }, Fr = { class: "dashboard-widget-card__header" }, Ur = { class: "dashboard-widget-card__header-content" }, $r = {
3222
+ }), _c = lt, Ic = ct, Rc = ut, Pc = Ya, Cc = dt, Dc = Pr, Nc = He, $r = { class: "dashboard-widget-card" }, Wr = { class: "dashboard-widget-card__header" }, Gr = { class: "dashboard-widget-card__header-content" }, xr = {
3209
3223
  key: 0,
3210
3224
  class: "dashboard-widget-card__icon-wrapper"
3211
- }, Wr = { class: "dashboard-widget-card__title" }, Gr = {
3225
+ }, Hr = { class: "dashboard-widget-card__title" }, zr = {
3212
3226
  key: 0,
3213
3227
  class: "dashboard-widget-card__actions"
3214
- }, xr = {
3228
+ }, Kr = {
3215
3229
  key: 0,
3216
3230
  class: "dashboard-widget-card__stats"
3217
- }, Hr = { class: "dashboard-widget-card__body" }, zr = {
3231
+ }, qr = { class: "dashboard-widget-card__body" }, jr = {
3218
3232
  key: 1,
3219
3233
  class: "dashboard-widget-card__footer"
3220
- }, Cc = /* @__PURE__ */ $({
3234
+ }, kc = /* @__PURE__ */ $({
3221
3235
  __name: "dashboard-widget-card",
3222
3236
  props: {
3223
3237
  header: {},
@@ -3226,38 +3240,38 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3226
3240
  },
3227
3241
  setup(e) {
3228
3242
  const t = e;
3229
- return (a, s) => (h(), B("div", Vr, [
3230
- k("div", Fr, [
3243
+ return (a, s) => (h(), k("div", $r, [
3244
+ N("div", Wr, [
3231
3245
  W(a.$slots, "header", {}, () => [
3232
- k("div", Ur, [
3233
- e.icon ? (h(), B("div", $r, [
3234
- y(c(aa), {
3246
+ N("div", Gr, [
3247
+ e.icon ? (h(), k("div", xr, [
3248
+ I(c(aa), {
3235
3249
  class: "dashboard-widget-card__icon",
3236
3250
  icon: e.icon,
3237
3251
  size: "l"
3238
3252
  }, null, 8, ["icon"])
3239
3253
  ])) : F("", !0),
3240
- k("div", Wr, V(t.header), 1)
3254
+ N("div", Hr, V(t.header), 1)
3241
3255
  ])
3242
3256
  ]),
3243
- a.$slots.actions ? (h(), B("div", Gr, [
3257
+ a.$slots.actions ? (h(), k("div", zr, [
3244
3258
  W(a.$slots, "actions")
3245
3259
  ])) : F("", !0)
3246
3260
  ]),
3247
- a.$slots.stats ? (h(), B("div", xr, [
3261
+ a.$slots.stats ? (h(), k("div", Kr, [
3248
3262
  W(a.$slots, "stats")
3249
3263
  ])) : F("", !0),
3250
- ua((h(), B("div", Hr, [
3264
+ ua((h(), k("div", qr, [
3251
3265
  W(a.$slots, "content")
3252
3266
  ])), [
3253
3267
  [c(Yt), e.loading]
3254
3268
  ]),
3255
- a.$slots.footer ? (h(), B("div", zr, [
3269
+ a.$slots.footer ? (h(), k("div", jr, [
3256
3270
  W(a.$slots, "footer")
3257
3271
  ])) : F("", !0)
3258
3272
  ]));
3259
3273
  }
3260
- }), Kr = { class: "dashboard-stat-item" }, qr = { class: "dashboard-stat-item__label" }, Dc = /* @__PURE__ */ $({
3274
+ }), Yr = { class: "dashboard-stat-item" }, Zr = { class: "dashboard-stat-item__label" }, Bc = /* @__PURE__ */ $({
3261
3275
  __name: "dashboard-stat-item",
3262
3276
  props: {
3263
3277
  value: {},
@@ -3265,35 +3279,35 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3265
3279
  variant: {}
3266
3280
  },
3267
3281
  setup(e) {
3268
- return (t, a) => (h(), B("div", Kr, [
3269
- k("div", {
3282
+ return (t, a) => (h(), k("div", Yr, [
3283
+ N("div", {
3270
3284
  class: na(["dashboard-stat-item__value", e.variant ? `dashboard-stat-item__value--${e.variant}` : ""])
3271
3285
  }, V(e.value), 3),
3272
- k("div", qr, V(e.label), 1)
3286
+ N("div", Zr, V(e.label), 1)
3273
3287
  ]));
3274
3288
  }
3275
- }), jr = { class: "tw-divide-y tw-divide-[var(--neutrals-200)]" }, Nc = /* @__PURE__ */ $({
3289
+ }), Xr = { class: "tw-divide-y tw-divide-[var(--neutrals-200)]" }, Mc = /* @__PURE__ */ $({
3276
3290
  __name: "dashboard-feed-list",
3277
3291
  setup(e) {
3278
- return (t, a) => (h(), B("div", jr, [
3292
+ return (t, a) => (h(), k("div", Xr, [
3279
3293
  W(t.$slots, "default")
3280
3294
  ]));
3281
3295
  }
3282
- }), Yr = { class: "tw-flex tw-items-center tw-gap-2.5 tw-min-w-0" }, Zr = {
3296
+ }), Jr = { class: "tw-flex tw-items-center tw-gap-2.5 tw-min-w-0" }, Qr = {
3283
3297
  key: 0,
3284
3298
  class: "tw-flex tw-items-center tw-gap-3 tw-flex-shrink-0 tw-ml-3"
3285
- }, kc = /* @__PURE__ */ $({
3299
+ }, Vc = /* @__PURE__ */ $({
3286
3300
  __name: "dashboard-feed-row",
3287
3301
  emits: ["click"],
3288
3302
  setup(e) {
3289
- return (t, a) => (h(), B("div", {
3303
+ return (t, a) => (h(), k("div", {
3290
3304
  class: "dashboard-feed-row",
3291
3305
  onClick: a[0] || (a[0] = (s) => t.$emit("click"))
3292
3306
  }, [
3293
- k("div", Yr, [
3307
+ N("div", Jr, [
3294
3308
  W(t.$slots, "default")
3295
3309
  ]),
3296
- t.$slots.trailing ? (h(), B("div", Zr, [
3310
+ t.$slots.trailing ? (h(), k("div", Qr, [
3297
3311
  W(t.$slots, "trailing")
3298
3312
  ])) : F("", !0)
3299
3313
  ]));
@@ -3304,14 +3318,14 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3304
3318
  config: {}
3305
3319
  },
3306
3320
  setup(e) {
3307
- const t = e, a = P(), s = O(() => {
3321
+ const t = e, a = P(), s = y(() => {
3308
3322
  const o = {};
3309
3323
  return Object.keys(t.config).forEach((i, n) => {
3310
3324
  const r = t.config[i];
3311
3325
  r.color && (o[`--vis-color${n}`] = r.color);
3312
3326
  }), o;
3313
3327
  });
3314
- return (o, l) => (h(), B("div", {
3328
+ return (o, l) => (h(), k("div", {
3315
3329
  ref_key: "containerRef",
3316
3330
  ref: a,
3317
3331
  class: "dashboard-chart-container",
@@ -3320,59 +3334,59 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3320
3334
  W(o.$slots, "default")
3321
3335
  ], 4));
3322
3336
  }
3323
- }), Xr = { class: "dashboard-chart-tooltip" }, Jr = {
3337
+ }), ei = { class: "dashboard-chart-tooltip" }, ti = {
3324
3338
  key: 0,
3325
3339
  class: "dashboard-chart-tooltip__title"
3326
- }, Qr = { class: "dashboard-chart-tooltip__items" }, ei = { class: "dashboard-chart-tooltip__label" }, ti = { class: "dashboard-chart-tooltip__value" }, Bc = /* @__PURE__ */ $({
3340
+ }, ai = { class: "dashboard-chart-tooltip__items" }, si = { class: "dashboard-chart-tooltip__label" }, oi = { class: "dashboard-chart-tooltip__value" }, Fc = /* @__PURE__ */ $({
3327
3341
  __name: "ChartTooltip",
3328
3342
  props: {
3329
3343
  title: {},
3330
3344
  items: {}
3331
3345
  },
3332
3346
  setup(e) {
3333
- return (t, a) => (h(), B("div", Xr, [
3334
- e.title ? (h(), B("div", Jr, V(e.title), 1)) : F("", !0),
3335
- k("div", Qr, [
3336
- (h(!0), B(Y, null, ne(e.items, (s, o) => (h(), B("div", {
3347
+ return (t, a) => (h(), k("div", ei, [
3348
+ e.title ? (h(), k("div", ti, V(e.title), 1)) : F("", !0),
3349
+ N("div", ai, [
3350
+ (h(!0), k(Y, null, ne(e.items, (s, o) => (h(), k("div", {
3337
3351
  key: o,
3338
3352
  class: "dashboard-chart-tooltip__item"
3339
3353
  }, [
3340
- k("span", {
3354
+ N("span", {
3341
3355
  class: "dashboard-chart-tooltip__indicator",
3342
3356
  style: ye({ background: s.color })
3343
3357
  }, null, 4),
3344
- k("span", ei, V(s.label), 1),
3345
- k("span", ti, V(s.value), 1)
3358
+ N("span", si, V(s.label), 1),
3359
+ N("span", oi, V(s.value), 1)
3346
3360
  ]))), 128))
3347
3361
  ])
3348
3362
  ]));
3349
3363
  }
3350
- }), ai = { class: "dashboard-chart-legend" }, si = { class: "dashboard-chart-legend__label" }, wt = /* @__PURE__ */ $({
3364
+ }), ni = { class: "dashboard-chart-legend" }, ri = { class: "dashboard-chart-legend__label" }, wt = /* @__PURE__ */ $({
3351
3365
  __name: "ChartLegend",
3352
3366
  props: {
3353
3367
  config: {}
3354
3368
  },
3355
3369
  setup(e) {
3356
- return (t, a) => (h(), B("div", ai, [
3357
- (h(!0), B(Y, null, ne(e.config, (s, o) => (h(), B("div", {
3370
+ return (t, a) => (h(), k("div", ni, [
3371
+ (h(!0), k(Y, null, ne(e.config, (s, o) => (h(), k("div", {
3358
3372
  key: o,
3359
3373
  class: "dashboard-chart-legend__item"
3360
3374
  }, [
3361
- k("span", {
3375
+ N("span", {
3362
3376
  class: "dashboard-chart-legend__indicator",
3363
3377
  style: ye({ background: s.color })
3364
3378
  }, null, 4),
3365
- k("span", si, V(s.label), 1)
3379
+ N("span", ri, V(s.label), 1)
3366
3380
  ]))), 128))
3367
3381
  ]));
3368
3382
  }
3369
- }), oi = "var(--primary-500)", Za = "-", ni = {
3383
+ }), ii = "var(--primary-500)", Za = "-", li = {
3370
3384
  "&": "&amp;",
3371
3385
  "<": "&lt;",
3372
3386
  ">": "&gt;",
3373
3387
  '"': "&quot;",
3374
3388
  "'": "&#39;"
3375
- }, Pe = (e) => e == null ? "" : String(e).replace(/[&<>"']/g, (t) => ni[t] ?? t), Be = (e) => {
3389
+ }, Pe = (e) => e == null ? "" : String(e).replace(/[&<>"']/g, (t) => li[t] ?? t), Be = (e) => {
3376
3390
  if (e instanceof Date) {
3377
3391
  const t = e.getTime();
3378
3392
  return Number.isFinite(t) ? t : void 0;
@@ -3417,7 +3431,7 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3417
3431
  const o = Object.keys(e), l = t ? e[t] : void 0, i = typeof a == "number" && Number.isFinite(a) && o[a] ? e[o[a]] : void 0, n = l ?? i;
3418
3432
  return {
3419
3433
  label: n?.label ?? s ?? t ?? "Series",
3420
- color: n?.color ?? oi
3434
+ color: n?.color ?? ii
3421
3435
  };
3422
3436
  }, Ot = ({ title: e, items: t }) => {
3423
3437
  if (!t.length)
@@ -3437,7 +3451,7 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3437
3451
  <div class="dashboard-chart-tooltip__items">${s}</div>
3438
3452
  </div>
3439
3453
  `;
3440
- }, Mc = /* @__PURE__ */ $({
3454
+ }, Uc = /* @__PURE__ */ $({
3441
3455
  __name: "DashboardLineChart",
3442
3456
  props: {
3443
3457
  data: {},
@@ -3458,9 +3472,9 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3458
3472
  yTickFormat: { type: Function, default: void 0 }
3459
3473
  },
3460
3474
  setup(e) {
3461
- const t = e, a = { top: 8, right: 8, bottom: 4, left: 4 }, s = (u) => u[t.xKey], o = O(
3475
+ const t = e, a = { top: 8, right: 8, bottom: 4, left: 4 }, s = (u) => u[t.xKey], o = y(
3462
3476
  () => Xa(t.data, (u) => u[t.xKey], t.rangeStart, t.rangeEnd)
3463
- ), l = O(() => t.yKeys.map((u) => (f) => f[u])), i = O(
3477
+ ), l = y(() => t.yKeys.map((u) => (f) => f[u])), i = y(
3464
3478
  () => t.yKeys.map(
3465
3479
  (u, f) => we({
3466
3480
  config: t.config,
@@ -3491,13 +3505,13 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3491
3505
  };
3492
3506
  return (u, f) => (h(), C(Tt, { config: e.config }, {
3493
3507
  default: b(() => [
3494
- y(c(da), {
3508
+ I(c(da), {
3495
3509
  data: o.value,
3496
3510
  height: e.height,
3497
3511
  margin: a
3498
3512
  }, {
3499
3513
  default: b(() => [
3500
- e.showTooltip ? (h(), C(c(vt), {
3514
+ e.showTooltip ? (h(), C(c(St), {
3501
3515
  key: 0,
3502
3516
  "allow-hover": !0,
3503
3517
  "class-name": "dashboard-chart-tooltip-host",
@@ -3510,7 +3524,7 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3510
3524
  color: i.value,
3511
3525
  template: r
3512
3526
  }, null, 8, ["y", "color"])) : F("", !0),
3513
- (h(!0), B(Y, null, ne(l.value, (p, g) => (h(), C(c(No), {
3527
+ (h(!0), k(Y, null, ne(l.value, (p, g) => (h(), C(c(No), {
3514
3528
  key: g,
3515
3529
  x: s,
3516
3530
  y: p,
@@ -3547,7 +3561,7 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3547
3561
  _: 1
3548
3562
  }, 8, ["config"]));
3549
3563
  }
3550
- }), Vc = /* @__PURE__ */ $({
3564
+ }), $c = /* @__PURE__ */ $({
3551
3565
  __name: "DashboardBarChart",
3552
3566
  props: {
3553
3567
  data: {},
@@ -3568,9 +3582,9 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3568
3582
  yTickFormat: { type: Function, default: void 0 }
3569
3583
  },
3570
3584
  setup(e) {
3571
- const t = e, a = { top: 8, right: 8, bottom: 4, left: 4 }, s = (r) => r[t.xKey], o = O(
3585
+ const t = e, a = { top: 8, right: 8, bottom: 4, left: 4 }, s = (r) => r[t.xKey], o = y(
3572
3586
  () => Xa(t.data, (r) => r[t.xKey], t.rangeStart, t.rangeEnd)
3573
- ), l = O(() => t.yKeys.map((r) => (u) => u[r])), i = O(
3587
+ ), l = y(() => t.yKeys.map((r) => (u) => u[r])), i = y(
3574
3588
  () => t.yKeys.map(
3575
3589
  (r, u) => we({
3576
3590
  config: t.config,
@@ -3579,7 +3593,7 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3579
3593
  fallbackLabel: String(r)
3580
3594
  }).color
3581
3595
  )
3582
- ), n = O(() => ({
3596
+ ), n = y(() => ({
3583
3597
  [ko.bar]: (r, u) => {
3584
3598
  if (!t.yKeys.length || u < 0)
3585
3599
  return null;
@@ -3606,20 +3620,20 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3606
3620
  }));
3607
3621
  return (r, u) => (h(), C(Tt, { config: e.config }, {
3608
3622
  default: b(() => [
3609
- y(c(da), {
3623
+ I(c(da), {
3610
3624
  data: o.value,
3611
3625
  height: e.height,
3612
3626
  margin: a
3613
3627
  }, {
3614
3628
  default: b(() => [
3615
- e.showTooltip ? (h(), C(c(vt), {
3629
+ e.showTooltip ? (h(), C(c(St), {
3616
3630
  key: 0,
3617
3631
  "allow-hover": !0,
3618
3632
  "class-name": "dashboard-chart-tooltip-host",
3619
3633
  "vertical-shift": 8,
3620
3634
  triggers: n.value
3621
3635
  }, null, 8, ["triggers"])) : F("", !0),
3622
- y(c(Bo), {
3636
+ I(c(Bo), {
3623
3637
  x: s,
3624
3638
  y: l.value,
3625
3639
  color: i.value,
@@ -3655,7 +3669,7 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3655
3669
  _: 1
3656
3670
  }, 8, ["config"]));
3657
3671
  }
3658
- }), Fc = /* @__PURE__ */ $({
3672
+ }), Wc = /* @__PURE__ */ $({
3659
3673
  __name: "DashboardDonutChart",
3660
3674
  props: {
3661
3675
  data: {},
@@ -3672,13 +3686,13 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3672
3686
  valueFormat: { type: Function, default: void 0 }
3673
3687
  },
3674
3688
  setup(e) {
3675
- const t = e, a = (n) => n[t.valueKey], s = O(() => Object.keys(t.config)), o = (n, r) => t.colorKey && n[t.colorKey] ? n[t.colorKey] : s.value[r] ? t.config[s.value[r]].color : void 0, l = (n, r) => {
3689
+ const t = e, a = (n) => n[t.valueKey], s = y(() => Object.keys(t.config)), o = (n, r) => t.colorKey && n[t.colorKey] ? n[t.colorKey] : s.value[r] ? t.config[s.value[r]].color : void 0, l = (n, r) => {
3676
3690
  const u = n.label;
3677
3691
  if (typeof u == "string" && u.trim())
3678
3692
  return u;
3679
3693
  const f = s.value[r];
3680
3694
  return f ? t.config[f]?.label ?? f : `Segment ${r + 1}`;
3681
- }, i = O(() => ({
3695
+ }, i = y(() => ({
3682
3696
  [Mo.segment]: (n) => {
3683
3697
  if (!n?.data)
3684
3698
  return;
@@ -3701,12 +3715,12 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3701
3715
  }));
3702
3716
  return (n, r) => (h(), C(Tt, { config: e.config }, {
3703
3717
  default: b(() => [
3704
- y(c(Vo), {
3718
+ I(c(Vo), {
3705
3719
  data: e.data,
3706
3720
  height: e.height
3707
3721
  }, {
3708
3722
  default: b(() => [
3709
- y(c(Fo), {
3723
+ I(c(Fo), {
3710
3724
  value: a,
3711
3725
  color: o,
3712
3726
  "arc-width": e.arcWidth,
@@ -3715,7 +3729,7 @@ const Cr = ["aria-label"], Dr = ["gs-id", "gs-x", "gs-y", "gs-w", "gs-h", "aria-
3715
3729
  "central-label": e.centralLabel,
3716
3730
  "central-sub-label": e.centralSubLabel
3717
3731
  }, null, 8, ["arc-width", "corner-radius", "central-label", "central-sub-label"]),
3718
- e.showTooltip ? (h(), C(c(vt), {
3732
+ e.showTooltip ? (h(), C(c(St), {
3719
3733
  key: 0,
3720
3734
  "allow-hover": !0,
3721
3735
  "class-name": "dashboard-chart-tooltip-host",
@@ -3758,10 +3772,10 @@ function Ht(e, t, a) {
3758
3772
  };
3759
3773
  }
3760
3774
  let Me, Ve;
3761
- function Uc() {
3775
+ function Gc() {
3762
3776
  Me = void 0, Ve = void 0, ft.clear();
3763
3777
  }
3764
- function ri() {
3778
+ function ci() {
3765
3779
  const e = Hs, t = Ks, a = zs;
3766
3780
  if (!e || !t)
3767
3781
  throw new Error(
@@ -3770,10 +3784,10 @@ function ri() {
3770
3784
  const s = xs?.router;
3771
3785
  if (!s)
3772
3786
  throw new Error("[@vc-shell/framework#useBladeNavigation] Vue Router instance is not available.");
3773
- return Me || (Me = O(() => {
3787
+ return Me || (Me = y(() => {
3774
3788
  const o = e.activeBlade.value?.id;
3775
3789
  return e.blades.value.map((l, i) => Ht(l, i, o));
3776
- })), Ve || (Ve = O(() => {
3790
+ })), Ve || (Ve = y(() => {
3777
3791
  const o = e.workspace.value;
3778
3792
  if (o)
3779
3793
  return Ht(o, 0, e.activeBlade.value?.id);
@@ -3786,7 +3800,7 @@ function ri() {
3786
3800
  activeWorkspace: Ve
3787
3801
  };
3788
3802
  }
3789
- function ii(e) {
3803
+ function ui(e) {
3790
3804
  if (!e)
3791
3805
  throw new Error("Blade cannot be null or undefined.");
3792
3806
  if (typeof e == "object" && "name" in e && typeof e.name == "string")
@@ -3794,8 +3808,8 @@ function ii(e) {
3794
3808
  const t = e;
3795
3809
  return t.name || t.__name || "UnknownBlade";
3796
3810
  }
3797
- function $c() {
3798
- const { bladeStack: e, messaging: t, bladeRegistry: a, router: s, blades: o, activeWorkspace: l } = ri(), i = Eo() ? se(Qt, void 0) : void 0, { syncUrlPush: n, syncUrlReplace: r } = js(s, e);
3811
+ function xc() {
3812
+ const { bladeStack: e, messaging: t, bladeRegistry: a, router: s, blades: o, activeWorkspace: l } = ci(), i = Eo() ? se(Qt, void 0) : void 0, { syncUrlPush: n, syncUrlReplace: r } = js(s, e);
3799
3813
  function u() {
3800
3814
  return i ? i.value.id : e.activeBlade.value?.id;
3801
3815
  }
@@ -3806,7 +3820,7 @@ function $c() {
3806
3820
  }
3807
3821
  async function p(E, m) {
3808
3822
  const L = {
3809
- name: ii(E.blade),
3823
+ name: ui(E.blade),
3810
3824
  param: E.param,
3811
3825
  options: E.options,
3812
3826
  onOpen: E.onOpen,
@@ -3828,15 +3842,15 @@ function $c() {
3828
3842
  const m = f(E);
3829
3843
  if (!m)
3830
3844
  return ot.error(`closeBlade: No blade found at index ${E}.`), !1;
3831
- const v = await e.closeBlade(m);
3832
- return v || r(), v;
3845
+ const S = await e.closeBlade(m);
3846
+ return S || r(), S;
3833
3847
  }
3834
3848
  function d() {
3835
3849
  le("goToRoot()");
3836
- const E = s.getRoutes(), m = E.find((D) => D.meta?.root), v = E.find((D) => D.aliasOf?.path === m?.path) || m;
3837
- if (v?.name)
3850
+ const E = s.getRoutes(), m = E.find((D) => D.meta?.root), S = E.find((D) => D.aliasOf?.path === m?.path) || m;
3851
+ if (S?.name)
3838
3852
  return {
3839
- name: v.name,
3853
+ name: S.name,
3840
3854
  params: s.currentRoute.value.params
3841
3855
  };
3842
3856
  const L = qs(s);
@@ -3844,13 +3858,13 @@ function $c() {
3844
3858
  }
3845
3859
  async function w(E, m) {
3846
3860
  le("onParentCall(args, index)", "useBlade().callParent(method, args)");
3847
- let v;
3848
- if (m !== void 0 ? v = f(m) : v = u(), !v) {
3861
+ let S;
3862
+ if (m !== void 0 ? S = f(m) : S = u(), !S) {
3849
3863
  ot.error("onParentCall: Could not determine caller blade.");
3850
3864
  return;
3851
3865
  }
3852
3866
  try {
3853
- const L = await t.callParent(v, E.method, E.args);
3867
+ const L = await t.callParent(S, E.method, E.args);
3854
3868
  typeof E.callback == "function" && E.callback(L);
3855
3869
  } catch (L) {
3856
3870
  ot.error(`onParentCall: Failed to call parent method "${E.method}":`, L);
@@ -3865,46 +3879,46 @@ function $c() {
3865
3879
  }
3866
3880
  e.registerBeforeClose(m, async () => await E() === !1);
3867
3881
  }
3868
- function S(E) {
3882
+ function v(E) {
3869
3883
  return a.getBladeComponent(E);
3870
3884
  }
3871
- function _(E) {
3885
+ function O(E) {
3872
3886
  le("routeResolver", "plugin-v2 handles URL resolution automatically");
3873
3887
  }
3874
3888
  function R(E) {
3875
3889
  le("setNavigationQuery");
3876
3890
  const m = e.workspace.value;
3877
3891
  if (!m) return;
3878
- const v = m.name.toLowerCase(), L = {};
3892
+ const S = m.name.toLowerCase(), L = {};
3879
3893
  for (const [D, M] of Object.entries(E))
3880
- M != null && (L[`${v}_${D}`] = String(M));
3894
+ M != null && (L[`${S}_${D}`] = String(M));
3881
3895
  s.options.history.replace(
3882
3896
  decodeURIComponent(
3883
3897
  `${window.location.hash.substring(1).split("?")[0]}?${new URLSearchParams(L).toString()}`
3884
3898
  )
3885
3899
  );
3886
3900
  }
3887
- function I() {
3901
+ function A() {
3888
3902
  le("getNavigationQuery");
3889
3903
  const E = e.workspace.value;
3890
3904
  if (!E) return;
3891
- const m = E.name.toLowerCase(), v = new URLSearchParams(window.location.hash.split("?")[1] || ""), L = {};
3892
- for (const [D, M] of v.entries())
3905
+ const m = E.name.toLowerCase(), S = new URLSearchParams(window.location.hash.split("?")[1] || ""), L = {};
3906
+ for (const [D, M] of S.entries())
3893
3907
  if (D.startsWith(`${m}_`)) {
3894
3908
  const z = D.replace(`${m}_`, ""), re = Number(M);
3895
3909
  L[z] = isNaN(re) ? M : re;
3896
3910
  }
3897
3911
  return Object.keys(L).length > 0 ? L : void 0;
3898
3912
  }
3899
- function A(E, m) {
3900
- const v = f(E);
3901
- v && e.setBladeError(v, m);
3913
+ function _(E, m) {
3914
+ const S = f(E);
3915
+ S && e.setBladeError(S, m);
3902
3916
  }
3903
- function N(E) {
3917
+ function B(E) {
3904
3918
  const m = f(E);
3905
3919
  m && e.clearBladeError(m);
3906
3920
  }
3907
- const U = O(() => {
3921
+ const U = y(() => {
3908
3922
  if (!i) return;
3909
3923
  const E = i.value;
3910
3924
  return {
@@ -3922,12 +3936,12 @@ function $c() {
3922
3936
  goToRoot: d,
3923
3937
  onParentCall: w,
3924
3938
  onBeforeClose: T,
3925
- resolveBladeByName: S,
3926
- routeResolver: _,
3939
+ resolveBladeByName: v,
3940
+ routeResolver: O,
3927
3941
  setNavigationQuery: R,
3928
- getNavigationQuery: I,
3929
- setBladeError: A,
3930
- clearBladeError: N,
3942
+ getNavigationQuery: A,
3943
+ setBladeError: _,
3944
+ clearBladeError: B,
3931
3945
  currentBladeNavigationData: U
3932
3946
  };
3933
3947
  }
@@ -3944,7 +3958,7 @@ function We(e, t) {
3944
3958
  if (!We(a[l], s[l])) return !1;
3945
3959
  return !0;
3946
3960
  }
3947
- function Wc(e) {
3961
+ function Hc(e) {
3948
3962
  const {
3949
3963
  data: t,
3950
3964
  canSaveOverride: a,
@@ -3960,42 +3974,42 @@ function Wc(e) {
3960
3974
  },
3961
3975
  { deep: !0 }
3962
3976
  );
3963
- const g = P(!1), d = O(() => g.value && p.value), w = O(() => !(!g.value || !n.value.valid || !p.value || a && !a.value));
3977
+ const g = P(!1), d = y(() => g.value && p.value), w = y(() => !(!g.value || !n.value.valid || !p.value || a && !a.value));
3964
3978
  function T() {
3965
3979
  f.value = J(t.value), p.value = !1, g.value = !0;
3966
3980
  }
3967
- function S() {
3981
+ function v() {
3968
3982
  g.value = !0, p.value = !We(t.value, f.value);
3969
3983
  }
3970
- function _() {
3984
+ function O() {
3971
3985
  if (i)
3972
3986
  return i();
3973
3987
  t.value = J(f.value);
3974
3988
  }
3975
3989
  if (o && gn(d), s !== !1) {
3976
- const { onBeforeClose: R } = pt(), { showConfirmation: I } = vs();
3990
+ const { onBeforeClose: R } = pt(), { showConfirmation: A } = Ss();
3977
3991
  R(async () => {
3978
- let A;
3979
- if (typeof s == "object" ? A = s.value && d.value : A = d.value, A) {
3980
- const N = l ? la(l) : "You have unsaved changes. Are you sure you want to leave?";
3981
- return !await I(N);
3992
+ let _;
3993
+ if (typeof s == "object" ? _ = s.value && d.value : _ = d.value, _) {
3994
+ const B = l ? la(l) : "You have unsaved changes. Are you sure you want to leave?";
3995
+ return !await A(B);
3982
3996
  }
3983
3997
  return !1;
3984
3998
  });
3985
3999
  }
3986
4000
  return ia(Ys, { isModified: d, canSave: w }), {
3987
4001
  setBaseline: T,
3988
- markReady: S,
3989
- revert: _,
4002
+ markReady: v,
4003
+ revert: O,
3990
4004
  canSave: w,
3991
4005
  isModified: d,
3992
- isReady: O(() => g.value),
4006
+ isReady: y(() => g.value),
3993
4007
  formMeta: n,
3994
4008
  setFieldError: r,
3995
4009
  errorBag: u
3996
4010
  };
3997
4011
  }
3998
- const De = 14, zt = 3, li = $({
4012
+ const De = 14, zt = 3, di = $({
3999
4013
  name: "NotificationContainer",
4000
4014
  inheritAttrs: !1,
4001
4015
  props: {
@@ -4051,7 +4065,7 @@ const De = 14, zt = 3, li = $({
4051
4065
  }
4052
4066
  },
4053
4067
  setup(e) {
4054
- const { notificationContainers: t, actions: a } = se(Ea), s = O(() => t[e.position].value || []), o = P(!1), l = P(!1);
4068
+ const { notificationContainers: t, actions: a } = se(Ea), s = y(() => t[e.position].value || []), o = P(!1), l = P(!1);
4055
4069
  let i = null;
4056
4070
  function n() {
4057
4071
  i && (clearTimeout(i), i = null), o.value = !0;
@@ -4062,9 +4076,9 @@ const De = 14, zt = 3, li = $({
4062
4076
  }, 200));
4063
4077
  }
4064
4078
  const u = ue(/* @__PURE__ */ new Map());
4065
- function f(T, S) {
4066
- const _ = Math.round(S);
4067
- u.get(T) !== _ && u.set(T, _);
4079
+ function f(T, v) {
4080
+ const O = Math.round(v);
4081
+ u.get(T) !== O && u.set(T, O);
4068
4082
  }
4069
4083
  function p(T) {
4070
4084
  return typeof T == "object" && (!!T?.render || !!T?.setup);
@@ -4075,18 +4089,18 @@ const De = 14, zt = 3, li = $({
4075
4089
  function d() {
4076
4090
  a.clear(), u.clear();
4077
4091
  }
4078
- const w = O(() => (e.position || "top-center").startsWith("top"));
4092
+ const w = y(() => (e.position || "top-center").startsWith("top"));
4079
4093
  return () => {
4080
- const T = s.value, S = T.length, _ = o.value || S <= 1, R = S > 1, I = S > 0 ? T[S - 1].notificationId : void 0, A = I !== void 0 && u.get(I) || 0, N = T.map((m, v) => {
4081
- const L = S - 1 - v;
4094
+ const T = s.value, v = T.length, O = o.value || v <= 1, R = v > 1, A = v > 0 ? T[v - 1].notificationId : void 0, _ = A !== void 0 && u.get(A) || 0, B = T.map((m, S) => {
4095
+ const L = v - 1 - S;
4082
4096
  let D = 0;
4083
- for (let ze = v + 1; ze < S; ze++) {
4097
+ for (let ze = S + 1; ze < v; ze++) {
4084
4098
  const _t = T[ze].notificationId;
4085
4099
  _t !== void 0 && (D += u.get(_t) || 0);
4086
4100
  }
4087
4101
  const M = L * De + D, z = m.notificationId !== void 0 && u.get(m.notificationId) || 0, re = {
4088
4102
  "--toasts-before": L,
4089
- "--z-index": S - L,
4103
+ "--z-index": v - L,
4090
4104
  "--offset": `${M}px`,
4091
4105
  "--initial-height": z ? `${z}px` : "auto"
4092
4106
  }, yt = {
@@ -4095,14 +4109,14 @@ const De = 14, zt = 3, li = $({
4095
4109
  onClose: g,
4096
4110
  onReportHeight: f,
4097
4111
  toastIndex: L,
4098
- toastsCount: S,
4099
- expanded: _,
4112
+ toastsCount: v,
4113
+ expanded: O,
4100
4114
  visibleToasts: zt,
4101
4115
  style: re
4102
4116
  };
4103
4117
  return m.content && p(m.content) ? ie(It, {
4104
4118
  ...yt,
4105
- content: ie(vo(m.content))
4119
+ content: ie(So(m.content))
4106
4120
  }) : ie(It, yt);
4107
4121
  });
4108
4122
  let U = null;
@@ -4115,8 +4129,8 @@ const De = 14, zt = 3, li = $({
4115
4129
  [w.value ? "top" : "bottom"]: "0",
4116
4130
  left: "var(--width, 356px)",
4117
4131
  "margin-left": "8px",
4118
- opacity: _ ? "1" : "0",
4119
- "pointer-events": _ ? "auto" : "none",
4132
+ opacity: O ? "1" : "0",
4133
+ "pointer-events": O ? "auto" : "none",
4120
4134
  transition: "opacity 200ms ease"
4121
4135
  }
4122
4136
  },
@@ -4132,26 +4146,26 @@ const De = 14, zt = 3, li = $({
4132
4146
  ]
4133
4147
  ));
4134
4148
  let E;
4135
- if (_ && S > 1) {
4136
- const m = S - 1;
4137
- let v = 0;
4138
- for (let M = 1; M < S; M++) {
4149
+ if (O && v > 1) {
4150
+ const m = v - 1;
4151
+ let S = 0;
4152
+ for (let M = 1; M < v; M++) {
4139
4153
  const z = T[M].notificationId;
4140
- v += z !== void 0 && u.get(z) || 0;
4154
+ S += z !== void 0 && u.get(z) || 0;
4141
4155
  }
4142
- const L = m * De + v, D = T[0].notificationId !== void 0 && u.get(T[0].notificationId) || 0;
4156
+ const L = m * De + S, D = T[0].notificationId !== void 0 && u.get(T[0].notificationId) || 0;
4143
4157
  E = L + D;
4144
4158
  } else
4145
- E = A + Math.min(S - 1, zt - 1) * De;
4159
+ E = _ + Math.min(v - 1, zt - 1) * De;
4146
4160
  return ie(
4147
4161
  "ol",
4148
4162
  {
4149
4163
  class: "notification__toast-group",
4150
- "data-expanded": String(_),
4164
+ "data-expanded": String(O),
4151
4165
  "data-position": e.position || "top-center",
4152
4166
  "data-y-position": w.value ? "top" : "bottom",
4153
4167
  style: {
4154
- "--front-toast-height": `${A}px`,
4168
+ "--front-toast-height": `${_}px`,
4155
4169
  "--gap": `${De}px`,
4156
4170
  width: "var(--width, 356px)",
4157
4171
  height: `${E}px`
@@ -4165,15 +4179,15 @@ const De = 14, zt = 3, li = $({
4165
4179
  l.value = !1;
4166
4180
  }
4167
4181
  },
4168
- [...N, U]
4182
+ [...B, U]
4169
4183
  );
4170
4184
  };
4171
4185
  }
4172
- }), ci = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4186
+ }), fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4173
4187
  __proto__: null,
4174
- default: li
4188
+ default: di
4175
4189
  }, Symbol.toStringTag, { value: "Module" }));
4176
- function ui(e, t) {
4190
+ function gi(e, t) {
4177
4191
  t.i18n?.locale && (te.global.locale.value = t.i18n.locale), t.i18n?.fallbackLocale && (te.global.fallbackLocale.value = t.i18n.fallbackLocale), e.use(te);
4178
4192
  const a = As();
4179
4193
  e.provide(Zs, a);
@@ -4184,25 +4198,25 @@ function ui(e, t) {
4184
4198
  te.global.mergeLocaleMessage(s(o), l);
4185
4199
  });
4186
4200
  }
4187
- function di(e) {
4201
+ function mi(e) {
4188
4202
  const t = es({
4189
4203
  phone: 480,
4190
4204
  desktop: 1024
4191
4205
  });
4192
4206
  e.config.globalProperties.$isPhone = t.smaller("phone"), e.config.globalProperties.$isTablet = t.between("phone", "desktop"), e.config.globalProperties.$isMobile = t.smaller("desktop"), e.config.globalProperties.$isDesktop = t.greater("desktop"), e.config.globalProperties.$isTouch = "ontouchstart" in window || navigator.maxTouchPoints > 0, e.provide(Xs, e.config.globalProperties.$isPhone), e.provide(Js, e.config.globalProperties.$isTablet), e.provide(Qs, e.config.globalProperties.$isMobile), e.provide(eo, e.config.globalProperties.$isDesktop), e.provide(to, e.config.globalProperties.$isTouch);
4193
4207
  }
4194
- function fi(e) {
4208
+ function pi(e) {
4195
4209
  e.config.globalProperties.pages = [], e.config.globalProperties.bladeRoutes = [], e.provide(ao, e.config.globalProperties.bladeRoutes);
4196
4210
  }
4197
- function gi(e) {
4211
+ function Ei(e) {
4198
4212
  e.provide(Xt, bs()), e.provide(so, Ts()), e.provide(oo, ws()), e.provide(no, Ls()), e.provide(ro, Os()), e.provide(io, Ge());
4199
4213
  const t = ys(e);
4200
4214
  e.provide(Kt, t);
4201
4215
  }
4202
- function mi(e, t) {
4203
- lr(), e.use(Ko, { router: t.router }), e.use(Xo), e.use(Mn), e.use(Wn), e.use(_s, t.signalR), e.use(Go), e.use(So), e.use(Cs, t.aiAgent);
4216
+ function hi(e, t) {
4217
+ lr(), e.use(Ko, { router: t.router }), e.use(Xo), e.use(Mn), e.use(Wn), e.use(_s, t.signalR), e.use(Go), e.use(vo), e.use(Cs, t.aiAgent);
4204
4218
  }
4205
- function pi(e, t) {
4219
+ function Si(e, t) {
4206
4220
  if (!t.applicationInsights?.instrumentationKey) return;
4207
4221
  const a = {
4208
4222
  appInsightsConfig: {
@@ -4217,7 +4231,7 @@ function pi(e, t) {
4217
4231
  };
4218
4232
  e.provide(Is, a);
4219
4233
  }
4220
- function Ei(e, t) {
4234
+ function vi(e, t) {
4221
4235
  if (!t.applicationInsights?.instrumentationKey) return;
4222
4236
  const a = {
4223
4237
  appInsightsConfig: {
@@ -4241,7 +4255,7 @@ function Ei(e, t) {
4241
4255
  });
4242
4256
  });
4243
4257
  }
4244
- function hi(e) {
4258
+ function Ai(e) {
4245
4259
  const t = (a) => {
4246
4260
  let s = {};
4247
4261
  return Object.keys(a.params).length > 0 && (s = Object.fromEntries(Object.entries(a.params).filter(([o]) => o !== "pathMatch"))), s;
@@ -4269,400 +4283,400 @@ function hi(e) {
4269
4283
  } else return !0;
4270
4284
  });
4271
4285
  }
4272
- const Gc = {
4286
+ const zc = {
4273
4287
  install(e, t) {
4274
- Ss().register([{ key: "light", localizationKey: "core.themes.light" }]), window.fetch = jn(t.router), ui(e, t), di(e), fi(e), gi(e), mi(e, t), pi(e, t), tr(e), typeof window < "u" && (e.runWithContext(() => Aa()), e.runWithContext(() => Ta())), hi(t.router), setTimeout(() => {
4275
- performance.mark("vc:deferred-plugins-start"), Ei(e, t), performance.mark("vc:deferred-plugins-done");
4288
+ vs().register([{ key: "light", localizationKey: "core.themes.light" }]), window.fetch = jn(t.router), gi(e, t), mi(e), pi(e), Ei(e), hi(e, t), Si(e, t), tr(e), typeof window < "u" && (e.runWithContext(() => Aa()), e.runWithContext(() => Ta())), Ai(t.router), setTimeout(() => {
4289
+ performance.mark("vc:deferred-plugins-start"), vi(e, t), performance.mark("vc:deferred-plugins-done");
4276
4290
  }, 0);
4277
4291
  }
4278
4292
  };
4279
4293
  export {
4280
- Tg as AI_AGENT_URL_ENV_KEY,
4281
- wg as AiAgentServiceKey,
4282
- Lg as ApiException,
4283
- Og as AppBarMobileButtonsServiceKey,
4294
+ Og as AI_AGENT_URL_ENV_KEY,
4295
+ yg as AiAgentServiceKey,
4296
+ _g as ApiException,
4297
+ Ig as AppBarMobileButtonsServiceKey,
4284
4298
  oo as AppBarWidgetServiceKey,
4285
4299
  Rs as AppInsightsInstanceKey,
4286
4300
  Is as AppInsightsOptionsKey,
4287
- yg as AppRootElementKey,
4288
- _g as AppsClient,
4301
+ Rg as AppRootElementKey,
4302
+ Pg as AppsClient,
4289
4303
  Mn as AssetsDetailsModule,
4290
4304
  Un as AssetsManager,
4291
4305
  Wn as AssetsManagerModule,
4292
- Ig as AuthApiBase,
4293
- Rg as AuthorizationClient,
4294
- Pg as BladeBackButtonKey,
4295
- Cg as BladeBannersKey,
4306
+ Cg as AuthApiBase,
4307
+ Dg as AuthorizationClient,
4308
+ Ng as BladeBackButtonKey,
4309
+ kg as BladeBannersKey,
4296
4310
  ea as BladeContextKey,
4297
- Dg as BladeDataKey,
4311
+ Bg as BladeDataKey,
4298
4312
  Qt as BladeDescriptorKey,
4299
- Ng as BladeError,
4313
+ Mg as BladeError,
4300
4314
  Ys as BladeFormKey,
4301
- kg as BladeLoadingKey,
4302
- Bg as BladeMaximizedKey,
4315
+ Vg as BladeLoadingKey,
4316
+ Fg as BladeMaximizedKey,
4303
4317
  Vs as BladeMessagingKey,
4304
4318
  ao as BladeRoutesKey,
4305
4319
  Bs as BladeStackKey,
4306
- zc as ButtonGroupKey,
4320
+ jc as ButtonGroupKey,
4307
4321
  Jo as COMPONENT_DEFAULTS,
4308
- Kc as CellDate,
4309
- qc as CellDateAgo,
4310
- jc as CellDefault,
4311
- Yc as CellEditableWrapper,
4312
- Zc as CellHtml,
4313
- Xc as CellImage,
4314
- Jc as CellLink,
4315
- Qc as CellMoney,
4316
- eu as CellNumber,
4317
- tu as CellStatus,
4318
- au as CellStatusIcon,
4319
- Mg as ChangeLogClient,
4320
- su as ChangePassword,
4321
- ou as ChangePasswordButton,
4322
- Tc as ChangePasswordPage,
4322
+ Yc as CellDate,
4323
+ Zc as CellDateAgo,
4324
+ Xc as CellDefault,
4325
+ Jc as CellEditableWrapper,
4326
+ Qc as CellHtml,
4327
+ eu as CellImage,
4328
+ tu as CellLink,
4329
+ au as CellMoney,
4330
+ su as CellNumber,
4331
+ ou as CellStatus,
4332
+ nu as CellStatusIcon,
4333
+ Ug as ChangeLogClient,
4334
+ ru as ChangePassword,
4335
+ iu as ChangePasswordButton,
4336
+ Oc as ChangePasswordPage,
4323
4337
  Tt as ChartContainer,
4324
4338
  wt as ChartLegend,
4325
- Bc as ChartTooltip,
4326
- Vg as CloseSettingsMenuKey,
4327
- nu as ColumnCollector,
4328
- Fg as DEFAULT_AI_AGENT_CONFIG,
4329
- Vc as DashboardBarChart,
4330
- Fc as DashboardDonutChart,
4331
- Nc as DashboardFeedList,
4332
- kc as DashboardFeedRow,
4333
- Mc as DashboardLineChart,
4334
- Ug as DashboardServiceKey,
4335
- Dc as DashboardStatItem,
4336
- Cc as DashboardWidgetCard,
4337
- $g as DeveloperToolsClient,
4338
- Wg as DiagnosticsClient,
4339
- ru as DisplayableError,
4340
- wc as DraggableDashboard,
4341
- Gg as DynamicModulesKey,
4342
- xg as DynamicObjectPropertyValueType,
4343
- Hg as DynamicPropertiesClient,
4344
- zg as DynamicPropertyObjectValueValueType,
4345
- Kg as DynamicPropertyValueType,
4346
- qg as DynamicPropertyValueType2,
4347
- jg as EMBEDDED_TO_HOST_MESSAGE_TYPES,
4348
- Yg as EmbeddedModeKey,
4349
- Zg as EntryState,
4350
- iu as ErrorInterceptor,
4339
+ Fc as ChartTooltip,
4340
+ $g as CloseSettingsMenuKey,
4341
+ lu as ColumnCollector,
4342
+ Wg as DEFAULT_AI_AGENT_CONFIG,
4343
+ $c as DashboardBarChart,
4344
+ Wc as DashboardDonutChart,
4345
+ Mc as DashboardFeedList,
4346
+ Vc as DashboardFeedRow,
4347
+ Uc as DashboardLineChart,
4348
+ Gg as DashboardServiceKey,
4349
+ Bc as DashboardStatItem,
4350
+ kc as DashboardWidgetCard,
4351
+ xg as DeveloperToolsClient,
4352
+ Hg as DiagnosticsClient,
4353
+ cu as DisplayableError,
4354
+ yc as DraggableDashboard,
4355
+ zg as DynamicModulesKey,
4356
+ Kg as DynamicObjectPropertyValueType,
4357
+ qg as DynamicPropertiesClient,
4358
+ jg as DynamicPropertyObjectValueValueType,
4359
+ Yg as DynamicPropertyValueType,
4360
+ Zg as DynamicPropertyValueType2,
4361
+ Xg as EMBEDDED_TO_HOST_MESSAGE_TYPES,
4362
+ Jg as EmbeddedModeKey,
4363
+ Qg as EntryState,
4364
+ uu as ErrorInterceptor,
4351
4365
  Co as ExtensionPoint,
4352
- Bm as ExtensionPoints,
4366
+ Fm as ExtensionPoints,
4353
4367
  gr as ExternalProviders,
4354
- Xg as ExternalSignInClient,
4355
- lu as FALLBACK_BLADE_ID,
4356
- Sc as ForgotPassword,
4357
- Jg as FrameworkError,
4358
- Qg as HOST_TO_EMBEDDED_MESSAGE_TYPES,
4368
+ em as ExternalSignInClient,
4369
+ du as FALLBACK_BLADE_ID,
4370
+ Tc as ForgotPassword,
4371
+ tm as FrameworkError,
4372
+ am as HOST_TO_EMBEDDED_MESSAGE_TYPES,
4359
4373
  Jt as InjectionError,
4360
- em as InternalRoutesKey,
4361
- bc as Invite,
4374
+ sm as InternalRoutesKey,
4375
+ Lc as Invite,
4362
4376
  eo as IsDesktopKey,
4363
4377
  Qs as IsMobileKey,
4364
4378
  Xs as IsPhoneKey,
4365
4379
  Js as IsTabletKey,
4366
4380
  to as IsTouchKey,
4367
- tm as JobsClient,
4368
- am as JsonElementValueKind,
4369
- sm as JsonValueKind,
4370
- Pc as LAYOUT_STORAGE_KEY,
4371
- cu as LanguageSelector,
4381
+ om as JobsClient,
4382
+ nm as JsonElementValueKind,
4383
+ rm as JsonValueKind,
4384
+ Nc as LAYOUT_STORAGE_KEY,
4385
+ fu as LanguageSelector,
4372
4386
  Zs as LanguageServiceKey,
4373
- om as LocalizableSettingsClient,
4374
- vc as Login,
4375
- uu as LogoutButton,
4376
- du as MenuBurgerIcon,
4387
+ im as LocalizableSettingsClient,
4388
+ bc as Login,
4389
+ gu as LogoutButton,
4390
+ mu as MenuBurgerIcon,
4377
4391
  no as MenuServiceKey,
4378
- nm as ModuleLoadError,
4379
- rm as ModulesClient,
4380
- im as ModulesLoadErrorKey,
4381
- lm as ModulesReadyKey,
4382
- li as NotificationContainer,
4392
+ lm as ModuleLoadError,
4393
+ cm as ModulesClient,
4394
+ um as ModulesLoadErrorKey,
4395
+ dm as ModulesReadyKey,
4396
+ di as NotificationContainer,
4383
4397
  ts as NotificationContextKey,
4384
- fu as NotificationDropdown,
4398
+ pu as NotificationDropdown,
4385
4399
  io as NotificationStoreKey,
4386
- gu as NotificationTemplate,
4387
- cm as OAuthAppsClient,
4388
- um as ObjectSettingEntryValueType,
4389
- dm as OperationLogOperationType,
4390
- fm as ProgressMessageLevel,
4391
- gm as ProgressMessageLevel2,
4392
- mm as PushNotificationClient,
4393
- pm as RegistrationError,
4394
- Ac as ResetPassword,
4395
- Em as SecurityClient,
4396
- hm as ServiceError,
4400
+ Eu as NotificationTemplate,
4401
+ fm as OAuthAppsClient,
4402
+ gm as ObjectSettingEntryValueType,
4403
+ mm as OperationLogOperationType,
4404
+ pm as ProgressMessageLevel,
4405
+ Em as ProgressMessageLevel2,
4406
+ hm as PushNotificationClient,
4407
+ Sm as RegistrationError,
4408
+ wc as ResetPassword,
4409
+ vm as SecurityClient,
4410
+ Am as ServiceError,
4397
4411
  Ws as SettingClient,
4398
- vm as SettingValueType,
4399
- mu as SettingsMenu,
4400
- pu as SettingsMenuItem,
4412
+ bm as SettingValueType,
4413
+ hu as SettingsMenu,
4414
+ Su as SettingsMenuItem,
4401
4415
  ro as SettingsMenuServiceKey,
4402
- Sm as ShellIndicatorsKey,
4403
- hc as Sidebar,
4404
- Am as SortDirection,
4405
- bm as SortInfoSortDirection,
4406
- Eu as Table,
4407
- hu as TableBody,
4408
- vu as TableCell,
4409
- Su as TableCheckbox,
4410
- Au as TableColumnSwitcher,
4411
- bu as TableEmpty,
4412
- Tu as TableFooter,
4413
- wu as TableGroupRow,
4414
- Lu as TableHead,
4415
- Ou as TableHeader,
4416
- yu as TableRow,
4417
- _u as TableRowActions,
4418
- Iu as TableSearchHeader,
4419
- Ru as TableSelectAllBar,
4420
- Pu as ThemeSelector,
4416
+ Tm as ShellIndicatorsKey,
4417
+ Ac as Sidebar,
4418
+ wm as SortDirection,
4419
+ Lm as SortInfoSortDirection,
4420
+ vu as Table,
4421
+ Au as TableBody,
4422
+ bu as TableCell,
4423
+ Tu as TableCheckbox,
4424
+ wu as TableColumnSwitcher,
4425
+ Lu as TableEmpty,
4426
+ Ou as TableFooter,
4427
+ yu as TableGroupRow,
4428
+ _u as TableHead,
4429
+ Iu as TableHeader,
4430
+ Ru as TableRow,
4431
+ Pu as TableRowActions,
4432
+ Cu as TableSearchHeader,
4433
+ Du as TableSelectAllBar,
4434
+ Nu as ThemeSelector,
4421
4435
  so as ToolbarServiceKey,
4422
- Cu as UserDropdownButton,
4423
- Tm as ValidationError,
4424
- Du as VcAccordion,
4425
- Nu as VcAccordionItem,
4426
- wm as VcAiAgentPanel,
4427
- ku as VcApp,
4428
- Bu as VcAppBarMobileActions,
4429
- Mu as VcAppBarOverlay,
4430
- Vu as VcAppBarWidgetContent,
4431
- Fu as VcAppBarWidgetItem,
4432
- Uu as VcAppBarWidgetsMenu,
4433
- $u as VcAppDesktopLayout,
4434
- Wu as VcAppMenu,
4435
- Gu as VcAppMenuSidebar,
4436
- xu as VcAppMobileLayout,
4437
- Hu as VcAppSidebarCollapseButton,
4438
- zu as VcAppSidebarContent,
4439
- Ku as VcAppSidebarHeader,
4436
+ ku as UserDropdownButton,
4437
+ Om as ValidationError,
4438
+ Bu as VcAccordion,
4439
+ Mu as VcAccordionItem,
4440
+ ym as VcAiAgentPanel,
4441
+ Vu as VcApp,
4442
+ Fu as VcAppBarMobileActions,
4443
+ Uu as VcAppBarOverlay,
4444
+ $u as VcAppBarWidgetContent,
4445
+ Wu as VcAppBarWidgetItem,
4446
+ Gu as VcAppBarWidgetsMenu,
4447
+ xu as VcAppDesktopLayout,
4448
+ Hu as VcAppMenu,
4449
+ zu as VcAppMenuSidebar,
4450
+ Ku as VcAppMobileLayout,
4451
+ qu as VcAppSidebarCollapseButton,
4452
+ ju as VcAppSidebarContent,
4453
+ Yu as VcAppSidebarHeader,
4440
4454
  Le as VcAuthLayout,
4441
- qu as VcBadge,
4455
+ Zu as VcBadge,
4442
4456
  ps as VcBanner,
4443
4457
  jt as VcBlade,
4444
- ju as VcBladeNavigation,
4458
+ Xu as VcBladeNavigation,
4445
4459
  Ko as VcBladeNavigationComponent,
4446
- Yu as VcBladeNavigationV2,
4447
- Zu as VcBladeSlot,
4448
- Xu as VcBreadcrumbs,
4460
+ Ju as VcBladeNavigationV2,
4461
+ Qu as VcBladeSlot,
4462
+ ed as VcBreadcrumbs,
4449
4463
  Q as VcButton,
4450
- Ju as VcButtonGroup,
4451
- Qu as VcCard,
4452
- ed as VcCheckbox,
4453
- td as VcCheckboxGroup,
4454
- ad as VcCol,
4455
- sd as VcColorInput,
4464
+ td as VcButtonGroup,
4465
+ ad as VcCard,
4466
+ sd as VcCheckbox,
4467
+ od as VcCheckboxGroup,
4468
+ nd as VcCol,
4469
+ rd as VcColorInput,
4456
4470
  Ae as VcColumn,
4457
4471
  ls as VcContainer,
4458
4472
  us as VcDataTable,
4459
- od as VcDatePicker,
4460
- nd as VcDropdown,
4461
- rd as VcDropdownItem,
4462
- id as VcDropdownPanel,
4463
- ld as VcDynamicProperty,
4464
- cd as VcEditor,
4473
+ id as VcDatePicker,
4474
+ ld as VcDropdown,
4475
+ cd as VcDropdownItem,
4476
+ ud as VcDropdownPanel,
4477
+ dd as VcDynamicProperty,
4478
+ fd as VcEditor,
4465
4479
  je as VcField,
4466
- ud as VcFileUpload,
4480
+ gd as VcFileUpload,
4467
4481
  Ee as VcForm,
4468
- dd as VcGallery,
4482
+ md as VcGallery,
4469
4483
  me as VcHint,
4470
4484
  aa as VcIcon,
4471
4485
  mt as VcImage,
4472
- fd as VcImageTile,
4473
- gd as VcImageUpload,
4486
+ pd as VcImageTile,
4487
+ Ed as VcImageUpload,
4474
4488
  q as VcInput,
4475
- md as VcInputCurrency,
4476
- pd as VcInputDropdown,
4477
- Ed as VcInputGroup,
4478
- hd as VcLabel,
4479
- vd as VcLanguageSelector,
4480
- Sd as VcLink,
4489
+ hd as VcInputCurrency,
4490
+ Sd as VcInputDropdown,
4491
+ vd as VcInputGroup,
4492
+ Ad as VcLabel,
4493
+ bd as VcLanguageSelector,
4494
+ Td as VcLink,
4481
4495
  Zt as VcLoading,
4482
- Ad as VcMenu,
4483
- bd as VcMenuExpandedKey,
4484
- Td as VcMenuGroup,
4485
- wd as VcMenuItem,
4486
- Ld as VcMultivalue,
4487
- Od as VcPagination,
4496
+ wd as VcMenu,
4497
+ Ld as VcMenuExpandedKey,
4498
+ Od as VcMenuGroup,
4499
+ yd as VcMenuItem,
4500
+ _d as VcMultivalue,
4501
+ Id as VcPagination,
4488
4502
  os as VcPopup,
4489
- yd as VcProgress,
4490
- _d as VcRadioButton,
4491
- Id as VcRadioGroup,
4492
- Rd as VcRating,
4493
- Pd as VcRow,
4494
- Cd as VcScrollableContainer,
4495
- Dd as VcSelect,
4503
+ Rd as VcProgress,
4504
+ Pd as VcRadioButton,
4505
+ Cd as VcRadioGroup,
4506
+ Dd as VcRating,
4507
+ Nd as VcRow,
4508
+ kd as VcScrollableContainer,
4509
+ Bd as VcSelect,
4496
4510
  ms as VcSidebar,
4497
- Nd as VcSkeleton,
4498
- kd as VcSlider,
4499
- Bd as VcStatus,
4500
- Md as VcStatusIcon,
4501
- Vd as VcSwitch,
4502
- Fd as VcTable,
4511
+ Md as VcSkeleton,
4512
+ Vd as VcSlider,
4513
+ Fd as VcStatus,
4514
+ Ud as VcStatusIcon,
4515
+ $d as VcSwitch,
4516
+ Wd as VcTable,
4503
4517
  cs as VcTextarea,
4504
4518
  It as VcToast,
4505
- Ud as VcTooltip,
4506
- $d as VcVideo,
4507
- Wd as VcWidget,
4519
+ Gd as VcTooltip,
4520
+ xd as VcVideo,
4521
+ Hd as VcWidget,
4508
4522
  Gs as WidgetScopeKey,
4509
4523
  Xt as WidgetServiceKey,
4510
4524
  qt as __registerBladeConfig,
4511
- Lm as _createInternalUserLogic,
4512
- Uc as _resetAdapterState,
4513
- Om as _sharedInternalUserLogic,
4514
- Gd as addAppBarWidget,
4515
- xd as addMenuItem,
4516
- Hd as addSettingsMenuItem,
4517
- zd as after,
4525
+ _m as _createInternalUserLogic,
4526
+ Gc as _resetAdapterState,
4527
+ Im as _sharedInternalUserLogic,
4528
+ zd as addAppBarWidget,
4529
+ Kd as addMenuItem,
4530
+ qd as addSettingsMenuItem,
4531
+ jd as after,
4518
4532
  Cs as aiAgentPlugin,
4519
- Kd as autofocus,
4520
- qd as before,
4521
- jd as bigInt,
4522
- Ql as camelToSnake,
4523
- tc as camelize,
4524
- Rc as clearLayoutStorage,
4525
- Yd as convertColorNameToHex,
4526
- Zd as convertMomentFormat,
4527
- ym as createAiAgentToolbarButton,
4528
- oc as createAppModule,
4533
+ Yd as autofocus,
4534
+ Zd as before,
4535
+ Xd as bigInt,
4536
+ ac as camelToSnake,
4537
+ oc as camelize,
4538
+ Dc as clearLayoutStorage,
4539
+ Jd as convertColorNameToHex,
4540
+ Qd as convertMomentFormat,
4541
+ Rm as createAiAgentToolbarButton,
4542
+ ic as createAppModule,
4529
4543
  H as createLogger,
4530
- Gc as default,
4544
+ zc as default,
4531
4545
  At as defineAppModule,
4532
- mc as defineBladeContext,
4533
- Mm as defineExtensionPoint,
4534
- Xd as fileWeight,
4535
- Jd as formatBadgeCount,
4536
- Qd as formatDateRelative,
4537
- ef as formatDateWithPattern,
4538
- Oc as fromGridstackNode,
4546
+ hc as defineBladeContext,
4547
+ Um as defineExtensionPoint,
4548
+ ef as fileWeight,
4549
+ tf as formatBadgeCount,
4550
+ af as formatDateRelative,
4551
+ sf as formatDateWithPattern,
4552
+ Ic as fromGridstackNode,
4539
4553
  ds as generateId,
4540
- tf as getAllBladeConfigs,
4541
- af as getBestThumbnailSize,
4542
- sf as getBladeConfig,
4543
- nc as getComponentDefaults,
4554
+ of as getAllBladeConfigs,
4555
+ nf as getBestThumbnailSize,
4556
+ rf as getBladeConfig,
4557
+ lc as getComponentDefaults,
4544
4558
  ma as getExtensionColor,
4545
4559
  pa as getExtensionLabel,
4546
- of as getMenuBadge,
4547
- nf as getMenuBadges,
4548
- rf as getThumbnailUrl,
4560
+ lf as getMenuBadge,
4561
+ cf as getMenuBadges,
4562
+ uf as getThumbnailUrl,
4549
4563
  te as i18n,
4550
- pc as injectBladeContext,
4551
- _m as isFrameworkError,
4564
+ Sc as injectBladeContext,
4565
+ Pm as isFrameworkError,
4552
4566
  fa as isImage,
4553
- lf as isValidHexColor,
4567
+ df as isValidHexColor,
4554
4568
  Uo as kebabToCamel,
4555
- ec as kebabToPascal,
4556
- cf as languageToCountryMap,
4557
- yc as loadLayoutFromStorage,
4569
+ sc as kebabToPascal,
4570
+ ff as languageToCountryMap,
4571
+ Rc as loadLayoutFromStorage,
4558
4572
  Yt as loading,
4559
- Im as logger,
4560
- Rm as loggers,
4561
- Ic as mergeLayoutWithWidgets,
4562
- uf as mindimensions,
4563
- df as normalizeHexColor,
4573
+ Cm as logger,
4574
+ Dm as loggers,
4575
+ Cc as mergeLayoutWithWidgets,
4576
+ gf as mindimensions,
4577
+ mf as normalizeHexColor,
4564
4578
  j as notification,
4565
4579
  Ne as parseError,
4566
4580
  Go as permissions,
4567
- ff as provideAppBarState,
4568
- gf as provideAppBarWidget,
4569
- mf as provideDashboardService,
4570
- pf as provideLanguages,
4571
- Ef as provideMenuService,
4572
- hf as provideSettingsMenu,
4573
- vf as provideSidebarState,
4574
- Sf as provideToolbarService,
4581
+ pf as provideAppBarState,
4582
+ Ef as provideAppBarWidget,
4583
+ hf as provideDashboardService,
4584
+ Sf as provideLanguages,
4585
+ vf as provideMenuService,
4586
+ Af as provideSettingsMenu,
4587
+ bf as provideSidebarState,
4588
+ Tf as provideToolbarService,
4575
4589
  ga as readableSize,
4576
- Af as registerDashboardWidget,
4577
- bf as registerExternalWidget,
4578
- Tf as registerToolbarItem,
4579
- wf as registerWidget,
4580
- Lf as removeMenuBadge,
4581
- Of as removeRegisteredMenuItem,
4582
- yf as resolveLocale,
4583
- _f as resolveLocaleSync,
4584
- _c as saveLayoutToStorage,
4585
- If as setMenuBadge,
4590
+ wf as registerDashboardWidget,
4591
+ Lf as registerExternalWidget,
4592
+ Of as registerToolbarItem,
4593
+ yf as registerWidget,
4594
+ _f as removeMenuBadge,
4595
+ If as removeRegisteredMenuItem,
4596
+ Rf as resolveLocale,
4597
+ Pf as resolveLocaleSync,
4598
+ Pc as saveLayoutToStorage,
4599
+ Cf as setMenuBadge,
4586
4600
  _s as signalR,
4587
- Rf as stripTenantPrefix,
4588
- Lc as toGridstackWidget,
4589
- Pf as updateSignalRCreatorSymbol,
4590
- Cf as useAdaptiveItems,
4591
- Pm as useAiAgent,
4592
- Ag as useAiAgentContext,
4601
+ Df as stripTenantPrefix,
4602
+ _c as toGridstackWidget,
4603
+ Nf as updateSignalRCreatorSymbol,
4604
+ kf as useAdaptiveItems,
4605
+ Nm as useAiAgent,
4606
+ wg as useAiAgentContext,
4593
4607
  on as useApiClient,
4594
- Df as useAppBarMobileActions,
4595
- Nf as useAppBarState,
4596
- kf as useAppBarWidget,
4597
- Bf as useAppBarWidgets,
4608
+ Bf as useAppBarMobileActions,
4609
+ Mf as useAppBarState,
4610
+ Vf as useAppBarWidget,
4611
+ Ff as useAppBarWidgets,
4598
4612
  Ps as useAppInsights,
4599
- lc as useAssets,
4600
- cc as useAssetsManager,
4613
+ dc as useAssets,
4614
+ fc as useAssetsManager,
4601
4615
  ha as useAsync,
4602
- Mf as useBadge,
4616
+ Uf as useBadge,
4603
4617
  gn as useBeforeUnload,
4604
4618
  pt as useBlade,
4605
- Wc as useBladeForm,
4606
- Vf as useBladeLoading,
4607
- Ff as useBladeMessaging,
4608
- $c as useBladeNavigation,
4609
- ac as useBladeNotifications,
4610
- Cm as useBladeStack,
4611
- fc as useBladeWidgets,
4612
- Uf as useBreadcrumbs,
4613
- $f as useCollapsible,
4614
- Wf as useColumnFilter,
4619
+ Hc as useBladeForm,
4620
+ $f as useBladeLoading,
4621
+ Wf as useBladeMessaging,
4622
+ xc as useBladeNavigation,
4623
+ nc as useBladeNotifications,
4624
+ km as useBladeStack,
4625
+ pc as useBladeWidgets,
4626
+ Gf as useBreadcrumbs,
4627
+ xf as useCollapsible,
4628
+ Hf as useColumnFilter,
4615
4629
  ir as useContainer,
4616
4630
  Es as useDashboard,
4617
- Gf as useDataTablePagination,
4618
- xf as useDataTableSort,
4619
- uc as useDynamicProperties,
4620
- Hf as useErrorHandler,
4621
- Vm as useExtensionPoint,
4622
- zf as useFilterState,
4623
- Kf as useFloatingPosition,
4624
- qf as useFormField,
4625
- rc as useFunctions,
4626
- jf as useGalleryPreview,
4627
- Pr as useGridstack,
4628
- Yf as useImageLoad,
4631
+ zf as useDataTablePagination,
4632
+ Kf as useDataTableSort,
4633
+ gc as useDynamicProperties,
4634
+ qf as useErrorHandler,
4635
+ $m as useExtensionPoint,
4636
+ jf as useFilterState,
4637
+ Yf as useFloatingPosition,
4638
+ Zf as useFormField,
4639
+ cc as useFunctions,
4640
+ Xf as useGalleryPreview,
4641
+ Nr as useGridstack,
4642
+ Jf as useImageLoad,
4629
4643
  sr as useInstance,
4630
- Zf as useLanguages,
4631
- va as useLoading,
4632
- Xf as useMenuActiveState,
4633
- Jf as useMenuExpanded,
4634
- Qf as useMenuService,
4635
- Ec as useModificationTracker,
4636
- sc as useNotificationContext,
4644
+ Qf as useLanguages,
4645
+ Sa as useLoading,
4646
+ eg as useMenuActiveState,
4647
+ tg as useMenuExpanded,
4648
+ ag as useMenuService,
4649
+ vc as useModificationTracker,
4650
+ rc as useNotificationContext,
4637
4651
  Ge as useNotificationStore,
4638
- ic as useNotifications,
4652
+ uc as useNotifications,
4639
4653
  gt as usePermissions,
4640
- vs as usePopup,
4654
+ Ss as usePopup,
4641
4655
  gs as useResponsive,
4642
- eg as useScrollArrows,
4656
+ sg as useScrollArrows,
4643
4657
  Re as useSettings,
4644
- tg as useSettingsMenu,
4645
- ag as useShellBootstrap,
4646
- sg as useShellLifecycle,
4647
- og as useShellNavigation,
4648
- ng as useSidebarState,
4649
- rg as useTableColumnsReorder,
4650
- ig as useTableColumnsResize,
4651
- lg as useTableContext,
4652
- cg as useTableInlineEdit,
4653
- ug as useTableRowGrouping,
4654
- dg as useTableRowReorder,
4655
- fg as useTableSelection,
4656
- gg as useTableSort,
4657
- mg as useTeleportTarget,
4658
- Ss as useTheme,
4659
- pg as useToggleableContent,
4660
- Eg as useToolbar,
4661
- Dm as useUser,
4662
- hg as useVirtualScroll,
4663
- dc as useWebVitals,
4664
- gc as useWidgetTrigger,
4665
- vg as vAutofocus,
4658
+ og as useSettingsMenu,
4659
+ ng as useShellBootstrap,
4660
+ rg as useShellLifecycle,
4661
+ ig as useShellNavigation,
4662
+ lg as useSidebarState,
4663
+ cg as useTableColumnsReorder,
4664
+ ug as useTableColumnsResize,
4665
+ dg as useTableContext,
4666
+ fg as useTableInlineEdit,
4667
+ gg as useTableRowGrouping,
4668
+ mg as useTableRowReorder,
4669
+ pg as useTableSelection,
4670
+ Eg as useTableSort,
4671
+ hg as useTeleportTarget,
4672
+ vs as useTheme,
4673
+ Sg as useToggleableContent,
4674
+ vg as useToolbar,
4675
+ Bm as useUser,
4676
+ Ag as useVirtualScroll,
4677
+ mc as useWebVitals,
4678
+ Ec as useWidgetTrigger,
4679
+ bg as vAutofocus,
4666
4680
  Yt as vLoading,
4667
- Nm as wrapError
4681
+ Mm as wrapError
4668
4682
  };