@vc-shell/framework 2.4.0-pr294.45ad5fb → 2.4.0-pr295.1242472

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 (33) hide show
  1. package/dist/ai-agent/index.js +3 -3
  2. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cm_izaFs.js → VcAiAgentPanel.vue_vue_type_script_setup_true_lang-bvyt-Rtf.js} +376 -367
  3. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-bvyt-Rtf.js.map +1 -0
  4. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-DrGobYkj.js → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js} +74 -68
  5. package/dist/chunks/{VcAiAgentPanel.vue_vue_type_style_index_0_lang-DrGobYkj.js.map → VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js.map} +1 -1
  6. package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-6_4E0nZo.js → VcScheduler.vue_vue_type_script_setup_true_lang-iRWYakRf.js} +557 -539
  7. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-iRWYakRf.js.map +1 -0
  8. package/dist/chunks/{VcScheduler.vue_vue_type_style_index_0_lang-BSvjI-39.js → VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js} +533 -521
  9. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js.map +1 -0
  10. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-C9fu-sdk.js → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DSujdkDw.js} +2 -2
  11. package/dist/chunks/{dashboard-feed-row.vue_vue_type_script_setup_true_lang-C9fu-sdk.js.map → dashboard-feed-row.vue_vue_type_script_setup_true_lang-DSujdkDw.js.map} +1 -1
  12. package/dist/chunks/{index-C-SEYj46.js → index-DYMV0pFy.js} +2 -2
  13. package/dist/chunks/{index-C-SEYj46.js.map → index-DYMV0pFy.js.map} +1 -1
  14. package/dist/core/interceptors/index.d.ts.map +1 -1
  15. package/dist/core/plugins/ai-agent/services/ai-agent-service.d.ts.map +1 -1
  16. package/dist/core/plugins/ai-agent/services/message-transport.d.ts +2 -0
  17. package/dist/core/plugins/ai-agent/services/message-transport.d.ts.map +1 -1
  18. package/dist/core/plugins/ai-agent/types.d.ts +1 -1
  19. package/dist/core/plugins/ai-agent/types.d.ts.map +1 -1
  20. package/dist/core/utilities/error.d.ts.map +1 -1
  21. package/dist/core/utilities/sessionExpiration.d.ts +14 -0
  22. package/dist/core/utilities/sessionExpiration.d.ts.map +1 -1
  23. package/dist/dashboard/index.js +1 -1
  24. package/dist/framework.js +906 -904
  25. package/dist/framework.js.map +1 -1
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/dist/ui/composables/useDataTablePagination.d.ts +13 -2
  28. package/dist/ui/composables/useDataTablePagination.d.ts.map +1 -1
  29. package/dist/ui/index.js +3 -3
  30. package/package.json +4 -4
  31. package/dist/chunks/VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cm_izaFs.js.map +0 -1
  32. package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-6_4E0nZo.js.map +0 -1
  33. package/dist/chunks/VcScheduler.vue_vue_type_style_index_0_lang-BSvjI-39.js.map +0 -1
@@ -1,100 +1,100 @@
1
- import { nextTick as $e, ref as N, computed as y, getCurrentInstance as Mt, inject as Ce, defineComponent as Y, openBlock as s, createElementBlock as p, createElementVNode as C, watch as ie, onMounted as tt, onBeforeUnmount as We, toValue as Ne, reactive as mt, shallowRef as Kn, provide as Be, createBlock as B, unref as a, withCtx as T, withDirectives as Xe, resolveDynamicComponent as qe, vShow as kt, createCommentVNode as O, toRef as xe, normalizeClass as Q, renderSlot as z, toDisplayString as F, Teleport as bt, createVNode as R, Transition as Ue, normalizeStyle as he, Fragment as J, renderList as ve, createTextVNode as de, mergeProps as Me, withModifiers as ue, isRef as ht, h as Xi, withKeys as Re, createSlots as Ie, markRaw as Dn, useId as Pt, useSlots as yt, TransitionGroup as Yn, toHandlers as Ml, onUnmounted as Ot, hasInjectionContext as fo, getCurrentScope as mo, onScopeDispose as jn, useAttrs as Qi, watchEffect as Xn, vModelText as Ji, toRefs as Zi, normalizeProps as pt, guardReactiveProps as gt, vModelCheckbox as es, toRaw as po } from "vue";
2
- import { a9 as ts, c as Ze, N as ls, d as go, B as sl, O as Qn, K as bo, e as ho, H as yo, _ as le, u as Vt, A as ns, a as st, b as wo, W as Co, h as as, L as Pn, s as Vn, l as os, J as is, ad as _o, M as ss, Q as Jn, E as rl, x as Fn, v as rs, a1 as cs, X as ko, D as us, C as Eo, r as ds, a6 as vs } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-DrGobYkj.js";
3
- import { w as Rt, Y as fs, as as ms, B as ps, D as De, m as cl, _ as Ee, aq as So, t as ul, a3 as gs, a4 as bs, j as we, k as Qe, s as hs, g as rt, Q as ys, I as Fl, x as Ct, H as ws, at as Cs, n as Ft, V as Je, au as _s, a2 as $o, av as ks, aw as Es, ao as Ro, v as Ul, ap as Ss, d as Fe, h as Tt, u as Ao, E as $s, ac as Rs, p as As, i as _t, f as Ts, ax as zl, q as To, ay as Oo, az as Lo, e as Os, aA as Ls, aB as ol, aC as Ms, aD as xs, l as Mo, b as Is, c as Cn } from "./VcScheduler.vue_vue_type_style_index_0_lang-BSvjI-39.js";
4
- import { m as xo, w as Ut, v as _n, t as Ns, r as xl, x as Bs, q as Un, z as Ll, y as Io, g as Zn, B as Ds, _ as Ps } from "./VcAiAgentPanel.vue_vue_type_script_setup_true_lang-Cm_izaFs.js";
1
+ import { nextTick as $e, ref as N, computed as y, getCurrentInstance as Mt, inject as Ce, defineComponent as Y, openBlock as s, createElementBlock as p, createElementVNode as C, watch as ie, onMounted as tt, onBeforeUnmount as We, toValue as Ne, reactive as mt, shallowRef as Kn, provide as Be, createBlock as B, unref as a, withCtx as T, withDirectives as Xe, resolveDynamicComponent as qe, vShow as kt, createCommentVNode as O, toRef as xe, normalizeClass as Q, renderSlot as z, toDisplayString as F, Teleport as bt, createVNode as R, Transition as Ue, normalizeStyle as he, Fragment as J, renderList as ve, createTextVNode as de, mergeProps as Me, withModifiers as ue, isRef as ht, h as Qi, withKeys as Re, createSlots as Ie, markRaw as Dn, useId as Pt, useSlots as yt, TransitionGroup as Yn, toHandlers as Ml, onUnmounted as Ot, hasInjectionContext as mo, getCurrentScope as po, onScopeDispose as jn, useAttrs as Ji, watchEffect as Xn, vModelText as Zi, toRefs as es, normalizeProps as pt, guardReactiveProps as gt, vModelCheckbox as ts, toRaw as go } from "vue";
2
+ import { aa as ls, c as Ze, N as ns, d as bo, B as sl, P as Qn, O as ho, e as yo, J as wo, _ as le, u as Vt, A as as, a as st, b as Co, W as _o, h as os, L as Pn, t as Vn, n as is, K as ss, ae as ko, M as rs, R as Jn, E as rl, y as Fn, w as cs, a2 as us, Y as Eo, F as ds, D as So, s as vs, a7 as fs } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js";
3
+ import { w as Rt, Y as ms, as as ps, B as gs, D as De, m as cl, _ as Ee, aq as $o, t as ul, a3 as bs, a4 as hs, j as we, k as Qe, s as ys, g as rt, Q as ws, I as Fl, x as Ct, H as Cs, at as _s, n as Ft, V as Je, au as ks, a2 as Ro, av as Es, aw as Ss, ao as Ao, v as Ul, ap as $s, d as Fe, h as Tt, u as To, E as Rs, ac as As, p as Ts, i as _t, f as Os, ax as zl, q as Oo, ay as Lo, az as Mo, e as Ls, aA as Ms, aB as ol, aC as xs, aD as Is, l as xo, b as Ns, c as Cn } from "./VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js";
4
+ import { m as Io, w as Ut, v as _n, t as Bs, r as xl, x as Ds, q as Un, z as Ll, y as No, g as Zn, B as Ps, _ as Vs } from "./VcAiAgentPanel.vue_vue_type_script_setup_true_lang-bvyt-Rtf.js";
5
5
  import { u as Pe } from "./vendor-vue-i18n-LO-EJStU.js";
6
- import { s as Hl, f as ea, o as ta, d as Vs } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
7
- import Fs from "../assets/d5f9664ebbfb104b.svg";
8
- import Us from "../assets/4e43c74354534fb3.svg";
9
- import zs from "../assets/e98196a9f8dcb2f0.svg";
10
- import Hs from "../assets/74ed5f8a78e71106.svg";
11
- import Ws from "../assets/1ea01de36eb5491b.svg";
12
- import Gs from "../assets/d5a5b8630120073d.svg";
13
- import qs from "../assets/6798e4dd4add9b48.svg";
14
- import Ks from "../assets/2d4e6190eec72737.svg";
15
- import Ys from "../assets/9392bf1d591e1abb.svg";
16
- import js from "../assets/204eaf512fde2023.svg";
17
- import Xs from "../assets/0ba156439a339f2a.svg";
18
- import Qs from "../assets/2857c513073467da.svg";
19
- import Js from "../assets/b645a4a2181b9dc1.svg";
20
- import Zs from "../assets/b94421fadd23b0f2.svg";
21
- import er from "../assets/6a3e73faf406cf33.svg";
22
- import tr from "../assets/e38acaa1757232e0.svg";
23
- import lr from "../assets/ca791c5ca5848a03.svg";
24
- import nr from "../assets/10768e2cc79fc60b.svg";
25
- import ar from "../assets/67230f05dc94a265.svg";
26
- import or from "../assets/4d7a77b0e5373992.svg";
27
- import ir from "../assets/f7fc8bf46089d8b2.svg";
28
- import sr from "../assets/92508f8707159b51.svg";
29
- import rr from "../assets/b6499ddce0a4ef7d.svg";
30
- import cr from "../assets/fed13b0d59903483.svg";
31
- import ur from "../assets/34ff7dd0c2285956.svg";
32
- import dr from "../assets/bb28fb0f27f1c11b.svg";
33
- import vr from "../assets/21220a9d10e6c558.svg";
34
- import fr from "../assets/b372390551ca2fa1.svg";
35
- import mr from "../assets/262f46a0b6d94bb6.svg";
36
- import pr from "../assets/042c75b764bc78a7.svg";
37
- import gr from "../assets/b1a596e31ad1185a.svg";
38
- import br from "../assets/15e91cdd649cde9a.svg";
39
- import hr from "../assets/e72bb11356af94c7.svg";
40
- import yr from "../assets/4fe75f5117100705.svg";
41
- import wr from "../assets/dd05d43ff0df2fc7.svg";
42
- import Cr from "../assets/b325adcae33bbe7a.svg";
43
- import _r from "../assets/f09d89268e4c0317.svg";
44
- import kr from "../assets/9cb83236f6bb7ab1.svg";
45
- import Er from "../assets/d084bda16abe8a56.svg";
46
- import Sr from "../assets/7eda727273fd98d3.svg";
47
- import $r from "../assets/572bb1bb4156a9c1.svg";
48
- import Rr from "../assets/41275bcb979cb650.svg";
49
- import Ar from "../assets/1de63eb118636cce.svg";
50
- import Tr from "../assets/e5adb5ae3a3698f6.svg";
51
- import Or from "../assets/b5bb1e8fc975decd.svg";
52
- import Lr from "../assets/157b8721e0600ea8.svg";
53
- import Mr from "../assets/a18404194e3f9047.svg";
54
- import xr from "../assets/a2017fe7f0a26510.svg";
55
- import Ir from "../assets/0f590f8a94577092.svg";
56
- import Nr from "../assets/259e6ad461a52ad7.svg";
57
- import Br from "../assets/7d55399c2a7bc985.svg";
58
- import Dr from "../assets/910b0d99b9e26568.svg";
59
- import Pr from "../assets/e4a8550f1c7ffe36.svg";
60
- import Vr from "../assets/2088983edf42e153.svg";
61
- import Fr from "../assets/225da11d23968333.svg";
62
- import Ur from "../assets/d32b129cae2fffd6.svg";
63
- import zr from "../assets/abf88f301a0730f4.svg";
64
- import Hr from "../assets/0fc5820f8be53a1b.svg";
65
- import Wr from "../assets/d3f792f54ae4c307.svg";
66
- import Gr from "../assets/208f810a9321a327.svg";
67
- import qr from "../assets/72de3a63bc0b70dd.svg";
68
- import * as Kr from "vee-validate";
69
- import { useField as Yr, useForm as No, useIsFormValid as jr, useIsFormDirty as Xr, Field as al, PublicFormContextKey as Qr } from "vee-validate";
70
- import { I as Jr } from "./vendor-iso-639-1-BEjYyfKo.js";
71
- import { u as Zr, E as La } from "./vendor-tiptap-vue-3-BNAw8onj.js";
72
- import { S as ec } from "./vendor-tiptap-starter-kit-ny-AoaO_.js";
73
- import { U as tc } from "./vendor-tiptap-extension-underline-Bo1pXXDN.js";
74
- import { T as lc, a as nc, b as ac, c as oc } from "./vendor-tiptap-extension-table-QVjcLO_H.js";
75
- import { L as ic } from "./vendor-tiptap-extension-link-CETrc0Mo.js";
76
- import { I as sc } from "./vendor-tiptap-extension-image-BpqLcXdw.js";
77
- import { P as rc } from "./vendor-tiptap-extensions-D7eaegpB.js";
78
- import { T as cc } from "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
79
- import { M as uc } from "./vendor-tiptap-markdown-18K1hcU0.js";
80
- import { b as dc } from "./vendor-js-beautify-D-6mWVv0.js";
6
+ import { s as Hl, f as ea, o as ta, d as Fs } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
7
+ import Us from "../assets/d5f9664ebbfb104b.svg";
8
+ import zs from "../assets/4e43c74354534fb3.svg";
9
+ import Hs from "../assets/e98196a9f8dcb2f0.svg";
10
+ import Ws from "../assets/74ed5f8a78e71106.svg";
11
+ import Gs from "../assets/1ea01de36eb5491b.svg";
12
+ import qs from "../assets/d5a5b8630120073d.svg";
13
+ import Ks from "../assets/6798e4dd4add9b48.svg";
14
+ import Ys from "../assets/2d4e6190eec72737.svg";
15
+ import js from "../assets/9392bf1d591e1abb.svg";
16
+ import Xs from "../assets/204eaf512fde2023.svg";
17
+ import Qs from "../assets/0ba156439a339f2a.svg";
18
+ import Js from "../assets/2857c513073467da.svg";
19
+ import Zs from "../assets/b645a4a2181b9dc1.svg";
20
+ import er from "../assets/b94421fadd23b0f2.svg";
21
+ import tr from "../assets/6a3e73faf406cf33.svg";
22
+ import lr from "../assets/e38acaa1757232e0.svg";
23
+ import nr from "../assets/ca791c5ca5848a03.svg";
24
+ import ar from "../assets/10768e2cc79fc60b.svg";
25
+ import or from "../assets/67230f05dc94a265.svg";
26
+ import ir from "../assets/4d7a77b0e5373992.svg";
27
+ import sr from "../assets/f7fc8bf46089d8b2.svg";
28
+ import rr from "../assets/92508f8707159b51.svg";
29
+ import cr from "../assets/b6499ddce0a4ef7d.svg";
30
+ import ur from "../assets/fed13b0d59903483.svg";
31
+ import dr from "../assets/34ff7dd0c2285956.svg";
32
+ import vr from "../assets/bb28fb0f27f1c11b.svg";
33
+ import fr from "../assets/21220a9d10e6c558.svg";
34
+ import mr from "../assets/b372390551ca2fa1.svg";
35
+ import pr from "../assets/262f46a0b6d94bb6.svg";
36
+ import gr from "../assets/042c75b764bc78a7.svg";
37
+ import br from "../assets/b1a596e31ad1185a.svg";
38
+ import hr from "../assets/15e91cdd649cde9a.svg";
39
+ import yr from "../assets/e72bb11356af94c7.svg";
40
+ import wr from "../assets/4fe75f5117100705.svg";
41
+ import Cr from "../assets/dd05d43ff0df2fc7.svg";
42
+ import _r from "../assets/b325adcae33bbe7a.svg";
43
+ import kr from "../assets/f09d89268e4c0317.svg";
44
+ import Er from "../assets/9cb83236f6bb7ab1.svg";
45
+ import Sr from "../assets/d084bda16abe8a56.svg";
46
+ import $r from "../assets/7eda727273fd98d3.svg";
47
+ import Rr from "../assets/572bb1bb4156a9c1.svg";
48
+ import Ar from "../assets/41275bcb979cb650.svg";
49
+ import Tr from "../assets/1de63eb118636cce.svg";
50
+ import Or from "../assets/e5adb5ae3a3698f6.svg";
51
+ import Lr from "../assets/b5bb1e8fc975decd.svg";
52
+ import Mr from "../assets/157b8721e0600ea8.svg";
53
+ import xr from "../assets/a18404194e3f9047.svg";
54
+ import Ir from "../assets/a2017fe7f0a26510.svg";
55
+ import Nr from "../assets/0f590f8a94577092.svg";
56
+ import Br from "../assets/259e6ad461a52ad7.svg";
57
+ import Dr from "../assets/7d55399c2a7bc985.svg";
58
+ import Pr from "../assets/910b0d99b9e26568.svg";
59
+ import Vr from "../assets/e4a8550f1c7ffe36.svg";
60
+ import Fr from "../assets/2088983edf42e153.svg";
61
+ import Ur from "../assets/225da11d23968333.svg";
62
+ import zr from "../assets/d32b129cae2fffd6.svg";
63
+ import Hr from "../assets/abf88f301a0730f4.svg";
64
+ import Wr from "../assets/0fc5820f8be53a1b.svg";
65
+ import Gr from "../assets/d3f792f54ae4c307.svg";
66
+ import qr from "../assets/208f810a9321a327.svg";
67
+ import Kr from "../assets/72de3a63bc0b70dd.svg";
68
+ import * as Yr from "vee-validate";
69
+ import { useField as jr, useForm as Bo, useIsFormValid as Xr, useIsFormDirty as Qr, Field as al, PublicFormContextKey as Jr } from "vee-validate";
70
+ import { I as Zr } from "./vendor-iso-639-1-BEjYyfKo.js";
71
+ import { u as ec, E as La } from "./vendor-tiptap-vue-3-BNAw8onj.js";
72
+ import { S as tc } from "./vendor-tiptap-starter-kit-ny-AoaO_.js";
73
+ import { U as lc } from "./vendor-tiptap-extension-underline-Bo1pXXDN.js";
74
+ import { T as nc, a as ac, b as oc, c as ic } from "./vendor-tiptap-extension-table-QVjcLO_H.js";
75
+ import { L as sc } from "./vendor-tiptap-extension-link-CETrc0Mo.js";
76
+ import { I as rc } from "./vendor-tiptap-extension-image-BpqLcXdw.js";
77
+ import { P as cc } from "./vendor-tiptap-extensions-D7eaegpB.js";
78
+ import { T as uc } from "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
79
+ import { M as dc } from "./vendor-tiptap-markdown-18K1hcU0.js";
80
+ import { b as vc } from "./vendor-js-beautify-D-6mWVv0.js";
81
81
  import { p as la } from "./vendor-dompurify-DpIUMBYC.js";
82
- import { S as Il, N as Bo, a as Nl, M as vc, f as Do, G as fc, K as mc } from "./vendor-swiper-BgqGfw3Y.js";
83
- import { h as Po, d as Vo, o as pc, u as gc, a as Wl, i as bc } from "./vendor-vueuse-core-BFa9je5E.js";
84
- import { useRouter as zt, RouterView as hc, useRoute as Ht } from "vue-router";
85
- import { v as dl, O as yc } from "./vendor-vueuse-components-CoR2FSn3.js";
86
- import { u as wc, k as Cc, j as _c } from "./vendor-vueuse-shared-kZH3-Km1.js";
87
- import { l as kc, s as Ec } from "./vendor-vee-validate-i18n-zT8NxX3R.js";
82
+ import { S as Il, N as Do, a as Nl, M as fc, f as Po, G as mc, K as pc } from "./vendor-swiper-BgqGfw3Y.js";
83
+ import { h as Vo, d as Fo, o as gc, u as bc, a as Wl, i as hc } from "./vendor-vueuse-core-BFa9je5E.js";
84
+ import { useRouter as zt, RouterView as yc, useRoute as Ht } from "vue-router";
85
+ import { v as dl, O as wc } from "./vendor-vueuse-components-CoR2FSn3.js";
86
+ import { u as Cc, k as _c, j as kc } from "./vendor-vueuse-shared-kZH3-Km1.js";
87
+ import { l as Ec, s as Sc } from "./vendor-vee-validate-i18n-zT8NxX3R.js";
88
88
  import "./vendor-cypress-signalr-mock-itnm2wpA.js";
89
89
  import "./ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
90
- import { e as Sc, c as Ma, g as na } from "./vendor-lodash-es-D2n90GJy.js";
91
- import { S as Fo } from "./vendor-sortablejs-Bsvu-FKn.js";
90
+ import { e as $c, c as Ma, g as na } from "./vendor-lodash-es-D2n90GJy.js";
91
+ import { S as Uo } from "./vendor-sortablejs-Bsvu-FKn.js";
92
92
  import "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
93
- import { t as $c } from "./vendor-truncate-html-ChA1T5zy.js";
94
- import { S as At, h as Te, T as Rc, U as Uo, V as Gl, W as Ge, d as Bt, J as lt, x as Lt, z as ql, a as Ac, X as aa, Y as zo, Z as Tc, _ as Oc, w as Ho, y as Wo, $ as Lc, a0 as Mc } from "./vendor-date-fns-C-55OMpS.js";
93
+ import { t as Rc } from "./vendor-truncate-html-ChA1T5zy.js";
94
+ import { S as At, h as Te, T as Ac, U as zo, V as Gl, W as Ge, d as Bt, J as lt, x as Lt, z as ql, a as Tc, X as aa, Y as Ho, Z as Oc, _ as Lc, w as Wo, y as Go, $ as Mc, a0 as xc } from "./vendor-date-fns-C-55OMpS.js";
95
95
  import { r as oa, R as je } from "./vendor-rrule-C4g_KGmu.js";
