@prefabs.tech/vue3-ui 0.13.0 → 0.15.0
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/PrefabsTechVue3UI.es.js +581 -552
- package/dist/PrefabsTechVue3UI.umd.js +2 -2
- package/dist/src/Page/Index.vue.d.ts +14 -2
- package/dist/src/Page/Index.vue.d.ts.map +1 -1
- package/dist/src/types/index.d.ts +1 -0
- package/dist/src/types/index.d.ts.map +1 -1
- package/dist/src/types/page.d.ts +8 -0
- package/dist/src/types/page.d.ts.map +1 -0
- package/dist/src/utils/formatDuration.d.ts +2 -0
- package/dist/src/utils/formatDuration.d.ts.map +1 -0
- package/dist/src/utils/index.d.ts +1 -0
- package/dist/src/utils/index.d.ts.map +1 -1
- package/dist/vue3-ui.css +1 -1
- package/package.json +2 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as P, ref as _, useSlots as Se, createElementBlock as p, createCommentVNode as k, unref as Z, openBlock as d, normalizeClass as N, Fragment as H, renderList as le, createElementVNode as h, createVNode as re, withDirectives as bt, vShow as Ct, toDisplayString as O, Transition as gn, withCtx as q, createBlock as F, resolveDynamicComponent as _e, computed as W, renderSlot as I, createTextVNode as Q, onMounted as yt, nextTick as Je, getCurrentInstance as qt, watch as Ve, getCurrentScope as Vn, onScopeDispose as zn, hasInjectionContext as mn, inject as jn, toValue as Ce, shallowRef as Vt, watchEffect as Rn, onBeforeUnmount as vn, normalizeStyle as Ne, mergeProps as fe, createSlots as Hn, resolveComponent as bn, h as Qt, withModifiers as Zn } from "vue";
|
|
2
2
|
const Gn = ["aria-orientation"], qn = ["data-expanded"], Wn = ["aria-expanded", "onClick"], Yn = ["src"], Un = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "pane",
|
|
5
5
|
role: "region"
|
|
6
6
|
}, Xn = {
|
|
7
7
|
name: "Accordion"
|
|
8
|
-
},
|
|
8
|
+
}, R0 = /* @__PURE__ */ P({
|
|
9
9
|
...Xn,
|
|
10
10
|
props: {
|
|
11
11
|
canSelfCollapse: {
|
|
@@ -28,12 +28,12 @@ const Gn = ["aria-orientation"], qn = ["data-expanded"], Wn = ["aria-expanded",
|
|
|
28
28
|
const t = e, n = _(t.defaultIndex), o = (l) => {
|
|
29
29
|
!t.canSelfCollapse || n.value !== l ? n.value = l : n.value = -1;
|
|
30
30
|
}, i = Se(), a = i?.default ? i.default().filter((l) => l?.props?.title) : null;
|
|
31
|
-
return (l, r) =>
|
|
31
|
+
return (l, r) => Z(a) ? (d(), p("div", {
|
|
32
32
|
key: 0,
|
|
33
33
|
class: N(["accordion", t.direction]),
|
|
34
34
|
"aria-orientation": t.direction
|
|
35
35
|
}, [
|
|
36
|
-
(d(!0), p(
|
|
36
|
+
(d(!0), p(H, null, le(Z(a), (s, u) => (d(), p("section", {
|
|
37
37
|
key: u,
|
|
38
38
|
"data-expanded": u === n.value
|
|
39
39
|
}, [
|
|
@@ -53,13 +53,13 @@ const Gn = ["aria-orientation"], qn = ["data-expanded"], Wn = ["aria-expanded",
|
|
|
53
53
|
h("span", null, O(s?.props?.title), 1)
|
|
54
54
|
], 8, Wn)
|
|
55
55
|
]),
|
|
56
|
-
|
|
56
|
+
re(gn, {
|
|
57
57
|
appear: "",
|
|
58
58
|
name: "expand"
|
|
59
59
|
}, {
|
|
60
|
-
default:
|
|
60
|
+
default: q(() => [
|
|
61
61
|
u === n.value ? (d(), p("div", Un, [
|
|
62
|
-
(d(),
|
|
62
|
+
(d(), F(_e(s)))
|
|
63
63
|
])) : k("", !0)
|
|
64
64
|
]),
|
|
65
65
|
_: 2
|
|
@@ -78,7 +78,7 @@ const Gn = ["aria-orientation"], qn = ["data-expanded"], Wn = ["aria-expanded",
|
|
|
78
78
|
class: "icon-right"
|
|
79
79
|
}, eo = {
|
|
80
80
|
name: "BadgeComponent"
|
|
81
|
-
}, to = /* @__PURE__ */
|
|
81
|
+
}, to = /* @__PURE__ */ P({
|
|
82
82
|
...eo,
|
|
83
83
|
props: {
|
|
84
84
|
iconLeft: {
|
|
@@ -108,11 +108,11 @@ const Gn = ["aria-orientation"], qn = ["data-expanded"], Wn = ["aria-expanded",
|
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
setup(e) {
|
|
111
|
-
const t = e, n = Se(), o =
|
|
111
|
+
const t = e, n = Se(), o = W(() => ["badge", t.rounded && "rounded", t.severity].filter(Boolean).join(" "));
|
|
112
112
|
return (i, a) => (d(), p("span", {
|
|
113
113
|
class: N(o.value)
|
|
114
114
|
}, [
|
|
115
|
-
e.iconLeft ||
|
|
115
|
+
e.iconLeft || Z(n).iconLeft ? (d(), p("span", Kn, [
|
|
116
116
|
I(i.$slots, "iconLeft", {}, () => [
|
|
117
117
|
h("i", {
|
|
118
118
|
class: N(e.iconLeft)
|
|
@@ -120,7 +120,7 @@ const Gn = ["aria-orientation"], qn = ["data-expanded"], Wn = ["aria-expanded",
|
|
|
120
120
|
])
|
|
121
121
|
])) : k("", !0),
|
|
122
122
|
e.label ? (d(), p("div", Qn, O(e.label), 1)) : k("", !0),
|
|
123
|
-
e.iconRight ||
|
|
123
|
+
e.iconRight || Z(n).iconRight ? (d(), p("span", Jn, [
|
|
124
124
|
I(i.$slots, "iconRight", {}, () => [
|
|
125
125
|
h("i", {
|
|
126
126
|
class: N(e.iconRight)
|
|
@@ -151,7 +151,7 @@ const wt = /* @__PURE__ */ et(no, [["render", io], ["__scopeId", "data-v-4c97cef
|
|
|
151
151
|
class: "icon-right"
|
|
152
152
|
}, so = {
|
|
153
153
|
name: "ButtonElement"
|
|
154
|
-
},
|
|
154
|
+
}, ue = /* @__PURE__ */ P({
|
|
155
155
|
...so,
|
|
156
156
|
props: {
|
|
157
157
|
ariaLabel: {
|
|
@@ -215,7 +215,7 @@ const wt = /* @__PURE__ */ et(no, [["render", io], ["__scopeId", "data-v-4c97cef
|
|
|
215
215
|
},
|
|
216
216
|
emits: ["click"],
|
|
217
217
|
setup(e, { emit: t }) {
|
|
218
|
-
const n = t, o = e, i = Se(), a =
|
|
218
|
+
const n = t, o = e, i = Se(), a = W(() => [
|
|
219
219
|
"button",
|
|
220
220
|
o.severity,
|
|
221
221
|
o.size,
|
|
@@ -224,11 +224,11 @@ const wt = /* @__PURE__ */ et(no, [["render", io], ["__scopeId", "data-v-4c97cef
|
|
|
224
224
|
o.loading && "loading",
|
|
225
225
|
o.rounded && "rounded",
|
|
226
226
|
r.value && "disabled"
|
|
227
|
-
].filter(Boolean).join(" ")), l =
|
|
227
|
+
].filter(Boolean).join(" ")), l = W(() => o.to ? "link" : "button"), r = W(() => o.disabled || o.loading);
|
|
228
228
|
function s() {
|
|
229
229
|
n("click");
|
|
230
230
|
}
|
|
231
|
-
return (u, f) => (d(),
|
|
231
|
+
return (u, f) => (d(), F(_e(e.to ? "a" : "button"), {
|
|
232
232
|
"aria-label": e.ariaLabel,
|
|
233
233
|
class: N(a.value),
|
|
234
234
|
disabled: !e.to && r.value,
|
|
@@ -237,8 +237,8 @@ const wt = /* @__PURE__ */ et(no, [["render", io], ["__scopeId", "data-v-4c97cef
|
|
|
237
237
|
title: e.title,
|
|
238
238
|
onClick: f[0] || (f[0] = (c) => !e.to && s())
|
|
239
239
|
}, {
|
|
240
|
-
default:
|
|
241
|
-
e.iconLeft ||
|
|
240
|
+
default: q(() => [
|
|
241
|
+
e.iconLeft || Z(i).iconLeft ? (d(), p("span", ao, [
|
|
242
242
|
I(u.$slots, "iconLeft", {}, () => [
|
|
243
243
|
h("i", {
|
|
244
244
|
class: N(e.iconLeft)
|
|
@@ -250,14 +250,14 @@ const wt = /* @__PURE__ */ et(no, [["render", io], ["__scopeId", "data-v-4c97cef
|
|
|
250
250
|
h("span", null, O(e.label), 1)
|
|
251
251
|
])
|
|
252
252
|
])) : k("", !0),
|
|
253
|
-
e.iconRight ||
|
|
253
|
+
e.iconRight || Z(i).iconRight ? (d(), p("span", ro, [
|
|
254
254
|
I(u.$slots, "iconRight", {}, () => [
|
|
255
255
|
h("i", {
|
|
256
256
|
class: N(e.iconRight)
|
|
257
257
|
}, null, 2)
|
|
258
258
|
])
|
|
259
259
|
])) : k("", !0),
|
|
260
|
-
e.loading ? (d(),
|
|
260
|
+
e.loading ? (d(), F(wt, {
|
|
261
261
|
key: 3,
|
|
262
262
|
class: "loading-button"
|
|
263
263
|
})) : k("", !0)
|
|
@@ -273,7 +273,7 @@ const wt = /* @__PURE__ */ et(no, [["render", io], ["__scopeId", "data-v-4c97cef
|
|
|
273
273
|
class: "card-footer"
|
|
274
274
|
}, go = {
|
|
275
275
|
name: "Card"
|
|
276
|
-
}, mo = /* @__PURE__ */
|
|
276
|
+
}, mo = /* @__PURE__ */ P({
|
|
277
277
|
...go,
|
|
278
278
|
props: {
|
|
279
279
|
title: {
|
|
@@ -298,7 +298,7 @@ const wt = /* @__PURE__ */ et(no, [["render", io], ["__scopeId", "data-v-4c97cef
|
|
|
298
298
|
}
|
|
299
299
|
}), vo = { class: "label" }, bo = { class: "value" }, Co = {
|
|
300
300
|
name: "DataElement"
|
|
301
|
-
},
|
|
301
|
+
}, H0 = /* @__PURE__ */ P({
|
|
302
302
|
...Co,
|
|
303
303
|
props: {
|
|
304
304
|
caption: {
|
|
@@ -342,7 +342,7 @@ const wt = /* @__PURE__ */ et(no, [["render", io], ["__scopeId", "data-v-4c97cef
|
|
|
342
342
|
}
|
|
343
343
|
}), yo = ["disabled"], wo = { class: "label" }, So = {
|
|
344
344
|
name: "LoadingButton"
|
|
345
|
-
}, ko = /* @__PURE__ */
|
|
345
|
+
}, ko = /* @__PURE__ */ P({
|
|
346
346
|
...So,
|
|
347
347
|
props: {
|
|
348
348
|
disabled: {
|
|
@@ -368,7 +368,7 @@ const wt = /* @__PURE__ */ et(no, [["render", io], ["__scopeId", "data-v-4c97cef
|
|
|
368
368
|
h("div", wo, [
|
|
369
369
|
h("span", null, O(e.label), 1)
|
|
370
370
|
]),
|
|
371
|
-
e.loading ? (d(),
|
|
371
|
+
e.loading ? (d(), F(wt, { key: 0 })) : k("", !0)
|
|
372
372
|
], 10, yo));
|
|
373
373
|
}
|
|
374
374
|
}), $o = /* @__PURE__ */ et(ko, [["__scopeId", "data-v-3fdbc7b3"]]), Eo = {
|
|
@@ -377,16 +377,16 @@ const wt = /* @__PURE__ */ et(no, [["render", io], ["__scopeId", "data-v-4c97cef
|
|
|
377
377
|
function To(e, t, n, o, i, a) {
|
|
378
378
|
return d(), p("div", Do);
|
|
379
379
|
}
|
|
380
|
-
const
|
|
380
|
+
const Z0 = /* @__PURE__ */ et(Eo, [["render", To], ["__scopeId", "data-v-bf8003ec"]]);
|
|
381
381
|
function xo(e) {
|
|
382
382
|
return Vn() ? (zn(e), !0) : !1;
|
|
383
383
|
}
|
|
384
|
-
const
|
|
384
|
+
const Et = /* @__PURE__ */ new WeakMap(), Lo = (...e) => {
|
|
385
385
|
var t;
|
|
386
|
-
const n = e[0], o = (t =
|
|
386
|
+
const n = e[0], o = (t = qt()) == null ? void 0 : t.proxy;
|
|
387
387
|
if (o == null && !mn())
|
|
388
388
|
throw new Error("injectLocal must be called in setup");
|
|
389
|
-
return o &&
|
|
389
|
+
return o && Et.has(o) && n in Et.get(o) ? Et.get(o)[n] : jn(...e);
|
|
390
390
|
}, Cn = typeof window < "u" && typeof document < "u";
|
|
391
391
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
392
392
|
const Oo = Object.prototype.toString, Mo = (e) => Oo.call(e) === "[object Object]", Be = () => {
|
|
@@ -399,15 +399,15 @@ function Jt(e) {
|
|
|
399
399
|
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
400
400
|
}
|
|
401
401
|
function Io(e) {
|
|
402
|
-
return
|
|
402
|
+
return qt();
|
|
403
403
|
}
|
|
404
|
-
function
|
|
404
|
+
function Dt(e) {
|
|
405
405
|
return Array.isArray(e) ? e : [e];
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Ao(e, t = !0, n) {
|
|
408
408
|
Io() ? yt(e, n) : t ? e() : Je(e);
|
|
409
409
|
}
|
|
410
|
-
function
|
|
410
|
+
function Po(e, t, n) {
|
|
411
411
|
return Ve(
|
|
412
412
|
e,
|
|
413
413
|
t,
|
|
@@ -426,16 +426,16 @@ function Ze(e) {
|
|
|
426
426
|
function De(...e) {
|
|
427
427
|
const t = [], n = () => {
|
|
428
428
|
t.forEach((r) => r()), t.length = 0;
|
|
429
|
-
}, o = (r, s, u, f) => (r.addEventListener(s, u, f), () => r.removeEventListener(s, u, f)), i =
|
|
430
|
-
const r =
|
|
429
|
+
}, o = (r, s, u, f) => (r.addEventListener(s, u, f), () => r.removeEventListener(s, u, f)), i = W(() => {
|
|
430
|
+
const r = Dt(Ce(e[0])).filter((s) => s != null);
|
|
431
431
|
return r.every((s) => typeof s != "string") ? r : void 0;
|
|
432
|
-
}), a =
|
|
432
|
+
}), a = Po(
|
|
433
433
|
() => {
|
|
434
434
|
var r, s;
|
|
435
435
|
return [
|
|
436
436
|
(s = (r = i.value) == null ? void 0 : r.map((u) => Ze(u))) != null ? s : [St].filter((u) => u != null),
|
|
437
|
-
|
|
438
|
-
|
|
437
|
+
Dt(Ce(i.value ? e[1] : e[0])),
|
|
438
|
+
Dt(Z(i.value ? e[2] : e[1])),
|
|
439
439
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
440
440
|
Ce(i.value ? e[3] : e[2])
|
|
441
441
|
];
|
|
@@ -459,7 +459,7 @@ function De(...e) {
|
|
|
459
459
|
return xo(n), l;
|
|
460
460
|
}
|
|
461
461
|
let en = !1;
|
|
462
|
-
function
|
|
462
|
+
function Wt(e, t, n = {}) {
|
|
463
463
|
const { window: o = St, ignore: i = [], capture: a = !0, detectIframe: l = !1, controls: r = !1 } = n;
|
|
464
464
|
if (!o)
|
|
465
465
|
return r ? { stop: Be, cancel: Be, trigger: Be } : Be;
|
|
@@ -525,14 +525,14 @@ function qt(e, t, n = {}) {
|
|
|
525
525
|
} : M;
|
|
526
526
|
}
|
|
527
527
|
function No() {
|
|
528
|
-
const e =
|
|
528
|
+
const e = Vt(!1), t = qt();
|
|
529
529
|
return t && yt(() => {
|
|
530
530
|
e.value = !0;
|
|
531
531
|
}, t), e;
|
|
532
532
|
}
|
|
533
533
|
function Fo(e) {
|
|
534
534
|
const t = No();
|
|
535
|
-
return
|
|
535
|
+
return W(() => (t.value, !!e()));
|
|
536
536
|
}
|
|
537
537
|
const Vo = Symbol("vueuse-ssr-width");
|
|
538
538
|
function zo() {
|
|
@@ -540,7 +540,7 @@ function zo() {
|
|
|
540
540
|
return typeof e == "number" ? e : void 0;
|
|
541
541
|
}
|
|
542
542
|
function jo(e, t = {}) {
|
|
543
|
-
const { window: n = St, ssrWidth: o = zo() } = t, i = Fo(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = _(typeof o == "number"), l =
|
|
543
|
+
const { window: n = St, ssrWidth: o = zo() } = t, i = Fo(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = _(typeof o == "number"), l = Vt(), r = Vt(!1), s = (u) => {
|
|
544
544
|
r.value = u.matches;
|
|
545
545
|
};
|
|
546
546
|
return Rn(() => {
|
|
@@ -555,9 +555,9 @@ function jo(e, t = {}) {
|
|
|
555
555
|
return;
|
|
556
556
|
}
|
|
557
557
|
i.value && (l.value = n.matchMedia(Ce(e)), r.value = l.value.matches);
|
|
558
|
-
}), De(l, "change", s, { passive: !0 }),
|
|
558
|
+
}), De(l, "change", s, { passive: !0 }), W(() => r.value);
|
|
559
559
|
}
|
|
560
|
-
function
|
|
560
|
+
function kt(e = {}) {
|
|
561
561
|
const {
|
|
562
562
|
window: t = St,
|
|
563
563
|
initialWidth: n = Number.POSITIVE_INFINITY,
|
|
@@ -574,7 +574,7 @@ function Wt(e = {}) {
|
|
|
574
574
|
r.value = Math.round(c * $), s.value = Math.round(v * $);
|
|
575
575
|
} else a ? (r.value = t.innerWidth, s.value = t.innerHeight) : (r.value = t.document.documentElement.clientWidth, s.value = t.document.documentElement.clientHeight);
|
|
576
576
|
};
|
|
577
|
-
u(),
|
|
577
|
+
u(), Ao(u);
|
|
578
578
|
const f = { passive: !0 };
|
|
579
579
|
if (De("resize", u, f), t && l === "visual" && t.visualViewport && De(t.visualViewport, "resize", u, f), i) {
|
|
580
580
|
const c = jo("(orientation: portrait)");
|
|
@@ -587,7 +587,7 @@ const Ro = { class: "modal-wrapper" }, Ho = {
|
|
|
587
587
|
class: "modal-body"
|
|
588
588
|
}, Zo = { class: "modal-footer" }, Go = {
|
|
589
589
|
name: "ConfirmationModal"
|
|
590
|
-
}, tn = /* @__PURE__ */
|
|
590
|
+
}, tn = /* @__PURE__ */ P({
|
|
591
591
|
...Go,
|
|
592
592
|
props: {
|
|
593
593
|
divider: {
|
|
@@ -606,10 +606,10 @@ const Ro = { class: "modal-wrapper" }, Ho = {
|
|
|
606
606
|
emits: ["on:confirm", "on:close"],
|
|
607
607
|
setup(e, { emit: t }) {
|
|
608
608
|
const n = t, o = e, i = _();
|
|
609
|
-
|
|
609
|
+
Wt(i, (s) => {
|
|
610
610
|
r();
|
|
611
611
|
});
|
|
612
|
-
const a =
|
|
612
|
+
const a = W(() => ["modal", o.divider && "divided-modal"].filter(Boolean).join(" "));
|
|
613
613
|
function l() {
|
|
614
614
|
n("on:confirm");
|
|
615
615
|
}
|
|
@@ -653,13 +653,13 @@ const Ro = { class: "modal-wrapper" }, Ho = {
|
|
|
653
653
|
])),
|
|
654
654
|
h("div", Zo, [
|
|
655
655
|
I(s.$slots, "footer", {}, () => [
|
|
656
|
-
|
|
656
|
+
re(ue, {
|
|
657
657
|
size: "small",
|
|
658
658
|
label: "Cancel",
|
|
659
659
|
severity: "secondary",
|
|
660
660
|
onClick: u[1] || (u[1] = (f) => r())
|
|
661
661
|
}),
|
|
662
|
-
|
|
662
|
+
re(ue, {
|
|
663
663
|
size: "small",
|
|
664
664
|
label: "Confirm",
|
|
665
665
|
severity: "primary",
|
|
@@ -673,7 +673,7 @@ const Ro = { class: "modal-wrapper" }, Ho = {
|
|
|
673
673
|
}
|
|
674
674
|
}), qo = ["data-aria-orientation"], Wo = {
|
|
675
675
|
name: "DividerElement"
|
|
676
|
-
},
|
|
676
|
+
}, G0 = /* @__PURE__ */ P({
|
|
677
677
|
...Wo,
|
|
678
678
|
props: {
|
|
679
679
|
orientation: {
|
|
@@ -714,8 +714,11 @@ const Ro = { class: "modal-wrapper" }, Ho = {
|
|
|
714
714
|
o
|
|
715
715
|
);
|
|
716
716
|
return i === "Invalid Date" ? null : i;
|
|
717
|
+
}, q0 = (e) => {
|
|
718
|
+
const t = Math.floor(e / 60).toString(), n = (e % 60).toString().padStart(2, "0");
|
|
719
|
+
return `${t}:${n}`;
|
|
717
720
|
}, wn = (e) => {
|
|
718
|
-
const { width: t, height: n } =
|
|
721
|
+
const { width: t, height: n } = kt(), o = {
|
|
719
722
|
top: e.top,
|
|
720
723
|
bottom: n.value - e.bottom,
|
|
721
724
|
left: e.left,
|
|
@@ -733,14 +736,14 @@ const Ro = { class: "modal-wrapper" }, Ho = {
|
|
|
733
736
|
}
|
|
734
737
|
return t;
|
|
735
738
|
}, Ko = (e) => e === "sessionStorage" ? sessionStorage : localStorage;
|
|
736
|
-
let
|
|
739
|
+
let Tt = null;
|
|
737
740
|
function Qo(e, t) {
|
|
738
741
|
const n = _();
|
|
739
742
|
return new Promise((o) => {
|
|
740
743
|
Ve(
|
|
741
744
|
() => e,
|
|
742
745
|
(i) => {
|
|
743
|
-
|
|
746
|
+
Tt && clearTimeout(Tt), Tt = setTimeout(() => {
|
|
744
747
|
n.value = i, o(n);
|
|
745
748
|
}, t);
|
|
746
749
|
},
|
|
@@ -750,7 +753,7 @@ function Qo(e, t) {
|
|
|
750
753
|
}
|
|
751
754
|
const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
752
755
|
name: "Popup"
|
|
753
|
-
}, ti = /* @__PURE__ */
|
|
756
|
+
}, ti = /* @__PURE__ */ P({
|
|
754
757
|
...ei,
|
|
755
758
|
props: {
|
|
756
759
|
ariaLabel: {
|
|
@@ -768,7 +771,7 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
768
771
|
},
|
|
769
772
|
emits: ["onClickOutside"],
|
|
770
773
|
setup(e, { expose: t, emit: n }) {
|
|
771
|
-
const o = e, i = n, a = Se(), l = _(null), r = _(null), s = _(null), u = _(!1), f = _("bottom"), c = _({ top: "0", left: "0" }), v = _([]), { width: $, height: w } =
|
|
774
|
+
const o = e, i = n, a = Se(), l = _(null), r = _(null), s = _(null), u = _(!1), f = _("bottom"), c = _({ top: "0", left: "0" }), v = _([]), { width: $, height: w } = kt(), M = W(() => !!a.content);
|
|
772
775
|
vn(() => {
|
|
773
776
|
window.removeEventListener("scroll", D), window.removeEventListener("resize", D), v.value.forEach(({ element: b, listener: C }) => {
|
|
774
777
|
b.removeEventListener("scroll", C);
|
|
@@ -788,13 +791,13 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
788
791
|
return;
|
|
789
792
|
const b = s.value.getBoundingClientRect(), C = r.value.getBoundingClientRect();
|
|
790
793
|
let g = 0, S = 0;
|
|
791
|
-
const y = o.position || wn(b),
|
|
794
|
+
const y = o.position || wn(b), V = $.value - b.right < 100, J = w.value - (b.bottom + C.height + o.offset) >= 0, U = b.top - C.height - o.offset >= 0;
|
|
792
795
|
switch (y) {
|
|
793
796
|
case "top":
|
|
794
|
-
g = U ? b.top - C.height - o.offset : b.bottom + o.offset, S =
|
|
797
|
+
g = U ? b.top - C.height - o.offset : b.bottom + o.offset, S = V ? b.right - C.width : b.left;
|
|
795
798
|
break;
|
|
796
799
|
case "bottom":
|
|
797
|
-
g = J ? b.bottom + o.offset : b.top - C.height - o.offset, S =
|
|
800
|
+
g = J ? b.bottom + o.offset : b.top - C.height - o.offset, S = V ? b.right - C.width : b.left;
|
|
798
801
|
break;
|
|
799
802
|
case "left":
|
|
800
803
|
S = b.left - C.width - o.offset, g = b.top;
|
|
@@ -803,20 +806,20 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
803
806
|
S = b.left + b.width + o.offset, g = b.top;
|
|
804
807
|
break;
|
|
805
808
|
}
|
|
806
|
-
const
|
|
807
|
-
if (u.value = ne >= 0 &&
|
|
809
|
+
const he = w.value - (g + C.height), ne = g;
|
|
810
|
+
if (u.value = ne >= 0 && he >= 0, y === "right" || y === "left")
|
|
808
811
|
S = Math.max(0, S);
|
|
809
812
|
else {
|
|
810
813
|
S + C.width > $.value && (S = $.value - C.width), S = Math.max(0, S);
|
|
811
|
-
const
|
|
812
|
-
g = Math.min(Math.max(g, 0),
|
|
814
|
+
const ve = w.value - C.height;
|
|
815
|
+
g = Math.min(Math.max(g, 0), ve);
|
|
813
816
|
}
|
|
814
817
|
c.value = {
|
|
815
818
|
top: `${g}px`,
|
|
816
819
|
left: `${S}px`
|
|
817
820
|
}, f.value = y;
|
|
818
821
|
};
|
|
819
|
-
return
|
|
822
|
+
return Wt(l, () => {
|
|
820
823
|
u.value = !1, i("onClickOutside");
|
|
821
824
|
}), t({
|
|
822
825
|
isVisible: u,
|
|
@@ -859,7 +862,7 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
859
862
|
viewBox: "0 0 1792 1792"
|
|
860
863
|
}, ii = ["aria-label"], ai = ["aria-disabled", "onClick"], li = { class: "menu-item" }, ri = {
|
|
861
864
|
name: "Dropdown"
|
|
862
|
-
},
|
|
865
|
+
}, si = /* @__PURE__ */ P({
|
|
863
866
|
...ri,
|
|
864
867
|
props: {
|
|
865
868
|
icon: {
|
|
@@ -877,25 +880,25 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
877
880
|
},
|
|
878
881
|
emits: ["select"],
|
|
879
882
|
setup(e, { emit: t }) {
|
|
880
|
-
const n = e, o = t, i = _(), a =
|
|
883
|
+
const n = e, o = t, i = _(), a = W(
|
|
881
884
|
() => n.menu.filter((r) => r.display !== !1)
|
|
882
885
|
), l = (r) => {
|
|
883
886
|
r.disabled || (o("select", r), i.value.isVisible = !1);
|
|
884
887
|
};
|
|
885
|
-
return (r, s) => (d(),
|
|
888
|
+
return (r, s) => (d(), F(ti, {
|
|
886
889
|
ref_key: "popup",
|
|
887
890
|
ref: i,
|
|
888
891
|
class: "dropdown-menu",
|
|
889
892
|
position: "bottom",
|
|
890
893
|
tabindex: "0"
|
|
891
894
|
}, {
|
|
892
|
-
content:
|
|
895
|
+
content: q(() => [
|
|
893
896
|
h("ul", {
|
|
894
897
|
class: "dropdown-menu",
|
|
895
898
|
"aria-label": e.label + "dropdown menu",
|
|
896
899
|
tabindex: "0"
|
|
897
900
|
}, [
|
|
898
|
-
(d(!0), p(
|
|
901
|
+
(d(!0), p(H, null, le(a.value, (u) => (d(), p("li", {
|
|
899
902
|
key: u.label,
|
|
900
903
|
"aria-disabled": u.disabled ? "true" : "false",
|
|
901
904
|
class: N([[{ disabled: u.disabled }, u.class], "menu-item"]),
|
|
@@ -913,13 +916,13 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
913
916
|
], 10, ai))), 128))
|
|
914
917
|
], 8, ii)
|
|
915
918
|
]),
|
|
916
|
-
default:
|
|
919
|
+
default: q(() => [
|
|
917
920
|
h("div", {
|
|
918
921
|
"aria-label": (e.label ?? "") + " dropdown",
|
|
919
922
|
class: N([{ triggered: i.value?.isVisible }, "dropdown-menu-trigger"])
|
|
920
923
|
}, [
|
|
921
924
|
I(r.$slots, "default", {}, () => [
|
|
922
|
-
e.label ? (d(), p(
|
|
925
|
+
e.label ? (d(), p(H, { key: 0 }, [
|
|
923
926
|
h("span", null, O(e.label), 1),
|
|
924
927
|
s[0] || (s[0] = h("svg", {
|
|
925
928
|
class: "dropdown-icon",
|
|
@@ -971,10 +974,10 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
971
974
|
_: 3
|
|
972
975
|
}, 512));
|
|
973
976
|
}
|
|
974
|
-
}),
|
|
977
|
+
}), ui = { class: "error" }, di = { class: "code" }, ci = {
|
|
975
978
|
name: "Error"
|
|
976
|
-
}, nn = /* @__PURE__ */
|
|
977
|
-
...
|
|
979
|
+
}, nn = /* @__PURE__ */ P({
|
|
980
|
+
...ci,
|
|
978
981
|
props: {
|
|
979
982
|
error: {
|
|
980
983
|
required: !0,
|
|
@@ -982,15 +985,15 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
982
985
|
}
|
|
983
986
|
},
|
|
984
987
|
setup(e) {
|
|
985
|
-
return (t, n) => (d(), p("p",
|
|
988
|
+
return (t, n) => (d(), p("p", ui, [
|
|
986
989
|
Q(O(e.error.message) + " ", 1),
|
|
987
|
-
h("span",
|
|
990
|
+
h("span", di, "(" + O(e.error.code) + ")", 1)
|
|
988
991
|
]));
|
|
989
992
|
}
|
|
990
|
-
}),
|
|
993
|
+
}), fi = { class: "errors" }, hi = { key: 1 }, pi = {
|
|
991
994
|
name: "Errors"
|
|
992
|
-
},
|
|
993
|
-
...
|
|
995
|
+
}, W0 = /* @__PURE__ */ P({
|
|
996
|
+
...pi,
|
|
994
997
|
props: {
|
|
995
998
|
errors: {
|
|
996
999
|
required: !0,
|
|
@@ -998,21 +1001,21 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
998
1001
|
}
|
|
999
1002
|
},
|
|
1000
1003
|
setup(e) {
|
|
1001
|
-
return (t, n) => (d(), p("div",
|
|
1002
|
-
e.errors.length === 1 ? (d(),
|
|
1004
|
+
return (t, n) => (d(), p("div", fi, [
|
|
1005
|
+
e.errors.length === 1 ? (d(), F(nn, {
|
|
1003
1006
|
key: 0,
|
|
1004
1007
|
error: e.errors[0]
|
|
1005
|
-
}, null, 8, ["error"])) : (d(), p("ul",
|
|
1006
|
-
(d(!0), p(
|
|
1007
|
-
|
|
1008
|
+
}, null, 8, ["error"])) : (d(), p("ul", hi, [
|
|
1009
|
+
(d(!0), p(H, null, le(e.errors, (o, i) => (d(), p("li", { key: i }, [
|
|
1010
|
+
re(nn, { error: o }, null, 8, ["error"])
|
|
1008
1011
|
]))), 128))
|
|
1009
1012
|
]))
|
|
1010
1013
|
]));
|
|
1011
1014
|
}
|
|
1012
|
-
}),
|
|
1015
|
+
}), gi = { class: "confirmation-file-actions" }, mi = {
|
|
1013
1016
|
name: "ConfirmationFileActions"
|
|
1014
|
-
},
|
|
1015
|
-
...
|
|
1017
|
+
}, vi = /* @__PURE__ */ P({
|
|
1018
|
+
...mi,
|
|
1016
1019
|
props: {
|
|
1017
1020
|
archiveConfirmationHeader: {
|
|
1018
1021
|
default: "Archive file?",
|
|
@@ -1040,75 +1043,75 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1040
1043
|
"on:confirmDelete"
|
|
1041
1044
|
],
|
|
1042
1045
|
setup(e) {
|
|
1043
|
-
return (t, n) => (d(), p("div",
|
|
1044
|
-
e.showArchiveConfirmation ? (d(),
|
|
1046
|
+
return (t, n) => (d(), p("div", gi, [
|
|
1047
|
+
e.showArchiveConfirmation ? (d(), F(tn, {
|
|
1045
1048
|
key: 0,
|
|
1046
1049
|
"onOn:close": n[0] || (n[0] = (o) => t.$emit("on:closeArchive")),
|
|
1047
1050
|
"onOn:confirm": n[1] || (n[1] = (o) => t.$emit("on:confirmArchive"))
|
|
1048
1051
|
}, {
|
|
1049
|
-
header:
|
|
1052
|
+
header: q(() => [
|
|
1050
1053
|
Q(O(e.archiveConfirmationHeader), 1)
|
|
1051
1054
|
]),
|
|
1052
|
-
body:
|
|
1055
|
+
body: q(() => [
|
|
1053
1056
|
Q(O(e.archiveConfirmationMessage), 1)
|
|
1054
1057
|
]),
|
|
1055
1058
|
_: 1
|
|
1056
1059
|
})) : k("", !0),
|
|
1057
|
-
e.showDeleteConfirmation ? (d(),
|
|
1060
|
+
e.showDeleteConfirmation ? (d(), F(tn, {
|
|
1058
1061
|
key: 1,
|
|
1059
1062
|
"onOn:close": n[2] || (n[2] = (o) => t.$emit("on:closeDelete")),
|
|
1060
1063
|
"onOn:confirm": n[3] || (n[3] = (o) => t.$emit("on:confirmDelete"))
|
|
1061
1064
|
}, {
|
|
1062
|
-
header:
|
|
1065
|
+
header: q(() => [
|
|
1063
1066
|
Q(O(e.deleteConfirmationHeader), 1)
|
|
1064
1067
|
]),
|
|
1065
|
-
body:
|
|
1068
|
+
body: q(() => [
|
|
1066
1069
|
Q(O(e.deleteConfirmationMessage), 1)
|
|
1067
1070
|
]),
|
|
1068
1071
|
_: 1
|
|
1069
1072
|
})) : k("", !0)
|
|
1070
1073
|
]));
|
|
1071
1074
|
}
|
|
1072
|
-
}),
|
|
1075
|
+
}), bi = { class: "file-thumbnail-details-wrapper" }, Ci = {
|
|
1073
1076
|
key: 0,
|
|
1074
1077
|
class: "file-thumbnail"
|
|
1075
|
-
},
|
|
1078
|
+
}, yi = { class: "details-wrapper" }, wi = { class: "name-description-details-wrapper" }, Si = {
|
|
1076
1079
|
key: 0,
|
|
1077
1080
|
class: "name"
|
|
1078
|
-
},
|
|
1081
|
+
}, ki = {
|
|
1079
1082
|
key: 1,
|
|
1080
1083
|
class: "file-size"
|
|
1081
|
-
},
|
|
1084
|
+
}, $i = {
|
|
1082
1085
|
key: 0,
|
|
1083
1086
|
class: "description-wrapper-details"
|
|
1084
|
-
},
|
|
1087
|
+
}, Ei = {
|
|
1085
1088
|
key: 0,
|
|
1086
1089
|
class: "file-upload-download-details-wrapper"
|
|
1087
|
-
},
|
|
1090
|
+
}, Di = {
|
|
1088
1091
|
key: 0,
|
|
1089
1092
|
class: "file-upload-details"
|
|
1090
|
-
},
|
|
1093
|
+
}, Ti = {
|
|
1091
1094
|
key: 0,
|
|
1092
1095
|
class: "uploaded-by"
|
|
1093
|
-
},
|
|
1096
|
+
}, xi = {
|
|
1094
1097
|
key: 1,
|
|
1095
1098
|
class: "uploaded-at"
|
|
1096
|
-
},
|
|
1099
|
+
}, Li = {
|
|
1097
1100
|
key: 1,
|
|
1098
1101
|
class: "file-download-details"
|
|
1099
|
-
},
|
|
1102
|
+
}, Oi = {
|
|
1100
1103
|
key: 0,
|
|
1101
1104
|
class: "download-count"
|
|
1102
|
-
},
|
|
1105
|
+
}, Mi = {
|
|
1103
1106
|
key: 1,
|
|
1104
1107
|
class: "last-downloaded-at"
|
|
1105
|
-
},
|
|
1108
|
+
}, _i = {
|
|
1106
1109
|
key: 0,
|
|
1107
1110
|
class: "file-actions"
|
|
1108
|
-
},
|
|
1111
|
+
}, Bi = {
|
|
1109
1112
|
name: "FileCard"
|
|
1110
|
-
},
|
|
1111
|
-
...
|
|
1113
|
+
}, Ii = /* @__PURE__ */ P({
|
|
1114
|
+
...Bi,
|
|
1112
1115
|
props: {
|
|
1113
1116
|
actionButtonsVisibility: {
|
|
1114
1117
|
default: () => ({
|
|
@@ -1203,10 +1206,10 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1203
1206
|
}, u = () => {
|
|
1204
1207
|
r("delete"), a.value = !1;
|
|
1205
1208
|
};
|
|
1206
|
-
return (f, c) => (d(),
|
|
1207
|
-
default:
|
|
1208
|
-
h("div",
|
|
1209
|
-
e.showThumbnail || f.$slots.thumbnail ? (d(), p("div",
|
|
1209
|
+
return (f, c) => (d(), F(mo, { class: "file-card" }, {
|
|
1210
|
+
default: q(() => [
|
|
1211
|
+
h("div", bi, [
|
|
1212
|
+
e.showThumbnail || f.$slots.thumbnail ? (d(), p("div", Ci, [
|
|
1210
1213
|
I(f.$slots, "thumbnail", {}, () => [
|
|
1211
1214
|
c[8] || (c[8] = h("svg", {
|
|
1212
1215
|
fill: "none",
|
|
@@ -1224,20 +1227,20 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1224
1227
|
], -1))
|
|
1225
1228
|
])
|
|
1226
1229
|
])) : k("", !0),
|
|
1227
|
-
h("div",
|
|
1228
|
-
h("div",
|
|
1230
|
+
h("div", yi, [
|
|
1231
|
+
h("div", wi, [
|
|
1229
1232
|
h("div", null, [
|
|
1230
|
-
e.visibilityDetail.originalFileName ? (d(), p("span",
|
|
1231
|
-
e.file.size && e.visibilityDetail.size ? (d(), p("span",
|
|
1233
|
+
e.visibilityDetail.originalFileName ? (d(), p("span", Si, O(e.file.originalFileName), 1)) : k("", !0),
|
|
1234
|
+
e.file.size && e.visibilityDetail.size ? (d(), p("span", ki, " (" + O(e.file.size) + ") ", 1)) : k("", !0)
|
|
1232
1235
|
]),
|
|
1233
|
-
e.file.description && e.visibilityDetail.description ? (d(), p("div",
|
|
1236
|
+
e.file.description && e.visibilityDetail.description ? (d(), p("div", $i, [
|
|
1234
1237
|
h("span", null, O(e.file.description), 1),
|
|
1235
|
-
e.allowEditDescription ? (d(),
|
|
1238
|
+
e.allowEditDescription ? (d(), F(ue, fe({ key: 0 }, e.editDescriptionButtonProps, {
|
|
1236
1239
|
size: "small",
|
|
1237
1240
|
variant: "outlined",
|
|
1238
1241
|
onClick: c[0] || (c[0] = (v) => f.$emit("click:editDescription"))
|
|
1239
1242
|
}), {
|
|
1240
|
-
iconLeft:
|
|
1243
|
+
iconLeft: q(() => c[9] || (c[9] = [
|
|
1241
1244
|
h("svg", {
|
|
1242
1245
|
fill: "none",
|
|
1243
1246
|
width: "20",
|
|
@@ -1254,37 +1257,37 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1254
1257
|
}, 16)) : k("", !0)
|
|
1255
1258
|
])) : k("", !0)
|
|
1256
1259
|
]),
|
|
1257
|
-
e.visibilityDetail.uploadedAt || e.visibilityDetail.uploadedBy || e.visibilityDetail.lastDownloadedAt || e.visibilityDetail.downloadCount ? (d(), p("div",
|
|
1258
|
-
e.visibilityDetail.uploadedAt || e.visibilityDetail.uploadedBy ? (d(), p("div",
|
|
1259
|
-
e.visibilityDetail.uploadedBy ? (d(), p("div",
|
|
1260
|
+
e.visibilityDetail.uploadedAt || e.visibilityDetail.uploadedBy || e.visibilityDetail.lastDownloadedAt || e.visibilityDetail.downloadCount ? (d(), p("div", Ei, [
|
|
1261
|
+
e.visibilityDetail.uploadedAt || e.visibilityDetail.uploadedBy ? (d(), p("div", Di, [
|
|
1262
|
+
e.visibilityDetail.uploadedBy ? (d(), p("div", Ti, [
|
|
1260
1263
|
h("span", null, O(e.messages?.uploadedByHeader || "Uploaded by"), 1),
|
|
1261
1264
|
h("span", null, O(l(e.file)), 1)
|
|
1262
1265
|
])) : k("", !0),
|
|
1263
|
-
e.visibilityDetail.uploadedAt ? (d(), p("div",
|
|
1266
|
+
e.visibilityDetail.uploadedAt ? (d(), p("div", xi, [
|
|
1264
1267
|
h("span", null, O(e.messages?.uploadedAtHeader || "Uploaded at"), 1),
|
|
1265
|
-
h("span", null, O(
|
|
1268
|
+
h("span", null, O(Z(Xo)(e.file.uploadedAt)), 1)
|
|
1266
1269
|
])) : k("", !0)
|
|
1267
1270
|
])) : k("", !0),
|
|
1268
|
-
e.visibilityDetail.downloadCount || e.visibilityDetail.lastDownloadedAt ? (d(), p("div",
|
|
1269
|
-
e.visibilityDetail.downloadCount ? (d(), p("div",
|
|
1271
|
+
e.visibilityDetail.downloadCount || e.visibilityDetail.lastDownloadedAt ? (d(), p("div", Li, [
|
|
1272
|
+
e.visibilityDetail.downloadCount ? (d(), p("div", Oi, [
|
|
1270
1273
|
h("span", null, O(e.messages?.downloadCountHeader || "Downloads:"), 1),
|
|
1271
1274
|
h("span", null, O(e.file.downloadCount), 1)
|
|
1272
1275
|
])) : k("", !0),
|
|
1273
|
-
e.visibilityDetail.lastDownloadedAt ? (d(), p("div",
|
|
1276
|
+
e.visibilityDetail.lastDownloadedAt ? (d(), p("div", Mi, [
|
|
1274
1277
|
h("span", null, O(e.messages?.lastDownloadedAtHeader || "Last download:"), 1),
|
|
1275
|
-
h("span", null, O(
|
|
1278
|
+
h("span", null, O(Z(Uo)(Number(e.file.lastDownloadedAt))), 1)
|
|
1276
1279
|
])) : k("", !0)
|
|
1277
1280
|
])) : k("", !0)
|
|
1278
1281
|
])) : k("", !0)
|
|
1279
1282
|
])
|
|
1280
1283
|
]),
|
|
1281
|
-
e.visibilityDetail.actions ? (d(), p("div",
|
|
1282
|
-
e.actionButtonsVisibility.archive ? (d(),
|
|
1284
|
+
e.visibilityDetail.actions ? (d(), p("div", _i, [
|
|
1285
|
+
e.actionButtonsVisibility.archive ? (d(), F(ue, fe({ key: 0 }, e.archiveButtonProps, {
|
|
1283
1286
|
label: e.messages?.archiveAction || "Archive",
|
|
1284
1287
|
size: "small",
|
|
1285
1288
|
onClick: c[1] || (c[1] = (v) => i.value = !0)
|
|
1286
1289
|
}), {
|
|
1287
|
-
iconLeft:
|
|
1290
|
+
iconLeft: q(() => c[10] || (c[10] = [
|
|
1288
1291
|
h("svg", {
|
|
1289
1292
|
fill: "none",
|
|
1290
1293
|
viewBox: "0 0 24 24",
|
|
@@ -1301,12 +1304,12 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1301
1304
|
])),
|
|
1302
1305
|
_: 1
|
|
1303
1306
|
}, 16, ["label"])) : k("", !0),
|
|
1304
|
-
e.actionButtonsVisibility.delete ? (d(),
|
|
1307
|
+
e.actionButtonsVisibility.delete ? (d(), F(ue, fe({ key: 1 }, e.deleteButtonProps, {
|
|
1305
1308
|
label: e.messages?.deleteAction || "Delete",
|
|
1306
1309
|
size: "small",
|
|
1307
1310
|
onClick: c[2] || (c[2] = (v) => a.value = !0)
|
|
1308
1311
|
}), {
|
|
1309
|
-
iconLeft:
|
|
1312
|
+
iconLeft: q(() => c[11] || (c[11] = [
|
|
1310
1313
|
h("svg", {
|
|
1311
1314
|
fill: "none",
|
|
1312
1315
|
viewBox: "0 0 24 24",
|
|
@@ -1323,12 +1326,12 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1323
1326
|
])),
|
|
1324
1327
|
_: 1
|
|
1325
1328
|
}, 16, ["label"])) : k("", !0),
|
|
1326
|
-
e.actionButtonsVisibility.download ? (d(),
|
|
1329
|
+
e.actionButtonsVisibility.download ? (d(), F(ue, fe({ key: 2 }, e.downloadButtonProps, {
|
|
1327
1330
|
label: e.messages?.downloadAction || "Download",
|
|
1328
1331
|
size: "small",
|
|
1329
1332
|
onClick: c[3] || (c[3] = (v) => r("download"))
|
|
1330
1333
|
}), {
|
|
1331
|
-
iconLeft:
|
|
1334
|
+
iconLeft: q(() => c[12] || (c[12] = [
|
|
1332
1335
|
h("svg", {
|
|
1333
1336
|
fill: "none",
|
|
1334
1337
|
viewBox: "0 0 24 24",
|
|
@@ -1346,12 +1349,12 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1346
1349
|
])),
|
|
1347
1350
|
_: 1
|
|
1348
1351
|
}, 16, ["label"])) : k("", !0),
|
|
1349
|
-
e.actionButtonsVisibility.share ? (d(),
|
|
1352
|
+
e.actionButtonsVisibility.share ? (d(), F(ue, fe({ key: 3 }, e.shareButtonProps, {
|
|
1350
1353
|
label: e.messages?.shareAction || "Share",
|
|
1351
1354
|
size: "small",
|
|
1352
1355
|
onClick: c[4] || (c[4] = (v) => r("share"))
|
|
1353
1356
|
}), {
|
|
1354
|
-
iconLeft:
|
|
1357
|
+
iconLeft: q(() => c[13] || (c[13] = [
|
|
1355
1358
|
h("svg", {
|
|
1356
1359
|
fill: "none",
|
|
1357
1360
|
viewBox: "0 0 24 24",
|
|
@@ -1367,12 +1370,12 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1367
1370
|
])),
|
|
1368
1371
|
_: 1
|
|
1369
1372
|
}, 16, ["label"])) : k("", !0),
|
|
1370
|
-
e.actionButtonsVisibility.view ? (d(),
|
|
1373
|
+
e.actionButtonsVisibility.view ? (d(), F(ue, fe({ key: 4 }, e.viewButtonProps, {
|
|
1371
1374
|
label: e.messages?.viewAction || "View",
|
|
1372
1375
|
size: "small",
|
|
1373
1376
|
onClick: c[5] || (c[5] = (v) => r("view"))
|
|
1374
1377
|
}), {
|
|
1375
|
-
iconLeft:
|
|
1378
|
+
iconLeft: q(() => c[14] || (c[14] = [
|
|
1376
1379
|
h("svg", {
|
|
1377
1380
|
viewBox: "0 0 24 24",
|
|
1378
1381
|
fill: "none",
|
|
@@ -1396,7 +1399,7 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1396
1399
|
])),
|
|
1397
1400
|
_: 1
|
|
1398
1401
|
}, 16, ["label"])) : k("", !0),
|
|
1399
|
-
|
|
1402
|
+
re(vi, {
|
|
1400
1403
|
"archive-confirmation-header": e.messages?.archiveConfirmationHeader,
|
|
1401
1404
|
"archive-confirmation-message": e.messages?.archiveConfirmationMessage,
|
|
1402
1405
|
"delete-confirmation-header": e.messages?.deleteConfirmationHeader,
|
|
@@ -1413,9 +1416,9 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1413
1416
|
_: 3
|
|
1414
1417
|
}));
|
|
1415
1418
|
}
|
|
1416
|
-
}),
|
|
1419
|
+
}), Ai = { class: "file-list-wrapper" }, Pi = {
|
|
1417
1420
|
name: "FilesList"
|
|
1418
|
-
},
|
|
1421
|
+
}, Y0 = /* @__PURE__ */ P({
|
|
1419
1422
|
...Pi,
|
|
1420
1423
|
props: {
|
|
1421
1424
|
actionButtonsVisibility: {
|
|
@@ -1506,8 +1509,8 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1506
1509
|
break;
|
|
1507
1510
|
}
|
|
1508
1511
|
};
|
|
1509
|
-
return (i, a) => (d(), p("div",
|
|
1510
|
-
(d(!0), p(
|
|
1512
|
+
return (i, a) => (d(), p("div", Ai, [
|
|
1513
|
+
(d(!0), p(H, null, le(e.files, (l) => (d(), F(Ii, {
|
|
1511
1514
|
key: l.originalFileName,
|
|
1512
1515
|
"action-buttons-visibility": e.actionButtonsVisibility,
|
|
1513
1516
|
"allow-edit-description": e.actionButtonsVisibility?.edit,
|
|
@@ -1530,7 +1533,7 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1530
1533
|
}, Hn({ _: 2 }, [
|
|
1531
1534
|
i.$slots.thumbnail ? {
|
|
1532
1535
|
name: "thumbnail",
|
|
1533
|
-
fn:
|
|
1536
|
+
fn: q(() => [
|
|
1534
1537
|
I(i.$slots, "thumbnail")
|
|
1535
1538
|
]),
|
|
1536
1539
|
key: "0"
|
|
@@ -1538,10 +1541,10 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1538
1541
|
]), 1032, ["action-buttons-visibility", "allow-edit-description", "archive-button-props", "delete-button-props", "download-button-props", "edit-description-button-props", "file", "messages", "share-button-props", "show-thumbnail", "view-button-props", "visibility-detail", "onClick:editDescription", "onOn:archive", "onOn:delete", "onOn:download", "onOn:share", "onOn:view"]))), 128))
|
|
1539
1542
|
]));
|
|
1540
1543
|
}
|
|
1541
|
-
}),
|
|
1544
|
+
}), Ni = { class: "field debounce-input" }, Fi = ["aria-label", "disabled", "placeholder", "type", "value"], Vi = {
|
|
1542
1545
|
name: "DebouncedInput"
|
|
1543
|
-
},
|
|
1544
|
-
...
|
|
1546
|
+
}, U0 = /* @__PURE__ */ P({
|
|
1547
|
+
...Vi,
|
|
1545
1548
|
props: {
|
|
1546
1549
|
ariaLabel: {
|
|
1547
1550
|
default: "input",
|
|
@@ -1580,7 +1583,7 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1580
1583
|
o("update:modelValue", l);
|
|
1581
1584
|
});
|
|
1582
1585
|
};
|
|
1583
|
-
return (a, l) => (d(), p("div",
|
|
1586
|
+
return (a, l) => (d(), p("div", Ni, [
|
|
1584
1587
|
h("input", {
|
|
1585
1588
|
"aria-label": e.ariaLabel ?? e.placeholder,
|
|
1586
1589
|
disabled: e.disabled,
|
|
@@ -1589,24 +1592,24 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1589
1592
|
value: e.modelValue,
|
|
1590
1593
|
class: "input-field",
|
|
1591
1594
|
onInput: i
|
|
1592
|
-
}, null, 40,
|
|
1595
|
+
}, null, 40, Fi)
|
|
1593
1596
|
]));
|
|
1594
1597
|
}
|
|
1595
|
-
}),
|
|
1598
|
+
}), zi = {
|
|
1596
1599
|
name: "GridContainer"
|
|
1597
|
-
},
|
|
1598
|
-
function
|
|
1599
|
-
return d(), p("div",
|
|
1600
|
+
}, ji = { class: "grid-container" };
|
|
1601
|
+
function Ri(e, t, n, o, i, a) {
|
|
1602
|
+
return d(), p("div", ji, [
|
|
1600
1603
|
I(e.$slots, "default")
|
|
1601
1604
|
]);
|
|
1602
1605
|
}
|
|
1603
|
-
const
|
|
1606
|
+
const X0 = /* @__PURE__ */ et(zi, [["render", Ri]]), Hi = {
|
|
1604
1607
|
key: 0,
|
|
1605
1608
|
class: "loading-page"
|
|
1606
|
-
},
|
|
1609
|
+
}, Zi = {
|
|
1607
1610
|
name: "LoadingPage"
|
|
1608
|
-
},
|
|
1609
|
-
...
|
|
1611
|
+
}, Gi = /* @__PURE__ */ P({
|
|
1612
|
+
...Zi,
|
|
1610
1613
|
props: {
|
|
1611
1614
|
loading: {
|
|
1612
1615
|
default: !1,
|
|
@@ -1614,17 +1617,17 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1614
1617
|
}
|
|
1615
1618
|
},
|
|
1616
1619
|
setup(e) {
|
|
1617
|
-
return (t, n) => e.loading ? (d(), p("div",
|
|
1618
|
-
|
|
1620
|
+
return (t, n) => e.loading ? (d(), p("div", Hi, [
|
|
1621
|
+
re(wt, { class: "loading-icon" })
|
|
1619
1622
|
])) : k("", !0);
|
|
1620
1623
|
}
|
|
1621
|
-
}),
|
|
1624
|
+
}), qi = { class: "message-content" }, Wi = { key: 1 }, Yi = {
|
|
1622
1625
|
name: "Message"
|
|
1623
|
-
},
|
|
1624
|
-
...
|
|
1626
|
+
}, K0 = /* @__PURE__ */ P({
|
|
1627
|
+
...Yi,
|
|
1625
1628
|
props: {
|
|
1626
1629
|
enableClose: {
|
|
1627
|
-
default: !
|
|
1630
|
+
default: !0,
|
|
1628
1631
|
type: Boolean
|
|
1629
1632
|
},
|
|
1630
1633
|
icon: {
|
|
@@ -1638,7 +1641,7 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1638
1641
|
severity: {
|
|
1639
1642
|
type: String,
|
|
1640
1643
|
default: "info",
|
|
1641
|
-
validator: (e) => ["danger", "info", "success", "warning"].includes(e)
|
|
1644
|
+
validator: (e) => ["danger", "info", "success", "tip", "warning"].includes(e)
|
|
1642
1645
|
},
|
|
1643
1646
|
showIcon: {
|
|
1644
1647
|
default: !0,
|
|
@@ -1653,23 +1656,23 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1653
1656
|
return (l, r) => bt((d(), p("div", {
|
|
1654
1657
|
class: N(["message", e.severity])
|
|
1655
1658
|
}, [
|
|
1656
|
-
e.icon ||
|
|
1659
|
+
e.icon || Z(o).icon || e.showIcon ? (d(), p("span", {
|
|
1657
1660
|
key: 0,
|
|
1658
|
-
class: N(["icon", { default: !e.icon && !
|
|
1661
|
+
class: N(["icon", { default: !e.icon && !Z(o).icon && e.showIcon }])
|
|
1659
1662
|
}, [
|
|
1660
|
-
(e.icon ||
|
|
1663
|
+
(e.icon || Z(o).icon) && e.showIcon ? I(l.$slots, "icon", { key: 0 }, () => [
|
|
1661
1664
|
h("i", {
|
|
1662
1665
|
class: N(e.icon)
|
|
1663
1666
|
}, null, 2)
|
|
1664
1667
|
]) : k("", !0)
|
|
1665
1668
|
], 2)) : k("", !0),
|
|
1666
|
-
h("div",
|
|
1669
|
+
h("div", qi, [
|
|
1667
1670
|
I(l.$slots, "default", {}, () => [
|
|
1668
|
-
Array.isArray(e.message) ? e.message.length ? (d(), p("ul",
|
|
1669
|
-
(d(!0), p(
|
|
1671
|
+
Array.isArray(e.message) ? e.message.length ? (d(), p("ul", Wi, [
|
|
1672
|
+
(d(!0), p(H, null, le(e.message, (s, u) => (d(), p("li", {
|
|
1670
1673
|
key: `message-${u}`
|
|
1671
1674
|
}, O(s), 1))), 128))
|
|
1672
|
-
])) : k("", !0) : (d(), p(
|
|
1675
|
+
])) : k("", !0) : (d(), p(H, { key: 0 }, [
|
|
1673
1676
|
Q(O(e.message), 1)
|
|
1674
1677
|
], 64))
|
|
1675
1678
|
])
|
|
@@ -1683,19 +1686,19 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1683
1686
|
[Ct, i.value]
|
|
1684
1687
|
]);
|
|
1685
1688
|
}
|
|
1686
|
-
}),
|
|
1689
|
+
}), Ui = { class: "modal overlay" }, Xi = { class: "header" }, Ki = {
|
|
1687
1690
|
key: 0,
|
|
1688
1691
|
role: "heading"
|
|
1689
|
-
},
|
|
1692
|
+
}, Qi = {
|
|
1690
1693
|
key: 0,
|
|
1691
1694
|
class: "content"
|
|
1692
|
-
},
|
|
1695
|
+
}, Ji = {
|
|
1693
1696
|
key: 1,
|
|
1694
1697
|
class: "footer"
|
|
1695
|
-
},
|
|
1698
|
+
}, e2 = {
|
|
1696
1699
|
name: "Modal"
|
|
1697
|
-
},
|
|
1698
|
-
...
|
|
1700
|
+
}, Q0 = /* @__PURE__ */ P({
|
|
1701
|
+
...e2,
|
|
1699
1702
|
props: {
|
|
1700
1703
|
dismissOnClickOut: {
|
|
1701
1704
|
default: !0,
|
|
@@ -1718,21 +1721,21 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1718
1721
|
emits: ["on:close"],
|
|
1719
1722
|
setup(e, { emit: t }) {
|
|
1720
1723
|
const n = _(), o = t, i = e, a = Se();
|
|
1721
|
-
|
|
1724
|
+
Wt(n, (r) => {
|
|
1722
1725
|
i.dismissOnClickOut && l();
|
|
1723
1726
|
});
|
|
1724
1727
|
const l = () => {
|
|
1725
1728
|
o("on:close");
|
|
1726
1729
|
};
|
|
1727
|
-
return (r, s) => bt((d(), p("div",
|
|
1730
|
+
return (r, s) => bt((d(), p("div", Ui, [
|
|
1728
1731
|
h("div", {
|
|
1729
1732
|
ref_key: "dzangolabVueModal",
|
|
1730
1733
|
ref: n,
|
|
1731
1734
|
class: N(["dialog", e.size, { active: e.show }])
|
|
1732
1735
|
}, [
|
|
1733
|
-
h("div",
|
|
1736
|
+
h("div", Xi, [
|
|
1734
1737
|
I(r.$slots, "header", {}, () => [
|
|
1735
|
-
e.title ? (d(), p("span",
|
|
1738
|
+
e.title ? (d(), p("span", Ki, O(e.title), 1)) : k("", !0)
|
|
1736
1739
|
]),
|
|
1737
1740
|
(d(), p("svg", {
|
|
1738
1741
|
"aria-label": "close modal",
|
|
@@ -1749,10 +1752,10 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1749
1752
|
}, null, -1)
|
|
1750
1753
|
])))
|
|
1751
1754
|
]),
|
|
1752
|
-
|
|
1755
|
+
Z(a).default ? (d(), p("div", Qi, [
|
|
1753
1756
|
I(r.$slots, "default")
|
|
1754
1757
|
])) : k("", !0),
|
|
1755
|
-
|
|
1758
|
+
Z(a).footer ? (d(), p("div", Ji, [
|
|
1756
1759
|
I(r.$slots, "footer")
|
|
1757
1760
|
])) : k("", !0)
|
|
1758
1761
|
], 2)
|
|
@@ -1760,13 +1763,13 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1760
1763
|
[Ct, e.show]
|
|
1761
1764
|
]);
|
|
1762
1765
|
}
|
|
1763
|
-
}),
|
|
1766
|
+
}), t2 = ["data-centered"], n2 = { class: "page-header" }, o2 = { class: "page-title-wrapper" }, i2 = { class: "title" }, a2 = {
|
|
1764
1767
|
key: 0,
|
|
1765
1768
|
class: "title-tag"
|
|
1766
|
-
},
|
|
1769
|
+
}, l2 = { key: 0 }, r2 = { class: "page-toolbar" }, s2 = { class: "page-content" }, u2 = {
|
|
1767
1770
|
name: "Page"
|
|
1768
|
-
},
|
|
1769
|
-
...
|
|
1771
|
+
}, d2 = /* @__PURE__ */ P({
|
|
1772
|
+
...u2,
|
|
1770
1773
|
props: {
|
|
1771
1774
|
centered: Boolean,
|
|
1772
1775
|
loading: Boolean,
|
|
@@ -1788,46 +1791,71 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1788
1791
|
titleTag: {
|
|
1789
1792
|
default: void 0,
|
|
1790
1793
|
type: String
|
|
1794
|
+
},
|
|
1795
|
+
toolbarActionsMenu: {
|
|
1796
|
+
default: () => [],
|
|
1797
|
+
type: Array
|
|
1791
1798
|
}
|
|
1792
1799
|
},
|
|
1793
|
-
|
|
1794
|
-
|
|
1800
|
+
emits: ["action:click"],
|
|
1801
|
+
setup(e, { emit: t }) {
|
|
1802
|
+
const { width: n } = kt(), o = e, i = t, a = W(() => n.value > 576), l = W(
|
|
1803
|
+
() => o.toolbarActionsMenu.filter((s) => s.display !== !1)
|
|
1804
|
+
), r = (s) => {
|
|
1805
|
+
i("action:click", s);
|
|
1806
|
+
};
|
|
1807
|
+
return (s, u) => (d(), p("div", {
|
|
1795
1808
|
class: "page",
|
|
1796
1809
|
"data-centered": e.centered
|
|
1797
1810
|
}, [
|
|
1798
|
-
h("div",
|
|
1799
|
-
h("div",
|
|
1800
|
-
h("div",
|
|
1801
|
-
e.title ? (d(),
|
|
1802
|
-
default:
|
|
1811
|
+
h("div", n2, [
|
|
1812
|
+
h("div", o2, [
|
|
1813
|
+
h("div", i2, [
|
|
1814
|
+
e.title ? (d(), F(_e(e.titleElement), { key: 0 }, {
|
|
1815
|
+
default: q(() => [
|
|
1803
1816
|
Q(O(e.title), 1)
|
|
1804
1817
|
]),
|
|
1805
1818
|
_: 1
|
|
1806
1819
|
})) : k("", !0),
|
|
1807
|
-
I(
|
|
1808
|
-
e.titleTag ? (d(), p("span",
|
|
1809
|
-
|
|
1820
|
+
I(s.$slots, "titleTag", {}, () => [
|
|
1821
|
+
e.titleTag ? (d(), p("span", a2, [
|
|
1822
|
+
re(to, { label: e.titleTag }, null, 8, ["label"])
|
|
1810
1823
|
])) : k("", !0)
|
|
1811
1824
|
])
|
|
1812
1825
|
]),
|
|
1813
|
-
I(
|
|
1814
|
-
e.subTitle ? (d(), p("small",
|
|
1826
|
+
I(s.$slots, "subtitle", {}, () => [
|
|
1827
|
+
e.subTitle ? (d(), p("small", l2, O(e.subTitle), 1)) : k("", !0)
|
|
1815
1828
|
])
|
|
1816
1829
|
]),
|
|
1817
|
-
h("div",
|
|
1818
|
-
I(
|
|
1830
|
+
h("div", r2, [
|
|
1831
|
+
I(s.$slots, "toolbar", {}, () => [
|
|
1832
|
+
l.value?.length && !a.value ? (d(), p(H, { key: 0 }, [
|
|
1833
|
+
l.value?.length > 1 ? (d(), F(si, {
|
|
1834
|
+
key: 0,
|
|
1835
|
+
menu: l.value,
|
|
1836
|
+
onSelect: u[0] || (u[0] = (f) => r(f))
|
|
1837
|
+
}, null, 8, ["menu"])) : (d(), F(ue, fe({ key: 1 }, l.value[0], {
|
|
1838
|
+
"icon-left": String(l.value[0]?.icon ?? l.value[0]?.iconLeft),
|
|
1839
|
+
onClick: u[1] || (u[1] = (f) => r(l.value[0]))
|
|
1840
|
+
}), null, 16, ["icon-left"]))
|
|
1841
|
+
], 64)) : l.value?.length ? (d(!0), p(H, { key: 1 }, le(l.value, (f, c) => (d(), F(ue, fe({ ref_for: !0 }, f, {
|
|
1842
|
+
key: `${f?.label}-${c}`,
|
|
1843
|
+
"icon-left": String(f?.icon ?? f?.iconLeft),
|
|
1844
|
+
onClick: (v) => r(f)
|
|
1845
|
+
}), null, 16, ["icon-left", "onClick"]))), 128)) : k("", !0)
|
|
1846
|
+
])
|
|
1819
1847
|
])
|
|
1820
1848
|
]),
|
|
1821
|
-
h("div",
|
|
1822
|
-
I(
|
|
1823
|
-
|
|
1849
|
+
h("div", s2, [
|
|
1850
|
+
I(s.$slots, "default"),
|
|
1851
|
+
re(Gi, { loading: e.loading }, null, 8, ["loading"])
|
|
1824
1852
|
])
|
|
1825
|
-
], 8,
|
|
1853
|
+
], 8, t2));
|
|
1826
1854
|
}
|
|
1827
|
-
}),
|
|
1855
|
+
}), c2 = { class: "menu" }, f2 = ["onClick"], h2 = {
|
|
1828
1856
|
name: "ResponsiveMenu"
|
|
1829
|
-
},
|
|
1830
|
-
...
|
|
1857
|
+
}, J0 = /* @__PURE__ */ P({
|
|
1858
|
+
...h2,
|
|
1831
1859
|
props: {
|
|
1832
1860
|
routes: {
|
|
1833
1861
|
required: !0,
|
|
@@ -1843,22 +1871,22 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1843
1871
|
setup(e) {
|
|
1844
1872
|
return (t, n) => {
|
|
1845
1873
|
const o = bn("router-link");
|
|
1846
|
-
return d(), p("nav",
|
|
1874
|
+
return d(), p("nav", c2, [
|
|
1847
1875
|
h("ul", null, [
|
|
1848
|
-
(d(!0), p(
|
|
1876
|
+
(d(!0), p(H, null, le(e.routes, (i, a) => (d(), p("li", {
|
|
1849
1877
|
key: a,
|
|
1850
1878
|
class: N({ active: e.activeRoute === i.route }),
|
|
1851
1879
|
onClick: (l) => t.$emit("change-route", i.route)
|
|
1852
1880
|
}, [
|
|
1853
|
-
|
|
1881
|
+
re(o, {
|
|
1854
1882
|
to: { name: i.route }
|
|
1855
1883
|
}, {
|
|
1856
|
-
default:
|
|
1884
|
+
default: q(() => [
|
|
1857
1885
|
Q(O(i.name), 1)
|
|
1858
1886
|
]),
|
|
1859
1887
|
_: 2
|
|
1860
1888
|
}, 1032, ["to"])
|
|
1861
|
-
], 10,
|
|
1889
|
+
], 10, f2))), 128))
|
|
1862
1890
|
])
|
|
1863
1891
|
]);
|
|
1864
1892
|
};
|
|
@@ -1885,11 +1913,11 @@ function on(e, t) {
|
|
|
1885
1913
|
}
|
|
1886
1914
|
return n;
|
|
1887
1915
|
}
|
|
1888
|
-
function
|
|
1916
|
+
function me(e) {
|
|
1889
1917
|
for (var t = 1; t < arguments.length; t++) {
|
|
1890
1918
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
1891
1919
|
t % 2 ? on(Object(n), !0).forEach(function(o) {
|
|
1892
|
-
|
|
1920
|
+
p2(e, o, n[o]);
|
|
1893
1921
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : on(Object(n)).forEach(function(o) {
|
|
1894
1922
|
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
|
|
1895
1923
|
});
|
|
@@ -1904,7 +1932,7 @@ function st(e) {
|
|
|
1904
1932
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1905
1933
|
}, st(e);
|
|
1906
1934
|
}
|
|
1907
|
-
function
|
|
1935
|
+
function p2(e, t, n) {
|
|
1908
1936
|
return t in e ? Object.defineProperty(e, t, {
|
|
1909
1937
|
value: n,
|
|
1910
1938
|
enumerable: !0,
|
|
@@ -1922,16 +1950,16 @@ function we() {
|
|
|
1922
1950
|
return e;
|
|
1923
1951
|
}, we.apply(this, arguments);
|
|
1924
1952
|
}
|
|
1925
|
-
function
|
|
1953
|
+
function g2(e, t) {
|
|
1926
1954
|
if (e == null) return {};
|
|
1927
1955
|
var n = {}, o = Object.keys(e), i, a;
|
|
1928
1956
|
for (a = 0; a < o.length; a++)
|
|
1929
1957
|
i = o[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
1930
1958
|
return n;
|
|
1931
1959
|
}
|
|
1932
|
-
function
|
|
1960
|
+
function m2(e, t) {
|
|
1933
1961
|
if (e == null) return {};
|
|
1934
|
-
var n =
|
|
1962
|
+
var n = g2(e, t), o, i;
|
|
1935
1963
|
if (Object.getOwnPropertySymbols) {
|
|
1936
1964
|
var a = Object.getOwnPropertySymbols(e);
|
|
1937
1965
|
for (i = 0; i < a.length; i++)
|
|
@@ -1939,16 +1967,16 @@ function g2(e, t) {
|
|
|
1939
1967
|
}
|
|
1940
1968
|
return n;
|
|
1941
1969
|
}
|
|
1942
|
-
var
|
|
1970
|
+
var v2 = "1.14.0";
|
|
1943
1971
|
function ye(e) {
|
|
1944
1972
|
if (typeof window < "u" && window.navigator)
|
|
1945
1973
|
return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
1946
1974
|
}
|
|
1947
|
-
var ke = ye(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), tt = ye(/Edge/i), an = ye(/firefox/i), Ye = ye(/safari/i) && !ye(/chrome/i) && !ye(/android/i), kn = ye(/iP(ad|od|hone)/i),
|
|
1975
|
+
var ke = ye(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), tt = ye(/Edge/i), an = ye(/firefox/i), Ye = ye(/safari/i) && !ye(/chrome/i) && !ye(/android/i), kn = ye(/iP(ad|od|hone)/i), b2 = ye(/chrome/i) && ye(/android/i), $n = {
|
|
1948
1976
|
capture: !1,
|
|
1949
1977
|
passive: !1
|
|
1950
1978
|
};
|
|
1951
|
-
function
|
|
1979
|
+
function A(e, t, n) {
|
|
1952
1980
|
e.addEventListener(t, n, !ke && $n);
|
|
1953
1981
|
}
|
|
1954
1982
|
function B(e, t, n) {
|
|
@@ -1970,17 +1998,17 @@ function ht(e, t) {
|
|
|
1970
1998
|
return !1;
|
|
1971
1999
|
}
|
|
1972
2000
|
}
|
|
1973
|
-
function
|
|
2001
|
+
function C2(e) {
|
|
1974
2002
|
return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
|
|
1975
2003
|
}
|
|
1976
|
-
function
|
|
2004
|
+
function pe(e, t, n, o) {
|
|
1977
2005
|
if (e) {
|
|
1978
2006
|
n = n || document;
|
|
1979
2007
|
do {
|
|
1980
2008
|
if (t != null && (t[0] === ">" ? e.parentNode === n && ht(e, t) : ht(e, t)) || o && e === n)
|
|
1981
2009
|
return e;
|
|
1982
2010
|
if (e === n) break;
|
|
1983
|
-
} while (e =
|
|
2011
|
+
} while (e = C2(e));
|
|
1984
2012
|
}
|
|
1985
2013
|
return null;
|
|
1986
2014
|
}
|
|
@@ -2024,14 +2052,14 @@ function En(e, t, n) {
|
|
|
2024
2052
|
}
|
|
2025
2053
|
return [];
|
|
2026
2054
|
}
|
|
2027
|
-
function
|
|
2055
|
+
function ge() {
|
|
2028
2056
|
var e = document.scrollingElement;
|
|
2029
2057
|
return e || document.documentElement;
|
|
2030
2058
|
}
|
|
2031
|
-
function
|
|
2059
|
+
function Y(e, t, n, o, i) {
|
|
2032
2060
|
if (!(!e.getBoundingClientRect && e !== window)) {
|
|
2033
2061
|
var a, l, r, s, u, f, c;
|
|
2034
|
-
if (e !== window && e.parentNode && e !==
|
|
2062
|
+
if (e !== window && e.parentNode && e !== ge() ? (a = e.getBoundingClientRect(), l = a.top, r = a.left, s = a.bottom, u = a.right, f = a.height, c = a.width) : (l = 0, r = 0, s = window.innerHeight, u = window.innerWidth, f = window.innerHeight, c = window.innerWidth), (t || n) && e !== window && (i = i || e.parentNode, !ke))
|
|
2035
2063
|
do
|
|
2036
2064
|
if (i && i.getBoundingClientRect && (T(i, "transform") !== "none" || n && T(i, "position") !== "static")) {
|
|
2037
2065
|
var v = i.getBoundingClientRect();
|
|
@@ -2054,17 +2082,17 @@ function W(e, t, n, o, i) {
|
|
|
2054
2082
|
}
|
|
2055
2083
|
}
|
|
2056
2084
|
function rn(e, t, n) {
|
|
2057
|
-
for (var o = xe(e, !0), i =
|
|
2058
|
-
var a =
|
|
2085
|
+
for (var o = xe(e, !0), i = Y(e)[t]; o; ) {
|
|
2086
|
+
var a = Y(o)[n], l = void 0;
|
|
2059
2087
|
if (l = i >= a, !l) return o;
|
|
2060
|
-
if (o ===
|
|
2088
|
+
if (o === ge()) break;
|
|
2061
2089
|
o = xe(o, !1);
|
|
2062
2090
|
}
|
|
2063
2091
|
return !1;
|
|
2064
2092
|
}
|
|
2065
2093
|
function je(e, t, n, o) {
|
|
2066
2094
|
for (var i = 0, a = 0, l = e.children; a < l.length; ) {
|
|
2067
|
-
if (l[a].style.display !== "none" && l[a] !== x.ghost && (o || l[a] !== x.dragged) &&
|
|
2095
|
+
if (l[a].style.display !== "none" && l[a] !== x.ghost && (o || l[a] !== x.dragged) && pe(l[a], n.draggable, e, !1)) {
|
|
2068
2096
|
if (i === t)
|
|
2069
2097
|
return l[a];
|
|
2070
2098
|
i++;
|
|
@@ -2078,7 +2106,7 @@ function Yt(e, t) {
|
|
|
2078
2106
|
n = n.previousElementSibling;
|
|
2079
2107
|
return n || null;
|
|
2080
2108
|
}
|
|
2081
|
-
function
|
|
2109
|
+
function se(e, t) {
|
|
2082
2110
|
var n = 0;
|
|
2083
2111
|
if (!e || !e.parentNode)
|
|
2084
2112
|
return -1;
|
|
@@ -2087,7 +2115,7 @@ function re(e, t) {
|
|
|
2087
2115
|
return n;
|
|
2088
2116
|
}
|
|
2089
2117
|
function sn(e) {
|
|
2090
|
-
var t = 0, n = 0, o =
|
|
2118
|
+
var t = 0, n = 0, o = ge();
|
|
2091
2119
|
if (e)
|
|
2092
2120
|
do {
|
|
2093
2121
|
var i = ze(e), a = i.a, l = i.d;
|
|
@@ -2095,7 +2123,7 @@ function sn(e) {
|
|
|
2095
2123
|
} while (e !== o && (e = e.parentNode));
|
|
2096
2124
|
return [t, n];
|
|
2097
2125
|
}
|
|
2098
|
-
function
|
|
2126
|
+
function y2(e, t) {
|
|
2099
2127
|
for (var n in e)
|
|
2100
2128
|
if (e.hasOwnProperty(n)) {
|
|
2101
2129
|
for (var o in t)
|
|
@@ -2104,27 +2132,27 @@ function C2(e, t) {
|
|
|
2104
2132
|
return -1;
|
|
2105
2133
|
}
|
|
2106
2134
|
function xe(e, t) {
|
|
2107
|
-
if (!e || !e.getBoundingClientRect) return
|
|
2135
|
+
if (!e || !e.getBoundingClientRect) return ge();
|
|
2108
2136
|
var n = e, o = !1;
|
|
2109
2137
|
do
|
|
2110
2138
|
if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
|
|
2111
2139
|
var i = T(n);
|
|
2112
2140
|
if (n.clientWidth < n.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
|
|
2113
|
-
if (!n.getBoundingClientRect || n === document.body) return
|
|
2141
|
+
if (!n.getBoundingClientRect || n === document.body) return ge();
|
|
2114
2142
|
if (o || t) return n;
|
|
2115
2143
|
o = !0;
|
|
2116
2144
|
}
|
|
2117
2145
|
}
|
|
2118
2146
|
while (n = n.parentNode);
|
|
2119
|
-
return
|
|
2147
|
+
return ge();
|
|
2120
2148
|
}
|
|
2121
|
-
function
|
|
2149
|
+
function w2(e, t) {
|
|
2122
2150
|
if (e && t)
|
|
2123
2151
|
for (var n in t)
|
|
2124
2152
|
t.hasOwnProperty(n) && (e[n] = t[n]);
|
|
2125
2153
|
return e;
|
|
2126
2154
|
}
|
|
2127
|
-
function
|
|
2155
|
+
function xt(e, t) {
|
|
2128
2156
|
return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
|
|
2129
2157
|
}
|
|
2130
2158
|
var Ue;
|
|
@@ -2138,7 +2166,7 @@ function Dn(e, t) {
|
|
|
2138
2166
|
}
|
|
2139
2167
|
};
|
|
2140
2168
|
}
|
|
2141
|
-
function
|
|
2169
|
+
function S2() {
|
|
2142
2170
|
clearTimeout(Ue), Ue = void 0;
|
|
2143
2171
|
}
|
|
2144
2172
|
function Tn(e, t, n) {
|
|
@@ -2149,7 +2177,7 @@ function xn(e) {
|
|
|
2149
2177
|
return t && t.dom ? t.dom(e).cloneNode(!0) : n ? n(e).clone(!0)[0] : e.cloneNode(!0);
|
|
2150
2178
|
}
|
|
2151
2179
|
var ae = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
2152
|
-
function
|
|
2180
|
+
function k2() {
|
|
2153
2181
|
var e = [], t;
|
|
2154
2182
|
return {
|
|
2155
2183
|
captureAnimationState: function() {
|
|
@@ -2159,9 +2187,9 @@ function S2() {
|
|
|
2159
2187
|
if (!(T(i, "display") === "none" || i === x.ghost)) {
|
|
2160
2188
|
e.push({
|
|
2161
2189
|
target: i,
|
|
2162
|
-
rect:
|
|
2190
|
+
rect: Y(i)
|
|
2163
2191
|
});
|
|
2164
|
-
var a =
|
|
2192
|
+
var a = me({}, e[e.length - 1].rect);
|
|
2165
2193
|
if (i.thisAnimationDuration) {
|
|
2166
2194
|
var l = ze(i, !0);
|
|
2167
2195
|
l && (a.top -= l.f, a.left -= l.e);
|
|
@@ -2175,7 +2203,7 @@ function S2() {
|
|
|
2175
2203
|
e.push(o);
|
|
2176
2204
|
},
|
|
2177
2205
|
removeAnimationState: function(o) {
|
|
2178
|
-
e.splice(
|
|
2206
|
+
e.splice(y2(e, {
|
|
2179
2207
|
target: o
|
|
2180
2208
|
}), 1);
|
|
2181
2209
|
},
|
|
@@ -2187,9 +2215,9 @@ function S2() {
|
|
|
2187
2215
|
}
|
|
2188
2216
|
var a = !1, l = 0;
|
|
2189
2217
|
e.forEach(function(r) {
|
|
2190
|
-
var s = 0, u = r.target, f = u.fromRect, c =
|
|
2191
|
-
M && (c.top -= M.f, c.left -= M.e), u.toRect = c, u.thisAnimationDuration &&
|
|
2192
|
-
(w.top - c.top) / (w.left - c.left) === (f.top - c.top) / (f.left - c.left) && (s =
|
|
2218
|
+
var s = 0, u = r.target, f = u.fromRect, c = Y(u), v = u.prevFromRect, $ = u.prevToRect, w = r.rect, M = ze(u, !0);
|
|
2219
|
+
M && (c.top -= M.f, c.left -= M.e), u.toRect = c, u.thisAnimationDuration && xt(v, c) && !xt(f, c) && // Make sure animatingRect is on line between toRect & fromRect
|
|
2220
|
+
(w.top - c.top) / (w.left - c.left) === (f.top - c.top) / (f.left - c.left) && (s = E2(w, v, $, i.options)), xt(c, f) || (u.prevFromRect = f, u.prevToRect = c, s || (s = i.options.animation), i.animate(u, w, c, s)), s && (a = !0, l = Math.max(l, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
|
|
2193
2221
|
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
2194
2222
|
}, s), u.thisAnimationDuration = s);
|
|
2195
2223
|
}), clearTimeout(t), a ? t = setTimeout(function() {
|
|
@@ -2200,25 +2228,25 @@ function S2() {
|
|
|
2200
2228
|
if (l) {
|
|
2201
2229
|
T(o, "transition", ""), T(o, "transform", "");
|
|
2202
2230
|
var r = ze(this.el), s = r && r.a, u = r && r.d, f = (i.left - a.left) / (s || 1), c = (i.top - a.top) / (u || 1);
|
|
2203
|
-
o.animatingX = !!f, o.animatingY = !!c, T(o, "transform", "translate3d(" + f + "px," + c + "px,0)"), this.forRepaintDummy =
|
|
2231
|
+
o.animatingX = !!f, o.animatingY = !!c, T(o, "transform", "translate3d(" + f + "px," + c + "px,0)"), this.forRepaintDummy = $2(o), T(o, "transition", "transform " + l + "ms" + (this.options.easing ? " " + this.options.easing : "")), T(o, "transform", "translate3d(0,0,0)"), typeof o.animated == "number" && clearTimeout(o.animated), o.animated = setTimeout(function() {
|
|
2204
2232
|
T(o, "transition", ""), T(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
|
|
2205
2233
|
}, l);
|
|
2206
2234
|
}
|
|
2207
2235
|
}
|
|
2208
2236
|
};
|
|
2209
2237
|
}
|
|
2210
|
-
function
|
|
2238
|
+
function $2(e) {
|
|
2211
2239
|
return e.offsetWidth;
|
|
2212
2240
|
}
|
|
2213
|
-
function
|
|
2241
|
+
function E2(e, t, n, o) {
|
|
2214
2242
|
return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - n.top, 2) + Math.pow(t.left - n.left, 2)) * o.animation;
|
|
2215
2243
|
}
|
|
2216
|
-
var Ie = [],
|
|
2244
|
+
var Ie = [], Lt = {
|
|
2217
2245
|
initializeByDefault: !0
|
|
2218
2246
|
}, nt = {
|
|
2219
2247
|
mount: function(t) {
|
|
2220
|
-
for (var n in
|
|
2221
|
-
|
|
2248
|
+
for (var n in Lt)
|
|
2249
|
+
Lt.hasOwnProperty(n) && !(n in t) && (t[n] = Lt[n]);
|
|
2222
2250
|
Ie.forEach(function(o) {
|
|
2223
2251
|
if (o.pluginName === t.pluginName)
|
|
2224
2252
|
throw "Sortable: Cannot mount plugin ".concat(t.pluginName, " more than once");
|
|
@@ -2231,9 +2259,9 @@ var Ie = [], xt = {
|
|
|
2231
2259
|
};
|
|
2232
2260
|
var a = t + "Global";
|
|
2233
2261
|
Ie.forEach(function(l) {
|
|
2234
|
-
n[l.pluginName] && (n[l.pluginName][a] && n[l.pluginName][a](
|
|
2262
|
+
n[l.pluginName] && (n[l.pluginName][a] && n[l.pluginName][a](me({
|
|
2235
2263
|
sortable: n
|
|
2236
|
-
}, o)), n.options[l.pluginName] && n[l.pluginName][t] && n[l.pluginName][t](
|
|
2264
|
+
}, o)), n.options[l.pluginName] && n[l.pluginName][t] && n[l.pluginName][t](me({
|
|
2237
2265
|
sortable: n
|
|
2238
2266
|
}, o)));
|
|
2239
2267
|
});
|
|
@@ -2265,7 +2293,7 @@ var Ie = [], xt = {
|
|
|
2265
2293
|
}), i;
|
|
2266
2294
|
}
|
|
2267
2295
|
};
|
|
2268
|
-
function
|
|
2296
|
+
function D2(e) {
|
|
2269
2297
|
var t = e.sortable, n = e.rootEl, o = e.name, i = e.targetEl, a = e.cloneEl, l = e.toEl, r = e.fromEl, s = e.oldIndex, u = e.newIndex, f = e.oldDraggableIndex, c = e.newDraggableIndex, v = e.originalEvent, $ = e.putSortable, w = e.extraEventProperties;
|
|
2270
2298
|
if (t = t || n && n[ae], !!t) {
|
|
2271
2299
|
var M, E = t.options, D = "on" + o.charAt(0).toUpperCase() + o.substr(1);
|
|
@@ -2273,19 +2301,19 @@ function E2(e) {
|
|
|
2273
2301
|
bubbles: !0,
|
|
2274
2302
|
cancelable: !0
|
|
2275
2303
|
}) : (M = document.createEvent("Event"), M.initEvent(o, !0, !0)), M.to = l || n, M.from = r || n, M.item = i || n, M.clone = a, M.oldIndex = s, M.newIndex = u, M.oldDraggableIndex = f, M.newDraggableIndex = c, M.originalEvent = v, M.pullMode = $ ? $.lastPutMode : void 0;
|
|
2276
|
-
var b =
|
|
2304
|
+
var b = me(me({}, w), nt.getEventProperties(o, t));
|
|
2277
2305
|
for (var C in b)
|
|
2278
2306
|
M[C] = b[C];
|
|
2279
2307
|
n && n.dispatchEvent(M), E[D] && E[D].call(t, M);
|
|
2280
2308
|
}
|
|
2281
2309
|
}
|
|
2282
|
-
var
|
|
2283
|
-
var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, a =
|
|
2284
|
-
nt.pluginEvent.bind(x)(t, n,
|
|
2310
|
+
var T2 = ["evt"], te = function(t, n) {
|
|
2311
|
+
var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, a = m2(o, T2);
|
|
2312
|
+
nt.pluginEvent.bind(x)(t, n, me({
|
|
2285
2313
|
dragEl: m,
|
|
2286
2314
|
parentEl: j,
|
|
2287
2315
|
ghostEl: L,
|
|
2288
|
-
rootEl:
|
|
2316
|
+
rootEl: z,
|
|
2289
2317
|
nextEl: Me,
|
|
2290
2318
|
lastDownEl: ut,
|
|
2291
2319
|
cloneEl: R,
|
|
@@ -2316,26 +2344,26 @@ var D2 = ["evt"], te = function(t, n) {
|
|
|
2316
2344
|
}, a));
|
|
2317
2345
|
};
|
|
2318
2346
|
function ee(e) {
|
|
2319
|
-
|
|
2347
|
+
D2(me({
|
|
2320
2348
|
putSortable: X,
|
|
2321
2349
|
cloneEl: R,
|
|
2322
2350
|
targetEl: m,
|
|
2323
|
-
rootEl:
|
|
2351
|
+
rootEl: z,
|
|
2324
2352
|
oldIndex: Fe,
|
|
2325
2353
|
oldDraggableIndex: Xe,
|
|
2326
2354
|
newIndex: ie,
|
|
2327
2355
|
newDraggableIndex: Ee
|
|
2328
2356
|
}, e));
|
|
2329
2357
|
}
|
|
2330
|
-
var m, j, L,
|
|
2331
|
-
if (
|
|
2358
|
+
var m, j, L, z, Me, ut, R, Te, Fe, ie, Xe, Ee, it, X, Pe = !1, pt = !1, gt = [], Le, ce, Ot, Mt, un, dn, Ge, Ae, Ke, Qe = !1, at = !1, dt, K, _t = [], zt = !1, mt = [], $t = typeof document < "u", lt = kn, cn = tt || ke ? "cssFloat" : "float", x2 = $t && !b2 && !kn && "draggable" in document.createElement("div"), Ln = function() {
|
|
2359
|
+
if ($t) {
|
|
2332
2360
|
if (ke)
|
|
2333
2361
|
return !1;
|
|
2334
2362
|
var e = document.createElement("x");
|
|
2335
2363
|
return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
|
|
2336
2364
|
}
|
|
2337
2365
|
}(), On = function(t, n) {
|
|
2338
|
-
var o = T(t), i = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), a = je(t, 0, n), l = je(t, 1, n), r = a && T(a), s = l && T(l), u = r && parseInt(r.marginLeft) + parseInt(r.marginRight) +
|
|
2366
|
+
var o = T(t), i = parseInt(o.width) - parseInt(o.paddingLeft) - parseInt(o.paddingRight) - parseInt(o.borderLeftWidth) - parseInt(o.borderRightWidth), a = je(t, 0, n), l = je(t, 1, n), r = a && T(a), s = l && T(l), u = r && parseInt(r.marginLeft) + parseInt(r.marginRight) + Y(a).width, f = s && parseInt(s.marginLeft) + parseInt(s.marginRight) + Y(l).width;
|
|
2339
2367
|
if (o.display === "flex")
|
|
2340
2368
|
return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
2341
2369
|
if (o.display === "grid")
|
|
@@ -2345,15 +2373,15 @@ var m, j, L, V, Me, ut, R, Te, Fe, ie, Xe, Ee, it, X, Ae = !1, pt = !1, gt = [],
|
|
|
2345
2373
|
return l && (s.clear === "both" || s.clear === c) ? "vertical" : "horizontal";
|
|
2346
2374
|
}
|
|
2347
2375
|
return a && (r.display === "block" || r.display === "flex" || r.display === "table" || r.display === "grid" || u >= i && o[cn] === "none" || l && o[cn] === "none" && u + f > i) ? "vertical" : "horizontal";
|
|
2348
|
-
},
|
|
2376
|
+
}, L2 = function(t, n, o) {
|
|
2349
2377
|
var i = o ? t.left : t.top, a = o ? t.right : t.bottom, l = o ? t.width : t.height, r = o ? n.left : n.top, s = o ? n.right : n.bottom, u = o ? n.width : n.height;
|
|
2350
2378
|
return i === r || a === s || i + l / 2 === r + u / 2;
|
|
2351
|
-
},
|
|
2379
|
+
}, O2 = function(t, n) {
|
|
2352
2380
|
var o;
|
|
2353
2381
|
return gt.some(function(i) {
|
|
2354
2382
|
var a = i[ae].options.emptyInsertThreshold;
|
|
2355
2383
|
if (!(!a || Yt(i))) {
|
|
2356
|
-
var l =
|
|
2384
|
+
var l = Y(i), r = t >= l.left - a && t <= l.right + a, s = n >= l.top - a && n <= l.bottom + a;
|
|
2357
2385
|
if (r && s)
|
|
2358
2386
|
return o = i;
|
|
2359
2387
|
}
|
|
@@ -2383,14 +2411,14 @@ var m, j, L, V, Me, ut, R, Te, Fe, ie, Xe, Ee, it, X, Ae = !1, pt = !1, gt = [],
|
|
|
2383
2411
|
}, Bn = function() {
|
|
2384
2412
|
!Ln && L && T(L, "display", "");
|
|
2385
2413
|
};
|
|
2386
|
-
|
|
2414
|
+
$t && document.addEventListener("click", function(e) {
|
|
2387
2415
|
if (pt)
|
|
2388
2416
|
return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), pt = !1, !1;
|
|
2389
2417
|
}, !0);
|
|
2390
2418
|
var Oe = function(t) {
|
|
2391
2419
|
if (m) {
|
|
2392
2420
|
t = t.touches ? t.touches[0] : t;
|
|
2393
|
-
var n =
|
|
2421
|
+
var n = O2(t.clientX, t.clientY);
|
|
2394
2422
|
if (n) {
|
|
2395
2423
|
var o = {};
|
|
2396
2424
|
for (var i in t)
|
|
@@ -2398,7 +2426,7 @@ var Oe = function(t) {
|
|
|
2398
2426
|
o.target = o.rootEl = n, o.preventDefault = void 0, o.stopPropagation = void 0, n[ae]._onDragOver(o);
|
|
2399
2427
|
}
|
|
2400
2428
|
}
|
|
2401
|
-
},
|
|
2429
|
+
}, M2 = function(t) {
|
|
2402
2430
|
m && m.parentNode[ae]._isOutsideThisEl(t.target);
|
|
2403
2431
|
};
|
|
2404
2432
|
function x(e, t) {
|
|
@@ -2456,13 +2484,13 @@ function x(e, t) {
|
|
|
2456
2484
|
Mn(t);
|
|
2457
2485
|
for (var i in this)
|
|
2458
2486
|
i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
|
|
2459
|
-
this.nativeDraggable = t.forceFallback ? !1 :
|
|
2487
|
+
this.nativeDraggable = t.forceFallback ? !1 : x2, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? A(e, "pointerdown", this._onTapStart) : (A(e, "mousedown", this._onTapStart), A(e, "touchstart", this._onTapStart)), this.nativeDraggable && (A(e, "dragover", this), A(e, "dragenter", this)), gt.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), we(this, k2());
|
|
2460
2488
|
}
|
|
2461
2489
|
x.prototype = /** @lends Sortable.prototype */
|
|
2462
2490
|
{
|
|
2463
2491
|
constructor: x,
|
|
2464
2492
|
_isOutsideThisEl: function(t) {
|
|
2465
|
-
!this.el.contains(t) && t !== this.el && (
|
|
2493
|
+
!this.el.contains(t) && t !== this.el && (Ae = null);
|
|
2466
2494
|
},
|
|
2467
2495
|
_getDirection: function(t, n) {
|
|
2468
2496
|
return typeof this.options.direction == "function" ? this.options.direction.call(this, t, n, m) : this.options.direction;
|
|
@@ -2470,8 +2498,8 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2470
2498
|
_onTapStart: function(t) {
|
|
2471
2499
|
if (t.cancelable) {
|
|
2472
2500
|
var n = this, o = this.el, i = this.options, a = i.preventOnFilter, l = t.type, r = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, s = (r || t).target, u = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || s, f = i.filter;
|
|
2473
|
-
if (
|
|
2474
|
-
if (Fe =
|
|
2501
|
+
if (V2(o), !m && !(/mousedown|pointerdown/.test(l) && t.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Ye && s && s.tagName.toUpperCase() === "SELECT") && (s = pe(s, i.draggable, o, !1), !(s && s.animated) && ut !== s)) {
|
|
2502
|
+
if (Fe = se(s), Xe = se(s, i.draggable), typeof f == "function") {
|
|
2475
2503
|
if (f.call(this, t, s, this)) {
|
|
2476
2504
|
ee({
|
|
2477
2505
|
sortable: n,
|
|
@@ -2486,7 +2514,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2486
2514
|
return;
|
|
2487
2515
|
}
|
|
2488
2516
|
} else if (f && (f = f.split(",").some(function(c) {
|
|
2489
|
-
if (c =
|
|
2517
|
+
if (c = pe(u, c.trim(), o, !1), c)
|
|
2490
2518
|
return ee({
|
|
2491
2519
|
sortable: n,
|
|
2492
2520
|
rootEl: c,
|
|
@@ -2501,15 +2529,15 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2501
2529
|
a && t.cancelable && t.preventDefault();
|
|
2502
2530
|
return;
|
|
2503
2531
|
}
|
|
2504
|
-
i.handle && !
|
|
2532
|
+
i.handle && !pe(u, i.handle, o, !1) || this._prepareDragStart(t, r, s);
|
|
2505
2533
|
}
|
|
2506
2534
|
}
|
|
2507
2535
|
},
|
|
2508
2536
|
_prepareDragStart: function(t, n, o) {
|
|
2509
2537
|
var i = this, a = i.el, l = i.options, r = a.ownerDocument, s;
|
|
2510
2538
|
if (o && !m && o.parentNode === a) {
|
|
2511
|
-
var u =
|
|
2512
|
-
if (
|
|
2539
|
+
var u = Y(o);
|
|
2540
|
+
if (z = a, m = o, j = m.parentNode, Me = m.nextSibling, ut = o, it = l.group, x.dragged = m, Le = {
|
|
2513
2541
|
target: m,
|
|
2514
2542
|
clientX: (n || t).clientX,
|
|
2515
2543
|
clientY: (n || t).clientY
|
|
@@ -2526,15 +2554,15 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2526
2554
|
originalEvent: t
|
|
2527
2555
|
}), oe(m, l.chosenClass, !0);
|
|
2528
2556
|
}, l.ignore.split(",").forEach(function(f) {
|
|
2529
|
-
En(m, f.trim(),
|
|
2530
|
-
}),
|
|
2557
|
+
En(m, f.trim(), Bt);
|
|
2558
|
+
}), A(r, "dragover", Oe), A(r, "mousemove", Oe), A(r, "touchmove", Oe), A(r, "mouseup", i._onDrop), A(r, "touchend", i._onDrop), A(r, "touchcancel", i._onDrop), an && this.nativeDraggable && (this.options.touchStartThreshold = 4, m.draggable = !0), te("delayStart", this, {
|
|
2531
2559
|
evt: t
|
|
2532
2560
|
}), l.delay && (!l.delayOnTouchOnly || n) && (!this.nativeDraggable || !(tt || ke))) {
|
|
2533
2561
|
if (x.eventCanceled) {
|
|
2534
2562
|
this._onDrop();
|
|
2535
2563
|
return;
|
|
2536
2564
|
}
|
|
2537
|
-
|
|
2565
|
+
A(r, "mouseup", i._disableDelayedDrag), A(r, "touchend", i._disableDelayedDrag), A(r, "touchcancel", i._disableDelayedDrag), A(r, "mousemove", i._delayedDragTouchMoveHandler), A(r, "touchmove", i._delayedDragTouchMoveHandler), l.supportPointer && A(r, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, l.delay);
|
|
2538
2566
|
} else
|
|
2539
2567
|
s();
|
|
2540
2568
|
}
|
|
@@ -2544,14 +2572,14 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2544
2572
|
Math.max(Math.abs(n.clientX - this._lastX), Math.abs(n.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
|
|
2545
2573
|
},
|
|
2546
2574
|
_disableDelayedDrag: function() {
|
|
2547
|
-
m &&
|
|
2575
|
+
m && Bt(m), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
|
|
2548
2576
|
},
|
|
2549
2577
|
_disableDelayedDragEvents: function() {
|
|
2550
2578
|
var t = this.el.ownerDocument;
|
|
2551
2579
|
B(t, "mouseup", this._disableDelayedDrag), B(t, "touchend", this._disableDelayedDrag), B(t, "touchcancel", this._disableDelayedDrag), B(t, "mousemove", this._delayedDragTouchMoveHandler), B(t, "touchmove", this._delayedDragTouchMoveHandler), B(t, "pointermove", this._delayedDragTouchMoveHandler);
|
|
2552
2580
|
},
|
|
2553
2581
|
_triggerDragStart: function(t, n) {
|
|
2554
|
-
n = n || t.pointerType == "touch" && t, !this.nativeDraggable || n ? this.options.supportPointer ?
|
|
2582
|
+
n = n || t.pointerType == "touch" && t, !this.nativeDraggable || n ? this.options.supportPointer ? A(document, "pointermove", this._onTouchMove) : n ? A(document, "touchmove", this._onTouchMove) : A(document, "mousemove", this._onTouchMove) : (A(m, "dragend", this), A(z, "dragstart", this._onDragStart));
|
|
2555
2583
|
try {
|
|
2556
2584
|
document.selection ? ct(function() {
|
|
2557
2585
|
document.selection.empty();
|
|
@@ -2560,10 +2588,10 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2560
2588
|
}
|
|
2561
2589
|
},
|
|
2562
2590
|
_dragStarted: function(t, n) {
|
|
2563
|
-
if (
|
|
2591
|
+
if (Pe = !1, z && m) {
|
|
2564
2592
|
te("dragStarted", this, {
|
|
2565
2593
|
evt: n
|
|
2566
|
-
}), this.nativeDraggable &&
|
|
2594
|
+
}), this.nativeDraggable && A(document, "dragover", M2);
|
|
2567
2595
|
var o = this.options;
|
|
2568
2596
|
!t && oe(m, o.dragClass, !1), oe(m, o.ghostClass, !0), x.active = this, t && this._appendGhost(), ee({
|
|
2569
2597
|
sortable: this,
|
|
@@ -2574,17 +2602,17 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2574
2602
|
this._nulling();
|
|
2575
2603
|
},
|
|
2576
2604
|
_emulateDragOver: function() {
|
|
2577
|
-
if (
|
|
2578
|
-
this._lastX =
|
|
2579
|
-
for (var t = document.elementFromPoint(
|
|
2605
|
+
if (ce) {
|
|
2606
|
+
this._lastX = ce.clientX, this._lastY = ce.clientY, _n();
|
|
2607
|
+
for (var t = document.elementFromPoint(ce.clientX, ce.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(ce.clientX, ce.clientY), t !== n); )
|
|
2580
2608
|
n = t;
|
|
2581
2609
|
if (m.parentNode[ae]._isOutsideThisEl(t), n)
|
|
2582
2610
|
do {
|
|
2583
2611
|
if (n[ae]) {
|
|
2584
2612
|
var o = void 0;
|
|
2585
2613
|
if (o = n[ae]._onDragOver({
|
|
2586
|
-
clientX:
|
|
2587
|
-
clientY:
|
|
2614
|
+
clientX: ce.clientX,
|
|
2615
|
+
clientY: ce.clientY,
|
|
2588
2616
|
target: t,
|
|
2589
2617
|
rootEl: n
|
|
2590
2618
|
}), o && !this.options.dragoverBubble)
|
|
@@ -2597,14 +2625,14 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2597
2625
|
},
|
|
2598
2626
|
_onTouchMove: function(t) {
|
|
2599
2627
|
if (Le) {
|
|
2600
|
-
var n = this.options, o = n.fallbackTolerance, i = n.fallbackOffset, a = t.touches ? t.touches[0] : t, l = L && ze(L, !0), r = L && l && l.a, s = L && l && l.d, u = lt && K && sn(K), f = (a.clientX - Le.clientX + i.x) / (r || 1) + (u ? u[0] -
|
|
2601
|
-
if (!x.active && !
|
|
2628
|
+
var n = this.options, o = n.fallbackTolerance, i = n.fallbackOffset, a = t.touches ? t.touches[0] : t, l = L && ze(L, !0), r = L && l && l.a, s = L && l && l.d, u = lt && K && sn(K), f = (a.clientX - Le.clientX + i.x) / (r || 1) + (u ? u[0] - _t[0] : 0) / (r || 1), c = (a.clientY - Le.clientY + i.y) / (s || 1) + (u ? u[1] - _t[1] : 0) / (s || 1);
|
|
2629
|
+
if (!x.active && !Pe) {
|
|
2602
2630
|
if (o && Math.max(Math.abs(a.clientX - this._lastX), Math.abs(a.clientY - this._lastY)) < o)
|
|
2603
2631
|
return;
|
|
2604
2632
|
this._onDragStart(t, !0);
|
|
2605
2633
|
}
|
|
2606
2634
|
if (L) {
|
|
2607
|
-
l ? (l.e += f - (
|
|
2635
|
+
l ? (l.e += f - (Ot || 0), l.f += c - (Mt || 0)) : l = {
|
|
2608
2636
|
a: 1,
|
|
2609
2637
|
b: 0,
|
|
2610
2638
|
c: 0,
|
|
@@ -2613,18 +2641,18 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2613
2641
|
f: c
|
|
2614
2642
|
};
|
|
2615
2643
|
var v = "matrix(".concat(l.a, ",").concat(l.b, ",").concat(l.c, ",").concat(l.d, ",").concat(l.e, ",").concat(l.f, ")");
|
|
2616
|
-
T(L, "webkitTransform", v), T(L, "mozTransform", v), T(L, "msTransform", v), T(L, "transform", v),
|
|
2644
|
+
T(L, "webkitTransform", v), T(L, "mozTransform", v), T(L, "msTransform", v), T(L, "transform", v), Ot = f, Mt = c, ce = a;
|
|
2617
2645
|
}
|
|
2618
2646
|
t.cancelable && t.preventDefault();
|
|
2619
2647
|
}
|
|
2620
2648
|
},
|
|
2621
2649
|
_appendGhost: function() {
|
|
2622
2650
|
if (!L) {
|
|
2623
|
-
var t = this.options.fallbackOnBody ? document.body :
|
|
2651
|
+
var t = this.options.fallbackOnBody ? document.body : z, n = Y(m, !0, lt, !0, t), o = this.options;
|
|
2624
2652
|
if (lt) {
|
|
2625
2653
|
for (K = t; T(K, "position") === "static" && T(K, "transform") === "none" && K !== document; )
|
|
2626
2654
|
K = K.parentNode;
|
|
2627
|
-
K !== document.body && K !== document.documentElement ? (K === document && (K =
|
|
2655
|
+
K !== document.body && K !== document.documentElement ? (K === document && (K = ge()), n.top += K.scrollTop, n.left += K.scrollLeft) : K = ge(), _t = sn(K);
|
|
2628
2656
|
}
|
|
2629
2657
|
L = m.cloneNode(!0), oe(L, o.ghostClass, !1), oe(L, o.fallbackClass, !0), oe(L, o.dragClass, !0), T(L, "transition", ""), T(L, "transform", ""), T(L, "box-sizing", "border-box"), T(L, "margin", 0), T(L, "top", n.top), T(L, "left", n.left), T(L, "width", n.width), T(L, "height", n.height), T(L, "opacity", "0.8"), T(L, "position", lt ? "absolute" : "fixed"), T(L, "zIndex", "100000"), T(L, "pointerEvents", "none"), x.ghost = L, t.appendChild(L), T(L, "transform-origin", un / parseInt(L.style.width) * 100 + "% " + dn / parseInt(L.style.height) * 100 + "%");
|
|
2630
2658
|
}
|
|
@@ -2638,18 +2666,18 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2638
2666
|
return;
|
|
2639
2667
|
}
|
|
2640
2668
|
te("setupClone", this), x.eventCanceled || (R = xn(m), R.draggable = !1, R.style["will-change"] = "", this._hideClone(), oe(R, this.options.chosenClass, !1), x.clone = R), o.cloneId = ct(function() {
|
|
2641
|
-
te("clone", o), !x.eventCanceled && (o.options.removeCloneOnHide ||
|
|
2669
|
+
te("clone", o), !x.eventCanceled && (o.options.removeCloneOnHide || z.insertBefore(R, m), o._hideClone(), ee({
|
|
2642
2670
|
sortable: o,
|
|
2643
2671
|
name: "clone"
|
|
2644
2672
|
}));
|
|
2645
|
-
}), !n && oe(m, a.dragClass, !0), n ? (pt = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (B(document, "mouseup", o._onDrop), B(document, "touchend", o._onDrop), B(document, "touchcancel", o._onDrop), i && (i.effectAllowed = "move", a.setData && a.setData.call(o, i, m)),
|
|
2673
|
+
}), !n && oe(m, a.dragClass, !0), n ? (pt = !0, o._loopId = setInterval(o._emulateDragOver, 50)) : (B(document, "mouseup", o._onDrop), B(document, "touchend", o._onDrop), B(document, "touchcancel", o._onDrop), i && (i.effectAllowed = "move", a.setData && a.setData.call(o, i, m)), A(document, "drop", o), T(m, "transform", "translateZ(0)")), Pe = !0, o._dragStartId = ct(o._dragStarted.bind(o, n, t)), A(document, "selectstart", o), Ge = !0, Ye && T(document.body, "user-select", "none");
|
|
2646
2674
|
},
|
|
2647
2675
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
2648
2676
|
_onDragOver: function(t) {
|
|
2649
2677
|
var n = this.el, o = t.target, i, a, l, r = this.options, s = r.group, u = x.active, f = it === s, c = r.sort, v = X || u, $, w = this, M = !1;
|
|
2650
|
-
if (
|
|
2678
|
+
if (zt) return;
|
|
2651
2679
|
function E(He, Nn) {
|
|
2652
|
-
te(He, w,
|
|
2680
|
+
te(He, w, me({
|
|
2653
2681
|
evt: t,
|
|
2654
2682
|
isOwner: f,
|
|
2655
2683
|
axis: $ ? "vertical" : "horizontal",
|
|
@@ -2661,7 +2689,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2661
2689
|
target: o,
|
|
2662
2690
|
completed: b,
|
|
2663
2691
|
onMove: function(Kt, Fn) {
|
|
2664
|
-
return rt(
|
|
2692
|
+
return rt(z, n, m, i, Kt, Y(Kt), t, Fn);
|
|
2665
2693
|
},
|
|
2666
2694
|
changed: C
|
|
2667
2695
|
}, Nn));
|
|
@@ -2674,10 +2702,10 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2674
2702
|
insertion: He
|
|
2675
2703
|
}), He && (f ? u._hideClone() : u._showClone(w), w !== v && (oe(m, X ? X.options.ghostClass : u.options.ghostClass, !1), oe(m, r.ghostClass, !0)), X !== w && w !== x.active ? X = w : w === x.active && X && (X = null), v === w && (w._ignoreWhileAnimating = o), w.animateAll(function() {
|
|
2676
2704
|
E("dragOverAnimationComplete"), w._ignoreWhileAnimating = null;
|
|
2677
|
-
}), w !== v && (v.animateAll(), v._ignoreWhileAnimating = null)), (o === m && !m.animated || o === n && !o.animated) && (
|
|
2705
|
+
}), w !== v && (v.animateAll(), v._ignoreWhileAnimating = null)), (o === m && !m.animated || o === n && !o.animated) && (Ae = null), !r.dragoverBubble && !t.rootEl && o !== document && (m.parentNode[ae]._isOutsideThisEl(t.target), !He && Oe(t)), !r.dragoverBubble && t.stopPropagation && t.stopPropagation(), M = !0;
|
|
2678
2706
|
}
|
|
2679
2707
|
function C() {
|
|
2680
|
-
ie =
|
|
2708
|
+
ie = se(m), Ee = se(m, r.draggable), ee({
|
|
2681
2709
|
sortable: w,
|
|
2682
2710
|
name: "change",
|
|
2683
2711
|
toEl: n,
|
|
@@ -2686,44 +2714,44 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2686
2714
|
originalEvent: t
|
|
2687
2715
|
});
|
|
2688
2716
|
}
|
|
2689
|
-
if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), o =
|
|
2717
|
+
if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), o = pe(o, r.draggable, n, !0), E("dragOver"), x.eventCanceled) return M;
|
|
2690
2718
|
if (m.contains(t.target) || o.animated && o.animatingX && o.animatingY || w._ignoreWhileAnimating === o)
|
|
2691
2719
|
return b(!1);
|
|
2692
|
-
if (pt = !1, u && !r.disabled && (f ? c || (l = j !==
|
|
2693
|
-
if ($ = this._getDirection(t, o) === "vertical", i =
|
|
2720
|
+
if (pt = !1, u && !r.disabled && (f ? c || (l = j !== z) : X === this || (this.lastPutMode = it.checkPull(this, u, m, t)) && s.checkPut(this, u, m, t))) {
|
|
2721
|
+
if ($ = this._getDirection(t, o) === "vertical", i = Y(m), E("dragOverValid"), x.eventCanceled) return M;
|
|
2694
2722
|
if (l)
|
|
2695
|
-
return j =
|
|
2723
|
+
return j = z, D(), this._hideClone(), E("revert"), x.eventCanceled || (Me ? z.insertBefore(m, Me) : z.appendChild(m)), b(!0);
|
|
2696
2724
|
var g = Yt(n, r.draggable);
|
|
2697
|
-
if (!g ||
|
|
2725
|
+
if (!g || A2(t, $, this) && !g.animated) {
|
|
2698
2726
|
if (g === m)
|
|
2699
2727
|
return b(!1);
|
|
2700
|
-
if (g && n === t.target && (o = g), o && (a =
|
|
2728
|
+
if (g && n === t.target && (o = g), o && (a = Y(o)), rt(z, n, m, i, o, a, t, !!o) !== !1)
|
|
2701
2729
|
return D(), n.appendChild(m), j = n, C(), b(!0);
|
|
2702
|
-
} else if (g &&
|
|
2730
|
+
} else if (g && I2(t, $, this)) {
|
|
2703
2731
|
var S = je(n, 0, r, !0);
|
|
2704
2732
|
if (S === m)
|
|
2705
2733
|
return b(!1);
|
|
2706
|
-
if (o = S, a =
|
|
2734
|
+
if (o = S, a = Y(o), rt(z, n, m, i, o, a, t, !1) !== !1)
|
|
2707
2735
|
return D(), n.insertBefore(m, S), j = n, C(), b(!0);
|
|
2708
2736
|
} else if (o.parentNode === n) {
|
|
2709
|
-
a =
|
|
2710
|
-
var y = 0,
|
|
2711
|
-
|
|
2712
|
-
var
|
|
2737
|
+
a = Y(o);
|
|
2738
|
+
var y = 0, V, J = m.parentNode !== n, U = !L2(m.animated && m.toRect || i, o.animated && o.toRect || a, $), he = $ ? "top" : "left", ne = rn(o, "top", "top") || rn(m, "top", "top"), ve = ne ? ne.scrollTop : void 0;
|
|
2739
|
+
Ae !== o && (V = a[he], Qe = !1, at = !U && r.invertSwap || J), y = P2(t, o, a, $, U ? 1 : r.swapThreshold, r.invertedSwapThreshold == null ? r.swapThreshold : r.invertedSwapThreshold, at, Ae === o);
|
|
2740
|
+
var de;
|
|
2713
2741
|
if (y !== 0) {
|
|
2714
|
-
var
|
|
2742
|
+
var be = se(m);
|
|
2715
2743
|
do
|
|
2716
|
-
|
|
2717
|
-
while (
|
|
2744
|
+
be -= y, de = j.children[be];
|
|
2745
|
+
while (de && (T(de, "display") === "none" || de === L));
|
|
2718
2746
|
}
|
|
2719
|
-
if (y === 0 ||
|
|
2747
|
+
if (y === 0 || de === o)
|
|
2720
2748
|
return b(!1);
|
|
2721
|
-
|
|
2749
|
+
Ae = o, Ke = y;
|
|
2722
2750
|
var Re = o.nextElementSibling, $e = !1;
|
|
2723
2751
|
$e = y === 1;
|
|
2724
|
-
var ot = rt(
|
|
2752
|
+
var ot = rt(z, n, m, i, o, a, t, $e);
|
|
2725
2753
|
if (ot !== !1)
|
|
2726
|
-
return (ot === 1 || ot === -1) && ($e = ot === 1),
|
|
2754
|
+
return (ot === 1 || ot === -1) && ($e = ot === 1), zt = !0, setTimeout(B2, 30), D(), $e && !Re ? n.appendChild(m) : o.parentNode.insertBefore(m, $e ? Re : o), ne && Tn(ne, 0, ve - ne.scrollTop), j = m.parentNode, V !== void 0 && !at && (dt = Math.abs(V - Y(o)[he])), C(), b(!0);
|
|
2727
2755
|
}
|
|
2728
2756
|
if (n.contains(m))
|
|
2729
2757
|
return b(!1);
|
|
@@ -2740,24 +2768,24 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2740
2768
|
},
|
|
2741
2769
|
_onDrop: function(t) {
|
|
2742
2770
|
var n = this.el, o = this.options;
|
|
2743
|
-
if (ie =
|
|
2771
|
+
if (ie = se(m), Ee = se(m, o.draggable), te("drop", this, {
|
|
2744
2772
|
evt: t
|
|
2745
|
-
}), j = m && m.parentNode, ie =
|
|
2773
|
+
}), j = m && m.parentNode, ie = se(m), Ee = se(m, o.draggable), x.eventCanceled) {
|
|
2746
2774
|
this._nulling();
|
|
2747
2775
|
return;
|
|
2748
2776
|
}
|
|
2749
|
-
|
|
2777
|
+
Pe = !1, at = !1, Qe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), jt(this.cloneId), jt(this._dragStartId), this.nativeDraggable && (B(document, "drop", this), B(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ye && T(document.body, "user-select", ""), T(m, "transform", ""), t && (Ge && (t.cancelable && t.preventDefault(), !o.dropBubble && t.stopPropagation()), L && L.parentNode && L.parentNode.removeChild(L), (z === j || X && X.lastPutMode !== "clone") && R && R.parentNode && R.parentNode.removeChild(R), m && (this.nativeDraggable && B(m, "dragend", this), Bt(m), m.style["will-change"] = "", Ge && !Pe && oe(m, X ? X.options.ghostClass : this.options.ghostClass, !1), oe(m, this.options.chosenClass, !1), ee({
|
|
2750
2778
|
sortable: this,
|
|
2751
2779
|
name: "unchoose",
|
|
2752
2780
|
toEl: j,
|
|
2753
2781
|
newIndex: null,
|
|
2754
2782
|
newDraggableIndex: null,
|
|
2755
2783
|
originalEvent: t
|
|
2756
|
-
}),
|
|
2784
|
+
}), z !== j ? (ie >= 0 && (ee({
|
|
2757
2785
|
rootEl: j,
|
|
2758
2786
|
name: "add",
|
|
2759
2787
|
toEl: j,
|
|
2760
|
-
fromEl:
|
|
2788
|
+
fromEl: z,
|
|
2761
2789
|
originalEvent: t
|
|
2762
2790
|
}), ee({
|
|
2763
2791
|
sortable: this,
|
|
@@ -2768,7 +2796,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2768
2796
|
rootEl: j,
|
|
2769
2797
|
name: "sort",
|
|
2770
2798
|
toEl: j,
|
|
2771
|
-
fromEl:
|
|
2799
|
+
fromEl: z,
|
|
2772
2800
|
originalEvent: t
|
|
2773
2801
|
}), ee({
|
|
2774
2802
|
sortable: this,
|
|
@@ -2793,9 +2821,9 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2793
2821
|
}), this.save()))), this._nulling();
|
|
2794
2822
|
},
|
|
2795
2823
|
_nulling: function() {
|
|
2796
|
-
te("nulling", this),
|
|
2824
|
+
te("nulling", this), z = m = j = L = Me = R = ut = Te = Le = ce = Ge = ie = Ee = Fe = Xe = Ae = Ke = X = it = x.dragged = x.ghost = x.clone = x.active = null, mt.forEach(function(t) {
|
|
2797
2825
|
t.checked = !0;
|
|
2798
|
-
}), mt.length =
|
|
2826
|
+
}), mt.length = Ot = Mt = 0;
|
|
2799
2827
|
},
|
|
2800
2828
|
handleEvent: function(t) {
|
|
2801
2829
|
switch (t.type) {
|
|
@@ -2805,7 +2833,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2805
2833
|
break;
|
|
2806
2834
|
case "dragenter":
|
|
2807
2835
|
case "dragover":
|
|
2808
|
-
m && (this._onDragOver(t),
|
|
2836
|
+
m && (this._onDragOver(t), _2(t));
|
|
2809
2837
|
break;
|
|
2810
2838
|
case "selectstart":
|
|
2811
2839
|
t.preventDefault();
|
|
@@ -2818,7 +2846,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2818
2846
|
*/
|
|
2819
2847
|
toArray: function() {
|
|
2820
2848
|
for (var t = [], n, o = this.el.children, i = 0, a = o.length, l = this.options; i < a; i++)
|
|
2821
|
-
n = o[i],
|
|
2849
|
+
n = o[i], pe(n, l.draggable, this.el, !1) && t.push(n.getAttribute(l.dataIdAttr) || F2(n));
|
|
2822
2850
|
return t;
|
|
2823
2851
|
},
|
|
2824
2852
|
/**
|
|
@@ -2829,7 +2857,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2829
2857
|
var o = {}, i = this.el;
|
|
2830
2858
|
this.toArray().forEach(function(a, l) {
|
|
2831
2859
|
var r = i.children[l];
|
|
2832
|
-
|
|
2860
|
+
pe(r, this.options.draggable, i, !1) && (o[a] = r);
|
|
2833
2861
|
}, this), n && this.captureAnimationState(), t.forEach(function(a) {
|
|
2834
2862
|
o[a] && (i.removeChild(o[a]), i.appendChild(o[a]));
|
|
2835
2863
|
}), n && this.animateAll();
|
|
@@ -2848,7 +2876,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2848
2876
|
* @returns {HTMLElement|null}
|
|
2849
2877
|
*/
|
|
2850
2878
|
closest: function(t, n) {
|
|
2851
|
-
return
|
|
2879
|
+
return pe(t, n || this.options.draggable, this.el, !1);
|
|
2852
2880
|
},
|
|
2853
2881
|
/**
|
|
2854
2882
|
* Set/get option
|
|
@@ -2886,11 +2914,11 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2886
2914
|
}
|
|
2887
2915
|
if (Te) {
|
|
2888
2916
|
if (te("showClone", this), x.eventCanceled) return;
|
|
2889
|
-
m.parentNode ==
|
|
2917
|
+
m.parentNode == z && !this.options.group.revertClone ? z.insertBefore(R, m) : Me ? z.insertBefore(R, Me) : z.appendChild(R), this.options.group.revertClone && this.animate(m, R), T(R, "display", ""), Te = !1;
|
|
2890
2918
|
}
|
|
2891
2919
|
}
|
|
2892
2920
|
};
|
|
2893
|
-
function
|
|
2921
|
+
function _2(e) {
|
|
2894
2922
|
e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
|
|
2895
2923
|
}
|
|
2896
2924
|
function rt(e, t, n, o, i, a, l, r) {
|
|
@@ -2898,20 +2926,20 @@ function rt(e, t, n, o, i, a, l, r) {
|
|
|
2898
2926
|
return window.CustomEvent && !ke && !tt ? s = new CustomEvent("move", {
|
|
2899
2927
|
bubbles: !0,
|
|
2900
2928
|
cancelable: !0
|
|
2901
|
-
}) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = t, s.from = e, s.dragged = n, s.draggedRect = o, s.related = i || t, s.relatedRect = a ||
|
|
2929
|
+
}) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = t, s.from = e, s.dragged = n, s.draggedRect = o, s.related = i || t, s.relatedRect = a || Y(t), s.willInsertAfter = r, s.originalEvent = l, e.dispatchEvent(s), f && (c = f.call(u, s, l)), c;
|
|
2902
2930
|
}
|
|
2903
|
-
function
|
|
2931
|
+
function Bt(e) {
|
|
2904
2932
|
e.draggable = !1;
|
|
2905
2933
|
}
|
|
2906
|
-
function
|
|
2907
|
-
|
|
2934
|
+
function B2() {
|
|
2935
|
+
zt = !1;
|
|
2908
2936
|
}
|
|
2909
|
-
function
|
|
2910
|
-
var o =
|
|
2937
|
+
function I2(e, t, n) {
|
|
2938
|
+
var o = Y(je(n.el, 0, n.options, !0)), i = 10;
|
|
2911
2939
|
return t ? e.clientX < o.left - i || e.clientY < o.top && e.clientX < o.right : e.clientY < o.top - i || e.clientY < o.bottom && e.clientX < o.left;
|
|
2912
2940
|
}
|
|
2913
|
-
function
|
|
2914
|
-
var o =
|
|
2941
|
+
function A2(e, t, n) {
|
|
2942
|
+
var o = Y(Yt(n.el, n.options.draggable)), i = 10;
|
|
2915
2943
|
return t ? e.clientX > o.right + i || e.clientX <= o.right && e.clientY > o.bottom && e.clientX >= o.left : e.clientX > o.right && e.clientY > o.top || e.clientX <= o.right && e.clientY > o.bottom + i;
|
|
2916
2944
|
}
|
|
2917
2945
|
function P2(e, t, n, o, i, a, l, r) {
|
|
@@ -2923,19 +2951,19 @@ function P2(e, t, n, o, i, a, l, r) {
|
|
|
2923
2951
|
else if (Ke === 1 ? s < f + dt : s > c - dt)
|
|
2924
2952
|
return -Ke;
|
|
2925
2953
|
} else if (s > f + u * (1 - i) / 2 && s < c - u * (1 - i) / 2)
|
|
2926
|
-
return
|
|
2954
|
+
return N2(t);
|
|
2927
2955
|
}
|
|
2928
2956
|
return v = v || l, v && (s < f + u * a / 2 || s > c - u * a / 2) ? s > f + u / 2 ? 1 : -1 : 0;
|
|
2929
2957
|
}
|
|
2930
|
-
function A2(e) {
|
|
2931
|
-
return re(m) < re(e) ? 1 : -1;
|
|
2932
|
-
}
|
|
2933
2958
|
function N2(e) {
|
|
2959
|
+
return se(m) < se(e) ? 1 : -1;
|
|
2960
|
+
}
|
|
2961
|
+
function F2(e) {
|
|
2934
2962
|
for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, o = 0; n--; )
|
|
2935
2963
|
o += t.charCodeAt(n);
|
|
2936
2964
|
return o.toString(36);
|
|
2937
2965
|
}
|
|
2938
|
-
function
|
|
2966
|
+
function V2(e) {
|
|
2939
2967
|
mt.length = 0;
|
|
2940
2968
|
for (var t = e.getElementsByTagName("input"), n = t.length; n--; ) {
|
|
2941
2969
|
var o = t[n];
|
|
@@ -2945,28 +2973,28 @@ function F2(e) {
|
|
|
2945
2973
|
function ct(e) {
|
|
2946
2974
|
return setTimeout(e, 0);
|
|
2947
2975
|
}
|
|
2948
|
-
function
|
|
2976
|
+
function jt(e) {
|
|
2949
2977
|
return clearTimeout(e);
|
|
2950
2978
|
}
|
|
2951
|
-
|
|
2952
|
-
(x.active ||
|
|
2979
|
+
$t && A(document, "touchmove", function(e) {
|
|
2980
|
+
(x.active || Pe) && e.cancelable && e.preventDefault();
|
|
2953
2981
|
});
|
|
2954
2982
|
x.utils = {
|
|
2955
|
-
on:
|
|
2983
|
+
on: A,
|
|
2956
2984
|
off: B,
|
|
2957
2985
|
css: T,
|
|
2958
2986
|
find: En,
|
|
2959
2987
|
is: function(t, n) {
|
|
2960
|
-
return !!
|
|
2988
|
+
return !!pe(t, n, t, !1);
|
|
2961
2989
|
},
|
|
2962
|
-
extend:
|
|
2990
|
+
extend: w2,
|
|
2963
2991
|
throttle: Dn,
|
|
2964
|
-
closest:
|
|
2992
|
+
closest: pe,
|
|
2965
2993
|
toggleClass: oe,
|
|
2966
2994
|
clone: xn,
|
|
2967
|
-
index:
|
|
2995
|
+
index: se,
|
|
2968
2996
|
nextTick: ct,
|
|
2969
|
-
cancelNextTick:
|
|
2997
|
+
cancelNextTick: jt,
|
|
2970
2998
|
detectDirection: On,
|
|
2971
2999
|
getChild: je
|
|
2972
3000
|
};
|
|
@@ -2979,15 +3007,15 @@ x.mount = function() {
|
|
|
2979
3007
|
t[0].constructor === Array && (t = t[0]), t.forEach(function(o) {
|
|
2980
3008
|
if (!o.prototype || !o.prototype.constructor)
|
|
2981
3009
|
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
|
|
2982
|
-
o.utils && (x.utils =
|
|
3010
|
+
o.utils && (x.utils = me(me({}, x.utils), o.utils)), nt.mount(o);
|
|
2983
3011
|
});
|
|
2984
3012
|
};
|
|
2985
3013
|
x.create = function(e, t) {
|
|
2986
3014
|
return new x(e, t);
|
|
2987
3015
|
};
|
|
2988
|
-
x.version =
|
|
2989
|
-
var
|
|
2990
|
-
function
|
|
3016
|
+
x.version = v2;
|
|
3017
|
+
var G = [], qe, Rt, Ht = !1, It, At, vt, We;
|
|
3018
|
+
function z2() {
|
|
2991
3019
|
function e() {
|
|
2992
3020
|
this.defaults = {
|
|
2993
3021
|
scroll: !0,
|
|
@@ -3002,17 +3030,17 @@ function V2() {
|
|
|
3002
3030
|
return e.prototype = {
|
|
3003
3031
|
dragStarted: function(n) {
|
|
3004
3032
|
var o = n.originalEvent;
|
|
3005
|
-
this.sortable.nativeDraggable ?
|
|
3033
|
+
this.sortable.nativeDraggable ? A(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? A(document, "pointermove", this._handleFallbackAutoScroll) : o.touches ? A(document, "touchmove", this._handleFallbackAutoScroll) : A(document, "mousemove", this._handleFallbackAutoScroll);
|
|
3006
3034
|
},
|
|
3007
3035
|
dragOverCompleted: function(n) {
|
|
3008
3036
|
var o = n.originalEvent;
|
|
3009
3037
|
!this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
|
|
3010
3038
|
},
|
|
3011
3039
|
drop: function() {
|
|
3012
|
-
this.sortable.nativeDraggable ? B(document, "dragover", this._handleAutoScroll) : (B(document, "pointermove", this._handleFallbackAutoScroll), B(document, "touchmove", this._handleFallbackAutoScroll), B(document, "mousemove", this._handleFallbackAutoScroll)), fn(), ft(),
|
|
3040
|
+
this.sortable.nativeDraggable ? B(document, "dragover", this._handleAutoScroll) : (B(document, "pointermove", this._handleFallbackAutoScroll), B(document, "touchmove", this._handleFallbackAutoScroll), B(document, "mousemove", this._handleFallbackAutoScroll)), fn(), ft(), S2();
|
|
3013
3041
|
},
|
|
3014
3042
|
nulling: function() {
|
|
3015
|
-
vt =
|
|
3043
|
+
vt = Rt = qe = Ht = We = It = At = null, G.length = 0;
|
|
3016
3044
|
},
|
|
3017
3045
|
_handleFallbackAutoScroll: function(n) {
|
|
3018
3046
|
this._handleAutoScroll(n, !0);
|
|
@@ -3022,12 +3050,12 @@ function V2() {
|
|
|
3022
3050
|
if (vt = n, o || this.options.forceAutoScrollFallback || tt || ke || Ye) {
|
|
3023
3051
|
Pt(n, this.options, r, o);
|
|
3024
3052
|
var s = xe(r, !0);
|
|
3025
|
-
|
|
3053
|
+
Ht && (!We || a !== It || l !== At) && (We && fn(), We = setInterval(function() {
|
|
3026
3054
|
var u = xe(document.elementFromPoint(a, l), !0);
|
|
3027
3055
|
u !== s && (s = u, ft()), Pt(n, i.options, u, o);
|
|
3028
|
-
}, 10),
|
|
3056
|
+
}, 10), It = a, At = l);
|
|
3029
3057
|
} else {
|
|
3030
|
-
if (!this.options.bubbleScroll || xe(r, !0) ===
|
|
3058
|
+
if (!this.options.bubbleScroll || xe(r, !0) === ge()) {
|
|
3031
3059
|
ft();
|
|
3032
3060
|
return;
|
|
3033
3061
|
}
|
|
@@ -3040,34 +3068,34 @@ function V2() {
|
|
|
3040
3068
|
});
|
|
3041
3069
|
}
|
|
3042
3070
|
function ft() {
|
|
3043
|
-
|
|
3071
|
+
G.forEach(function(e) {
|
|
3044
3072
|
clearInterval(e.pid);
|
|
3045
|
-
}),
|
|
3073
|
+
}), G = [];
|
|
3046
3074
|
}
|
|
3047
3075
|
function fn() {
|
|
3048
3076
|
clearInterval(We);
|
|
3049
3077
|
}
|
|
3050
3078
|
var Pt = Dn(function(e, t, n, o) {
|
|
3051
3079
|
if (t.scroll) {
|
|
3052
|
-
var i = (e.touches ? e.touches[0] : e).clientX, a = (e.touches ? e.touches[0] : e).clientY, l = t.scrollSensitivity, r = t.scrollSpeed, s =
|
|
3053
|
-
|
|
3080
|
+
var i = (e.touches ? e.touches[0] : e).clientX, a = (e.touches ? e.touches[0] : e).clientY, l = t.scrollSensitivity, r = t.scrollSpeed, s = ge(), u = !1, f;
|
|
3081
|
+
Rt !== n && (Rt = n, ft(), qe = t.scroll, f = t.scrollFn, qe === !0 && (qe = xe(n, !0)));
|
|
3054
3082
|
var c = 0, v = qe;
|
|
3055
3083
|
do {
|
|
3056
|
-
var $ = v, w =
|
|
3057
|
-
$ === s ? (S = C <
|
|
3058
|
-
var
|
|
3059
|
-
if (!
|
|
3060
|
-
for (var
|
|
3061
|
-
|
|
3062
|
-
(
|
|
3084
|
+
var $ = v, w = Y($), M = w.top, E = w.bottom, D = w.left, b = w.right, C = w.width, g = w.height, S = void 0, y = void 0, V = $.scrollWidth, J = $.scrollHeight, U = T($), he = $.scrollLeft, ne = $.scrollTop;
|
|
3085
|
+
$ === s ? (S = C < V && (U.overflowX === "auto" || U.overflowX === "scroll" || U.overflowX === "visible"), y = g < J && (U.overflowY === "auto" || U.overflowY === "scroll" || U.overflowY === "visible")) : (S = C < V && (U.overflowX === "auto" || U.overflowX === "scroll"), y = g < J && (U.overflowY === "auto" || U.overflowY === "scroll"));
|
|
3086
|
+
var ve = S && (Math.abs(b - i) <= l && he + C < V) - (Math.abs(D - i) <= l && !!he), de = y && (Math.abs(E - a) <= l && ne + g < J) - (Math.abs(M - a) <= l && !!ne);
|
|
3087
|
+
if (!G[c])
|
|
3088
|
+
for (var be = 0; be <= c; be++)
|
|
3089
|
+
G[be] || (G[be] = {});
|
|
3090
|
+
(G[c].vx != ve || G[c].vy != de || G[c].el !== $) && (G[c].el = $, G[c].vx = ve, G[c].vy = de, clearInterval(G[c].pid), (ve != 0 || de != 0) && (u = !0, G[c].pid = setInterval(function() {
|
|
3063
3091
|
o && this.layer === 0 && x.active._onTouchMove(vt);
|
|
3064
|
-
var Re =
|
|
3065
|
-
typeof f == "function" && f.call(x.dragged.parentNode[ae], $e, Re, e, vt,
|
|
3092
|
+
var Re = G[this.layer].vy ? G[this.layer].vy * r : 0, $e = G[this.layer].vx ? G[this.layer].vx * r : 0;
|
|
3093
|
+
typeof f == "function" && f.call(x.dragged.parentNode[ae], $e, Re, e, vt, G[this.layer].el) !== "continue" || Tn(G[this.layer].el, $e, Re);
|
|
3066
3094
|
}.bind({
|
|
3067
3095
|
layer: c
|
|
3068
3096
|
}), 24))), c++;
|
|
3069
3097
|
} while (t.bubbleScroll && v !== s && (v = xe(v, !1)));
|
|
3070
|
-
|
|
3098
|
+
Ht = u;
|
|
3071
3099
|
}
|
|
3072
3100
|
}, 30), In = function(t) {
|
|
3073
3101
|
var n = t.originalEvent, o = t.putSortable, i = t.dragEl, a = t.activeSortable, l = t.dispatchSortableEvent, r = t.hideGhostForTarget, s = t.unhideGhostForTarget;
|
|
@@ -3112,58 +3140,58 @@ Xt.prototype = {
|
|
|
3112
3140
|
we(Xt, {
|
|
3113
3141
|
pluginName: "removeOnSpill"
|
|
3114
3142
|
});
|
|
3115
|
-
x.mount(new
|
|
3143
|
+
x.mount(new z2());
|
|
3116
3144
|
x.mount(Xt, Ut);
|
|
3117
|
-
function
|
|
3145
|
+
function j2() {
|
|
3118
3146
|
return typeof window < "u" ? window.console : global.console;
|
|
3119
3147
|
}
|
|
3120
|
-
const
|
|
3121
|
-
function
|
|
3148
|
+
const R2 = j2();
|
|
3149
|
+
function H2(e) {
|
|
3122
3150
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3123
3151
|
return function(o) {
|
|
3124
3152
|
return t[o] || (t[o] = e(o));
|
|
3125
3153
|
};
|
|
3126
3154
|
}
|
|
3127
|
-
const
|
|
3128
|
-
function
|
|
3155
|
+
const Z2 = /-(\w)/g, hn = H2((e) => e.replace(Z2, (t, n) => n ? n.toUpperCase() : ""));
|
|
3156
|
+
function Nt(e) {
|
|
3129
3157
|
e.parentElement !== null && e.parentElement.removeChild(e);
|
|
3130
3158
|
}
|
|
3131
3159
|
function pn(e, t, n) {
|
|
3132
3160
|
const o = n === 0 ? e.children[0] : e.children[n - 1].nextSibling;
|
|
3133
3161
|
e.insertBefore(t, o);
|
|
3134
3162
|
}
|
|
3135
|
-
function
|
|
3163
|
+
function G2(e, t) {
|
|
3136
3164
|
return Object.values(e).indexOf(t);
|
|
3137
3165
|
}
|
|
3138
|
-
function
|
|
3166
|
+
function q2(e, t, n, o) {
|
|
3139
3167
|
if (!e)
|
|
3140
3168
|
return [];
|
|
3141
3169
|
const i = Object.values(e), a = t.length - o;
|
|
3142
3170
|
return [...t].map((r, s) => s >= a ? i.length : i.indexOf(r));
|
|
3143
3171
|
}
|
|
3144
|
-
function
|
|
3172
|
+
function An(e, t) {
|
|
3145
3173
|
this.$nextTick(() => this.$emit(e.toLowerCase(), t));
|
|
3146
3174
|
}
|
|
3147
|
-
function
|
|
3175
|
+
function W2(e) {
|
|
3148
3176
|
return (t) => {
|
|
3149
|
-
this.realList !== null && this["onDrag" + e](t),
|
|
3177
|
+
this.realList !== null && this["onDrag" + e](t), An.call(this, e, t);
|
|
3150
3178
|
};
|
|
3151
3179
|
}
|
|
3152
|
-
function
|
|
3180
|
+
function Y2(e) {
|
|
3153
3181
|
return ["transition-group", "TransitionGroup"].includes(e);
|
|
3154
3182
|
}
|
|
3155
|
-
function
|
|
3183
|
+
function U2(e) {
|
|
3156
3184
|
if (!e || e.length !== 1)
|
|
3157
3185
|
return !1;
|
|
3158
3186
|
const [{ type: t }] = e;
|
|
3159
|
-
return t ?
|
|
3187
|
+
return t ? Y2(t.name) : !1;
|
|
3160
3188
|
}
|
|
3161
|
-
function
|
|
3189
|
+
function X2(e, t) {
|
|
3162
3190
|
return t ? { ...t.props, ...t.attrs } : e;
|
|
3163
3191
|
}
|
|
3164
|
-
const
|
|
3165
|
-
let
|
|
3166
|
-
const
|
|
3192
|
+
const Zt = ["Start", "Add", "Remove", "Update", "End"], Gt = ["Choose", "Unchoose", "Sort", "Filter", "Clone"], K2 = ["Move", ...Zt, ...Gt].map((e) => "on" + e);
|
|
3193
|
+
let Ft = null;
|
|
3194
|
+
const Q2 = {
|
|
3167
3195
|
options: Object,
|
|
3168
3196
|
list: {
|
|
3169
3197
|
type: Array,
|
|
@@ -3200,17 +3228,17 @@ const K2 = {
|
|
|
3200
3228
|
required: !1,
|
|
3201
3229
|
default: null
|
|
3202
3230
|
}
|
|
3203
|
-
},
|
|
3231
|
+
}, J2 = P({
|
|
3204
3232
|
name: "VueDraggableNext",
|
|
3205
3233
|
inheritAttrs: !1,
|
|
3206
3234
|
emits: [
|
|
3207
3235
|
"update:modelValue",
|
|
3208
3236
|
"move",
|
|
3209
3237
|
"change",
|
|
3210
|
-
...
|
|
3211
|
-
...
|
|
3238
|
+
...Zt.map((e) => e.toLowerCase()),
|
|
3239
|
+
...Gt.map((e) => e.toLowerCase())
|
|
3212
3240
|
],
|
|
3213
|
-
props:
|
|
3241
|
+
props: Q2,
|
|
3214
3242
|
data() {
|
|
3215
3243
|
return {
|
|
3216
3244
|
transitionMode: !1,
|
|
@@ -3223,18 +3251,18 @@ const K2 = {
|
|
|
3223
3251
|
};
|
|
3224
3252
|
},
|
|
3225
3253
|
render() {
|
|
3226
|
-
const e = this.$slots.default ? this.$slots.default() : null, t =
|
|
3227
|
-
return e ? (this.transitionMode =
|
|
3254
|
+
const e = this.$slots.default ? this.$slots.default() : null, t = X2(this.$attrs, this.componentData);
|
|
3255
|
+
return e ? (this.transitionMode = U2(e), Qt(this.getTag(), t, e)) : Qt(this.getTag(), t, []);
|
|
3228
3256
|
},
|
|
3229
3257
|
created() {
|
|
3230
|
-
this.list !== null && this.modelValue !== null &&
|
|
3258
|
+
this.list !== null && this.modelValue !== null && R2.error("list props are mutually exclusive! Please set one.");
|
|
3231
3259
|
},
|
|
3232
3260
|
mounted() {
|
|
3233
3261
|
const e = {};
|
|
3234
|
-
|
|
3235
|
-
e["on" + i] =
|
|
3236
|
-
}),
|
|
3237
|
-
e["on" + i] =
|
|
3262
|
+
Zt.forEach((i) => {
|
|
3263
|
+
e["on" + i] = W2.call(this, i);
|
|
3264
|
+
}), Gt.forEach((i) => {
|
|
3265
|
+
e["on" + i] = An.bind(this, i);
|
|
3238
3266
|
});
|
|
3239
3267
|
const t = Object.keys(this.$attrs).reduce((i, a) => (i[hn(a)] = this.$attrs[a], i), {}), n = Object.assign({}, t, e, {
|
|
3240
3268
|
onMove: (i, a) => this.onDragMove(i, a)
|
|
@@ -3272,7 +3300,7 @@ const K2 = {
|
|
|
3272
3300
|
updateOptions(e) {
|
|
3273
3301
|
for (var t in e) {
|
|
3274
3302
|
const n = hn(t);
|
|
3275
|
-
|
|
3303
|
+
K2.indexOf(n) === -1 && this._sortable.option(n, e[t]);
|
|
3276
3304
|
}
|
|
3277
3305
|
},
|
|
3278
3306
|
getChildrenNodes() {
|
|
@@ -3280,11 +3308,11 @@ const K2 = {
|
|
|
3280
3308
|
},
|
|
3281
3309
|
computeIndexes() {
|
|
3282
3310
|
this.$nextTick(() => {
|
|
3283
|
-
this.visibleIndexes =
|
|
3311
|
+
this.visibleIndexes = q2(this.getChildrenNodes(), this.$el.children, this.transitionMode, this.footerOffset);
|
|
3284
3312
|
});
|
|
3285
3313
|
},
|
|
3286
3314
|
getUnderlyingVm(e) {
|
|
3287
|
-
const t =
|
|
3315
|
+
const t = G2(this.getChildrenNodes() || [], e);
|
|
3288
3316
|
if (t === -1)
|
|
3289
3317
|
return null;
|
|
3290
3318
|
const n = this.realList[t];
|
|
@@ -3330,13 +3358,13 @@ const K2 = {
|
|
|
3330
3358
|
n.children = [], n.kept = void 0;
|
|
3331
3359
|
},
|
|
3332
3360
|
onDragStart(e) {
|
|
3333
|
-
this.computeIndexes(), this.context = this.getUnderlyingVm(e.item), this.context && (e.item._underlying_vm_ = this.clone(this.context.element),
|
|
3361
|
+
this.computeIndexes(), this.context = this.getUnderlyingVm(e.item), this.context && (e.item._underlying_vm_ = this.clone(this.context.element), Ft = e.item);
|
|
3334
3362
|
},
|
|
3335
3363
|
onDragAdd(e) {
|
|
3336
3364
|
const t = e.item._underlying_vm_;
|
|
3337
3365
|
if (t === void 0)
|
|
3338
3366
|
return;
|
|
3339
|
-
|
|
3367
|
+
Nt(e.item);
|
|
3340
3368
|
const n = this.getVmIndex(e.newIndex);
|
|
3341
3369
|
this.spliceList(n, 0, t), this.computeIndexes();
|
|
3342
3370
|
const o = { element: t, newIndex: n };
|
|
@@ -3344,7 +3372,7 @@ const K2 = {
|
|
|
3344
3372
|
},
|
|
3345
3373
|
onDragRemove(e) {
|
|
3346
3374
|
if (pn(this.$el, e.item, e.oldIndex), e.pullMode === "clone") {
|
|
3347
|
-
|
|
3375
|
+
Nt(e.clone);
|
|
3348
3376
|
return;
|
|
3349
3377
|
}
|
|
3350
3378
|
if (!this.context)
|
|
@@ -3355,7 +3383,7 @@ const K2 = {
|
|
|
3355
3383
|
this.resetTransitionData(t), this.emitChanges({ removed: n });
|
|
3356
3384
|
},
|
|
3357
3385
|
onDragUpdate(e) {
|
|
3358
|
-
|
|
3386
|
+
Nt(e.item), pn(e.from, e.item, e.oldIndex);
|
|
3359
3387
|
const t = this.context.index, n = this.getVmIndex(e.newIndex);
|
|
3360
3388
|
this.updatePosition(t, n);
|
|
3361
3389
|
const o = { element: this.context.element, oldIndex: t, newIndex: n };
|
|
@@ -3377,7 +3405,7 @@ const K2 = {
|
|
|
3377
3405
|
return n(l, t);
|
|
3378
3406
|
},
|
|
3379
3407
|
onDragEnd() {
|
|
3380
|
-
this.computeIndexes(),
|
|
3408
|
+
this.computeIndexes(), Ft = null;
|
|
3381
3409
|
},
|
|
3382
3410
|
getTrargetedComponent(e) {
|
|
3383
3411
|
return e.__draggable_component__;
|
|
@@ -3399,13 +3427,13 @@ const K2 = {
|
|
|
3399
3427
|
if (n.length === 0)
|
|
3400
3428
|
return 0;
|
|
3401
3429
|
const o = n.indexOf(t.related), i = e.component.getVmIndex(o);
|
|
3402
|
-
return n.indexOf(
|
|
3430
|
+
return n.indexOf(Ft) !== -1 || !t.willInsertAfter ? i : i + 1;
|
|
3403
3431
|
}
|
|
3404
3432
|
}
|
|
3405
|
-
}),
|
|
3433
|
+
}), e0 = { class: "flex m-10" }, t0 = { class: "sortable-list" }, n0 = {
|
|
3406
3434
|
name: "SortableList"
|
|
3407
|
-
},
|
|
3408
|
-
...
|
|
3435
|
+
}, ea = /* @__PURE__ */ P({
|
|
3436
|
+
...n0,
|
|
3409
3437
|
props: {
|
|
3410
3438
|
list: {
|
|
3411
3439
|
required: !0,
|
|
@@ -3417,14 +3445,14 @@ const K2 = {
|
|
|
3417
3445
|
const n = t, o = (i) => {
|
|
3418
3446
|
n("onDrag", i);
|
|
3419
3447
|
};
|
|
3420
|
-
return (i, a) => (d(), p("div",
|
|
3421
|
-
h("ul",
|
|
3422
|
-
|
|
3448
|
+
return (i, a) => (d(), p("div", e0, [
|
|
3449
|
+
h("ul", t0, [
|
|
3450
|
+
re(Z(J2), {
|
|
3423
3451
|
list: e.list,
|
|
3424
3452
|
onChange: a[0] || (a[0] = (l) => o(e.list))
|
|
3425
3453
|
}, {
|
|
3426
|
-
default:
|
|
3427
|
-
(d(!0), p(
|
|
3454
|
+
default: q(() => [
|
|
3455
|
+
(d(!0), p(H, null, le(e.list, (l) => (d(), p("li", {
|
|
3428
3456
|
key: l.id
|
|
3429
3457
|
}, [
|
|
3430
3458
|
a[1] || (a[1] = h("span", { class: "grab-icon" }, [
|
|
@@ -3445,7 +3473,7 @@ const K2 = {
|
|
|
3445
3473
|
])
|
|
3446
3474
|
], -1)),
|
|
3447
3475
|
h("div", null, [
|
|
3448
|
-
l.render ? (d(),
|
|
3476
|
+
l.render ? (d(), F(_e(l.render(l.data)), { key: 0 })) : (d(), p(H, { key: 1 }, [
|
|
3449
3477
|
Q(O(l.data), 1)
|
|
3450
3478
|
], 64))
|
|
3451
3479
|
])
|
|
@@ -3456,10 +3484,10 @@ const K2 = {
|
|
|
3456
3484
|
])
|
|
3457
3485
|
]));
|
|
3458
3486
|
}
|
|
3459
|
-
}),
|
|
3487
|
+
}), o0 = ["disabled"], i0 = ["src", "alt"], a0 = {
|
|
3460
3488
|
name: "SSOButton"
|
|
3461
|
-
},
|
|
3462
|
-
...
|
|
3489
|
+
}, Pn = /* @__PURE__ */ P({
|
|
3490
|
+
...a0,
|
|
3463
3491
|
props: {
|
|
3464
3492
|
alignCenter: Boolean,
|
|
3465
3493
|
alternativeText: {
|
|
@@ -3503,14 +3531,14 @@ const K2 = {
|
|
|
3503
3531
|
h("img", {
|
|
3504
3532
|
src: e.imageSource,
|
|
3505
3533
|
alt: e.alternativeText
|
|
3506
|
-
}, null, 8,
|
|
3534
|
+
}, null, 8, i0),
|
|
3507
3535
|
h("span", null, O(e.title), 1)
|
|
3508
|
-
], 10,
|
|
3536
|
+
], 10, o0));
|
|
3509
3537
|
}
|
|
3510
|
-
}), a0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20width='2084'%20height='2084'%3e%3cpath%20d='M0%200%20C1.15764862%200.00060425%202.31529724%200.0012085%203.50802612%200.00183105%20C85.98260722%200.11720669%20167.94255485%209.87604579%20248.125%2029.1875%20C248.86457947%2029.36476624%20249.60415894%2029.54203247%20250.3661499%2029.72467041%20C334.62230969%2049.9574737%20416.80768306%2081.42007316%20533.125%20145.1875%20C534.02105957%20145.70908691%20534.91711914%20146.23067383%20535.84033203%20146.76806641%20C550.04886476%20155.0696507%20563.74211052%20164.13646225%20577.4375%20173.25%20C578.32679199%20173.8407431%20579.21608398%20174.43148621%20580.13232422%20175.04013062%20C591.69483528%20182.73135096%20603.0720229%20190.63196121%20614.27706909%20198.8354187%20C616.67050493%20200.58663127%20619.07390043%20202.32397661%20621.4765625%20204.0625%20C630.31030376%20210.50445197%20638.91838886%20217.148823%20647.35546875%20224.1015625%20C650.93712446%20227.05029675%20654.58513462%20229.90587171%20658.25%20232.75%20C664.80446613%20237.85872335%20671.10574818%20243.23251579%20677.37939453%20248.68017578%20C679.10687975%20250.17185322%20680.84590215%20251.64870526%20682.58984375%20253.12109375%20C689.5490538%20259.00754793%20696.29865442%20265.06950894%20702.93237305%20271.32104492%20C706.02875784%20274.23828319%20709.1375661%20277.11327067%20712.375%20279.875%20C716.13510937%20283.10378956%20719.58790586%20286.62314338%20723.06616211%20290.14794922%20C725.6075653%20292.71084883%20728.18211543%20295.16942847%20730.9375%20297.5%20C739.34322101%20304.69001756%20747.21573722%20312.7580678%20754.35546875%20321.19921875%20C756.67272617%20323.80293625%20759.14521445%20326.24047964%20761.625%20328.6875%20C765.32908948%20332.34742653%20768.87787767%20336.07693794%20772.2578125%20340.0390625%20C774.15320841%20342.21995738%20776.1052652%20344.34205746%20778.07080078%20346.4597168%20C782.90200954%20351.66642948%20787.48561882%20356.99917793%20791.94140625%20362.53515625%20C794.11897068%20365.18017637%20796.37818763%20367.71962525%20798.6875%20370.25%20C802.24142208%20374.1587026%20805.5852216%20378.17351283%20808.8515625%20382.32421875%20C810.55603659%20384.47091893%20812.27757011%20386.59447521%20814.0234375%20388.70703125%20C821.23010316%20397.44393263%20828.06132486%20406.39389068%20834.73046875%20415.546875%20C837.30174324%20419.07576257%20839.91615421%20422.56735039%20842.56005859%20426.04199219%20C855.57684339%20443.17700697%20867.54995923%20461.05622605%20879.125%20479.1875%20C879.62451172%20479.96512695%20880.12402344%20480.74275391%20880.63867188%20481.54394531%20C897.58381654%20507.93121546%20913.09593508%20535.18898842%20927.46484375%20563.05859375%20C929.00770036%20566.04920309%20930.5667459%20569.02569169%20932.19140625%20571.97265625%20C939.19339133%20584.70486712%20945.14022162%20597.95559111%20951.125%20611.1875%20C951.41070862%20611.81843567%20951.69641724%20612.44937134%20951.99078369%20613.09942627%20C984.41326204%20684.79659167%201008.53753875%20760.05556022%201037.8125%20926.75%20C1037.95767059%20928.00706253%201037.95767059%20928.00706253%201038.10577393%20929.28952026%20C1042.18612959%20965.02273189%201043.64357089%201000.92112464%201043.51611328%201036.86474609%20C1043.49902324%201041.71699519%201043.50922796%201046.56874997%201043.52643585%201051.42098236%20C1043.58875603%201072.22474355%201043.121671%201092.92627467%201041.7421875%201113.6875%20C1041.68073925%201114.61345474%201041.619291%201115.53940948%201041.55598068%201116.49342346%20C1035.0007366%201213.08026312%201014.38267632%201308.16853%20966.125%201439.1875%20C965.74018463%201440.10187836%20965.74018463%201440.10187836%20965.34759521%201441.034729%20C949.45738809%201478.73766744%20932.25383656%201516.09689741%20911.67675781%201551.49414062%20C910.07835791%201554.26845588%20908.51530634%201557.06017358%20906.9609375%201559.859375%20C895.54802769%201580.39389385%20882.94822692%201600.0776952%20869.9375%201619.625%20C869.44011322%201620.37300873%20868.94272644%201621.12101746%20868.43026733%201621.89169312%20C858.68653626%201636.525895%20848.74118479%201651.01255917%20838%201664.9375%20C837.32259766%201665.82091064%20836.64519531%201666.70432129%20835.94726562%201667.61450195%20C834.61307186%201669.35362798%20833.27752794%201671.09171932%20831.94042969%201672.82861328%20C830.34444691%201674.90236067%20828.75291154%201676.97937968%20827.1640625%201679.05859375%20C822.23462047%201685.50301824%20817.23152617%201691.88240063%20812.125%201698.1875%20C811.44050781%201699.03570313%20810.75601562%201699.88390625%20810.05078125%201700.7578125%20C804.87991842%201707.12623602%20799.5782563%201713.37313801%20794.22265625%201719.5859375%20C792.19755881%201721.93532976%20790.1847527%201724.2942514%20788.18359375%201726.6640625%20C781.38039056%201734.70287081%20774.30783235%201742.44088746%20767.07495117%201750.09399414%20C765.68090087%201751.59067391%20764.30252896%201753.10201885%20762.93481445%201754.62280273%20C754.62146255%201763.84397622%20745.8602102%201772.6040054%20737.07202148%201781.37084961%20C734.4290134%201784.0084693%20731.79143019%201786.6514299%20729.15429688%201789.29492188%20C727.45344575%201790.9951126%20725.75228466%201792.69499331%20724.05078125%201794.39453125%20C723.27350174%201795.17383499%20722.49622223%201795.95313873%20721.69538879%201796.75605774%20C717.55441138%201800.87950727%20713.33600026%201804.84794915%20708.89880371%201808.65180969%20C705.95478417%201811.20062738%20703.14452257%201813.89078831%20700.3125%201816.5625%20C695.28811299%201821.26903274%20690.13516609%201825.71608064%20684.7578125%201830.01953125%20C682.01530846%201832.27782463%20679.4156241%201834.64531334%20676.8125%201837.0625%20C672.28436424%201841.22556682%20667.58986729%201845.04964306%20662.72802734%201848.80688477%20C658.76816735%201851.87383515%20654.89260927%201855.02304957%20651.04980469%201858.23535156%20C642.11958177%201865.69578282%20632.89061882%201872.64530815%20623.47070312%201879.47265625%20C621.25005402%201881.09607833%20619.05139889%201882.74445617%20616.859375%201884.40625%20C601.99002628%201895.6324397%20586.41223305%201905.80978513%20570.85534668%201916.04760742%20C568.60118411%201917.5325718%20566.3516835%201919.0245461%20564.1015625%201920.515625%20C544.67940459%201933.3113726%20524.47697034%201944.94533071%20504.125%201956.1875%20C502.63226562%201957.01217773%20502.63226562%201957.01217773%20501.109375%201957.85351562%20C425.12550951%201999.65428426%20344.00442425%202031.25797004%20139.19140625%202076.15625%20C138.04930191%202076.3149482%20138.04930191%202076.3149482%20136.88412476%202076.47685242%20C133.5828542%202076.92098977%20130.46476193%202077.1875%20127.125%202077.1875%20C127.125%201840.5775%20127.125%201603.9675%20127.125%201360.1875%20C220.185%201360.1875%20313.245%201360.1875%20409.125%201360.1875%20C409.455%201357.2175%20409.785%201354.2475%20410.125%201351.1875%20C410.51943974%201348.75034978%20410.94040505%201346.31734207%20411.38798523%201343.88938904%20C411.51213267%201343.21104765%20411.63628011%201342.53270626%20411.7641896%201341.83380908%20C412.17662934%201339.58452582%20412.59355551%201337.33609905%20413.01049805%201335.08764648%20C413.31060355%201333.45620854%20413.61042778%201331.82471884%20413.90999508%201330.19318199%20C414.7269403%201325.74827455%20415.54779155%201321.30409627%20416.3692956%201316.86002946%20C417.24572562%201312.11485646%20418.11843243%201307.36899873%20418.99154663%201302.62321472%20C420.48537353%201294.50627273%20421.9814042%201286.38973962%20423.47903442%201278.27349854%20C425.81168262%201265.63190818%20428.14049765%201252.98961352%20430.46850586%201240.34716797%20C431.24634234%201236.12322799%20432.02419399%201231.8992908%20432.80204773%201227.675354%20C432.994336%201226.63115295%20433.18662427%201225.5869519%20433.38473946%201224.5111084%20C434.5517232%201218.17414514%20435.71909736%201211.83725394%20436.88678104%201205.50041962%20C441.55237596%201180.18084381%20446.20685276%201154.85928396%20450.83816981%201129.53341508%20C451.36915395%201126.62995752%20451.90032052%201123.72653335%20452.43148345%201120.82310849%20C454.7135128%201108.34887001%20456.99400124%201095.87435226%20459.2702446%201083.39905643%20C460.11947451%201078.74719247%20460.97040771%201074.09564133%20461.82182693%201069.44417763%20C462.20864513%201067.32864122%20462.59468226%201065.21296182%20462.97986984%201063.09712791%20C463.49512112%201060.26702672%20464.01297143%201057.43741349%20464.53149414%201054.60791016%20C464.7546708%201053.37627467%20464.7546708%201053.37627467%20464.98235607%201052.11975765%20C465.54550464%201049.05918558%20466.13944488%201046.14416537%20467.125%201043.1875%20C354.925%201043.1875%20242.725%201043.1875%20127.125%201043.1875%20C127.125%20820.4875%20127.125%20820.4875%20166.125%20767.1875%20C166.7334375%20766.33671875%20167.341875%20765.4859375%20167.96875%20764.609375%20C199.0356318%20723.45938244%20248.58254326%20706.8968135%20297.84375%20699.99609375%20C322.20646732%20696.77183572%20346.69767153%20695.99322627%20371.25%20696.0625%20C372.24480377%20696.0640509%20373.23960754%20696.06560181%20374.26455688%20696.06719971%20C403.35847437%20696.11952535%20432.44731149%20696.57260512%20461.5%20698.1875%20C462.25566254%20698.22929382%20463.01132507%20698.27108765%20463.78988647%20698.31414795%20C470.62665266%20698.70012868%20477.33423541%20699.21739077%20484.125%20700.1875%20C484.125%20605.1475%20484.125%20510.1075%20484.125%20412.1875%20C481.485%20411.8575%20478.845%20411.5275%20476.125%20411.1875%20C473.70350389%20410.74024359%20471.28672476%20410.26678913%20468.875%20409.76953125%20C467.46953422%20409.4842065%20466.06392837%20409.19957106%20464.65820312%20408.91552734%20C463.922229%20408.76637878%20463.18625488%20408.61723022%20462.42797852%20408.46356201%20C418.7251371%20399.6667031%20374.4681051%20394.56312206%20330.0625%20390.9375%20C329.04600372%20390.85441589%20328.02950745%20390.77133179%20326.98220825%20390.68572998%20C320.36555577%20390.15035922%20313.7468795%20389.65356543%20307.125%20389.1875%20C306.36406036%20389.13201996%20305.60312073%20389.07653992%20304.81912231%20389.01937866%20C288.301523%20387.84651093%20271.73733416%20387.98693467%20255.1875%20388%20C254.05323767%20388.00040031%20254.05323767%20388.00040031%20252.89606094%20388.00080872%20C229.91924016%20388.01099063%20207.02914183%20388.18285444%20184.125%20390.1875%20C183.00738281%20390.28224609%20183.00738281%20390.28224609%20181.8671875%20390.37890625%20C114.16045062%20396.12440306%2047.41054353%20409.25726526%20-14.875%20437.1875%20C-16.27419678%20437.81374268%20-16.27419678%20437.81374268%20-17.70166016%20438.45263672%20C-44.8755615%20450.73179164%20-70.7002496%20466.38909731%20-93.875%20485.1875%20C-94.78636719%20485.90808594%20-95.69773437%20486.62867188%20-96.63671875%20487.37109375%20C-114.16450229%20501.39832137%20-131.13485733%20517.41657747%20-144.875%20535.1875%20C-145.78582026%20536.30083746%20-146.70012221%20537.41133222%20-147.6171875%20538.51953125%20C-202.325014%20604.95432352%20-228.49253665%20690.27902932%20-246.625%20832.0625%20C-246.68425659%20832.8826358%20-246.74351318%20833.70277161%20-246.80456543%20834.54776001%20C-248.70329112%20861.39656802%20-249.05219436%20888.25161023%20-249.17891693%20915.15448761%20C-249.198928%20919.23179463%20-249.22365365%20923.30906858%20-249.2479248%20927.38635254%20C-249.31571778%20939.21587622%20-249.37618676%20951.04544096%20-249.4375%20962.875%20C-249.581875%20989.378125%20-249.72625%201015.88125%20-249.875%201043.1875%20C-320.825%201043.1875%20-391.775%201043.1875%20-464.875%201043.1875%20C-464.875%201147.7975%20-464.875%201252.4075%20-464.875%201360.1875%20C-393.925%201360.1875%20-322.975%201360.1875%20-249.875%201360.1875%20C-249.875%201589.2075%20-249.875%201818.2275%20-249.875%202054.1875%20C-270.62367633%202049.57668304%20-270.62367633%202049.57668304%20-277.3359375%202047.59375%20C-278.12266342%202047.36577728%20-278.90938934%202047.13780457%20-279.71995544%202046.90292358%20C-282.23215489%202046.17167304%20-284.74129526%202045.43064444%20-287.25%202044.6875%20C-288.12707611%202044.42938538%20-289.00415222%202044.17127075%20-289.9078064%202043.90533447%20C-307.71271842%202038.65736425%20-325.33810391%202032.92982037%20-342.88323975%202026.8737793%20C-344.78762714%202026.21760512%20-346.69382179%202025.56668313%20-348.60009766%202024.91601562%20C-386.39071379%202011.98422192%20-423.03805933%201995.76788599%20-458.875%201978.1875%20C-460.08801596%201977.59464997%20-461.30107048%201977.00187885%20-462.51416016%201976.40917969%20C-478.32368152%201968.67434904%20-493.85789195%201960.60770523%20-509.09521484%201951.78466797%20C-511.96370924%201950.13653075%20-514.8478377%201948.51946121%20-517.73828125%201946.91015625%20C-529.19760797%201940.52415668%20-540.40320532%201933.86804094%20-551.42675781%201926.75732422%20C-554.02158841%201925.09350683%20-556.63012701%201923.45302978%20-559.2421875%201921.81640625%20C-570.92292696%201914.48148611%20-582.3192026%201906.8345234%20-593.55371094%201898.83398438%20C-595.74838809%201897.2773055%20-597.95339131%201895.73697652%20-600.1640625%201894.203125%20C-610.85023778%201886.77100591%20-621.20735707%201878.93827558%20-631.52050781%201870.99853516%20C-633.58006511%201869.41435888%20-635.64392053%201867.83613925%20-637.7109375%201866.26171875%20C-647.39068031%201858.87917139%20-656.7664934%201851.16037524%20-666.03686523%201843.27368164%20C-669.46521372%201840.36174562%20-672.93465337%201837.50993757%20-676.4375%201834.6875%20C-681.51539439%201830.55708445%20-686.32063853%201826.17918232%20-691.1171875%201821.73046875%20C-693.27840548%201819.73761761%20-695.45846969%201817.79042215%20-697.6875%201815.875%20C-707.03725713%201807.75496041%20-715.97948201%201799.16676038%20-724.67578125%201790.35546875%20C-727.32888836%201787.74006121%20-730.11690846%201785.32121245%20-732.94140625%201782.89453125%20C-737.6422449%201778.74449794%20-741.99477244%201774.2690599%20-746.0625%201769.5%20C-749.31932797%201765.70411085%20-752.82135682%201762.20154687%20-756.375%201758.6875%20C-760.41419926%201754.68856796%20-764.33221615%201750.66891397%20-768.01171875%201746.33203125%20C-770.01595855%201744.02526469%20-772.08841257%201741.79447697%20-774.17431641%201739.56176758%20C-779.24905932%201734.12926079%20-784.08240797%201728.59009671%20-788.73828125%201722.7890625%20C-790.83382494%201720.23763271%20-793.01463155%201717.80423227%20-795.25%201715.375%20C-799.23008466%201711.00241564%20-802.88847497%201706.44580709%20-806.50952148%201701.77758789%20C-809.51028782%201697.91192218%20-812.56461153%201694.09842864%20-815.66894531%201690.31542969%20C-827.35908879%201676.06915264%20-838.17666647%201661.18693681%20-848.875%201646.1875%20C-849.71417969%201645.0121167%20-849.71417969%201645.0121167%20-850.5703125%201643.81298828%20C-860.04321275%201630.50929475%20-869.07734538%201616.94618682%20-877.875%201603.1875%20C-878.4952002%201602.21796387%20-879.11540039%201601.24842773%20-879.75439453%201600.24951172%20C-894.48377963%201577.14060668%20-908.02989957%201553.38947828%20-920.875%201529.1875%20C-921.41946777%201528.1670459%20-921.96393555%201527.1465918%20-922.52490234%201526.09521484%20C-950.92205251%201472.73772329%20-973.77638387%201416.81788606%20-992.20300293%201359.27978516%20C-992.84281907%201357.28769639%20-993.48916038%201355.2978585%20-994.13769531%201353.30859375%20C-1021.07962966%201270.16357352%20-1034.75061722%201183.25969817%20-1039.875%201096.1875%20C-1039.98303955%201094.41971191%20-1039.98303955%201094.41971191%20-1040.09326172%201092.61621094%20C-1045.63647387%20997.60231986%20-1035.95069819%20900.80955586%20-988.55480957%20714.24517822%20C-987.91148971%20712.29794869%20-987.27345606%20710.34897503%20-986.63574219%20708.39990234%20C-972.198078%20664.45683716%20-953.94499844%20621.94702594%20-933.50244141%20580.48925781%20C-931.92365217%20577.28620566%20-930.35774073%20574.07710499%20-928.79296875%20570.8671875%20C-922.47719203%20557.98975189%20-915.66417948%20545.46930097%20-908.50732422%20533.04199219%20C-906.88104815%20530.19807658%20-905.28202374%20527.34055521%20-903.69140625%20524.4765625%20C-886.12900281%20492.89821761%20-866.14484941%20462.40194511%20-844.875%20433.1875%20C-844.04911377%20432.04933838%20-844.04911377%20432.04933838%20-843.20654297%20430.88818359%20C-836.06130995%20421.05881457%20-828.7732954%20411.3658484%20-821.20166016%20401.86132812%20C-819.83665981%20400.13912673%20-818.48504984%20398.40715176%20-817.13671875%20396.671875%20C-812.17288962%20390.29043596%20-807.11257707%20384.01899817%20-801.859375%20377.87304688%20C-798.97588109%20374.499359%20-796.15862156%20371.08223817%20-793.375%20367.625%20C-789.24809794%20362.55142507%20-784.87397442%20357.75008858%20-780.4296875%20352.95703125%20C-778.37386278%20350.72831607%20-776.35883043%20348.47982081%20-774.375%20346.1875%20C-770.15531164%20341.33087754%20-765.80192045%20336.59811629%20-761.43359375%20331.87548828%20C-760.40256762%20330.75886631%20-759.37387963%20329.64008046%20-758.34765625%20328.51904297%20C-749.45659923%20318.81038563%20-740.23533473%20309.44175692%20-730.9375%20300.125%20C-730.35145996%20299.53637177%20-729.76541992%20298.94774353%20-729.16162109%20298.34127808%20C-717.61447074%20286.75390994%20-717.61447074%20286.75390994%20-711.50756836%20281.60571289%20C-709.70928757%20280.04354553%20-708.04247572%20278.38787503%20-706.375%20276.6875%20C-703.40764677%20273.67336418%20-700.30154708%20270.88832667%20-697.09765625%20268.12890625%20C-694.54523117%20265.89945939%20-692.05612486%20263.60748618%20-689.5625%20261.3125%20C-685.09977168%20257.24209944%20-680.51242%20253.38573091%20-675.8125%20249.59375%20C-672.51145806%20246.889705%20-669.28754385%20244.10617139%20-666.0625%20241.3125%20C-659.73423409%20235.85005238%20-653.2238193%20230.66076967%20-646.61621094%20225.54199219%20C-644.88545643%20224.19563408%20-643.16395475%20222.83833893%20-641.4453125%20221.4765625%20C-633.37371493%20215.0832974%20-625.20347731%20208.83326471%20-616.92724609%20202.70703125%20C-615.59760536%20201.72253399%20-614.26969096%20200.73569917%20-612.94384766%20199.74609375%20C-591.09427344%20183.46841045%20-568.10643973%20168.4136987%20-544.875%20154.1875%20C-544.10043457%20153.71231934%20-543.32586914%20153.23713867%20-542.52783203%20152.74755859%20C-529.15844276%20144.57334691%20-515.5714239%20136.79891975%20-501.875%20129.1875%20C-500.9586377%20128.67638672%20-500.04227539%20128.16527344%20-499.09814453%20127.63867188%20C-471.10385829%20112.0735903%20-442.34223185%2097.74699667%20-412.875%2085.1875%20C-412.1618866%2084.88326111%20-411.44877319%2084.57902222%20-410.71405029%2084.26556396%20C-385.762709%2073.64318405%20-360.52997695%2063.97343221%20-334.875%2055.1875%20C-334.15306458%2054.93997986%20-333.43112915%2054.69245972%20-332.68731689%2054.43743896%20C-249.37478965%2025.95429945%20-162.18869196%208.98545156%200%200%20Z%20'%20fill='%23FFFFFF'%20transform='translate(1040.875,-0.1875)'/%3e%3c/svg%3e", l0 = {
|
|
3538
|
+
}), l0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20width='2084'%20height='2084'%3e%3cpath%20d='M0%200%20C1.15764862%200.00060425%202.31529724%200.0012085%203.50802612%200.00183105%20C85.98260722%200.11720669%20167.94255485%209.87604579%20248.125%2029.1875%20C248.86457947%2029.36476624%20249.60415894%2029.54203247%20250.3661499%2029.72467041%20C334.62230969%2049.9574737%20416.80768306%2081.42007316%20533.125%20145.1875%20C534.02105957%20145.70908691%20534.91711914%20146.23067383%20535.84033203%20146.76806641%20C550.04886476%20155.0696507%20563.74211052%20164.13646225%20577.4375%20173.25%20C578.32679199%20173.8407431%20579.21608398%20174.43148621%20580.13232422%20175.04013062%20C591.69483528%20182.73135096%20603.0720229%20190.63196121%20614.27706909%20198.8354187%20C616.67050493%20200.58663127%20619.07390043%20202.32397661%20621.4765625%20204.0625%20C630.31030376%20210.50445197%20638.91838886%20217.148823%20647.35546875%20224.1015625%20C650.93712446%20227.05029675%20654.58513462%20229.90587171%20658.25%20232.75%20C664.80446613%20237.85872335%20671.10574818%20243.23251579%20677.37939453%20248.68017578%20C679.10687975%20250.17185322%20680.84590215%20251.64870526%20682.58984375%20253.12109375%20C689.5490538%20259.00754793%20696.29865442%20265.06950894%20702.93237305%20271.32104492%20C706.02875784%20274.23828319%20709.1375661%20277.11327067%20712.375%20279.875%20C716.13510937%20283.10378956%20719.58790586%20286.62314338%20723.06616211%20290.14794922%20C725.6075653%20292.71084883%20728.18211543%20295.16942847%20730.9375%20297.5%20C739.34322101%20304.69001756%20747.21573722%20312.7580678%20754.35546875%20321.19921875%20C756.67272617%20323.80293625%20759.14521445%20326.24047964%20761.625%20328.6875%20C765.32908948%20332.34742653%20768.87787767%20336.07693794%20772.2578125%20340.0390625%20C774.15320841%20342.21995738%20776.1052652%20344.34205746%20778.07080078%20346.4597168%20C782.90200954%20351.66642948%20787.48561882%20356.99917793%20791.94140625%20362.53515625%20C794.11897068%20365.18017637%20796.37818763%20367.71962525%20798.6875%20370.25%20C802.24142208%20374.1587026%20805.5852216%20378.17351283%20808.8515625%20382.32421875%20C810.55603659%20384.47091893%20812.27757011%20386.59447521%20814.0234375%20388.70703125%20C821.23010316%20397.44393263%20828.06132486%20406.39389068%20834.73046875%20415.546875%20C837.30174324%20419.07576257%20839.91615421%20422.56735039%20842.56005859%20426.04199219%20C855.57684339%20443.17700697%20867.54995923%20461.05622605%20879.125%20479.1875%20C879.62451172%20479.96512695%20880.12402344%20480.74275391%20880.63867188%20481.54394531%20C897.58381654%20507.93121546%20913.09593508%20535.18898842%20927.46484375%20563.05859375%20C929.00770036%20566.04920309%20930.5667459%20569.02569169%20932.19140625%20571.97265625%20C939.19339133%20584.70486712%20945.14022162%20597.95559111%20951.125%20611.1875%20C951.41070862%20611.81843567%20951.69641724%20612.44937134%20951.99078369%20613.09942627%20C984.41326204%20684.79659167%201008.53753875%20760.05556022%201037.8125%20926.75%20C1037.95767059%20928.00706253%201037.95767059%20928.00706253%201038.10577393%20929.28952026%20C1042.18612959%20965.02273189%201043.64357089%201000.92112464%201043.51611328%201036.86474609%20C1043.49902324%201041.71699519%201043.50922796%201046.56874997%201043.52643585%201051.42098236%20C1043.58875603%201072.22474355%201043.121671%201092.92627467%201041.7421875%201113.6875%20C1041.68073925%201114.61345474%201041.619291%201115.53940948%201041.55598068%201116.49342346%20C1035.0007366%201213.08026312%201014.38267632%201308.16853%20966.125%201439.1875%20C965.74018463%201440.10187836%20965.74018463%201440.10187836%20965.34759521%201441.034729%20C949.45738809%201478.73766744%20932.25383656%201516.09689741%20911.67675781%201551.49414062%20C910.07835791%201554.26845588%20908.51530634%201557.06017358%20906.9609375%201559.859375%20C895.54802769%201580.39389385%20882.94822692%201600.0776952%20869.9375%201619.625%20C869.44011322%201620.37300873%20868.94272644%201621.12101746%20868.43026733%201621.89169312%20C858.68653626%201636.525895%20848.74118479%201651.01255917%20838%201664.9375%20C837.32259766%201665.82091064%20836.64519531%201666.70432129%20835.94726562%201667.61450195%20C834.61307186%201669.35362798%20833.27752794%201671.09171932%20831.94042969%201672.82861328%20C830.34444691%201674.90236067%20828.75291154%201676.97937968%20827.1640625%201679.05859375%20C822.23462047%201685.50301824%20817.23152617%201691.88240063%20812.125%201698.1875%20C811.44050781%201699.03570313%20810.75601562%201699.88390625%20810.05078125%201700.7578125%20C804.87991842%201707.12623602%20799.5782563%201713.37313801%20794.22265625%201719.5859375%20C792.19755881%201721.93532976%20790.1847527%201724.2942514%20788.18359375%201726.6640625%20C781.38039056%201734.70287081%20774.30783235%201742.44088746%20767.07495117%201750.09399414%20C765.68090087%201751.59067391%20764.30252896%201753.10201885%20762.93481445%201754.62280273%20C754.62146255%201763.84397622%20745.8602102%201772.6040054%20737.07202148%201781.37084961%20C734.4290134%201784.0084693%20731.79143019%201786.6514299%20729.15429688%201789.29492188%20C727.45344575%201790.9951126%20725.75228466%201792.69499331%20724.05078125%201794.39453125%20C723.27350174%201795.17383499%20722.49622223%201795.95313873%20721.69538879%201796.75605774%20C717.55441138%201800.87950727%20713.33600026%201804.84794915%20708.89880371%201808.65180969%20C705.95478417%201811.20062738%20703.14452257%201813.89078831%20700.3125%201816.5625%20C695.28811299%201821.26903274%20690.13516609%201825.71608064%20684.7578125%201830.01953125%20C682.01530846%201832.27782463%20679.4156241%201834.64531334%20676.8125%201837.0625%20C672.28436424%201841.22556682%20667.58986729%201845.04964306%20662.72802734%201848.80688477%20C658.76816735%201851.87383515%20654.89260927%201855.02304957%20651.04980469%201858.23535156%20C642.11958177%201865.69578282%20632.89061882%201872.64530815%20623.47070312%201879.47265625%20C621.25005402%201881.09607833%20619.05139889%201882.74445617%20616.859375%201884.40625%20C601.99002628%201895.6324397%20586.41223305%201905.80978513%20570.85534668%201916.04760742%20C568.60118411%201917.5325718%20566.3516835%201919.0245461%20564.1015625%201920.515625%20C544.67940459%201933.3113726%20524.47697034%201944.94533071%20504.125%201956.1875%20C502.63226562%201957.01217773%20502.63226562%201957.01217773%20501.109375%201957.85351562%20C425.12550951%201999.65428426%20344.00442425%202031.25797004%20139.19140625%202076.15625%20C138.04930191%202076.3149482%20138.04930191%202076.3149482%20136.88412476%202076.47685242%20C133.5828542%202076.92098977%20130.46476193%202077.1875%20127.125%202077.1875%20C127.125%201840.5775%20127.125%201603.9675%20127.125%201360.1875%20C220.185%201360.1875%20313.245%201360.1875%20409.125%201360.1875%20C409.455%201357.2175%20409.785%201354.2475%20410.125%201351.1875%20C410.51943974%201348.75034978%20410.94040505%201346.31734207%20411.38798523%201343.88938904%20C411.51213267%201343.21104765%20411.63628011%201342.53270626%20411.7641896%201341.83380908%20C412.17662934%201339.58452582%20412.59355551%201337.33609905%20413.01049805%201335.08764648%20C413.31060355%201333.45620854%20413.61042778%201331.82471884%20413.90999508%201330.19318199%20C414.7269403%201325.74827455%20415.54779155%201321.30409627%20416.3692956%201316.86002946%20C417.24572562%201312.11485646%20418.11843243%201307.36899873%20418.99154663%201302.62321472%20C420.48537353%201294.50627273%20421.9814042%201286.38973962%20423.47903442%201278.27349854%20C425.81168262%201265.63190818%20428.14049765%201252.98961352%20430.46850586%201240.34716797%20C431.24634234%201236.12322799%20432.02419399%201231.8992908%20432.80204773%201227.675354%20C432.994336%201226.63115295%20433.18662427%201225.5869519%20433.38473946%201224.5111084%20C434.5517232%201218.17414514%20435.71909736%201211.83725394%20436.88678104%201205.50041962%20C441.55237596%201180.18084381%20446.20685276%201154.85928396%20450.83816981%201129.53341508%20C451.36915395%201126.62995752%20451.90032052%201123.72653335%20452.43148345%201120.82310849%20C454.7135128%201108.34887001%20456.99400124%201095.87435226%20459.2702446%201083.39905643%20C460.11947451%201078.74719247%20460.97040771%201074.09564133%20461.82182693%201069.44417763%20C462.20864513%201067.32864122%20462.59468226%201065.21296182%20462.97986984%201063.09712791%20C463.49512112%201060.26702672%20464.01297143%201057.43741349%20464.53149414%201054.60791016%20C464.7546708%201053.37627467%20464.7546708%201053.37627467%20464.98235607%201052.11975765%20C465.54550464%201049.05918558%20466.13944488%201046.14416537%20467.125%201043.1875%20C354.925%201043.1875%20242.725%201043.1875%20127.125%201043.1875%20C127.125%20820.4875%20127.125%20820.4875%20166.125%20767.1875%20C166.7334375%20766.33671875%20167.341875%20765.4859375%20167.96875%20764.609375%20C199.0356318%20723.45938244%20248.58254326%20706.8968135%20297.84375%20699.99609375%20C322.20646732%20696.77183572%20346.69767153%20695.99322627%20371.25%20696.0625%20C372.24480377%20696.0640509%20373.23960754%20696.06560181%20374.26455688%20696.06719971%20C403.35847437%20696.11952535%20432.44731149%20696.57260512%20461.5%20698.1875%20C462.25566254%20698.22929382%20463.01132507%20698.27108765%20463.78988647%20698.31414795%20C470.62665266%20698.70012868%20477.33423541%20699.21739077%20484.125%20700.1875%20C484.125%20605.1475%20484.125%20510.1075%20484.125%20412.1875%20C481.485%20411.8575%20478.845%20411.5275%20476.125%20411.1875%20C473.70350389%20410.74024359%20471.28672476%20410.26678913%20468.875%20409.76953125%20C467.46953422%20409.4842065%20466.06392837%20409.19957106%20464.65820312%20408.91552734%20C463.922229%20408.76637878%20463.18625488%20408.61723022%20462.42797852%20408.46356201%20C418.7251371%20399.6667031%20374.4681051%20394.56312206%20330.0625%20390.9375%20C329.04600372%20390.85441589%20328.02950745%20390.77133179%20326.98220825%20390.68572998%20C320.36555577%20390.15035922%20313.7468795%20389.65356543%20307.125%20389.1875%20C306.36406036%20389.13201996%20305.60312073%20389.07653992%20304.81912231%20389.01937866%20C288.301523%20387.84651093%20271.73733416%20387.98693467%20255.1875%20388%20C254.05323767%20388.00040031%20254.05323767%20388.00040031%20252.89606094%20388.00080872%20C229.91924016%20388.01099063%20207.02914183%20388.18285444%20184.125%20390.1875%20C183.00738281%20390.28224609%20183.00738281%20390.28224609%20181.8671875%20390.37890625%20C114.16045062%20396.12440306%2047.41054353%20409.25726526%20-14.875%20437.1875%20C-16.27419678%20437.81374268%20-16.27419678%20437.81374268%20-17.70166016%20438.45263672%20C-44.8755615%20450.73179164%20-70.7002496%20466.38909731%20-93.875%20485.1875%20C-94.78636719%20485.90808594%20-95.69773437%20486.62867188%20-96.63671875%20487.37109375%20C-114.16450229%20501.39832137%20-131.13485733%20517.41657747%20-144.875%20535.1875%20C-145.78582026%20536.30083746%20-146.70012221%20537.41133222%20-147.6171875%20538.51953125%20C-202.325014%20604.95432352%20-228.49253665%20690.27902932%20-246.625%20832.0625%20C-246.68425659%20832.8826358%20-246.74351318%20833.70277161%20-246.80456543%20834.54776001%20C-248.70329112%20861.39656802%20-249.05219436%20888.25161023%20-249.17891693%20915.15448761%20C-249.198928%20919.23179463%20-249.22365365%20923.30906858%20-249.2479248%20927.38635254%20C-249.31571778%20939.21587622%20-249.37618676%20951.04544096%20-249.4375%20962.875%20C-249.581875%20989.378125%20-249.72625%201015.88125%20-249.875%201043.1875%20C-320.825%201043.1875%20-391.775%201043.1875%20-464.875%201043.1875%20C-464.875%201147.7975%20-464.875%201252.4075%20-464.875%201360.1875%20C-393.925%201360.1875%20-322.975%201360.1875%20-249.875%201360.1875%20C-249.875%201589.2075%20-249.875%201818.2275%20-249.875%202054.1875%20C-270.62367633%202049.57668304%20-270.62367633%202049.57668304%20-277.3359375%202047.59375%20C-278.12266342%202047.36577728%20-278.90938934%202047.13780457%20-279.71995544%202046.90292358%20C-282.23215489%202046.17167304%20-284.74129526%202045.43064444%20-287.25%202044.6875%20C-288.12707611%202044.42938538%20-289.00415222%202044.17127075%20-289.9078064%202043.90533447%20C-307.71271842%202038.65736425%20-325.33810391%202032.92982037%20-342.88323975%202026.8737793%20C-344.78762714%202026.21760512%20-346.69382179%202025.56668313%20-348.60009766%202024.91601562%20C-386.39071379%202011.98422192%20-423.03805933%201995.76788599%20-458.875%201978.1875%20C-460.08801596%201977.59464997%20-461.30107048%201977.00187885%20-462.51416016%201976.40917969%20C-478.32368152%201968.67434904%20-493.85789195%201960.60770523%20-509.09521484%201951.78466797%20C-511.96370924%201950.13653075%20-514.8478377%201948.51946121%20-517.73828125%201946.91015625%20C-529.19760797%201940.52415668%20-540.40320532%201933.86804094%20-551.42675781%201926.75732422%20C-554.02158841%201925.09350683%20-556.63012701%201923.45302978%20-559.2421875%201921.81640625%20C-570.92292696%201914.48148611%20-582.3192026%201906.8345234%20-593.55371094%201898.83398438%20C-595.74838809%201897.2773055%20-597.95339131%201895.73697652%20-600.1640625%201894.203125%20C-610.85023778%201886.77100591%20-621.20735707%201878.93827558%20-631.52050781%201870.99853516%20C-633.58006511%201869.41435888%20-635.64392053%201867.83613925%20-637.7109375%201866.26171875%20C-647.39068031%201858.87917139%20-656.7664934%201851.16037524%20-666.03686523%201843.27368164%20C-669.46521372%201840.36174562%20-672.93465337%201837.50993757%20-676.4375%201834.6875%20C-681.51539439%201830.55708445%20-686.32063853%201826.17918232%20-691.1171875%201821.73046875%20C-693.27840548%201819.73761761%20-695.45846969%201817.79042215%20-697.6875%201815.875%20C-707.03725713%201807.75496041%20-715.97948201%201799.16676038%20-724.67578125%201790.35546875%20C-727.32888836%201787.74006121%20-730.11690846%201785.32121245%20-732.94140625%201782.89453125%20C-737.6422449%201778.74449794%20-741.99477244%201774.2690599%20-746.0625%201769.5%20C-749.31932797%201765.70411085%20-752.82135682%201762.20154687%20-756.375%201758.6875%20C-760.41419926%201754.68856796%20-764.33221615%201750.66891397%20-768.01171875%201746.33203125%20C-770.01595855%201744.02526469%20-772.08841257%201741.79447697%20-774.17431641%201739.56176758%20C-779.24905932%201734.12926079%20-784.08240797%201728.59009671%20-788.73828125%201722.7890625%20C-790.83382494%201720.23763271%20-793.01463155%201717.80423227%20-795.25%201715.375%20C-799.23008466%201711.00241564%20-802.88847497%201706.44580709%20-806.50952148%201701.77758789%20C-809.51028782%201697.91192218%20-812.56461153%201694.09842864%20-815.66894531%201690.31542969%20C-827.35908879%201676.06915264%20-838.17666647%201661.18693681%20-848.875%201646.1875%20C-849.71417969%201645.0121167%20-849.71417969%201645.0121167%20-850.5703125%201643.81298828%20C-860.04321275%201630.50929475%20-869.07734538%201616.94618682%20-877.875%201603.1875%20C-878.4952002%201602.21796387%20-879.11540039%201601.24842773%20-879.75439453%201600.24951172%20C-894.48377963%201577.14060668%20-908.02989957%201553.38947828%20-920.875%201529.1875%20C-921.41946777%201528.1670459%20-921.96393555%201527.1465918%20-922.52490234%201526.09521484%20C-950.92205251%201472.73772329%20-973.77638387%201416.81788606%20-992.20300293%201359.27978516%20C-992.84281907%201357.28769639%20-993.48916038%201355.2978585%20-994.13769531%201353.30859375%20C-1021.07962966%201270.16357352%20-1034.75061722%201183.25969817%20-1039.875%201096.1875%20C-1039.98303955%201094.41971191%20-1039.98303955%201094.41971191%20-1040.09326172%201092.61621094%20C-1045.63647387%20997.60231986%20-1035.95069819%20900.80955586%20-988.55480957%20714.24517822%20C-987.91148971%20712.29794869%20-987.27345606%20710.34897503%20-986.63574219%20708.39990234%20C-972.198078%20664.45683716%20-953.94499844%20621.94702594%20-933.50244141%20580.48925781%20C-931.92365217%20577.28620566%20-930.35774073%20574.07710499%20-928.79296875%20570.8671875%20C-922.47719203%20557.98975189%20-915.66417948%20545.46930097%20-908.50732422%20533.04199219%20C-906.88104815%20530.19807658%20-905.28202374%20527.34055521%20-903.69140625%20524.4765625%20C-886.12900281%20492.89821761%20-866.14484941%20462.40194511%20-844.875%20433.1875%20C-844.04911377%20432.04933838%20-844.04911377%20432.04933838%20-843.20654297%20430.88818359%20C-836.06130995%20421.05881457%20-828.7732954%20411.3658484%20-821.20166016%20401.86132812%20C-819.83665981%20400.13912673%20-818.48504984%20398.40715176%20-817.13671875%20396.671875%20C-812.17288962%20390.29043596%20-807.11257707%20384.01899817%20-801.859375%20377.87304688%20C-798.97588109%20374.499359%20-796.15862156%20371.08223817%20-793.375%20367.625%20C-789.24809794%20362.55142507%20-784.87397442%20357.75008858%20-780.4296875%20352.95703125%20C-778.37386278%20350.72831607%20-776.35883043%20348.47982081%20-774.375%20346.1875%20C-770.15531164%20341.33087754%20-765.80192045%20336.59811629%20-761.43359375%20331.87548828%20C-760.40256762%20330.75886631%20-759.37387963%20329.64008046%20-758.34765625%20328.51904297%20C-749.45659923%20318.81038563%20-740.23533473%20309.44175692%20-730.9375%20300.125%20C-730.35145996%20299.53637177%20-729.76541992%20298.94774353%20-729.16162109%20298.34127808%20C-717.61447074%20286.75390994%20-717.61447074%20286.75390994%20-711.50756836%20281.60571289%20C-709.70928757%20280.04354553%20-708.04247572%20278.38787503%20-706.375%20276.6875%20C-703.40764677%20273.67336418%20-700.30154708%20270.88832667%20-697.09765625%20268.12890625%20C-694.54523117%20265.89945939%20-692.05612486%20263.60748618%20-689.5625%20261.3125%20C-685.09977168%20257.24209944%20-680.51242%20253.38573091%20-675.8125%20249.59375%20C-672.51145806%20246.889705%20-669.28754385%20244.10617139%20-666.0625%20241.3125%20C-659.73423409%20235.85005238%20-653.2238193%20230.66076967%20-646.61621094%20225.54199219%20C-644.88545643%20224.19563408%20-643.16395475%20222.83833893%20-641.4453125%20221.4765625%20C-633.37371493%20215.0832974%20-625.20347731%20208.83326471%20-616.92724609%20202.70703125%20C-615.59760536%20201.72253399%20-614.26969096%20200.73569917%20-612.94384766%20199.74609375%20C-591.09427344%20183.46841045%20-568.10643973%20168.4136987%20-544.875%20154.1875%20C-544.10043457%20153.71231934%20-543.32586914%20153.23713867%20-542.52783203%20152.74755859%20C-529.15844276%20144.57334691%20-515.5714239%20136.79891975%20-501.875%20129.1875%20C-500.9586377%20128.67638672%20-500.04227539%20128.16527344%20-499.09814453%20127.63867188%20C-471.10385829%20112.0735903%20-442.34223185%2097.74699667%20-412.875%2085.1875%20C-412.1618866%2084.88326111%20-411.44877319%2084.57902222%20-410.71405029%2084.26556396%20C-385.762709%2073.64318405%20-360.52997695%2063.97343221%20-334.875%2055.1875%20C-334.15306458%2054.93997986%20-333.43112915%2054.69245972%20-332.68731689%2054.43743896%20C-249.37478965%2025.95429945%20-162.18869196%208.98545156%200%200%20Z%20'%20fill='%23FFFFFF'%20transform='translate(1040.875,-0.1875)'/%3e%3c/svg%3e", r0 = {
|
|
3511
3539
|
name: "FacebookSignInButton"
|
|
3512
|
-
},
|
|
3513
|
-
...
|
|
3540
|
+
}, ta = /* @__PURE__ */ P({
|
|
3541
|
+
...r0,
|
|
3514
3542
|
props: {
|
|
3515
3543
|
baseButtonOptions: {
|
|
3516
3544
|
default: () => ({}),
|
|
@@ -3531,19 +3559,19 @@ const K2 = {
|
|
|
3531
3559
|
},
|
|
3532
3560
|
emits: ["click"],
|
|
3533
3561
|
setup(e) {
|
|
3534
|
-
return (t, n) => (d(),
|
|
3562
|
+
return (t, n) => (d(), F(Pn, fe(e.baseButtonOptions, {
|
|
3535
3563
|
disabled: e.disabled,
|
|
3536
|
-
"image-source":
|
|
3564
|
+
"image-source": Z(l0),
|
|
3537
3565
|
loading: e.loading,
|
|
3538
3566
|
title: e.title,
|
|
3539
3567
|
class: "facebook",
|
|
3540
3568
|
onClick: n[0] || (n[0] = (o) => t.$emit("click"))
|
|
3541
3569
|
}), null, 16, ["disabled", "image-source", "loading", "title"]));
|
|
3542
3570
|
}
|
|
3543
|
-
}),
|
|
3571
|
+
}), s0 = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3csvg%20width='46px'%20height='46px'%20viewBox='0%200%2046%2046'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xmlns:sketch='http://www.bohemiancoding.com/sketch/ns'%3e%3c!--%20Generator:%20Sketch%203.3.3%20(12081)%20-%20http://www.bohemiancoding.com/sketch%20--%3e%3ctitle%3ebtn_google_light_normal_ios%3c/title%3e%3cdesc%3eCreated%20with%20Sketch.%3c/desc%3e%3cdefs%3e%3cfilter%20x='-50%25'%20y='-50%25'%20width='200%25'%20height='200%25'%20filterUnits='objectBoundingBox'%20id='filter-1'%3e%3cfeOffset%20dx='0'%20dy='1'%20in='SourceAlpha'%20result='shadowOffsetOuter1'%3e%3c/feOffset%3e%3cfeGaussianBlur%20stdDeviation='0.5'%20in='shadowOffsetOuter1'%20result='shadowBlurOuter1'%3e%3c/feGaussianBlur%3e%3cfeColorMatrix%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.168%200'%20in='shadowBlurOuter1'%20type='matrix'%20result='shadowMatrixOuter1'%3e%3c/feColorMatrix%3e%3cfeOffset%20dx='0'%20dy='0'%20in='SourceAlpha'%20result='shadowOffsetOuter2'%3e%3c/feOffset%3e%3cfeGaussianBlur%20stdDeviation='0.5'%20in='shadowOffsetOuter2'%20result='shadowBlurOuter2'%3e%3c/feGaussianBlur%3e%3cfeColorMatrix%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.084%200'%20in='shadowBlurOuter2'%20type='matrix'%20result='shadowMatrixOuter2'%3e%3c/feColorMatrix%3e%3cfeMerge%3e%3cfeMergeNode%20in='shadowMatrixOuter1'%3e%3c/feMergeNode%3e%3cfeMergeNode%20in='shadowMatrixOuter2'%3e%3c/feMergeNode%3e%3cfeMergeNode%20in='SourceGraphic'%3e%3c/feMergeNode%3e%3c/feMerge%3e%3c/filter%3e%3crect%20id='path-2'%20x='0'%20y='0'%20width='40'%20height='40'%20rx='2'%3e%3c/rect%3e%3c/defs%3e%3cg%20id='Google-Button'%20stroke='none'%20stroke-width='1'%20fill='none'%20fill-rule='evenodd'%20sketch:type='MSPage'%3e%3cg%20id='9-PATCH'%20sketch:type='MSArtboardGroup'%20transform='translate(-608.000000,%20-160.000000)'%3e%3c/g%3e%3cg%20id='btn_google_light_normal'%20sketch:type='MSArtboardGroup'%20transform='translate(-1.000000,%20-1.000000)'%3e%3cg%20id='button'%20sketch:type='MSLayerGroup'%20transform='translate(4.000000,%204.000000)'%20filter='url(%23filter-1)'%3e%3cg%20id='button-bg'%3e%3cuse%20fill='%23FFFFFF'%20fill-rule='evenodd'%20sketch:type='MSShapeGroup'%20xlink:href='%23path-2'%3e%3c/use%3e%3cuse%20fill='none'%20xlink:href='%23path-2'%3e%3c/use%3e%3cuse%20fill='none'%20xlink:href='%23path-2'%3e%3c/use%3e%3cuse%20fill='none'%20xlink:href='%23path-2'%3e%3c/use%3e%3c/g%3e%3c/g%3e%3cg%20id='logo_googleg_48dp'%20sketch:type='MSLayerGroup'%20transform='translate(15.000000,%2015.000000)'%3e%3cpath%20d='M17.64,9.20454545%20C17.64,8.56636364%2017.5827273,7.95272727%2017.4763636,7.36363636%20L9,7.36363636%20L9,10.845%20L13.8436364,10.845%20C13.635,11.97%2013.0009091,12.9231818%2012.0477273,13.5613636%20L12.0477273,15.8195455%20L14.9563636,15.8195455%20C16.6581818,14.2527273%2017.64,11.9454545%2017.64,9.20454545%20L17.64,9.20454545%20Z'%20id='Shape'%20fill='%234285F4'%20sketch:type='MSShapeGroup'%3e%3c/path%3e%3cpath%20d='M9,18%20C11.43,18%2013.4672727,17.1940909%2014.9563636,15.8195455%20L12.0477273,13.5613636%20C11.2418182,14.1013636%2010.2109091,14.4204545%209,14.4204545%20C6.65590909,14.4204545%204.67181818,12.8372727%203.96409091,10.71%20L0.957272727,10.71%20L0.957272727,13.0418182%20C2.43818182,15.9831818%205.48181818,18%209,18%20L9,18%20Z'%20id='Shape'%20fill='%2334A853'%20sketch:type='MSShapeGroup'%3e%3c/path%3e%3cpath%20d='M3.96409091,10.71%20C3.78409091,10.17%203.68181818,9.59318182%203.68181818,9%20C3.68181818,8.40681818%203.78409091,7.83%203.96409091,7.29%20L3.96409091,4.95818182%20L0.957272727,4.95818182%20C0.347727273,6.17318182%200,7.54772727%200,9%20C0,10.4522727%200.347727273,11.8268182%200.957272727,13.0418182%20L3.96409091,10.71%20L3.96409091,10.71%20Z'%20id='Shape'%20fill='%23FBBC05'%20sketch:type='MSShapeGroup'%3e%3c/path%3e%3cpath%20d='M9,3.57954545%20C10.3213636,3.57954545%2011.5077273,4.03363636%2012.4404545,4.92545455%20L15.0218182,2.34409091%20C13.4631818,0.891818182%2011.4259091,0%209,0%20C5.48181818,0%202.43818182,2.01681818%200.957272727,4.95818182%20L3.96409091,7.29%20C4.67181818,5.16272727%206.65590909,3.57954545%209,3.57954545%20L9,3.57954545%20Z'%20id='Shape'%20fill='%23EA4335'%20sketch:type='MSShapeGroup'%3e%3c/path%3e%3cpath%20d='M0,0%20L18,0%20L18,18%20L0,18%20L0,0%20Z'%20id='Shape'%20sketch:type='MSShapeGroup'%3e%3c/path%3e%3c/g%3e%3cg%20id='handles_square'%20sketch:type='MSLayerGroup'%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e", u0 = {
|
|
3544
3572
|
name: "GoogleSignInButton"
|
|
3545
|
-
},
|
|
3546
|
-
...
|
|
3573
|
+
}, na = /* @__PURE__ */ P({
|
|
3574
|
+
...u0,
|
|
3547
3575
|
props: {
|
|
3548
3576
|
baseButtonOptions: {
|
|
3549
3577
|
default: () => ({}),
|
|
@@ -3564,25 +3592,25 @@ const K2 = {
|
|
|
3564
3592
|
},
|
|
3565
3593
|
emits: ["click"],
|
|
3566
3594
|
setup(e) {
|
|
3567
|
-
return (t, n) => (d(),
|
|
3595
|
+
return (t, n) => (d(), F(Pn, fe(e.baseButtonOptions, {
|
|
3568
3596
|
disabled: e.disabled,
|
|
3569
|
-
"image-source":
|
|
3597
|
+
"image-source": Z(s0),
|
|
3570
3598
|
loading: e.loading,
|
|
3571
3599
|
title: e.title,
|
|
3572
3600
|
class: "google",
|
|
3573
3601
|
onClick: n[0] || (n[0] = (o) => t.$emit("click"))
|
|
3574
3602
|
}), null, 16, ["disabled", "image-source", "loading", "title"]));
|
|
3575
3603
|
}
|
|
3576
|
-
}),
|
|
3604
|
+
}), d0 = "data:image/svg+xml,%3csvg%20fill='%23007aff'%20height='1rem'%20width='1rem'%20version='1.1'%20id='Capa_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20viewBox='0%200%20490%20490'%20xml:space='preserve'%20stroke='%23007aff'%20%3e%3cg%20stroke-width='0'%3e%3c/g%3e%3cg%20stroke-linecap='round'%20stroke-linejoin='round'%20%3e%3c/g%3e%3cg%3e%3cpolygon%20points='452.253,28.326%20197.831,394.674%2029.044,256.875%200,292.469%20207.253,461.674%20490,54.528%20'%20%3e%3c/polygon%3e%3c/g%3e%3c/svg%3e", c0 = { class: "stepper" }, f0 = { class: "steps" }, h0 = {
|
|
3577
3605
|
key: 0,
|
|
3578
|
-
src:
|
|
3579
|
-
},
|
|
3606
|
+
src: d0
|
|
3607
|
+
}, p0 = {
|
|
3580
3608
|
key: 0,
|
|
3581
3609
|
class: "content"
|
|
3582
|
-
},
|
|
3610
|
+
}, g0 = { class: "actions" }, m0 = {
|
|
3583
3611
|
name: "Stepper"
|
|
3584
|
-
},
|
|
3585
|
-
...
|
|
3612
|
+
}, v0 = /* @__PURE__ */ P({
|
|
3613
|
+
...m0,
|
|
3586
3614
|
props: {
|
|
3587
3615
|
nextButtonProperties: {
|
|
3588
3616
|
default: null,
|
|
@@ -3604,9 +3632,9 @@ const K2 = {
|
|
|
3604
3632
|
}, s = () => {
|
|
3605
3633
|
i.value > 0 && (i.value--, a.value = !1), i.value || (l.value = !0);
|
|
3606
3634
|
};
|
|
3607
|
-
return (u, f) => (d(), p("div",
|
|
3608
|
-
h("ul",
|
|
3609
|
-
(d(!0), p(
|
|
3635
|
+
return (u, f) => (d(), p("div", c0, [
|
|
3636
|
+
h("ul", f0, [
|
|
3637
|
+
(d(!0), p(H, null, le(e.steps, (c, v) => (d(), p("li", {
|
|
3610
3638
|
key: v,
|
|
3611
3639
|
class: N([
|
|
3612
3640
|
"step",
|
|
@@ -3619,7 +3647,7 @@ const K2 = {
|
|
|
3619
3647
|
{ active: v === i.value, completed: v < i.value }
|
|
3620
3648
|
])
|
|
3621
3649
|
}, [
|
|
3622
|
-
v < i.value ? (d(), p("img",
|
|
3650
|
+
v < i.value ? (d(), p("img", h0)) : (d(), p(H, { key: 1 }, [
|
|
3623
3651
|
Q(O(c.step || v + 1), 1)
|
|
3624
3652
|
], 64))
|
|
3625
3653
|
], 2),
|
|
@@ -3629,15 +3657,15 @@ const K2 = {
|
|
|
3629
3657
|
}, O(c.label), 3)) : k("", !0)
|
|
3630
3658
|
], 2))), 128))
|
|
3631
3659
|
]),
|
|
3632
|
-
(d(!0), p(
|
|
3633
|
-
v === i.value && c.content ? (d(), p("div",
|
|
3660
|
+
(d(!0), p(H, null, le(e.steps, (c, v) => (d(), p(H, { key: v }, [
|
|
3661
|
+
v === i.value && c.content ? (d(), p("div", p0, [
|
|
3634
3662
|
I(u.$slots, c?.step, {}, () => [
|
|
3635
3663
|
Q(O(c.content), 1)
|
|
3636
3664
|
], !0)
|
|
3637
3665
|
])) : k("", !0)
|
|
3638
3666
|
], 64))), 128)),
|
|
3639
|
-
h("div",
|
|
3640
|
-
|
|
3667
|
+
h("div", g0, [
|
|
3668
|
+
re(Z(ue), {
|
|
3641
3669
|
disabled: l.value || e.previousButtonProperties?.disabled,
|
|
3642
3670
|
"icon-left": e.previousButtonProperties?.iconLeft,
|
|
3643
3671
|
"icon-right": e.previousButtonProperties?.iconRight,
|
|
@@ -3648,7 +3676,7 @@ const K2 = {
|
|
|
3648
3676
|
variant: e.previousButtonProperties?.variant ?? "outlined",
|
|
3649
3677
|
onClick: s
|
|
3650
3678
|
}, null, 8, ["disabled", "icon-left", "icon-right", "label", "rounded", "severity", "size", "variant"]),
|
|
3651
|
-
|
|
3679
|
+
re(Z(ue), {
|
|
3652
3680
|
disabled: a.value || e.nextButtonProperties?.disabled,
|
|
3653
3681
|
"icon-left": e.nextButtonProperties?.iconLeft,
|
|
3654
3682
|
"icon-right": e.nextButtonProperties?.iconRight,
|
|
@@ -3662,13 +3690,13 @@ const K2 = {
|
|
|
3662
3690
|
])
|
|
3663
3691
|
]));
|
|
3664
3692
|
}
|
|
3665
|
-
}),
|
|
3693
|
+
}), oa = /* @__PURE__ */ et(v0, [["__scopeId", "data-v-75d55d88"]]), b0 = ["data-position"], C0 = { role: "tablist" }, y0 = ["data-selected"], w0 = ["aria-expanded", "onClick"], S0 = ["src"], k0 = {
|
|
3666
3694
|
class: "tabbed-pane",
|
|
3667
3695
|
role: "region"
|
|
3668
|
-
},
|
|
3696
|
+
}, $0 = {
|
|
3669
3697
|
name: "TabbedPanel"
|
|
3670
|
-
},
|
|
3671
|
-
|
|
3698
|
+
}, ia = /* @__PURE__ */ P({
|
|
3699
|
+
...$0,
|
|
3672
3700
|
props: {
|
|
3673
3701
|
defaultIndex: {
|
|
3674
3702
|
default: 0,
|
|
@@ -3684,15 +3712,15 @@ const K2 = {
|
|
|
3684
3712
|
setup(e) {
|
|
3685
3713
|
const t = Se(), n = e, o = _(n.defaultIndex), i = (r) => {
|
|
3686
3714
|
o.value = r;
|
|
3687
|
-
}, a = t?.default ? t.default().filter((r) => r?.props?.title) : [], l =
|
|
3688
|
-
return (r, s) =>
|
|
3715
|
+
}, a = t?.default ? t.default().filter((r) => r?.props?.title) : [], l = W(() => a[o.value]);
|
|
3716
|
+
return (r, s) => Z(a).length ? (d(), p("div", {
|
|
3689
3717
|
key: 0,
|
|
3690
3718
|
class: "tabbed-panel",
|
|
3691
3719
|
"data-position": n.position
|
|
3692
3720
|
}, [
|
|
3693
3721
|
h("nav", null, [
|
|
3694
|
-
h("ul",
|
|
3695
|
-
(d(!0), p(
|
|
3722
|
+
h("ul", C0, [
|
|
3723
|
+
(d(!0), p(H, null, le(Z(a), (u, f) => (d(), p("li", {
|
|
3696
3724
|
key: f,
|
|
3697
3725
|
"data-selected": f === o.value
|
|
3698
3726
|
}, [
|
|
@@ -3702,32 +3730,32 @@ const K2 = {
|
|
|
3702
3730
|
type: "button",
|
|
3703
3731
|
onClick: (c) => i(f)
|
|
3704
3732
|
}, [
|
|
3705
|
-
I(r.$slots, "icon",
|
|
3733
|
+
I(r.$slots, "icon", fe({ ref_for: !0 }, u), () => [
|
|
3706
3734
|
u?.props?.icon ? (d(), p("img", {
|
|
3707
3735
|
key: 0,
|
|
3708
3736
|
src: u?.props?.icon,
|
|
3709
3737
|
class: "icon"
|
|
3710
|
-
}, null, 8,
|
|
3738
|
+
}, null, 8, S0)) : k("", !0)
|
|
3711
3739
|
]),
|
|
3712
3740
|
h("span", null, O(u.props?.title), 1)
|
|
3713
|
-
], 8,
|
|
3714
|
-
], 8,
|
|
3741
|
+
], 8, w0)
|
|
3742
|
+
], 8, y0))), 128))
|
|
3715
3743
|
])
|
|
3716
3744
|
]),
|
|
3717
|
-
|
|
3745
|
+
re(gn, {
|
|
3718
3746
|
appear: "",
|
|
3719
3747
|
name: "expand"
|
|
3720
3748
|
}, {
|
|
3721
|
-
default:
|
|
3722
|
-
h("div",
|
|
3723
|
-
(d(),
|
|
3749
|
+
default: q(() => [
|
|
3750
|
+
h("div", k0, [
|
|
3751
|
+
(d(), F(_e(l.value)))
|
|
3724
3752
|
])
|
|
3725
3753
|
]),
|
|
3726
3754
|
_: 1
|
|
3727
3755
|
})
|
|
3728
|
-
], 8,
|
|
3756
|
+
], 8, b0)) : k("", !0);
|
|
3729
3757
|
}
|
|
3730
|
-
}),
|
|
3758
|
+
}), E0 = (e) => {
|
|
3731
3759
|
let t;
|
|
3732
3760
|
switch (e) {
|
|
3733
3761
|
case "top":
|
|
@@ -3743,10 +3771,10 @@ const K2 = {
|
|
|
3743
3771
|
break;
|
|
3744
3772
|
}
|
|
3745
3773
|
return t;
|
|
3746
|
-
},
|
|
3774
|
+
}, D0 = ["id"], T0 = ["aria-orientation"], x0 = ["id", "aria-label", "aria-selected", "onClick"], L0 = ["src"], O0 = ["title"], M0 = ["onClick"], _0 = { role: "tabpanel" }, B0 = {
|
|
3747
3775
|
name: "TabView"
|
|
3748
|
-
},
|
|
3749
|
-
...
|
|
3776
|
+
}, aa = /* @__PURE__ */ P({
|
|
3777
|
+
...B0,
|
|
3750
3778
|
props: {
|
|
3751
3779
|
activeKey: {
|
|
3752
3780
|
type: String,
|
|
@@ -3794,11 +3822,11 @@ const K2 = {
|
|
|
3794
3822
|
setup(e, { expose: t, emit: n }) {
|
|
3795
3823
|
const o = e, i = n, a = Se(), l = _(o.activeKey), r = _(!1), s = _(
|
|
3796
3824
|
o.visibleTabs?.length ? o.visibleTabs : o.tabs.map((g) => g.key)
|
|
3797
|
-
), u =
|
|
3825
|
+
), u = W(() => c.value.find((g) => g.key === l.value)?.children || $.value.find(
|
|
3798
3826
|
(g) => typeof g == "object" && g !== null && "props" in g && g.props?.key === l.value
|
|
3799
|
-
)), f =
|
|
3827
|
+
)), f = W(() => E0(o.position)), c = W(
|
|
3800
3828
|
() => s.value.map((g) => o.tabs.find((S) => S.key === g)).filter((g) => g !== void 0)
|
|
3801
|
-
), v =
|
|
3829
|
+
), v = W(() => Ko(o.persistStateStorage)), $ = W(() => (a?.default?.() ?? []).flatMap((S) => Array.isArray(S?.children) && !S?.props?.key ? S.children.filter(
|
|
3802
3830
|
(y) => typeof y == "object" && y !== null && "props" in y && y.props?.key
|
|
3803
3831
|
) : S?.props?.key ? [S] : []));
|
|
3804
3832
|
yt(() => {
|
|
@@ -3831,8 +3859,8 @@ const K2 = {
|
|
|
3831
3859
|
});
|
|
3832
3860
|
const w = (g) => l.value === g, M = (g) => {
|
|
3833
3861
|
const S = s.value.findIndex((J) => J === g), y = s.value.filter((J) => J !== g);
|
|
3834
|
-
let
|
|
3835
|
-
S > 0 ?
|
|
3862
|
+
let V = "";
|
|
3863
|
+
S > 0 ? V = y[S - 1] : V = y[0], y.includes(l.value) || b(V), s.value = y, i("update:visibleTabs", y);
|
|
3836
3864
|
}, E = (g) => {
|
|
3837
3865
|
if (!o.interceptTabClose) {
|
|
3838
3866
|
M(g);
|
|
@@ -3849,8 +3877,8 @@ const K2 = {
|
|
|
3849
3877
|
}
|
|
3850
3878
|
}, b = (g) => {
|
|
3851
3879
|
if (l.value = g, r.value) {
|
|
3852
|
-
const { pathname: S, search: y } = window.location,
|
|
3853
|
-
history.replaceState(null, "",
|
|
3880
|
+
const { pathname: S, search: y } = window.location, V = o.enableHashRouting ? `${S}${y}#${l.value}` : `${S}${y}`;
|
|
3881
|
+
history.replaceState(null, "", V);
|
|
3854
3882
|
}
|
|
3855
3883
|
i("update:activeKey", g);
|
|
3856
3884
|
}, C = () => {
|
|
@@ -3870,9 +3898,9 @@ const K2 = {
|
|
|
3870
3898
|
"aria-orientation": f.value,
|
|
3871
3899
|
role: "tablist"
|
|
3872
3900
|
}, [
|
|
3873
|
-
(d(!0), p(
|
|
3901
|
+
(d(!0), p(H, null, le(c.value, (y, V) => (d(), p("button", {
|
|
3874
3902
|
id: y.key,
|
|
3875
|
-
key:
|
|
3903
|
+
key: V,
|
|
3876
3904
|
"aria-label": y.label,
|
|
3877
3905
|
"aria-selected": w(y.key),
|
|
3878
3906
|
class: N({ active: w(y.key) }),
|
|
@@ -3884,10 +3912,10 @@ const K2 = {
|
|
|
3884
3912
|
key: 0,
|
|
3885
3913
|
src: y?.icon,
|
|
3886
3914
|
class: "icon"
|
|
3887
|
-
}, null, 8,
|
|
3915
|
+
}, null, 8, L0)) : k("", !0),
|
|
3888
3916
|
h("span", {
|
|
3889
3917
|
title: y.label
|
|
3890
|
-
}, O(y.label), 9,
|
|
3918
|
+
}, O(y.label), 9, O0),
|
|
3891
3919
|
y.closable ? (d(), p("svg", {
|
|
3892
3920
|
key: 1,
|
|
3893
3921
|
height: "24",
|
|
@@ -3900,28 +3928,28 @@ const K2 = {
|
|
|
3900
3928
|
d: "m13.06 12l4.42-4.42a.75.75 0 1 0-1.06-1.06L12 10.94L7.58 6.52a.75.75 0 0 0-1.06 1.06L10.94 12l-4.42 4.42a.75.75 0 0 0 0 1.06a.75.75 0 0 0 1.06 0L12 13.06l4.42 4.42a.75.75 0 0 0 1.06 0a.75.75 0 0 0 0-1.06Z",
|
|
3901
3929
|
fill: "currentColor"
|
|
3902
3930
|
}, null, -1)
|
|
3903
|
-
]), 8,
|
|
3904
|
-
], 10,
|
|
3905
|
-
], 8,
|
|
3906
|
-
h("div",
|
|
3907
|
-
typeof u.value == "string" ? (d(), p(
|
|
3931
|
+
]), 8, M0)) : k("", !0)
|
|
3932
|
+
], 10, x0))), 128))
|
|
3933
|
+
], 8, T0),
|
|
3934
|
+
h("div", _0, [
|
|
3935
|
+
typeof u.value == "string" ? (d(), p(H, { key: 0 }, [
|
|
3908
3936
|
Q(O(u.value), 1)
|
|
3909
|
-
], 64)) : (d(), p(
|
|
3910
|
-
e.lazy ? (d(), p(
|
|
3911
|
-
u.value ? (d(),
|
|
3912
|
-
], 64)) : (d(!0), p(
|
|
3913
|
-
key: `slot-component-${
|
|
3937
|
+
], 64)) : (d(), p(H, { key: 1 }, [
|
|
3938
|
+
e.lazy ? (d(), p(H, { key: 1 }, [
|
|
3939
|
+
u.value ? (d(), F(_e(u.value), { key: 0 })) : k("", !0)
|
|
3940
|
+
], 64)) : (d(!0), p(H, { key: 0 }, le($.value, (y, V) => bt((d(), F(_e(y), {
|
|
3941
|
+
key: `slot-component-${V}`
|
|
3914
3942
|
})), [
|
|
3915
3943
|
[Ct, y === u.value]
|
|
3916
3944
|
])), 128))
|
|
3917
3945
|
], 64))
|
|
3918
3946
|
])
|
|
3919
|
-
], 10,
|
|
3947
|
+
], 10, D0));
|
|
3920
3948
|
}
|
|
3921
|
-
}),
|
|
3949
|
+
}), I0 = ["aria-label"], A0 = {
|
|
3922
3950
|
name: "Tooltip"
|
|
3923
|
-
},
|
|
3924
|
-
...
|
|
3951
|
+
}, la = /* @__PURE__ */ P({
|
|
3952
|
+
...A0,
|
|
3925
3953
|
props: {
|
|
3926
3954
|
ariaLabel: {
|
|
3927
3955
|
default: "tooltip",
|
|
@@ -3948,7 +3976,7 @@ const K2 = {
|
|
|
3948
3976
|
}
|
|
3949
3977
|
},
|
|
3950
3978
|
setup(e) {
|
|
3951
|
-
const t = e, n = _(null), o = _(null), i = _(null), a = _(!1), l = _(), r = _({ top: "0", left: "0" }), s = _([]), u = _(!1), f = _(null), c = Se(), { width: v, height: $ } =
|
|
3979
|
+
const t = e, n = _(null), o = _(null), i = _(null), a = _(!1), l = _(), r = _({ top: "0", left: "0" }), s = _([]), u = _(!1), f = _(null), c = Se(), { width: v, height: $ } = kt(), w = W(() => !!c.content);
|
|
3952
3980
|
vn(() => {
|
|
3953
3981
|
window.removeEventListener("resize", D), s.value.forEach(({ element: C, listener: g }) => {
|
|
3954
3982
|
C.removeEventListener("scroll", g);
|
|
@@ -3969,13 +3997,13 @@ const K2 = {
|
|
|
3969
3997
|
return;
|
|
3970
3998
|
const C = i.value.getBoundingClientRect(), g = o.value.getBoundingClientRect();
|
|
3971
3999
|
let S = 0, y = 0;
|
|
3972
|
-
const
|
|
3973
|
-
switch (
|
|
4000
|
+
const V = t.position || wn(C), J = C.top - g.height - t.offset >= 0, U = $.value - (C.bottom + g.height + t.offset) >= 0, he = C.left + C.width / 2 - g.width / 2, ne = C.top + C.height / 2 - g.height / 2;
|
|
4001
|
+
switch (V) {
|
|
3974
4002
|
case "top":
|
|
3975
|
-
S = J ? C.top - g.height - t.offset : C.bottom + t.offset, y =
|
|
4003
|
+
S = J ? C.top - g.height - t.offset : C.bottom + t.offset, y = he;
|
|
3976
4004
|
break;
|
|
3977
4005
|
case "bottom":
|
|
3978
|
-
S = U ? C.bottom + t.offset : C.top - g.height - t.offset, y =
|
|
4006
|
+
S = U ? C.bottom + t.offset : C.top - g.height - t.offset, y = he;
|
|
3979
4007
|
break;
|
|
3980
4008
|
case "left":
|
|
3981
4009
|
y = C.left - g.width - t.offset, S = ne;
|
|
@@ -3984,18 +4012,18 @@ const K2 = {
|
|
|
3984
4012
|
y = C.left + C.width + t.offset, S = ne;
|
|
3985
4013
|
break;
|
|
3986
4014
|
}
|
|
3987
|
-
const
|
|
3988
|
-
if (a.value =
|
|
4015
|
+
const ve = $.value - (S + g.height), de = S;
|
|
4016
|
+
if (a.value = de > 0 && ve > 0, V === "right" || V === "left")
|
|
3989
4017
|
y = Math.max(0, y);
|
|
3990
4018
|
else {
|
|
3991
4019
|
y + g.width > v.value && (y = v.value - g.width), y = Math.max(0, y);
|
|
3992
|
-
const
|
|
3993
|
-
S = Math.min(Math.max(S, 0),
|
|
4020
|
+
const be = $.value - g.height;
|
|
4021
|
+
S = Math.min(Math.max(S, 0), be);
|
|
3994
4022
|
}
|
|
3995
4023
|
r.value = {
|
|
3996
4024
|
top: `${S}px`,
|
|
3997
4025
|
left: `${y}px`
|
|
3998
|
-
}, l.value =
|
|
4026
|
+
}, l.value = V;
|
|
3999
4027
|
};
|
|
4000
4028
|
return yt(() => {
|
|
4001
4029
|
window.addEventListener("resize", D), n.value && Sn(n.value).forEach((g) => {
|
|
@@ -4029,12 +4057,12 @@ const K2 = {
|
|
|
4029
4057
|
}, [
|
|
4030
4058
|
I(C.$slots, "content")
|
|
4031
4059
|
], 6)) : k("", !0)
|
|
4032
|
-
], 40,
|
|
4060
|
+
], 40, I0));
|
|
4033
4061
|
}
|
|
4034
|
-
}), P0 = ["aria-label", "href", "data-youtube-video-token"],
|
|
4062
|
+
}), P0 = ["aria-label", "href", "data-youtube-video-token"], N0 = ["src", "alt", "data-aspect-ratio"], F0 = ["href"], V0 = {
|
|
4035
4063
|
name: "YoutubeFacade"
|
|
4036
|
-
},
|
|
4037
|
-
...
|
|
4064
|
+
}, ra = /* @__PURE__ */ P({
|
|
4065
|
+
...V0,
|
|
4038
4066
|
props: {
|
|
4039
4067
|
alt: {
|
|
4040
4068
|
default: null,
|
|
@@ -4073,7 +4101,7 @@ const K2 = {
|
|
|
4073
4101
|
l.dataset.aspectRatio && (r.style.aspectRatio = l.dataset.aspectRatio);
|
|
4074
4102
|
const s = a.parentNode;
|
|
4075
4103
|
s && s.replaceChild(r, a);
|
|
4076
|
-
}, o =
|
|
4104
|
+
}, o = W(() => t.imageSource || `https://img.youtube.com/vi/${t.videoToken}/maxresdefault.jpg`);
|
|
4077
4105
|
return (i, a) => (d(), p("div", {
|
|
4078
4106
|
class: "youtube-facade",
|
|
4079
4107
|
style: Ne(`background-image: url(${o.value})`)
|
|
@@ -4095,7 +4123,7 @@ const K2 = {
|
|
|
4095
4123
|
alt: e.alt,
|
|
4096
4124
|
"data-aspect-ratio": e.aspectRatio,
|
|
4097
4125
|
style: Ne(`aspect-ratio: ${e.aspectRatio}`)
|
|
4098
|
-
}, null, 12,
|
|
4126
|
+
}, null, 12, N0)
|
|
4099
4127
|
], 12, P0),
|
|
4100
4128
|
h("a", {
|
|
4101
4129
|
href: e.videoLink,
|
|
@@ -4104,49 +4132,50 @@ const K2 = {
|
|
|
4104
4132
|
}, a[0] || (a[0] = [
|
|
4105
4133
|
Q(" Watch On "),
|
|
4106
4134
|
h("b", null, "YouTube", -1)
|
|
4107
|
-
]), 8,
|
|
4135
|
+
]), 8, F0)
|
|
4108
4136
|
], 4)
|
|
4109
4137
|
], 4));
|
|
4110
4138
|
}
|
|
4111
|
-
}),
|
|
4139
|
+
}), sa = {
|
|
4112
4140
|
install: (e) => {
|
|
4113
|
-
e.component("LoadingButton", $o), e.component("LoadingIcon", wt), e.component("Page",
|
|
4141
|
+
e.component("LoadingButton", $o), e.component("LoadingIcon", wt), e.component("Page", d2);
|
|
4114
4142
|
}
|
|
4115
4143
|
};
|
|
4116
4144
|
export {
|
|
4117
|
-
|
|
4145
|
+
R0 as Accordion,
|
|
4118
4146
|
to as BadgeComponent,
|
|
4119
|
-
|
|
4147
|
+
ue as ButtonElement,
|
|
4120
4148
|
mo as Card,
|
|
4121
4149
|
tn as ConfirmationModal,
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4131
|
-
|
|
4150
|
+
H0 as Data,
|
|
4151
|
+
U0 as DebouncedInput,
|
|
4152
|
+
G0 as Divider,
|
|
4153
|
+
si as Dropdown,
|
|
4154
|
+
W0 as Errors,
|
|
4155
|
+
ta as FacebookSignInButton,
|
|
4156
|
+
Ii as FileCard,
|
|
4157
|
+
Y0 as FilesList,
|
|
4158
|
+
na as GoogleSignInButton,
|
|
4159
|
+
X0 as GridContainer,
|
|
4132
4160
|
$o as LoadingButton,
|
|
4133
4161
|
wt as LoadingIcon,
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4162
|
+
Gi as LoadingPage,
|
|
4163
|
+
K0 as Message,
|
|
4164
|
+
Q0 as Modal,
|
|
4165
|
+
d2 as Page,
|
|
4138
4166
|
ti as Popup,
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4167
|
+
J0 as ResponsiveMenu,
|
|
4168
|
+
ea as SortableList,
|
|
4169
|
+
oa as Stepper,
|
|
4170
|
+
Z0 as SubPane,
|
|
4171
|
+
aa as TabView,
|
|
4172
|
+
ia as TabbedPanel,
|
|
4173
|
+
la as Tooltip,
|
|
4174
|
+
ra as YoutubeFacade,
|
|
4175
|
+
sa as default,
|
|
4148
4176
|
Uo as formatDate,
|
|
4149
4177
|
Xo as formatDateTime,
|
|
4178
|
+
q0 as formatDuration,
|
|
4150
4179
|
wn as getBestPosition,
|
|
4151
4180
|
Sn as getScrollableParents,
|
|
4152
4181
|
Ko as getStorage,
|