@vc-shell/framework 2.5.0-pr315.e9a6975 → 2.5.0-pr317.07f1a32

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