@ianicdev/datatables2 0.4.15 → 0.4.16
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/{dataTables-CIvZI-Uz.js → dataTables-BeXPUCv3.js} +1066 -1068
- package/dist/dataTables-BgMGpkHJ.cjs +4 -0
- package/dist/datatables.cjs +1 -1
- package/dist/datatables.css +1 -1
- package/dist/datatables.js +1 -1
- package/dist/index-Y5w8m-s9.cjs +27 -0
- package/dist/{index-BN_IomNn.js → index-hAQ3j5jz.js} +4792 -4658
- package/package.json +8 -7
- package/dist/dataTables-ChWvPnrJ.cjs +0 -4
- package/dist/index-BF1Hip7a.cjs +0 -27
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { reactive as We, watchEffect as Oe, toRef as x, capitalize as
|
|
2
|
-
const Y = typeof window < "u",
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
import { reactive as We, watchEffect as Oe, toRef as x, capitalize as ca, Fragment as pe, shallowRef as D, isVNode as gi, Comment as yi, unref as $e, warn as _t, getCurrentInstance as hi, ref as M, computed as w, provide as se, inject as J, defineComponent as Pt, h as At, camelize as da, isRef as Gt, toValue as me, createVNode as b, watch as W, onScopeDispose as oe, effectScope as cn, toRaw as H, useId as fa, onBeforeUnmount as ge, onMounted as dn, onUpdated as bi, mergeProps as j, toRefs as Si, Text as wi, readonly as fn, Transition as Ee, resolveDynamicComponent as pi, nextTick as Ie, withDirectives as He, toDisplayString as Qe, TransitionGroup as vn, onBeforeMount as mn, vShow as gn, resolveDirective as yn, Teleport as Ci, onDeactivated as xi, createBlock as bt, openBlock as _e, withCtx as gt, createElementBlock as qt, renderList as ki, normalizeProps as Ut, guardReactiveProps as _i, resolveComponent as Pi, createTextVNode as Ai, defineAsyncComponent as Ei } from "vue";
|
|
2
|
+
const Y = typeof window < "u", hn = Y && "IntersectionObserver" in window;
|
|
3
|
+
function On(e, t, n) {
|
|
4
|
+
Oi(e, t), t.set(e, n);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Oi(e, t) {
|
|
7
7
|
if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
return e.set(
|
|
9
|
+
function In(e, t, n) {
|
|
10
|
+
return e.set(va(e, t), n), n;
|
|
11
11
|
}
|
|
12
12
|
function fe(e, t) {
|
|
13
|
-
return e.get(
|
|
13
|
+
return e.get(va(e, t));
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function va(e, t, n) {
|
|
16
16
|
if (typeof e == "function" ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
17
17
|
throw new TypeError("Private element is not present on this object");
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function ma(e, t, n) {
|
|
20
20
|
const a = t.length - 1;
|
|
21
21
|
if (a < 0) return e === void 0 ? n : e;
|
|
22
22
|
for (let i = 0; i < a; i++) {
|
|
@@ -33,8 +33,8 @@ function it(e, t) {
|
|
|
33
33
|
const n = Object.keys(e);
|
|
34
34
|
return n.length !== Object.keys(t).length ? !1 : n.every((a) => it(e[a], t[a]));
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
return e == null || !t || typeof t != "string" ? n : e[t] !== void 0 ? e[t] : (t = t.replace(/\[(\w+)\]/g, ".$1"), t = t.replace(/^\./, ""),
|
|
36
|
+
function Ii(e, t, n) {
|
|
37
|
+
return e == null || !t || typeof t != "string" ? n : e[t] !== void 0 ? e[t] : (t = t.replace(/\[(\w+)\]/g, ".$1"), t = t.replace(/^\./, ""), ma(e, t.split("."), n));
|
|
38
38
|
}
|
|
39
39
|
function ve(e, t, n) {
|
|
40
40
|
if (t === !0) return e === void 0 ? n : e;
|
|
@@ -44,13 +44,13 @@ function ve(e, t, n) {
|
|
|
44
44
|
const i = t(e, n);
|
|
45
45
|
return typeof i > "u" ? n : i;
|
|
46
46
|
}
|
|
47
|
-
if (typeof t == "string") return
|
|
48
|
-
if (Array.isArray(t)) return
|
|
47
|
+
if (typeof t == "string") return Ii(e, t, n);
|
|
48
|
+
if (Array.isArray(t)) return ma(e, t, n);
|
|
49
49
|
if (typeof t != "function") return n;
|
|
50
50
|
const a = t(e, n);
|
|
51
51
|
return typeof a > "u" ? n : a;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function vo(e) {
|
|
54
54
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
|
|
55
55
|
return Array.from({
|
|
56
56
|
length: e
|
|
@@ -63,10 +63,10 @@ function V(e) {
|
|
|
63
63
|
const n = Number(e);
|
|
64
64
|
return isNaN(n) ? String(e) : isFinite(n) ? `${n}${t}` : void 0;
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Kt(e) {
|
|
67
67
|
return e !== null && typeof e == "object" && !Array.isArray(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Bn(e) {
|
|
70
70
|
let t;
|
|
71
71
|
return e !== null && typeof e == "object" && ((t = Object.getPrototypeOf(e)) === Object.prototype || t === null);
|
|
72
72
|
}
|
|
@@ -77,7 +77,7 @@ function Bi(e) {
|
|
|
77
77
|
}
|
|
78
78
|
return e;
|
|
79
79
|
}
|
|
80
|
-
const
|
|
80
|
+
const Tn = Object.freeze({
|
|
81
81
|
enter: 13,
|
|
82
82
|
tab: 9,
|
|
83
83
|
delete: 46,
|
|
@@ -95,7 +95,7 @@ const Bn = Object.freeze({
|
|
|
95
95
|
pageup: 33,
|
|
96
96
|
pagedown: 34,
|
|
97
97
|
shift: 16
|
|
98
|
-
}),
|
|
98
|
+
}), mo = Object.freeze({
|
|
99
99
|
enter: "Enter",
|
|
100
100
|
tab: "Tab",
|
|
101
101
|
delete: "Delete",
|
|
@@ -114,19 +114,19 @@ const Bn = Object.freeze({
|
|
|
114
114
|
pagedown: "PageDown",
|
|
115
115
|
shift: "Shift"
|
|
116
116
|
});
|
|
117
|
-
function
|
|
117
|
+
function Nt(e, t) {
|
|
118
118
|
return t.every((n) => e.hasOwnProperty(n));
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function bn(e, t) {
|
|
121
121
|
const n = {};
|
|
122
122
|
for (const a of t)
|
|
123
123
|
Object.prototype.hasOwnProperty.call(e, a) && (n[a] = e[a]);
|
|
124
124
|
return n;
|
|
125
125
|
}
|
|
126
|
-
function
|
|
126
|
+
function Vn(e, t, n) {
|
|
127
127
|
const a = /* @__PURE__ */ Object.create(null), i = /* @__PURE__ */ Object.create(null);
|
|
128
128
|
for (const r in e)
|
|
129
|
-
t.some((
|
|
129
|
+
t.some((s) => s instanceof RegExp ? s.test(r) : s === r) ? a[r] = e[r] : i[r] = e[r];
|
|
130
130
|
return [a, i];
|
|
131
131
|
}
|
|
132
132
|
function Et(e, t) {
|
|
@@ -135,20 +135,20 @@ function Et(e, t) {
|
|
|
135
135
|
};
|
|
136
136
|
return t.forEach((a) => delete n[a]), n;
|
|
137
137
|
}
|
|
138
|
-
const
|
|
139
|
-
function
|
|
140
|
-
const [t, n] =
|
|
138
|
+
const ga = /^on[^a-z]/, ya = (e) => ga.test(e), Ti = ["onAfterscriptexecute", "onAnimationcancel", "onAnimationend", "onAnimationiteration", "onAnimationstart", "onAuxclick", "onBeforeinput", "onBeforescriptexecute", "onChange", "onClick", "onCompositionend", "onCompositionstart", "onCompositionupdate", "onContextmenu", "onCopy", "onCut", "onDblclick", "onFocusin", "onFocusout", "onFullscreenchange", "onFullscreenerror", "onGesturechange", "onGestureend", "onGesturestart", "onGotpointercapture", "onInput", "onKeydown", "onKeypress", "onKeyup", "onLostpointercapture", "onMousedown", "onMousemove", "onMouseout", "onMouseover", "onMouseup", "onMousewheel", "onPaste", "onPointercancel", "onPointerdown", "onPointerenter", "onPointerleave", "onPointermove", "onPointerout", "onPointerover", "onPointerup", "onReset", "onSelect", "onSubmit", "onTouchcancel", "onTouchend", "onTouchmove", "onTouchstart", "onTransitioncancel", "onTransitionend", "onTransitionrun", "onTransitionstart", "onWheel"];
|
|
139
|
+
function go(e) {
|
|
140
|
+
const [t, n] = Vn(e, [ga]), a = Et(t, Ti), [i, r] = Vn(n, ["class", "style", "id", /^data-/]);
|
|
141
141
|
return Object.assign(i, t), Object.assign(r, a), [i, r];
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function Sn(e) {
|
|
144
144
|
return e == null ? [] : Array.isArray(e) ? e : [e];
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function yo(e, t) {
|
|
147
147
|
let n = 0;
|
|
148
148
|
const a = function() {
|
|
149
|
-
for (var i = arguments.length, r = new Array(i),
|
|
150
|
-
r[
|
|
151
|
-
clearTimeout(n), n = setTimeout(() => e(...r),
|
|
149
|
+
for (var i = arguments.length, r = new Array(i), s = 0; s < i; s++)
|
|
150
|
+
r[s] = arguments[s];
|
|
151
|
+
clearTimeout(n), n = setTimeout(() => e(...r), $e(t));
|
|
152
152
|
};
|
|
153
153
|
return a.clear = () => {
|
|
154
154
|
clearTimeout(n);
|
|
@@ -158,7 +158,7 @@ function St(e) {
|
|
|
158
158
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 1;
|
|
159
159
|
return Math.max(t, Math.min(n, e));
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Ln(e, t) {
|
|
162
162
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "0";
|
|
163
163
|
return e + n.repeat(Math.max(0, t - e.length));
|
|
164
164
|
}
|
|
@@ -176,21 +176,21 @@ function Fe() {
|
|
|
176
176
|
for (const i in e)
|
|
177
177
|
a[i] = e[i];
|
|
178
178
|
for (const i in t) {
|
|
179
|
-
const r = e[i],
|
|
180
|
-
if (
|
|
181
|
-
a[i] = Fe(r,
|
|
179
|
+
const r = e[i], s = t[i];
|
|
180
|
+
if (Bn(r) && Bn(s)) {
|
|
181
|
+
a[i] = Fe(r, s, n);
|
|
182
182
|
continue;
|
|
183
183
|
}
|
|
184
|
-
if (n && Array.isArray(r) && Array.isArray(
|
|
185
|
-
a[i] = n(r,
|
|
184
|
+
if (n && Array.isArray(r) && Array.isArray(s)) {
|
|
185
|
+
a[i] = n(r, s);
|
|
186
186
|
continue;
|
|
187
187
|
}
|
|
188
|
-
a[i] =
|
|
188
|
+
a[i] = s;
|
|
189
189
|
}
|
|
190
190
|
return a;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
return e.map((t) => t.type === pe ?
|
|
192
|
+
function ha(e) {
|
|
193
|
+
return e.map((t) => t.type === pe ? ha(t.children) : t).flat();
|
|
194
194
|
}
|
|
195
195
|
function Pe() {
|
|
196
196
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
@@ -218,22 +218,22 @@ function Ke(e, t) {
|
|
|
218
218
|
var Re = /* @__PURE__ */ new WeakMap(), ke = /* @__PURE__ */ new WeakMap();
|
|
219
219
|
class Li {
|
|
220
220
|
constructor(t) {
|
|
221
|
-
|
|
221
|
+
On(this, Re, []), On(this, ke, 0), this.size = t;
|
|
222
222
|
}
|
|
223
223
|
get isFull() {
|
|
224
224
|
return fe(Re, this).length === this.size;
|
|
225
225
|
}
|
|
226
226
|
push(t) {
|
|
227
|
-
fe(Re, this)[fe(ke, this)] = t,
|
|
227
|
+
fe(Re, this)[fe(ke, this)] = t, In(ke, this, (fe(ke, this) + 1) % this.size);
|
|
228
228
|
}
|
|
229
229
|
values() {
|
|
230
230
|
return fe(Re, this).slice(fe(ke, this)).concat(fe(Re, this).slice(0, fe(ke, this)));
|
|
231
231
|
}
|
|
232
232
|
clear() {
|
|
233
|
-
fe(Re, this).length = 0,
|
|
233
|
+
fe(Re, this).length = 0, In(ke, this, 0);
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function wn(e) {
|
|
237
237
|
const t = We({});
|
|
238
238
|
Oe(() => {
|
|
239
239
|
const a = e();
|
|
@@ -250,14 +250,14 @@ function Sn(e) {
|
|
|
250
250
|
function wt(e, t) {
|
|
251
251
|
return e.includes(t);
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function ba(e) {
|
|
254
254
|
return e[2].toLowerCase() + e.slice(3);
|
|
255
255
|
}
|
|
256
256
|
const Je = () => [Function, Array];
|
|
257
|
-
function
|
|
258
|
-
return t = "on" +
|
|
257
|
+
function Rn(e, t) {
|
|
258
|
+
return t = "on" + ca(t), !!(e[t] || e[`${t}Once`] || e[`${t}Capture`] || e[`${t}OnceCapture`] || e[`${t}CaptureOnce`]);
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function ho(e) {
|
|
261
261
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
262
262
|
n[a - 1] = arguments[a];
|
|
263
263
|
if (Array.isArray(e))
|
|
@@ -265,12 +265,12 @@ function hs(e) {
|
|
|
265
265
|
i(...n);
|
|
266
266
|
else typeof e == "function" && e(...n);
|
|
267
267
|
}
|
|
268
|
-
function
|
|
268
|
+
function Xt(e) {
|
|
269
269
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
270
270
|
const n = ["button", "[href]", 'input:not([type="hidden"])', "select", "textarea", "[tabindex]"].map((a) => `${a}${t ? ':not([tabindex="-1"])' : ""}:not([disabled])`).join(", ");
|
|
271
271
|
return [...e.querySelectorAll(n)];
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function Sa(e, t, n) {
|
|
274
274
|
let a, i = e.indexOf(document.activeElement);
|
|
275
275
|
const r = t === "next" ? 1 : -1;
|
|
276
276
|
do
|
|
@@ -279,8 +279,8 @@ function ba(e, t, n) {
|
|
|
279
279
|
return a;
|
|
280
280
|
}
|
|
281
281
|
function Ze(e, t) {
|
|
282
|
-
var a, i, r,
|
|
283
|
-
const n =
|
|
282
|
+
var a, i, r, s;
|
|
283
|
+
const n = Xt(e);
|
|
284
284
|
if (!t)
|
|
285
285
|
(e === document.activeElement || !e.contains(document.activeElement)) && ((a = n[0]) == null || a.focus());
|
|
286
286
|
else if (t === "first")
|
|
@@ -288,13 +288,13 @@ function Ze(e, t) {
|
|
|
288
288
|
else if (t === "last")
|
|
289
289
|
(r = n.at(-1)) == null || r.focus();
|
|
290
290
|
else if (typeof t == "number")
|
|
291
|
-
(
|
|
291
|
+
(s = n[t]) == null || s.focus();
|
|
292
292
|
else {
|
|
293
|
-
const
|
|
294
|
-
|
|
293
|
+
const o = Sa(n, t);
|
|
294
|
+
o ? o.focus() : Ze(e, t === "next" ? "first" : "last");
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function bo(e) {
|
|
298
298
|
return e == null || typeof e == "string" && e.trim() === "";
|
|
299
299
|
}
|
|
300
300
|
function Ri(e, t) {
|
|
@@ -305,10 +305,10 @@ function Ri(e, t) {
|
|
|
305
305
|
return null;
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
|
-
function
|
|
309
|
-
return e.some((t) =>
|
|
308
|
+
function Ni(e) {
|
|
309
|
+
return e.some((t) => gi(t) ? t.type === yi ? !1 : t.type !== pe || Ni(t.children) : !0) ? e : null;
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function $i(e, t) {
|
|
312
312
|
if (!Y || e === 0)
|
|
313
313
|
return t(), () => {
|
|
314
314
|
};
|
|
@@ -316,10 +316,10 @@ function Ni(e, t) {
|
|
|
316
316
|
return () => window.clearTimeout(n);
|
|
317
317
|
}
|
|
318
318
|
function Fi(e, t) {
|
|
319
|
-
const n = e.clientX, a = e.clientY, i = t.getBoundingClientRect(), r = i.left,
|
|
320
|
-
return n >= r && n <=
|
|
319
|
+
const n = e.clientX, a = e.clientY, i = t.getBoundingClientRect(), r = i.left, s = i.top, o = i.right, l = i.bottom;
|
|
320
|
+
return n >= r && n <= o && a >= s && a <= l;
|
|
321
321
|
}
|
|
322
|
-
function
|
|
322
|
+
function Yt() {
|
|
323
323
|
const e = D(), t = (n) => {
|
|
324
324
|
e.value = n;
|
|
325
325
|
};
|
|
@@ -332,25 +332,25 @@ function Xt() {
|
|
|
332
332
|
get: () => Bi(e.value)
|
|
333
333
|
}), t;
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function So(e) {
|
|
336
336
|
const t = e.key.length === 1, n = !e.ctrlKey && !e.metaKey && !e.altKey;
|
|
337
337
|
return t && n;
|
|
338
338
|
}
|
|
339
|
-
function
|
|
339
|
+
function wa(e) {
|
|
340
340
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e == "bigint";
|
|
341
341
|
}
|
|
342
|
-
const
|
|
343
|
-
function
|
|
342
|
+
const pa = ["top", "bottom"], Mi = ["start", "end", "left", "right"];
|
|
343
|
+
function Jt(e, t) {
|
|
344
344
|
let [n, a] = e.split(" ");
|
|
345
|
-
return a || (a = wt(
|
|
346
|
-
side:
|
|
347
|
-
align:
|
|
345
|
+
return a || (a = wt(pa, n) ? "start" : wt(Mi, n) ? "top" : "center"), {
|
|
346
|
+
side: Nn(n, t),
|
|
347
|
+
align: Nn(a, t)
|
|
348
348
|
};
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function Nn(e, t) {
|
|
351
351
|
return e === "start" ? t ? "right" : "left" : e === "end" ? t ? "left" : "right" : e;
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function $t(e) {
|
|
354
354
|
return {
|
|
355
355
|
side: {
|
|
356
356
|
center: "center",
|
|
@@ -380,8 +380,8 @@ function $n(e) {
|
|
|
380
380
|
align: e.side
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
|
-
function
|
|
384
|
-
return wt(
|
|
383
|
+
function Fn(e) {
|
|
384
|
+
return wt(pa, e.side) ? "y" : "x";
|
|
385
385
|
}
|
|
386
386
|
class Se {
|
|
387
387
|
constructor(t) {
|
|
@@ -406,7 +406,7 @@ class Se {
|
|
|
406
406
|
return this.x + this.width;
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function Mn(e, t) {
|
|
410
410
|
return {
|
|
411
411
|
x: {
|
|
412
412
|
before: Math.max(0, t.left - e.left),
|
|
@@ -418,7 +418,7 @@ function Fn(e, t) {
|
|
|
418
418
|
}
|
|
419
419
|
};
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Ca(e) {
|
|
422
422
|
return Array.isArray(e) ? new Se({
|
|
423
423
|
x: e[0],
|
|
424
424
|
y: e[1],
|
|
@@ -426,17 +426,17 @@ function pa(e) {
|
|
|
426
426
|
height: 0
|
|
427
427
|
}) : e.getBoundingClientRect();
|
|
428
428
|
}
|
|
429
|
-
function
|
|
429
|
+
function xa(e) {
|
|
430
430
|
const t = e.getBoundingClientRect(), n = getComputedStyle(e), a = n.transform;
|
|
431
431
|
if (a) {
|
|
432
|
-
let i, r,
|
|
432
|
+
let i, r, s, o, l;
|
|
433
433
|
if (a.startsWith("matrix3d("))
|
|
434
|
-
i = a.slice(9, -1).split(/, /), r = Number(i[0]),
|
|
434
|
+
i = a.slice(9, -1).split(/, /), r = Number(i[0]), s = Number(i[5]), o = Number(i[12]), l = Number(i[13]);
|
|
435
435
|
else if (a.startsWith("matrix("))
|
|
436
|
-
i = a.slice(7, -1).split(/, /), r = Number(i[0]),
|
|
436
|
+
i = a.slice(7, -1).split(/, /), r = Number(i[0]), s = Number(i[3]), o = Number(i[4]), l = Number(i[5]);
|
|
437
437
|
else
|
|
438
438
|
return new Se(t);
|
|
439
|
-
const u = n.transformOrigin, c = t.x -
|
|
439
|
+
const u = n.transformOrigin, c = t.x - o - (1 - r) * parseFloat(u), f = t.y - l - (1 - s) * parseFloat(u.slice(u.indexOf(" ") + 1)), v = r ? t.width / r : e.offsetWidth + 1, h = s ? t.height / s : e.offsetHeight + 1;
|
|
440
440
|
return new Se({
|
|
441
441
|
x: c,
|
|
442
442
|
y: f,
|
|
@@ -467,12 +467,12 @@ function Xe(e, t, n) {
|
|
|
467
467
|
const yt = /* @__PURE__ */ new WeakMap();
|
|
468
468
|
function Di(e, t) {
|
|
469
469
|
Object.keys(t).forEach((n) => {
|
|
470
|
-
if (
|
|
471
|
-
const a =
|
|
470
|
+
if (ya(n)) {
|
|
471
|
+
const a = ba(n), i = yt.get(e);
|
|
472
472
|
if (t[n] == null)
|
|
473
473
|
i == null || i.forEach((r) => {
|
|
474
|
-
const [
|
|
475
|
-
|
|
474
|
+
const [s, o] = r;
|
|
475
|
+
s === a && (e.removeEventListener(a, o), i.delete(r));
|
|
476
476
|
});
|
|
477
477
|
else if (!i || ![...i].some((r) => r[0] === a && r[1] === t[n])) {
|
|
478
478
|
e.addEventListener(a, t[n]);
|
|
@@ -485,47 +485,47 @@ function Di(e, t) {
|
|
|
485
485
|
}
|
|
486
486
|
function zi(e, t) {
|
|
487
487
|
Object.keys(t).forEach((n) => {
|
|
488
|
-
if (
|
|
489
|
-
const a =
|
|
488
|
+
if (ya(n)) {
|
|
489
|
+
const a = ba(n), i = yt.get(e);
|
|
490
490
|
i == null || i.forEach((r) => {
|
|
491
|
-
const [
|
|
492
|
-
|
|
491
|
+
const [s, o] = r;
|
|
492
|
+
s === a && (e.removeEventListener(a, o), i.delete(r));
|
|
493
493
|
});
|
|
494
494
|
} else
|
|
495
495
|
e.removeAttribute(n);
|
|
496
496
|
});
|
|
497
497
|
}
|
|
498
|
-
const
|
|
499
|
-
function
|
|
500
|
-
const n = (e.r / 255) **
|
|
501
|
-
let l = n *
|
|
502
|
-
if (l <= vt && (l += (vt - l) **
|
|
498
|
+
const Ne = 2.4, Dn = 0.2126729, zn = 0.7151522, jn = 0.072175, ji = 0.55, Wi = 0.58, Hi = 0.57, Gi = 0.62, vt = 0.03, Wn = 1.45, qi = 5e-4, Ui = 1.25, Ki = 1.25, Xi = 0.078, Hn = 12.82051282051282, mt = 0.06, Yi = 1e-3;
|
|
499
|
+
function Gn(e, t) {
|
|
500
|
+
const n = (e.r / 255) ** Ne, a = (e.g / 255) ** Ne, i = (e.b / 255) ** Ne, r = (t.r / 255) ** Ne, s = (t.g / 255) ** Ne, o = (t.b / 255) ** Ne;
|
|
501
|
+
let l = n * Dn + a * zn + i * jn, u = r * Dn + s * zn + o * jn;
|
|
502
|
+
if (l <= vt && (l += (vt - l) ** Wn), u <= vt && (u += (vt - u) ** Wn), Math.abs(u - l) < qi) return 0;
|
|
503
503
|
let c;
|
|
504
504
|
if (u > l) {
|
|
505
505
|
const f = (u ** ji - l ** Wi) * Ui;
|
|
506
|
-
c = f < Yi ? 0 : f < Xi ? f - f *
|
|
506
|
+
c = f < Yi ? 0 : f < Xi ? f - f * Hn * mt : f - mt;
|
|
507
507
|
} else {
|
|
508
508
|
const f = (u ** Gi - l ** Hi) * Ki;
|
|
509
|
-
c = f > -1e-3 ? 0 : f > -0.078 ? f - f *
|
|
509
|
+
c = f > -1e-3 ? 0 : f > -0.078 ? f - f * Hn * mt : f + mt;
|
|
510
510
|
}
|
|
511
511
|
return c * 100;
|
|
512
512
|
}
|
|
513
513
|
function De(e) {
|
|
514
514
|
_t(`Vuetify: ${e}`);
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function ka(e) {
|
|
517
517
|
_t(`Vuetify error: ${e}`);
|
|
518
518
|
}
|
|
519
519
|
function Ji(e, t) {
|
|
520
520
|
t = Array.isArray(t) ? t.slice(0, -1).map((n) => `'${n}'`).join(", ") + ` or '${t.at(-1)}'` : `'${t}'`, _t(`[Vuetify UPGRADE] '${e}' is deprecated, use ${t} instead.`);
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Zt(e) {
|
|
523
523
|
return !!e && /^(#|var\(--|(rgb|hsl)a?\()/.test(e);
|
|
524
524
|
}
|
|
525
525
|
function Zi(e) {
|
|
526
|
-
return
|
|
526
|
+
return Zt(e) && !/^((rgb|hsl)a?\()?var\(--/.test(e);
|
|
527
527
|
}
|
|
528
|
-
const
|
|
528
|
+
const qn = /^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/, Qi = {
|
|
529
529
|
rgb: (e, t, n, a) => ({
|
|
530
530
|
r: e,
|
|
531
531
|
g: t,
|
|
@@ -538,13 +538,13 @@ const Gn = /^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/, Qi = {
|
|
|
538
538
|
b: n,
|
|
539
539
|
a
|
|
540
540
|
}),
|
|
541
|
-
hsl: (e, t, n, a) =>
|
|
541
|
+
hsl: (e, t, n, a) => Un({
|
|
542
542
|
h: e,
|
|
543
543
|
s: t,
|
|
544
544
|
l: n,
|
|
545
545
|
a
|
|
546
546
|
}),
|
|
547
|
-
hsla: (e, t, n, a) =>
|
|
547
|
+
hsla: (e, t, n, a) => Un({
|
|
548
548
|
h: e,
|
|
549
549
|
s: t,
|
|
550
550
|
l: n,
|
|
@@ -570,14 +570,14 @@ function Ye(e) {
|
|
|
570
570
|
g: (e & 65280) >> 8,
|
|
571
571
|
b: e & 255
|
|
572
572
|
};
|
|
573
|
-
if (typeof e == "string" &&
|
|
573
|
+
if (typeof e == "string" && qn.test(e)) {
|
|
574
574
|
const {
|
|
575
575
|
groups: t
|
|
576
|
-
} = e.match(
|
|
576
|
+
} = e.match(qn), {
|
|
577
577
|
fn: n,
|
|
578
578
|
values: a
|
|
579
|
-
} = t, i = a.split(/,\s*|\s*\/\s*|\s+/).map((r,
|
|
580
|
-
|
|
579
|
+
} = t, i = a.split(/,\s*|\s*\/\s*|\s+/).map((r, s) => r.endsWith("%") || // unitless slv are %
|
|
580
|
+
s > 0 && s < 3 && ["hsl", "hsla", "hsv", "hsva"].includes(n) ? parseFloat(r) / 100 : parseFloat(r));
|
|
581
581
|
return Qi[n](...i);
|
|
582
582
|
} else if (typeof e == "string") {
|
|
583
583
|
let t = e.startsWith("#") ? e.slice(1) : e;
|
|
@@ -585,11 +585,11 @@ function Ye(e) {
|
|
|
585
585
|
const n = parseInt(t, 16);
|
|
586
586
|
return (isNaN(n) || n < 0 || n > 4294967295) && De(`'${e}' is not a valid hex(a) color`), er(t);
|
|
587
587
|
} else if (typeof e == "object") {
|
|
588
|
-
if (
|
|
588
|
+
if (Nt(e, ["r", "g", "b"]))
|
|
589
589
|
return e;
|
|
590
|
-
if (
|
|
591
|
-
return et(
|
|
592
|
-
if (
|
|
590
|
+
if (Nt(e, ["h", "s", "l"]))
|
|
591
|
+
return et(_a(e));
|
|
592
|
+
if (Nt(e, ["h", "s", "v"]))
|
|
593
593
|
return et(e);
|
|
594
594
|
}
|
|
595
595
|
throw new TypeError(`Invalid color: ${e == null ? e : String(e) || e.constructor.name}
|
|
@@ -601,30 +601,30 @@ function et(e) {
|
|
|
601
601
|
s: n,
|
|
602
602
|
v: a,
|
|
603
603
|
a: i
|
|
604
|
-
} = e, r = (
|
|
605
|
-
const l = (
|
|
604
|
+
} = e, r = (o) => {
|
|
605
|
+
const l = (o + t / 60) % 6;
|
|
606
606
|
return a - a * n * Math.max(Math.min(l, 4 - l, 1), 0);
|
|
607
|
-
},
|
|
607
|
+
}, s = [r(5), r(3), r(1)].map((o) => Math.round(o * 255));
|
|
608
608
|
return {
|
|
609
|
-
r:
|
|
610
|
-
g:
|
|
611
|
-
b:
|
|
609
|
+
r: s[0],
|
|
610
|
+
g: s[1],
|
|
611
|
+
b: s[2],
|
|
612
612
|
a: i
|
|
613
613
|
};
|
|
614
614
|
}
|
|
615
|
-
function
|
|
616
|
-
return et(
|
|
615
|
+
function Un(e) {
|
|
616
|
+
return et(_a(e));
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function _a(e) {
|
|
619
619
|
const {
|
|
620
620
|
h: t,
|
|
621
621
|
s: n,
|
|
622
622
|
l: a,
|
|
623
623
|
a: i
|
|
624
|
-
} = e, r = a + n * Math.min(a, 1 - a),
|
|
624
|
+
} = e, r = a + n * Math.min(a, 1 - a), s = r === 0 ? 0 : 2 - 2 * a / r;
|
|
625
625
|
return {
|
|
626
626
|
h: t,
|
|
627
|
-
s
|
|
627
|
+
s,
|
|
628
628
|
v: r,
|
|
629
629
|
a: i
|
|
630
630
|
};
|
|
@@ -640,21 +640,21 @@ function er(e) {
|
|
|
640
640
|
};
|
|
641
641
|
}
|
|
642
642
|
function tr(e) {
|
|
643
|
-
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((t) => t + t).join("")), e.length !== 6 && (e =
|
|
643
|
+
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((t) => t + t).join("")), e.length !== 6 && (e = Ln(Ln(e, 6), 8, "F")), e;
|
|
644
644
|
}
|
|
645
645
|
function nr(e) {
|
|
646
|
-
const t = Math.abs(
|
|
647
|
-
return Math.abs(
|
|
646
|
+
const t = Math.abs(Gn(Ye(0), Ye(e)));
|
|
647
|
+
return Math.abs(Gn(Ye(16777215), Ye(e))) > Math.min(t, 50) ? "#fff" : "#000";
|
|
648
648
|
}
|
|
649
649
|
function A(e, t) {
|
|
650
650
|
return (n) => Object.keys(e).reduce((a, i) => {
|
|
651
|
-
const
|
|
651
|
+
const s = typeof e[i] == "object" && e[i] != null && !Array.isArray(e[i]) ? e[i] : {
|
|
652
652
|
type: e[i]
|
|
653
653
|
};
|
|
654
654
|
return n && i in n ? a[i] = {
|
|
655
|
-
...
|
|
655
|
+
...s,
|
|
656
656
|
default: n[i]
|
|
657
|
-
} : a[i] =
|
|
657
|
+
} : a[i] = s, t && !a[i].source && (a[i].source = t), a;
|
|
658
658
|
}, {});
|
|
659
659
|
}
|
|
660
660
|
const X = A({
|
|
@@ -665,7 +665,7 @@ const X = A({
|
|
|
665
665
|
}
|
|
666
666
|
}, "component");
|
|
667
667
|
function U(e, t) {
|
|
668
|
-
const n =
|
|
668
|
+
const n = hi();
|
|
669
669
|
if (!n)
|
|
670
670
|
throw new Error(`[Vuetify] ${e} must be called from inside a setup function`);
|
|
671
671
|
return n;
|
|
@@ -684,22 +684,22 @@ function ar(e) {
|
|
|
684
684
|
return n[e];
|
|
685
685
|
}
|
|
686
686
|
const pt = Symbol.for("vuetify:defaults");
|
|
687
|
-
function
|
|
687
|
+
function pn() {
|
|
688
688
|
const e = J(pt);
|
|
689
689
|
if (!e) throw new Error("[Vuetify] Could not find defaults instance");
|
|
690
690
|
return e;
|
|
691
691
|
}
|
|
692
|
-
function
|
|
693
|
-
const n =
|
|
694
|
-
if (
|
|
695
|
-
const
|
|
696
|
-
if (a.value == null && !(
|
|
692
|
+
function Cn(e, t) {
|
|
693
|
+
const n = pn(), a = M(e), i = w(() => {
|
|
694
|
+
if ($e(t == null ? void 0 : t.disabled)) return n.value;
|
|
695
|
+
const s = $e(t == null ? void 0 : t.scoped), o = $e(t == null ? void 0 : t.reset), l = $e(t == null ? void 0 : t.root);
|
|
696
|
+
if (a.value == null && !(s || o || l)) return n.value;
|
|
697
697
|
let u = Fe(a.value, {
|
|
698
698
|
prev: n.value
|
|
699
699
|
});
|
|
700
|
-
if (
|
|
701
|
-
if (
|
|
702
|
-
const c = Number(
|
|
700
|
+
if (s) return u;
|
|
701
|
+
if (o || l) {
|
|
702
|
+
const c = Number(o || 1 / 0);
|
|
703
703
|
for (let f = 0; f <= c && !(!u || !("prev" in u)); f++)
|
|
704
704
|
u = u.prev;
|
|
705
705
|
return u && typeof l == "string" && l in u && (u = Fe(Fe(u, {
|
|
@@ -708,13 +708,13 @@ function pn(e, t) {
|
|
|
708
708
|
}
|
|
709
709
|
return u.prev ? Fe(u.prev, u) : u;
|
|
710
710
|
});
|
|
711
|
-
return
|
|
711
|
+
return se(pt, i), i;
|
|
712
712
|
}
|
|
713
713
|
function ir(e, t) {
|
|
714
714
|
return e.props && (typeof e.props[t] < "u" || typeof e.props[Pe(t)] < "u");
|
|
715
715
|
}
|
|
716
716
|
function rr() {
|
|
717
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] :
|
|
717
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : pn();
|
|
718
718
|
const a = U("useDefaults");
|
|
719
719
|
if (t = t ?? a.type.name ?? a.type.__name, !t)
|
|
720
720
|
throw new Error("[Vuetify] Could not determine component name");
|
|
@@ -733,24 +733,24 @@ function rr() {
|
|
|
733
733
|
const v = (g = (m = n.value) == null ? void 0 : m.global) == null ? void 0 : g[u];
|
|
734
734
|
return v !== void 0 ? v : c;
|
|
735
735
|
}
|
|
736
|
-
}),
|
|
736
|
+
}), s = D();
|
|
737
737
|
Oe(() => {
|
|
738
738
|
if (i.value) {
|
|
739
739
|
const l = Object.entries(i.value).filter((u) => {
|
|
740
740
|
let [c] = u;
|
|
741
741
|
return c.startsWith(c[0].toUpperCase());
|
|
742
742
|
});
|
|
743
|
-
|
|
743
|
+
s.value = l.length ? Object.fromEntries(l) : void 0;
|
|
744
744
|
} else
|
|
745
|
-
|
|
745
|
+
s.value = void 0;
|
|
746
746
|
});
|
|
747
|
-
function
|
|
747
|
+
function o() {
|
|
748
748
|
const l = ar(pt, a);
|
|
749
|
-
|
|
749
|
+
se(pt, w(() => s.value ? Fe((l == null ? void 0 : l.value) ?? {}, s.value) : l == null ? void 0 : l.value));
|
|
750
750
|
}
|
|
751
751
|
return {
|
|
752
752
|
props: r,
|
|
753
|
-
provideSubDefaults:
|
|
753
|
+
provideSubDefaults: o
|
|
754
754
|
};
|
|
755
755
|
}
|
|
756
756
|
function rt(e) {
|
|
@@ -760,15 +760,15 @@ function rt(e) {
|
|
|
760
760
|
e.props = A(e.props ?? {}, e.name)();
|
|
761
761
|
const t = Object.keys(e.props).filter((n) => n !== "class" && n !== "style");
|
|
762
762
|
e.filterProps = function(a) {
|
|
763
|
-
return
|
|
763
|
+
return bn(a, t);
|
|
764
764
|
}, e.props._as = String, e.setup = function(a, i) {
|
|
765
|
-
const r =
|
|
765
|
+
const r = pn();
|
|
766
766
|
if (!r.value) return e._setup(a, i);
|
|
767
767
|
const {
|
|
768
|
-
props:
|
|
769
|
-
provideSubDefaults:
|
|
770
|
-
} = rr(a, a._as ?? e.name, r), l = e._setup(
|
|
771
|
-
return
|
|
768
|
+
props: s,
|
|
769
|
+
provideSubDefaults: o
|
|
770
|
+
} = rr(a, a._as ?? e.name, r), l = e._setup(s, i);
|
|
771
|
+
return o(), l;
|
|
772
772
|
};
|
|
773
773
|
}
|
|
774
774
|
return e;
|
|
@@ -777,13 +777,13 @@ function z() {
|
|
|
777
777
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
778
778
|
return (t) => (e ? rt : Pt)(t);
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function wo(e, t) {
|
|
781
781
|
return t.props = e, t;
|
|
782
782
|
}
|
|
783
|
-
function
|
|
783
|
+
function sr(e) {
|
|
784
784
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", n = arguments.length > 2 ? arguments[2] : void 0;
|
|
785
785
|
return z()({
|
|
786
|
-
name: n ??
|
|
786
|
+
name: n ?? ca(da(e.replace(/__/g, "-"))),
|
|
787
787
|
props: {
|
|
788
788
|
tag: {
|
|
789
789
|
type: String,
|
|
@@ -796,16 +796,16 @@ function or(e) {
|
|
|
796
796
|
slots: r
|
|
797
797
|
} = i;
|
|
798
798
|
return () => {
|
|
799
|
-
var
|
|
799
|
+
var s;
|
|
800
800
|
return At(a.tag, {
|
|
801
801
|
class: [e, a.class],
|
|
802
802
|
style: a.style
|
|
803
|
-
}, (
|
|
803
|
+
}, (s = r.default) == null ? void 0 : s.call(r));
|
|
804
804
|
};
|
|
805
805
|
}
|
|
806
806
|
});
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function Pa(e) {
|
|
809
809
|
if (typeof e.getRootNode != "function") {
|
|
810
810
|
for (; e.parentNode; ) e = e.parentNode;
|
|
811
811
|
return e !== document ? null : document;
|
|
@@ -815,11 +815,11 @@ function _a(e) {
|
|
|
815
815
|
composed: !0
|
|
816
816
|
}) !== document ? null : t;
|
|
817
817
|
}
|
|
818
|
-
const
|
|
818
|
+
const Qt = "cubic-bezier(0.4, 0, 0.2, 1)", or = "cubic-bezier(0.0, 0, 0.2, 1)", lr = "cubic-bezier(0.4, 0, 1, 1)";
|
|
819
819
|
function ur(e) {
|
|
820
820
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
821
821
|
for (; e; ) {
|
|
822
|
-
if (t ? cr(e) :
|
|
822
|
+
if (t ? cr(e) : xn(e)) return e;
|
|
823
823
|
e = e.parentElement;
|
|
824
824
|
}
|
|
825
825
|
return document.scrollingElement;
|
|
@@ -827,11 +827,11 @@ function ur(e) {
|
|
|
827
827
|
function Ct(e, t) {
|
|
828
828
|
const n = [];
|
|
829
829
|
if (t && e && !t.contains(e)) return n;
|
|
830
|
-
for (; e && (
|
|
830
|
+
for (; e && (xn(e) && n.push(e), e !== t); )
|
|
831
831
|
e = e.parentElement;
|
|
832
832
|
return n;
|
|
833
833
|
}
|
|
834
|
-
function
|
|
834
|
+
function xn(e) {
|
|
835
835
|
if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1;
|
|
836
836
|
const t = window.getComputedStyle(e);
|
|
837
837
|
return t.overflowY === "scroll" || t.overflowY === "auto" && e.scrollHeight > e.clientHeight;
|
|
@@ -853,10 +853,10 @@ function K(e) {
|
|
|
853
853
|
const t = U("useRender");
|
|
854
854
|
t.render = e;
|
|
855
855
|
}
|
|
856
|
-
const
|
|
856
|
+
const st = A({
|
|
857
857
|
border: [Boolean, Number, String]
|
|
858
858
|
}, "border");
|
|
859
|
-
function
|
|
859
|
+
function ot(e) {
|
|
860
860
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ce();
|
|
861
861
|
return {
|
|
862
862
|
borderClasses: w(() => {
|
|
@@ -912,8 +912,8 @@ function Te(e) {
|
|
|
912
912
|
if (a === !0 || a === "")
|
|
913
913
|
r.push(`${t}--rounded`);
|
|
914
914
|
else if (typeof a == "string" || a === 0)
|
|
915
|
-
for (const
|
|
916
|
-
r.push(`rounded-${
|
|
915
|
+
for (const s of String(a).split(" "))
|
|
916
|
+
r.push(`rounded-${s}`);
|
|
917
917
|
else (i || a === !1) && r.push("rounded-0");
|
|
918
918
|
return r;
|
|
919
919
|
})
|
|
@@ -924,12 +924,12 @@ const le = A({
|
|
|
924
924
|
type: [String, Object, Function],
|
|
925
925
|
default: "div"
|
|
926
926
|
}
|
|
927
|
-
}, "tag"),
|
|
927
|
+
}, "tag"), en = Symbol.for("vuetify:theme"), ue = A({
|
|
928
928
|
theme: String
|
|
929
929
|
}, "theme");
|
|
930
930
|
function ye(e) {
|
|
931
931
|
U("provideTheme");
|
|
932
|
-
const t = J(
|
|
932
|
+
const t = J(en, null);
|
|
933
933
|
if (!t) throw new Error("Could not find Vuetify theme injection");
|
|
934
934
|
const n = x(() => e.theme ?? t.name.value), a = x(() => t.themes.value[n.value]), i = x(() => t.isDisabled ? void 0 : `v-theme--${n.value}`), r = {
|
|
935
935
|
...t,
|
|
@@ -937,19 +937,19 @@ function ye(e) {
|
|
|
937
937
|
current: a,
|
|
938
938
|
themeClasses: i
|
|
939
939
|
};
|
|
940
|
-
return
|
|
940
|
+
return se(en, r), r;
|
|
941
941
|
}
|
|
942
942
|
function vr() {
|
|
943
943
|
U("useTheme");
|
|
944
|
-
const e = J(
|
|
944
|
+
const e = J(en, null);
|
|
945
945
|
if (!e) throw new Error("Could not find Vuetify theme injection");
|
|
946
946
|
return e;
|
|
947
947
|
}
|
|
948
|
-
function
|
|
949
|
-
return
|
|
948
|
+
function kn(e) {
|
|
949
|
+
return wn(() => {
|
|
950
950
|
const t = me(e), n = [], a = {};
|
|
951
951
|
if (t.background)
|
|
952
|
-
if (
|
|
952
|
+
if (Zt(t.background)) {
|
|
953
953
|
if (a.backgroundColor = t.background, !t.text && Zi(t.background)) {
|
|
954
954
|
const i = Ye(t.background);
|
|
955
955
|
if (i.a == null || i.a === 1) {
|
|
@@ -959,7 +959,7 @@ function xn(e) {
|
|
|
959
959
|
}
|
|
960
960
|
} else
|
|
961
961
|
n.push(`bg-${t.background}`);
|
|
962
|
-
return t.text && (
|
|
962
|
+
return t.text && (Zt(t.text) ? (a.color = t.text, a.caretColor = t.text) : n.push(`text-${t.text}`)), {
|
|
963
963
|
colorClasses: n,
|
|
964
964
|
colorStyles: a
|
|
965
965
|
};
|
|
@@ -969,7 +969,7 @@ function Ge(e) {
|
|
|
969
969
|
const {
|
|
970
970
|
colorClasses: t,
|
|
971
971
|
colorStyles: n
|
|
972
|
-
} =
|
|
972
|
+
} = kn(() => ({
|
|
973
973
|
text: me(e)
|
|
974
974
|
}));
|
|
975
975
|
return {
|
|
@@ -981,7 +981,7 @@ function ze(e) {
|
|
|
981
981
|
const {
|
|
982
982
|
colorClasses: t,
|
|
983
983
|
colorStyles: n
|
|
984
|
-
} =
|
|
984
|
+
} = kn(() => ({
|
|
985
985
|
background: me(e)
|
|
986
986
|
}));
|
|
987
987
|
return {
|
|
@@ -990,7 +990,7 @@ function ze(e) {
|
|
|
990
990
|
};
|
|
991
991
|
}
|
|
992
992
|
const mr = ["elevated", "flat", "tonal", "outlined", "text", "plain"];
|
|
993
|
-
function
|
|
993
|
+
function _n(e, t) {
|
|
994
994
|
return b(pe, null, [e && b("span", {
|
|
995
995
|
key: "overlay",
|
|
996
996
|
class: `${t}__overlay`
|
|
@@ -1007,7 +1007,7 @@ const ct = A({
|
|
|
1007
1007
|
validator: (e) => mr.includes(e)
|
|
1008
1008
|
}
|
|
1009
1009
|
}, "variant");
|
|
1010
|
-
function
|
|
1010
|
+
function Pn(e) {
|
|
1011
1011
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ce();
|
|
1012
1012
|
const n = x(() => {
|
|
1013
1013
|
const {
|
|
@@ -1017,13 +1017,13 @@ function _n(e) {
|
|
|
1017
1017
|
}), {
|
|
1018
1018
|
colorClasses: a,
|
|
1019
1019
|
colorStyles: i
|
|
1020
|
-
} =
|
|
1020
|
+
} = kn(() => {
|
|
1021
1021
|
const {
|
|
1022
1022
|
variant: r,
|
|
1023
|
-
color:
|
|
1023
|
+
color: s
|
|
1024
1024
|
} = me(e);
|
|
1025
1025
|
return {
|
|
1026
|
-
[["elevated", "flat"].includes(r) ? "background" : "text"]:
|
|
1026
|
+
[["elevated", "flat"].includes(r) ? "background" : "text"]: s
|
|
1027
1027
|
};
|
|
1028
1028
|
});
|
|
1029
1029
|
return {
|
|
@@ -1032,10 +1032,10 @@ function _n(e) {
|
|
|
1032
1032
|
variantClasses: n
|
|
1033
1033
|
};
|
|
1034
1034
|
}
|
|
1035
|
-
const
|
|
1035
|
+
const Aa = A({
|
|
1036
1036
|
baseColor: String,
|
|
1037
1037
|
divided: Boolean,
|
|
1038
|
-
...
|
|
1038
|
+
...st(),
|
|
1039
1039
|
...X(),
|
|
1040
1040
|
...lt(),
|
|
1041
1041
|
...Ot(),
|
|
@@ -1043,9 +1043,9 @@ const Pa = A({
|
|
|
1043
1043
|
...le(),
|
|
1044
1044
|
...ue(),
|
|
1045
1045
|
...ct()
|
|
1046
|
-
}, "VBtnGroup"),
|
|
1046
|
+
}, "VBtnGroup"), Kn = z()({
|
|
1047
1047
|
name: "VBtnGroup",
|
|
1048
|
-
props:
|
|
1048
|
+
props: Aa(),
|
|
1049
1049
|
setup(e, t) {
|
|
1050
1050
|
let {
|
|
1051
1051
|
slots: n
|
|
@@ -1056,12 +1056,12 @@ const Pa = A({
|
|
|
1056
1056
|
densityClasses: i
|
|
1057
1057
|
} = ut(e), {
|
|
1058
1058
|
borderClasses: r
|
|
1059
|
-
} =
|
|
1060
|
-
elevationClasses:
|
|
1059
|
+
} = ot(e), {
|
|
1060
|
+
elevationClasses: s
|
|
1061
1061
|
} = It(e), {
|
|
1062
|
-
roundedClasses:
|
|
1062
|
+
roundedClasses: o
|
|
1063
1063
|
} = Te(e);
|
|
1064
|
-
|
|
1064
|
+
Cn({
|
|
1065
1065
|
VBtn: {
|
|
1066
1066
|
height: "auto",
|
|
1067
1067
|
baseColor: x(() => e.baseColor),
|
|
@@ -1073,7 +1073,7 @@ const Pa = A({
|
|
|
1073
1073
|
}), K(() => b(e.tag, {
|
|
1074
1074
|
class: ["v-btn-group", {
|
|
1075
1075
|
"v-btn-group--divided": e.divided
|
|
1076
|
-
}, a.value, r.value, i.value,
|
|
1076
|
+
}, a.value, r.value, i.value, s.value, o.value, e.class],
|
|
1077
1077
|
style: e.style
|
|
1078
1078
|
}, n));
|
|
1079
1079
|
}
|
|
@@ -1081,44 +1081,44 @@ const Pa = A({
|
|
|
1081
1081
|
function Bt(e, t) {
|
|
1082
1082
|
let n;
|
|
1083
1083
|
function a() {
|
|
1084
|
-
n =
|
|
1084
|
+
n = cn(), n.run(() => t.length ? t(() => {
|
|
1085
1085
|
n == null || n.stop(), a();
|
|
1086
1086
|
}) : t());
|
|
1087
1087
|
}
|
|
1088
|
-
|
|
1088
|
+
W(e, (i) => {
|
|
1089
1089
|
i && !n ? a() : i || (n == null || n.stop(), n = void 0);
|
|
1090
1090
|
}, {
|
|
1091
1091
|
immediate: !0
|
|
1092
|
-
}),
|
|
1092
|
+
}), oe(() => {
|
|
1093
1093
|
n == null || n.stop();
|
|
1094
1094
|
});
|
|
1095
1095
|
}
|
|
1096
1096
|
function Ae(e, t, n) {
|
|
1097
1097
|
let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : (f) => f, i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : (f) => f;
|
|
1098
|
-
const r = U("useProxiedModel"),
|
|
1098
|
+
const r = U("useProxiedModel"), s = M(e[t] !== void 0 ? e[t] : n), o = Pe(t), u = o !== t ? w(() => {
|
|
1099
1099
|
var f, v, h, d;
|
|
1100
|
-
return e[t], !!(((f = r.vnode.props) != null && f.hasOwnProperty(t) || (v = r.vnode.props) != null && v.hasOwnProperty(
|
|
1100
|
+
return e[t], !!(((f = r.vnode.props) != null && f.hasOwnProperty(t) || (v = r.vnode.props) != null && v.hasOwnProperty(o)) && ((h = r.vnode.props) != null && h.hasOwnProperty(`onUpdate:${t}`) || (d = r.vnode.props) != null && d.hasOwnProperty(`onUpdate:${o}`)));
|
|
1101
1101
|
}) : w(() => {
|
|
1102
1102
|
var f, v;
|
|
1103
1103
|
return e[t], !!((f = r.vnode.props) != null && f.hasOwnProperty(t) && ((v = r.vnode.props) != null && v.hasOwnProperty(`onUpdate:${t}`)));
|
|
1104
1104
|
});
|
|
1105
1105
|
Bt(() => !u.value, () => {
|
|
1106
|
-
|
|
1107
|
-
|
|
1106
|
+
W(() => e[t], (f) => {
|
|
1107
|
+
s.value = f;
|
|
1108
1108
|
});
|
|
1109
1109
|
});
|
|
1110
1110
|
const c = w({
|
|
1111
1111
|
get() {
|
|
1112
1112
|
const f = e[t];
|
|
1113
|
-
return a(u.value ? f :
|
|
1113
|
+
return a(u.value ? f : s.value);
|
|
1114
1114
|
},
|
|
1115
1115
|
set(f) {
|
|
1116
|
-
const v = i(f), h = H(u.value ? e[t] :
|
|
1117
|
-
h === v || a(h) === f || (
|
|
1116
|
+
const v = i(f), h = H(u.value ? e[t] : s.value);
|
|
1117
|
+
h === v || a(h) === f || (s.value = v, r == null || r.emit(`update:${t}`, v));
|
|
1118
1118
|
}
|
|
1119
1119
|
});
|
|
1120
1120
|
return Object.defineProperty(c, "externalValue", {
|
|
1121
|
-
get: () => u.value ? e[t] :
|
|
1121
|
+
get: () => u.value ? e[t] : s.value
|
|
1122
1122
|
}), c;
|
|
1123
1123
|
}
|
|
1124
1124
|
const gr = A({
|
|
@@ -1141,23 +1141,23 @@ function hr(e, t) {
|
|
|
1141
1141
|
const a = U("useGroupItem");
|
|
1142
1142
|
if (!a)
|
|
1143
1143
|
throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");
|
|
1144
|
-
const i =
|
|
1145
|
-
|
|
1144
|
+
const i = fa();
|
|
1145
|
+
se(Symbol.for(`${t.description}:id`), i);
|
|
1146
1146
|
const r = J(t, null);
|
|
1147
1147
|
if (!r) {
|
|
1148
1148
|
if (!n) return r;
|
|
1149
1149
|
throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`);
|
|
1150
1150
|
}
|
|
1151
|
-
const
|
|
1151
|
+
const s = x(() => e.value), o = w(() => !!(r.disabled.value || e.disabled));
|
|
1152
1152
|
r.register({
|
|
1153
1153
|
id: i,
|
|
1154
|
-
value:
|
|
1155
|
-
disabled:
|
|
1154
|
+
value: s,
|
|
1155
|
+
disabled: o
|
|
1156
1156
|
}, a), ge(() => {
|
|
1157
1157
|
r.unregister(i);
|
|
1158
1158
|
});
|
|
1159
1159
|
const l = w(() => r.isSelected(i)), u = w(() => r.items.value[0].id === i), c = w(() => r.items.value[r.items.value.length - 1].id === i), f = w(() => l.value && [r.selectedClass.value, e.selectedClass]);
|
|
1160
|
-
return
|
|
1160
|
+
return W(l, (v) => {
|
|
1161
1161
|
a.emit("group:selected", {
|
|
1162
1162
|
value: v
|
|
1163
1163
|
});
|
|
@@ -1171,22 +1171,22 @@ function hr(e, t) {
|
|
|
1171
1171
|
toggle: () => r.select(i, !l.value),
|
|
1172
1172
|
select: (v) => r.select(i, v),
|
|
1173
1173
|
selectedClass: f,
|
|
1174
|
-
value:
|
|
1175
|
-
disabled:
|
|
1174
|
+
value: s,
|
|
1175
|
+
disabled: o,
|
|
1176
1176
|
group: r
|
|
1177
1177
|
};
|
|
1178
1178
|
}
|
|
1179
1179
|
function br(e, t) {
|
|
1180
1180
|
let n = !1;
|
|
1181
|
-
const a = We([]), i = Ae(e, "modelValue", [], (v) => v == null ? [] :
|
|
1181
|
+
const a = We([]), i = Ae(e, "modelValue", [], (v) => v == null ? [] : Ea(a, Sn(v)), (v) => {
|
|
1182
1182
|
const h = wr(a, v);
|
|
1183
1183
|
return e.multiple ? h : h[0];
|
|
1184
1184
|
}), r = U("useGroup");
|
|
1185
|
-
function
|
|
1185
|
+
function s(v, h) {
|
|
1186
1186
|
const d = v, m = Symbol.for(`${t.description}:id`), y = Ke(m, r == null ? void 0 : r.vnode).indexOf(h);
|
|
1187
|
-
|
|
1187
|
+
$e(d.value) == null && (d.value = y, d.useIndexAsValue = !0), y > -1 ? a.splice(y, 0, d) : a.push(d);
|
|
1188
1188
|
}
|
|
1189
|
-
function
|
|
1189
|
+
function o(v) {
|
|
1190
1190
|
if (n) return;
|
|
1191
1191
|
l();
|
|
1192
1192
|
const h = a.findIndex((d) => d.id === v);
|
|
@@ -1196,11 +1196,11 @@ function br(e, t) {
|
|
|
1196
1196
|
const v = a.find((h) => !h.disabled);
|
|
1197
1197
|
v && e.mandatory === "force" && !i.value.length && (i.value = [v.id]);
|
|
1198
1198
|
}
|
|
1199
|
-
|
|
1199
|
+
dn(() => {
|
|
1200
1200
|
l();
|
|
1201
1201
|
}), ge(() => {
|
|
1202
1202
|
n = !0;
|
|
1203
|
-
}),
|
|
1203
|
+
}), bi(() => {
|
|
1204
1204
|
for (let v = 0; v < a.length; v++)
|
|
1205
1205
|
a[v].useIndexAsValue && (a[v].value = v);
|
|
1206
1206
|
});
|
|
@@ -1231,8 +1231,8 @@ function br(e, t) {
|
|
|
1231
1231
|
}
|
|
1232
1232
|
}
|
|
1233
1233
|
const f = {
|
|
1234
|
-
register:
|
|
1235
|
-
unregister:
|
|
1234
|
+
register: s,
|
|
1235
|
+
unregister: o,
|
|
1236
1236
|
selected: i,
|
|
1237
1237
|
select: u,
|
|
1238
1238
|
disabled: x(() => e.disabled),
|
|
@@ -1243,16 +1243,16 @@ function br(e, t) {
|
|
|
1243
1243
|
items: x(() => a),
|
|
1244
1244
|
getItemIndex: (v) => Sr(a, v)
|
|
1245
1245
|
};
|
|
1246
|
-
return
|
|
1246
|
+
return se(t, f), f;
|
|
1247
1247
|
}
|
|
1248
1248
|
function Sr(e, t) {
|
|
1249
|
-
const n =
|
|
1249
|
+
const n = Ea(e, [t]);
|
|
1250
1250
|
return n.length ? e.findIndex((a) => a.id === n[0]) : -1;
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function Ea(e, t) {
|
|
1253
1253
|
const n = [];
|
|
1254
1254
|
return t.forEach((a) => {
|
|
1255
|
-
const i = e.find((
|
|
1255
|
+
const i = e.find((s) => it(a, s.value)), r = e[a];
|
|
1256
1256
|
(i == null ? void 0 : i.value) != null ? n.push(i.id) : r != null && n.push(r.id);
|
|
1257
1257
|
}), n;
|
|
1258
1258
|
}
|
|
@@ -1266,8 +1266,8 @@ function wr(e, t) {
|
|
|
1266
1266
|
}
|
|
1267
1267
|
}), n;
|
|
1268
1268
|
}
|
|
1269
|
-
const
|
|
1270
|
-
...
|
|
1269
|
+
const Oa = Symbol.for("vuetify:v-btn-toggle"), pr = A({
|
|
1270
|
+
...Aa(),
|
|
1271
1271
|
...gr()
|
|
1272
1272
|
}, "VBtnToggle");
|
|
1273
1273
|
z()({
|
|
@@ -1284,12 +1284,12 @@ z()({
|
|
|
1284
1284
|
isSelected: a,
|
|
1285
1285
|
next: i,
|
|
1286
1286
|
prev: r,
|
|
1287
|
-
select:
|
|
1288
|
-
selected:
|
|
1289
|
-
} = br(e,
|
|
1287
|
+
select: s,
|
|
1288
|
+
selected: o
|
|
1289
|
+
} = br(e, Oa);
|
|
1290
1290
|
return K(() => {
|
|
1291
|
-
const l =
|
|
1292
|
-
return b(
|
|
1291
|
+
const l = Kn.filterProps(e);
|
|
1292
|
+
return b(Kn, j({
|
|
1293
1293
|
class: ["v-btn-toggle", e.class]
|
|
1294
1294
|
}, l, {
|
|
1295
1295
|
style: e.style
|
|
@@ -1300,15 +1300,15 @@ z()({
|
|
|
1300
1300
|
isSelected: a,
|
|
1301
1301
|
next: i,
|
|
1302
1302
|
prev: r,
|
|
1303
|
-
select:
|
|
1304
|
-
selected:
|
|
1303
|
+
select: s,
|
|
1304
|
+
selected: o
|
|
1305
1305
|
})];
|
|
1306
1306
|
}
|
|
1307
1307
|
});
|
|
1308
1308
|
}), {
|
|
1309
1309
|
next: i,
|
|
1310
1310
|
prev: r,
|
|
1311
|
-
select:
|
|
1311
|
+
select: s
|
|
1312
1312
|
};
|
|
1313
1313
|
}
|
|
1314
1314
|
});
|
|
@@ -1329,13 +1329,13 @@ const Cr = A({
|
|
|
1329
1329
|
defaults: a,
|
|
1330
1330
|
disabled: i,
|
|
1331
1331
|
reset: r,
|
|
1332
|
-
root:
|
|
1333
|
-
scoped:
|
|
1334
|
-
} =
|
|
1335
|
-
return
|
|
1332
|
+
root: s,
|
|
1333
|
+
scoped: o
|
|
1334
|
+
} = Si(e);
|
|
1335
|
+
return Cn(a, {
|
|
1336
1336
|
reset: r,
|
|
1337
|
-
root:
|
|
1338
|
-
scoped:
|
|
1337
|
+
root: s,
|
|
1338
|
+
scoped: o,
|
|
1339
1339
|
disabled: i
|
|
1340
1340
|
}), () => {
|
|
1341
1341
|
var l;
|
|
@@ -1351,7 +1351,7 @@ const Cr = A({
|
|
|
1351
1351
|
type: [String, Object, Function],
|
|
1352
1352
|
required: !0
|
|
1353
1353
|
}
|
|
1354
|
-
}, "icon"),
|
|
1354
|
+
}, "icon"), Xn = z()({
|
|
1355
1355
|
name: "VComponentIcon",
|
|
1356
1356
|
props: Tt(),
|
|
1357
1357
|
setup(e, t) {
|
|
@@ -1376,7 +1376,7 @@ const Cr = A({
|
|
|
1376
1376
|
let {
|
|
1377
1377
|
attrs: n
|
|
1378
1378
|
} = t;
|
|
1379
|
-
return () => b(e.tag,
|
|
1379
|
+
return () => b(e.tag, j(n, {
|
|
1380
1380
|
style: null
|
|
1381
1381
|
}), {
|
|
1382
1382
|
default: () => [b("svg", {
|
|
@@ -1422,7 +1422,7 @@ const _r = (e) => {
|
|
|
1422
1422
|
var l;
|
|
1423
1423
|
const a = me(e);
|
|
1424
1424
|
if (!a) return {
|
|
1425
|
-
component:
|
|
1425
|
+
component: Xn
|
|
1426
1426
|
};
|
|
1427
1427
|
let i = a;
|
|
1428
1428
|
if (typeof i == "string" && (i = i.trim(), i.startsWith("$") && (i = (l = t.aliases) == null ? void 0 : l[i.slice(1)])), i || De(`Could not find aliased icon "${a}"`), Array.isArray(i))
|
|
@@ -1432,13 +1432,13 @@ const _r = (e) => {
|
|
|
1432
1432
|
};
|
|
1433
1433
|
if (typeof i != "string")
|
|
1434
1434
|
return {
|
|
1435
|
-
component:
|
|
1435
|
+
component: Xn,
|
|
1436
1436
|
icon: i
|
|
1437
1437
|
};
|
|
1438
|
-
const r = Object.keys(t.sets).find((u) => typeof i == "string" && i.startsWith(`${u}:`)),
|
|
1438
|
+
const r = Object.keys(t.sets).find((u) => typeof i == "string" && i.startsWith(`${u}:`)), s = r ? i.slice(r.length + 1) : i;
|
|
1439
1439
|
return {
|
|
1440
1440
|
component: t.sets[r ?? t.defaultSet].component,
|
|
1441
|
-
icon:
|
|
1441
|
+
icon: s
|
|
1442
1442
|
};
|
|
1443
1443
|
})
|
|
1444
1444
|
};
|
|
@@ -1450,7 +1450,7 @@ const _r = (e) => {
|
|
|
1450
1450
|
}, "size");
|
|
1451
1451
|
function Lt(e) {
|
|
1452
1452
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ce();
|
|
1453
|
-
return
|
|
1453
|
+
return wn(() => {
|
|
1454
1454
|
const n = e.size;
|
|
1455
1455
|
let a, i;
|
|
1456
1456
|
return wt(Pr, n) ? a = `${t}--size-${n}` : n && (i = {
|
|
@@ -1486,9 +1486,9 @@ const Ar = A({
|
|
|
1486
1486
|
const i = D(), {
|
|
1487
1487
|
themeClasses: r
|
|
1488
1488
|
} = vr(), {
|
|
1489
|
-
iconData:
|
|
1489
|
+
iconData: s
|
|
1490
1490
|
} = _r(() => i.value || e.icon), {
|
|
1491
|
-
sizeClasses:
|
|
1491
|
+
sizeClasses: o
|
|
1492
1492
|
} = Lt(e), {
|
|
1493
1493
|
textColorClasses: l,
|
|
1494
1494
|
textColorStyles: u
|
|
@@ -1496,12 +1496,12 @@ const Ar = A({
|
|
|
1496
1496
|
return K(() => {
|
|
1497
1497
|
var v, h;
|
|
1498
1498
|
const c = (v = a.default) == null ? void 0 : v.call(a);
|
|
1499
|
-
c && (i.value = (h =
|
|
1499
|
+
c && (i.value = (h = ha(c).filter((d) => d.type === wi && d.children && typeof d.children == "string")[0]) == null ? void 0 : h.children);
|
|
1500
1500
|
const f = !!(n.onClick || n.onClickOnce);
|
|
1501
|
-
return b(
|
|
1501
|
+
return b(s.value.component, {
|
|
1502
1502
|
tag: e.tag,
|
|
1503
|
-
icon:
|
|
1504
|
-
class: ["v-icon", "notranslate", r.value,
|
|
1503
|
+
icon: s.value.icon,
|
|
1504
|
+
class: ["v-icon", "notranslate", r.value, o.value, l.value, {
|
|
1505
1505
|
"v-icon--clickable": f,
|
|
1506
1506
|
"v-icon--disabled": e.disabled,
|
|
1507
1507
|
"v-icon--start": e.start,
|
|
@@ -1509,7 +1509,7 @@ const Ar = A({
|
|
|
1509
1509
|
}, e.class],
|
|
1510
1510
|
style: [{
|
|
1511
1511
|
"--v-icon-opacity": e.opacity
|
|
1512
|
-
},
|
|
1512
|
+
}, o.value ? void 0 : {
|
|
1513
1513
|
fontSize: V(e.size),
|
|
1514
1514
|
height: V(e.size),
|
|
1515
1515
|
width: V(e.size)
|
|
@@ -1523,16 +1523,16 @@ const Ar = A({
|
|
|
1523
1523
|
}), {};
|
|
1524
1524
|
}
|
|
1525
1525
|
});
|
|
1526
|
-
function
|
|
1526
|
+
function Ia(e, t) {
|
|
1527
1527
|
const n = M(), a = D(!1);
|
|
1528
|
-
if (
|
|
1528
|
+
if (hn) {
|
|
1529
1529
|
const i = new IntersectionObserver((r) => {
|
|
1530
|
-
a.value = !!r.find((
|
|
1530
|
+
a.value = !!r.find((s) => s.isIntersecting);
|
|
1531
1531
|
}, t);
|
|
1532
1532
|
ge(() => {
|
|
1533
1533
|
i.disconnect();
|
|
1534
|
-
}),
|
|
1535
|
-
|
|
1534
|
+
}), W(n, (r, s) => {
|
|
1535
|
+
s && (i.unobserve(s), a.value = !1), r && i.observe(r);
|
|
1536
1536
|
}, {
|
|
1537
1537
|
flush: "post"
|
|
1538
1538
|
});
|
|
@@ -1544,22 +1544,22 @@ function Oa(e, t) {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
function Er(e) {
|
|
1546
1546
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content";
|
|
1547
|
-
const n =
|
|
1547
|
+
const n = Yt(), a = M();
|
|
1548
1548
|
if (Y) {
|
|
1549
1549
|
const i = new ResizeObserver((r) => {
|
|
1550
1550
|
e == null || e(r, i), r.length && (t === "content" ? a.value = r[0].contentRect : a.value = r[0].target.getBoundingClientRect());
|
|
1551
1551
|
});
|
|
1552
1552
|
ge(() => {
|
|
1553
1553
|
i.disconnect();
|
|
1554
|
-
}),
|
|
1555
|
-
|
|
1554
|
+
}), W(() => n.el, (r, s) => {
|
|
1555
|
+
s && (i.unobserve(s), a.value = void 0), r && i.observe(r);
|
|
1556
1556
|
}, {
|
|
1557
1557
|
flush: "post"
|
|
1558
1558
|
});
|
|
1559
1559
|
}
|
|
1560
1560
|
return {
|
|
1561
1561
|
resizeRef: n,
|
|
1562
|
-
contentRect:
|
|
1562
|
+
contentRect: fn(a)
|
|
1563
1563
|
};
|
|
1564
1564
|
}
|
|
1565
1565
|
const Or = A({
|
|
@@ -1592,9 +1592,9 @@ const Or = A({
|
|
|
1592
1592
|
slots: n
|
|
1593
1593
|
} = t;
|
|
1594
1594
|
const a = 20, i = 2 * Math.PI * a, r = M(), {
|
|
1595
|
-
themeClasses:
|
|
1595
|
+
themeClasses: s
|
|
1596
1596
|
} = ye(e), {
|
|
1597
|
-
sizeClasses:
|
|
1597
|
+
sizeClasses: o,
|
|
1598
1598
|
sizeStyles: l
|
|
1599
1599
|
} = Lt(e), {
|
|
1600
1600
|
textColorClasses: u,
|
|
@@ -1605,7 +1605,7 @@ const Or = A({
|
|
|
1605
1605
|
} = Ge(() => e.bgColor), {
|
|
1606
1606
|
intersectionRef: h,
|
|
1607
1607
|
isIntersecting: d
|
|
1608
|
-
} =
|
|
1608
|
+
} = Ia(), {
|
|
1609
1609
|
resizeRef: m,
|
|
1610
1610
|
contentRect: g
|
|
1611
1611
|
} = Er(), y = x(() => Math.max(0, Math.min(100, parseFloat(e.modelValue)))), S = x(() => Number(e.width)), k = x(() => l.value ? Number(e.size) : g.value ? g.value.width : Math.max(S.value, 32)), _ = x(() => a / (1 - S.value / k.value) * 2), E = x(() => S.value / k.value * _.value), B = x(() => V((100 - y.value) / 100 * i));
|
|
@@ -1617,7 +1617,7 @@ const Or = A({
|
|
|
1617
1617
|
"v-progress-circular--indeterminate": !!e.indeterminate,
|
|
1618
1618
|
"v-progress-circular--visible": d.value,
|
|
1619
1619
|
"v-progress-circular--disable-shrink": e.indeterminate === "disable-shrink"
|
|
1620
|
-
},
|
|
1620
|
+
}, s.value, o.value, u.value, e.class],
|
|
1621
1621
|
style: [l.value, c.value, e.style],
|
|
1622
1622
|
role: "progressbar",
|
|
1623
1623
|
"aria-valuemin": "0",
|
|
@@ -1667,35 +1667,35 @@ const Or = A({
|
|
|
1667
1667
|
function ft(e) {
|
|
1668
1668
|
return {
|
|
1669
1669
|
dimensionStyles: w(() => {
|
|
1670
|
-
const n = {}, a = V(e.height), i = V(e.maxHeight), r = V(e.maxWidth),
|
|
1671
|
-
return a != null && (n.height = a), i != null && (n.maxHeight = i), r != null && (n.maxWidth = r),
|
|
1670
|
+
const n = {}, a = V(e.height), i = V(e.maxHeight), r = V(e.maxWidth), s = V(e.minHeight), o = V(e.minWidth), l = V(e.width);
|
|
1671
|
+
return a != null && (n.height = a), i != null && (n.maxHeight = i), r != null && (n.maxWidth = r), s != null && (n.minHeight = s), o != null && (n.minWidth = o), l != null && (n.width = l), n;
|
|
1672
1672
|
})
|
|
1673
1673
|
};
|
|
1674
1674
|
}
|
|
1675
|
-
const
|
|
1676
|
-
function
|
|
1677
|
-
const e = J(
|
|
1675
|
+
const Ba = Symbol.for("vuetify:locale");
|
|
1676
|
+
function po() {
|
|
1677
|
+
const e = J(Ba);
|
|
1678
1678
|
if (!e) throw new Error("[Vuetify] Could not find injected locale instance");
|
|
1679
1679
|
return e;
|
|
1680
1680
|
}
|
|
1681
1681
|
function Rt() {
|
|
1682
|
-
const e = J(
|
|
1682
|
+
const e = J(Ba);
|
|
1683
1683
|
if (!e) throw new Error("[Vuetify] Could not find injected rtl instance");
|
|
1684
1684
|
return {
|
|
1685
1685
|
isRtl: e.isRtl,
|
|
1686
1686
|
rtlClasses: e.rtlClasses
|
|
1687
1687
|
};
|
|
1688
1688
|
}
|
|
1689
|
-
const
|
|
1689
|
+
const Yn = {
|
|
1690
1690
|
center: "center",
|
|
1691
1691
|
top: "bottom",
|
|
1692
1692
|
bottom: "top",
|
|
1693
1693
|
left: "right",
|
|
1694
1694
|
right: "left"
|
|
1695
|
-
},
|
|
1695
|
+
}, Ta = A({
|
|
1696
1696
|
location: String
|
|
1697
1697
|
}, "location");
|
|
1698
|
-
function
|
|
1698
|
+
function Va(e) {
|
|
1699
1699
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n = arguments.length > 2 ? arguments[2] : void 0;
|
|
1700
1700
|
const {
|
|
1701
1701
|
isRtl: a
|
|
@@ -1705,13 +1705,13 @@ function Ta(e) {
|
|
|
1705
1705
|
if (!e.location) return {};
|
|
1706
1706
|
const {
|
|
1707
1707
|
side: r,
|
|
1708
|
-
align:
|
|
1709
|
-
} =
|
|
1710
|
-
function
|
|
1708
|
+
align: s
|
|
1709
|
+
} = Jt(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, a.value);
|
|
1710
|
+
function o(u) {
|
|
1711
1711
|
return n ? n(u) : 0;
|
|
1712
1712
|
}
|
|
1713
1713
|
const l = {};
|
|
1714
|
-
return r !== "center" && (t ? l[
|
|
1714
|
+
return r !== "center" && (t ? l[Yn[r]] = `calc(100% - ${o(r)}px)` : l[r] = 0), s !== "center" ? t ? l[Yn[s]] = `calc(100% - ${o(s)}px)` : l[s] = 0 : (r === "center" ? l.top = l.left = "50%" : l[{
|
|
1715
1715
|
top: "left",
|
|
1716
1716
|
bottom: "left",
|
|
1717
1717
|
left: "top",
|
|
@@ -1761,7 +1761,7 @@ const Br = A({
|
|
|
1761
1761
|
striped: Boolean,
|
|
1762
1762
|
roundedBar: Boolean,
|
|
1763
1763
|
...X(),
|
|
1764
|
-
...
|
|
1764
|
+
...Ta({
|
|
1765
1765
|
location: "top"
|
|
1766
1766
|
}),
|
|
1767
1767
|
...Be(),
|
|
@@ -1782,10 +1782,10 @@ const Br = A({
|
|
|
1782
1782
|
isRtl: i,
|
|
1783
1783
|
rtlClasses: r
|
|
1784
1784
|
} = Rt(), {
|
|
1785
|
-
themeClasses:
|
|
1785
|
+
themeClasses: s
|
|
1786
1786
|
} = ye(e), {
|
|
1787
|
-
locationStyles:
|
|
1788
|
-
} =
|
|
1787
|
+
locationStyles: o
|
|
1788
|
+
} = Va(e), {
|
|
1789
1789
|
textColorClasses: l,
|
|
1790
1790
|
textColorStyles: u
|
|
1791
1791
|
} = Ge(() => e.color), {
|
|
@@ -1802,7 +1802,7 @@ const Br = A({
|
|
|
1802
1802
|
} = Te(e), {
|
|
1803
1803
|
intersectionRef: y,
|
|
1804
1804
|
isIntersecting: S
|
|
1805
|
-
} =
|
|
1805
|
+
} = Ia(), k = w(() => parseFloat(e.max)), _ = w(() => parseFloat(e.height)), E = w(() => St(parseFloat(e.bufferValue) / k.value * 100, 0, 100)), B = w(() => St(parseFloat(a.value) / k.value * 100, 0, 100)), T = w(() => i.value !== e.reverse), p = w(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), $ = Y && ((F = window.matchMedia) == null ? void 0 : F.call(window, "(forced-colors: active)").matches);
|
|
1806
1806
|
function q(P) {
|
|
1807
1807
|
if (!y.value) return;
|
|
1808
1808
|
const {
|
|
@@ -1821,13 +1821,13 @@ const Br = A({
|
|
|
1821
1821
|
"v-progress-linear--rounded": e.rounded,
|
|
1822
1822
|
"v-progress-linear--rounded-bar": e.roundedBar,
|
|
1823
1823
|
"v-progress-linear--striped": e.striped
|
|
1824
|
-
}, g.value,
|
|
1824
|
+
}, g.value, s.value, r.value, e.class],
|
|
1825
1825
|
style: [{
|
|
1826
1826
|
bottom: e.location === "bottom" ? 0 : void 0,
|
|
1827
1827
|
top: e.location === "top" ? 0 : void 0,
|
|
1828
1828
|
height: e.active ? V(_.value) : 0,
|
|
1829
1829
|
"--v-progress-linear-height": V(_.value),
|
|
1830
|
-
...e.absolute ?
|
|
1830
|
+
...e.absolute ? o.value : {}
|
|
1831
1831
|
}, e.style],
|
|
1832
1832
|
role: "progressbar",
|
|
1833
1833
|
"aria-hidden": e.active ? "false" : "true",
|
|
@@ -1849,13 +1849,13 @@ const Br = A({
|
|
|
1849
1849
|
"--v-progress-linear-stream-to": V(_.value * (T.value ? 1 : -1))
|
|
1850
1850
|
}
|
|
1851
1851
|
}, null), b("div", {
|
|
1852
|
-
class: ["v-progress-linear__background",
|
|
1852
|
+
class: ["v-progress-linear__background", $ ? void 0 : c.value],
|
|
1853
1853
|
style: [f.value, {
|
|
1854
1854
|
opacity: parseFloat(e.bgOpacity),
|
|
1855
1855
|
width: e.stream ? 0 : void 0
|
|
1856
1856
|
}]
|
|
1857
1857
|
}, null), b("div", {
|
|
1858
|
-
class: ["v-progress-linear__buffer",
|
|
1858
|
+
class: ["v-progress-linear__buffer", $ ? void 0 : v.value],
|
|
1859
1859
|
style: [h.value, {
|
|
1860
1860
|
opacity: parseFloat(e.bufferOpacity),
|
|
1861
1861
|
width: V(E.value, "%")
|
|
@@ -1867,10 +1867,10 @@ const Br = A({
|
|
|
1867
1867
|
class: "v-progress-linear__indeterminate"
|
|
1868
1868
|
}, [["long", "short"].map((P) => b("div", {
|
|
1869
1869
|
key: P,
|
|
1870
|
-
class: ["v-progress-linear__indeterminate", P,
|
|
1870
|
+
class: ["v-progress-linear__indeterminate", P, $ ? void 0 : d.value],
|
|
1871
1871
|
style: m.value
|
|
1872
1872
|
}, null))]) : b("div", {
|
|
1873
|
-
class: ["v-progress-linear__determinate",
|
|
1873
|
+
class: ["v-progress-linear__determinate", $ ? void 0 : d.value],
|
|
1874
1874
|
style: [m.value, {
|
|
1875
1875
|
width: V(B.value, "%")
|
|
1876
1876
|
}]
|
|
@@ -1894,7 +1894,7 @@ function Lr(e) {
|
|
|
1894
1894
|
}))
|
|
1895
1895
|
};
|
|
1896
1896
|
}
|
|
1897
|
-
function
|
|
1897
|
+
function Co(e, t) {
|
|
1898
1898
|
var a;
|
|
1899
1899
|
let {
|
|
1900
1900
|
slots: n
|
|
@@ -1912,7 +1912,7 @@ function Cs(e, t) {
|
|
|
1912
1912
|
indeterminate: !0
|
|
1913
1913
|
}, null)]);
|
|
1914
1914
|
}
|
|
1915
|
-
const Rr = ["static", "relative", "fixed", "absolute", "sticky"],
|
|
1915
|
+
const Rr = ["static", "relative", "fixed", "absolute", "sticky"], Nr = A({
|
|
1916
1916
|
position: {
|
|
1917
1917
|
type: String,
|
|
1918
1918
|
validator: (
|
|
@@ -1921,7 +1921,7 @@ const Rr = ["static", "relative", "fixed", "absolute", "sticky"], $r = A({
|
|
|
1921
1921
|
)
|
|
1922
1922
|
}
|
|
1923
1923
|
}, "position");
|
|
1924
|
-
function
|
|
1924
|
+
function $r(e) {
|
|
1925
1925
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ce();
|
|
1926
1926
|
return {
|
|
1927
1927
|
positionClasses: x(() => e.position ? `${t}--${e.position}` : void 0)
|
|
@@ -1938,9 +1938,9 @@ function Mr() {
|
|
|
1938
1938
|
var e, t;
|
|
1939
1939
|
return (t = (e = U("useRouter")) == null ? void 0 : e.proxy) == null ? void 0 : t.$router;
|
|
1940
1940
|
}
|
|
1941
|
-
function
|
|
1941
|
+
function La(e, t) {
|
|
1942
1942
|
var c, f;
|
|
1943
|
-
const n =
|
|
1943
|
+
const n = pi("RouterLink"), a = x(() => !!(e.href || e.to)), i = w(() => (a == null ? void 0 : a.value) || Rn(t, "click") || Rn(e, "click"));
|
|
1944
1944
|
if (typeof n == "string" || !("useLink" in n)) {
|
|
1945
1945
|
const v = x(() => e.href);
|
|
1946
1946
|
return {
|
|
@@ -1955,19 +1955,19 @@ function Va(e, t) {
|
|
|
1955
1955
|
const r = n.useLink({
|
|
1956
1956
|
to: x(() => e.to || ""),
|
|
1957
1957
|
replace: x(() => e.replace)
|
|
1958
|
-
}),
|
|
1958
|
+
}), s = w(() => e.to ? r : void 0), o = Fr(), l = w(() => {
|
|
1959
1959
|
var v, h, d;
|
|
1960
|
-
return
|
|
1960
|
+
return s.value ? e.exact ? o.value ? ((d = s.value.isExactActive) == null ? void 0 : d.value) && it(s.value.route.value.query, o.value.query) : ((h = s.value.isExactActive) == null ? void 0 : h.value) ?? !1 : ((v = s.value.isActive) == null ? void 0 : v.value) ?? !1 : !1;
|
|
1961
1961
|
}), u = w(() => {
|
|
1962
1962
|
var v;
|
|
1963
|
-
return e.to ? (v =
|
|
1963
|
+
return e.to ? (v = s.value) == null ? void 0 : v.route.value.href : e.href;
|
|
1964
1964
|
});
|
|
1965
1965
|
return {
|
|
1966
1966
|
isLink: a,
|
|
1967
1967
|
isClickable: i,
|
|
1968
1968
|
isActive: l,
|
|
1969
|
-
route: (c =
|
|
1970
|
-
navigate: (f =
|
|
1969
|
+
route: (c = s.value) == null ? void 0 : c.route,
|
|
1970
|
+
navigate: (f = s.value) == null ? void 0 : f.navigate,
|
|
1971
1971
|
href: u,
|
|
1972
1972
|
linkProps: We({
|
|
1973
1973
|
href: u,
|
|
@@ -1975,7 +1975,7 @@ function Va(e, t) {
|
|
|
1975
1975
|
})
|
|
1976
1976
|
};
|
|
1977
1977
|
}
|
|
1978
|
-
const
|
|
1978
|
+
const Ra = A({
|
|
1979
1979
|
href: String,
|
|
1980
1980
|
replace: Boolean,
|
|
1981
1981
|
to: [String, Object],
|
|
@@ -1985,21 +1985,21 @@ let Mt = !1;
|
|
|
1985
1985
|
function Dr(e, t) {
|
|
1986
1986
|
let n = !1, a, i;
|
|
1987
1987
|
Y && (e != null && e.beforeEach) && (Ie(() => {
|
|
1988
|
-
window.addEventListener("popstate", r), a = e.beforeEach((
|
|
1988
|
+
window.addEventListener("popstate", r), a = e.beforeEach((s, o, l) => {
|
|
1989
1989
|
Mt ? n ? t(l) : l() : setTimeout(() => n ? t(l) : l()), Mt = !0;
|
|
1990
1990
|
}), i = e == null ? void 0 : e.afterEach(() => {
|
|
1991
1991
|
Mt = !1;
|
|
1992
1992
|
});
|
|
1993
|
-
}),
|
|
1993
|
+
}), oe(() => {
|
|
1994
1994
|
window.removeEventListener("popstate", r), a == null || a(), i == null || i();
|
|
1995
1995
|
}));
|
|
1996
|
-
function r(
|
|
1997
|
-
var
|
|
1998
|
-
(
|
|
1996
|
+
function r(s) {
|
|
1997
|
+
var o;
|
|
1998
|
+
(o = s.state) != null && o.replaced || (n = !0, setTimeout(() => n = !1));
|
|
1999
1999
|
}
|
|
2000
2000
|
}
|
|
2001
2001
|
function zr(e, t) {
|
|
2002
|
-
|
|
2002
|
+
W(() => {
|
|
2003
2003
|
var n;
|
|
2004
2004
|
return (n = e.isActive) == null ? void 0 : n.value;
|
|
2005
2005
|
}, (n) => {
|
|
@@ -2010,32 +2010,32 @@ function zr(e, t) {
|
|
|
2010
2010
|
immediate: !0
|
|
2011
2011
|
});
|
|
2012
2012
|
}
|
|
2013
|
-
const
|
|
2014
|
-
function
|
|
2013
|
+
const tn = Symbol("rippleStop"), jr = 80;
|
|
2014
|
+
function Jn(e, t) {
|
|
2015
2015
|
e.style.transform = t, e.style.webkitTransform = t;
|
|
2016
2016
|
}
|
|
2017
|
-
function
|
|
2017
|
+
function nn(e) {
|
|
2018
2018
|
return e.constructor.name === "TouchEvent";
|
|
2019
2019
|
}
|
|
2020
|
-
function
|
|
2020
|
+
function Na(e) {
|
|
2021
2021
|
return e.constructor.name === "KeyboardEvent";
|
|
2022
2022
|
}
|
|
2023
2023
|
const Wr = function(e, t) {
|
|
2024
2024
|
var f;
|
|
2025
2025
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = 0, i = 0;
|
|
2026
|
-
if (!
|
|
2027
|
-
const v = t.getBoundingClientRect(), h =
|
|
2026
|
+
if (!Na(e)) {
|
|
2027
|
+
const v = t.getBoundingClientRect(), h = nn(e) ? e.touches[e.touches.length - 1] : e;
|
|
2028
2028
|
a = h.clientX - v.left, i = h.clientY - v.top;
|
|
2029
2029
|
}
|
|
2030
|
-
let r = 0,
|
|
2031
|
-
(f = t._ripple) != null && f.circle ? (
|
|
2032
|
-
const
|
|
2030
|
+
let r = 0, s = 0.3;
|
|
2031
|
+
(f = t._ripple) != null && f.circle ? (s = 0.15, r = t.clientWidth / 2, r = n.center ? r : r + Math.sqrt((a - r) ** 2 + (i - r) ** 2) / 4) : r = Math.sqrt(t.clientWidth ** 2 + t.clientHeight ** 2) / 2;
|
|
2032
|
+
const o = `${(t.clientWidth - r * 2) / 2}px`, l = `${(t.clientHeight - r * 2) / 2}px`, u = n.center ? o : `${a - r}px`, c = n.center ? l : `${i - r}px`;
|
|
2033
2033
|
return {
|
|
2034
2034
|
radius: r,
|
|
2035
|
-
scale:
|
|
2035
|
+
scale: s,
|
|
2036
2036
|
x: u,
|
|
2037
2037
|
y: c,
|
|
2038
|
-
centerX:
|
|
2038
|
+
centerX: o,
|
|
2039
2039
|
centerY: l
|
|
2040
2040
|
};
|
|
2041
2041
|
}, xt = {
|
|
@@ -2049,17 +2049,17 @@ const Wr = function(e, t) {
|
|
|
2049
2049
|
a.appendChild(i), a.className = "v-ripple__container", n.class && (a.className += ` ${n.class}`);
|
|
2050
2050
|
const {
|
|
2051
2051
|
radius: r,
|
|
2052
|
-
scale:
|
|
2053
|
-
x:
|
|
2052
|
+
scale: s,
|
|
2053
|
+
x: o,
|
|
2054
2054
|
y: l,
|
|
2055
2055
|
centerX: u,
|
|
2056
2056
|
centerY: c
|
|
2057
2057
|
} = Wr(e, t, n), f = `${r * 2}px`;
|
|
2058
2058
|
i.className = "v-ripple__animation", i.style.width = f, i.style.height = f, t.appendChild(a);
|
|
2059
2059
|
const v = window.getComputedStyle(t);
|
|
2060
|
-
v && v.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), i.classList.add("v-ripple__animation--enter"), i.classList.add("v-ripple__animation--visible"),
|
|
2060
|
+
v && v.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), i.classList.add("v-ripple__animation--enter"), i.classList.add("v-ripple__animation--visible"), Jn(i, `translate(${o}, ${l}) scale3d(${s},${s},${s})`), i.dataset.activated = String(performance.now()), requestAnimationFrame(() => {
|
|
2061
2061
|
requestAnimationFrame(() => {
|
|
2062
|
-
i.classList.remove("v-ripple__animation--enter"), i.classList.add("v-ripple__animation--in"),
|
|
2062
|
+
i.classList.remove("v-ripple__animation--enter"), i.classList.add("v-ripple__animation--in"), Jn(i, `translate(${u}, ${c}) scale3d(1,1,1)`);
|
|
2063
2063
|
});
|
|
2064
2064
|
});
|
|
2065
2065
|
},
|
|
@@ -2074,8 +2074,8 @@ const Wr = function(e, t) {
|
|
|
2074
2074
|
const a = performance.now() - Number(n.dataset.activated), i = Math.max(250 - a, 0);
|
|
2075
2075
|
setTimeout(() => {
|
|
2076
2076
|
n.classList.remove("v-ripple__animation--in"), n.classList.add("v-ripple__animation--out"), setTimeout(() => {
|
|
2077
|
-
var
|
|
2078
|
-
e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((
|
|
2077
|
+
var o;
|
|
2078
|
+
e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((o = n.parentNode) == null ? void 0 : o.parentNode) === e && e.removeChild(n.parentNode);
|
|
2079
2079
|
}, 300);
|
|
2080
2080
|
}, i);
|
|
2081
2081
|
}
|
|
@@ -2085,11 +2085,11 @@ function $a(e) {
|
|
|
2085
2085
|
}
|
|
2086
2086
|
function tt(e) {
|
|
2087
2087
|
const t = {}, n = e.currentTarget;
|
|
2088
|
-
if (!(!(n != null && n._ripple) || n._ripple.touched || e[
|
|
2089
|
-
if (e[
|
|
2088
|
+
if (!(!(n != null && n._ripple) || n._ripple.touched || e[tn])) {
|
|
2089
|
+
if (e[tn] = !0, nn(e))
|
|
2090
2090
|
n._ripple.touched = !0, n._ripple.isTouch = !0;
|
|
2091
2091
|
else if (n._ripple.isTouch) return;
|
|
2092
|
-
if (t.center = n._ripple.centered ||
|
|
2092
|
+
if (t.center = n._ripple.centered || Na(e), n._ripple.class && (t.class = n._ripple.class), nn(e)) {
|
|
2093
2093
|
if (n._ripple.showTimerCommit) return;
|
|
2094
2094
|
n._ripple.showTimerCommit = () => {
|
|
2095
2095
|
xt.show(e, n, t);
|
|
@@ -2101,8 +2101,8 @@ function tt(e) {
|
|
|
2101
2101
|
xt.show(e, n, t);
|
|
2102
2102
|
}
|
|
2103
2103
|
}
|
|
2104
|
-
function
|
|
2105
|
-
e[
|
|
2104
|
+
function Zn(e) {
|
|
2105
|
+
e[tn] = !0;
|
|
2106
2106
|
}
|
|
2107
2107
|
function ee(e) {
|
|
2108
2108
|
const t = e.currentTarget;
|
|
@@ -2118,59 +2118,59 @@ function ee(e) {
|
|
|
2118
2118
|
}), xt.hide(t);
|
|
2119
2119
|
}
|
|
2120
2120
|
}
|
|
2121
|
-
function
|
|
2121
|
+
function Fa(e) {
|
|
2122
2122
|
const t = e.currentTarget;
|
|
2123
2123
|
t != null && t._ripple && (t._ripple.showTimerCommit && (t._ripple.showTimerCommit = null), window.clearTimeout(t._ripple.showTimer));
|
|
2124
2124
|
}
|
|
2125
2125
|
let nt = !1;
|
|
2126
|
-
function Fa(e) {
|
|
2127
|
-
!nt && (e.keyCode === Bn.enter || e.keyCode === Bn.space) && (nt = !0, tt(e));
|
|
2128
|
-
}
|
|
2129
2126
|
function Ma(e) {
|
|
2130
|
-
nt = !
|
|
2127
|
+
!nt && (e.keyCode === Tn.enter || e.keyCode === Tn.space) && (nt = !0, tt(e));
|
|
2131
2128
|
}
|
|
2132
2129
|
function Da(e) {
|
|
2130
|
+
nt = !1, ee(e);
|
|
2131
|
+
}
|
|
2132
|
+
function za(e) {
|
|
2133
2133
|
nt && (nt = !1, ee(e));
|
|
2134
2134
|
}
|
|
2135
|
-
function
|
|
2135
|
+
function ja(e, t, n) {
|
|
2136
2136
|
const {
|
|
2137
2137
|
value: a,
|
|
2138
2138
|
modifiers: i
|
|
2139
2139
|
} = t, r = $a(a);
|
|
2140
|
-
if (r || xt.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = r, e._ripple.centered = i.center, e._ripple.circle = i.circle,
|
|
2140
|
+
if (r || xt.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = r, e._ripple.centered = i.center, e._ripple.circle = i.circle, Kt(a) && a.class && (e._ripple.class = a.class), r && !n) {
|
|
2141
2141
|
if (i.stop) {
|
|
2142
|
-
e.addEventListener("touchstart",
|
|
2142
|
+
e.addEventListener("touchstart", Zn, {
|
|
2143
2143
|
passive: !0
|
|
2144
|
-
}), e.addEventListener("mousedown",
|
|
2144
|
+
}), e.addEventListener("mousedown", Zn);
|
|
2145
2145
|
return;
|
|
2146
2146
|
}
|
|
2147
2147
|
e.addEventListener("touchstart", tt, {
|
|
2148
2148
|
passive: !0
|
|
2149
2149
|
}), e.addEventListener("touchend", ee, {
|
|
2150
2150
|
passive: !0
|
|
2151
|
-
}), e.addEventListener("touchmove",
|
|
2151
|
+
}), e.addEventListener("touchmove", Fa, {
|
|
2152
2152
|
passive: !0
|
|
2153
|
-
}), e.addEventListener("touchcancel", ee), e.addEventListener("mousedown", tt), e.addEventListener("mouseup", ee), e.addEventListener("mouseleave", ee), e.addEventListener("keydown",
|
|
2153
|
+
}), e.addEventListener("touchcancel", ee), e.addEventListener("mousedown", tt), e.addEventListener("mouseup", ee), e.addEventListener("mouseleave", ee), e.addEventListener("keydown", Ma), e.addEventListener("keyup", Da), e.addEventListener("blur", za), e.addEventListener("dragstart", ee, {
|
|
2154
2154
|
passive: !0
|
|
2155
2155
|
});
|
|
2156
|
-
} else !r && n &&
|
|
2156
|
+
} else !r && n && Wa(e);
|
|
2157
2157
|
}
|
|
2158
|
-
function
|
|
2159
|
-
e.removeEventListener("mousedown", tt), e.removeEventListener("touchstart", tt), e.removeEventListener("touchend", ee), e.removeEventListener("touchmove",
|
|
2158
|
+
function Wa(e) {
|
|
2159
|
+
e.removeEventListener("mousedown", tt), e.removeEventListener("touchstart", tt), e.removeEventListener("touchend", ee), e.removeEventListener("touchmove", Fa), e.removeEventListener("touchcancel", ee), e.removeEventListener("mouseup", ee), e.removeEventListener("mouseleave", ee), e.removeEventListener("keydown", Ma), e.removeEventListener("keyup", Da), e.removeEventListener("dragstart", ee), e.removeEventListener("blur", za);
|
|
2160
2160
|
}
|
|
2161
2161
|
function Hr(e, t) {
|
|
2162
|
-
|
|
2162
|
+
ja(e, t, !1);
|
|
2163
2163
|
}
|
|
2164
2164
|
function Gr(e) {
|
|
2165
|
-
delete e._ripple,
|
|
2165
|
+
delete e._ripple, Wa(e);
|
|
2166
2166
|
}
|
|
2167
2167
|
function qr(e, t) {
|
|
2168
2168
|
if (t.value === t.oldValue)
|
|
2169
2169
|
return;
|
|
2170
2170
|
const n = $a(t.oldValue);
|
|
2171
|
-
|
|
2171
|
+
ja(e, t, n);
|
|
2172
2172
|
}
|
|
2173
|
-
const
|
|
2173
|
+
const Ha = {
|
|
2174
2174
|
mounted: Hr,
|
|
2175
2175
|
unmounted: Gr,
|
|
2176
2176
|
updated: qr
|
|
@@ -2183,7 +2183,7 @@ const Wa = {
|
|
|
2183
2183
|
baseColor: String,
|
|
2184
2184
|
symbol: {
|
|
2185
2185
|
type: null,
|
|
2186
|
-
default:
|
|
2186
|
+
default: Oa
|
|
2187
2187
|
},
|
|
2188
2188
|
flat: Boolean,
|
|
2189
2189
|
icon: [Boolean, String, Function, Object],
|
|
@@ -2201,17 +2201,17 @@ const Wa = {
|
|
|
2201
2201
|
type: [String, Number, Boolean],
|
|
2202
2202
|
default: void 0
|
|
2203
2203
|
},
|
|
2204
|
-
...
|
|
2204
|
+
...st(),
|
|
2205
2205
|
...X(),
|
|
2206
2206
|
...lt(),
|
|
2207
2207
|
...dt(),
|
|
2208
2208
|
...Ot(),
|
|
2209
2209
|
...yr(),
|
|
2210
2210
|
...Vr(),
|
|
2211
|
-
...
|
|
2212
|
-
|
|
2211
|
+
...Ta(),
|
|
2212
|
+
...Nr(),
|
|
2213
2213
|
...Be(),
|
|
2214
|
-
...
|
|
2214
|
+
...Ra(),
|
|
2215
2215
|
...Vt(),
|
|
2216
2216
|
...le({
|
|
2217
2217
|
tag: "button"
|
|
@@ -2220,7 +2220,7 @@ const Wa = {
|
|
|
2220
2220
|
...ct({
|
|
2221
2221
|
variant: "elevated"
|
|
2222
2222
|
})
|
|
2223
|
-
}, "VBtn"),
|
|
2223
|
+
}, "VBtn"), Ga = z()({
|
|
2224
2224
|
name: "VBtn",
|
|
2225
2225
|
props: Ur(),
|
|
2226
2226
|
emits: {
|
|
@@ -2235,24 +2235,24 @@ const Wa = {
|
|
|
2235
2235
|
themeClasses: i
|
|
2236
2236
|
} = ye(e), {
|
|
2237
2237
|
borderClasses: r
|
|
2238
|
-
} =
|
|
2239
|
-
densityClasses:
|
|
2238
|
+
} = ot(e), {
|
|
2239
|
+
densityClasses: s
|
|
2240
2240
|
} = ut(e), {
|
|
2241
|
-
dimensionStyles:
|
|
2241
|
+
dimensionStyles: o
|
|
2242
2242
|
} = ft(e), {
|
|
2243
2243
|
elevationClasses: l
|
|
2244
2244
|
} = It(e), {
|
|
2245
2245
|
loaderClasses: u
|
|
2246
2246
|
} = Lr(e), {
|
|
2247
2247
|
locationStyles: c
|
|
2248
|
-
} =
|
|
2248
|
+
} = Va(e), {
|
|
2249
2249
|
positionClasses: f
|
|
2250
|
-
} =
|
|
2250
|
+
} = $r(e), {
|
|
2251
2251
|
roundedClasses: v
|
|
2252
2252
|
} = Te(e), {
|
|
2253
2253
|
sizeClasses: h,
|
|
2254
2254
|
sizeStyles: d
|
|
2255
|
-
} = Lt(e), m = hr(e, e.symbol, !1), g =
|
|
2255
|
+
} = Lt(e), m = hr(e, e.symbol, !1), g = La(e, n), y = w(() => {
|
|
2256
2256
|
var F;
|
|
2257
2257
|
return e.active !== void 0 ? e.active : g.isLink.value ? (F = g.isActive) == null ? void 0 : F.value : m == null ? void 0 : m.isSelected.value;
|
|
2258
2258
|
}), S = x(() => y.value ? e.activeColor ?? e.color : e.color), k = w(() => {
|
|
@@ -2265,7 +2265,7 @@ const Wa = {
|
|
|
2265
2265
|
colorClasses: _,
|
|
2266
2266
|
colorStyles: E,
|
|
2267
2267
|
variantClasses: B
|
|
2268
|
-
} =
|
|
2268
|
+
} = Pn(k), T = w(() => (m == null ? void 0 : m.disabled.value) || e.disabled), p = x(() => e.variant === "elevated" && !(e.disabled || e.flat || e.border)), $ = w(() => {
|
|
2269
2269
|
if (!(e.value === void 0 || typeof e.value == "symbol"))
|
|
2270
2270
|
return Object(e.value) === e.value ? JSON.stringify(e.value, null, 0) : e.value;
|
|
2271
2271
|
});
|
|
@@ -2275,7 +2275,7 @@ const Wa = {
|
|
|
2275
2275
|
}
|
|
2276
2276
|
return zr(g, m == null ? void 0 : m.select), K(() => {
|
|
2277
2277
|
const F = g.isLink.value ? "a" : e.tag, P = !!(e.prependIcon || a.prepend), C = !!(e.appendIcon || a.append), O = !!(e.icon && e.icon !== !0);
|
|
2278
|
-
return He(b(F,
|
|
2278
|
+
return He(b(F, j({
|
|
2279
2279
|
type: F === "a" ? void 0 : "button",
|
|
2280
2280
|
class: ["v-btn", m == null ? void 0 : m.selectedClass.value, {
|
|
2281
2281
|
"v-btn--active": y.value,
|
|
@@ -2288,17 +2288,17 @@ const Wa = {
|
|
|
2288
2288
|
"v-btn--readonly": e.readonly,
|
|
2289
2289
|
"v-btn--slim": e.slim,
|
|
2290
2290
|
"v-btn--stacked": e.stacked
|
|
2291
|
-
}, i.value, r.value, _.value,
|
|
2292
|
-
style: [E.value,
|
|
2291
|
+
}, i.value, r.value, _.value, s.value, l.value, u.value, f.value, v.value, h.value, B.value, e.class],
|
|
2292
|
+
style: [E.value, o.value, c.value, d.value, e.style],
|
|
2293
2293
|
"aria-busy": e.loading ? !0 : void 0,
|
|
2294
2294
|
disabled: T.value || void 0,
|
|
2295
2295
|
tabindex: e.loading || e.readonly ? -1 : void 0,
|
|
2296
2296
|
onClick: q,
|
|
2297
|
-
value:
|
|
2297
|
+
value: $.value
|
|
2298
2298
|
}, g.linkProps), {
|
|
2299
2299
|
default: () => {
|
|
2300
2300
|
var I;
|
|
2301
|
-
return [
|
|
2301
|
+
return [_n(!0, "v-btn"), !e.icon && P && b("span", {
|
|
2302
2302
|
key: "prepend",
|
|
2303
2303
|
class: "v-btn__prepend"
|
|
2304
2304
|
}, [a.prepend ? b(we, {
|
|
@@ -2354,7 +2354,7 @@ const Wa = {
|
|
|
2354
2354
|
width: "2"
|
|
2355
2355
|
}, null)])];
|
|
2356
2356
|
}
|
|
2357
|
-
}), [[
|
|
2357
|
+
}), [[Ha, !T.value && e.ripple, "", {
|
|
2358
2358
|
center: !!e.icon
|
|
2359
2359
|
}]]);
|
|
2360
2360
|
}), {
|
|
@@ -2380,56 +2380,56 @@ function ne(e, t, n) {
|
|
|
2380
2380
|
let {
|
|
2381
2381
|
slots: r
|
|
2382
2382
|
} = i;
|
|
2383
|
-
const
|
|
2384
|
-
onBeforeEnter(
|
|
2385
|
-
a.origin && (
|
|
2383
|
+
const s = {
|
|
2384
|
+
onBeforeEnter(o) {
|
|
2385
|
+
a.origin && (o.style.transformOrigin = a.origin);
|
|
2386
2386
|
},
|
|
2387
|
-
onLeave(
|
|
2387
|
+
onLeave(o) {
|
|
2388
2388
|
if (a.leaveAbsolute) {
|
|
2389
2389
|
const {
|
|
2390
2390
|
offsetTop: l,
|
|
2391
2391
|
offsetLeft: u,
|
|
2392
2392
|
offsetWidth: c,
|
|
2393
2393
|
offsetHeight: f
|
|
2394
|
-
} =
|
|
2395
|
-
|
|
2396
|
-
position:
|
|
2397
|
-
top:
|
|
2398
|
-
left:
|
|
2399
|
-
width:
|
|
2400
|
-
height:
|
|
2401
|
-
},
|
|
2394
|
+
} = o;
|
|
2395
|
+
o._transitionInitialStyles = {
|
|
2396
|
+
position: o.style.position,
|
|
2397
|
+
top: o.style.top,
|
|
2398
|
+
left: o.style.left,
|
|
2399
|
+
width: o.style.width,
|
|
2400
|
+
height: o.style.height
|
|
2401
|
+
}, o.style.position = "absolute", o.style.top = `${l}px`, o.style.left = `${u}px`, o.style.width = `${c}px`, o.style.height = `${f}px`;
|
|
2402
2402
|
}
|
|
2403
|
-
a.hideOnLeave &&
|
|
2403
|
+
a.hideOnLeave && o.style.setProperty("display", "none", "important");
|
|
2404
2404
|
},
|
|
2405
|
-
onAfterLeave(
|
|
2406
|
-
if (a.leaveAbsolute && (
|
|
2405
|
+
onAfterLeave(o) {
|
|
2406
|
+
if (a.leaveAbsolute && (o != null && o._transitionInitialStyles)) {
|
|
2407
2407
|
const {
|
|
2408
2408
|
position: l,
|
|
2409
2409
|
top: u,
|
|
2410
2410
|
left: c,
|
|
2411
2411
|
width: f,
|
|
2412
2412
|
height: v
|
|
2413
|
-
} =
|
|
2414
|
-
delete
|
|
2413
|
+
} = o._transitionInitialStyles;
|
|
2414
|
+
delete o._transitionInitialStyles, o.style.position = l || "", o.style.top = u || "", o.style.left = c || "", o.style.width = f || "", o.style.height = v || "";
|
|
2415
2415
|
}
|
|
2416
2416
|
}
|
|
2417
2417
|
};
|
|
2418
2418
|
return () => {
|
|
2419
|
-
const
|
|
2420
|
-
return At(
|
|
2419
|
+
const o = a.group ? vn : Ee;
|
|
2420
|
+
return At(o, {
|
|
2421
2421
|
name: a.disabled ? "" : e,
|
|
2422
2422
|
css: !a.disabled,
|
|
2423
2423
|
...a.group ? void 0 : {
|
|
2424
2424
|
mode: a.mode
|
|
2425
2425
|
},
|
|
2426
|
-
...a.disabled ? {} :
|
|
2426
|
+
...a.disabled ? {} : s
|
|
2427
2427
|
}, r.default);
|
|
2428
2428
|
};
|
|
2429
2429
|
}
|
|
2430
2430
|
});
|
|
2431
2431
|
}
|
|
2432
|
-
function
|
|
2432
|
+
function qa(e, t) {
|
|
2433
2433
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
|
|
2434
2434
|
return z()({
|
|
2435
2435
|
name: e,
|
|
@@ -2445,8 +2445,8 @@ function Ga(e, t) {
|
|
|
2445
2445
|
let {
|
|
2446
2446
|
slots: r
|
|
2447
2447
|
} = i;
|
|
2448
|
-
const
|
|
2449
|
-
return () => At(
|
|
2448
|
+
const s = a.group ? vn : Ee;
|
|
2449
|
+
return () => At(s, {
|
|
2450
2450
|
name: a.disabled ? "" : e,
|
|
2451
2451
|
css: !a.disabled,
|
|
2452
2452
|
// mode: props.mode, // TODO: vuejs/vue-next#3104
|
|
@@ -2455,45 +2455,45 @@ function Ga(e, t) {
|
|
|
2455
2455
|
}
|
|
2456
2456
|
});
|
|
2457
2457
|
}
|
|
2458
|
-
function
|
|
2458
|
+
function Ua() {
|
|
2459
2459
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
|
2460
|
-
const n = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", a =
|
|
2460
|
+
const n = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", a = da(`offset-${n}`);
|
|
2461
2461
|
return {
|
|
2462
|
-
onBeforeEnter(
|
|
2463
|
-
|
|
2464
|
-
transition:
|
|
2465
|
-
overflow:
|
|
2466
|
-
[n]:
|
|
2462
|
+
onBeforeEnter(s) {
|
|
2463
|
+
s._parent = s.parentNode, s._initialStyle = {
|
|
2464
|
+
transition: s.style.transition,
|
|
2465
|
+
overflow: s.style.overflow,
|
|
2466
|
+
[n]: s.style[n]
|
|
2467
2467
|
};
|
|
2468
2468
|
},
|
|
2469
|
-
onEnter(
|
|
2470
|
-
const
|
|
2471
|
-
if (!
|
|
2472
|
-
|
|
2473
|
-
const l = `${
|
|
2474
|
-
|
|
2475
|
-
|
|
2469
|
+
onEnter(s) {
|
|
2470
|
+
const o = s._initialStyle;
|
|
2471
|
+
if (!o) return;
|
|
2472
|
+
s.style.setProperty("transition", "none", "important"), s.style.overflow = "hidden";
|
|
2473
|
+
const l = `${s[a]}px`;
|
|
2474
|
+
s.style[n] = "0", s.offsetHeight, s.style.transition = o.transition, e && s._parent && s._parent.classList.add(e), requestAnimationFrame(() => {
|
|
2475
|
+
s.style[n] = l;
|
|
2476
2476
|
});
|
|
2477
2477
|
},
|
|
2478
2478
|
onAfterEnter: r,
|
|
2479
2479
|
onEnterCancelled: r,
|
|
2480
|
-
onLeave(
|
|
2481
|
-
|
|
2480
|
+
onLeave(s) {
|
|
2481
|
+
s._initialStyle = {
|
|
2482
2482
|
transition: "",
|
|
2483
|
-
overflow:
|
|
2484
|
-
[n]:
|
|
2485
|
-
},
|
|
2483
|
+
overflow: s.style.overflow,
|
|
2484
|
+
[n]: s.style[n]
|
|
2485
|
+
}, s.style.overflow = "hidden", s.style[n] = `${s[a]}px`, s.offsetHeight, requestAnimationFrame(() => s.style[n] = "0");
|
|
2486
2486
|
},
|
|
2487
2487
|
onAfterLeave: i,
|
|
2488
2488
|
onLeaveCancelled: i
|
|
2489
2489
|
};
|
|
2490
|
-
function i(
|
|
2491
|
-
e &&
|
|
2490
|
+
function i(s) {
|
|
2491
|
+
e && s._parent && s._parent.classList.remove(e), r(s);
|
|
2492
2492
|
}
|
|
2493
|
-
function r(
|
|
2494
|
-
if (!
|
|
2495
|
-
const
|
|
2496
|
-
|
|
2493
|
+
function r(s) {
|
|
2494
|
+
if (!s._initialStyle) return;
|
|
2495
|
+
const o = s._initialStyle[n];
|
|
2496
|
+
s.style.overflow = s._initialStyle.overflow, o != null && (s.style[n] = o), delete s._initialStyle;
|
|
2497
2497
|
}
|
|
2498
2498
|
}
|
|
2499
2499
|
const Xr = A({
|
|
@@ -2512,22 +2512,22 @@ const Xr = A({
|
|
|
2512
2512
|
async onEnter(i, r) {
|
|
2513
2513
|
var h;
|
|
2514
2514
|
await new Promise((d) => requestAnimationFrame(d)), await new Promise((d) => requestAnimationFrame(d)), i.style.visibility = "";
|
|
2515
|
-
const
|
|
2516
|
-
x:
|
|
2515
|
+
const s = ea(e.target, i), {
|
|
2516
|
+
x: o,
|
|
2517
2517
|
y: l,
|
|
2518
2518
|
sx: u,
|
|
2519
2519
|
sy: c,
|
|
2520
2520
|
speed: f
|
|
2521
|
-
} =
|
|
2522
|
-
Dt.set(i,
|
|
2521
|
+
} = s;
|
|
2522
|
+
Dt.set(i, s);
|
|
2523
2523
|
const v = Xe(i, [{
|
|
2524
|
-
transform: `translate(${
|
|
2524
|
+
transform: `translate(${o}px, ${l}px) scale(${u}, ${c})`,
|
|
2525
2525
|
opacity: 0
|
|
2526
2526
|
}, {}], {
|
|
2527
2527
|
duration: 225 * f,
|
|
2528
|
-
easing:
|
|
2528
|
+
easing: or
|
|
2529
2529
|
});
|
|
2530
|
-
(h =
|
|
2530
|
+
(h = Qn(i)) == null || h.forEach((d) => {
|
|
2531
2531
|
Xe(d, [{
|
|
2532
2532
|
opacity: 0
|
|
2533
2533
|
}, {
|
|
@@ -2535,7 +2535,7 @@ const Xr = A({
|
|
|
2535
2535
|
offset: 0.33
|
|
2536
2536
|
}, {}], {
|
|
2537
2537
|
duration: 225 * 2 * f,
|
|
2538
|
-
easing:
|
|
2538
|
+
easing: Qt
|
|
2539
2539
|
});
|
|
2540
2540
|
}), v.finished.then(() => r());
|
|
2541
2541
|
},
|
|
@@ -2548,22 +2548,22 @@ const Xr = A({
|
|
|
2548
2548
|
async onLeave(i, r) {
|
|
2549
2549
|
var h;
|
|
2550
2550
|
await new Promise((d) => requestAnimationFrame(d));
|
|
2551
|
-
let
|
|
2552
|
-
!Array.isArray(e.target)
|
|
2551
|
+
let s;
|
|
2552
|
+
!Dt.has(i) || Array.isArray(e.target) || e.target.offsetParent || e.target.getClientRects().length ? s = ea(e.target, i) : s = Dt.get(i);
|
|
2553
2553
|
const {
|
|
2554
|
-
x:
|
|
2554
|
+
x: o,
|
|
2555
2555
|
y: l,
|
|
2556
2556
|
sx: u,
|
|
2557
2557
|
sy: c,
|
|
2558
2558
|
speed: f
|
|
2559
|
-
} =
|
|
2559
|
+
} = s;
|
|
2560
2560
|
Xe(i, [{}, {
|
|
2561
|
-
transform: `translate(${
|
|
2561
|
+
transform: `translate(${o}px, ${l}px) scale(${u}, ${c})`,
|
|
2562
2562
|
opacity: 0
|
|
2563
2563
|
}], {
|
|
2564
2564
|
duration: 125 * f,
|
|
2565
2565
|
easing: lr
|
|
2566
|
-
}).finished.then(() => r()), (h =
|
|
2566
|
+
}).finished.then(() => r()), (h = Qn(i)) == null || h.forEach((d) => {
|
|
2567
2567
|
Xe(d, [{}, {
|
|
2568
2568
|
opacity: 0,
|
|
2569
2569
|
offset: 0.2
|
|
@@ -2571,7 +2571,7 @@ const Xr = A({
|
|
|
2571
2571
|
opacity: 0
|
|
2572
2572
|
}], {
|
|
2573
2573
|
duration: 125 * 2 * f,
|
|
2574
|
-
easing:
|
|
2574
|
+
easing: Qt
|
|
2575
2575
|
});
|
|
2576
2576
|
});
|
|
2577
2577
|
},
|
|
@@ -2579,7 +2579,7 @@ const Xr = A({
|
|
|
2579
2579
|
i.style.removeProperty("pointer-events");
|
|
2580
2580
|
}
|
|
2581
2581
|
};
|
|
2582
|
-
return () => e.target ? b(Ee,
|
|
2582
|
+
return () => e.target ? b(Ee, j({
|
|
2583
2583
|
name: "dialog-transition"
|
|
2584
2584
|
}, a, {
|
|
2585
2585
|
css: !1
|
|
@@ -2588,17 +2588,17 @@ const Xr = A({
|
|
|
2588
2588
|
}, n);
|
|
2589
2589
|
}
|
|
2590
2590
|
});
|
|
2591
|
-
function
|
|
2591
|
+
function Qn(e) {
|
|
2592
2592
|
var n;
|
|
2593
2593
|
const t = (n = e.querySelector(":scope > .v-card, :scope > .v-sheet, :scope > .v-list")) == null ? void 0 : n.children;
|
|
2594
2594
|
return t && [...t];
|
|
2595
2595
|
}
|
|
2596
|
-
function
|
|
2597
|
-
const n =
|
|
2596
|
+
function ea(e, t) {
|
|
2597
|
+
const n = Ca(e), a = xa(t), [i, r] = getComputedStyle(t).transformOrigin.split(" ").map((y) => parseFloat(y)), [s, o] = getComputedStyle(t).getPropertyValue("--v-overlay-anchor-origin").split(" ");
|
|
2598
2598
|
let l = n.left + n.width / 2;
|
|
2599
|
-
|
|
2599
|
+
s === "left" || o === "left" ? l -= n.width / 2 : (s === "right" || o === "right") && (l += n.width / 2);
|
|
2600
2600
|
let u = n.top + n.height / 2;
|
|
2601
|
-
|
|
2601
|
+
s === "top" || o === "top" ? u -= n.height / 2 : (s === "bottom" || o === "bottom") && (u += n.height / 2);
|
|
2602
2602
|
const c = n.width / a.width, f = n.height / a.height, v = Math.max(1, c, f), h = c / v || 0, d = f / v || 0, m = a.width * a.height / (window.innerWidth * window.innerHeight), g = m > 0.12 ? Math.min(1.5, (m - 0.12) * 10 + 1) : 1;
|
|
2603
2603
|
return {
|
|
2604
2604
|
x: l - (i + a.left),
|
|
@@ -2611,7 +2611,7 @@ function Qn(e, t) {
|
|
|
2611
2611
|
ne("fab-transition", "center center", "out-in");
|
|
2612
2612
|
ne("dialog-bottom-transition");
|
|
2613
2613
|
ne("dialog-top-transition");
|
|
2614
|
-
const
|
|
2614
|
+
const xo = ne("fade-transition");
|
|
2615
2615
|
ne("scale-transition");
|
|
2616
2616
|
ne("scroll-x-transition");
|
|
2617
2617
|
ne("scroll-x-reverse-transition");
|
|
@@ -2619,11 +2619,11 @@ ne("scroll-y-transition");
|
|
|
2619
2619
|
ne("scroll-y-reverse-transition");
|
|
2620
2620
|
ne("slide-x-transition");
|
|
2621
2621
|
ne("slide-x-reverse-transition");
|
|
2622
|
-
const
|
|
2622
|
+
const ko = ne("slide-y-transition");
|
|
2623
2623
|
ne("slide-y-reverse-transition");
|
|
2624
|
-
const Jr =
|
|
2625
|
-
function
|
|
2626
|
-
const e = J(
|
|
2624
|
+
const Jr = qa("expand-transition", Ua()), _o = qa("expand-x-transition", Ua("", !0)), an = Symbol.for("vuetify:list");
|
|
2625
|
+
function Ka() {
|
|
2626
|
+
const e = J(an, {
|
|
2627
2627
|
hasPrepend: D(!1),
|
|
2628
2628
|
updateHasPrepend: () => null
|
|
2629
2629
|
}), t = {
|
|
@@ -2632,12 +2632,12 @@ function Ua() {
|
|
|
2632
2632
|
n && (t.hasPrepend.value = n);
|
|
2633
2633
|
}
|
|
2634
2634
|
};
|
|
2635
|
-
return
|
|
2635
|
+
return se(an, t), e;
|
|
2636
2636
|
}
|
|
2637
|
-
function
|
|
2638
|
-
return J(
|
|
2637
|
+
function Xa() {
|
|
2638
|
+
return J(an, null);
|
|
2639
2639
|
}
|
|
2640
|
-
const
|
|
2640
|
+
const An = (e) => {
|
|
2641
2641
|
const t = {
|
|
2642
2642
|
activate: (n) => {
|
|
2643
2643
|
let {
|
|
@@ -2650,9 +2650,9 @@ const Pn = (e) => {
|
|
|
2650
2650
|
in: (n, a, i) => {
|
|
2651
2651
|
let r = /* @__PURE__ */ new Set();
|
|
2652
2652
|
if (n != null)
|
|
2653
|
-
for (const
|
|
2653
|
+
for (const s of Sn(n))
|
|
2654
2654
|
r = t.activate({
|
|
2655
|
-
id:
|
|
2655
|
+
id: s,
|
|
2656
2656
|
value: !0,
|
|
2657
2657
|
activated: new Set(r),
|
|
2658
2658
|
children: a,
|
|
@@ -2663,74 +2663,74 @@ const Pn = (e) => {
|
|
|
2663
2663
|
out: (n) => Array.from(n)
|
|
2664
2664
|
};
|
|
2665
2665
|
return t;
|
|
2666
|
-
},
|
|
2667
|
-
const t =
|
|
2666
|
+
}, Ya = (e) => {
|
|
2667
|
+
const t = An(e);
|
|
2668
2668
|
return {
|
|
2669
2669
|
activate: (a) => {
|
|
2670
2670
|
let {
|
|
2671
2671
|
activated: i,
|
|
2672
2672
|
id: r,
|
|
2673
|
-
...
|
|
2673
|
+
...s
|
|
2674
2674
|
} = a;
|
|
2675
2675
|
r = H(r);
|
|
2676
|
-
const
|
|
2676
|
+
const o = i.has(r) ? /* @__PURE__ */ new Set([r]) : /* @__PURE__ */ new Set();
|
|
2677
2677
|
return t.activate({
|
|
2678
|
-
...
|
|
2678
|
+
...s,
|
|
2679
2679
|
id: r,
|
|
2680
|
-
activated:
|
|
2680
|
+
activated: o
|
|
2681
2681
|
});
|
|
2682
2682
|
},
|
|
2683
2683
|
in: (a, i, r) => {
|
|
2684
|
-
let
|
|
2684
|
+
let s = /* @__PURE__ */ new Set();
|
|
2685
2685
|
if (a != null) {
|
|
2686
|
-
const
|
|
2687
|
-
|
|
2686
|
+
const o = Sn(a);
|
|
2687
|
+
o.length && (s = t.in(o.slice(0, 1), i, r));
|
|
2688
2688
|
}
|
|
2689
|
-
return
|
|
2689
|
+
return s;
|
|
2690
2690
|
},
|
|
2691
2691
|
out: (a, i, r) => t.out(a, i, r)
|
|
2692
2692
|
};
|
|
2693
2693
|
}, Zr = (e) => {
|
|
2694
|
-
const t =
|
|
2694
|
+
const t = An(e);
|
|
2695
2695
|
return {
|
|
2696
2696
|
activate: (a) => {
|
|
2697
2697
|
let {
|
|
2698
2698
|
id: i,
|
|
2699
2699
|
activated: r,
|
|
2700
|
-
children:
|
|
2701
|
-
...
|
|
2700
|
+
children: s,
|
|
2701
|
+
...o
|
|
2702
2702
|
} = a;
|
|
2703
|
-
return i = H(i),
|
|
2703
|
+
return i = H(i), s.has(i) ? r : t.activate({
|
|
2704
2704
|
id: i,
|
|
2705
2705
|
activated: r,
|
|
2706
|
-
children:
|
|
2707
|
-
...
|
|
2706
|
+
children: s,
|
|
2707
|
+
...o
|
|
2708
2708
|
});
|
|
2709
2709
|
},
|
|
2710
2710
|
in: t.in,
|
|
2711
2711
|
out: t.out
|
|
2712
2712
|
};
|
|
2713
2713
|
}, Qr = (e) => {
|
|
2714
|
-
const t =
|
|
2714
|
+
const t = Ya(e);
|
|
2715
2715
|
return {
|
|
2716
2716
|
activate: (a) => {
|
|
2717
2717
|
let {
|
|
2718
2718
|
id: i,
|
|
2719
2719
|
activated: r,
|
|
2720
|
-
children:
|
|
2721
|
-
...
|
|
2720
|
+
children: s,
|
|
2721
|
+
...o
|
|
2722
2722
|
} = a;
|
|
2723
|
-
return i = H(i),
|
|
2723
|
+
return i = H(i), s.has(i) ? r : t.activate({
|
|
2724
2724
|
id: i,
|
|
2725
2725
|
activated: r,
|
|
2726
|
-
children:
|
|
2727
|
-
...
|
|
2726
|
+
children: s,
|
|
2727
|
+
...o
|
|
2728
2728
|
});
|
|
2729
2729
|
},
|
|
2730
2730
|
in: t.in,
|
|
2731
2731
|
out: t.out
|
|
2732
2732
|
};
|
|
2733
|
-
},
|
|
2733
|
+
}, es = {
|
|
2734
2734
|
open: (e) => {
|
|
2735
2735
|
let {
|
|
2736
2736
|
id: t,
|
|
@@ -2741,15 +2741,15 @@ const Pn = (e) => {
|
|
|
2741
2741
|
if (n) {
|
|
2742
2742
|
const r = /* @__PURE__ */ new Set();
|
|
2743
2743
|
r.add(t);
|
|
2744
|
-
let
|
|
2745
|
-
for (;
|
|
2746
|
-
r.add(
|
|
2744
|
+
let s = i.get(t);
|
|
2745
|
+
for (; s != null; )
|
|
2746
|
+
r.add(s), s = i.get(s);
|
|
2747
2747
|
return r;
|
|
2748
2748
|
} else
|
|
2749
2749
|
return a.delete(t), a;
|
|
2750
2750
|
},
|
|
2751
2751
|
select: () => null
|
|
2752
|
-
},
|
|
2752
|
+
}, Ja = {
|
|
2753
2753
|
open: (e) => {
|
|
2754
2754
|
let {
|
|
2755
2755
|
id: t,
|
|
@@ -2767,8 +2767,8 @@ const Pn = (e) => {
|
|
|
2767
2767
|
return a;
|
|
2768
2768
|
},
|
|
2769
2769
|
select: () => null
|
|
2770
|
-
},
|
|
2771
|
-
open:
|
|
2770
|
+
}, ts = {
|
|
2771
|
+
open: Ja.open,
|
|
2772
2772
|
select: (e) => {
|
|
2773
2773
|
let {
|
|
2774
2774
|
id: t,
|
|
@@ -2778,12 +2778,12 @@ const Pn = (e) => {
|
|
|
2778
2778
|
} = e;
|
|
2779
2779
|
if (!n) return a;
|
|
2780
2780
|
const r = [];
|
|
2781
|
-
let
|
|
2782
|
-
for (;
|
|
2783
|
-
r.push(
|
|
2781
|
+
let s = i.get(t);
|
|
2782
|
+
for (; s != null; )
|
|
2783
|
+
r.push(s), s = i.get(s);
|
|
2784
2784
|
return new Set(r);
|
|
2785
2785
|
}
|
|
2786
|
-
},
|
|
2786
|
+
}, En = (e) => {
|
|
2787
2787
|
const t = {
|
|
2788
2788
|
select: (n) => {
|
|
2789
2789
|
let {
|
|
@@ -2792,19 +2792,19 @@ const Pn = (e) => {
|
|
|
2792
2792
|
selected: r
|
|
2793
2793
|
} = n;
|
|
2794
2794
|
if (a = H(a), e && !i) {
|
|
2795
|
-
const
|
|
2795
|
+
const s = Array.from(r.entries()).reduce((o, l) => {
|
|
2796
2796
|
let [u, c] = l;
|
|
2797
|
-
return c === "on" &&
|
|
2797
|
+
return c === "on" && o.push(u), o;
|
|
2798
2798
|
}, []);
|
|
2799
|
-
if (
|
|
2799
|
+
if (s.length === 1 && s[0] === a) return r;
|
|
2800
2800
|
}
|
|
2801
2801
|
return r.set(a, i ? "on" : "off"), r;
|
|
2802
2802
|
},
|
|
2803
2803
|
in: (n, a, i) => {
|
|
2804
2804
|
const r = /* @__PURE__ */ new Map();
|
|
2805
|
-
for (const
|
|
2805
|
+
for (const s of n || [])
|
|
2806
2806
|
t.select({
|
|
2807
|
-
id:
|
|
2807
|
+
id: s,
|
|
2808
2808
|
value: !0,
|
|
2809
2809
|
selected: r,
|
|
2810
2810
|
children: a,
|
|
@@ -2820,86 +2820,86 @@ const Pn = (e) => {
|
|
|
2820
2820
|
}
|
|
2821
2821
|
};
|
|
2822
2822
|
return t;
|
|
2823
|
-
},
|
|
2824
|
-
const t =
|
|
2823
|
+
}, Za = (e) => {
|
|
2824
|
+
const t = En(e);
|
|
2825
2825
|
return {
|
|
2826
2826
|
select: (a) => {
|
|
2827
2827
|
let {
|
|
2828
2828
|
selected: i,
|
|
2829
2829
|
id: r,
|
|
2830
|
-
...
|
|
2830
|
+
...s
|
|
2831
2831
|
} = a;
|
|
2832
2832
|
r = H(r);
|
|
2833
|
-
const
|
|
2833
|
+
const o = i.has(r) ? /* @__PURE__ */ new Map([[r, i.get(r)]]) : /* @__PURE__ */ new Map();
|
|
2834
2834
|
return t.select({
|
|
2835
|
-
...
|
|
2835
|
+
...s,
|
|
2836
2836
|
id: r,
|
|
2837
|
-
selected:
|
|
2837
|
+
selected: o
|
|
2838
2838
|
});
|
|
2839
2839
|
},
|
|
2840
2840
|
in: (a, i, r) => a != null && a.length ? t.in(a.slice(0, 1), i, r) : /* @__PURE__ */ new Map(),
|
|
2841
2841
|
out: (a, i, r) => t.out(a, i, r)
|
|
2842
2842
|
};
|
|
2843
|
-
},
|
|
2844
|
-
const t =
|
|
2843
|
+
}, ns = (e) => {
|
|
2844
|
+
const t = En(e);
|
|
2845
2845
|
return {
|
|
2846
2846
|
select: (a) => {
|
|
2847
2847
|
let {
|
|
2848
2848
|
id: i,
|
|
2849
2849
|
selected: r,
|
|
2850
|
-
children:
|
|
2851
|
-
...
|
|
2850
|
+
children: s,
|
|
2851
|
+
...o
|
|
2852
2852
|
} = a;
|
|
2853
|
-
return i = H(i),
|
|
2853
|
+
return i = H(i), s.has(i) ? r : t.select({
|
|
2854
2854
|
id: i,
|
|
2855
2855
|
selected: r,
|
|
2856
|
-
children:
|
|
2857
|
-
...
|
|
2856
|
+
children: s,
|
|
2857
|
+
...o
|
|
2858
2858
|
});
|
|
2859
2859
|
},
|
|
2860
2860
|
in: t.in,
|
|
2861
2861
|
out: t.out
|
|
2862
2862
|
};
|
|
2863
|
-
},
|
|
2864
|
-
const t =
|
|
2863
|
+
}, as = (e) => {
|
|
2864
|
+
const t = Za(e);
|
|
2865
2865
|
return {
|
|
2866
2866
|
select: (a) => {
|
|
2867
2867
|
let {
|
|
2868
2868
|
id: i,
|
|
2869
2869
|
selected: r,
|
|
2870
|
-
children:
|
|
2871
|
-
...
|
|
2870
|
+
children: s,
|
|
2871
|
+
...o
|
|
2872
2872
|
} = a;
|
|
2873
|
-
return i = H(i),
|
|
2873
|
+
return i = H(i), s.has(i) ? r : t.select({
|
|
2874
2874
|
id: i,
|
|
2875
2875
|
selected: r,
|
|
2876
|
-
children:
|
|
2877
|
-
...
|
|
2876
|
+
children: s,
|
|
2877
|
+
...o
|
|
2878
2878
|
});
|
|
2879
2879
|
},
|
|
2880
2880
|
in: t.in,
|
|
2881
2881
|
out: t.out
|
|
2882
2882
|
};
|
|
2883
|
-
},
|
|
2883
|
+
}, Qa = (e) => {
|
|
2884
2884
|
const t = {
|
|
2885
2885
|
select: (n) => {
|
|
2886
2886
|
let {
|
|
2887
2887
|
id: a,
|
|
2888
2888
|
value: i,
|
|
2889
2889
|
selected: r,
|
|
2890
|
-
children:
|
|
2891
|
-
parents:
|
|
2890
|
+
children: s,
|
|
2891
|
+
parents: o
|
|
2892
2892
|
} = n;
|
|
2893
2893
|
a = H(a);
|
|
2894
2894
|
const l = new Map(r), u = [a];
|
|
2895
2895
|
for (; u.length; ) {
|
|
2896
2896
|
const f = u.shift();
|
|
2897
|
-
r.set(H(f), i ? "on" : "off"),
|
|
2897
|
+
r.set(H(f), i ? "on" : "off"), s.has(f) && u.push(...s.get(f));
|
|
2898
2898
|
}
|
|
2899
|
-
let c = H(
|
|
2899
|
+
let c = H(o.get(a));
|
|
2900
2900
|
for (; c; ) {
|
|
2901
|
-
const f =
|
|
2902
|
-
r.set(c, v ? "on" : h ? "off" : "indeterminate"), c = H(
|
|
2901
|
+
const f = s.get(c), v = f.every((d) => r.get(H(d)) === "on"), h = f.every((d) => !r.has(H(d)) || r.get(H(d)) === "off");
|
|
2902
|
+
r.set(c, v ? "on" : h ? "off" : "indeterminate"), c = H(o.get(c));
|
|
2903
2903
|
}
|
|
2904
2904
|
return e && !i && Array.from(r.entries()).reduce((v, h) => {
|
|
2905
2905
|
let [d, m] = h;
|
|
@@ -2908,9 +2908,9 @@ const Pn = (e) => {
|
|
|
2908
2908
|
},
|
|
2909
2909
|
in: (n, a, i) => {
|
|
2910
2910
|
let r = /* @__PURE__ */ new Map();
|
|
2911
|
-
for (const
|
|
2911
|
+
for (const s of n || [])
|
|
2912
2912
|
r = t.select({
|
|
2913
|
-
id:
|
|
2913
|
+
id: s,
|
|
2914
2914
|
value: !0,
|
|
2915
2915
|
selected: r,
|
|
2916
2916
|
children: a,
|
|
@@ -2920,31 +2920,31 @@ const Pn = (e) => {
|
|
|
2920
2920
|
},
|
|
2921
2921
|
out: (n, a) => {
|
|
2922
2922
|
const i = [];
|
|
2923
|
-
for (const [r,
|
|
2924
|
-
|
|
2923
|
+
for (const [r, s] of n.entries())
|
|
2924
|
+
s === "on" && !a.has(r) && i.push(r);
|
|
2925
2925
|
return i;
|
|
2926
2926
|
}
|
|
2927
2927
|
};
|
|
2928
2928
|
return t;
|
|
2929
|
-
},
|
|
2930
|
-
const t =
|
|
2929
|
+
}, is = (e) => {
|
|
2930
|
+
const t = Qa(e);
|
|
2931
2931
|
return {
|
|
2932
2932
|
select: t.select,
|
|
2933
2933
|
in: t.in,
|
|
2934
2934
|
out: (a, i, r) => {
|
|
2935
|
-
const
|
|
2936
|
-
for (const [
|
|
2935
|
+
const s = [];
|
|
2936
|
+
for (const [o, l] of a.entries())
|
|
2937
2937
|
if (l === "on") {
|
|
2938
|
-
if (r.has(
|
|
2939
|
-
const u = r.get(
|
|
2938
|
+
if (r.has(o)) {
|
|
2939
|
+
const u = r.get(o);
|
|
2940
2940
|
if (a.get(u) === "on") continue;
|
|
2941
2941
|
}
|
|
2942
|
-
|
|
2942
|
+
s.push(o);
|
|
2943
2943
|
}
|
|
2944
|
-
return
|
|
2944
|
+
return s;
|
|
2945
2945
|
}
|
|
2946
2946
|
};
|
|
2947
|
-
}, at = Symbol.for("vuetify:nested"),
|
|
2947
|
+
}, at = Symbol.for("vuetify:nested"), ei = {
|
|
2948
2948
|
id: D(),
|
|
2949
2949
|
root: {
|
|
2950
2950
|
register: () => null,
|
|
@@ -2963,7 +2963,7 @@ const Pn = (e) => {
|
|
|
2963
2963
|
selectedValues: M([]),
|
|
2964
2964
|
getPath: () => []
|
|
2965
2965
|
}
|
|
2966
|
-
},
|
|
2966
|
+
}, rs = A({
|
|
2967
2967
|
activatable: Boolean,
|
|
2968
2968
|
selectable: Boolean,
|
|
2969
2969
|
activeStrategy: [String, Function, Object],
|
|
@@ -2973,7 +2973,7 @@ const Pn = (e) => {
|
|
|
2973
2973
|
activated: null,
|
|
2974
2974
|
selected: null,
|
|
2975
2975
|
mandatory: Boolean
|
|
2976
|
-
}, "nested"),
|
|
2976
|
+
}, "nested"), ss = (e) => {
|
|
2977
2977
|
let t = !1;
|
|
2978
2978
|
const n = M(/* @__PURE__ */ new Map()), a = M(/* @__PURE__ */ new Map()), i = Ae(e, "opened", e.opened, (d) => new Set(d), (d) => [...d.values()]), r = w(() => {
|
|
2979
2979
|
if (typeof e.activeStrategy == "object") return e.activeStrategy;
|
|
@@ -2984,41 +2984,41 @@ const Pn = (e) => {
|
|
|
2984
2984
|
case "single-leaf":
|
|
2985
2985
|
return Qr(e.mandatory);
|
|
2986
2986
|
case "independent":
|
|
2987
|
-
return
|
|
2987
|
+
return An(e.mandatory);
|
|
2988
2988
|
case "single-independent":
|
|
2989
2989
|
default:
|
|
2990
|
-
return
|
|
2990
|
+
return Ya(e.mandatory);
|
|
2991
2991
|
}
|
|
2992
|
-
}),
|
|
2992
|
+
}), s = w(() => {
|
|
2993
2993
|
if (typeof e.selectStrategy == "object") return e.selectStrategy;
|
|
2994
2994
|
if (typeof e.selectStrategy == "function") return e.selectStrategy(e.mandatory);
|
|
2995
2995
|
switch (e.selectStrategy) {
|
|
2996
2996
|
case "single-leaf":
|
|
2997
|
-
return
|
|
2997
|
+
return as(e.mandatory);
|
|
2998
2998
|
case "leaf":
|
|
2999
|
-
return
|
|
2999
|
+
return ns(e.mandatory);
|
|
3000
3000
|
case "independent":
|
|
3001
|
-
return
|
|
3001
|
+
return En(e.mandatory);
|
|
3002
3002
|
case "single-independent":
|
|
3003
|
-
return
|
|
3003
|
+
return Za(e.mandatory);
|
|
3004
3004
|
case "trunk":
|
|
3005
|
-
return
|
|
3005
|
+
return is(e.mandatory);
|
|
3006
3006
|
case "classic":
|
|
3007
3007
|
default:
|
|
3008
|
-
return
|
|
3008
|
+
return Qa(e.mandatory);
|
|
3009
3009
|
}
|
|
3010
|
-
}),
|
|
3010
|
+
}), o = w(() => {
|
|
3011
3011
|
if (typeof e.openStrategy == "object") return e.openStrategy;
|
|
3012
3012
|
switch (e.openStrategy) {
|
|
3013
3013
|
case "list":
|
|
3014
|
-
return
|
|
3014
|
+
return ts;
|
|
3015
3015
|
case "single":
|
|
3016
|
-
return
|
|
3016
|
+
return es;
|
|
3017
3017
|
case "multiple":
|
|
3018
3018
|
default:
|
|
3019
|
-
return
|
|
3019
|
+
return Ja;
|
|
3020
3020
|
}
|
|
3021
|
-
}), l = Ae(e, "activated", e.activated, (d) => r.value.in(d, n.value, a.value), (d) => r.value.out(d, n.value, a.value)), u = Ae(e, "selected", e.selected, (d) =>
|
|
3021
|
+
}), l = Ae(e, "activated", e.activated, (d) => r.value.in(d, n.value, a.value), (d) => r.value.out(d, n.value, a.value)), u = Ae(e, "selected", e.selected, (d) => s.value.in(d, n.value, a.value), (d) => s.value.out(d, n.value, a.value));
|
|
3022
3022
|
ge(() => {
|
|
3023
3023
|
t = !0;
|
|
3024
3024
|
});
|
|
@@ -3046,7 +3046,7 @@ const Pn = (e) => {
|
|
|
3046
3046
|
register: (d, m, g) => {
|
|
3047
3047
|
if (v.has(d)) {
|
|
3048
3048
|
const y = c(d).map(String).join(" -> "), S = c(m).concat(d).map(String).join(" -> ");
|
|
3049
|
-
|
|
3049
|
+
ka(`Multiple nodes with the same ID
|
|
3050
3050
|
${y}
|
|
3051
3051
|
${S}`);
|
|
3052
3052
|
return;
|
|
@@ -3071,7 +3071,7 @@ const Pn = (e) => {
|
|
|
3071
3071
|
path: c(d),
|
|
3072
3072
|
event: g
|
|
3073
3073
|
});
|
|
3074
|
-
const y =
|
|
3074
|
+
const y = o.value.open({
|
|
3075
3075
|
id: d,
|
|
3076
3076
|
value: m,
|
|
3077
3077
|
opened: new Set(i.value),
|
|
@@ -3082,7 +3082,7 @@ const Pn = (e) => {
|
|
|
3082
3082
|
y && (i.value = y);
|
|
3083
3083
|
},
|
|
3084
3084
|
openOnSelect: (d, m, g) => {
|
|
3085
|
-
const y =
|
|
3085
|
+
const y = o.value.select({
|
|
3086
3086
|
id: d,
|
|
3087
3087
|
value: m,
|
|
3088
3088
|
selected: new Map(u.value),
|
|
@@ -3100,7 +3100,7 @@ const Pn = (e) => {
|
|
|
3100
3100
|
path: c(d),
|
|
3101
3101
|
event: g
|
|
3102
3102
|
});
|
|
3103
|
-
const y =
|
|
3103
|
+
const y = s.value.select({
|
|
3104
3104
|
id: d,
|
|
3105
3105
|
value: m,
|
|
3106
3106
|
selected: new Map(u.value),
|
|
@@ -3147,38 +3147,38 @@ const Pn = (e) => {
|
|
|
3147
3147
|
getPath: c
|
|
3148
3148
|
}
|
|
3149
3149
|
};
|
|
3150
|
-
return
|
|
3151
|
-
},
|
|
3152
|
-
const n = J(at,
|
|
3150
|
+
return se(at, h), h.root;
|
|
3151
|
+
}, ti = (e, t) => {
|
|
3152
|
+
const n = J(at, ei), a = Symbol("nested item"), i = w(() => me(e) ?? a), r = {
|
|
3153
3153
|
...n,
|
|
3154
3154
|
id: i,
|
|
3155
|
-
open: (
|
|
3156
|
-
openOnSelect: (
|
|
3155
|
+
open: (s, o) => n.root.open(i.value, s, o),
|
|
3156
|
+
openOnSelect: (s, o) => n.root.openOnSelect(i.value, s, o),
|
|
3157
3157
|
isOpen: w(() => n.root.opened.value.has(i.value)),
|
|
3158
3158
|
parent: w(() => n.root.parents.value.get(i.value)),
|
|
3159
|
-
activate: (
|
|
3159
|
+
activate: (s, o) => n.root.activate(i.value, s, o),
|
|
3160
3160
|
isActivated: w(() => n.root.activated.value.has(H(i.value))),
|
|
3161
|
-
select: (
|
|
3161
|
+
select: (s, o) => n.root.select(i.value, s, o),
|
|
3162
3162
|
isSelected: w(() => n.root.selected.value.get(H(i.value)) === "on"),
|
|
3163
3163
|
isIndeterminate: w(() => n.root.selected.value.get(H(i.value)) === "indeterminate"),
|
|
3164
3164
|
isLeaf: w(() => !n.root.children.value.get(i.value)),
|
|
3165
3165
|
isGroupActivator: n.isGroupActivator
|
|
3166
3166
|
};
|
|
3167
|
-
return
|
|
3167
|
+
return mn(() => {
|
|
3168
3168
|
!n.isGroupActivator && n.root.register(i.value, n.id.value, t);
|
|
3169
3169
|
}), ge(() => {
|
|
3170
3170
|
!n.isGroupActivator && n.root.unregister(i.value);
|
|
3171
|
-
}), t &&
|
|
3172
|
-
},
|
|
3173
|
-
const e = J(at,
|
|
3174
|
-
|
|
3171
|
+
}), t && se(at, r), r;
|
|
3172
|
+
}, os = () => {
|
|
3173
|
+
const e = J(at, ei);
|
|
3174
|
+
se(at, {
|
|
3175
3175
|
...e,
|
|
3176
3176
|
isGroupActivator: !0
|
|
3177
3177
|
});
|
|
3178
3178
|
};
|
|
3179
|
-
function
|
|
3179
|
+
function ls() {
|
|
3180
3180
|
const e = D(!1);
|
|
3181
|
-
return
|
|
3181
|
+
return dn(() => {
|
|
3182
3182
|
window.requestAnimationFrame(() => {
|
|
3183
3183
|
e.value = !0;
|
|
3184
3184
|
});
|
|
@@ -3186,12 +3186,12 @@ function lo() {
|
|
|
3186
3186
|
ssrBootStyles: x(() => e.value ? void 0 : {
|
|
3187
3187
|
transition: "none !important"
|
|
3188
3188
|
}),
|
|
3189
|
-
isBooted:
|
|
3189
|
+
isBooted: fn(e)
|
|
3190
3190
|
};
|
|
3191
3191
|
}
|
|
3192
|
-
const
|
|
3192
|
+
const ni = A({
|
|
3193
3193
|
transition: {
|
|
3194
|
-
type:
|
|
3194
|
+
type: null,
|
|
3195
3195
|
default: "fade-transition",
|
|
3196
3196
|
validator: (e) => e !== !0
|
|
3197
3197
|
}
|
|
@@ -3203,32 +3203,30 @@ const ti = A({
|
|
|
3203
3203
|
transition: a,
|
|
3204
3204
|
disabled: i,
|
|
3205
3205
|
group: r,
|
|
3206
|
-
...
|
|
3206
|
+
...s
|
|
3207
3207
|
} = e, {
|
|
3208
|
-
component:
|
|
3208
|
+
component: o = r ? vn : Ee,
|
|
3209
3209
|
...l
|
|
3210
|
-
} =
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
} : l, typeof a == "string" ? {} : Object.fromEntries(Object.entries({
|
|
3210
|
+
} = Kt(a) ? a : {};
|
|
3211
|
+
let u;
|
|
3212
|
+
return Kt(a) ? u = j(l, JSON.parse(JSON.stringify({
|
|
3214
3213
|
disabled: i,
|
|
3215
3214
|
group: r
|
|
3216
|
-
})
|
|
3217
|
-
|
|
3218
|
-
|
|
3219
|
-
|
|
3220
|
-
}, uo = rt({
|
|
3215
|
+
})), s) : u = j({
|
|
3216
|
+
name: i || !a ? "" : a
|
|
3217
|
+
}, s), At(o, u, n);
|
|
3218
|
+
}, us = rt({
|
|
3221
3219
|
name: "VListGroupActivator",
|
|
3222
3220
|
setup(e, t) {
|
|
3223
3221
|
let {
|
|
3224
3222
|
slots: n
|
|
3225
3223
|
} = t;
|
|
3226
|
-
return
|
|
3224
|
+
return os(), () => {
|
|
3227
3225
|
var a;
|
|
3228
3226
|
return (a = n.default) == null ? void 0 : a.call(n);
|
|
3229
3227
|
};
|
|
3230
3228
|
}
|
|
3231
|
-
}),
|
|
3229
|
+
}), cs = A({
|
|
3232
3230
|
/* @deprecated */
|
|
3233
3231
|
activeColor: String,
|
|
3234
3232
|
baseColor: String,
|
|
@@ -3249,9 +3247,9 @@ const ti = A({
|
|
|
3249
3247
|
value: null,
|
|
3250
3248
|
...X(),
|
|
3251
3249
|
...le()
|
|
3252
|
-
}, "VListGroup"),
|
|
3250
|
+
}, "VListGroup"), ta = z()({
|
|
3253
3251
|
name: "VListGroup",
|
|
3254
|
-
props:
|
|
3252
|
+
props: cs(),
|
|
3255
3253
|
setup(e, t) {
|
|
3256
3254
|
let {
|
|
3257
3255
|
slots: n
|
|
@@ -3260,9 +3258,9 @@ const ti = A({
|
|
|
3260
3258
|
isOpen: a,
|
|
3261
3259
|
open: i,
|
|
3262
3260
|
id: r
|
|
3263
|
-
} =
|
|
3261
|
+
} = ti(() => e.value, !0), s = w(() => `v-list-group--id-${String(r.value)}`), o = Xa(), {
|
|
3264
3262
|
isBooted: l
|
|
3265
|
-
} =
|
|
3263
|
+
} = ls();
|
|
3266
3264
|
function u(h) {
|
|
3267
3265
|
var d;
|
|
3268
3266
|
h.stopPropagation(), !["INPUT", "TEXTAREA"].includes((d = h.target) == null ? void 0 : d.tagName) && i(!a.value, h);
|
|
@@ -3270,7 +3268,7 @@ const ti = A({
|
|
|
3270
3268
|
const c = w(() => ({
|
|
3271
3269
|
onClick: u,
|
|
3272
3270
|
class: "v-list-group__header",
|
|
3273
|
-
id:
|
|
3271
|
+
id: s.value
|
|
3274
3272
|
})), f = w(() => a.value ? e.collapseIcon : e.expandIcon), v = w(() => ({
|
|
3275
3273
|
VListItem: {
|
|
3276
3274
|
active: a.value,
|
|
@@ -3285,7 +3283,7 @@ const ti = A({
|
|
|
3285
3283
|
}));
|
|
3286
3284
|
return K(() => b(e.tag, {
|
|
3287
3285
|
class: ["v-list-group", {
|
|
3288
|
-
"v-list-group--prepend":
|
|
3286
|
+
"v-list-group--prepend": o == null ? void 0 : o.hasPrepend.value,
|
|
3289
3287
|
"v-list-group--fluid": e.fluid,
|
|
3290
3288
|
"v-list-group--subgroup": e.subgroup,
|
|
3291
3289
|
"v-list-group--open": a.value
|
|
@@ -3295,7 +3293,7 @@ const ti = A({
|
|
|
3295
3293
|
default: () => [n.activator && b(we, {
|
|
3296
3294
|
defaults: v.value
|
|
3297
3295
|
}, {
|
|
3298
|
-
default: () => [b(
|
|
3296
|
+
default: () => [b(us, null, {
|
|
3299
3297
|
default: () => [n.activator({
|
|
3300
3298
|
props: c.value,
|
|
3301
3299
|
isOpen: a.value
|
|
@@ -3312,21 +3310,21 @@ const ti = A({
|
|
|
3312
3310
|
return [He(b("div", {
|
|
3313
3311
|
class: "v-list-group__items",
|
|
3314
3312
|
role: "group",
|
|
3315
|
-
"aria-labelledby":
|
|
3316
|
-
}, [(h = n.default) == null ? void 0 : h.call(n)]), [[
|
|
3313
|
+
"aria-labelledby": s.value
|
|
3314
|
+
}, [(h = n.default) == null ? void 0 : h.call(n)]), [[gn, a.value]])];
|
|
3317
3315
|
}
|
|
3318
3316
|
})]
|
|
3319
3317
|
})), {
|
|
3320
3318
|
isOpen: a
|
|
3321
3319
|
};
|
|
3322
3320
|
}
|
|
3323
|
-
}),
|
|
3321
|
+
}), ds = A({
|
|
3324
3322
|
opacity: [Number, String],
|
|
3325
3323
|
...X(),
|
|
3326
3324
|
...le()
|
|
3327
|
-
}, "VListItemSubtitle"),
|
|
3325
|
+
}, "VListItemSubtitle"), fs = z()({
|
|
3328
3326
|
name: "VListItemSubtitle",
|
|
3329
|
-
props:
|
|
3327
|
+
props: ds(),
|
|
3330
3328
|
setup(e, t) {
|
|
3331
3329
|
let {
|
|
3332
3330
|
slots: n
|
|
@@ -3338,8 +3336,8 @@ const ti = A({
|
|
|
3338
3336
|
}, e.style]
|
|
3339
3337
|
}, n)), {};
|
|
3340
3338
|
}
|
|
3341
|
-
}),
|
|
3342
|
-
function
|
|
3339
|
+
}), vs = sr("v-list-item-title");
|
|
3340
|
+
function ms(e) {
|
|
3343
3341
|
return {
|
|
3344
3342
|
aspectStyles: w(() => {
|
|
3345
3343
|
const t = Number(e.aspectRatio);
|
|
@@ -3349,22 +3347,22 @@ function go(e) {
|
|
|
3349
3347
|
})
|
|
3350
3348
|
};
|
|
3351
3349
|
}
|
|
3352
|
-
const
|
|
3350
|
+
const ai = A({
|
|
3353
3351
|
aspectRatio: [String, Number],
|
|
3354
3352
|
contentClass: null,
|
|
3355
3353
|
inline: Boolean,
|
|
3356
3354
|
...X(),
|
|
3357
3355
|
...dt()
|
|
3358
|
-
}, "VResponsive"),
|
|
3356
|
+
}, "VResponsive"), na = z()({
|
|
3359
3357
|
name: "VResponsive",
|
|
3360
|
-
props:
|
|
3358
|
+
props: ai(),
|
|
3361
3359
|
setup(e, t) {
|
|
3362
3360
|
let {
|
|
3363
3361
|
slots: n
|
|
3364
3362
|
} = t;
|
|
3365
3363
|
const {
|
|
3366
3364
|
aspectStyles: a
|
|
3367
|
-
} =
|
|
3365
|
+
} = ms(e), {
|
|
3368
3366
|
dimensionStyles: i
|
|
3369
3367
|
} = ft(e);
|
|
3370
3368
|
return K(() => {
|
|
@@ -3383,36 +3381,36 @@ const ni = A({
|
|
|
3383
3381
|
}), {};
|
|
3384
3382
|
}
|
|
3385
3383
|
});
|
|
3386
|
-
function
|
|
3387
|
-
if (!
|
|
3384
|
+
function gs(e, t) {
|
|
3385
|
+
if (!hn) return;
|
|
3388
3386
|
const n = t.modifiers || {}, a = t.value, {
|
|
3389
3387
|
handler: i,
|
|
3390
3388
|
options: r
|
|
3391
3389
|
} = typeof a == "object" ? a : {
|
|
3392
3390
|
handler: a,
|
|
3393
3391
|
options: {}
|
|
3394
|
-
},
|
|
3392
|
+
}, s = new IntersectionObserver(function() {
|
|
3395
3393
|
var f;
|
|
3396
|
-
let
|
|
3394
|
+
let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], l = arguments.length > 1 ? arguments[1] : void 0;
|
|
3397
3395
|
const u = (f = e._observe) == null ? void 0 : f[t.instance.$.uid];
|
|
3398
3396
|
if (!u) return;
|
|
3399
|
-
const c =
|
|
3400
|
-
i && (!n.quiet || u.init) && (!n.once || c || u.init) && i(c,
|
|
3397
|
+
const c = o.some((v) => v.isIntersecting);
|
|
3398
|
+
i && (!n.quiet || u.init) && (!n.once || c || u.init) && i(c, o, l), c && n.once ? ii(e, t) : u.init = !0;
|
|
3401
3399
|
}, r);
|
|
3402
3400
|
e._observe = Object(e._observe), e._observe[t.instance.$.uid] = {
|
|
3403
3401
|
init: !1,
|
|
3404
|
-
observer:
|
|
3405
|
-
},
|
|
3402
|
+
observer: s
|
|
3403
|
+
}, s.observe(e);
|
|
3406
3404
|
}
|
|
3407
|
-
function
|
|
3405
|
+
function ii(e, t) {
|
|
3408
3406
|
var a;
|
|
3409
3407
|
const n = (a = e._observe) == null ? void 0 : a[t.instance.$.uid];
|
|
3410
3408
|
n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]);
|
|
3411
3409
|
}
|
|
3412
|
-
const
|
|
3413
|
-
mounted:
|
|
3414
|
-
unmounted:
|
|
3415
|
-
},
|
|
3410
|
+
const ys = {
|
|
3411
|
+
mounted: gs,
|
|
3412
|
+
unmounted: ii
|
|
3413
|
+
}, hs = A({
|
|
3416
3414
|
absolute: Boolean,
|
|
3417
3415
|
alt: String,
|
|
3418
3416
|
cover: Boolean,
|
|
@@ -3443,16 +3441,16 @@ const ho = {
|
|
|
3443
3441
|
referrerpolicy: String,
|
|
3444
3442
|
srcset: String,
|
|
3445
3443
|
position: String,
|
|
3446
|
-
...
|
|
3444
|
+
...ai(),
|
|
3447
3445
|
...X(),
|
|
3448
3446
|
...Be(),
|
|
3449
|
-
...
|
|
3450
|
-
}, "VImg"),
|
|
3447
|
+
...ni()
|
|
3448
|
+
}, "VImg"), bs = z()({
|
|
3451
3449
|
name: "VImg",
|
|
3452
3450
|
directives: {
|
|
3453
|
-
intersect:
|
|
3451
|
+
intersect: ys
|
|
3454
3452
|
},
|
|
3455
|
-
props:
|
|
3453
|
+
props: hs(),
|
|
3456
3454
|
emits: {
|
|
3457
3455
|
loadstart: (e) => !0,
|
|
3458
3456
|
load: (e) => !0,
|
|
@@ -3467,8 +3465,8 @@ const ho = {
|
|
|
3467
3465
|
backgroundColorClasses: i,
|
|
3468
3466
|
backgroundColorStyles: r
|
|
3469
3467
|
} = ze(() => e.color), {
|
|
3470
|
-
roundedClasses:
|
|
3471
|
-
} = Te(e),
|
|
3468
|
+
roundedClasses: s
|
|
3469
|
+
} = Te(e), o = U("VImg"), l = D(""), u = M(), c = D(e.eager ? "loading" : "idle"), f = D(), v = D(), h = w(() => e.src && typeof e.src == "object" ? {
|
|
3472
3470
|
src: e.src.src,
|
|
3473
3471
|
srcset: e.srcset || e.src.srcset,
|
|
3474
3472
|
lazySrc: e.lazySrc || e.src.lazySrc,
|
|
@@ -3479,13 +3477,13 @@ const ho = {
|
|
|
3479
3477
|
lazySrc: e.lazySrc,
|
|
3480
3478
|
aspect: Number(e.aspectRatio || 0)
|
|
3481
3479
|
}), d = w(() => h.value.aspect || f.value / v.value || 0);
|
|
3482
|
-
|
|
3480
|
+
W(() => e.src, () => {
|
|
3483
3481
|
m(c.value !== "idle");
|
|
3484
|
-
}),
|
|
3482
|
+
}), W(d, (P, C) => {
|
|
3485
3483
|
!P && C && u.value && _(u.value);
|
|
3486
|
-
}),
|
|
3484
|
+
}), mn(() => m());
|
|
3487
3485
|
function m(P) {
|
|
3488
|
-
if (!(e.eager && P) && !(
|
|
3486
|
+
if (!(e.eager && P) && !(hn && !P && !e.eager)) {
|
|
3489
3487
|
if (c.value = "loading", h.value.lazySrc) {
|
|
3490
3488
|
const C = new Image();
|
|
3491
3489
|
C.src = h.value.lazySrc, _(C, null);
|
|
@@ -3494,7 +3492,7 @@ const ho = {
|
|
|
3494
3492
|
var C;
|
|
3495
3493
|
n("loadstart", ((C = u.value) == null ? void 0 : C.currentSrc) || h.value.src), setTimeout(() => {
|
|
3496
3494
|
var O;
|
|
3497
|
-
if (!
|
|
3495
|
+
if (!o.isUnmounted)
|
|
3498
3496
|
if ((O = u.value) != null && O.complete) {
|
|
3499
3497
|
if (u.value.naturalWidth || y(), c.value === "error") return;
|
|
3500
3498
|
d.value || _(u.value, null), c.value === "loading" && g();
|
|
@@ -3506,11 +3504,11 @@ const ho = {
|
|
|
3506
3504
|
}
|
|
3507
3505
|
function g() {
|
|
3508
3506
|
var P;
|
|
3509
|
-
|
|
3507
|
+
o.isUnmounted || (S(), _(u.value), c.value = "loaded", n("load", ((P = u.value) == null ? void 0 : P.currentSrc) || h.value.src));
|
|
3510
3508
|
}
|
|
3511
3509
|
function y() {
|
|
3512
3510
|
var P;
|
|
3513
|
-
|
|
3511
|
+
o.isUnmounted || (c.value = "error", n("error", ((P = u.value) == null ? void 0 : P.currentSrc) || h.value.src));
|
|
3514
3512
|
}
|
|
3515
3513
|
function S() {
|
|
3516
3514
|
const P = u.value;
|
|
@@ -3523,7 +3521,7 @@ const ho = {
|
|
|
3523
3521
|
function _(P) {
|
|
3524
3522
|
let C = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
|
|
3525
3523
|
const O = () => {
|
|
3526
|
-
if (clearTimeout(k),
|
|
3524
|
+
if (clearTimeout(k), o.isUnmounted) return;
|
|
3527
3525
|
const {
|
|
3528
3526
|
naturalHeight: I,
|
|
3529
3527
|
naturalWidth: L
|
|
@@ -3560,7 +3558,7 @@ const ho = {
|
|
|
3560
3558
|
}, {
|
|
3561
3559
|
default: () => [He(C ? b("picture", {
|
|
3562
3560
|
class: "v-img__picture"
|
|
3563
|
-
}, [C, P]) : P, [[
|
|
3561
|
+
}, [C, P]) : P, [[gn, c.value === "loaded"]])]
|
|
3564
3562
|
});
|
|
3565
3563
|
}, T = () => b(Me, {
|
|
3566
3564
|
transition: e.transition
|
|
@@ -3583,7 +3581,7 @@ const ho = {
|
|
|
3583
3581
|
default: () => [(c.value === "loading" || c.value === "error" && !a.error) && b("div", {
|
|
3584
3582
|
class: "v-img__placeholder"
|
|
3585
3583
|
}, [a.placeholder()])]
|
|
3586
|
-
}) : null,
|
|
3584
|
+
}) : null, $ = () => a.error ? b(Me, {
|
|
3587
3585
|
transition: e.transition,
|
|
3588
3586
|
appear: !0
|
|
3589
3587
|
}, {
|
|
@@ -3597,7 +3595,7 @@ const ho = {
|
|
|
3597
3595
|
}
|
|
3598
3596
|
}, null) : null, F = D(!1);
|
|
3599
3597
|
{
|
|
3600
|
-
const P =
|
|
3598
|
+
const P = W(d, (C) => {
|
|
3601
3599
|
C && (requestAnimationFrame(() => {
|
|
3602
3600
|
requestAnimationFrame(() => {
|
|
3603
3601
|
F.value = !0;
|
|
@@ -3606,12 +3604,12 @@ const ho = {
|
|
|
3606
3604
|
});
|
|
3607
3605
|
}
|
|
3608
3606
|
return K(() => {
|
|
3609
|
-
const P =
|
|
3610
|
-
return He(b(
|
|
3607
|
+
const P = na.filterProps(e);
|
|
3608
|
+
return He(b(na, j({
|
|
3611
3609
|
class: ["v-img", {
|
|
3612
3610
|
"v-img--absolute": e.absolute,
|
|
3613
3611
|
"v-img--booting": !F.value
|
|
3614
|
-
}, i.value,
|
|
3612
|
+
}, i.value, s.value, e.class],
|
|
3615
3613
|
style: [{
|
|
3616
3614
|
width: V(e.width === "auto" ? f.value : e.width)
|
|
3617
3615
|
}, r.value, e.style]
|
|
@@ -3620,9 +3618,9 @@ const ho = {
|
|
|
3620
3618
|
"aria-label": e.alt,
|
|
3621
3619
|
role: e.alt ? "img" : void 0
|
|
3622
3620
|
}), {
|
|
3623
|
-
additional: () => b(pe, null, [b(B, null, null), b(T, null, null), b(q, null, null), b(p, null, null), b(
|
|
3621
|
+
additional: () => b(pe, null, [b(B, null, null), b(T, null, null), b(q, null, null), b(p, null, null), b($, null, null)]),
|
|
3624
3622
|
default: a.default
|
|
3625
|
-
}), [[
|
|
3623
|
+
}), [[yn("intersect"), {
|
|
3626
3624
|
handler: m,
|
|
3627
3625
|
options: e.options
|
|
3628
3626
|
}, null, {
|
|
@@ -3636,13 +3634,13 @@ const ho = {
|
|
|
3636
3634
|
naturalHeight: v
|
|
3637
3635
|
};
|
|
3638
3636
|
}
|
|
3639
|
-
}),
|
|
3637
|
+
}), Ss = A({
|
|
3640
3638
|
start: Boolean,
|
|
3641
3639
|
end: Boolean,
|
|
3642
3640
|
icon: te,
|
|
3643
3641
|
image: String,
|
|
3644
3642
|
text: String,
|
|
3645
|
-
...
|
|
3643
|
+
...st(),
|
|
3646
3644
|
...X(),
|
|
3647
3645
|
...lt(),
|
|
3648
3646
|
...Be(),
|
|
@@ -3652,9 +3650,9 @@ const ho = {
|
|
|
3652
3650
|
...ct({
|
|
3653
3651
|
variant: "flat"
|
|
3654
3652
|
})
|
|
3655
|
-
}, "VAvatar"),
|
|
3653
|
+
}, "VAvatar"), aa = z()({
|
|
3656
3654
|
name: "VAvatar",
|
|
3657
|
-
props:
|
|
3655
|
+
props: Ss(),
|
|
3658
3656
|
setup(e, t) {
|
|
3659
3657
|
let {
|
|
3660
3658
|
slots: n
|
|
@@ -3663,11 +3661,11 @@ const ho = {
|
|
|
3663
3661
|
themeClasses: a
|
|
3664
3662
|
} = ye(e), {
|
|
3665
3663
|
borderClasses: i
|
|
3666
|
-
} =
|
|
3664
|
+
} = ot(e), {
|
|
3667
3665
|
colorClasses: r,
|
|
3668
|
-
colorStyles:
|
|
3669
|
-
variantClasses:
|
|
3670
|
-
} =
|
|
3666
|
+
colorStyles: s,
|
|
3667
|
+
variantClasses: o
|
|
3668
|
+
} = Pn(e), {
|
|
3671
3669
|
densityClasses: l
|
|
3672
3670
|
} = ut(e), {
|
|
3673
3671
|
roundedClasses: u
|
|
@@ -3679,8 +3677,8 @@ const ho = {
|
|
|
3679
3677
|
class: ["v-avatar", {
|
|
3680
3678
|
"v-avatar--start": e.start,
|
|
3681
3679
|
"v-avatar--end": e.end
|
|
3682
|
-
}, a.value, i.value, r.value, l.value, u.value, c.value,
|
|
3683
|
-
style: [
|
|
3680
|
+
}, a.value, i.value, r.value, l.value, u.value, c.value, o.value, e.class],
|
|
3681
|
+
style: [s.value, f.value, e.style]
|
|
3684
3682
|
}, {
|
|
3685
3683
|
default: () => [n.default ? b(we, {
|
|
3686
3684
|
key: "content-defaults",
|
|
@@ -3695,7 +3693,7 @@ const ho = {
|
|
|
3695
3693
|
}
|
|
3696
3694
|
}, {
|
|
3697
3695
|
default: () => [n.default()]
|
|
3698
|
-
}) : e.image ? b(
|
|
3696
|
+
}) : e.image ? b(bs, {
|
|
3699
3697
|
key: "image",
|
|
3700
3698
|
src: e.image,
|
|
3701
3699
|
alt: "",
|
|
@@ -3703,10 +3701,10 @@ const ho = {
|
|
|
3703
3701
|
}, null) : e.icon ? b(je, {
|
|
3704
3702
|
key: "icon",
|
|
3705
3703
|
icon: e.icon
|
|
3706
|
-
}, null) : e.text,
|
|
3704
|
+
}, null) : e.text, _n(!1, "v-avatar")]
|
|
3707
3705
|
})), {};
|
|
3708
3706
|
}
|
|
3709
|
-
}),
|
|
3707
|
+
}), ws = A({
|
|
3710
3708
|
active: {
|
|
3711
3709
|
type: Boolean,
|
|
3712
3710
|
default: void 0
|
|
@@ -3742,24 +3740,24 @@ const ho = {
|
|
|
3742
3740
|
value: null,
|
|
3743
3741
|
onClick: Je(),
|
|
3744
3742
|
onClickOnce: Je(),
|
|
3745
|
-
...
|
|
3743
|
+
...st(),
|
|
3746
3744
|
...X(),
|
|
3747
3745
|
...lt(),
|
|
3748
3746
|
...dt(),
|
|
3749
3747
|
...Ot(),
|
|
3750
3748
|
...Be(),
|
|
3751
|
-
...
|
|
3749
|
+
...Ra(),
|
|
3752
3750
|
...le(),
|
|
3753
3751
|
...ue(),
|
|
3754
3752
|
...ct({
|
|
3755
3753
|
variant: "text"
|
|
3756
3754
|
})
|
|
3757
|
-
}, "VListItem"),
|
|
3755
|
+
}, "VListItem"), rn = z()({
|
|
3758
3756
|
name: "VListItem",
|
|
3759
3757
|
directives: {
|
|
3760
|
-
Ripple:
|
|
3758
|
+
Ripple: Ha
|
|
3761
3759
|
},
|
|
3762
|
-
props:
|
|
3760
|
+
props: ws(),
|
|
3763
3761
|
emits: {
|
|
3764
3762
|
click: (e) => !0
|
|
3765
3763
|
},
|
|
@@ -3769,8 +3767,8 @@ const ho = {
|
|
|
3769
3767
|
slots: a,
|
|
3770
3768
|
emit: i
|
|
3771
3769
|
} = t;
|
|
3772
|
-
const r =
|
|
3773
|
-
activate:
|
|
3770
|
+
const r = La(e, n), s = w(() => e.value === void 0 ? r.href.value : e.value), {
|
|
3771
|
+
activate: o,
|
|
3774
3772
|
isActivated: l,
|
|
3775
3773
|
select: u,
|
|
3776
3774
|
isOpen: c,
|
|
@@ -3781,21 +3779,21 @@ const ho = {
|
|
|
3781
3779
|
parent: m,
|
|
3782
3780
|
openOnSelect: g,
|
|
3783
3781
|
id: y
|
|
3784
|
-
} =
|
|
3785
|
-
var
|
|
3786
|
-
return e.active !== !1 && (e.active || ((
|
|
3787
|
-
}), _ = x(() => e.link !== !1 && r.isLink.value), E = w(() => !!S && (d.selectable.value || d.activatable.value || e.value != null)), B = w(() => !e.disabled && e.link !== !1 && (e.link || r.isClickable.value || E.value)), T = x(() => e.rounded || e.nav), p = x(() => e.color ?? e.activeColor),
|
|
3782
|
+
} = ti(s, !1), S = Xa(), k = w(() => {
|
|
3783
|
+
var N;
|
|
3784
|
+
return e.active !== !1 && (e.active || ((N = r.isActive) == null ? void 0 : N.value) || (d.activatable.value ? l.value : f.value));
|
|
3785
|
+
}), _ = x(() => e.link !== !1 && r.isLink.value), E = w(() => !!S && (d.selectable.value || d.activatable.value || e.value != null)), B = w(() => !e.disabled && e.link !== !1 && (e.link || r.isClickable.value || E.value)), T = x(() => e.rounded || e.nav), p = x(() => e.color ?? e.activeColor), $ = x(() => ({
|
|
3788
3786
|
color: k.value ? p.value ?? e.baseColor : e.baseColor,
|
|
3789
3787
|
variant: e.variant
|
|
3790
3788
|
}));
|
|
3791
|
-
|
|
3792
|
-
var
|
|
3793
|
-
return (
|
|
3794
|
-
}, (
|
|
3795
|
-
|
|
3796
|
-
}),
|
|
3797
|
-
var
|
|
3798
|
-
(
|
|
3789
|
+
W(() => {
|
|
3790
|
+
var N;
|
|
3791
|
+
return (N = r.isActive) == null ? void 0 : N.value;
|
|
3792
|
+
}, (N) => {
|
|
3793
|
+
N && q();
|
|
3794
|
+
}), mn(() => {
|
|
3795
|
+
var N;
|
|
3796
|
+
(N = r.isActive) != null && N.value && q();
|
|
3799
3797
|
});
|
|
3800
3798
|
function q() {
|
|
3801
3799
|
m.value != null && d.open(m.value, !0), g(!0);
|
|
@@ -3804,11 +3802,11 @@ const ho = {
|
|
|
3804
3802
|
themeClasses: F
|
|
3805
3803
|
} = ye(e), {
|
|
3806
3804
|
borderClasses: P
|
|
3807
|
-
} =
|
|
3805
|
+
} = ot(e), {
|
|
3808
3806
|
colorClasses: C,
|
|
3809
3807
|
colorStyles: O,
|
|
3810
3808
|
variantClasses: I
|
|
3811
|
-
} =
|
|
3809
|
+
} = Pn($), {
|
|
3812
3810
|
densityClasses: L
|
|
3813
3811
|
} = ut(e), {
|
|
3814
3812
|
dimensionStyles: Q
|
|
@@ -3823,17 +3821,17 @@ const ho = {
|
|
|
3823
3821
|
isSelected: f.value,
|
|
3824
3822
|
isIndeterminate: v.value
|
|
3825
3823
|
}));
|
|
3826
|
-
function Ve(
|
|
3824
|
+
function Ve(N) {
|
|
3827
3825
|
var he, Le;
|
|
3828
|
-
i("click",
|
|
3826
|
+
i("click", N), !["INPUT", "TEXTAREA"].includes((he = N.target) == null ? void 0 : he.tagName) && B.value && ((Le = r.navigate) == null || Le.call(r, N), !h && (d.activatable.value ? o(!l.value, N) : (d.selectable.value || e.value != null) && u(!f.value, N)));
|
|
3829
3827
|
}
|
|
3830
|
-
function ce(
|
|
3831
|
-
const he =
|
|
3832
|
-
["INPUT", "TEXTAREA"].includes(he.tagName) || (
|
|
3828
|
+
function ce(N) {
|
|
3829
|
+
const he = N.target;
|
|
3830
|
+
["INPUT", "TEXTAREA"].includes(he.tagName) || (N.key === "Enter" || N.key === " ") && (N.preventDefault(), N.target.dispatchEvent(new MouseEvent("click", N)));
|
|
3833
3831
|
}
|
|
3834
3832
|
return K(() => {
|
|
3835
|
-
const
|
|
3836
|
-
return S == null || S.updateHasPrepend(de), e.activeColor && Ji("active-color", ["color", "base-color"]), He(b(
|
|
3833
|
+
const N = _.value ? "a" : e.tag, he = a.title || e.title != null, Le = a.subtitle || e.subtitle != null, R = !!(e.appendAvatar || e.appendIcon), Z = !!(R || a.append), be = !!(e.prependAvatar || e.prependIcon), de = !!(be || a.prepend);
|
|
3834
|
+
return S == null || S.updateHasPrepend(de), e.activeColor && Ji("active-color", ["color", "base-color"]), He(b(N, j({
|
|
3837
3835
|
class: ["v-list-item", {
|
|
3838
3836
|
"v-list-item--active": k.value,
|
|
3839
3837
|
"v-list-item--disabled": e.disabled,
|
|
@@ -3851,7 +3849,7 @@ const ho = {
|
|
|
3851
3849
|
}, r.linkProps), {
|
|
3852
3850
|
default: () => {
|
|
3853
3851
|
var qe;
|
|
3854
|
-
return [
|
|
3852
|
+
return [_n(B.value || k.value, "v-list-item"), de && b("div", {
|
|
3855
3853
|
key: "prepend",
|
|
3856
3854
|
class: "v-list-item__prepend"
|
|
3857
3855
|
}, [a.prepend ? b(we, {
|
|
@@ -3875,7 +3873,7 @@ const ho = {
|
|
|
3875
3873
|
var re;
|
|
3876
3874
|
return [(re = a.prepend) == null ? void 0 : re.call(a, ie.value)];
|
|
3877
3875
|
}
|
|
3878
|
-
}) : b(pe, null, [e.prependAvatar && b(
|
|
3876
|
+
}) : b(pe, null, [e.prependAvatar && b(aa, {
|
|
3879
3877
|
key: "prepend-avatar",
|
|
3880
3878
|
density: e.density,
|
|
3881
3879
|
image: e.prependAvatar
|
|
@@ -3888,7 +3886,7 @@ const ho = {
|
|
|
3888
3886
|
}, null)]), b("div", {
|
|
3889
3887
|
class: "v-list-item__content",
|
|
3890
3888
|
"data-no-activator": ""
|
|
3891
|
-
}, [he && b(
|
|
3889
|
+
}, [he && b(vs, {
|
|
3892
3890
|
key: "title"
|
|
3893
3891
|
}, {
|
|
3894
3892
|
default: () => {
|
|
@@ -3897,7 +3895,7 @@ const ho = {
|
|
|
3897
3895
|
title: e.title
|
|
3898
3896
|
})) ?? Qe(e.title)];
|
|
3899
3897
|
}
|
|
3900
|
-
}), Le && b(
|
|
3898
|
+
}), Le && b(fs, {
|
|
3901
3899
|
key: "subtitle"
|
|
3902
3900
|
}, {
|
|
3903
3901
|
default: () => {
|
|
@@ -3934,7 +3932,7 @@ const ho = {
|
|
|
3934
3932
|
key: "append-icon",
|
|
3935
3933
|
density: e.density,
|
|
3936
3934
|
icon: e.appendIcon
|
|
3937
|
-
}, null), e.appendAvatar && b(
|
|
3935
|
+
}, null), e.appendAvatar && b(aa, {
|
|
3938
3936
|
key: "append-avatar",
|
|
3939
3937
|
density: e.density,
|
|
3940
3938
|
image: e.appendAvatar
|
|
@@ -3942,9 +3940,9 @@ const ho = {
|
|
|
3942
3940
|
class: "v-list-item__spacer"
|
|
3943
3941
|
}, null)])];
|
|
3944
3942
|
}
|
|
3945
|
-
}), [[
|
|
3943
|
+
}), [[yn("ripple"), B.value && e.ripple]]);
|
|
3946
3944
|
}), {
|
|
3947
|
-
activate:
|
|
3945
|
+
activate: o,
|
|
3948
3946
|
isActivated: l,
|
|
3949
3947
|
isGroupActivator: h,
|
|
3950
3948
|
isSelected: f,
|
|
@@ -3955,16 +3953,16 @@ const ho = {
|
|
|
3955
3953
|
link: r
|
|
3956
3954
|
};
|
|
3957
3955
|
}
|
|
3958
|
-
}),
|
|
3956
|
+
}), ps = A({
|
|
3959
3957
|
color: String,
|
|
3960
3958
|
inset: Boolean,
|
|
3961
3959
|
sticky: Boolean,
|
|
3962
3960
|
title: String,
|
|
3963
3961
|
...X(),
|
|
3964
3962
|
...le()
|
|
3965
|
-
}, "VListSubheader"),
|
|
3963
|
+
}, "VListSubheader"), Cs = z()({
|
|
3966
3964
|
name: "VListSubheader",
|
|
3967
|
-
props:
|
|
3965
|
+
props: ps(),
|
|
3968
3966
|
setup(e, t) {
|
|
3969
3967
|
let {
|
|
3970
3968
|
slots: n
|
|
@@ -3985,15 +3983,15 @@ const ho = {
|
|
|
3985
3983
|
}, e.style]
|
|
3986
3984
|
}, {
|
|
3987
3985
|
default: () => {
|
|
3988
|
-
var
|
|
3986
|
+
var s;
|
|
3989
3987
|
return [r && b("div", {
|
|
3990
3988
|
class: "v-list-subheader__text"
|
|
3991
|
-
}, [((
|
|
3989
|
+
}, [((s = n.default) == null ? void 0 : s.call(n)) ?? e.title])];
|
|
3992
3990
|
}
|
|
3993
3991
|
});
|
|
3994
3992
|
}), {};
|
|
3995
3993
|
}
|
|
3996
|
-
}),
|
|
3994
|
+
}), xs = A({
|
|
3997
3995
|
color: String,
|
|
3998
3996
|
inset: Boolean,
|
|
3999
3997
|
length: [Number, String],
|
|
@@ -4002,9 +4000,9 @@ const ho = {
|
|
|
4002
4000
|
vertical: Boolean,
|
|
4003
4001
|
...X(),
|
|
4004
4002
|
...ue()
|
|
4005
|
-
}, "VDivider"),
|
|
4003
|
+
}, "VDivider"), ks = z()({
|
|
4006
4004
|
name: "VDivider",
|
|
4007
|
-
props:
|
|
4005
|
+
props: xs(),
|
|
4008
4006
|
setup(e, t) {
|
|
4009
4007
|
let {
|
|
4010
4008
|
attrs: n,
|
|
@@ -4014,8 +4012,8 @@ const ho = {
|
|
|
4014
4012
|
themeClasses: i
|
|
4015
4013
|
} = ye(e), {
|
|
4016
4014
|
textColorClasses: r,
|
|
4017
|
-
textColorStyles:
|
|
4018
|
-
} = Ge(() => e.color),
|
|
4015
|
+
textColorStyles: s
|
|
4016
|
+
} = Ge(() => e.color), o = w(() => {
|
|
4019
4017
|
const l = {};
|
|
4020
4018
|
return e.length && (l[e.vertical ? "height" : "width"] = V(e.length)), e.thickness && (l[e.vertical ? "borderRightWidth" : "borderTopWidth"] = V(e.thickness)), l;
|
|
4021
4019
|
});
|
|
@@ -4026,7 +4024,7 @@ const ho = {
|
|
|
4026
4024
|
"v-divider--inset": e.inset,
|
|
4027
4025
|
"v-divider--vertical": e.vertical
|
|
4028
4026
|
}, i.value, r.value, e.class],
|
|
4029
|
-
style: [
|
|
4027
|
+
style: [o.value, s.value, {
|
|
4030
4028
|
"--v-border-opacity": e.opacity
|
|
4031
4029
|
}, e.style],
|
|
4032
4030
|
"aria-orientation": !n.role || n.role === "separator" ? e.vertical ? "vertical" : "horizontal" : void 0,
|
|
@@ -4042,34 +4040,34 @@ const ho = {
|
|
|
4042
4040
|
}, [a.default()]), l]) : l;
|
|
4043
4041
|
}), {};
|
|
4044
4042
|
}
|
|
4045
|
-
}),
|
|
4043
|
+
}), _s = A({
|
|
4046
4044
|
items: Array,
|
|
4047
4045
|
returnObject: Boolean
|
|
4048
|
-
}, "VListChildren"),
|
|
4046
|
+
}, "VListChildren"), ri = z()({
|
|
4049
4047
|
name: "VListChildren",
|
|
4050
|
-
props:
|
|
4048
|
+
props: _s(),
|
|
4051
4049
|
setup(e, t) {
|
|
4052
4050
|
let {
|
|
4053
4051
|
slots: n
|
|
4054
4052
|
} = t;
|
|
4055
|
-
return
|
|
4053
|
+
return Ka(), () => {
|
|
4056
4054
|
var a, i;
|
|
4057
4055
|
return ((a = n.default) == null ? void 0 : a.call(n)) ?? ((i = e.items) == null ? void 0 : i.map((r) => {
|
|
4058
4056
|
var v, h;
|
|
4059
4057
|
let {
|
|
4060
|
-
children:
|
|
4061
|
-
props:
|
|
4058
|
+
children: s,
|
|
4059
|
+
props: o,
|
|
4062
4060
|
type: l,
|
|
4063
4061
|
raw: u
|
|
4064
4062
|
} = r;
|
|
4065
4063
|
if (l === "divider")
|
|
4066
4064
|
return ((v = n.divider) == null ? void 0 : v.call(n, {
|
|
4067
|
-
props:
|
|
4068
|
-
})) ?? b(
|
|
4065
|
+
props: o
|
|
4066
|
+
})) ?? b(ks, o, null);
|
|
4069
4067
|
if (l === "subheader")
|
|
4070
4068
|
return ((h = n.subheader) == null ? void 0 : h.call(n, {
|
|
4071
|
-
props:
|
|
4072
|
-
})) ?? b(
|
|
4069
|
+
props: o
|
|
4070
|
+
})) ?? b(Cs, o, null);
|
|
4073
4071
|
const c = {
|
|
4074
4072
|
subtitle: n.subtitle ? (d) => {
|
|
4075
4073
|
var m;
|
|
@@ -4099,36 +4097,36 @@ const ho = {
|
|
|
4099
4097
|
item: u
|
|
4100
4098
|
});
|
|
4101
4099
|
} : void 0
|
|
4102
|
-
}, f =
|
|
4103
|
-
return
|
|
4104
|
-
value:
|
|
4100
|
+
}, f = ta.filterProps(o);
|
|
4101
|
+
return s ? b(ta, j({
|
|
4102
|
+
value: o == null ? void 0 : o.value
|
|
4105
4103
|
}, f), {
|
|
4106
4104
|
activator: (d) => {
|
|
4107
4105
|
let {
|
|
4108
4106
|
props: m
|
|
4109
4107
|
} = d;
|
|
4110
4108
|
const g = {
|
|
4111
|
-
...
|
|
4109
|
+
...o,
|
|
4112
4110
|
...m,
|
|
4113
|
-
value: e.returnObject ? u :
|
|
4111
|
+
value: e.returnObject ? u : o.value
|
|
4114
4112
|
};
|
|
4115
4113
|
return n.header ? n.header({
|
|
4116
4114
|
props: g
|
|
4117
|
-
}) : b(
|
|
4115
|
+
}) : b(rn, g, c);
|
|
4118
4116
|
},
|
|
4119
|
-
default: () => b(
|
|
4120
|
-
items:
|
|
4117
|
+
default: () => b(ri, {
|
|
4118
|
+
items: s,
|
|
4121
4119
|
returnObject: e.returnObject
|
|
4122
4120
|
}, n)
|
|
4123
4121
|
}) : n.item ? n.item({
|
|
4124
|
-
props:
|
|
4125
|
-
}) : b(
|
|
4126
|
-
value: e.returnObject ? u :
|
|
4122
|
+
props: o
|
|
4123
|
+
}) : b(rn, j(o, {
|
|
4124
|
+
value: e.returnObject ? u : o.value
|
|
4127
4125
|
}), c);
|
|
4128
4126
|
}));
|
|
4129
4127
|
};
|
|
4130
4128
|
}
|
|
4131
|
-
}),
|
|
4129
|
+
}), Ps = A({
|
|
4132
4130
|
items: {
|
|
4133
4131
|
type: Array,
|
|
4134
4132
|
default: () => []
|
|
@@ -4152,33 +4150,33 @@ const ho = {
|
|
|
4152
4150
|
returnObject: Boolean,
|
|
4153
4151
|
valueComparator: Function
|
|
4154
4152
|
}, "list-items");
|
|
4155
|
-
function
|
|
4156
|
-
const n = ve(t, e.itemTitle, t), a = ve(t, e.itemValue, n), i = ve(t, e.itemChildren), r = e.itemProps === !0 ? typeof t == "object" && t != null && !Array.isArray(t) ? "children" in t ? Et(t, ["children"]) : t : void 0 : ve(t, e.itemProps),
|
|
4153
|
+
function sn(e, t) {
|
|
4154
|
+
const n = ve(t, e.itemTitle, t), a = ve(t, e.itemValue, n), i = ve(t, e.itemChildren), r = e.itemProps === !0 ? typeof t == "object" && t != null && !Array.isArray(t) ? "children" in t ? Et(t, ["children"]) : t : void 0 : ve(t, e.itemProps), s = {
|
|
4157
4155
|
title: n,
|
|
4158
4156
|
value: a,
|
|
4159
4157
|
...r
|
|
4160
4158
|
};
|
|
4161
4159
|
return {
|
|
4162
|
-
title: String(
|
|
4163
|
-
value:
|
|
4164
|
-
props:
|
|
4165
|
-
children: Array.isArray(i) ?
|
|
4160
|
+
title: String(s.title ?? ""),
|
|
4161
|
+
value: s.value,
|
|
4162
|
+
props: s,
|
|
4163
|
+
children: Array.isArray(i) ? si(e, i) : void 0,
|
|
4166
4164
|
raw: t
|
|
4167
4165
|
};
|
|
4168
4166
|
}
|
|
4169
|
-
function
|
|
4170
|
-
const n =
|
|
4167
|
+
function si(e, t) {
|
|
4168
|
+
const n = bn(e, ["itemTitle", "itemValue", "itemChildren", "itemProps", "returnObject", "valueComparator"]), a = [];
|
|
4171
4169
|
for (const i of t)
|
|
4172
|
-
a.push(
|
|
4170
|
+
a.push(sn(n, i));
|
|
4173
4171
|
return a;
|
|
4174
4172
|
}
|
|
4175
|
-
function
|
|
4176
|
-
const t = w(() =>
|
|
4173
|
+
function Po(e) {
|
|
4174
|
+
const t = w(() => si(e, e.items)), n = w(() => t.value.some((o) => o.value === null)), a = D(/* @__PURE__ */ new Map()), i = D([]);
|
|
4177
4175
|
Oe(() => {
|
|
4178
|
-
const
|
|
4179
|
-
for (let c = 0; c <
|
|
4180
|
-
const f =
|
|
4181
|
-
if (
|
|
4176
|
+
const o = t.value, l = /* @__PURE__ */ new Map(), u = [];
|
|
4177
|
+
for (let c = 0; c < o.length; c++) {
|
|
4178
|
+
const f = o[c];
|
|
4179
|
+
if (wa(f.value) || f.value === null) {
|
|
4182
4180
|
let v = l.get(f.value);
|
|
4183
4181
|
v || (v = [], l.set(f.value, v)), v.push(f);
|
|
4184
4182
|
} else
|
|
@@ -4186,12 +4184,12 @@ function Ps(e) {
|
|
|
4186
4184
|
}
|
|
4187
4185
|
a.value = l, i.value = u;
|
|
4188
4186
|
});
|
|
4189
|
-
function r(
|
|
4190
|
-
const l = a.value, u = t.value, c = i.value, f = n.value, v = e.returnObject, h = !!e.valueComparator, d = e.valueComparator || it, m =
|
|
4191
|
-
e: for (const y of
|
|
4187
|
+
function r(o) {
|
|
4188
|
+
const l = a.value, u = t.value, c = i.value, f = n.value, v = e.returnObject, h = !!e.valueComparator, d = e.valueComparator || it, m = bn(e, ["itemTitle", "itemValue", "itemChildren", "itemProps", "returnObject", "valueComparator"]), g = [];
|
|
4189
|
+
e: for (const y of o) {
|
|
4192
4190
|
if (!f && y === null) continue;
|
|
4193
4191
|
if (v && typeof y == "string") {
|
|
4194
|
-
g.push(
|
|
4192
|
+
g.push(sn(m, y));
|
|
4195
4193
|
continue;
|
|
4196
4194
|
}
|
|
4197
4195
|
const S = l.get(y);
|
|
@@ -4201,20 +4199,20 @@ function Ps(e) {
|
|
|
4201
4199
|
g.push(k);
|
|
4202
4200
|
continue e;
|
|
4203
4201
|
}
|
|
4204
|
-
g.push(
|
|
4202
|
+
g.push(sn(m, y));
|
|
4205
4203
|
continue;
|
|
4206
4204
|
}
|
|
4207
4205
|
g.push(...S);
|
|
4208
4206
|
}
|
|
4209
4207
|
return g;
|
|
4210
4208
|
}
|
|
4211
|
-
function o
|
|
4212
|
-
return e.returnObject ?
|
|
4209
|
+
function s(o) {
|
|
4210
|
+
return e.returnObject ? o.map((l) => {
|
|
4213
4211
|
let {
|
|
4214
4212
|
raw: u
|
|
4215
4213
|
} = l;
|
|
4216
4214
|
return u;
|
|
4217
|
-
}) :
|
|
4215
|
+
}) : o.map((l) => {
|
|
4218
4216
|
let {
|
|
4219
4217
|
value: u
|
|
4220
4218
|
} = l;
|
|
@@ -4224,20 +4222,20 @@ function Ps(e) {
|
|
|
4224
4222
|
return {
|
|
4225
4223
|
items: t,
|
|
4226
4224
|
transformIn: r,
|
|
4227
|
-
transformOut:
|
|
4225
|
+
transformOut: s
|
|
4228
4226
|
};
|
|
4229
4227
|
}
|
|
4230
|
-
function
|
|
4231
|
-
const n = ve(t, e.itemType, "item"), a =
|
|
4228
|
+
function As(e, t) {
|
|
4229
|
+
const n = ve(t, e.itemType, "item"), a = wa(t) ? t : ve(t, e.itemTitle), i = ve(t, e.itemValue, void 0), r = ve(t, e.itemChildren), s = e.itemProps === !0 ? Et(t, ["children"]) : ve(t, e.itemProps), o = {
|
|
4232
4230
|
title: a,
|
|
4233
4231
|
value: i,
|
|
4234
|
-
...
|
|
4232
|
+
...s
|
|
4235
4233
|
};
|
|
4236
4234
|
return {
|
|
4237
4235
|
type: n,
|
|
4238
|
-
title:
|
|
4239
|
-
value:
|
|
4240
|
-
props:
|
|
4236
|
+
title: o.title,
|
|
4237
|
+
value: o.value,
|
|
4238
|
+
props: o,
|
|
4241
4239
|
children: n === "item" && r ? oi(e, r) : void 0,
|
|
4242
4240
|
raw: t
|
|
4243
4241
|
};
|
|
@@ -4245,15 +4243,15 @@ function Eo(e, t) {
|
|
|
4245
4243
|
function oi(e, t) {
|
|
4246
4244
|
const n = [];
|
|
4247
4245
|
for (const a of t)
|
|
4248
|
-
n.push(
|
|
4246
|
+
n.push(As(e, a));
|
|
4249
4247
|
return n;
|
|
4250
4248
|
}
|
|
4251
|
-
function
|
|
4249
|
+
function Es(e) {
|
|
4252
4250
|
return {
|
|
4253
4251
|
items: w(() => oi(e, e.items))
|
|
4254
4252
|
};
|
|
4255
4253
|
}
|
|
4256
|
-
const
|
|
4254
|
+
const Os = A({
|
|
4257
4255
|
baseColor: String,
|
|
4258
4256
|
/* @deprecated */
|
|
4259
4257
|
activeColor: String,
|
|
@@ -4271,11 +4269,11 @@ const Io = A({
|
|
|
4271
4269
|
"onClick:open": Je(),
|
|
4272
4270
|
"onClick:select": Je(),
|
|
4273
4271
|
"onUpdate:opened": Je(),
|
|
4274
|
-
...
|
|
4272
|
+
...rs({
|
|
4275
4273
|
selectStrategy: "single-leaf",
|
|
4276
4274
|
openStrategy: "list"
|
|
4277
4275
|
}),
|
|
4278
|
-
...
|
|
4276
|
+
...st(),
|
|
4279
4277
|
...X(),
|
|
4280
4278
|
...lt(),
|
|
4281
4279
|
...dt(),
|
|
@@ -4284,16 +4282,16 @@ const Io = A({
|
|
|
4284
4282
|
type: String,
|
|
4285
4283
|
default: "type"
|
|
4286
4284
|
},
|
|
4287
|
-
...
|
|
4285
|
+
...Ps(),
|
|
4288
4286
|
...Be(),
|
|
4289
4287
|
...le(),
|
|
4290
4288
|
...ue(),
|
|
4291
4289
|
...ct({
|
|
4292
4290
|
variant: "text"
|
|
4293
4291
|
})
|
|
4294
|
-
}, "VList"),
|
|
4292
|
+
}, "VList"), Is = z()({
|
|
4295
4293
|
name: "VList",
|
|
4296
|
-
props:
|
|
4294
|
+
props: Os(),
|
|
4297
4295
|
emits: {
|
|
4298
4296
|
"update:selected": (e) => !0,
|
|
4299
4297
|
"update:activated": (e) => !0,
|
|
@@ -4308,14 +4306,14 @@ const Io = A({
|
|
|
4308
4306
|
} = t;
|
|
4309
4307
|
const {
|
|
4310
4308
|
items: a
|
|
4311
|
-
} =
|
|
4309
|
+
} = Es(e), {
|
|
4312
4310
|
themeClasses: i
|
|
4313
4311
|
} = ye(e), {
|
|
4314
4312
|
backgroundColorClasses: r,
|
|
4315
|
-
backgroundColorStyles:
|
|
4313
|
+
backgroundColorStyles: s
|
|
4316
4314
|
} = ze(() => e.bgColor), {
|
|
4317
|
-
borderClasses:
|
|
4318
|
-
} =
|
|
4315
|
+
borderClasses: o
|
|
4316
|
+
} = ot(e), {
|
|
4319
4317
|
densityClasses: l
|
|
4320
4318
|
} = ut(e), {
|
|
4321
4319
|
dimensionStyles: u
|
|
@@ -4329,8 +4327,8 @@ const Io = A({
|
|
|
4329
4327
|
parents: d,
|
|
4330
4328
|
select: m,
|
|
4331
4329
|
getPath: g
|
|
4332
|
-
} =
|
|
4333
|
-
|
|
4330
|
+
} = ss(e), y = x(() => e.lines ? `v-list--${e.lines}-line` : void 0), S = x(() => e.activeColor), k = x(() => e.baseColor), _ = x(() => e.color);
|
|
4331
|
+
Ka(), Cn({
|
|
4334
4332
|
VListGroup: {
|
|
4335
4333
|
activeColor: S,
|
|
4336
4334
|
baseColor: k,
|
|
@@ -4358,7 +4356,7 @@ const Io = A({
|
|
|
4358
4356
|
function p(C) {
|
|
4359
4357
|
E.value = !1;
|
|
4360
4358
|
}
|
|
4361
|
-
function
|
|
4359
|
+
function $(C) {
|
|
4362
4360
|
var O;
|
|
4363
4361
|
!E.value && !(C.relatedTarget && ((O = B.value) != null && O.contains(C.relatedTarget))) && P();
|
|
4364
4362
|
}
|
|
@@ -4391,18 +4389,18 @@ const Io = A({
|
|
|
4391
4389
|
"v-list--disabled": e.disabled,
|
|
4392
4390
|
"v-list--nav": e.nav,
|
|
4393
4391
|
"v-list--slim": e.slim
|
|
4394
|
-
}, i.value, r.value,
|
|
4395
|
-
style: [
|
|
4392
|
+
}, i.value, r.value, o.value, l.value, c.value, y.value, f.value, e.class],
|
|
4393
|
+
style: [s.value, u.value, e.style],
|
|
4396
4394
|
tabindex: e.disabled ? -1 : 0,
|
|
4397
4395
|
role: "listbox",
|
|
4398
4396
|
"aria-activedescendant": void 0,
|
|
4399
4397
|
onFocusin: T,
|
|
4400
4398
|
onFocusout: p,
|
|
4401
|
-
onFocus:
|
|
4399
|
+
onFocus: $,
|
|
4402
4400
|
onKeydown: q,
|
|
4403
4401
|
onMousedown: F
|
|
4404
4402
|
}, {
|
|
4405
|
-
default: () => [b(
|
|
4403
|
+
default: () => [b(ri, {
|
|
4406
4404
|
items: a.value,
|
|
4407
4405
|
returnObject: e.returnObject
|
|
4408
4406
|
}, n)]
|
|
@@ -4422,13 +4420,13 @@ function zt(e, t) {
|
|
|
4422
4420
|
y: e.y + t.y
|
|
4423
4421
|
};
|
|
4424
4422
|
}
|
|
4425
|
-
function
|
|
4423
|
+
function Bs(e, t) {
|
|
4426
4424
|
return {
|
|
4427
4425
|
x: e.x - t.x,
|
|
4428
4426
|
y: e.y - t.y
|
|
4429
4427
|
};
|
|
4430
4428
|
}
|
|
4431
|
-
function
|
|
4429
|
+
function ia(e, t) {
|
|
4432
4430
|
if (e.side === "top" || e.side === "bottom") {
|
|
4433
4431
|
const {
|
|
4434
4432
|
side: n,
|
|
@@ -4453,16 +4451,16 @@ function aa(e, t) {
|
|
|
4453
4451
|
y: t.height / 2
|
|
4454
4452
|
}, t);
|
|
4455
4453
|
}
|
|
4456
|
-
const
|
|
4457
|
-
static:
|
|
4454
|
+
const li = {
|
|
4455
|
+
static: Ls,
|
|
4458
4456
|
// specific viewport position, usually centered
|
|
4459
|
-
connected:
|
|
4457
|
+
connected: Ns
|
|
4460
4458
|
// connected to a certain element
|
|
4461
|
-
},
|
|
4459
|
+
}, Ts = A({
|
|
4462
4460
|
locationStrategy: {
|
|
4463
4461
|
type: [String, Function],
|
|
4464
4462
|
default: "static",
|
|
4465
|
-
validator: (e) => typeof e == "function" || e in
|
|
4463
|
+
validator: (e) => typeof e == "function" || e in li
|
|
4466
4464
|
},
|
|
4467
4465
|
location: {
|
|
4468
4466
|
type: String,
|
|
@@ -4474,32 +4472,32 @@ const si = {
|
|
|
4474
4472
|
},
|
|
4475
4473
|
offset: [Number, String, Array]
|
|
4476
4474
|
}, "VOverlay-location-strategies");
|
|
4477
|
-
function
|
|
4475
|
+
function Vs(e, t) {
|
|
4478
4476
|
const n = M({}), a = M();
|
|
4479
4477
|
Y && Bt(() => !!(t.isActive.value && e.locationStrategy), (r) => {
|
|
4480
|
-
var
|
|
4481
|
-
|
|
4478
|
+
var s, o;
|
|
4479
|
+
W(() => e.locationStrategy, r), oe(() => {
|
|
4482
4480
|
window.removeEventListener("resize", i), a.value = void 0;
|
|
4483
4481
|
}), window.addEventListener("resize", i, {
|
|
4484
4482
|
passive: !0
|
|
4485
|
-
}), typeof e.locationStrategy == "function" ? a.value = (
|
|
4483
|
+
}), typeof e.locationStrategy == "function" ? a.value = (s = e.locationStrategy(t, e, n)) == null ? void 0 : s.updateLocation : a.value = (o = li[e.locationStrategy](t, e, n)) == null ? void 0 : o.updateLocation;
|
|
4486
4484
|
});
|
|
4487
4485
|
function i(r) {
|
|
4488
|
-
var
|
|
4489
|
-
(
|
|
4486
|
+
var s;
|
|
4487
|
+
(s = a.value) == null || s.call(a, r);
|
|
4490
4488
|
}
|
|
4491
4489
|
return {
|
|
4492
4490
|
contentStyles: n,
|
|
4493
4491
|
updateLocation: a
|
|
4494
4492
|
};
|
|
4495
4493
|
}
|
|
4496
|
-
function
|
|
4494
|
+
function Ls() {
|
|
4497
4495
|
}
|
|
4498
|
-
function
|
|
4499
|
-
const n =
|
|
4496
|
+
function Rs(e, t) {
|
|
4497
|
+
const n = xa(e);
|
|
4500
4498
|
return t ? n.x += parseFloat(e.style.right || 0) : n.x -= parseFloat(e.style.left || 0), n.y -= parseFloat(e.style.top || 0), n;
|
|
4501
4499
|
}
|
|
4502
|
-
function
|
|
4500
|
+
function Ns(e, t, n) {
|
|
4503
4501
|
(Array.isArray(e.target.value) || dr(e.target.value)) && Object.assign(n.value, {
|
|
4504
4502
|
position: "fixed",
|
|
4505
4503
|
top: 0,
|
|
@@ -4508,8 +4506,8 @@ function No(e, t, n) {
|
|
|
4508
4506
|
const {
|
|
4509
4507
|
preferredAnchor: i,
|
|
4510
4508
|
preferredOrigin: r
|
|
4511
|
-
} =
|
|
4512
|
-
const y =
|
|
4509
|
+
} = wn(() => {
|
|
4510
|
+
const y = Jt(t.location, e.isRtl.value), S = t.origin === "overlap" ? y : t.origin === "auto" ? $t(y) : Jt(t.origin, e.isRtl.value);
|
|
4513
4511
|
return y.side === S.side && y.align === Ft(S).align ? {
|
|
4514
4512
|
preferredAnchor: $n(y),
|
|
4515
4513
|
preferredOrigin: $n(S)
|
|
@@ -4517,7 +4515,7 @@ function No(e, t, n) {
|
|
|
4517
4515
|
preferredAnchor: y,
|
|
4518
4516
|
preferredOrigin: S
|
|
4519
4517
|
};
|
|
4520
|
-
}), [
|
|
4518
|
+
}), [s, o, l, u] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((y) => w(() => {
|
|
4521
4519
|
const S = parseFloat(t[y]);
|
|
4522
4520
|
return isNaN(S) ? 1 / 0 : S;
|
|
4523
4521
|
})), c = w(() => {
|
|
@@ -4544,12 +4542,12 @@ function No(e, t, n) {
|
|
|
4544
4542
|
const y = g();
|
|
4545
4543
|
y && h.push(y.flipped);
|
|
4546
4544
|
});
|
|
4547
|
-
|
|
4545
|
+
W([e.target, e.contentEl], (y, S) => {
|
|
4548
4546
|
let [k, _] = y, [E, B] = S;
|
|
4549
4547
|
E && !Array.isArray(E) && d.unobserve(E), k && !Array.isArray(k) && d.observe(k), B && d.unobserve(B), _ && d.observe(_);
|
|
4550
4548
|
}, {
|
|
4551
4549
|
immediate: !0
|
|
4552
|
-
}),
|
|
4550
|
+
}), oe(() => {
|
|
4553
4551
|
d.disconnect();
|
|
4554
4552
|
});
|
|
4555
4553
|
let m = new Se({
|
|
@@ -4560,8 +4558,8 @@ function No(e, t, n) {
|
|
|
4560
4558
|
});
|
|
4561
4559
|
function g() {
|
|
4562
4560
|
if (f = !1, requestAnimationFrame(() => f = !0), !e.target.value || !e.contentEl.value) return;
|
|
4563
|
-
(Array.isArray(e.target.value) || e.target.value.offsetParent) && (m =
|
|
4564
|
-
const y =
|
|
4561
|
+
(Array.isArray(e.target.value) || e.target.value.offsetParent || e.target.value.getClientRects().length) && (m = Ca(e.target.value));
|
|
4562
|
+
const y = Rs(e.contentEl.value, e.isRtl.value), S = Ct(e.contentEl.value), k = 12;
|
|
4565
4563
|
S.length || (S.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)));
|
|
4566
4564
|
const _ = S.reduce((C, O) => {
|
|
4567
4565
|
const I = O.getBoundingClientRect(), L = new Se({
|
|
@@ -4583,11 +4581,11 @@ function No(e, t, n) {
|
|
|
4583
4581
|
origin: r.value
|
|
4584
4582
|
};
|
|
4585
4583
|
function B(C) {
|
|
4586
|
-
const O = new Se(y), I =
|
|
4584
|
+
const O = new Se(y), I = ia(C.anchor, m), L = ia(C.origin, O);
|
|
4587
4585
|
let {
|
|
4588
4586
|
x: Q,
|
|
4589
4587
|
y: ae
|
|
4590
|
-
} =
|
|
4588
|
+
} = Bs(I, L);
|
|
4591
4589
|
switch (C.anchor.side) {
|
|
4592
4590
|
case "top":
|
|
4593
4591
|
ae -= c.value[0];
|
|
@@ -4617,13 +4615,13 @@ function No(e, t, n) {
|
|
|
4617
4615
|
break;
|
|
4618
4616
|
}
|
|
4619
4617
|
return O.x += Q, O.y += ae, O.width = Math.min(O.width, l.value), O.height = Math.min(O.height, u.value), {
|
|
4620
|
-
overflows:
|
|
4618
|
+
overflows: Mn(O, _),
|
|
4621
4619
|
x: Q,
|
|
4622
4620
|
y: ae
|
|
4623
4621
|
};
|
|
4624
4622
|
}
|
|
4625
4623
|
let T = 0, p = 0;
|
|
4626
|
-
const
|
|
4624
|
+
const $ = {
|
|
4627
4625
|
x: 0,
|
|
4628
4626
|
y: 0
|
|
4629
4627
|
}, q = {
|
|
@@ -4633,7 +4631,7 @@ function No(e, t, n) {
|
|
|
4633
4631
|
let F = -1;
|
|
4634
4632
|
for (; ; ) {
|
|
4635
4633
|
if (F++ > 10) {
|
|
4636
|
-
|
|
4634
|
+
ka("Infinite loop detected in connectedLocationStrategy");
|
|
4637
4635
|
break;
|
|
4638
4636
|
}
|
|
4639
4637
|
const {
|
|
@@ -4643,7 +4641,7 @@ function No(e, t, n) {
|
|
|
4643
4641
|
} = B(E);
|
|
4644
4642
|
T += C, p += O, y.x += C, y.y += O;
|
|
4645
4643
|
{
|
|
4646
|
-
const L =
|
|
4644
|
+
const L = Fn(E.anchor), Q = I.x.before || I.x.after, ae = I.y.before || I.y.after;
|
|
4647
4645
|
let xe = !1;
|
|
4648
4646
|
if (["x", "y"].forEach((G) => {
|
|
4649
4647
|
if (G === "x" && Q && !q.x || G === "y" && ae && !q.y) {
|
|
@@ -4654,7 +4652,7 @@ function No(e, t, n) {
|
|
|
4654
4652
|
origin: {
|
|
4655
4653
|
...E.origin
|
|
4656
4654
|
}
|
|
4657
|
-
}, Ve = G === "x" ? L === "y" ? Ft :
|
|
4655
|
+
}, Ve = G === "x" ? L === "y" ? Ft : $t : L === "y" ? $t : Ft;
|
|
4658
4656
|
ie.anchor = Ve(ie.anchor), ie.origin = Ve(ie.origin);
|
|
4659
4657
|
const {
|
|
4660
4658
|
overflows: ce
|
|
@@ -4665,12 +4663,12 @@ function No(e, t, n) {
|
|
|
4665
4663
|
}
|
|
4666
4664
|
I.x.before && (T += I.x.before, y.x += I.x.before), I.x.after && (T -= I.x.after, y.x -= I.x.after), I.y.before && (p += I.y.before, y.y += I.y.before), I.y.after && (p -= I.y.after, y.y -= I.y.after);
|
|
4667
4665
|
{
|
|
4668
|
-
const L =
|
|
4669
|
-
|
|
4666
|
+
const L = Mn(y, _);
|
|
4667
|
+
$.x = _.width - L.x.before - L.x.after, $.y = _.height - L.y.before - L.y.after, T += L.x.before, y.x += L.x.before, p += L.y.before, y.y += L.y.before;
|
|
4670
4668
|
}
|
|
4671
4669
|
break;
|
|
4672
4670
|
}
|
|
4673
|
-
const P =
|
|
4671
|
+
const P = Fn(E.anchor);
|
|
4674
4672
|
return Object.assign(n.value, {
|
|
4675
4673
|
"--v-overlay-anchor-origin": `${E.anchor.side} ${E.anchor.align}`,
|
|
4676
4674
|
transformOrigin: `${E.origin.side} ${E.origin.align}`,
|
|
@@ -4678,16 +4676,16 @@ function No(e, t, n) {
|
|
|
4678
4676
|
top: V(jt(p)),
|
|
4679
4677
|
left: e.isRtl.value ? void 0 : V(jt(T)),
|
|
4680
4678
|
right: e.isRtl.value ? V(jt(-T)) : void 0,
|
|
4681
|
-
minWidth: V(P === "y" ? Math.min(
|
|
4682
|
-
maxWidth: V(
|
|
4683
|
-
maxHeight: V(
|
|
4679
|
+
minWidth: V(P === "y" ? Math.min(s.value, m.width) : s.value),
|
|
4680
|
+
maxWidth: V(ra(St($.x, s.value === 1 / 0 ? 0 : s.value, l.value))),
|
|
4681
|
+
maxHeight: V(ra(St($.y, o.value === 1 / 0 ? 0 : o.value, u.value)))
|
|
4684
4682
|
}), {
|
|
4685
|
-
available:
|
|
4683
|
+
available: $,
|
|
4686
4684
|
contentBox: y,
|
|
4687
4685
|
flipped: q
|
|
4688
4686
|
};
|
|
4689
4687
|
}
|
|
4690
|
-
return
|
|
4688
|
+
return W(() => [i.value, r.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => g()), Ie(() => {
|
|
4691
4689
|
const y = g();
|
|
4692
4690
|
if (!y) return;
|
|
4693
4691
|
const {
|
|
@@ -4706,111 +4704,111 @@ function No(e, t, n) {
|
|
|
4706
4704
|
function jt(e) {
|
|
4707
4705
|
return Math.round(e * devicePixelRatio) / devicePixelRatio;
|
|
4708
4706
|
}
|
|
4709
|
-
function
|
|
4707
|
+
function ra(e) {
|
|
4710
4708
|
return Math.ceil(e * devicePixelRatio) / devicePixelRatio;
|
|
4711
4709
|
}
|
|
4712
4710
|
let on = !0;
|
|
4713
4711
|
const kt = [];
|
|
4714
|
-
function
|
|
4715
|
-
!on || kt.length ? (kt.push(e),
|
|
4712
|
+
function $s(e) {
|
|
4713
|
+
!on || kt.length ? (kt.push(e), ln()) : (on = !1, e(), ln());
|
|
4716
4714
|
}
|
|
4717
|
-
let
|
|
4718
|
-
function
|
|
4719
|
-
cancelAnimationFrame(
|
|
4715
|
+
let sa = -1;
|
|
4716
|
+
function ln() {
|
|
4717
|
+
cancelAnimationFrame(sa), sa = requestAnimationFrame(() => {
|
|
4720
4718
|
const e = kt.shift();
|
|
4721
|
-
e && e(), kt.length ?
|
|
4719
|
+
e && e(), kt.length ? ln() : on = !0;
|
|
4722
4720
|
});
|
|
4723
4721
|
}
|
|
4724
4722
|
const ht = {
|
|
4725
4723
|
none: null,
|
|
4726
|
-
close:
|
|
4727
|
-
block:
|
|
4728
|
-
reposition:
|
|
4729
|
-
},
|
|
4724
|
+
close: Ds,
|
|
4725
|
+
block: zs,
|
|
4726
|
+
reposition: js
|
|
4727
|
+
}, Fs = A({
|
|
4730
4728
|
scrollStrategy: {
|
|
4731
4729
|
type: [String, Function],
|
|
4732
4730
|
default: "block",
|
|
4733
4731
|
validator: (e) => typeof e == "function" || e in ht
|
|
4734
4732
|
}
|
|
4735
4733
|
}, "VOverlay-scroll-strategies");
|
|
4736
|
-
function
|
|
4734
|
+
function Ms(e, t) {
|
|
4737
4735
|
if (!Y) return;
|
|
4738
4736
|
let n;
|
|
4739
4737
|
Oe(async () => {
|
|
4740
|
-
n == null || n.stop(), t.isActive.value && e.scrollStrategy && (n =
|
|
4738
|
+
n == null || n.stop(), t.isActive.value && e.scrollStrategy && (n = cn(), await new Promise((a) => setTimeout(a)), n.active && n.run(() => {
|
|
4741
4739
|
var a;
|
|
4742
4740
|
typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : (a = ht[e.scrollStrategy]) == null || a.call(ht, t, e, n);
|
|
4743
4741
|
}));
|
|
4744
|
-
}),
|
|
4742
|
+
}), oe(() => {
|
|
4745
4743
|
n == null || n.stop();
|
|
4746
4744
|
});
|
|
4747
4745
|
}
|
|
4748
|
-
function
|
|
4746
|
+
function Ds(e) {
|
|
4749
4747
|
function t(n) {
|
|
4750
4748
|
e.isActive.value = !1;
|
|
4751
4749
|
}
|
|
4752
|
-
|
|
4753
|
-
}
|
|
4754
|
-
function
|
|
4755
|
-
var
|
|
4756
|
-
const n = (
|
|
4757
|
-
r && e.root.value.classList.add("v-overlay--scroll-blocked"), a.forEach((
|
|
4758
|
-
|
|
4759
|
-
}),
|
|
4760
|
-
a.forEach((
|
|
4761
|
-
const u = parseFloat(
|
|
4762
|
-
|
|
4750
|
+
ui(e.targetEl.value ?? e.contentEl.value, t);
|
|
4751
|
+
}
|
|
4752
|
+
function zs(e, t) {
|
|
4753
|
+
var s;
|
|
4754
|
+
const n = (s = e.root.value) == null ? void 0 : s.offsetParent, a = [.../* @__PURE__ */ new Set([...Ct(e.targetEl.value, t.contained ? n : void 0), ...Ct(e.contentEl.value, t.contained ? n : void 0)])].filter((o) => !o.classList.contains("v-overlay-scroll-blocked")), i = window.innerWidth - document.documentElement.offsetWidth, r = ((o) => xn(o) && o)(n || document.documentElement);
|
|
4755
|
+
r && e.root.value.classList.add("v-overlay--scroll-blocked"), a.forEach((o, l) => {
|
|
4756
|
+
o.style.setProperty("--v-body-scroll-x", V(-o.scrollLeft)), o.style.setProperty("--v-body-scroll-y", V(-o.scrollTop)), o !== document.documentElement && o.style.setProperty("--v-scrollbar-offset", V(i)), o.classList.add("v-overlay-scroll-blocked");
|
|
4757
|
+
}), oe(() => {
|
|
4758
|
+
a.forEach((o, l) => {
|
|
4759
|
+
const u = parseFloat(o.style.getPropertyValue("--v-body-scroll-x")), c = parseFloat(o.style.getPropertyValue("--v-body-scroll-y")), f = o.style.scrollBehavior;
|
|
4760
|
+
o.style.scrollBehavior = "auto", o.style.removeProperty("--v-body-scroll-x"), o.style.removeProperty("--v-body-scroll-y"), o.style.removeProperty("--v-scrollbar-offset"), o.classList.remove("v-overlay-scroll-blocked"), o.scrollLeft = -u, o.scrollTop = -c, o.style.scrollBehavior = f;
|
|
4763
4761
|
}), r && e.root.value.classList.remove("v-overlay--scroll-blocked");
|
|
4764
4762
|
});
|
|
4765
4763
|
}
|
|
4766
|
-
function
|
|
4764
|
+
function js(e, t, n) {
|
|
4767
4765
|
let a = !1, i = -1, r = -1;
|
|
4768
|
-
function o
|
|
4769
|
-
|
|
4766
|
+
function s(o) {
|
|
4767
|
+
$s(() => {
|
|
4770
4768
|
var c, f;
|
|
4771
4769
|
const l = performance.now();
|
|
4772
|
-
(f = (c = e.updateLocation).value) == null || f.call(c,
|
|
4770
|
+
(f = (c = e.updateLocation).value) == null || f.call(c, o), a = (performance.now() - l) / (1e3 / 60) > 2;
|
|
4773
4771
|
});
|
|
4774
4772
|
}
|
|
4775
|
-
r = (typeof requestIdleCallback > "u" ? (
|
|
4773
|
+
r = (typeof requestIdleCallback > "u" ? (o) => o() : requestIdleCallback)(() => {
|
|
4776
4774
|
n.run(() => {
|
|
4777
|
-
|
|
4775
|
+
ui(e.targetEl.value ?? e.contentEl.value, (o) => {
|
|
4778
4776
|
a ? (cancelAnimationFrame(i), i = requestAnimationFrame(() => {
|
|
4779
4777
|
i = requestAnimationFrame(() => {
|
|
4780
|
-
o
|
|
4778
|
+
s(o);
|
|
4781
4779
|
});
|
|
4782
|
-
})) : o
|
|
4780
|
+
})) : s(o);
|
|
4783
4781
|
});
|
|
4784
4782
|
});
|
|
4785
|
-
}),
|
|
4783
|
+
}), oe(() => {
|
|
4786
4784
|
typeof cancelIdleCallback < "u" && cancelIdleCallback(r), cancelAnimationFrame(i);
|
|
4787
4785
|
});
|
|
4788
4786
|
}
|
|
4789
|
-
function
|
|
4787
|
+
function ui(e, t) {
|
|
4790
4788
|
const n = [document, ...Ct(e)];
|
|
4791
4789
|
n.forEach((a) => {
|
|
4792
4790
|
a.addEventListener("scroll", t, {
|
|
4793
4791
|
passive: !0
|
|
4794
4792
|
});
|
|
4795
|
-
}),
|
|
4793
|
+
}), oe(() => {
|
|
4796
4794
|
n.forEach((a) => {
|
|
4797
4795
|
a.removeEventListener("scroll", t);
|
|
4798
4796
|
});
|
|
4799
4797
|
});
|
|
4800
4798
|
}
|
|
4801
|
-
const
|
|
4799
|
+
const un = Symbol.for("vuetify:v-menu"), Ws = A({
|
|
4802
4800
|
closeDelay: [Number, String],
|
|
4803
4801
|
openDelay: [Number, String]
|
|
4804
4802
|
}, "delay");
|
|
4805
|
-
function
|
|
4803
|
+
function Hs(e, t) {
|
|
4806
4804
|
let n = () => {
|
|
4807
4805
|
};
|
|
4808
|
-
function a(
|
|
4806
|
+
function a(s) {
|
|
4809
4807
|
n == null || n();
|
|
4810
|
-
const
|
|
4808
|
+
const o = Number(s ? e.openDelay : e.closeDelay);
|
|
4811
4809
|
return new Promise((l) => {
|
|
4812
|
-
n =
|
|
4813
|
-
t == null || t(
|
|
4810
|
+
n = $i(o, () => {
|
|
4811
|
+
t == null || t(s), l(s);
|
|
4814
4812
|
});
|
|
4815
4813
|
});
|
|
4816
4814
|
}
|
|
@@ -4826,7 +4824,7 @@ function Go(e, t) {
|
|
|
4826
4824
|
runCloseDelay: r
|
|
4827
4825
|
};
|
|
4828
4826
|
}
|
|
4829
|
-
const
|
|
4827
|
+
const Gs = A({
|
|
4830
4828
|
target: [String, Object],
|
|
4831
4829
|
activator: [String, Object],
|
|
4832
4830
|
activatorProps: {
|
|
@@ -4843,34 +4841,34 @@ const qo = A({
|
|
|
4843
4841
|
default: void 0
|
|
4844
4842
|
},
|
|
4845
4843
|
closeOnContentClick: Boolean,
|
|
4846
|
-
...
|
|
4844
|
+
...Ws()
|
|
4847
4845
|
}, "VOverlay-activator");
|
|
4848
|
-
function
|
|
4846
|
+
function qs(e, t) {
|
|
4849
4847
|
let {
|
|
4850
4848
|
isActive: n,
|
|
4851
4849
|
isTop: a,
|
|
4852
4850
|
contentEl: i
|
|
4853
4851
|
} = t;
|
|
4854
|
-
const r = U("useActivator"),
|
|
4855
|
-
let
|
|
4852
|
+
const r = U("useActivator"), s = M();
|
|
4853
|
+
let o = !1, l = !1, u = !0;
|
|
4856
4854
|
const c = w(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), f = w(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !c.value), {
|
|
4857
4855
|
runOpenDelay: v,
|
|
4858
4856
|
runCloseDelay: h
|
|
4859
|
-
} =
|
|
4860
|
-
p === (e.openOnHover &&
|
|
4857
|
+
} = Hs(e, (p) => {
|
|
4858
|
+
p === (e.openOnHover && o || c.value && l) && !(e.openOnHover && n.value && !a.value) && (n.value !== p && (u = !0), n.value = p);
|
|
4861
4859
|
}), d = M(), m = {
|
|
4862
4860
|
onClick: (p) => {
|
|
4863
|
-
p.stopPropagation(),
|
|
4861
|
+
p.stopPropagation(), s.value = p.currentTarget || p.target, n.value || (d.value = [p.clientX, p.clientY]), n.value = !n.value;
|
|
4864
4862
|
},
|
|
4865
4863
|
onMouseenter: (p) => {
|
|
4866
|
-
var
|
|
4867
|
-
(
|
|
4864
|
+
var $;
|
|
4865
|
+
($ = p.sourceCapabilities) != null && $.firesTouchEvents || (o = !0, s.value = p.currentTarget || p.target, v());
|
|
4868
4866
|
},
|
|
4869
4867
|
onMouseleave: (p) => {
|
|
4870
|
-
|
|
4868
|
+
o = !1, h();
|
|
4871
4869
|
},
|
|
4872
4870
|
onFocus: (p) => {
|
|
4873
|
-
Ri(p.target, ":focus-visible") !== !1 && (l = !0, p.stopPropagation(),
|
|
4871
|
+
Ri(p.target, ":focus-visible") !== !1 && (l = !0, p.stopPropagation(), s.value = p.currentTarget || p.target, v());
|
|
4874
4872
|
},
|
|
4875
4873
|
onBlur: (p) => {
|
|
4876
4874
|
l = !1, p.stopPropagation(), h();
|
|
@@ -4881,60 +4879,60 @@ function Uo(e, t) {
|
|
|
4881
4879
|
}), y = w(() => {
|
|
4882
4880
|
const p = {};
|
|
4883
4881
|
if (e.openOnHover && (p.onMouseenter = () => {
|
|
4884
|
-
|
|
4882
|
+
o = !0, v();
|
|
4885
4883
|
}, p.onMouseleave = () => {
|
|
4886
|
-
|
|
4884
|
+
o = !1, h();
|
|
4887
4885
|
}), c.value && (p.onFocusin = () => {
|
|
4888
4886
|
l = !0, v();
|
|
4889
4887
|
}, p.onFocusout = () => {
|
|
4890
4888
|
l = !1, h();
|
|
4891
4889
|
}), e.closeOnContentClick) {
|
|
4892
|
-
const
|
|
4890
|
+
const $ = J(un, null);
|
|
4893
4891
|
p.onClick = () => {
|
|
4894
|
-
n.value = !1,
|
|
4892
|
+
n.value = !1, $ == null || $.closeParents();
|
|
4895
4893
|
};
|
|
4896
4894
|
}
|
|
4897
4895
|
return p;
|
|
4898
4896
|
}), S = w(() => {
|
|
4899
4897
|
const p = {};
|
|
4900
4898
|
return e.openOnHover && (p.onMouseenter = () => {
|
|
4901
|
-
u && (
|
|
4899
|
+
u && (o = !0, u = !1, v());
|
|
4902
4900
|
}, p.onMouseleave = () => {
|
|
4903
|
-
|
|
4901
|
+
o = !1, h();
|
|
4904
4902
|
}), p;
|
|
4905
4903
|
});
|
|
4906
|
-
|
|
4907
|
-
var
|
|
4908
|
-
p && (e.openOnHover && !
|
|
4909
|
-
}),
|
|
4904
|
+
W(a, (p) => {
|
|
4905
|
+
var $;
|
|
4906
|
+
p && (e.openOnHover && !o && (!c.value || !l) || c.value && !l && (!e.openOnHover || !o)) && !(($ = i.value) != null && $.contains(document.activeElement)) && (n.value = !1);
|
|
4907
|
+
}), W(n, (p) => {
|
|
4910
4908
|
p || setTimeout(() => {
|
|
4911
4909
|
d.value = void 0;
|
|
4912
4910
|
});
|
|
4913
4911
|
}, {
|
|
4914
4912
|
flush: "post"
|
|
4915
4913
|
});
|
|
4916
|
-
const k =
|
|
4914
|
+
const k = Yt();
|
|
4917
4915
|
Oe(() => {
|
|
4918
4916
|
k.value && Ie(() => {
|
|
4919
|
-
|
|
4917
|
+
s.value = k.el;
|
|
4920
4918
|
});
|
|
4921
4919
|
});
|
|
4922
|
-
const _ =
|
|
4920
|
+
const _ = Yt(), E = w(() => e.target === "cursor" && d.value ? d.value : _.value ? _.el : ci(e.target, r) || s.value), B = w(() => Array.isArray(E.value) ? void 0 : E.value);
|
|
4923
4921
|
let T;
|
|
4924
|
-
return
|
|
4925
|
-
p && Y ? (T =
|
|
4926
|
-
|
|
4927
|
-
activatorEl:
|
|
4922
|
+
return W(() => !!e.activator, (p) => {
|
|
4923
|
+
p && Y ? (T = cn(), T.run(() => {
|
|
4924
|
+
Us(e, r, {
|
|
4925
|
+
activatorEl: s,
|
|
4928
4926
|
activatorEvents: g
|
|
4929
4927
|
});
|
|
4930
4928
|
})) : T && T.stop();
|
|
4931
4929
|
}, {
|
|
4932
4930
|
flush: "post",
|
|
4933
4931
|
immediate: !0
|
|
4934
|
-
}),
|
|
4932
|
+
}), oe(() => {
|
|
4935
4933
|
T == null || T.stop();
|
|
4936
4934
|
}), {
|
|
4937
|
-
activatorEl:
|
|
4935
|
+
activatorEl: s,
|
|
4938
4936
|
activatorRef: k,
|
|
4939
4937
|
target: E,
|
|
4940
4938
|
targetEl: B,
|
|
@@ -4944,39 +4942,39 @@ function Uo(e, t) {
|
|
|
4944
4942
|
scrimEvents: S
|
|
4945
4943
|
};
|
|
4946
4944
|
}
|
|
4947
|
-
function
|
|
4945
|
+
function Us(e, t, n) {
|
|
4948
4946
|
let {
|
|
4949
4947
|
activatorEl: a,
|
|
4950
4948
|
activatorEvents: i
|
|
4951
4949
|
} = n;
|
|
4952
|
-
|
|
4950
|
+
W(() => e.activator, (l, u) => {
|
|
4953
4951
|
if (u && l !== u) {
|
|
4954
|
-
const c =
|
|
4955
|
-
c &&
|
|
4952
|
+
const c = o(u);
|
|
4953
|
+
c && s(c);
|
|
4956
4954
|
}
|
|
4957
4955
|
l && Ie(() => r());
|
|
4958
4956
|
}, {
|
|
4959
4957
|
immediate: !0
|
|
4960
|
-
}),
|
|
4958
|
+
}), W(() => e.activatorProps, () => {
|
|
4961
4959
|
r();
|
|
4962
|
-
}),
|
|
4963
|
-
|
|
4960
|
+
}), oe(() => {
|
|
4961
|
+
s();
|
|
4964
4962
|
});
|
|
4965
4963
|
function r() {
|
|
4966
|
-
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
|
4967
|
-
l && Di(l,
|
|
4968
|
-
}
|
|
4969
|
-
function o() {
|
|
4970
|
-
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : s(), u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
|
|
4971
|
-
l && zi(l, W(i.value, u));
|
|
4964
|
+
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : o(), u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
|
|
4965
|
+
l && Di(l, j(i.value, u));
|
|
4972
4966
|
}
|
|
4973
4967
|
function s() {
|
|
4968
|
+
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : o(), u = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
|
|
4969
|
+
l && zi(l, j(i.value, u));
|
|
4970
|
+
}
|
|
4971
|
+
function o() {
|
|
4974
4972
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : e.activator;
|
|
4975
|
-
const u =
|
|
4973
|
+
const u = ci(l, t);
|
|
4976
4974
|
return a.value = (u == null ? void 0 : u.nodeType) === Node.ELEMENT_NODE ? u : void 0, a.value;
|
|
4977
4975
|
}
|
|
4978
4976
|
}
|
|
4979
|
-
function
|
|
4977
|
+
function ci(e, t) {
|
|
4980
4978
|
var a, i;
|
|
4981
4979
|
if (!e) return;
|
|
4982
4980
|
let n;
|
|
@@ -4988,18 +4986,18 @@ function ui(e, t) {
|
|
|
4988
4986
|
} else typeof e == "string" ? n = document.querySelector(e) : "$el" in e ? n = e.$el : n = e;
|
|
4989
4987
|
return n;
|
|
4990
4988
|
}
|
|
4991
|
-
const
|
|
4989
|
+
const Ao = ["sm", "md", "lg", "xl", "xxl"], Ks = Symbol.for("vuetify:display"), Eo = A({
|
|
4992
4990
|
mobile: {
|
|
4993
4991
|
type: Boolean,
|
|
4994
4992
|
default: !1
|
|
4995
4993
|
},
|
|
4996
4994
|
mobileBreakpoint: [Number, String]
|
|
4997
4995
|
}, "display");
|
|
4998
|
-
function
|
|
4996
|
+
function Xs() {
|
|
4999
4997
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
5000
4998
|
mobile: null
|
|
5001
4999
|
}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ce();
|
|
5002
|
-
const n = J(
|
|
5000
|
+
const n = J(Ks);
|
|
5003
5001
|
if (!n) throw new Error("Could not find Vuetify display injection");
|
|
5004
5002
|
const a = w(() => e.mobile ? !0 : typeof e.mobileBreakpoint == "number" ? n.width.value < e.mobileBreakpoint : e.mobileBreakpoint ? n.width.value < n.thresholds.value[e.mobileBreakpoint] : e.mobile === null ? n.mobile.value : !1), i = x(() => t ? {
|
|
5005
5003
|
[`${t}--mobile`]: a.value
|
|
@@ -5010,25 +5008,25 @@ function Yo() {
|
|
|
5010
5008
|
mobile: a
|
|
5011
5009
|
};
|
|
5012
5010
|
}
|
|
5013
|
-
function
|
|
5011
|
+
function Ys() {
|
|
5014
5012
|
if (!Y) return D(!1);
|
|
5015
5013
|
const {
|
|
5016
5014
|
ssr: e
|
|
5017
|
-
} =
|
|
5015
|
+
} = Xs();
|
|
5018
5016
|
if (e) {
|
|
5019
5017
|
const t = D(!1);
|
|
5020
|
-
return
|
|
5018
|
+
return dn(() => {
|
|
5021
5019
|
t.value = !0;
|
|
5022
5020
|
}), t;
|
|
5023
5021
|
} else
|
|
5024
5022
|
return D(!0);
|
|
5025
5023
|
}
|
|
5026
|
-
const
|
|
5024
|
+
const Js = A({
|
|
5027
5025
|
eager: Boolean
|
|
5028
5026
|
}, "lazy");
|
|
5029
|
-
function
|
|
5027
|
+
function Zs(e, t) {
|
|
5030
5028
|
const n = D(!1), a = x(() => n.value || e.eager || t.value);
|
|
5031
|
-
|
|
5029
|
+
W(t, () => n.value = !0);
|
|
5032
5030
|
function i() {
|
|
5033
5031
|
e.eager || (n.value = !1);
|
|
5034
5032
|
}
|
|
@@ -5038,7 +5036,7 @@ function Qo(e, t) {
|
|
|
5038
5036
|
onAfterLeave: i
|
|
5039
5037
|
};
|
|
5040
5038
|
}
|
|
5041
|
-
function
|
|
5039
|
+
function di() {
|
|
5042
5040
|
const t = U("useScopeId").vnode.scopeId;
|
|
5043
5041
|
return {
|
|
5044
5042
|
scopeId: t ? {
|
|
@@ -5047,16 +5045,16 @@ function ci() {
|
|
|
5047
5045
|
};
|
|
5048
5046
|
}
|
|
5049
5047
|
const oa = Symbol.for("vuetify:stack"), Ue = We([]);
|
|
5050
|
-
function
|
|
5051
|
-
const a = U("useStack"), i = !n, r = J(oa, void 0),
|
|
5048
|
+
function Qs(e, t, n) {
|
|
5049
|
+
const a = U("useStack"), i = !n, r = J(oa, void 0), s = We({
|
|
5052
5050
|
activeChildren: /* @__PURE__ */ new Set()
|
|
5053
5051
|
});
|
|
5054
|
-
|
|
5055
|
-
const
|
|
5052
|
+
se(oa, s);
|
|
5053
|
+
const o = D(Number(me(t)));
|
|
5056
5054
|
Bt(e, () => {
|
|
5057
5055
|
var f;
|
|
5058
5056
|
const c = (f = Ue.at(-1)) == null ? void 0 : f[1];
|
|
5059
|
-
|
|
5057
|
+
o.value = c ? c + 10 : Number(me(t)), i && Ue.push([a.uid, o.value]), r == null || r.activeChildren.add(a.uid), oe(() => {
|
|
5060
5058
|
if (i) {
|
|
5061
5059
|
const v = H(Ue).findIndex((h) => h[0] === a.uid);
|
|
5062
5060
|
Ue.splice(v, 1);
|
|
@@ -5070,16 +5068,16 @@ function es(e, t, n) {
|
|
|
5070
5068
|
const c = ((f = Ue.at(-1)) == null ? void 0 : f[0]) === a.uid;
|
|
5071
5069
|
setTimeout(() => l.value = c);
|
|
5072
5070
|
});
|
|
5073
|
-
const u = x(() => !
|
|
5071
|
+
const u = x(() => !s.activeChildren.size);
|
|
5074
5072
|
return {
|
|
5075
|
-
globalTop:
|
|
5073
|
+
globalTop: fn(l),
|
|
5076
5074
|
localTop: u,
|
|
5077
5075
|
stackStyles: x(() => ({
|
|
5078
|
-
zIndex:
|
|
5076
|
+
zIndex: o.value
|
|
5079
5077
|
}))
|
|
5080
5078
|
};
|
|
5081
5079
|
}
|
|
5082
|
-
function
|
|
5080
|
+
function eo(e) {
|
|
5083
5081
|
return {
|
|
5084
5082
|
teleportTarget: w(() => {
|
|
5085
5083
|
const n = e();
|
|
@@ -5094,40 +5092,40 @@ function ts(e) {
|
|
|
5094
5092
|
})
|
|
5095
5093
|
};
|
|
5096
5094
|
}
|
|
5097
|
-
function
|
|
5095
|
+
function to() {
|
|
5098
5096
|
return !0;
|
|
5099
5097
|
}
|
|
5100
|
-
function
|
|
5101
|
-
if (!e ||
|
|
5102
|
-
const a =
|
|
5098
|
+
function fi(e, t, n) {
|
|
5099
|
+
if (!e || vi(e, n) === !1) return !1;
|
|
5100
|
+
const a = Pa(t);
|
|
5103
5101
|
if (typeof ShadowRoot < "u" && a instanceof ShadowRoot && a.host === e.target) return !1;
|
|
5104
5102
|
const i = (typeof n.value == "object" && n.value.include || (() => []))();
|
|
5105
5103
|
return i.push(t), !i.some((r) => r == null ? void 0 : r.contains(e.target));
|
|
5106
5104
|
}
|
|
5107
|
-
function
|
|
5108
|
-
return (typeof t.value == "object" && t.value.closeConditional ||
|
|
5105
|
+
function vi(e, t) {
|
|
5106
|
+
return (typeof t.value == "object" && t.value.closeConditional || to)(e);
|
|
5109
5107
|
}
|
|
5110
|
-
function
|
|
5108
|
+
function no(e, t, n) {
|
|
5111
5109
|
const a = typeof n.value == "function" ? n.value : n.value.handler;
|
|
5112
|
-
e.shadowTarget = e.target, t._clickOutside.lastMousedownWasOutside &&
|
|
5113
|
-
|
|
5110
|
+
e.shadowTarget = e.target, t._clickOutside.lastMousedownWasOutside && fi(e, t, n) && setTimeout(() => {
|
|
5111
|
+
vi(e, n) && a && a(e);
|
|
5114
5112
|
}, 0);
|
|
5115
5113
|
}
|
|
5116
|
-
function
|
|
5117
|
-
const n =
|
|
5114
|
+
function la(e, t) {
|
|
5115
|
+
const n = Pa(e);
|
|
5118
5116
|
t(document), typeof ShadowRoot < "u" && n instanceof ShadowRoot && t(n);
|
|
5119
5117
|
}
|
|
5120
|
-
const
|
|
5118
|
+
const ao = {
|
|
5121
5119
|
// [data-app] may not be found
|
|
5122
5120
|
// if using bind, inserted makes
|
|
5123
5121
|
// sure that the root element is
|
|
5124
5122
|
// available, iOS does not support
|
|
5125
5123
|
// clicks on body
|
|
5126
5124
|
mounted(e, t) {
|
|
5127
|
-
const n = (i) =>
|
|
5128
|
-
e._clickOutside.lastMousedownWasOutside =
|
|
5125
|
+
const n = (i) => no(i, e, t), a = (i) => {
|
|
5126
|
+
e._clickOutside.lastMousedownWasOutside = fi(i, e, t);
|
|
5129
5127
|
};
|
|
5130
|
-
|
|
5128
|
+
la(e, (i) => {
|
|
5131
5129
|
i.addEventListener("click", n, !0), i.addEventListener("mousedown", a, !0);
|
|
5132
5130
|
}), e._clickOutside || (e._clickOutside = {
|
|
5133
5131
|
lastMousedownWasOutside: !1
|
|
@@ -5137,7 +5135,7 @@ const is = {
|
|
|
5137
5135
|
};
|
|
5138
5136
|
},
|
|
5139
5137
|
beforeUnmount(e, t) {
|
|
5140
|
-
e._clickOutside && (
|
|
5138
|
+
e._clickOutside && (la(e, (n) => {
|
|
5141
5139
|
var r;
|
|
5142
5140
|
if (!n || !((r = e._clickOutside) != null && r[t.instance.$.uid])) return;
|
|
5143
5141
|
const {
|
|
@@ -5148,7 +5146,7 @@ const is = {
|
|
|
5148
5146
|
}), delete e._clickOutside[t.instance.$.uid]);
|
|
5149
5147
|
}
|
|
5150
5148
|
};
|
|
5151
|
-
function
|
|
5149
|
+
function io(e) {
|
|
5152
5150
|
const {
|
|
5153
5151
|
modelValue: t,
|
|
5154
5152
|
color: n,
|
|
@@ -5158,13 +5156,13 @@ function rs(e) {
|
|
|
5158
5156
|
name: "fade-transition",
|
|
5159
5157
|
appear: !0
|
|
5160
5158
|
}, {
|
|
5161
|
-
default: () => [e.modelValue && b("div",
|
|
5159
|
+
default: () => [e.modelValue && b("div", j({
|
|
5162
5160
|
class: ["v-overlay__scrim", e.color.backgroundColorClasses.value],
|
|
5163
5161
|
style: e.color.backgroundColorStyles.value
|
|
5164
5162
|
}, a), null)]
|
|
5165
5163
|
});
|
|
5166
5164
|
}
|
|
5167
|
-
const
|
|
5165
|
+
const mi = A({
|
|
5168
5166
|
absolute: Boolean,
|
|
5169
5167
|
attach: [Boolean, String, Object],
|
|
5170
5168
|
closeOnBack: {
|
|
@@ -5187,23 +5185,23 @@ const vi = A({
|
|
|
5187
5185
|
type: [Number, String],
|
|
5188
5186
|
default: 2e3
|
|
5189
5187
|
},
|
|
5190
|
-
...
|
|
5188
|
+
...Gs(),
|
|
5191
5189
|
...X(),
|
|
5192
5190
|
...dt(),
|
|
5193
|
-
...
|
|
5194
|
-
...
|
|
5195
|
-
...
|
|
5191
|
+
...Js(),
|
|
5192
|
+
...Ts(),
|
|
5193
|
+
...Fs(),
|
|
5196
5194
|
...ue(),
|
|
5197
|
-
...
|
|
5198
|
-
}, "VOverlay"),
|
|
5195
|
+
...ni()
|
|
5196
|
+
}, "VOverlay"), ua = z()({
|
|
5199
5197
|
name: "VOverlay",
|
|
5200
5198
|
directives: {
|
|
5201
|
-
ClickOutside:
|
|
5199
|
+
ClickOutside: ao
|
|
5202
5200
|
},
|
|
5203
5201
|
inheritAttrs: !1,
|
|
5204
5202
|
props: {
|
|
5205
5203
|
_disableGlobalStack: Boolean,
|
|
5206
|
-
...
|
|
5204
|
+
...mi()
|
|
5207
5205
|
},
|
|
5208
5206
|
emits: {
|
|
5209
5207
|
"click:outside": (e) => !0,
|
|
@@ -5218,7 +5216,7 @@ const vi = A({
|
|
|
5218
5216
|
attrs: a,
|
|
5219
5217
|
emit: i
|
|
5220
5218
|
} = t;
|
|
5221
|
-
const r = U("VOverlay"),
|
|
5219
|
+
const r = U("VOverlay"), s = M(), o = M(), l = M(), u = Ae(e, "modelValue"), c = w({
|
|
5222
5220
|
get: () => u.value,
|
|
5223
5221
|
set: (R) => {
|
|
5224
5222
|
R && e.disabled || (u.value = R);
|
|
@@ -5231,26 +5229,26 @@ const vi = A({
|
|
|
5231
5229
|
} = Rt(), {
|
|
5232
5230
|
hasContent: d,
|
|
5233
5231
|
onAfterLeave: m
|
|
5234
|
-
} =
|
|
5232
|
+
} = Zs(e, c), g = ze(() => typeof e.scrim == "string" ? e.scrim : null), {
|
|
5235
5233
|
globalTop: y,
|
|
5236
5234
|
localTop: S,
|
|
5237
5235
|
stackStyles: k
|
|
5238
|
-
} =
|
|
5236
|
+
} = Qs(c, () => e.zIndex, e._disableGlobalStack), {
|
|
5239
5237
|
activatorEl: _,
|
|
5240
5238
|
activatorRef: E,
|
|
5241
5239
|
target: B,
|
|
5242
5240
|
targetEl: T,
|
|
5243
5241
|
targetRef: p,
|
|
5244
|
-
activatorEvents:
|
|
5242
|
+
activatorEvents: $,
|
|
5245
5243
|
contentEvents: q,
|
|
5246
5244
|
scrimEvents: F
|
|
5247
|
-
} =
|
|
5245
|
+
} = qs(e, {
|
|
5248
5246
|
isActive: c,
|
|
5249
5247
|
isTop: S,
|
|
5250
5248
|
contentEl: l
|
|
5251
5249
|
}), {
|
|
5252
5250
|
teleportTarget: P
|
|
5253
|
-
} =
|
|
5251
|
+
} = eo(() => {
|
|
5254
5252
|
var be, de, qe;
|
|
5255
5253
|
const R = e.attach || e.contained;
|
|
5256
5254
|
if (R) return R;
|
|
@@ -5258,36 +5256,36 @@ const vi = A({
|
|
|
5258
5256
|
return Z instanceof ShadowRoot ? Z : !1;
|
|
5259
5257
|
}), {
|
|
5260
5258
|
dimensionStyles: C
|
|
5261
|
-
} = ft(e), O =
|
|
5259
|
+
} = ft(e), O = Ys(), {
|
|
5262
5260
|
scopeId: I
|
|
5263
|
-
} =
|
|
5264
|
-
|
|
5261
|
+
} = di();
|
|
5262
|
+
W(() => e.disabled, (R) => {
|
|
5265
5263
|
R && (c.value = !1);
|
|
5266
5264
|
});
|
|
5267
5265
|
const {
|
|
5268
5266
|
contentStyles: L,
|
|
5269
5267
|
updateLocation: Q
|
|
5270
|
-
} =
|
|
5268
|
+
} = Vs(e, {
|
|
5271
5269
|
isRtl: h,
|
|
5272
5270
|
contentEl: l,
|
|
5273
5271
|
target: B,
|
|
5274
5272
|
isActive: c
|
|
5275
5273
|
});
|
|
5276
|
-
|
|
5277
|
-
root:
|
|
5274
|
+
Ms(e, {
|
|
5275
|
+
root: s,
|
|
5278
5276
|
contentEl: l,
|
|
5279
5277
|
targetEl: T,
|
|
5280
5278
|
isActive: c,
|
|
5281
5279
|
updateLocation: Q
|
|
5282
5280
|
});
|
|
5283
5281
|
function ae(R) {
|
|
5284
|
-
i("click:outside", R), e.persistent ?
|
|
5282
|
+
i("click:outside", R), e.persistent ? N() : c.value = !1;
|
|
5285
5283
|
}
|
|
5286
5284
|
function xe(R) {
|
|
5287
5285
|
return c.value && y.value && // If using scrim, only close if clicking on it rather than anything opened on top
|
|
5288
|
-
(!e.scrim || R.target ===
|
|
5286
|
+
(!e.scrim || R.target === o.value || R instanceof MouseEvent && R.shadowTarget === o.value);
|
|
5289
5287
|
}
|
|
5290
|
-
Y &&
|
|
5288
|
+
Y && W(c, (R) => {
|
|
5291
5289
|
R ? window.addEventListener("keydown", G) : window.removeEventListener("keydown", G);
|
|
5292
5290
|
}, {
|
|
5293
5291
|
immediate: !0
|
|
@@ -5296,7 +5294,7 @@ const vi = A({
|
|
|
5296
5294
|
});
|
|
5297
5295
|
function G(R) {
|
|
5298
5296
|
var Z, be, de;
|
|
5299
|
-
R.key === "Escape" && y.value && ((Z = l.value) != null && Z.contains(document.activeElement) || i("keydown", R), e.persistent ?
|
|
5297
|
+
R.key === "Escape" && y.value && ((Z = l.value) != null && Z.contains(document.activeElement) || i("keydown", R), e.persistent ? N() : (c.value = !1, (be = l.value) != null && be.contains(document.activeElement) && ((de = _.value) == null || de.focus())));
|
|
5300
5298
|
}
|
|
5301
5299
|
function ie(R) {
|
|
5302
5300
|
R.key === "Escape" && !y.value || i("keydown", R);
|
|
@@ -5304,17 +5302,17 @@ const vi = A({
|
|
|
5304
5302
|
const Ve = Mr();
|
|
5305
5303
|
Bt(() => e.closeOnBack, () => {
|
|
5306
5304
|
Dr(Ve, (R) => {
|
|
5307
|
-
y.value && c.value ? (R(!1), e.persistent ?
|
|
5305
|
+
y.value && c.value ? (R(!1), e.persistent ? N() : c.value = !1) : R();
|
|
5308
5306
|
});
|
|
5309
5307
|
});
|
|
5310
5308
|
const ce = M();
|
|
5311
|
-
|
|
5309
|
+
W(() => c.value && (e.absolute || e.contained) && P.value == null, (R) => {
|
|
5312
5310
|
if (R) {
|
|
5313
|
-
const Z = ur(
|
|
5311
|
+
const Z = ur(s.value);
|
|
5314
5312
|
Z && Z !== document.scrollingElement && (ce.value = Z.scrollTop);
|
|
5315
5313
|
}
|
|
5316
5314
|
});
|
|
5317
|
-
function
|
|
5315
|
+
function N() {
|
|
5318
5316
|
e.noClickAnimation || l.value && Xe(l.value, [{
|
|
5319
5317
|
transformOrigin: "center"
|
|
5320
5318
|
}, {
|
|
@@ -5323,7 +5321,7 @@ const vi = A({
|
|
|
5323
5321
|
transformOrigin: "center"
|
|
5324
5322
|
}], {
|
|
5325
5323
|
duration: 150,
|
|
5326
|
-
easing:
|
|
5324
|
+
easing: Qt
|
|
5327
5325
|
});
|
|
5328
5326
|
}
|
|
5329
5327
|
function he() {
|
|
@@ -5337,14 +5335,14 @@ const vi = A({
|
|
|
5337
5335
|
return b(pe, null, [(R = n.activator) == null ? void 0 : R.call(n, {
|
|
5338
5336
|
isActive: c.value,
|
|
5339
5337
|
targetRef: p,
|
|
5340
|
-
props:
|
|
5338
|
+
props: j({
|
|
5341
5339
|
ref: E
|
|
5342
|
-
},
|
|
5343
|
-
}), O.value && d.value && b(
|
|
5340
|
+
}, $.value, e.activatorProps)
|
|
5341
|
+
}), O.value && d.value && b(Ci, {
|
|
5344
5342
|
disabled: !P.value,
|
|
5345
5343
|
to: P.value
|
|
5346
5344
|
}, {
|
|
5347
|
-
default: () => [b("div",
|
|
5345
|
+
default: () => [b("div", j({
|
|
5348
5346
|
class: ["v-overlay", {
|
|
5349
5347
|
"v-overlay--absolute": e.absolute || e.contained,
|
|
5350
5348
|
"v-overlay--active": c.value,
|
|
@@ -5354,12 +5352,12 @@ const vi = A({
|
|
|
5354
5352
|
"--v-overlay-opacity": e.opacity,
|
|
5355
5353
|
top: V(ce.value)
|
|
5356
5354
|
}, e.style],
|
|
5357
|
-
ref:
|
|
5355
|
+
ref: s,
|
|
5358
5356
|
onKeydown: ie
|
|
5359
|
-
}, I, a), [b(
|
|
5357
|
+
}, I, a), [b(io, j({
|
|
5360
5358
|
color: g,
|
|
5361
5359
|
modelValue: c.value && !!e.scrim,
|
|
5362
|
-
ref:
|
|
5360
|
+
ref: o
|
|
5363
5361
|
}, F.value), null), b(Me, {
|
|
5364
5362
|
appear: !0,
|
|
5365
5363
|
persisted: !0,
|
|
@@ -5370,13 +5368,13 @@ const vi = A({
|
|
|
5370
5368
|
}, {
|
|
5371
5369
|
default: () => {
|
|
5372
5370
|
var Z;
|
|
5373
|
-
return [He(b("div",
|
|
5371
|
+
return [He(b("div", j({
|
|
5374
5372
|
ref: l,
|
|
5375
5373
|
class: ["v-overlay__content", e.contentClass],
|
|
5376
5374
|
style: [C.value, L.value]
|
|
5377
5375
|
}, q.value, e.contentProps), [(Z = n.default) == null ? void 0 : Z.call(n, {
|
|
5378
5376
|
isActive: c
|
|
5379
|
-
})]), [[
|
|
5377
|
+
})]), [[gn, c.value], [yn("click-outside"), {
|
|
5380
5378
|
handler: ae,
|
|
5381
5379
|
closeConditional: xe,
|
|
5382
5380
|
include: () => [_.value]
|
|
@@ -5386,9 +5384,9 @@ const vi = A({
|
|
|
5386
5384
|
})]);
|
|
5387
5385
|
}), {
|
|
5388
5386
|
activatorEl: _,
|
|
5389
|
-
scrimEl:
|
|
5387
|
+
scrimEl: o,
|
|
5390
5388
|
target: B,
|
|
5391
|
-
animateClick:
|
|
5389
|
+
animateClick: N,
|
|
5392
5390
|
contentEl: l,
|
|
5393
5391
|
globalTop: y,
|
|
5394
5392
|
localTop: S,
|
|
@@ -5404,7 +5402,7 @@ function Ht(e, t) {
|
|
|
5404
5402
|
n = Object.getPrototypeOf(n);
|
|
5405
5403
|
}
|
|
5406
5404
|
}
|
|
5407
|
-
function
|
|
5405
|
+
function ro(e) {
|
|
5408
5406
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), a = 1; a < t; a++)
|
|
5409
5407
|
n[a - 1] = arguments[a];
|
|
5410
5408
|
return e[Wt] = n, new Proxy(e, {
|
|
@@ -5412,10 +5410,10 @@ function os(e) {
|
|
|
5412
5410
|
if (Reflect.has(i, r))
|
|
5413
5411
|
return Reflect.get(i, r);
|
|
5414
5412
|
if (!(typeof r == "symbol" || r.startsWith("$") || r.startsWith("__"))) {
|
|
5415
|
-
for (const
|
|
5416
|
-
if (
|
|
5417
|
-
const
|
|
5418
|
-
return typeof
|
|
5413
|
+
for (const s of n)
|
|
5414
|
+
if (s.value && Reflect.has(s.value, r)) {
|
|
5415
|
+
const o = Reflect.get(s.value, r);
|
|
5416
|
+
return typeof o == "function" ? o.bind(s.value) : o;
|
|
5419
5417
|
}
|
|
5420
5418
|
}
|
|
5421
5419
|
},
|
|
@@ -5423,28 +5421,28 @@ function os(e) {
|
|
|
5423
5421
|
if (Reflect.has(i, r))
|
|
5424
5422
|
return !0;
|
|
5425
5423
|
if (typeof r == "symbol" || r.startsWith("$") || r.startsWith("__")) return !1;
|
|
5426
|
-
for (const
|
|
5427
|
-
if (
|
|
5424
|
+
for (const s of n)
|
|
5425
|
+
if (s.value && Reflect.has(s.value, r))
|
|
5428
5426
|
return !0;
|
|
5429
5427
|
return !1;
|
|
5430
5428
|
},
|
|
5431
|
-
set(i, r,
|
|
5429
|
+
set(i, r, s) {
|
|
5432
5430
|
if (Reflect.has(i, r))
|
|
5433
|
-
return Reflect.set(i, r,
|
|
5431
|
+
return Reflect.set(i, r, s);
|
|
5434
5432
|
if (typeof r == "symbol" || r.startsWith("$") || r.startsWith("__")) return !1;
|
|
5435
|
-
for (const
|
|
5436
|
-
if (
|
|
5437
|
-
return Reflect.set(
|
|
5433
|
+
for (const o of n)
|
|
5434
|
+
if (o.value && Reflect.has(o.value, r))
|
|
5435
|
+
return Reflect.set(o.value, r, s);
|
|
5438
5436
|
return !1;
|
|
5439
5437
|
},
|
|
5440
5438
|
getOwnPropertyDescriptor(i, r) {
|
|
5441
|
-
var
|
|
5442
|
-
const
|
|
5443
|
-
if (
|
|
5439
|
+
var o;
|
|
5440
|
+
const s = Reflect.getOwnPropertyDescriptor(i, r);
|
|
5441
|
+
if (s) return s;
|
|
5444
5442
|
if (!(typeof r == "symbol" || r.startsWith("$") || r.startsWith("__"))) {
|
|
5445
5443
|
for (const l of n) {
|
|
5446
5444
|
if (!l.value) continue;
|
|
5447
|
-
const u = Ht(l.value, r) ?? ("_" in l.value ? Ht((
|
|
5445
|
+
const u = Ht(l.value, r) ?? ("_" in l.value ? Ht((o = l.value._) == null ? void 0 : o.setupState, r) : void 0);
|
|
5448
5446
|
if (u) return u;
|
|
5449
5447
|
}
|
|
5450
5448
|
for (const l of n) {
|
|
@@ -5462,12 +5460,12 @@ function os(e) {
|
|
|
5462
5460
|
}
|
|
5463
5461
|
});
|
|
5464
5462
|
}
|
|
5465
|
-
const
|
|
5463
|
+
const so = A({
|
|
5466
5464
|
// TODO
|
|
5467
5465
|
// disableKeys: Boolean,
|
|
5468
5466
|
id: String,
|
|
5469
5467
|
submenu: Boolean,
|
|
5470
|
-
...Et(
|
|
5468
|
+
...Et(mi({
|
|
5471
5469
|
closeDelay: 250,
|
|
5472
5470
|
closeOnContentClick: !0,
|
|
5473
5471
|
locationStrategy: "connected",
|
|
@@ -5479,9 +5477,9 @@ const ss = A({
|
|
|
5479
5477
|
component: Yr
|
|
5480
5478
|
}
|
|
5481
5479
|
}), ["absolute"])
|
|
5482
|
-
}, "VMenu"),
|
|
5480
|
+
}, "VMenu"), oo = z()({
|
|
5483
5481
|
name: "VMenu",
|
|
5484
|
-
props:
|
|
5482
|
+
props: so(),
|
|
5485
5483
|
emits: {
|
|
5486
5484
|
"update:modelValue": (e) => !0
|
|
5487
5485
|
},
|
|
@@ -5491,15 +5489,15 @@ const ss = A({
|
|
|
5491
5489
|
} = t;
|
|
5492
5490
|
const a = Ae(e, "modelValue"), {
|
|
5493
5491
|
scopeId: i
|
|
5494
|
-
} =
|
|
5492
|
+
} = di(), {
|
|
5495
5493
|
isRtl: r
|
|
5496
|
-
} = Rt(),
|
|
5497
|
-
|
|
5494
|
+
} = Rt(), s = fa(), o = x(() => e.id || `v-menu-${s}`), l = M(), u = J(un, null), c = D(/* @__PURE__ */ new Set());
|
|
5495
|
+
se(un, {
|
|
5498
5496
|
register() {
|
|
5499
|
-
c.value.add(
|
|
5497
|
+
c.value.add(s);
|
|
5500
5498
|
},
|
|
5501
5499
|
unregister() {
|
|
5502
|
-
c.value.delete(
|
|
5500
|
+
c.value.delete(s);
|
|
5503
5501
|
},
|
|
5504
5502
|
closeParents(g) {
|
|
5505
5503
|
setTimeout(() => {
|
|
@@ -5509,16 +5507,16 @@ const ss = A({
|
|
|
5509
5507
|
}
|
|
5510
5508
|
}), ge(() => {
|
|
5511
5509
|
u == null || u.unregister(), document.removeEventListener("focusin", f);
|
|
5512
|
-
}),
|
|
5510
|
+
}), xi(() => a.value = !1);
|
|
5513
5511
|
async function f(g) {
|
|
5514
5512
|
var k, _, E;
|
|
5515
5513
|
const y = g.relatedTarget, S = g.target;
|
|
5516
5514
|
await Ie(), a.value && y !== S && ((k = l.value) != null && k.contentEl) && // We're the topmost menu
|
|
5517
5515
|
((_ = l.value) != null && _.globalTop) && // It isn't the document or the menu body
|
|
5518
5516
|
![document, l.value.contentEl].includes(S) && // It isn't inside the menu body
|
|
5519
|
-
!l.value.contentEl.contains(S) && ((E =
|
|
5517
|
+
!l.value.contentEl.contains(S) && ((E = Xt(l.value.contentEl)[0]) == null || E.focus());
|
|
5520
5518
|
}
|
|
5521
|
-
|
|
5519
|
+
W(a, (g) => {
|
|
5522
5520
|
g ? (u == null || u.register(), Y && document.addEventListener("focusin", f, {
|
|
5523
5521
|
once: !0
|
|
5524
5522
|
})) : (u == null || u.unregister(), Y && document.removeEventListener("focusin", f));
|
|
@@ -5533,7 +5531,7 @@ const ss = A({
|
|
|
5533
5531
|
if (!e.disabled)
|
|
5534
5532
|
if (g.key === "Tab" || g.key === "Enter" && !e.closeOnContentClick) {
|
|
5535
5533
|
if (g.key === "Enter" && (g.target instanceof HTMLTextAreaElement || g.target instanceof HTMLInputElement && g.target.closest("form"))) return;
|
|
5536
|
-
g.key === "Enter" && g.preventDefault(),
|
|
5534
|
+
g.key === "Enter" && g.preventDefault(), Sa(Xt((y = l.value) == null ? void 0 : y.contentEl, !1), g.shiftKey ? "prev" : "next", (T) => T.tabIndex >= 0) || (a.value = !1, (k = (S = l.value) == null ? void 0 : S.activatorEl) == null || k.focus());
|
|
5537
5535
|
} else e.submenu && g.key === (r.value ? "ArrowRight" : "ArrowLeft") && (a.value = !1, (E = (_ = l.value) == null ? void 0 : _.activatorEl) == null || E.focus());
|
|
5538
5536
|
}
|
|
5539
5537
|
function d(g) {
|
|
@@ -5542,17 +5540,17 @@ const ss = A({
|
|
|
5542
5540
|
const y = (S = l.value) == null ? void 0 : S.contentEl;
|
|
5543
5541
|
y && a.value ? g.key === "ArrowDown" ? (g.preventDefault(), g.stopImmediatePropagation(), Ze(y, "next")) : g.key === "ArrowUp" ? (g.preventDefault(), g.stopImmediatePropagation(), Ze(y, "prev")) : e.submenu && (g.key === (r.value ? "ArrowRight" : "ArrowLeft") ? a.value = !1 : g.key === (r.value ? "ArrowLeft" : "ArrowRight") && (g.preventDefault(), Ze(y, "first"))) : (e.submenu ? g.key === (r.value ? "ArrowLeft" : "ArrowRight") : ["ArrowDown", "ArrowUp"].includes(g.key)) && (a.value = !0, g.preventDefault(), setTimeout(() => setTimeout(() => d(g))));
|
|
5544
5542
|
}
|
|
5545
|
-
const m = w(() =>
|
|
5543
|
+
const m = w(() => j({
|
|
5546
5544
|
"aria-haspopup": "menu",
|
|
5547
5545
|
"aria-expanded": String(a.value),
|
|
5548
|
-
"aria-controls":
|
|
5546
|
+
"aria-controls": o.value,
|
|
5549
5547
|
onKeydown: d
|
|
5550
5548
|
}, e.activatorProps));
|
|
5551
5549
|
return K(() => {
|
|
5552
|
-
const g =
|
|
5553
|
-
return b(
|
|
5550
|
+
const g = ua.filterProps(e);
|
|
5551
|
+
return b(ua, j({
|
|
5554
5552
|
ref: l,
|
|
5555
|
-
id:
|
|
5553
|
+
id: o.value,
|
|
5556
5554
|
class: ["v-menu", e.class],
|
|
5557
5555
|
style: e.style
|
|
5558
5556
|
}, g, {
|
|
@@ -5578,29 +5576,29 @@ const ss = A({
|
|
|
5578
5576
|
});
|
|
5579
5577
|
}
|
|
5580
5578
|
});
|
|
5581
|
-
}),
|
|
5582
|
-
id:
|
|
5579
|
+
}), ro({
|
|
5580
|
+
id: o,
|
|
5583
5581
|
ΨopenChildren: c
|
|
5584
5582
|
}, l);
|
|
5585
5583
|
}
|
|
5586
|
-
}),
|
|
5584
|
+
}), lo = /* @__PURE__ */ Pt({
|
|
5587
5585
|
__name: "ActionButtons",
|
|
5588
5586
|
props: {
|
|
5589
5587
|
buttons: { default: () => [] }
|
|
5590
5588
|
},
|
|
5591
5589
|
setup(e) {
|
|
5592
5590
|
const t = e, n = w(() => t.buttons ?? [{ title: "No Items" }]);
|
|
5593
|
-
return (a, i) => (_e(), bt(
|
|
5591
|
+
return (a, i) => (_e(), bt(oo, { class: "action-buttons" }, {
|
|
5594
5592
|
activator: gt(({ props: r }) => [
|
|
5595
|
-
b(
|
|
5593
|
+
b(Ga, j({
|
|
5596
5594
|
icon: "mdi-dots-vertical",
|
|
5597
5595
|
variant: "text"
|
|
5598
5596
|
}, r, { size: "small" }), null, 16)
|
|
5599
5597
|
]),
|
|
5600
5598
|
default: gt(() => [
|
|
5601
|
-
b(
|
|
5599
|
+
b(Is, null, {
|
|
5602
5600
|
default: gt(() => [
|
|
5603
|
-
(_e(!0), qt(pe, null,
|
|
5601
|
+
(_e(!0), qt(pe, null, ki(n.value, (r, s) => (_e(), bt(rn, j({ ref_for: !0 }, r, { key: s }), null, 16))), 128))
|
|
5604
5602
|
]),
|
|
5605
5603
|
_: 1
|
|
5606
5604
|
})
|
|
@@ -5608,150 +5606,150 @@ const ss = A({
|
|
|
5608
5606
|
_: 1
|
|
5609
5607
|
}));
|
|
5610
5608
|
}
|
|
5611
|
-
}),
|
|
5609
|
+
}), uo = /* @__PURE__ */ Pt({
|
|
5612
5610
|
__name: "Button",
|
|
5613
5611
|
props: {
|
|
5614
5612
|
options: { default: () => ({ to: "#" }) }
|
|
5615
5613
|
},
|
|
5616
5614
|
setup(e) {
|
|
5617
|
-
return (t, n) => (_e(), bt(
|
|
5615
|
+
return (t, n) => (_e(), bt(Ga, Ut(_i(t.options)), null, 16));
|
|
5618
5616
|
}
|
|
5619
|
-
}),
|
|
5617
|
+
}), co = /* @__PURE__ */ Pt({
|
|
5620
5618
|
__name: "Link",
|
|
5621
5619
|
props: {
|
|
5622
5620
|
options: { default: () => ({ to: "#" }) }
|
|
5623
5621
|
},
|
|
5624
5622
|
setup(e) {
|
|
5625
5623
|
return (t, n) => {
|
|
5626
|
-
const a =
|
|
5624
|
+
const a = Pi("RouterLink");
|
|
5627
5625
|
return _e(), qt("div", null, [
|
|
5628
|
-
t.options.to ? (_e(), bt(a, Ut(
|
|
5626
|
+
t.options.to ? (_e(), bt(a, Ut(j({ key: 0 }, t.options)), {
|
|
5629
5627
|
default: gt(() => [
|
|
5630
|
-
|
|
5628
|
+
Ai(Qe(t.options.text), 1)
|
|
5631
5629
|
]),
|
|
5632
5630
|
_: 1
|
|
5633
|
-
}, 16)) : (_e(), qt("a", Ut(
|
|
5631
|
+
}, 16)) : (_e(), qt("a", Ut(j({ key: 1 }, t.options)), Qe(t.options.text), 17))
|
|
5634
5632
|
]);
|
|
5635
5633
|
};
|
|
5636
5634
|
}
|
|
5637
5635
|
});
|
|
5638
|
-
function
|
|
5639
|
-
return { ActionButtons:
|
|
5636
|
+
function Oo() {
|
|
5637
|
+
return { ActionButtons: lo, Button: uo, Link: co };
|
|
5640
5638
|
}
|
|
5641
|
-
const
|
|
5639
|
+
const Io = {
|
|
5642
5640
|
install(e) {
|
|
5643
5641
|
e.component(
|
|
5644
5642
|
"DataTable",
|
|
5645
|
-
|
|
5643
|
+
Ei(() => import("./index-hAQ3j5jz.js"))
|
|
5646
5644
|
);
|
|
5647
5645
|
}
|
|
5648
5646
|
};
|
|
5649
5647
|
export {
|
|
5650
5648
|
U as $,
|
|
5651
|
-
|
|
5649
|
+
Ra as A,
|
|
5652
5650
|
Be as B,
|
|
5653
|
-
|
|
5654
|
-
|
|
5651
|
+
Nr as C,
|
|
5652
|
+
Ta as D,
|
|
5655
5653
|
Vr as E,
|
|
5656
5654
|
Ot as F,
|
|
5657
5655
|
dt as G,
|
|
5658
|
-
|
|
5656
|
+
st as H,
|
|
5659
5657
|
te as I,
|
|
5660
5658
|
Je as J,
|
|
5661
5659
|
it as K,
|
|
5662
|
-
|
|
5660
|
+
Co as L,
|
|
5663
5661
|
Ae as M,
|
|
5664
|
-
|
|
5665
|
-
|
|
5662
|
+
go as N,
|
|
5663
|
+
Sn as O,
|
|
5666
5664
|
Ge as P,
|
|
5667
5665
|
ze as Q,
|
|
5668
|
-
|
|
5666
|
+
Ha as R,
|
|
5669
5667
|
Ri as S,
|
|
5670
5668
|
Et as T,
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5669
|
+
po as U,
|
|
5670
|
+
aa as V,
|
|
5671
|
+
ho as W,
|
|
5674
5672
|
Me as X,
|
|
5675
|
-
|
|
5676
|
-
|
|
5673
|
+
ni as Y,
|
|
5674
|
+
ko as Z,
|
|
5677
5675
|
Ce as _,
|
|
5678
5676
|
A as a,
|
|
5679
5677
|
Bt as a0,
|
|
5680
5678
|
Rt as a1,
|
|
5681
|
-
|
|
5682
|
-
|
|
5679
|
+
bn as a2,
|
|
5680
|
+
di as a3,
|
|
5683
5681
|
Y as a4,
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5682
|
+
ua as a5,
|
|
5683
|
+
ro as a6,
|
|
5684
|
+
mi as a7,
|
|
5687
5685
|
Yr as a8,
|
|
5688
|
-
|
|
5686
|
+
Xt as a9,
|
|
5689
5687
|
ur as aA,
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5688
|
+
Po as aB,
|
|
5689
|
+
oo as aC,
|
|
5690
|
+
Ni as aD,
|
|
5691
|
+
So as aE,
|
|
5692
|
+
Ps as aF,
|
|
5693
|
+
Ii as aG,
|
|
5694
|
+
bo as aH,
|
|
5695
|
+
vo as aI,
|
|
5696
|
+
mo as aJ,
|
|
5697
|
+
wo as aK,
|
|
5698
|
+
ka as aL,
|
|
5699
|
+
Ao as aM,
|
|
5700
|
+
Yt as aN,
|
|
5703
5701
|
Ir as aO,
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5702
|
+
Io as aP,
|
|
5703
|
+
Oo as aQ,
|
|
5704
|
+
Ga as aa,
|
|
5705
|
+
ks as ab,
|
|
5706
|
+
Is as ac,
|
|
5707
|
+
rn as ad,
|
|
5710
5708
|
Fe as ae,
|
|
5711
5709
|
St as af,
|
|
5712
5710
|
De as ag,
|
|
5713
5711
|
Bi as ah,
|
|
5714
|
-
|
|
5712
|
+
Xs as ai,
|
|
5715
5713
|
br as aj,
|
|
5716
5714
|
Er as ak,
|
|
5717
|
-
|
|
5715
|
+
xo as al,
|
|
5718
5716
|
gr as am,
|
|
5719
|
-
|
|
5717
|
+
Eo as an,
|
|
5720
5718
|
Lt as ao,
|
|
5721
5719
|
hr as ap,
|
|
5722
|
-
|
|
5720
|
+
_o as aq,
|
|
5723
5721
|
Vt as ar,
|
|
5724
5722
|
yr as as,
|
|
5725
|
-
|
|
5723
|
+
xa as at,
|
|
5726
5724
|
Xe as au,
|
|
5727
|
-
|
|
5725
|
+
Qt as av,
|
|
5728
5726
|
V as aw,
|
|
5729
|
-
|
|
5730
|
-
|
|
5727
|
+
ys as ax,
|
|
5728
|
+
yo as ay,
|
|
5731
5729
|
ve as az,
|
|
5732
5730
|
le as b,
|
|
5733
|
-
|
|
5731
|
+
sr as c,
|
|
5734
5732
|
je as d,
|
|
5735
5733
|
we as e,
|
|
5736
5734
|
lt as f,
|
|
5737
5735
|
z as g,
|
|
5738
5736
|
ye as h,
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5737
|
+
ya as i,
|
|
5738
|
+
ot as j,
|
|
5739
|
+
Pn as k,
|
|
5742
5740
|
ut as l,
|
|
5743
5741
|
X as m,
|
|
5744
5742
|
ft as n,
|
|
5745
5743
|
It as o,
|
|
5746
|
-
|
|
5744
|
+
Cn as p,
|
|
5747
5745
|
Lr as q,
|
|
5748
|
-
|
|
5749
|
-
|
|
5746
|
+
Va as r,
|
|
5747
|
+
$r as s,
|
|
5750
5748
|
Te as t,
|
|
5751
5749
|
K as u,
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5750
|
+
La as v,
|
|
5751
|
+
_n as w,
|
|
5752
|
+
bs as x,
|
|
5755
5753
|
ct as y,
|
|
5756
5754
|
ue as z
|
|
5757
5755
|
};
|