@prefabs.tech/vue3-ui 0.13.0 → 0.14.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 +560 -535
- 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/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: {
|
|
@@ -715,7 +715,7 @@ const Ro = { class: "modal-wrapper" }, Ho = {
|
|
|
715
715
|
);
|
|
716
716
|
return i === "Invalid Date" ? null : i;
|
|
717
717
|
}, wn = (e) => {
|
|
718
|
-
const { width: t, height: n } =
|
|
718
|
+
const { width: t, height: n } = kt(), o = {
|
|
719
719
|
top: e.top,
|
|
720
720
|
bottom: n.value - e.bottom,
|
|
721
721
|
left: e.left,
|
|
@@ -733,14 +733,14 @@ const Ro = { class: "modal-wrapper" }, Ho = {
|
|
|
733
733
|
}
|
|
734
734
|
return t;
|
|
735
735
|
}, Ko = (e) => e === "sessionStorage" ? sessionStorage : localStorage;
|
|
736
|
-
let
|
|
736
|
+
let Tt = null;
|
|
737
737
|
function Qo(e, t) {
|
|
738
738
|
const n = _();
|
|
739
739
|
return new Promise((o) => {
|
|
740
740
|
Ve(
|
|
741
741
|
() => e,
|
|
742
742
|
(i) => {
|
|
743
|
-
|
|
743
|
+
Tt && clearTimeout(Tt), Tt = setTimeout(() => {
|
|
744
744
|
n.value = i, o(n);
|
|
745
745
|
}, t);
|
|
746
746
|
},
|
|
@@ -750,7 +750,7 @@ function Qo(e, t) {
|
|
|
750
750
|
}
|
|
751
751
|
const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
752
752
|
name: "Popup"
|
|
753
|
-
}, ti = /* @__PURE__ */
|
|
753
|
+
}, ti = /* @__PURE__ */ P({
|
|
754
754
|
...ei,
|
|
755
755
|
props: {
|
|
756
756
|
ariaLabel: {
|
|
@@ -768,7 +768,7 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
768
768
|
},
|
|
769
769
|
emits: ["onClickOutside"],
|
|
770
770
|
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 } =
|
|
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 } = kt(), M = W(() => !!a.content);
|
|
772
772
|
vn(() => {
|
|
773
773
|
window.removeEventListener("scroll", D), window.removeEventListener("resize", D), v.value.forEach(({ element: b, listener: C }) => {
|
|
774
774
|
b.removeEventListener("scroll", C);
|
|
@@ -788,13 +788,13 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
788
788
|
return;
|
|
789
789
|
const b = s.value.getBoundingClientRect(), C = r.value.getBoundingClientRect();
|
|
790
790
|
let g = 0, S = 0;
|
|
791
|
-
const y = o.position || wn(b),
|
|
791
|
+
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
792
|
switch (y) {
|
|
793
793
|
case "top":
|
|
794
|
-
g = U ? b.top - C.height - o.offset : b.bottom + o.offset, S =
|
|
794
|
+
g = U ? b.top - C.height - o.offset : b.bottom + o.offset, S = V ? b.right - C.width : b.left;
|
|
795
795
|
break;
|
|
796
796
|
case "bottom":
|
|
797
|
-
g = J ? b.bottom + o.offset : b.top - C.height - o.offset, S =
|
|
797
|
+
g = J ? b.bottom + o.offset : b.top - C.height - o.offset, S = V ? b.right - C.width : b.left;
|
|
798
798
|
break;
|
|
799
799
|
case "left":
|
|
800
800
|
S = b.left - C.width - o.offset, g = b.top;
|
|
@@ -803,20 +803,20 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
803
803
|
S = b.left + b.width + o.offset, g = b.top;
|
|
804
804
|
break;
|
|
805
805
|
}
|
|
806
|
-
const
|
|
807
|
-
if (u.value = ne >= 0 &&
|
|
806
|
+
const he = w.value - (g + C.height), ne = g;
|
|
807
|
+
if (u.value = ne >= 0 && he >= 0, y === "right" || y === "left")
|
|
808
808
|
S = Math.max(0, S);
|
|
809
809
|
else {
|
|
810
810
|
S + C.width > $.value && (S = $.value - C.width), S = Math.max(0, S);
|
|
811
|
-
const
|
|
812
|
-
g = Math.min(Math.max(g, 0),
|
|
811
|
+
const ve = w.value - C.height;
|
|
812
|
+
g = Math.min(Math.max(g, 0), ve);
|
|
813
813
|
}
|
|
814
814
|
c.value = {
|
|
815
815
|
top: `${g}px`,
|
|
816
816
|
left: `${S}px`
|
|
817
817
|
}, f.value = y;
|
|
818
818
|
};
|
|
819
|
-
return
|
|
819
|
+
return Wt(l, () => {
|
|
820
820
|
u.value = !1, i("onClickOutside");
|
|
821
821
|
}), t({
|
|
822
822
|
isVisible: u,
|
|
@@ -859,7 +859,7 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
859
859
|
viewBox: "0 0 1792 1792"
|
|
860
860
|
}, ii = ["aria-label"], ai = ["aria-disabled", "onClick"], li = { class: "menu-item" }, ri = {
|
|
861
861
|
name: "Dropdown"
|
|
862
|
-
},
|
|
862
|
+
}, si = /* @__PURE__ */ P({
|
|
863
863
|
...ri,
|
|
864
864
|
props: {
|
|
865
865
|
icon: {
|
|
@@ -877,25 +877,25 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
877
877
|
},
|
|
878
878
|
emits: ["select"],
|
|
879
879
|
setup(e, { emit: t }) {
|
|
880
|
-
const n = e, o = t, i = _(), a =
|
|
880
|
+
const n = e, o = t, i = _(), a = W(
|
|
881
881
|
() => n.menu.filter((r) => r.display !== !1)
|
|
882
882
|
), l = (r) => {
|
|
883
883
|
r.disabled || (o("select", r), i.value.isVisible = !1);
|
|
884
884
|
};
|
|
885
|
-
return (r, s) => (d(),
|
|
885
|
+
return (r, s) => (d(), F(ti, {
|
|
886
886
|
ref_key: "popup",
|
|
887
887
|
ref: i,
|
|
888
888
|
class: "dropdown-menu",
|
|
889
889
|
position: "bottom",
|
|
890
890
|
tabindex: "0"
|
|
891
891
|
}, {
|
|
892
|
-
content:
|
|
892
|
+
content: q(() => [
|
|
893
893
|
h("ul", {
|
|
894
894
|
class: "dropdown-menu",
|
|
895
895
|
"aria-label": e.label + "dropdown menu",
|
|
896
896
|
tabindex: "0"
|
|
897
897
|
}, [
|
|
898
|
-
(d(!0), p(
|
|
898
|
+
(d(!0), p(H, null, le(a.value, (u) => (d(), p("li", {
|
|
899
899
|
key: u.label,
|
|
900
900
|
"aria-disabled": u.disabled ? "true" : "false",
|
|
901
901
|
class: N([[{ disabled: u.disabled }, u.class], "menu-item"]),
|
|
@@ -913,13 +913,13 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
913
913
|
], 10, ai))), 128))
|
|
914
914
|
], 8, ii)
|
|
915
915
|
]),
|
|
916
|
-
default:
|
|
916
|
+
default: q(() => [
|
|
917
917
|
h("div", {
|
|
918
918
|
"aria-label": (e.label ?? "") + " dropdown",
|
|
919
919
|
class: N([{ triggered: i.value?.isVisible }, "dropdown-menu-trigger"])
|
|
920
920
|
}, [
|
|
921
921
|
I(r.$slots, "default", {}, () => [
|
|
922
|
-
e.label ? (d(), p(
|
|
922
|
+
e.label ? (d(), p(H, { key: 0 }, [
|
|
923
923
|
h("span", null, O(e.label), 1),
|
|
924
924
|
s[0] || (s[0] = h("svg", {
|
|
925
925
|
class: "dropdown-icon",
|
|
@@ -971,10 +971,10 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
971
971
|
_: 3
|
|
972
972
|
}, 512));
|
|
973
973
|
}
|
|
974
|
-
}),
|
|
974
|
+
}), ui = { class: "error" }, di = { class: "code" }, ci = {
|
|
975
975
|
name: "Error"
|
|
976
|
-
}, nn = /* @__PURE__ */
|
|
977
|
-
...
|
|
976
|
+
}, nn = /* @__PURE__ */ P({
|
|
977
|
+
...ci,
|
|
978
978
|
props: {
|
|
979
979
|
error: {
|
|
980
980
|
required: !0,
|
|
@@ -982,15 +982,15 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
982
982
|
}
|
|
983
983
|
},
|
|
984
984
|
setup(e) {
|
|
985
|
-
return (t, n) => (d(), p("p",
|
|
985
|
+
return (t, n) => (d(), p("p", ui, [
|
|
986
986
|
Q(O(e.error.message) + " ", 1),
|
|
987
|
-
h("span",
|
|
987
|
+
h("span", di, "(" + O(e.error.code) + ")", 1)
|
|
988
988
|
]));
|
|
989
989
|
}
|
|
990
|
-
}),
|
|
990
|
+
}), fi = { class: "errors" }, hi = { key: 1 }, pi = {
|
|
991
991
|
name: "Errors"
|
|
992
|
-
}, q0 = /* @__PURE__ */
|
|
993
|
-
...
|
|
992
|
+
}, q0 = /* @__PURE__ */ P({
|
|
993
|
+
...pi,
|
|
994
994
|
props: {
|
|
995
995
|
errors: {
|
|
996
996
|
required: !0,
|
|
@@ -998,21 +998,21 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
998
998
|
}
|
|
999
999
|
},
|
|
1000
1000
|
setup(e) {
|
|
1001
|
-
return (t, n) => (d(), p("div",
|
|
1002
|
-
e.errors.length === 1 ? (d(),
|
|
1001
|
+
return (t, n) => (d(), p("div", fi, [
|
|
1002
|
+
e.errors.length === 1 ? (d(), F(nn, {
|
|
1003
1003
|
key: 0,
|
|
1004
1004
|
error: e.errors[0]
|
|
1005
|
-
}, null, 8, ["error"])) : (d(), p("ul",
|
|
1006
|
-
(d(!0), p(
|
|
1007
|
-
|
|
1005
|
+
}, null, 8, ["error"])) : (d(), p("ul", hi, [
|
|
1006
|
+
(d(!0), p(H, null, le(e.errors, (o, i) => (d(), p("li", { key: i }, [
|
|
1007
|
+
re(nn, { error: o }, null, 8, ["error"])
|
|
1008
1008
|
]))), 128))
|
|
1009
1009
|
]))
|
|
1010
1010
|
]));
|
|
1011
1011
|
}
|
|
1012
|
-
}),
|
|
1012
|
+
}), gi = { class: "confirmation-file-actions" }, mi = {
|
|
1013
1013
|
name: "ConfirmationFileActions"
|
|
1014
|
-
},
|
|
1015
|
-
...
|
|
1014
|
+
}, vi = /* @__PURE__ */ P({
|
|
1015
|
+
...mi,
|
|
1016
1016
|
props: {
|
|
1017
1017
|
archiveConfirmationHeader: {
|
|
1018
1018
|
default: "Archive file?",
|
|
@@ -1040,75 +1040,75 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1040
1040
|
"on:confirmDelete"
|
|
1041
1041
|
],
|
|
1042
1042
|
setup(e) {
|
|
1043
|
-
return (t, n) => (d(), p("div",
|
|
1044
|
-
e.showArchiveConfirmation ? (d(),
|
|
1043
|
+
return (t, n) => (d(), p("div", gi, [
|
|
1044
|
+
e.showArchiveConfirmation ? (d(), F(tn, {
|
|
1045
1045
|
key: 0,
|
|
1046
1046
|
"onOn:close": n[0] || (n[0] = (o) => t.$emit("on:closeArchive")),
|
|
1047
1047
|
"onOn:confirm": n[1] || (n[1] = (o) => t.$emit("on:confirmArchive"))
|
|
1048
1048
|
}, {
|
|
1049
|
-
header:
|
|
1049
|
+
header: q(() => [
|
|
1050
1050
|
Q(O(e.archiveConfirmationHeader), 1)
|
|
1051
1051
|
]),
|
|
1052
|
-
body:
|
|
1052
|
+
body: q(() => [
|
|
1053
1053
|
Q(O(e.archiveConfirmationMessage), 1)
|
|
1054
1054
|
]),
|
|
1055
1055
|
_: 1
|
|
1056
1056
|
})) : k("", !0),
|
|
1057
|
-
e.showDeleteConfirmation ? (d(),
|
|
1057
|
+
e.showDeleteConfirmation ? (d(), F(tn, {
|
|
1058
1058
|
key: 1,
|
|
1059
1059
|
"onOn:close": n[2] || (n[2] = (o) => t.$emit("on:closeDelete")),
|
|
1060
1060
|
"onOn:confirm": n[3] || (n[3] = (o) => t.$emit("on:confirmDelete"))
|
|
1061
1061
|
}, {
|
|
1062
|
-
header:
|
|
1062
|
+
header: q(() => [
|
|
1063
1063
|
Q(O(e.deleteConfirmationHeader), 1)
|
|
1064
1064
|
]),
|
|
1065
|
-
body:
|
|
1065
|
+
body: q(() => [
|
|
1066
1066
|
Q(O(e.deleteConfirmationMessage), 1)
|
|
1067
1067
|
]),
|
|
1068
1068
|
_: 1
|
|
1069
1069
|
})) : k("", !0)
|
|
1070
1070
|
]));
|
|
1071
1071
|
}
|
|
1072
|
-
}),
|
|
1072
|
+
}), bi = { class: "file-thumbnail-details-wrapper" }, Ci = {
|
|
1073
1073
|
key: 0,
|
|
1074
1074
|
class: "file-thumbnail"
|
|
1075
|
-
},
|
|
1075
|
+
}, yi = { class: "details-wrapper" }, wi = { class: "name-description-details-wrapper" }, Si = {
|
|
1076
1076
|
key: 0,
|
|
1077
1077
|
class: "name"
|
|
1078
|
-
},
|
|
1078
|
+
}, ki = {
|
|
1079
1079
|
key: 1,
|
|
1080
1080
|
class: "file-size"
|
|
1081
|
-
},
|
|
1081
|
+
}, $i = {
|
|
1082
1082
|
key: 0,
|
|
1083
1083
|
class: "description-wrapper-details"
|
|
1084
|
-
},
|
|
1084
|
+
}, Ei = {
|
|
1085
1085
|
key: 0,
|
|
1086
1086
|
class: "file-upload-download-details-wrapper"
|
|
1087
|
-
},
|
|
1087
|
+
}, Di = {
|
|
1088
1088
|
key: 0,
|
|
1089
1089
|
class: "file-upload-details"
|
|
1090
|
-
},
|
|
1090
|
+
}, Ti = {
|
|
1091
1091
|
key: 0,
|
|
1092
1092
|
class: "uploaded-by"
|
|
1093
|
-
},
|
|
1093
|
+
}, xi = {
|
|
1094
1094
|
key: 1,
|
|
1095
1095
|
class: "uploaded-at"
|
|
1096
|
-
},
|
|
1096
|
+
}, Li = {
|
|
1097
1097
|
key: 1,
|
|
1098
1098
|
class: "file-download-details"
|
|
1099
|
-
},
|
|
1099
|
+
}, Oi = {
|
|
1100
1100
|
key: 0,
|
|
1101
1101
|
class: "download-count"
|
|
1102
|
-
},
|
|
1102
|
+
}, Mi = {
|
|
1103
1103
|
key: 1,
|
|
1104
1104
|
class: "last-downloaded-at"
|
|
1105
|
-
},
|
|
1105
|
+
}, _i = {
|
|
1106
1106
|
key: 0,
|
|
1107
1107
|
class: "file-actions"
|
|
1108
|
-
},
|
|
1108
|
+
}, Bi = {
|
|
1109
1109
|
name: "FileCard"
|
|
1110
|
-
},
|
|
1111
|
-
...
|
|
1110
|
+
}, Ii = /* @__PURE__ */ P({
|
|
1111
|
+
...Bi,
|
|
1112
1112
|
props: {
|
|
1113
1113
|
actionButtonsVisibility: {
|
|
1114
1114
|
default: () => ({
|
|
@@ -1203,10 +1203,10 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1203
1203
|
}, u = () => {
|
|
1204
1204
|
r("delete"), a.value = !1;
|
|
1205
1205
|
};
|
|
1206
|
-
return (f, c) => (d(),
|
|
1207
|
-
default:
|
|
1208
|
-
h("div",
|
|
1209
|
-
e.showThumbnail || f.$slots.thumbnail ? (d(), p("div",
|
|
1206
|
+
return (f, c) => (d(), F(mo, { class: "file-card" }, {
|
|
1207
|
+
default: q(() => [
|
|
1208
|
+
h("div", bi, [
|
|
1209
|
+
e.showThumbnail || f.$slots.thumbnail ? (d(), p("div", Ci, [
|
|
1210
1210
|
I(f.$slots, "thumbnail", {}, () => [
|
|
1211
1211
|
c[8] || (c[8] = h("svg", {
|
|
1212
1212
|
fill: "none",
|
|
@@ -1224,20 +1224,20 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1224
1224
|
], -1))
|
|
1225
1225
|
])
|
|
1226
1226
|
])) : k("", !0),
|
|
1227
|
-
h("div",
|
|
1228
|
-
h("div",
|
|
1227
|
+
h("div", yi, [
|
|
1228
|
+
h("div", wi, [
|
|
1229
1229
|
h("div", null, [
|
|
1230
|
-
e.visibilityDetail.originalFileName ? (d(), p("span",
|
|
1231
|
-
e.file.size && e.visibilityDetail.size ? (d(), p("span",
|
|
1230
|
+
e.visibilityDetail.originalFileName ? (d(), p("span", Si, O(e.file.originalFileName), 1)) : k("", !0),
|
|
1231
|
+
e.file.size && e.visibilityDetail.size ? (d(), p("span", ki, " (" + O(e.file.size) + ") ", 1)) : k("", !0)
|
|
1232
1232
|
]),
|
|
1233
|
-
e.file.description && e.visibilityDetail.description ? (d(), p("div",
|
|
1233
|
+
e.file.description && e.visibilityDetail.description ? (d(), p("div", $i, [
|
|
1234
1234
|
h("span", null, O(e.file.description), 1),
|
|
1235
|
-
e.allowEditDescription ? (d(),
|
|
1235
|
+
e.allowEditDescription ? (d(), F(ue, fe({ key: 0 }, e.editDescriptionButtonProps, {
|
|
1236
1236
|
size: "small",
|
|
1237
1237
|
variant: "outlined",
|
|
1238
1238
|
onClick: c[0] || (c[0] = (v) => f.$emit("click:editDescription"))
|
|
1239
1239
|
}), {
|
|
1240
|
-
iconLeft:
|
|
1240
|
+
iconLeft: q(() => c[9] || (c[9] = [
|
|
1241
1241
|
h("svg", {
|
|
1242
1242
|
fill: "none",
|
|
1243
1243
|
width: "20",
|
|
@@ -1254,37 +1254,37 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1254
1254
|
}, 16)) : k("", !0)
|
|
1255
1255
|
])) : k("", !0)
|
|
1256
1256
|
]),
|
|
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",
|
|
1257
|
+
e.visibilityDetail.uploadedAt || e.visibilityDetail.uploadedBy || e.visibilityDetail.lastDownloadedAt || e.visibilityDetail.downloadCount ? (d(), p("div", Ei, [
|
|
1258
|
+
e.visibilityDetail.uploadedAt || e.visibilityDetail.uploadedBy ? (d(), p("div", Di, [
|
|
1259
|
+
e.visibilityDetail.uploadedBy ? (d(), p("div", Ti, [
|
|
1260
1260
|
h("span", null, O(e.messages?.uploadedByHeader || "Uploaded by"), 1),
|
|
1261
1261
|
h("span", null, O(l(e.file)), 1)
|
|
1262
1262
|
])) : k("", !0),
|
|
1263
|
-
e.visibilityDetail.uploadedAt ? (d(), p("div",
|
|
1263
|
+
e.visibilityDetail.uploadedAt ? (d(), p("div", xi, [
|
|
1264
1264
|
h("span", null, O(e.messages?.uploadedAtHeader || "Uploaded at"), 1),
|
|
1265
|
-
h("span", null, O(
|
|
1265
|
+
h("span", null, O(Z(Xo)(e.file.uploadedAt)), 1)
|
|
1266
1266
|
])) : k("", !0)
|
|
1267
1267
|
])) : k("", !0),
|
|
1268
|
-
e.visibilityDetail.downloadCount || e.visibilityDetail.lastDownloadedAt ? (d(), p("div",
|
|
1269
|
-
e.visibilityDetail.downloadCount ? (d(), p("div",
|
|
1268
|
+
e.visibilityDetail.downloadCount || e.visibilityDetail.lastDownloadedAt ? (d(), p("div", Li, [
|
|
1269
|
+
e.visibilityDetail.downloadCount ? (d(), p("div", Oi, [
|
|
1270
1270
|
h("span", null, O(e.messages?.downloadCountHeader || "Downloads:"), 1),
|
|
1271
1271
|
h("span", null, O(e.file.downloadCount), 1)
|
|
1272
1272
|
])) : k("", !0),
|
|
1273
|
-
e.visibilityDetail.lastDownloadedAt ? (d(), p("div",
|
|
1273
|
+
e.visibilityDetail.lastDownloadedAt ? (d(), p("div", Mi, [
|
|
1274
1274
|
h("span", null, O(e.messages?.lastDownloadedAtHeader || "Last download:"), 1),
|
|
1275
|
-
h("span", null, O(
|
|
1275
|
+
h("span", null, O(Z(Uo)(Number(e.file.lastDownloadedAt))), 1)
|
|
1276
1276
|
])) : k("", !0)
|
|
1277
1277
|
])) : k("", !0)
|
|
1278
1278
|
])) : k("", !0)
|
|
1279
1279
|
])
|
|
1280
1280
|
]),
|
|
1281
|
-
e.visibilityDetail.actions ? (d(), p("div",
|
|
1282
|
-
e.actionButtonsVisibility.archive ? (d(),
|
|
1281
|
+
e.visibilityDetail.actions ? (d(), p("div", _i, [
|
|
1282
|
+
e.actionButtonsVisibility.archive ? (d(), F(ue, fe({ key: 0 }, e.archiveButtonProps, {
|
|
1283
1283
|
label: e.messages?.archiveAction || "Archive",
|
|
1284
1284
|
size: "small",
|
|
1285
1285
|
onClick: c[1] || (c[1] = (v) => i.value = !0)
|
|
1286
1286
|
}), {
|
|
1287
|
-
iconLeft:
|
|
1287
|
+
iconLeft: q(() => c[10] || (c[10] = [
|
|
1288
1288
|
h("svg", {
|
|
1289
1289
|
fill: "none",
|
|
1290
1290
|
viewBox: "0 0 24 24",
|
|
@@ -1301,12 +1301,12 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1301
1301
|
])),
|
|
1302
1302
|
_: 1
|
|
1303
1303
|
}, 16, ["label"])) : k("", !0),
|
|
1304
|
-
e.actionButtonsVisibility.delete ? (d(),
|
|
1304
|
+
e.actionButtonsVisibility.delete ? (d(), F(ue, fe({ key: 1 }, e.deleteButtonProps, {
|
|
1305
1305
|
label: e.messages?.deleteAction || "Delete",
|
|
1306
1306
|
size: "small",
|
|
1307
1307
|
onClick: c[2] || (c[2] = (v) => a.value = !0)
|
|
1308
1308
|
}), {
|
|
1309
|
-
iconLeft:
|
|
1309
|
+
iconLeft: q(() => c[11] || (c[11] = [
|
|
1310
1310
|
h("svg", {
|
|
1311
1311
|
fill: "none",
|
|
1312
1312
|
viewBox: "0 0 24 24",
|
|
@@ -1323,12 +1323,12 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1323
1323
|
])),
|
|
1324
1324
|
_: 1
|
|
1325
1325
|
}, 16, ["label"])) : k("", !0),
|
|
1326
|
-
e.actionButtonsVisibility.download ? (d(),
|
|
1326
|
+
e.actionButtonsVisibility.download ? (d(), F(ue, fe({ key: 2 }, e.downloadButtonProps, {
|
|
1327
1327
|
label: e.messages?.downloadAction || "Download",
|
|
1328
1328
|
size: "small",
|
|
1329
1329
|
onClick: c[3] || (c[3] = (v) => r("download"))
|
|
1330
1330
|
}), {
|
|
1331
|
-
iconLeft:
|
|
1331
|
+
iconLeft: q(() => c[12] || (c[12] = [
|
|
1332
1332
|
h("svg", {
|
|
1333
1333
|
fill: "none",
|
|
1334
1334
|
viewBox: "0 0 24 24",
|
|
@@ -1346,12 +1346,12 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1346
1346
|
])),
|
|
1347
1347
|
_: 1
|
|
1348
1348
|
}, 16, ["label"])) : k("", !0),
|
|
1349
|
-
e.actionButtonsVisibility.share ? (d(),
|
|
1349
|
+
e.actionButtonsVisibility.share ? (d(), F(ue, fe({ key: 3 }, e.shareButtonProps, {
|
|
1350
1350
|
label: e.messages?.shareAction || "Share",
|
|
1351
1351
|
size: "small",
|
|
1352
1352
|
onClick: c[4] || (c[4] = (v) => r("share"))
|
|
1353
1353
|
}), {
|
|
1354
|
-
iconLeft:
|
|
1354
|
+
iconLeft: q(() => c[13] || (c[13] = [
|
|
1355
1355
|
h("svg", {
|
|
1356
1356
|
fill: "none",
|
|
1357
1357
|
viewBox: "0 0 24 24",
|
|
@@ -1367,12 +1367,12 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1367
1367
|
])),
|
|
1368
1368
|
_: 1
|
|
1369
1369
|
}, 16, ["label"])) : k("", !0),
|
|
1370
|
-
e.actionButtonsVisibility.view ? (d(),
|
|
1370
|
+
e.actionButtonsVisibility.view ? (d(), F(ue, fe({ key: 4 }, e.viewButtonProps, {
|
|
1371
1371
|
label: e.messages?.viewAction || "View",
|
|
1372
1372
|
size: "small",
|
|
1373
1373
|
onClick: c[5] || (c[5] = (v) => r("view"))
|
|
1374
1374
|
}), {
|
|
1375
|
-
iconLeft:
|
|
1375
|
+
iconLeft: q(() => c[14] || (c[14] = [
|
|
1376
1376
|
h("svg", {
|
|
1377
1377
|
viewBox: "0 0 24 24",
|
|
1378
1378
|
fill: "none",
|
|
@@ -1396,7 +1396,7 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1396
1396
|
])),
|
|
1397
1397
|
_: 1
|
|
1398
1398
|
}, 16, ["label"])) : k("", !0),
|
|
1399
|
-
|
|
1399
|
+
re(vi, {
|
|
1400
1400
|
"archive-confirmation-header": e.messages?.archiveConfirmationHeader,
|
|
1401
1401
|
"archive-confirmation-message": e.messages?.archiveConfirmationMessage,
|
|
1402
1402
|
"delete-confirmation-header": e.messages?.deleteConfirmationHeader,
|
|
@@ -1413,9 +1413,9 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1413
1413
|
_: 3
|
|
1414
1414
|
}));
|
|
1415
1415
|
}
|
|
1416
|
-
}),
|
|
1416
|
+
}), Ai = { class: "file-list-wrapper" }, Pi = {
|
|
1417
1417
|
name: "FilesList"
|
|
1418
|
-
}, W0 = /* @__PURE__ */
|
|
1418
|
+
}, W0 = /* @__PURE__ */ P({
|
|
1419
1419
|
...Pi,
|
|
1420
1420
|
props: {
|
|
1421
1421
|
actionButtonsVisibility: {
|
|
@@ -1506,8 +1506,8 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1506
1506
|
break;
|
|
1507
1507
|
}
|
|
1508
1508
|
};
|
|
1509
|
-
return (i, a) => (d(), p("div",
|
|
1510
|
-
(d(!0), p(
|
|
1509
|
+
return (i, a) => (d(), p("div", Ai, [
|
|
1510
|
+
(d(!0), p(H, null, le(e.files, (l) => (d(), F(Ii, {
|
|
1511
1511
|
key: l.originalFileName,
|
|
1512
1512
|
"action-buttons-visibility": e.actionButtonsVisibility,
|
|
1513
1513
|
"allow-edit-description": e.actionButtonsVisibility?.edit,
|
|
@@ -1530,7 +1530,7 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1530
1530
|
}, Hn({ _: 2 }, [
|
|
1531
1531
|
i.$slots.thumbnail ? {
|
|
1532
1532
|
name: "thumbnail",
|
|
1533
|
-
fn:
|
|
1533
|
+
fn: q(() => [
|
|
1534
1534
|
I(i.$slots, "thumbnail")
|
|
1535
1535
|
]),
|
|
1536
1536
|
key: "0"
|
|
@@ -1538,10 +1538,10 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1538
1538
|
]), 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
1539
|
]));
|
|
1540
1540
|
}
|
|
1541
|
-
}),
|
|
1541
|
+
}), Ni = { class: "field debounce-input" }, Fi = ["aria-label", "disabled", "placeholder", "type", "value"], Vi = {
|
|
1542
1542
|
name: "DebouncedInput"
|
|
1543
|
-
}, Y0 = /* @__PURE__ */
|
|
1544
|
-
...
|
|
1543
|
+
}, Y0 = /* @__PURE__ */ P({
|
|
1544
|
+
...Vi,
|
|
1545
1545
|
props: {
|
|
1546
1546
|
ariaLabel: {
|
|
1547
1547
|
default: "input",
|
|
@@ -1580,7 +1580,7 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1580
1580
|
o("update:modelValue", l);
|
|
1581
1581
|
});
|
|
1582
1582
|
};
|
|
1583
|
-
return (a, l) => (d(), p("div",
|
|
1583
|
+
return (a, l) => (d(), p("div", Ni, [
|
|
1584
1584
|
h("input", {
|
|
1585
1585
|
"aria-label": e.ariaLabel ?? e.placeholder,
|
|
1586
1586
|
disabled: e.disabled,
|
|
@@ -1589,24 +1589,24 @@ const Jo = ["aria-expanded", "aria-label"], ei = {
|
|
|
1589
1589
|
value: e.modelValue,
|
|
1590
1590
|
class: "input-field",
|
|
1591
1591
|
onInput: i
|
|
1592
|
-
}, null, 40,
|
|
1592
|
+
}, null, 40, Fi)
|
|
1593
1593
|
]));
|
|
1594
1594
|
}
|
|
1595
|
-
}),
|
|
1595
|
+
}), zi = {
|
|
1596
1596
|
name: "GridContainer"
|
|
1597
|
-
},
|
|
1598
|
-
function
|
|
1599
|
-
return d(), p("div",
|
|
1597
|
+
}, ji = { class: "grid-container" };
|
|
1598
|
+
function Ri(e, t, n, o, i, a) {
|
|
1599
|
+
return d(), p("div", ji, [
|
|
1600
1600
|
I(e.$slots, "default")
|
|
1601
1601
|
]);
|
|
1602
1602
|
}
|
|
1603
|
-
const U0 = /* @__PURE__ */ et(
|
|
1603
|
+
const U0 = /* @__PURE__ */ et(zi, [["render", Ri]]), Hi = {
|
|
1604
1604
|
key: 0,
|
|
1605
1605
|
class: "loading-page"
|
|
1606
|
-
},
|
|
1606
|
+
}, Zi = {
|
|
1607
1607
|
name: "LoadingPage"
|
|
1608
|
-
},
|
|
1609
|
-
...
|
|
1608
|
+
}, Gi = /* @__PURE__ */ P({
|
|
1609
|
+
...Zi,
|
|
1610
1610
|
props: {
|
|
1611
1611
|
loading: {
|
|
1612
1612
|
default: !1,
|
|
@@ -1614,17 +1614,17 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
},
|
|
1616
1616
|
setup(e) {
|
|
1617
|
-
return (t, n) => e.loading ? (d(), p("div",
|
|
1618
|
-
|
|
1617
|
+
return (t, n) => e.loading ? (d(), p("div", Hi, [
|
|
1618
|
+
re(wt, { class: "loading-icon" })
|
|
1619
1619
|
])) : k("", !0);
|
|
1620
1620
|
}
|
|
1621
|
-
}),
|
|
1621
|
+
}), qi = { class: "message-content" }, Wi = { key: 1 }, Yi = {
|
|
1622
1622
|
name: "Message"
|
|
1623
|
-
}, X0 = /* @__PURE__ */
|
|
1624
|
-
...
|
|
1623
|
+
}, X0 = /* @__PURE__ */ P({
|
|
1624
|
+
...Yi,
|
|
1625
1625
|
props: {
|
|
1626
1626
|
enableClose: {
|
|
1627
|
-
default: !
|
|
1627
|
+
default: !0,
|
|
1628
1628
|
type: Boolean
|
|
1629
1629
|
},
|
|
1630
1630
|
icon: {
|
|
@@ -1638,7 +1638,7 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1638
1638
|
severity: {
|
|
1639
1639
|
type: String,
|
|
1640
1640
|
default: "info",
|
|
1641
|
-
validator: (e) => ["danger", "info", "success", "warning"].includes(e)
|
|
1641
|
+
validator: (e) => ["danger", "info", "success", "tip", "warning"].includes(e)
|
|
1642
1642
|
},
|
|
1643
1643
|
showIcon: {
|
|
1644
1644
|
default: !0,
|
|
@@ -1653,23 +1653,23 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1653
1653
|
return (l, r) => bt((d(), p("div", {
|
|
1654
1654
|
class: N(["message", e.severity])
|
|
1655
1655
|
}, [
|
|
1656
|
-
e.icon ||
|
|
1656
|
+
e.icon || Z(o).icon || e.showIcon ? (d(), p("span", {
|
|
1657
1657
|
key: 0,
|
|
1658
|
-
class: N(["icon", { default: !e.icon && !
|
|
1658
|
+
class: N(["icon", { default: !e.icon && !Z(o).icon && e.showIcon }])
|
|
1659
1659
|
}, [
|
|
1660
|
-
(e.icon ||
|
|
1660
|
+
(e.icon || Z(o).icon) && e.showIcon ? I(l.$slots, "icon", { key: 0 }, () => [
|
|
1661
1661
|
h("i", {
|
|
1662
1662
|
class: N(e.icon)
|
|
1663
1663
|
}, null, 2)
|
|
1664
1664
|
]) : k("", !0)
|
|
1665
1665
|
], 2)) : k("", !0),
|
|
1666
|
-
h("div",
|
|
1666
|
+
h("div", qi, [
|
|
1667
1667
|
I(l.$slots, "default", {}, () => [
|
|
1668
|
-
Array.isArray(e.message) ? e.message.length ? (d(), p("ul",
|
|
1669
|
-
(d(!0), p(
|
|
1668
|
+
Array.isArray(e.message) ? e.message.length ? (d(), p("ul", Wi, [
|
|
1669
|
+
(d(!0), p(H, null, le(e.message, (s, u) => (d(), p("li", {
|
|
1670
1670
|
key: `message-${u}`
|
|
1671
1671
|
}, O(s), 1))), 128))
|
|
1672
|
-
])) : k("", !0) : (d(), p(
|
|
1672
|
+
])) : k("", !0) : (d(), p(H, { key: 0 }, [
|
|
1673
1673
|
Q(O(e.message), 1)
|
|
1674
1674
|
], 64))
|
|
1675
1675
|
])
|
|
@@ -1683,19 +1683,19 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1683
1683
|
[Ct, i.value]
|
|
1684
1684
|
]);
|
|
1685
1685
|
}
|
|
1686
|
-
}),
|
|
1686
|
+
}), Ui = { class: "modal overlay" }, Xi = { class: "header" }, Ki = {
|
|
1687
1687
|
key: 0,
|
|
1688
1688
|
role: "heading"
|
|
1689
|
-
},
|
|
1689
|
+
}, Qi = {
|
|
1690
1690
|
key: 0,
|
|
1691
1691
|
class: "content"
|
|
1692
|
-
},
|
|
1692
|
+
}, Ji = {
|
|
1693
1693
|
key: 1,
|
|
1694
1694
|
class: "footer"
|
|
1695
|
-
},
|
|
1695
|
+
}, e2 = {
|
|
1696
1696
|
name: "Modal"
|
|
1697
|
-
}, K0 = /* @__PURE__ */
|
|
1698
|
-
...
|
|
1697
|
+
}, K0 = /* @__PURE__ */ P({
|
|
1698
|
+
...e2,
|
|
1699
1699
|
props: {
|
|
1700
1700
|
dismissOnClickOut: {
|
|
1701
1701
|
default: !0,
|
|
@@ -1718,21 +1718,21 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1718
1718
|
emits: ["on:close"],
|
|
1719
1719
|
setup(e, { emit: t }) {
|
|
1720
1720
|
const n = _(), o = t, i = e, a = Se();
|
|
1721
|
-
|
|
1721
|
+
Wt(n, (r) => {
|
|
1722
1722
|
i.dismissOnClickOut && l();
|
|
1723
1723
|
});
|
|
1724
1724
|
const l = () => {
|
|
1725
1725
|
o("on:close");
|
|
1726
1726
|
};
|
|
1727
|
-
return (r, s) => bt((d(), p("div",
|
|
1727
|
+
return (r, s) => bt((d(), p("div", Ui, [
|
|
1728
1728
|
h("div", {
|
|
1729
1729
|
ref_key: "dzangolabVueModal",
|
|
1730
1730
|
ref: n,
|
|
1731
1731
|
class: N(["dialog", e.size, { active: e.show }])
|
|
1732
1732
|
}, [
|
|
1733
|
-
h("div",
|
|
1733
|
+
h("div", Xi, [
|
|
1734
1734
|
I(r.$slots, "header", {}, () => [
|
|
1735
|
-
e.title ? (d(), p("span",
|
|
1735
|
+
e.title ? (d(), p("span", Ki, O(e.title), 1)) : k("", !0)
|
|
1736
1736
|
]),
|
|
1737
1737
|
(d(), p("svg", {
|
|
1738
1738
|
"aria-label": "close modal",
|
|
@@ -1749,10 +1749,10 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1749
1749
|
}, null, -1)
|
|
1750
1750
|
])))
|
|
1751
1751
|
]),
|
|
1752
|
-
|
|
1752
|
+
Z(a).default ? (d(), p("div", Qi, [
|
|
1753
1753
|
I(r.$slots, "default")
|
|
1754
1754
|
])) : k("", !0),
|
|
1755
|
-
|
|
1755
|
+
Z(a).footer ? (d(), p("div", Ji, [
|
|
1756
1756
|
I(r.$slots, "footer")
|
|
1757
1757
|
])) : k("", !0)
|
|
1758
1758
|
], 2)
|
|
@@ -1760,13 +1760,13 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1760
1760
|
[Ct, e.show]
|
|
1761
1761
|
]);
|
|
1762
1762
|
}
|
|
1763
|
-
}),
|
|
1763
|
+
}), t2 = ["data-centered"], n2 = { class: "page-header" }, o2 = { class: "page-title-wrapper" }, i2 = { class: "title" }, a2 = {
|
|
1764
1764
|
key: 0,
|
|
1765
1765
|
class: "title-tag"
|
|
1766
|
-
},
|
|
1766
|
+
}, l2 = { key: 0 }, r2 = { class: "page-toolbar" }, s2 = { class: "page-content" }, u2 = {
|
|
1767
1767
|
name: "Page"
|
|
1768
|
-
},
|
|
1769
|
-
...
|
|
1768
|
+
}, d2 = /* @__PURE__ */ P({
|
|
1769
|
+
...u2,
|
|
1770
1770
|
props: {
|
|
1771
1771
|
centered: Boolean,
|
|
1772
1772
|
loading: Boolean,
|
|
@@ -1788,46 +1788,71 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1788
1788
|
titleTag: {
|
|
1789
1789
|
default: void 0,
|
|
1790
1790
|
type: String
|
|
1791
|
+
},
|
|
1792
|
+
toolbarActionsMenu: {
|
|
1793
|
+
default: () => [],
|
|
1794
|
+
type: Array
|
|
1791
1795
|
}
|
|
1792
1796
|
},
|
|
1793
|
-
|
|
1794
|
-
|
|
1797
|
+
emits: ["action:click"],
|
|
1798
|
+
setup(e, { emit: t }) {
|
|
1799
|
+
const { width: n } = kt(), o = e, i = t, a = W(() => n.value > 576), l = W(
|
|
1800
|
+
() => o.toolbarActionsMenu.filter((s) => s.display !== !1)
|
|
1801
|
+
), r = (s) => {
|
|
1802
|
+
i("action:click", s);
|
|
1803
|
+
};
|
|
1804
|
+
return (s, u) => (d(), p("div", {
|
|
1795
1805
|
class: "page",
|
|
1796
1806
|
"data-centered": e.centered
|
|
1797
1807
|
}, [
|
|
1798
|
-
h("div",
|
|
1799
|
-
h("div",
|
|
1800
|
-
h("div",
|
|
1801
|
-
e.title ? (d(),
|
|
1802
|
-
default:
|
|
1808
|
+
h("div", n2, [
|
|
1809
|
+
h("div", o2, [
|
|
1810
|
+
h("div", i2, [
|
|
1811
|
+
e.title ? (d(), F(_e(e.titleElement), { key: 0 }, {
|
|
1812
|
+
default: q(() => [
|
|
1803
1813
|
Q(O(e.title), 1)
|
|
1804
1814
|
]),
|
|
1805
1815
|
_: 1
|
|
1806
1816
|
})) : k("", !0),
|
|
1807
|
-
I(
|
|
1808
|
-
e.titleTag ? (d(), p("span",
|
|
1809
|
-
|
|
1817
|
+
I(s.$slots, "titleTag", {}, () => [
|
|
1818
|
+
e.titleTag ? (d(), p("span", a2, [
|
|
1819
|
+
re(to, { label: e.titleTag }, null, 8, ["label"])
|
|
1810
1820
|
])) : k("", !0)
|
|
1811
1821
|
])
|
|
1812
1822
|
]),
|
|
1813
|
-
I(
|
|
1814
|
-
e.subTitle ? (d(), p("small",
|
|
1823
|
+
I(s.$slots, "subtitle", {}, () => [
|
|
1824
|
+
e.subTitle ? (d(), p("small", l2, O(e.subTitle), 1)) : k("", !0)
|
|
1815
1825
|
])
|
|
1816
1826
|
]),
|
|
1817
|
-
h("div",
|
|
1818
|
-
I(
|
|
1827
|
+
h("div", r2, [
|
|
1828
|
+
I(s.$slots, "toolbar", {}, () => [
|
|
1829
|
+
l.value?.length && !a.value ? (d(), p(H, { key: 0 }, [
|
|
1830
|
+
l.value?.length > 1 ? (d(), F(si, {
|
|
1831
|
+
key: 0,
|
|
1832
|
+
menu: l.value,
|
|
1833
|
+
onSelect: u[0] || (u[0] = (f) => r(f))
|
|
1834
|
+
}, null, 8, ["menu"])) : (d(), F(ue, fe({ key: 1 }, l.value[0], {
|
|
1835
|
+
"icon-left": String(l.value[0]?.icon ?? l.value[0]?.iconLeft),
|
|
1836
|
+
onClick: u[1] || (u[1] = (f) => r(l.value[0]))
|
|
1837
|
+
}), null, 16, ["icon-left"]))
|
|
1838
|
+
], 64)) : l.value?.length ? (d(!0), p(H, { key: 1 }, le(l.value, (f, c) => (d(), F(ue, fe({ ref_for: !0 }, f, {
|
|
1839
|
+
key: `${f?.label}-${c}`,
|
|
1840
|
+
"icon-left": String(f?.icon ?? f?.iconLeft),
|
|
1841
|
+
onClick: (v) => r(f)
|
|
1842
|
+
}), null, 16, ["icon-left", "onClick"]))), 128)) : k("", !0)
|
|
1843
|
+
])
|
|
1819
1844
|
])
|
|
1820
1845
|
]),
|
|
1821
|
-
h("div",
|
|
1822
|
-
I(
|
|
1823
|
-
|
|
1846
|
+
h("div", s2, [
|
|
1847
|
+
I(s.$slots, "default"),
|
|
1848
|
+
re(Gi, { loading: e.loading }, null, 8, ["loading"])
|
|
1824
1849
|
])
|
|
1825
|
-
], 8,
|
|
1850
|
+
], 8, t2));
|
|
1826
1851
|
}
|
|
1827
|
-
}),
|
|
1852
|
+
}), c2 = { class: "menu" }, f2 = ["onClick"], h2 = {
|
|
1828
1853
|
name: "ResponsiveMenu"
|
|
1829
|
-
}, Q0 = /* @__PURE__ */
|
|
1830
|
-
...
|
|
1854
|
+
}, Q0 = /* @__PURE__ */ P({
|
|
1855
|
+
...h2,
|
|
1831
1856
|
props: {
|
|
1832
1857
|
routes: {
|
|
1833
1858
|
required: !0,
|
|
@@ -1843,22 +1868,22 @@ const U0 = /* @__PURE__ */ et(Vi, [["render", ji]]), Ri = {
|
|
|
1843
1868
|
setup(e) {
|
|
1844
1869
|
return (t, n) => {
|
|
1845
1870
|
const o = bn("router-link");
|
|
1846
|
-
return d(), p("nav",
|
|
1871
|
+
return d(), p("nav", c2, [
|
|
1847
1872
|
h("ul", null, [
|
|
1848
|
-
(d(!0), p(
|
|
1873
|
+
(d(!0), p(H, null, le(e.routes, (i, a) => (d(), p("li", {
|
|
1849
1874
|
key: a,
|
|
1850
1875
|
class: N({ active: e.activeRoute === i.route }),
|
|
1851
1876
|
onClick: (l) => t.$emit("change-route", i.route)
|
|
1852
1877
|
}, [
|
|
1853
|
-
|
|
1878
|
+
re(o, {
|
|
1854
1879
|
to: { name: i.route }
|
|
1855
1880
|
}, {
|
|
1856
|
-
default:
|
|
1881
|
+
default: q(() => [
|
|
1857
1882
|
Q(O(i.name), 1)
|
|
1858
1883
|
]),
|
|
1859
1884
|
_: 2
|
|
1860
1885
|
}, 1032, ["to"])
|
|
1861
|
-
], 10,
|
|
1886
|
+
], 10, f2))), 128))
|
|
1862
1887
|
])
|
|
1863
1888
|
]);
|
|
1864
1889
|
};
|
|
@@ -1885,11 +1910,11 @@ function on(e, t) {
|
|
|
1885
1910
|
}
|
|
1886
1911
|
return n;
|
|
1887
1912
|
}
|
|
1888
|
-
function
|
|
1913
|
+
function me(e) {
|
|
1889
1914
|
for (var t = 1; t < arguments.length; t++) {
|
|
1890
1915
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
1891
1916
|
t % 2 ? on(Object(n), !0).forEach(function(o) {
|
|
1892
|
-
|
|
1917
|
+
p2(e, o, n[o]);
|
|
1893
1918
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : on(Object(n)).forEach(function(o) {
|
|
1894
1919
|
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
|
|
1895
1920
|
});
|
|
@@ -1904,7 +1929,7 @@ function st(e) {
|
|
|
1904
1929
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1905
1930
|
}, st(e);
|
|
1906
1931
|
}
|
|
1907
|
-
function
|
|
1932
|
+
function p2(e, t, n) {
|
|
1908
1933
|
return t in e ? Object.defineProperty(e, t, {
|
|
1909
1934
|
value: n,
|
|
1910
1935
|
enumerable: !0,
|
|
@@ -1922,16 +1947,16 @@ function we() {
|
|
|
1922
1947
|
return e;
|
|
1923
1948
|
}, we.apply(this, arguments);
|
|
1924
1949
|
}
|
|
1925
|
-
function
|
|
1950
|
+
function g2(e, t) {
|
|
1926
1951
|
if (e == null) return {};
|
|
1927
1952
|
var n = {}, o = Object.keys(e), i, a;
|
|
1928
1953
|
for (a = 0; a < o.length; a++)
|
|
1929
1954
|
i = o[a], !(t.indexOf(i) >= 0) && (n[i] = e[i]);
|
|
1930
1955
|
return n;
|
|
1931
1956
|
}
|
|
1932
|
-
function
|
|
1957
|
+
function m2(e, t) {
|
|
1933
1958
|
if (e == null) return {};
|
|
1934
|
-
var n =
|
|
1959
|
+
var n = g2(e, t), o, i;
|
|
1935
1960
|
if (Object.getOwnPropertySymbols) {
|
|
1936
1961
|
var a = Object.getOwnPropertySymbols(e);
|
|
1937
1962
|
for (i = 0; i < a.length; i++)
|
|
@@ -1939,16 +1964,16 @@ function g2(e, t) {
|
|
|
1939
1964
|
}
|
|
1940
1965
|
return n;
|
|
1941
1966
|
}
|
|
1942
|
-
var
|
|
1967
|
+
var v2 = "1.14.0";
|
|
1943
1968
|
function ye(e) {
|
|
1944
1969
|
if (typeof window < "u" && window.navigator)
|
|
1945
1970
|
return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
1946
1971
|
}
|
|
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),
|
|
1972
|
+
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
1973
|
capture: !1,
|
|
1949
1974
|
passive: !1
|
|
1950
1975
|
};
|
|
1951
|
-
function
|
|
1976
|
+
function A(e, t, n) {
|
|
1952
1977
|
e.addEventListener(t, n, !ke && $n);
|
|
1953
1978
|
}
|
|
1954
1979
|
function B(e, t, n) {
|
|
@@ -1970,17 +1995,17 @@ function ht(e, t) {
|
|
|
1970
1995
|
return !1;
|
|
1971
1996
|
}
|
|
1972
1997
|
}
|
|
1973
|
-
function
|
|
1998
|
+
function C2(e) {
|
|
1974
1999
|
return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
|
|
1975
2000
|
}
|
|
1976
|
-
function
|
|
2001
|
+
function pe(e, t, n, o) {
|
|
1977
2002
|
if (e) {
|
|
1978
2003
|
n = n || document;
|
|
1979
2004
|
do {
|
|
1980
2005
|
if (t != null && (t[0] === ">" ? e.parentNode === n && ht(e, t) : ht(e, t)) || o && e === n)
|
|
1981
2006
|
return e;
|
|
1982
2007
|
if (e === n) break;
|
|
1983
|
-
} while (e =
|
|
2008
|
+
} while (e = C2(e));
|
|
1984
2009
|
}
|
|
1985
2010
|
return null;
|
|
1986
2011
|
}
|
|
@@ -2024,14 +2049,14 @@ function En(e, t, n) {
|
|
|
2024
2049
|
}
|
|
2025
2050
|
return [];
|
|
2026
2051
|
}
|
|
2027
|
-
function
|
|
2052
|
+
function ge() {
|
|
2028
2053
|
var e = document.scrollingElement;
|
|
2029
2054
|
return e || document.documentElement;
|
|
2030
2055
|
}
|
|
2031
|
-
function
|
|
2056
|
+
function Y(e, t, n, o, i) {
|
|
2032
2057
|
if (!(!e.getBoundingClientRect && e !== window)) {
|
|
2033
2058
|
var a, l, r, s, u, f, c;
|
|
2034
|
-
if (e !== window && e.parentNode && e !==
|
|
2059
|
+
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
2060
|
do
|
|
2036
2061
|
if (i && i.getBoundingClientRect && (T(i, "transform") !== "none" || n && T(i, "position") !== "static")) {
|
|
2037
2062
|
var v = i.getBoundingClientRect();
|
|
@@ -2054,17 +2079,17 @@ function W(e, t, n, o, i) {
|
|
|
2054
2079
|
}
|
|
2055
2080
|
}
|
|
2056
2081
|
function rn(e, t, n) {
|
|
2057
|
-
for (var o = xe(e, !0), i =
|
|
2058
|
-
var a =
|
|
2082
|
+
for (var o = xe(e, !0), i = Y(e)[t]; o; ) {
|
|
2083
|
+
var a = Y(o)[n], l = void 0;
|
|
2059
2084
|
if (l = i >= a, !l) return o;
|
|
2060
|
-
if (o ===
|
|
2085
|
+
if (o === ge()) break;
|
|
2061
2086
|
o = xe(o, !1);
|
|
2062
2087
|
}
|
|
2063
2088
|
return !1;
|
|
2064
2089
|
}
|
|
2065
2090
|
function je(e, t, n, o) {
|
|
2066
2091
|
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) &&
|
|
2092
|
+
if (l[a].style.display !== "none" && l[a] !== x.ghost && (o || l[a] !== x.dragged) && pe(l[a], n.draggable, e, !1)) {
|
|
2068
2093
|
if (i === t)
|
|
2069
2094
|
return l[a];
|
|
2070
2095
|
i++;
|
|
@@ -2078,7 +2103,7 @@ function Yt(e, t) {
|
|
|
2078
2103
|
n = n.previousElementSibling;
|
|
2079
2104
|
return n || null;
|
|
2080
2105
|
}
|
|
2081
|
-
function
|
|
2106
|
+
function se(e, t) {
|
|
2082
2107
|
var n = 0;
|
|
2083
2108
|
if (!e || !e.parentNode)
|
|
2084
2109
|
return -1;
|
|
@@ -2087,7 +2112,7 @@ function re(e, t) {
|
|
|
2087
2112
|
return n;
|
|
2088
2113
|
}
|
|
2089
2114
|
function sn(e) {
|
|
2090
|
-
var t = 0, n = 0, o =
|
|
2115
|
+
var t = 0, n = 0, o = ge();
|
|
2091
2116
|
if (e)
|
|
2092
2117
|
do {
|
|
2093
2118
|
var i = ze(e), a = i.a, l = i.d;
|
|
@@ -2095,7 +2120,7 @@ function sn(e) {
|
|
|
2095
2120
|
} while (e !== o && (e = e.parentNode));
|
|
2096
2121
|
return [t, n];
|
|
2097
2122
|
}
|
|
2098
|
-
function
|
|
2123
|
+
function y2(e, t) {
|
|
2099
2124
|
for (var n in e)
|
|
2100
2125
|
if (e.hasOwnProperty(n)) {
|
|
2101
2126
|
for (var o in t)
|
|
@@ -2104,27 +2129,27 @@ function C2(e, t) {
|
|
|
2104
2129
|
return -1;
|
|
2105
2130
|
}
|
|
2106
2131
|
function xe(e, t) {
|
|
2107
|
-
if (!e || !e.getBoundingClientRect) return
|
|
2132
|
+
if (!e || !e.getBoundingClientRect) return ge();
|
|
2108
2133
|
var n = e, o = !1;
|
|
2109
2134
|
do
|
|
2110
2135
|
if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
|
|
2111
2136
|
var i = T(n);
|
|
2112
2137
|
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
|
|
2138
|
+
if (!n.getBoundingClientRect || n === document.body) return ge();
|
|
2114
2139
|
if (o || t) return n;
|
|
2115
2140
|
o = !0;
|
|
2116
2141
|
}
|
|
2117
2142
|
}
|
|
2118
2143
|
while (n = n.parentNode);
|
|
2119
|
-
return
|
|
2144
|
+
return ge();
|
|
2120
2145
|
}
|
|
2121
|
-
function
|
|
2146
|
+
function w2(e, t) {
|
|
2122
2147
|
if (e && t)
|
|
2123
2148
|
for (var n in t)
|
|
2124
2149
|
t.hasOwnProperty(n) && (e[n] = t[n]);
|
|
2125
2150
|
return e;
|
|
2126
2151
|
}
|
|
2127
|
-
function
|
|
2152
|
+
function xt(e, t) {
|
|
2128
2153
|
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
2154
|
}
|
|
2130
2155
|
var Ue;
|
|
@@ -2138,7 +2163,7 @@ function Dn(e, t) {
|
|
|
2138
2163
|
}
|
|
2139
2164
|
};
|
|
2140
2165
|
}
|
|
2141
|
-
function
|
|
2166
|
+
function S2() {
|
|
2142
2167
|
clearTimeout(Ue), Ue = void 0;
|
|
2143
2168
|
}
|
|
2144
2169
|
function Tn(e, t, n) {
|
|
@@ -2149,7 +2174,7 @@ function xn(e) {
|
|
|
2149
2174
|
return t && t.dom ? t.dom(e).cloneNode(!0) : n ? n(e).clone(!0)[0] : e.cloneNode(!0);
|
|
2150
2175
|
}
|
|
2151
2176
|
var ae = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
2152
|
-
function
|
|
2177
|
+
function k2() {
|
|
2153
2178
|
var e = [], t;
|
|
2154
2179
|
return {
|
|
2155
2180
|
captureAnimationState: function() {
|
|
@@ -2159,9 +2184,9 @@ function S2() {
|
|
|
2159
2184
|
if (!(T(i, "display") === "none" || i === x.ghost)) {
|
|
2160
2185
|
e.push({
|
|
2161
2186
|
target: i,
|
|
2162
|
-
rect:
|
|
2187
|
+
rect: Y(i)
|
|
2163
2188
|
});
|
|
2164
|
-
var a =
|
|
2189
|
+
var a = me({}, e[e.length - 1].rect);
|
|
2165
2190
|
if (i.thisAnimationDuration) {
|
|
2166
2191
|
var l = ze(i, !0);
|
|
2167
2192
|
l && (a.top -= l.f, a.left -= l.e);
|
|
@@ -2175,7 +2200,7 @@ function S2() {
|
|
|
2175
2200
|
e.push(o);
|
|
2176
2201
|
},
|
|
2177
2202
|
removeAnimationState: function(o) {
|
|
2178
|
-
e.splice(
|
|
2203
|
+
e.splice(y2(e, {
|
|
2179
2204
|
target: o
|
|
2180
2205
|
}), 1);
|
|
2181
2206
|
},
|
|
@@ -2187,9 +2212,9 @@ function S2() {
|
|
|
2187
2212
|
}
|
|
2188
2213
|
var a = !1, l = 0;
|
|
2189
2214
|
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 =
|
|
2215
|
+
var s = 0, u = r.target, f = u.fromRect, c = Y(u), v = u.prevFromRect, $ = u.prevToRect, w = r.rect, M = ze(u, !0);
|
|
2216
|
+
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
|
|
2217
|
+
(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
2218
|
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
2194
2219
|
}, s), u.thisAnimationDuration = s);
|
|
2195
2220
|
}), clearTimeout(t), a ? t = setTimeout(function() {
|
|
@@ -2200,25 +2225,25 @@ function S2() {
|
|
|
2200
2225
|
if (l) {
|
|
2201
2226
|
T(o, "transition", ""), T(o, "transform", "");
|
|
2202
2227
|
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 =
|
|
2228
|
+
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
2229
|
T(o, "transition", ""), T(o, "transform", ""), o.animated = !1, o.animatingX = !1, o.animatingY = !1;
|
|
2205
2230
|
}, l);
|
|
2206
2231
|
}
|
|
2207
2232
|
}
|
|
2208
2233
|
};
|
|
2209
2234
|
}
|
|
2210
|
-
function
|
|
2235
|
+
function $2(e) {
|
|
2211
2236
|
return e.offsetWidth;
|
|
2212
2237
|
}
|
|
2213
|
-
function
|
|
2238
|
+
function E2(e, t, n, o) {
|
|
2214
2239
|
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
2240
|
}
|
|
2216
|
-
var Ie = [],
|
|
2241
|
+
var Ie = [], Lt = {
|
|
2217
2242
|
initializeByDefault: !0
|
|
2218
2243
|
}, nt = {
|
|
2219
2244
|
mount: function(t) {
|
|
2220
|
-
for (var n in
|
|
2221
|
-
|
|
2245
|
+
for (var n in Lt)
|
|
2246
|
+
Lt.hasOwnProperty(n) && !(n in t) && (t[n] = Lt[n]);
|
|
2222
2247
|
Ie.forEach(function(o) {
|
|
2223
2248
|
if (o.pluginName === t.pluginName)
|
|
2224
2249
|
throw "Sortable: Cannot mount plugin ".concat(t.pluginName, " more than once");
|
|
@@ -2231,9 +2256,9 @@ var Ie = [], xt = {
|
|
|
2231
2256
|
};
|
|
2232
2257
|
var a = t + "Global";
|
|
2233
2258
|
Ie.forEach(function(l) {
|
|
2234
|
-
n[l.pluginName] && (n[l.pluginName][a] && n[l.pluginName][a](
|
|
2259
|
+
n[l.pluginName] && (n[l.pluginName][a] && n[l.pluginName][a](me({
|
|
2235
2260
|
sortable: n
|
|
2236
|
-
}, o)), n.options[l.pluginName] && n[l.pluginName][t] && n[l.pluginName][t](
|
|
2261
|
+
}, o)), n.options[l.pluginName] && n[l.pluginName][t] && n[l.pluginName][t](me({
|
|
2237
2262
|
sortable: n
|
|
2238
2263
|
}, o)));
|
|
2239
2264
|
});
|
|
@@ -2265,7 +2290,7 @@ var Ie = [], xt = {
|
|
|
2265
2290
|
}), i;
|
|
2266
2291
|
}
|
|
2267
2292
|
};
|
|
2268
|
-
function
|
|
2293
|
+
function D2(e) {
|
|
2269
2294
|
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
2295
|
if (t = t || n && n[ae], !!t) {
|
|
2271
2296
|
var M, E = t.options, D = "on" + o.charAt(0).toUpperCase() + o.substr(1);
|
|
@@ -2273,19 +2298,19 @@ function E2(e) {
|
|
|
2273
2298
|
bubbles: !0,
|
|
2274
2299
|
cancelable: !0
|
|
2275
2300
|
}) : (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 =
|
|
2301
|
+
var b = me(me({}, w), nt.getEventProperties(o, t));
|
|
2277
2302
|
for (var C in b)
|
|
2278
2303
|
M[C] = b[C];
|
|
2279
2304
|
n && n.dispatchEvent(M), E[D] && E[D].call(t, M);
|
|
2280
2305
|
}
|
|
2281
2306
|
}
|
|
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,
|
|
2307
|
+
var T2 = ["evt"], te = function(t, n) {
|
|
2308
|
+
var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = o.evt, a = m2(o, T2);
|
|
2309
|
+
nt.pluginEvent.bind(x)(t, n, me({
|
|
2285
2310
|
dragEl: m,
|
|
2286
2311
|
parentEl: j,
|
|
2287
2312
|
ghostEl: L,
|
|
2288
|
-
rootEl:
|
|
2313
|
+
rootEl: z,
|
|
2289
2314
|
nextEl: Me,
|
|
2290
2315
|
lastDownEl: ut,
|
|
2291
2316
|
cloneEl: R,
|
|
@@ -2316,26 +2341,26 @@ var D2 = ["evt"], te = function(t, n) {
|
|
|
2316
2341
|
}, a));
|
|
2317
2342
|
};
|
|
2318
2343
|
function ee(e) {
|
|
2319
|
-
|
|
2344
|
+
D2(me({
|
|
2320
2345
|
putSortable: X,
|
|
2321
2346
|
cloneEl: R,
|
|
2322
2347
|
targetEl: m,
|
|
2323
|
-
rootEl:
|
|
2348
|
+
rootEl: z,
|
|
2324
2349
|
oldIndex: Fe,
|
|
2325
2350
|
oldDraggableIndex: Xe,
|
|
2326
2351
|
newIndex: ie,
|
|
2327
2352
|
newDraggableIndex: Ee
|
|
2328
2353
|
}, e));
|
|
2329
2354
|
}
|
|
2330
|
-
var m, j, L,
|
|
2331
|
-
if (
|
|
2355
|
+
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() {
|
|
2356
|
+
if ($t) {
|
|
2332
2357
|
if (ke)
|
|
2333
2358
|
return !1;
|
|
2334
2359
|
var e = document.createElement("x");
|
|
2335
2360
|
return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
|
|
2336
2361
|
}
|
|
2337
2362
|
}(), 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) +
|
|
2363
|
+
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
2364
|
if (o.display === "flex")
|
|
2340
2365
|
return o.flexDirection === "column" || o.flexDirection === "column-reverse" ? "vertical" : "horizontal";
|
|
2341
2366
|
if (o.display === "grid")
|
|
@@ -2345,15 +2370,15 @@ var m, j, L, V, Me, ut, R, Te, Fe, ie, Xe, Ee, it, X, Ae = !1, pt = !1, gt = [],
|
|
|
2345
2370
|
return l && (s.clear === "both" || s.clear === c) ? "vertical" : "horizontal";
|
|
2346
2371
|
}
|
|
2347
2372
|
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
|
-
},
|
|
2373
|
+
}, L2 = function(t, n, o) {
|
|
2349
2374
|
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
2375
|
return i === r || a === s || i + l / 2 === r + u / 2;
|
|
2351
|
-
},
|
|
2376
|
+
}, O2 = function(t, n) {
|
|
2352
2377
|
var o;
|
|
2353
2378
|
return gt.some(function(i) {
|
|
2354
2379
|
var a = i[ae].options.emptyInsertThreshold;
|
|
2355
2380
|
if (!(!a || Yt(i))) {
|
|
2356
|
-
var l =
|
|
2381
|
+
var l = Y(i), r = t >= l.left - a && t <= l.right + a, s = n >= l.top - a && n <= l.bottom + a;
|
|
2357
2382
|
if (r && s)
|
|
2358
2383
|
return o = i;
|
|
2359
2384
|
}
|
|
@@ -2383,14 +2408,14 @@ var m, j, L, V, Me, ut, R, Te, Fe, ie, Xe, Ee, it, X, Ae = !1, pt = !1, gt = [],
|
|
|
2383
2408
|
}, Bn = function() {
|
|
2384
2409
|
!Ln && L && T(L, "display", "");
|
|
2385
2410
|
};
|
|
2386
|
-
|
|
2411
|
+
$t && document.addEventListener("click", function(e) {
|
|
2387
2412
|
if (pt)
|
|
2388
2413
|
return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), pt = !1, !1;
|
|
2389
2414
|
}, !0);
|
|
2390
2415
|
var Oe = function(t) {
|
|
2391
2416
|
if (m) {
|
|
2392
2417
|
t = t.touches ? t.touches[0] : t;
|
|
2393
|
-
var n =
|
|
2418
|
+
var n = O2(t.clientX, t.clientY);
|
|
2394
2419
|
if (n) {
|
|
2395
2420
|
var o = {};
|
|
2396
2421
|
for (var i in t)
|
|
@@ -2398,7 +2423,7 @@ var Oe = function(t) {
|
|
|
2398
2423
|
o.target = o.rootEl = n, o.preventDefault = void 0, o.stopPropagation = void 0, n[ae]._onDragOver(o);
|
|
2399
2424
|
}
|
|
2400
2425
|
}
|
|
2401
|
-
},
|
|
2426
|
+
}, M2 = function(t) {
|
|
2402
2427
|
m && m.parentNode[ae]._isOutsideThisEl(t.target);
|
|
2403
2428
|
};
|
|
2404
2429
|
function x(e, t) {
|
|
@@ -2456,13 +2481,13 @@ function x(e, t) {
|
|
|
2456
2481
|
Mn(t);
|
|
2457
2482
|
for (var i in this)
|
|
2458
2483
|
i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
|
|
2459
|
-
this.nativeDraggable = t.forceFallback ? !1 :
|
|
2484
|
+
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
2485
|
}
|
|
2461
2486
|
x.prototype = /** @lends Sortable.prototype */
|
|
2462
2487
|
{
|
|
2463
2488
|
constructor: x,
|
|
2464
2489
|
_isOutsideThisEl: function(t) {
|
|
2465
|
-
!this.el.contains(t) && t !== this.el && (
|
|
2490
|
+
!this.el.contains(t) && t !== this.el && (Ae = null);
|
|
2466
2491
|
},
|
|
2467
2492
|
_getDirection: function(t, n) {
|
|
2468
2493
|
return typeof this.options.direction == "function" ? this.options.direction.call(this, t, n, m) : this.options.direction;
|
|
@@ -2470,8 +2495,8 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2470
2495
|
_onTapStart: function(t) {
|
|
2471
2496
|
if (t.cancelable) {
|
|
2472
2497
|
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 =
|
|
2498
|
+
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)) {
|
|
2499
|
+
if (Fe = se(s), Xe = se(s, i.draggable), typeof f == "function") {
|
|
2475
2500
|
if (f.call(this, t, s, this)) {
|
|
2476
2501
|
ee({
|
|
2477
2502
|
sortable: n,
|
|
@@ -2486,7 +2511,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2486
2511
|
return;
|
|
2487
2512
|
}
|
|
2488
2513
|
} else if (f && (f = f.split(",").some(function(c) {
|
|
2489
|
-
if (c =
|
|
2514
|
+
if (c = pe(u, c.trim(), o, !1), c)
|
|
2490
2515
|
return ee({
|
|
2491
2516
|
sortable: n,
|
|
2492
2517
|
rootEl: c,
|
|
@@ -2501,15 +2526,15 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2501
2526
|
a && t.cancelable && t.preventDefault();
|
|
2502
2527
|
return;
|
|
2503
2528
|
}
|
|
2504
|
-
i.handle && !
|
|
2529
|
+
i.handle && !pe(u, i.handle, o, !1) || this._prepareDragStart(t, r, s);
|
|
2505
2530
|
}
|
|
2506
2531
|
}
|
|
2507
2532
|
},
|
|
2508
2533
|
_prepareDragStart: function(t, n, o) {
|
|
2509
2534
|
var i = this, a = i.el, l = i.options, r = a.ownerDocument, s;
|
|
2510
2535
|
if (o && !m && o.parentNode === a) {
|
|
2511
|
-
var u =
|
|
2512
|
-
if (
|
|
2536
|
+
var u = Y(o);
|
|
2537
|
+
if (z = a, m = o, j = m.parentNode, Me = m.nextSibling, ut = o, it = l.group, x.dragged = m, Le = {
|
|
2513
2538
|
target: m,
|
|
2514
2539
|
clientX: (n || t).clientX,
|
|
2515
2540
|
clientY: (n || t).clientY
|
|
@@ -2526,15 +2551,15 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2526
2551
|
originalEvent: t
|
|
2527
2552
|
}), oe(m, l.chosenClass, !0);
|
|
2528
2553
|
}, l.ignore.split(",").forEach(function(f) {
|
|
2529
|
-
En(m, f.trim(),
|
|
2530
|
-
}),
|
|
2554
|
+
En(m, f.trim(), Bt);
|
|
2555
|
+
}), 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
2556
|
evt: t
|
|
2532
2557
|
}), l.delay && (!l.delayOnTouchOnly || n) && (!this.nativeDraggable || !(tt || ke))) {
|
|
2533
2558
|
if (x.eventCanceled) {
|
|
2534
2559
|
this._onDrop();
|
|
2535
2560
|
return;
|
|
2536
2561
|
}
|
|
2537
|
-
|
|
2562
|
+
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
2563
|
} else
|
|
2539
2564
|
s();
|
|
2540
2565
|
}
|
|
@@ -2544,14 +2569,14 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2544
2569
|
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
2570
|
},
|
|
2546
2571
|
_disableDelayedDrag: function() {
|
|
2547
|
-
m &&
|
|
2572
|
+
m && Bt(m), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
|
|
2548
2573
|
},
|
|
2549
2574
|
_disableDelayedDragEvents: function() {
|
|
2550
2575
|
var t = this.el.ownerDocument;
|
|
2551
2576
|
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
2577
|
},
|
|
2553
2578
|
_triggerDragStart: function(t, n) {
|
|
2554
|
-
n = n || t.pointerType == "touch" && t, !this.nativeDraggable || n ? this.options.supportPointer ?
|
|
2579
|
+
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
2580
|
try {
|
|
2556
2581
|
document.selection ? ct(function() {
|
|
2557
2582
|
document.selection.empty();
|
|
@@ -2560,10 +2585,10 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2560
2585
|
}
|
|
2561
2586
|
},
|
|
2562
2587
|
_dragStarted: function(t, n) {
|
|
2563
|
-
if (
|
|
2588
|
+
if (Pe = !1, z && m) {
|
|
2564
2589
|
te("dragStarted", this, {
|
|
2565
2590
|
evt: n
|
|
2566
|
-
}), this.nativeDraggable &&
|
|
2591
|
+
}), this.nativeDraggable && A(document, "dragover", M2);
|
|
2567
2592
|
var o = this.options;
|
|
2568
2593
|
!t && oe(m, o.dragClass, !1), oe(m, o.ghostClass, !0), x.active = this, t && this._appendGhost(), ee({
|
|
2569
2594
|
sortable: this,
|
|
@@ -2574,17 +2599,17 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2574
2599
|
this._nulling();
|
|
2575
2600
|
},
|
|
2576
2601
|
_emulateDragOver: function() {
|
|
2577
|
-
if (
|
|
2578
|
-
this._lastX =
|
|
2579
|
-
for (var t = document.elementFromPoint(
|
|
2602
|
+
if (ce) {
|
|
2603
|
+
this._lastX = ce.clientX, this._lastY = ce.clientY, _n();
|
|
2604
|
+
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
2605
|
n = t;
|
|
2581
2606
|
if (m.parentNode[ae]._isOutsideThisEl(t), n)
|
|
2582
2607
|
do {
|
|
2583
2608
|
if (n[ae]) {
|
|
2584
2609
|
var o = void 0;
|
|
2585
2610
|
if (o = n[ae]._onDragOver({
|
|
2586
|
-
clientX:
|
|
2587
|
-
clientY:
|
|
2611
|
+
clientX: ce.clientX,
|
|
2612
|
+
clientY: ce.clientY,
|
|
2588
2613
|
target: t,
|
|
2589
2614
|
rootEl: n
|
|
2590
2615
|
}), o && !this.options.dragoverBubble)
|
|
@@ -2597,14 +2622,14 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2597
2622
|
},
|
|
2598
2623
|
_onTouchMove: function(t) {
|
|
2599
2624
|
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 && !
|
|
2625
|
+
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);
|
|
2626
|
+
if (!x.active && !Pe) {
|
|
2602
2627
|
if (o && Math.max(Math.abs(a.clientX - this._lastX), Math.abs(a.clientY - this._lastY)) < o)
|
|
2603
2628
|
return;
|
|
2604
2629
|
this._onDragStart(t, !0);
|
|
2605
2630
|
}
|
|
2606
2631
|
if (L) {
|
|
2607
|
-
l ? (l.e += f - (
|
|
2632
|
+
l ? (l.e += f - (Ot || 0), l.f += c - (Mt || 0)) : l = {
|
|
2608
2633
|
a: 1,
|
|
2609
2634
|
b: 0,
|
|
2610
2635
|
c: 0,
|
|
@@ -2613,18 +2638,18 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2613
2638
|
f: c
|
|
2614
2639
|
};
|
|
2615
2640
|
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),
|
|
2641
|
+
T(L, "webkitTransform", v), T(L, "mozTransform", v), T(L, "msTransform", v), T(L, "transform", v), Ot = f, Mt = c, ce = a;
|
|
2617
2642
|
}
|
|
2618
2643
|
t.cancelable && t.preventDefault();
|
|
2619
2644
|
}
|
|
2620
2645
|
},
|
|
2621
2646
|
_appendGhost: function() {
|
|
2622
2647
|
if (!L) {
|
|
2623
|
-
var t = this.options.fallbackOnBody ? document.body :
|
|
2648
|
+
var t = this.options.fallbackOnBody ? document.body : z, n = Y(m, !0, lt, !0, t), o = this.options;
|
|
2624
2649
|
if (lt) {
|
|
2625
2650
|
for (K = t; T(K, "position") === "static" && T(K, "transform") === "none" && K !== document; )
|
|
2626
2651
|
K = K.parentNode;
|
|
2627
|
-
K !== document.body && K !== document.documentElement ? (K === document && (K =
|
|
2652
|
+
K !== document.body && K !== document.documentElement ? (K === document && (K = ge()), n.top += K.scrollTop, n.left += K.scrollLeft) : K = ge(), _t = sn(K);
|
|
2628
2653
|
}
|
|
2629
2654
|
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
2655
|
}
|
|
@@ -2638,18 +2663,18 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2638
2663
|
return;
|
|
2639
2664
|
}
|
|
2640
2665
|
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 ||
|
|
2666
|
+
te("clone", o), !x.eventCanceled && (o.options.removeCloneOnHide || z.insertBefore(R, m), o._hideClone(), ee({
|
|
2642
2667
|
sortable: o,
|
|
2643
2668
|
name: "clone"
|
|
2644
2669
|
}));
|
|
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)),
|
|
2670
|
+
}), !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
2671
|
},
|
|
2647
2672
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
2648
2673
|
_onDragOver: function(t) {
|
|
2649
2674
|
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 (
|
|
2675
|
+
if (zt) return;
|
|
2651
2676
|
function E(He, Nn) {
|
|
2652
|
-
te(He, w,
|
|
2677
|
+
te(He, w, me({
|
|
2653
2678
|
evt: t,
|
|
2654
2679
|
isOwner: f,
|
|
2655
2680
|
axis: $ ? "vertical" : "horizontal",
|
|
@@ -2661,7 +2686,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2661
2686
|
target: o,
|
|
2662
2687
|
completed: b,
|
|
2663
2688
|
onMove: function(Kt, Fn) {
|
|
2664
|
-
return rt(
|
|
2689
|
+
return rt(z, n, m, i, Kt, Y(Kt), t, Fn);
|
|
2665
2690
|
},
|
|
2666
2691
|
changed: C
|
|
2667
2692
|
}, Nn));
|
|
@@ -2674,10 +2699,10 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2674
2699
|
insertion: He
|
|
2675
2700
|
}), 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
2701
|
E("dragOverAnimationComplete"), w._ignoreWhileAnimating = null;
|
|
2677
|
-
}), w !== v && (v.animateAll(), v._ignoreWhileAnimating = null)), (o === m && !m.animated || o === n && !o.animated) && (
|
|
2702
|
+
}), 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
2703
|
}
|
|
2679
2704
|
function C() {
|
|
2680
|
-
ie =
|
|
2705
|
+
ie = se(m), Ee = se(m, r.draggable), ee({
|
|
2681
2706
|
sortable: w,
|
|
2682
2707
|
name: "change",
|
|
2683
2708
|
toEl: n,
|
|
@@ -2686,44 +2711,44 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2686
2711
|
originalEvent: t
|
|
2687
2712
|
});
|
|
2688
2713
|
}
|
|
2689
|
-
if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), o =
|
|
2714
|
+
if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), o = pe(o, r.draggable, n, !0), E("dragOver"), x.eventCanceled) return M;
|
|
2690
2715
|
if (m.contains(t.target) || o.animated && o.animatingX && o.animatingY || w._ignoreWhileAnimating === o)
|
|
2691
2716
|
return b(!1);
|
|
2692
|
-
if (pt = !1, u && !r.disabled && (f ? c || (l = j !==
|
|
2693
|
-
if ($ = this._getDirection(t, o) === "vertical", i =
|
|
2717
|
+
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))) {
|
|
2718
|
+
if ($ = this._getDirection(t, o) === "vertical", i = Y(m), E("dragOverValid"), x.eventCanceled) return M;
|
|
2694
2719
|
if (l)
|
|
2695
|
-
return j =
|
|
2720
|
+
return j = z, D(), this._hideClone(), E("revert"), x.eventCanceled || (Me ? z.insertBefore(m, Me) : z.appendChild(m)), b(!0);
|
|
2696
2721
|
var g = Yt(n, r.draggable);
|
|
2697
|
-
if (!g ||
|
|
2722
|
+
if (!g || A2(t, $, this) && !g.animated) {
|
|
2698
2723
|
if (g === m)
|
|
2699
2724
|
return b(!1);
|
|
2700
|
-
if (g && n === t.target && (o = g), o && (a =
|
|
2725
|
+
if (g && n === t.target && (o = g), o && (a = Y(o)), rt(z, n, m, i, o, a, t, !!o) !== !1)
|
|
2701
2726
|
return D(), n.appendChild(m), j = n, C(), b(!0);
|
|
2702
|
-
} else if (g &&
|
|
2727
|
+
} else if (g && I2(t, $, this)) {
|
|
2703
2728
|
var S = je(n, 0, r, !0);
|
|
2704
2729
|
if (S === m)
|
|
2705
2730
|
return b(!1);
|
|
2706
|
-
if (o = S, a =
|
|
2731
|
+
if (o = S, a = Y(o), rt(z, n, m, i, o, a, t, !1) !== !1)
|
|
2707
2732
|
return D(), n.insertBefore(m, S), j = n, C(), b(!0);
|
|
2708
2733
|
} else if (o.parentNode === n) {
|
|
2709
|
-
a =
|
|
2710
|
-
var y = 0,
|
|
2711
|
-
|
|
2712
|
-
var
|
|
2734
|
+
a = Y(o);
|
|
2735
|
+
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;
|
|
2736
|
+
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);
|
|
2737
|
+
var de;
|
|
2713
2738
|
if (y !== 0) {
|
|
2714
|
-
var
|
|
2739
|
+
var be = se(m);
|
|
2715
2740
|
do
|
|
2716
|
-
|
|
2717
|
-
while (
|
|
2741
|
+
be -= y, de = j.children[be];
|
|
2742
|
+
while (de && (T(de, "display") === "none" || de === L));
|
|
2718
2743
|
}
|
|
2719
|
-
if (y === 0 ||
|
|
2744
|
+
if (y === 0 || de === o)
|
|
2720
2745
|
return b(!1);
|
|
2721
|
-
|
|
2746
|
+
Ae = o, Ke = y;
|
|
2722
2747
|
var Re = o.nextElementSibling, $e = !1;
|
|
2723
2748
|
$e = y === 1;
|
|
2724
|
-
var ot = rt(
|
|
2749
|
+
var ot = rt(z, n, m, i, o, a, t, $e);
|
|
2725
2750
|
if (ot !== !1)
|
|
2726
|
-
return (ot === 1 || ot === -1) && ($e = ot === 1),
|
|
2751
|
+
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
2752
|
}
|
|
2728
2753
|
if (n.contains(m))
|
|
2729
2754
|
return b(!1);
|
|
@@ -2740,24 +2765,24 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2740
2765
|
},
|
|
2741
2766
|
_onDrop: function(t) {
|
|
2742
2767
|
var n = this.el, o = this.options;
|
|
2743
|
-
if (ie =
|
|
2768
|
+
if (ie = se(m), Ee = se(m, o.draggable), te("drop", this, {
|
|
2744
2769
|
evt: t
|
|
2745
|
-
}), j = m && m.parentNode, ie =
|
|
2770
|
+
}), j = m && m.parentNode, ie = se(m), Ee = se(m, o.draggable), x.eventCanceled) {
|
|
2746
2771
|
this._nulling();
|
|
2747
2772
|
return;
|
|
2748
2773
|
}
|
|
2749
|
-
|
|
2774
|
+
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
2775
|
sortable: this,
|
|
2751
2776
|
name: "unchoose",
|
|
2752
2777
|
toEl: j,
|
|
2753
2778
|
newIndex: null,
|
|
2754
2779
|
newDraggableIndex: null,
|
|
2755
2780
|
originalEvent: t
|
|
2756
|
-
}),
|
|
2781
|
+
}), z !== j ? (ie >= 0 && (ee({
|
|
2757
2782
|
rootEl: j,
|
|
2758
2783
|
name: "add",
|
|
2759
2784
|
toEl: j,
|
|
2760
|
-
fromEl:
|
|
2785
|
+
fromEl: z,
|
|
2761
2786
|
originalEvent: t
|
|
2762
2787
|
}), ee({
|
|
2763
2788
|
sortable: this,
|
|
@@ -2768,7 +2793,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2768
2793
|
rootEl: j,
|
|
2769
2794
|
name: "sort",
|
|
2770
2795
|
toEl: j,
|
|
2771
|
-
fromEl:
|
|
2796
|
+
fromEl: z,
|
|
2772
2797
|
originalEvent: t
|
|
2773
2798
|
}), ee({
|
|
2774
2799
|
sortable: this,
|
|
@@ -2793,9 +2818,9 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2793
2818
|
}), this.save()))), this._nulling();
|
|
2794
2819
|
},
|
|
2795
2820
|
_nulling: function() {
|
|
2796
|
-
te("nulling", this),
|
|
2821
|
+
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
2822
|
t.checked = !0;
|
|
2798
|
-
}), mt.length =
|
|
2823
|
+
}), mt.length = Ot = Mt = 0;
|
|
2799
2824
|
},
|
|
2800
2825
|
handleEvent: function(t) {
|
|
2801
2826
|
switch (t.type) {
|
|
@@ -2805,7 +2830,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2805
2830
|
break;
|
|
2806
2831
|
case "dragenter":
|
|
2807
2832
|
case "dragover":
|
|
2808
|
-
m && (this._onDragOver(t),
|
|
2833
|
+
m && (this._onDragOver(t), _2(t));
|
|
2809
2834
|
break;
|
|
2810
2835
|
case "selectstart":
|
|
2811
2836
|
t.preventDefault();
|
|
@@ -2818,7 +2843,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2818
2843
|
*/
|
|
2819
2844
|
toArray: function() {
|
|
2820
2845
|
for (var t = [], n, o = this.el.children, i = 0, a = o.length, l = this.options; i < a; i++)
|
|
2821
|
-
n = o[i],
|
|
2846
|
+
n = o[i], pe(n, l.draggable, this.el, !1) && t.push(n.getAttribute(l.dataIdAttr) || F2(n));
|
|
2822
2847
|
return t;
|
|
2823
2848
|
},
|
|
2824
2849
|
/**
|
|
@@ -2829,7 +2854,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2829
2854
|
var o = {}, i = this.el;
|
|
2830
2855
|
this.toArray().forEach(function(a, l) {
|
|
2831
2856
|
var r = i.children[l];
|
|
2832
|
-
|
|
2857
|
+
pe(r, this.options.draggable, i, !1) && (o[a] = r);
|
|
2833
2858
|
}, this), n && this.captureAnimationState(), t.forEach(function(a) {
|
|
2834
2859
|
o[a] && (i.removeChild(o[a]), i.appendChild(o[a]));
|
|
2835
2860
|
}), n && this.animateAll();
|
|
@@ -2848,7 +2873,7 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2848
2873
|
* @returns {HTMLElement|null}
|
|
2849
2874
|
*/
|
|
2850
2875
|
closest: function(t, n) {
|
|
2851
|
-
return
|
|
2876
|
+
return pe(t, n || this.options.draggable, this.el, !1);
|
|
2852
2877
|
},
|
|
2853
2878
|
/**
|
|
2854
2879
|
* Set/get option
|
|
@@ -2886,11 +2911,11 @@ x.prototype = /** @lends Sortable.prototype */
|
|
|
2886
2911
|
}
|
|
2887
2912
|
if (Te) {
|
|
2888
2913
|
if (te("showClone", this), x.eventCanceled) return;
|
|
2889
|
-
m.parentNode ==
|
|
2914
|
+
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
2915
|
}
|
|
2891
2916
|
}
|
|
2892
2917
|
};
|
|
2893
|
-
function
|
|
2918
|
+
function _2(e) {
|
|
2894
2919
|
e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
|
|
2895
2920
|
}
|
|
2896
2921
|
function rt(e, t, n, o, i, a, l, r) {
|
|
@@ -2898,20 +2923,20 @@ function rt(e, t, n, o, i, a, l, r) {
|
|
|
2898
2923
|
return window.CustomEvent && !ke && !tt ? s = new CustomEvent("move", {
|
|
2899
2924
|
bubbles: !0,
|
|
2900
2925
|
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 ||
|
|
2926
|
+
}) : (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
2927
|
}
|
|
2903
|
-
function
|
|
2928
|
+
function Bt(e) {
|
|
2904
2929
|
e.draggable = !1;
|
|
2905
2930
|
}
|
|
2906
|
-
function
|
|
2907
|
-
|
|
2931
|
+
function B2() {
|
|
2932
|
+
zt = !1;
|
|
2908
2933
|
}
|
|
2909
|
-
function
|
|
2910
|
-
var o =
|
|
2934
|
+
function I2(e, t, n) {
|
|
2935
|
+
var o = Y(je(n.el, 0, n.options, !0)), i = 10;
|
|
2911
2936
|
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
2937
|
}
|
|
2913
|
-
function
|
|
2914
|
-
var o =
|
|
2938
|
+
function A2(e, t, n) {
|
|
2939
|
+
var o = Y(Yt(n.el, n.options.draggable)), i = 10;
|
|
2915
2940
|
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
2941
|
}
|
|
2917
2942
|
function P2(e, t, n, o, i, a, l, r) {
|
|
@@ -2923,19 +2948,19 @@ function P2(e, t, n, o, i, a, l, r) {
|
|
|
2923
2948
|
else if (Ke === 1 ? s < f + dt : s > c - dt)
|
|
2924
2949
|
return -Ke;
|
|
2925
2950
|
} else if (s > f + u * (1 - i) / 2 && s < c - u * (1 - i) / 2)
|
|
2926
|
-
return
|
|
2951
|
+
return N2(t);
|
|
2927
2952
|
}
|
|
2928
2953
|
return v = v || l, v && (s < f + u * a / 2 || s > c - u * a / 2) ? s > f + u / 2 ? 1 : -1 : 0;
|
|
2929
2954
|
}
|
|
2930
|
-
function A2(e) {
|
|
2931
|
-
return re(m) < re(e) ? 1 : -1;
|
|
2932
|
-
}
|
|
2933
2955
|
function N2(e) {
|
|
2956
|
+
return se(m) < se(e) ? 1 : -1;
|
|
2957
|
+
}
|
|
2958
|
+
function F2(e) {
|
|
2934
2959
|
for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, o = 0; n--; )
|
|
2935
2960
|
o += t.charCodeAt(n);
|
|
2936
2961
|
return o.toString(36);
|
|
2937
2962
|
}
|
|
2938
|
-
function
|
|
2963
|
+
function V2(e) {
|
|
2939
2964
|
mt.length = 0;
|
|
2940
2965
|
for (var t = e.getElementsByTagName("input"), n = t.length; n--; ) {
|
|
2941
2966
|
var o = t[n];
|
|
@@ -2945,28 +2970,28 @@ function F2(e) {
|
|
|
2945
2970
|
function ct(e) {
|
|
2946
2971
|
return setTimeout(e, 0);
|
|
2947
2972
|
}
|
|
2948
|
-
function
|
|
2973
|
+
function jt(e) {
|
|
2949
2974
|
return clearTimeout(e);
|
|
2950
2975
|
}
|
|
2951
|
-
|
|
2952
|
-
(x.active ||
|
|
2976
|
+
$t && A(document, "touchmove", function(e) {
|
|
2977
|
+
(x.active || Pe) && e.cancelable && e.preventDefault();
|
|
2953
2978
|
});
|
|
2954
2979
|
x.utils = {
|
|
2955
|
-
on:
|
|
2980
|
+
on: A,
|
|
2956
2981
|
off: B,
|
|
2957
2982
|
css: T,
|
|
2958
2983
|
find: En,
|
|
2959
2984
|
is: function(t, n) {
|
|
2960
|
-
return !!
|
|
2985
|
+
return !!pe(t, n, t, !1);
|
|
2961
2986
|
},
|
|
2962
|
-
extend:
|
|
2987
|
+
extend: w2,
|
|
2963
2988
|
throttle: Dn,
|
|
2964
|
-
closest:
|
|
2989
|
+
closest: pe,
|
|
2965
2990
|
toggleClass: oe,
|
|
2966
2991
|
clone: xn,
|
|
2967
|
-
index:
|
|
2992
|
+
index: se,
|
|
2968
2993
|
nextTick: ct,
|
|
2969
|
-
cancelNextTick:
|
|
2994
|
+
cancelNextTick: jt,
|
|
2970
2995
|
detectDirection: On,
|
|
2971
2996
|
getChild: je
|
|
2972
2997
|
};
|
|
@@ -2979,15 +3004,15 @@ x.mount = function() {
|
|
|
2979
3004
|
t[0].constructor === Array && (t = t[0]), t.forEach(function(o) {
|
|
2980
3005
|
if (!o.prototype || !o.prototype.constructor)
|
|
2981
3006
|
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));
|
|
2982
|
-
o.utils && (x.utils =
|
|
3007
|
+
o.utils && (x.utils = me(me({}, x.utils), o.utils)), nt.mount(o);
|
|
2983
3008
|
});
|
|
2984
3009
|
};
|
|
2985
3010
|
x.create = function(e, t) {
|
|
2986
3011
|
return new x(e, t);
|
|
2987
3012
|
};
|
|
2988
|
-
x.version =
|
|
2989
|
-
var
|
|
2990
|
-
function
|
|
3013
|
+
x.version = v2;
|
|
3014
|
+
var G = [], qe, Rt, Ht = !1, It, At, vt, We;
|
|
3015
|
+
function z2() {
|
|
2991
3016
|
function e() {
|
|
2992
3017
|
this.defaults = {
|
|
2993
3018
|
scroll: !0,
|
|
@@ -3002,17 +3027,17 @@ function V2() {
|
|
|
3002
3027
|
return e.prototype = {
|
|
3003
3028
|
dragStarted: function(n) {
|
|
3004
3029
|
var o = n.originalEvent;
|
|
3005
|
-
this.sortable.nativeDraggable ?
|
|
3030
|
+
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
3031
|
},
|
|
3007
3032
|
dragOverCompleted: function(n) {
|
|
3008
3033
|
var o = n.originalEvent;
|
|
3009
3034
|
!this.options.dragOverBubble && !o.rootEl && this._handleAutoScroll(o);
|
|
3010
3035
|
},
|
|
3011
3036
|
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(),
|
|
3037
|
+
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
3038
|
},
|
|
3014
3039
|
nulling: function() {
|
|
3015
|
-
vt =
|
|
3040
|
+
vt = Rt = qe = Ht = We = It = At = null, G.length = 0;
|
|
3016
3041
|
},
|
|
3017
3042
|
_handleFallbackAutoScroll: function(n) {
|
|
3018
3043
|
this._handleAutoScroll(n, !0);
|
|
@@ -3022,12 +3047,12 @@ function V2() {
|
|
|
3022
3047
|
if (vt = n, o || this.options.forceAutoScrollFallback || tt || ke || Ye) {
|
|
3023
3048
|
Pt(n, this.options, r, o);
|
|
3024
3049
|
var s = xe(r, !0);
|
|
3025
|
-
|
|
3050
|
+
Ht && (!We || a !== It || l !== At) && (We && fn(), We = setInterval(function() {
|
|
3026
3051
|
var u = xe(document.elementFromPoint(a, l), !0);
|
|
3027
3052
|
u !== s && (s = u, ft()), Pt(n, i.options, u, o);
|
|
3028
|
-
}, 10),
|
|
3053
|
+
}, 10), It = a, At = l);
|
|
3029
3054
|
} else {
|
|
3030
|
-
if (!this.options.bubbleScroll || xe(r, !0) ===
|
|
3055
|
+
if (!this.options.bubbleScroll || xe(r, !0) === ge()) {
|
|
3031
3056
|
ft();
|
|
3032
3057
|
return;
|
|
3033
3058
|
}
|
|
@@ -3040,34 +3065,34 @@ function V2() {
|
|
|
3040
3065
|
});
|
|
3041
3066
|
}
|
|
3042
3067
|
function ft() {
|
|
3043
|
-
|
|
3068
|
+
G.forEach(function(e) {
|
|
3044
3069
|
clearInterval(e.pid);
|
|
3045
|
-
}),
|
|
3070
|
+
}), G = [];
|
|
3046
3071
|
}
|
|
3047
3072
|
function fn() {
|
|
3048
3073
|
clearInterval(We);
|
|
3049
3074
|
}
|
|
3050
3075
|
var Pt = Dn(function(e, t, n, o) {
|
|
3051
3076
|
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
|
-
|
|
3077
|
+
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;
|
|
3078
|
+
Rt !== n && (Rt = n, ft(), qe = t.scroll, f = t.scrollFn, qe === !0 && (qe = xe(n, !0)));
|
|
3054
3079
|
var c = 0, v = qe;
|
|
3055
3080
|
do {
|
|
3056
|
-
var $ = v, w =
|
|
3057
|
-
$ === s ? (S = C <
|
|
3058
|
-
var
|
|
3059
|
-
if (!
|
|
3060
|
-
for (var
|
|
3061
|
-
|
|
3062
|
-
(
|
|
3081
|
+
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;
|
|
3082
|
+
$ === 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"));
|
|
3083
|
+
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);
|
|
3084
|
+
if (!G[c])
|
|
3085
|
+
for (var be = 0; be <= c; be++)
|
|
3086
|
+
G[be] || (G[be] = {});
|
|
3087
|
+
(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
3088
|
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,
|
|
3089
|
+
var Re = G[this.layer].vy ? G[this.layer].vy * r : 0, $e = G[this.layer].vx ? G[this.layer].vx * r : 0;
|
|
3090
|
+
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
3091
|
}.bind({
|
|
3067
3092
|
layer: c
|
|
3068
3093
|
}), 24))), c++;
|
|
3069
3094
|
} while (t.bubbleScroll && v !== s && (v = xe(v, !1)));
|
|
3070
|
-
|
|
3095
|
+
Ht = u;
|
|
3071
3096
|
}
|
|
3072
3097
|
}, 30), In = function(t) {
|
|
3073
3098
|
var n = t.originalEvent, o = t.putSortable, i = t.dragEl, a = t.activeSortable, l = t.dispatchSortableEvent, r = t.hideGhostForTarget, s = t.unhideGhostForTarget;
|
|
@@ -3112,58 +3137,58 @@ Xt.prototype = {
|
|
|
3112
3137
|
we(Xt, {
|
|
3113
3138
|
pluginName: "removeOnSpill"
|
|
3114
3139
|
});
|
|
3115
|
-
x.mount(new
|
|
3140
|
+
x.mount(new z2());
|
|
3116
3141
|
x.mount(Xt, Ut);
|
|
3117
|
-
function
|
|
3142
|
+
function j2() {
|
|
3118
3143
|
return typeof window < "u" ? window.console : global.console;
|
|
3119
3144
|
}
|
|
3120
|
-
const
|
|
3121
|
-
function
|
|
3145
|
+
const R2 = j2();
|
|
3146
|
+
function H2(e) {
|
|
3122
3147
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3123
3148
|
return function(o) {
|
|
3124
3149
|
return t[o] || (t[o] = e(o));
|
|
3125
3150
|
};
|
|
3126
3151
|
}
|
|
3127
|
-
const
|
|
3128
|
-
function
|
|
3152
|
+
const Z2 = /-(\w)/g, hn = H2((e) => e.replace(Z2, (t, n) => n ? n.toUpperCase() : ""));
|
|
3153
|
+
function Nt(e) {
|
|
3129
3154
|
e.parentElement !== null && e.parentElement.removeChild(e);
|
|
3130
3155
|
}
|
|
3131
3156
|
function pn(e, t, n) {
|
|
3132
3157
|
const o = n === 0 ? e.children[0] : e.children[n - 1].nextSibling;
|
|
3133
3158
|
e.insertBefore(t, o);
|
|
3134
3159
|
}
|
|
3135
|
-
function
|
|
3160
|
+
function G2(e, t) {
|
|
3136
3161
|
return Object.values(e).indexOf(t);
|
|
3137
3162
|
}
|
|
3138
|
-
function
|
|
3163
|
+
function q2(e, t, n, o) {
|
|
3139
3164
|
if (!e)
|
|
3140
3165
|
return [];
|
|
3141
3166
|
const i = Object.values(e), a = t.length - o;
|
|
3142
3167
|
return [...t].map((r, s) => s >= a ? i.length : i.indexOf(r));
|
|
3143
3168
|
}
|
|
3144
|
-
function
|
|
3169
|
+
function An(e, t) {
|
|
3145
3170
|
this.$nextTick(() => this.$emit(e.toLowerCase(), t));
|
|
3146
3171
|
}
|
|
3147
|
-
function
|
|
3172
|
+
function W2(e) {
|
|
3148
3173
|
return (t) => {
|
|
3149
|
-
this.realList !== null && this["onDrag" + e](t),
|
|
3174
|
+
this.realList !== null && this["onDrag" + e](t), An.call(this, e, t);
|
|
3150
3175
|
};
|
|
3151
3176
|
}
|
|
3152
|
-
function
|
|
3177
|
+
function Y2(e) {
|
|
3153
3178
|
return ["transition-group", "TransitionGroup"].includes(e);
|
|
3154
3179
|
}
|
|
3155
|
-
function
|
|
3180
|
+
function U2(e) {
|
|
3156
3181
|
if (!e || e.length !== 1)
|
|
3157
3182
|
return !1;
|
|
3158
3183
|
const [{ type: t }] = e;
|
|
3159
|
-
return t ?
|
|
3184
|
+
return t ? Y2(t.name) : !1;
|
|
3160
3185
|
}
|
|
3161
|
-
function
|
|
3186
|
+
function X2(e, t) {
|
|
3162
3187
|
return t ? { ...t.props, ...t.attrs } : e;
|
|
3163
3188
|
}
|
|
3164
|
-
const
|
|
3165
|
-
let
|
|
3166
|
-
const
|
|
3189
|
+
const Zt = ["Start", "Add", "Remove", "Update", "End"], Gt = ["Choose", "Unchoose", "Sort", "Filter", "Clone"], K2 = ["Move", ...Zt, ...Gt].map((e) => "on" + e);
|
|
3190
|
+
let Ft = null;
|
|
3191
|
+
const Q2 = {
|
|
3167
3192
|
options: Object,
|
|
3168
3193
|
list: {
|
|
3169
3194
|
type: Array,
|
|
@@ -3200,17 +3225,17 @@ const K2 = {
|
|
|
3200
3225
|
required: !1,
|
|
3201
3226
|
default: null
|
|
3202
3227
|
}
|
|
3203
|
-
},
|
|
3228
|
+
}, J2 = P({
|
|
3204
3229
|
name: "VueDraggableNext",
|
|
3205
3230
|
inheritAttrs: !1,
|
|
3206
3231
|
emits: [
|
|
3207
3232
|
"update:modelValue",
|
|
3208
3233
|
"move",
|
|
3209
3234
|
"change",
|
|
3210
|
-
...
|
|
3211
|
-
...
|
|
3235
|
+
...Zt.map((e) => e.toLowerCase()),
|
|
3236
|
+
...Gt.map((e) => e.toLowerCase())
|
|
3212
3237
|
],
|
|
3213
|
-
props:
|
|
3238
|
+
props: Q2,
|
|
3214
3239
|
data() {
|
|
3215
3240
|
return {
|
|
3216
3241
|
transitionMode: !1,
|
|
@@ -3223,18 +3248,18 @@ const K2 = {
|
|
|
3223
3248
|
};
|
|
3224
3249
|
},
|
|
3225
3250
|
render() {
|
|
3226
|
-
const e = this.$slots.default ? this.$slots.default() : null, t =
|
|
3227
|
-
return e ? (this.transitionMode =
|
|
3251
|
+
const e = this.$slots.default ? this.$slots.default() : null, t = X2(this.$attrs, this.componentData);
|
|
3252
|
+
return e ? (this.transitionMode = U2(e), Qt(this.getTag(), t, e)) : Qt(this.getTag(), t, []);
|
|
3228
3253
|
},
|
|
3229
3254
|
created() {
|
|
3230
|
-
this.list !== null && this.modelValue !== null &&
|
|
3255
|
+
this.list !== null && this.modelValue !== null && R2.error("list props are mutually exclusive! Please set one.");
|
|
3231
3256
|
},
|
|
3232
3257
|
mounted() {
|
|
3233
3258
|
const e = {};
|
|
3234
|
-
|
|
3235
|
-
e["on" + i] =
|
|
3236
|
-
}),
|
|
3237
|
-
e["on" + i] =
|
|
3259
|
+
Zt.forEach((i) => {
|
|
3260
|
+
e["on" + i] = W2.call(this, i);
|
|
3261
|
+
}), Gt.forEach((i) => {
|
|
3262
|
+
e["on" + i] = An.bind(this, i);
|
|
3238
3263
|
});
|
|
3239
3264
|
const t = Object.keys(this.$attrs).reduce((i, a) => (i[hn(a)] = this.$attrs[a], i), {}), n = Object.assign({}, t, e, {
|
|
3240
3265
|
onMove: (i, a) => this.onDragMove(i, a)
|
|
@@ -3272,7 +3297,7 @@ const K2 = {
|
|
|
3272
3297
|
updateOptions(e) {
|
|
3273
3298
|
for (var t in e) {
|
|
3274
3299
|
const n = hn(t);
|
|
3275
|
-
|
|
3300
|
+
K2.indexOf(n) === -1 && this._sortable.option(n, e[t]);
|
|
3276
3301
|
}
|
|
3277
3302
|
},
|
|
3278
3303
|
getChildrenNodes() {
|
|
@@ -3280,11 +3305,11 @@ const K2 = {
|
|
|
3280
3305
|
},
|
|
3281
3306
|
computeIndexes() {
|
|
3282
3307
|
this.$nextTick(() => {
|
|
3283
|
-
this.visibleIndexes =
|
|
3308
|
+
this.visibleIndexes = q2(this.getChildrenNodes(), this.$el.children, this.transitionMode, this.footerOffset);
|
|
3284
3309
|
});
|
|
3285
3310
|
},
|
|
3286
3311
|
getUnderlyingVm(e) {
|
|
3287
|
-
const t =
|
|
3312
|
+
const t = G2(this.getChildrenNodes() || [], e);
|
|
3288
3313
|
if (t === -1)
|
|
3289
3314
|
return null;
|
|
3290
3315
|
const n = this.realList[t];
|
|
@@ -3330,13 +3355,13 @@ const K2 = {
|
|
|
3330
3355
|
n.children = [], n.kept = void 0;
|
|
3331
3356
|
},
|
|
3332
3357
|
onDragStart(e) {
|
|
3333
|
-
this.computeIndexes(), this.context = this.getUnderlyingVm(e.item), this.context && (e.item._underlying_vm_ = this.clone(this.context.element),
|
|
3358
|
+
this.computeIndexes(), this.context = this.getUnderlyingVm(e.item), this.context && (e.item._underlying_vm_ = this.clone(this.context.element), Ft = e.item);
|
|
3334
3359
|
},
|
|
3335
3360
|
onDragAdd(e) {
|
|
3336
3361
|
const t = e.item._underlying_vm_;
|
|
3337
3362
|
if (t === void 0)
|
|
3338
3363
|
return;
|
|
3339
|
-
|
|
3364
|
+
Nt(e.item);
|
|
3340
3365
|
const n = this.getVmIndex(e.newIndex);
|
|
3341
3366
|
this.spliceList(n, 0, t), this.computeIndexes();
|
|
3342
3367
|
const o = { element: t, newIndex: n };
|
|
@@ -3344,7 +3369,7 @@ const K2 = {
|
|
|
3344
3369
|
},
|
|
3345
3370
|
onDragRemove(e) {
|
|
3346
3371
|
if (pn(this.$el, e.item, e.oldIndex), e.pullMode === "clone") {
|
|
3347
|
-
|
|
3372
|
+
Nt(e.clone);
|
|
3348
3373
|
return;
|
|
3349
3374
|
}
|
|
3350
3375
|
if (!this.context)
|
|
@@ -3355,7 +3380,7 @@ const K2 = {
|
|
|
3355
3380
|
this.resetTransitionData(t), this.emitChanges({ removed: n });
|
|
3356
3381
|
},
|
|
3357
3382
|
onDragUpdate(e) {
|
|
3358
|
-
|
|
3383
|
+
Nt(e.item), pn(e.from, e.item, e.oldIndex);
|
|
3359
3384
|
const t = this.context.index, n = this.getVmIndex(e.newIndex);
|
|
3360
3385
|
this.updatePosition(t, n);
|
|
3361
3386
|
const o = { element: this.context.element, oldIndex: t, newIndex: n };
|
|
@@ -3377,7 +3402,7 @@ const K2 = {
|
|
|
3377
3402
|
return n(l, t);
|
|
3378
3403
|
},
|
|
3379
3404
|
onDragEnd() {
|
|
3380
|
-
this.computeIndexes(),
|
|
3405
|
+
this.computeIndexes(), Ft = null;
|
|
3381
3406
|
},
|
|
3382
3407
|
getTrargetedComponent(e) {
|
|
3383
3408
|
return e.__draggable_component__;
|
|
@@ -3399,13 +3424,13 @@ const K2 = {
|
|
|
3399
3424
|
if (n.length === 0)
|
|
3400
3425
|
return 0;
|
|
3401
3426
|
const o = n.indexOf(t.related), i = e.component.getVmIndex(o);
|
|
3402
|
-
return n.indexOf(
|
|
3427
|
+
return n.indexOf(Ft) !== -1 || !t.willInsertAfter ? i : i + 1;
|
|
3403
3428
|
}
|
|
3404
3429
|
}
|
|
3405
|
-
}),
|
|
3430
|
+
}), e0 = { class: "flex m-10" }, t0 = { class: "sortable-list" }, n0 = {
|
|
3406
3431
|
name: "SortableList"
|
|
3407
|
-
}, J0 = /* @__PURE__ */
|
|
3408
|
-
...
|
|
3432
|
+
}, J0 = /* @__PURE__ */ P({
|
|
3433
|
+
...n0,
|
|
3409
3434
|
props: {
|
|
3410
3435
|
list: {
|
|
3411
3436
|
required: !0,
|
|
@@ -3417,14 +3442,14 @@ const K2 = {
|
|
|
3417
3442
|
const n = t, o = (i) => {
|
|
3418
3443
|
n("onDrag", i);
|
|
3419
3444
|
};
|
|
3420
|
-
return (i, a) => (d(), p("div",
|
|
3421
|
-
h("ul",
|
|
3422
|
-
|
|
3445
|
+
return (i, a) => (d(), p("div", e0, [
|
|
3446
|
+
h("ul", t0, [
|
|
3447
|
+
re(Z(J2), {
|
|
3423
3448
|
list: e.list,
|
|
3424
3449
|
onChange: a[0] || (a[0] = (l) => o(e.list))
|
|
3425
3450
|
}, {
|
|
3426
|
-
default:
|
|
3427
|
-
(d(!0), p(
|
|
3451
|
+
default: q(() => [
|
|
3452
|
+
(d(!0), p(H, null, le(e.list, (l) => (d(), p("li", {
|
|
3428
3453
|
key: l.id
|
|
3429
3454
|
}, [
|
|
3430
3455
|
a[1] || (a[1] = h("span", { class: "grab-icon" }, [
|
|
@@ -3445,7 +3470,7 @@ const K2 = {
|
|
|
3445
3470
|
])
|
|
3446
3471
|
], -1)),
|
|
3447
3472
|
h("div", null, [
|
|
3448
|
-
l.render ? (d(),
|
|
3473
|
+
l.render ? (d(), F(_e(l.render(l.data)), { key: 0 })) : (d(), p(H, { key: 1 }, [
|
|
3449
3474
|
Q(O(l.data), 1)
|
|
3450
3475
|
], 64))
|
|
3451
3476
|
])
|
|
@@ -3456,10 +3481,10 @@ const K2 = {
|
|
|
3456
3481
|
])
|
|
3457
3482
|
]));
|
|
3458
3483
|
}
|
|
3459
|
-
}),
|
|
3484
|
+
}), o0 = ["disabled"], i0 = ["src", "alt"], a0 = {
|
|
3460
3485
|
name: "SSOButton"
|
|
3461
|
-
},
|
|
3462
|
-
...
|
|
3486
|
+
}, Pn = /* @__PURE__ */ P({
|
|
3487
|
+
...a0,
|
|
3463
3488
|
props: {
|
|
3464
3489
|
alignCenter: Boolean,
|
|
3465
3490
|
alternativeText: {
|
|
@@ -3503,14 +3528,14 @@ const K2 = {
|
|
|
3503
3528
|
h("img", {
|
|
3504
3529
|
src: e.imageSource,
|
|
3505
3530
|
alt: e.alternativeText
|
|
3506
|
-
}, null, 8,
|
|
3531
|
+
}, null, 8, i0),
|
|
3507
3532
|
h("span", null, O(e.title), 1)
|
|
3508
|
-
], 10,
|
|
3533
|
+
], 10, o0));
|
|
3509
3534
|
}
|
|
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 = {
|
|
3535
|
+
}), 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
3536
|
name: "FacebookSignInButton"
|
|
3512
|
-
}, ea = /* @__PURE__ */
|
|
3513
|
-
...
|
|
3537
|
+
}, ea = /* @__PURE__ */ P({
|
|
3538
|
+
...r0,
|
|
3514
3539
|
props: {
|
|
3515
3540
|
baseButtonOptions: {
|
|
3516
3541
|
default: () => ({}),
|
|
@@ -3531,19 +3556,19 @@ const K2 = {
|
|
|
3531
3556
|
},
|
|
3532
3557
|
emits: ["click"],
|
|
3533
3558
|
setup(e) {
|
|
3534
|
-
return (t, n) => (d(),
|
|
3559
|
+
return (t, n) => (d(), F(Pn, fe(e.baseButtonOptions, {
|
|
3535
3560
|
disabled: e.disabled,
|
|
3536
|
-
"image-source":
|
|
3561
|
+
"image-source": Z(l0),
|
|
3537
3562
|
loading: e.loading,
|
|
3538
3563
|
title: e.title,
|
|
3539
3564
|
class: "facebook",
|
|
3540
3565
|
onClick: n[0] || (n[0] = (o) => t.$emit("click"))
|
|
3541
3566
|
}), null, 16, ["disabled", "image-source", "loading", "title"]));
|
|
3542
3567
|
}
|
|
3543
|
-
}),
|
|
3568
|
+
}), 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
3569
|
name: "GoogleSignInButton"
|
|
3545
|
-
}, ta = /* @__PURE__ */
|
|
3546
|
-
...
|
|
3570
|
+
}, ta = /* @__PURE__ */ P({
|
|
3571
|
+
...u0,
|
|
3547
3572
|
props: {
|
|
3548
3573
|
baseButtonOptions: {
|
|
3549
3574
|
default: () => ({}),
|
|
@@ -3564,25 +3589,25 @@ const K2 = {
|
|
|
3564
3589
|
},
|
|
3565
3590
|
emits: ["click"],
|
|
3566
3591
|
setup(e) {
|
|
3567
|
-
return (t, n) => (d(),
|
|
3592
|
+
return (t, n) => (d(), F(Pn, fe(e.baseButtonOptions, {
|
|
3568
3593
|
disabled: e.disabled,
|
|
3569
|
-
"image-source":
|
|
3594
|
+
"image-source": Z(s0),
|
|
3570
3595
|
loading: e.loading,
|
|
3571
3596
|
title: e.title,
|
|
3572
3597
|
class: "google",
|
|
3573
3598
|
onClick: n[0] || (n[0] = (o) => t.$emit("click"))
|
|
3574
3599
|
}), null, 16, ["disabled", "image-source", "loading", "title"]));
|
|
3575
3600
|
}
|
|
3576
|
-
}),
|
|
3601
|
+
}), 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
3602
|
key: 0,
|
|
3578
|
-
src:
|
|
3579
|
-
},
|
|
3603
|
+
src: d0
|
|
3604
|
+
}, p0 = {
|
|
3580
3605
|
key: 0,
|
|
3581
3606
|
class: "content"
|
|
3582
|
-
},
|
|
3607
|
+
}, g0 = { class: "actions" }, m0 = {
|
|
3583
3608
|
name: "Stepper"
|
|
3584
|
-
},
|
|
3585
|
-
...
|
|
3609
|
+
}, v0 = /* @__PURE__ */ P({
|
|
3610
|
+
...m0,
|
|
3586
3611
|
props: {
|
|
3587
3612
|
nextButtonProperties: {
|
|
3588
3613
|
default: null,
|
|
@@ -3604,9 +3629,9 @@ const K2 = {
|
|
|
3604
3629
|
}, s = () => {
|
|
3605
3630
|
i.value > 0 && (i.value--, a.value = !1), i.value || (l.value = !0);
|
|
3606
3631
|
};
|
|
3607
|
-
return (u, f) => (d(), p("div",
|
|
3608
|
-
h("ul",
|
|
3609
|
-
(d(!0), p(
|
|
3632
|
+
return (u, f) => (d(), p("div", c0, [
|
|
3633
|
+
h("ul", f0, [
|
|
3634
|
+
(d(!0), p(H, null, le(e.steps, (c, v) => (d(), p("li", {
|
|
3610
3635
|
key: v,
|
|
3611
3636
|
class: N([
|
|
3612
3637
|
"step",
|
|
@@ -3619,7 +3644,7 @@ const K2 = {
|
|
|
3619
3644
|
{ active: v === i.value, completed: v < i.value }
|
|
3620
3645
|
])
|
|
3621
3646
|
}, [
|
|
3622
|
-
v < i.value ? (d(), p("img",
|
|
3647
|
+
v < i.value ? (d(), p("img", h0)) : (d(), p(H, { key: 1 }, [
|
|
3623
3648
|
Q(O(c.step || v + 1), 1)
|
|
3624
3649
|
], 64))
|
|
3625
3650
|
], 2),
|
|
@@ -3629,15 +3654,15 @@ const K2 = {
|
|
|
3629
3654
|
}, O(c.label), 3)) : k("", !0)
|
|
3630
3655
|
], 2))), 128))
|
|
3631
3656
|
]),
|
|
3632
|
-
(d(!0), p(
|
|
3633
|
-
v === i.value && c.content ? (d(), p("div",
|
|
3657
|
+
(d(!0), p(H, null, le(e.steps, (c, v) => (d(), p(H, { key: v }, [
|
|
3658
|
+
v === i.value && c.content ? (d(), p("div", p0, [
|
|
3634
3659
|
I(u.$slots, c?.step, {}, () => [
|
|
3635
3660
|
Q(O(c.content), 1)
|
|
3636
3661
|
], !0)
|
|
3637
3662
|
])) : k("", !0)
|
|
3638
3663
|
], 64))), 128)),
|
|
3639
|
-
h("div",
|
|
3640
|
-
|
|
3664
|
+
h("div", g0, [
|
|
3665
|
+
re(Z(ue), {
|
|
3641
3666
|
disabled: l.value || e.previousButtonProperties?.disabled,
|
|
3642
3667
|
"icon-left": e.previousButtonProperties?.iconLeft,
|
|
3643
3668
|
"icon-right": e.previousButtonProperties?.iconRight,
|
|
@@ -3648,7 +3673,7 @@ const K2 = {
|
|
|
3648
3673
|
variant: e.previousButtonProperties?.variant ?? "outlined",
|
|
3649
3674
|
onClick: s
|
|
3650
3675
|
}, null, 8, ["disabled", "icon-left", "icon-right", "label", "rounded", "severity", "size", "variant"]),
|
|
3651
|
-
|
|
3676
|
+
re(Z(ue), {
|
|
3652
3677
|
disabled: a.value || e.nextButtonProperties?.disabled,
|
|
3653
3678
|
"icon-left": e.nextButtonProperties?.iconLeft,
|
|
3654
3679
|
"icon-right": e.nextButtonProperties?.iconRight,
|
|
@@ -3662,13 +3687,13 @@ const K2 = {
|
|
|
3662
3687
|
])
|
|
3663
3688
|
]));
|
|
3664
3689
|
}
|
|
3665
|
-
}), na = /* @__PURE__ */ et(
|
|
3690
|
+
}), na = /* @__PURE__ */ et(v0, [["__scopeId", "data-v-75d55d88"]]), b0 = ["data-position"], C0 = { role: "tablist" }, y0 = ["data-selected"], w0 = ["aria-expanded", "onClick"], S0 = ["src"], k0 = {
|
|
3666
3691
|
class: "tabbed-pane",
|
|
3667
3692
|
role: "region"
|
|
3668
|
-
},
|
|
3693
|
+
}, $0 = {
|
|
3669
3694
|
name: "TabbedPanel"
|
|
3670
|
-
}, oa = /* @__PURE__ */
|
|
3671
|
-
|
|
3695
|
+
}, oa = /* @__PURE__ */ P({
|
|
3696
|
+
...$0,
|
|
3672
3697
|
props: {
|
|
3673
3698
|
defaultIndex: {
|
|
3674
3699
|
default: 0,
|
|
@@ -3684,15 +3709,15 @@ const K2 = {
|
|
|
3684
3709
|
setup(e) {
|
|
3685
3710
|
const t = Se(), n = e, o = _(n.defaultIndex), i = (r) => {
|
|
3686
3711
|
o.value = r;
|
|
3687
|
-
}, a = t?.default ? t.default().filter((r) => r?.props?.title) : [], l =
|
|
3688
|
-
return (r, s) =>
|
|
3712
|
+
}, a = t?.default ? t.default().filter((r) => r?.props?.title) : [], l = W(() => a[o.value]);
|
|
3713
|
+
return (r, s) => Z(a).length ? (d(), p("div", {
|
|
3689
3714
|
key: 0,
|
|
3690
3715
|
class: "tabbed-panel",
|
|
3691
3716
|
"data-position": n.position
|
|
3692
3717
|
}, [
|
|
3693
3718
|
h("nav", null, [
|
|
3694
|
-
h("ul",
|
|
3695
|
-
(d(!0), p(
|
|
3719
|
+
h("ul", C0, [
|
|
3720
|
+
(d(!0), p(H, null, le(Z(a), (u, f) => (d(), p("li", {
|
|
3696
3721
|
key: f,
|
|
3697
3722
|
"data-selected": f === o.value
|
|
3698
3723
|
}, [
|
|
@@ -3702,32 +3727,32 @@ const K2 = {
|
|
|
3702
3727
|
type: "button",
|
|
3703
3728
|
onClick: (c) => i(f)
|
|
3704
3729
|
}, [
|
|
3705
|
-
I(r.$slots, "icon",
|
|
3730
|
+
I(r.$slots, "icon", fe({ ref_for: !0 }, u), () => [
|
|
3706
3731
|
u?.props?.icon ? (d(), p("img", {
|
|
3707
3732
|
key: 0,
|
|
3708
3733
|
src: u?.props?.icon,
|
|
3709
3734
|
class: "icon"
|
|
3710
|
-
}, null, 8,
|
|
3735
|
+
}, null, 8, S0)) : k("", !0)
|
|
3711
3736
|
]),
|
|
3712
3737
|
h("span", null, O(u.props?.title), 1)
|
|
3713
|
-
], 8,
|
|
3714
|
-
], 8,
|
|
3738
|
+
], 8, w0)
|
|
3739
|
+
], 8, y0))), 128))
|
|
3715
3740
|
])
|
|
3716
3741
|
]),
|
|
3717
|
-
|
|
3742
|
+
re(gn, {
|
|
3718
3743
|
appear: "",
|
|
3719
3744
|
name: "expand"
|
|
3720
3745
|
}, {
|
|
3721
|
-
default:
|
|
3722
|
-
h("div",
|
|
3723
|
-
(d(),
|
|
3746
|
+
default: q(() => [
|
|
3747
|
+
h("div", k0, [
|
|
3748
|
+
(d(), F(_e(l.value)))
|
|
3724
3749
|
])
|
|
3725
3750
|
]),
|
|
3726
3751
|
_: 1
|
|
3727
3752
|
})
|
|
3728
|
-
], 8,
|
|
3753
|
+
], 8, b0)) : k("", !0);
|
|
3729
3754
|
}
|
|
3730
|
-
}),
|
|
3755
|
+
}), E0 = (e) => {
|
|
3731
3756
|
let t;
|
|
3732
3757
|
switch (e) {
|
|
3733
3758
|
case "top":
|
|
@@ -3743,10 +3768,10 @@ const K2 = {
|
|
|
3743
3768
|
break;
|
|
3744
3769
|
}
|
|
3745
3770
|
return t;
|
|
3746
|
-
},
|
|
3771
|
+
}, D0 = ["id"], T0 = ["aria-orientation"], x0 = ["id", "aria-label", "aria-selected", "onClick"], L0 = ["src"], O0 = ["title"], M0 = ["onClick"], _0 = { role: "tabpanel" }, B0 = {
|
|
3747
3772
|
name: "TabView"
|
|
3748
|
-
}, ia = /* @__PURE__ */
|
|
3749
|
-
...
|
|
3773
|
+
}, ia = /* @__PURE__ */ P({
|
|
3774
|
+
...B0,
|
|
3750
3775
|
props: {
|
|
3751
3776
|
activeKey: {
|
|
3752
3777
|
type: String,
|
|
@@ -3794,11 +3819,11 @@ const K2 = {
|
|
|
3794
3819
|
setup(e, { expose: t, emit: n }) {
|
|
3795
3820
|
const o = e, i = n, a = Se(), l = _(o.activeKey), r = _(!1), s = _(
|
|
3796
3821
|
o.visibleTabs?.length ? o.visibleTabs : o.tabs.map((g) => g.key)
|
|
3797
|
-
), u =
|
|
3822
|
+
), u = W(() => c.value.find((g) => g.key === l.value)?.children || $.value.find(
|
|
3798
3823
|
(g) => typeof g == "object" && g !== null && "props" in g && g.props?.key === l.value
|
|
3799
|
-
)), f =
|
|
3824
|
+
)), f = W(() => E0(o.position)), c = W(
|
|
3800
3825
|
() => s.value.map((g) => o.tabs.find((S) => S.key === g)).filter((g) => g !== void 0)
|
|
3801
|
-
), v =
|
|
3826
|
+
), v = W(() => Ko(o.persistStateStorage)), $ = W(() => (a?.default?.() ?? []).flatMap((S) => Array.isArray(S?.children) && !S?.props?.key ? S.children.filter(
|
|
3802
3827
|
(y) => typeof y == "object" && y !== null && "props" in y && y.props?.key
|
|
3803
3828
|
) : S?.props?.key ? [S] : []));
|
|
3804
3829
|
yt(() => {
|
|
@@ -3831,8 +3856,8 @@ const K2 = {
|
|
|
3831
3856
|
});
|
|
3832
3857
|
const w = (g) => l.value === g, M = (g) => {
|
|
3833
3858
|
const S = s.value.findIndex((J) => J === g), y = s.value.filter((J) => J !== g);
|
|
3834
|
-
let
|
|
3835
|
-
S > 0 ?
|
|
3859
|
+
let V = "";
|
|
3860
|
+
S > 0 ? V = y[S - 1] : V = y[0], y.includes(l.value) || b(V), s.value = y, i("update:visibleTabs", y);
|
|
3836
3861
|
}, E = (g) => {
|
|
3837
3862
|
if (!o.interceptTabClose) {
|
|
3838
3863
|
M(g);
|
|
@@ -3849,8 +3874,8 @@ const K2 = {
|
|
|
3849
3874
|
}
|
|
3850
3875
|
}, b = (g) => {
|
|
3851
3876
|
if (l.value = g, r.value) {
|
|
3852
|
-
const { pathname: S, search: y } = window.location,
|
|
3853
|
-
history.replaceState(null, "",
|
|
3877
|
+
const { pathname: S, search: y } = window.location, V = o.enableHashRouting ? `${S}${y}#${l.value}` : `${S}${y}`;
|
|
3878
|
+
history.replaceState(null, "", V);
|
|
3854
3879
|
}
|
|
3855
3880
|
i("update:activeKey", g);
|
|
3856
3881
|
}, C = () => {
|
|
@@ -3870,9 +3895,9 @@ const K2 = {
|
|
|
3870
3895
|
"aria-orientation": f.value,
|
|
3871
3896
|
role: "tablist"
|
|
3872
3897
|
}, [
|
|
3873
|
-
(d(!0), p(
|
|
3898
|
+
(d(!0), p(H, null, le(c.value, (y, V) => (d(), p("button", {
|
|
3874
3899
|
id: y.key,
|
|
3875
|
-
key:
|
|
3900
|
+
key: V,
|
|
3876
3901
|
"aria-label": y.label,
|
|
3877
3902
|
"aria-selected": w(y.key),
|
|
3878
3903
|
class: N({ active: w(y.key) }),
|
|
@@ -3884,10 +3909,10 @@ const K2 = {
|
|
|
3884
3909
|
key: 0,
|
|
3885
3910
|
src: y?.icon,
|
|
3886
3911
|
class: "icon"
|
|
3887
|
-
}, null, 8,
|
|
3912
|
+
}, null, 8, L0)) : k("", !0),
|
|
3888
3913
|
h("span", {
|
|
3889
3914
|
title: y.label
|
|
3890
|
-
}, O(y.label), 9,
|
|
3915
|
+
}, O(y.label), 9, O0),
|
|
3891
3916
|
y.closable ? (d(), p("svg", {
|
|
3892
3917
|
key: 1,
|
|
3893
3918
|
height: "24",
|
|
@@ -3900,28 +3925,28 @@ const K2 = {
|
|
|
3900
3925
|
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
3926
|
fill: "currentColor"
|
|
3902
3927
|
}, null, -1)
|
|
3903
|
-
]), 8,
|
|
3904
|
-
], 10,
|
|
3905
|
-
], 8,
|
|
3906
|
-
h("div",
|
|
3907
|
-
typeof u.value == "string" ? (d(), p(
|
|
3928
|
+
]), 8, M0)) : k("", !0)
|
|
3929
|
+
], 10, x0))), 128))
|
|
3930
|
+
], 8, T0),
|
|
3931
|
+
h("div", _0, [
|
|
3932
|
+
typeof u.value == "string" ? (d(), p(H, { key: 0 }, [
|
|
3908
3933
|
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-${
|
|
3934
|
+
], 64)) : (d(), p(H, { key: 1 }, [
|
|
3935
|
+
e.lazy ? (d(), p(H, { key: 1 }, [
|
|
3936
|
+
u.value ? (d(), F(_e(u.value), { key: 0 })) : k("", !0)
|
|
3937
|
+
], 64)) : (d(!0), p(H, { key: 0 }, le($.value, (y, V) => bt((d(), F(_e(y), {
|
|
3938
|
+
key: `slot-component-${V}`
|
|
3914
3939
|
})), [
|
|
3915
3940
|
[Ct, y === u.value]
|
|
3916
3941
|
])), 128))
|
|
3917
3942
|
], 64))
|
|
3918
3943
|
])
|
|
3919
|
-
], 10,
|
|
3944
|
+
], 10, D0));
|
|
3920
3945
|
}
|
|
3921
|
-
}),
|
|
3946
|
+
}), I0 = ["aria-label"], A0 = {
|
|
3922
3947
|
name: "Tooltip"
|
|
3923
|
-
}, aa = /* @__PURE__ */
|
|
3924
|
-
...
|
|
3948
|
+
}, aa = /* @__PURE__ */ P({
|
|
3949
|
+
...A0,
|
|
3925
3950
|
props: {
|
|
3926
3951
|
ariaLabel: {
|
|
3927
3952
|
default: "tooltip",
|
|
@@ -3948,7 +3973,7 @@ const K2 = {
|
|
|
3948
3973
|
}
|
|
3949
3974
|
},
|
|
3950
3975
|
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: $ } =
|
|
3976
|
+
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
3977
|
vn(() => {
|
|
3953
3978
|
window.removeEventListener("resize", D), s.value.forEach(({ element: C, listener: g }) => {
|
|
3954
3979
|
C.removeEventListener("scroll", g);
|
|
@@ -3969,13 +3994,13 @@ const K2 = {
|
|
|
3969
3994
|
return;
|
|
3970
3995
|
const C = i.value.getBoundingClientRect(), g = o.value.getBoundingClientRect();
|
|
3971
3996
|
let S = 0, y = 0;
|
|
3972
|
-
const
|
|
3973
|
-
switch (
|
|
3997
|
+
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;
|
|
3998
|
+
switch (V) {
|
|
3974
3999
|
case "top":
|
|
3975
|
-
S = J ? C.top - g.height - t.offset : C.bottom + t.offset, y =
|
|
4000
|
+
S = J ? C.top - g.height - t.offset : C.bottom + t.offset, y = he;
|
|
3976
4001
|
break;
|
|
3977
4002
|
case "bottom":
|
|
3978
|
-
S = U ? C.bottom + t.offset : C.top - g.height - t.offset, y =
|
|
4003
|
+
S = U ? C.bottom + t.offset : C.top - g.height - t.offset, y = he;
|
|
3979
4004
|
break;
|
|
3980
4005
|
case "left":
|
|
3981
4006
|
y = C.left - g.width - t.offset, S = ne;
|
|
@@ -3984,18 +4009,18 @@ const K2 = {
|
|
|
3984
4009
|
y = C.left + C.width + t.offset, S = ne;
|
|
3985
4010
|
break;
|
|
3986
4011
|
}
|
|
3987
|
-
const
|
|
3988
|
-
if (a.value =
|
|
4012
|
+
const ve = $.value - (S + g.height), de = S;
|
|
4013
|
+
if (a.value = de > 0 && ve > 0, V === "right" || V === "left")
|
|
3989
4014
|
y = Math.max(0, y);
|
|
3990
4015
|
else {
|
|
3991
4016
|
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),
|
|
4017
|
+
const be = $.value - g.height;
|
|
4018
|
+
S = Math.min(Math.max(S, 0), be);
|
|
3994
4019
|
}
|
|
3995
4020
|
r.value = {
|
|
3996
4021
|
top: `${S}px`,
|
|
3997
4022
|
left: `${y}px`
|
|
3998
|
-
}, l.value =
|
|
4023
|
+
}, l.value = V;
|
|
3999
4024
|
};
|
|
4000
4025
|
return yt(() => {
|
|
4001
4026
|
window.addEventListener("resize", D), n.value && Sn(n.value).forEach((g) => {
|
|
@@ -4029,12 +4054,12 @@ const K2 = {
|
|
|
4029
4054
|
}, [
|
|
4030
4055
|
I(C.$slots, "content")
|
|
4031
4056
|
], 6)) : k("", !0)
|
|
4032
|
-
], 40,
|
|
4057
|
+
], 40, I0));
|
|
4033
4058
|
}
|
|
4034
|
-
}), P0 = ["aria-label", "href", "data-youtube-video-token"],
|
|
4059
|
+
}), P0 = ["aria-label", "href", "data-youtube-video-token"], N0 = ["src", "alt", "data-aspect-ratio"], F0 = ["href"], V0 = {
|
|
4035
4060
|
name: "YoutubeFacade"
|
|
4036
|
-
}, la = /* @__PURE__ */
|
|
4037
|
-
...
|
|
4061
|
+
}, la = /* @__PURE__ */ P({
|
|
4062
|
+
...V0,
|
|
4038
4063
|
props: {
|
|
4039
4064
|
alt: {
|
|
4040
4065
|
default: null,
|
|
@@ -4073,7 +4098,7 @@ const K2 = {
|
|
|
4073
4098
|
l.dataset.aspectRatio && (r.style.aspectRatio = l.dataset.aspectRatio);
|
|
4074
4099
|
const s = a.parentNode;
|
|
4075
4100
|
s && s.replaceChild(r, a);
|
|
4076
|
-
}, o =
|
|
4101
|
+
}, o = W(() => t.imageSource || `https://img.youtube.com/vi/${t.videoToken}/maxresdefault.jpg`);
|
|
4077
4102
|
return (i, a) => (d(), p("div", {
|
|
4078
4103
|
class: "youtube-facade",
|
|
4079
4104
|
style: Ne(`background-image: url(${o.value})`)
|
|
@@ -4095,7 +4120,7 @@ const K2 = {
|
|
|
4095
4120
|
alt: e.alt,
|
|
4096
4121
|
"data-aspect-ratio": e.aspectRatio,
|
|
4097
4122
|
style: Ne(`aspect-ratio: ${e.aspectRatio}`)
|
|
4098
|
-
}, null, 12,
|
|
4123
|
+
}, null, 12, N0)
|
|
4099
4124
|
], 12, P0),
|
|
4100
4125
|
h("a", {
|
|
4101
4126
|
href: e.videoLink,
|
|
@@ -4104,42 +4129,42 @@ const K2 = {
|
|
|
4104
4129
|
}, a[0] || (a[0] = [
|
|
4105
4130
|
Q(" Watch On "),
|
|
4106
4131
|
h("b", null, "YouTube", -1)
|
|
4107
|
-
]), 8,
|
|
4132
|
+
]), 8, F0)
|
|
4108
4133
|
], 4)
|
|
4109
4134
|
], 4));
|
|
4110
4135
|
}
|
|
4111
4136
|
}), ra = {
|
|
4112
4137
|
install: (e) => {
|
|
4113
|
-
e.component("LoadingButton", $o), e.component("LoadingIcon", wt), e.component("Page",
|
|
4138
|
+
e.component("LoadingButton", $o), e.component("LoadingIcon", wt), e.component("Page", d2);
|
|
4114
4139
|
}
|
|
4115
4140
|
};
|
|
4116
4141
|
export {
|
|
4117
|
-
|
|
4142
|
+
R0 as Accordion,
|
|
4118
4143
|
to as BadgeComponent,
|
|
4119
|
-
|
|
4144
|
+
ue as ButtonElement,
|
|
4120
4145
|
mo as Card,
|
|
4121
4146
|
tn as ConfirmationModal,
|
|
4122
|
-
|
|
4147
|
+
H0 as Data,
|
|
4123
4148
|
Y0 as DebouncedInput,
|
|
4124
|
-
|
|
4125
|
-
|
|
4149
|
+
G0 as Divider,
|
|
4150
|
+
si as Dropdown,
|
|
4126
4151
|
q0 as Errors,
|
|
4127
4152
|
ea as FacebookSignInButton,
|
|
4128
|
-
|
|
4153
|
+
Ii as FileCard,
|
|
4129
4154
|
W0 as FilesList,
|
|
4130
4155
|
ta as GoogleSignInButton,
|
|
4131
4156
|
U0 as GridContainer,
|
|
4132
4157
|
$o as LoadingButton,
|
|
4133
4158
|
wt as LoadingIcon,
|
|
4134
|
-
|
|
4159
|
+
Gi as LoadingPage,
|
|
4135
4160
|
X0 as Message,
|
|
4136
4161
|
K0 as Modal,
|
|
4137
|
-
|
|
4162
|
+
d2 as Page,
|
|
4138
4163
|
ti as Popup,
|
|
4139
4164
|
Q0 as ResponsiveMenu,
|
|
4140
4165
|
J0 as SortableList,
|
|
4141
4166
|
na as Stepper,
|
|
4142
|
-
|
|
4167
|
+
Z0 as SubPane,
|
|
4143
4168
|
ia as TabView,
|
|
4144
4169
|
oa as TabbedPanel,
|
|
4145
4170
|
aa as Tooltip,
|