@vc-shell/framework 2.5.0-pr317.07f1a32 → 2.5.0-pr318.8ac1569

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/ai-agent/index.js +3 -3
  2. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-9mBLzIi1.js +1402 -0
  3. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-9mBLzIi1.js.map +1 -0
  4. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-0llGMIi1.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js} +68 -74
  5. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-0llGMIi1.js.map → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js.map} +1 -1
  6. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-DAp80XnM.js → VcScheduler.vue_vue_type_script_setup_true_lang-BmlVL_rn.js} +3491 -3561
  7. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BmlVL_rn.js.map +1 -0
  8. package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-CX5yXw-b.js → VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js} +1 -1
  9. package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-CX5yXw-b.js.map → VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js.map} +1 -1
  10. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-D2Kl7FBo.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-BCsJG_hk.js} +2 -2
  11. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-D2Kl7FBo.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-BCsJG_hk.js.map} +1 -1
  12. package/dist/chunks/{index-rImb-nAa.js → index-B7RhGTNx.js} +2 -2
  13. package/dist/chunks/{index-rImb-nAa.js.map → index-B7RhGTNx.js.map} +1 -1
  14. package/dist/core/blade-navigation/types/index.d.ts +0 -17
  15. package/dist/core/blade-navigation/types/index.d.ts.map +1 -1
  16. package/dist/core/blade-navigation/utils/urlSync.d.ts +2 -28
  17. package/dist/core/blade-navigation/utils/urlSync.d.ts.map +1 -1
  18. package/dist/core/composables/useBlade/index.d.ts.map +1 -1
  19. package/dist/core/composables/useBladeNavigationAdapter/index.d.ts.map +1 -1
  20. package/dist/dashboard/index.js +1 -1
  21. package/dist/framework.js +855 -854
  22. package/dist/framework.js.map +1 -1
  23. package/dist/shell/_internal/blade-navigation/components/vc-blade-navigation/vc-blade-navigation-new.vue.d.ts.map +1 -1
  24. package/dist/shell/_internal/blade-navigation/plugin-v2.d.ts.map +1 -1
  25. package/dist/tsconfig.tsbuildinfo +1 -1
  26. package/dist/ui/index.js +3 -3
  27. package/package.json +4 -4
  28. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cfv6Pk05.js +0 -1363
  29. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cfv6Pk05.js.map +0 -1
  30. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-DAp80XnM.js.map +0 -1
package/dist/framework.js CHANGED
@@ -1,22 +1,22 @@
1
1
  import { b as Da, c as ya } from "./chunks/vendor-vueuse-core-BFa9je5E.js";
2
- import { t as nt, v as se, w as z, x as X, _ as x, y as Ce, z as Ba, I as Dt, d as $, b as pe, l as Ma, A as ka, C as Va, D as Ua, V as ce, E as Fa, F as Wa, G as Ha, H as Ga, J as xa, K as $a, L as Ka, M as za, N as qa } from "./chunks/VcScheduler.vue_vue_type_style_index_0_lang-CX5yXw-b.js";
3
- import { O as Kl, B as zl, P as ql, Q as Yl, R as jl, S as Zl, T as Xl, U as Jl, W as Ql, a as eu, c as tu, e as au, f as nu, g as su, h as ou, i as ru, j as iu, X as lu, Y as uu, Z as du, $ as cu, a0 as Eu, a1 as fu, a2 as mu, a3 as gu, a4 as Su, a5 as pu, a6 as Au, a7 as Tu, a8 as hu, a9 as Lu, aa as Ou, ab as Ru, p as _u, ac as Iu, ad as vu, ae as wu, af as Cu, ag as bu, ah as Pu, ai as Nu, aj as Du, ak as yu, al as Bu, am as Mu, u as ku, k as Vu, r as Uu, an as Fu, m as Wu, n as Hu, ao as Gu, o as xu, ap as $u, aq as Ku, ar as zu } from "./chunks/VcScheduler.vue_vue_type_style_index_0_lang-CX5yXw-b.js";
4
- import { getCurrentScope as st, onScopeDispose as ot, computed as C, inject as Q, watch as ae, defineComponent as H, openBlock as P, createBlock as D, createSlots as Le, withCtx as A, renderSlot as q, createElementVNode as k, normalizeClass as Ya, createElementBlock as W, Fragment as ne, createVNode as I, unref as i, createTextVNode as M, toDisplayString as y, shallowReactive as ja, ref as N, readonly as Be, onMounted as Oe, onBeforeMount as Za, onBeforeUnmount as Xa, onUnmounted as Ja, provide as yt, toValue as Bt, isRef as Mt, normalizeStyle as kt, createCommentVNode as K, withDirectives as Qa, withModifiers as He, reactive as ie, createApp as en, nextTick as be, renderList as Ue, withKeys as rt, mergeProps as re, getCurrentInstance as tn, warn as an, h as ee, toRaw as nn } from "vue";
5
- import { b5 as fe, b6 as sn, b7 as on, b8 as Vt, b9 as Ge, ba as rn, bb as ln, bc as un, bd as dn, be as cn, ao as En, bf as xe, bg as fn, bh as mn, bi as Ut, Q as Ft, $ as gn, a8 as me, aa as it, a6 as $e, aB as Sn, a0 as pn, av as An, N as Re, ag as Wt, P as Tn, bj as hn, bk as Ln, aC as ft, bl as On, bm as Rn } from "./chunks/VcScheduler.vue_vue_type_script_setup_true_lang-DAp80XnM.js";
6
- import { _ as Yu, a as ju, b as Zu, c as Xu, d as Ju, e as Qu, f as ed, g as td, h as ad, i as nd, j as sd, bn as od, bo as rd, C as id, bp as ld, bq as ud, br as dd, k as cd, bs as Ed, bt as fd, S as md, bu as gd, bv as Sd, l as pd, m as Ad, n as Td, o as hd, p as Ld, q as Od, T as Rd, r as _d, s as Id, t as vd, u as wd, v as Cd, w as bd, x as Pd, bw as Nd, bx as Dd, V as yd, y as Bd, z as Md, A as kd, B as Vd, D as Ud, E as Fd, F as Wd, G as Hd, H as Gd, I as xd, J as $d, K as Kd, L as zd, M as qd, O as Yd, by as jd, by as Zd, bz as Xd, R as Jd, U as Qd, W as ec, X as tc, Y as ac, Z as nc, a1 as sc, a2 as oc, a3 as rc, a4 as ic, a5 as lc, a7 as uc, a9 as dc, ab as cc, ac as Ec, ad as fc, ae as mc, af as gc, ah as Sc, ai as pc, aj as Ac, ak as Tc, al as hc, am as Lc, an as Oc, ap as Rc, aq as _c, ar as Ic, as as vc, at as wc, au as Cc, aw as bc, ax as Pc, ay as Nc, az as Dc, aA as yc, aD as Bc, aE as Mc, bA as kc, aF as Vc, bB as Uc, bC as Fc, bD as Wc, bE as Hc, bF as Gc, bG as xc, bH as $c, bI as Kc, bJ as zc, bK as qc, bL as Yc, bM as jc, bN as Zc, bO as Xc, bP as Jc, bQ as Qc, bR as eE, aG as tE, aH as aE, aI as nE, bS as sE, aJ as oE, aK as rE, bT as iE, bU as lE, aL as uE, aM as dE, aN as cE, aO as EE, bV as fE, aP as mE, aQ as gE, aR as SE, bW as pE, aS as AE, bX as TE, aT as hE, aU as LE, aV as OE, bY as RE, aW as _E, aX as IE, aY as vE, aZ as wE, a_ as CE, a$ as bE, b0 as PE, b1 as NE, b2 as DE, b3 as yE, b4 as BE, aF as ME } from "./chunks/VcScheduler.vue_vue_type_script_setup_true_lang-DAp80XnM.js";
7
- import { _ as _n } from "./chunks/vendor-cypress-signalr-mock-itnm2wpA.js";
8
- import { c as V, b as In, d as vn, i as Qe, S as wn, W as Ht, B as Gt, h as Cn, j as xt, m as bn, k as Pn, l as $t, n as Nn, _ as Dn, L as yn, I as Bn, o as Mn, p as kn, q as Vn, r as Un, s as Fn, T as Wn, t as Hn, v as Gn, w as xn, x as $n } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-0llGMIi1.js";
9
- import { A as VE, y as UE, z as FE, C as WE, D as HE, F as GE, G as xE, H as $E, J as KE, K as zE, e as qE, f as YE, O as jE, P as ZE, Q as XE, R as JE, U as QE, V as ef, X as tf, Y as af, Z as nf, $ as sf, a0 as of, E as rf, a1 as lf, a2 as uf, a3 as df, a4 as cf, a5 as Ef, a6 as ff, a7 as mf, a8 as gf, M as Sf, N as pf, a9 as Af, aa as Tf, ab as hf, ac as Lf, ad as Of, ae as Rf, af as _f, ag as If, a as vf, ah as wf, ai as Cf, aj as bf, ak as Pf, u as Nf, g as Df } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-0llGMIi1.js";
10
- import { H as Kn, L as zn } from "./chunks/vendor-microsoft-signalr-Bgpbb4fW.js";
11
- import { a as qn } from "./chunks/index-rImb-nAa.js";
12
- import { u as Bf } from "./chunks/index-rImb-nAa.js";
13
- import { a as Yn, s as jn, b as Zn, d as Xn, e as Jn, f as lt, g as Qn, h as es, i as ts, j as as } from "./chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cfv6Pk05.js";
14
- import { A as kf, D as Vf, E as Uf, H as Ff, _ as Wf, c as Hf, k as Gf, l as xf, m as $f, n as Kf, o as zf, p as qf, u as Yf, q as jf, r as Zf, t as Xf } from "./chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cfv6Pk05.js";
2
+ import { t as nt, v as oe, w as q, x as X, _ as $, y as be, z as Ba, I as Dt, d as K, b as Ae, l as Ma, A as ka, C as Va, D as Ua, V as Ee, E as Fa, F as Wa, G as Ha, H as Ga, J as xa, K as $a, L as Ka, M as za, N as qa } from "./chunks/VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js";
3
+ import { O as Kl, B as zl, P as ql, Q as Yl, R as jl, S as Zl, T as Xl, U as Jl, W as Ql, a as eu, c as tu, e as au, f as nu, g as su, h as ou, i as ru, j as iu, X as lu, Y as uu, Z as du, $ as cu, a0 as Eu, a1 as fu, a2 as mu, a3 as gu, a4 as Su, a5 as pu, a6 as Au, a7 as Tu, a8 as hu, a9 as Lu, aa as Ou, ab as Ru, p as _u, ac as Iu, ad as vu, ae as wu, af as Cu, ag as bu, ah as Pu, ai as Nu, aj as Du, ak as yu, al as Bu, am as Mu, u as ku, k as Vu, r as Uu, an as Fu, m as Wu, n as Hu, ao as Gu, o as xu, ap as $u, aq as Ku, ar as zu } from "./chunks/VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js";
4
+ import { getCurrentScope as st, onScopeDispose as ot, computed as w, inject as Q, watch as ne, defineComponent as G, openBlock as C, createBlock as D, createSlots as Oe, withCtx as A, renderSlot as Y, createElementVNode as V, normalizeClass as Ya, createElementBlock as H, Fragment as se, createVNode as _, unref as i, createTextVNode as k, toDisplayString as B, shallowReactive as ja, ref as b, readonly as Me, onMounted as Re, onBeforeMount as Za, onBeforeUnmount as Xa, onUnmounted as Ja, provide as yt, toValue as Bt, isRef as Mt, normalizeStyle as kt, createCommentVNode as z, withDirectives as Qa, withModifiers as He, reactive as le, createApp as en, nextTick as Pe, renderList as Fe, withKeys as rt, mergeProps as ie, getCurrentInstance as tn, warn as an, h as te, toRaw as nn } from "vue";
5
+ import { b5 as me, b6 as sn, b7 as on, b8 as Vt, b9 as Ge, ba as rn, bb as ln, ao as un, bc as xe, bd as dn, be as cn, bf as Ut, Q as Ft, $ as En, a8 as ge, aa as it, a6 as $e, aB as fn, a0 as mn, av as gn, N as _e, ag as Wt, P as Sn, bg as pn, aC as ft, bh as An, bi as Tn } from "./chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BmlVL_rn.js";
6
+ import { _ as Yu, a as ju, b as Zu, c as Xu, d as Ju, e as Qu, f as ed, g as td, h as ad, i as nd, j as sd, bj as od, bk as rd, C as id, bl as ld, bm as ud, bn as dd, k as cd, bo as Ed, bp as fd, S as md, bq as gd, br as Sd, l as pd, m as Ad, n as Td, o as hd, p as Ld, q as Od, T as Rd, r as _d, s as Id, t as vd, u as wd, v as Cd, w as bd, x as Pd, bs as Nd, bt as Dd, V as yd, y as Bd, z as Md, A as kd, B as Vd, D as Ud, E as Fd, F as Wd, G as Hd, H as Gd, I as xd, J as $d, K as Kd, L as zd, M as qd, O as Yd, bu as jd, bu as Zd, bv as Xd, R as Jd, U as Qd, W as ec, X as tc, Y as ac, Z as nc, a1 as sc, a2 as oc, a3 as rc, a4 as ic, a5 as lc, a7 as uc, a9 as dc, ab as cc, ac as Ec, ad as fc, ae as mc, af as gc, ah as Sc, ai as pc, aj as Ac, ak as Tc, al as hc, am as Lc, an as Oc, ap as Rc, aq as _c, ar as Ic, as as vc, at as wc, au as Cc, aw as bc, ax as Pc, ay as Nc, az as Dc, aA as yc, aD as Bc, aE as Mc, bw as kc, aF as Vc, bx as Uc, by as Fc, bz as Wc, bA as Hc, bB as Gc, bC as xc, bD as $c, bE as Kc, bF as zc, bG as qc, bH as Yc, bI as jc, bJ as Zc, bK as Xc, bL as Jc, bM as Qc, bN as eE, aG as tE, aH as aE, aI as nE, bO as sE, aJ as oE, aK as rE, bP as iE, bQ as lE, aL as uE, aM as dE, aN as cE, aO as EE, bR as fE, aP as mE, aQ as gE, aR as SE, bS as pE, aS as AE, bT as TE, aT as hE, aU as LE, aV as OE, bU as RE, aW as _E, aX as IE, aY as vE, aZ as wE, a_ as CE, a$ as bE, b0 as PE, b1 as NE, b2 as DE, b3 as yE, b4 as BE, aF as ME } from "./chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BmlVL_rn.js";
7
+ import { _ as hn } from "./chunks/vendor-cypress-signalr-mock-itnm2wpA.js";
8
+ import { c as U, b as Ln, d as On, i as Qe, S as Rn, W as Ht, B as Gt, h as _n, j as xt, m as In, k as vn, l as $t, n as wn, _ as Cn, L as bn, I as Pn, o as Nn, p as Dn, q as yn, r as Bn, s as Mn, T as kn, t as Vn, v as Un, w as Fn, N as Wn } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js";
9
+ import { A as VE, x as UE, y as FE, z as WE, C as HE, D as GE, F as xE, G as $E, H as KE, J as zE, e as qE, f as YE, K as jE, O as ZE, P as XE, Q as JE, R as QE, U as ef, V as tf, X as af, Y as nf, Z as sf, $ as of, E as rf, a0 as lf, a1 as uf, a2 as df, a3 as cf, a4 as Ef, a5 as ff, a6 as mf, a7 as gf, M as Sf, a8 as pf, a9 as Af, aa as Tf, ab as hf, ac as Lf, ad as Of, ae as Rf, af as _f, a as If, ag as vf, ah as wf, ai as Cf, aj as bf, u as Pf, g as Nf } from "./chunks/VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js";
10
+ import { H as Hn, L as Gn } from "./chunks/vendor-microsoft-signalr-Bgpbb4fW.js";
11
+ import { a as xn } from "./chunks/index-B7RhGTNx.js";
12
+ import { u as yf } from "./chunks/index-B7RhGTNx.js";
13
+ import { p as $n, b as Kn, a as zn, s as qn, d as Yn, e as jn, f as Zn, g as lt, h as Xn, i as Jn, j as Qn, k as es, l as ts, m as as } from "./chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-9mBLzIi1.js";
14
+ import { A as Mf, D as kf, E as Vf, H as Uf, _ as Ff, c as Wf, n as Hf, o as Gf, q as xf, r as $f, t as Kf, v as zf, u as qf, w as Yf, x as jf, y as Zf } from "./chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-9mBLzIi1.js";
15
15
  import "./chunks/ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
16
16
  import "./chunks/vendor-dompurify-DpIUMBYC.js";
17
- import { u as le } from "./chunks/vendor-vue-i18n-LO-EJStU.js";
18
- import { useForm as ue, useIsFormValid as _e, useIsFormDirty as ut, Field as j } from "vee-validate";
19
- import { useRouter as Ie } from "vue-router";
17
+ import { u as ue } from "./chunks/vendor-vue-i18n-LO-EJStU.js";
18
+ import { useForm as de, useIsFormValid as Ie, useIsFormDirty as ut, Field as Z } from "vee-validate";
19
+ import { useRouter as ve } from "vue-router";
20
20
  import "./chunks/vendor-tiptap-starter-kit-ny-AoaO_.js";
21
21
  import "./chunks/vendor-tiptap-extension-underline-Bo1pXXDN.js";
22
22
  import "./chunks/vendor-tiptap-extension-table-QVjcLO_H.js";
@@ -93,13 +93,13 @@ import "./chunks/vendor-truncate-html-ChA1T5zy.js";
93
93
  import "./chunks/vendor-sortablejs-Bsvu-FKn.js";
94
94
  import { v as ns } from "./chunks/vendor-vue3-touch-events-DqysuuWh.js";
95
95
  import "./chunks/vendor-gridstack-Beau2jQ7.js";
96
- import { _ as Qf, a as em, b as tm, c as am, d as nm, L as sm, e as om, f as rm, l as im, m as lm, s as um, t as dm, u as cm } from "./chunks/dashboard-feed-row.vue_vue_type_script_setup_true_lang-D2Kl7FBo.js";
97
- import { _ as fm, a as mm, b as gm, c as Sm, d as pm, e as Am } from "./chunks/DashboardDonutChart.vue_vue_type_script_setup_true_lang-hTcM33bM.js";
96
+ import { _ as Jf, a as Qf, b as em, c as tm, d as am, L as nm, e as sm, f as om, l as rm, m as im, s as lm, t as um, u as dm } from "./chunks/dashboard-feed-row.vue_vue_type_script_setup_true_lang-BCsJG_hk.js";
97
+ import { _ as Em, a as fm, b as mm, c as gm, d as Sm, e as pm } from "./chunks/DashboardDonutChart.vue_vue_type_script_setup_true_lang-hTcM33bM.js";
98
98
  import { A as ss, u as os } from "./chunks/vendor-vue3-application-insights-CAgbt8pk.js";
99
99
  import { o as rs, c as J, d as is, i as ls } from "./chunks/vendor-lodash-es-D2n90GJy.js";
100
100
  import { T as us, x as ds, b as cs, S as Es, $ as fs } from "./chunks/vendor-web-vitals-ByFgAM-8.js";
101
101
  import { _ as ms } from "./chunks/index-BuTo_Lx8.js";
