v-datatable-plus 0.0.13 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/v-datatable-plus.cjs +3 -3
- package/dist/v-datatable-plus.js +218 -212
- package/dist/v-datatable-plus.umd.cjs +3 -3
- package/package.json +1 -1
package/dist/v-datatable-plus.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as G, computed as h, openBlock as ae, createElementBlock as ge, createElementVNode as ze, normalizeStyle as Me, renderSlot as he, Fragment as ne, reactive as St, watchEffect as
|
|
1
|
+
import { ref as G, computed as h, openBlock as ae, createElementBlock as ge, createElementVNode as ze, normalizeStyle as Me, renderSlot as he, Fragment as ne, reactive as St, watchEffect as Oe, toRefs as dl, capitalize as Yn, isVNode as er, Comment as tr, unref as ye, warn as vn, provide as ve, inject as se, shallowRef as Q, defineComponent as nr, camelize as fl, h as mn, getCurrentInstance as ar, isRef as Ft, createVNode as u, toRef as z, watch as J, onScopeDispose as xe, effectScope as Xn, toRaw as Je, onBeforeUnmount as We, onMounted as Dt, mergeProps as U, Text as lr, readonly as Qn, Transition as rt, resolveDynamicComponent as ir, nextTick as be, withDirectives as Ce, resolveDirective as Ze, onBeforeMount as vl, vShow as ut, TransitionGroup as rr, onBeforeUpdate as or, Teleport as sr, cloneVNode as ur, createTextVNode as Ne, withModifiers as ya, toDisplayString as Re, createBlock as _e, withCtx as le, createCommentVNode as Xe, createSlots as cr, normalizeProps as gt, guardReactiveProps as It, renderList as Vt, normalizeClass as dr } from "vue";
|
|
2
2
|
import fr from "vuedraggable";
|
|
3
3
|
const Ve = {
|
|
4
4
|
IS_EQUAL_TO: "eq",
|
|
@@ -121,7 +121,7 @@ function W(e) {
|
|
|
121
121
|
if (!(e == null || e === ""))
|
|
122
122
|
return isNaN(+e) ? String(e) : isFinite(+e) ? `${Number(e)}${n}` : void 0;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function En(e) {
|
|
125
125
|
return e !== null && typeof e == "object" && !Array.isArray(e);
|
|
126
126
|
}
|
|
127
127
|
function nn(e) {
|
|
@@ -231,7 +231,7 @@ function ht() {
|
|
|
231
231
|
a[l] = e[l];
|
|
232
232
|
for (const l in n) {
|
|
233
233
|
const i = e[l], r = n[l];
|
|
234
|
-
if (
|
|
234
|
+
if (En(i) && En(r)) {
|
|
235
235
|
a[l] = ht(i, r, t);
|
|
236
236
|
continue;
|
|
237
237
|
}
|
|
@@ -271,7 +271,7 @@ function Jt(e, n) {
|
|
|
271
271
|
}
|
|
272
272
|
function Zn(e) {
|
|
273
273
|
const n = St({}), t = h(e);
|
|
274
|
-
return
|
|
274
|
+
return Oe(() => {
|
|
275
275
|
for (const a in t.value)
|
|
276
276
|
n[a] = t.value[a];
|
|
277
277
|
}, {
|
|
@@ -505,7 +505,7 @@ function wr(e, n) {
|
|
|
505
505
|
e.removeAttribute(t);
|
|
506
506
|
});
|
|
507
507
|
}
|
|
508
|
-
const yt = 2.4, Va = 0.2126729, Aa = 0.7151522, Ta = 0.072175, Cr = 0.55, xr = 0.58, kr = 0.57, Pr = 0.62, Yt = 0.03, _a = 1.45, Ir = 5e-4, Vr = 1.25, Ar = 1.25, Ba = 0.078,
|
|
508
|
+
const yt = 2.4, Va = 0.2126729, Aa = 0.7151522, Ta = 0.072175, Cr = 0.55, xr = 0.58, kr = 0.57, Pr = 0.62, Yt = 0.03, _a = 1.45, Ir = 5e-4, Vr = 1.25, Ar = 1.25, Ba = 0.078, Oa = 12.82051282051282, Xt = 0.06, Ea = 1e-3;
|
|
509
509
|
function $a(e, n) {
|
|
510
510
|
const t = (e.r / 255) ** yt, a = (e.g / 255) ** yt, l = (e.b / 255) ** yt, i = (n.r / 255) ** yt, r = (n.g / 255) ** yt, o = (n.b / 255) ** yt;
|
|
511
511
|
let s = t * Va + a * Aa + l * Ta, c = i * Va + r * Aa + o * Ta;
|
|
@@ -514,10 +514,10 @@ function $a(e, n) {
|
|
|
514
514
|
let v;
|
|
515
515
|
if (c > s) {
|
|
516
516
|
const f = (c ** Cr - s ** xr) * Vr;
|
|
517
|
-
v = f <
|
|
517
|
+
v = f < Ea ? 0 : f < Ba ? f - f * Oa * Xt : f - Xt;
|
|
518
518
|
} else {
|
|
519
519
|
const f = (c ** Pr - s ** kr) * Ar;
|
|
520
|
-
v = f > -
|
|
520
|
+
v = f > -Ea ? 0 : f > -Ba ? f - f * Oa * Xt : f + Xt;
|
|
521
521
|
}
|
|
522
522
|
return v * 100;
|
|
523
523
|
}
|
|
@@ -561,13 +561,13 @@ const La = /^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/, Br = {
|
|
|
561
561
|
l: t,
|
|
562
562
|
a
|
|
563
563
|
}),
|
|
564
|
-
hsv: (e, n, t, a) =>
|
|
564
|
+
hsv: (e, n, t, a) => Ot({
|
|
565
565
|
h: e,
|
|
566
566
|
s: n,
|
|
567
567
|
v: t,
|
|
568
568
|
a
|
|
569
569
|
}),
|
|
570
|
-
hsva: (e, n, t, a) =>
|
|
570
|
+
hsva: (e, n, t, a) => Ot({
|
|
571
571
|
h: e,
|
|
572
572
|
s: n,
|
|
573
573
|
v: t,
|
|
@@ -593,19 +593,19 @@ function Tt(e) {
|
|
|
593
593
|
let n = e.startsWith("#") ? e.slice(1) : e;
|
|
594
594
|
[3, 4].includes(n.length) ? n = n.split("").map((a) => a + a).join("") : [6, 8].includes(n.length) || _t(`'${e}' is not a valid hex(a) color`);
|
|
595
595
|
const t = parseInt(n, 16);
|
|
596
|
-
return (isNaN(t) || t < 0 || t > 4294967295) && _t(`'${e}' is not a valid hex(a) color`),
|
|
596
|
+
return (isNaN(t) || t < 0 || t > 4294967295) && _t(`'${e}' is not a valid hex(a) color`), Or(n);
|
|
597
597
|
} else if (typeof e == "object") {
|
|
598
598
|
if (kn(e, ["r", "g", "b"]))
|
|
599
599
|
return e;
|
|
600
600
|
if (kn(e, ["h", "s", "l"]))
|
|
601
|
-
return
|
|
601
|
+
return Ot(Il(e));
|
|
602
602
|
if (kn(e, ["h", "s", "v"]))
|
|
603
|
-
return
|
|
603
|
+
return Ot(e);
|
|
604
604
|
}
|
|
605
605
|
throw new TypeError(`Invalid color: ${e == null ? e : String(e) || e.constructor.name}
|
|
606
606
|
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`);
|
|
607
607
|
}
|
|
608
|
-
function
|
|
608
|
+
function Ot(e) {
|
|
609
609
|
const {
|
|
610
610
|
h: n,
|
|
611
611
|
s: t,
|
|
@@ -623,7 +623,7 @@ function Et(e) {
|
|
|
623
623
|
};
|
|
624
624
|
}
|
|
625
625
|
function Fa(e) {
|
|
626
|
-
return
|
|
626
|
+
return Ot(Il(e));
|
|
627
627
|
}
|
|
628
628
|
function Il(e) {
|
|
629
629
|
const {
|
|
@@ -639,8 +639,8 @@ function Il(e) {
|
|
|
639
639
|
a: l
|
|
640
640
|
};
|
|
641
641
|
}
|
|
642
|
-
function
|
|
643
|
-
e =
|
|
642
|
+
function Or(e) {
|
|
643
|
+
e = Er(e);
|
|
644
644
|
let [n, t, a, l] = yr(e, 2).map((i) => parseInt(i, 16));
|
|
645
645
|
return l = l === void 0 ? l : l / 255, {
|
|
646
646
|
r: n,
|
|
@@ -649,7 +649,7 @@ function Er(e) {
|
|
|
649
649
|
a: l
|
|
650
650
|
};
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function Er(e) {
|
|
653
653
|
return e.startsWith("#") && (e = e.slice(1)), e = e.replace(/([^0-9a-f])/gi, "F"), (e.length === 3 || e.length === 4) && (e = e.split("").map((n) => n + n).join("")), e.length !== 6 && (e = wa(wa(e, 6), 8, "F")), e;
|
|
654
654
|
}
|
|
655
655
|
function $r(e) {
|
|
@@ -723,7 +723,7 @@ function Fr() {
|
|
|
723
723
|
return c === "class" || c === "style" ? [(f = l.value) == null ? void 0 : f[c], v].filter((y) => y != null) : typeof c == "string" && !Lr(a.vnode, c) ? ((d = l.value) == null ? void 0 : d[c]) ?? ((g = (m = t.value) == null ? void 0 : m.global) == null ? void 0 : g[c]) ?? v : v;
|
|
724
724
|
}
|
|
725
725
|
}), r = Q();
|
|
726
|
-
|
|
726
|
+
Oe(() => {
|
|
727
727
|
if (l.value) {
|
|
728
728
|
const s = Object.entries(l.value).filter((c) => {
|
|
729
729
|
let [v] = c;
|
|
@@ -938,7 +938,7 @@ const Te = $({
|
|
|
938
938
|
default: void 0
|
|
939
939
|
}
|
|
940
940
|
}, "rounded");
|
|
941
|
-
function
|
|
941
|
+
function Ee(e) {
|
|
942
942
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Le();
|
|
943
943
|
return {
|
|
944
944
|
roundedClasses: h(() => {
|
|
@@ -1087,7 +1087,7 @@ const _l = $({
|
|
|
1087
1087
|
elevationClasses: r
|
|
1088
1088
|
} = dt(e), {
|
|
1089
1089
|
roundedClasses: o
|
|
1090
|
-
} =
|
|
1090
|
+
} = Ee(e);
|
|
1091
1091
|
$e({
|
|
1092
1092
|
VBtn: {
|
|
1093
1093
|
height: "auto",
|
|
@@ -1162,7 +1162,7 @@ const la = $({
|
|
|
1162
1162
|
disabled: Boolean,
|
|
1163
1163
|
selectedClass: String
|
|
1164
1164
|
}, "group-item");
|
|
1165
|
-
function
|
|
1165
|
+
function Ol(e, n) {
|
|
1166
1166
|
let t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
|
1167
1167
|
const a = ue("useGroupItem");
|
|
1168
1168
|
if (!a)
|
|
@@ -1201,7 +1201,7 @@ function El(e, n) {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
function ia(e, n) {
|
|
1203
1203
|
let t = !1;
|
|
1204
|
-
const a = St([]), l = oe(e, "modelValue", [], (d) => d == null ? [] :
|
|
1204
|
+
const a = St([]), l = oe(e, "modelValue", [], (d) => d == null ? [] : El(a, we(d)), (d) => {
|
|
1205
1205
|
const m = Ur(a, d);
|
|
1206
1206
|
return e.multiple ? m : m[0];
|
|
1207
1207
|
}), i = ue("useGroup");
|
|
@@ -1270,10 +1270,10 @@ function ia(e, n) {
|
|
|
1270
1270
|
return ve(n, f), f;
|
|
1271
1271
|
}
|
|
1272
1272
|
function Wr(e, n) {
|
|
1273
|
-
const t =
|
|
1273
|
+
const t = El(e, [n]);
|
|
1274
1274
|
return t.length ? e.findIndex((a) => a.id === t[0]) : -1;
|
|
1275
1275
|
}
|
|
1276
|
-
function
|
|
1276
|
+
function El(e, n) {
|
|
1277
1277
|
const t = [];
|
|
1278
1278
|
return n.forEach((a) => {
|
|
1279
1279
|
const l = e.find((r) => et(a, r.value)), i = e[a];
|
|
@@ -1628,7 +1628,7 @@ const eo = $({
|
|
|
1628
1628
|
resizeRef: y,
|
|
1629
1629
|
contentRect: b
|
|
1630
1630
|
} = pt(), w = h(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), C = h(() => Number(e.width)), P = h(() => s.value ? Number(e.size) : b.value ? b.value.width : Math.max(C.value, 32)), k = h(() => a / (1 - C.value / P.value) * 2), D = h(() => C.value / P.value * k.value), L = h(() => W((100 - w.value) / 100 * l));
|
|
1631
|
-
return
|
|
1631
|
+
return Oe(() => {
|
|
1632
1632
|
m.value = i.value, y.value = i.value;
|
|
1633
1633
|
}), q(() => u(e.tag, {
|
|
1634
1634
|
ref: i,
|
|
@@ -1818,7 +1818,7 @@ const no = $({
|
|
|
1818
1818
|
backgroundColorStyles: m
|
|
1819
1819
|
} = je(e, "color"), {
|
|
1820
1820
|
roundedClasses: g
|
|
1821
|
-
} =
|
|
1821
|
+
} = Ee(e), {
|
|
1822
1822
|
intersectionRef: y,
|
|
1823
1823
|
isIntersecting: b
|
|
1824
1824
|
} = Ll(), w = h(() => parseInt(e.max, 10)), C = h(() => parseInt(e.height, 10)), P = h(() => parseFloat(e.bufferValue) / w.value * 100), k = h(() => parseFloat(a.value) / w.value * 100), D = h(() => l.value !== e.reverse), L = h(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), I = h(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity));
|
|
@@ -1828,9 +1828,9 @@ const no = $({
|
|
|
1828
1828
|
const {
|
|
1829
1829
|
left: R,
|
|
1830
1830
|
right: N,
|
|
1831
|
-
width:
|
|
1832
|
-
} = y.value.getBoundingClientRect(), B = D.value ?
|
|
1833
|
-
a.value = Math.round(B /
|
|
1831
|
+
width: O
|
|
1832
|
+
} = y.value.getBoundingClientRect(), B = D.value ? O - _.clientX + (N - O) : _.clientX - R;
|
|
1833
|
+
a.value = Math.round(B / O * w.value);
|
|
1834
1834
|
}
|
|
1835
1835
|
return q(() => u(e.tag, {
|
|
1836
1836
|
ref: y,
|
|
@@ -2082,7 +2082,7 @@ const co = function(e, n) {
|
|
|
2082
2082
|
function Nl(e) {
|
|
2083
2083
|
return typeof e > "u" || !!e;
|
|
2084
2084
|
}
|
|
2085
|
-
function
|
|
2085
|
+
function Et(e) {
|
|
2086
2086
|
const n = {}, t = e.currentTarget;
|
|
2087
2087
|
if (!(!(t != null && t._ripple) || t._ripple.touched || e[Fn])) {
|
|
2088
2088
|
if (e[Fn] = !0, Dn(e))
|
|
@@ -2125,7 +2125,7 @@ function zl(e) {
|
|
|
2125
2125
|
}
|
|
2126
2126
|
let $t = !1;
|
|
2127
2127
|
function Hl(e) {
|
|
2128
|
-
!$t && (e.keyCode === ba.enter || e.keyCode === ba.space) && ($t = !0,
|
|
2128
|
+
!$t && (e.keyCode === ba.enter || e.keyCode === ba.space) && ($t = !0, Et(e));
|
|
2129
2129
|
}
|
|
2130
2130
|
function Gl(e) {
|
|
2131
2131
|
$t = !1, ke(e);
|
|
@@ -2138,27 +2138,27 @@ function Wl(e, n, t) {
|
|
|
2138
2138
|
value: a,
|
|
2139
2139
|
modifiers: l
|
|
2140
2140
|
} = n, i = Nl(a);
|
|
2141
|
-
if (i || dn.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = i, e._ripple.centered = l.center, e._ripple.circle = l.circle,
|
|
2141
|
+
if (i || dn.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = i, e._ripple.centered = l.center, e._ripple.circle = l.circle, En(a) && a.class && (e._ripple.class = a.class), i && !t) {
|
|
2142
2142
|
if (l.stop) {
|
|
2143
2143
|
e.addEventListener("touchstart", Ga, {
|
|
2144
2144
|
passive: !0
|
|
2145
2145
|
}), e.addEventListener("mousedown", Ga);
|
|
2146
2146
|
return;
|
|
2147
2147
|
}
|
|
2148
|
-
e.addEventListener("touchstart",
|
|
2148
|
+
e.addEventListener("touchstart", Et, {
|
|
2149
2149
|
passive: !0
|
|
2150
2150
|
}), e.addEventListener("touchend", ke, {
|
|
2151
2151
|
passive: !0
|
|
2152
2152
|
}), e.addEventListener("touchmove", zl, {
|
|
2153
2153
|
passive: !0
|
|
2154
|
-
}), e.addEventListener("touchcancel", ke), e.addEventListener("mousedown",
|
|
2154
|
+
}), e.addEventListener("touchcancel", ke), e.addEventListener("mousedown", Et), e.addEventListener("mouseup", ke), e.addEventListener("mouseleave", ke), e.addEventListener("keydown", Hl), e.addEventListener("keyup", Gl), e.addEventListener("blur", jl), e.addEventListener("dragstart", ke, {
|
|
2155
2155
|
passive: !0
|
|
2156
2156
|
});
|
|
2157
2157
|
} else
|
|
2158
2158
|
!i && t && Ul(e);
|
|
2159
2159
|
}
|
|
2160
2160
|
function Ul(e) {
|
|
2161
|
-
e.removeEventListener("mousedown",
|
|
2161
|
+
e.removeEventListener("mousedown", Et), e.removeEventListener("touchstart", Et), e.removeEventListener("touchend", ke), e.removeEventListener("touchmove", zl), e.removeEventListener("touchcancel", ke), e.removeEventListener("mouseup", ke), e.removeEventListener("mouseleave", ke), e.removeEventListener("keydown", Hl), e.removeEventListener("keyup", Gl), e.removeEventListener("dragstart", ke), e.removeEventListener("blur", jl);
|
|
2162
2162
|
}
|
|
2163
2163
|
function fo(e, n) {
|
|
2164
2164
|
Wl(e, n, !1);
|
|
@@ -2252,10 +2252,10 @@ const Ht = {
|
|
|
2252
2252
|
positionClasses: g
|
|
2253
2253
|
} = Rl(e), {
|
|
2254
2254
|
roundedClasses: y
|
|
2255
|
-
} =
|
|
2255
|
+
} = Ee(e), {
|
|
2256
2256
|
sizeClasses: b,
|
|
2257
2257
|
sizeStyles: w
|
|
2258
|
-
} = zt(e), C =
|
|
2258
|
+
} = zt(e), C = Ol(e, e.symbol, !1), P = Sn(e, t), k = h(() => {
|
|
2259
2259
|
var _;
|
|
2260
2260
|
return e.active !== void 0 ? e.active : P.isLink.value ? (_ = P.isActive) == null ? void 0 : _.value : C == null ? void 0 : C.isSelected.value;
|
|
2261
2261
|
}), D = h(() => (C == null ? void 0 : C.disabled.value) || e.disabled), L = h(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), I = h(() => {
|
|
@@ -2268,7 +2268,7 @@ const Ht = {
|
|
|
2268
2268
|
}
|
|
2269
2269
|
return so(P, C == null ? void 0 : C.select), q(() => {
|
|
2270
2270
|
var M, H;
|
|
2271
|
-
const _ = P.isLink.value ? "a" : e.tag, R = !!(e.prependIcon || a.prepend), N = !!(e.appendIcon || a.append),
|
|
2271
|
+
const _ = P.isLink.value ? "a" : e.tag, R = !!(e.prependIcon || a.prepend), N = !!(e.appendIcon || a.append), O = !!(e.icon && e.icon !== !0), B = (C == null ? void 0 : C.isSelected.value) && (!P.isLink.value || ((M = P.isActive) == null ? void 0 : M.value)) || !C || ((H = P.isActive) == null ? void 0 : H.value);
|
|
2272
2272
|
return Ce(u(_, {
|
|
2273
2273
|
type: _ === "a" ? void 0 : "button",
|
|
2274
2274
|
class: ["v-btn", C == null ? void 0 : C.selectedClass.value, {
|
|
@@ -2307,12 +2307,12 @@ const Ht = {
|
|
|
2307
2307
|
}, null)]), u("span", {
|
|
2308
2308
|
class: "v-btn__content",
|
|
2309
2309
|
"data-no-activator": ""
|
|
2310
|
-
}, [!a.default &&
|
|
2310
|
+
}, [!a.default && O ? u(ie, {
|
|
2311
2311
|
key: "content-icon",
|
|
2312
2312
|
icon: e.icon
|
|
2313
2313
|
}, null) : u(fe, {
|
|
2314
2314
|
key: "content-defaults",
|
|
2315
|
-
disabled: !
|
|
2315
|
+
disabled: !O,
|
|
2316
2316
|
defaults: {
|
|
2317
2317
|
VIcon: {
|
|
2318
2318
|
icon: e.icon
|
|
@@ -2526,7 +2526,7 @@ const wo = {
|
|
|
2526
2526
|
backgroundColorStyles: i
|
|
2527
2527
|
} = je(z(e, "color")), {
|
|
2528
2528
|
roundedClasses: r
|
|
2529
|
-
} =
|
|
2529
|
+
} = Ee(e), o = ue("VImg"), s = Q(""), c = G(), v = Q(e.eager ? "loading" : "idle"), f = Q(), d = Q(), m = h(() => e.src && typeof e.src == "object" ? {
|
|
2530
2530
|
src: e.src.src,
|
|
2531
2531
|
srcset: e.srcset || e.src.srcset,
|
|
2532
2532
|
lazySrc: e.lazySrc || e.src.lazySrc,
|
|
@@ -2539,11 +2539,11 @@ const wo = {
|
|
|
2539
2539
|
}), g = h(() => m.value.aspect || f.value / d.value || 0);
|
|
2540
2540
|
J(() => e.src, () => {
|
|
2541
2541
|
y(v.value !== "idle");
|
|
2542
|
-
}), J(g, (
|
|
2543
|
-
!
|
|
2542
|
+
}), J(g, (O, B) => {
|
|
2543
|
+
!O && B && c.value && k(c.value);
|
|
2544
2544
|
}), vl(() => y());
|
|
2545
|
-
function y(
|
|
2546
|
-
if (!(e.eager &&
|
|
2545
|
+
function y(O) {
|
|
2546
|
+
if (!(e.eager && O) && !(Jn && !O && !e.eager)) {
|
|
2547
2547
|
if (v.value = "loading", m.value.lazySrc) {
|
|
2548
2548
|
const B = new Image();
|
|
2549
2549
|
B.src = m.value.lazySrc, k(B, null);
|
|
@@ -2564,22 +2564,22 @@ const wo = {
|
|
|
2564
2564
|
}
|
|
2565
2565
|
}
|
|
2566
2566
|
function b() {
|
|
2567
|
-
var
|
|
2568
|
-
o.isUnmounted || (C(), k(c.value), v.value = "loaded", t("load", ((
|
|
2567
|
+
var O;
|
|
2568
|
+
o.isUnmounted || (C(), k(c.value), v.value = "loaded", t("load", ((O = c.value) == null ? void 0 : O.currentSrc) || m.value.src));
|
|
2569
2569
|
}
|
|
2570
2570
|
function w() {
|
|
2571
|
-
var
|
|
2572
|
-
o.isUnmounted || (v.value = "error", t("error", ((
|
|
2571
|
+
var O;
|
|
2572
|
+
o.isUnmounted || (v.value = "error", t("error", ((O = c.value) == null ? void 0 : O.currentSrc) || m.value.src));
|
|
2573
2573
|
}
|
|
2574
2574
|
function C() {
|
|
2575
|
-
const
|
|
2576
|
-
|
|
2575
|
+
const O = c.value;
|
|
2576
|
+
O && (s.value = O.currentSrc || O.src);
|
|
2577
2577
|
}
|
|
2578
2578
|
let P = -1;
|
|
2579
2579
|
We(() => {
|
|
2580
2580
|
clearTimeout(P);
|
|
2581
2581
|
});
|
|
2582
|
-
function k(
|
|
2582
|
+
function k(O) {
|
|
2583
2583
|
let B = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
|
|
2584
2584
|
const M = () => {
|
|
2585
2585
|
if (clearTimeout(P), o.isUnmounted)
|
|
@@ -2587,8 +2587,8 @@ const wo = {
|
|
|
2587
2587
|
const {
|
|
2588
2588
|
naturalHeight: H,
|
|
2589
2589
|
naturalWidth: Y
|
|
2590
|
-
} =
|
|
2591
|
-
H || Y ? (f.value = Y, d.value = H) : !
|
|
2590
|
+
} = O;
|
|
2591
|
+
H || Y ? (f.value = Y, d.value = H) : !O.complete && v.value === "loading" && B != null ? P = window.setTimeout(M, B) : (O.currentSrc.endsWith(".svg") || O.currentSrc.startsWith("data:image/svg+xml")) && (f.value = 1, d.value = 1);
|
|
2592
2592
|
};
|
|
2593
2593
|
M();
|
|
2594
2594
|
}
|
|
@@ -2599,7 +2599,7 @@ const wo = {
|
|
|
2599
2599
|
var M;
|
|
2600
2600
|
if (!m.value.src || v.value === "idle")
|
|
2601
2601
|
return null;
|
|
2602
|
-
const
|
|
2602
|
+
const O = u("img", {
|
|
2603
2603
|
class: ["v-img__img", D.value],
|
|
2604
2604
|
style: {
|
|
2605
2605
|
objectPosition: e.position
|
|
@@ -2621,7 +2621,7 @@ const wo = {
|
|
|
2621
2621
|
}, {
|
|
2622
2622
|
default: () => [Ce(B ? u("picture", {
|
|
2623
2623
|
class: "v-img__picture"
|
|
2624
|
-
}, [B,
|
|
2624
|
+
}, [B, O]) : O, [[ut, v.value === "loaded"]])]
|
|
2625
2625
|
});
|
|
2626
2626
|
}, I = () => u(Qe, {
|
|
2627
2627
|
transition: e.transition
|
|
@@ -2658,16 +2658,16 @@ const wo = {
|
|
|
2658
2658
|
}
|
|
2659
2659
|
}, null) : null, N = Q(!1);
|
|
2660
2660
|
{
|
|
2661
|
-
const
|
|
2661
|
+
const O = J(g, (B) => {
|
|
2662
2662
|
B && (requestAnimationFrame(() => {
|
|
2663
2663
|
requestAnimationFrame(() => {
|
|
2664
2664
|
N.value = !0;
|
|
2665
2665
|
});
|
|
2666
|
-
}),
|
|
2666
|
+
}), O());
|
|
2667
2667
|
});
|
|
2668
2668
|
}
|
|
2669
2669
|
return q(() => {
|
|
2670
|
-
const
|
|
2670
|
+
const O = ja.filterProps(e);
|
|
2671
2671
|
return Ce(u(ja, U({
|
|
2672
2672
|
class: ["v-img", {
|
|
2673
2673
|
"v-img--booting": !N.value
|
|
@@ -2675,7 +2675,7 @@ const wo = {
|
|
|
2675
2675
|
style: [{
|
|
2676
2676
|
width: W(e.width === "auto" ? f.value : e.width)
|
|
2677
2677
|
}, i.value, e.style]
|
|
2678
|
-
},
|
|
2678
|
+
}, O, {
|
|
2679
2679
|
aspectRatio: g.value,
|
|
2680
2680
|
"aria-label": e.alt,
|
|
2681
2681
|
role: e.alt ? "img" : void 0
|
|
@@ -2728,7 +2728,7 @@ const wo = {
|
|
|
2728
2728
|
densityClasses: o
|
|
2729
2729
|
} = Fe(e), {
|
|
2730
2730
|
roundedClasses: s
|
|
2731
|
-
} =
|
|
2731
|
+
} = Ee(e), {
|
|
2732
2732
|
sizeClasses: c,
|
|
2733
2733
|
sizeStyles: v
|
|
2734
2734
|
} = zt(e);
|
|
@@ -2910,7 +2910,7 @@ const wo = {
|
|
|
2910
2910
|
positionClasses: g
|
|
2911
2911
|
} = Rl(e), {
|
|
2912
2912
|
roundedClasses: y
|
|
2913
|
-
} =
|
|
2913
|
+
} = Ee(e), b = Sn(e, t), w = h(() => e.link !== !1 && b.isLink.value), C = h(() => !e.disabled && e.link !== !1 && (e.link || b.isClickable.value));
|
|
2914
2914
|
return q(() => {
|
|
2915
2915
|
const P = w.value ? "a" : e.tag, k = !!(a.title || e.title != null), D = !!(a.subtitle || e.subtitle != null), L = k || D, I = !!(a.append || e.appendAvatar || e.appendIcon), T = !!(a.prepend || e.prependAvatar || e.prependIcon), _ = !!(a.image || e.image), R = L || T || I, N = !!(a.text || e.text != null);
|
|
2916
2916
|
return Ce(u(P, {
|
|
@@ -2926,7 +2926,7 @@ const wo = {
|
|
|
2926
2926
|
tabindex: e.disabled ? -1 : void 0
|
|
2927
2927
|
}, {
|
|
2928
2928
|
default: () => {
|
|
2929
|
-
var
|
|
2929
|
+
var O;
|
|
2930
2930
|
return [_ && u("div", {
|
|
2931
2931
|
key: "image",
|
|
2932
2932
|
class: "v-card__image"
|
|
@@ -2970,7 +2970,7 @@ const wo = {
|
|
|
2970
2970
|
var B;
|
|
2971
2971
|
return [((B = a.text) == null ? void 0 : B.call(a)) ?? e.text];
|
|
2972
2972
|
}
|
|
2973
|
-
}), (
|
|
2973
|
+
}), (O = a.default) == null ? void 0 : O.call(a), a.actions && u(yo, null, {
|
|
2974
2974
|
default: a.actions
|
|
2975
2975
|
}), Mt(C.value, "v-card")];
|
|
2976
2976
|
}
|
|
@@ -3232,7 +3232,7 @@ const Wa = j()({
|
|
|
3232
3232
|
}, null), _])]), [[Ze("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), L && u(Xl, {
|
|
3233
3233
|
for: w.value,
|
|
3234
3234
|
clickable: !0,
|
|
3235
|
-
onClick: (
|
|
3235
|
+
onClick: (O) => O.stopPropagation()
|
|
3236
3236
|
}, {
|
|
3237
3237
|
default: () => [L]
|
|
3238
3238
|
})]);
|
|
@@ -3241,7 +3241,7 @@ const Wa = j()({
|
|
|
3241
3241
|
input: b
|
|
3242
3242
|
};
|
|
3243
3243
|
}
|
|
3244
|
-
}),
|
|
3244
|
+
}), Oo = $({
|
|
3245
3245
|
indeterminate: Boolean,
|
|
3246
3246
|
indeterminateIcon: {
|
|
3247
3247
|
type: ee,
|
|
@@ -3253,7 +3253,7 @@ const Wa = j()({
|
|
|
3253
3253
|
})
|
|
3254
3254
|
}, "VCheckboxBtn"), jt = j()({
|
|
3255
3255
|
name: "VCheckboxBtn",
|
|
3256
|
-
props:
|
|
3256
|
+
props: Oo(),
|
|
3257
3257
|
emits: {
|
|
3258
3258
|
"update:modelValue": (e) => !0,
|
|
3259
3259
|
"update:indeterminate": (e) => !0
|
|
@@ -3307,7 +3307,7 @@ function ei(e) {
|
|
|
3307
3307
|
InputIcon: t
|
|
3308
3308
|
};
|
|
3309
3309
|
}
|
|
3310
|
-
const
|
|
3310
|
+
const Eo = $({
|
|
3311
3311
|
disabled: Boolean,
|
|
3312
3312
|
group: Boolean,
|
|
3313
3313
|
hideOnLeave: Boolean,
|
|
@@ -3318,7 +3318,7 @@ const Oo = $({
|
|
|
3318
3318
|
function Ie(e, n, t) {
|
|
3319
3319
|
return j()({
|
|
3320
3320
|
name: e,
|
|
3321
|
-
props:
|
|
3321
|
+
props: Eo({
|
|
3322
3322
|
mode: t,
|
|
3323
3323
|
origin: n
|
|
3324
3324
|
}),
|
|
@@ -3821,7 +3821,7 @@ const ci = $({
|
|
|
3821
3821
|
return (T = e.errorMessages) != null && T.length || !y.value && f.value.length ? f.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages;
|
|
3822
3822
|
});
|
|
3823
3823
|
return q(() => {
|
|
3824
|
-
var
|
|
3824
|
+
var O, B, M, H;
|
|
3825
3825
|
const T = !!(a.prepend || e.prependIcon), _ = !!(a.append || e.appendIcon), R = I.value.length > 0, N = !e.hideDetails || e.hideDetails === "auto" && (R || !!a.details);
|
|
3826
3826
|
return u("div", {
|
|
3827
3827
|
class: ["v-input", `v-input--${e.direction}`, {
|
|
@@ -3832,7 +3832,7 @@ const ci = $({
|
|
|
3832
3832
|
}, [T && u("div", {
|
|
3833
3833
|
key: "prepend",
|
|
3834
3834
|
class: "v-input__prepend"
|
|
3835
|
-
}, [(
|
|
3835
|
+
}, [(O = a.prepend) == null ? void 0 : O.call(a, L.value), e.prependIcon && u(o, {
|
|
3836
3836
|
key: "prepend-icon",
|
|
3837
3837
|
name: "prepend"
|
|
3838
3838
|
}, null)]), a.default && u("div", {
|
|
@@ -4011,8 +4011,8 @@ const Go = $({
|
|
|
4011
4011
|
} = T[0], N = _.querySelector(".v-pagination__list > *");
|
|
4012
4012
|
if (!N)
|
|
4013
4013
|
return;
|
|
4014
|
-
const
|
|
4015
|
-
v.value = y(
|
|
4014
|
+
const O = R.width, B = N.offsetWidth + parseFloat(getComputedStyle(N).marginRight) * 2;
|
|
4015
|
+
v.value = y(O, B);
|
|
4016
4016
|
}), d = h(() => parseInt(e.length, 10)), m = h(() => parseInt(e.start, 10)), g = h(() => e.totalVisible != null ? parseInt(e.totalVisible, 10) : v.value >= 0 ? v.value : y(c.value, 58));
|
|
4017
4017
|
function y(T, _) {
|
|
4018
4018
|
const R = e.showFirstLastPage ? 5 : 3;
|
|
@@ -4034,11 +4034,11 @@ const Go = $({
|
|
|
4034
4034
|
if (R - l.value >= 0)
|
|
4035
4035
|
return [...Kt(Math.max(1, g.value - 1), m.value), e.ellipsis, d.value];
|
|
4036
4036
|
if (l.value - N >= (T ? 1 : 0)) {
|
|
4037
|
-
const
|
|
4038
|
-
return [m.value, e.ellipsis, ...Kt(
|
|
4037
|
+
const O = g.value - 1, B = d.value - O + m.value;
|
|
4038
|
+
return [m.value, e.ellipsis, ...Kt(O, B)];
|
|
4039
4039
|
} else {
|
|
4040
|
-
const
|
|
4041
|
-
return [m.value, e.ellipsis, ...Kt(
|
|
4040
|
+
const O = Math.max(1, g.value - 3), B = O === 1 ? l.value : l.value - Math.ceil(O / 2) + m.value;
|
|
4041
|
+
return [m.value, e.ellipsis, ...Kt(O, B), e.ellipsis, d.value];
|
|
4042
4042
|
}
|
|
4043
4043
|
});
|
|
4044
4044
|
function w(T, _, R) {
|
|
@@ -4087,7 +4087,7 @@ const Go = $({
|
|
|
4087
4087
|
color: N ? e.activeColor : e.color,
|
|
4088
4088
|
"aria-current": N,
|
|
4089
4089
|
"aria-label": i(N ? e.currentPageAriaLabel : e.pageAriaLabel, T),
|
|
4090
|
-
onClick: (
|
|
4090
|
+
onClick: (O) => w(O, T)
|
|
4091
4091
|
}
|
|
4092
4092
|
};
|
|
4093
4093
|
}
|
|
@@ -4257,11 +4257,11 @@ const Wo = Symbol.for("vuetify:v-slide-group"), di = $({
|
|
|
4257
4257
|
} = pt(), {
|
|
4258
4258
|
resizeRef: g,
|
|
4259
4259
|
contentRect: y
|
|
4260
|
-
} = pt(), b = h(() => r.selected.value.length ? r.items.value.findIndex((
|
|
4260
|
+
} = pt(), b = h(() => r.selected.value.length ? r.items.value.findIndex((E) => E.id === r.selected.value[0]) : -1), w = h(() => r.selected.value.length ? r.items.value.findIndex((E) => E.id === r.selected.value[r.selected.value.length - 1]) : -1);
|
|
4261
4261
|
if (Se) {
|
|
4262
|
-
let
|
|
4262
|
+
let E = -1;
|
|
4263
4263
|
J(() => [r.selected.value, m.value, y.value, f.value], () => {
|
|
4264
|
-
cancelAnimationFrame(
|
|
4264
|
+
cancelAnimationFrame(E), E = requestAnimationFrame(() => {
|
|
4265
4265
|
if (m.value && y.value) {
|
|
4266
4266
|
const V = f.value ? "width" : "height";
|
|
4267
4267
|
c.value = m.value[V], v.value = y.value[V], o.value = c.value + 1 < v.value;
|
|
@@ -4288,17 +4288,17 @@ const Wo = Symbol.for("vuetify:v-slide-group"), di = $({
|
|
|
4288
4288
|
}
|
|
4289
4289
|
const C = Q(!1);
|
|
4290
4290
|
let P = 0, k = 0;
|
|
4291
|
-
function D(
|
|
4291
|
+
function D(E) {
|
|
4292
4292
|
const V = f.value ? "clientX" : "clientY";
|
|
4293
|
-
k = (a.value && f.value ? -1 : 1) * s.value, P =
|
|
4293
|
+
k = (a.value && f.value ? -1 : 1) * s.value, P = E.touches[0][V], C.value = !0;
|
|
4294
4294
|
}
|
|
4295
|
-
function L(
|
|
4295
|
+
function L(E) {
|
|
4296
4296
|
if (!o.value)
|
|
4297
4297
|
return;
|
|
4298
4298
|
const V = f.value ? "clientX" : "clientY", F = a.value && f.value ? -1 : 1;
|
|
4299
|
-
s.value = F * (k + P -
|
|
4299
|
+
s.value = F * (k + P - E.touches[0][V]);
|
|
4300
4300
|
}
|
|
4301
|
-
function I(
|
|
4301
|
+
function I(E) {
|
|
4302
4302
|
const V = v.value - c.value;
|
|
4303
4303
|
s.value < 0 || !o.value ? s.value = 0 : s.value >= V && (s.value = V), C.value = !1;
|
|
4304
4304
|
}
|
|
@@ -4306,9 +4306,9 @@ const Wo = Symbol.for("vuetify:v-slide-group"), di = $({
|
|
|
4306
4306
|
d.value && (d.value[f.value ? "scrollLeft" : "scrollTop"] = 0);
|
|
4307
4307
|
}
|
|
4308
4308
|
const _ = Q(!1);
|
|
4309
|
-
function R(
|
|
4309
|
+
function R(E) {
|
|
4310
4310
|
if (_.value = !0, !(!o.value || !g.value)) {
|
|
4311
|
-
for (const V of
|
|
4311
|
+
for (const V of E.composedPath())
|
|
4312
4312
|
for (const F of g.value.children)
|
|
4313
4313
|
if (F === V) {
|
|
4314
4314
|
s.value = Qa({
|
|
@@ -4323,40 +4323,40 @@ const Wo = Symbol.for("vuetify:v-slide-group"), di = $({
|
|
|
4323
4323
|
}
|
|
4324
4324
|
}
|
|
4325
4325
|
}
|
|
4326
|
-
function N(
|
|
4326
|
+
function N(E) {
|
|
4327
4327
|
_.value = !1;
|
|
4328
4328
|
}
|
|
4329
|
-
function E
|
|
4329
|
+
function O(E) {
|
|
4330
4330
|
var V;
|
|
4331
|
-
!_.value && !(
|
|
4331
|
+
!_.value && !(E.relatedTarget && ((V = g.value) != null && V.contains(E.relatedTarget))) && M();
|
|
4332
4332
|
}
|
|
4333
|
-
function B(
|
|
4334
|
-
g.value && (f.value ?
|
|
4333
|
+
function B(E) {
|
|
4334
|
+
g.value && (f.value ? E.key === "ArrowRight" ? M(a.value ? "prev" : "next") : E.key === "ArrowLeft" && M(a.value ? "next" : "prev") : E.key === "ArrowDown" ? M("next") : E.key === "ArrowUp" && M("prev"), E.key === "Home" ? M("first") : E.key === "End" && M("last"));
|
|
4335
4335
|
}
|
|
4336
|
-
function M(
|
|
4336
|
+
function M(E) {
|
|
4337
4337
|
var V, F, K, X, te;
|
|
4338
4338
|
if (g.value)
|
|
4339
|
-
if (!
|
|
4339
|
+
if (!E)
|
|
4340
4340
|
(V = ln(g.value)[0]) == null || V.focus();
|
|
4341
|
-
else if (
|
|
4341
|
+
else if (E === "next") {
|
|
4342
4342
|
const re = (F = g.value.querySelector(":focus")) == null ? void 0 : F.nextElementSibling;
|
|
4343
4343
|
re ? re.focus() : M("first");
|
|
4344
|
-
} else if (
|
|
4344
|
+
} else if (E === "prev") {
|
|
4345
4345
|
const re = (K = g.value.querySelector(":focus")) == null ? void 0 : K.previousElementSibling;
|
|
4346
4346
|
re ? re.focus() : M("last");
|
|
4347
4347
|
} else
|
|
4348
|
-
|
|
4348
|
+
E === "first" ? (X = g.value.firstElementChild) == null || X.focus() : E === "last" && ((te = g.value.lastElementChild) == null || te.focus());
|
|
4349
4349
|
}
|
|
4350
|
-
function H(
|
|
4351
|
-
const V = s.value + (
|
|
4350
|
+
function H(E) {
|
|
4351
|
+
const V = s.value + (E === "prev" ? -1 : 1) * c.value;
|
|
4352
4352
|
s.value = He(V, 0, v.value - c.value);
|
|
4353
4353
|
}
|
|
4354
4354
|
const Y = h(() => {
|
|
4355
|
-
let
|
|
4356
|
-
s.value <= 0 && (
|
|
4355
|
+
let E = s.value > v.value - c.value ? -(v.value - c.value) + Xa(v.value - c.value - s.value) : -s.value;
|
|
4356
|
+
s.value <= 0 && (E = Xa(-s.value));
|
|
4357
4357
|
const V = a.value && f.value ? -1 : 1;
|
|
4358
4358
|
return {
|
|
4359
|
-
transform: `translate${f.value ? "X" : "Y"}(${V *
|
|
4359
|
+
transform: `translate${f.value ? "X" : "Y"}(${V * E}px)`,
|
|
4360
4360
|
transition: C.value ? "none" : "",
|
|
4361
4361
|
willChange: C.value ? "transform" : ""
|
|
4362
4362
|
};
|
|
@@ -4387,17 +4387,17 @@ const Wo = Symbol.for("vuetify:v-slide-group"), di = $({
|
|
|
4387
4387
|
}, l.value, e.class],
|
|
4388
4388
|
style: e.style,
|
|
4389
4389
|
tabindex: _.value || r.selected.value.length ? -1 : 0,
|
|
4390
|
-
onFocus:
|
|
4390
|
+
onFocus: O
|
|
4391
4391
|
}, {
|
|
4392
4392
|
default: () => {
|
|
4393
|
-
var
|
|
4393
|
+
var E, V, F;
|
|
4394
4394
|
return [S.value && u("div", {
|
|
4395
4395
|
key: "prev",
|
|
4396
4396
|
class: ["v-slide-group__prev", {
|
|
4397
4397
|
"v-slide-group__prev--disabled": !p.value
|
|
4398
4398
|
}],
|
|
4399
4399
|
onClick: () => p.value && H("prev")
|
|
4400
|
-
}, [((
|
|
4400
|
+
}, [((E = t.prev) == null ? void 0 : E.call(t, x.value)) ?? u(qa, null, {
|
|
4401
4401
|
default: () => [u(ie, {
|
|
4402
4402
|
icon: a.value ? e.nextIcon : e.prevIcon
|
|
4403
4403
|
}, null)]
|
|
@@ -4586,11 +4586,11 @@ const Ko = $({
|
|
|
4586
4586
|
elevationClasses: f
|
|
4587
4587
|
} = dt(e), {
|
|
4588
4588
|
roundedClasses: d
|
|
4589
|
-
} =
|
|
4589
|
+
} = Ee(e), {
|
|
4590
4590
|
sizeClasses: m
|
|
4591
4591
|
} = zt(e), {
|
|
4592
4592
|
themeClasses: g
|
|
4593
|
-
} = me(e), y = oe(e, "modelValue"), b =
|
|
4593
|
+
} = me(e), y = oe(e, "modelValue"), b = Ol(e, fi, !1), w = Sn(e, t), C = h(() => e.link !== !1 && w.isLink.value), P = h(() => !e.disabled && e.link !== !1 && (!!b || e.link || w.isClickable.value)), k = h(() => ({
|
|
4594
4594
|
"aria-label": i(e.closeLabel),
|
|
4595
4595
|
onClick(I) {
|
|
4596
4596
|
I.stopPropagation(), y.value = !1, a("click:close", I);
|
|
@@ -4604,7 +4604,7 @@ const Ko = $({
|
|
|
4604
4604
|
(I.key === "Enter" || I.key === " ") && (I.preventDefault(), D(I));
|
|
4605
4605
|
}
|
|
4606
4606
|
return () => {
|
|
4607
|
-
const I = w.isLink.value ? "a" : e.tag, T = !!(e.appendIcon || e.appendAvatar), _ = !!(T || l.append), R = !!(l.close || e.closable), N = !!(l.filter || e.filter) && b,
|
|
4607
|
+
const I = w.isLink.value ? "a" : e.tag, T = !!(e.appendIcon || e.appendAvatar), _ = !!(T || l.append), R = !!(l.close || e.closable), N = !!(l.filter || e.filter) && b, O = !!(e.prependIcon || e.prependAvatar), B = !!(O || l.prepend), M = !b || b.isSelected.value;
|
|
4608
4608
|
return y.value && Ce(u(I, {
|
|
4609
4609
|
class: ["v-chip", {
|
|
4610
4610
|
"v-chip--disabled": e.disabled,
|
|
@@ -4645,7 +4645,7 @@ const Ko = $({
|
|
|
4645
4645
|
class: "v-chip__prepend"
|
|
4646
4646
|
}, [l.prepend ? u(fe, {
|
|
4647
4647
|
key: "prepend-defaults",
|
|
4648
|
-
disabled: !
|
|
4648
|
+
disabled: !O,
|
|
4649
4649
|
defaults: {
|
|
4650
4650
|
VAvatar: {
|
|
4651
4651
|
image: e.prependAvatar,
|
|
@@ -5302,10 +5302,10 @@ const ls = Rt({
|
|
|
5302
5302
|
} = Fe(e), {
|
|
5303
5303
|
dimensionStyles: N
|
|
5304
5304
|
} = vt(e), {
|
|
5305
|
-
elevationClasses:
|
|
5305
|
+
elevationClasses: O
|
|
5306
5306
|
} = dt(e), {
|
|
5307
5307
|
roundedClasses: B
|
|
5308
|
-
} =
|
|
5308
|
+
} = Ee(C), M = h(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), H = h(() => ({
|
|
5309
5309
|
isActive: y.value,
|
|
5310
5310
|
select: o,
|
|
5311
5311
|
isSelected: s.value,
|
|
@@ -5319,7 +5319,7 @@ const ls = Rt({
|
|
|
5319
5319
|
(S.key === "Enter" || S.key === " ") && (S.preventDefault(), Y(S));
|
|
5320
5320
|
}
|
|
5321
5321
|
return q(() => {
|
|
5322
|
-
const S = b.value ? "a" : e.tag, p = a.title || e.title != null, A = a.subtitle || e.subtitle != null,
|
|
5322
|
+
const S = b.value ? "a" : e.tag, p = a.title || e.title != null, A = a.subtitle || e.subtitle != null, E = !!(e.appendAvatar || e.appendIcon), V = !!(E || a.append), F = !!(e.prependAvatar || e.prependIcon), K = !!(F || a.prepend);
|
|
5323
5323
|
return g == null || g.updateHasPrepend(K), e.activeColor && Tr("active-color", ["color", "base-color"]), Ce(u(S, {
|
|
5324
5324
|
class: ["v-list-item", {
|
|
5325
5325
|
"v-list-item--active": y.value,
|
|
@@ -5329,7 +5329,7 @@ const ls = Rt({
|
|
|
5329
5329
|
"v-list-item--prepend": !K && (g == null ? void 0 : g.hasPrepend.value),
|
|
5330
5330
|
"v-list-item--slim": e.slim,
|
|
5331
5331
|
[`${e.activeClass}`]: e.activeClass && y.value
|
|
5332
|
-
}, D.value, L.value, I.value, R.value,
|
|
5332
|
+
}, D.value, L.value, I.value, R.value, O.value, M.value, B.value, _.value, e.class],
|
|
5333
5333
|
style: [T.value, N.value, e.style],
|
|
5334
5334
|
href: i.href.value,
|
|
5335
5335
|
tabindex: w.value ? g ? -2 : 0 : void 0,
|
|
@@ -5398,7 +5398,7 @@ const ls = Rt({
|
|
|
5398
5398
|
class: "v-list-item__append"
|
|
5399
5399
|
}, [a.append ? u(fe, {
|
|
5400
5400
|
key: "append-defaults",
|
|
5401
|
-
disabled: !
|
|
5401
|
+
disabled: !E,
|
|
5402
5402
|
defaults: {
|
|
5403
5403
|
VAvatar: {
|
|
5404
5404
|
density: e.density,
|
|
@@ -5755,7 +5755,7 @@ const hs = $({
|
|
|
5755
5755
|
elevationClasses: v
|
|
5756
5756
|
} = dt(e), {
|
|
5757
5757
|
roundedClasses: f
|
|
5758
|
-
} =
|
|
5758
|
+
} = Ee(e), {
|
|
5759
5759
|
open: d,
|
|
5760
5760
|
select: m
|
|
5761
5761
|
} = ts(e), g = h(() => e.lines ? `v-list--${e.lines}-line` : void 0), y = z(e, "activeColor"), b = z(e, "baseColor"), w = z(e, "color");
|
|
@@ -5992,12 +5992,12 @@ function Ps(e, n, t) {
|
|
|
5992
5992
|
return;
|
|
5993
5993
|
const g = kl(e.target.value), y = ks(e.contentEl.value, e.isRtl.value), b = cn(e.contentEl.value), w = 12;
|
|
5994
5994
|
b.length || (b.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)));
|
|
5995
|
-
const C = b.reduce((N,
|
|
5996
|
-
const B =
|
|
5997
|
-
x:
|
|
5998
|
-
y:
|
|
5999
|
-
width:
|
|
6000
|
-
height:
|
|
5995
|
+
const C = b.reduce((N, O) => {
|
|
5996
|
+
const B = O.getBoundingClientRect(), M = new it({
|
|
5997
|
+
x: O === document.documentElement ? 0 : B.x,
|
|
5998
|
+
y: O === document.documentElement ? 0 : B.y,
|
|
5999
|
+
width: O.clientWidth,
|
|
6000
|
+
height: O.clientHeight
|
|
6001
6001
|
});
|
|
6002
6002
|
return N ? new it({
|
|
6003
6003
|
x: Math.max(N.left, M.left),
|
|
@@ -6012,7 +6012,7 @@ function Ps(e, n, t) {
|
|
|
6012
6012
|
origin: i.value
|
|
6013
6013
|
};
|
|
6014
6014
|
function k(N) {
|
|
6015
|
-
const
|
|
6015
|
+
const O = new it(y), B = el(N.anchor, g), M = el(N.origin, O);
|
|
6016
6016
|
let {
|
|
6017
6017
|
x: H,
|
|
6018
6018
|
y: Y
|
|
@@ -6045,8 +6045,8 @@ function Ps(e, n, t) {
|
|
|
6045
6045
|
H += v.value[1];
|
|
6046
6046
|
break;
|
|
6047
6047
|
}
|
|
6048
|
-
return
|
|
6049
|
-
overflows: Ia(
|
|
6048
|
+
return O.x += H, O.y += Y, O.width = Math.min(O.width, s.value), O.height = Math.min(O.height, c.value), {
|
|
6049
|
+
overflows: Ia(O, C),
|
|
6050
6050
|
x: H,
|
|
6051
6051
|
y: Y
|
|
6052
6052
|
};
|
|
@@ -6067,10 +6067,10 @@ function Ps(e, n, t) {
|
|
|
6067
6067
|
}
|
|
6068
6068
|
const {
|
|
6069
6069
|
x: N,
|
|
6070
|
-
y:
|
|
6070
|
+
y: O,
|
|
6071
6071
|
overflows: B
|
|
6072
6072
|
} = k(P);
|
|
6073
|
-
D += N, L +=
|
|
6073
|
+
D += N, L += O, y.x += N, y.y += O;
|
|
6074
6074
|
{
|
|
6075
6075
|
const M = Pa(P.anchor), H = B.x.before || B.x.after, Y = B.y.before || B.y.after;
|
|
6076
6076
|
let x = !1;
|
|
@@ -6086,9 +6086,9 @@ function Ps(e, n, t) {
|
|
|
6086
6086
|
}, A = S === "x" ? M === "y" ? In : Pn : M === "y" ? Pn : In;
|
|
6087
6087
|
p.anchor = A(p.anchor), p.origin = A(p.origin);
|
|
6088
6088
|
const {
|
|
6089
|
-
overflows:
|
|
6089
|
+
overflows: E
|
|
6090
6090
|
} = k(p);
|
|
6091
|
-
(
|
|
6091
|
+
(E[S].before <= B[S].before && E[S].after <= B[S].after || E[S].before + E[S].after < (B[S].before + B[S].after) / 2) && (P = p, x = T[S] = !0);
|
|
6092
6092
|
}
|
|
6093
6093
|
}), x)
|
|
6094
6094
|
continue;
|
|
@@ -6167,7 +6167,7 @@ function As(e, n) {
|
|
|
6167
6167
|
if (!Se)
|
|
6168
6168
|
return;
|
|
6169
6169
|
let t;
|
|
6170
|
-
|
|
6170
|
+
Oe(async () => {
|
|
6171
6171
|
t == null || t.stop(), n.isActive.value && e.scrollStrategy && (t = Xn(), await be(), t.active && t.run(() => {
|
|
6172
6172
|
var a;
|
|
6173
6173
|
typeof e.scrollStrategy == "function" ? e.scrollStrategy(n, e, t) : (a = tn[e.scrollStrategy]) == null || a.call(tn, n, e, t);
|
|
@@ -6229,11 +6229,11 @@ function Pi(e, n) {
|
|
|
6229
6229
|
});
|
|
6230
6230
|
});
|
|
6231
6231
|
}
|
|
6232
|
-
const jn = Symbol.for("vuetify:v-menu"),
|
|
6232
|
+
const jn = Symbol.for("vuetify:v-menu"), Os = $({
|
|
6233
6233
|
closeDelay: [Number, String],
|
|
6234
6234
|
openDelay: [Number, String]
|
|
6235
6235
|
}, "delay");
|
|
6236
|
-
function
|
|
6236
|
+
function Es(e, n) {
|
|
6237
6237
|
let t = () => {
|
|
6238
6238
|
};
|
|
6239
6239
|
function a(r) {
|
|
@@ -6274,7 +6274,7 @@ const $s = $({
|
|
|
6274
6274
|
default: void 0
|
|
6275
6275
|
},
|
|
6276
6276
|
closeOnContentClick: Boolean,
|
|
6277
|
-
...
|
|
6277
|
+
...Os()
|
|
6278
6278
|
}, "VOverlay-activator");
|
|
6279
6279
|
function Ls(e, n) {
|
|
6280
6280
|
let {
|
|
@@ -6286,7 +6286,7 @@ function Ls(e, n) {
|
|
|
6286
6286
|
const c = h(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), v = h(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !c.value), {
|
|
6287
6287
|
runOpenDelay: f,
|
|
6288
6288
|
runCloseDelay: d
|
|
6289
|
-
} =
|
|
6289
|
+
} = Es(e, (I) => {
|
|
6290
6290
|
I === (e.openOnHover && r || c.value && o) && !(e.openOnHover && t.value && !a.value) && (t.value !== I && (s = !0), t.value = I);
|
|
6291
6291
|
}), m = G(), g = {
|
|
6292
6292
|
onClick: (I) => {
|
|
@@ -6343,7 +6343,7 @@ function Ls(e, n) {
|
|
|
6343
6343
|
flush: "post"
|
|
6344
6344
|
});
|
|
6345
6345
|
const C = G();
|
|
6346
|
-
|
|
6346
|
+
Oe(() => {
|
|
6347
6347
|
C.value && be(() => {
|
|
6348
6348
|
i.value = nn(C.value);
|
|
6349
6349
|
});
|
|
@@ -6475,7 +6475,7 @@ function Ns(e, n, t) {
|
|
|
6475
6475
|
});
|
|
6476
6476
|
});
|
|
6477
6477
|
const s = Q(!0);
|
|
6478
|
-
l &&
|
|
6478
|
+
l && Oe(() => {
|
|
6479
6479
|
var f;
|
|
6480
6480
|
const v = ((f = At.at(-1)) == null ? void 0 : f[0]) === a.uid;
|
|
6481
6481
|
setTimeout(() => s.value = v);
|
|
@@ -6668,7 +6668,7 @@ const _i = $({
|
|
|
6668
6668
|
J(() => e.disabled, (F) => {
|
|
6669
6669
|
F && (r.value = !1);
|
|
6670
6670
|
});
|
|
6671
|
-
const
|
|
6671
|
+
const O = G(), B = G(), {
|
|
6672
6672
|
contentStyles: M,
|
|
6673
6673
|
updateLocation: H
|
|
6674
6674
|
} = Cs(e, {
|
|
@@ -6678,14 +6678,14 @@ const _i = $({
|
|
|
6678
6678
|
isActive: r
|
|
6679
6679
|
});
|
|
6680
6680
|
As(e, {
|
|
6681
|
-
root:
|
|
6681
|
+
root: O,
|
|
6682
6682
|
contentEl: B,
|
|
6683
6683
|
targetEl: k,
|
|
6684
6684
|
isActive: r,
|
|
6685
6685
|
updateLocation: H
|
|
6686
6686
|
});
|
|
6687
6687
|
function Y(F) {
|
|
6688
|
-
l("click:outside", F), e.persistent ?
|
|
6688
|
+
l("click:outside", F), e.persistent ? E() : r.value = !1;
|
|
6689
6689
|
}
|
|
6690
6690
|
function x() {
|
|
6691
6691
|
return r.value && g.value;
|
|
@@ -6699,22 +6699,22 @@ const _i = $({
|
|
|
6699
6699
|
});
|
|
6700
6700
|
function S(F) {
|
|
6701
6701
|
var K, X;
|
|
6702
|
-
F.key === "Escape" && g.value && (e.persistent ?
|
|
6702
|
+
F.key === "Escape" && g.value && (e.persistent ? E() : (r.value = !1, (K = B.value) != null && K.contains(document.activeElement) && ((X = w.value) == null || X.focus())));
|
|
6703
6703
|
}
|
|
6704
6704
|
const p = ro();
|
|
6705
6705
|
ot(() => e.closeOnBack, () => {
|
|
6706
6706
|
oo(p, (F) => {
|
|
6707
|
-
g.value && r.value ? (F(!1), e.persistent ?
|
|
6707
|
+
g.value && r.value ? (F(!1), e.persistent ? E() : r.value = !1) : F();
|
|
6708
6708
|
});
|
|
6709
6709
|
});
|
|
6710
6710
|
const A = G();
|
|
6711
6711
|
J(() => r.value && (e.absolute || e.contained) && o.value == null, (F) => {
|
|
6712
6712
|
if (F) {
|
|
6713
|
-
const K = Tl(
|
|
6713
|
+
const K = Tl(O.value);
|
|
6714
6714
|
K && K !== document.scrollingElement && (A.value = K.scrollTop);
|
|
6715
6715
|
}
|
|
6716
6716
|
});
|
|
6717
|
-
function
|
|
6717
|
+
function E() {
|
|
6718
6718
|
e.noClickAnimation || B.value && bt(B.value, [{
|
|
6719
6719
|
transformOrigin: "center"
|
|
6720
6720
|
}, {
|
|
@@ -6750,7 +6750,7 @@ const _i = $({
|
|
|
6750
6750
|
style: [b.value, {
|
|
6751
6751
|
top: W(A.value)
|
|
6752
6752
|
}, e.style],
|
|
6753
|
-
ref:
|
|
6753
|
+
ref: O
|
|
6754
6754
|
}, N, a), [u(Ws, U({
|
|
6755
6755
|
color: m,
|
|
6756
6756
|
modelValue: !!e.scrim && r.value
|
|
@@ -6780,7 +6780,7 @@ const _i = $({
|
|
|
6780
6780
|
}), {
|
|
6781
6781
|
activatorEl: w,
|
|
6782
6782
|
target: P,
|
|
6783
|
-
animateClick:
|
|
6783
|
+
animateClick: E,
|
|
6784
6784
|
contentEl: B,
|
|
6785
6785
|
globalTop: g,
|
|
6786
6786
|
localTop: y,
|
|
@@ -7061,7 +7061,7 @@ const Us = $({
|
|
|
7061
7061
|
...hn(),
|
|
7062
7062
|
...Te(),
|
|
7063
7063
|
...de()
|
|
7064
|
-
}, "VField"),
|
|
7064
|
+
}, "VField"), Oi = j()({
|
|
7065
7065
|
name: "VField",
|
|
7066
7066
|
inheritAttrs: !1,
|
|
7067
7067
|
props: {
|
|
@@ -7092,7 +7092,7 @@ const Us = $({
|
|
|
7092
7092
|
InputIcon: f
|
|
7093
7093
|
} = ei(e), {
|
|
7094
7094
|
roundedClasses: d
|
|
7095
|
-
} =
|
|
7095
|
+
} = Ee(e), {
|
|
7096
7096
|
rtlClasses: m
|
|
7097
7097
|
} = at(), g = h(() => e.dirty || e.active), y = h(() => !e.singleLine && !!(e.label || l.label)), b = Ue(), w = h(() => e.id || `input-${b}`), C = h(() => `${w.value}-messages`), P = G(), k = G(), D = G(), L = h(() => ["plain", "underlined"].includes(e.variant)), {
|
|
7098
7098
|
backgroundColorClasses: I,
|
|
@@ -7105,13 +7105,13 @@ const Us = $({
|
|
|
7105
7105
|
if (y.value) {
|
|
7106
7106
|
const M = P.value.$el, H = k.value.$el;
|
|
7107
7107
|
requestAnimationFrame(() => {
|
|
7108
|
-
const Y = ea(M), x = H.getBoundingClientRect(), S = x.x - Y.x, p = x.y - Y.y - (Y.height / 2 - x.height / 2), A = x.width / 0.75,
|
|
7108
|
+
const Y = ea(M), x = H.getBoundingClientRect(), S = x.x - Y.x, p = x.y - Y.y - (Y.height / 2 - x.height / 2), A = x.width / 0.75, E = Math.abs(A - Y.width) > 1 ? {
|
|
7109
7109
|
maxWidth: W(A)
|
|
7110
7110
|
} : void 0, V = getComputedStyle(M), F = getComputedStyle(H), K = parseFloat(V.transitionDuration) * 1e3 || 150, X = parseFloat(F.getPropertyValue("--v-field-label-scale")), te = F.getPropertyValue("color");
|
|
7111
7111
|
M.style.visibility = "visible", H.style.visibility = "hidden", bt(M, {
|
|
7112
7112
|
transform: `translate(${S}px, ${p}px) scale(${X})`,
|
|
7113
7113
|
color: te,
|
|
7114
|
-
...
|
|
7114
|
+
...E
|
|
7115
7115
|
}, {
|
|
7116
7116
|
duration: K,
|
|
7117
7117
|
easing: un,
|
|
@@ -7131,7 +7131,7 @@ const Us = $({
|
|
|
7131
7131
|
blur: v,
|
|
7132
7132
|
focus: c
|
|
7133
7133
|
}));
|
|
7134
|
-
function
|
|
7134
|
+
function O(B) {
|
|
7135
7135
|
B.target !== document.activeElement && B.preventDefault();
|
|
7136
7136
|
}
|
|
7137
7137
|
return q(() => {
|
|
@@ -7161,7 +7161,7 @@ const Us = $({
|
|
|
7161
7161
|
[`v-field--variant-${e.variant}`]: !0
|
|
7162
7162
|
}, i.value, I.value, o.value, r.value, d.value, m.value, e.class],
|
|
7163
7163
|
style: [T.value, e.style],
|
|
7164
|
-
onClick:
|
|
7164
|
+
onClick: O
|
|
7165
7165
|
}, t), [u("div", {
|
|
7166
7166
|
class: "v-field__overlay"
|
|
7167
7167
|
}, null), u(sa, {
|
|
@@ -7207,8 +7207,8 @@ const Us = $({
|
|
|
7207
7207
|
}, {
|
|
7208
7208
|
default: () => [Ce(u("div", {
|
|
7209
7209
|
class: "v-field__clearable",
|
|
7210
|
-
onMousedown: (
|
|
7211
|
-
|
|
7210
|
+
onMousedown: (E) => {
|
|
7211
|
+
E.preventDefault(), E.stopPropagation();
|
|
7212
7212
|
}
|
|
7213
7213
|
}, [l.clear ? l.clear() : u(f, {
|
|
7214
7214
|
name: "clear"
|
|
@@ -7247,10 +7247,10 @@ const Us = $({
|
|
|
7247
7247
|
}
|
|
7248
7248
|
});
|
|
7249
7249
|
function Qs(e) {
|
|
7250
|
-
const n = Object.keys(
|
|
7250
|
+
const n = Object.keys(Oi.props).filter((t) => !gn(t) && t !== "class" && t !== "style");
|
|
7251
7251
|
return yl(e, n);
|
|
7252
7252
|
}
|
|
7253
|
-
const Js = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
7253
|
+
const Js = ["color", "file", "time", "date", "datetime-local", "week", "month"], Ei = $({
|
|
7254
7254
|
autofocus: Boolean,
|
|
7255
7255
|
counter: [Boolean, Number, String],
|
|
7256
7256
|
counterValue: [Number, Function],
|
|
@@ -7273,7 +7273,7 @@ const Js = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7273
7273
|
Intersect: Yl
|
|
7274
7274
|
},
|
|
7275
7275
|
inheritAttrs: !1,
|
|
7276
|
-
props:
|
|
7276
|
+
props: Ei(),
|
|
7277
7277
|
emits: {
|
|
7278
7278
|
"click:control": (e) => !0,
|
|
7279
7279
|
"mousedown:control": (e) => !0,
|
|
@@ -7330,7 +7330,7 @@ const Js = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7330
7330
|
const L = !!(l.counter || e.counter !== !1 && e.counter != null), I = !!(L || l.details), [T, _] = bl(t), {
|
|
7331
7331
|
modelValue: R,
|
|
7332
7332
|
...N
|
|
7333
|
-
} = Ya.filterProps(e),
|
|
7333
|
+
} = Ya.filterProps(e), O = Qs(e);
|
|
7334
7334
|
return u(Ya, U({
|
|
7335
7335
|
ref: m,
|
|
7336
7336
|
modelValue: i.value,
|
|
@@ -7354,7 +7354,7 @@ const Js = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7354
7354
|
isReadonly: x,
|
|
7355
7355
|
isValid: S
|
|
7356
7356
|
} = B;
|
|
7357
|
-
return u(
|
|
7357
|
+
return u(Oi, U({
|
|
7358
7358
|
ref: g,
|
|
7359
7359
|
onMousedown: C,
|
|
7360
7360
|
onClick: P,
|
|
@@ -7362,7 +7362,7 @@ const Js = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7362
7362
|
"onClick:prependInner": e["onClick:prependInner"],
|
|
7363
7363
|
"onClick:appendInner": e["onClick:appendInner"],
|
|
7364
7364
|
role: e.role
|
|
7365
|
-
},
|
|
7365
|
+
}, O, {
|
|
7366
7366
|
id: M.value,
|
|
7367
7367
|
active: b.value || Y.value,
|
|
7368
7368
|
dirty: Y.value || e.dirty,
|
|
@@ -7375,7 +7375,7 @@ const Js = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7375
7375
|
let {
|
|
7376
7376
|
props: {
|
|
7377
7377
|
class: A,
|
|
7378
|
-
...
|
|
7378
|
+
...E
|
|
7379
7379
|
}
|
|
7380
7380
|
} = p;
|
|
7381
7381
|
const V = Ce(u("input", U({
|
|
@@ -7391,7 +7391,7 @@ const Js = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7391
7391
|
type: e.type,
|
|
7392
7392
|
onFocus: w,
|
|
7393
7393
|
onBlur: s
|
|
7394
|
-
},
|
|
7394
|
+
}, E, _), null), [[Ze("intersect"), {
|
|
7395
7395
|
handler: d
|
|
7396
7396
|
}, null, {
|
|
7397
7397
|
once: !0
|
|
@@ -7460,7 +7460,7 @@ const Js = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7460
7460
|
}, t), [(s = l.default) == null ? void 0 : s.call(l)]);
|
|
7461
7461
|
});
|
|
7462
7462
|
}
|
|
7463
|
-
}), tu = -1, nu = 1,
|
|
7463
|
+
}), tu = -1, nu = 1, On = 100, au = $({
|
|
7464
7464
|
itemHeight: {
|
|
7465
7465
|
type: [Number, String],
|
|
7466
7466
|
default: null
|
|
@@ -7469,7 +7469,7 @@ const Js = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
7469
7469
|
}, "virtual");
|
|
7470
7470
|
function lu(e, n) {
|
|
7471
7471
|
const t = wn(), a = Q(0);
|
|
7472
|
-
|
|
7472
|
+
Oe(() => {
|
|
7473
7473
|
a.value = parseFloat(e.itemHeight || 0);
|
|
7474
7474
|
});
|
|
7475
7475
|
const l = Q(0), i = Q(Math.ceil(
|
|
@@ -7484,7 +7484,7 @@ function lu(e, n) {
|
|
|
7484
7484
|
resizeRef: f,
|
|
7485
7485
|
contentRect: d
|
|
7486
7486
|
} = pt();
|
|
7487
|
-
|
|
7487
|
+
Oe(() => {
|
|
7488
7488
|
f.value = s.value;
|
|
7489
7489
|
});
|
|
7490
7490
|
const m = h(() => {
|
|
@@ -7505,8 +7505,8 @@ function lu(e, n) {
|
|
|
7505
7505
|
const p = performance.now();
|
|
7506
7506
|
b[0] = 0;
|
|
7507
7507
|
const A = n.value.length;
|
|
7508
|
-
for (let
|
|
7509
|
-
b[
|
|
7508
|
+
for (let E = 1; E <= A - 1; E++)
|
|
7509
|
+
b[E] = (b[E - 1] || 0) + P(E - 1);
|
|
7510
7510
|
w.value = Math.max(w.value, performance.now() - p);
|
|
7511
7511
|
}, w), D = J(g, (p) => {
|
|
7512
7512
|
p && (D(), v = c.value.offsetTop, k.immediate(), H(), ~C && be(() => {
|
|
@@ -7521,8 +7521,8 @@ function lu(e, n) {
|
|
|
7521
7521
|
k.clear();
|
|
7522
7522
|
});
|
|
7523
7523
|
function L(p, A) {
|
|
7524
|
-
const
|
|
7525
|
-
a.value = V ? Math.min(a.value, A) : A, (
|
|
7524
|
+
const E = y[p], V = a.value;
|
|
7525
|
+
a.value = V ? Math.min(a.value, A) : A, (E !== A || V !== a.value) && (y[p] = A, k());
|
|
7526
7526
|
}
|
|
7527
7527
|
function I(p) {
|
|
7528
7528
|
return p = He(p, 0, n.value.length - 1), b[p] || 0;
|
|
@@ -7531,7 +7531,7 @@ function lu(e, n) {
|
|
|
7531
7531
|
return iu(b, p);
|
|
7532
7532
|
}
|
|
7533
7533
|
let _ = 0, R = 0, N = 0;
|
|
7534
|
-
function
|
|
7534
|
+
function O() {
|
|
7535
7535
|
if (!s.value || !c.value)
|
|
7536
7536
|
return;
|
|
7537
7537
|
const p = s.value.scrollTop, A = performance.now();
|
|
@@ -7547,14 +7547,14 @@ function lu(e, n) {
|
|
|
7547
7547
|
function Y() {
|
|
7548
7548
|
if (!s.value || !m.value)
|
|
7549
7549
|
return;
|
|
7550
|
-
const p = _ - v, A = Math.sign(R),
|
|
7550
|
+
const p = _ - v, A = Math.sign(R), E = Math.max(0, p - On), V = He(T(E), 0, n.value.length), F = p + m.value + On, K = He(T(F) + 1, V + 1, n.value.length);
|
|
7551
7551
|
if (
|
|
7552
7552
|
// Only update the side we're scrolling towards,
|
|
7553
7553
|
// the other side will be updated incidentally
|
|
7554
7554
|
(A !== tu || V < l.value) && (A !== nu || K > i.value)
|
|
7555
7555
|
) {
|
|
7556
7556
|
const X = I(l.value) - I(V), te = I(K) - I(i.value);
|
|
7557
|
-
Math.max(X, te) >
|
|
7557
|
+
Math.max(X, te) > On ? (l.value = V, i.value = K) : (V <= 0 && (l.value = V), K >= n.value.length && (i.value = K));
|
|
7558
7558
|
}
|
|
7559
7559
|
r.value = I(l.value), o.value = I(n.value.length) - I(i.value);
|
|
7560
7560
|
}
|
|
@@ -7581,7 +7581,7 @@ function lu(e, n) {
|
|
|
7581
7581
|
paddingTop: r,
|
|
7582
7582
|
paddingBottom: o,
|
|
7583
7583
|
scrollToIndex: x,
|
|
7584
|
-
handleScroll:
|
|
7584
|
+
handleScroll: O,
|
|
7585
7585
|
handleScrollend: B,
|
|
7586
7586
|
handleItemResize: L
|
|
7587
7587
|
};
|
|
@@ -7776,7 +7776,7 @@ const uu = $({
|
|
|
7776
7776
|
})
|
|
7777
7777
|
}, "Select"), cu = $({
|
|
7778
7778
|
...uu(),
|
|
7779
|
-
...Ct(
|
|
7779
|
+
...Ct(Ei({
|
|
7780
7780
|
modelValue: null,
|
|
7781
7781
|
role: "combobox"
|
|
7782
7782
|
}), ["validationValue", "dirty", "appendInnerIcon"]),
|
|
@@ -7834,7 +7834,7 @@ const uu = $({
|
|
|
7834
7834
|
function N() {
|
|
7835
7835
|
D.value || (s.value = !s.value);
|
|
7836
7836
|
}
|
|
7837
|
-
function
|
|
7837
|
+
function O(S) {
|
|
7838
7838
|
var F, K;
|
|
7839
7839
|
if (!S.key || e.readonly || g != null && g.isReadonly.value)
|
|
7840
7840
|
return;
|
|
@@ -7846,8 +7846,8 @@ const uu = $({
|
|
|
7846
7846
|
}
|
|
7847
7847
|
if (e.multiple || !A(S))
|
|
7848
7848
|
return;
|
|
7849
|
-
const
|
|
7850
|
-
|
|
7849
|
+
const E = performance.now();
|
|
7850
|
+
E - P > p && (C = ""), C += S.key.toLowerCase(), P = E;
|
|
7851
7851
|
const V = c.value.find((X) => X.title.toLowerCase().startsWith(C));
|
|
7852
7852
|
V !== void 0 && (d.value = [V]);
|
|
7853
7853
|
}
|
|
@@ -7894,10 +7894,10 @@ const uu = $({
|
|
|
7894
7894
|
}), J(k, (S, p) => {
|
|
7895
7895
|
b.value && (!S.length && e.hideNoData && (s.value = !1), !p.length && S.length && (s.value = !0));
|
|
7896
7896
|
}), q(() => {
|
|
7897
|
-
const S = !!(e.chips || t.chip), p = !!(!e.hideNoData || k.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), A = d.value.length > 0,
|
|
7897
|
+
const S = !!(e.chips || t.chip), p = !!(!e.hideNoData || k.value.length || t["prepend-item"] || t["append-item"] || t["no-data"]), A = d.value.length > 0, E = Un.filterProps(e), V = A || !b.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder;
|
|
7898
7898
|
return u(Un, U({
|
|
7899
7899
|
ref: l
|
|
7900
|
-
},
|
|
7900
|
+
}, E, {
|
|
7901
7901
|
modelValue: d.value.map((F) => F.props.value).join(", "),
|
|
7902
7902
|
"onUpdate:modelValue": x,
|
|
7903
7903
|
focused: b.value,
|
|
@@ -7918,7 +7918,7 @@ const uu = $({
|
|
|
7918
7918
|
"onClick:clear": R,
|
|
7919
7919
|
"onMousedown:control": N,
|
|
7920
7920
|
onBlur: M,
|
|
7921
|
-
onKeydown:
|
|
7921
|
+
onKeydown: O,
|
|
7922
7922
|
"aria-label": a(w.value),
|
|
7923
7923
|
title: a(w.value)
|
|
7924
7924
|
}), {
|
|
@@ -8082,7 +8082,7 @@ function vu(e) {
|
|
|
8082
8082
|
itemsPerPage: t,
|
|
8083
8083
|
itemsLength: a
|
|
8084
8084
|
} = e, l = h(() => t.value === -1 ? 0 : t.value * (n.value - 1)), i = h(() => t.value === -1 ? a.value : Math.min(a.value, l.value + t.value)), r = h(() => t.value === -1 || a.value === 0 ? 1 : Math.ceil(a.value / t.value));
|
|
8085
|
-
|
|
8085
|
+
Oe(() => {
|
|
8086
8086
|
n.value > r.value && (n.value = r.value);
|
|
8087
8087
|
});
|
|
8088
8088
|
function o(d) {
|
|
@@ -8438,7 +8438,7 @@ function Mi(e) {
|
|
|
8438
8438
|
}
|
|
8439
8439
|
function Cu(e, n) {
|
|
8440
8440
|
const t = G([]), a = G([]), l = G({}), i = G({}), r = G({});
|
|
8441
|
-
|
|
8441
|
+
Oe(() => {
|
|
8442
8442
|
var y, b, w;
|
|
8443
8443
|
const c = (e.headers || Object.keys(e.items[0] ?? {}).map((C) => ({
|
|
8444
8444
|
key: C,
|
|
@@ -8849,7 +8849,7 @@ const ji = $({
|
|
|
8849
8849
|
key: "badge",
|
|
8850
8850
|
class: ["v-data-table-header__sort-badge", ...y.value],
|
|
8851
8851
|
style: b.value
|
|
8852
|
-
}, [l.value.findIndex((
|
|
8852
|
+
}, [l.value.findIndex((O) => O.key === k.key) + 1])]);
|
|
8853
8853
|
}
|
|
8854
8854
|
});
|
|
8855
8855
|
};
|
|
@@ -8871,13 +8871,13 @@ const ji = $({
|
|
|
8871
8871
|
default: t.loader
|
|
8872
8872
|
})])])]));
|
|
8873
8873
|
}
|
|
8874
|
-
}),
|
|
8874
|
+
}), Ou = $({
|
|
8875
8875
|
groupBy: {
|
|
8876
8876
|
type: Array,
|
|
8877
8877
|
default: () => []
|
|
8878
8878
|
}
|
|
8879
8879
|
}, "DataTable-group"), Wi = Symbol.for("vuetify:data-table-group");
|
|
8880
|
-
function
|
|
8880
|
+
function Eu(e) {
|
|
8881
8881
|
return {
|
|
8882
8882
|
groupBy: oe(e, "groupBy")
|
|
8883
8883
|
};
|
|
@@ -9405,7 +9405,7 @@ function Xu(e, n, t) {
|
|
|
9405
9405
|
}
|
|
9406
9406
|
function Qu(e, n, t, a) {
|
|
9407
9407
|
const l = G([]), i = G(/* @__PURE__ */ new Map()), r = h(() => a != null && a.transform ? ye(n).map((s) => [s, a.transform(s)]) : ye(n));
|
|
9408
|
-
|
|
9408
|
+
Oe(() => {
|
|
9409
9409
|
const s = typeof t == "function" ? t() : ye(t), c = typeof s != "string" && typeof s != "number" ? "" : String(s), v = Xu(r.value, c, {
|
|
9410
9410
|
customKeyFilter: {
|
|
9411
9411
|
...e.customKeyFilter,
|
|
@@ -9439,7 +9439,7 @@ const Ju = $({
|
|
|
9439
9439
|
width: [String, Number],
|
|
9440
9440
|
search: String,
|
|
9441
9441
|
...Mu(),
|
|
9442
|
-
...
|
|
9442
|
+
...Ou(),
|
|
9443
9443
|
...yu(),
|
|
9444
9444
|
...Gu(),
|
|
9445
9445
|
...ku(),
|
|
@@ -9471,7 +9471,7 @@ const Ju = $({
|
|
|
9471
9471
|
} = n;
|
|
9472
9472
|
const {
|
|
9473
9473
|
groupBy: l
|
|
9474
|
-
} =
|
|
9474
|
+
} = Eu(e), {
|
|
9475
9475
|
sortBy: i,
|
|
9476
9476
|
multiSort: r,
|
|
9477
9477
|
mustSort: o
|
|
@@ -9517,7 +9517,7 @@ const Ju = $({
|
|
|
9517
9517
|
flatItems: _
|
|
9518
9518
|
} = Fu(T, l, k), R = h(() => _.value.length), {
|
|
9519
9519
|
startIndex: N,
|
|
9520
|
-
stopIndex:
|
|
9520
|
+
stopIndex: O,
|
|
9521
9521
|
pageCount: B,
|
|
9522
9522
|
setItemsPerPage: M
|
|
9523
9523
|
} = vu({
|
|
@@ -9529,14 +9529,14 @@ const Ju = $({
|
|
|
9529
9529
|
} = gu({
|
|
9530
9530
|
items: _,
|
|
9531
9531
|
startIndex: N,
|
|
9532
|
-
stopIndex:
|
|
9532
|
+
stopIndex: O,
|
|
9533
9533
|
itemsPerPage: c
|
|
9534
9534
|
}), Y = h(() => D(H.value)), {
|
|
9535
9535
|
isSelected: x,
|
|
9536
9536
|
select: S,
|
|
9537
9537
|
selectAll: p,
|
|
9538
9538
|
toggleSelect: A,
|
|
9539
|
-
someSelected:
|
|
9539
|
+
someSelected: E,
|
|
9540
9540
|
allSelected: V
|
|
9541
9541
|
} = Pu(e, {
|
|
9542
9542
|
allItems: y,
|
|
@@ -9566,7 +9566,7 @@ const Ju = $({
|
|
|
9566
9566
|
pageCount: B.value,
|
|
9567
9567
|
toggleSort: C,
|
|
9568
9568
|
setItemsPerPage: M,
|
|
9569
|
-
someSelected:
|
|
9569
|
+
someSelected: E.value,
|
|
9570
9570
|
allSelected: V.value,
|
|
9571
9571
|
isSelected: x,
|
|
9572
9572
|
select: S,
|
|
@@ -9680,7 +9680,7 @@ const Ju = $({
|
|
|
9680
9680
|
elevationClasses: r
|
|
9681
9681
|
} = dt(e), {
|
|
9682
9682
|
roundedClasses: o
|
|
9683
|
-
} =
|
|
9683
|
+
} = Ee(e), {
|
|
9684
9684
|
themeClasses: s
|
|
9685
9685
|
} = me(e), {
|
|
9686
9686
|
rtlClasses: c
|
|
@@ -9800,6 +9800,10 @@ const Ju = $({
|
|
|
9800
9800
|
type: Boolean,
|
|
9801
9801
|
default: !1
|
|
9802
9802
|
},
|
|
9803
|
+
selectOnRow: {
|
|
9804
|
+
type: Boolean,
|
|
9805
|
+
default: !1
|
|
9806
|
+
},
|
|
9803
9807
|
returnObject: {
|
|
9804
9808
|
type: Boolean,
|
|
9805
9809
|
default: !1
|
|
@@ -9839,6 +9843,7 @@ const Ju = $({
|
|
|
9839
9843
|
headerIconSize: String,
|
|
9840
9844
|
fileName: String,
|
|
9841
9845
|
sortByColumn: String,
|
|
9846
|
+
search: String,
|
|
9842
9847
|
modelValue: {
|
|
9843
9848
|
type: Array,
|
|
9844
9849
|
default: []
|
|
@@ -9992,23 +9997,23 @@ const Ju = $({
|
|
|
9992
9997
|
var S, p;
|
|
9993
9998
|
let x = t.items;
|
|
9994
9999
|
return ((S = t.items) == null ? void 0 : S.length) > 0 && ((p = l.value) == null ? void 0 : p.headers.length) > 0 && (x = t.items.filter((A) => {
|
|
9995
|
-
let
|
|
10000
|
+
let E = !0;
|
|
9996
10001
|
return l.value.headers.forEach((V) => {
|
|
9997
|
-
if (
|
|
10002
|
+
if (E) {
|
|
9998
10003
|
if (V.filterMode === ha.SELECTION)
|
|
9999
|
-
|
|
10004
|
+
E = V.filterValue === V.allFilterValue ? !0 : A[V.key] === V.filterValue;
|
|
10000
10005
|
else if (V.filterValue)
|
|
10001
10006
|
if (typeof V.formatCellValue == "function") {
|
|
10002
10007
|
const F = V.formatCellValue(A[V.key], V.formatParameter);
|
|
10003
|
-
|
|
10008
|
+
E = H(V.filterType, F, V.filterValue);
|
|
10004
10009
|
} else
|
|
10005
|
-
|
|
10010
|
+
E = H(
|
|
10006
10011
|
V.filterType,
|
|
10007
10012
|
A[V.key],
|
|
10008
10013
|
V.filterValue
|
|
10009
10014
|
);
|
|
10010
10015
|
}
|
|
10011
|
-
}),
|
|
10016
|
+
}), E;
|
|
10012
10017
|
})), o.totalItems = x ? x.length : 0, x;
|
|
10013
10018
|
}), b = h(() => {
|
|
10014
10019
|
var x;
|
|
@@ -10042,7 +10047,7 @@ const Ju = $({
|
|
|
10042
10047
|
}
|
|
10043
10048
|
function T(x) {
|
|
10044
10049
|
var p, A;
|
|
10045
|
-
const S = (p = i.value) == null ? void 0 : p.findIndex((
|
|
10050
|
+
const S = (p = i.value) == null ? void 0 : p.findIndex((E) => E.key === x);
|
|
10046
10051
|
S !== -1 && ((A = i.value) == null || A.splice(S, 1));
|
|
10047
10052
|
}
|
|
10048
10053
|
function _(x) {
|
|
@@ -10059,7 +10064,7 @@ const Ju = $({
|
|
|
10059
10064
|
var S;
|
|
10060
10065
|
return ((S = i.value) == null ? void 0 : S.findIndex((p) => p.key === x)) !== -1;
|
|
10061
10066
|
}
|
|
10062
|
-
function
|
|
10067
|
+
function O(x, S) {
|
|
10063
10068
|
const p = S.find((A) => A.key === x.key);
|
|
10064
10069
|
return p ? `${p.title} : ${typeof p.formatCellValue == "function" ? p.formatCellValue(x.value, p.formatParameter) : x.value} (${x.items.length})` : `${x.value} (${x.items.length})`;
|
|
10065
10070
|
}
|
|
@@ -10076,16 +10081,16 @@ const Ju = $({
|
|
|
10076
10081
|
return {};
|
|
10077
10082
|
}
|
|
10078
10083
|
function M(x, S) {
|
|
10079
|
-
var p, A,
|
|
10084
|
+
var p, A, E, V;
|
|
10080
10085
|
if (a("row", { $event: x, param: S }), t.highlightRow) {
|
|
10081
10086
|
if ((p = r.value) == null || p.classList.remove("dt-row-highlight"), r.value === x.currentTarget) {
|
|
10082
|
-
S.isSelected(S.internalItem) && S.toggleSelect(S.internalItem), r.value = null, v.value = null;
|
|
10087
|
+
t.selectOnRow && S.isSelected(S.internalItem) && S.toggleSelect(S.internalItem), r.value = null, v.value = null;
|
|
10083
10088
|
return;
|
|
10084
10089
|
}
|
|
10085
|
-
r.value = x.currentTarget, (A = r.value) == null || A.classList.add("dt-row-highlight"), S.isSelected(S.internalItem)
|
|
10090
|
+
r.value = x.currentTarget, (A = r.value) == null || A.classList.add("dt-row-highlight"), t.selectOnRow && !S.isSelected(S.internalItem) && S.toggleSelect(S.internalItem);
|
|
10086
10091
|
} else
|
|
10087
|
-
S.toggleSelect(S.internalItem);
|
|
10088
|
-
t.returnObject && (v.value = S.item), ((
|
|
10092
|
+
t.selectOnRow && S.toggleSelect(S.internalItem);
|
|
10093
|
+
t.returnObject && (v.value = S.item), ((E = t.itemValue) == null ? void 0 : E.length) > 0 && (v.value = ((V = S.item) == null ? void 0 : V[t.itemValue]) ?? null);
|
|
10089
10094
|
}
|
|
10090
10095
|
function H(x, S, p) {
|
|
10091
10096
|
let A = !0;
|
|
@@ -10130,7 +10135,7 @@ const Ju = $({
|
|
|
10130
10135
|
A += '<td role="gridcell">', typeof K.formatCellValue == "function" ? A += K.formatCellValue(F[K.key], K.formatParameter) : A += `${!F[K.key] || F[K.key] === "null" ? "" : F[K.key]}`, A += "</td>";
|
|
10131
10136
|
}), A += "</tr>";
|
|
10132
10137
|
});
|
|
10133
|
-
const
|
|
10138
|
+
const E = `
|
|
10134
10139
|
<!DOCTYPE html><html><head><meta charset="utf-8"/><title>Print</title>
|
|
10135
10140
|
<style>html { font: 11pt sans-serif; }.grid { border-top-width: 1px; text-align:left; }.grid, .grid-content { height: auto !important; }
|
|
10136
10141
|
.grid-content { overflow: visible !important; }div.grid table { table-layout: auto; width: 100% !important; border-spacing:0;border-collapse:collapse;}
|
|
@@ -10149,7 +10154,7 @@ const Ju = $({
|
|
|
10149
10154
|
"",
|
|
10150
10155
|
"width= 800, height = 500, resizable = 1, scrollbars = 1"
|
|
10151
10156
|
);
|
|
10152
|
-
V == null || V.document.write(
|
|
10157
|
+
V == null || V.document.write(E), V == null || V.document.close(), V == null || V.focus(), V == null || V.print();
|
|
10153
10158
|
}
|
|
10154
10159
|
return (x, S) => (ae(), _e(Ao, {
|
|
10155
10160
|
variant: "outlined",
|
|
@@ -10273,6 +10278,7 @@ const Ju = $({
|
|
|
10273
10278
|
"sort-desc-icon": e.sortDescIcon,
|
|
10274
10279
|
loading: e.loading,
|
|
10275
10280
|
color: e.color,
|
|
10281
|
+
search: e.search,
|
|
10276
10282
|
page: o.page,
|
|
10277
10283
|
"onUpdate:page": S[7] || (S[7] = (p) => o.page = p),
|
|
10278
10284
|
modelValue: c.value,
|
|
@@ -10284,7 +10290,7 @@ const Ju = $({
|
|
|
10284
10290
|
]),
|
|
10285
10291
|
headers: le((p) => [
|
|
10286
10292
|
he(x.$slots, "headers", gt(It(p)), () => [
|
|
10287
|
-
(ae(!0), ge(ne, null, Vt(p.headers, (A,
|
|
10293
|
+
(ae(!0), ge(ne, null, Vt(p.headers, (A, E) => (ae(), ge("tr", { key: E }, [
|
|
10288
10294
|
(ae(!0), ge(ne, null, Vt(A, (V) => he(x.$slots, `header.${V.key}`, gt(U({
|
|
10289
10295
|
key: V.key
|
|
10290
10296
|
}, A)), () => [
|
|
@@ -10341,9 +10347,9 @@ const Ju = $({
|
|
|
10341
10347
|
]))), 128))
|
|
10342
10348
|
]),
|
|
10343
10349
|
e.hideFilterRow ? Xe("", !0) : (ae(), ge("tr", sc, [
|
|
10344
|
-
(ae(!0), ge(ne, null, Vt(C(p.columns), (A,
|
|
10350
|
+
(ae(!0), ge(ne, null, Vt(C(p.columns), (A, E) => (ae(), ge("th", {
|
|
10345
10351
|
class: "bg-grey-lighten-4 dt-header-border",
|
|
10346
|
-
key:
|
|
10352
|
+
key: E
|
|
10347
10353
|
}, [
|
|
10348
10354
|
A.filterable !== !1 ? (ae(), ge(ne, { key: 0 }, [
|
|
10349
10355
|
A.filterMode === ye(ha).SELECTION ? (ae(), _e(Kn, {
|
|
@@ -10420,7 +10426,7 @@ const Ju = $({
|
|
|
10420
10426
|
onClick: (A) => p.toggleGroup(p.item),
|
|
10421
10427
|
icon: p.isGroupOpen(p.item) ? "$expand" : "$next"
|
|
10422
10428
|
}, null, 8, ["class", "onClick", "icon"]),
|
|
10423
|
-
ze("span", null, Re(
|
|
10429
|
+
ze("span", null, Re(O(p.item, p.columns)), 1),
|
|
10424
10430
|
u(ie, {
|
|
10425
10431
|
size: "small",
|
|
10426
10432
|
class: "ml-4",
|
|
@@ -10502,7 +10508,7 @@ const Ju = $({
|
|
|
10502
10508
|
])
|
|
10503
10509
|
])
|
|
10504
10510
|
}))
|
|
10505
|
-
]), 1032, ["height", "density", "headers", "items", "group-by", "show-expand", "show-select", "select-strategy", "return-object", "item-value", "items-per-page", "row-props", "sort-asc-icon", "sort-desc-icon", "loading", "color", "page", "modelValue"])
|
|
10511
|
+
]), 1032, ["height", "density", "headers", "items", "group-by", "show-expand", "show-select", "select-strategy", "return-object", "item-value", "items-per-page", "row-props", "sort-asc-icon", "sort-desc-icon", "loading", "color", "search", "page", "modelValue"])
|
|
10506
10512
|
]),
|
|
10507
10513
|
"right-pane": le(() => [
|
|
10508
10514
|
he(x.$slots, "right-area")
|