@c3labsbr/vuetify-elements 1.2.1 → 1.2.2
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/components/organisms/GenericDataTable.vue.d.ts +1 -0
- package/dist/components/organisms/GenericDataTable.vue.d.ts.map +1 -1
- package/dist/components/templates/GenericTable.vue.d.ts.map +1 -1
- package/dist/vuetify-elements.cjs.js +3 -3
- package/dist/vuetify-elements.css +1 -1
- package/dist/vuetify-elements.es.js +537 -544
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject as ce, reactive as wt, computed as b, watchEffect as
|
|
1
|
+
import { inject as ce, reactive as wt, computed as b, watchEffect as Ke, toRefs as Aa, capitalize as Rt, shallowRef as ee, Fragment as ne, isVNode as Di, Comment as Ai, unref as re, warn as On, getCurrentInstance as Ti, ref as M, provide as be, defineComponent as He, h as Mt, camelize as so, isRef as Bt, createVNode as d, toRef as O, watch as q, onScopeDispose as Te, effectScope as Ta, toRaw as ge, onBeforeUnmount as je, onMounted as zt, onUpdated as Ei, mergeProps as R, Text as _i, readonly as Ea, Transition as Ct, resolveDynamicComponent as Fi, nextTick as we, withDirectives as Ae, TransitionGroup as _a, vShow as Ht, onBeforeMount as uo, resolveDirective as Vt, Teleport as Bi, onDeactivated as Ni, onBeforeUpdate as $i, cloneVNode as Li, createTextVNode as De, mergeModels as nt, useModel as it, createElementBlock as $e, openBlock as le, withCtx as Y, createElementVNode as Re, createBlock as ye, createCommentVNode as Me, toDisplayString as qe, onUnmounted as Oi, renderSlot as Yt, renderList as on, normalizeClass as co, vModelText as Ri, withModifiers as rl, createSlots as fo, useSlots as Mi, normalizeProps as zi, guardReactiveProps as Hi } from "vue";
|
|
2
2
|
import ji from "jspdf";
|
|
3
3
|
import Wi from "jspdf-autotable";
|
|
4
4
|
import Gi from "exceljs";
|
|
@@ -26,7 +26,7 @@ function Zi(e, t) {
|
|
|
26
26
|
return (n) => e.global.t(`vuetify-elements.${n}`);
|
|
27
27
|
}
|
|
28
28
|
const go = "vuetifyElementsI18n";
|
|
29
|
-
function
|
|
29
|
+
function Rn() {
|
|
30
30
|
const e = ce(go);
|
|
31
31
|
if (!e)
|
|
32
32
|
throw new Error(
|
|
@@ -140,7 +140,7 @@ function dt(e, t) {
|
|
|
140
140
|
function Zt(e, t, n) {
|
|
141
141
|
return e == null || !t || typeof t != "string" ? n : e[t] !== void 0 ? e[t] : (t = t.replace(/\[(\w+)\]/g, ".$1"), t = t.replace(/^\./, ""), yo(e, t.split("."), n));
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function Ie(e, t, n) {
|
|
144
144
|
if (t === !0) return e === void 0 ? n : e;
|
|
145
145
|
if (t == null || typeof t == "boolean") return n;
|
|
146
146
|
if (e !== Object(e)) {
|
|
@@ -216,7 +216,7 @@ const sl = Object.freeze({
|
|
|
216
216
|
pagedown: "PageDown",
|
|
217
217
|
shift: "Shift"
|
|
218
218
|
});
|
|
219
|
-
function
|
|
219
|
+
function aa(e, t) {
|
|
220
220
|
return t.every((n) => e.hasOwnProperty(n));
|
|
221
221
|
}
|
|
222
222
|
function bo(e, t) {
|
|
@@ -241,7 +241,7 @@ function ns(e, t) {
|
|
|
241
241
|
const n = {};
|
|
242
242
|
return t.forEach((a) => n[a] = e[a]), n;
|
|
243
243
|
}
|
|
244
|
-
const po = /^on[^a-z]/,
|
|
244
|
+
const po = /^on[^a-z]/, Mn = (e) => po.test(e), as = ["onAfterscriptexecute", "onAnimationcancel", "onAnimationend", "onAnimationiteration", "onAnimationstart", "onAuxclick", "onBeforeinput", "onBeforescriptexecute", "onChange", "onClick", "onCompositionend", "onCompositionstart", "onCompositionupdate", "onContextmenu", "onCopy", "onCut", "onDblclick", "onFocusin", "onFocusout", "onFullscreenchange", "onFullscreenerror", "onGesturechange", "onGestureend", "onGesturestart", "onGotpointercapture", "onInput", "onKeydown", "onKeypress", "onKeyup", "onLostpointercapture", "onMousedown", "onMousemove", "onMouseout", "onMouseover", "onMouseup", "onMousewheel", "onPaste", "onPointercancel", "onPointerdown", "onPointerenter", "onPointerleave", "onPointermove", "onPointerout", "onPointerover", "onPointerup", "onReset", "onSelect", "onSubmit", "onTouchcancel", "onTouchend", "onTouchmove", "onTouchstart", "onTransitioncancel", "onTransitionend", "onTransitionrun", "onTransitionstart", "onWheel"];
|
|
245
245
|
function So(e) {
|
|
246
246
|
const [t, n] = cl(e, [po]), a = It(t, as), [l, o] = cl(n, ["class", "style", "id", /^data-/]);
|
|
247
247
|
return Object.assign(l, t), Object.assign(o, a), [l, o];
|
|
@@ -323,7 +323,7 @@ function Kt(e, t) {
|
|
|
323
323
|
}
|
|
324
324
|
function Ba(e) {
|
|
325
325
|
const t = wt({}), n = b(e);
|
|
326
|
-
return
|
|
326
|
+
return Ke(() => {
|
|
327
327
|
for (const a in n.value)
|
|
328
328
|
t[a] = n.value[a];
|
|
329
329
|
}, {
|
|
@@ -401,7 +401,7 @@ function ss(e, t) {
|
|
|
401
401
|
const n = e.clientX, a = e.clientY, l = t.getBoundingClientRect(), o = l.left, r = l.top, s = l.right, i = l.bottom;
|
|
402
402
|
return n >= o && n <= s && a >= r && a <= i;
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function ga() {
|
|
405
405
|
const e = ee(), t = (n) => {
|
|
406
406
|
e.value = n;
|
|
407
407
|
};
|
|
@@ -419,7 +419,7 @@ function vl(e) {
|
|
|
419
419
|
return t && n;
|
|
420
420
|
}
|
|
421
421
|
const Po = ["top", "bottom"], us = ["start", "end", "left", "right"];
|
|
422
|
-
function
|
|
422
|
+
function ma(e, t) {
|
|
423
423
|
let [n, a] = e.split(" ");
|
|
424
424
|
return a || (a = kn(Po, n) ? "start" : kn(us, n) ? "top" : "center"), {
|
|
425
425
|
side: gl(n, t),
|
|
@@ -429,7 +429,7 @@ function ya(e, t) {
|
|
|
429
429
|
function gl(e, t) {
|
|
430
430
|
return e === "start" ? t ? "right" : "left" : e === "end" ? t ? "left" : "right" : e;
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function la(e) {
|
|
433
433
|
return {
|
|
434
434
|
side: {
|
|
435
435
|
center: "center",
|
|
@@ -441,7 +441,7 @@ function oa(e) {
|
|
|
441
441
|
align: e.align
|
|
442
442
|
};
|
|
443
443
|
}
|
|
444
|
-
function
|
|
444
|
+
function oa(e) {
|
|
445
445
|
return {
|
|
446
446
|
side: e.side,
|
|
447
447
|
align: {
|
|
@@ -546,7 +546,7 @@ function _t(e, t, n) {
|
|
|
546
546
|
const wn = /* @__PURE__ */ new WeakMap();
|
|
547
547
|
function cs(e, t) {
|
|
548
548
|
Object.keys(t).forEach((n) => {
|
|
549
|
-
if (
|
|
549
|
+
if (Mn(n)) {
|
|
550
550
|
const a = Co(n), l = wn.get(e);
|
|
551
551
|
if (t[n] == null)
|
|
552
552
|
l?.forEach((o) => {
|
|
@@ -564,7 +564,7 @@ function cs(e, t) {
|
|
|
564
564
|
}
|
|
565
565
|
function ds(e, t) {
|
|
566
566
|
Object.keys(t).forEach((n) => {
|
|
567
|
-
if (
|
|
567
|
+
if (Mn(n)) {
|
|
568
568
|
const a = Co(n), l = wn.get(e);
|
|
569
569
|
l?.forEach((o) => {
|
|
570
570
|
const [r, s] = o;
|
|
@@ -590,19 +590,19 @@ function Pl(e, t) {
|
|
|
590
590
|
return c * 100;
|
|
591
591
|
}
|
|
592
592
|
function pt(e) {
|
|
593
|
-
|
|
593
|
+
On(`Vuetify: ${e}`);
|
|
594
594
|
}
|
|
595
595
|
function $a(e) {
|
|
596
|
-
|
|
596
|
+
On(`Vuetify error: ${e}`);
|
|
597
597
|
}
|
|
598
598
|
function ps(e, t) {
|
|
599
|
-
t = Array.isArray(t) ? t.slice(0, -1).map((n) => `'${n}'`).join(", ") + ` or '${t.at(-1)}'` : `'${t}'`,
|
|
599
|
+
t = Array.isArray(t) ? t.slice(0, -1).map((n) => `'${n}'`).join(", ") + ` or '${t.at(-1)}'` : `'${t}'`, On(`[Vuetify UPGRADE] '${e}' is deprecated, use ${t} instead.`);
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function ya(e) {
|
|
602
602
|
return !!e && /^(#|var\(--|(rgb|hsl)a?\()/.test(e);
|
|
603
603
|
}
|
|
604
604
|
function Ss(e) {
|
|
605
|
-
return
|
|
605
|
+
return ya(e) && !/^((rgb|hsl)a?\()?var\(--/.test(e);
|
|
606
606
|
}
|
|
607
607
|
const Vl = /^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/, ws = {
|
|
608
608
|
rgb: (e, t, n, a) => ({
|
|
@@ -663,11 +663,11 @@ function qt(e) {
|
|
|
663
663
|
const n = parseInt(t, 16);
|
|
664
664
|
return (isNaN(n) || n < 0 || n > 4294967295) && pt(`'${e}' is not a valid hex(a) color`), Cs(t);
|
|
665
665
|
} else if (typeof e == "object") {
|
|
666
|
-
if (
|
|
666
|
+
if (aa(e, ["r", "g", "b"]))
|
|
667
667
|
return e;
|
|
668
|
-
if (
|
|
668
|
+
if (aa(e, ["h", "s", "l"]))
|
|
669
669
|
return Jt(Io(e));
|
|
670
|
-
if (
|
|
670
|
+
if (aa(e, ["h", "s", "v"]))
|
|
671
671
|
return Jt(e);
|
|
672
672
|
}
|
|
673
673
|
throw new TypeError(`Invalid color: ${e == null ? e : String(e) || e.constructor.name}
|
|
@@ -814,7 +814,7 @@ function Is() {
|
|
|
814
814
|
return u === "class" || u === "style" ? [l.value?.[u], c].filter((v) => v != null) : typeof u == "string" && !Vs(a.vnode, u) ? l.value?.[u] !== void 0 ? l.value?.[u] : n.value?.global?.[u] !== void 0 ? n.value?.global?.[u] : c : c;
|
|
815
815
|
}
|
|
816
816
|
}), r = ee();
|
|
817
|
-
|
|
817
|
+
Ke(() => {
|
|
818
818
|
if (l.value) {
|
|
819
819
|
const i = Object.entries(l.value).filter((u) => {
|
|
820
820
|
let [c] = u;
|
|
@@ -855,7 +855,7 @@ function rn(e) {
|
|
|
855
855
|
}
|
|
856
856
|
function z() {
|
|
857
857
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
858
|
-
return (t) => (e ? rn :
|
|
858
|
+
return (t) => (e ? rn : He)(t);
|
|
859
859
|
}
|
|
860
860
|
function Ds(e, t) {
|
|
861
861
|
return t.props = e, t;
|
|
@@ -894,7 +894,7 @@ function Ao(e) {
|
|
|
894
894
|
}
|
|
895
895
|
const In = "cubic-bezier(0.4, 0, 0.2, 1)", As = "cubic-bezier(0.0, 0, 0.2, 1)", Ts = "cubic-bezier(0.4, 0, 1, 1)";
|
|
896
896
|
function Dl(e, t, n) {
|
|
897
|
-
return Object.keys(e).filter((a) =>
|
|
897
|
+
return Object.keys(e).filter((a) => Mn(a) && a.endsWith(t)).reduce((a, l) => (a[l.slice(0, -t.length)] = (o) => e[l](o, n(o)), a), {});
|
|
898
898
|
}
|
|
899
899
|
function To(e) {
|
|
900
900
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
@@ -950,7 +950,7 @@ function Dt(e) {
|
|
|
950
950
|
})
|
|
951
951
|
};
|
|
952
952
|
}
|
|
953
|
-
const Fs = [null, "default", "comfortable", "compact"],
|
|
953
|
+
const Fs = [null, "default", "comfortable", "compact"], Le = A({
|
|
954
954
|
density: {
|
|
955
955
|
type: String,
|
|
956
956
|
default: "default",
|
|
@@ -982,7 +982,7 @@ function jt(e) {
|
|
|
982
982
|
})
|
|
983
983
|
};
|
|
984
984
|
}
|
|
985
|
-
const
|
|
985
|
+
const We = A({
|
|
986
986
|
rounded: {
|
|
987
987
|
type: [Boolean, Number, String],
|
|
988
988
|
default: void 0
|
|
@@ -1009,7 +1009,7 @@ const ve = A({
|
|
|
1009
1009
|
type: String,
|
|
1010
1010
|
default: "div"
|
|
1011
1011
|
}
|
|
1012
|
-
}, "tag"), Al = Symbol.for("vuetify:theme"),
|
|
1012
|
+
}, "tag"), Al = Symbol.for("vuetify:theme"), me = A({
|
|
1013
1013
|
theme: String
|
|
1014
1014
|
}, "theme");
|
|
1015
1015
|
function Ce(e) {
|
|
@@ -1028,7 +1028,7 @@ function Ma(e) {
|
|
|
1028
1028
|
return Ba(() => {
|
|
1029
1029
|
const t = [], n = {};
|
|
1030
1030
|
if (e.value.background)
|
|
1031
|
-
if (
|
|
1031
|
+
if (ya(e.value.background)) {
|
|
1032
1032
|
if (n.backgroundColor = e.value.background, !e.value.text && Ss(e.value.background)) {
|
|
1033
1033
|
const a = qt(e.value.background);
|
|
1034
1034
|
if (a.a == null || a.a === 1) {
|
|
@@ -1038,7 +1038,7 @@ function Ma(e) {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
} else
|
|
1040
1040
|
t.push(`bg-${e.value.background}`);
|
|
1041
|
-
return e.value.text && (
|
|
1041
|
+
return e.value.text && (ya(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), {
|
|
1042
1042
|
colorClasses: t,
|
|
1043
1043
|
colorStyles: n
|
|
1044
1044
|
};
|
|
@@ -1116,11 +1116,11 @@ const Eo = A({
|
|
|
1116
1116
|
divided: Boolean,
|
|
1117
1117
|
...ft(),
|
|
1118
1118
|
...te(),
|
|
1119
|
-
...
|
|
1119
|
+
...Le(),
|
|
1120
1120
|
...At(),
|
|
1121
|
-
...
|
|
1121
|
+
...We(),
|
|
1122
1122
|
...ve(),
|
|
1123
|
-
...
|
|
1123
|
+
...me(),
|
|
1124
1124
|
...ot()
|
|
1125
1125
|
}, "VBtnGroup"), Tl = z()({
|
|
1126
1126
|
name: "VBtnGroup",
|
|
@@ -1186,7 +1186,7 @@ function se(e, t, n) {
|
|
|
1186
1186
|
return a(u.value ? v : r.value);
|
|
1187
1187
|
},
|
|
1188
1188
|
set(v) {
|
|
1189
|
-
const f = l(v), h =
|
|
1189
|
+
const f = l(v), h = ge(u.value ? e[t] : r.value);
|
|
1190
1190
|
h === f || a(h) === v || (r.value = f, o?.emit(`update:${t}`, f));
|
|
1191
1191
|
}
|
|
1192
1192
|
});
|
|
@@ -1226,7 +1226,7 @@ function Fo(e, t) {
|
|
|
1226
1226
|
id: l,
|
|
1227
1227
|
value: r,
|
|
1228
1228
|
disabled: s
|
|
1229
|
-
}, a),
|
|
1229
|
+
}, a), je(() => {
|
|
1230
1230
|
o.unregister(l);
|
|
1231
1231
|
});
|
|
1232
1232
|
const i = b(() => o.isSelected(l)), u = b(() => o.items.value[0].id === l), c = b(() => o.items.value[o.items.value.length - 1].id === l), v = b(() => i.value && [o.selectedClass.value, e.selectedClass]);
|
|
@@ -1271,7 +1271,7 @@ function Ha(e, t) {
|
|
|
1271
1271
|
}
|
|
1272
1272
|
zt(() => {
|
|
1273
1273
|
i();
|
|
1274
|
-
}),
|
|
1274
|
+
}), je(() => {
|
|
1275
1275
|
n = !0;
|
|
1276
1276
|
}), Ei(() => {
|
|
1277
1277
|
for (let f = 0; f < a.length; f++)
|
|
@@ -1409,9 +1409,9 @@ const Os = A({
|
|
|
1409
1409
|
disabled: l
|
|
1410
1410
|
}), () => n.default?.();
|
|
1411
1411
|
}
|
|
1412
|
-
}),
|
|
1412
|
+
}), X = [String, Function, Object, Array], Rs = Symbol.for("vuetify:icons"), zn = A({
|
|
1413
1413
|
icon: {
|
|
1414
|
-
type:
|
|
1414
|
+
type: X
|
|
1415
1415
|
},
|
|
1416
1416
|
// Could not remove this and use makeTagProps, types complained because it is not required
|
|
1417
1417
|
tag: {
|
|
@@ -1420,7 +1420,7 @@ const Os = A({
|
|
|
1420
1420
|
}
|
|
1421
1421
|
}, "icon"), El = z()({
|
|
1422
1422
|
name: "VComponentIcon",
|
|
1423
|
-
props:
|
|
1423
|
+
props: zn(),
|
|
1424
1424
|
setup(e, t) {
|
|
1425
1425
|
let {
|
|
1426
1426
|
slots: n
|
|
@@ -1435,7 +1435,7 @@ const Os = A({
|
|
|
1435
1435
|
}), Ms = rn({
|
|
1436
1436
|
name: "VSvgIcon",
|
|
1437
1437
|
inheritAttrs: !1,
|
|
1438
|
-
props:
|
|
1438
|
+
props: zn(),
|
|
1439
1439
|
setup(e, t) {
|
|
1440
1440
|
let {
|
|
1441
1441
|
attrs: n
|
|
@@ -1462,7 +1462,7 @@ const Os = A({
|
|
|
1462
1462
|
});
|
|
1463
1463
|
rn({
|
|
1464
1464
|
name: "VLigatureIcon",
|
|
1465
|
-
props:
|
|
1465
|
+
props: zn(),
|
|
1466
1466
|
setup(e) {
|
|
1467
1467
|
return () => d(e.tag, null, {
|
|
1468
1468
|
default: () => [e.icon]
|
|
@@ -1471,7 +1471,7 @@ rn({
|
|
|
1471
1471
|
});
|
|
1472
1472
|
rn({
|
|
1473
1473
|
name: "VClassIcon",
|
|
1474
|
-
props:
|
|
1474
|
+
props: zn(),
|
|
1475
1475
|
setup(e) {
|
|
1476
1476
|
return () => d(e.tag, {
|
|
1477
1477
|
class: e.icon
|
|
@@ -1529,13 +1529,13 @@ const js = A({
|
|
|
1529
1529
|
disabled: Boolean,
|
|
1530
1530
|
start: Boolean,
|
|
1531
1531
|
end: Boolean,
|
|
1532
|
-
icon:
|
|
1532
|
+
icon: X,
|
|
1533
1533
|
...te(),
|
|
1534
1534
|
...Wt(),
|
|
1535
1535
|
...ve({
|
|
1536
1536
|
tag: "i"
|
|
1537
1537
|
}),
|
|
1538
|
-
...
|
|
1538
|
+
...me()
|
|
1539
1539
|
}, "VIcon"), ie = z()({
|
|
1540
1540
|
name: "VIcon",
|
|
1541
1541
|
props: js(),
|
|
@@ -1587,7 +1587,7 @@ function $o(e, t) {
|
|
|
1587
1587
|
const l = new IntersectionObserver((o) => {
|
|
1588
1588
|
a.value = !!o.find((r) => r.isIntersecting);
|
|
1589
1589
|
}, t);
|
|
1590
|
-
|
|
1590
|
+
je(() => {
|
|
1591
1591
|
l.disconnect();
|
|
1592
1592
|
}), q(n, (o, r) => {
|
|
1593
1593
|
r && (l.unobserve(r), a.value = !1), o && l.observe(o);
|
|
@@ -1602,12 +1602,12 @@ function $o(e, t) {
|
|
|
1602
1602
|
}
|
|
1603
1603
|
function Nt(e) {
|
|
1604
1604
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content";
|
|
1605
|
-
const n =
|
|
1605
|
+
const n = ga(), a = M();
|
|
1606
1606
|
if (de) {
|
|
1607
1607
|
const l = new ResizeObserver((o) => {
|
|
1608
1608
|
e?.(o, l), o.length && (t === "content" ? a.value = o[0].contentRect : a.value = o[0].target.getBoundingClientRect());
|
|
1609
1609
|
});
|
|
1610
|
-
|
|
1610
|
+
je(() => {
|
|
1611
1611
|
l.disconnect();
|
|
1612
1612
|
}), q(() => n.el, (o, r) => {
|
|
1613
1613
|
r && (l.unobserve(r), a.value = void 0), o && l.observe(o);
|
|
@@ -1641,7 +1641,7 @@ const Ws = A({
|
|
|
1641
1641
|
...ve({
|
|
1642
1642
|
tag: "div"
|
|
1643
1643
|
}),
|
|
1644
|
-
...
|
|
1644
|
+
...me()
|
|
1645
1645
|
}, "VProgressCircular"), Gs = z()({
|
|
1646
1646
|
name: "VProgressCircular",
|
|
1647
1647
|
props: Ws(),
|
|
@@ -1667,7 +1667,7 @@ const Ws = A({
|
|
|
1667
1667
|
resizeRef: y,
|
|
1668
1668
|
contentRect: m
|
|
1669
1669
|
} = Nt(), p = b(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), w = b(() => Number(e.width)), x = b(() => i.value ? Number(e.size) : m.value ? m.value.width : Math.max(w.value, 32)), D = b(() => a / (1 - w.value / x.value) * 2), F = b(() => w.value / x.value * D.value), B = b(() => W((100 - p.value) / 100 * l));
|
|
1670
|
-
return
|
|
1670
|
+
return Ke(() => {
|
|
1671
1671
|
h.value = o.value, y.value = o.value;
|
|
1672
1672
|
}), U(() => d(e.tag, {
|
|
1673
1673
|
ref: o,
|
|
@@ -1764,7 +1764,7 @@ function Wa(e) {
|
|
|
1764
1764
|
const {
|
|
1765
1765
|
side: o,
|
|
1766
1766
|
align: r
|
|
1767
|
-
} =
|
|
1767
|
+
} = ma(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, a.value);
|
|
1768
1768
|
function s(u) {
|
|
1769
1769
|
return n ? n(u) : 0;
|
|
1770
1770
|
}
|
|
@@ -1822,9 +1822,9 @@ const Us = A({
|
|
|
1822
1822
|
...ja({
|
|
1823
1823
|
location: "top"
|
|
1824
1824
|
}),
|
|
1825
|
-
...
|
|
1825
|
+
...We(),
|
|
1826
1826
|
...ve(),
|
|
1827
|
-
...
|
|
1827
|
+
...me()
|
|
1828
1828
|
}, "VProgressLinear"), Ks = z()({
|
|
1829
1829
|
name: "VProgressLinear",
|
|
1830
1830
|
props: Us(),
|
|
@@ -1940,10 +1940,10 @@ const Us = A({
|
|
|
1940
1940
|
})])]
|
|
1941
1941
|
})), {};
|
|
1942
1942
|
}
|
|
1943
|
-
}),
|
|
1943
|
+
}), Hn = A({
|
|
1944
1944
|
loading: [Boolean, String]
|
|
1945
1945
|
}, "loader");
|
|
1946
|
-
function
|
|
1946
|
+
function jn(e) {
|
|
1947
1947
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ye();
|
|
1948
1948
|
return {
|
|
1949
1949
|
loaderClasses: b(() => ({
|
|
@@ -1990,7 +1990,7 @@ function Xs() {
|
|
|
1990
1990
|
function Ys() {
|
|
1991
1991
|
return fe("useRouter")?.proxy?.$router;
|
|
1992
1992
|
}
|
|
1993
|
-
function
|
|
1993
|
+
function Wn(e, t) {
|
|
1994
1994
|
const n = Fi("RouterLink"), a = b(() => !!(e.href || e.to)), l = b(() => a?.value || fl(t, "click") || fl(e, "click"));
|
|
1995
1995
|
if (typeof n == "string" || !("useLink" in n)) {
|
|
1996
1996
|
const v = O(e, "href");
|
|
@@ -2020,20 +2020,20 @@ function Gn(e, t) {
|
|
|
2020
2020
|
})
|
|
2021
2021
|
};
|
|
2022
2022
|
}
|
|
2023
|
-
const
|
|
2023
|
+
const Gn = A({
|
|
2024
2024
|
href: String,
|
|
2025
2025
|
replace: Boolean,
|
|
2026
2026
|
to: [String, Object],
|
|
2027
2027
|
exact: Boolean
|
|
2028
2028
|
}, "router");
|
|
2029
|
-
let
|
|
2029
|
+
let ra = !1;
|
|
2030
2030
|
function Zs(e, t) {
|
|
2031
2031
|
let n = !1, a, l;
|
|
2032
2032
|
de && (we(() => {
|
|
2033
2033
|
window.addEventListener("popstate", o), a = e?.beforeEach((r, s, i) => {
|
|
2034
|
-
|
|
2034
|
+
ra ? n ? t(i) : i() : setTimeout(() => n ? t(i) : i()), ra = !0;
|
|
2035
2035
|
}), l = e?.afterEach(() => {
|
|
2036
|
-
|
|
2036
|
+
ra = !1;
|
|
2037
2037
|
});
|
|
2038
2038
|
}), Te(() => {
|
|
2039
2039
|
window.removeEventListener("popstate", o), a?.(), l?.();
|
|
@@ -2051,11 +2051,11 @@ function Qs(e, t) {
|
|
|
2051
2051
|
immediate: !0
|
|
2052
2052
|
});
|
|
2053
2053
|
}
|
|
2054
|
-
const
|
|
2054
|
+
const ha = Symbol("rippleStop"), Js = 80;
|
|
2055
2055
|
function Fl(e, t) {
|
|
2056
2056
|
e.style.transform = t, e.style.webkitTransform = t;
|
|
2057
2057
|
}
|
|
2058
|
-
function
|
|
2058
|
+
function ba(e) {
|
|
2059
2059
|
return e.constructor.name === "TouchEvent";
|
|
2060
2060
|
}
|
|
2061
2061
|
function Mo(e) {
|
|
@@ -2064,7 +2064,7 @@ function Mo(e) {
|
|
|
2064
2064
|
const eu = function(e, t) {
|
|
2065
2065
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = 0, l = 0;
|
|
2066
2066
|
if (!Mo(e)) {
|
|
2067
|
-
const v = t.getBoundingClientRect(), f =
|
|
2067
|
+
const v = t.getBoundingClientRect(), f = ba(e) ? e.touches[e.touches.length - 1] : e;
|
|
2068
2068
|
a = f.clientX - v.left, l = f.clientY - v.top;
|
|
2069
2069
|
}
|
|
2070
2070
|
let o = 0, r = 0.3;
|
|
@@ -2120,11 +2120,11 @@ function zo(e) {
|
|
|
2120
2120
|
}
|
|
2121
2121
|
function en(e) {
|
|
2122
2122
|
const t = {}, n = e.currentTarget;
|
|
2123
|
-
if (!(!n?._ripple || n._ripple.touched || e[
|
|
2124
|
-
if (e[
|
|
2123
|
+
if (!(!n?._ripple || n._ripple.touched || e[ha])) {
|
|
2124
|
+
if (e[ha] = !0, ba(e))
|
|
2125
2125
|
n._ripple.touched = !0, n._ripple.isTouch = !0;
|
|
2126
2126
|
else if (n._ripple.isTouch) return;
|
|
2127
|
-
if (t.center = n._ripple.centered || Mo(e), n._ripple.class && (t.class = n._ripple.class),
|
|
2127
|
+
if (t.center = n._ripple.centered || Mo(e), n._ripple.class && (t.class = n._ripple.class), ba(e)) {
|
|
2128
2128
|
if (n._ripple.showTimerCommit) return;
|
|
2129
2129
|
n._ripple.showTimerCommit = () => {
|
|
2130
2130
|
An.show(e, n, t);
|
|
@@ -2136,7 +2136,7 @@ function en(e) {
|
|
|
2136
2136
|
}
|
|
2137
2137
|
}
|
|
2138
2138
|
function Bl(e) {
|
|
2139
|
-
e[
|
|
2139
|
+
e[ha] = !0;
|
|
2140
2140
|
}
|
|
2141
2141
|
function _e(e) {
|
|
2142
2142
|
const t = e.currentTarget;
|
|
@@ -2221,8 +2221,8 @@ const dn = {
|
|
|
2221
2221
|
},
|
|
2222
2222
|
flat: Boolean,
|
|
2223
2223
|
icon: [Boolean, String, Function, Object],
|
|
2224
|
-
prependIcon:
|
|
2225
|
-
appendIcon:
|
|
2224
|
+
prependIcon: X,
|
|
2225
|
+
appendIcon: X,
|
|
2226
2226
|
block: Boolean,
|
|
2227
2227
|
readonly: Boolean,
|
|
2228
2228
|
slim: Boolean,
|
|
@@ -2234,24 +2234,24 @@ const dn = {
|
|
|
2234
2234
|
text: String,
|
|
2235
2235
|
...ft(),
|
|
2236
2236
|
...te(),
|
|
2237
|
-
...
|
|
2237
|
+
...Le(),
|
|
2238
2238
|
...vt(),
|
|
2239
2239
|
...At(),
|
|
2240
2240
|
..._o(),
|
|
2241
|
-
...
|
|
2241
|
+
...Hn(),
|
|
2242
2242
|
...ja(),
|
|
2243
2243
|
...Oo(),
|
|
2244
|
-
...
|
|
2245
|
-
...
|
|
2244
|
+
...We(),
|
|
2245
|
+
...Gn(),
|
|
2246
2246
|
...Wt(),
|
|
2247
2247
|
...ve({
|
|
2248
2248
|
tag: "button"
|
|
2249
2249
|
}),
|
|
2250
|
-
...
|
|
2250
|
+
...me(),
|
|
2251
2251
|
...ot({
|
|
2252
2252
|
variant: "elevated"
|
|
2253
2253
|
})
|
|
2254
|
-
}, "VBtn"),
|
|
2254
|
+
}, "VBtn"), Ne = z()({
|
|
2255
2255
|
name: "VBtn",
|
|
2256
2256
|
props: lu(),
|
|
2257
2257
|
emits: {
|
|
@@ -2274,7 +2274,7 @@ const dn = {
|
|
|
2274
2274
|
elevationClasses: i
|
|
2275
2275
|
} = jt(e), {
|
|
2276
2276
|
loaderClasses: u
|
|
2277
|
-
} =
|
|
2277
|
+
} = jn(e), {
|
|
2278
2278
|
locationStyles: c
|
|
2279
2279
|
} = Wa(e), {
|
|
2280
2280
|
positionClasses: v
|
|
@@ -2283,7 +2283,7 @@ const dn = {
|
|
|
2283
2283
|
} = Je(e), {
|
|
2284
2284
|
sizeClasses: h,
|
|
2285
2285
|
sizeStyles: g
|
|
2286
|
-
} = cn(e), y = Fo(e, e.symbol, !1), m =
|
|
2286
|
+
} = cn(e), y = Fo(e, e.symbol, !1), m = Wn(e, n), p = b(() => e.active !== void 0 ? e.active : m.isLink.value ? m.isActive?.value : y?.isSelected.value), w = b(() => p.value ? e.activeColor ?? e.color : e.color), x = b(() => ({
|
|
2287
2287
|
color: y?.isSelected.value && (!m.isLink.value || m.isActive?.value) || !y || m.isActive?.value ? w.value ?? e.baseColor : e.baseColor,
|
|
2288
2288
|
variant: e.variant
|
|
2289
2289
|
})), {
|
|
@@ -2387,7 +2387,7 @@ const dn = {
|
|
|
2387
2387
|
thickness: [Number, String],
|
|
2388
2388
|
vertical: Boolean,
|
|
2389
2389
|
...te(),
|
|
2390
|
-
...
|
|
2390
|
+
...me()
|
|
2391
2391
|
}, "VDivider"), Ua = z()({
|
|
2392
2392
|
name: "VDivider",
|
|
2393
2393
|
props: ou(),
|
|
@@ -2428,7 +2428,7 @@ const dn = {
|
|
|
2428
2428
|
}, [a.default()]), i]) : i;
|
|
2429
2429
|
}), {};
|
|
2430
2430
|
}
|
|
2431
|
-
}),
|
|
2431
|
+
}), Un = ["sm", "md", "lg", "xl", "xxl"], ru = Symbol.for("vuetify:display"), Kn = A({
|
|
2432
2432
|
mobile: {
|
|
2433
2433
|
type: Boolean,
|
|
2434
2434
|
default: !1
|
|
@@ -2453,16 +2453,16 @@ function Tt() {
|
|
|
2453
2453
|
mobile: a
|
|
2454
2454
|
};
|
|
2455
2455
|
}
|
|
2456
|
-
const qo =
|
|
2456
|
+
const qo = Un.reduce((e, t) => (e[t] = {
|
|
2457
2457
|
type: [Boolean, String, Number],
|
|
2458
2458
|
default: !1
|
|
2459
|
-
}, e), {}), Xo =
|
|
2459
|
+
}, e), {}), Xo = Un.reduce((e, t) => {
|
|
2460
2460
|
const n = "offset" + Rt(t);
|
|
2461
2461
|
return e[n] = {
|
|
2462
2462
|
type: [String, Number],
|
|
2463
2463
|
default: null
|
|
2464
2464
|
}, e;
|
|
2465
|
-
}, {}), Yo =
|
|
2465
|
+
}, {}), Yo = Un.reduce((e, t) => {
|
|
2466
2466
|
const n = "order" + Rt(t);
|
|
2467
2467
|
return e[n] = {
|
|
2468
2468
|
type: [String, Number],
|
|
@@ -2538,7 +2538,7 @@ const su = ["auto", "start", "end", "center", "baseline", "stretch"], uu = A({
|
|
|
2538
2538
|
}
|
|
2539
2539
|
}), Ka = ["start", "end", "center"], Zo = ["space-between", "space-around", "space-evenly"];
|
|
2540
2540
|
function qa(e, t) {
|
|
2541
|
-
return
|
|
2541
|
+
return Un.reduce((n, a) => {
|
|
2542
2542
|
const l = e + Rt(a);
|
|
2543
2543
|
return n[l] = t(), n;
|
|
2544
2544
|
}, {});
|
|
@@ -2633,7 +2633,7 @@ const mu = A({
|
|
|
2633
2633
|
mode: String,
|
|
2634
2634
|
origin: String
|
|
2635
2635
|
}, "transition");
|
|
2636
|
-
function
|
|
2636
|
+
function Be(e, t, n) {
|
|
2637
2637
|
return z()({
|
|
2638
2638
|
name: e,
|
|
2639
2639
|
props: hu({
|
|
@@ -2863,22 +2863,22 @@ function Ol(e, t) {
|
|
|
2863
2863
|
speed: m
|
|
2864
2864
|
};
|
|
2865
2865
|
}
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
const Rl =
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
const rr =
|
|
2878
|
-
|
|
2879
|
-
const pu = lr("expand-transition", or()), ir = lr("expand-x-transition", or("", !0)),
|
|
2866
|
+
Be("fab-transition", "center center", "out-in");
|
|
2867
|
+
Be("dialog-bottom-transition");
|
|
2868
|
+
Be("dialog-top-transition");
|
|
2869
|
+
const Rl = Be("fade-transition");
|
|
2870
|
+
Be("scale-transition");
|
|
2871
|
+
Be("scroll-x-transition");
|
|
2872
|
+
Be("scroll-x-reverse-transition");
|
|
2873
|
+
Be("scroll-y-transition");
|
|
2874
|
+
Be("scroll-y-reverse-transition");
|
|
2875
|
+
Be("slide-x-transition");
|
|
2876
|
+
Be("slide-x-reverse-transition");
|
|
2877
|
+
const rr = Be("slide-y-transition");
|
|
2878
|
+
Be("slide-y-reverse-transition");
|
|
2879
|
+
const pu = lr("expand-transition", or()), ir = lr("expand-x-transition", or("", !0)), pa = Symbol.for("vuetify:list");
|
|
2880
2880
|
function sr() {
|
|
2881
|
-
const e = ce(
|
|
2881
|
+
const e = ce(pa, {
|
|
2882
2882
|
hasPrepend: ee(!1),
|
|
2883
2883
|
updateHasPrepend: () => null
|
|
2884
2884
|
}), t = {
|
|
@@ -2887,10 +2887,10 @@ function sr() {
|
|
|
2887
2887
|
n && (t.hasPrepend.value = n);
|
|
2888
2888
|
}
|
|
2889
2889
|
};
|
|
2890
|
-
return be(
|
|
2890
|
+
return be(pa, t), e;
|
|
2891
2891
|
}
|
|
2892
2892
|
function ur() {
|
|
2893
|
-
return ce(
|
|
2893
|
+
return ce(pa, null);
|
|
2894
2894
|
}
|
|
2895
2895
|
const Ya = (e) => {
|
|
2896
2896
|
const t = {
|
|
@@ -2900,7 +2900,7 @@ const Ya = (e) => {
|
|
|
2900
2900
|
value: l,
|
|
2901
2901
|
activated: o
|
|
2902
2902
|
} = n;
|
|
2903
|
-
return a =
|
|
2903
|
+
return a = ge(a), e && !l && o.size === 1 && o.has(a) || (l ? o.add(a) : o.delete(a)), o;
|
|
2904
2904
|
},
|
|
2905
2905
|
in: (n, a, l) => {
|
|
2906
2906
|
let o = /* @__PURE__ */ new Set();
|
|
@@ -2927,7 +2927,7 @@ const Ya = (e) => {
|
|
|
2927
2927
|
id: o,
|
|
2928
2928
|
...r
|
|
2929
2929
|
} = a;
|
|
2930
|
-
o =
|
|
2930
|
+
o = ge(o);
|
|
2931
2931
|
const s = l.has(o) ? /* @__PURE__ */ new Set([o]) : /* @__PURE__ */ new Set();
|
|
2932
2932
|
return t.activate({
|
|
2933
2933
|
...r,
|
|
@@ -2955,7 +2955,7 @@ const Ya = (e) => {
|
|
|
2955
2955
|
children: r,
|
|
2956
2956
|
...s
|
|
2957
2957
|
} = a;
|
|
2958
|
-
return l =
|
|
2958
|
+
return l = ge(l), r.has(l) ? o : t.activate({
|
|
2959
2959
|
id: l,
|
|
2960
2960
|
activated: o,
|
|
2961
2961
|
children: r,
|
|
@@ -2975,7 +2975,7 @@ const Ya = (e) => {
|
|
|
2975
2975
|
children: r,
|
|
2976
2976
|
...s
|
|
2977
2977
|
} = a;
|
|
2978
|
-
return l =
|
|
2978
|
+
return l = ge(l), r.has(l) ? o : t.activate({
|
|
2979
2979
|
id: l,
|
|
2980
2980
|
activated: o,
|
|
2981
2981
|
children: r,
|
|
@@ -3046,7 +3046,7 @@ const Ya = (e) => {
|
|
|
3046
3046
|
value: l,
|
|
3047
3047
|
selected: o
|
|
3048
3048
|
} = n;
|
|
3049
|
-
if (a =
|
|
3049
|
+
if (a = ge(a), e && !l) {
|
|
3050
3050
|
const r = Array.from(o.entries()).reduce((s, i) => {
|
|
3051
3051
|
let [u, c] = i;
|
|
3052
3052
|
return c === "on" && s.push(u), s;
|
|
@@ -3084,7 +3084,7 @@ const Ya = (e) => {
|
|
|
3084
3084
|
id: o,
|
|
3085
3085
|
...r
|
|
3086
3086
|
} = a;
|
|
3087
|
-
o =
|
|
3087
|
+
o = ge(o);
|
|
3088
3088
|
const s = l.has(o) ? /* @__PURE__ */ new Map([[o, l.get(o)]]) : /* @__PURE__ */ new Map();
|
|
3089
3089
|
return t.select({
|
|
3090
3090
|
...r,
|
|
@@ -3108,7 +3108,7 @@ const Ya = (e) => {
|
|
|
3108
3108
|
children: r,
|
|
3109
3109
|
...s
|
|
3110
3110
|
} = a;
|
|
3111
|
-
return l =
|
|
3111
|
+
return l = ge(l), r.has(l) ? o : t.select({
|
|
3112
3112
|
id: l,
|
|
3113
3113
|
selected: o,
|
|
3114
3114
|
children: r,
|
|
@@ -3128,7 +3128,7 @@ const Ya = (e) => {
|
|
|
3128
3128
|
children: r,
|
|
3129
3129
|
...s
|
|
3130
3130
|
} = a;
|
|
3131
|
-
return l =
|
|
3131
|
+
return l = ge(l), r.has(l) ? o : t.select({
|
|
3132
3132
|
id: l,
|
|
3133
3133
|
selected: o,
|
|
3134
3134
|
children: r,
|
|
@@ -3148,16 +3148,16 @@ const Ya = (e) => {
|
|
|
3148
3148
|
children: r,
|
|
3149
3149
|
parents: s
|
|
3150
3150
|
} = n;
|
|
3151
|
-
a =
|
|
3151
|
+
a = ge(a);
|
|
3152
3152
|
const i = new Map(o), u = [a];
|
|
3153
3153
|
for (; u.length; ) {
|
|
3154
3154
|
const v = u.shift();
|
|
3155
|
-
o.set(
|
|
3155
|
+
o.set(ge(v), l ? "on" : "off"), r.has(v) && u.push(...r.get(v));
|
|
3156
3156
|
}
|
|
3157
|
-
let c =
|
|
3157
|
+
let c = ge(s.get(a));
|
|
3158
3158
|
for (; c; ) {
|
|
3159
|
-
const v = r.get(c), f = v.every((g) => o.get(
|
|
3160
|
-
o.set(c, f ? "on" : h ? "off" : "indeterminate"), c =
|
|
3159
|
+
const v = r.get(c), f = v.every((g) => o.get(ge(g)) === "on"), h = v.every((g) => !o.has(ge(g)) || o.get(ge(g)) === "off");
|
|
3160
|
+
o.set(c, f ? "on" : h ? "off" : "indeterminate"), c = ge(s.get(c));
|
|
3161
3161
|
}
|
|
3162
3162
|
return e && !l && Array.from(o.entries()).reduce((f, h) => {
|
|
3163
3163
|
let [g, y] = h;
|
|
@@ -3257,7 +3257,7 @@ const Ya = (e) => {
|
|
|
3257
3257
|
return dr;
|
|
3258
3258
|
}
|
|
3259
3259
|
}), i = se(e, "activated", e.activated, (g) => o.value.in(g, n.value, a.value), (g) => o.value.out(g, n.value, a.value)), u = se(e, "selected", e.selected, (g) => r.value.in(g, n.value, a.value), (g) => r.value.out(g, n.value, a.value));
|
|
3260
|
-
|
|
3260
|
+
je(() => {
|
|
3261
3261
|
t = !0;
|
|
3262
3262
|
});
|
|
3263
3263
|
function c(g) {
|
|
@@ -3382,14 +3382,14 @@ const Ya = (e) => {
|
|
|
3382
3382
|
isOpen: b(() => n.root.opened.value.has(l.value)),
|
|
3383
3383
|
parent: b(() => n.root.parents.value.get(l.value)),
|
|
3384
3384
|
activate: (r, s) => n.root.activate(l.value, r, s),
|
|
3385
|
-
isActivated: b(() => n.root.activated.value.has(
|
|
3385
|
+
isActivated: b(() => n.root.activated.value.has(ge(l.value))),
|
|
3386
3386
|
select: (r, s) => n.root.select(l.value, r, s),
|
|
3387
|
-
isSelected: b(() => n.root.selected.value.get(
|
|
3387
|
+
isSelected: b(() => n.root.selected.value.get(ge(l.value)) === "on"),
|
|
3388
3388
|
isIndeterminate: b(() => n.root.selected.value.get(l.value) === "indeterminate"),
|
|
3389
3389
|
isLeaf: b(() => !n.root.children.value.get(l.value)),
|
|
3390
3390
|
isGroupActivator: n.isGroupActivator
|
|
3391
3391
|
};
|
|
3392
|
-
return !n.isGroupActivator && n.root.register(l.value, n.id.value, t),
|
|
3392
|
+
return !n.isGroupActivator && n.root.register(l.value, n.id.value, t), je(() => {
|
|
3393
3393
|
!n.isGroupActivator && n.root.unregister(l.value);
|
|
3394
3394
|
}), t && be(nn, o), o;
|
|
3395
3395
|
}, Au = () => {
|
|
@@ -3454,15 +3454,15 @@ const fn = A({
|
|
|
3454
3454
|
baseColor: String,
|
|
3455
3455
|
color: String,
|
|
3456
3456
|
collapseIcon: {
|
|
3457
|
-
type:
|
|
3457
|
+
type: X,
|
|
3458
3458
|
default: "$collapse"
|
|
3459
3459
|
},
|
|
3460
3460
|
expandIcon: {
|
|
3461
|
-
type:
|
|
3461
|
+
type: X,
|
|
3462
3462
|
default: "$expand"
|
|
3463
3463
|
},
|
|
3464
|
-
prependIcon:
|
|
3465
|
-
appendIcon:
|
|
3464
|
+
prependIcon: X,
|
|
3465
|
+
appendIcon: X,
|
|
3466
3466
|
fluid: Boolean,
|
|
3467
3467
|
subgroup: Boolean,
|
|
3468
3468
|
title: String,
|
|
@@ -3554,7 +3554,7 @@ const fn = A({
|
|
|
3554
3554
|
}, e.style]
|
|
3555
3555
|
}, n)), {};
|
|
3556
3556
|
}
|
|
3557
|
-
}),
|
|
3557
|
+
}), Sa = Oa("v-list-item-title");
|
|
3558
3558
|
function Nu(e) {
|
|
3559
3559
|
return {
|
|
3560
3560
|
aspectStyles: b(() => {
|
|
@@ -3656,7 +3656,7 @@ const hr = {
|
|
|
3656
3656
|
position: String,
|
|
3657
3657
|
...mr(),
|
|
3658
3658
|
...te(),
|
|
3659
|
-
...
|
|
3659
|
+
...We(),
|
|
3660
3660
|
...fn()
|
|
3661
3661
|
}, "VImg"), br = z()({
|
|
3662
3662
|
name: "VImg",
|
|
@@ -3724,7 +3724,7 @@ const hr = {
|
|
|
3724
3724
|
T && (i.value = T.currentSrc || T.src);
|
|
3725
3725
|
}
|
|
3726
3726
|
let x = -1;
|
|
3727
|
-
|
|
3727
|
+
je(() => {
|
|
3728
3728
|
clearTimeout(x);
|
|
3729
3729
|
});
|
|
3730
3730
|
function D(T) {
|
|
@@ -3845,16 +3845,16 @@ const hr = {
|
|
|
3845
3845
|
}), Ou = A({
|
|
3846
3846
|
start: Boolean,
|
|
3847
3847
|
end: Boolean,
|
|
3848
|
-
icon:
|
|
3848
|
+
icon: X,
|
|
3849
3849
|
image: String,
|
|
3850
3850
|
text: String,
|
|
3851
3851
|
...ft(),
|
|
3852
3852
|
...te(),
|
|
3853
|
-
...
|
|
3854
|
-
...
|
|
3853
|
+
...Le(),
|
|
3854
|
+
...We(),
|
|
3855
3855
|
...Wt(),
|
|
3856
3856
|
...ve(),
|
|
3857
|
-
...
|
|
3857
|
+
...me(),
|
|
3858
3858
|
...ot({
|
|
3859
3859
|
variant: "flat"
|
|
3860
3860
|
})
|
|
@@ -3921,7 +3921,7 @@ const hr = {
|
|
|
3921
3921
|
/* @deprecated */
|
|
3922
3922
|
activeColor: String,
|
|
3923
3923
|
appendAvatar: String,
|
|
3924
|
-
appendIcon:
|
|
3924
|
+
appendIcon: X,
|
|
3925
3925
|
baseColor: String,
|
|
3926
3926
|
disabled: Boolean,
|
|
3927
3927
|
lines: [Boolean, String],
|
|
@@ -3931,7 +3931,7 @@ const hr = {
|
|
|
3931
3931
|
},
|
|
3932
3932
|
nav: Boolean,
|
|
3933
3933
|
prependAvatar: String,
|
|
3934
|
-
prependIcon:
|
|
3934
|
+
prependIcon: X,
|
|
3935
3935
|
ripple: {
|
|
3936
3936
|
type: [Boolean, Object],
|
|
3937
3937
|
default: !0
|
|
@@ -3944,13 +3944,13 @@ const hr = {
|
|
|
3944
3944
|
onClickOnce: Se(),
|
|
3945
3945
|
...ft(),
|
|
3946
3946
|
...te(),
|
|
3947
|
-
...
|
|
3947
|
+
...Le(),
|
|
3948
3948
|
...vt(),
|
|
3949
3949
|
...At(),
|
|
3950
|
-
...
|
|
3951
|
-
...
|
|
3950
|
+
...We(),
|
|
3951
|
+
...Gn(),
|
|
3952
3952
|
...ve(),
|
|
3953
|
-
...
|
|
3953
|
+
...me(),
|
|
3954
3954
|
...ot({
|
|
3955
3955
|
variant: "text"
|
|
3956
3956
|
})
|
|
@@ -3969,7 +3969,7 @@ const hr = {
|
|
|
3969
3969
|
slots: a,
|
|
3970
3970
|
emit: l
|
|
3971
3971
|
} = t;
|
|
3972
|
-
const o =
|
|
3972
|
+
const o = Wn(e, n), r = b(() => e.value === void 0 ? o.href.value : e.value), {
|
|
3973
3973
|
activate: s,
|
|
3974
3974
|
isActivated: i,
|
|
3975
3975
|
select: u,
|
|
@@ -4003,7 +4003,7 @@ const hr = {
|
|
|
4003
4003
|
} = Qe(e), {
|
|
4004
4004
|
dimensionStyles: Z
|
|
4005
4005
|
} = gt(e), {
|
|
4006
|
-
elevationClasses:
|
|
4006
|
+
elevationClasses: ae
|
|
4007
4007
|
} = jt(e), {
|
|
4008
4008
|
roundedClasses: J
|
|
4009
4009
|
} = Je(I), P = b(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), V = b(() => ({
|
|
@@ -4020,29 +4020,29 @@ const hr = {
|
|
|
4020
4020
|
(K.key === "Enter" || K.key === " ") && (K.preventDefault(), K.target.dispatchEvent(new MouseEvent("click", K)));
|
|
4021
4021
|
}
|
|
4022
4022
|
return U(() => {
|
|
4023
|
-
const K = D.value ? "a" : e.tag, Q = a.title || e.title != null, oe = a.subtitle || e.subtitle != null, H = !!(e.appendAvatar || e.appendIcon), ue = !!(H || a.append),
|
|
4024
|
-
return w?.updateHasPrepend(
|
|
4023
|
+
const K = D.value ? "a" : e.tag, Q = a.title || e.title != null, oe = a.subtitle || e.subtitle != null, H = !!(e.appendAvatar || e.appendIcon), ue = !!(H || a.append), Ge = !!(e.prependAvatar || e.prependIcon), Oe = !!(Ge || a.prepend);
|
|
4024
|
+
return w?.updateHasPrepend(Oe), e.activeColor && ps("active-color", ["color", "base-color"]), Ae(d(K, R({
|
|
4025
4025
|
class: ["v-list-item", {
|
|
4026
4026
|
"v-list-item--active": x.value,
|
|
4027
4027
|
"v-list-item--disabled": e.disabled,
|
|
4028
4028
|
"v-list-item--link": B.value,
|
|
4029
4029
|
"v-list-item--nav": e.nav,
|
|
4030
|
-
"v-list-item--prepend": !
|
|
4030
|
+
"v-list-item--prepend": !Oe && w?.hasPrepend.value,
|
|
4031
4031
|
"v-list-item--slim": e.slim,
|
|
4032
4032
|
[`${e.activeClass}`]: e.activeClass && x.value
|
|
4033
|
-
}, L.value, _.value, T.value, j.value,
|
|
4033
|
+
}, L.value, _.value, T.value, j.value, ae.value, P.value, J.value, $.value, e.class],
|
|
4034
4034
|
style: [E.value, Z.value, e.style],
|
|
4035
4035
|
tabindex: B.value ? w ? -2 : 0 : void 0,
|
|
4036
4036
|
"aria-selected": F.value ? g.activatable.value ? i.value : g.selectable.value ? v.value : x.value : void 0,
|
|
4037
4037
|
onClick: N,
|
|
4038
4038
|
onKeydown: B.value && !D.value && G
|
|
4039
4039
|
}, o.linkProps), {
|
|
4040
|
-
default: () => [sn(B.value || x.value, "v-list-item"),
|
|
4040
|
+
default: () => [sn(B.value || x.value, "v-list-item"), Oe && d("div", {
|
|
4041
4041
|
key: "prepend",
|
|
4042
4042
|
class: "v-list-item__prepend"
|
|
4043
4043
|
}, [a.prepend ? d(he, {
|
|
4044
4044
|
key: "prepend-defaults",
|
|
4045
|
-
disabled: !
|
|
4045
|
+
disabled: !Ge,
|
|
4046
4046
|
defaults: {
|
|
4047
4047
|
VAvatar: {
|
|
4048
4048
|
density: e.density,
|
|
@@ -4071,7 +4071,7 @@ const hr = {
|
|
|
4071
4071
|
}, null)]), d("div", {
|
|
4072
4072
|
class: "v-list-item__content",
|
|
4073
4073
|
"data-no-activator": ""
|
|
4074
|
-
}, [Q && d(
|
|
4074
|
+
}, [Q && d(Sa, {
|
|
4075
4075
|
key: "title"
|
|
4076
4076
|
}, {
|
|
4077
4077
|
default: () => [a.title?.({
|
|
@@ -4259,8 +4259,8 @@ const hr = {
|
|
|
4259
4259
|
default: dt
|
|
4260
4260
|
}
|
|
4261
4261
|
}, "list-items");
|
|
4262
|
-
function
|
|
4263
|
-
const n =
|
|
4262
|
+
function wa(e, t) {
|
|
4263
|
+
const n = Ie(t, e.itemTitle, t), a = Ie(t, e.itemValue, n), l = Ie(t, e.itemChildren), o = e.itemProps === !0 ? typeof t == "object" && t != null && !Array.isArray(t) ? "children" in t ? It(t, ["children"]) : t : void 0 : Ie(t, e.itemProps), r = {
|
|
4264
4264
|
title: n,
|
|
4265
4265
|
value: a,
|
|
4266
4266
|
...o
|
|
@@ -4276,13 +4276,13 @@ function Ca(e, t) {
|
|
|
4276
4276
|
function wr(e, t) {
|
|
4277
4277
|
const n = [];
|
|
4278
4278
|
for (const a of t)
|
|
4279
|
-
n.push(
|
|
4279
|
+
n.push(wa(e, a));
|
|
4280
4280
|
return n;
|
|
4281
4281
|
}
|
|
4282
4282
|
function ju(e) {
|
|
4283
4283
|
const t = b(() => wr(e, e.items)), n = b(() => t.value.some((o) => o.value === null));
|
|
4284
4284
|
function a(o) {
|
|
4285
|
-
return n.value || (o = o.filter((r) => r !== null)), o.map((r) => e.returnObject && typeof r == "string" ?
|
|
4285
|
+
return n.value || (o = o.filter((r) => r !== null)), o.map((r) => e.returnObject && typeof r == "string" ? wa(e, r) : t.value.find((s) => e.valueComparator(r, s.value)) || wa(e, r));
|
|
4286
4286
|
}
|
|
4287
4287
|
function l(o) {
|
|
4288
4288
|
return e.returnObject ? o.map((r) => {
|
|
@@ -4307,7 +4307,7 @@ function Wu(e) {
|
|
|
4307
4307
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean";
|
|
4308
4308
|
}
|
|
4309
4309
|
function Gu(e, t) {
|
|
4310
|
-
const n =
|
|
4310
|
+
const n = Ie(t, e.itemType, "item"), a = Wu(t) ? t : Ie(t, e.itemTitle), l = Ie(t, e.itemValue, void 0), o = Ie(t, e.itemChildren), r = e.itemProps === !0 ? It(t, ["children"]) : Ie(t, e.itemProps), s = {
|
|
4311
4311
|
title: a,
|
|
4312
4312
|
value: l,
|
|
4313
4313
|
...r
|
|
@@ -4339,8 +4339,8 @@ const Ku = A({
|
|
|
4339
4339
|
activeClass: String,
|
|
4340
4340
|
bgColor: String,
|
|
4341
4341
|
disabled: Boolean,
|
|
4342
|
-
expandIcon:
|
|
4343
|
-
collapseIcon:
|
|
4342
|
+
expandIcon: X,
|
|
4343
|
+
collapseIcon: X,
|
|
4344
4344
|
lines: {
|
|
4345
4345
|
type: [Boolean, String],
|
|
4346
4346
|
default: "one"
|
|
@@ -4356,7 +4356,7 @@ const Ku = A({
|
|
|
4356
4356
|
}),
|
|
4357
4357
|
...ft(),
|
|
4358
4358
|
...te(),
|
|
4359
|
-
...
|
|
4359
|
+
...Le(),
|
|
4360
4360
|
...vt(),
|
|
4361
4361
|
...At(),
|
|
4362
4362
|
itemType: {
|
|
@@ -4364,9 +4364,9 @@ const Ku = A({
|
|
|
4364
4364
|
default: "type"
|
|
4365
4365
|
},
|
|
4366
4366
|
...Sr(),
|
|
4367
|
-
...
|
|
4367
|
+
...We(),
|
|
4368
4368
|
...ve(),
|
|
4369
|
-
...
|
|
4369
|
+
...me(),
|
|
4370
4370
|
...ot({
|
|
4371
4371
|
variant: "text"
|
|
4372
4372
|
})
|
|
@@ -4494,7 +4494,7 @@ const Ku = A({
|
|
|
4494
4494
|
};
|
|
4495
4495
|
}
|
|
4496
4496
|
});
|
|
4497
|
-
function
|
|
4497
|
+
function ia(e, t) {
|
|
4498
4498
|
return {
|
|
4499
4499
|
x: e.x + t.x,
|
|
4500
4500
|
y: e.y + t.y
|
|
@@ -4512,7 +4512,7 @@ function Hl(e, t) {
|
|
|
4512
4512
|
side: n,
|
|
4513
4513
|
align: a
|
|
4514
4514
|
} = e, l = a === "left" ? 0 : a === "center" ? t.width / 2 : a === "right" ? t.width : a, o = n === "top" ? 0 : n === "bottom" ? t.height : n;
|
|
4515
|
-
return
|
|
4515
|
+
return ia({
|
|
4516
4516
|
x: l,
|
|
4517
4517
|
y: o
|
|
4518
4518
|
}, t);
|
|
@@ -4521,12 +4521,12 @@ function Hl(e, t) {
|
|
|
4521
4521
|
side: n,
|
|
4522
4522
|
align: a
|
|
4523
4523
|
} = e, l = n === "left" ? 0 : n === "right" ? t.width : n, o = a === "top" ? 0 : a === "center" ? t.height / 2 : a === "bottom" ? t.height : a;
|
|
4524
|
-
return
|
|
4524
|
+
return ia({
|
|
4525
4525
|
x: l,
|
|
4526
4526
|
y: o
|
|
4527
4527
|
}, t);
|
|
4528
4528
|
}
|
|
4529
|
-
return
|
|
4529
|
+
return ia({
|
|
4530
4530
|
x: t.width / 2,
|
|
4531
4531
|
y: t.height / 2
|
|
4532
4532
|
}, t);
|
|
@@ -4585,8 +4585,8 @@ function Ju(e, t, n) {
|
|
|
4585
4585
|
preferredAnchor: l,
|
|
4586
4586
|
preferredOrigin: o
|
|
4587
4587
|
} = Ba(() => {
|
|
4588
|
-
const g =
|
|
4589
|
-
return g.side === y.side && g.align ===
|
|
4588
|
+
const g = ma(t.location, e.isRtl.value), y = t.origin === "overlap" ? g : t.origin === "auto" ? la(g) : ma(t.origin, e.isRtl.value);
|
|
4589
|
+
return g.side === y.side && g.align === oa(y).align ? {
|
|
4590
4590
|
preferredAnchor: ml(g),
|
|
4591
4591
|
preferredOrigin: ml(y)
|
|
4592
4592
|
} : {
|
|
@@ -4702,7 +4702,7 @@ function Ju(e, t, n) {
|
|
|
4702
4702
|
F += _, B += T, y.x += _, y.y += T;
|
|
4703
4703
|
{
|
|
4704
4704
|
const $ = yl(x.anchor), j = E.x.before || E.x.after, Z = E.y.before || E.y.after;
|
|
4705
|
-
let
|
|
4705
|
+
let ae = !1;
|
|
4706
4706
|
if (["x", "y"].forEach((J) => {
|
|
4707
4707
|
if (J === "x" && j && !S.x || J === "y" && Z && !S.y) {
|
|
4708
4708
|
const P = {
|
|
@@ -4712,14 +4712,14 @@ function Ju(e, t, n) {
|
|
|
4712
4712
|
origin: {
|
|
4713
4713
|
...x.origin
|
|
4714
4714
|
}
|
|
4715
|
-
}, V = J === "x" ? $ === "y" ?
|
|
4715
|
+
}, V = J === "x" ? $ === "y" ? oa : la : $ === "y" ? la : oa;
|
|
4716
4716
|
P.anchor = V(P.anchor), P.origin = V(P.origin);
|
|
4717
4717
|
const {
|
|
4718
4718
|
overflows: N
|
|
4719
4719
|
} = D(P);
|
|
4720
|
-
(N[J].before <= E[J].before && N[J].after <= E[J].after || N[J].before + N[J].after < (E[J].before + E[J].after) / 2) && (x = P,
|
|
4720
|
+
(N[J].before <= E[J].before && N[J].after <= E[J].after || N[J].before + N[J].after < (E[J].before + E[J].after) / 2) && (x = P, ae = S[J] = !0);
|
|
4721
4721
|
}
|
|
4722
|
-
}),
|
|
4722
|
+
}), ae) continue;
|
|
4723
4723
|
}
|
|
4724
4724
|
E.x.before && (F += E.x.before, y.x += E.x.before), E.x.after && (F -= E.x.after, y.x -= E.x.after), E.y.before && (B += E.y.before, y.y += E.y.before), E.y.after && (B -= E.y.after, y.y -= E.y.after);
|
|
4725
4725
|
{
|
|
@@ -4733,9 +4733,9 @@ function Ju(e, t, n) {
|
|
|
4733
4733
|
"--v-overlay-anchor-origin": `${x.anchor.side} ${x.anchor.align}`,
|
|
4734
4734
|
transformOrigin: `${x.origin.side} ${x.origin.align}`,
|
|
4735
4735
|
// transform: `translate(${pixelRound(x)}px, ${pixelRound(y)}px)`,
|
|
4736
|
-
top: W(
|
|
4737
|
-
left: e.isRtl.value ? void 0 : W(
|
|
4738
|
-
right: e.isRtl.value ? W(
|
|
4736
|
+
top: W(sa(B)),
|
|
4737
|
+
left: e.isRtl.value ? void 0 : W(sa(F)),
|
|
4738
|
+
right: e.isRtl.value ? W(sa(-F)) : void 0,
|
|
4739
4739
|
minWidth: W(L === "y" ? Math.min(r.value, g.width) : r.value),
|
|
4740
4740
|
maxWidth: W(jl(ze(I.x, r.value === 1 / 0 ? 0 : r.value, i.value))),
|
|
4741
4741
|
maxHeight: W(jl(ze(I.y, s.value === 1 / 0 ? 0 : s.value, u.value)))
|
|
@@ -4760,22 +4760,22 @@ function Ju(e, t, n) {
|
|
|
4760
4760
|
updateLocation: h
|
|
4761
4761
|
};
|
|
4762
4762
|
}
|
|
4763
|
-
function
|
|
4763
|
+
function sa(e) {
|
|
4764
4764
|
return Math.round(e * devicePixelRatio) / devicePixelRatio;
|
|
4765
4765
|
}
|
|
4766
4766
|
function jl(e) {
|
|
4767
4767
|
return Math.ceil(e * devicePixelRatio) / devicePixelRatio;
|
|
4768
4768
|
}
|
|
4769
|
-
let
|
|
4769
|
+
let Ca = !0;
|
|
4770
4770
|
const _n = [];
|
|
4771
4771
|
function ec(e) {
|
|
4772
|
-
!
|
|
4772
|
+
!Ca || _n.length ? (_n.push(e), xa()) : (Ca = !1, e(), xa());
|
|
4773
4773
|
}
|
|
4774
4774
|
let Wl = -1;
|
|
4775
|
-
function
|
|
4775
|
+
function xa() {
|
|
4776
4776
|
cancelAnimationFrame(Wl), Wl = requestAnimationFrame(() => {
|
|
4777
4777
|
const e = _n.shift();
|
|
4778
|
-
e && e(), _n.length ?
|
|
4778
|
+
e && e(), _n.length ? xa() : Ca = !0;
|
|
4779
4779
|
});
|
|
4780
4780
|
}
|
|
4781
4781
|
const Pr = {
|
|
@@ -4793,7 +4793,7 @@ const Pr = {
|
|
|
4793
4793
|
function nc(e, t) {
|
|
4794
4794
|
if (!de) return;
|
|
4795
4795
|
let n;
|
|
4796
|
-
|
|
4796
|
+
Ke(async () => {
|
|
4797
4797
|
n?.stop(), t.isActive.value && e.scrollStrategy && (n = Ta(), await new Promise((a) => setTimeout(a)), n.active && n.run(() => {
|
|
4798
4798
|
typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : Pr[e.scrollStrategy]?.(t, e, n);
|
|
4799
4799
|
}));
|
|
@@ -4852,7 +4852,7 @@ function Vr(e, t) {
|
|
|
4852
4852
|
});
|
|
4853
4853
|
});
|
|
4854
4854
|
}
|
|
4855
|
-
const
|
|
4855
|
+
const ka = Symbol.for("vuetify:v-menu"), Ir = A({
|
|
4856
4856
|
closeDelay: [Number, String],
|
|
4857
4857
|
openDelay: [Number, String]
|
|
4858
4858
|
}, "delay");
|
|
@@ -4942,7 +4942,7 @@ function ic(e, t) {
|
|
|
4942
4942
|
}, S.onFocusout = () => {
|
|
4943
4943
|
i = !1, h();
|
|
4944
4944
|
}), e.closeOnContentClick) {
|
|
4945
|
-
const k = ce(
|
|
4945
|
+
const k = ce(ka, null);
|
|
4946
4946
|
S.onClick = () => {
|
|
4947
4947
|
n.value = !1, k?.closeParents();
|
|
4948
4948
|
};
|
|
@@ -4965,13 +4965,13 @@ function ic(e, t) {
|
|
|
4965
4965
|
}, {
|
|
4966
4966
|
flush: "post"
|
|
4967
4967
|
});
|
|
4968
|
-
const x =
|
|
4969
|
-
|
|
4968
|
+
const x = ga();
|
|
4969
|
+
Ke(() => {
|
|
4970
4970
|
x.value && we(() => {
|
|
4971
4971
|
r.value = x.el;
|
|
4972
4972
|
});
|
|
4973
4973
|
});
|
|
4974
|
-
const D =
|
|
4974
|
+
const D = ga(), F = b(() => e.target === "cursor" && g.value ? g.value : D.value ? D.el : Ar(e.target, o) || r.value), B = b(() => Array.isArray(F.value) ? void 0 : F.value);
|
|
4975
4975
|
let I;
|
|
4976
4976
|
return q(() => !!e.activator, (S) => {
|
|
4977
4977
|
S && de ? (I = Ta(), I.run(() => {
|
|
@@ -5067,7 +5067,7 @@ function dc(e, t) {
|
|
|
5067
5067
|
onAfterLeave: l
|
|
5068
5068
|
};
|
|
5069
5069
|
}
|
|
5070
|
-
function
|
|
5070
|
+
function qn() {
|
|
5071
5071
|
const t = fe("useScopeId").vnode.scopeId;
|
|
5072
5072
|
return {
|
|
5073
5073
|
scopeId: t ? {
|
|
@@ -5086,14 +5086,14 @@ function fc(e, t, n) {
|
|
|
5086
5086
|
const c = Ut.at(-1)?.[1];
|
|
5087
5087
|
s.value = c ? c + 10 : +t.value, l && Ut.push([a.uid, s.value]), o?.activeChildren.add(a.uid), Te(() => {
|
|
5088
5088
|
if (l) {
|
|
5089
|
-
const v =
|
|
5089
|
+
const v = ge(Ut).findIndex((f) => f[0] === a.uid);
|
|
5090
5090
|
Ut.splice(v, 1);
|
|
5091
5091
|
}
|
|
5092
5092
|
o?.activeChildren.delete(a.uid);
|
|
5093
5093
|
});
|
|
5094
5094
|
});
|
|
5095
5095
|
const i = ee(!0);
|
|
5096
|
-
l &&
|
|
5096
|
+
l && Ke(() => {
|
|
5097
5097
|
const c = Ut.at(-1)?.[0] === a.uid;
|
|
5098
5098
|
setTimeout(() => i.value = c);
|
|
5099
5099
|
});
|
|
@@ -5113,7 +5113,7 @@ function vc(e) {
|
|
|
5113
5113
|
if (n === !0 || !de) return;
|
|
5114
5114
|
const a = n === !1 ? document.body : typeof n == "string" ? document.querySelector(n) : n;
|
|
5115
5115
|
if (a == null) {
|
|
5116
|
-
|
|
5116
|
+
On(`Unable to locate target ${n}`);
|
|
5117
5117
|
return;
|
|
5118
5118
|
}
|
|
5119
5119
|
let l = [...a.children].find((o) => o.matches(".v-overlay-container"));
|
|
@@ -5190,7 +5190,7 @@ function hc(e) {
|
|
|
5190
5190
|
}, a), null)]
|
|
5191
5191
|
});
|
|
5192
5192
|
}
|
|
5193
|
-
const
|
|
5193
|
+
const Xn = A({
|
|
5194
5194
|
absolute: Boolean,
|
|
5195
5195
|
attach: [Boolean, String, Object],
|
|
5196
5196
|
closeOnBack: {
|
|
@@ -5219,7 +5219,7 @@ const Yn = A({
|
|
|
5219
5219
|
...cc(),
|
|
5220
5220
|
...Xu(),
|
|
5221
5221
|
...tc(),
|
|
5222
|
-
...
|
|
5222
|
+
...me(),
|
|
5223
5223
|
...fn()
|
|
5224
5224
|
}, "VOverlay"), Lt = z()({
|
|
5225
5225
|
name: "VOverlay",
|
|
@@ -5229,7 +5229,7 @@ const Yn = A({
|
|
|
5229
5229
|
inheritAttrs: !1,
|
|
5230
5230
|
props: {
|
|
5231
5231
|
_disableGlobalStack: Boolean,
|
|
5232
|
-
...
|
|
5232
|
+
...Xn()
|
|
5233
5233
|
},
|
|
5234
5234
|
emits: {
|
|
5235
5235
|
"click:outside": (e) => !0,
|
|
@@ -5284,13 +5284,13 @@ const Yn = A({
|
|
|
5284
5284
|
dimensionStyles: E
|
|
5285
5285
|
} = gt(e), $ = uc(), {
|
|
5286
5286
|
scopeId: j
|
|
5287
|
-
} =
|
|
5287
|
+
} = qn();
|
|
5288
5288
|
q(() => e.disabled, (H) => {
|
|
5289
5289
|
H && (c.value = !1);
|
|
5290
5290
|
});
|
|
5291
5291
|
const {
|
|
5292
5292
|
contentStyles: Z,
|
|
5293
|
-
updateLocation:
|
|
5293
|
+
updateLocation: ae
|
|
5294
5294
|
} = Yu(e, {
|
|
5295
5295
|
isRtl: h,
|
|
5296
5296
|
contentEl: i,
|
|
@@ -5302,7 +5302,7 @@ const Yn = A({
|
|
|
5302
5302
|
contentEl: i,
|
|
5303
5303
|
targetEl: I,
|
|
5304
5304
|
isActive: c,
|
|
5305
|
-
updateLocation:
|
|
5305
|
+
updateLocation: ae
|
|
5306
5306
|
});
|
|
5307
5307
|
function J(H) {
|
|
5308
5308
|
l("click:outside", H), e.persistent ? K() : c.value = !1;
|
|
@@ -5315,7 +5315,7 @@ const Yn = A({
|
|
|
5315
5315
|
H ? window.addEventListener("keydown", V) : window.removeEventListener("keydown", V);
|
|
5316
5316
|
}, {
|
|
5317
5317
|
immediate: !0
|
|
5318
|
-
}),
|
|
5318
|
+
}), je(() => {
|
|
5319
5319
|
de && window.removeEventListener("keydown", V);
|
|
5320
5320
|
});
|
|
5321
5321
|
function V(H) {
|
|
@@ -5405,11 +5405,11 @@ const Yn = A({
|
|
|
5405
5405
|
contentEl: i,
|
|
5406
5406
|
globalTop: p,
|
|
5407
5407
|
localTop: w,
|
|
5408
|
-
updateLocation:
|
|
5408
|
+
updateLocation: ae
|
|
5409
5409
|
};
|
|
5410
5410
|
}
|
|
5411
|
-
}),
|
|
5412
|
-
function
|
|
5411
|
+
}), ua = Symbol("Forwarded refs");
|
|
5412
|
+
function ca(e, t) {
|
|
5413
5413
|
let n = e;
|
|
5414
5414
|
for (; n; ) {
|
|
5415
5415
|
const a = Reflect.getOwnPropertyDescriptor(n, t);
|
|
@@ -5420,7 +5420,7 @@ function da(e, t) {
|
|
|
5420
5420
|
function vn(e) {
|
|
5421
5421
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
5422
5422
|
n[a - 1] = arguments[a];
|
|
5423
|
-
return e[
|
|
5423
|
+
return e[ua] = n, new Proxy(e, {
|
|
5424
5424
|
get(l, o) {
|
|
5425
5425
|
if (Reflect.has(l, o))
|
|
5426
5426
|
return Reflect.get(l, o);
|
|
@@ -5456,17 +5456,17 @@ function vn(e) {
|
|
|
5456
5456
|
if (!(typeof o == "symbol" || o.startsWith("$") || o.startsWith("__"))) {
|
|
5457
5457
|
for (const s of n) {
|
|
5458
5458
|
if (!s.value) continue;
|
|
5459
|
-
const i =
|
|
5459
|
+
const i = ca(s.value, o) ?? ("_" in s.value ? ca(s.value._?.setupState, o) : void 0);
|
|
5460
5460
|
if (i) return i;
|
|
5461
5461
|
}
|
|
5462
5462
|
for (const s of n) {
|
|
5463
|
-
const i = s.value && s.value[
|
|
5463
|
+
const i = s.value && s.value[ua];
|
|
5464
5464
|
if (!i) continue;
|
|
5465
5465
|
const u = i.slice();
|
|
5466
5466
|
for (; u.length; ) {
|
|
5467
|
-
const c = u.shift(), v =
|
|
5467
|
+
const c = u.shift(), v = ca(c.value, o);
|
|
5468
5468
|
if (v) return v;
|
|
5469
|
-
const f = c.value && c.value[
|
|
5469
|
+
const f = c.value && c.value[ua];
|
|
5470
5470
|
f && u.push(...f);
|
|
5471
5471
|
}
|
|
5472
5472
|
}
|
|
@@ -5479,7 +5479,7 @@ const bc = A({
|
|
|
5479
5479
|
// disableKeys: Boolean,
|
|
5480
5480
|
id: String,
|
|
5481
5481
|
submenu: Boolean,
|
|
5482
|
-
...It(
|
|
5482
|
+
...It(Xn({
|
|
5483
5483
|
closeDelay: 250,
|
|
5484
5484
|
closeOnContentClick: !0,
|
|
5485
5485
|
locationStrategy: "connected",
|
|
@@ -5503,10 +5503,10 @@ const bc = A({
|
|
|
5503
5503
|
} = t;
|
|
5504
5504
|
const a = se(e, "modelValue"), {
|
|
5505
5505
|
scopeId: l
|
|
5506
|
-
} =
|
|
5506
|
+
} = qn(), {
|
|
5507
5507
|
isRtl: o
|
|
5508
|
-
} = rt(), r = Ze(), s = b(() => e.id || `v-menu-${r}`), i = M(), u = ce(
|
|
5509
|
-
be(
|
|
5508
|
+
} = rt(), r = Ze(), s = b(() => e.id || `v-menu-${r}`), i = M(), u = ce(ka, null), c = ee(/* @__PURE__ */ new Set());
|
|
5509
|
+
be(ka, {
|
|
5510
5510
|
register() {
|
|
5511
5511
|
c.value.add(r);
|
|
5512
5512
|
},
|
|
@@ -5518,7 +5518,7 @@ const bc = A({
|
|
|
5518
5518
|
!c.value.size && !e.persistent && (m == null || i.value?.contentEl && !ss(m, i.value.contentEl)) && (a.value = !1, u?.closeParents());
|
|
5519
5519
|
}, 40);
|
|
5520
5520
|
}
|
|
5521
|
-
}),
|
|
5521
|
+
}), je(() => {
|
|
5522
5522
|
u?.unregister(), document.removeEventListener("focusin", v);
|
|
5523
5523
|
}), Ni(() => a.value = !1);
|
|
5524
5524
|
async function v(m) {
|
|
@@ -5619,7 +5619,7 @@ function wc(e) {
|
|
|
5619
5619
|
function Ja(e) {
|
|
5620
5620
|
return typeof e == "string" ? document.querySelector(e) : ho(e);
|
|
5621
5621
|
}
|
|
5622
|
-
function
|
|
5622
|
+
function da(e, t, n) {
|
|
5623
5623
|
if (typeof e == "number") return t && n ? -e : e;
|
|
5624
5624
|
let a = Ja(e), l = 0;
|
|
5625
5625
|
for (; a; )
|
|
@@ -5631,8 +5631,8 @@ async function Kl(e, t, n, a) {
|
|
|
5631
5631
|
if (!u) throw new TypeError(`Easing function "${o.easing}" not found.`);
|
|
5632
5632
|
let c;
|
|
5633
5633
|
if (typeof s == "number")
|
|
5634
|
-
c =
|
|
5635
|
-
else if (c =
|
|
5634
|
+
c = da(s, n, r);
|
|
5635
|
+
else if (c = da(s, n, r) - da(i, n, r), o.layout) {
|
|
5636
5636
|
const g = window.getComputedStyle(s).getPropertyValue("--v-layout-top");
|
|
5637
5637
|
g && (c -= parseInt(g, 10));
|
|
5638
5638
|
}
|
|
@@ -5702,19 +5702,19 @@ const Pc = A({
|
|
|
5702
5702
|
},
|
|
5703
5703
|
totalVisible: [Number, String],
|
|
5704
5704
|
firstIcon: {
|
|
5705
|
-
type:
|
|
5705
|
+
type: X,
|
|
5706
5706
|
default: "$first"
|
|
5707
5707
|
},
|
|
5708
5708
|
prevIcon: {
|
|
5709
|
-
type:
|
|
5709
|
+
type: X,
|
|
5710
5710
|
default: "$prev"
|
|
5711
5711
|
},
|
|
5712
5712
|
nextIcon: {
|
|
5713
|
-
type:
|
|
5713
|
+
type: X,
|
|
5714
5714
|
default: "$next"
|
|
5715
5715
|
},
|
|
5716
5716
|
lastIcon: {
|
|
5717
|
-
type:
|
|
5717
|
+
type: X,
|
|
5718
5718
|
default: "$last"
|
|
5719
5719
|
},
|
|
5720
5720
|
ariaLabel: {
|
|
@@ -5752,14 +5752,14 @@ const Pc = A({
|
|
|
5752
5752
|
showFirstLastPage: Boolean,
|
|
5753
5753
|
...ft(),
|
|
5754
5754
|
...te(),
|
|
5755
|
-
...
|
|
5755
|
+
...Le(),
|
|
5756
5756
|
...At(),
|
|
5757
|
-
...
|
|
5757
|
+
...We(),
|
|
5758
5758
|
...Wt(),
|
|
5759
5759
|
...ve({
|
|
5760
5760
|
tag: "nav"
|
|
5761
5761
|
}),
|
|
5762
|
-
...
|
|
5762
|
+
...me(),
|
|
5763
5763
|
...ot({
|
|
5764
5764
|
variant: "text"
|
|
5765
5765
|
})
|
|
@@ -5932,13 +5932,13 @@ const Pc = A({
|
|
|
5932
5932
|
key: "first",
|
|
5933
5933
|
class: "v-pagination__first",
|
|
5934
5934
|
"data-test": "v-pagination-first"
|
|
5935
|
-
}, [n.first ? n.first(F.value.first) : d(
|
|
5935
|
+
}, [n.first ? n.first(F.value.first) : d(Ne, R({
|
|
5936
5936
|
_as: "VPaginationBtn"
|
|
5937
5937
|
}, F.value.first), null)]), d("li", {
|
|
5938
5938
|
key: "prev",
|
|
5939
5939
|
class: "v-pagination__prev",
|
|
5940
5940
|
"data-test": "v-pagination-prev"
|
|
5941
|
-
}, [n.prev ? n.prev(F.value.prev) : d(
|
|
5941
|
+
}, [n.prev ? n.prev(F.value.prev) : d(Ne, R({
|
|
5942
5942
|
_as: "VPaginationBtn"
|
|
5943
5943
|
}, F.value.prev), null)]), D.value.map((S, k) => d("li", {
|
|
5944
5944
|
key: S.key,
|
|
@@ -5946,7 +5946,7 @@ const Pc = A({
|
|
|
5946
5946
|
"v-pagination__item--is-active": S.isActive
|
|
5947
5947
|
}],
|
|
5948
5948
|
"data-test": "v-pagination-item"
|
|
5949
|
-
}, [n.item ? n.item(S) : d(
|
|
5949
|
+
}, [n.item ? n.item(S) : d(Ne, R({
|
|
5950
5950
|
_as: "VPaginationBtn"
|
|
5951
5951
|
}, S.props), {
|
|
5952
5952
|
default: () => [S.page]
|
|
@@ -5954,13 +5954,13 @@ const Pc = A({
|
|
|
5954
5954
|
key: "next",
|
|
5955
5955
|
class: "v-pagination__next",
|
|
5956
5956
|
"data-test": "v-pagination-next"
|
|
5957
|
-
}, [n.next ? n.next(F.value.next) : d(
|
|
5957
|
+
}, [n.next ? n.next(F.value.next) : d(Ne, R({
|
|
5958
5958
|
_as: "VPaginationBtn"
|
|
5959
5959
|
}, F.value.next), null)]), e.showFirstLastPage && d("li", {
|
|
5960
5960
|
key: "last",
|
|
5961
5961
|
class: "v-pagination__last",
|
|
5962
5962
|
"data-test": "v-pagination-last"
|
|
5963
|
-
}, [n.last ? n.last(F.value.last) : d(
|
|
5963
|
+
}, [n.last ? n.last(F.value.last) : d(Ne, R({
|
|
5964
5964
|
_as: "VPaginationBtn"
|
|
5965
5965
|
}, F.value.last), null)])])]
|
|
5966
5966
|
})), {};
|
|
@@ -5969,7 +5969,7 @@ const Pc = A({
|
|
|
5969
5969
|
text: String,
|
|
5970
5970
|
onClick: Se(),
|
|
5971
5971
|
...te(),
|
|
5972
|
-
...
|
|
5972
|
+
...me()
|
|
5973
5973
|
}, "VLabel"), _r = z()({
|
|
5974
5974
|
name: "VLabel",
|
|
5975
5975
|
props: Vc(),
|
|
@@ -5995,8 +5995,8 @@ const Pc = A({
|
|
|
5995
5995
|
error: Boolean,
|
|
5996
5996
|
id: String,
|
|
5997
5997
|
inline: Boolean,
|
|
5998
|
-
falseIcon:
|
|
5999
|
-
trueIcon:
|
|
5998
|
+
falseIcon: X,
|
|
5999
|
+
trueIcon: X,
|
|
6000
6000
|
ripple: {
|
|
6001
6001
|
type: [Boolean, Object],
|
|
6002
6002
|
default: !0
|
|
@@ -6017,8 +6017,8 @@ const Pc = A({
|
|
|
6017
6017
|
default: dt
|
|
6018
6018
|
},
|
|
6019
6019
|
...te(),
|
|
6020
|
-
...
|
|
6021
|
-
...
|
|
6020
|
+
...Le(),
|
|
6021
|
+
...me()
|
|
6022
6022
|
}, "SelectionControlGroup"), Ic = A({
|
|
6023
6023
|
...Br({
|
|
6024
6024
|
defaultsTarget: "VSelectionControl"
|
|
@@ -6232,14 +6232,14 @@ const ql = z()({
|
|
|
6232
6232
|
}), Ac = A({
|
|
6233
6233
|
indeterminate: Boolean,
|
|
6234
6234
|
indeterminateIcon: {
|
|
6235
|
-
type:
|
|
6235
|
+
type: X,
|
|
6236
6236
|
default: "$checkboxIndeterminate"
|
|
6237
6237
|
},
|
|
6238
6238
|
...Nr({
|
|
6239
6239
|
falseIcon: "$checkboxOff",
|
|
6240
6240
|
trueIcon: "$checkboxOn"
|
|
6241
6241
|
})
|
|
6242
|
-
}, "VCheckboxBtn"),
|
|
6242
|
+
}, "VCheckboxBtn"), Yn = z()({
|
|
6243
6243
|
name: "VCheckboxBtn",
|
|
6244
6244
|
props: Ac(),
|
|
6245
6245
|
emits: {
|
|
@@ -6424,7 +6424,7 @@ function Bc(e) {
|
|
|
6424
6424
|
reset: m,
|
|
6425
6425
|
resetValidation: p
|
|
6426
6426
|
});
|
|
6427
|
-
}),
|
|
6427
|
+
}), je(() => {
|
|
6428
6428
|
o.unregister?.(y.value);
|
|
6429
6429
|
}), zt(async () => {
|
|
6430
6430
|
c.value.lazy || await w(!c.value.eager), o.update?.(y.value, v.value, u.value);
|
|
@@ -6485,12 +6485,12 @@ function Bc(e) {
|
|
|
6485
6485
|
}
|
|
6486
6486
|
const Mr = A({
|
|
6487
6487
|
id: String,
|
|
6488
|
-
appendIcon:
|
|
6488
|
+
appendIcon: X,
|
|
6489
6489
|
centerAffix: {
|
|
6490
6490
|
type: Boolean,
|
|
6491
6491
|
default: !0
|
|
6492
6492
|
},
|
|
6493
|
-
prependIcon:
|
|
6493
|
+
prependIcon: X,
|
|
6494
6494
|
hideDetails: [Boolean, String],
|
|
6495
6495
|
hideSpinButtons: Boolean,
|
|
6496
6496
|
hint: String,
|
|
@@ -6507,9 +6507,9 @@ const Mr = A({
|
|
|
6507
6507
|
"onClick:prepend": Se(),
|
|
6508
6508
|
"onClick:append": Se(),
|
|
6509
6509
|
...te(),
|
|
6510
|
-
...
|
|
6510
|
+
...Le(),
|
|
6511
6511
|
...ns(vt(), ["maxWidth", "minWidth", "width"]),
|
|
6512
|
-
...
|
|
6512
|
+
...me(),
|
|
6513
6513
|
...Fc()
|
|
6514
6514
|
}, "VInput"), Xl = z()({
|
|
6515
6515
|
name: "VInput",
|
|
@@ -6652,11 +6652,11 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = A({
|
|
|
6652
6652
|
default: Oc
|
|
6653
6653
|
},
|
|
6654
6654
|
nextIcon: {
|
|
6655
|
-
type:
|
|
6655
|
+
type: X,
|
|
6656
6656
|
default: "$next"
|
|
6657
6657
|
},
|
|
6658
6658
|
prevIcon: {
|
|
6659
|
-
type:
|
|
6659
|
+
type: X,
|
|
6660
6660
|
default: "$prev"
|
|
6661
6661
|
},
|
|
6662
6662
|
showArrows: {
|
|
@@ -6664,7 +6664,7 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = A({
|
|
|
6664
6664
|
validator: (e) => typeof e == "boolean" || ["always", "desktop", "mobile"].includes(e)
|
|
6665
6665
|
},
|
|
6666
6666
|
...te(),
|
|
6667
|
-
...
|
|
6667
|
+
...Kn({
|
|
6668
6668
|
mobile: null
|
|
6669
6669
|
}),
|
|
6670
6670
|
...ve(),
|
|
@@ -6806,7 +6806,7 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = A({
|
|
|
6806
6806
|
prev: r.prev,
|
|
6807
6807
|
select: r.select,
|
|
6808
6808
|
isSelected: r.isSelected
|
|
6809
|
-
})),
|
|
6809
|
+
})), ae = b(() => {
|
|
6810
6810
|
switch (e.showArrows) {
|
|
6811
6811
|
// Always show arrows on desktop & mobile
|
|
6812
6812
|
case "always":
|
|
@@ -6835,14 +6835,14 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = A({
|
|
|
6835
6835
|
return U(() => d(e.tag, {
|
|
6836
6836
|
class: ["v-slide-group", {
|
|
6837
6837
|
"v-slide-group--vertical": !v.value,
|
|
6838
|
-
"v-slide-group--has-affixes":
|
|
6838
|
+
"v-slide-group--has-affixes": ae.value,
|
|
6839
6839
|
"v-slide-group--is-overflowing": s.value
|
|
6840
6840
|
}, l.value, e.class],
|
|
6841
6841
|
style: e.style,
|
|
6842
6842
|
tabindex: D.value || r.selected.value.length ? -1 : 0,
|
|
6843
6843
|
onFocus: _
|
|
6844
6844
|
}, {
|
|
6845
|
-
default: () => [
|
|
6845
|
+
default: () => [ae.value && d("div", {
|
|
6846
6846
|
key: "prev",
|
|
6847
6847
|
class: ["v-slide-group__prev", {
|
|
6848
6848
|
"v-slide-group__prev--disabled": !J.value
|
|
@@ -6864,7 +6864,7 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = A({
|
|
|
6864
6864
|
onFocusin: S,
|
|
6865
6865
|
onFocusout: k,
|
|
6866
6866
|
onKeydown: E
|
|
6867
|
-
}, [n.default?.(Z.value)])]),
|
|
6867
|
+
}, [n.default?.(Z.value)])]), ae.value && d("div", {
|
|
6868
6868
|
key: "next",
|
|
6869
6869
|
class: ["v-slide-group__next", {
|
|
6870
6870
|
"v-slide-group__next--disabled": !P.value
|
|
@@ -6898,7 +6898,7 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = A({
|
|
|
6898
6898
|
selectedClass: "v-chip--selected"
|
|
6899
6899
|
}),
|
|
6900
6900
|
...ve(),
|
|
6901
|
-
...
|
|
6901
|
+
...me(),
|
|
6902
6902
|
...ot({
|
|
6903
6903
|
variant: "tonal"
|
|
6904
6904
|
})
|
|
@@ -6951,10 +6951,10 @@ z()({
|
|
|
6951
6951
|
const Mc = A({
|
|
6952
6952
|
activeClass: String,
|
|
6953
6953
|
appendAvatar: String,
|
|
6954
|
-
appendIcon:
|
|
6954
|
+
appendIcon: X,
|
|
6955
6955
|
closable: Boolean,
|
|
6956
6956
|
closeIcon: {
|
|
6957
|
-
type:
|
|
6957
|
+
type: X,
|
|
6958
6958
|
default: "$delete"
|
|
6959
6959
|
},
|
|
6960
6960
|
closeLabel: {
|
|
@@ -6964,7 +6964,7 @@ const Mc = A({
|
|
|
6964
6964
|
draggable: Boolean,
|
|
6965
6965
|
filter: Boolean,
|
|
6966
6966
|
filterIcon: {
|
|
6967
|
-
type:
|
|
6967
|
+
type: X,
|
|
6968
6968
|
default: "$complete"
|
|
6969
6969
|
},
|
|
6970
6970
|
label: Boolean,
|
|
@@ -6974,7 +6974,7 @@ const Mc = A({
|
|
|
6974
6974
|
},
|
|
6975
6975
|
pill: Boolean,
|
|
6976
6976
|
prependAvatar: String,
|
|
6977
|
-
prependIcon:
|
|
6977
|
+
prependIcon: X,
|
|
6978
6978
|
ripple: {
|
|
6979
6979
|
type: [Boolean, Object],
|
|
6980
6980
|
default: !0
|
|
@@ -6988,16 +6988,16 @@ const Mc = A({
|
|
|
6988
6988
|
onClickOnce: Se(),
|
|
6989
6989
|
...ft(),
|
|
6990
6990
|
...te(),
|
|
6991
|
-
...
|
|
6991
|
+
...Le(),
|
|
6992
6992
|
...At(),
|
|
6993
6993
|
..._o(),
|
|
6994
|
-
...
|
|
6995
|
-
...
|
|
6994
|
+
...We(),
|
|
6995
|
+
...Gn(),
|
|
6996
6996
|
...Wt(),
|
|
6997
6997
|
...ve({
|
|
6998
6998
|
tag: "span"
|
|
6999
6999
|
}),
|
|
7000
|
-
...
|
|
7000
|
+
...me(),
|
|
7001
7001
|
...ot({
|
|
7002
7002
|
variant: "tonal"
|
|
7003
7003
|
})
|
|
@@ -7037,7 +7037,7 @@ const Mc = A({
|
|
|
7037
7037
|
sizeClasses: h
|
|
7038
7038
|
} = cn(e), {
|
|
7039
7039
|
themeClasses: g
|
|
7040
|
-
} = Ce(e), y = se(e, "modelValue"), m = Fo(e, Wr, !1), p =
|
|
7040
|
+
} = Ce(e), y = se(e, "modelValue"), m = Fo(e, Wr, !1), p = Wn(e, n), w = b(() => e.link !== !1 && p.isLink.value), x = b(() => !e.disabled && e.link !== !1 && (!!m || e.link || p.isClickable.value)), D = b(() => ({
|
|
7041
7041
|
"aria-label": o(e.closeLabel),
|
|
7042
7042
|
onClick(I) {
|
|
7043
7043
|
I.preventDefault(), I.stopPropagation(), y.value = !1, a("click:close", I);
|
|
@@ -7220,11 +7220,11 @@ const Mc = A({
|
|
|
7220
7220
|
}, n)), {};
|
|
7221
7221
|
}
|
|
7222
7222
|
}), Wc = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Ur = A({
|
|
7223
|
-
appendInnerIcon:
|
|
7223
|
+
appendInnerIcon: X,
|
|
7224
7224
|
bgColor: String,
|
|
7225
7225
|
clearable: Boolean,
|
|
7226
7226
|
clearIcon: {
|
|
7227
|
-
type:
|
|
7227
|
+
type: X,
|
|
7228
7228
|
default: "$clear"
|
|
7229
7229
|
},
|
|
7230
7230
|
active: Boolean,
|
|
@@ -7243,7 +7243,7 @@ const Mc = A({
|
|
|
7243
7243
|
flat: Boolean,
|
|
7244
7244
|
label: String,
|
|
7245
7245
|
persistentClear: Boolean,
|
|
7246
|
-
prependInnerIcon:
|
|
7246
|
+
prependInnerIcon: X,
|
|
7247
7247
|
reverse: Boolean,
|
|
7248
7248
|
singleLine: Boolean,
|
|
7249
7249
|
variant: {
|
|
@@ -7255,9 +7255,9 @@ const Mc = A({
|
|
|
7255
7255
|
"onClick:appendInner": Se(),
|
|
7256
7256
|
"onClick:prependInner": Se(),
|
|
7257
7257
|
...te(),
|
|
7258
|
-
...
|
|
7259
|
-
...
|
|
7260
|
-
...
|
|
7258
|
+
...Hn(),
|
|
7259
|
+
...We(),
|
|
7260
|
+
...me()
|
|
7261
7261
|
}, "VField"), Kr = z()({
|
|
7262
7262
|
name: "VField",
|
|
7263
7263
|
inheritAttrs: !1,
|
|
@@ -7280,7 +7280,7 @@ const Mc = A({
|
|
|
7280
7280
|
themeClasses: o
|
|
7281
7281
|
} = Ce(e), {
|
|
7282
7282
|
loaderClasses: r
|
|
7283
|
-
} =
|
|
7283
|
+
} = jn(e), {
|
|
7284
7284
|
focusClasses: s,
|
|
7285
7285
|
isFocused: i,
|
|
7286
7286
|
focus: u,
|
|
@@ -7302,7 +7302,7 @@ const Mc = A({
|
|
|
7302
7302
|
if (y.value) {
|
|
7303
7303
|
const j = x.value.$el, Z = D.value.$el;
|
|
7304
7304
|
requestAnimationFrame(() => {
|
|
7305
|
-
const
|
|
7305
|
+
const ae = Na(j), J = Z.getBoundingClientRect(), P = J.x - ae.x, V = J.y - ae.y - (ae.height / 2 - J.height / 2), N = J.width / 0.75, G = Math.abs(N - ae.width) > 1 ? {
|
|
7306
7306
|
maxWidth: W(N)
|
|
7307
7307
|
} : void 0, K = getComputedStyle(j), Q = getComputedStyle(Z), oe = parseFloat(K.transitionDuration) * 1e3 || 150, H = parseFloat(Q.getPropertyValue("--v-field-label-scale")), ue = Q.getPropertyValue("color");
|
|
7308
7308
|
j.style.visibility = "visible", Z.style.visibility = "hidden", _t(j, {
|
|
@@ -7335,7 +7335,7 @@ const Mc = A({
|
|
|
7335
7335
|
$.key !== "Enter" && $.key !== " " || ($.preventDefault(), $.stopPropagation(), e["onClick:clear"]?.(new MouseEvent("click")));
|
|
7336
7336
|
}
|
|
7337
7337
|
return U(() => {
|
|
7338
|
-
const $ = e.variant === "outlined", j = !!(l["prepend-inner"] || e.prependInnerIcon), Z = !!(e.clearable || l.clear),
|
|
7338
|
+
const $ = e.variant === "outlined", j = !!(l["prepend-inner"] || e.prependInnerIcon), Z = !!(e.clearable || l.clear), ae = !!(l["append-inner"] || e.appendInnerIcon || Z), J = () => l.label ? l.label({
|
|
7339
7339
|
..._.value,
|
|
7340
7340
|
label: e.label,
|
|
7341
7341
|
props: {
|
|
@@ -7345,7 +7345,7 @@ const Mc = A({
|
|
|
7345
7345
|
return d("div", R({
|
|
7346
7346
|
class: ["v-field", {
|
|
7347
7347
|
"v-field--active": g.value,
|
|
7348
|
-
"v-field--appended":
|
|
7348
|
+
"v-field--appended": ae,
|
|
7349
7349
|
"v-field--center-affix": e.centerAffix ?? !B.value,
|
|
7350
7350
|
"v-field--disabled": e.disabled,
|
|
7351
7351
|
"v-field--dirty": e.dirty,
|
|
@@ -7432,7 +7432,7 @@ const Mc = A({
|
|
|
7432
7432
|
onBlur: c
|
|
7433
7433
|
}, null)]
|
|
7434
7434
|
})]), [[Ht, e.dirty]])]
|
|
7435
|
-
}),
|
|
7435
|
+
}), ae && d("div", {
|
|
7436
7436
|
key: "append",
|
|
7437
7437
|
class: "v-field__append-inner"
|
|
7438
7438
|
}, [l["append-inner"]?.(_.value), e.appendInnerIcon && d(v, {
|
|
@@ -7466,7 +7466,7 @@ const Mc = A({
|
|
|
7466
7466
|
}
|
|
7467
7467
|
});
|
|
7468
7468
|
function Gc(e) {
|
|
7469
|
-
const t = Object.keys(Kr.props).filter((n) => !
|
|
7469
|
+
const t = Object.keys(Kr.props).filter((n) => !Mn(n) && n !== "class" && n !== "style");
|
|
7470
7470
|
return bo(e, t);
|
|
7471
7471
|
}
|
|
7472
7472
|
const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"], qr = A({
|
|
@@ -7566,7 +7566,7 @@ const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7566
7566
|
id: $,
|
|
7567
7567
|
isDisabled: j,
|
|
7568
7568
|
isDirty: Z,
|
|
7569
|
-
isReadonly:
|
|
7569
|
+
isReadonly: ae,
|
|
7570
7570
|
isValid: J
|
|
7571
7571
|
} = E;
|
|
7572
7572
|
return d(Kr, R({
|
|
@@ -7598,7 +7598,7 @@ const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7598
7598
|
value: o.value,
|
|
7599
7599
|
onInput: F,
|
|
7600
7600
|
autofocus: e.autofocus,
|
|
7601
|
-
readonly:
|
|
7601
|
+
readonly: ae.value,
|
|
7602
7602
|
disabled: j.value,
|
|
7603
7603
|
name: e.name,
|
|
7604
7604
|
placeholder: e.placeholder,
|
|
@@ -7667,7 +7667,7 @@ const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7667
7667
|
style: e.style
|
|
7668
7668
|
}, n), [l.default?.()]));
|
|
7669
7669
|
}
|
|
7670
|
-
}), Xc = -1, Yc = 1,
|
|
7670
|
+
}), Xc = -1, Yc = 1, fa = 100, Zc = A({
|
|
7671
7671
|
itemHeight: {
|
|
7672
7672
|
type: [Number, String],
|
|
7673
7673
|
default: null
|
|
@@ -7676,7 +7676,7 @@ const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7676
7676
|
}, "virtual");
|
|
7677
7677
|
function Qc(e, t) {
|
|
7678
7678
|
const n = Tt(), a = ee(0);
|
|
7679
|
-
|
|
7679
|
+
Ke(() => {
|
|
7680
7680
|
a.value = parseFloat(e.itemHeight || 0);
|
|
7681
7681
|
});
|
|
7682
7682
|
const l = ee(0), o = ee(Math.ceil(
|
|
@@ -7691,7 +7691,7 @@ function Qc(e, t) {
|
|
|
7691
7691
|
resizeRef: v,
|
|
7692
7692
|
contentRect: f
|
|
7693
7693
|
} = Nt();
|
|
7694
|
-
|
|
7694
|
+
Ke(() => {
|
|
7695
7695
|
v.value = i.value;
|
|
7696
7696
|
});
|
|
7697
7697
|
const h = b(() => i.value === document.documentElement ? n.height.value : f.value?.height || parseInt(e.height) || 0), g = b(() => !!(i.value && u.value && h.value && a.value));
|
|
@@ -7715,7 +7715,7 @@ function Qc(e, t) {
|
|
|
7715
7715
|
}, p), F = q(g, (P) => {
|
|
7716
7716
|
P && (F(), c = u.value.offsetTop, D.immediate(), j(), ~w && we(() => {
|
|
7717
7717
|
de && window.requestAnimationFrame(() => {
|
|
7718
|
-
|
|
7718
|
+
ae(w), w = -1;
|
|
7719
7719
|
});
|
|
7720
7720
|
}));
|
|
7721
7721
|
});
|
|
@@ -7752,18 +7752,18 @@ function Qc(e, t) {
|
|
|
7752
7752
|
}
|
|
7753
7753
|
function Z() {
|
|
7754
7754
|
if (!i.value || !h.value) return;
|
|
7755
|
-
const P = k - c, V = Math.sign(L), N = Math.max(0, P -
|
|
7755
|
+
const P = k - c, V = Math.sign(L), N = Math.max(0, P - fa), G = ze(S(N), 0, t.value.length), K = P + h.value + fa, Q = ze(S(K) + 1, G + 1, t.value.length);
|
|
7756
7756
|
if (
|
|
7757
7757
|
// Only update the side we're scrolling towards,
|
|
7758
7758
|
// the other side will be updated incidentally
|
|
7759
7759
|
(V !== Xc || G < l.value) && (V !== Yc || Q > o.value)
|
|
7760
7760
|
) {
|
|
7761
7761
|
const oe = I(l.value) - I(G), H = I(Q) - I(o.value);
|
|
7762
|
-
Math.max(oe, H) >
|
|
7762
|
+
Math.max(oe, H) > fa ? (l.value = G, o.value = Q) : (G <= 0 && (l.value = G), Q >= t.value.length && (o.value = Q));
|
|
7763
7763
|
}
|
|
7764
7764
|
r.value = I(l.value), s.value = I(t.value.length) - I(o.value);
|
|
7765
7765
|
}
|
|
7766
|
-
function
|
|
7766
|
+
function ae(P) {
|
|
7767
7767
|
const V = I(P);
|
|
7768
7768
|
!i.value || P && !V ? w = P : i.value.scrollTop = V;
|
|
7769
7769
|
}
|
|
@@ -7786,7 +7786,7 @@ function Qc(e, t) {
|
|
|
7786
7786
|
computedItems: J,
|
|
7787
7787
|
paddingTop: r,
|
|
7788
7788
|
paddingBottom: s,
|
|
7789
|
-
scrollToIndex:
|
|
7789
|
+
scrollToIndex: ae,
|
|
7790
7790
|
handleScroll: T,
|
|
7791
7791
|
handleScrollend: E,
|
|
7792
7792
|
handleItemResize: B
|
|
@@ -7957,7 +7957,7 @@ const ad = A({
|
|
|
7957
7957
|
},
|
|
7958
7958
|
menu: Boolean,
|
|
7959
7959
|
menuIcon: {
|
|
7960
|
-
type:
|
|
7960
|
+
type: X,
|
|
7961
7961
|
default: "$dropdown"
|
|
7962
7962
|
},
|
|
7963
7963
|
menuProps: {
|
|
@@ -8070,7 +8070,7 @@ const ad = A({
|
|
|
8070
8070
|
function Z() {
|
|
8071
8071
|
m.value && l.value?.focus();
|
|
8072
8072
|
}
|
|
8073
|
-
function
|
|
8073
|
+
function ae(P) {
|
|
8074
8074
|
m.value = !0;
|
|
8075
8075
|
}
|
|
8076
8076
|
function J(P) {
|
|
@@ -8140,7 +8140,7 @@ const ad = A({
|
|
|
8140
8140
|
selectStrategy: e.multiple ? "independent" : "single-independent",
|
|
8141
8141
|
onMousedown: (Q) => Q.preventDefault(),
|
|
8142
8142
|
onKeydown: _,
|
|
8143
|
-
onFocusin:
|
|
8143
|
+
onFocusin: ae,
|
|
8144
8144
|
tabindex: "-1",
|
|
8145
8145
|
"aria-live": "polite",
|
|
8146
8146
|
color: e.itemColor ?? e.color
|
|
@@ -8158,7 +8158,7 @@ const ad = A({
|
|
|
8158
8158
|
index: H,
|
|
8159
8159
|
itemRef: ue
|
|
8160
8160
|
} = Q;
|
|
8161
|
-
const
|
|
8161
|
+
const Ge = R(oe.props, {
|
|
8162
8162
|
ref: ue,
|
|
8163
8163
|
key: H,
|
|
8164
8164
|
onClick: () => E(oe, null)
|
|
@@ -8166,15 +8166,15 @@ const ad = A({
|
|
|
8166
8166
|
return n.item?.({
|
|
8167
8167
|
item: oe,
|
|
8168
8168
|
index: H,
|
|
8169
|
-
props:
|
|
8170
|
-
}) ?? d($t, R(
|
|
8169
|
+
props: Ge
|
|
8170
|
+
}) ?? d($t, R(Ge, {
|
|
8171
8171
|
role: "option"
|
|
8172
8172
|
}), {
|
|
8173
|
-
prepend: (
|
|
8173
|
+
prepend: (Oe) => {
|
|
8174
8174
|
let {
|
|
8175
8175
|
isSelected: Pe
|
|
8176
|
-
} =
|
|
8177
|
-
return d(ne, null, [e.multiple && !e.hideSelected ? d(
|
|
8176
|
+
} = Oe;
|
|
8177
|
+
return d(ne, null, [e.multiple && !e.hideSelected ? d(Yn, {
|
|
8178
8178
|
key: oe.value,
|
|
8179
8179
|
modelValue: Pe,
|
|
8180
8180
|
ripple: !1,
|
|
@@ -8203,7 +8203,7 @@ const ad = A({
|
|
|
8203
8203
|
},
|
|
8204
8204
|
modelValue: !0,
|
|
8205
8205
|
"onUpdate:modelValue": void 0
|
|
8206
|
-
},
|
|
8206
|
+
}, Ge = P ? !!n.chip : !!n.selection, Oe = Ge ? ko(P ? n.chip({
|
|
8207
8207
|
item: Q,
|
|
8208
8208
|
index: oe,
|
|
8209
8209
|
props: ue
|
|
@@ -8211,7 +8211,7 @@ const ad = A({
|
|
|
8211
8211
|
item: Q,
|
|
8212
8212
|
index: oe
|
|
8213
8213
|
})) : void 0;
|
|
8214
|
-
if (!(
|
|
8214
|
+
if (!(Ge && !Oe))
|
|
8215
8215
|
return d("div", {
|
|
8216
8216
|
key: Q.value,
|
|
8217
8217
|
class: "v-select__selection"
|
|
@@ -8225,18 +8225,18 @@ const ad = A({
|
|
|
8225
8225
|
}
|
|
8226
8226
|
}
|
|
8227
8227
|
}, {
|
|
8228
|
-
default: () => [
|
|
8228
|
+
default: () => [Oe]
|
|
8229
8229
|
}) : d(Gr, R({
|
|
8230
8230
|
key: "chip",
|
|
8231
8231
|
closable: e.closableChips,
|
|
8232
8232
|
size: "small",
|
|
8233
8233
|
text: Q.title,
|
|
8234
8234
|
disabled: Q.props.disabled
|
|
8235
|
-
}, ue), null) :
|
|
8235
|
+
}, ue), null) : Oe ?? d("span", {
|
|
8236
8236
|
class: "v-select__selection-text"
|
|
8237
8237
|
}, [Q.title, e.multiple && oe < f.value.length - 1 && d("span", {
|
|
8238
8238
|
class: "v-select__selection-comma"
|
|
8239
|
-
}, [
|
|
8239
|
+
}, [De(",")])])]);
|
|
8240
8240
|
})]),
|
|
8241
8241
|
"append-inner": function() {
|
|
8242
8242
|
for (var Q = arguments.length, oe = new Array(Q), H = 0; H < Q; H++)
|
|
@@ -8253,7 +8253,7 @@ const ad = A({
|
|
|
8253
8253
|
select: E
|
|
8254
8254
|
}, l);
|
|
8255
8255
|
}
|
|
8256
|
-
}), od = { class: "d-flex align-center justify-lg-start justify-sm-space-between justify-xs-space-between justify-md-start gap-4" }, rd = /* @__PURE__ */
|
|
8256
|
+
}), od = { class: "d-flex align-center justify-lg-start justify-sm-space-between justify-xs-space-between justify-md-start gap-4" }, rd = /* @__PURE__ */ He({
|
|
8257
8257
|
__name: "GenericTablePagination",
|
|
8258
8258
|
props: /* @__PURE__ */ nt({
|
|
8259
8259
|
headers: Array,
|
|
@@ -8274,43 +8274,43 @@ const ad = A({
|
|
|
8274
8274
|
const n = e, a = M(!1), l = it(e, "pagination"), o = (s) => {
|
|
8275
8275
|
es(s, n.data ?? [], n.headers);
|
|
8276
8276
|
}, r = Ui();
|
|
8277
|
-
return (s, i) => (
|
|
8277
|
+
return (s, i) => (le(), $e(ne, null, [
|
|
8278
8278
|
d(Ua),
|
|
8279
8279
|
d(En, {
|
|
8280
8280
|
class: "pa-4",
|
|
8281
8281
|
"justify-lg": "space-between",
|
|
8282
8282
|
align: "center"
|
|
8283
8283
|
}, {
|
|
8284
|
-
default:
|
|
8284
|
+
default: Y(() => [
|
|
8285
8285
|
d(Tn, null, {
|
|
8286
|
-
default:
|
|
8287
|
-
|
|
8288
|
-
|
|
8286
|
+
default: Y(() => [
|
|
8287
|
+
Re("div", od, [
|
|
8288
|
+
Re("div", null, [
|
|
8289
8289
|
d(Qa, null, {
|
|
8290
|
-
activator:
|
|
8291
|
-
d(
|
|
8290
|
+
activator: Y(({ props: u }) => [
|
|
8291
|
+
d(Ne, R({
|
|
8292
8292
|
variant: "outlined",
|
|
8293
8293
|
color: "secondary",
|
|
8294
8294
|
"prepend-icon": "ri-external-link-line"
|
|
8295
8295
|
}, u, {
|
|
8296
8296
|
onClick: i[0] || (i[0] = (c) => a.value = !a.value)
|
|
8297
8297
|
}), {
|
|
8298
|
-
default:
|
|
8299
|
-
|
|
8298
|
+
default: Y(() => [
|
|
8299
|
+
De(" Exportar ")
|
|
8300
8300
|
]),
|
|
8301
8301
|
_: 2
|
|
8302
8302
|
}, 1040)
|
|
8303
8303
|
]),
|
|
8304
|
-
default:
|
|
8305
|
-
a.value ? (
|
|
8306
|
-
default:
|
|
8304
|
+
default: Y(() => [
|
|
8305
|
+
a.value ? (le(), ye(xr, { key: 0 }, {
|
|
8306
|
+
default: Y(() => [
|
|
8307
8307
|
d($t, {
|
|
8308
8308
|
onClick: i[1] || (i[1] = (u) => o("pdf"))
|
|
8309
8309
|
}, {
|
|
8310
|
-
default:
|
|
8311
|
-
d(
|
|
8312
|
-
default:
|
|
8313
|
-
|
|
8310
|
+
default: Y(() => [
|
|
8311
|
+
d(Sa, null, {
|
|
8312
|
+
default: Y(() => [
|
|
8313
|
+
De("PDF")
|
|
8314
8314
|
]),
|
|
8315
8315
|
_: 1
|
|
8316
8316
|
})
|
|
@@ -8320,10 +8320,10 @@ const ad = A({
|
|
|
8320
8320
|
d($t, {
|
|
8321
8321
|
onClick: i[2] || (i[2] = (u) => o("xls"))
|
|
8322
8322
|
}, {
|
|
8323
|
-
default:
|
|
8324
|
-
d(
|
|
8325
|
-
default:
|
|
8326
|
-
|
|
8323
|
+
default: Y(() => [
|
|
8324
|
+
d(Sa, null, {
|
|
8325
|
+
default: Y(() => [
|
|
8326
|
+
De("XLS")
|
|
8327
8327
|
]),
|
|
8328
8328
|
_: 1
|
|
8329
8329
|
})
|
|
@@ -8332,7 +8332,7 @@ const ad = A({
|
|
|
8332
8332
|
})
|
|
8333
8333
|
]),
|
|
8334
8334
|
_: 1
|
|
8335
|
-
})) :
|
|
8335
|
+
})) : Me("", !0)
|
|
8336
8336
|
]),
|
|
8337
8337
|
_: 1
|
|
8338
8338
|
})
|
|
@@ -8373,7 +8373,7 @@ const ad = A({
|
|
|
8373
8373
|
length: l.value.numPages
|
|
8374
8374
|
}, null, 8, ["modelValue", "total-visible", "length"]),
|
|
8375
8375
|
d(En, { justify: "center" }, {
|
|
8376
|
-
default:
|
|
8376
|
+
default: Y(() => [
|
|
8377
8377
|
d(Fn, {
|
|
8378
8378
|
md: "6",
|
|
8379
8379
|
modelValue: l.value.page,
|
|
@@ -8395,7 +8395,7 @@ const ad = A({
|
|
|
8395
8395
|
}), id = A({
|
|
8396
8396
|
id: String,
|
|
8397
8397
|
text: String,
|
|
8398
|
-
...It(
|
|
8398
|
+
...It(Xn({
|
|
8399
8399
|
closeOnBack: !1,
|
|
8400
8400
|
location: "end",
|
|
8401
8401
|
locationStrategy: "connected",
|
|
@@ -8421,7 +8421,7 @@ const ad = A({
|
|
|
8421
8421
|
} = t;
|
|
8422
8422
|
const a = se(e, "modelValue"), {
|
|
8423
8423
|
scopeId: l
|
|
8424
|
-
} =
|
|
8424
|
+
} = qn(), o = Ze(), r = b(() => e.id || `v-tooltip-${o}`), s = M(), i = b(() => e.location.split(" ").length > 1 ? e.location : e.location + " center"), u = b(() => e.origin === "auto" || e.origin === "overlap" || e.origin.split(" ").length > 1 || e.location.split(" ").length > 1 ? e.origin : e.origin + " center"), c = b(() => e.transition ? e.transition : a.value ? "scale-transition" : "fade-transition"), v = b(() => R({
|
|
8425
8425
|
"aria-describedby": r.value
|
|
8426
8426
|
}, e.activatorProps));
|
|
8427
8427
|
return U(() => {
|
|
@@ -8452,7 +8452,7 @@ const ad = A({
|
|
|
8452
8452
|
});
|
|
8453
8453
|
}), vn({}, s);
|
|
8454
8454
|
}
|
|
8455
|
-
}), Xr = /* @__PURE__ */
|
|
8455
|
+
}), Xr = /* @__PURE__ */ He({
|
|
8456
8456
|
__name: "ActionBtn",
|
|
8457
8457
|
props: {
|
|
8458
8458
|
icon: {},
|
|
@@ -8464,34 +8464,34 @@ const ad = A({
|
|
|
8464
8464
|
},
|
|
8465
8465
|
setup(e) {
|
|
8466
8466
|
const { icon: t, tooltip: n, size: a = 30, location: l = "bottom", variant: o = "outlined", color: r = "default" } = e;
|
|
8467
|
-
return (s, i) => (
|
|
8467
|
+
return (s, i) => (le(), ye(Ne, {
|
|
8468
8468
|
size: s.size,
|
|
8469
8469
|
onClick: i[0] || (i[0] = (u) => s.$emit("action")),
|
|
8470
8470
|
variant: s.variant,
|
|
8471
8471
|
color: s.color
|
|
8472
8472
|
}, {
|
|
8473
|
-
default:
|
|
8473
|
+
default: Y(() => [
|
|
8474
8474
|
d(ie, { size: "x-large" }, {
|
|
8475
|
-
default:
|
|
8476
|
-
|
|
8475
|
+
default: Y(() => [
|
|
8476
|
+
De(qe(s.icon), 1)
|
|
8477
8477
|
]),
|
|
8478
8478
|
_: 1
|
|
8479
8479
|
}),
|
|
8480
|
-
s.tooltip ? (
|
|
8480
|
+
s.tooltip ? (le(), ye(tl, {
|
|
8481
8481
|
key: 0,
|
|
8482
8482
|
activator: "parent",
|
|
8483
8483
|
location: s.location
|
|
8484
8484
|
}, {
|
|
8485
|
-
default:
|
|
8486
|
-
|
|
8485
|
+
default: Y(() => [
|
|
8486
|
+
De(qe(s.tooltip), 1)
|
|
8487
8487
|
]),
|
|
8488
8488
|
_: 1
|
|
8489
|
-
}, 8, ["location"])) :
|
|
8489
|
+
}, 8, ["location"])) : Me("", !0)
|
|
8490
8490
|
]),
|
|
8491
8491
|
_: 1
|
|
8492
8492
|
}, 8, ["size", "variant", "color"]));
|
|
8493
8493
|
}
|
|
8494
|
-
}), sd = { class: "d-none d-sm-inline mx-2" }, ud = /* @__PURE__ */
|
|
8494
|
+
}), sd = { class: "d-none d-sm-inline mx-2" }, ud = /* @__PURE__ */ He({
|
|
8495
8495
|
__name: "GenericTableHeader",
|
|
8496
8496
|
props: /* @__PURE__ */ nt({
|
|
8497
8497
|
keyWord: {},
|
|
@@ -8504,7 +8504,7 @@ const ad = A({
|
|
|
8504
8504
|
}),
|
|
8505
8505
|
emits: /* @__PURE__ */ nt(["createItem", "update:search", "showAdjustColumns"], ["update:search"]),
|
|
8506
8506
|
setup(e, { emit: t }) {
|
|
8507
|
-
const n =
|
|
8507
|
+
const n = Rn(), l = e.hideSearch || !1, o = t, r = it(e, "search"), s = wt([
|
|
8508
8508
|
{
|
|
8509
8509
|
icon: "ri-insert-column-left",
|
|
8510
8510
|
color: "primary",
|
|
@@ -8516,21 +8516,21 @@ const ad = A({
|
|
|
8516
8516
|
]);
|
|
8517
8517
|
return Oi(() => {
|
|
8518
8518
|
r.value = "";
|
|
8519
|
-
}), (i, u) => i.hideHeader ?
|
|
8519
|
+
}), (i, u) => i.hideHeader ? Me("", !0) : (le(), ye(En, {
|
|
8520
8520
|
key: 0,
|
|
8521
8521
|
align: "center",
|
|
8522
8522
|
class: "px-6 py-1 my-2",
|
|
8523
8523
|
"justify-lg": "space-between",
|
|
8524
8524
|
cols: "12"
|
|
8525
8525
|
}, {
|
|
8526
|
-
default:
|
|
8526
|
+
default: Y(() => [
|
|
8527
8527
|
d(Tn, {
|
|
8528
8528
|
class: "align-center gap-3 d-flex no-padding",
|
|
8529
8529
|
cols: 12,
|
|
8530
8530
|
md: 6
|
|
8531
8531
|
}, {
|
|
8532
|
-
default:
|
|
8533
|
-
re(l) ?
|
|
8532
|
+
default: Y(() => [
|
|
8533
|
+
re(l) ? Me("", !0) : (le(), ye(Bn, {
|
|
8534
8534
|
key: 0,
|
|
8535
8535
|
modelValue: r.value,
|
|
8536
8536
|
"onUpdate:modelValue": [
|
|
@@ -8545,8 +8545,8 @@ const ad = A({
|
|
|
8545
8545
|
}),
|
|
8546
8546
|
d(yu),
|
|
8547
8547
|
d(Tn, { class: "align-center gap-3 d-flex no-padding" }, {
|
|
8548
|
-
default:
|
|
8549
|
-
(
|
|
8548
|
+
default: Y(() => [
|
|
8549
|
+
(le(!0), $e(ne, null, on(s, (c) => (le(), ye(Xr, {
|
|
8550
8550
|
key: c.key,
|
|
8551
8551
|
icon: c.icon,
|
|
8552
8552
|
tooltip: c.text,
|
|
@@ -8555,19 +8555,19 @@ const ad = A({
|
|
|
8555
8555
|
onAction: c.action,
|
|
8556
8556
|
class: "no-border-rd"
|
|
8557
8557
|
}, null, 8, ["icon", "tooltip", "color", "onAction"]))), 128)),
|
|
8558
|
-
i.hideCreate ?
|
|
8558
|
+
i.hideCreate ? Me("", !0) : (le(), ye(Ne, {
|
|
8559
8559
|
key: 0,
|
|
8560
8560
|
onClick: u[2] || (u[2] = (c) => i.$emit("createItem")),
|
|
8561
8561
|
class: "d-flex"
|
|
8562
8562
|
}, {
|
|
8563
|
-
default:
|
|
8563
|
+
default: Y(() => [
|
|
8564
8564
|
d(ie, null, {
|
|
8565
|
-
default:
|
|
8566
|
-
|
|
8565
|
+
default: Y(() => [
|
|
8566
|
+
De(" ri-add-line ")
|
|
8567
8567
|
]),
|
|
8568
8568
|
_: 1
|
|
8569
8569
|
}),
|
|
8570
|
-
|
|
8570
|
+
Re("span", sd, qe(re(n)("add")) + " " + qe(i.keyWord), 1)
|
|
8571
8571
|
]),
|
|
8572
8572
|
_: 1
|
|
8573
8573
|
})),
|
|
@@ -8585,7 +8585,7 @@ const ad = A({
|
|
|
8585
8585
|
n[a] = l;
|
|
8586
8586
|
return n;
|
|
8587
8587
|
}, cd = /* @__PURE__ */ nl(ud, [["__scopeId", "data-v-fe4fca8e"]]);
|
|
8588
|
-
function
|
|
8588
|
+
function Ve(e) {
|
|
8589
8589
|
e.preventDefault();
|
|
8590
8590
|
}
|
|
8591
8591
|
function yt(e) {
|
|
@@ -8673,16 +8673,16 @@ function fd(e = {}) {
|
|
|
8673
8673
|
if (s.node.data.value === C.draggedNode.data.value) {
|
|
8674
8674
|
switch (C.incomingDirection) {
|
|
8675
8675
|
case "below":
|
|
8676
|
-
|
|
8676
|
+
Ue(s.node.el, t, i);
|
|
8677
8677
|
break;
|
|
8678
8678
|
case "above":
|
|
8679
|
-
|
|
8679
|
+
Ue(s.node.el, n, i);
|
|
8680
8680
|
break;
|
|
8681
8681
|
case "left":
|
|
8682
|
-
|
|
8682
|
+
Ue(s.node.el, l, i);
|
|
8683
8683
|
break;
|
|
8684
8684
|
case "right":
|
|
8685
|
-
|
|
8685
|
+
Ue(s.node.el, a, i);
|
|
8686
8686
|
break;
|
|
8687
8687
|
}
|
|
8688
8688
|
return;
|
|
@@ -8699,27 +8699,27 @@ function fd(e = {}) {
|
|
|
8699
8699
|
), y = Math.abs(
|
|
8700
8700
|
u.y - h.el.getBoundingClientRect().y
|
|
8701
8701
|
);
|
|
8702
|
-
g > y && f ?
|
|
8702
|
+
g > y && f ? Ue(s.node.el, l, i) : g > y && !f && Ue(s.node.el, a, i);
|
|
8703
8703
|
} else
|
|
8704
8704
|
switch (C.incomingDirection) {
|
|
8705
8705
|
case "below":
|
|
8706
|
-
|
|
8706
|
+
Ue(s.node.el, n, i);
|
|
8707
8707
|
break;
|
|
8708
8708
|
case "above":
|
|
8709
|
-
|
|
8709
|
+
Ue(s.node.el, t, i);
|
|
8710
8710
|
break;
|
|
8711
8711
|
case "left":
|
|
8712
|
-
|
|
8712
|
+
Ue(s.node.el, a, i);
|
|
8713
8713
|
break;
|
|
8714
8714
|
case "right":
|
|
8715
|
-
|
|
8715
|
+
Ue(s.node.el, l, i);
|
|
8716
8716
|
break;
|
|
8717
8717
|
}
|
|
8718
8718
|
}
|
|
8719
8719
|
};
|
|
8720
8720
|
};
|
|
8721
8721
|
}
|
|
8722
|
-
function
|
|
8722
|
+
function Ue(e, t, n) {
|
|
8723
8723
|
C && (C.preventEnter = !0, e.animate(t, {
|
|
8724
8724
|
duration: n,
|
|
8725
8725
|
easing: "ease-in-out"
|
|
@@ -8770,7 +8770,7 @@ var vd = {
|
|
|
8770
8770
|
scrollDebounceTimeout: void 0,
|
|
8771
8771
|
frameIdX: void 0,
|
|
8772
8772
|
frameIdY: void 0
|
|
8773
|
-
}, C = vd, ct = !1, Ql,
|
|
8773
|
+
}, C = vd, ct = !1, Ql, va;
|
|
8774
8774
|
function gd() {
|
|
8775
8775
|
C.scrollDebounceTimeout && clearTimeout(C.scrollDebounceTimeout), C.longPressTimeout && clearTimeout(C.longPressTimeout), C.frameIdX !== void 0 && cancelAnimationFrame(C.frameIdX), C.frameIdY !== void 0 && cancelAnimationFrame(C.frameIdY), C = { ...{
|
|
8776
8776
|
affectedNodes: [],
|
|
@@ -8819,9 +8819,9 @@ function md() {
|
|
|
8819
8819
|
C.activeState && Pt(C.activeState.parent, void 0, C), C.selectedState && St(C.selectedState.nodes, C.selectedState.parent, C), C.selectedState = C.activeState = void 0;
|
|
8820
8820
|
}
|
|
8821
8821
|
function yd() {
|
|
8822
|
-
if (C.pointerDown && (C.pointerDown.node.el.draggable = !0), C.pointerDown = void 0, !
|
|
8822
|
+
if (C.pointerDown && (C.pointerDown.node.el.draggable = !0), C.pointerDown = void 0, !Fe(C)) return;
|
|
8823
8823
|
const e = C.currentParent.data.config;
|
|
8824
|
-
|
|
8824
|
+
Fe(C) && e.handleEnd(C);
|
|
8825
8825
|
}
|
|
8826
8826
|
function hd(e) {
|
|
8827
8827
|
e.key === "Escape" && (C.selectedState && St(C.selectedState.nodes, C.selectedState.parent, C), C.activeState && Pt(C.activeState.parent, void 0, C), C.selectedState = C.activeState = void 0);
|
|
@@ -8834,18 +8834,18 @@ function bd(e) {
|
|
|
8834
8834
|
}
|
|
8835
8835
|
function pd(e) {
|
|
8836
8836
|
if (!ke(C)) return;
|
|
8837
|
-
|
|
8837
|
+
Ve(e);
|
|
8838
8838
|
const { x: t, y: n } = Gt(e);
|
|
8839
|
-
ke(C) &&
|
|
8839
|
+
ke(C) && Jn({ x: t, y: n }, e, C);
|
|
8840
8840
|
}
|
|
8841
8841
|
function Sd(e) {
|
|
8842
8842
|
if (!C.pointerDown || !C.pointerDown.validated) return;
|
|
8843
8843
|
const t = C.pointerDown.parent.data.config;
|
|
8844
8844
|
if (!(e.pointerType === "mouse" && !ei()))
|
|
8845
|
-
if (
|
|
8846
|
-
|
|
8845
|
+
if (Fe(C))
|
|
8846
|
+
Fe(C) && Jl(e, C);
|
|
8847
8847
|
else {
|
|
8848
|
-
if (
|
|
8848
|
+
if (Ve(e), t.longPress && !C.longPress) {
|
|
8849
8849
|
clearTimeout(C.longPressTimeout), C.longPress = !1;
|
|
8850
8850
|
return;
|
|
8851
8851
|
}
|
|
@@ -8878,10 +8878,10 @@ function wd({
|
|
|
8878
8878
|
pointermove: Sd,
|
|
8879
8879
|
pointercancel: Ee(a.handlePointercancel),
|
|
8880
8880
|
touchmove: (i) => {
|
|
8881
|
-
ke(C) && i.cancelable &&
|
|
8881
|
+
ke(C) && i.cancelable && Ve(i);
|
|
8882
8882
|
},
|
|
8883
8883
|
contextmenu: (i) => {
|
|
8884
|
-
|
|
8884
|
+
Fe(C) && Ve(i);
|
|
8885
8885
|
}
|
|
8886
8886
|
})), Vd(e);
|
|
8887
8887
|
const [l, o] = Yr(), r = {
|
|
@@ -8940,7 +8940,7 @@ function wd({
|
|
|
8940
8940
|
i(e)?.tearDown?.();
|
|
8941
8941
|
}), a.plugins?.forEach((i) => {
|
|
8942
8942
|
i(e)?.setup?.();
|
|
8943
|
-
}), Id(e, r),
|
|
8943
|
+
}), Id(e, r), Zn(e, !0);
|
|
8944
8944
|
}
|
|
8945
8945
|
function ni(e, t, n, a, l, o) {
|
|
8946
8946
|
const { x: r, y: s } = Gt(n), i = e.el.getBoundingClientRect();
|
|
@@ -8982,11 +8982,11 @@ function Cd({
|
|
|
8982
8982
|
draggedNodes: t,
|
|
8983
8983
|
targetNodes: n
|
|
8984
8984
|
}) {
|
|
8985
|
-
|
|
8985
|
+
Zn(e.el);
|
|
8986
8986
|
const a = t.map((i) => i.data.value), l = Ot(e.el, e.data), o = t[0].data.index, r = [...e.data.enabledNodes], s = [
|
|
8987
8987
|
...l.filter((i) => !a.some((u) => ln(i, u)))
|
|
8988
8988
|
];
|
|
8989
|
-
s.splice(n[0].data.index, 0, ...a), "draggedNode" in C && (C.currentTargetValue = n[0].data.value),
|
|
8989
|
+
s.splice(n[0].data.index, 0, ...a), "draggedNode" in C && (C.currentTargetValue = n[0].data.value), Pa(e.el, e.data, [...s]), e.data.config.onSort && e.data.config.onSort({
|
|
8990
8990
|
parent: {
|
|
8991
8991
|
el: e.el,
|
|
8992
8992
|
data: e.data
|
|
@@ -9048,14 +9048,14 @@ function kd({
|
|
|
9048
9048
|
targetNodes: o,
|
|
9049
9049
|
state: r
|
|
9050
9050
|
}) {
|
|
9051
|
-
|
|
9051
|
+
Zn(n.el);
|
|
9052
9052
|
const s = a.map((f) => f.data.value), i = [
|
|
9053
9053
|
...Ot(e.el, e.data).filter(
|
|
9054
9054
|
(f) => !s.some((h) => ln(f, h))
|
|
9055
9055
|
)
|
|
9056
9056
|
], u = Ot(t.el, t.data), c = n.el === t.el && t.data.config.sortable === !1;
|
|
9057
9057
|
let v;
|
|
9058
|
-
o.length ? (c ? v = l : t.data.config.sortable === !1 ? v = t.data.enabledNodes.length : v = o[0].data.index, u.splice(v, 0, ...s)) : (v = c ? l : t.data.enabledNodes.length, u.splice(v, 0, ...s)),
|
|
9058
|
+
o.length ? (c ? v = l : t.data.config.sortable === !1 ? v = t.data.enabledNodes.length : v = o[0].data.index, u.splice(v, 0, ...s)) : (v = c ? l : t.data.enabledNodes.length, u.splice(v, 0, ...s)), Pa(e.el, e.data, i), Pa(t.el, t.data, u), t.data.config.onTransfer && t.data.config.onTransfer({
|
|
9059
9059
|
sourceParent: e,
|
|
9060
9060
|
targetParent: t,
|
|
9061
9061
|
initialParent: n,
|
|
@@ -9076,7 +9076,7 @@ function kd({
|
|
|
9076
9076
|
function Ot(e, t) {
|
|
9077
9077
|
return [...t.getValues(e)];
|
|
9078
9078
|
}
|
|
9079
|
-
function
|
|
9079
|
+
function Pa(e, t, n) {
|
|
9080
9080
|
t.setValues(n, e);
|
|
9081
9081
|
}
|
|
9082
9082
|
function Pd(e, t) {
|
|
@@ -9091,7 +9091,7 @@ function Vd(e) {
|
|
|
9091
9091
|
function ke(e) {
|
|
9092
9092
|
return "draggedNode" in e && !!e.draggedNode;
|
|
9093
9093
|
}
|
|
9094
|
-
function
|
|
9094
|
+
function Fe(e) {
|
|
9095
9095
|
return "synthDragging" in e && !!e.synthDragging;
|
|
9096
9096
|
}
|
|
9097
9097
|
function Id(e, t) {
|
|
@@ -9112,7 +9112,7 @@ function Id(e, t) {
|
|
|
9112
9112
|
if (!t.config.externalDragHandle || !t.config.externalDragHandle.callback)
|
|
9113
9113
|
return;
|
|
9114
9114
|
const a = t.config.externalDragHandle.callback();
|
|
9115
|
-
if (!
|
|
9115
|
+
if (!ea(a)) {
|
|
9116
9116
|
console.warn(
|
|
9117
9117
|
"No draggable item found from external drag handle callback"
|
|
9118
9118
|
);
|
|
@@ -9155,10 +9155,10 @@ function Dd(e) {
|
|
|
9155
9155
|
pointerdown: Ee(t.handleNodePointerdown),
|
|
9156
9156
|
handleNodePointerover: t.handleNodePointerover,
|
|
9157
9157
|
touchmove: (n) => {
|
|
9158
|
-
ke(C) && n.cancelable &&
|
|
9158
|
+
ke(C) && n.cancelable && Ve(n);
|
|
9159
9159
|
},
|
|
9160
9160
|
contextmenu: (n) => {
|
|
9161
|
-
|
|
9161
|
+
Fe(C) && Ve(n);
|
|
9162
9162
|
}
|
|
9163
9163
|
}), e.node.el.draggable = !0, t.reapplyDragClasses(e.node.el, e.parent.data), e.parent.data.config.plugins?.forEach((n) => {
|
|
9164
9164
|
n(e.parent.el)?.setupNode?.(e);
|
|
@@ -9171,7 +9171,7 @@ function ai(e) {
|
|
|
9171
9171
|
}
|
|
9172
9172
|
function Ad(e, t) {
|
|
9173
9173
|
if (!ke(C)) return;
|
|
9174
|
-
const n =
|
|
9174
|
+
const n = Fe(C) ? t.config.synthDropZoneClass : t.config.dropZoneClass;
|
|
9175
9175
|
C.draggedNode.el === e && Ft([e], n, !0);
|
|
9176
9176
|
}
|
|
9177
9177
|
function Td(e) {
|
|
@@ -9188,16 +9188,16 @@ function _d(e) {
|
|
|
9188
9188
|
if (e.length === 1 && e[0].addedNodes.length === 1 && !(e[0].addedNodes[0] instanceof HTMLElement))
|
|
9189
9189
|
return;
|
|
9190
9190
|
const t = e[0].target;
|
|
9191
|
-
!(t instanceof HTMLElement) || !pe.get(t) ||
|
|
9191
|
+
!(t instanceof HTMLElement) || !pe.get(t) || Zn(t);
|
|
9192
9192
|
}
|
|
9193
|
-
function
|
|
9193
|
+
function Zn(e, t) {
|
|
9194
9194
|
const n = pe.get(e);
|
|
9195
9195
|
if (!n) return;
|
|
9196
9196
|
n.privateClasses = Array.from(e.classList);
|
|
9197
9197
|
const a = [], l = n.config;
|
|
9198
9198
|
for (let s = 0; s < e.children.length; s++) {
|
|
9199
9199
|
const i = e.children[s];
|
|
9200
|
-
if (!
|
|
9200
|
+
if (!ea(i) || i.id === "dnd-dragged-node-clone") continue;
|
|
9201
9201
|
const u = Xe.get(i);
|
|
9202
9202
|
(t || !u) && l.tearDownNode({
|
|
9203
9203
|
parent: {
|
|
@@ -9293,7 +9293,7 @@ function Nd(e) {
|
|
|
9293
9293
|
return [];
|
|
9294
9294
|
}
|
|
9295
9295
|
function $d(e) {
|
|
9296
|
-
ke(C) && (C.emit("scrollStarted", C), !
|
|
9296
|
+
ke(C) && (C.emit("scrollStarted", C), !Fe(C) && (C.preventEnter = !0, va && clearTimeout(va), va = setTimeout(() => {
|
|
9297
9297
|
C.preventEnter = !1, C.emit("scrollEnded", C);
|
|
9298
9298
|
}, 100)));
|
|
9299
9299
|
}
|
|
@@ -9305,7 +9305,7 @@ function Ld(e, t) {
|
|
|
9305
9305
|
node: e.targetData.node,
|
|
9306
9306
|
config: n
|
|
9307
9307
|
})) {
|
|
9308
|
-
|
|
9308
|
+
Ve(e.e);
|
|
9309
9309
|
return;
|
|
9310
9310
|
}
|
|
9311
9311
|
let a = n.draggedNodes({
|
|
@@ -9498,7 +9498,7 @@ function li({
|
|
|
9498
9498
|
function zd(e) {
|
|
9499
9499
|
}
|
|
9500
9500
|
function Hd(e) {
|
|
9501
|
-
e.detail.targetData.parent.el === e.detail.state.currentParent.el ? ii(e.detail, e.detail.state) :
|
|
9501
|
+
e.detail.targetData.parent.el === e.detail.state.currentParent.el ? ii(e.detail, e.detail.state) : Qn(e.detail, e.detail.state);
|
|
9502
9502
|
}
|
|
9503
9503
|
function jd(e, t) {
|
|
9504
9504
|
const n = e.targetData.parent.data.config;
|
|
@@ -9513,7 +9513,7 @@ function Gd(e) {
|
|
|
9513
9513
|
function Ud(e, t) {
|
|
9514
9514
|
const n = e.targetData.parent.data.config;
|
|
9515
9515
|
if (n.nativeDrag) {
|
|
9516
|
-
if (
|
|
9516
|
+
if (Ve(e.e), yt(e.e), ct) {
|
|
9517
9517
|
ct = !1;
|
|
9518
9518
|
return;
|
|
9519
9519
|
}
|
|
@@ -9521,8 +9521,8 @@ function Ud(e, t) {
|
|
|
9521
9521
|
}
|
|
9522
9522
|
}
|
|
9523
9523
|
function Kd(e, t) {
|
|
9524
|
-
if (!
|
|
9525
|
-
if (
|
|
9524
|
+
if (!Fe(t)) return;
|
|
9525
|
+
if (Ve(e.e), ct) {
|
|
9526
9526
|
ct = !1;
|
|
9527
9527
|
return;
|
|
9528
9528
|
}
|
|
@@ -9537,8 +9537,8 @@ function Kd(e, t) {
|
|
|
9537
9537
|
}
|
|
9538
9538
|
function oi(e) {
|
|
9539
9539
|
e.draggedNode && (e.draggedNode.el.draggable = !0);
|
|
9540
|
-
const t = e.draggedNodes.map((c) => c.el), n = e.initialParent.data, a =
|
|
9541
|
-
|
|
9540
|
+
const t = e.draggedNodes.map((c) => c.el), n = e.initialParent.data, a = Fe(e), l = pe.get(e.initialParent.el)?.config, o = a ? l?.synthDropZoneClass : l?.dropZoneClass, r = n?.config?.longPressClass, s = a ? n?.config?.synthDragPlaceholderClass : n?.config?.dragPlaceholderClass, i = e.originalZIndex;
|
|
9541
|
+
Fe(e) && (e.clonedDraggedNode && e.clonedDraggedNode.remove(), e.longPressTimeout && clearTimeout(e.longPressTimeout)), Va(e), e.lastScrollDirectionX = void 0, e.lastScrollDirectionY = void 0, e.preventEnter = !1, e.scrollDebounceTimeout && (clearTimeout(e.scrollDebounceTimeout), e.scrollDebounceTimeout = void 0), i !== void 0 && e.draggedNode && (e.draggedNode.el.style.zIndex = i), requestAnimationFrame(() => {
|
|
9542
9542
|
ut(t, o), ut(t, r), ut(t, s);
|
|
9543
9543
|
}), St(e.draggedNodes, e.currentParent, e), Pt(e.currentParent, void 0, e);
|
|
9544
9544
|
const u = { ...e };
|
|
@@ -9646,10 +9646,10 @@ function Xd(e, t, n, a, l, o) {
|
|
|
9646
9646
|
function Yd(e, t, n) {
|
|
9647
9647
|
const a = e.targetData.parent.data.config;
|
|
9648
9648
|
t.longPressTimeout = setTimeout(() => {
|
|
9649
|
-
t && (t.longPress = !0, a.longPressClass && e.e.cancelable && Ft([n.el], a.longPressClass),
|
|
9649
|
+
t && (t.longPress = !0, a.longPressClass && e.e.cancelable && Ft([n.el], a.longPressClass), Ve(e.e));
|
|
9650
9650
|
}, a.longPressDuration || 1e3);
|
|
9651
9651
|
}
|
|
9652
|
-
function
|
|
9652
|
+
function Va(e, t = !0, n = !0) {
|
|
9653
9653
|
t && (e.frameIdX !== void 0 && (cancelAnimationFrame(e.frameIdX), e.frameIdX = void 0), e.lastScrollDirectionX = void 0), n && (e.frameIdY !== void 0 && (cancelAnimationFrame(e.frameIdY), e.frameIdY = void 0), e.lastScrollDirectionY = void 0), !e.frameIdX && !e.frameIdY && (e.preventEnter = !1);
|
|
9654
9654
|
}
|
|
9655
9655
|
function ri(e, t = !1) {
|
|
@@ -9662,7 +9662,7 @@ function ri(e, t = !1) {
|
|
|
9662
9662
|
function Jl(e, t, n = !1) {
|
|
9663
9663
|
const a = Gt(e);
|
|
9664
9664
|
t.coordinates.x = a.x, t.coordinates.y = a.y, ri(t, n), t.scrollDebounceTimeout && (clearTimeout(t.scrollDebounceTimeout), t.scrollDebounceTimeout = void 0), t.scrollDebounceTimeout = setTimeout(() => {
|
|
9665
|
-
|
|
9665
|
+
Fe(t) && Jn(t.coordinates, e, t);
|
|
9666
9666
|
}, 16);
|
|
9667
9667
|
const l = rf(a);
|
|
9668
9668
|
if (!l) {
|
|
@@ -9694,16 +9694,16 @@ function Jl(e, t, n = !1) {
|
|
|
9694
9694
|
function Zd(e, t) {
|
|
9695
9695
|
if (!e.targetData.parent.data.config.nativeDrag) return;
|
|
9696
9696
|
const { x: a, y: l } = Gt(e.e);
|
|
9697
|
-
t.coordinates.y = l, t.coordinates.x = a,
|
|
9697
|
+
t.coordinates.y = l, t.coordinates.x = a, Ve(e.e), yt(e.e), ke(t) && Jn({ x: a, y: l }, e.e, t), e.targetData.parent.el === t.currentParent?.el ? ii(e, t) : Qn(e, t);
|
|
9698
9698
|
}
|
|
9699
9699
|
function Qd(e, t) {
|
|
9700
9700
|
if (!e.targetData.parent.data.config.nativeDrag) return;
|
|
9701
|
-
|
|
9701
|
+
Ve(e.e), yt(e.e);
|
|
9702
9702
|
const { x: a, y: l } = Gt(e.e);
|
|
9703
|
-
ke(t) &&
|
|
9703
|
+
ke(t) && Jn({ x: a, y: l }, e.e, t), Qn(e, t);
|
|
9704
9704
|
}
|
|
9705
9705
|
function Jd(e) {
|
|
9706
|
-
e.detail.targetData.parent.el !== e.detail.state.currentParent.el &&
|
|
9706
|
+
e.detail.targetData.parent.el !== e.detail.state.currentParent.el && Qn(e.detail, e.detail.state);
|
|
9707
9707
|
}
|
|
9708
9708
|
function ef({
|
|
9709
9709
|
currentParent: e,
|
|
@@ -9724,10 +9724,10 @@ function ef({
|
|
|
9724
9724
|
) : !(!o.group || o.group !== r.group);
|
|
9725
9725
|
}
|
|
9726
9726
|
function tf(e, t) {
|
|
9727
|
-
|
|
9727
|
+
Ve(e.e);
|
|
9728
9728
|
}
|
|
9729
9729
|
function nf(e, t) {
|
|
9730
|
-
|
|
9730
|
+
Ve(e.e);
|
|
9731
9731
|
}
|
|
9732
9732
|
function af(e, t, n, a) {
|
|
9733
9733
|
if (t.affectedNodes.map((c) => c.data.value).includes(e.targetData.node.data.value))
|
|
@@ -9804,8 +9804,8 @@ function Ee(e) {
|
|
|
9804
9804
|
);
|
|
9805
9805
|
};
|
|
9806
9806
|
}
|
|
9807
|
-
function
|
|
9808
|
-
|
|
9807
|
+
function Qn(e, t) {
|
|
9808
|
+
Ve(e.e), ef({
|
|
9809
9809
|
currentParent: t.currentParent,
|
|
9810
9810
|
targetParent: e.targetData.parent,
|
|
9811
9811
|
initialParent: t.initialParent,
|
|
@@ -9875,7 +9875,7 @@ function ut(e, t) {
|
|
|
9875
9875
|
const n = Jr(t);
|
|
9876
9876
|
if (n.length)
|
|
9877
9877
|
for (const a of e) {
|
|
9878
|
-
if (!
|
|
9878
|
+
if (!ea(a)) {
|
|
9879
9879
|
a.classList.remove(...n);
|
|
9880
9880
|
continue;
|
|
9881
9881
|
}
|
|
@@ -9925,7 +9925,7 @@ function of(e, t, n, a) {
|
|
|
9925
9925
|
n[i] = void 0, n[s] = void 0;
|
|
9926
9926
|
return;
|
|
9927
9927
|
}
|
|
9928
|
-
e[c] += r * o,
|
|
9928
|
+
e[c] += r * o, Fe(n) && ri(n), n[i] = requestAnimationFrame(u);
|
|
9929
9929
|
};
|
|
9930
9930
|
n[i] = requestAnimationFrame(u);
|
|
9931
9931
|
}
|
|
@@ -9933,10 +9933,10 @@ function to(e, t, n) {
|
|
|
9933
9933
|
const a = e.getBoundingClientRect();
|
|
9934
9934
|
return t >= a.left && t <= a.right && n >= a.top && n <= a.bottom;
|
|
9935
9935
|
}
|
|
9936
|
-
function
|
|
9936
|
+
function Jn(e, t, n) {
|
|
9937
9937
|
if (!ke(n) || !n.draggedNode)
|
|
9938
9938
|
return;
|
|
9939
|
-
|
|
9939
|
+
Va(n);
|
|
9940
9940
|
const { x: a, y: l } = e;
|
|
9941
9941
|
let o = !1;
|
|
9942
9942
|
const r = (i, u, c) => {
|
|
@@ -9957,11 +9957,11 @@ function ea(e, t, n) {
|
|
|
9957
9957
|
const i = document.scrollingElement;
|
|
9958
9958
|
i instanceof HTMLElement && s(i);
|
|
9959
9959
|
}
|
|
9960
|
-
o ||
|
|
9960
|
+
o || Va(n);
|
|
9961
9961
|
}
|
|
9962
9962
|
function rf(e) {
|
|
9963
9963
|
let t = document.elementFromPoint(e.x, e.y);
|
|
9964
|
-
if (!
|
|
9964
|
+
if (!ea(t)) return;
|
|
9965
9965
|
let n, a = !0;
|
|
9966
9966
|
for (; t && a; ) {
|
|
9967
9967
|
if (Xe.has(t) || pe.has(t)) {
|
|
@@ -9994,7 +9994,7 @@ function rf(e) {
|
|
|
9994
9994
|
} : void 0;
|
|
9995
9995
|
}
|
|
9996
9996
|
}
|
|
9997
|
-
function
|
|
9997
|
+
function ea(e) {
|
|
9998
9998
|
return e instanceof HTMLElement && e.parentNode instanceof HTMLElement;
|
|
9999
9999
|
}
|
|
10000
10000
|
function Nn(e, t) {
|
|
@@ -10091,13 +10091,13 @@ const vf = z()({
|
|
|
10091
10091
|
}
|
|
10092
10092
|
}), yf = Oa("v-card-title"), hf = A({
|
|
10093
10093
|
appendAvatar: String,
|
|
10094
|
-
appendIcon:
|
|
10094
|
+
appendIcon: X,
|
|
10095
10095
|
prependAvatar: String,
|
|
10096
|
-
prependIcon:
|
|
10096
|
+
prependIcon: X,
|
|
10097
10097
|
subtitle: [String, Number],
|
|
10098
10098
|
title: [String, Number],
|
|
10099
10099
|
...te(),
|
|
10100
|
-
...
|
|
10100
|
+
...Le()
|
|
10101
10101
|
}, "VCardItem"), bf = z()({
|
|
10102
10102
|
name: "VCardItem",
|
|
10103
10103
|
props: hf(),
|
|
@@ -10175,7 +10175,7 @@ const vf = z()({
|
|
|
10175
10175
|
opacity: [Number, String],
|
|
10176
10176
|
...te(),
|
|
10177
10177
|
...ve()
|
|
10178
|
-
}, "VCardText"),
|
|
10178
|
+
}, "VCardText"), Ia = z()({
|
|
10179
10179
|
name: "VCardText",
|
|
10180
10180
|
props: pf(),
|
|
10181
10181
|
setup(e, t) {
|
|
@@ -10191,7 +10191,7 @@ const vf = z()({
|
|
|
10191
10191
|
}
|
|
10192
10192
|
}), Sf = A({
|
|
10193
10193
|
appendAvatar: String,
|
|
10194
|
-
appendIcon:
|
|
10194
|
+
appendIcon: X,
|
|
10195
10195
|
disabled: Boolean,
|
|
10196
10196
|
flat: Boolean,
|
|
10197
10197
|
hover: Boolean,
|
|
@@ -10201,7 +10201,7 @@ const vf = z()({
|
|
|
10201
10201
|
default: void 0
|
|
10202
10202
|
},
|
|
10203
10203
|
prependAvatar: String,
|
|
10204
|
-
prependIcon:
|
|
10204
|
+
prependIcon: X,
|
|
10205
10205
|
ripple: {
|
|
10206
10206
|
type: [Boolean, Object],
|
|
10207
10207
|
default: !0
|
|
@@ -10211,20 +10211,20 @@ const vf = z()({
|
|
|
10211
10211
|
title: [String, Number],
|
|
10212
10212
|
...ft(),
|
|
10213
10213
|
...te(),
|
|
10214
|
-
...
|
|
10214
|
+
...Le(),
|
|
10215
10215
|
...vt(),
|
|
10216
10216
|
...At(),
|
|
10217
|
-
...
|
|
10217
|
+
...Hn(),
|
|
10218
10218
|
...ja(),
|
|
10219
10219
|
...Oo(),
|
|
10220
|
-
...
|
|
10221
|
-
...
|
|
10220
|
+
...We(),
|
|
10221
|
+
...Gn(),
|
|
10222
10222
|
...ve(),
|
|
10223
|
-
...
|
|
10223
|
+
...me(),
|
|
10224
10224
|
...ot({
|
|
10225
10225
|
variant: "elevated"
|
|
10226
10226
|
})
|
|
10227
|
-
}, "VCard"),
|
|
10227
|
+
}, "VCard"), $n = z()({
|
|
10228
10228
|
name: "VCard",
|
|
10229
10229
|
directives: {
|
|
10230
10230
|
Ripple: dn
|
|
@@ -10251,13 +10251,13 @@ const vf = z()({
|
|
|
10251
10251
|
elevationClasses: v
|
|
10252
10252
|
} = jt(e), {
|
|
10253
10253
|
loaderClasses: f
|
|
10254
|
-
} =
|
|
10254
|
+
} = jn(e), {
|
|
10255
10255
|
locationStyles: h
|
|
10256
10256
|
} = Wa(e), {
|
|
10257
10257
|
positionClasses: g
|
|
10258
10258
|
} = Ro(e), {
|
|
10259
10259
|
roundedClasses: y
|
|
10260
|
-
} = Je(e), m =
|
|
10260
|
+
} = Je(e), m = Wn(e, n), p = b(() => e.link !== !1 && m.isLink.value), w = b(() => !e.disabled && e.link !== !1 && (e.link || m.isClickable.value));
|
|
10261
10261
|
return U(() => {
|
|
10262
10262
|
const x = p.value ? "a" : e.tag, D = !!(a.title || e.title != null), F = !!(a.subtitle || e.subtitle != null), B = D || F, I = !!(a.append || e.appendAvatar || e.appendIcon), S = !!(a.prepend || e.prependAvatar || e.prependIcon), k = !!(a.image || e.image), L = B || S || I, _ = !!(a.text || e.text != null);
|
|
10263
10263
|
return Ae(d(x, R({
|
|
@@ -10307,7 +10307,7 @@ const vf = z()({
|
|
|
10307
10307
|
title: a.title,
|
|
10308
10308
|
subtitle: a.subtitle,
|
|
10309
10309
|
append: a.append
|
|
10310
|
-
}), _ && d(
|
|
10310
|
+
}), _ && d(Ia, {
|
|
10311
10311
|
key: "text"
|
|
10312
10312
|
}, {
|
|
10313
10313
|
default: () => [a.text?.() ?? e.text]
|
|
@@ -10324,7 +10324,7 @@ const vf = z()({
|
|
|
10324
10324
|
default: !0
|
|
10325
10325
|
},
|
|
10326
10326
|
scrollable: Boolean,
|
|
10327
|
-
...
|
|
10327
|
+
...Xn({
|
|
10328
10328
|
origin: "center center",
|
|
10329
10329
|
scrollStrategy: "block",
|
|
10330
10330
|
transition: {
|
|
@@ -10347,7 +10347,7 @@ const vf = z()({
|
|
|
10347
10347
|
} = t;
|
|
10348
10348
|
const l = se(e, "modelValue"), {
|
|
10349
10349
|
scopeId: o
|
|
10350
|
-
} =
|
|
10350
|
+
} = qn(), r = M();
|
|
10351
10351
|
function s(c) {
|
|
10352
10352
|
const v = c.relatedTarget, f = c.target;
|
|
10353
10353
|
if (v !== f && r.value?.contentEl && // We're the topmost dialog
|
|
@@ -10360,7 +10360,7 @@ const vf = z()({
|
|
|
10360
10360
|
v === g ? y.focus() : g.focus();
|
|
10361
10361
|
}
|
|
10362
10362
|
}
|
|
10363
|
-
|
|
10363
|
+
je(() => {
|
|
10364
10364
|
document.removeEventListener("focusin", s);
|
|
10365
10365
|
}), de && q(() => l.value && e.retainFocus, (c) => {
|
|
10366
10366
|
c ? document.addEventListener("focusin", s) : document.removeEventListener("focusin", s);
|
|
@@ -10419,7 +10419,7 @@ const vf = z()({
|
|
|
10419
10419
|
});
|
|
10420
10420
|
}), vn({}, r);
|
|
10421
10421
|
}
|
|
10422
|
-
}), xf = { class: "text-base text-high-emphasis mb-0" }, kf = { class: "d-flex justify-space-between" }, Pf = { class: "d-flex justify-center" }, Vf = /* @__PURE__ */
|
|
10422
|
+
}), xf = { class: "text-base text-high-emphasis mb-0" }, kf = { class: "d-flex justify-space-between" }, Pf = { class: "d-flex justify-center" }, Vf = /* @__PURE__ */ He({
|
|
10423
10423
|
__name: "AdjustColumnsDialog",
|
|
10424
10424
|
props: /* @__PURE__ */ nt({
|
|
10425
10425
|
showAdjustColumns: { type: Boolean }
|
|
@@ -10431,7 +10431,7 @@ const vf = z()({
|
|
|
10431
10431
|
}),
|
|
10432
10432
|
emits: /* @__PURE__ */ nt(["update:showAdjustColumns"], ["update:sortedHeaders"]),
|
|
10433
10433
|
setup(e, { emit: t }) {
|
|
10434
|
-
const n =
|
|
10434
|
+
const n = Rn(), a = t, l = e, o = it(e, "sortedHeaders"), r = M(), s = (u) => {
|
|
10435
10435
|
a("update:showAdjustColumns", u);
|
|
10436
10436
|
};
|
|
10437
10437
|
q(() => l.showAdjustColumns, (u) => {
|
|
@@ -10460,45 +10460,45 @@ const vf = z()({
|
|
|
10460
10460
|
v.sequence < u.initialIndex && v.sequence >= u.targetIndex && v.sequence++;
|
|
10461
10461
|
c && (c.sequence = u.targetIndex);
|
|
10462
10462
|
};
|
|
10463
|
-
return (u, c) => (
|
|
10463
|
+
return (u, c) => (le(), ye(Cf, {
|
|
10464
10464
|
"model-value": l.showAdjustColumns,
|
|
10465
10465
|
"onUpdate:modelValue": s,
|
|
10466
10466
|
width: "500"
|
|
10467
10467
|
}, {
|
|
10468
|
-
default:
|
|
10469
|
-
d(
|
|
10468
|
+
default: Y(() => [
|
|
10469
|
+
d($n, {
|
|
10470
10470
|
title: re(n)("adjust_columns")
|
|
10471
10471
|
}, {
|
|
10472
|
-
default:
|
|
10473
|
-
d(
|
|
10474
|
-
default:
|
|
10475
|
-
|
|
10472
|
+
default: Y(() => [
|
|
10473
|
+
d(Ia, null, {
|
|
10474
|
+
default: Y(() => [
|
|
10475
|
+
Re("div", {
|
|
10476
10476
|
ref_key: "refHeadersBoard",
|
|
10477
10477
|
ref: r,
|
|
10478
10478
|
class: "kanban-board-drop-zone mb-4 rounded d-flex flex-column gap-4"
|
|
10479
10479
|
}, [
|
|
10480
|
-
(
|
|
10480
|
+
(le(!0), $e(ne, null, on(o.value, (v) => (le(), $e(ne, {
|
|
10481
10481
|
key: v.sequence
|
|
10482
10482
|
}, [
|
|
10483
|
-
v ? (
|
|
10483
|
+
v ? (le(), ye($n, {
|
|
10484
10484
|
key: 0,
|
|
10485
10485
|
variant: "outlined",
|
|
10486
10486
|
ripple: !1,
|
|
10487
10487
|
link: !1,
|
|
10488
10488
|
class: "kanban-card position-relative"
|
|
10489
10489
|
}, {
|
|
10490
|
-
default:
|
|
10491
|
-
d(
|
|
10492
|
-
default:
|
|
10493
|
-
|
|
10494
|
-
|
|
10495
|
-
|
|
10490
|
+
default: Y(() => [
|
|
10491
|
+
d(Ia, { class: "d-flex flex-column gap-2" }, {
|
|
10492
|
+
default: Y(() => [
|
|
10493
|
+
Re("div", xf, [
|
|
10494
|
+
Re("div", kf, [
|
|
10495
|
+
Re("div", Pf, [
|
|
10496
10496
|
d(ie, {
|
|
10497
10497
|
class: "drag-handler",
|
|
10498
10498
|
size: "20",
|
|
10499
10499
|
icon: "ri-draggable"
|
|
10500
10500
|
}),
|
|
10501
|
-
|
|
10501
|
+
De(" " + qe(v.title), 1)
|
|
10502
10502
|
]),
|
|
10503
10503
|
d(ie, {
|
|
10504
10504
|
onClick: (f) => v.isVisible = !v.isVisible,
|
|
@@ -10513,7 +10513,7 @@ const vf = z()({
|
|
|
10513
10513
|
}, 1024)
|
|
10514
10514
|
]),
|
|
10515
10515
|
_: 2
|
|
10516
|
-
}, 1024)) :
|
|
10516
|
+
}, 1024)) : Me("", !0)
|
|
10517
10517
|
], 64))), 128))
|
|
10518
10518
|
], 512)
|
|
10519
10519
|
]),
|
|
@@ -10526,14 +10526,14 @@ const vf = z()({
|
|
|
10526
10526
|
_: 1
|
|
10527
10527
|
}, 8, ["model-value"]));
|
|
10528
10528
|
}
|
|
10529
|
-
}), If = /* @__PURE__ */ nl(Vf, [["__scopeId", "data-v-9a7b8fff"]]), Df = { class: "d-flex justify-end mt-3" }, Af = /* @__PURE__ */
|
|
10529
|
+
}), If = /* @__PURE__ */ nl(Vf, [["__scopeId", "data-v-9a7b8fff"]]), Df = { class: "d-flex justify-end mt-3" }, Af = /* @__PURE__ */ He({
|
|
10530
10530
|
__name: "TableColumnFilterMenu",
|
|
10531
10531
|
props: {
|
|
10532
10532
|
column: {},
|
|
10533
10533
|
filterFn: { type: Function }
|
|
10534
10534
|
},
|
|
10535
10535
|
setup(e) {
|
|
10536
|
-
const t =
|
|
10536
|
+
const t = Rn(), n = e, a = M({}), l = M({}), o = () => {
|
|
10537
10537
|
console.warn(t("filterFnNotDefined"));
|
|
10538
10538
|
}, r = (i) => {
|
|
10539
10539
|
if (l.value[i] = !1, a.value[i] === "" && delete a.value[i], n.filterFn) {
|
|
@@ -10547,21 +10547,21 @@ const vf = z()({
|
|
|
10547
10547
|
}, s = (i) => {
|
|
10548
10548
|
l.value[i] = !1;
|
|
10549
10549
|
};
|
|
10550
|
-
return (i, u) => (
|
|
10550
|
+
return (i, u) => (le(), ye(Qa, {
|
|
10551
10551
|
"close-on-content-click": !1,
|
|
10552
10552
|
"offset-y": "",
|
|
10553
10553
|
"offset-x": "",
|
|
10554
10554
|
modelValue: l.value[i.column.value],
|
|
10555
10555
|
"onUpdate:modelValue": u[3] || (u[3] = (c) => l.value[i.column.value] = c)
|
|
10556
10556
|
}, {
|
|
10557
|
-
activator:
|
|
10557
|
+
activator: Y(({ props: c }) => [
|
|
10558
10558
|
d(ie, R(c, {
|
|
10559
10559
|
icon: "ri-filter-line",
|
|
10560
10560
|
color: a.value[i.column.value] ? "success" : "medium-emphasis",
|
|
10561
10561
|
size: "small",
|
|
10562
10562
|
class: "cursor-pointer"
|
|
10563
10563
|
}), {
|
|
10564
|
-
default:
|
|
10564
|
+
default: Y(() => [
|
|
10565
10565
|
d(tl, {
|
|
10566
10566
|
activator: "parent",
|
|
10567
10567
|
text: re(t)("filterColumn")
|
|
@@ -10570,12 +10570,12 @@ const vf = z()({
|
|
|
10570
10570
|
_: 2
|
|
10571
10571
|
}, 1040, ["color"])
|
|
10572
10572
|
]),
|
|
10573
|
-
default:
|
|
10574
|
-
d(
|
|
10573
|
+
default: Y(() => [
|
|
10574
|
+
d($n, {
|
|
10575
10575
|
"min-width": "250",
|
|
10576
10576
|
class: "pa-3"
|
|
10577
10577
|
}, {
|
|
10578
|
-
default:
|
|
10578
|
+
default: Y(() => [
|
|
10579
10579
|
d(Bn, {
|
|
10580
10580
|
modelValue: a.value[i.column.value],
|
|
10581
10581
|
"onUpdate:modelValue": u[0] || (u[0] = (c) => a.value[i.column.value] = c),
|
|
@@ -10585,27 +10585,27 @@ const vf = z()({
|
|
|
10585
10585
|
"hide-details": "",
|
|
10586
10586
|
clearable: ""
|
|
10587
10587
|
}, null, 8, ["modelValue", "label"]),
|
|
10588
|
-
|
|
10589
|
-
d(
|
|
10588
|
+
Re("div", Df, [
|
|
10589
|
+
d(Ne, {
|
|
10590
10590
|
variant: "text",
|
|
10591
10591
|
size: "small",
|
|
10592
10592
|
color: "grey",
|
|
10593
10593
|
onClick: u[1] || (u[1] = (c) => s(i.column.value))
|
|
10594
10594
|
}, {
|
|
10595
|
-
default:
|
|
10596
|
-
|
|
10595
|
+
default: Y(() => [
|
|
10596
|
+
De(qe(re(t)("cancel")), 1)
|
|
10597
10597
|
]),
|
|
10598
10598
|
_: 1
|
|
10599
10599
|
}),
|
|
10600
|
-
d(
|
|
10600
|
+
d(Ne, {
|
|
10601
10601
|
variant: "flat",
|
|
10602
10602
|
size: "small",
|
|
10603
10603
|
color: "primary",
|
|
10604
10604
|
class: "ml-2",
|
|
10605
10605
|
onClick: u[2] || (u[2] = (c) => r(i.column.value))
|
|
10606
10606
|
}, {
|
|
10607
|
-
default:
|
|
10608
|
-
|
|
10607
|
+
default: Y(() => [
|
|
10608
|
+
De(qe(re(t)("ok")), 1)
|
|
10609
10609
|
]),
|
|
10610
10610
|
_: 1
|
|
10611
10611
|
})
|
|
@@ -10617,7 +10617,7 @@ const vf = z()({
|
|
|
10617
10617
|
_: 1
|
|
10618
10618
|
}, 8, ["modelValue"]));
|
|
10619
10619
|
}
|
|
10620
|
-
}), Tf = { class: "d-flex justify-space-between align-center" }, Ef = ["onClick"], _f = ["textContent"], Ff = /* @__PURE__ */
|
|
10620
|
+
}), Tf = { class: "d-flex justify-space-between align-center" }, Ef = ["onClick"], _f = ["textContent"], Ff = /* @__PURE__ */ He({
|
|
10621
10621
|
__name: "TableHeader",
|
|
10622
10622
|
props: {
|
|
10623
10623
|
columns: {},
|
|
@@ -10628,30 +10628,30 @@ const vf = z()({
|
|
|
10628
10628
|
},
|
|
10629
10629
|
setup(e) {
|
|
10630
10630
|
const t = (n) => n.filterable;
|
|
10631
|
-
return (n, a) => (
|
|
10632
|
-
(
|
|
10631
|
+
return (n, a) => (le(), $e("tr", null, [
|
|
10632
|
+
(le(!0), $e(ne, null, on(n.columns, (l) => (le(), $e("th", {
|
|
10633
10633
|
key: l.title,
|
|
10634
10634
|
scope: "col"
|
|
10635
10635
|
}, [
|
|
10636
|
-
|
|
10637
|
-
|
|
10636
|
+
Re("div", Tf, [
|
|
10637
|
+
Re("span", {
|
|
10638
10638
|
onClick: (o) => l.sortable && n.toggleSort(l),
|
|
10639
10639
|
class: co(["me-2", { "cursor-pointer": l.sortable }])
|
|
10640
10640
|
}, [
|
|
10641
|
-
|
|
10642
|
-
textContent:
|
|
10641
|
+
Re("span", {
|
|
10642
|
+
textContent: qe(l.title)
|
|
10643
10643
|
}, null, 8, _f),
|
|
10644
|
-
n.isSorted(l) ? (
|
|
10644
|
+
n.isSorted(l) ? (le(), ye(ie, {
|
|
10645
10645
|
key: 0,
|
|
10646
10646
|
icon: n.getSortIcon(l),
|
|
10647
10647
|
color: "medium-emphasis"
|
|
10648
|
-
}, null, 8, ["icon"])) :
|
|
10648
|
+
}, null, 8, ["icon"])) : Me("", !0)
|
|
10649
10649
|
], 10, Ef),
|
|
10650
|
-
t(l) ? (
|
|
10650
|
+
t(l) ? (le(), ye(Af, {
|
|
10651
10651
|
key: 0,
|
|
10652
10652
|
column: l,
|
|
10653
10653
|
filterFn: n.filterFn
|
|
10654
|
-
}, null, 8, ["column", "filterFn"])) :
|
|
10654
|
+
}, null, 8, ["column", "filterFn"])) : Me("", !0)
|
|
10655
10655
|
])
|
|
10656
10656
|
]))), 128))
|
|
10657
10657
|
]));
|
|
@@ -10735,14 +10735,14 @@ const zf = A({
|
|
|
10735
10735
|
}
|
|
10736
10736
|
});
|
|
10737
10737
|
}
|
|
10738
|
-
}), jf = /* @__PURE__ */
|
|
10738
|
+
}), jf = /* @__PURE__ */ He({
|
|
10739
10739
|
__name: "TableCell",
|
|
10740
10740
|
props: {
|
|
10741
10741
|
header: {},
|
|
10742
10742
|
item: {}
|
|
10743
10743
|
},
|
|
10744
10744
|
setup(e) {
|
|
10745
|
-
const t =
|
|
10745
|
+
const t = Rn(), n = e, a = M(""), l = M(!1), o = M(null), { debounce: r, clearDebounce: s } = Mf(), i = () => {
|
|
10746
10746
|
n.item[n.header.value] = a.value, n.header.editFn ? n.header.editFn(n.item.id, n.header.value, a.value) : y();
|
|
10747
10747
|
}, u = r(i, 1e3), c = async () => {
|
|
10748
10748
|
l.value = !1, s(), i();
|
|
@@ -10769,15 +10769,15 @@ const zf = A({
|
|
|
10769
10769
|
}, y = () => {
|
|
10770
10770
|
console.warn(t("editFnNotDefined"));
|
|
10771
10771
|
};
|
|
10772
|
-
return (m, p) => (
|
|
10773
|
-
default:
|
|
10772
|
+
return (m, p) => (le(), ye(Hf, null, {
|
|
10773
|
+
default: Y(({ isHovering: w, props: x }) => [
|
|
10774
10774
|
d(En, R({ class: "d-flex justify-space-between position-relative align-center" }, x), {
|
|
10775
|
-
default:
|
|
10775
|
+
default: Y(() => [
|
|
10776
10776
|
d(Tn, {
|
|
10777
10777
|
cols: m.header.editable ? 11 : 12
|
|
10778
10778
|
}, {
|
|
10779
|
-
default:
|
|
10780
|
-
h() ? Ae((
|
|
10779
|
+
default: Y(() => [
|
|
10780
|
+
h() ? Ae((le(), $e("input", {
|
|
10781
10781
|
key: 1,
|
|
10782
10782
|
ref_key: "editInput",
|
|
10783
10783
|
ref: o,
|
|
@@ -10789,13 +10789,13 @@ const zf = A({
|
|
|
10789
10789
|
autofocus: ""
|
|
10790
10790
|
}, null, 544)), [
|
|
10791
10791
|
[Ri, a.value]
|
|
10792
|
-
]) : (
|
|
10792
|
+
]) : (le(), $e("p", {
|
|
10793
10793
|
key: 0,
|
|
10794
10794
|
class: "item-cell text-truncate",
|
|
10795
10795
|
style: { "max-width": "240px", "vertical-align": "middle", padding: "0", margin: "0" },
|
|
10796
10796
|
onClick: p[0] || (p[0] = (D) => m.header.editable && g())
|
|
10797
10797
|
}, [
|
|
10798
|
-
|
|
10798
|
+
De(qe(f()) + " ", 1),
|
|
10799
10799
|
d(tl, {
|
|
10800
10800
|
activator: "parent",
|
|
10801
10801
|
text: f(),
|
|
@@ -10805,17 +10805,17 @@ const zf = A({
|
|
|
10805
10805
|
]),
|
|
10806
10806
|
_: 1
|
|
10807
10807
|
}, 8, ["cols"]),
|
|
10808
|
-
w && m.header?.editable && !h() ? (
|
|
10808
|
+
w && m.header?.editable && !h() ? (le(), ye(ie, {
|
|
10809
10809
|
key: 0,
|
|
10810
10810
|
class: "cursor-pointer position-absolute right-0",
|
|
10811
10811
|
onClick: p[4] || (p[4] = (D) => g()),
|
|
10812
10812
|
size: "14"
|
|
10813
10813
|
}, {
|
|
10814
|
-
default:
|
|
10815
|
-
|
|
10814
|
+
default: Y(() => [
|
|
10815
|
+
De(" ri-pencil-line ")
|
|
10816
10816
|
]),
|
|
10817
10817
|
_: 1
|
|
10818
|
-
})) :
|
|
10818
|
+
})) : Me("", !0)
|
|
10819
10819
|
]),
|
|
10820
10820
|
_: 2
|
|
10821
10821
|
}, 1040)
|
|
@@ -10823,7 +10823,7 @@ const zf = A({
|
|
|
10823
10823
|
_: 1
|
|
10824
10824
|
}));
|
|
10825
10825
|
}
|
|
10826
|
-
}), Wf = /* @__PURE__ */
|
|
10826
|
+
}), Wf = /* @__PURE__ */ He({
|
|
10827
10827
|
__name: "GenericItemActions",
|
|
10828
10828
|
props: {
|
|
10829
10829
|
headers: {}
|
|
@@ -10833,7 +10833,7 @@ const zf = A({
|
|
|
10833
10833
|
const a = t.headers.filter((o) => o.isVisible), l = t.headers.find((o) => o.value == "actions");
|
|
10834
10834
|
return l && l.sequence >= a.length - 1;
|
|
10835
10835
|
});
|
|
10836
|
-
return (a, l) => (
|
|
10836
|
+
return (a, l) => (le(), $e("div", {
|
|
10837
10837
|
class: co(["d-flex gap-1 align-center w-10", n.value ? "justify-end" : ""])
|
|
10838
10838
|
}, [
|
|
10839
10839
|
Yt(a.$slots, "default")
|
|
@@ -10859,7 +10859,7 @@ function Kf(e, t, n) {
|
|
|
10859
10859
|
if (typeof i == "object") {
|
|
10860
10860
|
const y = o || Object.keys(u);
|
|
10861
10861
|
for (const m of y) {
|
|
10862
|
-
const p =
|
|
10862
|
+
const p = Ie(u, m), w = n?.customKeyFilter?.[m];
|
|
10863
10863
|
if (f = w ? w(p, t, i) : l(p, t, i), f !== -1 && f !== !1)
|
|
10864
10864
|
w ? c[m] = f : v[m] = f;
|
|
10865
10865
|
else if (n?.filterMode === "every")
|
|
@@ -10882,7 +10882,7 @@ function Kf(e, t, n) {
|
|
|
10882
10882
|
}
|
|
10883
10883
|
function qf(e, t, n, a) {
|
|
10884
10884
|
const l = M([]), o = M(/* @__PURE__ */ new Map()), r = b(() => a?.transform ? re(t).map((i) => [i, a.transform(i)]) : re(t));
|
|
10885
|
-
|
|
10885
|
+
Ke(() => {
|
|
10886
10886
|
const i = typeof n == "function" ? n() : re(n), u = typeof i != "string" && typeof i != "number" ? "" : String(i), c = Kf(r.value, u, {
|
|
10887
10887
|
customKeyFilter: {
|
|
10888
10888
|
...e.customKeyFilter,
|
|
@@ -11283,7 +11283,7 @@ function cv(e, t) {
|
|
|
11283
11283
|
};
|
|
11284
11284
|
return be(hi, m), m;
|
|
11285
11285
|
}
|
|
11286
|
-
function
|
|
11286
|
+
function ta() {
|
|
11287
11287
|
const e = ce(hi);
|
|
11288
11288
|
if (!e) throw new Error("Missing selection!");
|
|
11289
11289
|
return e;
|
|
@@ -11389,19 +11389,19 @@ function mv(e, t, n, a) {
|
|
|
11389
11389
|
}
|
|
11390
11390
|
const Si = A({
|
|
11391
11391
|
prevIcon: {
|
|
11392
|
-
type:
|
|
11392
|
+
type: X,
|
|
11393
11393
|
default: "$prev"
|
|
11394
11394
|
},
|
|
11395
11395
|
nextIcon: {
|
|
11396
|
-
type:
|
|
11396
|
+
type: X,
|
|
11397
11397
|
default: "$next"
|
|
11398
11398
|
},
|
|
11399
11399
|
firstIcon: {
|
|
11400
|
-
type:
|
|
11400
|
+
type: X,
|
|
11401
11401
|
default: "$first"
|
|
11402
11402
|
},
|
|
11403
11403
|
lastIcon: {
|
|
11404
|
-
type:
|
|
11404
|
+
type: X,
|
|
11405
11405
|
default: "$last"
|
|
11406
11406
|
},
|
|
11407
11407
|
itemsPerPageText: {
|
|
@@ -11505,7 +11505,7 @@ const Si = A({
|
|
|
11505
11505
|
}, f), null)])]);
|
|
11506
11506
|
}), {};
|
|
11507
11507
|
}
|
|
11508
|
-
}),
|
|
11508
|
+
}), Ln = Ds({
|
|
11509
11509
|
align: {
|
|
11510
11510
|
type: String,
|
|
11511
11511
|
default: "start"
|
|
@@ -11690,7 +11690,7 @@ function ki(e) {
|
|
|
11690
11690
|
}
|
|
11691
11691
|
function Cv(e, t) {
|
|
11692
11692
|
const n = M([]), a = M([]), l = M({}), o = M({}), r = M({});
|
|
11693
|
-
|
|
11693
|
+
Ke(() => {
|
|
11694
11694
|
const u = (e.headers || Object.keys(e.items[0] ?? {}).map((y) => ({
|
|
11695
11695
|
key: y,
|
|
11696
11696
|
title: Rt(y)
|
|
@@ -11720,7 +11720,7 @@ function Cv(e, t) {
|
|
|
11720
11720
|
};
|
|
11721
11721
|
return be(wi, s), s;
|
|
11722
11722
|
}
|
|
11723
|
-
function
|
|
11723
|
+
function na() {
|
|
11724
11724
|
const e = ce(wi);
|
|
11725
11725
|
if (!e) throw new Error("Missing headers!");
|
|
11726
11726
|
return e;
|
|
@@ -11731,18 +11731,18 @@ const Pi = A({
|
|
|
11731
11731
|
disableSort: Boolean,
|
|
11732
11732
|
multiSort: Boolean,
|
|
11733
11733
|
sortAscIcon: {
|
|
11734
|
-
type:
|
|
11734
|
+
type: X,
|
|
11735
11735
|
default: "$sortAsc"
|
|
11736
11736
|
},
|
|
11737
11737
|
sortDescIcon: {
|
|
11738
|
-
type:
|
|
11738
|
+
type: X,
|
|
11739
11739
|
default: "$sortDesc"
|
|
11740
11740
|
},
|
|
11741
11741
|
headerProps: {
|
|
11742
11742
|
type: Object
|
|
11743
11743
|
},
|
|
11744
|
-
...
|
|
11745
|
-
...
|
|
11744
|
+
...Kn(),
|
|
11745
|
+
...Hn()
|
|
11746
11746
|
}, "VDataTableHeaders"), oo = z()({
|
|
11747
11747
|
name: "VDataTableHeaders",
|
|
11748
11748
|
props: Pi(),
|
|
@@ -11761,12 +11761,12 @@ const Pi = A({
|
|
|
11761
11761
|
allSelected: i,
|
|
11762
11762
|
selectAll: u,
|
|
11763
11763
|
showSelectAll: c
|
|
11764
|
-
} =
|
|
11764
|
+
} = ta(), {
|
|
11765
11765
|
columns: v,
|
|
11766
11766
|
headers: f
|
|
11767
|
-
} =
|
|
11767
|
+
} = na(), {
|
|
11768
11768
|
loaderClasses: h
|
|
11769
|
-
} =
|
|
11769
|
+
} = jn(e);
|
|
11770
11770
|
function g(S, k) {
|
|
11771
11771
|
if (!(!e.sticky && !S.fixed))
|
|
11772
11772
|
return {
|
|
@@ -11804,7 +11804,7 @@ const Pi = A({
|
|
|
11804
11804
|
y: _
|
|
11805
11805
|
} = S;
|
|
11806
11806
|
const T = k.key === "data-table-select" || k.key === "data-table-expand", E = R(e.headerProps ?? {}, k.headerProps ?? {});
|
|
11807
|
-
return d(
|
|
11807
|
+
return d(Ln, R({
|
|
11808
11808
|
tag: "th",
|
|
11809
11809
|
align: k.align,
|
|
11810
11810
|
class: [{
|
|
@@ -11837,7 +11837,7 @@ const Pi = A({
|
|
|
11837
11837
|
allSelected: i.value,
|
|
11838
11838
|
getSortIcon: y
|
|
11839
11839
|
};
|
|
11840
|
-
return n[$] ? n[$](j) : k.key === "data-table-select" ? n["header.data-table-select"]?.(j) ?? (c.value && d(
|
|
11840
|
+
return n[$] ? n[$](j) : k.key === "data-table-select" ? n["header.data-table-select"]?.(j) ?? (c.value && d(Yn, {
|
|
11841
11841
|
modelValue: i.value,
|
|
11842
11842
|
indeterminate: s.value && !i.value,
|
|
11843
11843
|
"onUpdate:modelValue": u
|
|
@@ -11859,7 +11859,7 @@ const Pi = A({
|
|
|
11859
11859
|
if (v.value.find((T) => T.key === "data-table-select") != null)
|
|
11860
11860
|
return i.value ? "$checkboxOn" : s.value ? "$checkboxIndeterminate" : "$checkboxOff";
|
|
11861
11861
|
});
|
|
11862
|
-
return d(
|
|
11862
|
+
return d(Ln, R({
|
|
11863
11863
|
tag: "th",
|
|
11864
11864
|
class: [...F.value],
|
|
11865
11865
|
colspan: f.value.length + 1
|
|
@@ -11933,9 +11933,9 @@ const Pi = A({
|
|
|
11933
11933
|
isSelected: r,
|
|
11934
11934
|
isSomeSelected: s,
|
|
11935
11935
|
select: i
|
|
11936
|
-
} =
|
|
11936
|
+
} = ta(), {
|
|
11937
11937
|
columns: u
|
|
11938
|
-
} =
|
|
11938
|
+
} = na(), c = b(() => o([e.item]));
|
|
11939
11939
|
return () => d("tr", {
|
|
11940
11940
|
class: "v-data-table-group-header-row",
|
|
11941
11941
|
style: {
|
|
@@ -11951,15 +11951,15 @@ const Pi = A({
|
|
|
11951
11951
|
icon: f,
|
|
11952
11952
|
onClick: h
|
|
11953
11953
|
}
|
|
11954
|
-
}) ?? d(
|
|
11954
|
+
}) ?? d(Ln, {
|
|
11955
11955
|
class: "v-data-table-group-header-row__column"
|
|
11956
11956
|
}, {
|
|
11957
|
-
default: () => [d(
|
|
11957
|
+
default: () => [d(Ne, {
|
|
11958
11958
|
size: "small",
|
|
11959
11959
|
variant: "text",
|
|
11960
11960
|
icon: f,
|
|
11961
11961
|
onClick: h
|
|
11962
|
-
}, null), d("span", null, [e.item.value]), d("span", null, [
|
|
11962
|
+
}, null), d("span", null, [e.item.value]), d("span", null, [De("("), c.value.length, De(")")])]
|
|
11963
11963
|
});
|
|
11964
11964
|
}
|
|
11965
11965
|
if (v.key === "data-table-select") {
|
|
@@ -11970,7 +11970,7 @@ const Pi = A({
|
|
|
11970
11970
|
indeterminate: h,
|
|
11971
11971
|
"onUpdate:modelValue": g
|
|
11972
11972
|
}
|
|
11973
|
-
}) ?? d("td", null, [d(
|
|
11973
|
+
}) ?? d("td", null, [d(Yn, {
|
|
11974
11974
|
modelValue: f,
|
|
11975
11975
|
indeterminate: h,
|
|
11976
11976
|
"onUpdate:modelValue": g
|
|
@@ -11986,7 +11986,7 @@ const Pi = A({
|
|
|
11986
11986
|
onClick: Se(),
|
|
11987
11987
|
onContextmenu: Se(),
|
|
11988
11988
|
onDblclick: Se(),
|
|
11989
|
-
...
|
|
11989
|
+
...Kn()
|
|
11990
11990
|
}, "VDataTableRow"), Vv = z()({
|
|
11991
11991
|
name: "VDataTableRow",
|
|
11992
11992
|
props: Pv(),
|
|
@@ -12003,7 +12003,7 @@ const Pi = A({
|
|
|
12003
12003
|
someSelected: s,
|
|
12004
12004
|
allSelected: i,
|
|
12005
12005
|
selectAll: u
|
|
12006
|
-
} =
|
|
12006
|
+
} = ta(), {
|
|
12007
12007
|
isExpanded: c,
|
|
12008
12008
|
toggleExpand: v
|
|
12009
12009
|
} = ui(), {
|
|
@@ -12012,7 +12012,7 @@ const Pi = A({
|
|
|
12012
12012
|
isSorted: g
|
|
12013
12013
|
} = pi(), {
|
|
12014
12014
|
columns: y
|
|
12015
|
-
} =
|
|
12015
|
+
} = na();
|
|
12016
12016
|
U(() => d("tr", {
|
|
12017
12017
|
class: ["v-data-table__tr", {
|
|
12018
12018
|
"v-data-table__tr--clickable": !!(e.onClick || e.onContextmenu || e.onDblclick)
|
|
@@ -12052,7 +12052,7 @@ const Pi = A({
|
|
|
12052
12052
|
internalItem: F.internalItem,
|
|
12053
12053
|
value: F.value
|
|
12054
12054
|
}) : m.cellProps;
|
|
12055
|
-
return d(
|
|
12055
|
+
return d(Ln, R({
|
|
12056
12056
|
align: m.align,
|
|
12057
12057
|
class: {
|
|
12058
12058
|
"v-data-table__td--expanded-row": m.key === "data-table-expand",
|
|
@@ -12069,19 +12069,19 @@ const Pi = A({
|
|
|
12069
12069
|
default: () => {
|
|
12070
12070
|
if (n[x] && !l.value) return n[x]?.(F);
|
|
12071
12071
|
if (m.key === "data-table-select")
|
|
12072
|
-
return n["item.data-table-select"]?.(F) ?? d(
|
|
12072
|
+
return n["item.data-table-select"]?.(F) ?? d(Yn, {
|
|
12073
12073
|
disabled: !w.selectable,
|
|
12074
12074
|
modelValue: o([w]),
|
|
12075
12075
|
onClick: rl(() => r(w), ["stop"])
|
|
12076
12076
|
}, null);
|
|
12077
12077
|
if (m.key === "data-table-expand")
|
|
12078
|
-
return n["item.data-table-expand"]?.(F) ?? d(
|
|
12078
|
+
return n["item.data-table-expand"]?.(F) ?? d(Ne, {
|
|
12079
12079
|
icon: c(w) ? "$collapse" : "$expand",
|
|
12080
12080
|
size: "small",
|
|
12081
12081
|
variant: "text",
|
|
12082
12082
|
onClick: rl(() => v(w), ["stop"])
|
|
12083
12083
|
}, null);
|
|
12084
|
-
const k =
|
|
12084
|
+
const k = qe(F.value);
|
|
12085
12085
|
return l.value ? d(ne, null, [d("div", {
|
|
12086
12086
|
class: "v-data-table__td-title"
|
|
12087
12087
|
}, [n[D]?.(B) ?? m.title]), d("div", {
|
|
@@ -12108,7 +12108,7 @@ const Pi = A({
|
|
|
12108
12108
|
},
|
|
12109
12109
|
rowProps: [Object, Function],
|
|
12110
12110
|
cellProps: [Object, Function],
|
|
12111
|
-
...
|
|
12111
|
+
...Kn()
|
|
12112
12112
|
}, "VDataTableRows"), ro = z()({
|
|
12113
12113
|
name: "VDataTableRows",
|
|
12114
12114
|
inheritAttrs: !1,
|
|
@@ -12120,14 +12120,14 @@ const Pi = A({
|
|
|
12120
12120
|
} = t;
|
|
12121
12121
|
const {
|
|
12122
12122
|
columns: l
|
|
12123
|
-
} =
|
|
12123
|
+
} = na(), {
|
|
12124
12124
|
expandOnClick: o,
|
|
12125
12125
|
toggleExpand: r,
|
|
12126
12126
|
isExpanded: s
|
|
12127
12127
|
} = ui(), {
|
|
12128
12128
|
isSelected: i,
|
|
12129
12129
|
toggleSelect: u
|
|
12130
|
-
} =
|
|
12130
|
+
} = ta(), {
|
|
12131
12131
|
toggleGroup: c,
|
|
12132
12132
|
isGroupOpen: v
|
|
12133
12133
|
} = di(), {
|
|
@@ -12200,9 +12200,9 @@ const Pi = A({
|
|
|
12200
12200
|
height: [Number, String],
|
|
12201
12201
|
hover: Boolean,
|
|
12202
12202
|
...te(),
|
|
12203
|
-
...
|
|
12203
|
+
...Le(),
|
|
12204
12204
|
...ve(),
|
|
12205
|
-
...
|
|
12205
|
+
...me()
|
|
12206
12206
|
}, "VTable"), io = z()({
|
|
12207
12207
|
name: "VTable",
|
|
12208
12208
|
props: Ii(),
|
|
@@ -12253,10 +12253,10 @@ const Pi = A({
|
|
|
12253
12253
|
returnObject: Boolean
|
|
12254
12254
|
}, "DataTable-items");
|
|
12255
12255
|
function Dv(e, t, n, a) {
|
|
12256
|
-
const l = e.returnObject ? t :
|
|
12256
|
+
const l = e.returnObject ? t : Ie(t, e.itemValue), o = Ie(t, e.itemSelectable, !0), r = a.reduce((s, i) => (i.key != null && (s[i.key] = Ie(t, i.value)), s), {});
|
|
12257
12257
|
return {
|
|
12258
12258
|
type: "item",
|
|
12259
|
-
key: e.returnObject ?
|
|
12259
|
+
key: e.returnObject ? Ie(t, e.itemValue) : l,
|
|
12260
12260
|
index: n,
|
|
12261
12261
|
value: l,
|
|
12262
12262
|
selectable: o,
|
|
@@ -12382,7 +12382,7 @@ const Ev = A({
|
|
|
12382
12382
|
startIndex: T,
|
|
12383
12383
|
stopIndex: E,
|
|
12384
12384
|
itemsPerPage: u
|
|
12385
|
-
}),
|
|
12385
|
+
}), ae = b(() => B(Z.value)), {
|
|
12386
12386
|
isSelected: J,
|
|
12387
12387
|
select: P,
|
|
12388
12388
|
selectAll: V,
|
|
@@ -12391,7 +12391,7 @@ const Ev = A({
|
|
|
12391
12391
|
allSelected: K
|
|
12392
12392
|
} = cv(e, {
|
|
12393
12393
|
allItems: m,
|
|
12394
|
-
currentPage:
|
|
12394
|
+
currentPage: ae
|
|
12395
12395
|
}), {
|
|
12396
12396
|
isExpanded: Q,
|
|
12397
12397
|
toggleExpand: oe
|
|
@@ -12427,14 +12427,14 @@ const Ev = A({
|
|
|
12427
12427
|
toggleExpand: oe,
|
|
12428
12428
|
isGroupOpen: I,
|
|
12429
12429
|
toggleGroup: S,
|
|
12430
|
-
items:
|
|
12431
|
-
internalItems:
|
|
12430
|
+
items: ae.value.map((ue) => ue.raw),
|
|
12431
|
+
internalItems: ae.value,
|
|
12432
12432
|
groupedItems: Z.value,
|
|
12433
12433
|
columns: v.value,
|
|
12434
12434
|
headers: f.value
|
|
12435
12435
|
}));
|
|
12436
12436
|
return U(() => {
|
|
12437
|
-
const ue = lo.filterProps(e),
|
|
12437
|
+
const ue = lo.filterProps(e), Ge = oo.filterProps(e), Oe = ro.filterProps(e), Pe = io.filterProps(e);
|
|
12438
12438
|
return d(io, R({
|
|
12439
12439
|
class: ["v-data-table", {
|
|
12440
12440
|
"v-data-table--show-select": e.showSelect,
|
|
@@ -12445,7 +12445,7 @@ const Ev = A({
|
|
|
12445
12445
|
top: () => a.top?.(H.value),
|
|
12446
12446
|
default: () => a.default ? a.default(H.value) : d(ne, null, [a.colgroup?.(H.value), !e.hideDefaultHeader && d("thead", {
|
|
12447
12447
|
key: "thead"
|
|
12448
|
-
}, [d(oo,
|
|
12448
|
+
}, [d(oo, Ge, a)]), a.thead?.(H.value), !e.hideDefaultBody && d("tbody", null, [a["body.prepend"]?.(H.value), a.body ? a.body(H.value) : d(ro, R(n, Oe, {
|
|
12449
12449
|
items: Z.value
|
|
12450
12450
|
}), a), a["body.append"]?.(H.value)]), a.tbody?.(H.value), a.tfoot?.(H.value)]),
|
|
12451
12451
|
bottom: () => a.bottom ? a.bottom(H.value) : !e.hideDefaultFooter && d(ne, null, [d(Ua, null, null), d(lo, ue, {
|
|
@@ -12457,11 +12457,12 @@ const Ev = A({
|
|
|
12457
12457
|
}), Bv = {
|
|
12458
12458
|
key: 0,
|
|
12459
12459
|
class: "card-content"
|
|
12460
|
-
}, Nv = /* @__PURE__ */
|
|
12460
|
+
}, Nv = /* @__PURE__ */ He({
|
|
12461
12461
|
__name: "GenericDataTable",
|
|
12462
12462
|
props: /* @__PURE__ */ nt({
|
|
12463
12463
|
loading: { type: Boolean },
|
|
12464
12464
|
items: {},
|
|
12465
|
+
noItemsText: {},
|
|
12465
12466
|
headers: {},
|
|
12466
12467
|
filterFn: { type: Function }
|
|
12467
12468
|
}, {
|
|
@@ -12473,16 +12474,17 @@ const Ev = A({
|
|
|
12473
12474
|
emits: ["update:pagination"],
|
|
12474
12475
|
setup(e) {
|
|
12475
12476
|
const t = e, n = it(e, "pagination");
|
|
12476
|
-
return (a, l) => (
|
|
12477
|
+
return (a, l) => (le(), ye(re(Fv), {
|
|
12477
12478
|
loading: a.loading,
|
|
12478
12479
|
"items-per-page": n.value.pageSize,
|
|
12479
12480
|
page: n.value.page,
|
|
12480
12481
|
items: a.items,
|
|
12481
12482
|
headers: a.headers,
|
|
12483
|
+
"no-data-text": a.noItemsText,
|
|
12482
12484
|
"v-bind": t,
|
|
12483
12485
|
density: "compact"
|
|
12484
12486
|
}, fo({
|
|
12485
|
-
headers:
|
|
12487
|
+
headers: Y(({ columns: o, isSorted: r, getSortIcon: s, toggleSort: i }) => [
|
|
12486
12488
|
d(Ff, {
|
|
12487
12489
|
columns: o,
|
|
12488
12490
|
isSorted: r,
|
|
@@ -12491,32 +12493,32 @@ const Ev = A({
|
|
|
12491
12493
|
filterFn: a.filterFn
|
|
12492
12494
|
}, null, 8, ["columns", "isSorted", "getSortIcon", "toggleSort", "filterFn"])
|
|
12493
12495
|
]),
|
|
12494
|
-
"item.actions":
|
|
12496
|
+
"item.actions": Y(({ item: o }) => [
|
|
12495
12497
|
d(Wf, R({ headers: a.headers }, a.$slots), {
|
|
12496
|
-
default:
|
|
12498
|
+
default: Y(() => [
|
|
12497
12499
|
Yt(a.$slots, "actions", { item: o })
|
|
12498
12500
|
]),
|
|
12499
12501
|
_: 2
|
|
12500
12502
|
}, 1040, ["headers"])
|
|
12501
12503
|
]),
|
|
12502
|
-
bottom:
|
|
12504
|
+
bottom: Y(() => []),
|
|
12503
12505
|
_: 2
|
|
12504
12506
|
}, [
|
|
12505
12507
|
on(a.headers.filter((o) => o.value != "actions"), (o) => ({
|
|
12506
12508
|
name: `item.${o.value}`,
|
|
12507
|
-
fn:
|
|
12508
|
-
a.$slots[o.value] ? (
|
|
12509
|
+
fn: Y(({ item: r }) => [
|
|
12510
|
+
a.$slots[o.value] ? (le(), $e("div", Bv, [
|
|
12509
12511
|
Yt(a.$slots, o.value, { item: r })
|
|
12510
|
-
])) : (
|
|
12512
|
+
])) : (le(), ye(jf, {
|
|
12511
12513
|
key: 1,
|
|
12512
12514
|
header: o,
|
|
12513
12515
|
item: r
|
|
12514
12516
|
}, null, 8, ["header", "item"]))
|
|
12515
12517
|
])
|
|
12516
12518
|
}))
|
|
12517
|
-
]), 1032, ["loading", "items-per-page", "page", "items", "headers", "v-bind"]));
|
|
12519
|
+
]), 1032, ["loading", "items-per-page", "page", "items", "headers", "no-data-text", "v-bind"]));
|
|
12518
12520
|
}
|
|
12519
|
-
}), $v = /* @__PURE__ */
|
|
12521
|
+
}), $v = /* @__PURE__ */ He({
|
|
12520
12522
|
__name: "GenericTable",
|
|
12521
12523
|
props: /* @__PURE__ */ nt({
|
|
12522
12524
|
keyWord: {},
|
|
@@ -12546,13 +12548,13 @@ const Ev = A({
|
|
|
12546
12548
|
);
|
|
12547
12549
|
return zt(() => {
|
|
12548
12550
|
s.value.page = 1;
|
|
12549
|
-
}), (c, v) => (
|
|
12550
|
-
d(
|
|
12551
|
+
}), (c, v) => (le(), $e(ne, null, [
|
|
12552
|
+
d($n, {
|
|
12551
12553
|
variant: c.variant ?? "elevated",
|
|
12552
12554
|
class: "py-0"
|
|
12553
12555
|
}, {
|
|
12554
|
-
default:
|
|
12555
|
-
c.hideHeader ?
|
|
12556
|
+
default: Y(() => [
|
|
12557
|
+
c.hideHeader ? Me("", !0) : (le(), ye(cd, {
|
|
12556
12558
|
key: 0,
|
|
12557
12559
|
keyWord: c.keyWord,
|
|
12558
12560
|
search: l.value,
|
|
@@ -12565,39 +12567,30 @@ const Ev = A({
|
|
|
12565
12567
|
onCreateItem: v[1] || (v[1] = (f) => c.$emit("createItem")),
|
|
12566
12568
|
onShowAdjustColumns: v[3] || (v[3] = (f) => i.value = !0)
|
|
12567
12569
|
}, null, 8, ["keyWord", "search", "hideCreate", "hideSearch"])),
|
|
12568
|
-
|
|
12569
|
-
key: 1,
|
|
12570
|
+
d(Nv, R({
|
|
12570
12571
|
loading: c.loading,
|
|
12571
12572
|
modelValue: s.value,
|
|
12572
12573
|
"onUpdate:modelValue": v[4] || (v[4] = (f) => s.value = f),
|
|
12573
12574
|
items: r.value,
|
|
12574
12575
|
headers: u.value.filter((f) => f.isVisible),
|
|
12575
|
-
filterFn: c.filterFn
|
|
12576
|
+
filterFn: c.filterFn,
|
|
12577
|
+
noItemsText: c.noItemsText
|
|
12576
12578
|
}, c.$slots), fo({ _: 2 }, [
|
|
12577
12579
|
on(re(a), (f) => ({
|
|
12578
12580
|
name: f,
|
|
12579
|
-
fn:
|
|
12581
|
+
fn: Y((h) => [
|
|
12580
12582
|
Yt(c.$slots, f, zi(Hi(h)), void 0, !0)
|
|
12581
12583
|
])
|
|
12582
12584
|
}))
|
|
12583
|
-
]), 1040, ["loading", "modelValue", "items", "headers", "filterFn"
|
|
12584
|
-
s.value?.total > 0 ? (
|
|
12585
|
-
key:
|
|
12585
|
+
]), 1040, ["loading", "modelValue", "items", "headers", "filterFn", "noItemsText"]),
|
|
12586
|
+
s.value?.total > 0 ? (le(), ye(rd, {
|
|
12587
|
+
key: 1,
|
|
12586
12588
|
pagination: s.value,
|
|
12587
12589
|
"onUpdate:pagination": v[5] || (v[5] = (f) => s.value = f),
|
|
12588
12590
|
headers: o.value,
|
|
12589
12591
|
data: r.value,
|
|
12590
12592
|
"onUpdate:options": v[6] || (v[6] = (f) => c.$emit("update:options"))
|
|
12591
|
-
}, null, 8, ["pagination", "headers", "data"])) :
|
|
12592
|
-
r.value?.length === 0 ? (ae(), ge($n, {
|
|
12593
|
-
key: 3,
|
|
12594
|
-
class: "text-center py-4"
|
|
12595
|
-
}, {
|
|
12596
|
-
default: X(() => [
|
|
12597
|
-
Ve(He(c.noItemsText), 1)
|
|
12598
|
-
]),
|
|
12599
|
-
_: 1
|
|
12600
|
-
})) : Fe("", !0)
|
|
12593
|
+
}, null, 8, ["pagination", "headers", "data"])) : Me("", !0)
|
|
12601
12594
|
]),
|
|
12602
12595
|
_: 3
|
|
12603
12596
|
}, 8, ["variant"]),
|
|
@@ -12609,7 +12602,7 @@ const Ev = A({
|
|
|
12609
12602
|
}, null, 8, ["showAdjustColumns", "sortedHeaders"])
|
|
12610
12603
|
], 64));
|
|
12611
12604
|
}
|
|
12612
|
-
}), Lv = /* @__PURE__ */ nl($v, [["__scopeId", "data-v-
|
|
12605
|
+
}), Lv = /* @__PURE__ */ nl($v, [["__scopeId", "data-v-5446c48d"]]), jv = {
|
|
12613
12606
|
install(e, t) {
|
|
12614
12607
|
let n;
|
|
12615
12608
|
if (t?.i18n)
|