@prefabs.tech/vue3-ui 0.26.0 → 0.28.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 +887 -874
- package/dist/PrefabsTechVue3UI.umd.js +2 -2
- package/dist/src/Accordion/Index.vue.d.ts +19 -1
- package/dist/src/Accordion/Index.vue.d.ts.map +1 -1
- package/dist/src/Button/Index.vue.d.ts +4 -4
- package/dist/src/ConfirmationModal/Index.vue.d.ts +2 -2
- package/dist/src/Page/Index.vue.d.ts +3 -3
- package/dist/vue3-ui.css +1 -1
- package/package.json +1 -1
|
@@ -1,13 +1,17 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const qn = ["aria-orientation"], Wn = ["data-expanded"], Yn = ["aria-expanded", "onClick"], Un =
|
|
1
|
+
import { defineComponent as N, ref as P, useSlots as ke, createElementBlock as h, createCommentVNode as C, unref as G, openBlock as c, normalizeClass as A, Fragment as j, renderList as se, createElementVNode as p, createVNode as ue, createBlock as I, resolveDynamicComponent as de, toDisplayString as T, Transition as vn, withCtx as H, computed as W, renderSlot as B, createTextVNode as K, onMounted as et, nextTick as ze, getCurrentInstance as Ht, watch as Ve, getCurrentScope as zn, onScopeDispose as Rn, hasInjectionContext as mn, inject as Zn, toValue as ye, shallowRef as Nt, watchEffect as bn, mergeProps as te, onBeforeUnmount as Cn, normalizeStyle as Ne, createSlots as Hn, withDirectives as Gt, vShow as qt, resolveComponent as yn, h as Qt, withModifiers as Gn } from "vue";
|
|
2
|
+
const qn = ["aria-orientation"], Wn = ["data-expanded"], Yn = ["aria-expanded", "onClick"], Un = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "pane",
|
|
5
5
|
role: "region"
|
|
6
|
-
},
|
|
6
|
+
}, Xn = {
|
|
7
7
|
name: "Accordion"
|
|
8
|
-
},
|
|
9
|
-
...
|
|
8
|
+
}, Za = /* @__PURE__ */ N({
|
|
9
|
+
...Xn,
|
|
10
10
|
props: {
|
|
11
|
+
activeIcon: {
|
|
12
|
+
default: void 0,
|
|
13
|
+
type: [String, Function]
|
|
14
|
+
},
|
|
11
15
|
canSelfCollapse: {
|
|
12
16
|
default: !1,
|
|
13
17
|
required: !1,
|
|
@@ -22,44 +26,53 @@ const qn = ["aria-orientation"], Wn = ["data-expanded"], Yn = ["aria-expanded",
|
|
|
22
26
|
default: "vertical",
|
|
23
27
|
required: !1,
|
|
24
28
|
type: String
|
|
29
|
+
},
|
|
30
|
+
inactiveIcon: {
|
|
31
|
+
default: void 0,
|
|
32
|
+
type: [String, Function]
|
|
25
33
|
}
|
|
26
34
|
},
|
|
27
35
|
setup(e) {
|
|
28
|
-
const t = e, o =
|
|
36
|
+
const t = e, o = P(t.defaultIndex), n = (l) => {
|
|
29
37
|
!t.canSelfCollapse || o.value !== l ? o.value = l : o.value = -1;
|
|
30
38
|
}, i = ke(), a = i?.default ? i.default().filter((l) => l?.props?.title) : null;
|
|
31
|
-
return (l, r) => G(a) ? (c(),
|
|
39
|
+
return (l, r) => G(a) ? (c(), h("div", {
|
|
32
40
|
key: 0,
|
|
33
|
-
class:
|
|
41
|
+
class: A(["accordion", t.direction]),
|
|
34
42
|
"aria-orientation": t.direction
|
|
35
43
|
}, [
|
|
36
|
-
(c(!0),
|
|
44
|
+
(c(!0), h(j, null, se(G(a), (s, u) => (c(), h("section", {
|
|
37
45
|
key: u,
|
|
38
46
|
"data-expanded": u === o.value
|
|
39
47
|
}, [
|
|
40
|
-
|
|
41
|
-
|
|
48
|
+
p("header", null, [
|
|
49
|
+
p("button", {
|
|
42
50
|
tabindex: "0",
|
|
43
51
|
type: "button",
|
|
44
52
|
"aria-expanded": u === o.value,
|
|
45
53
|
onClick: (f) => n(u)
|
|
46
54
|
}, [
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
55
|
+
(c(), I(de(
|
|
56
|
+
typeof s?.props?.icon == "string" ? "i" : s?.props?.icon
|
|
57
|
+
), {
|
|
58
|
+
class: A(
|
|
59
|
+
typeof s?.props?.icon == "string" ? s.props.icon : "icon"
|
|
60
|
+
)
|
|
61
|
+
}, null, 8, ["class"])),
|
|
62
|
+
p("span", null, T(s?.props?.title), 1),
|
|
63
|
+
o.value === u ? (c(), I(de(typeof e.activeIcon == "string" ? "i" : e.activeIcon), {
|
|
64
|
+
key: 0,
|
|
65
|
+
class: A(typeof e.activeIcon == "string" ? e.activeIcon : "icon")
|
|
66
|
+
}, null, 8, ["class"])) : (c(), I(de(typeof e.inactiveIcon == "string" ? "i" : e.inactiveIcon), {
|
|
67
|
+
key: 1,
|
|
68
|
+
class: A(typeof e.inactiveIcon == "string" ? e.inactiveIcon : "icon")
|
|
69
|
+
}, null, 8, ["class"]))
|
|
54
70
|
], 8, Yn)
|
|
55
71
|
]),
|
|
56
|
-
ue(
|
|
57
|
-
appear: "",
|
|
58
|
-
name: "expand"
|
|
59
|
-
}, {
|
|
72
|
+
ue(vn, { name: "expand" }, {
|
|
60
73
|
default: H(() => [
|
|
61
|
-
u === o.value ? (c(),
|
|
62
|
-
(c(),
|
|
74
|
+
u === o.value ? (c(), h("div", Un, [
|
|
75
|
+
(c(), I(de(s)))
|
|
63
76
|
])) : C("", !0)
|
|
64
77
|
]),
|
|
65
78
|
_: 2
|
|
@@ -67,19 +80,19 @@ const qn = ["aria-orientation"], Wn = ["data-expanded"], Yn = ["aria-expanded",
|
|
|
67
80
|
], 8, Wn))), 128))
|
|
68
81
|
], 10, qn)) : C("", !0);
|
|
69
82
|
}
|
|
70
|
-
}),
|
|
83
|
+
}), Kn = {
|
|
71
84
|
key: 0,
|
|
72
85
|
class: "icon-left"
|
|
73
|
-
},
|
|
86
|
+
}, Qn = {
|
|
74
87
|
key: 1,
|
|
75
88
|
class: "label"
|
|
76
|
-
},
|
|
89
|
+
}, Jn = {
|
|
77
90
|
key: 2,
|
|
78
91
|
class: "icon-right"
|
|
79
|
-
},
|
|
92
|
+
}, eo = {
|
|
80
93
|
name: "BadgeComponent"
|
|
81
|
-
},
|
|
82
|
-
...
|
|
94
|
+
}, to = /* @__PURE__ */ N({
|
|
95
|
+
...eo,
|
|
83
96
|
props: {
|
|
84
97
|
iconLeft: {
|
|
85
98
|
default: null,
|
|
@@ -109,50 +122,50 @@ const qn = ["aria-orientation"], Wn = ["data-expanded"], Yn = ["aria-expanded",
|
|
|
109
122
|
},
|
|
110
123
|
setup(e) {
|
|
111
124
|
const t = e, o = ke(), n = W(() => ["badge", t.rounded && "rounded", t.severity].filter(Boolean).join(" "));
|
|
112
|
-
return (i, a) => (c(),
|
|
113
|
-
class:
|
|
125
|
+
return (i, a) => (c(), h("span", {
|
|
126
|
+
class: A(n.value)
|
|
114
127
|
}, [
|
|
115
|
-
e.iconLeft || G(o).iconLeft ? (c(),
|
|
128
|
+
e.iconLeft || G(o).iconLeft ? (c(), h("span", Kn, [
|
|
116
129
|
B(i.$slots, "iconLeft", {}, () => [
|
|
117
|
-
|
|
118
|
-
class:
|
|
130
|
+
p("i", {
|
|
131
|
+
class: A(e.iconLeft)
|
|
119
132
|
}, null, 2)
|
|
120
133
|
])
|
|
121
134
|
])) : C("", !0),
|
|
122
|
-
e.label ? (c(),
|
|
123
|
-
e.iconRight || G(o).iconRight ? (c(),
|
|
135
|
+
e.label ? (c(), h("div", Qn, T(e.label), 1)) : C("", !0),
|
|
136
|
+
e.iconRight || G(o).iconRight ? (c(), h("span", Jn, [
|
|
124
137
|
B(i.$slots, "iconRight", {}, () => [
|
|
125
|
-
|
|
126
|
-
class:
|
|
138
|
+
p("i", {
|
|
139
|
+
class: A(e.iconRight)
|
|
127
140
|
}, null, 2)
|
|
128
141
|
])
|
|
129
142
|
])) : C("", !0)
|
|
130
143
|
], 2));
|
|
131
144
|
}
|
|
132
|
-
}),
|
|
145
|
+
}), no = {
|
|
133
146
|
name: "LoadingIcon"
|
|
134
|
-
},
|
|
147
|
+
}, bt = (e, t) => {
|
|
135
148
|
const o = e.__vccOpts || e;
|
|
136
149
|
for (const [n, i] of t)
|
|
137
150
|
o[n] = i;
|
|
138
151
|
return o;
|
|
139
|
-
},
|
|
140
|
-
function
|
|
141
|
-
return c(),
|
|
152
|
+
}, oo = { class: "loading" };
|
|
153
|
+
function io(e, t, o, n, i, a) {
|
|
154
|
+
return c(), h("div", oo, "Loading");
|
|
142
155
|
}
|
|
143
|
-
const
|
|
156
|
+
const Ct = /* @__PURE__ */ bt(no, [["render", io], ["__scopeId", "data-v-4c97cef5"]]), ao = {
|
|
144
157
|
key: 0,
|
|
145
158
|
class: "icon-left"
|
|
146
|
-
},
|
|
159
|
+
}, lo = {
|
|
147
160
|
key: 1,
|
|
148
161
|
class: "label"
|
|
149
|
-
},
|
|
162
|
+
}, ro = {
|
|
150
163
|
key: 2,
|
|
151
164
|
class: "icon-right"
|
|
152
|
-
},
|
|
165
|
+
}, so = {
|
|
153
166
|
name: "ButtonElement"
|
|
154
|
-
}, le = /* @__PURE__ */
|
|
155
|
-
...
|
|
167
|
+
}, le = /* @__PURE__ */ N({
|
|
168
|
+
...so,
|
|
156
169
|
props: {
|
|
157
170
|
ariaLabel: {
|
|
158
171
|
default: "button",
|
|
@@ -228,9 +241,9 @@ const wt = /* @__PURE__ */ yt(oo, [["render", ao], ["__scopeId", "data-v-4c97cef
|
|
|
228
241
|
function s() {
|
|
229
242
|
o("click");
|
|
230
243
|
}
|
|
231
|
-
return (u, f) => (c(),
|
|
244
|
+
return (u, f) => (c(), I(de(e.to ? "a" : "button"), {
|
|
232
245
|
"aria-label": e.ariaLabel,
|
|
233
|
-
class:
|
|
246
|
+
class: A(a.value),
|
|
234
247
|
disabled: !e.to && r.value,
|
|
235
248
|
href: e.to && !r.value ? e.to : null,
|
|
236
249
|
role: l.value,
|
|
@@ -238,26 +251,26 @@ const wt = /* @__PURE__ */ yt(oo, [["render", ao], ["__scopeId", "data-v-4c97cef
|
|
|
238
251
|
onClick: f[0] || (f[0] = (d) => !e.to && s())
|
|
239
252
|
}, {
|
|
240
253
|
default: H(() => [
|
|
241
|
-
e.iconLeft || G(i).iconLeft ? (c(),
|
|
254
|
+
e.iconLeft || G(i).iconLeft ? (c(), h("span", ao, [
|
|
242
255
|
B(u.$slots, "iconLeft", {}, () => [
|
|
243
|
-
|
|
244
|
-
class:
|
|
256
|
+
p("i", {
|
|
257
|
+
class: A(e.iconLeft)
|
|
245
258
|
}, null, 2)
|
|
246
259
|
])
|
|
247
260
|
])) : C("", !0),
|
|
248
|
-
u.$slots.label || e.label ? (c(),
|
|
261
|
+
u.$slots.label || e.label ? (c(), h("div", lo, [
|
|
249
262
|
B(u.$slots, "label", {}, () => [
|
|
250
|
-
|
|
263
|
+
p("span", null, T(e.label), 1)
|
|
251
264
|
])
|
|
252
265
|
])) : C("", !0),
|
|
253
|
-
e.iconRight || G(i).iconRight ? (c(),
|
|
266
|
+
e.iconRight || G(i).iconRight ? (c(), h("span", ro, [
|
|
254
267
|
B(u.$slots, "iconRight", {}, () => [
|
|
255
|
-
|
|
256
|
-
class:
|
|
268
|
+
p("i", {
|
|
269
|
+
class: A(e.iconRight)
|
|
257
270
|
}, null, 2)
|
|
258
271
|
])
|
|
259
272
|
])) : C("", !0),
|
|
260
|
-
e.loading ? (c(),
|
|
273
|
+
e.loading ? (c(), I(Ct, {
|
|
261
274
|
key: 3,
|
|
262
275
|
class: "loading-button"
|
|
263
276
|
})) : C("", !0)
|
|
@@ -265,16 +278,16 @@ const wt = /* @__PURE__ */ yt(oo, [["render", ao], ["__scopeId", "data-v-4c97cef
|
|
|
265
278
|
_: 3
|
|
266
279
|
}, 8, ["aria-label", "class", "disabled", "href", "role", "title"]));
|
|
267
280
|
}
|
|
268
|
-
}),
|
|
281
|
+
}), uo = { class: "card" }, co = {
|
|
269
282
|
key: 0,
|
|
270
283
|
class: "card-header"
|
|
271
|
-
},
|
|
284
|
+
}, fo = { class: "card-title" }, ho = { class: "card-body" }, po = {
|
|
272
285
|
key: 1,
|
|
273
286
|
class: "card-footer"
|
|
274
|
-
},
|
|
287
|
+
}, go = {
|
|
275
288
|
name: "Card"
|
|
276
|
-
}, vo = /* @__PURE__ */
|
|
277
|
-
...
|
|
289
|
+
}, vo = /* @__PURE__ */ N({
|
|
290
|
+
...go,
|
|
278
291
|
props: {
|
|
279
292
|
title: {
|
|
280
293
|
type: String,
|
|
@@ -282,24 +295,24 @@ const wt = /* @__PURE__ */ yt(oo, [["render", ao], ["__scopeId", "data-v-4c97cef
|
|
|
282
295
|
}
|
|
283
296
|
},
|
|
284
297
|
setup(e) {
|
|
285
|
-
return (t, o) => (c(),
|
|
286
|
-
t.$slots.header || e.title ? (c(),
|
|
298
|
+
return (t, o) => (c(), h("div", uo, [
|
|
299
|
+
t.$slots.header || e.title ? (c(), h("header", co, [
|
|
287
300
|
B(t.$slots, "header", {}, () => [
|
|
288
|
-
|
|
301
|
+
p("h3", fo, T(e.title), 1)
|
|
289
302
|
])
|
|
290
303
|
])) : C("", !0),
|
|
291
|
-
|
|
304
|
+
p("div", ho, [
|
|
292
305
|
B(t.$slots, "default")
|
|
293
306
|
]),
|
|
294
|
-
t.$slots.footer ? (c(),
|
|
307
|
+
t.$slots.footer ? (c(), h("footer", po, [
|
|
295
308
|
B(t.$slots, "footer")
|
|
296
309
|
])) : C("", !0)
|
|
297
310
|
]));
|
|
298
311
|
}
|
|
299
|
-
}),
|
|
312
|
+
}), mo = { class: "label" }, bo = { class: "value" }, Co = {
|
|
300
313
|
name: "DataElement"
|
|
301
|
-
},
|
|
302
|
-
...
|
|
314
|
+
}, Ha = /* @__PURE__ */ N({
|
|
315
|
+
...Co,
|
|
303
316
|
props: {
|
|
304
317
|
caption: {
|
|
305
318
|
type: String,
|
|
@@ -321,29 +334,29 @@ const wt = /* @__PURE__ */ yt(oo, [["render", ao], ["__scopeId", "data-v-4c97cef
|
|
|
321
334
|
}
|
|
322
335
|
},
|
|
323
336
|
setup(e) {
|
|
324
|
-
return (t, o) => (c(),
|
|
325
|
-
class:
|
|
337
|
+
return (t, o) => (c(), h("div", {
|
|
338
|
+
class: A([
|
|
326
339
|
"data",
|
|
327
340
|
{ "data-stat": e.mode === "stat" },
|
|
328
341
|
`direction-${e.direction}`
|
|
329
342
|
])
|
|
330
343
|
}, [
|
|
331
|
-
|
|
344
|
+
p("div", mo, [
|
|
332
345
|
B(t.$slots, "caption", {}, () => [
|
|
333
|
-
K(
|
|
346
|
+
K(T(e.caption), 1)
|
|
334
347
|
])
|
|
335
348
|
]),
|
|
336
|
-
|
|
349
|
+
p("div", bo, [
|
|
337
350
|
B(t.$slots, "value", {}, () => [
|
|
338
|
-
K(
|
|
351
|
+
K(T(e.value), 1)
|
|
339
352
|
])
|
|
340
353
|
])
|
|
341
354
|
], 2));
|
|
342
355
|
}
|
|
343
|
-
}),
|
|
356
|
+
}), yo = ["disabled"], wo = { class: "label" }, So = {
|
|
344
357
|
name: "LoadingButton"
|
|
345
|
-
},
|
|
346
|
-
...
|
|
358
|
+
}, ko = /* @__PURE__ */ N({
|
|
359
|
+
...So,
|
|
347
360
|
props: {
|
|
348
361
|
disabled: {
|
|
349
362
|
type: Boolean,
|
|
@@ -360,38 +373,38 @@ const wt = /* @__PURE__ */ yt(oo, [["render", ao], ["__scopeId", "data-v-4c97cef
|
|
|
360
373
|
},
|
|
361
374
|
emits: ["click"],
|
|
362
375
|
setup(e) {
|
|
363
|
-
return (t, o) => (c(),
|
|
376
|
+
return (t, o) => (c(), h("button", {
|
|
364
377
|
disabled: e.disabled || e.loading,
|
|
365
|
-
class:
|
|
378
|
+
class: A(["loading-button", { loading: e.loading }]),
|
|
366
379
|
onClick: o[0] || (o[0] = (n) => t.$emit("click"))
|
|
367
380
|
}, [
|
|
368
|
-
|
|
369
|
-
|
|
381
|
+
p("div", wo, [
|
|
382
|
+
p("span", null, T(e.label), 1)
|
|
370
383
|
]),
|
|
371
|
-
e.loading ? (c(),
|
|
372
|
-
], 10,
|
|
384
|
+
e.loading ? (c(), I(Ct, { key: 0 })) : C("", !0)
|
|
385
|
+
], 10, yo));
|
|
373
386
|
}
|
|
374
|
-
}),
|
|
387
|
+
}), $o = /* @__PURE__ */ bt(ko, [["__scopeId", "data-v-3fdbc7b3"]]), Do = {
|
|
375
388
|
name: "SubPane"
|
|
376
|
-
},
|
|
377
|
-
function
|
|
378
|
-
return c(),
|
|
389
|
+
}, Eo = { class: "sub-pane" };
|
|
390
|
+
function xo(e, t, o, n, i, a) {
|
|
391
|
+
return c(), h("div", Eo);
|
|
379
392
|
}
|
|
380
|
-
const
|
|
393
|
+
const Ga = /* @__PURE__ */ bt(Do, [["render", xo], ["__scopeId", "data-v-bf8003ec"]]);
|
|
381
394
|
function Oo(e) {
|
|
382
395
|
return zn() ? (Rn(e), !0) : !1;
|
|
383
396
|
}
|
|
384
|
-
const
|
|
397
|
+
const kt = /* @__PURE__ */ new WeakMap(), To = (...e) => {
|
|
385
398
|
var t;
|
|
386
|
-
const o = e[0], n = (t =
|
|
387
|
-
if (n == null && !
|
|
399
|
+
const o = e[0], n = (t = Ht()) == null ? void 0 : t.proxy;
|
|
400
|
+
if (n == null && !mn())
|
|
388
401
|
throw new Error("injectLocal must be called in setup");
|
|
389
|
-
return n &&
|
|
402
|
+
return n && kt.has(n) && o in kt.get(n) ? kt.get(n)[o] : Zn(...e);
|
|
390
403
|
}, wn = typeof window < "u" && typeof document < "u";
|
|
391
404
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
392
|
-
const
|
|
393
|
-
},
|
|
394
|
-
function
|
|
405
|
+
const Lo = Object.prototype.toString, Mo = (e) => Lo.call(e) === "[object Object]", Ie = () => {
|
|
406
|
+
}, Bo = /* @__PURE__ */ Io();
|
|
407
|
+
function Io() {
|
|
395
408
|
var e, t;
|
|
396
409
|
return wn && ((e = window?.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window?.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window?.navigator.userAgent));
|
|
397
410
|
}
|
|
@@ -399,15 +412,15 @@ function Jt(e) {
|
|
|
399
412
|
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
400
413
|
}
|
|
401
414
|
function Ao(e) {
|
|
402
|
-
return
|
|
415
|
+
return Ht();
|
|
403
416
|
}
|
|
404
|
-
function
|
|
417
|
+
function $t(e) {
|
|
405
418
|
return Array.isArray(e) ? e : [e];
|
|
406
419
|
}
|
|
407
|
-
function
|
|
420
|
+
function _o(e, t = !0, o) {
|
|
408
421
|
Ao() ? et(e, o) : t ? e() : ze(e);
|
|
409
422
|
}
|
|
410
|
-
function
|
|
423
|
+
function Po(e, t, o) {
|
|
411
424
|
return Ve(
|
|
412
425
|
e,
|
|
413
426
|
t,
|
|
@@ -417,37 +430,37 @@ function No(e, t, o) {
|
|
|
417
430
|
}
|
|
418
431
|
);
|
|
419
432
|
}
|
|
420
|
-
const
|
|
433
|
+
const yt = wn ? window : void 0;
|
|
421
434
|
function Ge(e) {
|
|
422
435
|
var t;
|
|
423
|
-
const o =
|
|
436
|
+
const o = ye(e);
|
|
424
437
|
return (t = o?.$el) != null ? t : o;
|
|
425
438
|
}
|
|
426
439
|
function xe(...e) {
|
|
427
440
|
const t = [], o = () => {
|
|
428
441
|
t.forEach((r) => r()), t.length = 0;
|
|
429
442
|
}, n = (r, s, u, f) => (r.addEventListener(s, u, f), () => r.removeEventListener(s, u, f)), i = W(() => {
|
|
430
|
-
const r =
|
|
443
|
+
const r = $t(ye(e[0])).filter((s) => s != null);
|
|
431
444
|
return r.every((s) => typeof s != "string") ? r : void 0;
|
|
432
|
-
}), a =
|
|
445
|
+
}), a = Po(
|
|
433
446
|
() => {
|
|
434
447
|
var r, s;
|
|
435
448
|
return [
|
|
436
|
-
(s = (r = i.value) == null ? void 0 : r.map((u) => Ge(u))) != null ? s : [
|
|
437
|
-
|
|
438
|
-
|
|
449
|
+
(s = (r = i.value) == null ? void 0 : r.map((u) => Ge(u))) != null ? s : [yt].filter((u) => u != null),
|
|
450
|
+
$t(ye(i.value ? e[1] : e[0])),
|
|
451
|
+
$t(G(i.value ? e[2] : e[1])),
|
|
439
452
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
440
|
-
|
|
453
|
+
ye(i.value ? e[3] : e[2])
|
|
441
454
|
];
|
|
442
455
|
},
|
|
443
456
|
([r, s, u, f]) => {
|
|
444
457
|
if (o(), !r?.length || !s?.length || !u?.length)
|
|
445
458
|
return;
|
|
446
|
-
const d =
|
|
459
|
+
const d = Mo(f) ? { ...f } : f;
|
|
447
460
|
t.push(
|
|
448
461
|
...r.flatMap(
|
|
449
|
-
(
|
|
450
|
-
($) => u.map((S) => n(
|
|
462
|
+
(m) => s.flatMap(
|
|
463
|
+
($) => u.map((S) => n(m, $, S, d))
|
|
451
464
|
)
|
|
452
465
|
)
|
|
453
466
|
);
|
|
@@ -460,16 +473,16 @@ function xe(...e) {
|
|
|
460
473
|
}
|
|
461
474
|
let en = !1;
|
|
462
475
|
function Wt(e, t, o = {}) {
|
|
463
|
-
const { window: n =
|
|
476
|
+
const { window: n = yt, ignore: i = [], capture: a = !0, detectIframe: l = !1, controls: r = !1 } = o;
|
|
464
477
|
if (!n)
|
|
465
478
|
return r ? { stop: Ie, cancel: Ie, trigger: Ie } : Ie;
|
|
466
|
-
if (
|
|
479
|
+
if (Bo && !en) {
|
|
467
480
|
en = !0;
|
|
468
481
|
const D = { passive: !0 };
|
|
469
482
|
Array.from(n.document.body.children).forEach((E) => xe(E, "click", Ie, D)), xe(n.document.documentElement, "click", Ie, D);
|
|
470
483
|
}
|
|
471
484
|
let s = !0;
|
|
472
|
-
const u = (D) =>
|
|
485
|
+
const u = (D) => ye(i).some((E) => {
|
|
473
486
|
if (typeof E == "string")
|
|
474
487
|
return Array.from(n.document.querySelectorAll(E)).some((b) => b === D.target || D.composedPath().includes(b));
|
|
475
488
|
{
|
|
@@ -478,14 +491,14 @@ function Wt(e, t, o = {}) {
|
|
|
478
491
|
}
|
|
479
492
|
});
|
|
480
493
|
function f(D) {
|
|
481
|
-
const E =
|
|
494
|
+
const E = ye(D);
|
|
482
495
|
return E && E.$.subTree.shapeFlag === 16;
|
|
483
496
|
}
|
|
484
497
|
function d(D, E) {
|
|
485
|
-
const b =
|
|
498
|
+
const b = ye(D), y = b.$.subTree && b.$.subTree.children;
|
|
486
499
|
return y == null || !Array.isArray(y) ? !1 : y.some((g) => g.el === E.target || E.composedPath().includes(g.el));
|
|
487
500
|
}
|
|
488
|
-
const
|
|
501
|
+
const m = (D) => {
|
|
489
502
|
const E = Ge(e);
|
|
490
503
|
if (D.target != null && !(!(E instanceof Element) && f(e) && d(e, D)) && !(!E || E === D.target || D.composedPath().includes(E))) {
|
|
491
504
|
if ("detail" in D && D.detail === 0 && (s = !u(D)), !s) {
|
|
@@ -500,7 +513,7 @@ function Wt(e, t, o = {}) {
|
|
|
500
513
|
xe(n, "click", (D) => {
|
|
501
514
|
$ || ($ = !0, setTimeout(() => {
|
|
502
515
|
$ = !1;
|
|
503
|
-
}, 0),
|
|
516
|
+
}, 0), m(D));
|
|
504
517
|
}, { passive: !0, capture: a }),
|
|
505
518
|
xe(n, "pointerdown", (D) => {
|
|
506
519
|
const E = Ge(e);
|
|
@@ -520,72 +533,72 @@ function Wt(e, t, o = {}) {
|
|
|
520
533
|
s = !1;
|
|
521
534
|
},
|
|
522
535
|
trigger: (D) => {
|
|
523
|
-
s = !0,
|
|
536
|
+
s = !0, m(D), s = !1;
|
|
524
537
|
}
|
|
525
538
|
} : M;
|
|
526
539
|
}
|
|
527
|
-
function
|
|
528
|
-
const e =
|
|
540
|
+
function No() {
|
|
541
|
+
const e = Nt(!1), t = Ht();
|
|
529
542
|
return t && et(() => {
|
|
530
543
|
e.value = !0;
|
|
531
544
|
}, t), e;
|
|
532
545
|
}
|
|
533
|
-
function
|
|
534
|
-
const t =
|
|
546
|
+
function Fo(e) {
|
|
547
|
+
const t = No();
|
|
535
548
|
return W(() => (t.value, !!e()));
|
|
536
549
|
}
|
|
537
|
-
const
|
|
538
|
-
function
|
|
539
|
-
const e =
|
|
550
|
+
const Vo = Symbol("vueuse-ssr-width");
|
|
551
|
+
function jo() {
|
|
552
|
+
const e = mn() ? To(Vo, null) : null;
|
|
540
553
|
return typeof e == "number" ? e : void 0;
|
|
541
554
|
}
|
|
542
|
-
function
|
|
543
|
-
const { window: o =
|
|
555
|
+
function zo(e, t = {}) {
|
|
556
|
+
const { window: o = yt, ssrWidth: n = jo() } = t, i = Fo(() => o && "matchMedia" in o && typeof o.matchMedia == "function"), a = P(typeof n == "number"), l = Nt(), r = Nt(!1), s = (u) => {
|
|
544
557
|
r.value = u.matches;
|
|
545
558
|
};
|
|
546
559
|
return bn(() => {
|
|
547
560
|
if (a.value) {
|
|
548
561
|
a.value = !i.value;
|
|
549
|
-
const u =
|
|
562
|
+
const u = ye(e).split(",");
|
|
550
563
|
r.value = u.some((f) => {
|
|
551
|
-
const d = f.includes("not all"),
|
|
552
|
-
let S = !!(
|
|
553
|
-
return
|
|
564
|
+
const d = f.includes("not all"), m = f.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), $ = f.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
|
565
|
+
let S = !!(m || $);
|
|
566
|
+
return m && S && (S = n >= Jt(m[1])), $ && S && (S = n <= Jt($[1])), d ? !S : S;
|
|
554
567
|
});
|
|
555
568
|
return;
|
|
556
569
|
}
|
|
557
|
-
i.value && (l.value = o.matchMedia(
|
|
570
|
+
i.value && (l.value = o.matchMedia(ye(e)), r.value = l.value.matches);
|
|
558
571
|
}), xe(l, "change", s, { passive: !0 }), W(() => r.value);
|
|
559
572
|
}
|
|
560
|
-
function
|
|
573
|
+
function wt(e = {}) {
|
|
561
574
|
const {
|
|
562
|
-
window: t =
|
|
575
|
+
window: t = yt,
|
|
563
576
|
initialWidth: o = Number.POSITIVE_INFINITY,
|
|
564
577
|
initialHeight: n = Number.POSITIVE_INFINITY,
|
|
565
578
|
listenOrientation: i = !0,
|
|
566
579
|
includeScrollbar: a = !0,
|
|
567
580
|
type: l = "inner"
|
|
568
|
-
} = e, r =
|
|
581
|
+
} = e, r = P(o), s = P(n), u = () => {
|
|
569
582
|
if (t)
|
|
570
583
|
if (l === "outer")
|
|
571
584
|
r.value = t.outerWidth, s.value = t.outerHeight;
|
|
572
585
|
else if (l === "visual" && t.visualViewport) {
|
|
573
|
-
const { width: d, height:
|
|
574
|
-
r.value = Math.round(d * $), s.value = Math.round(
|
|
586
|
+
const { width: d, height: m, scale: $ } = t.visualViewport;
|
|
587
|
+
r.value = Math.round(d * $), s.value = Math.round(m * $);
|
|
575
588
|
} else a ? (r.value = t.innerWidth, s.value = t.innerHeight) : (r.value = t.document.documentElement.clientWidth, s.value = t.document.documentElement.clientHeight);
|
|
576
589
|
};
|
|
577
|
-
u(),
|
|
590
|
+
u(), _o(u);
|
|
578
591
|
const f = { passive: !0 };
|
|
579
592
|
if (xe("resize", u, f), t && l === "visual" && t.visualViewport && xe(t.visualViewport, "resize", u, f), i) {
|
|
580
|
-
const d =
|
|
593
|
+
const d = zo("(orientation: portrait)");
|
|
581
594
|
Ve(d, () => u());
|
|
582
595
|
}
|
|
583
596
|
return { width: r, height: s };
|
|
584
597
|
}
|
|
585
|
-
const
|
|
598
|
+
const Ro = { class: "dialog-header" }, Zo = { class: "title" }, Ho = { class: "dialog-content" }, Go = { class: "dialog-footer" }, qo = {
|
|
586
599
|
name: "ConfirmationModal"
|
|
587
|
-
}, tn = /* @__PURE__ */
|
|
588
|
-
...
|
|
600
|
+
}, tn = /* @__PURE__ */ N({
|
|
601
|
+
...qo,
|
|
589
602
|
props: {
|
|
590
603
|
acceptButtonOptions: {
|
|
591
604
|
default: () => ({}),
|
|
@@ -622,7 +635,7 @@ const Zo = { class: "dialog-header" }, Ho = { class: "title" }, Go = { class: "d
|
|
|
622
635
|
},
|
|
623
636
|
emits: ["on:confirm", "on:close"],
|
|
624
637
|
setup(e, { emit: t }) {
|
|
625
|
-
const o = t, n = e, i =
|
|
638
|
+
const o = t, n = e, i = P(), a = P();
|
|
626
639
|
Wt(a, (s) => {
|
|
627
640
|
n.closable && n.dismissOnClickOut && r();
|
|
628
641
|
});
|
|
@@ -633,22 +646,22 @@ const Zo = { class: "dialog-header" }, Ho = { class: "title" }, Go = { class: "d
|
|
|
633
646
|
};
|
|
634
647
|
return et(async () => {
|
|
635
648
|
await ze(), i.value?.showModal();
|
|
636
|
-
}), (s, u) => (c(),
|
|
649
|
+
}), (s, u) => (c(), h("dialog", {
|
|
637
650
|
ref_key: "dzangolabVueDialog",
|
|
638
651
|
ref: i,
|
|
639
652
|
class: "dialog"
|
|
640
653
|
}, [
|
|
641
|
-
|
|
654
|
+
p("div", {
|
|
642
655
|
ref_key: "dzangolabVueDialogContainer",
|
|
643
656
|
ref: a,
|
|
644
657
|
class: "dialog-container"
|
|
645
658
|
}, [
|
|
646
|
-
|
|
659
|
+
p("div", Ro, [
|
|
647
660
|
B(s.$slots, "header", {}, () => [
|
|
648
|
-
|
|
661
|
+
p("span", Zo, T(e.header), 1)
|
|
649
662
|
]),
|
|
650
663
|
e.closable ? B(s.$slots, "closeIcon", { key: 0 }, () => [
|
|
651
|
-
e.closable ? (c(),
|
|
664
|
+
e.closable ? (c(), I(le, {
|
|
652
665
|
key: 0,
|
|
653
666
|
"icon-left": e.closeIcon,
|
|
654
667
|
"aria-label": "close modal",
|
|
@@ -660,18 +673,18 @@ const Zo = { class: "dialog-header" }, Ho = { class: "title" }, Go = { class: "d
|
|
|
660
673
|
}, null, 8, ["icon-left"])) : C("", !0)
|
|
661
674
|
]) : C("", !0)
|
|
662
675
|
]),
|
|
663
|
-
|
|
676
|
+
p("p", Ho, [
|
|
664
677
|
B(s.$slots, "icon", {}, () => [
|
|
665
|
-
e.icon ? (c(),
|
|
678
|
+
e.icon ? (c(), h("i", {
|
|
666
679
|
key: 0,
|
|
667
|
-
class:
|
|
680
|
+
class: A(e.icon)
|
|
668
681
|
}, null, 2)) : C("", !0)
|
|
669
682
|
]),
|
|
670
683
|
B(s.$slots, "message", {}, () => [
|
|
671
|
-
K(
|
|
684
|
+
K(T(e.message), 1)
|
|
672
685
|
])
|
|
673
686
|
]),
|
|
674
|
-
|
|
687
|
+
p("div", Go, [
|
|
675
688
|
B(s.$slots, "footer", {}, () => [
|
|
676
689
|
ue(le, te(e.cancelButtonOptions, {
|
|
677
690
|
label: e.cancelButtonOptions?.label ?? "No",
|
|
@@ -688,10 +701,10 @@ const Zo = { class: "dialog-header" }, Ho = { class: "title" }, Go = { class: "d
|
|
|
688
701
|
], 512)
|
|
689
702
|
], 512));
|
|
690
703
|
}
|
|
691
|
-
}),
|
|
704
|
+
}), Wo = ["data-aria-orientation"], Yo = {
|
|
692
705
|
name: "DividerElement"
|
|
693
|
-
},
|
|
694
|
-
...
|
|
706
|
+
}, qa = /* @__PURE__ */ N({
|
|
707
|
+
...Yo,
|
|
695
708
|
props: {
|
|
696
709
|
orientation: {
|
|
697
710
|
default: "horizontal",
|
|
@@ -700,22 +713,22 @@ const Zo = { class: "dialog-header" }, Ho = { class: "title" }, Go = { class: "d
|
|
|
700
713
|
}
|
|
701
714
|
},
|
|
702
715
|
setup(e) {
|
|
703
|
-
return (t, o) => (c(),
|
|
716
|
+
return (t, o) => (c(), h("div", {
|
|
704
717
|
"data-aria-orientation": e.orientation,
|
|
705
718
|
class: "divider",
|
|
706
719
|
role: "separator"
|
|
707
|
-
}, null, 8,
|
|
720
|
+
}, null, 8, Wo));
|
|
708
721
|
}
|
|
709
722
|
}), Sn = {
|
|
710
723
|
year: "numeric",
|
|
711
724
|
month: "short",
|
|
712
725
|
day: "numeric"
|
|
713
|
-
},
|
|
726
|
+
}, Uo = {
|
|
714
727
|
...Sn,
|
|
715
728
|
hour: "numeric",
|
|
716
729
|
minute: "numeric",
|
|
717
730
|
hour12: !0
|
|
718
|
-
},
|
|
731
|
+
}, Xo = (e, t, o) => {
|
|
719
732
|
if (!e)
|
|
720
733
|
return null;
|
|
721
734
|
const n = { ...Sn, ...o }, i = new Date(e).toLocaleDateString(
|
|
@@ -723,19 +736,19 @@ const Zo = { class: "dialog-header" }, Ho = { class: "title" }, Go = { class: "d
|
|
|
723
736
|
n
|
|
724
737
|
);
|
|
725
738
|
return i === "Invalid Date" ? null : i;
|
|
726
|
-
},
|
|
739
|
+
}, Ko = (e, t, o) => {
|
|
727
740
|
if (!e)
|
|
728
741
|
return null;
|
|
729
|
-
const n = { ...
|
|
742
|
+
const n = { ...Uo, ...o }, i = new Date(e).toLocaleDateString(
|
|
730
743
|
t || "en-GB",
|
|
731
744
|
n
|
|
732
745
|
);
|
|
733
746
|
return i === "Invalid Date" ? null : i.replace(",", "");
|
|
734
|
-
},
|
|
747
|
+
}, Wa = (e) => {
|
|
735
748
|
const t = Math.floor(e / 60).toString(), o = (e % 60).toString().padStart(2, "0");
|
|
736
749
|
return `${t}:${o}`;
|
|
737
750
|
}, kn = (e) => {
|
|
738
|
-
const { width: t, height: o } =
|
|
751
|
+
const { width: t, height: o } = wt(), n = {
|
|
739
752
|
top: e.top,
|
|
740
753
|
bottom: o.value - e.bottom,
|
|
741
754
|
left: e.left,
|
|
@@ -752,15 +765,15 @@ const Zo = { class: "dialog-header" }, Ho = { class: "title" }, Go = { class: "d
|
|
|
752
765
|
(["auto", "scroll"].includes(n.overflow) || ["auto", "scroll"].includes(n.overflowX) || ["auto", "scroll"].includes(n.overflowY)) && t.push(o), o = o.parentElement;
|
|
753
766
|
}
|
|
754
767
|
return t;
|
|
755
|
-
},
|
|
756
|
-
let
|
|
757
|
-
function
|
|
758
|
-
const o =
|
|
768
|
+
}, Qo = (e) => e === "sessionStorage" ? sessionStorage : localStorage;
|
|
769
|
+
let Dt = null;
|
|
770
|
+
function Jo(e, t) {
|
|
771
|
+
const o = P();
|
|
759
772
|
return new Promise((n) => {
|
|
760
773
|
Ve(
|
|
761
774
|
() => e,
|
|
762
775
|
(i) => {
|
|
763
|
-
|
|
776
|
+
Dt && clearTimeout(Dt), Dt = setTimeout(() => {
|
|
764
777
|
o.value = i, n(o);
|
|
765
778
|
}, t);
|
|
766
779
|
},
|
|
@@ -768,10 +781,10 @@ function ei(e, t) {
|
|
|
768
781
|
);
|
|
769
782
|
});
|
|
770
783
|
}
|
|
771
|
-
const
|
|
784
|
+
const ei = ["aria-expanded", "aria-label"], ti = {
|
|
772
785
|
name: "Popup"
|
|
773
|
-
},
|
|
774
|
-
...
|
|
786
|
+
}, ni = /* @__PURE__ */ N({
|
|
787
|
+
...ti,
|
|
775
788
|
props: {
|
|
776
789
|
ariaLabel: {
|
|
777
790
|
default: "popup",
|
|
@@ -788,9 +801,9 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
788
801
|
},
|
|
789
802
|
emits: ["onClickOutside"],
|
|
790
803
|
setup(e, { expose: t, emit: o }) {
|
|
791
|
-
const n = e, i = o, a = ke(), l =
|
|
804
|
+
const n = e, i = o, a = ke(), l = P(null), r = P(null), s = P(null), u = P(!1), f = P("bottom"), d = P({ top: "0", left: "0" }), m = P([]), { width: $, height: S } = wt(), M = W(() => !!a.content);
|
|
792
805
|
Cn(() => {
|
|
793
|
-
window.removeEventListener("scroll", E), window.removeEventListener("resize", E),
|
|
806
|
+
window.removeEventListener("scroll", E), window.removeEventListener("resize", E), m.value.forEach(({ element: b, listener: y }) => {
|
|
794
807
|
b.removeEventListener("scroll", y);
|
|
795
808
|
});
|
|
796
809
|
});
|
|
@@ -798,11 +811,11 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
798
811
|
u.value = !u.value, u.value ? ze(() => {
|
|
799
812
|
E(), window.addEventListener("scroll", E), window.addEventListener("resize", E), l.value && $n(l.value).forEach((y) => {
|
|
800
813
|
const g = () => E();
|
|
801
|
-
y.addEventListener("scroll", g),
|
|
814
|
+
y.addEventListener("scroll", g), m.value.push({ element: y, listener: g });
|
|
802
815
|
});
|
|
803
|
-
}) : (window.removeEventListener("scroll", E), window.removeEventListener("resize", E),
|
|
816
|
+
}) : (window.removeEventListener("scroll", E), window.removeEventListener("resize", E), m.value.forEach(({ element: b, listener: y }) => {
|
|
804
817
|
b.removeEventListener("scroll", y);
|
|
805
|
-
}),
|
|
818
|
+
}), m.value = []);
|
|
806
819
|
}, E = () => {
|
|
807
820
|
if (!s.value || !r.value)
|
|
808
821
|
return;
|
|
@@ -823,13 +836,13 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
823
836
|
k = b.left + b.width + n.offset, g = b.top;
|
|
824
837
|
break;
|
|
825
838
|
}
|
|
826
|
-
const
|
|
827
|
-
if (u.value = oe >= 0 &&
|
|
839
|
+
const pe = S.value - (g + y.height), oe = g;
|
|
840
|
+
if (u.value = oe >= 0 && pe >= 0, w === "right" || w === "left")
|
|
828
841
|
k = Math.max(0, k);
|
|
829
842
|
else {
|
|
830
843
|
k + y.width > $.value && (k = $.value - y.width), k = Math.max(0, k);
|
|
831
|
-
const
|
|
832
|
-
g = Math.min(Math.max(g, 0),
|
|
844
|
+
const be = S.value - y.height;
|
|
845
|
+
g = Math.min(Math.max(g, 0), be);
|
|
833
846
|
}
|
|
834
847
|
d.value = {
|
|
835
848
|
top: `${g}px`,
|
|
@@ -841,12 +854,12 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
841
854
|
}), t({
|
|
842
855
|
isVisible: u,
|
|
843
856
|
togglePopup: D
|
|
844
|
-
}), (b, y) => (c(),
|
|
857
|
+
}), (b, y) => (c(), h("div", {
|
|
845
858
|
ref_key: "dzangolabVueUIPopup",
|
|
846
859
|
ref: l,
|
|
847
860
|
class: "popup-container"
|
|
848
861
|
}, [
|
|
849
|
-
|
|
862
|
+
p("div", {
|
|
850
863
|
ref_key: "dzangolabVueUIPopupTrigger",
|
|
851
864
|
ref: s,
|
|
852
865
|
"aria-expanded": !!u.value,
|
|
@@ -855,19 +868,19 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
855
868
|
onClick: D
|
|
856
869
|
}, [
|
|
857
870
|
B(b.$slots, "default")
|
|
858
|
-
], 8,
|
|
859
|
-
u.value && M.value ? (c(),
|
|
871
|
+
], 8, ei),
|
|
872
|
+
u.value && M.value ? (c(), h("div", {
|
|
860
873
|
key: 0,
|
|
861
874
|
ref_key: "dzangolabVueUIPopupContent",
|
|
862
875
|
ref: r,
|
|
863
|
-
class:
|
|
876
|
+
class: A(["popup-content", f.value]),
|
|
864
877
|
style: Ne(d.value)
|
|
865
878
|
}, [
|
|
866
879
|
B(b.$slots, "content")
|
|
867
880
|
], 6)) : C("", !0)
|
|
868
881
|
], 512));
|
|
869
882
|
}
|
|
870
|
-
}),
|
|
883
|
+
}), oi = ["aria-label"], ii = {
|
|
871
884
|
key: 1,
|
|
872
885
|
fill: "#0f0f0f",
|
|
873
886
|
height: "1.5rem",
|
|
@@ -877,10 +890,10 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
877
890
|
xmlns: "http://www.w3.org/2000/svg",
|
|
878
891
|
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
879
892
|
viewBox: "0 0 1792 1792"
|
|
880
|
-
},
|
|
893
|
+
}, ai = ["aria-label"], li = ["aria-disabled", "onClick"], ri = { class: "menu-item" }, si = {
|
|
881
894
|
name: "Dropdown"
|
|
882
|
-
},
|
|
883
|
-
...
|
|
895
|
+
}, ui = /* @__PURE__ */ N({
|
|
896
|
+
...si,
|
|
884
897
|
props: {
|
|
885
898
|
icon: {
|
|
886
899
|
default: void 0,
|
|
@@ -897,12 +910,12 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
897
910
|
},
|
|
898
911
|
emits: ["select"],
|
|
899
912
|
setup(e, { emit: t }) {
|
|
900
|
-
const o = e, n = t, i =
|
|
913
|
+
const o = e, n = t, i = P(), a = W(
|
|
901
914
|
() => o.menu.filter((r) => r.display !== !1)
|
|
902
915
|
), l = (r) => {
|
|
903
916
|
r.disabled || (n("select", r), i.value.isVisible = !1);
|
|
904
917
|
};
|
|
905
|
-
return (r, s) => (c(),
|
|
918
|
+
return (r, s) => (c(), I(ni, {
|
|
906
919
|
ref_key: "popup",
|
|
907
920
|
ref: i,
|
|
908
921
|
class: "dropdown-menu",
|
|
@@ -910,15 +923,15 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
910
923
|
tabindex: "0"
|
|
911
924
|
}, {
|
|
912
925
|
content: H(() => [
|
|
913
|
-
|
|
926
|
+
p("ul", {
|
|
914
927
|
class: "dropdown-menu",
|
|
915
928
|
"aria-label": e.label + "dropdown menu",
|
|
916
929
|
tabindex: "0"
|
|
917
930
|
}, [
|
|
918
|
-
(c(!0),
|
|
931
|
+
(c(!0), h(j, null, se(a.value, (u) => (c(), h("li", {
|
|
919
932
|
key: u.label,
|
|
920
933
|
"aria-disabled": u.disabled ? "true" : "false",
|
|
921
|
-
class:
|
|
934
|
+
class: A([[
|
|
922
935
|
{ disabled: u.disabled },
|
|
923
936
|
u.class,
|
|
924
937
|
u?.severity
|
|
@@ -926,26 +939,26 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
926
939
|
tabindex: "0",
|
|
927
940
|
onClick: (f) => l(u)
|
|
928
941
|
}, [
|
|
929
|
-
|
|
942
|
+
p("span", ri, [
|
|
930
943
|
B(r.$slots, "`icon-${menuItem.key}`", {}, () => [
|
|
931
|
-
|
|
932
|
-
class:
|
|
944
|
+
p("i", {
|
|
945
|
+
class: A(u.icon)
|
|
933
946
|
}, null, 2)
|
|
934
947
|
]),
|
|
935
|
-
K(" " +
|
|
948
|
+
K(" " + T(u.label), 1)
|
|
936
949
|
])
|
|
937
|
-
], 10,
|
|
938
|
-
], 8,
|
|
950
|
+
], 10, li))), 128))
|
|
951
|
+
], 8, ai)
|
|
939
952
|
]),
|
|
940
953
|
default: H(() => [
|
|
941
|
-
|
|
954
|
+
p("div", {
|
|
942
955
|
"aria-label": (e.label ?? "") + " dropdown",
|
|
943
|
-
class:
|
|
956
|
+
class: A([{ triggered: i.value?.isVisible }, "dropdown-menu-trigger"])
|
|
944
957
|
}, [
|
|
945
958
|
B(r.$slots, "default", {}, () => [
|
|
946
|
-
e.label ? (c(),
|
|
947
|
-
|
|
948
|
-
s[0] || (s[0] =
|
|
959
|
+
e.label ? (c(), h(j, { key: 0 }, [
|
|
960
|
+
p("span", null, T(e.label), 1),
|
|
961
|
+
s[0] || (s[0] = p("svg", {
|
|
949
962
|
class: "dropdown-icon",
|
|
950
963
|
fill: "none",
|
|
951
964
|
height: "24",
|
|
@@ -953,36 +966,36 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
953
966
|
width: "24",
|
|
954
967
|
xmlns: "http://www.w3.org/2000/svg"
|
|
955
968
|
}, [
|
|
956
|
-
|
|
957
|
-
|
|
969
|
+
p("g", { "stroke-width": "0" }),
|
|
970
|
+
p("g", {
|
|
958
971
|
"stroke-linecap": "round",
|
|
959
972
|
"stroke-linejoin": "round"
|
|
960
973
|
}),
|
|
961
|
-
|
|
962
|
-
|
|
974
|
+
p("g", null, [
|
|
975
|
+
p("path", {
|
|
963
976
|
d: "M5.70711 9.71069C5.31658 10.1012 5.31658 10.7344 5.70711 11.1249L10.5993 16.0123C11.3805 16.7927 12.6463 16.7924 13.4271 16.0117L18.3174 11.1213C18.708 10.7308 18.708 10.0976 18.3174 9.70708C17.9269 9.31655 17.2937 9.31655 16.9032 9.70708L12.7176 13.8927C12.3271 14.2833 11.6939 14.2832 11.3034 13.8927L7.12132 9.71069C6.7308 9.32016 6.09763 9.32016 5.70711 9.71069Z",
|
|
964
977
|
fill: "#0F0F0F"
|
|
965
978
|
})
|
|
966
979
|
])
|
|
967
980
|
], -1))
|
|
968
|
-
], 64)) : (c(),
|
|
969
|
-
|
|
970
|
-
|
|
981
|
+
], 64)) : (c(), h("svg", ii, s[1] || (s[1] = [
|
|
982
|
+
p("g", { "stroke-width": "0" }, null, -1),
|
|
983
|
+
p("g", {
|
|
971
984
|
"stroke-linecap": "round",
|
|
972
985
|
"stroke-linejoin": "round"
|
|
973
986
|
}, null, -1),
|
|
974
|
-
|
|
975
|
-
|
|
987
|
+
p("g", null, [
|
|
988
|
+
p("circle", {
|
|
976
989
|
cx: "321.4",
|
|
977
990
|
cy: "896.2",
|
|
978
991
|
r: "171.2"
|
|
979
992
|
}),
|
|
980
|
-
|
|
993
|
+
p("circle", {
|
|
981
994
|
cx: "898.3",
|
|
982
995
|
cy: "896.2",
|
|
983
996
|
r: "171.2"
|
|
984
997
|
}),
|
|
985
|
-
|
|
998
|
+
p("circle", {
|
|
986
999
|
cx: "1469",
|
|
987
1000
|
cy: "896.2",
|
|
988
1001
|
r: "171.2"
|
|
@@ -990,15 +1003,15 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
990
1003
|
], -1)
|
|
991
1004
|
])))
|
|
992
1005
|
])
|
|
993
|
-
], 10,
|
|
1006
|
+
], 10, oi)
|
|
994
1007
|
]),
|
|
995
1008
|
_: 3
|
|
996
1009
|
}, 512));
|
|
997
1010
|
}
|
|
998
|
-
}),
|
|
1011
|
+
}), ci = { class: "error" }, di = { class: "code" }, fi = {
|
|
999
1012
|
name: "Error"
|
|
1000
|
-
}, nn = /* @__PURE__ */
|
|
1001
|
-
...
|
|
1013
|
+
}, nn = /* @__PURE__ */ N({
|
|
1014
|
+
...fi,
|
|
1002
1015
|
props: {
|
|
1003
1016
|
error: {
|
|
1004
1017
|
required: !0,
|
|
@@ -1006,15 +1019,15 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1006
1019
|
}
|
|
1007
1020
|
},
|
|
1008
1021
|
setup(e) {
|
|
1009
|
-
return (t, o) => (c(),
|
|
1010
|
-
K(
|
|
1011
|
-
|
|
1022
|
+
return (t, o) => (c(), h("p", ci, [
|
|
1023
|
+
K(T(e.error.message) + " ", 1),
|
|
1024
|
+
p("span", di, "(" + T(e.error.code) + ")", 1)
|
|
1012
1025
|
]));
|
|
1013
1026
|
}
|
|
1014
|
-
}),
|
|
1027
|
+
}), hi = { class: "errors" }, pi = { key: 1 }, gi = {
|
|
1015
1028
|
name: "Errors"
|
|
1016
|
-
},
|
|
1017
|
-
...
|
|
1029
|
+
}, Ya = /* @__PURE__ */ N({
|
|
1030
|
+
...gi,
|
|
1018
1031
|
props: {
|
|
1019
1032
|
errors: {
|
|
1020
1033
|
required: !0,
|
|
@@ -1022,21 +1035,21 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1022
1035
|
}
|
|
1023
1036
|
},
|
|
1024
1037
|
setup(e) {
|
|
1025
|
-
return (t, o) => (c(),
|
|
1026
|
-
e.errors.length === 1 ? (c(),
|
|
1038
|
+
return (t, o) => (c(), h("div", hi, [
|
|
1039
|
+
e.errors.length === 1 ? (c(), I(nn, {
|
|
1027
1040
|
key: 0,
|
|
1028
1041
|
error: e.errors[0]
|
|
1029
|
-
}, null, 8, ["error"])) : (c(),
|
|
1030
|
-
(c(!0),
|
|
1042
|
+
}, null, 8, ["error"])) : (c(), h("ul", pi, [
|
|
1043
|
+
(c(!0), h(j, null, se(e.errors, (n, i) => (c(), h("li", { key: i }, [
|
|
1031
1044
|
ue(nn, { error: n }, null, 8, ["error"])
|
|
1032
1045
|
]))), 128))
|
|
1033
1046
|
]))
|
|
1034
1047
|
]));
|
|
1035
1048
|
}
|
|
1036
|
-
}), vi = { class: "confirmation-file-actions" },
|
|
1049
|
+
}), vi = { class: "confirmation-file-actions" }, mi = {
|
|
1037
1050
|
name: "ConfirmationFileActions"
|
|
1038
|
-
},
|
|
1039
|
-
...
|
|
1051
|
+
}, bi = /* @__PURE__ */ N({
|
|
1052
|
+
...mi,
|
|
1040
1053
|
props: {
|
|
1041
1054
|
archiveConfirmationHeader: {
|
|
1042
1055
|
default: "Archive file?",
|
|
@@ -1064,74 +1077,74 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1064
1077
|
"on:confirmDelete"
|
|
1065
1078
|
],
|
|
1066
1079
|
setup(e) {
|
|
1067
|
-
return (t, o) => (c(),
|
|
1068
|
-
e.showArchiveConfirmation ? (c(),
|
|
1080
|
+
return (t, o) => (c(), h("div", vi, [
|
|
1081
|
+
e.showArchiveConfirmation ? (c(), I(tn, {
|
|
1069
1082
|
key: 0,
|
|
1070
1083
|
"onOn:close": o[0] || (o[0] = (n) => t.$emit("on:closeArchive")),
|
|
1071
1084
|
"onOn:confirm": o[1] || (o[1] = (n) => t.$emit("on:confirmArchive"))
|
|
1072
1085
|
}, {
|
|
1073
1086
|
header: H(() => [
|
|
1074
|
-
K(
|
|
1087
|
+
K(T(e.archiveConfirmationHeader), 1)
|
|
1075
1088
|
]),
|
|
1076
1089
|
message: H(() => [
|
|
1077
|
-
K(
|
|
1090
|
+
K(T(e.archiveConfirmationMessage), 1)
|
|
1078
1091
|
]),
|
|
1079
1092
|
_: 1
|
|
1080
1093
|
})) : C("", !0),
|
|
1081
|
-
e.showDeleteConfirmation ? (c(),
|
|
1094
|
+
e.showDeleteConfirmation ? (c(), I(tn, {
|
|
1082
1095
|
key: 1,
|
|
1083
1096
|
"onOn:close": o[2] || (o[2] = (n) => t.$emit("on:closeDelete")),
|
|
1084
1097
|
"onOn:confirm": o[3] || (o[3] = (n) => t.$emit("on:confirmDelete"))
|
|
1085
1098
|
}, {
|
|
1086
1099
|
header: H(() => [
|
|
1087
|
-
K(
|
|
1100
|
+
K(T(e.deleteConfirmationHeader), 1)
|
|
1088
1101
|
]),
|
|
1089
1102
|
message: H(() => [
|
|
1090
|
-
K(
|
|
1103
|
+
K(T(e.deleteConfirmationMessage), 1)
|
|
1091
1104
|
]),
|
|
1092
1105
|
_: 1
|
|
1093
1106
|
})) : C("", !0)
|
|
1094
1107
|
]));
|
|
1095
1108
|
}
|
|
1096
|
-
}),
|
|
1109
|
+
}), Ci = { class: "file-thumbnail-details-wrapper" }, yi = {
|
|
1097
1110
|
key: 0,
|
|
1098
1111
|
class: "file-thumbnail"
|
|
1099
|
-
},
|
|
1112
|
+
}, wi = { class: "details-wrapper" }, Si = { class: "name-description-details-wrapper" }, ki = {
|
|
1100
1113
|
key: 0,
|
|
1101
1114
|
class: "name"
|
|
1102
|
-
},
|
|
1115
|
+
}, $i = {
|
|
1103
1116
|
key: 1,
|
|
1104
1117
|
class: "file-size"
|
|
1105
|
-
},
|
|
1118
|
+
}, Di = {
|
|
1106
1119
|
key: 0,
|
|
1107
1120
|
class: "description-wrapper-details"
|
|
1108
|
-
},
|
|
1121
|
+
}, Ei = {
|
|
1109
1122
|
key: 0,
|
|
1110
1123
|
class: "file-upload-download-details-wrapper"
|
|
1111
|
-
},
|
|
1124
|
+
}, xi = {
|
|
1112
1125
|
key: 0,
|
|
1113
1126
|
class: "file-upload-details"
|
|
1114
1127
|
}, Oi = {
|
|
1115
1128
|
key: 0,
|
|
1116
1129
|
class: "uploaded-by"
|
|
1117
|
-
},
|
|
1130
|
+
}, Ti = {
|
|
1118
1131
|
key: 1,
|
|
1119
1132
|
class: "uploaded-at"
|
|
1120
|
-
},
|
|
1133
|
+
}, Li = {
|
|
1121
1134
|
key: 1,
|
|
1122
1135
|
class: "file-download-details"
|
|
1123
|
-
},
|
|
1136
|
+
}, Mi = {
|
|
1124
1137
|
key: 0,
|
|
1125
1138
|
class: "download-count"
|
|
1126
|
-
},
|
|
1139
|
+
}, Bi = {
|
|
1127
1140
|
key: 1,
|
|
1128
1141
|
class: "last-downloaded-at"
|
|
1129
|
-
},
|
|
1142
|
+
}, Ii = {
|
|
1130
1143
|
key: 0,
|
|
1131
1144
|
class: "file-actions"
|
|
1132
1145
|
}, Ai = {
|
|
1133
1146
|
name: "FileCard"
|
|
1134
|
-
},
|
|
1147
|
+
}, _i = /* @__PURE__ */ N({
|
|
1135
1148
|
...Ai,
|
|
1136
1149
|
props: {
|
|
1137
1150
|
actionButtonsVisibility: {
|
|
@@ -1216,7 +1229,7 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1216
1229
|
"on:view"
|
|
1217
1230
|
],
|
|
1218
1231
|
setup(e, { emit: t }) {
|
|
1219
|
-
const o = e, n = t, i =
|
|
1232
|
+
const o = e, n = t, i = P(!1), a = P(!1), l = (f) => f.uploadedBy ? f.uploadedBy.givenName || f.uploadedBy.lastName ? `${f.uploadedBy.givenName || ""} ${f.uploadedBy.lastName || ""}` : f.uploadedBy.email : "—", r = (f) => {
|
|
1220
1233
|
switch (f) {
|
|
1221
1234
|
case "archive":
|
|
1222
1235
|
case "delete":
|
|
@@ -1231,48 +1244,48 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1231
1244
|
}, u = () => {
|
|
1232
1245
|
r("delete"), a.value = !1;
|
|
1233
1246
|
};
|
|
1234
|
-
return (f, d) => (c(),
|
|
1247
|
+
return (f, d) => (c(), I(vo, { class: "file-card" }, {
|
|
1235
1248
|
default: H(() => [
|
|
1236
|
-
|
|
1237
|
-
e.showThumbnail || f.$slots.thumbnail ? (c(),
|
|
1249
|
+
p("div", Ci, [
|
|
1250
|
+
e.showThumbnail || f.$slots.thumbnail ? (c(), h("div", yi, [
|
|
1238
1251
|
B(f.$slots, "thumbnail", {}, () => [
|
|
1239
|
-
d[8] || (d[8] =
|
|
1252
|
+
d[8] || (d[8] = p("svg", {
|
|
1240
1253
|
fill: "none",
|
|
1241
1254
|
viewBox: "0 0 24 24",
|
|
1242
1255
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1243
1256
|
}, [
|
|
1244
|
-
|
|
1257
|
+
p("path", {
|
|
1245
1258
|
d: "M18.53 9L13 3.47C12.8595 3.32931 12.6688 3.25018 12.47 3.25H8C7.27065 3.25 6.57118 3.53973 6.05546 4.05546C5.53973 4.57118 5.25 5.27065 5.25 6V18C5.25 18.7293 5.53973 19.4288 6.05546 19.9445C6.57118 20.4603 7.27065 20.75 8 20.75H16C16.7293 20.75 17.4288 20.4603 17.9445 19.9445C18.4603 19.4288 18.75 18.7293 18.75 18V9.5C18.7421 9.3116 18.6636 9.13309 18.53 9ZM13.25 5.81L16.19 8.75H13.25V5.81ZM16 19.25H8C7.66848 19.25 7.35054 19.1183 7.11612 18.8839C6.8817 18.6495 6.75 18.3315 6.75 18V6C6.75 5.66848 6.8817 5.35054 7.11612 5.11612C7.35054 4.8817 7.66848 4.75 8 4.75H11.75V9.5C11.7526 9.69811 11.8324 9.88737 11.9725 10.0275C12.1126 10.1676 12.3019 10.2474 12.5 10.25H17.25V18C17.25 18.3315 17.1183 18.6495 16.8839 18.8839C16.6495 19.1183 16.3315 19.25 16 19.25Z",
|
|
1246
1259
|
fill: "currentColor"
|
|
1247
1260
|
}),
|
|
1248
|
-
|
|
1261
|
+
p("path", {
|
|
1249
1262
|
d: "M13.49 14.85C12.8751 14.4642 12.4124 13.8778 12.18 13.19C12.3953 12.5467 12.4603 11.8625 12.37 11.19C12.3412 11.0206 12.2586 10.865 12.1344 10.7462C12.0102 10.6274 11.8511 10.5518 11.6806 10.5305C11.5101 10.5092 11.3372 10.5433 11.1876 10.6279C11.038 10.7125 10.9197 10.843 10.85 11C10.7362 11.8085 10.822 12.6325 11.1 13.4C10.7202 14.2873 10.2963 15.1551 9.83001 16C9.12001 16.4 8.15001 17 8.00001 17.69C7.88001 18.25 8.93001 19.69 10.72 16.57C11.5159 16.2746 12.3312 16.034 13.16 15.85C13.7727 16.2003 14.4561 16.4088 15.16 16.46C15.3216 16.4642 15.4809 16.4206 15.6178 16.3345C15.7546 16.2484 15.863 16.1238 15.9292 15.9764C15.9955 15.8289 16.0167 15.6651 15.9901 15.5056C15.9636 15.3462 15.8905 15.1981 15.78 15.08C15.36 14.65 14.11 14.77 13.49 14.85ZM8.71001 17.85C8.99025 17.3705 9.36034 16.9495 9.80001 16.61C9.12001 17.69 8.71001 17.88 8.71001 17.86V17.85ZM11.63 11.04C11.89 11.04 11.87 12.19 11.69 12.5C11.5544 12.0285 11.5338 11.5312 11.63 11.05V11.04ZM10.76 15.92C11.0988 15.3019 11.3929 14.6602 11.64 14C11.9049 14.493 12.2734 14.9229 12.72 15.26C12.0491 15.4281 11.3934 15.6522 10.76 15.93V15.92ZM15.46 15.74C15.46 15.74 15.28 15.96 14.13 15.46C15.38 15.38 15.59 15.67 15.46 15.75V15.74Z",
|
|
1250
1263
|
fill: "currentColor"
|
|
1251
1264
|
})
|
|
1252
1265
|
], -1))
|
|
1253
1266
|
])
|
|
1254
1267
|
])) : C("", !0),
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
e.visibilityDetail.originalFileName ? (c(),
|
|
1259
|
-
e.file.size && e.visibilityDetail.size ? (c(),
|
|
1268
|
+
p("div", wi, [
|
|
1269
|
+
p("div", Si, [
|
|
1270
|
+
p("div", null, [
|
|
1271
|
+
e.visibilityDetail.originalFileName ? (c(), h("span", ki, T(e.file.originalFileName), 1)) : C("", !0),
|
|
1272
|
+
e.file.size && e.visibilityDetail.size ? (c(), h("span", $i, " (" + T(e.file.size) + ") ", 1)) : C("", !0)
|
|
1260
1273
|
]),
|
|
1261
|
-
e.file.description && e.visibilityDetail.description ? (c(),
|
|
1262
|
-
|
|
1263
|
-
e.allowEditDescription ? (c(),
|
|
1274
|
+
e.file.description && e.visibilityDetail.description ? (c(), h("div", Di, [
|
|
1275
|
+
p("span", null, T(e.file.description), 1),
|
|
1276
|
+
e.allowEditDescription ? (c(), I(le, te({ key: 0 }, e.editDescriptionButtonProps, {
|
|
1264
1277
|
size: "small",
|
|
1265
1278
|
variant: "outlined",
|
|
1266
|
-
onClick: d[0] || (d[0] = (
|
|
1279
|
+
onClick: d[0] || (d[0] = (m) => f.$emit("click:editDescription"))
|
|
1267
1280
|
}), {
|
|
1268
1281
|
iconLeft: H(() => d[9] || (d[9] = [
|
|
1269
|
-
|
|
1282
|
+
p("svg", {
|
|
1270
1283
|
fill: "none",
|
|
1271
1284
|
width: "20",
|
|
1272
1285
|
viewBox: "0 -0.5 25 25",
|
|
1273
1286
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1274
1287
|
}, [
|
|
1275
|
-
|
|
1288
|
+
p("path", {
|
|
1276
1289
|
d: "M13.2942 7.95881C13.5533 7.63559 13.5013 7.16358 13.178 6.90453C12.8548 6.64549 12.3828 6.6975 12.1238 7.02072L13.2942 7.95881ZM6.811 14.8488L7.37903 15.3385C7.38489 15.3317 7.39062 15.3248 7.39623 15.3178L6.811 14.8488ZM6.64 15.2668L5.89146 15.2179L5.8908 15.2321L6.64 15.2668ZM6.5 18.2898L5.7508 18.2551C5.74908 18.2923 5.75013 18.3296 5.75396 18.3667L6.5 18.2898ZM7.287 18.9768L7.31152 19.7264C7.36154 19.7247 7.41126 19.7181 7.45996 19.7065L7.287 18.9768ZM10.287 18.2658L10.46 18.9956L10.4716 18.9927L10.287 18.2658ZM10.672 18.0218L11.2506 18.4991L11.2571 18.491L10.672 18.0218ZM17.2971 10.959C17.5562 10.6358 17.5043 10.1638 17.1812 9.90466C16.8581 9.64552 16.386 9.69742 16.1269 10.0206L17.2971 10.959ZM12.1269 7.02052C11.8678 7.34365 11.9196 7.81568 12.2428 8.07484C12.5659 8.33399 13.0379 8.28213 13.2971 7.95901L12.1269 7.02052ZM14.3 5.50976L14.8851 5.97901C14.8949 5.96672 14.9044 5.95412 14.9135 5.94123L14.3 5.50976ZM15.929 5.18976L16.4088 4.61332C16.3849 4.59344 16.3598 4.57507 16.3337 4.5583L15.929 5.18976ZM18.166 7.05176L18.6968 6.52192C18.6805 6.50561 18.6635 6.49007 18.6458 6.47532L18.166 7.05176ZM18.5029 7.87264L19.2529 7.87676V7.87676L18.5029 7.87264ZM18.157 8.68976L17.632 8.15412C17.6108 8.17496 17.5908 8.19704 17.5721 8.22025L18.157 8.68976ZM16.1271 10.0203C15.8678 10.3433 15.9195 10.8153 16.2425 11.0746C16.5655 11.3339 17.0376 11.2823 17.2969 10.9593L16.1271 10.0203ZM13.4537 7.37862C13.3923 6.96898 13.0105 6.68666 12.6009 6.74805C12.1912 6.80943 11.9089 7.19127 11.9703 7.60091L13.4537 7.37862ZM16.813 11.2329C17.2234 11.1772 17.5109 10.7992 17.4552 10.3888C17.3994 9.97834 17.0215 9.69082 16.611 9.74659L16.813 11.2329ZM12.1238 7.02072L6.22577 14.3797L7.39623 15.3178L13.2942 7.95881L12.1238 7.02072ZM6.24297 14.359C6.03561 14.5995 5.91226 14.9011 5.89159 15.218L7.38841 15.3156C7.38786 15.324 7.38457 15.3321 7.37903 15.3385L6.24297 14.359ZM5.8908 15.2321L5.7508 18.2551L7.2492 18.3245L7.3892 15.3015L5.8908 15.2321ZM5.75396 18.3667C5.83563 19.1586 6.51588 19.7524 7.31152 19.7264L7.26248 18.2272C7.25928 18.2273 7.25771 18.2268 7.25669 18.2264C7.25526 18.2259 7.25337 18.2249 7.25144 18.2232C7.2495 18.2215 7.24825 18.2198 7.24754 18.2185C7.24703 18.2175 7.24637 18.216 7.24604 18.2128L5.75396 18.3667ZM7.45996 19.7065L10.46 18.9955L10.114 17.536L7.11404 18.247L7.45996 19.7065ZM10.4716 18.9927C10.7771 18.9151 11.05 18.7422 11.2506 18.499L10.0934 17.5445C10.0958 17.5417 10.0989 17.5397 10.1024 17.5388L10.4716 18.9927ZM11.2571 18.491L17.2971 10.959L16.1269 10.0206L10.0869 17.5526L11.2571 18.491ZM13.2971 7.95901L14.8851 5.97901L13.7149 5.04052L12.1269 7.02052L13.2971 7.95901ZM14.9135 5.94123C15.0521 5.74411 15.3214 5.6912 15.5243 5.82123L16.3337 4.5583C15.4544 3.99484 14.2873 4.2241 13.6865 5.0783L14.9135 5.94123ZM15.4492 5.7662L17.6862 7.6282L18.6458 6.47532L16.4088 4.61332L15.4492 5.7662ZM17.6352 7.58161C17.7111 7.6577 17.7535 7.761 17.7529 7.86852L19.2529 7.87676C19.2557 7.36905 19.0555 6.88127 18.6968 6.52192L17.6352 7.58161ZM17.7529 7.86852C17.7524 7.97604 17.7088 8.07886 17.632 8.15412L18.682 9.22541C19.0446 8.87002 19.2501 8.38447 19.2529 7.87676L17.7529 7.86852ZM17.5721 8.22025L16.1271 10.0203L17.2969 10.9593L18.7419 9.15928L17.5721 8.22025ZM11.9703 7.60091C12.3196 9.93221 14.4771 11.5503 16.813 11.2329L16.611 9.74659C15.0881 9.95352 13.6815 8.89855 13.4537 7.37862L11.9703 7.60091Z",
|
|
1277
1290
|
fill: "currentColor"
|
|
1278
1291
|
})
|
|
@@ -1282,43 +1295,43 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1282
1295
|
}, 16)) : C("", !0)
|
|
1283
1296
|
])) : C("", !0)
|
|
1284
1297
|
]),
|
|
1285
|
-
e.visibilityDetail.uploadedAt || e.visibilityDetail.uploadedBy || e.visibilityDetail.lastDownloadedAt || e.visibilityDetail.downloadCount ? (c(),
|
|
1286
|
-
e.visibilityDetail.uploadedAt || e.visibilityDetail.uploadedBy ? (c(),
|
|
1287
|
-
e.visibilityDetail.uploadedBy ? (c(),
|
|
1288
|
-
|
|
1289
|
-
|
|
1298
|
+
e.visibilityDetail.uploadedAt || e.visibilityDetail.uploadedBy || e.visibilityDetail.lastDownloadedAt || e.visibilityDetail.downloadCount ? (c(), h("div", Ei, [
|
|
1299
|
+
e.visibilityDetail.uploadedAt || e.visibilityDetail.uploadedBy ? (c(), h("div", xi, [
|
|
1300
|
+
e.visibilityDetail.uploadedBy ? (c(), h("div", Oi, [
|
|
1301
|
+
p("span", null, T(e.messages?.uploadedByHeader || "Uploaded by"), 1),
|
|
1302
|
+
p("span", null, T(l(e.file)), 1)
|
|
1290
1303
|
])) : C("", !0),
|
|
1291
|
-
e.visibilityDetail.uploadedAt ? (c(),
|
|
1292
|
-
|
|
1293
|
-
|
|
1304
|
+
e.visibilityDetail.uploadedAt ? (c(), h("div", Ti, [
|
|
1305
|
+
p("span", null, T(e.messages?.uploadedAtHeader || "Uploaded at"), 1),
|
|
1306
|
+
p("span", null, T(G(Ko)(e.file.uploadedAt, e.locale)), 1)
|
|
1294
1307
|
])) : C("", !0)
|
|
1295
1308
|
])) : C("", !0),
|
|
1296
|
-
e.visibilityDetail.downloadCount || e.visibilityDetail.lastDownloadedAt ? (c(),
|
|
1297
|
-
e.visibilityDetail.downloadCount ? (c(),
|
|
1298
|
-
|
|
1299
|
-
|
|
1309
|
+
e.visibilityDetail.downloadCount || e.visibilityDetail.lastDownloadedAt ? (c(), h("div", Li, [
|
|
1310
|
+
e.visibilityDetail.downloadCount ? (c(), h("div", Mi, [
|
|
1311
|
+
p("span", null, T(e.messages?.downloadCountHeader || "Downloads:"), 1),
|
|
1312
|
+
p("span", null, T(e.file.downloadCount), 1)
|
|
1300
1313
|
])) : C("", !0),
|
|
1301
|
-
e.visibilityDetail.lastDownloadedAt ? (c(),
|
|
1302
|
-
|
|
1303
|
-
|
|
1314
|
+
e.visibilityDetail.lastDownloadedAt ? (c(), h("div", Bi, [
|
|
1315
|
+
p("span", null, T(e.messages?.lastDownloadedAtHeader || "Last download:"), 1),
|
|
1316
|
+
p("span", null, T(G(Xo)(Number(e.file.lastDownloadedAt), e.locale)), 1)
|
|
1304
1317
|
])) : C("", !0)
|
|
1305
1318
|
])) : C("", !0)
|
|
1306
1319
|
])) : C("", !0)
|
|
1307
1320
|
])
|
|
1308
1321
|
]),
|
|
1309
|
-
e.visibilityDetail.actions ? (c(),
|
|
1310
|
-
e.actionButtonsVisibility.archive ? (c(),
|
|
1322
|
+
e.visibilityDetail.actions ? (c(), h("div", Ii, [
|
|
1323
|
+
e.actionButtonsVisibility.archive ? (c(), I(le, te({ key: 0 }, e.archiveButtonProps, {
|
|
1311
1324
|
label: e.messages?.archiveAction || "Archive",
|
|
1312
1325
|
size: "small",
|
|
1313
|
-
onClick: d[1] || (d[1] = (
|
|
1326
|
+
onClick: d[1] || (d[1] = (m) => i.value = !0)
|
|
1314
1327
|
}), {
|
|
1315
1328
|
iconLeft: H(() => d[10] || (d[10] = [
|
|
1316
|
-
|
|
1329
|
+
p("svg", {
|
|
1317
1330
|
fill: "none",
|
|
1318
1331
|
viewBox: "0 0 24 24",
|
|
1319
1332
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1320
1333
|
}, [
|
|
1321
|
-
|
|
1334
|
+
p("path", {
|
|
1322
1335
|
d: "M4 19V6.2C4 5.0799 4 4.51984 4.21799 4.09202C4.40973 3.71569 4.71569 3.40973 5.09202 3.21799C5.51984 3 6.0799 3 7.2 3H16.8C17.9201 3 18.4802 3 18.908 3.21799C19.2843 3.40973 19.5903 3.71569 19.782 4.09202C20 4.51984 20 5.0799 20 6.2V17H6C4.89543 17 4 17.8954 4 19ZM4 19C4 20.1046 4.89543 21 6 21H20M9 7H15M9 11H15M19 17V21",
|
|
1323
1336
|
stroke: "currentColor",
|
|
1324
1337
|
"stroke-linecap": "round",
|
|
@@ -1329,18 +1342,18 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1329
1342
|
])),
|
|
1330
1343
|
_: 1
|
|
1331
1344
|
}, 16, ["label"])) : C("", !0),
|
|
1332
|
-
e.actionButtonsVisibility.delete ? (c(),
|
|
1345
|
+
e.actionButtonsVisibility.delete ? (c(), I(le, te({ key: 1 }, e.deleteButtonProps, {
|
|
1333
1346
|
label: e.messages?.deleteAction || "Delete",
|
|
1334
1347
|
size: "small",
|
|
1335
|
-
onClick: d[2] || (d[2] = (
|
|
1348
|
+
onClick: d[2] || (d[2] = (m) => a.value = !0)
|
|
1336
1349
|
}), {
|
|
1337
1350
|
iconLeft: H(() => d[11] || (d[11] = [
|
|
1338
|
-
|
|
1351
|
+
p("svg", {
|
|
1339
1352
|
fill: "none",
|
|
1340
1353
|
viewBox: "0 0 24 24",
|
|
1341
1354
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1342
1355
|
}, [
|
|
1343
|
-
|
|
1356
|
+
p("path", {
|
|
1344
1357
|
d: "M4 6H20M16 6L15.7294 5.18807C15.4671 4.40125 15.3359 4.00784 15.0927 3.71698C14.8779 3.46013 14.6021 3.26132 14.2905 3.13878C13.9376 3 13.523 3 12.6936 3H11.3064C10.477 3 10.0624 3 9.70951 3.13878C9.39792 3.26132 9.12208 3.46013 8.90729 3.71698C8.66405 4.00784 8.53292 4.40125 8.27064 5.18807L8 6M18 6V16.2C18 17.8802 18 18.7202 17.673 19.362C17.3854 19.9265 16.9265 20.3854 16.362 20.673C15.7202 21 14.8802 21 13.2 21H10.8C9.11984 21 8.27976 21 7.63803 20.673C7.07354 20.3854 6.6146 19.9265 6.32698 19.362C6 18.7202 6 17.8802 6 16.2V6M14 10V17M10 10V17",
|
|
1345
1358
|
stroke: "currentColor",
|
|
1346
1359
|
"stroke-linecap": "round",
|
|
@@ -1351,22 +1364,22 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1351
1364
|
])),
|
|
1352
1365
|
_: 1
|
|
1353
1366
|
}, 16, ["label"])) : C("", !0),
|
|
1354
|
-
e.actionButtonsVisibility.download ? (c(),
|
|
1367
|
+
e.actionButtonsVisibility.download ? (c(), I(le, te({ key: 2 }, e.downloadButtonProps, {
|
|
1355
1368
|
label: e.messages?.downloadAction || "Download",
|
|
1356
1369
|
size: "small",
|
|
1357
|
-
onClick: d[3] || (d[3] = (
|
|
1370
|
+
onClick: d[3] || (d[3] = (m) => r("download"))
|
|
1358
1371
|
}), {
|
|
1359
1372
|
iconLeft: H(() => d[12] || (d[12] = [
|
|
1360
|
-
|
|
1373
|
+
p("svg", {
|
|
1361
1374
|
fill: "none",
|
|
1362
1375
|
viewBox: "0 0 24 24",
|
|
1363
1376
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1364
1377
|
}, [
|
|
1365
|
-
|
|
1378
|
+
p("path", {
|
|
1366
1379
|
d: "M12.5535 16.5061C12.4114 16.6615 12.2106 16.75 12 16.75C11.7894 16.75 11.5886 16.6615 11.4465 16.5061L7.44648 12.1311C7.16698 11.8254 7.18822 11.351 7.49392 11.0715C7.79963 10.792 8.27402 10.8132 8.55352 11.1189L11.25 14.0682V3C11.25 2.58579 11.5858 2.25 12 2.25C12.4142 2.25 12.75 2.58579 12.75 3V14.0682L15.4465 11.1189C15.726 10.8132 16.2004 10.792 16.5061 11.0715C16.8118 11.351 16.833 11.8254 16.5535 12.1311L12.5535 16.5061Z",
|
|
1367
1380
|
fill: "currentColor"
|
|
1368
1381
|
}),
|
|
1369
|
-
|
|
1382
|
+
p("path", {
|
|
1370
1383
|
d: "M3.75 15C3.75 14.5858 3.41422 14.25 3 14.25C2.58579 14.25 2.25 14.5858 2.25 15V15.0549C2.24998 16.4225 2.24996 17.5248 2.36652 18.3918C2.48754 19.2919 2.74643 20.0497 3.34835 20.6516C3.95027 21.2536 4.70814 21.5125 5.60825 21.6335C6.47522 21.75 7.57754 21.75 8.94513 21.75H15.0549C16.4225 21.75 17.5248 21.75 18.3918 21.6335C19.2919 21.5125 20.0497 21.2536 20.6517 20.6516C21.2536 20.0497 21.5125 19.2919 21.6335 18.3918C21.75 17.5248 21.75 16.4225 21.75 15.0549V15C21.75 14.5858 21.4142 14.25 21 14.25C20.5858 14.25 20.25 14.5858 20.25 15C20.25 16.4354 20.2484 17.4365 20.1469 18.1919C20.0482 18.9257 19.8678 19.3142 19.591 19.591C19.3142 19.8678 18.9257 20.0482 18.1919 20.1469C17.4365 20.2484 16.4354 20.25 15 20.25H9C7.56459 20.25 6.56347 20.2484 5.80812 20.1469C5.07435 20.0482 4.68577 19.8678 4.40901 19.591C4.13225 19.3142 3.9518 18.9257 3.85315 18.1919C3.75159 17.4365 3.75 16.4354 3.75 15Z",
|
|
1371
1384
|
fill: "currentColor"
|
|
1372
1385
|
})
|
|
@@ -1374,18 +1387,18 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1374
1387
|
])),
|
|
1375
1388
|
_: 1
|
|
1376
1389
|
}, 16, ["label"])) : C("", !0),
|
|
1377
|
-
e.actionButtonsVisibility.share ? (c(),
|
|
1390
|
+
e.actionButtonsVisibility.share ? (c(), I(le, te({ key: 3 }, e.shareButtonProps, {
|
|
1378
1391
|
label: e.messages?.shareAction || "Share",
|
|
1379
1392
|
size: "small",
|
|
1380
|
-
onClick: d[4] || (d[4] = (
|
|
1393
|
+
onClick: d[4] || (d[4] = (m) => r("share"))
|
|
1381
1394
|
}), {
|
|
1382
1395
|
iconLeft: H(() => d[13] || (d[13] = [
|
|
1383
|
-
|
|
1396
|
+
p("svg", {
|
|
1384
1397
|
fill: "none",
|
|
1385
1398
|
viewBox: "0 0 24 24",
|
|
1386
1399
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1387
1400
|
}, [
|
|
1388
|
-
|
|
1401
|
+
p("path", {
|
|
1389
1402
|
"clip-rule": "evenodd",
|
|
1390
1403
|
d: "M16.5 2.25C14.7051 2.25 13.25 3.70507 13.25 5.5C13.25 5.69591 13.2673 5.88776 13.3006 6.07412L8.56991 9.38558C8.54587 9.4024 8.52312 9.42038 8.50168 9.43939C7.94993 9.00747 7.25503 8.75 6.5 8.75C4.70507 8.75 3.25 10.2051 3.25 12C3.25 13.7949 4.70507 15.25 6.5 15.25C7.25503 15.25 7.94993 14.9925 8.50168 14.5606C8.52312 14.5796 8.54587 14.5976 8.56991 14.6144L13.3006 17.9259C13.2673 18.1122 13.25 18.3041 13.25 18.5C13.25 20.2949 14.7051 21.75 16.5 21.75C18.2949 21.75 19.75 20.2949 19.75 18.5C19.75 16.7051 18.2949 15.25 16.5 15.25C15.4472 15.25 14.5113 15.7506 13.9174 16.5267L9.43806 13.3911C9.63809 12.9694 9.75 12.4978 9.75 12C9.75 11.5022 9.63809 11.0306 9.43806 10.6089L13.9174 7.4733C14.5113 8.24942 15.4472 8.75 16.5 8.75C18.2949 8.75 19.75 7.29493 19.75 5.5C19.75 3.70507 18.2949 2.25 16.5 2.25ZM14.75 5.5C14.75 4.5335 15.5335 3.75 16.5 3.75C17.4665 3.75 18.25 4.5335 18.25 5.5C18.25 6.4665 17.4665 7.25 16.5 7.25C15.5335 7.25 14.75 6.4665 14.75 5.5ZM6.5 10.25C5.5335 10.25 4.75 11.0335 4.75 12C4.75 12.9665 5.5335 13.75 6.5 13.75C7.4665 13.75 8.25 12.9665 8.25 12C8.25 11.0335 7.4665 10.25 6.5 10.25ZM16.5 16.75C15.5335 16.75 14.75 17.5335 14.75 18.5C14.75 19.4665 15.5335 20.25 16.5 20.25C17.4665 20.25 18.25 19.4665 18.25 18.5C18.25 17.5335 17.4665 16.75 16.5 16.75Z",
|
|
1391
1404
|
fill: "currentColor",
|
|
@@ -1395,25 +1408,25 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1395
1408
|
])),
|
|
1396
1409
|
_: 1
|
|
1397
1410
|
}, 16, ["label"])) : C("", !0),
|
|
1398
|
-
e.actionButtonsVisibility.view ? (c(),
|
|
1411
|
+
e.actionButtonsVisibility.view ? (c(), I(le, te({ key: 4 }, e.viewButtonProps, {
|
|
1399
1412
|
label: e.messages?.viewAction || "View",
|
|
1400
1413
|
size: "small",
|
|
1401
|
-
onClick: d[5] || (d[5] = (
|
|
1414
|
+
onClick: d[5] || (d[5] = (m) => r("view"))
|
|
1402
1415
|
}), {
|
|
1403
1416
|
iconLeft: H(() => d[14] || (d[14] = [
|
|
1404
|
-
|
|
1417
|
+
p("svg", {
|
|
1405
1418
|
viewBox: "0 0 24 24",
|
|
1406
1419
|
fill: "none",
|
|
1407
1420
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1408
1421
|
}, [
|
|
1409
|
-
|
|
1422
|
+
p("path", {
|
|
1410
1423
|
d: "M15.0007 12C15.0007 13.6569 13.6576 15 12.0007 15C10.3439 15 9.00073 13.6569 9.00073 12C9.00073 10.3431 10.3439 9 12.0007 9C13.6576 9 15.0007 10.3431 15.0007 12Z",
|
|
1411
1424
|
stroke: "currentColor",
|
|
1412
1425
|
"stroke-linecap": "round",
|
|
1413
1426
|
"stroke-linejoin": "round",
|
|
1414
1427
|
"stroke-width": "2"
|
|
1415
1428
|
}),
|
|
1416
|
-
|
|
1429
|
+
p("path", {
|
|
1417
1430
|
d: "M12.0012 5C7.52354 5 3.73326 7.94288 2.45898 12C3.73324 16.0571 7.52354 19 12.0012 19C16.4788 19 20.2691 16.0571 21.5434 12C20.2691 7.94291 16.4788 5 12.0012 5Z",
|
|
1418
1431
|
stroke: "currentColor",
|
|
1419
1432
|
"stroke-linecap": "round",
|
|
@@ -1424,15 +1437,15 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1424
1437
|
])),
|
|
1425
1438
|
_: 1
|
|
1426
1439
|
}, 16, ["label"])) : C("", !0),
|
|
1427
|
-
ue(
|
|
1440
|
+
ue(bi, {
|
|
1428
1441
|
"archive-confirmation-header": e.messages?.archiveConfirmationHeader,
|
|
1429
1442
|
"archive-confirmation-message": e.messages?.archiveConfirmationMessage,
|
|
1430
1443
|
"delete-confirmation-header": e.messages?.deleteConfirmationHeader,
|
|
1431
1444
|
"delete-confirmation-message": e.messages?.deleteConfirmationMessage,
|
|
1432
1445
|
"show-archive-confirmation": i.value,
|
|
1433
1446
|
"show-delete-confirmation": a.value,
|
|
1434
|
-
"onOn:closeArchive": d[6] || (d[6] = (
|
|
1435
|
-
"onOn:closeDelete": d[7] || (d[7] = (
|
|
1447
|
+
"onOn:closeArchive": d[6] || (d[6] = (m) => i.value = !1),
|
|
1448
|
+
"onOn:closeDelete": d[7] || (d[7] = (m) => a.value = !1),
|
|
1436
1449
|
"onOn:confirmArchive": s,
|
|
1437
1450
|
"onOn:confirmDelete": u
|
|
1438
1451
|
}, null, 8, ["archive-confirmation-header", "archive-confirmation-message", "delete-confirmation-header", "delete-confirmation-message", "show-archive-confirmation", "show-delete-confirmation"])
|
|
@@ -1441,10 +1454,10 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1441
1454
|
_: 3
|
|
1442
1455
|
}));
|
|
1443
1456
|
}
|
|
1444
|
-
}),
|
|
1457
|
+
}), Pi = { class: "file-list-wrapper" }, Ni = {
|
|
1445
1458
|
name: "FilesList"
|
|
1446
|
-
},
|
|
1447
|
-
...
|
|
1459
|
+
}, Ua = /* @__PURE__ */ N({
|
|
1460
|
+
...Ni,
|
|
1448
1461
|
props: {
|
|
1449
1462
|
actionButtonsVisibility: {
|
|
1450
1463
|
default: () => ({
|
|
@@ -1538,8 +1551,8 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1538
1551
|
break;
|
|
1539
1552
|
}
|
|
1540
1553
|
};
|
|
1541
|
-
return (i, a) => (c(),
|
|
1542
|
-
(c(!0),
|
|
1554
|
+
return (i, a) => (c(), h("div", Pi, [
|
|
1555
|
+
(c(!0), h(j, null, se(e.files, (l) => (c(), I(_i, {
|
|
1543
1556
|
key: l.originalFileName,
|
|
1544
1557
|
"action-buttons-visibility": e.actionButtonsVisibility,
|
|
1545
1558
|
"allow-edit-description": e.actionButtonsVisibility?.edit,
|
|
@@ -1571,10 +1584,10 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1571
1584
|
]), 1032, ["action-buttons-visibility", "allow-edit-description", "archive-button-props", "delete-button-props", "download-button-props", "edit-description-button-props", "file", "locale", "messages", "share-button-props", "show-thumbnail", "view-button-props", "visibility-detail", "onClick:editDescription", "onOn:archive", "onOn:delete", "onOn:download", "onOn:share", "onOn:view"]))), 128))
|
|
1572
1585
|
]));
|
|
1573
1586
|
}
|
|
1574
|
-
}),
|
|
1587
|
+
}), Fi = { class: "field debounce-input" }, Vi = ["aria-label", "disabled", "placeholder", "type", "value"], ji = {
|
|
1575
1588
|
name: "DebouncedInput"
|
|
1576
|
-
},
|
|
1577
|
-
...
|
|
1589
|
+
}, Xa = /* @__PURE__ */ N({
|
|
1590
|
+
...ji,
|
|
1578
1591
|
props: {
|
|
1579
1592
|
ariaLabel: {
|
|
1580
1593
|
default: "input",
|
|
@@ -1609,12 +1622,12 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1609
1622
|
setup(e, { emit: t }) {
|
|
1610
1623
|
const o = e, n = t, i = (a) => {
|
|
1611
1624
|
const l = a.target.value;
|
|
1612
|
-
|
|
1625
|
+
Jo(l, o.debounceTime).then(() => {
|
|
1613
1626
|
n("update:modelValue", l);
|
|
1614
1627
|
});
|
|
1615
1628
|
};
|
|
1616
|
-
return (a, l) => (c(),
|
|
1617
|
-
|
|
1629
|
+
return (a, l) => (c(), h("div", Fi, [
|
|
1630
|
+
p("input", {
|
|
1618
1631
|
"aria-label": e.ariaLabel ?? e.placeholder,
|
|
1619
1632
|
disabled: e.disabled,
|
|
1620
1633
|
placeholder: e.placeholder,
|
|
@@ -1622,24 +1635,24 @@ const ti = ["aria-expanded", "aria-label"], ni = {
|
|
|
1622
1635
|
value: e.modelValue,
|
|
1623
1636
|
class: "input-field",
|
|
1624
1637
|
onInput: i
|
|
1625
|
-
}, null, 40,
|
|
1638
|
+
}, null, 40, Vi)
|
|
1626
1639
|
]));
|
|
1627
1640
|
}
|
|
1628
|
-
}),
|
|
1641
|
+
}), zi = {
|
|
1629
1642
|
name: "GridContainer"
|
|
1630
|
-
},
|
|
1631
|
-
function
|
|
1632
|
-
return c(),
|
|
1643
|
+
}, Ri = { class: "grid-container" };
|
|
1644
|
+
function Zi(e, t, o, n, i, a) {
|
|
1645
|
+
return c(), h("div", Ri, [
|
|
1633
1646
|
B(e.$slots, "default")
|
|
1634
1647
|
]);
|
|
1635
1648
|
}
|
|
1636
|
-
const
|
|
1649
|
+
const Ka = /* @__PURE__ */ bt(zi, [["render", Zi]]), Hi = {
|
|
1637
1650
|
key: 0,
|
|
1638
1651
|
class: "loading-page"
|
|
1639
|
-
},
|
|
1652
|
+
}, Gi = {
|
|
1640
1653
|
name: "LoadingPage"
|
|
1641
|
-
},
|
|
1642
|
-
...
|
|
1654
|
+
}, qi = /* @__PURE__ */ N({
|
|
1655
|
+
...Gi,
|
|
1643
1656
|
props: {
|
|
1644
1657
|
loading: {
|
|
1645
1658
|
default: !1,
|
|
@@ -1647,14 +1660,14 @@ const Qa = /* @__PURE__ */ yt(Ri, [["render", Hi]]), Gi = {
|
|
|
1647
1660
|
}
|
|
1648
1661
|
},
|
|
1649
1662
|
setup(e) {
|
|
1650
|
-
return (t, o) => e.loading ? (c(),
|
|
1651
|
-
ue(
|
|
1663
|
+
return (t, o) => e.loading ? (c(), h("div", Hi, [
|
|
1664
|
+
ue(Ct, { class: "loading-icon" })
|
|
1652
1665
|
])) : C("", !0);
|
|
1653
1666
|
}
|
|
1654
|
-
}),
|
|
1667
|
+
}), Wi = { class: "message-content" }, Yi = { key: 1 }, Ui = {
|
|
1655
1668
|
name: "Message"
|
|
1656
|
-
},
|
|
1657
|
-
...
|
|
1669
|
+
}, Qa = /* @__PURE__ */ N({
|
|
1670
|
+
...Ui,
|
|
1658
1671
|
props: {
|
|
1659
1672
|
enableClose: {
|
|
1660
1673
|
default: !0,
|
|
@@ -1680,55 +1693,55 @@ const Qa = /* @__PURE__ */ yt(Ri, [["render", Hi]]), Gi = {
|
|
|
1680
1693
|
},
|
|
1681
1694
|
emits: ["close"],
|
|
1682
1695
|
setup(e, { emit: t }) {
|
|
1683
|
-
const o = t, n = ke(), i =
|
|
1696
|
+
const o = t, n = ke(), i = P(!0), a = () => {
|
|
1684
1697
|
i.value = !1, o("close");
|
|
1685
1698
|
};
|
|
1686
|
-
return (l, r) =>
|
|
1687
|
-
class:
|
|
1699
|
+
return (l, r) => Gt((c(), h("div", {
|
|
1700
|
+
class: A(["message", e.severity])
|
|
1688
1701
|
}, [
|
|
1689
|
-
e.icon || G(n).icon || e.showIcon ? (c(),
|
|
1702
|
+
e.icon || G(n).icon || e.showIcon ? (c(), h("span", {
|
|
1690
1703
|
key: 0,
|
|
1691
|
-
class:
|
|
1704
|
+
class: A(["icon", { default: !e.icon && !G(n).icon && e.showIcon }])
|
|
1692
1705
|
}, [
|
|
1693
1706
|
(e.icon || G(n).icon) && e.showIcon ? B(l.$slots, "icon", { key: 0 }, () => [
|
|
1694
|
-
|
|
1695
|
-
class:
|
|
1707
|
+
p("i", {
|
|
1708
|
+
class: A(e.icon)
|
|
1696
1709
|
}, null, 2)
|
|
1697
1710
|
]) : C("", !0)
|
|
1698
1711
|
], 2)) : C("", !0),
|
|
1699
|
-
|
|
1712
|
+
p("div", Wi, [
|
|
1700
1713
|
B(l.$slots, "default", {}, () => [
|
|
1701
|
-
Array.isArray(e.message) ? e.message.length ? (c(),
|
|
1702
|
-
(c(!0),
|
|
1714
|
+
Array.isArray(e.message) ? e.message.length ? (c(), h("ul", Yi, [
|
|
1715
|
+
(c(!0), h(j, null, se(e.message, (s, u) => (c(), h("li", {
|
|
1703
1716
|
key: `message-${u}`
|
|
1704
|
-
},
|
|
1705
|
-
])) : C("", !0) : (c(),
|
|
1706
|
-
K(
|
|
1717
|
+
}, T(s), 1))), 128))
|
|
1718
|
+
])) : C("", !0) : (c(), h(j, { key: 0 }, [
|
|
1719
|
+
K(T(e.message), 1)
|
|
1707
1720
|
], 64))
|
|
1708
1721
|
])
|
|
1709
1722
|
]),
|
|
1710
|
-
e.enableClose ? (c(),
|
|
1723
|
+
e.enableClose ? (c(), h("span", {
|
|
1711
1724
|
key: 1,
|
|
1712
1725
|
class: "close-message",
|
|
1713
1726
|
onClick: r[0] || (r[0] = (s) => a())
|
|
1714
1727
|
})) : C("", !0)
|
|
1715
1728
|
], 2)), [
|
|
1716
|
-
[
|
|
1729
|
+
[qt, i.value]
|
|
1717
1730
|
]);
|
|
1718
1731
|
}
|
|
1719
|
-
}),
|
|
1732
|
+
}), Xi = { class: "modal overlay" }, Ki = { class: "header" }, Qi = {
|
|
1720
1733
|
key: 0,
|
|
1721
1734
|
role: "heading"
|
|
1722
|
-
},
|
|
1735
|
+
}, Ji = {
|
|
1723
1736
|
key: 0,
|
|
1724
1737
|
class: "content"
|
|
1725
|
-
},
|
|
1738
|
+
}, e2 = {
|
|
1726
1739
|
key: 1,
|
|
1727
1740
|
class: "footer"
|
|
1728
|
-
},
|
|
1741
|
+
}, t2 = {
|
|
1729
1742
|
name: "Modal"
|
|
1730
|
-
},
|
|
1731
|
-
...
|
|
1743
|
+
}, Ja = /* @__PURE__ */ N({
|
|
1744
|
+
...t2,
|
|
1732
1745
|
props: {
|
|
1733
1746
|
dismissOnClickOut: {
|
|
1734
1747
|
default: !1,
|
|
@@ -1750,24 +1763,24 @@ const Qa = /* @__PURE__ */ yt(Ri, [["render", Hi]]), Gi = {
|
|
|
1750
1763
|
},
|
|
1751
1764
|
emits: ["on:close"],
|
|
1752
1765
|
setup(e, { emit: t }) {
|
|
1753
|
-
const o =
|
|
1766
|
+
const o = P(), n = t, i = e, a = ke();
|
|
1754
1767
|
Wt(o, (r) => {
|
|
1755
1768
|
i.dismissOnClickOut && l();
|
|
1756
1769
|
});
|
|
1757
1770
|
const l = () => {
|
|
1758
1771
|
n("on:close");
|
|
1759
1772
|
};
|
|
1760
|
-
return (r, s) =>
|
|
1761
|
-
|
|
1773
|
+
return (r, s) => Gt((c(), h("div", Xi, [
|
|
1774
|
+
p("div", {
|
|
1762
1775
|
ref_key: "dzangolabVueModal",
|
|
1763
1776
|
ref: o,
|
|
1764
|
-
class:
|
|
1777
|
+
class: A(["dialog", e.size, { active: e.show }])
|
|
1765
1778
|
}, [
|
|
1766
|
-
|
|
1779
|
+
p("div", Ki, [
|
|
1767
1780
|
B(r.$slots, "header", {}, () => [
|
|
1768
|
-
e.title ? (c(),
|
|
1781
|
+
e.title ? (c(), h("span", Qi, T(e.title), 1)) : C("", !0)
|
|
1769
1782
|
]),
|
|
1770
|
-
(c(),
|
|
1783
|
+
(c(), h("svg", {
|
|
1771
1784
|
"aria-label": "close modal",
|
|
1772
1785
|
height: "1.5rem",
|
|
1773
1786
|
tabindex: "0",
|
|
@@ -1776,34 +1789,34 @@ const Qa = /* @__PURE__ */ yt(Ri, [["render", Hi]]), Gi = {
|
|
|
1776
1789
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1777
1790
|
onClick: s[0] || (s[0] = (u) => l())
|
|
1778
1791
|
}, s[1] || (s[1] = [
|
|
1779
|
-
|
|
1792
|
+
p("path", {
|
|
1780
1793
|
fill: "currentColor",
|
|
1781
1794
|
d: "M5.28 4.22a.75.75 0 0 0-1.06 1.06L6.94 8l-2.72 2.72a.75.75 0 1 0 1.06 1.06L8 9.06l2.72 2.72a.75.75 0 1 0 1.06-1.06L9.06 8l2.72-2.72a.75.75 0 0 0-1.06-1.06L8 6.94z"
|
|
1782
1795
|
}, null, -1)
|
|
1783
1796
|
])))
|
|
1784
1797
|
]),
|
|
1785
|
-
G(a).default ? (c(),
|
|
1798
|
+
G(a).default ? (c(), h("div", Ji, [
|
|
1786
1799
|
B(r.$slots, "default")
|
|
1787
1800
|
])) : C("", !0),
|
|
1788
|
-
G(a).footer ? (c(),
|
|
1801
|
+
G(a).footer ? (c(), h("div", e2, [
|
|
1789
1802
|
B(r.$slots, "footer")
|
|
1790
1803
|
])) : C("", !0)
|
|
1791
1804
|
], 2)
|
|
1792
1805
|
], 512)), [
|
|
1793
|
-
[
|
|
1806
|
+
[qt, e.show]
|
|
1794
1807
|
]);
|
|
1795
1808
|
}
|
|
1796
|
-
}),
|
|
1809
|
+
}), n2 = ["data-centered"], o2 = { class: "page-header" }, i2 = { class: "page-title-wrapper" }, a2 = { class: "title" }, l2 = {
|
|
1797
1810
|
key: 0,
|
|
1798
1811
|
class: "title-tag"
|
|
1799
|
-
},
|
|
1812
|
+
}, r2 = { key: 0 }, s2 = { class: "page-toolbar" }, u2 = { class: "page-content" }, c2 = {
|
|
1800
1813
|
name: "Page"
|
|
1801
|
-
},
|
|
1802
|
-
...
|
|
1814
|
+
}, d2 = /* @__PURE__ */ N({
|
|
1815
|
+
...c2,
|
|
1803
1816
|
props: {
|
|
1804
1817
|
centered: Boolean,
|
|
1805
1818
|
loading: Boolean,
|
|
1806
|
-
|
|
1819
|
+
subtitle: {
|
|
1807
1820
|
default: void 0,
|
|
1808
1821
|
required: !1,
|
|
1809
1822
|
type: String
|
|
@@ -1829,63 +1842,63 @@ const Qa = /* @__PURE__ */ yt(Ri, [["render", Hi]]), Gi = {
|
|
|
1829
1842
|
},
|
|
1830
1843
|
emits: ["action:click"],
|
|
1831
1844
|
setup(e, { emit: t }) {
|
|
1832
|
-
const { width: o } =
|
|
1845
|
+
const { width: o } = wt(), n = e, i = t, a = W(() => o.value > 576), l = W(
|
|
1833
1846
|
() => n.toolbarActionsMenu.filter((s) => s.display !== !1)
|
|
1834
1847
|
), r = (s) => {
|
|
1835
1848
|
i("action:click", s);
|
|
1836
1849
|
};
|
|
1837
|
-
return (s, u) => (c(),
|
|
1850
|
+
return (s, u) => (c(), h("div", {
|
|
1838
1851
|
class: "page",
|
|
1839
1852
|
"data-centered": e.centered
|
|
1840
1853
|
}, [
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
e.title ? (c(),
|
|
1854
|
+
p("div", o2, [
|
|
1855
|
+
p("div", i2, [
|
|
1856
|
+
p("div", a2, [
|
|
1857
|
+
e.title ? (c(), I(de(e.titleElement), { key: 0 }, {
|
|
1845
1858
|
default: H(() => [
|
|
1846
|
-
K(
|
|
1859
|
+
K(T(e.title), 1)
|
|
1847
1860
|
]),
|
|
1848
1861
|
_: 1
|
|
1849
1862
|
})) : C("", !0),
|
|
1850
1863
|
B(s.$slots, "titleTag", {}, () => [
|
|
1851
|
-
e.titleTag ? (c(),
|
|
1852
|
-
ue(
|
|
1864
|
+
e.titleTag ? (c(), h("span", l2, [
|
|
1865
|
+
ue(to, { label: e.titleTag }, null, 8, ["label"])
|
|
1853
1866
|
])) : C("", !0)
|
|
1854
1867
|
])
|
|
1855
1868
|
]),
|
|
1856
1869
|
B(s.$slots, "subtitle", {}, () => [
|
|
1857
|
-
e.
|
|
1870
|
+
e.subtitle ? (c(), h("small", r2, T(e.subtitle), 1)) : C("", !0)
|
|
1858
1871
|
])
|
|
1859
1872
|
]),
|
|
1860
|
-
|
|
1873
|
+
p("div", s2, [
|
|
1861
1874
|
B(s.$slots, "toolbar", {}, () => [
|
|
1862
|
-
l.value?.length && !a.value ? (c(),
|
|
1863
|
-
l.value?.length > 1 ? (c(),
|
|
1875
|
+
l.value?.length && !a.value ? (c(), h(j, { key: 0 }, [
|
|
1876
|
+
l.value?.length > 1 ? (c(), I(ui, {
|
|
1864
1877
|
key: 0,
|
|
1865
1878
|
menu: l.value,
|
|
1866
1879
|
onSelect: u[0] || (u[0] = (f) => r(f))
|
|
1867
|
-
}, null, 8, ["menu"])) : (c(),
|
|
1880
|
+
}, null, 8, ["menu"])) : (c(), I(le, te({ key: 1 }, l.value[0], {
|
|
1868
1881
|
"icon-left": String(l.value[0]?.icon ?? l.value[0]?.iconLeft),
|
|
1869
1882
|
onClick: u[1] || (u[1] = (f) => r(l.value[0]))
|
|
1870
1883
|
}), null, 16, ["icon-left"]))
|
|
1871
|
-
], 64)) : l.value?.length ? (c(!0),
|
|
1884
|
+
], 64)) : l.value?.length ? (c(!0), h(j, { key: 1 }, se(l.value, (f, d) => (c(), I(le, te({ ref_for: !0 }, f, {
|
|
1872
1885
|
key: `${f?.label}-${d}`,
|
|
1873
1886
|
"icon-left": String(f?.icon ?? f?.iconLeft),
|
|
1874
|
-
onClick: (
|
|
1887
|
+
onClick: (m) => r(f)
|
|
1875
1888
|
}), null, 16, ["icon-left", "onClick"]))), 128)) : C("", !0)
|
|
1876
1889
|
])
|
|
1877
1890
|
])
|
|
1878
1891
|
]),
|
|
1879
|
-
|
|
1892
|
+
p("div", u2, [
|
|
1880
1893
|
B(s.$slots, "default"),
|
|
1881
|
-
ue(
|
|
1894
|
+
ue(qi, { loading: e.loading }, null, 8, ["loading"])
|
|
1882
1895
|
])
|
|
1883
|
-
], 8,
|
|
1896
|
+
], 8, n2));
|
|
1884
1897
|
}
|
|
1885
|
-
}),
|
|
1898
|
+
}), f2 = { class: "menu" }, h2 = ["onClick"], p2 = {
|
|
1886
1899
|
name: "ResponsiveMenu"
|
|
1887
|
-
},
|
|
1888
|
-
...
|
|
1900
|
+
}, e0 = /* @__PURE__ */ N({
|
|
1901
|
+
...p2,
|
|
1889
1902
|
props: {
|
|
1890
1903
|
routes: {
|
|
1891
1904
|
required: !0,
|
|
@@ -1901,22 +1914,22 @@ const Qa = /* @__PURE__ */ yt(Ri, [["render", Hi]]), Gi = {
|
|
|
1901
1914
|
setup(e) {
|
|
1902
1915
|
return (t, o) => {
|
|
1903
1916
|
const n = yn("router-link");
|
|
1904
|
-
return c(),
|
|
1905
|
-
|
|
1906
|
-
(c(!0),
|
|
1917
|
+
return c(), h("nav", f2, [
|
|
1918
|
+
p("ul", null, [
|
|
1919
|
+
(c(!0), h(j, null, se(e.routes, (i, a) => (c(), h("li", {
|
|
1907
1920
|
key: a,
|
|
1908
|
-
class:
|
|
1921
|
+
class: A({ active: e.activeRoute === i.route }),
|
|
1909
1922
|
onClick: (l) => t.$emit("change-route", i.route)
|
|
1910
1923
|
}, [
|
|
1911
1924
|
ue(n, {
|
|
1912
1925
|
to: { name: i.route }
|
|
1913
1926
|
}, {
|
|
1914
1927
|
default: H(() => [
|
|
1915
|
-
K(
|
|
1928
|
+
K(T(i.name), 1)
|
|
1916
1929
|
]),
|
|
1917
1930
|
_: 2
|
|
1918
1931
|
}, 1032, ["to"])
|
|
1919
|
-
], 10,
|
|
1932
|
+
], 10, h2))), 128))
|
|
1920
1933
|
])
|
|
1921
1934
|
]);
|
|
1922
1935
|
};
|
|
@@ -1947,7 +1960,7 @@ function me(e) {
|
|
|
1947
1960
|
for (var t = 1; t < arguments.length; t++) {
|
|
1948
1961
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
1949
1962
|
t % 2 ? on(Object(o), !0).forEach(function(n) {
|
|
1950
|
-
|
|
1963
|
+
g2(e, n, o[n]);
|
|
1951
1964
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : on(Object(o)).forEach(function(n) {
|
|
1952
1965
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
1953
1966
|
});
|
|
@@ -1962,7 +1975,7 @@ function st(e) {
|
|
|
1962
1975
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
1963
1976
|
}, st(e);
|
|
1964
1977
|
}
|
|
1965
|
-
function
|
|
1978
|
+
function g2(e, t, o) {
|
|
1966
1979
|
return t in e ? Object.defineProperty(e, t, {
|
|
1967
1980
|
value: o,
|
|
1968
1981
|
enumerable: !0,
|
|
@@ -1987,7 +2000,7 @@ function v2(e, t) {
|
|
|
1987
2000
|
i = n[a], !(t.indexOf(i) >= 0) && (o[i] = e[i]);
|
|
1988
2001
|
return o;
|
|
1989
2002
|
}
|
|
1990
|
-
function
|
|
2003
|
+
function m2(e, t) {
|
|
1991
2004
|
if (e == null) return {};
|
|
1992
2005
|
var o = v2(e, t), n, i;
|
|
1993
2006
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -1997,19 +2010,19 @@ function b2(e, t) {
|
|
|
1997
2010
|
}
|
|
1998
2011
|
return o;
|
|
1999
2012
|
}
|
|
2000
|
-
var
|
|
2001
|
-
function
|
|
2013
|
+
var b2 = "1.14.0";
|
|
2014
|
+
function we(e) {
|
|
2002
2015
|
if (typeof window < "u" && window.navigator)
|
|
2003
2016
|
return !!/* @__PURE__ */ navigator.userAgent.match(e);
|
|
2004
2017
|
}
|
|
2005
|
-
var $e =
|
|
2018
|
+
var $e = we(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), tt = we(/Edge/i), an = we(/firefox/i), Ue = we(/safari/i) && !we(/chrome/i) && !we(/android/i), Dn = we(/iP(ad|od|hone)/i), C2 = we(/chrome/i) && we(/android/i), En = {
|
|
2006
2019
|
capture: !1,
|
|
2007
2020
|
passive: !1
|
|
2008
2021
|
};
|
|
2009
|
-
function
|
|
2022
|
+
function F(e, t, o) {
|
|
2010
2023
|
e.addEventListener(t, o, !$e && En);
|
|
2011
2024
|
}
|
|
2012
|
-
function
|
|
2025
|
+
function _(e, t, o) {
|
|
2013
2026
|
e.removeEventListener(t, o, !$e && En);
|
|
2014
2027
|
}
|
|
2015
2028
|
function ht(e, t) {
|
|
@@ -2028,17 +2041,17 @@ function ht(e, t) {
|
|
|
2028
2041
|
return !1;
|
|
2029
2042
|
}
|
|
2030
2043
|
}
|
|
2031
|
-
function
|
|
2044
|
+
function y2(e) {
|
|
2032
2045
|
return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
|
|
2033
2046
|
}
|
|
2034
|
-
function
|
|
2047
|
+
function ge(e, t, o, n) {
|
|
2035
2048
|
if (e) {
|
|
2036
2049
|
o = o || document;
|
|
2037
2050
|
do {
|
|
2038
2051
|
if (t != null && (t[0] === ">" ? e.parentNode === o && ht(e, t) : ht(e, t)) || n && e === o)
|
|
2039
2052
|
return e;
|
|
2040
2053
|
if (e === o) break;
|
|
2041
|
-
} while (e =
|
|
2054
|
+
} while (e = y2(e));
|
|
2042
2055
|
}
|
|
2043
2056
|
return null;
|
|
2044
2057
|
}
|
|
@@ -2082,18 +2095,18 @@ function xn(e, t, o) {
|
|
|
2082
2095
|
}
|
|
2083
2096
|
return [];
|
|
2084
2097
|
}
|
|
2085
|
-
function
|
|
2098
|
+
function ve() {
|
|
2086
2099
|
var e = document.scrollingElement;
|
|
2087
2100
|
return e || document.documentElement;
|
|
2088
2101
|
}
|
|
2089
2102
|
function Y(e, t, o, n, i) {
|
|
2090
2103
|
if (!(!e.getBoundingClientRect && e !== window)) {
|
|
2091
2104
|
var a, l, r, s, u, f, d;
|
|
2092
|
-
if (e !== window && e.parentNode && e !==
|
|
2105
|
+
if (e !== window && e.parentNode && e !== ve() ? (a = e.getBoundingClientRect(), l = a.top, r = a.left, s = a.bottom, u = a.right, f = a.height, d = a.width) : (l = 0, r = 0, s = window.innerHeight, u = window.innerWidth, f = window.innerHeight, d = window.innerWidth), (t || o) && e !== window && (i = i || e.parentNode, !$e))
|
|
2093
2106
|
do
|
|
2094
2107
|
if (i && i.getBoundingClientRect && (x(i, "transform") !== "none" || o && x(i, "position") !== "static")) {
|
|
2095
|
-
var
|
|
2096
|
-
l -=
|
|
2108
|
+
var m = i.getBoundingClientRect();
|
|
2109
|
+
l -= m.top + parseInt(x(i, "border-top-width")), r -= m.left + parseInt(x(i, "border-left-width")), s = l + a.height, u = r + a.width;
|
|
2097
2110
|
break;
|
|
2098
2111
|
}
|
|
2099
2112
|
while (i = i.parentNode);
|
|
@@ -2112,17 +2125,17 @@ function Y(e, t, o, n, i) {
|
|
|
2112
2125
|
}
|
|
2113
2126
|
}
|
|
2114
2127
|
function rn(e, t, o) {
|
|
2115
|
-
for (var n =
|
|
2128
|
+
for (var n = Te(e, !0), i = Y(e)[t]; n; ) {
|
|
2116
2129
|
var a = Y(n)[o], l = void 0;
|
|
2117
2130
|
if (l = i >= a, !l) return n;
|
|
2118
|
-
if (n ===
|
|
2119
|
-
n =
|
|
2131
|
+
if (n === ve()) break;
|
|
2132
|
+
n = Te(n, !1);
|
|
2120
2133
|
}
|
|
2121
2134
|
return !1;
|
|
2122
2135
|
}
|
|
2123
2136
|
function Re(e, t, o, n) {
|
|
2124
2137
|
for (var i = 0, a = 0, l = e.children; a < l.length; ) {
|
|
2125
|
-
if (l[a].style.display !== "none" && l[a] !==
|
|
2138
|
+
if (l[a].style.display !== "none" && l[a] !== O.ghost && (n || l[a] !== O.dragged) && ge(l[a], o.draggable, e, !1)) {
|
|
2126
2139
|
if (i === t)
|
|
2127
2140
|
return l[a];
|
|
2128
2141
|
i++;
|
|
@@ -2132,7 +2145,7 @@ function Re(e, t, o, n) {
|
|
|
2132
2145
|
return null;
|
|
2133
2146
|
}
|
|
2134
2147
|
function Yt(e, t) {
|
|
2135
|
-
for (var o = e.lastElementChild; o && (o ===
|
|
2148
|
+
for (var o = e.lastElementChild; o && (o === O.ghost || x(o, "display") === "none" || t && !ht(o, t)); )
|
|
2136
2149
|
o = o.previousElementSibling;
|
|
2137
2150
|
return o || null;
|
|
2138
2151
|
}
|
|
@@ -2141,11 +2154,11 @@ function ce(e, t) {
|
|
|
2141
2154
|
if (!e || !e.parentNode)
|
|
2142
2155
|
return -1;
|
|
2143
2156
|
for (; e = e.previousElementSibling; )
|
|
2144
|
-
e.nodeName.toUpperCase() !== "TEMPLATE" && e !==
|
|
2157
|
+
e.nodeName.toUpperCase() !== "TEMPLATE" && e !== O.clone && (!t || ht(e, t)) && o++;
|
|
2145
2158
|
return o;
|
|
2146
2159
|
}
|
|
2147
2160
|
function sn(e) {
|
|
2148
|
-
var t = 0, o = 0, n =
|
|
2161
|
+
var t = 0, o = 0, n = ve();
|
|
2149
2162
|
if (e)
|
|
2150
2163
|
do {
|
|
2151
2164
|
var i = je(e), a = i.a, l = i.d;
|
|
@@ -2153,7 +2166,7 @@ function sn(e) {
|
|
|
2153
2166
|
} while (e !== n && (e = e.parentNode));
|
|
2154
2167
|
return [t, o];
|
|
2155
2168
|
}
|
|
2156
|
-
function
|
|
2169
|
+
function w2(e, t) {
|
|
2157
2170
|
for (var o in e)
|
|
2158
2171
|
if (e.hasOwnProperty(o)) {
|
|
2159
2172
|
for (var n in t)
|
|
@@ -2161,32 +2174,32 @@ function S2(e, t) {
|
|
|
2161
2174
|
}
|
|
2162
2175
|
return -1;
|
|
2163
2176
|
}
|
|
2164
|
-
function
|
|
2165
|
-
if (!e || !e.getBoundingClientRect) return
|
|
2177
|
+
function Te(e, t) {
|
|
2178
|
+
if (!e || !e.getBoundingClientRect) return ve();
|
|
2166
2179
|
var o = e, n = !1;
|
|
2167
2180
|
do
|
|
2168
2181
|
if (o.clientWidth < o.scrollWidth || o.clientHeight < o.scrollHeight) {
|
|
2169
2182
|
var i = x(o);
|
|
2170
2183
|
if (o.clientWidth < o.scrollWidth && (i.overflowX == "auto" || i.overflowX == "scroll") || o.clientHeight < o.scrollHeight && (i.overflowY == "auto" || i.overflowY == "scroll")) {
|
|
2171
|
-
if (!o.getBoundingClientRect || o === document.body) return
|
|
2184
|
+
if (!o.getBoundingClientRect || o === document.body) return ve();
|
|
2172
2185
|
if (n || t) return o;
|
|
2173
2186
|
n = !0;
|
|
2174
2187
|
}
|
|
2175
2188
|
}
|
|
2176
2189
|
while (o = o.parentNode);
|
|
2177
|
-
return
|
|
2190
|
+
return ve();
|
|
2178
2191
|
}
|
|
2179
|
-
function
|
|
2192
|
+
function S2(e, t) {
|
|
2180
2193
|
if (e && t)
|
|
2181
2194
|
for (var o in t)
|
|
2182
2195
|
t.hasOwnProperty(o) && (e[o] = t[o]);
|
|
2183
2196
|
return e;
|
|
2184
2197
|
}
|
|
2185
|
-
function
|
|
2198
|
+
function Et(e, t) {
|
|
2186
2199
|
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);
|
|
2187
2200
|
}
|
|
2188
2201
|
var Xe;
|
|
2189
|
-
function
|
|
2202
|
+
function On(e, t) {
|
|
2190
2203
|
return function() {
|
|
2191
2204
|
if (!Xe) {
|
|
2192
2205
|
var o = arguments, n = this;
|
|
@@ -2196,10 +2209,10 @@ function Tn(e, t) {
|
|
|
2196
2209
|
}
|
|
2197
2210
|
};
|
|
2198
2211
|
}
|
|
2199
|
-
function
|
|
2212
|
+
function k2() {
|
|
2200
2213
|
clearTimeout(Xe), Xe = void 0;
|
|
2201
2214
|
}
|
|
2202
|
-
function
|
|
2215
|
+
function Tn(e, t, o) {
|
|
2203
2216
|
e.scrollLeft += t, e.scrollTop += o;
|
|
2204
2217
|
}
|
|
2205
2218
|
function Ln(e) {
|
|
@@ -2207,14 +2220,14 @@ function Ln(e) {
|
|
|
2207
2220
|
return t && t.dom ? t.dom(e).cloneNode(!0) : o ? o(e).clone(!0)[0] : e.cloneNode(!0);
|
|
2208
2221
|
}
|
|
2209
2222
|
var re = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
|
|
2210
|
-
function
|
|
2223
|
+
function $2() {
|
|
2211
2224
|
var e = [], t;
|
|
2212
2225
|
return {
|
|
2213
2226
|
captureAnimationState: function() {
|
|
2214
2227
|
if (e = [], !!this.options.animation) {
|
|
2215
2228
|
var n = [].slice.call(this.el.children);
|
|
2216
2229
|
n.forEach(function(i) {
|
|
2217
|
-
if (!(x(i, "display") === "none" || i ===
|
|
2230
|
+
if (!(x(i, "display") === "none" || i === O.ghost)) {
|
|
2218
2231
|
e.push({
|
|
2219
2232
|
target: i,
|
|
2220
2233
|
rect: Y(i)
|
|
@@ -2233,7 +2246,7 @@ function D2() {
|
|
|
2233
2246
|
e.push(n);
|
|
2234
2247
|
},
|
|
2235
2248
|
removeAnimationState: function(n) {
|
|
2236
|
-
e.splice(
|
|
2249
|
+
e.splice(w2(e, {
|
|
2237
2250
|
target: n
|
|
2238
2251
|
}), 1);
|
|
2239
2252
|
},
|
|
@@ -2245,9 +2258,9 @@ function D2() {
|
|
|
2245
2258
|
}
|
|
2246
2259
|
var a = !1, l = 0;
|
|
2247
2260
|
e.forEach(function(r) {
|
|
2248
|
-
var s = 0, u = r.target, f = u.fromRect, d = Y(u),
|
|
2249
|
-
M && (d.top -= M.f, d.left -= M.e), u.toRect = d, u.thisAnimationDuration &&
|
|
2250
|
-
(S.top - d.top) / (S.left - d.left) === (f.top - d.top) / (f.left - d.left) && (s =
|
|
2261
|
+
var s = 0, u = r.target, f = u.fromRect, d = Y(u), m = u.prevFromRect, $ = u.prevToRect, S = r.rect, M = je(u, !0);
|
|
2262
|
+
M && (d.top -= M.f, d.left -= M.e), u.toRect = d, u.thisAnimationDuration && Et(m, d) && !Et(f, d) && // Make sure animatingRect is on line between toRect & fromRect
|
|
2263
|
+
(S.top - d.top) / (S.left - d.left) === (f.top - d.top) / (f.left - d.left) && (s = E2(S, m, $, i.options)), Et(d, f) || (u.prevFromRect = f, u.prevToRect = d, s || (s = i.options.animation), i.animate(u, S, d, s)), s && (a = !0, l = Math.max(l, s), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
|
|
2251
2264
|
u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
|
|
2252
2265
|
}, s), u.thisAnimationDuration = s);
|
|
2253
2266
|
}), clearTimeout(t), a ? t = setTimeout(function() {
|
|
@@ -2258,29 +2271,29 @@ function D2() {
|
|
|
2258
2271
|
if (l) {
|
|
2259
2272
|
x(n, "transition", ""), x(n, "transform", "");
|
|
2260
2273
|
var r = je(this.el), s = r && r.a, u = r && r.d, f = (i.left - a.left) / (s || 1), d = (i.top - a.top) / (u || 1);
|
|
2261
|
-
n.animatingX = !!f, n.animatingY = !!d, x(n, "transform", "translate3d(" + f + "px," + d + "px,0)"), this.forRepaintDummy =
|
|
2274
|
+
n.animatingX = !!f, n.animatingY = !!d, x(n, "transform", "translate3d(" + f + "px," + d + "px,0)"), this.forRepaintDummy = D2(n), x(n, "transition", "transform " + l + "ms" + (this.options.easing ? " " + this.options.easing : "")), x(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
|
|
2262
2275
|
x(n, "transition", ""), x(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
|
|
2263
2276
|
}, l);
|
|
2264
2277
|
}
|
|
2265
2278
|
}
|
|
2266
2279
|
};
|
|
2267
2280
|
}
|
|
2268
|
-
function
|
|
2281
|
+
function D2(e) {
|
|
2269
2282
|
return e.offsetWidth;
|
|
2270
2283
|
}
|
|
2271
|
-
function
|
|
2284
|
+
function E2(e, t, o, n) {
|
|
2272
2285
|
return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - o.top, 2) + Math.pow(t.left - o.left, 2)) * n.animation;
|
|
2273
2286
|
}
|
|
2274
|
-
var
|
|
2287
|
+
var Ae = [], xt = {
|
|
2275
2288
|
initializeByDefault: !0
|
|
2276
2289
|
}, nt = {
|
|
2277
2290
|
mount: function(t) {
|
|
2278
|
-
for (var o in
|
|
2279
|
-
|
|
2280
|
-
|
|
2291
|
+
for (var o in xt)
|
|
2292
|
+
xt.hasOwnProperty(o) && !(o in t) && (t[o] = xt[o]);
|
|
2293
|
+
Ae.forEach(function(n) {
|
|
2281
2294
|
if (n.pluginName === t.pluginName)
|
|
2282
2295
|
throw "Sortable: Cannot mount plugin ".concat(t.pluginName, " more than once");
|
|
2283
|
-
}),
|
|
2296
|
+
}), Ae.push(t);
|
|
2284
2297
|
},
|
|
2285
2298
|
pluginEvent: function(t, o, n) {
|
|
2286
2299
|
var i = this;
|
|
@@ -2288,7 +2301,7 @@ var _e = [], Ot = {
|
|
|
2288
2301
|
i.eventCanceled = !0;
|
|
2289
2302
|
};
|
|
2290
2303
|
var a = t + "Global";
|
|
2291
|
-
|
|
2304
|
+
Ae.forEach(function(l) {
|
|
2292
2305
|
o[l.pluginName] && (o[l.pluginName][a] && o[l.pluginName][a](me({
|
|
2293
2306
|
sortable: o
|
|
2294
2307
|
}, n)), o.options[l.pluginName] && o[l.pluginName][t] && o[l.pluginName][t](me({
|
|
@@ -2297,7 +2310,7 @@ var _e = [], Ot = {
|
|
|
2297
2310
|
});
|
|
2298
2311
|
},
|
|
2299
2312
|
initializePlugins: function(t, o, n, i) {
|
|
2300
|
-
|
|
2313
|
+
Ae.forEach(function(r) {
|
|
2301
2314
|
var s = r.pluginName;
|
|
2302
2315
|
if (!(!t.options[s] && !r.initializeByDefault)) {
|
|
2303
2316
|
var u = new r(t, o, t.options);
|
|
@@ -2312,25 +2325,25 @@ var _e = [], Ot = {
|
|
|
2312
2325
|
},
|
|
2313
2326
|
getEventProperties: function(t, o) {
|
|
2314
2327
|
var n = {};
|
|
2315
|
-
return
|
|
2328
|
+
return Ae.forEach(function(i) {
|
|
2316
2329
|
typeof i.eventProperties == "function" && Se(n, i.eventProperties.call(o[i.pluginName], t));
|
|
2317
2330
|
}), n;
|
|
2318
2331
|
},
|
|
2319
2332
|
modifyOption: function(t, o, n) {
|
|
2320
2333
|
var i;
|
|
2321
|
-
return
|
|
2334
|
+
return Ae.forEach(function(a) {
|
|
2322
2335
|
t[a.pluginName] && a.optionListeners && typeof a.optionListeners[o] == "function" && (i = a.optionListeners[o].call(t[a.pluginName], n));
|
|
2323
2336
|
}), i;
|
|
2324
2337
|
}
|
|
2325
2338
|
};
|
|
2326
|
-
function
|
|
2327
|
-
var t = e.sortable, o = e.rootEl, n = e.name, i = e.targetEl, a = e.cloneEl, l = e.toEl, r = e.fromEl, s = e.oldIndex, u = e.newIndex, f = e.oldDraggableIndex, d = e.newDraggableIndex,
|
|
2339
|
+
function x2(e) {
|
|
2340
|
+
var t = e.sortable, o = e.rootEl, n = e.name, i = e.targetEl, a = e.cloneEl, l = e.toEl, r = e.fromEl, s = e.oldIndex, u = e.newIndex, f = e.oldDraggableIndex, d = e.newDraggableIndex, m = e.originalEvent, $ = e.putSortable, S = e.extraEventProperties;
|
|
2328
2341
|
if (t = t || o && o[re], !!t) {
|
|
2329
2342
|
var M, D = t.options, E = "on" + n.charAt(0).toUpperCase() + n.substr(1);
|
|
2330
2343
|
window.CustomEvent && !$e && !tt ? M = new CustomEvent(n, {
|
|
2331
2344
|
bubbles: !0,
|
|
2332
2345
|
cancelable: !0
|
|
2333
|
-
}) : (M = document.createEvent("Event"), M.initEvent(n, !0, !0)), M.to = l || o, M.from = r || o, M.item = i || o, M.clone = a, M.oldIndex = s, M.newIndex = u, M.oldDraggableIndex = f, M.newDraggableIndex = d, M.originalEvent =
|
|
2346
|
+
}) : (M = document.createEvent("Event"), M.initEvent(n, !0, !0)), M.to = l || o, M.from = r || o, M.item = i || o, M.clone = a, M.oldIndex = s, M.newIndex = u, M.oldDraggableIndex = f, M.newDraggableIndex = d, M.originalEvent = m, M.pullMode = $ ? $.lastPutMode : void 0;
|
|
2334
2347
|
var b = me(me({}, S), nt.getEventProperties(n, t));
|
|
2335
2348
|
for (var y in b)
|
|
2336
2349
|
M[y] = b[y];
|
|
@@ -2338,31 +2351,31 @@ function T2(e) {
|
|
|
2338
2351
|
}
|
|
2339
2352
|
}
|
|
2340
2353
|
var O2 = ["evt"], ne = function(t, o) {
|
|
2341
|
-
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = n.evt, a =
|
|
2342
|
-
nt.pluginEvent.bind(
|
|
2343
|
-
dragEl:
|
|
2354
|
+
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i = n.evt, a = m2(n, O2);
|
|
2355
|
+
nt.pluginEvent.bind(O)(t, o, me({
|
|
2356
|
+
dragEl: v,
|
|
2344
2357
|
parentEl: R,
|
|
2345
2358
|
ghostEl: L,
|
|
2346
2359
|
rootEl: z,
|
|
2347
2360
|
nextEl: Be,
|
|
2348
2361
|
lastDownEl: ut,
|
|
2349
2362
|
cloneEl: Z,
|
|
2350
|
-
cloneHidden:
|
|
2363
|
+
cloneHidden: Oe,
|
|
2351
2364
|
dragStarted: qe,
|
|
2352
2365
|
putSortable: X,
|
|
2353
|
-
activeSortable:
|
|
2366
|
+
activeSortable: O.active,
|
|
2354
2367
|
originalEvent: i,
|
|
2355
2368
|
oldIndex: Fe,
|
|
2356
2369
|
oldDraggableIndex: Ke,
|
|
2357
2370
|
newIndex: ae,
|
|
2358
2371
|
newDraggableIndex: Ee,
|
|
2359
|
-
hideGhostForTarget:
|
|
2360
|
-
unhideGhostForTarget:
|
|
2372
|
+
hideGhostForTarget: An,
|
|
2373
|
+
unhideGhostForTarget: _n,
|
|
2361
2374
|
cloneNowHidden: function() {
|
|
2362
|
-
|
|
2375
|
+
Oe = !0;
|
|
2363
2376
|
},
|
|
2364
2377
|
cloneNowShown: function() {
|
|
2365
|
-
|
|
2378
|
+
Oe = !1;
|
|
2366
2379
|
},
|
|
2367
2380
|
dispatchSortableEvent: function(r) {
|
|
2368
2381
|
ee({
|
|
@@ -2374,10 +2387,10 @@ var O2 = ["evt"], ne = function(t, o) {
|
|
|
2374
2387
|
}, a));
|
|
2375
2388
|
};
|
|
2376
2389
|
function ee(e) {
|
|
2377
|
-
|
|
2390
|
+
x2(me({
|
|
2378
2391
|
putSortable: X,
|
|
2379
2392
|
cloneEl: Z,
|
|
2380
|
-
targetEl:
|
|
2393
|
+
targetEl: v,
|
|
2381
2394
|
rootEl: z,
|
|
2382
2395
|
oldIndex: Fe,
|
|
2383
2396
|
oldDraggableIndex: Ke,
|
|
@@ -2385,8 +2398,8 @@ function ee(e) {
|
|
|
2385
2398
|
newDraggableIndex: Ee
|
|
2386
2399
|
}, e));
|
|
2387
2400
|
}
|
|
2388
|
-
var
|
|
2389
|
-
if (
|
|
2401
|
+
var v, R, L, z, Be, ut, Z, Oe, Fe, ae, Ke, Ee, it, X, Pe = !1, pt = !1, gt = [], Le, he, Ot, Tt, un, cn, qe, _e, Qe, Je = !1, at = !1, ct, Q, Lt = [], Ft = !1, vt = [], St = typeof document < "u", lt = Dn, dn = tt || $e ? "cssFloat" : "float", T2 = St && !C2 && !Dn && "draggable" in document.createElement("div"), Mn = function() {
|
|
2402
|
+
if (St) {
|
|
2390
2403
|
if ($e)
|
|
2391
2404
|
return !1;
|
|
2392
2405
|
var e = document.createElement("x");
|
|
@@ -2403,10 +2416,10 @@ var m, R, L, z, Be, ut, Z, Te, Fe, ae, Ke, Ee, it, X, Pe = !1, pt = !1, gt = [],
|
|
|
2403
2416
|
return l && (s.clear === "both" || s.clear === d) ? "vertical" : "horizontal";
|
|
2404
2417
|
}
|
|
2405
2418
|
return a && (r.display === "block" || r.display === "flex" || r.display === "table" || r.display === "grid" || u >= i && n[dn] === "none" || l && n[dn] === "none" && u + f > i) ? "vertical" : "horizontal";
|
|
2406
|
-
},
|
|
2419
|
+
}, L2 = function(t, o, n) {
|
|
2407
2420
|
var i = n ? t.left : t.top, a = n ? t.right : t.bottom, l = n ? t.width : t.height, r = n ? o.left : o.top, s = n ? o.right : o.bottom, u = n ? o.width : o.height;
|
|
2408
2421
|
return i === r || a === s || i + l / 2 === r + u / 2;
|
|
2409
|
-
},
|
|
2422
|
+
}, M2 = function(t, o) {
|
|
2410
2423
|
var n;
|
|
2411
2424
|
return gt.some(function(i) {
|
|
2412
2425
|
var a = i[re].options.emptyInsertThreshold;
|
|
@@ -2428,27 +2441,27 @@ var m, R, L, z, Be, ut, Z, Te, Fe, ae, Ke, Ee, it, X, Pe = !1, pt = !1, gt = [],
|
|
|
2428
2441
|
return a;
|
|
2429
2442
|
if (typeof a == "function")
|
|
2430
2443
|
return o(a(r, s, u, f), l)(r, s, u, f);
|
|
2431
|
-
var
|
|
2432
|
-
return a === !0 || typeof a == "string" && a ===
|
|
2444
|
+
var m = (l ? r : s).options.group.name;
|
|
2445
|
+
return a === !0 || typeof a == "string" && a === m || a.join && a.indexOf(m) > -1;
|
|
2433
2446
|
};
|
|
2434
2447
|
}
|
|
2435
2448
|
var n = {}, i = t.group;
|
|
2436
2449
|
(!i || st(i) != "object") && (i = {
|
|
2437
2450
|
name: i
|
|
2438
2451
|
}), n.name = i.name, n.checkPull = o(i.pull, !0), n.checkPut = o(i.put), n.revertClone = i.revertClone, t.group = n;
|
|
2439
|
-
}, _n = function() {
|
|
2440
|
-
!Mn && L && x(L, "display", "none");
|
|
2441
2452
|
}, An = function() {
|
|
2453
|
+
!Mn && L && x(L, "display", "none");
|
|
2454
|
+
}, _n = function() {
|
|
2442
2455
|
!Mn && L && x(L, "display", "");
|
|
2443
2456
|
};
|
|
2444
|
-
|
|
2457
|
+
St && document.addEventListener("click", function(e) {
|
|
2445
2458
|
if (pt)
|
|
2446
2459
|
return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), pt = !1, !1;
|
|
2447
2460
|
}, !0);
|
|
2448
2461
|
var Me = function(t) {
|
|
2449
|
-
if (
|
|
2462
|
+
if (v) {
|
|
2450
2463
|
t = t.touches ? t.touches[0] : t;
|
|
2451
|
-
var o =
|
|
2464
|
+
var o = M2(t.clientX, t.clientY);
|
|
2452
2465
|
if (o) {
|
|
2453
2466
|
var n = {};
|
|
2454
2467
|
for (var i in t)
|
|
@@ -2456,10 +2469,10 @@ var Me = function(t) {
|
|
|
2456
2469
|
n.target = n.rootEl = o, n.preventDefault = void 0, n.stopPropagation = void 0, o[re]._onDragOver(n);
|
|
2457
2470
|
}
|
|
2458
2471
|
}
|
|
2459
|
-
},
|
|
2460
|
-
|
|
2472
|
+
}, B2 = function(t) {
|
|
2473
|
+
v && v.parentNode[re]._isOutsideThisEl(t.target);
|
|
2461
2474
|
};
|
|
2462
|
-
function
|
|
2475
|
+
function O(e, t) {
|
|
2463
2476
|
if (!(e && e.nodeType && e.nodeType === 1))
|
|
2464
2477
|
throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
|
|
2465
2478
|
this.el = e, this.options = t = Se({}, t), e[re] = this;
|
|
@@ -2505,7 +2518,7 @@ function T(e, t) {
|
|
|
2505
2518
|
x: 0,
|
|
2506
2519
|
y: 0
|
|
2507
2520
|
},
|
|
2508
|
-
supportPointer:
|
|
2521
|
+
supportPointer: O.supportPointer !== !1 && "PointerEvent" in window && !Ue,
|
|
2509
2522
|
emptyInsertThreshold: 5
|
|
2510
2523
|
};
|
|
2511
2524
|
nt.initializePlugins(this, e, o);
|
|
@@ -2514,21 +2527,21 @@ function T(e, t) {
|
|
|
2514
2527
|
In(t);
|
|
2515
2528
|
for (var i in this)
|
|
2516
2529
|
i.charAt(0) === "_" && typeof this[i] == "function" && (this[i] = this[i].bind(this));
|
|
2517
|
-
this.nativeDraggable = t.forceFallback ? !1 :
|
|
2530
|
+
this.nativeDraggable = t.forceFallback ? !1 : T2, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? F(e, "pointerdown", this._onTapStart) : (F(e, "mousedown", this._onTapStart), F(e, "touchstart", this._onTapStart)), this.nativeDraggable && (F(e, "dragover", this), F(e, "dragenter", this)), gt.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), Se(this, $2());
|
|
2518
2531
|
}
|
|
2519
|
-
|
|
2532
|
+
O.prototype = /** @lends Sortable.prototype */
|
|
2520
2533
|
{
|
|
2521
|
-
constructor:
|
|
2534
|
+
constructor: O,
|
|
2522
2535
|
_isOutsideThisEl: function(t) {
|
|
2523
|
-
!this.el.contains(t) && t !== this.el && (
|
|
2536
|
+
!this.el.contains(t) && t !== this.el && (_e = null);
|
|
2524
2537
|
},
|
|
2525
2538
|
_getDirection: function(t, o) {
|
|
2526
|
-
return typeof this.options.direction == "function" ? this.options.direction.call(this, t, o,
|
|
2539
|
+
return typeof this.options.direction == "function" ? this.options.direction.call(this, t, o, v) : this.options.direction;
|
|
2527
2540
|
},
|
|
2528
2541
|
_onTapStart: function(t) {
|
|
2529
2542
|
if (t.cancelable) {
|
|
2530
2543
|
var o = this, n = 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;
|
|
2531
|
-
if (
|
|
2544
|
+
if (j2(n), !v && !(/mousedown|pointerdown/.test(l) && t.button !== 0 || i.disabled) && !u.isContentEditable && !(!this.nativeDraggable && Ue && s && s.tagName.toUpperCase() === "SELECT") && (s = ge(s, i.draggable, n, !1), !(s && s.animated) && ut !== s)) {
|
|
2532
2545
|
if (Fe = ce(s), Ke = ce(s, i.draggable), typeof f == "function") {
|
|
2533
2546
|
if (f.call(this, t, s, this)) {
|
|
2534
2547
|
ee({
|
|
@@ -2544,7 +2557,7 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2544
2557
|
return;
|
|
2545
2558
|
}
|
|
2546
2559
|
} else if (f && (f = f.split(",").some(function(d) {
|
|
2547
|
-
if (d =
|
|
2560
|
+
if (d = ge(u, d.trim(), n, !1), d)
|
|
2548
2561
|
return ee({
|
|
2549
2562
|
sortable: o,
|
|
2550
2563
|
rootEl: d,
|
|
@@ -2559,40 +2572,40 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2559
2572
|
a && t.cancelable && t.preventDefault();
|
|
2560
2573
|
return;
|
|
2561
2574
|
}
|
|
2562
|
-
i.handle && !
|
|
2575
|
+
i.handle && !ge(u, i.handle, n, !1) || this._prepareDragStart(t, r, s);
|
|
2563
2576
|
}
|
|
2564
2577
|
}
|
|
2565
2578
|
},
|
|
2566
2579
|
_prepareDragStart: function(t, o, n) {
|
|
2567
2580
|
var i = this, a = i.el, l = i.options, r = a.ownerDocument, s;
|
|
2568
|
-
if (n && !
|
|
2581
|
+
if (n && !v && n.parentNode === a) {
|
|
2569
2582
|
var u = Y(n);
|
|
2570
|
-
if (z = a,
|
|
2571
|
-
target:
|
|
2583
|
+
if (z = a, v = n, R = v.parentNode, Be = v.nextSibling, ut = n, it = l.group, O.dragged = v, Le = {
|
|
2584
|
+
target: v,
|
|
2572
2585
|
clientX: (o || t).clientX,
|
|
2573
2586
|
clientY: (o || t).clientY
|
|
2574
|
-
}, un = Le.clientX - u.left, cn = Le.clientY - u.top, this._lastX = (o || t).clientX, this._lastY = (o || t).clientY,
|
|
2587
|
+
}, un = Le.clientX - u.left, cn = Le.clientY - u.top, this._lastX = (o || t).clientX, this._lastY = (o || t).clientY, v.style["will-change"] = "all", s = function() {
|
|
2575
2588
|
if (ne("delayEnded", i, {
|
|
2576
2589
|
evt: t
|
|
2577
|
-
}),
|
|
2590
|
+
}), O.eventCanceled) {
|
|
2578
2591
|
i._onDrop();
|
|
2579
2592
|
return;
|
|
2580
2593
|
}
|
|
2581
|
-
i._disableDelayedDragEvents(), !an && i.nativeDraggable && (
|
|
2594
|
+
i._disableDelayedDragEvents(), !an && i.nativeDraggable && (v.draggable = !0), i._triggerDragStart(t, o), ee({
|
|
2582
2595
|
sortable: i,
|
|
2583
2596
|
name: "choose",
|
|
2584
2597
|
originalEvent: t
|
|
2585
|
-
}), ie(
|
|
2598
|
+
}), ie(v, l.chosenClass, !0);
|
|
2586
2599
|
}, l.ignore.split(",").forEach(function(f) {
|
|
2587
|
-
xn(
|
|
2588
|
-
}),
|
|
2600
|
+
xn(v, f.trim(), Mt);
|
|
2601
|
+
}), F(r, "dragover", Me), F(r, "mousemove", Me), F(r, "touchmove", Me), F(r, "mouseup", i._onDrop), F(r, "touchend", i._onDrop), F(r, "touchcancel", i._onDrop), an && this.nativeDraggable && (this.options.touchStartThreshold = 4, v.draggable = !0), ne("delayStart", this, {
|
|
2589
2602
|
evt: t
|
|
2590
2603
|
}), l.delay && (!l.delayOnTouchOnly || o) && (!this.nativeDraggable || !(tt || $e))) {
|
|
2591
|
-
if (
|
|
2604
|
+
if (O.eventCanceled) {
|
|
2592
2605
|
this._onDrop();
|
|
2593
2606
|
return;
|
|
2594
2607
|
}
|
|
2595
|
-
|
|
2608
|
+
F(r, "mouseup", i._disableDelayedDrag), F(r, "touchend", i._disableDelayedDrag), F(r, "touchcancel", i._disableDelayedDrag), F(r, "mousemove", i._delayedDragTouchMoveHandler), F(r, "touchmove", i._delayedDragTouchMoveHandler), l.supportPointer && F(r, "pointermove", i._delayedDragTouchMoveHandler), i._dragStartTimer = setTimeout(s, l.delay);
|
|
2596
2609
|
} else
|
|
2597
2610
|
s();
|
|
2598
2611
|
}
|
|
@@ -2602,14 +2615,14 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2602
2615
|
Math.max(Math.abs(o.clientX - this._lastX), Math.abs(o.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
|
|
2603
2616
|
},
|
|
2604
2617
|
_disableDelayedDrag: function() {
|
|
2605
|
-
|
|
2618
|
+
v && Mt(v), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
|
|
2606
2619
|
},
|
|
2607
2620
|
_disableDelayedDragEvents: function() {
|
|
2608
2621
|
var t = this.el.ownerDocument;
|
|
2609
|
-
|
|
2622
|
+
_(t, "mouseup", this._disableDelayedDrag), _(t, "touchend", this._disableDelayedDrag), _(t, "touchcancel", this._disableDelayedDrag), _(t, "mousemove", this._delayedDragTouchMoveHandler), _(t, "touchmove", this._delayedDragTouchMoveHandler), _(t, "pointermove", this._delayedDragTouchMoveHandler);
|
|
2610
2623
|
},
|
|
2611
2624
|
_triggerDragStart: function(t, o) {
|
|
2612
|
-
o = o || t.pointerType == "touch" && t, !this.nativeDraggable || o ? this.options.supportPointer ?
|
|
2625
|
+
o = o || t.pointerType == "touch" && t, !this.nativeDraggable || o ? this.options.supportPointer ? F(document, "pointermove", this._onTouchMove) : o ? F(document, "touchmove", this._onTouchMove) : F(document, "mousemove", this._onTouchMove) : (F(v, "dragend", this), F(z, "dragstart", this._onDragStart));
|
|
2613
2626
|
try {
|
|
2614
2627
|
document.selection ? dt(function() {
|
|
2615
2628
|
document.selection.empty();
|
|
@@ -2618,12 +2631,12 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2618
2631
|
}
|
|
2619
2632
|
},
|
|
2620
2633
|
_dragStarted: function(t, o) {
|
|
2621
|
-
if (Pe = !1, z &&
|
|
2634
|
+
if (Pe = !1, z && v) {
|
|
2622
2635
|
ne("dragStarted", this, {
|
|
2623
2636
|
evt: o
|
|
2624
|
-
}), this.nativeDraggable &&
|
|
2637
|
+
}), this.nativeDraggable && F(document, "dragover", B2);
|
|
2625
2638
|
var n = this.options;
|
|
2626
|
-
!t && ie(
|
|
2639
|
+
!t && ie(v, n.dragClass, !1), ie(v, n.ghostClass, !0), O.active = this, t && this._appendGhost(), ee({
|
|
2627
2640
|
sortable: this,
|
|
2628
2641
|
name: "start",
|
|
2629
2642
|
originalEvent: o
|
|
@@ -2632,17 +2645,17 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2632
2645
|
this._nulling();
|
|
2633
2646
|
},
|
|
2634
2647
|
_emulateDragOver: function() {
|
|
2635
|
-
if (
|
|
2636
|
-
this._lastX =
|
|
2637
|
-
for (var t = document.elementFromPoint(
|
|
2648
|
+
if (he) {
|
|
2649
|
+
this._lastX = he.clientX, this._lastY = he.clientY, An();
|
|
2650
|
+
for (var t = document.elementFromPoint(he.clientX, he.clientY), o = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(he.clientX, he.clientY), t !== o); )
|
|
2638
2651
|
o = t;
|
|
2639
|
-
if (
|
|
2652
|
+
if (v.parentNode[re]._isOutsideThisEl(t), o)
|
|
2640
2653
|
do {
|
|
2641
2654
|
if (o[re]) {
|
|
2642
2655
|
var n = void 0;
|
|
2643
2656
|
if (n = o[re]._onDragOver({
|
|
2644
|
-
clientX:
|
|
2645
|
-
clientY:
|
|
2657
|
+
clientX: he.clientX,
|
|
2658
|
+
clientY: he.clientY,
|
|
2646
2659
|
target: t,
|
|
2647
2660
|
rootEl: o
|
|
2648
2661
|
}), n && !this.options.dragoverBubble)
|
|
@@ -2650,19 +2663,19 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2650
2663
|
}
|
|
2651
2664
|
t = o;
|
|
2652
2665
|
} while (o = o.parentNode);
|
|
2653
|
-
|
|
2666
|
+
_n();
|
|
2654
2667
|
}
|
|
2655
2668
|
},
|
|
2656
2669
|
_onTouchMove: function(t) {
|
|
2657
2670
|
if (Le) {
|
|
2658
|
-
var o = this.options, n = o.fallbackTolerance, i = o.fallbackOffset, a = t.touches ? t.touches[0] : t, l = L && je(L, !0), r = L && l && l.a, s = L && l && l.d, u = lt && Q && sn(Q), f = (a.clientX - Le.clientX + i.x) / (r || 1) + (u ? u[0] -
|
|
2659
|
-
if (!
|
|
2671
|
+
var o = this.options, n = o.fallbackTolerance, i = o.fallbackOffset, a = t.touches ? t.touches[0] : t, l = L && je(L, !0), r = L && l && l.a, s = L && l && l.d, u = lt && Q && sn(Q), f = (a.clientX - Le.clientX + i.x) / (r || 1) + (u ? u[0] - Lt[0] : 0) / (r || 1), d = (a.clientY - Le.clientY + i.y) / (s || 1) + (u ? u[1] - Lt[1] : 0) / (s || 1);
|
|
2672
|
+
if (!O.active && !Pe) {
|
|
2660
2673
|
if (n && Math.max(Math.abs(a.clientX - this._lastX), Math.abs(a.clientY - this._lastY)) < n)
|
|
2661
2674
|
return;
|
|
2662
2675
|
this._onDragStart(t, !0);
|
|
2663
2676
|
}
|
|
2664
2677
|
if (L) {
|
|
2665
|
-
l ? (l.e += f - (
|
|
2678
|
+
l ? (l.e += f - (Ot || 0), l.f += d - (Tt || 0)) : l = {
|
|
2666
2679
|
a: 1,
|
|
2667
2680
|
b: 0,
|
|
2668
2681
|
c: 0,
|
|
@@ -2670,42 +2683,42 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2670
2683
|
e: f,
|
|
2671
2684
|
f: d
|
|
2672
2685
|
};
|
|
2673
|
-
var
|
|
2674
|
-
x(L, "webkitTransform",
|
|
2686
|
+
var m = "matrix(".concat(l.a, ",").concat(l.b, ",").concat(l.c, ",").concat(l.d, ",").concat(l.e, ",").concat(l.f, ")");
|
|
2687
|
+
x(L, "webkitTransform", m), x(L, "mozTransform", m), x(L, "msTransform", m), x(L, "transform", m), Ot = f, Tt = d, he = a;
|
|
2675
2688
|
}
|
|
2676
2689
|
t.cancelable && t.preventDefault();
|
|
2677
2690
|
}
|
|
2678
2691
|
},
|
|
2679
2692
|
_appendGhost: function() {
|
|
2680
2693
|
if (!L) {
|
|
2681
|
-
var t = this.options.fallbackOnBody ? document.body : z, o = Y(
|
|
2694
|
+
var t = this.options.fallbackOnBody ? document.body : z, o = Y(v, !0, lt, !0, t), n = this.options;
|
|
2682
2695
|
if (lt) {
|
|
2683
2696
|
for (Q = t; x(Q, "position") === "static" && x(Q, "transform") === "none" && Q !== document; )
|
|
2684
2697
|
Q = Q.parentNode;
|
|
2685
|
-
Q !== document.body && Q !== document.documentElement ? (Q === document && (Q =
|
|
2698
|
+
Q !== document.body && Q !== document.documentElement ? (Q === document && (Q = ve()), o.top += Q.scrollTop, o.left += Q.scrollLeft) : Q = ve(), Lt = sn(Q);
|
|
2686
2699
|
}
|
|
2687
|
-
L =
|
|
2700
|
+
L = v.cloneNode(!0), ie(L, n.ghostClass, !1), ie(L, n.fallbackClass, !0), ie(L, n.dragClass, !0), x(L, "transition", ""), x(L, "transform", ""), x(L, "box-sizing", "border-box"), x(L, "margin", 0), x(L, "top", o.top), x(L, "left", o.left), x(L, "width", o.width), x(L, "height", o.height), x(L, "opacity", "0.8"), x(L, "position", lt ? "absolute" : "fixed"), x(L, "zIndex", "100000"), x(L, "pointerEvents", "none"), O.ghost = L, t.appendChild(L), x(L, "transform-origin", un / parseInt(L.style.width) * 100 + "% " + cn / parseInt(L.style.height) * 100 + "%");
|
|
2688
2701
|
}
|
|
2689
2702
|
},
|
|
2690
2703
|
_onDragStart: function(t, o) {
|
|
2691
2704
|
var n = this, i = t.dataTransfer, a = n.options;
|
|
2692
2705
|
if (ne("dragStart", this, {
|
|
2693
2706
|
evt: t
|
|
2694
|
-
}),
|
|
2707
|
+
}), O.eventCanceled) {
|
|
2695
2708
|
this._onDrop();
|
|
2696
2709
|
return;
|
|
2697
2710
|
}
|
|
2698
|
-
ne("setupClone", this),
|
|
2699
|
-
ne("clone", n), !
|
|
2711
|
+
ne("setupClone", this), O.eventCanceled || (Z = Ln(v), Z.draggable = !1, Z.style["will-change"] = "", this._hideClone(), ie(Z, this.options.chosenClass, !1), O.clone = Z), n.cloneId = dt(function() {
|
|
2712
|
+
ne("clone", n), !O.eventCanceled && (n.options.removeCloneOnHide || z.insertBefore(Z, v), n._hideClone(), ee({
|
|
2700
2713
|
sortable: n,
|
|
2701
2714
|
name: "clone"
|
|
2702
2715
|
}));
|
|
2703
|
-
}), !o && ie(
|
|
2716
|
+
}), !o && ie(v, a.dragClass, !0), o ? (pt = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (_(document, "mouseup", n._onDrop), _(document, "touchend", n._onDrop), _(document, "touchcancel", n._onDrop), i && (i.effectAllowed = "move", a.setData && a.setData.call(n, i, v)), F(document, "drop", n), x(v, "transform", "translateZ(0)")), Pe = !0, n._dragStartId = dt(n._dragStarted.bind(n, o, t)), F(document, "selectstart", n), qe = !0, Ue && x(document.body, "user-select", "none");
|
|
2704
2717
|
},
|
|
2705
2718
|
// Returns true - if no further action is needed (either inserted or another condition)
|
|
2706
2719
|
_onDragOver: function(t) {
|
|
2707
|
-
var o = this.el, n = t.target, i, a, l, r = this.options, s = r.group, u =
|
|
2708
|
-
if (
|
|
2720
|
+
var o = this.el, n = t.target, i, a, l, r = this.options, s = r.group, u = O.active, f = it === s, d = r.sort, m = X || u, $, S = this, M = !1;
|
|
2721
|
+
if (Ft) return;
|
|
2709
2722
|
function D(He, Vn) {
|
|
2710
2723
|
ne(He, S, me({
|
|
2711
2724
|
evt: t,
|
|
@@ -2715,27 +2728,27 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2715
2728
|
dragRect: i,
|
|
2716
2729
|
targetRect: a,
|
|
2717
2730
|
canSort: d,
|
|
2718
|
-
fromSortable:
|
|
2731
|
+
fromSortable: m,
|
|
2719
2732
|
target: n,
|
|
2720
2733
|
completed: b,
|
|
2721
2734
|
onMove: function(Kt, jn) {
|
|
2722
|
-
return rt(z, o,
|
|
2735
|
+
return rt(z, o, v, i, Kt, Y(Kt), t, jn);
|
|
2723
2736
|
},
|
|
2724
2737
|
changed: y
|
|
2725
2738
|
}, Vn));
|
|
2726
2739
|
}
|
|
2727
2740
|
function E() {
|
|
2728
|
-
D("dragOverAnimationCapture"), S.captureAnimationState(), S !==
|
|
2741
|
+
D("dragOverAnimationCapture"), S.captureAnimationState(), S !== m && m.captureAnimationState();
|
|
2729
2742
|
}
|
|
2730
2743
|
function b(He) {
|
|
2731
2744
|
return D("dragOverCompleted", {
|
|
2732
2745
|
insertion: He
|
|
2733
|
-
}), He && (f ? u._hideClone() : u._showClone(S), S !==
|
|
2746
|
+
}), He && (f ? u._hideClone() : u._showClone(S), S !== m && (ie(v, X ? X.options.ghostClass : u.options.ghostClass, !1), ie(v, r.ghostClass, !0)), X !== S && S !== O.active ? X = S : S === O.active && X && (X = null), m === S && (S._ignoreWhileAnimating = n), S.animateAll(function() {
|
|
2734
2747
|
D("dragOverAnimationComplete"), S._ignoreWhileAnimating = null;
|
|
2735
|
-
}), S !==
|
|
2748
|
+
}), S !== m && (m.animateAll(), m._ignoreWhileAnimating = null)), (n === v && !v.animated || n === o && !n.animated) && (_e = null), !r.dragoverBubble && !t.rootEl && n !== document && (v.parentNode[re]._isOutsideThisEl(t.target), !He && Me(t)), !r.dragoverBubble && t.stopPropagation && t.stopPropagation(), M = !0;
|
|
2736
2749
|
}
|
|
2737
2750
|
function y() {
|
|
2738
|
-
ae = ce(
|
|
2751
|
+
ae = ce(v), Ee = ce(v, r.draggable), ee({
|
|
2739
2752
|
sortable: S,
|
|
2740
2753
|
name: "change",
|
|
2741
2754
|
toEl: o,
|
|
@@ -2744,67 +2757,67 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2744
2757
|
originalEvent: t
|
|
2745
2758
|
});
|
|
2746
2759
|
}
|
|
2747
|
-
if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), n =
|
|
2748
|
-
if (
|
|
2760
|
+
if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), n = ge(n, r.draggable, o, !0), D("dragOver"), O.eventCanceled) return M;
|
|
2761
|
+
if (v.contains(t.target) || n.animated && n.animatingX && n.animatingY || S._ignoreWhileAnimating === n)
|
|
2749
2762
|
return b(!1);
|
|
2750
|
-
if (pt = !1, u && !r.disabled && (f ? d || (l = R !== z) : X === this || (this.lastPutMode = it.checkPull(this, u,
|
|
2751
|
-
if ($ = this._getDirection(t, n) === "vertical", i = Y(
|
|
2763
|
+
if (pt = !1, u && !r.disabled && (f ? d || (l = R !== z) : X === this || (this.lastPutMode = it.checkPull(this, u, v, t)) && s.checkPut(this, u, v, t))) {
|
|
2764
|
+
if ($ = this._getDirection(t, n) === "vertical", i = Y(v), D("dragOverValid"), O.eventCanceled) return M;
|
|
2752
2765
|
if (l)
|
|
2753
|
-
return R = z, E(), this._hideClone(), D("revert"),
|
|
2766
|
+
return R = z, E(), this._hideClone(), D("revert"), O.eventCanceled || (Be ? z.insertBefore(v, Be) : z.appendChild(v)), b(!0);
|
|
2754
2767
|
var g = Yt(o, r.draggable);
|
|
2755
|
-
if (!g ||
|
|
2756
|
-
if (g ===
|
|
2768
|
+
if (!g || P2(t, $, this) && !g.animated) {
|
|
2769
|
+
if (g === v)
|
|
2757
2770
|
return b(!1);
|
|
2758
|
-
if (g && o === t.target && (n = g), n && (a = Y(n)), rt(z, o,
|
|
2759
|
-
return E(), o.appendChild(
|
|
2760
|
-
} else if (g &&
|
|
2771
|
+
if (g && o === t.target && (n = g), n && (a = Y(n)), rt(z, o, v, i, n, a, t, !!n) !== !1)
|
|
2772
|
+
return E(), o.appendChild(v), R = o, y(), b(!0);
|
|
2773
|
+
} else if (g && _2(t, $, this)) {
|
|
2761
2774
|
var k = Re(o, 0, r, !0);
|
|
2762
|
-
if (k ===
|
|
2775
|
+
if (k === v)
|
|
2763
2776
|
return b(!1);
|
|
2764
|
-
if (n = k, a = Y(n), rt(z, o,
|
|
2765
|
-
return E(), o.insertBefore(
|
|
2777
|
+
if (n = k, a = Y(n), rt(z, o, v, i, n, a, t, !1) !== !1)
|
|
2778
|
+
return E(), o.insertBefore(v, k), R = o, y(), b(!0);
|
|
2766
2779
|
} else if (n.parentNode === o) {
|
|
2767
2780
|
a = Y(n);
|
|
2768
|
-
var w = 0, V, J =
|
|
2769
|
-
|
|
2770
|
-
var
|
|
2781
|
+
var w = 0, V, J = v.parentNode !== o, U = !L2(v.animated && v.toRect || i, n.animated && n.toRect || a, $), pe = $ ? "top" : "left", oe = rn(n, "top", "top") || rn(v, "top", "top"), be = oe ? oe.scrollTop : void 0;
|
|
2782
|
+
_e !== n && (V = a[pe], Je = !1, at = !U && r.invertSwap || J), w = N2(t, n, a, $, U ? 1 : r.swapThreshold, r.invertedSwapThreshold == null ? r.swapThreshold : r.invertedSwapThreshold, at, _e === n);
|
|
2783
|
+
var fe;
|
|
2771
2784
|
if (w !== 0) {
|
|
2772
|
-
var
|
|
2785
|
+
var Ce = ce(v);
|
|
2773
2786
|
do
|
|
2774
|
-
|
|
2775
|
-
while (
|
|
2787
|
+
Ce -= w, fe = R.children[Ce];
|
|
2788
|
+
while (fe && (x(fe, "display") === "none" || fe === L));
|
|
2776
2789
|
}
|
|
2777
|
-
if (w === 0 ||
|
|
2790
|
+
if (w === 0 || fe === n)
|
|
2778
2791
|
return b(!1);
|
|
2779
|
-
|
|
2792
|
+
_e = n, Qe = w;
|
|
2780
2793
|
var Ze = n.nextElementSibling, De = !1;
|
|
2781
2794
|
De = w === 1;
|
|
2782
|
-
var ot = rt(z, o,
|
|
2795
|
+
var ot = rt(z, o, v, i, n, a, t, De);
|
|
2783
2796
|
if (ot !== !1)
|
|
2784
|
-
return (ot === 1 || ot === -1) && (De = ot === 1),
|
|
2797
|
+
return (ot === 1 || ot === -1) && (De = ot === 1), Ft = !0, setTimeout(A2, 30), E(), De && !Ze ? o.appendChild(v) : n.parentNode.insertBefore(v, De ? Ze : n), oe && Tn(oe, 0, be - oe.scrollTop), R = v.parentNode, V !== void 0 && !at && (ct = Math.abs(V - Y(n)[pe])), y(), b(!0);
|
|
2785
2798
|
}
|
|
2786
|
-
if (o.contains(
|
|
2799
|
+
if (o.contains(v))
|
|
2787
2800
|
return b(!1);
|
|
2788
2801
|
}
|
|
2789
2802
|
return !1;
|
|
2790
2803
|
},
|
|
2791
2804
|
_ignoreWhileAnimating: null,
|
|
2792
2805
|
_offMoveEvents: function() {
|
|
2793
|
-
|
|
2806
|
+
_(document, "mousemove", this._onTouchMove), _(document, "touchmove", this._onTouchMove), _(document, "pointermove", this._onTouchMove), _(document, "dragover", Me), _(document, "mousemove", Me), _(document, "touchmove", Me);
|
|
2794
2807
|
},
|
|
2795
2808
|
_offUpEvents: function() {
|
|
2796
2809
|
var t = this.el.ownerDocument;
|
|
2797
|
-
|
|
2810
|
+
_(t, "mouseup", this._onDrop), _(t, "touchend", this._onDrop), _(t, "pointerup", this._onDrop), _(t, "touchcancel", this._onDrop), _(document, "selectstart", this);
|
|
2798
2811
|
},
|
|
2799
2812
|
_onDrop: function(t) {
|
|
2800
2813
|
var o = this.el, n = this.options;
|
|
2801
|
-
if (ae = ce(
|
|
2814
|
+
if (ae = ce(v), Ee = ce(v, n.draggable), ne("drop", this, {
|
|
2802
2815
|
evt: t
|
|
2803
|
-
}), R =
|
|
2816
|
+
}), R = v && v.parentNode, ae = ce(v), Ee = ce(v, n.draggable), O.eventCanceled) {
|
|
2804
2817
|
this._nulling();
|
|
2805
2818
|
return;
|
|
2806
2819
|
}
|
|
2807
|
-
Pe = !1, at = !1, Je = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer),
|
|
2820
|
+
Pe = !1, at = !1, Je = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Vt(this.cloneId), Vt(this._dragStartId), this.nativeDraggable && (_(document, "drop", this), _(o, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Ue && x(document.body, "user-select", ""), x(v, "transform", ""), t && (qe && (t.cancelable && t.preventDefault(), !n.dropBubble && t.stopPropagation()), L && L.parentNode && L.parentNode.removeChild(L), (z === R || X && X.lastPutMode !== "clone") && Z && Z.parentNode && Z.parentNode.removeChild(Z), v && (this.nativeDraggable && _(v, "dragend", this), Mt(v), v.style["will-change"] = "", qe && !Pe && ie(v, X ? X.options.ghostClass : this.options.ghostClass, !1), ie(v, this.options.chosenClass, !1), ee({
|
|
2808
2821
|
sortable: this,
|
|
2809
2822
|
name: "unchoose",
|
|
2810
2823
|
toEl: R,
|
|
@@ -2843,7 +2856,7 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2843
2856
|
name: "sort",
|
|
2844
2857
|
toEl: R,
|
|
2845
2858
|
originalEvent: t
|
|
2846
|
-
})),
|
|
2859
|
+
})), O.active && ((ae == null || ae === -1) && (ae = Fe, Ee = Ke), ee({
|
|
2847
2860
|
sortable: this,
|
|
2848
2861
|
name: "end",
|
|
2849
2862
|
toEl: R,
|
|
@@ -2851,9 +2864,9 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2851
2864
|
}), this.save()))), this._nulling();
|
|
2852
2865
|
},
|
|
2853
2866
|
_nulling: function() {
|
|
2854
|
-
ne("nulling", this), z =
|
|
2867
|
+
ne("nulling", this), z = v = R = L = Be = Z = ut = Oe = Le = he = qe = ae = Ee = Fe = Ke = _e = Qe = X = it = O.dragged = O.ghost = O.clone = O.active = null, vt.forEach(function(t) {
|
|
2855
2868
|
t.checked = !0;
|
|
2856
|
-
}),
|
|
2869
|
+
}), vt.length = Ot = Tt = 0;
|
|
2857
2870
|
},
|
|
2858
2871
|
handleEvent: function(t) {
|
|
2859
2872
|
switch (t.type) {
|
|
@@ -2863,7 +2876,7 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2863
2876
|
break;
|
|
2864
2877
|
case "dragenter":
|
|
2865
2878
|
case "dragover":
|
|
2866
|
-
|
|
2879
|
+
v && (this._onDragOver(t), I2(t));
|
|
2867
2880
|
break;
|
|
2868
2881
|
case "selectstart":
|
|
2869
2882
|
t.preventDefault();
|
|
@@ -2876,7 +2889,7 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2876
2889
|
*/
|
|
2877
2890
|
toArray: function() {
|
|
2878
2891
|
for (var t = [], o, n = this.el.children, i = 0, a = n.length, l = this.options; i < a; i++)
|
|
2879
|
-
o = n[i],
|
|
2892
|
+
o = n[i], ge(o, l.draggable, this.el, !1) && t.push(o.getAttribute(l.dataIdAttr) || V2(o));
|
|
2880
2893
|
return t;
|
|
2881
2894
|
},
|
|
2882
2895
|
/**
|
|
@@ -2887,7 +2900,7 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2887
2900
|
var n = {}, i = this.el;
|
|
2888
2901
|
this.toArray().forEach(function(a, l) {
|
|
2889
2902
|
var r = i.children[l];
|
|
2890
|
-
|
|
2903
|
+
ge(r, this.options.draggable, i, !1) && (n[a] = r);
|
|
2891
2904
|
}, this), o && this.captureAnimationState(), t.forEach(function(a) {
|
|
2892
2905
|
n[a] && (i.removeChild(n[a]), i.appendChild(n[a]));
|
|
2893
2906
|
}), o && this.animateAll();
|
|
@@ -2906,7 +2919,7 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2906
2919
|
* @returns {HTMLElement|null}
|
|
2907
2920
|
*/
|
|
2908
2921
|
closest: function(t, o) {
|
|
2909
|
-
return
|
|
2922
|
+
return ge(t, o || this.options.draggable, this.el, !1);
|
|
2910
2923
|
},
|
|
2911
2924
|
/**
|
|
2912
2925
|
* Set/get option
|
|
@@ -2927,14 +2940,14 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2927
2940
|
destroy: function() {
|
|
2928
2941
|
ne("destroy", this);
|
|
2929
2942
|
var t = this.el;
|
|
2930
|
-
t[re] = null,
|
|
2943
|
+
t[re] = null, _(t, "mousedown", this._onTapStart), _(t, "touchstart", this._onTapStart), _(t, "pointerdown", this._onTapStart), this.nativeDraggable && (_(t, "dragover", this), _(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(o) {
|
|
2931
2944
|
o.removeAttribute("draggable");
|
|
2932
2945
|
}), this._onDrop(), this._disableDelayedDragEvents(), gt.splice(gt.indexOf(this.el), 1), this.el = t = null;
|
|
2933
2946
|
},
|
|
2934
2947
|
_hideClone: function() {
|
|
2935
|
-
if (!
|
|
2936
|
-
if (ne("hideClone", this),
|
|
2937
|
-
x(Z, "display", "none"), this.options.removeCloneOnHide && Z.parentNode && Z.parentNode.removeChild(Z),
|
|
2948
|
+
if (!Oe) {
|
|
2949
|
+
if (ne("hideClone", this), O.eventCanceled) return;
|
|
2950
|
+
x(Z, "display", "none"), this.options.removeCloneOnHide && Z.parentNode && Z.parentNode.removeChild(Z), Oe = !0;
|
|
2938
2951
|
}
|
|
2939
2952
|
},
|
|
2940
2953
|
_showClone: function(t) {
|
|
@@ -2942,13 +2955,13 @@ T.prototype = /** @lends Sortable.prototype */
|
|
|
2942
2955
|
this._hideClone();
|
|
2943
2956
|
return;
|
|
2944
2957
|
}
|
|
2945
|
-
if (
|
|
2946
|
-
if (ne("showClone", this),
|
|
2947
|
-
|
|
2958
|
+
if (Oe) {
|
|
2959
|
+
if (ne("showClone", this), O.eventCanceled) return;
|
|
2960
|
+
v.parentNode == z && !this.options.group.revertClone ? z.insertBefore(Z, v) : Be ? z.insertBefore(Z, Be) : z.appendChild(Z), this.options.group.revertClone && this.animate(v, Z), x(Z, "display", ""), Oe = !1;
|
|
2948
2961
|
}
|
|
2949
2962
|
}
|
|
2950
2963
|
};
|
|
2951
|
-
function
|
|
2964
|
+
function I2(e) {
|
|
2952
2965
|
e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
|
|
2953
2966
|
}
|
|
2954
2967
|
function rt(e, t, o, n, i, a, l, r) {
|
|
@@ -2958,94 +2971,94 @@ function rt(e, t, o, n, i, a, l, r) {
|
|
|
2958
2971
|
cancelable: !0
|
|
2959
2972
|
}) : (s = document.createEvent("Event"), s.initEvent("move", !0, !0)), s.to = t, s.from = e, s.dragged = o, s.draggedRect = n, s.related = i || t, s.relatedRect = a || Y(t), s.willInsertAfter = r, s.originalEvent = l, e.dispatchEvent(s), f && (d = f.call(u, s, l)), d;
|
|
2960
2973
|
}
|
|
2961
|
-
function
|
|
2974
|
+
function Mt(e) {
|
|
2962
2975
|
e.draggable = !1;
|
|
2963
2976
|
}
|
|
2964
2977
|
function A2() {
|
|
2965
|
-
|
|
2978
|
+
Ft = !1;
|
|
2966
2979
|
}
|
|
2967
|
-
function
|
|
2980
|
+
function _2(e, t, o) {
|
|
2968
2981
|
var n = Y(Re(o.el, 0, o.options, !0)), i = 10;
|
|
2969
2982
|
return t ? e.clientX < n.left - i || e.clientY < n.top && e.clientX < n.right : e.clientY < n.top - i || e.clientY < n.bottom && e.clientX < n.left;
|
|
2970
2983
|
}
|
|
2971
|
-
function
|
|
2984
|
+
function P2(e, t, o) {
|
|
2972
2985
|
var n = Y(Yt(o.el, o.options.draggable)), i = 10;
|
|
2973
2986
|
return t ? e.clientX > n.right + i || e.clientX <= n.right && e.clientY > n.bottom && e.clientX >= n.left : e.clientX > n.right && e.clientY > n.top || e.clientX <= n.right && e.clientY > n.bottom + i;
|
|
2974
2987
|
}
|
|
2975
|
-
function
|
|
2976
|
-
var s = n ? e.clientY : e.clientX, u = n ? o.height : o.width, f = n ? o.top : o.left, d = n ? o.bottom : o.right,
|
|
2988
|
+
function N2(e, t, o, n, i, a, l, r) {
|
|
2989
|
+
var s = n ? e.clientY : e.clientX, u = n ? o.height : o.width, f = n ? o.top : o.left, d = n ? o.bottom : o.right, m = !1;
|
|
2977
2990
|
if (!l) {
|
|
2978
2991
|
if (r && ct < u * i) {
|
|
2979
2992
|
if (!Je && (Qe === 1 ? s > f + u * a / 2 : s < d - u * a / 2) && (Je = !0), Je)
|
|
2980
|
-
|
|
2993
|
+
m = !0;
|
|
2981
2994
|
else if (Qe === 1 ? s < f + ct : s > d - ct)
|
|
2982
2995
|
return -Qe;
|
|
2983
2996
|
} else if (s > f + u * (1 - i) / 2 && s < d - u * (1 - i) / 2)
|
|
2984
|
-
return
|
|
2997
|
+
return F2(t);
|
|
2985
2998
|
}
|
|
2986
|
-
return
|
|
2999
|
+
return m = m || l, m && (s < f + u * a / 2 || s > d - u * a / 2) ? s > f + u / 2 ? 1 : -1 : 0;
|
|
2987
3000
|
}
|
|
2988
|
-
function
|
|
2989
|
-
return ce(
|
|
3001
|
+
function F2(e) {
|
|
3002
|
+
return ce(v) < ce(e) ? 1 : -1;
|
|
2990
3003
|
}
|
|
2991
|
-
function
|
|
3004
|
+
function V2(e) {
|
|
2992
3005
|
for (var t = e.tagName + e.className + e.src + e.href + e.textContent, o = t.length, n = 0; o--; )
|
|
2993
3006
|
n += t.charCodeAt(o);
|
|
2994
3007
|
return n.toString(36);
|
|
2995
3008
|
}
|
|
2996
|
-
function
|
|
2997
|
-
|
|
3009
|
+
function j2(e) {
|
|
3010
|
+
vt.length = 0;
|
|
2998
3011
|
for (var t = e.getElementsByTagName("input"), o = t.length; o--; ) {
|
|
2999
3012
|
var n = t[o];
|
|
3000
|
-
n.checked &&
|
|
3013
|
+
n.checked && vt.push(n);
|
|
3001
3014
|
}
|
|
3002
3015
|
}
|
|
3003
3016
|
function dt(e) {
|
|
3004
3017
|
return setTimeout(e, 0);
|
|
3005
3018
|
}
|
|
3006
|
-
function
|
|
3019
|
+
function Vt(e) {
|
|
3007
3020
|
return clearTimeout(e);
|
|
3008
3021
|
}
|
|
3009
|
-
|
|
3010
|
-
(
|
|
3022
|
+
St && F(document, "touchmove", function(e) {
|
|
3023
|
+
(O.active || Pe) && e.cancelable && e.preventDefault();
|
|
3011
3024
|
});
|
|
3012
|
-
|
|
3013
|
-
on:
|
|
3014
|
-
off:
|
|
3025
|
+
O.utils = {
|
|
3026
|
+
on: F,
|
|
3027
|
+
off: _,
|
|
3015
3028
|
css: x,
|
|
3016
3029
|
find: xn,
|
|
3017
3030
|
is: function(t, o) {
|
|
3018
|
-
return !!
|
|
3031
|
+
return !!ge(t, o, t, !1);
|
|
3019
3032
|
},
|
|
3020
|
-
extend:
|
|
3021
|
-
throttle:
|
|
3022
|
-
closest:
|
|
3033
|
+
extend: S2,
|
|
3034
|
+
throttle: On,
|
|
3035
|
+
closest: ge,
|
|
3023
3036
|
toggleClass: ie,
|
|
3024
3037
|
clone: Ln,
|
|
3025
3038
|
index: ce,
|
|
3026
3039
|
nextTick: dt,
|
|
3027
|
-
cancelNextTick:
|
|
3040
|
+
cancelNextTick: Vt,
|
|
3028
3041
|
detectDirection: Bn,
|
|
3029
3042
|
getChild: Re
|
|
3030
3043
|
};
|
|
3031
|
-
|
|
3044
|
+
O.get = function(e) {
|
|
3032
3045
|
return e[re];
|
|
3033
3046
|
};
|
|
3034
|
-
|
|
3047
|
+
O.mount = function() {
|
|
3035
3048
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
3036
3049
|
t[o] = arguments[o];
|
|
3037
3050
|
t[0].constructor === Array && (t = t[0]), t.forEach(function(n) {
|
|
3038
3051
|
if (!n.prototype || !n.prototype.constructor)
|
|
3039
3052
|
throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));
|
|
3040
|
-
n.utils && (
|
|
3053
|
+
n.utils && (O.utils = me(me({}, O.utils), n.utils)), nt.mount(n);
|
|
3041
3054
|
});
|
|
3042
3055
|
};
|
|
3043
|
-
|
|
3044
|
-
return new
|
|
3056
|
+
O.create = function(e, t) {
|
|
3057
|
+
return new O(e, t);
|
|
3045
3058
|
};
|
|
3046
|
-
|
|
3047
|
-
var q = [], We,
|
|
3048
|
-
function
|
|
3059
|
+
O.version = b2;
|
|
3060
|
+
var q = [], We, jt, zt = !1, Bt, It, mt, Ye;
|
|
3061
|
+
function z2() {
|
|
3049
3062
|
function e() {
|
|
3050
3063
|
this.defaults = {
|
|
3051
3064
|
scroll: !0,
|
|
@@ -3060,36 +3073,36 @@ function R2() {
|
|
|
3060
3073
|
return e.prototype = {
|
|
3061
3074
|
dragStarted: function(o) {
|
|
3062
3075
|
var n = o.originalEvent;
|
|
3063
|
-
this.sortable.nativeDraggable ?
|
|
3076
|
+
this.sortable.nativeDraggable ? F(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? F(document, "pointermove", this._handleFallbackAutoScroll) : n.touches ? F(document, "touchmove", this._handleFallbackAutoScroll) : F(document, "mousemove", this._handleFallbackAutoScroll);
|
|
3064
3077
|
},
|
|
3065
3078
|
dragOverCompleted: function(o) {
|
|
3066
3079
|
var n = o.originalEvent;
|
|
3067
3080
|
!this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
|
|
3068
3081
|
},
|
|
3069
3082
|
drop: function() {
|
|
3070
|
-
this.sortable.nativeDraggable ?
|
|
3083
|
+
this.sortable.nativeDraggable ? _(document, "dragover", this._handleAutoScroll) : (_(document, "pointermove", this._handleFallbackAutoScroll), _(document, "touchmove", this._handleFallbackAutoScroll), _(document, "mousemove", this._handleFallbackAutoScroll)), fn(), ft(), k2();
|
|
3071
3084
|
},
|
|
3072
3085
|
nulling: function() {
|
|
3073
|
-
|
|
3086
|
+
mt = jt = We = zt = Ye = Bt = It = null, q.length = 0;
|
|
3074
3087
|
},
|
|
3075
3088
|
_handleFallbackAutoScroll: function(o) {
|
|
3076
3089
|
this._handleAutoScroll(o, !0);
|
|
3077
3090
|
},
|
|
3078
3091
|
_handleAutoScroll: function(o, n) {
|
|
3079
3092
|
var i = this, a = (o.touches ? o.touches[0] : o).clientX, l = (o.touches ? o.touches[0] : o).clientY, r = document.elementFromPoint(a, l);
|
|
3080
|
-
if (
|
|
3081
|
-
|
|
3082
|
-
var s =
|
|
3083
|
-
|
|
3084
|
-
var u =
|
|
3085
|
-
u !== s && (s = u, ft()),
|
|
3086
|
-
}, 10),
|
|
3093
|
+
if (mt = o, n || this.options.forceAutoScrollFallback || tt || $e || Ue) {
|
|
3094
|
+
At(o, this.options, r, n);
|
|
3095
|
+
var s = Te(r, !0);
|
|
3096
|
+
zt && (!Ye || a !== Bt || l !== It) && (Ye && fn(), Ye = setInterval(function() {
|
|
3097
|
+
var u = Te(document.elementFromPoint(a, l), !0);
|
|
3098
|
+
u !== s && (s = u, ft()), At(o, i.options, u, n);
|
|
3099
|
+
}, 10), Bt = a, It = l);
|
|
3087
3100
|
} else {
|
|
3088
|
-
if (!this.options.bubbleScroll ||
|
|
3101
|
+
if (!this.options.bubbleScroll || Te(r, !0) === ve()) {
|
|
3089
3102
|
ft();
|
|
3090
3103
|
return;
|
|
3091
3104
|
}
|
|
3092
|
-
|
|
3105
|
+
At(o, this.options, Te(r, !1), !1);
|
|
3093
3106
|
}
|
|
3094
3107
|
}
|
|
3095
3108
|
}, Se(e, {
|
|
@@ -3105,27 +3118,27 @@ function ft() {
|
|
|
3105
3118
|
function fn() {
|
|
3106
3119
|
clearInterval(Ye);
|
|
3107
3120
|
}
|
|
3108
|
-
var
|
|
3121
|
+
var At = On(function(e, t, o, n) {
|
|
3109
3122
|
if (t.scroll) {
|
|
3110
|
-
var i = (e.touches ? e.touches[0] : e).clientX, a = (e.touches ? e.touches[0] : e).clientY, l = t.scrollSensitivity, r = t.scrollSpeed, s =
|
|
3111
|
-
|
|
3112
|
-
var d = 0,
|
|
3123
|
+
var i = (e.touches ? e.touches[0] : e).clientX, a = (e.touches ? e.touches[0] : e).clientY, l = t.scrollSensitivity, r = t.scrollSpeed, s = ve(), u = !1, f;
|
|
3124
|
+
jt !== o && (jt = o, ft(), We = t.scroll, f = t.scrollFn, We === !0 && (We = Te(o, !0)));
|
|
3125
|
+
var d = 0, m = We;
|
|
3113
3126
|
do {
|
|
3114
|
-
var $ =
|
|
3127
|
+
var $ = m, S = Y($), M = S.top, D = S.bottom, E = S.left, b = S.right, y = S.width, g = S.height, k = void 0, w = void 0, V = $.scrollWidth, J = $.scrollHeight, U = x($), pe = $.scrollLeft, oe = $.scrollTop;
|
|
3115
3128
|
$ === s ? (k = y < V && (U.overflowX === "auto" || U.overflowX === "scroll" || U.overflowX === "visible"), w = g < J && (U.overflowY === "auto" || U.overflowY === "scroll" || U.overflowY === "visible")) : (k = y < V && (U.overflowX === "auto" || U.overflowX === "scroll"), w = g < J && (U.overflowY === "auto" || U.overflowY === "scroll"));
|
|
3116
|
-
var
|
|
3129
|
+
var be = k && (Math.abs(b - i) <= l && pe + y < V) - (Math.abs(E - i) <= l && !!pe), fe = w && (Math.abs(D - a) <= l && oe + g < J) - (Math.abs(M - a) <= l && !!oe);
|
|
3117
3130
|
if (!q[d])
|
|
3118
|
-
for (var
|
|
3119
|
-
q[
|
|
3120
|
-
(q[d].vx !=
|
|
3121
|
-
n && this.layer === 0 &&
|
|
3131
|
+
for (var Ce = 0; Ce <= d; Ce++)
|
|
3132
|
+
q[Ce] || (q[Ce] = {});
|
|
3133
|
+
(q[d].vx != be || q[d].vy != fe || q[d].el !== $) && (q[d].el = $, q[d].vx = be, q[d].vy = fe, clearInterval(q[d].pid), (be != 0 || fe != 0) && (u = !0, q[d].pid = setInterval(function() {
|
|
3134
|
+
n && this.layer === 0 && O.active._onTouchMove(mt);
|
|
3122
3135
|
var Ze = q[this.layer].vy ? q[this.layer].vy * r : 0, De = q[this.layer].vx ? q[this.layer].vx * r : 0;
|
|
3123
|
-
typeof f == "function" && f.call(
|
|
3136
|
+
typeof f == "function" && f.call(O.dragged.parentNode[re], De, Ze, e, mt, q[this.layer].el) !== "continue" || Tn(q[this.layer].el, De, Ze);
|
|
3124
3137
|
}.bind({
|
|
3125
3138
|
layer: d
|
|
3126
3139
|
}), 24))), d++;
|
|
3127
|
-
} while (t.bubbleScroll &&
|
|
3128
|
-
|
|
3140
|
+
} while (t.bubbleScroll && m !== s && (m = Te(m, !1)));
|
|
3141
|
+
zt = u;
|
|
3129
3142
|
}
|
|
3130
3143
|
}, 30), Pn = function(t) {
|
|
3131
3144
|
var o = t.originalEvent, n = t.putSortable, i = t.dragEl, a = t.activeSortable, l = t.dispatchSortableEvent, r = t.hideGhostForTarget, s = t.unhideGhostForTarget;
|
|
@@ -3170,30 +3183,30 @@ Xt.prototype = {
|
|
|
3170
3183
|
Se(Xt, {
|
|
3171
3184
|
pluginName: "removeOnSpill"
|
|
3172
3185
|
});
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
function
|
|
3186
|
+
O.mount(new z2());
|
|
3187
|
+
O.mount(Xt, Ut);
|
|
3188
|
+
function R2() {
|
|
3176
3189
|
return typeof window < "u" ? window.console : global.console;
|
|
3177
3190
|
}
|
|
3178
|
-
const
|
|
3179
|
-
function
|
|
3191
|
+
const Z2 = R2();
|
|
3192
|
+
function H2(e) {
|
|
3180
3193
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3181
3194
|
return function(n) {
|
|
3182
3195
|
return t[n] || (t[n] = e(n));
|
|
3183
3196
|
};
|
|
3184
3197
|
}
|
|
3185
|
-
const
|
|
3186
|
-
function
|
|
3198
|
+
const G2 = /-(\w)/g, hn = H2((e) => e.replace(G2, (t, o) => o ? o.toUpperCase() : ""));
|
|
3199
|
+
function _t(e) {
|
|
3187
3200
|
e.parentElement !== null && e.parentElement.removeChild(e);
|
|
3188
3201
|
}
|
|
3189
3202
|
function pn(e, t, o) {
|
|
3190
3203
|
const n = o === 0 ? e.children[0] : e.children[o - 1].nextSibling;
|
|
3191
3204
|
e.insertBefore(t, n);
|
|
3192
3205
|
}
|
|
3193
|
-
function
|
|
3206
|
+
function q2(e, t) {
|
|
3194
3207
|
return Object.values(e).indexOf(t);
|
|
3195
3208
|
}
|
|
3196
|
-
function
|
|
3209
|
+
function W2(e, t, o, n) {
|
|
3197
3210
|
if (!e)
|
|
3198
3211
|
return [];
|
|
3199
3212
|
const i = Object.values(e), a = t.length - n;
|
|
@@ -3202,26 +3215,26 @@ function Y2(e, t, o, n) {
|
|
|
3202
3215
|
function Nn(e, t) {
|
|
3203
3216
|
this.$nextTick(() => this.$emit(e.toLowerCase(), t));
|
|
3204
3217
|
}
|
|
3205
|
-
function
|
|
3218
|
+
function Y2(e) {
|
|
3206
3219
|
return (t) => {
|
|
3207
3220
|
this.realList !== null && this["onDrag" + e](t), Nn.call(this, e, t);
|
|
3208
3221
|
};
|
|
3209
3222
|
}
|
|
3210
|
-
function
|
|
3223
|
+
function U2(e) {
|
|
3211
3224
|
return ["transition-group", "TransitionGroup"].includes(e);
|
|
3212
3225
|
}
|
|
3213
|
-
function
|
|
3226
|
+
function X2(e) {
|
|
3214
3227
|
if (!e || e.length !== 1)
|
|
3215
3228
|
return !1;
|
|
3216
3229
|
const [{ type: t }] = e;
|
|
3217
|
-
return t ?
|
|
3230
|
+
return t ? U2(t.name) : !1;
|
|
3218
3231
|
}
|
|
3219
|
-
function
|
|
3232
|
+
function K2(e, t) {
|
|
3220
3233
|
return t ? { ...t.props, ...t.attrs } : e;
|
|
3221
3234
|
}
|
|
3222
|
-
const
|
|
3223
|
-
let
|
|
3224
|
-
const
|
|
3235
|
+
const Rt = ["Start", "Add", "Remove", "Update", "End"], Zt = ["Choose", "Unchoose", "Sort", "Filter", "Clone"], Q2 = ["Move", ...Rt, ...Zt].map((e) => "on" + e);
|
|
3236
|
+
let Pt = null;
|
|
3237
|
+
const J2 = {
|
|
3225
3238
|
options: Object,
|
|
3226
3239
|
list: {
|
|
3227
3240
|
type: Array,
|
|
@@ -3258,17 +3271,17 @@ const ea = {
|
|
|
3258
3271
|
required: !1,
|
|
3259
3272
|
default: null
|
|
3260
3273
|
}
|
|
3261
|
-
},
|
|
3274
|
+
}, ea = N({
|
|
3262
3275
|
name: "VueDraggableNext",
|
|
3263
3276
|
inheritAttrs: !1,
|
|
3264
3277
|
emits: [
|
|
3265
3278
|
"update:modelValue",
|
|
3266
3279
|
"move",
|
|
3267
3280
|
"change",
|
|
3268
|
-
...
|
|
3269
|
-
...
|
|
3281
|
+
...Rt.map((e) => e.toLowerCase()),
|
|
3282
|
+
...Zt.map((e) => e.toLowerCase())
|
|
3270
3283
|
],
|
|
3271
|
-
props:
|
|
3284
|
+
props: J2,
|
|
3272
3285
|
data() {
|
|
3273
3286
|
return {
|
|
3274
3287
|
transitionMode: !1,
|
|
@@ -3281,17 +3294,17 @@ const ea = {
|
|
|
3281
3294
|
};
|
|
3282
3295
|
},
|
|
3283
3296
|
render() {
|
|
3284
|
-
const e = this.$slots.default ? this.$slots.default() : null, t =
|
|
3285
|
-
return e ? (this.transitionMode =
|
|
3297
|
+
const e = this.$slots.default ? this.$slots.default() : null, t = K2(this.$attrs, this.componentData);
|
|
3298
|
+
return e ? (this.transitionMode = X2(e), Qt(this.getTag(), t, e)) : Qt(this.getTag(), t, []);
|
|
3286
3299
|
},
|
|
3287
3300
|
created() {
|
|
3288
|
-
this.list !== null && this.modelValue !== null &&
|
|
3301
|
+
this.list !== null && this.modelValue !== null && Z2.error("list props are mutually exclusive! Please set one.");
|
|
3289
3302
|
},
|
|
3290
3303
|
mounted() {
|
|
3291
3304
|
const e = {};
|
|
3292
|
-
|
|
3293
|
-
e["on" + i] =
|
|
3294
|
-
}),
|
|
3305
|
+
Rt.forEach((i) => {
|
|
3306
|
+
e["on" + i] = Y2.call(this, i);
|
|
3307
|
+
}), Zt.forEach((i) => {
|
|
3295
3308
|
e["on" + i] = Nn.bind(this, i);
|
|
3296
3309
|
});
|
|
3297
3310
|
const t = Object.keys(this.$attrs).reduce((i, a) => (i[hn(a)] = this.$attrs[a], i), {}), o = Object.assign({}, t, e, {
|
|
@@ -3299,7 +3312,7 @@ const ea = {
|
|
|
3299
3312
|
});
|
|
3300
3313
|
!("draggable" in o) && (o.draggable = ">*");
|
|
3301
3314
|
const n = this.$el.nodeType === 1 ? this.$el : this.$el.parentElement;
|
|
3302
|
-
this._sortable = new
|
|
3315
|
+
this._sortable = new O(n, o), n.__draggable_component__ = this, this.computeIndexes();
|
|
3303
3316
|
},
|
|
3304
3317
|
beforeUnmount() {
|
|
3305
3318
|
try {
|
|
@@ -3330,7 +3343,7 @@ const ea = {
|
|
|
3330
3343
|
updateOptions(e) {
|
|
3331
3344
|
for (var t in e) {
|
|
3332
3345
|
const o = hn(t);
|
|
3333
|
-
|
|
3346
|
+
Q2.indexOf(o) === -1 && this._sortable.option(o, e[t]);
|
|
3334
3347
|
}
|
|
3335
3348
|
},
|
|
3336
3349
|
getChildrenNodes() {
|
|
@@ -3338,11 +3351,11 @@ const ea = {
|
|
|
3338
3351
|
},
|
|
3339
3352
|
computeIndexes() {
|
|
3340
3353
|
this.$nextTick(() => {
|
|
3341
|
-
this.visibleIndexes =
|
|
3354
|
+
this.visibleIndexes = W2(this.getChildrenNodes(), this.$el.children, this.transitionMode, this.footerOffset);
|
|
3342
3355
|
});
|
|
3343
3356
|
},
|
|
3344
3357
|
getUnderlyingVm(e) {
|
|
3345
|
-
const t =
|
|
3358
|
+
const t = q2(this.getChildrenNodes() || [], e);
|
|
3346
3359
|
if (t === -1)
|
|
3347
3360
|
return null;
|
|
3348
3361
|
const o = this.realList[t];
|
|
@@ -3388,13 +3401,13 @@ const ea = {
|
|
|
3388
3401
|
o.children = [], o.kept = void 0;
|
|
3389
3402
|
},
|
|
3390
3403
|
onDragStart(e) {
|
|
3391
|
-
this.computeIndexes(), this.context = this.getUnderlyingVm(e.item), this.context && (e.item._underlying_vm_ = this.clone(this.context.element),
|
|
3404
|
+
this.computeIndexes(), this.context = this.getUnderlyingVm(e.item), this.context && (e.item._underlying_vm_ = this.clone(this.context.element), Pt = e.item);
|
|
3392
3405
|
},
|
|
3393
3406
|
onDragAdd(e) {
|
|
3394
3407
|
const t = e.item._underlying_vm_;
|
|
3395
3408
|
if (t === void 0)
|
|
3396
3409
|
return;
|
|
3397
|
-
|
|
3410
|
+
_t(e.item);
|
|
3398
3411
|
const o = this.getVmIndex(e.newIndex);
|
|
3399
3412
|
this.spliceList(o, 0, t), this.computeIndexes();
|
|
3400
3413
|
const n = { element: t, newIndex: o };
|
|
@@ -3402,7 +3415,7 @@ const ea = {
|
|
|
3402
3415
|
},
|
|
3403
3416
|
onDragRemove(e) {
|
|
3404
3417
|
if (pn(this.$el, e.item, e.oldIndex), e.pullMode === "clone") {
|
|
3405
|
-
|
|
3418
|
+
_t(e.clone);
|
|
3406
3419
|
return;
|
|
3407
3420
|
}
|
|
3408
3421
|
if (!this.context)
|
|
@@ -3413,7 +3426,7 @@ const ea = {
|
|
|
3413
3426
|
this.resetTransitionData(t), this.emitChanges({ removed: o });
|
|
3414
3427
|
},
|
|
3415
3428
|
onDragUpdate(e) {
|
|
3416
|
-
|
|
3429
|
+
_t(e.item), pn(e.from, e.item, e.oldIndex);
|
|
3417
3430
|
const t = this.context.index, o = this.getVmIndex(e.newIndex);
|
|
3418
3431
|
this.updatePosition(t, o);
|
|
3419
3432
|
const n = { element: this.context.element, oldIndex: t, newIndex: o };
|
|
@@ -3435,7 +3448,7 @@ const ea = {
|
|
|
3435
3448
|
return o(l, t);
|
|
3436
3449
|
},
|
|
3437
3450
|
onDragEnd() {
|
|
3438
|
-
this.computeIndexes(),
|
|
3451
|
+
this.computeIndexes(), Pt = null;
|
|
3439
3452
|
},
|
|
3440
3453
|
getTrargetedComponent(e) {
|
|
3441
3454
|
return e.__draggable_component__;
|
|
@@ -3457,13 +3470,13 @@ const ea = {
|
|
|
3457
3470
|
if (o.length === 0)
|
|
3458
3471
|
return 0;
|
|
3459
3472
|
const n = o.indexOf(t.related), i = e.component.getVmIndex(n);
|
|
3460
|
-
return o.indexOf(
|
|
3473
|
+
return o.indexOf(Pt) !== -1 || !t.willInsertAfter ? i : i + 1;
|
|
3461
3474
|
}
|
|
3462
3475
|
}
|
|
3463
|
-
}),
|
|
3476
|
+
}), ta = { class: "flex m-10" }, na = { class: "sortable-list" }, oa = {
|
|
3464
3477
|
name: "SortableList"
|
|
3465
|
-
},
|
|
3466
|
-
...
|
|
3478
|
+
}, t0 = /* @__PURE__ */ N({
|
|
3479
|
+
...oa,
|
|
3467
3480
|
props: {
|
|
3468
3481
|
list: {
|
|
3469
3482
|
required: !0,
|
|
@@ -3475,36 +3488,36 @@ const ea = {
|
|
|
3475
3488
|
const o = t, n = (i) => {
|
|
3476
3489
|
o("onDrag", i);
|
|
3477
3490
|
};
|
|
3478
|
-
return (i, a) => (c(),
|
|
3479
|
-
|
|
3480
|
-
ue(G(
|
|
3491
|
+
return (i, a) => (c(), h("div", ta, [
|
|
3492
|
+
p("ul", na, [
|
|
3493
|
+
ue(G(ea), {
|
|
3481
3494
|
list: e.list,
|
|
3482
3495
|
onChange: a[0] || (a[0] = (l) => n(e.list))
|
|
3483
3496
|
}, {
|
|
3484
3497
|
default: H(() => [
|
|
3485
|
-
(c(!0),
|
|
3498
|
+
(c(!0), h(j, null, se(e.list, (l) => (c(), h("li", {
|
|
3486
3499
|
key: l.id
|
|
3487
3500
|
}, [
|
|
3488
|
-
a[1] || (a[1] =
|
|
3489
|
-
|
|
3501
|
+
a[1] || (a[1] = p("span", { class: "grab-icon" }, [
|
|
3502
|
+
p("svg", {
|
|
3490
3503
|
"aria-label": "sort list item",
|
|
3491
3504
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3492
3505
|
width: "1em",
|
|
3493
3506
|
height: "1em",
|
|
3494
3507
|
viewBox: "0 0 48 48"
|
|
3495
3508
|
}, [
|
|
3496
|
-
|
|
3509
|
+
p("g", {
|
|
3497
3510
|
"fill-rule": "evenodd",
|
|
3498
3511
|
"clip-rule": "evenodd"
|
|
3499
3512
|
}, [
|
|
3500
|
-
|
|
3501
|
-
|
|
3513
|
+
p("path", { d: "M19 10C19 12.2091 17.2091 14 15 14C12.7909 14 11 12.2091 11 10C11 7.79086 12.7909 6 15 6C17.2091 6 19 7.79086 19 10ZM15 28C17.2091 28 19 26.2091 19 24C19 21.7909 17.2091 20 15 20C12.7909 20 11 21.7909 11 24C11 26.2091 12.7909 28 15 28ZM15 42C17.2091 42 19 40.2091 19 38C19 35.7909 17.2091 34 15 34C12.7909 34 11 35.7909 11 38C11 40.2091 12.7909 42 15 42Z" }),
|
|
3514
|
+
p("path", { d: "M37 10C37 12.2091 35.2091 14 33 14C30.7909 14 29 12.2091 29 10C29 7.79086 30.7909 6 33 6C35.2091 6 37 7.79086 37 10ZM33 28C35.2091 28 37 26.2091 37 24C37 21.7909 35.2091 20 33 20C30.7909 20 29 21.7909 29 24C29 26.2091 30.7909 28 33 28ZM33 42C35.2091 42 37 40.2091 37 38C37 35.7909 35.2091 34 33 34C30.7909 34 29 35.7909 29 38C29 40.2091 30.7909 42 33 42Z" })
|
|
3502
3515
|
])
|
|
3503
3516
|
])
|
|
3504
3517
|
], -1)),
|
|
3505
|
-
|
|
3506
|
-
l.render ? (c(),
|
|
3507
|
-
K(
|
|
3518
|
+
p("div", null, [
|
|
3519
|
+
l.render ? (c(), I(de(l.render(l.data)), { key: 0 })) : (c(), h(j, { key: 1 }, [
|
|
3520
|
+
K(T(l.data), 1)
|
|
3508
3521
|
], 64))
|
|
3509
3522
|
])
|
|
3510
3523
|
]))), 128))
|
|
@@ -3514,10 +3527,10 @@ const ea = {
|
|
|
3514
3527
|
])
|
|
3515
3528
|
]));
|
|
3516
3529
|
}
|
|
3517
|
-
}),
|
|
3530
|
+
}), ia = ["disabled"], aa = ["src", "alt"], la = {
|
|
3518
3531
|
name: "SSOButton"
|
|
3519
|
-
}, Fn = /* @__PURE__ */
|
|
3520
|
-
...
|
|
3532
|
+
}, Fn = /* @__PURE__ */ N({
|
|
3533
|
+
...la,
|
|
3521
3534
|
props: {
|
|
3522
3535
|
alignCenter: Boolean,
|
|
3523
3536
|
alternativeText: {
|
|
@@ -3553,22 +3566,22 @@ const ea = {
|
|
|
3553
3566
|
},
|
|
3554
3567
|
emits: ["click"],
|
|
3555
3568
|
setup(e) {
|
|
3556
|
-
return (t, o) => (c(),
|
|
3557
|
-
class:
|
|
3569
|
+
return (t, o) => (c(), h("button", {
|
|
3570
|
+
class: A(["sso-button", e.variant, e.borderType, { center: e.alignCenter }]),
|
|
3558
3571
|
disabled: e.disabled || e.loading,
|
|
3559
3572
|
onClick: o[0] || (o[0] = (n) => t.$emit("click"))
|
|
3560
3573
|
}, [
|
|
3561
|
-
|
|
3574
|
+
p("img", {
|
|
3562
3575
|
src: e.imageSource,
|
|
3563
3576
|
alt: e.alternativeText
|
|
3564
|
-
}, null, 8,
|
|
3565
|
-
|
|
3566
|
-
], 10,
|
|
3577
|
+
}, null, 8, aa),
|
|
3578
|
+
p("span", null, T(e.title), 1)
|
|
3579
|
+
], 10, ia));
|
|
3567
3580
|
}
|
|
3568
|
-
}), sa = "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", ua = {
|
|
3581
|
+
}), ra = "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", sa = {
|
|
3569
3582
|
name: "FacebookSignInButton"
|
|
3570
|
-
},
|
|
3571
|
-
...
|
|
3583
|
+
}, n0 = /* @__PURE__ */ N({
|
|
3584
|
+
...sa,
|
|
3572
3585
|
props: {
|
|
3573
3586
|
baseButtonOptions: {
|
|
3574
3587
|
default: () => ({}),
|
|
@@ -3589,19 +3602,19 @@ const ea = {
|
|
|
3589
3602
|
},
|
|
3590
3603
|
emits: ["click"],
|
|
3591
3604
|
setup(e) {
|
|
3592
|
-
return (t, o) => (c(),
|
|
3605
|
+
return (t, o) => (c(), I(Fn, te(e.baseButtonOptions, {
|
|
3593
3606
|
disabled: e.disabled,
|
|
3594
|
-
"image-source": G(
|
|
3607
|
+
"image-source": G(ra),
|
|
3595
3608
|
loading: e.loading,
|
|
3596
3609
|
title: e.title,
|
|
3597
3610
|
class: "facebook",
|
|
3598
3611
|
onClick: o[0] || (o[0] = (n) => t.$emit("click"))
|
|
3599
3612
|
}), null, 16, ["disabled", "image-source", "loading", "title"]));
|
|
3600
3613
|
}
|
|
3601
|
-
}),
|
|
3614
|
+
}), ua = "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", ca = {
|
|
3602
3615
|
name: "GoogleSignInButton"
|
|
3603
|
-
},
|
|
3604
|
-
...
|
|
3616
|
+
}, o0 = /* @__PURE__ */ N({
|
|
3617
|
+
...ca,
|
|
3605
3618
|
props: {
|
|
3606
3619
|
baseButtonOptions: {
|
|
3607
3620
|
default: () => ({}),
|
|
@@ -3622,25 +3635,25 @@ const ea = {
|
|
|
3622
3635
|
},
|
|
3623
3636
|
emits: ["click"],
|
|
3624
3637
|
setup(e) {
|
|
3625
|
-
return (t, o) => (c(),
|
|
3638
|
+
return (t, o) => (c(), I(Fn, te(e.baseButtonOptions, {
|
|
3626
3639
|
disabled: e.disabled,
|
|
3627
|
-
"image-source": G(
|
|
3640
|
+
"image-source": G(ua),
|
|
3628
3641
|
loading: e.loading,
|
|
3629
3642
|
title: e.title,
|
|
3630
3643
|
class: "google",
|
|
3631
3644
|
onClick: o[0] || (o[0] = (n) => t.$emit("click"))
|
|
3632
3645
|
}), null, 16, ["disabled", "image-source", "loading", "title"]));
|
|
3633
3646
|
}
|
|
3634
|
-
}),
|
|
3647
|
+
}), da = "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", fa = { class: "content-wrapper" }, ha = {
|
|
3635
3648
|
key: 0,
|
|
3636
3649
|
class: "content"
|
|
3637
|
-
},
|
|
3650
|
+
}, pa = {
|
|
3638
3651
|
key: 0,
|
|
3639
3652
|
class: "actions"
|
|
3640
|
-
},
|
|
3653
|
+
}, ga = {
|
|
3641
3654
|
name: "StepperContent"
|
|
3642
|
-
}, gn = /* @__PURE__ */
|
|
3643
|
-
...
|
|
3655
|
+
}, gn = /* @__PURE__ */ N({
|
|
3656
|
+
...ga,
|
|
3644
3657
|
props: {
|
|
3645
3658
|
activeIndex: {
|
|
3646
3659
|
default: void 0,
|
|
@@ -3662,17 +3675,17 @@ const ea = {
|
|
|
3662
3675
|
},
|
|
3663
3676
|
emits: ["click:next", "click:previous"],
|
|
3664
3677
|
setup(e) {
|
|
3665
|
-
return (t, o) => (c(),
|
|
3666
|
-
(c(!0),
|
|
3667
|
-
i === e.activeIndex && n.content ? (c(),
|
|
3678
|
+
return (t, o) => (c(), h("div", fa, [
|
|
3679
|
+
(c(!0), h(j, null, se(e.steps, (n, i) => (c(), h(j, { key: i }, [
|
|
3680
|
+
i === e.activeIndex && n.content ? (c(), h("div", ha, [
|
|
3668
3681
|
B(t.$slots, n?.step, {}, () => [
|
|
3669
|
-
typeof n.content == "string" ? (c(),
|
|
3670
|
-
K(
|
|
3671
|
-
], 64)) : (c(),
|
|
3682
|
+
typeof n.content == "string" ? (c(), h(j, { key: 0 }, [
|
|
3683
|
+
K(T(n.content), 1)
|
|
3684
|
+
], 64)) : (c(), I(de(n.content), { key: 1 }))
|
|
3672
3685
|
])
|
|
3673
3686
|
])) : C("", !0)
|
|
3674
3687
|
], 64))), 128)),
|
|
3675
|
-
e.hideButtons ? C("", !0) : (c(),
|
|
3688
|
+
e.hideButtons ? C("", !0) : (c(), h("div", pa, [
|
|
3676
3689
|
ue(G(le), te({
|
|
3677
3690
|
disabled: e.activeIndex === 0,
|
|
3678
3691
|
label: "Previous",
|
|
@@ -3689,13 +3702,13 @@ const ea = {
|
|
|
3689
3702
|
]))
|
|
3690
3703
|
]));
|
|
3691
3704
|
}
|
|
3692
|
-
}), va = { class: "steps" },
|
|
3705
|
+
}), va = { class: "steps" }, ma = {
|
|
3693
3706
|
key: 1,
|
|
3694
|
-
src:
|
|
3695
|
-
},
|
|
3707
|
+
src: da
|
|
3708
|
+
}, ba = { class: "step-content-wrapper" }, Ca = {
|
|
3696
3709
|
name: "Stepper"
|
|
3697
|
-
},
|
|
3698
|
-
...
|
|
3710
|
+
}, i0 = /* @__PURE__ */ N({
|
|
3711
|
+
...Ca,
|
|
3699
3712
|
props: {
|
|
3700
3713
|
activeIndex: {
|
|
3701
3714
|
default: void 0,
|
|
@@ -3727,7 +3740,7 @@ const ea = {
|
|
|
3727
3740
|
},
|
|
3728
3741
|
emits: ["complete", "update:activeIndex"],
|
|
3729
3742
|
setup(e, { expose: t, emit: o }) {
|
|
3730
|
-
const n = e, i = o, a =
|
|
3743
|
+
const n = e, i = o, a = P(0), l = W(() => n.steps[a.value]);
|
|
3731
3744
|
bn(() => {
|
|
3732
3745
|
n.activeIndex !== void 0 && n.activeIndex !== null && (a.value = n.activeIndex);
|
|
3733
3746
|
});
|
|
@@ -3740,50 +3753,50 @@ const ea = {
|
|
|
3740
3753
|
activeStepIndex: a,
|
|
3741
3754
|
onNext: r,
|
|
3742
3755
|
onPrevious: s
|
|
3743
|
-
}), (u, f) => (c(),
|
|
3744
|
-
class:
|
|
3756
|
+
}), (u, f) => (c(), h("div", {
|
|
3757
|
+
class: A(`stepper ${e.align} ${e.direction}`)
|
|
3745
3758
|
}, [
|
|
3746
|
-
|
|
3747
|
-
(c(!0),
|
|
3748
|
-
key:
|
|
3749
|
-
class:
|
|
3759
|
+
p("ul", va, [
|
|
3760
|
+
(c(!0), h(j, null, se(e.steps, (d, m) => (c(), h("li", {
|
|
3761
|
+
key: m,
|
|
3762
|
+
class: A([
|
|
3750
3763
|
"step",
|
|
3751
3764
|
{
|
|
3752
|
-
active:
|
|
3753
|
-
completed:
|
|
3765
|
+
active: m === a.value,
|
|
3766
|
+
completed: m < a.value
|
|
3754
3767
|
}
|
|
3755
3768
|
])
|
|
3756
3769
|
}, [
|
|
3757
|
-
|
|
3758
|
-
class:
|
|
3770
|
+
p("span", {
|
|
3771
|
+
class: A([
|
|
3759
3772
|
"step-number",
|
|
3760
3773
|
{
|
|
3761
|
-
active:
|
|
3762
|
-
completed:
|
|
3774
|
+
active: m === a.value,
|
|
3775
|
+
completed: m < a.value
|
|
3763
3776
|
}
|
|
3764
3777
|
])
|
|
3765
3778
|
}, [
|
|
3766
|
-
|
|
3767
|
-
d?.completedStepIcon ? (c(),
|
|
3768
|
-
typeof d?.completedStepIcon == "string" ? (c(),
|
|
3779
|
+
m < a.value ? (c(), h(j, { key: 0 }, [
|
|
3780
|
+
d?.completedStepIcon ? (c(), h(j, { key: 0 }, [
|
|
3781
|
+
typeof d?.completedStepIcon == "string" ? (c(), h("i", {
|
|
3769
3782
|
key: 0,
|
|
3770
|
-
class:
|
|
3771
|
-
}, null, 2)) : (c(),
|
|
3772
|
-
], 64)) : (c(),
|
|
3773
|
-
], 64)) : (c(),
|
|
3774
|
-
K(
|
|
3783
|
+
class: A(d?.completedStepIcon)
|
|
3784
|
+
}, null, 2)) : (c(), I(de(d?.completedStepIcon), { key: 1 }))
|
|
3785
|
+
], 64)) : (c(), h("img", ma))
|
|
3786
|
+
], 64)) : (c(), h(j, { key: 1 }, [
|
|
3787
|
+
K(T(d.step || m + 1), 1)
|
|
3775
3788
|
], 64))
|
|
3776
3789
|
], 2),
|
|
3777
|
-
|
|
3778
|
-
d.label ? (c(),
|
|
3790
|
+
p("div", ba, [
|
|
3791
|
+
d.label ? (c(), h("span", {
|
|
3779
3792
|
key: 0,
|
|
3780
|
-
class:
|
|
3781
|
-
},
|
|
3782
|
-
d.subtitle ? (c(),
|
|
3793
|
+
class: A([{ active: m === a.value }, "step-label"])
|
|
3794
|
+
}, T(d.label), 3)) : C("", !0),
|
|
3795
|
+
d.subtitle ? (c(), h("span", {
|
|
3783
3796
|
key: 1,
|
|
3784
|
-
class:
|
|
3785
|
-
},
|
|
3786
|
-
n.direction === "vertical" && l.value?.content &&
|
|
3797
|
+
class: A(["step-subtitle", { active: m === a.value }])
|
|
3798
|
+
}, T(d.subtitle), 3)) : C("", !0),
|
|
3799
|
+
n.direction === "vertical" && l.value?.content && m === a.value ? (c(), I(gn, {
|
|
3787
3800
|
key: 2,
|
|
3788
3801
|
"active-index": a.value,
|
|
3789
3802
|
"hide-buttons": e.hideButtons,
|
|
@@ -3801,7 +3814,7 @@ const ea = {
|
|
|
3801
3814
|
])
|
|
3802
3815
|
], 2))), 128))
|
|
3803
3816
|
]),
|
|
3804
|
-
n.direction === "horizontal" && l.value?.content ? (c(),
|
|
3817
|
+
n.direction === "horizontal" && l.value?.content ? (c(), I(gn, {
|
|
3805
3818
|
key: 0,
|
|
3806
3819
|
"active-index": a.value,
|
|
3807
3820
|
"hide-buttons": e.hideButtons,
|
|
@@ -3818,13 +3831,13 @@ const ea = {
|
|
|
3818
3831
|
}, 1032, ["active-index", "hide-buttons", "next-button-properties", "previous-button-properties", "steps"])) : C("", !0)
|
|
3819
3832
|
], 2));
|
|
3820
3833
|
}
|
|
3821
|
-
}),
|
|
3834
|
+
}), ya = ["data-position"], wa = { role: "tablist" }, Sa = ["data-selected"], ka = ["aria-expanded", "onClick"], $a = ["src"], Da = {
|
|
3822
3835
|
class: "tabbed-pane",
|
|
3823
3836
|
role: "region"
|
|
3824
|
-
},
|
|
3837
|
+
}, Ea = {
|
|
3825
3838
|
name: "TabbedPanel"
|
|
3826
|
-
},
|
|
3827
|
-
...
|
|
3839
|
+
}, a0 = /* @__PURE__ */ N({
|
|
3840
|
+
...Ea,
|
|
3828
3841
|
props: {
|
|
3829
3842
|
defaultIndex: {
|
|
3830
3843
|
default: 0,
|
|
@@ -3838,52 +3851,52 @@ const ea = {
|
|
|
3838
3851
|
}
|
|
3839
3852
|
},
|
|
3840
3853
|
setup(e) {
|
|
3841
|
-
const t = ke(), o = e, n =
|
|
3854
|
+
const t = ke(), o = e, n = P(o.defaultIndex), i = (r) => {
|
|
3842
3855
|
n.value = r;
|
|
3843
3856
|
}, a = t?.default ? t.default().filter((r) => r?.props?.title) : [], l = W(() => a[n.value]);
|
|
3844
|
-
return (r, s) => G(a).length ? (c(),
|
|
3857
|
+
return (r, s) => G(a).length ? (c(), h("div", {
|
|
3845
3858
|
key: 0,
|
|
3846
3859
|
class: "tabbed-panel",
|
|
3847
3860
|
"data-position": o.position
|
|
3848
3861
|
}, [
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
(c(!0),
|
|
3862
|
+
p("nav", null, [
|
|
3863
|
+
p("ul", wa, [
|
|
3864
|
+
(c(!0), h(j, null, se(G(a), (u, f) => (c(), h("li", {
|
|
3852
3865
|
key: f,
|
|
3853
3866
|
"data-selected": f === n.value
|
|
3854
3867
|
}, [
|
|
3855
|
-
|
|
3868
|
+
p("button", {
|
|
3856
3869
|
"aria-expanded": f === n.value,
|
|
3857
3870
|
tabindex: "0",
|
|
3858
3871
|
type: "button",
|
|
3859
3872
|
onClick: (d) => i(f)
|
|
3860
3873
|
}, [
|
|
3861
3874
|
B(r.$slots, "icon", te({ ref_for: !0 }, u), () => [
|
|
3862
|
-
u?.props?.icon ? (c(),
|
|
3875
|
+
u?.props?.icon ? (c(), h("img", {
|
|
3863
3876
|
key: 0,
|
|
3864
3877
|
src: u?.props?.icon,
|
|
3865
3878
|
class: "icon"
|
|
3866
|
-
}, null, 8,
|
|
3879
|
+
}, null, 8, $a)) : C("", !0)
|
|
3867
3880
|
]),
|
|
3868
|
-
|
|
3869
|
-
], 8,
|
|
3870
|
-
], 8,
|
|
3881
|
+
p("span", null, T(u.props?.title), 1)
|
|
3882
|
+
], 8, ka)
|
|
3883
|
+
], 8, Sa))), 128))
|
|
3871
3884
|
])
|
|
3872
3885
|
]),
|
|
3873
|
-
ue(
|
|
3886
|
+
ue(vn, {
|
|
3874
3887
|
appear: "",
|
|
3875
3888
|
name: "expand"
|
|
3876
3889
|
}, {
|
|
3877
3890
|
default: H(() => [
|
|
3878
|
-
|
|
3879
|
-
(c(),
|
|
3891
|
+
p("div", Da, [
|
|
3892
|
+
(c(), I(de(l.value)))
|
|
3880
3893
|
])
|
|
3881
3894
|
]),
|
|
3882
3895
|
_: 1
|
|
3883
3896
|
})
|
|
3884
|
-
], 8,
|
|
3897
|
+
], 8, ya)) : C("", !0);
|
|
3885
3898
|
}
|
|
3886
|
-
}),
|
|
3899
|
+
}), xa = (e) => {
|
|
3887
3900
|
let t;
|
|
3888
3901
|
switch (e) {
|
|
3889
3902
|
case "top":
|
|
@@ -3899,9 +3912,9 @@ const ea = {
|
|
|
3899
3912
|
break;
|
|
3900
3913
|
}
|
|
3901
3914
|
return t;
|
|
3902
|
-
}, Oa = ["id"],
|
|
3915
|
+
}, Oa = ["id"], Ta = ["aria-orientation"], La = ["id", "aria-label", "aria-selected", "onClick"], Ma = ["title"], Ba = ["onClick"], Ia = { role: "tabpanel" }, Aa = {
|
|
3903
3916
|
name: "TabView"
|
|
3904
|
-
},
|
|
3917
|
+
}, l0 = /* @__PURE__ */ N({
|
|
3905
3918
|
...Aa,
|
|
3906
3919
|
props: {
|
|
3907
3920
|
activeKey: {
|
|
@@ -3948,18 +3961,18 @@ const ea = {
|
|
|
3948
3961
|
"update:visibleTabs"
|
|
3949
3962
|
],
|
|
3950
3963
|
setup(e, { expose: t, emit: o }) {
|
|
3951
|
-
const n = e, i = o, a = ke(), l =
|
|
3964
|
+
const n = e, i = o, a = ke(), l = P(n.activeKey), r = P(!1), s = P(
|
|
3952
3965
|
n.visibleTabs?.length ? n.visibleTabs : n.tabs.map((g) => g.key)
|
|
3953
3966
|
), u = W(() => d.value.find((g) => g.key === l.value)?.children || $.value.find(
|
|
3954
3967
|
(g) => typeof g == "object" && g !== null && "props" in g && g.props?.key === l.value
|
|
3955
|
-
)), f = W(() =>
|
|
3968
|
+
)), f = W(() => xa(n.position)), d = W(
|
|
3956
3969
|
() => s.value.map((g) => n.tabs.find((k) => k.key === g)).filter((g) => g !== void 0)
|
|
3957
|
-
),
|
|
3970
|
+
), m = W(() => Qo(n.persistStateStorage)), $ = W(() => (a?.default?.() ?? []).flatMap((k) => Array.isArray(k?.children) && !k?.props?.key ? k.children.filter(
|
|
3958
3971
|
(w) => typeof w == "object" && w !== null && "props" in w && w.props?.key
|
|
3959
3972
|
) : k?.props?.key ? [k] : []));
|
|
3960
3973
|
et(() => {
|
|
3961
3974
|
if (n.persistState && n.id) {
|
|
3962
|
-
const g =
|
|
3975
|
+
const g = m.value.getItem(n.id);
|
|
3963
3976
|
if (g) {
|
|
3964
3977
|
const k = JSON.parse(g);
|
|
3965
3978
|
l.value = k.activeTab || n.activeKey, k.visibleTabs && (s.value = k.visibleTabs);
|
|
@@ -3977,7 +3990,7 @@ const ea = {
|
|
|
3977
3990
|
r.value && b(g);
|
|
3978
3991
|
}
|
|
3979
3992
|
), Ve([s, l], () => {
|
|
3980
|
-
n.id && n.persistState &&
|
|
3993
|
+
n.id && n.persistState && m.value.setItem(
|
|
3981
3994
|
n.id,
|
|
3982
3995
|
JSON.stringify({
|
|
3983
3996
|
activeTab: l.value,
|
|
@@ -4018,32 +4031,32 @@ const ea = {
|
|
|
4018
4031
|
return t({
|
|
4019
4032
|
closeTab: M,
|
|
4020
4033
|
setActiveTab: b
|
|
4021
|
-
}), (g, k) => (c(),
|
|
4034
|
+
}), (g, k) => (c(), h("div", {
|
|
4022
4035
|
id: e.id,
|
|
4023
|
-
class:
|
|
4036
|
+
class: A(["tabbed-panel", e.position])
|
|
4024
4037
|
}, [
|
|
4025
|
-
|
|
4038
|
+
p("div", {
|
|
4026
4039
|
"aria-orientation": f.value,
|
|
4027
4040
|
role: "tablist"
|
|
4028
4041
|
}, [
|
|
4029
|
-
(c(!0),
|
|
4042
|
+
(c(!0), h(j, null, se(d.value, (w, V) => (c(), h("button", {
|
|
4030
4043
|
id: w.key,
|
|
4031
4044
|
key: V,
|
|
4032
4045
|
"aria-label": w.label,
|
|
4033
4046
|
"aria-selected": S(w.key),
|
|
4034
|
-
class:
|
|
4047
|
+
class: A({ active: S(w.key) }),
|
|
4035
4048
|
role: "tab",
|
|
4036
4049
|
tabindex: "0",
|
|
4037
4050
|
onClick: (J) => E(w.key)
|
|
4038
4051
|
}, [
|
|
4039
|
-
w?.icon ? (c(),
|
|
4052
|
+
w?.icon ? (c(), h("i", {
|
|
4040
4053
|
key: 0,
|
|
4041
|
-
class:
|
|
4054
|
+
class: A(["icon", w?.icon])
|
|
4042
4055
|
}, null, 2)) : C("", !0),
|
|
4043
|
-
|
|
4056
|
+
p("span", {
|
|
4044
4057
|
title: w.label
|
|
4045
|
-
},
|
|
4046
|
-
w.closable ? (c(),
|
|
4058
|
+
}, T(w.label), 9, Ma),
|
|
4059
|
+
w.closable ? (c(), h("svg", {
|
|
4047
4060
|
key: 1,
|
|
4048
4061
|
height: "24",
|
|
4049
4062
|
viewBox: "0 0 24 24",
|
|
@@ -4051,32 +4064,32 @@ const ea = {
|
|
|
4051
4064
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4052
4065
|
onClick: Gn((J) => D(w.key), ["stop"])
|
|
4053
4066
|
}, k[0] || (k[0] = [
|
|
4054
|
-
|
|
4067
|
+
p("path", {
|
|
4055
4068
|
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",
|
|
4056
4069
|
fill: "currentColor"
|
|
4057
4070
|
}, null, -1)
|
|
4058
|
-
]), 8,
|
|
4059
|
-
], 10,
|
|
4060
|
-
], 8,
|
|
4061
|
-
|
|
4062
|
-
typeof u.value == "string" ? (c(),
|
|
4063
|
-
K(
|
|
4064
|
-
], 64)) : (c(),
|
|
4065
|
-
e.lazy ? (c(),
|
|
4066
|
-
u.value ? (c(),
|
|
4067
|
-
], 64)) : (c(!0),
|
|
4071
|
+
]), 8, Ba)) : C("", !0)
|
|
4072
|
+
], 10, La))), 128))
|
|
4073
|
+
], 8, Ta),
|
|
4074
|
+
p("div", Ia, [
|
|
4075
|
+
typeof u.value == "string" ? (c(), h(j, { key: 0 }, [
|
|
4076
|
+
K(T(u.value), 1)
|
|
4077
|
+
], 64)) : (c(), h(j, { key: 1 }, [
|
|
4078
|
+
e.lazy ? (c(), h(j, { key: 1 }, [
|
|
4079
|
+
u.value ? (c(), I(de(u.value), { key: 0 })) : C("", !0)
|
|
4080
|
+
], 64)) : (c(!0), h(j, { key: 0 }, se($.value, (w, V) => Gt((c(), I(de(w), {
|
|
4068
4081
|
key: `slot-component-${V}`
|
|
4069
4082
|
})), [
|
|
4070
|
-
[
|
|
4083
|
+
[qt, w === u.value]
|
|
4071
4084
|
])), 128))
|
|
4072
4085
|
], 64))
|
|
4073
4086
|
])
|
|
4074
4087
|
], 10, Oa));
|
|
4075
4088
|
}
|
|
4076
|
-
}),
|
|
4089
|
+
}), _a = ["aria-label"], Pa = {
|
|
4077
4090
|
name: "Tooltip"
|
|
4078
|
-
},
|
|
4079
|
-
...
|
|
4091
|
+
}, r0 = /* @__PURE__ */ N({
|
|
4092
|
+
...Pa,
|
|
4080
4093
|
props: {
|
|
4081
4094
|
ariaLabel: {
|
|
4082
4095
|
default: "tooltip",
|
|
@@ -4103,7 +4116,7 @@ const ea = {
|
|
|
4103
4116
|
}
|
|
4104
4117
|
},
|
|
4105
4118
|
setup(e) {
|
|
4106
|
-
const t = e, o =
|
|
4119
|
+
const t = e, o = P(null), n = P(null), i = P(null), a = P(!1), l = P(), r = P({ top: "0", left: "0" }), s = P([]), u = P(!1), f = P(null), d = ke(), { width: m, height: $ } = wt(), S = W(() => !!d.content);
|
|
4107
4120
|
Cn(() => {
|
|
4108
4121
|
window.removeEventListener("resize", E), s.value.forEach(({ element: y, listener: g }) => {
|
|
4109
4122
|
y.removeEventListener("scroll", g);
|
|
@@ -4124,13 +4137,13 @@ const ea = {
|
|
|
4124
4137
|
return;
|
|
4125
4138
|
const y = i.value.getBoundingClientRect(), g = n.value.getBoundingClientRect();
|
|
4126
4139
|
let k = 0, w = 0;
|
|
4127
|
-
const V = t.position || kn(y), J = y.top - g.height - t.offset >= 0, U = $.value - (y.bottom + g.height + t.offset) >= 0,
|
|
4140
|
+
const V = t.position || kn(y), J = y.top - g.height - t.offset >= 0, U = $.value - (y.bottom + g.height + t.offset) >= 0, pe = y.left + y.width / 2 - g.width / 2, oe = y.top + y.height / 2 - g.height / 2;
|
|
4128
4141
|
switch (V) {
|
|
4129
4142
|
case "top":
|
|
4130
|
-
k = J ? y.top - g.height - t.offset : y.bottom + t.offset, w =
|
|
4143
|
+
k = J ? y.top - g.height - t.offset : y.bottom + t.offset, w = pe;
|
|
4131
4144
|
break;
|
|
4132
4145
|
case "bottom":
|
|
4133
|
-
k = U ? y.bottom + t.offset : y.top - g.height - t.offset, w =
|
|
4146
|
+
k = U ? y.bottom + t.offset : y.top - g.height - t.offset, w = pe;
|
|
4134
4147
|
break;
|
|
4135
4148
|
case "left":
|
|
4136
4149
|
w = y.left - g.width - t.offset, k = oe;
|
|
@@ -4139,13 +4152,13 @@ const ea = {
|
|
|
4139
4152
|
w = y.left + y.width + t.offset, k = oe;
|
|
4140
4153
|
break;
|
|
4141
4154
|
}
|
|
4142
|
-
const
|
|
4143
|
-
if (a.value =
|
|
4155
|
+
const be = $.value - (k + g.height), fe = k;
|
|
4156
|
+
if (a.value = fe > 0 && be > 0, V === "right" || V === "left")
|
|
4144
4157
|
w = Math.max(0, w);
|
|
4145
4158
|
else {
|
|
4146
|
-
w + g.width >
|
|
4147
|
-
const
|
|
4148
|
-
k = Math.min(Math.max(k, 0),
|
|
4159
|
+
w + g.width > m.value && (w = m.value - g.width), w = Math.max(0, w);
|
|
4160
|
+
const Ce = $.value - g.height;
|
|
4161
|
+
k = Math.min(Math.max(k, 0), Ce);
|
|
4149
4162
|
}
|
|
4150
4163
|
r.value = {
|
|
4151
4164
|
top: `${k}px`,
|
|
@@ -4159,7 +4172,7 @@ const ea = {
|
|
|
4159
4172
|
};
|
|
4160
4173
|
g.addEventListener("scroll", k), s.value.push({ element: g, listener: k });
|
|
4161
4174
|
});
|
|
4162
|
-
}), (y, g) => (c(),
|
|
4175
|
+
}), (y, g) => (c(), h("div", {
|
|
4163
4176
|
ref_key: "dzangolabVueUITooltip",
|
|
4164
4177
|
ref: o,
|
|
4165
4178
|
"aria-label": e.ariaLabel,
|
|
@@ -4168,28 +4181,28 @@ const ea = {
|
|
|
4168
4181
|
onMouseleave: E,
|
|
4169
4182
|
onClick: D
|
|
4170
4183
|
}, [
|
|
4171
|
-
|
|
4184
|
+
p("div", {
|
|
4172
4185
|
ref_key: "dzangolabVueUITooltipTrigger",
|
|
4173
4186
|
ref: i,
|
|
4174
|
-
class:
|
|
4187
|
+
class: A([{ clickable: e.clickable }, "tooltip-trigger"])
|
|
4175
4188
|
}, [
|
|
4176
4189
|
B(y.$slots, "default")
|
|
4177
4190
|
], 2),
|
|
4178
|
-
a.value ? (c(),
|
|
4191
|
+
a.value ? (c(), h("div", {
|
|
4179
4192
|
key: 0,
|
|
4180
4193
|
ref_key: "dzangolabVueUITooltipContent",
|
|
4181
4194
|
ref: n,
|
|
4182
|
-
class:
|
|
4195
|
+
class: A(["tooltip-content", l.value]),
|
|
4183
4196
|
style: Ne(r.value)
|
|
4184
4197
|
}, [
|
|
4185
4198
|
B(y.$slots, "content")
|
|
4186
4199
|
], 6)) : C("", !0)
|
|
4187
|
-
], 40,
|
|
4200
|
+
], 40, _a));
|
|
4188
4201
|
}
|
|
4189
|
-
}),
|
|
4202
|
+
}), Na = ["aria-label", "href", "data-youtube-video-token"], Fa = ["src", "alt", "data-aspect-ratio"], Va = ["href"], ja = {
|
|
4190
4203
|
name: "YoutubeFacade"
|
|
4191
|
-
},
|
|
4192
|
-
...
|
|
4204
|
+
}, s0 = /* @__PURE__ */ N({
|
|
4205
|
+
...ja,
|
|
4193
4206
|
props: {
|
|
4194
4207
|
alt: {
|
|
4195
4208
|
default: null,
|
|
@@ -4229,14 +4242,14 @@ const ea = {
|
|
|
4229
4242
|
const s = a.parentNode;
|
|
4230
4243
|
s && s.replaceChild(r, a);
|
|
4231
4244
|
}, n = W(() => t.imageSource || `https://img.youtube.com/vi/${t.videoToken}/maxresdefault.jpg`);
|
|
4232
|
-
return (i, a) => (c(),
|
|
4245
|
+
return (i, a) => (c(), h("div", {
|
|
4233
4246
|
class: "youtube-facade",
|
|
4234
4247
|
style: Ne(`background-image: url(${n.value})`)
|
|
4235
4248
|
}, [
|
|
4236
|
-
|
|
4249
|
+
p("div", {
|
|
4237
4250
|
style: Ne(`aspect-ratio: ${e.aspectRatio}`)
|
|
4238
4251
|
}, [
|
|
4239
|
-
|
|
4252
|
+
p("a", {
|
|
4240
4253
|
"aria-label": (e.alt ?? "youtube") + " video",
|
|
4241
4254
|
href: e.videoLink,
|
|
4242
4255
|
"data-youtube-video-token": e.videoToken,
|
|
@@ -4245,66 +4258,66 @@ const ea = {
|
|
|
4245
4258
|
style: Ne(`aspect-ratio: ${e.aspectRatio}`),
|
|
4246
4259
|
onClick: o
|
|
4247
4260
|
}, [
|
|
4248
|
-
|
|
4261
|
+
p("img", {
|
|
4249
4262
|
src: n.value,
|
|
4250
4263
|
alt: e.alt,
|
|
4251
4264
|
"data-aspect-ratio": e.aspectRatio,
|
|
4252
4265
|
style: Ne(`aspect-ratio: ${e.aspectRatio}`)
|
|
4253
|
-
}, null, 12,
|
|
4254
|
-
], 12,
|
|
4255
|
-
|
|
4266
|
+
}, null, 12, Fa)
|
|
4267
|
+
], 12, Na),
|
|
4268
|
+
p("a", {
|
|
4256
4269
|
href: e.videoLink,
|
|
4257
4270
|
rel: "noreferrer",
|
|
4258
4271
|
target: "_blank"
|
|
4259
4272
|
}, a[0] || (a[0] = [
|
|
4260
4273
|
K(" Watch On "),
|
|
4261
|
-
|
|
4262
|
-
]), 8,
|
|
4274
|
+
p("b", null, "YouTube", -1)
|
|
4275
|
+
]), 8, Va)
|
|
4263
4276
|
], 4)
|
|
4264
4277
|
], 4));
|
|
4265
4278
|
}
|
|
4266
|
-
}),
|
|
4279
|
+
}), u0 = {
|
|
4267
4280
|
install: (e) => {
|
|
4268
|
-
e.component("LoadingButton",
|
|
4281
|
+
e.component("LoadingButton", $o), e.component("LoadingIcon", Ct), e.component("Page", d2);
|
|
4269
4282
|
}
|
|
4270
4283
|
};
|
|
4271
4284
|
export {
|
|
4272
|
-
|
|
4273
|
-
|
|
4285
|
+
Za as Accordion,
|
|
4286
|
+
to as BadgeComponent,
|
|
4274
4287
|
le as ButtonElement,
|
|
4275
4288
|
vo as Card,
|
|
4276
4289
|
tn as ConfirmationModal,
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4290
|
+
Ha as Data,
|
|
4291
|
+
Xa as DebouncedInput,
|
|
4292
|
+
qa as Divider,
|
|
4293
|
+
ui as Dropdown,
|
|
4294
|
+
Ya as Errors,
|
|
4295
|
+
n0 as FacebookSignInButton,
|
|
4296
|
+
_i as FileCard,
|
|
4297
|
+
Ua as FilesList,
|
|
4298
|
+
o0 as GoogleSignInButton,
|
|
4299
|
+
Ka as GridContainer,
|
|
4300
|
+
$o as LoadingButton,
|
|
4301
|
+
Ct as LoadingIcon,
|
|
4302
|
+
qi as LoadingPage,
|
|
4303
|
+
Qa as Message,
|
|
4304
|
+
Ja as Modal,
|
|
4305
|
+
d2 as Page,
|
|
4306
|
+
ni as Popup,
|
|
4307
|
+
e0 as ResponsiveMenu,
|
|
4308
|
+
t0 as SortableList,
|
|
4309
|
+
i0 as Stepper,
|
|
4310
|
+
Ga as SubPane,
|
|
4311
|
+
l0 as TabView,
|
|
4312
|
+
a0 as TabbedPanel,
|
|
4313
|
+
r0 as Tooltip,
|
|
4314
|
+
s0 as YoutubeFacade,
|
|
4315
|
+
u0 as default,
|
|
4316
|
+
Xo as formatDate,
|
|
4317
|
+
Ko as formatDateTime,
|
|
4318
|
+
Wa as formatDuration,
|
|
4306
4319
|
kn as getBestPosition,
|
|
4307
4320
|
$n as getScrollableParents,
|
|
4308
|
-
|
|
4309
|
-
|
|
4321
|
+
Qo as getStorage,
|
|
4322
|
+
Jo as useDebouncedValue
|
|
4310
4323
|
};
|