v-datatable-plus 0.0.21 → 0.1.1
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/v-datatable-plus.cjs +3 -3
- package/dist/v-datatable-plus.js +398 -398
- package/dist/v-datatable-plus.umd.cjs +3 -3
- package/package.json +1 -1
package/dist/v-datatable-plus.js
CHANGED
|
@@ -468,12 +468,12 @@ function da(e) {
|
|
|
468
468
|
l = n.slice(7, -1).split(/, /), i = +l[0], r = +l[3], o = +l[4], s = +l[5];
|
|
469
469
|
else
|
|
470
470
|
return new gt(a);
|
|
471
|
-
const c = t.transformOrigin, v = a.x - o - (1 - i) * parseFloat(c), m = a.y - s - (1 - r) * parseFloat(c.slice(c.indexOf(" ") + 1)),
|
|
471
|
+
const c = t.transformOrigin, v = a.x - o - (1 - i) * parseFloat(c), m = a.y - s - (1 - r) * parseFloat(c.slice(c.indexOf(" ") + 1)), f = i ? a.width / i : e.offsetWidth + 1, d = r ? a.height / r : e.offsetHeight + 1;
|
|
472
472
|
return new gt({
|
|
473
473
|
x: v,
|
|
474
474
|
y: m,
|
|
475
|
-
width:
|
|
476
|
-
height:
|
|
475
|
+
width: f,
|
|
476
|
+
height: d
|
|
477
477
|
});
|
|
478
478
|
} else
|
|
479
479
|
return new gt(a);
|
|
@@ -741,9 +741,9 @@ function go() {
|
|
|
741
741
|
return (s = t.value) == null ? void 0 : s[e._as ?? a];
|
|
742
742
|
}), i = new Proxy(e, {
|
|
743
743
|
get(s, c) {
|
|
744
|
-
var m,
|
|
744
|
+
var m, f, d, y, g, h, S;
|
|
745
745
|
const v = Reflect.get(s, c);
|
|
746
|
-
return c === "class" || c === "style" ? [(m = l.value) == null ? void 0 : m[c], v].filter((p) => p != null) : typeof c == "string" && !vo(n.vnode, c) ? ((
|
|
746
|
+
return c === "class" || c === "style" ? [(m = l.value) == null ? void 0 : m[c], v].filter((p) => p != null) : typeof c == "string" && !vo(n.vnode, c) ? ((f = l.value) == null ? void 0 : f[c]) !== void 0 ? (d = l.value) == null ? void 0 : d[c] : ((g = (y = t.value) == null ? void 0 : y.global) == null ? void 0 : g[c]) !== void 0 ? (S = (h = t.value) == null ? void 0 : h.global) == null ? void 0 : S[c] : v : v;
|
|
747
747
|
}
|
|
748
748
|
}), r = ne();
|
|
749
749
|
He(() => {
|
|
@@ -1150,11 +1150,11 @@ function ht(e, a) {
|
|
|
1150
1150
|
function de(e, a, t) {
|
|
1151
1151
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (m) => m, l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (m) => m;
|
|
1152
1152
|
const i = me("useProxiedModel"), r = U(e[a] !== void 0 ? e[a] : t), o = vt(a), c = o !== a ? b(() => {
|
|
1153
|
-
var m,
|
|
1154
|
-
return e[a], !!(((m = i.vnode.props) != null && m.hasOwnProperty(a) || (
|
|
1153
|
+
var m, f, d, y;
|
|
1154
|
+
return e[a], !!(((m = i.vnode.props) != null && m.hasOwnProperty(a) || (f = i.vnode.props) != null && f.hasOwnProperty(o)) && ((d = i.vnode.props) != null && d.hasOwnProperty(`onUpdate:${a}`) || (y = i.vnode.props) != null && y.hasOwnProperty(`onUpdate:${o}`)));
|
|
1155
1155
|
}) : b(() => {
|
|
1156
|
-
var m,
|
|
1157
|
-
return e[a], !!((m = i.vnode.props) != null && m.hasOwnProperty(a) && ((
|
|
1156
|
+
var m, f;
|
|
1157
|
+
return e[a], !!((m = i.vnode.props) != null && m.hasOwnProperty(a) && ((f = i.vnode.props) != null && f.hasOwnProperty(`onUpdate:${a}`)));
|
|
1158
1158
|
});
|
|
1159
1159
|
ht(() => !c.value, () => {
|
|
1160
1160
|
le(() => e[a], (m) => {
|
|
@@ -1167,8 +1167,8 @@ function de(e, a, t) {
|
|
|
1167
1167
|
return n(c.value ? m : r.value);
|
|
1168
1168
|
},
|
|
1169
1169
|
set(m) {
|
|
1170
|
-
const
|
|
1171
|
-
|
|
1170
|
+
const f = l(m), d = _e(c.value ? e[a] : r.value);
|
|
1171
|
+
d === f || n(d) === m || (r.value = f, i == null || i.emit(`update:${a}`, f));
|
|
1172
1172
|
}
|
|
1173
1173
|
});
|
|
1174
1174
|
return Object.defineProperty(v, "externalValue", {
|
|
@@ -1212,9 +1212,9 @@ function Gl(e, a) {
|
|
|
1212
1212
|
i.unregister(l);
|
|
1213
1213
|
});
|
|
1214
1214
|
const s = b(() => i.isSelected(l)), c = b(() => i.items.value[0].id === l), v = b(() => i.items.value[i.items.value.length - 1].id === l), m = b(() => s.value && [i.selectedClass.value, e.selectedClass]);
|
|
1215
|
-
return le(s, (
|
|
1215
|
+
return le(s, (f) => {
|
|
1216
1216
|
n.emit("group:selected", {
|
|
1217
|
-
value:
|
|
1217
|
+
value: f
|
|
1218
1218
|
});
|
|
1219
1219
|
}, {
|
|
1220
1220
|
flush: "sync"
|
|
@@ -1224,7 +1224,7 @@ function Gl(e, a) {
|
|
|
1224
1224
|
isFirst: c,
|
|
1225
1225
|
isLast: v,
|
|
1226
1226
|
toggle: () => i.select(l, !s.value),
|
|
1227
|
-
select: (
|
|
1227
|
+
select: (f) => i.select(l, f),
|
|
1228
1228
|
selectedClass: m,
|
|
1229
1229
|
value: r,
|
|
1230
1230
|
disabled: o,
|
|
@@ -1233,60 +1233,60 @@ function Gl(e, a) {
|
|
|
1233
1233
|
}
|
|
1234
1234
|
function ha(e, a) {
|
|
1235
1235
|
let t = !1;
|
|
1236
|
-
const n = lt([]), l = de(e, "modelValue", [], (
|
|
1237
|
-
const
|
|
1238
|
-
return e.multiple ?
|
|
1236
|
+
const n = lt([]), l = de(e, "modelValue", [], (f) => f == null ? [] : Ul(n, Pe(f)), (f) => {
|
|
1237
|
+
const d = po(n, f);
|
|
1238
|
+
return e.multiple ? d : d[0];
|
|
1239
1239
|
}), i = me("useGroup");
|
|
1240
|
-
function r(
|
|
1241
|
-
const y =
|
|
1240
|
+
function r(f, d) {
|
|
1241
|
+
const y = f, g = Symbol.for(`${a.description}:id`), S = Et(g, i == null ? void 0 : i.vnode).indexOf(d);
|
|
1242
1242
|
be(y.value) == null && (y.value = S, y.useIndexAsValue = !0), S > -1 ? n.splice(S, 0, y) : n.push(y);
|
|
1243
1243
|
}
|
|
1244
|
-
function o(
|
|
1244
|
+
function o(f) {
|
|
1245
1245
|
if (t)
|
|
1246
1246
|
return;
|
|
1247
1247
|
s();
|
|
1248
|
-
const
|
|
1249
|
-
n.splice(
|
|
1248
|
+
const d = n.findIndex((y) => y.id === f);
|
|
1249
|
+
n.splice(d, 1);
|
|
1250
1250
|
}
|
|
1251
1251
|
function s() {
|
|
1252
|
-
const
|
|
1253
|
-
|
|
1252
|
+
const f = n.find((d) => !d.disabled);
|
|
1253
|
+
f && e.mandatory === "force" && !l.value.length && (l.value = [f.id]);
|
|
1254
1254
|
}
|
|
1255
1255
|
Ht(() => {
|
|
1256
1256
|
s();
|
|
1257
1257
|
}), Je(() => {
|
|
1258
1258
|
t = !0;
|
|
1259
1259
|
}), _r(() => {
|
|
1260
|
-
for (let
|
|
1261
|
-
n[
|
|
1260
|
+
for (let f = 0; f < n.length; f++)
|
|
1261
|
+
n[f].useIndexAsValue && (n[f].value = f);
|
|
1262
1262
|
});
|
|
1263
|
-
function c(
|
|
1264
|
-
const y = n.find((g) => g.id ===
|
|
1265
|
-
if (!(
|
|
1263
|
+
function c(f, d) {
|
|
1264
|
+
const y = n.find((g) => g.id === f);
|
|
1265
|
+
if (!(d && (y != null && y.disabled)))
|
|
1266
1266
|
if (e.multiple) {
|
|
1267
|
-
const g = l.value.slice(), h = g.findIndex((p) => p ===
|
|
1268
|
-
if (
|
|
1267
|
+
const g = l.value.slice(), h = g.findIndex((p) => p === f), S = ~h;
|
|
1268
|
+
if (d = d ?? !S, S && e.mandatory && g.length <= 1 || !S && e.max != null && g.length + 1 > e.max)
|
|
1269
1269
|
return;
|
|
1270
|
-
h < 0 &&
|
|
1270
|
+
h < 0 && d ? g.push(f) : h >= 0 && !d && g.splice(h, 1), l.value = g;
|
|
1271
1271
|
} else {
|
|
1272
|
-
const g = l.value.includes(
|
|
1272
|
+
const g = l.value.includes(f);
|
|
1273
1273
|
if (e.mandatory && g)
|
|
1274
1274
|
return;
|
|
1275
|
-
l.value =
|
|
1275
|
+
l.value = d ?? !g ? [f] : [];
|
|
1276
1276
|
}
|
|
1277
1277
|
}
|
|
1278
|
-
function v(
|
|
1278
|
+
function v(f) {
|
|
1279
1279
|
if (e.multiple && mt('This method is not supported when using "multiple" prop'), l.value.length) {
|
|
1280
|
-
const
|
|
1281
|
-
let g = (y +
|
|
1280
|
+
const d = l.value[0], y = n.findIndex((S) => S.id === d);
|
|
1281
|
+
let g = (y + f) % n.length, h = n[g];
|
|
1282
1282
|
for (; h.disabled && g !== y; )
|
|
1283
|
-
g = (g +
|
|
1283
|
+
g = (g + f) % n.length, h = n[g];
|
|
1284
1284
|
if (h.disabled)
|
|
1285
1285
|
return;
|
|
1286
1286
|
l.value = [n[g].id];
|
|
1287
1287
|
} else {
|
|
1288
|
-
const
|
|
1289
|
-
|
|
1288
|
+
const d = n.find((y) => !y.disabled);
|
|
1289
|
+
d && (l.value = [d.id]);
|
|
1290
1290
|
}
|
|
1291
1291
|
}
|
|
1292
1292
|
const m = {
|
|
@@ -1297,10 +1297,10 @@ function ha(e, a) {
|
|
|
1297
1297
|
disabled: G(e, "disabled"),
|
|
1298
1298
|
prev: () => v(n.length - 1),
|
|
1299
1299
|
next: () => v(1),
|
|
1300
|
-
isSelected: (
|
|
1300
|
+
isSelected: (f) => l.value.includes(f),
|
|
1301
1301
|
selectedClass: b(() => e.selectedClass),
|
|
1302
1302
|
items: b(() => n),
|
|
1303
|
-
getItemIndex: (
|
|
1303
|
+
getItemIndex: (f) => xo(n, f)
|
|
1304
1304
|
};
|
|
1305
1305
|
return Se(a, m), m;
|
|
1306
1306
|
}
|
|
@@ -1553,9 +1553,9 @@ const Oo = H({
|
|
|
1553
1553
|
textColorStyles: c
|
|
1554
1554
|
} = Qe(G(e, "color"));
|
|
1555
1555
|
return ee(() => {
|
|
1556
|
-
var
|
|
1557
|
-
const v = (
|
|
1558
|
-
v && (l.value = (
|
|
1556
|
+
var f, d;
|
|
1557
|
+
const v = (f = n.default) == null ? void 0 : f.call(n);
|
|
1558
|
+
v && (l.value = (d = $l(v).filter((y) => y.type === Dr && y.children && typeof y.children == "string")[0]) == null ? void 0 : d.children);
|
|
1559
1559
|
const m = !!(t.onClick || t.onClickOnce);
|
|
1560
1560
|
return u(r.value.component, {
|
|
1561
1561
|
tag: e.tag,
|
|
@@ -1658,16 +1658,16 @@ const $o = H({
|
|
|
1658
1658
|
textColorStyles: v
|
|
1659
1659
|
} = Qe(G(e, "color")), {
|
|
1660
1660
|
textColorClasses: m,
|
|
1661
|
-
textColorStyles:
|
|
1661
|
+
textColorStyles: f
|
|
1662
1662
|
} = Qe(G(e, "bgColor")), {
|
|
1663
|
-
intersectionRef:
|
|
1663
|
+
intersectionRef: d,
|
|
1664
1664
|
isIntersecting: y
|
|
1665
1665
|
} = Kl(), {
|
|
1666
1666
|
resizeRef: g,
|
|
1667
1667
|
contentRect: h
|
|
1668
1668
|
} = It(), S = b(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), p = b(() => Number(e.width)), $ = b(() => s.value ? Number(e.size) : h.value ? h.value.width : Math.max(p.value, 32)), _ = b(() => n / (1 - p.value / $.value) * 2), E = b(() => p.value / $.value * _.value), M = b(() => Z((100 - S.value) / 100 * l));
|
|
1669
1669
|
return He(() => {
|
|
1670
|
-
|
|
1670
|
+
d.value = i.value, g.value = i.value;
|
|
1671
1671
|
}), ee(() => u(e.tag, {
|
|
1672
1672
|
ref: i,
|
|
1673
1673
|
class: ["v-progress-circular", {
|
|
@@ -1689,7 +1689,7 @@ const $o = H({
|
|
|
1689
1689
|
viewBox: `0 0 ${_.value} ${_.value}`
|
|
1690
1690
|
}, [u("circle", {
|
|
1691
1691
|
class: ["v-progress-circular__underlay", m.value],
|
|
1692
|
-
style:
|
|
1692
|
+
style: f.value,
|
|
1693
1693
|
fill: "transparent",
|
|
1694
1694
|
cx: "50%",
|
|
1695
1695
|
cy: "50%",
|
|
@@ -1851,8 +1851,8 @@ const Lo = H({
|
|
|
1851
1851
|
backgroundColorClasses: v,
|
|
1852
1852
|
backgroundColorStyles: m
|
|
1853
1853
|
} = qe(b(() => e.bgColor || e.color)), {
|
|
1854
|
-
backgroundColorClasses:
|
|
1855
|
-
backgroundColorStyles:
|
|
1854
|
+
backgroundColorClasses: f,
|
|
1855
|
+
backgroundColorStyles: d
|
|
1856
1856
|
} = qe(b(() => e.bufferColor || e.bgColor || e.color)), {
|
|
1857
1857
|
backgroundColorClasses: y,
|
|
1858
1858
|
backgroundColorStyles: g
|
|
@@ -1915,8 +1915,8 @@ const Lo = H({
|
|
|
1915
1915
|
width: e.stream ? 0 : void 0
|
|
1916
1916
|
}]
|
|
1917
1917
|
}, null), u("div", {
|
|
1918
|
-
class: ["v-progress-linear__buffer",
|
|
1919
|
-
style: [
|
|
1918
|
+
class: ["v-progress-linear__buffer", f.value],
|
|
1919
|
+
style: [d.value, {
|
|
1920
1920
|
opacity: parseFloat(e.bufferOpacity),
|
|
1921
1921
|
width: Z(E.value, "%")
|
|
1922
1922
|
}]
|
|
@@ -2017,8 +2017,8 @@ function Bn(e, a) {
|
|
|
2017
2017
|
route: (c = o.value) == null ? void 0 : c.route,
|
|
2018
2018
|
navigate: (v = o.value) == null ? void 0 : v.navigate,
|
|
2019
2019
|
isActive: b(() => {
|
|
2020
|
-
var m,
|
|
2021
|
-
return o.value ? e.exact ? s.value ? ((
|
|
2020
|
+
var m, f, d;
|
|
2021
|
+
return o.value ? e.exact ? s.value ? ((d = o.value.isExactActive) == null ? void 0 : d.value) && ot(o.value.route.value.query, s.value.query) : ((f = o.value.isExactActive) == null ? void 0 : f.value) ?? !1 : ((m = o.value.isActive) == null ? void 0 : m.value) ?? !1 : !1;
|
|
2022
2022
|
}),
|
|
2023
2023
|
href: b(() => {
|
|
2024
2024
|
var m;
|
|
@@ -2075,8 +2075,8 @@ const Ho = function(e, a) {
|
|
|
2075
2075
|
var m;
|
|
2076
2076
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = 0, l = 0;
|
|
2077
2077
|
if (!Jl(e)) {
|
|
2078
|
-
const
|
|
2079
|
-
n =
|
|
2078
|
+
const f = a.getBoundingClientRect(), d = Xn(e) ? e.touches[e.touches.length - 1] : e;
|
|
2079
|
+
n = d.clientX - f.left, l = d.clientY - f.top;
|
|
2080
2080
|
}
|
|
2081
2081
|
let i = 0, r = 0.3;
|
|
2082
2082
|
(m = a._ripple) != null && m.circle ? (r = 0.15, i = a.clientWidth / 2, i = t.center ? i : i + Math.sqrt((n - i) ** 2 + (l - i) ** 2) / 4) : i = Math.sqrt(a.clientWidth ** 2 + a.clientHeight ** 2) / 2;
|
|
@@ -2092,9 +2092,9 @@ const Ho = function(e, a) {
|
|
|
2092
2092
|
}, gn = {
|
|
2093
2093
|
/* eslint-disable max-statements */
|
|
2094
2094
|
show(e, a) {
|
|
2095
|
-
var
|
|
2095
|
+
var d;
|
|
2096
2096
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
2097
|
-
if (!((
|
|
2097
|
+
if (!((d = a == null ? void 0 : a._ripple) != null && d.enabled))
|
|
2098
2098
|
return;
|
|
2099
2099
|
const n = document.createElement("span"), l = document.createElement("span");
|
|
2100
2100
|
n.appendChild(l), n.className = "v-ripple__container", t.class && (n.className += ` ${t.class}`);
|
|
@@ -2107,8 +2107,8 @@ const Ho = function(e, a) {
|
|
|
2107
2107
|
centerY: v
|
|
2108
2108
|
} = Ho(e, a, t), m = `${i * 2}px`;
|
|
2109
2109
|
l.className = "v-ripple__animation", l.style.width = m, l.style.height = m, a.appendChild(n);
|
|
2110
|
-
const
|
|
2111
|
-
|
|
2110
|
+
const f = window.getComputedStyle(a);
|
|
2111
|
+
f && f.position === "static" && (a.style.position = "relative", a.dataset.previousPosition = "static"), l.classList.add("v-ripple__animation--enter"), l.classList.add("v-ripple__animation--visible"), al(l, `translate(${o}, ${s}) scale3d(${r},${r},${r})`), l.dataset.activated = String(performance.now()), setTimeout(() => {
|
|
2112
2112
|
l.classList.remove("v-ripple__animation--enter"), l.classList.add("v-ripple__animation--in"), al(l, `translate(${c}, ${v}) scale3d(1,1,1)`);
|
|
2113
2113
|
}, 0);
|
|
2114
2114
|
},
|
|
@@ -2299,9 +2299,9 @@ const qt = {
|
|
|
2299
2299
|
} = Sa(e), {
|
|
2300
2300
|
positionClasses: m
|
|
2301
2301
|
} = Ql(e), {
|
|
2302
|
-
roundedClasses:
|
|
2302
|
+
roundedClasses: f
|
|
2303
2303
|
} = je(e), {
|
|
2304
|
-
sizeClasses:
|
|
2304
|
+
sizeClasses: d,
|
|
2305
2305
|
sizeStyles: y
|
|
2306
2306
|
} = Ut(e), g = Gl(e, e.symbol, !1), h = Bn(e, t), S = b(() => {
|
|
2307
2307
|
var N;
|
|
@@ -2339,7 +2339,7 @@ const qt = {
|
|
|
2339
2339
|
"v-btn--readonly": e.readonly,
|
|
2340
2340
|
"v-btn--slim": e.slim,
|
|
2341
2341
|
"v-btn--stacked": e.stacked
|
|
2342
|
-
}, l.value, i.value, $.value, r.value, s.value, c.value, m.value,
|
|
2342
|
+
}, l.value, i.value, $.value, r.value, s.value, c.value, m.value, f.value, d.value, E.value, e.class],
|
|
2343
2343
|
style: [_.value, o.value, v.value, y.value, e.style],
|
|
2344
2344
|
"aria-busy": e.loading ? !0 : void 0,
|
|
2345
2345
|
disabled: M.value || void 0,
|
|
@@ -2539,7 +2539,7 @@ function Jo(e, a) {
|
|
|
2539
2539
|
const c = (m = e._observe) == null ? void 0 : m[a.instance.$.uid];
|
|
2540
2540
|
if (!c)
|
|
2541
2541
|
return;
|
|
2542
|
-
const v = o.some((
|
|
2542
|
+
const v = o.some((f) => f.isIntersecting);
|
|
2543
2543
|
l && (!t.quiet || c.init) && (!t.once || v || c.init) && l(v, o, s), v && t.once ? oi(e, a) : c.init = !0;
|
|
2544
2544
|
}, i);
|
|
2545
2545
|
e._observe = Object(e._observe), e._observe[a.instance.$.uid] = {
|
|
@@ -2610,7 +2610,7 @@ const si = {
|
|
|
2610
2610
|
backgroundColorStyles: i
|
|
2611
2611
|
} = qe(G(e, "color")), {
|
|
2612
2612
|
roundedClasses: r
|
|
2613
|
-
} = je(e), o = me("VImg"), s = ne(""), c = U(), v = ne(e.eager ? "loading" : "idle"), m = ne(),
|
|
2613
|
+
} = je(e), o = me("VImg"), s = ne(""), c = U(), v = ne(e.eager ? "loading" : "idle"), m = ne(), f = ne(), d = b(() => e.src && typeof e.src == "object" ? {
|
|
2614
2614
|
src: e.src.src,
|
|
2615
2615
|
srcset: e.srcset || e.src.srcset,
|
|
2616
2616
|
lazySrc: e.lazySrc || e.src.lazySrc,
|
|
@@ -2620,7 +2620,7 @@ const si = {
|
|
|
2620
2620
|
srcset: e.srcset,
|
|
2621
2621
|
lazySrc: e.lazySrc,
|
|
2622
2622
|
aspect: Number(e.aspectRatio || 0)
|
|
2623
|
-
}), y = b(() =>
|
|
2623
|
+
}), y = b(() => d.value.aspect || m.value / f.value || 0);
|
|
2624
2624
|
le(() => e.src, () => {
|
|
2625
2625
|
g(v.value !== "idle");
|
|
2626
2626
|
}), le(y, (T, F) => {
|
|
@@ -2628,13 +2628,13 @@ const si = {
|
|
|
2628
2628
|
}), xl(() => g());
|
|
2629
2629
|
function g(T) {
|
|
2630
2630
|
if (!(e.eager && T) && !(sa && !T && !e.eager)) {
|
|
2631
|
-
if (v.value = "loading",
|
|
2631
|
+
if (v.value = "loading", d.value.lazySrc) {
|
|
2632
2632
|
const F = new Image();
|
|
2633
|
-
F.src =
|
|
2633
|
+
F.src = d.value.lazySrc, _(F, null);
|
|
2634
2634
|
}
|
|
2635
|
-
|
|
2635
|
+
d.value.src && Be(() => {
|
|
2636
2636
|
var F;
|
|
2637
|
-
t("loadstart", ((F = c.value) == null ? void 0 : F.currentSrc) ||
|
|
2637
|
+
t("loadstart", ((F = c.value) == null ? void 0 : F.currentSrc) || d.value.src), setTimeout(() => {
|
|
2638
2638
|
var z;
|
|
2639
2639
|
if (!o.isUnmounted)
|
|
2640
2640
|
if ((z = c.value) != null && z.complete) {
|
|
@@ -2649,11 +2649,11 @@ const si = {
|
|
|
2649
2649
|
}
|
|
2650
2650
|
function h() {
|
|
2651
2651
|
var T;
|
|
2652
|
-
o.isUnmounted || (p(), _(c.value), v.value = "loaded", t("load", ((T = c.value) == null ? void 0 : T.currentSrc) ||
|
|
2652
|
+
o.isUnmounted || (p(), _(c.value), v.value = "loaded", t("load", ((T = c.value) == null ? void 0 : T.currentSrc) || d.value.src));
|
|
2653
2653
|
}
|
|
2654
2654
|
function S() {
|
|
2655
2655
|
var T;
|
|
2656
|
-
o.isUnmounted || (v.value = "error", t("error", ((T = c.value) == null ? void 0 : T.currentSrc) ||
|
|
2656
|
+
o.isUnmounted || (v.value = "error", t("error", ((T = c.value) == null ? void 0 : T.currentSrc) || d.value.src));
|
|
2657
2657
|
}
|
|
2658
2658
|
function p() {
|
|
2659
2659
|
const T = c.value;
|
|
@@ -2672,7 +2672,7 @@ const si = {
|
|
|
2672
2672
|
naturalHeight: j,
|
|
2673
2673
|
naturalWidth: Q
|
|
2674
2674
|
} = T;
|
|
2675
|
-
j || Q ? (m.value = Q,
|
|
2675
|
+
j || Q ? (m.value = Q, f.value = j) : !T.complete && v.value === "loading" && F != null ? $ = window.setTimeout(z, F) : (T.currentSrc.endsWith(".svg") || T.currentSrc.startsWith("data:image/svg+xml")) && (m.value = 1, f.value = 1);
|
|
2676
2676
|
};
|
|
2677
2677
|
z();
|
|
2678
2678
|
}
|
|
@@ -2681,15 +2681,15 @@ const si = {
|
|
|
2681
2681
|
"v-img__img--contain": !e.cover
|
|
2682
2682
|
})), M = () => {
|
|
2683
2683
|
var z;
|
|
2684
|
-
if (!
|
|
2684
|
+
if (!d.value.src || v.value === "idle")
|
|
2685
2685
|
return null;
|
|
2686
2686
|
const T = u("img", {
|
|
2687
2687
|
class: ["v-img__img", E.value],
|
|
2688
2688
|
style: {
|
|
2689
2689
|
objectPosition: e.position
|
|
2690
2690
|
},
|
|
2691
|
-
src:
|
|
2692
|
-
srcset:
|
|
2691
|
+
src: d.value.src,
|
|
2692
|
+
srcset: d.value.srcset,
|
|
2693
2693
|
alt: e.alt,
|
|
2694
2694
|
crossorigin: e.crossorigin,
|
|
2695
2695
|
referrerpolicy: e.referrerpolicy,
|
|
@@ -2710,12 +2710,12 @@ const si = {
|
|
|
2710
2710
|
}, I = () => u(at, {
|
|
2711
2711
|
transition: e.transition
|
|
2712
2712
|
}, {
|
|
2713
|
-
default: () => [
|
|
2713
|
+
default: () => [d.value.lazySrc && v.value !== "loaded" && u("img", {
|
|
2714
2714
|
class: ["v-img__img", "v-img__img--preload", E.value],
|
|
2715
2715
|
style: {
|
|
2716
2716
|
objectPosition: e.position
|
|
2717
2717
|
},
|
|
2718
|
-
src:
|
|
2718
|
+
src: d.value.lazySrc,
|
|
2719
2719
|
alt: e.alt,
|
|
2720
2720
|
crossorigin: e.crossorigin,
|
|
2721
2721
|
referrerpolicy: e.referrerpolicy,
|
|
@@ -2777,7 +2777,7 @@ const si = {
|
|
|
2777
2777
|
image: c,
|
|
2778
2778
|
state: v,
|
|
2779
2779
|
naturalWidth: m,
|
|
2780
|
-
naturalHeight:
|
|
2780
|
+
naturalHeight: f
|
|
2781
2781
|
};
|
|
2782
2782
|
}
|
|
2783
2783
|
}), es = H({
|
|
@@ -3015,9 +3015,9 @@ const si = {
|
|
|
3015
3015
|
} = dt(e), {
|
|
3016
3016
|
elevationClasses: m
|
|
3017
3017
|
} = Ct(e), {
|
|
3018
|
-
loaderClasses:
|
|
3018
|
+
loaderClasses: f
|
|
3019
3019
|
} = Tn(e), {
|
|
3020
|
-
locationStyles:
|
|
3020
|
+
locationStyles: d
|
|
3021
3021
|
} = Sa(e), {
|
|
3022
3022
|
positionClasses: y
|
|
3023
3023
|
} = Ql(e), {
|
|
@@ -3031,8 +3031,8 @@ const si = {
|
|
|
3031
3031
|
"v-card--flat": e.flat,
|
|
3032
3032
|
"v-card--hover": e.hover && !(e.disabled || e.flat),
|
|
3033
3033
|
"v-card--link": p.value
|
|
3034
|
-
}, l.value, i.value, r.value, c.value, m.value,
|
|
3035
|
-
style: [o.value, v.value,
|
|
3034
|
+
}, l.value, i.value, r.value, c.value, m.value, f.value, y.value, g.value, s.value, e.class],
|
|
3035
|
+
style: [o.value, v.value, d.value, e.style],
|
|
3036
3036
|
href: h.href.value,
|
|
3037
3037
|
onClick: p.value && h.navigate,
|
|
3038
3038
|
tabindex: e.disabled ? -1 : void 0
|
|
@@ -3215,15 +3215,15 @@ function ss(e) {
|
|
|
3215
3215
|
densityClasses: t
|
|
3216
3216
|
} = Ye(e), n = de(e, "modelValue"), l = b(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), i = b(() => e.falseValue !== void 0 ? e.falseValue : !1), r = b(() => !!e.multiple || e.multiple == null && Array.isArray(n.value)), o = b({
|
|
3217
3217
|
get() {
|
|
3218
|
-
const
|
|
3219
|
-
return r.value ? Pe(
|
|
3218
|
+
const d = a ? a.modelValue.value : n.value;
|
|
3219
|
+
return r.value ? Pe(d).some((y) => e.valueComparator(y, l.value)) : e.valueComparator(d, l.value);
|
|
3220
3220
|
},
|
|
3221
|
-
set(
|
|
3221
|
+
set(d) {
|
|
3222
3222
|
if (e.readonly)
|
|
3223
3223
|
return;
|
|
3224
|
-
const y =
|
|
3224
|
+
const y = d ? l.value : i.value;
|
|
3225
3225
|
let g = y;
|
|
3226
|
-
r.value && (g =
|
|
3226
|
+
r.value && (g = d ? [...Pe(n.value), y] : Pe(n.value).filter((h) => !e.valueComparator(h, l.value))), a ? a.modelValue.value = g : n.value = g;
|
|
3227
3227
|
}
|
|
3228
3228
|
}), {
|
|
3229
3229
|
textColorClasses: s,
|
|
@@ -3234,7 +3234,7 @@ function ss(e) {
|
|
|
3234
3234
|
})), {
|
|
3235
3235
|
backgroundColorClasses: v,
|
|
3236
3236
|
backgroundColorStyles: m
|
|
3237
|
-
} = qe(b(() => o.value && !e.error && !e.disabled ? e.color : e.baseColor)),
|
|
3237
|
+
} = qe(b(() => o.value && !e.error && !e.disabled ? e.color : e.baseColor)), f = b(() => o.value ? e.trueIcon : e.falseIcon);
|
|
3238
3238
|
return {
|
|
3239
3239
|
group: a,
|
|
3240
3240
|
densityClasses: t,
|
|
@@ -3245,7 +3245,7 @@ function ss(e) {
|
|
|
3245
3245
|
textColorStyles: c,
|
|
3246
3246
|
backgroundColorClasses: v,
|
|
3247
3247
|
backgroundColorStyles: m,
|
|
3248
|
-
icon:
|
|
3248
|
+
icon: f
|
|
3249
3249
|
};
|
|
3250
3250
|
}
|
|
3251
3251
|
const rl = q()({
|
|
@@ -3272,8 +3272,8 @@ const rl = q()({
|
|
|
3272
3272
|
textColorStyles: c,
|
|
3273
3273
|
backgroundColorClasses: v,
|
|
3274
3274
|
backgroundColorStyles: m,
|
|
3275
|
-
trueValue:
|
|
3276
|
-
} = ss(e),
|
|
3275
|
+
trueValue: f
|
|
3276
|
+
} = ss(e), d = Ze(), y = ne(!1), g = ne(!1), h = U(), S = b(() => e.id || `input-${d}`), p = b(() => !e.disabled && !e.readonly);
|
|
3277
3277
|
l == null || l.onForceUpdate(() => {
|
|
3278
3278
|
h.value && (h.value.checked = o.value);
|
|
3279
3279
|
});
|
|
@@ -3307,7 +3307,7 @@ const rl = q()({
|
|
|
3307
3307
|
"aria-disabled": !!e.disabled,
|
|
3308
3308
|
"aria-label": e.label,
|
|
3309
3309
|
type: e.type,
|
|
3310
|
-
value:
|
|
3310
|
+
value: f.value,
|
|
3311
3311
|
name: e.name,
|
|
3312
3312
|
"aria-checked": e.type === "checkbox" ? o.value : void 0
|
|
3313
3313
|
}, B), null);
|
|
@@ -3471,9 +3471,9 @@ function De(e, a, t) {
|
|
|
3471
3471
|
top: c,
|
|
3472
3472
|
left: v,
|
|
3473
3473
|
width: m,
|
|
3474
|
-
height:
|
|
3474
|
+
height: f
|
|
3475
3475
|
} = o._transitionInitialStyles;
|
|
3476
|
-
delete o._transitionInitialStyles, o.style.position = s || "", o.style.top = c || "", o.style.left = v || "", o.style.width = m || "", o.style.height =
|
|
3476
|
+
delete o._transitionInitialStyles, o.style.position = s || "", o.style.top = c || "", o.style.left = v || "", o.style.width = m || "", o.style.height = f || "";
|
|
3477
3477
|
}
|
|
3478
3478
|
}
|
|
3479
3479
|
};
|
|
@@ -3570,8 +3570,8 @@ const ds = H({
|
|
|
3570
3570
|
l.style.pointerEvents = "none", l.style.visibility = "hidden";
|
|
3571
3571
|
},
|
|
3572
3572
|
async onEnter(l, i) {
|
|
3573
|
-
var
|
|
3574
|
-
await new Promise((
|
|
3573
|
+
var f;
|
|
3574
|
+
await new Promise((d) => requestAnimationFrame(d)), await new Promise((d) => requestAnimationFrame(d)), l.style.visibility = "";
|
|
3575
3575
|
const {
|
|
3576
3576
|
x: r,
|
|
3577
3577
|
y: o,
|
|
@@ -3585,8 +3585,8 @@ const ds = H({
|
|
|
3585
3585
|
duration: 225 * v,
|
|
3586
3586
|
easing: yo
|
|
3587
3587
|
});
|
|
3588
|
-
(
|
|
3589
|
-
pt(
|
|
3588
|
+
(f = ol(l)) == null || f.forEach((d) => {
|
|
3589
|
+
pt(d, [{
|
|
3590
3590
|
opacity: 0
|
|
3591
3591
|
}, {
|
|
3592
3592
|
opacity: 0,
|
|
@@ -3604,8 +3604,8 @@ const ds = H({
|
|
|
3604
3604
|
l.style.pointerEvents = "none";
|
|
3605
3605
|
},
|
|
3606
3606
|
async onLeave(l, i) {
|
|
3607
|
-
var
|
|
3608
|
-
await new Promise((
|
|
3607
|
+
var f;
|
|
3608
|
+
await new Promise((d) => requestAnimationFrame(d));
|
|
3609
3609
|
const {
|
|
3610
3610
|
x: r,
|
|
3611
3611
|
y: o,
|
|
@@ -3619,8 +3619,8 @@ const ds = H({
|
|
|
3619
3619
|
}], {
|
|
3620
3620
|
duration: 125 * v,
|
|
3621
3621
|
easing: ho
|
|
3622
|
-
}).finished.then(() => i()), (
|
|
3623
|
-
pt(
|
|
3622
|
+
}).finished.then(() => i()), (f = ol(l)) == null || f.forEach((d) => {
|
|
3623
|
+
pt(d, [{}, {
|
|
3624
3624
|
opacity: 0,
|
|
3625
3625
|
offset: 0.2
|
|
3626
3626
|
}, {
|
|
@@ -3655,11 +3655,11 @@ function sl(e, a) {
|
|
|
3655
3655
|
r === "left" || o === "left" ? s -= t.width / 2 : (r === "right" || o === "right") && (s += t.width / 2);
|
|
3656
3656
|
let c = t.top + t.height / 2;
|
|
3657
3657
|
r === "top" || o === "top" ? c -= t.height / 2 : (r === "bottom" || o === "bottom") && (c += t.height / 2);
|
|
3658
|
-
const v = t.width / n.width, m = t.height / n.height,
|
|
3658
|
+
const v = t.width / n.width, m = t.height / n.height, f = Math.max(1, v, m), d = v / f || 0, y = m / f || 0, g = n.width * n.height / (window.innerWidth * window.innerHeight), h = g > 0.12 ? Math.min(1.5, (g - 0.12) * 10 + 1) : 1;
|
|
3659
3659
|
return {
|
|
3660
3660
|
x: s - (l + n.left),
|
|
3661
3661
|
y: c - (i + n.top),
|
|
3662
|
-
sx:
|
|
3662
|
+
sx: d,
|
|
3663
3663
|
sy: y,
|
|
3664
3664
|
speed: h
|
|
3665
3665
|
};
|
|
@@ -3779,7 +3779,7 @@ function ys(e) {
|
|
|
3779
3779
|
const n = de(e, "modelValue"), l = b(() => e.validationValue === void 0 ? n.value : e.validationValue), i = xi(), r = U([]), o = ne(!0), s = b(() => !!(Pe(n.value === "" ? null : n.value).length || Pe(l.value === "" ? null : l.value).length)), c = b(() => !!(e.disabled ?? (i == null ? void 0 : i.isDisabled.value))), v = b(() => !!(e.readonly ?? (i == null ? void 0 : i.isReadonly.value))), m = b(() => {
|
|
3780
3780
|
var E;
|
|
3781
3781
|
return (E = e.errorMessages) != null && E.length ? Pe(e.errorMessages).concat(r.value).slice(0, Math.max(0, +e.maxErrors)) : r.value;
|
|
3782
|
-
}),
|
|
3782
|
+
}), f = b(() => {
|
|
3783
3783
|
let E = (e.validateOn ?? (i == null ? void 0 : i.validateOn.value)) || "input";
|
|
3784
3784
|
E === "lazy" && (E = "input lazy");
|
|
3785
3785
|
const M = new Set((E == null ? void 0 : E.split(" ")) ?? []);
|
|
@@ -3789,11 +3789,11 @@ function ys(e) {
|
|
|
3789
3789
|
submit: M.has("submit"),
|
|
3790
3790
|
lazy: M.has("lazy")
|
|
3791
3791
|
};
|
|
3792
|
-
}),
|
|
3792
|
+
}), d = b(() => {
|
|
3793
3793
|
var E;
|
|
3794
|
-
return e.error || (E = e.errorMessages) != null && E.length ? !1 : e.rules.length ? o.value ? r.value.length ||
|
|
3794
|
+
return e.error || (E = e.errorMessages) != null && E.length ? !1 : e.rules.length ? o.value ? r.value.length || f.value.lazy ? null : !0 : !r.value.length : !0;
|
|
3795
3795
|
}), y = ne(!1), g = b(() => ({
|
|
3796
|
-
[`${a}--error`]:
|
|
3796
|
+
[`${a}--error`]: d.value === !1,
|
|
3797
3797
|
[`${a}--dirty`]: s.value,
|
|
3798
3798
|
[`${a}--disabled`]: c.value,
|
|
3799
3799
|
[`${a}--readonly`]: v.value
|
|
@@ -3809,8 +3809,8 @@ function ys(e) {
|
|
|
3809
3809
|
}), Je(() => {
|
|
3810
3810
|
i == null || i.unregister(S.value);
|
|
3811
3811
|
}), Ht(async () => {
|
|
3812
|
-
|
|
3813
|
-
}), ht(() =>
|
|
3812
|
+
f.value.lazy || await _(!0), i == null || i.update(S.value, d.value, m.value);
|
|
3813
|
+
}), ht(() => f.value.input, () => {
|
|
3814
3814
|
le(l, () => {
|
|
3815
3815
|
if (l.value != null)
|
|
3816
3816
|
_();
|
|
@@ -3820,18 +3820,18 @@ function ys(e) {
|
|
|
3820
3820
|
});
|
|
3821
3821
|
}
|
|
3822
3822
|
});
|
|
3823
|
-
}), ht(() =>
|
|
3823
|
+
}), ht(() => f.value.blur, () => {
|
|
3824
3824
|
le(() => e.focused, (E) => {
|
|
3825
3825
|
E || _();
|
|
3826
3826
|
});
|
|
3827
|
-
}), le([
|
|
3828
|
-
i == null || i.update(S.value,
|
|
3827
|
+
}), le([d, m], () => {
|
|
3828
|
+
i == null || i.update(S.value, d.value, m.value);
|
|
3829
3829
|
});
|
|
3830
3830
|
async function p() {
|
|
3831
3831
|
n.value = null, await Be(), await $();
|
|
3832
3832
|
}
|
|
3833
3833
|
async function $() {
|
|
3834
|
-
o.value = !0,
|
|
3834
|
+
o.value = !0, f.value.lazy ? r.value = [] : await _(!0);
|
|
3835
3835
|
}
|
|
3836
3836
|
async function _() {
|
|
3837
3837
|
let E = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
@@ -3857,7 +3857,7 @@ function ys(e) {
|
|
|
3857
3857
|
isDisabled: c,
|
|
3858
3858
|
isReadonly: v,
|
|
3859
3859
|
isPristine: o,
|
|
3860
|
-
isValid:
|
|
3860
|
+
isValid: d,
|
|
3861
3861
|
isValidating: y,
|
|
3862
3862
|
reset: p,
|
|
3863
3863
|
resetValidation: $,
|
|
@@ -3917,8 +3917,8 @@ const pi = H({
|
|
|
3917
3917
|
rtlClasses: s
|
|
3918
3918
|
} = tt(), {
|
|
3919
3919
|
InputIcon: c
|
|
3920
|
-
} = gi(e), v = Ze(), m = b(() => e.id || `input-${v}`),
|
|
3921
|
-
errorMessages:
|
|
3920
|
+
} = gi(e), v = Ze(), m = b(() => e.id || `input-${v}`), f = b(() => `${m.value}-messages`), {
|
|
3921
|
+
errorMessages: d,
|
|
3922
3922
|
isDirty: y,
|
|
3923
3923
|
isDisabled: g,
|
|
3924
3924
|
isReadonly: h,
|
|
@@ -3931,7 +3931,7 @@ const pi = H({
|
|
|
3931
3931
|
validationClasses: I
|
|
3932
3932
|
} = ys(e, "v-input", m), O = b(() => ({
|
|
3933
3933
|
id: m,
|
|
3934
|
-
messagesId:
|
|
3934
|
+
messagesId: f,
|
|
3935
3935
|
isDirty: y,
|
|
3936
3936
|
isDisabled: g,
|
|
3937
3937
|
isReadonly: h,
|
|
@@ -3943,7 +3943,7 @@ const pi = H({
|
|
|
3943
3943
|
validate: M
|
|
3944
3944
|
})), B = b(() => {
|
|
3945
3945
|
var N;
|
|
3946
|
-
return (N = e.errorMessages) != null && N.length || !S.value &&
|
|
3946
|
+
return (N = e.errorMessages) != null && N.length || !S.value && d.value.length ? d.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages;
|
|
3947
3947
|
});
|
|
3948
3948
|
return ee(() => {
|
|
3949
3949
|
var z, j, Q, V;
|
|
@@ -3971,7 +3971,7 @@ const pi = H({
|
|
|
3971
3971
|
}, null), (Q = n.append) == null ? void 0 : Q.call(n, O.value)]), F && u("div", {
|
|
3972
3972
|
class: "v-input__details"
|
|
3973
3973
|
}, [u(vs, {
|
|
3974
|
-
id:
|
|
3974
|
+
id: f.value,
|
|
3975
3975
|
active: T,
|
|
3976
3976
|
messages: B.value
|
|
3977
3977
|
}, {
|
|
@@ -3982,7 +3982,7 @@ const pi = H({
|
|
|
3982
3982
|
resetValidation: E,
|
|
3983
3983
|
validate: M,
|
|
3984
3984
|
isValid: p,
|
|
3985
|
-
errorMessages:
|
|
3985
|
+
errorMessages: d
|
|
3986
3986
|
};
|
|
3987
3987
|
}
|
|
3988
3988
|
}), hs = Symbol.for("vuetify:display"), $n = H({
|
|
@@ -4067,13 +4067,13 @@ async function dl(e, a, t, n) {
|
|
|
4067
4067
|
const m = s[l] ?? 0;
|
|
4068
4068
|
if (v === m)
|
|
4069
4069
|
return Promise.resolve(v);
|
|
4070
|
-
const
|
|
4071
|
-
return new Promise((
|
|
4072
|
-
const S = (g -
|
|
4070
|
+
const f = performance.now();
|
|
4071
|
+
return new Promise((d) => requestAnimationFrame(function y(g) {
|
|
4072
|
+
const S = (g - f) / i.duration, p = Math.floor(m + (v - m) * c(ze(S, 0, 1)));
|
|
4073
4073
|
if (s[l] = p, S >= 1 && Math.abs(p - s[l]) < 10)
|
|
4074
|
-
return
|
|
4074
|
+
return d(v);
|
|
4075
4075
|
if (S > 2)
|
|
4076
|
-
return mt("Scroll target is not reachable"),
|
|
4076
|
+
return mt("Scroll target is not reachable"), d(s[l]);
|
|
4077
4077
|
requestAnimationFrame(y);
|
|
4078
4078
|
}));
|
|
4079
4079
|
}
|
|
@@ -4233,7 +4233,7 @@ const ps = H({
|
|
|
4233
4233
|
return;
|
|
4234
4234
|
const T = N.width, F = D.offsetWidth + parseFloat(getComputedStyle(D).marginRight) * 2;
|
|
4235
4235
|
v.value = g(T, F);
|
|
4236
|
-
}),
|
|
4236
|
+
}), f = b(() => parseInt(e.length, 10)), d = b(() => parseInt(e.start, 10)), y = b(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : v.value >= 0 ? v.value : g(c.value, 58));
|
|
4237
4237
|
function g(O, B) {
|
|
4238
4238
|
const N = e.showFirstLastPage ? 5 : 3;
|
|
4239
4239
|
return Math.max(0, Math.floor(
|
|
@@ -4242,23 +4242,23 @@ const ps = H({
|
|
|
4242
4242
|
));
|
|
4243
4243
|
}
|
|
4244
4244
|
const h = b(() => {
|
|
4245
|
-
if (
|
|
4245
|
+
if (f.value <= 0 || isNaN(f.value) || f.value > Number.MAX_SAFE_INTEGER)
|
|
4246
4246
|
return [];
|
|
4247
4247
|
if (y.value <= 0)
|
|
4248
4248
|
return [];
|
|
4249
4249
|
if (y.value === 1)
|
|
4250
4250
|
return [l.value];
|
|
4251
|
-
if (
|
|
4252
|
-
return Qt(
|
|
4253
|
-
const O = y.value % 2 === 0, B = O ? y.value / 2 : Math.floor(y.value / 2), N = O ? B : B + 1, D =
|
|
4251
|
+
if (f.value <= y.value)
|
|
4252
|
+
return Qt(f.value, d.value);
|
|
4253
|
+
const O = y.value % 2 === 0, B = O ? y.value / 2 : Math.floor(y.value / 2), N = O ? B : B + 1, D = f.value - B;
|
|
4254
4254
|
if (N - l.value >= 0)
|
|
4255
|
-
return [...Qt(Math.max(1, y.value - 1),
|
|
4255
|
+
return [...Qt(Math.max(1, y.value - 1), d.value), e.ellipsis, f.value];
|
|
4256
4256
|
if (l.value - D >= (O ? 1 : 0)) {
|
|
4257
|
-
const T = y.value - 1, F =
|
|
4258
|
-
return [
|
|
4257
|
+
const T = y.value - 1, F = f.value - T + d.value;
|
|
4258
|
+
return [d.value, e.ellipsis, ...Qt(T, F)];
|
|
4259
4259
|
} else {
|
|
4260
|
-
const T = Math.max(1, y.value - 3), F = T === 1 ? l.value : l.value - Math.ceil(T / 2) +
|
|
4261
|
-
return [
|
|
4260
|
+
const T = Math.max(1, y.value - 3), F = T === 1 ? l.value : l.value - Math.ceil(T / 2) + d.value;
|
|
4261
|
+
return [d.value, e.ellipsis, ...Qt(T, F), e.ellipsis, f.value];
|
|
4262
4262
|
}
|
|
4263
4263
|
});
|
|
4264
4264
|
function S(O, B, N) {
|
|
@@ -4312,11 +4312,11 @@ const ps = H({
|
|
|
4312
4312
|
};
|
|
4313
4313
|
}
|
|
4314
4314
|
})), E = b(() => {
|
|
4315
|
-
const O = !!e.disabled || l.value <=
|
|
4315
|
+
const O = !!e.disabled || l.value <= d.value, B = !!e.disabled || l.value >= d.value + f.value - 1;
|
|
4316
4316
|
return {
|
|
4317
4317
|
first: e.showFirstLastPage ? {
|
|
4318
4318
|
icon: o.value ? e.lastIcon : e.firstIcon,
|
|
4319
|
-
onClick: (N) => S(N,
|
|
4319
|
+
onClick: (N) => S(N, d.value, "first"),
|
|
4320
4320
|
disabled: O,
|
|
4321
4321
|
"aria-label": i(e.firstAriaLabel),
|
|
4322
4322
|
"aria-disabled": O
|
|
@@ -4337,7 +4337,7 @@ const ps = H({
|
|
|
4337
4337
|
},
|
|
4338
4338
|
last: e.showFirstLastPage ? {
|
|
4339
4339
|
icon: o.value ? e.firstIcon : e.lastIcon,
|
|
4340
|
-
onClick: (N) => S(N,
|
|
4340
|
+
onClick: (N) => S(N, d.value + f.value - 1, "last"),
|
|
4341
4341
|
disabled: B,
|
|
4342
4342
|
"aria-label": i(e.lastAriaLabel),
|
|
4343
4343
|
"aria-disabled": B
|
|
@@ -4346,11 +4346,11 @@ const ps = H({
|
|
|
4346
4346
|
});
|
|
4347
4347
|
function M() {
|
|
4348
4348
|
var B;
|
|
4349
|
-
const O = l.value -
|
|
4349
|
+
const O = l.value - d.value;
|
|
4350
4350
|
(B = p.value[O]) == null || B.$el.focus();
|
|
4351
4351
|
}
|
|
4352
4352
|
function I(O) {
|
|
4353
|
-
O.key === La.left && !e.disabled && l.value > +e.start ? (l.value = l.value - 1, Be(M)) : O.key === La.right && !e.disabled && l.value <
|
|
4353
|
+
O.key === La.left && !e.disabled && l.value > +e.start ? (l.value = l.value - 1, Be(M)) : O.key === La.right && !e.disabled && l.value < d.value + f.value - 1 && (l.value = l.value + 1, Be(M));
|
|
4354
4354
|
}
|
|
4355
4355
|
return ee(() => u(e.tag, {
|
|
4356
4356
|
ref: m,
|
|
@@ -4492,23 +4492,23 @@ const As = Symbol.for("vuetify:v-slide-group"), Vi = H({
|
|
|
4492
4492
|
displayClasses: l,
|
|
4493
4493
|
mobile: i
|
|
4494
4494
|
} = kt(e), r = ha(e, e.symbol), o = ne(!1), s = ne(0), c = ne(0), v = ne(0), m = b(() => e.direction === "horizontal"), {
|
|
4495
|
-
resizeRef:
|
|
4496
|
-
contentRect:
|
|
4495
|
+
resizeRef: f,
|
|
4496
|
+
contentRect: d
|
|
4497
4497
|
} = It(), {
|
|
4498
4498
|
resizeRef: y,
|
|
4499
4499
|
contentRect: g
|
|
4500
4500
|
} = It(), h = Cs(), S = b(() => ({
|
|
4501
|
-
container:
|
|
4501
|
+
container: f.el,
|
|
4502
4502
|
duration: 200,
|
|
4503
4503
|
easing: "easeOutQuart"
|
|
4504
4504
|
})), p = b(() => r.selected.value.length ? r.items.value.findIndex((w) => w.id === r.selected.value[0]) : -1), $ = b(() => r.selected.value.length ? r.items.value.findIndex((w) => w.id === r.selected.value[r.selected.value.length - 1]) : -1);
|
|
4505
4505
|
if (pe) {
|
|
4506
4506
|
let w = -1;
|
|
4507
|
-
le(() => [r.selected.value,
|
|
4507
|
+
le(() => [r.selected.value, d.value, g.value, m.value], () => {
|
|
4508
4508
|
cancelAnimationFrame(w), w = requestAnimationFrame(() => {
|
|
4509
|
-
if (
|
|
4509
|
+
if (d.value && g.value) {
|
|
4510
4510
|
const R = m.value ? "width" : "height";
|
|
4511
|
-
c.value =
|
|
4511
|
+
c.value = d.value[R], v.value = g.value[R], o.value = c.value + 1 < v.value;
|
|
4512
4512
|
}
|
|
4513
4513
|
if (p.value >= 0 && y.el) {
|
|
4514
4514
|
const R = y.el.children[$.value];
|
|
@@ -4521,27 +4521,27 @@ const As = Symbol.for("vuetify:v-slide-group"), Vi = H({
|
|
|
4521
4521
|
function E(w, R) {
|
|
4522
4522
|
let A = 0;
|
|
4523
4523
|
R ? A = Is({
|
|
4524
|
-
containerElement:
|
|
4524
|
+
containerElement: f.el,
|
|
4525
4525
|
isHorizontal: m.value,
|
|
4526
4526
|
selectedElement: w
|
|
4527
4527
|
}) : A = Ps({
|
|
4528
|
-
containerElement:
|
|
4528
|
+
containerElement: f.el,
|
|
4529
4529
|
isHorizontal: m.value,
|
|
4530
4530
|
isRtl: n.value,
|
|
4531
4531
|
selectedElement: w
|
|
4532
4532
|
}), M(A);
|
|
4533
4533
|
}
|
|
4534
4534
|
function M(w) {
|
|
4535
|
-
if (!pe || !
|
|
4535
|
+
if (!pe || !f.el)
|
|
4536
4536
|
return;
|
|
4537
|
-
const R = Rt(m.value,
|
|
4538
|
-
if (!(fl(m.value,
|
|
4537
|
+
const R = Rt(m.value, f.el), A = Pi(m.value, n.value, f.el);
|
|
4538
|
+
if (!(fl(m.value, f.el) <= R || // Prevent scrolling by only a couple of pixels, which doesn't look smooth
|
|
4539
4539
|
Math.abs(w - A) < 16)) {
|
|
4540
|
-
if (m.value && n.value &&
|
|
4540
|
+
if (m.value && n.value && f.el) {
|
|
4541
4541
|
const {
|
|
4542
4542
|
scrollWidth: L,
|
|
4543
4543
|
offsetWidth: P
|
|
4544
|
-
} =
|
|
4544
|
+
} = f.el;
|
|
4545
4545
|
w = L - P - w;
|
|
4546
4546
|
}
|
|
4547
4547
|
m.value ? h.horizontal(w, S.value) : h(w, S.value);
|
|
@@ -4605,11 +4605,11 @@ const As = Symbol.for("vuetify:v-slide-group"), Vi = H({
|
|
|
4605
4605
|
function j(w) {
|
|
4606
4606
|
const R = m.value && n.value ? -1 : 1, A = (w === "prev" ? -R : R) * c.value;
|
|
4607
4607
|
let x = s.value + A;
|
|
4608
|
-
if (m.value && n.value &&
|
|
4608
|
+
if (m.value && n.value && f.el) {
|
|
4609
4609
|
const {
|
|
4610
4610
|
scrollWidth: L,
|
|
4611
4611
|
offsetWidth: P
|
|
4612
|
-
} =
|
|
4612
|
+
} = f.el;
|
|
4613
4613
|
x += L - P;
|
|
4614
4614
|
}
|
|
4615
4615
|
M(x);
|
|
@@ -4633,9 +4633,9 @@ const As = Symbol.for("vuetify:v-slide-group"), Vi = H({
|
|
|
4633
4633
|
return !i.value && (o.value || Math.abs(s.value) > 0);
|
|
4634
4634
|
}
|
|
4635
4635
|
}), k = b(() => Math.abs(s.value) > 1), C = b(() => {
|
|
4636
|
-
if (!
|
|
4636
|
+
if (!f.value)
|
|
4637
4637
|
return !1;
|
|
4638
|
-
const w = fl(m.value,
|
|
4638
|
+
const w = fl(m.value, f.el), R = Vs(m.value, f.el);
|
|
4639
4639
|
return w - R - Math.abs(s.value) > 1;
|
|
4640
4640
|
});
|
|
4641
4641
|
return ee(() => u(e.tag, {
|
|
@@ -4663,7 +4663,7 @@ const As = Symbol.for("vuetify:v-slide-group"), Vi = H({
|
|
|
4663
4663
|
}, null)]
|
|
4664
4664
|
})]), u("div", {
|
|
4665
4665
|
key: "container",
|
|
4666
|
-
ref:
|
|
4666
|
+
ref: f,
|
|
4667
4667
|
class: "v-slide-group__container",
|
|
4668
4668
|
onScroll: I
|
|
4669
4669
|
}, [u("div", {
|
|
@@ -4842,9 +4842,9 @@ const Bs = H({
|
|
|
4842
4842
|
} = Ye(e), {
|
|
4843
4843
|
elevationClasses: m
|
|
4844
4844
|
} = Ct(e), {
|
|
4845
|
-
roundedClasses:
|
|
4845
|
+
roundedClasses: f
|
|
4846
4846
|
} = je(e), {
|
|
4847
|
-
sizeClasses:
|
|
4847
|
+
sizeClasses: d
|
|
4848
4848
|
} = Ut(e), {
|
|
4849
4849
|
themeClasses: y
|
|
4850
4850
|
} = ke(e), g = de(e, "modelValue"), h = Gl(e, Ai, !1), S = Bn(e, t), p = b(() => e.link !== !1 && S.isLink.value), $ = b(() => !e.disabled && e.link !== !1 && (!!h || e.link || S.isClickable.value)), _ = b(() => ({
|
|
@@ -4869,7 +4869,7 @@ const Bs = H({
|
|
|
4869
4869
|
"v-chip--link": $.value,
|
|
4870
4870
|
"v-chip--filter": D,
|
|
4871
4871
|
"v-chip--pill": e.pill
|
|
4872
|
-
}, y.value, r.value, z ? o.value : void 0, v.value, m.value,
|
|
4872
|
+
}, y.value, r.value, z ? o.value : void 0, v.value, m.value, f.value, d.value, c.value, h == null ? void 0 : h.selectedClass.value, e.class],
|
|
4873
4873
|
style: [z ? s.value : void 0, e.style],
|
|
4874
4874
|
disabled: e.disabled || void 0,
|
|
4875
4875
|
draggable: e.draggable,
|
|
@@ -5258,12 +5258,12 @@ const xa = (e) => {
|
|
|
5258
5258
|
}
|
|
5259
5259
|
let v = o.get(n);
|
|
5260
5260
|
for (; v; ) {
|
|
5261
|
-
const m = r.get(v),
|
|
5262
|
-
i.set(v,
|
|
5261
|
+
const m = r.get(v), f = m.every((y) => i.get(y) === "on"), d = m.every((y) => !i.has(y) || i.get(y) === "off");
|
|
5262
|
+
i.set(v, f ? "on" : d ? "off" : "indeterminate"), v = o.get(v);
|
|
5263
5263
|
}
|
|
5264
|
-
return e && !l && Array.from(i.entries()).reduce((
|
|
5265
|
-
let [y, g] =
|
|
5266
|
-
return g === "on" &&
|
|
5264
|
+
return e && !l && Array.from(i.entries()).reduce((f, d) => {
|
|
5265
|
+
let [y, g] = d;
|
|
5266
|
+
return g === "on" && f.push(y), f;
|
|
5267
5267
|
}, []).length === 0 ? s : i;
|
|
5268
5268
|
},
|
|
5269
5269
|
in: (t, n, l) => {
|
|
@@ -5316,7 +5316,7 @@ const xa = (e) => {
|
|
|
5316
5316
|
mandatory: Boolean
|
|
5317
5317
|
}, "nested"), Ms = (e) => {
|
|
5318
5318
|
let a = !1;
|
|
5319
|
-
const t = U(/* @__PURE__ */ new Map()), n = U(/* @__PURE__ */ new Map()), l = de(e, "opened", e.opened, (
|
|
5319
|
+
const t = U(/* @__PURE__ */ new Map()), n = U(/* @__PURE__ */ new Map()), l = de(e, "opened", e.opened, (d) => new Set(d), (d) => [...d.values()]), i = b(() => {
|
|
5320
5320
|
if (typeof e.activeStrategy == "object")
|
|
5321
5321
|
return e.activeStrategy;
|
|
5322
5322
|
if (typeof e.activeStrategy == "function")
|
|
@@ -5362,18 +5362,18 @@ const xa = (e) => {
|
|
|
5362
5362
|
default:
|
|
5363
5363
|
return Ei;
|
|
5364
5364
|
}
|
|
5365
|
-
}), s = de(e, "activated", e.activated, (
|
|
5365
|
+
}), s = de(e, "activated", e.activated, (d) => i.value.in(d, t.value, n.value), (d) => i.value.out(d, t.value, n.value)), c = de(e, "selected", e.selected, (d) => r.value.in(d, t.value, n.value), (d) => r.value.out(d, t.value, n.value));
|
|
5366
5366
|
Je(() => {
|
|
5367
5367
|
a = !0;
|
|
5368
5368
|
});
|
|
5369
|
-
function v(
|
|
5369
|
+
function v(d) {
|
|
5370
5370
|
const y = [];
|
|
5371
|
-
let g =
|
|
5371
|
+
let g = d;
|
|
5372
5372
|
for (; g != null; )
|
|
5373
5373
|
y.unshift(g), g = n.value.get(g);
|
|
5374
5374
|
return y;
|
|
5375
5375
|
}
|
|
5376
|
-
const m = me("nested"),
|
|
5376
|
+
const m = me("nested"), f = {
|
|
5377
5377
|
id: ne(),
|
|
5378
5378
|
root: {
|
|
5379
5379
|
opened: l,
|
|
@@ -5382,34 +5382,34 @@ const xa = (e) => {
|
|
|
5382
5382
|
activated: s,
|
|
5383
5383
|
selected: c,
|
|
5384
5384
|
selectedValues: b(() => {
|
|
5385
|
-
const
|
|
5385
|
+
const d = [];
|
|
5386
5386
|
for (const [y, g] of c.value.entries())
|
|
5387
|
-
g === "on" &&
|
|
5388
|
-
return
|
|
5387
|
+
g === "on" && d.push(y);
|
|
5388
|
+
return d;
|
|
5389
5389
|
}),
|
|
5390
|
-
register: (
|
|
5391
|
-
y &&
|
|
5390
|
+
register: (d, y, g) => {
|
|
5391
|
+
y && d !== y && n.value.set(d, y), g && t.value.set(d, []), y != null && t.value.set(y, [...t.value.get(y) || [], d]);
|
|
5392
5392
|
},
|
|
5393
|
-
unregister: (
|
|
5393
|
+
unregister: (d) => {
|
|
5394
5394
|
if (a)
|
|
5395
5395
|
return;
|
|
5396
|
-
t.value.delete(
|
|
5397
|
-
const y = n.value.get(
|
|
5396
|
+
t.value.delete(d);
|
|
5397
|
+
const y = n.value.get(d);
|
|
5398
5398
|
if (y) {
|
|
5399
5399
|
const g = t.value.get(y) ?? [];
|
|
5400
|
-
t.value.set(y, g.filter((h) => h !==
|
|
5400
|
+
t.value.set(y, g.filter((h) => h !== d));
|
|
5401
5401
|
}
|
|
5402
|
-
n.value.delete(
|
|
5402
|
+
n.value.delete(d), l.value.delete(d);
|
|
5403
5403
|
},
|
|
5404
|
-
open: (
|
|
5404
|
+
open: (d, y, g) => {
|
|
5405
5405
|
m.emit("click:open", {
|
|
5406
|
-
id:
|
|
5406
|
+
id: d,
|
|
5407
5407
|
value: y,
|
|
5408
|
-
path: v(
|
|
5408
|
+
path: v(d),
|
|
5409
5409
|
event: g
|
|
5410
5410
|
});
|
|
5411
5411
|
const h = o.value.open({
|
|
5412
|
-
id:
|
|
5412
|
+
id: d,
|
|
5413
5413
|
value: y,
|
|
5414
5414
|
opened: new Set(l.value),
|
|
5415
5415
|
children: t.value,
|
|
@@ -5418,9 +5418,9 @@ const xa = (e) => {
|
|
|
5418
5418
|
});
|
|
5419
5419
|
h && (l.value = h);
|
|
5420
5420
|
},
|
|
5421
|
-
openOnSelect: (
|
|
5421
|
+
openOnSelect: (d, y, g) => {
|
|
5422
5422
|
const h = o.value.select({
|
|
5423
|
-
id:
|
|
5423
|
+
id: d,
|
|
5424
5424
|
value: y,
|
|
5425
5425
|
selected: new Map(c.value),
|
|
5426
5426
|
opened: new Set(l.value),
|
|
@@ -5430,34 +5430,34 @@ const xa = (e) => {
|
|
|
5430
5430
|
});
|
|
5431
5431
|
h && (l.value = h);
|
|
5432
5432
|
},
|
|
5433
|
-
select: (
|
|
5433
|
+
select: (d, y, g) => {
|
|
5434
5434
|
m.emit("click:select", {
|
|
5435
|
-
id:
|
|
5435
|
+
id: d,
|
|
5436
5436
|
value: y,
|
|
5437
|
-
path: v(
|
|
5437
|
+
path: v(d),
|
|
5438
5438
|
event: g
|
|
5439
5439
|
});
|
|
5440
5440
|
const h = r.value.select({
|
|
5441
|
-
id:
|
|
5441
|
+
id: d,
|
|
5442
5442
|
value: y,
|
|
5443
5443
|
selected: new Map(c.value),
|
|
5444
5444
|
children: t.value,
|
|
5445
5445
|
parents: n.value,
|
|
5446
5446
|
event: g
|
|
5447
5447
|
});
|
|
5448
|
-
h && (c.value = h),
|
|
5448
|
+
h && (c.value = h), f.root.openOnSelect(d, y, g);
|
|
5449
5449
|
},
|
|
5450
|
-
activate: (
|
|
5450
|
+
activate: (d, y, g) => {
|
|
5451
5451
|
if (!e.activatable)
|
|
5452
|
-
return
|
|
5452
|
+
return f.root.select(d, !0, g);
|
|
5453
5453
|
m.emit("click:activate", {
|
|
5454
|
-
id:
|
|
5454
|
+
id: d,
|
|
5455
5455
|
value: y,
|
|
5456
|
-
path: v(
|
|
5456
|
+
path: v(d),
|
|
5457
5457
|
event: g
|
|
5458
5458
|
});
|
|
5459
5459
|
const h = i.value.activate({
|
|
5460
|
-
id:
|
|
5460
|
+
id: d,
|
|
5461
5461
|
value: y,
|
|
5462
5462
|
activated: new Set(s.value),
|
|
5463
5463
|
children: t.value,
|
|
@@ -5470,7 +5470,7 @@ const xa = (e) => {
|
|
|
5470
5470
|
parents: n
|
|
5471
5471
|
}
|
|
5472
5472
|
};
|
|
5473
|
-
return Se(Mt,
|
|
5473
|
+
return Se(Mt, f), f.root;
|
|
5474
5474
|
}, _i = (e, a) => {
|
|
5475
5475
|
const t = fe(Mt, Fi), n = Symbol(Ze()), l = b(() => e.value !== void 0 ? e.value : n), i = {
|
|
5476
5476
|
...t,
|
|
@@ -5556,14 +5556,14 @@ const Hs = Wt({
|
|
|
5556
5556
|
} = _i(G(e, "value"), !0), r = b(() => `v-list-group--id-${String(i.value)}`), o = Oi(), {
|
|
5557
5557
|
isBooted: s
|
|
5558
5558
|
} = zs();
|
|
5559
|
-
function c(
|
|
5560
|
-
l(!n.value,
|
|
5559
|
+
function c(d) {
|
|
5560
|
+
l(!n.value, d);
|
|
5561
5561
|
}
|
|
5562
5562
|
const v = b(() => ({
|
|
5563
5563
|
onClick: c,
|
|
5564
5564
|
class: "v-list-group__header",
|
|
5565
5565
|
id: r.value
|
|
5566
|
-
})), m = b(() => n.value ? e.collapseIcon : e.expandIcon),
|
|
5566
|
+
})), m = b(() => n.value ? e.collapseIcon : e.expandIcon), f = b(() => ({
|
|
5567
5567
|
VListItem: {
|
|
5568
5568
|
active: n.value,
|
|
5569
5569
|
activeColor: e.activeColor,
|
|
@@ -5585,7 +5585,7 @@ const Hs = Wt({
|
|
|
5585
5585
|
style: e.style
|
|
5586
5586
|
}, {
|
|
5587
5587
|
default: () => [t.activator && u(ge, {
|
|
5588
|
-
defaults:
|
|
5588
|
+
defaults: f.value
|
|
5589
5589
|
}, {
|
|
5590
5590
|
default: () => [u(Hs, null, {
|
|
5591
5591
|
default: () => [t.activator({
|
|
@@ -5600,12 +5600,12 @@ const Hs = Wt({
|
|
|
5600
5600
|
disabled: !s.value
|
|
5601
5601
|
}, {
|
|
5602
5602
|
default: () => {
|
|
5603
|
-
var
|
|
5603
|
+
var d;
|
|
5604
5604
|
return [Oe(u("div", {
|
|
5605
5605
|
class: "v-list-group__items",
|
|
5606
5606
|
role: "group",
|
|
5607
5607
|
"aria-labelledby": r.value
|
|
5608
|
-
}, [(
|
|
5608
|
+
}, [(d = t.default) == null ? void 0 : d.call(t)]), [[rt, n.value]])];
|
|
5609
5609
|
}
|
|
5610
5610
|
})]
|
|
5611
5611
|
})), {
|
|
@@ -5693,14 +5693,14 @@ const Hs = Wt({
|
|
|
5693
5693
|
select: c,
|
|
5694
5694
|
isSelected: v,
|
|
5695
5695
|
isIndeterminate: m,
|
|
5696
|
-
isGroupActivator:
|
|
5697
|
-
root:
|
|
5696
|
+
isGroupActivator: f,
|
|
5697
|
+
root: d,
|
|
5698
5698
|
parent: y,
|
|
5699
5699
|
openOnSelect: g
|
|
5700
5700
|
} = _i(r, !1), h = Oi(), S = b(() => {
|
|
5701
5701
|
var w;
|
|
5702
|
-
return e.active !== !1 && (e.active || ((w = i.isActive) == null ? void 0 : w.value) || (
|
|
5703
|
-
}), p = b(() => e.link !== !1 && i.isLink.value), $ = b(() => !e.disabled && e.link !== !1 && (e.link || i.isClickable.value || !!h && (
|
|
5702
|
+
return e.active !== !1 && (e.active || ((w = i.isActive) == null ? void 0 : w.value) || (d.activatable.value ? s.value : v.value));
|
|
5703
|
+
}), p = b(() => e.link !== !1 && i.isLink.value), $ = b(() => !e.disabled && e.link !== !1 && (e.link || i.isClickable.value || !!h && (d.selectable.value || d.activatable.value || e.value != null))), _ = b(() => e.rounded || e.nav), E = b(() => e.color ?? e.activeColor), M = b(() => ({
|
|
5704
5704
|
color: S.value ? E.value ?? e.baseColor : e.baseColor,
|
|
5705
5705
|
variant: e.variant
|
|
5706
5706
|
}));
|
|
@@ -5708,7 +5708,7 @@ const Hs = Wt({
|
|
|
5708
5708
|
var w;
|
|
5709
5709
|
return (w = i.isActive) == null ? void 0 : w.value;
|
|
5710
5710
|
}, (w) => {
|
|
5711
|
-
w && y.value != null &&
|
|
5711
|
+
w && y.value != null && d.open(y.value, !0), w && g(w);
|
|
5712
5712
|
}, {
|
|
5713
5713
|
immediate: !0
|
|
5714
5714
|
});
|
|
@@ -5736,7 +5736,7 @@ const Hs = Wt({
|
|
|
5736
5736
|
}));
|
|
5737
5737
|
function k(w) {
|
|
5738
5738
|
var R;
|
|
5739
|
-
l("click", w), $.value && ((R = i.navigate) == null || R.call(i, w), !
|
|
5739
|
+
l("click", w), $.value && ((R = i.navigate) == null || R.call(i, w), !f && (d.activatable.value ? o(!s.value, w) : (d.selectable.value || e.value != null) && c(!v.value, w)));
|
|
5740
5740
|
}
|
|
5741
5741
|
function C(w) {
|
|
5742
5742
|
(w.key === "Enter" || w.key === " ") && (w.preventDefault(), k(w));
|
|
@@ -5854,7 +5854,7 @@ const Hs = Wt({
|
|
|
5854
5854
|
}
|
|
5855
5855
|
}), [[St("ripple"), $.value && e.ripple]]);
|
|
5856
5856
|
}), {
|
|
5857
|
-
isGroupActivator:
|
|
5857
|
+
isGroupActivator: f,
|
|
5858
5858
|
isSelected: v,
|
|
5859
5859
|
list: h,
|
|
5860
5860
|
select: c
|
|
@@ -5960,7 +5960,7 @@ const Hs = Wt({
|
|
|
5960
5960
|
return Bi(), () => {
|
|
5961
5961
|
var n, l;
|
|
5962
5962
|
return ((n = t.default) == null ? void 0 : n.call(t)) ?? ((l = e.items) == null ? void 0 : l.map((i) => {
|
|
5963
|
-
var
|
|
5963
|
+
var f, d;
|
|
5964
5964
|
let {
|
|
5965
5965
|
children: r,
|
|
5966
5966
|
props: o,
|
|
@@ -5968,11 +5968,11 @@ const Hs = Wt({
|
|
|
5968
5968
|
raw: c
|
|
5969
5969
|
} = i;
|
|
5970
5970
|
if (s === "divider")
|
|
5971
|
-
return ((
|
|
5971
|
+
return ((f = t.divider) == null ? void 0 : f.call(t, {
|
|
5972
5972
|
props: o
|
|
5973
5973
|
})) ?? u(Pa, o, null);
|
|
5974
5974
|
if (s === "subheader")
|
|
5975
|
-
return ((
|
|
5975
|
+
return ((d = t.subheader) == null ? void 0 : d.call(t, {
|
|
5976
5976
|
props: o
|
|
5977
5977
|
})) ?? u(Ys, o, null);
|
|
5978
5978
|
const v = {
|
|
@@ -6201,8 +6201,8 @@ const nu = H({
|
|
|
6201
6201
|
} = Ct(e), {
|
|
6202
6202
|
roundedClasses: m
|
|
6203
6203
|
} = je(e), {
|
|
6204
|
-
children:
|
|
6205
|
-
open:
|
|
6204
|
+
children: f,
|
|
6205
|
+
open: d,
|
|
6206
6206
|
parents: y,
|
|
6207
6207
|
select: g
|
|
6208
6208
|
} = Ms(e), h = b(() => e.lines ? `v-list--${e.lines}-line` : void 0), S = G(e, "activeColor"), p = G(e, "baseColor"), $ = G(e, "color");
|
|
@@ -6283,10 +6283,10 @@ const nu = H({
|
|
|
6283
6283
|
returnObject: e.returnObject
|
|
6284
6284
|
}, t)]
|
|
6285
6285
|
})), {
|
|
6286
|
-
open:
|
|
6286
|
+
open: d,
|
|
6287
6287
|
select: g,
|
|
6288
6288
|
focus: D,
|
|
6289
|
-
children:
|
|
6289
|
+
children: f,
|
|
6290
6290
|
parents: y
|
|
6291
6291
|
};
|
|
6292
6292
|
}
|
|
@@ -6426,18 +6426,18 @@ function uu(e, a, t) {
|
|
|
6426
6426
|
return typeof a.offset == "number" ? [a.offset, 0] : [0, 0];
|
|
6427
6427
|
});
|
|
6428
6428
|
let m = !1;
|
|
6429
|
-
const
|
|
6430
|
-
m &&
|
|
6429
|
+
const f = new ResizeObserver(() => {
|
|
6430
|
+
m && d();
|
|
6431
6431
|
});
|
|
6432
6432
|
le([e.target, e.contentEl], (y, g) => {
|
|
6433
6433
|
let [h, S] = y, [p, $] = g;
|
|
6434
|
-
p && !Array.isArray(p) &&
|
|
6434
|
+
p && !Array.isArray(p) && f.unobserve(p), h && !Array.isArray(h) && f.observe(h), $ && f.unobserve($), S && f.observe(S);
|
|
6435
6435
|
}, {
|
|
6436
6436
|
immediate: !0
|
|
6437
6437
|
}), Le(() => {
|
|
6438
|
-
|
|
6438
|
+
f.disconnect();
|
|
6439
6439
|
});
|
|
6440
|
-
function
|
|
6440
|
+
function d() {
|
|
6441
6441
|
if (m = !1, requestAnimationFrame(() => m = !0), !e.target.value || !e.contentEl.value)
|
|
6442
6442
|
return;
|
|
6443
6443
|
const y = Dl(e.target.value), g = su(e.contentEl.value, e.isRtl.value), h = vn(e.contentEl.value), S = 12;
|
|
@@ -6566,8 +6566,8 @@ function uu(e, a, t) {
|
|
|
6566
6566
|
contentBox: g
|
|
6567
6567
|
};
|
|
6568
6568
|
}
|
|
6569
|
-
return le(() => [l.value, i.value, a.offset, a.minWidth, a.minHeight, a.maxWidth, a.maxHeight], () =>
|
|
6570
|
-
const y =
|
|
6569
|
+
return le(() => [l.value, i.value, a.offset, a.minWidth, a.minHeight, a.maxWidth, a.maxHeight], () => d()), Be(() => {
|
|
6570
|
+
const y = d();
|
|
6571
6571
|
if (!y)
|
|
6572
6572
|
return;
|
|
6573
6573
|
const {
|
|
@@ -6575,12 +6575,12 @@ function uu(e, a, t) {
|
|
|
6575
6575
|
contentBox: h
|
|
6576
6576
|
} = y;
|
|
6577
6577
|
h.height > g.y && requestAnimationFrame(() => {
|
|
6578
|
-
|
|
6579
|
-
|
|
6578
|
+
d(), requestAnimationFrame(() => {
|
|
6579
|
+
d();
|
|
6580
6580
|
});
|
|
6581
6581
|
});
|
|
6582
6582
|
}), {
|
|
6583
|
-
updateLocation:
|
|
6583
|
+
updateLocation: d
|
|
6584
6584
|
};
|
|
6585
6585
|
}
|
|
6586
6586
|
function zn(e) {
|
|
@@ -6735,25 +6735,25 @@ function Su(e, a) {
|
|
|
6735
6735
|
let r = !1, o = !1, s = !0;
|
|
6736
6736
|
const c = b(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), v = b(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !c.value), {
|
|
6737
6737
|
runOpenDelay: m,
|
|
6738
|
-
runCloseDelay:
|
|
6738
|
+
runCloseDelay: f
|
|
6739
6739
|
} = hu(e, (I) => {
|
|
6740
6740
|
I === (e.openOnHover && r || c.value && o) && !(e.openOnHover && t.value && !n.value) && (t.value !== I && (s = !0), t.value = I);
|
|
6741
|
-
}),
|
|
6741
|
+
}), d = U(), y = {
|
|
6742
6742
|
onClick: (I) => {
|
|
6743
|
-
I.stopPropagation(), i.value = I.currentTarget || I.target, t.value || (
|
|
6743
|
+
I.stopPropagation(), i.value = I.currentTarget || I.target, t.value || (d.value = [I.clientX, I.clientY]), t.value = !t.value;
|
|
6744
6744
|
},
|
|
6745
6745
|
onMouseenter: (I) => {
|
|
6746
6746
|
var O;
|
|
6747
6747
|
(O = I.sourceCapabilities) != null && O.firesTouchEvents || (r = !0, i.value = I.currentTarget || I.target, m());
|
|
6748
6748
|
},
|
|
6749
6749
|
onMouseleave: (I) => {
|
|
6750
|
-
r = !1,
|
|
6750
|
+
r = !1, f();
|
|
6751
6751
|
},
|
|
6752
6752
|
onFocus: (I) => {
|
|
6753
6753
|
cn(I.target, ":focus-visible") !== !1 && (o = !0, I.stopPropagation(), i.value = I.currentTarget || I.target, m());
|
|
6754
6754
|
},
|
|
6755
6755
|
onBlur: (I) => {
|
|
6756
|
-
o = !1, I.stopPropagation(),
|
|
6756
|
+
o = !1, I.stopPropagation(), f();
|
|
6757
6757
|
}
|
|
6758
6758
|
}, g = b(() => {
|
|
6759
6759
|
const I = {};
|
|
@@ -6763,11 +6763,11 @@ function Su(e, a) {
|
|
|
6763
6763
|
if (e.openOnHover && (I.onMouseenter = () => {
|
|
6764
6764
|
r = !0, m();
|
|
6765
6765
|
}, I.onMouseleave = () => {
|
|
6766
|
-
r = !1,
|
|
6766
|
+
r = !1, f();
|
|
6767
6767
|
}), c.value && (I.onFocusin = () => {
|
|
6768
6768
|
o = !0, m();
|
|
6769
6769
|
}, I.onFocusout = () => {
|
|
6770
|
-
o = !1,
|
|
6770
|
+
o = !1, f();
|
|
6771
6771
|
}), e.closeOnContentClick) {
|
|
6772
6772
|
const O = fe(ta, null);
|
|
6773
6773
|
I.onClick = () => {
|
|
@@ -6780,14 +6780,14 @@ function Su(e, a) {
|
|
|
6780
6780
|
return e.openOnHover && (I.onMouseenter = () => {
|
|
6781
6781
|
s && (r = !0, s = !1, m());
|
|
6782
6782
|
}, I.onMouseleave = () => {
|
|
6783
|
-
r = !1,
|
|
6783
|
+
r = !1, f();
|
|
6784
6784
|
}), I;
|
|
6785
6785
|
});
|
|
6786
6786
|
le(n, (I) => {
|
|
6787
6787
|
I && (e.openOnHover && !r && (!c.value || !o) || c.value && !o && (!e.openOnHover || !r)) && (t.value = !1);
|
|
6788
6788
|
}), le(t, (I) => {
|
|
6789
6789
|
I || setTimeout(() => {
|
|
6790
|
-
|
|
6790
|
+
d.value = void 0;
|
|
6791
6791
|
});
|
|
6792
6792
|
}, {
|
|
6793
6793
|
flush: "post"
|
|
@@ -6798,7 +6798,7 @@ function Su(e, a) {
|
|
|
6798
6798
|
i.value = p.el;
|
|
6799
6799
|
});
|
|
6800
6800
|
});
|
|
6801
|
-
const $ = Un(), _ = b(() => e.target === "cursor" &&
|
|
6801
|
+
const $ = Un(), _ = b(() => e.target === "cursor" && d.value ? d.value : $.value ? $.el : ji(e.target, l) || i.value), E = b(() => Array.isArray(_.value) ? void 0 : _.value);
|
|
6802
6802
|
let M;
|
|
6803
6803
|
return le(() => !!e.activator, (I) => {
|
|
6804
6804
|
I && pe ? (M = la(), M.run(() => {
|
|
@@ -6918,8 +6918,8 @@ function pu(e, a, t) {
|
|
|
6918
6918
|
const v = (m = $t.at(-1)) == null ? void 0 : m[1];
|
|
6919
6919
|
o.value = v ? v + 10 : +a.value, l && $t.push([n.uid, o.value]), i == null || i.activeChildren.add(n.uid), Le(() => {
|
|
6920
6920
|
if (l) {
|
|
6921
|
-
const
|
|
6922
|
-
$t.splice(
|
|
6921
|
+
const f = _e($t).findIndex((d) => d[0] === n.uid);
|
|
6922
|
+
$t.splice(f, 1);
|
|
6923
6923
|
}
|
|
6924
6924
|
i == null || i.activeChildren.delete(n.uid);
|
|
6925
6925
|
});
|
|
@@ -7095,8 +7095,8 @@ const Ki = H({
|
|
|
7095
7095
|
isRtl: v
|
|
7096
7096
|
} = tt(), {
|
|
7097
7097
|
hasContent: m,
|
|
7098
|
-
onAfterLeave:
|
|
7099
|
-
} = xu(e, r),
|
|
7098
|
+
onAfterLeave: f
|
|
7099
|
+
} = xu(e, r), d = qe(b(() => typeof e.scrim == "string" ? e.scrim : null)), {
|
|
7100
7100
|
globalTop: y,
|
|
7101
7101
|
localTop: g,
|
|
7102
7102
|
stackStyles: h
|
|
@@ -7183,7 +7183,7 @@ const Ki = H({
|
|
|
7183
7183
|
l("afterEnter");
|
|
7184
7184
|
}
|
|
7185
7185
|
function L() {
|
|
7186
|
-
|
|
7186
|
+
f(), l("afterLeave");
|
|
7187
7187
|
}
|
|
7188
7188
|
return ee(() => {
|
|
7189
7189
|
var P;
|
|
@@ -7209,7 +7209,7 @@ const Ki = H({
|
|
|
7209
7209
|
}, e.style],
|
|
7210
7210
|
ref: T
|
|
7211
7211
|
}, D, n), [u(Tu, Y({
|
|
7212
|
-
color:
|
|
7212
|
+
color: d,
|
|
7213
7213
|
modelValue: r.value && !!e.scrim,
|
|
7214
7214
|
ref: F
|
|
7215
7215
|
}, O.value), null), u(at, {
|
|
@@ -7311,11 +7311,11 @@ function Ia(e) {
|
|
|
7311
7311
|
continue;
|
|
7312
7312
|
const v = c.slice();
|
|
7313
7313
|
for (; v.length; ) {
|
|
7314
|
-
const m = v.shift(),
|
|
7315
|
-
if (
|
|
7316
|
-
return
|
|
7317
|
-
const
|
|
7318
|
-
|
|
7314
|
+
const m = v.shift(), f = Wn(m.value, i);
|
|
7315
|
+
if (f)
|
|
7316
|
+
return f;
|
|
7317
|
+
const d = m.value && m.value[Hn];
|
|
7318
|
+
d && v.push(...d);
|
|
7319
7319
|
}
|
|
7320
7320
|
}
|
|
7321
7321
|
}
|
|
@@ -7379,7 +7379,7 @@ const Bu = H({
|
|
|
7379
7379
|
function m(g) {
|
|
7380
7380
|
s == null || s.closeParents(g);
|
|
7381
7381
|
}
|
|
7382
|
-
function
|
|
7382
|
+
function f(g) {
|
|
7383
7383
|
var h, S, p;
|
|
7384
7384
|
if (!e.disabled)
|
|
7385
7385
|
if (g.key === "Tab" || g.key === "Enter" && !e.closeOnContentClick) {
|
|
@@ -7389,18 +7389,18 @@ const Bu = H({
|
|
|
7389
7389
|
} else
|
|
7390
7390
|
["Enter", " "].includes(g.key) && e.closeOnContentClick && (n.value = !1, s == null || s.closeParents());
|
|
7391
7391
|
}
|
|
7392
|
-
function
|
|
7392
|
+
function d(g) {
|
|
7393
7393
|
var S;
|
|
7394
7394
|
if (e.disabled)
|
|
7395
7395
|
return;
|
|
7396
7396
|
const h = (S = o.value) == null ? void 0 : S.contentEl;
|
|
7397
|
-
h && n.value ? g.key === "ArrowDown" ? (g.preventDefault(), un(h, "next")) : g.key === "ArrowUp" && (g.preventDefault(), un(h, "prev")) : ["ArrowDown", "ArrowUp"].includes(g.key) && (n.value = !0, g.preventDefault(), setTimeout(() => setTimeout(() =>
|
|
7397
|
+
h && n.value ? g.key === "ArrowDown" ? (g.preventDefault(), un(h, "next")) : g.key === "ArrowUp" && (g.preventDefault(), un(h, "prev")) : ["ArrowDown", "ArrowUp"].includes(g.key) && (n.value = !0, g.preventDefault(), setTimeout(() => setTimeout(() => d(g))));
|
|
7398
7398
|
}
|
|
7399
7399
|
const y = b(() => Y({
|
|
7400
7400
|
"aria-haspopup": "menu",
|
|
7401
7401
|
"aria-expanded": String(n.value),
|
|
7402
7402
|
"aria-owns": r.value,
|
|
7403
|
-
onKeydown:
|
|
7403
|
+
onKeydown: d
|
|
7404
7404
|
}, e.activatorProps));
|
|
7405
7405
|
return ee(() => {
|
|
7406
7406
|
const g = wl.filterProps(e);
|
|
@@ -7415,7 +7415,7 @@ const Bu = H({
|
|
|
7415
7415
|
absolute: !0,
|
|
7416
7416
|
activatorProps: y.value,
|
|
7417
7417
|
"onClick:outside": m,
|
|
7418
|
-
onKeydown:
|
|
7418
|
+
onKeydown: f
|
|
7419
7419
|
}, l), {
|
|
7420
7420
|
activator: t.activator,
|
|
7421
7421
|
default: function() {
|
|
@@ -7561,9 +7561,9 @@ const Bu = H({
|
|
|
7561
7561
|
} = ki(e), {
|
|
7562
7562
|
InputIcon: m
|
|
7563
7563
|
} = gi(e), {
|
|
7564
|
-
roundedClasses:
|
|
7564
|
+
roundedClasses: f
|
|
7565
7565
|
} = je(e), {
|
|
7566
|
-
rtlClasses:
|
|
7566
|
+
rtlClasses: d
|
|
7567
7567
|
} = tt(), y = b(() => e.dirty || e.active), g = b(() => !e.singleLine && !!(e.label || l.label)), h = Ze(), S = b(() => e.id || `input-${h}`), p = b(() => `${S.value}-messages`), $ = U(), _ = U(), E = U(), M = b(() => ["plain", "underlined"].includes(e.variant)), {
|
|
7568
7568
|
backgroundColorClasses: I,
|
|
7569
7569
|
backgroundColorStyles: O
|
|
@@ -7633,7 +7633,7 @@ const Bu = H({
|
|
|
7633
7633
|
"v-field--single-line": e.singleLine,
|
|
7634
7634
|
"v-field--no-label": !k(),
|
|
7635
7635
|
[`v-field--variant-${e.variant}`]: !0
|
|
7636
|
-
}, i.value, I.value, o.value, r.value,
|
|
7636
|
+
}, i.value, I.value, o.value, r.value, f.value, d.value, e.class],
|
|
7637
7637
|
style: [O.value, e.style],
|
|
7638
7638
|
onClick: T
|
|
7639
7639
|
}, t), [u("div", {
|
|
@@ -7789,11 +7789,11 @@ const _u = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7789
7789
|
if (!(!e.counter || typeof e.counter != "number" && typeof e.counter != "string"))
|
|
7790
7790
|
return e.counter;
|
|
7791
7791
|
}), m = b(() => ["plain", "underlined"].includes(e.variant));
|
|
7792
|
-
function
|
|
7792
|
+
function f(M, I) {
|
|
7793
7793
|
var O, B;
|
|
7794
7794
|
!e.autofocus || !M || (B = (O = I[0].target) == null ? void 0 : O.focus) == null || B.call(O);
|
|
7795
7795
|
}
|
|
7796
|
-
const
|
|
7796
|
+
const d = U(), y = U(), g = U(), h = b(() => _u.includes(e.type) || e.persistentPlaceholder || r.value || e.active);
|
|
7797
7797
|
function S() {
|
|
7798
7798
|
var M;
|
|
7799
7799
|
g.value !== document.activeElement && ((M = g.value) == null || M.focus()), r.value || o();
|
|
@@ -7825,7 +7825,7 @@ const _u = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7825
7825
|
...D
|
|
7826
7826
|
} = cl.filterProps(e), T = Fu(e);
|
|
7827
7827
|
return u(cl, Y({
|
|
7828
|
-
ref:
|
|
7828
|
+
ref: d,
|
|
7829
7829
|
modelValue: i.value,
|
|
7830
7830
|
"onUpdate:modelValue": (F) => i.value = F,
|
|
7831
7831
|
class: ["v-text-field", {
|
|
@@ -7885,7 +7885,7 @@ const _u = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7885
7885
|
onFocus: S,
|
|
7886
7886
|
onBlur: s
|
|
7887
7887
|
}, R, B), null), [[St("intersect"), {
|
|
7888
|
-
handler:
|
|
7888
|
+
handler: f
|
|
7889
7889
|
}, null, {
|
|
7890
7890
|
once: !0
|
|
7891
7891
|
}]]);
|
|
@@ -7916,7 +7916,7 @@ const _u = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7916
7916
|
}, l.counter)])]);
|
|
7917
7917
|
} : void 0
|
|
7918
7918
|
});
|
|
7919
|
-
}), Ia({},
|
|
7919
|
+
}), Ia({}, d, y, g);
|
|
7920
7920
|
}
|
|
7921
7921
|
}), Du = H({
|
|
7922
7922
|
renderless: Boolean,
|
|
@@ -7976,15 +7976,15 @@ function Hu(e, a) {
|
|
|
7976
7976
|
let v = 0;
|
|
7977
7977
|
const {
|
|
7978
7978
|
resizeRef: m,
|
|
7979
|
-
contentRect:
|
|
7979
|
+
contentRect: f
|
|
7980
7980
|
} = It();
|
|
7981
7981
|
He(() => {
|
|
7982
7982
|
m.value = s.value;
|
|
7983
7983
|
});
|
|
7984
|
-
const
|
|
7984
|
+
const d = b(() => {
|
|
7985
7985
|
var C;
|
|
7986
|
-
return s.value === document.documentElement ? t.height.value : ((C =
|
|
7987
|
-
}), y = b(() => !!(s.value && c.value &&
|
|
7986
|
+
return s.value === document.documentElement ? t.height.value : ((C = f.value) == null ? void 0 : C.height) || parseInt(e.height) || 0;
|
|
7987
|
+
}), y = b(() => !!(s.value && c.value && d.value && n.value));
|
|
7988
7988
|
let g = Array.from({
|
|
7989
7989
|
length: a.value.length
|
|
7990
7990
|
}), h = Array.from({
|
|
@@ -8023,7 +8023,7 @@ function Hu(e, a) {
|
|
|
8023
8023
|
return Wu(h, C);
|
|
8024
8024
|
}
|
|
8025
8025
|
let B = 0, N = 0, D = 0;
|
|
8026
|
-
le(
|
|
8026
|
+
le(d, (C, w) => {
|
|
8027
8027
|
w && (j(), C < w && requestAnimationFrame(() => {
|
|
8028
8028
|
N = 0, j();
|
|
8029
8029
|
}));
|
|
@@ -8042,9 +8042,9 @@ function Hu(e, a) {
|
|
|
8042
8042
|
cancelAnimationFrame(z), z = requestAnimationFrame(Q);
|
|
8043
8043
|
}
|
|
8044
8044
|
function Q() {
|
|
8045
|
-
if (!s.value || !
|
|
8045
|
+
if (!s.value || !d.value)
|
|
8046
8046
|
return;
|
|
8047
|
-
const C = B - v, w = Math.sign(N), R = Math.max(0, C - jn), A = ze(O(R), 0, a.value.length), x = C +
|
|
8047
|
+
const C = B - v, w = Math.sign(N), R = Math.max(0, C - jn), A = ze(O(R), 0, a.value.length), x = C + d.value + jn, L = ze(O(x) + 1, A + 1, a.value.length);
|
|
8048
8048
|
if (
|
|
8049
8049
|
// Only update the side we're scrolling towards,
|
|
8050
8050
|
// the other side will be updated incidentally
|
|
@@ -8122,8 +8122,8 @@ const ju = H({
|
|
|
8122
8122
|
handleItemResize: c,
|
|
8123
8123
|
scrollToIndex: v,
|
|
8124
8124
|
paddingTop: m,
|
|
8125
|
-
paddingBottom:
|
|
8126
|
-
computedItems:
|
|
8125
|
+
paddingBottom: f,
|
|
8126
|
+
computedItems: d
|
|
8127
8127
|
} = Hu(e, G(e, "items"));
|
|
8128
8128
|
return ht(() => e.renderless, () => {
|
|
8129
8129
|
function y() {
|
|
@@ -8139,7 +8139,7 @@ const ju = H({
|
|
|
8139
8139
|
i.value = Hl(n.vnode.el, !0), y(!0);
|
|
8140
8140
|
}), Le(y);
|
|
8141
8141
|
}), ee(() => {
|
|
8142
|
-
const y =
|
|
8142
|
+
const y = d.value.map((g) => u(Ru, {
|
|
8143
8143
|
key: g.index,
|
|
8144
8144
|
renderless: e.renderless,
|
|
8145
8145
|
"onUpdate:height": (h) => c(g.index, h)
|
|
@@ -8162,7 +8162,7 @@ const ju = H({
|
|
|
8162
8162
|
}, null), y, u("div", {
|
|
8163
8163
|
class: "v-virtual-scroll__spacer",
|
|
8164
8164
|
style: {
|
|
8165
|
-
paddingBottom: Z(
|
|
8165
|
+
paddingBottom: Z(f.value)
|
|
8166
8166
|
}
|
|
8167
8167
|
}, null)]) : u("div", {
|
|
8168
8168
|
ref: i,
|
|
@@ -8175,7 +8175,7 @@ const ju = H({
|
|
|
8175
8175
|
class: "v-virtual-scroll__container",
|
|
8176
8176
|
style: {
|
|
8177
8177
|
paddingTop: Z(m.value),
|
|
8178
|
-
paddingBottom: Z(
|
|
8178
|
+
paddingBottom: Z(f.value)
|
|
8179
8179
|
}
|
|
8180
8180
|
}, [y])]);
|
|
8181
8181
|
}), {
|
|
@@ -8216,17 +8216,17 @@ function Uu(e, a) {
|
|
|
8216
8216
|
}), await i();
|
|
8217
8217
|
const c = s.querySelectorAll(":scope > :not(.v-virtual-scroll__spacer)");
|
|
8218
8218
|
if (o.key === "PageDown" || o.key === "Home") {
|
|
8219
|
-
const
|
|
8220
|
-
for (const
|
|
8221
|
-
if (
|
|
8222
|
-
|
|
8219
|
+
const f = s.getBoundingClientRect().top;
|
|
8220
|
+
for (const d of c)
|
|
8221
|
+
if (d.getBoundingClientRect().top >= f) {
|
|
8222
|
+
d.focus();
|
|
8223
8223
|
break;
|
|
8224
8224
|
}
|
|
8225
8225
|
} else {
|
|
8226
|
-
const
|
|
8227
|
-
for (const
|
|
8228
|
-
if (
|
|
8229
|
-
|
|
8226
|
+
const f = s.getBoundingClientRect().bottom;
|
|
8227
|
+
for (const d of [...c].reverse())
|
|
8228
|
+
if (d.getBoundingClientRect().bottom <= f) {
|
|
8229
|
+
d.focus();
|
|
8230
8230
|
break;
|
|
8231
8231
|
}
|
|
8232
8232
|
}
|
|
@@ -8306,12 +8306,12 @@ const qu = H({
|
|
|
8306
8306
|
items: c,
|
|
8307
8307
|
transformIn: v,
|
|
8308
8308
|
transformOut: m
|
|
8309
|
-
} = Js(e),
|
|
8309
|
+
} = Js(e), f = de(e, "modelValue", [], (k) => v(k === null ? [null] : Pe(k)), (k) => {
|
|
8310
8310
|
const C = m(k);
|
|
8311
8311
|
return e.multiple ? C : C[0] ?? null;
|
|
8312
|
-
}),
|
|
8312
|
+
}), d = b(() => typeof e.counterValue == "function" ? e.counterValue(f.value) : typeof e.counterValue == "number" ? e.counterValue : f.value.length), y = xi(), g = b(() => f.value.map((k) => k.value)), h = ne(!1), S = b(() => s.value ? e.closeText : e.openText);
|
|
8313
8313
|
let p = "", $;
|
|
8314
|
-
const _ = b(() => e.hideSelected ? c.value.filter((k) => !
|
|
8314
|
+
const _ = b(() => e.hideSelected ? c.value.filter((k) => !f.value.some((C) => e.valueComparator(C, k))) : c.value), E = b(() => e.hideNoData && !_.value.length || e.readonly || (y == null ? void 0 : y.isReadonly.value)), M = b(() => {
|
|
8315
8315
|
var k;
|
|
8316
8316
|
return {
|
|
8317
8317
|
...e.menuProps,
|
|
@@ -8347,7 +8347,7 @@ const qu = H({
|
|
|
8347
8347
|
R - $ > C && (p = ""), p += k.key.toLowerCase(), $ = R;
|
|
8348
8348
|
const A = c.value.find((P) => P.title.toLowerCase().startsWith(p));
|
|
8349
8349
|
if (A !== void 0) {
|
|
8350
|
-
|
|
8350
|
+
f.value = [A];
|
|
8351
8351
|
const P = _.value.indexOf(A);
|
|
8352
8352
|
pe && window.requestAnimationFrame(() => {
|
|
8353
8353
|
var W;
|
|
@@ -8359,15 +8359,15 @@ const qu = H({
|
|
|
8359
8359
|
let C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
8360
8360
|
if (!k.props.disabled)
|
|
8361
8361
|
if (e.multiple) {
|
|
8362
|
-
const w =
|
|
8362
|
+
const w = f.value.findIndex((A) => e.valueComparator(A.value, k.value)), R = C ?? !~w;
|
|
8363
8363
|
if (~w) {
|
|
8364
|
-
const A = R ? [...
|
|
8365
|
-
A.splice(w, 1),
|
|
8364
|
+
const A = R ? [...f.value, k] : [...f.value];
|
|
8365
|
+
A.splice(w, 1), f.value = A;
|
|
8366
8366
|
} else
|
|
8367
|
-
R && (
|
|
8367
|
+
R && (f.value = [...f.value, k]);
|
|
8368
8368
|
} else {
|
|
8369
8369
|
const w = C !== !1;
|
|
8370
|
-
|
|
8370
|
+
f.value = w ? [k] : [], Be(() => {
|
|
8371
8371
|
s.value = !1;
|
|
8372
8372
|
});
|
|
8373
8373
|
}
|
|
@@ -8385,7 +8385,7 @@ const qu = H({
|
|
|
8385
8385
|
}
|
|
8386
8386
|
function V(k) {
|
|
8387
8387
|
if (k == null)
|
|
8388
|
-
|
|
8388
|
+
f.value = [];
|
|
8389
8389
|
else if (cn(l.value, ":autofill") || cn(l.value, ":-webkit-autofill")) {
|
|
8390
8390
|
const C = c.value.find((w) => w.title === k);
|
|
8391
8391
|
C && F(C);
|
|
@@ -8393,8 +8393,8 @@ const qu = H({
|
|
|
8393
8393
|
l.value && (l.value.value = "");
|
|
8394
8394
|
}
|
|
8395
8395
|
return le(s, () => {
|
|
8396
|
-
if (!e.hideSelected && s.value &&
|
|
8397
|
-
const k = _.value.findIndex((C) =>
|
|
8396
|
+
if (!e.hideSelected && s.value && f.value.length) {
|
|
8397
|
+
const k = _.value.findIndex((C) => f.value.some((w) => e.valueComparator(w.value, C.value)));
|
|
8398
8398
|
pe && window.requestAnimationFrame(() => {
|
|
8399
8399
|
var C;
|
|
8400
8400
|
k >= 0 && ((C = r.value) == null || C.scrollToIndex(k));
|
|
@@ -8403,22 +8403,22 @@ const qu = H({
|
|
|
8403
8403
|
}), le(() => e.items, (k, C) => {
|
|
8404
8404
|
s.value || h.value && !C.length && k.length && (s.value = !0);
|
|
8405
8405
|
}), ee(() => {
|
|
8406
|
-
const k = !!(e.chips || t.chip), C = !!(!e.hideNoData || _.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), w =
|
|
8406
|
+
const k = !!(e.chips || t.chip), C = !!(!e.hideNoData || _.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), w = f.value.length > 0, R = hn.filterProps(e), A = w || !h.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder;
|
|
8407
8407
|
return u(hn, Y({
|
|
8408
8408
|
ref: l
|
|
8409
8409
|
}, R, {
|
|
8410
|
-
modelValue:
|
|
8410
|
+
modelValue: f.value.map((x) => x.props.value).join(", "),
|
|
8411
8411
|
"onUpdate:modelValue": V,
|
|
8412
8412
|
focused: h.value,
|
|
8413
8413
|
"onUpdate:focused": (x) => h.value = x,
|
|
8414
|
-
validationValue:
|
|
8415
|
-
counterValue:
|
|
8414
|
+
validationValue: f.externalValue,
|
|
8415
|
+
counterValue: d.value,
|
|
8416
8416
|
dirty: w,
|
|
8417
8417
|
class: ["v-select", {
|
|
8418
8418
|
"v-select--active-menu": s.value,
|
|
8419
8419
|
"v-select--chips": !!e.chips,
|
|
8420
8420
|
[`v-select--${e.multiple ? "multiple" : "single"}`]: !0,
|
|
8421
|
-
"v-select--selected":
|
|
8421
|
+
"v-select--selected": f.value.length,
|
|
8422
8422
|
"v-select--selection-slot": !!t.selection
|
|
8423
8423
|
}, e.class],
|
|
8424
8424
|
style: e.style,
|
|
@@ -8506,7 +8506,7 @@ const qu = H({
|
|
|
8506
8506
|
}), (P = t["append-item"]) == null ? void 0 : P.call(t)];
|
|
8507
8507
|
}
|
|
8508
8508
|
})]
|
|
8509
|
-
}),
|
|
8509
|
+
}), f.value.map((x, L) => {
|
|
8510
8510
|
function P(he) {
|
|
8511
8511
|
he.stopPropagation(), he.preventDefault(), F(x, !1);
|
|
8512
8512
|
}
|
|
@@ -8551,7 +8551,7 @@ const qu = H({
|
|
|
8551
8551
|
disabled: x.props.disabled
|
|
8552
8552
|
}, W), null) : K ?? u("span", {
|
|
8553
8553
|
class: "v-select__selection-text"
|
|
8554
|
-
}, [x.title, e.multiple && L <
|
|
8554
|
+
}, [x.title, e.multiple && L < f.value.length - 1 && u("span", {
|
|
8555
8555
|
class: "v-select__selection-comma"
|
|
8556
8556
|
}, [Ve(",")])])]);
|
|
8557
8557
|
})]),
|
|
@@ -8597,8 +8597,8 @@ function tr(e) {
|
|
|
8597
8597
|
He(() => {
|
|
8598
8598
|
a.value > r.value && (a.value = r.value);
|
|
8599
8599
|
});
|
|
8600
|
-
function o(
|
|
8601
|
-
t.value =
|
|
8600
|
+
function o(f) {
|
|
8601
|
+
t.value = f, a.value = 1;
|
|
8602
8602
|
}
|
|
8603
8603
|
function s() {
|
|
8604
8604
|
a.value = ze(a.value + 1, 1, r.value);
|
|
@@ -8606,8 +8606,8 @@ function tr(e) {
|
|
|
8606
8606
|
function c() {
|
|
8607
8607
|
a.value = ze(a.value - 1, 1, r.value);
|
|
8608
8608
|
}
|
|
8609
|
-
function v(
|
|
8610
|
-
a.value = ze(
|
|
8609
|
+
function v(f) {
|
|
8610
|
+
a.value = ze(f, 1, r.value);
|
|
8611
8611
|
}
|
|
8612
8612
|
const m = {
|
|
8613
8613
|
page: a,
|
|
@@ -8720,19 +8720,19 @@ const Va = H({
|
|
|
8720
8720
|
itemsLength: s,
|
|
8721
8721
|
itemsPerPage: c,
|
|
8722
8722
|
setItemsPerPage: v
|
|
8723
|
-
} = Yu(), m = b(() => e.itemsPerPageOptions.map((
|
|
8724
|
-
value:
|
|
8725
|
-
title:
|
|
8723
|
+
} = Yu(), m = b(() => e.itemsPerPageOptions.map((f) => typeof f == "number" ? {
|
|
8724
|
+
value: f,
|
|
8725
|
+
title: f === -1 ? n("$vuetify.dataFooter.itemsPerPageAll") : String(f)
|
|
8726
8726
|
} : {
|
|
8727
|
-
...
|
|
8728
|
-
title: isNaN(Number(
|
|
8727
|
+
...f,
|
|
8728
|
+
title: isNaN(Number(f.title)) ? n(f.title) : f.title
|
|
8729
8729
|
}));
|
|
8730
8730
|
return ee(() => {
|
|
8731
|
-
var
|
|
8732
|
-
const
|
|
8731
|
+
var d;
|
|
8732
|
+
const f = mn.filterProps(e);
|
|
8733
8733
|
return u("div", {
|
|
8734
8734
|
class: "v-data-table-footer"
|
|
8735
|
-
}, [(
|
|
8735
|
+
}, [(d = t.prepend) == null ? void 0 : d.call(t), u("div", {
|
|
8736
8736
|
class: "v-data-table-footer__items-per-page"
|
|
8737
8737
|
}, [u("span", null, [n(e.itemsPerPageText)]), u(Vt, {
|
|
8738
8738
|
items: m.value,
|
|
@@ -8758,7 +8758,7 @@ const Va = H({
|
|
|
8758
8758
|
"show-first-last-page": !0,
|
|
8759
8759
|
"total-visible": e.showCurrentPage ? 1 : 0,
|
|
8760
8760
|
variant: "plain"
|
|
8761
|
-
},
|
|
8761
|
+
}, f), null)])]);
|
|
8762
8762
|
}), {};
|
|
8763
8763
|
}
|
|
8764
8764
|
}), Sn = mo({
|
|
@@ -8922,9 +8922,9 @@ function nc(e, a) {
|
|
|
8922
8922
|
rowspan: m ?? 1,
|
|
8923
8923
|
colspan: c.children ? na(c).length : 1
|
|
8924
8924
|
}), c.children)
|
|
8925
|
-
for (const
|
|
8926
|
-
const
|
|
8927
|
-
l.enqueue(
|
|
8925
|
+
for (const f of c.children) {
|
|
8926
|
+
const d = v % 1 + s / Math.pow(10, n + 2);
|
|
8927
|
+
l.enqueue(f, n + m + d);
|
|
8928
8928
|
}
|
|
8929
8929
|
s += 1, r -= 1;
|
|
8930
8930
|
}
|
|
@@ -8970,9 +8970,9 @@ function rr(e, a) {
|
|
|
8970
8970
|
});
|
|
8971
8971
|
const m = ir(c);
|
|
8972
8972
|
tc(m);
|
|
8973
|
-
const
|
|
8974
|
-
t.value =
|
|
8975
|
-
const y =
|
|
8973
|
+
const f = Math.max(...m.map((p) => Aa(p))) + 1, d = nc(m, f);
|
|
8974
|
+
t.value = d.headers, n.value = d.columns;
|
|
8975
|
+
const y = d.headers.flat(1);
|
|
8976
8976
|
for (const p of y)
|
|
8977
8977
|
p.key && (p.sortable && (p.sort && (l.value[p.key] = p.sort), p.sortRaw && (i.value[p.key] = p.sortRaw)), p.filter && (r.value[p.key] = p.filter));
|
|
8978
8978
|
});
|
|
@@ -9121,7 +9121,7 @@ function cr(e, a) {
|
|
|
9121
9121
|
function m(S) {
|
|
9122
9122
|
v([S], !s([S]));
|
|
9123
9123
|
}
|
|
9124
|
-
function
|
|
9124
|
+
function f(S) {
|
|
9125
9125
|
const p = o.value.selectAll({
|
|
9126
9126
|
value: S,
|
|
9127
9127
|
allItems: i.value,
|
|
@@ -9130,7 +9130,7 @@ function cr(e, a) {
|
|
|
9130
9130
|
});
|
|
9131
9131
|
l.value = p;
|
|
9132
9132
|
}
|
|
9133
|
-
const
|
|
9133
|
+
const d = b(() => l.value.size > 0), y = b(() => {
|
|
9134
9134
|
const S = o.value.allSelected({
|
|
9135
9135
|
allItems: i.value,
|
|
9136
9136
|
currentPage: r.value
|
|
@@ -9139,10 +9139,10 @@ function cr(e, a) {
|
|
|
9139
9139
|
}), g = b(() => o.value.showSelectAll), h = {
|
|
9140
9140
|
toggleSelect: m,
|
|
9141
9141
|
select: v,
|
|
9142
|
-
selectAll:
|
|
9142
|
+
selectAll: f,
|
|
9143
9143
|
isSelected: s,
|
|
9144
9144
|
isSomeSelected: c,
|
|
9145
|
-
someSelected:
|
|
9145
|
+
someSelected: d,
|
|
9146
9146
|
allSelected: y,
|
|
9147
9147
|
showSelectAll: g
|
|
9148
9148
|
};
|
|
@@ -9233,19 +9233,19 @@ function oc(e, a, t, n) {
|
|
|
9233
9233
|
var s, c;
|
|
9234
9234
|
for (let v = 0; v < a.length; v++) {
|
|
9235
9235
|
let m = !1;
|
|
9236
|
-
const
|
|
9237
|
-
if (
|
|
9236
|
+
const f = a[v].key, d = a[v].order ?? "asc";
|
|
9237
|
+
if (d === !1)
|
|
9238
9238
|
continue;
|
|
9239
|
-
let y = r[1][
|
|
9240
|
-
if (
|
|
9241
|
-
const p = n.sortRawFunctions[
|
|
9239
|
+
let y = r[1][f], g = o[1][f], h = r[0].raw, S = o[0].raw;
|
|
9240
|
+
if (d === "desc" && ([y, g] = [g, y], [h, S] = [S, h]), (s = n == null ? void 0 : n.sortRawFunctions) != null && s[f]) {
|
|
9241
|
+
const p = n.sortRawFunctions[f](h, S);
|
|
9242
9242
|
if (p == null)
|
|
9243
9243
|
continue;
|
|
9244
9244
|
if (m = !0, p)
|
|
9245
9245
|
return p;
|
|
9246
9246
|
}
|
|
9247
|
-
if ((c = n == null ? void 0 : n.sortFunctions) != null && c[
|
|
9248
|
-
const p = n.sortFunctions[
|
|
9247
|
+
if ((c = n == null ? void 0 : n.sortFunctions) != null && c[f]) {
|
|
9248
|
+
const p = n.sortFunctions[f](y, g);
|
|
9249
9249
|
if (p == null)
|
|
9250
9250
|
continue;
|
|
9251
9251
|
if (m = !0, p)
|
|
@@ -9302,9 +9302,9 @@ const mr = H({
|
|
|
9302
9302
|
showSelectAll: v
|
|
9303
9303
|
} = Ln(), {
|
|
9304
9304
|
columns: m,
|
|
9305
|
-
headers:
|
|
9305
|
+
headers: f
|
|
9306
9306
|
} = En(), {
|
|
9307
|
-
loaderClasses:
|
|
9307
|
+
loaderClasses: d
|
|
9308
9308
|
} = Tn(e);
|
|
9309
9309
|
function y(O, B) {
|
|
9310
9310
|
if (!(!e.sticky && !O.fixed))
|
|
@@ -9325,7 +9325,7 @@ const mr = H({
|
|
|
9325
9325
|
displayClasses: p,
|
|
9326
9326
|
mobile: $
|
|
9327
9327
|
} = kt(e), _ = b(() => ({
|
|
9328
|
-
headers:
|
|
9328
|
+
headers: f.value,
|
|
9329
9329
|
columns: m.value,
|
|
9330
9330
|
toggleSort: l,
|
|
9331
9331
|
isSorted: r,
|
|
@@ -9336,7 +9336,7 @@ const mr = H({
|
|
|
9336
9336
|
getSortIcon: g
|
|
9337
9337
|
})), E = b(() => ["v-data-table__th", {
|
|
9338
9338
|
"v-data-table__th--sticky": e.sticky
|
|
9339
|
-
}, p.value,
|
|
9339
|
+
}, p.value, d.value]), M = (O) => {
|
|
9340
9340
|
let {
|
|
9341
9341
|
column: B,
|
|
9342
9342
|
x: N,
|
|
@@ -9402,7 +9402,7 @@ const mr = H({
|
|
|
9402
9402
|
return u(Sn, Y({
|
|
9403
9403
|
tag: "th",
|
|
9404
9404
|
class: [...E.value],
|
|
9405
|
-
colspan:
|
|
9405
|
+
colspan: f.value.length + 1
|
|
9406
9406
|
}, O), {
|
|
9407
9407
|
default: () => [u("div", {
|
|
9408
9408
|
class: "v-data-table-header__content"
|
|
@@ -9438,7 +9438,7 @@ const mr = H({
|
|
|
9438
9438
|
})])]
|
|
9439
9439
|
});
|
|
9440
9440
|
};
|
|
9441
|
-
ee(() => $.value ? u("tr", null, [u(I, null, null)]) : u(te, null, [t.headers ? t.headers(_.value) :
|
|
9441
|
+
ee(() => $.value ? u("tr", null, [u(I, null, null)]) : u(te, null, [t.headers ? t.headers(_.value) : f.value.map((O, B) => u("tr", null, [O.map((N, D) => u(M, {
|
|
9442
9442
|
column: N,
|
|
9443
9443
|
x: D,
|
|
9444
9444
|
y: B
|
|
@@ -9484,10 +9484,10 @@ function br(e) {
|
|
|
9484
9484
|
}
|
|
9485
9485
|
function o(c) {
|
|
9486
9486
|
function v(m) {
|
|
9487
|
-
const
|
|
9488
|
-
for (const
|
|
9489
|
-
"type" in
|
|
9490
|
-
return
|
|
9487
|
+
const f = [];
|
|
9488
|
+
for (const d of m.items)
|
|
9489
|
+
"type" in d && d.type === "group" ? f.push(...v(d)) : f.push(d);
|
|
9490
|
+
return f;
|
|
9491
9491
|
}
|
|
9492
9492
|
return v({
|
|
9493
9493
|
type: "group",
|
|
@@ -9586,10 +9586,10 @@ const cc = H({
|
|
|
9586
9586
|
"--v-data-table-group-header-row-depth": e.item.depth
|
|
9587
9587
|
}
|
|
9588
9588
|
}, [c.value.map((m) => {
|
|
9589
|
-
var
|
|
9589
|
+
var f, d;
|
|
9590
9590
|
if (m.key === "data-table-group") {
|
|
9591
9591
|
const y = n(e.item) ? "$expand" : "$next", g = () => l(e.item);
|
|
9592
|
-
return ((
|
|
9592
|
+
return ((f = t["data-table-group"]) == null ? void 0 : f.call(t, {
|
|
9593
9593
|
item: e.item,
|
|
9594
9594
|
count: v.value.length,
|
|
9595
9595
|
props: {
|
|
@@ -9609,7 +9609,7 @@ const cc = H({
|
|
|
9609
9609
|
}
|
|
9610
9610
|
if (m.key === "data-table-select") {
|
|
9611
9611
|
const y = r(v.value), g = o(v.value) && !y, h = (S) => s(v.value, S);
|
|
9612
|
-
return ((
|
|
9612
|
+
return ((d = t["data-table-select"]) == null ? void 0 : d.call(t, {
|
|
9613
9613
|
props: {
|
|
9614
9614
|
modelValue: y,
|
|
9615
9615
|
indeterminate: g,
|
|
@@ -9687,8 +9687,8 @@ const vc = H({
|
|
|
9687
9687
|
isExpanded: v,
|
|
9688
9688
|
toggleExpand: m
|
|
9689
9689
|
} = Pr(), {
|
|
9690
|
-
toggleSort:
|
|
9691
|
-
sortBy:
|
|
9690
|
+
toggleSort: f,
|
|
9691
|
+
sortBy: d,
|
|
9692
9692
|
isSorted: y
|
|
9693
9693
|
} = gr(), {
|
|
9694
9694
|
columns: g
|
|
@@ -9715,8 +9715,8 @@ const vc = H({
|
|
|
9715
9715
|
column: h,
|
|
9716
9716
|
selectAll: c,
|
|
9717
9717
|
isSorted: y,
|
|
9718
|
-
toggleSort:
|
|
9719
|
-
sortBy:
|
|
9718
|
+
toggleSort: f,
|
|
9719
|
+
sortBy: d.value,
|
|
9720
9720
|
someSelected: o.value,
|
|
9721
9721
|
allSelected: s.value,
|
|
9722
9722
|
getSortIcon: () => ""
|
|
@@ -9813,9 +9813,9 @@ const vc = H({
|
|
|
9813
9813
|
toggleGroup: v,
|
|
9814
9814
|
isGroupOpen: m
|
|
9815
9815
|
} = Sr(), {
|
|
9816
|
-
t:
|
|
9816
|
+
t: f
|
|
9817
9817
|
} = ft(), {
|
|
9818
|
-
mobile:
|
|
9818
|
+
mobile: d
|
|
9819
9819
|
} = kt(e);
|
|
9820
9820
|
return ee(() => {
|
|
9821
9821
|
var y, g;
|
|
@@ -9824,12 +9824,12 @@ const vc = H({
|
|
|
9824
9824
|
key: "loading"
|
|
9825
9825
|
}, [u("td", {
|
|
9826
9826
|
colspan: l.value.length
|
|
9827
|
-
}, [((y = n.loading) == null ? void 0 : y.call(n)) ??
|
|
9827
|
+
}, [((y = n.loading) == null ? void 0 : y.call(n)) ?? f(e.loadingText)])]) : !e.loading && !e.items.length && !e.hideNoData ? u("tr", {
|
|
9828
9828
|
class: "v-data-table-rows-no-data",
|
|
9829
9829
|
key: "no-data"
|
|
9830
9830
|
}, [u("td", {
|
|
9831
9831
|
colspan: l.value.length
|
|
9832
|
-
}, [((g = n["no-data"]) == null ? void 0 : g.call(n)) ??
|
|
9832
|
+
}, [((g = n["no-data"]) == null ? void 0 : g.call(n)) ?? f(e.noDataText)])]) : u(te, null, [e.items.map((h, S) => {
|
|
9833
9833
|
var _;
|
|
9834
9834
|
if (h.type === "group") {
|
|
9835
9835
|
const E = {
|
|
@@ -9867,7 +9867,7 @@ const vc = H({
|
|
|
9867
9867
|
index: S,
|
|
9868
9868
|
item: h,
|
|
9869
9869
|
cellProps: e.cellProps,
|
|
9870
|
-
mobile:
|
|
9870
|
+
mobile: d.value
|
|
9871
9871
|
}, Ja(t, ":row", () => p), typeof e.rowProps == "function" ? e.rowProps({
|
|
9872
9872
|
item: p.item,
|
|
9873
9873
|
index: p.index,
|
|
@@ -10001,28 +10001,28 @@ function wc(e, a, t) {
|
|
|
10001
10001
|
return n;
|
|
10002
10002
|
e:
|
|
10003
10003
|
for (let s = 0; s < e.length; s++) {
|
|
10004
|
-
const [c, v = c] = Pe(e[s]), m = {},
|
|
10005
|
-
let
|
|
10004
|
+
const [c, v = c] = Pe(e[s]), m = {}, f = {};
|
|
10005
|
+
let d = -1;
|
|
10006
10006
|
if (a && !(t != null && t.noFilter)) {
|
|
10007
10007
|
if (typeof c == "object") {
|
|
10008
10008
|
const h = i || Object.keys(v);
|
|
10009
10009
|
for (const S of h) {
|
|
10010
10010
|
const p = $e(v, S), $ = (o = t == null ? void 0 : t.customKeyFilter) == null ? void 0 : o[S];
|
|
10011
|
-
if (
|
|
10012
|
-
$ ? m[S] =
|
|
10011
|
+
if (d = $ ? $(p, a, c) : l(p, a, c), d !== -1 && d !== !1)
|
|
10012
|
+
$ ? m[S] = d : f[S] = d;
|
|
10013
10013
|
else if ((t == null ? void 0 : t.filterMode) === "every")
|
|
10014
10014
|
continue e;
|
|
10015
10015
|
}
|
|
10016
10016
|
} else
|
|
10017
|
-
|
|
10018
|
-
const y = Object.keys(
|
|
10017
|
+
d = l(c, a, c), d !== -1 && d !== !1 && (f.title = d);
|
|
10018
|
+
const y = Object.keys(f).length, g = Object.keys(m).length;
|
|
10019
10019
|
if (!y && !g || (t == null ? void 0 : t.filterMode) === "union" && g !== r && !y || (t == null ? void 0 : t.filterMode) === "intersection" && (g !== r || !y))
|
|
10020
10020
|
continue;
|
|
10021
10021
|
}
|
|
10022
10022
|
n.push({
|
|
10023
10023
|
index: s,
|
|
10024
10024
|
matches: {
|
|
10025
|
-
...
|
|
10025
|
+
...f,
|
|
10026
10026
|
...m
|
|
10027
10027
|
}
|
|
10028
10028
|
});
|
|
@@ -10041,15 +10041,15 @@ function Cc(e, a, t, n) {
|
|
|
10041
10041
|
filterKeys: e.filterKeys,
|
|
10042
10042
|
filterMode: e.filterMode,
|
|
10043
10043
|
noFilter: e.noFilter
|
|
10044
|
-
}), m = be(a),
|
|
10044
|
+
}), m = be(a), f = [], d = /* @__PURE__ */ new Map();
|
|
10045
10045
|
v.forEach((y) => {
|
|
10046
10046
|
let {
|
|
10047
10047
|
index: g,
|
|
10048
10048
|
matches: h
|
|
10049
10049
|
} = y;
|
|
10050
10050
|
const S = m[g];
|
|
10051
|
-
|
|
10052
|
-
}), l.value =
|
|
10051
|
+
f.push(S), d.set(S.value, h);
|
|
10052
|
+
}), l.value = f, i.value = d;
|
|
10053
10053
|
});
|
|
10054
10054
|
function o(s) {
|
|
10055
10055
|
return i.value.get(s.value);
|
|
@@ -10110,8 +10110,8 @@ const Br = H({
|
|
|
10110
10110
|
} = er(e), {
|
|
10111
10111
|
columns: v,
|
|
10112
10112
|
headers: m,
|
|
10113
|
-
sortFunctions:
|
|
10114
|
-
sortRawFunctions:
|
|
10113
|
+
sortFunctions: f,
|
|
10114
|
+
sortRawFunctions: d,
|
|
10115
10115
|
filterFunctions: y
|
|
10116
10116
|
} = rr(e, {
|
|
10117
10117
|
groupBy: l,
|
|
@@ -10144,8 +10144,8 @@ const Br = H({
|
|
|
10144
10144
|
sortedItems: O
|
|
10145
10145
|
} = rc(e, S, $, {
|
|
10146
10146
|
transform: (W) => W.columns,
|
|
10147
|
-
sortFunctions:
|
|
10148
|
-
sortRawFunctions:
|
|
10147
|
+
sortFunctions: f,
|
|
10148
|
+
sortRawFunctions: d
|
|
10149
10149
|
}), {
|
|
10150
10150
|
flatItems: B
|
|
10151
10151
|
} = kr(O, l, _), N = b(() => B.value.length), {
|
|
@@ -10278,13 +10278,13 @@ const Br = H({
|
|
|
10278
10278
|
itemsPerPage: c
|
|
10279
10279
|
} = er(e), v = b(() => parseInt(e.itemsLength, 10)), {
|
|
10280
10280
|
columns: m,
|
|
10281
|
-
headers:
|
|
10281
|
+
headers: f
|
|
10282
10282
|
} = rr(e, {
|
|
10283
10283
|
groupBy: l,
|
|
10284
10284
|
showSelect: G(e, "showSelect"),
|
|
10285
10285
|
showExpand: G(e, "showExpand")
|
|
10286
10286
|
}), {
|
|
10287
|
-
items:
|
|
10287
|
+
items: d
|
|
10288
10288
|
} = Ar(e, m), {
|
|
10289
10289
|
toggleSort: y
|
|
10290
10290
|
} = vr({
|
|
@@ -10309,7 +10309,7 @@ const Br = H({
|
|
|
10309
10309
|
itemsLength: v
|
|
10310
10310
|
}), {
|
|
10311
10311
|
flatItems: E
|
|
10312
|
-
} = kr(
|
|
10312
|
+
} = kr(d, l, g), {
|
|
10313
10313
|
isSelected: M,
|
|
10314
10314
|
select: I,
|
|
10315
10315
|
selectAll: O,
|
|
@@ -10317,12 +10317,12 @@ const Br = H({
|
|
|
10317
10317
|
someSelected: N,
|
|
10318
10318
|
allSelected: D
|
|
10319
10319
|
} = cr(e, {
|
|
10320
|
-
allItems:
|
|
10321
|
-
currentPage:
|
|
10320
|
+
allItems: d,
|
|
10321
|
+
currentPage: d
|
|
10322
10322
|
}), {
|
|
10323
10323
|
isExpanded: T,
|
|
10324
10324
|
toggleExpand: F
|
|
10325
|
-
} = pr(e), z = b(() => p(
|
|
10325
|
+
} = pr(e), z = b(() => p(d.value));
|
|
10326
10326
|
Tr({
|
|
10327
10327
|
page: s,
|
|
10328
10328
|
itemsPerPage: c,
|
|
@@ -10361,7 +10361,7 @@ const Br = H({
|
|
|
10361
10361
|
internalItems: z.value,
|
|
10362
10362
|
groupedItems: E.value,
|
|
10363
10363
|
columns: m.value,
|
|
10364
|
-
headers:
|
|
10364
|
+
headers: f.value
|
|
10365
10365
|
}));
|
|
10366
10366
|
ee(() => {
|
|
10367
10367
|
const Q = bn.filterProps(e), V = wn.filterProps(e), k = Cn.filterProps(e), C = kn.filterProps(e);
|
|
@@ -10456,7 +10456,7 @@ const Br = H({
|
|
|
10456
10456
|
name: "VToolbar",
|
|
10457
10457
|
props: Ac(),
|
|
10458
10458
|
setup(e, a) {
|
|
10459
|
-
var
|
|
10459
|
+
var d;
|
|
10460
10460
|
let {
|
|
10461
10461
|
slots: t
|
|
10462
10462
|
} = a;
|
|
@@ -10473,7 +10473,7 @@ const Br = H({
|
|
|
10473
10473
|
themeClasses: s
|
|
10474
10474
|
} = ke(e), {
|
|
10475
10475
|
rtlClasses: c
|
|
10476
|
-
} = tt(), v = ne(!!(e.extended || (
|
|
10476
|
+
} = tt(), v = ne(!!(e.extended || (d = t.extension) != null && d.call(t))), m = b(() => parseInt(Number(e.height) + (e.density === "prominent" ? Number(e.height) : 0) - (e.density === "comfortable" ? 8 : 0) - (e.density === "compact" ? 16 : 0), 10)), f = b(() => v.value ? parseInt(Number(e.extensionHeight) + (e.density === "prominent" ? Number(e.extensionHeight) : 0) - (e.density === "comfortable" ? 4 : 0) - (e.density === "compact" ? 8 : 0), 10) : 0);
|
|
10477
10477
|
return We({
|
|
10478
10478
|
VBtn: {
|
|
10479
10479
|
variant: "text"
|
|
@@ -10535,7 +10535,7 @@ const Br = H({
|
|
|
10535
10535
|
}), u(ge, {
|
|
10536
10536
|
defaults: {
|
|
10537
10537
|
VTabs: {
|
|
10538
|
-
height: Z(
|
|
10538
|
+
height: Z(f.value)
|
|
10539
10539
|
}
|
|
10540
10540
|
}
|
|
10541
10541
|
}, {
|
|
@@ -10543,7 +10543,7 @@ const Br = H({
|
|
|
10543
10543
|
default: () => [v.value && u("div", {
|
|
10544
10544
|
class: "v-toolbar__extension",
|
|
10545
10545
|
style: {
|
|
10546
|
-
height: Z(
|
|
10546
|
+
height: Z(f.value)
|
|
10547
10547
|
}
|
|
10548
10548
|
}, [h])]
|
|
10549
10549
|
})]
|
|
@@ -10551,7 +10551,7 @@ const Br = H({
|
|
|
10551
10551
|
});
|
|
10552
10552
|
}), {
|
|
10553
10553
|
contentHeight: m,
|
|
10554
|
-
extensionHeight:
|
|
10554
|
+
extensionHeight: f
|
|
10555
10555
|
};
|
|
10556
10556
|
}
|
|
10557
10557
|
}), Tc = ["rowspan", "colspan"], Bc = ["onClick"], Oc = ["rowspan", "colspan"], $c = { key: 0 }, Ec = ["colspan"], Lc = /* @__PURE__ */ Ae("span", { class: "text-caption mx-1" }, "Items per page", -1), Fc = { style: { width: "100px" } }, _c = { class: "pr-2" }, Dc = {
|
|
@@ -10775,7 +10775,7 @@ const Br = H({
|
|
|
10775
10775
|
set(V) {
|
|
10776
10776
|
n("update:headers", V);
|
|
10777
10777
|
}
|
|
10778
|
-
}),
|
|
10778
|
+
}), f = b(() => m.value.filter((V) => V.isShow)), d = b(() => {
|
|
10779
10779
|
let V = 1;
|
|
10780
10780
|
return o.itemsPerPage == null || o.totalItems == null ? V : (V = Math.ceil(o.totalItems / o.itemsPerPage), V > 0 ? V : 1);
|
|
10781
10781
|
}), y = b(() => {
|
|
@@ -10913,9 +10913,9 @@ const Br = H({
|
|
|
10913
10913
|
return w;
|
|
10914
10914
|
}
|
|
10915
10915
|
function Q() {
|
|
10916
|
-
if (!
|
|
10916
|
+
if (!f.value || f.value.length === 0 || !t.items || t.items.length === 0)
|
|
10917
10917
|
return;
|
|
10918
|
-
const V =
|
|
10918
|
+
const V = f.value.filter((x) => x.isExclude !== !0);
|
|
10919
10919
|
if (!V || V.length === 0)
|
|
10920
10920
|
return;
|
|
10921
10921
|
let k = "", C = "";
|
|
@@ -11060,7 +11060,7 @@ const Br = H({
|
|
|
11060
11060
|
class: "dt-header-border",
|
|
11061
11061
|
height: e.tableHeight,
|
|
11062
11062
|
density: e.density,
|
|
11063
|
-
headers:
|
|
11063
|
+
headers: f.value,
|
|
11064
11064
|
items: g.value,
|
|
11065
11065
|
"group-by": i.value,
|
|
11066
11066
|
"show-expand": e.showExpand,
|
|
@@ -11275,7 +11275,7 @@ const Br = H({
|
|
|
11275
11275
|
"prev-icon": e.prevIcon,
|
|
11276
11276
|
modelValue: o.page,
|
|
11277
11277
|
"onUpdate:modelValue": k[5] || (k[5] = (C) => o.page = C),
|
|
11278
|
-
length:
|
|
11278
|
+
length: d.value
|
|
11279
11279
|
}, null, 8, ["active-color", "first-icon", "last-icon", "next-icon", "prev-icon", "modelValue", "length"]),
|
|
11280
11280
|
u(Or),
|
|
11281
11281
|
Ae("span", _c, xe(y.value), 1),
|
|
@@ -11292,7 +11292,7 @@ const Br = H({
|
|
|
11292
11292
|
]),
|
|
11293
11293
|
_: 2
|
|
11294
11294
|
}, [
|
|
11295
|
-
Ue(
|
|
11295
|
+
Ue(f.value, (C) => ({
|
|
11296
11296
|
name: `item.${C.key}`,
|
|
11297
11297
|
fn: J((w) => [
|
|
11298
11298
|
ue(V.$slots, `item.${C.key}`, Re(Ge(w)), () => [
|
|
@@ -11538,14 +11538,14 @@ const Br = H({
|
|
|
11538
11538
|
set(x) {
|
|
11539
11539
|
n("update:selectedRow", x);
|
|
11540
11540
|
}
|
|
11541
|
-
}),
|
|
11541
|
+
}), f = b({
|
|
11542
11542
|
get() {
|
|
11543
11543
|
return t.headers;
|
|
11544
11544
|
},
|
|
11545
11545
|
set(x) {
|
|
11546
11546
|
n("update:headers", x);
|
|
11547
11547
|
}
|
|
11548
|
-
}),
|
|
11548
|
+
}), d = b(() => f.value.filter((x) => x.isShow)), y = b(() => {
|
|
11549
11549
|
let x = 1;
|
|
11550
11550
|
return o.itemsPerPage == null || t.itemsLength <= 0 ? x : (x = Math.ceil(t.itemsLength / o.itemsPerPage), x > 0 ? x : 1);
|
|
11551
11551
|
}), g = b(() => {
|
|
@@ -11566,7 +11566,7 @@ const Br = H({
|
|
|
11566
11566
|
});
|
|
11567
11567
|
function p(x) {
|
|
11568
11568
|
return x && x.length > 0 ? x.map((L) => {
|
|
11569
|
-
const P =
|
|
11569
|
+
const P = f.value.find((W) => W.key === L.key);
|
|
11570
11570
|
return P || (L.filterable = !1, L);
|
|
11571
11571
|
}) : x;
|
|
11572
11572
|
}
|
|
@@ -11623,12 +11623,12 @@ const Br = H({
|
|
|
11623
11623
|
}
|
|
11624
11624
|
function z(x, L) {
|
|
11625
11625
|
var P;
|
|
11626
|
-
x.filterType = L.value, ((P = x.filterValue) == null ? void 0 : P.length) > 0 && (
|
|
11626
|
+
x.filterType = L.value, ((P = x.filterValue) == null ? void 0 : P.length) > 0 && (v = `!${v}`);
|
|
11627
11627
|
}
|
|
11628
11628
|
function j() {
|
|
11629
|
-
|
|
11629
|
+
d.forEach((x) => {
|
|
11630
11630
|
x.filterValue = x.filterMode === rn.SELECTION ? x.allFilterValue : null;
|
|
11631
|
-
}),
|
|
11631
|
+
}), v = "";
|
|
11632
11632
|
}
|
|
11633
11633
|
function Q(x, L) {
|
|
11634
11634
|
var P, W, oe, K;
|
|
@@ -11690,8 +11690,8 @@ const Br = H({
|
|
|
11690
11690
|
}, {
|
|
11691
11691
|
default: J(() => [
|
|
11692
11692
|
u(be(Il), {
|
|
11693
|
-
modelValue:
|
|
11694
|
-
"onUpdate:modelValue": L[0] || (L[0] = (P) =>
|
|
11693
|
+
modelValue: f.value,
|
|
11694
|
+
"onUpdate:modelValue": L[0] || (L[0] = (P) => f.value = P),
|
|
11695
11695
|
"item-key": "key",
|
|
11696
11696
|
handle: ".cursor-move",
|
|
11697
11697
|
onChange: L[1] || (L[1] = (P) => x.$emit("columnMenuDragChange", P))
|
|
@@ -11769,7 +11769,7 @@ const Br = H({
|
|
|
11769
11769
|
class: "dt-header-border",
|
|
11770
11770
|
height: e.tableHeight,
|
|
11771
11771
|
density: e.density,
|
|
11772
|
-
headers:
|
|
11772
|
+
headers: d.value,
|
|
11773
11773
|
items: e.items,
|
|
11774
11774
|
"items-length": e.itemsLength,
|
|
11775
11775
|
"group-by": i.value,
|
|
@@ -12010,7 +12010,7 @@ const Br = H({
|
|
|
12010
12010
|
]),
|
|
12011
12011
|
_: 2
|
|
12012
12012
|
}, [
|
|
12013
|
-
Ue(
|
|
12013
|
+
Ue(d.value, (P) => ({
|
|
12014
12014
|
name: `item.${P.key}`,
|
|
12015
12015
|
fn: J((W) => [
|
|
12016
12016
|
ue(x.$slots, `item.${P.key}`, Re(Ge(W)), () => [
|