@muenchen/muc-patternlab-vue 7.1.0 → 7.2.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/muc-patternlab-vue.es.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { defineComponent as W, ref as ae, createElementBlock as C, openBlock as _, createElementVNode as g, createCommentVNode as B, toDisplayString as L, renderSlot as U, useAttrs as ba, computed as D, normalizeStyle as Ea,
|
|
2
|
-
const Ta = { class: "m-component m-component-accordion" }, Da = { class: "container" }, xa = {
|
|
1
|
+
import { defineComponent as W, ref as ae, createElementBlock as C, openBlock as _, createElementVNode as g, normalizeClass as J, createCommentVNode as B, toDisplayString as L, renderSlot as U, useAttrs as ba, computed as D, normalizeStyle as Ea, watch as Ze, onMounted as wt, onBeforeUnmount as en, createTextVNode as ue, createBlock as Z, unref as q, Fragment as we, inject as zt, withKeys as tn, renderList as Oe, createVNode as oe, mergeModels as Pe, useModel as ht, provide as nn, readonly as Ri, toRef as Vi, withCtx as ne, Transition as xi, useSlots as rn, createSlots as Sa, createStaticVNode as fr, onUpdated as vr, withModifiers as $t, withDirectives as mr, vModelDynamic as Ca, vModelText as wa, resolveComponent as Aa, resolveDynamicComponent as Ia, useTemplateRef as Ma } from "vue";
|
|
2
|
+
const Ta = { class: "m-component m-component-accordion" }, Da = { class: "container" }, xa = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "m-component__head"
|
|
5
|
-
},
|
|
5
|
+
}, Oa = { class: "m-component__heading" }, ka = { class: "m-component__body" }, La = ["id"], $a = /* @__PURE__ */ W({
|
|
6
6
|
__name: "MucAccordion",
|
|
7
7
|
props: {
|
|
8
8
|
id: {},
|
|
9
9
|
header: {},
|
|
10
10
|
multiple: { type: Boolean, default: !1 },
|
|
11
11
|
defaultItem: { default: () => {
|
|
12
|
-
} }
|
|
12
|
+
} },
|
|
13
|
+
detailPageMargin: { type: Boolean }
|
|
13
14
|
},
|
|
14
15
|
setup(e) {
|
|
15
16
|
const t = ae(e.defaultItem ? [e.defaultItem] : []), i = (r) => {
|
|
@@ -19,13 +20,17 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
19
20
|
};
|
|
20
21
|
return (r, a) => (_(), C("div", Ta, [
|
|
21
22
|
g("div", Da, [
|
|
22
|
-
g("div",
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
g("div", {
|
|
24
|
+
class: J({ "m-component__grid": e.detailPageMargin })
|
|
25
|
+
}, [
|
|
26
|
+
g("div", {
|
|
27
|
+
class: J({ "m-component__column": e.detailPageMargin })
|
|
28
|
+
}, [
|
|
29
|
+
e.header ? (_(), C("div", xa, [
|
|
30
|
+
g("h2", Oa, L(e.header), 1),
|
|
26
31
|
a[0] || (a[0] = g("p", { class: "m-component__summary" }, null, -1))
|
|
27
32
|
])) : B("", !0),
|
|
28
|
-
g("div",
|
|
33
|
+
g("div", ka, [
|
|
29
34
|
g("div", {
|
|
30
35
|
class: "m-accordion",
|
|
31
36
|
id: e.id
|
|
@@ -35,14 +40,14 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
35
40
|
onOpen: i,
|
|
36
41
|
onClose: n
|
|
37
42
|
})
|
|
38
|
-
], 8,
|
|
43
|
+
], 8, La)
|
|
39
44
|
])
|
|
40
|
-
])
|
|
41
|
-
])
|
|
45
|
+
], 2)
|
|
46
|
+
], 2)
|
|
42
47
|
])
|
|
43
48
|
]));
|
|
44
49
|
}
|
|
45
|
-
}),
|
|
50
|
+
}), Na = ["href"], me = /* @__PURE__ */ W({
|
|
46
51
|
__name: "MucIcon",
|
|
47
52
|
props: {
|
|
48
53
|
icon: {},
|
|
@@ -52,15 +57,15 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
52
57
|
const t = ba(), i = D(() => t.class ?? "icon");
|
|
53
58
|
return (n, r) => (_(), C("svg", {
|
|
54
59
|
"aria-hidden": "true",
|
|
55
|
-
class:
|
|
60
|
+
class: J(i.value),
|
|
56
61
|
style: Ea({ color: e.color })
|
|
57
62
|
}, [
|
|
58
63
|
g("use", {
|
|
59
64
|
href: "#icon-" + e.icon
|
|
60
|
-
}, null, 8,
|
|
65
|
+
}, null, 8, Na)
|
|
61
66
|
], 6));
|
|
62
67
|
}
|
|
63
|
-
}),
|
|
68
|
+
}), Pa = { class: "m-accordion__section" }, Fa = ["id"], Ra = ["aria-expanded", "aria-controls"], Va = ["id", "aria-labelledby"], Ba = { class: "m-textplus__content m-content" }, Ha = /* @__PURE__ */ W({
|
|
64
69
|
__name: "MucAccordionItem",
|
|
65
70
|
props: {
|
|
66
71
|
id: {},
|
|
@@ -97,51 +102,51 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
97
102
|
n.value && (n.value.addEventListener("transitionend", l), e.activeItems.includes(e.id) && (r.value = !1));
|
|
98
103
|
}), en(() => {
|
|
99
104
|
n.value && n.value.removeEventListener("transitionend", l);
|
|
100
|
-
}), (c, u) => (_(), C("div",
|
|
105
|
+
}), (c, u) => (_(), C("div", Pa, [
|
|
101
106
|
g("h3", {
|
|
102
107
|
class: "m-accordion__section-header",
|
|
103
108
|
id: "heading-" + e.id
|
|
104
109
|
}, [
|
|
105
110
|
g("button", {
|
|
106
111
|
onClick: s,
|
|
107
|
-
class:
|
|
112
|
+
class: J(["m-accordion__section-button", { collapsed: r.value }]),
|
|
108
113
|
type: "button",
|
|
109
114
|
"aria-expanded": !r.value,
|
|
110
115
|
"aria-controls": "content-" + e.id
|
|
111
116
|
}, [
|
|
112
117
|
ue(L(e.header) + " ", 1),
|
|
113
|
-
r.value ? (_(),
|
|
118
|
+
r.value ? (_(), Z(q(me), {
|
|
114
119
|
key: 0,
|
|
115
120
|
icon: "chevron-down"
|
|
116
|
-
})) : (_(),
|
|
121
|
+
})) : (_(), Z(q(me), {
|
|
117
122
|
key: 1,
|
|
118
123
|
icon: "chevron-up"
|
|
119
124
|
}))
|
|
120
|
-
], 10,
|
|
121
|
-
], 8,
|
|
125
|
+
], 10, Ra)
|
|
126
|
+
], 8, Fa),
|
|
122
127
|
g("section", {
|
|
123
128
|
ref_key: "section",
|
|
124
129
|
ref: n,
|
|
125
130
|
id: "content-" + e.id,
|
|
126
|
-
class:
|
|
131
|
+
class: J(["m-accordion__section-content", {
|
|
127
132
|
collapse: !a.value,
|
|
128
133
|
collapsing: a.value,
|
|
129
134
|
show: !r.value
|
|
130
135
|
}]),
|
|
131
136
|
"aria-labelledby": "heading-" + e.id
|
|
132
137
|
}, [
|
|
133
|
-
g("div",
|
|
138
|
+
g("div", Ba, [
|
|
134
139
|
g("p", null, [
|
|
135
140
|
U(c.$slots, "text")
|
|
136
141
|
])
|
|
137
142
|
])
|
|
138
|
-
], 10,
|
|
143
|
+
], 10, Va)
|
|
139
144
|
]));
|
|
140
145
|
}
|
|
141
|
-
}),
|
|
146
|
+
}), Ya = ["role", "aria-label"], ja = {
|
|
142
147
|
key: 1,
|
|
143
148
|
class: "container-fluid"
|
|
144
|
-
},
|
|
149
|
+
}, Ka = /* @__PURE__ */ W({
|
|
145
150
|
__name: "MucBanner",
|
|
146
151
|
props: {
|
|
147
152
|
variant: {},
|
|
@@ -200,20 +205,20 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
200
205
|
}
|
|
201
206
|
});
|
|
202
207
|
return (a, s) => (_(), C("div", {
|
|
203
|
-
class:
|
|
208
|
+
class: J(["m-banner", t.value]),
|
|
204
209
|
role: i.value,
|
|
205
210
|
"aria-label": n.value
|
|
206
211
|
}, [
|
|
207
212
|
e.variant === "content" ? (_(), C(we, { key: 0 }, [
|
|
208
|
-
e.noIcon ? B("", !0) : (_(),
|
|
213
|
+
e.noIcon ? B("", !0) : (_(), Z(q(me), {
|
|
209
214
|
key: 0,
|
|
210
215
|
icon: r.value
|
|
211
216
|
}, null, 8, ["icon"])),
|
|
212
217
|
g("p", null, [
|
|
213
218
|
U(a.$slots, "default")
|
|
214
219
|
])
|
|
215
|
-
], 64)) : (_(), C("div",
|
|
216
|
-
e.noIcon ? B("", !0) : (_(),
|
|
220
|
+
], 64)) : (_(), C("div", ja, [
|
|
221
|
+
e.noIcon ? B("", !0) : (_(), Z(q(me), {
|
|
217
222
|
key: 0,
|
|
218
223
|
icon: r.value
|
|
219
224
|
}, null, 8, ["icon"])),
|
|
@@ -221,9 +226,9 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
221
226
|
U(a.$slots, "default")
|
|
222
227
|
])
|
|
223
228
|
]))
|
|
224
|
-
], 10,
|
|
229
|
+
], 10, Ya));
|
|
225
230
|
}
|
|
226
|
-
}),
|
|
231
|
+
}), Ga = ["aria-disabled"], za = /* @__PURE__ */ W({
|
|
227
232
|
__name: "MucButton",
|
|
228
233
|
props: {
|
|
229
234
|
variant: { default: "primary" },
|
|
@@ -243,7 +248,7 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
243
248
|
return (a, s) => (_(), C("button", {
|
|
244
249
|
onClick: s[0] || (s[0] = (o) => r(o)),
|
|
245
250
|
"aria-disabled": e.disabled,
|
|
246
|
-
class:
|
|
251
|
+
class: J(["m-button", {
|
|
247
252
|
"m-button--secondary": e.variant === "secondary",
|
|
248
253
|
"m-button--ghost": e.variant === "ghost",
|
|
249
254
|
"m-button--primary": e.variant !== "secondary" && e.variant !== "ghost",
|
|
@@ -254,24 +259,24 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
254
259
|
}])
|
|
255
260
|
}, [
|
|
256
261
|
e.iconShownLeft ? B("", !0) : U(a.$slots, "default", { key: 0 }, void 0, !0),
|
|
257
|
-
e.icon ? (_(),
|
|
262
|
+
e.icon ? (_(), Z(q(me), {
|
|
258
263
|
key: 1,
|
|
259
264
|
icon: e.icon,
|
|
260
|
-
class:
|
|
265
|
+
class: J(["m-button__icon", {
|
|
261
266
|
"m-button__icon--after": !e.iconShownLeft && e.variant != "icon",
|
|
262
267
|
"m-button__icon--before": e.iconShownLeft && e.variant != "icon",
|
|
263
268
|
"no-left-margin": e.variant == "icon"
|
|
264
269
|
}])
|
|
265
270
|
}, null, 8, ["icon", "class"])) : B("", !0),
|
|
266
271
|
e.iconShownLeft ? U(a.$slots, "default", { key: 2 }, void 0, !0) : B("", !0)
|
|
267
|
-
], 10,
|
|
272
|
+
], 10, Ga));
|
|
268
273
|
}
|
|
269
274
|
}), he = (e, t) => {
|
|
270
275
|
const i = e.__vccOpts || e;
|
|
271
276
|
for (const [n, r] of t)
|
|
272
277
|
i[n] = r;
|
|
273
278
|
return i;
|
|
274
|
-
}, Je = /* @__PURE__ */ he(
|
|
279
|
+
}, Je = /* @__PURE__ */ he(za, [["__scopeId", "data-v-20d7ceb4"]]), ci = "de-DE", gr = 12, gi = /* @__PURE__ */ Symbol("mucCalendar"), kt = (e, t) => e.getDate() === t.getDate() && e.getMonth() === t.getMonth() && e.getFullYear() === t.getFullYear(), Bi = (e, t) => e > t, Nt = (e) => e !== null && e.from !== void 0 && e.to !== void 0, Wa = ["tabindex", "aria-label", "aria-disabled"], Ua = /* @__PURE__ */ W({
|
|
275
280
|
__name: "MucDayTile",
|
|
276
281
|
props: {
|
|
277
282
|
date: {},
|
|
@@ -304,7 +309,7 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
304
309
|
key: 0,
|
|
305
310
|
onClick: l,
|
|
306
311
|
onKeyup: tn(l, ["enter"]),
|
|
307
|
-
class:
|
|
312
|
+
class: J({
|
|
308
313
|
"disabled-tile": s.value,
|
|
309
314
|
"off-month": !o.value,
|
|
310
315
|
selected: r.value,
|
|
@@ -314,9 +319,9 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
314
319
|
role: "button",
|
|
315
320
|
"aria-label": `${e.date.getDate()} auswählen`,
|
|
316
321
|
"aria-disabled": s.value
|
|
317
|
-
}, L(e.date.getDate()), 43,
|
|
322
|
+
}, L(e.date.getDate()), 43, Wa)) : B("", !0);
|
|
318
323
|
}
|
|
319
|
-
}),
|
|
324
|
+
}), qa = /* @__PURE__ */ he(Ua, [["__scopeId", "data-v-db120593"]]), Xa = { class: "muc-calendar-view-full-size" }, Ja = { class: "muc-calendar-container table-header" }, Za = { class: "muc-calendar-container" }, Qa = 7, es = /* @__PURE__ */ W({
|
|
320
325
|
__name: "MucCalendarDay",
|
|
321
326
|
props: {
|
|
322
327
|
viewDate: {},
|
|
@@ -326,7 +331,7 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
326
331
|
},
|
|
327
332
|
emits: ["clicked"],
|
|
328
333
|
setup(e, { emit: t }) {
|
|
329
|
-
const i = 6 *
|
|
334
|
+
const i = 6 * Qa, n = ["Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"], r = e, a = t, s = D(
|
|
330
335
|
() => new Date(r.viewDate.getFullYear(), r.viewDate.getMonth(), 1)
|
|
331
336
|
), o = D(
|
|
332
337
|
() => r.showAdjacentMonths ? 0 : (s.value.getDay() || 7) - 1
|
|
@@ -335,8 +340,8 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
335
340
|
), c = (d) => {
|
|
336
341
|
a("clicked", d);
|
|
337
342
|
}, u = (d, h) => new Date(new Date(d).setDate(d.getDate() + h));
|
|
338
|
-
return (d, h) => (_(), C("div",
|
|
339
|
-
g("div",
|
|
343
|
+
return (d, h) => (_(), C("div", Xa, [
|
|
344
|
+
g("div", Ja, [
|
|
340
345
|
(_(), C(we, null, Oe(n, (v, f) => g("div", {
|
|
341
346
|
class: "header-item",
|
|
342
347
|
key: f
|
|
@@ -344,9 +349,9 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
344
349
|
g("strong", null, L(v), 1)
|
|
345
350
|
])), 64))
|
|
346
351
|
]),
|
|
347
|
-
g("div",
|
|
352
|
+
g("div", Za, [
|
|
348
353
|
(_(!0), C(we, null, Oe(o.value, (v) => (_(), C("div", { key: v }))), 128)),
|
|
349
|
-
(_(), C(we, null, Oe(i, (v) => oe(
|
|
354
|
+
(_(), C(we, null, Oe(i, (v) => oe(qa, {
|
|
350
355
|
class: "muc-calendar-item",
|
|
351
356
|
date: u(l.value, v),
|
|
352
357
|
"show-adjacent-months": e.showAdjacentMonths,
|
|
@@ -356,14 +361,14 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
356
361
|
])
|
|
357
362
|
]));
|
|
358
363
|
}
|
|
359
|
-
}),
|
|
364
|
+
}), ts = /* @__PURE__ */ he(es, [["__scopeId", "data-v-e7805970"]]), is = ["tabindex", "aria-label", "aria-disabled"], ns = "short", rs = /* @__PURE__ */ W({
|
|
360
365
|
__name: "MucMonthTile",
|
|
361
366
|
props: {
|
|
362
367
|
date: {}
|
|
363
368
|
},
|
|
364
369
|
emits: ["click"],
|
|
365
370
|
setup(e, { emit: t }) {
|
|
366
|
-
const i = zt(gi), n = t, r = (o) => o.toLocaleDateString(ci, { month:
|
|
371
|
+
const i = zt(gi), n = t, r = (o) => o.toLocaleDateString(ci, { month: ns }), a = D(() => {
|
|
367
372
|
const o = e.date.getFullYear(), l = e.date.getMonth(), c = i?.minDate.value && (o < i.minDate.value.getFullYear() || o === i.minDate.value.getFullYear() && l < i.minDate.value.getMonth()), u = i?.maxDate.value && (o > i.maxDate.value.getFullYear() || o === i.maxDate.value.getFullYear() && l > i.maxDate.value.getMonth());
|
|
368
373
|
return c || u;
|
|
369
374
|
}), s = () => {
|
|
@@ -372,7 +377,7 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
372
377
|
return (o, l) => (_(), C("div", {
|
|
373
378
|
onClick: s,
|
|
374
379
|
onKeyup: tn(s, ["enter"]),
|
|
375
|
-
class:
|
|
380
|
+
class: J({
|
|
376
381
|
"disabled-tile": a.value,
|
|
377
382
|
"muc-calendar-current-item": (/* @__PURE__ */ new Date()).getMonth() === e.date.getMonth() && (/* @__PURE__ */ new Date()).getFullYear() === e.date.getFullYear()
|
|
378
383
|
}),
|
|
@@ -382,9 +387,9 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
382
387
|
"aria-disabled": a.value
|
|
383
388
|
}, [
|
|
384
389
|
g("p", null, L(r(e.date)), 1)
|
|
385
|
-
], 42,
|
|
390
|
+
], 42, is));
|
|
386
391
|
}
|
|
387
|
-
}),
|
|
392
|
+
}), as = /* @__PURE__ */ he(rs, [["__scopeId", "data-v-528928e7"]]), ss = { class: "muc-calendar-container muc-calendar-view-full-size" }, os = /* @__PURE__ */ W({
|
|
388
393
|
__name: "MucCalendarMonth",
|
|
389
394
|
props: {
|
|
390
395
|
viewDate: {}
|
|
@@ -397,8 +402,8 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
397
402
|
(s, o) => new Date(i.viewDate.getFullYear(), o)
|
|
398
403
|
)
|
|
399
404
|
), a = (s) => n("clicked", s);
|
|
400
|
-
return (s, o) => (_(), C("div",
|
|
401
|
-
(_(!0), C(we, null, Oe(r.value, (l, c) => (_(),
|
|
405
|
+
return (s, o) => (_(), C("div", ss, [
|
|
406
|
+
(_(!0), C(we, null, Oe(r.value, (l, c) => (_(), Z(as, {
|
|
402
407
|
key: c,
|
|
403
408
|
class: "muc-calendar-item",
|
|
404
409
|
date: l,
|
|
@@ -406,7 +411,7 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
406
411
|
}, null, 8, ["date"]))), 128))
|
|
407
412
|
]));
|
|
408
413
|
}
|
|
409
|
-
}),
|
|
414
|
+
}), ls = /* @__PURE__ */ he(os, [["__scopeId", "data-v-4dc141ae"]]), cs = ["tabindex", "aria-label", "aria-disabled"], Tn = "numeric", us = /* @__PURE__ */ W({
|
|
410
415
|
__name: "MucYearTile",
|
|
411
416
|
props: {
|
|
412
417
|
date: {}
|
|
@@ -422,7 +427,7 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
422
427
|
return (o, l) => (_(), C("div", {
|
|
423
428
|
onClick: s,
|
|
424
429
|
onKeyup: tn(s, ["enter"]),
|
|
425
|
-
class:
|
|
430
|
+
class: J({
|
|
426
431
|
"disabled-tile": a.value,
|
|
427
432
|
"muc-calendar-current-item": (/* @__PURE__ */ new Date()).getFullYear() === e.date.getFullYear()
|
|
428
433
|
}),
|
|
@@ -432,9 +437,9 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
432
437
|
"aria-disabled": a.value
|
|
433
438
|
}, [
|
|
434
439
|
g("p", null, L(r(e.date)), 1)
|
|
435
|
-
], 42,
|
|
440
|
+
], 42, cs));
|
|
436
441
|
}
|
|
437
|
-
}),
|
|
442
|
+
}), ds = /* @__PURE__ */ he(us, [["__scopeId", "data-v-0e82f1d5"]]), hs = { class: "muc-calendar-container muc-calendar-view-full-size" }, fs = /* @__PURE__ */ W({
|
|
438
443
|
__name: "MucCalendarYear",
|
|
439
444
|
props: {
|
|
440
445
|
viewDate: {}
|
|
@@ -450,8 +455,8 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
450
455
|
)
|
|
451
456
|
)
|
|
452
457
|
), a = (s) => n("clicked", s);
|
|
453
|
-
return (s, o) => (_(), C("div",
|
|
454
|
-
(_(!0), C(we, null, Oe(r.value, (l, c) => (_(),
|
|
458
|
+
return (s, o) => (_(), C("div", hs, [
|
|
459
|
+
(_(!0), C(we, null, Oe(r.value, (l, c) => (_(), Z(ds, {
|
|
455
460
|
key: c,
|
|
456
461
|
class: "muc-calendar-item",
|
|
457
462
|
date: l,
|
|
@@ -459,12 +464,12 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
459
464
|
}, null, 8, ["date", "onClick"]))), 128))
|
|
460
465
|
]));
|
|
461
466
|
}
|
|
462
|
-
}),
|
|
467
|
+
}), vs = /* @__PURE__ */ he(fs, [["__scopeId", "data-v-2d92e62c"]]), ms = { class: "container-wrapper" }, gs = { class: "calendar-caption" }, ps = {
|
|
463
468
|
key: 1,
|
|
464
469
|
class: "header"
|
|
465
|
-
},
|
|
470
|
+
}, _s = { class: "container-view-size" }, Dn = 10, ys = /* @__PURE__ */ W({
|
|
466
471
|
__name: "MucCalendar",
|
|
467
|
-
props: /* @__PURE__ */
|
|
472
|
+
props: /* @__PURE__ */ Pe({
|
|
468
473
|
viewMonth: {},
|
|
469
474
|
min: {},
|
|
470
475
|
max: {},
|
|
@@ -621,7 +626,7 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
621
626
|
}
|
|
622
627
|
}, E = (T) => {
|
|
623
628
|
s.value = "view-detail", r.value = new Date(T.getFullYear(), T.getMonth()), $();
|
|
624
|
-
},
|
|
629
|
+
}, P = () => {
|
|
625
630
|
s.value = "view-broad", a.value === "day" ? a.value = "month" : a.value === "month" && (a.value = "year");
|
|
626
631
|
}, $ = () => {
|
|
627
632
|
a.value === "year" ? a.value = "month" : a.value === "month" && (a.value = "day");
|
|
@@ -635,8 +640,8 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
635
640
|
showAdjacentMonths: Ri(Vi(() => e.showAdjacentMonths)),
|
|
636
641
|
allowedDates: e.allowedDates
|
|
637
642
|
}), (T, S) => (_(), C("div", null, [
|
|
638
|
-
g("div",
|
|
639
|
-
g("div",
|
|
643
|
+
g("div", ms, [
|
|
644
|
+
g("div", gs, [
|
|
640
645
|
oe(q(Je), {
|
|
641
646
|
onClick: c,
|
|
642
647
|
"aria-label": d.value,
|
|
@@ -644,13 +649,13 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
644
649
|
variant: "ghost",
|
|
645
650
|
icon: "chevron-left"
|
|
646
651
|
}, null, 8, ["aria-label", "disabled"]),
|
|
647
|
-
e.disableViewChange ? (_(), C("div",
|
|
652
|
+
e.disableViewChange ? (_(), C("div", ps, [
|
|
648
653
|
g("h3", null, L(l.value), 1)
|
|
649
|
-
])) : (_(),
|
|
654
|
+
])) : (_(), Z(q(Je), {
|
|
650
655
|
key: 0,
|
|
651
656
|
class: "header",
|
|
652
657
|
variant: "ghost",
|
|
653
|
-
onClick: S[0] || (S[0] = (x) =>
|
|
658
|
+
onClick: S[0] || (S[0] = (x) => P())
|
|
654
659
|
}, {
|
|
655
660
|
default: ne(() => [
|
|
656
661
|
g("h3", null, L(l.value), 1)
|
|
@@ -666,14 +671,14 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
666
671
|
"icon-shown-left": ""
|
|
667
672
|
}, null, 8, ["aria-label", "disabled"])
|
|
668
673
|
]),
|
|
669
|
-
g("div",
|
|
674
|
+
g("div", _s, [
|
|
670
675
|
oe(xi, {
|
|
671
676
|
class: "transition",
|
|
672
677
|
css: !e.noAnimation,
|
|
673
678
|
name: s.value
|
|
674
679
|
}, {
|
|
675
680
|
default: ne(() => [
|
|
676
|
-
a.value === "year" ? (_(),
|
|
681
|
+
a.value === "year" ? (_(), Z(vs, {
|
|
677
682
|
key: 0,
|
|
678
683
|
"view-date": r.value,
|
|
679
684
|
onClicked: E
|
|
@@ -687,7 +692,7 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
687
692
|
name: s.value
|
|
688
693
|
}, {
|
|
689
694
|
default: ne(() => [
|
|
690
|
-
a.value === "month" ? (_(),
|
|
695
|
+
a.value === "month" ? (_(), Z(ls, {
|
|
691
696
|
key: 0,
|
|
692
697
|
"view-date": r.value,
|
|
693
698
|
onClicked: E
|
|
@@ -701,7 +706,7 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
701
706
|
name: s.value
|
|
702
707
|
}, {
|
|
703
708
|
default: ne(() => [
|
|
704
|
-
a.value === "day" ? (_(),
|
|
709
|
+
a.value === "day" ? (_(), Z(ts, {
|
|
705
710
|
key: 0,
|
|
706
711
|
variant: e.variant,
|
|
707
712
|
disabled: e.disabled,
|
|
@@ -717,7 +722,7 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
717
722
|
])
|
|
718
723
|
]));
|
|
719
724
|
}
|
|
720
|
-
}),
|
|
725
|
+
}), bs = /* @__PURE__ */ he(ys, [["__scopeId", "data-v-761c6c2c"]]), Es = ["aria-label"], Ss = { class: "m-callout__inner" }, Cs = { class: "m-callout__icon" }, ws = { class: "m-callout__body" }, As = { class: "m-callout__body__inner" }, Is = { class: "m-callout__headline" }, Ms = { class: "m-callout__content" }, Ts = /* @__PURE__ */ W({
|
|
721
726
|
__name: "MucCallout",
|
|
722
727
|
props: {
|
|
723
728
|
type: { default: "info" }
|
|
@@ -757,21 +762,21 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
757
762
|
}
|
|
758
763
|
});
|
|
759
764
|
return (r, a) => (_(), C("div", {
|
|
760
|
-
class:
|
|
765
|
+
class: J(["m-callout", i.value]),
|
|
761
766
|
"aria-label": n.value
|
|
762
767
|
}, [
|
|
763
|
-
g("div",
|
|
764
|
-
g("div",
|
|
768
|
+
g("div", Ss, [
|
|
769
|
+
g("div", Cs, [
|
|
765
770
|
U(r.$slots, "icon", {}, () => [
|
|
766
771
|
oe(q(me), { icon: t.value }, null, 8, ["icon"])
|
|
767
772
|
])
|
|
768
773
|
]),
|
|
769
|
-
g("div",
|
|
770
|
-
g("div",
|
|
771
|
-
g("h2",
|
|
774
|
+
g("div", ws, [
|
|
775
|
+
g("div", As, [
|
|
776
|
+
g("h2", Is, [
|
|
772
777
|
U(r.$slots, "header")
|
|
773
778
|
]),
|
|
774
|
-
g("div",
|
|
779
|
+
g("div", Ms, [
|
|
775
780
|
g("p", null, [
|
|
776
781
|
U(r.$slots, "content", { class: "m-callout__content" })
|
|
777
782
|
]),
|
|
@@ -780,16 +785,16 @@ const Ta = { class: "m-component m-component-accordion" }, Da = { class: "contai
|
|
|
780
785
|
])
|
|
781
786
|
])
|
|
782
787
|
])
|
|
783
|
-
], 10,
|
|
788
|
+
], 10, Es));
|
|
784
789
|
}
|
|
785
|
-
}),
|
|
786
|
-
function
|
|
787
|
-
return _(), C("div",
|
|
790
|
+
}), Ds = {}, xs = { class: "muc-divider" };
|
|
791
|
+
function Os(e, t) {
|
|
792
|
+
return _(), C("div", xs);
|
|
788
793
|
}
|
|
789
|
-
const ui = /* @__PURE__ */ he(
|
|
794
|
+
const ui = /* @__PURE__ */ he(Ds, [["render", Os], ["__scopeId", "data-v-a337b11f"]]), ks = { class: "card-content" }, Ls = { class: "card-header" }, $s = {
|
|
790
795
|
key: 0,
|
|
791
796
|
class: "card-tagline"
|
|
792
|
-
},
|
|
797
|
+
}, Ns = /* @__PURE__ */ W({
|
|
793
798
|
__name: "MucCard",
|
|
794
799
|
props: {
|
|
795
800
|
title: {},
|
|
@@ -802,11 +807,11 @@ const ui = /* @__PURE__ */ he(Os, [["render", Ls], ["__scopeId", "data-v-a337b11
|
|
|
802
807
|
class: "card",
|
|
803
808
|
onClick: r[0] || (r[0] = (a) => i("click", a))
|
|
804
809
|
}, [
|
|
805
|
-
g("div",
|
|
806
|
-
g("div",
|
|
810
|
+
g("div", ks, [
|
|
811
|
+
g("div", Ls, [
|
|
807
812
|
U(n.$slots, "headerPrefix", {}, void 0, !0),
|
|
808
813
|
g("div", null, [
|
|
809
|
-
e.tagline ? (_(), C("div",
|
|
814
|
+
e.tagline ? (_(), C("div", $s, L(e.tagline), 1)) : B("", !0),
|
|
810
815
|
g("div", null, [
|
|
811
816
|
g("h3", null, L(e.title), 1)
|
|
812
817
|
])
|
|
@@ -817,54 +822,54 @@ const ui = /* @__PURE__ */ he(Os, [["render", Ls], ["__scopeId", "data-v-a337b11
|
|
|
817
822
|
])
|
|
818
823
|
]));
|
|
819
824
|
}
|
|
820
|
-
}),
|
|
825
|
+
}), Ps = /* @__PURE__ */ he(Ns, [["__scopeId", "data-v-fe78761d"]]), Fs = { class: "container card-container" }, Rs = /* @__PURE__ */ W({
|
|
821
826
|
__name: "MucCardContainer",
|
|
822
827
|
setup(e) {
|
|
823
|
-
return (t, i) => (_(), C("div",
|
|
828
|
+
return (t, i) => (_(), C("div", Fs, [
|
|
824
829
|
U(t.$slots, "default", {}, void 0, !0)
|
|
825
830
|
]));
|
|
826
831
|
}
|
|
827
|
-
}),
|
|
832
|
+
}), Vs = /* @__PURE__ */ he(Rs, [["__scopeId", "data-v-f333e595"]]), Bs = { class: "m-comment__head" }, Hs = {
|
|
828
833
|
key: 0,
|
|
829
834
|
class: "m-comment__initials"
|
|
830
|
-
},
|
|
835
|
+
}, Ys = { class: "m-comment__info" }, js = { class: "m-comment__author" }, Ks = { key: 0 }, Gs = { class: "m-comment__author" }, zs = { class: "m-comment__date" }, Ws = ["aria-label"], Us = {
|
|
831
836
|
key: 0,
|
|
832
837
|
class: "m-star-rating__item m-star-rating__item--half"
|
|
833
|
-
},
|
|
838
|
+
}, qs = { class: "m-star-rating__numeric" }, Xs = { class: "m-comment__body" }, Js = { class: "m-comment__headline" }, Zs = { class: "m-comment__text" }, Qs = "de-DE", eo = 0.2, to = 0.8, ti = 5, pr = /* @__PURE__ */ W({
|
|
834
839
|
__name: "MucComment",
|
|
835
840
|
props: {
|
|
836
841
|
rating: {},
|
|
837
842
|
variant: { default: "listing" }
|
|
838
843
|
},
|
|
839
844
|
setup(e) {
|
|
840
|
-
const t = rn(), i = D(() => !!t.date), n = D(() => !!t.initials), r = D(() => e.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), a = D(() => Math.min(Math.max(e.rating, 0), ti)), s = D(() => a.value.toLocaleString(
|
|
845
|
+
const t = rn(), i = D(() => !!t.date), n = D(() => !!t.initials), r = D(() => e.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), a = D(() => Math.min(Math.max(e.rating, 0), ti)), s = D(() => a.value.toLocaleString(Qs.valueOf(), {
|
|
841
846
|
minimumFractionDigits: 1
|
|
842
847
|
})), o = D(() => {
|
|
843
848
|
const l = +(a.value % 1).toFixed(1);
|
|
844
849
|
let c = Math.min(Math.floor(a.value), ti), u = Math.floor(ti - a.value), d = !1;
|
|
845
|
-
return l !== 0 && (l <=
|
|
850
|
+
return l !== 0 && (l <= eo ? u++ : l >= to ? c++ : d = !0), {
|
|
846
851
|
fullStars: c,
|
|
847
852
|
emptyStars: u,
|
|
848
853
|
isHalfStar: d
|
|
849
854
|
};
|
|
850
855
|
});
|
|
851
856
|
return (l, c) => (_(), C("div", {
|
|
852
|
-
class:
|
|
857
|
+
class: J(["m-comment", r.value])
|
|
853
858
|
}, [
|
|
854
|
-
g("div",
|
|
855
|
-
n.value ? (_(), C("div",
|
|
859
|
+
g("div", Bs, [
|
|
860
|
+
n.value ? (_(), C("div", Hs, [
|
|
856
861
|
U(l.$slots, "initials")
|
|
857
862
|
])) : B("", !0),
|
|
858
|
-
g("div",
|
|
859
|
-
g("span",
|
|
863
|
+
g("div", Ys, [
|
|
864
|
+
g("span", js, [
|
|
860
865
|
U(l.$slots, "author")
|
|
861
866
|
]),
|
|
862
|
-
i.value ? (_(), C("span",
|
|
863
|
-
g("span",
|
|
867
|
+
i.value ? (_(), C("span", Ks, [
|
|
868
|
+
g("span", Gs, [
|
|
864
869
|
c[0] || (c[0] = ue(" ", -1)),
|
|
865
870
|
U(l.$slots, "datePrefix")
|
|
866
871
|
]),
|
|
867
|
-
g("span",
|
|
872
|
+
g("span", zs, [
|
|
868
873
|
c[1] || (c[1] = ue(" ", -1)),
|
|
869
874
|
U(l.$slots, "date")
|
|
870
875
|
])
|
|
@@ -880,7 +885,7 @@ const ui = /* @__PURE__ */ he(Os, [["render", Ls], ["__scopeId", "data-v-a337b11
|
|
|
880
885
|
}, [
|
|
881
886
|
oe(q(me), { icon: "solid-star" })
|
|
882
887
|
]))), 128)),
|
|
883
|
-
o.value.isHalfStar ? (_(), C("div",
|
|
888
|
+
o.value.isHalfStar ? (_(), C("div", Us, [
|
|
884
889
|
oe(q(me), { icon: "half-star" })
|
|
885
890
|
])) : B("", !0),
|
|
886
891
|
(_(!0), C(we, null, Oe(o.value.emptyStars, (u) => (_(), C("div", {
|
|
@@ -889,21 +894,21 @@ const ui = /* @__PURE__ */ he(Os, [["render", Ls], ["__scopeId", "data-v-a337b11
|
|
|
889
894
|
}, [
|
|
890
895
|
oe(q(me), { icon: "solid-star" })
|
|
891
896
|
]))), 128)),
|
|
892
|
-
g("div",
|
|
893
|
-
], 8,
|
|
897
|
+
g("div", qs, L(s.value), 1)
|
|
898
|
+
], 8, Ws)
|
|
894
899
|
])
|
|
895
900
|
]),
|
|
896
|
-
g("div",
|
|
897
|
-
g("div",
|
|
901
|
+
g("div", Xs, [
|
|
902
|
+
g("div", Js, [
|
|
898
903
|
U(l.$slots, "headline")
|
|
899
904
|
]),
|
|
900
|
-
g("div",
|
|
905
|
+
g("div", Zs, [
|
|
901
906
|
U(l.$slots, "text")
|
|
902
907
|
])
|
|
903
908
|
])
|
|
904
909
|
], 2));
|
|
905
910
|
}
|
|
906
|
-
}),
|
|
911
|
+
}), io = " ", no = /* @__PURE__ */ W({
|
|
907
912
|
__name: "MucCommentText",
|
|
908
913
|
props: {
|
|
909
914
|
datePrefix: { default: "am" },
|
|
@@ -916,8 +921,8 @@ const ui = /* @__PURE__ */ he(Os, [["render", Ls], ["__scopeId", "data-v-a337b11
|
|
|
916
921
|
variant: { default: "listing" }
|
|
917
922
|
},
|
|
918
923
|
setup(e) {
|
|
919
|
-
const t = D(() => ((e.initials ?? e.author.split(
|
|
920
|
-
return (i, n) => (_(),
|
|
924
|
+
const t = D(() => ((e.initials ?? e.author.split(io).map((i) => i.charAt(0)).join("")).match(/^.|.$/g) ?? [""]).join(""));
|
|
925
|
+
return (i, n) => (_(), Z(q(pr), {
|
|
921
926
|
rating: e.rating,
|
|
922
927
|
variant: e.variant
|
|
923
928
|
}, Sa({
|
|
@@ -951,17 +956,17 @@ const ui = /* @__PURE__ */ he(Os, [["render", Ls], ["__scopeId", "data-v-a337b11
|
|
|
951
956
|
} : void 0
|
|
952
957
|
]), 1032, ["rating", "variant"]));
|
|
953
958
|
}
|
|
954
|
-
}),
|
|
959
|
+
}), ro = { class: "m-error-message form-error-message" }, ao = /* @__PURE__ */ W({
|
|
955
960
|
__name: "FormErrorMessage",
|
|
956
961
|
setup(e) {
|
|
957
|
-
return (t, i) => (_(), C("span",
|
|
962
|
+
return (t, i) => (_(), C("span", ro, [
|
|
958
963
|
oe(q(me), { icon: "warning--filled" }),
|
|
959
964
|
g("span", null, [
|
|
960
965
|
U(t.$slots, "default", {}, void 0, !0)
|
|
961
966
|
])
|
|
962
967
|
]));
|
|
963
968
|
}
|
|
964
|
-
}), _t = /* @__PURE__ */ he(
|
|
969
|
+
}), _t = /* @__PURE__ */ he(ao, [["__scopeId", "data-v-2c971766"]]), so = {}, oo = {
|
|
965
970
|
"aria-hidden": "true",
|
|
966
971
|
width: "108",
|
|
967
972
|
height: "56",
|
|
@@ -969,12 +974,12 @@ const ui = /* @__PURE__ */ he(Os, [["render", Ls], ["__scopeId", "data-v-a337b11
|
|
|
969
974
|
fill: "none",
|
|
970
975
|
xmlns: "http://www.w3.org/2000/svg"
|
|
971
976
|
};
|
|
972
|
-
function
|
|
973
|
-
return _(), C("svg",
|
|
977
|
+
function lo(e, t) {
|
|
978
|
+
return _(), C("svg", oo, [...t[0] || (t[0] = [
|
|
974
979
|
fr('<g clip-path="url(#clip0_875_841)"><path d="M107.655 18.699L106.594 11.0435L98.9873 12.1173" stroke="#005A9F" stroke-miterlimit="10" stroke-linecap="round"></path><path d="M106.594 11.0435C106.594 11.0435 94.1981 33.255 58.2578 27.2483" stroke="#005A9F" stroke-miterlimit="10" stroke-linecap="round"></path><path d="M85.5371 32.8255C92.2897 31.142 97.5195 28.1144 101.261 25.2393" stroke="#005A9F" stroke-miterlimit="10" stroke-linecap="round"></path><path d="M0.344727 45.982C0.344727 45.982 13.4778 24.2 49.1976 31.426" stroke="#005A9F" stroke-miterlimit="10" stroke-linecap="round"></path><path d="M22.1184 24.9275C15.3107 26.3755 9.98438 29.2299 6.15332 31.9734" stroke="#005A9F" stroke-miterlimit="10" stroke-linecap="round"></path><path d="M68.3603 2.69507H37.1055V55.6536H77.5314V11.9164L68.3603 2.69507Z" fill="#005A9F" stroke="#005A9F" stroke-linecap="round" stroke-linejoin="round"></path><path d="M73.7345 53.3119H33.3086V0.346436H64.5634L73.7345 9.57469V53.3119Z" fill="white" stroke="#005A9F" stroke-linejoin="round"></path><path d="M38.5039 14.4868H45.3667" stroke="#005A9F" stroke-linejoin="round"></path><path d="M38.5039 21.1584H68.5391" stroke="#005A9F" stroke-linejoin="round"></path><path d="M38.5039 27.8372H68.5391" stroke="#005A9F" stroke-linejoin="round"></path><path d="M38.5039 34.509H68.5391" stroke="#005A9F" stroke-linejoin="round"></path><path d="M38.5039 41.1877H68.5391" stroke="#005A9F" stroke-linejoin="round"></path><path d="M73.7346 9.57469H64.5635V0.346436L73.7346 9.57469Z" fill="white" stroke="#005A9F" stroke-linejoin="round"></path></g><defs><clipPath id="clip0_875_841"><rect width="108" height="56" fill="white"></rect></clipPath></defs>', 2)
|
|
975
980
|
])]);
|
|
976
981
|
}
|
|
977
|
-
const
|
|
982
|
+
const co = /* @__PURE__ */ he(so, [["render", lo]]), uo = { class: "drop-zone-additional-information" }, ho = /* @__PURE__ */ W({
|
|
978
983
|
__name: "MucFileDropzone",
|
|
979
984
|
props: {
|
|
980
985
|
buttonText: { default: "Upload file" },
|
|
@@ -1037,7 +1042,7 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1037
1042
|
}
|
|
1038
1043
|
}), (p, y) => (_(), C(we, null, [
|
|
1039
1044
|
g("div", {
|
|
1040
|
-
class:
|
|
1045
|
+
class: J(["drop-zone", {
|
|
1041
1046
|
"is-dragover": o.value,
|
|
1042
1047
|
"is-not-disabled": !e.disabled
|
|
1043
1048
|
}]),
|
|
@@ -1046,7 +1051,7 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1046
1051
|
onDrop: $t(h, ["prevent"]),
|
|
1047
1052
|
onClick: c
|
|
1048
1053
|
}, [
|
|
1049
|
-
oe(
|
|
1054
|
+
oe(co),
|
|
1050
1055
|
oe(q(Je), {
|
|
1051
1056
|
variant: "secondary",
|
|
1052
1057
|
icon: "upload",
|
|
@@ -1057,21 +1062,21 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1057
1062
|
]),
|
|
1058
1063
|
_: 1
|
|
1059
1064
|
}, 8, ["disabled"]),
|
|
1060
|
-
g("span",
|
|
1065
|
+
g("span", uo, L(e.additionalInformation), 1)
|
|
1061
1066
|
], 34),
|
|
1062
|
-
!r.value && e.maxFileSizeWarning ? (_(),
|
|
1067
|
+
!r.value && e.maxFileSizeWarning ? (_(), Z(_t, { key: 0 }, {
|
|
1063
1068
|
default: ne(() => [
|
|
1064
1069
|
ue(L(e.maxFileSizeWarning), 1)
|
|
1065
1070
|
]),
|
|
1066
1071
|
_: 1
|
|
1067
1072
|
})) : B("", !0),
|
|
1068
|
-
!a.value && e.maxTotalFileSizeWarning ? (_(),
|
|
1073
|
+
!a.value && e.maxTotalFileSizeWarning ? (_(), Z(_t, { key: 1 }, {
|
|
1069
1074
|
default: ne(() => [
|
|
1070
1075
|
ue(L(e.maxTotalFileSizeWarning), 1)
|
|
1071
1076
|
]),
|
|
1072
1077
|
_: 1
|
|
1073
1078
|
})) : B("", !0),
|
|
1074
|
-
s.value ? B("", !0) : (_(),
|
|
1079
|
+
s.value ? B("", !0) : (_(), Z(_t, { key: 2 }, {
|
|
1075
1080
|
default: ne(() => [
|
|
1076
1081
|
ue(L(e.invalidAmountWarning), 1)
|
|
1077
1082
|
]),
|
|
@@ -1079,9 +1084,9 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1079
1084
|
}))
|
|
1080
1085
|
], 64));
|
|
1081
1086
|
}
|
|
1082
|
-
}),
|
|
1087
|
+
}), fo = /* @__PURE__ */ he(ho, [["__scopeId", "data-v-86cd6323"]]), vo = ["id", "checked"], mo = ["for"], go = ["id"], po = /* @__PURE__ */ W({
|
|
1083
1088
|
__name: "MucCheckbox",
|
|
1084
|
-
props: /* @__PURE__ */
|
|
1089
|
+
props: /* @__PURE__ */ Pe({
|
|
1085
1090
|
id: {},
|
|
1086
1091
|
label: {},
|
|
1087
1092
|
hint: {}
|
|
@@ -1089,7 +1094,7 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1089
1094
|
modelValue: { type: Boolean, default: !1 },
|
|
1090
1095
|
modelModifiers: {}
|
|
1091
1096
|
}),
|
|
1092
|
-
emits: /* @__PURE__ */
|
|
1097
|
+
emits: /* @__PURE__ */ Pe(["click"], ["update:modelValue"]),
|
|
1093
1098
|
setup(e, { emit: t }) {
|
|
1094
1099
|
const i = ht(e, "modelValue"), n = t, r = () => {
|
|
1095
1100
|
i.value = !i.value, n("click");
|
|
@@ -1105,7 +1110,7 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1105
1110
|
type: "checkbox",
|
|
1106
1111
|
checked: i.value,
|
|
1107
1112
|
onClick: $t(r, ["stop"])
|
|
1108
|
-
}, null, 8,
|
|
1113
|
+
}, null, 8, vo),
|
|
1109
1114
|
g("label", {
|
|
1110
1115
|
class: "m-label m-checkboxes__label",
|
|
1111
1116
|
for: "checkbox-" + e.id
|
|
@@ -1114,14 +1119,14 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1114
1119
|
g("span", {
|
|
1115
1120
|
id: "checkbox-hint-" + e.id,
|
|
1116
1121
|
class: "m-hint"
|
|
1117
|
-
}, L(e.hint), 9,
|
|
1118
|
-
], 8,
|
|
1122
|
+
}, L(e.hint), 9, go)
|
|
1123
|
+
], 8, mo)
|
|
1119
1124
|
]));
|
|
1120
1125
|
}
|
|
1121
|
-
}),
|
|
1126
|
+
}), _o = { class: "m-checkbox-group" }, yo = { class: "m-checkbox-group__legend" }, bo = { class: "m-checkbox-group__heading" }, Eo = { class: "m-checkboxes m-checkboxes--collapse" }, So = {
|
|
1122
1127
|
"aria-hidden": "true",
|
|
1123
1128
|
class: "icon icon--after"
|
|
1124
|
-
},
|
|
1129
|
+
}, Co = ["href"], wo = /* @__PURE__ */ W({
|
|
1125
1130
|
__name: "MucCheckboxGroup",
|
|
1126
1131
|
props: {
|
|
1127
1132
|
heading: {},
|
|
@@ -1130,21 +1135,21 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1130
1135
|
setup(e) {
|
|
1131
1136
|
const t = ae(!0), i = D(() => t.value ? "collapse" : ""), n = D(() => t.value ? "down" : "up"), r = () => t.value = !t.value;
|
|
1132
1137
|
return (a, s) => (_(), C("div", {
|
|
1133
|
-
class:
|
|
1138
|
+
class: J(["m-form-group", { "has-error": e.errorMsg }])
|
|
1134
1139
|
}, [
|
|
1135
|
-
g("fieldset",
|
|
1136
|
-
g("legend",
|
|
1137
|
-
g("h3",
|
|
1140
|
+
g("fieldset", _o, [
|
|
1141
|
+
g("legend", yo, [
|
|
1142
|
+
g("h3", bo, L(e.heading), 1)
|
|
1138
1143
|
]),
|
|
1139
|
-
g("div",
|
|
1144
|
+
g("div", Eo, [
|
|
1140
1145
|
U(a.$slots, "checkboxes"),
|
|
1141
1146
|
a.$slots.collapsableCheckboxes ? (_(), C("div", {
|
|
1142
1147
|
key: 0,
|
|
1143
|
-
class:
|
|
1148
|
+
class: J(["m-checkboxes__collapse__container", i.value])
|
|
1144
1149
|
}, [
|
|
1145
1150
|
U(a.$slots, "collapsableCheckboxes")
|
|
1146
1151
|
], 2)) : B("", !0),
|
|
1147
|
-
a.$slots.collapsableCheckboxes ? (_(),
|
|
1152
|
+
a.$slots.collapsableCheckboxes ? (_(), Z(q(Je), {
|
|
1148
1153
|
key: 1,
|
|
1149
1154
|
variant: "ghost",
|
|
1150
1155
|
onClick: r,
|
|
@@ -1152,16 +1157,16 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1152
1157
|
}, {
|
|
1153
1158
|
default: ne(() => [
|
|
1154
1159
|
s[0] || (s[0] = g("span", null, "Mehr ", -1)),
|
|
1155
|
-
(_(), C("svg",
|
|
1160
|
+
(_(), C("svg", So, [
|
|
1156
1161
|
g("use", {
|
|
1157
1162
|
href: "#icon-chevron-" + n.value
|
|
1158
|
-
}, null, 8,
|
|
1163
|
+
}, null, 8, Co)
|
|
1159
1164
|
]))
|
|
1160
1165
|
]),
|
|
1161
1166
|
_: 1
|
|
1162
1167
|
}, 8, ["aria-expanded"])) : B("", !0)
|
|
1163
1168
|
]),
|
|
1164
|
-
e.errorMsg ? (_(),
|
|
1169
|
+
e.errorMsg ? (_(), Z(_t, {
|
|
1165
1170
|
key: 0,
|
|
1166
1171
|
id: "checkbox-group-error",
|
|
1167
1172
|
tabindex: "0",
|
|
@@ -1176,7 +1181,7 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1176
1181
|
])
|
|
1177
1182
|
], 2));
|
|
1178
1183
|
}
|
|
1179
|
-
}),
|
|
1184
|
+
}), Ao = ["href", "target"], _r = /* @__PURE__ */ W({
|
|
1180
1185
|
__name: "MucLink",
|
|
1181
1186
|
props: {
|
|
1182
1187
|
label: {},
|
|
@@ -1194,10 +1199,10 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1194
1199
|
return (n, r) => (_(), C("a", {
|
|
1195
1200
|
href: e.href,
|
|
1196
1201
|
target: e.target,
|
|
1197
|
-
class:
|
|
1202
|
+
class: J(["m-link", [t.value, i.value]])
|
|
1198
1203
|
}, [
|
|
1199
1204
|
U(n.$slots, "prepend", {}, () => [
|
|
1200
|
-
e.prependIcon ? (_(),
|
|
1205
|
+
e.prependIcon ? (_(), Z(q(me), {
|
|
1201
1206
|
key: 0,
|
|
1202
1207
|
class: "icon icon--before",
|
|
1203
1208
|
icon: e.prependIcon
|
|
@@ -1205,20 +1210,20 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1205
1210
|
]),
|
|
1206
1211
|
ue(" " + L(e.label) + " ", 1),
|
|
1207
1212
|
U(n.$slots, "append", {}, () => [
|
|
1208
|
-
e.appendIcon ? (_(),
|
|
1213
|
+
e.appendIcon ? (_(), Z(q(me), {
|
|
1209
1214
|
key: 0,
|
|
1210
1215
|
class: "icon icon--after",
|
|
1211
1216
|
icon: e.appendIcon
|
|
1212
1217
|
}, null, 8, ["icon"])) : B("", !0)
|
|
1213
1218
|
])
|
|
1214
|
-
], 10,
|
|
1219
|
+
], 10, Ao));
|
|
1215
1220
|
}
|
|
1216
|
-
}),
|
|
1221
|
+
}), Io = { class: "grid" }, Mo = { class: "grid-item" }, To = { class: "content-centered" }, Do = {
|
|
1217
1222
|
class: "content-centered",
|
|
1218
1223
|
style: { color: "var(--color-brand-main-blue)" }
|
|
1219
|
-
},
|
|
1224
|
+
}, xo = { class: "visually-hidden" }, Oo = { class: "content-centered" }, ko = { class: "grid-item content-centered-justify-left" }, Lo = { key: 0 }, $o = { key: 1 }, No = /* @__PURE__ */ W({
|
|
1220
1225
|
__name: "MucCounter",
|
|
1221
|
-
props: /* @__PURE__ */
|
|
1226
|
+
props: /* @__PURE__ */ Pe({
|
|
1222
1227
|
label: {},
|
|
1223
1228
|
min: {},
|
|
1224
1229
|
max: {},
|
|
@@ -1247,15 +1252,15 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1247
1252
|
), a = D(
|
|
1248
1253
|
() => t.value == 0 || !!e.min && !(t.value > e.min) || e.disabled
|
|
1249
1254
|
);
|
|
1250
|
-
return (s, o) => (_(), C("div",
|
|
1251
|
-
g("div",
|
|
1252
|
-
g("div",
|
|
1255
|
+
return (s, o) => (_(), C("div", Io, [
|
|
1256
|
+
g("div", Mo, [
|
|
1257
|
+
g("div", To, [
|
|
1253
1258
|
oe(q(Je), {
|
|
1254
1259
|
onClick: n,
|
|
1255
1260
|
variant: "secondary",
|
|
1256
1261
|
disabled: a.value,
|
|
1257
1262
|
"aria-label": "Anzahl " + e.label + " reduzieren auf " + (t.value - 1),
|
|
1258
|
-
class:
|
|
1263
|
+
class: J({ "counter-btn--disabled": a.value })
|
|
1259
1264
|
}, {
|
|
1260
1265
|
default: ne(() => [
|
|
1261
1266
|
oe(q(me), { icon: "minus" })
|
|
@@ -1264,18 +1269,18 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1264
1269
|
}, 8, ["disabled", "aria-label", "class"])
|
|
1265
1270
|
]),
|
|
1266
1271
|
g("p", null, [
|
|
1267
|
-
g("strong",
|
|
1268
|
-
g("span",
|
|
1272
|
+
g("strong", Do, [
|
|
1273
|
+
g("span", xo, " Aktuell ausgewählte Anzahl für " + L(e.label) + " ist", 1),
|
|
1269
1274
|
ue(" " + L(t.value), 1)
|
|
1270
1275
|
])
|
|
1271
1276
|
]),
|
|
1272
|
-
g("div",
|
|
1277
|
+
g("div", Oo, [
|
|
1273
1278
|
oe(q(Je), {
|
|
1274
1279
|
onClick: i,
|
|
1275
1280
|
variant: "secondary",
|
|
1276
1281
|
disabled: r.value,
|
|
1277
1282
|
"aria-label": "Anzahl " + e.label + " erhöhen auf " + (t.value + 1),
|
|
1278
|
-
class:
|
|
1283
|
+
class: J({ "counter-btn--disabled": r.value })
|
|
1279
1284
|
}, {
|
|
1280
1285
|
default: ne(() => [
|
|
1281
1286
|
oe(q(me), { icon: "plus" })
|
|
@@ -1284,8 +1289,8 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1284
1289
|
}, 8, ["disabled", "aria-label", "class"])
|
|
1285
1290
|
])
|
|
1286
1291
|
]),
|
|
1287
|
-
g("div",
|
|
1288
|
-
e.link ? (_(), C("p",
|
|
1292
|
+
g("div", ko, [
|
|
1293
|
+
e.link ? (_(), C("p", Lo, [
|
|
1289
1294
|
g("label", null, [
|
|
1290
1295
|
oe(q(_r), {
|
|
1291
1296
|
tabindex: "0",
|
|
@@ -1293,30 +1298,30 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1293
1298
|
href: e.link
|
|
1294
1299
|
}, null, 8, ["label", "href"])
|
|
1295
1300
|
])
|
|
1296
|
-
])) : (_(), C("p",
|
|
1301
|
+
])) : (_(), C("p", $o, [
|
|
1297
1302
|
g("label", null, L(e.label), 1)
|
|
1298
1303
|
]))
|
|
1299
1304
|
])
|
|
1300
1305
|
]));
|
|
1301
1306
|
}
|
|
1302
|
-
}),
|
|
1307
|
+
}), Po = /* @__PURE__ */ he(No, [["__scopeId", "data-v-af0c991b"]]), Fo = {
|
|
1303
1308
|
class: "m-error-list",
|
|
1304
1309
|
role: "alert",
|
|
1305
1310
|
tabindex: "-1"
|
|
1306
|
-
},
|
|
1311
|
+
}, Ro = { class: "m-error-list__title" }, Vo = { class: "m-error-list__body" }, Bo = { class: "m-list m-error-list__list" }, Ho = "Ein Fehler ist aufgetreten!", Yo = /* @__PURE__ */ W({
|
|
1307
1312
|
__name: "MucErrorList",
|
|
1308
1313
|
props: {
|
|
1309
|
-
title: { default: () =>
|
|
1314
|
+
title: { default: () => Ho },
|
|
1310
1315
|
errors: {}
|
|
1311
1316
|
},
|
|
1312
1317
|
setup(e) {
|
|
1313
1318
|
const t = D(
|
|
1314
1319
|
() => typeof e.errors == "string" ? [e.errors] : e.errors
|
|
1315
1320
|
);
|
|
1316
|
-
return (i, n) => (_(), C("div",
|
|
1317
|
-
g("h2",
|
|
1318
|
-
g("div",
|
|
1319
|
-
g("ul",
|
|
1321
|
+
return (i, n) => (_(), C("div", Fo, [
|
|
1322
|
+
g("h2", Ro, L(e.title), 1),
|
|
1323
|
+
g("div", Vo, [
|
|
1324
|
+
g("ul", Bo, [
|
|
1320
1325
|
(_(!0), C(we, null, Oe(t.value, (r, a) => (_(), C("li", { key: a }, [
|
|
1321
1326
|
g("a", null, L(r), 1)
|
|
1322
1327
|
]))), 128))
|
|
@@ -1324,18 +1329,18 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1324
1329
|
])
|
|
1325
1330
|
]));
|
|
1326
1331
|
}
|
|
1327
|
-
}),
|
|
1332
|
+
}), jo = ["for"], Ko = ["id"], Go = { class: "m-input-wrapper m-autocomplete" }, zo = {
|
|
1328
1333
|
key: 0,
|
|
1329
1334
|
class: "m-input__prefix"
|
|
1330
|
-
},
|
|
1335
|
+
}, Wo = ["id", "type", "aria-describedby", "placeholder", "required", "aria-required", "maxlength", "autocomplete", "name"], Uo = {
|
|
1331
1336
|
key: 1,
|
|
1332
1337
|
class: "autocomplete-result-list autocomplete-result-list--location"
|
|
1333
|
-
},
|
|
1338
|
+
}, qo = ["onClick"], Xo = {
|
|
1334
1339
|
"aria-hidden": "true",
|
|
1335
1340
|
class: "icon"
|
|
1336
|
-
},
|
|
1341
|
+
}, Jo = ["xlink:href"], Zo = /* @__PURE__ */ W({
|
|
1337
1342
|
__name: "MucInput",
|
|
1338
|
-
props: /* @__PURE__ */
|
|
1343
|
+
props: /* @__PURE__ */ Pe({
|
|
1339
1344
|
id: {},
|
|
1340
1345
|
errorMsg: {},
|
|
1341
1346
|
placeholder: {},
|
|
@@ -1352,7 +1357,7 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1352
1357
|
modelValue: { default: "" },
|
|
1353
1358
|
modelModifiers: {}
|
|
1354
1359
|
}),
|
|
1355
|
-
emits: /* @__PURE__ */
|
|
1360
|
+
emits: /* @__PURE__ */ Pe(["suffixClick"], ["update:modelValue"]),
|
|
1356
1361
|
setup(e, { emit: t }) {
|
|
1357
1362
|
const i = ht(e, "modelValue"), n = rn(), r = t, a = D(() => e.type === "search"), s = D(() => {
|
|
1358
1363
|
if (i.value === "") return [];
|
|
@@ -1362,20 +1367,20 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1362
1367
|
);
|
|
1363
1368
|
}), o = (c) => i.value = c, l = () => r("suffixClick");
|
|
1364
1369
|
return (c, u) => (_(), C("div", {
|
|
1365
|
-
class:
|
|
1370
|
+
class: J(["m-form-group", { "has-error": e.errorMsg }])
|
|
1366
1371
|
}, [
|
|
1367
1372
|
e.label ? (_(), C("label", {
|
|
1368
1373
|
key: 0,
|
|
1369
1374
|
for: "input-" + e.id,
|
|
1370
|
-
class:
|
|
1371
|
-
}, L(e.label), 11,
|
|
1375
|
+
class: J(["m-label", { "m-label--optional": !e.required }])
|
|
1376
|
+
}, L(e.label), 11, jo)) : B("", !0),
|
|
1372
1377
|
e.hint ? (_(), C("p", {
|
|
1373
1378
|
key: 1,
|
|
1374
1379
|
class: "m-hint",
|
|
1375
1380
|
id: "input-hint-" + e.id
|
|
1376
|
-
}, L(e.hint), 9,
|
|
1377
|
-
g("div",
|
|
1378
|
-
n.prefix ? (_(), C("div",
|
|
1381
|
+
}, L(e.hint), 9, Ko)) : B("", !0),
|
|
1382
|
+
g("div", Go, [
|
|
1383
|
+
n.prefix ? (_(), C("div", zo, [
|
|
1379
1384
|
g("span", null, [
|
|
1380
1385
|
U(c.$slots, "prefix")
|
|
1381
1386
|
])
|
|
@@ -1392,30 +1397,30 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1392
1397
|
maxlength: e.max,
|
|
1393
1398
|
autocomplete: e.autocomplete,
|
|
1394
1399
|
name: e.name
|
|
1395
|
-
}, null, 8,
|
|
1400
|
+
}, null, 8, Wo), [
|
|
1396
1401
|
[Ca, i.value]
|
|
1397
1402
|
]),
|
|
1398
|
-
a.value && s.value.length !== 0 ? (_(), C("ul",
|
|
1403
|
+
a.value && s.value.length !== 0 ? (_(), C("ul", Uo, [
|
|
1399
1404
|
(_(!0), C(we, null, Oe(s.value, (d) => (_(), C("li", {
|
|
1400
1405
|
class: "autocomplete-result",
|
|
1401
1406
|
key: d,
|
|
1402
1407
|
onClick: (h) => o(d)
|
|
1403
|
-
}, L(d), 9,
|
|
1408
|
+
}, L(d), 9, qo))), 128))
|
|
1404
1409
|
])) : B("", !0),
|
|
1405
1410
|
e.suffixIcon ? (_(), C("button", {
|
|
1406
1411
|
key: 2,
|
|
1407
1412
|
class: "m-input__suffix",
|
|
1408
1413
|
onClick: l
|
|
1409
1414
|
}, [
|
|
1410
|
-
(_(), C("svg",
|
|
1415
|
+
(_(), C("svg", Xo, [
|
|
1411
1416
|
g("use", {
|
|
1412
1417
|
"xlink:href": "#icon-" + e.suffixIcon
|
|
1413
|
-
}, null, 8,
|
|
1418
|
+
}, null, 8, Jo)
|
|
1414
1419
|
])),
|
|
1415
1420
|
u[1] || (u[1] = g("span", { class: "visually-hidden" }, "Suchen", -1))
|
|
1416
1421
|
])) : B("", !0)
|
|
1417
1422
|
]),
|
|
1418
|
-
e.errorMsg ? (_(),
|
|
1423
|
+
e.errorMsg ? (_(), Z(_t, {
|
|
1419
1424
|
key: 2,
|
|
1420
1425
|
id: "text-input-error",
|
|
1421
1426
|
tabindex: "0",
|
|
@@ -1429,10 +1434,10 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1429
1434
|
})) : B("", !0)
|
|
1430
1435
|
], 2));
|
|
1431
1436
|
}
|
|
1432
|
-
}), yr = /* @__PURE__ */ Symbol("mucRadioGroup"),
|
|
1437
|
+
}), yr = /* @__PURE__ */ Symbol("mucRadioGroup"), Qo = {
|
|
1433
1438
|
key: 0,
|
|
1434
1439
|
class: "m-radios__item"
|
|
1435
|
-
},
|
|
1440
|
+
}, el = ["id", "aria-describedby", "checked", "disabled"], tl = ["for"], il = ["id"], nl = /* @__PURE__ */ W({
|
|
1436
1441
|
__name: "MucRadioButton",
|
|
1437
1442
|
props: {
|
|
1438
1443
|
id: {},
|
|
@@ -1443,7 +1448,7 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1443
1448
|
},
|
|
1444
1449
|
setup(e) {
|
|
1445
1450
|
const t = zt(yr), i = () => t?.set(e.value), n = D(() => t?.modelValue.value === e.value), r = D(() => e.disabled || t?.disabled.value), a = D(() => t?.disabled ?? !1);
|
|
1446
|
-
return (s, o) => a.value ? (_(), C("div",
|
|
1451
|
+
return (s, o) => a.value ? (_(), C("div", Qo, [
|
|
1447
1452
|
g("input", {
|
|
1448
1453
|
id: "radio-" + e.id,
|
|
1449
1454
|
class: "m-radios__input",
|
|
@@ -1452,7 +1457,7 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1452
1457
|
checked: n.value,
|
|
1453
1458
|
disabled: r.value,
|
|
1454
1459
|
onClick: $t(i, ["stop"])
|
|
1455
|
-
}, null, 8,
|
|
1460
|
+
}, null, 8, el),
|
|
1456
1461
|
g("label", {
|
|
1457
1462
|
class: "m-label m-radios__label",
|
|
1458
1463
|
for: "radio-" + e.id,
|
|
@@ -1462,20 +1467,20 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1462
1467
|
g("span", {
|
|
1463
1468
|
id: "radio-hint-" + e.id,
|
|
1464
1469
|
class: "m-hint"
|
|
1465
|
-
}, L(e.hint), 9,
|
|
1466
|
-
], 8,
|
|
1470
|
+
}, L(e.hint), 9, il)
|
|
1471
|
+
], 8, tl)
|
|
1467
1472
|
])) : B("", !0);
|
|
1468
1473
|
}
|
|
1469
|
-
}),
|
|
1474
|
+
}), rl = { class: "m-form-group" }, al = { class: "m-radio-group" }, sl = { class: "m-radio-group__legend" }, ol = { class: "m-radio-group__heading" }, ll = { class: "m-radios" }, cl = /* @__PURE__ */ W({
|
|
1470
1475
|
__name: "MucRadioButtonGroup",
|
|
1471
|
-
props: /* @__PURE__ */
|
|
1476
|
+
props: /* @__PURE__ */ Pe({
|
|
1472
1477
|
heading: {},
|
|
1473
1478
|
disabled: { type: Boolean, default: !1 }
|
|
1474
1479
|
}, {
|
|
1475
1480
|
modelValue: { type: [Boolean, String, Array, Object, Number, null] },
|
|
1476
1481
|
modelModifiers: {}
|
|
1477
1482
|
}),
|
|
1478
|
-
emits: /* @__PURE__ */
|
|
1483
|
+
emits: /* @__PURE__ */ Pe(["change"], ["update:modelValue"]),
|
|
1479
1484
|
setup(e, { emit: t }) {
|
|
1480
1485
|
const i = ht(e, "modelValue"), n = t;
|
|
1481
1486
|
return nn(yr, {
|
|
@@ -1484,12 +1489,12 @@ const ho = /* @__PURE__ */ he(lo, [["render", uo]]), fo = { class: "drop-zone-ad
|
|
|
1484
1489
|
},
|
|
1485
1490
|
modelValue: i,
|
|
1486
1491
|
disabled: Ri(Vi(() => e.disabled))
|
|
1487
|
-
}), (r, a) => (_(), C("div",
|
|
1488
|
-
g("fieldset",
|
|
1489
|
-
g("legend",
|
|
1490
|
-
g("h3",
|
|
1492
|
+
}), (r, a) => (_(), C("div", rl, [
|
|
1493
|
+
g("fieldset", al, [
|
|
1494
|
+
g("legend", sl, [
|
|
1495
|
+
g("h3", ol, L(e.heading), 1)
|
|
1491
1496
|
]),
|
|
1492
|
-
g("div",
|
|
1497
|
+
g("div", ll, [
|
|
1493
1498
|
U(r.$slots, "default")
|
|
1494
1499
|
])
|
|
1495
1500
|
])
|
|
@@ -1522,7 +1527,7 @@ var Se = function() {
|
|
|
1522
1527
|
return t;
|
|
1523
1528
|
}, Se.apply(this, arguments);
|
|
1524
1529
|
};
|
|
1525
|
-
function
|
|
1530
|
+
function ul(e, t, i) {
|
|
1526
1531
|
for (var n = 0, r = t.length, a; n < r; n++)
|
|
1527
1532
|
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
1528
1533
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
@@ -1560,7 +1565,7 @@ var le = {
|
|
|
1560
1565
|
DOWN_KEY: 40,
|
|
1561
1566
|
PAGE_UP_KEY: 33,
|
|
1562
1567
|
PAGE_DOWN_KEY: 34
|
|
1563
|
-
},
|
|
1568
|
+
}, dl = ["fuseOptions", "classNames"], qe = {
|
|
1564
1569
|
Text: "text",
|
|
1565
1570
|
SelectOne: "select-one",
|
|
1566
1571
|
SelectMultiple: "select-multiple"
|
|
@@ -1569,22 +1574,22 @@ var le = {
|
|
|
1569
1574
|
type: le.ADD_CHOICE,
|
|
1570
1575
|
choice: e
|
|
1571
1576
|
};
|
|
1572
|
-
},
|
|
1577
|
+
}, hl = function(e) {
|
|
1573
1578
|
return {
|
|
1574
1579
|
type: le.REMOVE_CHOICE,
|
|
1575
1580
|
choice: e
|
|
1576
1581
|
};
|
|
1577
|
-
},
|
|
1582
|
+
}, fl = function(e) {
|
|
1578
1583
|
return {
|
|
1579
1584
|
type: le.FILTER_CHOICES,
|
|
1580
1585
|
results: e
|
|
1581
1586
|
};
|
|
1582
|
-
},
|
|
1587
|
+
}, vl = function(e) {
|
|
1583
1588
|
return {
|
|
1584
1589
|
type: le.ACTIVATE_CHOICES,
|
|
1585
1590
|
active: e
|
|
1586
1591
|
};
|
|
1587
|
-
},
|
|
1592
|
+
}, ml = function(e) {
|
|
1588
1593
|
return {
|
|
1589
1594
|
type: le.ADD_GROUP,
|
|
1590
1595
|
group: e
|
|
@@ -1605,16 +1610,16 @@ var le = {
|
|
|
1605
1610
|
item: e,
|
|
1606
1611
|
highlighted: t
|
|
1607
1612
|
};
|
|
1608
|
-
},
|
|
1613
|
+
}, gl = function(e, t) {
|
|
1609
1614
|
return Math.floor(Math.random() * (t - e) + e);
|
|
1610
1615
|
}, Ln = function(e) {
|
|
1611
1616
|
return Array.from({ length: e }, function() {
|
|
1612
|
-
return
|
|
1617
|
+
return gl(0, 36).toString(36);
|
|
1613
1618
|
}).join("");
|
|
1614
|
-
},
|
|
1619
|
+
}, pl = function(e, t) {
|
|
1615
1620
|
var i = e.id || e.name && "".concat(e.name, "-").concat(Ln(2)) || Ln(4);
|
|
1616
1621
|
return i = i.replace(/(:|\.|\[|\]|,)/g, ""), i = "".concat(t, "-").concat(i), i;
|
|
1617
|
-
},
|
|
1622
|
+
}, _l = function(e, t, i) {
|
|
1618
1623
|
i === void 0 && (i = 1);
|
|
1619
1624
|
for (var n = "".concat(i > 0 ? "next" : "previous", "ElementSibling"), r = e[n]; r; ) {
|
|
1620
1625
|
if (r.matches(t))
|
|
@@ -1622,7 +1627,7 @@ var le = {
|
|
|
1622
1627
|
r = r[n];
|
|
1623
1628
|
}
|
|
1624
1629
|
return null;
|
|
1625
|
-
},
|
|
1630
|
+
}, yl = function(e, t, i) {
|
|
1626
1631
|
i === void 0 && (i = 1);
|
|
1627
1632
|
var n;
|
|
1628
1633
|
return i > 0 ? n = t.scrollTop + t.offsetHeight >= e.offsetTop + e.offsetHeight : n = e.offsetTop >= t.scrollTop, n;
|
|
@@ -1639,7 +1644,7 @@ var le = {
|
|
|
1639
1644
|
return e;
|
|
1640
1645
|
}
|
|
1641
1646
|
return e.replace(/&/g, "&").replace(/>/g, ">").replace(/</g, "<").replace(/'/g, "'").replace(/"/g, """);
|
|
1642
|
-
},
|
|
1647
|
+
}, bl = (function() {
|
|
1643
1648
|
var e = document.createElement("div");
|
|
1644
1649
|
return function(t) {
|
|
1645
1650
|
e.innerHTML = t.trim();
|
|
@@ -1647,7 +1652,7 @@ var le = {
|
|
|
1647
1652
|
e.removeChild(e.firstChild);
|
|
1648
1653
|
return i;
|
|
1649
1654
|
};
|
|
1650
|
-
})(),
|
|
1655
|
+
})(), Pt = function(e, t) {
|
|
1651
1656
|
return typeof e == "function" ? e(pi(t), t) : e;
|
|
1652
1657
|
}, $n = function(e) {
|
|
1653
1658
|
return typeof e == "function" ? e() : e;
|
|
@@ -1675,16 +1680,16 @@ var le = {
|
|
|
1675
1680
|
return e ? Er(t) : pi(t);
|
|
1676
1681
|
}, Be = function(e, t, i) {
|
|
1677
1682
|
e.innerHTML = an(t, i);
|
|
1678
|
-
},
|
|
1683
|
+
}, El = function(e, t) {
|
|
1679
1684
|
var i = e.value, n = e.label, r = n === void 0 ? i : n, a = t.value, s = t.label, o = s === void 0 ? a : s;
|
|
1680
1685
|
return lt(r).localeCompare(lt(o), [], {
|
|
1681
1686
|
sensitivity: "base",
|
|
1682
1687
|
ignorePunctuation: !0,
|
|
1683
1688
|
numeric: !0
|
|
1684
1689
|
});
|
|
1685
|
-
},
|
|
1690
|
+
}, Sl = function(e, t) {
|
|
1686
1691
|
return e.rank - t.rank;
|
|
1687
|
-
},
|
|
1692
|
+
}, Cl = function(e, t, i) {
|
|
1688
1693
|
i === void 0 && (i = null);
|
|
1689
1694
|
var n = new CustomEvent(t, {
|
|
1690
1695
|
detail: i,
|
|
@@ -1692,7 +1697,7 @@ var le = {
|
|
|
1692
1697
|
cancelable: !0
|
|
1693
1698
|
});
|
|
1694
1699
|
return e.dispatchEvent(n);
|
|
1695
|
-
},
|
|
1700
|
+
}, wl = function(e, t) {
|
|
1696
1701
|
var i = Object.keys(e).sort(), n = Object.keys(t).sort();
|
|
1697
1702
|
return i.filter(function(r) {
|
|
1698
1703
|
return n.indexOf(r) < 0;
|
|
@@ -1709,7 +1714,7 @@ var le = {
|
|
|
1709
1714
|
}, $e = function(e, t) {
|
|
1710
1715
|
var i;
|
|
1711
1716
|
(i = e.classList).remove.apply(i, _i(t));
|
|
1712
|
-
},
|
|
1717
|
+
}, Al = function(e) {
|
|
1713
1718
|
if (typeof e < "u")
|
|
1714
1719
|
try {
|
|
1715
1720
|
return JSON.parse(e);
|
|
@@ -1717,10 +1722,10 @@ var le = {
|
|
|
1717
1722
|
return e;
|
|
1718
1723
|
}
|
|
1719
1724
|
return {};
|
|
1720
|
-
},
|
|
1725
|
+
}, Il = function(e, t, i) {
|
|
1721
1726
|
var n = e.itemEl;
|
|
1722
1727
|
n && ($e(n, i), G(n, t));
|
|
1723
|
-
},
|
|
1728
|
+
}, Ml = (
|
|
1724
1729
|
/** @class */
|
|
1725
1730
|
(function() {
|
|
1726
1731
|
function e(t) {
|
|
@@ -1771,7 +1776,7 @@ var le = {
|
|
|
1771
1776
|
$e(this.element, this.classNames.loadingState), this.element.removeAttribute("aria-busy"), this.isLoading = !1;
|
|
1772
1777
|
}, e;
|
|
1773
1778
|
})()
|
|
1774
|
-
),
|
|
1779
|
+
), Tl = (
|
|
1775
1780
|
/** @class */
|
|
1776
1781
|
(function() {
|
|
1777
1782
|
function e(t) {
|
|
@@ -1834,7 +1839,7 @@ var le = {
|
|
|
1834
1839
|
this.isFocussed = !1;
|
|
1835
1840
|
}, e;
|
|
1836
1841
|
})()
|
|
1837
|
-
),
|
|
1842
|
+
), Dl = 4, Pn = (
|
|
1838
1843
|
/** @class */
|
|
1839
1844
|
(function() {
|
|
1840
1845
|
function e(t) {
|
|
@@ -1861,7 +1866,7 @@ var le = {
|
|
|
1861
1866
|
var r = (t - n) / i, a = r > 1 ? r : 1;
|
|
1862
1867
|
this.element.scrollTop = t - a;
|
|
1863
1868
|
}, e.prototype._animateScroll = function(t, i) {
|
|
1864
|
-
var n = this, r =
|
|
1869
|
+
var n = this, r = Dl, a = this.element.scrollTop, s = !1;
|
|
1865
1870
|
i > 0 ? (this._scrollDown(a, r, t), a < t && (s = !0)) : (this._scrollUp(a, r, t), a > t && (s = !0)), s && requestAnimationFrame(function() {
|
|
1866
1871
|
n._animateScroll(t, i);
|
|
1867
1872
|
});
|
|
@@ -1910,10 +1915,10 @@ var le = {
|
|
|
1910
1915
|
}, e.prototype.disable = function() {
|
|
1911
1916
|
this.element.setAttribute("disabled", ""), this.element.disabled = !0, this.isDisabled = !0;
|
|
1912
1917
|
}, e.prototype.triggerEvent = function(t, i) {
|
|
1913
|
-
|
|
1918
|
+
Cl(this.element, t, i || {});
|
|
1914
1919
|
}, e;
|
|
1915
1920
|
})()
|
|
1916
|
-
),
|
|
1921
|
+
), xl = (
|
|
1917
1922
|
/** @class */
|
|
1918
1923
|
(function(e) {
|
|
1919
1924
|
br(t, e);
|
|
@@ -1975,15 +1980,15 @@ var le = {
|
|
|
1975
1980
|
customProperties: u.customProperties
|
|
1976
1981
|
};
|
|
1977
1982
|
return d;
|
|
1978
|
-
},
|
|
1983
|
+
}, Ol = function(e) {
|
|
1979
1984
|
return e.tagName === "INPUT";
|
|
1980
1985
|
}, wr = function(e) {
|
|
1981
1986
|
return e.tagName === "SELECT";
|
|
1982
|
-
},
|
|
1987
|
+
}, kl = function(e) {
|
|
1983
1988
|
return e.tagName === "OPTION";
|
|
1984
|
-
},
|
|
1989
|
+
}, Ll = function(e) {
|
|
1985
1990
|
return e.tagName === "OPTGROUP";
|
|
1986
|
-
},
|
|
1991
|
+
}, $l = (
|
|
1987
1992
|
/** @class */
|
|
1988
1993
|
(function(e) {
|
|
1989
1994
|
br(t, e);
|
|
@@ -2010,7 +2015,7 @@ var le = {
|
|
|
2010
2015
|
}, t.prototype.optionsAsChoices = function() {
|
|
2011
2016
|
var i = this, n = [];
|
|
2012
2017
|
return this.element.querySelectorAll(":scope > option, :scope > optgroup").forEach(function(r) {
|
|
2013
|
-
|
|
2018
|
+
kl(r) ? n.push(i._optionToChoice(r)) : Ll(r) && n.push(i._optgroupToChoice(r));
|
|
2014
2019
|
}), n;
|
|
2015
2020
|
}, t.prototype._optionToChoice = function(i) {
|
|
2016
2021
|
return !i.hasAttribute("value") && i.hasAttribute("placeholder") && (i.setAttribute("value", ""), i.value = ""), {
|
|
@@ -2031,7 +2036,7 @@ var le = {
|
|
|
2031
2036
|
placeholder: this.extractPlaceholder && (!i.value || i.hasAttribute("placeholder")),
|
|
2032
2037
|
labelClass: typeof i.dataset.labelClass < "u" ? Cr(i.dataset.labelClass) : void 0,
|
|
2033
2038
|
labelDescription: typeof i.dataset.labelDescription < "u" ? i.dataset.labelDescription : void 0,
|
|
2034
|
-
customProperties:
|
|
2039
|
+
customProperties: Al(i.dataset.customProperties)
|
|
2035
2040
|
};
|
|
2036
2041
|
}, t.prototype._optgroupToChoice = function(i) {
|
|
2037
2042
|
var n = this, r = i.querySelectorAll("option"), a = Array.from(r).map(function(s) {
|
|
@@ -2047,7 +2052,7 @@ var le = {
|
|
|
2047
2052
|
};
|
|
2048
2053
|
}, t;
|
|
2049
2054
|
})(Sr)
|
|
2050
|
-
),
|
|
2055
|
+
), Nl = {
|
|
2051
2056
|
containerOuter: ["choices"],
|
|
2052
2057
|
containerInner: ["choices__inner"],
|
|
2053
2058
|
input: ["choices__input"],
|
|
@@ -2077,7 +2082,7 @@ var le = {
|
|
|
2077
2082
|
addChoice: ["choices__item--selectable", "add-choice"],
|
|
2078
2083
|
noResults: ["has-no-results"],
|
|
2079
2084
|
noChoices: ["has-no-choices"]
|
|
2080
|
-
},
|
|
2085
|
+
}, Fn = {
|
|
2081
2086
|
items: [],
|
|
2082
2087
|
choices: [],
|
|
2083
2088
|
silent: !1,
|
|
@@ -2108,7 +2113,7 @@ var le = {
|
|
|
2108
2113
|
resetScrollPosition: !0,
|
|
2109
2114
|
shouldSort: !0,
|
|
2110
2115
|
shouldSortItems: !1,
|
|
2111
|
-
sorter:
|
|
2116
|
+
sorter: El,
|
|
2112
2117
|
shadowRoot: null,
|
|
2113
2118
|
placeholder: !0,
|
|
2114
2119
|
placeholderValue: null,
|
|
@@ -2143,13 +2148,13 @@ var le = {
|
|
|
2143
2148
|
labelId: "",
|
|
2144
2149
|
callbackOnInit: null,
|
|
2145
2150
|
callbackOnCreateTemplates: null,
|
|
2146
|
-
classNames:
|
|
2151
|
+
classNames: Nl,
|
|
2147
2152
|
appendGroupInSearch: !1
|
|
2148
2153
|
}, Rn = function(e) {
|
|
2149
2154
|
var t = e.itemEl;
|
|
2150
2155
|
t && (t.remove(), e.itemEl = void 0);
|
|
2151
2156
|
};
|
|
2152
|
-
function
|
|
2157
|
+
function Pl(e, t, i) {
|
|
2153
2158
|
var n = e, r = !0;
|
|
2154
2159
|
switch (t.type) {
|
|
2155
2160
|
case le.ADD_ITEM: {
|
|
@@ -2181,7 +2186,7 @@ function Rl(e, t, i) {
|
|
|
2181
2186
|
var o = t.highlighted, l = n.find(function(c) {
|
|
2182
2187
|
return c.id === t.item.id;
|
|
2183
2188
|
});
|
|
2184
|
-
l && l.highlighted !== o && (l.highlighted = o, i &&
|
|
2189
|
+
l && l.highlighted !== o && (l.highlighted = o, i && Il(l, o ? i.classNames.highlightedState : i.classNames.selectedState, o ? i.classNames.selectedState : i.classNames.highlightedState));
|
|
2185
2190
|
break;
|
|
2186
2191
|
}
|
|
2187
2192
|
default: {
|
|
@@ -2191,7 +2196,7 @@ function Rl(e, t, i) {
|
|
|
2191
2196
|
}
|
|
2192
2197
|
return { state: n, update: r };
|
|
2193
2198
|
}
|
|
2194
|
-
function
|
|
2199
|
+
function Fl(e, t) {
|
|
2195
2200
|
var i = e, n = !0;
|
|
2196
2201
|
switch (t.type) {
|
|
2197
2202
|
case le.ADD_GROUP: {
|
|
@@ -2209,7 +2214,7 @@ function Vl(e, t) {
|
|
|
2209
2214
|
}
|
|
2210
2215
|
return { state: i, update: n };
|
|
2211
2216
|
}
|
|
2212
|
-
function
|
|
2217
|
+
function Rl(e, t, i) {
|
|
2213
2218
|
var n = e, r = !0;
|
|
2214
2219
|
switch (t.type) {
|
|
2215
2220
|
case le.ADD_CHOICE: {
|
|
@@ -2257,10 +2262,10 @@ function Bl(e, t, i) {
|
|
|
2257
2262
|
return { state: n, update: r };
|
|
2258
2263
|
}
|
|
2259
2264
|
var Vn = {
|
|
2260
|
-
groups:
|
|
2261
|
-
items:
|
|
2262
|
-
choices:
|
|
2263
|
-
},
|
|
2265
|
+
groups: Fl,
|
|
2266
|
+
items: Pl,
|
|
2267
|
+
choices: Rl
|
|
2268
|
+
}, Vl = (
|
|
2264
2269
|
/** @class */
|
|
2265
2270
|
(function() {
|
|
2266
2271
|
function e(t) {
|
|
@@ -2413,8 +2418,8 @@ var Vn = {
|
|
|
2413
2418
|
addChoice: "add-choice",
|
|
2414
2419
|
generic: ""
|
|
2415
2420
|
};
|
|
2416
|
-
function
|
|
2417
|
-
return (t =
|
|
2421
|
+
function Bl(e, t, i) {
|
|
2422
|
+
return (t = Yl(t)) in e ? Object.defineProperty(e, t, {
|
|
2418
2423
|
value: i,
|
|
2419
2424
|
enumerable: !0,
|
|
2420
2425
|
configurable: !0,
|
|
@@ -2435,14 +2440,14 @@ function gt(e) {
|
|
|
2435
2440
|
for (var t = 1; t < arguments.length; t++) {
|
|
2436
2441
|
var i = arguments[t] != null ? arguments[t] : {};
|
|
2437
2442
|
t % 2 ? Bn(Object(i), !0).forEach(function(n) {
|
|
2438
|
-
|
|
2443
|
+
Bl(e, n, i[n]);
|
|
2439
2444
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(i)) : Bn(Object(i)).forEach(function(n) {
|
|
2440
2445
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(i, n));
|
|
2441
2446
|
});
|
|
2442
2447
|
}
|
|
2443
2448
|
return e;
|
|
2444
2449
|
}
|
|
2445
|
-
function
|
|
2450
|
+
function Hl(e, t) {
|
|
2446
2451
|
if (typeof e != "object" || !e) return e;
|
|
2447
2452
|
var i = e[Symbol.toPrimitive];
|
|
2448
2453
|
if (i !== void 0) {
|
|
@@ -2452,21 +2457,21 @@ function jl(e, t) {
|
|
|
2452
2457
|
}
|
|
2453
2458
|
return (t === "string" ? String : Number)(e);
|
|
2454
2459
|
}
|
|
2455
|
-
function
|
|
2456
|
-
var t =
|
|
2460
|
+
function Yl(e) {
|
|
2461
|
+
var t = Hl(e, "string");
|
|
2457
2462
|
return typeof t == "symbol" ? t : t + "";
|
|
2458
2463
|
}
|
|
2459
2464
|
function Ge(e) {
|
|
2460
2465
|
return Array.isArray ? Array.isArray(e) : Mr(e) === "[object Array]";
|
|
2461
2466
|
}
|
|
2462
|
-
function
|
|
2467
|
+
function jl(e) {
|
|
2463
2468
|
if (typeof e == "string")
|
|
2464
2469
|
return e;
|
|
2465
2470
|
let t = e + "";
|
|
2466
2471
|
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
2467
2472
|
}
|
|
2468
|
-
function
|
|
2469
|
-
return e == null ? "" :
|
|
2473
|
+
function Kl(e) {
|
|
2474
|
+
return e == null ? "" : jl(e);
|
|
2470
2475
|
}
|
|
2471
2476
|
function Ne(e) {
|
|
2472
2477
|
return typeof e == "string";
|
|
@@ -2474,13 +2479,13 @@ function Ne(e) {
|
|
|
2474
2479
|
function Ar(e) {
|
|
2475
2480
|
return typeof e == "number";
|
|
2476
2481
|
}
|
|
2477
|
-
function
|
|
2478
|
-
return e === !0 || e === !1 ||
|
|
2482
|
+
function Gl(e) {
|
|
2483
|
+
return e === !0 || e === !1 || zl(e) && Mr(e) == "[object Boolean]";
|
|
2479
2484
|
}
|
|
2480
2485
|
function Ir(e) {
|
|
2481
2486
|
return typeof e == "object";
|
|
2482
2487
|
}
|
|
2483
|
-
function
|
|
2488
|
+
function zl(e) {
|
|
2484
2489
|
return Ir(e) && e !== null;
|
|
2485
2490
|
}
|
|
2486
2491
|
function Ae(e) {
|
|
@@ -2492,8 +2497,8 @@ function Oi(e) {
|
|
|
2492
2497
|
function Mr(e) {
|
|
2493
2498
|
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
|
|
2494
2499
|
}
|
|
2495
|
-
const
|
|
2496
|
-
class
|
|
2500
|
+
const Wl = "Incorrect 'index' type", Ul = (e) => `Invalid value for key ${e}`, ql = (e) => `Pattern length exceeds max of ${e}.`, Xl = (e) => `Missing ${e} property in key`, Jl = (e) => `Property 'weight' in key '${e}' must be a positive integer`, Hn = Object.prototype.hasOwnProperty;
|
|
2501
|
+
class Zl {
|
|
2497
2502
|
constructor(t) {
|
|
2498
2503
|
this._keys = [], this._keyMap = {};
|
|
2499
2504
|
let i = 0;
|
|
@@ -2520,10 +2525,10 @@ function Tr(e) {
|
|
|
2520
2525
|
n = e, t = Yn(e), i = Yi(e);
|
|
2521
2526
|
else {
|
|
2522
2527
|
if (!Hn.call(e, "name"))
|
|
2523
|
-
throw new Error(
|
|
2528
|
+
throw new Error(Xl("name"));
|
|
2524
2529
|
const s = e.name;
|
|
2525
2530
|
if (n = s, Hn.call(e, "weight") && (r = e.weight, r <= 0))
|
|
2526
|
-
throw new Error(
|
|
2531
|
+
throw new Error(Jl(s));
|
|
2527
2532
|
t = Yn(s), i = Yi(s), a = e.getFn;
|
|
2528
2533
|
}
|
|
2529
2534
|
return {
|
|
@@ -2540,7 +2545,7 @@ function Yn(e) {
|
|
|
2540
2545
|
function Yi(e) {
|
|
2541
2546
|
return Ge(e) ? e.join(".") : e;
|
|
2542
2547
|
}
|
|
2543
|
-
function
|
|
2548
|
+
function Ql(e, t) {
|
|
2544
2549
|
let i = [], n = !1;
|
|
2545
2550
|
const r = (a, s, o) => {
|
|
2546
2551
|
if (Ae(a))
|
|
@@ -2551,8 +2556,8 @@ function tc(e, t) {
|
|
|
2551
2556
|
const c = a[l];
|
|
2552
2557
|
if (!Ae(c))
|
|
2553
2558
|
return;
|
|
2554
|
-
if (o === s.length - 1 && (Ne(c) || Ar(c) ||
|
|
2555
|
-
i.push(
|
|
2559
|
+
if (o === s.length - 1 && (Ne(c) || Ar(c) || Gl(c)))
|
|
2560
|
+
i.push(Kl(c));
|
|
2556
2561
|
else if (Ge(c)) {
|
|
2557
2562
|
n = !0;
|
|
2558
2563
|
for (let u = 0, d = c.length; u < d; u += 1)
|
|
@@ -2562,7 +2567,7 @@ function tc(e, t) {
|
|
|
2562
2567
|
};
|
|
2563
2568
|
return r(e, Ne(t) ? t.split(".") : t, 0), n ? i : i[0];
|
|
2564
2569
|
}
|
|
2565
|
-
const
|
|
2570
|
+
const ec = {
|
|
2566
2571
|
// Whether the matches should be included in the result set. When `true`, each record in the result
|
|
2567
2572
|
// set will include the indices of the matched characters.
|
|
2568
2573
|
// These can consequently be used for highlighting purposes.
|
|
@@ -2572,7 +2577,7 @@ const ic = {
|
|
|
2572
2577
|
findAllMatches: !1,
|
|
2573
2578
|
// Minimum number of characters that must be matched before a result is considered a match
|
|
2574
2579
|
minMatchCharLength: 1
|
|
2575
|
-
},
|
|
2580
|
+
}, tc = {
|
|
2576
2581
|
// When `true`, the algorithm continues searching to the end of the input even if a perfect
|
|
2577
2582
|
// match is found before the end of the same input.
|
|
2578
2583
|
isCaseSensitive: !1,
|
|
@@ -2584,7 +2589,7 @@ const ic = {
|
|
|
2584
2589
|
shouldSort: !0,
|
|
2585
2590
|
// Default sort function: sort by ascending score, ascending index
|
|
2586
2591
|
sortFn: (e, t) => e.score === t.score ? e.idx < t.idx ? -1 : 1 : e.score < t.score ? -1 : 1
|
|
2587
|
-
},
|
|
2592
|
+
}, ic = {
|
|
2588
2593
|
// Approximately where in the text is the pattern expected to be found?
|
|
2589
2594
|
location: 0,
|
|
2590
2595
|
// At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match
|
|
@@ -2596,12 +2601,12 @@ const ic = {
|
|
|
2596
2601
|
// the exact location specified, a threshold of '1000' would require a perfect match
|
|
2597
2602
|
// to be within 800 characters of the fuzzy location to be found using a 0.8 threshold.
|
|
2598
2603
|
distance: 100
|
|
2599
|
-
},
|
|
2604
|
+
}, nc = {
|
|
2600
2605
|
// When `true`, it enables the use of unix-like search commands
|
|
2601
2606
|
useExtendedSearch: !1,
|
|
2602
2607
|
// The get function to use when fetching an object's properties.
|
|
2603
2608
|
// The default will search nested paths *ie foo.bar.baz*
|
|
2604
|
-
getFn:
|
|
2609
|
+
getFn: Ql,
|
|
2605
2610
|
// When `true`, search will ignore `location` and `distance`, so it won't matter
|
|
2606
2611
|
// where in the string the pattern appears.
|
|
2607
2612
|
// More info: https://fusejs.io/concepts/scoring-theory.html#fuzziness-score
|
|
@@ -2613,13 +2618,13 @@ const ic = {
|
|
|
2613
2618
|
// The weight to determine how much field length norm effects scoring.
|
|
2614
2619
|
fieldNormWeight: 1
|
|
2615
2620
|
};
|
|
2616
|
-
var Y = gt(gt(gt(gt({},
|
|
2617
|
-
const
|
|
2618
|
-
function
|
|
2621
|
+
var Y = gt(gt(gt(gt({}, tc), ec), ic), nc);
|
|
2622
|
+
const rc = /[^ ]+/g;
|
|
2623
|
+
function ac(e = 1, t = 3) {
|
|
2619
2624
|
const i = /* @__PURE__ */ new Map(), n = Math.pow(10, t);
|
|
2620
2625
|
return {
|
|
2621
2626
|
get(r) {
|
|
2622
|
-
const a = r.match(
|
|
2627
|
+
const a = r.match(rc).length;
|
|
2623
2628
|
if (i.has(a))
|
|
2624
2629
|
return i.get(a);
|
|
2625
2630
|
const s = 1 / Math.pow(a, 0.5 * e), o = parseFloat(Math.round(s * n) / n);
|
|
@@ -2635,7 +2640,7 @@ class sn {
|
|
|
2635
2640
|
getFn: t = Y.getFn,
|
|
2636
2641
|
fieldNormWeight: i = Y.fieldNormWeight
|
|
2637
2642
|
} = {}) {
|
|
2638
|
-
this.norm =
|
|
2643
|
+
this.norm = ac(i, 3), this.getFn = t, this.isCreated = !1, this.setIndexRecords();
|
|
2639
2644
|
}
|
|
2640
2645
|
setSources(t = []) {
|
|
2641
2646
|
this.docs = t;
|
|
@@ -2744,7 +2749,7 @@ function Dr(e, t, {
|
|
|
2744
2749
|
});
|
|
2745
2750
|
return r.setKeys(e.map(Tr)), r.setSources(t), r.create(), r;
|
|
2746
2751
|
}
|
|
2747
|
-
function
|
|
2752
|
+
function sc(e, {
|
|
2748
2753
|
getFn: t = Y.getFn,
|
|
2749
2754
|
fieldNormWeight: i = Y.fieldNormWeight
|
|
2750
2755
|
} = {}) {
|
|
@@ -2770,7 +2775,7 @@ function ni(e, {
|
|
|
2770
2775
|
const o = Math.abs(n - i);
|
|
2771
2776
|
return r ? s + o / r : o ? 1 : s;
|
|
2772
2777
|
}
|
|
2773
|
-
function
|
|
2778
|
+
function oc(e = [], t = Y.minMatchCharLength) {
|
|
2774
2779
|
let i = [], n = -1, r = -1, a = 0;
|
|
2775
2780
|
for (let s = e.length; a < s; a += 1) {
|
|
2776
2781
|
let o = e[a];
|
|
@@ -2779,7 +2784,7 @@ function cc(e = [], t = Y.minMatchCharLength) {
|
|
|
2779
2784
|
return e[a - 1] && a - n >= t && i.push([n, a - 1]), i;
|
|
2780
2785
|
}
|
|
2781
2786
|
const ot = 32;
|
|
2782
|
-
function
|
|
2787
|
+
function lc(e, t, i, {
|
|
2783
2788
|
location: n = Y.location,
|
|
2784
2789
|
distance: r = Y.distance,
|
|
2785
2790
|
threshold: a = Y.threshold,
|
|
@@ -2789,7 +2794,7 @@ function uc(e, t, i, {
|
|
|
2789
2794
|
ignoreLocation: c = Y.ignoreLocation
|
|
2790
2795
|
} = {}) {
|
|
2791
2796
|
if (t.length > ot)
|
|
2792
|
-
throw new Error(
|
|
2797
|
+
throw new Error(ql(ot));
|
|
2793
2798
|
const u = t.length, d = e.length, h = Math.max(0, Math.min(n, d));
|
|
2794
2799
|
let v = a, f = h;
|
|
2795
2800
|
const m = o > 1 || l, b = m ? Array(d) : [];
|
|
@@ -2808,10 +2813,10 @@ function uc(e, t, i, {
|
|
|
2808
2813
|
}
|
|
2809
2814
|
}
|
|
2810
2815
|
f = -1;
|
|
2811
|
-
let y = [], E = 1,
|
|
2816
|
+
let y = [], E = 1, P = u + d;
|
|
2812
2817
|
const $ = 1 << u - 1;
|
|
2813
2818
|
for (let S = 0; S < u; S += 1) {
|
|
2814
|
-
let x = 0, H =
|
|
2819
|
+
let x = 0, H = P;
|
|
2815
2820
|
for (; x < H; )
|
|
2816
2821
|
ni(t, {
|
|
2817
2822
|
errors: S,
|
|
@@ -2819,8 +2824,8 @@ function uc(e, t, i, {
|
|
|
2819
2824
|
expectedLocation: h,
|
|
2820
2825
|
distance: r,
|
|
2821
2826
|
ignoreLocation: c
|
|
2822
|
-
}) <= v ? x = H :
|
|
2823
|
-
|
|
2827
|
+
}) <= v ? x = H : P = H, H = Math.floor((P - x) / 2 + x);
|
|
2828
|
+
P = H;
|
|
2824
2829
|
let R = Math.max(1, h - H + 1), A = s ? d : Math.min(h + H, d) + u, M = Array(A + 2);
|
|
2825
2830
|
M[A + 1] = (1 << S) - 1;
|
|
2826
2831
|
for (let N = A; N >= R; N -= 1) {
|
|
@@ -2853,12 +2858,12 @@ function uc(e, t, i, {
|
|
|
2853
2858
|
score: Math.max(1e-3, E)
|
|
2854
2859
|
};
|
|
2855
2860
|
if (m) {
|
|
2856
|
-
const S =
|
|
2861
|
+
const S = oc(b, o);
|
|
2857
2862
|
S.length ? l && (T.indices = S) : T.isMatch = !1;
|
|
2858
2863
|
}
|
|
2859
2864
|
return T;
|
|
2860
2865
|
}
|
|
2861
|
-
function
|
|
2866
|
+
function cc(e) {
|
|
2862
2867
|
let t = {};
|
|
2863
2868
|
for (let i = 0, n = e.length; i < n; i += 1) {
|
|
2864
2869
|
const r = e.charAt(i);
|
|
@@ -2891,7 +2896,7 @@ class xr {
|
|
|
2891
2896
|
const u = (h, v) => {
|
|
2892
2897
|
this.chunks.push({
|
|
2893
2898
|
pattern: h,
|
|
2894
|
-
alphabet:
|
|
2899
|
+
alphabet: cc(h),
|
|
2895
2900
|
startIndex: v
|
|
2896
2901
|
});
|
|
2897
2902
|
}, d = this.pattern.length;
|
|
@@ -2937,7 +2942,7 @@ class xr {
|
|
|
2937
2942
|
isMatch: p,
|
|
2938
2943
|
score: y,
|
|
2939
2944
|
indices: E
|
|
2940
|
-
} =
|
|
2945
|
+
} = lc(t, f, m, {
|
|
2941
2946
|
location: r + b,
|
|
2942
2947
|
distance: a,
|
|
2943
2948
|
threshold: s,
|
|
@@ -2972,7 +2977,7 @@ function jn(e, t) {
|
|
|
2972
2977
|
const i = e.match(t);
|
|
2973
2978
|
return i ? i[1] : null;
|
|
2974
2979
|
}
|
|
2975
|
-
class
|
|
2980
|
+
class uc extends tt {
|
|
2976
2981
|
constructor(t) {
|
|
2977
2982
|
super(t);
|
|
2978
2983
|
}
|
|
@@ -2994,7 +2999,7 @@ class hc extends tt {
|
|
|
2994
2999
|
};
|
|
2995
3000
|
}
|
|
2996
3001
|
}
|
|
2997
|
-
class
|
|
3002
|
+
class dc extends tt {
|
|
2998
3003
|
constructor(t) {
|
|
2999
3004
|
super(t);
|
|
3000
3005
|
}
|
|
@@ -3016,7 +3021,7 @@ class fc extends tt {
|
|
|
3016
3021
|
};
|
|
3017
3022
|
}
|
|
3018
3023
|
}
|
|
3019
|
-
class
|
|
3024
|
+
class hc extends tt {
|
|
3020
3025
|
constructor(t) {
|
|
3021
3026
|
super(t);
|
|
3022
3027
|
}
|
|
@@ -3038,7 +3043,7 @@ class vc extends tt {
|
|
|
3038
3043
|
};
|
|
3039
3044
|
}
|
|
3040
3045
|
}
|
|
3041
|
-
class
|
|
3046
|
+
class fc extends tt {
|
|
3042
3047
|
constructor(t) {
|
|
3043
3048
|
super(t);
|
|
3044
3049
|
}
|
|
@@ -3060,7 +3065,7 @@ class mc extends tt {
|
|
|
3060
3065
|
};
|
|
3061
3066
|
}
|
|
3062
3067
|
}
|
|
3063
|
-
class
|
|
3068
|
+
class vc extends tt {
|
|
3064
3069
|
constructor(t) {
|
|
3065
3070
|
super(t);
|
|
3066
3071
|
}
|
|
@@ -3082,7 +3087,7 @@ class gc extends tt {
|
|
|
3082
3087
|
};
|
|
3083
3088
|
}
|
|
3084
3089
|
}
|
|
3085
|
-
class
|
|
3090
|
+
class mc extends tt {
|
|
3086
3091
|
constructor(t) {
|
|
3087
3092
|
super(t);
|
|
3088
3093
|
}
|
|
@@ -3165,10 +3170,10 @@ class kr extends tt {
|
|
|
3165
3170
|
};
|
|
3166
3171
|
}
|
|
3167
3172
|
}
|
|
3168
|
-
const ji = [
|
|
3169
|
-
function
|
|
3170
|
-
return e.split(
|
|
3171
|
-
let n = i.trim().split(
|
|
3173
|
+
const ji = [uc, kr, hc, fc, mc, vc, dc, Or], Kn = ji.length, gc = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, pc = "|";
|
|
3174
|
+
function _c(e, t = {}) {
|
|
3175
|
+
return e.split(pc).map((i) => {
|
|
3176
|
+
let n = i.trim().split(gc).filter((a) => a && !!a.trim()), r = [];
|
|
3172
3177
|
for (let a = 0, s = n.length; a < s; a += 1) {
|
|
3173
3178
|
const o = n[a];
|
|
3174
3179
|
let l = !1, c = -1;
|
|
@@ -3190,8 +3195,8 @@ function bc(e, t = {}) {
|
|
|
3190
3195
|
return r;
|
|
3191
3196
|
});
|
|
3192
3197
|
}
|
|
3193
|
-
const
|
|
3194
|
-
class
|
|
3198
|
+
const yc = /* @__PURE__ */ new Set([Or.type, kr.type]);
|
|
3199
|
+
class bc {
|
|
3195
3200
|
constructor(t, {
|
|
3196
3201
|
isCaseSensitive: i = Y.isCaseSensitive,
|
|
3197
3202
|
includeMatches: n = Y.includeMatches,
|
|
@@ -3211,7 +3216,7 @@ class Sc {
|
|
|
3211
3216
|
location: o,
|
|
3212
3217
|
threshold: l,
|
|
3213
3218
|
distance: c
|
|
3214
|
-
}, this.pattern = i ? t : t.toLowerCase(), this.query =
|
|
3219
|
+
}, this.pattern = i ? t : t.toLowerCase(), this.query = _c(this.pattern, this.options);
|
|
3215
3220
|
}
|
|
3216
3221
|
static condition(t, i) {
|
|
3217
3222
|
return i.useExtendedSearch;
|
|
@@ -3241,7 +3246,7 @@ class Sc {
|
|
|
3241
3246
|
if (f) {
|
|
3242
3247
|
if (a += 1, o += b, n) {
|
|
3243
3248
|
const p = v.constructor.type;
|
|
3244
|
-
|
|
3249
|
+
yc.has(p) ? s = [...s, ...m] : s.push(m);
|
|
3245
3250
|
}
|
|
3246
3251
|
} else {
|
|
3247
3252
|
o = 0, a = 0, s.length = 0;
|
|
@@ -3263,7 +3268,7 @@ class Sc {
|
|
|
3263
3268
|
}
|
|
3264
3269
|
}
|
|
3265
3270
|
const Ki = [];
|
|
3266
|
-
function
|
|
3271
|
+
function Ec(...e) {
|
|
3267
3272
|
Ki.push(...e);
|
|
3268
3273
|
}
|
|
3269
3274
|
function Gi(e, t) {
|
|
@@ -3280,7 +3285,7 @@ const di = {
|
|
|
3280
3285
|
}, zi = {
|
|
3281
3286
|
PATH: "$path",
|
|
3282
3287
|
PATTERN: "$val"
|
|
3283
|
-
}, Wi = (e) => !!(e[di.AND] || e[di.OR]),
|
|
3288
|
+
}, Wi = (e) => !!(e[di.AND] || e[di.OR]), Sc = (e) => !!e[zi.PATH], Cc = (e) => !Ge(e) && Ir(e) && !Wi(e), Gn = (e) => ({
|
|
3284
3289
|
[di.AND]: Object.keys(e).map((t) => ({
|
|
3285
3290
|
[t]: e[t]
|
|
3286
3291
|
}))
|
|
@@ -3290,13 +3295,13 @@ function Lr(e, t, {
|
|
|
3290
3295
|
} = {}) {
|
|
3291
3296
|
const n = (r) => {
|
|
3292
3297
|
let a = Object.keys(r);
|
|
3293
|
-
const s =
|
|
3298
|
+
const s = Sc(r);
|
|
3294
3299
|
if (!s && a.length > 1 && !Wi(r))
|
|
3295
3300
|
return n(Gn(r));
|
|
3296
|
-
if (
|
|
3301
|
+
if (Cc(r)) {
|
|
3297
3302
|
const l = s ? r[zi.PATH] : a[0], c = s ? r[zi.PATTERN] : r[l];
|
|
3298
3303
|
if (!Ne(c))
|
|
3299
|
-
throw new Error(
|
|
3304
|
+
throw new Error(Ul(l));
|
|
3300
3305
|
const u = {
|
|
3301
3306
|
keyId: Yi(l),
|
|
3302
3307
|
pattern: c
|
|
@@ -3316,7 +3321,7 @@ function Lr(e, t, {
|
|
|
3316
3321
|
};
|
|
3317
3322
|
return Wi(e) || (e = Gn(e)), n(e);
|
|
3318
3323
|
}
|
|
3319
|
-
function
|
|
3324
|
+
function wc(e, {
|
|
3320
3325
|
ignoreFieldNorm: t = Y.ignoreFieldNorm
|
|
3321
3326
|
}) {
|
|
3322
3327
|
e.forEach((i) => {
|
|
@@ -3331,7 +3336,7 @@ function Ic(e, {
|
|
|
3331
3336
|
}), i.score = n;
|
|
3332
3337
|
});
|
|
3333
3338
|
}
|
|
3334
|
-
function
|
|
3339
|
+
function Ac(e, t) {
|
|
3335
3340
|
const i = e.matches;
|
|
3336
3341
|
t.matches = [], Ae(i) && i.forEach((n) => {
|
|
3337
3342
|
if (!Ae(n.indices) || !n.indices.length)
|
|
@@ -3347,15 +3352,15 @@ function Mc(e, t) {
|
|
|
3347
3352
|
n.key && (s.key = n.key.src), n.idx > -1 && (s.refIndex = n.idx), t.matches.push(s);
|
|
3348
3353
|
});
|
|
3349
3354
|
}
|
|
3350
|
-
function
|
|
3355
|
+
function Ic(e, t) {
|
|
3351
3356
|
t.score = e.score;
|
|
3352
3357
|
}
|
|
3353
|
-
function
|
|
3358
|
+
function Mc(e, t, {
|
|
3354
3359
|
includeMatches: i = Y.includeMatches,
|
|
3355
3360
|
includeScore: n = Y.includeScore
|
|
3356
3361
|
} = {}) {
|
|
3357
3362
|
const r = [];
|
|
3358
|
-
return i && r.push(
|
|
3363
|
+
return i && r.push(Ac), n && r.push(Ic), e.map((a) => {
|
|
3359
3364
|
const {
|
|
3360
3365
|
idx: s
|
|
3361
3366
|
} = a, o = {
|
|
@@ -3369,11 +3374,11 @@ function Dc(e, t, {
|
|
|
3369
3374
|
}
|
|
3370
3375
|
class At {
|
|
3371
3376
|
constructor(t, i = {}, n) {
|
|
3372
|
-
this.options = gt(gt({}, Y), i), this.options.useExtendedSearch, this._keyStore = new
|
|
3377
|
+
this.options = gt(gt({}, Y), i), this.options.useExtendedSearch, this._keyStore = new Zl(this.options.keys), this.setCollection(t, n);
|
|
3373
3378
|
}
|
|
3374
3379
|
setCollection(t, i) {
|
|
3375
3380
|
if (this._docs = t, i && !(i instanceof sn))
|
|
3376
|
-
throw new Error(
|
|
3381
|
+
throw new Error(Wl);
|
|
3377
3382
|
this._myIndex = i || Dr(this.options.keys, this._docs, {
|
|
3378
3383
|
getFn: this.options.getFn,
|
|
3379
3384
|
fieldNormWeight: this.options.fieldNormWeight
|
|
@@ -3407,9 +3412,9 @@ class At {
|
|
|
3407
3412
|
ignoreFieldNorm: o
|
|
3408
3413
|
} = this.options;
|
|
3409
3414
|
let l = Ne(t) ? Ne(this._docs[0]) ? this._searchStringList(t) : this._searchObjectList(t) : this._searchLogical(t);
|
|
3410
|
-
return
|
|
3415
|
+
return wc(l, {
|
|
3411
3416
|
ignoreFieldNorm: o
|
|
3412
|
-
}), a && l.sort(s), Ar(i) && i > -1 && (l = l.slice(0, i)),
|
|
3417
|
+
}), a && l.sort(s), Ar(i) && i > -1 && (l = l.slice(0, i)), Mc(l, this._docs, {
|
|
3413
3418
|
includeMatches: n,
|
|
3414
3419
|
includeScore: r
|
|
3415
3420
|
});
|
|
@@ -3564,15 +3569,15 @@ class At {
|
|
|
3564
3569
|
}
|
|
3565
3570
|
At.version = "7.0.0";
|
|
3566
3571
|
At.createIndex = Dr;
|
|
3567
|
-
At.parseIndex =
|
|
3572
|
+
At.parseIndex = sc;
|
|
3568
3573
|
At.config = Y;
|
|
3569
3574
|
At.parseQuery = Lr;
|
|
3570
|
-
|
|
3571
|
-
var
|
|
3575
|
+
Ec(bc);
|
|
3576
|
+
var Tc = (
|
|
3572
3577
|
/** @class */
|
|
3573
3578
|
(function() {
|
|
3574
3579
|
function e(t) {
|
|
3575
|
-
this._haystack = [], this._fuseOptions = Se(Se({}, t.fuseOptions), { keys:
|
|
3580
|
+
this._haystack = [], this._fuseOptions = Se(Se({}, t.fuseOptions), { keys: ul([], t.searchFields), includeMatches: !0 });
|
|
3576
3581
|
}
|
|
3577
3582
|
return e.prototype.index = function(t) {
|
|
3578
3583
|
this._haystack = t, this._fuse && this._fuse.setCollection(t);
|
|
@@ -3594,21 +3599,21 @@ var xc = (
|
|
|
3594
3599
|
}, e;
|
|
3595
3600
|
})()
|
|
3596
3601
|
);
|
|
3597
|
-
function
|
|
3598
|
-
return new
|
|
3602
|
+
function Dc(e) {
|
|
3603
|
+
return new Tc(e);
|
|
3599
3604
|
}
|
|
3600
|
-
var
|
|
3605
|
+
var xc = function(e) {
|
|
3601
3606
|
for (var t in e)
|
|
3602
3607
|
if (Object.prototype.hasOwnProperty.call(e, t))
|
|
3603
3608
|
return !1;
|
|
3604
3609
|
return !0;
|
|
3605
3610
|
}, ki = function(e, t, i) {
|
|
3606
3611
|
var n = e.dataset, r = t.customProperties, a = t.labelClass, s = t.labelDescription;
|
|
3607
|
-
a && (n.labelClass = _i(a).join(" ")), s && (n.labelDescription = s), i && r && (typeof r == "string" ? n.customProperties = r : typeof r == "object" && !
|
|
3612
|
+
a && (n.labelClass = _i(a).join(" ")), s && (n.labelDescription = s), i && r && (typeof r == "string" ? n.customProperties = r : typeof r == "object" && !xc(r) && (n.customProperties = JSON.stringify(r)));
|
|
3608
3613
|
}, zn = function(e, t, i) {
|
|
3609
3614
|
var n = t && e.querySelector("label[for='".concat(t, "']")), r = n && n.innerText;
|
|
3610
3615
|
r && i.setAttribute("aria-label", r);
|
|
3611
|
-
},
|
|
3616
|
+
}, Oc = {
|
|
3612
3617
|
containerOuter: function(e, t, i, n, r, a, s) {
|
|
3613
3618
|
var o = e.classNames.containerOuter, l = document.createElement("div");
|
|
3614
3619
|
return G(l, o), l.dataset.type = a, t && (l.dir = t), n && (l.tabIndex = 0), i && (l.setAttribute("role", r ? "combobox" : "listbox"), r ? l.setAttribute("aria-autocomplete", "list") : s || zn(this._docRoot, this.passedElement.element.id, l), l.setAttribute("aria-haspopup", "true"), l.setAttribute("aria-expanded", "false")), s && l.setAttribute("aria-labelledby", s), l;
|
|
@@ -3635,8 +3640,8 @@ var kc = function(e) {
|
|
|
3635
3640
|
if (f.dataset.item = "", f.dataset.id = t.id, f.dataset.value = v, ki(f, t, !0), (t.disabled || this.containerOuter.isDisabled) && f.setAttribute("aria-disabled", "true"), this._isSelectElement && (f.setAttribute("aria-selected", "true"), f.setAttribute("role", "option")), t.placeholder && (G(f, h), f.dataset.placeholder = ""), G(f, t.highlighted ? u : d), i) {
|
|
3636
3641
|
t.disabled && $e(f, d), f.dataset.deletable = "";
|
|
3637
3642
|
var b = document.createElement("button");
|
|
3638
|
-
b.type = "button", G(b, c), Be(b, !0,
|
|
3639
|
-
var p =
|
|
3643
|
+
b.type = "button", G(b, c), Be(b, !0, Pt(a, t.value));
|
|
3644
|
+
var p = Pt(s, t.value);
|
|
3640
3645
|
p && b.setAttribute("aria-label", p), b.dataset.button = "", r ? f.insertAdjacentElement("afterbegin", b) : f.appendChild(b);
|
|
3641
3646
|
}
|
|
3642
3647
|
return f;
|
|
@@ -3697,10 +3702,10 @@ var kc = function(e) {
|
|
|
3697
3702
|
var t = lt(e.label), i = new Option(t, e.value, !1, e.selected);
|
|
3698
3703
|
return ki(i, e, !0), i.disabled = e.disabled, e.selected && i.setAttribute("selected", ""), i;
|
|
3699
3704
|
}
|
|
3700
|
-
},
|
|
3705
|
+
}, kc = "-ms-scroll-limit" in document.documentElement.style && "-ms-ime-align" in document.documentElement.style, Lc = {}, Li = function(e) {
|
|
3701
3706
|
if (e)
|
|
3702
3707
|
return e.dataset.id ? parseInt(e.dataset.id, 10) : void 0;
|
|
3703
|
-
}, Ot = "[data-choice-selectable]",
|
|
3708
|
+
}, Ot = "[data-choice-selectable]", $c = (
|
|
3704
3709
|
/** @class */
|
|
3705
3710
|
(function() {
|
|
3706
3711
|
function e(t, i) {
|
|
@@ -3708,7 +3713,7 @@ var kc = function(e) {
|
|
|
3708
3713
|
var n = this;
|
|
3709
3714
|
this.initialisedOK = void 0, this._hasNonChoicePlaceholder = !1, this._lastAddedChoiceId = 0, this._lastAddedGroupId = 0;
|
|
3710
3715
|
var r = e.defaults;
|
|
3711
|
-
this.config = Se(Se(Se({}, r.allOptions), r.options), i),
|
|
3716
|
+
this.config = Se(Se(Se({}, r.allOptions), r.options), i), dl.forEach(function(p) {
|
|
3712
3717
|
n.config[p] = Se(Se(Se({}, r.allOptions[p]), r.options[p]), i[p]);
|
|
3713
3718
|
});
|
|
3714
3719
|
var a = this.config;
|
|
@@ -3716,7 +3721,7 @@ var kc = function(e) {
|
|
|
3716
3721
|
var s = a.shadowRoot || document.documentElement;
|
|
3717
3722
|
this._docRoot = s;
|
|
3718
3723
|
var o = typeof t == "string" ? s.querySelector(t) : t;
|
|
3719
|
-
if (!o || typeof o != "object" || !(
|
|
3724
|
+
if (!o || typeof o != "object" || !(Ol(o) || wr(o)))
|
|
3720
3725
|
throw TypeError(!o && typeof t == "string" ? "Selector ".concat(t, " failed to find an element") : "Expected one of the following types text|select-one|select-multiple");
|
|
3721
3726
|
var l = o.type, c = l === qe.Text;
|
|
3722
3727
|
(c || a.maxItemCount !== 1) && (a.singleModeForMultiSelect = !1), a.singleModeForMultiSelect && (l = qe.SelectMultiple);
|
|
@@ -3726,13 +3731,13 @@ var kc = function(e) {
|
|
|
3726
3731
|
a.addItemFilter = v.test.bind(v);
|
|
3727
3732
|
}
|
|
3728
3733
|
if (this._isTextElement)
|
|
3729
|
-
this.passedElement = new
|
|
3734
|
+
this.passedElement = new xl({
|
|
3730
3735
|
element: o,
|
|
3731
3736
|
classNames: a.classNames
|
|
3732
3737
|
});
|
|
3733
3738
|
else {
|
|
3734
3739
|
var f = o;
|
|
3735
|
-
this.passedElement = new
|
|
3740
|
+
this.passedElement = new $l({
|
|
3736
3741
|
element: f,
|
|
3737
3742
|
classNames: a.classNames,
|
|
3738
3743
|
template: function(p) {
|
|
@@ -3741,7 +3746,7 @@ var kc = function(e) {
|
|
|
3741
3746
|
extractPlaceholder: a.placeholder && !this._hasNonChoicePlaceholder
|
|
3742
3747
|
});
|
|
3743
3748
|
}
|
|
3744
|
-
if (this.initialised = !1, this._store = new
|
|
3749
|
+
if (this.initialised = !1, this._store = new Vl(a), this._currentValue = "", a.searchEnabled = !c && a.searchEnabled || d, this._canSearch = a.searchEnabled, this._isScrollingOnIe = !1, this._highlightPosition = 0, this._wasTap = !0, this._placeholderValue = this._generatePlaceholderValue(), this._baseId = pl(o, "choices-"), this._direction = o.dir, !this._direction) {
|
|
3745
3750
|
var m = window.getComputedStyle(o).direction, b = window.getComputedStyle(document.documentElement).direction;
|
|
3746
3751
|
m !== b && (this._direction = m);
|
|
3747
3752
|
}
|
|
@@ -3759,13 +3764,13 @@ var kc = function(e) {
|
|
|
3759
3764
|
get: function() {
|
|
3760
3765
|
return Object.preventExtensions({
|
|
3761
3766
|
get options() {
|
|
3762
|
-
return
|
|
3767
|
+
return Lc;
|
|
3763
3768
|
},
|
|
3764
3769
|
get allOptions() {
|
|
3765
|
-
return
|
|
3770
|
+
return Fn;
|
|
3766
3771
|
},
|
|
3767
3772
|
get templates() {
|
|
3768
|
-
return
|
|
3773
|
+
return Oc;
|
|
3769
3774
|
}
|
|
3770
3775
|
});
|
|
3771
3776
|
},
|
|
@@ -3773,7 +3778,7 @@ var kc = function(e) {
|
|
|
3773
3778
|
configurable: !0
|
|
3774
3779
|
}), e.prototype.init = function() {
|
|
3775
3780
|
if (!(this.initialised || this.initialisedOK !== void 0)) {
|
|
3776
|
-
this._searcher =
|
|
3781
|
+
this._searcher = Dc(this.config), this._loadChoices(), this._createTemplates(), this._createElements(), this._createStructure(), this._isTextElement && !this.config.addItems || this.passedElement.element.hasAttribute("disabled") || this.passedElement.element.closest("fieldset:disabled") ? this.disable() : (this.enable(), this._addEventListeners()), this._initStore(), this.initialised = !0, this.initialisedOK = !0;
|
|
3777
3782
|
var t = this.config.callbackOnInit;
|
|
3778
3783
|
typeof t == "function" && t.call(this);
|
|
3779
3784
|
}
|
|
@@ -3938,7 +3943,7 @@ var kc = function(e) {
|
|
|
3938
3943
|
var i = this._store.choices.find(function(n) {
|
|
3939
3944
|
return n.value === t;
|
|
3940
3945
|
});
|
|
3941
|
-
return i ? (this._clearNotice(), this._store.dispatch(
|
|
3946
|
+
return i ? (this._clearNotice(), this._store.dispatch(hl(i)), this._searcher.reset(), i.selected && this.passedElement.triggerEvent(Ee.removeItem, this._getChoiceForOutput(i)), this) : this;
|
|
3942
3947
|
}, e.prototype.clearChoices = function(t, i) {
|
|
3943
3948
|
var n = this;
|
|
3944
3949
|
return t === void 0 && (t = !0), i === void 0 && (i = !1), t && (i ? this.passedElement.element.replaceChildren("") : this.passedElement.element.querySelectorAll(":not([selected])").forEach(function(r) {
|
|
@@ -3955,7 +3960,7 @@ var kc = function(e) {
|
|
|
3955
3960
|
var t = !this._isSelectOneElement;
|
|
3956
3961
|
return this.input.clear(t), this._stopSearch(), this;
|
|
3957
3962
|
}, e.prototype._validateConfig = function() {
|
|
3958
|
-
var t = this.config, i =
|
|
3963
|
+
var t = this.config, i = wl(t, Fn);
|
|
3959
3964
|
i.length && console.warn("Unknown config option(s) passed", i.join(", ")), t.allowHTML && t.allowHtmlUserInput && (t.addItems && console.warn("Warning: allowHTML/allowHtmlUserInput/addItems all being true is strongly not recommended and may lead to XSS attacks"), t.addChoices && console.warn("Warning: allowHTML/allowHtmlUserInput/addChoices all being true is strongly not recommended and may lead to XSS attacks"));
|
|
3960
3965
|
}, e.prototype._render = function(t) {
|
|
3961
3966
|
t === void 0 && (t = { choices: !0, groups: !0, items: !0 }), !this._store.inTxn() && (this._isSelectElement && (t.choices || t.groups) && this._renderChoices(), t.items && this._renderItems());
|
|
@@ -3974,11 +3979,11 @@ var kc = function(e) {
|
|
|
3974
3979
|
return !m.placeholder && (r ? !!m.rank : n.renderSelectedChoices || !m.selected);
|
|
3975
3980
|
});
|
|
3976
3981
|
}, h = !1, v = function(f, m, b) {
|
|
3977
|
-
r ? f.sort(
|
|
3982
|
+
r ? f.sort(Sl) : n.shouldSort && f.sort(n.sorter);
|
|
3978
3983
|
var p = f.length;
|
|
3979
3984
|
p = !m && l && p > l ? l : p, p--, f.every(function(y, E) {
|
|
3980
|
-
var
|
|
3981
|
-
return y.choiceEl =
|
|
3985
|
+
var P = y.choiceEl || t._templates.choice(n, y, n.itemSelectText, b);
|
|
3986
|
+
return y.choiceEl = P, u.appendChild(P), (r || !y.selected) && (h = !0), E < p;
|
|
3982
3987
|
});
|
|
3983
3988
|
};
|
|
3984
3989
|
o.length && (n.resetScrollPosition && requestAnimationFrame(function() {
|
|
@@ -4158,17 +4163,17 @@ var kc = function(e) {
|
|
|
4158
4163
|
return !t.singleModeForMultiSelect && i > 0 && i <= this._store.items.length ? (this.choiceList.element.replaceChildren(""), this._notice = void 0, this._displayNotice(typeof n == "function" ? n(i) : n, ve.addChoice), !1) : (this._notice && this._notice.type === ve.addChoice && this._clearNotice(), !0);
|
|
4159
4164
|
}, e.prototype._canCreateItem = function(t) {
|
|
4160
4165
|
var i = this.config, n = !0, r = "";
|
|
4161
|
-
if (n && typeof i.addItemFilter == "function" && !i.addItemFilter(t) && (n = !1, r =
|
|
4166
|
+
if (n && typeof i.addItemFilter == "function" && !i.addItemFilter(t) && (n = !1, r = Pt(i.customAddItemText, t)), n) {
|
|
4162
4167
|
var a = this._store.choices.find(function(s) {
|
|
4163
4168
|
return i.valueComparer(s.value, t);
|
|
4164
4169
|
});
|
|
4165
4170
|
if (a) {
|
|
4166
4171
|
if (this._isSelectElement)
|
|
4167
4172
|
return this._displayNotice("", ve.addChoice), !1;
|
|
4168
|
-
i.duplicateItemsAllowed || (n = !1, r =
|
|
4173
|
+
i.duplicateItemsAllowed || (n = !1, r = Pt(i.uniqueItemText, t));
|
|
4169
4174
|
}
|
|
4170
4175
|
}
|
|
4171
|
-
return n && (r =
|
|
4176
|
+
return n && (r = Pt(i.addItemText, t)), r && this._displayNotice(r, ve.addChoice), n;
|
|
4172
4177
|
}, e.prototype._searchChoices = function(t) {
|
|
4173
4178
|
var i = t.trim().replace(/\s{2,}/, " ");
|
|
4174
4179
|
if (!i.length || i === this._currentValue)
|
|
@@ -4178,9 +4183,9 @@ var kc = function(e) {
|
|
|
4178
4183
|
var r = n.search(i);
|
|
4179
4184
|
this._currentValue = i, this._highlightPosition = 0, this._isSearching = !0;
|
|
4180
4185
|
var a = this._notice, s = a && a.type;
|
|
4181
|
-
return s !== ve.addChoice && (r.length ? this._clearNotice() : this._displayNotice($n(this.config.noResultsText), ve.noResults)), this._store.dispatch(
|
|
4186
|
+
return s !== ve.addChoice && (r.length ? this._clearNotice() : this._displayNotice($n(this.config.noResultsText), ve.noResults)), this._store.dispatch(fl(r)), r.length;
|
|
4182
4187
|
}, e.prototype._stopSearch = function() {
|
|
4183
|
-
this._isSearching && (this._currentValue = "", this._isSearching = !1, this._clearNotice(), this._store.dispatch(
|
|
4188
|
+
this._isSearching && (this._currentValue = "", this._isSearching = !1, this._clearNotice(), this._store.dispatch(vl(!0)), this.passedElement.triggerEvent(Ee.search, {
|
|
4184
4189
|
value: "",
|
|
4185
4190
|
resultCount: 0
|
|
4186
4191
|
}));
|
|
@@ -4280,9 +4285,9 @@ var kc = function(e) {
|
|
|
4280
4285
|
r > 0 ? s = this.dropdown.element.querySelector("".concat(Ot, ":last-of-type")) : s = this.dropdown.element.querySelector(Ot);
|
|
4281
4286
|
else {
|
|
4282
4287
|
var o = this.dropdown.element.querySelector(xt(this.config.classNames.highlightedState));
|
|
4283
|
-
o ? s =
|
|
4288
|
+
o ? s = _l(o, Ot, r) : s = this.dropdown.element.querySelector(Ot);
|
|
4284
4289
|
}
|
|
4285
|
-
s && (
|
|
4290
|
+
s && (yl(s, this.choiceList.element, r) || this.choiceList.scrollToChildElement(s, r), this._highlightChoice(s)), t.preventDefault();
|
|
4286
4291
|
}
|
|
4287
4292
|
}, e.prototype._onDeleteKey = function(t, i, n) {
|
|
4288
4293
|
!this._isSelectOneElement && !t.target.value && n && (this._handleBackspace(i), t.preventDefault());
|
|
@@ -4298,7 +4303,7 @@ var kc = function(e) {
|
|
|
4298
4303
|
}, e.prototype._onMouseDown = function(t) {
|
|
4299
4304
|
var i = t.target;
|
|
4300
4305
|
if (i instanceof HTMLElement) {
|
|
4301
|
-
if (
|
|
4306
|
+
if (kc && this.choiceList.element.contains(i)) {
|
|
4302
4307
|
var n = this.choiceList.element.firstElementChild;
|
|
4303
4308
|
this._isScrollingOnIe = this._direction === "ltr" ? t.offsetX >= n.offsetWidth : t.offsetX < n.offsetLeft;
|
|
4304
4309
|
}
|
|
@@ -4363,12 +4368,12 @@ var kc = function(e) {
|
|
|
4363
4368
|
var n = this;
|
|
4364
4369
|
if (i === void 0 && (i = !0), t.id)
|
|
4365
4370
|
throw new TypeError("Can not re-add a group which has already been added");
|
|
4366
|
-
this._store.dispatch(
|
|
4371
|
+
this._store.dispatch(ml(t)), t.choices && (this._lastAddedGroupId++, t.id = this._lastAddedGroupId, t.choices.forEach(function(r) {
|
|
4367
4372
|
r.group = t, t.disabled && (r.disabled = !0), n._addChoice(r, i);
|
|
4368
4373
|
}));
|
|
4369
4374
|
}, e.prototype._createTemplates = function() {
|
|
4370
4375
|
var t = this, i = this.config.callbackOnCreateTemplates, n = {};
|
|
4371
|
-
typeof i == "function" && (n = i.call(this,
|
|
4376
|
+
typeof i == "function" && (n = i.call(this, bl, an, _i));
|
|
4372
4377
|
var r = {};
|
|
4373
4378
|
Object.keys(this._templates).forEach(function(a) {
|
|
4374
4379
|
a in n ? r[a] = n[a].bind(t) : r[a] = t._templates[a].bind(t);
|
|
@@ -4385,16 +4390,16 @@ var kc = function(e) {
|
|
|
4385
4390
|
classNames: s,
|
|
4386
4391
|
type: o,
|
|
4387
4392
|
position: a
|
|
4388
|
-
}), this.input = new
|
|
4393
|
+
}), this.input = new Tl({
|
|
4389
4394
|
element: t.input(n, this._placeholderValue),
|
|
4390
4395
|
classNames: s,
|
|
4391
4396
|
type: o,
|
|
4392
4397
|
preventPaste: !n.paste
|
|
4393
|
-
}), this.choiceList = new
|
|
4398
|
+
}), this.choiceList = new Pn({
|
|
4394
4399
|
element: t.choiceList(n, r)
|
|
4395
|
-
}), this.itemList = new
|
|
4400
|
+
}), this.itemList = new Pn({
|
|
4396
4401
|
element: t.itemList(n, r)
|
|
4397
|
-
}), this.dropdown = new
|
|
4402
|
+
}), this.dropdown = new Ml({
|
|
4398
4403
|
element: t.dropdown(n),
|
|
4399
4404
|
classNames: s,
|
|
4400
4405
|
type: o
|
|
@@ -4447,12 +4452,12 @@ var kc = function(e) {
|
|
|
4447
4452
|
}, e.version = "11.1.0", e;
|
|
4448
4453
|
})()
|
|
4449
4454
|
);
|
|
4450
|
-
const
|
|
4455
|
+
const Nc = {
|
|
4451
4456
|
class: "m-form-group",
|
|
4452
4457
|
ref: "selectComponent"
|
|
4453
|
-
},
|
|
4458
|
+
}, Pc = ["for"], Fc = ["id"], Rc = ["id", "aria-describedby", "multiple"], Vc = /* @__PURE__ */ W({
|
|
4454
4459
|
__name: "MucSelect",
|
|
4455
|
-
props: /* @__PURE__ */
|
|
4460
|
+
props: /* @__PURE__ */ Pe({
|
|
4456
4461
|
id: {},
|
|
4457
4462
|
items: {},
|
|
4458
4463
|
label: {},
|
|
@@ -4491,7 +4496,7 @@ const Pc = {
|
|
|
4491
4496
|
}
|
|
4492
4497
|
);
|
|
4493
4498
|
const s = () => {
|
|
4494
|
-
n.value = new
|
|
4499
|
+
n.value = new $c(i.value, {
|
|
4495
4500
|
allowHTML: !0,
|
|
4496
4501
|
itemSelectText: "",
|
|
4497
4502
|
noResultsText: e.noItemFoundMessage,
|
|
@@ -4580,18 +4585,18 @@ const Pc = {
|
|
|
4580
4585
|
i.value && s();
|
|
4581
4586
|
}), en(() => {
|
|
4582
4587
|
n.value && n.value.destroy();
|
|
4583
|
-
}), (d, h) => (_(), C("div",
|
|
4588
|
+
}), (d, h) => (_(), C("div", Nc, [
|
|
4584
4589
|
e.label ? (_(), C("label", {
|
|
4585
4590
|
key: 0,
|
|
4586
4591
|
for: "select-" + e.id,
|
|
4587
4592
|
class: "m-label"
|
|
4588
|
-
}, L(e.label), 9,
|
|
4593
|
+
}, L(e.label), 9, Pc)) : B("", !0),
|
|
4589
4594
|
e.hint ? (_(), C("p", {
|
|
4590
4595
|
key: 1,
|
|
4591
4596
|
class: "m-hint",
|
|
4592
4597
|
id: "select-hint-" + e.id,
|
|
4593
4598
|
tabindex: "0"
|
|
4594
|
-
}, L(e.hint), 9,
|
|
4599
|
+
}, L(e.hint), 9, Fc)) : B("", !0),
|
|
4595
4600
|
g("div", {
|
|
4596
4601
|
ref_key: "selectComponentWrapper",
|
|
4597
4602
|
ref: t,
|
|
@@ -4604,22 +4609,22 @@ const Pc = {
|
|
|
4604
4609
|
"aria-describedby": e.hint ? "select-hint-" + e.id : void 0,
|
|
4605
4610
|
class: "m-select",
|
|
4606
4611
|
multiple: e.multiple
|
|
4607
|
-
}, null, 8,
|
|
4612
|
+
}, null, 8, Rc)
|
|
4608
4613
|
], 512)
|
|
4609
4614
|
], 512));
|
|
4610
4615
|
}
|
|
4611
|
-
}),
|
|
4616
|
+
}), Bc = ["for"], Hc = ["id"], Yc = ["id", "aria-describedby", "rows", "placeholder", "maxlength", "required", "aria-required"], jc = {
|
|
4612
4617
|
key: 0,
|
|
4613
4618
|
class: "m-character-count"
|
|
4614
|
-
},
|
|
4619
|
+
}, Kc = ["id"], Gc = {
|
|
4615
4620
|
class: "m-character-count__status",
|
|
4616
4621
|
"aria-hidden": "true"
|
|
4617
|
-
},
|
|
4622
|
+
}, zc = {
|
|
4618
4623
|
class: "m-character-count__sr-status visually-hidden",
|
|
4619
4624
|
"aria-live": "polite"
|
|
4620
|
-
},
|
|
4625
|
+
}, Wc = /* @__PURE__ */ W({
|
|
4621
4626
|
__name: "MucTextArea",
|
|
4622
|
-
props: /* @__PURE__ */
|
|
4627
|
+
props: /* @__PURE__ */ Pe({
|
|
4623
4628
|
id: {},
|
|
4624
4629
|
errorMsg: {},
|
|
4625
4630
|
rows: { default: 3 },
|
|
@@ -4636,20 +4641,20 @@ const Pc = {
|
|
|
4636
4641
|
setup(e) {
|
|
4637
4642
|
const t = ht(e, "modelValue"), i = ae(t.value.length);
|
|
4638
4643
|
return (n, r) => (_(), C("div", {
|
|
4639
|
-
class:
|
|
4644
|
+
class: J(["m-form-group", { "has-error": e.errorMsg }])
|
|
4640
4645
|
}, [
|
|
4641
4646
|
e.label ? (_(), C("label", {
|
|
4642
4647
|
key: 0,
|
|
4643
4648
|
for: "textarea-" + e.id,
|
|
4644
|
-
class:
|
|
4645
|
-
}, L(e.label), 11,
|
|
4649
|
+
class: J(["m-label", { "m-label--optional": !e.required }])
|
|
4650
|
+
}, L(e.label), 11, Bc)) : B("", !0),
|
|
4646
4651
|
e.hint ? (_(), C("p", {
|
|
4647
4652
|
key: 1,
|
|
4648
4653
|
id: "textarea-hint-" + e.id,
|
|
4649
4654
|
class: "m-hint"
|
|
4650
|
-
}, L(e.hint), 9,
|
|
4655
|
+
}, L(e.hint), 9, Hc)) : B("", !0),
|
|
4651
4656
|
g("div", {
|
|
4652
|
-
class:
|
|
4657
|
+
class: J(["m-input-wrapper", { "m-input-wrapper--character-count": e.maxlength }])
|
|
4653
4658
|
}, [
|
|
4654
4659
|
mr(g("textarea", {
|
|
4655
4660
|
id: "textarea-" + e.id,
|
|
@@ -4662,19 +4667,19 @@ const Pc = {
|
|
|
4662
4667
|
required: e.required,
|
|
4663
4668
|
"aria-required": e.required,
|
|
4664
4669
|
onBlur: r[1] || (r[1] = (a) => i.value = t.value.length)
|
|
4665
|
-
}, null, 40,
|
|
4670
|
+
}, null, 40, Yc), [
|
|
4666
4671
|
[wa, t.value]
|
|
4667
4672
|
]),
|
|
4668
|
-
e.maxlength ? (_(), C("div",
|
|
4673
|
+
e.maxlength ? (_(), C("div", jc, [
|
|
4669
4674
|
g("span", {
|
|
4670
4675
|
id: "textarea-count-" + e.id,
|
|
4671
4676
|
class: "m-character-count__message visually-hidden"
|
|
4672
|
-
}, "Sie können bis zu " + L(e.maxlength) + " Zeichen eingeben.", 9,
|
|
4673
|
-
g("span",
|
|
4674
|
-
g("div",
|
|
4677
|
+
}, "Sie können bis zu " + L(e.maxlength) + " Zeichen eingeben.", 9, Kc),
|
|
4678
|
+
g("span", Gc, L(t.value.length) + "/" + L(e.maxlength), 1),
|
|
4679
|
+
g("div", zc, L(i.value) + "/" + L(e.maxlength), 1)
|
|
4675
4680
|
])) : B("", !0)
|
|
4676
4681
|
], 2),
|
|
4677
|
-
e.errorMsg ? (_(),
|
|
4682
|
+
e.errorMsg ? (_(), Z(_t, {
|
|
4678
4683
|
key: 2,
|
|
4679
4684
|
tabindex: "0",
|
|
4680
4685
|
role: "alert",
|
|
@@ -4687,19 +4692,19 @@ const Pc = {
|
|
|
4687
4692
|
})) : B("", !0)
|
|
4688
4693
|
], 2));
|
|
4689
4694
|
}
|
|
4690
|
-
}),
|
|
4695
|
+
}), Uc = {
|
|
4691
4696
|
key: 0,
|
|
4692
4697
|
class: "m-intro m-intro-summary-text"
|
|
4693
|
-
},
|
|
4698
|
+
}, qc = { class: "container" }, Xc = { class: "m-intro-summary-text__body" }, Jc = { class: "m-intro-summary-text__grid" }, Zc = { class: "m-intro-summary-text__content" }, Qc = {
|
|
4694
4699
|
key: 0,
|
|
4695
4700
|
class: "m-intro-vertical__tagline"
|
|
4696
|
-
},
|
|
4701
|
+
}, eu = { class: "m-intro-summary-text__title" }, tu = { class: "m-intro-summary-text__text" }, iu = { class: "m-intro-vertical__body" }, nu = { class: "container" }, ru = { class: "m-intro-vertical__grid" }, au = {
|
|
4697
4702
|
key: 0,
|
|
4698
4703
|
class: "m-intro-vertical__pictogram"
|
|
4699
|
-
},
|
|
4704
|
+
}, su = ["src", "width", "height"], ou = { class: "m-intro-vertical__grid-inner" }, lu = {
|
|
4700
4705
|
key: 0,
|
|
4701
4706
|
class: "m-intro-vertical__tagline"
|
|
4702
|
-
},
|
|
4707
|
+
}, cu = { class: "m-intro-vertical__title" }, uu = { class: "m-intro-vertical__content" }, du = /* @__PURE__ */ W({
|
|
4703
4708
|
__name: "MucIntro",
|
|
4704
4709
|
props: {
|
|
4705
4710
|
title: {},
|
|
@@ -4712,15 +4717,15 @@ const Pc = {
|
|
|
4712
4717
|
setup(e) {
|
|
4713
4718
|
const t = e, i = D(() => t.variant == "detail"), n = D(() => t.variant == "overview");
|
|
4714
4719
|
return (r, a) => (_(), C(we, null, [
|
|
4715
|
-
n.value ? (_(), C("div",
|
|
4716
|
-
g("div",
|
|
4717
|
-
g("div",
|
|
4718
|
-
g("div",
|
|
4719
|
-
g("div",
|
|
4720
|
-
e.tagline ? (_(), C("p",
|
|
4721
|
-
g("h1",
|
|
4722
|
-
e.divider ? (_(),
|
|
4723
|
-
g("div",
|
|
4720
|
+
n.value ? (_(), C("div", Uc, [
|
|
4721
|
+
g("div", qc, [
|
|
4722
|
+
g("div", Xc, [
|
|
4723
|
+
g("div", Jc, [
|
|
4724
|
+
g("div", Zc, [
|
|
4725
|
+
e.tagline ? (_(), C("p", Qc, L(e.tagline), 1)) : B("", !0),
|
|
4726
|
+
g("h1", eu, L(e.title), 1),
|
|
4727
|
+
e.divider ? (_(), Z(q(ui), { key: 1 })) : B("", !0),
|
|
4728
|
+
g("div", tu, [
|
|
4724
4729
|
g("p", null, [
|
|
4725
4730
|
U(r.$slots, "default", {}, void 0, !0)
|
|
4726
4731
|
])
|
|
@@ -4732,26 +4737,26 @@ const Pc = {
|
|
|
4732
4737
|
])) : B("", !0),
|
|
4733
4738
|
i.value ? (_(), C("div", {
|
|
4734
4739
|
key: 1,
|
|
4735
|
-
class:
|
|
4740
|
+
class: J(["m-intro m-intro-vertical", { "m-intro-vertical--with-pictogram": e.img }])
|
|
4736
4741
|
}, [
|
|
4737
|
-
g("div",
|
|
4738
|
-
g("div",
|
|
4739
|
-
g("div",
|
|
4740
|
-
e.img ? (_(), C("div",
|
|
4742
|
+
g("div", iu, [
|
|
4743
|
+
g("div", nu, [
|
|
4744
|
+
g("div", ru, [
|
|
4745
|
+
e.img ? (_(), C("div", au, [
|
|
4741
4746
|
g("img", {
|
|
4742
4747
|
src: e.img,
|
|
4743
4748
|
alt: "",
|
|
4744
4749
|
width: e.size,
|
|
4745
4750
|
height: e.size
|
|
4746
|
-
}, null, 8,
|
|
4751
|
+
}, null, 8, su)
|
|
4747
4752
|
])) : B("", !0),
|
|
4748
|
-
g("div",
|
|
4753
|
+
g("div", ou, [
|
|
4749
4754
|
g("div", null, [
|
|
4750
|
-
e.tagline ? (_(), C("p",
|
|
4751
|
-
g("h1",
|
|
4755
|
+
e.tagline ? (_(), C("p", lu, L(e.tagline), 1)) : B("", !0),
|
|
4756
|
+
g("h1", cu, L(e.title), 1)
|
|
4752
4757
|
]),
|
|
4753
|
-
e.divider ? (_(),
|
|
4754
|
-
g("div",
|
|
4758
|
+
e.divider ? (_(), Z(q(ui), { key: 0 })) : B("", !0),
|
|
4759
|
+
g("div", uu, [
|
|
4755
4760
|
g("p", null, [
|
|
4756
4761
|
U(r.$slots, "default", {}, void 0, !0)
|
|
4757
4762
|
])
|
|
@@ -4763,19 +4768,19 @@ const Pc = {
|
|
|
4763
4768
|
], 2)) : B("", !0)
|
|
4764
4769
|
], 64));
|
|
4765
4770
|
}
|
|
4766
|
-
}),
|
|
4771
|
+
}), hu = /* @__PURE__ */ he(du, [["__scopeId", "data-v-20308146"]]), fu = { tabindex: "1" }, vu = { class: "modal-content" }, mu = { class: "modal-header" }, gu = {
|
|
4767
4772
|
class: "modal-title",
|
|
4768
4773
|
id: "modalLabel"
|
|
4769
|
-
},
|
|
4774
|
+
}, pu = {
|
|
4770
4775
|
class: "modal-body",
|
|
4771
4776
|
style: { "padding-bottom": "32px" }
|
|
4772
|
-
},
|
|
4777
|
+
}, _u = {
|
|
4773
4778
|
key: 0,
|
|
4774
4779
|
class: "modal-footer"
|
|
4775
|
-
},
|
|
4780
|
+
}, yu = { class: "m-button-group" }, bu = {
|
|
4776
4781
|
key: 1,
|
|
4777
4782
|
class: "muc-dialog-actions"
|
|
4778
|
-
},
|
|
4783
|
+
}, Eu = /* @__PURE__ */ W({
|
|
4779
4784
|
__name: "MucModal",
|
|
4780
4785
|
props: {
|
|
4781
4786
|
open: {
|
|
@@ -4802,10 +4807,10 @@ const Pc = {
|
|
|
4802
4807
|
tabindex: "-1",
|
|
4803
4808
|
"aria-labelledby": "modalLabel"
|
|
4804
4809
|
}, [
|
|
4805
|
-
g("div",
|
|
4806
|
-
g("div",
|
|
4807
|
-
g("div",
|
|
4808
|
-
g("h5",
|
|
4810
|
+
g("div", fu, [
|
|
4811
|
+
g("div", vu, [
|
|
4812
|
+
g("div", mu, [
|
|
4813
|
+
g("h5", gu, [
|
|
4809
4814
|
U(s.$slots, "title", {}, void 0, !0)
|
|
4810
4815
|
]),
|
|
4811
4816
|
g("button", {
|
|
@@ -4817,22 +4822,22 @@ const Pc = {
|
|
|
4817
4822
|
oe(q(me), { icon: "close" })
|
|
4818
4823
|
])
|
|
4819
4824
|
]),
|
|
4820
|
-
g("div",
|
|
4825
|
+
g("div", pu, [
|
|
4821
4826
|
U(s.$slots, "body", {}, void 0, !0)
|
|
4822
4827
|
]),
|
|
4823
|
-
n.buttons ? (_(), C("div",
|
|
4824
|
-
g("div",
|
|
4828
|
+
n.buttons ? (_(), C("div", _u, [
|
|
4829
|
+
g("div", yu, [
|
|
4825
4830
|
U(s.$slots, "buttons", {}, void 0, !0)
|
|
4826
4831
|
])
|
|
4827
4832
|
])) : B("", !0),
|
|
4828
|
-
n.actions ? (_(), C("div",
|
|
4833
|
+
n.actions ? (_(), C("div", bu, [
|
|
4829
4834
|
U(s.$slots, "actions", {}, void 0, !0)
|
|
4830
4835
|
])) : B("", !0)
|
|
4831
4836
|
])
|
|
4832
4837
|
])
|
|
4833
4838
|
], 512));
|
|
4834
4839
|
}
|
|
4835
|
-
}),
|
|
4840
|
+
}), Su = /* @__PURE__ */ he(Eu, [["__scopeId", "data-v-54ec0942"]]), Cu = ["width", "height"], wu = {
|
|
4836
4841
|
key: 0,
|
|
4837
4842
|
x: "100",
|
|
4838
4843
|
y: "108",
|
|
@@ -4840,7 +4845,7 @@ const Pc = {
|
|
|
4840
4845
|
fill: "#3a5368",
|
|
4841
4846
|
"font-size": "24",
|
|
4842
4847
|
"font-weight": "bold"
|
|
4843
|
-
},
|
|
4848
|
+
}, Au = {
|
|
4844
4849
|
key: 1,
|
|
4845
4850
|
x: "100",
|
|
4846
4851
|
y: "108",
|
|
@@ -4849,7 +4854,7 @@ const Pc = {
|
|
|
4849
4854
|
fill: "#3a5368",
|
|
4850
4855
|
"font-size": "16",
|
|
4851
4856
|
"font-weight": "bold"
|
|
4852
|
-
},
|
|
4857
|
+
}, Iu = ["dy"], Wn = 80, Mu = 14, Un = 1.2, qn = /* @__PURE__ */ W({
|
|
4853
4858
|
__name: "MucSpinner",
|
|
4854
4859
|
props: {
|
|
4855
4860
|
size: { default: "300" },
|
|
@@ -4883,7 +4888,7 @@ const Pc = {
|
|
|
4883
4888
|
return h(), u;
|
|
4884
4889
|
}
|
|
4885
4890
|
const s = D(
|
|
4886
|
-
() => a(r.value,
|
|
4891
|
+
() => a(r.value, Mu)
|
|
4887
4892
|
);
|
|
4888
4893
|
return (o, l) => (_(), C("svg", {
|
|
4889
4894
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4895,28 +4900,28 @@ const Pc = {
|
|
|
4895
4900
|
"aria-hidden": "true"
|
|
4896
4901
|
}, [
|
|
4897
4902
|
l[0] || (l[0] = fr('<defs><linearGradient id="spinner-firstHalf"><stop offset="0%" stop-opacity="1" stop-color="currentColor"></stop><stop offset="100%" stop-opacity="0.5" stop-color="currentColor"></stop></linearGradient><linearGradient id="spinner-secondHalf"><stop offset="0%" stop-opacity="0" stop-color="currentColor"></stop><stop offset="100%" stop-opacity="0.5" stop-color="currentColor"></stop></linearGradient></defs><g stroke-width="12"><path stroke="url(#spinner-firstHalf)" d="M 4 100 A 96 96 0 0 1 196 100"></path><path stroke="url(#spinner-secondHalf)" d="M 196 100 A 96 96 0 0 1 4 100"></path><animateTransform from="90 100 100" to="450 100 100" attributeName="transform" type="rotate" repeatCount="indefinite" dur="2300ms"></animateTransform></g>', 2)),
|
|
4898
|
-
q(i) && !q(t) ? (_(), C("text",
|
|
4903
|
+
q(i) && !q(t) ? (_(), C("text", wu, L(n.value), 1)) : q(t) && !q(i) ? (_(), C("text", Au, [
|
|
4899
4904
|
(_(!0), C(we, null, Oe(s.value, (c, u) => (_(), C("tspan", {
|
|
4900
4905
|
key: u,
|
|
4901
4906
|
x: "100",
|
|
4902
4907
|
dy: u === 0 ? `-${(s.value.length - 1) / 2 * Un}em` : `${Un}em`
|
|
4903
|
-
}, L(c), 9,
|
|
4908
|
+
}, L(c), 9, Iu))), 128))
|
|
4904
4909
|
])) : B("", !0)
|
|
4905
|
-
], 8,
|
|
4910
|
+
], 8, Cu));
|
|
4906
4911
|
}
|
|
4907
4912
|
});
|
|
4908
|
-
function
|
|
4913
|
+
function Tu(e, t) {
|
|
4909
4914
|
for (var i = 0; i < t.length; i++) {
|
|
4910
4915
|
var n = t[i];
|
|
4911
4916
|
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
|
|
4912
4917
|
}
|
|
4913
4918
|
}
|
|
4914
|
-
function
|
|
4915
|
-
return t &&
|
|
4919
|
+
function Du(e, t, i) {
|
|
4920
|
+
return t && Tu(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
4916
4921
|
}
|
|
4917
|
-
var Xn = "(prefers-reduced-motion: reduce)", pt = 1,
|
|
4922
|
+
var Xn = "(prefers-reduced-motion: reduce)", pt = 1, xu = 2, Et = 3, It = 4, Wt = 5, ai = 6, hi = 7, Ou = {
|
|
4918
4923
|
CREATED: pt,
|
|
4919
|
-
MOUNTED:
|
|
4924
|
+
MOUNTED: xu,
|
|
4920
4925
|
IDLE: Et,
|
|
4921
4926
|
MOVING: It,
|
|
4922
4927
|
SCROLLING: Wt,
|
|
@@ -4929,7 +4934,7 @@ function ze(e) {
|
|
|
4929
4934
|
function it(e, t, i) {
|
|
4930
4935
|
return Array.prototype.slice.call(e, t, i);
|
|
4931
4936
|
}
|
|
4932
|
-
function
|
|
4937
|
+
function ee(e) {
|
|
4933
4938
|
return e.bind.apply(e, [null].concat(it(arguments, 1)));
|
|
4934
4939
|
}
|
|
4935
4940
|
var $r = setTimeout, Ui = function() {
|
|
@@ -4943,11 +4948,11 @@ function yi(e, t) {
|
|
|
4943
4948
|
function Vt(e) {
|
|
4944
4949
|
return !ln(e) && yi("object", e);
|
|
4945
4950
|
}
|
|
4946
|
-
var on = Array.isArray, Nr =
|
|
4951
|
+
var on = Array.isArray, Nr = ee(yi, "function"), Qe = ee(yi, "string"), Ut = ee(yi, "undefined");
|
|
4947
4952
|
function ln(e) {
|
|
4948
4953
|
return e === null;
|
|
4949
4954
|
}
|
|
4950
|
-
function
|
|
4955
|
+
function Pr(e) {
|
|
4951
4956
|
try {
|
|
4952
4957
|
return e instanceof (e.ownerDocument.defaultView || window).HTMLElement;
|
|
4953
4958
|
} catch {
|
|
@@ -4971,7 +4976,7 @@ function Ye(e, t, i) {
|
|
|
4971
4976
|
n && e.classList[i ? "add" : "remove"](n);
|
|
4972
4977
|
});
|
|
4973
4978
|
}
|
|
4974
|
-
function
|
|
4979
|
+
function Fe(e, t) {
|
|
4975
4980
|
Ye(e, Qe(t) ? t.split(" ") : t, !0);
|
|
4976
4981
|
}
|
|
4977
4982
|
function Xt(e, t) {
|
|
@@ -4984,16 +4989,16 @@ function un(e, t) {
|
|
|
4984
4989
|
});
|
|
4985
4990
|
}
|
|
4986
4991
|
function Bt(e, t) {
|
|
4987
|
-
return
|
|
4992
|
+
return Pr(e) && (e.msMatchesSelector || e.matches).call(e, t);
|
|
4988
4993
|
}
|
|
4989
|
-
function
|
|
4994
|
+
function Fr(e, t) {
|
|
4990
4995
|
var i = e ? it(e.children) : [];
|
|
4991
4996
|
return t ? i.filter(function(n) {
|
|
4992
4997
|
return Bt(n, t);
|
|
4993
4998
|
}) : i;
|
|
4994
4999
|
}
|
|
4995
5000
|
function Jt(e, t) {
|
|
4996
|
-
return t ?
|
|
5001
|
+
return t ? Fr(e, t)[0] : e.firstElementChild;
|
|
4997
5002
|
}
|
|
4998
5003
|
var Ht = Object.keys;
|
|
4999
5004
|
function ct(e, t, i) {
|
|
@@ -5036,7 +5041,7 @@ function z(e, t, i) {
|
|
|
5036
5041
|
}
|
|
5037
5042
|
function yt(e, t, i) {
|
|
5038
5043
|
var n = document.createElement(e);
|
|
5039
|
-
return t && (Qe(t) ?
|
|
5044
|
+
return t && (Qe(t) ? Fe(n, t) : z(n, t)), i && Xt(i, n), n;
|
|
5040
5045
|
}
|
|
5041
5046
|
function De(e, t, i) {
|
|
5042
5047
|
if (Ut(i))
|
|
@@ -5087,7 +5092,7 @@ function st(e) {
|
|
|
5087
5092
|
return Qe(e) ? e : e ? e + "px" : "";
|
|
5088
5093
|
}
|
|
5089
5094
|
var Zt = "splide", hn = "data-" + Zt;
|
|
5090
|
-
function
|
|
5095
|
+
function Ft(e, t) {
|
|
5091
5096
|
if (!e)
|
|
5092
5097
|
throw new Error("[" + Zt + "] " + (t || ""));
|
|
5093
5098
|
}
|
|
@@ -5115,7 +5120,7 @@ function fn(e) {
|
|
|
5115
5120
|
return e < 10 ? "0" + e : "" + e;
|
|
5116
5121
|
}
|
|
5117
5122
|
var er = {};
|
|
5118
|
-
function
|
|
5123
|
+
function ku(e) {
|
|
5119
5124
|
return "" + e + fn(er[e] = (er[e] || 0) + 1);
|
|
5120
5125
|
}
|
|
5121
5126
|
function Yr() {
|
|
@@ -5162,7 +5167,7 @@ function Yr() {
|
|
|
5162
5167
|
destroy: a
|
|
5163
5168
|
};
|
|
5164
5169
|
}
|
|
5165
|
-
var nt = "mounted", tr = "ready", We = "move", Mt = "moved", vn = "click", jr = "active", Kr = "inactive", Gr = "visible", zr = "hidden", de = "refresh", ye = "updated", St = "resize", bi = "resized", Wr = "drag", Ur = "dragging", qr = "dragged", Ei = "scroll", ft = "scrolled",
|
|
5170
|
+
var nt = "mounted", tr = "ready", We = "move", Mt = "moved", vn = "click", jr = "active", Kr = "inactive", Gr = "visible", zr = "hidden", de = "refresh", ye = "updated", St = "resize", bi = "resized", Wr = "drag", Ur = "dragging", qr = "dragged", Ei = "scroll", ft = "scrolled", Lu = "overflow", mn = "destroy", Xr = "arrows:mounted", Jr = "arrows:updated", Zr = "pagination:mounted", Qr = "pagination:updated", gn = "navigation:mounted", pn = "autoplay:play", ea = "autoplay:playing", _n = "autoplay:pause", yn = "lazyload:loaded", ta = "sk", ia = "sh", mi = "ei";
|
|
5166
5171
|
function se(e) {
|
|
5167
5172
|
var t = e ? e.event.bus : document.createDocumentFragment(), i = Yr();
|
|
5168
5173
|
function n(a, s) {
|
|
@@ -5176,7 +5181,7 @@ function se(e) {
|
|
|
5176
5181
|
return e && e.event.on(mn, i.destroy), Yt(i, {
|
|
5177
5182
|
bus: t,
|
|
5178
5183
|
on: n,
|
|
5179
|
-
off:
|
|
5184
|
+
off: ee(i.unbind, t),
|
|
5180
5185
|
emit: r
|
|
5181
5186
|
});
|
|
5182
5187
|
}
|
|
@@ -5216,7 +5221,7 @@ function Si(e, t, i, n) {
|
|
|
5216
5221
|
isPaused: b
|
|
5217
5222
|
};
|
|
5218
5223
|
}
|
|
5219
|
-
function
|
|
5224
|
+
function $u(e) {
|
|
5220
5225
|
var t = e;
|
|
5221
5226
|
function i(r) {
|
|
5222
5227
|
t = r;
|
|
@@ -5229,13 +5234,13 @@ function Fu(e) {
|
|
|
5229
5234
|
is: n
|
|
5230
5235
|
};
|
|
5231
5236
|
}
|
|
5232
|
-
function
|
|
5237
|
+
function Nu(e, t) {
|
|
5233
5238
|
var i = Si(0, e, null, 1);
|
|
5234
5239
|
return function() {
|
|
5235
5240
|
i.isPaused() && i.start();
|
|
5236
5241
|
};
|
|
5237
5242
|
}
|
|
5238
|
-
function
|
|
5243
|
+
function Pu(e, t, i) {
|
|
5239
5244
|
var n = e.state, r = i.breakpoints || {}, a = i.reducedMotion || {}, s = Yr(), o = [];
|
|
5240
5245
|
function l() {
|
|
5241
5246
|
var f = i.mediaQuery === "min";
|
|
@@ -5281,7 +5286,7 @@ var Ci = "Arrow", wi = Ci + "Left", Ai = Ci + "Right", na = Ci + "Up", ra = Ci +
|
|
|
5281
5286
|
ArrowLeft: [na, Ai],
|
|
5282
5287
|
ArrowRight: [ra, wi]
|
|
5283
5288
|
};
|
|
5284
|
-
function
|
|
5289
|
+
function Fu(e, t, i) {
|
|
5285
5290
|
function n(a, s, o) {
|
|
5286
5291
|
o = o || i.direction;
|
|
5287
5292
|
var l = o === ir && !s ? 1 : o === Ii ? 0 : -1;
|
|
@@ -5298,7 +5303,7 @@ function Vu(e, t, i) {
|
|
|
5298
5303
|
orient: r
|
|
5299
5304
|
};
|
|
5300
5305
|
}
|
|
5301
|
-
var Ke = "role", bt = "tabindex",
|
|
5306
|
+
var Ke = "role", bt = "tabindex", Ru = "disabled", ke = "aria-", Qt = ke + "controls", aa = ke + "current", nr = ke + "selected", Me = ke + "label", bn = ke + "labelledby", sa = ke + "hidden", En = ke + "orientation", Gt = ke + "roledescription", rr = ke + "live", ar = ke + "busy", sr = ke + "atomic", Sn = [Ke, bt, Ru, Qt, aa, Me, bn, sa, En, Gt], Ve = Zt + "__", rt = "is-", Ni = Zt, or = Ve + "track", Vu = Ve + "list", Mi = Ve + "slide", oa = Mi + "--clone", Bu = Mi + "__container", Cn = Ve + "arrows", Ti = Ve + "arrow", la = Ti + "--prev", ca = Ti + "--next", Di = Ve + "pagination", ua = Di + "__page", Hu = Ve + "progress", Yu = Hu + "__bar", ju = Ve + "toggle", Ku = Ve + "spinner", Gu = Ve + "sr", zu = rt + "initialized", dt = rt + "active", da = rt + "prev", ha = rt + "next", Zi = rt + "visible", Qi = rt + "loading", fa = rt + "focus-in", va = rt + "overflow", Wu = [dt, Zi, da, ha, Qi, fa, va], Uu = {
|
|
5302
5307
|
slide: Mi,
|
|
5303
5308
|
clone: oa,
|
|
5304
5309
|
arrows: Cn,
|
|
@@ -5307,20 +5312,20 @@ var Ke = "role", bt = "tabindex", Bu = "disabled", ke = "aria-", Qt = ke + "cont
|
|
|
5307
5312
|
next: ca,
|
|
5308
5313
|
pagination: Di,
|
|
5309
5314
|
page: ua,
|
|
5310
|
-
spinner:
|
|
5315
|
+
spinner: Ku
|
|
5311
5316
|
};
|
|
5312
|
-
function
|
|
5317
|
+
function qu(e, t) {
|
|
5313
5318
|
if (Nr(e.closest))
|
|
5314
5319
|
return e.closest(t);
|
|
5315
5320
|
for (var i = e; i && i.nodeType === 1 && !Bt(i, t); )
|
|
5316
5321
|
i = i.parentElement;
|
|
5317
5322
|
return i;
|
|
5318
5323
|
}
|
|
5319
|
-
var
|
|
5320
|
-
function
|
|
5324
|
+
var Xu = 5, lr = 200, ma = "touchstart mousedown", Pi = "touchmove mousemove", Fi = "touchend touchcancel mouseup click";
|
|
5325
|
+
function Ju(e, t, i) {
|
|
5321
5326
|
var n = se(e), r = n.on, a = n.bind, s = e.root, o = i.i18n, l = {}, c = [], u = [], d = [], h, v, f;
|
|
5322
5327
|
function m() {
|
|
5323
|
-
E(),
|
|
5328
|
+
E(), P(), y();
|
|
5324
5329
|
}
|
|
5325
5330
|
function b() {
|
|
5326
5331
|
r(de, p), r(de, m), r(ye, y), a(document, ma + " keydown", function(S) {
|
|
@@ -5336,16 +5341,16 @@ function Qu(e, t, i) {
|
|
|
5336
5341
|
ze(c), je(s, u), je(h, d), Re([h, v], x), Re(s, S ? x : ["style", Gt]);
|
|
5337
5342
|
}
|
|
5338
5343
|
function y() {
|
|
5339
|
-
je(s, u), je(h, d), u = T(Ni), d = T(or),
|
|
5344
|
+
je(s, u), je(h, d), u = T(Ni), d = T(or), Fe(s, u), Fe(h, d), z(s, Me, i.label), z(s, bn, i.labelledby);
|
|
5340
5345
|
}
|
|
5341
5346
|
function E() {
|
|
5342
|
-
h = $("." + or), v = Jt(h, "." +
|
|
5347
|
+
h = $("." + or), v = Jt(h, "." + Vu), Ft(h && v, "A track/list element is missing."), si(c, Fr(v, "." + Mi + ":not(." + oa + ")")), ct({
|
|
5343
5348
|
arrows: Cn,
|
|
5344
5349
|
pagination: Di,
|
|
5345
5350
|
prev: la,
|
|
5346
5351
|
next: ca,
|
|
5347
|
-
bar:
|
|
5348
|
-
toggle:
|
|
5352
|
+
bar: Yu,
|
|
5353
|
+
toggle: ju
|
|
5349
5354
|
}, function(S, x) {
|
|
5350
5355
|
l[x] = $("." + S);
|
|
5351
5356
|
}), Yt(l, {
|
|
@@ -5355,13 +5360,13 @@ function Qu(e, t, i) {
|
|
|
5355
5360
|
slides: c
|
|
5356
5361
|
});
|
|
5357
5362
|
}
|
|
5358
|
-
function
|
|
5359
|
-
var S = s.id ||
|
|
5363
|
+
function P() {
|
|
5364
|
+
var S = s.id || ku(Zt), x = i.role;
|
|
5360
5365
|
s.id = S, h.id = h.id || S + "-track", v.id = v.id || S + "-list", !xe(s, Ke) && s.tagName !== "SECTION" && x && z(s, Ke, x), z(s, Gt, o.carousel), z(v, Ke, "presentation");
|
|
5361
5366
|
}
|
|
5362
5367
|
function $(S) {
|
|
5363
5368
|
var x = Br(s, S);
|
|
5364
|
-
return x &&
|
|
5369
|
+
return x && qu(x, "." + Ni) === s ? x : void 0;
|
|
5365
5370
|
}
|
|
5366
5371
|
function T(S) {
|
|
5367
5372
|
return [S + "--" + i.type, S + "--" + i.direction, i.drag && S + "--draggable", i.isNavigation && S + "--nav", S === Ni && dt];
|
|
@@ -5373,21 +5378,21 @@ function Qu(e, t, i) {
|
|
|
5373
5378
|
});
|
|
5374
5379
|
}
|
|
5375
5380
|
var Ct = "slide", Tt = "loop", ei = "fade";
|
|
5376
|
-
function
|
|
5377
|
-
var r = se(e), a = r.on, s = r.emit, o = r.bind, l = e.Components, c = e.root, u = e.options, d = u.isNavigation, h = u.updateOnMove, v = u.i18n, f = u.pagination, m = u.slideFocus, b = l.Direction.resolve, p = xe(n, "style"), y = xe(n, Me), E = i > -1,
|
|
5381
|
+
function Zu(e, t, i, n) {
|
|
5382
|
+
var r = se(e), a = r.on, s = r.emit, o = r.bind, l = e.Components, c = e.root, u = e.options, d = u.isNavigation, h = u.updateOnMove, v = u.i18n, f = u.pagination, m = u.slideFocus, b = l.Direction.resolve, p = xe(n, "style"), y = xe(n, Me), E = i > -1, P = Jt(n, "." + Bu), $;
|
|
5378
5383
|
function T() {
|
|
5379
5384
|
E || (n.id = c.id + "-slide" + fn(t + 1), z(n, Ke, f ? "tabpanel" : "group"), z(n, Gt, v.slide), z(n, Me, y || Ji(v.slideLabel, [t + 1, e.length]))), S();
|
|
5380
5385
|
}
|
|
5381
5386
|
function S() {
|
|
5382
|
-
o(n, "click",
|
|
5387
|
+
o(n, "click", ee(s, vn, K)), o(n, "keydown", ee(s, ta, K)), a([Mt, ia, ft], A), a(gn, H), h && a(We, R);
|
|
5383
5388
|
}
|
|
5384
5389
|
function x() {
|
|
5385
|
-
$ = !0, r.destroy(), je(n,
|
|
5390
|
+
$ = !0, r.destroy(), je(n, Wu), Re(n, Sn), z(n, "style", p), z(n, Me, y || "");
|
|
5386
5391
|
}
|
|
5387
5392
|
function H() {
|
|
5388
5393
|
var V = e.splides.map(function(I) {
|
|
5389
|
-
var
|
|
5390
|
-
return
|
|
5394
|
+
var F = I.splide.Components.Slides.getAt(t);
|
|
5395
|
+
return F ? F.slide.id : "";
|
|
5391
5396
|
}).join(" ");
|
|
5392
5397
|
z(n, Me, Ji(v.slideX, (E ? i : t) + 1)), z(n, Qt, V), z(n, Ke, m ? "button" : ""), m && Re(n, Gt);
|
|
5393
5398
|
}
|
|
@@ -5407,12 +5412,12 @@ function ed(e, t, i, n) {
|
|
|
5407
5412
|
function O() {
|
|
5408
5413
|
var V = te(), I = !V && (!j() || E);
|
|
5409
5414
|
if (e.state.is([It, Wt]) || z(n, sa, I || ""), z(dn(n, u.focusableNodes || ""), bt, I ? -1 : ""), m && z(n, bt, I ? -1 : 0), V !== Qn(n, Zi) && (Ye(n, Zi, V), s(V ? Gr : zr, K)), !V && document.activeElement === n) {
|
|
5410
|
-
var
|
|
5411
|
-
|
|
5415
|
+
var F = l.Slides.getAt(e.index);
|
|
5416
|
+
F && Rr(F.slide);
|
|
5412
5417
|
}
|
|
5413
5418
|
}
|
|
5414
|
-
function N(V, I,
|
|
5415
|
-
De(
|
|
5419
|
+
function N(V, I, F) {
|
|
5420
|
+
De(F && P || n, V, I);
|
|
5416
5421
|
}
|
|
5417
5422
|
function j() {
|
|
5418
5423
|
var V = e.index;
|
|
@@ -5421,18 +5426,18 @@ function ed(e, t, i, n) {
|
|
|
5421
5426
|
function te() {
|
|
5422
5427
|
if (e.is(ei))
|
|
5423
5428
|
return j();
|
|
5424
|
-
var V = Ie(l.Elements.track), I = Ie(n),
|
|
5425
|
-
return vi(V[
|
|
5429
|
+
var V = Ie(l.Elements.track), I = Ie(n), F = b("left", !0), X = b("right", !0);
|
|
5430
|
+
return vi(V[F]) <= Kt(I[F]) && vi(I[X]) <= Kt(V[X]);
|
|
5426
5431
|
}
|
|
5427
5432
|
function re(V, I) {
|
|
5428
|
-
var
|
|
5429
|
-
return !E && (u.rewind || e.is(Tt)) && (
|
|
5433
|
+
var F = Ce(V - t);
|
|
5434
|
+
return !E && (u.rewind || e.is(Tt)) && (F = et(F, e.length - F)), F <= I;
|
|
5430
5435
|
}
|
|
5431
5436
|
var K = {
|
|
5432
5437
|
index: t,
|
|
5433
5438
|
slideIndex: i,
|
|
5434
5439
|
slide: n,
|
|
5435
|
-
container:
|
|
5440
|
+
container: P,
|
|
5436
5441
|
isClone: E,
|
|
5437
5442
|
mount: T,
|
|
5438
5443
|
destroy: x,
|
|
@@ -5442,7 +5447,7 @@ function ed(e, t, i, n) {
|
|
|
5442
5447
|
};
|
|
5443
5448
|
return K;
|
|
5444
5449
|
}
|
|
5445
|
-
function
|
|
5450
|
+
function Qu(e, t, i) {
|
|
5446
5451
|
var n = se(e), r = n.on, a = n.emit, s = n.bind, o = t.Elements, l = o.slides, c = o.list, u = [];
|
|
5447
5452
|
function d() {
|
|
5448
5453
|
h(), r(de, v), r(de, h);
|
|
@@ -5463,7 +5468,7 @@ function td(e, t, i) {
|
|
|
5463
5468
|
});
|
|
5464
5469
|
}
|
|
5465
5470
|
function m(A, M, O) {
|
|
5466
|
-
var N =
|
|
5471
|
+
var N = Zu(e, M, O, A);
|
|
5467
5472
|
N.mount(), u.push(N), u.sort(function(j, te) {
|
|
5468
5473
|
return j.index - te.index;
|
|
5469
5474
|
});
|
|
@@ -5484,13 +5489,13 @@ function td(e, t, i) {
|
|
|
5484
5489
|
}
|
|
5485
5490
|
function E(A, M) {
|
|
5486
5491
|
Te(A, function(O) {
|
|
5487
|
-
if (Qe(O) && (O = Vr(O)),
|
|
5492
|
+
if (Qe(O) && (O = Vr(O)), Pr(O)) {
|
|
5488
5493
|
var N = l[M];
|
|
5489
|
-
N ? un(O, N) : Xt(c, O),
|
|
5494
|
+
N ? un(O, N) : Xt(c, O), Fe(O, i.classes.slide), x(O, ee(a, St));
|
|
5490
5495
|
}
|
|
5491
5496
|
}), a(de);
|
|
5492
5497
|
}
|
|
5493
|
-
function
|
|
5498
|
+
function P(A) {
|
|
5494
5499
|
ut(T(A).map(function(M) {
|
|
5495
5500
|
return M.slide;
|
|
5496
5501
|
})), a(de);
|
|
@@ -5531,7 +5536,7 @@ function td(e, t, i) {
|
|
|
5531
5536
|
getIn: p,
|
|
5532
5537
|
getAt: y,
|
|
5533
5538
|
add: E,
|
|
5534
|
-
remove:
|
|
5539
|
+
remove: P,
|
|
5535
5540
|
forEach: $,
|
|
5536
5541
|
filter: T,
|
|
5537
5542
|
style: S,
|
|
@@ -5539,17 +5544,17 @@ function td(e, t, i) {
|
|
|
5539
5544
|
isEnough: R
|
|
5540
5545
|
};
|
|
5541
5546
|
}
|
|
5542
|
-
function
|
|
5547
|
+
function ed(e, t, i) {
|
|
5543
5548
|
var n = se(e), r = n.on, a = n.bind, s = n.emit, o = t.Slides, l = t.Direction.resolve, c = t.Elements, u = c.root, d = c.track, h = c.list, v = o.getAt, f = o.style, m, b, p;
|
|
5544
5549
|
function y() {
|
|
5545
|
-
E(), a(window, "resize load",
|
|
5550
|
+
E(), a(window, "resize load", Nu(ee(s, St))), r([ye, de], E), r(St, P);
|
|
5546
5551
|
}
|
|
5547
5552
|
function E() {
|
|
5548
|
-
m = i.direction === Ii, De(u, "maxWidth", st(i.width)), De(d, l("paddingLeft"), $(!1)), De(d, l("paddingRight"), $(!0)),
|
|
5553
|
+
m = i.direction === Ii, De(u, "maxWidth", st(i.width)), De(d, l("paddingLeft"), $(!1)), De(d, l("paddingRight"), $(!0)), P(!0);
|
|
5549
5554
|
}
|
|
5550
|
-
function
|
|
5555
|
+
function P(K) {
|
|
5551
5556
|
var V = Ie(u);
|
|
5552
|
-
(K || b.width !== V.width || b.height !== V.height) && (De(d, "height", T()), f(l("marginRight"), st(i.gap)), f("width", x()), f("height", H(), !0), b = V, s(bi), p !== (p = re()) && (Ye(u, va, p), s(
|
|
5557
|
+
(K || b.width !== V.width || b.height !== V.height) && (De(d, "height", T()), f(l("marginRight"), st(i.gap)), f("width", x()), f("height", H(), !0), b = V, s(bi), p !== (p = re()) && (Ye(u, va, p), s(Lu, p)));
|
|
5553
5558
|
}
|
|
5554
5559
|
function $(K) {
|
|
5555
5560
|
var V = i.padding, I = l(K ? "right" : "left");
|
|
@@ -5557,7 +5562,7 @@ function id(e, t, i) {
|
|
|
5557
5562
|
}
|
|
5558
5563
|
function T() {
|
|
5559
5564
|
var K = "";
|
|
5560
|
-
return m && (K = S(),
|
|
5565
|
+
return m && (K = S(), Ft(K, "height or heightRatio is missing."), K = "calc(" + K + " - " + $(!1) + " - " + $(!0) + ")"), K;
|
|
5561
5566
|
}
|
|
5562
5567
|
function S() {
|
|
5563
5568
|
return st(i.height || Ie(h).width * i.heightRatio);
|
|
@@ -5582,8 +5587,8 @@ function id(e, t, i) {
|
|
|
5582
5587
|
function O(K, V) {
|
|
5583
5588
|
var I = v(K);
|
|
5584
5589
|
if (I) {
|
|
5585
|
-
var
|
|
5586
|
-
return Ce(
|
|
5590
|
+
var F = Ie(I.slide)[l("right")], X = Ie(h)[l("left")];
|
|
5591
|
+
return Ce(F - X) + (V ? 0 : j());
|
|
5587
5592
|
}
|
|
5588
5593
|
return 0;
|
|
5589
5594
|
}
|
|
@@ -5602,7 +5607,7 @@ function id(e, t, i) {
|
|
|
5602
5607
|
}
|
|
5603
5608
|
return {
|
|
5604
5609
|
mount: y,
|
|
5605
|
-
resize:
|
|
5610
|
+
resize: P,
|
|
5606
5611
|
listSize: A,
|
|
5607
5612
|
slideSize: M,
|
|
5608
5613
|
sliderSize: N,
|
|
@@ -5611,8 +5616,8 @@ function id(e, t, i) {
|
|
|
5611
5616
|
isOverflow: re
|
|
5612
5617
|
};
|
|
5613
5618
|
}
|
|
5614
|
-
var
|
|
5615
|
-
function
|
|
5619
|
+
var td = 2;
|
|
5620
|
+
function id(e, t, i) {
|
|
5616
5621
|
var n = se(e), r = n.on, a = t.Elements, s = t.Slides, o = t.Direction.resolve, l = [], c;
|
|
5617
5622
|
function u() {
|
|
5618
5623
|
r(de, d), r([ye, St], v), (c = b()) && (f(c), t.Layout.resize(!0));
|
|
@@ -5632,15 +5637,15 @@ function rd(e, t, i) {
|
|
|
5632
5637
|
if (E) {
|
|
5633
5638
|
for (; y.length < p; )
|
|
5634
5639
|
si(y, y);
|
|
5635
|
-
si(y.slice(-p), y.slice(0, p)).forEach(function(
|
|
5636
|
-
var T = $ < p, S = m(
|
|
5637
|
-
T ? un(S, y[0].slide) : Xt(a.list, S), si(l, S), s.register(S, $ - p + (T ? 0 : E),
|
|
5640
|
+
si(y.slice(-p), y.slice(0, p)).forEach(function(P, $) {
|
|
5641
|
+
var T = $ < p, S = m(P.slide, $);
|
|
5642
|
+
T ? un(S, y[0].slide) : Xt(a.list, S), si(l, S), s.register(S, $ - p + (T ? 0 : E), P.index);
|
|
5638
5643
|
});
|
|
5639
5644
|
}
|
|
5640
5645
|
}
|
|
5641
5646
|
function m(p, y) {
|
|
5642
5647
|
var E = p.cloneNode(!0);
|
|
5643
|
-
return
|
|
5648
|
+
return Fe(E, i.classes.clone), E.id = e.root.id + "-clone" + fn(y + 1), E;
|
|
5644
5649
|
}
|
|
5645
5650
|
function b() {
|
|
5646
5651
|
var p = i.clones;
|
|
@@ -5648,7 +5653,7 @@ function rd(e, t, i) {
|
|
|
5648
5653
|
p = 0;
|
|
5649
5654
|
else if (Ut(p)) {
|
|
5650
5655
|
var y = i[o("fixedWidth")] && t.Layout.slideSize(0), E = y && Kt(Ie(a.track)[o("width")] / y);
|
|
5651
|
-
p = E || i[o("autoWidth")] && e.length || i.perPage *
|
|
5656
|
+
p = E || i[o("autoWidth")] && e.length || i.perPage * td;
|
|
5652
5657
|
}
|
|
5653
5658
|
return p;
|
|
5654
5659
|
}
|
|
@@ -5657,45 +5662,45 @@ function rd(e, t, i) {
|
|
|
5657
5662
|
destroy: h
|
|
5658
5663
|
};
|
|
5659
5664
|
}
|
|
5660
|
-
function
|
|
5665
|
+
function nd(e, t, i) {
|
|
5661
5666
|
var n = se(e), r = n.on, a = n.emit, s = e.state.set, o = t.Layout, l = o.slideSize, c = o.getPadding, u = o.totalSize, d = o.listSize, h = o.sliderSize, v = t.Direction, f = v.resolve, m = v.orient, b = t.Elements, p = b.list, y = b.track, E;
|
|
5662
|
-
function
|
|
5667
|
+
function P() {
|
|
5663
5668
|
E = t.Transition, r([nt, bi, ye, de], $);
|
|
5664
5669
|
}
|
|
5665
5670
|
function $() {
|
|
5666
5671
|
t.Controller.isBusy() || (t.Scroll.cancel(), S(e.index), t.Slides.update());
|
|
5667
5672
|
}
|
|
5668
|
-
function T(I,
|
|
5669
|
-
I !==
|
|
5670
|
-
s(Et), a(Mt,
|
|
5673
|
+
function T(I, F, X, ge) {
|
|
5674
|
+
I !== F && K(I > X) && (A(), x(R(N(), I > X), !0)), s(It), a(We, F, X, I), E.start(F, function() {
|
|
5675
|
+
s(Et), a(Mt, F, X, I), ge && ge();
|
|
5671
5676
|
});
|
|
5672
5677
|
}
|
|
5673
5678
|
function S(I) {
|
|
5674
5679
|
x(O(I, !0));
|
|
5675
5680
|
}
|
|
5676
|
-
function x(I,
|
|
5681
|
+
function x(I, F) {
|
|
5677
5682
|
if (!e.is(ei)) {
|
|
5678
|
-
var X =
|
|
5683
|
+
var X = F ? I : H(I);
|
|
5679
5684
|
De(p, "transform", "translate" + f("X") + "(" + X + "px)"), I !== X && a(ia);
|
|
5680
5685
|
}
|
|
5681
5686
|
}
|
|
5682
5687
|
function H(I) {
|
|
5683
5688
|
if (e.is(Tt)) {
|
|
5684
|
-
var
|
|
5689
|
+
var F = M(I), X = F > t.Controller.getEnd(), ge = F < 0;
|
|
5685
5690
|
(ge || X) && (I = R(I, X));
|
|
5686
5691
|
}
|
|
5687
5692
|
return I;
|
|
5688
5693
|
}
|
|
5689
|
-
function R(I,
|
|
5690
|
-
var X = I - re(
|
|
5691
|
-
return I -= m(ge * (Kt(Ce(X) / ge) || 1)) * (
|
|
5694
|
+
function R(I, F) {
|
|
5695
|
+
var X = I - re(F), ge = h();
|
|
5696
|
+
return I -= m(ge * (Kt(Ce(X) / ge) || 1)) * (F ? 1 : -1), I;
|
|
5692
5697
|
}
|
|
5693
5698
|
function A() {
|
|
5694
5699
|
x(N(), !0), E.cancel();
|
|
5695
5700
|
}
|
|
5696
5701
|
function M(I) {
|
|
5697
|
-
for (var
|
|
5698
|
-
var Ue =
|
|
5702
|
+
for (var F = t.Slides.get(), X = 0, ge = 1 / 0, fe = 0; fe < F.length; fe++) {
|
|
5703
|
+
var Ue = F[fe].index, w = Ce(O(Ue, !0) - I);
|
|
5699
5704
|
if (w <= ge)
|
|
5700
5705
|
ge = w, X = Ue;
|
|
5701
5706
|
else
|
|
@@ -5703,9 +5708,9 @@ function ad(e, t, i) {
|
|
|
5703
5708
|
}
|
|
5704
5709
|
return X;
|
|
5705
5710
|
}
|
|
5706
|
-
function O(I,
|
|
5711
|
+
function O(I, F) {
|
|
5707
5712
|
var X = m(u(I - 1) - te(I));
|
|
5708
|
-
return
|
|
5713
|
+
return F ? j(X) : X;
|
|
5709
5714
|
}
|
|
5710
5715
|
function N() {
|
|
5711
5716
|
var I = f("left");
|
|
@@ -5715,23 +5720,23 @@ function ad(e, t, i) {
|
|
|
5715
5720
|
return i.trimSpace && e.is(Ct) && (I = vt(I, 0, m(h(!0) - d()))), I;
|
|
5716
5721
|
}
|
|
5717
5722
|
function te(I) {
|
|
5718
|
-
var
|
|
5719
|
-
return
|
|
5723
|
+
var F = i.focus;
|
|
5724
|
+
return F === "center" ? (d() - l(I, !0)) / 2 : +F * l(I) || 0;
|
|
5720
5725
|
}
|
|
5721
5726
|
function re(I) {
|
|
5722
5727
|
return O(I ? t.Controller.getEnd() : 0, !!i.trimSpace);
|
|
5723
5728
|
}
|
|
5724
5729
|
function K(I) {
|
|
5725
|
-
var
|
|
5726
|
-
return I ?
|
|
5730
|
+
var F = m(R(N(), I));
|
|
5731
|
+
return I ? F >= 0 : F <= p[f("scrollWidth")] - Ie(y)[f("width")];
|
|
5727
5732
|
}
|
|
5728
|
-
function V(I,
|
|
5729
|
-
|
|
5730
|
-
var X = I !== !0 && m(
|
|
5733
|
+
function V(I, F) {
|
|
5734
|
+
F = Ut(F) ? N() : F;
|
|
5735
|
+
var X = I !== !0 && m(F) < m(re(!1)), ge = I !== !1 && m(F) > m(re(!0));
|
|
5731
5736
|
return X || ge;
|
|
5732
5737
|
}
|
|
5733
5738
|
return {
|
|
5734
|
-
mount:
|
|
5739
|
+
mount: P,
|
|
5735
5740
|
move: T,
|
|
5736
5741
|
jump: S,
|
|
5737
5742
|
translate: x,
|
|
@@ -5745,8 +5750,8 @@ function ad(e, t, i) {
|
|
|
5745
5750
|
reposition: $
|
|
5746
5751
|
};
|
|
5747
5752
|
}
|
|
5748
|
-
function
|
|
5749
|
-
var n = se(e), r = n.on, a = n.emit, s = t.Move, o = s.getPosition, l = s.getLimit, c = s.toPosition, u = t.Slides, d = u.isEnough, h = u.getLength, v = i.omitEnd, f = e.is(Tt), m = e.is(Ct), b =
|
|
5753
|
+
function rd(e, t, i) {
|
|
5754
|
+
var n = se(e), r = n.on, a = n.emit, s = t.Move, o = s.getPosition, l = s.getLimit, c = s.toPosition, u = t.Slides, d = u.isEnough, h = u.getLength, v = i.omitEnd, f = e.is(Tt), m = e.is(Ct), b = ee(N, !1), p = ee(N, !0), y = i.start || 0, E, P = y, $, T, S;
|
|
5750
5755
|
function x() {
|
|
5751
5756
|
H(), r([ye, de, mi], H), r(bi, R);
|
|
5752
5757
|
}
|
|
@@ -5758,42 +5763,42 @@ function sd(e, t, i) {
|
|
|
5758
5763
|
function R() {
|
|
5759
5764
|
E !== K() && a(mi);
|
|
5760
5765
|
}
|
|
5761
|
-
function A(w,
|
|
5766
|
+
function A(w, Q, be) {
|
|
5762
5767
|
if (!Ue()) {
|
|
5763
5768
|
var ce = O(w), _e = re(ce);
|
|
5764
|
-
_e > -1 && (
|
|
5769
|
+
_e > -1 && (Q || _e !== y) && (X(_e), s.move(ce, _e, P, be));
|
|
5765
5770
|
}
|
|
5766
5771
|
}
|
|
5767
|
-
function M(w,
|
|
5768
|
-
t.Scroll.scroll(w,
|
|
5772
|
+
function M(w, Q, be, ce) {
|
|
5773
|
+
t.Scroll.scroll(w, Q, be, function() {
|
|
5769
5774
|
var _e = re(s.toIndex(o()));
|
|
5770
5775
|
X(v ? et(_e, E) : _e), ce && ce();
|
|
5771
5776
|
});
|
|
5772
5777
|
}
|
|
5773
5778
|
function O(w) {
|
|
5774
|
-
var
|
|
5779
|
+
var Q = y;
|
|
5775
5780
|
if (Qe(w)) {
|
|
5776
5781
|
var be = w.match(/([+\-<>])(\d+)?/) || [], ce = be[1], _e = be[2];
|
|
5777
|
-
ce === "+" || ce === "-" ?
|
|
5782
|
+
ce === "+" || ce === "-" ? Q = j(y + +("" + ce + (+_e || 1)), y) : ce === ">" ? Q = _e ? V(+_e) : b(!0) : ce === "<" && (Q = p(!0));
|
|
5778
5783
|
} else
|
|
5779
|
-
|
|
5780
|
-
return
|
|
5784
|
+
Q = f ? w : vt(w, 0, E);
|
|
5785
|
+
return Q;
|
|
5781
5786
|
}
|
|
5782
|
-
function N(w,
|
|
5787
|
+
function N(w, Q) {
|
|
5783
5788
|
var be = T || (fe() ? 1 : S), ce = j(y + be * (w ? -1 : 1), y, !(T || fe()));
|
|
5784
|
-
return ce === -1 && m && !Hr(o(), l(!w), 1) ? w ? 0 : E :
|
|
5789
|
+
return ce === -1 && m && !Hr(o(), l(!w), 1) ? w ? 0 : E : Q ? ce : re(ce);
|
|
5785
5790
|
}
|
|
5786
|
-
function j(w,
|
|
5791
|
+
function j(w, Q, be) {
|
|
5787
5792
|
if (d() || fe()) {
|
|
5788
5793
|
var ce = te(w);
|
|
5789
|
-
ce !== w && (
|
|
5794
|
+
ce !== w && (Q = w, w = ce, be = !1), w < 0 || w > E ? !T && (oi(0, w, Q, !0) || oi(E, Q, w, !0)) ? w = V(I(w)) : f ? w = be ? w < 0 ? -($ % S || S) : $ : w : i.rewind ? w = w < 0 ? E : 0 : w = -1 : be && w !== Q && (w = V(I(Q) + (w < Q ? -1 : 1)));
|
|
5790
5795
|
} else
|
|
5791
5796
|
w = -1;
|
|
5792
5797
|
return w;
|
|
5793
5798
|
}
|
|
5794
5799
|
function te(w) {
|
|
5795
5800
|
if (m && i.trimSpace === "move" && w !== y)
|
|
5796
|
-
for (var
|
|
5801
|
+
for (var Q = o(); Q === c(w, !0) && oi(w, 0, e.length - 1, !i.rewind); )
|
|
5797
5802
|
w < y ? --w : ++w;
|
|
5798
5803
|
return w;
|
|
5799
5804
|
}
|
|
@@ -5814,15 +5819,15 @@ function sd(e, t, i) {
|
|
|
5814
5819
|
function I(w) {
|
|
5815
5820
|
return fe() ? et(w, E) : vi((w >= E ? $ - 1 : w) / S);
|
|
5816
5821
|
}
|
|
5817
|
-
function
|
|
5818
|
-
var
|
|
5819
|
-
return m ? vt(
|
|
5822
|
+
function F(w) {
|
|
5823
|
+
var Q = s.toIndex(w);
|
|
5824
|
+
return m ? vt(Q, 0, E) : Q;
|
|
5820
5825
|
}
|
|
5821
5826
|
function X(w) {
|
|
5822
|
-
w !== y && (
|
|
5827
|
+
w !== y && (P = y, y = w);
|
|
5823
5828
|
}
|
|
5824
5829
|
function ge(w) {
|
|
5825
|
-
return w ?
|
|
5830
|
+
return w ? P : y;
|
|
5826
5831
|
}
|
|
5827
5832
|
function fe() {
|
|
5828
5833
|
return !Ut(i.focus) || i.isNavigation;
|
|
@@ -5842,18 +5847,18 @@ function sd(e, t, i) {
|
|
|
5842
5847
|
getIndex: ge,
|
|
5843
5848
|
toIndex: V,
|
|
5844
5849
|
toPage: I,
|
|
5845
|
-
toDest:
|
|
5850
|
+
toDest: F,
|
|
5846
5851
|
hasFocus: fe,
|
|
5847
5852
|
isBusy: Ue
|
|
5848
5853
|
};
|
|
5849
5854
|
}
|
|
5850
|
-
var
|
|
5851
|
-
function
|
|
5855
|
+
var ad = "http://www.w3.org/2000/svg", sd = "m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z", ri = 40;
|
|
5856
|
+
function od(e, t, i) {
|
|
5852
5857
|
var n = se(e), r = n.on, a = n.bind, s = n.emit, o = i.classes, l = i.i18n, c = t.Elements, u = t.Controller, d = c.arrows, h = c.track, v = d, f = c.prev, m = c.next, b, p, y = {};
|
|
5853
5858
|
function E() {
|
|
5854
|
-
$(), r(ye,
|
|
5859
|
+
$(), r(ye, P);
|
|
5855
5860
|
}
|
|
5856
|
-
function
|
|
5861
|
+
function P() {
|
|
5857
5862
|
T(), E();
|
|
5858
5863
|
}
|
|
5859
5864
|
function $() {
|
|
@@ -5861,13 +5866,13 @@ function cd(e, t, i) {
|
|
|
5861
5866
|
M && !(f && m) && H(), f && m && (Yt(y, {
|
|
5862
5867
|
prev: f,
|
|
5863
5868
|
next: m
|
|
5864
|
-
}), jt(v, M ? "" : "none"),
|
|
5869
|
+
}), jt(v, M ? "" : "none"), Fe(v, p = Cn + "--" + i.direction), M && (S(), A(), z([f, m], Qt, h.id), s(Xr, f, m)));
|
|
5865
5870
|
}
|
|
5866
5871
|
function T() {
|
|
5867
5872
|
n.destroy(), je(v, p), b ? (ut(d ? [f, m] : v), f = m = null) : Re([f, m], Sn);
|
|
5868
5873
|
}
|
|
5869
5874
|
function S() {
|
|
5870
|
-
r([nt, Mt, de, ft, mi], A), a(m, "click",
|
|
5875
|
+
r([nt, Mt, de, ft, mi], A), a(m, "click", ee(x, ">")), a(f, "click", ee(x, "<"));
|
|
5871
5876
|
}
|
|
5872
5877
|
function x(M) {
|
|
5873
5878
|
u.go(M, !0);
|
|
@@ -5876,7 +5881,7 @@ function cd(e, t, i) {
|
|
|
5876
5881
|
v = d || yt("div", o.arrows), f = R(!0), m = R(!1), b = !0, Xt(v, [f, m]), !d && un(v, h);
|
|
5877
5882
|
}
|
|
5878
5883
|
function R(M) {
|
|
5879
|
-
var O = '<button class="' + o.arrow + " " + (M ? o.prev : o.next) + '" type="button"><svg xmlns="' +
|
|
5884
|
+
var O = '<button class="' + o.arrow + " " + (M ? o.prev : o.next) + '" type="button"><svg xmlns="' + ad + '" viewBox="0 0 ' + ri + " " + ri + '" width="' + ri + '" height="' + ri + '" focusable="false"><path d="' + (i.arrowPath || sd) + '" />';
|
|
5880
5885
|
return Vr(O);
|
|
5881
5886
|
}
|
|
5882
5887
|
function A() {
|
|
@@ -5892,8 +5897,8 @@ function cd(e, t, i) {
|
|
|
5892
5897
|
update: A
|
|
5893
5898
|
};
|
|
5894
5899
|
}
|
|
5895
|
-
var
|
|
5896
|
-
function
|
|
5900
|
+
var ld = hn + "-interval";
|
|
5901
|
+
function cd(e, t, i) {
|
|
5897
5902
|
var n = se(e), r = n.on, a = n.bind, s = n.emit, o = Si(i.interval, e.go.bind(e, ">"), S), l = o.isPaused, c = t.Elements, u = t.Elements, d = u.root, h = u.toggle, v = i.autoplay, f, m, b = v === "pause";
|
|
5898
5903
|
function p() {
|
|
5899
5904
|
v && (y(), h && z(h, Qt, c.track.id), b || E(), T());
|
|
@@ -5904,17 +5909,17 @@ function dd(e, t, i) {
|
|
|
5904
5909
|
}), i.pauseOnFocus && a(d, "focusin focusout", function(H) {
|
|
5905
5910
|
m = H.type === "focusin", $();
|
|
5906
5911
|
}), h && a(h, "click", function() {
|
|
5907
|
-
b ? E() :
|
|
5912
|
+
b ? E() : P(!0);
|
|
5908
5913
|
}), r([We, Ei, de], o.rewind), r(We, x);
|
|
5909
5914
|
}
|
|
5910
5915
|
function E() {
|
|
5911
5916
|
l() && t.Slides.isEnough() && (o.start(!i.resetProgress), m = f = b = !1, T(), s(pn));
|
|
5912
5917
|
}
|
|
5913
|
-
function
|
|
5918
|
+
function P(H) {
|
|
5914
5919
|
H === void 0 && (H = !0), b = !!H, T(), l() || (o.pause(), s(_n));
|
|
5915
5920
|
}
|
|
5916
5921
|
function $() {
|
|
5917
|
-
b || (f || m ?
|
|
5922
|
+
b || (f || m ? P(!1) : E());
|
|
5918
5923
|
}
|
|
5919
5924
|
function T() {
|
|
5920
5925
|
h && (Ye(h, dt, !b), z(h, Me, i.i18n[b ? "play" : "pause"]));
|
|
@@ -5925,20 +5930,20 @@ function dd(e, t, i) {
|
|
|
5925
5930
|
}
|
|
5926
5931
|
function x(H) {
|
|
5927
5932
|
var R = t.Slides.getAt(H);
|
|
5928
|
-
o.set(R && +xe(R.slide,
|
|
5933
|
+
o.set(R && +xe(R.slide, ld) || i.interval);
|
|
5929
5934
|
}
|
|
5930
5935
|
return {
|
|
5931
5936
|
mount: p,
|
|
5932
5937
|
destroy: o.cancel,
|
|
5933
5938
|
play: E,
|
|
5934
|
-
pause:
|
|
5939
|
+
pause: P,
|
|
5935
5940
|
isPaused: l
|
|
5936
5941
|
};
|
|
5937
5942
|
}
|
|
5938
|
-
function
|
|
5943
|
+
function ud(e, t, i) {
|
|
5939
5944
|
var n = se(e), r = n.on;
|
|
5940
5945
|
function a() {
|
|
5941
|
-
i.cover && (r(yn,
|
|
5946
|
+
i.cover && (r(yn, ee(o, !0)), r([nt, ye, de], ee(s, !0)));
|
|
5942
5947
|
}
|
|
5943
5948
|
function s(l) {
|
|
5944
5949
|
t.Slides.forEach(function(c) {
|
|
@@ -5951,36 +5956,36 @@ function hd(e, t, i) {
|
|
|
5951
5956
|
}
|
|
5952
5957
|
return {
|
|
5953
5958
|
mount: a,
|
|
5954
|
-
destroy:
|
|
5959
|
+
destroy: ee(s, !1)
|
|
5955
5960
|
};
|
|
5956
5961
|
}
|
|
5957
|
-
var
|
|
5958
|
-
function
|
|
5962
|
+
var dd = 10, hd = 600, fd = 0.6, vd = 1.5, md = 800;
|
|
5963
|
+
function gd(e, t, i) {
|
|
5959
5964
|
var n = se(e), r = n.on, a = n.emit, s = e.state.set, o = t.Move, l = o.getPosition, c = o.getLimit, u = o.exceededLimit, d = o.translate, h = e.is(Ct), v, f, m = 1;
|
|
5960
5965
|
function b() {
|
|
5961
|
-
r(We,
|
|
5966
|
+
r(We, P), r([ye, de], $);
|
|
5962
5967
|
}
|
|
5963
5968
|
function p(S, x, H, R, A) {
|
|
5964
5969
|
var M = l();
|
|
5965
|
-
if (
|
|
5970
|
+
if (P(), H && (!h || !u())) {
|
|
5966
5971
|
var O = t.Layout.sliderSize(), N = Xi(S) * O * vi(Ce(S) / O) || 0;
|
|
5967
5972
|
S = o.toPosition(t.Controller.toDest(S % O)) + N;
|
|
5968
5973
|
}
|
|
5969
5974
|
var j = Hr(M, S, 1);
|
|
5970
|
-
m = 1, x = j ? 0 : x || fi(Ce(S - M) /
|
|
5975
|
+
m = 1, x = j ? 0 : x || fi(Ce(S - M) / vd, md), f = R, v = Si(x, y, ee(E, M, S, A), 1), s(Wt), a(Ei), v.start();
|
|
5971
5976
|
}
|
|
5972
5977
|
function y() {
|
|
5973
5978
|
s(Et), f && f(), a(ft);
|
|
5974
5979
|
}
|
|
5975
5980
|
function E(S, x, H, R) {
|
|
5976
5981
|
var A = l(), M = S + (x - S) * T(R), O = (M - A) * m;
|
|
5977
|
-
d(A + O), h && !H && u() && (m *=
|
|
5982
|
+
d(A + O), h && !H && u() && (m *= fd, Ce(O) < dd && p(c(u(!0)), hd, !1, f, !0));
|
|
5978
5983
|
}
|
|
5979
|
-
function
|
|
5984
|
+
function P() {
|
|
5980
5985
|
v && v.cancel();
|
|
5981
5986
|
}
|
|
5982
5987
|
function $() {
|
|
5983
|
-
v && !v.isPaused() && (
|
|
5988
|
+
v && !v.isPaused() && (P(), y());
|
|
5984
5989
|
}
|
|
5985
5990
|
function T(S) {
|
|
5986
5991
|
var x = i.easingFunc;
|
|
@@ -5988,7 +5993,7 @@ function _d(e, t, i) {
|
|
|
5988
5993
|
}
|
|
5989
5994
|
return {
|
|
5990
5995
|
mount: b,
|
|
5991
|
-
destroy:
|
|
5996
|
+
destroy: P,
|
|
5992
5997
|
scroll: p,
|
|
5993
5998
|
cancel: $
|
|
5994
5999
|
};
|
|
@@ -5997,10 +6002,10 @@ var mt = {
|
|
|
5997
6002
|
passive: !1,
|
|
5998
6003
|
capture: !0
|
|
5999
6004
|
};
|
|
6000
|
-
function
|
|
6001
|
-
var n = se(e), r = n.on, a = n.emit, s = n.bind, o = n.unbind, l = e.state, c = t.Move, u = t.Scroll, d = t.Controller, h = t.Elements.track, v = t.Media.reduce, f = t.Direction, m = f.resolve, b = f.orient, p = c.getPosition, y = c.exceededLimit, E,
|
|
6005
|
+
function pd(e, t, i) {
|
|
6006
|
+
var n = se(e), r = n.on, a = n.emit, s = n.bind, o = n.unbind, l = e.state, c = t.Move, u = t.Scroll, d = t.Controller, h = t.Elements.track, v = t.Media.reduce, f = t.Direction, m = f.resolve, b = f.orient, p = c.getPosition, y = c.exceededLimit, E, P, $, T, S, x = !1, H, R, A;
|
|
6002
6007
|
function M() {
|
|
6003
|
-
s(h,
|
|
6008
|
+
s(h, Pi, Ui, mt), s(h, Fi, Ui, mt), s(h, ma, N, mt), s(h, "click", re, {
|
|
6004
6009
|
capture: !0
|
|
6005
6010
|
}), s(h, "dragstart", He), r([nt, ye], O);
|
|
6006
6011
|
}
|
|
@@ -6011,7 +6016,7 @@ function yd(e, t, i) {
|
|
|
6011
6016
|
function N(k) {
|
|
6012
6017
|
if (H = !1, !R) {
|
|
6013
6018
|
var ie = _e(k);
|
|
6014
|
-
ce(k.target) && (ie || !k.button) && (d.isBusy() ? He(k, !0) : (A = ie ? h : window, S = l.is([It, Wt]), $ = null, s(A,
|
|
6019
|
+
ce(k.target) && (ie || !k.button) && (d.isBusy() ? He(k, !0) : (A = ie ? h : window, S = l.is([It, Wt]), $ = null, s(A, Pi, j, mt), s(A, Fi, te, mt), c.cancel(), u.cancel(), K(k)));
|
|
6015
6020
|
}
|
|
6016
6021
|
}
|
|
6017
6022
|
function j(k) {
|
|
@@ -6020,16 +6025,16 @@ function yd(e, t, i) {
|
|
|
6020
6025
|
c.translate(E + be(fe(k)));
|
|
6021
6026
|
var ie = Ue(k) > lr, at = x !== (x = y());
|
|
6022
6027
|
(ie || at) && K(k), H = !0, a(Ur), He(k);
|
|
6023
|
-
} else
|
|
6028
|
+
} else F(k) && (S = I(k), He(k));
|
|
6024
6029
|
}
|
|
6025
6030
|
function te(k) {
|
|
6026
|
-
l.is(ai) && (l.set(Et), a(qr)), S && (V(k), He(k)), o(A,
|
|
6031
|
+
l.is(ai) && (l.set(Et), a(qr)), S && (V(k), He(k)), o(A, Pi, j), o(A, Fi, te), S = !1;
|
|
6027
6032
|
}
|
|
6028
6033
|
function re(k) {
|
|
6029
6034
|
!R && H && He(k, !0);
|
|
6030
6035
|
}
|
|
6031
6036
|
function K(k) {
|
|
6032
|
-
$ =
|
|
6037
|
+
$ = P, P = k, E = p();
|
|
6033
6038
|
}
|
|
6034
6039
|
function V(k) {
|
|
6035
6040
|
var ie = X(k), at = ge(ie), Dt = i.rewind && i.rewindByDrag;
|
|
@@ -6039,7 +6044,7 @@ function yd(e, t, i) {
|
|
|
6039
6044
|
var ie = i.dragMinThreshold, at = Vt(ie), Dt = at && ie.mouse || 0, ya = (at ? ie.touch : +ie) || 10;
|
|
6040
6045
|
return Ce(fe(k)) > (_e(k) ? ya : Dt);
|
|
6041
6046
|
}
|
|
6042
|
-
function
|
|
6047
|
+
function F(k) {
|
|
6043
6048
|
return Ce(fe(k)) > Ce(fe(k, !0));
|
|
6044
6049
|
}
|
|
6045
6050
|
function X(k) {
|
|
@@ -6054,19 +6059,19 @@ function yd(e, t, i) {
|
|
|
6054
6059
|
return p() + Xi(k) * et(Ce(k) * (i.flickPower || 600), T ? 1 / 0 : t.Layout.listSize() * (i.flickMaxPages || 1));
|
|
6055
6060
|
}
|
|
6056
6061
|
function fe(k, ie) {
|
|
6057
|
-
return
|
|
6062
|
+
return Q(k, ie) - Q(w(k), ie);
|
|
6058
6063
|
}
|
|
6059
6064
|
function Ue(k) {
|
|
6060
6065
|
return qi(k) - qi(w(k));
|
|
6061
6066
|
}
|
|
6062
6067
|
function w(k) {
|
|
6063
|
-
return
|
|
6068
|
+
return P === k && $ || P;
|
|
6064
6069
|
}
|
|
6065
|
-
function
|
|
6070
|
+
function Q(k, ie) {
|
|
6066
6071
|
return (_e(k) ? k.changedTouches[0] : k)["page" + m(ie ? "Y" : "X")];
|
|
6067
6072
|
}
|
|
6068
6073
|
function be(k) {
|
|
6069
|
-
return k / (x && e.is(Ct) ?
|
|
6074
|
+
return k / (x && e.is(Ct) ? Xu : 1);
|
|
6070
6075
|
}
|
|
6071
6076
|
function ce(k) {
|
|
6072
6077
|
var ie = i.noDrag;
|
|
@@ -6087,7 +6092,7 @@ function yd(e, t, i) {
|
|
|
6087
6092
|
isDragging: _a
|
|
6088
6093
|
};
|
|
6089
6094
|
}
|
|
6090
|
-
var
|
|
6095
|
+
var _d = {
|
|
6091
6096
|
Spacebar: " ",
|
|
6092
6097
|
Right: Ai,
|
|
6093
6098
|
Left: wi,
|
|
@@ -6095,10 +6100,10 @@ var bd = {
|
|
|
6095
6100
|
Down: ra
|
|
6096
6101
|
};
|
|
6097
6102
|
function wn(e) {
|
|
6098
|
-
return e = Qe(e) ? e : e.key,
|
|
6103
|
+
return e = Qe(e) ? e : e.key, _d[e] || e;
|
|
6099
6104
|
}
|
|
6100
6105
|
var cr = "keydown";
|
|
6101
|
-
function
|
|
6106
|
+
function yd(e, t, i) {
|
|
6102
6107
|
var n = se(e), r = n.on, a = n.bind, s = n.unbind, o = e.root, l = t.Direction.resolve, c, u;
|
|
6103
6108
|
function d() {
|
|
6104
6109
|
h(), r(ye, v), r(ye, h), r(We, m);
|
|
@@ -6131,8 +6136,8 @@ function Ed(e, t, i) {
|
|
|
6131
6136
|
disable: f
|
|
6132
6137
|
};
|
|
6133
6138
|
}
|
|
6134
|
-
var Rt = hn + "-lazy", li = Rt + "-srcset",
|
|
6135
|
-
function
|
|
6139
|
+
var Rt = hn + "-lazy", li = Rt + "-srcset", bd = "[" + Rt + "], [" + li + "]";
|
|
6140
|
+
function Ed(e, t, i) {
|
|
6136
6141
|
var n = se(e), r = n.on, a = n.off, s = n.bind, o = n.emit, l = i.lazyLoad === "sequential", c = [Mt, ft], u = [];
|
|
6137
6142
|
function d() {
|
|
6138
6143
|
i.lazyLoad && (h(), r(de, h));
|
|
@@ -6142,9 +6147,9 @@ function Cd(e, t, i) {
|
|
|
6142
6147
|
}
|
|
6143
6148
|
function v() {
|
|
6144
6149
|
t.Slides.forEach(function(y) {
|
|
6145
|
-
dn(y.slide,
|
|
6146
|
-
var
|
|
6147
|
-
if (
|
|
6150
|
+
dn(y.slide, bd).forEach(function(E) {
|
|
6151
|
+
var P = xe(E, Rt), $ = xe(E, li);
|
|
6152
|
+
if (P !== E.src || $ !== E.srcset) {
|
|
6148
6153
|
var T = i.classes.spinner, S = E.parentElement, x = Jt(S, "." + T) || yt("span", T, S);
|
|
6149
6154
|
u.push([E, y, x]), E.src || jt(E, "none");
|
|
6150
6155
|
}
|
|
@@ -6159,27 +6164,27 @@ function Cd(e, t, i) {
|
|
|
6159
6164
|
}
|
|
6160
6165
|
function m(y) {
|
|
6161
6166
|
var E = y[0];
|
|
6162
|
-
|
|
6167
|
+
Fe(y[1].slide, Qi), s(E, "load error", ee(b, y)), z(E, "src", xe(E, Rt)), z(E, "srcset", xe(E, li)), Re(E, Rt), Re(E, li);
|
|
6163
6168
|
}
|
|
6164
6169
|
function b(y, E) {
|
|
6165
|
-
var
|
|
6166
|
-
je($.slide, Qi), E.type !== "error" && (ut(y[2]), jt(
|
|
6170
|
+
var P = y[0], $ = y[1];
|
|
6171
|
+
je($.slide, Qi), E.type !== "error" && (ut(y[2]), jt(P, ""), o(yn, P, $), o(St)), l && p();
|
|
6167
6172
|
}
|
|
6168
6173
|
function p() {
|
|
6169
6174
|
u.length && m(u.shift());
|
|
6170
6175
|
}
|
|
6171
6176
|
return {
|
|
6172
6177
|
mount: d,
|
|
6173
|
-
destroy:
|
|
6178
|
+
destroy: ee(ze, u),
|
|
6174
6179
|
check: f
|
|
6175
6180
|
};
|
|
6176
6181
|
}
|
|
6177
|
-
function
|
|
6182
|
+
function Sd(e, t, i) {
|
|
6178
6183
|
var n = se(e), r = n.on, a = n.emit, s = n.bind, o = t.Slides, l = t.Elements, c = t.Controller, u = c.hasFocus, d = c.getIndex, h = c.go, v = t.Direction.resolve, f = l.pagination, m = [], b, p;
|
|
6179
6184
|
function y() {
|
|
6180
6185
|
E(), r([ye, de, mi], y);
|
|
6181
6186
|
var R = i.pagination;
|
|
6182
|
-
f && jt(f, R ? "" : "none"), R && (r([We, Ei, ft], H),
|
|
6187
|
+
f && jt(f, R ? "" : "none"), R && (r([We, Ei, ft], H), P(), H(), a(Zr, {
|
|
6183
6188
|
list: b,
|
|
6184
6189
|
items: m
|
|
6185
6190
|
}, x(e.index)));
|
|
@@ -6187,9 +6192,9 @@ function wd(e, t, i) {
|
|
|
6187
6192
|
function E() {
|
|
6188
6193
|
b && (ut(f ? it(b.children) : b), je(b, p), ze(m), b = null), n.destroy();
|
|
6189
6194
|
}
|
|
6190
|
-
function
|
|
6195
|
+
function P() {
|
|
6191
6196
|
var R = e.length, A = i.classes, M = i.i18n, O = i.perPage, N = u() ? c.getEnd() + 1 : Kt(R / O);
|
|
6192
|
-
b = f || yt("ul", A.pagination, l.track.parentElement),
|
|
6197
|
+
b = f || yt("ul", A.pagination, l.track.parentElement), Fe(b, p = Di + "--" + S()), z(b, Ke, "tablist"), z(b, Me, M.select), z(b, En, S() === Ii ? "vertical" : "");
|
|
6193
6198
|
for (var j = 0; j < N; j++) {
|
|
6194
6199
|
var te = yt("li", null, b), re = yt("button", {
|
|
6195
6200
|
class: A.page,
|
|
@@ -6197,7 +6202,7 @@ function wd(e, t, i) {
|
|
|
6197
6202
|
}, te), K = o.getIn(j).map(function(I) {
|
|
6198
6203
|
return I.slide.id;
|
|
6199
6204
|
}), V = !u() && O > 1 ? M.pageX : M.slideX;
|
|
6200
|
-
s(re, "click",
|
|
6205
|
+
s(re, "click", ee($, j)), i.paginationKeyboard && s(re, "keydown", ee(T, j)), z(te, Ke, "presentation"), z(re, Ke, "tab"), z(re, Qt, K.join(" ")), z(re, Me, Ji(V, j + 1)), z(re, bt, -1), m.push({
|
|
6201
6206
|
li: te,
|
|
6202
6207
|
button: re,
|
|
6203
6208
|
page: j
|
|
@@ -6227,7 +6232,7 @@ function wd(e, t, i) {
|
|
|
6227
6232
|
}
|
|
6228
6233
|
if (A) {
|
|
6229
6234
|
var O = A.button;
|
|
6230
|
-
|
|
6235
|
+
Fe(O, dt), z(O, nr, !0), z(O, bt, "");
|
|
6231
6236
|
}
|
|
6232
6237
|
a(Qr, {
|
|
6233
6238
|
list: b,
|
|
@@ -6242,8 +6247,8 @@ function wd(e, t, i) {
|
|
|
6242
6247
|
update: H
|
|
6243
6248
|
};
|
|
6244
6249
|
}
|
|
6245
|
-
var
|
|
6246
|
-
function
|
|
6250
|
+
var Cd = [" ", "Enter"];
|
|
6251
|
+
function wd(e, t, i) {
|
|
6247
6252
|
var n = i.isNavigation, r = i.slideFocus, a = [];
|
|
6248
6253
|
function s() {
|
|
6249
6254
|
e.splides.forEach(function(f) {
|
|
@@ -6275,10 +6280,10 @@ function Id(e, t, i) {
|
|
|
6275
6280
|
e.go(f.index);
|
|
6276
6281
|
}
|
|
6277
6282
|
function v(f, m) {
|
|
6278
|
-
cn(
|
|
6283
|
+
cn(Cd, wn(m)) && (h(f), He(m));
|
|
6279
6284
|
}
|
|
6280
6285
|
return {
|
|
6281
|
-
setup:
|
|
6286
|
+
setup: ee(t.Media.set, {
|
|
6282
6287
|
slideFocus: Ut(r) ? n : r
|
|
6283
6288
|
}, !0),
|
|
6284
6289
|
mount: s,
|
|
@@ -6286,7 +6291,7 @@ function Id(e, t, i) {
|
|
|
6286
6291
|
remount: l
|
|
6287
6292
|
};
|
|
6288
6293
|
}
|
|
6289
|
-
function
|
|
6294
|
+
function Ad(e, t, i) {
|
|
6290
6295
|
var n = se(e), r = n.bind, a = 0;
|
|
6291
6296
|
function s() {
|
|
6292
6297
|
i.wheel && r(t.Elements.track, "wheel", o, mt);
|
|
@@ -6304,11 +6309,11 @@ function Md(e, t, i) {
|
|
|
6304
6309
|
mount: s
|
|
6305
6310
|
};
|
|
6306
6311
|
}
|
|
6307
|
-
var
|
|
6308
|
-
function
|
|
6309
|
-
var n = se(e), r = n.on, a = t.Elements.track, s = i.live && !i.isNavigation, o = yt("span",
|
|
6312
|
+
var Id = 90;
|
|
6313
|
+
function Md(e, t, i) {
|
|
6314
|
+
var n = se(e), r = n.on, a = t.Elements.track, s = i.live && !i.isNavigation, o = yt("span", Gu), l = Si(Id, ee(u, !1));
|
|
6310
6315
|
function c() {
|
|
6311
|
-
s && (h(!t.Autoplay.isPaused()), z(a, sr, !0), o.textContent = "…", r(pn,
|
|
6316
|
+
s && (h(!t.Autoplay.isPaused()), z(a, sr, !0), o.textContent = "…", r(pn, ee(h, !0)), r(_n, ee(h, !1)), r([Mt, ft], ee(u, !0)));
|
|
6312
6317
|
}
|
|
6313
6318
|
function u(v) {
|
|
6314
6319
|
z(a, ar, v), v ? (Xt(a, o), l.start()) : (ut(o), l.cancel());
|
|
@@ -6325,28 +6330,28 @@ function Dd(e, t, i) {
|
|
|
6325
6330
|
destroy: d
|
|
6326
6331
|
};
|
|
6327
6332
|
}
|
|
6328
|
-
var
|
|
6333
|
+
var Td = /* @__PURE__ */ Object.freeze({
|
|
6329
6334
|
__proto__: null,
|
|
6330
|
-
Media:
|
|
6331
|
-
Direction:
|
|
6332
|
-
Elements:
|
|
6333
|
-
Slides:
|
|
6334
|
-
Layout:
|
|
6335
|
-
Clones:
|
|
6336
|
-
Move:
|
|
6337
|
-
Controller:
|
|
6338
|
-
Arrows:
|
|
6339
|
-
Autoplay:
|
|
6340
|
-
Cover:
|
|
6341
|
-
Scroll:
|
|
6342
|
-
Drag:
|
|
6343
|
-
Keyboard:
|
|
6344
|
-
LazyLoad:
|
|
6345
|
-
Pagination:
|
|
6346
|
-
Sync:
|
|
6347
|
-
Wheel:
|
|
6348
|
-
Live:
|
|
6349
|
-
}),
|
|
6335
|
+
Media: Pu,
|
|
6336
|
+
Direction: Fu,
|
|
6337
|
+
Elements: Ju,
|
|
6338
|
+
Slides: Qu,
|
|
6339
|
+
Layout: ed,
|
|
6340
|
+
Clones: id,
|
|
6341
|
+
Move: nd,
|
|
6342
|
+
Controller: rd,
|
|
6343
|
+
Arrows: od,
|
|
6344
|
+
Autoplay: cd,
|
|
6345
|
+
Cover: ud,
|
|
6346
|
+
Scroll: gd,
|
|
6347
|
+
Drag: pd,
|
|
6348
|
+
Keyboard: yd,
|
|
6349
|
+
LazyLoad: Ed,
|
|
6350
|
+
Pagination: Sd,
|
|
6351
|
+
Sync: wd,
|
|
6352
|
+
Wheel: Ad,
|
|
6353
|
+
Live: Md
|
|
6354
|
+
}), Dd = {
|
|
6350
6355
|
prev: "Previous slide",
|
|
6351
6356
|
next: "Next slide",
|
|
6352
6357
|
first: "Go to first slide",
|
|
@@ -6359,7 +6364,7 @@ var xd = /* @__PURE__ */ Object.freeze({
|
|
|
6359
6364
|
slide: "slide",
|
|
6360
6365
|
select: "Select a slide to show",
|
|
6361
6366
|
slideLabel: "%s of %s"
|
|
6362
|
-
},
|
|
6367
|
+
}, xd = {
|
|
6363
6368
|
type: "slide",
|
|
6364
6369
|
role: "region",
|
|
6365
6370
|
speed: 400,
|
|
@@ -6378,15 +6383,15 @@ var xd = /* @__PURE__ */ Object.freeze({
|
|
|
6378
6383
|
trimSpace: !0,
|
|
6379
6384
|
focusableNodes: "a, button, textarea, input, select, iframe",
|
|
6380
6385
|
live: !0,
|
|
6381
|
-
classes:
|
|
6382
|
-
i18n:
|
|
6386
|
+
classes: Uu,
|
|
6387
|
+
i18n: Dd,
|
|
6383
6388
|
reducedMotion: {
|
|
6384
6389
|
speed: 0,
|
|
6385
6390
|
rewindSpeed: 0,
|
|
6386
6391
|
autoplay: "pause"
|
|
6387
6392
|
}
|
|
6388
6393
|
};
|
|
6389
|
-
function
|
|
6394
|
+
function Od(e, t, i) {
|
|
6390
6395
|
var n = t.Slides;
|
|
6391
6396
|
function r() {
|
|
6392
6397
|
se(e).on([nt, de], a);
|
|
@@ -6405,8 +6410,8 @@ function Ld(e, t, i) {
|
|
|
6405
6410
|
cancel: Ui
|
|
6406
6411
|
};
|
|
6407
6412
|
}
|
|
6408
|
-
function
|
|
6409
|
-
var n = t.Move, r = t.Controller, a = t.Scroll, s = t.Elements.list, o =
|
|
6413
|
+
function kd(e, t, i) {
|
|
6414
|
+
var n = t.Move, r = t.Controller, a = t.Scroll, s = t.Elements.list, o = ee(De, s, "transition"), l;
|
|
6410
6415
|
function c() {
|
|
6411
6416
|
se(e).bind(s, "transitionend", function(v) {
|
|
6412
6417
|
v.target === s && l && (d(), l());
|
|
@@ -6434,26 +6439,26 @@ function $d(e, t, i) {
|
|
|
6434
6439
|
cancel: d
|
|
6435
6440
|
};
|
|
6436
6441
|
}
|
|
6437
|
-
var
|
|
6442
|
+
var Ld = /* @__PURE__ */ (function() {
|
|
6438
6443
|
function e(i, n) {
|
|
6439
|
-
this.event = se(), this.Components = {}, this.state =
|
|
6444
|
+
this.event = se(), this.Components = {}, this.state = $u(pt), this.splides = [], this._o = {}, this._E = {};
|
|
6440
6445
|
var r = Qe(i) ? Br(document, i) : i;
|
|
6441
|
-
|
|
6446
|
+
Ft(r, r + " is invalid."), this.root = r, n = Xe({
|
|
6442
6447
|
label: xe(r, Me) || "",
|
|
6443
6448
|
labelledby: xe(r, bn) || ""
|
|
6444
|
-
},
|
|
6449
|
+
}, xd, e.defaults, n || {});
|
|
6445
6450
|
try {
|
|
6446
6451
|
Xe(n, JSON.parse(xe(r, hn)));
|
|
6447
6452
|
} catch {
|
|
6448
|
-
|
|
6453
|
+
Ft(!1, "Invalid JSON");
|
|
6449
6454
|
}
|
|
6450
6455
|
this._o = Object.create(Xe({}, n));
|
|
6451
6456
|
}
|
|
6452
6457
|
var t = e.prototype;
|
|
6453
6458
|
return t.mount = function(n, r) {
|
|
6454
6459
|
var a = this, s = this.state, o = this.Components;
|
|
6455
|
-
|
|
6456
|
-
var l = Yt({},
|
|
6460
|
+
Ft(s.is([pt, hi]), "Already mounted!"), s.set(pt), this._C = o, this._T = r || this._T || (this.is(ei) ? Od : kd), this._E = n || this._E;
|
|
6461
|
+
var l = Yt({}, Td, this._E, {
|
|
6457
6462
|
Transition: this._T
|
|
6458
6463
|
});
|
|
6459
6464
|
return ct(l, function(c, u) {
|
|
@@ -6461,7 +6466,7 @@ var Nd = /* @__PURE__ */ (function() {
|
|
|
6461
6466
|
o[u] = d, d.setup && d.setup();
|
|
6462
6467
|
}), ct(o, function(c) {
|
|
6463
6468
|
c.mount && c.mount();
|
|
6464
|
-
}), this.emit(nt),
|
|
6469
|
+
}), this.emit(nt), Fe(this.root, zu), s.set(Et), this.emit(tr), this;
|
|
6465
6470
|
}, t.sync = function(n) {
|
|
6466
6471
|
return this.splides.push({
|
|
6467
6472
|
splide: n
|
|
@@ -6492,7 +6497,7 @@ var Nd = /* @__PURE__ */ (function() {
|
|
|
6492
6497
|
return a.is(pt) ? se(this).on(tr, this.destroy.bind(this, n)) : (ct(this._C, function(s) {
|
|
6493
6498
|
s.destroy && s.destroy(n);
|
|
6494
6499
|
}, !0), r.emit(mn), r.destroy(), n && ze(this.splides), a.set(hi)), this;
|
|
6495
|
-
},
|
|
6500
|
+
}, Du(e, [{
|
|
6496
6501
|
key: "options",
|
|
6497
6502
|
get: function() {
|
|
6498
6503
|
return this._o;
|
|
@@ -6511,9 +6516,9 @@ var Nd = /* @__PURE__ */ (function() {
|
|
|
6511
6516
|
return this._C.Controller.getIndex();
|
|
6512
6517
|
}
|
|
6513
6518
|
}]), e;
|
|
6514
|
-
})(), An =
|
|
6519
|
+
})(), An = Ld;
|
|
6515
6520
|
An.defaults = {};
|
|
6516
|
-
An.STATES =
|
|
6521
|
+
An.STATES = Ou;
|
|
6517
6522
|
const ur = [
|
|
6518
6523
|
jr,
|
|
6519
6524
|
Xr,
|
|
@@ -6546,7 +6551,7 @@ const ur = [
|
|
|
6546
6551
|
function dr(e) {
|
|
6547
6552
|
return e !== null && typeof e == "object";
|
|
6548
6553
|
}
|
|
6549
|
-
function
|
|
6554
|
+
function $d(e, t) {
|
|
6550
6555
|
if (e) {
|
|
6551
6556
|
const i = Object.keys(e);
|
|
6552
6557
|
for (let n = 0; n < i.length; n++) {
|
|
@@ -6559,11 +6564,11 @@ function Fd(e, t) {
|
|
|
6559
6564
|
}
|
|
6560
6565
|
function pa(e, t) {
|
|
6561
6566
|
const i = e;
|
|
6562
|
-
return
|
|
6567
|
+
return $d(t, (n, r) => {
|
|
6563
6568
|
Array.isArray(n) ? i[r] = n.slice() : dr(n) ? i[r] = pa(dr(i[r]) ? i[r] : {}, n) : i[r] = n;
|
|
6564
6569
|
}), i;
|
|
6565
6570
|
}
|
|
6566
|
-
const
|
|
6571
|
+
const Nd = W({
|
|
6567
6572
|
name: "SplideTrack",
|
|
6568
6573
|
setup() {
|
|
6569
6574
|
vr(() => {
|
|
@@ -6577,18 +6582,18 @@ const Pd = W({
|
|
|
6577
6582
|
for (const [n, r] of t)
|
|
6578
6583
|
i[n] = r;
|
|
6579
6584
|
return i;
|
|
6580
|
-
},
|
|
6581
|
-
function
|
|
6582
|
-
return _(), C("div",
|
|
6583
|
-
g("ul",
|
|
6585
|
+
}, Pd = { class: "splide__track" }, Fd = { class: "splide__list" };
|
|
6586
|
+
function Rd(e, t, i, n, r, a) {
|
|
6587
|
+
return _(), C("div", Pd, [
|
|
6588
|
+
g("ul", Fd, [
|
|
6584
6589
|
U(e.$slots, "default")
|
|
6585
6590
|
])
|
|
6586
6591
|
]);
|
|
6587
6592
|
}
|
|
6588
|
-
const
|
|
6593
|
+
const Vd = /* @__PURE__ */ In(Nd, [["render", Rd]]), Bd = W({
|
|
6589
6594
|
name: "Splide",
|
|
6590
6595
|
emits: ur.map((e) => `splide:${e}`),
|
|
6591
|
-
components: { SplideTrack:
|
|
6596
|
+
components: { SplideTrack: Vd },
|
|
6592
6597
|
props: {
|
|
6593
6598
|
tag: {
|
|
6594
6599
|
default: "div",
|
|
@@ -6647,14 +6652,14 @@ const Hd = /* @__PURE__ */ In(Pd, [["render", Bd]]), Yd = W({
|
|
|
6647
6652
|
};
|
|
6648
6653
|
}
|
|
6649
6654
|
});
|
|
6650
|
-
function
|
|
6655
|
+
function Hd(e, t, i, n, r, a) {
|
|
6651
6656
|
const s = Aa("SplideTrack");
|
|
6652
|
-
return _(),
|
|
6657
|
+
return _(), Z(Ia(e.tag), {
|
|
6653
6658
|
class: "splide",
|
|
6654
6659
|
ref: "root"
|
|
6655
6660
|
}, {
|
|
6656
6661
|
default: ne(() => [
|
|
6657
|
-
e.hasTrack ? (_(),
|
|
6662
|
+
e.hasTrack ? (_(), Z(s, { key: 0 }, {
|
|
6658
6663
|
default: ne(() => [
|
|
6659
6664
|
U(e.$slots, "default")
|
|
6660
6665
|
]),
|
|
@@ -6664,15 +6669,15 @@ function jd(e, t, i, n, r, a) {
|
|
|
6664
6669
|
_: 3
|
|
6665
6670
|
}, 512);
|
|
6666
6671
|
}
|
|
6667
|
-
const
|
|
6672
|
+
const Yd = /* @__PURE__ */ In(Bd, [["render", Hd]]), jd = W({
|
|
6668
6673
|
name: "SplideSlide"
|
|
6669
|
-
}),
|
|
6670
|
-
function
|
|
6671
|
-
return _(), C("li",
|
|
6674
|
+
}), Kd = { class: "splide__slide" };
|
|
6675
|
+
function Gd(e, t, i, n, r, a) {
|
|
6676
|
+
return _(), C("li", Kd, [
|
|
6672
6677
|
U(e.$slots, "default")
|
|
6673
6678
|
]);
|
|
6674
6679
|
}
|
|
6675
|
-
const
|
|
6680
|
+
const zd = /* @__PURE__ */ In(jd, [["render", Gd]]), Wd = {
|
|
6676
6681
|
autoplay: !1,
|
|
6677
6682
|
keyboard: !0,
|
|
6678
6683
|
slideFocus: !0,
|
|
@@ -6702,14 +6707,14 @@ const Ud = /* @__PURE__ */ In(Gd, [["render", Wd]]), qd = {
|
|
|
6702
6707
|
gap: "2rem"
|
|
6703
6708
|
}
|
|
6704
6709
|
}
|
|
6705
|
-
},
|
|
6710
|
+
}, Ud = {
|
|
6706
6711
|
class: "m-component m-component-slider-comment",
|
|
6707
6712
|
style: { overflow: "hidden" }
|
|
6708
|
-
},
|
|
6713
|
+
}, qd = { class: "container" }, Xd = { class: "m-component__grid" }, Jd = { class: "m-component__column" }, Zd = {
|
|
6709
6714
|
class: "m-slider m-slider--visible-preview",
|
|
6710
6715
|
"aria-label": "Slider mit Elementen",
|
|
6711
6716
|
"data-m-slider-splide": "m-slider-comment"
|
|
6712
|
-
},
|
|
6717
|
+
}, Qd = /* @__PURE__ */ W({
|
|
6713
6718
|
__name: "MucSlider",
|
|
6714
6719
|
emits: ["changeSlide"],
|
|
6715
6720
|
setup(e, { emit: t }) {
|
|
@@ -6724,11 +6729,11 @@ const Ud = /* @__PURE__ */ In(Gd, [["render", Wd]]), qd = {
|
|
|
6724
6729
|
n.value && n.value.splide && (a.value = n.value.length, n.value.splide.on("move", () => {
|
|
6725
6730
|
n.value && n.value.splide && (r.value = n.value.splide.index, i("changeSlide", n.value.splide.index));
|
|
6726
6731
|
}));
|
|
6727
|
-
}), (u, d) => (_(), C("div",
|
|
6728
|
-
g("div",
|
|
6729
|
-
g("div",
|
|
6730
|
-
g("div",
|
|
6731
|
-
g("section",
|
|
6732
|
+
}), (u, d) => (_(), C("div", Ud, [
|
|
6733
|
+
g("div", qd, [
|
|
6734
|
+
g("div", Xd, [
|
|
6735
|
+
g("div", Jd, [
|
|
6736
|
+
g("section", Zd, [
|
|
6732
6737
|
l.value ? (_(), C("button", {
|
|
6733
6738
|
key: 0,
|
|
6734
6739
|
"aria-label": "Vorheriges Element",
|
|
@@ -6739,8 +6744,8 @@ const Ud = /* @__PURE__ */ In(Gd, [["render", Wd]]), qd = {
|
|
|
6739
6744
|
g("use", { "xlink:href": "#icon-arrow-left" })
|
|
6740
6745
|
], -1)
|
|
6741
6746
|
])])) : B("", !0),
|
|
6742
|
-
oe(q(
|
|
6743
|
-
options: q(
|
|
6747
|
+
oe(q(Yd), {
|
|
6748
|
+
options: q(Wd),
|
|
6744
6749
|
"aria-label": `Dies ist ein Karussell mit rotierenden Elementen. Verwenden Sie
|
|
6745
6750
|
die Pfeiltaste links und rechts oder die Buttons um zu navigieren.`,
|
|
6746
6751
|
ref_key: "splide",
|
|
@@ -6767,17 +6772,17 @@ const Ud = /* @__PURE__ */ In(Gd, [["render", Wd]]), qd = {
|
|
|
6767
6772
|
])
|
|
6768
6773
|
]));
|
|
6769
6774
|
}
|
|
6770
|
-
}),
|
|
6775
|
+
}), eh = /* @__PURE__ */ he(Qd, [["__scopeId", "data-v-db727020"]]), th = /* @__PURE__ */ W({
|
|
6771
6776
|
__name: "MucSliderItem",
|
|
6772
6777
|
setup(e) {
|
|
6773
|
-
return (t, i) => (_(),
|
|
6778
|
+
return (t, i) => (_(), Z(q(zd), null, {
|
|
6774
6779
|
default: ne(() => [
|
|
6775
6780
|
U(t.$slots, "default")
|
|
6776
6781
|
]),
|
|
6777
6782
|
_: 3
|
|
6778
6783
|
}));
|
|
6779
6784
|
}
|
|
6780
|
-
}),
|
|
6785
|
+
}), ih = ["tabindex", "aria-labelledby", "aria-label", "aria-setsize", "aria-posinset", "aria-current"], nh = ["id"], rh = ["id"], ah = ["id"], sh = ["aria-labelledby"], oh = /* @__PURE__ */ W({
|
|
6781
6786
|
__name: "MucStepperItem",
|
|
6782
6787
|
props: {
|
|
6783
6788
|
item: {},
|
|
@@ -6800,14 +6805,14 @@ const Ud = /* @__PURE__ */ In(Gd, [["render", Wd]]), qd = {
|
|
|
6800
6805
|
e.isDone && !e.disabled && i("click", e.item.id);
|
|
6801
6806
|
};
|
|
6802
6807
|
return (d, h) => (_(), C("li", {
|
|
6803
|
-
class:
|
|
6808
|
+
class: J(["m-form-step", {
|
|
6804
6809
|
"m-form-step--current": e.isActive,
|
|
6805
6810
|
"show-cursor": e.isDone && !e.disabled && !e.isActive
|
|
6806
6811
|
}]),
|
|
6807
6812
|
onClick: u
|
|
6808
6813
|
}, [
|
|
6809
6814
|
g("div", {
|
|
6810
|
-
class:
|
|
6815
|
+
class: J(["m-form-step__icon", { disabled: e.disabled }]),
|
|
6811
6816
|
tabindex: r.value,
|
|
6812
6817
|
"aria-labelledby": c.value,
|
|
6813
6818
|
"aria-label": a.value,
|
|
@@ -6816,23 +6821,23 @@ const Ud = /* @__PURE__ */ In(Gd, [["render", Wd]]), qd = {
|
|
|
6816
6821
|
"aria-current": e.isActive ? "step" : !1
|
|
6817
6822
|
}, [
|
|
6818
6823
|
oe(q(me), { icon: n.value }, null, 8, ["icon"])
|
|
6819
|
-
], 10,
|
|
6824
|
+
], 10, ih),
|
|
6820
6825
|
g("div", {
|
|
6821
|
-
class:
|
|
6826
|
+
class: J(["m-form-step__title", { disabled: e.disabled }])
|
|
6822
6827
|
}, [
|
|
6823
6828
|
g("span", {
|
|
6824
6829
|
id: s.value,
|
|
6825
6830
|
"aria-disabled": "true"
|
|
6826
|
-
}, L(e.item.label), 9,
|
|
6831
|
+
}, L(e.item.label), 9, nh),
|
|
6827
6832
|
g("span", {
|
|
6828
6833
|
class: "visually-hidden",
|
|
6829
6834
|
id: o.value
|
|
6830
|
-
}, " Schritt " + L(e.position) + " von " + L(e.total) + ": ", 9,
|
|
6835
|
+
}, " Schritt " + L(e.position) + " von " + L(e.total) + ": ", 9, rh),
|
|
6831
6836
|
e.isDone ? (_(), C("span", {
|
|
6832
6837
|
key: 0,
|
|
6833
6838
|
class: "visually-hidden",
|
|
6834
6839
|
id: l.value
|
|
6835
|
-
}, " – erledigt ", 8,
|
|
6840
|
+
}, " – erledigt ", 8, ah)) : B("", !0)
|
|
6836
6841
|
], 2),
|
|
6837
6842
|
e.isActive ? (_(), C("span", {
|
|
6838
6843
|
key: 0,
|
|
@@ -6841,14 +6846,14 @@ const Ud = /* @__PURE__ */ In(Gd, [["render", Wd]]), qd = {
|
|
|
6841
6846
|
"aria-live": "polite",
|
|
6842
6847
|
"aria-atomic": "true",
|
|
6843
6848
|
"aria-labelledby": c.value
|
|
6844
|
-
}, null, 8,
|
|
6849
|
+
}, null, 8, sh)) : B("", !0)
|
|
6845
6850
|
], 2));
|
|
6846
6851
|
}
|
|
6847
|
-
}),
|
|
6852
|
+
}), lh = /* @__PURE__ */ he(oh, [["__scopeId", "data-v-c8c29c82"]]), ch = { class: "m-component m-component-form-progress" }, uh = { class: "container" }, dh = { class: "m-component__grid" }, hh = { class: "m-component__column" }, fh = {
|
|
6848
6853
|
class: "m-form-steps",
|
|
6849
6854
|
role: "list",
|
|
6850
6855
|
"aria-label": "Formularfortschritt"
|
|
6851
|
-
},
|
|
6856
|
+
}, vh = /* @__PURE__ */ W({
|
|
6852
6857
|
__name: "MucStepper",
|
|
6853
6858
|
props: {
|
|
6854
6859
|
stepItems: {},
|
|
@@ -6867,12 +6872,12 @@ const Ud = /* @__PURE__ */ In(Gd, [["render", Wd]]), qd = {
|
|
|
6867
6872
|
const n = (c) => e.stepItems.findIndex((u) => u.id === c), r = ae(n(e.activeItem)), a = (c) => c === e.activeItem, s = (c) => n(c) < r.value, o = (c) => e.disablePreviousSteps && !a(c) && s(c), l = (c) => {
|
|
6868
6873
|
i("changeStep", c);
|
|
6869
6874
|
};
|
|
6870
|
-
return (c, u) => (_(), C("div",
|
|
6871
|
-
g("div",
|
|
6872
|
-
g("div",
|
|
6873
|
-
g("div",
|
|
6874
|
-
g("ol",
|
|
6875
|
-
(_(!0), C(we, null, Oe(e.stepItems, (d, h) => (_(),
|
|
6875
|
+
return (c, u) => (_(), C("div", ch, [
|
|
6876
|
+
g("div", uh, [
|
|
6877
|
+
g("div", dh, [
|
|
6878
|
+
g("div", hh, [
|
|
6879
|
+
g("ol", fh, [
|
|
6880
|
+
(_(!0), C(we, null, Oe(e.stepItems, (d, h) => (_(), Z(lh, {
|
|
6876
6881
|
key: d.id,
|
|
6877
6882
|
item: d,
|
|
6878
6883
|
"is-active": a(d.id),
|
|
@@ -6890,72 +6895,72 @@ const Ud = /* @__PURE__ */ In(Gd, [["render", Wd]]), qd = {
|
|
|
6890
6895
|
}
|
|
6891
6896
|
}), hr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6892
6897
|
__proto__: null,
|
|
6893
|
-
MucAccordion:
|
|
6894
|
-
MucAccordionItem:
|
|
6895
|
-
MucBanner:
|
|
6898
|
+
MucAccordion: $a,
|
|
6899
|
+
MucAccordionItem: Ha,
|
|
6900
|
+
MucBanner: Ka,
|
|
6896
6901
|
MucButton: Je,
|
|
6897
|
-
MucCalendar:
|
|
6898
|
-
MucCallout:
|
|
6899
|
-
MucCard:
|
|
6900
|
-
MucCardContainer:
|
|
6901
|
-
MucCheckbox:
|
|
6902
|
-
MucCheckboxGroup:
|
|
6902
|
+
MucCalendar: bs,
|
|
6903
|
+
MucCallout: Ts,
|
|
6904
|
+
MucCard: Ps,
|
|
6905
|
+
MucCardContainer: Vs,
|
|
6906
|
+
MucCheckbox: po,
|
|
6907
|
+
MucCheckboxGroup: wo,
|
|
6903
6908
|
MucComment: pr,
|
|
6904
|
-
MucCommentText:
|
|
6905
|
-
MucCounter:
|
|
6909
|
+
MucCommentText: no,
|
|
6910
|
+
MucCounter: Po,
|
|
6906
6911
|
MucDivider: ui,
|
|
6907
|
-
MucErrorList:
|
|
6908
|
-
MucFileDropzone:
|
|
6912
|
+
MucErrorList: Yo,
|
|
6913
|
+
MucFileDropzone: fo,
|
|
6909
6914
|
MucIcon: me,
|
|
6910
|
-
MucInput:
|
|
6911
|
-
MucIntro:
|
|
6915
|
+
MucInput: Zo,
|
|
6916
|
+
MucIntro: hu,
|
|
6912
6917
|
MucLink: _r,
|
|
6913
|
-
MucModal:
|
|
6918
|
+
MucModal: Su,
|
|
6914
6919
|
MucPercentageSpinner: qn,
|
|
6915
|
-
MucRadioButton:
|
|
6916
|
-
MucRadioButtonGroup:
|
|
6917
|
-
MucSelect:
|
|
6918
|
-
MucSlider:
|
|
6919
|
-
MucSliderItem:
|
|
6920
|
+
MucRadioButton: nl,
|
|
6921
|
+
MucRadioButtonGroup: cl,
|
|
6922
|
+
MucSelect: Vc,
|
|
6923
|
+
MucSlider: eh,
|
|
6924
|
+
MucSliderItem: th,
|
|
6920
6925
|
MucSpinner: qn,
|
|
6921
|
-
MucStepper:
|
|
6922
|
-
MucTextArea:
|
|
6926
|
+
MucStepper: vh,
|
|
6927
|
+
MucTextArea: Wc
|
|
6923
6928
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6924
|
-
function
|
|
6929
|
+
function mh(e) {
|
|
6925
6930
|
for (const t in hr)
|
|
6926
6931
|
e.component(t, hr[t]);
|
|
6927
6932
|
}
|
|
6928
|
-
const
|
|
6933
|
+
const ph = { install: mh };
|
|
6929
6934
|
export {
|
|
6930
|
-
|
|
6931
|
-
|
|
6932
|
-
|
|
6935
|
+
$a as MucAccordion,
|
|
6936
|
+
Ha as MucAccordionItem,
|
|
6937
|
+
Ka as MucBanner,
|
|
6933
6938
|
Je as MucButton,
|
|
6934
|
-
|
|
6935
|
-
|
|
6936
|
-
|
|
6937
|
-
|
|
6938
|
-
|
|
6939
|
-
|
|
6939
|
+
bs as MucCalendar,
|
|
6940
|
+
Ts as MucCallout,
|
|
6941
|
+
Ps as MucCard,
|
|
6942
|
+
Vs as MucCardContainer,
|
|
6943
|
+
po as MucCheckbox,
|
|
6944
|
+
wo as MucCheckboxGroup,
|
|
6940
6945
|
pr as MucComment,
|
|
6941
|
-
|
|
6942
|
-
|
|
6946
|
+
no as MucCommentText,
|
|
6947
|
+
Po as MucCounter,
|
|
6943
6948
|
ui as MucDivider,
|
|
6944
|
-
|
|
6945
|
-
|
|
6949
|
+
Yo as MucErrorList,
|
|
6950
|
+
fo as MucFileDropzone,
|
|
6946
6951
|
me as MucIcon,
|
|
6947
|
-
|
|
6948
|
-
|
|
6952
|
+
Zo as MucInput,
|
|
6953
|
+
hu as MucIntro,
|
|
6949
6954
|
_r as MucLink,
|
|
6950
|
-
|
|
6955
|
+
Su as MucModal,
|
|
6951
6956
|
qn as MucPercentageSpinner,
|
|
6952
|
-
|
|
6953
|
-
|
|
6954
|
-
|
|
6955
|
-
|
|
6956
|
-
|
|
6957
|
+
nl as MucRadioButton,
|
|
6958
|
+
cl as MucRadioButtonGroup,
|
|
6959
|
+
Vc as MucSelect,
|
|
6960
|
+
eh as MucSlider,
|
|
6961
|
+
th as MucSliderItem,
|
|
6957
6962
|
qn as MucSpinner,
|
|
6958
|
-
|
|
6959
|
-
|
|
6960
|
-
|
|
6963
|
+
vh as MucStepper,
|
|
6964
|
+
Wc as MucTextArea,
|
|
6965
|
+
ph as default
|
|
6961
6966
|
};
|