@vc-shell/framework 2.5.0-pr313.14efcac → 2.5.0-pr314.c87af9d
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-BmlVL_rn.js → VcScheduler.vue_vue_type_script_setup_true_lang-Cj_xmgb8.js} +718 -723
- package/dist/chunks/VcScheduler.vue_vue_type_script_setup_true_lang-Cj_xmgb8.js.map +1 -0
- package/dist/core/composables/useMenuExpanded/index.d.ts +14 -1
- package/dist/core/composables/useMenuExpanded/index.d.ts.map +1 -1
- package/dist/core/composables/useSidebarState/_internal.d.ts +47 -0
- package/dist/core/composables/useSidebarState/_internal.d.ts.map +1 -0
- package/dist/core/composables/useSidebarState/index.d.ts +4 -27
- package/dist/core/composables/useSidebarState/index.d.ts.map +1 -1
- package/dist/framework.js +830 -821
- package/dist/framework.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +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-BmlVL_rn.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { nextTick as Re, ref as B, computed as y, getCurrentInstance as Lt, inject as Ce, defineComponent as Y, openBlock as s, createElementBlock as g, createElementVNode as w, watch as oe, onMounted as tt, onBeforeUnmount as We, toValue as Ne, reactive as mt, shallowRef as Yn, provide as Be, createBlock as D, unref as a, withCtx as M, withDirectives as Xe, resolveDynamicComponent as qe, vShow as kt, createCommentVNode as L, toRef as
|
|
1
|
+
import { nextTick as Re, ref as B, computed as y, getCurrentInstance as Lt, inject as Ce, defineComponent as Y, openBlock as s, createElementBlock as g, createElementVNode as w, watch as oe, onMounted as tt, onBeforeUnmount as We, toValue as Ne, reactive as mt, shallowRef as Yn, provide as Be, createBlock as D, unref as a, withCtx as M, withDirectives as Xe, resolveDynamicComponent as qe, vShow as kt, createCommentVNode as L, toRef as Ie, normalizeClass as Q, renderSlot as z, toDisplayString as F, Teleport as bt, createVNode as T, Transition as Ue, normalizeStyle as he, Fragment as J, renderList as ve, createTextVNode as de, mergeProps as Le, withModifiers as ue, isRef as ht, h as go, withKeys as $e, createSlots as xe, markRaw as Dn, useId as Pt, useSlots as yt, TransitionGroup as jn, toHandlers as Ll, onUnmounted as Ot, hasInjectionContext as bo, getCurrentScope as ho, onScopeDispose as Xn, useAttrs as Zi, watchEffect as Qn, vModelText as es, toRefs as ts, normalizeProps as pt, guardReactiveProps as gt, vModelCheckbox as ls, toRaw as yo } from "vue";
|
|
2
2
|
import { aa as ns, c as Ze, N as as, d as wo, B as sl, P as Jn, O as Co, e as _o, J as ko, _ as le, u as Vt, A as os, a as st, b as Eo, W as So, h as is, L as Pn, t as Vn, n as ss, K as rs, ae as $o, M as cs, R as Zn, E as rl, y as Fn, w as us, a2 as ds, Y as Ro, F as vs, D as To, s as fs, a7 as ms } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-CZdY18Hq.js";
|
|
3
|
-
import { w as Rt, Y as ps, as as gs, B as bs, D as De, m as cl, _ as Ee, aq as Ao, t as ul, a3 as hs, a4 as ys, j as we, k as Qe, s as ws, g as rt, Q as Cs, I as Fl, x as Ct, H as _s, at as ks, n as Ft, V as Je, au as Es, a2 as Oo, av as Ss, aw as $s, ao as Mo, v as Ul, ap as Rs, d as Fe, h as At, u as Lo, E as Ts, ac as As, p as Os, i as _t, f as Ms, ax as zl, q as
|
|
4
|
-
import { m as Do, w as Ut, v as _n, t as Ds, r as
|
|
3
|
+
import { w as Rt, Y as ps, as as gs, B as bs, D as De, m as cl, _ as Ee, aq as Ao, t as ul, a3 as hs, a4 as ys, j as we, k as Qe, s as ws, g as rt, Q as Cs, I as Fl, x as Ct, H as _s, at as ks, n as Ft, V as Je, au as Es, a2 as Oo, av as Ss, aw as $s, ao as Mo, v as Ul, ap as Rs, d as Fe, h as At, u as Lo, E as Ts, ac as As, p as Os, i as _t, f as Ms, ax as zl, q as Io, ay as xo, az as No, e as Ls, aA as Is, aB as ol, aC as xs, aD as Ns, l as Bo, b as Bs, c as Cn } from "./VcScheduler.vue_vue_type_style_index_0_lang-BTg4PjTB.js";
|
|
4
|
+
import { m as Do, w as Ut, v as _n, t as Ds, r as Il, x as Ps, q as Un, z as Ml, y as Po, g as ea, B as Vs, _ as Fs } from "./VcAiAgentPanel.vue_vue_type_script_setup_true_lang-9mBLzIi1.js";
|
|
5
5
|
import { u as Pe } from "./vendor-vue-i18n-LO-EJStU.js";
|
|
6
6
|
import { s as Hl, f as ta, o as la, d as Us } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
|
|
7
7
|
import zs from "../assets/d5f9664ebbfb104b.svg";
|
|
@@ -49,8 +49,8 @@ import Ar from "../assets/41275bcb979cb650.svg";
|
|
|
49
49
|
import Or from "../assets/1de63eb118636cce.svg";
|
|
50
50
|
import Mr from "../assets/e5adb5ae3a3698f6.svg";
|
|
51
51
|
import Lr from "../assets/b5bb1e8fc975decd.svg";
|
|
52
|
-
import
|
|
53
|
-
import
|
|
52
|
+
import Ir from "../assets/157b8721e0600ea8.svg";
|
|
53
|
+
import xr from "../assets/a18404194e3f9047.svg";
|
|
54
54
|
import Nr from "../assets/a2017fe7f0a26510.svg";
|
|
55
55
|
import Br from "../assets/0f590f8a94577092.svg";
|
|
56
56
|
import Dr from "../assets/259e6ad461a52ad7.svg";
|
|
@@ -79,7 +79,7 @@ import { T as dc } from "./vendor-tiptap-extension-text-style-Bc6nvmn0.js";
|
|
|
79
79
|
import { M as vc } from "./vendor-tiptap-markdown-18K1hcU0.js";
|
|
80
80
|
import { b as fc } from "./vendor-js-beautify-D-6mWVv0.js";
|
|
81
81
|
import { p as na } from "./vendor-dompurify-DpIUMBYC.js";
|
|
82
|
-
import { S as
|
|
82
|
+
import { S as xl, N as Fo, a as Nl, M as mc, f as Uo, G as pc, K as gc } from "./vendor-swiper-BgqGfw3Y.js";
|
|
83
83
|
import { h as zo, d as Ho, o as bc, u as hc, a as Wl, i as yc } from "./vendor-vueuse-core-BFa9je5E.js";
|
|
84
84
|
import { useRouter as zt, RouterView as wc, useRoute as Ht } from "vue-router";
|
|
85
85
|
import { v as dl, O as Cc } from "./vendor-vueuse-components-CoR2FSn3.js";
|
|
@@ -87,13 +87,13 @@ import { u as _c, k as kc, j as Ec } from "./vendor-vueuse-shared-kZH3-Km1.js";
|
|
|
87
87
|
import { l as Sc, s as $c } from "./vendor-vee-validate-i18n-zT8NxX3R.js";
|
|
88
88
|
import "./vendor-cypress-signalr-mock-itnm2wpA.js";
|
|
89
89
|
import "./ExtensionPoint.vue_vue_type_style_index_0_lang-B1R06zHa.js";
|
|
90
|
-
import { e as Rc, c as
|
|
90
|
+
import { e as Rc, c as Ia, g as aa } from "./vendor-lodash-es-D2n90GJy.js";
|
|
91
91
|
import { S as Wo } from "./vendor-sortablejs-Bsvu-FKn.js";
|
|
92
92
|
import "./vendor-vuepic-vue-datepicker-D0bvbIbh.js";
|
|
93
93
|
import { t as Tc } from "./vendor-truncate-html-ChA1T5zy.js";
|
|
94
|
-
import { S as Tt, h as Ae, T as Ac, U as Go, V as Gl, W as Ge, d as Bt, J as lt, x as Mt, z as ql, a as Oc, X as oa, Y as qo, Z as Mc, _ as Lc, w as Ko, y as Yo, $ as
|
|
94
|
+
import { S as Tt, h as Ae, T as Ac, U as Go, V as Gl, W as Ge, d as Bt, J as lt, x as Mt, z as ql, a as Oc, X as oa, Y as qo, Z as Mc, _ as Lc, w as Ko, y as Yo, $ as Ic, a0 as xc } 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 Nc, Y as Bc, h as
|
|
96
|
+
import { S as Nc, Y as Bc, h as xa, G as Dc, V as Pc } from "./vendor-headlessui-vue-Cn-RMs4E.js";
|
|
97
97
|
function zn(e) {
|
|
98
98
|
Re(() => {
|
|
99
99
|
const n = document.activeElement;
|
|
@@ -265,9 +265,9 @@ function Jc(e) {
|
|
|
265
265
|
if (V?.broadcast && i.value && !i.value(N) || N.notifyType && Kc.includes(N.notifyType))
|
|
266
266
|
return;
|
|
267
267
|
let O = N.isNew;
|
|
268
|
-
const
|
|
269
|
-
if (
|
|
270
|
-
const E = t.value[
|
|
268
|
+
const x = t.value.findIndex((E) => E.id === N.id);
|
|
269
|
+
if (x !== -1) {
|
|
270
|
+
const E = t.value[x];
|
|
271
271
|
O = E.isNew, Object.assign(E, N), E.isNew = O;
|
|
272
272
|
} else
|
|
273
273
|
t.value.push({ ...N });
|
|
@@ -283,9 +283,9 @@ function Jc(e) {
|
|
|
283
283
|
E.types.includes(N.notifyType) && (E.filter && !E.filter(N) || E.handler?.(N));
|
|
284
284
|
}
|
|
285
285
|
function m(N) {
|
|
286
|
-
const V = t.value.find((
|
|
286
|
+
const V = t.value.find((x) => x.id === N.id);
|
|
287
287
|
V && (V.isNew = !1);
|
|
288
|
-
const O = l.value.find((
|
|
288
|
+
const O = l.value.find((x) => x.id === N.id);
|
|
289
289
|
O && (O.isNew = !1);
|
|
290
290
|
}
|
|
291
291
|
async function h() {
|
|
@@ -500,12 +500,12 @@ function ra(e) {
|
|
|
500
500
|
return d.value.get(E) || i;
|
|
501
501
|
}, A = (R, E) => {
|
|
502
502
|
let _ = 0;
|
|
503
|
-
const k = [],
|
|
503
|
+
const k = [], I = [], U = v.value;
|
|
504
504
|
for (const q of R) {
|
|
505
505
|
const K = $(q), te = k.length > 0 ? U : 0;
|
|
506
|
-
_ + te + K <= E ? (k.push(q), _ += te + K) :
|
|
506
|
+
_ + te + K <= E ? (k.push(q), _ += te + K) : I.push(q);
|
|
507
507
|
}
|
|
508
|
-
return { visible: k, hidden:
|
|
508
|
+
return { visible: k, hidden: I };
|
|
509
509
|
}, N = () => {
|
|
510
510
|
if (!n.value || !t.value.length) return;
|
|
511
511
|
if (c.value <= 0) {
|
|
@@ -516,8 +516,8 @@ function ra(e) {
|
|
|
516
516
|
const R = v.value, E = o === "reverse" ? [...t.value].reverse() : t.value;
|
|
517
517
|
let _ = A(E, c.value);
|
|
518
518
|
if (_.hidden.length > 0) {
|
|
519
|
-
const k = C(),
|
|
520
|
-
_ = A(E, c.value - k -
|
|
519
|
+
const k = C(), I = _.visible.length > 0 ? R : 0;
|
|
520
|
+
_ = A(E, c.value - k - I);
|
|
521
521
|
}
|
|
522
522
|
o === "reverse" ? (b.value = _.visible.reverse(), p.value = _.hidden.reverse()) : (b.value = _.visible, p.value = _.hidden);
|
|
523
523
|
}, V = () => {
|
|
@@ -533,16 +533,16 @@ function ra(e) {
|
|
|
533
533
|
const R = new Set(t.value.map(l));
|
|
534
534
|
for (const E of d.value.keys())
|
|
535
535
|
R.has(E) || d.value.delete(E);
|
|
536
|
-
},
|
|
536
|
+
}, x = () => {
|
|
537
537
|
h || (h = new ResizeObserver((R) => {
|
|
538
538
|
let E = !1;
|
|
539
539
|
for (const _ of R) {
|
|
540
540
|
const k = _.target;
|
|
541
541
|
if (!k.isConnected) continue;
|
|
542
|
-
const
|
|
543
|
-
if (!
|
|
542
|
+
const I = k.getAttribute("data-item-key");
|
|
543
|
+
if (!I) continue;
|
|
544
544
|
const U = getComputedStyle(k), q = _.borderBoxSize?.[0]?.inlineSize, te = (q ?? k.offsetWidth) + parseFloat(U.marginLeft || "0") + parseFloat(U.marginRight || "0");
|
|
545
|
-
te > 0 && d.value.get(
|
|
545
|
+
te > 0 && d.value.get(I) !== te && (d.value.set(I, te), E = !0);
|
|
546
546
|
}
|
|
547
547
|
E && N();
|
|
548
548
|
})), Re(() => {
|
|
@@ -569,12 +569,12 @@ function ra(e) {
|
|
|
569
569
|
() => t.value.map(l).join("\0"),
|
|
570
570
|
() => {
|
|
571
571
|
O(), Re(() => {
|
|
572
|
-
|
|
572
|
+
x();
|
|
573
573
|
});
|
|
574
574
|
}
|
|
575
575
|
), tt(() => {
|
|
576
576
|
Re(() => {
|
|
577
|
-
V(),
|
|
577
|
+
V(), x();
|
|
578
578
|
});
|
|
579
579
|
}), We(() => {
|
|
580
580
|
h && (h.disconnect(), h = null), f.clear();
|
|
@@ -588,7 +588,7 @@ function ra(e) {
|
|
|
588
588
|
});
|
|
589
589
|
},
|
|
590
590
|
// Export function for updating observer
|
|
591
|
-
updateObserver:
|
|
591
|
+
updateObserver: x
|
|
592
592
|
};
|
|
593
593
|
}
|
|
594
594
|
function jl(e = {}) {
|
|
@@ -959,8 +959,8 @@ const vu = gs, fu = /* @__PURE__ */ Y({
|
|
|
959
959
|
setup(e) {
|
|
960
960
|
const n = e;
|
|
961
961
|
Be(bs, {
|
|
962
|
-
size:
|
|
963
|
-
attached:
|
|
962
|
+
size: Ie(n, "size"),
|
|
963
|
+
attached: Ie(n, "attached")
|
|
964
964
|
});
|
|
965
965
|
const t = y(() => [
|
|
966
966
|
"vc-button-group",
|
|
@@ -1089,9 +1089,9 @@ const vu = gs, fu = /* @__PURE__ */ Y({
|
|
|
1089
1089
|
} : {}), N = y(() => t.maxHeight ? typeof t.maxHeight == "number" ? `${t.maxHeight}px` : t.maxHeight : ""), V = y(() => t.role === "listbox" ? "option" : "menuitem"), O = y(() => {
|
|
1090
1090
|
if (!(v.value < 0 || v.value >= t.items.length))
|
|
1091
1091
|
return R(v.value);
|
|
1092
|
-
}),
|
|
1092
|
+
}), x = [
|
|
1093
1093
|
() => {
|
|
1094
|
-
t.closeOnClickOutside &&
|
|
1094
|
+
t.closeOnClickOutside && I("outside");
|
|
1095
1095
|
},
|
|
1096
1096
|
{ ignore: [d] }
|
|
1097
1097
|
];
|
|
@@ -1113,16 +1113,16 @@ const vu = gs, fu = /* @__PURE__ */ Y({
|
|
|
1113
1113
|
m.value || (m.value = !0, l("open"));
|
|
1114
1114
|
}
|
|
1115
1115
|
function k() {
|
|
1116
|
-
|
|
1116
|
+
I("action");
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1118
|
+
function I(j) {
|
|
1119
1119
|
m.value && (m.value = !1, l("close", j));
|
|
1120
1120
|
}
|
|
1121
1121
|
function U() {
|
|
1122
|
-
m.value ?
|
|
1122
|
+
m.value ? I("action") : _();
|
|
1123
1123
|
}
|
|
1124
1124
|
function q(j, G) {
|
|
1125
|
-
v.value = G, l("item-click", j), t.closeOnSelect &&
|
|
1125
|
+
v.value = G, l("item-click", j), t.closeOnSelect && I("action");
|
|
1126
1126
|
}
|
|
1127
1127
|
function K(j) {
|
|
1128
1128
|
const G = t.items.length;
|
|
@@ -1162,13 +1162,13 @@ const vu = gs, fu = /* @__PURE__ */ Y({
|
|
|
1162
1162
|
case "Escape": {
|
|
1163
1163
|
if (!t.closeOnEscape)
|
|
1164
1164
|
return;
|
|
1165
|
-
j.preventDefault(), j.stopPropagation(),
|
|
1165
|
+
j.preventDefault(), j.stopPropagation(), I("escape");
|
|
1166
1166
|
break;
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
1169
1169
|
}
|
|
1170
1170
|
function me(j) {
|
|
1171
|
-
!t.closeOnEscape || !m.value || j.key !== "Escape" || (j.preventDefault(),
|
|
1171
|
+
!t.closeOnEscape || !m.value || j.key !== "Escape" || (j.preventDefault(), I("escape"));
|
|
1172
1172
|
}
|
|
1173
1173
|
return oe(
|
|
1174
1174
|
() => m.value,
|
|
@@ -1261,7 +1261,7 @@ const vu = gs, fu = /* @__PURE__ */ Y({
|
|
|
1261
1261
|
])
|
|
1262
1262
|
], 2)
|
|
1263
1263
|
], 46, yu)), [
|
|
1264
|
-
[a(dl),
|
|
1264
|
+
[a(dl), x]
|
|
1265
1265
|
]) : L("", !0)
|
|
1266
1266
|
]),
|
|
1267
1267
|
_: 3
|
|
@@ -1319,7 +1319,7 @@ const vu = gs, fu = /* @__PURE__ */ Y({
|
|
|
1319
1319
|
setup(e) {
|
|
1320
1320
|
const n = e, t = B(null), l = B(!1), r = ra({
|
|
1321
1321
|
containerRef: t,
|
|
1322
|
-
items:
|
|
1322
|
+
items: Ie(n, "items"),
|
|
1323
1323
|
getItemKey: (b) => b.id,
|
|
1324
1324
|
moreButtonWidth: Au,
|
|
1325
1325
|
calculationStrategy: "reverse",
|
|
@@ -1454,7 +1454,7 @@ const vu = gs, fu = /* @__PURE__ */ Y({
|
|
|
1454
1454
|
]);
|
|
1455
1455
|
}
|
|
1456
1456
|
}), Lu = Ze("use-breadcrumbs");
|
|
1457
|
-
function
|
|
1457
|
+
function Iu() {
|
|
1458
1458
|
const e = Yn([]);
|
|
1459
1459
|
function n(r) {
|
|
1460
1460
|
const o = e.value.findIndex((i) => i.id === r);
|
|
@@ -1565,7 +1565,7 @@ function ca(e, n) {
|
|
|
1565
1565
|
function Jl(e) {
|
|
1566
1566
|
return e === void 0 ? !1 : ht(e) ? !!Ne(e) : !!e;
|
|
1567
1567
|
}
|
|
1568
|
-
const
|
|
1568
|
+
const xu = Il.escape, Nu = Il.mod.backslash;
|
|
1569
1569
|
function Bu(e) {
|
|
1570
1570
|
return !!(e.mod || e.ctrl || e.meta || e.alt || e.shift);
|
|
1571
1571
|
}
|
|
@@ -1595,7 +1595,7 @@ function Du(e) {
|
|
|
1595
1595
|
return;
|
|
1596
1596
|
}
|
|
1597
1597
|
}
|
|
1598
|
-
if (_n(
|
|
1598
|
+
if (_n(xu, r, e.isMac)) {
|
|
1599
1599
|
if (!c) return;
|
|
1600
1600
|
r.preventDefault(), await t(`${i}::__close__`, () => e.closeBlade(i));
|
|
1601
1601
|
return;
|
|
@@ -1620,7 +1620,7 @@ const Vu = ["aria-label"], Fu = {
|
|
|
1620
1620
|
}, Uu = /* @__PURE__ */ Y({
|
|
1621
1621
|
__name: "vc-blade-navigation-new",
|
|
1622
1622
|
setup(e) {
|
|
1623
|
-
const { t: n } = Pe(), t = Ut(), l = Jo(), r = zt(), { breadcrumbs: o, push: i, remove: c } =
|
|
1623
|
+
const { t: n } = Pe(), t = Ut(), l = Jo(), r = zt(), { breadcrumbs: o, push: i, remove: c } = Iu(), { syncUrlReplace: d } = Do(r, t);
|
|
1624
1624
|
tt(() => {
|
|
1625
1625
|
t.blades.value.length !== 0 && Re(() => {
|
|
1626
1626
|
d();
|
|
@@ -1652,9 +1652,9 @@ const Vu = ["aria-label"], Fu = {
|
|
|
1652
1652
|
o.value.forEach((E) => E && c([E.id])), R.filter((E) => E.visible).forEach((E, _) => {
|
|
1653
1653
|
i({
|
|
1654
1654
|
id: _.toString(),
|
|
1655
|
-
title:
|
|
1655
|
+
title: Ie({ title: E.name }, "title"),
|
|
1656
1656
|
clickHandler: async (k) => {
|
|
1657
|
-
const
|
|
1657
|
+
const I = parseInt(k), q = u.value.filter((K) => K.visible)[I + 1];
|
|
1658
1658
|
if (q) {
|
|
1659
1659
|
const K = await t.closeBlade(q.id);
|
|
1660
1660
|
return K || d(), !K;
|
|
@@ -1674,7 +1674,7 @@ const Vu = ["aria-label"], Fu = {
|
|
|
1674
1674
|
async function O(R) {
|
|
1675
1675
|
await t.closeBlade(R) || d();
|
|
1676
1676
|
}
|
|
1677
|
-
async function
|
|
1677
|
+
async function x(R, E) {
|
|
1678
1678
|
try {
|
|
1679
1679
|
const _ = await l.callParent(E, R.method, R.args);
|
|
1680
1680
|
R.callback?.(_);
|
|
@@ -1708,7 +1708,7 @@ const Vu = ["aria-label"], Fu = {
|
|
|
1708
1708
|
"back-button": m.value > 1 ? P(k) : void 0,
|
|
1709
1709
|
inert: b.value !== void 0 && _.id !== b.value,
|
|
1710
1710
|
onClose: O,
|
|
1711
|
-
onParentCall:
|
|
1711
|
+
onParentCall: x
|
|
1712
1712
|
}, null, 8, ["descriptor", "closable", "expanded", "visible", "breadcrumbs", "back-button", "inert"]))), 128))
|
|
1713
1713
|
])) : (s(), D(a(wc), { key: 0 }))
|
|
1714
1714
|
], 8, Vu));
|
|
@@ -1780,7 +1780,7 @@ const Hu = { class: "vc-popup__center" }, Wu = ["aria-label"], Gu = { class: "vc
|
|
|
1780
1780
|
onKeydown: $e($, ["esc"])
|
|
1781
1781
|
}, {
|
|
1782
1782
|
default: M(() => [
|
|
1783
|
-
T(a(
|
|
1783
|
+
T(a(xa), {
|
|
1784
1784
|
as: "template",
|
|
1785
1785
|
enter: "vc-popup__transition-enter",
|
|
1786
1786
|
"enter-from": "vc-popup__transition-enter-from",
|
|
@@ -1802,7 +1802,7 @@ const Hu = { class: "vc-popup__center" }, Wu = ["aria-label"], Gu = { class: "vc
|
|
|
1802
1802
|
}])
|
|
1803
1803
|
}, [
|
|
1804
1804
|
w("div", Hu, [
|
|
1805
|
-
T(a(
|
|
1805
|
+
T(a(xa), {
|
|
1806
1806
|
as: "template",
|
|
1807
1807
|
enter: "vc-popup__dialog-enter",
|
|
1808
1808
|
"enter-from": "vc-popup__dialog-enter-from",
|
|
@@ -1972,7 +1972,7 @@ const Yu = /* @__PURE__ */ Y({
|
|
|
1972
1972
|
default: M(() => [
|
|
1973
1973
|
(s(), D(qe(i.component), Le({ ref_for: !0 }, { ...i.props, ...i.emits }, {
|
|
1974
1974
|
onClose: () => i.close?.()
|
|
1975
|
-
}),
|
|
1975
|
+
}), xe({ _: 2 }, [
|
|
1976
1976
|
ve(i.slots, (d, u) => ({
|
|
1977
1977
|
name: u,
|
|
1978
1978
|
fn: M(() => [
|
|
@@ -2175,7 +2175,7 @@ const td = { class: "vc-blade-header__status-container" }, ld = {
|
|
|
2175
2175
|
},
|
|
2176
2176
|
emits: ["close", "expand", "collapse"],
|
|
2177
2177
|
setup(e, { emit: n }) {
|
|
2178
|
-
const t = e, l = n, { t: r } = Pe(), { isMac: o } = Po(), i = y(() => Un(
|
|
2178
|
+
const t = e, l = n, { t: r } = Pe(), { isMac: o } = Po(), i = y(() => Un(Il.escape, o)), c = y(() => Un(Il.mod.backslash, o)), d = y(() => i.value.aria), u = y(() => c.value.aria), { isMobile: v } = De(), b = Ce(Jn, void 0), p = B(!1), m = B(null), h = B(null), { teleportTarget: f } = Vt(), { floatingStyle: C } = cl(m, h, {
|
|
2179
2179
|
placement: "bottom-start",
|
|
2180
2180
|
middleware: () => [Hl()]
|
|
2181
2181
|
}), S = B(null);
|
|
@@ -2193,7 +2193,7 @@ const td = { class: "vc-blade-header__status-container" }, ld = {
|
|
|
2193
2193
|
function V() {
|
|
2194
2194
|
t.closable && l("close");
|
|
2195
2195
|
}
|
|
2196
|
-
return (O,
|
|
2196
|
+
return (O, x) => (s(), g("div", {
|
|
2197
2197
|
class: Q(["vc-blade-header", {
|
|
2198
2198
|
"vc-blade-header--mobile": a(v)
|
|
2199
2199
|
}])
|
|
@@ -2208,8 +2208,8 @@ const td = { class: "vc-blade-header__status-container" }, ld = {
|
|
|
2208
2208
|
"vc-blade-header__status-not-edited": !e.modified,
|
|
2209
2209
|
"vc-blade-header__status-edited": e.modified
|
|
2210
2210
|
}, "vc-blade-header__status"]),
|
|
2211
|
-
onMouseenter:
|
|
2212
|
-
onMouseleave:
|
|
2211
|
+
onMouseenter: x[0] || (x[0] = (P) => p.value = !0),
|
|
2212
|
+
onMouseleave: x[1] || (x[1] = (P) => p.value = !1)
|
|
2213
2213
|
}, [
|
|
2214
2214
|
(s(), D(bt, { to: a(f) }, [
|
|
2215
2215
|
p.value ? (s(), g("span", {
|
|
@@ -2663,7 +2663,7 @@ const td = { class: "vc-blade-header__status-container" }, ld = {
|
|
|
2663
2663
|
], 46, Od)
|
|
2664
2664
|
], 2));
|
|
2665
2665
|
}
|
|
2666
|
-
}), Ld = ["disabled", "aria-disabled"],
|
|
2666
|
+
}), Ld = ["disabled", "aria-disabled"], Id = { class: "vc-link__text" }, xd = /* @__PURE__ */ Y({
|
|
2667
2667
|
__name: "vc-link",
|
|
2668
2668
|
props: {
|
|
2669
2669
|
active: { type: Boolean },
|
|
@@ -2686,12 +2686,12 @@ const td = { class: "vc-blade-header__status-container" }, ld = {
|
|
|
2686
2686
|
"aria-disabled": e.disabled,
|
|
2687
2687
|
onClick: r
|
|
2688
2688
|
}, [
|
|
2689
|
-
w("span",
|
|
2689
|
+
w("span", Id, [
|
|
2690
2690
|
z(o.$slots, "default")
|
|
2691
2691
|
])
|
|
2692
2692
|
], 10, Ld));
|
|
2693
2693
|
}
|
|
2694
|
-
}), si =
|
|
2694
|
+
}), si = xd, Nd = ["aria-busy"], Bd = { class: "tw-sr-only" }, Dd = /* @__PURE__ */ Y({
|
|
2695
2695
|
__name: "vc-loading",
|
|
2696
2696
|
props: {
|
|
2697
2697
|
active: { type: Boolean }
|
|
@@ -2821,7 +2821,7 @@ const td = { class: "vc-blade-header__status-container" }, ld = {
|
|
|
2821
2821
|
e.label ? (s(), D(a(rt), {
|
|
2822
2822
|
key: 0,
|
|
2823
2823
|
class: "vc-video__label"
|
|
2824
|
-
},
|
|
2824
|
+
}, xe({
|
|
2825
2825
|
default: M(() => [
|
|
2826
2826
|
w("span", null, F(e.label), 1)
|
|
2827
2827
|
]),
|
|
@@ -3251,7 +3251,7 @@ const td = { class: "vc-blade-header__status-container" }, ld = {
|
|
|
3251
3251
|
setup(e) {
|
|
3252
3252
|
const n = e, t = B(!1), l = B(null), { visibleItems: r, hiddenItems: o, showMoreButton: i, recalculate: c, updateObserver: d } = ra({
|
|
3253
3253
|
containerRef: l,
|
|
3254
|
-
items:
|
|
3254
|
+
items: Ie(n, "items"),
|
|
3255
3255
|
getItemKey: (v) => v.id ?? `toolbar_item_${n.items.indexOf(v)}`,
|
|
3256
3256
|
moreButtonWidth: 70,
|
|
3257
3257
|
initialItemWidth: 60
|
|
@@ -3352,14 +3352,14 @@ function Tv(e) {
|
|
|
3352
3352
|
m();
|
|
3353
3353
|
}), { visibleItems: h };
|
|
3354
3354
|
}
|
|
3355
|
-
const Av = { class: "vc-blade-toolbar__content" }, Ov = { class: "vc-blade-toolbar-skeleton__buttons" }, Mv = { class: "vc-blade-toolbar-skeleton__widgets" }, Lv = { class: "vc-blade-toolbar__buttons" },
|
|
3355
|
+
const Av = { class: "vc-blade-toolbar__content" }, Ov = { class: "vc-blade-toolbar-skeleton__buttons" }, Mv = { class: "vc-blade-toolbar-skeleton__widgets" }, Lv = { class: "vc-blade-toolbar__buttons" }, Iv = !0, xv = /* @__PURE__ */ Y({
|
|
3356
3356
|
__name: "BladeToolbar",
|
|
3357
3357
|
props: {
|
|
3358
3358
|
items: { default: () => [] },
|
|
3359
3359
|
loading: { type: Boolean }
|
|
3360
3360
|
},
|
|
3361
3361
|
setup(e) {
|
|
3362
|
-
const n = e, { isMobile: t } = De(), { visibleItems: l } = Tv(
|
|
3362
|
+
const n = e, { isMobile: t } = De(), { visibleItems: l } = Tv(Ie(n, "items"));
|
|
3363
3363
|
return (r, o) => e.loading && a(t) ? L("", !0) : (s(), g("div", {
|
|
3364
3364
|
key: 0,
|
|
3365
3365
|
class: Q(["vc-blade-toolbar", {
|
|
@@ -3412,7 +3412,7 @@ const Av = { class: "vc-blade-toolbar__content" }, Ov = { class: "vc-blade-toolb
|
|
|
3412
3412
|
}, null, 8, ["items"])) : (s(), D($v, {
|
|
3413
3413
|
key: 1,
|
|
3414
3414
|
items: a(l),
|
|
3415
|
-
"is-expanded":
|
|
3415
|
+
"is-expanded": Iv
|
|
3416
3416
|
}, null, 8, ["items"]))
|
|
3417
3417
|
]),
|
|
3418
3418
|
r.$slots["widgets-container"] ? z(r.$slots, "widgets-container", { key: 0 }) : L("", !0)
|
|
@@ -3483,32 +3483,32 @@ const Bv = ["role"], Dv = { class: "vc-blade-status-banners__text" }, Pv = ["tit
|
|
|
3483
3483
|
[c, d],
|
|
3484
3484
|
([O]) => {
|
|
3485
3485
|
if (!r) return;
|
|
3486
|
-
const
|
|
3487
|
-
O &&
|
|
3486
|
+
const x = r.value.findIndex((P) => P.id === _l);
|
|
3487
|
+
O && x === -1 ? r.value.push({
|
|
3488
3488
|
id: _l,
|
|
3489
3489
|
variant: "danger",
|
|
3490
3490
|
message: d.value,
|
|
3491
3491
|
dismissible: !0,
|
|
3492
3492
|
_system: !0
|
|
3493
|
-
}) : O &&
|
|
3494
|
-
...r.value[
|
|
3493
|
+
}) : O && x !== -1 ? r.value[x] = {
|
|
3494
|
+
...r.value[x],
|
|
3495
3495
|
message: d.value
|
|
3496
|
-
} : !O &&
|
|
3496
|
+
} : !O && x !== -1 && r.value.splice(x, 1);
|
|
3497
3497
|
},
|
|
3498
3498
|
{ immediate: !0 }
|
|
3499
3499
|
), oe(
|
|
3500
3500
|
() => t.modified,
|
|
3501
3501
|
(O) => {
|
|
3502
3502
|
if (!r) return;
|
|
3503
|
-
const
|
|
3504
|
-
O &&
|
|
3503
|
+
const x = r.value.findIndex((P) => P.id === Wa);
|
|
3504
|
+
O && x === -1 ? r.value.push({
|
|
3505
3505
|
id: Wa,
|
|
3506
3506
|
variant: "warning",
|
|
3507
3507
|
icon: "lucide-pencil",
|
|
3508
3508
|
message: i("COMPONENTS.ORGANISMS.VC_BLADE.UNSAVED_CHANGES"),
|
|
3509
3509
|
dismissible: !1,
|
|
3510
3510
|
_system: !0
|
|
3511
|
-
}) : !O &&
|
|
3511
|
+
}) : !O && x !== -1 && r.value.splice(x, 1);
|
|
3512
3512
|
},
|
|
3513
3513
|
{ immediate: !0 }
|
|
3514
3514
|
);
|
|
@@ -3517,7 +3517,7 @@ const Bv = ["role"], Dv = { class: "vc-blade-status-banners__text" }, Pv = ["tit
|
|
|
3517
3517
|
warning: 1,
|
|
3518
3518
|
info: 2,
|
|
3519
3519
|
success: 3
|
|
3520
|
-
}, A = y(() => r ? [...r.value].sort((O,
|
|
3520
|
+
}, A = y(() => r ? [...r.value].sort((O, x) => ($[O.variant] ?? 9) - ($[x.variant] ?? 9)) : []);
|
|
3521
3521
|
function N(O) {
|
|
3522
3522
|
return {
|
|
3523
3523
|
danger: "lucide-circle-alert",
|
|
@@ -3527,20 +3527,20 @@ const Bv = ["role"], Dv = { class: "vc-blade-status-banners__text" }, Pv = ["tit
|
|
|
3527
3527
|
}[O] ?? "lucide-info";
|
|
3528
3528
|
}
|
|
3529
3529
|
function V(O) {
|
|
3530
|
-
r && (O.id === _l && l && o && o.clearBladeError(l.value.id), r.value = r.value.filter((
|
|
3530
|
+
r && (O.id === _l && l && o && o.clearBladeError(l.value.id), r.value = r.value.filter((x) => x.id !== O.id));
|
|
3531
3531
|
}
|
|
3532
|
-
return (O,
|
|
3532
|
+
return (O, x) => (s(), D(jn, { name: "banner-reveal" }, {
|
|
3533
3533
|
default: M(() => [
|
|
3534
3534
|
(s(!0), g(J, null, ve(A.value, (P) => (s(), g("div", {
|
|
3535
3535
|
key: P.id,
|
|
3536
3536
|
class: Q(["vc-blade-status-banners__banner", `vc-blade-status-banners__banner--${P.variant}`]),
|
|
3537
3537
|
role: P.variant === "danger" || P.variant === "warning" ? "alert" : "status"
|
|
3538
3538
|
}, [
|
|
3539
|
-
|
|
3539
|
+
x[1] || (x[1] = w("div", { class: "vc-blade-status-banners__accent" }, null, -1)),
|
|
3540
3540
|
P.id === _l ? (s(), g(J, { key: 0 }, [
|
|
3541
3541
|
w("div", {
|
|
3542
3542
|
class: "vc-blade-status-banners__header vc-blade-status-banners__header--clickable",
|
|
3543
|
-
onClick:
|
|
3543
|
+
onClick: x[0] || (x[0] = //@ts-ignore
|
|
3544
3544
|
(...R) => a(h) && a(h)(...R))
|
|
3545
3545
|
}, [
|
|
3546
3546
|
T(a(le), {
|
|
@@ -3861,7 +3861,7 @@ const Xv = { class: "vc-widget-container-desktop" }, Qv = { class: "vc-widget-co
|
|
|
3861
3861
|
md: "56dvh",
|
|
3862
3862
|
lg: "72dvh",
|
|
3863
3863
|
full: "100dvh"
|
|
3864
|
-
}, $ = y(() => typeof c.width == "number" ? `${c.width}px` : c.width), A = y(() => typeof c.height == "number" ? `${c.height}px` : c.height), N = y(() => !!c.title || c.closeButton || !!u.header), V = y(() => !!u.footer), O = y(() => c.position === "bottom"),
|
|
3864
|
+
}, $ = y(() => typeof c.width == "number" ? `${c.width}px` : c.width), A = y(() => typeof c.height == "number" ? `${c.height}px` : c.height), N = y(() => !!c.title || c.closeButton || !!u.header), V = y(() => !!u.footer), O = y(() => c.position === "bottom"), x = y(() => c.size === "full"), P = y(() => c.position === "left" ? "vc-sidebar-panel-left" : c.position === "bottom" ? "vc-sidebar-panel-bottom" : "vc-sidebar-panel-right"), R = y(() => O.value ? {
|
|
3865
3865
|
height: A.value ?? S[c.size]
|
|
3866
3866
|
} : {
|
|
3867
3867
|
width: $.value ?? C[c.size]
|
|
@@ -3874,10 +3874,10 @@ const Xv = { class: "vc-widget-container-desktop" }, Qv = { class: "vc-widget-co
|
|
|
3874
3874
|
{
|
|
3875
3875
|
"vc-sidebar__panel--with-header": N.value,
|
|
3876
3876
|
"vc-sidebar__panel--with-footer": V.value,
|
|
3877
|
-
"vc-sidebar__panel--inset": c.inset && !
|
|
3877
|
+
"vc-sidebar__panel--inset": c.inset && !x.value,
|
|
3878
3878
|
"vc-sidebar__panel--draggable": c.draggable && O.value
|
|
3879
3879
|
}
|
|
3880
|
-
]), k = y(() => c.ariaLabel || void 0),
|
|
3880
|
+
]), k = y(() => c.ariaLabel || void 0), I = y(() => c.ariaLabel || !c.title ? void 0 : f);
|
|
3881
3881
|
function U(ie) {
|
|
3882
3882
|
d("update:modelValue", !1), d("close", ie);
|
|
3883
3883
|
}
|
|
@@ -4019,7 +4019,7 @@ const Xv = { class: "vc-widget-container-desktop" }, Qv = { class: "vc-widget-co
|
|
|
4019
4019
|
role: "dialog",
|
|
4020
4020
|
"aria-modal": e.showOverlay,
|
|
4021
4021
|
"aria-label": k.value,
|
|
4022
|
-
"aria-labelledby":
|
|
4022
|
+
"aria-labelledby": I.value,
|
|
4023
4023
|
tabindex: "-1",
|
|
4024
4024
|
onTouchstart: G,
|
|
4025
4025
|
onTouchmove: ae,
|
|
@@ -4289,7 +4289,7 @@ function ui() {
|
|
|
4289
4289
|
async function c(d) {
|
|
4290
4290
|
if (!d) return "";
|
|
4291
4291
|
const u = i(d);
|
|
4292
|
-
return new URL((/* @__PURE__ */ Object.assign({ "../../assets/icons/flags/al.svg": zs, "../../assets/icons/flags/am.svg": Hs, "../../assets/icons/flags/az.svg": Ws, "../../assets/icons/flags/ba.svg": Gs, "../../assets/icons/flags/bd.svg": qs, "../../assets/icons/flags/bg.svg": Ks, "../../assets/icons/flags/by.svg": Ys, "../../assets/icons/flags/cn.svg": js, "../../assets/icons/flags/cz.svg": Xs, "../../assets/icons/flags/de.svg": Qs, "../../assets/icons/flags/dk.svg": Js, "../../assets/icons/flags/ee.svg": Zs, "../../assets/icons/flags/es.svg": er, "../../assets/icons/flags/fi.svg": tr, "../../assets/icons/flags/fr.svg": lr, "../../assets/icons/flags/gb.svg": nr, "../../assets/icons/flags/ge.svg": ar, "../../assets/icons/flags/gr.svg": or, "../../assets/icons/flags/hr.svg": ir, "../../assets/icons/flags/hu.svg": sr, "../../assets/icons/flags/id.svg": rr, "../../assets/icons/flags/il.svg": cr, "../../assets/icons/flags/in.svg": ur, "../../assets/icons/flags/ir.svg": dr, "../../assets/icons/flags/is.svg": vr, "../../assets/icons/flags/it.svg": fr, "../../assets/icons/flags/jp.svg": mr, "../../assets/icons/flags/kg.svg": pr, "../../assets/icons/flags/kh.svg": gr, "../../assets/icons/flags/kr.svg": br, "../../assets/icons/flags/kz.svg": hr, "../../assets/icons/flags/lk.svg": yr, "../../assets/icons/flags/lt.svg": wr, "../../assets/icons/flags/lv.svg": Cr, "../../assets/icons/flags/mk.svg": _r, "../../assets/icons/flags/mn.svg": kr, "../../assets/icons/flags/my.svg": Er, "../../assets/icons/flags/ng.svg": Sr, "../../assets/icons/flags/nl.svg": $r, "../../assets/icons/flags/no.svg": Rr, "../../assets/icons/flags/np.svg": Tr, "../../assets/icons/flags/ph.svg": Ar, "../../assets/icons/flags/pk.svg": Or, "../../assets/icons/flags/pl.svg": Mr, "../../assets/icons/flags/pt.svg": Lr, "../../assets/icons/flags/ro.svg":
|
|
4292
|
+
return new URL((/* @__PURE__ */ Object.assign({ "../../assets/icons/flags/al.svg": zs, "../../assets/icons/flags/am.svg": Hs, "../../assets/icons/flags/az.svg": Ws, "../../assets/icons/flags/ba.svg": Gs, "../../assets/icons/flags/bd.svg": qs, "../../assets/icons/flags/bg.svg": Ks, "../../assets/icons/flags/by.svg": Ys, "../../assets/icons/flags/cn.svg": js, "../../assets/icons/flags/cz.svg": Xs, "../../assets/icons/flags/de.svg": Qs, "../../assets/icons/flags/dk.svg": Js, "../../assets/icons/flags/ee.svg": Zs, "../../assets/icons/flags/es.svg": er, "../../assets/icons/flags/fi.svg": tr, "../../assets/icons/flags/fr.svg": lr, "../../assets/icons/flags/gb.svg": nr, "../../assets/icons/flags/ge.svg": ar, "../../assets/icons/flags/gr.svg": or, "../../assets/icons/flags/hr.svg": ir, "../../assets/icons/flags/hu.svg": sr, "../../assets/icons/flags/id.svg": rr, "../../assets/icons/flags/il.svg": cr, "../../assets/icons/flags/in.svg": ur, "../../assets/icons/flags/ir.svg": dr, "../../assets/icons/flags/is.svg": vr, "../../assets/icons/flags/it.svg": fr, "../../assets/icons/flags/jp.svg": mr, "../../assets/icons/flags/kg.svg": pr, "../../assets/icons/flags/kh.svg": gr, "../../assets/icons/flags/kr.svg": br, "../../assets/icons/flags/kz.svg": hr, "../../assets/icons/flags/lk.svg": yr, "../../assets/icons/flags/lt.svg": wr, "../../assets/icons/flags/lv.svg": Cr, "../../assets/icons/flags/mk.svg": _r, "../../assets/icons/flags/mn.svg": kr, "../../assets/icons/flags/my.svg": Er, "../../assets/icons/flags/ng.svg": Sr, "../../assets/icons/flags/nl.svg": $r, "../../assets/icons/flags/no.svg": Rr, "../../assets/icons/flags/np.svg": Tr, "../../assets/icons/flags/ph.svg": Ar, "../../assets/icons/flags/pk.svg": Or, "../../assets/icons/flags/pl.svg": Mr, "../../assets/icons/flags/pt.svg": Lr, "../../assets/icons/flags/ro.svg": Ir, "../../assets/icons/flags/rs.svg": xr, "../../assets/icons/flags/ru.svg": Nr, "../../assets/icons/flags/sa.svg": Br, "../../assets/icons/flags/se.svg": Dr, "../../assets/icons/flags/si.svg": Pr, "../../assets/icons/flags/sk.svg": Vr, "../../assets/icons/flags/th.svg": Fr, "../../assets/icons/flags/tr.svg": Ur, "../../assets/icons/flags/tz.svg": zr, "../../assets/icons/flags/ua.svg": Hr, "../../assets/icons/flags/us.svg": Wr, "../../assets/icons/flags/uz.svg": Gr, "../../assets/icons/flags/vn.svg": qr, "../../assets/icons/flags/xx.svg": Kr, "../../assets/icons/flags/za.svg": Yr }))[`../../assets/icons/flags/${u}.svg`], import.meta.url).href;
|
|
4293
4293
|
}
|
|
4294
4294
|
return {
|
|
4295
4295
|
setLocale: l,
|
|
@@ -4337,49 +4337,43 @@ function Zl() {
|
|
|
4337
4337
|
return e;
|
|
4338
4338
|
}
|
|
4339
4339
|
const hf = "VC_APP_MENU_EXPANDED", yf = 200;
|
|
4340
|
-
function wf() {
|
|
4341
|
-
const n = window.location.pathname.split("/").filter(Boolean)[0] || "default";
|
|
4340
|
+
function wf(e) {
|
|
4341
|
+
const n = e || window.location.pathname.split("/").filter(Boolean)[0] || "default";
|
|
4342
4342
|
return `${hf}_${n}`;
|
|
4343
4343
|
}
|
|
4344
|
-
|
|
4345
|
-
const e = Wl(wf(), !0), n = B(!1);
|
|
4346
|
-
let
|
|
4347
|
-
const
|
|
4344
|
+
function Cf() {
|
|
4345
|
+
const e = Wl(wf(), !0), n = B(!1), t = B(!1), l = y(() => e.value || n.value);
|
|
4346
|
+
let r = null;
|
|
4347
|
+
const o = () => {
|
|
4348
4348
|
e.value = !e.value;
|
|
4349
|
-
},
|
|
4350
|
-
|
|
4351
|
-
n.value !==
|
|
4352
|
-
}, yf) :
|
|
4349
|
+
}, i = (u) => {
|
|
4350
|
+
r && (clearTimeout(r), r = null), u ? r = setTimeout(() => {
|
|
4351
|
+
n.value !== u && (n.value = u);
|
|
4352
|
+
}, yf) : u === !1 && (n.value = u);
|
|
4353
4353
|
};
|
|
4354
4354
|
return Xn(() => {
|
|
4355
|
-
|
|
4355
|
+
r && (clearTimeout(r), r = null);
|
|
4356
4356
|
}), {
|
|
4357
|
-
|
|
4358
|
-
toggleExpanded: l,
|
|
4357
|
+
isPinned: e,
|
|
4359
4358
|
isHoverExpanded: n,
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
const e = Ce(Hn, null);
|
|
4365
|
-
if (e) return e;
|
|
4366
|
-
const { isExpanded: n, isHoverExpanded: t, toggleExpanded: l, toggleHoverExpanded: r } = Cf(), o = B(!1), i = y(() => n.value || t.value), v = {
|
|
4367
|
-
isPinned: n,
|
|
4368
|
-
isHoverExpanded: t,
|
|
4369
|
-
isMenuOpen: o,
|
|
4370
|
-
isExpanded: i,
|
|
4371
|
-
togglePin: l,
|
|
4372
|
-
setHoverExpanded: (b) => {
|
|
4373
|
-
r(b);
|
|
4374
|
-
},
|
|
4359
|
+
isMenuOpen: t,
|
|
4360
|
+
isExpanded: l,
|
|
4361
|
+
togglePin: o,
|
|
4362
|
+
setHoverExpanded: i,
|
|
4375
4363
|
openMenu: () => {
|
|
4376
|
-
|
|
4364
|
+
t.value = !0;
|
|
4377
4365
|
},
|
|
4378
4366
|
closeMenu: () => {
|
|
4379
|
-
|
|
4367
|
+
t.value = !1;
|
|
4380
4368
|
}
|
|
4381
4369
|
};
|
|
4382
|
-
|
|
4370
|
+
}
|
|
4371
|
+
const Hn = Symbol("SidebarState");
|
|
4372
|
+
function _f() {
|
|
4373
|
+
const e = Ce(Hn, null);
|
|
4374
|
+
if (e) return e;
|
|
4375
|
+
const n = Cf();
|
|
4376
|
+
return Be(Hn, n), n;
|
|
4383
4377
|
}
|
|
4384
4378
|
function ua() {
|
|
4385
4379
|
const e = Ce(Hn);
|
|
@@ -4415,10 +4409,10 @@ function Of() {
|
|
|
4415
4409
|
const e = typeof window < "u" ? window.location.hostname : "";
|
|
4416
4410
|
return Tf(Af(), e);
|
|
4417
4411
|
}
|
|
4418
|
-
const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"],
|
|
4412
|
+
const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], If = {
|
|
4419
4413
|
key: 1,
|
|
4420
4414
|
class: "vc-blade__breadcrumbs"
|
|
4421
|
-
},
|
|
4415
|
+
}, I$ = /* @__PURE__ */ Y({
|
|
4422
4416
|
inheritAttrs: !1,
|
|
4423
4417
|
__name: "vc-blade",
|
|
4424
4418
|
props: {
|
|
@@ -4444,7 +4438,7 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4444
4438
|
);
|
|
4445
4439
|
Be(rs, d), yt();
|
|
4446
4440
|
const u = n, { isMobile: v, isDesktop: b } = De(), p = ea(), { id: m } = p, h = !!c, f = Ce(Co, void 0), C = Ce(Jn, void 0), S = y(() => h ? p.expanded.value : t.expanded), $ = y(() => h ? p.closable.value : t.closable), A = Zi(), N = y(() => {
|
|
4447
|
-
const { class:
|
|
4441
|
+
const { class: I, style: U, onClose: q, ...K } = A;
|
|
4448
4442
|
return K;
|
|
4449
4443
|
});
|
|
4450
4444
|
function V() {
|
|
@@ -4453,7 +4447,7 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4453
4447
|
function O() {
|
|
4454
4448
|
f ? f.value = !0 : u("expand");
|
|
4455
4449
|
}
|
|
4456
|
-
function
|
|
4450
|
+
function x() {
|
|
4457
4451
|
f ? f.value = !1 : u("collapse");
|
|
4458
4452
|
}
|
|
4459
4453
|
const P = Ce(ko), { blades: R, setBladeTitle: E } = Ut();
|
|
@@ -4461,12 +4455,12 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4461
4455
|
h && m.value && t.title && E(m.value, t.title);
|
|
4462
4456
|
});
|
|
4463
4457
|
const _ = B(null), k = B(null);
|
|
4464
|
-
return tt(() => zn(() => _.value)), (
|
|
4458
|
+
return tt(() => zn(() => _.value)), (I, U) => (s(), g("div", Le({
|
|
4465
4459
|
ref_key: "bladeRef",
|
|
4466
4460
|
ref: _
|
|
4467
4461
|
}, N.value, {
|
|
4468
4462
|
class: ["vc-blade", [
|
|
4469
|
-
|
|
4463
|
+
I.$attrs.class,
|
|
4470
4464
|
{
|
|
4471
4465
|
"vc-blade--mobile": a(v),
|
|
4472
4466
|
"vc-blade--expanded": S.value,
|
|
@@ -4478,9 +4472,9 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4478
4472
|
style: { width: typeof e.width == "number" ? `${e.width}px` : e.width },
|
|
4479
4473
|
"aria-busy": t.loading || void 0,
|
|
4480
4474
|
"aria-labelledby": t.title && !a(d) ? i : void 0,
|
|
4481
|
-
"aria-label": !t.title || a(d) ?
|
|
4475
|
+
"aria-label": !t.title || a(d) ? I.$t("COMPONENTS.ORGANISMS.VC_BLADE.PANEL") : void 0
|
|
4482
4476
|
}), [
|
|
4483
|
-
a(v) && a(R).length === 1 && !
|
|
4477
|
+
a(v) && a(R).length === 1 && !I.$slots.actions ? L("", !0) : (s(), D(bd, {
|
|
4484
4478
|
key: 0,
|
|
4485
4479
|
class: "vc-blade__header",
|
|
4486
4480
|
closable: $.value,
|
|
@@ -4492,14 +4486,14 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4492
4486
|
loading: a(d),
|
|
4493
4487
|
onClose: V,
|
|
4494
4488
|
onExpand: O,
|
|
4495
|
-
onCollapse:
|
|
4496
|
-
},
|
|
4489
|
+
onCollapse: x
|
|
4490
|
+
}, xe({
|
|
4497
4491
|
prepend: M(() => [
|
|
4498
4492
|
a(P) && a(v) ? (s(), D(qe(a(P)), {
|
|
4499
4493
|
key: 0,
|
|
4500
4494
|
class: "vc-blade__back-button"
|
|
4501
4495
|
})) : L("", !0),
|
|
4502
|
-
!a(d) && a(C)?.breadcrumbs?.length && a(b) ? (s(), g("div",
|
|
4496
|
+
!a(d) && a(C)?.breadcrumbs?.length && a(b) ? (s(), g("div", If, [
|
|
4503
4497
|
T(a(Zo), {
|
|
4504
4498
|
items: a(C)?.breadcrumbs,
|
|
4505
4499
|
collapsed: ""
|
|
@@ -4509,7 +4503,7 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4509
4503
|
text: "",
|
|
4510
4504
|
icon: "lucide-ellipsis-vertical",
|
|
4511
4505
|
"icon-size": "xl",
|
|
4512
|
-
"aria-label":
|
|
4506
|
+
"aria-label": I.$t("COMPONENTS.MOLECULES.VC_BREADCRUMBS.SHOW_MORE"),
|
|
4513
4507
|
class: Q(["vc-blade__breadcrumbs-button", {
|
|
4514
4508
|
"vc-blade__breadcrumbs-button--active": K
|
|
4515
4509
|
}]),
|
|
@@ -4522,10 +4516,10 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4522
4516
|
]),
|
|
4523
4517
|
_: 2
|
|
4524
4518
|
}, [
|
|
4525
|
-
|
|
4519
|
+
I.$slots.actions ? {
|
|
4526
4520
|
name: "actions",
|
|
4527
4521
|
fn: M(() => [
|
|
4528
|
-
z(
|
|
4522
|
+
z(I.$slots, "actions")
|
|
4529
4523
|
]),
|
|
4530
4524
|
key: "0"
|
|
4531
4525
|
} : void 0
|
|
@@ -4534,7 +4528,7 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4534
4528
|
key: 1,
|
|
4535
4529
|
modified: r.value
|
|
4536
4530
|
}, null, 8, ["modified"])),
|
|
4537
|
-
T(
|
|
4531
|
+
T(xv, {
|
|
4538
4532
|
"data-test-id": "blade-toolbar",
|
|
4539
4533
|
class: "vc-blade__toolbar",
|
|
4540
4534
|
items: e.toolbarItems,
|
|
@@ -4560,13 +4554,13 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4560
4554
|
"vc-blade__slot--mobile": a(v)
|
|
4561
4555
|
}])
|
|
4562
4556
|
}, [
|
|
4563
|
-
z(
|
|
4557
|
+
z(I.$slots, "default")
|
|
4564
4558
|
], 2)
|
|
4565
4559
|
], 2)
|
|
4566
4560
|
], 512)
|
|
4567
4561
|
], 16, Lf));
|
|
4568
4562
|
}
|
|
4569
|
-
}),
|
|
4563
|
+
}), xf = ["aria-label", "aria-labelledby"], Nf = /* @__PURE__ */ Y({
|
|
4570
4564
|
__name: "vc-form",
|
|
4571
4565
|
props: {
|
|
4572
4566
|
ariaLabel: {},
|
|
@@ -4587,7 +4581,7 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4587
4581
|
z(r.$slots, "default", {}, () => [
|
|
4588
4582
|
o[0] || (o[0] = de("vc-form", -1))
|
|
4589
4583
|
])
|
|
4590
|
-
], 40,
|
|
4584
|
+
], 40, xf));
|
|
4591
4585
|
}
|
|
4592
4586
|
}), Bf = Nf, Df = {
|
|
4593
4587
|
key: 0,
|
|
@@ -4656,7 +4650,7 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4656
4650
|
multilanguage: e.multilanguage,
|
|
4657
4651
|
"current-language": e.currentLanguage,
|
|
4658
4652
|
error: a(v)
|
|
4659
|
-
},
|
|
4653
|
+
}, xe({
|
|
4660
4654
|
default: M(() => [
|
|
4661
4655
|
w("span", null, F(e.label), 1)
|
|
4662
4656
|
]),
|
|
@@ -4731,7 +4725,7 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4731
4725
|
}), Hf = { class: "vc-field__content" }, Wf = ["href"], Gf = {
|
|
4732
4726
|
key: 2,
|
|
4733
4727
|
class: "vc-field__text"
|
|
4734
|
-
},
|
|
4728
|
+
}, x$ = /* @__PURE__ */ Y({
|
|
4735
4729
|
__name: "vc-field",
|
|
4736
4730
|
props: {
|
|
4737
4731
|
label: {},
|
|
@@ -4792,7 +4786,7 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4792
4786
|
class: Q(["vc-field__label", { "vc-field__label--empty": !e.label }]),
|
|
4793
4787
|
style: he(e.orientation === "horizontal" ? { flex: `${e.aspectRatio[0]} 1 0%` } : void 0)
|
|
4794
4788
|
}, [
|
|
4795
|
-
e.label ? (s(), D(a(rt), { key: 0 },
|
|
4789
|
+
e.label ? (s(), D(a(rt), { key: 0 }, xe({
|
|
4796
4790
|
default: M(() => [
|
|
4797
4791
|
w("span", null, F(e.label), 1)
|
|
4798
4792
|
]),
|
|
@@ -4974,7 +4968,7 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
4974
4968
|
disabled: p.disabled,
|
|
4975
4969
|
class: "vc-accordion__item",
|
|
4976
4970
|
onToggle: (h) => c(p.id || m, h)
|
|
4977
|
-
},
|
|
4971
|
+
}, xe({
|
|
4978
4972
|
default: M(() => [
|
|
4979
4973
|
typeof p.content == "string" ? (s(), g(J, { key: 0 }, [
|
|
4980
4974
|
de(F(p.content), 1)
|
|
@@ -5031,14 +5025,14 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
5031
5025
|
}), N = B(null), V = async (E) => {
|
|
5032
5026
|
if (d.value) return;
|
|
5033
5027
|
if (await C(E.target), (await S()).valid) {
|
|
5034
|
-
const
|
|
5035
|
-
|
|
5028
|
+
const I = E.target.files;
|
|
5029
|
+
I && I.length && r("upload", I);
|
|
5036
5030
|
}
|
|
5037
5031
|
};
|
|
5038
5032
|
function O() {
|
|
5039
5033
|
d.value || N.value && (N.value.value = "", N.value.click());
|
|
5040
5034
|
}
|
|
5041
|
-
function
|
|
5035
|
+
function x(E) {
|
|
5042
5036
|
if (d.value) return;
|
|
5043
5037
|
R();
|
|
5044
5038
|
const _ = E.dataTransfer?.files;
|
|
@@ -5073,7 +5067,7 @@ const Mf = Ec(Of), Lf = ["aria-busy", "aria-labelledby", "aria-label"], xf = {
|
|
|
5073
5067
|
"aria-describedby": A.value,
|
|
5074
5068
|
"aria-disabled": a(d) || void 0,
|
|
5075
5069
|
"aria-required": a(v),
|
|
5076
|
-
onDrop: ue(
|
|
5070
|
+
onDrop: ue(x, ["stop", "prevent"]),
|
|
5077
5071
|
onDrag: _[0] || (_[0] = ue(() => {
|
|
5078
5072
|
}, ["stop", "prevent"])),
|
|
5079
5073
|
onDragstart: _[1] || (_[1] = ue(() => {
|
|
@@ -5574,14 +5568,14 @@ const im = {
|
|
|
5574
5568
|
/^>/m
|
|
5575
5569
|
// Blockquotes
|
|
5576
5570
|
];
|
|
5577
|
-
let
|
|
5571
|
+
let I = 0, U = 0;
|
|
5578
5572
|
return _.forEach((q) => {
|
|
5579
5573
|
const K = E.match(q);
|
|
5580
|
-
K && (
|
|
5574
|
+
K && (I += K.length);
|
|
5581
5575
|
}), k.forEach((q) => {
|
|
5582
5576
|
const K = E.match(q);
|
|
5583
5577
|
K && (U += K.length);
|
|
5584
|
-
}),
|
|
5578
|
+
}), I > U * 2 ? "html" : "markdown";
|
|
5585
5579
|
}
|
|
5586
5580
|
const m = y(() => {
|
|
5587
5581
|
const E = [
|
|
@@ -5616,8 +5610,8 @@ const im = {
|
|
|
5616
5610
|
})
|
|
5617
5611
|
];
|
|
5618
5612
|
if (l.extensions && l.extensions.length > 0) {
|
|
5619
|
-
const _ = new Set(l.extensions.map((
|
|
5620
|
-
return [...E.filter((
|
|
5613
|
+
const _ = new Set(l.extensions.map((I) => I.name).filter(Boolean));
|
|
5614
|
+
return [...E.filter((I) => !_.has(I.name)), ...l.extensions];
|
|
5621
5615
|
}
|
|
5622
5616
|
return E;
|
|
5623
5617
|
}), h = B(l.modelValue || "");
|
|
@@ -5735,7 +5729,7 @@ const im = {
|
|
|
5735
5729
|
), We(() => {
|
|
5736
5730
|
O.value?.destroy();
|
|
5737
5731
|
});
|
|
5738
|
-
function
|
|
5732
|
+
function x() {
|
|
5739
5733
|
c.value?.click();
|
|
5740
5734
|
}
|
|
5741
5735
|
function P(E) {
|
|
@@ -5749,12 +5743,12 @@ const im = {
|
|
|
5749
5743
|
async function R(E) {
|
|
5750
5744
|
const _ = E.target;
|
|
5751
5745
|
if (!_.files?.length || !l.assetsFolder) return;
|
|
5752
|
-
const k = Array.from(_.files),
|
|
5753
|
-
k.forEach((U) =>
|
|
5746
|
+
const k = Array.from(_.files), I = new FormData();
|
|
5747
|
+
k.forEach((U) => I.append("image", U));
|
|
5754
5748
|
try {
|
|
5755
5749
|
(await (await fetch(`/api/assets?folderUrl=/${l.assetsFolder}`, {
|
|
5756
5750
|
method: "POST",
|
|
5757
|
-
body:
|
|
5751
|
+
body: I
|
|
5758
5752
|
})).json()).forEach((K) => {
|
|
5759
5753
|
K.url && O.value?.chain().focus().setImage({ src: K.url }).run();
|
|
5760
5754
|
});
|
|
@@ -5794,7 +5788,7 @@ const im = {
|
|
|
5794
5788
|
multilanguage: e.multilanguage,
|
|
5795
5789
|
"current-language": e.currentLanguage,
|
|
5796
5790
|
error: !!e.errorMessage
|
|
5797
|
-
},
|
|
5791
|
+
}, xe({
|
|
5798
5792
|
default: M(() => [
|
|
5799
5793
|
w("span", null, F(e.label), 1)
|
|
5800
5794
|
]),
|
|
@@ -5816,7 +5810,7 @@ const im = {
|
|
|
5816
5810
|
"content-type": d.value,
|
|
5817
5811
|
toolbar: u.value,
|
|
5818
5812
|
"custom-buttons": l.customButtons || [],
|
|
5819
|
-
onUploadImage:
|
|
5813
|
+
onUploadImage: x
|
|
5820
5814
|
}, null, 8, ["editor", "disabled", "content-type", "toolbar", "custom-buttons"])) : L("", !0),
|
|
5821
5815
|
w("div", km, [
|
|
5822
5816
|
T(ze, {
|
|
@@ -5921,7 +5915,7 @@ const im = {
|
|
|
5921
5915
|
})
|
|
5922
5916
|
], 10, Cm));
|
|
5923
5917
|
}
|
|
5924
|
-
}), Lm = ["id", "data-mounted", "data-removed", "data-y-position", "data-front", "data-expanded", "data-visible", "data-swiping", "data-swiped-out", "role"],
|
|
5918
|
+
}), Lm = ["id", "data-mounted", "data-removed", "data-y-position", "data-front", "data-expanded", "data-visible", "data-swiping", "data-swiped-out", "role"], Im = { class: "vc-notification__content-wrapper" }, xm = {
|
|
5925
5919
|
key: 0,
|
|
5926
5920
|
class: "vc-notification__content",
|
|
5927
5921
|
tabindex: "0"
|
|
@@ -5973,8 +5967,8 @@ const im = {
|
|
|
5973
5967
|
if (i.value && l.notificationId !== void 0 && !d.value) {
|
|
5974
5968
|
const _ = i.value, k = _.style.height;
|
|
5975
5969
|
_.style.height = "auto";
|
|
5976
|
-
const
|
|
5977
|
-
_.style.height = k, l.onReportHeight?.(l.notificationId,
|
|
5970
|
+
const I = _.getBoundingClientRect().height;
|
|
5971
|
+
_.style.height = k, l.onReportHeight?.(l.notificationId, I);
|
|
5978
5972
|
}
|
|
5979
5973
|
}
|
|
5980
5974
|
tt(() => {
|
|
@@ -5985,18 +5979,18 @@ const im = {
|
|
|
5985
5979
|
}), i.value && (h.value = new ResizeObserver(() => f()), h.value.observe(i.value));
|
|
5986
5980
|
});
|
|
5987
5981
|
function C(_, k) {
|
|
5988
|
-
let
|
|
5982
|
+
let I, U, q = k;
|
|
5989
5983
|
function K() {
|
|
5990
|
-
window.clearTimeout(
|
|
5984
|
+
window.clearTimeout(I), q -= Date.now() - U;
|
|
5991
5985
|
}
|
|
5992
5986
|
function te() {
|
|
5993
|
-
U = Date.now(), window.clearTimeout(
|
|
5987
|
+
U = Date.now(), window.clearTimeout(I), I = window.setTimeout(_, q);
|
|
5994
5988
|
}
|
|
5995
5989
|
function me() {
|
|
5996
5990
|
q = k, te();
|
|
5997
5991
|
}
|
|
5998
5992
|
function j() {
|
|
5999
|
-
window.clearTimeout(
|
|
5993
|
+
window.clearTimeout(I);
|
|
6000
5994
|
}
|
|
6001
5995
|
return { pause: K, resume: te, start: me, clear: j };
|
|
6002
5996
|
}
|
|
@@ -6009,20 +6003,20 @@ const im = {
|
|
|
6009
6003
|
function $() {
|
|
6010
6004
|
l.timeout && l.pauseOnHover !== !1 && p.value?.resume();
|
|
6011
6005
|
}
|
|
6012
|
-
const A = B(0), N = B(0), V = B(!1), O = B(!1),
|
|
6006
|
+
const A = B(0), N = B(0), V = B(!1), O = B(!1), x = B(0);
|
|
6013
6007
|
function P(_) {
|
|
6014
6008
|
if (d.value || O.value || _.target?.closest(".vc-notification__dismiss-button")) return;
|
|
6015
|
-
A.value = _.clientX, N.value = _.clientY,
|
|
6009
|
+
A.value = _.clientX, N.value = _.clientY, x.value = Date.now(), V.value = !1;
|
|
6016
6010
|
const k = i.value;
|
|
6017
6011
|
k && k.setPointerCapture(_.pointerId);
|
|
6018
6012
|
}
|
|
6019
6013
|
function R(_) {
|
|
6020
6014
|
if (d.value || O.value || A.value === 0 && N.value === 0) return;
|
|
6021
|
-
const k = _.clientX - A.value,
|
|
6015
|
+
const k = _.clientX - A.value, I = _.clientY - N.value;
|
|
6022
6016
|
if (!V.value)
|
|
6023
|
-
if (Math.abs(k) > 1 && Math.abs(k) > Math.abs(
|
|
6017
|
+
if (Math.abs(k) > 1 && Math.abs(k) > Math.abs(I))
|
|
6024
6018
|
V.value = !0, p.value?.pause();
|
|
6025
|
-
else if (Math.abs(
|
|
6019
|
+
else if (Math.abs(I) > 1) {
|
|
6026
6020
|
A.value = 0, N.value = 0;
|
|
6027
6021
|
return;
|
|
6028
6022
|
} else
|
|
@@ -6035,10 +6029,10 @@ const im = {
|
|
|
6035
6029
|
i.value?.style.setProperty("--swipe-amount-x", "0px"), A.value = 0, N.value = 0;
|
|
6036
6030
|
return;
|
|
6037
6031
|
}
|
|
6038
|
-
const
|
|
6039
|
-
if (Math.abs(
|
|
6032
|
+
const I = parseFloat(i.value?.style.getPropertyValue("--swipe-amount-x")?.replace("px", "") || "0"), U = Date.now() - x.value, q = Math.abs(I) / U;
|
|
6033
|
+
if (Math.abs(I) >= Dm || q > 0.11) {
|
|
6040
6034
|
d.value = !0, p.value?.clear(), O.value = !0;
|
|
6041
|
-
const K =
|
|
6035
|
+
const K = I > 0 ? 1 : -1;
|
|
6042
6036
|
i.value?.style.setProperty("--swipe-amount-x", `${K * window.innerWidth}px`), setTimeout(() => t("close", l.notificationId), qa);
|
|
6043
6037
|
} else
|
|
6044
6038
|
i.value?.style.setProperty("--swipe-amount-x", "0px"), p.value?.resume();
|
|
@@ -6064,7 +6058,7 @@ const im = {
|
|
|
6064
6058
|
onPointermove: R,
|
|
6065
6059
|
onPointerup: E
|
|
6066
6060
|
}, [
|
|
6067
|
-
w("div",
|
|
6061
|
+
w("div", Im, [
|
|
6068
6062
|
T(a(le), {
|
|
6069
6063
|
icon: r[e.type ?? "default"]?.icon,
|
|
6070
6064
|
style: he({ color: r[e.type ?? "default"]?.color }),
|
|
@@ -6072,7 +6066,7 @@ const im = {
|
|
|
6072
6066
|
class: "vc-notification__icon",
|
|
6073
6067
|
"aria-hidden": "true"
|
|
6074
6068
|
}, null, 8, ["icon", "style"]),
|
|
6075
|
-
typeof e.content == "string" ? (s(), g("div",
|
|
6069
|
+
typeof e.content == "string" ? (s(), g("div", xm, F(e.content), 1)) : (s(), g("div", Nm, [
|
|
6076
6070
|
(s(), D(qe(e.content)))
|
|
6077
6071
|
]))
|
|
6078
6072
|
]),
|
|
@@ -6242,7 +6236,7 @@ const im = {
|
|
|
6242
6236
|
e.label ? (s(), D(a(rt), {
|
|
6243
6237
|
key: 0,
|
|
6244
6238
|
class: "vc-rating__label"
|
|
6245
|
-
},
|
|
6239
|
+
}, xe({
|
|
6246
6240
|
default: M(() => [
|
|
6247
6241
|
w("span", null, F(e.label), 1)
|
|
6248
6242
|
]),
|
|
@@ -6316,7 +6310,7 @@ const im = {
|
|
|
6316
6310
|
role: "region",
|
|
6317
6311
|
"aria-label": e.ariaLabel || "Content carousel"
|
|
6318
6312
|
}, [
|
|
6319
|
-
T(a(
|
|
6313
|
+
T(a(xl), {
|
|
6320
6314
|
class: Q(["vc-slider__swiper", {
|
|
6321
6315
|
"vc-slider__swiper_overflow-visible": e.overflow,
|
|
6322
6316
|
"vc-slider__swiper_navigation": e.navigation
|
|
@@ -6837,7 +6831,7 @@ function Lp(e) {
|
|
|
6837
6831
|
closeDropdown: b
|
|
6838
6832
|
};
|
|
6839
6833
|
}
|
|
6840
|
-
function
|
|
6834
|
+
function Ip(e) {
|
|
6841
6835
|
return {
|
|
6842
6836
|
availableOptions: y(() => {
|
|
6843
6837
|
const t = e.options(), l = e.modelValue(), r = e.optionValue();
|
|
@@ -6845,10 +6839,10 @@ function xp(e) {
|
|
|
6845
6839
|
})
|
|
6846
6840
|
};
|
|
6847
6841
|
}
|
|
6848
|
-
const
|
|
6842
|
+
const xp = {
|
|
6849
6843
|
key: 0,
|
|
6850
6844
|
class: "vc-multivalue vc-multivalue--skeleton"
|
|
6851
|
-
}, Np = { key: 0 }, Bp = { key: 1 },
|
|
6845
|
+
}, Np = { key: 0 }, Bp = { key: 1 }, xt = /* @__PURE__ */ Y({
|
|
6852
6846
|
__name: "vc-multivalue",
|
|
6853
6847
|
props: {
|
|
6854
6848
|
placeholder: {},
|
|
@@ -6883,7 +6877,7 @@ const Ip = {
|
|
|
6883
6877
|
emit: {
|
|
6884
6878
|
updateModelValue: (W) => l("update:model-value", W)
|
|
6885
6879
|
}
|
|
6886
|
-
}), { inputValue: O, onInputSubmit:
|
|
6880
|
+
}), { inputValue: O, onInputSubmit: x, onKeyDown: P } = Op({
|
|
6887
6881
|
type: () => t.type,
|
|
6888
6882
|
optionLabel: () => t.optionLabel,
|
|
6889
6883
|
addItem: V
|
|
@@ -6892,11 +6886,11 @@ const Ip = {
|
|
|
6892
6886
|
emit: {
|
|
6893
6887
|
updateModelValue: (W) => l("update:model-value", W)
|
|
6894
6888
|
}
|
|
6895
|
-
}), { availableOptions: k } =
|
|
6889
|
+
}), { availableOptions: k } = Ip({
|
|
6896
6890
|
options: () => t.options,
|
|
6897
6891
|
modelValue: () => t.modelValue,
|
|
6898
6892
|
optionValue: () => t.optionValue
|
|
6899
|
-
}), { isOpened:
|
|
6893
|
+
}), { isOpened: I, isFocused: U, dropdownToggleRef: q, dropdownRef: K, searchRef: te, dropdownStyle: me, toggleDropdown: j, closeDropdown: G } = Lp({
|
|
6900
6894
|
disabled: () => t.disabled ?? !1,
|
|
6901
6895
|
onItemSelect: (W) => {
|
|
6902
6896
|
k.value[W] && ae(k.value[W]);
|
|
@@ -6914,7 +6908,7 @@ const Ip = {
|
|
|
6914
6908
|
function Z(W) {
|
|
6915
6909
|
l("search", W.target.value);
|
|
6916
6910
|
}
|
|
6917
|
-
return (W, ke) => a(r) ? (s(), g("div",
|
|
6911
|
+
return (W, ke) => a(r) ? (s(), g("div", xp, [
|
|
6918
6912
|
e.label ? (s(), D(a(we), {
|
|
6919
6913
|
key: 0,
|
|
6920
6914
|
variant: "block",
|
|
@@ -6931,7 +6925,7 @@ const Ip = {
|
|
|
6931
6925
|
class: Q(["vc-multivalue", [
|
|
6932
6926
|
`vc-multivalue--${e.type}`,
|
|
6933
6927
|
{
|
|
6934
|
-
"vc-multivalue--opened": a(
|
|
6928
|
+
"vc-multivalue--opened": a(I),
|
|
6935
6929
|
"vc-multivalue--error": a(u),
|
|
6936
6930
|
"vc-multivalue--disabled": a(v),
|
|
6937
6931
|
"vc-multivalue--focused": a(U),
|
|
@@ -6947,7 +6941,7 @@ const Ip = {
|
|
|
6947
6941
|
multilanguage: e.multilanguage,
|
|
6948
6942
|
"current-language": e.currentLanguage,
|
|
6949
6943
|
error: a(u)
|
|
6950
|
-
},
|
|
6944
|
+
}, xe({
|
|
6951
6945
|
default: M(() => [
|
|
6952
6946
|
w("span", null, F(e.label), 1)
|
|
6953
6947
|
]),
|
|
@@ -6976,14 +6970,14 @@ const Ip = {
|
|
|
6976
6970
|
"option-value": e.optionValue,
|
|
6977
6971
|
"input-value": a(O),
|
|
6978
6972
|
"format-value": a($),
|
|
6979
|
-
"is-opened": a(
|
|
6973
|
+
"is-opened": a(I),
|
|
6980
6974
|
"label-id": e.label ? a(i) : void 0,
|
|
6981
6975
|
"listbox-id": m.value,
|
|
6982
6976
|
"aria-described-by": a(p),
|
|
6983
6977
|
"aria-required": a(b),
|
|
6984
6978
|
onRemove: a(A),
|
|
6985
6979
|
onToggleDropdown: a(j),
|
|
6986
|
-
onInputSubmit: a(
|
|
6980
|
+
onInputSubmit: a(x),
|
|
6987
6981
|
onInputChange: ke[0] || (ke[0] = (H) => O.value = H),
|
|
6988
6982
|
onKeyDown: a(P),
|
|
6989
6983
|
onFocus: ke[1] || (ke[1] = (H) => U.value = !0),
|
|
@@ -6992,7 +6986,7 @@ const Ip = {
|
|
|
6992
6986
|
onOpenColorPicker: a(E),
|
|
6993
6987
|
onSetColorPickerRef: a(R),
|
|
6994
6988
|
onColorChange: a(_)
|
|
6995
|
-
},
|
|
6989
|
+
}, xe({ _: 2 }, [
|
|
6996
6990
|
W.$slots["selected-item"] ? {
|
|
6997
6991
|
name: "selected-item",
|
|
6998
6992
|
fn: M((H) => [
|
|
@@ -7019,7 +7013,7 @@ const Ip = {
|
|
|
7019
7013
|
key: 1,
|
|
7020
7014
|
ref_key: "dropdownComponentRef",
|
|
7021
7015
|
ref: f,
|
|
7022
|
-
"is-opened": a(
|
|
7016
|
+
"is-opened": a(I),
|
|
7023
7017
|
"dropdown-style": a(me),
|
|
7024
7018
|
"available-options": a(k),
|
|
7025
7019
|
"option-label": e.optionLabel
|
|
@@ -7029,7 +7023,7 @@ const Ip = {
|
|
|
7029
7023
|
onSelect: ae,
|
|
7030
7024
|
onSearch: Z,
|
|
7031
7025
|
onClickOutside: a(G)
|
|
7032
|
-
}),
|
|
7026
|
+
}), xe({ _: 2 }, [
|
|
7033
7027
|
W.$slots.option ? {
|
|
7034
7028
|
name: "option",
|
|
7035
7029
|
fn: M((H) => [
|
|
@@ -7191,7 +7185,7 @@ const Ip = {
|
|
|
7191
7185
|
return r.value;
|
|
7192
7186
|
}), d = y(() => n.label ? l.value : n.ariaLabelledby);
|
|
7193
7187
|
return Be($s, {
|
|
7194
|
-
name:
|
|
7188
|
+
name: Ie(n, "name"),
|
|
7195
7189
|
disabled: y(() => !!n.disabled),
|
|
7196
7190
|
invalid: i,
|
|
7197
7191
|
describedBy: c
|
|
@@ -7219,7 +7213,7 @@ const Ip = {
|
|
|
7219
7213
|
T(a(rt), {
|
|
7220
7214
|
required: e.required,
|
|
7221
7215
|
error: i.value
|
|
7222
|
-
},
|
|
7216
|
+
}, xe({
|
|
7223
7217
|
default: M(() => [
|
|
7224
7218
|
w("span", null, F(e.label), 1)
|
|
7225
7219
|
]),
|
|
@@ -7439,7 +7433,7 @@ const Ip = {
|
|
|
7439
7433
|
class: "vc-checkbox__label",
|
|
7440
7434
|
required: e.required,
|
|
7441
7435
|
error: a(i)
|
|
7442
|
-
},
|
|
7436
|
+
}, xe({
|
|
7443
7437
|
default: M(() => [
|
|
7444
7438
|
w("span", null, F(e.label), 1)
|
|
7445
7439
|
]),
|
|
@@ -7667,7 +7661,7 @@ const Ip = {
|
|
|
7667
7661
|
class: "vc-switch__label",
|
|
7668
7662
|
required: e.required,
|
|
7669
7663
|
error: a(c)
|
|
7670
|
-
},
|
|
7664
|
+
}, xe({
|
|
7671
7665
|
default: M(() => [
|
|
7672
7666
|
w("span", null, F(e.label), 1)
|
|
7673
7667
|
]),
|
|
@@ -7977,7 +7971,7 @@ const Ip = {
|
|
|
7977
7971
|
return (i, c) => (s(), g("div", Eg, [
|
|
7978
7972
|
T(a(st), {
|
|
7979
7973
|
placement: l.value ? "bottom" : "right"
|
|
7980
|
-
},
|
|
7974
|
+
}, xe({
|
|
7981
7975
|
default: M(() => [
|
|
7982
7976
|
w("button", {
|
|
7983
7977
|
type: "button",
|
|
@@ -8035,7 +8029,7 @@ const Ip = {
|
|
|
8035
8029
|
}), Og = ["aria-expanded"], Mg = {
|
|
8036
8030
|
key: 0,
|
|
8037
8031
|
class: "vc-menu-group__section-icon"
|
|
8038
|
-
}, Lg = { class: "vc-menu-group__section-title" },
|
|
8032
|
+
}, Lg = { class: "vc-menu-group__section-title" }, Ig = { class: "vc-menu-group__children" }, xg = /* @__PURE__ */ Y({
|
|
8039
8033
|
name: "VcMenuGroup",
|
|
8040
8034
|
__name: "vc-menu-group",
|
|
8041
8035
|
props: {
|
|
@@ -8107,13 +8101,13 @@ const Ip = {
|
|
|
8107
8101
|
"vc-menu-group__children-wrapper--collapsed": !r.value
|
|
8108
8102
|
}])
|
|
8109
8103
|
}, [
|
|
8110
|
-
w("div",
|
|
8104
|
+
w("div", Ig, [
|
|
8111
8105
|
z(u.$slots, "default")
|
|
8112
8106
|
])
|
|
8113
8107
|
], 2)
|
|
8114
8108
|
], 2));
|
|
8115
8109
|
}
|
|
8116
|
-
}), Ng = kg, Ka = hi, Bg =
|
|
8110
|
+
}), Ng = kg, Ka = hi, Bg = xg;
|
|
8117
8111
|
function Dg(e) {
|
|
8118
8112
|
const n = B(!1), t = B(!1);
|
|
8119
8113
|
function l() {
|
|
@@ -8147,7 +8141,7 @@ const Pg = {
|
|
|
8147
8141
|
},
|
|
8148
8142
|
emits: ["preview", "edit", "remove"],
|
|
8149
8143
|
setup(e) {
|
|
8150
|
-
const n = e, { t } = Pe({ useScope: "global" }), { isMobile: l } = De(), r = y(() => sa(n.src, n.thumbnailSize) ?? n.src), o = B(!1), i = y(() => o.value ? n.src : r.value), c = Dg(
|
|
8144
|
+
const n = e, { t } = Pe({ useScope: "global" }), { isMobile: l } = De(), r = y(() => sa(n.src, n.thumbnailSize) ?? n.src), o = B(!1), i = y(() => o.value ? n.src : r.value), c = Dg(Ie(() => i.value)), d = B(!1);
|
|
8151
8145
|
oe(
|
|
8152
8146
|
() => [n.src, n.thumbnailSize],
|
|
8153
8147
|
() => {
|
|
@@ -8477,28 +8471,28 @@ const mb = 3, Wn = /* @__PURE__ */ Y({
|
|
|
8477
8471
|
},
|
|
8478
8472
|
emits: ["item:click"],
|
|
8479
8473
|
setup(e, { emit: n }) {
|
|
8480
|
-
const t = e, l = n, r = Ht(), { t: o } = Pe(), { menuItems: i, menuBadges: c } = Mo(), { hasAccess: d } = ul(), u = Ce(cs, B(!0)), v = [92, 70, 104], b = (O) => v[(O - 1) % v.length], p = y(() => !u.value && !t.searchQuery?.trim()), m = (O) => d(O.permissions), h = (O) => (O.children ?? []).filter((
|
|
8474
|
+
const t = e, l = n, r = Ht(), { t: o } = Pe(), { menuItems: i, menuBadges: c } = Mo(), { hasAccess: d } = ul(), u = Ce(cs, B(!0)), v = [92, 70, 104], b = (O) => v[(O - 1) % v.length], p = y(() => !u.value && !t.searchQuery?.trim()), m = (O) => d(O.permissions), h = (O) => (O.children ?? []).filter((x) => m(x)), f = y(() => i.value.filter((O) => m(O) ? O.children?.length ? h(O).length > 0 : !0 : !1)), C = y(() => {
|
|
8481
8475
|
const O = t.searchQuery?.toLowerCase().trim();
|
|
8482
|
-
return O ? f.value.map((
|
|
8483
|
-
const P = h(
|
|
8476
|
+
return O ? f.value.map((x) => {
|
|
8477
|
+
const P = h(x);
|
|
8484
8478
|
if (!P.length)
|
|
8485
|
-
return o(
|
|
8486
|
-
if (o(
|
|
8479
|
+
return o(x.title).toLowerCase().includes(O) ? x : null;
|
|
8480
|
+
if (o(x.title).toLowerCase().includes(O)) return x;
|
|
8487
8481
|
const R = P.filter((E) => o(E.title).toLowerCase().includes(O));
|
|
8488
|
-
return R.length ? { ...
|
|
8482
|
+
return R.length ? { ...x, children: R } : null;
|
|
8489
8483
|
}).filter(Boolean) : f.value;
|
|
8490
8484
|
}), S = (O) => O.groupId ?? String(O.id ?? O.routeId ?? O.title), $ = (O) => {
|
|
8491
8485
|
l("item:click", O);
|
|
8492
8486
|
}, A = (O) => {
|
|
8493
8487
|
if (!O) return !1;
|
|
8494
|
-
const
|
|
8495
|
-
return
|
|
8488
|
+
const x = Ci(r);
|
|
8489
|
+
return x === O || x.startsWith(O + "/");
|
|
8496
8490
|
};
|
|
8497
8491
|
function N(O) {
|
|
8498
|
-
let
|
|
8499
|
-
typeof O == "object" && !ht(O) && "content" in O ?
|
|
8492
|
+
let x;
|
|
8493
|
+
typeof O == "object" && !ht(O) && "content" in O ? x = O : x = { content: O };
|
|
8500
8494
|
let P;
|
|
8501
|
-
typeof
|
|
8495
|
+
typeof x.content == "function" ? P = x.content() : ht(x.content) ? P = a(x.content) : P = x.content;
|
|
8502
8496
|
let R = P;
|
|
8503
8497
|
if (typeof P == "number" && P > 99)
|
|
8504
8498
|
R = "99+";
|
|
@@ -8506,16 +8500,16 @@ const mb = 3, Wn = /* @__PURE__ */ Y({
|
|
|
8506
8500
|
const k = parseInt(P, 10);
|
|
8507
8501
|
!isNaN(k) && k > 99 && (R = "99+");
|
|
8508
8502
|
}
|
|
8509
|
-
const E =
|
|
8503
|
+
const E = x.isDot ?? !1;
|
|
8510
8504
|
if (E || R != null && R !== "" && R !== 0)
|
|
8511
8505
|
return {
|
|
8512
8506
|
content: R,
|
|
8513
|
-
variant:
|
|
8507
|
+
variant: x.variant ?? "primary",
|
|
8514
8508
|
isDot: E
|
|
8515
8509
|
};
|
|
8516
8510
|
}
|
|
8517
8511
|
const V = y(() => {
|
|
8518
|
-
const O = /* @__PURE__ */ new Map(),
|
|
8512
|
+
const O = /* @__PURE__ */ new Map(), x = (P) => {
|
|
8519
8513
|
const R = P.routeId ?? P.groupId;
|
|
8520
8514
|
if (!R) return;
|
|
8521
8515
|
let E = P.badge;
|
|
@@ -8524,12 +8518,12 @@ const mb = 3, Wn = /* @__PURE__ */ Y({
|
|
|
8524
8518
|
_ && O.set(R, _);
|
|
8525
8519
|
};
|
|
8526
8520
|
for (const P of i.value)
|
|
8527
|
-
if (
|
|
8521
|
+
if (x(P), P.children)
|
|
8528
8522
|
for (const R of P.children)
|
|
8529
|
-
|
|
8523
|
+
x(R);
|
|
8530
8524
|
return O;
|
|
8531
8525
|
});
|
|
8532
|
-
return (O,
|
|
8526
|
+
return (O, x) => C.value.length || p.value ? (s(), D(a(Ng), {
|
|
8533
8527
|
key: 0,
|
|
8534
8528
|
expanded: e.expanded,
|
|
8535
8529
|
class: Q(["vc-app-menu", { "vc-app-menu--collapsed": !e.expanded }])
|
|
@@ -8886,7 +8880,7 @@ function tn() {
|
|
|
8886
8880
|
function Lb(e) {
|
|
8887
8881
|
const { hasAccess: n } = ul(), t = B(""), l = y(() => (t.value ?? "").trim().toLowerCase()), r = y(() => l.value.length > 0), o = y(() => e.appsList.value.filter((u) => n(u.permission))), i = y(() => e.showApplications.value ? r.value ? o.value.filter((u) => [u.title, u.description, u.id, u.relativeUrl].filter(Boolean).join(" ").toLowerCase().includes(l.value)) : o.value : []), c = y(() => r.value ? e.widgets.value.filter((u) => [d(u), u.id, ...u.searchTerms ?? []].join(" ").toLowerCase().includes(l.value)) : e.widgets.value);
|
|
8888
8882
|
function d(u) {
|
|
8889
|
-
return u.title ||
|
|
8883
|
+
return u.title || Ib(u.id);
|
|
8890
8884
|
}
|
|
8891
8885
|
return {
|
|
8892
8886
|
searchQuery: t,
|
|
@@ -8895,7 +8889,7 @@ function Lb(e) {
|
|
|
8895
8889
|
getWidgetTitle: d
|
|
8896
8890
|
};
|
|
8897
8891
|
}
|
|
8898
|
-
function
|
|
8892
|
+
function Ib(e) {
|
|
8899
8893
|
return e ? e.replace(/[\-_]+/g, " ").replace(/\s+/g, " ").trim().replace(/\b\w/g, (n) => n.toUpperCase()) : "";
|
|
8900
8894
|
}
|
|
8901
8895
|
const Ya = /* @__PURE__ */ Y({
|
|
@@ -8915,7 +8909,7 @@ const Ya = /* @__PURE__ */ Y({
|
|
|
8915
8909
|
(s(), D(qe(a(n)?.component), Le(r.value, { onClose: a(t) }), null, 16, ["onClose"]))
|
|
8916
8910
|
], 2)) : L("", !0);
|
|
8917
8911
|
}
|
|
8918
|
-
}),
|
|
8912
|
+
}), xb = { class: "app-hub-content__search" }, Nb = {
|
|
8919
8913
|
key: 0,
|
|
8920
8914
|
class: "app-hub-content__section app-hub-content__section--apps"
|
|
8921
8915
|
}, Bb = { class: "app-hub-content__section-header" }, Db = { class: "app-hub-content__section-title" }, Pb = {
|
|
@@ -8946,10 +8940,10 @@ const Ya = /* @__PURE__ */ Y({
|
|
|
8946
8940
|
emits: ["switch-app"],
|
|
8947
8941
|
setup(e, { emit: n }) {
|
|
8948
8942
|
const t = e, l = n, r = yt(), o = y(() => typeof r.applications == "function"), i = B(null), c = B(null), { items: d } = Zl(), { currentWidget: u, hideAllWidgets: v, isAnyWidgetVisible: b, toggleWidget: p } = tn(), { searchQuery: m, filteredApps: h, filteredWidgets: f, getWidgetTitle: C } = Lb({
|
|
8949
|
-
appsList:
|
|
8943
|
+
appsList: Ie(t, "appsList"),
|
|
8950
8944
|
widgets: d,
|
|
8951
|
-
showApplications:
|
|
8952
|
-
mobile:
|
|
8945
|
+
showApplications: Ie(t, "showApplications"),
|
|
8946
|
+
mobile: Ie(t, "mobile")
|
|
8953
8947
|
}), S = B(Sl), $ = B(Sl), A = y(() => !o.value && h.value.length > ja), N = y(() => f.value.length > ja), V = y(() => A.value ? h.value.slice(0, S.value) : h.value), O = y(() => N.value ? f.value.slice(0, $.value) : f.value);
|
|
8954
8948
|
oe(
|
|
8955
8949
|
() => d.value.map((G) => G.id),
|
|
@@ -8977,13 +8971,13 @@ const Ya = /* @__PURE__ */ Y({
|
|
|
8977
8971
|
), oe(
|
|
8978
8972
|
() => K(c.value),
|
|
8979
8973
|
(G, ae) => {
|
|
8980
|
-
ae?.removeEventListener("scroll",
|
|
8974
|
+
ae?.removeEventListener("scroll", I), G?.addEventListener("scroll", I, { passive: !0 });
|
|
8981
8975
|
},
|
|
8982
8976
|
{ immediate: !0 }
|
|
8983
8977
|
), We(() => {
|
|
8984
|
-
K(i.value)?.removeEventListener("scroll", k), K(c.value)?.removeEventListener("scroll",
|
|
8978
|
+
K(i.value)?.removeEventListener("scroll", k), K(c.value)?.removeEventListener("scroll", I);
|
|
8985
8979
|
});
|
|
8986
|
-
function
|
|
8980
|
+
function x(G) {
|
|
8987
8981
|
return !G || G.startsWith("/") || G.startsWith("http://") || G.startsWith("https://") || G.startsWith("data:") ? G : `/${G}`;
|
|
8988
8982
|
}
|
|
8989
8983
|
function P(G) {
|
|
@@ -9008,7 +9002,7 @@ const Ya = /* @__PURE__ */ Y({
|
|
|
9008
9002
|
renderLimit: S
|
|
9009
9003
|
});
|
|
9010
9004
|
}
|
|
9011
|
-
function
|
|
9005
|
+
function I() {
|
|
9012
9006
|
N.value && q({
|
|
9013
9007
|
container: c.value,
|
|
9014
9008
|
totalItems: f.value.length,
|
|
@@ -9039,7 +9033,7 @@ const Ya = /* @__PURE__ */ Y({
|
|
|
9039
9033
|
return (G, ae) => (s(), g("div", {
|
|
9040
9034
|
class: Q(["app-hub-content", { "app-hub-content--mobile": e.mobile }])
|
|
9041
9035
|
}, [
|
|
9042
|
-
w("div",
|
|
9036
|
+
w("div", xb, [
|
|
9043
9037
|
T(a(Fe), {
|
|
9044
9038
|
modelValue: a(m),
|
|
9045
9039
|
"onUpdate:modelValue": ae[0] || (ae[0] = (Z) => ht(m) ? m.value = Z : null),
|
|
@@ -9083,7 +9077,7 @@ const Ya = /* @__PURE__ */ Y({
|
|
|
9083
9077
|
}, [
|
|
9084
9078
|
Z.iconUrl ? (s(), g("img", {
|
|
9085
9079
|
key: 0,
|
|
9086
|
-
src:
|
|
9080
|
+
src: x(Z.iconUrl),
|
|
9087
9081
|
alt: Z.title || Z.id || "app icon",
|
|
9088
9082
|
class: "app-hub-content__item-icon app-hub-content__item-icon--tile"
|
|
9089
9083
|
}, null, 8, Fb)) : (s(), D(a(le), {
|
|
@@ -9222,7 +9216,7 @@ const Ya = /* @__PURE__ */ Y({
|
|
|
9222
9216
|
"apps-list": e.appsList,
|
|
9223
9217
|
"show-applications": e.showApplications,
|
|
9224
9218
|
onSwitchApp: i
|
|
9225
|
-
},
|
|
9219
|
+
}, xe({ _: 2 }, [
|
|
9226
9220
|
c.$slots.applications ? {
|
|
9227
9221
|
name: "applications",
|
|
9228
9222
|
fn: M((u) => [
|
|
@@ -9462,7 +9456,7 @@ const Ya = /* @__PURE__ */ Y({
|
|
|
9462
9456
|
"show-search": e.showSearch,
|
|
9463
9457
|
"search-placeholder": e.searchPlaceholder,
|
|
9464
9458
|
"onItem:click": f[1] || (f[1] = (C) => h.$emit("item:click", C))
|
|
9465
|
-
},
|
|
9459
|
+
}, xe({ _: 2 }, [
|
|
9466
9460
|
h.$slots.menu ? {
|
|
9467
9461
|
name: "menu",
|
|
9468
9462
|
fn: M((C) => [
|
|
@@ -9487,7 +9481,7 @@ const Ya = /* @__PURE__ */ Y({
|
|
|
9487
9481
|
"show-applications": !e.disableAppHub,
|
|
9488
9482
|
"onUpdate:show": p,
|
|
9489
9483
|
onSwitchApp: m
|
|
9490
|
-
},
|
|
9484
|
+
}, xe({ _: 2 }, [
|
|
9491
9485
|
h.$slots["app-hub"] && !e.disableAppHub ? {
|
|
9492
9486
|
name: "applications",
|
|
9493
9487
|
fn: M(({ appsList: C, switchApp: S }) => [
|
|
@@ -9642,7 +9636,7 @@ const Rh = {
|
|
|
9642
9636
|
}, Lh = {
|
|
9643
9637
|
key: 0,
|
|
9644
9638
|
class: "menu-sidebar__content-main"
|
|
9645
|
-
},
|
|
9639
|
+
}, Ih = { class: "menu-sidebar__navmenu-container" }, xh = { class: "menu-sidebar__user" }, Nh = {
|
|
9646
9640
|
key: 2,
|
|
9647
9641
|
class: "menu-sidebar__app-hub-wrapper"
|
|
9648
9642
|
}, Bh = /* @__PURE__ */ Y({
|
|
@@ -9697,10 +9691,10 @@ const Rh = {
|
|
|
9697
9691
|
z(b.$slots, "widgets-active-content")
|
|
9698
9692
|
])) : L("", !0),
|
|
9699
9693
|
a(o) ? (s(), g(J, { key: 1 }, [
|
|
9700
|
-
w("div",
|
|
9694
|
+
w("div", Ih, [
|
|
9701
9695
|
z(b.$slots, "navmenu")
|
|
9702
9696
|
]),
|
|
9703
|
-
w("div",
|
|
9697
|
+
w("div", xh, [
|
|
9704
9698
|
z(b.$slots, "user-dropdown")
|
|
9705
9699
|
])
|
|
9706
9700
|
], 64)) : (s(), g("div", Nh, [
|
|
@@ -9772,7 +9766,7 @@ const Rh = {
|
|
|
9772
9766
|
transform: `translateX(${j}%)`,
|
|
9773
9767
|
transition: Za
|
|
9774
9768
|
};
|
|
9775
|
-
}),
|
|
9769
|
+
}), x = y(() => {
|
|
9776
9770
|
const j = C.value?.clientWidth ?? 0, G = h.value && j > 0 ? -f.value / j : 0;
|
|
9777
9771
|
return {
|
|
9778
9772
|
transform: `translateX(${Math.max(0, Math.min(1, m.value + G)) * 100}%)`,
|
|
@@ -9808,7 +9802,7 @@ const Rh = {
|
|
|
9808
9802
|
const G = j.touches[0];
|
|
9809
9803
|
$ = G.clientX, A = G.clientY, N = G.clientX, V = Date.now(), f.value = 0, h.value = !1, S.value = "pending";
|
|
9810
9804
|
}
|
|
9811
|
-
function
|
|
9805
|
+
function I(j) {
|
|
9812
9806
|
if (!p.value || j.touches.length === 0 || S.value === "idle")
|
|
9813
9807
|
return;
|
|
9814
9808
|
const G = j.touches[0], ae = G.clientX - $, Z = G.clientY - A, W = Math.abs(ae), ke = Math.abs(Z);
|
|
@@ -9935,7 +9929,7 @@ const Rh = {
|
|
|
9935
9929
|
], 10, Uh),
|
|
9936
9930
|
w("span", {
|
|
9937
9931
|
class: "mobile-layout__tab-indicator",
|
|
9938
|
-
style: he(
|
|
9932
|
+
style: he(x.value)
|
|
9939
9933
|
}, null, 4)
|
|
9940
9934
|
]),
|
|
9941
9935
|
w("div", {
|
|
@@ -9943,7 +9937,7 @@ const Rh = {
|
|
|
9943
9937
|
ref: C,
|
|
9944
9938
|
class: "mobile-layout__slider-viewport",
|
|
9945
9939
|
onTouchstartPassive: k,
|
|
9946
|
-
onTouchmove:
|
|
9940
|
+
onTouchmove: I,
|
|
9947
9941
|
onTouchendPassive: U,
|
|
9948
9942
|
onTouchcancelPassive: U
|
|
9949
9943
|
}, [
|
|
@@ -9985,7 +9979,7 @@ const Rh = {
|
|
|
9985
9979
|
"show-applications": !t.disableAppHub,
|
|
9986
9980
|
mobile: "",
|
|
9987
9981
|
onSwitchApp: me
|
|
9988
|
-
},
|
|
9982
|
+
}, xe({ _: 2 }, [
|
|
9989
9983
|
j.$slots["app-hub"] && !t.disableAppHub ? {
|
|
9990
9984
|
name: "applications",
|
|
9991
9985
|
fn: M(({ appsList: ae, switchApp: Z }) => [
|
|
@@ -10006,7 +10000,7 @@ const Rh = {
|
|
|
10006
10000
|
"show-applications": !t.disableAppHub,
|
|
10007
10001
|
mobile: "",
|
|
10008
10002
|
onSwitchApp: me
|
|
10009
|
-
},
|
|
10003
|
+
}, xe({ _: 2 }, [
|
|
10010
10004
|
j.$slots["app-hub"] && !t.disableAppHub ? {
|
|
10011
10005
|
name: "applications",
|
|
10012
10006
|
fn: M(({ appsList: ae, switchApp: Z }) => [
|
|
@@ -10561,14 +10555,14 @@ const Sy = { class: "vc-app__main-content" }, G$ = /* @__PURE__ */ Y({
|
|
|
10561
10555
|
Be(To, b);
|
|
10562
10556
|
const p = _f();
|
|
10563
10557
|
Os();
|
|
10564
|
-
const { isAppReady: m, isAuthenticated: h, appsList: f, switchApp: C } = Ey(n), { handleMenuItemClick: S, openRoot: $ } = Cy(), A = Ce(fs), N = Ce(Ro, void 0), V = Ce("aiAgentConfig", void 0), O = Ce("aiAgentAddGlobalToolbarButton", !0),
|
|
10558
|
+
const { isAppReady: m, isAuthenticated: h, appsList: f, switchApp: C } = Ey(n), { handleMenuItemClick: S, openRoot: $ } = Cy(), A = Ce(fs), N = Ce(Ro, void 0), V = Ce("aiAgentConfig", void 0), O = Ce("aiAgentAddGlobalToolbarButton", !0), x = Ce(ms, B(!1));
|
|
10565
10559
|
hy({
|
|
10566
10560
|
isEmbedded: u,
|
|
10567
10561
|
internalRoutes: A,
|
|
10568
10562
|
dynamicModules: N,
|
|
10569
10563
|
aiAgentConfig: V,
|
|
10570
10564
|
aiAgentAddGlobalToolbarButton: O
|
|
10571
|
-
}), oe(
|
|
10565
|
+
}), oe(x, (_) => {
|
|
10572
10566
|
_ && Rt.error(
|
|
10573
10567
|
"Unable to load application modules. Please check your connection and try refreshing the page.",
|
|
10574
10568
|
{ timeout: 1e4 }
|
|
@@ -10612,12 +10606,12 @@ const Sy = { class: "vc-app__main-content" }, G$ = /* @__PURE__ */ Y({
|
|
|
10612
10606
|
"onLogo:click": a($),
|
|
10613
10607
|
"onItem:click": a(S),
|
|
10614
10608
|
onSwitchApp: a(C)
|
|
10615
|
-
},
|
|
10609
|
+
}, xe({ _: 2 }, [
|
|
10616
10610
|
_.$slots["app-hub"] && !e.disableAppHub ? {
|
|
10617
10611
|
name: "app-hub",
|
|
10618
|
-
fn: M(({ appsList:
|
|
10612
|
+
fn: M(({ appsList: I, switchApp: U }) => [
|
|
10619
10613
|
z(_.$slots, "app-hub", {
|
|
10620
|
-
appsList:
|
|
10614
|
+
appsList: I,
|
|
10621
10615
|
switchApp: U
|
|
10622
10616
|
})
|
|
10623
10617
|
]),
|
|
@@ -10625,22 +10619,22 @@ const Sy = { class: "vc-app__main-content" }, G$ = /* @__PURE__ */ Y({
|
|
|
10625
10619
|
} : void 0,
|
|
10626
10620
|
_.$slots.menu ? {
|
|
10627
10621
|
name: "menu",
|
|
10628
|
-
fn: M((
|
|
10629
|
-
z(_.$slots, "menu", pt(gt(
|
|
10622
|
+
fn: M((I) => [
|
|
10623
|
+
z(_.$slots, "menu", pt(gt(I)))
|
|
10630
10624
|
]),
|
|
10631
10625
|
key: "1"
|
|
10632
10626
|
} : void 0,
|
|
10633
10627
|
_.$slots["sidebar-header"] ? {
|
|
10634
10628
|
name: "sidebar-header",
|
|
10635
|
-
fn: M((
|
|
10636
|
-
z(_.$slots, "sidebar-header", pt(gt(
|
|
10629
|
+
fn: M((I) => [
|
|
10630
|
+
z(_.$slots, "sidebar-header", pt(gt(I)))
|
|
10637
10631
|
]),
|
|
10638
10632
|
key: "2"
|
|
10639
10633
|
} : void 0,
|
|
10640
10634
|
_.$slots["sidebar-footer"] ? {
|
|
10641
10635
|
name: "sidebar-footer",
|
|
10642
|
-
fn: M((
|
|
10643
|
-
z(_.$slots, "sidebar-footer", pt(gt(
|
|
10636
|
+
fn: M((I) => [
|
|
10637
|
+
z(_.$slots, "sidebar-footer", pt(gt(I)))
|
|
10644
10638
|
]),
|
|
10645
10639
|
key: "3"
|
|
10646
10640
|
} : void 0
|
|
@@ -10751,7 +10745,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
10751
10745
|
offset: { crossAxis: 0, mainAxis: -10 },
|
|
10752
10746
|
delay: 1e3,
|
|
10753
10747
|
class: "tw-w-full"
|
|
10754
|
-
},
|
|
10748
|
+
}, xe({
|
|
10755
10749
|
default: M(() => [
|
|
10756
10750
|
w("button", {
|
|
10757
10751
|
class: "app-bar-button__button",
|
|
@@ -10849,7 +10843,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
10849
10843
|
]))), 128))
|
|
10850
10844
|
]));
|
|
10851
10845
|
}
|
|
10852
|
-
}),
|
|
10846
|
+
}), Iy = { class: "vc-auth-layout__logo-wrapper" }, xy = ["src", "alt"], Ny = { class: "vc-auth-layout__card" }, By = {
|
|
10853
10847
|
key: 0,
|
|
10854
10848
|
class: "vc-auth-layout__header"
|
|
10855
10849
|
}, Dy = {
|
|
@@ -10900,14 +10894,14 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
10900
10894
|
class: "vc-auth-layout",
|
|
10901
10895
|
style: he(i.value)
|
|
10902
10896
|
}, [
|
|
10903
|
-
w("div",
|
|
10897
|
+
w("div", Iy, [
|
|
10904
10898
|
e.logo ? (s(), g("img", {
|
|
10905
10899
|
key: 0,
|
|
10906
10900
|
src: e.logo,
|
|
10907
10901
|
alt: e.logoAlt,
|
|
10908
10902
|
class: Q(["vc-auth-layout__logo", { "vc-auth-layout__logo--loaded": r.value }]),
|
|
10909
10903
|
onLoad: d[0] || (d[0] = (u) => r.value = !0)
|
|
10910
|
-
}, null, 42,
|
|
10904
|
+
}, null, 42, xy)) : L("", !0)
|
|
10911
10905
|
]),
|
|
10912
10906
|
w("div", Ny, [
|
|
10913
10907
|
e.title || e.subtitle ? (s(), g("div", By, [
|
|
@@ -10951,7 +10945,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
10951
10945
|
oe(
|
|
10952
10946
|
() => t.property,
|
|
10953
10947
|
(O) => {
|
|
10954
|
-
u.value =
|
|
10948
|
+
u.value = Ia(O);
|
|
10955
10949
|
},
|
|
10956
10950
|
{
|
|
10957
10951
|
deep: !0,
|
|
@@ -10960,7 +10954,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
10960
10954
|
), oe(
|
|
10961
10955
|
() => t.modelValue,
|
|
10962
10956
|
(O) => {
|
|
10963
|
-
v.value =
|
|
10957
|
+
v.value = Ia(O);
|
|
10964
10958
|
},
|
|
10965
10959
|
{
|
|
10966
10960
|
deep: !0,
|
|
@@ -10968,12 +10962,12 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
10968
10962
|
}
|
|
10969
10963
|
);
|
|
10970
10964
|
const h = y(() => {
|
|
10971
|
-
const O = b.value.find((R) => R.id === m.value),
|
|
10972
|
-
return P ||
|
|
10965
|
+
const O = b.value.find((R) => R.id === m.value), x = O?.displaySymbol, P = O?.localizedSymbol.values[t.currentLanguage];
|
|
10966
|
+
return P || x;
|
|
10973
10967
|
}), f = y(() => {
|
|
10974
10968
|
const O = {};
|
|
10975
10969
|
t.required && (O.required = !0), t.rules?.min && (O.min = Number(t.rules.min)), t.rules?.max && (O.max = Number(t.rules.max)), t.rules?.regex && (O.regex = new RegExp(t.rules.regex));
|
|
10976
|
-
const
|
|
10970
|
+
const x = t.displayNames?.find((E) => E.languageCode?.startsWith(t.currentLanguage))?.name || t.name, P = x && r(x.toUpperCase()) ? o(x.toUpperCase()) : x, R = t.multilanguage ? "value" : "alias";
|
|
10977
10971
|
return {
|
|
10978
10972
|
rules: O,
|
|
10979
10973
|
valueType: t.valueType,
|
|
@@ -11000,19 +10994,19 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11000
10994
|
});
|
|
11001
10995
|
return;
|
|
11002
10996
|
}
|
|
11003
|
-
let
|
|
10997
|
+
let x;
|
|
11004
10998
|
if (f.value.valueType === "Color" && !f.value.dictionary && typeof O == "string")
|
|
11005
10999
|
if (O.startsWith("#"))
|
|
11006
|
-
|
|
11000
|
+
x = O;
|
|
11007
11001
|
else {
|
|
11008
11002
|
const P = Oo(O);
|
|
11009
|
-
P && (
|
|
11003
|
+
P && (x = P);
|
|
11010
11004
|
}
|
|
11011
11005
|
l("update:model-value", {
|
|
11012
11006
|
value: O,
|
|
11013
11007
|
dictionary: i.value,
|
|
11014
11008
|
locale: t.currentLanguage,
|
|
11015
|
-
colorCode:
|
|
11009
|
+
colorCode: x
|
|
11016
11010
|
});
|
|
11017
11011
|
}
|
|
11018
11012
|
});
|
|
@@ -11031,8 +11025,8 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11031
11025
|
if (t.optionsGetter && u.value.dictionary && u.value.id)
|
|
11032
11026
|
try {
|
|
11033
11027
|
c.value = !0;
|
|
11034
|
-
const
|
|
11035
|
-
|
|
11028
|
+
const x = await t.optionsGetter(u.value.id, O, t.currentLanguage);
|
|
11029
|
+
x && (i.value = x);
|
|
11036
11030
|
} finally {
|
|
11037
11031
|
c.value = !1;
|
|
11038
11032
|
}
|
|
@@ -11047,9 +11041,9 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11047
11041
|
);
|
|
11048
11042
|
if (O) {
|
|
11049
11043
|
b.value = O;
|
|
11050
|
-
const
|
|
11051
|
-
if (
|
|
11052
|
-
m.value =
|
|
11044
|
+
const x = u.value.values?.[0];
|
|
11045
|
+
if (x?.unitOfMeasureId)
|
|
11046
|
+
m.value = x.unitOfMeasureId;
|
|
11053
11047
|
else {
|
|
11054
11048
|
const P = b.value.find((R) => R.isDefault)?.id ?? b.value[0]?.id;
|
|
11055
11049
|
m.value = P;
|
|
@@ -11065,7 +11059,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11065
11059
|
async function V() {
|
|
11066
11060
|
d.value.length && (i.value = d.value);
|
|
11067
11061
|
}
|
|
11068
|
-
return (O,
|
|
11062
|
+
return (O, x) => (s(), D(a(al), {
|
|
11069
11063
|
key: f.value.key,
|
|
11070
11064
|
label: f.value.displayName,
|
|
11071
11065
|
name: f.value.name,
|
|
@@ -11075,7 +11069,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11075
11069
|
default: M(({ errorMessage: P, errors: R }) => [
|
|
11076
11070
|
f.value.valueType !== "Color" && f.value.dictionary && !f.value.multivalue ? (s(), D(a(_t), Le({ key: 0 }, O.$attrs, {
|
|
11077
11071
|
modelValue: C.value,
|
|
11078
|
-
"onUpdate:modelValue":
|
|
11072
|
+
"onUpdate:modelValue": x[0] || (x[0] = (E) => C.value = E),
|
|
11079
11073
|
error: !!R.length,
|
|
11080
11074
|
"error-message": P,
|
|
11081
11075
|
label: f.value.displayName,
|
|
@@ -11091,9 +11085,9 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11091
11085
|
loading: c.value,
|
|
11092
11086
|
onSearch: N,
|
|
11093
11087
|
onClose: V
|
|
11094
|
-
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "options", "option-value", "option-label", "disabled", "multilanguage", "current-language", "loading"])) : f.value.valueType === "ShortText" && f.value.multivalue && !f.value.dictionary ? (s(), D(a(
|
|
11088
|
+
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "options", "option-value", "option-label", "disabled", "multilanguage", "current-language", "loading"])) : f.value.valueType === "ShortText" && f.value.multivalue && !f.value.dictionary ? (s(), D(a(xt), Le({ key: 1 }, O.$attrs, {
|
|
11095
11089
|
modelValue: C.value,
|
|
11096
|
-
"onUpdate:modelValue":
|
|
11090
|
+
"onUpdate:modelValue": x[1] || (x[1] = (E) => C.value = E),
|
|
11097
11091
|
name: f.value.name,
|
|
11098
11092
|
error: !!R.length,
|
|
11099
11093
|
"error-message": P,
|
|
@@ -11103,9 +11097,9 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11103
11097
|
disabled: e.disabled,
|
|
11104
11098
|
multilanguage: e.multilanguage,
|
|
11105
11099
|
"current-language": e.currentLanguage
|
|
11106
|
-
}), null, 16, ["modelValue", "name", "error", "error-message", "label", "required", "placeholder", "disabled", "multilanguage", "current-language"])) : f.value.valueType === "ShortText" && f.value.multivalue && f.value.dictionary ? (s(), D(a(
|
|
11100
|
+
}), null, 16, ["modelValue", "name", "error", "error-message", "label", "required", "placeholder", "disabled", "multilanguage", "current-language"])) : f.value.valueType === "ShortText" && f.value.multivalue && f.value.dictionary ? (s(), D(a(xt), Le({ key: 2 }, O.$attrs, {
|
|
11107
11101
|
modelValue: C.value,
|
|
11108
|
-
"onUpdate:modelValue":
|
|
11102
|
+
"onUpdate:modelValue": x[2] || (x[2] = (E) => C.value = E),
|
|
11109
11103
|
error: !!R.length,
|
|
11110
11104
|
"error-message": P,
|
|
11111
11105
|
label: f.value.displayName,
|
|
@@ -11123,7 +11117,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11123
11117
|
onClose: V
|
|
11124
11118
|
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "multilanguage", "current-language", "options", "option-label", "option-value", "multivalue", "loading"])) : f.value.valueType === "ShortText" ? (s(), D(a(Fe), Le({ key: 3 }, O.$attrs, {
|
|
11125
11119
|
modelValue: C.value,
|
|
11126
|
-
"onUpdate:modelValue":
|
|
11120
|
+
"onUpdate:modelValue": x[3] || (x[3] = (E) => C.value = E),
|
|
11127
11121
|
error: !!R.length,
|
|
11128
11122
|
"error-message": P,
|
|
11129
11123
|
label: f.value.displayName,
|
|
@@ -11133,9 +11127,9 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11133
11127
|
disabled: e.disabled,
|
|
11134
11128
|
"current-language": e.currentLanguage,
|
|
11135
11129
|
loading: c.value
|
|
11136
|
-
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "current-language", "loading"])) : f.value.valueType === "Number" && f.value.multivalue ? (s(), D(a(
|
|
11130
|
+
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "current-language", "loading"])) : f.value.valueType === "Number" && f.value.multivalue ? (s(), D(a(xt), Le({ key: 4 }, O.$attrs, {
|
|
11137
11131
|
modelValue: C.value,
|
|
11138
|
-
"onUpdate:modelValue":
|
|
11132
|
+
"onUpdate:modelValue": x[4] || (x[4] = (E) => C.value = E),
|
|
11139
11133
|
label: f.value.displayName,
|
|
11140
11134
|
required: f.value.required,
|
|
11141
11135
|
placeholder: O.$t("COMPONENTS.ORGANISMS.VC_DYNAMIC_PROPERTY.ADD"),
|
|
@@ -11146,9 +11140,9 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11146
11140
|
"option-label": "value",
|
|
11147
11141
|
"option-value": "value",
|
|
11148
11142
|
options: i.value
|
|
11149
|
-
}), null, 16, ["modelValue", "label", "required", "placeholder", "disabled", "error", "error-message", "options"])) : f.value.valueType === "Integer" && f.value.multivalue ? (s(), D(a(
|
|
11143
|
+
}), null, 16, ["modelValue", "label", "required", "placeholder", "disabled", "error", "error-message", "options"])) : f.value.valueType === "Integer" && f.value.multivalue ? (s(), D(a(xt), Le({ key: 5 }, O.$attrs, {
|
|
11150
11144
|
modelValue: C.value,
|
|
11151
|
-
"onUpdate:modelValue":
|
|
11145
|
+
"onUpdate:modelValue": x[5] || (x[5] = (E) => C.value = E),
|
|
11152
11146
|
label: f.value.displayName,
|
|
11153
11147
|
required: f.value.required,
|
|
11154
11148
|
placeholder: O.$t("COMPONENTS.ORGANISMS.VC_DYNAMIC_PROPERTY.ADD"),
|
|
@@ -11161,7 +11155,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11161
11155
|
options: i.value
|
|
11162
11156
|
}), null, 16, ["modelValue", "label", "required", "placeholder", "disabled", "error", "error-message", "options"])) : f.value.valueType === "Number" ? (s(), D(a(Fe), Le({ key: 6 }, O.$attrs, {
|
|
11163
11157
|
modelValue: C.value,
|
|
11164
|
-
"onUpdate:modelValue":
|
|
11158
|
+
"onUpdate:modelValue": x[6] || (x[6] = (E) => C.value = E),
|
|
11165
11159
|
error: !!R.length,
|
|
11166
11160
|
"error-message": P,
|
|
11167
11161
|
label: f.value.displayName,
|
|
@@ -11173,7 +11167,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11173
11167
|
loading: c.value
|
|
11174
11168
|
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "loading"])) : f.value.valueType === "Integer" ? (s(), D(a(Fe), Le({ key: 7 }, O.$attrs, {
|
|
11175
11169
|
modelValue: C.value,
|
|
11176
|
-
"onUpdate:modelValue":
|
|
11170
|
+
"onUpdate:modelValue": x[7] || (x[7] = (E) => C.value = E),
|
|
11177
11171
|
error: !!R.length,
|
|
11178
11172
|
"error-message": P,
|
|
11179
11173
|
label: f.value.displayName,
|
|
@@ -11186,7 +11180,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11186
11180
|
loading: c.value
|
|
11187
11181
|
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "loading"])) : f.value.valueType === "DateTime" ? (s(), D(a(Fe), Le({ key: 8 }, O.$attrs, {
|
|
11188
11182
|
modelValue: C.value,
|
|
11189
|
-
"onUpdate:modelValue":
|
|
11183
|
+
"onUpdate:modelValue": x[8] || (x[8] = (E) => C.value = E),
|
|
11190
11184
|
error: !!R.length,
|
|
11191
11185
|
"error-message": P,
|
|
11192
11186
|
label: f.value.displayName,
|
|
@@ -11198,7 +11192,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11198
11192
|
clearable: ""
|
|
11199
11193
|
}), null, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "loading"])) : f.value.valueType === "LongText" ? (s(), D(a(zf), Le({ key: 9 }, O.$attrs, {
|
|
11200
11194
|
modelValue: C.value,
|
|
11201
|
-
"onUpdate:modelValue":
|
|
11195
|
+
"onUpdate:modelValue": x[9] || (x[9] = (E) => C.value = E),
|
|
11202
11196
|
"error-message": P,
|
|
11203
11197
|
label: f.value.displayName,
|
|
11204
11198
|
required: f.value.required,
|
|
@@ -11207,7 +11201,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11207
11201
|
"current-language": e.currentLanguage
|
|
11208
11202
|
}), null, 16, ["modelValue", "error-message", "label", "required", "placeholder", "disabled", "current-language"])) : f.value.valueType === "Boolean" ? (s(), D(a(bi), Le({ key: 10 }, O.$attrs, {
|
|
11209
11203
|
modelValue: C.value,
|
|
11210
|
-
"onUpdate:modelValue":
|
|
11204
|
+
"onUpdate:modelValue": x[10] || (x[10] = (E) => C.value = E),
|
|
11211
11205
|
"error-message": P,
|
|
11212
11206
|
required: f.value.required,
|
|
11213
11207
|
disabled: e.disabled,
|
|
@@ -11215,10 +11209,10 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11215
11209
|
label: f.value.displayName
|
|
11216
11210
|
}), null, 16, ["modelValue", "error-message", "required", "disabled", "name", "label"])) : f.value.valueType === "Measure" ? (s(), D(a(Ms), Le({ key: 11 }, O.$attrs, {
|
|
11217
11211
|
modelValue: C.value,
|
|
11218
|
-
"onUpdate:modelValue":
|
|
11212
|
+
"onUpdate:modelValue": x[11] || (x[11] = (E) => C.value = E),
|
|
11219
11213
|
option: m.value,
|
|
11220
11214
|
"onUpdate:option": [
|
|
11221
|
-
|
|
11215
|
+
x[12] || (x[12] = (E) => m.value = E),
|
|
11222
11216
|
S
|
|
11223
11217
|
],
|
|
11224
11218
|
options: b.value,
|
|
@@ -11245,9 +11239,9 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11245
11239
|
}, F(h.value), 41, zy)
|
|
11246
11240
|
]),
|
|
11247
11241
|
_: 1
|
|
11248
|
-
}, 16, ["modelValue", "option", "options", "loading", "multilanguage", "current-language", "label", "placeholder", "required", "disabled"])) : f.value.valueType === "Color" && f.value.multivalue && !f.value.dictionary ? (s(), D(a(
|
|
11242
|
+
}, 16, ["modelValue", "option", "options", "loading", "multilanguage", "current-language", "label", "placeholder", "required", "disabled"])) : f.value.valueType === "Color" && f.value.multivalue && !f.value.dictionary ? (s(), D(a(xt), Le({ key: 12 }, O.$attrs, {
|
|
11249
11243
|
modelValue: C.value,
|
|
11250
|
-
"onUpdate:modelValue":
|
|
11244
|
+
"onUpdate:modelValue": x[13] || (x[13] = (E) => C.value = E),
|
|
11251
11245
|
type: "color",
|
|
11252
11246
|
name: f.value.name,
|
|
11253
11247
|
error: !!R.length,
|
|
@@ -11260,9 +11254,9 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11260
11254
|
"current-language": e.currentLanguage,
|
|
11261
11255
|
"option-label": "value",
|
|
11262
11256
|
"option-value": "value"
|
|
11263
|
-
}), null, 16, ["modelValue", "name", "error", "error-message", "label", "required", "placeholder", "disabled", "multilanguage", "current-language"])) : f.value.valueType === "Color" && f.value.multivalue && f.value.dictionary ? (s(), D(a(
|
|
11257
|
+
}), null, 16, ["modelValue", "name", "error", "error-message", "label", "required", "placeholder", "disabled", "multilanguage", "current-language"])) : f.value.valueType === "Color" && f.value.multivalue && f.value.dictionary ? (s(), D(a(xt), Le({ key: 13 }, O.$attrs, {
|
|
11264
11258
|
modelValue: C.value,
|
|
11265
|
-
"onUpdate:modelValue":
|
|
11259
|
+
"onUpdate:modelValue": x[14] || (x[14] = (E) => C.value = E),
|
|
11266
11260
|
error: !!R.length,
|
|
11267
11261
|
"error-message": P,
|
|
11268
11262
|
label: f.value.displayName,
|
|
@@ -11300,7 +11294,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11300
11294
|
_: 1
|
|
11301
11295
|
}, 16, ["modelValue", "error", "error-message", "label", "required", "placeholder", "disabled", "multilanguage", "current-language", "options", "option-label", "option-value", "multivalue", "loading"])) : f.value.valueType === "Color" && !f.value.multivalue && !f.value.dictionary ? (s(), D(a(Fe), Le({ key: 14 }, O.$attrs, {
|
|
11302
11296
|
modelValue: C.value,
|
|
11303
|
-
"onUpdate:modelValue":
|
|
11297
|
+
"onUpdate:modelValue": x[15] || (x[15] = (E) => C.value = E),
|
|
11304
11298
|
type: "color",
|
|
11305
11299
|
label: f.value.displayName,
|
|
11306
11300
|
error: !!R.length,
|
|
@@ -11308,7 +11302,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11308
11302
|
placeholder: O.$t("COMPONENTS.ORGANISMS.VC_DYNAMIC_PROPERTY.VALUE_TYPE.COLOR.NAME")
|
|
11309
11303
|
}), null, 16, ["modelValue", "label", "error", "error-message", "placeholder"])) : f.value.valueType === "Color" && f.value.dictionary && !f.value.multivalue ? (s(), D(a(_t), Le({ key: 15 }, O.$attrs, {
|
|
11310
11304
|
modelValue: C.value,
|
|
11311
|
-
"onUpdate:modelValue":
|
|
11305
|
+
"onUpdate:modelValue": x[16] || (x[16] = (E) => C.value = E),
|
|
11312
11306
|
error: !!R.length,
|
|
11313
11307
|
"error-message": P,
|
|
11314
11308
|
label: f.value.displayName,
|
|
@@ -11426,7 +11420,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11426
11420
|
const h = d.value;
|
|
11427
11421
|
h && (h.allowTouchMove = !m, m ? h.mousewheel?.disable() : (h.mousewheel?.enable(), h.slideTo(0, 0)), Re(() => h.update()));
|
|
11428
11422
|
}
|
|
11429
|
-
), oe(
|
|
11423
|
+
), oe(Ie(l, "loading"), (m) => {
|
|
11430
11424
|
d.value && (m ? d.value.disable() : d.value.enable());
|
|
11431
11425
|
});
|
|
11432
11426
|
let p = l.images.length;
|
|
@@ -11438,7 +11432,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11438
11432
|
}), p = m;
|
|
11439
11433
|
}
|
|
11440
11434
|
), (m, h) => (s(), g("div", Ky, [
|
|
11441
|
-
T(a(
|
|
11435
|
+
T(a(xl), {
|
|
11442
11436
|
modules: o,
|
|
11443
11437
|
"slides-per-view": "auto",
|
|
11444
11438
|
"space-between": e.gap,
|
|
@@ -11514,21 +11508,21 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11514
11508
|
const t = n, l = e, { t: r } = Pe({ useScope: "global" }), { isMobile: o } = De(), i = B(l.index), c = B(!1), d = [gc], u = [Uo], v = B(), b = B(), p = y(() => l.images[i.value]);
|
|
11515
11509
|
oe(
|
|
11516
11510
|
() => l.index,
|
|
11517
|
-
(
|
|
11518
|
-
i.value =
|
|
11511
|
+
(x) => {
|
|
11512
|
+
i.value = x, v.value?.slideTo(x);
|
|
11519
11513
|
}
|
|
11520
11514
|
);
|
|
11521
|
-
function m(
|
|
11522
|
-
v.value =
|
|
11515
|
+
function m(x) {
|
|
11516
|
+
v.value = x;
|
|
11523
11517
|
}
|
|
11524
|
-
function h(
|
|
11525
|
-
b.value =
|
|
11518
|
+
function h(x) {
|
|
11519
|
+
b.value = x;
|
|
11526
11520
|
}
|
|
11527
|
-
function f(
|
|
11528
|
-
i.value =
|
|
11521
|
+
function f(x) {
|
|
11522
|
+
i.value = x.activeIndex, b.value?.slideTo(x.activeIndex);
|
|
11529
11523
|
}
|
|
11530
|
-
function C(
|
|
11531
|
-
v.value?.slideTo(
|
|
11524
|
+
function C(x) {
|
|
11525
|
+
v.value?.slideTo(x);
|
|
11532
11526
|
}
|
|
11533
11527
|
function S() {
|
|
11534
11528
|
v.value?.slidePrev();
|
|
@@ -11536,13 +11530,13 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11536
11530
|
function $() {
|
|
11537
11531
|
v.value?.slideNext();
|
|
11538
11532
|
}
|
|
11539
|
-
function A(
|
|
11533
|
+
function A(x, P) {
|
|
11540
11534
|
if (!P) return;
|
|
11541
|
-
const R =
|
|
11535
|
+
const R = x.target;
|
|
11542
11536
|
R instanceof HTMLImageElement && (R.src = P);
|
|
11543
11537
|
}
|
|
11544
11538
|
async function N() {
|
|
11545
|
-
const
|
|
11539
|
+
const x = p.value?.url ?? "", P = x.charAt(0) === "/" ? `${location.origin}${x}` : x;
|
|
11546
11540
|
try {
|
|
11547
11541
|
await navigator.clipboard.writeText(P), c.value = !0, setTimeout(() => {
|
|
11548
11542
|
c.value = !1;
|
|
@@ -11550,22 +11544,22 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11550
11544
|
} catch {
|
|
11551
11545
|
}
|
|
11552
11546
|
}
|
|
11553
|
-
function V(
|
|
11554
|
-
|
|
11547
|
+
function V(x) {
|
|
11548
|
+
x.key === "Escape" && (x.preventDefault(), t("close"));
|
|
11555
11549
|
}
|
|
11556
11550
|
const O = yc(document.body);
|
|
11557
11551
|
return tt(() => {
|
|
11558
11552
|
window.addEventListener("keydown", V), O.value = !0;
|
|
11559
11553
|
}), We(() => {
|
|
11560
11554
|
window.removeEventListener("keydown", V), O.value = !1;
|
|
11561
|
-
}), (
|
|
11555
|
+
}), (x, P) => p.value ? (s(), D(a(vl), {
|
|
11562
11556
|
key: 0,
|
|
11563
11557
|
"is-mobile-fullscreen": "",
|
|
11564
11558
|
"is-fullscreen": "",
|
|
11565
11559
|
"modal-width": "vc-gallery-preview__modal",
|
|
11566
11560
|
role: "dialog",
|
|
11567
11561
|
"aria-modal": "true",
|
|
11568
|
-
onClose: P[0] || (P[0] = (R) =>
|
|
11562
|
+
onClose: P[0] || (P[0] = (R) => x.$emit("close"))
|
|
11569
11563
|
}, {
|
|
11570
11564
|
header: M(() => [
|
|
11571
11565
|
w("div", Jy, [
|
|
@@ -11594,7 +11588,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11594
11588
|
content: M(() => [
|
|
11595
11589
|
w("div", tw, [
|
|
11596
11590
|
w("div", lw, [
|
|
11597
|
-
T(a(
|
|
11591
|
+
T(a(xl), {
|
|
11598
11592
|
modules: d,
|
|
11599
11593
|
"initial-slide": i.value,
|
|
11600
11594
|
"space-between": 0,
|
|
@@ -11649,7 +11643,7 @@ const $y = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, K$
|
|
|
11649
11643
|
], 64))
|
|
11650
11644
|
]),
|
|
11651
11645
|
e.images.length > 1 ? (s(), g("div", aw, [
|
|
11652
|
-
T(a(
|
|
11646
|
+
T(a(xl), {
|
|
11653
11647
|
modules: u,
|
|
11654
11648
|
"slides-per-view": "auto",
|
|
11655
11649
|
"space-between": 6,
|
|
@@ -11962,12 +11956,12 @@ const bw = {
|
|
|
11962
11956
|
onDragEdge: (E) => {
|
|
11963
11957
|
const _ = S.swiperRef.value;
|
|
11964
11958
|
if (!_) return;
|
|
11965
|
-
const k = 40,
|
|
11959
|
+
const k = 40, I = _.getTranslate(), U = _.minTranslate(), q = _.maxTranslate();
|
|
11966
11960
|
if (E === 1) {
|
|
11967
|
-
const K = Math.max(
|
|
11961
|
+
const K = Math.max(I - k, q);
|
|
11968
11962
|
_.setTranslate(K), _.update();
|
|
11969
11963
|
} else if (E === -1) {
|
|
11970
|
-
const K = Math.min(
|
|
11964
|
+
const K = Math.min(I + k, U);
|
|
11971
11965
|
_.setTranslate(K), _.update();
|
|
11972
11966
|
}
|
|
11973
11967
|
}
|
|
@@ -11985,7 +11979,7 @@ const bw = {
|
|
|
11985
11979
|
}
|
|
11986
11980
|
const V = B(!1);
|
|
11987
11981
|
let O = 0;
|
|
11988
|
-
function
|
|
11982
|
+
function x(E) {
|
|
11989
11983
|
E.dataTransfer?.types.includes("Files") && (O++, V.value = !0);
|
|
11990
11984
|
}
|
|
11991
11985
|
function P(E) {
|
|
@@ -12033,7 +12027,7 @@ const bw = {
|
|
|
12033
12027
|
[`vc-gallery--${e.size}`]: !0
|
|
12034
12028
|
}]),
|
|
12035
12029
|
style: he({ "--gallery-gap": `${e.gap}px` }),
|
|
12036
|
-
onDragenter: ue(
|
|
12030
|
+
onDragenter: ue(x, ["prevent"]),
|
|
12037
12031
|
onDragleave: ue(P, ["prevent"]),
|
|
12038
12032
|
onDragover: _[8] || (_[8] = ue(() => {
|
|
12039
12033
|
}, ["prevent"])),
|
|
@@ -12096,12 +12090,12 @@ const bw = {
|
|
|
12096
12090
|
a(p).galleryRef.value = k;
|
|
12097
12091
|
})
|
|
12098
12092
|
}, {
|
|
12099
|
-
item: M(({ image: k, index:
|
|
12093
|
+
item: M(({ image: k, index: I }) => [
|
|
12100
12094
|
z(E.$slots, "item", {
|
|
12101
12095
|
image: k,
|
|
12102
|
-
index:
|
|
12096
|
+
index: I,
|
|
12103
12097
|
actions: {
|
|
12104
|
-
preview: () => a(h).openPreview(
|
|
12098
|
+
preview: () => a(h).openPreview(I),
|
|
12105
12099
|
edit: () => l("edit", k),
|
|
12106
12100
|
remove: () => l("remove", k)
|
|
12107
12101
|
}
|
|
@@ -12113,7 +12107,7 @@ const bw = {
|
|
|
12113
12107
|
"disable-drag": a(o) || a(p).disableDrag.value,
|
|
12114
12108
|
"image-fit": e.imagefit,
|
|
12115
12109
|
"thumbnail-size": C.value,
|
|
12116
|
-
onPreview: (U) => a(h).openPreview(
|
|
12110
|
+
onPreview: (U) => a(h).openPreview(I),
|
|
12117
12111
|
onEdit: _[2] || (_[2] = (U) => l("edit", U)),
|
|
12118
12112
|
onRemove: _[3] || (_[3] = (U) => l("remove", U))
|
|
12119
12113
|
}, null, 8, ["image", "readonly", "actions", "disable-drag", "image-fit", "thumbnail-size", "onPreview"])
|
|
@@ -12127,15 +12121,15 @@ const bw = {
|
|
|
12127
12121
|
},
|
|
12128
12122
|
class: "vc-gallery__grid"
|
|
12129
12123
|
}, [
|
|
12130
|
-
(s(!0), g(J, null, ve(u.value, (k,
|
|
12131
|
-
key: `img_${k.id ||
|
|
12124
|
+
(s(!0), g(J, null, ve(u.value, (k, I) => (s(), g("div", {
|
|
12125
|
+
key: `img_${k.id || I}`,
|
|
12132
12126
|
class: "vc-gallery__item"
|
|
12133
12127
|
}, [
|
|
12134
12128
|
z(E.$slots, "item", {
|
|
12135
12129
|
image: k,
|
|
12136
|
-
index:
|
|
12130
|
+
index: I,
|
|
12137
12131
|
actions: {
|
|
12138
|
-
preview: () => a(h).openPreview(
|
|
12132
|
+
preview: () => a(h).openPreview(I),
|
|
12139
12133
|
edit: () => l("edit", k),
|
|
12140
12134
|
remove: () => l("remove", k)
|
|
12141
12135
|
}
|
|
@@ -12147,7 +12141,7 @@ const bw = {
|
|
|
12147
12141
|
"disable-drag": a(p).disableDrag.value,
|
|
12148
12142
|
"image-fit": e.imagefit,
|
|
12149
12143
|
"thumbnail-size": C.value,
|
|
12150
|
-
onPreview: (U) => a(h).openPreview(
|
|
12144
|
+
onPreview: (U) => a(h).openPreview(I),
|
|
12151
12145
|
onEdit: _[5] || (_[5] = (U) => l("edit", U)),
|
|
12152
12146
|
onRemove: _[6] || (_[6] = (U) => l("remove", U))
|
|
12153
12147
|
}, null, 8, ["image", "readonly", "actions", "disable-drag", "image-fit", "thumbnail-size", "onPreview"])
|
|
@@ -12241,7 +12235,7 @@ function Mw(e, n) {
|
|
|
12241
12235
|
z(e.$slots, "default")
|
|
12242
12236
|
]);
|
|
12243
12237
|
}
|
|
12244
|
-
const Lw = /* @__PURE__ */
|
|
12238
|
+
const Lw = /* @__PURE__ */ Io(Aw, [["render", Mw]]), Iw = ["data-items-count"], xw = {
|
|
12245
12239
|
key: "__empty__",
|
|
12246
12240
|
class: "vc-table-composition__body-state"
|
|
12247
12241
|
}, Nw = { class: "vc-table-composition__empty" }, Bw = {
|
|
@@ -12263,7 +12257,7 @@ const Lw = /* @__PURE__ */ xo(Aw, [["render", Mw]]), xw = ["data-items-count"],
|
|
|
12263
12257
|
!e.loading && l.value ? z(r.$slots, "default", {
|
|
12264
12258
|
key: 0,
|
|
12265
12259
|
items: e.items
|
|
12266
|
-
}) : !e.loading && !l.value ? (s(), g("div",
|
|
12260
|
+
}) : !e.loading && !l.value ? (s(), g("div", xw, [
|
|
12267
12261
|
z(r.$slots, "empty", {}, () => [
|
|
12268
12262
|
w("div", Nw, [
|
|
12269
12263
|
z(r.$slots, "empty-content", {}, () => [
|
|
@@ -12278,7 +12272,7 @@ const Lw = /* @__PURE__ */ xo(Aw, [["render", Mw]]), xw = ["data-items-count"],
|
|
|
12278
12272
|
], -1))
|
|
12279
12273
|
])
|
|
12280
12274
|
]))
|
|
12281
|
-
], 8,
|
|
12275
|
+
], 8, Iw));
|
|
12282
12276
|
}
|
|
12283
12277
|
}), Dw = ["tabindex"], Pw = {
|
|
12284
12278
|
key: 0,
|
|
@@ -12300,7 +12294,7 @@ const Lw = /* @__PURE__ */ xo(Aw, [["render", Mw]]), xw = ["data-items-count"],
|
|
|
12300
12294
|
emits: ["click", "hover", "leave", "space-press"],
|
|
12301
12295
|
setup(e, { emit: n }) {
|
|
12302
12296
|
const t = e, l = n, r = Ce(zl, null), o = Ce(
|
|
12303
|
-
|
|
12297
|
+
xo,
|
|
12304
12298
|
y(() => 0)
|
|
12305
12299
|
), i = Ce(No, B(!1)), c = y(() => !!t.clickable), d = y(() => t.variant === "header" ? "columnheader" : "cell"), u = (m) => {
|
|
12306
12300
|
l("click", m);
|
|
@@ -12543,7 +12537,7 @@ function jw(e, n) {
|
|
|
12543
12537
|
z(e.$slots, "default")
|
|
12544
12538
|
]);
|
|
12545
12539
|
}
|
|
12546
|
-
const Xw = /* @__PURE__ */
|
|
12540
|
+
const Xw = /* @__PURE__ */ Io(Kw, [["render", jw]]), Qw = { class: "vc-table-composition__empty-state" }, Jw = { class: "vc-table-composition__empty-content" }, Zw = { class: "vc-table-composition__empty-title" }, e0 = {
|
|
12547
12541
|
key: 0,
|
|
12548
12542
|
class: "vc-table-composition__empty-description"
|
|
12549
12543
|
}, t0 = {
|
|
@@ -12689,20 +12683,20 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
12689
12683
|
});
|
|
12690
12684
|
}, O = async () => {
|
|
12691
12685
|
o.value || (o.value = !0, await Re(), i.value = !0), V();
|
|
12692
|
-
},
|
|
12693
|
-
const
|
|
12686
|
+
}, x = (k) => {
|
|
12687
|
+
const I = Array.from(
|
|
12694
12688
|
d.value?.querySelectorAll('[role="menuitem"]:not([aria-disabled])') || []
|
|
12695
12689
|
);
|
|
12696
|
-
if (!
|
|
12697
|
-
const U =
|
|
12690
|
+
if (!I.length) return;
|
|
12691
|
+
const U = I.indexOf(document.activeElement);
|
|
12698
12692
|
if (k.key === "ArrowDown") {
|
|
12699
12693
|
k.preventDefault();
|
|
12700
|
-
const q = U <
|
|
12701
|
-
|
|
12694
|
+
const q = U < I.length - 1 ? U + 1 : 0;
|
|
12695
|
+
I[q]?.focus();
|
|
12702
12696
|
} else if (k.key === "ArrowUp") {
|
|
12703
12697
|
k.preventDefault();
|
|
12704
|
-
const q = U > 0 ? U - 1 :
|
|
12705
|
-
|
|
12698
|
+
const q = U > 0 ? U - 1 : I.length - 1;
|
|
12699
|
+
I[q]?.focus();
|
|
12706
12700
|
} else k.key === "Escape" ? (k.preventDefault(), A()) : k.key === "Tab" && A();
|
|
12707
12701
|
}, P = (k) => {
|
|
12708
12702
|
k.key === "Escape" && o.value && A();
|
|
@@ -12717,12 +12711,12 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
12717
12711
|
k ? E() : _();
|
|
12718
12712
|
}), We(() => {
|
|
12719
12713
|
_();
|
|
12720
|
-
}), (k,
|
|
12714
|
+
}), (k, I) => Xe((s(), g("div", {
|
|
12721
12715
|
class: Q(["vc-table-row-actions", {
|
|
12722
12716
|
"vc-table-row-actions--dropdown-mode": m.value,
|
|
12723
12717
|
"vc-table-row-actions--column": e.position === "column"
|
|
12724
12718
|
}]),
|
|
12725
|
-
onClick:
|
|
12719
|
+
onClick: I[3] || (I[3] = ue(() => {
|
|
12726
12720
|
}, ["stop"]))
|
|
12727
12721
|
}, [
|
|
12728
12722
|
m.value ? L("", !0) : (s(!0), g(J, { key: 0 }, ve(h.value, (U, q) => (s(), g("div", {
|
|
@@ -12753,7 +12747,7 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
12753
12747
|
ref_key: "referenceRef",
|
|
12754
12748
|
ref: c,
|
|
12755
12749
|
class: "vc-table-row-actions__overflow",
|
|
12756
|
-
onClick:
|
|
12750
|
+
onClick: I[2] || (I[2] = ue(() => {
|
|
12757
12751
|
}, ["stop"]))
|
|
12758
12752
|
}, [
|
|
12759
12753
|
w("button", {
|
|
@@ -12766,7 +12760,7 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
12766
12760
|
"aria-expanded": o.value,
|
|
12767
12761
|
onClick: ue($, ["stop", "prevent"]),
|
|
12768
12762
|
onKeydown: $e(ue(O, ["prevent"]), ["down"]),
|
|
12769
|
-
onMousedown:
|
|
12763
|
+
onMousedown: I[0] || (I[0] = ue(() => {
|
|
12770
12764
|
}, ["stop"]))
|
|
12771
12765
|
}, [
|
|
12772
12766
|
T(a(le), {
|
|
@@ -12791,9 +12785,9 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
12791
12785
|
role: "menu",
|
|
12792
12786
|
class: "vc-table-row-actions__dropdown",
|
|
12793
12787
|
style: he(a(S)),
|
|
12794
|
-
onClick:
|
|
12788
|
+
onClick: I[1] || (I[1] = ue(() => {
|
|
12795
12789
|
}, ["stop"])),
|
|
12796
|
-
onKeydown:
|
|
12790
|
+
onKeydown: x
|
|
12797
12791
|
}, [
|
|
12798
12792
|
(s(!0), g(J, null, ve(f.value, (U, q) => (s(), g("div", {
|
|
12799
12793
|
key: q,
|
|
@@ -13096,7 +13090,7 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
13096
13090
|
}, M0 = {
|
|
13097
13091
|
key: 2,
|
|
13098
13092
|
class: "vc-column-filter__range"
|
|
13099
|
-
}, L0 = { class: "vc-column-filter__range-field" },
|
|
13093
|
+
}, L0 = { class: "vc-column-filter__range-field" }, I0 = { class: "vc-column-filter__range-label" }, x0 = { class: "vc-column-filter__range-field" }, N0 = { class: "vc-column-filter__range-label" }, B0 = { class: "vc-column-filter__actions" }, D0 = /* @__PURE__ */ Y({
|
|
13100
13094
|
__name: "ColumnFilter",
|
|
13101
13095
|
props: {
|
|
13102
13096
|
field: {},
|
|
@@ -13111,24 +13105,24 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
13111
13105
|
setup(e, { emit: n }) {
|
|
13112
13106
|
const t = e, l = n, r = B(null), o = B(null), i = B(null), c = B(null), d = B(!1), u = B(null), v = B(""), b = B(""), p = () => {
|
|
13113
13107
|
if (t.filterType === "dateRange" && t.modelValue && typeof t.modelValue == "object" && !Array.isArray(t.modelValue)) {
|
|
13114
|
-
const
|
|
13115
|
-
v.value =
|
|
13108
|
+
const I = t.modelValue;
|
|
13109
|
+
v.value = I.start ?? "", b.value = I.end ?? "", u.value = null;
|
|
13116
13110
|
} else
|
|
13117
13111
|
u.value = t.modelValue ?? null, v.value = "", b.value = "";
|
|
13118
|
-
}, m = (
|
|
13119
|
-
u.value =
|
|
13120
|
-
}, h = (
|
|
13121
|
-
v.value =
|
|
13122
|
-
}, f = (
|
|
13123
|
-
b.value =
|
|
13112
|
+
}, m = (I) => {
|
|
13113
|
+
u.value = I;
|
|
13114
|
+
}, h = (I) => {
|
|
13115
|
+
v.value = I;
|
|
13116
|
+
}, f = (I) => {
|
|
13117
|
+
b.value = I;
|
|
13124
13118
|
}, C = y(() => {
|
|
13125
|
-
const
|
|
13126
|
-
return
|
|
13119
|
+
const I = t.modelValue;
|
|
13120
|
+
return I == null || I === "" || Array.isArray(I) && I.length === 0 ? !1 : typeof I == "object" && !Array.isArray(I) ? Object.values(I).some((U) => U != null && U !== "") : !0;
|
|
13127
13121
|
}), S = B({}), $ = () => {
|
|
13128
13122
|
if (!r.value || !o.value) return;
|
|
13129
|
-
const
|
|
13130
|
-
let q =
|
|
13131
|
-
K + U.width > window.innerWidth && (K = window.innerWidth - U.width - 8), q + U.height > window.innerHeight && (q =
|
|
13123
|
+
const I = r.value.getBoundingClientRect(), U = o.value.getBoundingClientRect();
|
|
13124
|
+
let q = I.bottom + 4, K = I.left;
|
|
13125
|
+
K + U.width > window.innerWidth && (K = window.innerWidth - U.width - 8), q + U.height > window.innerHeight && (q = I.top - U.height - 4), S.value = {
|
|
13132
13126
|
top: `${q}px`,
|
|
13133
13127
|
left: `${K}px`
|
|
13134
13128
|
};
|
|
@@ -13144,34 +13138,34 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
13144
13138
|
d.value = !1, Re(() => {
|
|
13145
13139
|
c.value?.$el?.focus();
|
|
13146
13140
|
});
|
|
13147
|
-
}, V = (
|
|
13148
|
-
if (
|
|
13141
|
+
}, V = (I) => {
|
|
13142
|
+
if (I.key === "Escape") {
|
|
13149
13143
|
N();
|
|
13150
13144
|
return;
|
|
13151
13145
|
}
|
|
13152
|
-
if (
|
|
13146
|
+
if (I.key !== "Tab" || !o.value) return;
|
|
13153
13147
|
const U = o.value.querySelectorAll(
|
|
13154
13148
|
'input, select, textarea, button, [tabindex]:not([tabindex="-1"])'
|
|
13155
13149
|
);
|
|
13156
13150
|
if (U.length === 0) return;
|
|
13157
13151
|
const q = U[0], K = U[U.length - 1];
|
|
13158
|
-
|
|
13152
|
+
I.shiftKey && document.activeElement === q ? (I.preventDefault(), K.focus()) : !I.shiftKey && document.activeElement === K && (I.preventDefault(), q.focus());
|
|
13159
13153
|
}, O = () => {
|
|
13160
|
-
const
|
|
13154
|
+
const I = {};
|
|
13161
13155
|
if (t.filterType === "dateRange" && t.rangeFields)
|
|
13162
|
-
v.value && (
|
|
13156
|
+
v.value && (I[t.rangeFields[0]] = v.value), b.value && (I[t.rangeFields[1]] = b.value);
|
|
13163
13157
|
else {
|
|
13164
13158
|
const U = u.value;
|
|
13165
|
-
U != null && U !== "" && (Array.isArray(U) && U.length === 0 || (
|
|
13159
|
+
U != null && U !== "" && (Array.isArray(U) && U.length === 0 || (I[t.field] = U));
|
|
13166
13160
|
}
|
|
13167
|
-
return
|
|
13168
|
-
},
|
|
13161
|
+
return I;
|
|
13162
|
+
}, x = () => {
|
|
13169
13163
|
l("apply", O()), N();
|
|
13170
13164
|
}, P = () => {
|
|
13171
13165
|
u.value = null, v.value = "", b.value = "", l("clear"), N();
|
|
13172
|
-
}, R = (
|
|
13166
|
+
}, R = (I) => {
|
|
13173
13167
|
if (!d.value) return;
|
|
13174
|
-
const U =
|
|
13168
|
+
const U = I.target;
|
|
13175
13169
|
r.value?.contains(U) || o.value?.contains(U) || U.closest(".vc-select__dropdown") || U.closest(".vc-select__option") || N();
|
|
13176
13170
|
};
|
|
13177
13171
|
let E = !1;
|
|
@@ -13180,13 +13174,13 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
13180
13174
|
}, k = () => {
|
|
13181
13175
|
!E || typeof window > "u" || typeof document > "u" || (document.removeEventListener("click", R), window.removeEventListener("resize", $), window.removeEventListener("scroll", $, !0), E = !1);
|
|
13182
13176
|
};
|
|
13183
|
-
return oe(d, (
|
|
13184
|
-
|
|
13177
|
+
return oe(d, (I) => {
|
|
13178
|
+
I ? (p(), _(), Re(() => {
|
|
13185
13179
|
$();
|
|
13186
13180
|
})) : k();
|
|
13187
13181
|
}), We(() => {
|
|
13188
13182
|
k();
|
|
13189
|
-
}), (
|
|
13183
|
+
}), (I, U) => (s(), g("div", {
|
|
13190
13184
|
ref_key: "filterRef",
|
|
13191
13185
|
ref: r,
|
|
13192
13186
|
class: "vc-column-filter"
|
|
@@ -13199,7 +13193,7 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
13199
13193
|
icon: "lucide-funnel",
|
|
13200
13194
|
"icon-size": "xs",
|
|
13201
13195
|
class: Q(["vc-column-filter__trigger", { "vc-column-filter__trigger--active": C.value }]),
|
|
13202
|
-
"aria-label":
|
|
13196
|
+
"aria-label": I.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.TITLE"),
|
|
13203
13197
|
"aria-expanded": d.value,
|
|
13204
13198
|
"aria-haspopup": "dialog",
|
|
13205
13199
|
onClick: A
|
|
@@ -13219,15 +13213,15 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
13219
13213
|
}, ["stop"])),
|
|
13220
13214
|
onKeydown: V
|
|
13221
13215
|
}, [
|
|
13222
|
-
|
|
13223
|
-
z(
|
|
13216
|
+
I.$slots.filter ? (s(), g("div", R0, [
|
|
13217
|
+
z(I.$slots, "filter", {
|
|
13224
13218
|
value: u.value,
|
|
13225
13219
|
updateValue: m,
|
|
13226
13220
|
startDate: v.value,
|
|
13227
13221
|
updateStartDate: h,
|
|
13228
13222
|
endDate: b.value,
|
|
13229
13223
|
updateEndDate: f,
|
|
13230
|
-
applyFilter:
|
|
13224
|
+
applyFilter: x,
|
|
13231
13225
|
clearFilter: P
|
|
13232
13226
|
})
|
|
13233
13227
|
])) : (s(), g("div", T0, [
|
|
@@ -13240,7 +13234,7 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
13240
13234
|
size: "small",
|
|
13241
13235
|
"onUpdate:modelValue": U[0] || (U[0] = (q) => m(q)),
|
|
13242
13236
|
onKeydown: [
|
|
13243
|
-
$e(
|
|
13237
|
+
$e(x, ["enter"]),
|
|
13244
13238
|
$e(N, ["escape"])
|
|
13245
13239
|
]
|
|
13246
13240
|
}, null, 8, ["model-value", "placeholder"])
|
|
@@ -13259,7 +13253,7 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
13259
13253
|
}, null, 8, ["model-value", "options", "placeholder", "multiple"])
|
|
13260
13254
|
])) : e.filterType === "dateRange" ? (s(), g("div", M0, [
|
|
13261
13255
|
w("div", L0, [
|
|
13262
|
-
w("span",
|
|
13256
|
+
w("span", I0, F(I.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.FROM")), 1),
|
|
13263
13257
|
T(a(Fe), {
|
|
13264
13258
|
"model-value": v.value,
|
|
13265
13259
|
type: "date",
|
|
@@ -13267,8 +13261,8 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
13267
13261
|
"onUpdate:modelValue": U[2] || (U[2] = (q) => h(q))
|
|
13268
13262
|
}, null, 8, ["model-value"])
|
|
13269
13263
|
]),
|
|
13270
|
-
w("div",
|
|
13271
|
-
w("span", N0, F(
|
|
13264
|
+
w("div", x0, [
|
|
13265
|
+
w("span", N0, F(I.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.TO")), 1),
|
|
13272
13266
|
T(a(Fe), {
|
|
13273
13267
|
"model-value": b.value,
|
|
13274
13268
|
type: "date",
|
|
@@ -13285,17 +13279,17 @@ const Xw = /* @__PURE__ */ xo(Kw, [["render", jw]]), Qw = { class: "vc-table-com
|
|
|
13285
13279
|
onClick: P
|
|
13286
13280
|
}, {
|
|
13287
13281
|
default: M(() => [
|
|
13288
|
-
de(F(
|
|
13282
|
+
de(F(I.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.CLEAR")), 1)
|
|
13289
13283
|
]),
|
|
13290
13284
|
_: 1
|
|
13291
13285
|
}),
|
|
13292
13286
|
T(a(Ee), {
|
|
13293
13287
|
variant: "primary",
|
|
13294
13288
|
size: "sm",
|
|
13295
|
-
onClick:
|
|
13289
|
+
onClick: x
|
|
13296
13290
|
}, {
|
|
13297
13291
|
default: M(() => [
|
|
13298
|
-
de(F(
|
|
13292
|
+
de(F(I.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.APPLY")), 1)
|
|
13299
13293
|
]),
|
|
13300
13294
|
_: 1
|
|
13301
13295
|
})
|
|
@@ -13380,15 +13374,15 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13380
13374
|
emits: ["update:modelValue", "update:show", "apply", "clear"],
|
|
13381
13375
|
setup(e, { emit: n }) {
|
|
13382
13376
|
const t = e, l = n, { isMobile: r } = De(), { getFilterType: o, getFilterOptions: i, isMultipleSelect: c, getRangeFields: d } = Oi(), u = y(() => {
|
|
13383
|
-
const
|
|
13377
|
+
const x = {};
|
|
13384
13378
|
for (const P of t.filters)
|
|
13385
|
-
|
|
13386
|
-
return
|
|
13387
|
-
}), v = (
|
|
13388
|
-
const
|
|
13379
|
+
x[P.id] = o(P.filter);
|
|
13380
|
+
return x;
|
|
13381
|
+
}), v = (x) => u.value[x] || "none", b = B({}), p = () => {
|
|
13382
|
+
const x = {};
|
|
13389
13383
|
for (const P of t.filters)
|
|
13390
|
-
|
|
13391
|
-
b.value =
|
|
13384
|
+
x[P.id] = t.modelValue[P.id] ?? null;
|
|
13385
|
+
b.value = x;
|
|
13392
13386
|
};
|
|
13393
13387
|
oe(
|
|
13394
13388
|
() => t.modelValue,
|
|
@@ -13398,75 +13392,75 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13398
13392
|
{ deep: !0 }
|
|
13399
13393
|
), oe(
|
|
13400
13394
|
() => t.show,
|
|
13401
|
-
(
|
|
13402
|
-
|
|
13395
|
+
(x) => {
|
|
13396
|
+
x && p();
|
|
13403
13397
|
}
|
|
13404
13398
|
);
|
|
13405
|
-
const m = (
|
|
13399
|
+
const m = (x, P) => {
|
|
13406
13400
|
b.value = {
|
|
13407
13401
|
...b.value,
|
|
13408
|
-
[
|
|
13402
|
+
[x]: P
|
|
13409
13403
|
};
|
|
13410
|
-
}, h = (
|
|
13411
|
-
const P = b.value[
|
|
13404
|
+
}, h = (x) => {
|
|
13405
|
+
const P = b.value[x];
|
|
13412
13406
|
return P && typeof P == "object" && "start" in P ? P.start ?? "" : "";
|
|
13413
|
-
}, f = (
|
|
13414
|
-
const P = b.value[
|
|
13407
|
+
}, f = (x) => {
|
|
13408
|
+
const P = b.value[x];
|
|
13415
13409
|
return P && typeof P == "object" && "end" in P ? P.end ?? "" : "";
|
|
13416
|
-
}, C = (
|
|
13417
|
-
if (
|
|
13418
|
-
if (
|
|
13419
|
-
if (Number.isNaN(
|
|
13420
|
-
const R =
|
|
13410
|
+
}, C = (x) => {
|
|
13411
|
+
if (x == null) return;
|
|
13412
|
+
if (x instanceof Date) {
|
|
13413
|
+
if (Number.isNaN(x.getTime())) return;
|
|
13414
|
+
const R = x.getFullYear(), E = String(x.getMonth() + 1).padStart(2, "0"), _ = String(x.getDate()).padStart(2, "0");
|
|
13421
13415
|
return `${R}-${E}-${_}`;
|
|
13422
13416
|
}
|
|
13423
|
-
const P = String(
|
|
13417
|
+
const P = String(x);
|
|
13424
13418
|
return P === "" ? void 0 : P;
|
|
13425
|
-
}, S = (
|
|
13426
|
-
const R = b.value[
|
|
13419
|
+
}, S = (x, P) => {
|
|
13420
|
+
const R = b.value[x.id];
|
|
13427
13421
|
b.value = {
|
|
13428
13422
|
...b.value,
|
|
13429
|
-
[
|
|
13423
|
+
[x.id]: {
|
|
13430
13424
|
start: C(P),
|
|
13431
13425
|
end: R?.end
|
|
13432
13426
|
}
|
|
13433
13427
|
};
|
|
13434
|
-
}, $ = (
|
|
13435
|
-
const R = b.value[
|
|
13428
|
+
}, $ = (x, P) => {
|
|
13429
|
+
const R = b.value[x.id];
|
|
13436
13430
|
b.value = {
|
|
13437
13431
|
...b.value,
|
|
13438
|
-
[
|
|
13432
|
+
[x.id]: {
|
|
13439
13433
|
start: R?.start,
|
|
13440
13434
|
end: C(P)
|
|
13441
13435
|
}
|
|
13442
13436
|
};
|
|
13443
13437
|
}, A = () => {
|
|
13444
|
-
const
|
|
13438
|
+
const x = {};
|
|
13445
13439
|
for (const P of t.filters) {
|
|
13446
13440
|
const R = b.value[P.id];
|
|
13447
13441
|
if (o(P.filter) === "dateRange") {
|
|
13448
13442
|
const _ = d(P.filter), k = R;
|
|
13449
|
-
_ && k && (k.start && (
|
|
13443
|
+
_ && k && (k.start && (x[_[0]] = k.start), k.end && (x[_[1]] = k.end));
|
|
13450
13444
|
} else if (R != null && R !== "") {
|
|
13451
13445
|
if (Array.isArray(R) && R.length === 0)
|
|
13452
13446
|
continue;
|
|
13453
13447
|
const _ = typeof P.filter == "string" ? P.filter : P.id;
|
|
13454
|
-
|
|
13448
|
+
x[_] = R;
|
|
13455
13449
|
}
|
|
13456
13450
|
}
|
|
13457
|
-
return
|
|
13451
|
+
return x;
|
|
13458
13452
|
}, N = () => {
|
|
13459
13453
|
l("update:show", !1);
|
|
13460
13454
|
}, V = () => {
|
|
13461
|
-
const
|
|
13462
|
-
l("update:modelValue", { ...b.value }), l("apply",
|
|
13455
|
+
const x = A();
|
|
13456
|
+
l("update:modelValue", { ...b.value }), l("apply", x), N();
|
|
13463
13457
|
}, O = () => {
|
|
13464
|
-
const
|
|
13458
|
+
const x = {};
|
|
13465
13459
|
for (const P of t.filters)
|
|
13466
|
-
|
|
13467
|
-
b.value =
|
|
13460
|
+
x[P.id] = null;
|
|
13461
|
+
b.value = x, l("update:modelValue", x), l("clear"), N();
|
|
13468
13462
|
};
|
|
13469
|
-
return (
|
|
13463
|
+
return (x, P) => a(r) ? (s(), D(a(Wt), {
|
|
13470
13464
|
key: 1,
|
|
13471
13465
|
"model-value": e.show,
|
|
13472
13466
|
position: "bottom",
|
|
@@ -13475,7 +13469,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13475
13469
|
"drag-handle": "",
|
|
13476
13470
|
"close-button": !1,
|
|
13477
13471
|
inset: !1,
|
|
13478
|
-
title:
|
|
13472
|
+
title: x.$t("COMPONENTS.ORGANISMS.VC_TABLE.GLOBAL_FILTERS.TITLE"),
|
|
13479
13473
|
"onUpdate:modelValue": P[1] || (P[1] = (R) => l("update:show", R))
|
|
13480
13474
|
}, {
|
|
13481
13475
|
footer: M(() => [
|
|
@@ -13486,7 +13480,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13486
13480
|
onClick: O
|
|
13487
13481
|
}, {
|
|
13488
13482
|
default: M(() => [
|
|
13489
|
-
de(F(
|
|
13483
|
+
de(F(x.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.CLEAR")), 1)
|
|
13490
13484
|
]),
|
|
13491
13485
|
_: 1
|
|
13492
13486
|
}),
|
|
@@ -13496,7 +13490,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13496
13490
|
onClick: V
|
|
13497
13491
|
}, {
|
|
13498
13492
|
default: M(() => [
|
|
13499
|
-
de(F(
|
|
13493
|
+
de(F(x.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.APPLY")), 1)
|
|
13500
13494
|
]),
|
|
13501
13495
|
_: 1
|
|
13502
13496
|
})
|
|
@@ -13509,7 +13503,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13509
13503
|
class: "vc-global-filters-panel__filter"
|
|
13510
13504
|
}, [
|
|
13511
13505
|
w("label", Y0, F(R.label), 1),
|
|
13512
|
-
|
|
13506
|
+
x.$slots[`filter-${R.id}`] ? z(x.$slots, `filter-${R.id}`, {
|
|
13513
13507
|
key: 0,
|
|
13514
13508
|
value: b.value[R.id],
|
|
13515
13509
|
updateValue: (E) => m(R.id, E)
|
|
@@ -13533,7 +13527,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13533
13527
|
"onUpdate:modelValue": (E) => m(R.id, E)
|
|
13534
13528
|
}, null, 8, ["model-value", "options", "placeholder", "multiple", "onUpdate:modelValue"])) : v(R.id) === "dateRange" ? (s(), g("div", j0, [
|
|
13535
13529
|
w("div", X0, [
|
|
13536
|
-
w("span", Q0, F(
|
|
13530
|
+
w("span", Q0, F(x.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.FROM")), 1),
|
|
13537
13531
|
T(a(Fe), {
|
|
13538
13532
|
"model-value": h(R.id),
|
|
13539
13533
|
type: "date",
|
|
@@ -13542,7 +13536,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13542
13536
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
13543
13537
|
]),
|
|
13544
13538
|
w("div", J0, [
|
|
13545
|
-
w("span", Z0, F(
|
|
13539
|
+
w("span", Z0, F(x.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.TO")), 1),
|
|
13546
13540
|
T(a(Fe), {
|
|
13547
13541
|
"model-value": f(R.id),
|
|
13548
13542
|
type: "date",
|
|
@@ -13559,7 +13553,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13559
13553
|
key: 0,
|
|
13560
13554
|
show: e.show,
|
|
13561
13555
|
"anchor-ref": e.anchorRef,
|
|
13562
|
-
title:
|
|
13556
|
+
title: x.$t("COMPONENTS.ORGANISMS.VC_TABLE.GLOBAL_FILTERS.TITLE"),
|
|
13563
13557
|
width: "280px",
|
|
13564
13558
|
"max-width": "400px",
|
|
13565
13559
|
"onUpdate:show": P[0] || (P[0] = (R) => l("update:show", R))
|
|
@@ -13571,7 +13565,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13571
13565
|
onClick: O
|
|
13572
13566
|
}, {
|
|
13573
13567
|
default: M(() => [
|
|
13574
|
-
de(F(
|
|
13568
|
+
de(F(x.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.CLEAR")), 1)
|
|
13575
13569
|
]),
|
|
13576
13570
|
_: 1
|
|
13577
13571
|
}),
|
|
@@ -13581,7 +13575,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13581
13575
|
onClick: V
|
|
13582
13576
|
}, {
|
|
13583
13577
|
default: M(() => [
|
|
13584
|
-
de(F(
|
|
13578
|
+
de(F(x.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.APPLY")), 1)
|
|
13585
13579
|
]),
|
|
13586
13580
|
_: 1
|
|
13587
13581
|
})
|
|
@@ -13593,7 +13587,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13593
13587
|
class: "vc-global-filters-panel__filter"
|
|
13594
13588
|
}, [
|
|
13595
13589
|
w("label", U0, F(R.label), 1),
|
|
13596
|
-
|
|
13590
|
+
x.$slots[`filter-${R.id}`] ? z(x.$slots, `filter-${R.id}`, {
|
|
13597
13591
|
key: 0,
|
|
13598
13592
|
value: b.value[R.id],
|
|
13599
13593
|
updateValue: (E) => m(R.id, E)
|
|
@@ -13617,7 +13611,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13617
13611
|
"onUpdate:modelValue": (E) => m(R.id, E)
|
|
13618
13612
|
}, null, 8, ["model-value", "options", "placeholder", "multiple", "onUpdate:modelValue"])) : v(R.id) === "dateRange" ? (s(), g("div", z0, [
|
|
13619
13613
|
w("div", H0, [
|
|
13620
|
-
w("span", W0, F(
|
|
13614
|
+
w("span", W0, F(x.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.FROM")), 1),
|
|
13621
13615
|
T(a(Fe), {
|
|
13622
13616
|
"model-value": h(R.id),
|
|
13623
13617
|
type: "date",
|
|
@@ -13626,7 +13620,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13626
13620
|
}, null, 8, ["model-value", "onUpdate:modelValue"])
|
|
13627
13621
|
]),
|
|
13628
13622
|
w("div", G0, [
|
|
13629
|
-
w("span", q0, F(
|
|
13623
|
+
w("span", q0, F(x.$t("COMPONENTS.ORGANISMS.VC_TABLE.COLUMN_FILTER.TO")), 1),
|
|
13630
13624
|
T(a(Fe), {
|
|
13631
13625
|
"model-value": f(R.id),
|
|
13632
13626
|
type: "date",
|
|
@@ -13692,7 +13686,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13692
13686
|
rules: e.rules
|
|
13693
13687
|
}, {
|
|
13694
13688
|
default: M(({ errors: o, errorMessage: i }) => [
|
|
13695
|
-
T(st, { placement: "bottom" },
|
|
13689
|
+
T(st, { placement: "bottom" }, xe({
|
|
13696
13690
|
default: M(() => [
|
|
13697
13691
|
z(l.$slots, "default", {
|
|
13698
13692
|
errors: o,
|
|
@@ -13749,7 +13743,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13749
13743
|
"error-message": a(r) ? v : void 0,
|
|
13750
13744
|
"onUpdate:modelValue": d[0] || (d[0] = (b) => c.$emit("update", { field: e.fieldId || "", value: b })),
|
|
13751
13745
|
onBlur: (b) => i(u)
|
|
13752
|
-
},
|
|
13746
|
+
}, xe({ _: 2 }, [
|
|
13753
13747
|
a(o) && u.length > 0 ? {
|
|
13754
13748
|
name: "append-inner",
|
|
13755
13749
|
fn: M(() => [
|
|
@@ -13814,7 +13808,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13814
13808
|
"error-message": a(i) ? h : void 0,
|
|
13815
13809
|
"onUpdate:modelValue": p[0] || (p[0] = (f) => b.$emit("update", { field: e.fieldId || "", value: f })),
|
|
13816
13810
|
onBlur: (f) => v(m)
|
|
13817
|
-
},
|
|
13811
|
+
}, xe({ _: 2 }, [
|
|
13818
13812
|
a(c) && m.length > 0 ? {
|
|
13819
13813
|
name: "append-inner",
|
|
13820
13814
|
fn: M(() => [
|
|
@@ -13877,7 +13871,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
13877
13871
|
"error-message": a(o) ? m : void 0,
|
|
13878
13872
|
"onUpdate:modelValue": b[0] || (b[0] = (h) => v.$emit("update", { field: e.fieldId || "", value: h })),
|
|
13879
13873
|
onBlur: (h) => u(p)
|
|
13880
|
-
},
|
|
13874
|
+
}, xe({ _: 2 }, [
|
|
13881
13875
|
a(i) && p.length > 0 ? {
|
|
13882
13876
|
name: "append-inner",
|
|
13883
13877
|
fn: M(() => [
|
|
@@ -14066,7 +14060,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
14066
14060
|
},
|
|
14067
14061
|
emits: ["update", "blur"],
|
|
14068
14062
|
setup(e) {
|
|
14069
|
-
const { register: n, has: t, get: l } =
|
|
14063
|
+
const { register: n, has: t, get: l } = Is();
|
|
14070
14064
|
t("text") || n({ type: "text", component: ao, config: { editable: !0 } }), t("number") || n({ type: "number", component: d1, config: { editable: !0 } }), t("money") || n({ type: "money", component: r1, config: { editable: !0 } }), t("date") || n({ type: "date", component: Mn, config: { editable: !1 } }), t("time") || n({ type: "time", component: Mn, config: { editable: !1 } }), t("datetime") || n({ type: "datetime", component: Mn, config: { editable: !1 } }), t("date-ago") || n({ type: "date-ago", component: g1, config: { editable: !1 } }), t("image") || n({ type: "image", component: b1, config: { editable: !1 } }), t("status") || n({ type: "status", component: h1, config: { editable: !1 } }), t("status-icon") || n({ type: "status-icon", component: w1, config: { editable: !1 } }), t("link") || n({ type: "link", component: C1, config: { editable: !1 } }), t("html") || n({ type: "html", component: E1, config: { editable: !1 } });
|
|
14071
14065
|
const r = e, o = y(() => l(r.type)?.component || ao), i = y(() => {
|
|
14072
14066
|
const d = l(r.type)?.config?.editable ?? !1, u = {
|
|
@@ -14245,7 +14239,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
14245
14239
|
}), A1 = { class: "vc-data-table__row-wrapper" }, O1 = { class: "vc-data-table__group-label" }, M1 = { class: "vc-data-table__group-count" }, L1 = {
|
|
14246
14240
|
key: 2,
|
|
14247
14241
|
class: "vc-data-table__expansion-row"
|
|
14248
|
-
},
|
|
14242
|
+
}, I1 = { class: "vc-data-table__expansion-content" }, x1 = {
|
|
14249
14243
|
key: 3,
|
|
14250
14244
|
class: "vc-data-table__group-footer"
|
|
14251
14245
|
}, N1 = /* @__PURE__ */ Y({
|
|
@@ -14351,7 +14345,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
14351
14345
|
onSpacePress: o,
|
|
14352
14346
|
onMouseenter: i,
|
|
14353
14347
|
onMouseleave: c
|
|
14354
|
-
},
|
|
14348
|
+
}, xe({
|
|
14355
14349
|
default: M(() => [
|
|
14356
14350
|
e.showSelectionCell ? (s(), D(Vl, {
|
|
14357
14351
|
key: 0,
|
|
@@ -14426,11 +14420,11 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
14426
14420
|
} : void 0
|
|
14427
14421
|
]), 1032, ["selected", "active", "reorderable", "show-drag-handle", "index", "actions-position", "class"])) : L("", !0),
|
|
14428
14422
|
e.expandable && e.isExpanded && (!e.groupingEnabled || !e.expandableRowGroups || e.isGroupRowExpanded) ? (s(), g("div", L1, [
|
|
14429
|
-
w("div",
|
|
14423
|
+
w("div", I1, [
|
|
14430
14424
|
z(A.$slots, "expansion")
|
|
14431
14425
|
])
|
|
14432
14426
|
])) : L("", !0),
|
|
14433
|
-
e.groupingEnabled && e.isLastInGroup && A.$slots.groupfooter && (!e.expandableRowGroups || e.isGroupRowExpanded) ? (s(), g("div",
|
|
14427
|
+
e.groupingEnabled && e.isLastInGroup && A.$slots.groupfooter && (!e.expandableRowGroups || e.isGroupRowExpanded) ? (s(), g("div", x1, [
|
|
14434
14428
|
z(A.$slots, "groupfooter", {
|
|
14435
14429
|
data: e.item,
|
|
14436
14430
|
index: e.index
|
|
@@ -14548,11 +14542,11 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
14548
14542
|
for (const k of l.groupedData)
|
|
14549
14543
|
_.set(k.key, k.count);
|
|
14550
14544
|
return _;
|
|
14551
|
-
}), d = (_) => l.getItemGroupKey?.(_) ?? "", u = (_) => _ === 0 || d(i.value[_]) !== d(i.value[_ - 1]), v = (_) => _ === i.value.length - 1 || d(i.value[_]) !== d(i.value[_ + 1]), b = (_, k) => l.groupingEnabled ? l.getGlobalIndex(_) : k, p = (_, k) => r("group-toggle", _, k), m = (_, k,
|
|
14545
|
+
}), d = (_) => l.getItemGroupKey?.(_) ?? "", u = (_) => _ === 0 || d(i.value[_]) !== d(i.value[_ - 1]), v = (_) => _ === i.value.length - 1 || d(i.value[_]) !== d(i.value[_ + 1]), b = (_, k) => l.groupingEnabled ? l.getGlobalIndex(_) : k, p = (_, k) => r("group-toggle", _, k), m = (_, k, I) => r("row-click", _, k, I), h = (_) => r("row-mouseenter", _), f = () => r("row-mouseleave"), C = (_) => r("selection-change", _), S = (_, k, I) => r("expand-toggle", _, k, I), $ = (_, k) => r("row-edit", _, k), A = (_, k) => r("row-save", _, k), N = (_, k) => r("row-cancel", _, k), V = (_, k, I, U) => r("edit-complete", _, k, I, U), O = (_, k, I) => r("edit-cancel", _, k, I), x = (_, k, I) => r("cell-value-change", _, k, I), P = (_, k, I, U) => r("cell-click", _, k, I, U), R = B(null), E = y(() => R.value?.$el ?? void 0);
|
|
14552
14546
|
return n({ listEl: E }), (_, k) => (s(), g("div", {
|
|
14553
14547
|
class: "vc-data-table__body",
|
|
14554
14548
|
role: e.items.length ? "rowgroup" : "presentation",
|
|
14555
|
-
onScroll: k[0] || (k[0] = (
|
|
14549
|
+
onScroll: k[0] || (k[0] = (I) => _.$emit("scroll", I))
|
|
14556
14550
|
}, [
|
|
14557
14551
|
e.items.length === 0 && !e.loading ? (s(), g("div", V1, [
|
|
14558
14552
|
w("div", F1, [
|
|
@@ -14584,41 +14578,41 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
14584
14578
|
class: "vc-data-table__rows-container"
|
|
14585
14579
|
}, {
|
|
14586
14580
|
default: M(() => [
|
|
14587
|
-
(s(!0), g(J, null, ve(i.value, (
|
|
14588
|
-
key: e.getItemKey(
|
|
14589
|
-
}, { ref_for: !0 }, e.getRowProps(
|
|
14590
|
-
"is-new-row": e.newRowIndices?.has(b(
|
|
14581
|
+
(s(!0), g(J, null, ve(i.value, (I, U) => (s(), D(N1, Le({
|
|
14582
|
+
key: e.getItemKey(I, U)
|
|
14583
|
+
}, { ref_for: !0 }, e.getRowProps(I, b(I, U)), {
|
|
14584
|
+
"is-new-row": e.newRowIndices?.has(b(I, U)),
|
|
14591
14585
|
"grouping-enabled": e.groupingEnabled,
|
|
14592
|
-
"group-key": e.groupingEnabled ? d(
|
|
14586
|
+
"group-key": e.groupingEnabled ? d(I) : void 0,
|
|
14593
14587
|
"is-first-in-group": e.groupingEnabled ? u(U) : !1,
|
|
14594
14588
|
"is-last-in-group": e.groupingEnabled ? v(U) : !1,
|
|
14595
|
-
"group-count": e.groupingEnabled && u(U) ? c.value?.get(d(
|
|
14589
|
+
"group-count": e.groupingEnabled && u(U) ? c.value?.get(d(I)) ?? 0 : 0,
|
|
14596
14590
|
"expandable-row-groups": e.expandableRowGroups,
|
|
14597
|
-
"is-group-row-expanded": e.groupingEnabled ? e.isGroupExpanded(d(
|
|
14598
|
-
onClick: (q) => m(
|
|
14591
|
+
"is-group-row-expanded": e.groupingEnabled ? e.isGroupExpanded(d(I)) : !0,
|
|
14592
|
+
onClick: (q) => m(I, b(I, U), q),
|
|
14599
14593
|
onMouseenter: h,
|
|
14600
14594
|
onMouseleave: f,
|
|
14601
|
-
onSelectionChange: () => C(
|
|
14602
|
-
onExpandToggle: (q) => S(
|
|
14603
|
-
onRowEdit: () => $(
|
|
14604
|
-
onRowSave: () => A(
|
|
14605
|
-
onRowCancel: () => N(
|
|
14606
|
-
onEditComplete: (q, K) => V(
|
|
14607
|
-
onEditCancel: (q) => O(
|
|
14608
|
-
onCellValueChange: (q, K) =>
|
|
14609
|
-
onCellClick: (q) => P(
|
|
14610
|
-
onGroupToggle: (q) => p(d(
|
|
14595
|
+
onSelectionChange: () => C(I),
|
|
14596
|
+
onExpandToggle: (q) => S(I, b(I, U), q),
|
|
14597
|
+
onRowEdit: () => $(I, b(I, U)),
|
|
14598
|
+
onRowSave: () => A(I, b(I, U)),
|
|
14599
|
+
onRowCancel: () => N(I, b(I, U)),
|
|
14600
|
+
onEditComplete: (q, K) => V(I, q, b(I, U), K),
|
|
14601
|
+
onEditCancel: (q) => O(I, q, b(I, U)),
|
|
14602
|
+
onCellValueChange: (q, K) => x(q, b(I, U), K),
|
|
14603
|
+
onCellClick: (q) => P(I, q.props.field || q.props.id, b(I, U), q),
|
|
14604
|
+
onGroupToggle: (q) => p(d(I), q)
|
|
14611
14605
|
}), {
|
|
14612
14606
|
actions: M(() => [
|
|
14613
14607
|
z(_.$slots, "row-actions", {
|
|
14614
|
-
item:
|
|
14615
|
-
index: b(
|
|
14608
|
+
item: I,
|
|
14609
|
+
index: b(I, U)
|
|
14616
14610
|
})
|
|
14617
14611
|
]),
|
|
14618
14612
|
expansion: M(() => [
|
|
14619
14613
|
z(_.$slots, "expansion", {
|
|
14620
|
-
data:
|
|
14621
|
-
index: b(
|
|
14614
|
+
data: I,
|
|
14615
|
+
index: b(I, U)
|
|
14622
14616
|
})
|
|
14623
14617
|
]),
|
|
14624
14618
|
groupheader: M((q) => [
|
|
@@ -14737,7 +14731,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
14737
14731
|
variant: "header",
|
|
14738
14732
|
"show-drag-handle": e.showDragHandle,
|
|
14739
14733
|
"actions-position": e.actionsPosition
|
|
14740
|
-
},
|
|
14734
|
+
}, xe({
|
|
14741
14735
|
default: M(() => [
|
|
14742
14736
|
e.showSelectionCell ? (s(), D(lo, {
|
|
14743
14737
|
key: 0,
|
|
@@ -14804,7 +14798,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
14804
14798
|
"model-value": e.getFilterValue(f),
|
|
14805
14799
|
onApply: (C) => b(f, C),
|
|
14806
14800
|
onClear: (C) => p(f)
|
|
14807
|
-
},
|
|
14801
|
+
}, xe({ _: 2 }, [
|
|
14808
14802
|
f.slots.filter ? {
|
|
14809
14803
|
name: "filter",
|
|
14810
14804
|
fn: M(({
|
|
@@ -14815,7 +14809,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
14815
14809
|
endDate: N,
|
|
14816
14810
|
updateEndDate: V,
|
|
14817
14811
|
applyFilter: O,
|
|
14818
|
-
clearFilter:
|
|
14812
|
+
clearFilter: x
|
|
14819
14813
|
}) => [
|
|
14820
14814
|
T(a(ol), {
|
|
14821
14815
|
"slot-fn": f.slots.filter,
|
|
@@ -14828,7 +14822,7 @@ const F0 = { class: "vc-global-filters-panel__content" }, U0 = { class: "vc-glob
|
|
|
14828
14822
|
endDate: N,
|
|
14829
14823
|
updateEndDate: V,
|
|
14830
14824
|
applyFilter: O,
|
|
14831
|
-
clearFilter:
|
|
14825
|
+
clearFilter: x
|
|
14832
14826
|
}
|
|
14833
14827
|
}, null, 8, ["slot-fn", "scope"])
|
|
14834
14828
|
]),
|
|
@@ -15067,7 +15061,7 @@ const tC = {
|
|
|
15067
15061
|
function b() {
|
|
15068
15062
|
u.value && (clearTimeout(u.value), u.value = null), d.value = !1;
|
|
15069
15063
|
}
|
|
15070
|
-
const p = B(0), m = B(0), h = B(!1), f = B(!1), C = B(null), S = B(0), $ = B(0), A = B(0), N = B(0), V = B(0), O = B(0),
|
|
15064
|
+
const p = B(0), m = B(0), h = B(!1), f = B(!1), C = B(null), S = B(0), $ = B(0), A = B(0), N = B(0), V = B(0), O = B(0), x = B(null), { activeSwipeId: P, setActiveSwipe: R } = eC(), E = y(() => t.item[t.dataKey] ?? `item-${t.index}`), _ = y(() => t.anySelected && t.selectionMode !== void 0), k = y(() => t.anySelected ? [] : t.actions ?? []), I = y(() => k.value.length > 2), U = y(() => k.value.slice(0, 2)), q = y(() => t.actions ?? []), K = y(() => {
|
|
15071
15065
|
const re = k.value.length;
|
|
15072
15066
|
return Math.min(re, re > 2 ? 3 : 2) * 70;
|
|
15073
15067
|
});
|
|
@@ -15088,19 +15082,19 @@ const tC = {
|
|
|
15088
15082
|
function me(re) {
|
|
15089
15083
|
if (h.value || k.value.length === 0) return;
|
|
15090
15084
|
const se = re.touches[0];
|
|
15091
|
-
S.value = se.clientX, $.value = se.clientY, A.value = p.value, N.value = 0, V.value = Date.now(), O.value = se.clientX,
|
|
15085
|
+
S.value = se.clientX, $.value = se.clientY, A.value = p.value, N.value = 0, V.value = Date.now(), O.value = se.clientX, x.value = null, R(String(E.value));
|
|
15092
15086
|
}
|
|
15093
15087
|
function j(re) {
|
|
15094
15088
|
if (h.value || k.value.length === 0 || P.value !== String(E.value)) return;
|
|
15095
15089
|
const se = re.touches[0], ee = se.clientX, fe = ee - S.value, ie = se.clientY - $.value;
|
|
15096
|
-
if (
|
|
15090
|
+
if (x.value === null) {
|
|
15097
15091
|
const He = Math.abs(fe), nt = Math.abs(ie);
|
|
15098
15092
|
if (He >= oo || nt >= oo)
|
|
15099
|
-
|
|
15093
|
+
x.value = He > nt ? "horizontal" : "vertical";
|
|
15100
15094
|
else
|
|
15101
15095
|
return;
|
|
15102
15096
|
}
|
|
15103
|
-
if (
|
|
15097
|
+
if (x.value === "vertical")
|
|
15104
15098
|
return;
|
|
15105
15099
|
re.preventDefault();
|
|
15106
15100
|
const ye = Date.now(), Se = ye - V.value;
|
|
@@ -15113,8 +15107,8 @@ const tC = {
|
|
|
15113
15107
|
Te > 0 && (Te = 0), p.value = Te, m.value = Math.abs(Te);
|
|
15114
15108
|
}
|
|
15115
15109
|
function G() {
|
|
15116
|
-
const re =
|
|
15117
|
-
if (
|
|
15110
|
+
const re = x.value === "vertical" || x.value === null;
|
|
15111
|
+
if (x.value = null, re || h.value || k.value.length === 0 || P.value !== String(E.value)) return;
|
|
15118
15112
|
const se = Math.abs(N.value), ee = N.value < 0 ? -1 : 1;
|
|
15119
15113
|
if (se > 0.5)
|
|
15120
15114
|
ee < 0 ? te(-K.value) : te(0);
|
|
@@ -15334,7 +15328,7 @@ const tC = {
|
|
|
15334
15328
|
onTouchstart: se[7] || (se[7] = ue(() => {
|
|
15335
15329
|
}, ["stop"]))
|
|
15336
15330
|
}, [
|
|
15337
|
-
|
|
15331
|
+
I.value ? (s(), g("button", {
|
|
15338
15332
|
key: 0,
|
|
15339
15333
|
class: "vc-data-table-mobile-card__action vc-data-table-mobile-card__action--more",
|
|
15340
15334
|
onClick: ue(H, ["stop"])
|
|
@@ -15370,7 +15364,7 @@ const tC = {
|
|
|
15370
15364
|
[a(dl), ae]
|
|
15371
15365
|
]);
|
|
15372
15366
|
}
|
|
15373
|
-
}), nl = ["top-left", "top-right", "bottom-left", "bottom-right"],
|
|
15367
|
+
}), nl = ["top-left", "top-right", "bottom-left", "bottom-right"], Ii = 4, mC = /* @__PURE__ */ new Set(["status", "status-icon"]), pC = /* @__PURE__ */ new Set(["text", "link", "html"]);
|
|
15374
15368
|
function gC(e, n) {
|
|
15375
15369
|
switch (e) {
|
|
15376
15370
|
case "image":
|
|
@@ -15412,7 +15406,7 @@ function hC(e) {
|
|
|
15412
15406
|
i && n.push(Rl(i, "top-left", !0)), l && n.push(Rl(l, "image"));
|
|
15413
15407
|
for (const d of r)
|
|
15414
15408
|
n.push(Rl(d, "status"));
|
|
15415
|
-
const c = o.filter((d) => d !== i).slice(0,
|
|
15409
|
+
const c = o.filter((d) => d !== i).slice(0, Ii);
|
|
15416
15410
|
for (let d = 0; d < c.length; d++)
|
|
15417
15411
|
n.push(Rl(c[d], nl[d]));
|
|
15418
15412
|
return n;
|
|
@@ -15472,7 +15466,7 @@ function yC(e) {
|
|
|
15472
15466
|
position: h[f]
|
|
15473
15467
|
});
|
|
15474
15468
|
}
|
|
15475
|
-
return o.fields = m.slice(0,
|
|
15469
|
+
return o.fields = m.slice(0, Ii), o.fields.sort((f, C) => {
|
|
15476
15470
|
const S = nl.indexOf(f.position), $ = nl.indexOf(C.position);
|
|
15477
15471
|
return S - $;
|
|
15478
15472
|
}), o;
|
|
@@ -15502,7 +15496,7 @@ const wC = { class: "vc-pull-to-refresh__indicator-content" }, CC = { class: "vc
|
|
|
15502
15496
|
})), O = y(() => ({
|
|
15503
15497
|
transform: `translateY(${d.value}px)`
|
|
15504
15498
|
}));
|
|
15505
|
-
function
|
|
15499
|
+
function x() {
|
|
15506
15500
|
if (!c.value) return !0;
|
|
15507
15501
|
let k = c.value;
|
|
15508
15502
|
for (; k; ) {
|
|
@@ -15512,13 +15506,13 @@ const wC = { class: "vc-pull-to-refresh__indicator-content" }, CC = { class: "vc
|
|
|
15512
15506
|
}
|
|
15513
15507
|
return !0;
|
|
15514
15508
|
}
|
|
15515
|
-
function P(k,
|
|
15509
|
+
function P(k, I = 300) {
|
|
15516
15510
|
p.value !== null && cancelAnimationFrame(p.value);
|
|
15517
15511
|
const U = d.value, q = performance.now();
|
|
15518
15512
|
let K = h.value, te = U;
|
|
15519
15513
|
b.value = !0;
|
|
15520
15514
|
function me(j) {
|
|
15521
|
-
if (j - q <
|
|
15515
|
+
if (j - q < I) {
|
|
15522
15516
|
const ae = (k - te) * _C, Z = K * kC, W = (ae - Z) / EC;
|
|
15523
15517
|
K += W, te += K, d.value = Math.max(0, te), p.value = requestAnimationFrame(me);
|
|
15524
15518
|
} else
|
|
@@ -15527,9 +15521,9 @@ const wC = { class: "vc-pull-to-refresh__indicator-content" }, CC = { class: "vc
|
|
|
15527
15521
|
p.value = requestAnimationFrame(me);
|
|
15528
15522
|
}
|
|
15529
15523
|
function R(k) {
|
|
15530
|
-
if (!S.value || b.value || !
|
|
15531
|
-
const
|
|
15532
|
-
m.value =
|
|
15524
|
+
if (!S.value || b.value || !x()) return;
|
|
15525
|
+
const I = k.touches[0];
|
|
15526
|
+
m.value = I.clientY, h.value = 0, f.value = Date.now(), C.value = I.clientY, u.value = !0;
|
|
15533
15527
|
}
|
|
15534
15528
|
function E(k) {
|
|
15535
15529
|
if (!S.value || !u.value || b.value) return;
|
|
@@ -15550,8 +15544,8 @@ const wC = { class: "vc-pull-to-refresh__indicator-content" }, CC = { class: "vc
|
|
|
15550
15544
|
}
|
|
15551
15545
|
return oe(
|
|
15552
15546
|
() => l.refreshing,
|
|
15553
|
-
(k,
|
|
15554
|
-
|
|
15547
|
+
(k, I) => {
|
|
15548
|
+
I && !k && P(0);
|
|
15555
15549
|
}
|
|
15556
15550
|
), Ot(() => {
|
|
15557
15551
|
p.value !== null && cancelAnimationFrame(p.value);
|
|
@@ -15559,7 +15553,7 @@ const wC = { class: "vc-pull-to-refresh__indicator-content" }, CC = { class: "vc
|
|
|
15559
15553
|
pullDistance: d,
|
|
15560
15554
|
canRelease: v,
|
|
15561
15555
|
isPulling: u
|
|
15562
|
-
}), (k,
|
|
15556
|
+
}), (k, I) => (s(), g("div", {
|
|
15563
15557
|
ref_key: "containerRef",
|
|
15564
15558
|
ref: c,
|
|
15565
15559
|
class: "vc-pull-to-refresh",
|
|
@@ -15641,8 +15635,8 @@ const wC = { class: "vc-pull-to-refresh__indicator-content" }, CC = { class: "vc
|
|
|
15641
15635
|
icon: V.icon || "lucide-ellipsis",
|
|
15642
15636
|
type: m(V.variant),
|
|
15643
15637
|
disabled: V.disabled,
|
|
15644
|
-
clickHandler: (O,
|
|
15645
|
-
V.clickHandler?.(O,
|
|
15638
|
+
clickHandler: (O, x) => {
|
|
15639
|
+
V.clickHandler?.(O, x);
|
|
15646
15640
|
}
|
|
15647
15641
|
})) : [];
|
|
15648
15642
|
}
|
|
@@ -15733,9 +15727,9 @@ const wC = { class: "vc-pull-to-refresh__indicator-content" }, CC = { class: "vc
|
|
|
15733
15727
|
onClick: h,
|
|
15734
15728
|
onSelect: f,
|
|
15735
15729
|
onAction: C,
|
|
15736
|
-
onCellValueChange: (
|
|
15737
|
-
onExpandToggle: (
|
|
15738
|
-
},
|
|
15730
|
+
onCellValueChange: (x, P) => r("cell-value-change", x, O, P),
|
|
15731
|
+
onExpandToggle: (x, P, R) => r("expand-toggle", x, P, R)
|
|
15732
|
+
}, xe({ _: 2 }, [
|
|
15739
15733
|
A.$slots.expansion ? {
|
|
15740
15734
|
name: "expansion",
|
|
15741
15735
|
fn: M(() => [
|
|
@@ -15767,7 +15761,7 @@ function MC(e) {
|
|
|
15767
15761
|
}
|
|
15768
15762
|
const r = t.map((c) => c.spec.weight * n), o = t.map((c, d) => Math.max(c.spec.minPx, Math.min(r[d], c.spec.maxPx)));
|
|
15769
15763
|
let i = n - o.reduce((c, d) => c + d, 0);
|
|
15770
|
-
return l === "gap" && i >= 0 ? io(t, o, i, n) : (i > 0 && (LC(t, o, i), i = n - o.reduce((c, d) => c + d, 0)), i < 0 && (
|
|
15764
|
+
return l === "gap" && i >= 0 ? io(t, o, i, n) : (i > 0 && (LC(t, o, i), i = n - o.reduce((c, d) => c + d, 0)), i < 0 && (IC(t, o, i), i = n - o.reduce((c, d) => c + d, 0)), i < -0.5 && (xC(t, o, n), i = 0), io(t, o, 0, n));
|
|
15771
15765
|
}
|
|
15772
15766
|
function LC(e, n, t) {
|
|
15773
15767
|
let l = t;
|
|
@@ -15796,7 +15790,7 @@ function LC(e, n, t) {
|
|
|
15796
15790
|
l -= u;
|
|
15797
15791
|
}
|
|
15798
15792
|
}
|
|
15799
|
-
function
|
|
15793
|
+
function IC(e, n, t) {
|
|
15800
15794
|
let l = Math.abs(t);
|
|
15801
15795
|
const r = e.length;
|
|
15802
15796
|
for (let o = 0; o < r && l > 0.5; o++) {
|
|
@@ -15815,7 +15809,7 @@ function xC(e, n, t) {
|
|
|
15815
15809
|
l -= d;
|
|
15816
15810
|
}
|
|
15817
15811
|
}
|
|
15818
|
-
function
|
|
15812
|
+
function xC(e, n, t) {
|
|
15819
15813
|
console.warn(
|
|
15820
15814
|
`[VcDataTable] Column width crisis: sum(minPx)=${e.reduce((r, o) => r + o.spec.minPx, 0)}px > availableWidth=${t}px. Columns will be squeezed below their minimum widths.`
|
|
15821
15815
|
);
|
|
@@ -15885,7 +15879,7 @@ function BC(e, n) {
|
|
|
15885
15879
|
d[u] = c > 0 ? r[u] / c : 1 / e.length;
|
|
15886
15880
|
return d;
|
|
15887
15881
|
}
|
|
15888
|
-
function
|
|
15882
|
+
function In(e, n) {
|
|
15889
15883
|
const t = n.reduce((l, r) => l + (e[r]?.weight ?? 0), 0);
|
|
15890
15884
|
if (t <= 0) {
|
|
15891
15885
|
const l = 1 / n.length;
|
|
@@ -15928,7 +15922,7 @@ function DC(e) {
|
|
|
15928
15922
|
}, N = () => {
|
|
15929
15923
|
v.value = !1, h = "", m = {}, f = [];
|
|
15930
15924
|
}, V = (q, K) => {
|
|
15931
|
-
$(q) && (b = K.pageX, document.body.style.cursor = "col-resize", document.body.style.userSelect = "none", document.addEventListener("mousemove",
|
|
15925
|
+
$(q) && (b = K.pageX, document.body.style.cursor = "col-resize", document.body.style.userSelect = "none", document.addEventListener("mousemove", x), document.addEventListener("mouseup", P));
|
|
15932
15926
|
}, O = (q) => {
|
|
15933
15927
|
const K = r();
|
|
15934
15928
|
if (K <= 0) return;
|
|
@@ -15967,14 +15961,14 @@ function DC(e) {
|
|
|
15967
15961
|
for (const se of re)
|
|
15968
15962
|
ne[se] && H[se] !== void 0 && (ne[se].weight = H[se] / K);
|
|
15969
15963
|
n.value = { ...n.value, specs: ne }, l();
|
|
15970
|
-
},
|
|
15964
|
+
}, x = (q) => {
|
|
15971
15965
|
if (!v.value || !h) return;
|
|
15972
15966
|
const K = q.pageX - b;
|
|
15973
15967
|
p && cancelAnimationFrame(p), p = requestAnimationFrame(() => {
|
|
15974
15968
|
A(K), p = 0;
|
|
15975
15969
|
});
|
|
15976
15970
|
}, P = () => {
|
|
15977
|
-
v.value && (p && (cancelAnimationFrame(p), p = 0), N(), document.body.style.cursor = "", document.body.style.userSelect = "", document.removeEventListener("mousemove",
|
|
15971
|
+
v.value && (p && (cancelAnimationFrame(p), p = 0), N(), document.body.style.cursor = "", document.body.style.userSelect = "", document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", P), d?.());
|
|
15978
15972
|
}, R = (q, K) => ({
|
|
15979
15973
|
resizable: !0,
|
|
15980
15974
|
columnId: q,
|
|
@@ -15984,7 +15978,7 @@ function DC(e) {
|
|
|
15984
15978
|
}
|
|
15985
15979
|
});
|
|
15986
15980
|
let E = null, _ = !1, k = 0;
|
|
15987
|
-
const
|
|
15981
|
+
const I = () => {
|
|
15988
15982
|
k || (k = requestAnimationFrame(() => {
|
|
15989
15983
|
k = 0, v.value || l();
|
|
15990
15984
|
}));
|
|
@@ -15995,7 +15989,7 @@ function DC(e) {
|
|
|
15995
15989
|
_ = !0, l();
|
|
15996
15990
|
return;
|
|
15997
15991
|
}
|
|
15998
|
-
|
|
15992
|
+
I();
|
|
15999
15993
|
}
|
|
16000
15994
|
}), E.observe(u.value));
|
|
16001
15995
|
};
|
|
@@ -16006,7 +16000,7 @@ function DC(e) {
|
|
|
16006
16000
|
},
|
|
16007
16001
|
{ immediate: !0 }
|
|
16008
16002
|
), We(() => {
|
|
16009
|
-
k && cancelAnimationFrame(k), E?.disconnect(), v.value && (p && cancelAnimationFrame(p), document.removeEventListener("mousemove",
|
|
16003
|
+
k && cancelAnimationFrame(k), E?.disconnect(), v.value && (p && cancelAnimationFrame(p), document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", P), document.body.style.cursor = "", document.body.style.userSelect = "", v.value = !1);
|
|
16010
16004
|
}), {
|
|
16011
16005
|
isResizing: v,
|
|
16012
16006
|
handleResizeStart: V,
|
|
@@ -16036,8 +16030,8 @@ function PC(e) {
|
|
|
16036
16030
|
if (!h) return;
|
|
16037
16031
|
const f = h.getAttribute("data-column-id");
|
|
16038
16032
|
if (!f || f === r) return;
|
|
16039
|
-
const C = h.getBoundingClientRect(), S = C.left + C.width / 2, $ = p.clientX, A = n.value.order, N = A.indexOf(r), V = A.indexOf(f), O = N > V,
|
|
16040
|
-
if ((O && $ < S ||
|
|
16033
|
+
const C = h.getBoundingClientRect(), S = C.left + C.width / 2, $ = p.clientX, A = n.value.order, N = A.indexOf(r), V = A.indexOf(f), O = N > V, x = N < V;
|
|
16034
|
+
if ((O && $ < S || x && $ > S) && N !== -1 && V !== -1 && N !== V) {
|
|
16041
16035
|
const R = [...A], [E] = R.splice(N, 1);
|
|
16042
16036
|
R.splice(V, 0, E), n.value = { ...n.value, order: R };
|
|
16043
16037
|
}
|
|
@@ -16123,7 +16117,7 @@ function VC(e, n, t) {
|
|
|
16123
16117
|
pendingReorder: o
|
|
16124
16118
|
};
|
|
16125
16119
|
}
|
|
16126
|
-
function
|
|
16120
|
+
function xn(e) {
|
|
16127
16121
|
try {
|
|
16128
16122
|
return structuredClone(yo(e));
|
|
16129
16123
|
} catch {
|
|
@@ -16144,13 +16138,13 @@ function FC(e) {
|
|
|
16144
16138
|
te.delete(K), S.value = te;
|
|
16145
16139
|
}
|
|
16146
16140
|
}, A = (K, te) => `${K}:${te}`, N = () => {
|
|
16147
|
-
c = n.value.map((K) =>
|
|
16141
|
+
c = n.value.map((K) => xn(K)), f(), C.value = /* @__PURE__ */ new Map(), i.value = !0;
|
|
16148
16142
|
}, V = () => {
|
|
16149
|
-
n.value.splice(0, n.value.length, ...c.map((K) =>
|
|
16143
|
+
n.value.splice(0, n.value.length, ...c.map((K) => xn(K))), f(), C.value = /* @__PURE__ */ new Map(), i.value = !1, o?.();
|
|
16150
16144
|
}, O = async () => {
|
|
16151
16145
|
const { valid: K } = await h();
|
|
16152
|
-
K && (r && await r(_.value), c = n.value.map((te) =>
|
|
16153
|
-
},
|
|
16146
|
+
K && (r && await r(_.value), c = n.value.map((te) => xn(te)), f(), C.value = /* @__PURE__ */ new Map(), i.value = !1);
|
|
16147
|
+
}, x = (K, te, me) => {
|
|
16154
16148
|
if (K < 0 || K >= n.value.length) return;
|
|
16155
16149
|
const j = A(K, te), G = n.value[K];
|
|
16156
16150
|
G[te] = me;
|
|
@@ -16178,7 +16172,7 @@ function FC(e) {
|
|
|
16178
16172
|
startEditing: N,
|
|
16179
16173
|
cancelEditing: V,
|
|
16180
16174
|
saveChanges: O,
|
|
16181
|
-
updateCell:
|
|
16175
|
+
updateCell: x,
|
|
16182
16176
|
getCellValue: P,
|
|
16183
16177
|
isCellDirty: R,
|
|
16184
16178
|
isDirty: k,
|
|
@@ -16215,7 +16209,7 @@ function FC(e) {
|
|
|
16215
16209
|
rowIndex: K,
|
|
16216
16210
|
rules: me,
|
|
16217
16211
|
onUpdate: (j) => {
|
|
16218
|
-
|
|
16212
|
+
x(K, j.field, j.value);
|
|
16219
16213
|
},
|
|
16220
16214
|
onBlur: (j) => {
|
|
16221
16215
|
}
|
|
@@ -16240,8 +16234,8 @@ function eR(e) {
|
|
|
16240
16234
|
const P = r, R = n.value.length;
|
|
16241
16235
|
if (R === 0 || v.value === 0)
|
|
16242
16236
|
return { start: 0, end: 0 };
|
|
16243
|
-
const E = Math.floor(u.value / t), _ = Math.max(0, E - P), k = Math.ceil(v.value / t),
|
|
16244
|
-
return { start: _, end:
|
|
16237
|
+
const E = Math.floor(u.value / t), _ = Math.max(0, E - P), k = Math.ceil(v.value / t), I = Math.min(R, E + k + P * 2);
|
|
16238
|
+
return { start: _, end: I };
|
|
16245
16239
|
}), f = y(() => {
|
|
16246
16240
|
const { start: P, end: R } = h.value;
|
|
16247
16241
|
return n.value.slice(P, R).map((_, k) => ({
|
|
@@ -16272,7 +16266,7 @@ function eR(e) {
|
|
|
16272
16266
|
l.value.scrollTo({ top: Math.max(0, R), behavior: P });
|
|
16273
16267
|
}, O = () => {
|
|
16274
16268
|
l.value && (v.value = l.value.clientHeight, u.value = l.value.scrollTop);
|
|
16275
|
-
},
|
|
16269
|
+
}, x = () => {
|
|
16276
16270
|
O();
|
|
16277
16271
|
};
|
|
16278
16272
|
return oe(
|
|
@@ -16287,9 +16281,9 @@ function eR(e) {
|
|
|
16287
16281
|
R > 0 && P !== R && (m = { start: -1, end: -1 });
|
|
16288
16282
|
}
|
|
16289
16283
|
), tt(() => {
|
|
16290
|
-
O(), window.addEventListener("resize",
|
|
16284
|
+
O(), window.addEventListener("resize", x);
|
|
16291
16285
|
}), We(() => {
|
|
16292
|
-
window.removeEventListener("resize",
|
|
16286
|
+
window.removeEventListener("resize", x), p && clearTimeout(p);
|
|
16293
16287
|
}), {
|
|
16294
16288
|
visibleItems: f,
|
|
16295
16289
|
totalHeight: C,
|
|
@@ -16324,47 +16318,47 @@ function UC(e) {
|
|
|
16324
16318
|
);
|
|
16325
16319
|
const v = y(() => !!t.value), b = y(() => t.value ? Array.isArray(t.value) ? t.value[0] : t.value : null), p = (O) => {
|
|
16326
16320
|
if (!b.value) return "";
|
|
16327
|
-
const
|
|
16328
|
-
return String(
|
|
16321
|
+
const x = aa(O, b.value);
|
|
16322
|
+
return String(x ?? "undefined");
|
|
16329
16323
|
}, m = y(() => {
|
|
16330
16324
|
if (!v.value || !b.value)
|
|
16331
16325
|
return null;
|
|
16332
16326
|
const O = /* @__PURE__ */ new Map();
|
|
16333
|
-
for (const
|
|
16334
|
-
const P = p(
|
|
16335
|
-
O.has(P) || O.set(P, []), O.get(P).push(
|
|
16327
|
+
for (const x of n.value) {
|
|
16328
|
+
const P = p(x);
|
|
16329
|
+
O.has(P) || O.set(P, []), O.get(P).push(x);
|
|
16336
16330
|
}
|
|
16337
16331
|
return O;
|
|
16338
16332
|
}), h = y(() => {
|
|
16339
16333
|
if (!m.value)
|
|
16340
16334
|
return [];
|
|
16341
16335
|
const O = [];
|
|
16342
|
-
return m.value.forEach((
|
|
16336
|
+
return m.value.forEach((x, P) => {
|
|
16343
16337
|
O.push({
|
|
16344
16338
|
key: P,
|
|
16345
|
-
items:
|
|
16346
|
-
firstItem:
|
|
16347
|
-
count:
|
|
16339
|
+
items: x,
|
|
16340
|
+
firstItem: x[0],
|
|
16341
|
+
count: x.length
|
|
16348
16342
|
});
|
|
16349
16343
|
}), O;
|
|
16350
|
-
}), f = (O) => r?.value ? u.value.includes(O) : !0, C = (O,
|
|
16344
|
+
}), f = (O) => r?.value ? u.value.includes(O) : !0, C = (O, x) => {
|
|
16351
16345
|
if (!r?.value)
|
|
16352
16346
|
return;
|
|
16353
|
-
f(O) ? (u.value = u.value.filter((R) => R !== O), d?.({ data: O, originalEvent:
|
|
16347
|
+
f(O) ? (u.value = u.value.filter((R) => R !== O), d?.({ data: O, originalEvent: x })) : (u.value = [...u.value, O], c?.({ data: O, originalEvent: x })), i?.(u.value);
|
|
16354
16348
|
}, S = (O) => {
|
|
16355
16349
|
!r?.value || f(O) || (u.value = [...u.value, O], i?.(u.value));
|
|
16356
16350
|
}, $ = (O) => {
|
|
16357
|
-
!r?.value || !f(O) || (u.value = u.value.filter((
|
|
16351
|
+
!r?.value || !f(O) || (u.value = u.value.filter((x) => x !== O), i?.(u.value));
|
|
16358
16352
|
}, A = () => {
|
|
16359
16353
|
if (!r?.value || !m.value)
|
|
16360
16354
|
return;
|
|
16361
16355
|
const O = [];
|
|
16362
|
-
m.value.forEach((
|
|
16356
|
+
m.value.forEach((x, P) => O.push(P)), u.value = O, i?.(u.value);
|
|
16363
16357
|
}, N = () => {
|
|
16364
16358
|
r?.value && (u.value = [], i?.(u.value));
|
|
16365
16359
|
}, V = y(() => !v.value || !r?.value ? n.value : n.value.filter((O) => {
|
|
16366
|
-
const
|
|
16367
|
-
return f(
|
|
16360
|
+
const x = p(O);
|
|
16361
|
+
return f(x);
|
|
16368
16362
|
}));
|
|
16369
16363
|
return {
|
|
16370
16364
|
groupedItems: m,
|
|
@@ -16544,8 +16538,8 @@ function WC(e) {
|
|
|
16544
16538
|
[A]: { ...V, fields: P }
|
|
16545
16539
|
};
|
|
16546
16540
|
}
|
|
16547
|
-
const
|
|
16548
|
-
return { data: S, field: $, newValue:
|
|
16541
|
+
const x = O ? O[$] : N;
|
|
16542
|
+
return { data: S, field: $, newValue: x, index: A };
|
|
16549
16543
|
},
|
|
16550
16544
|
cancelCellEdit: (S, $, A) => {
|
|
16551
16545
|
if (n.value !== "cell")
|
|
@@ -16663,35 +16657,35 @@ function qC(e) {
|
|
|
16663
16657
|
);
|
|
16664
16658
|
const p = y(() => new Set(v.value.map((k) => o(k, -1)))), m = y(() => r ? n.value.filter(r) : n.value), h = y(() => !n.value || n.value.length === 0 || m.value.length === 0 ? !1 : m.value.every((k) => $(k))), f = y(() => {
|
|
16665
16659
|
if (!n.value || n.value.length === 0 || m.value.length === 0) return !1;
|
|
16666
|
-
const k = m.value.filter((
|
|
16660
|
+
const k = m.value.filter((I) => $(I)).length;
|
|
16667
16661
|
return k > 0 && k < m.value.length;
|
|
16668
16662
|
}), C = y(() => !d?.value || !i?.value || b.value ? !1 : h.value && i.value > n.value.length), S = y(() => ({
|
|
16669
16663
|
count: b.value ? i?.value ?? v.value.length : v.value.length,
|
|
16670
16664
|
isSelectAll: b.value,
|
|
16671
16665
|
totalCount: i?.value
|
|
16672
16666
|
})), $ = (k) => {
|
|
16673
|
-
const
|
|
16674
|
-
return p.value.has(
|
|
16675
|
-
}, A = (k) => r ? r(k) : !0, N = (k,
|
|
16667
|
+
const I = o(k, -1);
|
|
16668
|
+
return p.value.has(I);
|
|
16669
|
+
}, A = (k) => r ? r(k) : !0, N = (k, I) => {
|
|
16676
16670
|
if (!A(k)) return null;
|
|
16677
16671
|
const U = l.value, q = o(k, -1);
|
|
16678
16672
|
return U === "single" ? v.value = [k] : p.value.has(q) || (v.value = [...v.value, k]), {
|
|
16679
16673
|
data: k,
|
|
16680
|
-
originalEvent:
|
|
16674
|
+
originalEvent: I || new Event("select")
|
|
16681
16675
|
};
|
|
16682
|
-
}, V = (k,
|
|
16676
|
+
}, V = (k, I) => {
|
|
16683
16677
|
const U = o(k, -1);
|
|
16684
16678
|
return v.value = v.value.filter((q) => o(q, -1) !== U), {
|
|
16685
16679
|
data: k,
|
|
16686
|
-
originalEvent:
|
|
16680
|
+
originalEvent: I || new Event("unselect")
|
|
16687
16681
|
};
|
|
16688
|
-
}, O = (k,
|
|
16682
|
+
}, O = (k, I) => {
|
|
16689
16683
|
if (!A(k))
|
|
16690
16684
|
return null;
|
|
16691
|
-
const U = $(k), q =
|
|
16685
|
+
const U = $(k), q = I instanceof Event ? I : new Event("change");
|
|
16692
16686
|
return U ? V(k, q) : N(k, q);
|
|
16693
|
-
},
|
|
16694
|
-
const U =
|
|
16687
|
+
}, x = (k, I) => {
|
|
16688
|
+
const U = I || new Event("change");
|
|
16695
16689
|
return k ? (v.value = [...m.value], {
|
|
16696
16690
|
data: m.value,
|
|
16697
16691
|
originalEvent: U
|
|
@@ -16712,8 +16706,8 @@ function qC(e) {
|
|
|
16712
16706
|
});
|
|
16713
16707
|
return oe(
|
|
16714
16708
|
() => v.value.length,
|
|
16715
|
-
(k,
|
|
16716
|
-
b.value && k <
|
|
16709
|
+
(k, I) => {
|
|
16710
|
+
b.value && k < I && (b.value = !1, u?.(!1));
|
|
16717
16711
|
}
|
|
16718
16712
|
), {
|
|
16719
16713
|
internalSelection: v,
|
|
@@ -16726,7 +16720,7 @@ function qC(e) {
|
|
|
16726
16720
|
isSelected: $,
|
|
16727
16721
|
canSelect: A,
|
|
16728
16722
|
handleRowSelectionChange: O,
|
|
16729
|
-
handleSelectAllChange:
|
|
16723
|
+
handleSelectAllChange: x,
|
|
16730
16724
|
selectItem: N,
|
|
16731
16725
|
unselectItem: V,
|
|
16732
16726
|
clearSelection: P,
|
|
@@ -16767,16 +16761,16 @@ function YC(e) {
|
|
|
16767
16761
|
if (k.rowReorder) return `${wt.rowReorder}px`;
|
|
16768
16762
|
if (k.expander) return `${wt.expander}px`;
|
|
16769
16763
|
if (k.rowEditor) return `${wt.rowEditor}px`;
|
|
16770
|
-
const
|
|
16771
|
-
if (
|
|
16764
|
+
const I = i.value.widths[k.id];
|
|
16765
|
+
if (I !== void 0 && I > 0) return `${I}px`;
|
|
16772
16766
|
const U = Tl(k.width, 0);
|
|
16773
16767
|
if (U.type === "px") return `${U.desiredPx}px`;
|
|
16774
16768
|
if (U.type === "percent" && typeof k.width == "string") return k.width.trim();
|
|
16775
16769
|
}, b = (k) => {
|
|
16776
16770
|
if (at(k)) return "center";
|
|
16777
|
-
const
|
|
16778
|
-
if (
|
|
16779
|
-
return
|
|
16771
|
+
const I = k.headerAlign || k.align;
|
|
16772
|
+
if (I)
|
|
16773
|
+
return I === "start" ? "left" : I === "end" ? "right" : I;
|
|
16780
16774
|
}, p = (k) => {
|
|
16781
16775
|
if (at(k)) return "center";
|
|
16782
16776
|
if (k.align)
|
|
@@ -16790,11 +16784,11 @@ function YC(e) {
|
|
|
16790
16784
|
maxWidth: `${wt.selection}px`
|
|
16791
16785
|
};
|
|
16792
16786
|
if (k.rowReorder || k.expander) {
|
|
16793
|
-
const
|
|
16794
|
-
return { textAlign: "center", justifyContent: "center", minWidth: `${
|
|
16787
|
+
const I = k.rowReorder ? wt.rowReorder : wt.expander;
|
|
16788
|
+
return { textAlign: "center", justifyContent: "center", minWidth: `${I}px`, maxWidth: `${I}px` };
|
|
16795
16789
|
}
|
|
16796
|
-
}, h = (k) => m(k), f = (k) => k.sortField || k.field || k.id, C = (k,
|
|
16797
|
-
const U =
|
|
16790
|
+
}, h = (k) => m(k), f = (k) => k.sortField || k.field || k.id, C = (k, I) => {
|
|
16791
|
+
const U = I && typeof I == "object" && "$el" in I ? I.$el : I;
|
|
16798
16792
|
U ? c.set(k, U) : c.delete(k);
|
|
16799
16793
|
}, S = y(() => {
|
|
16800
16794
|
const k = n.value.filter(
|
|
@@ -16802,15 +16796,15 @@ function YC(e) {
|
|
|
16802
16796
|
);
|
|
16803
16797
|
if (!l || o.value.order.length === 0)
|
|
16804
16798
|
return k;
|
|
16805
|
-
const
|
|
16799
|
+
const I = new Map(o.value.order.map((G, ae) => [G, ae])), U = k.filter((G) => at(G.props)), q = k.filter((G) => !at(G.props)).sort((G, ae) => (I.get(G.props.id) ?? 0) - (I.get(ae.props.id) ?? 0)), K = U.filter((G) => G.props.selectionMode), te = U.filter((G) => G.props.expander), me = U.filter((G) => G.props.rowReorder), j = U.filter((G) => G.props.rowEditor);
|
|
16806
16800
|
return [...K, ...te, ...me, ...q, ...j];
|
|
16807
16801
|
}), $ = (k) => {
|
|
16808
16802
|
if (!d(k)) return !1;
|
|
16809
|
-
const
|
|
16810
|
-
return
|
|
16803
|
+
const I = S.value.filter((U) => d(U.props));
|
|
16804
|
+
return I.length > 0 && I[I.length - 1].props.id === k.id;
|
|
16811
16805
|
}, A = y(() => n.value.length);
|
|
16812
|
-
function N(k,
|
|
16813
|
-
const q = Tl(k.minWidth,
|
|
16806
|
+
function N(k, I, U) {
|
|
16807
|
+
const q = Tl(k.minWidth, I), K = Tl(k.maxWidth, I);
|
|
16814
16808
|
return {
|
|
16815
16809
|
weight: U,
|
|
16816
16810
|
minPx: q.desiredPx ?? pa,
|
|
@@ -16818,24 +16812,24 @@ function YC(e) {
|
|
|
16818
16812
|
};
|
|
16819
16813
|
}
|
|
16820
16814
|
function V(k) {
|
|
16821
|
-
const
|
|
16822
|
-
if (
|
|
16823
|
-
const U =
|
|
16815
|
+
const I = n.value.filter((G) => !at(G.props));
|
|
16816
|
+
if (I.length === 0) return;
|
|
16817
|
+
const U = I.map((G) => ({
|
|
16824
16818
|
id: G.props.id,
|
|
16825
16819
|
parsed: Tl(G.props.width, k)
|
|
16826
16820
|
})), q = BC(U, k), K = [...o.value.order], te = new Set(K);
|
|
16827
|
-
for (const G of
|
|
16821
|
+
for (const G of I)
|
|
16828
16822
|
te.has(G.props.id) || K.push(G.props.id);
|
|
16829
16823
|
const me = { ...o.value.specs };
|
|
16830
16824
|
let j = K.length !== o.value.order.length;
|
|
16831
|
-
for (const G of
|
|
16832
|
-
const ae = q[G.props.id] ?? 1 /
|
|
16825
|
+
for (const G of I) {
|
|
16826
|
+
const ae = q[G.props.id] ?? 1 / I.length, Z = N(G.props, k, ae), W = me[G.props.id];
|
|
16833
16827
|
(!W || Math.abs(W.weight - Z.weight) > 1e-9 || W.minPx !== Z.minPx || W.maxPx !== Z.maxPx) && (me[G.props.id] = Z, j = !0);
|
|
16834
16828
|
}
|
|
16835
16829
|
j && (o.value = { order: K, specs: me });
|
|
16836
16830
|
}
|
|
16837
16831
|
let O = !1;
|
|
16838
|
-
const
|
|
16832
|
+
const x = () => {
|
|
16839
16833
|
O = !0;
|
|
16840
16834
|
}, P = () => {
|
|
16841
16835
|
o.value = { order: [], specs: {} }, i.value = { widths: {}, fillerWidth: 0 }, O = !1, R();
|
|
@@ -16850,34 +16844,34 @@ function YC(e) {
|
|
|
16850
16844
|
return oe(
|
|
16851
16845
|
n,
|
|
16852
16846
|
() => {
|
|
16853
|
-
const k = n.value.filter((Z) => !at(Z.props)),
|
|
16847
|
+
const k = n.value.filter((Z) => !at(Z.props)), I = k.map((Z) => Z.props.id), U = new Set(I), q = new Set(o.value.order), K = I.filter((Z) => !q.has(Z)), te = _ ? [] : I.filter((Z) => q.has(Z) && !E.has(Z)), me = _ ? [] : [...E].filter((Z) => !U.has(Z)), j = K.length > 0 || te.length > 0 || me.length > 0, G = o.value.order.length === 0, ae = e.getAvailableWidth();
|
|
16854
16848
|
if (G || K.length > 0)
|
|
16855
16849
|
if (G && ae > 0)
|
|
16856
16850
|
V(ae);
|
|
16857
16851
|
else {
|
|
16858
16852
|
const Z = { ...o.value };
|
|
16859
16853
|
Z.order = [...Z.order], Z.specs = { ...Z.specs };
|
|
16860
|
-
const W =
|
|
16854
|
+
const W = I.filter((ne) => Z.specs[ne] && !K.includes(ne)), ke = W.length > 0 ? W.reduce((ne, re) => ne + Z.specs[re].weight, 0) / W.length : 1 / I.length;
|
|
16861
16855
|
for (const ne of k)
|
|
16862
16856
|
q.has(ne.props.id) || (Z.order.push(ne.props.id), Z.specs[ne.props.id] = N(ne.props, ae, ke));
|
|
16863
|
-
const H =
|
|
16864
|
-
|
|
16857
|
+
const H = I.filter((ne) => Z.specs[ne]);
|
|
16858
|
+
In(Z.specs, H), o.value = Z;
|
|
16865
16859
|
}
|
|
16866
16860
|
else if (te.length > 0) {
|
|
16867
16861
|
const Z = { ...o.value };
|
|
16868
16862
|
Z.specs = { ...Z.specs };
|
|
16869
|
-
const W =
|
|
16863
|
+
const W = I.filter((H) => Z.specs[H] && !te.includes(H)), ke = W.length > 0 ? W.reduce((H, ne) => H + Z.specs[ne].weight, 0) / W.length : 1 / I.length;
|
|
16870
16864
|
for (const H of te)
|
|
16871
16865
|
Z.specs[H] && (Z.specs[H] = { ...Z.specs[H], weight: ke });
|
|
16872
|
-
|
|
16866
|
+
In(
|
|
16873
16867
|
Z.specs,
|
|
16874
|
-
|
|
16868
|
+
I.filter((H) => Z.specs[H])
|
|
16875
16869
|
), o.value = Z;
|
|
16876
16870
|
} else if (me.length > 0) {
|
|
16877
16871
|
const Z = { ...o.value };
|
|
16878
|
-
Z.specs = { ...Z.specs },
|
|
16872
|
+
Z.specs = { ...Z.specs }, In(
|
|
16879
16873
|
Z.specs,
|
|
16880
|
-
|
|
16874
|
+
I.filter((W) => Z.specs[W])
|
|
16881
16875
|
), o.value = Z;
|
|
16882
16876
|
}
|
|
16883
16877
|
E = U, _ = !1, j && R();
|
|
@@ -16890,7 +16884,7 @@ function YC(e) {
|
|
|
16890
16884
|
setHeaderRef: C,
|
|
16891
16885
|
recompute: R,
|
|
16892
16886
|
resetFromProps: P,
|
|
16893
|
-
markSizingCustomized:
|
|
16887
|
+
markSizingCustomized: x,
|
|
16894
16888
|
isSizingCustomized: () => O,
|
|
16895
16889
|
orderedVisibleColumns: S,
|
|
16896
16890
|
totalColumns: A,
|
|
@@ -16961,12 +16955,12 @@ function JC(e) {
|
|
|
16961
16955
|
try {
|
|
16962
16956
|
const k = JSON.parse(_);
|
|
16963
16957
|
if (typeof k != "object" || k === null) return null;
|
|
16964
|
-
const
|
|
16965
|
-
if (
|
|
16958
|
+
const I = k;
|
|
16959
|
+
if (I.v === XC) {
|
|
16966
16960
|
const U = k;
|
|
16967
16961
|
return !Array.isArray(U.order) || typeof U.weights != "object" || U.weights === null || U.hiddenColumnIds !== void 0 && !Array.isArray(U.hiddenColumnIds) || U.shownColumnIds !== void 0 && !Array.isArray(U.shownColumnIds) ? null : U;
|
|
16968
16962
|
}
|
|
16969
|
-
return
|
|
16963
|
+
return I.v === 1 ? QC(k) : null;
|
|
16970
16964
|
} catch {
|
|
16971
16965
|
return null;
|
|
16972
16966
|
}
|
|
@@ -17010,16 +17004,16 @@ function JC(e) {
|
|
|
17010
17004
|
}
|
|
17011
17005
|
function V(R, E) {
|
|
17012
17006
|
v++;
|
|
17013
|
-
const { weights: _, order: k } = E,
|
|
17007
|
+
const { weights: _, order: k } = E, I = [], U = {};
|
|
17014
17008
|
for (const q of k)
|
|
17015
|
-
_[q] !== void 0 && (
|
|
17009
|
+
_[q] !== void 0 && (I.push(q), U[q] = {
|
|
17016
17010
|
weight: _[q],
|
|
17017
17011
|
minPx: R.specs[q]?.minPx ?? 40,
|
|
17018
17012
|
maxPx: R.specs[q]?.maxPx ?? 1 / 0
|
|
17019
17013
|
});
|
|
17020
17014
|
for (const q of R.order)
|
|
17021
|
-
U[q] || (
|
|
17022
|
-
l.value = { order:
|
|
17015
|
+
U[q] || (I.push(q), U[q] = R.specs[q] ?? { weight: 0, minPx: 40, maxPx: 1 / 0 });
|
|
17016
|
+
l.value = { order: I, specs: U }, Re(() => {
|
|
17023
17017
|
v--;
|
|
17024
17018
|
});
|
|
17025
17019
|
}
|
|
@@ -17046,12 +17040,12 @@ function JC(e) {
|
|
|
17046
17040
|
function O() {
|
|
17047
17041
|
return !(v > 0 || !n.value || C || i && i() <= 0);
|
|
17048
17042
|
}
|
|
17049
|
-
function
|
|
17043
|
+
function x() {
|
|
17050
17044
|
O() && (b != null && clearTimeout(b), b = setTimeout(() => {
|
|
17051
17045
|
b = void 0, O() && $();
|
|
17052
17046
|
}, jC));
|
|
17053
17047
|
}
|
|
17054
|
-
return oe(o ? [l, r, o] : [l, r],
|
|
17048
|
+
return oe(o ? [l, r, o] : [l, r], x, { deep: !0 }), We(() => {
|
|
17055
17049
|
b != null && (clearTimeout(b), b = void 0, n.value && $());
|
|
17056
17050
|
}), {
|
|
17057
17051
|
saveState: $,
|
|
@@ -17072,14 +17066,14 @@ function e_(e) {
|
|
|
17072
17066
|
getItemKey: d,
|
|
17073
17067
|
tableContainerRef: u
|
|
17074
17068
|
} = e, v = y(() => l.value.find((X) => X.props.selectionMode !== void 0) || null), b = y(() => n.selectionMode !== void 0 || v.value !== null), p = y(() => n.selectionMode ? n.selectionMode : v.value?.props.selectionMode), m = y(() => v.value !== null), h = y(() => n.striped ? "striped" : n.bordered ? "bordered" : n.variant ?? "default"), f = y(() => n.selectAllActive !== void 0), C = qC({
|
|
17075
|
-
items:
|
|
17076
|
-
selection:
|
|
17069
|
+
items: Ie(n, "items"),
|
|
17070
|
+
selection: Ie(n, "selection"),
|
|
17077
17071
|
selectionMode: y(() => p.value),
|
|
17078
17072
|
isRowSelectable: (X) => n.isRowSelectable ? n.isRowSelectable(X) : !0,
|
|
17079
17073
|
dataKey: n.dataKey ?? "id",
|
|
17080
17074
|
getItemKey: d,
|
|
17081
|
-
totalCount:
|
|
17082
|
-
selectAllActive:
|
|
17075
|
+
totalCount: Ie(n, "totalCount"),
|
|
17076
|
+
selectAllActive: Ie(n, "selectAllActive"),
|
|
17083
17077
|
selectAllEnabled: f,
|
|
17084
17078
|
onSelectAllChange: (X) => {
|
|
17085
17079
|
t("update:selectAllActive", X), t("select-all", { selected: X });
|
|
@@ -17093,21 +17087,21 @@ function e_(e) {
|
|
|
17093
17087
|
{ deep: !0 }
|
|
17094
17088
|
);
|
|
17095
17089
|
const S = HC({
|
|
17096
|
-
sortField:
|
|
17097
|
-
sortOrder:
|
|
17098
|
-
sortMode:
|
|
17099
|
-
multiSortMeta:
|
|
17100
|
-
removableSort:
|
|
17090
|
+
sortField: Ie(n, "sortField"),
|
|
17091
|
+
sortOrder: Ie(n, "sortOrder"),
|
|
17092
|
+
sortMode: Ie(n, "sortMode"),
|
|
17093
|
+
multiSortMeta: Ie(n, "multiSortMeta"),
|
|
17094
|
+
removableSort: Ie(n, "removableSort"),
|
|
17101
17095
|
onSort: (X) => {
|
|
17102
17096
|
X.sortField !== void 0 && t("update:sortField", X.sortField), X.sortOrder !== void 0 && t("update:sortOrder", X.sortOrder), X.multiSortMeta !== void 0 && t("update:multiSortMeta", X.multiSortMeta), t("sort", X);
|
|
17103
17097
|
}
|
|
17104
17098
|
}), $ = WC({
|
|
17105
|
-
editMode:
|
|
17106
|
-
editingRows:
|
|
17099
|
+
editMode: Ie(n, "editMode"),
|
|
17100
|
+
editingRows: Ie(n, "editingRows"),
|
|
17107
17101
|
dataKey: n.dataKey ?? "id",
|
|
17108
17102
|
getItemKey: d
|
|
17109
17103
|
}), A = GC({
|
|
17110
|
-
expandedRows:
|
|
17104
|
+
expandedRows: Ie(n, "expandedRows"),
|
|
17111
17105
|
getItemKey: d,
|
|
17112
17106
|
isRowExpandable: (X) => n.isRowExpandable ? n.isRowExpandable(X) : !0
|
|
17113
17107
|
}), N = B([]);
|
|
@@ -17122,17 +17116,17 @@ function e_(e) {
|
|
|
17122
17116
|
const V = (X) => {
|
|
17123
17117
|
const ge = d(X, 0);
|
|
17124
17118
|
return N.value.includes(ge);
|
|
17125
|
-
}, O = (X) => A.canExpand(X),
|
|
17126
|
-
items:
|
|
17127
|
-
groupRowsBy:
|
|
17128
|
-
rowGroupMode:
|
|
17129
|
-
expandableRowGroups:
|
|
17130
|
-
expandedRowGroups:
|
|
17119
|
+
}, O = (X) => A.canExpand(X), x = UC({
|
|
17120
|
+
items: Ie(n, "items"),
|
|
17121
|
+
groupRowsBy: Ie(n, "groupRowsBy"),
|
|
17122
|
+
rowGroupMode: Ie(n, "rowGroupMode"),
|
|
17123
|
+
expandableRowGroups: Ie(n, "expandableRowGroups"),
|
|
17124
|
+
expandedRowGroups: Ie(n, "expandedRowGroups"),
|
|
17131
17125
|
onExpandedRowGroupsChange: (X) => t("update:expandedRowGroups", X),
|
|
17132
17126
|
onRowGroupExpand: (X) => t("rowgroup-expand", X),
|
|
17133
17127
|
onRowGroupCollapse: (X) => t("rowgroup-collapse", X)
|
|
17134
17128
|
}), P = FC({
|
|
17135
|
-
items:
|
|
17129
|
+
items: Ie(n, "items"),
|
|
17136
17130
|
rules: n.validationRules,
|
|
17137
17131
|
onSave: (X) => {
|
|
17138
17132
|
t("edit-save", { changes: X });
|
|
@@ -17160,11 +17154,11 @@ function e_(e) {
|
|
|
17160
17154
|
reorderableColumns: n.reorderableColumns ?? !0,
|
|
17161
17155
|
fitMode: n.fitMode ?? "gap",
|
|
17162
17156
|
getAvailableWidth: _
|
|
17163
|
-
}),
|
|
17157
|
+
}), I = B(/* @__PURE__ */ new Set());
|
|
17164
17158
|
oe(
|
|
17165
17159
|
() => c.value.map((X) => X.props.id).join(","),
|
|
17166
17160
|
() => {
|
|
17167
|
-
|
|
17161
|
+
I.value = new Set(c.value.map((X) => X.props.id));
|
|
17168
17162
|
},
|
|
17169
17163
|
{ immediate: !0 }
|
|
17170
17164
|
);
|
|
@@ -17182,7 +17176,7 @@ function e_(e) {
|
|
|
17182
17176
|
}));
|
|
17183
17177
|
return [...X, ...ge];
|
|
17184
17178
|
}), q = y(() => U.value.filter((X) => X.visible).map((X) => X.id)), K = JC({
|
|
17185
|
-
stateKey:
|
|
17179
|
+
stateKey: Ie(n, "stateKey"),
|
|
17186
17180
|
stateStorage: y(() => n.stateStorage ?? "local"),
|
|
17187
17181
|
columnState: k.columnState,
|
|
17188
17182
|
hiddenColumnIds: o,
|
|
@@ -17195,7 +17189,7 @@ function e_(e) {
|
|
|
17195
17189
|
}
|
|
17196
17190
|
});
|
|
17197
17191
|
oe(
|
|
17198
|
-
|
|
17192
|
+
I,
|
|
17199
17193
|
(X, ge) => {
|
|
17200
17194
|
const pe = new Set(o.value), Oe = new Set(i.value);
|
|
17201
17195
|
let Ve = !1, ot = !1;
|
|
@@ -17210,7 +17204,7 @@ function e_(e) {
|
|
|
17210
17204
|
},
|
|
17211
17205
|
{ immediate: !0 }
|
|
17212
17206
|
);
|
|
17213
|
-
const te = y(() => l.value.find((X) => X.props.rowReorder === !0) || null), me = y(() => n.reorderableRows || te.value !== null), j = y(() => me.value), G = B(), { reorderedItems: ae, pendingReorder: Z } = VC(G,
|
|
17207
|
+
const te = y(() => l.value.find((X) => X.props.rowReorder === !0) || null), me = y(() => n.reorderableRows || te.value !== null), j = y(() => me.value), G = B(), { reorderedItems: ae, pendingReorder: Z } = VC(G, Ie(n, "items"), {
|
|
17214
17208
|
disabled: y(() => !me.value),
|
|
17215
17209
|
handle: ZC,
|
|
17216
17210
|
onReorder: (X) => t("row-reorder", X)
|
|
@@ -17227,10 +17221,10 @@ function e_(e) {
|
|
|
17227
17221
|
onFilterChange: (X) => {
|
|
17228
17222
|
t("filter", { filters: X, filteredValue: n.items });
|
|
17229
17223
|
}
|
|
17230
|
-
}), Te = (X) => H.hasFilter(X.props.filter), He = (X) => X.props.filterField || H.getFilterField(X.props.id, X.props.filter), nt = (X) => H.getFilterType(X.props.filter), ut = (X) => H.getFilterOptions(X.props.filter), Et = (X) => H.isMultipleSelect(X.props.filter),
|
|
17224
|
+
}), Te = (X) => H.hasFilter(X.props.filter), He = (X) => X.props.filterField || H.getFilterField(X.props.id, X.props.filter), nt = (X) => H.getFilterType(X.props.filter), ut = (X) => H.getFilterOptions(X.props.filter), Et = (X) => H.isMultipleSelect(X.props.filter), It = (X) => H.getRangeFields(X.props.filter), nn = (X) => {
|
|
17231
17225
|
const ge = He(X);
|
|
17232
17226
|
if (nt(X) === "dateRange") {
|
|
17233
|
-
const pe =
|
|
17227
|
+
const pe = It(X);
|
|
17234
17228
|
if (pe) {
|
|
17235
17229
|
const Oe = `__range__${pe[0]}__${pe[1]}`;
|
|
17236
17230
|
return ne.value[Oe] ?? null;
|
|
@@ -17243,7 +17237,7 @@ function e_(e) {
|
|
|
17243
17237
|
}, an = (X, ge) => {
|
|
17244
17238
|
const pe = nt(X), Oe = He(X);
|
|
17245
17239
|
if (pe === "dateRange") {
|
|
17246
|
-
const Ve =
|
|
17240
|
+
const Ve = It(X);
|
|
17247
17241
|
if (Ve) {
|
|
17248
17242
|
const ot = ge[Ve[0]], et = ge[Ve[1]];
|
|
17249
17243
|
se(Ve, { start: ot, end: et });
|
|
@@ -17256,7 +17250,7 @@ function e_(e) {
|
|
|
17256
17250
|
}, fl = (X) => {
|
|
17257
17251
|
const ge = He(X);
|
|
17258
17252
|
if (nt(X) === "dateRange") {
|
|
17259
|
-
const Oe =
|
|
17253
|
+
const Oe = It(X);
|
|
17260
17254
|
if (Oe) {
|
|
17261
17255
|
const Ve = `__range__${Oe[0]}__${Oe[1]}`;
|
|
17262
17256
|
ee(Ve);
|
|
@@ -17305,7 +17299,7 @@ function e_(e) {
|
|
|
17305
17299
|
sort: S,
|
|
17306
17300
|
editing: $,
|
|
17307
17301
|
expansion: A,
|
|
17308
|
-
rowGrouping:
|
|
17302
|
+
rowGrouping: x,
|
|
17309
17303
|
inlineEdit: P,
|
|
17310
17304
|
cols: k,
|
|
17311
17305
|
statePersistence: K,
|
|
@@ -17324,7 +17318,7 @@ function e_(e) {
|
|
|
17324
17318
|
getColumnFilterType: nt,
|
|
17325
17319
|
getColumnFilterOptions: ut,
|
|
17326
17320
|
isColumnFilterMultiple: Et,
|
|
17327
|
-
getColumnRangeFields:
|
|
17321
|
+
getColumnRangeFields: It,
|
|
17328
17322
|
getColumnFilterValue: nn,
|
|
17329
17323
|
handleColumnFilterApply: an,
|
|
17330
17324
|
handleColumnFilterClear: fl,
|
|
@@ -17362,7 +17356,7 @@ function e_(e) {
|
|
|
17362
17356
|
canExpand: O,
|
|
17363
17357
|
expandedKeysArray: N,
|
|
17364
17358
|
// Data-discovered IDs stable ref
|
|
17365
|
-
dataDiscoveredIds:
|
|
17359
|
+
dataDiscoveredIds: I,
|
|
17366
17360
|
// Event handlers (selection handlers are on the `selection` facade)
|
|
17367
17361
|
handleSort: vn,
|
|
17368
17362
|
handleRowClick: (X, ge, pe) => {
|
|
@@ -17402,7 +17396,7 @@ function e_(e) {
|
|
|
17402
17396
|
o.value = et, i.value = it;
|
|
17403
17397
|
},
|
|
17404
17398
|
handleTableReset: () => {
|
|
17405
|
-
K.resetState(),
|
|
17399
|
+
K.resetState(), I.value.size > 0 && (o.value = new Set(I.value)), k.resetFromProps(), k.recompute();
|
|
17406
17400
|
},
|
|
17407
17401
|
handleCellClick: (X, ge, pe, Oe) => {
|
|
17408
17402
|
if (n.editMode === "cell" && (Oe.slots.editor || Oe.props.editable) && !$.isCellEditing(pe, ge)) {
|
|
@@ -17641,7 +17635,7 @@ const tR = {
|
|
|
17641
17635
|
return `${Me}–${Ke} ${o("COMPONENTS.ORGANISMS.VC_TABLE.OF", {}, "of")} ${be}`;
|
|
17642
17636
|
}
|
|
17643
17637
|
return `${o("COMPONENTS.ORGANISMS.VC_TABLE.PAGE", {}, "Page")} ${ce.currentPage} ${o("COMPONENTS.ORGANISMS.VC_TABLE.OF", {}, "of")} ${ce.pages}`;
|
|
17644
|
-
}), { isMobile: V } = De(), O = y(() => V.value),
|
|
17638
|
+
}), { isMobile: V } = De(), O = y(() => V.value), x = yt(), P = (ce) => ce.replace(/-([a-z])/g, (be, _e) => _e.toUpperCase()), R = /* @__PURE__ */ new Set([
|
|
17645
17639
|
"sortable",
|
|
17646
17640
|
"editable",
|
|
17647
17641
|
"visible",
|
|
@@ -17661,7 +17655,7 @@ const tR = {
|
|
|
17661
17655
|
}
|
|
17662
17656
|
return be;
|
|
17663
17657
|
}, _ = () => {
|
|
17664
|
-
const ce =
|
|
17658
|
+
const ce = x.default?.();
|
|
17665
17659
|
if (!ce) return [];
|
|
17666
17660
|
const be = [], _e = (Me) => {
|
|
17667
17661
|
const Ke = Me.type;
|
|
@@ -17678,13 +17672,13 @@ const tR = {
|
|
|
17678
17672
|
};
|
|
17679
17673
|
return ce.forEach(_e), be;
|
|
17680
17674
|
}, k = new t_();
|
|
17681
|
-
Be(
|
|
17682
|
-
const
|
|
17675
|
+
Be(xs, k);
|
|
17676
|
+
const I = B(0);
|
|
17683
17677
|
k.onUpdate(() => {
|
|
17684
|
-
|
|
17678
|
+
I.value++;
|
|
17685
17679
|
});
|
|
17686
17680
|
const U = y(() => {
|
|
17687
|
-
|
|
17681
|
+
I.value;
|
|
17688
17682
|
const ce = _();
|
|
17689
17683
|
return ce.length > 0 ? ce : k.getColumns();
|
|
17690
17684
|
}), q = B(/* @__PURE__ */ new Set()), K = B(/* @__PURE__ */ new Set()), te = y(() => {
|
|
@@ -17725,7 +17719,7 @@ const tR = {
|
|
|
17725
17719
|
showColumnFilter: nt,
|
|
17726
17720
|
getColumnFilterType: ut,
|
|
17727
17721
|
getColumnFilterOptions: Et,
|
|
17728
|
-
isColumnFilterMultiple:
|
|
17722
|
+
isColumnFilterMultiple: It,
|
|
17729
17723
|
getColumnRangeFields: nn,
|
|
17730
17724
|
getColumnFilterValue: Gt,
|
|
17731
17725
|
handleColumnFilterApply: qt,
|
|
@@ -17798,7 +17792,7 @@ const tR = {
|
|
|
17798
17792
|
hasActiveFilters: Te,
|
|
17799
17793
|
activeFilterCount: He
|
|
17800
17794
|
}), Be(
|
|
17801
|
-
|
|
17795
|
+
xo,
|
|
17802
17796
|
y(() => se.engineOutput.value.fillerWidth)
|
|
17803
17797
|
), Be(No, sn);
|
|
17804
17798
|
const Ta = (ce) => {
|
|
@@ -18022,7 +18016,7 @@ const tR = {
|
|
|
18022
18016
|
onRefresh: be[10] || (be[10] = (_e) => r("pull-refresh")),
|
|
18023
18017
|
onCellValueChange: be[11] || (be[11] = (_e, Me, Ke) => a(pe)(_e, Me, Ke)),
|
|
18024
18018
|
onExpandToggle: be[12] || (be[12] = (_e, Me, Ke) => a(Oe)(_e, Me, Ke))
|
|
18025
|
-
},
|
|
18019
|
+
}, xe({
|
|
18026
18020
|
empty: M(() => [
|
|
18027
18021
|
v.value && ce.$slots["not-found"] ? z(ce.$slots, "not-found", { key: 0 }) : ce.$slots.empty ? z(ce.$slots, "empty", { key: 1 }) : (s(), D(a(Ti), {
|
|
18028
18022
|
key: 2,
|
|
@@ -18083,7 +18077,7 @@ const tR = {
|
|
|
18083
18077
|
"show-filter": a(nt),
|
|
18084
18078
|
"get-filter-type": a(ut),
|
|
18085
18079
|
"get-filter-options": a(Et),
|
|
18086
|
-
"is-filter-multiple": a(
|
|
18080
|
+
"is-filter-multiple": a(It),
|
|
18087
18081
|
"get-range-fields": a(nn),
|
|
18088
18082
|
"get-filter-value": a(Gt),
|
|
18089
18083
|
"is-editing": a(gl),
|
|
@@ -18139,7 +18133,7 @@ const tR = {
|
|
|
18139
18133
|
onEditCancel: a(ge),
|
|
18140
18134
|
onCellValueChange: a(pe),
|
|
18141
18135
|
onCellClick: a(Sa)
|
|
18142
|
-
},
|
|
18136
|
+
}, xe({
|
|
18143
18137
|
"row-actions": M(({ item: _e, index: Me }) => [
|
|
18144
18138
|
e.rowActions ? (s(), D(a(r0), {
|
|
18145
18139
|
key: 0,
|
|
@@ -18337,7 +18331,7 @@ const tR = {
|
|
|
18337
18331
|
label: t.addNewRowButton.title,
|
|
18338
18332
|
position: "footer"
|
|
18339
18333
|
};
|
|
18340
|
-
}), O = y(() => t.editing ? "inline" : void 0),
|
|
18334
|
+
}), O = y(() => t.editing ? "inline" : void 0), x = y(() => t.header !== !1), P = y(() => t.columnSelector === "auto" ? "auto" : t.columnSelector === "defined" ? "defined" : t.columnSelector ? "auto" : !1);
|
|
18341
18335
|
function R(W) {
|
|
18342
18336
|
if (W)
|
|
18343
18337
|
return W === "date-time" ? "datetime" : W;
|
|
@@ -18356,7 +18350,7 @@ const tR = {
|
|
|
18356
18350
|
if (W === "top-left" || W === "top-right" || W === "bottom-left" || W === "bottom-right")
|
|
18357
18351
|
return W;
|
|
18358
18352
|
}
|
|
18359
|
-
function
|
|
18353
|
+
function I(W) {
|
|
18360
18354
|
W.sortField && (p.value = W.sortField);
|
|
18361
18355
|
const ke = W.sortField ?? p.value ?? v.value;
|
|
18362
18356
|
if (ke) {
|
|
@@ -18422,7 +18416,7 @@ const tR = {
|
|
|
18422
18416
|
"select-all": t.selectAll,
|
|
18423
18417
|
"total-count": t.totalCount,
|
|
18424
18418
|
"total-label": t.totalLabel,
|
|
18425
|
-
searchable:
|
|
18419
|
+
searchable: x.value,
|
|
18426
18420
|
"search-value": t.searchValue,
|
|
18427
18421
|
"search-placeholder": t.searchPlaceholder,
|
|
18428
18422
|
pagination: C.value,
|
|
@@ -18430,7 +18424,7 @@ const tR = {
|
|
|
18430
18424
|
variant: t.variant,
|
|
18431
18425
|
"empty-state": $.value,
|
|
18432
18426
|
"not-found-state": A.value,
|
|
18433
|
-
onSort:
|
|
18427
|
+
onSort: I,
|
|
18434
18428
|
"onUpdate:selection": U,
|
|
18435
18429
|
onRowClick: q,
|
|
18436
18430
|
onRowReorder: me,
|
|
@@ -18441,7 +18435,7 @@ const tR = {
|
|
|
18441
18435
|
onSearch: te,
|
|
18442
18436
|
"onUpdate:searchValue": te,
|
|
18443
18437
|
onRowAdd: Z
|
|
18444
|
-
},
|
|
18438
|
+
}, xe({
|
|
18445
18439
|
default: M(() => [
|
|
18446
18440
|
(s(!0), g(J, null, ve(S.value, (H) => (s(), D(Bs, {
|
|
18447
18441
|
id: H.id,
|
|
@@ -18460,7 +18454,7 @@ const tR = {
|
|
|
18460
18454
|
"mobile-role": _(H.mobilePosition),
|
|
18461
18455
|
"mobile-position": k(H.mobilePosition),
|
|
18462
18456
|
"mobile-visible": H.mobileVisible
|
|
18463
|
-
},
|
|
18457
|
+
}, xe({ _: 2 }, [
|
|
18464
18458
|
W.$slots[`item_${H.id}`] ? {
|
|
18465
18459
|
name: "body",
|
|
18466
18460
|
fn: M(({ data: ne, index: re }) => [
|
|
@@ -18795,7 +18789,7 @@ function $_(e) {
|
|
|
18795
18789
|
function Dt(e) {
|
|
18796
18790
|
return e ? uo[$_(e) % uo.length] : "var(--primary-500)";
|
|
18797
18791
|
}
|
|
18798
|
-
const Bn = "#ffffff",
|
|
18792
|
+
const Bn = "#ffffff", xi = "#18181b";
|
|
18799
18793
|
function Ni(e) {
|
|
18800
18794
|
const n = e.trim(), t = /^#([0-9a-f]{3}|[0-9a-f]{6})$/i.exec(n);
|
|
18801
18795
|
if (t) {
|
|
@@ -18812,13 +18806,13 @@ function Bi([e, n, t]) {
|
|
|
18812
18806
|
};
|
|
18813
18807
|
return 0.2126 * l(e) + 0.7152 * l(n) + 0.0722 * l(t);
|
|
18814
18808
|
}
|
|
18815
|
-
const vo = (e, n) => (Math.max(e, n) + 0.05) / (Math.min(e, n) + 0.05), R_ = Bi(Ni(
|
|
18809
|
+
const vo = (e, n) => (Math.max(e, n) + 0.05) / (Math.min(e, n) + 0.05), R_ = Bi(Ni(xi));
|
|
18816
18810
|
function Di(e) {
|
|
18817
18811
|
if (!e) return Bn;
|
|
18818
18812
|
const n = Ni(e);
|
|
18819
18813
|
if (!n) return Bn;
|
|
18820
18814
|
const t = Bi(n);
|
|
18821
|
-
return vo(t, 1) >= vo(t, R_) ? Bn :
|
|
18815
|
+
return vo(t, 1) >= vo(t, R_) ? Bn : xi;
|
|
18822
18816
|
}
|
|
18823
18817
|
function qn(e, n) {
|
|
18824
18818
|
return n ? {
|
|
@@ -18838,7 +18832,7 @@ const T_ = ["aria-label", "onKeydown"], A_ = {
|
|
|
18838
18832
|
key: 2,
|
|
18839
18833
|
class: "vc-scheduler__event-bar-arrow",
|
|
18840
18834
|
"aria-hidden": "true"
|
|
18841
|
-
},
|
|
18835
|
+
}, I_ = /* @__PURE__ */ Y({
|
|
18842
18836
|
__name: "MonthEventBar",
|
|
18843
18837
|
props: {
|
|
18844
18838
|
event: {},
|
|
@@ -18896,7 +18890,7 @@ const T_ = ["aria-label", "onKeydown"], A_ = {
|
|
|
18896
18890
|
], 64)) : L("", !0)
|
|
18897
18891
|
], 46, T_));
|
|
18898
18892
|
}
|
|
18899
|
-
}),
|
|
18893
|
+
}), x_ = {
|
|
18900
18894
|
class: "vc-scheduler__week-cells",
|
|
18901
18895
|
role: "row"
|
|
18902
18896
|
}, N_ = ["onClick"], B_ = {
|
|
@@ -18920,7 +18914,7 @@ const T_ = ["aria-label", "onKeydown"], A_ = {
|
|
|
18920
18914
|
class: "vc-scheduler__week-row",
|
|
18921
18915
|
style: he({ "--scheduler-month-max-lanes": l.value })
|
|
18922
18916
|
}, [
|
|
18923
|
-
w("div",
|
|
18917
|
+
w("div", x_, [
|
|
18924
18918
|
(s(!0), g(J, null, ve(e.days, (c, d) => (s(), D(S_, {
|
|
18925
18919
|
key: d,
|
|
18926
18920
|
date: c.date,
|
|
@@ -18956,7 +18950,7 @@ const T_ = ["aria-label", "onKeydown"], A_ = {
|
|
|
18956
18950
|
role: "gridcell",
|
|
18957
18951
|
style: he({ gridColumn: `${c.segment.startCol + 1} / ${c.segment.endCol + 2}`, gridRow: c.lane + 1 })
|
|
18958
18952
|
}, [
|
|
18959
|
-
T(
|
|
18953
|
+
T(I_, {
|
|
18960
18954
|
event: c.segment.event,
|
|
18961
18955
|
"continues-left": c.segment.continuesLeft,
|
|
18962
18956
|
"continues-right": c.segment.continuesRight,
|
|
@@ -19189,7 +19183,7 @@ const j_ = { class: "vc-scheduler__qi-title" }, X_ = ["aria-label", "onClick"],
|
|
|
19189
19183
|
placement: "bottom-start",
|
|
19190
19184
|
"content-scrollable": !1,
|
|
19191
19185
|
"onUpdate:show": p
|
|
19192
|
-
},
|
|
19186
|
+
}, xe({
|
|
19193
19187
|
header: M(({ close: S }) => [
|
|
19194
19188
|
w("div", {
|
|
19195
19189
|
class: "vc-scheduler__qi-header",
|
|
@@ -19462,7 +19456,7 @@ const dk = { class: "vc-scheduler__month" }, vk = {
|
|
|
19462
19456
|
return Se < 0 || Se > 6 || Te < 0 || Te > 5 ? null : lt(o.value.start, Te * 7 + Se);
|
|
19463
19457
|
}
|
|
19464
19458
|
const u = uk({
|
|
19465
|
-
editable:
|
|
19459
|
+
editable: Ie(t, "editable"),
|
|
19466
19460
|
isEventEditable: (ee) => t.isEventEditable(ee),
|
|
19467
19461
|
dayFromPoint: d,
|
|
19468
19462
|
onUpdate: (ee) => l("event-update", ee),
|
|
@@ -19473,7 +19467,7 @@ const dk = { class: "vc-scheduler__month" }, vk = {
|
|
|
19473
19467
|
}), v = y(() => t.events.map((ee) => u.effectiveEvent(ee))), b = ik({
|
|
19474
19468
|
events: v,
|
|
19475
19469
|
monthRange: o,
|
|
19476
|
-
firstDayOfWeek:
|
|
19470
|
+
firstDayOfWeek: Ie(t, "firstDayOfWeek")
|
|
19477
19471
|
}), p = rk({ weekSegments: b.weekSegments }), m = y(
|
|
19478
19472
|
() => Array.from({ length: 6 }, (ee, fe) => ({
|
|
19479
19473
|
days: i.value.slice(fe * 7, fe * 7 + 7),
|
|
@@ -19497,10 +19491,10 @@ const dk = { class: "vc-scheduler__month" }, vk = {
|
|
|
19497
19491
|
return b.timedByDay.value.get(Ae(ee, "yyyy-MM-dd")) ?? [];
|
|
19498
19492
|
}
|
|
19499
19493
|
let A = null, N = null, V = null, O = !1;
|
|
19500
|
-
const
|
|
19494
|
+
const x = /* @__PURE__ */ new Map(), P = Pi({
|
|
19501
19495
|
onIntent: (ee, fe) => {
|
|
19502
|
-
const ie =
|
|
19503
|
-
if (
|
|
19496
|
+
const ie = x.get(fe);
|
|
19497
|
+
if (x.delete(fe), !ie) return;
|
|
19504
19498
|
const ye = Ge(ie.date);
|
|
19505
19499
|
l("create-intent", { start: ye, end: lt(ye, 1), allDay: !0, anchorRect: ie.rect, kind: ee });
|
|
19506
19500
|
}
|
|
@@ -19520,15 +19514,15 @@ const dk = { class: "vc-scheduler__month" }, vk = {
|
|
|
19520
19514
|
fe && !Gl(fe, N) && (O = !0);
|
|
19521
19515
|
}
|
|
19522
19516
|
}
|
|
19523
|
-
function
|
|
19517
|
+
function I() {
|
|
19524
19518
|
if (A === "create") {
|
|
19525
19519
|
if (O) {
|
|
19526
|
-
P.cancel(),
|
|
19520
|
+
P.cancel(), x.clear();
|
|
19527
19521
|
const ee = u.pending.value;
|
|
19528
19522
|
ee && l("create-intent", { start: ee.start, end: ee.end, allDay: !0, anchorRect: V, kind: "drag" });
|
|
19529
19523
|
} else if (N) {
|
|
19530
19524
|
const ee = Ae(N, "yyyy-MM-dd");
|
|
19531
|
-
|
|
19525
|
+
x.set(ee, { date: N, rect: V }), P.click(ee);
|
|
19532
19526
|
}
|
|
19533
19527
|
u.cancel(), N = null, V = null, O = !1;
|
|
19534
19528
|
} else
|
|
@@ -19536,13 +19530,13 @@ const dk = { class: "vc-scheduler__month" }, vk = {
|
|
|
19536
19530
|
A = null, q();
|
|
19537
19531
|
}
|
|
19538
19532
|
function U() {
|
|
19539
|
-
window.addEventListener("pointermove", k), window.addEventListener("pointerup",
|
|
19533
|
+
window.addEventListener("pointermove", k), window.addEventListener("pointerup", I);
|
|
19540
19534
|
}
|
|
19541
19535
|
function q() {
|
|
19542
|
-
window.removeEventListener("pointermove", k), window.removeEventListener("pointerup",
|
|
19536
|
+
window.removeEventListener("pointermove", k), window.removeEventListener("pointerup", I);
|
|
19543
19537
|
}
|
|
19544
19538
|
Ot(() => {
|
|
19545
|
-
q(), P.cancel(),
|
|
19539
|
+
q(), P.cancel(), x.clear();
|
|
19546
19540
|
});
|
|
19547
19541
|
const K = B(!1), te = B(null), me = B(null);
|
|
19548
19542
|
function j(ee, fe) {
|
|
@@ -19774,7 +19768,7 @@ const dk = { class: "vc-scheduler__month" }, vk = {
|
|
|
19774
19768
|
function Kn(e) {
|
|
19775
19769
|
return e.allDay !== void 0 ? e.allDay : e.end.getTime() - e.start.getTime() >= 864e5;
|
|
19776
19770
|
}
|
|
19777
|
-
function
|
|
19771
|
+
function Ik(e) {
|
|
19778
19772
|
const n = [...e].sort((c, d) => c.startMs - d.startMs || c.endMs - d.endMs), t = [];
|
|
19779
19773
|
let l = [], r = -1 / 0;
|
|
19780
19774
|
const o = () => {
|
|
@@ -19791,7 +19785,7 @@ function xk(e) {
|
|
|
19791
19785
|
}
|
|
19792
19786
|
return o(), t;
|
|
19793
19787
|
}
|
|
19794
|
-
function
|
|
19788
|
+
function xk(e) {
|
|
19795
19789
|
const n = y(() => Math.max(1, e.dayCount.value)), t = y(() => Math.max(1, e.endHour.value - e.startHour.value)), l = y(() => t.value * e.hourHeight.value), r = y(() => {
|
|
19796
19790
|
const p = Ge(e.rangeStart.value);
|
|
19797
19791
|
return Array.from({ length: n.value }, (m, h) => lt(p, h));
|
|
@@ -19822,12 +19816,12 @@ function Ik(e) {
|
|
|
19822
19816
|
startMs: Math.max(V.start.getTime(), $),
|
|
19823
19817
|
endMs: Math.min(V.end.getTime(), A)
|
|
19824
19818
|
}));
|
|
19825
|
-
return
|
|
19826
|
-
const O = (V.startMs - $) / mo * m,
|
|
19819
|
+
return Ik(N).map((V) => {
|
|
19820
|
+
const O = (V.startMs - $) / mo * m, x = Math.max((V.endMs - V.startMs) / mo * m, Lk);
|
|
19827
19821
|
return {
|
|
19828
19822
|
event: V.event,
|
|
19829
19823
|
top: O,
|
|
19830
|
-
height:
|
|
19824
|
+
height: x,
|
|
19831
19825
|
leftPct: V.lane / V.laneCount * 100,
|
|
19832
19826
|
widthPct: 100 / V.laneCount,
|
|
19833
19827
|
past: V.event.end.getTime() < h
|
|
@@ -19910,7 +19904,7 @@ const Nk = { class: "vc-scheduler__tg" }, Bk = { class: "vc-scheduler__tg-head"
|
|
|
19910
19904
|
return Mt(t.focusedDate, { weekStartsOn: R });
|
|
19911
19905
|
}
|
|
19912
19906
|
return Ge(t.focusedDate);
|
|
19913
|
-
}), v =
|
|
19907
|
+
}), v = xk({
|
|
19914
19908
|
events: r,
|
|
19915
19909
|
rangeStart: u,
|
|
19916
19910
|
dayCount: o,
|
|
@@ -19948,7 +19942,7 @@ const Nk = { class: "vc-scheduler__tg" }, Bk = { class: "vc-scheduler__tg-head"
|
|
|
19948
19942
|
tt(() => {
|
|
19949
19943
|
const R = h.value;
|
|
19950
19944
|
if (!R) return;
|
|
19951
|
-
const _ = v.timedByColumn.value.flat().reduce((k,
|
|
19945
|
+
const _ = v.timedByColumn.value.flat().reduce((k, I) => k === null ? I.top : Math.min(k, I.top), null) ?? Math.max(0, (8 - i.value) * Nt);
|
|
19952
19946
|
R.scrollTop = Math.max(0, _ - Nt / 2);
|
|
19953
19947
|
});
|
|
19954
19948
|
const f = B(Date.now());
|
|
@@ -19971,7 +19965,7 @@ const Nk = { class: "vc-scheduler__tg" }, Bk = { class: "vc-scheduler__tg-head"
|
|
|
19971
19965
|
if (!t.editable || E.target?.closest(".vc-scheduler__tg-event")) return;
|
|
19972
19966
|
const _ = E.currentTarget, k = v.days.value[R];
|
|
19973
19967
|
if (!_ || !k) return;
|
|
19974
|
-
const
|
|
19968
|
+
const I = _.getBoundingClientRect(), U = i.value + (E.clientY - I.top) / Nt, q = Math.min(Math.max(Math.floor(U), i.value), c.value - 1), K = new Date(k);
|
|
19975
19969
|
K.setHours(q, 0, 0, 0);
|
|
19976
19970
|
const te = new Date(K.getTime() + 36e5), me = DOMRect.fromRect({ x: E.clientX, y: E.clientY, width: 1, height: Nt }), j = String(K.getTime());
|
|
19977
19971
|
$.set(j, { start: K, end: te, rect: me }), A.click(j);
|
|
@@ -19979,9 +19973,9 @@ const Nk = { class: "vc-scheduler__tg" }, Bk = { class: "vc-scheduler__tg-head"
|
|
|
19979
19973
|
Ot(() => {
|
|
19980
19974
|
A.cancel(), $.clear();
|
|
19981
19975
|
});
|
|
19982
|
-
const V = B(!1), O = B(null),
|
|
19976
|
+
const V = B(!1), O = B(null), x = B(null);
|
|
19983
19977
|
function P(R, E) {
|
|
19984
|
-
l("event-click", R), t.quickInfo && (O.value = R,
|
|
19978
|
+
l("event-click", R), t.quickInfo && (O.value = R, x.value = E.currentTarget?.getBoundingClientRect() ?? null, V.value = !0);
|
|
19985
19979
|
}
|
|
19986
19980
|
return (R, E) => (s(), g("div", Nk, [
|
|
19987
19981
|
w("div", Bk, [
|
|
@@ -20067,7 +20061,7 @@ const Nk = { class: "vc-scheduler__tg" }, Bk = { class: "vc-scheduler__tg-head"
|
|
|
20067
20061
|
class: Q(["vc-scheduler__tg-event", { "vc-scheduler__tg-event--past": k.past }]),
|
|
20068
20062
|
style: he(p(k)),
|
|
20069
20063
|
"aria-label": b(k.event),
|
|
20070
|
-
onClick: ue((
|
|
20064
|
+
onClick: ue((I) => P(k.event, I), ["stop"])
|
|
20071
20065
|
}, [
|
|
20072
20066
|
w("span", Kk, F(a(Ae)(k.event.start, "HH:mm")), 1),
|
|
20073
20067
|
w("span", Yk, [
|
|
@@ -20091,7 +20085,7 @@ const Nk = { class: "vc-scheduler__tg" }, Bk = { class: "vc-scheduler__tg-head"
|
|
|
20091
20085
|
T(ga, {
|
|
20092
20086
|
open: V.value,
|
|
20093
20087
|
event: O.value,
|
|
20094
|
-
"anchor-rect":
|
|
20088
|
+
"anchor-rect": x.value,
|
|
20095
20089
|
"can-edit": t.editable && !!O.value && t.isEventEditable(O.value),
|
|
20096
20090
|
onClose: E[0] || (E[0] = (_) => V.value = !1),
|
|
20097
20091
|
onEdit: E[1] || (E[1] = (_) => l("edit-intent", _)),
|
|
@@ -20243,8 +20237,8 @@ const Nk = { class: "vc-scheduler__tg" }, Bk = { class: "vc-scheduler__tg-head"
|
|
|
20243
20237
|
]), b = y(() => {
|
|
20244
20238
|
const E = Mt(/* @__PURE__ */ new Date(), { weekStartsOn: 0 });
|
|
20245
20239
|
return Array.from({ length: 7 }, (_, k) => {
|
|
20246
|
-
const
|
|
20247
|
-
return { value: k, label: Ae(
|
|
20240
|
+
const I = lt(E, k);
|
|
20241
|
+
return { value: k, label: Ae(I, "EEEEE"), fullLabel: Ae(I, "EEEE") };
|
|
20248
20242
|
});
|
|
20249
20243
|
}), p = y(() => {
|
|
20250
20244
|
switch (i.recurrence?.freq) {
|
|
@@ -20280,7 +20274,7 @@ const Nk = { class: "vc-scheduler__tg" }, Bk = { class: "vc-scheduler__tg-head"
|
|
|
20280
20274
|
function $(E) {
|
|
20281
20275
|
if (!i.recurrence) return;
|
|
20282
20276
|
const _ = i.recurrence.byWeekday ?? [];
|
|
20283
|
-
i.recurrence.byWeekday = _.includes(E) ? _.filter((k) => k !== E) : [..._, E].sort((k,
|
|
20277
|
+
i.recurrence.byWeekday = _.includes(E) ? _.filter((k) => k !== E) : [..._, E].sort((k, I) => k - I);
|
|
20284
20278
|
}
|
|
20285
20279
|
function A(E) {
|
|
20286
20280
|
if (!i.recurrence) return;
|
|
@@ -20298,7 +20292,7 @@ const Nk = { class: "vc-scheduler__tg" }, Bk = { class: "vc-scheduler__tg-head"
|
|
|
20298
20292
|
const _ = Math.trunc(Number(E));
|
|
20299
20293
|
i.recurrence.end.count = Number.isFinite(_) && _ >= 1 ? _ : 1;
|
|
20300
20294
|
}
|
|
20301
|
-
function
|
|
20295
|
+
function x() {
|
|
20302
20296
|
d.value && (i.recurrence?.freq === "weekly" && !i.recurrence.byWeekday?.length && (i.recurrence.byWeekday = [i.start.getDay()]), o("save", { ...i }));
|
|
20303
20297
|
}
|
|
20304
20298
|
function P() {
|
|
@@ -20399,7 +20393,7 @@ const Nk = { class: "vc-scheduler__tg" }, Bk = { class: "vc-scheduler__tg-head"
|
|
|
20399
20393
|
"aria-pressed": S(k.value),
|
|
20400
20394
|
"aria-label": k.fullLabel,
|
|
20401
20395
|
"data-test": "recur-weekday",
|
|
20402
|
-
onClick: (
|
|
20396
|
+
onClick: (I) => $(k.value)
|
|
20403
20397
|
}, F(k.label), 11, dE))), 128))
|
|
20404
20398
|
])
|
|
20405
20399
|
])) : L("", !0),
|
|
@@ -20465,7 +20459,7 @@ const Nk = { class: "vc-scheduler__tg" }, Bk = { class: "vc-scheduler__tg-head"
|
|
|
20465
20459
|
variant: "primary",
|
|
20466
20460
|
"data-test": "editor-save",
|
|
20467
20461
|
disabled: !d.value,
|
|
20468
|
-
onClick:
|
|
20462
|
+
onClick: x
|
|
20469
20463
|
}, {
|
|
20470
20464
|
default: M(() => [
|
|
20471
20465
|
de(F(E.$t("VC_SCHEDULER.SAVE")), 1)
|
|
@@ -20610,7 +20604,7 @@ function CE(e) {
|
|
|
20610
20604
|
case "timeline-day":
|
|
20611
20605
|
return lt(u, d);
|
|
20612
20606
|
case "timeline-week":
|
|
20613
|
-
return
|
|
20607
|
+
return Ic(u, d);
|
|
20614
20608
|
default:
|
|
20615
20609
|
return Ko(u, d);
|
|
20616
20610
|
}
|
|
@@ -20772,7 +20766,7 @@ const _E = Symbol("VcSchedulerCalendarContext"), kE = ["aria-busy"], aR = /* @__
|
|
|
20772
20766
|
}
|
|
20773
20767
|
d.open = !1;
|
|
20774
20768
|
}
|
|
20775
|
-
function
|
|
20769
|
+
function x(H) {
|
|
20776
20770
|
d.draft && (c.draft = { ...d.draft, title: H.title }, c.mode = "create", c.recurrenceEdit = null, c.allowRecurrence = !0, c.open = !0), d.open = !1;
|
|
20777
20771
|
}
|
|
20778
20772
|
function P() {
|
|
@@ -20838,7 +20832,7 @@ const _E = Symbol("VcSchedulerCalendarContext"), kE = ["aria-busy"], aR = /* @__
|
|
|
20838
20832
|
month: "VC_SCHEDULER.MONTH",
|
|
20839
20833
|
"timeline-day": "VC_SCHEDULER.TIMELINE_DAY",
|
|
20840
20834
|
"timeline-week": "VC_SCHEDULER.TIMELINE_WEEK"
|
|
20841
|
-
},
|
|
20835
|
+
}, I = y(() => t.views.map((H) => ({ value: H, label: o(k[H]) }))), U = B(t.view ?? t.views[0] ?? "month"), q = y({
|
|
20842
20836
|
get: () => t.view ?? U.value,
|
|
20843
20837
|
set: (H) => {
|
|
20844
20838
|
U.value = H, l("update:view", H);
|
|
@@ -20850,7 +20844,7 @@ const _E = Symbol("VcSchedulerCalendarContext"), kE = ["aria-busy"], aR = /* @__
|
|
|
20850
20844
|
}
|
|
20851
20845
|
}), me = y(() => {
|
|
20852
20846
|
const H = te.value, ne = /* @__PURE__ */ new Date();
|
|
20853
|
-
return q.value === "timeline-day" ? Gl(H, ne) : q.value === "timeline-week" ?
|
|
20847
|
+
return q.value === "timeline-day" ? Gl(H, ne) : q.value === "timeline-week" ? xc(H, ne, { weekStartsOn: t.firstDayOfWeek % 7 }) : qo(H, ne);
|
|
20854
20848
|
}), j = y(() => {
|
|
20855
20849
|
const H = te.value, ne = t.firstDayOfWeek % 7;
|
|
20856
20850
|
if (q.value === "timeline-day") return { start: Ge(H), end: Go(H) };
|
|
@@ -20861,7 +20855,7 @@ const _E = Symbol("VcSchedulerCalendarContext"), kE = ["aria-busy"], aR = /* @__
|
|
|
20861
20855
|
}), G = y(() => Y_(t.events, j.value)), ae = y(() => t.loading && G.value.length === 0), Z = y(() => q.value === "month" ? r.value ? "agenda" : "month" : "timeline"), W = CE({
|
|
20862
20856
|
date: te,
|
|
20863
20857
|
view: q,
|
|
20864
|
-
firstDayOfWeek:
|
|
20858
|
+
firstDayOfWeek: Ie(t, "firstDayOfWeek"),
|
|
20865
20859
|
onDateChange: (H) => {
|
|
20866
20860
|
te.value = H;
|
|
20867
20861
|
}
|
|
@@ -20869,8 +20863,8 @@ const _E = Symbol("VcSchedulerCalendarContext"), kE = ["aria-busy"], aR = /* @__
|
|
|
20869
20863
|
return Be(_E, {
|
|
20870
20864
|
focusedDate: te,
|
|
20871
20865
|
view: q,
|
|
20872
|
-
editable:
|
|
20873
|
-
firstDayOfWeek:
|
|
20866
|
+
editable: Ie(t, "editable"),
|
|
20867
|
+
firstDayOfWeek: Ie(t, "firstDayOfWeek"),
|
|
20874
20868
|
isEventEditable: ke
|
|
20875
20869
|
}), (H, ne) => Xe((s(), g("div", {
|
|
20876
20870
|
class: "vc-scheduler",
|
|
@@ -20883,7 +20877,7 @@ const _E = Symbol("VcSchedulerCalendarContext"), kE = ["aria-busy"], aR = /* @__
|
|
|
20883
20877
|
T(m_, {
|
|
20884
20878
|
title: a(W).title.value,
|
|
20885
20879
|
view: q.value,
|
|
20886
|
-
views:
|
|
20880
|
+
views: I.value,
|
|
20887
20881
|
editable: e.editable,
|
|
20888
20882
|
current: me.value,
|
|
20889
20883
|
onPrev: a(W).goPrev,
|
|
@@ -20981,7 +20975,7 @@ const _E = Symbol("VcSchedulerCalendarContext"), kE = ["aria-busy"], aR = /* @__
|
|
|
20981
20975
|
anchorRect: d.anchorRect,
|
|
20982
20976
|
draft: d.draft ?? i,
|
|
20983
20977
|
save: O,
|
|
20984
|
-
more:
|
|
20978
|
+
more: x,
|
|
20985
20979
|
close: P
|
|
20986
20980
|
}, () => [
|
|
20987
20981
|
T(eE, {
|
|
@@ -20989,7 +20983,7 @@ const _E = Symbol("VcSchedulerCalendarContext"), kE = ["aria-busy"], aR = /* @__
|
|
|
20989
20983
|
"anchor-rect": d.anchorRect,
|
|
20990
20984
|
draft: d.draft ?? i,
|
|
20991
20985
|
onSave: O,
|
|
20992
|
-
onMore:
|
|
20986
|
+
onMore: x,
|
|
20993
20987
|
onClose: P
|
|
20994
20988
|
}, null, 8, ["open", "anchor-rect", "draft"])
|
|
20995
20989
|
]),
|
|
@@ -21051,7 +21045,7 @@ export {
|
|
|
21051
21045
|
j$ as N,
|
|
21052
21046
|
oi as O,
|
|
21053
21047
|
O$ as P,
|
|
21054
|
-
|
|
21048
|
+
I$ as Q,
|
|
21055
21049
|
Zo as R,
|
|
21056
21050
|
nR as S,
|
|
21057
21051
|
Xw as T,
|
|
@@ -21070,7 +21064,7 @@ export {
|
|
|
21070
21064
|
X$ as a3,
|
|
21071
21065
|
D$ as a4,
|
|
21072
21066
|
cv as a5,
|
|
21073
|
-
|
|
21067
|
+
x$ as a6,
|
|
21074
21068
|
pi as a7,
|
|
21075
21069
|
Bf as a8,
|
|
21076
21070
|
Q$ as a9,
|
|
@@ -21112,7 +21106,7 @@ export {
|
|
|
21112
21106
|
va as ai,
|
|
21113
21107
|
Bg as aj,
|
|
21114
21108
|
Ka as ak,
|
|
21115
|
-
|
|
21109
|
+
xt as al,
|
|
21116
21110
|
Ym as am,
|
|
21117
21111
|
ct as an,
|
|
21118
21112
|
vl as ao,
|
|
@@ -21138,53 +21132,54 @@ export {
|
|
|
21138
21132
|
Yl as b7,
|
|
21139
21133
|
uu as b8,
|
|
21140
21134
|
cu as b9,
|
|
21141
|
-
|
|
21142
|
-
|
|
21143
|
-
|
|
21144
|
-
|
|
21145
|
-
|
|
21146
|
-
|
|
21147
|
-
|
|
21148
|
-
|
|
21149
|
-
|
|
21150
|
-
|
|
21151
|
-
|
|
21152
|
-
|
|
21153
|
-
|
|
21154
|
-
|
|
21155
|
-
|
|
21156
|
-
|
|
21157
|
-
|
|
21158
|
-
|
|
21159
|
-
|
|
21160
|
-
|
|
21161
|
-
|
|
21135
|
+
zn as bA,
|
|
21136
|
+
Wc as bB,
|
|
21137
|
+
Qo as bC,
|
|
21138
|
+
Hc as bD,
|
|
21139
|
+
m$ as bE,
|
|
21140
|
+
d$ as bF,
|
|
21141
|
+
Zc as bG,
|
|
21142
|
+
sa as bH,
|
|
21143
|
+
Ua as bI,
|
|
21144
|
+
L$ as bJ,
|
|
21145
|
+
M$ as bK,
|
|
21146
|
+
_f as bL,
|
|
21147
|
+
Tf as bM,
|
|
21148
|
+
zc as bN,
|
|
21149
|
+
jo as bO,
|
|
21150
|
+
wf as bP,
|
|
21151
|
+
Zl as bQ,
|
|
21152
|
+
Jo as bR,
|
|
21153
|
+
Iu as bS,
|
|
21154
|
+
Mf as bT,
|
|
21155
|
+
fi as bU,
|
|
21156
|
+
ua as bV,
|
|
21162
21157
|
du as ba,
|
|
21163
21158
|
v$ as bb,
|
|
21164
21159
|
k$ as bc,
|
|
21165
21160
|
ei as bd,
|
|
21166
21161
|
_$ as be,
|
|
21167
|
-
|
|
21168
|
-
|
|
21169
|
-
|
|
21170
|
-
|
|
21171
|
-
|
|
21172
|
-
|
|
21173
|
-
|
|
21174
|
-
|
|
21175
|
-
|
|
21176
|
-
|
|
21177
|
-
|
|
21178
|
-
|
|
21179
|
-
|
|
21180
|
-
|
|
21181
|
-
|
|
21182
|
-
|
|
21183
|
-
|
|
21184
|
-
|
|
21185
|
-
|
|
21186
|
-
|
|
21187
|
-
|
|
21162
|
+
Cf as bf,
|
|
21163
|
+
f$ as bg,
|
|
21164
|
+
ai as bh,
|
|
21165
|
+
ui as bi,
|
|
21166
|
+
C$ as bj,
|
|
21167
|
+
py as bk,
|
|
21168
|
+
gy as bl,
|
|
21169
|
+
vu as bm,
|
|
21170
|
+
ry as bn,
|
|
21171
|
+
by as bo,
|
|
21172
|
+
Si as bp,
|
|
21173
|
+
ph as bq,
|
|
21174
|
+
_i as br,
|
|
21175
|
+
ln as bs,
|
|
21176
|
+
cy as bt,
|
|
21177
|
+
ki as bu,
|
|
21178
|
+
Uu as bv,
|
|
21179
|
+
fu as bw,
|
|
21180
|
+
Of as bx,
|
|
21181
|
+
Uc as by,
|
|
21182
|
+
Rf as bz,
|
|
21188
21183
|
ma as c,
|
|
21189
21184
|
E1 as d,
|
|
21190
21185
|
b1 as e,
|