@vc-shell/framework 2.7.0-pr392.38a3786 → 2.7.0-pr392.3b1fc1a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{VcScheduler.vue_vue_type_script_setup_true_lang-BC1BqnzZ.js → VcScheduler.vue_vue_type_script_setup_true_lang-Zs7wCJxN.js} +530 -530
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-Zs7wCJxN.js.map +1 -0
- package/dist/framework.js +6 -6
- package/dist/framework.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/composables/useAdaptiveItems.d.ts.map +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +4 -4
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-BC1BqnzZ.js.map +0 -1
|
@@ -1,129 +1,129 @@
|
|
|
1
|
-
import { nextTick as $e, ref as B, computed as h, getCurrentInstance as Lt, inject as we, defineComponent as Z, openBlock as s, createElementBlock as f, createElementVNode as w, watch as oe, onMounted as tt, onBeforeUnmount as He, toValue as xe, reactive as gt, shallowRef as
|
|
2
|
-
import { ae as
|
|
3
|
-
import { P as At, af as
|
|
4
|
-
import { i as
|
|
5
|
-
import { s as Kl, o as la, f as na, d as
|
|
1
|
+
import { nextTick as $e, ref as B, computed as h, getCurrentInstance as Lt, inject as we, defineComponent as Z, openBlock as s, createElementBlock as f, createElementVNode as w, watch as oe, onMounted as tt, onBeforeUnmount as He, toValue as xe, reactive as gt, shallowRef as po, provide as Be, createBlock as U, unref as n, withCtx as P, withDirectives as qe, resolveDynamicComponent as Xe, vShow as st, createCommentVNode as I, toRef as Le, normalizeClass as Y, renderSlot as G, toDisplayString as z, Teleport as ht, createVNode as L, Transition as Ue, normalizeStyle as ye, Fragment as le, renderList as de, createTextVNode as me, mergeProps as Ie, withModifiers as ve, isRef as yt, h as bo, withKeys as Me, createSlots as De, markRaw as zn, useId as It, watchEffect as zl, useSlots as wt, TransitionGroup as Qn, toHandlers as Zi, readonly as $a, onUnmounted as kt, hasInjectionContext as ho, getCurrentScope as Jn, onScopeDispose as Hl, useAttrs as es, vModelText as ts, toRefs as ls, normalizeProps as pt, guardReactiveProps as bt, vModelCheckbox as ns, toRaw as yo } from "vue";
|
|
2
|
+
import { ae as as, c as lt, D as os, e as wo, B as rl, V as Zn, U as Co, f as _o, Q as Eo, _ as ae, b as Ft, u as cl, A as is, d as So, W as ko, j as ss, L as Hn, y as Wn, r as rs, R as cs, a as ul, ah as $o, M as us, Y as ea, E as dl, F as Gn, am as vl, C as ds, a6 as vs, a1 as Ro, K as fs, J as To, x as ms, ab as gs } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-TiaFg1wQ.js";
|
|
3
|
+
import { P as At, af as ps, aR as bs, a as hs, X as Fe, l as Se, aP as Ao, N as fl, am as ys, an as ws, x as _e, G as Je, M as Cs, t as dt, a8 as _s, T as Wl, Q as _t, a0 as Es, aS as Ss, I as $t, V as Qe, ap as ks, u as $s, aT as Rs, A as Ra, ak as Oo, aU as Ts, aV as As, au as Mo, aN as Lo, O as Gl, aO as Os, q as Ve, v as Ot, F as Io, p as Ms, Y as Ls, y as Is, az as xs, D as Ds, w as Et, s as Ns, aW as ql, K as xo, aX as Do, aY as No, aZ as il, a_ as Bo, a$ as Po, b0 as Bs, C as Vo, n as Ps, o as Rn } from "./VcScheduler.vue_vue_type_style_index_0_lang-BhXTPWKg.js";
|
|
4
|
+
import { i as Vs, q as zt, p as Tn, o as Us, n as Uo, r as Fs, v as zs, w as Hs, f as ta, x as Ws, _ as Gs } from "./VcAiAgentPanel.vue_vue_type_script_setup_true_lang-c2L9ZMv-.js";
|
|
5
|
+
import { s as Kl, o as la, f as na, d as qs } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
|
|
6
6
|
import { u as ze } from "./vendor-vue-i18n-LO-EJStU.js";
|
|
7
|
-
import { h as
|
|
7
|
+
import { h as Fo, d as zo, o as Ks, u as Ys, a as ml, i as js, j as Xs } from "./vendor-vueuse-core-BwXFv1rx.js";
|
|
8
8
|
import { S as Tt } from "./vendor-sortablejs-Bsvu-FKn.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import
|
|
37
|
-
import
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
44
|
-
import
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import
|
|
49
|
-
import
|
|
50
|
-
import
|
|
51
|
-
import
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import
|
|
62
|
-
import
|
|
63
|
-
import
|
|
64
|
-
import
|
|
65
|
-
import
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import
|
|
69
|
-
import
|
|
70
|
-
import * as
|
|
71
|
-
import { useField as
|
|
72
|
-
import { I as
|
|
73
|
-
import { u as
|
|
74
|
-
import { S as
|
|
75
|
-
import { U as
|
|
76
|
-
import { T as
|
|
77
|
-
import { L as
|
|
78
|
-
import { I as
|
|
79
|
-
import { P as
|
|
80
|
-
import { T as
|
|
81
|
-
import { M as
|
|
82
|
-
import { b as
|
|
83
|
-
import { p as
|
|
84
|
-
import { S as Bl, N as
|
|
85
|
-
import { useRouter as Ht, RouterView as
|
|
86
|
-
import { v as gl, O as
|
|
87
|
-
import { u as
|
|
88
|
-
import { l as
|
|
9
|
+
import Qs from "../assets/d5f9664ebbfb104b.svg";
|
|
10
|
+
import Js from "../assets/4e43c74354534fb3.svg";
|
|
11
|
+
import Zs from "../assets/e98196a9f8dcb2f0.svg";
|
|
12
|
+
import er from "../assets/74ed5f8a78e71106.svg";
|
|
13
|
+
import tr from "../assets/1ea01de36eb5491b.svg";
|
|
14
|
+
import lr from "../assets/d5a5b8630120073d.svg";
|
|
15
|
+
import nr from "../assets/6798e4dd4add9b48.svg";
|
|
16
|
+
import ar from "../assets/2d4e6190eec72737.svg";
|
|
17
|
+
import or from "../assets/9392bf1d591e1abb.svg";
|
|
18
|
+
import ir from "../assets/204eaf512fde2023.svg";
|
|
19
|
+
import sr from "../assets/0ba156439a339f2a.svg";
|
|
20
|
+
import rr from "../assets/2857c513073467da.svg";
|
|
21
|
+
import cr from "../assets/b645a4a2181b9dc1.svg";
|
|
22
|
+
import ur from "../assets/b94421fadd23b0f2.svg";
|
|
23
|
+
import dr from "../assets/6a3e73faf406cf33.svg";
|
|
24
|
+
import vr from "../assets/e38acaa1757232e0.svg";
|
|
25
|
+
import fr from "../assets/ca791c5ca5848a03.svg";
|
|
26
|
+
import mr from "../assets/10768e2cc79fc60b.svg";
|
|
27
|
+
import gr from "../assets/67230f05dc94a265.svg";
|
|
28
|
+
import pr from "../assets/4d7a77b0e5373992.svg";
|
|
29
|
+
import br from "../assets/f7fc8bf46089d8b2.svg";
|
|
30
|
+
import hr from "../assets/92508f8707159b51.svg";
|
|
31
|
+
import yr from "../assets/b6499ddce0a4ef7d.svg";
|
|
32
|
+
import wr from "../assets/fed13b0d59903483.svg";
|
|
33
|
+
import Cr from "../assets/34ff7dd0c2285956.svg";
|
|
34
|
+
import _r from "../assets/bb28fb0f27f1c11b.svg";
|
|
35
|
+
import Er from "../assets/21220a9d10e6c558.svg";
|
|
36
|
+
import Sr from "../assets/b372390551ca2fa1.svg";
|
|
37
|
+
import kr from "../assets/262f46a0b6d94bb6.svg";
|
|
38
|
+
import $r from "../assets/042c75b764bc78a7.svg";
|
|
39
|
+
import Rr from "../assets/b1a596e31ad1185a.svg";
|
|
40
|
+
import Tr from "../assets/15e91cdd649cde9a.svg";
|
|
41
|
+
import Ar from "../assets/e72bb11356af94c7.svg";
|
|
42
|
+
import Or from "../assets/4fe75f5117100705.svg";
|
|
43
|
+
import Mr from "../assets/dd05d43ff0df2fc7.svg";
|
|
44
|
+
import Lr from "../assets/b325adcae33bbe7a.svg";
|
|
45
|
+
import Ir from "../assets/f09d89268e4c0317.svg";
|
|
46
|
+
import xr from "../assets/9cb83236f6bb7ab1.svg";
|
|
47
|
+
import Dr from "../assets/d084bda16abe8a56.svg";
|
|
48
|
+
import Nr from "../assets/7eda727273fd98d3.svg";
|
|
49
|
+
import Br from "../assets/572bb1bb4156a9c1.svg";
|
|
50
|
+
import Pr from "../assets/41275bcb979cb650.svg";
|
|
51
|
+
import Vr from "../assets/1de63eb118636cce.svg";
|
|
52
|
+
import Ur from "../assets/e5adb5ae3a3698f6.svg";
|
|
53
|
+
import Fr from "../assets/b5bb1e8fc975decd.svg";
|
|
54
|
+
import zr from "../assets/157b8721e0600ea8.svg";
|
|
55
|
+
import Hr from "../assets/a18404194e3f9047.svg";
|
|
56
|
+
import Wr from "../assets/a2017fe7f0a26510.svg";
|
|
57
|
+
import Gr from "../assets/0f590f8a94577092.svg";
|
|
58
|
+
import qr from "../assets/259e6ad461a52ad7.svg";
|
|
59
|
+
import Kr from "../assets/7d55399c2a7bc985.svg";
|
|
60
|
+
import Yr from "../assets/910b0d99b9e26568.svg";
|
|
61
|
+
import jr from "../assets/e4a8550f1c7ffe36.svg";
|
|
62
|
+
import Xr from "../assets/2088983edf42e153.svg";
|
|
63
|
+
import Qr from "../assets/225da11d23968333.svg";
|
|
64
|
+
import Jr from "../assets/d32b129cae2fffd6.svg";
|
|
65
|
+
import Zr from "../assets/abf88f301a0730f4.svg";
|
|
66
|
+
import ec from "../assets/0fc5820f8be53a1b.svg";
|
|
67
|
+
import tc from "../assets/d3f792f54ae4c307.svg";
|
|
68
|
+
import lc from "../assets/208f810a9321a327.svg";
|
|
69
|
+
import nc from "../assets/72de3a63bc0b70dd.svg";
|
|
70
|
+
import * as ac from "vee-validate";
|
|
71
|
+
import { useField as oc, useForm as Ho, useIsFormValid as ic, useIsFormDirty as sc, Field as Nl, PublicFormContextKey as rc } from "vee-validate";
|
|
72
|
+
import { I as cc } from "./vendor-iso-639-1-BEjYyfKo.js";
|
|
73
|
+
import { u as uc, E as Ta } from "./vendor-tiptap-vue-3-BNAw8onj.js";
|
|
74
|
+
import { S as dc } from "./vendor-tiptap-starter-kit-ny-AoaO_.js";
|
|
75
|
+
import { U as vc } from "./vendor-tiptap-extension-underline-Bo1pXXDN.js";
|
|
76
|
+
import { T as fc, a as mc, b as gc, c as pc } from "./vendor-tiptap-extension-table-QVjcLO_H.js";
|
|
77
|
+
import { L as bc } from "./vendor-tiptap-extension-link-CETrc0Mo.js";
|
|
78
|
+
import { I as hc } from "./vendor-tiptap-extension-image-BpqLcXdw.js";
|
|
79
|
+
import { P as yc } from "./vendor-tiptap-extensions-D7eaegpB.js";
|
|
80
|
+
import { T as wc } from "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
|
|
81
|
+
import { M as Cc } from "./vendor-tiptap-markdown-18K1hcU0.js";
|
|
82
|
+
import { b as _c } from "./vendor-js-beautify-D-6mWVv0.js";
|
|
83
|
+
import { p as Wo } from "./vendor-dompurify-DpIUMBYC.js";
|
|
84
|
+
import { S as Bl, N as Go, a as Pl, M as Ec, f as qo, G as Sc, K as kc } from "./vendor-swiper-BgqGfw3Y.js";
|
|
85
|
+
import { useRouter as Ht, RouterView as $c, useRoute as Wt } from "vue-router";
|
|
86
|
+
import { v as gl, O as Rc } from "./vendor-vueuse-components-BTQXlUpM.js";
|
|
87
|
+
import { u as Tc, j as Ac } from "./vendor-vueuse-shared-BPTQMqzb.js";
|
|
88
|
+
import { l as Oc, s as Mc } from "./vendor-vee-validate-i18n-zT8NxX3R.js";
|
|
89
89
|
import "./vendor-cypress-signalr-mock-itnm2wpA.js";
|
|
90
90
|
import "./ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
|
|
91
|
-
import { e as
|
|
91
|
+
import { e as Lc, c as Aa, g as aa } from "./vendor-lodash-es-D2n90GJy.js";
|
|
92
92
|
import "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
|
|
93
93
|
import "./vendor-truncate-html-ChA1T5zy.js";
|
|
94
|
-
import { h as Ae, U as
|
|
94
|
+
import { h as Ae, U as Ko, V as Yl, W as Ge, d as Pt, J as et, x as Mt, z as jl, a as Ic, X as oa, Y as Yo, Z as xc, _ as Dc, w as jo, y as Xo, $ as Nc, a0 as Bc } from "./vendor-date-fns-C-55OMpS.js";
|
|
95
95
|
import { r as ia, R as je } from "./vendor-rrule-C4g_KGmu.js";
|
|
96
|
-
import { S as
|
|
97
|
-
function
|
|
96
|
+
import { S as Pc, Y as Vc, h as Oa, G as Uc, V as Fc } from "./vendor-headlessui-vue-Cn-RMs4E.js";
|
|
97
|
+
function zc(e) {
|
|
98
98
|
return !e || e === document.body || e === document.documentElement ? !0 : !!e.closest("[inert]");
|
|
99
99
|
}
|
|
100
100
|
function St(e) {
|
|
101
101
|
$e(() => {
|
|
102
|
-
if (!
|
|
102
|
+
if (!zc(document.activeElement)) return;
|
|
103
103
|
const a = e();
|
|
104
104
|
!a?.isConnected || typeof a.focus != "function" || a.focus();
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Qo() {
|
|
108
108
|
return document.querySelector(".vc-app__workspace");
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function Hc(e) {
|
|
111
111
|
if (e == null) return;
|
|
112
112
|
const a = typeof e == "string" ? parseInt(e) : e;
|
|
113
113
|
return !isNaN(a) && a > 99 ? "99+" : String(e);
|
|
114
114
|
}
|
|
115
|
-
const
|
|
115
|
+
const Wc = {
|
|
116
116
|
info: 5e3,
|
|
117
117
|
warning: 8e3,
|
|
118
118
|
error: !1,
|
|
119
119
|
// persistent
|
|
120
120
|
critical: !1
|
|
121
121
|
// persistent
|
|
122
|
-
},
|
|
123
|
-
function
|
|
122
|
+
}, Gc = Symbol("NotificationContext"), qc = ["IndexProgressPushNotification"];
|
|
123
|
+
function Kc(e, a) {
|
|
124
124
|
return e.severity ? typeof e.severity == "function" ? e.severity(a) : e.severity : "info";
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function Yc(e, a) {
|
|
127
127
|
const t = e.notifyType ?? "unknown";
|
|
128
128
|
if (a.groupBy) {
|
|
129
129
|
const l = e[a.groupBy] ?? "default";
|
|
@@ -131,24 +131,24 @@ function jc(e, a) {
|
|
|
131
131
|
}
|
|
132
132
|
return `${t}::${e.id}`;
|
|
133
133
|
}
|
|
134
|
-
const
|
|
135
|
-
function
|
|
134
|
+
const jc = (e) => !!e.finished;
|
|
135
|
+
function Xc() {
|
|
136
136
|
const e = /* @__PURE__ */ new Map();
|
|
137
137
|
function a(c, i) {
|
|
138
138
|
if (!i.toast || i.toast.mode === "silent") return;
|
|
139
|
-
const o =
|
|
139
|
+
const o = Kc(i.toast, c);
|
|
140
140
|
i.toast.mode === "auto" ? t(c, o, i) : i.toast.mode === "progress" && l(c, o, i);
|
|
141
141
|
}
|
|
142
142
|
function t(c, i, o) {
|
|
143
|
-
const r = o.toast && typeof o.toast != "boolean" && o.toast.timeout != null ? o.toast.timeout :
|
|
143
|
+
const r = o.toast && typeof o.toast != "boolean" && o.toast.timeout != null ? o.toast.timeout : Wc[i];
|
|
144
144
|
At(c.title ?? "", {
|
|
145
145
|
timeout: r,
|
|
146
146
|
type: i === "critical" ? "error" : i === "info" ? "default" : i
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
149
|
function l(c, i, o) {
|
|
150
|
-
const r = o.toast, d =
|
|
151
|
-
if ((r.isComplete ??
|
|
150
|
+
const r = o.toast, d = Yc(c, o);
|
|
151
|
+
if ((r.isComplete ?? jc)(c)) {
|
|
152
152
|
const m = e.get(d);
|
|
153
153
|
if (m) {
|
|
154
154
|
const g = r.completedType?.(c) ?? "success";
|
|
@@ -176,15 +176,15 @@ function Qc() {
|
|
|
176
176
|
return { handle: a };
|
|
177
177
|
}
|
|
178
178
|
const Ma = lt("notification-store");
|
|
179
|
-
function
|
|
179
|
+
function Qc(e) {
|
|
180
180
|
const a = /* @__PURE__ */ new Map(), t = B([]), l = B([]), c = /* @__PURE__ */ new Map();
|
|
181
181
|
let i = 0;
|
|
182
|
-
const o = B(null), r =
|
|
182
|
+
const o = B(null), r = Xc().handle, d = new as(), u = h(() => t.value.filter((x) => x.isNew).length), v = h(() => u.value > 0);
|
|
183
183
|
function m(x, F) {
|
|
184
184
|
a.set(x, F);
|
|
185
185
|
}
|
|
186
186
|
function g(x, F) {
|
|
187
|
-
if (F?.broadcast && o.value && !o.value(x) || x.notifyType &&
|
|
187
|
+
if (F?.broadcast && o.value && !o.value(x) || x.notifyType && qc.includes(x.notifyType))
|
|
188
188
|
return;
|
|
189
189
|
let k = x.isNew;
|
|
190
190
|
const M = t.value.findIndex((D) => D.id === x.id);
|
|
@@ -268,11 +268,11 @@ function Jc(e) {
|
|
|
268
268
|
let Rl = null;
|
|
269
269
|
function Xl() {
|
|
270
270
|
if (Lt()) {
|
|
271
|
-
const e = we(
|
|
271
|
+
const e = we(os, null);
|
|
272
272
|
if (e)
|
|
273
273
|
return Rl = e, e;
|
|
274
274
|
}
|
|
275
|
-
return Rl || (Rl =
|
|
275
|
+
return Rl || (Rl = Qc()), Rl;
|
|
276
276
|
}
|
|
277
277
|
function I$(e) {
|
|
278
278
|
const a = /* @__PURE__ */ new Map();
|
|
@@ -303,8 +303,8 @@ function I$(e) {
|
|
|
303
303
|
cleanup: c
|
|
304
304
|
};
|
|
305
305
|
}
|
|
306
|
-
function
|
|
307
|
-
const e = we(
|
|
306
|
+
function Jo() {
|
|
307
|
+
const e = we(wo);
|
|
308
308
|
if (!e)
|
|
309
309
|
throw new Error("[useBladeMessaging] BladeMessaging not found. Ensure BladeNavigationPlugin is installed.");
|
|
310
310
|
return e;
|
|
@@ -313,7 +313,7 @@ const Vl = /* @__PURE__ */ new Map();
|
|
|
313
313
|
function x$(e, a) {
|
|
314
314
|
Vl.has(e) && console.warn(`[defineBlade] Duplicate blade name: "${e}". Overwriting.`), Vl.set(e, a);
|
|
315
315
|
}
|
|
316
|
-
function
|
|
316
|
+
function Jc(e) {
|
|
317
317
|
return Vl.get(e);
|
|
318
318
|
}
|
|
319
319
|
function D$() {
|
|
@@ -324,10 +324,10 @@ function La(e, a) {
|
|
|
324
324
|
const t = {};
|
|
325
325
|
return "sort" in a && (t[`${e}_sort`] = a.sort ?? ""), "search" in a && (t[`${e}_search`] = a.search ?? ""), "page" in a && (t[`${e}_page`] = a.page != null ? String(a.page) : ""), t;
|
|
326
326
|
}
|
|
327
|
-
const
|
|
328
|
-
function
|
|
327
|
+
const Zc = /^.+:(ASC|DESC)$/;
|
|
328
|
+
function eu(e, a) {
|
|
329
329
|
const t = {}, l = a[`${e}_sort`];
|
|
330
|
-
typeof l == "string" &&
|
|
330
|
+
typeof l == "string" && Zc.test(l) && (t.sort = l);
|
|
331
331
|
const c = a[`${e}_search`];
|
|
332
332
|
typeof c == "string" && c !== "" && (t.search = c);
|
|
333
333
|
const i = a[`${e}_page`];
|
|
@@ -337,10 +337,10 @@ function tu(e, a) {
|
|
|
337
337
|
}
|
|
338
338
|
return t;
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function tu(e, a) {
|
|
341
341
|
if (a.length === 0)
|
|
342
342
|
return { path: e ? `/${e}` : "/", query: {} };
|
|
343
|
-
const t = a[0], l = Ia(t.url), c = (d) =>
|
|
343
|
+
const t = a[0], l = Ia(t.url), c = (d) => Vs?.getBlade(d.name)?.routable !== !1;
|
|
344
344
|
let i;
|
|
345
345
|
for (let d = a.length - 1; d >= 1; d--)
|
|
346
346
|
if (a[d].visible && c(a[d])) {
|
|
@@ -369,16 +369,16 @@ function Ia(e) {
|
|
|
369
369
|
if (e)
|
|
370
370
|
return e.replace(/^\/+|\/+$/g, "") || void 0;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
372
|
+
function lu(e) {
|
|
373
373
|
const a = e.currentRoute.value.params;
|
|
374
374
|
return Object.values(a).find((t) => typeof t == "string" && t) || "";
|
|
375
375
|
}
|
|
376
|
-
function
|
|
376
|
+
function nu(e, a) {
|
|
377
377
|
let t = 0;
|
|
378
378
|
function l(c) {
|
|
379
379
|
if (t > 0) return;
|
|
380
380
|
const i = a();
|
|
381
|
-
i && e[c](lu(
|
|
381
|
+
i && e[c](tu(lu(e), i.blades.value));
|
|
382
382
|
}
|
|
383
383
|
return {
|
|
384
384
|
push() {
|
|
@@ -397,8 +397,8 @@ function au(e, a) {
|
|
|
397
397
|
}
|
|
398
398
|
};
|
|
399
399
|
}
|
|
400
|
-
function
|
|
401
|
-
const t =
|
|
400
|
+
function Zo(e, a) {
|
|
401
|
+
const t = nu(e, () => a);
|
|
402
402
|
function l() {
|
|
403
403
|
t.push();
|
|
404
404
|
}
|
|
@@ -407,21 +407,21 @@ function ei(e, a) {
|
|
|
407
407
|
}
|
|
408
408
|
return { syncUrlPush: l, syncUrlReplace: c };
|
|
409
409
|
}
|
|
410
|
-
const
|
|
411
|
-
function
|
|
410
|
+
const au = 150;
|
|
411
|
+
function ou(e) {
|
|
412
412
|
if (e)
|
|
413
413
|
return e.replace(/^\/+|\/+$/g, "") || void 0;
|
|
414
414
|
}
|
|
415
|
-
function
|
|
416
|
-
const { descriptor: a, router: t, bladeStack: l } = e, { syncUrlReplace: c } =
|
|
415
|
+
function iu(e) {
|
|
416
|
+
const { descriptor: a, router: t, bladeStack: l } = e, { syncUrlReplace: c } = Zo(t, l), i = /* @__PURE__ */ new Map();
|
|
417
417
|
let o;
|
|
418
418
|
function r(v) {
|
|
419
|
-
return v ||
|
|
419
|
+
return v || ou(a.value.url);
|
|
420
420
|
}
|
|
421
421
|
function d(v) {
|
|
422
422
|
const m = r(v);
|
|
423
423
|
if (!m) return {};
|
|
424
|
-
const g =
|
|
424
|
+
const g = eu(m, t.currentRoute.value.query);
|
|
425
425
|
return Object.keys(g).length > 0 && l.updateBladeQuery(a.value.id, La(m, g)), g;
|
|
426
426
|
}
|
|
427
427
|
function u(v, m) {
|
|
@@ -432,11 +432,11 @@ function su(e) {
|
|
|
432
432
|
for (const [y, b] of i)
|
|
433
433
|
l.updateBladeQuery(p, La(y, b));
|
|
434
434
|
i.clear(), c();
|
|
435
|
-
},
|
|
435
|
+
}, au));
|
|
436
436
|
}
|
|
437
437
|
return { read: d, write: u };
|
|
438
438
|
}
|
|
439
|
-
const
|
|
439
|
+
const su = ["width", "height"], B$ = /* @__PURE__ */ Z({
|
|
440
440
|
__name: "MenuBurgerIcon",
|
|
441
441
|
props: {
|
|
442
442
|
width: {},
|
|
@@ -457,10 +457,10 @@ const ru = ["width", "height"], B$ = /* @__PURE__ */ Z({
|
|
|
457
457
|
"stroke-linecap": "round",
|
|
458
458
|
"stroke-linejoin": "round"
|
|
459
459
|
}, null, -1)
|
|
460
|
-
])], 8,
|
|
460
|
+
])], 8, su));
|
|
461
461
|
}
|
|
462
462
|
});
|
|
463
|
-
function
|
|
463
|
+
function ru(e) {
|
|
464
464
|
const a = e.style.flexShrink;
|
|
465
465
|
e.style.flexShrink = "0";
|
|
466
466
|
const t = getComputedStyle(e), l = e.offsetWidth + parseFloat(t.marginLeft || "0") + parseFloat(t.marginRight || "0");
|
|
@@ -478,7 +478,7 @@ function Jl(e) {
|
|
|
478
478
|
moreButtonWidth: c,
|
|
479
479
|
calculationStrategy: i = "forward",
|
|
480
480
|
initialItemWidth: o = 50
|
|
481
|
-
} = e, { width: r } =
|
|
481
|
+
} = e, { width: r } = Fo(a), d = B(/* @__PURE__ */ new Map()), u = B(null), v = B(0), m = B([]), g = B([]), p = h(() => g.value.length > 0), y = h(
|
|
482
482
|
() => t.value.reduce((A, R, S) => A + T(R) + (S ? v.value : 0), 0)
|
|
483
483
|
);
|
|
484
484
|
let b = null;
|
|
@@ -486,7 +486,7 @@ function Jl(e) {
|
|
|
486
486
|
if (!a.value) return;
|
|
487
487
|
const A = a.value.querySelector("[data-more-button]");
|
|
488
488
|
if (A) {
|
|
489
|
-
const R =
|
|
489
|
+
const R = A.offsetWidth;
|
|
490
490
|
R > 0 && (u.value = R);
|
|
491
491
|
}
|
|
492
492
|
}, T = (A) => {
|
|
@@ -519,7 +519,7 @@ function Jl(e) {
|
|
|
519
519
|
v.value = An(a.value), E(), a.value.querySelectorAll("[data-item-key]").forEach((R) => {
|
|
520
520
|
const S = R.getAttribute("data-item-key");
|
|
521
521
|
if (S) {
|
|
522
|
-
const O =
|
|
522
|
+
const O = ru(R);
|
|
523
523
|
O > 0 && d.value.set(S, O);
|
|
524
524
|
}
|
|
525
525
|
}), F();
|
|
@@ -549,7 +549,7 @@ function Jl(e) {
|
|
|
549
549
|
R.has(S) || (b?.unobserve(S), C.delete(S));
|
|
550
550
|
k();
|
|
551
551
|
});
|
|
552
|
-
}, $ =
|
|
552
|
+
}, $ = Tc(() => {
|
|
553
553
|
a.value && (v.value = An(a.value)), F();
|
|
554
554
|
}, 50);
|
|
555
555
|
oe(r, () => {
|
|
@@ -591,7 +591,7 @@ function Zl(e = {}) {
|
|
|
591
591
|
function u() {
|
|
592
592
|
i.value = !i.value;
|
|
593
593
|
}
|
|
594
|
-
return
|
|
594
|
+
return zo(l, () => {
|
|
595
595
|
l.value && (c.value = l.value.scrollHeight);
|
|
596
596
|
}), {
|
|
597
597
|
contentRef: l,
|
|
@@ -711,7 +711,7 @@ function U$(e) {
|
|
|
711
711
|
}
|
|
712
712
|
};
|
|
713
713
|
}
|
|
714
|
-
const
|
|
714
|
+
const xa = lt("use-data-table-pagination");
|
|
715
715
|
function F$(e) {
|
|
716
716
|
const a = h(() => xe(e.pageSize) ?? 20), t = B(1), l = h(() => Math.ceil(xe(e.totalCount) / a.value) || 0), c = h(() => (t.value - 1) * a.value), i = h(() => xe(e.totalCount));
|
|
717
717
|
function o(m) {
|
|
@@ -733,14 +733,14 @@ function F$(e) {
|
|
|
733
733
|
(p) => m.write(e.stateKey, { page: p === 1 ? void 0 : p })
|
|
734
734
|
);
|
|
735
735
|
} else
|
|
736
|
-
|
|
736
|
+
xa.warn(
|
|
737
737
|
`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.`
|
|
738
738
|
);
|
|
739
739
|
}
|
|
740
740
|
const v = h({
|
|
741
741
|
get: () => t.value,
|
|
742
742
|
set: (m) => {
|
|
743
|
-
|
|
743
|
+
xa.warn(
|
|
744
744
|
"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."
|
|
745
745
|
), r(m);
|
|
746
746
|
}
|
|
@@ -778,11 +778,11 @@ function fu(e, a) {
|
|
|
778
778
|
t?.name && e.replace({ name: t.name, params: a });
|
|
779
779
|
}
|
|
780
780
|
const Mn = lt("blade-registry"), mu = Symbol("BladeRegistry");
|
|
781
|
-
function
|
|
781
|
+
function Da(e) {
|
|
782
782
|
return !(!e || typeof e != "function" && typeof e != "object");
|
|
783
783
|
}
|
|
784
784
|
function H$(e) {
|
|
785
|
-
const a =
|
|
785
|
+
const a = po(/* @__PURE__ */ new Map()), t = /* @__PURE__ */ new Map();
|
|
786
786
|
function l(v) {
|
|
787
787
|
return v.startsWith("/") ? v : `/${v}`;
|
|
788
788
|
}
|
|
@@ -791,9 +791,9 @@ function H$(e) {
|
|
|
791
791
|
throw new Error("BladeRegistry: Blade name must be a non-empty string");
|
|
792
792
|
if (!m?.component)
|
|
793
793
|
throw new Error(`BladeRegistry: Registration data must include a component for blade '${v}'`);
|
|
794
|
-
if (!
|
|
794
|
+
if (!Da(m.component))
|
|
795
795
|
throw new Error(`BladeRegistry: Invalid component provided for blade '${v}'`);
|
|
796
|
-
const p =
|
|
796
|
+
const p = Jc(v), y = m.component, b = p?.url ?? m.route, C = p?.isWorkspace ?? m.isWorkspace ?? !1, _ = p?.routable ?? m.routable !== !1, E = p?.permissions ?? m.permissions, T = p?.menuItem ?? y.menuItem, x = new Map(a.value);
|
|
797
797
|
if (x.has(v)) {
|
|
798
798
|
if (!g)
|
|
799
799
|
throw new Error(
|
|
@@ -812,7 +812,7 @@ function H$(e) {
|
|
|
812
812
|
routable: _,
|
|
813
813
|
permissions: E
|
|
814
814
|
};
|
|
815
|
-
x.set(v, k), a.value = x, b && t.set(l(b), v), b && T &&
|
|
815
|
+
x.set(v, k), a.value = x, b && t.set(l(b), v), b && T && ps({
|
|
816
816
|
...T,
|
|
817
817
|
url: b,
|
|
818
818
|
routeId: v,
|
|
@@ -831,7 +831,7 @@ function H$(e) {
|
|
|
831
831
|
return m.component;
|
|
832
832
|
try {
|
|
833
833
|
const g = e._context.components[v];
|
|
834
|
-
if (g &&
|
|
834
|
+
if (g && Da(g))
|
|
835
835
|
return g;
|
|
836
836
|
} catch (g) {
|
|
837
837
|
Mn.warn(`Error accessing global component '${v}':`, g);
|
|
@@ -863,7 +863,7 @@ function gu() {
|
|
|
863
863
|
);
|
|
864
864
|
return e;
|
|
865
865
|
}
|
|
866
|
-
const pu =
|
|
866
|
+
const pu = bs, bu = /* @__PURE__ */ Z({
|
|
867
867
|
__name: "vc-blade-slot",
|
|
868
868
|
props: {
|
|
869
869
|
descriptor: {},
|
|
@@ -886,20 +886,20 @@ const pu = hs, bu = /* @__PURE__ */ Z({
|
|
|
886
886
|
maximized: o.value,
|
|
887
887
|
breadcrumbs: v.value
|
|
888
888
|
}))
|
|
889
|
-
), Be(
|
|
890
|
-
|
|
889
|
+
), Be(Co, o), Be(_o, r), Be(
|
|
890
|
+
Eo,
|
|
891
891
|
h(() => t.backButton)
|
|
892
892
|
);
|
|
893
893
|
const m = Ht();
|
|
894
894
|
Be(
|
|
895
895
|
Ql,
|
|
896
|
-
m ?
|
|
896
|
+
m ? iu({
|
|
897
897
|
descriptor: h(() => t.descriptor),
|
|
898
898
|
router: m,
|
|
899
899
|
bladeStack: i
|
|
900
900
|
}) : void 0
|
|
901
901
|
);
|
|
902
|
-
const g =
|
|
902
|
+
const g = Jo();
|
|
903
903
|
oe(
|
|
904
904
|
d,
|
|
905
905
|
(_) => {
|
|
@@ -949,7 +949,7 @@ const pu = hs, bu = /* @__PURE__ */ Z({
|
|
|
949
949
|
_: 1
|
|
950
950
|
}));
|
|
951
951
|
}
|
|
952
|
-
}),
|
|
952
|
+
}), Na = /* @__PURE__ */ Z({
|
|
953
953
|
__name: "vc-button-group",
|
|
954
954
|
props: {
|
|
955
955
|
orientation: { default: "horizontal" },
|
|
@@ -958,7 +958,7 @@ const pu = hs, bu = /* @__PURE__ */ Z({
|
|
|
958
958
|
},
|
|
959
959
|
setup(e) {
|
|
960
960
|
const a = e;
|
|
961
|
-
Be(
|
|
961
|
+
Be(hs, {
|
|
962
962
|
size: Le(a, "size"),
|
|
963
963
|
attached: Le(a, "attached")
|
|
964
964
|
});
|
|
@@ -1317,7 +1317,7 @@ const pu = hs, bu = /* @__PURE__ */ Z({
|
|
|
1317
1317
|
key: 0,
|
|
1318
1318
|
class: "vc-breadcrumbs__item-separator",
|
|
1319
1319
|
"aria-hidden": "true"
|
|
1320
|
-
}, Iu = 36, xu = 60,
|
|
1320
|
+
}, Iu = 36, xu = 60, ei = /* @__PURE__ */ Z({
|
|
1321
1321
|
__name: "vc-breadcrumbs",
|
|
1322
1322
|
props: {
|
|
1323
1323
|
items: { default: () => [] },
|
|
@@ -1422,7 +1422,7 @@ const pu = hs, bu = /* @__PURE__ */ Z({
|
|
|
1422
1422
|
const a = e, t = B(), l = B(!1), c = () => {
|
|
1423
1423
|
a.onBack();
|
|
1424
1424
|
};
|
|
1425
|
-
|
|
1425
|
+
Ks(
|
|
1426
1426
|
t,
|
|
1427
1427
|
() => {
|
|
1428
1428
|
l.value = !0;
|
|
@@ -1432,12 +1432,12 @@ const pu = hs, bu = /* @__PURE__ */ Z({
|
|
|
1432
1432
|
const i = () => {
|
|
1433
1433
|
l.value = !1;
|
|
1434
1434
|
};
|
|
1435
|
-
return (o, r) => qe((s(), U(
|
|
1435
|
+
return (o, r) => qe((s(), U(ei, {
|
|
1436
1436
|
items: e.breadcrumbs,
|
|
1437
1437
|
collapsed: ""
|
|
1438
1438
|
}, {
|
|
1439
1439
|
trigger: P(({ click: d }) => [
|
|
1440
|
-
L(n(
|
|
1440
|
+
L(n(Rc), {
|
|
1441
1441
|
as: "button",
|
|
1442
1442
|
onTrigger: d
|
|
1443
1443
|
}, {
|
|
@@ -1462,7 +1462,7 @@ const pu = hs, bu = /* @__PURE__ */ Z({
|
|
|
1462
1462
|
[n(gl), i]
|
|
1463
1463
|
]);
|
|
1464
1464
|
}
|
|
1465
|
-
}),
|
|
1465
|
+
}), Ba = {
|
|
1466
1466
|
af: "za",
|
|
1467
1467
|
ar: "sa",
|
|
1468
1468
|
az: "az",
|
|
@@ -1541,7 +1541,7 @@ function sa(e, a) {
|
|
|
1541
1541
|
function ln(e) {
|
|
1542
1542
|
return e === void 0 ? !1 : yt(e) ? !!xe(e) : !!e;
|
|
1543
1543
|
}
|
|
1544
|
-
const Nu =
|
|
1544
|
+
const Nu = Uo.escape, Bu = Uo.mod.backslash;
|
|
1545
1545
|
function Pu(e) {
|
|
1546
1546
|
return !!(e.mod || e.ctrl || e.meta || e.alt || e.shift);
|
|
1547
1547
|
}
|
|
@@ -1566,7 +1566,7 @@ function Vu(e) {
|
|
|
1566
1566
|
for (const u of d) {
|
|
1567
1567
|
const v = u.shortcut;
|
|
1568
1568
|
if (v && Tn(v, c, e.isMac)) {
|
|
1569
|
-
if (!Pu(v) &&
|
|
1569
|
+
if (!Pu(v) && Us() || (c.preventDefault(), !e.isEnabled(u))) return;
|
|
1570
1570
|
await t(`${o}::${u.id ?? "item"}`, () => u.clickHandler?.());
|
|
1571
1571
|
return;
|
|
1572
1572
|
}
|
|
@@ -1583,9 +1583,9 @@ function Vu(e) {
|
|
|
1583
1583
|
}
|
|
1584
1584
|
};
|
|
1585
1585
|
}
|
|
1586
|
-
const
|
|
1586
|
+
const Pa = "data-blade-id";
|
|
1587
1587
|
function Uu(e, a, t) {
|
|
1588
|
-
const c = t?.closest?.(`[${
|
|
1588
|
+
const c = t?.closest?.(`[${Pa}]`)?.getAttribute(Pa);
|
|
1589
1589
|
if (!c) return a;
|
|
1590
1590
|
const i = e.find((o) => o.id === c);
|
|
1591
1591
|
return !i || i.visible === !1 ? a : i;
|
|
@@ -1596,18 +1596,18 @@ const Fu = ["aria-label"], zu = {
|
|
|
1596
1596
|
}, Hu = /* @__PURE__ */ Z({
|
|
1597
1597
|
__name: "vc-blade-navigation-new",
|
|
1598
1598
|
setup(e) {
|
|
1599
|
-
const { t: a } = ze(), t = zt(), l =
|
|
1599
|
+
const { t: a } = ze(), t = zt(), l = Jo(), c = Ht(), { syncUrlReplace: i } = Zo(c, t);
|
|
1600
1600
|
tt(() => {
|
|
1601
1601
|
t.blades.value.length !== 0 && $e(() => {
|
|
1602
1602
|
i();
|
|
1603
1603
|
});
|
|
1604
1604
|
});
|
|
1605
|
-
const o = h(() => t.blades.value), r = h(() => t.activeBlade.value), d = h(() => o.value.find((k) => t.isMaximized(k.id))?.id), u = h(() => o.value.length > 0), v = h(() => o.value.filter((k) => k.visible).length), { isMobile: m } = Fe(), g = we(
|
|
1605
|
+
const o = h(() => t.blades.value), r = h(() => t.activeBlade.value), d = h(() => o.value.find((k) => t.isMaximized(k.id))?.id), u = h(() => o.value.length > 0), v = h(() => o.value.filter((k) => k.visible).length), { isMobile: m } = Fe(), g = we(is, void 0), p = h(() => g?.isExpanded.value ?? !1), y = h(() => m.value || p.value ? 1 : 2);
|
|
1606
1606
|
function b(k, M) {
|
|
1607
1607
|
return k.visible ? M >= v.value - y.value : !1;
|
|
1608
1608
|
}
|
|
1609
|
-
const { getToolbarItems: C } =
|
|
1610
|
-
isMac:
|
|
1609
|
+
const { getToolbarItems: C } = Ao(), { hasAccess: _ } = fl(), E = Vu({
|
|
1610
|
+
isMac: Fs(),
|
|
1611
1611
|
// Shortcuts act on the blade holding focus, not on whatever sits on top of
|
|
1612
1612
|
// the stack (VCST-5680). Read live: focus moves without the stack changing.
|
|
1613
1613
|
getActiveBlade: () => Uu(
|
|
@@ -1622,7 +1622,7 @@ const Fu = ["aria-label"], zu = {
|
|
|
1622
1622
|
toggleMaximized: (k) => t.toggleMaximized(k),
|
|
1623
1623
|
isModalOpen: () => typeof document < "u" && document.querySelector('[aria-modal="true"]') !== null
|
|
1624
1624
|
});
|
|
1625
|
-
|
|
1625
|
+
Ys(window, "keydown", E);
|
|
1626
1626
|
async function T(k) {
|
|
1627
1627
|
await t.closeBlade(k);
|
|
1628
1628
|
}
|
|
@@ -1637,7 +1637,7 @@ const Fu = ["aria-label"], zu = {
|
|
|
1637
1637
|
function F(k) {
|
|
1638
1638
|
const M = o.value[k];
|
|
1639
1639
|
if (!(k <= 0 || !M))
|
|
1640
|
-
return
|
|
1640
|
+
return bo(Du, {
|
|
1641
1641
|
breadcrumbs: t.trailFor(M.id),
|
|
1642
1642
|
onBack: async () => {
|
|
1643
1643
|
await t.closeBlade(M.id);
|
|
@@ -1661,23 +1661,23 @@ const Fu = ["aria-label"], zu = {
|
|
|
1661
1661
|
onClose: T,
|
|
1662
1662
|
onParentCall: x
|
|
1663
1663
|
}, null, 8, ["descriptor", "closable", "expanded", "visible", "back-button", "inert"]))), 128))
|
|
1664
|
-
])) : (s(), U(n(
|
|
1664
|
+
])) : (s(), U(n($c), { key: 0 }))
|
|
1665
1665
|
], 8, Fu));
|
|
1666
1666
|
}
|
|
1667
|
-
}),
|
|
1668
|
-
let
|
|
1669
|
-
const Wu =
|
|
1670
|
-
|
|
1667
|
+
}), ti = Symbol("PopupPlugin"), li = Symbol("PopupInstance");
|
|
1668
|
+
let ni;
|
|
1669
|
+
const Wu = ys((e) => {
|
|
1670
|
+
ni = e ?? void 0;
|
|
1671
1671
|
});
|
|
1672
1672
|
function W$(e) {
|
|
1673
1673
|
Wu.register(e);
|
|
1674
1674
|
}
|
|
1675
|
-
const
|
|
1675
|
+
const ai = ws();
|
|
1676
1676
|
function G$(e, a) {
|
|
1677
|
-
|
|
1677
|
+
ai.register(e, a);
|
|
1678
1678
|
}
|
|
1679
1679
|
function Ln(e) {
|
|
1680
|
-
return
|
|
1680
|
+
return ai.get(e);
|
|
1681
1681
|
}
|
|
1682
1682
|
const Gu = { class: "vc-popup__center" }, qu = { class: "vc-popup__header" }, Ku = ["aria-label"], Yu = { class: "vc-popup__content" }, ju = {
|
|
1683
1683
|
key: 0,
|
|
@@ -1702,7 +1702,7 @@ const Gu = { class: "vc-popup__center" }, qu = { class: "vc-popup__header" }, Ku
|
|
|
1702
1702
|
error: { icon: "lucide-circle-alert", className: "vc-popup__icon--error" },
|
|
1703
1703
|
success: { icon: "lucide-circle-check", className: "vc-popup__icon--success" },
|
|
1704
1704
|
info: { icon: "lucide-info", className: "vc-popup__icon--info" }
|
|
1705
|
-
}, u = we(
|
|
1705
|
+
}, u = we(li, void 0), v = h(() => t.modelValue !== void 0 ? t.modelValue : !u?.closing.value);
|
|
1706
1706
|
let m = null;
|
|
1707
1707
|
oe(
|
|
1708
1708
|
v,
|
|
@@ -1718,7 +1718,7 @@ const Gu = { class: "vc-popup__center" }, qu = { class: "vc-popup__header" }, Ku
|
|
|
1718
1718
|
function g() {
|
|
1719
1719
|
u?.finalize();
|
|
1720
1720
|
const k = m;
|
|
1721
|
-
m = null, St(() => k?.isConnected ? k :
|
|
1721
|
+
m = null, St(() => k?.isConnected ? k : Qo());
|
|
1722
1722
|
}
|
|
1723
1723
|
const p = h(() => t.closeOnOverlay ?? t.closable), y = h(() => t.closeOnEscape ?? t.closable), b = h(() => t.variant === "default" ? "" : d[t.variant].icon), C = h(() => t.variant === "default" ? "" : d[t.variant].className), _ = h(() => o.value && t.isMobileFullscreen);
|
|
1724
1724
|
function E(k) {
|
|
@@ -1734,14 +1734,14 @@ const Gu = { class: "vc-popup__center" }, qu = { class: "vc-popup__header" }, Ku
|
|
|
1734
1734
|
const k = r.value ?? "overlay";
|
|
1735
1735
|
r.value = null, !(k === "overlay" && !p.value) && (k === "escape" && !y.value || E(k));
|
|
1736
1736
|
}
|
|
1737
|
-
return (k, M) => (s(), U(n(
|
|
1737
|
+
return (k, M) => (s(), U(n(Pc), {
|
|
1738
1738
|
appear: "",
|
|
1739
1739
|
show: v.value,
|
|
1740
1740
|
as: "template",
|
|
1741
1741
|
onAfterLeave: g
|
|
1742
1742
|
}, {
|
|
1743
1743
|
default: P(() => [
|
|
1744
|
-
L(n(
|
|
1744
|
+
L(n(Vc), {
|
|
1745
1745
|
as: "div",
|
|
1746
1746
|
class: "vc-popup",
|
|
1747
1747
|
"aria-labelledby": i,
|
|
@@ -1781,7 +1781,7 @@ const Gu = { class: "vc-popup__center" }, qu = { class: "vc-popup__header" }, Ku
|
|
|
1781
1781
|
"leave-to": "vc-popup__dialog-leave-to"
|
|
1782
1782
|
}, {
|
|
1783
1783
|
default: P(() => [
|
|
1784
|
-
L(n(
|
|
1784
|
+
L(n(Uc), {
|
|
1785
1785
|
class: Y(["vc-popup__panel", [
|
|
1786
1786
|
{
|
|
1787
1787
|
"vc-popup__panel--desktop": !_.value,
|
|
@@ -1793,7 +1793,7 @@ const Gu = { class: "vc-popup__center" }, qu = { class: "vc-popup__header" }, Ku
|
|
|
1793
1793
|
}, {
|
|
1794
1794
|
default: P(() => [
|
|
1795
1795
|
w("div", qu, [
|
|
1796
|
-
L(n(
|
|
1796
|
+
L(n(Fc), {
|
|
1797
1797
|
id: i,
|
|
1798
1798
|
as: "h3",
|
|
1799
1799
|
class: "vc-popup__title"
|
|
@@ -1875,7 +1875,7 @@ const Gu = { class: "vc-popup__center" }, qu = { class: "vc-popup__header" }, Ku
|
|
|
1875
1875
|
});
|
|
1876
1876
|
function Xu() {
|
|
1877
1877
|
if (Lt())
|
|
1878
|
-
return we(
|
|
1878
|
+
return we(ti, void 0);
|
|
1879
1879
|
}
|
|
1880
1880
|
const Qu = /* @__PURE__ */ Z({
|
|
1881
1881
|
__name: "PopupInstanceProvider",
|
|
@@ -1885,7 +1885,7 @@ const Qu = /* @__PURE__ */ Z({
|
|
|
1885
1885
|
emits: ["finalize"],
|
|
1886
1886
|
setup(e, { emit: a }) {
|
|
1887
1887
|
const t = e, l = a;
|
|
1888
|
-
return Be(
|
|
1888
|
+
return Be(li, {
|
|
1889
1889
|
closing: h(() => t.closing),
|
|
1890
1890
|
finalize: () => l("finalize")
|
|
1891
1891
|
}), (c, i) => G(c.$slots, "default");
|
|
@@ -1898,7 +1898,7 @@ const Qu = /* @__PURE__ */ Z({
|
|
|
1898
1898
|
c.finalize?.();
|
|
1899
1899
|
}
|
|
1900
1900
|
function l(c) {
|
|
1901
|
-
return
|
|
1901
|
+
return Wo.sanitize(c, {
|
|
1902
1902
|
ALLOWED_TAGS: [
|
|
1903
1903
|
"p",
|
|
1904
1904
|
"br",
|
|
@@ -1960,13 +1960,13 @@ const Qu = /* @__PURE__ */ Z({
|
|
|
1960
1960
|
}, 1032, ["closing", "onFinalize"]))), 128));
|
|
1961
1961
|
}
|
|
1962
1962
|
}), ed = Zu, In = lt("use-popup"), td = 400;
|
|
1963
|
-
function
|
|
1964
|
-
return a?.html ? e : () =>
|
|
1963
|
+
function Va(e, a) {
|
|
1964
|
+
return a?.html ? e : () => bo("div", { class: "tw-h-full tw-w-full" }, n(e));
|
|
1965
1965
|
}
|
|
1966
1966
|
function ld() {
|
|
1967
|
-
return Lt() && we(
|
|
1967
|
+
return Lt() && we(ti, void 0) || ni;
|
|
1968
1968
|
}
|
|
1969
|
-
function
|
|
1969
|
+
function oi(e) {
|
|
1970
1970
|
const { t: a } = ze({ useScope: "global" }), t = ld(), l = /* @__PURE__ */ new WeakMap();
|
|
1971
1971
|
let c;
|
|
1972
1972
|
e && (c = _(n(e))), oe(
|
|
@@ -2007,7 +2007,7 @@ function ii(e) {
|
|
|
2007
2007
|
T !== void 0 && (clearTimeout(T), l.delete(E));
|
|
2008
2008
|
}
|
|
2009
2009
|
function m(E) {
|
|
2010
|
-
St(() => E?.isConnected ? E :
|
|
2010
|
+
St(() => E?.isConnected ? E : Qo());
|
|
2011
2011
|
}
|
|
2012
2012
|
function g(E) {
|
|
2013
2013
|
const T = o(E);
|
|
@@ -2034,7 +2034,7 @@ function ii(e) {
|
|
|
2034
2034
|
}
|
|
2035
2035
|
},
|
|
2036
2036
|
slots: {
|
|
2037
|
-
default:
|
|
2037
|
+
default: Va(x, F)
|
|
2038
2038
|
}
|
|
2039
2039
|
});
|
|
2040
2040
|
return r(k), k;
|
|
@@ -2056,7 +2056,7 @@ function ii(e) {
|
|
|
2056
2056
|
}
|
|
2057
2057
|
},
|
|
2058
2058
|
slots: {
|
|
2059
|
-
default:
|
|
2059
|
+
default: Va(E, T)
|
|
2060
2060
|
}
|
|
2061
2061
|
});
|
|
2062
2062
|
r(k);
|
|
@@ -2109,7 +2109,7 @@ function nd(e) {
|
|
|
2109
2109
|
return {
|
|
2110
2110
|
...e,
|
|
2111
2111
|
slots: a,
|
|
2112
|
-
component: zn(
|
|
2112
|
+
component: zn(po(e.component))
|
|
2113
2113
|
};
|
|
2114
2114
|
}
|
|
2115
2115
|
const ad = { class: "vc-blade-header__status-container" }, od = {
|
|
@@ -2223,7 +2223,7 @@ const ad = { class: "vc-blade-header__status-container" }, od = {
|
|
|
2223
2223
|
G(y.$slots, "actions")
|
|
2224
2224
|
])) : I("", !0)
|
|
2225
2225
|
]),
|
|
2226
|
-
!n(c) && e.closable ? (s(), U(n(
|
|
2226
|
+
!n(c) && e.closable ? (s(), U(n(zs), {
|
|
2227
2227
|
key: 3,
|
|
2228
2228
|
maximized: !!n(i)?.maximized,
|
|
2229
2229
|
onExpand: m,
|
|
@@ -2239,7 +2239,7 @@ const ad = { class: "vc-blade-header__status-container" }, od = {
|
|
|
2239
2239
|
}, bd = { class: "vc-badge__content" }, hd = ["role", "tabindex", "aria-disabled", "aria-label", "onKeydown"], yd = {
|
|
2240
2240
|
key: 0,
|
|
2241
2241
|
class: "vc-badge__text"
|
|
2242
|
-
},
|
|
2242
|
+
}, ii = /* @__PURE__ */ Z({
|
|
2243
2243
|
__name: "vc-badge",
|
|
2244
2244
|
props: {
|
|
2245
2245
|
active: { type: Boolean },
|
|
@@ -2445,7 +2445,7 @@ const ad = { class: "vc-blade-header__status-container" }, od = {
|
|
|
2445
2445
|
G(a.$slots, "default")
|
|
2446
2446
|
], 4));
|
|
2447
2447
|
}
|
|
2448
|
-
}), Y$ =
|
|
2448
|
+
}), Y$ = Cs, Rd = ["aria-busy"], Td = { class: "tw-sr-only" }, Ad = /* @__PURE__ */ Z({
|
|
2449
2449
|
__name: "vc-loading",
|
|
2450
2450
|
props: {
|
|
2451
2451
|
active: { type: Boolean }
|
|
@@ -2569,7 +2569,7 @@ const ad = { class: "vc-blade-header__status-container" }, od = {
|
|
|
2569
2569
|
])
|
|
2570
2570
|
]));
|
|
2571
2571
|
}
|
|
2572
|
-
}),
|
|
2572
|
+
}), si = Symbol("WidgetRenderState"), nn = {
|
|
2573
2573
|
info: "info",
|
|
2574
2574
|
warning: "warning",
|
|
2575
2575
|
error: "danger",
|
|
@@ -2594,7 +2594,7 @@ const ad = { class: "vc-blade-header__status-container" }, od = {
|
|
|
2594
2594
|
function c() {
|
|
2595
2595
|
t.disabled || l("click");
|
|
2596
2596
|
}
|
|
2597
|
-
const i = h(() =>
|
|
2597
|
+
const i = h(() => Hc(t.value)), o = we(si, null), r = h(() => o?.editing.value ?? !1), d = h(() => !r.value), u = h(() => {
|
|
2598
2598
|
const _ = o?.alertSeverity.value;
|
|
2599
2599
|
return _ ? nn[_] : void 0;
|
|
2600
2600
|
}), v = h(() => r.value ? void 0 : o?.alertsDescription?.value), m = h(() => o?.alertsOpen?.value ?? !1), g = `vc-widget-alerts-${It()}`;
|
|
@@ -2634,7 +2634,7 @@ const ad = { class: "vc-blade-header__status-container" }, od = {
|
|
|
2634
2634
|
Me(ve(c, ["prevent"]), ["space"])
|
|
2635
2635
|
]
|
|
2636
2636
|
}, [
|
|
2637
|
-
L(n(
|
|
2637
|
+
L(n(ii), {
|
|
2638
2638
|
content: d.value ? i.value : void 0,
|
|
2639
2639
|
class: Y({ "vc-widget__badge--changed": p.value }),
|
|
2640
2640
|
"custom-position": "",
|
|
@@ -2927,7 +2927,7 @@ const ad = { class: "vc-blade-header__status-container" }, od = {
|
|
|
2927
2927
|
}
|
|
2928
2928
|
}
|
|
2929
2929
|
}
|
|
2930
|
-
return (u, v) => e.shortcut ? (s(), U(n(
|
|
2930
|
+
return (u, v) => e.shortcut ? (s(), U(n(Hs), {
|
|
2931
2931
|
key: 0,
|
|
2932
2932
|
shortcut: e.shortcut
|
|
2933
2933
|
}, {
|
|
@@ -3051,9 +3051,9 @@ const ad = { class: "vc-blade-header__status-container" }, od = {
|
|
|
3051
3051
|
}
|
|
3052
3052
|
}), hv = "prop_toolbar_item_";
|
|
3053
3053
|
function yv(e) {
|
|
3054
|
-
const { hasAccess: a } = fl(), { registerToolbarItem: t, unregisterToolbarItem: l, getToolbarItems: c, updateToolbarItem: i } =
|
|
3054
|
+
const { hasAccess: a } = fl(), { registerToolbarItem: t, unregisterToolbarItem: l, getToolbarItems: c, updateToolbarItem: i } = Ao({
|
|
3055
3055
|
autoCleanup: !1
|
|
3056
|
-
}), { id: o } = ta(), r = h(() => (o.value ??
|
|
3056
|
+
}), { id: o } = ta(), r = h(() => (o.value ?? _s).toLowerCase()), { isMobile: d } = Fe(), u = /* @__PURE__ */ new Set(), v = B(r.value);
|
|
3057
3057
|
function m(b, C) {
|
|
3058
3058
|
const _ = v.value, E = b.id || `${hv}${_}_${C}`;
|
|
3059
3059
|
return {
|
|
@@ -3195,7 +3195,7 @@ const $v = ["role"], Rv = { class: "vc-blade-status-banners__text" }, Tv = ["tit
|
|
|
3195
3195
|
}, Iv = {
|
|
3196
3196
|
key: 0,
|
|
3197
3197
|
class: "vc-blade-status-banners__text"
|
|
3198
|
-
}, xv = ["onClick"], Dv = ["title", "onClick"], Tl = "__system-error__",
|
|
3198
|
+
}, xv = ["onClick"], Dv = ["title", "onClick"], Tl = "__system-error__", Ua = "__system-modified__", Nv = /* @__PURE__ */ Z({
|
|
3199
3199
|
__name: "BladeStatusBanners",
|
|
3200
3200
|
props: {
|
|
3201
3201
|
modified: { type: Boolean }
|
|
@@ -3208,7 +3208,7 @@ const $v = ["role"], Rv = { class: "vc-blade-status-banners__text" }, Tv = ["tit
|
|
|
3208
3208
|
setup(k) {
|
|
3209
3209
|
return () => k.renderFn();
|
|
3210
3210
|
}
|
|
3211
|
-
}), t = e, l = we(rl, void 0), c = we(
|
|
3211
|
+
}), t = e, l = we(rl, void 0), c = we(_o, void 0), i = we(So, void 0), { t: o } = ze({ useScope: "global" }), { hasError: r, shortErrorMessage: d, errorDetails: u, copyError: v } = kv(l), {
|
|
3212
3212
|
contentRef: m,
|
|
3213
3213
|
isExpanded: g,
|
|
3214
3214
|
wrapperStyle: p,
|
|
@@ -3240,9 +3240,9 @@ const $v = ["role"], Rv = { class: "vc-blade-status-banners__text" }, Tv = ["tit
|
|
|
3240
3240
|
() => t.modified,
|
|
3241
3241
|
(k) => {
|
|
3242
3242
|
if (!c) return;
|
|
3243
|
-
const M = c.value.findIndex((N) => N.id ===
|
|
3243
|
+
const M = c.value.findIndex((N) => N.id === Ua);
|
|
3244
3244
|
k && M === -1 ? c.value.push({
|
|
3245
|
-
id:
|
|
3245
|
+
id: Ua,
|
|
3246
3246
|
variant: "warning",
|
|
3247
3247
|
icon: "lucide-pencil",
|
|
3248
3248
|
message: o("COMPONENTS.ORGANISMS.VC_BLADE.UNSAVED_CHANGES"),
|
|
@@ -3364,24 +3364,24 @@ const $v = ["role"], Rv = { class: "vc-blade-status-banners__text" }, Tv = ["tit
|
|
|
3364
3364
|
}
|
|
3365
3365
|
}), Bv = lt("use-widgets");
|
|
3366
3366
|
function Pv() {
|
|
3367
|
-
const e = we(
|
|
3367
|
+
const e = we(ko);
|
|
3368
3368
|
if (!e)
|
|
3369
3369
|
throw Bv.error("Widget service not found in current context. Injection chain:", Lt()), new Wl("WidgetService");
|
|
3370
3370
|
return e;
|
|
3371
3371
|
}
|
|
3372
|
-
const
|
|
3372
|
+
const Fa = /* @__PURE__ */ Z({
|
|
3373
3373
|
__name: "WidgetScope",
|
|
3374
3374
|
props: {
|
|
3375
3375
|
widgetId: {},
|
|
3376
3376
|
renderState: {}
|
|
3377
3377
|
},
|
|
3378
3378
|
setup(e) {
|
|
3379
|
-
const a = e, t = we(
|
|
3380
|
-
return Be(
|
|
3379
|
+
const a = e, t = we(ko), c = we(rl, void 0)?.value.id ?? "";
|
|
3380
|
+
return Be(ss, {
|
|
3381
3381
|
setTrigger: (o) => {
|
|
3382
3382
|
t.updateWidget({ id: a.widgetId, bladeId: c, widget: { trigger: o } });
|
|
3383
3383
|
}
|
|
3384
|
-
}), a.renderState && Be(
|
|
3384
|
+
}), a.renderState && Be(si, a.renderState), (o, r) => G(o.$slots, "default");
|
|
3385
3385
|
}
|
|
3386
3386
|
}), Vv = ["inert", "role", "aria-label"], Uv = {
|
|
3387
3387
|
key: 0,
|
|
@@ -3419,7 +3419,7 @@ const za = /* @__PURE__ */ Z({
|
|
|
3419
3419
|
la(4),
|
|
3420
3420
|
na(),
|
|
3421
3421
|
Kl({ padding: 16 }),
|
|
3422
|
-
|
|
3422
|
+
qs({
|
|
3423
3423
|
padding: 16,
|
|
3424
3424
|
apply({ availableHeight: _, elements: E }) {
|
|
3425
3425
|
Object.assign(E.floating.style, {
|
|
@@ -3514,7 +3514,7 @@ const za = /* @__PURE__ */ Z({
|
|
|
3514
3514
|
})
|
|
3515
3515
|
], 8, ["to"]));
|
|
3516
3516
|
}
|
|
3517
|
-
}),
|
|
3517
|
+
}), za = { info: 0, warning: 1, error: 2, critical: 3 };
|
|
3518
3518
|
function an(e) {
|
|
3519
3519
|
const a = e.headless?.alerts ?? e.trigger?.alerts;
|
|
3520
3520
|
return a && n(a) || [];
|
|
@@ -3522,10 +3522,10 @@ function an(e) {
|
|
|
3522
3522
|
function ra(e) {
|
|
3523
3523
|
let a;
|
|
3524
3524
|
for (const { severity: t } of e)
|
|
3525
|
-
(!a ||
|
|
3525
|
+
(!a || za[t] > za[a]) && (a = t);
|
|
3526
3526
|
return a;
|
|
3527
3527
|
}
|
|
3528
|
-
function
|
|
3528
|
+
function ri(e) {
|
|
3529
3529
|
const a = [], t = [];
|
|
3530
3530
|
for (const l of e) (an(l).length ? a : t).push(l);
|
|
3531
3531
|
return [...a, ...t];
|
|
@@ -3651,7 +3651,7 @@ function ca() {
|
|
|
3651
3651
|
}
|
|
3652
3652
|
return { resolveBadge: a, resolveLoading: t, resolveDisabled: l, resolveTitle: c, handleHeadlessClick: i };
|
|
3653
3653
|
}
|
|
3654
|
-
const ef = 300, tf = 200,
|
|
3654
|
+
const ef = 300, tf = 200, Ha = 1e3, Ul = /* @__PURE__ */ Z({
|
|
3655
3655
|
__name: "WidgetItem",
|
|
3656
3656
|
props: {
|
|
3657
3657
|
widget: {},
|
|
@@ -3684,7 +3684,7 @@ const ef = 300, tf = 200, Wa = 1e3, Ul = /* @__PURE__ */ Z({
|
|
|
3684
3684
|
V && !g.value && (C.value = X, E.value = !1), g.value = V;
|
|
3685
3685
|
}
|
|
3686
3686
|
function D() {
|
|
3687
|
-
clearTimeout(F), !(Date.now() - T <
|
|
3687
|
+
clearTimeout(F), !(Date.now() - T < Ha) && (!M() || g.value || (clearTimeout(x), x = setTimeout(() => $(!0), ef)));
|
|
3688
3688
|
}
|
|
3689
3689
|
function A() {
|
|
3690
3690
|
clearTimeout(x), clearTimeout(F), F = setTimeout(() => $(!1), tf);
|
|
@@ -3715,7 +3715,7 @@ const ef = 300, tf = 200, Wa = 1e3, Ul = /* @__PURE__ */ Z({
|
|
|
3715
3715
|
), He(N);
|
|
3716
3716
|
function j(ee) {
|
|
3717
3717
|
if (k) return;
|
|
3718
|
-
const X = ee.type === "click" && Date.now() - T <
|
|
3718
|
+
const X = ee.type === "click" && Date.now() - T < Ha && M() && !g.value;
|
|
3719
3719
|
!t.editing && !X || (ee.stopPropagation(), ee.preventDefault(), X && ($(!0), E.value = !0));
|
|
3720
3720
|
}
|
|
3721
3721
|
function ne(ee) {
|
|
@@ -3762,7 +3762,7 @@ const ef = 300, tf = 200, Wa = 1e3, Ul = /* @__PURE__ */ Z({
|
|
|
3762
3762
|
class: "tw-mt-1"
|
|
3763
3763
|
})
|
|
3764
3764
|
], 64))
|
|
3765
|
-
], 2)) : (s(), U(
|
|
3765
|
+
], 2)) : (s(), U(Fa, {
|
|
3766
3766
|
key: 1,
|
|
3767
3767
|
"widget-id": e.widget.id,
|
|
3768
3768
|
"render-state": p
|
|
@@ -3781,7 +3781,7 @@ const ef = 300, tf = 200, Wa = 1e3, Ul = /* @__PURE__ */ Z({
|
|
|
3781
3781
|
]),
|
|
3782
3782
|
_: 1
|
|
3783
3783
|
}, 8, ["widget-id"]))
|
|
3784
|
-
], 64)) : (s(), U(
|
|
3784
|
+
], 64)) : (s(), U(Fa, {
|
|
3785
3785
|
key: 1,
|
|
3786
3786
|
"widget-id": e.widget.id,
|
|
3787
3787
|
"render-state": p
|
|
@@ -3792,7 +3792,7 @@ const ef = 300, tf = 200, Wa = 1e3, Ul = /* @__PURE__ */ Z({
|
|
|
3792
3792
|
}, e.widget.props || {}, {
|
|
3793
3793
|
horizontal: e.horizontal || void 0,
|
|
3794
3794
|
"widget-id": e.widget.id
|
|
3795
|
-
},
|
|
3795
|
+
}, Zi(e.widget.events || {})), null, 16, ["class", "horizontal", "widget-id"]))
|
|
3796
3796
|
]),
|
|
3797
3797
|
_: 1
|
|
3798
3798
|
}, 8, ["widget-id"])),
|
|
@@ -3816,11 +3816,11 @@ const ef = 300, tf = 200, Wa = 1e3, Ul = /* @__PURE__ */ Z({
|
|
|
3816
3816
|
function lf(e) {
|
|
3817
3817
|
return `VC_BLADE_WIDGETS_${e.toUpperCase()}`;
|
|
3818
3818
|
}
|
|
3819
|
-
const
|
|
3819
|
+
const Wa = (e) => Array.isArray(e) && e.every((a) => typeof a == "string"), nf = {
|
|
3820
3820
|
read(e) {
|
|
3821
3821
|
try {
|
|
3822
3822
|
const a = JSON.parse(e);
|
|
3823
|
-
if (a &&
|
|
3823
|
+
if (a && Wa(a.strip) && Wa(a.overflow))
|
|
3824
3824
|
return { strip: a.strip, overflow: a.overflow };
|
|
3825
3825
|
} catch {
|
|
3826
3826
|
}
|
|
@@ -3834,7 +3834,7 @@ function af(e, a, t = Vt) {
|
|
|
3834
3834
|
const l = new Set(e), c = (g) => [...new Set(g ?? [])].filter((p) => l.has(p)), i = c(a?.strip), o = c(a?.overflow).filter((g) => !i.includes(g)), r = /* @__PURE__ */ new Set([...a?.strip ?? [], ...a?.overflow ?? []]), d = e.filter((g) => !r.has(g)), u = i.slice(0, t), v = i.slice(t), m = a ? [] : d.slice(0, t);
|
|
3835
3835
|
return u.push(...m), v.push(...o, ...d.slice(m.length)), { strip: u, overflow: v };
|
|
3836
3836
|
}
|
|
3837
|
-
function
|
|
3837
|
+
function ci(e, a) {
|
|
3838
3838
|
const t = ml(lf(xe(e)), null, {
|
|
3839
3839
|
serializer: nf,
|
|
3840
3840
|
writeDefaults: !1,
|
|
@@ -3904,7 +3904,7 @@ function ui(e, a) {
|
|
|
3904
3904
|
};
|
|
3905
3905
|
}
|
|
3906
3906
|
const Zt = (e) => e.dataset.widgetList === "overflow" ? "overflow" : "strip";
|
|
3907
|
-
function
|
|
3907
|
+
function Ga(e, a) {
|
|
3908
3908
|
let t = null;
|
|
3909
3909
|
function l(i) {
|
|
3910
3910
|
c(), t = Tt.create(i, {
|
|
@@ -3941,7 +3941,7 @@ const of = 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-
|
|
|
3941
3941
|
function sf(e) {
|
|
3942
3942
|
return (e.closest("[dir]")?.getAttribute("dir") || document.documentElement.dir) === "rtl";
|
|
3943
3943
|
}
|
|
3944
|
-
function
|
|
3944
|
+
function ui(e) {
|
|
3945
3945
|
const { layout: a, stripEl: t, overflowEl: l } = e, c = e.focusSelector ?? `.vc-widget-item ${of}`;
|
|
3946
3946
|
function i({ fromList: C, toList: _, from: E, to: T, id: x }) {
|
|
3947
3947
|
C === _ ? a.reorder(C, E, T) : _ === "strip" ? a.moveToStrip(x, T) : a.moveToOverflow(x, T);
|
|
@@ -3953,7 +3953,7 @@ function di(e) {
|
|
|
3953
3953
|
onMove: i,
|
|
3954
3954
|
canPut: (C) => C !== "strip" || a.canAddToStrip.value
|
|
3955
3955
|
};
|
|
3956
|
-
|
|
3956
|
+
Ga(t, o), Ga(l, o);
|
|
3957
3957
|
function r(C) {
|
|
3958
3958
|
return C.target?.closest("[data-widget-id]")?.dataset.widgetId ?? void 0;
|
|
3959
3959
|
}
|
|
@@ -4008,7 +4008,7 @@ const rf = { class: "vc-widget-container-desktop" }, cf = { class: "vc-widget-co
|
|
|
4008
4008
|
bladeName: { default: "" }
|
|
4009
4009
|
},
|
|
4010
4010
|
setup(e) {
|
|
4011
|
-
const a = e, { t } = ze(), { resolveTitle: l } = ca(), c =
|
|
4011
|
+
const a = e, { t } = ze(), { resolveTitle: l } = ca(), c = ci(
|
|
4012
4012
|
() => a.bladeName,
|
|
4013
4013
|
() => a.widgets
|
|
4014
4014
|
), { strip: i, overflow: o, editing: r, canAddToStrip: d, startEdit: u, commit: v, cancel: m, reset: g } = c, p = B(!1), y = h(() => !!a.bladeName), b = B(), { visibleItems: C, hiddenItems: _, naturalWidth: E } = Jl({
|
|
@@ -4018,7 +4018,7 @@ const rf = { class: "vc-widget-container-desktop" }, cf = { class: "vc-widget-co
|
|
|
4018
4018
|
moreButtonWidth: 0,
|
|
4019
4019
|
initialItemWidth: 80
|
|
4020
4020
|
}), T = h(() => r.value ? i.value : C.value), x = h(() => r.value ? [] : _.value), F = h(() => y.value || o.value.length > 0 || x.value.length > 0), k = (ee) => l(ee), M = h(
|
|
4021
|
-
() => r.value ? o.value : [...x.value, ...
|
|
4021
|
+
() => r.value ? o.value : [...x.value, ...ri(o.value)]
|
|
4022
4022
|
), N = h(() => [...x.value, ...o.value].flatMap(an)), $ = h(() => {
|
|
4023
4023
|
const ee = ra(N.value);
|
|
4024
4024
|
return ee ? nn[ee] : void 0;
|
|
@@ -4040,7 +4040,7 @@ const rf = { class: "vc-widget-container-desktop" }, cf = { class: "vc-widget-co
|
|
|
4040
4040
|
function H() {
|
|
4041
4041
|
r.value || (p.value = !1);
|
|
4042
4042
|
}
|
|
4043
|
-
const K = B(), { onStripKeydown: j, onOverflowKeydown: ne, moveToStrip: se, moveToOverflow: q } =
|
|
4043
|
+
const K = B(), { onStripKeydown: j, onOverflowKeydown: ne, moveToStrip: se, moveToOverflow: q } = ui({
|
|
4044
4044
|
layout: c,
|
|
4045
4045
|
stripEl: b,
|
|
4046
4046
|
overflowEl: K,
|
|
@@ -4502,7 +4502,7 @@ const rf = { class: "vc-widget-container-desktop" }, cf = { class: "vc-widget-co
|
|
|
4502
4502
|
bladeName: { default: "" }
|
|
4503
4503
|
},
|
|
4504
4504
|
setup(e) {
|
|
4505
|
-
const a = e, { t } = ze(), { resolveTitle: l } = ca(), c =
|
|
4505
|
+
const a = e, { t } = ze(), { resolveTitle: l } = ca(), c = ci(
|
|
4506
4506
|
() => a.bladeName,
|
|
4507
4507
|
() => a.widgets
|
|
4508
4508
|
), { strip: i, overflow: o, editing: r, canAddToStrip: d, startEdit: u, commit: v, reset: m } = c, g = B(null), p = B(!1), y = h(() => a.widgets.length > 0), b = h(() => !!a.bladeName), C = (X) => l(X) || X.trigger?.title || "", _ = (X) => X.headless?.icon ?? X.trigger?.icon, E = B(null), T = (X) => X.flatMap((V) => a.widgets.find((J) => J.id === V) ?? []), x = h(() => r.value && E.value ? T(E.value.strip) : i.value), F = h(() => r.value && E.value ? T(E.value.overflow) : o.value), { visibleItems: k, hiddenItems: M } = Jl({
|
|
@@ -4511,7 +4511,7 @@ const rf = { class: "vc-widget-container-desktop" }, cf = { class: "vc-widget-co
|
|
|
4511
4511
|
getItemKey: (X) => X.id ?? "",
|
|
4512
4512
|
moreButtonWidth: 70,
|
|
4513
4513
|
initialItemWidth: 80
|
|
4514
|
-
}), N = h(() => [...M.value, ...
|
|
4514
|
+
}), N = h(() => [...M.value, ...ri(F.value)]), $ = h(() => b.value || N.value.length > 0), D = h(() => [...M.value, ...F.value].flatMap(an)), A = h(() => {
|
|
4515
4515
|
const X = ra(D.value);
|
|
4516
4516
|
return X ? nn[X] : void 0;
|
|
4517
4517
|
}), R = h(
|
|
@@ -4526,7 +4526,7 @@ const rf = { class: "vc-widget-container-desktop" }, cf = { class: "vc-widget-co
|
|
|
4526
4526
|
function H(X) {
|
|
4527
4527
|
p.value = X, !X && r.value && v();
|
|
4528
4528
|
}
|
|
4529
|
-
const K = B(), j = B(), { onStripKeydown: ne, onOverflowKeydown: se, moveToStrip: q, moveToOverflow: ee } =
|
|
4529
|
+
const K = B(), j = B(), { onStripKeydown: ne, onOverflowKeydown: se, moveToStrip: q, moveToOverflow: ee } = ui({
|
|
4530
4530
|
layout: c,
|
|
4531
4531
|
stripEl: K,
|
|
4532
4532
|
overflowEl: j,
|
|
@@ -4783,7 +4783,7 @@ const rf = { class: "vc-widget-container-desktop" }, cf = { class: "vc-widget-co
|
|
|
4783
4783
|
}, null, 8, ["widgets", "blade-id", "blade-name"])) : I("", !0);
|
|
4784
4784
|
}
|
|
4785
4785
|
}), tm = /* @__PURE__ */ new Set(["ar", "arc", "ckb", "dv", "fa", "he", "iw", "ps", "sd", "ug", "ur", "yi"]);
|
|
4786
|
-
function
|
|
4786
|
+
function di() {
|
|
4787
4787
|
const e = ml("VC_LANGUAGE_SETTINGS", "");
|
|
4788
4788
|
function a(d) {
|
|
4789
4789
|
if (!d)
|
|
@@ -4797,11 +4797,11 @@ function vi() {
|
|
|
4797
4797
|
const u = a(d);
|
|
4798
4798
|
_t.global.locale.value = u;
|
|
4799
4799
|
const v = _t.global.getLocaleMessage(u)?.messages;
|
|
4800
|
-
if (
|
|
4801
|
-
generateMessage:
|
|
4800
|
+
if (ac.configure({
|
|
4801
|
+
generateMessage: Oc(u, {
|
|
4802
4802
|
messages: v ?? {}
|
|
4803
4803
|
})
|
|
4804
|
-
}),
|
|
4804
|
+
}), Mc(u), e.value = u, typeof document < "u") {
|
|
4805
4805
|
document.documentElement.setAttribute("lang", u);
|
|
4806
4806
|
const m = u.split("-")[0].toLowerCase();
|
|
4807
4807
|
document.documentElement.setAttribute("dir", tm.has(m) ? "rtl" : "ltr");
|
|
@@ -4817,18 +4817,18 @@ function vi() {
|
|
|
4817
4817
|
return v;
|
|
4818
4818
|
} catch {
|
|
4819
4819
|
}
|
|
4820
|
-
return
|
|
4820
|
+
return cc.getNativeName(u);
|
|
4821
4821
|
}
|
|
4822
4822
|
function i(d) {
|
|
4823
4823
|
return a(d);
|
|
4824
4824
|
}
|
|
4825
4825
|
function o(d) {
|
|
4826
|
-
return
|
|
4826
|
+
return Ba[d.toLowerCase()] || Ba[d.slice(0, 2)] || "xx";
|
|
4827
4827
|
}
|
|
4828
4828
|
async function r(d) {
|
|
4829
4829
|
if (!d) return "";
|
|
4830
4830
|
const u = o(d);
|
|
4831
|
-
return new URL((/* @__PURE__ */ Object.assign({ "../../assets/icons/flags/al.svg":
|
|
4831
|
+
return new URL((/* @__PURE__ */ Object.assign({ "../../assets/icons/flags/al.svg": Qs, "../../assets/icons/flags/am.svg": Js, "../../assets/icons/flags/az.svg": Zs, "../../assets/icons/flags/ba.svg": er, "../../assets/icons/flags/bd.svg": tr, "../../assets/icons/flags/bg.svg": lr, "../../assets/icons/flags/by.svg": nr, "../../assets/icons/flags/cn.svg": ar, "../../assets/icons/flags/cz.svg": or, "../../assets/icons/flags/de.svg": ir, "../../assets/icons/flags/dk.svg": sr, "../../assets/icons/flags/ee.svg": rr, "../../assets/icons/flags/es.svg": cr, "../../assets/icons/flags/fi.svg": ur, "../../assets/icons/flags/fr.svg": dr, "../../assets/icons/flags/gb.svg": vr, "../../assets/icons/flags/ge.svg": fr, "../../assets/icons/flags/gr.svg": mr, "../../assets/icons/flags/hr.svg": gr, "../../assets/icons/flags/hu.svg": pr, "../../assets/icons/flags/id.svg": br, "../../assets/icons/flags/il.svg": hr, "../../assets/icons/flags/in.svg": yr, "../../assets/icons/flags/ir.svg": wr, "../../assets/icons/flags/is.svg": Cr, "../../assets/icons/flags/it.svg": _r, "../../assets/icons/flags/jp.svg": Er, "../../assets/icons/flags/kg.svg": Sr, "../../assets/icons/flags/kh.svg": kr, "../../assets/icons/flags/kr.svg": $r, "../../assets/icons/flags/kz.svg": Rr, "../../assets/icons/flags/lk.svg": Tr, "../../assets/icons/flags/lt.svg": Ar, "../../assets/icons/flags/lv.svg": Or, "../../assets/icons/flags/mk.svg": Mr, "../../assets/icons/flags/mn.svg": Lr, "../../assets/icons/flags/my.svg": Ir, "../../assets/icons/flags/ng.svg": xr, "../../assets/icons/flags/nl.svg": Dr, "../../assets/icons/flags/no.svg": Nr, "../../assets/icons/flags/np.svg": Br, "../../assets/icons/flags/ph.svg": Pr, "../../assets/icons/flags/pk.svg": Vr, "../../assets/icons/flags/pl.svg": Ur, "../../assets/icons/flags/pt.svg": Fr, "../../assets/icons/flags/ro.svg": zr, "../../assets/icons/flags/rs.svg": Hr, "../../assets/icons/flags/ru.svg": Wr, "../../assets/icons/flags/sa.svg": Gr, "../../assets/icons/flags/se.svg": qr, "../../assets/icons/flags/si.svg": Kr, "../../assets/icons/flags/sk.svg": Yr, "../../assets/icons/flags/th.svg": jr, "../../assets/icons/flags/tr.svg": Xr, "../../assets/icons/flags/tz.svg": Qr, "../../assets/icons/flags/ua.svg": Jr, "../../assets/icons/flags/us.svg": Zr, "../../assets/icons/flags/uz.svg": ec, "../../assets/icons/flags/vn.svg": tc, "../../assets/icons/flags/xx.svg": lc, "../../assets/icons/flags/za.svg": nc }))[`../../assets/icons/flags/${u}.svg`], import.meta.url).href;
|
|
4832
4832
|
}
|
|
4833
4833
|
return {
|
|
4834
4834
|
setLocale: l,
|
|
@@ -4839,26 +4839,26 @@ function vi() {
|
|
|
4839
4839
|
getCountryCode: o
|
|
4840
4840
|
};
|
|
4841
4841
|
}
|
|
4842
|
-
const
|
|
4842
|
+
const vi = lt("use-languages");
|
|
4843
4843
|
let xn = null;
|
|
4844
|
-
function
|
|
4845
|
-
return xn || (xn =
|
|
4844
|
+
function fi() {
|
|
4845
|
+
return xn || (xn = di()), xn;
|
|
4846
4846
|
}
|
|
4847
4847
|
function Z$() {
|
|
4848
|
-
if (!
|
|
4849
|
-
return
|
|
4848
|
+
if (!ho())
|
|
4849
|
+
return vi.warn("No injection context for provideLanguages; using fallback language service"), fi();
|
|
4850
4850
|
const e = we(Hn, null);
|
|
4851
4851
|
if (e)
|
|
4852
4852
|
return e;
|
|
4853
|
-
const a =
|
|
4853
|
+
const a = di();
|
|
4854
4854
|
return Be(Hn, a), a;
|
|
4855
4855
|
}
|
|
4856
|
-
function
|
|
4857
|
-
if (!
|
|
4858
|
-
return
|
|
4856
|
+
function mi() {
|
|
4857
|
+
if (!ho())
|
|
4858
|
+
return fi();
|
|
4859
4859
|
const e = we(Hn, null);
|
|
4860
4860
|
if (!e)
|
|
4861
|
-
throw
|
|
4861
|
+
throw vi.error("Language service not found"), new Wl("LanguageService");
|
|
4862
4862
|
return e;
|
|
4863
4863
|
}
|
|
4864
4864
|
const lm = lt("use-app-bar-widget");
|
|
@@ -4866,8 +4866,8 @@ function eR() {
|
|
|
4866
4866
|
const e = we(Wn, null);
|
|
4867
4867
|
if (e)
|
|
4868
4868
|
return e;
|
|
4869
|
-
const a =
|
|
4870
|
-
return Be(Wn, a), Jn() && Hl(() =>
|
|
4869
|
+
const a = Es();
|
|
4870
|
+
return Be(Wn, a), Jn() && Hl(() => Ss.dispose(a)), a;
|
|
4871
4871
|
}
|
|
4872
4872
|
function on() {
|
|
4873
4873
|
const e = we(Wn);
|
|
@@ -4972,7 +4972,7 @@ function wm() {
|
|
|
4972
4972
|
const e = typeof window < "u" ? window.location.hostname : "";
|
|
4973
4973
|
return hm(ym(), e);
|
|
4974
4974
|
}
|
|
4975
|
-
const Cm =
|
|
4975
|
+
const Cm = Ac(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
4976
4976
|
key: 1,
|
|
4977
4977
|
class: "vc-blade__breadcrumbs"
|
|
4978
4978
|
}, Sm = {
|
|
@@ -4995,7 +4995,7 @@ const Cm = Oc(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
|
4995
4995
|
},
|
|
4996
4996
|
emits: ["close", "expand", "collapse"],
|
|
4997
4997
|
setup(e, { emit: a }) {
|
|
4998
|
-
const t = e, l = we(
|
|
4998
|
+
const t = e, l = we(rs, null), c = h(() => {
|
|
4999
4999
|
if (t.modified !== void 0) return t.modified;
|
|
5000
5000
|
if (l)
|
|
5001
5001
|
return l.isModified.value;
|
|
@@ -5010,8 +5010,8 @@ const Cm = Oc(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
|
5010
5010
|
}));
|
|
5011
5011
|
}), kt(v);
|
|
5012
5012
|
const m = h(() => !!t.loading && !d.value), g = h(() => !!t.loading && d.value);
|
|
5013
|
-
Be(
|
|
5014
|
-
const p = a, { isMobile: y, isDesktop: b } = Fe(), C = ta(), { id: _ } = C, E = !!r, T = we(
|
|
5013
|
+
Be(cs, m), wt();
|
|
5014
|
+
const p = a, { isMobile: y, isDesktop: b } = Fe(), C = ta(), { id: _ } = C, E = !!r, T = we(Co, void 0), x = we(Zn, void 0), F = h(() => E ? C.expanded.value : t.expanded), k = h(() => E ? C.closable.value : t.closable), M = es(), N = h(() => {
|
|
5015
5015
|
const { class: j, style: ne, onClose: se, ...q } = M;
|
|
5016
5016
|
return q;
|
|
5017
5017
|
});
|
|
@@ -5024,7 +5024,7 @@ const Cm = Oc(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
|
5024
5024
|
function A() {
|
|
5025
5025
|
T ? T.value = !1 : p("collapse");
|
|
5026
5026
|
}
|
|
5027
|
-
const R = we(
|
|
5027
|
+
const R = we(Eo), { blades: S, setBladeTitle: O } = zt();
|
|
5028
5028
|
zl(() => {
|
|
5029
5029
|
E && _.value && t.title && O(_.value, t.title);
|
|
5030
5030
|
});
|
|
@@ -5077,7 +5077,7 @@ const Cm = Oc(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
|
5077
5077
|
class: "vc-blade__back-button"
|
|
5078
5078
|
})) : I("", !0),
|
|
5079
5079
|
!m.value && n(x)?.breadcrumbs?.length && n(b) ? (s(), f("div", Em, [
|
|
5080
|
-
L(n(
|
|
5080
|
+
L(n(ei), {
|
|
5081
5081
|
items: n(x)?.breadcrumbs,
|
|
5082
5082
|
collapsed: ""
|
|
5083
5083
|
}, {
|
|
@@ -5326,7 +5326,7 @@ const Cm = Oc(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
|
5326
5326
|
setup(e) {
|
|
5327
5327
|
const a = Je(), t = e, l = h(() => {
|
|
5328
5328
|
const r = t.modelValue;
|
|
5329
|
-
return r == null || r === "" ? t.type === "date" || t.type === "date-ago" ? "N/A" : "" : t.type === "date" ? r instanceof Date ? r.toLocaleDateString() : String(r) : t.type === "date-ago" ?
|
|
5329
|
+
return r == null || r === "" ? t.type === "date" || t.type === "date-ago" ? "N/A" : "" : t.type === "date" ? r instanceof Date ? r.toLocaleDateString() : String(r) : t.type === "date-ago" ? ks(r) || "N/A" : String(r);
|
|
5330
5330
|
}), c = B("lucide-copy");
|
|
5331
5331
|
function i() {
|
|
5332
5332
|
navigator.clipboard?.writeText(String(t.modelValue ?? "")), c.value = "lucide-check", setTimeout(() => {
|
|
@@ -5392,7 +5392,7 @@ const Cm = Oc(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
|
5392
5392
|
style: ye(e.orientation === "horizontal" ? { flex: `${e.aspectRatio[1]} 1 0%` } : void 0)
|
|
5393
5393
|
}, [
|
|
5394
5394
|
w("div", xm, [
|
|
5395
|
-
e.type === "link" && e.modelValue ? (s(), U(n(
|
|
5395
|
+
e.type === "link" && e.modelValue ? (s(), U(n($s), {
|
|
5396
5396
|
key: 0,
|
|
5397
5397
|
class: "vc-field__link",
|
|
5398
5398
|
onClick: o
|
|
@@ -5420,7 +5420,7 @@ const Cm = Oc(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
|
5420
5420
|
], 4)
|
|
5421
5421
|
], 2));
|
|
5422
5422
|
}
|
|
5423
|
-
}), Bm = ["aria-expanded", "disabled"], Pm = { class: "vc-accordion-item__title" },
|
|
5423
|
+
}), Bm = ["aria-expanded", "disabled"], Pm = { class: "vc-accordion-item__title" }, gi = /* @__PURE__ */ Z({
|
|
5424
5424
|
name: "VcAccordionItem",
|
|
5425
5425
|
__name: "vc-accordion-item",
|
|
5426
5426
|
props: {
|
|
@@ -5545,7 +5545,7 @@ const Cm = Oc(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
|
5545
5545
|
key: 1,
|
|
5546
5546
|
class: Y(["vc-accordion", `vc-accordion--${e.variant}`])
|
|
5547
5547
|
}, [
|
|
5548
|
-
(s(!0), f(le, null, de(e.items, (g, p) => (s(), U(
|
|
5548
|
+
(s(!0), f(le, null, de(e.items, (g, p) => (s(), U(gi, {
|
|
5549
5549
|
key: g.id || p,
|
|
5550
5550
|
title: g.title,
|
|
5551
5551
|
"collapsed-height": g.collapsedHeight ?? e.collapsedHeight,
|
|
@@ -5573,7 +5573,7 @@ const Cm = Oc(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
|
5573
5573
|
G(v.$slots, "default")
|
|
5574
5574
|
], 2));
|
|
5575
5575
|
}
|
|
5576
|
-
}), iR = Um, sR =
|
|
5576
|
+
}), iR = Um, sR = gi, Fm = {
|
|
5577
5577
|
key: 0,
|
|
5578
5578
|
class: "vc-file-upload__container vc-file-upload--skeleton"
|
|
5579
5579
|
}, zm = ["tabindex", "aria-label", "aria-describedby", "aria-disabled", "aria-required", "onKeydown"], Hm = {
|
|
@@ -5582,7 +5582,7 @@ const Cm = Oc(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
|
5582
5582
|
}, Wm = { class: "vc-file-upload__loading-text" }, Gm = { class: "vc-file-upload__text" }, qm = {
|
|
5583
5583
|
key: 0,
|
|
5584
5584
|
class: "vc-file-upload__link"
|
|
5585
|
-
}, Km = { class: "vc-file-upload__link" }, Ym = ["accept", "multiple", "name", "disabled"], jm = { key: 0 },
|
|
5585
|
+
}, Km = { class: "vc-file-upload__link" }, Ym = ["accept", "multiple", "name", "disabled"], jm = { key: 0 }, pi = /* @__PURE__ */ Z({
|
|
5586
5586
|
__name: "vc-file-upload",
|
|
5587
5587
|
props: {
|
|
5588
5588
|
loading: { type: Boolean },
|
|
@@ -5605,7 +5605,7 @@ const Cm = Oc(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
|
5605
5605
|
errorMessage: b,
|
|
5606
5606
|
handleChange: C,
|
|
5607
5607
|
validate: _
|
|
5608
|
-
} =
|
|
5608
|
+
} = oc(`${l.name === "Gallery" ? o.value : l.name}`, g), E = h(() => l.errorMessage || b.value), T = h(() => {
|
|
5609
5609
|
const D = /* @__PURE__ */ new Set();
|
|
5610
5610
|
return m?.describedBy.value && m.describedBy.value.split(/\s+/).forEach((A) => D.add(A)), E.value && D.add(r.value), D.size ? Array.from(D).join(" ") : void 0;
|
|
5611
5611
|
}), x = B(null), F = async (D) => {
|
|
@@ -5755,7 +5755,7 @@ const Cm = Oc(wm), _m = ["aria-busy", "aria-labelledby", "aria-label"], Em = {
|
|
|
5755
5755
|
], 10, Xm));
|
|
5756
5756
|
}
|
|
5757
5757
|
});
|
|
5758
|
-
function
|
|
5758
|
+
function qa(e) {
|
|
5759
5759
|
return "options" in e;
|
|
5760
5760
|
}
|
|
5761
5761
|
function Al(e) {
|
|
@@ -5778,7 +5778,7 @@ const Qm = {
|
|
|
5778
5778
|
}
|
|
5779
5779
|
function i(o) {
|
|
5780
5780
|
const r = o.target;
|
|
5781
|
-
if (
|
|
5781
|
+
if (qa(a.customButton)) {
|
|
5782
5782
|
const d = a.customButton.options.find((u) => u.value === r.value);
|
|
5783
5783
|
d && d.action(a.editor, r.value);
|
|
5784
5784
|
}
|
|
@@ -5794,7 +5794,7 @@ const Qm = {
|
|
|
5794
5794
|
active: t.value,
|
|
5795
5795
|
disabled: e.disabled || l.value,
|
|
5796
5796
|
onAction: c
|
|
5797
|
-
}, null, 8, ["icon", "aria-label", "active", "disabled"])) : n(
|
|
5797
|
+
}, null, 8, ["icon", "aria-label", "active", "disabled"])) : n(qa)(e.customButton) ? (s(), f("div", Qm, [
|
|
5798
5798
|
w("select", {
|
|
5799
5799
|
disabled: e.disabled || l.value,
|
|
5800
5800
|
"aria-label": e.customButton.label,
|
|
@@ -5883,7 +5883,7 @@ const Qm = {
|
|
|
5883
5883
|
onKeydown: Me(d, ["enter"]),
|
|
5884
5884
|
onBlur: d
|
|
5885
5885
|
}, null, 544), [
|
|
5886
|
-
[
|
|
5886
|
+
[ts, l.value]
|
|
5887
5887
|
])
|
|
5888
5888
|
])
|
|
5889
5889
|
])) : I("", !0)
|
|
@@ -6166,18 +6166,18 @@ const Qm = {
|
|
|
6166
6166
|
}
|
|
6167
6167
|
const C = h(() => {
|
|
6168
6168
|
const O = [
|
|
6169
|
+
dc,
|
|
6169
6170
|
vc,
|
|
6171
|
+
wc,
|
|
6172
|
+
Rs,
|
|
6173
|
+
pc.configure({ resizable: !0 }),
|
|
6170
6174
|
fc,
|
|
6171
|
-
Cc,
|
|
6172
|
-
Ts,
|
|
6173
|
-
bc.configure({ resizable: !0 }),
|
|
6174
6175
|
mc,
|
|
6175
6176
|
gc,
|
|
6176
|
-
|
|
6177
|
-
hc
|
|
6178
|
-
yc,
|
|
6179
|
-
|
|
6180
|
-
_c.configure({
|
|
6177
|
+
bc.configure({ openOnClick: !1 }),
|
|
6178
|
+
hc,
|
|
6179
|
+
yc.configure({ placeholder: l.placeholder }),
|
|
6180
|
+
Cc.configure({
|
|
6181
6181
|
html: !0,
|
|
6182
6182
|
// Allow HTML input/output
|
|
6183
6183
|
tightLists: !0,
|
|
@@ -6207,7 +6207,7 @@ const Qm = {
|
|
|
6207
6207
|
(O) => {
|
|
6208
6208
|
if (m.value = b(O || ""), m.value === "html")
|
|
6209
6209
|
try {
|
|
6210
|
-
_.value =
|
|
6210
|
+
_.value = _c.html(O || "", {
|
|
6211
6211
|
indent_size: 2,
|
|
6212
6212
|
wrap_line_length: 0,
|
|
6213
6213
|
preserve_newlines: !0,
|
|
@@ -6223,7 +6223,7 @@ const Qm = {
|
|
|
6223
6223
|
);
|
|
6224
6224
|
const E = h(() => {
|
|
6225
6225
|
let O = "";
|
|
6226
|
-
return m.value === "markdown" && D.value ? O = D.value.getHTML() : O = l.modelValue || "",
|
|
6226
|
+
return m.value === "markdown" && D.value ? O = D.value.getHTML() : O = l.modelValue || "", Wo.sanitize(O, {
|
|
6227
6227
|
// Allow safe HTML tags and attributes
|
|
6228
6228
|
ALLOWED_TAGS: [
|
|
6229
6229
|
"p",
|
|
@@ -6286,7 +6286,7 @@ const Qm = {
|
|
|
6286
6286
|
"aria-label": l.label || "Rich text editor"
|
|
6287
6287
|
};
|
|
6288
6288
|
return r.value && !u.value && (O["aria-describedby"] = r.value), o.value && (O["aria-invalid"] = "true"), O;
|
|
6289
|
-
}), D =
|
|
6289
|
+
}), D = uc({
|
|
6290
6290
|
content: l.modelValue,
|
|
6291
6291
|
editable: !l.disabled,
|
|
6292
6292
|
extensions: C.value,
|
|
@@ -6515,7 +6515,7 @@ const Qm = {
|
|
|
6515
6515
|
key: 0,
|
|
6516
6516
|
class: "vc-notification__content",
|
|
6517
6517
|
tabindex: "0"
|
|
6518
|
-
}, $g = { key: 1 }, Rg = ["aria-label"],
|
|
6518
|
+
}, $g = { key: 1 }, Rg = ["aria-label"], Ka = 200, Tg = 45, cR = /* @__PURE__ */ Z({
|
|
6519
6519
|
__name: "vc-toast",
|
|
6520
6520
|
props: {
|
|
6521
6521
|
content: { type: [String, Object, Function] },
|
|
@@ -6540,11 +6540,11 @@ const Qm = {
|
|
|
6540
6540
|
success: { icon: "lucide-check-circle", color: "var(--notification-success)" },
|
|
6541
6541
|
error: { icon: "lucide-alert-circle", color: "var(--notification-error)" },
|
|
6542
6542
|
warning: { icon: "lucide-alert-triangle", color: "var(--notification-warning)" }
|
|
6543
|
-
}, { timeout: i } =
|
|
6543
|
+
}, { timeout: i } = ls(l), o = B(null), r = B(!1), d = B(!1), u = h(() => (l.position || "top-center").startsWith("top") ? "top" : "bottom"), v = h(() => (l.toastIndex ?? 0) === 0), m = h(() => (l.toastIndex ?? 0) < (l.visibleToasts ?? 3)), g = B(null);
|
|
6544
6544
|
function p() {
|
|
6545
6545
|
d.value || (d.value = !0, g.value?.clear(), setTimeout(() => {
|
|
6546
6546
|
t("close", l.notificationId);
|
|
6547
|
-
},
|
|
6547
|
+
}, Ka));
|
|
6548
6548
|
}
|
|
6549
6549
|
oe(
|
|
6550
6550
|
() => l.dismissing,
|
|
@@ -6629,7 +6629,7 @@ const Qm = {
|
|
|
6629
6629
|
if (Math.abs(S) >= Tg || H > 0.11) {
|
|
6630
6630
|
d.value = !0, g.value?.clear(), k.value = !0;
|
|
6631
6631
|
const K = S > 0 ? 1 : -1;
|
|
6632
|
-
o.value?.style.setProperty("--swipe-amount-x", `${K * window.innerWidth}px`), setTimeout(() => t("close", l.notificationId),
|
|
6632
|
+
o.value?.style.setProperty("--swipe-amount-x", `${K * window.innerWidth}px`), setTimeout(() => t("close", l.notificationId), Ka);
|
|
6633
6633
|
} else
|
|
6634
6634
|
o.value?.style.setProperty("--swipe-amount-x", "0px"), g.value?.resume();
|
|
6635
6635
|
F.value = !1, T.value = 0, x.value = 0;
|
|
@@ -6914,7 +6914,7 @@ const Qm = {
|
|
|
6914
6914
|
ariaLabel: {}
|
|
6915
6915
|
},
|
|
6916
6916
|
setup(e) {
|
|
6917
|
-
const a = Je(), t = [
|
|
6917
|
+
const a = Je(), t = [Go], l = h(() => ({
|
|
6918
6918
|
nextEl: ".vc-slider__next",
|
|
6919
6919
|
prevEl: ".vc-slider__prev"
|
|
6920
6920
|
}));
|
|
@@ -7339,7 +7339,7 @@ function _p(e) {
|
|
|
7339
7339
|
if (i === "" || i === void 0 || i === null)
|
|
7340
7340
|
return;
|
|
7341
7341
|
if (e.type() === "color") {
|
|
7342
|
-
const r =
|
|
7342
|
+
const r = Oo(i);
|
|
7343
7343
|
e.addItem({
|
|
7344
7344
|
[e.optionLabel()]: i,
|
|
7345
7345
|
colorCode: r || "#000000"
|
|
@@ -7416,7 +7416,7 @@ function Sp(e) {
|
|
|
7416
7416
|
p && r.update();
|
|
7417
7417
|
}
|
|
7418
7418
|
);
|
|
7419
|
-
const u =
|
|
7419
|
+
const u = Ts({
|
|
7420
7420
|
onEnter: (p) => {
|
|
7421
7421
|
const y = parseInt(p.getAttribute("data-index") || "0", 10);
|
|
7422
7422
|
e.onItemSelect(y);
|
|
@@ -7720,7 +7720,7 @@ const $p = {
|
|
|
7720
7720
|
resolvedName: d,
|
|
7721
7721
|
ariaRequired: u,
|
|
7722
7722
|
ariaDescribedBy: v
|
|
7723
|
-
} = $t(t), m = Je(), g = h(() => t.modelValue != null && (t.binary ? !!t.modelValue :
|
|
7723
|
+
} = $t(t), m = Je(), g = h(() => t.modelValue != null && (t.binary ? !!t.modelValue : Lc(t.modelValue, t.value)));
|
|
7724
7724
|
function p() {
|
|
7725
7725
|
if (!r.value) {
|
|
7726
7726
|
const y = t.binary ? !g.value : t.value;
|
|
@@ -7781,7 +7781,7 @@ const $p = {
|
|
|
7781
7781
|
})
|
|
7782
7782
|
]));
|
|
7783
7783
|
}
|
|
7784
|
-
}), xp = ["disabled", "role", "aria-invalid", "aria-describedby", "aria-labelledby", "aria-label"], Dp = ["id"], Np = { class: "vc-input-group__controls" }, Bp = { key: 0 }, Pp = { key: 1 },
|
|
7784
|
+
}), xp = ["disabled", "role", "aria-invalid", "aria-describedby", "aria-labelledby", "aria-label"], Dp = ["id"], Np = { class: "vc-input-group__controls" }, Bp = { key: 0 }, Pp = { key: 1 }, bi = /* @__PURE__ */ Z({
|
|
7785
7785
|
__name: "vc-input-group",
|
|
7786
7786
|
props: {
|
|
7787
7787
|
label: {},
|
|
@@ -7804,7 +7804,7 @@ const $p = {
|
|
|
7804
7804
|
if (a.hint)
|
|
7805
7805
|
return c.value;
|
|
7806
7806
|
}), d = h(() => a.label ? l.value : a.ariaLabelledby);
|
|
7807
|
-
return Be(
|
|
7807
|
+
return Be(As, {
|
|
7808
7808
|
name: Le(a, "name"),
|
|
7809
7809
|
disabled: h(() => !!a.disabled),
|
|
7810
7810
|
invalid: o,
|
|
@@ -7930,7 +7930,7 @@ const $p = {
|
|
|
7930
7930
|
height: 12
|
|
7931
7931
|
}, null, 8, ["width"])
|
|
7932
7932
|
]))), 128))
|
|
7933
|
-
])) : (s(), U(n(
|
|
7933
|
+
])) : (s(), U(n(bi), {
|
|
7934
7934
|
key: 1,
|
|
7935
7935
|
class: "vc-radio-group",
|
|
7936
7936
|
label: e.label,
|
|
@@ -8086,7 +8086,7 @@ const $p = {
|
|
|
8086
8086
|
"aria-label": e.label ? void 0 : e.ariaLabel,
|
|
8087
8087
|
tabindex: "0"
|
|
8088
8088
|
}, null, 8, zp), [
|
|
8089
|
-
[
|
|
8089
|
+
[ns, p.value]
|
|
8090
8090
|
]),
|
|
8091
8091
|
w("span", Hp, [
|
|
8092
8092
|
G(b.$slots, "icon", {}, () => [
|
|
@@ -8186,7 +8186,7 @@ const $p = {
|
|
|
8186
8186
|
height: 12
|
|
8187
8187
|
}, null, 8, ["width"])
|
|
8188
8188
|
]))), 128))
|
|
8189
|
-
])) : (s(), U(n(
|
|
8189
|
+
])) : (s(), U(n(bi), {
|
|
8190
8190
|
key: 1,
|
|
8191
8191
|
class: "vc-checkbox-group",
|
|
8192
8192
|
label: e.label,
|
|
@@ -8222,7 +8222,7 @@ const $p = {
|
|
|
8222
8222
|
}), Xp = {
|
|
8223
8223
|
key: 0,
|
|
8224
8224
|
class: "vc-switch vc-switch--skeleton"
|
|
8225
|
-
}, Qp = { class: "vc-switch__track-wrapper" }, Jp = { class: "vc-switch__track-label" }, Zp = ["id", "checked", "disabled", "aria-label", "aria-checked", "aria-invalid", "aria-required", "aria-describedby"], eb = { key: 0 }, tb = { key: 1 },
|
|
8225
|
+
}, Qp = { class: "vc-switch__track-wrapper" }, Jp = { class: "vc-switch__track-label" }, Zp = ["id", "checked", "disabled", "aria-label", "aria-checked", "aria-invalid", "aria-required", "aria-describedby"], eb = { key: 0 }, tb = { key: 1 }, hi = /* @__PURE__ */ Z({
|
|
8226
8226
|
__name: "vc-switch",
|
|
8227
8227
|
props: {
|
|
8228
8228
|
modelValue: { type: Boolean },
|
|
@@ -8440,7 +8440,7 @@ const $p = {
|
|
|
8440
8440
|
key: 1,
|
|
8441
8441
|
class: "vc-menu-item__letters",
|
|
8442
8442
|
"aria-hidden": "true"
|
|
8443
|
-
}, mb = { class: "vc-menu-item__title" }, gb = { class: "vc-menu-item__title-text" },
|
|
8443
|
+
}, mb = { class: "vc-menu-item__title" }, gb = { class: "vc-menu-item__title-text" }, yi = /* @__PURE__ */ Z({
|
|
8444
8444
|
name: "VcMenuItem",
|
|
8445
8445
|
__name: "vc-menu-item",
|
|
8446
8446
|
props: {
|
|
@@ -8494,7 +8494,7 @@ const $p = {
|
|
|
8494
8494
|
default: P(() => [
|
|
8495
8495
|
qe(w("span", mb, [
|
|
8496
8496
|
w("span", gb, z(e.title), 1),
|
|
8497
|
-
e.badge && o.value ? (s(), U(n(
|
|
8497
|
+
e.badge && o.value ? (s(), U(n(ii), {
|
|
8498
8498
|
key: 0,
|
|
8499
8499
|
content: e.badge.isDot ? void 0 : e.badge.content,
|
|
8500
8500
|
variant: e.badge.variant ?? "primary",
|
|
@@ -8575,7 +8575,7 @@ const $p = {
|
|
|
8575
8575
|
icon: "lucide-chevron-down",
|
|
8576
8576
|
size: "s"
|
|
8577
8577
|
}, null, 8, ["class"])
|
|
8578
|
-
], 10, bb)) : (s(), U(
|
|
8578
|
+
], 10, bb)) : (s(), U(yi, {
|
|
8579
8579
|
key: 1,
|
|
8580
8580
|
icon: e.icon,
|
|
8581
8581
|
title: e.title,
|
|
@@ -8608,7 +8608,7 @@ const $p = {
|
|
|
8608
8608
|
], 2)
|
|
8609
8609
|
], 10, pb));
|
|
8610
8610
|
}
|
|
8611
|
-
}), _b = cb,
|
|
8611
|
+
}), _b = cb, Ya = yi, Eb = Cb;
|
|
8612
8612
|
function Sb(e) {
|
|
8613
8613
|
const a = B(!1), t = B(!1);
|
|
8614
8614
|
function l() {
|
|
@@ -8630,7 +8630,7 @@ const kb = {
|
|
|
8630
8630
|
}, $b = {
|
|
8631
8631
|
key: 1,
|
|
8632
8632
|
class: "vc-image-tile__error"
|
|
8633
|
-
}, Rb = ["src", "alt"], Tb = { class: "vc-image-tile__topbar" }, Ab = ["title"], Ob = { class: "vc-image-tile__tray" }, Mb = { class: "vc-image-tile__tray-actions" }, Lb = ["title"], Ib = ["title"], xb = ["title"],
|
|
8633
|
+
}, Rb = ["src", "alt"], Tb = { class: "vc-image-tile__topbar" }, Ab = ["title"], Ob = { class: "vc-image-tile__tray" }, Mb = { class: "vc-image-tile__tray-actions" }, Lb = ["title"], Ib = ["title"], xb = ["title"], wi = /* @__PURE__ */ Z({
|
|
8634
8634
|
__name: "vc-image-tile",
|
|
8635
8635
|
props: {
|
|
8636
8636
|
src: {},
|
|
@@ -8642,7 +8642,7 @@ const kb = {
|
|
|
8642
8642
|
},
|
|
8643
8643
|
emits: ["preview", "edit", "remove"],
|
|
8644
8644
|
setup(e) {
|
|
8645
|
-
const a = e, { t } = ze({ useScope: "global" }), { isMobile: l } = Fe(), c = h(() =>
|
|
8645
|
+
const a = e, { t } = ze({ useScope: "global" }), { isMobile: l } = Fe(), c = h(() => Mo(a.src, a.thumbnailSize) ?? a.src), i = B(!1), o = h(() => i.value ? a.src : c.value), r = Sb(Le(() => o.value)), d = B(!1);
|
|
8646
8646
|
oe(
|
|
8647
8647
|
() => [a.src, a.thumbnailSize],
|
|
8648
8648
|
() => {
|
|
@@ -8852,7 +8852,7 @@ const kb = {
|
|
|
8852
8852
|
}, Jb = ["aria-label", "aria-expanded"], Zb = { class: "sidebar-header__menu-button-wrap" }, eh = {
|
|
8853
8853
|
key: 1,
|
|
8854
8854
|
class: "sidebar-header__actions"
|
|
8855
|
-
},
|
|
8855
|
+
}, Ci = /* @__PURE__ */ Z({
|
|
8856
8856
|
__name: "SidebarHeader",
|
|
8857
8857
|
props: {
|
|
8858
8858
|
logo: {},
|
|
@@ -8867,7 +8867,7 @@ const kb = {
|
|
|
8867
8867
|
},
|
|
8868
8868
|
emits: ["logo:click", "toggle-menu", "toggle-notifications"],
|
|
8869
8869
|
setup(e) {
|
|
8870
|
-
const a = we(
|
|
8870
|
+
const a = we($o, B(!1));
|
|
8871
8871
|
return (t, l) => e.isVisible ? (s(), f("div", {
|
|
8872
8872
|
key: 0,
|
|
8873
8873
|
class: Y(["sidebar-header", {
|
|
@@ -8951,7 +8951,7 @@ const kb = {
|
|
|
8951
8951
|
], 2)) : I("", !0);
|
|
8952
8952
|
}
|
|
8953
8953
|
});
|
|
8954
|
-
function
|
|
8954
|
+
function _i(e) {
|
|
8955
8955
|
const a = Object.values(e.params)?.[0], t = typeof a == "string" ? a : "";
|
|
8956
8956
|
return t && e.path.startsWith(`/${t}/`) ? e.path.slice(t.length + 1) : t && e.path === `/${t}` ? "/" : e.path;
|
|
8957
8957
|
}
|
|
@@ -8960,7 +8960,7 @@ function gR(e) {
|
|
|
8960
8960
|
return { isActive: h(() => {
|
|
8961
8961
|
const l = xe(e);
|
|
8962
8962
|
if (!l) return !1;
|
|
8963
|
-
const c =
|
|
8963
|
+
const c = _i(a);
|
|
8964
8964
|
return c === l || c.startsWith(l + "/");
|
|
8965
8965
|
}) };
|
|
8966
8966
|
}
|
|
@@ -8972,7 +8972,7 @@ const th = 3, Kn = /* @__PURE__ */ Z({
|
|
|
8972
8972
|
},
|
|
8973
8973
|
emits: ["item:click"],
|
|
8974
8974
|
setup(e, { emit: a }) {
|
|
8975
|
-
const t = e, l = a, c = Wt(), { t: i } = ze(), { menuItems: o, menuBadges: r } =
|
|
8975
|
+
const t = e, l = a, c = Wt(), { t: i } = ze(), { menuItems: o, menuBadges: r } = Lo(), { hasAccess: d } = fl(), u = we(us, B(!0)), v = [92, 70, 104], m = (k) => v[(k - 1) % v.length], g = h(() => !u.value && !t.searchQuery?.trim()), p = (k) => d(k.permissions), y = (k) => (k.children ?? []).filter((M) => p(M)), b = h(() => o.value.filter((k) => p(k) ? k.children?.length ? y(k).length > 0 : !0 : !1)), C = h(() => {
|
|
8976
8976
|
const k = t.searchQuery?.toLowerCase().trim();
|
|
8977
8977
|
return k ? b.value.map((M) => {
|
|
8978
8978
|
const N = y(M);
|
|
@@ -8986,7 +8986,7 @@ const th = 3, Kn = /* @__PURE__ */ Z({
|
|
|
8986
8986
|
l("item:click", k);
|
|
8987
8987
|
}, T = (k) => {
|
|
8988
8988
|
if (!k) return !1;
|
|
8989
|
-
const M =
|
|
8989
|
+
const M = _i(c);
|
|
8990
8990
|
return M === k || M.startsWith(k + "/");
|
|
8991
8991
|
};
|
|
8992
8992
|
function x(k) {
|
|
@@ -9042,7 +9042,7 @@ const th = 3, Kn = /* @__PURE__ */ Z({
|
|
|
9042
9042
|
badge: F.value.get(N.routeId ?? N.groupId ?? "")
|
|
9043
9043
|
}, {
|
|
9044
9044
|
default: P(() => [
|
|
9045
|
-
(s(!0), f(le, null, de(y(N), ($) => (s(), U(n(
|
|
9045
|
+
(s(!0), f(le, null, de(y(N), ($) => (s(), U(n(Ya), {
|
|
9046
9046
|
key: $.routeId || $.url || $.id || $.title,
|
|
9047
9047
|
"data-test-id": $.routeId,
|
|
9048
9048
|
icon: $.icon,
|
|
@@ -9054,7 +9054,7 @@ const th = 3, Kn = /* @__PURE__ */ Z({
|
|
|
9054
9054
|
}, null, 8, ["data-test-id", "icon", "title", "badge", "active", "onClick"]))), 128))
|
|
9055
9055
|
]),
|
|
9056
9056
|
_: 2
|
|
9057
|
-
}, 1032, ["data-test-id", "group-id", "icon", "title", "badge"])) : (s(), U(n(
|
|
9057
|
+
}, 1032, ["data-test-id", "group-id", "icon", "title", "badge"])) : (s(), U(n(Ya), {
|
|
9058
9058
|
key: 1,
|
|
9059
9059
|
"data-test-id": N.routeId,
|
|
9060
9060
|
icon: N.groupIcon || N.icon,
|
|
@@ -9121,10 +9121,10 @@ const th = 3, Kn = /* @__PURE__ */ Z({
|
|
|
9121
9121
|
}), rh = { class: "vc-settings-menu" }, ch = {
|
|
9122
9122
|
key: 0,
|
|
9123
9123
|
class: "vc-settings-menu__separator"
|
|
9124
|
-
}, uh = { class: "vc-settings-menu__group" },
|
|
9124
|
+
}, uh = { class: "vc-settings-menu__group" }, Ei = /* @__PURE__ */ Z({
|
|
9125
9125
|
__name: "settings-menu",
|
|
9126
9126
|
setup(e) {
|
|
9127
|
-
const { items: a } =
|
|
9127
|
+
const { items: a } = Os(), t = h(() => {
|
|
9128
9128
|
const l = /* @__PURE__ */ new Map();
|
|
9129
9129
|
for (const c of a.value) {
|
|
9130
9130
|
const i = c.group ?? "general";
|
|
@@ -9169,7 +9169,7 @@ const th = 3, Kn = /* @__PURE__ */ Z({
|
|
|
9169
9169
|
class: "vc-user-sidebar__menu",
|
|
9170
9170
|
onClick: l[0] || (l[0] = ve((c) => t.$emit("update:isOpened", !1), ["stop"]))
|
|
9171
9171
|
}, [
|
|
9172
|
-
L(n(
|
|
9172
|
+
L(n(Ei))
|
|
9173
9173
|
])) : I("", !0)
|
|
9174
9174
|
]),
|
|
9175
9175
|
_: 1
|
|
@@ -9232,7 +9232,7 @@ const th = 3, Kn = /* @__PURE__ */ Z({
|
|
|
9232
9232
|
"max-width": "300px"
|
|
9233
9233
|
}, {
|
|
9234
9234
|
default: P(() => [
|
|
9235
|
-
L(n(
|
|
9235
|
+
L(n(Ei))
|
|
9236
9236
|
]),
|
|
9237
9237
|
_: 1
|
|
9238
9238
|
}, 8, ["show", "anchor-ref"])) : (s(), U(dh, {
|
|
@@ -9242,7 +9242,7 @@ const th = 3, Kn = /* @__PURE__ */ Z({
|
|
|
9242
9242
|
}, null, 8, ["is-opened"]))
|
|
9243
9243
|
]));
|
|
9244
9244
|
}
|
|
9245
|
-
}),
|
|
9245
|
+
}), Si = fh, mh = {
|
|
9246
9246
|
key: 0,
|
|
9247
9247
|
class: "sidebar-content__search"
|
|
9248
9248
|
}, gh = { class: "sidebar-content__footer" }, ph = /* @__PURE__ */ Z({
|
|
@@ -9310,7 +9310,7 @@ const th = 3, Kn = /* @__PURE__ */ Z({
|
|
|
9310
9310
|
avatar: e.avatar,
|
|
9311
9311
|
role: e.userRole
|
|
9312
9312
|
}, () => [
|
|
9313
|
-
n(c) ? I("", !0) : (s(), U(n(
|
|
9313
|
+
n(c) ? I("", !0) : (s(), U(n(Si), {
|
|
9314
9314
|
key: 0,
|
|
9315
9315
|
"avatar-url": e.avatar,
|
|
9316
9316
|
name: e.userName,
|
|
@@ -9340,7 +9340,7 @@ const th = 3, Kn = /* @__PURE__ */ Z({
|
|
|
9340
9340
|
]));
|
|
9341
9341
|
}
|
|
9342
9342
|
});
|
|
9343
|
-
function
|
|
9343
|
+
function ki(e, a) {
|
|
9344
9344
|
const t = h(() => {
|
|
9345
9345
|
const d = xe(e);
|
|
9346
9346
|
return !a.value || !Array.isArray(d) ? null : d.find((u) => u.id === a.value) || null;
|
|
@@ -9363,13 +9363,13 @@ function $i(e, a) {
|
|
|
9363
9363
|
};
|
|
9364
9364
|
}
|
|
9365
9365
|
function rn() {
|
|
9366
|
-
const { items: e } = on(), { activeWidgetId: a } =
|
|
9366
|
+
const { items: e } = on(), { activeWidgetId: a } = Io(), {
|
|
9367
9367
|
showItem: t,
|
|
9368
9368
|
hideAllItems: l,
|
|
9369
9369
|
toggleItem: c,
|
|
9370
9370
|
currentItem: i,
|
|
9371
9371
|
isAnyItemVisible: o
|
|
9372
|
-
} =
|
|
9372
|
+
} = ki(e, a);
|
|
9373
9373
|
return {
|
|
9374
9374
|
showWidget: t,
|
|
9375
9375
|
hideAllWidgets: l,
|
|
@@ -9393,7 +9393,7 @@ function yh(e) {
|
|
|
9393
9393
|
function wh(e) {
|
|
9394
9394
|
return e ? e.replace(/[\-_]+/g, " ").replace(/\s+/g, " ").trim().replace(/\b\w/g, (a) => a.toUpperCase()) : "";
|
|
9395
9395
|
}
|
|
9396
|
-
const
|
|
9396
|
+
const ja = /* @__PURE__ */ Z({
|
|
9397
9397
|
__name: "AppBarWidgetContent",
|
|
9398
9398
|
props: {
|
|
9399
9399
|
mobile: { type: Boolean, default: !1 }
|
|
@@ -9431,7 +9431,7 @@ const Xa = /* @__PURE__ */ Z({
|
|
|
9431
9431
|
}, Wh = {
|
|
9432
9432
|
key: 0,
|
|
9433
9433
|
class: "app-hub-content__flyout app-hub-content__flyout--mobile"
|
|
9434
|
-
}, Gh = { class: "app-hub-content__flyout-header" }, qh = { class: "app-hub-content__flyout-title" }, Kh = { class: "app-hub-content__flyout-body" },
|
|
9434
|
+
}, Gh = { class: "app-hub-content__flyout-header" }, qh = { class: "app-hub-content__flyout-title" }, Kh = { class: "app-hub-content__flyout-body" }, Xa = 120, Ol = 120, Yh = 80, jh = 120, Yn = /* @__PURE__ */ Z({
|
|
9435
9435
|
__name: "AppHubContent",
|
|
9436
9436
|
props: {
|
|
9437
9437
|
appsList: {},
|
|
@@ -9445,7 +9445,7 @@ const Xa = /* @__PURE__ */ Z({
|
|
|
9445
9445
|
widgets: d,
|
|
9446
9446
|
showApplications: Le(t, "showApplications"),
|
|
9447
9447
|
mobile: Le(t, "mobile")
|
|
9448
|
-
}), _ = B(Ol), E = B(Ol), T = h(() => !i.value && y.value.length >
|
|
9448
|
+
}), _ = B(Ol), E = B(Ol), T = h(() => !i.value && y.value.length > Xa), x = h(() => b.value.length > Xa), F = h(() => T.value ? y.value.slice(0, _.value) : y.value), k = h(() => x.value ? b.value.slice(0, E.value) : b.value);
|
|
9449
9449
|
oe(
|
|
9450
9450
|
() => d.value.map((q) => q.id),
|
|
9451
9451
|
() => {
|
|
@@ -9615,7 +9615,7 @@ const Xa = /* @__PURE__ */ Z({
|
|
|
9615
9615
|
]),
|
|
9616
9616
|
L(n(Ot), { class: "app-hub-content__widget-inline-body" }, {
|
|
9617
9617
|
default: P(() => [
|
|
9618
|
-
L(
|
|
9618
|
+
L(ja)
|
|
9619
9619
|
]),
|
|
9620
9620
|
_: 1
|
|
9621
9621
|
})
|
|
@@ -9669,7 +9669,7 @@ const Xa = /* @__PURE__ */ Z({
|
|
|
9669
9669
|
}, null, 8, ["onClick"])
|
|
9670
9670
|
]),
|
|
9671
9671
|
w("div", Kh, [
|
|
9672
|
-
L(
|
|
9672
|
+
L(ja, { mobile: "" })
|
|
9673
9673
|
])
|
|
9674
9674
|
])) : I("", !0)
|
|
9675
9675
|
]),
|
|
@@ -9735,7 +9735,7 @@ const Xa = /* @__PURE__ */ Z({
|
|
|
9735
9735
|
}), Qh = { class: "vc-notification-template__container" }, Jh = { class: "vc-notification-template__content" }, Zh = { class: "vc-notification-template__time" }, ey = {
|
|
9736
9736
|
key: 0,
|
|
9737
9737
|
class: "vc-notification-template__content-body"
|
|
9738
|
-
},
|
|
9738
|
+
}, Qa = 60, Ja = 3600, ty = 86400, ly = /* @__PURE__ */ Z({
|
|
9739
9739
|
__name: "notification-template",
|
|
9740
9740
|
props: {
|
|
9741
9741
|
title: {},
|
|
@@ -9752,7 +9752,7 @@ const Xa = /* @__PURE__ */ Z({
|
|
|
9752
9752
|
const r = o instanceof Date ? o : new Date(o);
|
|
9753
9753
|
if (Number.isNaN(r.getTime())) return "";
|
|
9754
9754
|
const d = Date.now(), u = Math.round((d - r.getTime()) / 1e3), v = Math.abs(u), m = new Intl.RelativeTimeFormat(c, { numeric: "auto" });
|
|
9755
|
-
return v <
|
|
9755
|
+
return v < Qa ? m.format(-u, "second") : v < Ja ? m.format(-Math.round(u / Qa), "minute") : v < ty ? m.format(-Math.round(u / Ja), "hour") : new Intl.DateTimeFormat(c, {
|
|
9756
9756
|
dateStyle: "short",
|
|
9757
9757
|
timeStyle: "short"
|
|
9758
9758
|
}).format(r);
|
|
@@ -9796,7 +9796,7 @@ const Xa = /* @__PURE__ */ Z({
|
|
|
9796
9796
|
return c.registry.get(r)?.template;
|
|
9797
9797
|
});
|
|
9798
9798
|
Be(
|
|
9799
|
-
|
|
9799
|
+
Gc,
|
|
9800
9800
|
h(() => t.notification)
|
|
9801
9801
|
);
|
|
9802
9802
|
const o = () => {
|
|
@@ -9861,7 +9861,7 @@ const Xa = /* @__PURE__ */ Z({
|
|
|
9861
9861
|
})) : (s(), f("div", sy, z(n(t)("COMPONENTS.NOTIFICATION_DROPDOWN.EMPTY")), 1))
|
|
9862
9862
|
]));
|
|
9863
9863
|
}
|
|
9864
|
-
}),
|
|
9864
|
+
}), $i = ry, cy = ["inert", "aria-label"], uy = /* @__PURE__ */ Z({
|
|
9865
9865
|
__name: "DesktopLayout",
|
|
9866
9866
|
props: {
|
|
9867
9867
|
logo: {},
|
|
@@ -9932,7 +9932,7 @@ const Xa = /* @__PURE__ */ Z({
|
|
|
9932
9932
|
expanded: n(l).isExpanded.value,
|
|
9933
9933
|
isMobile: !1
|
|
9934
9934
|
}, () => [
|
|
9935
|
-
u.value ? (s(), U(
|
|
9935
|
+
u.value ? (s(), U(Ci, {
|
|
9936
9936
|
key: 0,
|
|
9937
9937
|
logo: e.logo,
|
|
9938
9938
|
expanded: n(l).isExpanded.value,
|
|
@@ -10003,7 +10003,7 @@ const Xa = /* @__PURE__ */ Z({
|
|
|
10003
10003
|
"content-scrollable": !1
|
|
10004
10004
|
}, {
|
|
10005
10005
|
default: P(() => [
|
|
10006
|
-
L(n(
|
|
10006
|
+
L(n($i))
|
|
10007
10007
|
]),
|
|
10008
10008
|
_: 1
|
|
10009
10009
|
}, 8, ["show", "inert", "anchor-ref"])
|
|
@@ -10036,21 +10036,21 @@ function fy() {
|
|
|
10036
10036
|
return Be(Gn, a), Jn() && Hl(() => {
|
|
10037
10037
|
}), a;
|
|
10038
10038
|
}
|
|
10039
|
-
function
|
|
10039
|
+
function Ri() {
|
|
10040
10040
|
const e = we(Gn);
|
|
10041
10041
|
if (!e)
|
|
10042
10042
|
throw vy.error("AppBarMobileButtonsService not found"), new Wl("AppBarMobileButtonsService");
|
|
10043
10043
|
return e;
|
|
10044
10044
|
}
|
|
10045
10045
|
function my() {
|
|
10046
|
-
const { getButtons: e } =
|
|
10046
|
+
const { getButtons: e } = Ri(), { activeMobileActionId: a } = Io(), {
|
|
10047
10047
|
showItem: t,
|
|
10048
10048
|
hideAllItems: l,
|
|
10049
10049
|
toggleItem: c,
|
|
10050
10050
|
currentItem: i,
|
|
10051
10051
|
isAnyItemVisible: o,
|
|
10052
10052
|
closeItem: r
|
|
10053
|
-
} =
|
|
10053
|
+
} = ki(e, a);
|
|
10054
10054
|
return oe(
|
|
10055
10055
|
() => e.value,
|
|
10056
10056
|
(d) => {
|
|
@@ -10082,7 +10082,7 @@ const gy = {
|
|
|
10082
10082
|
expanded: {}
|
|
10083
10083
|
},
|
|
10084
10084
|
setup(e) {
|
|
10085
|
-
const a = e, { isMobile: t } = Fe(), { getButtons: l } =
|
|
10085
|
+
const a = e, { isMobile: t } = Fe(), { getButtons: l } = Ri(), { currentAction: c, toggleAction: i, hideAllActions: o, isAnyActionVisible: r } = my(), d = Wt(), u = (g) => {
|
|
10086
10086
|
if (c.value?.id === g.id) {
|
|
10087
10087
|
g.onClose?.(), o();
|
|
10088
10088
|
return;
|
|
@@ -10233,7 +10233,7 @@ const gy = {
|
|
|
10233
10233
|
}, By = {
|
|
10234
10234
|
key: 0,
|
|
10235
10235
|
class: "mobile-layout__search"
|
|
10236
|
-
}, mt = 0, el = 1,
|
|
10236
|
+
}, mt = 0, el = 1, Za = 8, Py = 0.3, Vy = 0.3, Uy = 1, Fy = 0.2, eo = "transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94)", zy = /* @__PURE__ */ Z({
|
|
10237
10237
|
__name: "MobileLayout",
|
|
10238
10238
|
props: {
|
|
10239
10239
|
logo: {},
|
|
@@ -10265,13 +10265,13 @@ const gy = {
|
|
|
10265
10265
|
}
|
|
10266
10266
|
return {
|
|
10267
10267
|
transform: `translateX(calc(${q}% * var(--vc-inline-sign, 1)))`,
|
|
10268
|
-
transition:
|
|
10268
|
+
transition: eo
|
|
10269
10269
|
};
|
|
10270
10270
|
}), N = h(() => {
|
|
10271
10271
|
const q = C.value?.clientWidth ?? 0, ee = y.value && q > 0 ? -b.value / q : 0;
|
|
10272
10272
|
return {
|
|
10273
10273
|
transform: `translateX(calc(${Math.max(0, Math.min(1, p.value + ee)) * 100}% * var(--vc-inline-sign, 1)))`,
|
|
10274
|
-
transition: y.value ? "none" :
|
|
10274
|
+
transition: y.value ? "none" : eo
|
|
10275
10275
|
};
|
|
10276
10276
|
});
|
|
10277
10277
|
function $(q) {
|
|
@@ -10308,7 +10308,7 @@ const gy = {
|
|
|
10308
10308
|
return;
|
|
10309
10309
|
const ee = q.touches[0], X = ee.clientX * F - E, V = ee.clientY - T, J = Math.abs(X), W = Math.abs(V);
|
|
10310
10310
|
if (_.value === "pending") {
|
|
10311
|
-
if (J <
|
|
10311
|
+
if (J < Za && W < Za)
|
|
10312
10312
|
return;
|
|
10313
10313
|
if (W > J) {
|
|
10314
10314
|
_.value = "vertical";
|
|
@@ -10374,7 +10374,7 @@ const gy = {
|
|
|
10374
10374
|
expanded: !1,
|
|
10375
10375
|
isMobile: !0
|
|
10376
10376
|
}, () => [
|
|
10377
|
-
L(
|
|
10377
|
+
L(Ci, {
|
|
10378
10378
|
logo: e.logo,
|
|
10379
10379
|
expanded: !1,
|
|
10380
10380
|
"is-mobile": !0,
|
|
@@ -10548,7 +10548,7 @@ const gy = {
|
|
|
10548
10548
|
avatar: e.avatar,
|
|
10549
10549
|
role: e.userRole
|
|
10550
10550
|
}, () => [
|
|
10551
|
-
n(o) ? I("", !0) : (s(), U(n(
|
|
10551
|
+
n(o) ? I("", !0) : (s(), U(n(Si), {
|
|
10552
10552
|
key: 0,
|
|
10553
10553
|
"avatar-url": e.avatar,
|
|
10554
10554
|
name: e.userName,
|
|
@@ -10562,7 +10562,7 @@ const gy = {
|
|
|
10562
10562
|
}
|
|
10563
10563
|
}), Hy = "NG_TRANSLATE_LANG_KEY";
|
|
10564
10564
|
function Wy() {
|
|
10565
|
-
const { setLocale: e, currentLocale: a } =
|
|
10565
|
+
const { setLocale: e, currentLocale: a } = mi(), t = ml(Hy, ""), l = (c) => {
|
|
10566
10566
|
c && c !== a.value && e(c);
|
|
10567
10567
|
};
|
|
10568
10568
|
l(t.value), oe(t, l);
|
|
@@ -10621,7 +10621,7 @@ const Gy = { class: "vc-menu-item__content" }, qy = { class: "vc-menu-item__titl
|
|
|
10621
10621
|
icon: e.icon,
|
|
10622
10622
|
"custom-size": 16,
|
|
10623
10623
|
class: "vc-menu-item__icon"
|
|
10624
|
-
}, null, 8, ["icon"])) : e.image ? (s(), U(n(
|
|
10624
|
+
}, null, 8, ["icon"])) : e.image ? (s(), U(n(Ms), {
|
|
10625
10625
|
key: 1,
|
|
10626
10626
|
src: e.image,
|
|
10627
10627
|
class: "vc-menu-item__image",
|
|
@@ -10680,7 +10680,7 @@ const Gy = { class: "vc-menu-item__content" }, qy = { class: "vc-menu-item__titl
|
|
|
10680
10680
|
}), jy = /* @__PURE__ */ Z({
|
|
10681
10681
|
__name: "language-selector",
|
|
10682
10682
|
setup(e) {
|
|
10683
|
-
const { availableLocales: a, getLocaleMessage: t } = ze({ useScope: "global" }), { setLocale: l, currentLocale: c } =
|
|
10683
|
+
const { availableLocales: a, getLocaleMessage: t } = ze({ useScope: "global" }), { setLocale: l, currentLocale: c } = mi(), i = a.map((d) => ({
|
|
10684
10684
|
lang: d,
|
|
10685
10685
|
title: t(d).language_name,
|
|
10686
10686
|
async clickHandler(u) {
|
|
@@ -10708,7 +10708,7 @@ const Gy = { class: "vc-menu-item__content" }, qy = { class: "vc-menu-item__titl
|
|
|
10708
10708
|
}), Xy = jy, Qy = /* @__PURE__ */ Z({
|
|
10709
10709
|
__name: "theme-selector",
|
|
10710
10710
|
setup(e) {
|
|
10711
|
-
const { currentThemeKey: a, currentLocalizedName: t, themes: l, setTheme: c } =
|
|
10711
|
+
const { currentThemeKey: a, currentLocalizedName: t, themes: l, setTheme: c } = Ls(), i = (o) => {
|
|
10712
10712
|
c(o.key), t.value && At(t.value);
|
|
10713
10713
|
};
|
|
10714
10714
|
return (o, r) => (s(), U(n(cn), {
|
|
@@ -10739,8 +10739,8 @@ const Gy = { class: "vc-menu-item__content" }, qy = { class: "vc-menu-item__titl
|
|
|
10739
10739
|
emits: ["close"],
|
|
10740
10740
|
setup(e, { emit: a }) {
|
|
10741
10741
|
const t = e, l = a, { t: c } = ze({ useScope: "global" }), { changeUserPassword: i, loading: o, validatePassword: r, signOut: d } = Gl();
|
|
10742
|
-
|
|
10743
|
-
const u =
|
|
10742
|
+
Ho({ validateOnMount: !1 });
|
|
10743
|
+
const u = ic(), v = sc(), m = Ht(), g = gt({
|
|
10744
10744
|
isValid: !1,
|
|
10745
10745
|
errors: [],
|
|
10746
10746
|
currentPassword: "",
|
|
@@ -10768,7 +10768,7 @@ const Gy = { class: "vc-menu-item__content" }, qy = { class: "vc-menu-item__titl
|
|
|
10768
10768
|
L(n(Rm), { class: "tw-flex tw-flex-col tw-flex-auto" }, {
|
|
10769
10769
|
default: P(() => [
|
|
10770
10770
|
e.forced ? (s(), f("div", Jy, [
|
|
10771
|
-
L(n(
|
|
10771
|
+
L(n(Is), {
|
|
10772
10772
|
extend: "",
|
|
10773
10773
|
outline: !1,
|
|
10774
10774
|
variant: "info-dark"
|
|
@@ -10791,7 +10791,7 @@ const Gy = { class: "vc-menu-item__content" }, qy = { class: "vc-menu-item__titl
|
|
|
10791
10791
|
L(n(Nl), {
|
|
10792
10792
|
label: n(c)("COMPONENTS.CHANGE_PASSWORD.CURRENT_PASSWORD.LABEL"),
|
|
10793
10793
|
name: "current",
|
|
10794
|
-
rules: "required
|
|
10794
|
+
rules: "required",
|
|
10795
10795
|
"model-value": g.currentPassword
|
|
10796
10796
|
}, {
|
|
10797
10797
|
default: P(({ field: T, errorMessage: x, errors: F }) => [
|
|
@@ -10910,7 +10910,7 @@ const Gy = { class: "vc-menu-item__content" }, qy = { class: "vc-menu-item__titl
|
|
|
10910
10910
|
}), nw = lw, aw = /* @__PURE__ */ Z({
|
|
10911
10911
|
__name: "change-password-button",
|
|
10912
10912
|
setup(e) {
|
|
10913
|
-
const { open: a } =
|
|
10913
|
+
const { open: a } = oi({ component: nw }), t = we(ea, void 0), l = () => {
|
|
10914
10914
|
t?.(), a();
|
|
10915
10915
|
};
|
|
10916
10916
|
return (c, i) => (s(), U(n(cn), {
|
|
@@ -10938,8 +10938,8 @@ const Gy = { class: "vc-menu-item__content" }, qy = { class: "vc-menu-item__titl
|
|
|
10938
10938
|
}
|
|
10939
10939
|
});
|
|
10940
10940
|
function iw(e) {
|
|
10941
|
-
const a = we(
|
|
10942
|
-
|
|
10941
|
+
const a = we(ds), t = fy();
|
|
10942
|
+
xs(), Be(dl, e.isEmbedded), e.isEmbedded && Wy(), e.internalRoutes && Be(vs, e.internalRoutes), e.dynamicModules !== void 0 && Be(Ro, e.dynamicModules), e.aiAgentConfig?.url && Ws({
|
|
10943
10943
|
config: e.aiAgentConfig,
|
|
10944
10944
|
addGlobalToolbarButton: e.aiAgentAddGlobalToolbarButton ?? !0,
|
|
10945
10945
|
isEmbedded: e.isEmbedded
|
|
@@ -10953,7 +10953,7 @@ function sw(e) {
|
|
|
10953
10953
|
const a = Xl();
|
|
10954
10954
|
e.isEmbedded || e.registerMobileButton({
|
|
10955
10955
|
id: "notifications",
|
|
10956
|
-
component:
|
|
10956
|
+
component: $i,
|
|
10957
10957
|
icon: "lucide-bell",
|
|
10958
10958
|
order: 10,
|
|
10959
10959
|
isVisible: !0,
|
|
@@ -10963,7 +10963,7 @@ function sw(e) {
|
|
|
10963
10963
|
component: Xy,
|
|
10964
10964
|
group: "preferences",
|
|
10965
10965
|
order: 20
|
|
10966
|
-
}), e.registerSettingsMenuItem({ id: "change-password", component: aw, group: "account", order: 30 }), e.registerSettingsMenuItem({ id: "logout", component: ow, group: "account", order: 100 }), Be(
|
|
10966
|
+
}), e.registerSettingsMenuItem({ id: "change-password", component: aw, group: "account", order: 30 }), e.registerSettingsMenuItem({ id: "logout", component: ow, group: "account", order: 100 }), Be($o, a.hasUnread);
|
|
10967
10967
|
}
|
|
10968
10968
|
const rw = lt("useShellNavigation");
|
|
10969
10969
|
function cw() {
|
|
@@ -10987,7 +10987,7 @@ const uw = lt("use-app-hub");
|
|
|
10987
10987
|
function dw() {
|
|
10988
10988
|
const { hasAccess: e } = fl(), a = B([]);
|
|
10989
10989
|
async function t() {
|
|
10990
|
-
return new
|
|
10990
|
+
return new fs();
|
|
10991
10991
|
}
|
|
10992
10992
|
async function l() {
|
|
10993
10993
|
const i = await t();
|
|
@@ -11037,7 +11037,7 @@ const fw = { class: "vc-app__main-content" }, pR = /* @__PURE__ */ Z({
|
|
|
11037
11037
|
searchPlaceholder: {}
|
|
11038
11038
|
},
|
|
11039
11039
|
setup(e) {
|
|
11040
|
-
const a = e, { isMobile: t, isDesktop: l } = Fe(), c = !!(we(
|
|
11040
|
+
const a = e, { isMobile: t, isDesktop: l } = Fe(), c = !!(we(So, null) && we(wo, null)), i = c ? zt() : void 0, o = h(
|
|
11041
11041
|
() => i?.blades.value.some((A) => i.isMaximized(A.id)) ?? !1
|
|
11042
11042
|
);
|
|
11043
11043
|
lt("vc-app").debug("Init vc-app");
|
|
@@ -11053,10 +11053,10 @@ const fw = { class: "vc-app__main-content" }, pR = /* @__PURE__ */ Z({
|
|
|
11053
11053
|
{ flush: "post" }
|
|
11054
11054
|
);
|
|
11055
11055
|
const m = B();
|
|
11056
|
-
Be(
|
|
11056
|
+
Be(To, m);
|
|
11057
11057
|
const g = vm();
|
|
11058
|
-
|
|
11059
|
-
const { isAppReady: p, isAuthenticated: y, appsList: b, switchApp: C } = vw(a), { handleMenuItemClick: _, openRoot: E } = cw(), T = we(
|
|
11058
|
+
Ds();
|
|
11059
|
+
const { isAppReady: p, isAuthenticated: y, appsList: b, switchApp: C } = vw(a), { handleMenuItemClick: _, openRoot: E } = cw(), T = we(ms), x = we(Ro, void 0), F = we("aiAgentConfig", void 0), k = we("aiAgentAddGlobalToolbarButton", !0), M = we(gs, B(!1));
|
|
11060
11060
|
iw({
|
|
11061
11061
|
isEmbedded: u,
|
|
11062
11062
|
internalRoutes: T,
|
|
@@ -11150,7 +11150,7 @@ const fw = { class: "vc-app__main-content" }, pR = /* @__PURE__ */ Z({
|
|
|
11150
11150
|
tabindex: "-1"
|
|
11151
11151
|
}, [
|
|
11152
11152
|
n(c) ? (s(), U(n(Hu), { key: 0 })) : I("", !0),
|
|
11153
|
-
n(F)?.url ? (s(), U(n(
|
|
11153
|
+
n(F)?.url ? (s(), U(n(Gs), {
|
|
11154
11154
|
key: 1,
|
|
11155
11155
|
inert: o.value || void 0
|
|
11156
11156
|
}, null, 8, ["inert"])) : I("", !0)
|
|
@@ -11166,7 +11166,7 @@ const fw = { class: "vc-app__main-content" }, pR = /* @__PURE__ */ Z({
|
|
|
11166
11166
|
}
|
|
11167
11167
|
});
|
|
11168
11168
|
function bR(e, a, t) {
|
|
11169
|
-
const { menuBadges: l } =
|
|
11169
|
+
const { menuBadges: l } = Lo();
|
|
11170
11170
|
return h(() => {
|
|
11171
11171
|
let c = xe(e);
|
|
11172
11172
|
const i = xe(a), o = xe(t);
|
|
@@ -11199,7 +11199,7 @@ const mw = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, hR
|
|
|
11199
11199
|
expanded: {}
|
|
11200
11200
|
},
|
|
11201
11201
|
setup(e) {
|
|
11202
|
-
const { isMobile: a, isDesktop: t } = Fe(), l = we(
|
|
11202
|
+
const { isMobile: a, isDesktop: t } = Fe(), l = we(To, void 0);
|
|
11203
11203
|
return (c, i) => n(l) ? (s(), U(ht, {
|
|
11204
11204
|
key: 0,
|
|
11205
11205
|
to: n(l)
|
|
@@ -11221,7 +11221,7 @@ const mw = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, hR
|
|
|
11221
11221
|
}
|
|
11222
11222
|
}), gw = {
|
|
11223
11223
|
class: /* @__PURE__ */ Y(["app-bar-button__button-container"])
|
|
11224
|
-
}, pw = { class: "app-bar-button__button-wrap" },
|
|
11224
|
+
}, pw = { class: "app-bar-button__button-wrap" }, to = /* @__PURE__ */ Z({
|
|
11225
11225
|
__name: "AppBarWidgetItem",
|
|
11226
11226
|
props: {
|
|
11227
11227
|
title: {},
|
|
@@ -11298,7 +11298,7 @@ const mw = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, hR
|
|
|
11298
11298
|
key: i.id,
|
|
11299
11299
|
class: "vc-app-toolbar-menu__item"
|
|
11300
11300
|
}, [
|
|
11301
|
-
i.component ? (s(), U(
|
|
11301
|
+
i.component ? (s(), U(to, {
|
|
11302
11302
|
key: 0,
|
|
11303
11303
|
"widget-id": i.id,
|
|
11304
11304
|
onToggle: (o) => i.onClick && i.onClick()
|
|
@@ -11320,7 +11320,7 @@ const mw = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, hR
|
|
|
11320
11320
|
])
|
|
11321
11321
|
]),
|
|
11322
11322
|
_: 2
|
|
11323
|
-
}, 1032, ["widget-id", "onToggle"])) : i.onClick ? (s(), U(
|
|
11323
|
+
}, 1032, ["widget-id", "onToggle"])) : i.onClick ? (s(), U(to, {
|
|
11324
11324
|
key: 1,
|
|
11325
11325
|
"widget-id": i.id,
|
|
11326
11326
|
onToggle: i.onClick
|
|
@@ -11529,7 +11529,7 @@ const Mw = ["onClick", "onKeydown"], Lw = { class: "tw-flex tw-items-center tw-g
|
|
|
11529
11529
|
if ($.startsWith("#"))
|
|
11530
11530
|
D = $;
|
|
11531
11531
|
else {
|
|
11532
|
-
const A =
|
|
11532
|
+
const A = Oo($);
|
|
11533
11533
|
A && (D = A);
|
|
11534
11534
|
}
|
|
11535
11535
|
l("update:model-value", {
|
|
@@ -11738,7 +11738,7 @@ const Mw = ["onClick", "onKeydown"], Lw = { class: "tw-flex tw-items-center tw-g
|
|
|
11738
11738
|
placeholder: b.value.placeholder,
|
|
11739
11739
|
disabled: e.disabled,
|
|
11740
11740
|
"current-language": e.currentLanguage
|
|
11741
|
-
}), null, 16, ["modelValue", "error-message", "label", "aria-label", "required", "placeholder", "disabled", "current-language"])) : E.value === "boolean" ? (s(), U(n(
|
|
11741
|
+
}), null, 16, ["modelValue", "error-message", "label", "aria-label", "required", "placeholder", "disabled", "current-language"])) : E.value === "boolean" ? (s(), U(n(hi), Ie({ key: 10 }, $.$attrs, {
|
|
11742
11742
|
modelValue: T.value,
|
|
11743
11743
|
"onUpdate:modelValue": D[10] || (D[10] = (S) => T.value = S),
|
|
11744
11744
|
"error-message": A,
|
|
@@ -11747,7 +11747,7 @@ const Mw = ["onClick", "onKeydown"], Lw = { class: "tw-flex tw-items-center tw-g
|
|
|
11747
11747
|
name: b.value.name,
|
|
11748
11748
|
label: C.value,
|
|
11749
11749
|
"aria-label": _.value
|
|
11750
|
-
}), null, 16, ["modelValue", "error-message", "required", "disabled", "name", "label", "aria-label"])) : E.value === "measure" ? (s(), U(n(
|
|
11750
|
+
}), null, 16, ["modelValue", "error-message", "required", "disabled", "name", "label", "aria-label"])) : E.value === "measure" ? (s(), U(n(Ns), Ie({ key: 11 }, $.$attrs, {
|
|
11751
11751
|
modelValue: T.value,
|
|
11752
11752
|
"onUpdate:modelValue": D[11] || (D[11] = (S) => T.value = S),
|
|
11753
11753
|
option: p.value,
|
|
@@ -11900,7 +11900,7 @@ const Mw = ["onClick", "onKeydown"], Lw = { class: "tw-flex tw-items-center tw-g
|
|
|
11900
11900
|
_: 1
|
|
11901
11901
|
}, 8, ["label", "name", "model-value", "rules"]));
|
|
11902
11902
|
}
|
|
11903
|
-
}),
|
|
11903
|
+
}), lo = /* @__PURE__ */ Z({
|
|
11904
11904
|
__name: "vc-gallery-item",
|
|
11905
11905
|
props: {
|
|
11906
11906
|
image: { default: () => ({}) },
|
|
@@ -11917,7 +11917,7 @@ const Mw = ["onClick", "onKeydown"], Lw = { class: "tw-flex tw-items-center tw-g
|
|
|
11917
11917
|
edit: !a.readonly && a.actions?.edit !== !1,
|
|
11918
11918
|
remove: !a.readonly && a.actions?.remove !== !1
|
|
11919
11919
|
}));
|
|
11920
|
-
return (c, i) => (s(), U(n(
|
|
11920
|
+
return (c, i) => (s(), U(n(wi), {
|
|
11921
11921
|
src: e.image.url,
|
|
11922
11922
|
alt: e.image.altText || e.image.name || "",
|
|
11923
11923
|
name: e.image.name,
|
|
@@ -11957,7 +11957,7 @@ const Mw = ["onClick", "onKeydown"], Lw = { class: "tw-flex tw-items-center tw-g
|
|
|
11957
11957
|
},
|
|
11958
11958
|
emits: ["swiper-init", "swiper-resize", "slides-updated", "sortable-container"],
|
|
11959
11959
|
setup(e, { emit: a }) {
|
|
11960
|
-
const { t } = ze({ useScope: "global" }), l = e, c = a, i = [
|
|
11960
|
+
const { t } = ze({ useScope: "global" }), l = e, c = a, i = [Go, Ec, qo, Sc], o = B(), r = B(), d = B();
|
|
11961
11961
|
function u(p) {
|
|
11962
11962
|
d.value = p, o.value && r.value && (p.params.navigation = {
|
|
11963
11963
|
...p.params.navigation,
|
|
@@ -12062,7 +12062,7 @@ const Mw = ["onClick", "onKeydown"], Lw = { class: "tw-flex tw-items-center tw-g
|
|
|
12062
12062
|
},
|
|
12063
12063
|
emits: ["close"],
|
|
12064
12064
|
setup(e, { emit: a }) {
|
|
12065
|
-
const t = a, l = e, { t: c } = ze({ useScope: "global" }), { isMobile: i } = Fe(), o = B(l.index), r = B(!1), d = [
|
|
12065
|
+
const t = a, l = e, { t: c } = ze({ useScope: "global" }), { isMobile: i } = Fe(), o = B(l.index), r = B(!1), d = [kc], u = [qo], v = B(), m = B(), g = h(() => l.images[o.value]);
|
|
12066
12066
|
oe(
|
|
12067
12067
|
() => l.index,
|
|
12068
12068
|
(M) => {
|
|
@@ -12104,7 +12104,7 @@ const Mw = ["onClick", "onKeydown"], Lw = { class: "tw-flex tw-items-center tw-g
|
|
|
12104
12104
|
function F(M) {
|
|
12105
12105
|
M.key === "Escape" && (M.preventDefault(), t("close"));
|
|
12106
12106
|
}
|
|
12107
|
-
const k =
|
|
12107
|
+
const k = js(document.body);
|
|
12108
12108
|
return tt(() => {
|
|
12109
12109
|
window.addEventListener("keydown", F), k.value = !0;
|
|
12110
12110
|
}), He(() => {
|
|
@@ -12222,7 +12222,7 @@ const Mw = ["onClick", "onKeydown"], Lw = { class: "tw-flex tw-items-center tw-g
|
|
|
12222
12222
|
onClick: (A) => C(D)
|
|
12223
12223
|
}, [
|
|
12224
12224
|
w("img", {
|
|
12225
|
-
src: n(
|
|
12225
|
+
src: n(Mo)($.url, "64x64") ?? $.url,
|
|
12226
12226
|
alt: $.name || "",
|
|
12227
12227
|
loading: "lazy",
|
|
12228
12228
|
class: "vc-gallery-preview__thumb-img",
|
|
@@ -12243,8 +12243,8 @@ const Mw = ["onClick", "onKeydown"], Lw = { class: "tw-flex tw-items-center tw-g
|
|
|
12243
12243
|
})) : I("", !0);
|
|
12244
12244
|
}
|
|
12245
12245
|
});
|
|
12246
|
-
function
|
|
12247
|
-
const a = B(0), { open: t } =
|
|
12246
|
+
function Ti(e) {
|
|
12247
|
+
const a = B(0), { open: t } = oi(
|
|
12248
12248
|
h(() => ({
|
|
12249
12249
|
component: Qw,
|
|
12250
12250
|
props: {
|
|
@@ -12277,7 +12277,7 @@ const Jw = { class: "vc-image-upload" }, Zw = {
|
|
|
12277
12277
|
},
|
|
12278
12278
|
emits: ["upload", "remove"],
|
|
12279
12279
|
setup(e, { emit: a }) {
|
|
12280
|
-
const t = e, l = a, { t: c } = ze({ useScope: "global" }), i = h(() => t.image ? [t.image] : []), o =
|
|
12280
|
+
const t = e, l = a, { t: c } = ze({ useScope: "global" }), i = h(() => t.image ? [t.image] : []), o = Ti(i), r = h(() => ({
|
|
12281
12281
|
preview: t.previewable,
|
|
12282
12282
|
remove: t.removable && !t.disabled
|
|
12283
12283
|
})), d = h(
|
|
@@ -12287,7 +12287,7 @@ const Jw = { class: "vc-image-upload" }, Zw = {
|
|
|
12287
12287
|
t.previewable && t.image && o.openPreview(0);
|
|
12288
12288
|
}
|
|
12289
12289
|
return (v, m) => (s(), f("div", Jw, [
|
|
12290
|
-
e.image?.url ? (s(), U(n(
|
|
12290
|
+
e.image?.url ? (s(), U(n(wi), {
|
|
12291
12291
|
key: 0,
|
|
12292
12292
|
src: e.image.url,
|
|
12293
12293
|
alt: e.image.altText || e.image.name || "",
|
|
@@ -12303,7 +12303,7 @@ const Jw = { class: "vc-image-upload" }, Zw = {
|
|
|
12303
12303
|
]),
|
|
12304
12304
|
_: 1
|
|
12305
12305
|
})
|
|
12306
|
-
])) : (s(), U(n(
|
|
12306
|
+
])) : (s(), U(n(pi), {
|
|
12307
12307
|
key: 1,
|
|
12308
12308
|
icon: e.icon,
|
|
12309
12309
|
multiple: !1,
|
|
@@ -12524,7 +12524,7 @@ const i0 = {
|
|
|
12524
12524
|
}
|
|
12525
12525
|
}), p = a0(u, {
|
|
12526
12526
|
onUpload: (D, A) => l("upload", D, A)
|
|
12527
|
-
}), y =
|
|
12527
|
+
}), y = Ti(u), b = { sm: "128x128", md: "216x216", lg: "348x348" }, C = h(() => t.thumbnailSize ?? b[t.size]), _ = o0({
|
|
12528
12528
|
imageCount: h(() => u.value.length)
|
|
12529
12529
|
}), E = B();
|
|
12530
12530
|
function T() {
|
|
@@ -12657,7 +12657,7 @@ const i0 = {
|
|
|
12657
12657
|
remove: () => l("remove", R)
|
|
12658
12658
|
}
|
|
12659
12659
|
}, () => [
|
|
12660
|
-
L(
|
|
12660
|
+
L(lo, {
|
|
12661
12661
|
image: R,
|
|
12662
12662
|
readonly: e.disabled,
|
|
12663
12663
|
actions: e.itemActions,
|
|
@@ -12691,7 +12691,7 @@ const i0 = {
|
|
|
12691
12691
|
remove: () => l("remove", R)
|
|
12692
12692
|
}
|
|
12693
12693
|
}, () => [
|
|
12694
|
-
L(
|
|
12694
|
+
L(lo, {
|
|
12695
12695
|
image: R,
|
|
12696
12696
|
readonly: e.disabled,
|
|
12697
12697
|
actions: e.itemActions,
|
|
@@ -12730,7 +12730,7 @@ const i0 = {
|
|
|
12730
12730
|
])) : I("", !0)
|
|
12731
12731
|
], 2)) : I("", !0),
|
|
12732
12732
|
!v.value && !e.disabled ? (s(), f("div", m0, [
|
|
12733
|
-
L(n(
|
|
12733
|
+
L(n(pi), {
|
|
12734
12734
|
icon: e.uploadIcon,
|
|
12735
12735
|
multiple: e.multiple,
|
|
12736
12736
|
rules: e.rules,
|
|
@@ -12792,7 +12792,7 @@ function w0(e, a) {
|
|
|
12792
12792
|
G(e.$slots, "default")
|
|
12793
12793
|
]);
|
|
12794
12794
|
}
|
|
12795
|
-
const C0 = /* @__PURE__ */
|
|
12795
|
+
const C0 = /* @__PURE__ */ xo(h0, [["render", w0]]), _0 = ["data-items-count"], E0 = {
|
|
12796
12796
|
key: "__empty__",
|
|
12797
12797
|
class: "vc-table-composition__body-state"
|
|
12798
12798
|
}, S0 = { class: "vc-table-composition__empty" }, k0 = {
|
|
@@ -12851,9 +12851,9 @@ const C0 = /* @__PURE__ */ Do(h0, [["render", w0]]), _0 = ["data-items-count"],
|
|
|
12851
12851
|
emits: ["click", "hover", "leave", "space-press"],
|
|
12852
12852
|
setup(e, { emit: a }) {
|
|
12853
12853
|
const t = e, l = a, c = we(ql, null), i = we(
|
|
12854
|
-
|
|
12854
|
+
Do,
|
|
12855
12855
|
h(() => 0)
|
|
12856
|
-
), o = we(
|
|
12856
|
+
), o = we(No, B(!1)), r = h(() => !!t.clickable), d = h(() => t.variant === "header" ? "columnheader" : "cell"), u = (p) => {
|
|
12857
12857
|
l("click", p);
|
|
12858
12858
|
}, v = (p) => {
|
|
12859
12859
|
r.value && l("space-press", p);
|
|
@@ -12944,7 +12944,7 @@ const C0 = /* @__PURE__ */ Do(h0, [["render", w0]]), _0 = ["data-items-count"],
|
|
|
12944
12944
|
}, I0 = {
|
|
12945
12945
|
key: 0,
|
|
12946
12946
|
class: "vc-table-composition__head-sort-badge"
|
|
12947
|
-
},
|
|
12947
|
+
}, no = /* @__PURE__ */ Z({
|
|
12948
12948
|
__name: "TableHead",
|
|
12949
12949
|
props: {
|
|
12950
12950
|
sortable: { type: Boolean },
|
|
@@ -13093,13 +13093,13 @@ function P0(e, a) {
|
|
|
13093
13093
|
G(e.$slots, "default")
|
|
13094
13094
|
]);
|
|
13095
13095
|
}
|
|
13096
|
-
const V0 = /* @__PURE__ */
|
|
13096
|
+
const V0 = /* @__PURE__ */ xo(N0, [["render", P0]]), U0 = { class: "vc-table-composition__empty-state" }, F0 = { class: "vc-table-composition__empty-content" }, z0 = { class: "vc-table-composition__empty-title" }, H0 = {
|
|
13097
13097
|
key: 0,
|
|
13098
13098
|
class: "vc-table-composition__empty-description"
|
|
13099
13099
|
}, W0 = {
|
|
13100
13100
|
key: 1,
|
|
13101
13101
|
class: "vc-table-composition__empty-action"
|
|
13102
|
-
},
|
|
13102
|
+
}, Ai = /* @__PURE__ */ Z({
|
|
13103
13103
|
__name: "TableEmpty",
|
|
13104
13104
|
props: {
|
|
13105
13105
|
icon: {},
|
|
@@ -13860,7 +13860,7 @@ const V0 = /* @__PURE__ */ Do(N0, [["render", P0]]), U0 = { class: "vc-table-com
|
|
|
13860
13860
|
}), R1 = { class: "vc-global-filters-button__label" }, T1 = {
|
|
13861
13861
|
key: 0,
|
|
13862
13862
|
class: "vc-global-filters-button__badge"
|
|
13863
|
-
},
|
|
13863
|
+
}, Oi = /* @__PURE__ */ Z({
|
|
13864
13864
|
__name: "GlobalFiltersButton",
|
|
13865
13865
|
props: {
|
|
13866
13866
|
activeCount: { default: 0 },
|
|
@@ -13887,16 +13887,16 @@ const V0 = /* @__PURE__ */ Do(N0, [["render", P0]]), U0 = { class: "vc-table-com
|
|
|
13887
13887
|
function tl(e) {
|
|
13888
13888
|
return typeof e == "object" && "options" in e;
|
|
13889
13889
|
}
|
|
13890
|
-
function
|
|
13890
|
+
function ao(e) {
|
|
13891
13891
|
return typeof e == "object" && "options" in e && "field" in e;
|
|
13892
13892
|
}
|
|
13893
13893
|
function Dn(e) {
|
|
13894
13894
|
return typeof e == "object" && "range" in e;
|
|
13895
13895
|
}
|
|
13896
|
-
function
|
|
13896
|
+
function Mi() {
|
|
13897
13897
|
return {
|
|
13898
13898
|
getFilterType: (o) => o ? o === !0 || typeof o == "string" ? "text" : Dn(o) ? "dateRange" : tl(o) ? "select" : "none" : "none",
|
|
13899
|
-
getFilterField: (o, r) => !r || r === !0 ? o : typeof r == "string" ? r :
|
|
13899
|
+
getFilterField: (o, r) => !r || r === !0 ? o : typeof r == "string" ? r : ao(r) ? r.field : (tl(r), o),
|
|
13900
13900
|
getRangeFields: (o) => {
|
|
13901
13901
|
if (o && Dn(o))
|
|
13902
13902
|
return o.range;
|
|
@@ -13909,7 +13909,7 @@ function Li() {
|
|
|
13909
13909
|
hasFilter: (o) => o != null,
|
|
13910
13910
|
// Export type guards for external use
|
|
13911
13911
|
isSelectFilter: tl,
|
|
13912
|
-
isSelectFilterWithField:
|
|
13912
|
+
isSelectFilterWithField: ao,
|
|
13913
13913
|
isDateRangeFilter: Dn
|
|
13914
13914
|
};
|
|
13915
13915
|
}
|
|
@@ -13929,7 +13929,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
13929
13929
|
},
|
|
13930
13930
|
emits: ["update:modelValue", "update:show", "apply", "clear"],
|
|
13931
13931
|
setup(e, { emit: a }) {
|
|
13932
|
-
const t = e, l = a, { isMobile: c } = Fe(), { getFilterType: i, getFilterOptions: o, isMultipleSelect: r, getRangeFields: d } =
|
|
13932
|
+
const t = e, l = a, { isMobile: c } = Fe(), { getFilterType: i, getFilterOptions: o, isMultipleSelect: r, getRangeFields: d } = Mi(), u = h(() => {
|
|
13933
13933
|
const M = {};
|
|
13934
13934
|
for (const N of t.filters)
|
|
13935
13935
|
M[N.id] = i(N.filter);
|
|
@@ -14228,7 +14228,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
14228
14228
|
}, j1 = {
|
|
14229
14229
|
key: 5,
|
|
14230
14230
|
class: "vc-cell-renderer__body-slot"
|
|
14231
|
-
},
|
|
14231
|
+
}, Li = /* @__PURE__ */ Z({
|
|
14232
14232
|
__name: "DataTableCellRenderer",
|
|
14233
14233
|
props: {
|
|
14234
14234
|
column: {},
|
|
@@ -14268,7 +14268,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
14268
14268
|
oe(
|
|
14269
14269
|
m,
|
|
14270
14270
|
(k) => {
|
|
14271
|
-
v?.(), v = void 0, k && (k.querySelector("input, textarea, select, button, [tabindex]:not([tabindex='-1'])")?.focus(), v =
|
|
14271
|
+
v?.(), v = void 0, k && (k.querySelector("input, textarea, select, button, [tabindex]:not([tabindex='-1'])")?.focus(), v = Xs(k, (M) => {
|
|
14272
14272
|
r(k, M.target) || i();
|
|
14273
14273
|
}));
|
|
14274
14274
|
},
|
|
@@ -14385,7 +14385,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
14385
14385
|
index: e.index
|
|
14386
14386
|
}
|
|
14387
14387
|
}, null, 8, ["slot-fn", "scope"])
|
|
14388
|
-
])) : (s(), U(
|
|
14388
|
+
])) : (s(), U(Bo, {
|
|
14389
14389
|
key: 6,
|
|
14390
14390
|
ref_key: "builtinEditorRef",
|
|
14391
14391
|
ref: u,
|
|
@@ -14551,7 +14551,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
14551
14551
|
onClick: (k) => _(F)
|
|
14552
14552
|
}, {
|
|
14553
14553
|
default: P(() => [
|
|
14554
|
-
L(
|
|
14554
|
+
L(Li, {
|
|
14555
14555
|
column: F,
|
|
14556
14556
|
item: e.item,
|
|
14557
14557
|
"editing-row-data": e.editingRowData,
|
|
@@ -14720,7 +14720,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
14720
14720
|
e.items.length === 0 && !e.loading ? (s(), f("div", iC, [
|
|
14721
14721
|
w("div", sC, [
|
|
14722
14722
|
G(A.$slots, "empty", {}, () => [
|
|
14723
|
-
L(
|
|
14723
|
+
L(Ai, {
|
|
14724
14724
|
icon: e.emptyIcon,
|
|
14725
14725
|
title: e.emptyTitle,
|
|
14726
14726
|
description: e.emptyDescription,
|
|
@@ -14813,7 +14813,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
14813
14813
|
const i = t.value;
|
|
14814
14814
|
l.value = !!i && i.scrollWidth > i.clientWidth;
|
|
14815
14815
|
};
|
|
14816
|
-
return
|
|
14816
|
+
return zo(t, c), oe(
|
|
14817
14817
|
() => [a.title, a.required, a.isEditing],
|
|
14818
14818
|
() => requestAnimationFrame(c)
|
|
14819
14819
|
), (i, o) => (s(), U(n(ul), {
|
|
@@ -14902,7 +14902,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
14902
14902
|
"actions-position": e.actionsPosition
|
|
14903
14903
|
}, De({
|
|
14904
14904
|
default: P(() => [
|
|
14905
|
-
e.showSelectionCell ? (s(), U(
|
|
14905
|
+
e.showSelectionCell ? (s(), U(no, {
|
|
14906
14906
|
key: 0,
|
|
14907
14907
|
class: "vc-data-table__selection-cell"
|
|
14908
14908
|
}, {
|
|
@@ -14917,7 +14917,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
14917
14917
|
]),
|
|
14918
14918
|
_: 1
|
|
14919
14919
|
})) : I("", !0),
|
|
14920
|
-
(s(!0), f(le, null, de(e.columns, (b) => (s(), U(
|
|
14920
|
+
(s(!0), f(le, null, de(e.columns, (b) => (s(), U(no, {
|
|
14921
14921
|
ref_for: !0,
|
|
14922
14922
|
ref: (C) => e.setHeaderRef(b.props.id, C),
|
|
14923
14923
|
key: b.props.id,
|
|
@@ -15067,7 +15067,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
15067
15067
|
},
|
|
15068
15068
|
emits: ["update", "blur"],
|
|
15069
15069
|
setup(e) {
|
|
15070
|
-
const a = e, t = h(() => a.config.field || a.config.id), l = we(
|
|
15070
|
+
const a = e, t = h(() => a.config.field || a.config.id), l = we(Po, null), c = h(
|
|
15071
15071
|
() => !!l?.enabled() && !!(a.config.column.slots.editor || a.config.column.props.editable)
|
|
15072
15072
|
), i = h(() => c.value && l.isCellEditing(a.index, t.value)), o = () => l.start(a.item, t.value, a.index, a.config.column), r = (m) => {
|
|
15073
15073
|
c.value && (m.stopPropagation(), i.value || o());
|
|
@@ -15085,7 +15085,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
15085
15085
|
onClick: r,
|
|
15086
15086
|
onKeydown: Me(ve(o, ["self", "prevent"]), ["enter"])
|
|
15087
15087
|
}, [
|
|
15088
|
-
i.value ? (s(), U(
|
|
15088
|
+
i.value ? (s(), U(Li, {
|
|
15089
15089
|
key: 0,
|
|
15090
15090
|
column: e.config.column,
|
|
15091
15091
|
item: e.item,
|
|
@@ -15103,7 +15103,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
15103
15103
|
field: t.value,
|
|
15104
15104
|
index: e.index
|
|
15105
15105
|
}
|
|
15106
|
-
}, null, 8, ["slot-fn", "scope"])) : (s(), U(
|
|
15106
|
+
}, null, 8, ["slot-fn", "scope"])) : (s(), U(Bo, {
|
|
15107
15107
|
key: 1,
|
|
15108
15108
|
type: e.config.type || "text",
|
|
15109
15109
|
value: d.value,
|
|
@@ -15182,7 +15182,7 @@ const A1 = { class: "vc-global-filters-panel__content" }, O1 = { class: "vc-glob
|
|
|
15182
15182
|
_: 1
|
|
15183
15183
|
}, 8, ["model-value", "title"]));
|
|
15184
15184
|
}
|
|
15185
|
-
}),
|
|
15185
|
+
}), Ii = Symbol();
|
|
15186
15186
|
function CC() {
|
|
15187
15187
|
const e = B(null);
|
|
15188
15188
|
function a(l) {
|
|
@@ -15192,10 +15192,10 @@ function CC() {
|
|
|
15192
15192
|
activeSwipeId: e,
|
|
15193
15193
|
setActiveSwipe: a
|
|
15194
15194
|
};
|
|
15195
|
-
return Be(
|
|
15195
|
+
return Be(Ii, t), t;
|
|
15196
15196
|
}
|
|
15197
15197
|
function _C() {
|
|
15198
|
-
const e = we(
|
|
15198
|
+
const e = we(Ii);
|
|
15199
15199
|
if (!e)
|
|
15200
15200
|
throw new Error("useTableSwipe must be used within a provider");
|
|
15201
15201
|
return e;
|
|
@@ -15212,7 +15212,7 @@ const EC = {
|
|
|
15212
15212
|
}, RC = {
|
|
15213
15213
|
key: 2,
|
|
15214
15214
|
class: "vc-data-table-mobile-card__statuses"
|
|
15215
|
-
}, TC = ["aria-expanded", "aria-label"], AC = { class: "vc-data-table-mobile-card__action-title" }, OC = ["disabled", "onClick"], MC = { class: "vc-data-table-mobile-card__action-title" },
|
|
15215
|
+
}, TC = ["aria-expanded", "aria-label"], AC = { class: "vc-data-table-mobile-card__action-title" }, OC = ["disabled", "onClick"], MC = { class: "vc-data-table-mobile-card__action-title" }, oo = 8, LC = 0.08, IC = 0.7, xC = 1, DC = /* @__PURE__ */ Z({
|
|
15216
15216
|
__name: "DataTableMobileCard",
|
|
15217
15217
|
props: {
|
|
15218
15218
|
item: {},
|
|
@@ -15281,7 +15281,7 @@ const EC = {
|
|
|
15281
15281
|
const te = fe.touches[0], ie = te.clientX * M.value, re = ie - _.value, Ce = te.clientY - E.value;
|
|
15282
15282
|
if (N.value === null) {
|
|
15283
15283
|
const it = Math.abs(re), nt = Math.abs(Ce);
|
|
15284
|
-
if (it >=
|
|
15284
|
+
if (it >= oo || nt >= oo)
|
|
15285
15285
|
N.value = it > nt ? "horizontal" : "vertical";
|
|
15286
15286
|
else
|
|
15287
15287
|
return;
|
|
@@ -15556,7 +15556,7 @@ const EC = {
|
|
|
15556
15556
|
[n(gl), X]
|
|
15557
15557
|
]);
|
|
15558
15558
|
}
|
|
15559
|
-
}), ol = ["top-left", "top-right", "bottom-left", "bottom-right"],
|
|
15559
|
+
}), ol = ["top-left", "top-right", "bottom-left", "bottom-right"], xi = 4, NC = /* @__PURE__ */ new Set(["status", "status-icon"]), BC = /* @__PURE__ */ new Set(["text", "link", "html"]);
|
|
15560
15560
|
function PC(e, a) {
|
|
15561
15561
|
switch (e) {
|
|
15562
15562
|
case "image":
|
|
@@ -15598,7 +15598,7 @@ function UC(e) {
|
|
|
15598
15598
|
o && a.push(Ll(o, "top-left", !0)), l && a.push(Ll(l, "image"));
|
|
15599
15599
|
for (const d of c)
|
|
15600
15600
|
a.push(Ll(d, "status"));
|
|
15601
|
-
const r = i.filter((d) => d !== o).slice(0,
|
|
15601
|
+
const r = i.filter((d) => d !== o).slice(0, xi);
|
|
15602
15602
|
for (let d = 0; d < r.length; d++)
|
|
15603
15603
|
a.push(Ll(r[d], ol[d]));
|
|
15604
15604
|
return a;
|
|
@@ -15658,7 +15658,7 @@ function FC(e) {
|
|
|
15658
15658
|
position: y[b]
|
|
15659
15659
|
});
|
|
15660
15660
|
}
|
|
15661
|
-
return i.fields = p.slice(0,
|
|
15661
|
+
return i.fields = p.slice(0, xi), i.fields.sort((b, C) => {
|
|
15662
15662
|
const _ = ol.indexOf(b.position), E = ol.indexOf(C.position);
|
|
15663
15663
|
return _ - E;
|
|
15664
15664
|
}), i;
|
|
@@ -15952,7 +15952,7 @@ function ZC(e) {
|
|
|
15952
15952
|
}
|
|
15953
15953
|
const c = t.map((r) => r.spec.weight * a), i = t.map((r, d) => Math.max(r.spec.minPx, Math.min(c[d], r.spec.maxPx)));
|
|
15954
15954
|
let o = a - i.reduce((r, d) => r + d, 0);
|
|
15955
|
-
return l === "gap" && o >= 0 ?
|
|
15955
|
+
return l === "gap" && o >= 0 ? io(t, i, o, a) : (o > 0 && (e_(t, i, o), o = a - i.reduce((r, d) => r + d, 0)), o < 0 && (t_(t, i, o), o = a - i.reduce((r, d) => r + d, 0)), o < -0.5 && (l_(t, i, a), o = 0), io(t, i, 0, a));
|
|
15956
15956
|
}
|
|
15957
15957
|
function e_(e, a, t) {
|
|
15958
15958
|
let l = t;
|
|
@@ -16007,7 +16007,7 @@ function l_(e, a, t) {
|
|
|
16007
16007
|
a[c] = Math.max(0, i * t);
|
|
16008
16008
|
}
|
|
16009
16009
|
}
|
|
16010
|
-
function
|
|
16010
|
+
function io(e, a, t, l) {
|
|
16011
16011
|
const c = {}, i = a.map((y) => Math.floor(y)), o = a.map((y, b) => y - i[b]), r = Math.floor(t), d = i.reduce((y, b) => y + b, 0) + r;
|
|
16012
16012
|
let u = l - d;
|
|
16013
16013
|
const v = a.map((y, b) => b);
|
|
@@ -16043,9 +16043,9 @@ function Il(e, a) {
|
|
|
16043
16043
|
const l = t.match(/^(\d+(?:\.\d+)?)(px)?$/);
|
|
16044
16044
|
return l ? { type: "px", desiredPx: parseFloat(l[1]) } : (n_(e), { type: "auto", desiredPx: null });
|
|
16045
16045
|
}
|
|
16046
|
-
const
|
|
16046
|
+
const so = /* @__PURE__ */ new Set();
|
|
16047
16047
|
function n_(e) {
|
|
16048
|
-
typeof process > "u" || process.env?.NODE_ENV === "production" ||
|
|
16048
|
+
typeof process > "u" || process.env?.NODE_ENV === "production" || so.has(e) || (so.add(e), console.warn(
|
|
16049
16049
|
`[VcDataTable] Unsupported width value "${e}". Only px (number, "200", "200px") and % ("20%") are supported. Treating as auto.`
|
|
16050
16050
|
));
|
|
16051
16051
|
}
|
|
@@ -16307,7 +16307,7 @@ function s_(e, a, t) {
|
|
|
16307
16307
|
}
|
|
16308
16308
|
function Vn(e) {
|
|
16309
16309
|
try {
|
|
16310
|
-
return structuredClone(
|
|
16310
|
+
return structuredClone(yo(e));
|
|
16311
16311
|
} catch {
|
|
16312
16312
|
return JSON.parse(
|
|
16313
16313
|
JSON.stringify(e, (a, t) => t instanceof Date ? { __type: "Date", value: t.toISOString() } : t),
|
|
@@ -16318,7 +16318,7 @@ function Vn(e) {
|
|
|
16318
16318
|
function r_(e) {
|
|
16319
16319
|
const { items: a, rules: t, onCellUpdate: l, onSave: c, onCancel: i } = e, o = B(!1);
|
|
16320
16320
|
let r = [];
|
|
16321
|
-
const d = we(
|
|
16321
|
+
const d = we(rc, void 0), u = d ? void 0 : Ho(), v = d ?? u, { meta: m, setFieldValue: g, errors: p, validate: y } = v, b = () => {
|
|
16322
16322
|
u && u.resetForm();
|
|
16323
16323
|
}, C = B(/* @__PURE__ */ new Map()), _ = B(/* @__PURE__ */ new Set()), E = (K) => {
|
|
16324
16324
|
if (_.value.has(K)) {
|
|
@@ -16672,9 +16672,9 @@ function d_(e) {
|
|
|
16672
16672
|
internalMultiSortMeta: u
|
|
16673
16673
|
};
|
|
16674
16674
|
}
|
|
16675
|
-
function
|
|
16675
|
+
function ro(e) {
|
|
16676
16676
|
try {
|
|
16677
|
-
return structuredClone(
|
|
16677
|
+
return structuredClone(yo(e));
|
|
16678
16678
|
} catch {
|
|
16679
16679
|
return JSON.parse(
|
|
16680
16680
|
JSON.stringify(e, (a, t) => t instanceof Date ? { __type: "Date", value: t.toISOString() } : t),
|
|
@@ -16706,7 +16706,7 @@ function v_(e) {
|
|
|
16706
16706
|
return x ? x.fields.includes(E) || x.fields.push(E) : i.value = {
|
|
16707
16707
|
...i.value,
|
|
16708
16708
|
[T]: {
|
|
16709
|
-
data:
|
|
16709
|
+
data: ro(_),
|
|
16710
16710
|
fields: [E]
|
|
16711
16711
|
}
|
|
16712
16712
|
}, { data: _, field: E, index: T };
|
|
@@ -16760,7 +16760,7 @@ function v_(e) {
|
|
|
16760
16760
|
if (a.value !== "row")
|
|
16761
16761
|
return { data: _, index: E };
|
|
16762
16762
|
const T = l(_, E);
|
|
16763
|
-
return r.value.set(T,
|
|
16763
|
+
return r.value.set(T, ro(_)), o.value = [...o.value, _], { data: _, index: E };
|
|
16764
16764
|
},
|
|
16765
16765
|
saveRowEdit: (_, E) => {
|
|
16766
16766
|
if (a.value !== "row")
|
|
@@ -17402,7 +17402,7 @@ function __(e) {
|
|
|
17402
17402
|
disabled: h(() => !ne.value),
|
|
17403
17403
|
handle: C_,
|
|
17404
17404
|
onReorder: (Q) => t("row-reorder", Q)
|
|
17405
|
-
}), V = h(() => l.value.find((Q) => Q.props.expander === !0) || null), J = h(() => V.value !== null), W =
|
|
17405
|
+
}), V = h(() => l.value.find((Q) => Q.props.expander === !0) || null), J = h(() => V.value !== null), W = Mi(), { filterValues: ce, updateFilter: ge, updateRangeFilter: fe, clearFilter: te, buildPayload: ie, hasActiveFilters: re } = u_(
|
|
17406
17406
|
{
|
|
17407
17407
|
onFilterChange: (Q) => {
|
|
17408
17408
|
t("filter", { filters: Q, filteredValue: a.items });
|
|
@@ -17729,7 +17729,7 @@ const $R = {
|
|
|
17729
17729
|
}, R_ = {
|
|
17730
17730
|
key: 0,
|
|
17731
17731
|
class: "vc-data-table__mobile-select-toolbar"
|
|
17732
|
-
}, T_ = { class: "vc-data-table__mobile-select-toolbar-text" }, A_ = { class: "vc-data-table__page-info" }, Un = 37,
|
|
17732
|
+
}, T_ = { class: "vc-data-table__mobile-select-toolbar-text" }, A_ = { class: "vc-data-table__page-info" }, Un = 37, co = 140, O_ = /* @__PURE__ */ Z({
|
|
17733
17733
|
inheritAttrs: !1,
|
|
17734
17734
|
__name: "VcDataTable",
|
|
17735
17735
|
props: {
|
|
@@ -17864,7 +17864,7 @@ const $R = {
|
|
|
17864
17864
|
};
|
|
17865
17865
|
return ue.forEach(Ee), he;
|
|
17866
17866
|
}, R = new E_();
|
|
17867
|
-
Be(
|
|
17867
|
+
Be(Bs, R);
|
|
17868
17868
|
const S = B(0);
|
|
17869
17869
|
R.onUpdate(() => {
|
|
17870
17870
|
S.value++;
|
|
@@ -17974,9 +17974,9 @@ const $R = {
|
|
|
17974
17974
|
zl(() => {
|
|
17975
17975
|
mn.value = k.value ? Ca.value?.listEl : Ke.value?.listEl;
|
|
17976
17976
|
}), Be(
|
|
17977
|
-
|
|
17977
|
+
Do,
|
|
17978
17978
|
h(() => fe.engineOutput.value.fillerWidth)
|
|
17979
|
-
), Be(
|
|
17979
|
+
), Be(No, dn), Be(Po, {
|
|
17980
17980
|
enabled: () => l.editMode === "cell",
|
|
17981
17981
|
isCellEditing: W.isCellEditing,
|
|
17982
17982
|
getEditingRowData: W.getEditingRowData,
|
|
@@ -17988,7 +17988,7 @@ const $R = {
|
|
|
17988
17988
|
c("pagination-click", ue);
|
|
17989
17989
|
}, Xt = B(l.searchValue ?? "");
|
|
17990
17990
|
let Qt = null;
|
|
17991
|
-
const
|
|
17991
|
+
const Fi = (ue) => {
|
|
17992
17992
|
Xt.value = ue, c("update:searchValue", ue), Qt && clearTimeout(Qt), Qt = setTimeout(() => {
|
|
17993
17993
|
c("search", ue);
|
|
17994
17994
|
}, l.searchDebounce ?? 300);
|
|
@@ -17999,13 +17999,13 @@ const $R = {
|
|
|
17999
17999
|
ue !== void 0 && ue !== Xt.value && (Xt.value = ue);
|
|
18000
18000
|
}
|
|
18001
18001
|
);
|
|
18002
|
-
const
|
|
18002
|
+
const zi = (ue) => {
|
|
18003
18003
|
if (!l.infiniteScroll || l.loading) return;
|
|
18004
18004
|
const he = ue.target, Ee = l.infiniteScrollDistance ?? 100;
|
|
18005
18005
|
he.scrollHeight - he.scrollTop - he.clientHeight < Ee && c("load-more");
|
|
18006
|
-
}, Sn = h(() => l.addRow?.enabled === !0), Ea = h(() => l.addRow?.position ?? "footer"), kn = h(() => l.addRow?.label ?? "Add row"), $n = h(() => l.addRow?.icon ?? "lucide-plus"),
|
|
18007
|
-
},
|
|
18008
|
-
}, El = B(!1), Sl = B({}), Sa = B(null),
|
|
18006
|
+
}, Sn = h(() => l.addRow?.enabled === !0), Ea = h(() => l.addRow?.position ?? "footer"), kn = h(() => l.addRow?.label ?? "Add row"), $n = h(() => l.addRow?.icon ?? "lucide-plus"), Hi = (ue) => {
|
|
18007
|
+
}, Wi = () => {
|
|
18008
|
+
}, El = B(!1), Sl = B({}), Sa = B(null), Gi = h(() => {
|
|
18009
18009
|
const ue = Sa.value;
|
|
18010
18010
|
return ue ? {
|
|
18011
18011
|
getBoundingClientRect: () => ue.$el?.getBoundingClientRect() ?? new DOMRect(),
|
|
@@ -18013,7 +18013,7 @@ const $R = {
|
|
|
18013
18013
|
return ue.$el;
|
|
18014
18014
|
}
|
|
18015
18015
|
} : null;
|
|
18016
|
-
}), Jt = B(!1), ka = B(null),
|
|
18016
|
+
}), Jt = B(!1), ka = B(null), qi = h(() => {
|
|
18017
18017
|
const ue = ka.value;
|
|
18018
18018
|
return ue ? {
|
|
18019
18019
|
getBoundingClientRect: () => (ue.columnSwitcherEl ?? null)?.getBoundingClientRect() ?? new DOMRect(),
|
|
@@ -18021,7 +18021,7 @@ const $R = {
|
|
|
18021
18021
|
return ue.columnSwitcherEl ?? void 0;
|
|
18022
18022
|
}
|
|
18023
18023
|
} : null;
|
|
18024
|
-
}),
|
|
18024
|
+
}), Ki = h(() => {
|
|
18025
18025
|
let ue = 0;
|
|
18026
18026
|
for (const he of Object.values(Sl.value))
|
|
18027
18027
|
if (!(he == null || he === "") && !(Array.isArray(he) && he.length === 0)) {
|
|
@@ -18033,11 +18033,11 @@ const $R = {
|
|
|
18033
18033
|
ue++;
|
|
18034
18034
|
}
|
|
18035
18035
|
return ue;
|
|
18036
|
-
}),
|
|
18036
|
+
}), Yi = (ue) => {
|
|
18037
18037
|
xt.value = ue, ut();
|
|
18038
|
-
},
|
|
18038
|
+
}, ji = () => {
|
|
18039
18039
|
xt.value = null, Sl.value = {}, ut();
|
|
18040
|
-
},
|
|
18040
|
+
}, Xi = (ue, he) => ({
|
|
18041
18041
|
item: ue,
|
|
18042
18042
|
index: he,
|
|
18043
18043
|
columns: Cl.value,
|
|
@@ -18069,11 +18069,11 @@ const $R = {
|
|
|
18069
18069
|
getCellStyle: fe.getCellStyle,
|
|
18070
18070
|
// Custom class
|
|
18071
18071
|
rowClass: l.rowClass?.(ue)
|
|
18072
|
-
}), { width: kl } =
|
|
18072
|
+
}), { width: kl } = Fo(X), Qi = h(() => {
|
|
18073
18073
|
if (!l.pagination || kl.value === 0) return 5;
|
|
18074
|
-
const ue = kl.value -
|
|
18074
|
+
const ue = kl.value - co, he = Math.floor((ue - 2 * Un) / Un);
|
|
18075
18075
|
return he >= 7 ? 5 : he >= 3 ? he : 0;
|
|
18076
|
-
}),
|
|
18076
|
+
}), Ji = h(() => !l.pagination || kl.value === 0 ? !0 : kl.value - co >= 5 * Un);
|
|
18077
18077
|
return a({
|
|
18078
18078
|
// Selection API (public keys unchanged; sourced from the selection facade)
|
|
18079
18079
|
selectAll: V.selectAll,
|
|
@@ -18112,14 +18112,14 @@ const $R = {
|
|
|
18112
18112
|
searchable: e.searchable,
|
|
18113
18113
|
"model-value": Xt.value,
|
|
18114
18114
|
placeholder: e.searchPlaceholder,
|
|
18115
|
-
"onUpdate:modelValue":
|
|
18115
|
+
"onUpdate:modelValue": Fi
|
|
18116
18116
|
}, {
|
|
18117
18117
|
actions: P(() => [
|
|
18118
|
-
e.globalFilters?.length ? (s(), U(n(
|
|
18118
|
+
e.globalFilters?.length ? (s(), U(n(Oi), {
|
|
18119
18119
|
key: 0,
|
|
18120
18120
|
ref_key: "globalFiltersButtonRef",
|
|
18121
18121
|
ref: Sa,
|
|
18122
|
-
"active-count":
|
|
18122
|
+
"active-count": Ki.value,
|
|
18123
18123
|
onClick: he[0] || (he[0] = (Ee) => El.value = !El.value)
|
|
18124
18124
|
}, null, 8, ["active-count"])) : I("", !0),
|
|
18125
18125
|
G(ue.$slots, "search-header-actions")
|
|
@@ -18131,18 +18131,18 @@ const $R = {
|
|
|
18131
18131
|
filters: e.globalFilters,
|
|
18132
18132
|
"model-value": Sl.value,
|
|
18133
18133
|
show: El.value,
|
|
18134
|
-
"anchor-ref":
|
|
18134
|
+
"anchor-ref": Gi.value,
|
|
18135
18135
|
"onUpdate:modelValue": he[1] || (he[1] = (Ee) => Sl.value = Ee),
|
|
18136
18136
|
"onUpdate:show": he[2] || (he[2] = (Ee) => El.value = Ee),
|
|
18137
|
-
onApply:
|
|
18138
|
-
onClear:
|
|
18137
|
+
onApply: Yi,
|
|
18138
|
+
onClear: ji
|
|
18139
18139
|
}, null, 8, ["filters", "model-value", "show", "anchor-ref"])) : I("", !0),
|
|
18140
18140
|
e.columnSwitcher ? (s(), U(n(K0), {
|
|
18141
18141
|
key: 3,
|
|
18142
18142
|
columns: n(bn),
|
|
18143
18143
|
"visible-columns": n(wl),
|
|
18144
18144
|
show: Jt.value,
|
|
18145
|
-
"anchor-ref":
|
|
18145
|
+
"anchor-ref": qi.value,
|
|
18146
18146
|
"onUpdate:visibleColumns": n(ya),
|
|
18147
18147
|
"onUpdate:show": he[3] || (he[3] = (Ee) => Jt.value = Ee),
|
|
18148
18148
|
onReset: n(wa)
|
|
@@ -18207,7 +18207,7 @@ const $R = {
|
|
|
18207
18207
|
onExpandToggle: he[12] || (he[12] = (Ee, Te, Ye) => n(Q)(Ee, Te, Ye))
|
|
18208
18208
|
}, De({
|
|
18209
18209
|
empty: P(() => [
|
|
18210
|
-
v.value && ue.$slots["not-found"] ? G(ue.$slots, "not-found", { key: 0 }) : ue.$slots.empty ? G(ue.$slots, "empty", { key: 1 }) : (s(), U(n(
|
|
18210
|
+
v.value && ue.$slots["not-found"] ? G(ue.$slots, "not-found", { key: 0 }) : ue.$slots.empty ? G(ue.$slots, "empty", { key: 1 }) : (s(), U(n(Ai), {
|
|
18211
18211
|
key: 2,
|
|
18212
18212
|
icon: m.value,
|
|
18213
18213
|
title: g.value,
|
|
@@ -18307,12 +18307,12 @@ const $R = {
|
|
|
18307
18307
|
"get-global-index": n(gn),
|
|
18308
18308
|
"get-item-key": se,
|
|
18309
18309
|
"new-row-indices": n(ge).newRowIndices.value,
|
|
18310
|
-
"get-row-props":
|
|
18311
|
-
onScroll:
|
|
18310
|
+
"get-row-props": Xi,
|
|
18311
|
+
onScroll: zi,
|
|
18312
18312
|
onGroupToggle: he[7] || (he[7] = (Ee, Te) => n(ce).toggleGroupExpansion(Ee, Te)),
|
|
18313
18313
|
onRowClick: n(ba),
|
|
18314
|
-
onRowMouseenter:
|
|
18315
|
-
onRowMouseleave:
|
|
18314
|
+
onRowMouseenter: Hi,
|
|
18315
|
+
onRowMouseleave: Wi,
|
|
18316
18316
|
onSelectionChange: n(V).onRowSelect,
|
|
18317
18317
|
onExpandToggle: he[8] || (he[8] = (Ee, Te, Ye) => n(Q)(Ee, Te, Ye)),
|
|
18318
18318
|
onRowEdit: n(be),
|
|
@@ -18409,15 +18409,15 @@ const $R = {
|
|
|
18409
18409
|
pages: l.pagination.pages,
|
|
18410
18410
|
"current-page": l.pagination.currentPage,
|
|
18411
18411
|
variant: l.pagination.variant,
|
|
18412
|
-
"max-pages":
|
|
18413
|
-
"show-first-last":
|
|
18412
|
+
"max-pages": Qi.value,
|
|
18413
|
+
"show-first-last": Ji.value,
|
|
18414
18414
|
onItemClick: _a
|
|
18415
18415
|
}, null, 8, ["pages", "current-page", "variant", "max-pages", "show-first-last"])
|
|
18416
18416
|
])
|
|
18417
18417
|
], 512)) : I("", !0),
|
|
18418
18418
|
G(ue.$slots, "default")
|
|
18419
18419
|
], 8, S_)), [
|
|
18420
|
-
[n(
|
|
18420
|
+
[n(Vo), (e.loading || n(E)) && !T.value, "49"]
|
|
18421
18421
|
]);
|
|
18422
18422
|
}
|
|
18423
18423
|
}), M_ = { class: "vc-table-adapter" }, L_ = { class: "vc-global-filters-panel__content" }, RR = /* @__PURE__ */ Z({
|
|
@@ -18626,7 +18626,7 @@ const $R = {
|
|
|
18626
18626
|
onRowAdd: X
|
|
18627
18627
|
}, De({
|
|
18628
18628
|
default: P(() => [
|
|
18629
|
-
(s(!0), f(le, null, de(_.value, (W) => (s(), U(
|
|
18629
|
+
(s(!0), f(le, null, de(_.value, (W) => (s(), U(Ps, {
|
|
18630
18630
|
id: W.id,
|
|
18631
18631
|
key: W.id,
|
|
18632
18632
|
field: W.field || W.id,
|
|
@@ -18669,7 +18669,7 @@ const $R = {
|
|
|
18669
18669
|
V.$slots.filters || V.$slots.header ? {
|
|
18670
18670
|
name: "search-header-actions",
|
|
18671
18671
|
fn: P(() => [
|
|
18672
|
-
V.$slots.filters ? (s(), U(n(
|
|
18672
|
+
V.$slots.filters ? (s(), U(n(Oi), {
|
|
18673
18673
|
key: 0,
|
|
18674
18674
|
ref_key: "legacyFiltersButtonRef",
|
|
18675
18675
|
ref: r,
|
|
@@ -18761,7 +18761,7 @@ const $R = {
|
|
|
18761
18761
|
]),
|
|
18762
18762
|
_: 1
|
|
18763
18763
|
})) : I("", !0),
|
|
18764
|
-
L(n(
|
|
18764
|
+
L(n(Na), {
|
|
18765
18765
|
attached: "",
|
|
18766
18766
|
role: "group"
|
|
18767
18767
|
}, {
|
|
@@ -18794,7 +18794,7 @@ const $R = {
|
|
|
18794
18794
|
]),
|
|
18795
18795
|
_: 1
|
|
18796
18796
|
}),
|
|
18797
|
-
e.views.length > 1 ? (s(), U(n(
|
|
18797
|
+
e.views.length > 1 ? (s(), U(n(Na), {
|
|
18798
18798
|
key: 1,
|
|
18799
18799
|
attached: ""
|
|
18800
18800
|
}, {
|
|
@@ -18951,7 +18951,7 @@ const $R = {
|
|
|
18951
18951
|
])
|
|
18952
18952
|
], 42, W_));
|
|
18953
18953
|
}
|
|
18954
|
-
}),
|
|
18954
|
+
}), uo = [
|
|
18955
18955
|
"#2563eb",
|
|
18956
18956
|
// blue
|
|
18957
18957
|
"#16a34a",
|
|
@@ -18976,10 +18976,10 @@ function Y_(e) {
|
|
|
18976
18976
|
return a;
|
|
18977
18977
|
}
|
|
18978
18978
|
function Ut(e) {
|
|
18979
|
-
return e ?
|
|
18979
|
+
return e ? uo[Y_(e) % uo.length] : "var(--primary-500)";
|
|
18980
18980
|
}
|
|
18981
|
-
const Fn = "#ffffff",
|
|
18982
|
-
function
|
|
18981
|
+
const Fn = "#ffffff", Di = "#18181b";
|
|
18982
|
+
function Ni(e) {
|
|
18983
18983
|
const a = e.trim(), t = /^#([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(a);
|
|
18984
18984
|
if (t) {
|
|
18985
18985
|
const c = t[1].length === 3 ? [...t[1]].map((i) => i + i).join("") : t[1];
|
|
@@ -18988,26 +18988,26 @@ function Bi(e) {
|
|
|
18988
18988
|
const l = /^rgba?\(\s*(\d+)[,\s]+(\d+)[,\s]+(\d+)/i.exec(a);
|
|
18989
18989
|
return l ? [+l[1], +l[2], +l[3]] : null;
|
|
18990
18990
|
}
|
|
18991
|
-
function
|
|
18991
|
+
function Bi([e, a, t]) {
|
|
18992
18992
|
const l = (c) => {
|
|
18993
18993
|
const i = c / 255;
|
|
18994
18994
|
return i <= 0.03928 ? i / 12.92 : Math.pow((i + 0.055) / 1.055, 2.4);
|
|
18995
18995
|
};
|
|
18996
18996
|
return 0.2126 * l(e) + 0.7152 * l(a) + 0.0722 * l(t);
|
|
18997
18997
|
}
|
|
18998
|
-
const
|
|
18999
|
-
function
|
|
18998
|
+
const vo = (e, a) => (Math.max(e, a) + 0.05) / (Math.min(e, a) + 0.05), j_ = Bi(Ni(Di));
|
|
18999
|
+
function Pi(e) {
|
|
19000
19000
|
if (!e) return Fn;
|
|
19001
|
-
const a =
|
|
19001
|
+
const a = Ni(e);
|
|
19002
19002
|
if (!a) return Fn;
|
|
19003
|
-
const t =
|
|
19004
|
-
return
|
|
19003
|
+
const t = Bi(a);
|
|
19004
|
+
return vo(t, 1) >= vo(t, j_) ? Fn : Di;
|
|
19005
19005
|
}
|
|
19006
19006
|
function jn(e, a) {
|
|
19007
19007
|
return a ? {
|
|
19008
19008
|
background: `color-mix(in srgb, ${e} 22%, var(--additional-50, #fff))`,
|
|
19009
19009
|
color: "var(--neutrals-800)"
|
|
19010
|
-
} : { background: e, color:
|
|
19010
|
+
} : { background: e, color: Pi(e) };
|
|
19011
19011
|
}
|
|
19012
19012
|
const X_ = ["aria-label", "onKeydown"], Q_ = {
|
|
19013
19013
|
key: 0,
|
|
@@ -19037,7 +19037,7 @@ const X_ = ["aria-label", "onKeydown"], Q_ = {
|
|
|
19037
19037
|
l("select", c.value?.getBoundingClientRect() ?? null);
|
|
19038
19038
|
}
|
|
19039
19039
|
const o = h(() => !!(t.event.recurrenceId || t.event.recurrence)), r = h(() => t.event.color ?? Ut(t.event.title)), d = h(() => t.event.end.getTime() < Date.now()), u = h(
|
|
19040
|
-
() => d.value ? jn(r.value, !0) : { background: r.value, color: `var(--vc-scheduler-event-ink, ${
|
|
19040
|
+
() => d.value ? jn(r.value, !0) : { background: r.value, color: `var(--vc-scheduler-event-ink, ${Pi(r.value)})` }
|
|
19041
19041
|
), v = h(() => {
|
|
19042
19042
|
const { title: m, start: g, end: p } = t.event, y = Ae(g, "PP"), b = Ae(new Date(p.getTime() - 1), "PP");
|
|
19043
19043
|
return y === b ? `${m}: ${y}` : `${m}: ${y} – ${b}`;
|
|
@@ -19159,7 +19159,7 @@ const X_ = ["aria-label", "onKeydown"], Q_ = {
|
|
|
19159
19159
|
], 4));
|
|
19160
19160
|
}
|
|
19161
19161
|
});
|
|
19162
|
-
function
|
|
19162
|
+
function Vi(e, a, t) {
|
|
19163
19163
|
let l = null;
|
|
19164
19164
|
oe(
|
|
19165
19165
|
typeof e == "function" ? e : () => e.value,
|
|
@@ -19190,7 +19190,7 @@ const iE = ["onClick"], sE = /* @__PURE__ */ Z({
|
|
|
19190
19190
|
const t = e, l = a, c = h(() => t.date ? Ae(t.date, "PPP") : ""), i = h(
|
|
19191
19191
|
() => t.anchorRect ? { getBoundingClientRect: () => t.anchorRect } : null
|
|
19192
19192
|
), o = B(null);
|
|
19193
|
-
return
|
|
19193
|
+
return Vi(
|
|
19194
19194
|
() => t.open,
|
|
19195
19195
|
o,
|
|
19196
19196
|
() => o.value?.querySelector("button")
|
|
@@ -19240,12 +19240,12 @@ const iE = ["onClick"], sE = /* @__PURE__ */ Z({
|
|
|
19240
19240
|
[je.MONTHLY]: "monthly",
|
|
19241
19241
|
[je.YEARLY]: "yearly"
|
|
19242
19242
|
}, uE = [je.MO, je.TU, je.WE, je.TH, je.FR, je.SA, je.SU], dE = (e) => uE[(e + 6) % 7], vE = (e) => (e + 1) % 7;
|
|
19243
|
-
function
|
|
19243
|
+
function fo(e) {
|
|
19244
19244
|
const a = {
|
|
19245
19245
|
freq: rE[e.freq],
|
|
19246
19246
|
interval: Math.max(1, e.interval)
|
|
19247
19247
|
};
|
|
19248
|
-
return e.freq === "weekly" && e.byWeekday?.length && (a.byweekday = e.byWeekday.map(dE)), e.end.type === "count" ? a.count = e.end.count : e.end.type === "until" && (a.until =
|
|
19248
|
+
return e.freq === "weekly" && e.byWeekday?.length && (a.byweekday = e.byWeekday.map(dE)), e.end.type === "count" ? a.count = e.end.count : e.end.type === "until" && (a.until = Ko(e.end.until)), new je(a).toString().replace(/^RRULE:/, "");
|
|
19249
19249
|
}
|
|
19250
19250
|
function fE(e, a) {
|
|
19251
19251
|
const l = ia(e.startsWith("RRULE:") ? e : `RRULE:${e}`, { dtstart: a }).origOptions, c = cE[l.freq] ?? "daily", i = c === "weekly" && l.byweekday ? [].concat(l.byweekday).map((r) => vE(typeof r == "number" ? r : r.weekday)) : void 0;
|
|
@@ -19340,7 +19340,7 @@ const bE = { class: "vc-scheduler__qi-title" }, hE = ["aria-label", "onClick"],
|
|
|
19340
19340
|
emits: ["close", "edit", "delete"],
|
|
19341
19341
|
setup(e, { emit: a }) {
|
|
19342
19342
|
const t = e, l = B(null), c = h(() => l.value?.panelEl ?? null);
|
|
19343
|
-
|
|
19343
|
+
Vi(
|
|
19344
19344
|
() => t.open && !!t.event,
|
|
19345
19345
|
c,
|
|
19346
19346
|
() => c.value?.querySelector(".vc-scheduler__qi-close")
|
|
@@ -19533,7 +19533,7 @@ function OE(e) {
|
|
|
19533
19533
|
return { laidOut: l, overflowByDay: c };
|
|
19534
19534
|
}
|
|
19535
19535
|
const nl = 864e5, ME = 220;
|
|
19536
|
-
function
|
|
19536
|
+
function Ui(e) {
|
|
19537
19537
|
const a = e.delay ?? ME;
|
|
19538
19538
|
let t = null, l = null;
|
|
19539
19539
|
function c() {
|
|
@@ -19645,9 +19645,9 @@ const IE = { class: "vc-scheduler__month" }, xE = {
|
|
|
19645
19645
|
const re = et(i.value.start, ie);
|
|
19646
19646
|
return {
|
|
19647
19647
|
date: re,
|
|
19648
|
-
inMonth:
|
|
19648
|
+
inMonth: Yo(re, t.focusedDate),
|
|
19649
19649
|
isToday: oa(re),
|
|
19650
|
-
isWeekend: [0, 6].includes(
|
|
19650
|
+
isWeekend: [0, 6].includes(Ic(re))
|
|
19651
19651
|
};
|
|
19652
19652
|
})
|
|
19653
19653
|
), r = h(
|
|
@@ -19697,7 +19697,7 @@ const IE = { class: "vc-scheduler__month" }, xE = {
|
|
|
19697
19697
|
return m.timedByDay.value.get(Ae(te, "yyyy-MM-dd")) ?? [];
|
|
19698
19698
|
}
|
|
19699
19699
|
let T = null, x = null, F = null, k = !1;
|
|
19700
|
-
const M = /* @__PURE__ */ new Map(), N =
|
|
19700
|
+
const M = /* @__PURE__ */ new Map(), N = Ui({
|
|
19701
19701
|
onIntent: (te, ie) => {
|
|
19702
19702
|
const re = M.get(ie);
|
|
19703
19703
|
if (M.delete(ie), !re) return;
|
|
@@ -19890,7 +19890,7 @@ const IE = { class: "vc-scheduler__month" }, xE = {
|
|
|
19890
19890
|
emits: ["event-click", "create-intent", "edit-intent", "event-delete"],
|
|
19891
19891
|
setup(e, { emit: a }) {
|
|
19892
19892
|
const { t } = ze(), l = e, c = a, i = (p) => p.allDay !== void 0 ? p.allDay : p.end.getTime() - p.start.getTime() >= 864e5, o = h(() => {
|
|
19893
|
-
const p = jl(l.focusedDate), y =
|
|
19893
|
+
const p = jl(l.focusedDate), y = xc(l.focusedDate), b = [];
|
|
19894
19894
|
for (let C = Ge(p); C <= y; C = et(C, 1)) {
|
|
19895
19895
|
const _ = C.getTime(), E = et(C, 1).getTime(), T = l.events.filter((x) => x.start.getTime() < E && x.end.getTime() > _).sort((x, F) => Number(i(F)) - Number(i(x)) || x.start.getTime() - F.start.getTime());
|
|
19896
19896
|
T.length && b.push({ key: Ae(C, "yyyy-MM-dd"), date: new Date(C), isToday: oa(C), events: T });
|
|
@@ -19970,7 +19970,7 @@ const IE = { class: "vc-scheduler__month" }, xE = {
|
|
|
19970
19970
|
}, 8, ["open", "event", "anchor-rect"])
|
|
19971
19971
|
]));
|
|
19972
19972
|
}
|
|
19973
|
-
}), eS = 18,
|
|
19973
|
+
}), eS = 18, mo = 36e5;
|
|
19974
19974
|
function Xn(e) {
|
|
19975
19975
|
return e.allDay !== void 0 ? e.allDay : e.end.getTime() - e.start.getTime() >= 864e5;
|
|
19976
19976
|
}
|
|
@@ -20000,7 +20000,7 @@ function lS(e) {
|
|
|
20000
20000
|
date: g,
|
|
20001
20001
|
index: p,
|
|
20002
20002
|
isToday: oa(g),
|
|
20003
|
-
isWeekend:
|
|
20003
|
+
isWeekend: Dc(g),
|
|
20004
20004
|
label: Ae(g, a.value === 1 ? "EEEE, d MMMM" : "EEE d")
|
|
20005
20005
|
}))
|
|
20006
20006
|
), o = h(() => {
|
|
@@ -20023,7 +20023,7 @@ function lS(e) {
|
|
|
20023
20023
|
endMs: Math.min(F.end.getTime(), T)
|
|
20024
20024
|
}));
|
|
20025
20025
|
return tS(x).map((F) => {
|
|
20026
|
-
const k = (F.startMs - E) /
|
|
20026
|
+
const k = (F.startMs - E) / mo * p, M = Math.max((F.endMs - F.startMs) / mo * p, eS);
|
|
20027
20027
|
return {
|
|
20028
20028
|
event: F.event,
|
|
20029
20029
|
top: k,
|
|
@@ -20089,7 +20089,7 @@ const nS = { class: "vc-scheduler__tg" }, aS = { class: "vc-scheduler__tg-head"
|
|
|
20089
20089
|
}, hS = {
|
|
20090
20090
|
key: 1,
|
|
20091
20091
|
class: "vc-scheduler__tg-empty"
|
|
20092
|
-
}, Bt = 48,
|
|
20092
|
+
}, Bt = 48, go = 22, yS = /* @__PURE__ */ Z({
|
|
20093
20093
|
__name: "SchedulerTimelineView",
|
|
20094
20094
|
props: {
|
|
20095
20095
|
events: {},
|
|
@@ -20138,7 +20138,7 @@ const nS = { class: "vc-scheduler__tg" }, aS = { class: "vc-scheduler__tg-head"
|
|
|
20138
20138
|
function p($) {
|
|
20139
20139
|
const D = $.event.color ?? Ut($.event.title);
|
|
20140
20140
|
return {
|
|
20141
|
-
top: `${$.row *
|
|
20141
|
+
top: `${$.row * go + 2}px`,
|
|
20142
20142
|
insetInlineStart: `calc(${$.startCol / v.dayCount.value * 100}% + 1px)`,
|
|
20143
20143
|
width: `calc(${$.span / v.dayCount.value * 100}% - 2px)`,
|
|
20144
20144
|
...jn(D, $.past)
|
|
@@ -20161,7 +20161,7 @@ const nS = { class: "vc-scheduler__tg" }, aS = { class: "vc-scheduler__tg-head"
|
|
|
20161
20161
|
const _ = h(() => {
|
|
20162
20162
|
const $ = new Date(b.value), D = $.getHours() + $.getMinutes() / 60;
|
|
20163
20163
|
return D < o.value || D > r.value ? null : (D - o.value) * Bt;
|
|
20164
|
-
}), E = /* @__PURE__ */ new Map(), T =
|
|
20164
|
+
}), E = /* @__PURE__ */ new Map(), T = Ui({
|
|
20165
20165
|
onIntent: ($, D) => {
|
|
20166
20166
|
const A = E.get(D);
|
|
20167
20167
|
E.delete(D), A && l("create-intent", { start: A.start, end: A.end, allDay: !1, anchorRect: A.rect, kind: $ });
|
|
@@ -20200,7 +20200,7 @@ const nS = { class: "vc-scheduler__tg" }, aS = { class: "vc-scheduler__tg-head"
|
|
|
20200
20200
|
w("div", sS, z($.$t("VC_SCHEDULER.ALL_DAY")), 1),
|
|
20201
20201
|
w("div", {
|
|
20202
20202
|
class: "vc-scheduler__tg-allday-track",
|
|
20203
|
-
style: ye({ height: `${n(v).allDayRowCount.value *
|
|
20203
|
+
style: ye({ height: `${n(v).allDayRowCount.value * go + 4}px` })
|
|
20204
20204
|
}, [
|
|
20205
20205
|
(s(!0), f(le, null, de(n(v).allDaySegments.value, (A) => (s(), f("button", {
|
|
20206
20206
|
key: `ad-${A.event.id}`,
|
|
@@ -20494,7 +20494,7 @@ const nS = { class: "vc-scheduler__tg" }, aS = { class: "vc-scheduler__tg-head"
|
|
|
20494
20494
|
o.recurrence.interval = Number.isFinite(S) && S >= 1 ? S : 1;
|
|
20495
20495
|
}
|
|
20496
20496
|
function k(R) {
|
|
20497
|
-
o.recurrence && (R === "until" ? o.recurrence.end = { type: "until", until: C.value ??
|
|
20497
|
+
o.recurrence && (R === "until" ? o.recurrence.end = { type: "until", until: C.value ?? jo(o.start, 1) } : R === "count" ? o.recurrence.end = { type: "count", count: _.value ?? 1 } : o.recurrence.end = { type: "never" });
|
|
20498
20498
|
}
|
|
20499
20499
|
function M(R) {
|
|
20500
20500
|
!o.recurrence || o.recurrence.end.type !== "until" || !R || (o.recurrence.end.until = R);
|
|
@@ -20528,7 +20528,7 @@ const nS = { class: "vc-scheduler__tg" }, aS = { class: "vc-scheduler__tg-head"
|
|
|
20528
20528
|
"data-test": "editor-title",
|
|
20529
20529
|
"onUpdate:modelValue": S[0] || (S[0] = (O) => o.title = O ?? "")
|
|
20530
20530
|
}, null, 8, ["model-value", "label"]),
|
|
20531
|
-
L(n(
|
|
20531
|
+
L(n(hi), {
|
|
20532
20532
|
"model-value": o.allDay,
|
|
20533
20533
|
label: R.$t("VC_SCHEDULER.ALL_DAY"),
|
|
20534
20534
|
"onUpdate:modelValue": S[1] || (S[1] = (O) => o.allDay = !!O)
|
|
@@ -20804,7 +20804,7 @@ function HS(e) {
|
|
|
20804
20804
|
case "timeline-day":
|
|
20805
20805
|
return Ae(d, "d MMMM yyyy");
|
|
20806
20806
|
case "timeline-week": {
|
|
20807
|
-
const u = Mt(d, a()), v =
|
|
20807
|
+
const u = Mt(d, a()), v = Xo(d, a());
|
|
20808
20808
|
return Ae(u, "MMM yyyy") === Ae(v, "MMM yyyy") ? `${Ae(u, "d")} – ${Ae(v, "d MMM yyyy")}` : `${Ae(u, "d MMM")} – ${Ae(v, "d MMM yyyy")}`;
|
|
20809
20809
|
}
|
|
20810
20810
|
default:
|
|
@@ -20816,9 +20816,9 @@ function HS(e) {
|
|
|
20816
20816
|
case "timeline-day":
|
|
20817
20817
|
return et(u, d);
|
|
20818
20818
|
case "timeline-week":
|
|
20819
|
-
return
|
|
20819
|
+
return Nc(u, d);
|
|
20820
20820
|
default:
|
|
20821
|
-
return
|
|
20821
|
+
return jo(u, d);
|
|
20822
20822
|
}
|
|
20823
20823
|
};
|
|
20824
20824
|
return { monthRange: t, title: l, goPrev: () => e.onDateChange(c(-1)), goNext: () => e.onDateChange(c(1)), goToday: () => e.onDateChange(/* @__PURE__ */ new Date()) };
|
|
@@ -20998,7 +20998,7 @@ const WS = Symbol("VcSchedulerCalendarContext"), GS = ["aria-busy"], AR = /* @__
|
|
|
20998
20998
|
title: W.title,
|
|
20999
20999
|
allDay: W.allDay,
|
|
21000
21000
|
color: W.color,
|
|
21001
|
-
recurrence: W.recurrence ?
|
|
21001
|
+
recurrence: W.recurrence ? fo(W.recurrence) : void 0
|
|
21002
21002
|
});
|
|
21003
21003
|
else {
|
|
21004
21004
|
const ge = {
|
|
@@ -21021,7 +21021,7 @@ const WS = Symbol("VcSchedulerCalendarContext"), GS = ["aria-busy"], AR = /* @__
|
|
|
21021
21021
|
allDay: W.allDay,
|
|
21022
21022
|
title: W.title,
|
|
21023
21023
|
color: W.color,
|
|
21024
|
-
recurrence: W.recurrence ?
|
|
21024
|
+
recurrence: W.recurrence ? fo(W.recurrence) : void 0
|
|
21025
21025
|
}) : l("event-update", {
|
|
21026
21026
|
id: W.id,
|
|
21027
21027
|
start: W.start,
|
|
@@ -21060,12 +21060,12 @@ const WS = Symbol("VcSchedulerCalendarContext"), GS = ["aria-busy"], AR = /* @__
|
|
|
21060
21060
|
}
|
|
21061
21061
|
}), ne = h(() => {
|
|
21062
21062
|
const W = j.value, ce = /* @__PURE__ */ new Date();
|
|
21063
|
-
return H.value === "timeline-day" ? Yl(W, ce) : H.value === "timeline-week" ?
|
|
21063
|
+
return H.value === "timeline-day" ? Yl(W, ce) : H.value === "timeline-week" ? Bc(W, ce, { weekStartsOn: t.firstDayOfWeek % 7 }) : Yo(W, ce);
|
|
21064
21064
|
}), se = h(() => {
|
|
21065
21065
|
const W = j.value, ce = t.firstDayOfWeek % 7;
|
|
21066
|
-
if (H.value === "timeline-day") return { start: Ge(W), end:
|
|
21066
|
+
if (H.value === "timeline-day") return { start: Ge(W), end: Ko(W) };
|
|
21067
21067
|
if (H.value === "timeline-week")
|
|
21068
|
-
return { start: Mt(W, { weekStartsOn: ce }), end:
|
|
21068
|
+
return { start: Mt(W, { weekStartsOn: ce }), end: Xo(W, { weekStartsOn: ce }) };
|
|
21069
21069
|
const ge = Mt(jl(W), { weekStartsOn: ce });
|
|
21070
21070
|
return { start: ge, end: et(ge, 42) };
|
|
21071
21071
|
}), q = h(() => pE(t.events, se.value)), ee = h(() => t.loading && q.value.length === 0), X = h(() => H.value === "month" ? c.value ? "agenda" : "month" : "timeline"), V = HS({
|
|
@@ -21239,20 +21239,20 @@ const WS = Symbol("VcSchedulerCalendarContext"), GS = ["aria-busy"], AR = /* @__
|
|
|
21239
21239
|
onClose: C
|
|
21240
21240
|
}, null, 8, ["open", "title", "body", "confirm-label"])
|
|
21241
21241
|
], 8, GS)), [
|
|
21242
|
-
[n(
|
|
21242
|
+
[n(Vo), e.loading && !ee.value, "49"]
|
|
21243
21243
|
]);
|
|
21244
21244
|
}
|
|
21245
21245
|
});
|
|
21246
21246
|
export {
|
|
21247
|
-
|
|
21248
|
-
|
|
21247
|
+
wi as $,
|
|
21248
|
+
Ci as A,
|
|
21249
21249
|
wR as B,
|
|
21250
21250
|
E_ as C,
|
|
21251
|
-
|
|
21251
|
+
ii as D,
|
|
21252
21252
|
J$ as E,
|
|
21253
21253
|
aR as F,
|
|
21254
|
-
|
|
21255
|
-
|
|
21254
|
+
ei as G,
|
|
21255
|
+
Na as H,
|
|
21256
21256
|
q$ as I,
|
|
21257
21257
|
sn as J,
|
|
21258
21258
|
fR as K,
|
|
@@ -21268,24 +21268,24 @@ export {
|
|
|
21268
21268
|
ev as U,
|
|
21269
21269
|
iR as V,
|
|
21270
21270
|
oR as W,
|
|
21271
|
-
|
|
21271
|
+
pi as X,
|
|
21272
21272
|
Rm as Y,
|
|
21273
21273
|
_R as Z,
|
|
21274
21274
|
B$ as _,
|
|
21275
21275
|
b0 as a,
|
|
21276
|
-
|
|
21276
|
+
nu as a$,
|
|
21277
21277
|
e0 as a0,
|
|
21278
|
-
|
|
21278
|
+
bi as a1,
|
|
21279
21279
|
mR as a2,
|
|
21280
21280
|
Od as a3,
|
|
21281
21281
|
_b as a4,
|
|
21282
21282
|
va as a5,
|
|
21283
21283
|
Eb as a6,
|
|
21284
|
-
|
|
21284
|
+
Ya as a7,
|
|
21285
21285
|
Nt as a8,
|
|
21286
21286
|
Vg as a9,
|
|
21287
21287
|
u_ as aA,
|
|
21288
|
-
|
|
21288
|
+
Ti as aB,
|
|
21289
21289
|
Sb as aC,
|
|
21290
21290
|
gR as aD,
|
|
21291
21291
|
iw as aE,
|
|
@@ -21300,15 +21300,15 @@ export {
|
|
|
21300
21300
|
z$ as aN,
|
|
21301
21301
|
V$ as aO,
|
|
21302
21302
|
P$ as aP,
|
|
21303
|
-
|
|
21303
|
+
ki as aQ,
|
|
21304
21304
|
kR as aR,
|
|
21305
21305
|
Xl as aS,
|
|
21306
|
-
|
|
21306
|
+
Gc as aT,
|
|
21307
21307
|
Ql as aU,
|
|
21308
21308
|
mu as aV,
|
|
21309
21309
|
fu as aW,
|
|
21310
21310
|
N$ as aX,
|
|
21311
|
-
|
|
21311
|
+
tu as aY,
|
|
21312
21312
|
gu as aZ,
|
|
21313
21313
|
I$ as a_,
|
|
21314
21314
|
ct as aa,
|
|
@@ -21321,25 +21321,25 @@ export {
|
|
|
21321
21321
|
AR as ah,
|
|
21322
21322
|
Gt as ai,
|
|
21323
21323
|
dR as aj,
|
|
21324
|
-
|
|
21324
|
+
hi as ak,
|
|
21325
21325
|
RR as al,
|
|
21326
21326
|
Im as am,
|
|
21327
21327
|
cR as an,
|
|
21328
21328
|
Q$ as ao,
|
|
21329
21329
|
qd as ap,
|
|
21330
21330
|
$R as aq,
|
|
21331
|
-
|
|
21331
|
+
_i as ar,
|
|
21332
21332
|
Jl as as,
|
|
21333
21333
|
my as at,
|
|
21334
21334
|
rn as au,
|
|
21335
21335
|
bR as av,
|
|
21336
21336
|
Zl as aw,
|
|
21337
|
-
|
|
21337
|
+
Mi as ax,
|
|
21338
21338
|
F$ as ay,
|
|
21339
21339
|
U$ as az,
|
|
21340
21340
|
ER as b,
|
|
21341
21341
|
G$ as b0,
|
|
21342
|
-
|
|
21342
|
+
ti as b1,
|
|
21343
21343
|
W$ as b2,
|
|
21344
21344
|
nm as b3,
|
|
21345
21345
|
nR as b4,
|
|
@@ -21348,50 +21348,50 @@ export {
|
|
|
21348
21348
|
tR as b7,
|
|
21349
21349
|
im as b8,
|
|
21350
21350
|
sm as b9,
|
|
21351
|
-
|
|
21352
|
-
|
|
21351
|
+
Jc as bA,
|
|
21352
|
+
Ba as bB,
|
|
21353
21353
|
eR as bC,
|
|
21354
21354
|
Z$ as bD,
|
|
21355
21355
|
vm as bE,
|
|
21356
21356
|
hm as bF,
|
|
21357
21357
|
um as bG,
|
|
21358
21358
|
on as bH,
|
|
21359
|
-
|
|
21359
|
+
Jo as bI,
|
|
21360
21360
|
Cm as bJ,
|
|
21361
|
-
|
|
21361
|
+
mi as bK,
|
|
21362
21362
|
ua as bL,
|
|
21363
21363
|
om as ba,
|
|
21364
21364
|
x$ as bb,
|
|
21365
21365
|
vu as bc,
|
|
21366
|
-
|
|
21367
|
-
|
|
21368
|
-
|
|
21366
|
+
lu as bd,
|
|
21367
|
+
oi as be,
|
|
21368
|
+
di as bf,
|
|
21369
21369
|
H$ as bg,
|
|
21370
21370
|
nw as bh,
|
|
21371
21371
|
aw as bi,
|
|
21372
21372
|
pu as bj,
|
|
21373
21373
|
Xy as bk,
|
|
21374
21374
|
ow as bl,
|
|
21375
|
-
|
|
21375
|
+
$i as bm,
|
|
21376
21376
|
ny as bn,
|
|
21377
|
-
|
|
21377
|
+
Ei as bo,
|
|
21378
21378
|
cn as bp,
|
|
21379
21379
|
Qy as bq,
|
|
21380
|
-
|
|
21380
|
+
Si as br,
|
|
21381
21381
|
Hu as bs,
|
|
21382
21382
|
bu as bt,
|
|
21383
21383
|
wm as bu,
|
|
21384
21384
|
bm as bv,
|
|
21385
|
-
|
|
21385
|
+
Qo as bw,
|
|
21386
21386
|
St as bx,
|
|
21387
|
-
|
|
21387
|
+
Hc as by,
|
|
21388
21388
|
D$ as bz,
|
|
21389
21389
|
Fl as c,
|
|
21390
21390
|
sl as d,
|
|
21391
21391
|
K0 as e,
|
|
21392
|
-
|
|
21392
|
+
Ai as f,
|
|
21393
21393
|
g1 as g,
|
|
21394
|
-
|
|
21394
|
+
no as h,
|
|
21395
21395
|
C0 as i,
|
|
21396
21396
|
fa as j,
|
|
21397
21397
|
Q0 as k,
|
|
@@ -21401,8 +21401,8 @@ export {
|
|
|
21401
21401
|
pR as o,
|
|
21402
21402
|
by as p,
|
|
21403
21403
|
hR as q,
|
|
21404
|
-
|
|
21405
|
-
|
|
21404
|
+
ja as r,
|
|
21405
|
+
to as s,
|
|
21406
21406
|
yR as t,
|
|
21407
21407
|
uy as u,
|
|
21408
21408
|
Kn as v,
|