96
- import { S as xc, Y as Ic, h as xa, G as Nc, V as Bc } from "./vendor-headlessui-vue-Cn-RMs4E.js";
97
- function Go(e) {
96
+ import { S as Ic, Y as Nc, h as xa, G as Bc, V as Dc } from "./vendor-headlessui-vue-Cn-RMs4E.js";
97
+ function qo(e) {
98
98
  $e(() => {
99
99
  const n = document.activeElement;
100
100
  if (!(!n || n === document.body || n === document.documentElement)) return;
@@ -102,14 +102,14 @@ function Go(e) {
102
102
  !l?.isConnected || typeof l.focus != "function" || l.focus();
103
103
  });
104
104
  }
105
- const Dc = [
105
+ const Pc = [
106
106
  ["LLLL", "PPPp"],
107
107
  ["LLL", "PPp"],
108
108
  ["LTS", "pp"],
109
109
  ["LT", "p"],
110
110
  ["LL", "PP"],
111
111
  ["L", "P"]
112
- ], Pc = [
112
+ ], Vc = [
113
113
  [/YYYY/g, "yyyy"],
114
114
  [/YY/g, "yy"],
115
115
  [/dddd/g, "EEEE"],
@@ -119,18 +119,18 @@ const Dc = [
119
119
  [/D(?![\w])/g, "d"],
120
120
  [/A/g, "a"]
121
121
  ];
122
- function Vc(e) {
122
+ function Fc(e) {
123
123
  let n = e;
124
- for (const [t, l] of Dc)
125
- n = n.split(t).join(l);
126
124
  for (const [t, l] of Pc)
125
+ n = n.split(t).join(l);
126
+ for (const [t, l] of Vc)
127
127
  n = n.replace(t, l);
128
128
  return n;
129
129
  }
130
130
  const ft = /* @__PURE__ */ new Map();
131
131
  ft.set("en-US", At);
132
132
  ft.set("en", At);
133
- async function Fc(e) {
133
+ async function Uc(e) {
134
134
  if (ft.has(e))
135
135
  return ft.get(e);
136
136
  try {
@@ -153,28 +153,28 @@ async function Fc(e) {
153
153
  return ft.set(e, At), At;
154
154
  }
155
155
  }
156
- function qo(e) {
157
- return ft.has(e) ? ft.get(e) : (Fc(e), At);
158
- }
159
156
  function Ko(e) {
157
+ return ft.has(e) ? ft.get(e) : (Uc(e), At);
158
+ }
159
+ function Yo(e) {
160
160
  if (e == null || e === "") return null;
161
161
  if (e instanceof Date) return isNaN(e.getTime()) ? null : e;
162
162
  const n = new Date(e);
163
163
  return isNaN(n.getTime()) ? null : n;
164
164
  }
165
- function Yo(e, n) {
166
- const t = Ko(e);
165
+ function jo(e, n) {
166
+ const t = Yo(e);
167
167
  if (!t) return "";
168
- const l = n ? qo(n) : void 0;
169
- return Rc(t, { addSuffix: !0, locale: l });
168
+ const l = n ? Ko(n) : void 0;
169
+ return Ac(t, { addSuffix: !0, locale: l });
170
170
  }
171
- function Uc(e, n, t) {
172
- const l = Ko(e);
171
+ function zc(e, n, t) {
172
+ const l = Yo(e);
173
173
  if (!l) return "";
174
- const r = Vc(n), i = t ? qo(t) : void 0;
174
+ const r = Fc(n), i = t ? Ko(t) : void 0;
175
175
  return Te(l, r, { locale: i });
176
176
  }
177
- function zc(e) {
177
+ function Hc(e) {
178
178
  if (e == null) return;
179
179
  const n = typeof e == "string" ? parseInt(e) : e;
180
180
  return !isNaN(n) && n > 99 ? "99+" : String(e);
@@ -190,18 +190,18 @@ function ia(e, n) {
190
190
  function i$(e) {
191
191
  return e <= 64 ? "64x64" : e <= 128 ? "128x128" : e <= 168 ? "168x168" : e <= 216 ? "216x216" : e <= 348 ? "348x348" : "lg";
192
192
  }
193
- const Hc = {
193
+ const Wc = {
194
194
  info: 5e3,
195
195
  warning: 8e3,
196
196
  error: !1,
197
197
  // persistent
198
198
  critical: !1
199
199
  // persistent
200
- }, Wc = Symbol("NotificationContext"), Gc = ["IndexProgressPushNotification"];
201
- function qc(e, n) {
200
+ }, Gc = Symbol("NotificationContext"), qc = ["IndexProgressPushNotification"];
201
+ function Kc(e, n) {
202
202
  return e.severity ? typeof e.severity == "function" ? e.severity(n) : e.severity : "info";
203
203
  }
204
- function Kc(e, n) {
204
+ function Yc(e, n) {
205
205
  const t = e.notifyType ?? "unknown";
206
206
  if (n.groupBy) {
207
207
  const l = e[n.groupBy] ?? "default";
@@ -209,24 +209,24 @@ function Kc(e, n) {
209
209
  }
210
210
  return `${t}::${e.id}`;
211
211
  }
212
- const Yc = (e) => !!e.finished;
213
- function jc() {
212
+ const jc = (e) => !!e.finished;
213
+ function Xc() {
214
214
  const e = /* @__PURE__ */ new Map();
215
215
  function n(r, i) {
216
216
  if (!i.toast || i.toast.mode === "silent") return;
217
- const o = qc(i.toast, r);
217
+ const o = Kc(i.toast, r);
218
218
  i.toast.mode === "auto" ? t(r, o, i) : i.toast.mode === "progress" && l(r, o, i);
219
219
  }
220
220
  function t(r, i, o) {
221
- const c = o.toast && typeof o.toast != "boolean" && o.toast.timeout != null ? o.toast.timeout : Hc[i];
221
+ const c = o.toast && typeof o.toast != "boolean" && o.toast.timeout != null ? o.toast.timeout : Wc[i];
222
222
  Rt(r.title ?? "", {
223
223
  timeout: c,
224
224
  type: i === "critical" ? "error" : i === "info" ? "default" : i
225
225
  });
226
226
  }
227
227
  function l(r, i, o) {
228
- const c = o.toast, d = Kc(r, o);
229
- if ((c.isComplete ?? Yc)(r)) {
228
+ const c = o.toast, d = Yc(r, o);
229
+ if ((c.isComplete ?? jc)(r)) {
230
230
  const b = e.get(d);
231
231
  if (b) {
232
232
  const g = c.completedType?.(r) ?? "success";
@@ -254,15 +254,15 @@ function jc() {
254
254
  return { handle: n };
255
255
  }
256
256
  const Ia = Ze("notification-store");
257
- function Xc(e) {
257
+ function Qc(e) {
258
258
  const n = /* @__PURE__ */ new Map(), t = N([]), l = N([]), r = /* @__PURE__ */ new Map();
259
259
  let i = 0;
260
- const o = N(null), c = jc().handle, d = new ts(), u = y(() => t.value.filter((P) => P.isNew).length), v = y(() => u.value > 0);
260
+ const o = N(null), c = Xc().handle, d = new ls(), u = y(() => t.value.filter((P) => P.isNew).length), v = y(() => u.value > 0);
261
261
  function b(P, V) {
262
262
  n.set(P, V);
263
263
  }
264
264
  function g(P, V) {
265
- if (V?.broadcast && o.value && !o.value(P) || P.notifyType && Gc.includes(P.notifyType))
265
+ if (V?.broadcast && o.value && !o.value(P) || P.notifyType && qc.includes(P.notifyType))
266
266
  return;
267
267
  let L = P.isNew;
268
268
  const M = t.value.findIndex((E) => E.id === P.id);
@@ -346,11 +346,11 @@ function Xc(e) {
346
346
  let Cl = null;
347
347
  function Kl() {
348
348
  if (Mt()) {
349
- const e = Ce(ls, null);
349
+ const e = Ce(ns, null);
350
350
  if (e)
351
351
  return Cl = e, e;
352
352
  }
353
- return Cl || (Cl = Xc()), Cl;
353
+ return Cl || (Cl = Qc()), Cl;
354
354
  }
355
355
  function s$(e) {
356
356
  const n = /* @__PURE__ */ new Map();
@@ -381,8 +381,8 @@ function s$(e) {
381
381
  cleanup: r
382
382
  };
383
383
  }
384
- function jo() {
385
- const e = Ce(go);
384
+ function Xo() {
385
+ const e = Ce(bo);
386
386
  if (!e)
387
387
  throw new Error("[useBladeMessaging] BladeMessaging not found. Ensure BladeNavigationPlugin is installed.");
388
388
  return e;
@@ -391,7 +391,7 @@ const Bl = /* @__PURE__ */ new Map();
391
391
  function r$(e, n) {
392
392
  Bl.has(e) && console.warn(`[defineBlade] Duplicate blade name: "${e}". Overwriting.`), Bl.set(e, n);
393
393
  }
394
- function Qc(e) {
394
+ function Jc(e) {
395
395
  return Bl.get(e);
396
396
  }
397
397
  function c$() {
@@ -402,10 +402,10 @@ function Na(e, n) {
402
402
  const t = {};
403
403
  return "sort" in n && (t[`${e}_sort`] = n.sort ?? ""), "search" in n && (t[`${e}_search`] = n.search ?? ""), "page" in n && (t[`${e}_page`] = n.page != null ? String(n.page) : ""), t;
404
404
  }
405
- const Jc = /^.+:(ASC|DESC)$/;
406
- function Zc(e, n) {
405
+ const Zc = /^.+:(ASC|DESC)$/;
406
+ function eu(e, n) {
407
407
  const t = {}, l = n[`${e}_sort`];
408
- typeof l == "string" && Jc.test(l) && (t.sort = l);
408
+ typeof l == "string" && Zc.test(l) && (t.sort = l);
409
409
  const r = n[`${e}_search`];
410
410
  typeof r == "string" && r !== "" && (t.search = r);
411
411
  const i = n[`${e}_page`];
@@ -415,21 +415,21 @@ function Zc(e, n) {
415
415
  }
416
416
  return t;
417
417
  }
418
- const eu = 150;
419
- function tu(e) {
418
+ const tu = 150;
419
+ function lu(e) {
420
420
  if (e)
421
421
  return e.replace(/^\/+|\/+$/g, "") || void 0;
422
422
  }
423
- function lu(e) {
424
- const { descriptor: n, router: t, bladeStack: l } = e, { syncUrlReplace: r } = xo(t, l), i = /* @__PURE__ */ new Map();
423
+ function nu(e) {
424
+ const { descriptor: n, router: t, bladeStack: l } = e, { syncUrlReplace: r } = Io(t, l), i = /* @__PURE__ */ new Map();
425
425
  let o;
426
426
  function c(v) {
427
- return v || tu(n.value.url);
427
+ return v || lu(n.value.url);
428
428
  }
429
429
  function d(v) {
430
430
  const b = c(v);
431
431
  if (!b) return {};
432
- const g = Zc(b, t.currentRoute.value.query);
432
+ const g = eu(b, t.currentRoute.value.query);
433
433
  return Object.keys(g).length > 0 && l.updateBladeQuery(n.value.id, Na(b, g)), g;
434
434
  }
435
435
  function u(v, b) {
@@ -440,11 +440,11 @@ function lu(e) {
440
440
  for (const [h, f] of i)
441
441
  l.updateBladeQuery(m, Na(h, f));
442
442
  i.clear(), r();
443
- }, eu));
443
+ }, tu));
444
444
  }
445
445
  return { read: d, write: u };
446
446
  }
447
- const nu = ["width", "height"], u$ = /* @__PURE__ */ Y({
447
+ const au = ["width", "height"], u$ = /* @__PURE__ */ Y({
448
448
  __name: "MenuBurgerIcon",
449
449
  props: {
450
450
  width: {},
@@ -465,7 +465,7 @@ const nu = ["width", "height"], u$ = /* @__PURE__ */ Y({
465
465
  "stroke-linecap": "round",
466
466
  "stroke-linejoin": "round"
467
467
  }, null, -1)
468
- ])], 8, nu));
468
+ ])], 8, au));
469
469
  }
470
470
  });
471
471
  function Ba(e) {
@@ -486,7 +486,7 @@ function sa(e) {
486
486
  moreButtonWidth: r,
487
487
  calculationStrategy: i = "forward",
488
488
  initialItemWidth: o = 50
489
- } = e, { width: c } = Po(n), d = N(/* @__PURE__ */ new Map()), u = N(null), v = N(0), b = N([]), g = N([]), m = y(() => g.value.length > 0);
489
+ } = e, { width: c } = Vo(n), d = N(/* @__PURE__ */ new Map()), u = N(null), v = N(0), b = N([]), g = N([]), m = y(() => g.value.length > 0);
490
490
  let h = null;
491
491
  const f = /* @__PURE__ */ new Set(), w = () => u.value ?? r, _ = () => {
492
492
  if (!n.value) return;
@@ -555,7 +555,7 @@ function sa(e) {
555
555
  E.has(S) || (h?.unobserve(S), f.delete(S));
556
556
  V();
557
557
  });
558
- }, D = wc(() => {
558
+ }, D = Cc(() => {
559
559
  n.value && (v.value = kn(n.value)), P();
560
560
  }, 50);
561
561
  return ie(c, () => {
@@ -596,7 +596,7 @@ function jl(e = {}) {
596
596
  function u() {
597
597
  i.value = !i.value;
598
598
  }
599
- return Vo(l, () => {
599
+ return Fo(l, () => {
600
600
  l.value && (r.value = l.value.scrollHeight);
601
601
  }), {
602
602
  contentRef: l,
@@ -608,7 +608,7 @@ function jl(e = {}) {
608
608
  toggle: u
609
609
  };
610
610
  }
611
- const au = Ze("use-table-sort");
611
+ const ou = Ze("use-table-sort");
612
612
  function d$(e) {
613
613
  const n = N(e?.initialProperty || null), t = N(e?.initialDirection || null), l = y({
614
614
  get: () => ({
@@ -634,7 +634,7 @@ function d$(e) {
634
634
  (b === "ASC" || b === "DESC") && (u = b);
635
635
  } else
636
636
  d = c;
637
- d ? n.value === d ? u ? t.value = u : t.value === "ASC" ? t.value = "DESC" : t.value === "DESC" ? (n.value = null, t.value = null) : t.value = "ASC" : (n.value = d, t.value = u || "ASC") : au.warn("Could not determine valid sort property from sortParam:", c);
637
+ d ? n.value === d ? u ? t.value = u : t.value === "ASC" ? t.value = "DESC" : t.value === "DESC" ? (n.value = null, t.value = null) : t.value = "ASC" : (n.value = d, t.value = u || "ASC") : ou.warn("Could not determine valid sort property from sortParam:", c);
638
638
  },
639
639
  resetSort: () => {
640
640
  n.value = e?.initialProperty || null, t.value = e?.initialDirection || null;
@@ -683,16 +683,16 @@ function v$(e) {
683
683
  }
684
684
  };
685
685
  }
686
- function ou(e) {
686
+ function iu(e) {
687
687
  return e === "ASC" ? 1 : e === "DESC" ? -1 : 0;
688
688
  }
689
- function iu(e) {
689
+ function su(e) {
690
690
  if (e === 1) return "ASC";
691
691
  if (e === -1) return "DESC";
692
692
  }
693
693
  function f$(e) {
694
- const n = e?.initialField, t = ou(e?.initialDirection), l = N(n), r = N(t), i = y(() => {
695
- const c = iu(r.value);
694
+ const n = e?.initialField, t = iu(e?.initialDirection), l = N(n), r = N(t), i = y(() => {
695
+ const c = su(r.value);
696
696
  if (!(!l.value || !c))
697
697
  return `${l.value}:${c}`;
698
698
  });
@@ -716,33 +716,51 @@ function f$(e) {
716
716
  }
717
717
  };
718
718
  }
719
- const su = Ze("use-data-table-pagination");
719
+ const Da = Ze("use-data-table-pagination");
720
720
  function m$(e) {
721
721
  const n = y(() => Ne(e.pageSize) ?? 20), t = N(1), l = y(() => Math.ceil(Ne(e.totalCount) / n.value) || 0), r = y(() => (t.value - 1) * n.value), i = y(() => Ne(e.totalCount));
722
- function o(v) {
723
- t.value = v, e.onPageChange?.({ page: v, skip: r.value });
722
+ function o(b) {
723
+ t.value = b, e.onPageChange?.({ page: b, skip: r.value });
724
724
  }
725
- function c(v) {
726
- t.value = v;
725
+ function c(b) {
726
+ t.value = b;
727
727
  }
728
728
  function d() {
729
729
  t.value = 1;
730
730
  }
731
731
  let u;
732
732
  if (e.stateKey) {
733
- const v = Ce(Yl, void 0);
734
- if (v) {
735
- const b = v.read(e.stateKey);
736
- b.page != null && (c(b.page), u = b.page), ie(
733
+ const b = Ce(Yl, void 0);
734
+ if (b) {
735
+ const g = b.read(e.stateKey);
736
+ g.page != null && (c(g.page), u = g.page), ie(
737
737
  () => t.value,
738
- (g) => v.write(e.stateKey, { page: g === 1 ? void 0 : g })
738
+ (m) => b.write(e.stateKey, { page: m === 1 ? void 0 : m })
739
739
  );
740
740
  } else
741
- su.warn(
741
+ Da.warn(
742
742
  `stateKey "${e.stateKey}" is set but no TableQueryState provider is in scope — page state will not be synced to the URL or restored from it.`
743
743
  );
744
744
  }
745
- return mt({ currentPage: t, pages: l, skip: r, pageSize: n, totalCount: i, goToPage: o, setPage: c, reset: d, restoredPage: u });
745
+ const v = y({
746
+ get: () => t.value,
747
+ set: (b) => {
748
+ Da.warn(
749
+ "Assigning to pagination.currentPage is deprecated: it changes the page without firing onPageChange, so the table keeps the previous page's rows. Use goToPage(page) to change the page and load, or setPage(page) to seed it without loading."
750
+ ), c(b);
751
+ }
752
+ });
753
+ return mt({
754
+ currentPage: v,
755
+ pages: l,
756
+ skip: r,
757
+ pageSize: n,
758
+ totalCount: i,
759
+ goToPage: o,
760
+ setPage: c,
761
+ reset: d,
762
+ restoredPage: u
763
+ });
746
764
  }
747
765
  function p$(e) {
748
766
  const n = N(e?.initial), t = e?.stateKey;
@@ -760,7 +778,7 @@ function ru(e, n) {
760
778
  r?.name && e.replace({ name: r.name, params: n });
761
779
  }
762
780
  const Sn = Ze("blade-registry"), cu = Symbol("BladeRegistry");
763
- function Da(e) {
781
+ function Pa(e) {
764
782
  return !(!e || typeof e != "function" && typeof e != "object");
765
783
  }
766
784
  function g$(e) {
@@ -773,9 +791,9 @@ function g$(e) {
773
791
  throw new Error("BladeRegistry: Blade name must be a non-empty string");
774
792
  if (!b?.component)
775
793
  throw new Error(`BladeRegistry: Registration data must include a component for blade '${v}'`);
776
- if (!Da(b.component))
794
+ if (!Pa(b.component))
777
795
  throw new Error(`BladeRegistry: Invalid component provided for blade '${v}'`);
778
- const m = Qc(v), h = b.component, f = m?.url ?? b.route, w = m?.isWorkspace ?? b.isWorkspace ?? !1, _ = m?.routable ?? b.routable !== !1, A = m?.permissions ?? b.permissions, I = m?.menuItem ?? h.menuItem, P = new Map(n.value);
796
+ const m = Jc(v), h = b.component, f = m?.url ?? b.route, w = m?.isWorkspace ?? b.isWorkspace ?? !1, _ = m?.routable ?? b.routable !== !1, A = m?.permissions ?? b.permissions, I = m?.menuItem ?? h.menuItem, P = new Map(n.value);
779
797
  if (P.has(v)) {
780
798
  if (!g)
781
799
  throw new Error(
@@ -794,7 +812,7 @@ function g$(e) {
794
812
  routable: _,
795
813
  permissions: A
796
814
  };
797
- P.set(v, L), n.value = P, f && t.set(l(f), v), f && I && fs({
815
+ P.set(v, L), n.value = P, f && t.set(l(f), v), f && I && ms({
798
816
  ...I,
799
817
  url: f,
800
818
  routeId: v,
@@ -813,7 +831,7 @@ function g$(e) {
813
831
  return b.component;
814
832
  try {
815
833
  const g = e._context.components[v];
816
- if (g && Da(g))
834
+ if (g && Pa(g))
817
835
  return g;
818
836
  } catch (g) {
819
837
  Sn.warn(`Error accessing global component '${v}':`, g);
@@ -845,7 +863,7 @@ function uu() {
845
863
  );
846
864
  return e;
847
865
  }
848
- const du = ms, vu = /* @__PURE__ */ Y({
866
+ const du = ps, vu = /* @__PURE__ */ Y({
849
867
  __name: "vc-blade-slot",
850
868
  props: {
851
869
  descriptor: {},
@@ -868,20 +886,20 @@ const du = ms, vu = /* @__PURE__ */ Y({
868
886
  maximized: o.value,
869
887
  breadcrumbs: t.breadcrumbs
870
888
  }))
871
- ), Be(bo, o), Be(ho, c), Be(
872
- yo,
889
+ ), Be(ho, o), Be(yo, c), Be(
890
+ wo,
873
891
  y(() => t.backButton)
874
892
  );
875
893
  const v = zt();
876
894
  Be(
877
895
  Yl,
878
- v ? lu({
896
+ v ? nu({
879
897
  descriptor: y(() => t.descriptor),
880
898
  router: v,
881
899
  bladeStack: i
882
900
  }) : void 0
883
901
  );
884
- const b = jo();
902
+ const b = Xo();
885
903
  ie(
886
904
  d,
887
905
  (w) => {
@@ -930,7 +948,7 @@ const du = ms, vu = /* @__PURE__ */ Y({
930
948
  _: 1
931
949
  }));
932
950
  }
933
- }), Pa = /* @__PURE__ */ Y({
951
+ }), Va = /* @__PURE__ */ Y({
934
952
  __name: "vc-button-group",
935
953
  props: {
936
954
  orientation: { default: "horizontal" },
@@ -939,7 +957,7 @@ const du = ms, vu = /* @__PURE__ */ Y({
939
957
  },
940
958
  setup(e) {
941
959
  const n = e;
942
- Be(ps, {
960
+ Be(gs, {
943
961
  size: xe(n, "size"),
944
962
  attached: xe(n, "attached")
945
963
  });
@@ -1289,7 +1307,7 @@ const du = ms, vu = /* @__PURE__ */ Y({
1289
1307
  key: 0,
1290
1308
  class: "vc-breadcrumbs__item-separator",
1291
1309
  "aria-hidden": "true"
1292
- }, Au = 36, Tu = 60, Xo = /* @__PURE__ */ Y({
1310
+ }, Au = 36, Tu = 60, Qo = /* @__PURE__ */ Y({
1293
1311
  __name: "vc-breadcrumbs",
1294
1312
  props: {
1295
1313
  items: { default: () => [] },
@@ -1394,7 +1412,7 @@ const du = ms, vu = /* @__PURE__ */ Y({
1394
1412
  const n = e, t = N(), l = N(!1), r = () => {
1395
1413
  n.onBack();
1396
1414
  };
1397
- pc(
1415
+ gc(
1398
1416
  t,
1399
1417
  () => {
1400
1418
  l.value = !0;
@@ -1404,12 +1422,12 @@ const du = ms, vu = /* @__PURE__ */ Y({
1404
1422
  const i = () => {
1405
1423
  l.value = !1;
1406
1424
  };
1407
- return (o, c) => Xe((s(), B(Xo, {
1425
+ return (o, c) => Xe((s(), B(Qo, {
1408
1426
  items: e.breadcrumbs,
1409
1427
  collapsed: ""
1410
1428
  }, {
1411
1429
  trigger: T(({ click: d }) => [
1412
- R(a(yc), {
1430
+ R(a(wc), {
1413
1431
  as: "button",
1414
1432
  onTrigger: d
1415
1433
  }, {
@@ -1467,7 +1485,7 @@ function Mu() {
1467
1485
  remove: l
1468
1486
  };
1469
1487
  }
1470
- const Va = {
1488
+ const Fa = {
1471
1489
  af: "za",
1472
1490
  ar: "sa",
1473
1491
  az: "az",
@@ -1571,7 +1589,7 @@ function Bu(e) {
1571
1589
  for (const u of d) {
1572
1590
  const v = u.shortcut;
1573
1591
  if (v && _n(v, r, e.isMac)) {
1574
- if (!Nu(v) && Ns() || (r.preventDefault(), !e.isEnabled(u))) return;
1592
+ if (!Nu(v) && Bs() || (r.preventDefault(), !e.isEnabled(u))) return;
1575
1593
  await t(`${o}::${u.id ?? "item"}`, () => u.clickHandler?.());
1576
1594
  return;
1577
1595
  }
@@ -1594,18 +1612,18 @@ const Du = ["aria-label"], Pu = {
1594
1612
  }, Vu = /* @__PURE__ */ Y({
1595
1613
  __name: "vc-blade-navigation-new",
1596
1614
  setup(e) {
1597
- const { t: n } = Pe(), t = Ut(), l = jo(), r = zt(), { breadcrumbs: i, push: o, remove: c } = Mu(), { syncUrlReplace: d } = xo(r, t);
1615
+ const { t: n } = Pe(), t = Ut(), l = Xo(), r = zt(), { breadcrumbs: i, push: o, remove: c } = Mu(), { syncUrlReplace: d } = Io(r, t);
1598
1616
  tt(() => {
1599
1617
  t.blades.value.length !== 0 && $e(() => {
1600
1618
  d();
1601
1619
  });
1602
1620
  });
1603
- const u = y(() => t.blades.value), v = y(() => t.activeBlade.value), b = y(() => u.value.find(($) => t.isMaximized($.id))?.id), g = y(() => u.value.length > 0), m = y(() => u.value.filter(($) => $.visible).length), { isMobile: h } = De(), f = Ce(ns, void 0), w = y(() => f?.isExpanded.value ?? !1), _ = y(() => h.value || w.value ? 1 : 2);
1621
+ const u = y(() => t.blades.value), v = y(() => t.activeBlade.value), b = y(() => u.value.find(($) => t.isMaximized($.id))?.id), g = y(() => u.value.length > 0), m = y(() => u.value.filter(($) => $.visible).length), { isMobile: h } = De(), f = Ce(as, void 0), w = y(() => f?.isExpanded.value ?? !1), _ = y(() => h.value || w.value ? 1 : 2);
1604
1622
  function A($, E) {
1605
1623
  return $.visible ? E >= m.value - _.value : !1;
1606
1624
  }
1607
- const { getToolbarItems: I } = So(), { hasAccess: P } = ul(), V = Bu({
1608
- isMac: Bs(),
1625
+ const { getToolbarItems: I } = $o(), { hasAccess: P } = ul(), V = Bu({
1626
+ isMac: Ds(),
1609
1627
  getActiveBlade: () => t.activeBlade.value,
1610
1628
  getToolbarItems: ($) => I($),
1611
1629
  isMobile: () => h.value,
@@ -1614,7 +1632,7 @@ const Du = ["aria-label"], Pu = {
1614
1632
  toggleMaximized: ($) => t.toggleMaximized($),
1615
1633
  isModalOpen: () => typeof document < "u" && document.querySelector('[aria-modal="true"]') !== null
1616
1634
  });
1617
- gc(window, "keydown", V), Cc(
1635
+ bc(window, "keydown", V), _c(
1618
1636
  u,
1619
1637
  ($) => {
1620
1638
  i.value.forEach((E) => E && c([E.id])), $.filter((E) => E.visible).forEach((E, S) => {
@@ -1652,7 +1670,7 @@ const Du = ["aria-label"], Pu = {
1652
1670
  }
1653
1671
  function D($) {
1654
1672
  if (!($ <= 0))
1655
- return Xi(Ou, {
1673
+ return Qi(Ou, {
1656
1674
  breadcrumbs: i.value.slice(0, $),
1657
1675
  onBack: async () => {
1658
1676
  const E = u.value[$];
@@ -1678,23 +1696,23 @@ const Du = ["aria-label"], Pu = {
1678
1696
  onClose: L,
1679
1697
  onParentCall: M
1680
1698
  }, null, 8, ["descriptor", "closable", "expanded", "visible", "breadcrumbs", "back-button", "inert"]))), 128))
1681
- ])) : (s(), B(a(hc), { key: 0 }))
1699
+ ])) : (s(), B(a(yc), { key: 0 }))
1682
1700
  ], 8, Du));
1683
1701
  }
1684
- }), Qo = Symbol("PopupPlugin"), Jo = Symbol("PopupInstance");
1685
- let Zo;
1686
- const Fu = gs((e) => {
1687
- Zo = e ?? void 0;
1702
+ }), Jo = Symbol("PopupPlugin"), Zo = Symbol("PopupInstance");
1703
+ let ei;
1704
+ const Fu = bs((e) => {
1705
+ ei = e ?? void 0;
1688
1706
  });
1689
1707
  function b$(e) {
1690
1708
  Fu.register(e);
1691
1709
  }
1692
- const ei = bs();
1710
+ const ti = hs();
1693
1711
  function h$(e, n) {
1694
- ei.register(e, n);
1712
+ ti.register(e, n);
1695
1713
  }
1696
1714
  function $n(e) {
1697
- return ei.get(e);
1715
+ return ti.get(e);
1698
1716
  }
1699
1717
  const Uu = { class: "vc-popup__center" }, zu = ["aria-label"], Hu = { class: "vc-popup__content" }, Wu = {
1700
1718
  key: 0,
@@ -1719,7 +1737,7 @@ const Uu = { class: "vc-popup__center" }, zu = ["aria-label"], Hu = { class: "vc
1719
1737
  error: { icon: "lucide-circle-alert", className: "vc-popup__icon--error" },
1720
1738
  success: { icon: "lucide-circle-check", className: "vc-popup__icon--success" },
1721
1739
  info: { icon: "lucide-info", className: "vc-popup__icon--info" }
1722
- }, u = Ce(Jo, void 0), v = y(() => t.modelValue !== void 0 ? t.modelValue : !u?.closing.value), b = y(() => t.closeOnOverlay ?? t.closable), g = y(() => t.closeOnEscape ?? t.closable), m = y(() => t.variant === "default" ? "" : d[t.variant].icon), h = y(() => t.variant === "default" ? "" : d[t.variant].className), f = y(() => o.value && t.isMobileFullscreen);
1740
+ }, u = Ce(Zo, void 0), v = y(() => t.modelValue !== void 0 ? t.modelValue : !u?.closing.value), b = y(() => t.closeOnOverlay ?? t.closable), g = y(() => t.closeOnEscape ?? t.closable), m = y(() => t.variant === "default" ? "" : d[t.variant].icon), h = y(() => t.variant === "default" ? "" : d[t.variant].className), f = y(() => o.value && t.isMobileFullscreen);
1723
1741
  function w(P) {
1724
1742
  l("update:modelValue", !1), l("close", P);
1725
1743
  }
@@ -1733,14 +1751,14 @@ const Uu = { class: "vc-popup__center" }, zu = ["aria-label"], Hu = { class: "vc
1733
1751
  const P = c.value ?? "overlay";
1734
1752
  c.value = null, !(P === "overlay" && !b.value) && (P === "escape" && !g.value || w(P));
1735
1753
  }
1736
- return (P, V) => (s(), B(a(xc), {
1754
+ return (P, V) => (s(), B(a(Ic), {
1737
1755
  appear: "",
1738
1756
  show: v.value,
1739
1757
  as: "template",
1740
1758
  onAfterLeave: V[0] || (V[0] = (L) => a(u)?.finalize())
1741
1759
  }, {
1742
1760
  default: T(() => [
1743
- R(a(Ic), {
1761
+ R(a(Nc), {
1744
1762
  as: "div",
1745
1763
  class: "vc-popup",
1746
1764
  "aria-labelledby": i,
@@ -1780,7 +1798,7 @@ const Uu = { class: "vc-popup__center" }, zu = ["aria-label"], Hu = { class: "vc
1780
1798
  "leave-to": "vc-popup__dialog-leave-to"
1781
1799
  }, {
1782
1800
  default: T(() => [
1783
- R(a(Nc), {
1801
+ R(a(Bc), {
1784
1802
  class: Q(["vc-popup__panel", [
1785
1803
  {
1786
1804
  "vc-popup__panel--desktop": !f.value,
@@ -1791,7 +1809,7 @@ const Uu = { class: "vc-popup__center" }, zu = ["aria-label"], Hu = { class: "vc
1791
1809
  ]])
1792
1810
  }, {
1793
1811
  default: T(() => [
1794
- R(a(Bc), {
1812
+ R(a(Dc), {
1795
1813
  id: i,
1796
1814
  as: "h3",
1797
1815
  class: "vc-popup__title"
@@ -1872,7 +1890,7 @@ const Uu = { class: "vc-popup__center" }, zu = ["aria-label"], Hu = { class: "vc
1872
1890
  });
1873
1891
  function Gu() {
1874
1892
  if (Mt())
1875
- return Ce(Qo, void 0);
1893
+ return Ce(Jo, void 0);
1876
1894
  }
1877
1895
  const qu = /* @__PURE__ */ Y({
1878
1896
  __name: "PopupInstanceProvider",
@@ -1882,7 +1900,7 @@ const qu = /* @__PURE__ */ Y({
1882
1900
  emits: ["finalize"],
1883
1901
  setup(e, { emit: n }) {
1884
1902
  const t = e, l = n;
1885
- return Be(Jo, {
1903
+ return Be(Zo, {
1886
1904
  closing: y(() => t.closing),
1887
1905
  finalize: () => l("finalize")
1888
1906
  }), (r, i) => z(r.$slots, "default");
@@ -1957,11 +1975,11 @@ const qu = /* @__PURE__ */ Y({
1957
1975
  }, 1032, ["closing", "onFinalize"]))), 128));
1958
1976
  }
1959
1977
  }), ju = Yu, Rn = Ze("use-popup"), Xu = 400;
1960
- function Fa() {
1961
- return Mt() && Ce(Qo, void 0) || Zo;
1978
+ function Ua() {
1979
+ return Mt() && Ce(Jo, void 0) || ei;
1962
1980
  }
1963
- function ti(e) {
1964
- const { t: n } = Pe({ useScope: "global" }), t = Fa();
1981
+ function li(e) {
1982
+ const { t: n } = Pe({ useScope: "global" }), t = Ua();
1965
1983
  let l;
1966
1984
  e && (l = f(a(e))), ie(
1967
1985
  () => e ? a(e) : void 0,
@@ -1973,7 +1991,7 @@ function ti(e) {
1973
1991
  function r(w) {
1974
1992
  if (!w)
1975
1993
  return;
1976
- const _ = Fa(), A = _?.popups?.findIndex((I) => I.id === w.id);
1994
+ const _ = Ua(), A = _?.popups?.findIndex((I) => I.id === w.id);
1977
1995
  typeof A == "number" && A !== -1 && _?.popups?.splice(A, 1);
1978
1996
  }
1979
1997
  function i(w) {
@@ -2124,7 +2142,7 @@ const Ju = { class: "vc-blade-header__status-container" }, Zu = {
2124
2142
  },
2125
2143
  emits: ["close", "expand", "collapse"],
2126
2144
  setup(e, { emit: n }) {
2127
- const t = e, l = n, { t: r } = Pe(), { isMac: i } = Io(), o = y(() => Un(xl.escape, i)), c = y(() => Un(xl.mod.backslash, i)), d = y(() => o.value.aria), u = y(() => c.value.aria), { isMobile: v } = De(), b = Ce(Qn, void 0), g = N(!1), m = N(null), h = N(null), { teleportTarget: f } = Vt(), { floatingStyle: w } = cl(m, h, {
2145
+ const t = e, l = n, { t: r } = Pe(), { isMac: i } = No(), o = y(() => Un(xl.escape, i)), c = y(() => Un(xl.mod.backslash, i)), d = y(() => o.value.aria), u = y(() => c.value.aria), { isMobile: v } = De(), b = Ce(Qn, void 0), g = N(!1), m = N(null), h = N(null), { teleportTarget: f } = Vt(), { floatingStyle: w } = cl(m, h, {
2128
2146
  placement: "bottom-start",
2129
2147
  middleware: () => [Hl()]
2130
2148
  }), _ = N(null);
@@ -2316,7 +2334,7 @@ const Ju = { class: "vc-blade-header__status-container" }, Zu = {
2316
2334
  }, bd = { class: "vc-badge__content" }, hd = ["role", "tabindex", "aria-disabled", "aria-label", "onKeydown"], yd = {
2317
2335
  key: 0,
2318
2336
  class: "vc-badge__text"
2319
- }, li = /* @__PURE__ */ Y({
2337
+ }, ni = /* @__PURE__ */ Y({
2320
2338
  __name: "vc-badge",
2321
2339
  props: {
2322
2340
  active: { type: Boolean },
@@ -2522,11 +2540,11 @@ const Ju = { class: "vc-blade-header__status-container" }, Zu = {
2522
2540
  z(n.$slots, "default")
2523
2541
  ], 4));
2524
2542
  }
2525
- }), C$ = hs, Rd = ["role", "tabindex", "aria-label", "onKeydown"], Ad = {
2543
+ }), C$ = ys, Rd = ["role", "tabindex", "aria-label", "onKeydown"], Ad = {
2526
2544
  key: 0,
2527
2545
  class: "vc-image__placeholder",
2528
2546
  "aria-hidden": "true"
2529
- }, ni = /* @__PURE__ */ Y({
2547
+ }, ai = /* @__PURE__ */ Y({
2530
2548
  __name: "vc-image",
2531
2549
  props: {
2532
2550
  aspect: { default: "1x1" },
@@ -2640,7 +2658,7 @@ const Ju = { class: "vc-blade-header__status-container" }, Zu = {
2640
2658
  ])
2641
2659
  ], 10, Td));
2642
2660
  }
2643
- }), ai = Ld, Md = ["aria-busy"], xd = { class: "tw-sr-only" }, Id = /* @__PURE__ */ Y({
2661
+ }), oi = Ld, Md = ["aria-busy"], xd = { class: "tw-sr-only" }, Id = /* @__PURE__ */ Y({
2644
2662
  __name: "vc-loading",
2645
2663
  props: {
2646
2664
  active: { type: Boolean }
@@ -2692,7 +2710,7 @@ const Ju = { class: "vc-blade-header__status-container" }, Zu = {
2692
2710
  z(n.$slots, "default")
2693
2711
  ]));
2694
2712
  }
2695
- }), Vd = ["aria-label"], Fd = { class: "vc-status__content" }, oi = /* @__PURE__ */ Y({
2713
+ }), Vd = ["aria-label"], Fd = { class: "vc-status__content" }, ii = /* @__PURE__ */ Y({
2696
2714
  __name: "vc-status",
2697
2715
  props: {
2698
2716
  variant: { default: "info" },
@@ -2832,7 +2850,7 @@ const Ju = { class: "vc-blade-header__status-container" }, Zu = {
2832
2850
  function r() {
2833
2851
  t.disabled || l("click");
2834
2852
  }
2835
- const i = y(() => zc(t.value));
2853
+ const i = y(() => Hc(t.value));
2836
2854
  return (o, c) => (s(), p("div", {
2837
2855
  class: Q(["vc-widget", [
2838
2856
  { "vc-widget--expanded": e.isExpanded },
@@ -2852,7 +2870,7 @@ const Ju = { class: "vc-blade-header__status-container" }, Zu = {
2852
2870
  Re(ue(r, ["prevent"]), ["space"])
2853
2871
  ]
2854
2872
  }, [
2855
- R(a(li), {
2873
+ R(a(ni), {
2856
2874
  content: i.value,
2857
2875
  "custom-position": "",
2858
2876
  top: "-6px",
@@ -3118,7 +3136,7 @@ const Ju = { class: "vc-blade-header__status-container" }, Zu = {
3118
3136
  onClick: {}
3119
3137
  },
3120
3138
  setup(e) {
3121
- const n = e, { isMac: t } = Io(), l = N(!1), r = y(() => Jl(n.disabled)), i = y(() => ({
3139
+ const n = e, { isMac: t } = No(), l = N(!1), r = y(() => Jl(n.disabled)), i = y(() => ({
3122
3140
  "vc-blade-toolbar-base-button--disabled": r.value || l.value,
3123
3141
  "vc-blade-toolbar-base-button--with-separator-left": n.separator === "left",
3124
3142
  "vc-blade-toolbar-base-button--with-separator-right": n.separator === "right",
@@ -3262,9 +3280,9 @@ const Ju = { class: "vc-blade-header__status-container" }, Zu = {
3262
3280
  }
3263
3281
  }), Ev = "prop_toolbar_item_";
3264
3282
  function Sv(e) {
3265
- const { hasAccess: n } = ul(), { registerToolbarItem: t, unregisterToolbarItem: l, getToolbarItems: r, updateToolbarItem: i } = So({
3283
+ const { hasAccess: n } = ul(), { registerToolbarItem: t, unregisterToolbarItem: l, getToolbarItems: r, updateToolbarItem: i } = $o({
3266
3284
  autoCleanup: !1
3267
- }), { id: o } = Zn(), c = y(() => (o.value ?? ys).toLowerCase()), { isMobile: d } = De(), u = /* @__PURE__ */ new Set(), v = N(c.value);
3285
+ }), { id: o } = Zn(), c = y(() => (o.value ?? ws).toLowerCase()), { isMobile: d } = De(), u = /* @__PURE__ */ new Set(), v = N(c.value);
3268
3286
  function b(f, w) {
3269
3287
  const _ = v.value, A = f.id || `${Ev}${_}_${w}`;
3270
3288
  return {
@@ -3404,7 +3422,7 @@ const xv = ["role"], Iv = { class: "vc-blade-status-banners__text" }, Nv = ["tit
3404
3422
  }, Fv = {
3405
3423
  key: 0,
3406
3424
  class: "vc-blade-status-banners__text"
3407
- }, Uv = ["onClick"], zv = ["title", "onClick"], _l = "__system-error__", Ua = "__system-modified__", Hv = /* @__PURE__ */ Y({
3425
+ }, Uv = ["onClick"], zv = ["title", "onClick"], _l = "__system-error__", za = "__system-modified__", Hv = /* @__PURE__ */ Y({
3408
3426
  __name: "BladeStatusBanners",
3409
3427
  props: {
3410
3428
  modified: { type: Boolean }
@@ -3417,7 +3435,7 @@ const xv = ["role"], Iv = { class: "vc-blade-status-banners__text" }, Nv = ["tit
3417
3435
  setup(L) {
3418
3436
  return () => L.renderFn();
3419
3437
  }
3420
- }), t = e, l = Ce(sl, void 0), r = Ce(ho, void 0), i = Ce(wo, void 0), { t: o } = Pe({ useScope: "global" }), { hasError: c, shortErrorMessage: d, errorDetails: u, copyError: v } = Mv(l), {
3438
+ }), t = e, l = Ce(sl, void 0), r = Ce(yo, void 0), i = Ce(Co, void 0), { t: o } = Pe({ useScope: "global" }), { hasError: c, shortErrorMessage: d, errorDetails: u, copyError: v } = Mv(l), {
3421
3439
  contentRef: b,
3422
3440
  isExpanded: g,
3423
3441
  wrapperStyle: m,
@@ -3449,9 +3467,9 @@ const xv = ["role"], Iv = { class: "vc-blade-status-banners__text" }, Nv = ["tit
3449
3467
  () => t.modified,
3450
3468
  (L) => {
3451
3469
  if (!r) return;
3452
- const M = r.value.findIndex((D) => D.id === Ua);
3470
+ const M = r.value.findIndex((D) => D.id === za);
3453
3471
  L && M === -1 ? r.value.push({
3454
- id: Ua,
3472
+ id: za,
3455
3473
  variant: "warning",
3456
3474
  icon: "lucide-pencil",
3457
3475
  message: o("COMPONENTS.ORGANISMS.VC_BLADE.UNSAVED_CHANGES"),
@@ -3573,7 +3591,7 @@ const xv = ["role"], Iv = { class: "vc-blade-status-banners__text" }, Nv = ["tit
3573
3591
  }
3574
3592
  }), Wv = Ze("use-widgets");
3575
3593
  function Gv() {
3576
- const e = Ce(Co);
3594
+ const e = Ce(_o);
3577
3595
  if (!e)
3578
3596
  throw Wv.error("Widget service not found in current context. Injection chain:", Mt()), new Fl("WidgetService");
3579
3597
  return e;
@@ -3584,15 +3602,15 @@ const Pl = /* @__PURE__ */ Y({
3584
3602
  widgetId: {}
3585
3603
  },
3586
3604
  setup(e) {
3587
- const n = e, t = Ce(Co), r = Ce(sl, void 0)?.value.id ?? "";
3588
- return Be(as, {
3605
+ const n = e, t = Ce(_o), r = Ce(sl, void 0)?.value.id ?? "";
3606
+ return Be(os, {
3589
3607
  setTrigger: (o) => {
3590
3608
  t.updateWidget({ id: n.widgetId, bladeId: r, widget: { trigger: o } });
3591
3609
  }
3592
3610
  }), (o, c) => z(o.$slots, "default");
3593
3611
  }
3594
3612
  });
3595
- function ii() {
3613
+ function si() {
3596
3614
  const { t: e } = Pe({ useScope: "global" });
3597
3615
  function n(o) {
3598
3616
  const c = o.headless?.badge;
@@ -3626,7 +3644,7 @@ const qv = { class: "vc-widget-container-desktop" }, Kv = { class: "vc-widget-co
3626
3644
  bladeId: {}
3627
3645
  },
3628
3646
  setup(e) {
3629
- const n = e, t = N(!1), { resolveBadge: l, resolveLoading: r, resolveDisabled: i, resolveTitle: o, handleHeadlessClick: c } = ii(), d = y(() => n.widgets.slice(0, 3)), u = y(() => n.widgets.slice(3)), v = y(() => n.widgets.length > 3);
3647
+ const n = e, t = N(!1), { resolveBadge: l, resolveLoading: r, resolveDisabled: i, resolveTitle: o, handleHeadlessClick: c } = si(), d = y(() => n.widgets.slice(0, 3)), u = y(() => n.widgets.slice(3)), v = y(() => n.widgets.length > 3);
3630
3648
  return (b, g) => (s(), p("div", qv, [
3631
3649
  C("div", Kv, [
3632
3650
  (s(!0), p(J, null, ve(d.value, (m) => (s(), p(J, {
@@ -4013,7 +4031,7 @@ const qv = { class: "vc-widget-container-desktop" }, Kv = { class: "vc-widget-co
4013
4031
  bladeId: {}
4014
4032
  },
4015
4033
  setup(e) {
4016
- const n = e, t = N(null), l = N(!1), r = y(() => n.widgets.length > 0), { resolveBadge: i, resolveLoading: o, resolveDisabled: c, resolveTitle: d, handleHeadlessClick: u } = ii(), { visibleItems: v, showMoreButton: b, hiddenItems: g } = sa({
4034
+ const n = e, t = N(null), l = N(!1), r = y(() => n.widgets.length > 0), { resolveBadge: i, resolveLoading: o, resolveDisabled: c, resolveTitle: d, handleHeadlessClick: u } = si(), { visibleItems: v, showMoreButton: b, hiddenItems: g } = sa({
4017
4035
  containerRef: t,
4018
4036
  items: y(() => n.widgets),
4019
4037
  getItemKey: (m) => m.id ?? "",
@@ -4183,7 +4201,7 @@ const qv = { class: "vc-widget-container-desktop" }, Kv = { class: "vc-widget-co
4183
4201
  }, null, 8, ["widgets", "blade-id"])) : O("", !0);
4184
4202
  }
4185
4203
  });
4186
- function si() {
4204
+ function ri() {
4187
4205
  const e = Wl("VC_LANGUAGE_SETTINGS", "");
4188
4206
  function n(d) {
4189
4207
  if (!d)
@@ -4197,11 +4215,11 @@ function si() {
4197
4215
  const u = n(d);
4198
4216
  Ct.global.locale.value = u;
4199
4217
  const v = Ct.global.getLocaleMessage(u)?.messages;
4200
- Kr.configure({
4201
- generateMessage: kc(u, {
4218
+ Yr.configure({
4219
+ generateMessage: Ec(u, {
4202
4220
  messages: v ?? {}
4203
4221
  })
4204
- }), Ec(u), e.value = u, typeof document < "u" && document.documentElement.setAttribute("lang", u);
4222
+ }), Sc(u), e.value = u, typeof document < "u" && document.documentElement.setAttribute("lang", u);
4205
4223
  }
4206
4224
  function r(d) {
4207
4225
  if (!d) return;
@@ -4213,18 +4231,18 @@ function si() {
4213
4231
  return v;
4214
4232
  } catch {
4215
4233
  }
4216
- return Jr.getNativeName(u);
4234
+ return Zr.getNativeName(u);
4217
4235
  }
4218
4236
  function i(d) {
4219
4237
  return n(d);
4220
4238
  }
4221
4239
  function o(d) {
4222
- return Va[d.toLowerCase()] || Va[d.slice(0, 2)] || "xx";
4240
+ return Fa[d.toLowerCase()] || Fa[d.slice(0, 2)] || "xx";
4223
4241
  }
4224
4242
  async function c(d) {
4225
4243
  if (!d) return "";
4226
4244
  const u = o(d);
4227
- return new URL((/* @__PURE__ */ Object.assign({ "../../assets/icons/flags/al.svg": Fs, "../../assets/icons/flags/am.svg": Us, "../../assets/icons/flags/az.svg": zs, "../../assets/icons/flags/ba.svg": Hs, "../../assets/icons/flags/bd.svg": Ws, "../../assets/icons/flags/bg.svg": Gs, "../../assets/icons/flags/by.svg": qs, "../../assets/icons/flags/cn.svg": Ks, "../../assets/icons/flags/cz.svg": Ys, "../../assets/icons/flags/de.svg": js, "../../assets/icons/flags/dk.svg": Xs, "../../assets/icons/flags/ee.svg": Qs, "../../assets/icons/flags/es.svg": Js, "../../assets/icons/flags/fi.svg": Zs, "../../assets/icons/flags/fr.svg": er, "../../assets/icons/flags/gb.svg": tr, "../../assets/icons/flags/ge.svg": lr, "../../assets/icons/flags/gr.svg": nr, "../../assets/icons/flags/hr.svg": ar, "../../assets/icons/flags/hu.svg": or, "../../assets/icons/flags/id.svg": ir, "../../assets/icons/flags/il.svg": sr, "../../assets/icons/flags/in.svg": rr, "../../assets/icons/flags/ir.svg": cr, "../../assets/icons/flags/is.svg": ur, "../../assets/icons/flags/it.svg": dr, "../../assets/icons/flags/jp.svg": vr, "../../assets/icons/flags/kg.svg": fr, "../../assets/icons/flags/kh.svg": mr, "../../assets/icons/flags/kr.svg": pr, "../../assets/icons/flags/kz.svg": gr, "../../assets/icons/flags/lk.svg": br, "../../assets/icons/flags/lt.svg": hr, "../../assets/icons/flags/lv.svg": yr, "../../assets/icons/flags/mk.svg": wr, "../../assets/icons/flags/mn.svg": Cr, "../../assets/icons/flags/my.svg": _r, "../../assets/icons/flags/ng.svg": kr, "../../assets/icons/flags/nl.svg": Er, "../../assets/icons/flags/no.svg": Sr, "../../assets/icons/flags/np.svg": $r, "../../assets/icons/flags/ph.svg": Rr, "../../assets/icons/flags/pk.svg": Ar, "../../assets/icons/flags/pl.svg": Tr, "../../assets/icons/flags/pt.svg": Or, "../../assets/icons/flags/ro.svg": Lr, "../../assets/icons/flags/rs.svg": Mr, "../../assets/icons/flags/ru.svg": xr, "../../assets/icons/flags/sa.svg": Ir, "../../assets/icons/flags/se.svg": Nr, "../../assets/icons/flags/si.svg": Br, "../../assets/icons/flags/sk.svg": Dr, "../../assets/icons/flags/th.svg": Pr, "../../assets/icons/flags/tr.svg": Vr, "../../assets/icons/flags/tz.svg": Fr, "../../assets/icons/flags/ua.svg": Ur, "../../assets/icons/flags/us.svg": zr, "../../assets/icons/flags/uz.svg": Hr, "../../assets/icons/flags/vn.svg": Wr, "../../assets/icons/flags/xx.svg": Gr, "../../assets/icons/flags/za.svg": qr }))[`../../assets/icons/flags/${u}.svg`], import.meta.url).href;
4245
+ return new URL((/* @__PURE__ */ Object.assign({ "../../assets/icons/flags/al.svg": Us, "../../assets/icons/flags/am.svg": zs, "../../assets/icons/flags/az.svg": Hs, "../../assets/icons/flags/ba.svg": Ws, "../../assets/icons/flags/bd.svg": Gs, "../../assets/icons/flags/bg.svg": qs, "../../assets/icons/flags/by.svg": Ks, "../../assets/icons/flags/cn.svg": Ys, "../../assets/icons/flags/cz.svg": js, "../../assets/icons/flags/de.svg": Xs, "../../assets/icons/flags/dk.svg": Qs, "../../assets/icons/flags/ee.svg": Js, "../../assets/icons/flags/es.svg": Zs, "../../assets/icons/flags/fi.svg": er, "../../assets/icons/flags/fr.svg": tr, "../../assets/icons/flags/gb.svg": lr, "../../assets/icons/flags/ge.svg": nr, "../../assets/icons/flags/gr.svg": ar, "../../assets/icons/flags/hr.svg": or, "../../assets/icons/flags/hu.svg": ir, "../../assets/icons/flags/id.svg": sr, "../../assets/icons/flags/il.svg": rr, "../../assets/icons/flags/in.svg": cr, "../../assets/icons/flags/ir.svg": ur, "../../assets/icons/flags/is.svg": dr, "../../assets/icons/flags/it.svg": vr, "../../assets/icons/flags/jp.svg": fr, "../../assets/icons/flags/kg.svg": mr, "../../assets/icons/flags/kh.svg": pr, "../../assets/icons/flags/kr.svg": gr, "../../assets/icons/flags/kz.svg": br, "../../assets/icons/flags/lk.svg": hr, "../../assets/icons/flags/lt.svg": yr, "../../assets/icons/flags/lv.svg": wr, "../../assets/icons/flags/mk.svg": Cr, "../../assets/icons/flags/mn.svg": _r, "../../assets/icons/flags/my.svg": kr, "../../assets/icons/flags/ng.svg": Er, "../../assets/icons/flags/nl.svg": Sr, "../../assets/icons/flags/no.svg": $r, "../../assets/icons/flags/np.svg": Rr, "../../assets/icons/flags/ph.svg": Ar, "../../assets/icons/flags/pk.svg": Tr, "../../assets/icons/flags/pl.svg": Or, "../../assets/icons/flags/pt.svg": Lr, "../../assets/icons/flags/ro.svg": Mr, "../../assets/icons/flags/rs.svg": xr, "../../assets/icons/flags/ru.svg": Ir, "../../assets/icons/flags/sa.svg": Nr, "../../assets/icons/flags/se.svg": Br, "../../assets/icons/flags/si.svg": Dr, "../../assets/icons/flags/sk.svg": Pr, "../../assets/icons/flags/th.svg": Vr, "../../assets/icons/flags/tr.svg": Fr, "../../assets/icons/flags/tz.svg": Ur, "../../assets/icons/flags/ua.svg": zr, "../../assets/icons/flags/us.svg": Hr, "../../assets/icons/flags/uz.svg": Wr, "../../assets/icons/flags/vn.svg": Gr, "../../assets/icons/flags/xx.svg": qr, "../../assets/icons/flags/za.svg": Kr }))[`../../assets/icons/flags/${u}.svg`], import.meta.url).href;
4228
4246
  }
4229
4247
  return {
4230
4248
  setLocale: l,
@@ -4235,26 +4253,26 @@ function si() {
4235
4253
  getCountryCode: o
4236
4254
  };
4237
4255
  }
4238
- const ri = Ze("use-languages");
4256
+ const ci = Ze("use-languages");
4239
4257
  let An = null;
4240
- function ci() {
4241
- return An || (An = si()), An;
4258
+ function ui() {
4259
+ return An || (An = ri()), An;
4242
4260
  }
4243
4261
  function $$() {
4244
- if (!fo())
4245
- return ri.warn("No injection context for provideLanguages; using fallback language service"), ci();
4262
+ if (!mo())
4263
+ return ci.warn("No injection context for provideLanguages; using fallback language service"), ui();
4246
4264
  const e = Ce(Pn, null);
4247
4265
  if (e)
4248
4266
  return e;
4249
- const n = si();
4267
+ const n = ri();
4250
4268
  return Be(Pn, n), n;
4251
4269
  }
4252
- function ui() {
4253
- if (!fo())
4254
- return ci();
4270
+ function di() {
4271
+ if (!mo())
4272
+ return ui();
4255
4273
  const e = Ce(Pn, null);
4256
4274
  if (!e)
4257
- throw ri.error("Language service not found"), new Fl("LanguageService");
4275
+ throw ci.error("Language service not found"), new Fl("LanguageService");
4258
4276
  return e;
4259
4277
  }
4260
4278
  const ff = Ze("use-app-bar-widget");
@@ -4262,8 +4280,8 @@ function R$() {
4262
4280
  const e = Ce(Vn, null);
4263
4281
  if (e)
4264
4282
  return e;
4265
- const n = ws();
4266
- return Be(Vn, n), mo() && jn(() => Cs.dispose(n)), n;
4283
+ const n = Cs();
4284
+ return Be(Vn, n), po() && jn(() => _s.dispose(n)), n;
4267
4285
  }
4268
4286
  function Zl() {
4269
4287
  const e = Ce(Vn);
@@ -4350,7 +4368,7 @@ function $f() {
4350
4368
  const e = typeof window < "u" ? window.location.hostname : "";
4351
4369
  return Ef(Sf(), e);
4352
4370
  }
4353
- const Rf = _c($f), Af = ["aria-labelledby", "aria-label"], Tf = {
4371
+ const Rf = kc($f), Af = ["aria-labelledby", "aria-label"], Tf = {
4354
4372
  key: 1,
4355
4373
  class: "vc-blade__breadcrumbs"
4356
4374
  }, A$ = /* @__PURE__ */ Y({
@@ -4369,13 +4387,13 @@ const Rf = _c($f), Af = ["aria-labelledby", "aria-label"], Tf = {
4369
4387
  },
4370
4388
  emits: ["close", "expand", "collapse"],
4371
4389
  setup(e, { emit: n }) {
4372
- const t = e, l = Ce(os, null), r = y(() => {
4390
+ const t = e, l = Ce(is, null), r = y(() => {
4373
4391
  if (t.modified !== void 0) return t.modified;
4374
4392
  if (l)
4375
4393
  return l.isModified.value;
4376
4394
  }), o = `blade-title-${Mt()?.uid ?? 0}`, c = y(() => !!t.loading);
4377
- Be(is, c), yt();
4378
- const d = n, { isMobile: u, isDesktop: v } = De(), b = Zn(), { id: g } = b, m = !!Ce(sl, void 0), h = Ce(bo, void 0), f = Ce(Qn, void 0), w = y(() => m ? b.expanded.value : t.expanded), _ = y(() => m ? b.closable.value : t.closable), A = Qi(), I = y(() => {
4395
+ Be(ss, c), yt();
4396
+ const d = n, { isMobile: u, isDesktop: v } = De(), b = Zn(), { id: g } = b, m = !!Ce(sl, void 0), h = Ce(ho, void 0), f = Ce(Qn, void 0), w = y(() => m ? b.expanded.value : t.expanded), _ = y(() => m ? b.closable.value : t.closable), A = Ji(), I = y(() => {
4379
4397
  const { class: k, style: x, onClose: U, ...q } = A;
4380
4398
  return q;
4381
4399
  });
@@ -4388,12 +4406,12 @@ const Rf = _c($f), Af = ["aria-labelledby", "aria-label"], Tf = {
4388
4406
  function L() {
4389
4407
  h ? h.value = !1 : d("collapse");
4390
4408
  }
4391
- const M = Ce(yo), { blades: D, setBladeTitle: $ } = Ut();
4409
+ const M = Ce(wo), { blades: D, setBladeTitle: $ } = Ut();
4392
4410
  Xn(() => {
4393
4411
  m && g.value && t.title && $(g.value, t.title);
4394
4412
  });
4395
4413
  const E = N(null), S = N(null);
4396
- return tt(() => Go(() => E.value)), (k, x) => (s(), p("div", Me({
4414
+ return tt(() => qo(() => E.value)), (k, x) => (s(), p("div", Me({
4397
4415
  ref_key: "bladeRef",
4398
4416
  ref: E
4399
4417
  }, I.value, {
@@ -4431,7 +4449,7 @@ const Rf = _c($f), Af = ["aria-labelledby", "aria-label"], Tf = {
4431
4449
  class: "vc-blade__back-button"
4432
4450
  })) : O("", !0),
4433
4451
  !c.value && a(f)?.breadcrumbs?.length && a(v) ? (s(), p("div", Tf, [
4434
- R(a(Xo), {
4452
+ R(a(Qo), {
4435
4453
  items: a(f)?.breadcrumbs,
4436
4454
  collapsed: ""
4437
4455
  }, {
@@ -4677,7 +4695,7 @@ const Rf = _c($f), Af = ["aria-labelledby", "aria-label"], Tf = {
4677
4695
  setup(e) {
4678
4696
  const n = Qe(), t = e, l = y(() => {
4679
4697
  const c = t.modelValue;
4680
- return c == null || c === "" ? t.type === "date" || t.type === "date-ago" ? "N/A" : "" : t.type === "date" ? c instanceof Date ? c.toLocaleDateString() : String(c) : t.type === "date-ago" ? Yo(c) || "N/A" : String(c);
4698
+ return c == null || c === "" ? t.type === "date" || t.type === "date-ago" ? "N/A" : "" : t.type === "date" ? c instanceof Date ? c.toLocaleDateString() : String(c) : t.type === "date-ago" ? jo(c) || "N/A" : String(c);
4681
4699
  }), r = N("lucide-copy");
4682
4700
  function i() {
4683
4701
  navigator.clipboard?.writeText(String(t.modelValue ?? "")), r.value = "lucide-check", setTimeout(() => {
@@ -4743,7 +4761,7 @@ const Rf = _c($f), Af = ["aria-labelledby", "aria-label"], Tf = {
4743
4761
  style: he(e.orientation === "horizontal" ? { flex: `${e.aspectRatio[1]} 1 0%` } : void 0)
4744
4762
  }, [
4745
4763
  C("div", Vf, [
4746
- e.type === "link" && e.modelValue ? (s(), B(a(ai), {
4764
+ e.type === "link" && e.modelValue ? (s(), B(a(oi), {
4747
4765
  key: 0,
4748
4766
  class: "vc-field__link",
4749
4767
  onClick: o
@@ -4771,7 +4789,7 @@ const Rf = _c($f), Af = ["aria-labelledby", "aria-label"], Tf = {
4771
4789
  ], 4)
4772
4790
  ], 2));
4773
4791
  }
4774
- }), zf = ["aria-expanded", "disabled"], Hf = { class: "vc-accordion-item__title" }, di = /* @__PURE__ */ Y({
4792
+ }), zf = ["aria-expanded", "disabled"], Hf = { class: "vc-accordion-item__title" }, vi = /* @__PURE__ */ Y({
4775
4793
  name: "VcAccordionItem",
4776
4794
  __name: "vc-accordion-item",
4777
4795
  props: {
@@ -4896,7 +4914,7 @@ const Rf = _c($f), Af = ["aria-labelledby", "aria-label"], Tf = {
4896
4914
  key: 1,
4897
4915
  class: Q(["vc-accordion", `vc-accordion--${e.variant}`])
4898
4916
  }, [
4899
- (s(!0), p(J, null, ve(e.items, (g, m) => (s(), B(di, {
4917
+ (s(!0), p(J, null, ve(e.items, (g, m) => (s(), B(vi, {
4900
4918
  key: g.id || m,
4901
4919
  title: g.title,
4902
4920
  "collapsed-height": g.collapsedHeight ?? e.collapsedHeight,
@@ -4924,7 +4942,7 @@ const Rf = _c($f), Af = ["aria-labelledby", "aria-label"], Tf = {
4924
4942
  z(v.$slots, "default")
4925
4943
  ], 2));
4926
4944
  }
4927
- }), O$ = Gf, L$ = di, qf = {
4945
+ }), O$ = Gf, L$ = vi, qf = {
4928
4946
  key: 0,
4929
4947
  class: "vc-file-upload__container vc-file-upload--skeleton"
4930
4948
  }, Kf = ["tabindex", "aria-label", "aria-describedby", "aria-disabled", "aria-required", "onKeydown"], Yf = {
@@ -4933,7 +4951,7 @@ const Rf = _c($f), Af = ["aria-labelledby", "aria-label"], Tf = {
4933
4951
  }, jf = { class: "vc-file-upload__loading-text" }, Xf = { class: "vc-file-upload__text" }, Qf = {
4934
4952
  key: 0,
4935
4953
  class: "vc-file-upload__link"
4936
- }, Jf = { class: "vc-file-upload__link" }, Zf = ["accept", "multiple", "name", "disabled"], em = { key: 0 }, vi = /* @__PURE__ */ Y({
4954
+ }, Jf = { class: "vc-file-upload__link" }, Zf = ["accept", "multiple", "name", "disabled"], em = { key: 0 }, fi = /* @__PURE__ */ Y({
4937
4955
  __name: "vc-file-upload",
4938
4956
  props: {
4939
4957
  loading: { type: Boolean },
@@ -4956,7 +4974,7 @@ const Rf = _c($f), Af = ["aria-labelledby", "aria-label"], Tf = {
4956
4974
  errorMessage: f,
4957
4975
  handleChange: w,
4958
4976
  validate: _
4959
- } = Yr(`${l.name === "Gallery" ? o.value : l.name}`, g), A = y(() => l.errorMessage || f.value), I = y(() => {
4977
+ } = jr(`${l.name === "Gallery" ? o.value : l.name}`, g), A = y(() => l.errorMessage || f.value), I = y(() => {
4960
4978
  const E = /* @__PURE__ */ new Set();
4961
4979
  return b?.describedBy.value && b.describedBy.value.split(/\s+/).forEach((S) => E.add(S)), A.value && E.add(c.value), E.size ? Array.from(E).join(" ") : void 0;
4962
4980
  }), P = N(null), V = async (E) => {
@@ -5105,7 +5123,7 @@ const Rf = _c($f), Af = ["aria-labelledby", "aria-label"], Tf = {
5105
5123
  ], 10, tm));
5106
5124
  }
5107
5125
  });
5108
- function za(e) {
5126
+ function Ha(e) {
5109
5127
  return "options" in e;
5110
5128
  }
5111
5129
  function kl(e) {
@@ -5128,7 +5146,7 @@ const lm = {
5128
5146
  }
5129
5147
  function i(o) {
5130
5148
  const c = o.target;
5131
- if (za(n.customButton)) {
5149
+ if (Ha(n.customButton)) {
5132
5150
  const d = n.customButton.options.find((u) => u.value === c.value);
5133
5151
  d && d.action(n.editor, c.value);
5134
5152
  }
@@ -5144,7 +5162,7 @@ const lm = {
5144
5162
  active: t.value,
5145
5163
  disabled: e.disabled || l.value,
5146
5164
  onAction: r
5147
- }, null, 8, ["icon", "aria-label", "active", "disabled"])) : a(za)(e.customButton) ? (s(), p("div", lm, [
5165
+ }, null, 8, ["icon", "aria-label", "active", "disabled"])) : a(Ha)(e.customButton) ? (s(), p("div", lm, [
5148
5166
  C("select", {
5149
5167
  disabled: e.disabled || l.value,
5150
5168
  "aria-label": e.customButton.label,
@@ -5233,7 +5251,7 @@ const lm = {
5233
5251
  onKeydown: Re(d, ["enter"]),
5234
5252
  onBlur: d
5235
5253
  }, null, 544), [
5236
- [Ji, l.value]
5254
+ [Zi, l.value]
5237
5255
  ])
5238
5256
  ])
5239
5257
  ])) : O("", !0)
@@ -5516,18 +5534,18 @@ const lm = {
5516
5534
  }
5517
5535
  const m = y(() => {
5518
5536
  const E = [
5519
- ec,
5520
5537
  tc,
5521
- cc,
5522
- _s,
5523
- oc.configure({ resizable: !0 }),
5524
5538
  lc,
5539
+ uc,
5540
+ ks,
5541
+ ic.configure({ resizable: !0 }),
5525
5542
  nc,
5526
5543
  ac,
5527
- ic.configure({ openOnClick: !1 }),
5528
- sc,
5529
- rc.configure({ placeholder: l.placeholder }),
5530
- uc.configure({
5544
+ oc,
5545
+ sc.configure({ openOnClick: !1 }),
5546
+ rc,
5547
+ cc.configure({ placeholder: l.placeholder }),
5548
+ dc.configure({
5531
5549
  html: !0,
5532
5550
  // Allow HTML input/output
5533
5551
  tightLists: !0,
@@ -5557,7 +5575,7 @@ const lm = {
5557
5575
  (E) => {
5558
5576
  if (d.value = g(E || ""), d.value === "html")
5559
5577
  try {
5560
- h.value = dc.html(E || "", {
5578
+ h.value = vc.html(E || "", {
5561
5579
  indent_size: 2,
5562
5580
  wrap_line_length: 0,
5563
5581
  preserve_newlines: !0,
@@ -5626,7 +5644,7 @@ const lm = {
5626
5644
  w.value = w.value === "split" ? "editor" : "split";
5627
5645
  }
5628
5646
  let V = !1;
5629
- const L = Zr({
5647
+ const L = ec({
5630
5648
  content: l.modelValue,
5631
5649
  editable: !l.disabled,
5632
5650
  extensions: m.value,
@@ -5856,7 +5874,7 @@ const lm = {
5856
5874
  key: 0,
5857
5875
  class: "vc-notification__content",
5858
5876
  tabindex: "0"
5859
- }, Lm = { key: 1 }, Mm = ["aria-label"], Ha = 200, xm = 45, x$ = /* @__PURE__ */ Y({
5877
+ }, Lm = { key: 1 }, Mm = ["aria-label"], Wa = 200, xm = 45, x$ = /* @__PURE__ */ Y({
5860
5878
  __name: "vc-toast",
5861
5879
  props: {
5862
5880
  content: { type: [String, Object, Function] },
@@ -5881,11 +5899,11 @@ const lm = {
5881
5899
  success: { icon: "lucide-check-circle", color: "var(--notification-success)" },
5882
5900
  error: { icon: "lucide-alert-circle", color: "var(--notification-error)" },
5883
5901
  warning: { icon: "lucide-alert-triangle", color: "var(--notification-warning)" }
5884
- }, { timeout: i } = Zi(l), o = N(null), c = N(!1), d = N(!1), u = y(() => (l.position || "top-center").startsWith("top") ? "top" : "bottom"), v = y(() => (l.toastIndex ?? 0) === 0), b = y(() => (l.toastIndex ?? 0) < (l.visibleToasts ?? 3)), g = N(null);
5902
+ }, { timeout: i } = es(l), o = N(null), c = N(!1), d = N(!1), u = y(() => (l.position || "top-center").startsWith("top") ? "top" : "bottom"), v = y(() => (l.toastIndex ?? 0) === 0), b = y(() => (l.toastIndex ?? 0) < (l.visibleToasts ?? 3)), g = N(null);
5885
5903
  function m() {
5886
5904
  d.value || (d.value = !0, g.value?.clear(), setTimeout(() => {
5887
5905
  t("close", l.notificationId);
5888
- }, Ha));
5906
+ }, Wa));
5889
5907
  }
5890
5908
  ie(
5891
5909
  () => l.dismissing,
@@ -5970,7 +5988,7 @@ const lm = {
5970
5988
  if (Math.abs(x) >= xm || q > 0.11) {
5971
5989
  d.value = !0, g.value?.clear(), L.value = !0;
5972
5990
  const K = x > 0 ? 1 : -1;
5973
- o.value?.style.setProperty("--swipe-amount-x", `${K * window.innerWidth}px`), setTimeout(() => t("close", l.notificationId), Ha);
5991
+ o.value?.style.setProperty("--swipe-amount-x", `${K * window.innerWidth}px`), setTimeout(() => t("close", l.notificationId), Wa);
5974
5992
  } else
5975
5993
  o.value?.style.setProperty("--swipe-amount-x", "0px"), g.value?.resume();
5976
5994
  V.value = !1, I.value = 0, P.value = 0;
@@ -6231,7 +6249,7 @@ const lm = {
6231
6249
  ariaLabel: {}
6232
6250
  },
6233
6251
  setup(e) {
6234
- const n = Qe(), t = [Bo], l = y(() => ({
6252
+ const n = Qe(), t = [Do], l = y(() => ({
6235
6253
  nextEl: ".vc-slider__next",
6236
6254
  prevEl: ".vc-slider__prev"
6237
6255
  }));
@@ -6656,7 +6674,7 @@ function $p(e) {
6656
6674
  if (i === "" || i === void 0 || i === null)
6657
6675
  return;
6658
6676
  if (e.type() === "color") {
6659
- const c = $o(i);
6677
+ const c = Ro(i);
6660
6678
  e.addItem({
6661
6679
  [e.optionLabel()]: i,
6662
6680
  colorCode: c || "#000000"
@@ -6733,7 +6751,7 @@ function Ap(e) {
6733
6751
  m && c.update();
6734
6752
  }
6735
6753
  );
6736
- const u = ks({
6754
+ const u = Es({
6737
6755
  onEnter: (m) => {
6738
6756
  const h = parseInt(m.getAttribute("data-index") || "0", 10);
6739
6757
  e.onItemSelect(h);
@@ -7037,7 +7055,7 @@ const Op = {
7037
7055
  resolvedName: d,
7038
7056
  ariaRequired: u,
7039
7057
  ariaDescribedBy: v
7040
- } = Ft(t), b = Qe(), g = y(() => t.modelValue != null && (t.binary ? !!t.modelValue : Sc(t.modelValue, t.value)));
7058
+ } = Ft(t), b = Qe(), g = y(() => t.modelValue != null && (t.binary ? !!t.modelValue : $c(t.modelValue, t.value)));
7041
7059
  function m() {
7042
7060
  if (!c.value) {
7043
7061
  const h = t.binary ? !g.value : t.value;
@@ -7098,7 +7116,7 @@ const Op = {
7098
7116
  })
7099
7117
  ]));
7100
7118
  }
7101
- }), Pp = ["disabled", "role", "aria-invalid", "aria-describedby", "aria-labelledby", "aria-label"], Vp = ["id"], Fp = { class: "vc-input-group__controls" }, Up = { key: 0 }, zp = { key: 1 }, fi = /* @__PURE__ */ Y({
7119
+ }), Pp = ["disabled", "role", "aria-invalid", "aria-describedby", "aria-labelledby", "aria-label"], Vp = ["id"], Fp = { class: "vc-input-group__controls" }, Up = { key: 0 }, zp = { key: 1 }, mi = /* @__PURE__ */ Y({
7102
7120
  __name: "vc-input-group",
7103
7121
  props: {
7104
7122
  label: {},
@@ -7121,7 +7139,7 @@ const Op = {
7121
7139
  if (n.hint)
7122
7140
  return r.value;
7123
7141
  }), d = y(() => n.label ? l.value : n.ariaLabelledby);
7124
- return Be(Es, {
7142
+ return Be(Ss, {
7125
7143
  name: xe(n, "name"),
7126
7144
  disabled: y(() => !!n.disabled),
7127
7145
  invalid: o,
@@ -7247,7 +7265,7 @@ const Op = {
7247
7265
  height: 12
7248
7266
  }, null, 8, ["width"])
7249
7267
  ]))), 128))
7250
- ])) : (s(), B(a(fi), {
7268
+ ])) : (s(), B(a(mi), {
7251
7269
  key: 1,
7252
7270
  class: "vc-radio-group",
7253
7271
  label: e.label,
@@ -7403,7 +7421,7 @@ const Op = {
7403
7421
  "aria-label": e.label ? void 0 : e.ariaLabel,
7404
7422
  tabindex: "0"
7405
7423
  }, null, 8, qp), [
7406
- [es, m.value]
7424
+ [ts, m.value]
7407
7425
  ]),
7408
7426
  C("span", Kp, [
7409
7427
  z(f.$slots, "icon", {}, () => [
@@ -7503,7 +7521,7 @@ const Op = {
7503
7521
  height: 12
7504
7522
  }, null, 8, ["width"])
7505
7523
  ]))), 128))
7506
- ])) : (s(), B(a(fi), {
7524
+ ])) : (s(), B(a(mi), {
7507
7525
  key: 1,
7508
7526
  class: "vc-checkbox-group",
7509
7527
  label: e.label,
@@ -7539,7 +7557,7 @@ const Op = {
7539
7557
  }), eg = {
7540
7558
  key: 0,
7541
7559
  class: "vc-switch vc-switch--skeleton"
7542
- }, tg = { class: "vc-switch__track-wrapper" }, lg = { class: "vc-switch__track-label" }, ng = ["id", "checked", "disabled", "aria-label", "aria-checked", "aria-invalid", "aria-required", "aria-describedby"], ag = { key: 0 }, og = { key: 1 }, mi = /* @__PURE__ */ Y({
7560
+ }, tg = { class: "vc-switch__track-wrapper" }, lg = { class: "vc-switch__track-label" }, ng = ["id", "checked", "disabled", "aria-label", "aria-checked", "aria-invalid", "aria-required", "aria-describedby"], ag = { key: 0 }, og = { key: 1 }, pi = /* @__PURE__ */ Y({
7543
7561
  __name: "vc-switch",
7544
7562
  props: {
7545
7563
  modelValue: { type: Boolean },
@@ -7699,7 +7717,7 @@ const Op = {
7699
7717
  ta(4),
7700
7718
  ea(),
7701
7719
  Hl({ padding: 16 }),
7702
- Vs({
7720
+ Fs({
7703
7721
  padding: 16,
7704
7722
  apply({ availableHeight: _, elements: A }) {
7705
7723
  Object.assign(A.floating.style, {
@@ -7882,7 +7900,7 @@ const Op = {
7882
7900
  key: 1,
7883
7901
  class: "vc-menu-item__letters",
7884
7902
  "aria-hidden": "true"
7885
- }, kg = { class: "vc-menu-item__title" }, Eg = { class: "vc-menu-item__title-text" }, pi = /* @__PURE__ */ Y({
7903
+ }, kg = { class: "vc-menu-item__title" }, Eg = { class: "vc-menu-item__title-text" }, gi = /* @__PURE__ */ Y({
7886
7904
  name: "VcMenuItem",
7887
7905
  __name: "vc-menu-item",
7888
7906
  props: {
@@ -7929,7 +7947,7 @@ const Op = {
7929
7947
  default: T(() => [
7930
7948
  Xe(C("span", kg, [
7931
7949
  C("span", Eg, F(e.title), 1),
7932
- e.badge && i.value ? (s(), B(a(li), {
7950
+ e.badge && i.value ? (s(), B(a(ni), {
7933
7951
  key: 0,
7934
7952
  content: e.badge.isDot ? void 0 : e.badge.content,
7935
7953
  variant: e.badge.variant ?? "primary",
@@ -8009,7 +8027,7 @@ const Op = {
8009
8027
  icon: "lucide-chevron-down",
8010
8028
  size: "s"
8011
8029
  }, null, 8, ["class"])
8012
- ], 10, Sg)) : (s(), B(pi, {
8030
+ ], 10, Sg)) : (s(), B(gi, {
8013
8031
  key: 1,
8014
8032
  icon: e.icon,
8015
8033
  title: e.title,
@@ -8040,7 +8058,7 @@ const Op = {
8040
8058
  ], 2)
8041
8059
  ], 2));
8042
8060
  }
8043
- }), Og = hg, Wa = pi, Lg = Tg;
8061
+ }), Og = hg, Ga = gi, Lg = Tg;
8044
8062
  function Mg(e) {
8045
8063
  const n = N(!1), t = N(!1);
8046
8064
  function l() {
@@ -8062,7 +8080,7 @@ const xg = {
8062
8080
  }, Ig = {
8063
8081
  key: 1,
8064
8082
  class: "vc-image-tile__error"
8065
- }, Ng = ["src", "alt"], Bg = { class: "vc-image-tile__topbar" }, Dg = ["title"], Pg = { class: "vc-image-tile__tray" }, Vg = { class: "vc-image-tile__tray-actions" }, Fg = ["title"], Ug = ["title"], zg = ["title"], gi = /* @__PURE__ */ Y({
8083
+ }, Ng = ["src", "alt"], Bg = { class: "vc-image-tile__topbar" }, Dg = ["title"], Pg = { class: "vc-image-tile__tray" }, Vg = { class: "vc-image-tile__tray-actions" }, Fg = ["title"], Ug = ["title"], zg = ["title"], bi = /* @__PURE__ */ Y({
8066
8084
  __name: "vc-image-tile",
8067
8085
  props: {
8068
8086
  src: {},
@@ -8284,7 +8302,7 @@ const xg = {
8284
8302
  }, ib = ["aria-label", "aria-expanded"], sb = { class: "sidebar-header__menu-button-wrap" }, rb = {
8285
8303
  key: 1,
8286
8304
  class: "sidebar-header__actions"
8287
- }, bi = /* @__PURE__ */ Y({
8305
+ }, hi = /* @__PURE__ */ Y({
8288
8306
  __name: "SidebarHeader",
8289
8307
  props: {
8290
8308
  logo: {},
@@ -8299,7 +8317,7 @@ const xg = {
8299
8317
  },
8300
8318
  emits: ["logo:click", "toggle-menu", "toggle-notifications"],
8301
8319
  setup(e) {
8302
- const n = Ce(_o, N(!1));
8320
+ const n = Ce(ko, N(!1));
8303
8321
  return (t, l) => e.isVisible ? (s(), p("div", {
8304
8322
  key: 0,
8305
8323
  class: Q(["sidebar-header", {
@@ -8383,7 +8401,7 @@ const xg = {
8383
8401
  ], 2)) : O("", !0);
8384
8402
  }
8385
8403
  });
8386
- function hi(e) {
8404
+ function yi(e) {
8387
8405
  const n = Object.values(e.params)?.[0], t = typeof n == "string" ? n : "";
8388
8406
  return t && e.path.startsWith(`/${t}/`) ? e.path.slice(t.length + 1) : t && e.path === `/${t}` ? "/" : e.path;
8389
8407
  }
@@ -8392,7 +8410,7 @@ function V$(e) {
8392
8410
  return { isActive: y(() => {
8393
8411
  const l = Ne(e);
8394
8412
  if (!l) return !1;
8395
- const r = hi(n);
8413
+ const r = yi(n);
8396
8414
  return r === l || r.startsWith(l + "/");
8397
8415
  }) };
8398
8416
  }
@@ -8404,7 +8422,7 @@ const cb = 3, Hn = /* @__PURE__ */ Y({
8404
8422
  },
8405
8423
  emits: ["item:click"],
8406
8424
  setup(e, { emit: n }) {
8407
- const t = e, l = n, r = Ht(), { t: i } = Pe(), { menuItems: o, menuBadges: c } = Ro(), { hasAccess: d } = ul(), u = Ce(ss, N(!0)), v = [92, 70, 104], b = (L) => v[(L - 1) % v.length], g = y(() => !u.value && !t.searchQuery?.trim()), m = (L) => d(L.permissions), h = (L) => (L.children ?? []).filter((M) => m(M)), f = y(() => o.value.filter((L) => m(L) ? L.children?.length ? h(L).length > 0 : !0 : !1)), w = y(() => {
8425
+ const t = e, l = n, r = Ht(), { t: i } = Pe(), { menuItems: o, menuBadges: c } = Ao(), { hasAccess: d } = ul(), u = Ce(rs, N(!0)), v = [92, 70, 104], b = (L) => v[(L - 1) % v.length], g = y(() => !u.value && !t.searchQuery?.trim()), m = (L) => d(L.permissions), h = (L) => (L.children ?? []).filter((M) => m(M)), f = y(() => o.value.filter((L) => m(L) ? L.children?.length ? h(L).length > 0 : !0 : !1)), w = y(() => {
8408
8426
  const L = t.searchQuery?.toLowerCase().trim();
8409
8427
  return L ? f.value.map((M) => {
8410
8428
  const D = h(M);
@@ -8418,7 +8436,7 @@ const cb = 3, Hn = /* @__PURE__ */ Y({
8418
8436
  l("item:click", L);
8419
8437
  }, I = (L) => {
8420
8438
  if (!L) return !1;
8421
- const M = hi(r);
8439
+ const M = yi(r);
8422
8440
  return M === L || M.startsWith(L + "/");
8423
8441
  };
8424
8442
  function P(L) {
@@ -8474,7 +8492,7 @@ const cb = 3, Hn = /* @__PURE__ */ Y({
8474
8492
  badge: V.value.get(D.routeId ?? D.groupId ?? "")
8475
8493
  }, {
8476
8494
  default: T(() => [
8477
- (s(!0), p(J, null, ve(h(D), ($) => (s(), B(a(Wa), {
8495
+ (s(!0), p(J, null, ve(h(D), ($) => (s(), B(a(Ga), {
8478
8496
  key: $.routeId || $.url || $.id || $.title,
8479
8497
  "data-test-id": $.routeId,
8480
8498
  icon: $.icon,
@@ -8486,7 +8504,7 @@ const cb = 3, Hn = /* @__PURE__ */ Y({
8486
8504
  }, null, 8, ["data-test-id", "icon", "title", "badge", "active", "onClick"]))), 128))
8487
8505
  ]),
8488
8506
  _: 2
8489
- }, 1032, ["data-test-id", "group-id", "icon", "title", "badge"])) : (s(), B(a(Wa), {
8507
+ }, 1032, ["data-test-id", "group-id", "icon", "title", "badge"])) : (s(), B(a(Ga), {
8490
8508
  key: 1,
8491
8509
  "data-test-id": D.routeId,
8492
8510
  icon: D.groupIcon || D.icon,
@@ -8553,10 +8571,10 @@ const cb = 3, Hn = /* @__PURE__ */ Y({
8553
8571
  }), gb = { class: "vc-settings-menu" }, bb = {
8554
8572
  key: 0,
8555
8573
  class: "vc-settings-menu__separator"
8556
- }, hb = { class: "vc-settings-menu__group" }, yi = /* @__PURE__ */ Y({
8574
+ }, hb = { class: "vc-settings-menu__group" }, wi = /* @__PURE__ */ Y({
8557
8575
  __name: "settings-menu",
8558
8576
  setup(e) {
8559
- const { items: n } = Ss(), t = y(() => {
8577
+ const { items: n } = $s(), t = y(() => {
8560
8578
  const l = /* @__PURE__ */ new Map();
8561
8579
  for (const r of n.value) {
8562
8580
  const i = r.group ?? "general";
@@ -8601,7 +8619,7 @@ const cb = 3, Hn = /* @__PURE__ */ Y({
8601
8619
  class: "vc-user-sidebar__menu",
8602
8620
  onClick: l[0] || (l[0] = ue((r) => t.$emit("update:isOpened", !1), ["stop"]))
8603
8621
  }, [
8604
- R(a(yi))
8622
+ R(a(wi))
8605
8623
  ])) : O("", !0)
8606
8624
  ]),
8607
8625
  _: 1
@@ -8664,7 +8682,7 @@ const cb = 3, Hn = /* @__PURE__ */ Y({
8664
8682
  "max-width": "300px"
8665
8683
  }, {
8666
8684
  default: T(() => [
8667
- R(a(yi))
8685
+ R(a(wi))
8668
8686
  ]),
8669
8687
  _: 1
8670
8688
  }, 8, ["show", "anchor-ref"])) : (s(), B(yb, {
@@ -8674,7 +8692,7 @@ const cb = 3, Hn = /* @__PURE__ */ Y({
8674
8692
  }, null, 8, ["is-opened"]))
8675
8693
  ]));
8676
8694
  }
8677
- }), wi = Cb, _b = {
8695
+ }), Ci = Cb, _b = {
8678
8696
  key: 0,
8679
8697
  class: "sidebar-content__search"
8680
8698
  }, kb = { class: "sidebar-content__footer" }, Eb = /* @__PURE__ */ Y({
@@ -8742,7 +8760,7 @@ const cb = 3, Hn = /* @__PURE__ */ Y({
8742
8760
  avatar: e.avatar,
8743
8761
  role: e.userRole
8744
8762
  }, () => [
8745
- a(r) ? O("", !0) : (s(), B(a(wi), {
8763
+ a(r) ? O("", !0) : (s(), B(a(Ci), {
8746
8764
  key: 0,
8747
8765
  "avatar-url": e.avatar,
8748
8766
  name: e.userName,
@@ -8772,7 +8790,7 @@ const cb = 3, Hn = /* @__PURE__ */ Y({
8772
8790
  ]));
8773
8791
  }
8774
8792
  });
8775
- function Ci(e, n) {
8793
+ function _i(e, n) {
8776
8794
  const t = y(() => {
8777
8795
  const d = Ne(e);
8778
8796
  return !n.value || !Array.isArray(d) ? null : d.find((u) => u.id === n.value) || null;
@@ -8795,13 +8813,13 @@ function Ci(e, n) {
8795
8813
  };
8796
8814
  }
8797
8815
  function tn() {
8798
- const { items: e } = Zl(), { activeWidgetId: n } = Ao(), {
8816
+ const { items: e } = Zl(), { activeWidgetId: n } = To(), {
8799
8817
  showItem: t,
8800
8818
  hideAllItems: l,
8801
8819
  toggleItem: r,
8802
8820
  currentItem: i,
8803
8821
  isAnyItemVisible: o
8804
- } = Ci(e, n);
8822
+ } = _i(e, n);
8805
8823
  return {
8806
8824
  showWidget: t,
8807
8825
  hideAllWidgets: l,
@@ -8825,7 +8843,7 @@ function Rb(e) {
8825
8843
  function Ab(e) {
8826
8844
  return e ? e.replace(/[\-_]+/g, " ").replace(/\s+/g, " ").trim().replace(/\b\w/g, (n) => n.toUpperCase()) : "";
8827
8845
  }
8828
- const Ga = /* @__PURE__ */ Y({
8846
+ const qa = /* @__PURE__ */ Y({
8829
8847
  __name: "AppBarWidgetContent",
8830
8848
  props: {
8831
8849
  mobile: { type: Boolean, default: !1 }
@@ -8863,7 +8881,7 @@ const Ga = /* @__PURE__ */ Y({
8863
8881
  }, Jb = {
8864
8882
  key: 0,
8865
8883
  class: "app-hub-content__flyout app-hub-content__flyout--mobile"
8866
- }, Zb = { class: "app-hub-content__flyout-header" }, eh = { class: "app-hub-content__flyout-title" }, th = { class: "app-hub-content__flyout-body" }, qa = 120, Sl = 120, lh = 80, nh = 120, Wn = /* @__PURE__ */ Y({
8884
+ }, Zb = { class: "app-hub-content__flyout-header" }, eh = { class: "app-hub-content__flyout-title" }, th = { class: "app-hub-content__flyout-body" }, Ka = 120, Sl = 120, lh = 80, nh = 120, Wn = /* @__PURE__ */ Y({
8867
8885
  __name: "AppHubContent",
8868
8886
  props: {
8869
8887
  appsList: {},
@@ -8877,7 +8895,7 @@ const Ga = /* @__PURE__ */ Y({
8877
8895
  widgets: d,
8878
8896
  showApplications: xe(t, "showApplications"),
8879
8897
  mobile: xe(t, "mobile")
8880
- }), _ = N(Sl), A = N(Sl), I = y(() => !i.value && h.value.length > qa), P = y(() => f.value.length > qa), V = y(() => I.value ? h.value.slice(0, _.value) : h.value), L = y(() => P.value ? f.value.slice(0, A.value) : f.value);
8898
+ }), _ = N(Sl), A = N(Sl), I = y(() => !i.value && h.value.length > Ka), P = y(() => f.value.length > Ka), V = y(() => I.value ? h.value.slice(0, _.value) : h.value), L = y(() => P.value ? f.value.slice(0, A.value) : f.value);
8881
8899
  ie(
8882
8900
  () => d.value.map((G) => G.id),
8883
8901
  () => {
@@ -9047,7 +9065,7 @@ const Ga = /* @__PURE__ */ Y({
9047
9065
  ]),
9048
9066
  R(a(Tt), { class: "app-hub-content__widget-inline-body" }, {
9049
9067
  default: T(() => [
9050
- R(Ga)
9068
+ R(qa)
9051
9069
  ]),
9052
9070
  _: 1
9053
9071
  })
@@ -9101,7 +9119,7 @@ const Ga = /* @__PURE__ */ Y({
9101
9119
  }, null, 8, ["onClick"])
9102
9120
  ]),
9103
9121
  C("div", th, [
9104
- R(Ga, { mobile: "" })
9122
+ R(qa, { mobile: "" })
9105
9123
  ])
9106
9124
  ])) : O("", !0)
9107
9125
  ]),
@@ -9165,7 +9183,7 @@ const Ga = /* @__PURE__ */ Y({
9165
9183
  }), oh = { class: "vc-notification-template__content" }, ih = { class: "vc-notification-template__time" }, sh = {
9166
9184
  key: 0,
9167
9185
  class: "vc-notification-template__content-body"
9168
- }, Ka = 60, Ya = 3600, rh = 86400, ch = /* @__PURE__ */ Y({
9186
+ }, Ya = 60, ja = 3600, rh = 86400, ch = /* @__PURE__ */ Y({
9169
9187
  __name: "notification-template",
9170
9188
  props: {
9171
9189
  title: {},
@@ -9182,7 +9200,7 @@ const Ga = /* @__PURE__ */ Y({
9182
9200
  const d = c instanceof Date ? c : new Date(c);
9183
9201
  if (Number.isNaN(d.getTime())) return "";
9184
9202
  const u = Date.now(), v = Math.round((u - d.getTime()) / 1e3), b = Math.abs(v), g = new Intl.RelativeTimeFormat(i, { numeric: "auto" });
9185
- return b < Ka ? g.format(-v, "second") : b < Ya ? g.format(-Math.round(v / Ka), "minute") : b < rh ? g.format(-Math.round(v / Ya), "hour") : new Intl.DateTimeFormat(i, {
9203
+ return b < Ya ? g.format(-v, "second") : b < ja ? g.format(-Math.round(v / Ya), "minute") : b < rh ? g.format(-Math.round(v / ja), "hour") : new Intl.DateTimeFormat(i, {
9186
9204
  dateStyle: "short",
9187
9205
  timeStyle: "short"
9188
9206
  }).format(d);
@@ -9230,7 +9248,7 @@ const Ga = /* @__PURE__ */ Y({
9230
9248
  return r.registry.get(c)?.template;
9231
9249
  });
9232
9250
  Be(
9233
- Wc,
9251
+ Gc,
9234
9252
  y(() => t.notification)
9235
9253
  );
9236
9254
  const o = () => {
@@ -9295,7 +9313,7 @@ const Ga = /* @__PURE__ */ Y({
9295
9313
  })) : (s(), p("div", mh, F(a(t)("COMPONENTS.NOTIFICATION_DROPDOWN.EMPTY")), 1))
9296
9314
  ]));
9297
9315
  }
9298
- }), _i = ph, gh = ["inert", "aria-label"], bh = /* @__PURE__ */ Y({
9316
+ }), ki = ph, gh = ["inert", "aria-label"], bh = /* @__PURE__ */ Y({
9299
9317
  __name: "DesktopLayout",
9300
9318
  props: {
9301
9319
  logo: {},
@@ -9366,7 +9384,7 @@ const Ga = /* @__PURE__ */ Y({
9366
9384
  expanded: a(l).isExpanded.value,
9367
9385
  isMobile: !1
9368
9386
  }, () => [
9369
- u.value ? (s(), B(bi, {
9387
+ u.value ? (s(), B(hi, {
9370
9388
  key: 0,
9371
9389
  logo: e.logo,
9372
9390
  expanded: a(l).isExpanded.value,
@@ -9435,7 +9453,7 @@ const Ga = /* @__PURE__ */ Y({
9435
9453
  "content-scrollable": !1
9436
9454
  }, {
9437
9455
  default: T(() => [
9438
- R(a(_i))
9456
+ R(a(ki))
9439
9457
  ]),
9440
9458
  _: 1
9441
9459
  }, 8, ["show", "anchor-ref"])
@@ -9465,24 +9483,24 @@ function wh() {
9465
9483
  if (e)
9466
9484
  return e;
9467
9485
  const n = hh();
9468
- return Be(Fn, n), mo() && jn(() => {
9486
+ return Be(Fn, n), po() && jn(() => {
9469
9487
  }), n;
9470
9488
  }
9471
- function ki() {
9489
+ function Ei() {
9472
9490
  const e = Ce(Fn);
9473
9491
  if (!e)
9474
9492
  throw yh.error("AppBarMobileButtonsService not found"), new Fl("AppBarMobileButtonsService");
9475
9493
  return e;
9476
9494
  }
9477
9495
  function Ch() {
9478
- const { getButtons: e } = ki(), { activeMobileActionId: n } = Ao(), {
9496
+ const { getButtons: e } = Ei(), { activeMobileActionId: n } = To(), {
9479
9497
  showItem: t,
9480
9498
  hideAllItems: l,
9481
9499
  toggleItem: r,
9482
9500
  currentItem: i,
9483
9501
  isAnyItemVisible: o,
9484
9502
  closeItem: c
9485
- } = Ci(e, n);
9503
+ } = _i(e, n);
9486
9504
  return ie(
9487
9505
  () => e.value,
9488
9506
  (d) => {
@@ -9514,7 +9532,7 @@ const _h = {
9514
9532
  expanded: {}
9515
9533
  },
9516
9534
  setup(e) {
9517
- const n = e, { isMobile: t } = De(), { getButtons: l } = ki(), { currentAction: r, toggleAction: i, hideAllActions: o, isAnyActionVisible: c } = Ch(), d = Ht(), u = (g) => {
9535
+ const n = e, { isMobile: t } = De(), { getButtons: l } = Ei(), { currentAction: r, toggleAction: i, hideAllActions: o, isAnyActionVisible: c } = Ch(), d = Ht(), u = (g) => {
9518
9536
  if (r.value?.id === g.id) {
9519
9537
  g.onClose?.(), o();
9520
9538
  return;
@@ -9663,7 +9681,7 @@ const _h = {
9663
9681
  }, Wh = {
9664
9682
  key: 0,
9665
9683
  class: "mobile-layout__search"
9666
- }, vt = 0, Zt = 1, ja = 8, Gh = 0.3, qh = 0.3, Kh = 1, Yh = 0.2, Xa = "transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94)", jh = /* @__PURE__ */ Y({
9684
+ }, vt = 0, Zt = 1, Xa = 8, Gh = 0.3, qh = 0.3, Kh = 1, Yh = 0.2, Qa = "transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94)", jh = /* @__PURE__ */ Y({
9667
9685
  __name: "MobileLayout",
9668
9686
  props: {
9669
9687
  logo: {},
@@ -9695,13 +9713,13 @@ const _h = {
9695
9713
  }
9696
9714
  return {
9697
9715
  transform: `translateX(${j}%)`,
9698
- transition: Xa
9716
+ transition: Qa
9699
9717
  };
9700
9718
  }), M = y(() => {
9701
9719
  const j = w.value?.clientWidth ?? 0, G = h.value && j > 0 ? -f.value / j : 0;
9702
9720
  return {
9703
9721
  transform: `translateX(${Math.max(0, Math.min(1, m.value + G)) * 100}%)`,
9704
- transition: h.value ? "none" : Xa
9722
+ transition: h.value ? "none" : Qa
9705
9723
  };
9706
9724
  });
9707
9725
  function D(j) {
@@ -9738,7 +9756,7 @@ const _h = {
9738
9756
  return;
9739
9757
  const G = j.touches[0], ae = G.clientX - A, Z = G.clientY - I, W = Math.abs(ae), ke = Math.abs(Z);
9740
9758
  if (_.value === "pending") {
9741
- if (W < ja && ke < ja)
9759
+ if (W < Xa && ke < Xa)
9742
9760
  return;
9743
9761
  if (ke > W) {
9744
9762
  _.value = "vertical";
@@ -9804,7 +9822,7 @@ const _h = {
9804
9822
  expanded: !1,
9805
9823
  isMobile: !0
9806
9824
  }, () => [
9807
- R(bi, {
9825
+ R(hi, {
9808
9826
  logo: e.logo,
9809
9827
  expanded: !1,
9810
9828
  "is-mobile": !0,
@@ -9977,7 +9995,7 @@ const _h = {
9977
9995
  avatar: e.avatar,
9978
9996
  role: e.userRole
9979
9997
  }, () => [
9980
- a(o) ? O("", !0) : (s(), B(a(wi), {
9998
+ a(o) ? O("", !0) : (s(), B(a(Ci), {
9981
9999
  key: 0,
9982
10000
  "avatar-url": e.avatar,
9983
10001
  name: e.userName,
@@ -9991,7 +10009,7 @@ const _h = {
9991
10009
  }
9992
10010
  }), Xh = "NG_TRANSLATE_LANG_KEY";
9993
10011
  function Qh() {
9994
- const { setLocale: e, currentLocale: n } = ui(), t = Wl(Xh, ""), l = (r) => {
10012
+ const { setLocale: e, currentLocale: n } = di(), t = Wl(Xh, ""), l = (r) => {
9995
10013
  r && r !== n.value && e(r);
9996
10014
  };
9997
10015
  l(t.value), ie(t, l);
@@ -10050,7 +10068,7 @@ const Jh = { class: "vc-menu-item__content" }, Zh = { class: "vc-menu-item__titl
10050
10068
  icon: e.icon,
10051
10069
  "custom-size": 16,
10052
10070
  class: "vc-menu-item__icon"
10053
- }, null, 8, ["icon"])) : e.image ? (s(), B(a(ni), {
10071
+ }, null, 8, ["icon"])) : e.image ? (s(), B(a(ai), {
10054
10072
  key: 1,
10055
10073
  src: e.image,
10056
10074
  class: "vc-menu-item__image",
@@ -10109,7 +10127,7 @@ const Jh = { class: "vc-menu-item__content" }, Zh = { class: "vc-menu-item__titl
10109
10127
  }), ly = /* @__PURE__ */ Y({
10110
10128
  __name: "language-selector",
10111
10129
  setup(e) {
10112
- const { availableLocales: n, getLocaleMessage: t } = Pe({ useScope: "global" }), { setLocale: l, currentLocale: r } = ui(), i = n.map((d) => ({
10130
+ const { availableLocales: n, getLocaleMessage: t } = Pe({ useScope: "global" }), { setLocale: l, currentLocale: r } = di(), i = n.map((d) => ({
10113
10131
  lang: d,
10114
10132
  title: t(d).language_name,
10115
10133
  async clickHandler(u) {
@@ -10137,7 +10155,7 @@ const Jh = { class: "vc-menu-item__content" }, Zh = { class: "vc-menu-item__titl
10137
10155
  }), ny = ly, ay = /* @__PURE__ */ Y({
10138
10156
  __name: "theme-selector",
10139
10157
  setup(e) {
10140
- const { currentThemeKey: n, currentLocalizedName: t, themes: l, setTheme: r } = $s(), i = (o) => {
10158
+ const { currentThemeKey: n, currentLocalizedName: t, themes: l, setTheme: r } = Rs(), i = (o) => {
10141
10159
  r(o.key), t.value && Rt(t.value);
10142
10160
  };
10143
10161
  return (o, c) => (s(), B(a(ln), {
@@ -10168,8 +10186,8 @@ const Jh = { class: "vc-menu-item__content" }, Zh = { class: "vc-menu-item__titl
10168
10186
  emits: ["close"],
10169
10187
  setup(e, { emit: n }) {
10170
10188
  const t = e, l = n, { t: r } = Pe({ useScope: "global" }), { changeUserPassword: i, loading: o, validatePassword: c, signOut: d } = Ul();
10171
- No({ validateOnMount: !1 });
10172
- const u = jr(), v = Xr(), b = zt(), g = mt({
10189
+ Bo({ validateOnMount: !1 });
10190
+ const u = Xr(), v = Qr(), b = zt(), g = mt({
10173
10191
  isValid: !1,
10174
10192
  errors: [],
10175
10193
  currentPassword: "",
@@ -10197,7 +10215,7 @@ const Jh = { class: "vc-menu-item__content" }, Zh = { class: "vc-menu-item__titl
10197
10215
  R(a(Mf), { class: "tw-flex tw-flex-col tw-flex-auto" }, {
10198
10216
  default: T(() => [
10199
10217
  e.forced ? (s(), p("div", oy, [
10200
- R(a(oi), {
10218
+ R(a(ii), {
10201
10219
  extend: "",
10202
10220
  outline: !1,
10203
10221
  variant: "info-dark"
@@ -10336,7 +10354,7 @@ const Jh = { class: "vc-menu-item__content" }, Zh = { class: "vc-menu-item__titl
10336
10354
  }), uy = cy, dy = /* @__PURE__ */ Y({
10337
10355
  __name: "change-password-button",
10338
10356
  setup(e) {
10339
- const { open: n } = ti({ component: uy }), t = Ce(Jn, void 0), l = () => {
10357
+ const { open: n } = li({ component: uy }), t = Ce(Jn, void 0), l = () => {
10340
10358
  t?.(), n();
10341
10359
  };
10342
10360
  return (r, i) => (s(), B(a(ln), {
@@ -10364,8 +10382,8 @@ const Jh = { class: "vc-menu-item__content" }, Zh = { class: "vc-menu-item__titl
10364
10382
  }
10365
10383
  });
10366
10384
  function fy(e) {
10367
- const n = Ce(rs), t = wh();
10368
- Rs(), Be(rl, e.isEmbedded), e.isEmbedded && Qh(), e.internalRoutes && Be(cs, e.internalRoutes), e.dynamicModules !== void 0 && Be(ko, e.dynamicModules), e.aiAgentConfig?.url && Ds({
10385
+ const n = Ce(cs), t = wh();
10386
+ As(), Be(rl, e.isEmbedded), e.isEmbedded && Qh(), e.internalRoutes && Be(us, e.internalRoutes), e.dynamicModules !== void 0 && Be(Eo, e.dynamicModules), e.aiAgentConfig?.url && Ps({
10369
10387
  config: e.aiAgentConfig,
10370
10388
  addGlobalToolbarButton: e.aiAgentAddGlobalToolbarButton ?? !0,
10371
10389
  isEmbedded: e.isEmbedded
@@ -10379,7 +10397,7 @@ function my(e) {
10379
10397
  const n = Kl();
10380
10398
  e.isEmbedded || e.registerMobileButton({
10381
10399
  id: "notifications",
10382
- component: _i,
10400
+ component: ki,
10383
10401
  icon: "lucide-bell",
10384
10402
  order: 10,
10385
10403
  isVisible: !0,
@@ -10389,7 +10407,7 @@ function my(e) {
10389
10407
  component: ny,
10390
10408
  group: "preferences",
10391
10409
  order: 20
10392
- }), e.registerSettingsMenuItem({ id: "change-password", component: dy, group: "account", order: 30 }), e.registerSettingsMenuItem({ id: "logout", component: vy, group: "account", order: 100 }), Be(_o, n.hasUnread);
10410
+ }), e.registerSettingsMenuItem({ id: "change-password", component: dy, group: "account", order: 30 }), e.registerSettingsMenuItem({ id: "logout", component: vy, group: "account", order: 100 }), Be(ko, n.hasUnread);
10393
10411
  }
10394
10412
  const py = Ze("useShellNavigation");
10395
10413
  function gy() {
@@ -10413,7 +10431,7 @@ const by = Ze("use-app-hub");
10413
10431
  function hy() {
10414
10432
  const { hasAccess: e } = ul(), n = N([]);
10415
10433
  async function t() {
10416
- return new us();
10434
+ return new ds();
10417
10435
  }
10418
10436
  async function l() {
10419
10437
  const i = await t();
@@ -10463,20 +10481,20 @@ const wy = { class: "vc-app__main-content" }, F$ = /* @__PURE__ */ Y({
10463
10481
  searchPlaceholder: {}
10464
10482
  },
10465
10483
  setup(e) {
10466
- const n = e, { isMobile: t, isDesktop: l } = De(), r = !!(Ce(wo, null) && Ce(go, null)), i = r ? Ut() : void 0, o = y(
10484
+ const n = e, { isMobile: t, isDesktop: l } = De(), r = !!(Ce(Co, null) && Ce(bo, null)), i = r ? Ut() : void 0, o = y(
10467
10485
  () => i?.blades.value.some((S) => i.isMaximized(S.id)) ?? !1
10468
10486
  );
10469
10487
  Ze("vc-app").debug("Init vc-app");
10470
10488
  const d = Ht(), u = d.query.EmbeddedMode === "true", v = N(null);
10471
10489
  ie(
10472
10490
  () => d.fullPath,
10473
- () => Go(() => v.value)
10491
+ () => qo(() => v.value)
10474
10492
  );
10475
10493
  const b = N();
10476
- Be(Eo, b);
10494
+ Be(So, b);
10477
10495
  const g = hf();
10478
- As();
10479
- const { isAppReady: m, isAuthenticated: h, appsList: f, switchApp: w } = yy(n), { handleMenuItemClick: _, openRoot: A } = gy(), I = Ce(ds), P = Ce(ko, void 0), V = Ce("aiAgentConfig", void 0), L = Ce("aiAgentAddGlobalToolbarButton", !0), M = Ce(vs, N(!1));
10496
+ Ts();
10497
+ const { isAppReady: m, isAuthenticated: h, appsList: f, switchApp: w } = yy(n), { handleMenuItemClick: _, openRoot: A } = gy(), I = Ce(vs), P = Ce(Eo, void 0), V = Ce("aiAgentConfig", void 0), L = Ce("aiAgentAddGlobalToolbarButton", !0), M = Ce(fs, N(!1));
10480
10498
  fy({
10481
10499
  isEmbedded: u,
10482
10500
  internalRoutes: I,
@@ -10570,7 +10588,7 @@ const wy = { class: "vc-app__main-content" }, F$ = /* @__PURE__ */ Y({
10570
10588
  tabindex: "-1"
10571
10589
  }, [
10572
10590
  a(r) ? (s(), B(a(Vu), { key: 0 })) : O("", !0),
10573
- a(V)?.url ? (s(), B(a(Ps), { key: 1 })) : O("", !0)
10591
+ a(V)?.url ? (s(), B(a(Vs), { key: 1 })) : O("", !0)
10574
10592
  ], 512)) : O("", !0)
10575
10593
  ]),
10576
10594
  R(a(ju))
@@ -10583,7 +10601,7 @@ const wy = { class: "vc-app__main-content" }, F$ = /* @__PURE__ */ Y({
10583
10601
  }
10584
10602
  });
10585
10603
  function U$(e, n, t) {
10586
- const { menuBadges: l } = Ro();
10604
+ const { menuBadges: l } = Ao();
10587
10605
  return y(() => {
10588
10606
  let r = Ne(e);
10589
10607
  const i = Ne(n), o = Ne(t);
@@ -10616,7 +10634,7 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
10616
10634
  expanded: {}
10617
10635
  },
10618
10636
  setup(e) {
10619
- const { isMobile: n, isDesktop: t } = De(), l = Ce(Eo, void 0);
10637
+ const { isMobile: n, isDesktop: t } = De(), l = Ce(So, void 0);
10620
10638
  return (r, i) => a(l) ? (s(), B(bt, {
10621
10639
  key: 0,
10622
10640
  to: a(l)
@@ -10638,7 +10656,7 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
10638
10656
  }
10639
10657
  }), _y = {
10640
10658
  class: /* @__PURE__ */ Q(["app-bar-button__button-container"])
10641
- }, ky = { class: "app-bar-button__button-wrap" }, Qa = /* @__PURE__ */ Y({
10659
+ }, ky = { class: "app-bar-button__button-wrap" }, Ja = /* @__PURE__ */ Y({
10642
10660
  __name: "AppBarWidgetItem",
10643
10661
  props: {
10644
10662
  title: {},
@@ -10715,7 +10733,7 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
10715
10733
  key: i.id,
10716
10734
  class: "vc-app-toolbar-menu__item"
10717
10735
  }, [
10718
- i.component ? (s(), B(Qa, {
10736
+ i.component ? (s(), B(Ja, {
10719
10737
  key: 0,
10720
10738
  "widget-id": i.id,
10721
10739
  onToggle: (o) => i.onClick && i.onClick()
@@ -10737,7 +10755,7 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
10737
10755
  ])
10738
10756
  ]),
10739
10757
  _: 2
10740
- }, 1032, ["widget-id", "onToggle"])) : i.onClick ? (s(), B(Qa, {
10758
+ }, 1032, ["widget-id", "onToggle"])) : i.onClick ? (s(), B(Ja, {
10741
10759
  key: 1,
10742
10760
  "widget-id": i.id,
10743
10761
  onToggle: i.onClick
@@ -10917,7 +10935,7 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
10917
10935
  if (L.startsWith("#"))
10918
10936
  M = L;
10919
10937
  else {
10920
- const D = $o(L);
10938
+ const D = Ro(L);
10921
10939
  D && (M = D);
10922
10940
  }
10923
10941
  l("update:model-value", {
@@ -11117,7 +11135,7 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
11117
11135
  placeholder: f.value.placeholder,
11118
11136
  disabled: e.disabled,
11119
11137
  "current-language": e.currentLanguage
11120
- }), null, 16, ["modelValue", "error-message", "label", "required", "placeholder", "disabled", "current-language"])) : f.value.valueType === "Boolean" ? (s(), B(a(mi), Me({ key: 10 }, L.$attrs, {
11138
+ }), null, 16, ["modelValue", "error-message", "label", "required", "placeholder", "disabled", "current-language"])) : f.value.valueType === "Boolean" ? (s(), B(a(pi), Me({ key: 10 }, L.$attrs, {
11121
11139
  modelValue: w.value,
11122
11140
  "onUpdate:modelValue": M[10] || (M[10] = (E) => w.value = E),
11123
11141
  "error-message": D,
@@ -11125,7 +11143,7 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
11125
11143
  disabled: e.disabled,
11126
11144
  name: f.value.name,
11127
11145
  label: f.value.displayName
11128
- }), null, 16, ["modelValue", "error-message", "required", "disabled", "name", "label"])) : f.value.valueType === "Measure" ? (s(), B(a(Ts), Me({ key: 11 }, L.$attrs, {
11146
+ }), null, 16, ["modelValue", "error-message", "required", "disabled", "name", "label"])) : f.value.valueType === "Measure" ? (s(), B(a(Os), Me({ key: 11 }, L.$attrs, {
11129
11147
  modelValue: w.value,
11130
11148
  "onUpdate:modelValue": M[11] || (M[11] = (E) => w.value = E),
11131
11149
  option: m.value,
@@ -11261,7 +11279,7 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
11261
11279
  _: 1
11262
11280
  }, 8, ["label", "name", "model-value", "rules"]));
11263
11281
  }
11264
- }), Ja = /* @__PURE__ */ Y({
11282
+ }), Za = /* @__PURE__ */ Y({
11265
11283
  __name: "vc-gallery-item",
11266
11284
  props: {
11267
11285
  image: { default: () => ({}) },
@@ -11278,7 +11296,7 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
11278
11296
  edit: !n.readonly && n.actions?.edit !== !1,
11279
11297
  remove: !n.readonly && n.actions?.remove !== !1
11280
11298
  }));
11281
- return (r, i) => (s(), B(a(gi), {
11299
+ return (r, i) => (s(), B(a(bi), {
11282
11300
  src: e.image.url,
11283
11301
  alt: e.image.altText || e.image.name || "",
11284
11302
  name: e.image.name,
@@ -11318,7 +11336,7 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
11318
11336
  },
11319
11337
  emits: ["swiper-init", "swiper-resize", "slides-updated", "sortable-container"],
11320
11338
  setup(e, { emit: n }) {
11321
- const { t } = Pe({ useScope: "global" }), l = e, r = n, i = [Bo, vc, Do, fc], o = N(), c = N(), d = N();
11339
+ const { t } = Pe({ useScope: "global" }), l = e, r = n, i = [Do, fc, Po, mc], o = N(), c = N(), d = N();
11322
11340
  function u(m) {
11323
11341
  d.value = m, o.value && c.value && (m.params.navigation = {
11324
11342
  ...m.params.navigation,
@@ -11423,7 +11441,7 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
11423
11441
  },
11424
11442
  emits: ["close"],
11425
11443
  setup(e, { emit: n }) {
11426
- const t = n, l = e, { t: r } = Pe({ useScope: "global" }), { isMobile: i } = De(), o = N(l.index), c = N(!1), d = [mc], u = [Do], v = N(), b = N(), g = y(() => l.images[o.value]);
11444
+ const t = n, l = e, { t: r } = Pe({ useScope: "global" }), { isMobile: i } = De(), o = N(l.index), c = N(!1), d = [pc], u = [Po], v = N(), b = N(), g = y(() => l.images[o.value]);
11427
11445
  ie(
11428
11446
  () => l.index,
11429
11447
  (M) => {
@@ -11465,7 +11483,7 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
11465
11483
  function V(M) {
11466
11484
  M.key === "Escape" && (M.preventDefault(), t("close"));
11467
11485
  }
11468
- const L = bc(document.body);
11486
+ const L = hc(document.body);
11469
11487
  return tt(() => {
11470
11488
  window.addEventListener("keydown", V), L.value = !0;
11471
11489
  }), We(() => {
@@ -11604,8 +11622,8 @@ const Cy = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, z$
11604
11622
  })) : O("", !0);
11605
11623
  }
11606
11624
  });
11607
- function Ei(e) {
11608
- const n = N(0), { open: t } = ti(
11625
+ function Si(e) {
11626
+ const n = N(0), { open: t } = li(
11609
11627
  y(() => ({
11610
11628
  component: nw,
11611
11629
  props: {
@@ -11638,7 +11656,7 @@ const aw = { class: "vc-image-upload" }, ow = {
11638
11656
  },
11639
11657
  emits: ["upload", "remove"],
11640
11658
  setup(e, { emit: n }) {
11641
- const t = e, l = n, { t: r } = Pe({ useScope: "global" }), i = y(() => t.image ? [t.image] : []), o = Ei(i), c = y(() => ({
11659
+ const t = e, l = n, { t: r } = Pe({ useScope: "global" }), i = y(() => t.image ? [t.image] : []), o = Si(i), c = y(() => ({
11642
11660
  preview: t.previewable,
11643
11661
  remove: t.removable && !t.disabled
11644
11662
  })), d = y(
@@ -11648,7 +11666,7 @@ const aw = { class: "vc-image-upload" }, ow = {
11648
11666
  t.previewable && t.image && o.openPreview(0);
11649
11667
  }
11650
11668
  return (v, b) => (s(), p("div", aw, [
11651
- e.image?.url ? (s(), B(a(gi), {
11669
+ e.image?.url ? (s(), B(a(bi), {
11652
11670
  key: 0,
11653
11671
  src: e.image.url,
11654
11672
  alt: e.image.altText || e.image.name || "",
@@ -11664,7 +11682,7 @@ const aw = { class: "vc-image-upload" }, ow = {
11664
11682
  ]),
11665
11683
  _: 1
11666
11684
  })
11667
- ])) : (s(), B(a(vi), {
11685
+ ])) : (s(), B(a(fi), {
11668
11686
  key: 1,
11669
11687
  icon: e.icon,
11670
11688
  multiple: !1,
@@ -11698,7 +11716,7 @@ function sw(e, n) {
11698
11716
  document.removeEventListener("pointermove", u, !0), c && (clearInterval(c), c = null);
11699
11717
  }
11700
11718
  function g(h) {
11701
- m(), o = Fo.create(h, {
11719
+ m(), o = Uo.create(h, {
11702
11720
  handle: ".vc-gallery-item__drag-handle",
11703
11721
  animation: 250,
11704
11722
  ghostClass: "vc-gallery__item--ghost",
@@ -11885,7 +11903,7 @@ const vw = {
11885
11903
  }
11886
11904
  }), m = uw(u, {
11887
11905
  onUpload: (E, S) => l("upload", E, S)
11888
- }), h = Ei(u), f = { sm: "128x128", md: "216x216", lg: "348x348" }, w = y(() => t.thumbnailSize ?? f[t.size]), _ = dw({
11906
+ }), h = Si(u), f = { sm: "128x128", md: "216x216", lg: "348x348" }, w = y(() => t.thumbnailSize ?? f[t.size]), _ = dw({
11889
11907
  imageCount: y(() => u.value.length)
11890
11908
  }), A = N();
11891
11909
  function I() {
@@ -12018,7 +12036,7 @@ const vw = {
12018
12036
  remove: () => l("remove", k)
12019
12037
  }
12020
12038
  }, () => [
12021
- R(Ja, {
12039
+ R(Za, {
12022
12040
  image: k,
12023
12041
  readonly: e.disabled,
12024
12042
  actions: e.itemActions,
@@ -12052,7 +12070,7 @@ const vw = {
12052
12070
  remove: () => l("remove", k)
12053
12071
  }
12054
12072
  }, () => [
12055
- R(Ja, {
12073
+ R(Za, {
12056
12074
  image: k,
12057
12075
  readonly: e.disabled,
12058
12076
  actions: e.itemActions,
@@ -12091,7 +12109,7 @@ const vw = {
12091
12109
  ])) : O("", !0)
12092
12110
  ], 2)) : O("", !0),
12093
12111
  !v.value && !e.disabled ? (s(), p("div", ww, [
12094
- R(a(vi), {
12112
+ R(a(fi), {
12095
12113
  icon: e.uploadIcon,
12096
12114
  multiple: e.multiple,
12097
12115
  rules: e.rules,
@@ -12153,7 +12171,7 @@ function $w(e, n) {
12153
12171
  z(e.$slots, "default")
12154
12172
  ]);
12155
12173
  }
12156
- const Rw = /* @__PURE__ */ To(Ew, [["render", $w]]), Aw = ["data-items-count"], Tw = {
12174
+ const Rw = /* @__PURE__ */ Oo(Ew, [["render", $w]]), Aw = ["data-items-count"], Tw = {
12157
12175
  key: "__empty__",
12158
12176
  class: "vc-table-composition__body-state"
12159
12177
  }, Ow = { class: "vc-table-composition__empty" }, Lw = {
@@ -12212,9 +12230,9 @@ const Rw = /* @__PURE__ */ To(Ew, [["render", $w]]), Aw = ["data-items-count"],
12212
12230
  emits: ["click", "hover", "leave", "space-press"],
12213
12231
  setup(e, { emit: n }) {
12214
12232
  const t = e, l = n, r = Ce(zl, null), i = Ce(
12215
- Oo,
12233
+ Lo,
12216
12234
  y(() => 0)
12217
- ), o = Ce(Lo, N(!1)), c = y(() => !!t.clickable), d = y(() => t.variant === "header" ? "columnheader" : "cell"), u = (m) => {
12235
+ ), o = Ce(Mo, N(!1)), c = y(() => !!t.clickable), d = y(() => t.variant === "header" ? "columnheader" : "cell"), u = (m) => {
12218
12236
  l("click", m);
12219
12237
  }, v = (m) => {
12220
12238
  c.value && l("space-press", m);
@@ -12305,7 +12323,7 @@ const Rw = /* @__PURE__ */ To(Ew, [["render", $w]]), Aw = ["data-items-count"],
12305
12323
  }, Vw = {
12306
12324
  key: 0,
12307
12325
  class: "vc-table-composition__head-sort-badge"
12308
- }, Za = /* @__PURE__ */ Y({
12326
+ }, eo = /* @__PURE__ */ Y({
12309
12327
  __name: "TableHead",
12310
12328
  props: {
12311
12329
  sortable: { type: Boolean },
@@ -12455,13 +12473,13 @@ function Ww(e, n) {
12455
12473
  z(e.$slots, "default")
12456
12474
  ]);
12457
12475
  }
12458
- const Gw = /* @__PURE__ */ To(zw, [["render", Ww]]), qw = { class: "vc-table-composition__empty-state" }, Kw = { class: "vc-table-composition__empty-content" }, Yw = { class: "vc-table-composition__empty-title" }, jw = {
12476
+ const Gw = /* @__PURE__ */ Oo(zw, [["render", Ww]]), qw = { class: "vc-table-composition__empty-state" }, Kw = { class: "vc-table-composition__empty-content" }, Yw = { class: "vc-table-composition__empty-title" }, jw = {
12459
12477
  key: 0,
12460
12478
  class: "vc-table-composition__empty-description"
12461
12479
  }, Xw = {
12462
12480
  key: 1,
12463
12481
  class: "vc-table-composition__empty-action"
12464
- }, Si = /* @__PURE__ */ Y({
12482
+ }, $i = /* @__PURE__ */ Y({
12465
12483
  __name: "TableEmpty",
12466
12484
  props: {
12467
12485
  icon: {},
@@ -13222,7 +13240,7 @@ const Gw = /* @__PURE__ */ To(zw, [["render", Ww]]), qw = { class: "vc-table-com
13222
13240
  }), x0 = { class: "vc-global-filters-button__label" }, I0 = {
13223
13241
  key: 0,
13224
13242
  class: "vc-global-filters-button__badge"
13225
- }, $i = /* @__PURE__ */ Y({
13243
+ }, Ri = /* @__PURE__ */ Y({
13226
13244
  __name: "GlobalFiltersButton",
13227
13245
  props: {
13228
13246
  activeCount: { default: 0 },
@@ -13249,16 +13267,16 @@ const Gw = /* @__PURE__ */ To(zw, [["render", Ww]]), qw = { class: "vc-table-com
13249
13267
  function el(e) {
13250
13268
  return typeof e == "object" && "options" in e;
13251
13269
  }
13252
- function eo(e) {
13270
+ function to(e) {
13253
13271
  return typeof e == "object" && "options" in e && "field" in e;
13254
13272
  }
13255
13273
  function Tn(e) {
13256
13274
  return typeof e == "object" && "range" in e;
13257
13275
  }
13258
- function Ri() {
13276
+ function Ai() {
13259
13277
  return {
13260
13278
  getFilterType: (o) => o ? o === !0 || typeof o == "string" ? "text" : Tn(o) ? "dateRange" : el(o) ? "select" : "none" : "none",
13261
- getFilterField: (o, c) => !c || c === !0 ? o : typeof c == "string" ? c : eo(c) ? c.field : (el(c), o),
13279
+ getFilterField: (o, c) => !c || c === !0 ? o : typeof c == "string" ? c : to(c) ? c.field : (el(c), o),
13262
13280
  getRangeFields: (o) => {
13263
13281
  if (o && Tn(o))
13264
13282
  return o.range;
@@ -13271,7 +13289,7 @@ function Ri() {
13271
13289
  hasFilter: (o) => o != null,
13272
13290
  // Export type guards for external use
13273
13291
  isSelectFilter: el,
13274
- isSelectFilterWithField: eo,
13292
+ isSelectFilterWithField: to,
13275
13293
  isDateRangeFilter: Tn
13276
13294
  };
13277
13295
  }
@@ -13291,7 +13309,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
13291
13309
  },
13292
13310
  emits: ["update:modelValue", "update:show", "apply", "clear"],
13293
13311
  setup(e, { emit: n }) {
13294
- const t = e, l = n, { isMobile: r } = De(), { getFilterType: i, getFilterOptions: o, isMultipleSelect: c, getRangeFields: d } = Ri(), u = y(() => {
13312
+ const t = e, l = n, { isMobile: r } = De(), { getFilterType: i, getFilterOptions: o, isMultipleSelect: c, getRangeFields: d } = Ai(), u = y(() => {
13295
13313
  const M = {};
13296
13314
  for (const D of t.filters)
13297
13315
  M[D.id] = i(D.filter);
@@ -13628,7 +13646,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
13628
13646
  }), e1 = {
13629
13647
  key: 1,
13630
13648
  class: "vc-table-cell-default"
13631
- }, to = /* @__PURE__ */ Y({
13649
+ }, lo = /* @__PURE__ */ Y({
13632
13650
  __name: "CellDefault",
13633
13651
  props: {
13634
13652
  value: {},
@@ -13716,7 +13734,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
13716
13734
  "validate-on-mount": e.validateOnMount
13717
13735
  }, {
13718
13736
  default: T(({ errors: m, errorMessage: h }) => [
13719
- R(Os, {
13737
+ R(Ls, {
13720
13738
  "model-value": e.value,
13721
13739
  options: [],
13722
13740
  option: e.currency || "USD",
@@ -13822,7 +13840,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
13822
13840
  const n = e, { t } = Pe({ useScope: "global" }), l = window.navigator.language, r = y(() => {
13823
13841
  if (!n.value) return "";
13824
13842
  if (n.format)
13825
- return Uc(n.value, n.format, l);
13843
+ return zc(n.value, n.format, l);
13826
13844
  const i = n.value instanceof Date ? n.value : new Date(n.value), o = n.variant || "date";
13827
13845
  return o === "time" ? i.toLocaleTimeString(l) : o === "date-time" ? i.toLocaleString(l) : i.toLocaleDateString(l);
13828
13846
  });
@@ -13837,7 +13855,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
13837
13855
  value: {}
13838
13856
  },
13839
13857
  setup(e) {
13840
- const n = e, { t } = Pe({ useScope: "global" }), l = window.navigator.language, r = y(() => n.value ? (n.value instanceof Date ? n.value : new Date(n.value)).toLocaleString(l) : ""), i = y(() => n.value ? Yo(n.value) : "");
13858
+ const n = e, { t } = Pe({ useScope: "global" }), l = window.navigator.language, r = y(() => n.value ? (n.value instanceof Date ? n.value : new Date(n.value)).toLocaleString(l) : ""), i = y(() => n.value ? jo(n.value) : "");
13841
13859
  return (o, c) => e.value ? (s(), p("span", {
13842
13860
  key: 0,
13843
13861
  class: "vc-table-cell-date-ago",
@@ -13851,7 +13869,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
13851
13869
  emptyIcon: {}
13852
13870
  },
13853
13871
  setup(e) {
13854
- return (n, t) => (s(), B(a(ni), {
13872
+ return (n, t) => (s(), B(a(ai), {
13855
13873
  class: "vc-table-cell-image",
13856
13874
  bordered: !0,
13857
13875
  size: "s",
@@ -13868,7 +13886,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
13868
13886
  value: {}
13869
13887
  },
13870
13888
  setup(e) {
13871
- return (n, t) => (s(), B(a(oi), { class: "vc-table-cell-status" }, {
13889
+ return (n, t) => (s(), B(a(ii), { class: "vc-table-cell-status" }, {
13872
13890
  default: T(() => [
13873
13891
  de(F(e.value), 1)
13874
13892
  ]),
@@ -13894,7 +13912,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
13894
13912
  value: {}
13895
13913
  },
13896
13914
  setup(e) {
13897
- return (n, t) => (s(), B(a(ai), { class: "vc-table-cell-link" }, {
13915
+ return (n, t) => (s(), B(a(oi), { class: "vc-table-cell-link" }, {
13898
13916
  default: T(() => [
13899
13917
  de(F(e.value), 1)
13900
13918
  ]),
@@ -13954,13 +13972,13 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
13954
13972
  }
13955
13973
  return t.set(o, c), c;
13956
13974
  }
13957
- const r = y(() => n.value ? l(String(n.value)) : ""), i = y(() => $c(r.value, n.maxLength || 30));
13975
+ const r = y(() => n.value ? l(String(n.value)) : ""), i = y(() => Rc(r.value, n.maxLength || 30));
13958
13976
  return (o, c) => (s(), p("div", {
13959
13977
  class: "vc-table-cell-html",
13960
13978
  innerHTML: i.value
13961
13979
  }, null, 8, b1));
13962
13980
  }
13963
- }), Ai = /* @__PURE__ */ Y({
13981
+ }), Ti = /* @__PURE__ */ Y({
13964
13982
  __name: "DynamicCellRenderer",
13965
13983
  props: {
13966
13984
  type: {},
@@ -13978,9 +13996,9 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
13978
13996
  },
13979
13997
  emits: ["update", "blur"],
13980
13998
  setup(e) {
13981
- const { register: n, has: t, get: l } = Ls();
13982
- t("text") || n({ type: "text", component: to, config: { editable: !0 } }), t("number") || n({ type: "number", component: i1, config: { editable: !0 } }), t("money") || n({ type: "money", component: n1, config: { editable: !0 } }), t("date") || n({ type: "date", component: Ln, config: { editable: !1 } }), t("time") || n({ type: "time", component: Ln, config: { editable: !1 } }), t("datetime") || n({ type: "datetime", component: Ln, config: { editable: !1 } }), t("date-ago") || n({ type: "date-ago", component: d1, config: { editable: !1 } }), t("image") || n({ type: "image", component: v1, config: { editable: !1 } }), t("status") || n({ type: "status", component: f1, config: { editable: !1 } }), t("status-icon") || n({ type: "status-icon", component: p1, config: { editable: !1 } }), t("link") || n({ type: "link", component: g1, config: { editable: !1 } }), t("html") || n({ type: "html", component: y1, config: { editable: !1 } });
13983
- const r = e, i = y(() => l(r.type)?.component || to), o = y(() => {
13999
+ const { register: n, has: t, get: l } = Ms();
14000
+ t("text") || n({ type: "text", component: lo, config: { editable: !0 } }), t("number") || n({ type: "number", component: i1, config: { editable: !0 } }), t("money") || n({ type: "money", component: n1, config: { editable: !0 } }), t("date") || n({ type: "date", component: Ln, config: { editable: !1 } }), t("time") || n({ type: "time", component: Ln, config: { editable: !1 } }), t("datetime") || n({ type: "datetime", component: Ln, config: { editable: !1 } }), t("date-ago") || n({ type: "date-ago", component: d1, config: { editable: !1 } }), t("image") || n({ type: "image", component: v1, config: { editable: !1 } }), t("status") || n({ type: "status", component: f1, config: { editable: !1 } }), t("status-icon") || n({ type: "status-icon", component: p1, config: { editable: !1 } }), t("link") || n({ type: "link", component: g1, config: { editable: !1 } }), t("html") || n({ type: "html", component: y1, config: { editable: !1 } });
14001
+ const r = e, i = y(() => l(r.type)?.component || lo), o = y(() => {
13984
14002
  const d = l(r.type)?.config?.editable ?? !1, u = {
13985
14003
  value: r.value
13986
14004
  };
@@ -14136,7 +14154,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
14136
14154
  index: e.index
14137
14155
  }
14138
14156
  }, null, 8, ["slot-fn", "scope"])
14139
- ])) : (s(), B(Ai, {
14157
+ ])) : (s(), B(Ti, {
14140
14158
  key: 6,
14141
14159
  type: e.column.props.type || "text",
14142
14160
  value: g.value,
@@ -14469,7 +14487,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
14469
14487
  e.items.length === 0 && !e.loading ? (s(), p("div", I1, [
14470
14488
  C("div", N1, [
14471
14489
  z(S.$slots, "empty", {}, () => [
14472
- R(Si, {
14490
+ R($i, {
14473
14491
  icon: e.emptyIcon,
14474
14492
  title: e.emptyTitle,
14475
14493
  description: e.emptyDescription,
@@ -14562,7 +14580,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
14562
14580
  const i = t.value;
14563
14581
  l.value = !!i && i.scrollWidth > i.clientWidth;
14564
14582
  };
14565
- return Vo(t, r), ie(
14583
+ return Fo(t, r), ie(
14566
14584
  () => [n.title, n.required, n.isEditing],
14567
14585
  () => requestAnimationFrame(r)
14568
14586
  ), (i, o) => (s(), B(a(st), {
@@ -14651,7 +14669,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
14651
14669
  "actions-position": e.actionsPosition
14652
14670
  }, Ie({
14653
14671
  default: T(() => [
14654
- e.showSelectionCell ? (s(), B(Za, {
14672
+ e.showSelectionCell ? (s(), B(eo, {
14655
14673
  key: 0,
14656
14674
  class: "vc-data-table__selection-cell"
14657
14675
  }, {
@@ -14666,7 +14684,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
14666
14684
  ]),
14667
14685
  _: 1
14668
14686
  })) : O("", !0),
14669
- (s(!0), p(J, null, ve(e.columns, (f) => (s(), B(Za, {
14687
+ (s(!0), p(J, null, ve(e.columns, (f) => (s(), B(eo, {
14670
14688
  ref_for: !0,
14671
14689
  ref: (w) => e.setHeaderRef(f.props.id, w),
14672
14690
  key: f.props.id,
@@ -14831,7 +14849,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
14831
14849
  field: t.value,
14832
14850
  index: e.index
14833
14851
  }
14834
- }, null, 8, ["slot-fn", "scope"])) : (s(), B(Ai, {
14852
+ }, null, 8, ["slot-fn", "scope"])) : (s(), B(Ti, {
14835
14853
  key: 1,
14836
14854
  type: e.config.type || "text",
14837
14855
  value: l.value,
@@ -14908,7 +14926,7 @@ const N0 = { class: "vc-global-filters-panel__content" }, B0 = { class: "vc-glob
14908
14926
  _: 1
14909
14927
  }, 8, ["model-value", "title"]));
14910
14928
  }
14911
- }), Ti = Symbol();
14929
+ }), Oi = Symbol();
14912
14930
  function Y1() {
14913
14931
  const e = N(null);
14914
14932
  function n(l) {
@@ -14918,10 +14936,10 @@ function Y1() {
14918
14936
  activeSwipeId: e,
14919
14937
  setActiveSwipe: n
14920
14938
  };
14921
- return Be(Ti, t), t;
14939
+ return Be(Oi, t), t;
14922
14940
  }
14923
14941
  function j1() {
14924
- const e = Ce(Ti);
14942
+ const e = Ce(Oi);
14925
14943
  if (!e)
14926
14944
  throw new Error("useTableSwipe must be used within a provider");
14927
14945
  return e;
@@ -14938,7 +14956,7 @@ const X1 = {
14938
14956
  }, eC = {
14939
14957
  key: 2,
14940
14958
  class: "vc-data-table-mobile-card__statuses"
14941
- }, tC = ["aria-expanded", "aria-label"], lC = { class: "vc-data-table-mobile-card__action-title" }, nC = ["disabled", "onClick"], aC = { class: "vc-data-table-mobile-card__action-title" }, lo = 8, oC = 0.08, iC = 0.7, sC = 1, rC = /* @__PURE__ */ Y({
14959
+ }, tC = ["aria-expanded", "aria-label"], lC = { class: "vc-data-table-mobile-card__action-title" }, nC = ["disabled", "onClick"], aC = { class: "vc-data-table-mobile-card__action-title" }, no = 8, oC = 0.08, iC = 0.7, sC = 1, rC = /* @__PURE__ */ Y({
14942
14960
  __name: "DataTableMobileCard",
14943
14961
  props: {
14944
14962
  item: {},
@@ -15007,7 +15025,7 @@ const X1 = {
15007
15025
  const se = re.touches[0], ee = se.clientX, fe = ee - _.value, oe = se.clientY - A.value;
15008
15026
  if (M.value === null) {
15009
15027
  const He = Math.abs(fe), nt = Math.abs(oe);
15010
- if (He >= lo || nt >= lo)
15028
+ if (He >= no || nt >= no)
15011
15029
  M.value = He > nt ? "horizontal" : "vertical";
15012
15030
  else
15013
15031
  return;
@@ -15282,7 +15300,7 @@ const X1 = {
15282
15300
  [a(dl), ae]
15283
15301
  ]);
15284
15302
  }
15285
- }), nl = ["top-left", "top-right", "bottom-left", "bottom-right"], Oi = 4, cC = /* @__PURE__ */ new Set(["status", "status-icon"]), uC = /* @__PURE__ */ new Set(["text", "link", "html"]);
15303
+ }), nl = ["top-left", "top-right", "bottom-left", "bottom-right"], Li = 4, cC = /* @__PURE__ */ new Set(["status", "status-icon"]), uC = /* @__PURE__ */ new Set(["text", "link", "html"]);
15286
15304
  function dC(e, n) {
15287
15305
  switch (e) {
15288
15306
  case "image":
@@ -15324,7 +15342,7 @@ function fC(e) {
15324
15342
  o && n.push(Rl(o, "top-left", !0)), l && n.push(Rl(l, "image"));
15325
15343
  for (const d of r)
15326
15344
  n.push(Rl(d, "status"));
15327
- const c = i.filter((d) => d !== o).slice(0, Oi);
15345
+ const c = i.filter((d) => d !== o).slice(0, Li);
15328
15346
  for (let d = 0; d < c.length; d++)
15329
15347
  n.push(Rl(c[d], nl[d]));
15330
15348
  return n;
@@ -15384,7 +15402,7 @@ function mC(e) {
15384
15402
  position: h[f]
15385
15403
  });
15386
15404
  }
15387
- return i.fields = m.slice(0, Oi), i.fields.sort((f, w) => {
15405
+ return i.fields = m.slice(0, Li), i.fields.sort((f, w) => {
15388
15406
  const _ = nl.indexOf(f.position), A = nl.indexOf(w.position);
15389
15407
  return _ - A;
15390
15408
  }), i;
@@ -15679,7 +15697,7 @@ function $C(e) {
15679
15697
  }
15680
15698
  const r = t.map((c) => c.spec.weight * n), i = t.map((c, d) => Math.max(c.spec.minPx, Math.min(r[d], c.spec.maxPx)));
15681
15699
  let o = n - i.reduce((c, d) => c + d, 0);
15682
- return l === "gap" && o >= 0 ? no(t, i, o, n) : (o > 0 && (RC(t, i, o), o = n - i.reduce((c, d) => c + d, 0)), o < 0 && (AC(t, i, o), o = n - i.reduce((c, d) => c + d, 0)), o < -0.5 && (TC(t, i, n), o = 0), no(t, i, 0, n));
15700
+ return l === "gap" && o >= 0 ? ao(t, i, o, n) : (o > 0 && (RC(t, i, o), o = n - i.reduce((c, d) => c + d, 0)), o < 0 && (AC(t, i, o), o = n - i.reduce((c, d) => c + d, 0)), o < -0.5 && (TC(t, i, n), o = 0), ao(t, i, 0, n));
15683
15701
  }
15684
15702
  function RC(e, n, t) {
15685
15703
  let l = t;
@@ -15737,7 +15755,7 @@ function TC(e, n, t) {
15737
15755
  n[r] = Math.max(0, i * t);
15738
15756
  }
15739
15757
  }
15740
- function no(e, n, t, l) {
15758
+ function ao(e, n, t, l) {
15741
15759
  const r = {}, i = n.map((h) => Math.floor(h)), o = n.map((h, f) => h - i[f]), c = Math.floor(t), d = i.reduce((h, f) => h + f, 0) + c;
15742
15760
  let u = l - d;
15743
15761
  const v = n.map((h, f) => f);
@@ -15773,9 +15791,9 @@ function Al(e, n) {
15773
15791
  const l = t.match(/^(\d+(?:\.\d+)?)(px)?$/);
15774
15792
  return l ? { type: "px", desiredPx: parseFloat(l[1]) } : (OC(e), { type: "auto", desiredPx: null });
15775
15793
  }
15776
- const ao = /* @__PURE__ */ new Set();
15794
+ const oo = /* @__PURE__ */ new Set();
15777
15795
  function OC(e) {
15778
- typeof process > "u" || process.env?.NODE_ENV === "production" || ao.has(e) || (ao.add(e), console.warn(
15796
+ typeof process > "u" || process.env?.NODE_ENV === "production" || oo.has(e) || (oo.add(e), console.warn(
15779
15797
  `[VcDataTable] Unsupported width value "${e}". Only px (number, "200", "200px") and % ("20%") are supported. Treating as auto.`
15780
15798
  ));
15781
15799
  }
@@ -15989,7 +16007,7 @@ function IC(e, n, t) {
15989
16007
  o && (o.destroy(), o = null);
15990
16008
  }
15991
16009
  function d(u) {
15992
- c(), o = Fo.create(u, {
16010
+ c(), o = Uo.create(u, {
15993
16011
  handle: t.handle,
15994
16012
  animation: 200,
15995
16013
  forceFallback: !0,
@@ -16037,7 +16055,7 @@ function IC(e, n, t) {
16037
16055
  }
16038
16056
  function In(e) {
16039
16057
  try {
16040
- return structuredClone(po(e));
16058
+ return structuredClone(go(e));
16041
16059
  } catch {
16042
16060
  return JSON.parse(
16043
16061
  JSON.stringify(e, (n, t) => t instanceof Date ? { __type: "Date", value: t.toISOString() } : t),
@@ -16048,7 +16066,7 @@ function In(e) {
16048
16066
  function NC(e) {
16049
16067
  const { items: n, rules: t, onCellUpdate: l, onSave: r, onCancel: i } = e, o = N(!1);
16050
16068
  let c = [];
16051
- const d = Ce(Qr, void 0), u = d ? void 0 : No(), v = d ?? u, { meta: b, setFieldValue: g, errors: m, validate: h } = v, f = () => {
16069
+ const d = Ce(Jr, void 0), u = d ? void 0 : Bo(), v = d ?? u, { meta: b, setFieldValue: g, errors: m, validate: h } = v, f = () => {
16052
16070
  u && u.resetForm();
16053
16071
  }, w = N(/* @__PURE__ */ new Map()), _ = N(/* @__PURE__ */ new Set()), A = (K) => {
16054
16072
  if (_.value.has(K)) {
@@ -16402,9 +16420,9 @@ function PC(e) {
16402
16420
  internalMultiSortMeta: u
16403
16421
  };
16404
16422
  }
16405
- function oo(e) {
16423
+ function io(e) {
16406
16424
  try {
16407
- return structuredClone(po(e));
16425
+ return structuredClone(go(e));
16408
16426
  } catch {
16409
16427
  return JSON.parse(
16410
16428
  JSON.stringify(e, (n, t) => t instanceof Date ? { __type: "Date", value: t.toISOString() } : t),
@@ -16436,7 +16454,7 @@ function VC(e) {
16436
16454
  return P ? P.fields.includes(A) || P.fields.push(A) : i.value = {
16437
16455
  ...i.value,
16438
16456
  [I]: {
16439
- data: oo(_),
16457
+ data: io(_),
16440
16458
  fields: [A]
16441
16459
  }
16442
16460
  }, { data: _, field: A, index: I };
@@ -16490,7 +16508,7 @@ function VC(e) {
16490
16508
  if (n.value !== "row")
16491
16509
  return { data: _, index: A };
16492
16510
  const I = l(_, A);
16493
- return c.value.set(I, oo(_)), o.value = [...o.value, _], { data: _, index: A };
16511
+ return c.value.set(I, io(_)), o.value = [...o.value, _], { data: _, index: A };
16494
16512
  },
16495
16513
  saveRowEdit: (_, A) => {
16496
16514
  if (n.value !== "row")
@@ -17126,7 +17144,7 @@ function jC(e) {
17126
17144
  disabled: y(() => !me.value),
17127
17145
  handle: YC,
17128
17146
  onReorder: (X) => t("row-reorder", X)
17129
- }), W = y(() => l.value.find((X) => X.props.expander === !0) || null), ke = y(() => W.value !== null), H = Ri(), {
17147
+ }), W = y(() => l.value.find((X) => X.props.expander === !0) || null), ke = y(() => W.value !== null), H = Ai(), {
17130
17148
  filterValues: ne,
17131
17149
  updateFilter: re,
17132
17150
  updateRangeFilter: se,
@@ -17455,7 +17473,7 @@ const X$ = {
17455
17473
  }, e_ = {
17456
17474
  key: 0,
17457
17475
  class: "vc-data-table__mobile-select-toolbar"
17458
- }, t_ = { class: "vc-data-table__mobile-select-toolbar-text" }, l_ = { class: "vc-data-table__page-info" }, Nn = 37, io = 140, n_ = /* @__PURE__ */ Y({
17476
+ }, t_ = { class: "vc-data-table__mobile-select-toolbar-text" }, l_ = { class: "vc-data-table__page-info" }, Nn = 37, so = 140, n_ = /* @__PURE__ */ Y({
17459
17477
  inheritAttrs: !1,
17460
17478
  __name: "VcDataTable",
17461
17479
  props: {
@@ -17590,7 +17608,7 @@ const X$ = {
17590
17608
  };
17591
17609
  return ce.forEach(_e), be;
17592
17610
  }, k = new XC();
17593
- Be(Ms, k);
17611
+ Be(xs, k);
17594
17612
  const x = N(0);
17595
17613
  k.onUpdate(() => {
17596
17614
  x.value++;
@@ -17687,8 +17705,8 @@ const X$ = {
17687
17705
  handleCancelRowEdit: et,
17688
17706
  handleRowAction: it,
17689
17707
  handleMobileRowClick: Ye,
17690
- handleMobileRowSelect: Bi,
17691
- handleMobileRowAction: Di
17708
+ handleMobileRowSelect: Di,
17709
+ handleMobileRowAction: Pi
17692
17710
  } = jC({
17693
17711
  props: l,
17694
17712
  emit: r,
@@ -17702,7 +17720,7 @@ const X$ = {
17702
17720
  }), Sa = N(null), $a = N(null);
17703
17721
  Xn(() => {
17704
17722
  dn.value = L.value ? $a.value?.listEl : Sa.value?.listEl;
17705
- }), Be(xs, {
17723
+ }), Be(Is, {
17706
17724
  filterValues: fe,
17707
17725
  updateFilter: oe,
17708
17726
  clearFilter: ye,
@@ -17710,14 +17728,14 @@ const X$ = {
17710
17728
  hasActiveFilters: Ae,
17711
17729
  activeFilterCount: He
17712
17730
  }), Be(
17713
- Oo,
17731
+ Lo,
17714
17732
  y(() => se.engineOutput.value.fillerWidth)
17715
- ), Be(Lo, sn);
17733
+ ), Be(Mo, sn);
17716
17734
  const Ra = (ce) => {
17717
17735
  r("pagination-click", ce);
17718
17736
  }, Xt = N(l.searchValue ?? "");
17719
17737
  let Qt = null;
17720
- const Pi = (ce) => {
17738
+ const Vi = (ce) => {
17721
17739
  Xt.value = ce, r("update:searchValue", ce), Qt && clearTimeout(Qt), Qt = setTimeout(() => {
17722
17740
  r("search", ce);
17723
17741
  }, l.searchDebounce ?? 300);
@@ -17728,13 +17746,13 @@ const X$ = {
17728
17746
  ce !== void 0 && ce !== Xt.value && (Xt.value = ce);
17729
17747
  }
17730
17748
  );
17731
- const Vi = (ce) => {
17749
+ const Fi = (ce) => {
17732
17750
  if (!l.infiniteScroll || l.loading) return;
17733
17751
  const be = ce.target, _e = l.infiniteScrollDistance ?? 100;
17734
17752
  be.scrollHeight - be.scrollTop - be.clientHeight < _e && r("load-more");
17735
- }, hn = y(() => l.addRow?.enabled === !0), Aa = y(() => l.addRow?.position ?? "footer"), yn = y(() => l.addRow?.label ?? "Add row"), wn = y(() => l.addRow?.icon ?? "lucide-plus"), Fi = (ce) => {
17736
- }, Ui = () => {
17737
- }, bl = N(!1), hl = N({}), Ta = N(null), zi = y(() => {
17753
+ }, hn = y(() => l.addRow?.enabled === !0), Aa = y(() => l.addRow?.position ?? "footer"), yn = y(() => l.addRow?.label ?? "Add row"), wn = y(() => l.addRow?.icon ?? "lucide-plus"), Ui = (ce) => {
17754
+ }, zi = () => {
17755
+ }, bl = N(!1), hl = N({}), Ta = N(null), Hi = y(() => {
17738
17756
  const ce = Ta.value;
17739
17757
  return ce ? {
17740
17758
  getBoundingClientRect: () => ce.$el?.getBoundingClientRect() ?? new DOMRect(),
@@ -17742,7 +17760,7 @@ const X$ = {
17742
17760
  return ce.$el;
17743
17761
  }
17744
17762
  } : null;
17745
- }), Jt = N(!1), Oa = N(null), Hi = y(() => {
17763
+ }), Jt = N(!1), Oa = N(null), Wi = y(() => {
17746
17764
  const ce = Oa.value;
17747
17765
  return ce ? {
17748
17766
  getBoundingClientRect: () => (ce.columnSwitcherEl ?? null)?.getBoundingClientRect() ?? new DOMRect(),
@@ -17750,7 +17768,7 @@ const X$ = {
17750
17768
  return ce.columnSwitcherEl ?? void 0;
17751
17769
  }
17752
17770
  } : null;
17753
- }), Wi = y(() => {
17771
+ }), Gi = y(() => {
17754
17772
  let ce = 0;
17755
17773
  for (const be of Object.values(hl.value))
17756
17774
  if (!(be == null || be === "") && !(Array.isArray(be) && be.length === 0)) {
@@ -17762,11 +17780,11 @@ const X$ = {
17762
17780
  ce++;
17763
17781
  }
17764
17782
  return ce;
17765
- }), Gi = (ce) => {
17783
+ }), qi = (ce) => {
17766
17784
  Kt.value = ce, fl();
17767
- }, qi = () => {
17785
+ }, Ki = () => {
17768
17786
  Kt.value = null, hl.value = {}, fl();
17769
- }, Ki = (ce, be) => ({
17787
+ }, Yi = (ce, be) => ({
17770
17788
  item: ce,
17771
17789
  index: be,
17772
17790
  columns: pl.value,
@@ -17798,11 +17816,11 @@ const X$ = {
17798
17816
  getCellStyle: se.getCellStyle,
17799
17817
  // Custom class
17800
17818
  rowClass: l.rowClass?.(ce)
17801
- }), { width: yl } = Po(Z), Yi = y(() => {
17819
+ }), { width: yl } = Vo(Z), ji = y(() => {
17802
17820
  if (!l.pagination || yl.value === 0) return 5;
17803
- const ce = yl.value - io, be = Math.floor((ce - 2 * Nn) / Nn);
17821
+ const ce = yl.value - so, be = Math.floor((ce - 2 * Nn) / Nn);
17804
17822
  return be >= 7 ? 5 : be >= 3 ? be : 0;
17805
- }), ji = y(() => !l.pagination || yl.value === 0 ? !0 : yl.value - io >= 5 * Nn);
17823
+ }), Xi = y(() => !l.pagination || yl.value === 0 ? !0 : yl.value - so >= 5 * Nn);
17806
17824
  return n({
17807
17825
  // Selection API (public keys unchanged; sourced from the selection facade)
17808
17826
  selectAll: W.selectAll,
@@ -17841,14 +17859,14 @@ const X$ = {
17841
17859
  searchable: e.searchable,
17842
17860
  "model-value": Xt.value,
17843
17861
  placeholder: e.searchPlaceholder,
17844
- "onUpdate:modelValue": Pi
17862
+ "onUpdate:modelValue": Vi
17845
17863
  }, {
17846
17864
  actions: T(() => [
17847
- e.globalFilters?.length ? (s(), B(a($i), {
17865
+ e.globalFilters?.length ? (s(), B(a(Ri), {
17848
17866
  key: 0,
17849
17867
  ref_key: "globalFiltersButtonRef",
17850
17868
  ref: Ta,
17851
- "active-count": Wi.value,
17869
+ "active-count": Gi.value,
17852
17870
  onClick: be[0] || (be[0] = (_e) => bl.value = !bl.value)
17853
17871
  }, null, 8, ["active-count"])) : O("", !0),
17854
17872
  z(ce.$slots, "search-header-actions")
@@ -17860,18 +17878,18 @@ const X$ = {
17860
17878
  filters: e.globalFilters,
17861
17879
  "model-value": hl.value,
17862
17880
  show: bl.value,
17863
- "anchor-ref": zi.value,
17881
+ "anchor-ref": Hi.value,
17864
17882
  "onUpdate:modelValue": be[1] || (be[1] = (_e) => hl.value = _e),
17865
17883
  "onUpdate:show": be[2] || (be[2] = (_e) => bl.value = _e),
17866
- onApply: Gi,
17867
- onClear: qi
17884
+ onApply: qi,
17885
+ onClear: Ki
17868
17886
  }, null, 8, ["filters", "model-value", "show", "anchor-ref"])) : O("", !0),
17869
17887
  e.columnSwitcher ? (s(), B(a(Zw), {
17870
17888
  key: 3,
17871
17889
  columns: a(ba),
17872
17890
  "visible-columns": a(ha),
17873
17891
  show: Jt.value,
17874
- "anchor-ref": Hi.value,
17892
+ "anchor-ref": Wi.value,
17875
17893
  "onUpdate:visibleColumns": a(_a),
17876
17894
  "onUpdate:show": be[3] || (be[3] = (_e) => Jt.value = _e),
17877
17895
  onReset: a(ka)
@@ -17929,14 +17947,14 @@ const X$ = {
17929
17947
  "expanded-icon": e.expandedRowIcon,
17930
17948
  "expand-label": ce.$t("COMPONENTS.ORGANISMS.VC_TABLE.EXPAND_ROW"),
17931
17949
  onClick: a(Ye),
17932
- onSelect: a(Bi),
17933
- onAction: a(Di),
17950
+ onSelect: a(Di),
17951
+ onAction: a(Pi),
17934
17952
  onRefresh: be[10] || (be[10] = (_e) => r("pull-refresh")),
17935
17953
  onCellValueChange: be[11] || (be[11] = (_e, Le, Ke) => a(pe)(_e, Le, Ke)),
17936
17954
  onExpandToggle: be[12] || (be[12] = (_e, Le, Ke) => a(Oe)(_e, Le, Ke))
17937
17955
  }, Ie({
17938
17956
  empty: T(() => [
17939
- v.value && ce.$slots["not-found"] ? z(ce.$slots, "not-found", { key: 0 }) : ce.$slots.empty ? z(ce.$slots, "empty", { key: 1 }) : (s(), B(a(Si), {
17957
+ v.value && ce.$slots["not-found"] ? z(ce.$slots, "not-found", { key: 0 }) : ce.$slots.empty ? z(ce.$slots, "empty", { key: 1 }) : (s(), B(a($i), {
17940
17958
  key: 2,
17941
17959
  icon: b.value,
17942
17960
  title: g.value,
@@ -18036,12 +18054,12 @@ const X$ = {
18036
18054
  "get-global-index": a(vn),
18037
18055
  "get-item-key": j,
18038
18056
  "new-row-indices": a(re).newRowIndices.value,
18039
- "get-row-props": Ki,
18040
- onScroll: Vi,
18057
+ "get-row-props": Yi,
18058
+ onScroll: Fi,
18041
18059
  onGroupToggle: be[7] || (be[7] = (_e, Le) => a(ne).toggleGroupExpansion(_e, Le)),
18042
18060
  onRowClick: a(wa),
18043
- onRowMouseenter: Fi,
18044
- onRowMouseleave: Ui,
18061
+ onRowMouseenter: Ui,
18062
+ onRowMouseleave: zi,
18045
18063
  onSelectionChange: a(W).onRowSelect,
18046
18064
  onExpandToggle: be[8] || (be[8] = (_e, Le, Ke) => a(Oe)(_e, Le, Ke)),
18047
18065
  onRowEdit: a(Ve),
@@ -18138,15 +18156,15 @@ const X$ = {
18138
18156
  pages: l.pagination.pages,
18139
18157
  "current-page": l.pagination.currentPage,
18140
18158
  variant: l.pagination.variant,
18141
- "max-pages": Yi.value,
18142
- "show-first-last": ji.value,
18159
+ "max-pages": ji.value,
18160
+ "show-first-last": Xi.value,
18143
18161
  onItemClick: Ra
18144
18162
  }, null, 8, ["pages", "current-page", "variant", "max-pages", "show-first-last"])
18145
18163
  ])
18146
18164
  ], 512)) : O("", !0),
18147
18165
  z(ce.$slots, "default")
18148
18166
  ], 8, QC)), [
18149
- [a(Mo), (e.loading || a(A)) && !I.value, "49"]
18167
+ [a(xo), (e.loading || a(A)) && !I.value, "49"]
18150
18168
  ]);
18151
18169
  }
18152
18170
  }), a_ = { class: "vc-table-adapter" }, o_ = { class: "vc-global-filters-panel__content" }, Q$ = /* @__PURE__ */ Y({
@@ -18355,7 +18373,7 @@ const X$ = {
18355
18373
  onRowAdd: Z
18356
18374
  }, Ie({
18357
18375
  default: T(() => [
18358
- (s(!0), p(J, null, ve(_.value, (H) => (s(), B(Is, {
18376
+ (s(!0), p(J, null, ve(_.value, (H) => (s(), B(Ns, {
18359
18377
  id: H.id,
18360
18378
  key: H.id,
18361
18379
  field: H.field || H.id,
@@ -18398,7 +18416,7 @@ const X$ = {
18398
18416
  W.$slots.filters || W.$slots.header ? {
18399
18417
  name: "search-header-actions",
18400
18418
  fn: T(() => [
18401
- W.$slots.filters ? (s(), B(a($i), {
18419
+ W.$slots.filters ? (s(), B(a(Ri), {
18402
18420
  key: 0,
18403
18421
  ref_key: "legacyFiltersButtonRef",
18404
18422
  ref: c,
@@ -18490,7 +18508,7 @@ const X$ = {
18490
18508
  ]),
18491
18509
  _: 1
18492
18510
  })) : O("", !0),
18493
- R(a(Pa), {
18511
+ R(a(Va), {
18494
18512
  attached: "",
18495
18513
  role: "group"
18496
18514
  }, {
@@ -18523,7 +18541,7 @@ const X$ = {
18523
18541
  ]),
18524
18542
  _: 1
18525
18543
  }),
18526
- e.views.length > 1 ? (s(), B(a(Pa), {
18544
+ e.views.length > 1 ? (s(), B(a(Va), {
18527
18545
  key: 1,
18528
18546
  attached: ""
18529
18547
  }, {
@@ -18680,7 +18698,7 @@ const X$ = {
18680
18698
  ])
18681
18699
  ], 42, b_));
18682
18700
  }
18683
- }), so = [
18701
+ }), ro = [
18684
18702
  "#2563eb",
18685
18703
  // blue
18686
18704
  "#16a34a",
@@ -18705,10 +18723,10 @@ function C_(e) {
18705
18723
  return n;
18706
18724
  }
18707
18725
  function Dt(e) {
18708
- return e ? so[C_(e) % so.length] : "var(--primary-500)";
18726
+ return e ? ro[C_(e) % ro.length] : "var(--primary-500)";
18709
18727
  }
18710
- const Bn = "#ffffff", Li = "#18181b";
18711
- function Mi(e) {
18728
+ const Bn = "#ffffff", Mi = "#18181b";
18729
+ function xi(e) {
18712
18730
  const n = e.trim(), t = /^#([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(n);
18713
18731
  if (t) {
18714
18732
  const r = t[1].length === 3 ? [...t[1]].map((i) => i + i).join("") : t[1];
@@ -18717,26 +18735,26 @@ function Mi(e) {
18717
18735
  const l = /^rgba?\(\s*(\d+)[,\s]+(\d+)[,\s]+(\d+)/i.exec(n);
18718
18736
  return l ? [+l[1], +l[2], +l[3]] : null;
18719
18737
  }
18720
- function xi([e, n, t]) {
18738
+ function Ii([e, n, t]) {
18721
18739
  const l = (r) => {
18722
18740
  const i = r / 255;
18723
18741
  return i <= 0.03928 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4);
18724
18742
  };
18725
18743
  return 0.2126 * l(e) + 0.7152 * l(n) + 0.0722 * l(t);
18726
18744
  }
18727
- const ro = (e, n) => (Math.max(e, n) + 0.05) / (Math.min(e, n) + 0.05), __ = xi(Mi(Li));
18728
- function Ii(e) {
18745
+ const co = (e, n) => (Math.max(e, n) + 0.05) / (Math.min(e, n) + 0.05), __ = Ii(xi(Mi));
18746
+ function Ni(e) {
18729
18747
  if (!e) return Bn;
18730
- const n = Mi(e);
18748
+ const n = xi(e);
18731
18749
  if (!n) return Bn;
18732
- const t = xi(n);
18733
- return ro(t, 1) >= ro(t, __) ? Bn : Li;
18750
+ const t = Ii(n);
18751
+ return co(t, 1) >= co(t, __) ? Bn : Mi;
18734
18752
  }
18735
18753
  function Gn(e, n) {
18736
18754
  return n ? {
18737
18755
  background: `color-mix(in srgb, ${e} 22%, var(--additional-50, #fff))`,
18738
18756
  color: "var(--neutrals-800)"
18739
- } : { background: e, color: Ii(e) };
18757
+ } : { background: e, color: Ni(e) };
18740
18758
  }
18741
18759
  const k_ = ["aria-label", "onKeydown"], E_ = {
18742
18760
  key: 0,
@@ -18766,7 +18784,7 @@ const k_ = ["aria-label", "onKeydown"], E_ = {
18766
18784
  l("select", r.value?.getBoundingClientRect() ?? null);
18767
18785
  }
18768
18786
  const o = y(() => !!(t.event.recurrenceId || t.event.recurrence)), c = y(() => t.event.color ?? Dt(t.event.title)), d = y(() => t.event.end.getTime() < Date.now()), u = y(
18769
- () => d.value ? Gn(c.value, !0) : { background: c.value, color: `var(--vc-scheduler-event-ink, ${Ii(c.value)})` }
18787
+ () => d.value ? Gn(c.value, !0) : { background: c.value, color: `var(--vc-scheduler-event-ink, ${Ni(c.value)})` }
18770
18788
  ), v = y(() => {
18771
18789
  const { title: b, start: g, end: m } = t.event, h = Te(g, "PP"), f = Te(new Date(m.getTime() - 1), "PP");
18772
18790
  return h === f ? `${b}: ${h}` : `${b}: ${h} – ${f}`;
@@ -18956,12 +18974,12 @@ const k_ = ["aria-label", "onKeydown"], E_ = {
18956
18974
  [je.MONTHLY]: "monthly",
18957
18975
  [je.YEARLY]: "yearly"
18958
18976
  }, D_ = [je.MO, je.TU, je.WE, je.TH, je.FR, je.SA, je.SU], P_ = (e) => D_[(e + 6) % 7], V_ = (e) => (e + 1) % 7;
18959
- function co(e) {
18977
+ function uo(e) {
18960
18978
  const n = {
18961
18979
  freq: N_[e.freq],
18962
18980
  interval: Math.max(1, e.interval)
18963
18981
  };
18964
- return e.freq === "weekly" && e.byWeekday?.length && (n.byweekday = e.byWeekday.map(P_)), e.end.type === "count" ? n.count = e.end.count : e.end.type === "until" && (n.until = Uo(e.end.until)), new je(n).toString().replace(/^RRULE:/, "");
18982
+ return e.freq === "weekly" && e.byWeekday?.length && (n.byweekday = e.byWeekday.map(P_)), e.end.type === "count" ? n.count = e.end.count : e.end.type === "until" && (n.until = zo(e.end.until)), new je(n).toString().replace(/^RRULE:/, "");
18965
18983
  }
18966
18984
  function F_(e, n) {
18967
18985
  const l = oa(e.startsWith("RRULE:") ? e : `RRULE:${e}`, { dtstart: n }).origOptions, r = B_[l.freq] ?? "daily", i = r === "weekly" && l.byweekday ? [].concat(l.byweekday).map((c) => V_(typeof c == "number" ? c : c.weekday)) : void 0;
@@ -19239,7 +19257,7 @@ function nk(e) {
19239
19257
  return { laidOut: l, overflowByDay: r };
19240
19258
  }
19241
19259
  const ll = 864e5, ak = 220;
19242
- function Ni(e) {
19260
+ function Bi(e) {
19243
19261
  const n = e.delay ?? ak;
19244
19262
  let t = null, l = null;
19245
19263
  function r() {
@@ -19351,9 +19369,9 @@ const ik = { class: "vc-scheduler__month" }, sk = {
19351
19369
  const oe = lt(i.value.start, fe);
19352
19370
  return {
19353
19371
  date: oe,
19354
- inMonth: zo(oe, t.focusedDate),
19372
+ inMonth: Ho(oe, t.focusedDate),
19355
19373
  isToday: aa(oe),
19356
- isWeekend: [0, 6].includes(Ac(oe))
19374
+ isWeekend: [0, 6].includes(Tc(oe))
19357
19375
  };
19358
19376
  })
19359
19377
  ), c = y(
@@ -19403,7 +19421,7 @@ const ik = { class: "vc-scheduler__month" }, sk = {
19403
19421
  return b.timedByDay.value.get(Te(ee, "yyyy-MM-dd")) ?? [];
19404
19422
  }
19405
19423
  let I = null, P = null, V = null, L = !1;
19406
- const M = /* @__PURE__ */ new Map(), D = Ni({
19424
+ const M = /* @__PURE__ */ new Map(), D = Bi({
19407
19425
  onIntent: (ee, fe) => {
19408
19426
  const oe = M.get(fe);
19409
19427
  if (M.delete(fe), !oe) return;
@@ -19596,7 +19614,7 @@ const ik = { class: "vc-scheduler__month" }, sk = {
19596
19614
  emits: ["event-click", "create-intent", "edit-intent", "event-delete"],
19597
19615
  setup(e, { emit: n }) {
19598
19616
  const { t } = Pe(), l = e, r = n, i = (m) => m.allDay !== void 0 ? m.allDay : m.end.getTime() - m.start.getTime() >= 864e5, o = y(() => {
19599
- const m = ql(l.focusedDate), h = Tc(l.focusedDate), f = [];
19617
+ const m = ql(l.focusedDate), h = Oc(l.focusedDate), f = [];
19600
19618
  for (let w = Ge(m); w <= h; w = lt(w, 1)) {
19601
19619
  const _ = w.getTime(), A = lt(w, 1).getTime(), I = l.events.filter((P) => P.start.getTime() < A && P.end.getTime() > _).sort((P, V) => Number(i(V)) - Number(i(P)) || P.start.getTime() - V.start.getTime());
19602
19620
  I.length && f.push({ key: Te(w, "yyyy-MM-dd"), date: new Date(w), isToday: aa(w), events: I });
@@ -19676,7 +19694,7 @@ const ik = { class: "vc-scheduler__month" }, sk = {
19676
19694
  }, 8, ["open", "event", "anchor-rect"])
19677
19695
  ]));
19678
19696
  }
19679
- }), Rk = 18, uo = 36e5;
19697
+ }), Rk = 18, vo = 36e5;
19680
19698
  function qn(e) {
19681
19699
  return e.allDay !== void 0 ? e.allDay : e.end.getTime() - e.start.getTime() >= 864e5;
19682
19700
  }
@@ -19706,7 +19724,7 @@ function Tk(e) {
19706
19724
  date: g,
19707
19725
  index: m,
19708
19726
  isToday: aa(g),
19709
- isWeekend: Oc(g),
19727
+ isWeekend: Lc(g),
19710
19728
  label: Te(g, n.value === 1 ? "EEEE, d MMMM" : "EEE d")
19711
19729
  }))
19712
19730
  ), o = y(() => {
@@ -19729,7 +19747,7 @@ function Tk(e) {
19729
19747
  endMs: Math.min(V.end.getTime(), I)
19730
19748
  }));
19731
19749
  return Ak(P).map((V) => {
19732
- const L = (V.startMs - A) / uo * m, M = Math.max((V.endMs - V.startMs) / uo * m, Rk);
19750
+ const L = (V.startMs - A) / vo * m, M = Math.max((V.endMs - V.startMs) / vo * m, Rk);
19733
19751
  return {
19734
19752
  event: V.event,
19735
19753
  top: L,
@@ -19795,7 +19813,7 @@ const Ok = { class: "vc-scheduler__tg" }, Lk = { class: "vc-scheduler__tg-head"
19795
19813
  }, Gk = {
19796
19814
  key: 1,
19797
19815
  class: "vc-scheduler__tg-empty"
19798
- }, Nt = 48, vo = 22, qk = /* @__PURE__ */ Y({
19816
+ }, Nt = 48, fo = 22, qk = /* @__PURE__ */ Y({
19799
19817
  __name: "SchedulerTimelineView",
19800
19818
  props: {
19801
19819
  events: {},
@@ -19844,7 +19862,7 @@ const Ok = { class: "vc-scheduler__tg" }, Lk = { class: "vc-scheduler__tg-head"
19844
19862
  function m($) {
19845
19863
  const E = $.event.color ?? Dt($.event.title);
19846
19864
  return {
19847
- top: `${$.row * vo + 2}px`,
19865
+ top: `${$.row * fo + 2}px`,
19848
19866
  left: `calc(${$.startCol / v.dayCount.value * 100}% + 1px)`,
19849
19867
  width: `calc(${$.span / v.dayCount.value * 100}% - 2px)`,
19850
19868
  ...Gn(E, $.past)
@@ -19867,7 +19885,7 @@ const Ok = { class: "vc-scheduler__tg" }, Lk = { class: "vc-scheduler__tg-head"
19867
19885
  const _ = y(() => {
19868
19886
  const $ = new Date(f.value), E = $.getHours() + $.getMinutes() / 60;
19869
19887
  return E < o.value || E > c.value ? null : (E - o.value) * Nt;
19870
- }), A = /* @__PURE__ */ new Map(), I = Ni({
19888
+ }), A = /* @__PURE__ */ new Map(), I = Bi({
19871
19889
  onIntent: ($, E) => {
19872
19890
  const S = A.get(E);
19873
19891
  A.delete(E), S && l("create-intent", { start: S.start, end: S.end, allDay: !1, anchorRect: S.rect, kind: $ });
@@ -19906,7 +19924,7 @@ const Ok = { class: "vc-scheduler__tg" }, Lk = { class: "vc-scheduler__tg-head"
19906
19924
  C("div", Ik, F($.$t("VC_SCHEDULER.ALL_DAY")), 1),
19907
19925
  C("div", {
19908
19926
  class: "vc-scheduler__tg-allday-track",
19909
- style: he({ height: `${a(v).allDayRowCount.value * vo + 4}px` })
19927
+ style: he({ height: `${a(v).allDayRowCount.value * fo + 4}px` })
19910
19928
  }, [
19911
19929
  (s(!0), p(J, null, ve(a(v).allDaySegments.value, (S) => (s(), p("button", {
19912
19930
  key: `ad-${S.event.id}`,
@@ -20194,7 +20212,7 @@ const Ok = { class: "vc-scheduler__tg" }, Lk = { class: "vc-scheduler__tg-head"
20194
20212
  o.recurrence.interval = Number.isFinite(S) && S >= 1 ? S : 1;
20195
20213
  }
20196
20214
  function P(E) {
20197
- o.recurrence && (E === "until" ? o.recurrence.end = { type: "until", until: h.value ?? Ho(o.start, 1) } : E === "count" ? o.recurrence.end = { type: "count", count: f.value ?? 1 } : o.recurrence.end = { type: "never" });
20215
+ o.recurrence && (E === "until" ? o.recurrence.end = { type: "until", until: h.value ?? Wo(o.start, 1) } : E === "count" ? o.recurrence.end = { type: "count", count: f.value ?? 1 } : o.recurrence.end = { type: "never" });
20198
20216
  }
20199
20217
  function V(E) {
20200
20218
  !o.recurrence || o.recurrence.end.type !== "until" || !E || (o.recurrence.end.until = E);
@@ -20228,7 +20246,7 @@ const Ok = { class: "vc-scheduler__tg" }, Lk = { class: "vc-scheduler__tg-head"
20228
20246
  "data-test": "editor-title",
20229
20247
  "onUpdate:modelValue": S[0] || (S[0] = (k) => o.title = k ?? "")
20230
20248
  }, null, 8, ["model-value", "label"]),
20231
- R(a(mi), {
20249
+ R(a(pi), {
20232
20250
  "model-value": o.allDay,
20233
20251
  label: E.$t("VC_SCHEDULER.ALL_DAY"),
20234
20252
  "onUpdate:modelValue": S[1] || (S[1] = (k) => o.allDay = !!k)
@@ -20504,7 +20522,7 @@ function gE(e) {
20504
20522
  case "timeline-day":
20505
20523
  return Te(d, "d MMMM yyyy");
20506
20524
  case "timeline-week": {
20507
- const u = Lt(d, n()), v = Wo(d, n());
20525
+ const u = Lt(d, n()), v = Go(d, n());
20508
20526
  return Te(u, "MMM yyyy") === Te(v, "MMM yyyy") ? `${Te(u, "d")} – ${Te(v, "d MMM yyyy")}` : `${Te(u, "d MMM")} – ${Te(v, "d MMM yyyy")}`;
20509
20527
  }
20510
20528
  default:
@@ -20516,9 +20534,9 @@ function gE(e) {
20516
20534
  case "timeline-day":
20517
20535
  return lt(u, d);
20518
20536
  case "timeline-week":
20519
- return Lc(u, d);
20537
+ return Mc(u, d);
20520
20538
  default:
20521
- return Ho(u, d);
20539
+ return Wo(u, d);
20522
20540
  }
20523
20541
  };
20524
20542
  return { monthRange: t, title: l, goPrev: () => e.onDateChange(r(-1)), goNext: () => e.onDateChange(r(1)), goToday: () => e.onDateChange(/* @__PURE__ */ new Date()) };
@@ -20695,7 +20713,7 @@ const bE = Symbol("VcSchedulerCalendarContext"), hE = ["aria-busy"], Z$ = /* @__
20695
20713
  title: H.title,
20696
20714
  allDay: H.allDay,
20697
20715
  color: H.color,
20698
- recurrence: H.recurrence ? co(H.recurrence) : void 0
20716
+ recurrence: H.recurrence ? uo(H.recurrence) : void 0
20699
20717
  });
20700
20718
  else {
20701
20719
  const re = {
@@ -20718,7 +20736,7 @@ const bE = Symbol("VcSchedulerCalendarContext"), hE = ["aria-busy"], Z$ = /* @__
20718
20736
  allDay: H.allDay,
20719
20737
  title: H.title,
20720
20738
  color: H.color,
20721
- recurrence: H.recurrence ? co(H.recurrence) : void 0
20739
+ recurrence: H.recurrence ? uo(H.recurrence) : void 0
20722
20740
  }) : l("event-update", {
20723
20741
  id: H.id,
20724
20742
  start: H.start,
@@ -20756,12 +20774,12 @@ const bE = Symbol("VcSchedulerCalendarContext"), hE = ["aria-busy"], Z$ = /* @__
20756
20774
  }
20757
20775
  }), me = y(() => {
20758
20776
  const H = te.value, ne = /* @__PURE__ */ new Date();
20759
- return q.value === "timeline-day" ? Gl(H, ne) : q.value === "timeline-week" ? Mc(H, ne, { weekStartsOn: t.firstDayOfWeek % 7 }) : zo(H, ne);
20777
+ return q.value === "timeline-day" ? Gl(H, ne) : q.value === "timeline-week" ? xc(H, ne, { weekStartsOn: t.firstDayOfWeek % 7 }) : Ho(H, ne);
20760
20778
  }), j = y(() => {
20761
20779
  const H = te.value, ne = t.firstDayOfWeek % 7;
20762
- if (q.value === "timeline-day") return { start: Ge(H), end: Uo(H) };
20780
+ if (q.value === "timeline-day") return { start: Ge(H), end: zo(H) };
20763
20781
  if (q.value === "timeline-week")
20764
- return { start: Lt(H, { weekStartsOn: ne }), end: Wo(H, { weekStartsOn: ne }) };
20782
+ return { start: Lt(H, { weekStartsOn: ne }), end: Go(H, { weekStartsOn: ne }) };
20765
20783
  const re = Lt(ql(H), { weekStartsOn: ne });
20766
20784
  return { start: re, end: lt(re, 42) };
20767
20785
  }), G = y(() => H_(t.events, j.value)), ae = y(() => t.loading && G.value.length === 0), Z = y(() => q.value === "month" ? r.value ? "agenda" : "month" : "timeline"), W = gE({
@@ -20935,7 +20953,7 @@ const bE = Symbol("VcSchedulerCalendarContext"), hE = ["aria-busy"], Z$ = /* @__
20935
20953
  onClose: w
20936
20954
  }, null, 8, ["open", "title", "body", "confirm-label"])
20937
20955
  ], 8, hE)), [
20938
- [a(Mo), e.loading && !ae.value, "49"]
20956
+ [a(xo), e.loading && !ae.value, "49"]
20939
20957
  ]);
20940
20958
  }
20941
20959
  });
@@ -20944,8 +20962,8 @@ export {
20944
20962
  Eh as A,
20945
20963
  z$ as B,
20946
20964
  XC as C,
20947
- Ga as D,
20948
- Qa as E,
20965
+ qa as D,
20966
+ Ja as E,
20949
20967
  H$ as F,
20950
20968
  bh as G,
20951
20969
  Hn as H,
@@ -20953,15 +20971,15 @@ export {
20953
20971
  jh as J,
20954
20972
  $b as K,
20955
20973
  Eb as L,
20956
- bi as M,
20974
+ hi as M,
20957
20975
  W$ as N,
20958
- li as O,
20976
+ ni as O,
20959
20977
  S$ as P,
20960
20978
  A$ as Q,
20961
- Xo as R,
20979
+ Qo as R,
20962
20980
  J$ as S,
20963
20981
  Gw as T,
20964
- Pa as U,
20982
+ Va as U,
20965
20983
  O$ as V,
20966
20984
  y$ as W,
20967
20985
  en as X,
@@ -20977,7 +20995,7 @@ export {
20977
20995
  M$ as a4,
20978
20996
  iv as a5,
20979
20997
  T$ as a6,
20980
- vi as a7,
20998
+ fi as a7,
20981
20999
  Mf as a8,
20982
21000
  q$ as a9,
20983
21001
  Q$ as aA,
@@ -20986,17 +21004,17 @@ export {
20986
21004
  E$ as aD,
20987
21005
  Dl as aE,
20988
21006
  X$ as aF,
20989
- hi as aG,
21007
+ yi as aG,
20990
21008
  sa as aH,
20991
21009
  Ch as aI,
20992
21010
  tn as aJ,
20993
21011
  U$ as aK,
20994
21012
  jl as aL,
20995
- Ri as aM,
21013
+ Ai as aM,
20996
21014
  m$ as aN,
20997
21015
  f$ as aO,
20998
21016
  DC as aP,
20999
- Ei as aQ,
21017
+ Si as aQ,
21000
21018
  Mg as aR,
21001
21019
  V$ as aS,
21002
21020
  fy as aT,
@@ -21007,17 +21025,17 @@ export {
21007
21025
  Y$ as aY,
21008
21026
  NC as aZ,
21009
21027
  BC as a_,
21010
- ni as aa,
21011
- gi as ab,
21028
+ ai as aa,
21029
+ bi as ab,
21012
21030
  iw as ac,
21013
- fi as ad,
21031
+ mi as ad,
21014
21032
  P$ as ae,
21015
- ai as af,
21033
+ oi as af,
21016
21034
  Nd as ag,
21017
21035
  Og as ah,
21018
21036
  da as ai,
21019
21037
  Lg as aj,
21020
- Wa as ak,
21038
+ Ga as ak,
21021
21039
  It as al,
21022
21040
  Wm as am,
21023
21041
  ct as an,
@@ -21030,67 +21048,67 @@ export {
21030
21048
  Z$ as au,
21031
21049
  Wt as av,
21032
21050
  N$ as aw,
21033
- oi as ax,
21051
+ ii as ax,
21034
21052
  zd as ay,
21035
- mi as az,
21036
- to as b,
21053
+ pi as az,
21054
+ lo as b,
21037
21055
  p$ as b0,
21038
21056
  v$ as b1,
21039
21057
  d$ as b2,
21040
- Ci as b3,
21058
+ _i as b3,
21041
21059
  j$ as b4,
21042
21060
  Kl as b5,
21043
- Wc as b6,
21061
+ Gc as b6,
21044
21062
  Yl as b7,
21045
21063
  cu as b8,
21046
21064
  ru as b9,
21047
- zc as bA,
21048
- Yo as bB,
21049
- Uc as bC,
21065
+ Hc as bA,
21066
+ jo as bB,
21067
+ zc as bC,
21050
21068
  c$ as bD,
21051
21069
  i$ as bE,
21052
- Qc as bF,
21070
+ Jc as bF,
21053
21071
  ia as bG,
21054
- Va as bH,
21072
+ Fa as bH,
21055
21073
  R$ as bI,
21056
21074
  $$ as bJ,
21057
21075
  hf as bK,
21058
21076
  Ef as bL,
21059
- Fc as bM,
21060
- qo as bN,
21077
+ Uc as bM,
21078
+ Ko as bN,
21061
21079
  Zl as bO,
21062
- jo as bP,
21080
+ Xo as bP,
21063
21081
  Mu as bQ,
21064
21082
  Rf as bR,
21065
- ui as bS,
21083
+ di as bS,
21066
21084
  bf as bT,
21067
21085
  ca as bU,
21068
21086
  uu as ba,
21069
21087
  s$ as bb,
21070
21088
  h$ as bc,
21071
- Qo as bd,
21089
+ Jo as bd,
21072
21090
  b$ as be,
21073
21091
  r$ as bf,
21074
- ti as bg,
21075
- si as bh,
21092
+ li as bg,
21093
+ ri as bh,
21076
21094
  g$ as bi,
21077
21095
  uy as bj,
21078
21096
  dy as bk,
21079
21097
  du as bl,
21080
21098
  ny as bm,
21081
21099
  vy as bn,
21082
- _i as bo,
21100
+ ki as bo,
21083
21101
  uh as bp,
21084
- yi as bq,
21102
+ wi as bq,
21085
21103
  ln as br,
21086
21104
  ay as bs,
21087
- wi as bt,
21105
+ Ci as bt,
21088
21106
  Vu as bu,
21089
21107
  vu as bv,
21090
21108
  $f as bw,
21091
- Vc as bx,
21109
+ Fc as bx,
21092
21110
  kf as by,
21093
- Go as bz,
21111
+ qo as bz,
21094
21112
  fa as c,
21095
21113
  y1 as d,
21096
21114
  v1 as e,
@@ -21105,9 +21123,9 @@ export {
21105
21123
  Vl as n,
21106
21124
  il as o,
21107
21125
  Zw as p,
21108
- Si as q,
21126
+ $i as q,
21109
21127
  C0 as r,
21110
- Za as s,
21128
+ eo as s,
21111
21129
  Rw as t,
21112
21130
  va as u,
21113
21131
  n0 as v,