@3cr/viewer-browser 0.0.130 → 0.0.132
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/Viewer3CR.js +7 -7
- package/dist/Viewer3CR.mjs +251 -250
- package/dist/Viewer3CR.umd.js +7 -7
- package/index.ts +1 -0
- package/package.json +1 -1
- package/src/components/modal/MftpWebGL3DRModal.vue +7 -8
package/dist/Viewer3CR.mjs
CHANGED
|
@@ -1415,7 +1415,7 @@ function L0(e) {
|
|
|
1415
1415
|
inheritAttrs: h
|
|
1416
1416
|
} = e;
|
|
1417
1417
|
let C, I;
|
|
1418
|
-
const
|
|
1418
|
+
const M = Ba(e);
|
|
1419
1419
|
O.NODE_ENV !== "production" && (gs = !1);
|
|
1420
1420
|
try {
|
|
1421
1421
|
if (n.shapeFlag & 4) {
|
|
@@ -1461,8 +1461,8 @@ function L0(e) {
|
|
|
1461
1461
|
} catch (N) {
|
|
1462
1462
|
Pl.length = 0, Zl(N, e, 1), C = c(at);
|
|
1463
1463
|
}
|
|
1464
|
-
let T = C,
|
|
1465
|
-
if (O.NODE_ENV !== "production" && C.patchFlag > 0 && C.patchFlag & 2048 && ([T,
|
|
1464
|
+
let T = C, k;
|
|
1465
|
+
if (O.NODE_ENV !== "production" && C.patchFlag > 0 && C.patchFlag & 2048 && ([T, k] = Yu(C)), I && h !== !1) {
|
|
1466
1466
|
const N = Object.keys(I), { shapeFlag: D } = T;
|
|
1467
1467
|
if (N.length) {
|
|
1468
1468
|
if (D & 7)
|
|
@@ -1488,7 +1488,7 @@ function L0(e) {
|
|
|
1488
1488
|
"Runtime directive used on component with non-element root node. The directives will not function as intended."
|
|
1489
1489
|
), T = Jt(T), T.dirs = T.dirs ? T.dirs.concat(n.dirs) : n.dirs), n.transition && (O.NODE_ENV !== "production" && !mo(T) && J(
|
|
1490
1490
|
"Component inside <Transition> renders non-element root node that cannot be animated."
|
|
1491
|
-
), T.transition = n.transition), O.NODE_ENV !== "production" &&
|
|
1491
|
+
), T.transition = n.transition), O.NODE_ENV !== "production" && k ? k(T) : C = T, Ba(M), C;
|
|
1492
1492
|
}
|
|
1493
1493
|
const Yu = (e) => {
|
|
1494
1494
|
const t = e.children, n = e.dynamicChildren, r = gi(t, !1);
|
|
@@ -1684,8 +1684,8 @@ function mi(e, t, {
|
|
|
1684
1684
|
d = () => mr(b());
|
|
1685
1685
|
}
|
|
1686
1686
|
let v, h = (b) => {
|
|
1687
|
-
v =
|
|
1688
|
-
Vn(b, u, 4), v =
|
|
1687
|
+
v = k.onStop = () => {
|
|
1688
|
+
Vn(b, u, 4), v = k.onStop = void 0;
|
|
1689
1689
|
};
|
|
1690
1690
|
}, C;
|
|
1691
1691
|
if (h0)
|
|
@@ -1699,10 +1699,10 @@ function mi(e, t, {
|
|
|
1699
1699
|
} else
|
|
1700
1700
|
return tt;
|
|
1701
1701
|
let I = m ? new Array(e.length).fill(ua) : ua;
|
|
1702
|
-
const
|
|
1703
|
-
if (!(!
|
|
1702
|
+
const M = () => {
|
|
1703
|
+
if (!(!k.active || !k.dirty))
|
|
1704
1704
|
if (t) {
|
|
1705
|
-
const b =
|
|
1705
|
+
const b = k.run();
|
|
1706
1706
|
(r || g || (m ? b.some((P, H) => Qn(P, I[H])) : Qn(b, I))) && (v && v(), Ft(t, u, 3, [
|
|
1707
1707
|
b,
|
|
1708
1708
|
// pass undefined as the old value when it's changed for the first time
|
|
@@ -1710,18 +1710,18 @@ function mi(e, t, {
|
|
|
1710
1710
|
h
|
|
1711
1711
|
]), I = b);
|
|
1712
1712
|
} else
|
|
1713
|
-
|
|
1713
|
+
k.run();
|
|
1714
1714
|
};
|
|
1715
|
-
|
|
1715
|
+
M.allowRecurse = !!t;
|
|
1716
1716
|
let T;
|
|
1717
|
-
l === "sync" ? T =
|
|
1718
|
-
const
|
|
1719
|
-
|
|
1717
|
+
l === "sync" ? T = M : l === "post" ? T = () => Ct(M, u && u.suspense) : (M.pre = !0, u && (M.id = u.uid), T = () => c0(M));
|
|
1718
|
+
const k = new ri(d, tt, T), N = ad(), D = () => {
|
|
1719
|
+
k.stop(), N && Js(N.effects, k);
|
|
1720
1720
|
};
|
|
1721
|
-
return O.NODE_ENV !== "production" && (
|
|
1722
|
-
|
|
1721
|
+
return O.NODE_ENV !== "production" && (k.onTrack = s, k.onTrigger = i), t ? n ? M() : I = k.run() : l === "post" ? Ct(
|
|
1722
|
+
k.run.bind(k),
|
|
1723
1723
|
u && u.suspense
|
|
1724
|
-
) :
|
|
1724
|
+
) : k.run(), C && C.push(D), D;
|
|
1725
1725
|
}
|
|
1726
1726
|
function dg(e, t, n) {
|
|
1727
1727
|
const r = this.proxy, l = Ye(e) ? e.includes(".") ? Zu(r, e) : () => r[e] : e.bind(r, r);
|
|
@@ -1917,8 +1917,8 @@ function zl(e, t, n, r) {
|
|
|
1917
1917
|
onBeforeAppear: h,
|
|
1918
1918
|
onAppear: C,
|
|
1919
1919
|
onAfterAppear: I,
|
|
1920
|
-
onAppearCancelled:
|
|
1921
|
-
} = t, T = String(e.key),
|
|
1920
|
+
onAppearCancelled: M
|
|
1921
|
+
} = t, T = String(e.key), k = _u(n, e), N = (P, H) => {
|
|
1922
1922
|
P && Ft(
|
|
1923
1923
|
P,
|
|
1924
1924
|
r,
|
|
@@ -1942,14 +1942,14 @@ function zl(e, t, n, r) {
|
|
|
1942
1942
|
!0
|
|
1943
1943
|
/* cancelled */
|
|
1944
1944
|
);
|
|
1945
|
-
const B =
|
|
1945
|
+
const B = k[T];
|
|
1946
1946
|
B && dr(e, B) && B.el[Hn] && B.el[Hn](), N(H, [P]);
|
|
1947
1947
|
},
|
|
1948
1948
|
enter(P) {
|
|
1949
1949
|
let H = o, B = u, V = f;
|
|
1950
1950
|
if (!n.isMounted)
|
|
1951
1951
|
if (l)
|
|
1952
|
-
H = C || o, B = I || u, V =
|
|
1952
|
+
H = C || o, B = I || u, V = M || f;
|
|
1953
1953
|
else
|
|
1954
1954
|
return;
|
|
1955
1955
|
let w = !1;
|
|
@@ -1968,9 +1968,9 @@ function zl(e, t, n, r) {
|
|
|
1968
1968
|
N(d, [P]);
|
|
1969
1969
|
let V = !1;
|
|
1970
1970
|
const w = P[Hn] = (L) => {
|
|
1971
|
-
V || (V = !0, H(), L ? N(v, [P]) : N(m, [P]), P[Hn] = void 0,
|
|
1971
|
+
V || (V = !0, H(), L ? N(v, [P]) : N(m, [P]), P[Hn] = void 0, k[B] === e && delete k[B]);
|
|
1972
1972
|
};
|
|
1973
|
-
|
|
1973
|
+
k[B] = e, g ? D(g, [P, w]) : w();
|
|
1974
1974
|
},
|
|
1975
1975
|
clone(P) {
|
|
1976
1976
|
return zl(P, t, n, r);
|
|
@@ -2319,9 +2319,9 @@ function Sg(e) {
|
|
|
2319
2319
|
activated: h,
|
|
2320
2320
|
deactivated: C,
|
|
2321
2321
|
beforeDestroy: I,
|
|
2322
|
-
beforeUnmount:
|
|
2322
|
+
beforeUnmount: M,
|
|
2323
2323
|
destroyed: T,
|
|
2324
|
-
unmounted:
|
|
2324
|
+
unmounted: k,
|
|
2325
2325
|
render: N,
|
|
2326
2326
|
renderTracked: D,
|
|
2327
2327
|
renderTriggered: b,
|
|
@@ -2403,7 +2403,7 @@ function Sg(e) {
|
|
|
2403
2403
|
function K(S, A) {
|
|
2404
2404
|
be(A) ? A.forEach((X) => S(X.bind(n))) : A && S(A.bind(n));
|
|
2405
2405
|
}
|
|
2406
|
-
if (K(d0, d), K(Tt, g), K(vg, m), K(n3, v), K($u, h), K(e3, C), K(wg, P), K(bg, D), K(pg, b), K(wt,
|
|
2406
|
+
if (K(d0, d), K(Tt, g), K(vg, m), K(n3, v), K($u, h), K(e3, C), K(wg, P), K(bg, D), K(pg, b), K(wt, M), K(r3, k), K(yg, H), be(B))
|
|
2407
2407
|
if (B.length) {
|
|
2408
2408
|
const S = e.exposed || (e.exposed = {});
|
|
2409
2409
|
B.forEach((A) => {
|
|
@@ -3088,7 +3088,7 @@ function Gg(e, t) {
|
|
|
3088
3088
|
I(p, E, R, G);
|
|
3089
3089
|
break;
|
|
3090
3090
|
case Dl:
|
|
3091
|
-
p == null ?
|
|
3091
|
+
p == null ? M(E, R, G, le) : O.NODE_ENV !== "production" && T(p, E, R, le);
|
|
3092
3092
|
break;
|
|
3093
3093
|
case pe:
|
|
3094
3094
|
L(
|
|
@@ -3155,7 +3155,7 @@ function Gg(e, t) {
|
|
|
3155
3155
|
R,
|
|
3156
3156
|
G
|
|
3157
3157
|
) : E.el = p.el;
|
|
3158
|
-
},
|
|
3158
|
+
}, M = (p, E, R, G) => {
|
|
3159
3159
|
[p.el, p.anchor] = v(
|
|
3160
3160
|
p.children,
|
|
3161
3161
|
E,
|
|
@@ -3175,7 +3175,7 @@ function Gg(e, t) {
|
|
|
3175
3175
|
);
|
|
3176
3176
|
} else
|
|
3177
3177
|
E.el = p.el, E.anchor = p.anchor;
|
|
3178
|
-
},
|
|
3178
|
+
}, k = ({ el: p, anchor: E }, R, G) => {
|
|
3179
3179
|
let Q;
|
|
3180
3180
|
for (; p && p !== E; )
|
|
3181
3181
|
Q = g(p), r(p, R, G), p = Q;
|
|
@@ -3818,7 +3818,7 @@ function Gg(e, t) {
|
|
|
3818
3818
|
return;
|
|
3819
3819
|
}
|
|
3820
3820
|
if (le === Dl) {
|
|
3821
|
-
|
|
3821
|
+
k(p, E, R);
|
|
3822
3822
|
return;
|
|
3823
3823
|
}
|
|
3824
3824
|
if (G !== 2 && U & 1 && $)
|
|
@@ -4011,14 +4011,14 @@ const Ug = (e) => e.__isTeleport, Zr = (e) => e && (e.disabled || e.disabled ===
|
|
|
4011
4011
|
pbc: g,
|
|
4012
4012
|
o: { insert: m, querySelector: v, createText: h, createComment: C }
|
|
4013
4013
|
} = u, I = Zr(t.props);
|
|
4014
|
-
let { shapeFlag:
|
|
4015
|
-
if (O.NODE_ENV !== "production" && Gn && (o = !1,
|
|
4014
|
+
let { shapeFlag: M, children: T, dynamicChildren: k } = t;
|
|
4015
|
+
if (O.NODE_ENV !== "production" && Gn && (o = !1, k = null), e == null) {
|
|
4016
4016
|
const N = t.el = O.NODE_ENV !== "production" ? C("teleport start") : h(""), D = t.anchor = O.NODE_ENV !== "production" ? C("teleport end") : h("");
|
|
4017
4017
|
m(N, n, r), m(D, n, r);
|
|
4018
4018
|
const b = t.target = As(t.props, v), P = t.targetAnchor = h("");
|
|
4019
4019
|
b ? (m(P, b), s === "svg" || Oo(b) ? s = "svg" : (s === "mathml" || Do(b)) && (s = "mathml")) : O.NODE_ENV !== "production" && !I && J("Invalid Teleport target on mount:", b, `(${typeof b})`);
|
|
4020
4020
|
const H = (B, V) => {
|
|
4021
|
-
|
|
4021
|
+
M & 16 && f(
|
|
4022
4022
|
T,
|
|
4023
4023
|
B,
|
|
4024
4024
|
V,
|
|
@@ -4033,9 +4033,9 @@ const Ug = (e) => e.__isTeleport, Zr = (e) => e && (e.disabled || e.disabled ===
|
|
|
4033
4033
|
} else {
|
|
4034
4034
|
t.el = e.el;
|
|
4035
4035
|
const N = t.anchor = e.anchor, D = t.target = e.target, b = t.targetAnchor = e.targetAnchor, P = Zr(e.props), H = P ? n : D, B = P ? N : b;
|
|
4036
|
-
if (s === "svg" || Oo(D) ? s = "svg" : (s === "mathml" || Do(D)) && (s = "mathml"),
|
|
4036
|
+
if (s === "svg" || Oo(D) ? s = "svg" : (s === "mathml" || Do(D)) && (s = "mathml"), k ? (g(
|
|
4037
4037
|
e.dynamicChildren,
|
|
4038
|
-
|
|
4038
|
+
k,
|
|
4039
4039
|
H,
|
|
4040
4040
|
l,
|
|
4041
4041
|
a,
|
|
@@ -4945,19 +4945,19 @@ function V3(e) {
|
|
|
4945
4945
|
leaveToClass: m = `${n}-leave-to`
|
|
4946
4946
|
} = e, v = b1(l), h = v && v[0], C = v && v[1], {
|
|
4947
4947
|
onBeforeEnter: I,
|
|
4948
|
-
onEnter:
|
|
4948
|
+
onEnter: M,
|
|
4949
4949
|
onEnterCancelled: T,
|
|
4950
|
-
onLeave:
|
|
4950
|
+
onLeave: k,
|
|
4951
4951
|
onLeaveCancelled: N,
|
|
4952
4952
|
onBeforeAppear: D = I,
|
|
4953
|
-
onAppear: b =
|
|
4953
|
+
onAppear: b = M,
|
|
4954
4954
|
onAppearCancelled: P = T
|
|
4955
4955
|
} = t, H = (w, L, W) => {
|
|
4956
4956
|
Mn(w, L ? f : i), Mn(w, L ? u : s), W && W();
|
|
4957
4957
|
}, B = (w, L) => {
|
|
4958
4958
|
w._isLeaving = !1, Mn(w, d), Mn(w, m), Mn(w, g), L && L();
|
|
4959
4959
|
}, V = (w) => (L, W) => {
|
|
4960
|
-
const ee = w ? b :
|
|
4960
|
+
const ee = w ? b : M, K = () => H(L, w, W);
|
|
4961
4961
|
sr(ee, [L, K]), zo(() => {
|
|
4962
4962
|
Mn(L, w ? o : a), wn(L, w ? f : i), Lo(ee) || Ho(L, r, h, K);
|
|
4963
4963
|
});
|
|
@@ -4975,8 +4975,8 @@ function V3(e) {
|
|
|
4975
4975
|
w._isLeaving = !0;
|
|
4976
4976
|
const W = () => B(w, L);
|
|
4977
4977
|
wn(w, d), S3(), wn(w, g), zo(() => {
|
|
4978
|
-
w._isLeaving && (Mn(w, d), wn(w, m), Lo(
|
|
4979
|
-
}), sr(
|
|
4978
|
+
w._isLeaving && (Mn(w, d), wn(w, m), Lo(k) || Ho(w, r, C, W));
|
|
4979
|
+
}), sr(k, [w, W]);
|
|
4980
4980
|
},
|
|
4981
4981
|
onEnterCancelled(w) {
|
|
4982
4982
|
H(w, !1), sr(T, [w]);
|
|
@@ -7337,8 +7337,8 @@ function jh(e, t) {
|
|
|
7337
7337
|
o(), a.value = Vc();
|
|
7338
7338
|
}
|
|
7339
7339
|
return Kt(() => {
|
|
7340
|
-
const f = i.value < n.sm, d = i.value < n.md && !f, g = i.value < n.lg && !(d || f), m = i.value < n.xl && !(g || d || f), v = i.value < n.xxl && !(m || g || d || f), h = i.value >= n.xxl, C = f ? "xs" : d ? "sm" : g ? "md" : m ? "lg" : v ? "xl" : "xxl", I = typeof r == "number" ? r : n[r],
|
|
7341
|
-
s.xs = f, s.sm = d, s.md = g, s.lg = m, s.xl = v, s.xxl = h, s.smAndUp = !f, s.mdAndUp = !(f || d), s.lgAndUp = !(f || d || g), s.xlAndUp = !(f || d || g || m), s.smAndDown = !(g || m || v || h), s.mdAndDown = !(m || v || h), s.lgAndDown = !(v || h), s.xlAndDown = !h, s.name = C, s.height = l.value, s.width = i.value, s.mobile =
|
|
7340
|
+
const f = i.value < n.sm, d = i.value < n.md && !f, g = i.value < n.lg && !(d || f), m = i.value < n.xl && !(g || d || f), v = i.value < n.xxl && !(m || g || d || f), h = i.value >= n.xxl, C = f ? "xs" : d ? "sm" : g ? "md" : m ? "lg" : v ? "xl" : "xxl", I = typeof r == "number" ? r : n[r], M = i.value < I;
|
|
7341
|
+
s.xs = f, s.sm = d, s.md = g, s.lg = m, s.xl = v, s.xxl = h, s.smAndUp = !f, s.mdAndUp = !(f || d), s.lgAndUp = !(f || d || g), s.xlAndUp = !(f || d || g || m), s.smAndDown = !(g || m || v || h), s.mdAndDown = !(m || v || h), s.lgAndDown = !(v || h), s.xlAndDown = !h, s.name = C, s.height = l.value, s.width = i.value, s.mobile = M, s.mobileBreakpoint = r, s.platform = a.value, s.thresholds = n;
|
|
7342
7342
|
}), Re && window.addEventListener("resize", o, {
|
|
7343
7343
|
passive: !0
|
|
7344
7344
|
}), {
|
|
@@ -7693,8 +7693,8 @@ function Jh(e) {
|
|
|
7693
7693
|
if (h)
|
|
7694
7694
|
for (const C of ["lighten", "darken"]) {
|
|
7695
7695
|
const I = C === "lighten" ? Bm : Rm;
|
|
7696
|
-
for (const
|
|
7697
|
-
m.colors[`${v}-${C}-${
|
|
7696
|
+
for (const M of xi(t.variations[C], 1))
|
|
7697
|
+
m.colors[`${v}-${C}-${M}`] = Lm(I(cn(h), M));
|
|
7698
7698
|
}
|
|
7699
7699
|
}
|
|
7700
7700
|
for (const v of Object.keys(m.colors)) {
|
|
@@ -7932,7 +7932,7 @@ function nv(e) {
|
|
|
7932
7932
|
size: Number(B.value),
|
|
7933
7933
|
position: V.value
|
|
7934
7934
|
};
|
|
7935
|
-
})), I = (D) => C.value.find((b) => b.id === D),
|
|
7935
|
+
})), I = (D) => C.value.find((b) => b.id === D), M = st("createLayout"), T = ye(!1);
|
|
7936
7936
|
Tt(() => {
|
|
7937
7937
|
T.value = !0;
|
|
7938
7938
|
}), gt(Ls, {
|
|
@@ -7948,7 +7948,7 @@ function nv(e) {
|
|
|
7948
7948
|
absolute: ee
|
|
7949
7949
|
} = b;
|
|
7950
7950
|
s.set(P, H), l.set(P, B), a.set(P, V), i.set(P, L), W && o.set(P, W);
|
|
7951
|
-
const S = Nl(s2,
|
|
7951
|
+
const S = Nl(s2, M?.vnode).indexOf(D);
|
|
7952
7952
|
S > -1 ? r.value.splice(S, 0, P) : r.value.push(P);
|
|
7953
7953
|
const A = y(() => C.value.findIndex((q) => q.id === P)), X = y(() => n.value + g.value.length * 2 - A.value * 2), j = y(() => {
|
|
7954
7954
|
const q = B.value === "left" || B.value === "right", ae = B.value === "right", ue = B.value === "bottom", Ne = {
|
|
@@ -7994,7 +7994,7 @@ function nv(e) {
|
|
|
7994
7994
|
layoutRect: f,
|
|
7995
7995
|
rootZIndex: n
|
|
7996
7996
|
});
|
|
7997
|
-
const
|
|
7997
|
+
const k = y(() => ["v-layout", {
|
|
7998
7998
|
"v-layout--full-height": e.fullHeight
|
|
7999
7999
|
}]), N = y(() => ({
|
|
8000
8000
|
zIndex: t ? n.value : void 0,
|
|
@@ -8002,7 +8002,7 @@ function nv(e) {
|
|
|
8002
8002
|
overflow: t ? "hidden" : void 0
|
|
8003
8003
|
}));
|
|
8004
8004
|
return {
|
|
8005
|
-
layoutClasses:
|
|
8005
|
+
layoutClasses: k,
|
|
8006
8006
|
layoutStyles: N,
|
|
8007
8007
|
getLayoutItem: I,
|
|
8008
8008
|
items: C,
|
|
@@ -8475,7 +8475,7 @@ const ya = {
|
|
|
8475
8475
|
};
|
|
8476
8476
|
return w && (ee[w] = "0px"), V && (V === "center" ? ee.left = `calc(50% - ${+L / 2}${W})` : ee[V] = "0px"), ee;
|
|
8477
8477
|
}), g = y(() => "bottom" in d.value), m = (V) => {
|
|
8478
|
-
t("click", V), e.closeOnClick &&
|
|
8478
|
+
t("click", V), e.closeOnClick && k(V);
|
|
8479
8479
|
}, v = () => {
|
|
8480
8480
|
var V;
|
|
8481
8481
|
e.pauseOnHover && ((V = a.value) == null || V.pause());
|
|
@@ -8506,7 +8506,7 @@ const ya = {
|
|
|
8506
8506
|
data: A,
|
|
8507
8507
|
duplicates: 0
|
|
8508
8508
|
};
|
|
8509
|
-
w >= 0 && (a.value = new hv(() =>
|
|
8509
|
+
w >= 0 && (a.value = new hv(() => k(j), j.length, j));
|
|
8510
8510
|
const Z = e.reverse ? !g.value : g.value;
|
|
8511
8511
|
let q = -1;
|
|
8512
8512
|
const ae = u.value.find((ue) => ue.title === V.title && ue.text === V.text);
|
|
@@ -8514,18 +8514,18 @@ const ya = {
|
|
|
8514
8514
|
ae.duplicates++;
|
|
8515
8515
|
return;
|
|
8516
8516
|
}
|
|
8517
|
-
Z ? (l.value.push(j), t("start", j), u.value.length > e.max && (q = 0)) : (l.value.unshift(j), t("start", j), u.value.length > e.max && (q = u.value.length - 1)), q !== -1 &&
|
|
8517
|
+
Z ? (l.value.push(j), t("start", j), u.value.length > e.max && (q = 0)) : (l.value.unshift(j), t("start", j), u.value.length > e.max && (q = u.value.length - 1)), q !== -1 && k(u.value[q]);
|
|
8518
8518
|
}, I = (V) => {
|
|
8519
8519
|
N(V);
|
|
8520
|
-
},
|
|
8520
|
+
}, M = (V) => ["vue-notification-template", e.classes, V.type || ""], T = (V) => i.value ? void 0 : {
|
|
8521
8521
|
transition: `all ${V.speed}ms`
|
|
8522
|
-
},
|
|
8522
|
+
}, k = (V) => {
|
|
8523
8523
|
clearTimeout(V.timer), V.state = ya.DESTROYED, B(), t("destroy", V);
|
|
8524
8524
|
}, N = (V) => {
|
|
8525
8525
|
const w = l.value.find((L) => L.id === V);
|
|
8526
|
-
w &&
|
|
8526
|
+
w && k(w);
|
|
8527
8527
|
}, D = () => {
|
|
8528
|
-
u.value.forEach(
|
|
8528
|
+
u.value.forEach(k);
|
|
8529
8529
|
}, b = (V, w) => {
|
|
8530
8530
|
var L;
|
|
8531
8531
|
const W = (L = e.animation) == null ? void 0 : L[V];
|
|
@@ -8572,9 +8572,9 @@ const ya = {
|
|
|
8572
8572
|
}, [n.body ? n.body({
|
|
8573
8573
|
item: w,
|
|
8574
8574
|
class: [e.classes, w.type],
|
|
8575
|
-
close: () =>
|
|
8575
|
+
close: () => k(w)
|
|
8576
8576
|
}) : c("div", {
|
|
8577
|
-
class:
|
|
8577
|
+
class: M(w),
|
|
8578
8578
|
onClick: () => m(w)
|
|
8579
8579
|
}, [e.dangerouslySetInnerHtml ? c(pe, null, [w.title ? c("div", {
|
|
8580
8580
|
class: "notification-title",
|
|
@@ -9073,13 +9073,13 @@ const Yv = {
|
|
|
9073
9073
|
de(() => e.src, () => {
|
|
9074
9074
|
h(f.value !== "idle");
|
|
9075
9075
|
}), de(v, (w, L) => {
|
|
9076
|
-
!w && L && u.value &&
|
|
9076
|
+
!w && L && u.value && k(u.value);
|
|
9077
9077
|
}), d0(() => h());
|
|
9078
9078
|
function h(w) {
|
|
9079
9079
|
if (!(e.eager && w) && !(Ai && !w && !e.eager)) {
|
|
9080
9080
|
if (f.value = "loading", m.value.lazySrc) {
|
|
9081
9081
|
const L = new Image();
|
|
9082
|
-
L.src = m.value.lazySrc,
|
|
9082
|
+
L.src = m.value.lazySrc, k(L, null);
|
|
9083
9083
|
}
|
|
9084
9084
|
m.value.src && Fe(() => {
|
|
9085
9085
|
n("loadstart", u.value?.currentSrc || m.value.src), setTimeout(() => {
|
|
@@ -9087,20 +9087,20 @@ const Yv = {
|
|
|
9087
9087
|
if (u.value?.complete) {
|
|
9088
9088
|
if (u.value.naturalWidth || I(), f.value === "error")
|
|
9089
9089
|
return;
|
|
9090
|
-
v.value ||
|
|
9090
|
+
v.value || k(u.value, null), f.value === "loading" && C();
|
|
9091
9091
|
} else
|
|
9092
|
-
v.value ||
|
|
9092
|
+
v.value || k(u.value), M();
|
|
9093
9093
|
});
|
|
9094
9094
|
});
|
|
9095
9095
|
}
|
|
9096
9096
|
}
|
|
9097
9097
|
function C() {
|
|
9098
|
-
i.isUnmounted || (
|
|
9098
|
+
i.isUnmounted || (M(), k(u.value), f.value = "loaded", n("load", u.value?.currentSrc || m.value.src));
|
|
9099
9099
|
}
|
|
9100
9100
|
function I() {
|
|
9101
9101
|
i.isUnmounted || (f.value = "error", n("error", u.value?.currentSrc || m.value.src));
|
|
9102
9102
|
}
|
|
9103
|
-
function
|
|
9103
|
+
function M() {
|
|
9104
9104
|
const w = u.value;
|
|
9105
9105
|
w && (o.value = w.currentSrc || w.src);
|
|
9106
9106
|
}
|
|
@@ -9108,7 +9108,7 @@ const Yv = {
|
|
|
9108
9108
|
wt(() => {
|
|
9109
9109
|
clearTimeout(T);
|
|
9110
9110
|
});
|
|
9111
|
-
function
|
|
9111
|
+
function k(w) {
|
|
9112
9112
|
let L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
|
|
9113
9113
|
const W = () => {
|
|
9114
9114
|
if (clearTimeout(T), i.isUnmounted)
|
|
@@ -9594,7 +9594,7 @@ const _v = _({
|
|
|
9594
9594
|
} = xt(e), {
|
|
9595
9595
|
intersectionRef: h,
|
|
9596
9596
|
isIntersecting: C
|
|
9597
|
-
} = g2(), I = y(() => parseInt(e.max, 10)),
|
|
9597
|
+
} = g2(), I = y(() => parseInt(e.max, 10)), M = y(() => parseInt(e.height, 10)), T = y(() => parseFloat(e.bufferValue) / I.value * 100), k = y(() => parseFloat(r.value) / I.value * 100), N = y(() => l.value !== e.reverse), D = y(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), b = y(() => e.bgOpacity == null ? e.bgOpacity : parseFloat(e.bgOpacity));
|
|
9598
9598
|
function P(H) {
|
|
9599
9599
|
if (!h.value)
|
|
9600
9600
|
return;
|
|
@@ -9618,15 +9618,15 @@ const _v = _({
|
|
|
9618
9618
|
style: [{
|
|
9619
9619
|
bottom: e.location === "bottom" ? 0 : void 0,
|
|
9620
9620
|
top: e.location === "top" ? 0 : void 0,
|
|
9621
|
-
height: e.active ? he(
|
|
9622
|
-
"--v-progress-linear-height": he(
|
|
9621
|
+
height: e.active ? he(M.value) : 0,
|
|
9622
|
+
"--v-progress-linear-height": he(M.value),
|
|
9623
9623
|
...i.value
|
|
9624
9624
|
}, e.style],
|
|
9625
9625
|
role: "progressbar",
|
|
9626
9626
|
"aria-hidden": e.active ? "false" : "true",
|
|
9627
9627
|
"aria-valuemin": "0",
|
|
9628
9628
|
"aria-valuemax": e.max,
|
|
9629
|
-
"aria-valuenow": e.indeterminate ? void 0 :
|
|
9629
|
+
"aria-valuenow": e.indeterminate ? void 0 : k.value,
|
|
9630
9630
|
onClick: e.clickable && P
|
|
9631
9631
|
}, {
|
|
9632
9632
|
default: () => [e.stream && c("div", {
|
|
@@ -9634,12 +9634,12 @@ const _v = _({
|
|
|
9634
9634
|
class: ["v-progress-linear__stream", o.value],
|
|
9635
9635
|
style: {
|
|
9636
9636
|
...u.value,
|
|
9637
|
-
[N.value ? "left" : "right"]: he(-
|
|
9638
|
-
borderTop: `${he(
|
|
9637
|
+
[N.value ? "left" : "right"]: he(-M.value),
|
|
9638
|
+
borderTop: `${he(M.value / 2)} dotted`,
|
|
9639
9639
|
opacity: b.value,
|
|
9640
|
-
top: `calc(50% - ${he(
|
|
9640
|
+
top: `calc(50% - ${he(M.value / 4)})`,
|
|
9641
9641
|
width: he(100 - T.value, "%"),
|
|
9642
|
-
"--v-progress-linear-stream-to": he(
|
|
9642
|
+
"--v-progress-linear-stream-to": he(M.value * (N.value ? 1 : -1))
|
|
9643
9643
|
}
|
|
9644
9644
|
}, null), c("div", {
|
|
9645
9645
|
class: ["v-progress-linear__background", f.value],
|
|
@@ -9659,13 +9659,13 @@ const _v = _({
|
|
|
9659
9659
|
}, null))]) : c("div", {
|
|
9660
9660
|
class: ["v-progress-linear__determinate", g.value],
|
|
9661
9661
|
style: [m.value, {
|
|
9662
|
-
width: he(
|
|
9662
|
+
width: he(k.value, "%")
|
|
9663
9663
|
}]
|
|
9664
9664
|
}, null)]
|
|
9665
9665
|
}), n.default && c("div", {
|
|
9666
9666
|
class: "v-progress-linear__content"
|
|
9667
9667
|
}, [n.default({
|
|
9668
|
-
value:
|
|
9668
|
+
value: k.value,
|
|
9669
9669
|
buffer: T.value
|
|
9670
9670
|
})])]
|
|
9671
9671
|
})), {};
|
|
@@ -9994,19 +9994,19 @@ const Ir = {
|
|
|
9994
9994
|
positionClasses: v
|
|
9995
9995
|
} = Ri(e), {
|
|
9996
9996
|
roundedClasses: h
|
|
9997
|
-
} = xt(e), C = S0(e, n), I = y(() => e.link !== !1 && C.isLink.value),
|
|
9997
|
+
} = xt(e), C = S0(e, n), I = y(() => e.link !== !1 && C.isLink.value), M = y(() => !e.disabled && e.link !== !1 && (e.link || C.isClickable.value));
|
|
9998
9998
|
return Ae(() => {
|
|
9999
|
-
const T = I.value ? "a" : e.tag,
|
|
9999
|
+
const T = I.value ? "a" : e.tag, k = !!(r.title || e.title != null), N = !!(r.subtitle || e.subtitle != null), D = k || N, b = !!(r.append || e.appendAvatar || e.appendIcon), P = !!(r.prepend || e.prependAvatar || e.prependIcon), H = !!(r.image || e.image), B = D || P || b, V = !!(r.text || e.text != null);
|
|
10000
10000
|
return Ue(c(T, {
|
|
10001
10001
|
class: ["v-card", {
|
|
10002
10002
|
"v-card--disabled": e.disabled,
|
|
10003
10003
|
"v-card--flat": e.flat,
|
|
10004
10004
|
"v-card--hover": e.hover && !(e.disabled || e.flat),
|
|
10005
|
-
"v-card--link":
|
|
10005
|
+
"v-card--link": M.value
|
|
10006
10006
|
}, l.value, a.value, s.value, u.value, d.value, g.value, v.value, h.value, o.value, e.class],
|
|
10007
10007
|
style: [i.value, f.value, m.value, e.style],
|
|
10008
10008
|
href: C.href.value,
|
|
10009
|
-
onClick:
|
|
10009
|
+
onClick: M.value && C.navigate,
|
|
10010
10010
|
tabindex: e.disabled ? -1 : void 0
|
|
10011
10011
|
}, {
|
|
10012
10012
|
default: () => [H && c("div", {
|
|
@@ -10051,8 +10051,8 @@ const Ir = {
|
|
|
10051
10051
|
default: () => [r.text?.() ?? e.text]
|
|
10052
10052
|
}), r.default?.(), r.actions && c(vt, null, {
|
|
10053
10053
|
default: r.actions
|
|
10054
|
-
}), al(
|
|
10055
|
-
}), [[en("ripple"),
|
|
10054
|
+
}), al(M.value, "v-card")]
|
|
10055
|
+
}), [[en("ripple"), M.value && e.ripple]]);
|
|
10056
10056
|
}), {};
|
|
10057
10057
|
}
|
|
10058
10058
|
}), V2 = w0.reduce((e, t) => (e[t] = {
|
|
@@ -10601,9 +10601,9 @@ const Ey = _({
|
|
|
10601
10601
|
function Sy(e) {
|
|
10602
10602
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : vn(), n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : Yt();
|
|
10603
10603
|
const r = We(e, "modelValue"), l = y(() => e.validationValue === void 0 ? r.value : e.validationValue), a = R2(), s = F([]), i = ye(!0), o = y(() => !!(En(r.value === "" ? null : r.value).length || En(l.value === "" ? null : l.value).length)), u = y(() => !!(e.disabled ?? a?.isDisabled.value)), f = y(() => !!(e.readonly ?? a?.isReadonly.value)), d = y(() => e.errorMessages?.length ? En(e.errorMessages).concat(s.value).slice(0, Math.max(0, +e.maxErrors)) : s.value), g = y(() => {
|
|
10604
|
-
let
|
|
10605
|
-
|
|
10606
|
-
const N = new Set(
|
|
10604
|
+
let k = (e.validateOn ?? a?.validateOn.value) || "input";
|
|
10605
|
+
k === "lazy" && (k = "input lazy");
|
|
10606
|
+
const N = new Set(k?.split(" ") ?? []);
|
|
10607
10607
|
return {
|
|
10608
10608
|
blur: N.has("blur") || N.has("input"),
|
|
10609
10609
|
input: N.has("input"),
|
|
@@ -10621,7 +10621,7 @@ function Sy(e) {
|
|
|
10621
10621
|
id: C.value,
|
|
10622
10622
|
validate: T,
|
|
10623
10623
|
reset: I,
|
|
10624
|
-
resetValidation:
|
|
10624
|
+
resetValidation: M
|
|
10625
10625
|
});
|
|
10626
10626
|
}), wt(() => {
|
|
10627
10627
|
a?.unregister(C.value);
|
|
@@ -10632,26 +10632,26 @@ function Sy(e) {
|
|
|
10632
10632
|
if (l.value != null)
|
|
10633
10633
|
T();
|
|
10634
10634
|
else if (e.focused) {
|
|
10635
|
-
const
|
|
10636
|
-
N || T(),
|
|
10635
|
+
const k = de(() => e.focused, (N) => {
|
|
10636
|
+
N || T(), k();
|
|
10637
10637
|
});
|
|
10638
10638
|
}
|
|
10639
10639
|
});
|
|
10640
10640
|
}), fn(() => g.value.blur, () => {
|
|
10641
|
-
de(() => e.focused, (
|
|
10642
|
-
|
|
10641
|
+
de(() => e.focused, (k) => {
|
|
10642
|
+
k || T();
|
|
10643
10643
|
});
|
|
10644
10644
|
}), de([m, d], () => {
|
|
10645
10645
|
a?.update(C.value, m.value, d.value);
|
|
10646
10646
|
});
|
|
10647
10647
|
async function I() {
|
|
10648
|
-
r.value = null, await Fe(), await
|
|
10648
|
+
r.value = null, await Fe(), await M();
|
|
10649
10649
|
}
|
|
10650
|
-
async function
|
|
10650
|
+
async function M() {
|
|
10651
10651
|
i.value = !0, g.value.lazy ? s.value = [] : await T(!0);
|
|
10652
10652
|
}
|
|
10653
10653
|
async function T() {
|
|
10654
|
-
let
|
|
10654
|
+
let k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
10655
10655
|
const N = [];
|
|
10656
10656
|
v.value = !0;
|
|
10657
10657
|
for (const D of e.rules) {
|
|
@@ -10666,7 +10666,7 @@ function Sy(e) {
|
|
|
10666
10666
|
N.push(P || "");
|
|
10667
10667
|
}
|
|
10668
10668
|
}
|
|
10669
|
-
return s.value = N, v.value = !1, i.value =
|
|
10669
|
+
return s.value = N, v.value = !1, i.value = k, s.value;
|
|
10670
10670
|
}
|
|
10671
10671
|
return {
|
|
10672
10672
|
errorMessages: d,
|
|
@@ -10677,7 +10677,7 @@ function Sy(e) {
|
|
|
10677
10677
|
isValid: m,
|
|
10678
10678
|
isValidating: v,
|
|
10679
10679
|
reset: I,
|
|
10680
|
-
resetValidation:
|
|
10680
|
+
resetValidation: M,
|
|
10681
10681
|
validate: T,
|
|
10682
10682
|
validationClasses: h
|
|
10683
10683
|
};
|
|
@@ -10736,9 +10736,9 @@ const na = _({
|
|
|
10736
10736
|
isPristine: h,
|
|
10737
10737
|
isValid: C,
|
|
10738
10738
|
isValidating: I,
|
|
10739
|
-
reset:
|
|
10739
|
+
reset: M,
|
|
10740
10740
|
resetValidation: T,
|
|
10741
|
-
validate:
|
|
10741
|
+
validate: k,
|
|
10742
10742
|
validationClasses: N
|
|
10743
10743
|
} = Sy(e, "v-input", u), D = y(() => ({
|
|
10744
10744
|
id: u,
|
|
@@ -10749,9 +10749,9 @@ const na = _({
|
|
|
10749
10749
|
isPristine: h,
|
|
10750
10750
|
isValid: C,
|
|
10751
10751
|
isValidating: I,
|
|
10752
|
-
reset:
|
|
10752
|
+
reset: M,
|
|
10753
10753
|
resetValidation: T,
|
|
10754
|
-
validate:
|
|
10754
|
+
validate: k
|
|
10755
10755
|
})), b = y(() => e.errorMessages?.length || !h.value && d.value.length ? d.value : e.hint && (e.persistentHint || e.focused) ? e.hint : e.messages);
|
|
10756
10756
|
return Ae(() => {
|
|
10757
10757
|
const P = !!(r.prepend || e.prependIcon), H = !!(r.append || e.appendIcon), B = b.value.length > 0, V = !e.hideDetails || e.hideDetails === "auto" && (B || !!r.details);
|
|
@@ -10785,9 +10785,9 @@ const na = _({
|
|
|
10785
10785
|
message: r.message
|
|
10786
10786
|
}), r.details?.(D.value)])]);
|
|
10787
10787
|
}), {
|
|
10788
|
-
reset:
|
|
10788
|
+
reset: M,
|
|
10789
10789
|
resetValidation: T,
|
|
10790
|
-
validate:
|
|
10790
|
+
validate: k,
|
|
10791
10791
|
isValid: C,
|
|
10792
10792
|
errorMessages: d
|
|
10793
10793
|
};
|
|
@@ -10917,7 +10917,7 @@ const F2 = _({
|
|
|
10917
10917
|
step: m,
|
|
10918
10918
|
decimals: v,
|
|
10919
10919
|
roundValue: h
|
|
10920
|
-
} = n, C = y(() => parseInt(t.thumbSize, 10)), I = y(() => parseInt(t.tickSize, 10)),
|
|
10920
|
+
} = n, C = y(() => parseInt(t.thumbSize, 10)), I = y(() => parseInt(t.tickSize, 10)), M = y(() => parseInt(t.trackSize, 10)), T = y(() => (g.value - d.value) / m.value), k = oe(t, "disabled"), N = y(() => t.error || t.disabled ? void 0 : t.thumbColor ?? t.color), D = y(() => t.error || t.disabled ? void 0 : t.trackColor ?? t.color), b = y(() => t.error || t.disabled ? void 0 : t.trackFillColor ?? t.color), P = ye(!1), H = ye(0), B = F(), V = F();
|
|
10921
10921
|
function w(ie) {
|
|
10922
10922
|
const Oe = t.direction === "vertical", Lt = Oe ? "top" : "left", nt = Oe ? "height" : "width", la = Oe ? "clientY" : "clientX", {
|
|
10923
10923
|
[Lt]: In,
|
|
@@ -10987,7 +10987,7 @@ const F2 = _({
|
|
|
10987
10987
|
activeThumbRef: V,
|
|
10988
10988
|
color: oe(t, "color"),
|
|
10989
10989
|
decimals: v,
|
|
10990
|
-
disabled:
|
|
10990
|
+
disabled: k,
|
|
10991
10991
|
direction: oe(t, "direction"),
|
|
10992
10992
|
elevation: oe(t, "elevation"),
|
|
10993
10993
|
hasLabels: ue,
|
|
@@ -11016,7 +11016,7 @@ const F2 = _({
|
|
|
11016
11016
|
trackColor: D,
|
|
11017
11017
|
trackContainerRef: B,
|
|
11018
11018
|
trackFillColor: b,
|
|
11019
|
-
trackSize:
|
|
11019
|
+
trackSize: M,
|
|
11020
11020
|
vertical: u
|
|
11021
11021
|
};
|
|
11022
11022
|
return gt(qi, Ne), Ne;
|
|
@@ -11075,11 +11075,11 @@ const F2 = _({
|
|
|
11075
11075
|
readonly: h,
|
|
11076
11076
|
elevation: C,
|
|
11077
11077
|
mousePressed: I,
|
|
11078
|
-
decimals:
|
|
11078
|
+
decimals: M,
|
|
11079
11079
|
indexFromEnd: T
|
|
11080
|
-
} = l,
|
|
11080
|
+
} = l, k = y(() => u.value ? void 0 : C.value), {
|
|
11081
11081
|
elevationClasses: N
|
|
11082
|
-
} = rn(
|
|
11082
|
+
} = rn(k), {
|
|
11083
11083
|
textColorClasses: D,
|
|
11084
11084
|
textColorStyles: b
|
|
11085
11085
|
} = $t(i), {
|
|
@@ -11153,7 +11153,7 @@ const F2 = _({
|
|
|
11153
11153
|
class: ["v-slider-thumb__label"]
|
|
11154
11154
|
}, [c("div", null, [n["thumb-label"]?.({
|
|
11155
11155
|
modelValue: e.modelValue
|
|
11156
|
-
}) ?? e.modelValue.toFixed(o.value ?
|
|
11156
|
+
}) ?? e.modelValue.toFixed(o.value ? M.value : 1)])])]), [[Nt, d.value && e.focused || d.value === "always"]])]
|
|
11157
11157
|
})]);
|
|
11158
11158
|
}), {};
|
|
11159
11159
|
}
|
|
@@ -11195,10 +11195,10 @@ const F2 = _({
|
|
|
11195
11195
|
roundedClasses: C
|
|
11196
11196
|
} = xt(s), {
|
|
11197
11197
|
backgroundColorClasses: I,
|
|
11198
|
-
backgroundColorStyles:
|
|
11198
|
+
backgroundColorStyles: M
|
|
11199
11199
|
} = Vt(f), {
|
|
11200
11200
|
backgroundColorClasses: T,
|
|
11201
|
-
backgroundColorStyles:
|
|
11201
|
+
backgroundColorStyles: k
|
|
11202
11202
|
} = Vt(u), N = y(() => `inset-${g.value ? "block" : "inline"}-${h.value ? "end" : "start"}`), D = y(() => g.value ? "height" : "width"), b = y(() => ({
|
|
11203
11203
|
[N.value]: "0%",
|
|
11204
11204
|
[D.value]: "100%"
|
|
@@ -11236,13 +11236,13 @@ const F2 = _({
|
|
|
11236
11236
|
}],
|
|
11237
11237
|
style: {
|
|
11238
11238
|
...b.value,
|
|
11239
|
-
...
|
|
11239
|
+
...k.value
|
|
11240
11240
|
}
|
|
11241
11241
|
}, null), c("div", {
|
|
11242
11242
|
class: ["v-slider-track__fill", I.value],
|
|
11243
11243
|
style: {
|
|
11244
11244
|
...H.value,
|
|
11245
|
-
...
|
|
11245
|
+
...M.value
|
|
11246
11246
|
}
|
|
11247
11247
|
}, null), i.value && c("div", {
|
|
11248
11248
|
class: ["v-slider-track__ticks", {
|
|
@@ -11290,9 +11290,9 @@ const F2 = _({
|
|
|
11290
11290
|
mousePressed: h,
|
|
11291
11291
|
onSliderMousedown: C,
|
|
11292
11292
|
onSliderTouchstart: I,
|
|
11293
|
-
position:
|
|
11293
|
+
position: M,
|
|
11294
11294
|
trackContainerRef: T,
|
|
11295
|
-
readonly:
|
|
11295
|
+
readonly: k
|
|
11296
11296
|
} = W2({
|
|
11297
11297
|
props: e,
|
|
11298
11298
|
steps: u,
|
|
@@ -11318,7 +11318,7 @@ const F2 = _({
|
|
|
11318
11318
|
isFocused: N,
|
|
11319
11319
|
focus: D,
|
|
11320
11320
|
blur: b
|
|
11321
|
-
} = ta(e), P = y(() =>
|
|
11321
|
+
} = ta(e), P = y(() => M(f.value[0])), H = y(() => M(f.value[1]));
|
|
11322
11322
|
return Ae(() => {
|
|
11323
11323
|
const B = Kn.filterProps(e), V = !!(e.label || n.label || n.prepend);
|
|
11324
11324
|
return c(Kn, ce({
|
|
@@ -11345,8 +11345,8 @@ const F2 = _({
|
|
|
11345
11345
|
} = w;
|
|
11346
11346
|
return c("div", {
|
|
11347
11347
|
class: "v-slider__container",
|
|
11348
|
-
onMousedown:
|
|
11349
|
-
onTouchstartPassive:
|
|
11348
|
+
onMousedown: k.value ? void 0 : C,
|
|
11349
|
+
onTouchstartPassive: k.value ? void 0 : I
|
|
11350
11350
|
}, [c("input", {
|
|
11351
11351
|
id: `${L.value}_start`,
|
|
11352
11352
|
name: e.name || L.value,
|
|
@@ -11533,7 +11533,7 @@ const F2 = _({
|
|
|
11533
11533
|
roundedClasses: g
|
|
11534
11534
|
} = xt(e), {
|
|
11535
11535
|
rtlClasses: m
|
|
11536
|
-
} = kt(), v = y(() => e.dirty || e.active), h = y(() => !e.singleLine && !!(e.label || l.label)), C = Yt(), I = y(() => e.id || `input-${C}`),
|
|
11536
|
+
} = kt(), v = y(() => e.dirty || e.active), h = y(() => !e.singleLine && !!(e.label || l.label)), C = Yt(), I = y(() => e.id || `input-${C}`), M = y(() => `${I.value}-messages`), T = F(), k = F(), N = F(), D = y(() => ["plain", "underlined"].includes(e.variant)), {
|
|
11537
11537
|
backgroundColorClasses: b,
|
|
11538
11538
|
backgroundColorStyles: P
|
|
11539
11539
|
} = Vt(oe(e, "bgColor")), {
|
|
@@ -11542,7 +11542,7 @@ const F2 = _({
|
|
|
11542
11542
|
} = $t(y(() => e.error || e.disabled ? void 0 : v.value && o.value ? e.color : e.baseColor));
|
|
11543
11543
|
de(v, (W) => {
|
|
11544
11544
|
if (h.value) {
|
|
11545
|
-
const ee = T.value.$el, K =
|
|
11545
|
+
const ee = T.value.$el, K = k.value.$el;
|
|
11546
11546
|
requestAnimationFrame(() => {
|
|
11547
11547
|
const S = Si(ee), A = K.getBoundingClientRect(), X = A.x - S.x, j = A.y - S.y - (S.height / 2 - A.height / 2), Z = A.width / 0.75, q = Math.abs(Z - S.width) > 1 ? {
|
|
11548
11548
|
maxWidth: he(Z)
|
|
@@ -11622,7 +11622,7 @@ const F2 = _({
|
|
|
11622
11622
|
"data-no-activator": ""
|
|
11623
11623
|
}, [["filled", "solo", "solo-inverted", "solo-filled"].includes(e.variant) && h.value && c(pa, {
|
|
11624
11624
|
key: "floating-label",
|
|
11625
|
-
ref:
|
|
11625
|
+
ref: k,
|
|
11626
11626
|
class: [H.value],
|
|
11627
11627
|
floating: !0,
|
|
11628
11628
|
for: I.value,
|
|
@@ -11639,7 +11639,7 @@ const F2 = _({
|
|
|
11639
11639
|
props: {
|
|
11640
11640
|
id: I.value,
|
|
11641
11641
|
class: "v-field__input",
|
|
11642
|
-
"aria-describedby":
|
|
11642
|
+
"aria-describedby": M.value
|
|
11643
11643
|
},
|
|
11644
11644
|
focus: u,
|
|
11645
11645
|
blur: f
|
|
@@ -11687,7 +11687,7 @@ const F2 = _({
|
|
|
11687
11687
|
}, null), h.value && c("div", {
|
|
11688
11688
|
class: "v-field__outline__notch"
|
|
11689
11689
|
}, [c(pa, {
|
|
11690
|
-
ref:
|
|
11690
|
+
ref: k,
|
|
11691
11691
|
floating: !0,
|
|
11692
11692
|
for: I.value
|
|
11693
11693
|
}, {
|
|
@@ -11695,7 +11695,7 @@ const F2 = _({
|
|
|
11695
11695
|
})]), c("div", {
|
|
11696
11696
|
class: "v-field__outline__end"
|
|
11697
11697
|
}, null)]), D.value && h.value && c(pa, {
|
|
11698
|
-
ref:
|
|
11698
|
+
ref: k,
|
|
11699
11699
|
floating: !0,
|
|
11700
11700
|
for: I.value
|
|
11701
11701
|
}, {
|
|
@@ -11837,13 +11837,13 @@ const zy = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
11837
11837
|
function I() {
|
|
11838
11838
|
h.value !== document.activeElement && h.value?.focus(), s.value || i();
|
|
11839
11839
|
}
|
|
11840
|
-
function
|
|
11840
|
+
function M(D) {
|
|
11841
11841
|
r("mousedown:control", D), D.target !== h.value && (I(), D.preventDefault());
|
|
11842
11842
|
}
|
|
11843
11843
|
function T(D) {
|
|
11844
11844
|
I(), r("click:control", D);
|
|
11845
11845
|
}
|
|
11846
|
-
function
|
|
11846
|
+
function k(D) {
|
|
11847
11847
|
D.stopPropagation(), I(), Fe(() => {
|
|
11848
11848
|
a.value = null, B3(e["onClick:clear"], D);
|
|
11849
11849
|
});
|
|
@@ -11887,9 +11887,9 @@ const zy = ["color", "file", "time", "date", "datetime-local", "week", "month"],
|
|
|
11887
11887
|
} = L;
|
|
11888
11888
|
return c(Gi, ce({
|
|
11889
11889
|
ref: v,
|
|
11890
|
-
onMousedown:
|
|
11890
|
+
onMousedown: M,
|
|
11891
11891
|
onClick: T,
|
|
11892
|
-
"onClick:clear":
|
|
11892
|
+
"onClick:clear": k,
|
|
11893
11893
|
"onClick:prependInner": e["onClick:prependInner"],
|
|
11894
11894
|
"onClick:appendInner": e["onClick:appendInner"],
|
|
11895
11895
|
role: e.role
|
|
@@ -12149,22 +12149,22 @@ const By = { class: "single-slider-selector" }, Ry = { class: "text-caption" },
|
|
|
12149
12149
|
},
|
|
12150
12150
|
getActiveThumb: () => l.value?.$el
|
|
12151
12151
|
}), {
|
|
12152
|
-
isFocused:
|
|
12152
|
+
isFocused: M,
|
|
12153
12153
|
focus: T,
|
|
12154
|
-
blur:
|
|
12154
|
+
blur: k
|
|
12155
12155
|
} = ta(e), N = y(() => h(i.value));
|
|
12156
12156
|
return Ae(() => {
|
|
12157
12157
|
const D = Kn.filterProps(e), b = !!(e.label || n.label || n.prepend);
|
|
12158
12158
|
return c(Kn, ce({
|
|
12159
12159
|
class: ["v-slider", {
|
|
12160
12160
|
"v-slider--has-labels": !!n["tick-label"] || C.value,
|
|
12161
|
-
"v-slider--focused":
|
|
12161
|
+
"v-slider--focused": M.value,
|
|
12162
12162
|
"v-slider--pressed": f.value,
|
|
12163
12163
|
"v-slider--disabled": e.disabled
|
|
12164
12164
|
}, a.value, e.class],
|
|
12165
12165
|
style: e.style
|
|
12166
12166
|
}, D, {
|
|
12167
|
-
focused:
|
|
12167
|
+
focused: M.value
|
|
12168
12168
|
}), {
|
|
12169
12169
|
...n,
|
|
12170
12170
|
prepend: b ? (P) => c(pe, null, [n.label?.(P) ?? (e.label ? c(P0, {
|
|
@@ -12197,7 +12197,7 @@ const By = { class: "single-slider-selector" }, Ry = { class: "text-caption" },
|
|
|
12197
12197
|
}), c(Rs, {
|
|
12198
12198
|
ref: l,
|
|
12199
12199
|
"aria-describedby": B.value,
|
|
12200
|
-
focused:
|
|
12200
|
+
focused: M.value,
|
|
12201
12201
|
min: o.value,
|
|
12202
12202
|
max: u.value,
|
|
12203
12203
|
modelValue: i.value,
|
|
@@ -12205,7 +12205,7 @@ const By = { class: "single-slider-selector" }, Ry = { class: "text-caption" },
|
|
|
12205
12205
|
position: N.value,
|
|
12206
12206
|
elevation: e.elevation,
|
|
12207
12207
|
onFocus: T,
|
|
12208
|
-
onBlur:
|
|
12208
|
+
onBlur: k,
|
|
12209
12209
|
ripple: e.ripple
|
|
12210
12210
|
}, {
|
|
12211
12211
|
"thumb-label": n["thumb-label"]
|
|
@@ -12823,7 +12823,7 @@ function I0(e, t) {
|
|
|
12823
12823
|
const v = r.find((h) => h.id === g);
|
|
12824
12824
|
if (!(m && v?.disabled))
|
|
12825
12825
|
if (e.multiple) {
|
|
12826
|
-
const h = l.value.slice(), C = h.findIndex((
|
|
12826
|
+
const h = l.value.slice(), C = h.findIndex((M) => M === g), I = ~C;
|
|
12827
12827
|
if (m = m ?? !I, I && e.mandatory && h.length <= 1 || !I && e.max != null && h.length + 1 > e.max)
|
|
12828
12828
|
return;
|
|
12829
12829
|
C < 0 && m ? h.push(g) : C >= 0 && !m && h.splice(C, 1), l.value = h;
|
|
@@ -12973,7 +12973,7 @@ const i6 = _({
|
|
|
12973
12973
|
} = g2(), {
|
|
12974
12974
|
resizeRef: h,
|
|
12975
12975
|
contentRect: C
|
|
12976
|
-
} = $r(), I = y(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))),
|
|
12976
|
+
} = $r(), I = y(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), M = y(() => Number(e.width)), T = y(() => o.value ? Number(e.size) : C.value ? C.value.width : Math.max(M.value, 32)), k = y(() => r / (1 - M.value / T.value) * 2), N = y(() => M.value / T.value * k.value), D = y(() => he((100 - I.value) / 100 * l));
|
|
12977
12977
|
return Kt(() => {
|
|
12978
12978
|
m.value = a.value, h.value = a.value;
|
|
12979
12979
|
}), Ae(() => c(e.tag, {
|
|
@@ -12994,7 +12994,7 @@ const i6 = _({
|
|
|
12994
12994
|
transform: `rotate(calc(-90deg + ${Number(e.rotate)}deg))`
|
|
12995
12995
|
},
|
|
12996
12996
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12997
|
-
viewBox: `0 0 ${
|
|
12997
|
+
viewBox: `0 0 ${k.value} ${k.value}`
|
|
12998
12998
|
}, [c("circle", {
|
|
12999
12999
|
class: ["v-progress-circular__underlay", d.value],
|
|
13000
13000
|
style: g.value,
|
|
@@ -13110,19 +13110,19 @@ const u6 = _({
|
|
|
13110
13110
|
} = xt(e), {
|
|
13111
13111
|
sizeClasses: C,
|
|
13112
13112
|
sizeStyles: I
|
|
13113
|
-
} = $l(e),
|
|
13113
|
+
} = $l(e), M = Ki(e, e.symbol, !1), T = S0(e, n), k = y(() => e.active !== void 0 ? e.active : T.isLink.value ? T.isActive?.value : M?.isSelected.value), N = y(() => M?.disabled.value || e.disabled), D = y(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), b = y(() => {
|
|
13114
13114
|
if (!(e.value === void 0 || typeof e.value == "symbol"))
|
|
13115
13115
|
return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
|
|
13116
13116
|
});
|
|
13117
13117
|
function P(H) {
|
|
13118
|
-
N.value || T.isLink.value && (H.metaKey || H.ctrlKey || H.shiftKey || H.button !== 0 || n.target === "_blank") || (T.navigate?.(H),
|
|
13118
|
+
N.value || T.isLink.value && (H.metaKey || H.ctrlKey || H.shiftKey || H.button !== 0 || n.target === "_blank") || (T.navigate?.(H), M?.toggle());
|
|
13119
13119
|
}
|
|
13120
|
-
return c6(T,
|
|
13121
|
-
const H = T.isLink.value ? "a" : e.tag, B = !!(e.prependIcon || r.prepend), V = !!(e.appendIcon || r.append), w = !!(e.icon && e.icon !== !0), L =
|
|
13120
|
+
return c6(T, M?.select), Ae(() => {
|
|
13121
|
+
const H = T.isLink.value ? "a" : e.tag, B = !!(e.prependIcon || r.prepend), V = !!(e.appendIcon || r.append), w = !!(e.icon && e.icon !== !0), L = M?.isSelected.value && (!T.isLink.value || T.isActive?.value) || !M || T.isActive?.value;
|
|
13122
13122
|
return Ue(c(H, {
|
|
13123
13123
|
type: H === "a" ? void 0 : "button",
|
|
13124
|
-
class: ["v-btn",
|
|
13125
|
-
"v-btn--active":
|
|
13124
|
+
class: ["v-btn", M?.selectedClass.value, {
|
|
13125
|
+
"v-btn--active": k.value,
|
|
13126
13126
|
"v-btn--block": e.block,
|
|
13127
13127
|
"v-btn--disabled": N.value,
|
|
13128
13128
|
"v-btn--elevated": D.value,
|
|
@@ -13195,7 +13195,7 @@ const u6 = _({
|
|
|
13195
13195
|
}, null)])]
|
|
13196
13196
|
}), [[en("ripple"), !N.value && e.ripple, null]]);
|
|
13197
13197
|
}), {
|
|
13198
|
-
group:
|
|
13198
|
+
group: M
|
|
13199
13199
|
};
|
|
13200
13200
|
}
|
|
13201
13201
|
});
|
|
@@ -13316,8 +13316,8 @@ function v6(e, t, n) {
|
|
|
13316
13316
|
d && m();
|
|
13317
13317
|
});
|
|
13318
13318
|
de([e.target, e.contentEl], (v, h) => {
|
|
13319
|
-
let [C, I] = v, [
|
|
13320
|
-
|
|
13319
|
+
let [C, I] = v, [M, T] = h;
|
|
13320
|
+
M && !Array.isArray(M) && g.unobserve(M), C && !Array.isArray(C) && g.observe(C), T && g.unobserve(T), I && g.observe(I);
|
|
13321
13321
|
}, {
|
|
13322
13322
|
immediate: !0
|
|
13323
13323
|
}), Et(() => {
|
|
@@ -13328,7 +13328,7 @@ function v6(e, t, n) {
|
|
|
13328
13328
|
return;
|
|
13329
13329
|
const v = W3(e.target.value), h = h6(e.contentEl.value, e.isRtl.value), C = Ja(e.contentEl.value), I = 12;
|
|
13330
13330
|
C.length || (C.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (h.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), h.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
|
|
13331
|
-
const
|
|
13331
|
+
const M = C.reduce((V, w) => {
|
|
13332
13332
|
const L = w.getBoundingClientRect(), W = new Er({
|
|
13333
13333
|
x: w === document.documentElement ? 0 : L.x,
|
|
13334
13334
|
y: w === document.documentElement ? 0 : L.y,
|
|
@@ -13342,12 +13342,12 @@ function v6(e, t, n) {
|
|
|
13342
13342
|
height: Math.min(V.bottom, W.bottom) - Math.max(V.top, W.top)
|
|
13343
13343
|
}) : W;
|
|
13344
13344
|
}, void 0);
|
|
13345
|
-
|
|
13345
|
+
M.x += I, M.y += I, M.width -= I * 2, M.height -= I * 2;
|
|
13346
13346
|
let T = {
|
|
13347
13347
|
anchor: l.value,
|
|
13348
13348
|
origin: a.value
|
|
13349
13349
|
};
|
|
13350
|
-
function
|
|
13350
|
+
function k(V) {
|
|
13351
13351
|
const w = new Er(h), L = Gc(V.anchor, v), W = Gc(V.origin, w);
|
|
13352
13352
|
let {
|
|
13353
13353
|
x: ee,
|
|
@@ -13382,7 +13382,7 @@ function v6(e, t, n) {
|
|
|
13382
13382
|
break;
|
|
13383
13383
|
}
|
|
13384
13384
|
return w.x += ee, w.y += K, w.width = Math.min(w.width, o.value), w.height = Math.min(w.height, u.value), {
|
|
13385
|
-
overflows: ac(w,
|
|
13385
|
+
overflows: ac(w, M),
|
|
13386
13386
|
x: ee,
|
|
13387
13387
|
y: K
|
|
13388
13388
|
};
|
|
@@ -13405,7 +13405,7 @@ function v6(e, t, n) {
|
|
|
13405
13405
|
x: V,
|
|
13406
13406
|
y: w,
|
|
13407
13407
|
overflows: L
|
|
13408
|
-
} =
|
|
13408
|
+
} = k(T);
|
|
13409
13409
|
N += V, D += w, h.x += V, h.y += w;
|
|
13410
13410
|
{
|
|
13411
13411
|
const W = lc(T.anchor), ee = L.x.before || L.x.after, K = L.y.before || L.y.after;
|
|
@@ -13423,7 +13423,7 @@ function v6(e, t, n) {
|
|
|
13423
13423
|
X.anchor = j(X.anchor), X.origin = j(X.origin);
|
|
13424
13424
|
const {
|
|
13425
13425
|
overflows: Z
|
|
13426
|
-
} =
|
|
13426
|
+
} = k(X);
|
|
13427
13427
|
(Z[A].before <= L[A].before && Z[A].after <= L[A].after || Z[A].before + Z[A].after < (L[A].before + L[A].after) / 2) && (T = X, S = P[A] = !0);
|
|
13428
13428
|
}
|
|
13429
13429
|
}), S)
|
|
@@ -13431,8 +13431,8 @@ function v6(e, t, n) {
|
|
|
13431
13431
|
}
|
|
13432
13432
|
L.x.before && (N += L.x.before, h.x += L.x.before), L.x.after && (N -= L.x.after, h.x -= L.x.after), L.y.before && (D += L.y.before, h.y += L.y.before), L.y.after && (D -= L.y.after, h.y -= L.y.after);
|
|
13433
13433
|
{
|
|
13434
|
-
const W = ac(h,
|
|
13435
|
-
b.x =
|
|
13434
|
+
const W = ac(h, M);
|
|
13435
|
+
b.x = M.width - W.x.before - W.x.after, b.y = M.height - W.y.before - W.y.after, N += W.x.before, h.x += W.x.before, D += W.y.before, h.y += W.y.before;
|
|
13436
13436
|
}
|
|
13437
13437
|
break;
|
|
13438
13438
|
}
|
|
@@ -13674,13 +13674,13 @@ function V6(e, t) {
|
|
|
13674
13674
|
}, {
|
|
13675
13675
|
flush: "post"
|
|
13676
13676
|
});
|
|
13677
|
-
const
|
|
13677
|
+
const M = F();
|
|
13678
13678
|
Kt(() => {
|
|
13679
|
-
|
|
13680
|
-
a.value = Ya(
|
|
13679
|
+
M.value && Fe(() => {
|
|
13680
|
+
a.value = Ya(M.value);
|
|
13681
13681
|
});
|
|
13682
13682
|
});
|
|
13683
|
-
const T = F(),
|
|
13683
|
+
const T = F(), k = y(() => e.target === "cursor" && m.value ? m.value : T.value ? Ya(T.value) : of(e.target, l) || a.value), N = y(() => Array.isArray(k.value) ? void 0 : k.value);
|
|
13684
13684
|
let D;
|
|
13685
13685
|
return de(() => !!e.activator, (b) => {
|
|
13686
13686
|
b && Re ? (D = ni(), D.run(() => {
|
|
@@ -13696,8 +13696,8 @@ function V6(e, t) {
|
|
|
13696
13696
|
D?.stop();
|
|
13697
13697
|
}), {
|
|
13698
13698
|
activatorEl: a,
|
|
13699
|
-
activatorRef:
|
|
13700
|
-
target:
|
|
13699
|
+
activatorRef: M,
|
|
13700
|
+
target: k,
|
|
13701
13701
|
targetEl: N,
|
|
13702
13702
|
targetRef: T,
|
|
13703
13703
|
activatorEvents: h,
|
|
@@ -13979,9 +13979,9 @@ const T0 = _({
|
|
|
13979
13979
|
stackStyles: C
|
|
13980
13980
|
} = O6(s, oe(e, "zIndex"), e._disableGlobalStack), {
|
|
13981
13981
|
activatorEl: I,
|
|
13982
|
-
activatorRef:
|
|
13982
|
+
activatorRef: M,
|
|
13983
13983
|
target: T,
|
|
13984
|
-
targetEl:
|
|
13984
|
+
targetEl: k,
|
|
13985
13985
|
targetRef: N,
|
|
13986
13986
|
activatorEvents: D,
|
|
13987
13987
|
contentEvents: b,
|
|
@@ -14009,7 +14009,7 @@ const T0 = _({
|
|
|
14009
14009
|
b6(e, {
|
|
14010
14010
|
root: w,
|
|
14011
14011
|
contentEl: W,
|
|
14012
|
-
targetEl:
|
|
14012
|
+
targetEl: k,
|
|
14013
14013
|
isActive: s,
|
|
14014
14014
|
updateLocation: K
|
|
14015
14015
|
});
|
|
@@ -14061,7 +14061,7 @@ const T0 = _({
|
|
|
14061
14061
|
return Ae(() => c(pe, null, [n.activator?.({
|
|
14062
14062
|
isActive: s.value,
|
|
14063
14063
|
props: ce({
|
|
14064
|
-
ref:
|
|
14064
|
+
ref: M,
|
|
14065
14065
|
targetRef: N
|
|
14066
14066
|
}, D.value, e.activatorProps)
|
|
14067
14067
|
}), B.value && d.value && c(_g, {
|
|
@@ -14567,10 +14567,10 @@ const T0 = _({
|
|
|
14567
14567
|
roundedClasses: C
|
|
14568
14568
|
} = xt(e), {
|
|
14569
14569
|
textColorClasses: I,
|
|
14570
|
-
textColorStyles:
|
|
14570
|
+
textColorStyles: M
|
|
14571
14571
|
} = $t(oe(e, "borderColor")), {
|
|
14572
14572
|
t: T
|
|
14573
|
-
} = b0(),
|
|
14573
|
+
} = b0(), k = y(() => ({
|
|
14574
14574
|
"aria-label": T(e.closeLabel),
|
|
14575
14575
|
onClick(N) {
|
|
14576
14576
|
l.value = !1, n("click:close", N);
|
|
@@ -14591,7 +14591,7 @@ const T0 = _({
|
|
|
14591
14591
|
default: () => [al(!1, "v-alert"), e.border && c("div", {
|
|
14592
14592
|
key: "border",
|
|
14593
14593
|
class: ["v-alert__border", I.value],
|
|
14594
|
-
style:
|
|
14594
|
+
style: M.value
|
|
14595
14595
|
}, null), N && c("div", {
|
|
14596
14596
|
key: "prepend",
|
|
14597
14597
|
class: "v-alert__prepend"
|
|
@@ -14633,14 +14633,14 @@ const T0 = _({
|
|
|
14633
14633
|
}
|
|
14634
14634
|
}, {
|
|
14635
14635
|
default: () => [r.close?.({
|
|
14636
|
-
props:
|
|
14636
|
+
props: k.value
|
|
14637
14637
|
})]
|
|
14638
14638
|
}) : c(Se, ce({
|
|
14639
14639
|
key: "close-btn",
|
|
14640
14640
|
icon: e.closeIcon,
|
|
14641
14641
|
size: "x-small",
|
|
14642
14642
|
variant: "text"
|
|
14643
|
-
},
|
|
14643
|
+
}, k.value), null)])]
|
|
14644
14644
|
});
|
|
14645
14645
|
};
|
|
14646
14646
|
}
|
|
@@ -16282,7 +16282,7 @@ const hp = ll({
|
|
|
16282
16282
|
root: m,
|
|
16283
16283
|
parent: v,
|
|
16284
16284
|
openOnSelect: h
|
|
16285
|
-
} = Vf(s, !1), C = bf(), I = y(() => e.active !== !1 && (e.active || a.isActive?.value || (m.activatable.value ? o.value : f.value))),
|
|
16285
|
+
} = Vf(s, !1), C = bf(), I = y(() => e.active !== !1 && (e.active || a.isActive?.value || (m.activatable.value ? o.value : f.value))), M = y(() => e.link !== !1 && a.isLink.value), T = y(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || !!C && (m.selectable.value || m.activatable.value || e.value != null))), k = y(() => e.rounded || e.nav), N = y(() => e.color ?? e.activeColor), D = y(() => ({
|
|
16286
16286
|
color: I.value ? N.value ?? e.baseColor : e.baseColor,
|
|
16287
16287
|
variant: e.variant
|
|
16288
16288
|
}));
|
|
@@ -16307,7 +16307,7 @@ const hp = ll({
|
|
|
16307
16307
|
elevationClasses: W
|
|
16308
16308
|
} = rn(e), {
|
|
16309
16309
|
roundedClasses: ee
|
|
16310
|
-
} = xt(
|
|
16310
|
+
} = xt(k), K = y(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), S = y(() => ({
|
|
16311
16311
|
isActive: I.value,
|
|
16312
16312
|
select: u,
|
|
16313
16313
|
isSelected: f.value,
|
|
@@ -16320,7 +16320,7 @@ const hp = ll({
|
|
|
16320
16320
|
(j.key === "Enter" || j.key === " ") && (j.preventDefault(), A(j));
|
|
16321
16321
|
}
|
|
16322
16322
|
return Ae(() => {
|
|
16323
|
-
const j =
|
|
16323
|
+
const j = M.value ? "a" : e.tag, Z = r.title || e.title != null, q = r.subtitle || e.subtitle != null, ae = !!(e.appendAvatar || e.appendIcon), ue = !!(ae || r.append), Ne = !!(e.prependAvatar || e.prependIcon), ie = !!(Ne || r.prepend);
|
|
16324
16324
|
return C?.updateHasPrepend(ie), e.activeColor && Sm("active-color", ["color", "base-color"]), Ue(c(j, {
|
|
16325
16325
|
class: ["v-list-item", {
|
|
16326
16326
|
"v-list-item--active": I.value,
|
|
@@ -16335,7 +16335,7 @@ const hp = ll({
|
|
|
16335
16335
|
href: a.href.value,
|
|
16336
16336
|
tabindex: T.value ? C ? -2 : 0 : void 0,
|
|
16337
16337
|
onClick: A,
|
|
16338
|
-
onKeydown: T.value && !
|
|
16338
|
+
onKeydown: T.value && !M.value && X
|
|
16339
16339
|
}, {
|
|
16340
16340
|
default: () => [al(T.value || I.value, "v-list-item"), ie && c("div", {
|
|
16341
16341
|
key: "prepend",
|
|
@@ -16699,11 +16699,11 @@ const Sp = _({
|
|
|
16699
16699
|
open: m,
|
|
16700
16700
|
parents: v,
|
|
16701
16701
|
select: h
|
|
16702
|
-
} = gp(e), C = y(() => e.lines ? `v-list--${e.lines}-line` : void 0), I = oe(e, "activeColor"),
|
|
16702
|
+
} = gp(e), C = y(() => e.lines ? `v-list--${e.lines}-line` : void 0), I = oe(e, "activeColor"), M = oe(e, "baseColor"), T = oe(e, "color");
|
|
16703
16703
|
pf(), hn({
|
|
16704
16704
|
VListGroup: {
|
|
16705
16705
|
activeColor: I,
|
|
16706
|
-
baseColor:
|
|
16706
|
+
baseColor: M,
|
|
16707
16707
|
color: T,
|
|
16708
16708
|
expandIcon: oe(e, "expandIcon"),
|
|
16709
16709
|
collapseIcon: oe(e, "collapseIcon")
|
|
@@ -16711,7 +16711,7 @@ const Sp = _({
|
|
|
16711
16711
|
VListItem: {
|
|
16712
16712
|
activeClass: oe(e, "activeClass"),
|
|
16713
16713
|
activeColor: I,
|
|
16714
|
-
baseColor:
|
|
16714
|
+
baseColor: M,
|
|
16715
16715
|
color: T,
|
|
16716
16716
|
density: oe(e, "density"),
|
|
16717
16717
|
disabled: oe(e, "disabled"),
|
|
@@ -16721,15 +16721,15 @@ const Sp = _({
|
|
|
16721
16721
|
variant: oe(e, "variant")
|
|
16722
16722
|
}
|
|
16723
16723
|
});
|
|
16724
|
-
const
|
|
16724
|
+
const k = ye(!1), N = F();
|
|
16725
16725
|
function D(w) {
|
|
16726
|
-
|
|
16726
|
+
k.value = !0;
|
|
16727
16727
|
}
|
|
16728
16728
|
function b(w) {
|
|
16729
|
-
|
|
16729
|
+
k.value = !1;
|
|
16730
16730
|
}
|
|
16731
16731
|
function P(w) {
|
|
16732
|
-
!
|
|
16732
|
+
!k.value && !(w.relatedTarget && N.value?.contains(w.relatedTarget)) && V();
|
|
16733
16733
|
}
|
|
16734
16734
|
function H(w) {
|
|
16735
16735
|
if (N.value) {
|
|
@@ -16747,7 +16747,7 @@ const Sp = _({
|
|
|
16747
16747
|
}
|
|
16748
16748
|
}
|
|
16749
16749
|
function B(w) {
|
|
16750
|
-
|
|
16750
|
+
k.value = !0;
|
|
16751
16751
|
}
|
|
16752
16752
|
function V(w) {
|
|
16753
16753
|
if (N.value)
|
|
@@ -16761,7 +16761,7 @@ const Sp = _({
|
|
|
16761
16761
|
"v-list--slim": e.slim
|
|
16762
16762
|
}, l.value, a.value, i.value, o.value, f.value, C.value, d.value, e.class],
|
|
16763
16763
|
style: [s.value, u.value, e.style],
|
|
16764
|
-
tabindex: e.disabled ||
|
|
16764
|
+
tabindex: e.disabled || k.value ? -1 : 0,
|
|
16765
16765
|
role: "listbox",
|
|
16766
16766
|
"aria-activedescendant": void 0,
|
|
16767
16767
|
onFocusin: D,
|
|
@@ -16870,8 +16870,8 @@ const Sp = _({
|
|
|
16870
16870
|
}, l), {
|
|
16871
16871
|
activator: n.activator,
|
|
16872
16872
|
default: function() {
|
|
16873
|
-
for (var C = arguments.length, I = new Array(C),
|
|
16874
|
-
I[
|
|
16873
|
+
for (var C = arguments.length, I = new Array(C), M = 0; M < C; M++)
|
|
16874
|
+
I[M] = arguments[M];
|
|
16875
16875
|
return c(Qe, {
|
|
16876
16876
|
root: "VMenu"
|
|
16877
16877
|
}, {
|
|
@@ -17002,13 +17002,13 @@ function kp(e) {
|
|
|
17002
17002
|
Tt(() => {
|
|
17003
17003
|
window.addEventListener("touchstart", I, {
|
|
17004
17004
|
passive: !0
|
|
17005
|
-
}), window.addEventListener("touchmove",
|
|
17005
|
+
}), window.addEventListener("touchmove", M, {
|
|
17006
17006
|
passive: !1
|
|
17007
17007
|
}), window.addEventListener("touchend", T, {
|
|
17008
17008
|
passive: !0
|
|
17009
17009
|
});
|
|
17010
17010
|
}), wt(() => {
|
|
17011
|
-
window.removeEventListener("touchstart", I), window.removeEventListener("touchmove",
|
|
17011
|
+
window.removeEventListener("touchstart", I), window.removeEventListener("touchmove", M), window.removeEventListener("touchend", T);
|
|
17012
17012
|
});
|
|
17013
17013
|
const s = y(() => ["left", "right"].includes(a.value)), {
|
|
17014
17014
|
addMovement: i,
|
|
@@ -17032,7 +17032,7 @@ function kp(e) {
|
|
|
17032
17032
|
const D = N.changedTouches[0].clientX, b = N.changedTouches[0].clientY, P = 25, H = a.value === "left" ? D < P : a.value === "right" ? D > document.documentElement.clientWidth - P : a.value === "top" ? b < P : a.value === "bottom" ? b > document.documentElement.clientHeight - P : zr(), B = t.value && (a.value === "left" ? D < r.value : a.value === "right" ? D > document.documentElement.clientWidth - r.value : a.value === "top" ? b < r.value : a.value === "bottom" ? b > document.documentElement.clientHeight - r.value : zr());
|
|
17033
17033
|
(H || B || t.value && n.value) && (f = !0, v = [D, b], m.value = h(s.value ? D : b, t.value), g.value = C(s.value ? D : b), o(N), i(N));
|
|
17034
17034
|
}
|
|
17035
|
-
function
|
|
17035
|
+
function M(N) {
|
|
17036
17036
|
const D = N.changedTouches[0].clientX, b = N.changedTouches[0].clientY;
|
|
17037
17037
|
if (f) {
|
|
17038
17038
|
if (!N.cancelable) {
|
|
@@ -17060,14 +17060,14 @@ function kp(e) {
|
|
|
17060
17060
|
bottom: "up"
|
|
17061
17061
|
}[a.value] || zr()) : t.value = g.value > 0.5;
|
|
17062
17062
|
}
|
|
17063
|
-
const
|
|
17063
|
+
const k = y(() => d.value ? {
|
|
17064
17064
|
transform: a.value === "left" ? `translateX(calc(-100% + ${g.value * r.value}px))` : a.value === "right" ? `translateX(calc(100% - ${g.value * r.value}px))` : a.value === "top" ? `translateY(calc(-100% + ${g.value * r.value}px))` : a.value === "bottom" ? `translateY(calc(100% - ${g.value * r.value}px))` : zr(),
|
|
17065
17065
|
transition: "none"
|
|
17066
17066
|
} : void 0);
|
|
17067
17067
|
return {
|
|
17068
17068
|
isDragging: d,
|
|
17069
17069
|
dragProgress: g,
|
|
17070
|
-
dragStyles:
|
|
17070
|
+
dragStyles: k
|
|
17071
17071
|
};
|
|
17072
17072
|
}
|
|
17073
17073
|
function zr() {
|
|
@@ -17152,7 +17152,7 @@ const Mp = ["start", "end", "left", "right", "top", "bottom"], Lp = _({
|
|
|
17152
17152
|
ssrBootStyles: C
|
|
17153
17153
|
} = Ef(), {
|
|
17154
17154
|
scopeId: I
|
|
17155
|
-
} = ra(),
|
|
17155
|
+
} = ra(), M = F(), T = ye(!1), k = y(() => e.rail && e.expandOnHover && T.value ? Number(e.width) : Number(e.rail ? e.railWidth : e.width)), N = y(() => Ds(e.location, a.value)), D = y(() => !e.permanent && (g.value || e.temporary)), b = y(() => e.sticky && !D.value && N.value !== "bottom");
|
|
17156
17156
|
fn(() => e.expandOnHover && e.rail != null, () => {
|
|
17157
17157
|
de(T, (j) => r("update:rail", !j));
|
|
17158
17158
|
}), fn(() => !e.disableResizeWatcher, () => {
|
|
@@ -17171,11 +17171,11 @@ const Mp = ["start", "end", "left", "right", "top", "bottom"], Lp = _({
|
|
|
17171
17171
|
} = kp({
|
|
17172
17172
|
isActive: h,
|
|
17173
17173
|
isTemporary: D,
|
|
17174
|
-
width:
|
|
17174
|
+
width: k,
|
|
17175
17175
|
touchless: oe(e, "touchless"),
|
|
17176
17176
|
position: N
|
|
17177
17177
|
}), V = y(() => {
|
|
17178
|
-
const j = D.value ? 0 : e.rail && e.expandOnHover ? Number(e.railWidth) :
|
|
17178
|
+
const j = D.value ? 0 : e.rail && e.expandOnHover ? Number(e.railWidth) : k.value;
|
|
17179
17179
|
return P.value ? j * H.value : j;
|
|
17180
17180
|
}), {
|
|
17181
17181
|
layoutItemStyles: w,
|
|
@@ -17185,7 +17185,7 @@ const Mp = ["start", "end", "left", "right", "top", "bottom"], Lp = _({
|
|
|
17185
17185
|
order: y(() => parseInt(e.order, 10)),
|
|
17186
17186
|
position: N,
|
|
17187
17187
|
layoutSize: V,
|
|
17188
|
-
elementSize:
|
|
17188
|
+
elementSize: k,
|
|
17189
17189
|
active: y(() => h.value || P.value),
|
|
17190
17190
|
disableTransitions: y(() => P.value),
|
|
17191
17191
|
absolute: y(() => (
|
|
@@ -17196,7 +17196,7 @@ const Mp = ["start", "end", "left", "right", "top", "bottom"], Lp = _({
|
|
|
17196
17196
|
isStuck: W,
|
|
17197
17197
|
stickyStyles: ee
|
|
17198
17198
|
} = Dp({
|
|
17199
|
-
rootEl:
|
|
17199
|
+
rootEl: M,
|
|
17200
17200
|
isSticky: b,
|
|
17201
17201
|
layoutItemStyles: w
|
|
17202
17202
|
}), K = Vt(y(() => typeof e.scrim == "string" ? e.scrim : null)), S = y(() => ({
|
|
@@ -17220,7 +17220,7 @@ const Mp = ["start", "end", "left", "right", "top", "bottom"], Lp = _({
|
|
|
17220
17220
|
return Ae(() => {
|
|
17221
17221
|
const j = l.image || e.image;
|
|
17222
17222
|
return c(pe, null, [c(e.tag, ce({
|
|
17223
|
-
ref:
|
|
17223
|
+
ref: M,
|
|
17224
17224
|
onMouseenter: A,
|
|
17225
17225
|
onMouseleave: X,
|
|
17226
17226
|
class: ["v-navigation-drawer", `v-navigation-drawer--${N.value}`, {
|
|
@@ -17432,21 +17432,21 @@ const eu = fe()({
|
|
|
17432
17432
|
backgroundColorClasses: f,
|
|
17433
17433
|
backgroundColorStyles: d,
|
|
17434
17434
|
trueValue: g
|
|
17435
|
-
} = Bp(e), m = Yt(), v = ye(!1), h = ye(!1), C = F(), I = y(() => e.id || `input-${m}`),
|
|
17435
|
+
} = Bp(e), m = Yt(), v = ye(!1), h = ye(!1), C = F(), I = y(() => e.id || `input-${m}`), M = y(() => !e.disabled && !e.readonly);
|
|
17436
17436
|
l?.onForceUpdate(() => {
|
|
17437
17437
|
C.value && (C.value.checked = i.value);
|
|
17438
17438
|
});
|
|
17439
17439
|
function T(b) {
|
|
17440
|
-
|
|
17440
|
+
M.value && (v.value = !0, Za(b.target, ":focus-visible") !== !1 && (h.value = !0));
|
|
17441
17441
|
}
|
|
17442
|
-
function
|
|
17442
|
+
function k() {
|
|
17443
17443
|
v.value = !1, h.value = !1;
|
|
17444
17444
|
}
|
|
17445
17445
|
function N(b) {
|
|
17446
17446
|
b.stopPropagation();
|
|
17447
17447
|
}
|
|
17448
17448
|
function D(b) {
|
|
17449
|
-
|
|
17449
|
+
M.value && (e.readonly && l && Fe(() => l.forceUpdate()), i.value = b.target.checked);
|
|
17450
17450
|
}
|
|
17451
17451
|
return Ae(() => {
|
|
17452
17452
|
const b = r.label ? r.label({
|
|
@@ -17459,7 +17459,7 @@ const eu = fe()({
|
|
|
17459
17459
|
checked: i.value,
|
|
17460
17460
|
disabled: !!e.disabled,
|
|
17461
17461
|
id: I.value,
|
|
17462
|
-
onBlur:
|
|
17462
|
+
onBlur: k,
|
|
17463
17463
|
onFocus: T,
|
|
17464
17464
|
onInput: D,
|
|
17465
17465
|
"aria-disabled": !!e.disabled,
|
|
@@ -17498,7 +17498,7 @@ const eu = fe()({
|
|
|
17498
17498
|
icon: s.value,
|
|
17499
17499
|
props: {
|
|
17500
17500
|
onFocus: T,
|
|
17501
|
-
onBlur:
|
|
17501
|
+
onBlur: k,
|
|
17502
17502
|
id: I.value
|
|
17503
17503
|
}
|
|
17504
17504
|
}) ?? c(pe, null, [s.value && c(Ve, {
|
|
@@ -17661,21 +17661,21 @@ const Wp = Symbol.for("vuetify:v-slide-group"), kf = _({
|
|
|
17661
17661
|
});
|
|
17662
17662
|
});
|
|
17663
17663
|
}
|
|
17664
|
-
const
|
|
17665
|
-
let T = 0,
|
|
17664
|
+
const M = ye(!1);
|
|
17665
|
+
let T = 0, k = 0;
|
|
17666
17666
|
function N(Z) {
|
|
17667
17667
|
const q = d.value ? "clientX" : "clientY";
|
|
17668
|
-
|
|
17668
|
+
k = (r.value && d.value ? -1 : 1) * o.value, T = Z.touches[0][q], M.value = !0;
|
|
17669
17669
|
}
|
|
17670
17670
|
function D(Z) {
|
|
17671
17671
|
if (!i.value)
|
|
17672
17672
|
return;
|
|
17673
17673
|
const q = d.value ? "clientX" : "clientY", ae = r.value && d.value ? -1 : 1;
|
|
17674
|
-
o.value = ae * (
|
|
17674
|
+
o.value = ae * (k + T - Z.touches[0][q]);
|
|
17675
17675
|
}
|
|
17676
17676
|
function b(Z) {
|
|
17677
17677
|
const q = f.value - u.value;
|
|
17678
|
-
o.value < 0 || !i.value ? o.value = 0 : o.value >= q && (o.value = q),
|
|
17678
|
+
o.value < 0 || !i.value ? o.value = 0 : o.value >= q && (o.value = q), M.value = !1;
|
|
17679
17679
|
}
|
|
17680
17680
|
function P() {
|
|
17681
17681
|
g.value && (g.value[d.value ? "scrollLeft" : "scrollTop"] = 0);
|
|
@@ -17730,8 +17730,8 @@ const Wp = Symbol.for("vuetify:v-slide-group"), kf = _({
|
|
|
17730
17730
|
const q = r.value && d.value ? -1 : 1;
|
|
17731
17731
|
return {
|
|
17732
17732
|
transform: `translate${d.value ? "X" : "Y"}(${q * Z}px)`,
|
|
17733
|
-
transition:
|
|
17734
|
-
willChange:
|
|
17733
|
+
transition: M.value ? "none" : "",
|
|
17734
|
+
willChange: M.value ? "transform" : ""
|
|
17735
17735
|
};
|
|
17736
17736
|
}), S = y(() => ({
|
|
17737
17737
|
next: s.next,
|
|
@@ -17957,7 +17957,7 @@ const qp = _({
|
|
|
17957
17957
|
sizeClasses: m
|
|
17958
17958
|
} = $l(e), {
|
|
17959
17959
|
themeClasses: v
|
|
17960
|
-
} = it(e), h = We(e, "modelValue"), C = Ki(e, Mf, !1), I = S0(e, n),
|
|
17960
|
+
} = it(e), h = We(e, "modelValue"), C = Ki(e, Mf, !1), I = S0(e, n), M = y(() => e.link !== !1 && I.isLink.value), T = y(() => !e.disabled && e.link !== !1 && (!!C || e.link || I.isClickable.value)), k = y(() => ({
|
|
17961
17961
|
"aria-label": a(e.closeLabel),
|
|
17962
17962
|
onClick(b) {
|
|
17963
17963
|
b.preventDefault(), b.stopPropagation(), h.value = !1, r("click:close", b);
|
|
@@ -17985,7 +17985,7 @@ const qp = _({
|
|
|
17985
17985
|
href: I.href.value,
|
|
17986
17986
|
tabindex: T.value ? 0 : void 0,
|
|
17987
17987
|
onClick: N,
|
|
17988
|
-
onKeydown: T.value && !
|
|
17988
|
+
onKeydown: T.value && !M.value && D
|
|
17989
17989
|
}, {
|
|
17990
17990
|
default: () => [al(T.value, "v-chip"), V && c(B2, {
|
|
17991
17991
|
key: "filter"
|
|
@@ -18066,7 +18066,7 @@ const qp = _({
|
|
|
18066
18066
|
key: "close",
|
|
18067
18067
|
class: "v-chip__close",
|
|
18068
18068
|
type: "button"
|
|
18069
|
-
},
|
|
18069
|
+
}, k.value), [l.close ? c(Qe, {
|
|
18070
18070
|
key: "close-defaults",
|
|
18071
18071
|
defaults: {
|
|
18072
18072
|
VIcon: {
|
|
@@ -18146,11 +18146,11 @@ function Jp(e, t) {
|
|
|
18146
18146
|
length: t.value.length
|
|
18147
18147
|
});
|
|
18148
18148
|
const I = ye(0);
|
|
18149
|
-
let
|
|
18149
|
+
let M = -1;
|
|
18150
18150
|
function T(X) {
|
|
18151
18151
|
return h[X] || r.value;
|
|
18152
18152
|
}
|
|
18153
|
-
const
|
|
18153
|
+
const k = fm(() => {
|
|
18154
18154
|
const X = performance.now();
|
|
18155
18155
|
C[0] = 0;
|
|
18156
18156
|
const j = t.value.length;
|
|
@@ -18158,18 +18158,18 @@ function Jp(e, t) {
|
|
|
18158
18158
|
C[Z] = (C[Z - 1] || 0) + T(Z - 1);
|
|
18159
18159
|
I.value = Math.max(I.value, performance.now() - X);
|
|
18160
18160
|
}, I), N = de(v, (X) => {
|
|
18161
|
-
X && (N(), f = u.value.offsetTop,
|
|
18161
|
+
X && (N(), f = u.value.offsetTop, k.immediate(), ee(), ~M && Fe(() => {
|
|
18162
18162
|
Re && window.requestAnimationFrame(() => {
|
|
18163
|
-
S(
|
|
18163
|
+
S(M), M = -1;
|
|
18164
18164
|
});
|
|
18165
18165
|
}));
|
|
18166
18166
|
});
|
|
18167
18167
|
Et(() => {
|
|
18168
|
-
|
|
18168
|
+
k.clear();
|
|
18169
18169
|
});
|
|
18170
18170
|
function D(X, j) {
|
|
18171
18171
|
const Z = h[X], q = r.value;
|
|
18172
|
-
r.value = q ? Math.min(r.value, j) : j, (Z !== j || q !== r.value) && (h[X] = j,
|
|
18172
|
+
r.value = q ? Math.min(r.value, j) : j, (Z !== j || q !== r.value) && (h[X] = j, k());
|
|
18173
18173
|
}
|
|
18174
18174
|
function b(X) {
|
|
18175
18175
|
return X = dn(X, 0, t.value.length - 1), C[X] || 0;
|
|
@@ -18212,7 +18212,7 @@ function Jp(e, t) {
|
|
|
18212
18212
|
}
|
|
18213
18213
|
function S(X) {
|
|
18214
18214
|
const j = b(X);
|
|
18215
|
-
!o.value || X && !j ?
|
|
18215
|
+
!o.value || X && !j ? M = X : o.value.scrollTop = j;
|
|
18216
18216
|
}
|
|
18217
18217
|
const A = y(() => t.value.slice(l.value, a.value).map((X, j) => ({
|
|
18218
18218
|
raw: X,
|
|
@@ -18223,7 +18223,7 @@ function Jp(e, t) {
|
|
|
18223
18223
|
length: t.value.length
|
|
18224
18224
|
}), C = Array.from({
|
|
18225
18225
|
length: t.value.length
|
|
18226
|
-
}),
|
|
18226
|
+
}), k.immediate(), ee();
|
|
18227
18227
|
}, {
|
|
18228
18228
|
deep: !0
|
|
18229
18229
|
}), {
|
|
@@ -18459,8 +18459,8 @@ const nb = _({
|
|
|
18459
18459
|
const X = d(A);
|
|
18460
18460
|
return e.multiple ? X : X[0] ?? null;
|
|
18461
18461
|
}), m = y(() => typeof e.counterValue == "function" ? e.counterValue(g.value) : typeof e.counterValue == "number" ? e.counterValue : g.value.length), v = R2(), h = y(() => g.value.map((A) => A.value)), C = ye(!1), I = y(() => o.value ? e.closeText : e.openText);
|
|
18462
|
-
let
|
|
18463
|
-
const
|
|
18462
|
+
let M = "", T;
|
|
18463
|
+
const k = y(() => e.hideSelected ? u.value.filter((A) => !g.value.some((X) => X === A)) : u.value), N = y(() => e.hideNoData && !k.value.length || e.readonly || v?.isReadonly.value), D = y(() => ({
|
|
18464
18464
|
...e.menuProps,
|
|
18465
18465
|
activatorProps: {
|
|
18466
18466
|
...e.menuProps?.activatorProps || {},
|
|
@@ -18489,8 +18489,8 @@ const nb = _({
|
|
|
18489
18489
|
if (e.multiple || !j(A))
|
|
18490
18490
|
return;
|
|
18491
18491
|
const Z = performance.now();
|
|
18492
|
-
Z - T > X && (
|
|
18493
|
-
const q = u.value.find((ae) => ae.title.toLowerCase().startsWith(
|
|
18492
|
+
Z - T > X && (M = ""), M += A.key.toLowerCase(), T = Z;
|
|
18493
|
+
const q = u.value.find((ae) => ae.title.toLowerCase().startsWith(M));
|
|
18494
18494
|
q !== void 0 && (g.value = [q]);
|
|
18495
18495
|
}
|
|
18496
18496
|
function L(A) {
|
|
@@ -18530,7 +18530,7 @@ const nb = _({
|
|
|
18530
18530
|
}
|
|
18531
18531
|
return de(o, () => {
|
|
18532
18532
|
if (!e.hideSelected && o.value && g.value.length) {
|
|
18533
|
-
const A =
|
|
18533
|
+
const A = k.value.findIndex((X) => g.value.some((j) => e.valueComparator(j.value, X.value)));
|
|
18534
18534
|
Re && window.requestAnimationFrame(() => {
|
|
18535
18535
|
A >= 0 && s.value?.scrollToIndex(A);
|
|
18536
18536
|
});
|
|
@@ -18538,7 +18538,7 @@ const nb = _({
|
|
|
18538
18538
|
}), de(() => e.items, (A, X) => {
|
|
18539
18539
|
o.value || C.value && !X.length && A.length && (o.value = !0);
|
|
18540
18540
|
}), Ae(() => {
|
|
18541
|
-
const A = !!(e.chips || n.chip), X = !!(!e.hideNoData ||
|
|
18541
|
+
const A = !!(e.chips || n.chip), X = !!(!e.hideNoData || k.value.length || n["prepend-item"] || n["append-item"] || n["no-data"]), j = g.value.length > 0, Z = Jn.filterProps(e), q = j || !C.value && e.label && !e.persistentPlaceholder ? void 0 : e.placeholder;
|
|
18542
18542
|
return c(Jn, ce({
|
|
18543
18543
|
ref: l
|
|
18544
18544
|
}, Z, {
|
|
@@ -18593,12 +18593,12 @@ const nb = _({
|
|
|
18593
18593
|
"aria-live": "polite",
|
|
18594
18594
|
color: e.itemColor ?? e.color
|
|
18595
18595
|
}, e.listProps), {
|
|
18596
|
-
default: () => [n["prepend-item"]?.(), !
|
|
18596
|
+
default: () => [n["prepend-item"]?.(), !k.value.length && !e.hideNoData && (n["no-data"]?.() ?? c(Ot, {
|
|
18597
18597
|
title: r(e.noDataText)
|
|
18598
18598
|
}, null)), c(eb, {
|
|
18599
18599
|
ref: s,
|
|
18600
18600
|
renderless: !0,
|
|
18601
|
-
items:
|
|
18601
|
+
items: k.value
|
|
18602
18602
|
}, {
|
|
18603
18603
|
default: (ae) => {
|
|
18604
18604
|
let {
|
|
@@ -18760,13 +18760,13 @@ const nb = _({
|
|
|
18760
18760
|
function I() {
|
|
18761
18761
|
h.value !== document.activeElement && h.value?.focus(), s.value || i();
|
|
18762
18762
|
}
|
|
18763
|
-
function
|
|
18763
|
+
function M(V) {
|
|
18764
18764
|
I(), r("click:control", V);
|
|
18765
18765
|
}
|
|
18766
18766
|
function T(V) {
|
|
18767
18767
|
r("mousedown:control", V);
|
|
18768
18768
|
}
|
|
18769
|
-
function
|
|
18769
|
+
function k(V) {
|
|
18770
18770
|
V.stopPropagation(), I(), Fe(() => {
|
|
18771
18771
|
a.value = "", B3(e["onClick:clear"], V);
|
|
18772
18772
|
});
|
|
@@ -18835,9 +18835,9 @@ const nb = _({
|
|
|
18835
18835
|
style: {
|
|
18836
18836
|
"--v-textarea-control-height": v.value
|
|
18837
18837
|
},
|
|
18838
|
-
onClick:
|
|
18838
|
+
onClick: M,
|
|
18839
18839
|
onMousedown: T,
|
|
18840
|
-
"onClick:clear":
|
|
18840
|
+
"onClick:clear": k,
|
|
18841
18841
|
"onClick:prependInner": e["onClick:prependInner"],
|
|
18842
18842
|
"onClick:appendInner": e["onClick:appendInner"]
|
|
18843
18843
|
}, S, {
|
|
@@ -19114,7 +19114,7 @@ const nb = _({
|
|
|
19114
19114
|
tooltip: "Securely share your loaded scan with 3rd parties via email with option to anonymise",
|
|
19115
19115
|
icon: "send",
|
|
19116
19116
|
color: "blue",
|
|
19117
|
-
click: async () =>
|
|
19117
|
+
click: async () => k("OnSendTo3rdParty"),
|
|
19118
19118
|
conditional: () => T("OnSendTo3rdParty") !== void 0
|
|
19119
19119
|
},
|
|
19120
19120
|
{
|
|
@@ -19122,14 +19122,14 @@ const nb = _({
|
|
|
19122
19122
|
tooltip: "Share your loaded scan with the 3Dicom Mobile and VR applications to download within 7 days",
|
|
19123
19123
|
icon: "share",
|
|
19124
19124
|
color: "yellow",
|
|
19125
|
-
click: async () =>
|
|
19125
|
+
click: async () => k("OnShareToMobile"),
|
|
19126
19126
|
conditional: () => T("OnShareToMobile") !== void 0
|
|
19127
19127
|
},
|
|
19128
19128
|
{
|
|
19129
19129
|
text: "Screenshot View",
|
|
19130
19130
|
icon: "screenshot_region",
|
|
19131
19131
|
color: "green",
|
|
19132
|
-
click: async () =>
|
|
19132
|
+
click: async () => k("OnScreenshot"),
|
|
19133
19133
|
conditional: () => T("OnScreenshot") !== void 0
|
|
19134
19134
|
}
|
|
19135
19135
|
]), h = F([
|
|
@@ -19138,13 +19138,13 @@ const nb = _({
|
|
|
19138
19138
|
text: "Tissue Density",
|
|
19139
19139
|
tooltip: "Change the range of visible anatomy in the scan by only showing areas with certain density of tissue"
|
|
19140
19140
|
}
|
|
19141
|
-
]), C = F(0), I = F(!1),
|
|
19141
|
+
]), C = F(0), I = F(!1), M = F(!1);
|
|
19142
19142
|
function T(K) {
|
|
19143
19143
|
return z(Da) ? Zy(K) : z(r.options)[K];
|
|
19144
19144
|
}
|
|
19145
|
-
function
|
|
19145
|
+
async function k(K) {
|
|
19146
19146
|
const S = T(K);
|
|
19147
|
-
S !== void 0 && S();
|
|
19147
|
+
S !== void 0 && await S();
|
|
19148
19148
|
}
|
|
19149
19149
|
const N = {
|
|
19150
19150
|
[ct.sl01]: () => re.value.Display.Brightness,
|
|
@@ -19196,17 +19196,17 @@ const nb = _({
|
|
|
19196
19196
|
async function H(K) {
|
|
19197
19197
|
await a.layouts(Kr.lo01), await a.viewSelection(`vs_0${K + 1}`);
|
|
19198
19198
|
}
|
|
19199
|
-
function B() {
|
|
19200
|
-
k.value = !1, s.value = !1
|
|
19199
|
+
async function B() {
|
|
19200
|
+
await k("OnExitViewer"), M.value = !1, s.value = !1;
|
|
19201
19201
|
}
|
|
19202
|
-
function V() {
|
|
19203
|
-
k
|
|
19202
|
+
async function V() {
|
|
19203
|
+
await k("OnSaveSession"), await B();
|
|
19204
19204
|
}
|
|
19205
19205
|
function w(K) {
|
|
19206
19206
|
if (K)
|
|
19207
19207
|
Yy(r.payload);
|
|
19208
19208
|
else {
|
|
19209
|
-
|
|
19209
|
+
M.value = !0;
|
|
19210
19210
|
return;
|
|
19211
19211
|
}
|
|
19212
19212
|
s.value = K;
|
|
@@ -19228,7 +19228,7 @@ const nb = _({
|
|
|
19228
19228
|
getIconForPreset: qc,
|
|
19229
19229
|
thresholdSlider: wa,
|
|
19230
19230
|
windowSlider: ba,
|
|
19231
|
-
m_closeDialog:
|
|
19231
|
+
m_closeDialog: M,
|
|
19232
19232
|
closeModal: B,
|
|
19233
19233
|
scanState: re,
|
|
19234
19234
|
initialScanState: Cn,
|
|
@@ -19278,8 +19278,8 @@ const nb = _({
|
|
|
19278
19278
|
}, {
|
|
19279
19279
|
default: x(() => [
|
|
19280
19280
|
c(qt, {
|
|
19281
|
-
"model-value":
|
|
19282
|
-
"onUpdate:modelValue": S[7] || (S[7] = (A) =>
|
|
19281
|
+
"model-value": M.value,
|
|
19282
|
+
"onUpdate:modelValue": S[7] || (S[7] = (A) => M.value = A),
|
|
19283
19283
|
id: "close-dialog-prompt",
|
|
19284
19284
|
"data-test": "closemodal"
|
|
19285
19285
|
}, {
|
|
@@ -19307,7 +19307,7 @@ const nb = _({
|
|
|
19307
19307
|
c(Se, {
|
|
19308
19308
|
variant: "tonal",
|
|
19309
19309
|
color: "secondary",
|
|
19310
|
-
onClick: S[6] || (S[6] = (A) =>
|
|
19310
|
+
onClick: S[6] || (S[6] = (A) => M.value = !1)
|
|
19311
19311
|
}, {
|
|
19312
19312
|
default: x(() => [
|
|
19313
19313
|
Y(" Cancel ")
|
|
@@ -19387,7 +19387,7 @@ const nb = _({
|
|
|
19387
19387
|
c(ka, null, {
|
|
19388
19388
|
default: x(() => [
|
|
19389
19389
|
c(Ot, {
|
|
19390
|
-
onClick: S[8] || (S[8] = (A) =>
|
|
19390
|
+
onClick: S[8] || (S[8] = (A) => k("OnLoadNewDicomSeries"))
|
|
19391
19391
|
}, {
|
|
19392
19392
|
prepend: x(() => [
|
|
19393
19393
|
c(Ve, null, {
|
|
@@ -19408,7 +19408,7 @@ const nb = _({
|
|
|
19408
19408
|
_: 1
|
|
19409
19409
|
}),
|
|
19410
19410
|
c(Ot, {
|
|
19411
|
-
onClick: S[9] || (S[9] = (A) =>
|
|
19411
|
+
onClick: S[9] || (S[9] = (A) => k("OnDownloadDicomSeries"))
|
|
19412
19412
|
}, {
|
|
19413
19413
|
prepend: x(() => [
|
|
19414
19414
|
c(Ve, null, {
|
|
@@ -19429,7 +19429,7 @@ const nb = _({
|
|
|
19429
19429
|
_: 1
|
|
19430
19430
|
}),
|
|
19431
19431
|
c(Ot, {
|
|
19432
|
-
onClick: S[10] || (S[10] = (A) =>
|
|
19432
|
+
onClick: S[10] || (S[10] = (A) => k("OnLoadSavedSession"))
|
|
19433
19433
|
}, {
|
|
19434
19434
|
prepend: x(() => [
|
|
19435
19435
|
c(Ve, null, {
|
|
@@ -19450,7 +19450,7 @@ const nb = _({
|
|
|
19450
19450
|
_: 1
|
|
19451
19451
|
}),
|
|
19452
19452
|
c(Ot, {
|
|
19453
|
-
onClick: S[11] || (S[11] = (A) =>
|
|
19453
|
+
onClick: S[11] || (S[11] = (A) => k("OnSendTo3rdParty"))
|
|
19454
19454
|
}, {
|
|
19455
19455
|
prepend: x(() => [
|
|
19456
19456
|
c(Ve, null, {
|
|
@@ -19471,7 +19471,7 @@ const nb = _({
|
|
|
19471
19471
|
_: 1
|
|
19472
19472
|
}),
|
|
19473
19473
|
c(Ot, {
|
|
19474
|
-
onClick: S[12] || (S[12] = (A) =>
|
|
19474
|
+
onClick: S[12] || (S[12] = (A) => k("OnShareToMobile"))
|
|
19475
19475
|
}, {
|
|
19476
19476
|
prepend: x(() => [
|
|
19477
19477
|
c(Ve, null, {
|
|
@@ -19493,7 +19493,7 @@ const nb = _({
|
|
|
19493
19493
|
}),
|
|
19494
19494
|
c(Ot, {
|
|
19495
19495
|
onClick: S[13] || (S[13] = (A) => {
|
|
19496
|
-
|
|
19496
|
+
k("OnClosePopup"), w(!1);
|
|
19497
19497
|
})
|
|
19498
19498
|
}, {
|
|
19499
19499
|
prepend: x(() => [
|
|
@@ -20372,6 +20372,7 @@ async function Bb(e = void 0, t = Qi) {
|
|
|
20372
20372
|
await Ks.loadInstance(e, t);
|
|
20373
20373
|
}
|
|
20374
20374
|
async function Rb() {
|
|
20375
|
+
console.log("Ejected Viewer");
|
|
20375
20376
|
const e = document.getElementById(Lf), t = document.getElementById(Lb);
|
|
20376
20377
|
e?.remove(), t?.remove();
|
|
20377
20378
|
}
|