@c3labsbr/vuetify-elements 1.11.0 → 1.13.0
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { warn as la, reactive as zt, watchEffect as Je, toRef as V, capitalize as fn, shallowRef as Q, Fragment as se, camelize as ll, isVNode as ps, Comment as Ss, unref as fe, getCurrentInstance as ws, ref as j, computed as x, provide as Te, inject as he, defineComponent as xe, h as vn, isRef as Ra, toValue as Ae, createElementVNode as w, normalizeClass as X, createVNode as y, normalizeStyle as ie, watch as Z, onScopeDispose as qe, effectScope as ol, toRaw as
|
|
1
|
+
import { warn as la, reactive as zt, watchEffect as Je, toRef as V, capitalize as fn, shallowRef as Q, Fragment as se, camelize as ll, isVNode as ps, Comment as Ss, unref as fe, getCurrentInstance as ws, ref as j, computed as x, provide as Te, inject as he, defineComponent as xe, h as vn, isRef as Ra, toValue as Ae, createElementVNode as w, normalizeClass as X, createVNode as y, normalizeStyle as ie, watch as Z, onScopeDispose as qe, effectScope as ol, toRaw as Ce, useId as dt, onBeforeUnmount as lt, onMounted as Bt, onUpdated as Cs, mergeProps as W, toRefs as Wo, Text as xs, readonly as il, Transition as jt, resolveDynamicComponent as ks, nextTick as we, withDirectives as He, toDisplayString as pe, TransitionGroup as rl, Teleport as Ps, vShow as Kt, createBlock as ne, openBlock as q, withCtx as O, createCommentVNode as Se, createTextVNode as $e, onBeforeMount as oa, onDeactivated as Vs, onBeforeUpdate as Is, markRaw as Ds, cloneVNode as As, mergeModels as Ve, useModel as Ne, createElementBlock as Pe, withModifiers as an, onUnmounted as Es, renderSlot as ut, vModelText as qo, renderList as Xt, createSlots as sl, useSlots as Ts, normalizeProps as $l, guardReactiveProps as Nl, resolveComponent as Fs } from "vue";
|
|
2
2
|
import Bs from "jspdf";
|
|
3
3
|
import $s from "jspdf-autotable";
|
|
4
4
|
import Ns from "exceljs";
|
|
@@ -1203,7 +1203,7 @@ function ge(e, t, n) {
|
|
|
1203
1203
|
return a(c.value ? d : i.value);
|
|
1204
1204
|
},
|
|
1205
1205
|
set(d) {
|
|
1206
|
-
const f = l(d), v =
|
|
1206
|
+
const f = l(d), v = Ce(c.value ? e[t] : i.value);
|
|
1207
1207
|
v === f || a(v) === d || (i.value = f, o?.emit(`update:${t}`, f));
|
|
1208
1208
|
}
|
|
1209
1209
|
});
|
|
@@ -1432,9 +1432,9 @@ const Vu = F({
|
|
|
1432
1432
|
disabled: l
|
|
1433
1433
|
}), () => n.default?.();
|
|
1434
1434
|
}
|
|
1435
|
-
}),
|
|
1435
|
+
}), ae = [String, Function, Object, Array], Iu = Symbol.for("vuetify:icons"), ra = F({
|
|
1436
1436
|
icon: {
|
|
1437
|
-
type:
|
|
1437
|
+
type: ae
|
|
1438
1438
|
},
|
|
1439
1439
|
// Could not remove this and use makeTagProps, types complained because it is not required
|
|
1440
1440
|
tag: {
|
|
@@ -1553,7 +1553,7 @@ const Tu = F({
|
|
|
1553
1553
|
disabled: Boolean,
|
|
1554
1554
|
start: Boolean,
|
|
1555
1555
|
end: Boolean,
|
|
1556
|
-
icon:
|
|
1556
|
+
icon: ae,
|
|
1557
1557
|
opacity: [String, Number],
|
|
1558
1558
|
...re(),
|
|
1559
1559
|
...gn(),
|
|
@@ -1949,17 +1949,17 @@ const Nu = F({
|
|
|
1949
1949
|
Et(N, () => {
|
|
1950
1950
|
const {
|
|
1951
1951
|
resizeRef: ee
|
|
1952
|
-
} = qt((
|
|
1952
|
+
} = qt((le) => I.value = le[0].contentRect.width);
|
|
1953
1953
|
Je(() => ee.value = a.value);
|
|
1954
1954
|
});
|
|
1955
1955
|
const R = x(() => N.value ? _(A.value) : A.value), G = x(() => N.value ? _(T.value) : T.value);
|
|
1956
1956
|
function Y(ee) {
|
|
1957
1957
|
if (!b.value) return;
|
|
1958
1958
|
const {
|
|
1959
|
-
left:
|
|
1959
|
+
left: le,
|
|
1960
1960
|
right: me,
|
|
1961
1961
|
width: M
|
|
1962
|
-
} = b.value.getBoundingClientRect(), J = C.value ? M - ee.clientX + (me - M) : ee.clientX -
|
|
1962
|
+
} = b.value.getBoundingClientRect(), J = C.value ? M - ee.clientX + (me - M) : ee.clientX - le;
|
|
1963
1963
|
l.value = Math.round(J / M * k.value);
|
|
1964
1964
|
}
|
|
1965
1965
|
return Je(() => {
|
|
@@ -2129,7 +2129,7 @@ const da = F({
|
|
|
2129
2129
|
let Da = !1;
|
|
2130
2130
|
function _u(e, t) {
|
|
2131
2131
|
let n = !1, a, l;
|
|
2132
|
-
Ee && e?.beforeEach && (
|
|
2132
|
+
Ee && e?.beforeEach && (we(() => {
|
|
2133
2133
|
window.addEventListener("popstate", o), a = e.beforeEach((i, r, s) => {
|
|
2134
2134
|
Da ? n ? t(s) : s() : setTimeout(() => n ? t(s) : s()), Da = !0;
|
|
2135
2135
|
}), l = e?.afterEach(() => {
|
|
@@ -2144,7 +2144,7 @@ function _u(e, t) {
|
|
|
2144
2144
|
}
|
|
2145
2145
|
function Hu(e, t) {
|
|
2146
2146
|
Z(() => e.isActive?.value, (n) => {
|
|
2147
|
-
e.isLink.value && n != null && t &&
|
|
2147
|
+
e.isLink.value && n != null && t && we(() => {
|
|
2148
2148
|
t(n);
|
|
2149
2149
|
});
|
|
2150
2150
|
}, {
|
|
@@ -2327,8 +2327,8 @@ const wt = {
|
|
|
2327
2327
|
},
|
|
2328
2328
|
flat: Boolean,
|
|
2329
2329
|
icon: [Boolean, String, Function, Object],
|
|
2330
|
-
prependIcon:
|
|
2331
|
-
appendIcon:
|
|
2330
|
+
prependIcon: ae,
|
|
2331
|
+
appendIcon: ae,
|
|
2332
2332
|
block: Boolean,
|
|
2333
2333
|
readonly: Boolean,
|
|
2334
2334
|
slim: Boolean,
|
|
@@ -2671,14 +2671,14 @@ function Ju(e, t, n) {
|
|
|
2671
2671
|
const R = new at(p), G = mo(_.anchor, m), Y = mo(_.origin, R);
|
|
2672
2672
|
let {
|
|
2673
2673
|
x: ee,
|
|
2674
|
-
y:
|
|
2674
|
+
y: le
|
|
2675
2675
|
} = Ku(G, Y);
|
|
2676
2676
|
switch (_.anchor.side) {
|
|
2677
2677
|
case "top":
|
|
2678
|
-
|
|
2678
|
+
le -= u.value[0];
|
|
2679
2679
|
break;
|
|
2680
2680
|
case "bottom":
|
|
2681
|
-
|
|
2681
|
+
le += u.value[0];
|
|
2682
2682
|
break;
|
|
2683
2683
|
case "left":
|
|
2684
2684
|
ee -= u.value[0];
|
|
@@ -2689,10 +2689,10 @@ function Ju(e, t, n) {
|
|
|
2689
2689
|
}
|
|
2690
2690
|
switch (_.anchor.align) {
|
|
2691
2691
|
case "top":
|
|
2692
|
-
|
|
2692
|
+
le -= u.value[1];
|
|
2693
2693
|
break;
|
|
2694
2694
|
case "bottom":
|
|
2695
|
-
|
|
2695
|
+
le += u.value[1];
|
|
2696
2696
|
break;
|
|
2697
2697
|
case "left":
|
|
2698
2698
|
ee -= u.value[1];
|
|
@@ -2701,10 +2701,10 @@ function Ju(e, t, n) {
|
|
|
2701
2701
|
ee += u.value[1];
|
|
2702
2702
|
break;
|
|
2703
2703
|
}
|
|
2704
|
-
return R.x += ee, R.y +=
|
|
2704
|
+
return R.x += ee, R.y += le, R.width = Math.min(R.width, s.value), R.height = Math.min(R.height, c.value), {
|
|
2705
2705
|
overflows: Ul(R, k),
|
|
2706
2706
|
x: ee,
|
|
2707
|
-
y:
|
|
2707
|
+
y: le
|
|
2708
2708
|
};
|
|
2709
2709
|
}
|
|
2710
2710
|
let T = 0, C = 0;
|
|
@@ -2728,10 +2728,10 @@ function Ju(e, t, n) {
|
|
|
2728
2728
|
} = A(P);
|
|
2729
2729
|
T += _, C += R, p.x += _, p.y += R;
|
|
2730
2730
|
{
|
|
2731
|
-
const Y = Gl(P.anchor), ee = G.x.before || G.x.after,
|
|
2731
|
+
const Y = Gl(P.anchor), ee = G.x.before || G.x.after, le = G.y.before || G.y.after;
|
|
2732
2732
|
let me = !1;
|
|
2733
2733
|
if (["x", "y"].forEach((M) => {
|
|
2734
|
-
if (M === "x" && ee && !I.x || M === "y" &&
|
|
2734
|
+
if (M === "x" && ee && !I.x || M === "y" && le && !I.y) {
|
|
2735
2735
|
const J = {
|
|
2736
2736
|
anchor: {
|
|
2737
2737
|
...P.anchor
|
|
@@ -2772,7 +2772,7 @@ function Ju(e, t, n) {
|
|
|
2772
2772
|
flipped: I
|
|
2773
2773
|
};
|
|
2774
2774
|
}
|
|
2775
|
-
return Z(() => [l.value, o.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => h()),
|
|
2775
|
+
return Z(() => [l.value, o.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => h()), we(() => {
|
|
2776
2776
|
const p = h();
|
|
2777
2777
|
if (!p) return;
|
|
2778
2778
|
const {
|
|
@@ -3002,7 +3002,7 @@ function rc(e, t) {
|
|
|
3002
3002
|
});
|
|
3003
3003
|
const S = Ma();
|
|
3004
3004
|
Je(() => {
|
|
3005
|
-
S.value &&
|
|
3005
|
+
S.value && we(() => {
|
|
3006
3006
|
i.value = S.el;
|
|
3007
3007
|
});
|
|
3008
3008
|
});
|
|
@@ -3041,7 +3041,7 @@ function sc(e, t, n) {
|
|
|
3041
3041
|
const u = r(c);
|
|
3042
3042
|
u && i(u);
|
|
3043
3043
|
}
|
|
3044
|
-
s &&
|
|
3044
|
+
s && we(() => o());
|
|
3045
3045
|
}, {
|
|
3046
3046
|
immediate: !0
|
|
3047
3047
|
}), Z(() => e.activatorProps, () => {
|
|
@@ -3132,7 +3132,7 @@ function dc(e, t) {
|
|
|
3132
3132
|
}
|
|
3133
3133
|
async function c(f) {
|
|
3134
3134
|
const v = f.relatedTarget, g = f.target;
|
|
3135
|
-
document.removeEventListener("pointerdown", s), document.removeEventListener("keydown", u), await
|
|
3135
|
+
document.removeEventListener("pointerdown", s), document.removeEventListener("keydown", u), await we(), n.value && !i && v !== g && l.value && // We're the menu without open submenus or overlays
|
|
3136
3136
|
Ae(a) && // It isn't the document or the container body
|
|
3137
3137
|
![document, l.value].includes(g) && // It isn't inside the container body
|
|
3138
3138
|
!l.value.contains(g) && _t(l.value)[0]?.focus();
|
|
@@ -3226,7 +3226,7 @@ function yc(e, t, n) {
|
|
|
3226
3226
|
const u = pn.at(-1)?.[1];
|
|
3227
3227
|
r.value = u ? u + 10 : Number(Ae(t)), l && pn.push([a.uid, r.value]), o?.activeChildren.add(a.uid), qe(() => {
|
|
3228
3228
|
if (l) {
|
|
3229
|
-
const d =
|
|
3229
|
+
const d = Ce(pn).findIndex((f) => f[0] === a.uid);
|
|
3230
3230
|
pn.splice(d, 1);
|
|
3231
3231
|
}
|
|
3232
3232
|
o?.activeChildren.delete(a.uid);
|
|
@@ -3474,7 +3474,7 @@ const ga = F({
|
|
|
3474
3474
|
isActive: u,
|
|
3475
3475
|
updateLocation: ee
|
|
3476
3476
|
});
|
|
3477
|
-
function
|
|
3477
|
+
function le(z) {
|
|
3478
3478
|
l("click:outside", z), e.persistent ? B() : u.value = !1;
|
|
3479
3479
|
}
|
|
3480
3480
|
function me(z) {
|
|
@@ -3570,7 +3570,7 @@ const ga = F({
|
|
|
3570
3570
|
}, I.value, e.contentProps), [n.default?.({
|
|
3571
3571
|
isActive: u
|
|
3572
3572
|
})]), [[Kt, u.value], [po, {
|
|
3573
|
-
handler:
|
|
3573
|
+
handler: le,
|
|
3574
3574
|
closeConditional: me,
|
|
3575
3575
|
include: () => [k.value]
|
|
3576
3576
|
}]])]
|
|
@@ -3728,7 +3728,7 @@ const wc = F({
|
|
|
3728
3728
|
rounded: { default: "md" }
|
|
3729
3729
|
},
|
|
3730
3730
|
setup(e) {
|
|
3731
|
-
return (t, n) => (q(),
|
|
3731
|
+
return (t, n) => (q(), ne(Le, {
|
|
3732
3732
|
size: e.size,
|
|
3733
3733
|
onClick: n[0] || (n[0] = (a) => t.$emit("action")),
|
|
3734
3734
|
variant: e.variant,
|
|
@@ -3743,7 +3743,7 @@ const wc = F({
|
|
|
3743
3743
|
]),
|
|
3744
3744
|
_: 1
|
|
3745
3745
|
}),
|
|
3746
|
-
e.tooltip ? (q(),
|
|
3746
|
+
e.tooltip ? (q(), ne(kl, {
|
|
3747
3747
|
key: 0,
|
|
3748
3748
|
activator: "parent",
|
|
3749
3749
|
location: e.location
|
|
@@ -3752,7 +3752,7 @@ const wc = F({
|
|
|
3752
3752
|
$e(pe(e.tooltip), 1)
|
|
3753
3753
|
]),
|
|
3754
3754
|
_: 1
|
|
3755
|
-
}, 8, ["location"])) :
|
|
3755
|
+
}, 8, ["location"])) : Se("", !0)
|
|
3756
3756
|
]),
|
|
3757
3757
|
_: 1
|
|
3758
3758
|
}, 8, ["size", "variant", "color", "rounded"]));
|
|
@@ -3839,7 +3839,7 @@ function xc(e, t) {
|
|
|
3839
3839
|
return;
|
|
3840
3840
|
}
|
|
3841
3841
|
const [b, S] = p.split(" ");
|
|
3842
|
-
v.value = Number(S.replace(/\./g, "").replace(",", ".")), v.numFmt = `[$${b}]#,##0.00_);([$${b}]#,##0.00);[$${b}]0.00;@`;
|
|
3842
|
+
v.value = Number(S.replace(/\./g, "").replace(",", ".")), v.numFmt = `[$${b} ]#,##0.00_);([$${b}]#,##0.00);[$${b}]0.00;@`;
|
|
3843
3843
|
}
|
|
3844
3844
|
});
|
|
3845
3845
|
}
|
|
@@ -4420,7 +4420,7 @@ const Dl = (e) => {
|
|
|
4420
4420
|
value: l,
|
|
4421
4421
|
activated: o
|
|
4422
4422
|
} = n;
|
|
4423
|
-
return a =
|
|
4423
|
+
return a = Ce(a), e && !l && o.size === 1 && o.has(a) || (l ? o.add(a) : o.delete(a)), o;
|
|
4424
4424
|
},
|
|
4425
4425
|
in: (n, a, l) => {
|
|
4426
4426
|
let o = /* @__PURE__ */ new Set();
|
|
@@ -4447,7 +4447,7 @@ const Dl = (e) => {
|
|
|
4447
4447
|
id: o,
|
|
4448
4448
|
...i
|
|
4449
4449
|
} = a;
|
|
4450
|
-
o =
|
|
4450
|
+
o = Ce(o);
|
|
4451
4451
|
const r = l.has(o) ? /* @__PURE__ */ new Set([o]) : /* @__PURE__ */ new Set();
|
|
4452
4452
|
return t.activate({
|
|
4453
4453
|
...i,
|
|
@@ -4475,7 +4475,7 @@ const Dl = (e) => {
|
|
|
4475
4475
|
children: i,
|
|
4476
4476
|
...r
|
|
4477
4477
|
} = a;
|
|
4478
|
-
return l =
|
|
4478
|
+
return l = Ce(l), i.has(l) ? o : t.activate({
|
|
4479
4479
|
id: l,
|
|
4480
4480
|
activated: o,
|
|
4481
4481
|
children: i,
|
|
@@ -4495,7 +4495,7 @@ const Dl = (e) => {
|
|
|
4495
4495
|
children: i,
|
|
4496
4496
|
...r
|
|
4497
4497
|
} = a;
|
|
4498
|
-
return l =
|
|
4498
|
+
return l = Ce(l), i.has(l) ? o : t.activate({
|
|
4499
4499
|
id: l,
|
|
4500
4500
|
activated: o,
|
|
4501
4501
|
children: i,
|
|
@@ -4566,7 +4566,7 @@ const Dl = (e) => {
|
|
|
4566
4566
|
value: l,
|
|
4567
4567
|
selected: o
|
|
4568
4568
|
} = n;
|
|
4569
|
-
if (a =
|
|
4569
|
+
if (a = Ce(a), e && !l) {
|
|
4570
4570
|
const i = Array.from(o.entries()).reduce((r, s) => {
|
|
4571
4571
|
let [c, u] = s;
|
|
4572
4572
|
return u === "on" && r.push(c), r;
|
|
@@ -4605,7 +4605,7 @@ const Dl = (e) => {
|
|
|
4605
4605
|
id: o,
|
|
4606
4606
|
...i
|
|
4607
4607
|
} = a;
|
|
4608
|
-
o =
|
|
4608
|
+
o = Ce(o);
|
|
4609
4609
|
const r = l.has(o) ? /* @__PURE__ */ new Map([[o, l.get(o)]]) : /* @__PURE__ */ new Map();
|
|
4610
4610
|
return t.select({
|
|
4611
4611
|
...i,
|
|
@@ -4626,7 +4626,7 @@ const Dl = (e) => {
|
|
|
4626
4626
|
children: i,
|
|
4627
4627
|
...r
|
|
4628
4628
|
} = a;
|
|
4629
|
-
return l =
|
|
4629
|
+
return l = Ce(l), i.has(l) ? o : t.select({
|
|
4630
4630
|
id: l,
|
|
4631
4631
|
selected: o,
|
|
4632
4632
|
children: i,
|
|
@@ -4646,7 +4646,7 @@ const Dl = (e) => {
|
|
|
4646
4646
|
children: i,
|
|
4647
4647
|
...r
|
|
4648
4648
|
} = a;
|
|
4649
|
-
return l =
|
|
4649
|
+
return l = Ce(l), i.has(l) ? o : t.select({
|
|
4650
4650
|
id: l,
|
|
4651
4651
|
selected: o,
|
|
4652
4652
|
children: i,
|
|
@@ -4667,21 +4667,21 @@ const Dl = (e) => {
|
|
|
4667
4667
|
parents: r,
|
|
4668
4668
|
disabled: s
|
|
4669
4669
|
} = n;
|
|
4670
|
-
a =
|
|
4670
|
+
a = Ce(a);
|
|
4671
4671
|
const c = new Map(o), u = [a];
|
|
4672
4672
|
for (; u.length; ) {
|
|
4673
4673
|
const f = u.shift();
|
|
4674
|
-
s.has(f) || o.set(
|
|
4674
|
+
s.has(f) || o.set(Ce(f), l ? "on" : "off"), i.has(f) && u.push(...i.get(f));
|
|
4675
4675
|
}
|
|
4676
|
-
let d =
|
|
4676
|
+
let d = Ce(r.get(a));
|
|
4677
4677
|
for (; d; ) {
|
|
4678
4678
|
let f = !0, v = !0;
|
|
4679
4679
|
for (const g of i.get(d)) {
|
|
4680
|
-
const m =
|
|
4680
|
+
const m = Ce(g);
|
|
4681
4681
|
if (!s.has(m) && (o.get(m) !== "on" && (f = !1), o.has(m) && o.get(m) !== "off" && (v = !1), !f && !v))
|
|
4682
4682
|
break;
|
|
4683
4683
|
}
|
|
4684
|
-
o.set(d, f ? "on" : v ? "off" : "indeterminate"), d =
|
|
4684
|
+
o.set(d, f ? "on" : v ? "off" : "indeterminate"), d = Ce(r.get(d));
|
|
4685
4685
|
}
|
|
4686
4686
|
return e && !l && Array.from(o.entries()).reduce((v, g) => {
|
|
4687
4687
|
let [m, h] = g;
|
|
@@ -4764,7 +4764,7 @@ const Dl = (e) => {
|
|
|
4764
4764
|
}
|
|
4765
4765
|
}, "nested"), Kc = (e, t, n) => {
|
|
4766
4766
|
let a = !1;
|
|
4767
|
-
const l = Q(/* @__PURE__ */ new Map()), o = Q(/* @__PURE__ */ new Map()), i = Q(/* @__PURE__ */ new Set()), r = ge(e, "opened", e.opened, (S) => new Set(Array.isArray(S) ? S.map((k) =>
|
|
4767
|
+
const l = Q(/* @__PURE__ */ new Map()), o = Q(/* @__PURE__ */ new Map()), i = Q(/* @__PURE__ */ new Set()), r = ge(e, "opened", e.opened, (S) => new Set(Array.isArray(S) ? S.map((k) => Ce(k)) : S), (S) => [...S.values()]), s = x(() => {
|
|
4768
4768
|
if (typeof e.activeStrategy == "object") return e.activeStrategy;
|
|
4769
4769
|
if (typeof e.activeStrategy == "function") return e.activeStrategy(e.mandatory);
|
|
4770
4770
|
switch (e.activeStrategy) {
|
|
@@ -4813,13 +4813,13 @@ const Dl = (e) => {
|
|
|
4813
4813
|
});
|
|
4814
4814
|
function v(S) {
|
|
4815
4815
|
const k = [];
|
|
4816
|
-
let P =
|
|
4816
|
+
let P = Ce(S);
|
|
4817
4817
|
for (; P !== void 0; )
|
|
4818
4818
|
k.unshift(P), P = o.value.get(P);
|
|
4819
4819
|
return k;
|
|
4820
4820
|
}
|
|
4821
4821
|
const g = Ie("nested"), m = /* @__PURE__ */ new Set(), h = bu(() => {
|
|
4822
|
-
|
|
4822
|
+
we(() => {
|
|
4823
4823
|
l.value = new Map(l.value), o.value = new Map(o.value);
|
|
4824
4824
|
});
|
|
4825
4825
|
}, 100);
|
|
@@ -4829,7 +4829,7 @@ const Dl = (e) => {
|
|
|
4829
4829
|
immediate: !0
|
|
4830
4830
|
});
|
|
4831
4831
|
function p() {
|
|
4832
|
-
const S = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Set(), A = Ae(n) ? (E) =>
|
|
4832
|
+
const S = /* @__PURE__ */ new Map(), k = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Set(), A = Ae(n) ? (E) => Ce(E.raw) : (E) => E.value, T = [...t.value];
|
|
4833
4833
|
let C = 0;
|
|
4834
4834
|
for (; C < T.length; ) {
|
|
4835
4835
|
const E = T[C++], I = A(E);
|
|
@@ -4969,7 +4969,7 @@ const Dl = (e) => {
|
|
|
4969
4969
|
return Te(cn, b), b.root;
|
|
4970
4970
|
}, tr = (e, t, n) => {
|
|
4971
4971
|
const a = he(cn, er), l = Symbol("nested item"), o = x(() => {
|
|
4972
|
-
const r =
|
|
4972
|
+
const r = Ce(Ae(e));
|
|
4973
4973
|
return r !== void 0 ? r : l;
|
|
4974
4974
|
}), i = {
|
|
4975
4975
|
...a,
|
|
@@ -4987,13 +4987,13 @@ const Dl = (e) => {
|
|
|
4987
4987
|
isGroupActivator: a.isGroupActivator
|
|
4988
4988
|
};
|
|
4989
4989
|
return oa(() => {
|
|
4990
|
-
a.isGroupActivator || a.root.itemsRegistration.value === "props" ||
|
|
4990
|
+
a.isGroupActivator || a.root.itemsRegistration.value === "props" || we(() => {
|
|
4991
4991
|
a.root.register(o.value, a.id.value, Ae(t), n);
|
|
4992
4992
|
});
|
|
4993
4993
|
}), lt(() => {
|
|
4994
4994
|
a.isGroupActivator || a.root.itemsRegistration.value === "props" || a.root.unregister(o.value);
|
|
4995
4995
|
}), Z(o, (r, s) => {
|
|
4996
|
-
a.isGroupActivator || a.root.itemsRegistration.value === "props" || (a.root.unregister(s),
|
|
4996
|
+
a.isGroupActivator || a.root.itemsRegistration.value === "props" || (a.root.unregister(s), we(() => {
|
|
4997
4997
|
a.root.register(r, a.id.value, Ae(t), n);
|
|
4998
4998
|
}));
|
|
4999
4999
|
}), n && Te(cn, i), i;
|
|
@@ -5031,17 +5031,17 @@ const Zc = Bn({
|
|
|
5031
5031
|
baseColor: String,
|
|
5032
5032
|
color: String,
|
|
5033
5033
|
collapseIcon: {
|
|
5034
|
-
type:
|
|
5034
|
+
type: ae,
|
|
5035
5035
|
default: "$collapse"
|
|
5036
5036
|
},
|
|
5037
5037
|
disabled: Boolean,
|
|
5038
5038
|
expandIcon: {
|
|
5039
|
-
type:
|
|
5039
|
+
type: ae,
|
|
5040
5040
|
default: "$expand"
|
|
5041
5041
|
},
|
|
5042
5042
|
rawId: [String, Number],
|
|
5043
|
-
prependIcon:
|
|
5044
|
-
appendIcon:
|
|
5043
|
+
prependIcon: ae,
|
|
5044
|
+
appendIcon: ae,
|
|
5045
5045
|
fluid: Boolean,
|
|
5046
5046
|
subgroup: Boolean,
|
|
5047
5047
|
title: String,
|
|
@@ -5283,7 +5283,7 @@ const ta = {
|
|
|
5283
5283
|
const _ = new Image();
|
|
5284
5284
|
_.src = v.value.lazySrc, k(_, null);
|
|
5285
5285
|
}
|
|
5286
|
-
v.value.src &&
|
|
5286
|
+
v.value.src && we(() => {
|
|
5287
5287
|
n("loadstart", c.value?.currentSrc || v.value.src), setTimeout(() => {
|
|
5288
5288
|
if (!r.isUnmounted)
|
|
5289
5289
|
if (c.value?.complete) {
|
|
@@ -5427,7 +5427,7 @@ const ta = {
|
|
|
5427
5427
|
}), ld = F({
|
|
5428
5428
|
start: Boolean,
|
|
5429
5429
|
end: Boolean,
|
|
5430
|
-
icon:
|
|
5430
|
+
icon: ae,
|
|
5431
5431
|
image: String,
|
|
5432
5432
|
text: String,
|
|
5433
5433
|
...$t(),
|
|
@@ -5503,7 +5503,7 @@ const ta = {
|
|
|
5503
5503
|
/* @deprecated */
|
|
5504
5504
|
activeColor: String,
|
|
5505
5505
|
appendAvatar: String,
|
|
5506
|
-
appendIcon:
|
|
5506
|
+
appendIcon: ae,
|
|
5507
5507
|
baseColor: String,
|
|
5508
5508
|
disabled: Boolean,
|
|
5509
5509
|
lines: [Boolean, String],
|
|
@@ -5513,7 +5513,7 @@ const ta = {
|
|
|
5513
5513
|
},
|
|
5514
5514
|
nav: Boolean,
|
|
5515
5515
|
prependAvatar: String,
|
|
5516
|
-
prependIcon:
|
|
5516
|
+
prependIcon: ae,
|
|
5517
5517
|
ripple: {
|
|
5518
5518
|
type: [Boolean, Object],
|
|
5519
5519
|
default: !0
|
|
@@ -5580,7 +5580,7 @@ const ta = {
|
|
|
5580
5580
|
Z(() => o.isActive?.value, (z) => {
|
|
5581
5581
|
z && $();
|
|
5582
5582
|
}), oa(() => {
|
|
5583
|
-
o.isActive?.value &&
|
|
5583
|
+
o.isActive?.value && we(() => $());
|
|
5584
5584
|
});
|
|
5585
5585
|
function $() {
|
|
5586
5586
|
m.value != null && g.open(m.value, !0), h(!0);
|
|
@@ -5594,7 +5594,7 @@ const ta = {
|
|
|
5594
5594
|
colorStyles: Y,
|
|
5595
5595
|
variantClasses: ee
|
|
5596
5596
|
} = Nn(N), {
|
|
5597
|
-
densityClasses:
|
|
5597
|
+
densityClasses: le
|
|
5598
5598
|
} = vt(e), {
|
|
5599
5599
|
dimensionStyles: me
|
|
5600
5600
|
} = Lt(e), {
|
|
@@ -5627,7 +5627,7 @@ const ta = {
|
|
|
5627
5627
|
"v-list-item--nav": e.nav,
|
|
5628
5628
|
"v-list-item--slim": e.slim,
|
|
5629
5629
|
[`${e.activeClass}`]: e.activeClass && S.value
|
|
5630
|
-
}, _.value, R.value, G.value,
|
|
5630
|
+
}, _.value, R.value, G.value, le.value, M.value, L.value, J.value, ee.value, e.class],
|
|
5631
5631
|
style: [{
|
|
5632
5632
|
"--v-list-prepend-gap": U(e.prependGap)
|
|
5633
5633
|
}, Y.value, me.value, e.style],
|
|
@@ -5978,8 +5978,8 @@ const vd = F({
|
|
|
5978
5978
|
bgColor: String,
|
|
5979
5979
|
disabled: Boolean,
|
|
5980
5980
|
filterable: Boolean,
|
|
5981
|
-
expandIcon:
|
|
5982
|
-
collapseIcon:
|
|
5981
|
+
expandIcon: ae,
|
|
5982
|
+
collapseIcon: ae,
|
|
5983
5983
|
lines: {
|
|
5984
5984
|
type: [Boolean, String],
|
|
5985
5985
|
default: "one"
|
|
@@ -6343,19 +6343,19 @@ const wd = F({
|
|
|
6343
6343
|
},
|
|
6344
6344
|
totalVisible: [Number, String],
|
|
6345
6345
|
firstIcon: {
|
|
6346
|
-
type:
|
|
6346
|
+
type: ae,
|
|
6347
6347
|
default: "$first"
|
|
6348
6348
|
},
|
|
6349
6349
|
prevIcon: {
|
|
6350
|
-
type:
|
|
6350
|
+
type: ae,
|
|
6351
6351
|
default: "$prev"
|
|
6352
6352
|
},
|
|
6353
6353
|
nextIcon: {
|
|
6354
|
-
type:
|
|
6354
|
+
type: ae,
|
|
6355
6355
|
default: "$next"
|
|
6356
6356
|
},
|
|
6357
6357
|
lastIcon: {
|
|
6358
|
-
type:
|
|
6358
|
+
type: ae,
|
|
6359
6359
|
default: "$last"
|
|
6360
6360
|
},
|
|
6361
6361
|
ariaLabel: {
|
|
@@ -6556,7 +6556,7 @@ const wd = F({
|
|
|
6556
6556
|
b.value[C]?.$el.focus();
|
|
6557
6557
|
}
|
|
6558
6558
|
function T(C) {
|
|
6559
|
-
C.key === Ml.left && !e.disabled && l.value > Number(e.start) ? (l.value = l.value - 1,
|
|
6559
|
+
C.key === Ml.left && !e.disabled && l.value > Number(e.start) ? (l.value = l.value - 1, we(A)) : C.key === Ml.right && !e.disabled && l.value < v.value + f.value - 1 && (l.value = l.value + 1, we(A));
|
|
6560
6560
|
}
|
|
6561
6561
|
return te(() => y(e.tag, {
|
|
6562
6562
|
ref: d,
|
|
@@ -6636,8 +6636,8 @@ const wd = F({
|
|
|
6636
6636
|
error: Boolean,
|
|
6637
6637
|
id: String,
|
|
6638
6638
|
inline: Boolean,
|
|
6639
|
-
falseIcon:
|
|
6640
|
-
trueIcon:
|
|
6639
|
+
falseIcon: ae,
|
|
6640
|
+
trueIcon: ae,
|
|
6641
6641
|
ripple: {
|
|
6642
6642
|
type: [Boolean, Object],
|
|
6643
6643
|
default: !0
|
|
@@ -6801,7 +6801,7 @@ const Do = K()({
|
|
|
6801
6801
|
h.value && (h.value.checked = r.value);
|
|
6802
6802
|
return;
|
|
6803
6803
|
}
|
|
6804
|
-
e.readonly && l &&
|
|
6804
|
+
e.readonly && l && we(() => l.forceUpdate()), r.value = T.target.checked;
|
|
6805
6805
|
}
|
|
6806
6806
|
return te(() => {
|
|
6807
6807
|
const T = a.label ? a.label({
|
|
@@ -6876,7 +6876,7 @@ const Do = K()({
|
|
|
6876
6876
|
}), Pd = F({
|
|
6877
6877
|
indeterminate: Boolean,
|
|
6878
6878
|
indeterminateIcon: {
|
|
6879
|
-
type:
|
|
6879
|
+
type: ae,
|
|
6880
6880
|
default: "$checkboxIndeterminate"
|
|
6881
6881
|
},
|
|
6882
6882
|
...mr({
|
|
@@ -7198,7 +7198,7 @@ function Bd(e) {
|
|
|
7198
7198
|
o.update?.(h.value, f.value, u.value);
|
|
7199
7199
|
});
|
|
7200
7200
|
async function p() {
|
|
7201
|
-
a.value = null, await
|
|
7201
|
+
a.value = null, await we(), await b();
|
|
7202
7202
|
}
|
|
7203
7203
|
async function b() {
|
|
7204
7204
|
s.value = !0, d.value.lazy ? r.value = [] : await S(!d.value.eager);
|
|
@@ -7237,7 +7237,7 @@ function Bd(e) {
|
|
|
7237
7237
|
}
|
|
7238
7238
|
const Sr = F({
|
|
7239
7239
|
id: String,
|
|
7240
|
-
appendIcon:
|
|
7240
|
+
appendIcon: ae,
|
|
7241
7241
|
baseColor: String,
|
|
7242
7242
|
centerAffix: {
|
|
7243
7243
|
type: Boolean,
|
|
@@ -7246,7 +7246,7 @@ const Sr = F({
|
|
|
7246
7246
|
color: String,
|
|
7247
7247
|
glow: Boolean,
|
|
7248
7248
|
iconColor: [Boolean, String],
|
|
7249
|
-
prependIcon:
|
|
7249
|
+
prependIcon: ae,
|
|
7250
7250
|
hideDetails: [Boolean, String],
|
|
7251
7251
|
hideSpinButtons: Boolean,
|
|
7252
7252
|
hint: String,
|
|
@@ -7423,11 +7423,11 @@ const xr = Symbol.for("vuetify:v-slide-group"), kr = F({
|
|
|
7423
7423
|
default: xr
|
|
7424
7424
|
},
|
|
7425
7425
|
nextIcon: {
|
|
7426
|
-
type:
|
|
7426
|
+
type: ae,
|
|
7427
7427
|
default: "$next"
|
|
7428
7428
|
},
|
|
7429
7429
|
prevIcon: {
|
|
7430
|
-
type:
|
|
7430
|
+
type: ae,
|
|
7431
7431
|
default: "$prev"
|
|
7432
7432
|
},
|
|
7433
7433
|
showArrows: {
|
|
@@ -7585,7 +7585,7 @@ const xr = Symbol.for("vuetify:v-slide-group"), kr = F({
|
|
|
7585
7585
|
prev: i.prev,
|
|
7586
7586
|
select: i.select,
|
|
7587
7587
|
isSelected: i.isSelected
|
|
7588
|
-
})),
|
|
7588
|
+
})), le = x(() => r.value || Math.abs(s.value) > 0), me = x(() => {
|
|
7589
7589
|
switch (e.showArrows) {
|
|
7590
7590
|
// Always show arrows on desktop & mobile
|
|
7591
7591
|
case "always":
|
|
@@ -7596,18 +7596,18 @@ const xr = Symbol.for("vuetify:v-slide-group"), kr = F({
|
|
|
7596
7596
|
// Show arrows on mobile when overflowing.
|
|
7597
7597
|
// This matches the default 2.2 behavior
|
|
7598
7598
|
case !0:
|
|
7599
|
-
return
|
|
7599
|
+
return le.value;
|
|
7600
7600
|
// Always show on mobile
|
|
7601
7601
|
case "mobile":
|
|
7602
|
-
return o.value ||
|
|
7602
|
+
return o.value || le.value;
|
|
7603
7603
|
// https://material.io/components/tabs#scrollable-tabs
|
|
7604
7604
|
// Always show arrows when
|
|
7605
7605
|
// overflowed on desktop
|
|
7606
7606
|
default:
|
|
7607
|
-
return !o.value &&
|
|
7607
|
+
return !o.value && le.value;
|
|
7608
7608
|
}
|
|
7609
7609
|
}), M = x(() => Math.abs(s.value) > 1), J = x(() => {
|
|
7610
|
-
if (!f.value || !
|
|
7610
|
+
if (!f.value || !le.value) return !1;
|
|
7611
7611
|
const L = Eo(d.value, f.el), H = Ld(d.value, f.el);
|
|
7612
7612
|
return L - H - Math.abs(s.value) > 1;
|
|
7613
7613
|
});
|
|
@@ -7734,11 +7734,11 @@ K()({
|
|
|
7734
7734
|
const Rd = F({
|
|
7735
7735
|
activeClass: String,
|
|
7736
7736
|
appendAvatar: String,
|
|
7737
|
-
appendIcon:
|
|
7737
|
+
appendIcon: ae,
|
|
7738
7738
|
baseColor: String,
|
|
7739
7739
|
closable: Boolean,
|
|
7740
7740
|
closeIcon: {
|
|
7741
|
-
type:
|
|
7741
|
+
type: ae,
|
|
7742
7742
|
default: "$delete"
|
|
7743
7743
|
},
|
|
7744
7744
|
closeLabel: {
|
|
@@ -7748,7 +7748,7 @@ const Rd = F({
|
|
|
7748
7748
|
draggable: Boolean,
|
|
7749
7749
|
filter: Boolean,
|
|
7750
7750
|
filterIcon: {
|
|
7751
|
-
type:
|
|
7751
|
+
type: ae,
|
|
7752
7752
|
default: "$complete"
|
|
7753
7753
|
},
|
|
7754
7754
|
label: Boolean,
|
|
@@ -7758,7 +7758,7 @@ const Rd = F({
|
|
|
7758
7758
|
},
|
|
7759
7759
|
pill: Boolean,
|
|
7760
7760
|
prependAvatar: String,
|
|
7761
|
-
prependIcon:
|
|
7761
|
+
prependIcon: ae,
|
|
7762
7762
|
ripple: {
|
|
7763
7763
|
type: [Boolean, Object],
|
|
7764
7764
|
default: !0
|
|
@@ -8014,11 +8014,11 @@ const Rd = F({
|
|
|
8014
8014
|
}, n)), {};
|
|
8015
8015
|
}
|
|
8016
8016
|
}), zd = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Vr = F({
|
|
8017
|
-
appendInnerIcon:
|
|
8017
|
+
appendInnerIcon: ae,
|
|
8018
8018
|
bgColor: String,
|
|
8019
8019
|
clearable: Boolean,
|
|
8020
8020
|
clearIcon: {
|
|
8021
|
-
type:
|
|
8021
|
+
type: ae,
|
|
8022
8022
|
default: "$clear"
|
|
8023
8023
|
},
|
|
8024
8024
|
active: Boolean,
|
|
@@ -8039,7 +8039,7 @@ const Rd = F({
|
|
|
8039
8039
|
iconColor: [Boolean, String],
|
|
8040
8040
|
label: String,
|
|
8041
8041
|
persistentClear: Boolean,
|
|
8042
|
-
prependInnerIcon:
|
|
8042
|
+
prependInnerIcon: ae,
|
|
8043
8043
|
reverse: Boolean,
|
|
8044
8044
|
singleLine: Boolean,
|
|
8045
8045
|
variant: {
|
|
@@ -8100,12 +8100,12 @@ const Rd = F({
|
|
|
8100
8100
|
} = St(C);
|
|
8101
8101
|
Z(g, (Y) => {
|
|
8102
8102
|
if (h.value && !rn()) {
|
|
8103
|
-
const ee = k.value.$el,
|
|
8103
|
+
const ee = k.value.$el, le = P.value.$el;
|
|
8104
8104
|
requestAnimationFrame(() => {
|
|
8105
|
-
const me = vl(ee), M =
|
|
8105
|
+
const me = vl(ee), M = le.getBoundingClientRect(), J = M.x - me.x, L = M.y - me.y - (me.height / 2 - M.height / 2), H = M.width / 0.75, B = Math.abs(H - me.width) > 1 ? {
|
|
8106
8106
|
maxWidth: U(H)
|
|
8107
|
-
} : void 0, oe = getComputedStyle(ee), de = getComputedStyle(
|
|
8108
|
-
ee.style.visibility = "visible",
|
|
8107
|
+
} : void 0, oe = getComputedStyle(ee), de = getComputedStyle(le), z = parseFloat(oe.transitionDuration) * 1e3 || 150, ve = parseFloat(de.getPropertyValue("--v-field-label-scale")), ue = de.getPropertyValue("color");
|
|
8108
|
+
ee.style.visibility = "visible", le.style.visibility = "hidden", Pt(ee, {
|
|
8109
8109
|
transform: `translate(${J}px, ${L}px) scale(${ve})`,
|
|
8110
8110
|
color: ue,
|
|
8111
8111
|
...B
|
|
@@ -8114,7 +8114,7 @@ const Rd = F({
|
|
|
8114
8114
|
easing: Zn,
|
|
8115
8115
|
direction: Y ? "normal" : "reverse"
|
|
8116
8116
|
}).finished.then(() => {
|
|
8117
|
-
ee.style.removeProperty("visibility"),
|
|
8117
|
+
ee.style.removeProperty("visibility"), le.style.removeProperty("visibility");
|
|
8118
8118
|
});
|
|
8119
8119
|
});
|
|
8120
8120
|
}
|
|
@@ -8132,7 +8132,7 @@ const Rd = F({
|
|
|
8132
8132
|
Y.target !== document.activeElement && Y.preventDefault();
|
|
8133
8133
|
}
|
|
8134
8134
|
return te(() => {
|
|
8135
|
-
const Y = e.variant === "outlined", ee = !!(l["prepend-inner"] || e.prependInnerIcon),
|
|
8135
|
+
const Y = e.variant === "outlined", ee = !!(l["prepend-inner"] || e.prependInnerIcon), le = !!(e.clearable || l.clear) && !e.disabled, me = !!(l["append-inner"] || e.appendInnerIcon || le), M = () => l.label ? l.label({
|
|
8136
8136
|
...R.value,
|
|
8137
8137
|
label: e.label,
|
|
8138
8138
|
props: {
|
|
@@ -8206,7 +8206,7 @@ const Rd = F({
|
|
|
8206
8206
|
id: b.value,
|
|
8207
8207
|
class: "v-field__input",
|
|
8208
8208
|
"aria-describedby": S.value
|
|
8209
|
-
}, null)]),
|
|
8209
|
+
}, null)]), le && y(Ui, {
|
|
8210
8210
|
key: "clear"
|
|
8211
8211
|
}, {
|
|
8212
8212
|
default: () => [He(w("div", {
|
|
@@ -8344,7 +8344,7 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
8344
8344
|
return e.counter;
|
|
8345
8345
|
}), f = x(() => ["plain", "underlined"].includes(e.variant)), v = j(), g = j(), m = j(), h = Ir(e), p = x(() => qd.includes(e.type) || e.persistentPlaceholder || i.value || e.active);
|
|
8346
8346
|
function b() {
|
|
8347
|
-
h.isSuppressing.value && h.update(), i.value || r(),
|
|
8347
|
+
h.isSuppressing.value && h.update(), i.value || r(), we(() => {
|
|
8348
8348
|
m.value !== document.activeElement && m.value?.focus();
|
|
8349
8349
|
});
|
|
8350
8350
|
}
|
|
@@ -8355,7 +8355,7 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
8355
8355
|
a("click:control", T);
|
|
8356
8356
|
}
|
|
8357
8357
|
function P(T, C) {
|
|
8358
|
-
T.stopPropagation(), b(),
|
|
8358
|
+
T.stopPropagation(), b(), we(() => {
|
|
8359
8359
|
C(), fl(e["onClick:clear"], T);
|
|
8360
8360
|
});
|
|
8361
8361
|
}
|
|
@@ -8366,7 +8366,7 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
8366
8366
|
return;
|
|
8367
8367
|
}
|
|
8368
8368
|
const E = C.value, I = C.selectionStart, N = C.selectionEnd;
|
|
8369
|
-
o.value = E,
|
|
8369
|
+
o.value = E, we(() => {
|
|
8370
8370
|
let $ = 0;
|
|
8371
8371
|
E.trimStart().length === C.value.length && ($ = E.length - C.value.length), I != null && (C.selectionStart = I - $), N != null && (C.selectionEnd = N - $);
|
|
8372
8372
|
});
|
|
@@ -8396,7 +8396,7 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
8396
8396
|
id: G,
|
|
8397
8397
|
isDisabled: Y,
|
|
8398
8398
|
isDirty: ee,
|
|
8399
|
-
isReadonly:
|
|
8399
|
+
isReadonly: le,
|
|
8400
8400
|
isValid: me,
|
|
8401
8401
|
hasDetails: M,
|
|
8402
8402
|
reset: J
|
|
@@ -8430,7 +8430,7 @@ const qd = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
8430
8430
|
value: o.value,
|
|
8431
8431
|
onInput: A,
|
|
8432
8432
|
autofocus: e.autofocus,
|
|
8433
|
-
readonly:
|
|
8433
|
+
readonly: le.value,
|
|
8434
8434
|
disabled: Y.value,
|
|
8435
8435
|
name: h.fieldName.value,
|
|
8436
8436
|
autocomplete: h.fieldAutocomplete.value,
|
|
@@ -8551,9 +8551,9 @@ function Zd(e, t) {
|
|
|
8551
8551
|
h[L] = (h[L - 1] || 0) + S(L - 1);
|
|
8552
8552
|
p.value = Math.max(p.value, performance.now() - M);
|
|
8553
8553
|
}, p), P = Z(g, (M) => {
|
|
8554
|
-
M && (P(), u = c.value.offsetTop, k.immediate(), Y(), ~b &&
|
|
8554
|
+
M && (P(), u = c.value.offsetTop, k.immediate(), Y(), ~b && we(() => {
|
|
8555
8555
|
Ee && window.requestAnimationFrame(() => {
|
|
8556
|
-
|
|
8556
|
+
le(b), b = -1;
|
|
8557
8557
|
});
|
|
8558
8558
|
}));
|
|
8559
8559
|
});
|
|
@@ -8604,7 +8604,7 @@ function Zd(e, t) {
|
|
|
8604
8604
|
}
|
|
8605
8605
|
i.value = T(l.value), r.value = T(t.value.length) - T(o.value);
|
|
8606
8606
|
}
|
|
8607
|
-
function
|
|
8607
|
+
function le(M) {
|
|
8608
8608
|
const J = T(M);
|
|
8609
8609
|
!s.value || M && !J ? b = M : s.value.scrollTop = J;
|
|
8610
8610
|
}
|
|
@@ -8631,7 +8631,7 @@ function Zd(e, t) {
|
|
|
8631
8631
|
computedItems: me,
|
|
8632
8632
|
paddingTop: i,
|
|
8633
8633
|
paddingBottom: r,
|
|
8634
|
-
scrollToIndex:
|
|
8634
|
+
scrollToIndex: le,
|
|
8635
8635
|
handleScroll: _,
|
|
8636
8636
|
handleScrollend: R,
|
|
8637
8637
|
handleItemResize: A
|
|
@@ -8815,7 +8815,7 @@ const lf = F({
|
|
|
8815
8815
|
},
|
|
8816
8816
|
menu: Boolean,
|
|
8817
8817
|
menuIcon: {
|
|
8818
|
-
type:
|
|
8818
|
+
type: ae,
|
|
8819
8819
|
default: "$dropdown"
|
|
8820
8820
|
},
|
|
8821
8821
|
menuProps: {
|
|
@@ -8918,7 +8918,7 @@ const lf = F({
|
|
|
8918
8918
|
const [De, it] = ye;
|
|
8919
8919
|
p = it, $.value?.focus(it), e.multiple || (u.value = [De]);
|
|
8920
8920
|
}
|
|
8921
|
-
function
|
|
8921
|
+
function le(B) {
|
|
8922
8922
|
let oe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
8923
8923
|
if (!B.props.disabled)
|
|
8924
8924
|
if (e.multiple) {
|
|
@@ -8929,7 +8929,7 @@ const lf = F({
|
|
|
8929
8929
|
} else z && (u.value = [...u.value, B]);
|
|
8930
8930
|
} else {
|
|
8931
8931
|
const de = oe !== !1;
|
|
8932
|
-
u.value = de ? [B] : [],
|
|
8932
|
+
u.value = de ? [B] : [], we(() => {
|
|
8933
8933
|
A.value = !1;
|
|
8934
8934
|
});
|
|
8935
8935
|
}
|
|
@@ -8950,7 +8950,7 @@ const lf = F({
|
|
|
8950
8950
|
if (B == null) u.value = [];
|
|
8951
8951
|
else if (Xn(l.value, ":autofill") || Xn(l.value, ":-webkit-autofill")) {
|
|
8952
8952
|
const oe = r.value.find((de) => de.title === B);
|
|
8953
|
-
oe &&
|
|
8953
|
+
oe && le(oe);
|
|
8954
8954
|
} else l.value && (l.value.value = "");
|
|
8955
8955
|
}
|
|
8956
8956
|
return Z(A, () => {
|
|
@@ -9050,7 +9050,7 @@ const lf = F({
|
|
|
9050
9050
|
const be = qs(ye.props), gt = W(ye.props, {
|
|
9051
9051
|
ref: it,
|
|
9052
9052
|
key: ye.value,
|
|
9053
|
-
onClick: () =>
|
|
9053
|
+
onClick: () => le(ye, null)
|
|
9054
9054
|
});
|
|
9055
9055
|
return ye.type === "divider" ? n.divider?.({
|
|
9056
9056
|
props: ye.raw,
|
|
@@ -9091,7 +9091,7 @@ const lf = F({
|
|
|
9091
9091
|
})]
|
|
9092
9092
|
}), u.value.map((ue, ye) => {
|
|
9093
9093
|
function De(Xe) {
|
|
9094
|
-
Xe.stopPropagation(), Xe.preventDefault(),
|
|
9094
|
+
Xe.stopPropagation(), Xe.preventDefault(), le(ue, !1);
|
|
9095
9095
|
}
|
|
9096
9096
|
const it = W(Ja.filterProps(ue.props), {
|
|
9097
9097
|
"onClick:close": De,
|
|
@@ -9151,7 +9151,7 @@ const lf = F({
|
|
|
9151
9151
|
}), yn({
|
|
9152
9152
|
isFocused: m,
|
|
9153
9153
|
menu: A,
|
|
9154
|
-
select:
|
|
9154
|
+
select: le
|
|
9155
9155
|
}, l);
|
|
9156
9156
|
}
|
|
9157
9157
|
}), rf = { key: 0 }, sf = /* @__PURE__ */ xe({
|
|
@@ -9198,7 +9198,7 @@ const lf = F({
|
|
|
9198
9198
|
class: "order-2 order-md-1"
|
|
9199
9199
|
}, {
|
|
9200
9200
|
default: O(() => [
|
|
9201
|
-
t.hideExport ?
|
|
9201
|
+
t.hideExport ? Se("", !0) : (q(), Pe("div", rf, [
|
|
9202
9202
|
y(ya, null, {
|
|
9203
9203
|
activator: O(({ props: i }) => [
|
|
9204
9204
|
y(Le, W({
|
|
@@ -9254,7 +9254,7 @@ const lf = F({
|
|
|
9254
9254
|
]),
|
|
9255
9255
|
_: 1
|
|
9256
9256
|
}),
|
|
9257
|
-
t.hidePagination ?
|
|
9257
|
+
t.hidePagination ? Se("", !0) : (q(), ne(Qe, {
|
|
9258
9258
|
key: 0,
|
|
9259
9259
|
cols: "12",
|
|
9260
9260
|
md: "10",
|
|
@@ -9440,7 +9440,7 @@ const mf = F({
|
|
|
9440
9440
|
n("afterLeave");
|
|
9441
9441
|
}
|
|
9442
9442
|
return Z(l, async (c) => {
|
|
9443
|
-
c || (await
|
|
9443
|
+
c || (await we(), i.value.activatorEl?.focus({
|
|
9444
9444
|
preventScroll: !0
|
|
9445
9445
|
}));
|
|
9446
9446
|
}), te(() => {
|
|
@@ -9523,9 +9523,9 @@ const mf = F({
|
|
|
9523
9523
|
}
|
|
9524
9524
|
}), Er = gl("v-card-title"), pf = F({
|
|
9525
9525
|
appendAvatar: String,
|
|
9526
|
-
appendIcon:
|
|
9526
|
+
appendIcon: ae,
|
|
9527
9527
|
prependAvatar: String,
|
|
9528
|
-
prependIcon:
|
|
9528
|
+
prependIcon: ae,
|
|
9529
9529
|
subtitle: {
|
|
9530
9530
|
type: [String, Number, Boolean],
|
|
9531
9531
|
default: void 0
|
|
@@ -9632,7 +9632,7 @@ const mf = F({
|
|
|
9632
9632
|
}
|
|
9633
9633
|
}), Cf = F({
|
|
9634
9634
|
appendAvatar: String,
|
|
9635
|
-
appendIcon:
|
|
9635
|
+
appendIcon: ae,
|
|
9636
9636
|
disabled: Boolean,
|
|
9637
9637
|
flat: Boolean,
|
|
9638
9638
|
hover: Boolean,
|
|
@@ -9642,7 +9642,7 @@ const mf = F({
|
|
|
9642
9642
|
default: void 0
|
|
9643
9643
|
},
|
|
9644
9644
|
prependAvatar: String,
|
|
9645
|
-
prependIcon:
|
|
9645
|
+
prependIcon: ae,
|
|
9646
9646
|
ripple: {
|
|
9647
9647
|
type: [Boolean, Object],
|
|
9648
9648
|
default: !0
|
|
@@ -9782,18 +9782,18 @@ const mf = F({
|
|
|
9782
9782
|
function kf(e) {
|
|
9783
9783
|
const t = V(() => e.expandOnClick), n = ge(e, "expanded", e.expanded, (r) => new Set(r), (r) => [...r.values()]);
|
|
9784
9784
|
function a(r, s) {
|
|
9785
|
-
const c = new Set(n.value), u =
|
|
9785
|
+
const c = new Set(n.value), u = Ce(r.value);
|
|
9786
9786
|
if (s)
|
|
9787
9787
|
c.add(u);
|
|
9788
9788
|
else {
|
|
9789
|
-
const d = [...n.value].find((f) =>
|
|
9789
|
+
const d = [...n.value].find((f) => Ce(f) === u);
|
|
9790
9790
|
c.delete(d);
|
|
9791
9791
|
}
|
|
9792
9792
|
n.value = c;
|
|
9793
9793
|
}
|
|
9794
9794
|
function l(r) {
|
|
9795
|
-
const s =
|
|
9796
|
-
return [...n.value].some((c) =>
|
|
9795
|
+
const s = Ce(r.value);
|
|
9796
|
+
return [...n.value].some((c) => Ce(c) === s);
|
|
9797
9797
|
}
|
|
9798
9798
|
function o(r) {
|
|
9799
9799
|
a(r, !l(r));
|
|
@@ -10298,19 +10298,19 @@ function qf(e, t, n, a) {
|
|
|
10298
10298
|
const zr = F({
|
|
10299
10299
|
color: String,
|
|
10300
10300
|
prevIcon: {
|
|
10301
|
-
type:
|
|
10301
|
+
type: ae,
|
|
10302
10302
|
default: "$prev"
|
|
10303
10303
|
},
|
|
10304
10304
|
nextIcon: {
|
|
10305
|
-
type:
|
|
10305
|
+
type: ae,
|
|
10306
10306
|
default: "$next"
|
|
10307
10307
|
},
|
|
10308
10308
|
firstIcon: {
|
|
10309
|
-
type:
|
|
10309
|
+
type: ae,
|
|
10310
10310
|
default: "$first"
|
|
10311
10311
|
},
|
|
10312
10312
|
lastIcon: {
|
|
10313
|
-
type:
|
|
10313
|
+
type: ae,
|
|
10314
10314
|
default: "$last"
|
|
10315
10315
|
},
|
|
10316
10316
|
itemsPerPageText: {
|
|
@@ -10678,11 +10678,11 @@ const Xr = F({
|
|
|
10678
10678
|
fixedHeader: Boolean,
|
|
10679
10679
|
multiSort: Boolean,
|
|
10680
10680
|
sortAscIcon: {
|
|
10681
|
-
type:
|
|
10681
|
+
type: ae,
|
|
10682
10682
|
default: "$sortAsc"
|
|
10683
10683
|
},
|
|
10684
10684
|
sortDescIcon: {
|
|
10685
|
-
type:
|
|
10685
|
+
type: ae,
|
|
10686
10686
|
default: "$sortDesc"
|
|
10687
10687
|
},
|
|
10688
10688
|
headerProps: {
|
|
@@ -10812,7 +10812,7 @@ const Xr = F({
|
|
|
10812
10812
|
key: "badge",
|
|
10813
10813
|
class: X(["v-data-table-header__sort-badge", ...p.value]),
|
|
10814
10814
|
style: ie(b.value)
|
|
10815
|
-
}, [o.value.findIndex((
|
|
10815
|
+
}, [o.value.findIndex((le) => le.key === I.key) + 1])]);
|
|
10816
10816
|
}
|
|
10817
10817
|
});
|
|
10818
10818
|
}, C = () => {
|
|
@@ -10883,11 +10883,11 @@ const Xr = F({
|
|
|
10883
10883
|
required: !0
|
|
10884
10884
|
},
|
|
10885
10885
|
groupCollapseIcon: {
|
|
10886
|
-
type:
|
|
10886
|
+
type: ae,
|
|
10887
10887
|
default: "$tableGroupCollapse"
|
|
10888
10888
|
},
|
|
10889
10889
|
groupExpandIcon: {
|
|
10890
|
-
type:
|
|
10890
|
+
type: ae,
|
|
10891
10891
|
default: "$tableGroupExpand"
|
|
10892
10892
|
},
|
|
10893
10893
|
...Ge()
|
|
@@ -10964,11 +10964,11 @@ const Xr = F({
|
|
|
10964
10964
|
item: Object,
|
|
10965
10965
|
cellProps: [Object, Function],
|
|
10966
10966
|
collapseIcon: {
|
|
10967
|
-
type:
|
|
10967
|
+
type: ae,
|
|
10968
10968
|
default: "$collapse"
|
|
10969
10969
|
},
|
|
10970
10970
|
expandIcon: {
|
|
10971
|
-
type:
|
|
10971
|
+
type: ae,
|
|
10972
10972
|
default: "$expand"
|
|
10973
10973
|
},
|
|
10974
10974
|
onClick: Me(),
|
|
@@ -11421,7 +11421,7 @@ const ov = F({
|
|
|
11421
11421
|
startIndex: _,
|
|
11422
11422
|
stopIndex: R,
|
|
11423
11423
|
itemsPerPage: u
|
|
11424
|
-
}),
|
|
11424
|
+
}), le = x(() => T(ee.value)), {
|
|
11425
11425
|
isSelected: me,
|
|
11426
11426
|
select: M,
|
|
11427
11427
|
selectAll: J,
|
|
@@ -11430,7 +11430,7 @@ const ov = F({
|
|
|
11430
11430
|
allSelected: B
|
|
11431
11431
|
} = Mf(e, {
|
|
11432
11432
|
allItems: p,
|
|
11433
|
-
currentPage:
|
|
11433
|
+
currentPage: le
|
|
11434
11434
|
}), {
|
|
11435
11435
|
isExpanded: oe,
|
|
11436
11436
|
toggleExpand: de
|
|
@@ -11466,8 +11466,8 @@ const ov = F({
|
|
|
11466
11466
|
toggleExpand: de,
|
|
11467
11467
|
isGroupOpen: C,
|
|
11468
11468
|
toggleGroup: E,
|
|
11469
|
-
items:
|
|
11470
|
-
internalItems:
|
|
11469
|
+
items: le.value.map((ve) => ve.raw),
|
|
11470
|
+
internalItems: le.value,
|
|
11471
11471
|
groupedItems: ee.value,
|
|
11472
11472
|
columns: f.value,
|
|
11473
11473
|
headers: v.value
|
|
@@ -11598,13 +11598,13 @@ const ov = F({
|
|
|
11598
11598
|
return Es(() => {
|
|
11599
11599
|
i.value = "";
|
|
11600
11600
|
}), (s, c) => (q(), Pe(se, null, [
|
|
11601
|
-
e.hideHeader ?
|
|
11601
|
+
e.hideHeader ? Se("", !0) : (q(), ne(un, {
|
|
11602
11602
|
key: 0,
|
|
11603
11603
|
class: "pa-2",
|
|
11604
11604
|
cols: "12"
|
|
11605
11605
|
}, {
|
|
11606
11606
|
default: O(() => [
|
|
11607
|
-
fe(l) ?
|
|
11607
|
+
fe(l) ? Se("", !0) : (q(), ne(Qe, {
|
|
11608
11608
|
key: 0,
|
|
11609
11609
|
cols: 12,
|
|
11610
11610
|
md: 4
|
|
@@ -11655,11 +11655,11 @@ const ov = F({
|
|
|
11655
11655
|
md: 6
|
|
11656
11656
|
}, {
|
|
11657
11657
|
default: O(() => [
|
|
11658
|
-
e.hideActions ?
|
|
11658
|
+
e.hideActions ? Se("", !0) : (q(), Pe("div", vv, [
|
|
11659
11659
|
(q(!0), Pe(se, null, Xt(r, (u) => (q(), Pe(se, {
|
|
11660
11660
|
key: u.key
|
|
11661
11661
|
}, [
|
|
11662
|
-
u?.show && u.show() ? (q(),
|
|
11662
|
+
u?.show && u.show() ? (q(), ne(Ei, {
|
|
11663
11663
|
key: 0,
|
|
11664
11664
|
variant: "outlined",
|
|
11665
11665
|
color: u.color,
|
|
@@ -11668,9 +11668,9 @@ const ov = F({
|
|
|
11668
11668
|
tooltip: u.tooltip,
|
|
11669
11669
|
rounded: "sm",
|
|
11670
11670
|
onClick: u.action
|
|
11671
|
-
}, null, 8, ["color", "icon", "tooltip", "onClick"])) :
|
|
11671
|
+
}, null, 8, ["color", "icon", "tooltip", "onClick"])) : Se("", !0)
|
|
11672
11672
|
], 64))), 128)),
|
|
11673
|
-
e.hideCreate ?
|
|
11673
|
+
e.hideCreate ? Se("", !0) : (q(), ne(Le, {
|
|
11674
11674
|
key: 0,
|
|
11675
11675
|
onClick: c[2] || (c[2] = (u) => s.$emit("createItem")),
|
|
11676
11676
|
class: "d-flex",
|
|
@@ -13216,7 +13216,7 @@ const bm = { class: "text-base text-high-emphasis mb-0" }, pm = { class: "d-flex
|
|
|
13216
13216
|
v.sequence < d.initialIndex && v.sequence >= d.targetIndex && v.sequence++;
|
|
13217
13217
|
f && (f.sequence = d.targetIndex);
|
|
13218
13218
|
};
|
|
13219
|
-
return (d, f) => (q(),
|
|
13219
|
+
return (d, f) => (q(), ne(Ar, {
|
|
13220
13220
|
"model-value": l.showAdjustColumns,
|
|
13221
13221
|
"onUpdate:modelValue": r,
|
|
13222
13222
|
width: "500"
|
|
@@ -13236,7 +13236,7 @@ const bm = { class: "text-base text-high-emphasis mb-0" }, pm = { class: "d-flex
|
|
|
13236
13236
|
(q(!0), Pe(se, null, Xt(s.value, (v, g) => (q(), Pe(se, {
|
|
13237
13237
|
key: v.sequence
|
|
13238
13238
|
}, [
|
|
13239
|
-
v ? (q(),
|
|
13239
|
+
v ? (q(), ne(Tt, {
|
|
13240
13240
|
key: 0,
|
|
13241
13241
|
variant: "outlined",
|
|
13242
13242
|
ripple: !1,
|
|
@@ -13269,7 +13269,7 @@ const bm = { class: "text-base text-high-emphasis mb-0" }, pm = { class: "d-flex
|
|
|
13269
13269
|
}, 1024)
|
|
13270
13270
|
]),
|
|
13271
13271
|
_: 2
|
|
13272
|
-
}, 1024)) :
|
|
13272
|
+
}, 1024)) : Se("", !0)
|
|
13273
13273
|
], 64))), 128))
|
|
13274
13274
|
], 512)
|
|
13275
13275
|
]),
|
|
@@ -13312,7 +13312,7 @@ function xm({
|
|
|
13312
13312
|
}));
|
|
13313
13313
|
};
|
|
13314
13314
|
return Bt(async () => {
|
|
13315
|
-
await
|
|
13315
|
+
await we(), g();
|
|
13316
13316
|
const k = c.value;
|
|
13317
13317
|
if (!k) return;
|
|
13318
13318
|
d = new ResizeObserver(() => S()), d.observe(k);
|
|
@@ -13324,7 +13324,7 @@ function xm({
|
|
|
13324
13324
|
() => n.value.page
|
|
13325
13325
|
],
|
|
13326
13326
|
async () => {
|
|
13327
|
-
await
|
|
13327
|
+
await we(), S();
|
|
13328
13328
|
},
|
|
13329
13329
|
{ flush: "post" }
|
|
13330
13330
|
), Z(
|
|
@@ -13380,7 +13380,7 @@ const km = /* @__PURE__ */ xe({
|
|
|
13380
13380
|
(c) => {
|
|
13381
13381
|
c && (o.value = a.value[n.column.value]);
|
|
13382
13382
|
}
|
|
13383
|
-
), (c, u) => (q(),
|
|
13383
|
+
), (c, u) => (q(), ne(ya, {
|
|
13384
13384
|
"close-on-content-click": !1,
|
|
13385
13385
|
"offset-y": "",
|
|
13386
13386
|
"offset-x": "",
|
|
@@ -13462,7 +13462,7 @@ const km = /* @__PURE__ */ xe({
|
|
|
13462
13462
|
emits: ["hideColumn", "moveLeft", "moveRight"],
|
|
13463
13463
|
setup(e, { emit: t }) {
|
|
13464
13464
|
const n = Jt(), a = t, l = j({});
|
|
13465
|
-
return (o, i) => (q(),
|
|
13465
|
+
return (o, i) => (q(), ne(ya, {
|
|
13466
13466
|
"close-on-content-click": !1,
|
|
13467
13467
|
"offset-y": "",
|
|
13468
13468
|
"offset-x": "",
|
|
@@ -13476,12 +13476,12 @@ const km = /* @__PURE__ */ xe({
|
|
|
13476
13476
|
w("span", {
|
|
13477
13477
|
textContent: pe(e.column.title)
|
|
13478
13478
|
}, null, 8, Im),
|
|
13479
|
-
e.isSorted(e.column) ? (q(),
|
|
13479
|
+
e.isSorted(e.column) ? (q(), ne(ce, {
|
|
13480
13480
|
key: 0,
|
|
13481
13481
|
onClick: i[0] || (i[0] = an((s) => e.toggleSort(e.column), ["stop"])),
|
|
13482
13482
|
icon: e.getSortIcon(e.column),
|
|
13483
13483
|
color: "medium-emphasis"
|
|
13484
|
-
}, null, 8, ["icon"])) :
|
|
13484
|
+
}, null, 8, ["icon"])) : Se("", !0)
|
|
13485
13485
|
], 16)
|
|
13486
13486
|
]),
|
|
13487
13487
|
default: O(() => [
|
|
@@ -13490,7 +13490,7 @@ const km = /* @__PURE__ */ xe({
|
|
|
13490
13490
|
class: "pa-3"
|
|
13491
13491
|
}, {
|
|
13492
13492
|
default: O(() => [
|
|
13493
|
-
e.column.sortable ? (q(),
|
|
13493
|
+
e.column.sortable ? (q(), ne(st, {
|
|
13494
13494
|
key: 0,
|
|
13495
13495
|
onClick: i[1] || (i[1] = (r) => (e.toggleSort(e.column), l.value[e.column.value] = !1))
|
|
13496
13496
|
}, {
|
|
@@ -13499,8 +13499,9 @@ const km = /* @__PURE__ */ xe({
|
|
|
13499
13499
|
w("span", Dm, pe(fe(n)("classify")), 1)
|
|
13500
13500
|
]),
|
|
13501
13501
|
_: 1
|
|
13502
|
-
})) :
|
|
13503
|
-
|
|
13502
|
+
})) : Se("", !0),
|
|
13503
|
+
e.column.hideDisabled ? Se("", !0) : (q(), ne(st, {
|
|
13504
|
+
key: 1,
|
|
13504
13505
|
onClick: i[2] || (i[2] = (r) => (a("hideColumn", e.column), l.value[e.column.value] = !1))
|
|
13505
13506
|
}, {
|
|
13506
13507
|
default: O(() => [
|
|
@@ -13508,7 +13509,7 @@ const km = /* @__PURE__ */ xe({
|
|
|
13508
13509
|
w("span", Am, pe(fe(n)("hideColumn")), 1)
|
|
13509
13510
|
]),
|
|
13510
13511
|
_: 1
|
|
13511
|
-
}),
|
|
13512
|
+
})),
|
|
13512
13513
|
y(st, {
|
|
13513
13514
|
onClick: i[3] || (i[3] = (r) => (a("moveLeft", e.column), l.value[e.column.value] = !1))
|
|
13514
13515
|
}, {
|
|
@@ -13595,11 +13596,11 @@ const km = /* @__PURE__ */ xe({
|
|
|
13595
13596
|
onMoveLeft: a,
|
|
13596
13597
|
onMoveRight: l
|
|
13597
13598
|
}, null, 8, ["column", "getSortIcon", "isSorted", "toggleSort"]),
|
|
13598
|
-
o(s) ? (q(),
|
|
13599
|
+
o(s) ? (q(), ne(Vm, {
|
|
13599
13600
|
key: 0,
|
|
13600
13601
|
column: s,
|
|
13601
13602
|
filterFn: e.filterFn
|
|
13602
|
-
}, null, 8, ["column", "filterFn"])) :
|
|
13603
|
+
}, null, 8, ["column", "filterFn"])) : Se("", !0)
|
|
13603
13604
|
])
|
|
13604
13605
|
], 4))), 128))
|
|
13605
13606
|
]));
|
|
@@ -13690,13 +13691,13 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13690
13691
|
), "";
|
|
13691
13692
|
}
|
|
13692
13693
|
}, v = () => l.value, g = () => {
|
|
13693
|
-
l.value = !0, a.value = n.item[n.header.value],
|
|
13694
|
+
l.value = !0, a.value = n.item[n.header.value], we(() => {
|
|
13694
13695
|
o.value?.focus();
|
|
13695
13696
|
});
|
|
13696
13697
|
}, m = () => !(n.disableEdit || !n.header.editable), h = () => {
|
|
13697
13698
|
console.warn(t("editFnNotDefined"));
|
|
13698
13699
|
};
|
|
13699
|
-
return (p, b) => (q(),
|
|
13700
|
+
return (p, b) => (q(), ne(dv, null, {
|
|
13700
13701
|
default: O(({ isHovering: S, props: k }) => [
|
|
13701
13702
|
y(un, W({ class: "d-flex justify-space-between position-relative align-center" }, k), {
|
|
13702
13703
|
default: O(() => [
|
|
@@ -13732,7 +13733,7 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13732
13733
|
]),
|
|
13733
13734
|
_: 1
|
|
13734
13735
|
}, 8, ["cols"]),
|
|
13735
|
-
S && m() && !v() ? (q(),
|
|
13736
|
+
S && m() && !v() ? (q(), ne(ce, {
|
|
13736
13737
|
key: 0,
|
|
13737
13738
|
class: "cursor-pointer position-absolute right-0",
|
|
13738
13739
|
onClick: b[4] || (b[4] = (P) => g()),
|
|
@@ -13742,7 +13743,7 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13742
13743
|
$e(" ri-pencil-line ", -1)
|
|
13743
13744
|
])]),
|
|
13744
13745
|
_: 1
|
|
13745
|
-
})) :
|
|
13746
|
+
})) : Se("", !0)
|
|
13746
13747
|
]),
|
|
13747
13748
|
_: 2
|
|
13748
13749
|
}, 1040)
|
|
@@ -13805,7 +13806,7 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13805
13806
|
maxHeightVH: 75,
|
|
13806
13807
|
hysteresis: 8
|
|
13807
13808
|
});
|
|
13808
|
-
return (d, f) => (q(),
|
|
13809
|
+
return (d, f) => (q(), ne(rv, {
|
|
13809
13810
|
"sort-by": i.value,
|
|
13810
13811
|
"onUpdate:sortBy": f[1] || (f[1] = (v) => i.value = v),
|
|
13811
13812
|
loading: e.loading,
|
|
@@ -13851,7 +13852,7 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13851
13852
|
fn: O(({ item: g }) => [
|
|
13852
13853
|
d.$slots[v.value] ? (q(), Pe("div", Ym, [
|
|
13853
13854
|
ut(d.$slots, v.value, { item: g })
|
|
13854
|
-
])) : (q(),
|
|
13855
|
+
])) : (q(), ne(Xm, {
|
|
13855
13856
|
key: 1,
|
|
13856
13857
|
header: v,
|
|
13857
13858
|
item: g,
|
|
@@ -13904,7 +13905,7 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13904
13905
|
class: "py-0"
|
|
13905
13906
|
}, {
|
|
13906
13907
|
default: O(() => [
|
|
13907
|
-
e.hideHeader ?
|
|
13908
|
+
e.hideHeader ? Se("", !0) : (q(), ne(yv, {
|
|
13908
13909
|
key: 0,
|
|
13909
13910
|
keyWord: e.keyWord,
|
|
13910
13911
|
search: l.value,
|
|
@@ -13945,7 +13946,7 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13945
13946
|
])
|
|
13946
13947
|
}))
|
|
13947
13948
|
]), 1040, ["pagination", "ordering", "sortedHeaders", "loading", "items", "headers", "filterFn", "noItemsText", "disable-edit"]),
|
|
13948
|
-
r.value?.total > 0 ? (q(),
|
|
13949
|
+
r.value?.total > 0 ? (q(), ne(uf, {
|
|
13949
13950
|
key: 1,
|
|
13950
13951
|
pagination: r.value,
|
|
13951
13952
|
"onUpdate:pagination": v[8] || (v[8] = (g) => r.value = g),
|
|
@@ -13953,7 +13954,7 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13953
13954
|
data: i.value,
|
|
13954
13955
|
"hide-pagination": e.hidePagination,
|
|
13955
13956
|
"onUpdate:options": v[9] || (v[9] = (g) => f.$emit("update:options"))
|
|
13956
|
-
}, null, 8, ["pagination", "headers", "data", "hide-pagination"])) :
|
|
13957
|
+
}, null, 8, ["pagination", "headers", "data", "hide-pagination"])) : Se("", !0)
|
|
13957
13958
|
]),
|
|
13958
13959
|
_: 3
|
|
13959
13960
|
}, 8, ["variant"]),
|
|
@@ -13967,7 +13968,7 @@ const Xm = /* @__PURE__ */ xe({
|
|
|
13967
13968
|
}
|
|
13968
13969
|
}), Jm = /* @__PURE__ */ hn(Qm, [["__scopeId", "data-v-562108fe"]]), eg = {};
|
|
13969
13970
|
function tg(e, t) {
|
|
13970
|
-
return q(),
|
|
13971
|
+
return q(), ne(Tt, {
|
|
13971
13972
|
class: "d-flex align-center justify-center h-100 w-100 position-absolute top-0 left-0 bg-surface",
|
|
13972
13973
|
style: { "z-index": "2" }
|
|
13973
13974
|
}, {
|
|
@@ -14113,7 +14114,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14113
14114
|
title: {}
|
|
14114
14115
|
},
|
|
14115
14116
|
setup(e) {
|
|
14116
|
-
return (t, n) => e.title ? (q(),
|
|
14117
|
+
return (t, n) => e.title ? (q(), ne(Er, {
|
|
14117
14118
|
key: 0,
|
|
14118
14119
|
class: "text-center mb-6"
|
|
14119
14120
|
}, {
|
|
@@ -14121,7 +14122,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14121
14122
|
w("p", ig, pe(e.title), 1)
|
|
14122
14123
|
]),
|
|
14123
14124
|
_: 1
|
|
14124
|
-
})) :
|
|
14125
|
+
})) : Se("", !0);
|
|
14125
14126
|
}
|
|
14126
14127
|
}), sg = /* @__PURE__ */ xe({
|
|
14127
14128
|
__name: "FormActionsButtons",
|
|
@@ -14134,9 +14135,9 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14134
14135
|
emits: ["cancel", "submit"],
|
|
14135
14136
|
setup(e, { emit: t }) {
|
|
14136
14137
|
const n = t, a = Jt();
|
|
14137
|
-
return (l, o) => (q(),
|
|
14138
|
+
return (l, o) => (q(), ne(un, { class: "ma-0 gap-4 pa-5" }, {
|
|
14138
14139
|
default: O(() => [
|
|
14139
|
-
e.hideCancelButton ?
|
|
14140
|
+
e.hideCancelButton ? Se("", !0) : (q(), ne(Qe, {
|
|
14140
14141
|
key: 0,
|
|
14141
14142
|
class: "pa-0"
|
|
14142
14143
|
}, {
|
|
@@ -14193,13 +14194,13 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14193
14194
|
() => n.field.options && n.field.options.length ? 12 / n.field.options.length : 12
|
|
14194
14195
|
), o = (i) => n.field.value == i.text || n.field.value == i.value ? "flat" : "text";
|
|
14195
14196
|
return (i, r) => (q(), Pe("div", cg, [
|
|
14196
|
-
(q(!0), Pe(se, null, Xt(e.field.options || [], (s, c) => (q(),
|
|
14197
|
+
(q(!0), Pe(se, null, Xt(e.field.options || [], (s, c) => (q(), ne(Qe, {
|
|
14197
14198
|
key: c,
|
|
14198
14199
|
cols: l.value,
|
|
14199
14200
|
class: "pa-0"
|
|
14200
14201
|
}, {
|
|
14201
14202
|
default: O(() => [
|
|
14202
|
-
(q(),
|
|
14203
|
+
(q(), ne(Le, {
|
|
14203
14204
|
block: "",
|
|
14204
14205
|
key: s.text,
|
|
14205
14206
|
text: s.text,
|
|
@@ -14470,7 +14471,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14470
14471
|
], ["update:modelValue"]),
|
|
14471
14472
|
setup(e, { emit: t }) {
|
|
14472
14473
|
const n = t, a = j(null), l = Ne(e, "modelValue");
|
|
14473
|
-
return (o, i) => (q(),
|
|
14474
|
+
return (o, i) => (q(), ne(An, {
|
|
14474
14475
|
ref_key: "input",
|
|
14475
14476
|
ref: a,
|
|
14476
14477
|
modelValue: l.value,
|
|
@@ -14509,7 +14510,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14509
14510
|
], ["update:modelValue"]),
|
|
14510
14511
|
setup(e, { emit: t }) {
|
|
14511
14512
|
const n = t, a = j(null), l = Ne(e, "modelValue");
|
|
14512
|
-
return (o, i) => (q(),
|
|
14513
|
+
return (o, i) => (q(), ne(An, {
|
|
14513
14514
|
ref_key: "input",
|
|
14514
14515
|
ref: a,
|
|
14515
14516
|
modelValue: l.value,
|
|
@@ -14550,7 +14551,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14550
14551
|
], ["update:modelValue"]),
|
|
14551
14552
|
setup(e, { emit: t }) {
|
|
14552
14553
|
const n = t, a = j(null), l = Ne(e, "modelValue");
|
|
14553
|
-
return (o, i) => (q(),
|
|
14554
|
+
return (o, i) => (q(), ne(ha, {
|
|
14554
14555
|
ref_key: "input",
|
|
14555
14556
|
ref: a,
|
|
14556
14557
|
modelValue: l.value,
|
|
@@ -14610,7 +14611,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14610
14611
|
], ["update:modelValue"]),
|
|
14611
14612
|
setup(e, { emit: t }) {
|
|
14612
14613
|
const n = t, a = Ne(e, "modelValue");
|
|
14613
|
-
return (l, o) => e.type === "select" ? (q(),
|
|
14614
|
+
return (l, o) => e.type === "select" ? (q(), ne(mg, {
|
|
14614
14615
|
key: 0,
|
|
14615
14616
|
ref: "input",
|
|
14616
14617
|
modelValue: a.value,
|
|
@@ -14638,7 +14639,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14638
14639
|
"onClick:clear": o[2] || (o[2] = (i) => n("click:clear")),
|
|
14639
14640
|
"onClick:prepend": o[3] || (o[3] = (i) => n("click:prepend")),
|
|
14640
14641
|
"onClick:append": o[4] || (o[4] = (i) => n("click:append"))
|
|
14641
|
-
}, null, 8, ["modelValue", "autofocus", "label", "loading", "disabled", "readonly", "error-messages", "prefix-icon", "suffix-icon", "suffix", "prefix", "placeholder", "suffix-outer-icon", "counter", "items", "multiple", "chips", "item-title", "item-value", "persistent-hint"])) : e.type === "number" ? (q(),
|
|
14642
|
+
}, null, 8, ["modelValue", "autofocus", "label", "loading", "disabled", "readonly", "error-messages", "prefix-icon", "suffix-icon", "suffix", "prefix", "placeholder", "suffix-outer-icon", "counter", "items", "multiple", "chips", "item-title", "item-value", "persistent-hint"])) : e.type === "number" ? (q(), ne(vg, {
|
|
14642
14643
|
key: 1,
|
|
14643
14644
|
ref: "input",
|
|
14644
14645
|
modelValue: a.value,
|
|
@@ -14661,7 +14662,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14661
14662
|
"onClick:clear": o[7] || (o[7] = (i) => n("click:clear")),
|
|
14662
14663
|
"onClick:prepend": o[8] || (o[8] = (i) => n("click:prepend")),
|
|
14663
14664
|
"onClick:append": o[9] || (o[9] = (i) => n("click:append"))
|
|
14664
|
-
}, null, 8, ["modelValue", "autofocus", "label", "loading", "disabled", "readonly", "error-messages", "prefix-icon", "suffix-icon", "suffix", "prefix", "placeholder", "suffix-outer-icon", "counter", "maxLength"])) : (q(),
|
|
14665
|
+
}, null, 8, ["modelValue", "autofocus", "label", "loading", "disabled", "readonly", "error-messages", "prefix-icon", "suffix-icon", "suffix", "prefix", "placeholder", "suffix-outer-icon", "counter", "maxLength"])) : (q(), ne(fg, {
|
|
14665
14666
|
key: 2,
|
|
14666
14667
|
ref: "input",
|
|
14667
14668
|
modelValue: a.value,
|
|
@@ -14703,12 +14704,12 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14703
14704
|
}, r = (s, c) => {
|
|
14704
14705
|
i(s, c);
|
|
14705
14706
|
};
|
|
14706
|
-
return (s, c) => (q(),
|
|
14707
|
+
return (s, c) => (q(), ne(un, {
|
|
14707
14708
|
class: X(["ma-0", e.noPadding ? "pa-0" : "pa-5"])
|
|
14708
14709
|
}, {
|
|
14709
14710
|
default: O(() => [
|
|
14710
14711
|
(q(!0), Pe(se, null, Xt(e.fields, (u, d) => (q(), Pe(se, { key: d }, [
|
|
14711
|
-
l.value[u.model] ? (q(),
|
|
14712
|
+
l.value[u.model] ? (q(), ne(Qe, {
|
|
14712
14713
|
key: 0,
|
|
14713
14714
|
cols: fe(zo)(u),
|
|
14714
14715
|
class: "pa-2",
|
|
@@ -14716,17 +14717,17 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14716
14717
|
sm: "12"
|
|
14717
14718
|
}, {
|
|
14718
14719
|
default: O(() => [
|
|
14719
|
-
u.type === "button-options" ? (q(),
|
|
14720
|
+
u.type === "button-options" ? (q(), ne(dg, {
|
|
14720
14721
|
key: 0,
|
|
14721
14722
|
field: u,
|
|
14722
14723
|
onOnSelectedButtonChange: r
|
|
14723
|
-
}, null, 8, ["field"])) : (q(),
|
|
14724
|
+
}, null, 8, ["field"])) : (q(), ne(un, { key: 1 }, {
|
|
14724
14725
|
default: O(() => [
|
|
14725
14726
|
y(Qe, {
|
|
14726
14727
|
cols: fe(zo)(u)
|
|
14727
14728
|
}, {
|
|
14728
14729
|
default: O(() => [
|
|
14729
|
-
u.type === "password" ? (q(),
|
|
14730
|
+
u.type === "password" ? (q(), ne(jo, {
|
|
14730
14731
|
key: 0,
|
|
14731
14732
|
modelValue: u.value,
|
|
14732
14733
|
"onUpdate:modelValue": (f) => u.value = f,
|
|
@@ -14735,7 +14736,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14735
14736
|
autofocus: u.autofocus,
|
|
14736
14737
|
placeholder: u.placeholder,
|
|
14737
14738
|
"error-messages": u.error
|
|
14738
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "autofocus", "placeholder", "error-messages"])) : (q(),
|
|
14739
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "autofocus", "placeholder", "error-messages"])) : (q(), ne(jo, {
|
|
14739
14740
|
key: 1,
|
|
14740
14741
|
modelValue: u.value,
|
|
14741
14742
|
"onUpdate:modelValue": (f) => u.value = f,
|
|
@@ -14752,7 +14753,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14752
14753
|
]),
|
|
14753
14754
|
_: 2
|
|
14754
14755
|
}, 1032, ["cols"]),
|
|
14755
|
-
u.count && !u.disabled ? (q(),
|
|
14756
|
+
u.count && !u.disabled ? (q(), ne(Qe, {
|
|
14756
14757
|
key: 0,
|
|
14757
14758
|
cols: "1",
|
|
14758
14759
|
class: "d-flex align-center justify-center"
|
|
@@ -14772,14 +14773,14 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14772
14773
|
}, 8, ["onClick"])
|
|
14773
14774
|
]),
|
|
14774
14775
|
_: 2
|
|
14775
|
-
}, 1024)) :
|
|
14776
|
+
}, 1024)) : Se("", !0)
|
|
14776
14777
|
]),
|
|
14777
14778
|
_: 2
|
|
14778
14779
|
}, 1024))
|
|
14779
14780
|
]),
|
|
14780
14781
|
_: 2
|
|
14781
|
-
}, 1032, ["cols", "md"])) :
|
|
14782
|
-
u.hasCountBtn && !u.disabled ? (q(),
|
|
14782
|
+
}, 1032, ["cols", "md"])) : Se("", !0),
|
|
14783
|
+
u.hasCountBtn && !u.disabled ? (q(), ne(Qe, {
|
|
14783
14784
|
key: 1,
|
|
14784
14785
|
cols: "12",
|
|
14785
14786
|
class: "d-flex align-start justify-center pa-0"
|
|
@@ -14805,7 +14806,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14805
14806
|
}, 8, ["onClick"])
|
|
14806
14807
|
]),
|
|
14807
14808
|
_: 2
|
|
14808
|
-
}, 1024)) :
|
|
14809
|
+
}, 1024)) : Se("", !0)
|
|
14809
14810
|
], 64))), 128)),
|
|
14810
14811
|
y(Qe, {
|
|
14811
14812
|
cols: "12",
|
|
@@ -14874,12 +14875,12 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14874
14875
|
}
|
|
14875
14876
|
);
|
|
14876
14877
|
const s = x(() => n.fields.filter((u) => i.value[u.model])), c = j(!1);
|
|
14877
|
-
return (u, d) => (q(),
|
|
14878
|
+
return (u, d) => (q(), ne(Tt, { variant: "text" }, {
|
|
14878
14879
|
default: O(() => [
|
|
14879
|
-
n.title ? (q(),
|
|
14880
|
+
n.title ? (q(), ne(rg, {
|
|
14880
14881
|
key: 0,
|
|
14881
14882
|
title: n.title
|
|
14882
|
-
}, null, 8, ["title"])) :
|
|
14883
|
+
}, null, 8, ["title"])) : Se("", !0),
|
|
14883
14884
|
y(En, { class: "pa-0" }, {
|
|
14884
14885
|
default: O(() => [
|
|
14885
14886
|
y(uv, {
|
|
@@ -14895,7 +14896,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14895
14896
|
disabled: n.disabled,
|
|
14896
14897
|
onUpdateSearch: l
|
|
14897
14898
|
}, null, 8, ["fields", "disabled"]),
|
|
14898
|
-
e.noActionButtons ?
|
|
14899
|
+
e.noActionButtons ? Se("", !0) : (q(), ne(sg, {
|
|
14899
14900
|
key: 0,
|
|
14900
14901
|
"disable-add-button": !c.value,
|
|
14901
14902
|
"hide-cancel-button": e.hideCancelButton ?? !1,
|
|
@@ -14928,7 +14929,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14928
14929
|
}, i = (r) => {
|
|
14929
14930
|
a("update:isDialogVisible", r);
|
|
14930
14931
|
};
|
|
14931
|
-
return (r, s) => (q(),
|
|
14932
|
+
return (r, s) => (q(), ne(Ar, {
|
|
14932
14933
|
"model-value": n.isDialogVisible,
|
|
14933
14934
|
"onUpdate:modelValue": i,
|
|
14934
14935
|
width: n.width ?? "600",
|
|
@@ -14937,7 +14938,7 @@ const ng = /* @__PURE__ */ hn(eg, [["render", tg]]), ag = { class: "pa-5 d-flex
|
|
|
14937
14938
|
default: O(() => [
|
|
14938
14939
|
y(Tt, { class: "position-relative" }, {
|
|
14939
14940
|
default: O(() => [
|
|
14940
|
-
n.loading ? (q(),
|
|
14941
|
+
n.loading ? (q(), ne(ng, { key: 0 })) : Se("", !0),
|
|
14941
14942
|
y(og, {
|
|
14942
14943
|
title: n.title,
|
|
14943
14944
|
onClose: s[0] || (s[0] = (c) => i(!1))
|