102
- import { E as hm, d as Lm, u as Om } from "./chunks/index-BuTo_Lx8.js";
102
+ import { E as Tm, d as hm, u as Lm } from "./chunks/index-BuTo_Lx8.js";
103
103
  function El(e) {
104
104
  return e.replace(/[\w]([A-Z])/g, function(t) {
105
105
  return t[0] + "_" + t[1];
@@ -157,15 +157,15 @@ const As = {
157
157
  }
158
158
  };
159
159
  function gl(e) {
160
- const t = fe(), a = t.subscribe({
160
+ const t = me(), a = t.subscribe({
161
161
  types: e.types,
162
162
  filter: e.filter,
163
163
  handler: e.onMessage
164
164
  });
165
165
  st() && ot(a);
166
- const n = C(
166
+ const n = w(
167
167
  () => t.realtime.value.filter((r) => !(!r.notifyType || !e.types.includes(r.notifyType) || !r.isNew || e.filter && !e.filter(r)))
168
- ), s = C(() => n.value.length);
168
+ ), s = w(() => n.value.length);
169
169
  function o(r) {
170
170
  t.markAsRead(r);
171
171
  }
@@ -182,17 +182,17 @@ function Sl() {
182
182
  return e;
183
183
  }
184
184
  function pl() {
185
- const e = fe();
185
+ const e = me();
186
186
  return {
187
187
  setBroadcastFilter: e.setBroadcastFilter,
188
188
  clearBroadcastFilter: e.clearBroadcastFilter
189
189
  };
190
190
  }
191
- const jt = Symbol("NotificationContainerState"), mt = V("signalR"), Ts = {
191
+ const jt = Symbol("NotificationContainerState"), mt = U("signalR"), Ts = {
192
192
  install(e) {
193
- const t = fe(), { isAuthenticated: a } = se();
193
+ const t = me(), { isAuthenticated: a } = oe();
194
194
  let n = !1;
195
- const s = _n("pushNotificationHub", { enableForVitest: !0 }) ?? new Kn().withUrl("/pushNotificationHub").withAutomaticReconnect().configureLogging(zn.Information).build(), o = () => {
195
+ const s = hn("pushNotificationHub", { enableForVitest: !0 }) ?? new Hn().withUrl("/pushNotificationHub").withAutomaticReconnect().configureLogging(Gn.Information).build(), o = () => {
196
196
  s.start().then(() => {
197
197
  mt.info("Connected.");
198
198
  }).catch((l) => {
@@ -208,7 +208,7 @@ const jt = Symbol("NotificationContainerState"), mt = V("signalR"), Ts = {
208
208
  t.ingest(l);
209
209
  }), s.on("SendSystemEvents", (l) => {
210
210
  t.ingest(l, { broadcast: !0 });
211
- }), ae(
211
+ }), ne(
212
212
  a,
213
213
  async (l) => {
214
214
  l ? (n = !0, o()) : (n = !1, await r());
@@ -223,12 +223,12 @@ function Al(e) {
223
223
  read: () => t ? t.read(e) : {}
224
224
  };
225
225
  }
226
- const hs = V("modularity");
226
+ const hs = U("modularity");
227
227
  function ct(e) {
228
228
  const { blades: t, locales: a, notificationTemplates: n, notifications: s } = e;
229
229
  return {
230
230
  install(o) {
231
- const r = fe();
231
+ const r = me();
232
232
  if (t && Object.keys(t).length > 0) {
233
233
  const l = o.runWithContext(() => Q(Vt));
234
234
  if (!l?._registerBladeFn)
@@ -265,7 +265,7 @@ function ct(e) {
265
265
  d.filter((E) => !r.registry.has(E)).length > 0 && r.subscribe({
266
266
  types: d,
267
267
  handler: (E) => {
268
- E.title && z(E.title, {
268
+ E.title && q(E.title, {
269
269
  onClose() {
270
270
  r.markAsRead(E);
271
271
  }
@@ -297,7 +297,7 @@ async function Ls(e, t, a, n, s, o) {
297
297
  `[restoreFromUrl] Blade '${r.name}' matched URL '${a.workspaceUrl}' but is not a workspace`
298
298
  ), s && Ge(s, o), !1;
299
299
  if (n && r.data.permissions && !n(r.data.permissions))
300
- return console.warn(`[restoreFromUrl] Access denied to workspace '${r.name}'`), z.error(X.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), { timeout: 3e3 }), s && Ge(s, o), !1;
300
+ return console.warn(`[restoreFromUrl] Access denied to workspace '${r.name}'`), q.error(X.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), { timeout: 3e3 }), s && Ge(s, o), !1;
301
301
  if (e.workspace.value?.name !== r.name && await e.openWorkspace({ name: r.name }), a.bladeUrl) {
302
302
  const d = t.getBladeByRoute(a.bladeUrl);
303
303
  if (d) {
@@ -327,13 +327,13 @@ async function Os(e, t, a, n, s) {
327
327
  if (!e.matched.some((E) => E.meta?.root)) return;
328
328
  if (!e.matched.some((E) => E.meta?.bladeCatchAll))
329
329
  return t.blades.value.length > 0 && !await gt(t) ? !1 : void 0;
330
- const r = Object.values(e.params)?.[0] || "", l = rn(e.path, r);
330
+ const r = Object.values(e.params)?.[0] || "", l = $n(e.path, r);
331
331
  if (!l.workspaceUrl)
332
332
  return t.blades.value.length > 0 && !await gt(t) ? !1 : void 0;
333
333
  const d = Object.fromEntries(Object.entries(e.params).filter(([, E]) => typeof E == "string"));
334
334
  if (await Ls(t, a, l, n, s, d)) {
335
- const { path: E, query: m } = ln(r, t.blades.value);
336
- return { path: E, query: m, replace: !0 };
335
+ const { path: E, query: g } = Kn(r, t.blades.value);
336
+ return { path: E, query: g, replace: !0 };
337
337
  }
338
338
  }
339
339
  const Rs = {
@@ -341,10 +341,10 @@ const Rs = {
341
341
  const { router: a } = t, n = {
342
342
  router: t.router
343
343
  };
344
- Xn(n);
344
+ jn(n);
345
345
  const s = e.runWithContext(() => {
346
346
  try {
347
- return un();
347
+ return rn();
348
348
  } catch {
349
349
  console.warn(
350
350
  "[BladeNavigationPlugin] BladeRegistry not yet available. BladeStack will be created but URL restoration may be deferred."
@@ -356,18 +356,16 @@ const Rs = {
356
356
  console.error("[BladeNavigationPlugin] BladeRegistry is required but not found.");
357
357
  return;
358
358
  }
359
- const { hasAccess: o } = e.runWithContext(() => nt()), r = {}, l = cn(a, () => r.current), d = Yn(s, o, l);
360
- r.current = d, e.provide(In, d), jn(d);
361
- const u = dn(d);
362
- e.provide(vn, u), Zn(u), Jn(s);
363
- const E = a.getRoutes().find((m) => m.meta?.root);
364
- E && a.addRoute(E.name, {
359
+ const { hasAccess: o } = e.runWithContext(() => nt()), r = zn(s, o);
360
+ e.provide(Ln, r), qn(r);
361
+ const l = ln(r);
362
+ e.provide(On, l), Yn(l), Zn(s);
363
+ const d = a.getRoutes().find((u) => u.meta?.root);
364
+ d && a.addRoute(d.name, {
365
365
  path: ":pathMatch(.*)*",
366
366
  component: { render: () => null },
367
367
  meta: { bladeCatchAll: !0 }
368
- }), a.beforeEach(
369
- (m) => l.suppressWhile(() => Os(m, d, s, o, a))
370
- );
368
+ }), a.beforeEach((u) => Os(u, r, s, o, a));
371
369
  }
372
370
  }, _s = {
373
371
  input: {
@@ -422,7 +420,7 @@ const Rs = {
422
420
  function hl(e) {
423
421
  return _s[e];
424
422
  }
425
- const Et = /* @__PURE__ */ H({
423
+ const Et = /* @__PURE__ */ G({
426
424
  __name: "vc-popup-base",
427
425
  props: {
428
426
  title: {},
@@ -442,51 +440,51 @@ const Et = /* @__PURE__ */ H({
442
440
  function s(o) {
443
441
  n("confirm"), a.closeOnConfirm && o();
444
442
  }
445
- return (o, r) => (P(), D(En, {
443
+ return (o, r) => (C(), D(un, {
446
444
  variant: e.variant,
447
445
  "is-mobile-fullscreen": e.isMobileFullscreen,
448
446
  title: e.title,
449
447
  closable: e.closable,
450
448
  onClose: r[0] || (r[0] = (l) => o.$emit("close"))
451
- }, Le({
449
+ }, Oe({
452
450
  content: A(() => [
453
- q(o.$slots, "default")
451
+ Y(o.$slots, "default")
454
452
  ]),
455
453
  footer: A(({ close: l }) => [
456
- q(o.$slots, "footer", {
454
+ Y(o.$slots, "footer", {
457
455
  close: l,
458
456
  confirm: () => s(l)
459
457
  }, () => [
460
- k("div", {
458
+ V("div", {
461
459
  class: Ya(["vc-popup-base__actions", {
462
460
  "vc-popup-base__actions--confirm": e.mode === "confirm",
463
461
  "vc-popup-base__actions--single": e.mode === "acknowledge"
464
462
  }])
465
463
  }, [
466
- e.mode === "confirm" ? (P(), W(ne, { key: 0 }, [
467
- I(i(x), {
464
+ e.mode === "confirm" ? (C(), H(se, { key: 0 }, [
465
+ _(i($), {
468
466
  text: e.confirmAsText,
469
467
  class: "vc-popup-base__confirm",
470
468
  onClick: (d) => s(l)
471
469
  }, {
472
470
  default: A(() => [
473
- M(y(e.confirmLabel), 1)
471
+ k(B(e.confirmLabel), 1)
474
472
  ]),
475
473
  _: 1
476
474
  }, 8, ["text", "onClick"]),
477
- I(i(x), { onClick: l }, {
475
+ _(i($), { onClick: l }, {
478
476
  default: A(() => [
479
- M(y(e.cancelLabel), 1)
477
+ k(B(e.cancelLabel), 1)
480
478
  ]),
481
479
  _: 1
482
480
  }, 8, ["onClick"])
483
- ], 64)) : (P(), D(i(x), {
481
+ ], 64)) : (C(), D(i($), {
484
482
  key: 1,
485
483
  class: "vc-popup-base__single",
486
484
  onClick: l
487
485
  }, {
488
486
  default: A(() => [
489
- M(y(e.actionLabel), 1)
487
+ k(B(e.actionLabel), 1)
490
488
  ]),
491
489
  _: 1
492
490
  }, 8, ["onClick"]))
@@ -498,20 +496,20 @@ const Et = /* @__PURE__ */ H({
498
496
  o.$slots.header ? {
499
497
  name: "header",
500
498
  fn: A(() => [
501
- q(o.$slots, "header")
499
+ Y(o.$slots, "header")
502
500
  ]),
503
501
  key: "0"
504
502
  } : void 0
505
503
  ]), 1032, ["variant", "is-mobile-fullscreen", "title", "closable"]));
506
504
  }
507
- }), Is = /* @__PURE__ */ H({
505
+ }), Is = /* @__PURE__ */ G({
508
506
  __name: "vc-popup-warning",
509
507
  props: {
510
508
  title: {}
511
509
  },
512
510
  emits: ["close", "confirm"],
513
511
  setup(e) {
514
- return (t, a) => (P(), D(Et, {
512
+ return (t, a) => (C(), D(Et, {
515
513
  variant: "warning",
516
514
  mode: "confirm",
517
515
  "confirm-label": t.$t("COMPONENTS.ORGANISMS.VC_POPUP.CONFIRM"),
@@ -520,72 +518,72 @@ const Et = /* @__PURE__ */ H({
520
518
  title: e.title,
521
519
  onClose: a[0] || (a[0] = (n) => t.$emit("close")),
522
520
  onConfirm: a[1] || (a[1] = (n) => t.$emit("confirm"))
523
- }, Le({
521
+ }, Oe({
524
522
  default: A(() => [
525
- q(t.$slots, "default")
523
+ Y(t.$slots, "default")
526
524
  ]),
527
525
  _: 2
528
526
  }, [
529
527
  t.$slots.header ? {
530
528
  name: "header",
531
529
  fn: A(() => [
532
- q(t.$slots, "header")
530
+ Y(t.$slots, "header")
533
531
  ]),
534
532
  key: "0"
535
533
  } : void 0
536
534
  ]), 1032, ["confirm-label", "cancel-label", "title"]));
537
535
  }
538
- }), vs = /* @__PURE__ */ H({
536
+ }), vs = /* @__PURE__ */ G({
539
537
  __name: "vc-popup-error",
540
538
  props: {
541
539
  title: {}
542
540
  },
543
541
  emits: ["close"],
544
542
  setup(e) {
545
- return (t, a) => (P(), D(Et, {
543
+ return (t, a) => (C(), D(Et, {
546
544
  variant: "error",
547
545
  mode: "acknowledge",
548
546
  "action-label": t.$t("COMPONENTS.ORGANISMS.VC_POPUP.OK"),
549
547
  title: e.title,
550
548
  onClose: a[0] || (a[0] = (n) => t.$emit("close"))
551
- }, Le({
549
+ }, Oe({
552
550
  default: A(() => [
553
- q(t.$slots, "default")
551
+ Y(t.$slots, "default")
554
552
  ]),
555
553
  _: 2
556
554
  }, [
557
555
  t.$slots.header ? {
558
556
  name: "header",
559
557
  fn: A(() => [
560
- q(t.$slots, "header")
558
+ Y(t.$slots, "header")
561
559
  ]),
562
560
  key: "0"
563
561
  } : void 0
564
562
  ]), 1032, ["action-label", "title"]));
565
563
  }
566
- }), ws = /* @__PURE__ */ H({
564
+ }), ws = /* @__PURE__ */ G({
567
565
  __name: "vc-popup-info",
568
566
  props: {
569
567
  title: {}
570
568
  },
571
569
  emits: ["close"],
572
570
  setup(e) {
573
- return (t, a) => (P(), D(Et, {
571
+ return (t, a) => (C(), D(Et, {
574
572
  variant: "info",
575
573
  mode: "acknowledge",
576
574
  "action-label": t.$t("COMPONENTS.ORGANISMS.VC_POPUP.OK"),
577
575
  title: e.title,
578
576
  onClose: a[0] || (a[0] = (n) => t.$emit("close"))
579
- }, Le({
577
+ }, Oe({
580
578
  default: A(() => [
581
- q(t.$slots, "default")
579
+ Y(t.$slots, "default")
582
580
  ]),
583
581
  _: 2
584
582
  }, [
585
583
  t.$slots.header ? {
586
584
  name: "header",
587
585
  fn: A(() => [
588
- q(t.$slots, "header")
586
+ Y(t.$slots, "header")
589
587
  ]),
590
588
  key: "0"
591
589
  } : void 0
@@ -600,7 +598,7 @@ const bs = {
600
598
  const a = {
601
599
  popups: ja([])
602
600
  };
603
- e.config.globalProperties.$popupPlugin = a, e.provide(fn, a), mn(a), Cs();
601
+ e.config.globalProperties.$popupPlugin = a, e.provide(dn, a), cn(a), Cs();
604
602
  }
605
603
  };
606
604
  function Ps(e, t) {
@@ -641,17 +639,17 @@ function Ll() {
641
639
  };
642
640
  }
643
641
  function Ol(e) {
644
- const t = fe(), a = e ? Array.isArray(e) ? e : [e] : [];
642
+ const t = me(), a = e ? Array.isArray(e) ? e : [e] : [];
645
643
  let n, s;
646
644
  a.length && (s = t.subscribe({
647
645
  types: a,
648
646
  handler: (r) => n?.(r)
649
647
  }), st() && ot(() => s?.()));
650
- const o = C(() => a.length ? t.realtime.value.filter(
648
+ const o = w(() => a.length ? t.realtime.value.filter(
651
649
  (r) => r.isNew && r.notifyType != null && a.includes(r.notifyType)
652
650
  ) : []);
653
651
  return {
654
- notifications: C(() => rs(t.history.value, ["created"], ["desc"])),
652
+ notifications: w(() => rs(t.history.value, ["created"], ["desc"])),
655
653
  moduleNotifications: o,
656
654
  loadFromHistory: t.loadHistory,
657
655
  addNotification: t.ingest,
@@ -663,23 +661,23 @@ function Ol(e) {
663
661
  };
664
662
  }
665
663
  let ze;
666
- const Bs = V("use-async");
664
+ const Bs = U("use-async");
667
665
  function Zt(e, t) {
668
- const a = N(!1), n = N(null), s = t?.notify !== !1, o = t?.notifyTimeout ?? 8e3;
666
+ const a = b(!1), n = b(null), s = t?.notify !== !1, o = t?.notifyTimeout ?? 8e3;
669
667
  async function r(l, ...d) {
670
668
  a.value = !0, n.value = null;
671
669
  try {
672
670
  return await e(l, ...d);
673
671
  } catch (u) {
674
- const E = Ce(u);
672
+ const E = be(u);
675
673
  if (n.value = E, Bs.error("Async action failed:", u), s && !Qe() && u && typeof u == "object") {
676
- const m = `async-error-${E.message.slice(0, 80)}`, f = setTimeout(async () => {
677
- ze || (ze = (await import("./chunks/VcScheduler.vue_vue_type_style_index_0_lang-CX5yXw-b.js").then((S) => S.aE)).notification), ze.error(E.message, {
674
+ const g = `async-error-${E.message.slice(0, 80)}`, f = setTimeout(async () => {
675
+ ze || (ze = (await import("./chunks/VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js").then((S) => S.aE)).notification), ze.error(E.message, {
678
676
  timeout: o,
679
- notificationId: m
677
+ notificationId: g
680
678
  });
681
679
  }, 0);
682
- Ba(u, f, m);
680
+ Ba(u, f, g);
683
681
  }
684
682
  throw u;
685
683
  } finally {
@@ -687,8 +685,8 @@ function Zt(e, t) {
687
685
  }
688
686
  }
689
687
  return {
690
- loading: Be(a),
691
- error: Be(n),
688
+ loading: Me(a),
689
+ error: Me(n),
692
690
  action: r
693
691
  };
694
692
  }
@@ -701,11 +699,11 @@ function Ms(e) {
701
699
  };
702
700
  }
703
701
  function Xt(...e) {
704
- return C(() => e.some((t) => t.value));
702
+ return w(() => e.some((t) => t.value));
705
703
  }
706
- const ks = V("use-settings");
707
- function ve() {
708
- const e = N(), t = N(!1), { getApiClient: a } = Ms(wn), { loading: n, action: s } = Zt(async () => {
704
+ const ks = U("use-settings");
705
+ function we() {
706
+ const e = b(), t = b(!1), { getApiClient: a } = Ms(Rn), { loading: n, action: s } = Zt(async () => {
709
707
  if (t.value) return;
710
708
  const r = await (await a()).getUICustomizationSetting();
711
709
  let l = null;
@@ -730,16 +728,16 @@ function ve() {
730
728
  role: r.role
731
729
  };
732
730
  }
733
- return Oe(async () => {
731
+ return Re(async () => {
734
732
  !e.value && !t.value && await s();
735
733
  }), {
736
- uiSettings: C(() => e.value ?? {}),
734
+ uiSettings: w(() => e.value ?? {}),
737
735
  applySettings: o,
738
736
  loading: Xt(n)
739
737
  };
740
738
  }
741
739
  function Rl() {
742
- const e = N(!1);
740
+ const e = b(!1);
743
741
  let t = 0, a = !1;
744
742
  function n() {
745
743
  const r = ++t;
@@ -761,10 +759,10 @@ function Rl() {
761
759
  begin: n,
762
760
  invalidate: s,
763
761
  dispose: o,
764
- pending: Be(e)
762
+ pending: Me(e)
765
763
  };
766
764
  }
767
- const St = V("use-assets"), Vs = 4;
765
+ const St = U("use-assets"), Vs = 4;
768
766
  async function Us(e, t, a, n) {
769
767
  const s = new FormData();
770
768
  s.append("file", e);
@@ -787,7 +785,7 @@ async function Fs(e, t, a) {
787
785
  return n;
788
786
  }
789
787
  function _l() {
790
- const e = N(!1);
788
+ const e = b(!1);
791
789
  async function t(s, o, r) {
792
790
  try {
793
791
  e.value = !0;
@@ -827,10 +825,10 @@ function _l() {
827
825
  upload: t,
828
826
  remove: a,
829
827
  edit: n,
830
- loading: C(() => e.value)
828
+ loading: w(() => e.value)
831
829
  };
832
830
  }
833
- const Ws = V("use-assets-manager"), Hs = 4;
831
+ const Ws = U("use-assets-manager"), Hs = 4;
834
832
  async function Gs(e, t, a, n) {
835
833
  const s = new FormData();
836
834
  s.append("file", e);
@@ -859,8 +857,8 @@ function pt(e) {
859
857
  }).map(({ item: t }, a) => ({ ...t, sortOrder: a }));
860
858
  }
861
859
  function Il(e, t) {
862
- const a = N(!1), n = N(pt(e.value ?? []));
863
- ae(
860
+ const a = b(!1), n = b(pt(e.value ?? []));
861
+ ne(
864
862
  () => e.value,
865
863
  (S) => {
866
864
  n.value = pt(S ?? []);
@@ -870,13 +868,13 @@ function Il(e, t) {
870
868
  function s() {
871
869
  e.value = n.value;
872
870
  }
873
- const o = n, r = C(() => a.value), l = t.concurrency ?? Hs, d = t.assetKey ?? "url";
871
+ const o = n, r = w(() => a.value), l = t.concurrency ?? Hs, d = t.assetKey ?? "url";
874
872
  async function u(S, L) {
875
873
  try {
876
874
  a.value = !0;
877
- const T = Array.from(S), v = t.uploadPath(), O = (await xs(
875
+ const T = Array.from(S), I = t.uploadPath(), O = (await xs(
878
876
  T,
879
- (h, g) => Gs(h, v, g, L),
877
+ (h, N) => Gs(h, I, N, L),
880
878
  l
881
879
  )).filter((h) => h !== null);
882
880
  n.value = [...n.value, ...O], s();
@@ -887,9 +885,9 @@ function Il(e, t) {
887
885
  }
888
886
  }
889
887
  async function E(S) {
890
- await m([S]);
888
+ await g([S]);
891
889
  }
892
- async function m(S) {
890
+ async function g(S) {
893
891
  if (t.confirmRemove && !await t.confirmRemove())
894
892
  return;
895
893
  const L = new Set(S.map((T) => T[d]));
@@ -909,7 +907,7 @@ function Il(e, t) {
909
907
  items: o,
910
908
  upload: u,
911
909
  remove: E,
912
- removeMany: m,
910
+ removeMany: g,
913
911
  reorder: f,
914
912
  updateItem: c,
915
913
  loading: r
@@ -928,13 +926,13 @@ const $s = (e) => {
928
926
  modified: e
929
927
  };
930
928
  };
931
- function ge(e) {
929
+ function Se(e) {
932
930
  return !!(e == null || typeof e == "number" && isNaN(e) || typeof e == "string" && e.trim().length === 0 || typeof e == "object" && Object.keys(e).length === 0);
933
931
  }
934
- function Ee(e) {
932
+ function fe(e) {
935
933
  return !!e.multilanguage;
936
934
  }
937
- function he(e) {
935
+ function Le(e) {
938
936
  return !!e.multivalue;
939
937
  }
940
938
  function At(e) {
@@ -946,57 +944,57 @@ function Ks(e) {
946
944
  function zs(e) {
947
945
  return e.valueType === "Color";
948
946
  }
949
- function F(e) {
947
+ function W(e) {
950
948
  return { isInherited: !1, ...e };
951
949
  }
952
- function Fe(e, t) {
953
- e.values && (Ee(e) && t ? e.values = e.values.filter((a) => a.languageCode !== t) : e.values = [], e.values.length > 0 && e.values.every((a) => ge(a.value)) && (e.values = []));
950
+ function We(e, t) {
951
+ e.values && (fe(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 = []));
954
952
  }
955
953
  const qs = {
956
954
  get(e, t) {
957
- return Ee(e) ? he(e) ? e.values?.filter((n) => n.languageCode === t) ?? [] : (e.values?.find((n) => n.languageCode === t) ?? e.values?.find((n) => !n.languageCode))?.value ?? "" : he(e) ? e.values ?? [] : e.values?.[0]?.value ?? "";
955
+ return fe(e) ? Le(e) ? e.values?.filter((n) => n.languageCode === t) ?? [] : (e.values?.find((n) => n.languageCode === t) ?? e.values?.find((n) => !n.languageCode))?.value ?? "" : Le(e) ? e.values ?? [] : e.values?.[0]?.value ?? "";
958
956
  },
959
957
  set(e, t, a) {
960
- if (!Array.isArray(t) && ge(t)) {
961
- Fe(e, a.locale);
958
+ if (!Array.isArray(t) && Se(t)) {
959
+ We(e, a.locale);
962
960
  return;
963
961
  }
964
- if (Ee(e)) {
962
+ if (fe(e)) {
965
963
  if (Array.isArray(t)) {
966
964
  const n = e.values?.filter((o) => o.languageCode !== a.locale) ?? [], s = t.map(
967
- (o) => F({ ...o, languageCode: a.locale })
965
+ (o) => W({ ...o, languageCode: a.locale })
968
966
  );
969
967
  e.values = [...n, ...s];
970
968
  } else {
971
969
  const n = e.values?.find((s) => s.languageCode === a.locale);
972
- n ? n.value = t : (e.values || (e.values = []), e.values.push(F({ value: t, languageCode: a.locale })));
970
+ n ? n.value = t : (e.values || (e.values = []), e.values.push(W({ value: t, languageCode: a.locale })));
973
971
  }
974
972
  return;
975
973
  }
976
974
  if (Array.isArray(t)) {
977
- e.values = t.map((n) => F(n));
975
+ e.values = t.map((n) => W(n));
978
976
  return;
979
977
  }
980
- e.values?.[0] ? Object.assign(e.values[0], { value: t }) : e.values = [F({ value: t })];
978
+ e.values?.[0] ? Object.assign(e.values[0], { value: t }) : e.values = [W({ value: t })];
981
979
  }
982
980
  }, Ys = {
983
981
  get(e, t) {
984
- return Ee(e) ? (e.values?.find((n) => n.languageCode === t) ?? e.values?.find((n) => !n.languageCode))?.value ?? !1 : e.values?.[0]?.value ?? !1;
982
+ return fe(e) ? (e.values?.find((n) => n.languageCode === t) ?? e.values?.find((n) => !n.languageCode))?.value ?? !1 : e.values?.[0]?.value ?? !1;
985
983
  },
986
984
  set(e, t, a) {
987
- e.values?.[0] ? Object.assign(e.values[0], { value: t }) : e.values = [F({ value: t })];
985
+ e.values?.[0] ? Object.assign(e.values[0], { value: t }) : e.values = [W({ value: t })];
988
986
  }
989
987
  }, js = {
990
988
  get(e, t) {
991
- return Ee(e) ? he(e) ? e.values?.filter((n) => n.languageCode === t) ?? [] : (e.values?.find((n) => n.languageCode === t) ?? e.values?.find((n) => !n.languageCode))?.valueId ?? "" : he(e) ? e.values ?? [] : e.values?.[0]?.valueId ?? "";
989
+ return fe(e) ? Le(e) ? e.values?.filter((n) => n.languageCode === t) ?? [] : (e.values?.find((n) => n.languageCode === t) ?? e.values?.find((n) => !n.languageCode))?.valueId ?? "" : Le(e) ? e.values ?? [] : e.values?.[0]?.valueId ?? "";
992
990
  },
993
991
  set(e, t, a) {
994
992
  const { dictionary: n, locale: s } = a;
995
- if (!Array.isArray(t) && ge(t)) {
996
- Fe(e, s);
993
+ if (!Array.isArray(t) && Se(t)) {
994
+ We(e, s);
997
995
  return;
998
996
  }
999
- n?.length && (Ee(e) ? Zs(e, t, n, s) : Qs(e, t, n));
997
+ n?.length && (fe(e) ? Zs(e, t, n, s) : Qs(e, t, n));
1000
998
  }
1001
999
  };
1002
1000
  function Zs(e, t, a, n) {
@@ -1012,7 +1010,7 @@ function Xs(e, t, a) {
1012
1010
  (o) => o.id === n.valueId || o.id === n.id
1013
1011
  );
1014
1012
  return s?.localizedValues?.length ? s.localizedValues.map(
1015
- (o) => F({
1013
+ (o) => W({
1016
1014
  propertyId: s.propertyId,
1017
1015
  alias: s.alias,
1018
1016
  languageCode: o.languageCode,
@@ -1020,7 +1018,7 @@ function Xs(e, t, a) {
1020
1018
  valueId: s.id,
1021
1019
  colorCode: s.colorCode
1022
1020
  })
1023
- ) : F(n);
1021
+ ) : W(n);
1024
1022
  });
1025
1023
  }
1026
1024
  function Js(e, t, a, n) {
@@ -1031,7 +1029,7 @@ function Js(e, t, a, n) {
1031
1029
  }
1032
1030
  if (s.localizedValues?.length)
1033
1031
  e.values = s.localizedValues.map(
1034
- (o) => F({
1032
+ (o) => W({
1035
1033
  propertyId: s.propertyId,
1036
1034
  alias: s.alias,
1037
1035
  languageCode: o.languageCode,
@@ -1043,7 +1041,7 @@ function Js(e, t, a, n) {
1043
1041
  else {
1044
1042
  const o = [...new Set((e.values ?? []).map((l) => l.languageCode).filter(Boolean))], r = o.length > 0 ? o : n ? [n] : [];
1045
1043
  e.values = r.map(
1046
- (l) => F({
1044
+ (l) => W({
1047
1045
  propertyId: s.propertyId,
1048
1046
  alias: s.alias,
1049
1047
  languageCode: l,
@@ -1060,7 +1058,7 @@ function Qs(e, t, a) {
1060
1058
  const s = a.find(
1061
1059
  (o) => o.id === n.valueId || o.id === n.id
1062
1060
  );
1063
- return F(s ? {
1061
+ return W(s ? {
1064
1062
  propertyId: s.propertyId,
1065
1063
  alias: s.alias,
1066
1064
  value: n.value ?? s.alias,
@@ -1069,13 +1067,13 @@ function Qs(e, t, a) {
1069
1067
  } : n);
1070
1068
  });
1071
1069
  else {
1072
- if (ge(t)) {
1070
+ if (Se(t)) {
1073
1071
  e.values = [];
1074
1072
  return;
1075
1073
  }
1076
1074
  const n = a.find((s) => s.id === t);
1077
1075
  e.values = [
1078
- F({
1076
+ W({
1079
1077
  propertyId: n?.propertyId,
1080
1078
  alias: n?.alias,
1081
1079
  value: n?.value ?? n?.alias,
@@ -1090,24 +1088,24 @@ const eo = {
1090
1088
  return e.values?.[0]?.value ?? "";
1091
1089
  },
1092
1090
  set(e, t, a) {
1093
- if (ge(t)) {
1094
- Fe(e);
1091
+ if (Se(t)) {
1092
+ We(e);
1095
1093
  return;
1096
1094
  }
1097
- e.values = [F({ value: t, unitOfMeasureId: a.unitOfMeasureId })];
1095
+ e.values = [W({ value: t, unitOfMeasureId: a.unitOfMeasureId })];
1098
1096
  }
1099
1097
  }, to = {
1100
1098
  get(e, t) {
1101
- return he(e) ? e.values ?? [] : e.values?.[0]?.value ?? "";
1099
+ return Le(e) ? e.values ?? [] : e.values?.[0]?.value ?? "";
1102
1100
  },
1103
1101
  set(e, t, a) {
1104
- if (!Array.isArray(t) && ge(t)) {
1105
- Fe(e);
1102
+ if (!Array.isArray(t) && Se(t)) {
1103
+ We(e);
1106
1104
  return;
1107
1105
  }
1108
1106
  Array.isArray(t) ? e.values = t.map(
1109
- (n) => F({ ...n, value: n.value, colorCode: n.colorCode })
1110
- ) : e.values = [F({ value: t, colorCode: a.colorCode })];
1107
+ (n) => W({ ...n, value: n.value, colorCode: n.colorCode })
1108
+ ) : e.values = [W({ value: t, colorCode: a.colorCode })];
1111
1109
  }
1112
1110
  };
1113
1111
  function Tt(e) {
@@ -1118,28 +1116,28 @@ function vl(e) {
1118
1116
  if (u)
1119
1117
  return await t(u);
1120
1118
  });
1121
- async function o(u, E, m) {
1119
+ async function o(u, E, g) {
1122
1120
  if (!u) return;
1123
1121
  const f = await s({
1124
1122
  propertyIds: [u],
1125
1123
  keyword: E,
1126
1124
  skip: 0
1127
1125
  });
1128
- return !m || !f ? f : f.map((c) => {
1129
- const S = c.localizedValues?.find((L) => L.languageCode === m)?.value;
1126
+ return !g || !f ? f : f.map((c) => {
1127
+ const S = c.localizedValues?.find((L) => L.languageCode === g)?.value;
1130
1128
  return { ...c, value: S ?? c.alias };
1131
1129
  });
1132
1130
  }
1133
- async function r(u, E, m) {
1131
+ async function r(u, E, g) {
1134
1132
  if (!(!u || !a))
1135
- return await a(u, m);
1133
+ return await a(u, g);
1136
1134
  }
1137
1135
  function l(u, E) {
1138
1136
  return Tt(u).get(u, E);
1139
1137
  }
1140
1138
  function d(u) {
1141
- const { property: E, value: m, ...f } = u;
1142
- Tt(E).set(E, m, f);
1139
+ const { property: E, value: g, ...f } = u;
1140
+ Tt(E).set(E, g, f);
1143
1141
  }
1144
1142
  return {
1145
1143
  getPropertyValue: l,
@@ -1160,7 +1158,7 @@ function wl(e) {
1160
1158
  };
1161
1159
  us(a), ds(a), cs(a), Es(a), fs(a);
1162
1160
  }
1163
- const Jt = V("use-blade-widgets");
1161
+ const Jt = U("use-blade-widgets");
1164
1162
  function Cl(e) {
1165
1163
  const t = Q(Ht);
1166
1164
  if (!t)
@@ -1171,7 +1169,7 @@ function Cl(e) {
1171
1169
  "[vc-shell] useBladeWidgets() requires blade context (BladeDescriptorKey). It must be called inside a blade component rendered by VcBladeSlot."
1172
1170
  );
1173
1171
  const s = n.value.id;
1174
- Oe(() => {
1172
+ Re(() => {
1175
1173
  for (const l of e)
1176
1174
  a.registerWidget(ao(l), s);
1177
1175
  }), Ja(() => {
@@ -1190,7 +1188,7 @@ function Cl(e) {
1190
1188
  return { refresh: o, refreshAll: r };
1191
1189
  }
1192
1190
  function bl(e) {
1193
- const t = Q(Cn);
1191
+ const t = Q(_n);
1194
1192
  if (!t) {
1195
1193
  Jt.warn("useWidgetTrigger() called outside WidgetContainer scope — trigger will not be registered.");
1196
1194
  return;
@@ -1225,7 +1223,7 @@ function no(e) {
1225
1223
  function Pl(e) {
1226
1224
  yt(
1227
1225
  xt,
1228
- C(() => no(Bt(e)))
1226
+ w(() => no(Bt(e)))
1229
1227
  );
1230
1228
  }
1231
1229
  function Nl() {
@@ -1243,8 +1241,8 @@ function Lt(e, t) {
1243
1241
  });
1244
1242
  }
1245
1243
  function Dl(e) {
1246
- const t = (r) => J(i(r)), a = N(t(e)), n = N(t(e)), s = N(!1);
1247
- Mt(e) && ae(
1244
+ const t = (r) => J(i(r)), a = b(t(e)), n = b(t(e)), s = b(!1);
1245
+ Mt(e) && ne(
1248
1246
  e,
1249
1247
  (r) => {
1250
1248
  const l = !Lt(n.value, a.value);
@@ -1252,7 +1250,7 @@ function Dl(e) {
1252
1250
  },
1253
1251
  { deep: !0 }
1254
1252
  // Deep tracking, if initialValueProp is a Ref to an object/array
1255
- ), ae(
1253
+ ), ne(
1256
1254
  [n, a],
1257
1255
  // Track changes in currentValue or pristineValue
1258
1256
  ([r, l]) => {
@@ -1271,7 +1269,7 @@ function Dl(e) {
1271
1269
  return {
1272
1270
  currentValue: n,
1273
1271
  pristineValue: a,
1274
- isModified: C(() => s.value),
1272
+ isModified: w(() => s.value),
1275
1273
  resetModificationState: o
1276
1274
  };
1277
1275
  }
@@ -1280,13 +1278,13 @@ const so = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
1280
1278
  class: "assets-details__file-preview tw-shrink-0"
1281
1279
  }, uo = { class: "assets-details__meta" };
1282
1280
  Ut("AssetsDetails", {});
1283
- const co = /* @__PURE__ */ H({
1281
+ const co = /* @__PURE__ */ G({
1284
1282
  name: "AssetsDetails",
1285
1283
  __name: "assets-details",
1286
1284
  setup(e) {
1287
1285
  const { options: t, closeSelf: a } = lt();
1288
- ue({ validateOnMount: !1 });
1289
- const n = _e(), s = ut(), { t: o } = le({ useScope: "global" }), r = N({ ...t.value?.asset }), l = C(() => t.value?.disabled), d = C({
1286
+ de({ validateOnMount: !1 });
1287
+ const n = Ie(), s = ut(), { t: o } = ue({ useScope: "global" }), r = b({ ...t.value?.asset }), l = w(() => t.value?.disabled), d = w({
1290
1288
  get() {
1291
1289
  const f = r.value.name;
1292
1290
  if (!f) return "";
@@ -1299,7 +1297,7 @@ const co = /* @__PURE__ */ H({
1299
1297
  const S = c.lastIndexOf("."), L = S > 0 ? c.slice(S) : "";
1300
1298
  r.value.name = f ? f + L : "";
1301
1299
  }
1302
- }), u = C(() => !s.value || !n.value), E = N([
1300
+ }), u = w(() => !s.value || !n.value), E = b([
1303
1301
  {
1304
1302
  id: "save",
1305
1303
  title: o("ASSETS.PAGES.DETAILS.TOOLBAR.SAVE"),
@@ -1307,7 +1305,7 @@ const co = /* @__PURE__ */ H({
1307
1305
  async clickHandler() {
1308
1306
  t.value?.assetEditHandler && typeof t.value?.assetEditHandler == "function" && (await t.value?.assetEditHandler(r.value), a());
1309
1307
  },
1310
- disabled: C(() => u.value || l.value)
1308
+ disabled: w(() => u.value || l.value)
1311
1309
  },
1312
1310
  {
1313
1311
  id: "delete",
@@ -1316,46 +1314,46 @@ const co = /* @__PURE__ */ H({
1316
1314
  async clickHandler() {
1317
1315
  t.value?.assetRemoveHandler && typeof t.value?.assetRemoveHandler == "function" && (await t.value?.assetRemoveHandler(r.value), a());
1318
1316
  },
1319
- disabled: C(() => l.value)
1317
+ disabled: w(() => l.value)
1320
1318
  }
1321
- ]), m = C(() => r.value?.typeId);
1322
- return (f, c) => (P(), D(i(Ft), {
1319
+ ]), g = w(() => r.value?.typeId);
1320
+ return (f, c) => (C(), D(i(Ft), {
1323
1321
  title: i(t)?.asset?.name,
1324
1322
  subtitle: i(o)("ASSETS.PAGES.DETAILS.SUBTITLE"),
1325
1323
  "toolbar-items": E.value
1326
1324
  }, {
1327
1325
  default: A(() => [
1328
- k("div", so, [
1329
- k("div", oo, [
1330
- I(i(gn), { "no-padding": !0 }, {
1326
+ V("div", so, [
1327
+ V("div", oo, [
1328
+ _(i(En), { "no-padding": !0 }, {
1331
1329
  default: A(() => [
1332
- k("div", ro, [
1333
- I(i(me), null, {
1330
+ V("div", ro, [
1331
+ _(i(ge), null, {
1334
1332
  default: A(() => [
1335
- k("div", io, [
1336
- i(Kt)(r.value.name) ? (P(), D(i(it), {
1333
+ V("div", io, [
1334
+ i(Kt)(r.value.name) ? (C(), D(i(it), {
1337
1335
  key: 0,
1338
1336
  src: r.value.url,
1339
1337
  size: "xl",
1340
1338
  bordered: !0,
1341
1339
  class: "tw-shrink-0"
1342
- }, null, 8, ["src"])) : (P(), W("div", lo, [
1343
- k("div", {
1340
+ }, null, 8, ["src"])) : (C(), H("div", lo, [
1341
+ V("div", {
1344
1342
  class: "assets-details__file-badge",
1345
1343
  style: kt({ backgroundColor: i(qt)(r.value.name) })
1346
- }, y(i(Yt)(r.value.name)), 5)
1344
+ }, B(i(Yt)(r.value.name)), 5)
1347
1345
  ])),
1348
- k("div", uo, [
1349
- I(i($e), {
1346
+ V("div", uo, [
1347
+ _(i($e), {
1350
1348
  label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.SIZE"),
1351
1349
  "model-value": i(zt)(r.value.size)
1352
1350
  }, null, 8, ["label", "model-value"]),
1353
- I(i($e), {
1351
+ _(i($e), {
1354
1352
  label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.CREATED_DATE"),
1355
1353
  "model-value": r.value.createdDate,
1356
1354
  type: "date-ago"
1357
1355
  }, null, 8, ["label", "model-value"]),
1358
- I(i($e), {
1356
+ _(i($e), {
1359
1357
  label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.URL"),
1360
1358
  "model-value": r.value.url,
1361
1359
  "display-value": r.value.name,
@@ -1364,7 +1362,7 @@ const co = /* @__PURE__ */ H({
1364
1362
  }, null, 8, ["label", "model-value", "display-value"])
1365
1363
  ])
1366
1364
  ]),
1367
- i(t)?.hiddenFields?.includes("name") ? K("", !0) : (P(), D(i(j), {
1365
+ i(t)?.hiddenFields?.includes("name") ? z("", !0) : (C(), D(i(Z), {
1368
1366
  key: 0,
1369
1367
  label: i(o)("ASSETS.PAGES.DETAILS.FIELDS.NAME.TITLE"),
1370
1368
  name: "asset_name",
@@ -1372,10 +1370,10 @@ const co = /* @__PURE__ */ H({
1372
1370
  "model-value": r.value.name
1373
1371
  }, {
1374
1372
  default: A(({ errorMessage: S, handleChange: L, errors: T }) => [
1375
- I(i($), {
1373
+ _(i(K), {
1376
1374
  modelValue: d.value,
1377
1375
  "onUpdate:modelValue": [
1378
- c[0] || (c[0] = (v) => d.value = v),
1376
+ c[0] || (c[0] = (I) => d.value = I),
1379
1377
  L
1380
1378
  ],
1381
1379
  class: "tw-mb-4",
@@ -1390,7 +1388,7 @@ const co = /* @__PURE__ */ H({
1390
1388
  ]),
1391
1389
  _: 1
1392
1390
  }, 8, ["label", "model-value"])),
1393
- m.value === "Image" && !i(t)?.hiddenFields?.includes("altText") ? (P(), D(i($), {
1391
+ g.value === "Image" && !i(t)?.hiddenFields?.includes("altText") ? (C(), D(i(K), {
1394
1392
  key: 1,
1395
1393
  modelValue: r.value.altText,
1396
1394
  "onUpdate:modelValue": c[1] || (c[1] = (S) => r.value.altText = S),
@@ -1400,8 +1398,8 @@ const co = /* @__PURE__ */ H({
1400
1398
  placeholder: i(o)("ASSETS.PAGES.DETAILS.FIELDS.ALT.PLACEHOLDER"),
1401
1399
  tooltip: i(o)("ASSETS.PAGES.DETAILS.FIELDS.ALT.TOOLTIP"),
1402
1400
  disabled: l.value
1403
- }, null, 8, ["modelValue", "label", "placeholder", "tooltip", "disabled"])) : K("", !0),
1404
- i(t)?.hiddenFields?.includes("description") ? K("", !0) : (P(), D(i(Sn), {
1401
+ }, null, 8, ["modelValue", "label", "placeholder", "tooltip", "disabled"])) : z("", !0),
1402
+ i(t)?.hiddenFields?.includes("description") ? z("", !0) : (C(), D(i(fn), {
1405
1403
  key: 2,
1406
1404
  modelValue: r.value.description,
1407
1405
  "onUpdate:modelValue": c[2] || (c[2] = (S) => r.value.description = S),
@@ -1428,36 +1426,36 @@ const co = /* @__PURE__ */ H({
1428
1426
  AssetsDetails: Eo
1429
1427
  }, Symbol.toStringTag, { value: "Module" })), mo = ct({ blades: fo }), go = { class: "tw-flex tw-items-center tw-justify-center" };
1430
1428
  Ut("AssetsManager", {});
1431
- const So = /* @__PURE__ */ H({
1429
+ const So = /* @__PURE__ */ G({
1432
1430
  name: "AssetsManager",
1433
1431
  __name: "assets-manager",
1434
1432
  setup(e) {
1435
- const t = V("assets-manager"), { options: a, openBlade: n } = lt(), { t: s } = le({ useScope: "global" }), o = C(() => a.value.manager), r = C(() => o.value.items.value ?? []), l = C(() => o.value.loading.value), d = C(() => a.value?.title || s("ASSETS_MANAGER.TITLE")), u = N(!1), E = N(), m = N([]), f = C(() => a.value?.disabled), c = N([
1433
+ const t = U("assets-manager"), { options: a, openBlade: n } = lt(), { t: s } = ue({ useScope: "global" }), o = w(() => a.value.manager), r = w(() => o.value.items.value ?? []), l = w(() => o.value.loading.value), d = w(() => a.value?.title || s("ASSETS_MANAGER.TITLE")), u = b(!1), E = b(), g = b([]), f = w(() => a.value?.disabled), c = b([
1436
1434
  {
1437
1435
  id: "add",
1438
- title: C(() => s("ASSETS_MANAGER.TOOLBAR.ADD")),
1436
+ title: w(() => s("ASSETS_MANAGER.TOOLBAR.ADD")),
1439
1437
  icon: "lucide-plus",
1440
1438
  clickHandler() {
1441
- w();
1439
+ v();
1442
1440
  },
1443
- disabled: C(() => f.value),
1444
- isVisible: C(() => !f.value)
1441
+ disabled: w(() => f.value),
1442
+ isVisible: w(() => !f.value)
1445
1443
  },
1446
1444
  {
1447
1445
  id: "delete",
1448
- title: C(() => s("ASSETS_MANAGER.TOOLBAR.DELETE")),
1446
+ title: w(() => s("ASSETS_MANAGER.TOOLBAR.DELETE")),
1449
1447
  icon: "lucide-trash-2",
1450
1448
  async clickHandler() {
1451
- await o.value.removeMany(m.value);
1449
+ await o.value.removeMany(g.value);
1452
1450
  },
1453
- disabled: C(() => !m.value.length || f.value),
1454
- isVisible: C(() => !f.value)
1451
+ disabled: w(() => !g.value.length || f.value),
1452
+ isVisible: w(() => !f.value)
1455
1453
  }
1456
1454
  ]);
1457
- async function S(p) {
1458
- if (p.dragIndex !== p.dropIndex) {
1459
- const R = p.value.map((b, B) => (b.sortOrder = B, b));
1460
- o.value.reorder(R);
1455
+ async function S(m) {
1456
+ if (m.dragIndex !== m.dropIndex) {
1457
+ const p = m.value.map((R, P) => (R.sortOrder = P, R));
1458
+ o.value.reorder(p);
1461
1459
  }
1462
1460
  }
1463
1461
  function L() {
@@ -1466,163 +1464,163 @@ const So = /* @__PURE__ */ H({
1466
1464
  function T() {
1467
1465
  f.value || (u.value = !1);
1468
1466
  }
1469
- async function v(p) {
1467
+ async function I(m) {
1470
1468
  if (!f.value) {
1471
- const R = p.dataTransfer?.files;
1472
- if (R && R.length)
1469
+ const p = m.dataTransfer?.files;
1470
+ if (p && p.length)
1473
1471
  try {
1474
- await O(R);
1475
- } catch (b) {
1476
- throw t.error("Failed to upload dropped files:", b), b;
1472
+ await O(p);
1473
+ } catch (R) {
1474
+ throw t.error("Failed to upload dropped files:", R), R;
1477
1475
  }
1478
1476
  u.value = !1;
1479
1477
  }
1480
1478
  }
1481
- function w() {
1479
+ function v() {
1482
1480
  E.value.value = "", E.value.click();
1483
1481
  }
1484
- async function O(p) {
1485
- if (!p || p.length === 0) return;
1486
- const R = new Set((r.value ?? []).map((B) => B.name).filter(Boolean)), b = new DataTransfer();
1487
- for (const B of Array.from(p)) {
1488
- let U = B.name;
1489
- if (R.has(U)) {
1490
- const Z = U.includes(".") ? `.${U.split(".").pop()}` : "", We = U.slice(0, U.length - Z.length);
1491
- let Se = 1;
1492
- for (; R.has(U); )
1493
- U = `${We}_${Se}${Z}`, Se++;
1482
+ async function O(m) {
1483
+ if (!m || m.length === 0) return;
1484
+ const p = new Set((r.value ?? []).map((P) => P.name).filter(Boolean)), R = new DataTransfer();
1485
+ for (const P of Array.from(m)) {
1486
+ let M = P.name;
1487
+ if (p.has(M)) {
1488
+ const F = M.includes(".") ? `.${M.split(".").pop()}` : "", pe = M.slice(0, M.length - F.length);
1489
+ let ee = 1;
1490
+ for (; p.has(M); )
1491
+ M = `${pe}_${ee}${F}`, ee++;
1494
1492
  }
1495
- R.add(U), b.items.add(new File([B], U, { type: B.type }));
1493
+ p.add(M), R.items.add(new File([P], M, { type: P.type }));
1496
1494
  }
1497
1495
  try {
1498
- const B = r.value.reduce((U, Z) => Math.max(U, Z.sortOrder ?? 0), -1);
1499
- await o.value.upload(b.files, B);
1500
- } catch (B) {
1501
- throw t.error("Failed to upload assets:", B), B;
1496
+ const P = r.value.reduce((M, F) => Math.max(M, F.sortOrder ?? 0), -1);
1497
+ await o.value.upload(R.files, P);
1498
+ } catch (P) {
1499
+ throw t.error("Failed to upload assets:", P), P;
1502
1500
  }
1503
1501
  }
1504
- async function h(p) {
1505
- const b = p.target.files;
1506
- if (b && b.length)
1502
+ async function h(m) {
1503
+ const R = m.target.files;
1504
+ if (R && R.length)
1507
1505
  try {
1508
- await O(b);
1509
- } catch (B) {
1510
- throw t.error("Failed to upload files:", B), B;
1506
+ await O(R);
1507
+ } catch (P) {
1508
+ throw t.error("Failed to upload files:", P), P;
1511
1509
  }
1512
1510
  }
1513
- function g(p) {
1511
+ function N(m) {
1514
1512
  n({
1515
1513
  name: "AssetsDetails",
1516
1514
  options: {
1517
- asset: i(p),
1515
+ asset: i(m),
1518
1516
  disabled: f.value,
1519
1517
  hiddenFields: a.value?.hiddenFields,
1520
- assetEditHandler: (R) => {
1521
- o.value.updateItem(R);
1518
+ assetEditHandler: (p) => {
1519
+ o.value.updateItem(p);
1522
1520
  },
1523
- assetRemoveHandler: async (R) => {
1524
- await o.value.remove(R);
1521
+ assetRemoveHandler: async (p) => {
1522
+ await o.value.remove(p);
1525
1523
  }
1526
1524
  }
1527
- }).catch((R) => {
1528
- t.error("Failed to open AssetsDetails blade:", R);
1525
+ }).catch((p) => {
1526
+ t.error("Failed to open AssetsDetails blade:", p);
1529
1527
  });
1530
1528
  }
1531
- const _ = () => [
1529
+ const y = () => [
1532
1530
  {
1533
1531
  icon: "lucide-trash-2",
1534
- title: C(() => s("ASSETS_MANAGER.TABLE.ACTIONS.DELETE")),
1532
+ title: w(() => s("ASSETS_MANAGER.TABLE.ACTIONS.DELETE")),
1535
1533
  type: "danger",
1536
- async clickHandler(p) {
1537
- await o.value.remove(p), m.value = [];
1534
+ async clickHandler(m) {
1535
+ await o.value.remove(m), g.value = [];
1538
1536
  }
1539
1537
  }
1540
1538
  ];
1541
- return (p, R) => (P(), D(i(Ft), {
1539
+ return (m, p) => (C(), D(i(Ft), {
1542
1540
  title: d.value,
1543
1541
  "toolbar-items": c.value,
1544
1542
  width: "70%"
1545
1543
  }, {
1546
1544
  default: A(() => [
1547
- Qa((P(), W("div", {
1545
+ Qa((C(), H("div", {
1548
1546
  class: "tw-relative tw-h-full tw-flex-1",
1549
1547
  onDragover: He(L, ["prevent", "stop"]),
1550
1548
  onDragleave: He(T, ["prevent"]),
1551
- onDrop: He(v, ["prevent", "stop"])
1549
+ onDrop: He(I, ["prevent", "stop"])
1552
1550
  }, [
1553
- I(i(pn), {
1554
- selection: m.value,
1555
- "onUpdate:selection": R[0] || (R[0] = (b) => m.value = b),
1551
+ _(i(mn), {
1552
+ selection: g.value,
1553
+ "onUpdate:selection": p[0] || (p[0] = (R) => g.value = R),
1556
1554
  items: r.value,
1557
1555
  "state-key": "assets_manager",
1558
1556
  "reorderable-rows": !f.value,
1559
1557
  "selection-mode": f.value ? void 0 : "multiple",
1560
- "row-actions": f.value ? void 0 : _,
1558
+ "row-actions": f.value ? void 0 : y,
1561
1559
  "empty-state": {
1562
1560
  icon: "lucide-cloud-upload",
1563
- title: p.$t("ASSETS_MANAGER.EMPTY.UPLOAD_ASSETS"),
1564
- actionLabel: p.$t("ASSETS_MANAGER.EMPTY.UPLOAD"),
1565
- actionHandler: w
1561
+ title: m.$t("ASSETS_MANAGER.EMPTY.UPLOAD_ASSETS"),
1562
+ actionLabel: m.$t("ASSETS_MANAGER.EMPTY.UPLOAD"),
1563
+ actionHandler: v
1566
1564
  },
1567
1565
  class: "tw-h-full tw-w-full",
1568
- onRowClick: R[1] || (R[1] = ({ data: b }) => g(b)),
1566
+ onRowClick: p[1] || (p[1] = ({ data: R }) => N(R)),
1569
1567
  onRowReorder: S
1570
1568
  }, {
1571
1569
  default: A(() => [
1572
- I(i(pe), {
1570
+ _(i(Ae), {
1573
1571
  id: "url",
1574
1572
  title: i(s)("ASSETS_MANAGER.TABLE.HEADER.IMAGE"),
1575
1573
  width: "10%",
1576
1574
  "always-visible": "",
1577
1575
  type: "image"
1578
1576
  }, {
1579
- body: A(({ data: b }) => [
1580
- k("div", go, [
1581
- i(Kt)(b.name ?? "") ? (P(), D(i(it), {
1577
+ body: A(({ data: R }) => [
1578
+ V("div", go, [
1579
+ i(Kt)(R.name ?? "") ? (C(), D(i(it), {
1582
1580
  key: 0,
1583
1581
  bordered: !0,
1584
1582
  size: "s",
1585
1583
  aspect: "1x1",
1586
- src: b.url,
1584
+ src: R.url,
1587
1585
  background: "contain"
1588
- }, null, 8, ["src"])) : (P(), W("div", {
1586
+ }, null, 8, ["src"])) : (C(), H("div", {
1589
1587
  key: 1,
1590
1588
  class: "assets-manager__file-badge",
1591
- style: kt({ backgroundColor: i(qt)(b.name ?? "") })
1592
- }, y(i(Yt)(b.name ?? "")), 5))
1589
+ style: kt({ backgroundColor: i(qt)(R.name ?? "") })
1590
+ }, B(i(Yt)(R.name ?? "")), 5))
1593
1591
  ])
1594
1592
  ]),
1595
1593
  _: 1
1596
1594
  }, 8, ["title"]),
1597
- I(i(pe), {
1595
+ _(i(Ae), {
1598
1596
  id: "name",
1599
1597
  title: i(s)("ASSETS_MANAGER.TABLE.HEADER.NAME"),
1600
1598
  width: "20%",
1601
1599
  "always-visible": ""
1602
1600
  }, null, 8, ["title"]),
1603
- I(i(pe), {
1601
+ _(i(Ae), {
1604
1602
  id: "size",
1605
1603
  title: i(s)("ASSETS_MANAGER.TABLE.HEADER.SIZE"),
1606
1604
  width: "20%",
1607
1605
  "always-visible": ""
1608
1606
  }, {
1609
- body: A(({ data: b }) => [
1610
- k("div", null, y(i(zt)(b.size ?? 0)), 1)
1607
+ body: A(({ data: R }) => [
1608
+ V("div", null, B(i(zt)(R.size ?? 0)), 1)
1611
1609
  ]),
1612
1610
  _: 1
1613
1611
  }, 8, ["title"]),
1614
- I(i(pe), {
1612
+ _(i(Ae), {
1615
1613
  id: "sortOrder",
1616
1614
  title: i(s)("ASSETS_MANAGER.TABLE.HEADER.SORT_ORDER"),
1617
1615
  width: "25%",
1618
1616
  "always-visible": ""
1619
1617
  }, {
1620
- body: A(({ data: b }) => [
1621
- k("div", null, y(b.sortOrder), 1)
1618
+ body: A(({ data: R }) => [
1619
+ V("div", null, B(R.sortOrder), 1)
1622
1620
  ]),
1623
1621
  _: 1
1624
1622
  }, 8, ["title"]),
1625
- I(i(pe), {
1623
+ _(i(Ae), {
1626
1624
  id: "createdDate",
1627
1625
  title: i(s)("ASSETS_MANAGER.TABLE.HEADER.CREATED_DATE"),
1628
1626
  width: "25%",
@@ -1635,7 +1633,7 @@ const So = /* @__PURE__ */ H({
1635
1633
  ], 32)), [
1636
1634
  [i(Ma), l.value]
1637
1635
  ]),
1638
- k("input", {
1636
+ V("input", {
1639
1637
  ref_key: "uploader",
1640
1638
  ref: E,
1641
1639
  type: "file",
@@ -1651,15 +1649,15 @@ const So = /* @__PURE__ */ H({
1651
1649
  }), po = So, Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1652
1650
  __proto__: null,
1653
1651
  AssetsManager: po
1654
- }, Symbol.toStringTag, { value: "Module" })), To = ct({ blades: Ao }), Ot = V("connection-status"), Rt = "vc-framework-offline-status", _t = N(!1), It = N(!0);
1652
+ }, Symbol.toStringTag, { value: "Module" })), To = ct({ blades: Ao }), Ot = U("connection-status"), Rt = "vc-framework-offline-status", _t = b(!1), It = b(!0);
1655
1653
  function Qt() {
1656
1654
  if (!_t.value && typeof window < "u") {
1657
1655
  _t.value = !0;
1658
1656
  const { isOnline: e } = Da();
1659
- ae(
1657
+ ne(
1660
1658
  e,
1661
1659
  (t) => {
1662
- It.value = t, t ? (Ot.info("Network connection restored"), z.remove(Rt), document.documentElement.classList.remove("vc-offline")) : (Ot.warn("Network connection lost"), z.warning("You are currently offline. Some features may be unavailable.", {
1660
+ It.value = t, t ? (Ot.info("Network connection restored"), q.remove(Rt), document.documentElement.classList.remove("vc-offline")) : (Ot.warn("Network connection lost"), q.warning("You are currently offline. Some features may be unavailable.", {
1663
1661
  notificationId: Rt,
1664
1662
  timeout: !1
1665
1663
  }), document.documentElement.classList.add("vc-offline"));
@@ -1668,32 +1666,32 @@ function Qt() {
1668
1666
  );
1669
1667
  }
1670
1668
  return {
1671
- isOnline: Be(It)
1669
+ isOnline: Me(It)
1672
1670
  };
1673
1671
  }
1674
- const qe = V("slow-network"), ho = 1e4, Lo = ["slow-2g", "2g"];
1672
+ const qe = U("slow-network"), ho = 1e4, Lo = ["slow-2g", "2g"];
1675
1673
  let Ye = null;
1676
1674
  const ea = "vc-framework-slow-network", Oo = 3e3, Ro = "Your network is slow or the server is taking longer than usual. Please be patient.";
1677
- let te = null;
1675
+ let ae = null;
1678
1676
  function vt() {
1679
- z.warning(Ro, {
1677
+ q.warning(Ro, {
1680
1678
  notificationId: ea,
1681
1679
  timeout: !1
1682
1680
  });
1683
1681
  }
1684
1682
  function wt() {
1685
- z.remove(ea);
1683
+ q.remove(ea);
1686
1684
  }
1687
- const Ct = N(!1), Me = N(0), et = N(!1), ke = /* @__PURE__ */ new Map(), tt = /* @__PURE__ */ new Set(), je = C(() => Me.value > 0 || et.value);
1685
+ const Ct = b(!1), ke = b(0), et = b(!1), Ve = /* @__PURE__ */ new Map(), tt = /* @__PURE__ */ new Set(), je = w(() => ke.value > 0 || et.value);
1688
1686
  function _o(e) {
1689
1687
  const t = setTimeout(() => {
1690
- Me.value++, ke.delete(e), tt.add(e);
1688
+ ke.value++, Ve.delete(e), tt.add(e);
1691
1689
  }, ho);
1692
- ke.set(e, t);
1690
+ Ve.set(e, t);
1693
1691
  }
1694
1692
  function Io(e) {
1695
- const t = ke.get(e);
1696
- t != null ? (clearTimeout(t), ke.delete(e)) : tt.has(e) && (Me.value = Math.max(0, Me.value - 1), tt.delete(e));
1693
+ const t = Ve.get(e);
1694
+ t != null ? (clearTimeout(t), Ve.delete(e)) : tt.has(e) && (ke.value = Math.max(0, ke.value - 1), tt.delete(e));
1697
1695
  }
1698
1696
  function ta() {
1699
1697
  if (!Ct.value && typeof window < "u") {
@@ -1704,12 +1702,12 @@ function ta() {
1704
1702
  a !== et.value && qe.info(`Connection type: ${e.effectiveType} → ${a ? "slow" : "normal"}`), et.value = a;
1705
1703
  }, e.addEventListener("change", Ye), Ye());
1706
1704
  const { isOnline: t } = Qt();
1707
- ae(je, (a) => {
1708
- a ? (te != null && (clearTimeout(te), te = null), t.value && (qe.info("Slow network detected — showing notification"), vt())) : te = setTimeout(() => {
1709
- qe.info("Network recovered — hiding notification"), wt(), te = null;
1705
+ ne(je, (a) => {
1706
+ a ? (ae != null && (clearTimeout(ae), ae = null), t.value && (qe.info("Slow network detected — showing notification"), vt())) : ae = setTimeout(() => {
1707
+ qe.info("Network recovered — hiding notification"), wt(), ae = null;
1710
1708
  }, Oo);
1711
- }), ae(t, (a) => {
1712
- a ? je.value && vt() : (te != null && (clearTimeout(te), te = null), wt());
1709
+ }), ne(t, (a) => {
1710
+ a ? je.value && vt() : (ae != null && (clearTimeout(ae), ae = null), wt());
1713
1711
  });
1714
1712
  }
1715
1713
  return {
@@ -1718,7 +1716,7 @@ function ta() {
1718
1716
  untrackRequest: Io
1719
1717
  };
1720
1718
  }
1721
- const Ae = V("interceptors"), vo = /(^|\/)(login|signin|sign-in|account\/login|connect\/authorize)(\/|$)/i;
1719
+ const Te = U("interceptors"), vo = /(^|\/)(login|signin|sign-in|account\/login|connect\/authorize)(\/|$)/i;
1722
1720
  function wo(e) {
1723
1721
  let t;
1724
1722
  try {
@@ -1733,16 +1731,16 @@ function wo(e) {
1733
1731
  }
1734
1732
  function Co(e) {
1735
1733
  if (window.fetch.__vcInterceptorsInstalled__)
1736
- return Ae.warn("registerInterceptors called twice — ignoring second install"), window.fetch;
1737
- const { fetch: a } = window, { signOut: n, isAuthenticated: s } = se(), { trackRequest: o, untrackRequest: r } = ta();
1734
+ return Te.warn("registerInterceptors called twice — ignoring second install"), window.fetch;
1735
+ const { fetch: a } = window, { signOut: n, isAuthenticated: s } = oe(), { trackRequest: o, untrackRequest: r } = ta();
1738
1736
  let l = 0;
1739
1737
  const d = (async (...u) => {
1740
1738
  if (window.__DEMO_MODE__)
1741
- return Ae.warn("CANCELLED FETCH WHILE IN __DEMO_MODE__: ", ...u), Ae.warn("Please logout and add APP_PLATFORM_URL into .env file of your application to enable API calls"), new Promise((E) => {
1739
+ return Te.warn("CANCELLED FETCH WHILE IN __DEMO_MODE__: ", ...u), Te.warn("Please logout and add APP_PLATFORM_URL into .env file of your application to enable API calls"), new Promise((E) => {
1742
1740
  u[0] === "/api/platform/security/login" ? E({
1743
1741
  status: 200,
1744
1742
  text: async () => JSON.stringify({ succeeded: !0 })
1745
- }) : u[0] === "/api/platform/security/currentuser" ? (z.warning(
1743
+ }) : u[0] === "/api/platform/security/currentuser" ? (q.warning(
1746
1744
  `You are currently in DEMO mode until the first page refresh.
1747
1745
  All API calls are disabled. Please add APP_PLATFORM_URL to your application's .env file to enable API calls.`,
1748
1746
  {
@@ -1760,44 +1758,44 @@ function Co(e) {
1760
1758
  let E = function(O) {
1761
1759
  const h = typeof O == "string" ? O : O instanceof Request ? O.url : O.toString();
1762
1760
  try {
1763
- const g = new URL(h, window.location.origin);
1764
- return g.origin === window.location.origin && g.pathname.startsWith("/api/");
1761
+ const N = new URL(h, window.location.origin);
1762
+ return N.origin === window.location.origin && N.pathname.startsWith("/api/");
1765
1763
  } catch {
1766
1764
  return !1;
1767
1765
  }
1768
1766
  };
1769
- const [m, f] = u;
1770
- if (!E(m))
1767
+ const [g, f] = u;
1768
+ if (!E(g))
1771
1769
  return a(...u);
1772
1770
  if (!navigator.onLine)
1773
- return Ae.warn("Request blocked: browser is offline", m), Promise.reject(new Error("Network unavailable. Please check your connection."));
1771
+ return Te.warn("Request blocked: browser is offline", g), Promise.reject(new Error("Network unavailable. Please check your connection."));
1774
1772
  const c = String(++l);
1775
1773
  o(c);
1776
1774
  const S = new AbortController();
1777
1775
  let L = !1;
1778
1776
  const T = setTimeout(() => {
1779
1777
  L = !0, S.abort();
1780
- }, 3e4), v = f?.signal, w = () => S.abort();
1781
- v?.aborted ? w() : v && v.addEventListener("abort", w, { once: !0 });
1778
+ }, 3e4), I = f?.signal, v = () => S.abort();
1779
+ I?.aborted ? v() : I && I.addEventListener("abort", v, { once: !0 });
1782
1780
  try {
1783
- const O = await a(m, {
1781
+ const O = await a(g, {
1784
1782
  ...f || {},
1785
1783
  signal: S.signal
1786
1784
  }), h = O.ok && wo(O);
1787
- if ((O.status === 401 || h) && !Qe() && s.value && (bn(), n().catch((_) => {
1788
- Ae.error("signOut failed after session expiry:", _);
1785
+ if ((O.status === 401 || h) && !Qe() && s.value && (In(), n().catch((y) => {
1786
+ Te.error("signOut failed after session expiry:", y);
1789
1787
  }).finally(() => {
1790
- bo(e), z.error(
1788
+ bo(e), q.error(
1791
1789
  `Access Denied: Your session has expired or you do not have the necessary permissions.
1792
1790
  Please log in again or contact the administrator for assistance.`
1793
1791
  );
1794
1792
  })), h && Qe())
1795
- throw new Pn();
1793
+ throw new vn();
1796
1794
  return O;
1797
1795
  } catch (O) {
1798
1796
  throw L ? new Error("Request timed out. Please try again.") : O;
1799
1797
  } finally {
1800
- r(c), clearTimeout(T), v && v.removeEventListener("abort", w);
1798
+ r(c), clearTimeout(T), I && I.removeEventListener("abort", v);
1801
1799
  }
1802
1800
  }
1803
1801
  });
@@ -1874,17 +1872,17 @@ const aa = { THEMES: { LIGHT: "Light", DARK: "Dark" }, NOTIFICATIONS: { CLEAR_AL
1874
1872
  __proto__: null,
1875
1873
  de: yo,
1876
1874
  en: No
1877
- }, Symbol.toStringTag, { value: "Module" })), Ze = V("global-error-handler");
1878
- function Pe(e) {
1875
+ }, Symbol.toStringTag, { value: "Module" })), Ze = U("global-error-handler");
1876
+ function Ne(e) {
1879
1877
  return e instanceof Error ? `${e.name}:${e.message}` : String(e);
1880
1878
  }
1881
- const Te = /* @__PURE__ */ new Map(), bt = 3e3;
1879
+ const he = /* @__PURE__ */ new Map(), bt = 3e3;
1882
1880
  function Xe(e) {
1883
- const t = Pe(e), a = Date.now(), n = Te.get(t);
1881
+ const t = Ne(e), a = Date.now(), n = he.get(t);
1884
1882
  if (n && a - n < bt) return !0;
1885
- if (Te.set(t, a), Te.size > 50)
1886
- for (const [s, o] of Te)
1887
- a - o > bt && Te.delete(s);
1883
+ if (he.set(t, a), he.size > 50)
1884
+ for (const [s, o] of he)
1885
+ a - o > bt && he.delete(s);
1888
1886
  return !1;
1889
1887
  }
1890
1888
  function Mo(e) {
@@ -1892,10 +1890,10 @@ function Mo(e) {
1892
1890
  if (e.config.errorHandler = (o, r, l) => {
1893
1891
  if (Ze.error("Unhandled Vue error:", o, `
1894
1892
  Info:`, l), !Xe(o)) {
1895
- const d = Ce(o);
1896
- z.error(d.message, {
1893
+ const d = be(o);
1894
+ q.error(d.message, {
1897
1895
  timeout: 8e3,
1898
- notificationId: `global-vue-${Pe(o)}`
1896
+ notificationId: `global-vue-${Ne(o)}`
1899
1897
  });
1900
1898
  }
1901
1899
  t?.(o, r, l);
@@ -1905,26 +1903,26 @@ Info:`, l), !Xe(o)) {
1905
1903
  a.__VC_GLOBAL_ERROR_HANDLERS_INSTALLED__ = !0;
1906
1904
  const n = (o) => {
1907
1905
  if (Ze.error("Unhandled rejection:", o.reason), !Xe(o.reason)) {
1908
- const r = Ce(o.reason);
1909
- z.error(r.message, {
1906
+ const r = be(o.reason);
1907
+ q.error(r.message, {
1910
1908
  timeout: 8e3,
1911
- notificationId: `global-rejection-${Pe(o.reason)}`
1909
+ notificationId: `global-rejection-${Ne(o.reason)}`
1912
1910
  });
1913
1911
  }
1914
1912
  };
1915
1913
  window.addEventListener("unhandledrejection", n);
1916
1914
  const s = (o) => {
1917
1915
  if (o.error && (Ze.error("Uncaught error:", o.error), !Xe(o.error))) {
1918
- const r = Ce(o.error);
1919
- z.error(r.message, {
1916
+ const r = be(o.error);
1917
+ q.error(r.message, {
1920
1918
  timeout: 8e3,
1921
- notificationId: `global-error-${Pe(o.error)}`
1919
+ notificationId: `global-error-${Ne(o.error)}`
1922
1920
  });
1923
1921
  }
1924
1922
  };
1925
1923
  window.addEventListener("error", s);
1926
1924
  }
1927
- const ko = V("notification-instance"), Y = {
1925
+ const ko = U("notification-instance"), j = {
1928
1926
  "top-center": void 0,
1929
1927
  "top-right": void 0,
1930
1928
  "top-left": void 0,
@@ -1934,25 +1932,25 @@ const ko = V("notification-instance"), Y = {
1934
1932
  };
1935
1933
  function Vo() {
1936
1934
  function e(s, o, r) {
1937
- document.getElementById(o) && (Y[r] = s);
1935
+ document.getElementById(o) && (j[r] = s);
1938
1936
  }
1939
1937
  function t(s) {
1940
1938
  try {
1941
- s ? Y[s] && (Y[s]?.unmount(), document.getElementById(`notification-${s}`)?.remove(), Y[s] = void 0) : (Object.keys(Y).forEach((r) => {
1939
+ s ? j[s] && (j[s]?.unmount(), document.getElementById(`notification-${s}`)?.remove(), j[s] = void 0) : (Object.keys(j).forEach((r) => {
1942
1940
  const l = r;
1943
- Y[l]?.unmount(), document.getElementById(`notification-${l}`)?.remove(), Y[l] = void 0;
1944
- }), Object.values(Y).some((r) => r !== void 0) || document.querySelector(".notification")?.remove());
1941
+ j[l]?.unmount(), document.getElementById(`notification-${l}`)?.remove(), j[l] = void 0;
1942
+ }), Object.values(j).some((r) => r !== void 0) || document.querySelector(".notification")?.remove());
1945
1943
  } catch (o) {
1946
1944
  ko.error("Failed to unmount notification component:", o);
1947
1945
  }
1948
1946
  }
1949
1947
  function a() {
1950
- Object.keys(Y).forEach((s) => {
1951
- Y[s] && t(s);
1948
+ Object.keys(j).forEach((s) => {
1949
+ j[s] && t(s);
1952
1950
  });
1953
1951
  }
1954
1952
  function n(s) {
1955
- return Y[s];
1953
+ return j[s];
1956
1954
  }
1957
1955
  return {
1958
1956
  saveInstance: e,
@@ -1961,48 +1959,48 @@ function Vo() {
1961
1959
  getInstanceByPosition: n
1962
1960
  };
1963
1961
  }
1964
- const de = V("notification-container"), G = {
1965
- "top-center": N([]),
1966
- "top-right": N([]),
1967
- "top-left": N([]),
1968
- "bottom-center": N([]),
1969
- "bottom-right": N([]),
1970
- "bottom-left": N([])
1962
+ const ce = U("notification-container"), x = {
1963
+ "top-center": b([]),
1964
+ "top-right": b([]),
1965
+ "top-left": b([]),
1966
+ "bottom-center": b([]),
1967
+ "bottom-right": b([]),
1968
+ "bottom-left": b([])
1971
1969
  }, { clearContainer: Uo, unmountComponent: Fo, saveInstance: Wo, getInstanceByPosition: Pt } = Vo();
1972
1970
  function Ho() {
1973
- const e = ie({
1971
+ const e = le({
1974
1972
  timeout: 3e3,
1975
1973
  pauseOnHover: !0,
1976
1974
  position: "top-center"
1977
1975
  });
1978
1976
  function t() {
1979
- return Object.values(G).flatMap((u) => u.value);
1977
+ return Object.values(x).flatMap((u) => u.value);
1980
1978
  }
1981
1979
  function a(u) {
1982
- return G[u].value;
1980
+ return x[u].value;
1983
1981
  }
1984
1982
  function n(u) {
1985
1983
  return t().find((E) => E.notificationId === u);
1986
1984
  }
1987
1985
  function s(u) {
1988
- const E = document.querySelector(".notification"), m = E || document.createElement("div"), f = `.notification__container[data-position="${u}"]`;
1986
+ const E = document.querySelector(".notification"), g = E || document.createElement("div"), f = `.notification__container[data-position="${u}"]`;
1989
1987
  let c = document.querySelector(f);
1990
- return c || (c = document.createElement("div"), c.className = "notification__container", c.id = `notification-${u}`, c.setAttribute("data-position", u), E || (m.className = "notification", document.body.appendChild(m)), m.appendChild(c)), c;
1988
+ return c || (c = document.createElement("div"), c.className = "notification__container", c.id = `notification-${u}`, c.setAttribute("data-position", u), E || (g.className = "notification", document.body.appendChild(g)), g.appendChild(c)), c;
1991
1989
  }
1992
1990
  const o = /* @__PURE__ */ new Map();
1993
1991
  async function r(u) {
1994
- const E = u.position || e.position, m = o.get(E);
1995
- if (m && await m, !Pt(E)) {
1992
+ const E = u.position || e.position, g = o.get(E);
1993
+ if (g && await g, !Pt(E)) {
1996
1994
  const f = (async () => {
1997
1995
  const c = s(E), { default: S } = await Promise.resolve().then(() => pr), L = en(S, {
1998
1996
  ...u,
1999
1997
  position: E
2000
1998
  });
2001
- L.use(X), L.provide(jt, { notificationContainers: G, actions: d }), L.mount(c), Wo(L, c.id, E);
1999
+ L.use(X), L.provide(jt, { notificationContainers: x, actions: d }), L.mount(c), Wo(L, c.id, E);
2002
2000
  })();
2003
2001
  o.set(E, f), await f, o.delete(E);
2004
2002
  }
2005
- be(() => {
2003
+ Pe(() => {
2006
2004
  u.updateId ? d.update(u) : d.add(u);
2007
2005
  });
2008
2006
  }
@@ -2011,54 +2009,54 @@ function Ho() {
2011
2009
  }
2012
2010
  const d = {
2013
2011
  add(u) {
2014
- const E = u.position || e.position, m = G[E];
2015
- m.value.find((c) => c.notificationId === u.notificationId) || be(() => {
2016
- m.value.push(u), u.onOpen && typeof u?.onOpen == "function" && u.onOpen(u.payload);
2012
+ const E = u.position || e.position, g = x[E];
2013
+ g.value.find((c) => c.notificationId === u.notificationId) || Pe(() => {
2014
+ g.value.push(u), u.onOpen && typeof u?.onOpen == "function" && u.onOpen(u.payload);
2017
2015
  });
2018
2016
  },
2019
2017
  remove(u) {
2020
2018
  if (u) {
2021
- let E, m;
2022
- Object.entries(G).forEach(([f, c]) => {
2019
+ let E, g;
2020
+ Object.entries(x).forEach(([f, c]) => {
2023
2021
  const S = c.value.find((L) => L.notificationId === u);
2024
- S && (E = S, m = f);
2025
- }), m && (G[m].value = G[m].value.filter((f) => f.notificationId !== u), G[m].value.length === 0 && Fo(m), be(() => {
2022
+ S && (E = S, g = f);
2023
+ }), g && (x[g].value = x[g].value.filter((f) => f.notificationId !== u), x[g].value.length === 0 && Fo(g), Pe(() => {
2026
2024
  E?.onClose && typeof E?.onClose == "function" && E.onClose(E.payload);
2027
2025
  }));
2028
2026
  }
2029
2027
  },
2030
2028
  clear() {
2031
- Uo(), Object.values(G).forEach((u) => {
2029
+ Uo(), Object.values(x).forEach((u) => {
2032
2030
  u.value = [];
2033
2031
  });
2034
2032
  },
2035
2033
  dismiss(u) {
2036
2034
  if (!u) return;
2037
2035
  let E = !1;
2038
- Object.values(G).forEach((m) => {
2039
- m.value.forEach((f) => {
2036
+ Object.values(x).forEach((g) => {
2037
+ g.value.forEach((f) => {
2040
2038
  f.notificationId === u && (f.dismissing = !0, E = !0);
2041
2039
  });
2042
- }), E || de.debug(`dismiss: notification ${u} not found`);
2040
+ }), E || ce.debug(`dismiss: notification ${u} not found`);
2043
2041
  },
2044
2042
  update(u) {
2045
2043
  if (u.updateId) {
2046
- let E, m, f;
2047
- if (Object.entries(G).forEach(([c, S]) => {
2044
+ let E, g, f;
2045
+ if (Object.entries(x).forEach(([c, S]) => {
2048
2046
  const L = S.value.find((T) => T.notificationId === u.notificationId);
2049
- L && (E = L, m = S, f = c);
2050
- }), E && m) {
2051
- if (de.debug(`Updating notification ${u.notificationId} in position ${f}`), u.position && u.position !== f) {
2052
- m.value = m.value.filter(
2047
+ L && (E = L, g = S, f = c);
2048
+ }), E && g) {
2049
+ if (ce.debug(`Updating notification ${u.notificationId} in position ${f}`), u.position && u.position !== f) {
2050
+ g.value = g.value.filter(
2053
2051
  (L) => L.notificationId !== u.notificationId
2054
2052
  );
2055
2053
  const c = {
2056
2054
  ...E,
2057
2055
  ...u
2058
2056
  }, S = u.position;
2059
- Pt(S) ? (de.debug(`Adding to existing container for position ${S}`), G[S].value.push(c)) : (de.debug(`Creating new container for position ${S}`), r(c));
2057
+ Pt(S) ? (ce.debug(`Adding to existing container for position ${S}`), x[S].value.push(c)) : (ce.debug(`Creating new container for position ${S}`), r(c));
2060
2058
  } else
2061
- de.debug("Standard update of notification properties"), Object.keys(u).forEach((c) => {
2059
+ ce.debug("Standard update of notification properties"), Object.keys(u).forEach((c) => {
2062
2060
  if (c !== "updateId" && c !== "notificationId") {
2063
2061
  const S = c, L = u[S];
2064
2062
  E && L !== void 0 && (E[S] = L);
@@ -2066,7 +2064,7 @@ function Ho() {
2066
2064
  });
2067
2065
  return !0;
2068
2066
  } else
2069
- return de.warn(`Notification with ID ${u.notificationId} not found for update`), !1;
2067
+ return ce.warn(`Notification with ID ${u.notificationId} not found for update`), !1;
2070
2068
  }
2071
2069
  return !1;
2072
2070
  },
@@ -2076,7 +2074,7 @@ function Ho() {
2076
2074
  };
2077
2075
  return {
2078
2076
  defaultOptions: e,
2079
- notificationContainers: G,
2077
+ notificationContainers: x,
2080
2078
  actions: d,
2081
2079
  getAllNotifications: t,
2082
2080
  getNotificationsByPosition: a,
@@ -2097,12 +2095,12 @@ function Go() {
2097
2095
  hasNotification: (t) => e.hasNotification(t)
2098
2096
  });
2099
2097
  }
2100
- const xo = "2.5.0-pr317.07f1a32";
2098
+ const xo = "2.5.0-pr318.8ac1569";
2101
2099
  function $o() {
2102
2100
  return {
2103
2101
  version: xo,
2104
- buildDate: "2026-08-25T11:32:32.827Z",
2105
- gitHash: "07f1a3244"
2102
+ buildDate: "2026-08-26T12:25:09.305Z",
2103
+ gitHash: "8ac156903"
2106
2104
  };
2107
2105
  }
2108
2106
  function Ko(e = $o()) {
@@ -2112,7 +2110,7 @@ function Ko(e = $o()) {
2112
2110
  "color:inherit"
2113
2111
  );
2114
2112
  }
2115
- const zo = /* @__PURE__ */ H({
2113
+ const zo = /* @__PURE__ */ G({
2116
2114
  __name: "sidebar",
2117
2115
  props: {
2118
2116
  position: { default: "right" },
@@ -2123,11 +2121,11 @@ const zo = /* @__PURE__ */ H({
2123
2121
  },
2124
2122
  emits: ["close"],
2125
2123
  setup(e, { emit: t }) {
2126
- const a = e, n = t, { isMobile: s, isDesktop: o } = Ua(), r = C(() => a.render === "always" ? !0 : a.render === "mobile" ? s.value : o.value), l = C(() => a.isExpanded && r.value);
2124
+ const a = e, n = t, { isMobile: s, isDesktop: o } = Ua(), r = w(() => a.render === "always" ? !0 : a.render === "mobile" ? s.value : o.value), l = w(() => a.isExpanded && r.value);
2127
2125
  function d(u) {
2128
2126
  u || n("close");
2129
2127
  }
2130
- return (u, E) => l.value ? (P(), D(i(An), {
2128
+ return (u, E) => l.value ? (C(), D(i(gn), {
2131
2129
  key: 0,
2132
2130
  "model-value": !0,
2133
2131
  position: e.position,
@@ -2135,22 +2133,22 @@ const zo = /* @__PURE__ */ H({
2135
2133
  "close-button": e.closeCross,
2136
2134
  teleport: !i(o),
2137
2135
  "onUpdate:modelValue": d
2138
- }, Le({
2136
+ }, Oe({
2139
2137
  default: A(() => [
2140
- q(u.$slots, "content")
2138
+ Y(u.$slots, "content")
2141
2139
  ]),
2142
2140
  _: 2
2143
2141
  }, [
2144
2142
  u.$slots.header ? {
2145
2143
  name: "header",
2146
- fn: A(({ close: m }) => [
2147
- q(u.$slots, "header", { close: m })
2144
+ fn: A(({ close: g }) => [
2145
+ Y(u.$slots, "header", { close: g })
2148
2146
  ]),
2149
2147
  key: "0"
2150
2148
  } : void 0
2151
- ]), 1032, ["position", "title", "close-button", "teleport"])) : q(u.$slots, "content", { key: 1 });
2149
+ ]), 1032, ["position", "title", "close-button", "teleport"])) : Y(u.$slots, "content", { key: 1 });
2152
2150
  }
2153
- }), yl = zo, qo = { class: "tw-flex tw-flex-row tw-items-center tw-gap-2" }, Yo = /* @__PURE__ */ H({
2151
+ }), yl = zo, qo = { class: "tw-flex tw-flex-row tw-items-center tw-gap-2" }, Yo = /* @__PURE__ */ G({
2154
2152
  __name: "external-provider",
2155
2153
  props: {
2156
2154
  logo: {},
@@ -2159,34 +2157,34 @@ const zo = /* @__PURE__ */ H({
2159
2157
  },
2160
2158
  emits: ["signIn"],
2161
2159
  setup(e) {
2162
- const t = e, a = C(() => t.logo && !t.logo.startsWith("data:image") && !t.logo.startsWith("http") ? new URL(t.logo, window.location.origin).toString() : t.logo);
2163
- return (n, s) => (P(), D(i(x), {
2160
+ const t = e, a = w(() => t.logo && !t.logo.startsWith("data:image") && !t.logo.startsWith("http") ? new URL(t.logo, window.location.origin).toString() : t.logo);
2161
+ return (n, s) => (C(), D(i($), {
2164
2162
  variant: "secondary",
2165
2163
  class: "vc-external-provider",
2166
2164
  onClick: s[0] || (s[0] = (o) => n.$emit("signIn"))
2167
2165
  }, {
2168
2166
  default: A(() => [
2169
- k("div", qo, [
2170
- I(i(it), {
2167
+ V("div", qo, [
2168
+ _(i(it), {
2171
2169
  src: a.value,
2172
2170
  class: "vc-external-provider__icon",
2173
2171
  size: "xxs"
2174
2172
  }, null, 8, ["src"]),
2175
- M(y(e.displayName), 1)
2173
+ k(B(e.displayName), 1)
2176
2174
  ])
2177
2175
  ]),
2178
2176
  _: 1
2179
2177
  }));
2180
2178
  }
2181
- }), jo = { class: "tw-flex tw-justify-center tw-flex-col tw-gap-4" }, Zo = /* @__PURE__ */ H({
2179
+ }), jo = { class: "tw-flex tw-justify-center tw-flex-col tw-gap-4" }, Zo = /* @__PURE__ */ G({
2182
2180
  __name: "external-providers",
2183
2181
  props: {
2184
2182
  providers: {}
2185
2183
  },
2186
2184
  setup(e) {
2187
2185
  const { signIn: t } = $t();
2188
- return (a, n) => (P(), W("div", jo, [
2189
- (P(!0), W(ne, null, Ue(e.providers, (s) => (P(), D(Yo, {
2186
+ return (a, n) => (C(), H("div", jo, [
2187
+ (C(!0), H(se, null, Fe(e.providers, (s) => (C(), D(Yo, {
2190
2188
  key: s.authenticationType,
2191
2189
  logo: s.logoUrl,
2192
2190
  "display-name": s.displayName,
@@ -2214,7 +2212,7 @@ const er = {
2214
2212
  }, tr = {
2215
2213
  key: 0,
2216
2214
  class: "vc-login-page__separator-line"
2217
- }, ar = /* @__PURE__ */ H({
2215
+ }, ar = /* @__PURE__ */ G({
2218
2216
  __name: "Login",
2219
2217
  props: {
2220
2218
  logo: {},
@@ -2224,18 +2222,18 @@ const er = {
2224
2222
  ssoOnly: { type: Boolean }
2225
2223
  },
2226
2224
  setup(e) {
2227
- const t = V("login-page"), a = e, { t: n } = le({ useScope: "global" }), s = Ie(), { validateField: o } = ue({ validateOnMount: !1 }), { uiSettings: r, loading: l } = ve(), d = N({ succeeded: !0 }), { signIn: u, loading: E, user: m } = se(), { getProviders: f } = $t(), c = _e(), S = N(), L = N(!1);
2228
- Oe(async () => {
2225
+ const t = U("login-page"), a = e, { t: n } = ue({ useScope: "global" }), s = ve(), { validateField: o } = de({ validateOnMount: !1 }), { uiSettings: r, loading: l } = we(), d = b({ succeeded: !0 }), { signIn: u, loading: E, user: g } = oe(), { getProviders: f } = $t(), c = Ie(), S = b(), L = b(!1);
2226
+ Re(async () => {
2229
2227
  S.value = await f(), L.value = !0;
2230
2228
  });
2231
- const T = C(() => ({
2229
+ const T = w(() => ({
2232
2230
  logo: l.value ? "" : r.value?.logo || a.logo
2233
- })), v = ie({
2231
+ })), I = le({
2234
2232
  username: "",
2235
2233
  password: ""
2236
- }), w = async () => {
2234
+ }), v = async () => {
2237
2235
  if (c.value) {
2238
- if (d.value.error = "", d.value = await u(v.username, v.password), d.value.succeeded && m.value?.passwordExpired) {
2236
+ if (d.value.error = "", d.value = await u(I.username, I.password), d.value.succeeded && g.value?.passwordExpired) {
2239
2237
  await s.push({ name: "ChangePassword" });
2240
2238
  return;
2241
2239
  }
@@ -2244,12 +2242,12 @@ const er = {
2244
2242
  localStorage.removeItem("redirectAfterLogin"), await s.push(h);
2245
2243
  return;
2246
2244
  }
2247
- d.value.error = Jo(d.value, n), v.password = "", o("password");
2245
+ d.value.error = Jo(d.value, n), I.password = "", o("password");
2248
2246
  }
2249
2247
  }, O = () => {
2250
2248
  s.push({ name: "ForgotPassword" });
2251
2249
  };
2252
- return t.debug("Init login-page"), (h, g) => (P(), D(i(Re), {
2250
+ return t.debug("Init login-page"), (h, N) => (C(), D(i(_e), {
2253
2251
  logo: T.value.logo,
2254
2252
  background: e.background,
2255
2253
  title: e.title || h.$t("LOGIN.TITLE"),
@@ -2257,114 +2255,114 @@ const er = {
2257
2255
  class: "vc-login-page"
2258
2256
  }, {
2259
2257
  default: A(() => [
2260
- S.value && S.value.length ? (P(), W("div", er, [
2261
- I(Zo, { providers: S.value }, null, 8, ["providers"]),
2262
- e.ssoOnly ? K("", !0) : (P(), W("div", tr, y(h.$t("LOGIN.OR")), 1))
2263
- ])) : K("", !0),
2264
- e.ssoOnly && L.value && !S.value?.length ? (P(), D(i(ce), {
2258
+ S.value && S.value.length ? (C(), H("div", er, [
2259
+ _(Zo, { providers: S.value }, null, 8, ["providers"]),
2260
+ e.ssoOnly ? z("", !0) : (C(), H("div", tr, B(h.$t("LOGIN.OR")), 1))
2261
+ ])) : z("", !0),
2262
+ e.ssoOnly && L.value && !S.value?.length ? (C(), D(i(Ee), {
2265
2263
  key: 1,
2266
2264
  class: "tw-mt-4 tw-text-danger-500"
2267
2265
  }, {
2268
2266
  default: A(() => [
2269
- M(y(h.$t("LOGIN.SSO_NO_PROVIDERS_ERROR")), 1)
2267
+ k(B(h.$t("LOGIN.SSO_NO_PROVIDERS_ERROR")), 1)
2270
2268
  ]),
2271
2269
  _: 1
2272
- })) : K("", !0),
2273
- e.ssoOnly ? K("", !0) : (P(), W(ne, { key: 2 }, [
2274
- I(i(me), {
2270
+ })) : z("", !0),
2271
+ e.ssoOnly ? z("", !0) : (C(), H(se, { key: 2 }, [
2272
+ _(i(ge), {
2275
2273
  class: "tw-gap-5",
2276
- onSubmit: w
2274
+ onSubmit: v
2277
2275
  }, {
2278
2276
  default: A(() => [
2279
- I(i(j), {
2277
+ _(i(Z), {
2280
2278
  label: h.$t("LOGIN.FIELDS.LOGIN.LABEL"),
2281
2279
  name: "username",
2282
- "model-value": v.username,
2280
+ "model-value": I.username,
2283
2281
  rules: "required"
2284
2282
  }, {
2285
- default: A(({ errorMessage: _, handleChange: p, errors: R }) => [
2286
- I(i($), {
2283
+ default: A(({ errorMessage: y, handleChange: m, errors: p }) => [
2284
+ _(i(K), {
2287
2285
  ref: "loginField",
2288
- modelValue: v.username,
2286
+ modelValue: I.username,
2289
2287
  "onUpdate:modelValue": [
2290
- g[0] || (g[0] = (b) => v.username = b),
2291
- p
2288
+ N[0] || (N[0] = (R) => I.username = R),
2289
+ m
2292
2290
  ],
2293
2291
  label: h.$t("LOGIN.FIELDS.LOGIN.LABEL"),
2294
2292
  placeholder: h.$t("LOGIN.FIELDS.LOGIN.PLACEHOLDER"),
2295
2293
  autocomplete: "username",
2296
2294
  required: "",
2297
- error: !!R.length,
2298
- "error-message": _
2295
+ error: !!p.length,
2296
+ "error-message": y
2299
2297
  }, null, 8, ["modelValue", "label", "placeholder", "error", "error-message", "onUpdate:modelValue"])
2300
2298
  ]),
2301
2299
  _: 1
2302
2300
  }, 8, ["label", "model-value"]),
2303
- I(i(j), {
2301
+ _(i(Z), {
2304
2302
  label: h.$t("LOGIN.FIELDS.PASSWORD.LABEL"),
2305
2303
  name: "password",
2306
- "model-value": v.password,
2304
+ "model-value": I.password,
2307
2305
  rules: "required"
2308
2306
  }, {
2309
- default: A(({ errorMessage: _, handleChange: p, errors: R }) => [
2310
- I(i($), {
2307
+ default: A(({ errorMessage: y, handleChange: m, errors: p }) => [
2308
+ _(i(K), {
2311
2309
  ref: "passwordField",
2312
- modelValue: v.password,
2310
+ modelValue: I.password,
2313
2311
  "onUpdate:modelValue": [
2314
- g[1] || (g[1] = (b) => v.password = b),
2315
- p
2312
+ N[1] || (N[1] = (R) => I.password = R),
2313
+ m
2316
2314
  ],
2317
2315
  label: h.$t("LOGIN.FIELDS.PASSWORD.LABEL"),
2318
2316
  placeholder: h.$t("LOGIN.FIELDS.PASSWORD.PLACEHOLDER"),
2319
2317
  type: "password",
2320
2318
  autocomplete: "current-password",
2321
2319
  required: "",
2322
- error: !!R.length,
2323
- "error-message": _,
2324
- onKeyup: rt(w, ["enter"])
2320
+ error: !!p.length,
2321
+ "error-message": y,
2322
+ onKeyup: rt(v, ["enter"])
2325
2323
  }, null, 8, ["modelValue", "label", "placeholder", "error", "error-message", "onUpdate:modelValue"])
2326
2324
  ]),
2327
2325
  _: 1
2328
2326
  }, 8, ["label", "model-value"]),
2329
- I(i(x), {
2327
+ _(i($), {
2330
2328
  variant: "primary",
2331
2329
  class: "tw-w-full",
2332
2330
  icon: "lucide-log-in",
2333
2331
  disabled: !i(c),
2334
2332
  loading: i(E),
2335
- onClick: w
2333
+ onClick: v
2336
2334
  }, {
2337
2335
  default: A(() => [
2338
- M(y(h.$t("LOGIN.BUTTON")), 1)
2336
+ k(B(h.$t("LOGIN.BUTTON")), 1)
2339
2337
  ]),
2340
2338
  _: 1
2341
2339
  }, 8, ["disabled", "loading"]),
2342
- I(i(x), {
2340
+ _(i($), {
2343
2341
  variant: "link",
2344
2342
  class: "tw-w-full tw-justify-center",
2345
2343
  type: "button",
2346
2344
  onClick: O
2347
2345
  }, {
2348
2346
  default: A(() => [
2349
- M(y(h.$t("LOGIN.FORGOT_PASSWORD_BUTTON")), 1)
2347
+ k(B(h.$t("LOGIN.FORGOT_PASSWORD_BUTTON")), 1)
2350
2348
  ]),
2351
2349
  _: 1
2352
2350
  })
2353
2351
  ]),
2354
2352
  _: 1
2355
2353
  }),
2356
- I(i(ms), {
2354
+ _(i(ms), {
2357
2355
  name: "auth:after-form",
2358
2356
  separator: "",
2359
2357
  "separator-class": "tw-border-t tw-border-[color:var(--login-separator)] tw-border-solid tw-pb-5",
2360
2358
  "wrapper-class": "vc-login-page__separator"
2361
2359
  }),
2362
- d.value.succeeded ? K("", !0) : (P(), D(i(ce), {
2360
+ d.value.succeeded ? z("", !0) : (C(), D(i(Ee), {
2363
2361
  key: 0,
2364
2362
  class: "tw-mt-4 tw-text-danger-500"
2365
2363
  }, {
2366
2364
  default: A(() => [
2367
- M(y(d.value.error), 1)
2365
+ k(B(d.value.error), 1)
2368
2366
  ]),
2369
2367
  _: 1
2370
2368
  }))
@@ -2373,7 +2371,7 @@ const er = {
2373
2371
  _: 1
2374
2372
  }, 8, ["logo", "background", "title", "subtitle"]));
2375
2373
  }
2376
- }), Bl = ar, nr = { class: "tw-text-center" }, sr = { class: "tw-text-center tw-mb-6" }, or = { class: "tw-text-sm tw-text-neutrals-600" }, rr = /* @__PURE__ */ H({
2374
+ }), Bl = ar, nr = { class: "tw-text-center" }, sr = { class: "tw-text-center tw-mb-6" }, or = { class: "tw-text-sm tw-text-neutrals-600" }, rr = /* @__PURE__ */ G({
2377
2375
  __name: "ForgotPassword",
2378
2376
  props: {
2379
2377
  logo: {},
@@ -2381,29 +2379,29 @@ const er = {
2381
2379
  composable: { type: Function }
2382
2380
  },
2383
2381
  setup(e) {
2384
- const t = e, a = Ie(), { t: n } = le({ useScope: "global" });
2385
- ue({ validateOnMount: !1 });
2386
- const s = _e(), { uiSettings: o, loading: r } = ve(), l = N(!1), d = N(""), u = N(!1), E = ie({
2382
+ const t = e, a = ve(), { t: n } = ue({ useScope: "global" });
2383
+ de({ validateOnMount: !1 });
2384
+ const s = Ie(), { uiSettings: o, loading: r } = we(), l = b(!1), d = b(""), u = b(!1), E = le({
2387
2385
  loginOrEmail: ""
2388
2386
  });
2389
- let m;
2387
+ let g;
2390
2388
  if (t.composable && typeof t.composable == "function")
2391
- m = t.composable().forgotPassword;
2389
+ g = t.composable().forgotPassword;
2392
2390
  else {
2393
- const { requestPasswordReset: T } = se();
2394
- m = async (v) => {
2395
- await T(v.loginOrEmail);
2391
+ const { requestPasswordReset: T } = oe();
2392
+ g = async (I) => {
2393
+ await T(I.loginOrEmail);
2396
2394
  };
2397
2395
  }
2398
- const f = C(() => ({
2396
+ const f = w(() => ({
2399
2397
  logo: r.value ? "" : o.value?.logo || t.logo
2400
- })), c = C(() => {
2401
- const T = E.loginOrEmail, [v, w] = T.split("@");
2402
- return !v || !w ? T : `${v.length > 2 ? v[0] + "***" + v[v.length - 1] : v[0] + "***"}@${w}`;
2398
+ })), c = w(() => {
2399
+ const T = E.loginOrEmail, [I, v] = T.split("@");
2400
+ return !I || !v ? T : `${I.length > 2 ? I[0] + "***" + I[I.length - 1] : I[0] + "***"}@${v}`;
2403
2401
  }), S = async () => {
2404
- if (!(!s.value || !m))
2402
+ if (!(!s.value || !g))
2405
2403
  try {
2406
- l.value = !0, d.value = "", await m({ loginOrEmail: E.loginOrEmail }), u.value = !0;
2404
+ l.value = !0, d.value = "", await g({ loginOrEmail: E.loginOrEmail }), u.value = !0;
2407
2405
  } catch (T) {
2408
2406
  d.value = T instanceof Error ? T.message : String(T);
2409
2407
  } finally {
@@ -2412,42 +2410,42 @@ const er = {
2412
2410
  }, L = () => {
2413
2411
  a.push({ name: "Login" });
2414
2412
  };
2415
- return (T, v) => (P(), D(i(Re), {
2413
+ return (T, I) => (C(), D(i(_e), {
2416
2414
  logo: f.value.logo,
2417
2415
  background: e.background,
2418
2416
  title: u.value ? i(n)("FORGOT_PASSWORD.SUCCESS_TITLE") : i(n)("FORGOT_PASSWORD.TITLE"),
2419
2417
  subtitle: u.value ? void 0 : i(n)("FORGOT_PASSWORD.SUBTITLE")
2420
2418
  }, {
2421
2419
  default: A(() => [
2422
- u.value ? (P(), W(ne, { key: 1 }, [
2423
- k("div", sr, [
2424
- k("p", or, y(i(n)("FORGOT_PASSWORD.SUCCESS_TEXT", { email: c.value })), 1)
2420
+ u.value ? (C(), H(se, { key: 1 }, [
2421
+ V("div", sr, [
2422
+ V("p", or, B(i(n)("FORGOT_PASSWORD.SUCCESS_TEXT", { email: c.value })), 1)
2425
2423
  ]),
2426
- I(i(x), {
2424
+ _(i($), {
2427
2425
  variant: "primary",
2428
2426
  class: "tw-w-full",
2429
2427
  onClick: L
2430
2428
  }, {
2431
2429
  default: A(() => [
2432
- M(y(i(n)("FORGOT_PASSWORD.BACK_TO_LOGIN")), 1)
2430
+ k(B(i(n)("FORGOT_PASSWORD.BACK_TO_LOGIN")), 1)
2433
2431
  ]),
2434
2432
  _: 1
2435
2433
  })
2436
- ], 64)) : (P(), W(ne, { key: 0 }, [
2437
- I(i(me), { onSubmit: S }, {
2434
+ ], 64)) : (C(), H(se, { key: 0 }, [
2435
+ _(i(ge), { onSubmit: S }, {
2438
2436
  default: A(() => [
2439
- I(i(j), {
2437
+ _(i(Z), {
2440
2438
  label: i(n)("FORGOT_PASSWORD.FIELDS.EMAIL.LABEL"),
2441
2439
  name: "loginOrEmail",
2442
2440
  "model-value": E.loginOrEmail,
2443
2441
  rules: "required|email"
2444
2442
  }, {
2445
- default: A(({ errorMessage: w, handleChange: O, errors: h }) => [
2446
- I(i($), {
2443
+ default: A(({ errorMessage: v, handleChange: O, errors: h }) => [
2444
+ _(i(K), {
2447
2445
  ref: "emailField",
2448
2446
  modelValue: E.loginOrEmail,
2449
2447
  "onUpdate:modelValue": [
2450
- v[0] || (v[0] = (g) => E.loginOrEmail = g),
2448
+ I[0] || (I[0] = (N) => E.loginOrEmail = N),
2451
2449
  O
2452
2450
  ],
2453
2451
  class: "tw-mb-6",
@@ -2455,12 +2453,12 @@ const er = {
2455
2453
  placeholder: i(n)("FORGOT_PASSWORD.FIELDS.EMAIL.PLACEHOLDER"),
2456
2454
  required: "",
2457
2455
  error: !!h.length,
2458
- "error-message": w
2456
+ "error-message": v
2459
2457
  }, null, 8, ["modelValue", "label", "placeholder", "error", "error-message", "onUpdate:modelValue"])
2460
2458
  ]),
2461
2459
  _: 1
2462
2460
  }, 8, ["label", "model-value"]),
2463
- I(i(x), {
2461
+ _(i($), {
2464
2462
  variant: "primary",
2465
2463
  class: "tw-w-full tw-mb-4",
2466
2464
  disabled: !i(s) || l.value,
@@ -2468,12 +2466,12 @@ const er = {
2468
2466
  onClick: S
2469
2467
  }, {
2470
2468
  default: A(() => [
2471
- M(y(i(n)("FORGOT_PASSWORD.SEND_BUTTON")), 1)
2469
+ k(B(i(n)("FORGOT_PASSWORD.SEND_BUTTON")), 1)
2472
2470
  ]),
2473
2471
  _: 1
2474
2472
  }, 8, ["disabled", "loading"]),
2475
- k("div", nr, [
2476
- I(i(x), {
2473
+ V("div", nr, [
2474
+ _(i($), {
2477
2475
  variant: "link",
2478
2476
  icon: "lucide-arrow-left",
2479
2477
  "icon-size": "xs",
@@ -2481,7 +2479,7 @@ const er = {
2481
2479
  onClick: L
2482
2480
  }, {
2483
2481
  default: A(() => [
2484
- M(y(i(n)("FORGOT_PASSWORD.BACK_TO_LOGIN")), 1)
2482
+ k(B(i(n)("FORGOT_PASSWORD.BACK_TO_LOGIN")), 1)
2485
2483
  ]),
2486
2484
  _: 1
2487
2485
  })
@@ -2489,21 +2487,21 @@ const er = {
2489
2487
  ]),
2490
2488
  _: 1
2491
2489
  }),
2492
- d.value ? (P(), D(i(ce), {
2490
+ d.value ? (C(), D(i(Ee), {
2493
2491
  key: 0,
2494
2492
  class: "tw-mt-3 tw-text-danger-500"
2495
2493
  }, {
2496
2494
  default: A(() => [
2497
- M(y(d.value), 1)
2495
+ k(B(d.value), 1)
2498
2496
  ]),
2499
2497
  _: 1
2500
- })) : K("", !0)
2498
+ })) : z("", !0)
2501
2499
  ], 64))
2502
2500
  ]),
2503
2501
  _: 1
2504
2502
  }, 8, ["logo", "background", "title", "subtitle"]));
2505
2503
  }
2506
- }), Ml = rr, ir = /* @__PURE__ */ H({
2504
+ }), Ml = rr, ir = /* @__PURE__ */ G({
2507
2505
  __name: "ResetPassword",
2508
2506
  props: {
2509
2507
  userId: {},
@@ -2513,61 +2511,61 @@ const er = {
2513
2511
  background: { default: "/assets/background.jpg" }
2514
2512
  },
2515
2513
  setup(e) {
2516
- const t = e, { validateToken: a, validatePassword: n, resetPasswordByToken: s, signIn: o, loading: r } = se(), l = Ie(), { t: d } = le({ useScope: "global" }), { validate: u } = ue({ validateOnMount: !1 }), { uiSettings: E, loading: m } = ve(), f = ie({
2514
+ const t = e, { validateToken: a, validatePassword: n, resetPasswordByToken: s, signIn: o, loading: r } = oe(), l = ve(), { t: d } = ue({ useScope: "global" }), { validate: u } = de({ validateOnMount: !1 }), { uiSettings: E, loading: g } = we(), f = le({
2517
2515
  isValid: !1,
2518
2516
  tokenIsValid: !1,
2519
2517
  errors: [],
2520
2518
  password: "",
2521
2519
  confirmPassword: ""
2522
2520
  });
2523
- Oe(async () => {
2521
+ Re(async () => {
2524
2522
  f.tokenIsValid = await a(t.userId, t.token), f.tokenIsValid || f.errors.push("Invalid-token");
2525
2523
  });
2526
- const c = C(() => r.value || !f.password || !f.confirmPassword || !f.isValid && f.tokenIsValid), S = async () => {
2524
+ const c = w(() => r.value || !f.password || !f.confirmPassword || !f.isValid && f.tokenIsValid), S = async () => {
2527
2525
  if (f.tokenIsValid) {
2528
- const v = (await n(f.password)).errors;
2529
- f.errors = v?.map((w) => w.code), f.confirmPassword !== f.password && f.errors.push("Repeat-password"), f.isValid = f.errors.length == 0;
2526
+ const I = (await n(f.password)).errors;
2527
+ f.errors = I?.map((v) => v.code), f.confirmPassword !== f.password && f.errors.push("Repeat-password"), f.isValid = f.errors.length == 0;
2530
2528
  }
2531
2529
  }, L = async () => {
2532
- const { valid: v } = await u();
2533
- if (v) {
2534
- const w = await s(t.userId, f.password, t.token);
2535
- if (w.succeeded) {
2530
+ const { valid: I } = await u();
2531
+ if (I) {
2532
+ const v = await s(t.userId, f.password, t.token);
2533
+ if (v.succeeded) {
2536
2534
  const O = await o(t.userName, f.password);
2537
2535
  O.succeeded ? l.push("/") : f.errors = "error" in O && [O.error] || [];
2538
2536
  } else
2539
- f.errors = w.errors;
2537
+ f.errors = v.errors;
2540
2538
  }
2541
- }, T = C(() => ({
2542
- logo: m.value ? "" : E.value?.logo || t.logo
2539
+ }, T = w(() => ({
2540
+ logo: g.value ? "" : E.value?.logo || t.logo
2543
2541
  }));
2544
- return (v, w) => (P(), D(i(Re), {
2542
+ return (I, v) => (C(), D(i(_e), {
2545
2543
  logo: T.value.logo,
2546
2544
  background: e.background,
2547
2545
  title: i(d)("PASSWORDRESET.TITLE"),
2548
2546
  subtitle: i(d)("PASSWORDRESET.SUBTITLE")
2549
2547
  }, {
2550
2548
  default: A(() => [
2551
- i(r) ? (P(), D(i(Wt), {
2549
+ i(r) ? (C(), D(i(Wt), {
2552
2550
  key: 0,
2553
2551
  active: ""
2554
- })) : K("", !0),
2555
- I(i(me), null, {
2552
+ })) : z("", !0),
2553
+ _(i(ge), null, {
2556
2554
  default: A(() => [
2557
- I(i(j), {
2555
+ _(i(Z), {
2558
2556
  label: i(d)("PASSWORDRESET.FIELDS.PASSWORD.LABEL"),
2559
2557
  name: "password",
2560
2558
  "model-value": f.password,
2561
2559
  rules: "required"
2562
2560
  }, {
2563
- default: A(({ field: O, errorMessage: h, handleChange: g, errors: _ }) => [
2564
- I(i($), re(O, {
2561
+ default: A(({ field: O, errorMessage: h, handleChange: N, errors: y }) => [
2562
+ _(i(K), ie(O, {
2565
2563
  ref: "passwordField",
2566
2564
  modelValue: f.password,
2567
2565
  "onUpdate:modelValue": [
2568
- w[0] || (w[0] = (p) => f.password = p),
2569
- (p) => {
2570
- g(p), S();
2566
+ v[0] || (v[0] = (m) => f.password = m),
2567
+ (m) => {
2568
+ N(m), S();
2571
2569
  }
2572
2570
  ],
2573
2571
  class: "tw-mb-4",
@@ -2577,26 +2575,26 @@ const er = {
2577
2575
  autocomplete: "new-password",
2578
2576
  disabled: !f.tokenIsValid,
2579
2577
  required: "",
2580
- error: !!_.length,
2578
+ error: !!y.length,
2581
2579
  "error-message": h
2582
2580
  }), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
2583
2581
  ]),
2584
2582
  _: 1
2585
2583
  }, 8, ["label", "model-value"]),
2586
- I(i(j), {
2584
+ _(i(Z), {
2587
2585
  label: i(d)("PASSWORDRESET.FIELDS.CONFIRM_PASSWORD.LABEL"),
2588
2586
  name: "confirm_password",
2589
2587
  "model-value": f.confirmPassword,
2590
2588
  rules: "required"
2591
2589
  }, {
2592
- default: A(({ field: O, errorMessage: h, handleChange: g, errors: _ }) => [
2593
- I(i($), re(O, {
2590
+ default: A(({ field: O, errorMessage: h, handleChange: N, errors: y }) => [
2591
+ _(i(K), ie(O, {
2594
2592
  ref: "confirmPasswordField",
2595
2593
  modelValue: f.confirmPassword,
2596
2594
  "onUpdate:modelValue": [
2597
- w[1] || (w[1] = (p) => f.confirmPassword = p),
2598
- (p) => {
2599
- g(p), S();
2595
+ v[1] || (v[1] = (m) => f.confirmPassword = m),
2596
+ (m) => {
2597
+ N(m), S();
2600
2598
  }
2601
2599
  ],
2602
2600
  class: "tw-mb-6",
@@ -2606,14 +2604,14 @@ const er = {
2606
2604
  type: "password",
2607
2605
  autocomplete: "new-password",
2608
2606
  required: "",
2609
- error: !!_.length,
2607
+ error: !!y.length,
2610
2608
  "error-message": h,
2611
2609
  onKeyup: rt(L, ["enter"])
2612
2610
  }), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
2613
2611
  ]),
2614
2612
  _: 1
2615
2613
  }, 8, ["label", "model-value"]),
2616
- I(i(x), {
2614
+ _(i($), {
2617
2615
  variant: "primary",
2618
2616
  class: "tw-w-full",
2619
2617
  disabled: c.value,
@@ -2621,16 +2619,16 @@ const er = {
2621
2619
  onClick: L
2622
2620
  }, {
2623
2621
  default: A(() => [
2624
- M(y(i(d)("PASSWORDRESET.SAVE_PASSWORD")), 1)
2622
+ k(B(i(d)("PASSWORDRESET.SAVE_PASSWORD")), 1)
2625
2623
  ]),
2626
2624
  _: 1
2627
2625
  }, 8, ["disabled", "loading"]),
2628
- (P(!0), W(ne, null, Ue(f.errors, (O) => (P(), D(i(ce), {
2626
+ (C(!0), H(se, null, Fe(f.errors, (O) => (C(), D(i(Ee), {
2629
2627
  key: O,
2630
2628
  class: "tw-mt-3 tw-text-danger-500"
2631
2629
  }, {
2632
2630
  default: A(() => [
2633
- M(y(i(d)(`PASSWORDRESET.ERRORS.${O}`)), 1)
2631
+ k(B(i(d)(`PASSWORDRESET.ERRORS.${O}`)), 1)
2634
2632
  ]),
2635
2633
  _: 2
2636
2634
  }, 1024))), 128))
@@ -2641,7 +2639,7 @@ const er = {
2641
2639
  _: 1
2642
2640
  }, 8, ["logo", "background", "title", "subtitle"]));
2643
2641
  }
2644
- }), kl = ir, lr = /* @__PURE__ */ H({
2642
+ }), kl = ir, lr = /* @__PURE__ */ G({
2645
2643
  __name: "Invite",
2646
2644
  props: {
2647
2645
  userId: {},
@@ -2651,42 +2649,42 @@ const er = {
2651
2649
  background: { default: "/assets/background.jpg" }
2652
2650
  },
2653
2651
  setup(e) {
2654
- ue({ validateOnMount: !1 });
2655
- const t = e, { validateToken: a, validatePassword: n, resetPasswordByToken: s, signIn: o, loading: r } = se(), l = Ie(), { t: d } = le({ useScope: "global" }), u = _e(), E = ut(), { uiSettings: m, loading: f } = ve(), c = ie({
2652
+ de({ validateOnMount: !1 });
2653
+ const t = e, { validateToken: a, validatePassword: n, resetPasswordByToken: s, signIn: o, loading: r } = oe(), l = ve(), { t: d } = ue({ useScope: "global" }), u = Ie(), E = ut(), { uiSettings: g, loading: f } = we(), c = le({
2656
2654
  isValid: !1,
2657
2655
  tokenIsValid: !1,
2658
2656
  errors: [],
2659
2657
  password: "",
2660
2658
  confirmPassword: ""
2661
- }), S = C(() => !E.value || !u.value);
2662
- Oe(async () => {
2659
+ }), S = w(() => !E.value || !u.value);
2660
+ Re(async () => {
2663
2661
  c.tokenIsValid = await a(t.userId, t.token), c.tokenIsValid || c.errors.push("Invalid-token");
2664
2662
  });
2665
2663
  const L = async () => {
2666
2664
  if (c.tokenIsValid) {
2667
- const w = (await n(c.password)).errors;
2668
- c.errors = w?.map((O) => O.code), c.confirmPassword && c.confirmPassword !== c.password && c.errors.push("Repeat-password"), c.isValid = c.errors.length == 0 && !S.value;
2665
+ const v = (await n(c.password)).errors;
2666
+ c.errors = v?.map((O) => O.code), c.confirmPassword && c.confirmPassword !== c.password && c.errors.push("Repeat-password"), c.isValid = c.errors.length == 0 && !S.value;
2669
2667
  }
2670
2668
  }, T = async () => {
2671
- const w = await s(t.userId, c.password, t.token);
2672
- w.succeeded ? (await o(t.userName, c.password)).succeeded && l.push("/") : c.errors = w.errors;
2673
- }, v = C(() => ({
2674
- logo: f.value ? "" : m.value?.logo || t.logo
2669
+ const v = await s(t.userId, c.password, t.token);
2670
+ v.succeeded ? (await o(t.userName, c.password)).succeeded && l.push("/") : c.errors = v.errors;
2671
+ }, I = w(() => ({
2672
+ logo: f.value ? "" : g.value?.logo || t.logo
2675
2673
  }));
2676
- return (w, O) => (P(), D(i(Re), {
2677
- logo: v.value.logo,
2674
+ return (v, O) => (C(), D(i(_e), {
2675
+ logo: I.value.logo,
2678
2676
  background: e.background,
2679
2677
  title: i(d)("INVITATION.TITLE"),
2680
2678
  subtitle: i(d)("INVITATION.SUBTITLE")
2681
2679
  }, {
2682
2680
  default: A(() => [
2683
- i(r) ? (P(), D(i(Wt), {
2681
+ i(r) ? (C(), D(i(Wt), {
2684
2682
  key: 0,
2685
2683
  active: ""
2686
- })) : K("", !0),
2687
- I(i(me), null, {
2684
+ })) : z("", !0),
2685
+ _(i(ge), null, {
2688
2686
  default: A(() => [
2689
- I(i($), {
2687
+ _(i(K), {
2690
2688
  class: "tw-mb-4",
2691
2689
  label: i(d)("INVITATION.FIELDS.EMAIL.LABEL"),
2692
2690
  "model-value": e.userName,
@@ -2694,20 +2692,20 @@ const er = {
2694
2692
  autocomplete: "username",
2695
2693
  disabled: ""
2696
2694
  }, null, 8, ["label", "model-value"]),
2697
- I(i(j), {
2695
+ _(i(Z), {
2698
2696
  label: i(d)("INVITATION.FIELDS.PASSWORD.LABEL"),
2699
2697
  "model-value": c.password,
2700
2698
  rules: "required",
2701
2699
  name: "password"
2702
2700
  }, {
2703
- default: A(({ field: h, errorMessage: g, handleChange: _, errors: p }) => [
2704
- I(i($), re(h, {
2701
+ default: A(({ field: h, errorMessage: N, handleChange: y, errors: m }) => [
2702
+ _(i(K), ie(h, {
2705
2703
  ref: "passwordField",
2706
2704
  modelValue: c.password,
2707
2705
  "onUpdate:modelValue": [
2708
- O[0] || (O[0] = (R) => c.password = R),
2709
- (R) => {
2710
- _(R), L();
2706
+ O[0] || (O[0] = (p) => c.password = p),
2707
+ (p) => {
2708
+ y(p), L();
2711
2709
  }
2712
2710
  ],
2713
2711
  class: "tw-mb-4",
@@ -2716,27 +2714,27 @@ const er = {
2716
2714
  type: "password",
2717
2715
  autocomplete: "new-password",
2718
2716
  disabled: !c.tokenIsValid,
2719
- error: !!p.length,
2720
- "error-message": g,
2717
+ error: !!m.length,
2718
+ "error-message": N,
2721
2719
  required: ""
2722
2720
  }), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
2723
2721
  ]),
2724
2722
  _: 1
2725
2723
  }, 8, ["label", "model-value"]),
2726
- I(i(j), {
2724
+ _(i(Z), {
2727
2725
  label: i(d)("INVITATION.FIELDS.CONFIRM_PASSWORD.LABEL"),
2728
2726
  "model-value": c.confirmPassword,
2729
2727
  rules: "required",
2730
2728
  name: "confirm_password"
2731
2729
  }, {
2732
- default: A(({ field: h, errorMessage: g, handleChange: _, errors: p }) => [
2733
- I(i($), re(h, {
2730
+ default: A(({ field: h, errorMessage: N, handleChange: y, errors: m }) => [
2731
+ _(i(K), ie(h, {
2734
2732
  ref: "confirmPasswordField",
2735
2733
  modelValue: c.confirmPassword,
2736
2734
  "onUpdate:modelValue": [
2737
- O[1] || (O[1] = (R) => c.confirmPassword = R),
2738
- (R) => {
2739
- _(R), L();
2735
+ O[1] || (O[1] = (p) => c.confirmPassword = p),
2736
+ (p) => {
2737
+ y(p), L();
2740
2738
  }
2741
2739
  ],
2742
2740
  class: "tw-mb-6",
@@ -2745,15 +2743,15 @@ const er = {
2745
2743
  disabled: !c.tokenIsValid,
2746
2744
  type: "password",
2747
2745
  autocomplete: "new-password",
2748
- error: !!p.length,
2749
- "error-message": g,
2746
+ error: !!m.length,
2747
+ "error-message": N,
2750
2748
  required: "",
2751
2749
  onKeyup: rt(T, ["enter"])
2752
2750
  }), null, 16, ["modelValue", "label", "placeholder", "disabled", "error", "error-message", "onUpdate:modelValue"])
2753
2751
  ]),
2754
2752
  _: 1
2755
2753
  }, 8, ["label", "model-value"]),
2756
- I(i(x), {
2754
+ _(i($), {
2757
2755
  variant: "primary",
2758
2756
  class: "tw-w-full",
2759
2757
  disabled: i(r) || !c.isValid || !c.tokenIsValid,
@@ -2761,16 +2759,16 @@ const er = {
2761
2759
  onClick: T
2762
2760
  }, {
2763
2761
  default: A(() => [
2764
- M(y(i(d)("INVITATION.ACCEPT_INVITATION")), 1)
2762
+ k(B(i(d)("INVITATION.ACCEPT_INVITATION")), 1)
2765
2763
  ]),
2766
2764
  _: 1
2767
2765
  }, 8, ["disabled", "loading"]),
2768
- (P(!0), W(ne, null, Ue(c.errors, (h) => (P(), D(i(ce), {
2766
+ (C(!0), H(se, null, Fe(c.errors, (h) => (C(), D(i(Ee), {
2769
2767
  key: h,
2770
2768
  class: "tw-mt-3 tw-text-danger-500"
2771
2769
  }, {
2772
2770
  default: A(() => [
2773
- M(y(i(d)(`INVITATION.ERRORS.${h}`)), 1)
2771
+ k(B(i(d)(`INVITATION.ERRORS.${h}`)), 1)
2774
2772
  ]),
2775
2773
  _: 2
2776
2774
  }, 1024))), 128))
@@ -2784,7 +2782,7 @@ const er = {
2784
2782
  }), Vl = lr, ur = {
2785
2783
  key: 0,
2786
2784
  class: "tw-mb-4"
2787
- }, dr = { class: "tw-flex tw-gap-3" }, cr = /* @__PURE__ */ H({
2785
+ }, dr = { class: "tw-flex tw-gap-3" }, cr = /* @__PURE__ */ G({
2788
2786
  __name: "ChangePassword",
2789
2787
  props: {
2790
2788
  forced: { type: Boolean },
@@ -2792,70 +2790,70 @@ const er = {
2792
2790
  background: {}
2793
2791
  },
2794
2792
  setup(e) {
2795
- const t = e, { t: a } = le({ useScope: "global" }), { changeUserPassword: n, loading: s, validatePassword: o, signOut: r } = se(), { uiSettings: l, loading: d } = ve(), u = C(() => ({
2793
+ const t = e, { t: a } = ue({ useScope: "global" }), { changeUserPassword: n, loading: s, validatePassword: o, signOut: r } = oe(), { uiSettings: l, loading: d } = we(), u = w(() => ({
2796
2794
  logo: d.value ? "" : l.value?.logo || t.logo
2797
2795
  }));
2798
- ue({ validateOnMount: !1 });
2799
- const E = _e(), m = ut(), f = Ie(), c = ie({
2796
+ de({ validateOnMount: !1 });
2797
+ const E = Ie(), g = ut(), f = ve(), c = le({
2800
2798
  isValid: !1,
2801
2799
  errors: [],
2802
2800
  currentPassword: "",
2803
2801
  password: "",
2804
2802
  confirmPassword: ""
2805
- }), S = C(() => !m.value || !E.value);
2803
+ }), S = w(() => !g.value || !E.value);
2806
2804
  async function L() {
2807
2805
  await r(), await f.push("/login");
2808
2806
  }
2809
2807
  async function T() {
2810
- const w = await n(c.currentPassword, c.password);
2811
- w?.succeeded ? await f.push("/") : w?.errors && (c.errors = w?.errors, c.isValid = c.errors.length == 0);
2808
+ const v = await n(c.currentPassword, c.password);
2809
+ v?.succeeded ? await f.push("/") : v?.errors && (c.errors = v?.errors, c.isValid = c.errors.length == 0);
2812
2810
  }
2813
- function v() {
2814
- be(async () => {
2811
+ function I() {
2812
+ Pe(async () => {
2815
2813
  if (c.password || c.confirmPassword) {
2816
- const w = (await o(c.password)).errors ?? [], O = Qo({
2814
+ const v = (await o(c.password)).errors ?? [], O = Qo({
2817
2815
  password: c.password,
2818
2816
  confirmPassword: c.confirmPassword,
2819
2817
  currentPassword: c.currentPassword
2820
2818
  });
2821
- c.errors = [...w, ...O], c.isValid = c.errors.length == 0;
2819
+ c.errors = [...v, ...O], c.isValid = c.errors.length == 0;
2822
2820
  }
2823
2821
  });
2824
2822
  }
2825
- return (w, O) => (P(), D(i(Re), {
2823
+ return (v, O) => (C(), D(i(_e), {
2826
2824
  logo: u.value.logo,
2827
2825
  background: e.background,
2828
2826
  title: e.forced ? i(a)("COMPONENTS.CHANGE_PASSWORD.TITLE_FORCED") : i(a)("COMPONENTS.CHANGE_PASSWORD.TITLE"),
2829
2827
  subtitle: e.forced ? i(a)("COMPONENTS.CHANGE_PASSWORD.SUBTITLE_FORCED") : void 0
2830
2828
  }, {
2831
2829
  default: A(() => [
2832
- e.forced ? (P(), W("div", ur, [
2833
- I(i(Tn), {
2830
+ e.forced ? (C(), H("div", ur, [
2831
+ _(i(Sn), {
2834
2832
  variant: "info",
2835
2833
  icon: "lucide-lightbulb",
2836
2834
  "icon-size": "l"
2837
2835
  }, {
2838
2836
  default: A(() => [
2839
- M(y(i(a)("COMPONENTS.CHANGE_PASSWORD.FORCED.LABEL")), 1)
2837
+ k(B(i(a)("COMPONENTS.CHANGE_PASSWORD.FORCED.LABEL")), 1)
2840
2838
  ]),
2841
2839
  _: 1
2842
2840
  })
2843
- ])) : K("", !0),
2844
- I(i(me), null, {
2841
+ ])) : z("", !0),
2842
+ _(i(ge), null, {
2845
2843
  default: A(() => [
2846
- I(i(j), {
2844
+ _(i(Z), {
2847
2845
  label: i(a)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
2848
2846
  name: "current",
2849
2847
  rules: "required|min:6",
2850
2848
  "model-value": c.currentPassword
2851
2849
  }, {
2852
- default: A(({ field: h, errorMessage: g, errors: _ }) => [
2853
- I(i($), re(h, {
2850
+ default: A(({ field: h, errorMessage: N, errors: y }) => [
2851
+ _(i(K), ie(h, {
2854
2852
  ref: "passwordField",
2855
2853
  modelValue: c.currentPassword,
2856
2854
  "onUpdate:modelValue": [
2857
- O[0] || (O[0] = (p) => c.currentPassword = p),
2858
- v
2855
+ O[0] || (O[0] = (m) => c.currentPassword = m),
2856
+ I
2859
2857
  ],
2860
2858
  class: "tw-mb-4",
2861
2859
  label: i(a)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
@@ -2863,25 +2861,25 @@ const er = {
2863
2861
  type: "password",
2864
2862
  autocomplete: "current-password",
2865
2863
  required: "",
2866
- error: !!_.length,
2867
- "error-message": g
2864
+ error: !!y.length,
2865
+ "error-message": N
2868
2866
  }), null, 16, ["modelValue", "label", "placeholder", "error", "error-message"])
2869
2867
  ]),
2870
2868
  _: 1
2871
2869
  }, 8, ["label", "model-value"]),
2872
- I(i(j), {
2870
+ _(i(Z), {
2873
2871
  label: i(a)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL"),
2874
2872
  name: "new_pass",
2875
2873
  rules: "required|min:6",
2876
2874
  "model-value": c.password
2877
2875
  }, {
2878
- default: A(({ field: h, errorMessage: g, errors: _ }) => [
2879
- I(i($), re(h, {
2876
+ default: A(({ field: h, errorMessage: N, errors: y }) => [
2877
+ _(i(K), ie(h, {
2880
2878
  ref: "newPasswordField",
2881
2879
  modelValue: c.password,
2882
2880
  "onUpdate:modelValue": [
2883
- O[1] || (O[1] = (p) => c.password = p),
2884
- v
2881
+ O[1] || (O[1] = (m) => c.password = m),
2882
+ I
2885
2883
  ],
2886
2884
  class: "tw-mb-4",
2887
2885
  label: i(a)("COMPONENTS.CHANGE_PASSWORD.NEW_PASSWORD.LABEL"),
@@ -2889,25 +2887,25 @@ const er = {
2889
2887
  type: "password",
2890
2888
  autocomplete: "new-password",
2891
2889
  required: "",
2892
- error: !!_.length,
2893
- "error-message": g
2890
+ error: !!y.length,
2891
+ "error-message": N
2894
2892
  }), null, 16, ["modelValue", "label", "placeholder", "error", "error-message"])
2895
2893
  ]),
2896
2894
  _: 1
2897
2895
  }, 8, ["label", "model-value"]),
2898
- I(i(j), {
2896
+ _(i(Z), {
2899
2897
  label: i(a)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL"),
2900
2898
  name: "confirm_pass",
2901
2899
  rules: "required|min:6",
2902
2900
  "model-value": c.confirmPassword
2903
2901
  }, {
2904
- default: A(({ field: h, errorMessage: g, errors: _ }) => [
2905
- I(i($), re(h, {
2902
+ default: A(({ field: h, errorMessage: N, errors: y }) => [
2903
+ _(i(K), ie(h, {
2906
2904
  ref: "confirmPasswordField",
2907
2905
  modelValue: c.confirmPassword,
2908
2906
  "onUpdate:modelValue": [
2909
- O[2] || (O[2] = (p) => c.confirmPassword = p),
2910
- v
2907
+ O[2] || (O[2] = (m) => c.confirmPassword = m),
2908
+ I
2911
2909
  ],
2912
2910
  class: "tw-mb-6",
2913
2911
  label: i(a)("COMPONENTS.CHANGE_PASSWORD.CONFIRM_PASSWORD.LABEL"),
@@ -2915,24 +2913,24 @@ const er = {
2915
2913
  type: "password",
2916
2914
  autocomplete: "new-password",
2917
2915
  required: "",
2918
- error: !!_.length,
2919
- "error-message": g
2916
+ error: !!y.length,
2917
+ "error-message": N
2920
2918
  }), null, 16, ["modelValue", "label", "placeholder", "error", "error-message"])
2921
2919
  ]),
2922
2920
  _: 1
2923
2921
  }, 8, ["label", "model-value"]),
2924
- k("div", dr, [
2925
- I(i(x), {
2922
+ V("div", dr, [
2923
+ _(i($), {
2926
2924
  variant: "secondary",
2927
2925
  class: "tw-flex-1",
2928
2926
  onClick: L
2929
2927
  }, {
2930
2928
  default: A(() => [
2931
- M(y(i(a)("COMPONENTS.CHANGE_PASSWORD.CANCEL")), 1)
2929
+ k(B(i(a)("COMPONENTS.CHANGE_PASSWORD.CANCEL")), 1)
2932
2930
  ]),
2933
2931
  _: 1
2934
2932
  }),
2935
- I(i(x), {
2933
+ _(i($), {
2936
2934
  variant: "primary",
2937
2935
  class: "tw-flex-1",
2938
2936
  disabled: i(s) || !c.isValid || S.value,
@@ -2940,17 +2938,17 @@ const er = {
2940
2938
  onClick: T
2941
2939
  }, {
2942
2940
  default: A(() => [
2943
- M(y(i(a)("COMPONENTS.CHANGE_PASSWORD.SAVE")), 1)
2941
+ k(B(i(a)("COMPONENTS.CHANGE_PASSWORD.SAVE")), 1)
2944
2942
  ]),
2945
2943
  _: 1
2946
2944
  }, 8, ["disabled", "loading"])
2947
2945
  ]),
2948
- (P(!0), W(ne, null, Ue(c.errors, (h, g) => (P(), D(i(ce), {
2949
- key: g,
2946
+ (C(!0), H(se, null, Fe(c.errors, (h, N) => (C(), D(i(Ee), {
2947
+ key: N,
2950
2948
  class: "tw-mt-3 tw-text-danger-500"
2951
2949
  }, {
2952
2950
  default: A(() => [
2953
- M(y(h.code ? i(a)(`COMPONENTS.CHANGE_PASSWORD.ERRORS.${h.code}`) : h), 1)
2951
+ k(B(h.code ? i(a)(`COMPONENTS.CHANGE_PASSWORD.ERRORS.${h.code}`) : h), 1)
2954
2952
  ]),
2955
2953
  _: 2
2956
2954
  }, 1024))), 128))
@@ -2961,8 +2959,8 @@ const er = {
2961
2959
  _: 1
2962
2960
  }, 8, ["logo", "background", "title", "subtitle"]));
2963
2961
  }
2964
- }), Ul = cr, Je = V("use-blade-navigation-adapter"), at = /* @__PURE__ */ new Set();
2965
- function oe(e, t) {
2962
+ }), Ul = cr, Je = U("use-blade-navigation-adapter"), at = /* @__PURE__ */ new Set();
2963
+ function re(e, t) {
2966
2964
  if (at.has(e)) return;
2967
2965
  at.add(e);
2968
2966
  const a = `[useBladeNavigation] "${e}" is deprecated.`;
@@ -2975,7 +2973,7 @@ function Nt(e, t, a) {
2975
2973
  idx: t,
2976
2974
  instance: e.title != null ? { title: e.title } : void 0,
2977
2975
  isVisible: e.visible,
2978
- error: N(e.error ? new Error(String(e.error)) : null)
2976
+ error: b(e.error ? new Error(String(e.error)) : null)
2979
2977
  },
2980
2978
  param: e.param,
2981
2979
  options: e.options,
@@ -2985,23 +2983,23 @@ function Nt(e, t, a) {
2985
2983
  type: { name: e.name }
2986
2984
  };
2987
2985
  }
2988
- let Ne, De;
2986
+ let De, ye;
2989
2987
  function Fl() {
2990
- Ne = void 0, De = void 0, at.clear();
2988
+ De = void 0, ye = void 0, at.clear();
2991
2989
  }
2992
2990
  function Er() {
2993
- const e = es, t = as, a = ts;
2991
+ const e = Jn, t = es, a = Qn;
2994
2992
  if (!e || !t)
2995
2993
  throw new Error(
2996
2994
  "[useBladeNavigation adapter] BladeStack or BladeMessaging not available. Ensure plugin-v2 is installed before calling useBladeNavigation()."
2997
2995
  );
2998
- const n = Qn?.router;
2996
+ const n = Xn?.router;
2999
2997
  if (!n)
3000
2998
  throw new Error("[@vc-shell/framework#useBladeNavigation] Vue Router instance is not available.");
3001
- return Ne || (Ne = C(() => {
2999
+ return De || (De = w(() => {
3002
3000
  const s = e.activeBlade.value?.id;
3003
3001
  return e.blades.value.map((o, r) => Nt(o, r, s));
3004
- })), De || (De = C(() => {
3002
+ })), ye || (ye = w(() => {
3005
3003
  const s = e.workspace.value;
3006
3004
  if (s)
3007
3005
  return Nt(s, 0, e.activeBlade.value?.id);
@@ -3010,8 +3008,8 @@ function Er() {
3010
3008
  messaging: t,
3011
3009
  bladeRegistry: a,
3012
3010
  router: n,
3013
- blades: Ne,
3014
- activeWorkspace: De
3011
+ blades: De,
3012
+ activeWorkspace: ye
3015
3013
  };
3016
3014
  }
3017
3015
  function fr(e) {
@@ -3023,149 +3021,153 @@ function fr(e) {
3023
3021
  return t.name || t.__name || "UnknownBlade";
3024
3022
  }
3025
3023
  function Wl() {
3026
- const { bladeStack: e, messaging: t, bladeRegistry: a, router: n, blades: s, activeWorkspace: o } = Er(), r = tn() ? Q(Gt, void 0) : void 0;
3027
- function l() {
3024
+ const { bladeStack: e, messaging: t, bladeRegistry: a, router: n, blades: s, activeWorkspace: o } = Er(), r = tn() ? Q(Gt, void 0) : void 0, { syncUrlPush: l, syncUrlReplace: d } = as(n, e);
3025
+ function u() {
3028
3026
  return r ? r.value.id : e.activeBlade.value?.id;
3029
3027
  }
3030
- function d(g) {
3031
- const _ = e.blades.value;
3032
- if (g >= 0 && g < _.length)
3033
- return _[g].id;
3034
- }
3035
- async function u(g, _) {
3036
- const R = {
3037
- name: fr(g.blade),
3038
- param: g.param,
3039
- options: g.options,
3040
- onOpen: g.onOpen,
3041
- onClose: g.onClose,
3042
- replaceCurrentBlade: g.replaceCurrentBlade
3028
+ function E(m) {
3029
+ const p = e.blades.value;
3030
+ if (m >= 0 && m < p.length)
3031
+ return p[m].id;
3032
+ }
3033
+ async function g(m, p) {
3034
+ const P = {
3035
+ name: fr(m.blade),
3036
+ param: m.param,
3037
+ options: m.options,
3038
+ onOpen: m.onOpen,
3039
+ onClose: m.onClose,
3040
+ replaceCurrentBlade: m.replaceCurrentBlade
3043
3041
  };
3044
- if (_)
3045
- await e.openWorkspace(R);
3046
- else if (g.replaceCurrentBlade)
3047
- await e.coverCurrentBlade(R);
3042
+ if (p)
3043
+ await e.openWorkspace(P);
3044
+ else if (m.replaceCurrentBlade)
3045
+ await e.coverCurrentBlade(P);
3048
3046
  else {
3049
- const b = l();
3050
- await e.openBlade({ ...R, parentId: b });
3047
+ const F = u();
3048
+ await e.openBlade({ ...P, parentId: F });
3051
3049
  }
3052
- }
3053
- async function E(g) {
3054
- oe("closeBlade(index)", "useBlade().closeSelf()");
3055
- const _ = d(g);
3056
- return _ ? e.closeBlade(_) : (Je.error(`closeBlade: No blade found at index ${g}.`), !1);
3057
- }
3058
- function m() {
3059
- oe("goToRoot()");
3060
- const g = n.getRoutes(), _ = g.find((b) => b.meta?.root), p = g.find((b) => b.aliasOf?.path === _?.path) || _;
3061
- if (p?.name)
3050
+ e.activeBlade.value?.url && l();
3051
+ }
3052
+ async function f(m) {
3053
+ re("closeBlade(index)", "useBlade().closeSelf()");
3054
+ const p = E(m);
3055
+ if (!p)
3056
+ return Je.error(`closeBlade: No blade found at index ${m}.`), !1;
3057
+ const R = await e.closeBlade(p);
3058
+ return R || d(), R;
3059
+ }
3060
+ function c() {
3061
+ re("goToRoot()");
3062
+ const m = n.getRoutes(), p = m.find((M) => M.meta?.root), R = m.find((M) => M.aliasOf?.path === p?.path) || p;
3063
+ if (R?.name)
3062
3064
  return {
3063
- name: p.name,
3065
+ name: R.name,
3064
3066
  params: n.currentRoute.value.params
3065
3067
  };
3066
- const R = hn(n);
3067
- return { path: R ? `/${R}` : "/" };
3068
+ const P = ts(n);
3069
+ return { path: P ? `/${P}` : "/" };
3068
3070
  }
3069
- async function f(g, _) {
3070
- oe("onParentCall(args, index)", "useBlade().callParent(method, args)");
3071
- let p;
3072
- if (_ !== void 0 ? p = d(_) : p = l(), !p) {
3071
+ async function S(m, p) {
3072
+ re("onParentCall(args, index)", "useBlade().callParent(method, args)");
3073
+ let R;
3074
+ if (p !== void 0 ? R = E(p) : R = u(), !R) {
3073
3075
  Je.error("onParentCall: Could not determine caller blade.");
3074
3076
  return;
3075
3077
  }
3076
3078
  try {
3077
- const R = await t.callParent(p, g.method, g.args);
3078
- typeof g.callback == "function" && g.callback(R);
3079
- } catch (R) {
3080
- Je.error(`onParentCall: Failed to call parent method "${g.method}":`, R);
3079
+ const P = await t.callParent(R, m.method, m.args);
3080
+ typeof m.callback == "function" && m.callback(P);
3081
+ } catch (P) {
3082
+ Je.error(`onParentCall: Failed to call parent method "${m.method}":`, P);
3081
3083
  }
3082
3084
  }
3083
- function c(g) {
3084
- oe("onBeforeClose(cb)", "useBlade().onBeforeClose(guard)");
3085
- const _ = l();
3086
- if (!_) {
3085
+ function L(m) {
3086
+ re("onBeforeClose(cb)", "useBlade().onBeforeClose(guard)");
3087
+ const p = u();
3088
+ if (!p) {
3087
3089
  an("onBeforeClose: Could not determine current blade.");
3088
3090
  return;
3089
3091
  }
3090
- e.registerBeforeClose(_, async () => await g() === !1);
3092
+ e.registerBeforeClose(p, async () => await m() === !1);
3091
3093
  }
3092
- function S(g) {
3093
- return a.getBladeComponent(g);
3094
+ function T(m) {
3095
+ return a.getBladeComponent(m);
3094
3096
  }
3095
- function L(g) {
3096
- oe("routeResolver", "plugin-v2 handles URL resolution automatically");
3097
+ function I(m) {
3098
+ re("routeResolver", "plugin-v2 handles URL resolution automatically");
3097
3099
  }
3098
- function T(g) {
3099
- oe("setNavigationQuery");
3100
- const _ = e.workspace.value;
3101
- if (!_) return;
3102
- const p = _.name.toLowerCase(), R = {};
3103
- for (const [b, B] of Object.entries(g))
3104
- B != null && (R[`${p}_${b}`] = String(B));
3100
+ function v(m) {
3101
+ re("setNavigationQuery");
3102
+ const p = e.workspace.value;
3103
+ if (!p) return;
3104
+ const R = p.name.toLowerCase(), P = {};
3105
+ for (const [M, F] of Object.entries(m))
3106
+ F != null && (P[`${R}_${M}`] = String(F));
3105
3107
  n.options.history.replace(
3106
3108
  decodeURIComponent(
3107
- `${window.location.hash.substring(1).split("?")[0]}?${new URLSearchParams(R).toString()}`
3109
+ `${window.location.hash.substring(1).split("?")[0]}?${new URLSearchParams(P).toString()}`
3108
3110
  )
3109
3111
  );
3110
3112
  }
3111
- function v() {
3112
- oe("getNavigationQuery");
3113
- const g = e.workspace.value;
3114
- if (!g) return;
3115
- const _ = g.name.toLowerCase(), p = new URLSearchParams(window.location.hash.split("?")[1] || ""), R = {};
3116
- for (const [b, B] of p.entries())
3117
- if (b.startsWith(`${_}_`)) {
3118
- const U = b.replace(`${_}_`, ""), Z = Number(B);
3119
- R[U] = isNaN(Z) ? B : Z;
3113
+ function O() {
3114
+ re("getNavigationQuery");
3115
+ const m = e.workspace.value;
3116
+ if (!m) return;
3117
+ const p = m.name.toLowerCase(), R = new URLSearchParams(window.location.hash.split("?")[1] || ""), P = {};
3118
+ for (const [M, F] of R.entries())
3119
+ if (M.startsWith(`${p}_`)) {
3120
+ const pe = M.replace(`${p}_`, ""), ee = Number(F);
3121
+ P[pe] = isNaN(ee) ? F : ee;
3120
3122
  }
3121
- return Object.keys(R).length > 0 ? R : void 0;
3123
+ return Object.keys(P).length > 0 ? P : void 0;
3122
3124
  }
3123
- function w(g, _) {
3124
- const p = d(g);
3125
- p && e.setBladeError(p, _);
3125
+ function h(m, p) {
3126
+ const R = E(m);
3127
+ R && e.setBladeError(R, p);
3126
3128
  }
3127
- function O(g) {
3128
- const _ = d(g);
3129
- _ && e.clearBladeError(_);
3129
+ function N(m) {
3130
+ const p = E(m);
3131
+ p && e.clearBladeError(p);
3130
3132
  }
3131
- const h = C(() => {
3133
+ const y = w(() => {
3132
3134
  if (!r) return;
3133
- const g = r.value;
3135
+ const m = r.value;
3134
3136
  return {
3135
- idx: e.blades.value.findIndex((R) => R.id === g.id),
3136
- instance: g.title != null ? { title: g.title } : void 0,
3137
- isVisible: g.visible,
3138
- error: N(g.error ? new Error(String(g.error)) : null)
3137
+ idx: e.blades.value.findIndex((P) => P.id === m.id),
3138
+ instance: m.title != null ? { title: m.title } : void 0,
3139
+ isVisible: m.visible,
3140
+ error: b(m.error ? new Error(String(m.error)) : null)
3139
3141
  };
3140
3142
  });
3141
3143
  return {
3142
3144
  blades: s,
3143
3145
  activeWorkspace: o,
3144
- openBlade: u,
3145
- closeBlade: E,
3146
- goToRoot: m,
3147
- onParentCall: f,
3148
- onBeforeClose: c,
3149
- resolveBladeByName: S,
3150
- routeResolver: L,
3151
- setNavigationQuery: T,
3152
- getNavigationQuery: v,
3153
- setBladeError: w,
3154
- clearBladeError: O,
3155
- currentBladeNavigationData: h
3146
+ openBlade: g,
3147
+ closeBlade: f,
3148
+ goToRoot: c,
3149
+ onParentCall: S,
3150
+ onBeforeClose: L,
3151
+ resolveBladeByName: T,
3152
+ routeResolver: I,
3153
+ setNavigationQuery: v,
3154
+ getNavigationQuery: O,
3155
+ setBladeError: h,
3156
+ clearBladeError: N,
3157
+ currentBladeNavigationData: y
3156
3158
  };
3157
3159
  }
3158
- function we(e) {
3160
+ function Ce(e) {
3159
3161
  return e == null || e === "";
3160
3162
  }
3161
- function Ve(e, t) {
3162
- if (we(e) && we(t) || we(e) && Array.isArray(t) && t.length === 0 || Array.isArray(e) && e.length === 0 && we(t) || e === t) return !0;
3163
+ function Ue(e, t) {
3164
+ if (Ce(e) && Ce(t) || Ce(e) && Array.isArray(t) && t.length === 0 || Array.isArray(e) && e.length === 0 && Ce(t) || e === t) return !0;
3163
3165
  if (typeof e != typeof t || typeof e != "object" || e === null || t === null) return !1;
3164
3166
  if (Array.isArray(e) || Array.isArray(t))
3165
- return !Array.isArray(e) || !Array.isArray(t) || e.length !== t.length ? !1 : e.every((o, r) => Ve(o, t[r]));
3167
+ return !Array.isArray(e) || !Array.isArray(t) || e.length !== t.length ? !1 : e.every((o, r) => Ue(o, t[r]));
3166
3168
  const a = e, n = t, s = /* @__PURE__ */ new Set([...Object.keys(a), ...Object.keys(n)]);
3167
3169
  for (const o of s)
3168
- if (!Ve(a[o], n[o])) return !1;
3170
+ if (!Ue(a[o], n[o])) return !1;
3169
3171
  return !0;
3170
3172
  }
3171
3173
  function Hl(e) {
@@ -3176,60 +3178,60 @@ function Hl(e) {
3176
3178
  autoBeforeUnload: s = !0,
3177
3179
  closeConfirmMessage: o,
3178
3180
  onRevert: r
3179
- } = e, { meta: l, setFieldError: d, errorBag: u } = ue({ validateOnMount: !1 }), E = N(J(t.value)), m = N(!1);
3180
- ae(
3181
+ } = e, { meta: l, setFieldError: d, errorBag: u } = de({ validateOnMount: !1 }), E = b(J(t.value)), g = b(!1);
3182
+ ne(
3181
3183
  t,
3182
- (w) => {
3183
- f.value && (m.value = !Ve(w, E.value));
3184
+ (v) => {
3185
+ f.value && (g.value = !Ue(v, E.value));
3184
3186
  },
3185
3187
  { deep: !0 }
3186
3188
  );
3187
- const f = N(!1), c = C(() => f.value && m.value), S = C(() => !(!f.value || !l.value.valid || !m.value || a && !a.value));
3189
+ const f = b(!1), c = w(() => f.value && g.value), S = w(() => !(!f.value || !l.value.valid || !g.value || a && !a.value));
3188
3190
  function L() {
3189
- E.value = J(t.value), m.value = !1, f.value = !0;
3191
+ E.value = J(t.value), g.value = !1, f.value = !0;
3190
3192
  }
3191
3193
  function T() {
3192
- f.value = !0, m.value = !Ve(t.value, E.value);
3194
+ f.value = !0, g.value = !Ue(t.value, E.value);
3193
3195
  }
3194
- function v() {
3196
+ function I() {
3195
3197
  if (r)
3196
3198
  return r();
3197
3199
  t.value = J(E.value);
3198
3200
  }
3199
3201
  if (s && $s(c), n !== !1) {
3200
- const { onBeforeClose: w } = lt(), { showConfirmation: O } = Ln();
3201
- w(async () => {
3202
+ const { onBeforeClose: v } = lt(), { showConfirmation: O } = pn();
3203
+ v(async () => {
3202
3204
  let h;
3203
3205
  if (typeof n == "object" ? h = n.value && c.value : h = c.value, h) {
3204
- const g = o ? Bt(o) : "You have unsaved changes. Are you sure you want to leave?";
3205
- return !await O(g);
3206
+ const N = o ? Bt(o) : "You have unsaved changes. Are you sure you want to leave?";
3207
+ return !await O(N);
3206
3208
  }
3207
3209
  return !1;
3208
3210
  });
3209
3211
  }
3210
- return yt(Nn, { isModified: c, canSave: S }), {
3212
+ return yt(wn, { isModified: c, canSave: S }), {
3211
3213
  setBaseline: L,
3212
3214
  markReady: T,
3213
- revert: v,
3215
+ revert: I,
3214
3216
  canSave: S,
3215
3217
  isModified: c,
3216
- isReady: C(() => f.value),
3218
+ isReady: w(() => f.value),
3217
3219
  formMeta: l,
3218
3220
  setFieldError: d,
3219
3221
  errorBag: u
3220
3222
  };
3221
3223
  }
3222
- const ye = 14, Pa = 3;
3224
+ const Be = 14, Pa = 3;
3223
3225
  function mr(e, t, a) {
3224
3226
  const n = e.length, s = (u) => u !== void 0 && t.get(u) || 0, o = n > 0 ? e[n - 1] : void 0, r = s(o), l = e.map((u, E) => {
3225
- const m = n - 1 - E;
3227
+ const g = n - 1 - E;
3226
3228
  let f = 0;
3227
3229
  for (let S = E + 1; S < n; S++)
3228
3230
  f += s(e[S]);
3229
- const c = m * ye + f;
3231
+ const c = g * Be + f;
3230
3232
  return {
3231
- sonnerIndex: m,
3232
- zIndex: n - m,
3233
+ sonnerIndex: g,
3234
+ zIndex: n - g,
3233
3235
  offset: c,
3234
3236
  initialHeight: s(u)
3235
3237
  };
@@ -3240,14 +3242,14 @@ function mr(e, t, a) {
3240
3242
  let E = 0;
3241
3243
  for (let c = 1; c < n; c++)
3242
3244
  E += s(e[c]);
3243
- const m = u * ye + E, f = s(e[0]);
3244
- d = m + f;
3245
+ const g = u * Be + E, f = s(e[0]);
3246
+ d = g + f;
3245
3247
  } else
3246
- d = r + Math.min(n - 1, Pa - 1) * ye;
3248
+ d = r + Math.min(n - 1, Pa - 1) * Be;
3247
3249
  return { toasts: l, frontHeight: r, groupHeight: d };
3248
3250
  }
3249
3251
  function gr() {
3250
- const e = N(!1), t = N(!1);
3252
+ const e = b(!1), t = b(!1);
3251
3253
  let a = null;
3252
3254
  function n() {
3253
3255
  a && (clearTimeout(a), a = null), e.value = !0;
@@ -3257,9 +3259,9 @@ function gr() {
3257
3259
  e.value = !1, a = null;
3258
3260
  }, 200));
3259
3261
  }
3260
- const o = ie(/* @__PURE__ */ new Map());
3261
- function r(E, m) {
3262
- const f = Math.round(m);
3262
+ const o = le(/* @__PURE__ */ new Map());
3263
+ function r(E, g) {
3264
+ const f = Math.round(g);
3263
3265
  o.get(E) !== f && o.set(E, f);
3264
3266
  }
3265
3267
  function l(E) {
@@ -3283,7 +3285,7 @@ function gr() {
3283
3285
  setInteracting: u
3284
3286
  };
3285
3287
  }
3286
- const Sr = H({
3288
+ const Sr = G({
3287
3289
  name: "NotificationContainer",
3288
3290
  inheritAttrs: !1,
3289
3291
  props: {
@@ -3339,7 +3341,7 @@ const Sr = H({
3339
3341
  }
3340
3342
  },
3341
3343
  setup(e) {
3342
- const { notificationContainers: t, actions: a } = Q(jt), n = C(() => t[e.position].value || []), {
3344
+ const { notificationContainers: t, actions: a } = Q(jt), n = w(() => t[e.position].value || []), {
3343
3345
  expanded: s,
3344
3346
  heightsMap: o,
3345
3347
  expandStack: r,
@@ -3347,7 +3349,7 @@ const Sr = H({
3347
3349
  reportHeight: d,
3348
3350
  forgetHeight: u,
3349
3351
  clearHeights: E,
3350
- setInteracting: m
3352
+ setInteracting: g
3351
3353
  } = gr();
3352
3354
  function f(T) {
3353
3355
  return typeof T == "object" && (!!T?.render || !!T?.setup);
@@ -3358,32 +3360,32 @@ const Sr = H({
3358
3360
  function S() {
3359
3361
  a.clear(), E();
3360
3362
  }
3361
- const L = C(() => (e.position || "top-center").startsWith("top"));
3363
+ const L = w(() => (e.position || "top-center").startsWith("top"));
3362
3364
  return () => {
3363
- const T = n.value, v = T.length, w = s.value || v <= 1, O = v > 1, h = mr(
3364
- T.map((p) => p.notificationId),
3365
+ const T = n.value, I = T.length, v = s.value || I <= 1, O = I > 1, h = mr(
3366
+ T.map((m) => m.notificationId),
3365
3367
  o,
3366
- w
3367
- ), g = T.map((p, R) => {
3368
- const { sonnerIndex: b, zIndex: B, offset: U, initialHeight: Z } = h.toasts[R], We = {
3369
- "--toasts-before": b,
3370
- "--z-index": B,
3371
- "--offset": `${U}px`,
3372
- "--initial-height": Z ? `${Z}px` : "auto"
3373
- }, Se = {
3374
- ...p,
3368
+ v
3369
+ ), N = T.map((m, p) => {
3370
+ const { sonnerIndex: R, zIndex: P, offset: M, initialHeight: F } = h.toasts[p], pe = {
3371
+ "--toasts-before": R,
3372
+ "--z-index": P,
3373
+ "--offset": `${M}px`,
3374
+ "--initial-height": F ? `${F}px` : "auto"
3375
+ }, ee = {
3376
+ ...m,
3375
3377
  onClose: c,
3376
3378
  onReportHeight: d,
3377
- toastIndex: b,
3378
- toastsCount: v,
3379
- expanded: w,
3379
+ toastIndex: R,
3380
+ toastsCount: I,
3381
+ expanded: v,
3380
3382
  visibleToasts: Pa,
3381
- style: We
3382
- }, Na = p.content && f(p.content) ? ee(ft, { ...Se, content: ee(nn(p.content)) }) : ee(ft, Se);
3383
- return ee("li", { key: p.notificationId, style: { display: "contents" } }, [Na]);
3383
+ style: pe
3384
+ }, Na = m.content && f(m.content) ? te(ft, { ...ee, content: te(nn(m.content)) }) : te(ft, ee);
3385
+ return te("li", { key: m.notificationId, style: { display: "contents" } }, [Na]);
3384
3386
  });
3385
- let _ = null;
3386
- return O && (_ = ee(
3387
+ let y = null;
3388
+ return O && (y = te(
3387
3389
  "li",
3388
3390
  {
3389
3391
  class: "notification__clear-all",
@@ -3393,47 +3395,47 @@ const Sr = H({
3393
3395
  left: "var(--width, 356px)",
3394
3396
  "margin-left": "8px",
3395
3397
  "list-style": "none",
3396
- opacity: w ? "1" : "0",
3397
- "pointer-events": w ? "auto" : "none",
3398
+ opacity: v ? "1" : "0",
3399
+ "pointer-events": v ? "auto" : "none",
3398
3400
  transition: "opacity 200ms ease"
3399
3401
  }
3400
3402
  },
3401
3403
  [
3402
- ee(
3404
+ te(
3403
3405
  "button",
3404
3406
  {
3405
3407
  type: "button",
3406
3408
  onClick: S
3407
3409
  },
3408
3410
  [
3409
- ee(Dn, { icon: "lucide-x", size: "xs", "aria-hidden": "true" }),
3411
+ te(Cn, { icon: "lucide-x", size: "xs", "aria-hidden": "true" }),
3410
3412
  X.global.t("CORE.NOTIFICATIONS.CLEAR_ALL")
3411
3413
  ]
3412
3414
  )
3413
3415
  ]
3414
- )), ee(
3416
+ )), te(
3415
3417
  "ol",
3416
3418
  {
3417
3419
  class: "notification__toast-group",
3418
- "data-expanded": String(w),
3420
+ "data-expanded": String(v),
3419
3421
  "data-position": e.position || "top-center",
3420
3422
  "data-y-position": L.value ? "top" : "bottom",
3421
3423
  style: {
3422
3424
  "--front-toast-height": `${h.frontHeight}px`,
3423
- "--gap": `${ye}px`,
3425
+ "--gap": `${Be}px`,
3424
3426
  width: "var(--width, 356px)",
3425
3427
  height: `${h.groupHeight}px`
3426
3428
  },
3427
3429
  onMouseenter: r,
3428
3430
  onMouseleave: l,
3429
3431
  onPointerdown: () => {
3430
- m(!0);
3432
+ g(!0);
3431
3433
  },
3432
3434
  onPointerup: () => {
3433
- m(!1);
3435
+ g(!1);
3434
3436
  }
3435
3437
  },
3436
- [...g, _]
3438
+ [...N, y]
3437
3439
  );
3438
3440
  };
3439
3441
  }
@@ -3443,8 +3445,8 @@ const Sr = H({
3443
3445
  }, Symbol.toStringTag, { value: "Module" }));
3444
3446
  function Ar(e, t) {
3445
3447
  t.i18n?.locale && (X.global.locale.value = t.i18n.locale), t.i18n?.fallbackLocale && (X.global.fallbackLocale.value = t.i18n.fallbackLocale), e.use(X);
3446
- const a = On();
3447
- e.provide(yn, a);
3448
+ const a = An();
3449
+ e.provide(bn, a);
3448
3450
  const { resolveCamelCaseLocale: n } = a;
3449
3451
  e.config.globalProperties.$mergeLocaleMessage = (s, o) => {
3450
3452
  X.global.mergeLocaleMessage(n(s), o);
@@ -3457,18 +3459,18 @@ function Tr(e) {
3457
3459
  phone: 480,
3458
3460
  desktop: 1024
3459
3461
  });
3460
- 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(Bn, e.config.globalProperties.$isPhone), e.provide(Mn, e.config.globalProperties.$isTablet), e.provide(kn, e.config.globalProperties.$isMobile), e.provide(Vn, e.config.globalProperties.$isDesktop), e.provide(Un, e.config.globalProperties.$isTouch);
3462
+ 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(Pn, e.config.globalProperties.$isPhone), e.provide(Nn, e.config.globalProperties.$isTablet), e.provide(Dn, e.config.globalProperties.$isMobile), e.provide(yn, e.config.globalProperties.$isDesktop), e.provide(Bn, e.config.globalProperties.$isTouch);
3461
3463
  }
3462
3464
  function hr(e) {
3463
- e.config.globalProperties.pages = [], e.config.globalProperties.bladeRoutes = [], e.provide(Fn, e.config.globalProperties.bladeRoutes);
3465
+ e.config.globalProperties.pages = [], e.config.globalProperties.bladeRoutes = [], e.provide(Mn, e.config.globalProperties.bladeRoutes);
3464
3466
  }
3465
3467
  function Lr(e) {
3466
- e.provide(Ht, Wa()), e.provide(Wn, Ha()), e.provide(Hn, Ga()), e.provide(Gn, xa()), e.provide(xn, $a()), e.provide($n, fe());
3467
- const t = Rn(e);
3468
+ e.provide(Ht, Wa()), e.provide(kn, Ha()), e.provide(Vn, Ga()), e.provide(Un, xa()), e.provide(Fn, $a()), e.provide(Wn, me());
3469
+ const t = Tn(e);
3468
3470
  e.provide(Vt, t);
3469
3471
  }
3470
3472
  function Or(e, t) {
3471
- Go(), e.use(Rs, { router: t.router }), e.use(bs), e.use(mo), e.use(To), e.use(Ts), e.use(As), e.use(ns), e.use(qn, t.aiAgent);
3473
+ Go(), e.use(Rs, { router: t.router }), e.use(bs), e.use(mo), e.use(To), e.use(Ts), e.use(As), e.use(ns), e.use(xn, t.aiAgent);
3472
3474
  }
3473
3475
  function Rr(e, t) {
3474
3476
  if (!t.applicationInsights?.instrumentationKey) return;
@@ -3515,7 +3517,7 @@ function Ir(e) {
3515
3517
  return Object.keys(a.params).length > 0 && (n = Object.fromEntries(Object.entries(a.params).filter(([s]) => s !== "pathMatch"))), n;
3516
3518
  };
3517
3519
  e.beforeEach(async (a) => {
3518
- const { isAuthenticated: n } = se();
3520
+ const { isAuthenticated: n } = oe();
3519
3521
  if (a.meta.root === !0)
3520
3522
  try {
3521
3523
  if (!n.value)
@@ -3528,7 +3530,7 @@ function Ir(e) {
3528
3530
  if (a.meta.permissions) {
3529
3531
  if (s(a.meta.permissions)) return !0;
3530
3532
  {
3531
- z.error(X.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), {
3533
+ q.error(X.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), {
3532
3534
  timeout: 3e3
3533
3535
  });
3534
3536
  const o = t(a);
@@ -3545,11 +3547,11 @@ const Gl = {
3545
3547
  }
3546
3548
  };
3547
3549
  export {
3548
- kf as AI_AGENT_URL_ENV_KEY,
3550
+ Mf as AI_AGENT_URL_ENV_KEY,
3549
3551
  VE as AiAgentServiceKey,
3550
3552
  UE as ApiException,
3551
3553
  FE as AppBarMobileButtonsServiceKey,
3552
- Hn as AppBarWidgetServiceKey,
3554
+ Vn as AppBarWidgetServiceKey,
3553
3555
  za as AppInsightsInstanceKey,
3554
3556
  Ka as AppInsightsOptionsKey,
3555
3557
  WE as AppManifestClient,
@@ -3567,13 +3569,13 @@ export {
3567
3569
  YE as BladeDataKey,
3568
3570
  Gt as BladeDescriptorKey,
3569
3571
  Kl as BladeError,
3570
- Nn as BladeFormKey,
3572
+ wn as BladeFormKey,
3571
3573
  jE as BladeLoadingKey,
3572
3574
  ZE as BladeMaximizedKey,
3573
- vn as BladeMessagingKey,
3575
+ On as BladeMessagingKey,
3574
3576
  XE as BladeRenderingStateKey,
3575
- Fn as BladeRoutesKey,
3576
- In as BladeStackKey,
3577
+ Mn as BladeRoutesKey,
3578
+ Ln as BladeStackKey,
3577
3579
  zl as ButtonGroupKey,
3578
3580
  _s as COMPONENT_DEFAULTS,
3579
3581
  Yu as CellDate,
@@ -3591,84 +3593,83 @@ export {
3591
3593
  od as ChangePassword,
3592
3594
  rd as ChangePasswordButton,
3593
3595
  Ul as ChangePasswordPage,
3594
- fm as ChartContainer,
3595
- mm as ChartLegend,
3596
- gm as ChartTooltip,
3596
+ Em as ChartContainer,
3597
+ fm as ChartLegend,
3598
+ mm as ChartTooltip,
3597
3599
  QE as CloseSettingsMenuKey,
3598
3600
  id as ColumnCollector,
3599
- Vf as DEFAULT_AI_AGENT_CONFIG,
3600
- Sm as DashboardBarChart,
3601
- pm as DashboardDonutChart,
3602
- Qf as DashboardFeedList,
3603
- em as DashboardFeedRow,
3604
- Am as DashboardLineChart,
3601
+ kf as DEFAULT_AI_AGENT_CONFIG,
3602
+ gm as DashboardBarChart,
3603
+ Sm as DashboardDonutChart,
3604
+ Jf as DashboardFeedList,
3605
+ Qf as DashboardFeedRow,
3606
+ pm as DashboardLineChart,
3605
3607
  ef as DashboardServiceKey,
3606
- tm as DashboardStatItem,
3607
- am as DashboardWidgetCard,
3608
+ em as DashboardStatItem,
3609
+ tm as DashboardWidgetCard,
3608
3610
  tf as DeveloperToolsClient,
3609
3611
  af as DiagnosticsClient,
3610
3612
  ql as DisplayableError,
3611
- nm as DraggableDashboard,
3613
+ am as DraggableDashboard,
3612
3614
  nf as DynamicModulesKey,
3613
3615
  sf as DynamicPropertiesClient,
3614
3616
  of as DynamicPropertyValueType,
3615
- Uf as EMBEDDED_TO_HOST_MESSAGE_TYPES,
3617
+ Vf as EMBEDDED_TO_HOST_MESSAGE_TYPES,
3616
3618
  rf as EmbeddedModeKey,
3617
3619
  lf as EntryState,
3618
3620
  ld as ErrorInterceptor,
3619
3621
  ms as ExtensionPoint,
3620
- hm as ExtensionPoints,
3622
+ Tm as ExtensionPoints,
3621
3623
  Zo as ExternalProviders,
3622
3624
  uf as ExternalSignInClient,
3623
3625
  Yl as FALLBACK_BLADE_ID,
3624
3626
  Ml as ForgotPassword,
3625
3627
  jl as FrameworkError,
3626
- Ff as HOST_TO_EMBEDDED_MESSAGE_TYPES,
3628
+ Uf as HOST_TO_EMBEDDED_MESSAGE_TYPES,
3627
3629
  Dt as InjectionError,
3628
3630
  df as InternalRoutesKey,
3629
3631
  Vl as Invite,
3630
- Vn as IsDesktopKey,
3631
- kn as IsMobileKey,
3632
- Bn as IsPhoneKey,
3633
- Mn as IsTabletKey,
3634
- Un as IsTouchKey,
3632
+ yn as IsDesktopKey,
3633
+ Dn as IsMobileKey,
3634
+ Pn as IsPhoneKey,
3635
+ Nn as IsTabletKey,
3636
+ Bn as IsTouchKey,
3635
3637
  cf as JobsClient,
3636
3638
  Ef as JsonValueKind,
3637
- sm as LAYOUT_STORAGE_KEY,
3639
+ nm as LAYOUT_STORAGE_KEY,
3638
3640
  ud as LanguageSelector,
3639
- yn as LanguageServiceKey,
3641
+ bn as LanguageServiceKey,
3640
3642
  ff as LocalizableSettingsClient,
3641
3643
  Bl as Login,
3642
3644
  dd as LogoutButton,
3643
3645
  cd as MenuBurgerIcon,
3644
- Gn as MenuServiceKey,
3646
+ Un as MenuServiceKey,
3645
3647
  Zl as ModuleLoadError,
3646
3648
  mf as ModulesClient,
3647
3649
  gf as ModulesLoadErrorKey,
3648
3650
  Sf as ModulesReadyKey,
3649
- pf as NOOP_URL_SINK,
3650
3651
  Sr as NotificationContainer,
3651
3652
  sn as NotificationContextKey,
3652
3653
  Ed as NotificationDropdown,
3653
- $n as NotificationStoreKey,
3654
+ Wn as NotificationStoreKey,
3654
3655
  fd as NotificationTemplate,
3655
- Af as OAuthAppsClient,
3656
- Tf as ProgressMessageLevel,
3657
- hf as PushNotificationClient,
3656
+ pf as OAuthAppsClient,
3657
+ Af as ProgressMessageLevel,
3658
+ Tf as PushNotificationClient,
3658
3659
  Xl as RegistrationError,
3659
3660
  kl as ResetPassword,
3660
3661
  md as SCHEDULER_ZOOM_LEVELS,
3661
- Lf as SecurityClient,
3662
+ hf as SecurityClient,
3662
3663
  Jl as ServiceError,
3663
- wn as SettingClient,
3664
- Of as SettingValueType,
3664
+ Rn as SettingClient,
3665
+ Lf as SettingValueType,
3665
3666
  gd as SettingsMenu,
3666
3667
  Sd as SettingsMenuItem,
3667
- xn as SettingsMenuServiceKey,
3668
- Rf as SettingsV2Client,
3669
- _f as ShellIndicatorsKey,
3668
+ Fn as SettingsMenuServiceKey,
3669
+ Of as SettingsV2Client,
3670
+ Rf as ShellIndicatorsKey,
3670
3671
  yl as Sidebar,
3671
- If as SortDirection,
3672
+ _f as SortDirection,
3672
3673
  pd as Table,
3673
3674
  Ad as TableBody,
3674
3675
  Td as TableCell,
@@ -3684,12 +3685,12 @@ export {
3684
3685
  bd as TableSearchHeader,
3685
3686
  Pd as TableSelectAllBar,
3686
3687
  Nd as ThemeSelector,
3687
- Wn as ToolbarServiceKey,
3688
+ kn as ToolbarServiceKey,
3688
3689
  Dd as UserDropdownButton,
3689
3690
  Ql as ValidationError,
3690
3691
  yd as VcAccordion,
3691
3692
  Bd as VcAccordionItem,
3692
- Wf as VcAiAgentPanel,
3693
+ Ff as VcAiAgentPanel,
3693
3694
  Md as VcApp,
3694
3695
  kd as VcAppBarMobileActions,
3695
3696
  Vd as VcAppBarOverlay,
@@ -3703,25 +3704,25 @@ export {
3703
3704
  Kd as VcAppSidebarCollapseButton,
3704
3705
  zd as VcAppSidebarContent,
3705
3706
  qd as VcAppSidebarHeader,
3706
- Re as VcAuthLayout,
3707
+ _e as VcAuthLayout,
3707
3708
  Yd as VcBadge,
3708
- Tn as VcBanner,
3709
+ Sn as VcBanner,
3709
3710
  Ft as VcBlade,
3710
3711
  jd as VcBladeNavigation,
3711
3712
  Rs as VcBladeNavigationComponent,
3712
3713
  Zd as VcBladeNavigationV2,
3713
3714
  Xd as VcBladeSlot,
3714
3715
  Jd as VcBreadcrumbs,
3715
- x as VcButton,
3716
+ $ as VcButton,
3716
3717
  Qd as VcButtonGroup,
3717
3718
  ec as VcCard,
3718
3719
  tc as VcCheckbox,
3719
3720
  ac as VcCheckboxGroup,
3720
3721
  nc as VcCol,
3721
3722
  eu as VcColorInput,
3722
- pe as VcColumn,
3723
- gn as VcContainer,
3724
- pn as VcDataTable,
3723
+ Ae as VcColumn,
3724
+ En as VcContainer,
3725
+ mn as VcDataTable,
3725
3726
  tu as VcDatePicker,
3726
3727
  sc as VcDropdown,
3727
3728
  oc as VcDropdownItem,
@@ -3730,14 +3731,14 @@ export {
3730
3731
  lc as VcEnvironmentBanner,
3731
3732
  $e as VcField,
3732
3733
  uc as VcFileUpload,
3733
- me as VcForm,
3734
+ ge as VcForm,
3734
3735
  dc as VcGallery,
3735
- ce as VcHint,
3736
- Dn as VcIcon,
3736
+ Ee as VcHint,
3737
+ Cn as VcIcon,
3737
3738
  it as VcImage,
3738
3739
  cc as VcImageTile,
3739
3740
  Ec as VcImageUpload,
3740
- $ as VcInput,
3741
+ K as VcInput,
3741
3742
  au as VcInputCurrency,
3742
3743
  nu as VcInputDropdown,
3743
3744
  fc as VcInputGroup,
@@ -3752,7 +3753,7 @@ export {
3752
3753
  hc as VcMultivalue,
3753
3754
  Lc as VcPagination,
3754
3755
  Oc as VcPopover,
3755
- En as VcPopup,
3756
+ un as VcPopup,
3756
3757
  Rc as VcProgress,
3757
3758
  _c as VcRadioButton,
3758
3759
  Ic as VcRadioGroup,
@@ -3761,57 +3762,57 @@ export {
3761
3762
  Cc as VcScheduler,
3762
3763
  ou as VcScrollableContainer,
3763
3764
  ru as VcSelect,
3764
- An as VcSidebar,
3765
+ gn as VcSidebar,
3765
3766
  iu as VcSkeleton,
3766
3767
  bc as VcSlider,
3767
3768
  Pc as VcStatus,
3768
3769
  Nc as VcStatusIcon,
3769
3770
  Dc as VcSwitch,
3770
3771
  yc as VcTable,
3771
- Sn as VcTextarea,
3772
+ fn as VcTextarea,
3772
3773
  ft as VcToast,
3773
- vf as VcTooltip,
3774
+ If as VcTooltip,
3774
3775
  Bc as VcVideo,
3775
3776
  Mc as VcWidget,
3776
- Cn as WidgetScopeKey,
3777
+ _n as WidgetScopeKey,
3777
3778
  Ht as WidgetServiceKey,
3778
3779
  Ut as __registerBladeConfig,
3779
3780
  kc as _createEnvironmentNameLogic,
3780
- wf as _createInternalUserLogic,
3781
+ vf as _createInternalUserLogic,
3781
3782
  Fl as _resetAdapterState,
3782
- Cf as _sharedInternalUserLogic,
3783
+ wf as _sharedInternalUserLogic,
3783
3784
  lu as addAppBarWidget,
3784
3785
  uu as addMenuItem,
3785
3786
  du as addSettingsMenuItem,
3786
3787
  cu as after,
3787
- qn as aiAgentPlugin,
3788
+ xn as aiAgentPlugin,
3788
3789
  Vc as autofocus,
3789
3790
  Eu as before,
3790
3791
  fu as bigInt,
3791
3792
  El as camelToSnake,
3792
3793
  ml as camelize,
3793
- om as clearLayoutStorage,
3794
+ sm as clearLayoutStorage,
3794
3795
  mu as convertColorNameToHex,
3795
3796
  Uc as convertMomentFormat,
3796
- Hf as createAiAgentToolbarButton,
3797
+ Wf as createAiAgentToolbarButton,
3797
3798
  Tl as createAppModule,
3798
3799
  gu as createBackendRegistry,
3799
3800
  Su as createKeyedBackendRegistry,
3800
- V as createLogger,
3801
+ U as createLogger,
3801
3802
  Gl as default,
3802
3803
  ct as defineAppModule,
3803
3804
  Pl as defineBladeContext,
3804
- Lm as defineExtensionPoint,
3805
+ hm as defineExtensionPoint,
3805
3806
  Fc as detectThemePreset,
3806
- Gf as expectedCode,
3807
- xf as expectedEventKey,
3807
+ Hf as expectedCode,
3808
+ Gf as expectedEventKey,
3808
3809
  pu as fileWeight,
3809
3810
  Wc as focusIfLoose,
3810
3811
  Hc as formatBadgeCount,
3811
3812
  Gc as formatDateRelative,
3812
3813
  xc as formatDateWithPattern,
3813
- $f as formatShortcut,
3814
- rm as fromGridstackNode,
3814
+ xf as formatShortcut,
3815
+ om as fromGridstackNode,
3815
3816
  ka as generateId,
3816
3817
  $c as getAllBladeConfigs,
3817
3818
  Kc as getBestThumbnailSize,
@@ -3822,26 +3823,26 @@ export {
3822
3823
  Au as getMenuBadge,
3823
3824
  Tu as getMenuBadges,
3824
3825
  qc as getThumbnailUrl,
3825
- Kf as hotkey,
3826
+ $f as hotkey,
3826
3827
  X as i18n,
3827
3828
  Nl as injectBladeContext,
3828
3829
  hu as isFrameworkError,
3829
3830
  Kt as isImage,
3830
- zf as isTextInputFocused,
3831
+ Kf as isTextInputFocused,
3831
3832
  Lu as isValidHexColor,
3832
3833
  gs as kebabToCamel,
3833
3834
  fl as kebabToPascal,
3834
3835
  Yc as languageToCountryMap,
3835
- im as loadLayoutFromStorage,
3836
+ rm as loadLayoutFromStorage,
3836
3837
  Ma as loading,
3837
- bf as logger,
3838
- Pf as loggers,
3839
- qf as matchesEvent,
3840
- lm as mergeLayoutWithWidgets,
3838
+ Cf as logger,
3839
+ bf as loggers,
3840
+ zf as matchesEvent,
3841
+ im as mergeLayoutWithWidgets,
3841
3842
  Ou as mindimensions,
3842
3843
  Ru as normalizeHexColor,
3843
- z as notification,
3844
- Ce as parseError,
3844
+ q as notification,
3845
+ be as parseError,
3845
3846
  As as permissions,
3846
3847
  _u as provideAppBarState,
3847
3848
  jc as provideAppBarWidget,
@@ -3861,14 +3862,14 @@ export {
3861
3862
  Jc as resolveEnvironment,
3862
3863
  Qc as resolveLocale,
3863
3864
  eE as resolveLocaleSync,
3864
- um as saveLayoutToStorage,
3865
+ lm as saveLayoutToStorage,
3865
3866
  Mu as setMenuBadge,
3866
3867
  Ts as signalR,
3867
3868
  tE as stripTenantPrefix,
3868
- dm as toGridstackWidget,
3869
+ um as toGridstackWidget,
3869
3870
  aE as useAdaptiveItems,
3870
- Yf as useAiAgent,
3871
- Bf as useAiAgentContext,
3871
+ qf as useAiAgent,
3872
+ yf as useAiAgentContext,
3872
3873
  Ms as useApiClient,
3873
3874
  nE as useAppBarMobileActions,
3874
3875
  ku as useAppBarState,
@@ -3886,7 +3887,7 @@ export {
3886
3887
  iE as useBladeMessaging,
3887
3888
  Wl as useBladeNavigation,
3888
3889
  gl as useBladeNotifications,
3889
- jf as useBladeStack,
3890
+ Yf as useBladeStack,
3890
3891
  Cl as useBladeWidgets,
3891
3892
  lE as useBreadcrumbs,
3892
3893
  pl as useBroadcastFilter,
@@ -3899,17 +3900,17 @@ export {
3899
3900
  vl as useDynamicProperties,
3900
3901
  fE as useEnvironmentName,
3901
3902
  Fu as useErrorHandler,
3902
- Om as useExtensionPoint,
3903
+ Lm as useExtensionPoint,
3903
3904
  mE as useFilterState,
3904
3905
  Wu as useFloatingPosition,
3905
3906
  Hu as useFormField,
3906
3907
  Ll as useFunctions,
3907
3908
  gE as useGalleryPreview,
3908
- cm as useGridstack,
3909
+ dm as useGridstack,
3909
3910
  SE as useImageLoad,
3910
3911
  Vo as useInstance,
3911
- Zf as useIsMac,
3912
- Xf as useKeyboardShortcuts,
3912
+ jf as useIsMac,
3913
+ Zf as useKeyboardShortcuts,
3913
3914
  pE as useLanguages,
3914
3915
  Rl as useLatestRequest,
3915
3916
  Xt as useLoading,
@@ -3918,13 +3919,13 @@ export {
3918
3919
  Gu as useMenuService,
3919
3920
  Dl as useModificationTracker,
3920
3921
  Sl as useNotificationContext,
3921
- fe as useNotificationStore,
3922
+ me as useNotificationStore,
3922
3923
  Ol as useNotifications,
3923
3924
  nt as usePermissions,
3924
- Ln as usePopup,
3925
+ pn as usePopup,
3925
3926
  Ua as useResponsive,
3926
3927
  xu as useScrollArrows,
3927
- ve as useSettings,
3928
+ we as useSettings,
3928
3929
  $u as useSettingsMenu,
3929
3930
  hE as useShellBootstrap,
3930
3931
  LE as useShellLifecycle,
@@ -3940,11 +3941,11 @@ export {
3940
3941
  PE as useTableSearch,
3941
3942
  NE as useTableSelection,
3942
3943
  DE as useTableSort,
3943
- Nf as useTeleportTarget,
3944
+ Pf as useTeleportTarget,
3944
3945
  Fa as useTheme,
3945
3946
  yE as useToggleableContent,
3946
3947
  Ku as useToolbar,
3947
- Df as useUser,
3948
+ Nf as useUser,
3948
3949
  BE as useVirtualScroll,
3949
3950
  wl as useWebVitals,
3950
3951
  bl as useWidgetTrigger,