@c3labsbr/vuetify-elements 1.2.0 → 1.2.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.
|
@@ -724,7 +724,7 @@ function ks(e) {
|
|
|
724
724
|
const t = Math.abs(Pl(qt(0), qt(e)));
|
|
725
725
|
return Math.abs(Pl(qt(16777215), qt(e))) > Math.min(t, 50) ? "#fff" : "#000";
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function A(e, t) {
|
|
728
728
|
return (n) => Object.keys(e).reduce((a, l) => {
|
|
729
729
|
const r = typeof e[l] == "object" && e[l] != null && !Array.isArray(e[l]) ? e[l] : {
|
|
730
730
|
type: e[l]
|
|
@@ -735,7 +735,7 @@ function D(e, t) {
|
|
|
735
735
|
} : a[l] = r, t && !a[l].source && (a[l].source = t), a;
|
|
736
736
|
}, {});
|
|
737
737
|
}
|
|
738
|
-
const te =
|
|
738
|
+
const te = A({
|
|
739
739
|
class: [String, Array, Object],
|
|
740
740
|
style: {
|
|
741
741
|
type: [String, Array, Object],
|
|
@@ -837,7 +837,7 @@ function rn(e) {
|
|
|
837
837
|
if (e._setup = e._setup ?? e.setup, !e.name)
|
|
838
838
|
return pt("The component is missing an explicit name, unable to generate default prop value"), e;
|
|
839
839
|
if (e._setup) {
|
|
840
|
-
e.props =
|
|
840
|
+
e.props = A(e.props ?? {}, e.name)();
|
|
841
841
|
const t = Object.keys(e.props).filter((n) => n !== "class" && n !== "style");
|
|
842
842
|
e.filterProps = function(a) {
|
|
843
843
|
return bo(a, t);
|
|
@@ -933,7 +933,7 @@ function U(e) {
|
|
|
933
933
|
const t = fe("useRender");
|
|
934
934
|
t.render = e;
|
|
935
935
|
}
|
|
936
|
-
const ft =
|
|
936
|
+
const ft = A({
|
|
937
937
|
border: [Boolean, Number, String]
|
|
938
938
|
}, "border");
|
|
939
939
|
function Dt(e) {
|
|
@@ -950,7 +950,7 @@ function Dt(e) {
|
|
|
950
950
|
})
|
|
951
951
|
};
|
|
952
952
|
}
|
|
953
|
-
const Fs = [null, "default", "comfortable", "compact"], Oe =
|
|
953
|
+
const Fs = [null, "default", "comfortable", "compact"], Oe = A({
|
|
954
954
|
density: {
|
|
955
955
|
type: String,
|
|
956
956
|
default: "default",
|
|
@@ -963,7 +963,7 @@ function Qe(e) {
|
|
|
963
963
|
densityClasses: b(() => `${t}--density-${e.density}`)
|
|
964
964
|
};
|
|
965
965
|
}
|
|
966
|
-
const At =
|
|
966
|
+
const At = A({
|
|
967
967
|
elevation: {
|
|
968
968
|
type: [Number, String],
|
|
969
969
|
validator(e) {
|
|
@@ -982,7 +982,7 @@ function jt(e) {
|
|
|
982
982
|
})
|
|
983
983
|
};
|
|
984
984
|
}
|
|
985
|
-
const Ge =
|
|
985
|
+
const Ge = A({
|
|
986
986
|
rounded: {
|
|
987
987
|
type: [Boolean, Number, String],
|
|
988
988
|
default: void 0
|
|
@@ -1004,12 +1004,12 @@ function Je(e) {
|
|
|
1004
1004
|
})
|
|
1005
1005
|
};
|
|
1006
1006
|
}
|
|
1007
|
-
const ve =
|
|
1007
|
+
const ve = A({
|
|
1008
1008
|
tag: {
|
|
1009
1009
|
type: String,
|
|
1010
1010
|
default: "div"
|
|
1011
1011
|
}
|
|
1012
|
-
}, "tag"), Al = Symbol.for("vuetify:theme"), ye =
|
|
1012
|
+
}, "tag"), Al = Symbol.for("vuetify:theme"), ye = A({
|
|
1013
1013
|
theme: String
|
|
1014
1014
|
}, "theme");
|
|
1015
1015
|
function Ce(e) {
|
|
@@ -1078,7 +1078,7 @@ function sn(e, t) {
|
|
|
1078
1078
|
class: `${t}__underlay`
|
|
1079
1079
|
}, null)]);
|
|
1080
1080
|
}
|
|
1081
|
-
const ot =
|
|
1081
|
+
const ot = A({
|
|
1082
1082
|
color: String,
|
|
1083
1083
|
variant: {
|
|
1084
1084
|
type: String,
|
|
@@ -1111,7 +1111,7 @@ function un(e) {
|
|
|
1111
1111
|
variantClasses: n
|
|
1112
1112
|
};
|
|
1113
1113
|
}
|
|
1114
|
-
const Eo =
|
|
1114
|
+
const Eo = A({
|
|
1115
1115
|
baseColor: String,
|
|
1116
1116
|
divided: Boolean,
|
|
1117
1117
|
...ft(),
|
|
@@ -1194,7 +1194,7 @@ function se(e, t, n) {
|
|
|
1194
1194
|
get: () => u.value ? e[t] : r.value
|
|
1195
1195
|
}), c;
|
|
1196
1196
|
}
|
|
1197
|
-
const za =
|
|
1197
|
+
const za = A({
|
|
1198
1198
|
modelValue: {
|
|
1199
1199
|
type: null,
|
|
1200
1200
|
default: void 0
|
|
@@ -1204,7 +1204,7 @@ const za = D({
|
|
|
1204
1204
|
max: Number,
|
|
1205
1205
|
selectedClass: String,
|
|
1206
1206
|
disabled: Boolean
|
|
1207
|
-
}, "group"), _o =
|
|
1207
|
+
}, "group"), _o = A({
|
|
1208
1208
|
value: null,
|
|
1209
1209
|
disabled: Boolean,
|
|
1210
1210
|
selectedClass: String
|
|
@@ -1256,13 +1256,13 @@ function Ha(e, t) {
|
|
|
1256
1256
|
return e.multiple ? h : h[0];
|
|
1257
1257
|
}), o = fe("useGroup");
|
|
1258
1258
|
function r(f, h) {
|
|
1259
|
-
const
|
|
1260
|
-
re(
|
|
1259
|
+
const g = f, y = Symbol.for(`${t.description}:id`), p = Kt(y, o?.vnode).indexOf(h);
|
|
1260
|
+
re(g.value) == null && (g.value = p, g.useIndexAsValue = !0), p > -1 ? a.splice(p, 0, g) : a.push(g);
|
|
1261
1261
|
}
|
|
1262
1262
|
function s(f) {
|
|
1263
1263
|
if (n) return;
|
|
1264
1264
|
i();
|
|
1265
|
-
const h = a.findIndex((
|
|
1265
|
+
const h = a.findIndex((g) => g.id === f);
|
|
1266
1266
|
a.splice(h, 1);
|
|
1267
1267
|
}
|
|
1268
1268
|
function i() {
|
|
@@ -1278,12 +1278,12 @@ function Ha(e, t) {
|
|
|
1278
1278
|
a[f].useIndexAsValue && (a[f].value = f);
|
|
1279
1279
|
});
|
|
1280
1280
|
function u(f, h) {
|
|
1281
|
-
const
|
|
1282
|
-
if (!(h &&
|
|
1281
|
+
const g = a.find((y) => y.id === f);
|
|
1282
|
+
if (!(h && g?.disabled))
|
|
1283
1283
|
if (e.multiple) {
|
|
1284
|
-
const y = l.value.slice(),
|
|
1284
|
+
const y = l.value.slice(), m = y.findIndex((w) => w === f), p = ~m;
|
|
1285
1285
|
if (h = h ?? !p, p && e.mandatory && y.length <= 1 || !p && e.max != null && y.length + 1 > e.max) return;
|
|
1286
|
-
|
|
1286
|
+
m < 0 && h ? y.push(f) : m >= 0 && !h && y.splice(m, 1), l.value = y;
|
|
1287
1287
|
} else {
|
|
1288
1288
|
const y = l.value.includes(f);
|
|
1289
1289
|
if (e.mandatory && y) return;
|
|
@@ -1292,14 +1292,14 @@ function Ha(e, t) {
|
|
|
1292
1292
|
}
|
|
1293
1293
|
function c(f) {
|
|
1294
1294
|
if (e.multiple && pt('This method is not supported when using "multiple" prop'), l.value.length) {
|
|
1295
|
-
const h = l.value[0],
|
|
1296
|
-
let y = (
|
|
1297
|
-
for (;
|
|
1298
|
-
y = (y + f) % a.length,
|
|
1299
|
-
if (
|
|
1295
|
+
const h = l.value[0], g = a.findIndex((p) => p.id === h);
|
|
1296
|
+
let y = (g + f) % a.length, m = a[y];
|
|
1297
|
+
for (; m.disabled && y !== g; )
|
|
1298
|
+
y = (y + f) % a.length, m = a[y];
|
|
1299
|
+
if (m.disabled) return;
|
|
1300
1300
|
l.value = [a[y].id];
|
|
1301
1301
|
} else {
|
|
1302
|
-
const h = a.find((
|
|
1302
|
+
const h = a.find((g) => !g.disabled);
|
|
1303
1303
|
h && (l.value = [h.id]);
|
|
1304
1304
|
}
|
|
1305
1305
|
}
|
|
@@ -1339,7 +1339,7 @@ function $s(e, t) {
|
|
|
1339
1339
|
}
|
|
1340
1340
|
}), n;
|
|
1341
1341
|
}
|
|
1342
|
-
const No = Symbol.for("vuetify:v-btn-toggle"), Ls =
|
|
1342
|
+
const No = Symbol.for("vuetify:v-btn-toggle"), Ls = A({
|
|
1343
1343
|
...Eo(),
|
|
1344
1344
|
...za()
|
|
1345
1345
|
}, "VBtnToggle");
|
|
@@ -1382,7 +1382,7 @@ z()({
|
|
|
1382
1382
|
};
|
|
1383
1383
|
}
|
|
1384
1384
|
});
|
|
1385
|
-
const Os =
|
|
1385
|
+
const Os = A({
|
|
1386
1386
|
defaults: Object,
|
|
1387
1387
|
disabled: Boolean,
|
|
1388
1388
|
reset: [Number, String],
|
|
@@ -1409,7 +1409,7 @@ const Os = D({
|
|
|
1409
1409
|
disabled: l
|
|
1410
1410
|
}), () => n.default?.();
|
|
1411
1411
|
}
|
|
1412
|
-
}), Y = [String, Function, Object, Array], Rs = Symbol.for("vuetify:icons"), Hn =
|
|
1412
|
+
}), Y = [String, Function, Object, Array], Rs = Symbol.for("vuetify:icons"), Hn = A({
|
|
1413
1413
|
icon: {
|
|
1414
1414
|
type: Y
|
|
1415
1415
|
},
|
|
@@ -1505,7 +1505,7 @@ const zs = (e) => {
|
|
|
1505
1505
|
};
|
|
1506
1506
|
})
|
|
1507
1507
|
};
|
|
1508
|
-
}, Hs = ["x-small", "small", "default", "large", "x-large"], Wt =
|
|
1508
|
+
}, Hs = ["x-small", "small", "default", "large", "x-large"], Wt = A({
|
|
1509
1509
|
size: {
|
|
1510
1510
|
type: [String, Number],
|
|
1511
1511
|
default: "default"
|
|
@@ -1524,7 +1524,7 @@ function cn(e) {
|
|
|
1524
1524
|
};
|
|
1525
1525
|
});
|
|
1526
1526
|
}
|
|
1527
|
-
const js =
|
|
1527
|
+
const js = A({
|
|
1528
1528
|
color: String,
|
|
1529
1529
|
disabled: Boolean,
|
|
1530
1530
|
start: Boolean,
|
|
@@ -1620,7 +1620,7 @@ function Nt(e) {
|
|
|
1620
1620
|
contentRect: Ea(a)
|
|
1621
1621
|
};
|
|
1622
1622
|
}
|
|
1623
|
-
const Ws =
|
|
1623
|
+
const Ws = A({
|
|
1624
1624
|
bgColor: String,
|
|
1625
1625
|
color: String,
|
|
1626
1626
|
indeterminate: [Boolean, String],
|
|
@@ -1662,18 +1662,18 @@ const Ws = D({
|
|
|
1662
1662
|
textColorStyles: f
|
|
1663
1663
|
} = lt(O(e, "bgColor")), {
|
|
1664
1664
|
intersectionRef: h,
|
|
1665
|
-
isIntersecting:
|
|
1665
|
+
isIntersecting: g
|
|
1666
1666
|
} = $o(), {
|
|
1667
1667
|
resizeRef: y,
|
|
1668
|
-
contentRect:
|
|
1669
|
-
} = Nt(), p = b(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), w = b(() => Number(e.width)), x = b(() => i.value ? Number(e.size) :
|
|
1668
|
+
contentRect: m
|
|
1669
|
+
} = Nt(), p = b(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), w = b(() => Number(e.width)), x = b(() => i.value ? Number(e.size) : m.value ? m.value.width : Math.max(w.value, 32)), D = b(() => a / (1 - w.value / x.value) * 2), F = b(() => w.value / x.value * D.value), B = b(() => W((100 - p.value) / 100 * l));
|
|
1670
1670
|
return qe(() => {
|
|
1671
1671
|
h.value = o.value, y.value = o.value;
|
|
1672
1672
|
}), U(() => d(e.tag, {
|
|
1673
1673
|
ref: o,
|
|
1674
1674
|
class: ["v-progress-circular", {
|
|
1675
1675
|
"v-progress-circular--indeterminate": !!e.indeterminate,
|
|
1676
|
-
"v-progress-circular--visible":
|
|
1676
|
+
"v-progress-circular--visible": g.value,
|
|
1677
1677
|
"v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink"
|
|
1678
1678
|
}, r.value, s.value, u.value, e.class],
|
|
1679
1679
|
style: [i.value, c.value, e.style],
|
|
@@ -1687,7 +1687,7 @@ const Ws = D({
|
|
|
1687
1687
|
transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))`
|
|
1688
1688
|
},
|
|
1689
1689
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1690
|
-
viewBox: `0 0 ${
|
|
1690
|
+
viewBox: `0 0 ${D.value} ${D.value}`
|
|
1691
1691
|
}, [d("circle", {
|
|
1692
1692
|
class: ["v-progress-circular__underlay", v.value],
|
|
1693
1693
|
style: f.value,
|
|
@@ -1714,7 +1714,7 @@ const Ws = D({
|
|
|
1714
1714
|
})])]
|
|
1715
1715
|
})), {};
|
|
1716
1716
|
}
|
|
1717
|
-
}), vt =
|
|
1717
|
+
}), vt = A({
|
|
1718
1718
|
height: [Number, String],
|
|
1719
1719
|
maxHeight: [Number, String],
|
|
1720
1720
|
maxWidth: [Number, String],
|
|
@@ -1750,7 +1750,7 @@ const _l = {
|
|
|
1750
1750
|
bottom: "top",
|
|
1751
1751
|
left: "right",
|
|
1752
1752
|
right: "left"
|
|
1753
|
-
}, ja =
|
|
1753
|
+
}, ja = A({
|
|
1754
1754
|
location: String
|
|
1755
1755
|
}, "location");
|
|
1756
1756
|
function Wa(e) {
|
|
@@ -1784,7 +1784,7 @@ function Wa(e) {
|
|
|
1784
1784
|
})
|
|
1785
1785
|
};
|
|
1786
1786
|
}
|
|
1787
|
-
const Us =
|
|
1787
|
+
const Us = A({
|
|
1788
1788
|
absolute: Boolean,
|
|
1789
1789
|
active: {
|
|
1790
1790
|
type: Boolean,
|
|
@@ -1852,21 +1852,21 @@ const Us = D({
|
|
|
1852
1852
|
backgroundColorClasses: f,
|
|
1853
1853
|
backgroundColorStyles: h
|
|
1854
1854
|
} = tt(b(() => e.bufferColor || e.bgColor || e.color)), {
|
|
1855
|
-
backgroundColorClasses:
|
|
1855
|
+
backgroundColorClasses: g,
|
|
1856
1856
|
backgroundColorStyles: y
|
|
1857
1857
|
} = tt(e, "color"), {
|
|
1858
|
-
roundedClasses:
|
|
1858
|
+
roundedClasses: m
|
|
1859
1859
|
} = Je(e), {
|
|
1860
1860
|
intersectionRef: p,
|
|
1861
1861
|
isIntersecting: w
|
|
1862
|
-
} = $o(), x = b(() => parseFloat(e.max)),
|
|
1862
|
+
} = $o(), x = b(() => parseFloat(e.max)), D = b(() => parseFloat(e.height)), F = b(() => ze(parseFloat(e.bufferValue) / x.value * 100, 0, 100)), B = b(() => ze(parseFloat(a.value) / x.value * 100, 0, 100)), I = b(() => l.value !== e.reverse), S = b(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), k = de && window.matchMedia?.("(forced-colors: active)").matches;
|
|
1863
1863
|
function L(_) {
|
|
1864
1864
|
if (!p.value) return;
|
|
1865
1865
|
const {
|
|
1866
|
-
left:
|
|
1867
|
-
right:
|
|
1866
|
+
left: T,
|
|
1867
|
+
right: E,
|
|
1868
1868
|
width: $
|
|
1869
|
-
} = p.value.getBoundingClientRect(), j = I.value ? $ - _.clientX + (
|
|
1869
|
+
} = p.value.getBoundingClientRect(), j = I.value ? $ - _.clientX + (E - $) : _.clientX - T;
|
|
1870
1870
|
a.value = Math.round(j / $ * x.value);
|
|
1871
1871
|
}
|
|
1872
1872
|
return U(() => d(e.tag, {
|
|
@@ -1878,12 +1878,12 @@ const Us = D({
|
|
|
1878
1878
|
"v-progress-linear--rounded": e.rounded,
|
|
1879
1879
|
"v-progress-linear--rounded-bar": e.roundedBar,
|
|
1880
1880
|
"v-progress-linear--striped": e.striped
|
|
1881
|
-
},
|
|
1881
|
+
}, m.value, r.value, o.value, e.class],
|
|
1882
1882
|
style: [{
|
|
1883
1883
|
bottom: e.location === "bottom" ? 0 : void 0,
|
|
1884
1884
|
top: e.location === "top" ? 0 : void 0,
|
|
1885
|
-
height: e.active ? W(
|
|
1886
|
-
"--v-progress-linear-height": W(
|
|
1885
|
+
height: e.active ? W(D.value) : 0,
|
|
1886
|
+
"--v-progress-linear-height": W(D.value),
|
|
1887
1887
|
...e.absolute ? s.value : {}
|
|
1888
1888
|
}, e.style],
|
|
1889
1889
|
role: "progressbar",
|
|
@@ -1898,12 +1898,12 @@ const Us = D({
|
|
|
1898
1898
|
class: ["v-progress-linear__stream", i.value],
|
|
1899
1899
|
style: {
|
|
1900
1900
|
...u.value,
|
|
1901
|
-
[I.value ? "left" : "right"]: W(-
|
|
1902
|
-
borderTop: `${W(
|
|
1901
|
+
[I.value ? "left" : "right"]: W(-D.value),
|
|
1902
|
+
borderTop: `${W(D.value / 2)} dotted`,
|
|
1903
1903
|
opacity: parseFloat(e.bufferOpacity),
|
|
1904
|
-
top: `calc(50% - ${W(
|
|
1904
|
+
top: `calc(50% - ${W(D.value / 4)})`,
|
|
1905
1905
|
width: W(100 - F.value, "%"),
|
|
1906
|
-
"--v-progress-linear-stream-to": W(
|
|
1906
|
+
"--v-progress-linear-stream-to": W(D.value * (I.value ? 1 : -1))
|
|
1907
1907
|
}
|
|
1908
1908
|
}, null), d("div", {
|
|
1909
1909
|
class: ["v-progress-linear__background", k ? void 0 : c.value],
|
|
@@ -1924,10 +1924,10 @@ const Us = D({
|
|
|
1924
1924
|
class: "v-progress-linear__indeterminate"
|
|
1925
1925
|
}, [["long", "short"].map((_) => d("div", {
|
|
1926
1926
|
key: _,
|
|
1927
|
-
class: ["v-progress-linear__indeterminate", _, k ? void 0 :
|
|
1927
|
+
class: ["v-progress-linear__indeterminate", _, k ? void 0 : g.value],
|
|
1928
1928
|
style: y.value
|
|
1929
1929
|
}, null))]) : d("div", {
|
|
1930
|
-
class: ["v-progress-linear__determinate", k ? void 0 :
|
|
1930
|
+
class: ["v-progress-linear__determinate", k ? void 0 : g.value],
|
|
1931
1931
|
style: [y.value, {
|
|
1932
1932
|
width: W(B.value, "%")
|
|
1933
1933
|
}]
|
|
@@ -1940,7 +1940,7 @@ const Us = D({
|
|
|
1940
1940
|
})])]
|
|
1941
1941
|
})), {};
|
|
1942
1942
|
}
|
|
1943
|
-
}), jn =
|
|
1943
|
+
}), jn = A({
|
|
1944
1944
|
loading: [Boolean, String]
|
|
1945
1945
|
}, "loader");
|
|
1946
1946
|
function Wn(e) {
|
|
@@ -1968,7 +1968,7 @@ function Ga(e, t) {
|
|
|
1968
1968
|
indeterminate: !0
|
|
1969
1969
|
}, null)]);
|
|
1970
1970
|
}
|
|
1971
|
-
const qs = ["static", "relative", "fixed", "absolute", "sticky"], Oo =
|
|
1971
|
+
const qs = ["static", "relative", "fixed", "absolute", "sticky"], Oo = A({
|
|
1972
1972
|
position: {
|
|
1973
1973
|
type: String,
|
|
1974
1974
|
validator: (
|
|
@@ -2020,7 +2020,7 @@ function Gn(e, t) {
|
|
|
2020
2020
|
})
|
|
2021
2021
|
};
|
|
2022
2022
|
}
|
|
2023
|
-
const Un =
|
|
2023
|
+
const Un = A({
|
|
2024
2024
|
href: String,
|
|
2025
2025
|
replace: Boolean,
|
|
2026
2026
|
to: [String, Object],
|
|
@@ -2208,7 +2208,7 @@ const dn = {
|
|
|
2208
2208
|
mounted: tu,
|
|
2209
2209
|
unmounted: nu,
|
|
2210
2210
|
updated: au
|
|
2211
|
-
}, lu =
|
|
2211
|
+
}, lu = A({
|
|
2212
2212
|
active: {
|
|
2213
2213
|
type: Boolean,
|
|
2214
2214
|
default: void 0
|
|
@@ -2282,12 +2282,12 @@ const dn = {
|
|
|
2282
2282
|
roundedClasses: f
|
|
2283
2283
|
} = Je(e), {
|
|
2284
2284
|
sizeClasses: h,
|
|
2285
|
-
sizeStyles:
|
|
2286
|
-
} = cn(e), y = Fo(e, e.symbol, !1),
|
|
2287
|
-
color: y?.isSelected.value && (!
|
|
2285
|
+
sizeStyles: g
|
|
2286
|
+
} = cn(e), y = Fo(e, e.symbol, !1), m = Gn(e, n), p = b(() => e.active !== void 0 ? e.active : m.isLink.value ? m.isActive?.value : y?.isSelected.value), w = b(() => p.value ? e.activeColor ?? e.color : e.color), x = b(() => ({
|
|
2287
|
+
color: y?.isSelected.value && (!m.isLink.value || m.isActive?.value) || !y || m.isActive?.value ? w.value ?? e.baseColor : e.baseColor,
|
|
2288
2288
|
variant: e.variant
|
|
2289
2289
|
})), {
|
|
2290
|
-
colorClasses:
|
|
2290
|
+
colorClasses: D,
|
|
2291
2291
|
colorStyles: F,
|
|
2292
2292
|
variantClasses: B
|
|
2293
2293
|
} = un(x), I = b(() => y?.disabled.value || e.disabled), S = b(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), k = b(() => {
|
|
@@ -2295,10 +2295,10 @@ const dn = {
|
|
|
2295
2295
|
return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
|
|
2296
2296
|
});
|
|
2297
2297
|
function L(_) {
|
|
2298
|
-
I.value ||
|
|
2298
|
+
I.value || m.isLink.value && (_.metaKey || _.ctrlKey || _.shiftKey || _.button !== 0 || n.target === "_blank") || (m.navigate?.(_), y?.toggle());
|
|
2299
2299
|
}
|
|
2300
|
-
return Qs(
|
|
2301
|
-
const _ =
|
|
2300
|
+
return Qs(m, y?.select), U(() => {
|
|
2301
|
+
const _ = m.isLink.value ? "a" : e.tag, T = !!(e.prependIcon || a.prepend), E = !!(e.appendIcon || a.append), $ = !!(e.icon && e.icon !== !0);
|
|
2302
2302
|
return Ae(d(_, R({
|
|
2303
2303
|
type: _ === "a" ? void 0 : "button",
|
|
2304
2304
|
class: ["v-btn", y?.selectedClass.value, {
|
|
@@ -2312,15 +2312,15 @@ const dn = {
|
|
|
2312
2312
|
"v-btn--readonly": e.readonly,
|
|
2313
2313
|
"v-btn--slim": e.slim,
|
|
2314
2314
|
"v-btn--stacked": e.stacked
|
|
2315
|
-
}, l.value, o.value,
|
|
2316
|
-
style: [F.value, s.value, c.value,
|
|
2315
|
+
}, l.value, o.value, D.value, r.value, i.value, u.value, v.value, f.value, h.value, B.value, e.class],
|
|
2316
|
+
style: [F.value, s.value, c.value, g.value, e.style],
|
|
2317
2317
|
"aria-busy": e.loading ? !0 : void 0,
|
|
2318
2318
|
disabled: I.value || void 0,
|
|
2319
2319
|
tabindex: e.loading || e.readonly ? -1 : void 0,
|
|
2320
2320
|
onClick: L,
|
|
2321
2321
|
value: k.value
|
|
2322
|
-
},
|
|
2323
|
-
default: () => [sn(!0, "v-btn"), !e.icon &&
|
|
2322
|
+
}, m.linkProps), {
|
|
2323
|
+
default: () => [sn(!0, "v-btn"), !e.icon && T && d("span", {
|
|
2324
2324
|
key: "prepend",
|
|
2325
2325
|
class: "v-btn__prepend"
|
|
2326
2326
|
}, [a.prepend ? d(he, {
|
|
@@ -2350,7 +2350,7 @@ const dn = {
|
|
|
2350
2350
|
}
|
|
2351
2351
|
}, {
|
|
2352
2352
|
default: () => [a.default?.() ?? e.text]
|
|
2353
|
-
})]), !e.icon &&
|
|
2353
|
+
})]), !e.icon && E && d("span", {
|
|
2354
2354
|
key: "append",
|
|
2355
2355
|
class: "v-btn__append"
|
|
2356
2356
|
}, [a.append ? d(he, {
|
|
@@ -2379,7 +2379,7 @@ const dn = {
|
|
|
2379
2379
|
group: y
|
|
2380
2380
|
};
|
|
2381
2381
|
}
|
|
2382
|
-
}), ou =
|
|
2382
|
+
}), ou = A({
|
|
2383
2383
|
color: String,
|
|
2384
2384
|
inset: Boolean,
|
|
2385
2385
|
length: [Number, String],
|
|
@@ -2428,7 +2428,7 @@ const dn = {
|
|
|
2428
2428
|
}, [a.default()]), i]) : i;
|
|
2429
2429
|
}), {};
|
|
2430
2430
|
}
|
|
2431
|
-
}), Kn = ["sm", "md", "lg", "xl", "xxl"], ru = Symbol.for("vuetify:display"), qn =
|
|
2431
|
+
}), Kn = ["sm", "md", "lg", "xl", "xxl"], ru = Symbol.for("vuetify:display"), qn = A({
|
|
2432
2432
|
mobile: {
|
|
2433
2433
|
type: Boolean,
|
|
2434
2434
|
default: !1
|
|
@@ -2483,7 +2483,7 @@ function iu(e, t, n) {
|
|
|
2483
2483
|
return e === "col" && (a = "v-" + a), e === "col" && (n === "" || n === !0) || (a += `-${n}`), a.toLowerCase();
|
|
2484
2484
|
}
|
|
2485
2485
|
}
|
|
2486
|
-
const su = ["auto", "start", "end", "center", "baseline", "stretch"], uu =
|
|
2486
|
+
const su = ["auto", "start", "end", "center", "baseline", "stretch"], uu = A({
|
|
2487
2487
|
cols: {
|
|
2488
2488
|
type: [Boolean, String, Number],
|
|
2489
2489
|
default: !1
|
|
@@ -2574,7 +2574,7 @@ function gu(e, t, n) {
|
|
|
2574
2574
|
return a += `-${n}`, a.toLowerCase();
|
|
2575
2575
|
}
|
|
2576
2576
|
}
|
|
2577
|
-
const mu =
|
|
2577
|
+
const mu = A({
|
|
2578
2578
|
dense: Boolean,
|
|
2579
2579
|
noGutters: Boolean,
|
|
2580
2580
|
align: {
|
|
@@ -2625,7 +2625,7 @@ const mu = D({
|
|
|
2625
2625
|
style: e.style
|
|
2626
2626
|
}, n.default?.());
|
|
2627
2627
|
}
|
|
2628
|
-
}), yu = Oa("v-spacer", "div", "VSpacer"), hu =
|
|
2628
|
+
}), yu = Oa("v-spacer", "div", "VSpacer"), hu = A({
|
|
2629
2629
|
disabled: Boolean,
|
|
2630
2630
|
group: Boolean,
|
|
2631
2631
|
hideOnLeave: Boolean,
|
|
@@ -2758,7 +2758,7 @@ function or() {
|
|
|
2758
2758
|
r.style.overflow = r._initialStyle.overflow, s != null && (r.style[n] = s), delete r._initialStyle;
|
|
2759
2759
|
}
|
|
2760
2760
|
}
|
|
2761
|
-
const bu =
|
|
2761
|
+
const bu = A({
|
|
2762
2762
|
target: [Object, Array]
|
|
2763
2763
|
}, "v-dialog-transition"), Xa = z()({
|
|
2764
2764
|
name: "VDialogTransition",
|
|
@@ -2854,13 +2854,13 @@ function Ol(e, t) {
|
|
|
2854
2854
|
r === "left" || s === "left" ? i -= n.width / 2 : (r === "right" || s === "right") && (i += n.width / 2);
|
|
2855
2855
|
let u = n.top + n.height / 2;
|
|
2856
2856
|
r === "top" || s === "top" ? u -= n.height / 2 : (r === "bottom" || s === "bottom") && (u += n.height / 2);
|
|
2857
|
-
const c = n.width / a.width, v = n.height / a.height, f = Math.max(1, c, v), h = c / f || 0,
|
|
2857
|
+
const c = n.width / a.width, v = n.height / a.height, f = Math.max(1, c, v), h = c / f || 0, g = v / f || 0, y = a.width * a.height / (window.innerWidth * window.innerHeight), m = y > 0.12 ? Math.min(1.5, (y - 0.12) * 10 + 1) : 1;
|
|
2858
2858
|
return {
|
|
2859
2859
|
x: i - (l + a.left),
|
|
2860
2860
|
y: u - (o + a.top),
|
|
2861
2861
|
sx: h,
|
|
2862
|
-
sy:
|
|
2863
|
-
speed:
|
|
2862
|
+
sy: g,
|
|
2863
|
+
speed: m
|
|
2864
2864
|
};
|
|
2865
2865
|
}
|
|
2866
2866
|
Ne("fab-transition", "center center", "out-in");
|
|
@@ -3156,12 +3156,12 @@ const Ya = (e) => {
|
|
|
3156
3156
|
}
|
|
3157
3157
|
let c = me(s.get(a));
|
|
3158
3158
|
for (; c; ) {
|
|
3159
|
-
const v = r.get(c), f = v.every((
|
|
3159
|
+
const v = r.get(c), f = v.every((g) => o.get(me(g)) === "on"), h = v.every((g) => !o.has(me(g)) || o.get(me(g)) === "off");
|
|
3160
3160
|
o.set(c, f ? "on" : h ? "off" : "indeterminate"), c = me(s.get(c));
|
|
3161
3161
|
}
|
|
3162
3162
|
return e && !l && Array.from(o.entries()).reduce((f, h) => {
|
|
3163
|
-
let [
|
|
3164
|
-
return y === "on" && f.push(
|
|
3163
|
+
let [g, y] = h;
|
|
3164
|
+
return y === "on" && f.push(g), f;
|
|
3165
3165
|
}, []).length === 0 ? i : o;
|
|
3166
3166
|
},
|
|
3167
3167
|
in: (n, a, l) => {
|
|
@@ -3203,7 +3203,7 @@ const Ya = (e) => {
|
|
|
3203
3203
|
selectedValues: M([]),
|
|
3204
3204
|
getPath: () => []
|
|
3205
3205
|
}
|
|
3206
|
-
}, Iu =
|
|
3206
|
+
}, Iu = A({
|
|
3207
3207
|
activatable: Boolean,
|
|
3208
3208
|
selectable: Boolean,
|
|
3209
3209
|
activeStrategy: [String, Function, Object],
|
|
@@ -3215,7 +3215,7 @@ const Ya = (e) => {
|
|
|
3215
3215
|
mandatory: Boolean
|
|
3216
3216
|
}, "nested"), Du = (e) => {
|
|
3217
3217
|
let t = !1;
|
|
3218
|
-
const n = M(/* @__PURE__ */ new Map()), a = M(/* @__PURE__ */ new Map()), l = se(e, "opened", e.opened, (
|
|
3218
|
+
const n = M(/* @__PURE__ */ new Map()), a = M(/* @__PURE__ */ new Map()), l = se(e, "opened", e.opened, (g) => new Set(g), (g) => [...g.values()]), o = b(() => {
|
|
3219
3219
|
if (typeof e.activeStrategy == "object") return e.activeStrategy;
|
|
3220
3220
|
if (typeof e.activeStrategy == "function") return e.activeStrategy(e.mandatory);
|
|
3221
3221
|
switch (e.activeStrategy) {
|
|
@@ -3256,15 +3256,15 @@ const Ya = (e) => {
|
|
|
3256
3256
|
default:
|
|
3257
3257
|
return dr;
|
|
3258
3258
|
}
|
|
3259
|
-
}), i = se(e, "activated", e.activated, (
|
|
3259
|
+
}), i = se(e, "activated", e.activated, (g) => o.value.in(g, n.value, a.value), (g) => o.value.out(g, n.value, a.value)), u = se(e, "selected", e.selected, (g) => r.value.in(g, n.value, a.value), (g) => r.value.out(g, n.value, a.value));
|
|
3260
3260
|
We(() => {
|
|
3261
3261
|
t = !0;
|
|
3262
3262
|
});
|
|
3263
|
-
function c(
|
|
3263
|
+
function c(g) {
|
|
3264
3264
|
const y = [];
|
|
3265
|
-
let
|
|
3266
|
-
for (;
|
|
3267
|
-
y.unshift(
|
|
3265
|
+
let m = g;
|
|
3266
|
+
for (; m != null; )
|
|
3267
|
+
y.unshift(m), m = a.value.get(m);
|
|
3268
3268
|
return y;
|
|
3269
3269
|
}
|
|
3270
3270
|
const v = fe("nested"), f = /* @__PURE__ */ new Set(), h = {
|
|
@@ -3276,94 +3276,94 @@ const Ya = (e) => {
|
|
|
3276
3276
|
activated: i,
|
|
3277
3277
|
selected: u,
|
|
3278
3278
|
selectedValues: b(() => {
|
|
3279
|
-
const
|
|
3280
|
-
for (const [y,
|
|
3281
|
-
|
|
3282
|
-
return
|
|
3279
|
+
const g = [];
|
|
3280
|
+
for (const [y, m] of u.value.entries())
|
|
3281
|
+
m === "on" && g.push(y);
|
|
3282
|
+
return g;
|
|
3283
3283
|
}),
|
|
3284
|
-
register: (
|
|
3285
|
-
if (f.has(
|
|
3286
|
-
const p = c(
|
|
3284
|
+
register: (g, y, m) => {
|
|
3285
|
+
if (f.has(g)) {
|
|
3286
|
+
const p = c(g).map(String).join(" -> "), w = c(y).concat(g).map(String).join(" -> ");
|
|
3287
3287
|
$a(`Multiple nodes with the same ID
|
|
3288
3288
|
${p}
|
|
3289
3289
|
${w}`);
|
|
3290
3290
|
return;
|
|
3291
3291
|
} else
|
|
3292
|
-
f.add(
|
|
3293
|
-
y &&
|
|
3292
|
+
f.add(g);
|
|
3293
|
+
y && g !== y && a.value.set(g, y), m && n.value.set(g, []), y != null && n.value.set(y, [...n.value.get(y) || [], g]);
|
|
3294
3294
|
},
|
|
3295
|
-
unregister: (
|
|
3295
|
+
unregister: (g) => {
|
|
3296
3296
|
if (t) return;
|
|
3297
|
-
f.delete(
|
|
3298
|
-
const y = a.value.get(
|
|
3297
|
+
f.delete(g), n.value.delete(g);
|
|
3298
|
+
const y = a.value.get(g);
|
|
3299
3299
|
if (y) {
|
|
3300
|
-
const
|
|
3301
|
-
n.value.set(y,
|
|
3300
|
+
const m = n.value.get(y) ?? [];
|
|
3301
|
+
n.value.set(y, m.filter((p) => p !== g));
|
|
3302
3302
|
}
|
|
3303
|
-
a.value.delete(
|
|
3303
|
+
a.value.delete(g);
|
|
3304
3304
|
},
|
|
3305
|
-
open: (
|
|
3305
|
+
open: (g, y, m) => {
|
|
3306
3306
|
v.emit("click:open", {
|
|
3307
|
-
id:
|
|
3307
|
+
id: g,
|
|
3308
3308
|
value: y,
|
|
3309
|
-
path: c(
|
|
3310
|
-
event:
|
|
3309
|
+
path: c(g),
|
|
3310
|
+
event: m
|
|
3311
3311
|
});
|
|
3312
3312
|
const p = s.value.open({
|
|
3313
|
-
id:
|
|
3313
|
+
id: g,
|
|
3314
3314
|
value: y,
|
|
3315
3315
|
opened: new Set(l.value),
|
|
3316
3316
|
children: n.value,
|
|
3317
3317
|
parents: a.value,
|
|
3318
|
-
event:
|
|
3318
|
+
event: m
|
|
3319
3319
|
});
|
|
3320
3320
|
p && (l.value = p);
|
|
3321
3321
|
},
|
|
3322
|
-
openOnSelect: (
|
|
3322
|
+
openOnSelect: (g, y, m) => {
|
|
3323
3323
|
const p = s.value.select({
|
|
3324
|
-
id:
|
|
3324
|
+
id: g,
|
|
3325
3325
|
value: y,
|
|
3326
3326
|
selected: new Map(u.value),
|
|
3327
3327
|
opened: new Set(l.value),
|
|
3328
3328
|
children: n.value,
|
|
3329
3329
|
parents: a.value,
|
|
3330
|
-
event:
|
|
3330
|
+
event: m
|
|
3331
3331
|
});
|
|
3332
3332
|
p && (l.value = p);
|
|
3333
3333
|
},
|
|
3334
|
-
select: (
|
|
3334
|
+
select: (g, y, m) => {
|
|
3335
3335
|
v.emit("click:select", {
|
|
3336
|
-
id:
|
|
3336
|
+
id: g,
|
|
3337
3337
|
value: y,
|
|
3338
|
-
path: c(
|
|
3339
|
-
event:
|
|
3338
|
+
path: c(g),
|
|
3339
|
+
event: m
|
|
3340
3340
|
});
|
|
3341
3341
|
const p = r.value.select({
|
|
3342
|
-
id:
|
|
3342
|
+
id: g,
|
|
3343
3343
|
value: y,
|
|
3344
3344
|
selected: new Map(u.value),
|
|
3345
3345
|
children: n.value,
|
|
3346
3346
|
parents: a.value,
|
|
3347
|
-
event:
|
|
3347
|
+
event: m
|
|
3348
3348
|
});
|
|
3349
|
-
p && (u.value = p), h.root.openOnSelect(
|
|
3349
|
+
p && (u.value = p), h.root.openOnSelect(g, y, m);
|
|
3350
3350
|
},
|
|
3351
|
-
activate: (
|
|
3351
|
+
activate: (g, y, m) => {
|
|
3352
3352
|
if (!e.activatable)
|
|
3353
|
-
return h.root.select(
|
|
3353
|
+
return h.root.select(g, !0, m);
|
|
3354
3354
|
v.emit("click:activate", {
|
|
3355
|
-
id:
|
|
3355
|
+
id: g,
|
|
3356
3356
|
value: y,
|
|
3357
|
-
path: c(
|
|
3358
|
-
event:
|
|
3357
|
+
path: c(g),
|
|
3358
|
+
event: m
|
|
3359
3359
|
});
|
|
3360
3360
|
const p = o.value.activate({
|
|
3361
|
-
id:
|
|
3361
|
+
id: g,
|
|
3362
3362
|
value: y,
|
|
3363
3363
|
activated: new Set(i.value),
|
|
3364
3364
|
children: n.value,
|
|
3365
3365
|
parents: a.value,
|
|
3366
|
-
event:
|
|
3366
|
+
event: m
|
|
3367
3367
|
});
|
|
3368
3368
|
p && (i.value = p);
|
|
3369
3369
|
},
|
|
@@ -3412,7 +3412,7 @@ function Tu() {
|
|
|
3412
3412
|
isBooted: Ea(e)
|
|
3413
3413
|
};
|
|
3414
3414
|
}
|
|
3415
|
-
const fn =
|
|
3415
|
+
const fn = A({
|
|
3416
3416
|
transition: {
|
|
3417
3417
|
type: [Boolean, String, Object],
|
|
3418
3418
|
default: "fade-transition",
|
|
@@ -3448,7 +3448,7 @@ const fn = D({
|
|
|
3448
3448
|
} = t;
|
|
3449
3449
|
return Au(), () => n.default?.();
|
|
3450
3450
|
}
|
|
3451
|
-
}), _u =
|
|
3451
|
+
}), _u = A({
|
|
3452
3452
|
/* @deprecated */
|
|
3453
3453
|
activeColor: String,
|
|
3454
3454
|
baseColor: String,
|
|
@@ -3536,7 +3536,7 @@ const fn = D({
|
|
|
3536
3536
|
isOpen: a
|
|
3537
3537
|
};
|
|
3538
3538
|
}
|
|
3539
|
-
}), Fu =
|
|
3539
|
+
}), Fu = A({
|
|
3540
3540
|
opacity: [Number, String],
|
|
3541
3541
|
...te(),
|
|
3542
3542
|
...ve()
|
|
@@ -3565,7 +3565,7 @@ function Nu(e) {
|
|
|
3565
3565
|
})
|
|
3566
3566
|
};
|
|
3567
3567
|
}
|
|
3568
|
-
const mr =
|
|
3568
|
+
const mr = A({
|
|
3569
3569
|
aspectRatio: [String, Number],
|
|
3570
3570
|
contentClass: null,
|
|
3571
3571
|
inline: Boolean,
|
|
@@ -3623,7 +3623,7 @@ function yr(e, t) {
|
|
|
3623
3623
|
const hr = {
|
|
3624
3624
|
mounted: $u,
|
|
3625
3625
|
unmounted: yr
|
|
3626
|
-
}, Lu =
|
|
3626
|
+
}, Lu = A({
|
|
3627
3627
|
absolute: Boolean,
|
|
3628
3628
|
alt: String,
|
|
3629
3629
|
cover: Boolean,
|
|
@@ -3689,53 +3689,53 @@ const hr = {
|
|
|
3689
3689
|
srcset: e.srcset,
|
|
3690
3690
|
lazySrc: e.lazySrc,
|
|
3691
3691
|
aspect: Number(e.aspectRatio || 0)
|
|
3692
|
-
}),
|
|
3692
|
+
}), g = b(() => h.value.aspect || v.value / f.value || 0);
|
|
3693
3693
|
q(() => e.src, () => {
|
|
3694
3694
|
y(c.value !== "idle");
|
|
3695
|
-
}), q(
|
|
3696
|
-
!
|
|
3695
|
+
}), q(g, (T, E) => {
|
|
3696
|
+
!T && E && u.value && D(u.value);
|
|
3697
3697
|
}), uo(() => y());
|
|
3698
|
-
function y(
|
|
3699
|
-
if (!(e.eager &&
|
|
3698
|
+
function y(T) {
|
|
3699
|
+
if (!(e.eager && T) && !(Fa && !T && !e.eager)) {
|
|
3700
3700
|
if (c.value = "loading", h.value.lazySrc) {
|
|
3701
|
-
const
|
|
3702
|
-
|
|
3701
|
+
const E = new Image();
|
|
3702
|
+
E.src = h.value.lazySrc, D(E, null);
|
|
3703
3703
|
}
|
|
3704
3704
|
h.value.src && we(() => {
|
|
3705
3705
|
n("loadstart", u.value?.currentSrc || h.value.src), setTimeout(() => {
|
|
3706
3706
|
if (!s.isUnmounted)
|
|
3707
3707
|
if (u.value?.complete) {
|
|
3708
3708
|
if (u.value.naturalWidth || p(), c.value === "error") return;
|
|
3709
|
-
|
|
3709
|
+
g.value || D(u.value, null), c.value === "loading" && m();
|
|
3710
3710
|
} else
|
|
3711
|
-
|
|
3711
|
+
g.value || D(u.value), w();
|
|
3712
3712
|
});
|
|
3713
3713
|
});
|
|
3714
3714
|
}
|
|
3715
3715
|
}
|
|
3716
|
-
function
|
|
3717
|
-
s.isUnmounted || (w(),
|
|
3716
|
+
function m() {
|
|
3717
|
+
s.isUnmounted || (w(), D(u.value), c.value = "loaded", n("load", u.value?.currentSrc || h.value.src));
|
|
3718
3718
|
}
|
|
3719
3719
|
function p() {
|
|
3720
3720
|
s.isUnmounted || (c.value = "error", n("error", u.value?.currentSrc || h.value.src));
|
|
3721
3721
|
}
|
|
3722
3722
|
function w() {
|
|
3723
|
-
const
|
|
3724
|
-
|
|
3723
|
+
const T = u.value;
|
|
3724
|
+
T && (i.value = T.currentSrc || T.src);
|
|
3725
3725
|
}
|
|
3726
3726
|
let x = -1;
|
|
3727
3727
|
We(() => {
|
|
3728
3728
|
clearTimeout(x);
|
|
3729
3729
|
});
|
|
3730
|
-
function
|
|
3731
|
-
let
|
|
3730
|
+
function D(T) {
|
|
3731
|
+
let E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
|
|
3732
3732
|
const $ = () => {
|
|
3733
3733
|
if (clearTimeout(x), s.isUnmounted) return;
|
|
3734
3734
|
const {
|
|
3735
3735
|
naturalHeight: j,
|
|
3736
3736
|
naturalWidth: Z
|
|
3737
|
-
} =
|
|
3738
|
-
j || Z ? (v.value = Z, f.value = j) : !
|
|
3737
|
+
} = T;
|
|
3738
|
+
j || Z ? (v.value = Z, f.value = j) : !T.complete && c.value === "loading" && E != null ? x = window.setTimeout($, E) : (T.currentSrc.endsWith(".svg") || T.currentSrc.startsWith("data:image/svg+xml")) && (v.value = 1, f.value = 1);
|
|
3739
3739
|
};
|
|
3740
3740
|
$();
|
|
3741
3741
|
}
|
|
@@ -3744,7 +3744,7 @@ const hr = {
|
|
|
3744
3744
|
"v-img__img--contain": !e.cover
|
|
3745
3745
|
})), B = () => {
|
|
3746
3746
|
if (!h.value.src || c.value === "idle") return null;
|
|
3747
|
-
const
|
|
3747
|
+
const T = d("img", {
|
|
3748
3748
|
class: ["v-img__img", F.value],
|
|
3749
3749
|
style: {
|
|
3750
3750
|
objectPosition: e.position
|
|
@@ -3757,16 +3757,16 @@ const hr = {
|
|
|
3757
3757
|
draggable: e.draggable,
|
|
3758
3758
|
sizes: e.sizes,
|
|
3759
3759
|
ref: u,
|
|
3760
|
-
onLoad:
|
|
3760
|
+
onLoad: m,
|
|
3761
3761
|
onError: p
|
|
3762
|
-
}, null),
|
|
3762
|
+
}, null), E = a.sources?.();
|
|
3763
3763
|
return d(st, {
|
|
3764
3764
|
transition: e.transition,
|
|
3765
3765
|
appear: !0
|
|
3766
3766
|
}, {
|
|
3767
|
-
default: () => [Ae(
|
|
3767
|
+
default: () => [Ae(E ? d("picture", {
|
|
3768
3768
|
class: "v-img__picture"
|
|
3769
|
-
}, [
|
|
3769
|
+
}, [E, T]) : T, [[Ht, c.value === "loaded"]])]
|
|
3770
3770
|
});
|
|
3771
3771
|
}, I = () => d(st, {
|
|
3772
3772
|
transition: e.transition
|
|
@@ -3803,16 +3803,16 @@ const hr = {
|
|
|
3803
3803
|
}
|
|
3804
3804
|
}, null) : null, _ = ee(!1);
|
|
3805
3805
|
{
|
|
3806
|
-
const
|
|
3807
|
-
|
|
3806
|
+
const T = q(g, (E) => {
|
|
3807
|
+
E && (requestAnimationFrame(() => {
|
|
3808
3808
|
requestAnimationFrame(() => {
|
|
3809
3809
|
_.value = !0;
|
|
3810
3810
|
});
|
|
3811
|
-
}),
|
|
3811
|
+
}), T());
|
|
3812
3812
|
});
|
|
3813
3813
|
}
|
|
3814
3814
|
return U(() => {
|
|
3815
|
-
const
|
|
3815
|
+
const T = zl.filterProps(e);
|
|
3816
3816
|
return Ae(d(zl, R({
|
|
3817
3817
|
class: ["v-img", {
|
|
3818
3818
|
"v-img--absolute": e.absolute,
|
|
@@ -3821,8 +3821,8 @@ const hr = {
|
|
|
3821
3821
|
style: [{
|
|
3822
3822
|
width: W(e.width === "auto" ? v.value : e.width)
|
|
3823
3823
|
}, o.value, e.style]
|
|
3824
|
-
},
|
|
3825
|
-
aspectRatio:
|
|
3824
|
+
}, T, {
|
|
3825
|
+
aspectRatio: g.value,
|
|
3826
3826
|
"aria-label": e.alt,
|
|
3827
3827
|
role: e.alt ? "img" : void 0
|
|
3828
3828
|
}), {
|
|
@@ -3842,7 +3842,7 @@ const hr = {
|
|
|
3842
3842
|
naturalHeight: f
|
|
3843
3843
|
};
|
|
3844
3844
|
}
|
|
3845
|
-
}), Ou =
|
|
3845
|
+
}), Ou = A({
|
|
3846
3846
|
start: Boolean,
|
|
3847
3847
|
end: Boolean,
|
|
3848
3848
|
icon: Y,
|
|
@@ -3912,7 +3912,7 @@ const hr = {
|
|
|
3912
3912
|
}, null) : e.text, sn(!1, "v-avatar")]
|
|
3913
3913
|
})), {};
|
|
3914
3914
|
}
|
|
3915
|
-
}), Ru =
|
|
3915
|
+
}), Ru = A({
|
|
3916
3916
|
active: {
|
|
3917
3917
|
type: Boolean,
|
|
3918
3918
|
default: void 0
|
|
@@ -3977,16 +3977,16 @@ const hr = {
|
|
|
3977
3977
|
isSelected: v,
|
|
3978
3978
|
isIndeterminate: f,
|
|
3979
3979
|
isGroupActivator: h,
|
|
3980
|
-
root:
|
|
3980
|
+
root: g,
|
|
3981
3981
|
parent: y,
|
|
3982
|
-
openOnSelect:
|
|
3982
|
+
openOnSelect: m,
|
|
3983
3983
|
id: p
|
|
3984
|
-
} = gr(r, !1), w = ur(), x = b(() => e.active !== !1 && (e.active || o.isActive?.value || (
|
|
3984
|
+
} = gr(r, !1), w = ur(), x = b(() => e.active !== !1 && (e.active || o.isActive?.value || (g.activatable.value ? i.value : v.value))), D = b(() => e.link !== !1 && o.isLink.value), F = b(() => !!w && (g.selectable.value || g.activatable.value || e.value != null)), B = b(() => !e.disabled && e.link !== !1 && (e.link || o.isClickable.value || F.value)), I = b(() => e.rounded || e.nav), S = b(() => e.color ?? e.activeColor), k = b(() => ({
|
|
3985
3985
|
color: x.value ? S.value ?? e.baseColor : e.baseColor,
|
|
3986
3986
|
variant: e.variant
|
|
3987
3987
|
}));
|
|
3988
3988
|
q(() => o.isActive?.value, (K) => {
|
|
3989
|
-
K && y.value != null &&
|
|
3989
|
+
K && y.value != null && g.open(y.value, !0), K && m(K);
|
|
3990
3990
|
}, {
|
|
3991
3991
|
immediate: !0
|
|
3992
3992
|
});
|
|
@@ -3995,8 +3995,8 @@ const hr = {
|
|
|
3995
3995
|
} = Ce(e), {
|
|
3996
3996
|
borderClasses: _
|
|
3997
3997
|
} = Dt(e), {
|
|
3998
|
-
colorClasses:
|
|
3999
|
-
colorStyles:
|
|
3998
|
+
colorClasses: T,
|
|
3999
|
+
colorStyles: E,
|
|
4000
4000
|
variantClasses: $
|
|
4001
4001
|
} = un(k), {
|
|
4002
4002
|
densityClasses: j
|
|
@@ -4014,13 +4014,13 @@ const hr = {
|
|
|
4014
4014
|
isIndeterminate: f.value
|
|
4015
4015
|
}));
|
|
4016
4016
|
function N(K) {
|
|
4017
|
-
l("click", K), B.value && (o.navigate?.(K), !h && (
|
|
4017
|
+
l("click", K), B.value && (o.navigate?.(K), !h && (g.activatable.value ? s(!i.value, K) : (g.selectable.value || e.value != null) && u(!v.value, K)));
|
|
4018
4018
|
}
|
|
4019
4019
|
function G(K) {
|
|
4020
4020
|
(K.key === "Enter" || K.key === " ") && (K.preventDefault(), K.target.dispatchEvent(new MouseEvent("click", K)));
|
|
4021
4021
|
}
|
|
4022
4022
|
return U(() => {
|
|
4023
|
-
const K =
|
|
4023
|
+
const K = D.value ? "a" : e.tag, Q = a.title || e.title != null, oe = a.subtitle || e.subtitle != null, H = !!(e.appendAvatar || e.appendIcon), ue = !!(H || a.append), Ue = !!(e.prependAvatar || e.prependIcon), Re = !!(Ue || a.prepend);
|
|
4024
4024
|
return w?.updateHasPrepend(Re), e.activeColor && ps("active-color", ["color", "base-color"]), Ae(d(K, R({
|
|
4025
4025
|
class: ["v-list-item", {
|
|
4026
4026
|
"v-list-item--active": x.value,
|
|
@@ -4030,12 +4030,12 @@ const hr = {
|
|
|
4030
4030
|
"v-list-item--prepend": !Re && w?.hasPrepend.value,
|
|
4031
4031
|
"v-list-item--slim": e.slim,
|
|
4032
4032
|
[`${e.activeClass}`]: e.activeClass && x.value
|
|
4033
|
-
}, L.value, _.value,
|
|
4034
|
-
style: [
|
|
4033
|
+
}, L.value, _.value, T.value, j.value, le.value, P.value, J.value, $.value, e.class],
|
|
4034
|
+
style: [E.value, Z.value, e.style],
|
|
4035
4035
|
tabindex: B.value ? w ? -2 : 0 : void 0,
|
|
4036
|
-
"aria-selected": F.value ?
|
|
4036
|
+
"aria-selected": F.value ? g.activatable.value ? i.value : g.selectable.value ? v.value : x.value : void 0,
|
|
4037
4037
|
onClick: N,
|
|
4038
|
-
onKeydown: B.value && !
|
|
4038
|
+
onKeydown: B.value && !D.value && G
|
|
4039
4039
|
}, o.linkProps), {
|
|
4040
4040
|
default: () => [sn(B.value || x.value, "v-list-item"), Re && d("div", {
|
|
4041
4041
|
key: "prepend",
|
|
@@ -4123,11 +4123,11 @@ const hr = {
|
|
|
4123
4123
|
isSelected: v,
|
|
4124
4124
|
list: w,
|
|
4125
4125
|
select: u,
|
|
4126
|
-
root:
|
|
4126
|
+
root: g,
|
|
4127
4127
|
id: p
|
|
4128
4128
|
};
|
|
4129
4129
|
}
|
|
4130
|
-
}), Mu =
|
|
4130
|
+
}), Mu = A({
|
|
4131
4131
|
color: String,
|
|
4132
4132
|
inset: Boolean,
|
|
4133
4133
|
sticky: Boolean,
|
|
@@ -4162,7 +4162,7 @@ const hr = {
|
|
|
4162
4162
|
});
|
|
4163
4163
|
}), {};
|
|
4164
4164
|
}
|
|
4165
|
-
}), Hu =
|
|
4165
|
+
}), Hu = A({
|
|
4166
4166
|
items: Array,
|
|
4167
4167
|
returnObject: Boolean
|
|
4168
4168
|
}, "VListChildren"), pr = z()({
|
|
@@ -4232,7 +4232,7 @@ const hr = {
|
|
|
4232
4232
|
}), i);
|
|
4233
4233
|
});
|
|
4234
4234
|
}
|
|
4235
|
-
}), Sr =
|
|
4235
|
+
}), Sr = A({
|
|
4236
4236
|
items: {
|
|
4237
4237
|
type: Array,
|
|
4238
4238
|
default: () => []
|
|
@@ -4332,7 +4332,7 @@ function Uu(e) {
|
|
|
4332
4332
|
items: b(() => Cr(e, e.items))
|
|
4333
4333
|
};
|
|
4334
4334
|
}
|
|
4335
|
-
const Ku =
|
|
4335
|
+
const Ku = A({
|
|
4336
4336
|
baseColor: String,
|
|
4337
4337
|
/* @deprecated */
|
|
4338
4338
|
activeColor: String,
|
|
@@ -4405,15 +4405,15 @@ const Ku = D({
|
|
|
4405
4405
|
} = Je(e), {
|
|
4406
4406
|
children: f,
|
|
4407
4407
|
open: h,
|
|
4408
|
-
parents:
|
|
4408
|
+
parents: g,
|
|
4409
4409
|
select: y,
|
|
4410
|
-
getPath:
|
|
4411
|
-
} = Du(e), p = b(() => e.lines ? `v-list--${e.lines}-line` : void 0), w = O(e, "activeColor"), x = O(e, "baseColor"),
|
|
4410
|
+
getPath: m
|
|
4411
|
+
} = Du(e), p = b(() => e.lines ? `v-list--${e.lines}-line` : void 0), w = O(e, "activeColor"), x = O(e, "baseColor"), D = O(e, "color");
|
|
4412
4412
|
sr(), at({
|
|
4413
4413
|
VListGroup: {
|
|
4414
4414
|
activeColor: w,
|
|
4415
4415
|
baseColor: x,
|
|
4416
|
-
color:
|
|
4416
|
+
color: D,
|
|
4417
4417
|
expandIcon: O(e, "expandIcon"),
|
|
4418
4418
|
collapseIcon: O(e, "collapseIcon")
|
|
4419
4419
|
},
|
|
@@ -4421,7 +4421,7 @@ const Ku = D({
|
|
|
4421
4421
|
activeClass: O(e, "activeClass"),
|
|
4422
4422
|
activeColor: w,
|
|
4423
4423
|
baseColor: x,
|
|
4424
|
-
color:
|
|
4424
|
+
color: D,
|
|
4425
4425
|
density: O(e, "density"),
|
|
4426
4426
|
disabled: O(e, "disabled"),
|
|
4427
4427
|
lines: O(e, "lines"),
|
|
@@ -4431,37 +4431,37 @@ const Ku = D({
|
|
|
4431
4431
|
}
|
|
4432
4432
|
});
|
|
4433
4433
|
const F = ee(!1), B = M();
|
|
4434
|
-
function I(
|
|
4434
|
+
function I(E) {
|
|
4435
4435
|
F.value = !0;
|
|
4436
4436
|
}
|
|
4437
|
-
function S(
|
|
4437
|
+
function S(E) {
|
|
4438
4438
|
F.value = !1;
|
|
4439
4439
|
}
|
|
4440
|
-
function k(
|
|
4441
|
-
!F.value && !(
|
|
4440
|
+
function k(E) {
|
|
4441
|
+
!F.value && !(E.relatedTarget && B.value?.contains(E.relatedTarget)) && T();
|
|
4442
4442
|
}
|
|
4443
|
-
function L(
|
|
4444
|
-
const $ =
|
|
4443
|
+
function L(E) {
|
|
4444
|
+
const $ = E.target;
|
|
4445
4445
|
if (!(!B.value || ["INPUT", "TEXTAREA"].includes($.tagName))) {
|
|
4446
|
-
if (
|
|
4447
|
-
|
|
4448
|
-
else if (
|
|
4449
|
-
|
|
4450
|
-
else if (
|
|
4451
|
-
|
|
4452
|
-
else if (
|
|
4453
|
-
|
|
4446
|
+
if (E.key === "ArrowDown")
|
|
4447
|
+
T("next");
|
|
4448
|
+
else if (E.key === "ArrowUp")
|
|
4449
|
+
T("prev");
|
|
4450
|
+
else if (E.key === "Home")
|
|
4451
|
+
T("first");
|
|
4452
|
+
else if (E.key === "End")
|
|
4453
|
+
T("last");
|
|
4454
4454
|
else
|
|
4455
4455
|
return;
|
|
4456
|
-
|
|
4456
|
+
E.preventDefault();
|
|
4457
4457
|
}
|
|
4458
4458
|
}
|
|
4459
|
-
function _(
|
|
4459
|
+
function _(E) {
|
|
4460
4460
|
F.value = !0;
|
|
4461
4461
|
}
|
|
4462
|
-
function
|
|
4462
|
+
function T(E) {
|
|
4463
4463
|
if (B.value)
|
|
4464
|
-
return Xt(B.value,
|
|
4464
|
+
return Xt(B.value, E);
|
|
4465
4465
|
}
|
|
4466
4466
|
return U(() => d(e.tag, {
|
|
4467
4467
|
ref: B,
|
|
@@ -4487,10 +4487,10 @@ const Ku = D({
|
|
|
4487
4487
|
})), {
|
|
4488
4488
|
open: h,
|
|
4489
4489
|
select: y,
|
|
4490
|
-
focus:
|
|
4490
|
+
focus: T,
|
|
4491
4491
|
children: f,
|
|
4492
|
-
parents:
|
|
4493
|
-
getPath:
|
|
4492
|
+
parents: g,
|
|
4493
|
+
getPath: m
|
|
4494
4494
|
};
|
|
4495
4495
|
}
|
|
4496
4496
|
});
|
|
@@ -4536,7 +4536,7 @@ const kr = {
|
|
|
4536
4536
|
// specific viewport position, usually centered
|
|
4537
4537
|
connected: Ju
|
|
4538
4538
|
// connected to a certain element
|
|
4539
|
-
}, Xu =
|
|
4539
|
+
}, Xu = A({
|
|
4540
4540
|
locationStrategy: {
|
|
4541
4541
|
type: [String, Function],
|
|
4542
4542
|
default: "static",
|
|
@@ -4585,23 +4585,23 @@ function Ju(e, t, n) {
|
|
|
4585
4585
|
preferredAnchor: l,
|
|
4586
4586
|
preferredOrigin: o
|
|
4587
4587
|
} = Ba(() => {
|
|
4588
|
-
const
|
|
4589
|
-
return
|
|
4590
|
-
preferredAnchor: ml(
|
|
4588
|
+
const g = ya(t.location, e.isRtl.value), y = t.origin === "overlap" ? g : t.origin === "auto" ? oa(g) : ya(t.origin, e.isRtl.value);
|
|
4589
|
+
return g.side === y.side && g.align === ra(y).align ? {
|
|
4590
|
+
preferredAnchor: ml(g),
|
|
4591
4591
|
preferredOrigin: ml(y)
|
|
4592
4592
|
} : {
|
|
4593
|
-
preferredAnchor:
|
|
4593
|
+
preferredAnchor: g,
|
|
4594
4594
|
preferredOrigin: y
|
|
4595
4595
|
};
|
|
4596
|
-
}), [r, s, i, u] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((
|
|
4597
|
-
const y = parseFloat(t[
|
|
4596
|
+
}), [r, s, i, u] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((g) => b(() => {
|
|
4597
|
+
const y = parseFloat(t[g]);
|
|
4598
4598
|
return isNaN(y) ? 1 / 0 : y;
|
|
4599
4599
|
})), c = b(() => {
|
|
4600
4600
|
if (Array.isArray(t.offset))
|
|
4601
4601
|
return t.offset;
|
|
4602
4602
|
if (typeof t.offset == "string") {
|
|
4603
|
-
const
|
|
4604
|
-
return
|
|
4603
|
+
const g = t.offset.split(" ").map(parseFloat);
|
|
4604
|
+
return g.length < 2 && g.push(0), g;
|
|
4605
4605
|
}
|
|
4606
4606
|
return typeof t.offset == "number" ? [t.offset, 0] : [0, 0];
|
|
4607
4607
|
});
|
|
@@ -4609,9 +4609,9 @@ function Ju(e, t, n) {
|
|
|
4609
4609
|
const f = new ResizeObserver(() => {
|
|
4610
4610
|
v && h();
|
|
4611
4611
|
});
|
|
4612
|
-
q([e.target, e.contentEl], (
|
|
4613
|
-
let [
|
|
4614
|
-
w && !Array.isArray(w) && f.unobserve(w),
|
|
4612
|
+
q([e.target, e.contentEl], (g, y) => {
|
|
4613
|
+
let [m, p] = g, [w, x] = y;
|
|
4614
|
+
w && !Array.isArray(w) && f.unobserve(w), m && !Array.isArray(m) && f.observe(m), x && f.unobserve(x), p && f.observe(p);
|
|
4615
4615
|
}, {
|
|
4616
4616
|
immediate: !0
|
|
4617
4617
|
}), Te(() => {
|
|
@@ -4619,14 +4619,14 @@ function Ju(e, t, n) {
|
|
|
4619
4619
|
});
|
|
4620
4620
|
function h() {
|
|
4621
4621
|
if (v = !1, requestAnimationFrame(() => v = !0), !e.target.value || !e.contentEl.value) return;
|
|
4622
|
-
const
|
|
4623
|
-
|
|
4624
|
-
const w =
|
|
4625
|
-
const
|
|
4626
|
-
x:
|
|
4627
|
-
y:
|
|
4628
|
-
width:
|
|
4629
|
-
height:
|
|
4622
|
+
const g = Vo(e.target.value), y = Qu(e.contentEl.value, e.isRtl.value), m = Dn(e.contentEl.value), p = 12;
|
|
4623
|
+
m.length || (m.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (y.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), y.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
|
|
4624
|
+
const w = m.reduce((_, T) => {
|
|
4625
|
+
const E = T.getBoundingClientRect(), $ = new bt({
|
|
4626
|
+
x: T === document.documentElement ? 0 : E.x,
|
|
4627
|
+
y: T === document.documentElement ? 0 : E.y,
|
|
4628
|
+
width: T.clientWidth,
|
|
4629
|
+
height: T.clientHeight
|
|
4630
4630
|
});
|
|
4631
4631
|
return _ ? new bt({
|
|
4632
4632
|
x: Math.max(_.left, $.left),
|
|
@@ -4640,12 +4640,12 @@ function Ju(e, t, n) {
|
|
|
4640
4640
|
anchor: l.value,
|
|
4641
4641
|
origin: o.value
|
|
4642
4642
|
};
|
|
4643
|
-
function
|
|
4644
|
-
const
|
|
4643
|
+
function D(_) {
|
|
4644
|
+
const T = new bt(y), E = Hl(_.anchor, g), $ = Hl(_.origin, T);
|
|
4645
4645
|
let {
|
|
4646
4646
|
x: j,
|
|
4647
4647
|
y: Z
|
|
4648
|
-
} = qu(
|
|
4648
|
+
} = qu(E, $);
|
|
4649
4649
|
switch (_.anchor.side) {
|
|
4650
4650
|
case "top":
|
|
4651
4651
|
Z -= c.value[0];
|
|
@@ -4674,8 +4674,8 @@ function Ju(e, t, n) {
|
|
|
4674
4674
|
j += c.value[1];
|
|
4675
4675
|
break;
|
|
4676
4676
|
}
|
|
4677
|
-
return
|
|
4678
|
-
overflows: hl(
|
|
4677
|
+
return T.x += j, T.y += Z, T.width = Math.min(T.width, i.value), T.height = Math.min(T.height, u.value), {
|
|
4678
|
+
overflows: hl(T, w),
|
|
4679
4679
|
x: j,
|
|
4680
4680
|
y: Z
|
|
4681
4681
|
};
|
|
@@ -4696,12 +4696,12 @@ function Ju(e, t, n) {
|
|
|
4696
4696
|
}
|
|
4697
4697
|
const {
|
|
4698
4698
|
x: _,
|
|
4699
|
-
y:
|
|
4700
|
-
overflows:
|
|
4701
|
-
} =
|
|
4702
|
-
F += _, B +=
|
|
4699
|
+
y: T,
|
|
4700
|
+
overflows: E
|
|
4701
|
+
} = D(x);
|
|
4702
|
+
F += _, B += T, y.x += _, y.y += T;
|
|
4703
4703
|
{
|
|
4704
|
-
const $ = yl(x.anchor), j =
|
|
4704
|
+
const $ = yl(x.anchor), j = E.x.before || E.x.after, Z = E.y.before || E.y.after;
|
|
4705
4705
|
let le = !1;
|
|
4706
4706
|
if (["x", "y"].forEach((J) => {
|
|
4707
4707
|
if (J === "x" && j && !S.x || J === "y" && Z && !S.y) {
|
|
@@ -4716,12 +4716,12 @@ function Ju(e, t, n) {
|
|
|
4716
4716
|
P.anchor = V(P.anchor), P.origin = V(P.origin);
|
|
4717
4717
|
const {
|
|
4718
4718
|
overflows: N
|
|
4719
|
-
} =
|
|
4720
|
-
(N[J].before <=
|
|
4719
|
+
} = D(P);
|
|
4720
|
+
(N[J].before <= E[J].before && N[J].after <= E[J].after || N[J].before + N[J].after < (E[J].before + E[J].after) / 2) && (x = P, le = S[J] = !0);
|
|
4721
4721
|
}
|
|
4722
4722
|
}), le) continue;
|
|
4723
4723
|
}
|
|
4724
|
-
|
|
4724
|
+
E.x.before && (F += E.x.before, y.x += E.x.before), E.x.after && (F -= E.x.after, y.x -= E.x.after), E.y.before && (B += E.y.before, y.y += E.y.before), E.y.after && (B -= E.y.after, y.y -= E.y.after);
|
|
4725
4725
|
{
|
|
4726
4726
|
const $ = hl(y, w);
|
|
4727
4727
|
I.x = w.width - $.x.before - $.x.after, I.y = w.height - $.y.before - $.y.after, F += $.x.before, y.x += $.x.before, B += $.y.before, y.y += $.y.before;
|
|
@@ -4736,7 +4736,7 @@ function Ju(e, t, n) {
|
|
|
4736
4736
|
top: W(ua(B)),
|
|
4737
4737
|
left: e.isRtl.value ? void 0 : W(ua(F)),
|
|
4738
4738
|
right: e.isRtl.value ? W(ua(-F)) : void 0,
|
|
4739
|
-
minWidth: W(L === "y" ? Math.min(r.value,
|
|
4739
|
+
minWidth: W(L === "y" ? Math.min(r.value, g.width) : r.value),
|
|
4740
4740
|
maxWidth: W(jl(ze(I.x, r.value === 1 / 0 ? 0 : r.value, i.value))),
|
|
4741
4741
|
maxHeight: W(jl(ze(I.y, s.value === 1 / 0 ? 0 : s.value, u.value)))
|
|
4742
4742
|
}), {
|
|
@@ -4745,13 +4745,13 @@ function Ju(e, t, n) {
|
|
|
4745
4745
|
};
|
|
4746
4746
|
}
|
|
4747
4747
|
return q(() => [l.value, o.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => h()), we(() => {
|
|
4748
|
-
const
|
|
4749
|
-
if (!
|
|
4748
|
+
const g = h();
|
|
4749
|
+
if (!g) return;
|
|
4750
4750
|
const {
|
|
4751
4751
|
available: y,
|
|
4752
|
-
contentBox:
|
|
4753
|
-
} =
|
|
4754
|
-
|
|
4752
|
+
contentBox: m
|
|
4753
|
+
} = g;
|
|
4754
|
+
m.height > y.y && requestAnimationFrame(() => {
|
|
4755
4755
|
h(), requestAnimationFrame(() => {
|
|
4756
4756
|
h();
|
|
4757
4757
|
});
|
|
@@ -4783,7 +4783,7 @@ const Pr = {
|
|
|
4783
4783
|
close: ac,
|
|
4784
4784
|
block: lc,
|
|
4785
4785
|
reposition: oc
|
|
4786
|
-
}, tc =
|
|
4786
|
+
}, tc = A({
|
|
4787
4787
|
scrollStrategy: {
|
|
4788
4788
|
type: [String, Function],
|
|
4789
4789
|
default: "block",
|
|
@@ -4852,7 +4852,7 @@ function Vr(e, t) {
|
|
|
4852
4852
|
});
|
|
4853
4853
|
});
|
|
4854
4854
|
}
|
|
4855
|
-
const Pa = Symbol.for("vuetify:v-menu"), Ir =
|
|
4855
|
+
const Pa = Symbol.for("vuetify:v-menu"), Ir = A({
|
|
4856
4856
|
closeDelay: [Number, String],
|
|
4857
4857
|
openDelay: [Number, String]
|
|
4858
4858
|
}, "delay");
|
|
@@ -4880,7 +4880,7 @@ function Dr(e, t) {
|
|
|
4880
4880
|
runCloseDelay: o
|
|
4881
4881
|
};
|
|
4882
4882
|
}
|
|
4883
|
-
const rc =
|
|
4883
|
+
const rc = A({
|
|
4884
4884
|
target: [String, Object],
|
|
4885
4885
|
activator: [String, Object],
|
|
4886
4886
|
activatorProps: {
|
|
@@ -4912,9 +4912,9 @@ function ic(e, t) {
|
|
|
4912
4912
|
runCloseDelay: h
|
|
4913
4913
|
} = Dr(e, (S) => {
|
|
4914
4914
|
S === (e.openOnHover && s || c.value && i) && !(e.openOnHover && n.value && !a.value) && (n.value !== S && (u = !0), n.value = S);
|
|
4915
|
-
}),
|
|
4915
|
+
}), g = M(), y = {
|
|
4916
4916
|
onClick: (S) => {
|
|
4917
|
-
S.stopPropagation(), r.value = S.currentTarget || S.target, n.value || (
|
|
4917
|
+
S.stopPropagation(), r.value = S.currentTarget || S.target, n.value || (g.value = [S.clientX, S.clientY]), n.value = !n.value;
|
|
4918
4918
|
},
|
|
4919
4919
|
onMouseenter: (S) => {
|
|
4920
4920
|
S.sourceCapabilities?.firesTouchEvents || (s = !0, r.value = S.currentTarget || S.target, f());
|
|
@@ -4928,7 +4928,7 @@ function ic(e, t) {
|
|
|
4928
4928
|
onBlur: (S) => {
|
|
4929
4929
|
i = !1, S.stopPropagation(), h();
|
|
4930
4930
|
}
|
|
4931
|
-
},
|
|
4931
|
+
}, m = b(() => {
|
|
4932
4932
|
const S = {};
|
|
4933
4933
|
return v.value && (S.onClick = y.onClick), e.openOnHover && (S.onMouseenter = y.onMouseenter, S.onMouseleave = y.onMouseleave), c.value && (S.onFocus = y.onFocus, S.onBlur = y.onBlur), S;
|
|
4934
4934
|
}), p = b(() => {
|
|
@@ -4960,7 +4960,7 @@ function ic(e, t) {
|
|
|
4960
4960
|
S && (e.openOnHover && !s && (!c.value || !i) || c.value && !i && (!e.openOnHover || !s)) && !l.value?.contains(document.activeElement) && (n.value = !1);
|
|
4961
4961
|
}), q(n, (S) => {
|
|
4962
4962
|
S || setTimeout(() => {
|
|
4963
|
-
|
|
4963
|
+
g.value = void 0;
|
|
4964
4964
|
});
|
|
4965
4965
|
}, {
|
|
4966
4966
|
flush: "post"
|
|
@@ -4971,13 +4971,13 @@ function ic(e, t) {
|
|
|
4971
4971
|
r.value = x.el;
|
|
4972
4972
|
});
|
|
4973
4973
|
});
|
|
4974
|
-
const
|
|
4974
|
+
const D = ma(), F = b(() => e.target === "cursor" && g.value ? g.value : D.value ? D.el : Ar(e.target, o) || r.value), B = b(() => Array.isArray(F.value) ? void 0 : F.value);
|
|
4975
4975
|
let I;
|
|
4976
4976
|
return q(() => !!e.activator, (S) => {
|
|
4977
4977
|
S && de ? (I = Ta(), I.run(() => {
|
|
4978
4978
|
sc(e, o, {
|
|
4979
4979
|
activatorEl: r,
|
|
4980
|
-
activatorEvents:
|
|
4980
|
+
activatorEvents: m
|
|
4981
4981
|
});
|
|
4982
4982
|
})) : I && I.stop();
|
|
4983
4983
|
}, {
|
|
@@ -4990,8 +4990,8 @@ function ic(e, t) {
|
|
|
4990
4990
|
activatorRef: x,
|
|
4991
4991
|
target: F,
|
|
4992
4992
|
targetEl: B,
|
|
4993
|
-
targetRef:
|
|
4994
|
-
activatorEvents:
|
|
4993
|
+
targetRef: D,
|
|
4994
|
+
activatorEvents: m,
|
|
4995
4995
|
contentEvents: p,
|
|
4996
4996
|
scrimEvents: w
|
|
4997
4997
|
};
|
|
@@ -5052,7 +5052,7 @@ function uc() {
|
|
|
5052
5052
|
} else
|
|
5053
5053
|
return ee(!0);
|
|
5054
5054
|
}
|
|
5055
|
-
const cc =
|
|
5055
|
+
const cc = A({
|
|
5056
5056
|
eager: Boolean
|
|
5057
5057
|
}, "lazy");
|
|
5058
5058
|
function dc(e, t) {
|
|
@@ -5190,7 +5190,7 @@ function hc(e) {
|
|
|
5190
5190
|
}, a), null)]
|
|
5191
5191
|
});
|
|
5192
5192
|
}
|
|
5193
|
-
const Yn =
|
|
5193
|
+
const Yn = A({
|
|
5194
5194
|
absolute: Boolean,
|
|
5195
5195
|
attach: [Boolean, String, Object],
|
|
5196
5196
|
closeOnBack: {
|
|
@@ -5254,14 +5254,14 @@ const Yn = D({
|
|
|
5254
5254
|
rtlClasses: f,
|
|
5255
5255
|
isRtl: h
|
|
5256
5256
|
} = rt(), {
|
|
5257
|
-
hasContent:
|
|
5257
|
+
hasContent: g,
|
|
5258
5258
|
onAfterLeave: y
|
|
5259
|
-
} = dc(e, c),
|
|
5259
|
+
} = dc(e, c), m = tt(b(() => typeof e.scrim == "string" ? e.scrim : null)), {
|
|
5260
5260
|
globalTop: p,
|
|
5261
5261
|
localTop: w,
|
|
5262
5262
|
stackStyles: x
|
|
5263
5263
|
} = fc(c, O(e, "zIndex"), e._disableGlobalStack), {
|
|
5264
|
-
activatorEl:
|
|
5264
|
+
activatorEl: D,
|
|
5265
5265
|
activatorRef: F,
|
|
5266
5266
|
target: B,
|
|
5267
5267
|
targetEl: I,
|
|
@@ -5274,14 +5274,14 @@ const Yn = D({
|
|
|
5274
5274
|
isTop: w,
|
|
5275
5275
|
contentEl: i
|
|
5276
5276
|
}), {
|
|
5277
|
-
teleportTarget:
|
|
5277
|
+
teleportTarget: T
|
|
5278
5278
|
} = vc(() => {
|
|
5279
5279
|
const H = e.attach || e.contained;
|
|
5280
5280
|
if (H) return H;
|
|
5281
|
-
const ue =
|
|
5281
|
+
const ue = D?.value?.getRootNode() || o.proxy?.$el?.getRootNode();
|
|
5282
5282
|
return ue instanceof ShadowRoot ? ue : !1;
|
|
5283
5283
|
}), {
|
|
5284
|
-
dimensionStyles:
|
|
5284
|
+
dimensionStyles: E
|
|
5285
5285
|
} = gt(e), $ = uc(), {
|
|
5286
5286
|
scopeId: j
|
|
5287
5287
|
} = Xn();
|
|
@@ -5319,7 +5319,7 @@ const Yn = D({
|
|
|
5319
5319
|
de && window.removeEventListener("keydown", V);
|
|
5320
5320
|
});
|
|
5321
5321
|
function V(H) {
|
|
5322
|
-
H.key === "Escape" && p.value && (e.persistent ? K() : (c.value = !1, i.value?.contains(document.activeElement) &&
|
|
5322
|
+
H.key === "Escape" && p.value && (e.persistent ? K() : (c.value = !1, i.value?.contains(document.activeElement) && D.value?.focus()));
|
|
5323
5323
|
}
|
|
5324
5324
|
const N = Ys();
|
|
5325
5325
|
xt(() => e.closeOnBack, () => {
|
|
@@ -5328,7 +5328,7 @@ const Yn = D({
|
|
|
5328
5328
|
});
|
|
5329
5329
|
});
|
|
5330
5330
|
const G = M();
|
|
5331
|
-
q(() => c.value && (e.absolute || e.contained) &&
|
|
5331
|
+
q(() => c.value && (e.absolute || e.contained) && T.value == null, (H) => {
|
|
5332
5332
|
if (H) {
|
|
5333
5333
|
const ue = To(r.value);
|
|
5334
5334
|
ue && ue !== document.scrollingElement && (G.value = ue.scrollTop);
|
|
@@ -5358,9 +5358,9 @@ const Yn = D({
|
|
|
5358
5358
|
props: R({
|
|
5359
5359
|
ref: F
|
|
5360
5360
|
}, k.value, e.activatorProps)
|
|
5361
|
-
}), $.value &&
|
|
5362
|
-
disabled: !
|
|
5363
|
-
to:
|
|
5361
|
+
}), $.value && g.value && d(Bi, {
|
|
5362
|
+
disabled: !T.value,
|
|
5363
|
+
to: T.value
|
|
5364
5364
|
}, {
|
|
5365
5365
|
default: () => [d("div", R({
|
|
5366
5366
|
class: ["v-overlay", {
|
|
@@ -5374,7 +5374,7 @@ const Yn = D({
|
|
|
5374
5374
|
}, e.style],
|
|
5375
5375
|
ref: r
|
|
5376
5376
|
}, j, a), [d(hc, R({
|
|
5377
|
-
color:
|
|
5377
|
+
color: m,
|
|
5378
5378
|
modelValue: c.value && !!e.scrim,
|
|
5379
5379
|
ref: s
|
|
5380
5380
|
}, _.value), null), d(st, {
|
|
@@ -5388,17 +5388,17 @@ const Yn = D({
|
|
|
5388
5388
|
default: () => [Ae(d("div", R({
|
|
5389
5389
|
ref: i,
|
|
5390
5390
|
class: ["v-overlay__content", e.contentClass],
|
|
5391
|
-
style: [
|
|
5391
|
+
style: [E.value, Z.value]
|
|
5392
5392
|
}, L.value, e.contentProps), [n.default?.({
|
|
5393
5393
|
isActive: c
|
|
5394
5394
|
})]), [[Ht, c.value], [Vt("click-outside"), {
|
|
5395
5395
|
handler: J,
|
|
5396
5396
|
closeConditional: P,
|
|
5397
|
-
include: () => [
|
|
5397
|
+
include: () => [D.value]
|
|
5398
5398
|
}]])]
|
|
5399
5399
|
})])]
|
|
5400
5400
|
})])), {
|
|
5401
|
-
activatorEl:
|
|
5401
|
+
activatorEl: D,
|
|
5402
5402
|
scrimEl: s,
|
|
5403
5403
|
target: B,
|
|
5404
5404
|
animateClick: K,
|
|
@@ -5474,7 +5474,7 @@ function vn(e) {
|
|
|
5474
5474
|
}
|
|
5475
5475
|
});
|
|
5476
5476
|
}
|
|
5477
|
-
const bc =
|
|
5477
|
+
const bc = A({
|
|
5478
5478
|
// TODO
|
|
5479
5479
|
// disableKeys: Boolean,
|
|
5480
5480
|
id: String,
|
|
@@ -5513,57 +5513,57 @@ const bc = D({
|
|
|
5513
5513
|
unregister() {
|
|
5514
5514
|
c.value.delete(r);
|
|
5515
5515
|
},
|
|
5516
|
-
closeParents(
|
|
5516
|
+
closeParents(m) {
|
|
5517
5517
|
setTimeout(() => {
|
|
5518
|
-
!c.value.size && !e.persistent && (
|
|
5518
|
+
!c.value.size && !e.persistent && (m == null || i.value?.contentEl && !ss(m, i.value.contentEl)) && (a.value = !1, u?.closeParents());
|
|
5519
5519
|
}, 40);
|
|
5520
5520
|
}
|
|
5521
5521
|
}), We(() => {
|
|
5522
5522
|
u?.unregister(), document.removeEventListener("focusin", v);
|
|
5523
5523
|
}), Ni(() => a.value = !1);
|
|
5524
|
-
async function v(
|
|
5525
|
-
const p =
|
|
5524
|
+
async function v(m) {
|
|
5525
|
+
const p = m.relatedTarget, w = m.target;
|
|
5526
5526
|
await we(), a.value && p !== w && i.value?.contentEl && // We're the topmost menu
|
|
5527
5527
|
i.value?.globalTop && // It isn't the document or the menu body
|
|
5528
5528
|
![document, i.value.contentEl].includes(w) && // It isn't inside the menu body
|
|
5529
5529
|
!i.value.contentEl.contains(w) && Qt(i.value.contentEl)[0]?.focus();
|
|
5530
5530
|
}
|
|
5531
|
-
q(a, (
|
|
5532
|
-
|
|
5531
|
+
q(a, (m) => {
|
|
5532
|
+
m ? (u?.register(), de && document.addEventListener("focusin", v, {
|
|
5533
5533
|
once: !0
|
|
5534
5534
|
})) : (u?.unregister(), de && document.removeEventListener("focusin", v));
|
|
5535
5535
|
}, {
|
|
5536
5536
|
immediate: !0
|
|
5537
5537
|
});
|
|
5538
|
-
function f(
|
|
5539
|
-
u?.closeParents(
|
|
5538
|
+
function f(m) {
|
|
5539
|
+
u?.closeParents(m);
|
|
5540
5540
|
}
|
|
5541
|
-
function h(
|
|
5541
|
+
function h(m) {
|
|
5542
5542
|
if (!e.disabled)
|
|
5543
|
-
if (
|
|
5544
|
-
if (
|
|
5545
|
-
|
|
5546
|
-
} else e.submenu &&
|
|
5543
|
+
if (m.key === "Tab" || m.key === "Enter" && !e.closeOnContentClick) {
|
|
5544
|
+
if (m.key === "Enter" && (m.target instanceof HTMLTextAreaElement || m.target instanceof HTMLInputElement && m.target.closest("form"))) return;
|
|
5545
|
+
m.key === "Enter" && m.preventDefault(), xo(Qt(i.value?.contentEl, !1), m.shiftKey ? "prev" : "next", (w) => w.tabIndex >= 0) || (a.value = !1, i.value?.activatorEl?.focus());
|
|
5546
|
+
} else e.submenu && m.key === (o.value ? "ArrowRight" : "ArrowLeft") && (a.value = !1, i.value?.activatorEl?.focus());
|
|
5547
5547
|
}
|
|
5548
|
-
function m
|
|
5548
|
+
function g(m) {
|
|
5549
5549
|
if (e.disabled) return;
|
|
5550
5550
|
const p = i.value?.contentEl;
|
|
5551
|
-
p && a.value ?
|
|
5551
|
+
p && a.value ? m.key === "ArrowDown" ? (m.preventDefault(), m.stopImmediatePropagation(), Xt(p, "next")) : m.key === "ArrowUp" ? (m.preventDefault(), m.stopImmediatePropagation(), Xt(p, "prev")) : e.submenu && (m.key === (o.value ? "ArrowRight" : "ArrowLeft") ? a.value = !1 : m.key === (o.value ? "ArrowLeft" : "ArrowRight") && (m.preventDefault(), Xt(p, "first"))) : (e.submenu ? m.key === (o.value ? "ArrowLeft" : "ArrowRight") : ["ArrowDown", "ArrowUp"].includes(m.key)) && (a.value = !0, m.preventDefault(), setTimeout(() => setTimeout(() => g(m))));
|
|
5552
5552
|
}
|
|
5553
5553
|
const y = b(() => R({
|
|
5554
5554
|
"aria-haspopup": "menu",
|
|
5555
5555
|
"aria-expanded": String(a.value),
|
|
5556
5556
|
"aria-owns": s.value,
|
|
5557
|
-
onKeydown:
|
|
5557
|
+
onKeydown: g
|
|
5558
5558
|
}, e.activatorProps));
|
|
5559
5559
|
return U(() => {
|
|
5560
|
-
const
|
|
5560
|
+
const m = Lt.filterProps(e);
|
|
5561
5561
|
return d(Lt, R({
|
|
5562
5562
|
ref: i,
|
|
5563
5563
|
id: s.value,
|
|
5564
5564
|
class: ["v-menu", e.class],
|
|
5565
5565
|
style: e.style
|
|
5566
|
-
},
|
|
5566
|
+
}, m, {
|
|
5567
5567
|
modelValue: a.value,
|
|
5568
5568
|
"onUpdate:modelValue": (p) => a.value = p,
|
|
5569
5569
|
absolute: !0,
|
|
@@ -5633,20 +5633,20 @@ async function Kl(e, t, n, a) {
|
|
|
5633
5633
|
if (typeof s == "number")
|
|
5634
5634
|
c = fa(s, n, r);
|
|
5635
5635
|
else if (c = fa(s, n, r) - fa(i, n, r), o.layout) {
|
|
5636
|
-
const
|
|
5637
|
-
|
|
5636
|
+
const g = window.getComputedStyle(s).getPropertyValue("--v-layout-top");
|
|
5637
|
+
g && (c -= parseInt(g, 10));
|
|
5638
5638
|
}
|
|
5639
5639
|
c += o.offset, c = xc(i, c, !!r, !!n);
|
|
5640
5640
|
const v = i[l] ?? 0;
|
|
5641
5641
|
if (c === v) return Promise.resolve(c);
|
|
5642
5642
|
const f = performance.now();
|
|
5643
|
-
return new Promise((h) => requestAnimationFrame(function
|
|
5643
|
+
return new Promise((h) => requestAnimationFrame(function g(y) {
|
|
5644
5644
|
const p = (y - f) / o.duration, w = Math.floor(v + (c - v) * u(ze(p, 0, 1)));
|
|
5645
5645
|
if (i[l] = w, p >= 1 && Math.abs(w - i[l]) < 10)
|
|
5646
5646
|
return h(c);
|
|
5647
5647
|
if (p > 2)
|
|
5648
5648
|
return pt("Scroll target is not reachable"), h(i[l]);
|
|
5649
|
-
requestAnimationFrame(
|
|
5649
|
+
requestAnimationFrame(g);
|
|
5650
5650
|
}));
|
|
5651
5651
|
}
|
|
5652
5652
|
function Cc() {
|
|
@@ -5684,7 +5684,7 @@ function kc() {
|
|
|
5684
5684
|
updateRef: t
|
|
5685
5685
|
};
|
|
5686
5686
|
}
|
|
5687
|
-
const Pc =
|
|
5687
|
+
const Pc = A({
|
|
5688
5688
|
activeColor: String,
|
|
5689
5689
|
start: {
|
|
5690
5690
|
type: [Number, String],
|
|
@@ -5800,9 +5800,9 @@ const Pc = D({
|
|
|
5800
5800
|
contentRect: L
|
|
5801
5801
|
} = S[0], _ = k.querySelector(".v-pagination__list > *");
|
|
5802
5802
|
if (!_) return;
|
|
5803
|
-
const
|
|
5804
|
-
c.value = y(
|
|
5805
|
-
}), f = b(() => parseInt(e.length, 10)), h = b(() => parseInt(e.start, 10)),
|
|
5803
|
+
const T = L.width, E = _.offsetWidth + parseFloat(getComputedStyle(_).marginRight) * 2;
|
|
5804
|
+
c.value = y(T, E);
|
|
5805
|
+
}), f = b(() => parseInt(e.length, 10)), h = b(() => parseInt(e.start, 10)), g = b(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : c.value >= 0 ? c.value : y(u.value, 58));
|
|
5806
5806
|
function y(S, k) {
|
|
5807
5807
|
const L = e.showFirstLastPage ? 5 : 3;
|
|
5808
5808
|
return Math.max(0, Math.floor(
|
|
@@ -5810,21 +5810,21 @@ const Pc = D({
|
|
|
5810
5810
|
+((S - k * L) / k).toFixed(2)
|
|
5811
5811
|
));
|
|
5812
5812
|
}
|
|
5813
|
-
const
|
|
5813
|
+
const m = b(() => {
|
|
5814
5814
|
if (f.value <= 0 || isNaN(f.value) || f.value > Number.MAX_SAFE_INTEGER) return [];
|
|
5815
|
-
if (
|
|
5816
|
-
if (
|
|
5817
|
-
if (f.value <=
|
|
5815
|
+
if (g.value <= 0) return [];
|
|
5816
|
+
if (g.value === 1) return [l.value];
|
|
5817
|
+
if (f.value <= g.value)
|
|
5818
5818
|
return gn(f.value, h.value);
|
|
5819
|
-
const S =
|
|
5819
|
+
const S = g.value % 2 === 0, k = S ? g.value / 2 : Math.floor(g.value / 2), L = S ? k : k + 1, _ = f.value - k;
|
|
5820
5820
|
if (L - l.value >= 0)
|
|
5821
|
-
return [...gn(Math.max(1,
|
|
5821
|
+
return [...gn(Math.max(1, g.value - 1), h.value), e.ellipsis, f.value];
|
|
5822
5822
|
if (l.value - _ >= (S ? 1 : 0)) {
|
|
5823
|
-
const
|
|
5824
|
-
return [h.value, e.ellipsis, ...gn(
|
|
5823
|
+
const T = g.value - 1, E = f.value - T + h.value;
|
|
5824
|
+
return [h.value, e.ellipsis, ...gn(T, E)];
|
|
5825
5825
|
} else {
|
|
5826
|
-
const
|
|
5827
|
-
return [h.value, e.ellipsis, ...gn(
|
|
5826
|
+
const T = Math.max(1, g.value - 3), E = T === 1 ? l.value : l.value - Math.ceil(T / 2) + h.value;
|
|
5827
|
+
return [h.value, e.ellipsis, ...gn(T, E), e.ellipsis, f.value];
|
|
5828
5828
|
}
|
|
5829
5829
|
});
|
|
5830
5830
|
function p(S, k, L) {
|
|
@@ -5845,7 +5845,7 @@ const Pc = D({
|
|
|
5845
5845
|
elevation: O(e, "elevation")
|
|
5846
5846
|
}
|
|
5847
5847
|
});
|
|
5848
|
-
const
|
|
5848
|
+
const D = b(() => m.value.map((S, k) => {
|
|
5849
5849
|
const L = (_) => x(_, k);
|
|
5850
5850
|
if (typeof S == "string")
|
|
5851
5851
|
return {
|
|
@@ -5873,7 +5873,7 @@ const Pc = D({
|
|
|
5873
5873
|
color: _ ? e.activeColor : e.color,
|
|
5874
5874
|
"aria-current": _,
|
|
5875
5875
|
"aria-label": o(_ ? e.currentPageAriaLabel : e.pageAriaLabel, S),
|
|
5876
|
-
onClick: (
|
|
5876
|
+
onClick: (T) => p(T, S)
|
|
5877
5877
|
}
|
|
5878
5878
|
};
|
|
5879
5879
|
}
|
|
@@ -5940,7 +5940,7 @@ const Pc = D({
|
|
|
5940
5940
|
"data-test": "v-pagination-prev"
|
|
5941
5941
|
}, [n.prev ? n.prev(F.value.prev) : d($e, R({
|
|
5942
5942
|
_as: "VPaginationBtn"
|
|
5943
|
-
}, F.value.prev), null)]),
|
|
5943
|
+
}, F.value.prev), null)]), D.value.map((S, k) => d("li", {
|
|
5944
5944
|
key: S.key,
|
|
5945
5945
|
class: ["v-pagination__item", {
|
|
5946
5946
|
"v-pagination__item--is-active": S.isActive
|
|
@@ -5965,7 +5965,7 @@ const Pc = D({
|
|
|
5965
5965
|
}, F.value.last), null)])])]
|
|
5966
5966
|
})), {};
|
|
5967
5967
|
}
|
|
5968
|
-
}), Vc =
|
|
5968
|
+
}), Vc = A({
|
|
5969
5969
|
text: String,
|
|
5970
5970
|
onClick: Se(),
|
|
5971
5971
|
...te(),
|
|
@@ -5985,7 +5985,7 @@ const Pc = D({
|
|
|
5985
5985
|
onClick: e.onClick
|
|
5986
5986
|
}, [e.text, n.default?.()])), {};
|
|
5987
5987
|
}
|
|
5988
|
-
}), Fr = Symbol.for("vuetify:selection-control-group"), Br =
|
|
5988
|
+
}), Fr = Symbol.for("vuetify:selection-control-group"), Br = A({
|
|
5989
5989
|
color: String,
|
|
5990
5990
|
disabled: {
|
|
5991
5991
|
type: Boolean,
|
|
@@ -6019,7 +6019,7 @@ const Pc = D({
|
|
|
6019
6019
|
...te(),
|
|
6020
6020
|
...Oe(),
|
|
6021
6021
|
...ye()
|
|
6022
|
-
}, "SelectionControlGroup"), Ic =
|
|
6022
|
+
}, "SelectionControlGroup"), Ic = A({
|
|
6023
6023
|
...Br({
|
|
6024
6024
|
defaultsTarget: "VSelectionControl"
|
|
6025
6025
|
})
|
|
@@ -6071,7 +6071,7 @@ z()({
|
|
|
6071
6071
|
}, [n.default?.()])), {};
|
|
6072
6072
|
}
|
|
6073
6073
|
});
|
|
6074
|
-
const Nr =
|
|
6074
|
+
const Nr = A({
|
|
6075
6075
|
label: String,
|
|
6076
6076
|
baseColor: String,
|
|
6077
6077
|
trueValue: null,
|
|
@@ -6086,13 +6086,13 @@ function Dc(e) {
|
|
|
6086
6086
|
} = Qe(e), a = se(e, "modelValue"), l = b(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), o = b(() => e.falseValue !== void 0 ? e.falseValue : !1), r = b(() => !!e.multiple || e.multiple == null && Array.isArray(a.value)), s = b({
|
|
6087
6087
|
get() {
|
|
6088
6088
|
const h = t ? t.modelValue.value : a.value;
|
|
6089
|
-
return r.value ? xe(h).some((
|
|
6089
|
+
return r.value ? xe(h).some((g) => e.valueComparator(g, l.value)) : e.valueComparator(h, l.value);
|
|
6090
6090
|
},
|
|
6091
6091
|
set(h) {
|
|
6092
6092
|
if (e.readonly) return;
|
|
6093
|
-
const
|
|
6094
|
-
let y =
|
|
6095
|
-
r.value && (y = h ? [...xe(a.value),
|
|
6093
|
+
const g = h ? l.value : o.value;
|
|
6094
|
+
let y = g;
|
|
6095
|
+
r.value && (y = h ? [...xe(a.value), g] : xe(a.value).filter((m) => !e.valueComparator(m, l.value))), t ? t.modelValue.value = y : a.value = y;
|
|
6096
6096
|
}
|
|
6097
6097
|
}), {
|
|
6098
6098
|
textColorClasses: i,
|
|
@@ -6142,22 +6142,22 @@ const ql = z()({
|
|
|
6142
6142
|
backgroundColorClasses: c,
|
|
6143
6143
|
backgroundColorStyles: v,
|
|
6144
6144
|
trueValue: f
|
|
6145
|
-
} = Dc(e), h = Ze(),
|
|
6145
|
+
} = Dc(e), h = Ze(), g = ee(!1), y = ee(!1), m = M(), p = b(() => e.id || `input-${h}`), w = b(() => !e.disabled && !e.readonly);
|
|
6146
6146
|
l?.onForceUpdate(() => {
|
|
6147
|
-
|
|
6147
|
+
m.value && (m.value.checked = s.value);
|
|
6148
6148
|
});
|
|
6149
6149
|
function x(I) {
|
|
6150
|
-
w.value && (
|
|
6150
|
+
w.value && (g.value = !0, Pn(I.target, ":focus-visible") !== !1 && (y.value = !0));
|
|
6151
6151
|
}
|
|
6152
|
-
function
|
|
6153
|
-
|
|
6152
|
+
function D() {
|
|
6153
|
+
g.value = !1, y.value = !1;
|
|
6154
6154
|
}
|
|
6155
6155
|
function F(I) {
|
|
6156
6156
|
I.stopPropagation();
|
|
6157
6157
|
}
|
|
6158
6158
|
function B(I) {
|
|
6159
6159
|
if (!w.value) {
|
|
6160
|
-
|
|
6160
|
+
m.value && (m.value.checked = s.value);
|
|
6161
6161
|
return;
|
|
6162
6162
|
}
|
|
6163
6163
|
e.readonly && l && we(() => l.forceUpdate()), s.value = I.target.checked;
|
|
@@ -6169,11 +6169,11 @@ const ql = z()({
|
|
|
6169
6169
|
for: p.value
|
|
6170
6170
|
}
|
|
6171
6171
|
}) : e.label, [S, k] = So(n), L = d("input", R({
|
|
6172
|
-
ref:
|
|
6172
|
+
ref: m,
|
|
6173
6173
|
checked: s.value,
|
|
6174
6174
|
disabled: !!e.disabled,
|
|
6175
6175
|
id: p.value,
|
|
6176
|
-
onBlur:
|
|
6176
|
+
onBlur: D,
|
|
6177
6177
|
onFocus: x,
|
|
6178
6178
|
onInput: B,
|
|
6179
6179
|
"aria-disabled": !!e.disabled,
|
|
@@ -6188,7 +6188,7 @@ const ql = z()({
|
|
|
6188
6188
|
"v-selection-control--dirty": s.value,
|
|
6189
6189
|
"v-selection-control--disabled": e.disabled,
|
|
6190
6190
|
"v-selection-control--error": e.error,
|
|
6191
|
-
"v-selection-control--focused":
|
|
6191
|
+
"v-selection-control--focused": g.value,
|
|
6192
6192
|
"v-selection-control--focus-visible": y.value,
|
|
6193
6193
|
"v-selection-control--inline": e.inline
|
|
6194
6194
|
}, o.value, e.class]
|
|
@@ -6212,7 +6212,7 @@ const ql = z()({
|
|
|
6212
6212
|
icon: r.value,
|
|
6213
6213
|
props: {
|
|
6214
6214
|
onFocus: x,
|
|
6215
|
-
onBlur:
|
|
6215
|
+
onBlur: D,
|
|
6216
6216
|
id: p.value
|
|
6217
6217
|
}
|
|
6218
6218
|
}) ?? d(ne, null, [r.value && d(ie, {
|
|
@@ -6225,11 +6225,11 @@ const ql = z()({
|
|
|
6225
6225
|
default: () => [I]
|
|
6226
6226
|
})]);
|
|
6227
6227
|
}), {
|
|
6228
|
-
isFocused:
|
|
6229
|
-
input:
|
|
6228
|
+
isFocused: g,
|
|
6229
|
+
input: m
|
|
6230
6230
|
};
|
|
6231
6231
|
}
|
|
6232
|
-
}), Ac =
|
|
6232
|
+
}), Ac = A({
|
|
6233
6233
|
indeterminate: Boolean,
|
|
6234
6234
|
indeterminateIcon: {
|
|
6235
6235
|
type: Y,
|
|
@@ -6295,7 +6295,7 @@ function $r(e) {
|
|
|
6295
6295
|
InputIcon: n
|
|
6296
6296
|
};
|
|
6297
6297
|
}
|
|
6298
|
-
const Tc =
|
|
6298
|
+
const Tc = A({
|
|
6299
6299
|
active: Boolean,
|
|
6300
6300
|
color: String,
|
|
6301
6301
|
messages: {
|
|
@@ -6337,7 +6337,7 @@ const Tc = D({
|
|
|
6337
6337
|
}) : r]))]
|
|
6338
6338
|
})), {};
|
|
6339
6339
|
}
|
|
6340
|
-
}), Lr =
|
|
6340
|
+
}), Lr = A({
|
|
6341
6341
|
focused: Boolean,
|
|
6342
6342
|
"onUpdate:focused": Se()
|
|
6343
6343
|
}, "focus");
|
|
@@ -6368,7 +6368,7 @@ function Rr(e) {
|
|
|
6368
6368
|
isDisabled: b(() => !!(e?.disabled ?? t?.isDisabled.value))
|
|
6369
6369
|
};
|
|
6370
6370
|
}
|
|
6371
|
-
const Fc =
|
|
6371
|
+
const Fc = A({
|
|
6372
6372
|
disabled: {
|
|
6373
6373
|
type: Boolean,
|
|
6374
6374
|
default: null
|
|
@@ -6402,26 +6402,26 @@ function Bc(e) {
|
|
|
6402
6402
|
const a = se(e, "modelValue"), l = b(() => e.validationValue === void 0 ? a.value : e.validationValue), o = Rr(e), r = M([]), s = ee(!0), i = b(() => !!(xe(a.value === "" ? null : a.value).length || xe(l.value === "" ? null : l.value).length)), u = b(() => e.errorMessages?.length ? xe(e.errorMessages).concat(r.value).slice(0, Math.max(0, +e.maxErrors)) : r.value), c = b(() => {
|
|
6403
6403
|
let x = (e.validateOn ?? o.validateOn?.value) || "input";
|
|
6404
6404
|
x === "lazy" && (x = "input lazy"), x === "eager" && (x = "input eager");
|
|
6405
|
-
const
|
|
6405
|
+
const D = new Set(x?.split(" ") ?? []);
|
|
6406
6406
|
return {
|
|
6407
|
-
input:
|
|
6408
|
-
blur:
|
|
6409
|
-
invalidInput:
|
|
6410
|
-
lazy:
|
|
6411
|
-
eager:
|
|
6407
|
+
input: D.has("input"),
|
|
6408
|
+
blur: D.has("blur") || D.has("input") || D.has("invalid-input"),
|
|
6409
|
+
invalidInput: D.has("invalid-input"),
|
|
6410
|
+
lazy: D.has("lazy"),
|
|
6411
|
+
eager: D.has("eager")
|
|
6412
6412
|
};
|
|
6413
6413
|
}), v = b(() => e.error || e.errorMessages?.length ? !1 : e.rules.length ? s.value ? r.value.length || c.value.lazy ? null : !0 : !r.value.length : !0), f = ee(!1), h = b(() => ({
|
|
6414
6414
|
[`${t}--error`]: v.value === !1,
|
|
6415
6415
|
[`${t}--dirty`]: i.value,
|
|
6416
6416
|
[`${t}--disabled`]: o.isDisabled.value,
|
|
6417
6417
|
[`${t}--readonly`]: o.isReadonly.value
|
|
6418
|
-
})),
|
|
6418
|
+
})), g = fe("validation"), y = b(() => e.name ?? re(n));
|
|
6419
6419
|
uo(() => {
|
|
6420
6420
|
o.register?.({
|
|
6421
6421
|
id: y.value,
|
|
6422
|
-
vm:
|
|
6422
|
+
vm: g,
|
|
6423
6423
|
validate: w,
|
|
6424
|
-
reset:
|
|
6424
|
+
reset: m,
|
|
6425
6425
|
resetValidation: p
|
|
6426
6426
|
});
|
|
6427
6427
|
}), We(() => {
|
|
@@ -6433,8 +6433,8 @@ function Bc(e) {
|
|
|
6433
6433
|
if (l.value != null)
|
|
6434
6434
|
w();
|
|
6435
6435
|
else if (e.focused) {
|
|
6436
|
-
const x = q(() => e.focused, (
|
|
6437
|
-
|
|
6436
|
+
const x = q(() => e.focused, (D) => {
|
|
6437
|
+
D || w(), x();
|
|
6438
6438
|
});
|
|
6439
6439
|
}
|
|
6440
6440
|
});
|
|
@@ -6445,7 +6445,7 @@ function Bc(e) {
|
|
|
6445
6445
|
}), q([v, u], () => {
|
|
6446
6446
|
o.update?.(y.value, v.value, u.value);
|
|
6447
6447
|
});
|
|
6448
|
-
async function
|
|
6448
|
+
async function m() {
|
|
6449
6449
|
a.value = null, await we(), await p();
|
|
6450
6450
|
}
|
|
6451
6451
|
async function p() {
|
|
@@ -6453,10 +6453,10 @@ function Bc(e) {
|
|
|
6453
6453
|
}
|
|
6454
6454
|
async function w() {
|
|
6455
6455
|
let x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
6456
|
-
const
|
|
6456
|
+
const D = [];
|
|
6457
6457
|
f.value = !0;
|
|
6458
6458
|
for (const F of e.rules) {
|
|
6459
|
-
if (
|
|
6459
|
+
if (D.length >= +(e.maxErrors ?? 1))
|
|
6460
6460
|
break;
|
|
6461
6461
|
const I = await (typeof F == "function" ? F : () => F)(l.value);
|
|
6462
6462
|
if (I !== !0) {
|
|
@@ -6464,10 +6464,10 @@ function Bc(e) {
|
|
|
6464
6464
|
console.warn(`${I} is not a valid value. Rule functions must return boolean true or a string.`);
|
|
6465
6465
|
continue;
|
|
6466
6466
|
}
|
|
6467
|
-
|
|
6467
|
+
D.push(I || "");
|
|
6468
6468
|
}
|
|
6469
6469
|
}
|
|
6470
|
-
return r.value =
|
|
6470
|
+
return r.value = D, f.value = !1, s.value = x, r.value;
|
|
6471
6471
|
}
|
|
6472
6472
|
return {
|
|
6473
6473
|
errorMessages: u,
|
|
@@ -6477,13 +6477,13 @@ function Bc(e) {
|
|
|
6477
6477
|
isPristine: s,
|
|
6478
6478
|
isValid: v,
|
|
6479
6479
|
isValidating: f,
|
|
6480
|
-
reset:
|
|
6480
|
+
reset: m,
|
|
6481
6481
|
resetValidation: p,
|
|
6482
6482
|
validate: w,
|
|
6483
6483
|
validationClasses: h
|
|
6484
6484
|
};
|
|
6485
6485
|
}
|
|
6486
|
-
const Mr =
|
|
6486
|
+
const Mr = A({
|
|
6487
6487
|
id: String,
|
|
6488
6488
|
appendIcon: Y,
|
|
6489
6489
|
centerAffix: {
|
|
@@ -6537,31 +6537,31 @@ const Mr = D({
|
|
|
6537
6537
|
InputIcon: u
|
|
6538
6538
|
} = $r(e), c = Ze(), v = b(() => e.id || `input-${c}`), f = b(() => `${v.value}-messages`), {
|
|
6539
6539
|
errorMessages: h,
|
|
6540
|
-
isDirty:
|
|
6540
|
+
isDirty: g,
|
|
6541
6541
|
isDisabled: y,
|
|
6542
|
-
isReadonly:
|
|
6542
|
+
isReadonly: m,
|
|
6543
6543
|
isPristine: p,
|
|
6544
6544
|
isValid: w,
|
|
6545
6545
|
isValidating: x,
|
|
6546
|
-
reset:
|
|
6546
|
+
reset: D,
|
|
6547
6547
|
resetValidation: F,
|
|
6548
6548
|
validate: B,
|
|
6549
6549
|
validationClasses: I
|
|
6550
6550
|
} = Bc(e, "v-input", v), S = b(() => ({
|
|
6551
6551
|
id: v,
|
|
6552
6552
|
messagesId: f,
|
|
6553
|
-
isDirty:
|
|
6553
|
+
isDirty: g,
|
|
6554
6554
|
isDisabled: y,
|
|
6555
|
-
isReadonly:
|
|
6555
|
+
isReadonly: m,
|
|
6556
6556
|
isPristine: p,
|
|
6557
6557
|
isValid: w,
|
|
6558
6558
|
isValidating: x,
|
|
6559
|
-
reset:
|
|
6559
|
+
reset: D,
|
|
6560
6560
|
resetValidation: F,
|
|
6561
6561
|
validate: B
|
|
6562
6562
|
})), k = b(() => e.errorMessages?.length || !p.value && h.value.length ? h.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages);
|
|
6563
6563
|
return U(() => {
|
|
6564
|
-
const L = !!(a.prepend || e.prependIcon), _ = !!(a.append || e.appendIcon),
|
|
6564
|
+
const L = !!(a.prepend || e.prependIcon), _ = !!(a.append || e.appendIcon), T = k.value.length > 0, E = !e.hideDetails || e.hideDetails === "auto" && (T || !!a.details);
|
|
6565
6565
|
return d("div", {
|
|
6566
6566
|
class: ["v-input", `v-input--${e.direction}`, {
|
|
6567
6567
|
"v-input--center-affix": e.centerAffix,
|
|
@@ -6582,17 +6582,17 @@ const Mr = D({
|
|
|
6582
6582
|
}, [e.appendIcon && d(u, {
|
|
6583
6583
|
key: "append-icon",
|
|
6584
6584
|
name: "append"
|
|
6585
|
-
}, null), a.append?.(S.value)]),
|
|
6585
|
+
}, null), a.append?.(S.value)]), E && d("div", {
|
|
6586
6586
|
class: "v-input__details"
|
|
6587
6587
|
}, [d(Ec, {
|
|
6588
6588
|
id: f.value,
|
|
6589
|
-
active:
|
|
6589
|
+
active: T,
|
|
6590
6590
|
messages: k.value
|
|
6591
6591
|
}, {
|
|
6592
6592
|
message: a.message
|
|
6593
6593
|
}), a.details?.(S.value)])]);
|
|
6594
6594
|
}), {
|
|
6595
|
-
reset:
|
|
6595
|
+
reset: D,
|
|
6596
6596
|
resetValidation: F,
|
|
6597
6597
|
validate: B,
|
|
6598
6598
|
isValid: w,
|
|
@@ -6641,7 +6641,7 @@ function an(e, t) {
|
|
|
6641
6641
|
function Hr(e, t) {
|
|
6642
6642
|
return t?.[e ? "offsetLeft" : "offsetTop"] || 0;
|
|
6643
6643
|
}
|
|
6644
|
-
const Oc = Symbol.for("vuetify:v-slide-group"), jr =
|
|
6644
|
+
const Oc = Symbol.for("vuetify:v-slide-group"), jr = A({
|
|
6645
6645
|
centerActive: Boolean,
|
|
6646
6646
|
direction: {
|
|
6647
6647
|
type: String,
|
|
@@ -6690,9 +6690,9 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = D({
|
|
|
6690
6690
|
resizeRef: f,
|
|
6691
6691
|
contentRect: h
|
|
6692
6692
|
} = Nt(), {
|
|
6693
|
-
resizeRef:
|
|
6693
|
+
resizeRef: g,
|
|
6694
6694
|
contentRect: y
|
|
6695
|
-
} = Nt(),
|
|
6695
|
+
} = Nt(), m = Cc(), p = b(() => ({
|
|
6696
6696
|
container: f.el,
|
|
6697
6697
|
duration: 200,
|
|
6698
6698
|
easing: "easeOutQuart"
|
|
@@ -6705,14 +6705,14 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = D({
|
|
|
6705
6705
|
const N = v.value ? "width" : "height";
|
|
6706
6706
|
u.value = h.value[N], c.value = y.value[N], s.value = u.value + 1 < c.value;
|
|
6707
6707
|
}
|
|
6708
|
-
if (w.value >= 0 &&
|
|
6709
|
-
const N =
|
|
6708
|
+
if (w.value >= 0 && g.el) {
|
|
6709
|
+
const N = g.el.children[x.value];
|
|
6710
6710
|
F(N, e.centerActive);
|
|
6711
6711
|
}
|
|
6712
6712
|
});
|
|
6713
6713
|
});
|
|
6714
6714
|
}
|
|
6715
|
-
const
|
|
6715
|
+
const D = ee(!1);
|
|
6716
6716
|
function F(V, N) {
|
|
6717
6717
|
let G = 0;
|
|
6718
6718
|
N ? G = $c({
|
|
@@ -6738,7 +6738,7 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = D({
|
|
|
6738
6738
|
} = f.el;
|
|
6739
6739
|
V = Q - oe - V;
|
|
6740
6740
|
}
|
|
6741
|
-
v.value ?
|
|
6741
|
+
v.value ? m.horizontal(V, p.value) : m(V, p.value);
|
|
6742
6742
|
}
|
|
6743
6743
|
}
|
|
6744
6744
|
function I(V) {
|
|
@@ -6749,9 +6749,9 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = D({
|
|
|
6749
6749
|
i.value = v.value ? G : N;
|
|
6750
6750
|
}
|
|
6751
6751
|
function S(V) {
|
|
6752
|
-
if (
|
|
6752
|
+
if (D.value = !0, !(!s.value || !g.el)) {
|
|
6753
6753
|
for (const N of V.composedPath())
|
|
6754
|
-
for (const G of
|
|
6754
|
+
for (const G of g.el.children)
|
|
6755
6755
|
if (G === N) {
|
|
6756
6756
|
F(G);
|
|
6757
6757
|
return;
|
|
@@ -6759,32 +6759,32 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = D({
|
|
|
6759
6759
|
}
|
|
6760
6760
|
}
|
|
6761
6761
|
function k(V) {
|
|
6762
|
-
|
|
6762
|
+
D.value = !1;
|
|
6763
6763
|
}
|
|
6764
6764
|
let L = !1;
|
|
6765
6765
|
function _(V) {
|
|
6766
|
-
!L && !
|
|
6766
|
+
!L && !D.value && !(V.relatedTarget && g.el?.contains(V.relatedTarget)) && $(), L = !1;
|
|
6767
6767
|
}
|
|
6768
|
-
function
|
|
6768
|
+
function T() {
|
|
6769
6769
|
L = !0;
|
|
6770
6770
|
}
|
|
6771
|
-
function
|
|
6772
|
-
if (!
|
|
6771
|
+
function E(V) {
|
|
6772
|
+
if (!g.el) return;
|
|
6773
6773
|
function N(G) {
|
|
6774
6774
|
V.preventDefault(), $(G);
|
|
6775
6775
|
}
|
|
6776
6776
|
v.value ? V.key === "ArrowRight" ? N(a.value ? "prev" : "next") : V.key === "ArrowLeft" && N(a.value ? "next" : "prev") : V.key === "ArrowDown" ? N("next") : V.key === "ArrowUp" && N("prev"), V.key === "Home" ? N("first") : V.key === "End" && N("last");
|
|
6777
6777
|
}
|
|
6778
6778
|
function $(V) {
|
|
6779
|
-
if (!
|
|
6779
|
+
if (!g.el) return;
|
|
6780
6780
|
let N;
|
|
6781
6781
|
if (!V)
|
|
6782
|
-
N = Qt(
|
|
6782
|
+
N = Qt(g.el)[0];
|
|
6783
6783
|
else if (V === "next") {
|
|
6784
|
-
if (N =
|
|
6784
|
+
if (N = g.el.querySelector(":focus")?.nextElementSibling, !N) return $("first");
|
|
6785
6785
|
} else if (V === "prev") {
|
|
6786
|
-
if (N =
|
|
6787
|
-
} else V === "first" ? N =
|
|
6786
|
+
if (N = g.el.querySelector(":focus")?.previousElementSibling, !N) return $("last");
|
|
6787
|
+
} else V === "first" ? N = g.el.firstElementChild : V === "last" && (N = g.el.lastElementChild);
|
|
6788
6788
|
N && N.focus({
|
|
6789
6789
|
preventScroll: !0
|
|
6790
6790
|
});
|
|
@@ -6839,7 +6839,7 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = D({
|
|
|
6839
6839
|
"v-slide-group--is-overflowing": s.value
|
|
6840
6840
|
}, l.value, e.class],
|
|
6841
6841
|
style: e.style,
|
|
6842
|
-
tabindex:
|
|
6842
|
+
tabindex: D.value || r.selected.value.length ? -1 : 0,
|
|
6843
6843
|
onFocus: _
|
|
6844
6844
|
}, {
|
|
6845
6845
|
default: () => [le.value && d("div", {
|
|
@@ -6847,7 +6847,7 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = D({
|
|
|
6847
6847
|
class: ["v-slide-group__prev", {
|
|
6848
6848
|
"v-slide-group__prev--disabled": !J.value
|
|
6849
6849
|
}],
|
|
6850
|
-
onMousedown:
|
|
6850
|
+
onMousedown: T,
|
|
6851
6851
|
onClick: () => J.value && j("prev")
|
|
6852
6852
|
}, [n.prev?.(Z.value) ?? d(Rl, null, {
|
|
6853
6853
|
default: () => [d(ie, {
|
|
@@ -6859,17 +6859,17 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = D({
|
|
|
6859
6859
|
class: "v-slide-group__container",
|
|
6860
6860
|
onScroll: I
|
|
6861
6861
|
}, [d("div", {
|
|
6862
|
-
ref:
|
|
6862
|
+
ref: g,
|
|
6863
6863
|
class: "v-slide-group__content",
|
|
6864
6864
|
onFocusin: S,
|
|
6865
6865
|
onFocusout: k,
|
|
6866
|
-
onKeydown:
|
|
6866
|
+
onKeydown: E
|
|
6867
6867
|
}, [n.default?.(Z.value)])]), le.value && d("div", {
|
|
6868
6868
|
key: "next",
|
|
6869
6869
|
class: ["v-slide-group__next", {
|
|
6870
6870
|
"v-slide-group__next--disabled": !P.value
|
|
6871
6871
|
}],
|
|
6872
|
-
onMousedown:
|
|
6872
|
+
onMousedown: T,
|
|
6873
6873
|
onClick: () => P.value && j("next")
|
|
6874
6874
|
}, [n.next?.(Z.value) ?? d(Rl, null, {
|
|
6875
6875
|
default: () => [d(ie, {
|
|
@@ -6885,7 +6885,7 @@ const Oc = Symbol.for("vuetify:v-slide-group"), jr = D({
|
|
|
6885
6885
|
hasNext: P
|
|
6886
6886
|
};
|
|
6887
6887
|
}
|
|
6888
|
-
}), Wr = Symbol.for("vuetify:v-chip-group"), Rc =
|
|
6888
|
+
}), Wr = Symbol.for("vuetify:v-chip-group"), Rc = A({
|
|
6889
6889
|
column: Boolean,
|
|
6890
6890
|
filter: Boolean,
|
|
6891
6891
|
valueComparator: {
|
|
@@ -6948,7 +6948,7 @@ z()({
|
|
|
6948
6948
|
}), {};
|
|
6949
6949
|
}
|
|
6950
6950
|
});
|
|
6951
|
-
const Mc =
|
|
6951
|
+
const Mc = A({
|
|
6952
6952
|
activeClass: String,
|
|
6953
6953
|
appendAvatar: String,
|
|
6954
6954
|
appendIcon: Y,
|
|
@@ -7036,21 +7036,21 @@ const Mc = D({
|
|
|
7036
7036
|
} = Je(e), {
|
|
7037
7037
|
sizeClasses: h
|
|
7038
7038
|
} = cn(e), {
|
|
7039
|
-
themeClasses:
|
|
7040
|
-
} = Ce(e), y = se(e, "modelValue"),
|
|
7039
|
+
themeClasses: g
|
|
7040
|
+
} = Ce(e), y = se(e, "modelValue"), m = Fo(e, Wr, !1), p = Gn(e, n), w = b(() => e.link !== !1 && p.isLink.value), x = b(() => !e.disabled && e.link !== !1 && (!!m || e.link || p.isClickable.value)), D = b(() => ({
|
|
7041
7041
|
"aria-label": o(e.closeLabel),
|
|
7042
7042
|
onClick(I) {
|
|
7043
7043
|
I.preventDefault(), I.stopPropagation(), y.value = !1, a("click:close", I);
|
|
7044
7044
|
}
|
|
7045
7045
|
}));
|
|
7046
7046
|
function F(I) {
|
|
7047
|
-
a("click", I), x.value && (p.navigate?.(I),
|
|
7047
|
+
a("click", I), x.value && (p.navigate?.(I), m?.toggle());
|
|
7048
7048
|
}
|
|
7049
7049
|
function B(I) {
|
|
7050
7050
|
(I.key === "Enter" || I.key === " ") && (I.preventDefault(), F(I));
|
|
7051
7051
|
}
|
|
7052
7052
|
return () => {
|
|
7053
|
-
const I = p.isLink.value ? "a" : e.tag, S = !!(e.appendIcon || e.appendAvatar), k = !!(S || l.append), L = !!(l.close || e.closable), _ = !!(l.filter || e.filter) &&
|
|
7053
|
+
const I = p.isLink.value ? "a" : e.tag, S = !!(e.appendIcon || e.appendAvatar), k = !!(S || l.append), L = !!(l.close || e.closable), _ = !!(l.filter || e.filter) && m, T = !!(e.prependIcon || e.prependAvatar), E = !!(T || l.prepend), $ = !m || m.isSelected.value;
|
|
7054
7054
|
return y.value && Ae(d(I, R({
|
|
7055
7055
|
class: ["v-chip", {
|
|
7056
7056
|
"v-chip--disabled": e.disabled,
|
|
@@ -7059,7 +7059,7 @@ const Mc = D({
|
|
|
7059
7059
|
"v-chip--filter": _,
|
|
7060
7060
|
"v-chip--pill": e.pill,
|
|
7061
7061
|
[`${e.activeClass}`]: e.activeClass && p.isActive?.value
|
|
7062
|
-
},
|
|
7062
|
+
}, g.value, r.value, $ ? s.value : void 0, c.value, v.value, f.value, h.value, u.value, m?.selectedClass.value, e.class],
|
|
7063
7063
|
style: [$ ? i.value : void 0, e.style],
|
|
7064
7064
|
disabled: e.disabled || void 0,
|
|
7065
7065
|
draggable: e.draggable,
|
|
@@ -7083,13 +7083,13 @@ const Mc = D({
|
|
|
7083
7083
|
}, l.filter) : d(ie, {
|
|
7084
7084
|
key: "filter-icon",
|
|
7085
7085
|
icon: e.filterIcon
|
|
7086
|
-
}, null)]), [[Ht,
|
|
7087
|
-
}),
|
|
7086
|
+
}, null)]), [[Ht, m.isSelected.value]])]
|
|
7087
|
+
}), E && d("div", {
|
|
7088
7088
|
key: "prepend",
|
|
7089
7089
|
class: "v-chip__prepend"
|
|
7090
7090
|
}, [l.prepend ? d(he, {
|
|
7091
7091
|
key: "prepend-defaults",
|
|
7092
|
-
disabled: !
|
|
7092
|
+
disabled: !T,
|
|
7093
7093
|
defaults: {
|
|
7094
7094
|
VAvatar: {
|
|
7095
7095
|
image: e.prependAvatar,
|
|
@@ -7112,11 +7112,11 @@ const Mc = D({
|
|
|
7112
7112
|
class: "v-chip__content",
|
|
7113
7113
|
"data-no-activator": ""
|
|
7114
7114
|
}, [l.default?.({
|
|
7115
|
-
isSelected:
|
|
7116
|
-
selectedClass:
|
|
7117
|
-
select:
|
|
7118
|
-
toggle:
|
|
7119
|
-
value:
|
|
7115
|
+
isSelected: m?.isSelected.value,
|
|
7116
|
+
selectedClass: m?.selectedClass.value,
|
|
7117
|
+
select: m?.select,
|
|
7118
|
+
toggle: m?.toggle,
|
|
7119
|
+
value: m?.value.value,
|
|
7120
7120
|
disabled: e.disabled
|
|
7121
7121
|
}) ?? e.text]), k && d("div", {
|
|
7122
7122
|
key: "append",
|
|
@@ -7147,7 +7147,7 @@ const Mc = D({
|
|
|
7147
7147
|
class: "v-chip__close",
|
|
7148
7148
|
type: "button",
|
|
7149
7149
|
"data-testid": "close-chip"
|
|
7150
|
-
},
|
|
7150
|
+
}, D.value), [l.close ? d(he, {
|
|
7151
7151
|
key: "close-defaults",
|
|
7152
7152
|
defaults: {
|
|
7153
7153
|
VIcon: {
|
|
@@ -7163,7 +7163,7 @@ const Mc = D({
|
|
|
7163
7163
|
}), [[Vt("ripple"), x.value && e.ripple, null]]);
|
|
7164
7164
|
};
|
|
7165
7165
|
}
|
|
7166
|
-
}), zc =
|
|
7166
|
+
}), zc = A({
|
|
7167
7167
|
active: Boolean,
|
|
7168
7168
|
disabled: Boolean,
|
|
7169
7169
|
max: [Number, String],
|
|
@@ -7201,7 +7201,7 @@ const Mc = D({
|
|
|
7201
7201
|
}) : a.value]), [[Ht, e.active]])]
|
|
7202
7202
|
})), {};
|
|
7203
7203
|
}
|
|
7204
|
-
}), jc =
|
|
7204
|
+
}), jc = A({
|
|
7205
7205
|
floating: Boolean,
|
|
7206
7206
|
...te()
|
|
7207
7207
|
}, "VFieldLabel"), bn = z()({
|
|
@@ -7219,7 +7219,7 @@ const Mc = D({
|
|
|
7219
7219
|
"aria-hidden": e.floating || void 0
|
|
7220
7220
|
}, n)), {};
|
|
7221
7221
|
}
|
|
7222
|
-
}), Wc = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Ur =
|
|
7222
|
+
}), Wc = ["underlined", "outlined", "filled", "solo", "solo-inverted", "solo-filled", "plain"], Ur = A({
|
|
7223
7223
|
appendInnerIcon: Y,
|
|
7224
7224
|
bgColor: String,
|
|
7225
7225
|
clearable: Boolean,
|
|
@@ -7291,16 +7291,16 @@ const Mc = D({
|
|
|
7291
7291
|
roundedClasses: f
|
|
7292
7292
|
} = Je(e), {
|
|
7293
7293
|
rtlClasses: h
|
|
7294
|
-
} = rt(),
|
|
7294
|
+
} = rt(), g = b(() => e.dirty || e.active), y = b(() => !e.singleLine && !!(e.label || l.label)), m = Ze(), p = b(() => e.id || `input-${m}`), w = b(() => `${p.value}-messages`), x = M(), D = M(), F = M(), B = b(() => ["plain", "underlined"].includes(e.variant)), {
|
|
7295
7295
|
backgroundColorClasses: I,
|
|
7296
7296
|
backgroundColorStyles: S
|
|
7297
7297
|
} = tt(O(e, "bgColor")), {
|
|
7298
7298
|
textColorClasses: k,
|
|
7299
7299
|
textColorStyles: L
|
|
7300
|
-
} = lt(b(() => e.error || e.disabled ? void 0 :
|
|
7301
|
-
q(
|
|
7300
|
+
} = lt(b(() => e.error || e.disabled ? void 0 : g.value && i.value ? e.color : e.baseColor));
|
|
7301
|
+
q(g, ($) => {
|
|
7302
7302
|
if (y.value) {
|
|
7303
|
-
const j = x.value.$el, Z =
|
|
7303
|
+
const j = x.value.$el, Z = D.value.$el;
|
|
7304
7304
|
requestAnimationFrame(() => {
|
|
7305
7305
|
const le = Na(j), J = Z.getBoundingClientRect(), P = J.x - le.x, V = J.y - le.y - (le.height / 2 - J.height / 2), N = J.width / 0.75, G = Math.abs(N - le.width) > 1 ? {
|
|
7306
7306
|
maxWidth: W(N)
|
|
@@ -7322,16 +7322,16 @@ const Mc = D({
|
|
|
7322
7322
|
flush: "post"
|
|
7323
7323
|
});
|
|
7324
7324
|
const _ = b(() => ({
|
|
7325
|
-
isActive:
|
|
7325
|
+
isActive: g,
|
|
7326
7326
|
isFocused: i,
|
|
7327
7327
|
controlRef: F,
|
|
7328
7328
|
blur: c,
|
|
7329
7329
|
focus: u
|
|
7330
7330
|
}));
|
|
7331
|
-
function
|
|
7331
|
+
function T($) {
|
|
7332
7332
|
$.target !== document.activeElement && $.preventDefault();
|
|
7333
7333
|
}
|
|
7334
|
-
function
|
|
7334
|
+
function E($) {
|
|
7335
7335
|
$.key !== "Enter" && $.key !== " " || ($.preventDefault(), $.stopPropagation(), e["onClick:clear"]?.(new MouseEvent("click")));
|
|
7336
7336
|
}
|
|
7337
7337
|
return U(() => {
|
|
@@ -7344,7 +7344,7 @@ const Mc = D({
|
|
|
7344
7344
|
}) : e.label;
|
|
7345
7345
|
return d("div", R({
|
|
7346
7346
|
class: ["v-field", {
|
|
7347
|
-
"v-field--active":
|
|
7347
|
+
"v-field--active": g.value,
|
|
7348
7348
|
"v-field--appended": le,
|
|
7349
7349
|
"v-field--center-affix": e.centerAffix ?? !B.value,
|
|
7350
7350
|
"v-field--disabled": e.disabled,
|
|
@@ -7360,7 +7360,7 @@ const Mc = D({
|
|
|
7360
7360
|
[`v-field--variant-${e.variant}`]: !0
|
|
7361
7361
|
}, o.value, I.value, s.value, r.value, f.value, h.value, e.class],
|
|
7362
7362
|
style: [S.value, e.style],
|
|
7363
|
-
onClick:
|
|
7363
|
+
onClick: T
|
|
7364
7364
|
}, n), [d("div", {
|
|
7365
7365
|
class: "v-field__overlay"
|
|
7366
7366
|
}, null), d(Ga, {
|
|
@@ -7380,7 +7380,7 @@ const Mc = D({
|
|
|
7380
7380
|
"data-no-activator": ""
|
|
7381
7381
|
}, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && y.value && d(bn, {
|
|
7382
7382
|
key: "floating-label",
|
|
7383
|
-
ref:
|
|
7383
|
+
ref: D,
|
|
7384
7384
|
class: [k.value],
|
|
7385
7385
|
floating: !0,
|
|
7386
7386
|
for: p.value,
|
|
@@ -7420,14 +7420,14 @@ const Mc = D({
|
|
|
7420
7420
|
default: () => [l.clear ? l.clear({
|
|
7421
7421
|
..._.value,
|
|
7422
7422
|
props: {
|
|
7423
|
-
onKeydown:
|
|
7423
|
+
onKeydown: E,
|
|
7424
7424
|
onFocus: u,
|
|
7425
7425
|
onBlur: c,
|
|
7426
7426
|
onClick: e["onClick:clear"]
|
|
7427
7427
|
}
|
|
7428
7428
|
}) : d(v, {
|
|
7429
7429
|
name: "clear",
|
|
7430
|
-
onKeydown:
|
|
7430
|
+
onKeydown: E,
|
|
7431
7431
|
onFocus: u,
|
|
7432
7432
|
onBlur: c
|
|
7433
7433
|
}, null)]
|
|
@@ -7446,7 +7446,7 @@ const Mc = D({
|
|
|
7446
7446
|
}, null), y.value && d("div", {
|
|
7447
7447
|
class: "v-field__outline__notch"
|
|
7448
7448
|
}, [d(bn, {
|
|
7449
|
-
ref:
|
|
7449
|
+
ref: D,
|
|
7450
7450
|
floating: !0,
|
|
7451
7451
|
for: p.value
|
|
7452
7452
|
}, {
|
|
@@ -7454,7 +7454,7 @@ const Mc = D({
|
|
|
7454
7454
|
})]), d("div", {
|
|
7455
7455
|
class: "v-field__outline__end"
|
|
7456
7456
|
}, null)]), B.value && y.value && d(bn, {
|
|
7457
|
-
ref:
|
|
7457
|
+
ref: D,
|
|
7458
7458
|
floating: !0,
|
|
7459
7459
|
for: p.value
|
|
7460
7460
|
}, {
|
|
@@ -7469,7 +7469,7 @@ function Gc(e) {
|
|
|
7469
7469
|
const t = Object.keys(Kr.props).filter((n) => !zn(n) && n !== "class" && n !== "style");
|
|
7470
7470
|
return bo(e, t);
|
|
7471
7471
|
}
|
|
7472
|
-
const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"], qr =
|
|
7472
|
+
const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"], qr = A({
|
|
7473
7473
|
autofocus: Boolean,
|
|
7474
7474
|
counter: [Boolean, Number, String],
|
|
7475
7475
|
counterValue: [Number, Function],
|
|
@@ -7517,7 +7517,7 @@ const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7517
7517
|
function f(B, I) {
|
|
7518
7518
|
!e.autofocus || !B || I[0].target?.focus?.();
|
|
7519
7519
|
}
|
|
7520
|
-
const h = M(),
|
|
7520
|
+
const h = M(), g = M(), y = M(), m = b(() => Uc.includes(e.type) || e.persistentPlaceholder || r.value || e.active);
|
|
7521
7521
|
function p() {
|
|
7522
7522
|
y.value !== document.activeElement && y.value?.focus(), r.value || s();
|
|
7523
7523
|
}
|
|
@@ -7527,7 +7527,7 @@ const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7527
7527
|
function x(B) {
|
|
7528
7528
|
p(), a("click:control", B);
|
|
7529
7529
|
}
|
|
7530
|
-
function
|
|
7530
|
+
function D(B) {
|
|
7531
7531
|
B.stopPropagation(), p(), we(() => {
|
|
7532
7532
|
o.value = null, rs(e["onClick:clear"], B);
|
|
7533
7533
|
});
|
|
@@ -7545,11 +7545,11 @@ const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7545
7545
|
const B = !!(l.counter || e.counter !== !1 && e.counter != null), I = !!(B || l.details), [S, k] = So(n), {
|
|
7546
7546
|
modelValue: L,
|
|
7547
7547
|
..._
|
|
7548
|
-
} = Xl.filterProps(e),
|
|
7548
|
+
} = Xl.filterProps(e), T = Gc(e);
|
|
7549
7549
|
return d(Xl, R({
|
|
7550
7550
|
ref: h,
|
|
7551
7551
|
modelValue: o.value,
|
|
7552
|
-
"onUpdate:modelValue": (
|
|
7552
|
+
"onUpdate:modelValue": (E) => o.value = E,
|
|
7553
7553
|
class: ["v-text-field", {
|
|
7554
7554
|
"v-text-field--prefixed": e.prefix,
|
|
7555
7555
|
"v-text-field--suffixed": e.suffix,
|
|
@@ -7561,25 +7561,25 @@ const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7561
7561
|
focused: r.value
|
|
7562
7562
|
}), {
|
|
7563
7563
|
...l,
|
|
7564
|
-
default: (
|
|
7564
|
+
default: (E) => {
|
|
7565
7565
|
let {
|
|
7566
7566
|
id: $,
|
|
7567
7567
|
isDisabled: j,
|
|
7568
7568
|
isDirty: Z,
|
|
7569
7569
|
isReadonly: le,
|
|
7570
7570
|
isValid: J
|
|
7571
|
-
} =
|
|
7571
|
+
} = E;
|
|
7572
7572
|
return d(Kr, R({
|
|
7573
|
-
ref:
|
|
7573
|
+
ref: g,
|
|
7574
7574
|
onMousedown: w,
|
|
7575
7575
|
onClick: x,
|
|
7576
|
-
"onClick:clear":
|
|
7576
|
+
"onClick:clear": D,
|
|
7577
7577
|
"onClick:prependInner": e["onClick:prependInner"],
|
|
7578
7578
|
"onClick:appendInner": e["onClick:appendInner"],
|
|
7579
7579
|
role: e.role
|
|
7580
|
-
},
|
|
7580
|
+
}, T, {
|
|
7581
7581
|
id: $.value,
|
|
7582
|
-
active:
|
|
7582
|
+
active: m.value || Z.value,
|
|
7583
7583
|
dirty: Z.value || e.dirty,
|
|
7584
7584
|
disabled: j.value,
|
|
7585
7585
|
focused: r.value,
|
|
@@ -7628,16 +7628,16 @@ const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7628
7628
|
}
|
|
7629
7629
|
});
|
|
7630
7630
|
},
|
|
7631
|
-
details: I ? (
|
|
7631
|
+
details: I ? (E) => d(ne, null, [l.details?.(E), B && d(ne, null, [d("span", null, null), d(Hc, {
|
|
7632
7632
|
active: e.persistentCounter || r.value,
|
|
7633
7633
|
value: u.value,
|
|
7634
7634
|
max: c.value,
|
|
7635
7635
|
disabled: e.disabled
|
|
7636
7636
|
}, l.counter)])]) : void 0
|
|
7637
7637
|
});
|
|
7638
|
-
}), vn({}, h,
|
|
7638
|
+
}), vn({}, h, g, y);
|
|
7639
7639
|
}
|
|
7640
|
-
}), Kc =
|
|
7640
|
+
}), Kc = A({
|
|
7641
7641
|
renderless: Boolean,
|
|
7642
7642
|
...te()
|
|
7643
7643
|
}, "VVirtualScrollItem"), qc = z()({
|
|
@@ -7667,7 +7667,7 @@ const Uc = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7667
7667
|
style: e.style
|
|
7668
7668
|
}, n), [l.default?.()]));
|
|
7669
7669
|
}
|
|
7670
|
-
}), Xc = -1, Yc = 1, va = 100, Zc =
|
|
7670
|
+
}), Xc = -1, Yc = 1, va = 100, Zc = A({
|
|
7671
7671
|
itemHeight: {
|
|
7672
7672
|
type: [Number, String],
|
|
7673
7673
|
default: null
|
|
@@ -7694,10 +7694,10 @@ function Qc(e, t) {
|
|
|
7694
7694
|
qe(() => {
|
|
7695
7695
|
v.value = i.value;
|
|
7696
7696
|
});
|
|
7697
|
-
const h = b(() => i.value === document.documentElement ? n.height.value : f.value?.height || parseInt(e.height) || 0),
|
|
7697
|
+
const h = b(() => i.value === document.documentElement ? n.height.value : f.value?.height || parseInt(e.height) || 0), g = b(() => !!(i.value && u.value && h.value && a.value));
|
|
7698
7698
|
let y = Array.from({
|
|
7699
7699
|
length: t.value.length
|
|
7700
|
-
}),
|
|
7700
|
+
}), m = Array.from({
|
|
7701
7701
|
length: t.value.length
|
|
7702
7702
|
});
|
|
7703
7703
|
const p = ee(0);
|
|
@@ -7705,32 +7705,32 @@ function Qc(e, t) {
|
|
|
7705
7705
|
function x(P) {
|
|
7706
7706
|
return y[P] || a.value;
|
|
7707
7707
|
}
|
|
7708
|
-
const
|
|
7708
|
+
const D = ls(() => {
|
|
7709
7709
|
const P = performance.now();
|
|
7710
|
-
|
|
7710
|
+
m[0] = 0;
|
|
7711
7711
|
const V = t.value.length;
|
|
7712
7712
|
for (let N = 1; N <= V - 1; N++)
|
|
7713
|
-
|
|
7713
|
+
m[N] = (m[N - 1] || 0) + x(N - 1);
|
|
7714
7714
|
p.value = Math.max(p.value, performance.now() - P);
|
|
7715
|
-
}, p), F = q(
|
|
7716
|
-
P && (F(), c = u.value.offsetTop,
|
|
7715
|
+
}, p), F = q(g, (P) => {
|
|
7716
|
+
P && (F(), c = u.value.offsetTop, D.immediate(), j(), ~w && we(() => {
|
|
7717
7717
|
de && window.requestAnimationFrame(() => {
|
|
7718
7718
|
le(w), w = -1;
|
|
7719
7719
|
});
|
|
7720
7720
|
}));
|
|
7721
7721
|
});
|
|
7722
7722
|
Te(() => {
|
|
7723
|
-
|
|
7723
|
+
D.clear();
|
|
7724
7724
|
});
|
|
7725
7725
|
function B(P, V) {
|
|
7726
7726
|
const N = y[P], G = a.value;
|
|
7727
|
-
a.value = G ? Math.min(a.value, V) : V, (N !== V || G !== a.value) && (y[P] = V,
|
|
7727
|
+
a.value = G ? Math.min(a.value, V) : V, (N !== V || G !== a.value) && (y[P] = V, D());
|
|
7728
7728
|
}
|
|
7729
7729
|
function I(P) {
|
|
7730
|
-
return P = ze(P, 0, t.value.length - 1),
|
|
7730
|
+
return P = ze(P, 0, t.value.length - 1), m[P] || 0;
|
|
7731
7731
|
}
|
|
7732
7732
|
function S(P) {
|
|
7733
|
-
return Jc(
|
|
7733
|
+
return Jc(m, P);
|
|
7734
7734
|
}
|
|
7735
7735
|
let k = 0, L = 0, _ = 0;
|
|
7736
7736
|
q(h, (P, V) => {
|
|
@@ -7738,12 +7738,12 @@ function Qc(e, t) {
|
|
|
7738
7738
|
L = 0, j();
|
|
7739
7739
|
}));
|
|
7740
7740
|
});
|
|
7741
|
-
function
|
|
7741
|
+
function T() {
|
|
7742
7742
|
if (!i.value || !u.value) return;
|
|
7743
7743
|
const P = i.value.scrollTop, V = performance.now();
|
|
7744
7744
|
V - _ > 500 ? (L = Math.sign(P - k), c = u.value.offsetTop) : L = P - k, k = P, _ = V, j();
|
|
7745
7745
|
}
|
|
7746
|
-
function
|
|
7746
|
+
function E() {
|
|
7747
7747
|
!i.value || !u.value || (L = 0, _ = 0, j());
|
|
7748
7748
|
}
|
|
7749
7749
|
let $ = -1;
|
|
@@ -7774,9 +7774,9 @@ function Qc(e, t) {
|
|
|
7774
7774
|
return q(t, () => {
|
|
7775
7775
|
y = Array.from({
|
|
7776
7776
|
length: t.value.length
|
|
7777
|
-
}),
|
|
7777
|
+
}), m = Array.from({
|
|
7778
7778
|
length: t.value.length
|
|
7779
|
-
}),
|
|
7779
|
+
}), D.immediate(), j();
|
|
7780
7780
|
}, {
|
|
7781
7781
|
deep: !0
|
|
7782
7782
|
}), {
|
|
@@ -7787,8 +7787,8 @@ function Qc(e, t) {
|
|
|
7787
7787
|
paddingTop: r,
|
|
7788
7788
|
paddingBottom: s,
|
|
7789
7789
|
scrollToIndex: le,
|
|
7790
|
-
handleScroll:
|
|
7791
|
-
handleScrollend:
|
|
7790
|
+
handleScroll: T,
|
|
7791
|
+
handleScrollend: E,
|
|
7792
7792
|
handleItemResize: B
|
|
7793
7793
|
};
|
|
7794
7794
|
}
|
|
@@ -7804,7 +7804,7 @@ function Jc(e, t) {
|
|
|
7804
7804
|
else return o === t ? l : a;
|
|
7805
7805
|
return r;
|
|
7806
7806
|
}
|
|
7807
|
-
const ed =
|
|
7807
|
+
const ed = A({
|
|
7808
7808
|
items: {
|
|
7809
7809
|
type: Array,
|
|
7810
7810
|
default: () => []
|
|
@@ -7832,7 +7832,7 @@ const ed = D({
|
|
|
7832
7832
|
scrollToIndex: v,
|
|
7833
7833
|
paddingTop: f,
|
|
7834
7834
|
paddingBottom: h,
|
|
7835
|
-
computedItems:
|
|
7835
|
+
computedItems: g
|
|
7836
7836
|
} = Qc(e, O(e, "items"));
|
|
7837
7837
|
return xt(() => e.renderless, () => {
|
|
7838
7838
|
function y() {
|
|
@@ -7847,14 +7847,14 @@ const ed = D({
|
|
|
7847
7847
|
r.value = To(a.vnode.el, !0), y(!0);
|
|
7848
7848
|
}), Te(y);
|
|
7849
7849
|
}), U(() => {
|
|
7850
|
-
const y =
|
|
7851
|
-
key:
|
|
7850
|
+
const y = g.value.map((m) => d(qc, {
|
|
7851
|
+
key: m.index,
|
|
7852
7852
|
renderless: e.renderless,
|
|
7853
|
-
"onUpdate:height": (p) => c(
|
|
7853
|
+
"onUpdate:height": (p) => c(m.index, p)
|
|
7854
7854
|
}, {
|
|
7855
7855
|
default: (p) => n.default?.({
|
|
7856
|
-
item:
|
|
7857
|
-
index:
|
|
7856
|
+
item: m.raw,
|
|
7857
|
+
index: m.index,
|
|
7858
7858
|
...p
|
|
7859
7859
|
})
|
|
7860
7860
|
}));
|
|
@@ -7938,7 +7938,7 @@ function nd(e, t) {
|
|
|
7938
7938
|
onKeydown: r
|
|
7939
7939
|
};
|
|
7940
7940
|
}
|
|
7941
|
-
const ad =
|
|
7941
|
+
const ad = A({
|
|
7942
7942
|
chips: Boolean,
|
|
7943
7943
|
closableChips: Boolean,
|
|
7944
7944
|
closeText: {
|
|
@@ -7973,7 +7973,7 @@ const ad = D({
|
|
|
7973
7973
|
...Sr({
|
|
7974
7974
|
itemChildren: !1
|
|
7975
7975
|
})
|
|
7976
|
-
}, "Select"), ld =
|
|
7976
|
+
}, "Select"), ld = A({
|
|
7977
7977
|
...ad(),
|
|
7978
7978
|
...It(qr({
|
|
7979
7979
|
modelValue: null,
|
|
@@ -8010,9 +8010,9 @@ const ad = D({
|
|
|
8010
8010
|
} = ju(e), f = se(e, "modelValue", [], (P) => c(P === null ? [null] : xe(P)), (P) => {
|
|
8011
8011
|
const V = v(P);
|
|
8012
8012
|
return e.multiple ? V : V[0] ?? null;
|
|
8013
|
-
}), h = b(() => typeof e.counterValue == "function" ? e.counterValue(f.value) : typeof e.counterValue == "number" ? e.counterValue : f.value.length),
|
|
8013
|
+
}), h = b(() => typeof e.counterValue == "function" ? e.counterValue(f.value) : typeof e.counterValue == "number" ? e.counterValue : f.value.length), g = Rr(e), y = b(() => f.value.map((P) => P.value)), m = ee(!1), p = b(() => i.value ? e.closeText : e.openText);
|
|
8014
8014
|
let w = "", x;
|
|
8015
|
-
const
|
|
8015
|
+
const D = b(() => e.hideSelected ? u.value.filter((P) => !f.value.some((V) => e.valueComparator(V, P))) : u.value), F = b(() => e.hideNoData && !D.value.length || g.isReadonly.value || g.isDisabled.value), B = b(() => ({
|
|
8016
8016
|
...e.menuProps,
|
|
8017
8017
|
activatorProps: {
|
|
8018
8018
|
...e.menuProps?.activatorProps || {},
|
|
@@ -8027,10 +8027,10 @@ const ad = D({
|
|
|
8027
8027
|
F.value || (i.value = !i.value);
|
|
8028
8028
|
}
|
|
8029
8029
|
function _(P) {
|
|
8030
|
-
vl(P) &&
|
|
8030
|
+
vl(P) && T(P);
|
|
8031
8031
|
}
|
|
8032
|
-
function
|
|
8033
|
-
if (!P.key ||
|
|
8032
|
+
function T(P) {
|
|
8033
|
+
if (!P.key || g.isReadonly.value) return;
|
|
8034
8034
|
["Enter", " ", "ArrowDown", "ArrowUp", "Home", "End"].includes(P.key) && P.preventDefault(), ["Enter", "ArrowDown", " "].includes(P.key) && (i.value = !0), ["Escape", "Tab"].includes(P.key) && (i.value = !1), P.key === "Home" ? I.value?.focus("first") : P.key === "End" && I.value?.focus("last");
|
|
8035
8035
|
const V = 1e3;
|
|
8036
8036
|
if (e.multiple || !vl(P)) return;
|
|
@@ -8039,13 +8039,13 @@ const ad = D({
|
|
|
8039
8039
|
const G = u.value.find((K) => K.title.toLowerCase().startsWith(w));
|
|
8040
8040
|
if (G !== void 0) {
|
|
8041
8041
|
f.value = [G];
|
|
8042
|
-
const K =
|
|
8042
|
+
const K = D.value.indexOf(G);
|
|
8043
8043
|
de && window.requestAnimationFrame(() => {
|
|
8044
8044
|
K >= 0 && r.value?.scrollToIndex(K);
|
|
8045
8045
|
});
|
|
8046
8046
|
}
|
|
8047
8047
|
}
|
|
8048
|
-
function
|
|
8048
|
+
function E(P) {
|
|
8049
8049
|
let V = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
8050
8050
|
if (!P.props.disabled)
|
|
8051
8051
|
if (e.multiple) {
|
|
@@ -8068,36 +8068,36 @@ const ad = D({
|
|
|
8068
8068
|
e.eager && r.value?.calculateVisibleItems();
|
|
8069
8069
|
}
|
|
8070
8070
|
function Z() {
|
|
8071
|
-
|
|
8071
|
+
m.value && l.value?.focus();
|
|
8072
8072
|
}
|
|
8073
8073
|
function le(P) {
|
|
8074
|
-
|
|
8074
|
+
m.value = !0;
|
|
8075
8075
|
}
|
|
8076
8076
|
function J(P) {
|
|
8077
8077
|
if (P == null) f.value = [];
|
|
8078
8078
|
else if (Pn(l.value, ":autofill") || Pn(l.value, ":-webkit-autofill")) {
|
|
8079
8079
|
const V = u.value.find((N) => N.title === P);
|
|
8080
|
-
V &&
|
|
8080
|
+
V && E(V);
|
|
8081
8081
|
} else l.value && (l.value.value = "");
|
|
8082
8082
|
}
|
|
8083
8083
|
return q(i, () => {
|
|
8084
8084
|
if (!e.hideSelected && i.value && f.value.length) {
|
|
8085
|
-
const P =
|
|
8085
|
+
const P = D.value.findIndex((V) => f.value.some((N) => e.valueComparator(N.value, V.value)));
|
|
8086
8086
|
de && window.requestAnimationFrame(() => {
|
|
8087
8087
|
P >= 0 && r.value?.scrollToIndex(P);
|
|
8088
8088
|
});
|
|
8089
8089
|
}
|
|
8090
8090
|
}), q(() => e.items, (P, V) => {
|
|
8091
|
-
i.value ||
|
|
8091
|
+
i.value || m.value && !V.length && P.length && (i.value = !0);
|
|
8092
8092
|
}), U(() => {
|
|
8093
|
-
const P = !!(e.chips || n.chip), V = !!(!e.hideNoData ||
|
|
8093
|
+
const P = !!(e.chips || n.chip), V = !!(!e.hideNoData || D.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), N = f.value.length > 0, G = Bn.filterProps(e), K = N || !m.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder;
|
|
8094
8094
|
return d(Bn, R({
|
|
8095
8095
|
ref: l
|
|
8096
8096
|
}, G, {
|
|
8097
8097
|
modelValue: f.value.map((Q) => Q.props.value).join(", "),
|
|
8098
8098
|
"onUpdate:modelValue": J,
|
|
8099
|
-
focused:
|
|
8100
|
-
"onUpdate:focused": (Q) =>
|
|
8099
|
+
focused: m.value,
|
|
8100
|
+
"onUpdate:focused": (Q) => m.value = Q,
|
|
8101
8101
|
validationValue: f.externalValue,
|
|
8102
8102
|
counterValue: h.value,
|
|
8103
8103
|
dirty: N,
|
|
@@ -8114,7 +8114,7 @@ const ad = D({
|
|
|
8114
8114
|
"onClick:clear": k,
|
|
8115
8115
|
"onMousedown:control": L,
|
|
8116
8116
|
onBlur: $,
|
|
8117
|
-
onKeydown:
|
|
8117
|
+
onKeydown: T,
|
|
8118
8118
|
"aria-label": a(p.value),
|
|
8119
8119
|
title: a(p.value)
|
|
8120
8120
|
}), {
|
|
@@ -8145,12 +8145,12 @@ const ad = D({
|
|
|
8145
8145
|
"aria-live": "polite",
|
|
8146
8146
|
color: e.itemColor ?? e.color
|
|
8147
8147
|
}, S, e.listProps), {
|
|
8148
|
-
default: () => [n["prepend-item"]?.(), !
|
|
8148
|
+
default: () => [n["prepend-item"]?.(), !D.value.length && !e.hideNoData && (n["no-data"]?.() ?? d($t, {
|
|
8149
8149
|
title: a(e.noDataText)
|
|
8150
8150
|
}, null)), d(td, {
|
|
8151
8151
|
ref: r,
|
|
8152
8152
|
renderless: !0,
|
|
8153
|
-
items:
|
|
8153
|
+
items: D.value
|
|
8154
8154
|
}, {
|
|
8155
8155
|
default: (Q) => {
|
|
8156
8156
|
let {
|
|
@@ -8161,7 +8161,7 @@ const ad = D({
|
|
|
8161
8161
|
const Ue = R(oe.props, {
|
|
8162
8162
|
ref: ue,
|
|
8163
8163
|
key: H,
|
|
8164
|
-
onClick: () =>
|
|
8164
|
+
onClick: () => E(oe, null)
|
|
8165
8165
|
});
|
|
8166
8166
|
return n.item?.({
|
|
8167
8167
|
item: oe,
|
|
@@ -8191,7 +8191,7 @@ const ad = D({
|
|
|
8191
8191
|
})]
|
|
8192
8192
|
}), f.value.map((Q, oe) => {
|
|
8193
8193
|
function H(Pe) {
|
|
8194
|
-
Pe.stopPropagation(), Pe.preventDefault(),
|
|
8194
|
+
Pe.stopPropagation(), Pe.preventDefault(), E(Q, !1);
|
|
8195
8195
|
}
|
|
8196
8196
|
const ue = {
|
|
8197
8197
|
"onClick:close": H,
|
|
@@ -8248,9 +8248,9 @@ const ad = D({
|
|
|
8248
8248
|
}
|
|
8249
8249
|
});
|
|
8250
8250
|
}), vn({
|
|
8251
|
-
isFocused:
|
|
8251
|
+
isFocused: m,
|
|
8252
8252
|
menu: i,
|
|
8253
|
-
select:
|
|
8253
|
+
select: E
|
|
8254
8254
|
}, l);
|
|
8255
8255
|
}
|
|
8256
8256
|
}), od = { class: "d-flex align-center justify-lg-start justify-sm-space-between justify-xs-space-between justify-md-start gap-4" }, rd = /* @__PURE__ */ je({
|
|
@@ -8392,7 +8392,7 @@ const ad = D({
|
|
|
8392
8392
|
})
|
|
8393
8393
|
], 64));
|
|
8394
8394
|
}
|
|
8395
|
-
}), id =
|
|
8395
|
+
}), id = A({
|
|
8396
8396
|
id: String,
|
|
8397
8397
|
text: String,
|
|
8398
8398
|
...It(Yn({
|
|
@@ -8445,9 +8445,9 @@ const ad = D({
|
|
|
8445
8445
|
}, l), {
|
|
8446
8446
|
activator: n.activator,
|
|
8447
8447
|
default: function() {
|
|
8448
|
-
for (var h = arguments.length,
|
|
8449
|
-
|
|
8450
|
-
return n.default?.(...
|
|
8448
|
+
for (var h = arguments.length, g = new Array(h), y = 0; y < h; y++)
|
|
8449
|
+
g[y] = arguments[y];
|
|
8450
|
+
return n.default?.(...g) ?? e.text;
|
|
8451
8451
|
}
|
|
8452
8452
|
});
|
|
8453
8453
|
}), vn({}, s);
|
|
@@ -8687,19 +8687,19 @@ function fd(e = {}) {
|
|
|
8687
8687
|
}
|
|
8688
8688
|
return;
|
|
8689
8689
|
}
|
|
8690
|
-
if (!C.affectedNodes.map((
|
|
8690
|
+
if (!C.affectedNodes.map((g) => g.data.value).includes(s.node.data.value))
|
|
8691
8691
|
return;
|
|
8692
8692
|
const u = s.node.el.getBoundingClientRect(), c = C.affectedNodes.findIndex(
|
|
8693
|
-
(
|
|
8693
|
+
(g) => g.data.value === s.node.data.value
|
|
8694
8694
|
), f = C.draggedNode.data.index >= C.targetIndex;
|
|
8695
8695
|
let h;
|
|
8696
8696
|
if (f ? h = C.affectedNodes[c + 1] ? C.affectedNodes[c + 1] : C.affectedNodes[c - 1] : h = C.affectedNodes[c - 1] ? C.affectedNodes[c - 1] : C.affectedNodes[c + 1], h) {
|
|
8697
|
-
const
|
|
8697
|
+
const g = Math.abs(
|
|
8698
8698
|
u.x - h.el.getBoundingClientRect().x
|
|
8699
8699
|
), y = Math.abs(
|
|
8700
8700
|
u.y - h.el.getBoundingClientRect().y
|
|
8701
8701
|
);
|
|
8702
|
-
|
|
8702
|
+
g > y && f ? Ke(s.node.el, l, i) : g > y && !f && Ke(s.node.el, a, i);
|
|
8703
8703
|
} else
|
|
8704
8704
|
switch (C.incomingDirection) {
|
|
8705
8705
|
case "below":
|
|
@@ -9592,13 +9592,13 @@ function Xd(e, t, n, a, l, o) {
|
|
|
9592
9592
|
"height",
|
|
9593
9593
|
"boxSizing",
|
|
9594
9594
|
"overflow"
|
|
9595
|
-
], c = (
|
|
9596
|
-
const
|
|
9595
|
+
], c = (g, y) => {
|
|
9596
|
+
const m = window.getComputedStyle(g);
|
|
9597
9597
|
u.forEach((p) => {
|
|
9598
|
-
y.style[p] =
|
|
9598
|
+
y.style[p] = m[p];
|
|
9599
9599
|
});
|
|
9600
|
-
}, v = (
|
|
9601
|
-
Object.assign(
|
|
9600
|
+
}, v = (g, y = {}) => {
|
|
9601
|
+
Object.assign(g.style, {
|
|
9602
9602
|
position: "absolute",
|
|
9603
9603
|
zIndex: "9999",
|
|
9604
9604
|
pointerEvents: "none",
|
|
@@ -9616,11 +9616,11 @@ function Xd(e, t, n, a, l, o) {
|
|
|
9616
9616
|
else if (!r.multiDrag || l.length === 1)
|
|
9617
9617
|
s = e.el.cloneNode(!0), c(e.el, s), s.setAttribute("popover", "manual"), v(s);
|
|
9618
9618
|
else {
|
|
9619
|
-
const
|
|
9620
|
-
|
|
9621
|
-
const
|
|
9622
|
-
c(y.el,
|
|
9623
|
-
}),
|
|
9619
|
+
const g = document.createElement("div");
|
|
9620
|
+
g.setAttribute("popover", "manual"), l.forEach((y) => {
|
|
9621
|
+
const m = y.el.cloneNode(!0);
|
|
9622
|
+
c(y.el, m), m.style.pointerEvents = "none", m.style.margin = "0", g.append(m);
|
|
9623
|
+
}), g.style.display = "flex", g.style.flexDirection = "column", g.style.padding = "0", g.style.margin = "0", g.style.position = "absolute", g.style.zIndex = "9999", g.style.pointerEvents = "none", s = g;
|
|
9624
9624
|
}
|
|
9625
9625
|
s.id = "dnd-dragged-node-clone", t.el.appendChild(s), s.showPopover();
|
|
9626
9626
|
const f = {
|
|
@@ -9886,25 +9886,25 @@ function ut(e, t) {
|
|
|
9886
9886
|
}
|
|
9887
9887
|
}
|
|
9888
9888
|
function eo(e, t, n, a, l) {
|
|
9889
|
-
const r = l.axis === "x", s = e === document.scrollingElement, i = r ? "scrollLeft" : "scrollTop", u = r ? "clientWidth" : "clientHeight", c = r ? "offsetWidth" : "offsetHeight", v = r ? "scrollWidth" : "scrollHeight", f = r ? t.clientX : t.clientY, h = r ? a.left : a.top,
|
|
9889
|
+
const r = l.axis === "x", s = e === document.scrollingElement, i = r ? "scrollLeft" : "scrollTop", u = r ? "clientWidth" : "clientHeight", c = r ? "offsetWidth" : "offsetHeight", v = r ? "scrollWidth" : "scrollHeight", f = r ? t.clientX : t.clientY, h = r ? a.left : a.top, g = r ? n.overflowX : n.overflowY;
|
|
9890
9890
|
if (s) {
|
|
9891
|
-
const y = e[i],
|
|
9891
|
+
const y = e[i], m = e[u], p = y > 0, w = y + m < (r ? l.state.rootScrollWidth || 0 : e[v]);
|
|
9892
9892
|
return r ? {
|
|
9893
|
-
left: p && f <
|
|
9894
|
-
right: w && f >
|
|
9893
|
+
left: p && f < m * 0.075,
|
|
9894
|
+
right: w && f > m * (1 - 0.075)
|
|
9895
9895
|
} : {
|
|
9896
|
-
up: p && f <
|
|
9897
|
-
down: w && f >
|
|
9896
|
+
up: p && f < m * 0.075,
|
|
9897
|
+
down: w && f > m * (1 - 0.075)
|
|
9898
9898
|
};
|
|
9899
9899
|
}
|
|
9900
|
-
if ((
|
|
9901
|
-
const y = e[v],
|
|
9900
|
+
if ((g === "auto" || g === "scroll") && e !== document.body && e !== document.documentElement) {
|
|
9901
|
+
const y = e[v], m = e[c], p = e[i], w = p > 0, x = p < y - m;
|
|
9902
9902
|
return r ? {
|
|
9903
|
-
left: w && f < h +
|
|
9904
|
-
right: x && f > h +
|
|
9903
|
+
left: w && f < h + m * 0.075,
|
|
9904
|
+
right: x && f > h + m * (1 - 0.075)
|
|
9905
9905
|
} : {
|
|
9906
|
-
up: w && f < h +
|
|
9907
|
-
down: x && f > h +
|
|
9906
|
+
up: w && f < h + m * 0.075,
|
|
9907
|
+
down: x && f > h + m * (1 - 0.075)
|
|
9908
9908
|
};
|
|
9909
9909
|
}
|
|
9910
9910
|
return r ? { left: !1, right: !1 } : { up: !1, down: !1 };
|
|
@@ -9920,8 +9920,8 @@ function of(e, t, n, a) {
|
|
|
9920
9920
|
n[i] !== void 0 && (cancelAnimationFrame(n[i]), n[i] = void 0);
|
|
9921
9921
|
return;
|
|
9922
9922
|
}
|
|
9923
|
-
const c = l ? "scrollLeft" : "scrollTop", v = l ? "clientWidth" : "clientHeight", f = l ? "scrollWidth" : "scrollHeight", h = e[c],
|
|
9924
|
-
if (!(o > 0 ? h +
|
|
9923
|
+
const c = l ? "scrollLeft" : "scrollTop", v = l ? "clientWidth" : "clientHeight", f = l ? "scrollWidth" : "scrollHeight", h = e[c], g = e[v], y = e[f];
|
|
9924
|
+
if (!(o > 0 ? h + g < y : h > 0)) {
|
|
9925
9925
|
n[i] = void 0, n[s] = void 0;
|
|
9926
9926
|
return;
|
|
9927
9927
|
}
|
|
@@ -10071,7 +10071,7 @@ const vf = z()({
|
|
|
10071
10071
|
style: e.style
|
|
10072
10072
|
}, [n.default?.()])), {};
|
|
10073
10073
|
}
|
|
10074
|
-
}), gf =
|
|
10074
|
+
}), gf = A({
|
|
10075
10075
|
opacity: [Number, String],
|
|
10076
10076
|
...te(),
|
|
10077
10077
|
...ve()
|
|
@@ -10089,7 +10089,7 @@ const vf = z()({
|
|
|
10089
10089
|
}, e.style]
|
|
10090
10090
|
}, n)), {};
|
|
10091
10091
|
}
|
|
10092
|
-
}), yf = Oa("v-card-title"), hf =
|
|
10092
|
+
}), yf = Oa("v-card-title"), hf = A({
|
|
10093
10093
|
appendAvatar: String,
|
|
10094
10094
|
appendIcon: Y,
|
|
10095
10095
|
prependAvatar: String,
|
|
@@ -10171,7 +10171,7 @@ const vf = z()({
|
|
|
10171
10171
|
}, null)])])]);
|
|
10172
10172
|
}), {};
|
|
10173
10173
|
}
|
|
10174
|
-
}), pf =
|
|
10174
|
+
}), pf = A({
|
|
10175
10175
|
opacity: [Number, String],
|
|
10176
10176
|
...te(),
|
|
10177
10177
|
...ve()
|
|
@@ -10189,7 +10189,7 @@ const vf = z()({
|
|
|
10189
10189
|
}, e.style]
|
|
10190
10190
|
}, n)), {};
|
|
10191
10191
|
}
|
|
10192
|
-
}), Sf =
|
|
10192
|
+
}), Sf = A({
|
|
10193
10193
|
appendAvatar: String,
|
|
10194
10194
|
appendIcon: Y,
|
|
10195
10195
|
disabled: Boolean,
|
|
@@ -10254,23 +10254,23 @@ const vf = z()({
|
|
|
10254
10254
|
} = Wn(e), {
|
|
10255
10255
|
locationStyles: h
|
|
10256
10256
|
} = Wa(e), {
|
|
10257
|
-
positionClasses:
|
|
10257
|
+
positionClasses: g
|
|
10258
10258
|
} = Ro(e), {
|
|
10259
10259
|
roundedClasses: y
|
|
10260
|
-
} = Je(e),
|
|
10260
|
+
} = Je(e), m = Gn(e, n), p = b(() => e.link !== !1 && m.isLink.value), w = b(() => !e.disabled && e.link !== !1 && (e.link || m.isClickable.value));
|
|
10261
10261
|
return U(() => {
|
|
10262
|
-
const x = p.value ? "a" : e.tag,
|
|
10262
|
+
const x = p.value ? "a" : e.tag, D = !!(a.title || e.title != null), F = !!(a.subtitle || e.subtitle != null), B = D || F, I = !!(a.append || e.appendAvatar || e.appendIcon), S = !!(a.prepend || e.prependAvatar || e.prependIcon), k = !!(a.image || e.image), L = B || S || I, _ = !!(a.text || e.text != null);
|
|
10263
10263
|
return Ae(d(x, R({
|
|
10264
10264
|
class: ["v-card", {
|
|
10265
10265
|
"v-card--disabled": e.disabled,
|
|
10266
10266
|
"v-card--flat": e.flat,
|
|
10267
10267
|
"v-card--hover": e.hover && !(e.disabled || e.flat),
|
|
10268
10268
|
"v-card--link": w.value
|
|
10269
|
-
}, l.value, o.value, r.value, u.value, v.value, f.value,
|
|
10269
|
+
}, l.value, o.value, r.value, u.value, v.value, f.value, g.value, y.value, i.value, e.class],
|
|
10270
10270
|
style: [s.value, c.value, h.value, e.style],
|
|
10271
|
-
onClick: w.value &&
|
|
10271
|
+
onClick: w.value && m.navigate,
|
|
10272
10272
|
tabindex: e.disabled ? -1 : void 0
|
|
10273
|
-
},
|
|
10273
|
+
}, m.linkProps), {
|
|
10274
10274
|
default: () => [k && d("div", {
|
|
10275
10275
|
key: "image",
|
|
10276
10276
|
class: "v-card__image"
|
|
@@ -10317,7 +10317,7 @@ const vf = z()({
|
|
|
10317
10317
|
}), [[Vt("ripple"), w.value && e.ripple]]);
|
|
10318
10318
|
}), {};
|
|
10319
10319
|
}
|
|
10320
|
-
}), wf =
|
|
10320
|
+
}), wf = A({
|
|
10321
10321
|
fullscreen: Boolean,
|
|
10322
10322
|
retainFocus: {
|
|
10323
10323
|
type: Boolean,
|
|
@@ -10356,8 +10356,8 @@ const vf = z()({
|
|
|
10356
10356
|
!r.value.contentEl.contains(f)) {
|
|
10357
10357
|
const h = Qt(r.value.contentEl);
|
|
10358
10358
|
if (!h.length) return;
|
|
10359
|
-
const
|
|
10360
|
-
v ===
|
|
10359
|
+
const g = h[0], y = h[h.length - 1];
|
|
10360
|
+
v === g ? y.focus() : g.focus();
|
|
10361
10361
|
}
|
|
10362
10362
|
}
|
|
10363
10363
|
We(() => {
|
|
@@ -10408,12 +10408,12 @@ const vf = z()({
|
|
|
10408
10408
|
}, o), {
|
|
10409
10409
|
activator: a.activator,
|
|
10410
10410
|
default: function() {
|
|
10411
|
-
for (var h = arguments.length,
|
|
10412
|
-
|
|
10411
|
+
for (var h = arguments.length, g = new Array(h), y = 0; y < h; y++)
|
|
10412
|
+
g[y] = arguments[y];
|
|
10413
10413
|
return d(he, {
|
|
10414
10414
|
root: "VDialog"
|
|
10415
10415
|
}, {
|
|
10416
|
-
default: () => [a.default?.(...
|
|
10416
|
+
default: () => [a.default?.(...g)]
|
|
10417
10417
|
});
|
|
10418
10418
|
}
|
|
10419
10419
|
});
|
|
@@ -10706,7 +10706,7 @@ function Mf() {
|
|
|
10706
10706
|
}
|
|
10707
10707
|
return { debounce: t, clearDebounce: n };
|
|
10708
10708
|
}
|
|
10709
|
-
const zf =
|
|
10709
|
+
const zf = A({
|
|
10710
10710
|
disabled: Boolean,
|
|
10711
10711
|
modelValue: {
|
|
10712
10712
|
type: Boolean,
|
|
@@ -10742,76 +10742,73 @@ const zf = D({
|
|
|
10742
10742
|
item: {}
|
|
10743
10743
|
},
|
|
10744
10744
|
setup(e) {
|
|
10745
|
-
const t = Mn(), n = e, a = M({
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
|
-
}, c = async (y, g, p) => {
|
|
10753
|
-
i(y, g, p);
|
|
10754
|
-
}, v = () => {
|
|
10745
|
+
const t = Mn(), n = e, a = M(""), l = M(!1), o = M(null), { debounce: r, clearDebounce: s } = Mf(), i = () => {
|
|
10746
|
+
n.item[n.header.value] = a.value, n.header.editFn ? n.header.editFn(n.item.id, n.header.value, a.value) : y();
|
|
10747
|
+
}, u = r(i, 1e3), c = async () => {
|
|
10748
|
+
l.value = !1, s(), i();
|
|
10749
|
+
}, v = async () => {
|
|
10750
|
+
u();
|
|
10751
|
+
}, f = () => {
|
|
10755
10752
|
try {
|
|
10756
|
-
const
|
|
10757
|
-
if (
|
|
10758
|
-
return ao(n.header.mask, n.item[
|
|
10753
|
+
const m = n.header.value, p = m.split(".");
|
|
10754
|
+
if (p.length == 1)
|
|
10755
|
+
return ao(n.header.mask, n.item[m]);
|
|
10759
10756
|
{
|
|
10760
|
-
let
|
|
10761
|
-
for (let
|
|
10762
|
-
|
|
10763
|
-
return ao(n.header.mask,
|
|
10757
|
+
let w = n.item;
|
|
10758
|
+
for (let x of p)
|
|
10759
|
+
w = w[x];
|
|
10760
|
+
return ao(n.header.mask, w);
|
|
10764
10761
|
}
|
|
10765
|
-
} catch (
|
|
10766
|
-
return console.error(`${t("errorGettingHeaderValue")} ${n.header.value}:`,
|
|
10762
|
+
} catch (m) {
|
|
10763
|
+
return console.error(`${t("errorGettingHeaderValue")} ${n.header.value}:`, m), "";
|
|
10767
10764
|
}
|
|
10768
|
-
},
|
|
10769
|
-
|
|
10770
|
-
|
|
10765
|
+
}, h = () => l.value, g = () => {
|
|
10766
|
+
l.value = !0, a.value = n.item[n.header.value], we(() => {
|
|
10767
|
+
o.value?.focus();
|
|
10771
10768
|
});
|
|
10772
|
-
},
|
|
10769
|
+
}, y = () => {
|
|
10773
10770
|
console.warn(t("editFnNotDefined"));
|
|
10774
10771
|
};
|
|
10775
|
-
return (
|
|
10776
|
-
default: X(({ isHovering:
|
|
10777
|
-
d(En, R({ class: "d-flex justify-space-between position-relative align-center" },
|
|
10772
|
+
return (m, p) => (ae(), ge(Hf, null, {
|
|
10773
|
+
default: X(({ isHovering: w, props: x }) => [
|
|
10774
|
+
d(En, R({ class: "d-flex justify-space-between position-relative align-center" }, x), {
|
|
10778
10775
|
default: X(() => [
|
|
10779
10776
|
d(Tn, {
|
|
10780
|
-
cols:
|
|
10777
|
+
cols: m.header.editable ? 11 : 12
|
|
10781
10778
|
}, {
|
|
10782
10779
|
default: X(() => [
|
|
10783
|
-
|
|
10780
|
+
h() ? Ae((ae(), Le("input", {
|
|
10784
10781
|
key: 1,
|
|
10785
10782
|
ref_key: "editInput",
|
|
10786
|
-
ref:
|
|
10787
|
-
"onUpdate:modelValue":
|
|
10788
|
-
onBlur:
|
|
10789
|
-
onInput:
|
|
10783
|
+
ref: o,
|
|
10784
|
+
"onUpdate:modelValue": p[1] || (p[1] = (D) => a.value = D),
|
|
10785
|
+
onBlur: p[2] || (p[2] = (D) => c()),
|
|
10786
|
+
onInput: p[3] || (p[3] = (D) => v()),
|
|
10790
10787
|
style: { "font-size": "inherit", padding: "0", margin: "0", border: "none", background: "transparent", outline: "none" },
|
|
10791
10788
|
class: "ma-0 w-100",
|
|
10792
10789
|
autofocus: ""
|
|
10793
10790
|
}, null, 544)), [
|
|
10794
|
-
[Ri,
|
|
10791
|
+
[Ri, a.value]
|
|
10795
10792
|
]) : (ae(), Le("p", {
|
|
10796
10793
|
key: 0,
|
|
10797
10794
|
class: "item-cell text-truncate",
|
|
10798
10795
|
style: { "max-width": "240px", "vertical-align": "middle", padding: "0", margin: "0" },
|
|
10799
|
-
onClick:
|
|
10796
|
+
onClick: p[0] || (p[0] = (D) => m.header.editable && g())
|
|
10800
10797
|
}, [
|
|
10801
|
-
Ve(He(
|
|
10798
|
+
Ve(He(f()) + " ", 1),
|
|
10802
10799
|
d(tl, {
|
|
10803
10800
|
activator: "parent",
|
|
10804
|
-
text:
|
|
10801
|
+
text: f(),
|
|
10805
10802
|
location: "top"
|
|
10806
10803
|
}, null, 8, ["text"])
|
|
10807
10804
|
]))
|
|
10808
10805
|
]),
|
|
10809
10806
|
_: 1
|
|
10810
10807
|
}, 8, ["cols"]),
|
|
10811
|
-
|
|
10808
|
+
w && m.header?.editable && !h() ? (ae(), ge(ie, {
|
|
10812
10809
|
key: 0,
|
|
10813
10810
|
class: "cursor-pointer position-absolute right-0",
|
|
10814
|
-
onClick:
|
|
10811
|
+
onClick: p[4] || (p[4] = (D) => g()),
|
|
10815
10812
|
size: "14"
|
|
10816
10813
|
}, {
|
|
10817
10814
|
default: X(() => [
|
|
@@ -10842,7 +10839,7 @@ const zf = D({
|
|
|
10842
10839
|
Yt(a.$slots, "default")
|
|
10843
10840
|
], 2));
|
|
10844
10841
|
}
|
|
10845
|
-
}), Gf = (e, t, n) => e == null || t == null ? -1 : e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()), Uf =
|
|
10842
|
+
}), Gf = (e, t, n) => e == null || t == null ? -1 : e.toString().toLocaleLowerCase().indexOf(t.toString().toLocaleLowerCase()), Uf = A({
|
|
10846
10843
|
customFilter: Function,
|
|
10847
10844
|
customKeyFilter: Object,
|
|
10848
10845
|
filterKeys: [Array, String],
|
|
@@ -10861,17 +10858,17 @@ function Kf(e, t, n) {
|
|
|
10861
10858
|
if ((t || r > 0) && !n?.noFilter) {
|
|
10862
10859
|
if (typeof i == "object") {
|
|
10863
10860
|
const y = o || Object.keys(u);
|
|
10864
|
-
for (const
|
|
10865
|
-
const p = De(u,
|
|
10861
|
+
for (const m of y) {
|
|
10862
|
+
const p = De(u, m), w = n?.customKeyFilter?.[m];
|
|
10866
10863
|
if (f = w ? w(p, t, i) : l(p, t, i), f !== -1 && f !== !1)
|
|
10867
|
-
w ? c[
|
|
10864
|
+
w ? c[m] = f : v[m] = f;
|
|
10868
10865
|
else if (n?.filterMode === "every")
|
|
10869
10866
|
continue e;
|
|
10870
10867
|
}
|
|
10871
10868
|
} else
|
|
10872
10869
|
f = l(i, t, i), f !== -1 && f !== !1 && (v.title = f);
|
|
10873
|
-
const h = Object.keys(v).length,
|
|
10874
|
-
if (!h && !
|
|
10870
|
+
const h = Object.keys(v).length, g = Object.keys(c).length;
|
|
10871
|
+
if (!h && !g || n?.filterMode === "union" && g !== r && !h || n?.filterMode === "intersection" && (g !== r || !h)) continue;
|
|
10875
10872
|
}
|
|
10876
10873
|
a.push({
|
|
10877
10874
|
index: s,
|
|
@@ -10896,13 +10893,13 @@ function qf(e, t, n, a) {
|
|
|
10896
10893
|
filterMode: e.filterMode,
|
|
10897
10894
|
noFilter: e.noFilter
|
|
10898
10895
|
}), v = re(t), f = [], h = /* @__PURE__ */ new Map();
|
|
10899
|
-
c.forEach((
|
|
10896
|
+
c.forEach((g) => {
|
|
10900
10897
|
let {
|
|
10901
10898
|
index: y,
|
|
10902
|
-
matches:
|
|
10903
|
-
} =
|
|
10899
|
+
matches: m
|
|
10900
|
+
} = g;
|
|
10904
10901
|
const p = v[y];
|
|
10905
|
-
f.push(p), h.set(p.value,
|
|
10902
|
+
f.push(p), h.set(p.value, m);
|
|
10906
10903
|
}), l.value = f, o.value = h;
|
|
10907
10904
|
});
|
|
10908
10905
|
function s(i) {
|
|
@@ -10914,7 +10911,7 @@ function qf(e, t, n, a) {
|
|
|
10914
10911
|
getMatches: s
|
|
10915
10912
|
};
|
|
10916
10913
|
}
|
|
10917
|
-
const Xf =
|
|
10914
|
+
const Xf = A({
|
|
10918
10915
|
expandOnClick: Boolean,
|
|
10919
10916
|
showExpand: Boolean,
|
|
10920
10917
|
expanded: {
|
|
@@ -10948,7 +10945,7 @@ function ui() {
|
|
|
10948
10945
|
if (!e) throw new Error("foo");
|
|
10949
10946
|
return e;
|
|
10950
10947
|
}
|
|
10951
|
-
const Zf =
|
|
10948
|
+
const Zf = A({
|
|
10952
10949
|
groupBy: {
|
|
10953
10950
|
type: Array,
|
|
10954
10951
|
default: () => []
|
|
@@ -10978,8 +10975,8 @@ function Jf(e) {
|
|
|
10978
10975
|
function i(c) {
|
|
10979
10976
|
function v(f) {
|
|
10980
10977
|
const h = [];
|
|
10981
|
-
for (const
|
|
10982
|
-
"type" in
|
|
10978
|
+
for (const g of f.items)
|
|
10979
|
+
"type" in g && g.type === "group" ? h.push(...v(g)) : h.push(g);
|
|
10983
10980
|
return h;
|
|
10984
10981
|
}
|
|
10985
10982
|
return v({
|
|
@@ -11064,7 +11061,7 @@ function nv(e) {
|
|
|
11064
11061
|
immediate: !0
|
|
11065
11062
|
});
|
|
11066
11063
|
}
|
|
11067
|
-
const av =
|
|
11064
|
+
const av = A({
|
|
11068
11065
|
page: {
|
|
11069
11066
|
type: [Number, String],
|
|
11070
11067
|
default: 1
|
|
@@ -11210,7 +11207,7 @@ const sv = {
|
|
|
11210
11207
|
selected: a
|
|
11211
11208
|
});
|
|
11212
11209
|
}
|
|
11213
|
-
}, uv =
|
|
11210
|
+
}, uv = A({
|
|
11214
11211
|
showSelect: Boolean,
|
|
11215
11212
|
selectStrategy: {
|
|
11216
11213
|
type: [String, Object],
|
|
@@ -11268,30 +11265,30 @@ function cv(e, t) {
|
|
|
11268
11265
|
});
|
|
11269
11266
|
l.value = w;
|
|
11270
11267
|
}
|
|
11271
|
-
const h = b(() => l.value.size > 0),
|
|
11268
|
+
const h = b(() => l.value.size > 0), g = b(() => {
|
|
11272
11269
|
const p = s.value.allSelected({
|
|
11273
11270
|
allItems: o.value,
|
|
11274
11271
|
currentPage: r.value
|
|
11275
11272
|
});
|
|
11276
11273
|
return !!p.length && i(p);
|
|
11277
|
-
}), y = b(() => s.value.showSelectAll),
|
|
11274
|
+
}), y = b(() => s.value.showSelectAll), m = {
|
|
11278
11275
|
toggleSelect: v,
|
|
11279
11276
|
select: c,
|
|
11280
11277
|
selectAll: f,
|
|
11281
11278
|
isSelected: i,
|
|
11282
11279
|
isSomeSelected: u,
|
|
11283
11280
|
someSelected: h,
|
|
11284
|
-
allSelected:
|
|
11281
|
+
allSelected: g,
|
|
11285
11282
|
showSelectAll: y
|
|
11286
11283
|
};
|
|
11287
|
-
return be(hi,
|
|
11284
|
+
return be(hi, m), m;
|
|
11288
11285
|
}
|
|
11289
11286
|
function na() {
|
|
11290
11287
|
const e = ce(hi);
|
|
11291
11288
|
if (!e) throw new Error("Missing selection!");
|
|
11292
11289
|
return e;
|
|
11293
11290
|
}
|
|
11294
|
-
const dv =
|
|
11291
|
+
const dv = A({
|
|
11295
11292
|
sortBy: {
|
|
11296
11293
|
type: Array,
|
|
11297
11294
|
default: () => []
|
|
@@ -11366,21 +11363,21 @@ function mv(e, t, n, a) {
|
|
|
11366
11363
|
let u = !1;
|
|
11367
11364
|
const c = t[i].key, v = t[i].order ?? "asc";
|
|
11368
11365
|
if (v === !1) continue;
|
|
11369
|
-
let f = Zt(r[1], c), h = Zt(s[1], c),
|
|
11370
|
-
if (v === "desc" && ([f, h] = [h, f], [
|
|
11371
|
-
const
|
|
11372
|
-
if (
|
|
11373
|
-
if (u = !0,
|
|
11366
|
+
let f = Zt(r[1], c), h = Zt(s[1], c), g = r[0].raw, y = s[0].raw;
|
|
11367
|
+
if (v === "desc" && ([f, h] = [h, f], [g, y] = [y, g]), a?.sortRawFunctions?.[c]) {
|
|
11368
|
+
const m = a.sortRawFunctions[c](g, y);
|
|
11369
|
+
if (m == null) continue;
|
|
11370
|
+
if (u = !0, m) return m;
|
|
11374
11371
|
}
|
|
11375
11372
|
if (a?.sortFunctions?.[c]) {
|
|
11376
|
-
const
|
|
11377
|
-
if (
|
|
11378
|
-
if (u = !0,
|
|
11373
|
+
const m = a.sortFunctions[c](f, h);
|
|
11374
|
+
if (m == null) continue;
|
|
11375
|
+
if (u = !0, m) return m;
|
|
11379
11376
|
}
|
|
11380
11377
|
if (!u) {
|
|
11381
11378
|
if (f instanceof Date && h instanceof Date)
|
|
11382
11379
|
return f.getTime() - h.getTime();
|
|
11383
|
-
if ([f, h] = [f, h].map((
|
|
11380
|
+
if ([f, h] = [f, h].map((m) => m != null ? m.toString().toLocaleLowerCase() : m), f !== h)
|
|
11384
11381
|
return mn(f) && mn(h) ? 0 : mn(f) ? -1 : mn(h) ? 1 : !isNaN(f) && !isNaN(h) ? Number(f) - Number(h) : l.compare(f, h);
|
|
11385
11382
|
}
|
|
11386
11383
|
}
|
|
@@ -11390,7 +11387,7 @@ function mv(e, t, n, a) {
|
|
|
11390
11387
|
return s;
|
|
11391
11388
|
});
|
|
11392
11389
|
}
|
|
11393
|
-
const Si =
|
|
11390
|
+
const Si = A({
|
|
11394
11391
|
prevIcon: {
|
|
11395
11392
|
type: Y,
|
|
11396
11393
|
default: "$prev"
|
|
@@ -11543,7 +11540,7 @@ const Si = D({
|
|
|
11543
11540
|
}, {
|
|
11544
11541
|
default: () => [n.default?.()]
|
|
11545
11542
|
});
|
|
11546
|
-
}), yv =
|
|
11543
|
+
}), yv = A({
|
|
11547
11544
|
headers: Array
|
|
11548
11545
|
}, "DataTable-header"), wi = Symbol.for("vuetify:data-table-headers"), Ci = {
|
|
11549
11546
|
title: "",
|
|
@@ -11710,8 +11707,8 @@ function Cv(e, t) {
|
|
|
11710
11707
|
Sv(v);
|
|
11711
11708
|
const f = Math.max(...v.map((y) => ol(y))) + 1, h = wv(v, f);
|
|
11712
11709
|
n.value = h.headers, a.value = h.columns;
|
|
11713
|
-
const
|
|
11714
|
-
for (const y of
|
|
11710
|
+
const g = h.headers.flat(1);
|
|
11711
|
+
for (const y of g)
|
|
11715
11712
|
y.key && (y.sortable && (y.sort && (l.value[y.key] = y.sort), y.sortRaw && (o.value[y.key] = y.sortRaw)), y.filter && (r.value[y.key] = y.filter));
|
|
11716
11713
|
});
|
|
11717
11714
|
const s = {
|
|
@@ -11728,7 +11725,7 @@ function aa() {
|
|
|
11728
11725
|
if (!e) throw new Error("Missing headers!");
|
|
11729
11726
|
return e;
|
|
11730
11727
|
}
|
|
11731
|
-
const Pi =
|
|
11728
|
+
const Pi = A({
|
|
11732
11729
|
color: String,
|
|
11733
11730
|
sticky: Boolean,
|
|
11734
11731
|
disableSort: Boolean,
|
|
@@ -11770,7 +11767,7 @@ const Pi = D({
|
|
|
11770
11767
|
} = aa(), {
|
|
11771
11768
|
loaderClasses: h
|
|
11772
11769
|
} = Wn(e);
|
|
11773
|
-
function
|
|
11770
|
+
function g(S, k) {
|
|
11774
11771
|
if (!(!e.sticky && !S.fixed))
|
|
11775
11772
|
return {
|
|
11776
11773
|
position: "sticky",
|
|
@@ -11783,12 +11780,12 @@ const Pi = D({
|
|
|
11783
11780
|
return k ? k.order === "asc" ? e.sortAscIcon : e.sortDescIcon : e.sortAscIcon;
|
|
11784
11781
|
}
|
|
11785
11782
|
const {
|
|
11786
|
-
backgroundColorClasses:
|
|
11783
|
+
backgroundColorClasses: m,
|
|
11787
11784
|
backgroundColorStyles: p
|
|
11788
11785
|
} = tt(e, "color"), {
|
|
11789
11786
|
displayClasses: w,
|
|
11790
11787
|
mobile: x
|
|
11791
|
-
} = Tt(e),
|
|
11788
|
+
} = Tt(e), D = b(() => ({
|
|
11792
11789
|
headers: f.value,
|
|
11793
11790
|
columns: v.value,
|
|
11794
11791
|
toggleSort: l,
|
|
@@ -11806,7 +11803,7 @@ const Pi = D({
|
|
|
11806
11803
|
x: L,
|
|
11807
11804
|
y: _
|
|
11808
11805
|
} = S;
|
|
11809
|
-
const
|
|
11806
|
+
const T = k.key === "data-table-select" || k.key === "data-table-expand", E = R(e.headerProps ?? {}, k.headerProps ?? {});
|
|
11810
11807
|
return d(On, R({
|
|
11811
11808
|
tag: "th",
|
|
11812
11809
|
align: k.align,
|
|
@@ -11819,7 +11816,7 @@ const Pi = D({
|
|
|
11819
11816
|
width: W(k.width),
|
|
11820
11817
|
minWidth: W(k.minWidth),
|
|
11821
11818
|
maxWidth: W(k.maxWidth),
|
|
11822
|
-
...
|
|
11819
|
+
...g(k, _)
|
|
11823
11820
|
},
|
|
11824
11821
|
colspan: k.colspan,
|
|
11825
11822
|
rowspan: k.rowspan,
|
|
@@ -11827,8 +11824,8 @@ const Pi = D({
|
|
|
11827
11824
|
fixed: k.fixed,
|
|
11828
11825
|
nowrap: k.nowrap,
|
|
11829
11826
|
lastFixed: k.lastFixed,
|
|
11830
|
-
noPadding:
|
|
11831
|
-
},
|
|
11827
|
+
noPadding: T
|
|
11828
|
+
}, E), {
|
|
11832
11829
|
default: () => {
|
|
11833
11830
|
const $ = `header.${k.key}`, j = {
|
|
11834
11831
|
column: k,
|
|
@@ -11852,14 +11849,14 @@ const Pi = D({
|
|
|
11852
11849
|
icon: y(k)
|
|
11853
11850
|
}, null), e.multiSort && r(k) && d("div", {
|
|
11854
11851
|
key: "badge",
|
|
11855
|
-
class: ["v-data-table-header__sort-badge", ...
|
|
11852
|
+
class: ["v-data-table-header__sort-badge", ...m.value],
|
|
11856
11853
|
style: p.value
|
|
11857
11854
|
}, [o.value.findIndex((Z) => Z.key === k.key) + 1])]);
|
|
11858
11855
|
}
|
|
11859
11856
|
});
|
|
11860
11857
|
}, I = () => {
|
|
11861
11858
|
const S = R(e.headerProps ?? {} ?? {}), k = b(() => v.value.filter((_) => _?.sortable && !e.disableSort)), L = b(() => {
|
|
11862
|
-
if (v.value.find((
|
|
11859
|
+
if (v.value.find((T) => T.key === "data-table-select") != null)
|
|
11863
11860
|
return i.value ? "$checkboxOn" : s.value ? "$checkboxIndeterminate" : "$checkboxOff";
|
|
11864
11861
|
});
|
|
11865
11862
|
return d(On, R({
|
|
@@ -11885,8 +11882,8 @@ const Pi = D({
|
|
|
11885
11882
|
...n,
|
|
11886
11883
|
chip: (_) => d(Gr, {
|
|
11887
11884
|
onClick: _.item.raw?.sortable ? () => l(_.item.raw) : void 0,
|
|
11888
|
-
onMousedown: (
|
|
11889
|
-
|
|
11885
|
+
onMousedown: (T) => {
|
|
11886
|
+
T.preventDefault(), T.stopPropagation();
|
|
11890
11887
|
}
|
|
11891
11888
|
}, {
|
|
11892
11889
|
default: () => [_.item.title, d(ie, {
|
|
@@ -11898,7 +11895,7 @@ const Pi = D({
|
|
|
11898
11895
|
})])]
|
|
11899
11896
|
});
|
|
11900
11897
|
};
|
|
11901
|
-
U(() => x.value ? d("tr", null, [d(I, null, null)]) : d(ne, null, [n.headers ? n.headers(
|
|
11898
|
+
U(() => x.value ? d("tr", null, [d(I, null, null)]) : d(ne, null, [n.headers ? n.headers(D.value) : f.value.map((S, k) => d("tr", null, [S.map((L, _) => d(B, {
|
|
11902
11899
|
column: L,
|
|
11903
11900
|
x: _,
|
|
11904
11901
|
y: k
|
|
@@ -11916,7 +11913,7 @@ const Pi = D({
|
|
|
11916
11913
|
default: n.loader
|
|
11917
11914
|
})])])]));
|
|
11918
11915
|
}
|
|
11919
|
-
}), xv =
|
|
11916
|
+
}), xv = A({
|
|
11920
11917
|
item: {
|
|
11921
11918
|
type: Object,
|
|
11922
11919
|
required: !0
|
|
@@ -11966,23 +11963,23 @@ const Pi = D({
|
|
|
11966
11963
|
});
|
|
11967
11964
|
}
|
|
11968
11965
|
if (v.key === "data-table-select") {
|
|
11969
|
-
const f = r(c.value), h = s(c.value) && !f,
|
|
11966
|
+
const f = r(c.value), h = s(c.value) && !f, g = (y) => i(c.value, y);
|
|
11970
11967
|
return n["data-table-select"]?.({
|
|
11971
11968
|
props: {
|
|
11972
11969
|
modelValue: f,
|
|
11973
11970
|
indeterminate: h,
|
|
11974
|
-
"onUpdate:modelValue":
|
|
11971
|
+
"onUpdate:modelValue": g
|
|
11975
11972
|
}
|
|
11976
11973
|
}) ?? d("td", null, [d(Zn, {
|
|
11977
11974
|
modelValue: f,
|
|
11978
11975
|
indeterminate: h,
|
|
11979
|
-
"onUpdate:modelValue":
|
|
11976
|
+
"onUpdate:modelValue": g
|
|
11980
11977
|
}, null)]);
|
|
11981
11978
|
}
|
|
11982
11979
|
return d("td", null, null);
|
|
11983
11980
|
})]);
|
|
11984
11981
|
}
|
|
11985
|
-
}), Pv =
|
|
11982
|
+
}), Pv = A({
|
|
11986
11983
|
index: Number,
|
|
11987
11984
|
item: Object,
|
|
11988
11985
|
cellProps: [Object, Function],
|
|
@@ -12012,7 +12009,7 @@ const Pi = D({
|
|
|
12012
12009
|
} = ui(), {
|
|
12013
12010
|
toggleSort: f,
|
|
12014
12011
|
sortBy: h,
|
|
12015
|
-
isSorted:
|
|
12012
|
+
isSorted: g
|
|
12016
12013
|
} = pi(), {
|
|
12017
12014
|
columns: y
|
|
12018
12015
|
} = aa();
|
|
@@ -12023,21 +12020,21 @@ const Pi = D({
|
|
|
12023
12020
|
onClick: e.onClick,
|
|
12024
12021
|
onContextmenu: e.onContextmenu,
|
|
12025
12022
|
onDblclick: e.onDblclick
|
|
12026
|
-
}, [e.item && y.value.map((
|
|
12027
|
-
const w = e.item, x = `item.${
|
|
12023
|
+
}, [e.item && y.value.map((m, p) => {
|
|
12024
|
+
const w = e.item, x = `item.${m.key}`, D = `header.${m.key}`, F = {
|
|
12028
12025
|
index: e.index,
|
|
12029
12026
|
item: w.raw,
|
|
12030
12027
|
internalItem: w,
|
|
12031
|
-
value: Zt(w.columns,
|
|
12032
|
-
column:
|
|
12028
|
+
value: Zt(w.columns, m.key),
|
|
12029
|
+
column: m,
|
|
12033
12030
|
isSelected: o,
|
|
12034
12031
|
toggleSelect: r,
|
|
12035
12032
|
isExpanded: c,
|
|
12036
12033
|
toggleExpand: v
|
|
12037
12034
|
}, B = {
|
|
12038
|
-
column:
|
|
12035
|
+
column: m,
|
|
12039
12036
|
selectAll: u,
|
|
12040
|
-
isSorted:
|
|
12037
|
+
isSorted: g,
|
|
12041
12038
|
toggleSort: f,
|
|
12042
12039
|
sortBy: h.value,
|
|
12043
12040
|
someSelected: s.value,
|
|
@@ -12048,36 +12045,36 @@ const Pi = D({
|
|
|
12048
12045
|
item: F.item,
|
|
12049
12046
|
internalItem: F.internalItem,
|
|
12050
12047
|
value: F.value,
|
|
12051
|
-
column:
|
|
12052
|
-
}) : e.cellProps, S = typeof
|
|
12048
|
+
column: m
|
|
12049
|
+
}) : e.cellProps, S = typeof m.cellProps == "function" ? m.cellProps({
|
|
12053
12050
|
index: F.index,
|
|
12054
12051
|
item: F.item,
|
|
12055
12052
|
internalItem: F.internalItem,
|
|
12056
12053
|
value: F.value
|
|
12057
|
-
}) :
|
|
12054
|
+
}) : m.cellProps;
|
|
12058
12055
|
return d(On, R({
|
|
12059
|
-
align:
|
|
12056
|
+
align: m.align,
|
|
12060
12057
|
class: {
|
|
12061
|
-
"v-data-table__td--expanded-row":
|
|
12062
|
-
"v-data-table__td--select-row":
|
|
12058
|
+
"v-data-table__td--expanded-row": m.key === "data-table-expand",
|
|
12059
|
+
"v-data-table__td--select-row": m.key === "data-table-select"
|
|
12063
12060
|
},
|
|
12064
|
-
fixed:
|
|
12065
|
-
fixedOffset:
|
|
12066
|
-
lastFixed:
|
|
12067
|
-
maxWidth: l.value ? void 0 :
|
|
12068
|
-
noPadding:
|
|
12069
|
-
nowrap:
|
|
12070
|
-
width: l.value ? void 0 :
|
|
12061
|
+
fixed: m.fixed,
|
|
12062
|
+
fixedOffset: m.fixedOffset,
|
|
12063
|
+
lastFixed: m.lastFixed,
|
|
12064
|
+
maxWidth: l.value ? void 0 : m.maxWidth,
|
|
12065
|
+
noPadding: m.key === "data-table-select" || m.key === "data-table-expand",
|
|
12066
|
+
nowrap: m.nowrap,
|
|
12067
|
+
width: l.value ? void 0 : m.width
|
|
12071
12068
|
}, I, S), {
|
|
12072
12069
|
default: () => {
|
|
12073
12070
|
if (n[x] && !l.value) return n[x]?.(F);
|
|
12074
|
-
if (
|
|
12071
|
+
if (m.key === "data-table-select")
|
|
12075
12072
|
return n["item.data-table-select"]?.(F) ?? d(Zn, {
|
|
12076
12073
|
disabled: !w.selectable,
|
|
12077
12074
|
modelValue: o([w]),
|
|
12078
12075
|
onClick: rl(() => r(w), ["stop"])
|
|
12079
12076
|
}, null);
|
|
12080
|
-
if (
|
|
12077
|
+
if (m.key === "data-table-expand")
|
|
12081
12078
|
return n["item.data-table-expand"]?.(F) ?? d($e, {
|
|
12082
12079
|
icon: c(w) ? "$collapse" : "$expand",
|
|
12083
12080
|
size: "small",
|
|
@@ -12087,14 +12084,14 @@ const Pi = D({
|
|
|
12087
12084
|
const k = He(F.value);
|
|
12088
12085
|
return l.value ? d(ne, null, [d("div", {
|
|
12089
12086
|
class: "v-data-table__td-title"
|
|
12090
|
-
}, [n[
|
|
12087
|
+
}, [n[D]?.(B) ?? m.title]), d("div", {
|
|
12091
12088
|
class: "v-data-table__td-value"
|
|
12092
12089
|
}, [n[x]?.(F) ?? k])]) : k;
|
|
12093
12090
|
}
|
|
12094
12091
|
});
|
|
12095
12092
|
})]));
|
|
12096
12093
|
}
|
|
12097
|
-
}), Vi =
|
|
12094
|
+
}), Vi = A({
|
|
12098
12095
|
loading: [Boolean, String],
|
|
12099
12096
|
loadingText: {
|
|
12100
12097
|
type: String,
|
|
@@ -12148,11 +12145,11 @@ const Pi = D({
|
|
|
12148
12145
|
key: "no-data"
|
|
12149
12146
|
}, [d("td", {
|
|
12150
12147
|
colspan: l.value.length
|
|
12151
|
-
}, [a["no-data"]?.() ?? f(e.noDataText)])]) : d(ne, null, [e.items.map((
|
|
12152
|
-
if (
|
|
12148
|
+
}, [a["no-data"]?.() ?? f(e.noDataText)])]) : d(ne, null, [e.items.map((g, y) => {
|
|
12149
|
+
if (g.type === "group") {
|
|
12153
12150
|
const w = {
|
|
12154
12151
|
index: y,
|
|
12155
|
-
item:
|
|
12152
|
+
item: g,
|
|
12156
12153
|
columns: l.value,
|
|
12157
12154
|
isExpanded: s,
|
|
12158
12155
|
toggleExpand: r,
|
|
@@ -12162,42 +12159,42 @@ const Pi = D({
|
|
|
12162
12159
|
isGroupOpen: v
|
|
12163
12160
|
};
|
|
12164
12161
|
return a["group-header"] ? a["group-header"](w) : d(kv, R({
|
|
12165
|
-
key: `group-header_${
|
|
12166
|
-
item:
|
|
12162
|
+
key: `group-header_${g.id}`,
|
|
12163
|
+
item: g
|
|
12167
12164
|
}, Dl(n, ":group-header", () => w)), a);
|
|
12168
12165
|
}
|
|
12169
|
-
const
|
|
12166
|
+
const m = {
|
|
12170
12167
|
index: y,
|
|
12171
|
-
item:
|
|
12172
|
-
internalItem:
|
|
12168
|
+
item: g.raw,
|
|
12169
|
+
internalItem: g,
|
|
12173
12170
|
columns: l.value,
|
|
12174
12171
|
isExpanded: s,
|
|
12175
12172
|
toggleExpand: r,
|
|
12176
12173
|
isSelected: i,
|
|
12177
12174
|
toggleSelect: u
|
|
12178
12175
|
}, p = {
|
|
12179
|
-
...
|
|
12176
|
+
...m,
|
|
12180
12177
|
props: R({
|
|
12181
|
-
key: `item_${
|
|
12178
|
+
key: `item_${g.key ?? g.index}`,
|
|
12182
12179
|
onClick: o.value ? () => {
|
|
12183
|
-
r(
|
|
12180
|
+
r(g);
|
|
12184
12181
|
} : void 0,
|
|
12185
12182
|
index: y,
|
|
12186
|
-
item:
|
|
12183
|
+
item: g,
|
|
12187
12184
|
cellProps: e.cellProps,
|
|
12188
12185
|
mobile: h.value
|
|
12189
|
-
}, Dl(n, ":row", () =>
|
|
12190
|
-
item:
|
|
12191
|
-
index:
|
|
12192
|
-
internalItem:
|
|
12186
|
+
}, Dl(n, ":row", () => m), typeof e.rowProps == "function" ? e.rowProps({
|
|
12187
|
+
item: m.item,
|
|
12188
|
+
index: m.index,
|
|
12189
|
+
internalItem: m.internalItem
|
|
12193
12190
|
}) : e.rowProps)
|
|
12194
12191
|
};
|
|
12195
12192
|
return d(ne, {
|
|
12196
12193
|
key: p.props.key
|
|
12197
|
-
}, [a.item ? a.item(p) : d(Vv, p.props, a), s(
|
|
12194
|
+
}, [a.item ? a.item(p) : d(Vv, p.props, a), s(g) && a["expanded-row"]?.(m)]);
|
|
12198
12195
|
})])), {};
|
|
12199
12196
|
}
|
|
12200
|
-
}), Ii =
|
|
12197
|
+
}), Ii = A({
|
|
12201
12198
|
fixedHeader: Boolean,
|
|
12202
12199
|
fixedFooter: Boolean,
|
|
12203
12200
|
height: [Number, String],
|
|
@@ -12238,7 +12235,7 @@ const Pi = D({
|
|
|
12238
12235
|
}, [d("table", null, [n.default()])]) : n.wrapper?.(), n.bottom?.()]
|
|
12239
12236
|
})), {};
|
|
12240
12237
|
}
|
|
12241
|
-
}), Iv =
|
|
12238
|
+
}), Iv = A({
|
|
12242
12239
|
items: {
|
|
12243
12240
|
type: Array,
|
|
12244
12241
|
default: () => []
|
|
@@ -12275,7 +12272,7 @@ function Tv(e, t) {
|
|
|
12275
12272
|
items: b(() => Av(e, e.items, t.value))
|
|
12276
12273
|
};
|
|
12277
12274
|
}
|
|
12278
|
-
const Ev =
|
|
12275
|
+
const Ev = A({
|
|
12279
12276
|
...Vi(),
|
|
12280
12277
|
hideDefaultBody: Boolean,
|
|
12281
12278
|
hideDefaultFooter: Boolean,
|
|
@@ -12290,7 +12287,7 @@ const Ev = D({
|
|
|
12290
12287
|
...dv(),
|
|
12291
12288
|
...Pi(),
|
|
12292
12289
|
...Ii()
|
|
12293
|
-
}, "DataTable"), _v =
|
|
12290
|
+
}, "DataTable"), _v = A({
|
|
12294
12291
|
...av(),
|
|
12295
12292
|
...Ev(),
|
|
12296
12293
|
...Uf(),
|
|
@@ -12328,17 +12325,17 @@ const Ev = D({
|
|
|
12328
12325
|
columns: v,
|
|
12329
12326
|
headers: f,
|
|
12330
12327
|
sortFunctions: h,
|
|
12331
|
-
sortRawFunctions:
|
|
12328
|
+
sortRawFunctions: g,
|
|
12332
12329
|
filterFunctions: y
|
|
12333
12330
|
} = Cv(e, {
|
|
12334
12331
|
groupBy: l,
|
|
12335
12332
|
showSelect: O(e, "showSelect"),
|
|
12336
12333
|
showExpand: O(e, "showExpand")
|
|
12337
12334
|
}), {
|
|
12338
|
-
items:
|
|
12335
|
+
items: m
|
|
12339
12336
|
} = Tv(e, v), p = O(e, "search"), {
|
|
12340
12337
|
filteredItems: w
|
|
12341
|
-
} = qf(e,
|
|
12338
|
+
} = qf(e, m, p, {
|
|
12342
12339
|
transform: (ue) => ue.columns,
|
|
12343
12340
|
customKeyFilter: y
|
|
12344
12341
|
}), {
|
|
@@ -12349,7 +12346,7 @@ const Ev = D({
|
|
|
12349
12346
|
mustSort: s,
|
|
12350
12347
|
page: i
|
|
12351
12348
|
}), {
|
|
12352
|
-
sortByWithGroups:
|
|
12349
|
+
sortByWithGroups: D,
|
|
12353
12350
|
opened: F,
|
|
12354
12351
|
extractRows: B,
|
|
12355
12352
|
isGroupOpen: I,
|
|
@@ -12360,18 +12357,18 @@ const Ev = D({
|
|
|
12360
12357
|
disableSort: c
|
|
12361
12358
|
}), {
|
|
12362
12359
|
sortedItems: k
|
|
12363
|
-
} = gv(e, w,
|
|
12360
|
+
} = gv(e, w, D, {
|
|
12364
12361
|
transform: (ue) => ({
|
|
12365
12362
|
...ue.raw,
|
|
12366
12363
|
...ue.columns
|
|
12367
12364
|
}),
|
|
12368
12365
|
sortFunctions: h,
|
|
12369
|
-
sortRawFunctions:
|
|
12366
|
+
sortRawFunctions: g
|
|
12370
12367
|
}), {
|
|
12371
12368
|
flatItems: L
|
|
12372
12369
|
} = tv(k, l, F), _ = b(() => L.value.length), {
|
|
12373
|
-
startIndex:
|
|
12374
|
-
stopIndex:
|
|
12370
|
+
startIndex: T,
|
|
12371
|
+
stopIndex: E,
|
|
12375
12372
|
pageCount: $,
|
|
12376
12373
|
setItemsPerPage: j
|
|
12377
12374
|
} = ov({
|
|
@@ -12382,8 +12379,8 @@ const Ev = D({
|
|
|
12382
12379
|
paginatedItems: Z
|
|
12383
12380
|
} = iv({
|
|
12384
12381
|
items: L,
|
|
12385
|
-
startIndex:
|
|
12386
|
-
stopIndex:
|
|
12382
|
+
startIndex: T,
|
|
12383
|
+
stopIndex: E,
|
|
12387
12384
|
itemsPerPage: u
|
|
12388
12385
|
}), le = b(() => B(Z.value)), {
|
|
12389
12386
|
isSelected: J,
|
|
@@ -12393,7 +12390,7 @@ const Ev = D({
|
|
|
12393
12390
|
someSelected: G,
|
|
12394
12391
|
allSelected: K
|
|
12395
12392
|
} = cv(e, {
|
|
12396
|
-
allItems:
|
|
12393
|
+
allItems: m,
|
|
12397
12394
|
currentPage: le
|
|
12398
12395
|
}), {
|
|
12399
12396
|
isExpanded: Q,
|