@vc-shell/framework 2.0.10-pr244.2b4e603 → 2.0.10-pr244.35451aa
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/{VcTableAdapter.vue_vue_type_style_index_0_lang-DTAzXuNi.js → VcTableAdapter.vue_vue_type_style_index_0_lang-BA4FEAgZ.js} +527 -539
- package/dist/chunks/{VcTableAdapter.vue_vue_type_style_index_0_lang-DTAzXuNi.js.map → VcTableAdapter.vue_vue_type_style_index_0_lang-BA4FEAgZ.js.map} +1 -1
- package/dist/framework.js +5 -5
- package/dist/index.css +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/organisms/vc-data-table/VcDataTable.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts +0 -14
- package/dist/ui/components/organisms/vc-data-table/composables/useDataTableOrchestrator.d.ts.map +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { mergeProps as ke, ref as I, computed as y, getCurrentInstance as ut, inject as ue, defineComponent as K, openBlock as s, createElementBlock as b, createElementVNode as k, reactive as It, provide as
|
|
1
|
+
import { mergeProps as ke, ref as I, computed as y, getCurrentInstance as ut, inject as ue, defineComponent as K, openBlock as s, createElementBlock as b, createElementVNode as k, reactive as It, provide as Oe, getCurrentScope as qt, onScopeDispose as Tt, shallowRef as Zn, onErrorCaptured as is, nextTick as Ce, watch as ee, onBeforeUnmount as ze, createBlock as N, unref as a, withCtx as T, withDirectives as je, resolveDynamicComponent as Ke, vShow as St, createCommentVNode as _, normalizeClass as q, renderSlot as U, toRef as Te, toValue as _e, toDisplayString as F, onMounted as tt, useId as Ot, withKeys as we, withModifiers as ae, Teleport as rt, createVNode as R, Transition as Be, normalizeStyle as ye, Fragment as te, renderList as me, createTextVNode as se, h as ss, createSlots as xe, markRaw as ml, useSlots as ht, isRef as gt, TransitionGroup as ea, toHandlers as Dl, onUnmounted as Kt, hasInjectionContext as yo, watchEffect as Wt, shallowReactive as Dn, useAttrs as ta, vModelText as wo, vModelDynamic as rs, normalizeProps as lt, guardReactiveProps as nt, resolveComponent as ko, toRefs as cs, vModelCheckbox as us, toRaw as So } from "vue";
|
|
2
2
|
import { d as qe, av as ds, ao as vs, P as fs, h as Co, N as Fn, G as ms, z as gs, I as ps, F as bs, C as hs, x as $o, B as pt, g as la, a4 as Eo, a1 as _o, a0 as xo, ay as bl, a3 as Ro, _ as J, X as na, b as ys, T as zn, n as aa, W as Io, l as ws, L as Un, a7 as Hn, K as Wn, O as Fl, y as ks, as as Ao, a6 as oa, ad as hl, R as Gn, ag as Ss, aa as To, aA as Cs, Y as $s, J as Es, al as _s, a as xs } from "./VcAiAgentPanel.vue_vue_type_style_index_0_lang-CThvtYtw.js";
|
|
3
3
|
import { c as Oo, d as Yl, o as Rs, u as Xl, e as Is, f as As, g as Ts, h as Os } from "./vendor-vueuse-core-CEdpDfzx.js";
|
|
4
4
|
import { f as jt, s as Mt, o as At, b as Mo, d as Ms } from "./vendor-floating-ui-dom-BvVXFZ4B.js";
|
|
@@ -96,7 +96,7 @@ import { C as _c, u as xc } from "./vendor-vue-currency-input-CckB4kjx.js";
|
|
|
96
96
|
import { u as Do, a as Rc } from "./vendor-floating-ui-vue-sCrhit51.js";
|
|
97
97
|
import { t as Ic } from "./vendor-truncate-html-ChA1T5zy.js";
|
|
98
98
|
import { S as Rt, h as Ac, T as Tc } from "./vendor-date-fns-BKO3x1R1.js";
|
|
99
|
-
const
|
|
99
|
+
const et = Bs({
|
|
100
100
|
legacy: !1,
|
|
101
101
|
globalInjection: !0,
|
|
102
102
|
locale: "en",
|
|
@@ -120,12 +120,12 @@ class ct extends Error {
|
|
|
120
120
|
};
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
class
|
|
123
|
+
class TE extends ct {
|
|
124
124
|
constructor(l, t) {
|
|
125
125
|
super(l, "VALIDATION_ERROR", t), this.name = "ValidationError";
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
|
-
class
|
|
128
|
+
class OE extends ct {
|
|
129
129
|
constructor(l, t) {
|
|
130
130
|
super(l, "SERVICE_ERROR", t), this.name = "ServiceError";
|
|
131
131
|
}
|
|
@@ -138,7 +138,7 @@ class Bt extends ct {
|
|
|
138
138
|
}), this.name = "InjectionError";
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
-
class
|
|
141
|
+
class ME extends ct {
|
|
142
142
|
constructor(l, t, n) {
|
|
143
143
|
super(`Failed to register '${l}': ${t}`, "REGISTRATION_ERROR", {
|
|
144
144
|
componentName: l,
|
|
@@ -146,7 +146,7 @@ class BE extends ct {
|
|
|
146
146
|
}), this.name = "RegistrationError";
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
class
|
|
149
|
+
class BE extends ct {
|
|
150
150
|
constructor(l, t, n) {
|
|
151
151
|
super(l, "BLADE_ERROR", {
|
|
152
152
|
bladeId: t,
|
|
@@ -154,7 +154,7 @@ class LE extends ct {
|
|
|
154
154
|
}), this.name = "BladeError";
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
|
-
class
|
|
157
|
+
class LE extends ct {
|
|
158
158
|
constructor(l, t, n) {
|
|
159
159
|
super(`Failed to load module '${l}': ${t}`, "MODULE_LOAD_ERROR", {
|
|
160
160
|
moduleId: l,
|
|
@@ -165,7 +165,7 @@ class NE extends ct {
|
|
|
165
165
|
function Oc(e) {
|
|
166
166
|
return e instanceof ct;
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function NE(e, l = "UNKNOWN_ERROR") {
|
|
169
169
|
return Oc(e) ? e : e instanceof Error ? new ct(e.message, l, {
|
|
170
170
|
originalError: e.name,
|
|
171
171
|
stack: e.stack
|
|
@@ -312,7 +312,7 @@ function ra(e, l) {
|
|
|
312
312
|
const i = t + 1 + o, c = e.slice(0, i), u = e.slice(i);
|
|
313
313
|
return `${c}_${l}${u}`;
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function VE(e) {
|
|
316
316
|
return e <= 64 ? "64x64" : e <= 128 ? "128x128" : e <= 168 ? "168x168" : e <= 216 ? "216x216" : e <= 348 ? "348x348" : "lg";
|
|
317
317
|
}
|
|
318
318
|
const Lt = () => {
|
|
@@ -601,7 +601,7 @@ function Jl() {
|
|
|
601
601
|
}
|
|
602
602
|
return Al || (Al = Xc()), Al;
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function PE(e) {
|
|
605
605
|
const l = /* @__PURE__ */ new Map();
|
|
606
606
|
function t(o, i) {
|
|
607
607
|
l.set(o, i);
|
|
@@ -637,16 +637,16 @@ function Ho() {
|
|
|
637
637
|
return e;
|
|
638
638
|
}
|
|
639
639
|
const Hl = /* @__PURE__ */ new Map();
|
|
640
|
-
function
|
|
640
|
+
function DE(e, l) {
|
|
641
641
|
Hl.has(e) && console.warn(`[defineBlade] Duplicate blade name: "${e}". Overwriting.`), Hl.set(e, l);
|
|
642
642
|
}
|
|
643
643
|
function Qc(e) {
|
|
644
644
|
return Hl.get(e);
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function FE() {
|
|
647
647
|
return Hl;
|
|
648
648
|
}
|
|
649
|
-
const Jc = ["width", "height"],
|
|
649
|
+
const Jc = ["width", "height"], zE = /* @__PURE__ */ K({
|
|
650
650
|
__name: "MenuBurgerIcon",
|
|
651
651
|
props: {
|
|
652
652
|
width: {},
|
|
@@ -686,13 +686,13 @@ const eu = (e, [l, t]) => {
|
|
|
686
686
|
const p = new Image();
|
|
687
687
|
p.onerror = () => d(!1), p.onload = () => {
|
|
688
688
|
const f = p.width >= Number(c) && p.height >= Number(u);
|
|
689
|
-
d(f ? !0 :
|
|
689
|
+
d(f ? !0 : et.global.t("messages.min_dimensions.error", { width: c, height: u }));
|
|
690
690
|
}, p.src = v.createObjectURL(i);
|
|
691
691
|
});
|
|
692
692
|
}, r = [], o = e.files;
|
|
693
693
|
for (let i = 0; i < o.length; i++) {
|
|
694
694
|
if (!/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(o[i].name))
|
|
695
|
-
return Promise.resolve(
|
|
695
|
+
return Promise.resolve(et.global.t("messages.min_dimensions.not_image_error"));
|
|
696
696
|
r.push(o[i]);
|
|
697
697
|
}
|
|
698
698
|
return Promise.all(r.map((i) => n(i, l, t))).then((i) => {
|
|
@@ -707,7 +707,7 @@ const tu = (e, [l]) => {
|
|
|
707
707
|
const t = l * 1e3, n = (c) => c.size > t, r = [];
|
|
708
708
|
for (let c = 0; c < e.files.length; c++)
|
|
709
709
|
r.push(e.files[c]);
|
|
710
|
-
return r.map((c) => n(c)).find((c) => c === !0) ?
|
|
710
|
+
return r.map((c) => n(c)).find((c) => c === !0) ? et.global.t("messages.file_weight", { size: l }) : !0;
|
|
711
711
|
};
|
|
712
712
|
Yt("fileWeight", tu);
|
|
713
713
|
const Wo = (e, [l], t, n) => {
|
|
@@ -715,11 +715,11 @@ const Wo = (e, [l], t, n) => {
|
|
|
715
715
|
return !0;
|
|
716
716
|
let r, o;
|
|
717
717
|
return e instanceof Date && (r = e), l instanceof Date && (o = l), typeof e == "string" && (r = new Date(e)), typeof l == "string" && (o = new Date(l)), r?.getTime && r?.getTime() > 0 && o?.getTime && o?.getTime() > 0 && t(o.getTime(), r.getTime()) ? n : !0;
|
|
718
|
-
}, lu = (e, [l]) => Wo(e, [l], (t, n) => t < n,
|
|
718
|
+
}, lu = (e, [l]) => Wo(e, [l], (t, n) => t < n, et.global.t("messages.before"));
|
|
719
719
|
Yt("before", lu);
|
|
720
|
-
const nu = (e, [l]) => Wo(e, [l], (t, n) => t > n,
|
|
720
|
+
const nu = (e, [l]) => Wo(e, [l], (t, n) => t > n, et.global.t("messages.after"));
|
|
721
721
|
Yt("after", nu);
|
|
722
|
-
const au = (e) => Number.isSafeInteger(parseInt(e)) ? !0 :
|
|
722
|
+
const au = (e) => Number.isSafeInteger(parseInt(e)) ? !0 : et.global.t("messages.bigint");
|
|
723
723
|
Yt("bigint", au);
|
|
724
724
|
function Zt(e) {
|
|
725
725
|
const l = qe(`${e.name}-bus`), t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set();
|
|
@@ -874,24 +874,24 @@ const kl = I(/* @__PURE__ */ new Map()), bt = Zt({
|
|
|
874
874
|
function ou(e) {
|
|
875
875
|
bt.preregister(e);
|
|
876
876
|
}
|
|
877
|
-
function
|
|
877
|
+
function UE(e) {
|
|
878
878
|
bt.removePreregistered((l) => ca(l, e)), bt.broadcast((l) => l.removeMenuItem(e));
|
|
879
879
|
}
|
|
880
|
-
function
|
|
880
|
+
function HE(e, l) {
|
|
881
881
|
kl.value.set(e, l), bt.broadcast((t) => {
|
|
882
882
|
t.menuBadges.value.set(e, l);
|
|
883
883
|
});
|
|
884
884
|
}
|
|
885
|
-
function
|
|
885
|
+
function WE(e) {
|
|
886
886
|
const l = bt.getFirstInstance();
|
|
887
887
|
return l ? l.menuBadges.value.get(e) : kl.value.get(e);
|
|
888
888
|
}
|
|
889
|
-
function
|
|
889
|
+
function GE(e) {
|
|
890
890
|
kl.value.delete(e), bt.broadcast((l) => {
|
|
891
891
|
l.menuBadges.value.delete(e);
|
|
892
892
|
});
|
|
893
893
|
}
|
|
894
|
-
function
|
|
894
|
+
function qE() {
|
|
895
895
|
return bt.getFirstInstance()?.menuBadges ?? kl;
|
|
896
896
|
}
|
|
897
897
|
const Yn = 1 / 0, iu = 1 / 0;
|
|
@@ -978,12 +978,12 @@ function vu() {
|
|
|
978
978
|
return bt.replayInto(o), o;
|
|
979
979
|
}
|
|
980
980
|
const fu = qe("use-menu-service");
|
|
981
|
-
function
|
|
981
|
+
function KE() {
|
|
982
982
|
const e = ue(Fn, null);
|
|
983
983
|
if (e)
|
|
984
984
|
return e;
|
|
985
985
|
const l = vu();
|
|
986
|
-
return
|
|
986
|
+
return Oe(Fn, l), qt() && Tt(() => bt.dispose(l)), l;
|
|
987
987
|
}
|
|
988
988
|
function Ko() {
|
|
989
989
|
const e = ue(Fn);
|
|
@@ -995,7 +995,7 @@ const En = qe("blade-registry"), mu = Symbol("BladeRegistry");
|
|
|
995
995
|
function Ga(e) {
|
|
996
996
|
return !(!e || typeof e != "function" && typeof e != "object");
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function jE(e) {
|
|
999
999
|
const l = Zn(/* @__PURE__ */ new Map()), t = /* @__PURE__ */ new Map();
|
|
1000
1000
|
function n(d) {
|
|
1001
1001
|
return d.startsWith("/") ? d : `/${d}`;
|
|
@@ -1077,7 +1077,7 @@ function gu() {
|
|
|
1077
1077
|
);
|
|
1078
1078
|
return e;
|
|
1079
1079
|
}
|
|
1080
|
-
function
|
|
1080
|
+
function Le() {
|
|
1081
1081
|
return {
|
|
1082
1082
|
isMobile: ue(hs, I(!1)),
|
|
1083
1083
|
isDesktop: ue(bs, I(!0)),
|
|
@@ -1187,7 +1187,7 @@ function Eu(e) {
|
|
|
1187
1187
|
};
|
|
1188
1188
|
}
|
|
1189
1189
|
const Pl = /* @__PURE__ */ new WeakMap();
|
|
1190
|
-
function
|
|
1190
|
+
function YE(e, l, t) {
|
|
1191
1191
|
Pl.set(e, { timerId: l, notifId: t });
|
|
1192
1192
|
}
|
|
1193
1193
|
function _u(e) {
|
|
@@ -1239,19 +1239,19 @@ const xu = K({
|
|
|
1239
1239
|
emits: ["close", "parentCall"],
|
|
1240
1240
|
setup(e, { emit: l }) {
|
|
1241
1241
|
const t = e, n = l, r = gu(), o = I(!1), i = I([]), c = I(), u = y(() => r.getBladeComponent(t.descriptor.name));
|
|
1242
|
-
|
|
1242
|
+
Oe(
|
|
1243
1243
|
pt,
|
|
1244
1244
|
y(() => ({
|
|
1245
1245
|
...t.descriptor,
|
|
1246
1246
|
maximized: o.value,
|
|
1247
1247
|
breadcrumbs: t.breadcrumbs
|
|
1248
1248
|
}))
|
|
1249
|
-
),
|
|
1249
|
+
), Oe(Eo, o), Oe(_o, i), Oe(
|
|
1250
1250
|
xo,
|
|
1251
1251
|
y(() => t.backButton)
|
|
1252
1252
|
);
|
|
1253
1253
|
const v = Xt();
|
|
1254
|
-
|
|
1254
|
+
Oe(
|
|
1255
1255
|
jo,
|
|
1256
1256
|
v ? wu({
|
|
1257
1257
|
descriptor: y(() => t.descriptor),
|
|
@@ -1314,7 +1314,7 @@ function Ge() {
|
|
|
1314
1314
|
const Au = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], Tu = {
|
|
1315
1315
|
key: 2,
|
|
1316
1316
|
class: "vc-button__title"
|
|
1317
|
-
},
|
|
1317
|
+
}, Me = /* @__PURE__ */ K({
|
|
1318
1318
|
__name: "vc-button",
|
|
1319
1319
|
props: {
|
|
1320
1320
|
icon: {},
|
|
@@ -1377,7 +1377,7 @@ const Au = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], Tu =
|
|
|
1377
1377
|
])) : _("", !0)
|
|
1378
1378
|
], 10, Au));
|
|
1379
1379
|
}
|
|
1380
|
-
}),
|
|
1380
|
+
}), XE = /* @__PURE__ */ K({
|
|
1381
1381
|
__name: "vc-button-group",
|
|
1382
1382
|
props: {
|
|
1383
1383
|
orientation: { default: "horizontal" },
|
|
@@ -1386,9 +1386,9 @@ const Au = ["type", "disabled", "aria-label", "aria-busy", "aria-pressed"], Tu =
|
|
|
1386
1386
|
},
|
|
1387
1387
|
setup(e) {
|
|
1388
1388
|
const l = e;
|
|
1389
|
-
|
|
1390
|
-
size:
|
|
1391
|
-
attached:
|
|
1389
|
+
Oe(Yo, {
|
|
1390
|
+
size: Te(l, "size"),
|
|
1391
|
+
attached: Te(l, "attached")
|
|
1392
1392
|
});
|
|
1393
1393
|
const t = y(() => [
|
|
1394
1394
|
"vc-button-group",
|
|
@@ -1559,7 +1559,7 @@ function ua(e) {
|
|
|
1559
1559
|
x();
|
|
1560
1560
|
});
|
|
1561
1561
|
}
|
|
1562
|
-
),
|
|
1562
|
+
), tt(() => {
|
|
1563
1563
|
Ce(() => {
|
|
1564
1564
|
P(), x();
|
|
1565
1565
|
});
|
|
@@ -1694,7 +1694,7 @@ function Ct(e = {}) {
|
|
|
1694
1694
|
};
|
|
1695
1695
|
}
|
|
1696
1696
|
const Nu = qe("use-table-sort");
|
|
1697
|
-
function
|
|
1697
|
+
function QE(e) {
|
|
1698
1698
|
const l = I(e?.initialProperty || null), t = I(e?.initialDirection || null), n = y({
|
|
1699
1699
|
get: () => ({
|
|
1700
1700
|
property: l.value,
|
|
@@ -1727,7 +1727,7 @@ function JE(e) {
|
|
|
1727
1727
|
};
|
|
1728
1728
|
}
|
|
1729
1729
|
const xn = qe("use-table-selection");
|
|
1730
|
-
function
|
|
1730
|
+
function JE(e) {
|
|
1731
1731
|
const l = e?.idField ?? "id", t = (m) => {
|
|
1732
1732
|
if (typeof l == "function")
|
|
1733
1733
|
return l(m);
|
|
@@ -1775,7 +1775,7 @@ function Pu(e) {
|
|
|
1775
1775
|
if (e === 1) return "ASC";
|
|
1776
1776
|
if (e === -1) return "DESC";
|
|
1777
1777
|
}
|
|
1778
|
-
function
|
|
1778
|
+
function ZE(e) {
|
|
1779
1779
|
const l = e?.initialField, t = Vu(e?.initialDirection), n = I(l), r = I(t), o = y(() => {
|
|
1780
1780
|
const c = Pu(r.value);
|
|
1781
1781
|
if (!(!n.value || !c))
|
|
@@ -1790,7 +1790,7 @@ function e_(e) {
|
|
|
1790
1790
|
}
|
|
1791
1791
|
};
|
|
1792
1792
|
}
|
|
1793
|
-
function
|
|
1793
|
+
function e_(e) {
|
|
1794
1794
|
const l = y(() => _e(e.pageSize) ?? 20), t = I(1), n = y(() => Math.ceil(_e(e.totalCount) / l.value) || 0), r = y(() => (t.value - 1) * l.value), o = y(() => _e(e.totalCount));
|
|
1795
1795
|
function i(u) {
|
|
1796
1796
|
t.value = u, e.onPageChange?.({ page: u, skip: r.value });
|
|
@@ -1835,7 +1835,7 @@ const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "on
|
|
|
1835
1835
|
},
|
|
1836
1836
|
emits: ["update:modelValue", "item-click", "open", "close"],
|
|
1837
1837
|
setup(e, { emit: l }) {
|
|
1838
|
-
const t = e, n = l, i = `vc-dropdown-${ut()?.uid ?? Math.round(Math.random() * 1e4)}`, { isMobile: c } =
|
|
1838
|
+
const t = e, n = l, i = `vc-dropdown-${ut()?.uid ?? Math.round(Math.random() * 1e4)}`, { isMobile: c } = Le(), u = I(null), v = I(null), d = I(-1), { teleportTarget: p } = Ct({
|
|
1839
1839
|
to: y(() => t.teleportTo)
|
|
1840
1840
|
}), f = y(() => t.teleport ?? t.floating), g = y({
|
|
1841
1841
|
get: () => t.modelValue,
|
|
@@ -1984,7 +1984,7 @@ const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "on
|
|
|
1984
1984
|
defer: "",
|
|
1985
1985
|
disabled: !f.value
|
|
1986
1986
|
}, [
|
|
1987
|
-
R(
|
|
1987
|
+
R(Be, {
|
|
1988
1988
|
name: "vc-dropdown-transition",
|
|
1989
1989
|
appear: ""
|
|
1990
1990
|
}, {
|
|
@@ -2099,7 +2099,7 @@ const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "on
|
|
|
2099
2099
|
setup(e) {
|
|
2100
2100
|
const l = e, t = I(null), n = I(!1), r = ua({
|
|
2101
2101
|
containerRef: t,
|
|
2102
|
-
items:
|
|
2102
|
+
items: Te(l, "items"),
|
|
2103
2103
|
getItemKey: (p) => p.id,
|
|
2104
2104
|
moreButtonWidth: Xu,
|
|
2105
2105
|
calculationStrategy: "reverse",
|
|
@@ -2137,7 +2137,7 @@ const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "on
|
|
|
2137
2137
|
click: v,
|
|
2138
2138
|
isActive: g
|
|
2139
2139
|
}, () => [
|
|
2140
|
-
R(a(
|
|
2140
|
+
R(a(Me), {
|
|
2141
2141
|
text: "",
|
|
2142
2142
|
icon: "lucide-ellipsis-vertical",
|
|
2143
2143
|
"icon-size": "xl",
|
|
@@ -2207,7 +2207,7 @@ const Du = { class: "vc-dropdown" }, Fu = ["aria-expanded", "aria-haspopup", "on
|
|
|
2207
2207
|
onTrigger: u
|
|
2208
2208
|
}, {
|
|
2209
2209
|
default: T(() => [
|
|
2210
|
-
R(a(
|
|
2210
|
+
R(a(Me), {
|
|
2211
2211
|
ref_key: "buttonRef",
|
|
2212
2212
|
ref: t,
|
|
2213
2213
|
icon: "lucide-arrow-left",
|
|
@@ -2267,12 +2267,12 @@ const td = ["aria-label"], ld = {
|
|
|
2267
2267
|
__name: "vc-blade-navigation-new",
|
|
2268
2268
|
setup(e) {
|
|
2269
2269
|
const { t: l } = Pe(), t = bl(), n = Ho(), r = Xt(), { breadcrumbs: o, push: i, remove: c } = ed(), { syncUrlReplace: u } = $o(r, t);
|
|
2270
|
-
|
|
2270
|
+
tt(() => {
|
|
2271
2271
|
t.blades.value.length !== 0 && Ce(() => {
|
|
2272
2272
|
u();
|
|
2273
2273
|
});
|
|
2274
2274
|
});
|
|
2275
|
-
const v = y(() => t.blades.value), d = y(() => t.activeBlade.value), p = y(() => v.value.length > 0), f = y(() => v.value.filter((P) => P.visible).length), { isMobile: g } =
|
|
2275
|
+
const v = y(() => t.blades.value), d = y(() => t.activeBlade.value), p = y(() => v.value.length > 0), f = y(() => v.value.filter((P) => P.visible).length), { isMobile: g } = Le(), h = ue(ys, void 0), m = y(() => h?.isExpanded.value ?? !1), C = y(() => g.value || m.value ? 1 : 2);
|
|
2276
2276
|
function w(P, B) {
|
|
2277
2277
|
return P.visible ? B >= f.value - C.value : !1;
|
|
2278
2278
|
}
|
|
@@ -2282,7 +2282,7 @@ const td = ["aria-label"], ld = {
|
|
|
2282
2282
|
o.value.forEach((B) => B && c([B.id])), P.filter((B) => B.visible).forEach((B, x) => {
|
|
2283
2283
|
i({
|
|
2284
2284
|
id: x.toString(),
|
|
2285
|
-
title:
|
|
2285
|
+
title: Te({ title: B.name }, "title"),
|
|
2286
2286
|
clickHandler: async (V) => {
|
|
2287
2287
|
const D = parseInt(V), M = v.value.filter((S) => S.visible)[D + 1];
|
|
2288
2288
|
if (M) {
|
|
@@ -2344,11 +2344,11 @@ const td = ["aria-label"], ld = {
|
|
|
2344
2344
|
}
|
|
2345
2345
|
}), Jo = Symbol("PopupPlugin");
|
|
2346
2346
|
let Zo;
|
|
2347
|
-
function
|
|
2347
|
+
function t_(e) {
|
|
2348
2348
|
Zo = e;
|
|
2349
2349
|
}
|
|
2350
2350
|
const ei = /* @__PURE__ */ new Map();
|
|
2351
|
-
function
|
|
2351
|
+
function l_(e, l) {
|
|
2352
2352
|
ei.set(e, l);
|
|
2353
2353
|
}
|
|
2354
2354
|
function Rn(e) {
|
|
@@ -2372,7 +2372,7 @@ const ad = { class: "vc-popup__center" }, od = ["aria-label"], id = { class: "vc
|
|
|
2372
2372
|
},
|
|
2373
2373
|
emits: ["close", "update:modelValue"],
|
|
2374
2374
|
setup(e, { emit: l }) {
|
|
2375
|
-
const t = e, n = l, o = `vc-popup-title-${ut()?.uid ?? 0}`, { isMobile: i } =
|
|
2375
|
+
const t = e, n = l, o = `vc-popup-title-${ut()?.uid ?? 0}`, { isMobile: i } = Le(), c = I(null), u = {
|
|
2376
2376
|
warning: { icon: "lucide-triangle-alert", className: "vc-popup__icon--warning" },
|
|
2377
2377
|
error: { icon: "lucide-circle-alert", className: "vc-popup__icon--error" },
|
|
2378
2378
|
success: { icon: "lucide-circle-check", className: "vc-popup__icon--success" },
|
|
@@ -2500,7 +2500,7 @@ const ad = { class: "vc-popup__center" }, od = ["aria-label"], id = { class: "vc
|
|
|
2500
2500
|
]),
|
|
2501
2501
|
A.$slots.footer ? (s(), b("div", sd, [
|
|
2502
2502
|
U(A.$slots, "footer", { close: C }, () => [
|
|
2503
|
-
R(a(
|
|
2503
|
+
R(a(Me), {
|
|
2504
2504
|
class: "vc-popup__close-button",
|
|
2505
2505
|
onClick: C
|
|
2506
2506
|
}, {
|
|
@@ -2798,7 +2798,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
|
|
|
2798
2798
|
},
|
|
2799
2799
|
emits: ["close", "expand", "collapse"],
|
|
2800
2800
|
setup(e, { emit: l }) {
|
|
2801
|
-
const t = e, n = l, { isMobile: r } =
|
|
2801
|
+
const t = e, n = l, { isMobile: r } = Le(), o = ue(pt, void 0), i = I(!1), c = I(null), u = I(null), { teleportTarget: v } = Ct(), { floatingStyle: d } = el(c, u, {
|
|
2802
2802
|
placement: "bottom-start",
|
|
2803
2803
|
middleware: () => [Mt()]
|
|
2804
2804
|
});
|
|
@@ -3101,7 +3101,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
|
|
|
3101
3101
|
], 2)
|
|
3102
3102
|
], 2));
|
|
3103
3103
|
}
|
|
3104
|
-
}),
|
|
3104
|
+
}), n_ = Fd, a_ = /* @__PURE__ */ K({
|
|
3105
3105
|
__name: "vc-col",
|
|
3106
3106
|
props: {
|
|
3107
3107
|
size: { default: 1 }
|
|
@@ -3157,7 +3157,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
|
|
|
3157
3157
|
_: 3
|
|
3158
3158
|
}, 8, ["class", "aria-label"]));
|
|
3159
3159
|
}
|
|
3160
|
-
}),
|
|
3160
|
+
}), o_ = zd, Ud = ["id", "role"], Hd = /* @__PURE__ */ K({
|
|
3161
3161
|
__name: "vc-hint",
|
|
3162
3162
|
props: {
|
|
3163
3163
|
id: {},
|
|
@@ -3337,7 +3337,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
|
|
|
3337
3337
|
U(O.$slots, "default")
|
|
3338
3338
|
], 8, qd),
|
|
3339
3339
|
(s(), N(rt, { to: a(v) }, [
|
|
3340
|
-
R(
|
|
3340
|
+
R(Be, { name: "vc-tooltip-fade" }, {
|
|
3341
3341
|
default: T(() => [
|
|
3342
3342
|
n.value && !e.disabled && O.$slots.tooltip ? (s(), b("div", {
|
|
3343
3343
|
key: 0,
|
|
@@ -3377,7 +3377,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
|
|
|
3377
3377
|
}, Qd = {
|
|
3378
3378
|
key: 1,
|
|
3379
3379
|
class: "vc-label__language"
|
|
3380
|
-
},
|
|
3380
|
+
}, at = /* @__PURE__ */ K({
|
|
3381
3381
|
__name: "vc-label",
|
|
3382
3382
|
props: {
|
|
3383
3383
|
required: { type: Boolean },
|
|
@@ -3494,7 +3494,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
|
|
|
3494
3494
|
}, null, 4)
|
|
3495
3495
|
], 10, ov));
|
|
3496
3496
|
}
|
|
3497
|
-
}),
|
|
3497
|
+
}), i_ = iv, sv = { class: "vc-row" }, s_ = /* @__PURE__ */ K({
|
|
3498
3498
|
__name: "vc-row",
|
|
3499
3499
|
setup(e) {
|
|
3500
3500
|
return (l, t) => (s(), b("div", sv, [
|
|
@@ -3554,7 +3554,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
|
|
|
3554
3554
|
class: "vc-video__placeholder",
|
|
3555
3555
|
role: "img",
|
|
3556
3556
|
"aria-label": "No video source"
|
|
3557
|
-
},
|
|
3557
|
+
}, r_ = /* @__PURE__ */ K({
|
|
3558
3558
|
__name: "vc-video",
|
|
3559
3559
|
props: {
|
|
3560
3560
|
label: {},
|
|
@@ -3564,7 +3564,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
|
|
|
3564
3564
|
emits: ["click"],
|
|
3565
3565
|
setup(e) {
|
|
3566
3566
|
return (l, t) => (s(), b("div", vv, [
|
|
3567
|
-
e.label ? (s(), N(a(
|
|
3567
|
+
e.label ? (s(), N(a(at), {
|
|
3568
3568
|
key: 0,
|
|
3569
3569
|
class: "vc-video__label"
|
|
3570
3570
|
}, xe({
|
|
@@ -3674,7 +3674,7 @@ const fd = ["aria-label"], md = { class: "tw-sr-only" }, gd = ["aria-label"], pd
|
|
|
3674
3674
|
}, Ev = {
|
|
3675
3675
|
key: 2,
|
|
3676
3676
|
class: "vc-banner__trigger"
|
|
3677
|
-
}, _v = ["aria-expanded"],
|
|
3677
|
+
}, _v = ["aria-expanded"], c_ = /* @__PURE__ */ K({
|
|
3678
3678
|
__name: "vc-banner",
|
|
3679
3679
|
props: {
|
|
3680
3680
|
variant: { default: "info" },
|
|
@@ -3871,7 +3871,7 @@ const Rv = ["aria-label"], Iv = ["aria-hidden"], Av = ["disabled", "aria-label",
|
|
|
3871
3871
|
role: "toolbar",
|
|
3872
3872
|
"aria-label": p.$t("COMPONENTS.ORGANISMS.VC_BLADE.TOOLBAR")
|
|
3873
3873
|
}, [
|
|
3874
|
-
R(
|
|
3874
|
+
R(Be, { name: "toolbar-mobile-backdrop" }, {
|
|
3875
3875
|
default: T(() => [
|
|
3876
3876
|
t.value ? (s(), b("div", {
|
|
3877
3877
|
key: 0,
|
|
@@ -3906,7 +3906,7 @@ const Rv = ["aria-label"], Iv = ["aria-hidden"], Av = ["disabled", "aria-label",
|
|
|
3906
3906
|
])
|
|
3907
3907
|
], 12, Av))), 128))
|
|
3908
3908
|
], 10, Iv),
|
|
3909
|
-
R(
|
|
3909
|
+
R(Be, {
|
|
3910
3910
|
name: "toolbar-mobile-fab",
|
|
3911
3911
|
mode: "out-in"
|
|
3912
3912
|
}, {
|
|
@@ -4018,7 +4018,7 @@ const Rv = ["aria-label"], Iv = ["aria-hidden"], Av = ["disabled", "aria-label",
|
|
|
4018
4018
|
setup(e) {
|
|
4019
4019
|
const l = e, t = I(!1), n = I(null), { visibleItems: r, hiddenItems: o, showMoreButton: i, recalculate: c, updateObserver: u } = ua({
|
|
4020
4020
|
containerRef: n,
|
|
4021
|
-
items:
|
|
4021
|
+
items: Te(l, "items"),
|
|
4022
4022
|
getItemKey: (d) => d.id ?? `toolbar_item_${l.items.indexOf(d)}`,
|
|
4023
4023
|
moreButtonWidth: 70,
|
|
4024
4024
|
initialItemWidth: 60
|
|
@@ -4083,7 +4083,7 @@ const Rv = ["aria-label"], Iv = ["aria-hidden"], Av = ["disabled", "aria-label",
|
|
|
4083
4083
|
getKey: (e) => `${e.bladeId.toLowerCase()}::${e.toolbarItem.id}`,
|
|
4084
4084
|
registerIntoService: (e, l) => e.registerToolbarItem(l.toolbarItem, l.bladeId)
|
|
4085
4085
|
});
|
|
4086
|
-
function
|
|
4086
|
+
function u_(e, l) {
|
|
4087
4087
|
const t = l.toLowerCase();
|
|
4088
4088
|
va.preregister({
|
|
4089
4089
|
bladeId: t,
|
|
@@ -4197,12 +4197,12 @@ const Xa = {
|
|
|
4197
4197
|
zu: "za"
|
|
4198
4198
|
}, ri = "fallback-blade-id";
|
|
4199
4199
|
let An = null;
|
|
4200
|
-
function
|
|
4200
|
+
function d_() {
|
|
4201
4201
|
const e = ue(zn, null);
|
|
4202
4202
|
if (e)
|
|
4203
4203
|
return e;
|
|
4204
4204
|
const l = si();
|
|
4205
|
-
return
|
|
4205
|
+
return Oe(zn, l), qt() && Tt(() => va.dispose(l)), l;
|
|
4206
4206
|
}
|
|
4207
4207
|
function Wv(e = {}) {
|
|
4208
4208
|
const { autoCleanup: l = !0 } = e, t = ue(zn, null);
|
|
@@ -4235,7 +4235,7 @@ const Gv = "prop_toolbar_item_";
|
|
|
4235
4235
|
function qv(e) {
|
|
4236
4236
|
const { hasAccess: l } = yl(), { registerToolbarItem: t, unregisterToolbarItem: n, getToolbarItems: r, updateToolbarItem: o } = Wv({
|
|
4237
4237
|
autoCleanup: !1
|
|
4238
|
-
}), { id: i } = aa(), c = y(() => (i.value ?? ri).toLowerCase()), { isMobile: u } =
|
|
4238
|
+
}), { id: i } = aa(), c = y(() => (i.value ?? ri).toLowerCase()), { isMobile: u } = Le(), v = /* @__PURE__ */ new Set(), d = I(c.value);
|
|
4239
4239
|
function p(m, C) {
|
|
4240
4240
|
const w = d.value, $ = m.id || `${Gv}${w}_${C}`;
|
|
4241
4241
|
return {
|
|
@@ -4279,7 +4279,7 @@ const Kv = { class: "vc-blade-toolbar__content" }, jv = { class: "vc-blade-toolb
|
|
|
4279
4279
|
loading: { type: Boolean }
|
|
4280
4280
|
},
|
|
4281
4281
|
setup(e) {
|
|
4282
|
-
const l = e, { isMobile: t } =
|
|
4282
|
+
const l = e, { isMobile: t } = Le(), { visibleItems: n } = qv(Te(l, "items"));
|
|
4283
4283
|
return (r, o) => e.loading && a(t) ? _("", !0) : (s(), b("div", {
|
|
4284
4284
|
key: 0,
|
|
4285
4285
|
class: q(["vc-blade-toolbar", {
|
|
@@ -4542,7 +4542,7 @@ const ef = ["role"], tf = { class: "vc-blade-status-banners__text" }, lf = ["tit
|
|
|
4542
4542
|
function vf(e) {
|
|
4543
4543
|
return e?.map((l) => l.toLowerCase());
|
|
4544
4544
|
}
|
|
4545
|
-
function
|
|
4545
|
+
function v_(e) {
|
|
4546
4546
|
fa.set(e.id, {
|
|
4547
4547
|
...e,
|
|
4548
4548
|
targetBlades: vf(e.targetBlades)
|
|
@@ -4566,14 +4566,14 @@ const ci = Zt({
|
|
|
4566
4566
|
getKey: (e) => `${e.bladeId.toLowerCase()}::${e.widget.id}`,
|
|
4567
4567
|
registerIntoService: (e, l) => e.registerWidget(l.widget, l.bladeId)
|
|
4568
4568
|
});
|
|
4569
|
-
function
|
|
4569
|
+
function f_(e, l) {
|
|
4570
4570
|
const t = l.toLowerCase();
|
|
4571
4571
|
ci.preregister({
|
|
4572
4572
|
bladeId: t,
|
|
4573
4573
|
widget: e
|
|
4574
4574
|
});
|
|
4575
4575
|
}
|
|
4576
|
-
function
|
|
4576
|
+
function m_() {
|
|
4577
4577
|
const e = Go({
|
|
4578
4578
|
createRegistration: (n, r) => ({ bladeId: n, widget: r }),
|
|
4579
4579
|
getRegistrationBladeId: (n) => n.bladeId,
|
|
@@ -4603,7 +4603,7 @@ const Kl = /* @__PURE__ */ K({
|
|
|
4603
4603
|
},
|
|
4604
4604
|
setup(e) {
|
|
4605
4605
|
const l = e, t = ue(Io), r = ue(pt, void 0)?.value.id ?? "";
|
|
4606
|
-
return
|
|
4606
|
+
return Oe(ws, {
|
|
4607
4607
|
setTrigger: (i) => {
|
|
4608
4608
|
t.updateWidget({ id: l.widgetId, bladeId: r, widget: { trigger: i } });
|
|
4609
4609
|
}
|
|
@@ -4788,9 +4788,9 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
|
|
|
4788
4788
|
const ce = r();
|
|
4789
4789
|
if (!(!ce || typeof document > "u")) {
|
|
4790
4790
|
if (ce.counter === 0) {
|
|
4791
|
-
const { body: $e, documentElement:
|
|
4791
|
+
const { body: $e, documentElement: Ne } = document;
|
|
4792
4792
|
ce.cachedOverflow = $e.style.overflow, ce.cachedPaddingRight = $e.style.paddingRight;
|
|
4793
|
-
const De = window.innerWidth -
|
|
4793
|
+
const De = window.innerWidth - Ne.clientWidth;
|
|
4794
4794
|
$e.style.overflow = "hidden", De > 0 && ($e.style.paddingRight = `${De}px`);
|
|
4795
4795
|
}
|
|
4796
4796
|
ce.counter += 1;
|
|
@@ -4856,8 +4856,8 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
|
|
|
4856
4856
|
function Z(ce) {
|
|
4857
4857
|
if (!H.value || !d.value) return;
|
|
4858
4858
|
H.value = !1;
|
|
4859
|
-
const $e = ce.changedTouches[0].clientY - ie.value,
|
|
4860
|
-
$e > De ? (d.value.style.transition = "transform 0.2s ease", d.value.style.transform = `translateY(${
|
|
4859
|
+
const $e = ce.changedTouches[0].clientY - ie.value, Ne = d.value.offsetHeight, De = Ne * c.closeThreshold;
|
|
4860
|
+
$e > De ? (d.value.style.transition = "transform 0.2s ease", d.value.style.transform = `translateY(${Ne}px)`, setTimeout(() => {
|
|
4861
4861
|
z("action");
|
|
4862
4862
|
}, 200)) : (d.value.style.transition = "transform 0.2s ease", d.value.style.transform = "", setTimeout(() => {
|
|
4863
4863
|
d.value && (d.value.style.transition = "");
|
|
@@ -4895,12 +4895,12 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
|
|
|
4895
4895
|
ce.preventDefault(), d.value.focus();
|
|
4896
4896
|
return;
|
|
4897
4897
|
}
|
|
4898
|
-
const
|
|
4898
|
+
const Ne = $e[0], De = $e[$e.length - 1], Ye = document.activeElement;
|
|
4899
4899
|
if (ce.shiftKey) {
|
|
4900
|
-
(Ye ===
|
|
4900
|
+
(Ye === Ne || !Ye || !d.value.contains(Ye)) && (ce.preventDefault(), De.focus());
|
|
4901
4901
|
return;
|
|
4902
4902
|
}
|
|
4903
|
-
Ye === De && (ce.preventDefault(),
|
|
4903
|
+
Ye === De && (ce.preventDefault(), Ne.focus());
|
|
4904
4904
|
}
|
|
4905
4905
|
function Ie() {
|
|
4906
4906
|
if (!c.returnFocus || !f.value) {
|
|
@@ -4951,7 +4951,7 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
|
|
|
4951
4951
|
style: ye(L.value),
|
|
4952
4952
|
"aria-hidden": !e.modelValue
|
|
4953
4953
|
}, [
|
|
4954
|
-
R(
|
|
4954
|
+
R(Be, { name: "vc-sidebar-overlay" }, {
|
|
4955
4955
|
default: T(() => [
|
|
4956
4956
|
e.modelValue && e.showOverlay ? (s(), b("div", {
|
|
4957
4957
|
key: 0,
|
|
@@ -4961,7 +4961,7 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
|
|
|
4961
4961
|
]),
|
|
4962
4962
|
_: 1
|
|
4963
4963
|
}),
|
|
4964
|
-
R(
|
|
4964
|
+
R(Be, { name: V.value }, {
|
|
4965
4965
|
default: T(() => [
|
|
4966
4966
|
e.modelValue ? (s(), b("aside", {
|
|
4967
4967
|
key: 0,
|
|
@@ -5001,7 +5001,7 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
|
|
|
5001
5001
|
type: "button",
|
|
5002
5002
|
class: "vc-sidebar__close",
|
|
5003
5003
|
"aria-label": e.closeAriaLabel,
|
|
5004
|
-
onClick: $e[0] || ($e[0] = (
|
|
5004
|
+
onClick: $e[0] || ($e[0] = (Ne) => z("action"))
|
|
5005
5005
|
}, [
|
|
5006
5006
|
R(a(J), {
|
|
5007
5007
|
icon: "lucide-x",
|
|
@@ -5155,7 +5155,7 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
|
|
|
5155
5155
|
bladeId: {}
|
|
5156
5156
|
},
|
|
5157
5157
|
setup(e) {
|
|
5158
|
-
const l = e, { isMobile: t } =
|
|
5158
|
+
const l = e, { isMobile: t } = Le(), n = qe("widget-container"), r = y(() => l.bladeId.toLowerCase()), o = bf(), i = ue(pt, void 0), c = y(() => i?.value.name?.toLowerCase() ?? ""), u = /* @__PURE__ */ new Set();
|
|
5159
5159
|
function v() {
|
|
5160
5160
|
if (!c.value) return;
|
|
5161
5161
|
o.getAllExternalWidgets().filter(
|
|
@@ -5186,7 +5186,7 @@ const hf = { class: "vc-widget-container-desktop" }, yf = { class: "vc-widget-co
|
|
|
5186
5186
|
}
|
|
5187
5187
|
}), u.clear();
|
|
5188
5188
|
}
|
|
5189
|
-
|
|
5189
|
+
tt(v), Kt(d);
|
|
5190
5190
|
const p = y(() => o.getWidgets(r.value)), f = y(
|
|
5191
5191
|
() => p.value.filter((g) => ii(g.isVisible, i?.value))
|
|
5192
5192
|
);
|
|
@@ -5207,14 +5207,14 @@ function di() {
|
|
|
5207
5207
|
if (!u)
|
|
5208
5208
|
return "en";
|
|
5209
5209
|
const v = u.replace(/([a-z]+)([A-Z]+)/g, "$1-$2").toLowerCase();
|
|
5210
|
-
return
|
|
5210
|
+
return et.global.availableLocales.includes(v) ? v : "en";
|
|
5211
5211
|
}
|
|
5212
|
-
e.value &&
|
|
5213
|
-
const t = y(() =>
|
|
5212
|
+
e.value && et.global.availableLocales.includes(e.value) && (et.global.locale.value = e.value);
|
|
5213
|
+
const t = y(() => et.global.availableLocales.includes(e.value) ? e.value : et.global.locale.value);
|
|
5214
5214
|
function n(u) {
|
|
5215
5215
|
const v = l(u);
|
|
5216
|
-
|
|
5217
|
-
const d =
|
|
5216
|
+
et.global.locale.value = v;
|
|
5217
|
+
const d = et.global.getLocaleMessage(v)?.messages;
|
|
5218
5218
|
Wr.configure({
|
|
5219
5219
|
generateMessage: hc(v, {
|
|
5220
5220
|
messages: d ?? {}
|
|
@@ -5258,14 +5258,14 @@ let Tn = null;
|
|
|
5258
5258
|
function fi() {
|
|
5259
5259
|
return Tn || (Tn = di()), Tn;
|
|
5260
5260
|
}
|
|
5261
|
-
function
|
|
5261
|
+
function g_() {
|
|
5262
5262
|
if (!yo())
|
|
5263
5263
|
return vi.warn("No injection context for provideLanguages; using fallback language service"), fi();
|
|
5264
5264
|
const e = ue(Un, null);
|
|
5265
5265
|
if (e)
|
|
5266
5266
|
return e;
|
|
5267
5267
|
const l = di();
|
|
5268
|
-
return
|
|
5268
|
+
return Oe(Un, l), l;
|
|
5269
5269
|
}
|
|
5270
5270
|
function mi() {
|
|
5271
5271
|
if (!yo())
|
|
@@ -5279,7 +5279,7 @@ const Pf = qe("use-theme"), _t = I([
|
|
|
5279
5279
|
{ key: "light", localizationKey: "CORE.THEMES.LIGHT" },
|
|
5280
5280
|
{ key: "dark", localizationKey: "CORE.THEMES.DARK" }
|
|
5281
5281
|
]), Df = () => {
|
|
5282
|
-
const { t: e } =
|
|
5282
|
+
const { t: e } = et.global;
|
|
5283
5283
|
function l(v) {
|
|
5284
5284
|
(Array.isArray(v) ? v : [v]).forEach((d) => {
|
|
5285
5285
|
_t.value.some((p) => p.key === d.key) || _t.value.push(d);
|
|
@@ -5333,7 +5333,7 @@ const Pf = qe("use-theme"), _t = I([
|
|
|
5333
5333
|
getKey: (e) => e.id,
|
|
5334
5334
|
registerIntoService: (e, l) => e.registerWidget(l)
|
|
5335
5335
|
});
|
|
5336
|
-
function
|
|
5336
|
+
function p_(e) {
|
|
5337
5337
|
ma.preregister(e);
|
|
5338
5338
|
}
|
|
5339
5339
|
const Ff = () => ({
|
|
@@ -5382,9 +5382,9 @@ function Uf() {
|
|
|
5382
5382
|
const t = zf({
|
|
5383
5383
|
hasAccess: l
|
|
5384
5384
|
});
|
|
5385
|
-
return
|
|
5385
|
+
return Oe(Hn, t), qt() && Tt(() => ma.dispose(t)), t;
|
|
5386
5386
|
}
|
|
5387
|
-
function
|
|
5387
|
+
function b_() {
|
|
5388
5388
|
const e = ue(Hn);
|
|
5389
5389
|
if (!e)
|
|
5390
5390
|
throw gi.error("Dashboard service not found"), new Bt("DashboardService");
|
|
@@ -5396,7 +5396,7 @@ const ga = Zt({
|
|
|
5396
5396
|
registerIntoService: (e, l) => e.register(l),
|
|
5397
5397
|
unregisterFromService: (e, l) => e.unregister(l)
|
|
5398
5398
|
});
|
|
5399
|
-
function
|
|
5399
|
+
function h_(e) {
|
|
5400
5400
|
ga.preregister(e);
|
|
5401
5401
|
}
|
|
5402
5402
|
function Hf() {
|
|
@@ -5422,12 +5422,12 @@ function Hf() {
|
|
|
5422
5422
|
return ga.replayInto(l), l;
|
|
5423
5423
|
}
|
|
5424
5424
|
const Wf = qe("use-app-bar-widget");
|
|
5425
|
-
function
|
|
5425
|
+
function y_() {
|
|
5426
5426
|
const e = ue(Wn, null);
|
|
5427
5427
|
if (e)
|
|
5428
5428
|
return e;
|
|
5429
5429
|
const l = Hf();
|
|
5430
|
-
return
|
|
5430
|
+
return Oe(Wn, l), qt() && Tt(() => ga.dispose(l)), l;
|
|
5431
5431
|
}
|
|
5432
5432
|
function ln() {
|
|
5433
5433
|
const e = ue(Wn);
|
|
@@ -5441,7 +5441,7 @@ const pa = Zt({
|
|
|
5441
5441
|
registerIntoService: (e, l) => e.register(l),
|
|
5442
5442
|
unregisterFromService: (e, l) => e.unregister(l)
|
|
5443
5443
|
});
|
|
5444
|
-
function
|
|
5444
|
+
function w_(e) {
|
|
5445
5445
|
pa.preregister(e);
|
|
5446
5446
|
}
|
|
5447
5447
|
function Gf() {
|
|
@@ -5462,12 +5462,12 @@ function Gf() {
|
|
|
5462
5462
|
return pa.replayInto(l), l;
|
|
5463
5463
|
}
|
|
5464
5464
|
const qf = qe("use-settings-menu");
|
|
5465
|
-
function
|
|
5465
|
+
function k_() {
|
|
5466
5466
|
const e = ue(Fl, null);
|
|
5467
5467
|
if (e)
|
|
5468
5468
|
return e;
|
|
5469
5469
|
const l = Gf();
|
|
5470
|
-
return
|
|
5470
|
+
return Oe(Fl, l), qt() && Tt(() => pa.dispose(l)), l;
|
|
5471
5471
|
}
|
|
5472
5472
|
function Kf() {
|
|
5473
5473
|
const e = ue(Fl);
|
|
@@ -5518,7 +5518,7 @@ function Jf() {
|
|
|
5518
5518
|
o.value = !1;
|
|
5519
5519
|
}
|
|
5520
5520
|
};
|
|
5521
|
-
return
|
|
5521
|
+
return Oe(Xn, d), d;
|
|
5522
5522
|
}
|
|
5523
5523
|
function ba() {
|
|
5524
5524
|
const e = ue(Xn);
|
|
@@ -5529,7 +5529,7 @@ function ba() {
|
|
|
5529
5529
|
const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
5530
5530
|
key: 1,
|
|
5531
5531
|
class: "vc-blade__breadcrumbs"
|
|
5532
|
-
},
|
|
5532
|
+
}, S_ = /* @__PURE__ */ K({
|
|
5533
5533
|
inheritAttrs: !1,
|
|
5534
5534
|
__name: "vc-blade",
|
|
5535
5535
|
props: {
|
|
@@ -5550,8 +5550,8 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
5550
5550
|
if (n)
|
|
5551
5551
|
return n.isModified.value;
|
|
5552
5552
|
}), i = `blade-title-${ut()?.uid ?? 0}`, c = y(() => !!t.loading);
|
|
5553
|
-
|
|
5554
|
-
const u = l, { isMobile: v, isDesktop: d } =
|
|
5553
|
+
Oe(Ro, c), ht();
|
|
5554
|
+
const u = l, { isMobile: v, isDesktop: d } = Le(), p = aa(), { id: f } = p, g = !!ue(pt, void 0), h = ue(Eo, void 0), m = y(() => g ? p.expanded.value : t.expanded), C = y(() => g ? p.closable.value : t.closable), w = ta(), $ = y(() => {
|
|
5555
5555
|
const { class: S, style: E, onClose: z, ...Y } = w;
|
|
5556
5556
|
return Y;
|
|
5557
5557
|
});
|
|
@@ -5611,7 +5611,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
5611
5611
|
collapsed: ""
|
|
5612
5612
|
}, {
|
|
5613
5613
|
trigger: T(({ click: z, isActive: Y }) => [
|
|
5614
|
-
R(a(
|
|
5614
|
+
R(a(Me), {
|
|
5615
5615
|
text: "",
|
|
5616
5616
|
icon: "lucide-ellipsis-vertical",
|
|
5617
5617
|
"icon-size": "xl",
|
|
@@ -5723,7 +5723,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
5723
5723
|
},
|
|
5724
5724
|
emits: ["update:modelValue", "blur", "focus"],
|
|
5725
5725
|
setup(e, { emit: l }) {
|
|
5726
|
-
const t = e, n = l, r = Ge(), { isMobile: o, isDesktop: i } =
|
|
5726
|
+
const t = e, n = l, r = Ge(), { isMobile: o, isDesktop: i } = Le(), { labelId: c, errorId: u, hintId: v, invalid: d, resolvedDisabled: p, ariaRequired: f, ariaDescribedBy: g } = dt(t), h = I(!1), m = window.navigator.language, C = I(t.modelValue), w = I(null), $ = y(() => t.type === "date" && "9999-12-31" || void 0), A = (() => {
|
|
5727
5727
|
const S = new Intl.DateTimeFormat(m, { hour: "numeric" }).format();
|
|
5728
5728
|
return Number.isInteger(Number(S));
|
|
5729
5729
|
})(), O = y(() => {
|
|
@@ -5804,7 +5804,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
5804
5804
|
}
|
|
5805
5805
|
]])
|
|
5806
5806
|
}, [
|
|
5807
|
-
e.label ? (s(), N(a(
|
|
5807
|
+
e.label ? (s(), N(a(at), {
|
|
5808
5808
|
key: 0,
|
|
5809
5809
|
id: a(c),
|
|
5810
5810
|
class: "vc-date-picker__label",
|
|
@@ -5889,7 +5889,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
5889
5889
|
])) : _("", !0)
|
|
5890
5890
|
])
|
|
5891
5891
|
], 2),
|
|
5892
|
-
R(
|
|
5892
|
+
R(Be, {
|
|
5893
5893
|
name: "slide-up",
|
|
5894
5894
|
mode: "out-in"
|
|
5895
5895
|
}, {
|
|
@@ -6033,7 +6033,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
6033
6033
|
}
|
|
6034
6034
|
]])
|
|
6035
6035
|
}, [
|
|
6036
|
-
e.label ? (s(), N(a(
|
|
6036
|
+
e.label ? (s(), N(a(at), {
|
|
6037
6037
|
key: 0,
|
|
6038
6038
|
id: a(c),
|
|
6039
6039
|
"html-for": a(i),
|
|
@@ -6128,7 +6128,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
6128
6128
|
])) : _("", !0)
|
|
6129
6129
|
])
|
|
6130
6130
|
], 2),
|
|
6131
|
-
R(
|
|
6131
|
+
R(Be, {
|
|
6132
6132
|
name: "slide-up",
|
|
6133
6133
|
mode: "out-in"
|
|
6134
6134
|
}, {
|
|
@@ -6348,7 +6348,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
6348
6348
|
}
|
|
6349
6349
|
]]
|
|
6350
6350
|
}), [
|
|
6351
|
-
e.label ? (s(), N(a(
|
|
6351
|
+
e.label ? (s(), N(a(at), {
|
|
6352
6352
|
key: 0,
|
|
6353
6353
|
id: a(u),
|
|
6354
6354
|
"html-for": a(c),
|
|
@@ -6460,7 +6460,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
6460
6460
|
U(Q.$slots, "append", { focus: Y })
|
|
6461
6461
|
])) : _("", !0)
|
|
6462
6462
|
]),
|
|
6463
|
-
R(
|
|
6463
|
+
R(Be, {
|
|
6464
6464
|
name: "slide-up",
|
|
6465
6465
|
mode: "out-in"
|
|
6466
6466
|
}, {
|
|
@@ -6555,7 +6555,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
6555
6555
|
"vc-textarea--focus": m.value
|
|
6556
6556
|
}])
|
|
6557
6557
|
}, [
|
|
6558
|
-
e.label ? (s(), N(a(
|
|
6558
|
+
e.label ? (s(), N(a(at), {
|
|
6559
6559
|
key: 0,
|
|
6560
6560
|
id: a(c),
|
|
6561
6561
|
"html-for": a(i),
|
|
@@ -6598,7 +6598,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
6598
6598
|
onBlur: $[1] || ($[1] = (A) => m.value = !1)
|
|
6599
6599
|
}, null, 40, Pm)
|
|
6600
6600
|
]),
|
|
6601
|
-
R(
|
|
6601
|
+
R(Be, {
|
|
6602
6602
|
name: "slide-up",
|
|
6603
6603
|
mode: "out-in"
|
|
6604
6604
|
}, {
|
|
@@ -6639,7 +6639,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
6639
6639
|
}), Um = { class: "vc-field__content" }, Hm = ["href"], Wm = {
|
|
6640
6640
|
key: 2,
|
|
6641
6641
|
class: "vc-field__text"
|
|
6642
|
-
},
|
|
6642
|
+
}, C_ = /* @__PURE__ */ K({
|
|
6643
6643
|
__name: "vc-field",
|
|
6644
6644
|
props: {
|
|
6645
6645
|
label: {},
|
|
@@ -6700,7 +6700,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
6700
6700
|
class: q(["vc-field__label", { "vc-field__label--empty": !e.label }]),
|
|
6701
6701
|
style: ye(e.orientation === "horizontal" ? { flex: `${e.aspectRatio[0]} 1 0%` } : void 0)
|
|
6702
6702
|
}, [
|
|
6703
|
-
e.label ? (s(), N(a(
|
|
6703
|
+
e.label ? (s(), N(a(at), { key: 0 }, xe({
|
|
6704
6704
|
default: T(() => [
|
|
6705
6705
|
k("span", null, F(e.label), 1)
|
|
6706
6706
|
]),
|
|
@@ -6735,7 +6735,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
6735
6735
|
class: "vc-field__link"
|
|
6736
6736
|
}, F(e.displayValue || e.modelValue), 9, Hm)) : (s(), b("span", Wm, F(n.value), 1))
|
|
6737
6737
|
]),
|
|
6738
|
-
e.copyable ? (s(), N(a(
|
|
6738
|
+
e.copyable ? (s(), N(a(Me), {
|
|
6739
6739
|
key: 0,
|
|
6740
6740
|
icon: r.value,
|
|
6741
6741
|
size: "icon-sm",
|
|
@@ -6901,7 +6901,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
6901
6901
|
U(d.$slots, "default")
|
|
6902
6902
|
], 2));
|
|
6903
6903
|
}
|
|
6904
|
-
}),
|
|
6904
|
+
}), $_ = jm, E_ = pi, Ym = {
|
|
6905
6905
|
key: 0,
|
|
6906
6906
|
class: "vc-file-upload__container vc-file-upload--skeleton"
|
|
6907
6907
|
}, Xm = ["tabindex", "aria-label", "aria-describedby", "aria-disabled", "aria-required", "onKeydown"], Qm = {
|
|
@@ -6926,7 +6926,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
6926
6926
|
},
|
|
6927
6927
|
emits: ["upload"],
|
|
6928
6928
|
setup(e, { emit: l }) {
|
|
6929
|
-
const t = Ge(), n = e, r = l, { t: o } = Pe({ useScope: "global" }), { fieldId: i, errorId: c, resolvedDisabled: u, resolvedName: v, ariaRequired: d, groupContext: p } = dt(n), f = a(n.rules) || "", g = I(!1), { isMobile: h } =
|
|
6929
|
+
const t = Ge(), n = e, r = l, { t: o } = Pe({ useScope: "global" }), { fieldId: i, errorId: c, resolvedDisabled: u, resolvedName: v, ariaRequired: d, groupContext: p } = dt(n), f = a(n.rules) || "", g = I(!1), { isMobile: h } = Le(), {
|
|
6930
6930
|
errorMessage: m,
|
|
6931
6931
|
handleChange: C,
|
|
6932
6932
|
validate: w
|
|
@@ -7044,7 +7044,7 @@ const Zf = ["aria-labelledby", "aria-label"], em = {
|
|
|
7044
7044
|
onChange: P
|
|
7045
7045
|
}, null, 40, eg)
|
|
7046
7046
|
], 42, Xm),
|
|
7047
|
-
R(
|
|
7047
|
+
R(Be, {
|
|
7048
7048
|
name: "slide-up",
|
|
7049
7049
|
mode: "out-in"
|
|
7050
7050
|
}, {
|
|
@@ -7203,7 +7203,7 @@ const ag = {
|
|
|
7203
7203
|
function d(p) {
|
|
7204
7204
|
p.target.closest(".vc-editor-font-selector") || v();
|
|
7205
7205
|
}
|
|
7206
|
-
return
|
|
7206
|
+
return tt(() => {
|
|
7207
7207
|
document.addEventListener("click", d);
|
|
7208
7208
|
}), Kt(() => {
|
|
7209
7209
|
document.removeEventListener("click", d);
|
|
@@ -7453,7 +7453,7 @@ const ag = {
|
|
|
7453
7453
|
}, kg = { class: "vc-editor__header-actions" }, Sg = { class: "vc-editor__body" }, Cg = ["innerHTML"], $g = ["value", "maxlength"], Eg = {
|
|
7454
7454
|
key: 3,
|
|
7455
7455
|
class: "vc-editor__split-view"
|
|
7456
|
-
}, _g = { class: "vc-editor__split-editor" }, xg = { class: "vc-editor__split-preview" }, Rg = ["value", "maxlength"], Ig = { key: 0 },
|
|
7456
|
+
}, _g = { class: "vc-editor__split-editor" }, xg = { class: "vc-editor__split-preview" }, Rg = ["value", "maxlength"], Ig = { key: 0 }, __ = /* @__PURE__ */ K({
|
|
7457
7457
|
__name: "vc-editor",
|
|
7458
7458
|
props: {
|
|
7459
7459
|
placeholder: {},
|
|
@@ -7723,7 +7723,7 @@ const ag = {
|
|
|
7723
7723
|
"aria-invalid": !!e.errorMessage || void 0,
|
|
7724
7724
|
"aria-disabled": e.disabled || void 0
|
|
7725
7725
|
}, [
|
|
7726
|
-
e.label && !i.value ? (s(), N(a(
|
|
7726
|
+
e.label && !i.value ? (s(), N(a(at), {
|
|
7727
7727
|
key: 0,
|
|
7728
7728
|
class: "vc-editor__label",
|
|
7729
7729
|
required: e.required,
|
|
@@ -7834,7 +7834,7 @@ const ag = {
|
|
|
7834
7834
|
accept: "image/*",
|
|
7835
7835
|
onChange: D
|
|
7836
7836
|
}, null, 544),
|
|
7837
|
-
R(
|
|
7837
|
+
R(Be, {
|
|
7838
7838
|
name: "slide-up",
|
|
7839
7839
|
mode: "out-in"
|
|
7840
7840
|
}, {
|
|
@@ -7929,7 +7929,7 @@ function hi(e = {}) {
|
|
|
7929
7929
|
}, C = () => {
|
|
7930
7930
|
i.value && (i.value.removeEventListener("keydown", v), i.value = null);
|
|
7931
7931
|
};
|
|
7932
|
-
return
|
|
7932
|
+
return tt(() => {
|
|
7933
7933
|
if (typeof document < "u" && l) {
|
|
7934
7934
|
const w = document.querySelector(l);
|
|
7935
7935
|
w && m(w);
|
|
@@ -8011,7 +8011,7 @@ function Tg() {
|
|
|
8011
8011
|
i.top < window.innerHeight && i.bottom > 0 && i.left < window.innerWidth && i.right > 0 && (l.value = !0);
|
|
8012
8012
|
}
|
|
8013
8013
|
}
|
|
8014
|
-
return
|
|
8014
|
+
return tt(() => {
|
|
8015
8015
|
e.value && (t = new IntersectionObserver(
|
|
8016
8016
|
([i]) => {
|
|
8017
8017
|
l.value = i.isIntersecting;
|
|
@@ -8533,7 +8533,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
8533
8533
|
])
|
|
8534
8534
|
]),
|
|
8535
8535
|
k("div", tp, [
|
|
8536
|
-
R(
|
|
8536
|
+
R(Be, {
|
|
8537
8537
|
name: "slide-up",
|
|
8538
8538
|
mode: "out-in"
|
|
8539
8539
|
}, {
|
|
@@ -8629,7 +8629,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
8629
8629
|
viewportRef: p,
|
|
8630
8630
|
loadMoreRef: d
|
|
8631
8631
|
}), (g, h) => (s(), N(rt, { to: a(i) }, [
|
|
8632
|
-
R(
|
|
8632
|
+
R(Be, { name: "select-dropdown" }, {
|
|
8633
8633
|
default: T(() => [
|
|
8634
8634
|
e.isOpened ? je((s(), b("div", {
|
|
8635
8635
|
key: 0,
|
|
@@ -8854,9 +8854,9 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
8854
8854
|
}
|
|
8855
8855
|
const Re = t.emitValue ?? !0;
|
|
8856
8856
|
if (t.mapOptions ?? !0) {
|
|
8857
|
-
const $e = Array.isArray(oe) ? oe : [oe],
|
|
8858
|
-
if (
|
|
8859
|
-
const De =
|
|
8857
|
+
const $e = Array.isArray(oe) ? oe : [oe], Ne = Re ? $e : $e.filter((De) => De != null && typeof De != "object");
|
|
8858
|
+
if (Ne.length > 0) {
|
|
8859
|
+
const De = Ne.filter((Ye) => Ye != null).map(String);
|
|
8860
8860
|
De.length > 0 && await H.resolve(De);
|
|
8861
8861
|
}
|
|
8862
8862
|
}
|
|
@@ -8893,7 +8893,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
8893
8893
|
}
|
|
8894
8894
|
]]
|
|
8895
8895
|
}), [
|
|
8896
|
-
e.label ? (s(), N(a(
|
|
8896
|
+
e.label ? (s(), N(a(at), {
|
|
8897
8897
|
key: 0,
|
|
8898
8898
|
id: a(v),
|
|
8899
8899
|
class: "vc-select__label",
|
|
@@ -8955,7 +8955,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
8955
8955
|
oe.$slots.control ? {
|
|
8956
8956
|
name: "control",
|
|
8957
8957
|
fn: T((ce) => [
|
|
8958
|
-
U(oe.$slots, "control", nt(
|
|
8958
|
+
U(oe.$slots, "control", lt(nt(ce)))
|
|
8959
8959
|
]),
|
|
8960
8960
|
key: "0"
|
|
8961
8961
|
} : void 0,
|
|
@@ -8990,7 +8990,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
8990
8990
|
oe.$slots["selected-item"] ? {
|
|
8991
8991
|
name: "selected-item",
|
|
8992
8992
|
fn: T((ce) => [
|
|
8993
|
-
U(oe.$slots, "selected-item", nt(
|
|
8993
|
+
U(oe.$slots, "selected-item", lt(nt(ce)))
|
|
8994
8994
|
]),
|
|
8995
8995
|
key: "5"
|
|
8996
8996
|
} : void 0,
|
|
@@ -9028,7 +9028,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
9028
9028
|
oe.$slots.option ? {
|
|
9029
9029
|
name: "option",
|
|
9030
9030
|
fn: T((ce) => [
|
|
9031
|
-
U(oe.$slots, "option", nt(
|
|
9031
|
+
U(oe.$slots, "option", lt(nt(ce)))
|
|
9032
9032
|
]),
|
|
9033
9033
|
key: "0"
|
|
9034
9034
|
} : void 0,
|
|
@@ -9111,7 +9111,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
9111
9111
|
"onUpdate:modelValue": n[2] || (n[2] = (o) => t.$emit("update:option", o))
|
|
9112
9112
|
}, {
|
|
9113
9113
|
option: T((o) => [
|
|
9114
|
-
U(t.$slots, "option", nt(
|
|
9114
|
+
U(t.$slots, "option", lt(nt(o)))
|
|
9115
9115
|
]),
|
|
9116
9116
|
control: T(({ toggleHandler: o, isOpened: i }) => [
|
|
9117
9117
|
R(a(He), {
|
|
@@ -9168,7 +9168,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
9168
9168
|
t.$slots.control ? {
|
|
9169
9169
|
name: "control",
|
|
9170
9170
|
fn: T((c) => [
|
|
9171
|
-
U(t.$slots, "control", nt(
|
|
9171
|
+
U(t.$slots, "control", lt(nt(c)))
|
|
9172
9172
|
]),
|
|
9173
9173
|
key: "0"
|
|
9174
9174
|
} : void 0,
|
|
@@ -9345,7 +9345,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
9345
9345
|
}), Sp = ["id", "data-mounted", "data-removed", "data-y-position", "data-front", "data-expanded", "data-visible", "data-swiping", "data-swiped-out", "role"], Cp = { class: "vc-notification__content-wrapper" }, $p = {
|
|
9346
9346
|
key: 0,
|
|
9347
9347
|
class: "vc-notification__content"
|
|
9348
|
-
}, Ep = { key: 1 }, eo = 200, _p = 45,
|
|
9348
|
+
}, Ep = { key: 1 }, eo = 200, _p = 45, x_ = /* @__PURE__ */ K({
|
|
9349
9349
|
__name: "vc-toast",
|
|
9350
9350
|
props: {
|
|
9351
9351
|
content: { type: [String, Object, Function] },
|
|
@@ -9397,7 +9397,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
9397
9397
|
M.style.height = S, n.onReportHeight?.(n.notificationId, E);
|
|
9398
9398
|
}
|
|
9399
9399
|
}
|
|
9400
|
-
|
|
9400
|
+
tt(() => {
|
|
9401
9401
|
requestAnimationFrame(() => {
|
|
9402
9402
|
requestAnimationFrame(() => {
|
|
9403
9403
|
c.value = !0, m();
|
|
@@ -9526,7 +9526,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
9526
9526
|
},
|
|
9527
9527
|
emits: ["itemClick"],
|
|
9528
9528
|
setup(e, { emit: l }) {
|
|
9529
|
-
const t = e, n = l, { isMobile: r } =
|
|
9529
|
+
const t = e, n = l, { isMobile: r } = Le(), o = I(t.currentPage);
|
|
9530
9530
|
ee(
|
|
9531
9531
|
() => t.currentPage,
|
|
9532
9532
|
(v) => {
|
|
@@ -9634,7 +9634,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
9634
9634
|
}, Hp = { class: "vc-rating__rating" }, Wp = {
|
|
9635
9635
|
key: 1,
|
|
9636
9636
|
class: "vc-rating__placeholder"
|
|
9637
|
-
},
|
|
9637
|
+
}, R_ = /* @__PURE__ */ K({
|
|
9638
9638
|
__name: "vc-rating",
|
|
9639
9639
|
props: {
|
|
9640
9640
|
placeholder: {},
|
|
@@ -9659,7 +9659,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
9659
9659
|
height: 20
|
|
9660
9660
|
})), 64))
|
|
9661
9661
|
])) : (s(), b("div", Dp, [
|
|
9662
|
-
e.label ? (s(), N(a(
|
|
9662
|
+
e.label ? (s(), N(a(at), {
|
|
9663
9663
|
key: 0,
|
|
9664
9664
|
class: "vc-rating__label"
|
|
9665
9665
|
}, xe({
|
|
@@ -9792,7 +9792,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
9792
9792
|
])
|
|
9793
9793
|
], 8, qp));
|
|
9794
9794
|
}
|
|
9795
|
-
}),
|
|
9795
|
+
}), I_ = Qp, Jp = ["role", "tabindex", "aria-expanded", "aria-haspopup", "aria-controls", "aria-labelledby", "aria-describedby", "aria-required", "aria-invalid"], Zp = {
|
|
9796
9796
|
key: 0,
|
|
9797
9797
|
class: "vc-multivalue__prepend"
|
|
9798
9798
|
}, eb = { class: "vc-multivalue__control" }, tb = { class: "vc-multivalue__content" }, lb = {
|
|
@@ -10024,7 +10024,7 @@ const Lg = { class: "vc-select__control" }, Ng = {
|
|
|
10024
10024
|
searchInputRef: i,
|
|
10025
10025
|
viewportRef: c
|
|
10026
10026
|
}), (C, w) => (s(), N(rt, { to: a(u) }, [
|
|
10027
|
-
R(
|
|
10027
|
+
R(Be, { name: "multivalue-dropdown" }, {
|
|
10028
10028
|
default: T(() => [
|
|
10029
10029
|
e.isOpened ? je((s(), b("div", {
|
|
10030
10030
|
key: 0,
|
|
@@ -10359,7 +10359,7 @@ const kb = {
|
|
|
10359
10359
|
}
|
|
10360
10360
|
]])
|
|
10361
10361
|
}, [
|
|
10362
|
-
e.label ? (s(), N(a(
|
|
10362
|
+
e.label ? (s(), N(a(at), {
|
|
10363
10363
|
key: 0,
|
|
10364
10364
|
id: a(i),
|
|
10365
10365
|
class: "vc-multivalue__label",
|
|
@@ -10416,7 +10416,7 @@ const kb = {
|
|
|
10416
10416
|
W.$slots["selected-item"] ? {
|
|
10417
10417
|
name: "selected-item",
|
|
10418
10418
|
fn: T((re) => [
|
|
10419
|
-
U(W.$slots, "selected-item", nt(
|
|
10419
|
+
U(W.$slots, "selected-item", lt(nt(re)))
|
|
10420
10420
|
]),
|
|
10421
10421
|
key: "0"
|
|
10422
10422
|
} : void 0,
|
|
@@ -10453,12 +10453,12 @@ const kb = {
|
|
|
10453
10453
|
W.$slots.option ? {
|
|
10454
10454
|
name: "option",
|
|
10455
10455
|
fn: T((re) => [
|
|
10456
|
-
U(W.$slots, "option", nt(
|
|
10456
|
+
U(W.$slots, "option", lt(nt(re)))
|
|
10457
10457
|
]),
|
|
10458
10458
|
key: "0"
|
|
10459
10459
|
} : void 0
|
|
10460
10460
|
]), 1040, ["is-opened", "dropdown-style", "available-options", "option-label", "listbox-id", "dropdown-toggle-ref", "onClickOutside"])) : _("", !0),
|
|
10461
|
-
R(
|
|
10461
|
+
R(Be, {
|
|
10462
10462
|
name: "slide-up",
|
|
10463
10463
|
mode: "out-in"
|
|
10464
10464
|
}, {
|
|
@@ -10561,7 +10561,7 @@ const kb = {
|
|
|
10561
10561
|
}, null, 42, xb),
|
|
10562
10562
|
se(" " + F(e.label), 1)
|
|
10563
10563
|
]),
|
|
10564
|
-
R(
|
|
10564
|
+
R(Be, {
|
|
10565
10565
|
name: "slide-up",
|
|
10566
10566
|
mode: "out-in"
|
|
10567
10567
|
}, {
|
|
@@ -10608,8 +10608,8 @@ const kb = {
|
|
|
10608
10608
|
if (l.hint)
|
|
10609
10609
|
return r.value;
|
|
10610
10610
|
}), u = y(() => l.label ? n.value : l.ariaLabelledby);
|
|
10611
|
-
return
|
|
10612
|
-
name:
|
|
10611
|
+
return Oe(Xo, {
|
|
10612
|
+
name: Te(l, "name"),
|
|
10613
10613
|
disabled: y(() => !!l.disabled),
|
|
10614
10614
|
invalid: i,
|
|
10615
10615
|
describedBy: c
|
|
@@ -10634,7 +10634,7 @@ const kb = {
|
|
|
10634
10634
|
id: n.value,
|
|
10635
10635
|
class: "vc-input-group__legend"
|
|
10636
10636
|
}, [
|
|
10637
|
-
R(a(
|
|
10637
|
+
R(a(at), {
|
|
10638
10638
|
required: e.required,
|
|
10639
10639
|
error: i.value
|
|
10640
10640
|
}, xe({
|
|
@@ -10655,7 +10655,7 @@ const kb = {
|
|
|
10655
10655
|
k("div", Tb, [
|
|
10656
10656
|
U(v.$slots, "default")
|
|
10657
10657
|
]),
|
|
10658
|
-
R(
|
|
10658
|
+
R(Be, {
|
|
10659
10659
|
name: "slide-up",
|
|
10660
10660
|
mode: "out-in"
|
|
10661
10661
|
}, {
|
|
@@ -10694,7 +10694,7 @@ const kb = {
|
|
|
10694
10694
|
}), Bb = {
|
|
10695
10695
|
key: 0,
|
|
10696
10696
|
class: "vc-radio-group vc-radio-group--skeleton"
|
|
10697
|
-
},
|
|
10697
|
+
}, A_ = /* @__PURE__ */ K({
|
|
10698
10698
|
__name: "vc-radio-group",
|
|
10699
10699
|
props: {
|
|
10700
10700
|
label: {},
|
|
@@ -10828,7 +10828,7 @@ const kb = {
|
|
|
10828
10828
|
f.value && (f.value.indeterminate = m);
|
|
10829
10829
|
},
|
|
10830
10830
|
{ immediate: !0 }
|
|
10831
|
-
),
|
|
10831
|
+
), tt(() => {
|
|
10832
10832
|
f.value && t.indeterminate && (f.value.indeterminate = t.indeterminate);
|
|
10833
10833
|
}), (m, C) => a(p) ? (s(), b("div", Lb, [
|
|
10834
10834
|
R(a(be), {
|
|
@@ -10850,7 +10850,7 @@ const kb = {
|
|
|
10850
10850
|
[`vc-checkbox--size-${e.size}`]: !0
|
|
10851
10851
|
}])
|
|
10852
10852
|
}, [
|
|
10853
|
-
e.label ? (s(), N(a(
|
|
10853
|
+
e.label ? (s(), N(a(at), {
|
|
10854
10854
|
key: 0,
|
|
10855
10855
|
"html-for": a(r),
|
|
10856
10856
|
class: "vc-checkbox__label",
|
|
@@ -10892,7 +10892,7 @@ const kb = {
|
|
|
10892
10892
|
]),
|
|
10893
10893
|
k("span", Pb, [
|
|
10894
10894
|
U(m.$slots, "icon", {}, () => [
|
|
10895
|
-
R(
|
|
10895
|
+
R(Be, { name: "vc-checkbox-check" }, {
|
|
10896
10896
|
default: T(() => [
|
|
10897
10897
|
h.value && !e.indeterminate ? (s(), b("svg", Db, [...C[1] || (C[1] = [
|
|
10898
10898
|
k("path", {
|
|
@@ -10903,7 +10903,7 @@ const kb = {
|
|
|
10903
10903
|
]),
|
|
10904
10904
|
_: 1
|
|
10905
10905
|
}),
|
|
10906
|
-
R(
|
|
10906
|
+
R(Be, { name: "vc-checkbox-check" }, {
|
|
10907
10907
|
default: T(() => [
|
|
10908
10908
|
e.indeterminate ? (s(), b("span", Fb)) : _("", !0)
|
|
10909
10909
|
]),
|
|
@@ -10916,7 +10916,7 @@ const kb = {
|
|
|
10916
10916
|
])) : _("", !0),
|
|
10917
10917
|
!e.label && e.required ? (s(), b("span", Ub, "*")) : _("", !0)
|
|
10918
10918
|
]),
|
|
10919
|
-
R(
|
|
10919
|
+
R(Be, {
|
|
10920
10920
|
name: "slide-up",
|
|
10921
10921
|
mode: "out-in"
|
|
10922
10922
|
}, {
|
|
@@ -10943,7 +10943,7 @@ const kb = {
|
|
|
10943
10943
|
}), Wb = {
|
|
10944
10944
|
key: 0,
|
|
10945
10945
|
class: "vc-checkbox-group vc-checkbox-group--skeleton"
|
|
10946
|
-
},
|
|
10946
|
+
}, T_ = /* @__PURE__ */ K({
|
|
10947
10947
|
__name: "vc-checkbox-group",
|
|
10948
10948
|
props: {
|
|
10949
10949
|
label: {},
|
|
@@ -11076,7 +11076,7 @@ const kb = {
|
|
|
11076
11076
|
"vc-switch--error": a(c)
|
|
11077
11077
|
}])
|
|
11078
11078
|
}, [
|
|
11079
|
-
e.label ? (s(), N(a(
|
|
11079
|
+
e.label ? (s(), N(a(at), {
|
|
11080
11080
|
key: 0,
|
|
11081
11081
|
"html-for": a(r),
|
|
11082
11082
|
class: "vc-switch__label",
|
|
@@ -11115,7 +11115,7 @@ const kb = {
|
|
|
11115
11115
|
C[0] || (C[0] = k("span", { class: "vc-switch__slider" }, null, -1))
|
|
11116
11116
|
])
|
|
11117
11117
|
]),
|
|
11118
|
-
R(
|
|
11118
|
+
R(Be, {
|
|
11119
11119
|
name: "slide-up",
|
|
11120
11120
|
mode: "out-in"
|
|
11121
11121
|
}, {
|
|
@@ -11231,7 +11231,7 @@ const kb = {
|
|
|
11231
11231
|
}), ze(() => {
|
|
11232
11232
|
h(), document.removeEventListener("pointerdown", m), document.removeEventListener("keydown", C);
|
|
11233
11233
|
}), l({ close: f }), (w, $) => (s(), N(rt, { to: a(o) }, [
|
|
11234
|
-
R(
|
|
11234
|
+
R(Be, { name: "vc-dropdown-panel-fade" }, {
|
|
11235
11235
|
default: T(() => [
|
|
11236
11236
|
e.show ? (s(), b("div", {
|
|
11237
11237
|
key: 0,
|
|
@@ -11290,7 +11290,7 @@ const kb = {
|
|
|
11290
11290
|
},
|
|
11291
11291
|
setup(e) {
|
|
11292
11292
|
const l = e;
|
|
11293
|
-
|
|
11293
|
+
Oe(
|
|
11294
11294
|
ya,
|
|
11295
11295
|
y(() => l.expanded)
|
|
11296
11296
|
);
|
|
@@ -11403,7 +11403,7 @@ const kb = {
|
|
|
11403
11403
|
size: "m"
|
|
11404
11404
|
}, null, 8, ["icon"])
|
|
11405
11405
|
])) : n.value ? _("", !0) : (s(), b("div", uh, F(r.value), 1)),
|
|
11406
|
-
R(
|
|
11406
|
+
R(Be, { name: "vc-menu-opacity" }, {
|
|
11407
11407
|
default: T(() => [
|
|
11408
11408
|
je(k("div", dh, [
|
|
11409
11409
|
k("span", vh, F(e.title), 1),
|
|
@@ -11548,7 +11548,7 @@ const wh = {
|
|
|
11548
11548
|
},
|
|
11549
11549
|
emits: ["preview", "edit", "remove"],
|
|
11550
11550
|
setup(e) {
|
|
11551
|
-
const l = e, { t } = Pe({ useScope: "global" }), { isMobile: n } =
|
|
11551
|
+
const l = e, { t } = Pe({ useScope: "global" }), { isMobile: n } = Le(), r = y(() => ra(l.src, l.thumbnailSize) ?? l.src), o = I(!1), i = y(() => o.value ? l.src : r.value), c = yh(Te(() => i.value)), u = I(!1);
|
|
11552
11552
|
ee(
|
|
11553
11553
|
() => [l.src, l.thumbnailSize],
|
|
11554
11554
|
() => {
|
|
@@ -11650,7 +11650,7 @@ const wh = {
|
|
|
11650
11650
|
}), Ah = { class: "vc-language-selector" }, Th = ["disabled", "aria-expanded"], Oh = ["src", "alt"], Mh = {
|
|
11651
11651
|
key: 1,
|
|
11652
11652
|
class: "vc-language-selector__item-icon-placeholder"
|
|
11653
|
-
}, Bh = ["src", "alt"], Lh = { class: "vc-language-selector__item-label" }, Nh = { class: "tw-p-2 tw-text-sm tw-text-[color:var(--neutrals-400)]" },
|
|
11653
|
+
}, Bh = ["src", "alt"], Lh = { class: "vc-language-selector__item-label" }, Nh = { class: "tw-p-2 tw-text-sm tw-text-[color:var(--neutrals-400)]" }, O_ = /* @__PURE__ */ K({
|
|
11654
11654
|
__name: "multilanguage-selector",
|
|
11655
11655
|
props: {
|
|
11656
11656
|
options: {
|
|
@@ -11800,7 +11800,7 @@ const wh = {
|
|
|
11800
11800
|
onClick: n[1] || (n[1] = (r) => t.$emit("toggle-notifications", r))
|
|
11801
11801
|
}, [
|
|
11802
11802
|
k("div", Hh, [
|
|
11803
|
-
R(
|
|
11803
|
+
R(Be, {
|
|
11804
11804
|
name: "burger-fade",
|
|
11805
11805
|
mode: "out-in"
|
|
11806
11806
|
}, {
|
|
@@ -11829,7 +11829,7 @@ const wh = {
|
|
|
11829
11829
|
onClick: n[2] || (n[2] = (r) => t.$emit("toggle-menu", r))
|
|
11830
11830
|
}, [
|
|
11831
11831
|
k("div", qh, [
|
|
11832
|
-
R(
|
|
11832
|
+
R(Be, {
|
|
11833
11833
|
name: "burger-fade",
|
|
11834
11834
|
mode: "out-in"
|
|
11835
11835
|
}, {
|
|
@@ -11859,7 +11859,7 @@ function $i(e) {
|
|
|
11859
11859
|
const l = Object.values(e.params)?.[0], t = typeof l == "string" ? l : "";
|
|
11860
11860
|
return t && e.path.startsWith(`/${t}/`) ? e.path.slice(t.length + 1) : t && e.path === `/${t}` ? "/" : e.path;
|
|
11861
11861
|
}
|
|
11862
|
-
function
|
|
11862
|
+
function M_(e) {
|
|
11863
11863
|
const l = Qt();
|
|
11864
11864
|
return { isActive: y(() => {
|
|
11865
11865
|
const n = _e(e);
|
|
@@ -12042,7 +12042,7 @@ const Qn = /* @__PURE__ */ K({
|
|
|
12042
12042
|
},
|
|
12043
12043
|
emits: ["update:isOpened", "item:click"],
|
|
12044
12044
|
setup(e) {
|
|
12045
|
-
const { isDesktop: l } =
|
|
12045
|
+
const { isDesktop: l } = Le();
|
|
12046
12046
|
return (t, n) => (s(), N(a(tl), {
|
|
12047
12047
|
"model-value": e.isOpened,
|
|
12048
12048
|
position: "left",
|
|
@@ -12071,11 +12071,11 @@ const Qn = /* @__PURE__ */ K({
|
|
|
12071
12071
|
disabled: { type: Boolean }
|
|
12072
12072
|
},
|
|
12073
12073
|
setup(e) {
|
|
12074
|
-
const l = I(!1), t = I(null), { isPinned: n, isExpanded: r } = ba(), { isMobile: o, isDesktop: i } =
|
|
12074
|
+
const l = I(!1), t = I(null), { isPinned: n, isExpanded: r } = ba(), { isMobile: o, isDesktop: i } = Le();
|
|
12075
12075
|
function c() {
|
|
12076
12076
|
l.value = !1;
|
|
12077
12077
|
}
|
|
12078
|
-
|
|
12078
|
+
Oe(oa, c);
|
|
12079
12079
|
function u() {
|
|
12080
12080
|
l.value = !l.value;
|
|
12081
12081
|
}
|
|
@@ -12147,7 +12147,7 @@ const Qn = /* @__PURE__ */ K({
|
|
|
12147
12147
|
emits: ["item:click"],
|
|
12148
12148
|
setup(e, { emit: l }) {
|
|
12149
12149
|
const t = e, n = l, r = ue(hl, !1), o = I(null), i = I("");
|
|
12150
|
-
|
|
12150
|
+
tt(() => {
|
|
12151
12151
|
Ce(() => o.value?.updateScrollState());
|
|
12152
12152
|
}), ee(
|
|
12153
12153
|
() => t.expanded,
|
|
@@ -12258,7 +12258,7 @@ function vy() {
|
|
|
12258
12258
|
activeWidgetId: I(null),
|
|
12259
12259
|
activeMobileActionId: I(null)
|
|
12260
12260
|
};
|
|
12261
|
-
return
|
|
12261
|
+
return Oe(Ri, e), e;
|
|
12262
12262
|
}
|
|
12263
12263
|
function Ii() {
|
|
12264
12264
|
return ue(Ri, dy);
|
|
@@ -12342,10 +12342,10 @@ const lo = /* @__PURE__ */ K({
|
|
|
12342
12342
|
emits: ["switch-app"],
|
|
12343
12343
|
setup(e, { emit: l }) {
|
|
12344
12344
|
const t = e, n = l, r = ht(), o = y(() => typeof r.applications == "function"), i = I(null), c = I(null), { items: u } = ln(), { currentWidget: v, hideAllWidgets: d, isAnyWidgetVisible: p, toggleWidget: f } = an(), { searchQuery: g, filteredApps: h, filteredWidgets: m, getWidgetTitle: C } = fy({
|
|
12345
|
-
appsList:
|
|
12345
|
+
appsList: Te(t, "appsList"),
|
|
12346
12346
|
widgets: u,
|
|
12347
|
-
showApplications:
|
|
12348
|
-
mobile:
|
|
12347
|
+
showApplications: Te(t, "showApplications"),
|
|
12348
|
+
mobile: Te(t, "mobile")
|
|
12349
12349
|
}), w = I(Bl), $ = I(Bl), A = y(() => !o.value && h.value.length > no), O = y(() => m.value.length > no), P = y(() => A.value ? h.value.slice(0, w.value) : h.value), B = y(() => O.value ? m.value.slice(0, $.value) : m.value);
|
|
12350
12350
|
ee(
|
|
12351
12351
|
() => u.value.map((G) => G.id),
|
|
@@ -12558,12 +12558,12 @@ const lo = /* @__PURE__ */ K({
|
|
|
12558
12558
|
])
|
|
12559
12559
|
])
|
|
12560
12560
|
], 2),
|
|
12561
|
-
R(
|
|
12561
|
+
R(Be, { name: "app-hub-content-flyout" }, {
|
|
12562
12562
|
default: T(() => [
|
|
12563
12563
|
e.mobile && a(p) && a(v)?.component ? (s(), b("div", Py, [
|
|
12564
12564
|
k("div", Dy, [
|
|
12565
12565
|
k("span", Fy, F(a(C)(a(v))), 1),
|
|
12566
|
-
R(a(
|
|
12566
|
+
R(a(Me), {
|
|
12567
12567
|
icon: "lucide-x",
|
|
12568
12568
|
text: "",
|
|
12569
12569
|
onClick: a(d)
|
|
@@ -12622,7 +12622,7 @@ const lo = /* @__PURE__ */ K({
|
|
|
12622
12622
|
c.$slots.applications ? {
|
|
12623
12623
|
name: "applications",
|
|
12624
12624
|
fn: T((v) => [
|
|
12625
|
-
U(c.$slots, "applications", nt(
|
|
12625
|
+
U(c.$slots, "applications", lt(nt(v)))
|
|
12626
12626
|
]),
|
|
12627
12627
|
key: "0"
|
|
12628
12628
|
} : void 0
|
|
@@ -12645,7 +12645,7 @@ const lo = /* @__PURE__ */ K({
|
|
|
12645
12645
|
},
|
|
12646
12646
|
emits: ["click"],
|
|
12647
12647
|
setup(e, { emit: l }) {
|
|
12648
|
-
const t = e, { isMobile: n, isDesktop: r } =
|
|
12648
|
+
const t = e, { isMobile: n, isDesktop: r } = Le(), o = window.navigator.language, i = y(() => {
|
|
12649
12649
|
const c = t.notification.created;
|
|
12650
12650
|
if (!c) return "";
|
|
12651
12651
|
const u = c instanceof Date ? c : new Date(c);
|
|
@@ -12698,7 +12698,7 @@ const lo = /* @__PURE__ */ K({
|
|
|
12698
12698
|
if (c)
|
|
12699
12699
|
return r.registry.get(c)?.template;
|
|
12700
12700
|
});
|
|
12701
|
-
|
|
12701
|
+
Oe(
|
|
12702
12702
|
Uc,
|
|
12703
12703
|
y(() => t.notification)
|
|
12704
12704
|
);
|
|
@@ -12859,14 +12859,14 @@ const lo = /* @__PURE__ */ K({
|
|
|
12859
12859
|
h.$slots.menu ? {
|
|
12860
12860
|
name: "menu",
|
|
12861
12861
|
fn: T((C) => [
|
|
12862
|
-
U(h.$slots, "menu", nt(
|
|
12862
|
+
U(h.$slots, "menu", lt(nt(C)))
|
|
12863
12863
|
]),
|
|
12864
12864
|
key: "0"
|
|
12865
12865
|
} : void 0,
|
|
12866
12866
|
h.$slots["sidebar-footer"] ? {
|
|
12867
12867
|
name: "sidebar-footer",
|
|
12868
12868
|
fn: T((C) => [
|
|
12869
|
-
U(h.$slots, "sidebar-footer", nt(
|
|
12869
|
+
U(h.$slots, "sidebar-footer", lt(nt(C)))
|
|
12870
12870
|
]),
|
|
12871
12871
|
key: "1"
|
|
12872
12872
|
} : void 0
|
|
@@ -12931,7 +12931,7 @@ function ow() {
|
|
|
12931
12931
|
if (e)
|
|
12932
12932
|
return e;
|
|
12933
12933
|
const l = nw();
|
|
12934
|
-
return
|
|
12934
|
+
return Oe(Gn, l), qt() && Tt(() => {
|
|
12935
12935
|
}), l;
|
|
12936
12936
|
}
|
|
12937
12937
|
function Ti() {
|
|
@@ -12980,7 +12980,7 @@ const sw = {
|
|
|
12980
12980
|
expanded: {}
|
|
12981
12981
|
},
|
|
12982
12982
|
setup(e) {
|
|
12983
|
-
const l = e, { isMobile: t } =
|
|
12983
|
+
const l = e, { isMobile: t } = Le(), { getButtons: n } = Ti(), { currentAction: r, toggleAction: o, hideAllActions: i, isAnyActionVisible: c } = iw(), u = Qt(), v = (f) => {
|
|
12984
12984
|
if (r.value?.id === f.id) {
|
|
12985
12985
|
f.onClose?.(), i();
|
|
12986
12986
|
return;
|
|
@@ -12999,7 +12999,7 @@ const sw = {
|
|
|
12999
12999
|
key: h.id,
|
|
13000
13000
|
class: "app-bar-mobile-actions__button-wrap"
|
|
13001
13001
|
}, [
|
|
13002
|
-
h.isVisible === void 0 || h.isVisible ? (s(), N(a(
|
|
13002
|
+
h.isVisible === void 0 || h.isVisible ? (s(), N(a(Me), {
|
|
13003
13003
|
key: 0,
|
|
13004
13004
|
text: "",
|
|
13005
13005
|
class: q(["app-bar-mobile-actions__button", { "app-bar-mobile-actions__button--active": h.id === a(r)?.id }]),
|
|
@@ -13045,7 +13045,7 @@ const sw = {
|
|
|
13045
13045
|
},
|
|
13046
13046
|
emits: ["update:is-opened"],
|
|
13047
13047
|
setup(e, { emit: l }) {
|
|
13048
|
-
const t = e, n = l, r = ue(hl, !1), { isMobile: o, isDesktop: i } =
|
|
13048
|
+
const t = e, n = l, r = ue(hl, !1), { isMobile: o, isDesktop: i } = Le(), c = ht(), u = y(() => !r && (i.value || !!c.widgets)), v = y(() => o.value ? tl : "div"), d = y(() => o.value ? {
|
|
13049
13049
|
modelValue: t.isOpened,
|
|
13050
13050
|
position: "left",
|
|
13051
13051
|
closeButton: !1,
|
|
@@ -13053,7 +13053,7 @@ const sw = {
|
|
|
13053
13053
|
p || n("update:is-opened", !1);
|
|
13054
13054
|
}
|
|
13055
13055
|
} : {});
|
|
13056
|
-
return (p, f) => (s(), N(Ke(v.value), nt(
|
|
13056
|
+
return (p, f) => (s(), N(Ke(v.value), lt(nt(d.value)), {
|
|
13057
13057
|
default: T(() => [
|
|
13058
13058
|
k("div", {
|
|
13059
13059
|
class: q(["menu-sidebar__wrapper", {
|
|
@@ -13072,7 +13072,7 @@ const sw = {
|
|
|
13072
13072
|
]),
|
|
13073
13073
|
f[1] || (f[1] = k("div", { class: "menu-sidebar__spacer" }, null, -1)),
|
|
13074
13074
|
a(i) ? (s(), b("div", dw, [
|
|
13075
|
-
R(a(
|
|
13075
|
+
R(a(Me), {
|
|
13076
13076
|
"icon-class": "menu-sidebar__close-button-icon",
|
|
13077
13077
|
icon: "lucide-x",
|
|
13078
13078
|
text: "",
|
|
@@ -13478,7 +13478,7 @@ const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__titl
|
|
|
13478
13478
|
},
|
|
13479
13479
|
emits: ["trigger:click", "trigger:hover"],
|
|
13480
13480
|
setup(e, { expose: l, emit: t }) {
|
|
13481
|
-
const n = e, r = t, o = ht(), { isMobile: i } =
|
|
13481
|
+
const n = e, r = t, o = ht(), { isMobile: i } = Le(), c = y(() => !!o.submenu), u = I(!1), { contentRef: v, wrapperStyle: d, isExpanded: p } = Zl();
|
|
13482
13482
|
ee(u, (h) => {
|
|
13483
13483
|
p.value !== h && (p.value = h);
|
|
13484
13484
|
}), ee(i, () => {
|
|
@@ -13755,7 +13755,7 @@ const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__titl
|
|
|
13755
13755
|
footer: T(() => [
|
|
13756
13756
|
k("div", qw, [
|
|
13757
13757
|
k("div", Kw, [
|
|
13758
|
-
R(a(
|
|
13758
|
+
R(a(Me), {
|
|
13759
13759
|
variant: "secondary",
|
|
13760
13760
|
class: "tw-mr-3",
|
|
13761
13761
|
onClick: h
|
|
@@ -13765,7 +13765,7 @@ const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__titl
|
|
|
13765
13765
|
]),
|
|
13766
13766
|
_: 1
|
|
13767
13767
|
}),
|
|
13768
|
-
R(a(
|
|
13768
|
+
R(a(Me), {
|
|
13769
13769
|
disabled: a(i) || !f.isValid || g.value,
|
|
13770
13770
|
onClick: m
|
|
13771
13771
|
}, {
|
|
@@ -13821,7 +13821,7 @@ const Vw = { class: "vc-menu-item__content" }, Pw = { class: "vc-menu-item__titl
|
|
|
13821
13821
|
});
|
|
13822
13822
|
function Jw(e) {
|
|
13823
13823
|
const l = ue(Fl), t = ow();
|
|
13824
|
-
Uf(),
|
|
13824
|
+
Uf(), Oe(hl, e.isEmbedded), e.isEmbedded && Nw(), e.internalRoutes && Oe(Ss, e.internalRoutes), e.dynamicModules !== void 0 && Oe(To, e.dynamicModules), e.aiAgentConfig?.url && Cs({
|
|
13825
13825
|
config: e.aiAgentConfig,
|
|
13826
13826
|
addGlobalToolbarButton: e.aiAgentAddGlobalToolbarButton ?? !0,
|
|
13827
13827
|
isEmbedded: e.isEmbedded
|
|
@@ -13845,7 +13845,7 @@ function Zw(e) {
|
|
|
13845
13845
|
component: Uw,
|
|
13846
13846
|
group: "preferences",
|
|
13847
13847
|
order: 20
|
|
13848
|
-
}), e.registerSettingsMenuItem({ id: "change-password", component: Xw, group: "account", order: 30 }), e.registerSettingsMenuItem({ id: "logout", component: Qw, group: "account", order: 100 }),
|
|
13848
|
+
}), e.registerSettingsMenuItem({ id: "change-password", component: Xw, group: "account", order: 30 }), e.registerSettingsMenuItem({ id: "logout", component: Qw, group: "account", order: 100 }), Oe(Ao, l.hasUnread);
|
|
13849
13849
|
}
|
|
13850
13850
|
const e0 = qe("useShellNavigation");
|
|
13851
13851
|
function t0() {
|
|
@@ -13880,7 +13880,7 @@ function n0() {
|
|
|
13880
13880
|
}
|
|
13881
13881
|
}
|
|
13882
13882
|
function r(o) {
|
|
13883
|
-
e(o.permission) ? o.relativeUrl && (window.location.href = window.location.origin + o.relativeUrl) : Qe.error(
|
|
13883
|
+
e(o.permission) ? o.relativeUrl && (window.location.href = window.location.origin + o.relativeUrl) : Qe.error(et.global.t("PERMISSION_MESSAGES.ACCESS_RESTRICTED"), {
|
|
13884
13884
|
timeout: 3e3
|
|
13885
13885
|
});
|
|
13886
13886
|
}
|
|
@@ -13905,7 +13905,7 @@ function a0(e) {
|
|
|
13905
13905
|
const o0 = { class: "vc-app__main-content" }, i0 = {
|
|
13906
13906
|
key: 0,
|
|
13907
13907
|
class: "vc-app__workspace"
|
|
13908
|
-
},
|
|
13908
|
+
}, B_ = /* @__PURE__ */ K({
|
|
13909
13909
|
inheritAttrs: !1,
|
|
13910
13910
|
__name: "vc-app",
|
|
13911
13911
|
props: {
|
|
@@ -13922,10 +13922,10 @@ const o0 = { class: "vc-app__main-content" }, i0 = {
|
|
|
13922
13922
|
searchPlaceholder: {}
|
|
13923
13923
|
},
|
|
13924
13924
|
setup(e) {
|
|
13925
|
-
const l = e, { isMobile: t, isDesktop: n } =
|
|
13925
|
+
const l = e, { isMobile: t, isDesktop: n } = Le(), r = !!(ue(la, null) && ue(Co, null));
|
|
13926
13926
|
qe("vc-app").debug("Init vc-app");
|
|
13927
13927
|
const c = Qt().query.EmbeddedMode === "true", u = I();
|
|
13928
|
-
|
|
13928
|
+
Oe(na, u);
|
|
13929
13929
|
const v = Jf();
|
|
13930
13930
|
vy();
|
|
13931
13931
|
const { isAppReady: d, isAuthenticated: p, appsList: f, switchApp: g } = a0(l), { handleMenuItemClick: h, openRoot: m } = t0(), C = ue(Es), w = ue(To, void 0), $ = ue("aiAgentConfig", void 0), A = ue("aiAgentAddGlobalToolbarButton", !0), O = ue(_s, I(!1));
|
|
@@ -13985,21 +13985,21 @@ const o0 = { class: "vc-app__main-content" }, i0 = {
|
|
|
13985
13985
|
P.$slots.menu ? {
|
|
13986
13986
|
name: "menu",
|
|
13987
13987
|
fn: T((x) => [
|
|
13988
|
-
U(P.$slots, "menu", nt(
|
|
13988
|
+
U(P.$slots, "menu", lt(nt(x)))
|
|
13989
13989
|
]),
|
|
13990
13990
|
key: "1"
|
|
13991
13991
|
} : void 0,
|
|
13992
13992
|
P.$slots["sidebar-header"] ? {
|
|
13993
13993
|
name: "sidebar-header",
|
|
13994
13994
|
fn: T((x) => [
|
|
13995
|
-
U(P.$slots, "sidebar-header", nt(
|
|
13995
|
+
U(P.$slots, "sidebar-header", lt(nt(x)))
|
|
13996
13996
|
]),
|
|
13997
13997
|
key: "2"
|
|
13998
13998
|
} : void 0,
|
|
13999
13999
|
P.$slots["sidebar-footer"] ? {
|
|
14000
14000
|
name: "sidebar-footer",
|
|
14001
14001
|
fn: T((x) => [
|
|
14002
|
-
U(P.$slots, "sidebar-footer", nt(
|
|
14002
|
+
U(P.$slots, "sidebar-footer", lt(nt(x)))
|
|
14003
14003
|
]),
|
|
14004
14004
|
key: "3"
|
|
14005
14005
|
} : void 0
|
|
@@ -14020,7 +14020,7 @@ const o0 = { class: "vc-app__main-content" }, i0 = {
|
|
|
14020
14020
|
}));
|
|
14021
14021
|
}
|
|
14022
14022
|
});
|
|
14023
|
-
function
|
|
14023
|
+
function L_(e, l, t) {
|
|
14024
14024
|
const { menuBadges: n } = Ko();
|
|
14025
14025
|
return y(() => {
|
|
14026
14026
|
let r = _e(e);
|
|
@@ -14047,14 +14047,14 @@ function N_(e, l, t) {
|
|
|
14047
14047
|
};
|
|
14048
14048
|
});
|
|
14049
14049
|
}
|
|
14050
|
-
const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" },
|
|
14050
|
+
const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, N_ = /* @__PURE__ */ K({
|
|
14051
14051
|
__name: "AppBarOverlay",
|
|
14052
14052
|
props: {
|
|
14053
14053
|
isSidebarMode: { type: Boolean },
|
|
14054
14054
|
expanded: {}
|
|
14055
14055
|
},
|
|
14056
14056
|
setup(e) {
|
|
14057
|
-
const { isMobile: l, isDesktop: t } =
|
|
14057
|
+
const { isMobile: l, isDesktop: t } = Le(), n = ue(na, void 0);
|
|
14058
14058
|
return (r, o) => a(n) ? (s(), N(rt, {
|
|
14059
14059
|
key: 0,
|
|
14060
14060
|
to: a(n)
|
|
@@ -14086,7 +14086,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, V_
|
|
|
14086
14086
|
},
|
|
14087
14087
|
emits: ["toggle"],
|
|
14088
14088
|
setup(e, { emit: l }) {
|
|
14089
|
-
const t = e, n = l, { isMobile: r } =
|
|
14089
|
+
const t = e, n = l, { isMobile: r } = Le(), { toggleWidget: o, currentWidget: i } = an(), c = y(() => t.widgetId ? i.value?.id === t.widgetId : !1);
|
|
14090
14090
|
function u() {
|
|
14091
14091
|
if (!(t.beforeOpen && typeof t.beforeOpen == "function" && t.beforeOpen() === !1) && t.widgetId) {
|
|
14092
14092
|
const v = !c.value;
|
|
@@ -14141,7 +14141,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, V_
|
|
|
14141
14141
|
}, f0 = {
|
|
14142
14142
|
key: 1,
|
|
14143
14143
|
class: "vc-app-toolbar-menu__accent"
|
|
14144
|
-
},
|
|
14144
|
+
}, V_ = /* @__PURE__ */ K({
|
|
14145
14145
|
__name: "AppBarWidgetsMenu",
|
|
14146
14146
|
setup(e) {
|
|
14147
14147
|
const { items: l } = ln();
|
|
@@ -14214,7 +14214,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, V_
|
|
|
14214
14214
|
}, S0 = {
|
|
14215
14215
|
key: 1,
|
|
14216
14216
|
class: "vc-auth-layout__version"
|
|
14217
|
-
},
|
|
14217
|
+
}, P_ = /* @__PURE__ */ K({
|
|
14218
14218
|
__name: "vc-auth-layout",
|
|
14219
14219
|
props: {
|
|
14220
14220
|
logo: {},
|
|
@@ -14274,7 +14274,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, V_
|
|
|
14274
14274
|
a(n) ? (s(), b("div", S0, F(a(n)), 1)) : _("", !0)
|
|
14275
14275
|
], 4));
|
|
14276
14276
|
}
|
|
14277
|
-
}), C0 = ["onClick", "onKeydown"], $0 = { class: "tw-flex tw-items-center tw-gap-2" }, E0 = { class: "tw-flex tw-items-center tw-gap-2" }, _0 = { class: "tw-flex tw-items-center tw-gap-2" }, x0 = { class: "tw-flex tw-items-center tw-gap-2" },
|
|
14277
|
+
}), C0 = ["onClick", "onKeydown"], $0 = { class: "tw-flex tw-items-center tw-gap-2" }, E0 = { class: "tw-flex tw-items-center tw-gap-2" }, _0 = { class: "tw-flex tw-items-center tw-gap-2" }, x0 = { class: "tw-flex tw-items-center tw-gap-2" }, D_ = /* @__PURE__ */ K({
|
|
14278
14278
|
__name: "vc-dynamic-property",
|
|
14279
14279
|
props: {
|
|
14280
14280
|
property: {},
|
|
@@ -14366,7 +14366,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, V_
|
|
|
14366
14366
|
});
|
|
14367
14367
|
}
|
|
14368
14368
|
});
|
|
14369
|
-
|
|
14369
|
+
tt(async () => {
|
|
14370
14370
|
await $(), await A(), u.value = i.value;
|
|
14371
14371
|
});
|
|
14372
14372
|
function w(B) {
|
|
@@ -14711,7 +14711,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, V_
|
|
|
14711
14711
|
},
|
|
14712
14712
|
emits: ["preview", "edit", "remove"],
|
|
14713
14713
|
setup(e) {
|
|
14714
|
-
const l = e, { isMobile: t } =
|
|
14714
|
+
const l = e, { isMobile: t } = Le(), n = y(() => ({
|
|
14715
14715
|
preview: l.actions?.preview !== !1,
|
|
14716
14716
|
edit: !l.readonly && l.actions?.edit !== !1,
|
|
14717
14717
|
remove: !l.readonly && l.actions?.remove !== !1
|
|
@@ -14776,7 +14776,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, V_
|
|
|
14776
14776
|
const g = c.value;
|
|
14777
14777
|
g && (g.allowTouchMove = !f, f ? g.mousewheel?.disable() : (g.mousewheel?.enable(), g.slideTo(0, 0)), Ce(() => g.update()));
|
|
14778
14778
|
}
|
|
14779
|
-
), ee(
|
|
14779
|
+
), ee(Te(t, "loading"), (f) => {
|
|
14780
14780
|
c.value && (f ? c.value.disable() : c.value.enable());
|
|
14781
14781
|
});
|
|
14782
14782
|
let p = t.images.length;
|
|
@@ -14859,7 +14859,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, V_
|
|
|
14859
14859
|
},
|
|
14860
14860
|
emits: ["close"],
|
|
14861
14861
|
setup(e, { emit: l }) {
|
|
14862
|
-
const t = l, n = e, { t: r } = Pe({ useScope: "global" }), { isMobile: o } =
|
|
14862
|
+
const t = l, n = e, { t: r } = Pe({ useScope: "global" }), { isMobile: o } = Le(), i = I(n.index), c = I(!1), u = [vc], v = [Vo], d = I(), p = I(), f = y(() => n.images[i.value]);
|
|
14863
14863
|
ee(
|
|
14864
14864
|
() => n.index,
|
|
14865
14865
|
(x) => {
|
|
@@ -14902,7 +14902,7 @@ const s0 = { class: "app-bar-overlay__content app-bar-overlay__dropdowns" }, V_
|
|
|
14902
14902
|
x.key === "Escape" && (x.preventDefault(), t("close"));
|
|
14903
14903
|
}
|
|
14904
14904
|
const B = Os(document.body);
|
|
14905
|
-
return
|
|
14905
|
+
return tt(() => {
|
|
14906
14906
|
window.addEventListener("keydown", P), B.value = !0;
|
|
14907
14907
|
}), ze(() => {
|
|
14908
14908
|
window.removeEventListener("keydown", P), B.value = !1;
|
|
@@ -15255,7 +15255,7 @@ const X0 = {
|
|
|
15255
15255
|
}, i1 = {
|
|
15256
15256
|
key: 4,
|
|
15257
15257
|
class: "vc-gallery__drop-overlay"
|
|
15258
|
-
},
|
|
15258
|
+
}, F_ = /* @__PURE__ */ K({
|
|
15259
15259
|
__name: "vc-gallery",
|
|
15260
15260
|
props: {
|
|
15261
15261
|
images: { default: () => [] },
|
|
@@ -15281,7 +15281,7 @@ const X0 = {
|
|
|
15281
15281
|
},
|
|
15282
15282
|
emits: ["upload", "sort", "edit", "remove"],
|
|
15283
15283
|
setup(e, { emit: l }) {
|
|
15284
|
-
const t = e, n = l, { t: r } = Pe({ useScope: "global" }), { isMobile: o } =
|
|
15284
|
+
const t = e, n = l, { t: r } = Pe({ useScope: "global" }), { isMobile: o } = Le(), i = Ge(), c = y(() => t.variant === "file-upload"), u = y(
|
|
15285
15285
|
() => t.customText ? { text: t.customText.dragHere, link: t.customText.browse } : void 0
|
|
15286
15286
|
), v = I([]);
|
|
15287
15287
|
ee(
|
|
@@ -15386,7 +15386,7 @@ const X0 = {
|
|
|
15386
15386
|
onDrop: ae(D, ["prevent"])
|
|
15387
15387
|
}, [
|
|
15388
15388
|
e.label || d.value && !e.disabled ? (s(), b("div", J0, [
|
|
15389
|
-
e.label ? (s(), N(a(
|
|
15389
|
+
e.label ? (s(), N(a(at), {
|
|
15390
15390
|
key: 0,
|
|
15391
15391
|
class: "vc-gallery__label",
|
|
15392
15392
|
required: e.required
|
|
@@ -15571,7 +15571,7 @@ const X0 = {
|
|
|
15571
15571
|
},
|
|
15572
15572
|
variant: y(() => l.variant)
|
|
15573
15573
|
};
|
|
15574
|
-
return
|
|
15574
|
+
return Oe(sn, o), (i, c) => (s(), b("div", {
|
|
15575
15575
|
role: "table",
|
|
15576
15576
|
class: q(["vc-table-composition", e.variant && `vc-table-composition--${e.variant}`])
|
|
15577
15577
|
}, [
|
|
@@ -15598,7 +15598,7 @@ const v1 = /* @__PURE__ */ Ni(c1, [["render", d1]]), f1 = ["data-items-count"],
|
|
|
15598
15598
|
}, g1 = { class: "vc-table-composition__empty" }, p1 = {
|
|
15599
15599
|
key: "__loading__",
|
|
15600
15600
|
class: "vc-table-composition__body-state"
|
|
15601
|
-
},
|
|
15601
|
+
}, z_ = /* @__PURE__ */ K({
|
|
15602
15602
|
__name: "TableBody",
|
|
15603
15603
|
props: {
|
|
15604
15604
|
loading: { type: Boolean },
|
|
@@ -15915,7 +15915,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
15915
15915
|
]),
|
|
15916
15916
|
e.actionLabel || l.$slots.action ? (s(), b("div", B1, [
|
|
15917
15917
|
U(l.$slots, "action", {}, () => [
|
|
15918
|
-
e.actionLabel ? (s(), N(a(
|
|
15918
|
+
e.actionLabel ? (s(), N(a(Me), {
|
|
15919
15919
|
key: 0,
|
|
15920
15920
|
variant: "outline",
|
|
15921
15921
|
onClick: t[0] || (t[0] = (n) => e.actionHandler?.())
|
|
@@ -15959,7 +15959,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
15959
15959
|
"onUpdate:show": v[0] || (v[0] = (d) => n("update:show", d))
|
|
15960
15960
|
}, {
|
|
15961
15961
|
footer: T(() => [
|
|
15962
|
-
R(a(
|
|
15962
|
+
R(a(Me), {
|
|
15963
15963
|
variant: "outline",
|
|
15964
15964
|
size: "sm",
|
|
15965
15965
|
onClick: i
|
|
@@ -15969,7 +15969,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
15969
15969
|
]),
|
|
15970
15970
|
_: 1
|
|
15971
15971
|
}),
|
|
15972
|
-
R(a(
|
|
15972
|
+
R(a(Me), {
|
|
15973
15973
|
variant: "primary",
|
|
15974
15974
|
size: "sm",
|
|
15975
15975
|
onClick: c
|
|
@@ -16075,7 +16075,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16075
16075
|
se(F(z.title || z.name), 1)
|
|
16076
16076
|
]),
|
|
16077
16077
|
default: T(() => [
|
|
16078
|
-
R(a(
|
|
16078
|
+
R(a(Me), {
|
|
16079
16079
|
variant: z.variant === "danger" ? "danger" : "ghost",
|
|
16080
16080
|
size: "icon",
|
|
16081
16081
|
icon: z.icon,
|
|
@@ -16122,7 +16122,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16122
16122
|
})) : _("", !0)
|
|
16123
16123
|
], 8, ["to"])),
|
|
16124
16124
|
(s(), N(rt, { to: a(d) }, [
|
|
16125
|
-
R(
|
|
16125
|
+
R(Be, { name: "dropdown" }, {
|
|
16126
16126
|
default: T(() => [
|
|
16127
16127
|
o.value ? (s(), b("div", {
|
|
16128
16128
|
key: 0,
|
|
@@ -16223,13 +16223,13 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16223
16223
|
{ count: t.totalCount },
|
|
16224
16224
|
`Select all ${t.totalCount} items`
|
|
16225
16225
|
)), v = y(() => t.cancelLabel || r("COMPONENTS.ORGANISMS.VC_TABLE.CANCEL", "Clear selection"));
|
|
16226
|
-
return (d, p) => (s(), N(
|
|
16226
|
+
return (d, p) => (s(), N(Be, { name: "select-bar" }, {
|
|
16227
16227
|
default: T(() => [
|
|
16228
16228
|
o.value ? (s(), b("div", U1, [
|
|
16229
16229
|
k("span", H1, [
|
|
16230
16230
|
e.allSelected ? (s(), b("strong", W1, F(i.value), 1)) : e.showSelectAllPrompt ? (s(), b(te, { key: 1 }, [
|
|
16231
16231
|
se(F(c.value) + " ", 1),
|
|
16232
|
-
R(a(
|
|
16232
|
+
R(a(Me), {
|
|
16233
16233
|
variant: "link",
|
|
16234
16234
|
size: "sm",
|
|
16235
16235
|
class: "vc-table-select-all-bar__select-all-link",
|
|
@@ -16242,7 +16242,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16242
16242
|
})
|
|
16243
16243
|
], 64)) : _("", !0)
|
|
16244
16244
|
]),
|
|
16245
|
-
R(a(
|
|
16245
|
+
R(a(Me), {
|
|
16246
16246
|
variant: "link",
|
|
16247
16247
|
size: "sm",
|
|
16248
16248
|
class: "vc-table-select-all-bar__clear",
|
|
@@ -16302,7 +16302,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16302
16302
|
return l({
|
|
16303
16303
|
focus: () => r.value?.focus?.(),
|
|
16304
16304
|
closeFilter: u
|
|
16305
|
-
}), (v, d) => (s(), N(
|
|
16305
|
+
}), (v, d) => (s(), N(Be, { name: "search-header" }, {
|
|
16306
16306
|
default: T(() => [
|
|
16307
16307
|
e.visible ? (s(), b("div", q1, [
|
|
16308
16308
|
k("div", K1, [
|
|
@@ -16310,7 +16310,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16310
16310
|
U(v.$slots, "actions")
|
|
16311
16311
|
])) : _("", !0),
|
|
16312
16312
|
v.$slots.filters || e.showFilterButton ? (s(), b("div", Y1, [
|
|
16313
|
-
R(a(
|
|
16313
|
+
R(a(Me), {
|
|
16314
16314
|
variant: "outline",
|
|
16315
16315
|
size: "sm",
|
|
16316
16316
|
icon: "lucide-funnel",
|
|
@@ -16347,7 +16347,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16347
16347
|
}, 8, ["model-value", "placeholder"])
|
|
16348
16348
|
])) : _("", !0)
|
|
16349
16349
|
]),
|
|
16350
|
-
R(
|
|
16350
|
+
R(Be, { name: "filter-panel" }, {
|
|
16351
16351
|
default: T(() => [
|
|
16352
16352
|
o.value && v.$slots.filters ? (s(), b("div", Z1, [
|
|
16353
16353
|
U(v.$slots, "filters", { closePanel: u })
|
|
@@ -16384,7 +16384,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16384
16384
|
onClick: r
|
|
16385
16385
|
}, [
|
|
16386
16386
|
k("div", tk, [
|
|
16387
|
-
e.expandable ? (s(), N(a(
|
|
16387
|
+
e.expandable ? (s(), N(a(Me), {
|
|
16388
16388
|
key: 0,
|
|
16389
16389
|
variant: "ghost",
|
|
16390
16390
|
size: "icon-sm",
|
|
@@ -16525,7 +16525,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16525
16525
|
ref: r,
|
|
16526
16526
|
class: "vc-column-filter"
|
|
16527
16527
|
}, [
|
|
16528
|
-
R(a(
|
|
16528
|
+
R(a(Me), {
|
|
16529
16529
|
ref_key: "triggerRef",
|
|
16530
16530
|
ref: c,
|
|
16531
16531
|
variant: "ghost",
|
|
@@ -16538,7 +16538,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16538
16538
|
onClick: A
|
|
16539
16539
|
}, null, 8, ["class", "aria-expanded"]),
|
|
16540
16540
|
(s(), N(rt, { to: "body" }, [
|
|
16541
|
-
R(
|
|
16541
|
+
R(Be, { name: "vc-column-filter-fade" }, {
|
|
16542
16542
|
default: T(() => [
|
|
16543
16543
|
u.value ? (s(), b("div", {
|
|
16544
16544
|
key: 0,
|
|
@@ -16612,7 +16612,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16612
16612
|
])) : _("", !0)
|
|
16613
16613
|
])),
|
|
16614
16614
|
k("div", gk, [
|
|
16615
|
-
R(a(
|
|
16615
|
+
R(a(Me), {
|
|
16616
16616
|
variant: "outline",
|
|
16617
16617
|
size: "sm",
|
|
16618
16618
|
onClick: V
|
|
@@ -16622,7 +16622,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16622
16622
|
]),
|
|
16623
16623
|
_: 1
|
|
16624
16624
|
}),
|
|
16625
|
-
R(a(
|
|
16625
|
+
R(a(Me), {
|
|
16626
16626
|
variant: "primary",
|
|
16627
16627
|
size: "sm",
|
|
16628
16628
|
onClick: x
|
|
@@ -16651,7 +16651,7 @@ const I1 = /* @__PURE__ */ Ni(_1, [["render", R1]]), A1 = { class: "vc-table-com
|
|
|
16651
16651
|
},
|
|
16652
16652
|
emits: ["click"],
|
|
16653
16653
|
setup(e) {
|
|
16654
|
-
return (l, t) => (s(), N(a(
|
|
16654
|
+
return (l, t) => (s(), N(a(Me), {
|
|
16655
16655
|
variant: "secondary",
|
|
16656
16656
|
size: "sm",
|
|
16657
16657
|
icon: "lucide-funnel",
|
|
@@ -16712,7 +16712,7 @@ const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-glob
|
|
|
16712
16712
|
},
|
|
16713
16713
|
emits: ["update:modelValue", "update:show", "apply", "clear"],
|
|
16714
16714
|
setup(e, { emit: l }) {
|
|
16715
|
-
const t = e, n = l, { isMobile: r } =
|
|
16715
|
+
const t = e, n = l, { isMobile: r } = Le(), { getFilterType: o, getFilterOptions: i, isMultipleSelect: c, getRangeFields: u } = Di(), v = y(() => {
|
|
16716
16716
|
const x = {};
|
|
16717
16717
|
for (const V of t.filters)
|
|
16718
16718
|
x[V.id] = o(V.filter);
|
|
@@ -16813,7 +16813,7 @@ const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-glob
|
|
|
16813
16813
|
}, {
|
|
16814
16814
|
footer: T(() => [
|
|
16815
16815
|
k("div", Mk, [
|
|
16816
|
-
R(a(
|
|
16816
|
+
R(a(Me), {
|
|
16817
16817
|
variant: "outline",
|
|
16818
16818
|
size: "sm",
|
|
16819
16819
|
onClick: B
|
|
@@ -16823,7 +16823,7 @@ const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-glob
|
|
|
16823
16823
|
]),
|
|
16824
16824
|
_: 1
|
|
16825
16825
|
}),
|
|
16826
|
-
R(a(
|
|
16826
|
+
R(a(Me), {
|
|
16827
16827
|
variant: "primary",
|
|
16828
16828
|
size: "sm",
|
|
16829
16829
|
onClick: P
|
|
@@ -16898,7 +16898,7 @@ const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-glob
|
|
|
16898
16898
|
"onUpdate:show": V[0] || (V[0] = (D) => n("update:show", D))
|
|
16899
16899
|
}, {
|
|
16900
16900
|
footer: T(() => [
|
|
16901
|
-
R(a(
|
|
16901
|
+
R(a(Me), {
|
|
16902
16902
|
variant: "outline",
|
|
16903
16903
|
size: "sm",
|
|
16904
16904
|
onClick: B
|
|
@@ -16908,7 +16908,7 @@ const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-glob
|
|
|
16908
16908
|
]),
|
|
16909
16909
|
_: 1
|
|
16910
16910
|
}),
|
|
16911
|
-
R(a(
|
|
16911
|
+
R(a(Me), {
|
|
16912
16912
|
variant: "primary",
|
|
16913
16913
|
size: "sm",
|
|
16914
16914
|
onClick: P
|
|
@@ -16984,7 +16984,7 @@ const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-glob
|
|
|
16984
16984
|
setup(e) {
|
|
16985
16985
|
const { t: l } = Pe({ useScope: "global" }), t = e, n = y(() => t.label ?? l("COMPONENTS.ORGANISMS.VC_TABLE.ADD_ROW"));
|
|
16986
16986
|
return (r, o) => (s(), b("div", Lk, [
|
|
16987
|
-
R(a(
|
|
16987
|
+
R(a(Me), {
|
|
16988
16988
|
variant: "link",
|
|
16989
16989
|
icon: e.icon,
|
|
16990
16990
|
"icon-size": "s",
|
|
@@ -17176,7 +17176,7 @@ const yk = { class: "vc-global-filters-panel__content" }, wk = { class: "vc-glob
|
|
|
17176
17176
|
},
|
|
17177
17177
|
setup(e, { slots: l }) {
|
|
17178
17178
|
const t = ue(Mi, null), n = ut();
|
|
17179
|
-
return
|
|
17179
|
+
return tt(() => {
|
|
17180
17180
|
t && n && t.add({
|
|
17181
17181
|
instance: n,
|
|
17182
17182
|
props: e,
|
|
@@ -17212,7 +17212,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, ka = /* @__PURE__
|
|
|
17212
17212
|
},
|
|
17213
17213
|
setup(e) {
|
|
17214
17214
|
const l = e, t = I(null);
|
|
17215
|
-
return
|
|
17215
|
+
return tt(() => {
|
|
17216
17216
|
const n = l.modelValue === void 0 || l.modelValue === null || l.modelValue === "";
|
|
17217
17217
|
(l.validateOnMount || n && l.rules) && t.value?.validate();
|
|
17218
17218
|
}), (n, r) => (s(), N(a(fl), {
|
|
@@ -17262,7 +17262,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, ka = /* @__PURE__
|
|
|
17262
17262
|
},
|
|
17263
17263
|
emits: ["update", "blur"],
|
|
17264
17264
|
setup(e, { emit: l }) {
|
|
17265
|
-
const t = e, n = l, { isMobile: r, isDesktop: o } =
|
|
17265
|
+
const t = e, n = l, { isMobile: r, isDesktop: o } = Le(), i = (c) => {
|
|
17266
17266
|
c && c.length > 0 || n("blur", { row: t.rowIndex, field: t.fieldId || "" });
|
|
17267
17267
|
};
|
|
17268
17268
|
return (c, u) => e.editable ? (s(), N(ka, {
|
|
@@ -17318,7 +17318,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, ka = /* @__PURE__
|
|
|
17318
17318
|
},
|
|
17319
17319
|
emits: ["update", "blur"],
|
|
17320
17320
|
setup(e, { emit: l }) {
|
|
17321
|
-
const t = e, n = l, { t: r } = Pe({ useScope: "global" }), o = window.navigator.language, { isMobile: i, isDesktop: c } =
|
|
17321
|
+
const t = e, n = l, { t: r } = Pe({ useScope: "global" }), o = window.navigator.language, { isMobile: i, isDesktop: c } = Le(), u = y(() => typeof t.value > "u" || t.value === null || Number(t.value) === 0), v = y(() => {
|
|
17322
17322
|
const p = Number(t.value);
|
|
17323
17323
|
return isNaN(p) ? String(t.value) : new Intl.NumberFormat(o, {
|
|
17324
17324
|
style: "currency",
|
|
@@ -17382,7 +17382,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, ka = /* @__PURE__
|
|
|
17382
17382
|
},
|
|
17383
17383
|
emits: ["update", "blur"],
|
|
17384
17384
|
setup(e, { emit: l }) {
|
|
17385
|
-
const t = e, n = l, { t: r } = Pe({ useScope: "global" }), { isMobile: o, isDesktop: i } =
|
|
17385
|
+
const t = e, n = l, { t: r } = Pe({ useScope: "global" }), { isMobile: o, isDesktop: i } = Le(), c = y(() => {
|
|
17386
17386
|
if (t.value === null || t.value === void 0) return !0;
|
|
17387
17387
|
const d = Number(t.value);
|
|
17388
17388
|
return isNaN(d) || d < 0;
|
|
@@ -17687,7 +17687,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, ka = /* @__PURE__
|
|
|
17687
17687
|
"onUpdate:modelValue": $[1] || ($[1] = (A) => w.$emit("selection-change", !0))
|
|
17688
17688
|
}, null, 8, ["model-value", "disabled"]))
|
|
17689
17689
|
], 64)) : e.column.props.expander ? (s(), b(te, { key: 1 }, [
|
|
17690
|
-
e.canExpand ? (s(), N(a(
|
|
17690
|
+
e.canExpand ? (s(), N(a(Me), {
|
|
17691
17691
|
key: 0,
|
|
17692
17692
|
variant: "ghost",
|
|
17693
17693
|
size: "icon-sm",
|
|
@@ -17705,7 +17705,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, ka = /* @__PURE__
|
|
|
17705
17705
|
}, 8, ["data-is-expanded"])) : _("", !0)
|
|
17706
17706
|
], 64)) : e.column.props.rowReorder ? (s(), b("div", oS)) : e.column.props.rowEditor ? (s(), b("div", iS, [
|
|
17707
17707
|
e.isRowEditing ? (s(), b(te, { key: 0 }, [
|
|
17708
|
-
R(a(
|
|
17708
|
+
R(a(Me), {
|
|
17709
17709
|
variant: "success",
|
|
17710
17710
|
size: "icon-sm",
|
|
17711
17711
|
onClick: $[3] || ($[3] = ae((A) => w.$emit("row-save"), ["stop"]))
|
|
@@ -17715,7 +17715,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, ka = /* @__PURE__
|
|
|
17715
17715
|
])]),
|
|
17716
17716
|
_: 1
|
|
17717
17717
|
}),
|
|
17718
|
-
R(a(
|
|
17718
|
+
R(a(Me), {
|
|
17719
17719
|
variant: "danger",
|
|
17720
17720
|
size: "icon-sm",
|
|
17721
17721
|
onClick: $[4] || ($[4] = ae((A) => w.$emit("row-cancel"), ["stop"]))
|
|
@@ -17725,7 +17725,7 @@ const Pk = { class: "vc-table-cell-editable__error-tooltip" }, ka = /* @__PURE__
|
|
|
17725
17725
|
])]),
|
|
17726
17726
|
_: 1
|
|
17727
17727
|
})
|
|
17728
|
-
], 64)) : (s(), N(a(
|
|
17728
|
+
], 64)) : (s(), N(a(Me), {
|
|
17729
17729
|
key: 1,
|
|
17730
17730
|
variant: "outline",
|
|
17731
17731
|
size: "icon-sm",
|
|
@@ -18528,7 +18528,7 @@ function AS() {
|
|
|
18528
18528
|
activeSwipeId: e,
|
|
18529
18529
|
setActiveSwipe: l
|
|
18530
18530
|
};
|
|
18531
|
-
return
|
|
18531
|
+
return Oe(zi, t), t;
|
|
18532
18532
|
}
|
|
18533
18533
|
function TS() {
|
|
18534
18534
|
const e = ue(zi);
|
|
@@ -18591,8 +18591,8 @@ const OS = {
|
|
|
18591
18591
|
const Ie = p.value, oe = performance.now();
|
|
18592
18592
|
let Re = A.value, ce = Ie;
|
|
18593
18593
|
g.value = !0;
|
|
18594
|
-
function $e(
|
|
18595
|
-
if (
|
|
18594
|
+
function $e(Ne) {
|
|
18595
|
+
if (Ne - oe < he) {
|
|
18596
18596
|
const Ye = (fe - ce) * FS, yt = Re * zS, ll = (Ye - yt) / US;
|
|
18597
18597
|
Re += ll, ce += Re, p.value = ce, f.value = Math.abs(p.value), m.value = requestAnimationFrame($e);
|
|
18598
18598
|
} else
|
|
@@ -18620,12 +18620,12 @@ const OS = {
|
|
|
18620
18620
|
fe.preventDefault();
|
|
18621
18621
|
const ce = Date.now(), $e = ce - O.value;
|
|
18622
18622
|
$e > 0 && (A.value = (Ie - P.value) / $e), O.value = ce, P.value = Ie;
|
|
18623
|
-
let
|
|
18624
|
-
if (
|
|
18625
|
-
const De =
|
|
18626
|
-
|
|
18623
|
+
let Ne = $.value + oe;
|
|
18624
|
+
if (Ne < -Y.value) {
|
|
18625
|
+
const De = Ne + Y.value;
|
|
18626
|
+
Ne = -Y.value + De * 0.3;
|
|
18627
18627
|
}
|
|
18628
|
-
|
|
18628
|
+
Ne > 0 && (Ne = 0), p.value = Ne, f.value = Math.abs(Ne);
|
|
18629
18629
|
}
|
|
18630
18630
|
function H() {
|
|
18631
18631
|
const fe = B.value === "vertical" || B.value === null;
|
|
@@ -18671,7 +18671,7 @@ const OS = {
|
|
|
18671
18671
|
function re(fe) {
|
|
18672
18672
|
n("action", fe, t.item, t.index);
|
|
18673
18673
|
}
|
|
18674
|
-
return
|
|
18674
|
+
return tt(() => {
|
|
18675
18675
|
i.value && (i.value.addEventListener("touchstart", Q, { passive: !0 }), i.value.addEventListener("touchmove", ie, { passive: !1 }), i.value.addEventListener("touchend", H, { passive: !0 }));
|
|
18676
18676
|
}), ze(() => {
|
|
18677
18677
|
i.value && (i.value.removeEventListener("touchstart", Q), i.value.removeEventListener("touchmove", ie), i.value.removeEventListener("touchend", H)), m.value !== null && cancelAnimationFrame(m.value), u.value && clearTimeout(u.value);
|
|
@@ -18986,7 +18986,7 @@ const XS = { class: "vc-pull-to-refresh__indicator-content" }, QS = { class: "vc
|
|
|
18986
18986
|
},
|
|
18987
18987
|
emits: ["refresh"],
|
|
18988
18988
|
setup(e, { expose: l, emit: t }) {
|
|
18989
|
-
const n = e, { t: r } = Pe({ useScope: "global" }), o = t, { isMobile: i } =
|
|
18989
|
+
const n = e, { t: r } = Pe({ useScope: "global" }), o = t, { isMobile: i } = Le(), c = I(null), u = I(0), v = I(!1), d = I(!1), p = I(!1), f = I(null), g = I(0), h = I(0), m = I(0), C = I(0), w = y(() => n.enabled && i.value && !n.refreshing), $ = y(() => n.refreshing ? "lucide-refresh-cw" : "lucide-arrow-down"), A = y(() => ({
|
|
18990
18990
|
"vc-pull-to-refresh__icon--rotate": d.value && !n.refreshing,
|
|
18991
18991
|
"vc-pull-to-refresh__icon--spin": n.refreshing
|
|
18992
18992
|
})), O = y(() => n.refreshing ? n.refreshingText ?? r("COMPONENTS.ORGANISMS.VC_TABLE.REFRESHING") : d.value ? n.releaseText ?? r("COMPONENTS.ORGANISMS.VC_TABLE.RELEASE_TO_REFRESH") : n.pullText ?? r("COMPONENTS.ORGANISMS.VC_TABLE.PULL_TO_REFRESH")), P = y(() => ({
|
|
@@ -19179,7 +19179,7 @@ const XS = { class: "vc-pull-to-refresh__indicator-content" }, QS = { class: "vc
|
|
|
19179
19179
|
class: "vc-data-table-mobile-view__empty-icon"
|
|
19180
19180
|
}, null, 8, ["icon"]),
|
|
19181
19181
|
k("p", oC, F(e.empty?.text || e.emptyText), 1),
|
|
19182
|
-
e.empty?.action ? (s(), N(a(
|
|
19182
|
+
e.empty?.action ? (s(), N(a(Me), {
|
|
19183
19183
|
key: 0,
|
|
19184
19184
|
variant: "primary",
|
|
19185
19185
|
onClick: e.empty?.clickHandler
|
|
@@ -19227,7 +19227,7 @@ const XS = { class: "vc-pull-to-refresh__indicator-content" }, QS = { class: "vc
|
|
|
19227
19227
|
}, 8, ["enabled", "refreshing", "pull-text", "release-text", "refreshing-text"]));
|
|
19228
19228
|
}
|
|
19229
19229
|
});
|
|
19230
|
-
function
|
|
19230
|
+
function U_() {
|
|
19231
19231
|
return ue(sn, null);
|
|
19232
19232
|
}
|
|
19233
19233
|
const Sa = 40;
|
|
@@ -19422,8 +19422,8 @@ function fC(e) {
|
|
|
19422
19422
|
const fe = pe / re.length, he = [];
|
|
19423
19423
|
let Ie = 0;
|
|
19424
19424
|
for (const oe of re) {
|
|
19425
|
-
const Re = f[oe]?.minPx ?? o, ce = le[oe], $e = ce - fe,
|
|
19426
|
-
Ie += De, le[oe] =
|
|
19425
|
+
const Re = f[oe]?.minPx ?? o, ce = le[oe], $e = ce - fe, Ne = Math.max(Re, $e), De = ce - Ne;
|
|
19426
|
+
Ie += De, le[oe] = Ne, (Ne > Re || fe < 0) && he.push(oe);
|
|
19427
19427
|
}
|
|
19428
19428
|
if (pe -= Ie, Math.abs(Ie) < 0.5) break;
|
|
19429
19429
|
re.length = 0, re.push(...he);
|
|
@@ -19686,7 +19686,7 @@ function pC(e) {
|
|
|
19686
19686
|
clearNewRowFlag: $
|
|
19687
19687
|
};
|
|
19688
19688
|
}
|
|
19689
|
-
function
|
|
19689
|
+
function H_(e) {
|
|
19690
19690
|
const {
|
|
19691
19691
|
items: l,
|
|
19692
19692
|
itemSize: t,
|
|
@@ -19748,7 +19748,7 @@ function W_(e) {
|
|
|
19748
19748
|
(V, D) => {
|
|
19749
19749
|
D > 0 && V !== D && (g = { start: -1, end: -1 });
|
|
19750
19750
|
}
|
|
19751
|
-
),
|
|
19751
|
+
), tt(() => {
|
|
19752
19752
|
B(), window.addEventListener("resize", x);
|
|
19753
19753
|
}), ze(() => {
|
|
19754
19754
|
window.removeEventListener("resize", x), f && clearTimeout(f);
|
|
@@ -20197,7 +20197,7 @@ function SC(e) {
|
|
|
20197
20197
|
getSelectionState: M
|
|
20198
20198
|
};
|
|
20199
20199
|
}
|
|
20200
|
-
function
|
|
20200
|
+
function ot(e) {
|
|
20201
20201
|
return !!(e.selectionMode || e.rowReorder || e.expander || e.rowEditor);
|
|
20202
20202
|
}
|
|
20203
20203
|
const wt = {
|
|
@@ -20207,7 +20207,7 @@ const wt = {
|
|
|
20207
20207
|
rowEditor: 100
|
|
20208
20208
|
};
|
|
20209
20209
|
function CC(e) {
|
|
20210
|
-
const { visibleColumns: l, resizableColumns: t = !0, reorderableColumns: n = !1, fitMode: r = "gap" } = e, o = I({ order: [], specs: {} }), i = I({ widths: {}, fillerWidth: 0 }), c = /* @__PURE__ */ new Map(), u = (S) =>
|
|
20210
|
+
const { visibleColumns: l, resizableColumns: t = !0, reorderableColumns: n = !1, fitMode: r = "gap" } = e, o = I({ order: [], specs: {} }), i = I({ widths: {}, fillerWidth: 0 }), c = /* @__PURE__ */ new Map(), u = (S) => ot(S) ? !1 : t, v = (S) => ot(S) ? !1 : n, d = (S) => {
|
|
20211
20211
|
if (S.selectionMode) return `${wt.selection}px`;
|
|
20212
20212
|
if (S.rowReorder) return `${wt.rowReorder}px`;
|
|
20213
20213
|
if (S.expander) return `${wt.expander}px`;
|
|
@@ -20218,12 +20218,12 @@ function CC(e) {
|
|
|
20218
20218
|
if (z.type === "px") return `${z.desiredPx}px`;
|
|
20219
20219
|
if (z.type === "percent" && typeof S.width == "string") return S.width.trim();
|
|
20220
20220
|
}, p = (S) => {
|
|
20221
|
-
if (
|
|
20221
|
+
if (ot(S)) return "center";
|
|
20222
20222
|
const E = S.headerAlign || S.align;
|
|
20223
20223
|
if (E)
|
|
20224
20224
|
return E === "start" ? "left" : E === "end" ? "right" : E;
|
|
20225
20225
|
}, f = (S) => {
|
|
20226
|
-
if (
|
|
20226
|
+
if (ot(S)) return "center";
|
|
20227
20227
|
if (S.align)
|
|
20228
20228
|
return S.align === "start" ? "left" : S.align === "end" ? "right" : S.align;
|
|
20229
20229
|
}, g = (S) => {
|
|
@@ -20247,7 +20247,7 @@ function CC(e) {
|
|
|
20247
20247
|
);
|
|
20248
20248
|
if (!n || o.value.order.length === 0)
|
|
20249
20249
|
return S;
|
|
20250
|
-
const E = new Map(o.value.order.map((G, le) => [G, le])), z = S.filter((G) =>
|
|
20250
|
+
const E = new Map(o.value.order.map((G, le) => [G, le])), z = S.filter((G) => ot(G.props)), Y = S.filter((G) => !ot(G.props)).sort((G, le) => (E.get(G.props.id) ?? 0) - (E.get(le.props.id) ?? 0)), X = z.filter((G) => G.props.selectionMode), Q = z.filter((G) => G.props.expander), ie = z.filter((G) => G.props.rowReorder), H = z.filter((G) => G.props.rowEditor);
|
|
20251
20251
|
return [...X, ...Q, ...ie, ...Y, ...H];
|
|
20252
20252
|
}), $ = (S) => {
|
|
20253
20253
|
if (!u(S)) return !1;
|
|
@@ -20263,7 +20263,7 @@ function CC(e) {
|
|
|
20263
20263
|
};
|
|
20264
20264
|
}
|
|
20265
20265
|
function P(S) {
|
|
20266
|
-
const E = l.value.filter((H) => !
|
|
20266
|
+
const E = l.value.filter((H) => !ot(H.props));
|
|
20267
20267
|
if (E.length === 0) return;
|
|
20268
20268
|
const z = E.map((H) => ({
|
|
20269
20269
|
id: H.props.id,
|
|
@@ -20290,14 +20290,14 @@ function CC(e) {
|
|
|
20290
20290
|
const S = e.getAvailableWidth();
|
|
20291
20291
|
if (S <= 0) return;
|
|
20292
20292
|
V && (P(S), V = !1);
|
|
20293
|
-
const z = w.value.filter((Y) => !
|
|
20293
|
+
const z = w.value.filter((Y) => !ot(Y.props)).map((Y) => Y.props.id).filter((Y) => o.value.specs[Y]).map((Y) => ({ id: Y, spec: o.value.specs[Y] }));
|
|
20294
20294
|
z.length !== 0 && (i.value = sC({ availableWidth: S, columns: z, mode: r }));
|
|
20295
20295
|
};
|
|
20296
20296
|
let L = /* @__PURE__ */ new Set(), M = !0;
|
|
20297
20297
|
return ee(
|
|
20298
20298
|
l,
|
|
20299
20299
|
() => {
|
|
20300
|
-
const S = l.value.filter((Z) => !
|
|
20300
|
+
const S = l.value.filter((Z) => !ot(Z.props)), E = S.map((Z) => Z.props.id), z = new Set(E), Y = new Set(o.value.order), X = E.filter((Z) => !Y.has(Z)), Q = M ? [] : E.filter((Z) => Y.has(Z) && !L.has(Z)), ie = M ? [] : [...L].filter((Z) => !z.has(Z)), H = X.length > 0 || Q.length > 0 || ie.length > 0, G = o.value.order.length === 0, le = e.getAvailableWidth();
|
|
20301
20301
|
if (G || X.length > 0)
|
|
20302
20302
|
if (G && le > 0)
|
|
20303
20303
|
P(le), V = !1;
|
|
@@ -20340,7 +20340,7 @@ function CC(e) {
|
|
|
20340
20340
|
markStateRestored: B,
|
|
20341
20341
|
orderedVisibleColumns: w,
|
|
20342
20342
|
totalColumns: A,
|
|
20343
|
-
isSpecialColumn:
|
|
20343
|
+
isSpecialColumn: ot,
|
|
20344
20344
|
isColumnResizable: u,
|
|
20345
20345
|
isColumnReorderable: v,
|
|
20346
20346
|
isLastResizableColumn: $,
|
|
@@ -20503,15 +20503,6 @@ function xC(e) {
|
|
|
20503
20503
|
}
|
|
20504
20504
|
const RC = ".vc-table-composition__row-drag-handle, .vc-data-table-mobile-card__drag-handle";
|
|
20505
20505
|
function IC(e) {
|
|
20506
|
-
let l = e.parentElement;
|
|
20507
|
-
for (; l; ) {
|
|
20508
|
-
const t = getComputedStyle(l).overflowX;
|
|
20509
|
-
if (t === "auto" || t === "scroll") return l.clientWidth;
|
|
20510
|
-
l = l.parentElement;
|
|
20511
|
-
}
|
|
20512
|
-
return 0;
|
|
20513
|
-
}
|
|
20514
|
-
function AC(e) {
|
|
20515
20506
|
const {
|
|
20516
20507
|
props: l,
|
|
20517
20508
|
emit: t,
|
|
@@ -20523,14 +20514,14 @@ function AC(e) {
|
|
|
20523
20514
|
getItemKey: u,
|
|
20524
20515
|
tableContainerRef: v
|
|
20525
20516
|
} = e, d = y(() => n.value.find((j) => j.props.selectionMode !== void 0) || null), p = y(() => l.selectionMode !== void 0 || d.value !== null), f = y(() => l.selectionMode ? l.selectionMode : d.value?.props.selectionMode), g = y(() => d.value !== null), h = y(() => l.striped ? "striped" : l.bordered ? "bordered" : l.variant ?? "default"), m = y(() => l.selectAllActive !== void 0), C = SC({
|
|
20526
|
-
items:
|
|
20527
|
-
selection:
|
|
20517
|
+
items: Te(l, "items"),
|
|
20518
|
+
selection: Te(l, "selection"),
|
|
20528
20519
|
selectionMode: y(() => f.value),
|
|
20529
20520
|
isRowSelectable: (j) => l.isRowSelectable ? l.isRowSelectable(j) : !0,
|
|
20530
20521
|
dataKey: l.dataKey ?? "id",
|
|
20531
20522
|
getItemKey: u,
|
|
20532
|
-
totalCount:
|
|
20533
|
-
selectAllActive:
|
|
20523
|
+
totalCount: Te(l, "totalCount"),
|
|
20524
|
+
selectAllActive: Te(l, "selectAllActive"),
|
|
20534
20525
|
selectAllEnabled: m,
|
|
20535
20526
|
onSelectAllChange: (j) => {
|
|
20536
20527
|
t("update:selectAllActive", j), t("select-all", { selected: j });
|
|
@@ -20544,46 +20535,46 @@ function AC(e) {
|
|
|
20544
20535
|
{ deep: !0 }
|
|
20545
20536
|
);
|
|
20546
20537
|
const w = yC({
|
|
20547
|
-
sortField:
|
|
20548
|
-
sortOrder:
|
|
20549
|
-
sortMode:
|
|
20550
|
-
multiSortMeta:
|
|
20551
|
-
removableSort:
|
|
20538
|
+
sortField: Te(l, "sortField"),
|
|
20539
|
+
sortOrder: Te(l, "sortOrder"),
|
|
20540
|
+
sortMode: Te(l, "sortMode"),
|
|
20541
|
+
multiSortMeta: Te(l, "multiSortMeta"),
|
|
20542
|
+
removableSort: Te(l, "removableSort"),
|
|
20552
20543
|
onSort: (j) => {
|
|
20553
20544
|
j.sortField !== void 0 && t("update:sortField", j.sortField), j.sortOrder !== void 0 && t("update:sortOrder", j.sortOrder), j.multiSortMeta !== void 0 && t("update:multiSortMeta", j.multiSortMeta), t("sort", j);
|
|
20554
20545
|
}
|
|
20555
20546
|
}), $ = wC({
|
|
20556
|
-
editMode:
|
|
20557
|
-
editingRows:
|
|
20547
|
+
editMode: Te(l, "editMode"),
|
|
20548
|
+
editingRows: Te(l, "editingRows"),
|
|
20558
20549
|
dataKey: l.dataKey ?? "id",
|
|
20559
20550
|
getItemKey: u
|
|
20560
20551
|
}), A = kC({
|
|
20561
|
-
expandedRows:
|
|
20552
|
+
expandedRows: Te(l, "expandedRows"),
|
|
20562
20553
|
getItemKey: u,
|
|
20563
20554
|
isRowExpandable: (j) => l.isRowExpandable ? l.isRowExpandable(j) : !0
|
|
20564
20555
|
}), O = I([]);
|
|
20565
20556
|
ee(
|
|
20566
20557
|
() => A.internalExpandedRows.value,
|
|
20567
20558
|
(j) => {
|
|
20568
|
-
const
|
|
20569
|
-
|
|
20559
|
+
const ve = j.map((Ve) => u(Ve, 0)), de = O.value.join(","), Ee = ve.join(",");
|
|
20560
|
+
de !== Ee && (O.value = ve, t("update:expandedRows", j));
|
|
20570
20561
|
},
|
|
20571
20562
|
{ deep: !0, immediate: !0 }
|
|
20572
20563
|
);
|
|
20573
20564
|
const P = (j) => {
|
|
20574
|
-
const
|
|
20575
|
-
return O.value.includes(
|
|
20565
|
+
const ve = u(j, 0);
|
|
20566
|
+
return O.value.includes(ve);
|
|
20576
20567
|
}, B = (j) => A.canExpand(j), x = bC({
|
|
20577
|
-
items:
|
|
20578
|
-
groupRowsBy:
|
|
20579
|
-
rowGroupMode:
|
|
20580
|
-
expandableRowGroups:
|
|
20581
|
-
expandedRowGroups:
|
|
20568
|
+
items: Te(l, "items"),
|
|
20569
|
+
groupRowsBy: Te(l, "groupRowsBy"),
|
|
20570
|
+
rowGroupMode: Te(l, "rowGroupMode"),
|
|
20571
|
+
expandableRowGroups: Te(l, "expandableRowGroups"),
|
|
20572
|
+
expandedRowGroups: Te(l, "expandedRowGroups"),
|
|
20582
20573
|
onExpandedRowGroupsChange: (j) => t("update:expandedRowGroups", j),
|
|
20583
20574
|
onRowGroupExpand: (j) => t("rowgroup-expand", j),
|
|
20584
20575
|
onRowGroupCollapse: (j) => t("rowgroup-collapse", j)
|
|
20585
20576
|
}), V = pC({
|
|
20586
|
-
items:
|
|
20577
|
+
items: Te(l, "items"),
|
|
20587
20578
|
rules: l.validationRules,
|
|
20588
20579
|
onSave: (j) => {
|
|
20589
20580
|
t("edit-save", { changes: j });
|
|
@@ -20595,19 +20586,16 @@ function AC(e) {
|
|
|
20595
20586
|
let L = null;
|
|
20596
20587
|
const M = () => {
|
|
20597
20588
|
if ((!L || !L.isConnected) && (L = v.value?.querySelector(".vc-table-composition__row-transition-wrapper") ?? null), !L || L.clientWidth <= 0) return 0;
|
|
20598
|
-
let j =
|
|
20599
|
-
const
|
|
20600
|
-
|
|
20601
|
-
|
|
20602
|
-
const
|
|
20603
|
-
|
|
20604
|
-
|
|
20605
|
-
|
|
20606
|
-
if (it(Te.props)) {
|
|
20607
|
-
const Ze = S.headerRefs.get(Te.props.id);
|
|
20608
|
-
Ze && (ve += Ze.getBoundingClientRect().width);
|
|
20589
|
+
let j = 0;
|
|
20590
|
+
const ve = L.querySelectorAll(".vc-data-table__selection-cell");
|
|
20591
|
+
for (const de of ve)
|
|
20592
|
+
j += de.getBoundingClientRect().width;
|
|
20593
|
+
for (const de of n.value)
|
|
20594
|
+
if (ot(de.props)) {
|
|
20595
|
+
const Ee = S.headerRefs.get(de.props.id);
|
|
20596
|
+
Ee && (j += Ee.getBoundingClientRect().width);
|
|
20609
20597
|
}
|
|
20610
|
-
return Math.max(0,
|
|
20598
|
+
return Math.max(0, L.clientWidth - j);
|
|
20611
20599
|
}, S = CC({
|
|
20612
20600
|
visibleColumns: n,
|
|
20613
20601
|
resizableColumns: l.resizableColumns ?? !0,
|
|
@@ -20623,20 +20611,20 @@ function AC(e) {
|
|
|
20623
20611
|
{ immediate: !0 }
|
|
20624
20612
|
);
|
|
20625
20613
|
const z = y(() => {
|
|
20626
|
-
const j = r.value.filter((
|
|
20627
|
-
id:
|
|
20628
|
-
label:
|
|
20629
|
-
visible: !o.value.has(
|
|
20614
|
+
const j = r.value.filter((de) => de.props.visible !== !1).filter((de) => !ot(de.props)).map((de) => ({
|
|
20615
|
+
id: de.props.id,
|
|
20616
|
+
label: de.props.title || de.props.field || de.props.id,
|
|
20617
|
+
visible: !o.value.has(de.props.id),
|
|
20630
20618
|
defaultVisible: !0
|
|
20631
|
-
})),
|
|
20632
|
-
id:
|
|
20633
|
-
label:
|
|
20634
|
-
visible: !o.value.has(
|
|
20619
|
+
})), ve = c.value.map((de) => ({
|
|
20620
|
+
id: de.props.id,
|
|
20621
|
+
label: de.props.title || de.props.id,
|
|
20622
|
+
visible: !o.value.has(de.props.id),
|
|
20635
20623
|
defaultVisible: !1
|
|
20636
20624
|
}));
|
|
20637
|
-
return [...j, ...
|
|
20625
|
+
return [...j, ...ve];
|
|
20638
20626
|
}), Y = y(() => z.value.filter((j) => j.visible).map((j) => j.id)), X = xC({
|
|
20639
|
-
stateKey:
|
|
20627
|
+
stateKey: Te(l, "stateKey"),
|
|
20640
20628
|
stateStorage: y(() => l.stateStorage ?? "local"),
|
|
20641
20629
|
columnState: S.columnState,
|
|
20642
20630
|
hiddenColumnIds: o,
|
|
@@ -20649,21 +20637,21 @@ function AC(e) {
|
|
|
20649
20637
|
});
|
|
20650
20638
|
ee(
|
|
20651
20639
|
E,
|
|
20652
|
-
(j,
|
|
20653
|
-
const
|
|
20654
|
-
let
|
|
20655
|
-
for (const
|
|
20656
|
-
(!
|
|
20657
|
-
if (
|
|
20658
|
-
const
|
|
20659
|
-
for (const st of
|
|
20660
|
-
!j.has(st) &&
|
|
20640
|
+
(j, ve) => {
|
|
20641
|
+
const de = new Set(o.value), Ee = new Set(i.value);
|
|
20642
|
+
let Ve = !1, it = !1;
|
|
20643
|
+
for (const Ze of j)
|
|
20644
|
+
(!ve || !ve.has(Ze)) && !de.has(Ze) && !Ee.has(Ze) && (de.add(Ze), Ve = !0);
|
|
20645
|
+
if (ve) {
|
|
20646
|
+
const Ze = new Set(r.value.map((st) => st.props.id));
|
|
20647
|
+
for (const st of ve)
|
|
20648
|
+
!j.has(st) && Ze.has(st) && (de.delete(st) && (Ve = !0), Ee.delete(st) && (it = !0));
|
|
20661
20649
|
}
|
|
20662
|
-
|
|
20650
|
+
Ve && (o.value = de), it && (i.value = Ee);
|
|
20663
20651
|
},
|
|
20664
20652
|
{ immediate: !0 }
|
|
20665
20653
|
);
|
|
20666
|
-
const Q = y(() => n.value.find((j) => j.props.rowReorder === !0) || null), ie = y(() => l.reorderableRows || Q.value !== null), H = y(() => ie.value), G = I(), { reorderedItems: le, pendingReorder: Z } = gC(G,
|
|
20654
|
+
const Q = y(() => n.value.find((j) => j.props.rowReorder === !0) || null), ie = y(() => l.reorderableRows || Q.value !== null), H = y(() => ie.value), G = I(), { reorderedItems: le, pendingReorder: Z } = gC(G, Te(l, "items"), {
|
|
20667
20655
|
disabled: y(() => !ie.value),
|
|
20668
20656
|
handle: RC,
|
|
20669
20657
|
onReorder: (j) => t("row-reorder", j)
|
|
@@ -20675,47 +20663,47 @@ function AC(e) {
|
|
|
20675
20663
|
clearAllFilters: Re,
|
|
20676
20664
|
buildPayload: ce,
|
|
20677
20665
|
hasActiveFilters: $e,
|
|
20678
|
-
activeFilterCount:
|
|
20666
|
+
activeFilterCount: Ne
|
|
20679
20667
|
} = hC({
|
|
20680
20668
|
onFilterChange: (j) => {
|
|
20681
20669
|
t("filter", { filters: j, filteredValue: l.items });
|
|
20682
20670
|
}
|
|
20683
20671
|
}), De = (j) => re.hasFilter(j.props.filter), Ye = (j) => j.props.filterField || re.getFilterField(j.props.id, j.props.filter), yt = (j) => re.getFilterType(j.props.filter), ll = (j) => re.getFilterOptions(j.props.filter), rn = (j) => re.isMultipleSelect(j.props.filter), Pt = (j) => re.getRangeFields(j.props.filter), cn = (j) => {
|
|
20684
|
-
const
|
|
20672
|
+
const ve = Ye(j);
|
|
20685
20673
|
if (yt(j) === "dateRange") {
|
|
20686
|
-
const
|
|
20687
|
-
if (
|
|
20688
|
-
const Ee = `__range__${
|
|
20674
|
+
const de = Pt(j);
|
|
20675
|
+
if (de) {
|
|
20676
|
+
const Ee = `__range__${de[0]}__${de[1]}`;
|
|
20689
20677
|
return fe.value[Ee] ?? null;
|
|
20690
20678
|
}
|
|
20691
20679
|
}
|
|
20692
|
-
return fe.value[
|
|
20680
|
+
return fe.value[ve] ?? null;
|
|
20693
20681
|
}, nl = I(null), al = () => {
|
|
20694
20682
|
const j = ce();
|
|
20695
20683
|
nl.value && Object.assign(j, nl.value), t("filter", { filters: j, filteredValue: l.items });
|
|
20696
|
-
}, un = (j,
|
|
20697
|
-
const
|
|
20698
|
-
if (
|
|
20699
|
-
const
|
|
20700
|
-
if (
|
|
20701
|
-
const
|
|
20702
|
-
Ie(
|
|
20684
|
+
}, un = (j, ve) => {
|
|
20685
|
+
const de = yt(j), Ee = Ye(j);
|
|
20686
|
+
if (de === "dateRange") {
|
|
20687
|
+
const Ve = Pt(j);
|
|
20688
|
+
if (Ve) {
|
|
20689
|
+
const it = ve[Ve[0]], Ze = ve[Ve[1]];
|
|
20690
|
+
Ie(Ve, { start: it, end: Ze });
|
|
20703
20691
|
}
|
|
20704
20692
|
} else {
|
|
20705
|
-
const
|
|
20706
|
-
he(Ee,
|
|
20693
|
+
const Ve = ve[Ee];
|
|
20694
|
+
he(Ee, Ve);
|
|
20707
20695
|
}
|
|
20708
20696
|
al();
|
|
20709
20697
|
}, Sl = (j) => {
|
|
20710
|
-
const
|
|
20698
|
+
const ve = Ye(j);
|
|
20711
20699
|
if (yt(j) === "dateRange") {
|
|
20712
20700
|
const Ee = Pt(j);
|
|
20713
20701
|
if (Ee) {
|
|
20714
|
-
const
|
|
20715
|
-
oe(
|
|
20702
|
+
const Ve = `__range__${Ee[0]}__${Ee[1]}`;
|
|
20703
|
+
oe(Ve);
|
|
20716
20704
|
}
|
|
20717
20705
|
} else
|
|
20718
|
-
oe(
|
|
20706
|
+
oe(ve);
|
|
20719
20707
|
al();
|
|
20720
20708
|
}, ol = y(() => Z.value && ie.value ? [...le.value] : l.items ?? []), dn = (j) => ol.value.indexOf(j), vn = y(() => S.orderedVisibleColumns.value.filter(
|
|
20721
20709
|
(j) => j != null && j.props != null && j.props.id != null
|
|
@@ -20725,7 +20713,7 @@ function AC(e) {
|
|
|
20725
20713
|
recompute: S.recompute,
|
|
20726
20714
|
getAvailableWidth: M,
|
|
20727
20715
|
minColumnWidth: Sa,
|
|
20728
|
-
getVisibleRegularColumnIds: () => S.orderedVisibleColumns.value.filter((j) => !
|
|
20716
|
+
getVisibleRegularColumnIds: () => S.orderedVisibleColumns.value.filter((j) => !ot(j.props)).map((j) => j.props.id),
|
|
20729
20717
|
onResizeEnd: () => t("column-resize-end", { columns: [] }),
|
|
20730
20718
|
containerEl: v
|
|
20731
20719
|
}), {
|
|
@@ -20736,14 +20724,14 @@ function AC(e) {
|
|
|
20736
20724
|
} = mC({
|
|
20737
20725
|
columnState: S.columnState,
|
|
20738
20726
|
onReorderEnd: () => t("column-reorder", { columns: [] })
|
|
20739
|
-
}), bn = (j,
|
|
20740
|
-
w.handleSort(S.getSortField(j),
|
|
20727
|
+
}), bn = (j, ve) => {
|
|
20728
|
+
w.handleSort(S.getSortField(j), ve);
|
|
20741
20729
|
}, $t = (j) => {
|
|
20742
|
-
const
|
|
20743
|
-
t(j ? "row-select-all" : "row-unselect-all",
|
|
20744
|
-
}, Et = (j,
|
|
20745
|
-
const
|
|
20746
|
-
Ee && t(
|
|
20730
|
+
const ve = C.handleSelectAllChange(j);
|
|
20731
|
+
t(j ? "row-select-all" : "row-unselect-all", ve), t("update:selectAll", j);
|
|
20732
|
+
}, Et = (j, ve) => {
|
|
20733
|
+
const de = C.isSelected(j), Ee = C.handleRowSelectionChange(j, ve);
|
|
20734
|
+
Ee && t(de ? "row-unselect" : "row-select", Ee);
|
|
20747
20735
|
};
|
|
20748
20736
|
return {
|
|
20749
20737
|
// Sub-composable instances
|
|
@@ -20764,7 +20752,7 @@ function AC(e) {
|
|
|
20764
20752
|
clearAllFilters: Re,
|
|
20765
20753
|
buildPayload: ce,
|
|
20766
20754
|
hasActiveFilters: $e,
|
|
20767
|
-
activeFilterCount:
|
|
20755
|
+
activeFilterCount: Ne,
|
|
20768
20756
|
// Column filter template helpers
|
|
20769
20757
|
showColumnFilter: De,
|
|
20770
20758
|
getColumnFilterType: yt,
|
|
@@ -20813,95 +20801,95 @@ function AC(e) {
|
|
|
20813
20801
|
handleSort: bn,
|
|
20814
20802
|
handleSelectAllChange: $t,
|
|
20815
20803
|
handleRowSelectionChange: Et,
|
|
20816
|
-
handleRowClick: (j,
|
|
20817
|
-
const Ee = u(j,
|
|
20818
|
-
t("update:activeItemId",
|
|
20819
|
-
const
|
|
20820
|
-
f.value === "single" && !
|
|
20804
|
+
handleRowClick: (j, ve, de) => {
|
|
20805
|
+
const Ee = u(j, ve), Ve = l.activeItemId != null && Ee === String(l.activeItemId);
|
|
20806
|
+
t("update:activeItemId", Ve ? void 0 : Ee), t("row-click", { data: j, index: ve, originalEvent: de });
|
|
20807
|
+
const it = de.target, Ze = it.tagName === "INPUT" && it.getAttribute("type") === "checkbox";
|
|
20808
|
+
f.value === "single" && !Ze && Et(j, de);
|
|
20821
20809
|
},
|
|
20822
20810
|
handleAddRow: (j) => {
|
|
20823
|
-
let
|
|
20824
|
-
const
|
|
20811
|
+
let ve = !1;
|
|
20812
|
+
const de = {
|
|
20825
20813
|
defaults: j ?? {},
|
|
20826
20814
|
cancel: () => {
|
|
20827
|
-
|
|
20815
|
+
ve = !0;
|
|
20828
20816
|
}
|
|
20829
20817
|
};
|
|
20830
|
-
t("row-add",
|
|
20818
|
+
t("row-add", de), ve || V.addRow(de.defaults);
|
|
20831
20819
|
},
|
|
20832
20820
|
handleRemoveRow: (j) => {
|
|
20833
20821
|
if (j < 0 || j >= l.items.length) return;
|
|
20834
|
-
let
|
|
20835
|
-
const
|
|
20822
|
+
let ve = !1;
|
|
20823
|
+
const de = {
|
|
20836
20824
|
data: l.items[j],
|
|
20837
20825
|
index: j,
|
|
20838
20826
|
cancel: () => {
|
|
20839
|
-
|
|
20827
|
+
ve = !0;
|
|
20840
20828
|
}
|
|
20841
20829
|
};
|
|
20842
|
-
t("row-remove",
|
|
20830
|
+
t("row-remove", de), ve || V.removeRow(j);
|
|
20843
20831
|
},
|
|
20844
20832
|
handleColumnVisibilityChange: (j) => {
|
|
20845
|
-
const
|
|
20846
|
-
for (const Xe of
|
|
20847
|
-
|
|
20833
|
+
const ve = new Set(j), de = z.value.map((Xe) => Xe.id), Ee = z.value.filter((Xe) => Xe.defaultVisible === !1).map((Xe) => Xe.id), Ve = new Set(de), it = new Set(Ee), Ze = new Set([...o.value].filter((Xe) => !Ve.has(Xe))), st = new Set([...i.value].filter((Xe) => !it.has(Xe)));
|
|
20834
|
+
for (const Xe of de)
|
|
20835
|
+
ve.has(Xe) || Ze.add(Xe);
|
|
20848
20836
|
for (const Xe of Ee)
|
|
20849
|
-
|
|
20850
|
-
o.value =
|
|
20837
|
+
ve.has(Xe) && st.add(Xe);
|
|
20838
|
+
o.value = Ze, i.value = st;
|
|
20851
20839
|
},
|
|
20852
20840
|
handleTableReset: () => {
|
|
20853
20841
|
X.resetState(), E.value.size > 0 && (o.value = new Set(E.value)), S.resetFromProps(), S.recompute();
|
|
20854
20842
|
},
|
|
20855
|
-
handleCellClick: (j,
|
|
20856
|
-
if (l.editMode === "cell" && (Ee.slots.editor || Ee.props.editable) && !$.isCellEditing(
|
|
20857
|
-
const
|
|
20858
|
-
t("cell-edit-init",
|
|
20843
|
+
handleCellClick: (j, ve, de, Ee) => {
|
|
20844
|
+
if (l.editMode === "cell" && (Ee.slots.editor || Ee.props.editable) && !$.isCellEditing(de, ve)) {
|
|
20845
|
+
const Ve = $.startCellEdit(j, ve, de);
|
|
20846
|
+
t("cell-edit-init", Ve);
|
|
20859
20847
|
}
|
|
20860
20848
|
},
|
|
20861
|
-
handleCellEditComplete: (j,
|
|
20862
|
-
const
|
|
20863
|
-
t("cell-edit-complete", { data: j, field:
|
|
20849
|
+
handleCellEditComplete: (j, ve, de, Ee) => {
|
|
20850
|
+
const Ve = $.completeCellEdit(j, ve, de, Ee);
|
|
20851
|
+
t("cell-edit-complete", { data: j, field: ve, newValue: Ve.newValue, index: de }), V.isEditing.value && V.updateCell(de, ve, Ee);
|
|
20864
20852
|
},
|
|
20865
|
-
handleCellEditCancel: (j,
|
|
20866
|
-
$.cancelCellEdit(j,
|
|
20853
|
+
handleCellEditCancel: (j, ve, de) => {
|
|
20854
|
+
$.cancelCellEdit(j, ve, de), t("cell-edit-cancel", { data: j, field: ve, index: de });
|
|
20867
20855
|
},
|
|
20868
|
-
handleCellValueChange: (j,
|
|
20869
|
-
if (V.clearNewRowFlag(
|
|
20870
|
-
const Ee = l.items[
|
|
20871
|
-
Ee && t("cell-edit-complete", { data: Ee, field: j, newValue:
|
|
20856
|
+
handleCellValueChange: (j, ve, de) => {
|
|
20857
|
+
if (V.clearNewRowFlag(ve), D.value && V.updateCell(ve, j, de), l.editMode === "inline") {
|
|
20858
|
+
const Ee = l.items[ve];
|
|
20859
|
+
Ee && t("cell-edit-complete", { data: Ee, field: j, newValue: de, index: ve });
|
|
20872
20860
|
}
|
|
20873
20861
|
},
|
|
20874
|
-
handleExpandToggle: (j,
|
|
20875
|
-
const Ee = A.isRowExpanded(j,
|
|
20876
|
-
|
|
20862
|
+
handleExpandToggle: (j, ve, de) => {
|
|
20863
|
+
const Ee = A.isRowExpanded(j, ve), Ve = A.toggleRowExpansion(j, ve, de);
|
|
20864
|
+
Ve && t(Ee ? "row-collapse" : "row-expand", Ve);
|
|
20877
20865
|
},
|
|
20878
|
-
handleStartRowEdit: (j,
|
|
20879
|
-
const
|
|
20880
|
-
t("update:editingRows", $.internalEditingRows.value), t("row-edit-init",
|
|
20866
|
+
handleStartRowEdit: (j, ve) => {
|
|
20867
|
+
const de = $.startRowEdit(j, ve);
|
|
20868
|
+
t("update:editingRows", $.internalEditingRows.value), t("row-edit-init", de);
|
|
20881
20869
|
},
|
|
20882
|
-
handleSaveRowEdit: (j,
|
|
20883
|
-
const
|
|
20884
|
-
t("update:editingRows", $.internalEditingRows.value), t("row-edit-save",
|
|
20870
|
+
handleSaveRowEdit: (j, ve) => {
|
|
20871
|
+
const de = $.saveRowEdit(j, ve);
|
|
20872
|
+
t("update:editingRows", $.internalEditingRows.value), t("row-edit-save", de);
|
|
20885
20873
|
},
|
|
20886
|
-
handleCancelRowEdit: (j,
|
|
20887
|
-
const
|
|
20888
|
-
t("update:editingRows", $.internalEditingRows.value), t("row-edit-cancel",
|
|
20874
|
+
handleCancelRowEdit: (j, ve) => {
|
|
20875
|
+
const de = $.cancelRowEdit(j, ve);
|
|
20876
|
+
t("update:editingRows", $.internalEditingRows.value), t("row-edit-cancel", de);
|
|
20889
20877
|
},
|
|
20890
|
-
handleRowAction: (j,
|
|
20891
|
-
j.clickHandler?.(
|
|
20878
|
+
handleRowAction: (j, ve, de) => {
|
|
20879
|
+
j.clickHandler?.(ve, de), t("row-action", { action: j, item: ve, index: de });
|
|
20892
20880
|
},
|
|
20893
|
-
handleMobileRowClick: (j,
|
|
20894
|
-
t("row-click", { data: j, index:
|
|
20881
|
+
handleMobileRowClick: (j, ve) => {
|
|
20882
|
+
t("row-click", { data: j, index: ve, originalEvent: new Event("click") });
|
|
20895
20883
|
},
|
|
20896
|
-
handleMobileRowSelect: (j,
|
|
20884
|
+
handleMobileRowSelect: (j, ve) => {
|
|
20897
20885
|
Et(j);
|
|
20898
20886
|
},
|
|
20899
|
-
handleMobileRowAction: (j,
|
|
20900
|
-
j.clickHandler && j.clickHandler(
|
|
20887
|
+
handleMobileRowAction: (j, ve, de) => {
|
|
20888
|
+
j.clickHandler && j.clickHandler(ve, de), t("row-action", { action: j, item: ve, index: de });
|
|
20901
20889
|
}
|
|
20902
20890
|
};
|
|
20903
20891
|
}
|
|
20904
|
-
class
|
|
20892
|
+
class AC {
|
|
20905
20893
|
columns = /* @__PURE__ */ new Map();
|
|
20906
20894
|
updateCallback = null;
|
|
20907
20895
|
/**
|
|
@@ -20977,7 +20965,7 @@ class TC {
|
|
|
20977
20965
|
this.updateCallback?.();
|
|
20978
20966
|
}
|
|
20979
20967
|
}
|
|
20980
|
-
function
|
|
20968
|
+
function TC(e) {
|
|
20981
20969
|
const l = ue(jo, void 0);
|
|
20982
20970
|
if (!l) return;
|
|
20983
20971
|
const { props: t, emit: n, internalSearchValue: r } = e, o = l.read(t.stateKey);
|
|
@@ -21014,23 +21002,23 @@ function OC(e) {
|
|
|
21014
21002
|
}
|
|
21015
21003
|
);
|
|
21016
21004
|
}
|
|
21017
|
-
const
|
|
21005
|
+
const W_ = {
|
|
21018
21006
|
mounted(e, l) {
|
|
21019
21007
|
l.value && e.focus();
|
|
21020
21008
|
}
|
|
21021
|
-
},
|
|
21009
|
+
}, OC = (e, l) => {
|
|
21022
21010
|
const t = l.arg ? parseInt(l.arg, 10) : 9e3, n = typeof l.value == "object" ? l.value : { blur: !0 };
|
|
21023
21011
|
l.value ? (e.classList.add("v-loading"), n.size && e.setAttribute("data-loading-size", n.size), n.color && e.style.setProperty("--v-loading-spinner-color", n.color), n.blur === !1 && e.classList.add("v-loading--no-blur"), n.fullscreen && e.classList.add("v-loading--fullscreen"), e.style.setProperty("--v-loading-z-index", `${t}`)) : (e.classList.remove("v-loading", "v-loading--no-blur", "v-loading--fullscreen"), e.removeAttribute("data-loading-size"), e.style.removeProperty("--v-loading-z-index"), e.style.removeProperty("--v-loading-spinner-color"));
|
|
21024
|
-
},
|
|
21012
|
+
}, MC = ["aria-busy"], BC = {
|
|
21025
21013
|
key: 0,
|
|
21026
21014
|
class: "vc-data-table__header"
|
|
21027
|
-
},
|
|
21015
|
+
}, LC = {
|
|
21028
21016
|
key: 6,
|
|
21029
21017
|
class: "vc-data-table__content"
|
|
21030
|
-
},
|
|
21018
|
+
}, NC = {
|
|
21031
21019
|
key: 0,
|
|
21032
21020
|
class: "vc-data-table__mobile-select-toolbar"
|
|
21033
|
-
},
|
|
21021
|
+
}, VC = { class: "vc-data-table__mobile-select-toolbar-text" }, PC = { class: "vc-data-table__page-info" }, Pn = 37, ho = 140, DC = /* @__PURE__ */ K({
|
|
21034
21022
|
inheritAttrs: !1,
|
|
21035
21023
|
__name: "VcDataTable",
|
|
21036
21024
|
props: {
|
|
@@ -21128,7 +21116,7 @@ const G_ = {
|
|
|
21128
21116
|
return `${Ae}–${Je} ${o("COMPONENTS.ORGANISMS.VC_TABLE.OF", {}, "of")} ${ge}`;
|
|
21129
21117
|
}
|
|
21130
21118
|
return `${o("COMPONENTS.ORGANISMS.VC_TABLE.PAGE", {}, "Page")} ${ne.currentPage} ${o("COMPONENTS.ORGANISMS.VC_TABLE.OF", {}, "of")} ${ne.pages}`;
|
|
21131
|
-
}), { isMobile: P } =
|
|
21119
|
+
}), { isMobile: P } = Le(), B = y(() => P.value), x = ht(), V = (ne) => ne.replace(/-([a-z])/g, (ge, Se) => Se.toUpperCase()), D = /* @__PURE__ */ new Set([
|
|
21132
21120
|
"sortable",
|
|
21133
21121
|
"editable",
|
|
21134
21122
|
"visible",
|
|
@@ -21164,8 +21152,8 @@ const G_ = {
|
|
|
21164
21152
|
Array.isArray(Ae.children) && Ae.children.forEach(Se);
|
|
21165
21153
|
};
|
|
21166
21154
|
return ne.forEach(Se), ge;
|
|
21167
|
-
}, S = new
|
|
21168
|
-
|
|
21155
|
+
}, S = new AC();
|
|
21156
|
+
Oe(Mi, S);
|
|
21169
21157
|
const E = I(0);
|
|
21170
21158
|
S.onUpdate(() => {
|
|
21171
21159
|
E.value++;
|
|
@@ -21205,7 +21193,7 @@ const G_ = {
|
|
|
21205
21193
|
filterValues: Re,
|
|
21206
21194
|
updateFilter: ce,
|
|
21207
21195
|
clearFilter: $e,
|
|
21208
|
-
clearAllFilters:
|
|
21196
|
+
clearAllFilters: Ne,
|
|
21209
21197
|
hasActiveFilters: De,
|
|
21210
21198
|
activeFilterCount: Ye,
|
|
21211
21199
|
// Column filter template helpers
|
|
@@ -21253,12 +21241,12 @@ const G_ = {
|
|
|
21253
21241
|
handleAddRow: sl,
|
|
21254
21242
|
handleRemoveRow: Oa,
|
|
21255
21243
|
handleColumnVisibilityChange: j,
|
|
21256
|
-
handleTableReset:
|
|
21257
|
-
handleCellClick:
|
|
21244
|
+
handleTableReset: ve,
|
|
21245
|
+
handleCellClick: de,
|
|
21258
21246
|
handleCellEditComplete: Ee,
|
|
21259
|
-
handleCellEditCancel:
|
|
21260
|
-
handleCellValueChange:
|
|
21261
|
-
handleExpandToggle:
|
|
21247
|
+
handleCellEditCancel: Ve,
|
|
21248
|
+
handleCellValueChange: it,
|
|
21249
|
+
handleExpandToggle: Ze,
|
|
21262
21250
|
handleStartRowEdit: st,
|
|
21263
21251
|
handleSaveRowEdit: Xe,
|
|
21264
21252
|
handleCancelRowEdit: Hi,
|
|
@@ -21266,7 +21254,7 @@ const G_ = {
|
|
|
21266
21254
|
handleMobileRowClick: Gi,
|
|
21267
21255
|
handleMobileRowSelect: qi,
|
|
21268
21256
|
handleMobileRowAction: Ki
|
|
21269
|
-
} =
|
|
21257
|
+
} = IC({
|
|
21270
21258
|
props: n,
|
|
21271
21259
|
emit: r,
|
|
21272
21260
|
visibleColumns: ie,
|
|
@@ -21279,17 +21267,17 @@ const G_ = {
|
|
|
21279
21267
|
}), Ma = I(null), Ba = I(null);
|
|
21280
21268
|
Wt(() => {
|
|
21281
21269
|
pn.value = B.value ? Ba.value?.listEl : Ma.value?.listEl;
|
|
21282
|
-
}),
|
|
21270
|
+
}), Oe(s1, {
|
|
21283
21271
|
filterValues: Re,
|
|
21284
21272
|
updateFilter: ce,
|
|
21285
21273
|
clearFilter: $e,
|
|
21286
|
-
clearAllFilters:
|
|
21274
|
+
clearAllFilters: Ne,
|
|
21287
21275
|
hasActiveFilters: De,
|
|
21288
21276
|
activeFilterCount: Ye
|
|
21289
|
-
}),
|
|
21277
|
+
}), Oe(
|
|
21290
21278
|
Bi,
|
|
21291
21279
|
y(() => Ie.engineOutput.value.fillerWidth)
|
|
21292
|
-
),
|
|
21280
|
+
), Oe(Li, vn);
|
|
21293
21281
|
const La = (ne) => {
|
|
21294
21282
|
r("pagination-click", ne);
|
|
21295
21283
|
}, Dt = I(n.searchValue ?? "");
|
|
@@ -21304,7 +21292,7 @@ const G_ = {
|
|
|
21304
21292
|
(ne) => {
|
|
21305
21293
|
ne !== void 0 && ne !== Dt.value && (Dt.value = ne);
|
|
21306
21294
|
}
|
|
21307
|
-
),
|
|
21295
|
+
), TC({
|
|
21308
21296
|
props: n,
|
|
21309
21297
|
emit: r,
|
|
21310
21298
|
internalSearchValue: Dt
|
|
@@ -21414,7 +21402,7 @@ const G_ = {
|
|
|
21414
21402
|
class: "vc-data-table",
|
|
21415
21403
|
"aria-busy": e.loading || a($) || void 0
|
|
21416
21404
|
}, [
|
|
21417
|
-
ne.$slots.header ? (s(), b("div",
|
|
21405
|
+
ne.$slots.header ? (s(), b("div", BC, [
|
|
21418
21406
|
U(ne.$slots, "header")
|
|
21419
21407
|
])) : _("", !0),
|
|
21420
21408
|
e.searchable || e.globalFilters?.length || ne.$slots["search-header-actions"] ? (s(), N(a(ek), {
|
|
@@ -21455,7 +21443,7 @@ const G_ = {
|
|
|
21455
21443
|
"anchor-ref": Zi.value,
|
|
21456
21444
|
"onUpdate:visibleColumns": a(j),
|
|
21457
21445
|
"onUpdate:show": ge[3] || (ge[3] = (Se) => cl.value = Se),
|
|
21458
|
-
onReset: a(
|
|
21446
|
+
onReset: a(ve)
|
|
21459
21447
|
}, null, 8, ["columns", "visible-columns", "show", "anchor-ref", "onUpdate:visibleColumns", "onReset"])) : _("", !0),
|
|
21460
21448
|
kn.value && Na.value === "header" ? (s(), N(a(Mn), {
|
|
21461
21449
|
key: 4,
|
|
@@ -21480,14 +21468,14 @@ const G_ = {
|
|
|
21480
21468
|
onCancel: a(W).clearSelection
|
|
21481
21469
|
}, null, 8, ["selection-count", "total-count", "all-selected", "show-select-all-prompt", "onSelectAll", "onCancel"])) : _("", !0)
|
|
21482
21470
|
]),
|
|
21483
|
-
B.value ? (s(), b("div",
|
|
21484
|
-
a($t) === "multiple" && (a(W).someSelected.value || a(W).allSelected.value) ? (s(), b("div",
|
|
21471
|
+
B.value ? (s(), b("div", LC, [
|
|
21472
|
+
a($t) === "multiple" && (a(W).someSelected.value || a(W).allSelected.value) ? (s(), b("div", NC, [
|
|
21485
21473
|
R(a(gl), {
|
|
21486
21474
|
"model-value": a(W).allSelected.value,
|
|
21487
21475
|
indeterminate: a(W).someSelected.value && !a(W).allSelected.value,
|
|
21488
21476
|
onChange: a(wn)
|
|
21489
21477
|
}, null, 8, ["model-value", "indeterminate", "onChange"]),
|
|
21490
|
-
k("span",
|
|
21478
|
+
k("span", VC, F(ne.$t("COMPONENTS.ORGANISMS.VC_TABLE.SELECTED", "Selected")) + ": " + F(a(W).internalSelection.value.length), 1)
|
|
21491
21479
|
])) : _("", !0),
|
|
21492
21480
|
R(a(iC), {
|
|
21493
21481
|
ref_key: "mobileViewRef",
|
|
@@ -21509,7 +21497,7 @@ const G_ = {
|
|
|
21509
21497
|
onSelect: a(qi),
|
|
21510
21498
|
onAction: a(Ki),
|
|
21511
21499
|
onRefresh: ge[10] || (ge[10] = (Se) => r("pull-refresh")),
|
|
21512
|
-
onCellValueChange: ge[11] || (ge[11] = (Se, Ae, Je) => a(
|
|
21500
|
+
onCellValueChange: ge[11] || (ge[11] = (Se, Ae, Je) => a(it)(Se, Ae, Je))
|
|
21513
21501
|
}, {
|
|
21514
21502
|
empty: T(() => [
|
|
21515
21503
|
d.value && ne.$slots["not-found"] ? U(ne.$slots, "not-found", { key: 0 }) : ne.$slots.empty ? U(ne.$slots, "empty", { key: 1 }) : (s(), N(a(Vi), {
|
|
@@ -21608,14 +21596,14 @@ const G_ = {
|
|
|
21608
21596
|
onRowMouseenter: Xi,
|
|
21609
21597
|
onRowMouseleave: Qi,
|
|
21610
21598
|
onSelectionChange: a(Aa),
|
|
21611
|
-
onExpandToggle: ge[8] || (ge[8] = (Se, Ae, Je) => a(
|
|
21599
|
+
onExpandToggle: ge[8] || (ge[8] = (Se, Ae, Je) => a(Ze)(Se, Ae, Je)),
|
|
21612
21600
|
onRowEdit: a(st),
|
|
21613
21601
|
onRowSave: a(Xe),
|
|
21614
21602
|
onRowCancel: a(Hi),
|
|
21615
21603
|
onEditComplete: a(Ee),
|
|
21616
|
-
onEditCancel: a(
|
|
21617
|
-
onCellValueChange: a(
|
|
21618
|
-
onCellClick: a(
|
|
21604
|
+
onEditCancel: a(Ve),
|
|
21605
|
+
onCellValueChange: a(it),
|
|
21606
|
+
onCellClick: a(de)
|
|
21619
21607
|
}, xe({
|
|
21620
21608
|
"row-actions": T(({ item: Se, index: Ae }) => [
|
|
21621
21609
|
e.rowActions ? (s(), N(a(z1), {
|
|
@@ -21693,7 +21681,7 @@ const G_ = {
|
|
|
21693
21681
|
ref: Z,
|
|
21694
21682
|
class: "vc-data-table__pagination"
|
|
21695
21683
|
}, [
|
|
21696
|
-
k("span",
|
|
21684
|
+
k("span", PC, F(O.value), 1),
|
|
21697
21685
|
U(ne.$slots, "pagination", {
|
|
21698
21686
|
pages: n.pagination.pages,
|
|
21699
21687
|
currentPage: n.pagination.currentPage,
|
|
@@ -21710,11 +21698,11 @@ const G_ = {
|
|
|
21710
21698
|
])
|
|
21711
21699
|
], 512)) : _("", !0),
|
|
21712
21700
|
U(ne.$slots, "default")
|
|
21713
|
-
], 8,
|
|
21714
|
-
[a(
|
|
21701
|
+
], 8, MC)), [
|
|
21702
|
+
[a(OC), (e.loading || a($)) && !A.value, "49"]
|
|
21715
21703
|
]);
|
|
21716
21704
|
}
|
|
21717
|
-
}),
|
|
21705
|
+
}), FC = { class: "vc-table-adapter" }, zC = { class: "vc-global-filters-panel__content" }, G_ = /* @__PURE__ */ K({
|
|
21718
21706
|
__name: "VcTableAdapter",
|
|
21719
21707
|
props: {
|
|
21720
21708
|
columns: {},
|
|
@@ -21876,8 +21864,8 @@ const G_ = {
|
|
|
21876
21864
|
function Z(W) {
|
|
21877
21865
|
W.cancel(), n("onAddNewRow");
|
|
21878
21866
|
}
|
|
21879
|
-
return (W, pe) => (s(), b("div",
|
|
21880
|
-
R(
|
|
21867
|
+
return (W, pe) => (s(), b("div", FC, [
|
|
21868
|
+
R(DC, {
|
|
21881
21869
|
items: t.items,
|
|
21882
21870
|
"sort-field": d.value,
|
|
21883
21871
|
"sort-order": p.value,
|
|
@@ -22020,7 +22008,7 @@ const G_ = {
|
|
|
22020
22008
|
"onUpdate:show": pe[1] || (pe[1] = (re) => i.value = re)
|
|
22021
22009
|
}, {
|
|
22022
22010
|
default: T(() => [
|
|
22023
|
-
k("div",
|
|
22011
|
+
k("div", zC, [
|
|
22024
22012
|
U(W.$slots, "filters", { closePanel: v })
|
|
22025
22013
|
])
|
|
22026
22014
|
]),
|
|
@@ -22030,14 +22018,14 @@ const G_ = {
|
|
|
22030
22018
|
}
|
|
22031
22019
|
});
|
|
22032
22020
|
export {
|
|
22033
|
-
|
|
22021
|
+
a_ as $,
|
|
22034
22022
|
cw as A,
|
|
22035
22023
|
Yo as B,
|
|
22036
|
-
|
|
22037
|
-
|
|
22024
|
+
AC as C,
|
|
22025
|
+
N_ as D,
|
|
22038
22026
|
lo as E,
|
|
22039
22027
|
ro as F,
|
|
22040
|
-
|
|
22028
|
+
V_ as G,
|
|
22041
22029
|
lw as H,
|
|
22042
22030
|
Qn as I,
|
|
22043
22031
|
pw as J,
|
|
@@ -22045,62 +22033,62 @@ export {
|
|
|
22045
22033
|
uy as L,
|
|
22046
22034
|
ry as M,
|
|
22047
22035
|
Ci as N,
|
|
22048
|
-
|
|
22036
|
+
P_ as O,
|
|
22049
22037
|
ni as P,
|
|
22050
|
-
|
|
22051
|
-
|
|
22038
|
+
c_ as Q,
|
|
22039
|
+
S_ as R,
|
|
22052
22040
|
Qo as S,
|
|
22053
22041
|
I1 as T,
|
|
22054
|
-
|
|
22055
|
-
|
|
22056
|
-
|
|
22057
|
-
|
|
22042
|
+
Me as U,
|
|
22043
|
+
$_ as V,
|
|
22044
|
+
XE as W,
|
|
22045
|
+
n_ as X,
|
|
22058
22046
|
nn as Y,
|
|
22059
|
-
|
|
22047
|
+
T_ as Z,
|
|
22060
22048
|
Bn as _,
|
|
22061
22049
|
Xk as a,
|
|
22062
22050
|
Di as a$,
|
|
22063
22051
|
km as a0,
|
|
22064
22052
|
Nk as a1,
|
|
22065
|
-
|
|
22066
|
-
|
|
22053
|
+
o_ as a2,
|
|
22054
|
+
DC as a3,
|
|
22067
22055
|
um as a4,
|
|
22068
22056
|
en as a5,
|
|
22069
22057
|
tn as a6,
|
|
22070
22058
|
Vt as a7,
|
|
22071
|
-
|
|
22072
|
-
|
|
22073
|
-
|
|
22074
|
-
|
|
22059
|
+
D_ as a8,
|
|
22060
|
+
__ as a9,
|
|
22061
|
+
R_ as aA,
|
|
22062
|
+
s_ as aB,
|
|
22075
22063
|
kt as aC,
|
|
22076
22064
|
Gt as aD,
|
|
22077
22065
|
tl as aE,
|
|
22078
22066
|
be as aF,
|
|
22079
|
-
|
|
22067
|
+
I_ as aG,
|
|
22080
22068
|
oi as aH,
|
|
22081
22069
|
dv as aI,
|
|
22082
22070
|
Qb as aJ,
|
|
22083
|
-
|
|
22071
|
+
G_ as aK,
|
|
22084
22072
|
zm as aL,
|
|
22085
|
-
|
|
22073
|
+
x_ as aM,
|
|
22086
22074
|
Nt as aN,
|
|
22087
|
-
|
|
22075
|
+
r_ as aO,
|
|
22088
22076
|
ql as aP,
|
|
22089
|
-
|
|
22090
|
-
|
|
22077
|
+
W_ as aQ,
|
|
22078
|
+
OC as aR,
|
|
22091
22079
|
vy as aS,
|
|
22092
22080
|
$i as aT,
|
|
22093
22081
|
ua as aU,
|
|
22094
22082
|
iw as aV,
|
|
22095
22083
|
Ii as aW,
|
|
22096
22084
|
an as aX,
|
|
22097
|
-
|
|
22085
|
+
L_ as aY,
|
|
22098
22086
|
Ge as aZ,
|
|
22099
22087
|
Zl as a_,
|
|
22100
|
-
|
|
22088
|
+
C_ as aa,
|
|
22101
22089
|
bi as ab,
|
|
22102
22090
|
nm as ac,
|
|
22103
|
-
|
|
22091
|
+
F_ as ad,
|
|
22104
22092
|
We as ae,
|
|
22105
22093
|
ai as af,
|
|
22106
22094
|
Si as ag,
|
|
@@ -22109,8 +22097,8 @@ export {
|
|
|
22109
22097
|
kp as aj,
|
|
22110
22098
|
yi as ak,
|
|
22111
22099
|
wi as al,
|
|
22112
|
-
|
|
22113
|
-
|
|
22100
|
+
at as am,
|
|
22101
|
+
O_ as an,
|
|
22114
22102
|
Gl as ao,
|
|
22115
22103
|
av as ap,
|
|
22116
22104
|
bh as aq,
|
|
@@ -22120,44 +22108,44 @@ export {
|
|
|
22120
22108
|
zt as au,
|
|
22121
22109
|
Vp as av,
|
|
22122
22110
|
ti as aw,
|
|
22123
|
-
|
|
22111
|
+
i_ as ax,
|
|
22124
22112
|
ha as ay,
|
|
22125
|
-
|
|
22113
|
+
A_ as az,
|
|
22126
22114
|
fo as b,
|
|
22127
22115
|
ri as b$,
|
|
22128
|
-
|
|
22129
|
-
|
|
22116
|
+
e_ as b0,
|
|
22117
|
+
ZE as b1,
|
|
22130
22118
|
hC as b2,
|
|
22131
22119
|
el as b3,
|
|
22132
22120
|
dt as b4,
|
|
22133
22121
|
Oi as b5,
|
|
22134
22122
|
yh as b6,
|
|
22135
|
-
|
|
22123
|
+
M_ as b7,
|
|
22136
22124
|
Lu as b8,
|
|
22137
22125
|
Jw as b9,
|
|
22138
22126
|
jn as bA,
|
|
22139
|
-
|
|
22127
|
+
YE as bB,
|
|
22140
22128
|
Bt as bC,
|
|
22141
|
-
|
|
22129
|
+
DE as bD,
|
|
22142
22130
|
Kn as bE,
|
|
22143
22131
|
Wc as bF,
|
|
22144
|
-
|
|
22132
|
+
Le as bG,
|
|
22145
22133
|
Ni as bH,
|
|
22146
|
-
|
|
22134
|
+
b_ as bI,
|
|
22147
22135
|
zd as bJ,
|
|
22148
22136
|
li as bK,
|
|
22149
22137
|
Df as bL,
|
|
22150
22138
|
di as bM,
|
|
22151
|
-
|
|
22139
|
+
m_ as bN,
|
|
22152
22140
|
si as bO,
|
|
22153
22141
|
Hf as bP,
|
|
22154
22142
|
vu as bQ,
|
|
22155
22143
|
Gf as bR,
|
|
22156
|
-
|
|
22144
|
+
jE as bS,
|
|
22157
22145
|
ku as bT,
|
|
22158
22146
|
Su as bU,
|
|
22159
22147
|
Cu as bV,
|
|
22160
|
-
|
|
22148
|
+
BE as bW,
|
|
22161
22149
|
Yw as bX,
|
|
22162
22150
|
Xw as bY,
|
|
22163
22151
|
Ft as bZ,
|
|
@@ -22166,58 +22154,58 @@ export {
|
|
|
22166
22154
|
t0 as bb,
|
|
22167
22155
|
mC as bc,
|
|
22168
22156
|
fC as bd,
|
|
22169
|
-
|
|
22157
|
+
U_ as be,
|
|
22170
22158
|
pC as bf,
|
|
22171
22159
|
bC as bg,
|
|
22172
22160
|
gC as bh,
|
|
22173
|
-
|
|
22174
|
-
|
|
22161
|
+
JE as bi,
|
|
22162
|
+
QE as bj,
|
|
22175
22163
|
Ct as bk,
|
|
22176
22164
|
xi as bl,
|
|
22177
|
-
|
|
22165
|
+
H_ as bm,
|
|
22178
22166
|
yl as bn,
|
|
22179
22167
|
Jl as bo,
|
|
22180
22168
|
Uc as bp,
|
|
22181
22169
|
Lt as bq,
|
|
22182
22170
|
mu as br,
|
|
22183
22171
|
Qe as bs,
|
|
22184
|
-
|
|
22172
|
+
et as bt,
|
|
22185
22173
|
Zc as bu,
|
|
22186
22174
|
gu as bv,
|
|
22187
|
-
|
|
22188
|
-
|
|
22175
|
+
PE as bw,
|
|
22176
|
+
l_ as bx,
|
|
22189
22177
|
Jo as by,
|
|
22190
|
-
|
|
22178
|
+
t_ as bz,
|
|
22191
22179
|
ka as c,
|
|
22192
22180
|
Wv as c$,
|
|
22193
22181
|
ct as c0,
|
|
22194
22182
|
Uw as c1,
|
|
22195
22183
|
Qw as c2,
|
|
22196
|
-
|
|
22184
|
+
LE as c3,
|
|
22197
22185
|
Ai as c4,
|
|
22198
22186
|
Xy as c5,
|
|
22199
|
-
|
|
22200
|
-
|
|
22187
|
+
ME as c6,
|
|
22188
|
+
OE as c7,
|
|
22201
22189
|
Ei as c8,
|
|
22202
22190
|
on as c9,
|
|
22203
22191
|
eu as cA,
|
|
22204
22192
|
Ua as cB,
|
|
22205
|
-
|
|
22193
|
+
y_ as cC,
|
|
22206
22194
|
Uf as cD,
|
|
22207
|
-
|
|
22208
|
-
|
|
22209
|
-
|
|
22195
|
+
g_ as cE,
|
|
22196
|
+
KE as cF,
|
|
22197
|
+
k_ as cG,
|
|
22210
22198
|
Jf as cH,
|
|
22211
|
-
|
|
22212
|
-
|
|
22213
|
-
|
|
22214
|
-
|
|
22215
|
-
|
|
22216
|
-
|
|
22217
|
-
|
|
22199
|
+
d_ as cI,
|
|
22200
|
+
p_ as cJ,
|
|
22201
|
+
v_ as cK,
|
|
22202
|
+
u_ as cL,
|
|
22203
|
+
f_ as cM,
|
|
22204
|
+
GE as cN,
|
|
22205
|
+
UE as cO,
|
|
22218
22206
|
Nc as cP,
|
|
22219
22207
|
Fo as cQ,
|
|
22220
|
-
|
|
22208
|
+
HE as cR,
|
|
22221
22209
|
ln as cS,
|
|
22222
22210
|
Ho as cT,
|
|
22223
22211
|
ed as cU,
|
|
@@ -22229,12 +22217,12 @@ export {
|
|
|
22229
22217
|
ba as c_,
|
|
22230
22218
|
Hw as ca,
|
|
22231
22219
|
_i as cb,
|
|
22232
|
-
|
|
22220
|
+
TE as cc,
|
|
22233
22221
|
nd as cd,
|
|
22234
22222
|
Iu as ce,
|
|
22235
|
-
|
|
22223
|
+
h_ as cf,
|
|
22236
22224
|
ou as cg,
|
|
22237
|
-
|
|
22225
|
+
w_ as ch,
|
|
22238
22226
|
nu as ci,
|
|
22239
22227
|
lu as cj,
|
|
22240
22228
|
au as ck,
|
|
@@ -22244,17 +22232,17 @@ export {
|
|
|
22244
22232
|
Fc as co,
|
|
22245
22233
|
Uo as cp,
|
|
22246
22234
|
Vc as cq,
|
|
22247
|
-
|
|
22248
|
-
|
|
22235
|
+
FE as cr,
|
|
22236
|
+
VE as cs,
|
|
22249
22237
|
Qc as ct,
|
|
22250
|
-
|
|
22251
|
-
|
|
22238
|
+
WE as cu,
|
|
22239
|
+
qE as cv,
|
|
22252
22240
|
ra as cw,
|
|
22253
22241
|
Oc as cx,
|
|
22254
22242
|
Dc as cy,
|
|
22255
22243
|
Xa as cz,
|
|
22256
22244
|
aS as d,
|
|
22257
|
-
|
|
22245
|
+
NE as d0,
|
|
22258
22246
|
Gc as d1,
|
|
22259
22247
|
Qk as e,
|
|
22260
22248
|
tS as f,
|
|
@@ -22262,9 +22250,9 @@ export {
|
|
|
22262
22250
|
Gk as h,
|
|
22263
22251
|
Jk as i,
|
|
22264
22252
|
eS as j,
|
|
22265
|
-
|
|
22253
|
+
zE as k,
|
|
22266
22254
|
r1 as l,
|
|
22267
|
-
|
|
22255
|
+
z_ as m,
|
|
22268
22256
|
jl as n,
|
|
22269
22257
|
gl as o,
|
|
22270
22258
|
V1 as p,
|
|
@@ -22276,6 +22264,6 @@ export {
|
|
|
22276
22264
|
z1 as v,
|
|
22277
22265
|
ek as w,
|
|
22278
22266
|
G1 as x,
|
|
22279
|
-
|
|
22280
|
-
|
|
22267
|
+
E_ as y,
|
|
22268
|
+
B_ as z
|
|
22281
22269
|
};
|