@muenchen/muc-patternlab-vue 3.0.0-beta.4 → 3.0.0-beta.5
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 +451 -453
- package/package.json +1 -1
- package/style.css +1 -1
package/muc-patternlab-vue.es.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as G, useAttrs as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as G, useAttrs as nr, computed as I, openBlock as A, createElementBlock as w, normalizeClass as ne, normalizeStyle as ar, createElementVNode as m, createVNode as J, unref as K, renderSlot as j, useSlots as gn, createCommentVNode as W, createBlock as le, inject as At, withKeys as _n, toDisplayString as V, Fragment as pe, renderList as ke, mergeModels as we, ref as se, useModel as Ke, provide as pn, readonly as ln, toRef as sn, withCtx as ee, Transition as tn, createTextVNode as ce, createSlots as rr, createStaticVNode as la, onMounted as zt, onUpdated as sa, withModifiers as ut, watch as mt, withDirectives as yn, vModelDynamic as ir, onBeforeUnmount as ua, useTemplateRef as ca, vModelText as da, resolveComponent as or, resolveDynamicComponent as lr } from "vue";
|
|
2
|
+
const sr = ["href"], ye = /* @__PURE__ */ G({
|
|
3
3
|
__name: "MucIcon",
|
|
4
4
|
props: {
|
|
5
5
|
icon: {},
|
|
6
6
|
color: {}
|
|
7
7
|
},
|
|
8
8
|
setup(e) {
|
|
9
|
-
const n =
|
|
10
|
-
return (a,
|
|
9
|
+
const n = nr(), t = I(() => n.class ?? "icon");
|
|
10
|
+
return (a, r) => (A(), w("svg", {
|
|
11
11
|
"aria-hidden": "true",
|
|
12
12
|
class: ne(t.value),
|
|
13
|
-
style:
|
|
13
|
+
style: ar({ color: a.color })
|
|
14
14
|
}, [
|
|
15
15
|
m("use", {
|
|
16
16
|
href: "#icon-" + a.icon
|
|
17
|
-
}, null, 8,
|
|
17
|
+
}, null, 8, sr)
|
|
18
18
|
], 6));
|
|
19
19
|
}
|
|
20
|
-
}),
|
|
20
|
+
}), ur = ["role", "aria-label"], cr = { class: "container-fluid" }, dr = /* @__PURE__ */ G({
|
|
21
21
|
__name: "MucBanner",
|
|
22
22
|
props: {
|
|
23
23
|
type: { default: "info" }
|
|
@@ -62,7 +62,7 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
62
62
|
default:
|
|
63
63
|
return "Information";
|
|
64
64
|
}
|
|
65
|
-
}),
|
|
65
|
+
}), r = I(() => {
|
|
66
66
|
switch (e.type) {
|
|
67
67
|
case "success":
|
|
68
68
|
return "check";
|
|
@@ -81,20 +81,20 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
81
81
|
role: t.value,
|
|
82
82
|
"aria-label": a.value
|
|
83
83
|
}, [
|
|
84
|
-
m("div",
|
|
85
|
-
J(K(ye), { icon:
|
|
84
|
+
m("div", cr, [
|
|
85
|
+
J(K(ye), { icon: r.value }, null, 8, ["icon"]),
|
|
86
86
|
j(s.$slots, "default", {}, void 0, !0)
|
|
87
87
|
])
|
|
88
|
-
], 10,
|
|
88
|
+
], 10, ur)
|
|
89
89
|
])
|
|
90
90
|
]));
|
|
91
91
|
}
|
|
92
|
-
}),
|
|
92
|
+
}), re = (e, n) => {
|
|
93
93
|
const t = e.__vccOpts || e;
|
|
94
|
-
for (const [a,
|
|
95
|
-
t[a] =
|
|
94
|
+
for (const [a, r] of n)
|
|
95
|
+
t[a] = r;
|
|
96
96
|
return t;
|
|
97
|
-
},
|
|
97
|
+
}, fr = /* @__PURE__ */ re(dr, [["__scopeId", "data-v-01cbc1dd"]]), vr = ["aria-disabled"], mr = /* @__PURE__ */ G({
|
|
98
98
|
__name: "MucButton",
|
|
99
99
|
props: {
|
|
100
100
|
variant: { default: "primary" },
|
|
@@ -105,7 +105,7 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
105
105
|
},
|
|
106
106
|
emits: ["click"],
|
|
107
107
|
setup(e, { emit: n }) {
|
|
108
|
-
const t = gn(), a = n,
|
|
108
|
+
const t = gn(), a = n, r = I(() => {
|
|
109
109
|
switch (e.variant) {
|
|
110
110
|
case "secondary":
|
|
111
111
|
return "m-button--secondary";
|
|
@@ -117,13 +117,13 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
117
117
|
}), s = I(() => e.iconAnimated && e.iconShownLeft ? "m-button--animated-left" : e.iconAnimated ? "m-button--animated-right" : ""), l = I(() => ({
|
|
118
118
|
"set-right-margin": e.iconShownLeft,
|
|
119
119
|
"no-left-margin": e.iconShownLeft ? !e.iconAnimated : !t.default
|
|
120
|
-
})),
|
|
120
|
+
})), i = () => {
|
|
121
121
|
e.disabled || a("click");
|
|
122
122
|
}, u = I(() => e.disabled ? "disabled" : "");
|
|
123
123
|
return (o, c) => (A(), w("button", {
|
|
124
|
-
onClick:
|
|
124
|
+
onClick: i,
|
|
125
125
|
"aria-disabled": o.disabled,
|
|
126
|
-
class: ne(["m-button", [
|
|
126
|
+
class: ne(["m-button", [r.value, s.value, u.value]])
|
|
127
127
|
}, [
|
|
128
128
|
m("span", null, [
|
|
129
129
|
o.iconShownLeft ? W("", !0) : j(o.$slots, "default", { key: 0 }, void 0, !0),
|
|
@@ -134,9 +134,9 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
134
134
|
}, null, 8, ["icon", "class"])) : W("", !0),
|
|
135
135
|
o.iconShownLeft ? j(o.$slots, "default", { key: 2 }, void 0, !0) : W("", !0)
|
|
136
136
|
])
|
|
137
|
-
], 10,
|
|
137
|
+
], 10, vr));
|
|
138
138
|
}
|
|
139
|
-
}), Pe = /* @__PURE__ */
|
|
139
|
+
}), Pe = /* @__PURE__ */ re(mr, [["__scopeId", "data-v-07f58200"]]), Pt = "de-DE", fa = 12, Ut = Symbol("mucCalendar"), st = (e, n) => e.getDate() === n.getDate() && e.getMonth() === n.getMonth() && e.getFullYear() === n.getFullYear(), un = (e, n) => e > n, ct = (e) => e !== null && e.from !== void 0 && e.to !== void 0, hr = ["tabindex", "aria-label"], gr = /* @__PURE__ */ G({
|
|
140
140
|
__name: "MucDayTile",
|
|
141
141
|
props: {
|
|
142
142
|
date: {},
|
|
@@ -144,7 +144,7 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
144
144
|
},
|
|
145
145
|
emits: ["click"],
|
|
146
146
|
setup(e, { emit: n }) {
|
|
147
|
-
const t = At(Ut), a = n,
|
|
147
|
+
const t = At(Ut), a = n, r = I(() => {
|
|
148
148
|
if ((t == null ? void 0 : t.selectedDate.value) === null)
|
|
149
149
|
return !1;
|
|
150
150
|
if ((t == null ? void 0 : t.selectedDate.value) instanceof Date)
|
|
@@ -160,27 +160,27 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
160
160
|
}), s = I(() => (t == null ? void 0 : t.variant.value) === "range" && ct(t.selectedDate.value) ? (t == null ? void 0 : t.selectedDate.value.from) !== null && (t == null ? void 0 : t.selectedDate.value.to) !== null && un(e.date, t.selectedDate.value.from) && un(t.selectedDate.value.to, e.date) : !1), l = I(() => {
|
|
161
161
|
const o = t != null && t.allowedDates(e.date) ? t.allowedDates(e.date) : !1, c = (t == null ? void 0 : t.minDate.value) !== void 0 && (e.date.getFullYear() < t.minDate.value.getFullYear() || e.date.getFullYear() === t.minDate.value.getFullYear() && e.date.getMonth() < t.minDate.value.getMonth() || e.date.getFullYear() === t.minDate.value.getFullYear() && e.date.getMonth() === t.minDate.value.getMonth() && e.date.getDate() < t.minDate.value.getDate()), f = (t == null ? void 0 : t.maxDate.value) !== void 0 && (e.date.getFullYear() > t.maxDate.value.getFullYear() || e.date.getFullYear() === t.maxDate.value.getFullYear() && e.date.getMonth() > t.maxDate.value.getMonth() || e.date.getFullYear() === t.maxDate.value.getFullYear() && e.date.getMonth() === t.maxDate.value.getMonth() && e.date.getDate() > t.maxDate.value.getDate());
|
|
162
162
|
return !o || c || f;
|
|
163
|
-
}),
|
|
163
|
+
}), i = I(
|
|
164
164
|
() => e.date.getMonth() === (t == null ? void 0 : t.viewDate.value.getMonth())
|
|
165
165
|
), u = () => {
|
|
166
166
|
l.value || a("click", e.date);
|
|
167
167
|
};
|
|
168
|
-
return (o, c) =>
|
|
168
|
+
return (o, c) => i.value || o.showAdjacentMonths ? (A(), w("div", {
|
|
169
169
|
key: 0,
|
|
170
170
|
onClick: u,
|
|
171
171
|
onKeyup: _n(u, ["enter"]),
|
|
172
172
|
class: ne({
|
|
173
173
|
"disabled-tile": l.value,
|
|
174
|
-
"off-month": !
|
|
175
|
-
selected:
|
|
174
|
+
"off-month": !i.value,
|
|
175
|
+
selected: r.value,
|
|
176
176
|
"selected-range": s.value
|
|
177
177
|
}),
|
|
178
178
|
tabindex: l.value ? "-1" : "0",
|
|
179
179
|
role: "button",
|
|
180
180
|
"aria-label": `${o.date.getDate()} auswählen`
|
|
181
|
-
}, V(o.date.getDate()), 43,
|
|
181
|
+
}, V(o.date.getDate()), 43, hr)) : W("", !0);
|
|
182
182
|
}
|
|
183
|
-
}),
|
|
183
|
+
}), _r = /* @__PURE__ */ re(gr, [["__scopeId", "data-v-9ac1842d"]]), pr = { class: "muc-calendar-view-full-size" }, yr = { class: "muc-calendar-container table-header" }, br = { class: "muc-calendar-container" }, Er = 7, Ar = /* @__PURE__ */ G({
|
|
184
184
|
__name: "MucCalendarDay",
|
|
185
185
|
props: {
|
|
186
186
|
viewDate: {},
|
|
@@ -190,17 +190,17 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
190
190
|
},
|
|
191
191
|
emits: ["clicked"],
|
|
192
192
|
setup(e, { emit: n }) {
|
|
193
|
-
const t = 6 *
|
|
194
|
-
() => new Date(
|
|
195
|
-
),
|
|
196
|
-
() =>
|
|
193
|
+
const t = 6 * Er, a = ["Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"], r = e, s = n, l = I(
|
|
194
|
+
() => new Date(r.viewDate.getFullYear(), r.viewDate.getMonth(), 1)
|
|
195
|
+
), i = I(
|
|
196
|
+
() => r.showAdjacentMonths ? 0 : (l.value.getDay() || 7) - 1
|
|
197
197
|
), u = I(
|
|
198
198
|
() => c(l.value, -l.value.getDay() || -7)
|
|
199
199
|
), o = (f) => {
|
|
200
200
|
s("clicked", f);
|
|
201
201
|
}, c = (f, p) => new Date(new Date(f).setDate(f.getDate() + p));
|
|
202
|
-
return (f, p) => (A(), w("div",
|
|
203
|
-
m("div",
|
|
202
|
+
return (f, p) => (A(), w("div", pr, [
|
|
203
|
+
m("div", yr, [
|
|
204
204
|
(A(), w(pe, null, ke(a, (h, d) => m("div", {
|
|
205
205
|
class: "header-item",
|
|
206
206
|
key: d
|
|
@@ -208,9 +208,9 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
208
208
|
m("strong", null, V(h), 1)
|
|
209
209
|
])), 64))
|
|
210
210
|
]),
|
|
211
|
-
m("div",
|
|
212
|
-
(A(!0), w(pe, null, ke(
|
|
213
|
-
(A(), w(pe, null, ke(t, (h) => J(
|
|
211
|
+
m("div", br, [
|
|
212
|
+
(A(!0), w(pe, null, ke(i.value, (h) => (A(), w("div", { key: h }))), 128)),
|
|
213
|
+
(A(), w(pe, null, ke(t, (h) => J(_r, {
|
|
214
214
|
class: "muc-calendar-item",
|
|
215
215
|
date: c(u.value, h),
|
|
216
216
|
"show-adjacent-months": f.showAdjacentMonths,
|
|
@@ -220,48 +220,48 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
220
220
|
])
|
|
221
221
|
]));
|
|
222
222
|
}
|
|
223
|
-
}),
|
|
223
|
+
}), kr = /* @__PURE__ */ re(Ar, [["__scopeId", "data-v-e7805970"]]), Mr = ["tabindex", "aria-label"], wr = "short", Sr = /* @__PURE__ */ G({
|
|
224
224
|
__name: "MucMonthTile",
|
|
225
225
|
props: {
|
|
226
226
|
date: {}
|
|
227
227
|
},
|
|
228
228
|
emits: ["click"],
|
|
229
229
|
setup(e, { emit: n }) {
|
|
230
|
-
const t = At(Ut), a = n,
|
|
231
|
-
const
|
|
230
|
+
const t = At(Ut), a = n, r = (i) => i.toLocaleDateString(Pt, { month: wr }), s = I(() => {
|
|
231
|
+
const i = e.date.getFullYear(), u = e.date.getMonth(), o = (t == null ? void 0 : t.minDate.value) && (i < t.minDate.value.getFullYear() || i === t.minDate.value.getFullYear() && u < t.minDate.value.getMonth()), c = (t == null ? void 0 : t.maxDate.value) && (i > t.maxDate.value.getFullYear() || i === t.maxDate.value.getFullYear() && u > t.maxDate.value.getMonth());
|
|
232
232
|
return o || c;
|
|
233
233
|
}), l = () => {
|
|
234
234
|
s.value || a("click", e.date);
|
|
235
235
|
};
|
|
236
|
-
return (
|
|
236
|
+
return (i, u) => (A(), w("div", {
|
|
237
237
|
onClick: l,
|
|
238
238
|
onKeyup: _n(l, ["enter"]),
|
|
239
239
|
class: ne({
|
|
240
240
|
"disabled-tile": s.value,
|
|
241
|
-
"muc-calendar-current-item": (/* @__PURE__ */ new Date()).getMonth() ===
|
|
241
|
+
"muc-calendar-current-item": (/* @__PURE__ */ new Date()).getMonth() === i.date.getMonth() && (/* @__PURE__ */ new Date()).getFullYear() === i.date.getFullYear()
|
|
242
242
|
}),
|
|
243
243
|
tabindex: s.value ? "-1" : "0",
|
|
244
244
|
role: "button",
|
|
245
|
-
"aria-label": `${
|
|
245
|
+
"aria-label": `${i.date.toLocaleDateString(K(Pt), { month: "long" })} auswählen`
|
|
246
246
|
}, [
|
|
247
|
-
m("p", null, V(i
|
|
248
|
-
], 42,
|
|
247
|
+
m("p", null, V(r(i.date)), 1)
|
|
248
|
+
], 42, Mr));
|
|
249
249
|
}
|
|
250
|
-
}),
|
|
250
|
+
}), Dr = /* @__PURE__ */ re(Sr, [["__scopeId", "data-v-30d96702"]]), Tr = { class: "muc-calendar-container muc-calendar-view-full-size" }, $r = /* @__PURE__ */ G({
|
|
251
251
|
__name: "MucCalendarMonth",
|
|
252
252
|
props: {
|
|
253
253
|
viewDate: {}
|
|
254
254
|
},
|
|
255
255
|
emits: ["clicked"],
|
|
256
256
|
setup(e, { emit: n }) {
|
|
257
|
-
const t = e, a = n,
|
|
257
|
+
const t = e, a = n, r = I(
|
|
258
258
|
() => Array.from(
|
|
259
259
|
{ length: fa },
|
|
260
|
-
(l,
|
|
260
|
+
(l, i) => new Date(t.viewDate.getFullYear(), i)
|
|
261
261
|
)
|
|
262
262
|
), s = (l) => a("clicked", l);
|
|
263
|
-
return (l,
|
|
264
|
-
(A(!0), w(pe, null, ke(
|
|
263
|
+
return (l, i) => (A(), w("div", Tr, [
|
|
264
|
+
(A(!0), w(pe, null, ke(r.value, (u, o) => (A(), le(Dr, {
|
|
265
265
|
key: o,
|
|
266
266
|
class: "muc-calendar-item",
|
|
267
267
|
date: u,
|
|
@@ -269,51 +269,51 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
269
269
|
}, null, 8, ["date"]))), 128))
|
|
270
270
|
]));
|
|
271
271
|
}
|
|
272
|
-
}),
|
|
272
|
+
}), Ir = /* @__PURE__ */ re($r, [["__scopeId", "data-v-4dc141ae"]]), Cr = ["tabindex", "aria-label"], zn = "numeric", Lr = /* @__PURE__ */ G({
|
|
273
273
|
__name: "MucYearTile",
|
|
274
274
|
props: {
|
|
275
275
|
date: {}
|
|
276
276
|
},
|
|
277
277
|
emits: ["click"],
|
|
278
278
|
setup(e, { emit: n }) {
|
|
279
|
-
const t = At(Ut), a = n,
|
|
280
|
-
const
|
|
279
|
+
const t = At(Ut), a = n, r = (i) => i.toLocaleDateString(Pt, { year: zn }), s = I(() => {
|
|
280
|
+
const i = e.date.getFullYear(), u = (t == null ? void 0 : t.minDate.value) && i < t.minDate.value.getFullYear(), o = (t == null ? void 0 : t.maxDate.value) && i > t.maxDate.value.getFullYear();
|
|
281
281
|
return u || o;
|
|
282
282
|
}), l = () => {
|
|
283
283
|
s.value || a("click", e.date);
|
|
284
284
|
};
|
|
285
|
-
return (
|
|
285
|
+
return (i, u) => (A(), w("div", {
|
|
286
286
|
onClick: l,
|
|
287
287
|
onKeyup: _n(l, ["enter"]),
|
|
288
288
|
class: ne({
|
|
289
289
|
"disabled-tile": s.value,
|
|
290
|
-
"muc-calendar-current-item": (/* @__PURE__ */ new Date()).getFullYear() ===
|
|
290
|
+
"muc-calendar-current-item": (/* @__PURE__ */ new Date()).getFullYear() === i.date.getFullYear()
|
|
291
291
|
}),
|
|
292
292
|
tabindex: s.value ? "-1" : "0",
|
|
293
293
|
role: "button",
|
|
294
|
-
"aria-label": `${
|
|
294
|
+
"aria-label": `${i.date.toLocaleDateString(K(Pt), { year: zn })} auswählen`
|
|
295
295
|
}, [
|
|
296
|
-
m("p", null, V(i
|
|
297
|
-
], 42,
|
|
296
|
+
m("p", null, V(r(i.date)), 1)
|
|
297
|
+
], 42, Cr));
|
|
298
298
|
}
|
|
299
|
-
}),
|
|
299
|
+
}), Or = /* @__PURE__ */ re(Lr, [["__scopeId", "data-v-ed281bd7"]]), Fr = { class: "muc-calendar-container muc-calendar-view-full-size" }, Nr = /* @__PURE__ */ G({
|
|
300
300
|
__name: "MucCalendarYear",
|
|
301
301
|
props: {
|
|
302
302
|
viewDate: {}
|
|
303
303
|
},
|
|
304
304
|
emits: ["clicked"],
|
|
305
305
|
setup(e, { emit: n }) {
|
|
306
|
-
const t = e, a = n,
|
|
306
|
+
const t = e, a = n, r = I(
|
|
307
307
|
() => Array.from(
|
|
308
308
|
{ length: fa },
|
|
309
|
-
(l,
|
|
310
|
-
t.viewDate.getFullYear() - t.viewDate.getFullYear() % 10 +
|
|
309
|
+
(l, i) => new Date(
|
|
310
|
+
t.viewDate.getFullYear() - t.viewDate.getFullYear() % 10 + i,
|
|
311
311
|
t.viewDate.getMonth()
|
|
312
312
|
)
|
|
313
313
|
)
|
|
314
314
|
), s = (l) => a("clicked", l);
|
|
315
|
-
return (l,
|
|
316
|
-
(A(!0), w(pe, null, ke(
|
|
315
|
+
return (l, i) => (A(), w("div", Fr, [
|
|
316
|
+
(A(!0), w(pe, null, ke(r.value, (u, o) => (A(), le(Or, {
|
|
317
317
|
key: o,
|
|
318
318
|
class: "muc-calendar-item",
|
|
319
319
|
date: u,
|
|
@@ -321,7 +321,7 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
321
321
|
}, null, 8, ["date", "onClick"]))), 128))
|
|
322
322
|
]));
|
|
323
323
|
}
|
|
324
|
-
}),
|
|
324
|
+
}), Rr = /* @__PURE__ */ re(Nr, [["__scopeId", "data-v-2d92e62c"]]), Pr = { class: "container-wrapper" }, Vr = { class: "calendar-caption" }, Yr = { class: "container-view-size" }, Un = 10, xr = /* @__PURE__ */ G({
|
|
325
325
|
__name: "MucCalendar",
|
|
326
326
|
props: /* @__PURE__ */ we({
|
|
327
327
|
viewMonth: {},
|
|
@@ -350,21 +350,21 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
350
350
|
}), a = I(() => {
|
|
351
351
|
if (e.max)
|
|
352
352
|
return e.max instanceof Date ? e.max : new Date(e.max);
|
|
353
|
-
}),
|
|
353
|
+
}), r = se(
|
|
354
354
|
n.value || new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1)
|
|
355
|
-
), s = se("day"), l = se(),
|
|
355
|
+
), s = se("day"), l = se(), i = Ke(e, "modelValue"), u = I(() => {
|
|
356
356
|
switch (s.value) {
|
|
357
357
|
case "day":
|
|
358
|
-
return
|
|
358
|
+
return r.value.toLocaleDateString("de-De", {
|
|
359
359
|
month: "long",
|
|
360
360
|
year: "numeric"
|
|
361
361
|
});
|
|
362
362
|
case "month":
|
|
363
|
-
return
|
|
363
|
+
return r.value.toLocaleDateString("de-De", {
|
|
364
364
|
year: "numeric"
|
|
365
365
|
});
|
|
366
366
|
case "year": {
|
|
367
|
-
const k =
|
|
367
|
+
const k = r.value.getFullYear() - r.value.getFullYear() % 10;
|
|
368
368
|
return `${k} - ${k + 11}`;
|
|
369
369
|
}
|
|
370
370
|
default:
|
|
@@ -373,35 +373,35 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
373
373
|
}), o = () => {
|
|
374
374
|
switch (s.value) {
|
|
375
375
|
case "day":
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
r.value = new Date(
|
|
377
|
+
r.value.setMonth(r.value.getMonth() - 1)
|
|
378
378
|
);
|
|
379
379
|
break;
|
|
380
380
|
case "month":
|
|
381
|
-
|
|
382
|
-
|
|
381
|
+
r.value = new Date(
|
|
382
|
+
r.value.setFullYear(r.value.getFullYear() - 1)
|
|
383
383
|
);
|
|
384
384
|
break;
|
|
385
385
|
case "year":
|
|
386
|
-
|
|
387
|
-
|
|
386
|
+
r.value = new Date(
|
|
387
|
+
r.value.setFullYear(r.value.getFullYear() - 12)
|
|
388
388
|
);
|
|
389
389
|
}
|
|
390
390
|
}, c = () => {
|
|
391
391
|
switch (s.value) {
|
|
392
392
|
case "day":
|
|
393
|
-
|
|
394
|
-
|
|
393
|
+
r.value = new Date(
|
|
394
|
+
r.value.setMonth(r.value.getMonth() + 1)
|
|
395
395
|
);
|
|
396
396
|
break;
|
|
397
397
|
case "month":
|
|
398
|
-
|
|
399
|
-
|
|
398
|
+
r.value = new Date(
|
|
399
|
+
r.value.setFullYear(r.value.getFullYear() + 1)
|
|
400
400
|
);
|
|
401
401
|
break;
|
|
402
402
|
case "year":
|
|
403
|
-
|
|
404
|
-
|
|
403
|
+
r.value = new Date(
|
|
404
|
+
r.value.setFullYear(r.value.getFullYear() + 12)
|
|
405
405
|
);
|
|
406
406
|
}
|
|
407
407
|
}, f = I(() => {
|
|
@@ -430,11 +430,11 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
430
430
|
if (t.value)
|
|
431
431
|
switch (s.value) {
|
|
432
432
|
case "day":
|
|
433
|
-
return
|
|
433
|
+
return r.value.getFullYear() < t.value.getFullYear() || r.value.getFullYear() === t.value.getFullYear() && r.value.getMonth() <= t.value.getMonth();
|
|
434
434
|
case "month":
|
|
435
|
-
return
|
|
435
|
+
return r.value.getFullYear() <= t.value.getFullYear();
|
|
436
436
|
case "year":
|
|
437
|
-
return
|
|
437
|
+
return r.value.getFullYear() - r.value.getFullYear() % Un <= t.value.getFullYear();
|
|
438
438
|
default:
|
|
439
439
|
return !1;
|
|
440
440
|
}
|
|
@@ -443,28 +443,28 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
443
443
|
if (a.value)
|
|
444
444
|
switch (s.value) {
|
|
445
445
|
case "day":
|
|
446
|
-
return
|
|
446
|
+
return r.value.getFullYear() > a.value.getFullYear() || r.value.getFullYear() === a.value.getFullYear() && r.value.getMonth() >= a.value.getMonth();
|
|
447
447
|
case "month":
|
|
448
|
-
return
|
|
448
|
+
return r.value.getFullYear() >= a.value.getFullYear();
|
|
449
449
|
case "year":
|
|
450
|
-
return
|
|
450
|
+
return r.value.getFullYear() - r.value.getFullYear() % Un + 10 >= a.value.getFullYear();
|
|
451
451
|
default:
|
|
452
452
|
return !1;
|
|
453
453
|
}
|
|
454
454
|
return !1;
|
|
455
455
|
}), v = (k) => {
|
|
456
|
-
console.log(ct(
|
|
456
|
+
console.log(ct(i.value)), (Array.isArray(i.value) || ct(i.value)) && (i.value = Object.values(i.value)[0]), i.value = i.value === null || !st(i.value, k) ? k : null;
|
|
457
457
|
}, M = (k) => {
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
].filter((E) => E !== null)),
|
|
458
|
+
i.value === null ? i.value = [] : i.value instanceof Date ? i.value = [i.value] : ct(i.value) && (i.value = [
|
|
459
|
+
i.value.from,
|
|
460
|
+
i.value.to
|
|
461
|
+
].filter((E) => E !== null)), i.value = i.value.some(
|
|
462
462
|
(E) => E.getTime() === k.getTime()
|
|
463
|
-
) ?
|
|
463
|
+
) ? i.value.filter(
|
|
464
464
|
(E) => E.getTime() !== k.getTime()
|
|
465
|
-
) : [...
|
|
465
|
+
) : [...i.value, k];
|
|
466
466
|
}, g = (k) => {
|
|
467
|
-
|
|
467
|
+
i.value === null || Array.isArray(i.value) ? i.value = { from: null, to: null } : i.value instanceof Date && (i.value = { from: i.value, to: null }), i.value = !i.value.from || i.value.to ? { from: k, to: null } : un(i.value.from, k) ? { from: k, to: i.value.from } : { from: i.value.from, to: k };
|
|
468
468
|
}, y = (k) => {
|
|
469
469
|
if (!e.disabled)
|
|
470
470
|
switch (e.variant) {
|
|
@@ -479,28 +479,27 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
479
479
|
break;
|
|
480
480
|
}
|
|
481
481
|
}, b = (k) => {
|
|
482
|
-
l.value = "view-detail",
|
|
482
|
+
l.value = "view-detail", r.value = new Date(k.getFullYear(), k.getMonth()), _();
|
|
483
483
|
}, R = () => {
|
|
484
484
|
l.value = "view-broad", s.value === "day" ? s.value = "month" : s.value === "month" && (s.value = "year");
|
|
485
485
|
}, _ = () => {
|
|
486
486
|
s.value === "year" ? s.value = "month" : s.value === "month" && (s.value = "day");
|
|
487
487
|
};
|
|
488
488
|
return pn(Ut, {
|
|
489
|
-
viewDate:
|
|
489
|
+
viewDate: r,
|
|
490
490
|
minDate: t,
|
|
491
491
|
maxDate: a,
|
|
492
|
-
selectedDate:
|
|
492
|
+
selectedDate: i,
|
|
493
493
|
variant: ln(sn(() => e.variant)),
|
|
494
494
|
showAdjacentMonths: ln(sn(() => e.showAdjacentMonths)),
|
|
495
495
|
allowedDates: e.allowedDates
|
|
496
496
|
}), (k, E) => (A(), w("div", null, [
|
|
497
|
-
m("div",
|
|
498
|
-
m("div",
|
|
497
|
+
m("div", Pr, [
|
|
498
|
+
m("div", Vr, [
|
|
499
499
|
J(K(Pe), {
|
|
500
500
|
onClick: o,
|
|
501
501
|
"aria-label": f.value,
|
|
502
502
|
disabled: h.value,
|
|
503
|
-
class: "button-disabled",
|
|
504
503
|
variant: "ghost",
|
|
505
504
|
icon: "chevron-left"
|
|
506
505
|
}, null, 8, ["aria-label", "disabled"]),
|
|
@@ -518,21 +517,20 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
518
517
|
onClick: c,
|
|
519
518
|
"aria-label": p.value,
|
|
520
519
|
disabled: d.value,
|
|
521
|
-
class: "button-disabled",
|
|
522
520
|
variant: "ghost",
|
|
523
521
|
icon: "chevron-right"
|
|
524
522
|
}, null, 8, ["aria-label", "disabled"])
|
|
525
523
|
]),
|
|
526
|
-
m("div",
|
|
524
|
+
m("div", Yr, [
|
|
527
525
|
J(tn, {
|
|
528
526
|
class: "transition",
|
|
529
527
|
css: !k.noAnimation,
|
|
530
528
|
name: l.value
|
|
531
529
|
}, {
|
|
532
530
|
default: ee(() => [
|
|
533
|
-
s.value === "year" ? (A(), le(
|
|
531
|
+
s.value === "year" ? (A(), le(Rr, {
|
|
534
532
|
key: 0,
|
|
535
|
-
"view-date":
|
|
533
|
+
"view-date": r.value,
|
|
536
534
|
onClicked: b
|
|
537
535
|
}, null, 8, ["view-date"])) : W("", !0)
|
|
538
536
|
]),
|
|
@@ -544,9 +542,9 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
544
542
|
name: l.value
|
|
545
543
|
}, {
|
|
546
544
|
default: ee(() => [
|
|
547
|
-
s.value === "month" ? (A(), le(
|
|
545
|
+
s.value === "month" ? (A(), le(Ir, {
|
|
548
546
|
key: 0,
|
|
549
|
-
"view-date":
|
|
547
|
+
"view-date": r.value,
|
|
550
548
|
onClicked: b
|
|
551
549
|
}, null, 8, ["view-date"])) : W("", !0)
|
|
552
550
|
]),
|
|
@@ -558,13 +556,13 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
558
556
|
name: l.value
|
|
559
557
|
}, {
|
|
560
558
|
default: ee(() => [
|
|
561
|
-
s.value === "day" ? (A(), le(
|
|
559
|
+
s.value === "day" ? (A(), le(kr, {
|
|
562
560
|
key: 0,
|
|
563
561
|
variant: k.variant,
|
|
564
562
|
disabled: k.disabled,
|
|
565
563
|
"show-adjacent-months": k.showAdjacentMonths,
|
|
566
|
-
"selected-date":
|
|
567
|
-
"view-date":
|
|
564
|
+
"selected-date": i.value,
|
|
565
|
+
"view-date": r.value,
|
|
568
566
|
onClicked: y
|
|
569
567
|
}, null, 8, ["variant", "disabled", "show-adjacent-months", "selected-date", "view-date"])) : W("", !0)
|
|
570
568
|
]),
|
|
@@ -574,7 +572,7 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
574
572
|
])
|
|
575
573
|
]));
|
|
576
574
|
}
|
|
577
|
-
}),
|
|
575
|
+
}), Br = /* @__PURE__ */ re(xr, [["__scopeId", "data-v-da0d638b"]]), zr = ["aria-label"], Ur = { class: "m-callout__inner" }, Gr = { class: "m-callout__icon" }, Wr = { class: "m-callout__body" }, Hr = { class: "m-callout__body__inner" }, jr = { class: "m-callout__headline" }, Kr = { class: "m-callout__content" }, qr = /* @__PURE__ */ G({
|
|
578
576
|
__name: "MucCallout",
|
|
579
577
|
props: {
|
|
580
578
|
type: { default: "info" }
|
|
@@ -613,39 +611,39 @@ const si = ["href"], ye = /* @__PURE__ */ G({
|
|
|
613
611
|
return "Information";
|
|
614
612
|
}
|
|
615
613
|
});
|
|
616
|
-
return (
|
|
614
|
+
return (r, s) => (A(), w("div", {
|
|
617
615
|
class: ne(["m-callout", t.value]),
|
|
618
616
|
"aria-label": a.value
|
|
619
617
|
}, [
|
|
620
|
-
m("div",
|
|
621
|
-
m("div",
|
|
622
|
-
j(
|
|
618
|
+
m("div", Ur, [
|
|
619
|
+
m("div", Gr, [
|
|
620
|
+
j(r.$slots, "icon", {}, () => [
|
|
623
621
|
J(K(ye), { icon: n.value }, null, 8, ["icon"])
|
|
624
622
|
], !0)
|
|
625
623
|
]),
|
|
626
|
-
m("div",
|
|
627
|
-
m("div",
|
|
628
|
-
m("div",
|
|
629
|
-
j(
|
|
624
|
+
m("div", Wr, [
|
|
625
|
+
m("div", Hr, [
|
|
626
|
+
m("div", jr, [
|
|
627
|
+
j(r.$slots, "header", {}, void 0, !0)
|
|
630
628
|
]),
|
|
631
|
-
m("div",
|
|
629
|
+
m("div", Kr, [
|
|
632
630
|
m("p", null, [
|
|
633
|
-
j(
|
|
631
|
+
j(r.$slots, "content", { class: "m-callout__content" }, void 0, !0)
|
|
634
632
|
])
|
|
635
633
|
])
|
|
636
634
|
])
|
|
637
635
|
])
|
|
638
636
|
])
|
|
639
|
-
], 10,
|
|
637
|
+
], 10, zr));
|
|
640
638
|
}
|
|
641
|
-
}),
|
|
642
|
-
function
|
|
643
|
-
return A(), w("div",
|
|
639
|
+
}), Xr = /* @__PURE__ */ re(qr, [["__scopeId", "data-v-71a5ca15"]]), Zr = {}, Jr = { class: "muc-divider" };
|
|
640
|
+
function Qr(e, n) {
|
|
641
|
+
return A(), w("div", Jr);
|
|
644
642
|
}
|
|
645
|
-
const bn = /* @__PURE__ */
|
|
643
|
+
const bn = /* @__PURE__ */ re(Zr, [["render", Qr], ["__scopeId", "data-v-a337b11f"]]), ei = { class: "card-content" }, ti = { class: "card-header" }, ni = {
|
|
646
644
|
key: 0,
|
|
647
645
|
class: "card-tagline"
|
|
648
|
-
},
|
|
646
|
+
}, ai = /* @__PURE__ */ G({
|
|
649
647
|
__name: "MucCard",
|
|
650
648
|
props: {
|
|
651
649
|
title: {},
|
|
@@ -654,15 +652,15 @@ const bn = /* @__PURE__ */ ie(Zi, [["render", Qi], ["__scopeId", "data-v-a337b11
|
|
|
654
652
|
emits: ["click"],
|
|
655
653
|
setup(e, { emit: n }) {
|
|
656
654
|
const t = n;
|
|
657
|
-
return (a,
|
|
655
|
+
return (a, r) => (A(), w("div", {
|
|
658
656
|
class: "card",
|
|
659
|
-
onClick:
|
|
657
|
+
onClick: r[0] || (r[0] = (s) => t("click", s))
|
|
660
658
|
}, [
|
|
661
|
-
m("div",
|
|
662
|
-
m("div",
|
|
659
|
+
m("div", ei, [
|
|
660
|
+
m("div", ti, [
|
|
663
661
|
j(a.$slots, "headerPrefix", {}, void 0, !0),
|
|
664
662
|
m("div", null, [
|
|
665
|
-
a.tagline ? (A(), w("div",
|
|
663
|
+
a.tagline ? (A(), w("div", ni, V(a.tagline), 1)) : W("", !0),
|
|
666
664
|
m("div", null, [
|
|
667
665
|
m("h3", null, V(a.title), 1)
|
|
668
666
|
])
|
|
@@ -673,54 +671,54 @@ const bn = /* @__PURE__ */ ie(Zi, [["render", Qi], ["__scopeId", "data-v-a337b11
|
|
|
673
671
|
])
|
|
674
672
|
]));
|
|
675
673
|
}
|
|
676
|
-
}),
|
|
674
|
+
}), ri = /* @__PURE__ */ re(ai, [["__scopeId", "data-v-ec038b2b"]]), ii = { class: "container card-container" }, oi = /* @__PURE__ */ G({
|
|
677
675
|
__name: "MucCardContainer",
|
|
678
676
|
setup(e) {
|
|
679
|
-
return (n, t) => (A(), w("div",
|
|
677
|
+
return (n, t) => (A(), w("div", ii, [
|
|
680
678
|
j(n.$slots, "default", {}, void 0, !0)
|
|
681
679
|
]));
|
|
682
680
|
}
|
|
683
|
-
}),
|
|
681
|
+
}), li = /* @__PURE__ */ re(oi, [["__scopeId", "data-v-6740df8f"]]), si = { class: "m-comment__head" }, ui = {
|
|
684
682
|
key: 0,
|
|
685
683
|
class: "m-comment__initials"
|
|
686
|
-
},
|
|
684
|
+
}, ci = { class: "m-comment__info" }, di = { class: "m-comment__author" }, fi = { key: 0 }, vi = { class: "m-comment__author" }, mi = { class: "m-comment__date" }, hi = ["aria-label"], gi = {
|
|
687
685
|
key: 0,
|
|
688
686
|
class: "m-star-rating__item m-star-rating__item--half"
|
|
689
|
-
},
|
|
687
|
+
}, _i = { class: "m-star-rating__numeric" }, pi = { class: "m-comment__body" }, yi = { class: "m-comment__headline" }, bi = { class: "m-comment__text" }, Ei = "de-DE", Ai = 0.2, ki = 0.8, Ct = 5, va = /* @__PURE__ */ G({
|
|
690
688
|
__name: "MucComment",
|
|
691
689
|
props: {
|
|
692
690
|
rating: {},
|
|
693
691
|
variant: { default: "listing" }
|
|
694
692
|
},
|
|
695
693
|
setup(e) {
|
|
696
|
-
const n = gn(), t = I(() => !!n.date), a = I(() => !!n.initials),
|
|
694
|
+
const n = gn(), t = I(() => !!n.date), a = I(() => !!n.initials), r = I(() => e.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), s = I(() => Math.min(Math.max(e.rating, 0), Ct)), l = I(() => s.value.toLocaleString(Ei.valueOf(), {
|
|
697
695
|
minimumFractionDigits: 1
|
|
698
|
-
})),
|
|
696
|
+
})), i = I(() => {
|
|
699
697
|
const u = +(s.value % 1).toFixed(1);
|
|
700
698
|
let o = Math.min(Math.floor(s.value), Ct), c = Math.floor(Ct - s.value), f = !1;
|
|
701
|
-
return u !== 0 && (u <=
|
|
699
|
+
return u !== 0 && (u <= Ai ? c++ : u >= ki ? o++ : f = !0), {
|
|
702
700
|
fullStars: o,
|
|
703
701
|
emptyStars: c,
|
|
704
702
|
isHalfStar: f
|
|
705
703
|
};
|
|
706
704
|
});
|
|
707
705
|
return (u, o) => (A(), w("div", {
|
|
708
|
-
class: ne(["m-comment",
|
|
706
|
+
class: ne(["m-comment", r.value])
|
|
709
707
|
}, [
|
|
710
|
-
m("div",
|
|
711
|
-
a.value ? (A(), w("div",
|
|
708
|
+
m("div", si, [
|
|
709
|
+
a.value ? (A(), w("div", ui, [
|
|
712
710
|
j(u.$slots, "initials")
|
|
713
711
|
])) : W("", !0),
|
|
714
|
-
m("div",
|
|
715
|
-
m("span",
|
|
712
|
+
m("div", ci, [
|
|
713
|
+
m("span", di, [
|
|
716
714
|
j(u.$slots, "author")
|
|
717
715
|
]),
|
|
718
|
-
t.value ? (A(), w("span",
|
|
719
|
-
m("span",
|
|
716
|
+
t.value ? (A(), w("span", fi, [
|
|
717
|
+
m("span", vi, [
|
|
720
718
|
o[0] || (o[0] = ce(" ")),
|
|
721
719
|
j(u.$slots, "datePrefix")
|
|
722
720
|
]),
|
|
723
|
-
m("span",
|
|
721
|
+
m("span", mi, [
|
|
724
722
|
o[1] || (o[1] = ce(" ")),
|
|
725
723
|
j(u.$slots, "date")
|
|
726
724
|
])
|
|
@@ -730,36 +728,36 @@ const bn = /* @__PURE__ */ ie(Zi, [["render", Qi], ["__scopeId", "data-v-a337b11
|
|
|
730
728
|
role: "img",
|
|
731
729
|
"aria-label": `Bewertung: ${u.rating} von ${Ct} Sternen`
|
|
732
730
|
}, [
|
|
733
|
-
(A(!0), w(pe, null, ke(
|
|
731
|
+
(A(!0), w(pe, null, ke(i.value.fullStars, (c) => (A(), w("div", {
|
|
734
732
|
key: c,
|
|
735
733
|
class: "m-star-rating__item m-star-rating__item--full"
|
|
736
734
|
}, [
|
|
737
735
|
J(K(ye), { icon: "solid-star" })
|
|
738
736
|
]))), 128)),
|
|
739
|
-
|
|
737
|
+
i.value.isHalfStar ? (A(), w("div", gi, [
|
|
740
738
|
J(K(ye), { icon: "half-star" })
|
|
741
739
|
])) : W("", !0),
|
|
742
|
-
(A(!0), w(pe, null, ke(
|
|
740
|
+
(A(!0), w(pe, null, ke(i.value.emptyStars, (c) => (A(), w("div", {
|
|
743
741
|
key: c,
|
|
744
742
|
class: "m-star-rating__item"
|
|
745
743
|
}, [
|
|
746
744
|
J(K(ye), { icon: "solid-star" })
|
|
747
745
|
]))), 128)),
|
|
748
|
-
m("div",
|
|
749
|
-
], 8,
|
|
746
|
+
m("div", _i, V(l.value), 1)
|
|
747
|
+
], 8, hi)
|
|
750
748
|
])
|
|
751
749
|
]),
|
|
752
|
-
m("div",
|
|
753
|
-
m("div",
|
|
750
|
+
m("div", pi, [
|
|
751
|
+
m("div", yi, [
|
|
754
752
|
j(u.$slots, "headline")
|
|
755
753
|
]),
|
|
756
|
-
m("div",
|
|
754
|
+
m("div", bi, [
|
|
757
755
|
j(u.$slots, "text")
|
|
758
756
|
])
|
|
759
757
|
])
|
|
760
758
|
], 2));
|
|
761
759
|
}
|
|
762
|
-
}),
|
|
760
|
+
}), Mi = " ", wi = /* @__PURE__ */ G({
|
|
763
761
|
__name: "MucCommentText",
|
|
764
762
|
props: {
|
|
765
763
|
datePrefix: { default: "am" },
|
|
@@ -772,11 +770,11 @@ const bn = /* @__PURE__ */ ie(Zi, [["render", Qi], ["__scopeId", "data-v-a337b11
|
|
|
772
770
|
variant: { default: "listing" }
|
|
773
771
|
},
|
|
774
772
|
setup(e) {
|
|
775
|
-
const n = I(() => ((e.initials ?? e.author.split(
|
|
773
|
+
const n = I(() => ((e.initials ?? e.author.split(Mi).map((t) => t.charAt(0)).join("")).match(/^.|.$/g) ?? [""]).join(""));
|
|
776
774
|
return (t, a) => (A(), le(K(va), {
|
|
777
775
|
rating: t.rating,
|
|
778
776
|
variant: t.variant
|
|
779
|
-
},
|
|
777
|
+
}, rr({
|
|
780
778
|
datePrefix: ee(() => [
|
|
781
779
|
ce(V(t.datePrefix), 1)
|
|
782
780
|
]),
|
|
@@ -807,17 +805,17 @@ const bn = /* @__PURE__ */ ie(Zi, [["render", Qi], ["__scopeId", "data-v-a337b11
|
|
|
807
805
|
} : void 0
|
|
808
806
|
]), 1032, ["rating", "variant"]));
|
|
809
807
|
}
|
|
810
|
-
}),
|
|
808
|
+
}), Si = { class: "m-error-message form-error-message" }, Di = /* @__PURE__ */ G({
|
|
811
809
|
__name: "FormErrorMessage",
|
|
812
810
|
setup(e) {
|
|
813
|
-
return (n, t) => (A(), w("span",
|
|
811
|
+
return (n, t) => (A(), w("span", Si, [
|
|
814
812
|
J(K(ye), { icon: "warning--filled" }),
|
|
815
813
|
m("span", null, [
|
|
816
814
|
j(n.$slots, "default", {}, void 0, !0)
|
|
817
815
|
])
|
|
818
816
|
]));
|
|
819
817
|
}
|
|
820
|
-
}), dt = /* @__PURE__ */
|
|
818
|
+
}), dt = /* @__PURE__ */ re(Di, [["__scopeId", "data-v-795c5724"]]), Ti = {}, $i = {
|
|
821
819
|
"aria-hidden": "true",
|
|
822
820
|
width: "108",
|
|
823
821
|
height: "56",
|
|
@@ -825,12 +823,12 @@ const bn = /* @__PURE__ */ ie(Zi, [["render", Qi], ["__scopeId", "data-v-a337b11
|
|
|
825
823
|
fill: "none",
|
|
826
824
|
xmlns: "http://www.w3.org/2000/svg"
|
|
827
825
|
};
|
|
828
|
-
function
|
|
829
|
-
return A(), w("svg", $
|
|
826
|
+
function Ii(e, n) {
|
|
827
|
+
return A(), w("svg", $i, n[0] || (n[0] = [
|
|
830
828
|
la('<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)
|
|
831
829
|
]));
|
|
832
830
|
}
|
|
833
|
-
const
|
|
831
|
+
const Ci = /* @__PURE__ */ re(Ti, [["render", Ii]]), Li = { class: "drop-zone-additional-information" }, Oi = /* @__PURE__ */ G({
|
|
834
832
|
__name: "MucFileDropzone",
|
|
835
833
|
props: {
|
|
836
834
|
buttonText: { default: "Upload file" },
|
|
@@ -845,7 +843,7 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
845
843
|
},
|
|
846
844
|
emits: ["files", "warning"],
|
|
847
845
|
setup(e, { expose: n, emit: t }) {
|
|
848
|
-
const a = t,
|
|
846
|
+
const a = t, r = se(!0), s = se(!0), l = se(!0), i = se(!1), u = document.createElement("input");
|
|
849
847
|
zt(() => {
|
|
850
848
|
u.type = "file", u.multiple = e.multiple, u.onchange = (g) => {
|
|
851
849
|
const y = g.target;
|
|
@@ -869,17 +867,17 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
869
867
|
return;
|
|
870
868
|
}
|
|
871
869
|
}
|
|
872
|
-
|
|
870
|
+
i.value = !0;
|
|
873
871
|
}
|
|
874
872
|
}, f = () => {
|
|
875
|
-
|
|
873
|
+
i.value = !1, l.value = !0;
|
|
876
874
|
}, p = (g) => {
|
|
877
875
|
var y;
|
|
878
876
|
if (!e.disabled)
|
|
879
877
|
if (!l.value)
|
|
880
878
|
l.value = !0;
|
|
881
879
|
else {
|
|
882
|
-
|
|
880
|
+
i.value = !1;
|
|
883
881
|
const b = g.dataTransfer;
|
|
884
882
|
if (((y = b == null ? void 0 : b.files) == null ? void 0 : y.length) > 0) {
|
|
885
883
|
const R = Array.from(b.files);
|
|
@@ -887,19 +885,19 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
887
885
|
}
|
|
888
886
|
}
|
|
889
887
|
}, h = (g) => {
|
|
890
|
-
|
|
888
|
+
r.value = d(g), s.value = v(g), !r.value || !s.value ? a("warning") : a("files", g);
|
|
891
889
|
}, d = (g) => e.maxFileSize ? !g.some((y) => y.size > e.maxFileSize * 1024 * 1024) : !0, v = (g) => e.maxTotalFileSize ? g.reduce((y, b) => y + (b.size || 0), 0) <= e.maxTotalFileSize * 1024 * 1024 : !0;
|
|
892
890
|
return n({
|
|
893
891
|
/**
|
|
894
892
|
* Exposed function to clear all warnings
|
|
895
893
|
*/
|
|
896
894
|
clearWarnings: () => {
|
|
897
|
-
|
|
895
|
+
r.value = !0, s.value = !0, l.value = !0;
|
|
898
896
|
}
|
|
899
897
|
}), (g, y) => (A(), w(pe, null, [
|
|
900
898
|
m("div", {
|
|
901
899
|
class: ne(["drop-zone", {
|
|
902
|
-
"is-dragover":
|
|
900
|
+
"is-dragover": i.value,
|
|
903
901
|
"is-not-disabled": !g.disabled
|
|
904
902
|
}]),
|
|
905
903
|
onDragover: ut(c, ["prevent"]),
|
|
@@ -907,7 +905,7 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
907
905
|
onDrop: ut(p, ["prevent"]),
|
|
908
906
|
onClick: o
|
|
909
907
|
}, [
|
|
910
|
-
J(
|
|
908
|
+
J(Ci),
|
|
911
909
|
J(K(Pe), {
|
|
912
910
|
variant: "secondary",
|
|
913
911
|
icon: "upload",
|
|
@@ -918,9 +916,9 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
918
916
|
]),
|
|
919
917
|
_: 1
|
|
920
918
|
}, 8, ["disabled"]),
|
|
921
|
-
m("span",
|
|
919
|
+
m("span", Li, V(g.additionalInformation), 1)
|
|
922
920
|
], 34),
|
|
923
|
-
!
|
|
921
|
+
!r.value && g.maxFileSizeWarning ? (A(), le(dt, { key: 0 }, {
|
|
924
922
|
default: ee(() => [
|
|
925
923
|
ce(V(g.maxFileSizeWarning), 1)
|
|
926
924
|
]),
|
|
@@ -940,7 +938,7 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
940
938
|
}))
|
|
941
939
|
], 64));
|
|
942
940
|
}
|
|
943
|
-
}),
|
|
941
|
+
}), Fi = /* @__PURE__ */ re(Oi, [["__scopeId", "data-v-a2e8c385"]]), Ni = ["id", "checked"], Ri = ["for"], Pi = /* @__PURE__ */ G({
|
|
944
942
|
__name: "MucCheckbox",
|
|
945
943
|
props: /* @__PURE__ */ we({
|
|
946
944
|
id: {},
|
|
@@ -951,12 +949,12 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
951
949
|
}),
|
|
952
950
|
emits: /* @__PURE__ */ we(["click"], ["update:modelValue"]),
|
|
953
951
|
setup(e, { emit: n }) {
|
|
954
|
-
const t = Ke(e, "modelValue"), a = n,
|
|
952
|
+
const t = Ke(e, "modelValue"), a = n, r = () => {
|
|
955
953
|
t.value = !t.value, a("click");
|
|
956
954
|
};
|
|
957
955
|
return (s, l) => (A(), w("div", {
|
|
958
956
|
class: "m-checkboxes__item",
|
|
959
|
-
onClick:
|
|
957
|
+
onClick: r
|
|
960
958
|
}, [
|
|
961
959
|
m("input", {
|
|
962
960
|
id: "checkbox-" + s.id,
|
|
@@ -964,30 +962,30 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
964
962
|
name: "checkbox",
|
|
965
963
|
type: "checkbox",
|
|
966
964
|
checked: t.value,
|
|
967
|
-
onClick: ut(
|
|
968
|
-
}, null, 8,
|
|
965
|
+
onClick: ut(r, ["stop"])
|
|
966
|
+
}, null, 8, Ni),
|
|
969
967
|
m("label", {
|
|
970
968
|
class: "m-label m-checkboxes__label",
|
|
971
969
|
for: "checkbox-" + s.id
|
|
972
|
-
}, V(s.label), 9,
|
|
970
|
+
}, V(s.label), 9, Ri)
|
|
973
971
|
]));
|
|
974
972
|
}
|
|
975
|
-
}),
|
|
973
|
+
}), Vi = { class: "m-form-group" }, Yi = { class: "m-checkbox-group" }, xi = { class: "m-checkbox-group__legend" }, Bi = { class: "m-checkbox-group__heading" }, zi = { class: "m-checkboxes m-checkboxes--collapse" }, Ui = {
|
|
976
974
|
"aria-hidden": "true",
|
|
977
975
|
class: "icon icon--after"
|
|
978
|
-
},
|
|
976
|
+
}, Gi = ["href"], Wi = /* @__PURE__ */ G({
|
|
979
977
|
__name: "MucCheckboxGroup",
|
|
980
978
|
props: {
|
|
981
979
|
heading: {}
|
|
982
980
|
},
|
|
983
981
|
setup(e) {
|
|
984
|
-
const n = se(!0), t = I(() => n.value ? "collapse" : ""), a = I(() => n.value ? "down" : "up"),
|
|
985
|
-
return (s, l) => (A(), w("div",
|
|
986
|
-
m("fieldset",
|
|
987
|
-
m("legend",
|
|
988
|
-
m("h3",
|
|
982
|
+
const n = se(!0), t = I(() => n.value ? "collapse" : ""), a = I(() => n.value ? "down" : "up"), r = () => n.value = !n.value;
|
|
983
|
+
return (s, l) => (A(), w("div", Vi, [
|
|
984
|
+
m("fieldset", Yi, [
|
|
985
|
+
m("legend", xi, [
|
|
986
|
+
m("h3", Bi, V(s.heading), 1)
|
|
989
987
|
]),
|
|
990
|
-
m("div",
|
|
988
|
+
m("div", zi, [
|
|
991
989
|
j(s.$slots, "checkboxes"),
|
|
992
990
|
s.$slots.collapsableCheckboxes ? (A(), w("div", {
|
|
993
991
|
key: 0,
|
|
@@ -998,15 +996,15 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
998
996
|
s.$slots.collapsableCheckboxes ? (A(), le(K(Pe), {
|
|
999
997
|
key: 1,
|
|
1000
998
|
variant: "ghost",
|
|
1001
|
-
onClick:
|
|
999
|
+
onClick: r,
|
|
1002
1000
|
"aria-expanded": !n.value
|
|
1003
1001
|
}, {
|
|
1004
1002
|
default: ee(() => [
|
|
1005
1003
|
l[0] || (l[0] = m("span", null, "Mehr ", -1)),
|
|
1006
|
-
(A(), w("svg",
|
|
1004
|
+
(A(), w("svg", Ui, [
|
|
1007
1005
|
m("use", {
|
|
1008
1006
|
href: "#icon-chevron-" + a.value
|
|
1009
|
-
}, null, 8,
|
|
1007
|
+
}, null, 8, Gi)
|
|
1010
1008
|
]))
|
|
1011
1009
|
]),
|
|
1012
1010
|
_: 1
|
|
@@ -1015,7 +1013,7 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
1015
1013
|
])
|
|
1016
1014
|
]));
|
|
1017
1015
|
}
|
|
1018
|
-
}),
|
|
1016
|
+
}), Hi = ["href", "target"], ma = /* @__PURE__ */ G({
|
|
1019
1017
|
__name: "MucLink",
|
|
1020
1018
|
props: {
|
|
1021
1019
|
label: {},
|
|
@@ -1041,12 +1039,12 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
1041
1039
|
class: "icon icon--after"
|
|
1042
1040
|
}, null, 8, ["icon"])) : W("", !0)
|
|
1043
1041
|
])
|
|
1044
|
-
], 10,
|
|
1042
|
+
], 10, Hi));
|
|
1045
1043
|
}
|
|
1046
|
-
}),
|
|
1044
|
+
}), ji = { class: "grid" }, Ki = { class: "grid-item" }, qi = { class: "content-centered" }, Xi = { tabindex: "0" }, Zi = {
|
|
1047
1045
|
class: "content-centered",
|
|
1048
1046
|
style: { color: "var(--color-brand-main-blue)" }
|
|
1049
|
-
},
|
|
1047
|
+
}, Ji = { class: "visually-hidden" }, Qi = { class: "content-centered" }, eo = { class: "grid-item content-centered-justify-left" }, to = { key: 0 }, no = { key: 1 }, ao = /* @__PURE__ */ G({
|
|
1050
1048
|
__name: "MucCounter",
|
|
1051
1049
|
props: /* @__PURE__ */ we({
|
|
1052
1050
|
label: {},
|
|
@@ -1072,14 +1070,14 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
1072
1070
|
e.max && n.value > e.max && (n.value = e.max);
|
|
1073
1071
|
}
|
|
1074
1072
|
);
|
|
1075
|
-
const t = () => n.value++, a = () => n.value--,
|
|
1073
|
+
const t = () => n.value++, a = () => n.value--, r = I(
|
|
1076
1074
|
() => !!e.max && !(n.value < e.max) || e.disabled
|
|
1077
1075
|
), s = I(
|
|
1078
1076
|
() => n.value == 0 || !!e.min && !(n.value > e.min) || e.disabled
|
|
1079
1077
|
);
|
|
1080
|
-
return (l,
|
|
1081
|
-
m("div",
|
|
1082
|
-
m("div",
|
|
1078
|
+
return (l, i) => (A(), w("div", ji, [
|
|
1079
|
+
m("div", Ki, [
|
|
1080
|
+
m("div", qi, [
|
|
1083
1081
|
J(K(Pe), {
|
|
1084
1082
|
onClick: a,
|
|
1085
1083
|
variant: "secondary",
|
|
@@ -1092,17 +1090,17 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
1092
1090
|
_: 1
|
|
1093
1091
|
}, 8, ["disabled", "aria-label"])
|
|
1094
1092
|
]),
|
|
1095
|
-
m("p",
|
|
1096
|
-
m("strong",
|
|
1097
|
-
m("span",
|
|
1093
|
+
m("p", Xi, [
|
|
1094
|
+
m("strong", Zi, [
|
|
1095
|
+
m("span", Ji, " Aktuell ausgewählte Anzahl für " + V(l.label) + " ist", 1),
|
|
1098
1096
|
ce(" " + V(n.value), 1)
|
|
1099
1097
|
])
|
|
1100
1098
|
]),
|
|
1101
|
-
m("div",
|
|
1099
|
+
m("div", Qi, [
|
|
1102
1100
|
J(K(Pe), {
|
|
1103
1101
|
onClick: t,
|
|
1104
1102
|
variant: "secondary",
|
|
1105
|
-
disabled:
|
|
1103
|
+
disabled: r.value,
|
|
1106
1104
|
"aria-label": "Anzahl " + l.label + " erhöhen auf " + (n.value + 1)
|
|
1107
1105
|
}, {
|
|
1108
1106
|
default: ee(() => [
|
|
@@ -1127,7 +1125,7 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
1127
1125
|
])
|
|
1128
1126
|
]));
|
|
1129
1127
|
}
|
|
1130
|
-
}),
|
|
1128
|
+
}), ro = /* @__PURE__ */ re(ao, [["__scopeId", "data-v-d1abf5a8"]]), io = {
|
|
1131
1129
|
class: "m-error-list",
|
|
1132
1130
|
role: "alert",
|
|
1133
1131
|
tabindex: "-1"
|
|
@@ -1141,12 +1139,12 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
1141
1139
|
const n = I(
|
|
1142
1140
|
() => typeof e.errors == "string" ? [e.errors] : e.errors
|
|
1143
1141
|
);
|
|
1144
|
-
return (t, a) => (A(), w("div",
|
|
1142
|
+
return (t, a) => (A(), w("div", io, [
|
|
1145
1143
|
m("h2", oo, V(t.title), 1),
|
|
1146
1144
|
m("div", lo, [
|
|
1147
1145
|
m("ul", so, [
|
|
1148
|
-
(A(!0), w(pe, null, ke(n.value, (
|
|
1149
|
-
m("a", null, V(
|
|
1146
|
+
(A(!0), w(pe, null, ke(n.value, (r, s) => (A(), w("li", { key: s }, [
|
|
1147
|
+
m("a", null, V(r), 1)
|
|
1150
1148
|
]))), 128))
|
|
1151
1149
|
])
|
|
1152
1150
|
])
|
|
@@ -1179,13 +1177,13 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
1179
1177
|
}),
|
|
1180
1178
|
emits: /* @__PURE__ */ we(["suffixClick"], ["update:modelValue"]),
|
|
1181
1179
|
setup(e, { emit: n }) {
|
|
1182
|
-
const t = Ke(e, "modelValue"), a = gn(),
|
|
1180
|
+
const t = Ke(e, "modelValue"), a = gn(), r = n, s = I(() => e.type === "search"), l = I(() => {
|
|
1183
1181
|
if (t.value === "") return [];
|
|
1184
1182
|
const o = t.value.toLowerCase();
|
|
1185
1183
|
return e.dataList.filter(
|
|
1186
1184
|
(c) => c.toLowerCase().startsWith(o) && c.toLowerCase() !== o
|
|
1187
1185
|
);
|
|
1188
|
-
}),
|
|
1186
|
+
}), i = (o) => t.value = o, u = () => r("suffixClick");
|
|
1189
1187
|
return (o, c) => (A(), w("div", {
|
|
1190
1188
|
class: ne(["m-form-group", { "has-error": o.errorMsg }])
|
|
1191
1189
|
}, [
|
|
@@ -1214,13 +1212,13 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
1214
1212
|
placeholder: o.placeholder,
|
|
1215
1213
|
required: o.required
|
|
1216
1214
|
}, null, 8, go), [
|
|
1217
|
-
[
|
|
1215
|
+
[ir, t.value]
|
|
1218
1216
|
]),
|
|
1219
1217
|
s.value && l.value.length !== 0 ? (A(), w("ul", _o, [
|
|
1220
1218
|
(A(!0), w(pe, null, ke(l.value, (f) => (A(), w("li", {
|
|
1221
1219
|
class: "autocomplete-result",
|
|
1222
1220
|
key: f,
|
|
1223
|
-
onClick: (p) =>
|
|
1221
|
+
onClick: (p) => i(f)
|
|
1224
1222
|
}, V(f), 9, po))), 128))
|
|
1225
1223
|
])) : W("", !0),
|
|
1226
1224
|
o.suffixIcon ? (A(), w("button", {
|
|
@@ -1263,15 +1261,15 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
1263
1261
|
disabled: { type: Boolean, default: !1 }
|
|
1264
1262
|
},
|
|
1265
1263
|
setup(e) {
|
|
1266
|
-
const n = At(ha), t = () => n == null ? void 0 : n.set(e.value), a = I(() => (n == null ? void 0 : n.modelValue.value) === e.value),
|
|
1267
|
-
return (l,
|
|
1264
|
+
const n = At(ha), t = () => n == null ? void 0 : n.set(e.value), a = I(() => (n == null ? void 0 : n.modelValue.value) === e.value), r = I(() => e.disabled || (n == null ? void 0 : n.disabled.value)), s = I(() => (n == null ? void 0 : n.disabled) ?? !1);
|
|
1265
|
+
return (l, i) => s.value ? (A(), w("div", Ao, [
|
|
1268
1266
|
m("input", {
|
|
1269
1267
|
id: "radio-" + l.id,
|
|
1270
1268
|
class: "m-radios__input",
|
|
1271
1269
|
type: "radio",
|
|
1272
1270
|
"aria-describedby": l.hint ? "radio-hint-" + l.id : void 0,
|
|
1273
1271
|
checked: a.value,
|
|
1274
|
-
disabled:
|
|
1272
|
+
disabled: r.value,
|
|
1275
1273
|
onClick: ut(t, ["stop"])
|
|
1276
1274
|
}, null, 8, ko),
|
|
1277
1275
|
m("label", {
|
|
@@ -1300,18 +1298,18 @@ const Cr = /* @__PURE__ */ ie(Tr, [["render", Ir]]), Lr = { class: "drop-zone-ad
|
|
|
1300
1298
|
setup(e, { emit: n }) {
|
|
1301
1299
|
const t = Ke(e, "modelValue"), a = n;
|
|
1302
1300
|
return pn(ha, {
|
|
1303
|
-
set: (
|
|
1304
|
-
a("change",
|
|
1301
|
+
set: (r) => {
|
|
1302
|
+
a("change", r), t.value = r;
|
|
1305
1303
|
},
|
|
1306
1304
|
modelValue: t,
|
|
1307
1305
|
disabled: ln(sn(() => e.disabled))
|
|
1308
|
-
}), (
|
|
1306
|
+
}), (r, s) => (A(), w("div", Do, [
|
|
1309
1307
|
m("fieldset", To, [
|
|
1310
1308
|
m("legend", $o, [
|
|
1311
|
-
m("h3", Io, V(
|
|
1309
|
+
m("h3", Io, V(r.heading), 1)
|
|
1312
1310
|
]),
|
|
1313
1311
|
m("div", Co, [
|
|
1314
|
-
j(
|
|
1312
|
+
j(r.$slots, "default")
|
|
1315
1313
|
])
|
|
1316
1314
|
])
|
|
1317
1315
|
]));
|
|
@@ -1364,16 +1362,16 @@ const Fo = /* @__PURE__ */ G({
|
|
|
1364
1362
|
const n = ca("selectComponent"), t = Ke(
|
|
1365
1363
|
e,
|
|
1366
1364
|
"modelValue"
|
|
1367
|
-
), a = se(!1),
|
|
1368
|
-
a.value = !a.value, l.value =
|
|
1365
|
+
), a = se(!1), r = se(), s = se(!1), l = se(), i = () => {
|
|
1366
|
+
a.value = !a.value, l.value = r.value;
|
|
1369
1367
|
}, u = () => {
|
|
1370
|
-
a.value = !0, l.value =
|
|
1368
|
+
a.value = !0, l.value = r.value, h.value = "";
|
|
1371
1369
|
};
|
|
1372
1370
|
Oo(n, () => {
|
|
1373
1371
|
a.value = !1, h.value = p.value;
|
|
1374
1372
|
});
|
|
1375
1373
|
const o = (_) => {
|
|
1376
|
-
|
|
1374
|
+
r.value = _, e.multiple ? f(_) : c(_), e.multiple || (a.value = !1);
|
|
1377
1375
|
}, c = (_) => {
|
|
1378
1376
|
Array.isArray(t.value) && (t.value = t.value.join(" ")), typeof t.value != "string" && typeof _ != "string" ? t.value = t.value[e.itemTitle] === _[e.itemTitle] ? "" : _ : t.value = t.value === _ ? "" : _;
|
|
1379
1377
|
}, f = (_) => {
|
|
@@ -1434,7 +1432,7 @@ const Fo = /* @__PURE__ */ G({
|
|
|
1434
1432
|
]),
|
|
1435
1433
|
m("span", {
|
|
1436
1434
|
class: "m-input__trigger",
|
|
1437
|
-
onClick:
|
|
1435
|
+
onClick: i
|
|
1438
1436
|
}, k[1] || (k[1] = [
|
|
1439
1437
|
m("svg", {
|
|
1440
1438
|
"aria-hidden": "true",
|
|
@@ -1464,7 +1462,7 @@ const Fo = /* @__PURE__ */ G({
|
|
|
1464
1462
|
], 2)
|
|
1465
1463
|
], 512));
|
|
1466
1464
|
}
|
|
1467
|
-
}), Bo = /* @__PURE__ */
|
|
1465
|
+
}), Bo = /* @__PURE__ */ re(xo, [["__scopeId", "data-v-5bab1c66"]]), zo = ["for"], Uo = ["id"], Go = { class: "m-input-wrapper" }, Wo = ["id", "aria-describedby", "rows", "placeholder"], Ho = /* @__PURE__ */ G({
|
|
1468
1466
|
__name: "MucTextArea",
|
|
1469
1467
|
props: /* @__PURE__ */ we({
|
|
1470
1468
|
id: {},
|
|
@@ -1501,7 +1499,7 @@ const Fo = /* @__PURE__ */ G({
|
|
|
1501
1499
|
"aria-describedby": t.hint ? "textarea-hint-" + t.id : void 0,
|
|
1502
1500
|
rows: t.rows,
|
|
1503
1501
|
placeholder: t.placeholder,
|
|
1504
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
1502
|
+
"onUpdate:modelValue": a[0] || (a[0] = (r) => n.value = r)
|
|
1505
1503
|
}, null, 8, Wo), [
|
|
1506
1504
|
[da, n.value]
|
|
1507
1505
|
])
|
|
@@ -1550,14 +1548,14 @@ const Fo = /* @__PURE__ */ G({
|
|
|
1550
1548
|
])
|
|
1551
1549
|
]));
|
|
1552
1550
|
}
|
|
1553
|
-
}), tl = /* @__PURE__ */
|
|
1551
|
+
}), tl = /* @__PURE__ */ re(el, [["__scopeId", "data-v-d2f80b77"]]), nl = ["width", "height"], al = {
|
|
1554
1552
|
x: "100",
|
|
1555
1553
|
y: "108",
|
|
1556
1554
|
"text-anchor": "middle",
|
|
1557
1555
|
fill: "#3a5368",
|
|
1558
1556
|
"font-size": "24",
|
|
1559
1557
|
"font-weight": "bold"
|
|
1560
|
-
},
|
|
1558
|
+
}, rl = /* @__PURE__ */ G({
|
|
1561
1559
|
__name: "MucPercentageSpinner",
|
|
1562
1560
|
props: {
|
|
1563
1561
|
size: { default: "300" },
|
|
@@ -1578,14 +1576,14 @@ const Fo = /* @__PURE__ */ G({
|
|
|
1578
1576
|
], 8, nl));
|
|
1579
1577
|
}
|
|
1580
1578
|
});
|
|
1581
|
-
function
|
|
1579
|
+
function il(e, n) {
|
|
1582
1580
|
for (var t = 0; t < n.length; t++) {
|
|
1583
1581
|
var a = n[t];
|
|
1584
1582
|
a.enumerable = a.enumerable || !1, a.configurable = !0, "value" in a && (a.writable = !0), Object.defineProperty(e, a.key, a);
|
|
1585
1583
|
}
|
|
1586
1584
|
}
|
|
1587
1585
|
function ol(e, n, t) {
|
|
1588
|
-
return
|
|
1586
|
+
return il(e.prototype, n), Object.defineProperty(e, "prototype", { writable: !1 }), e;
|
|
1589
1587
|
}
|
|
1590
1588
|
/*!
|
|
1591
1589
|
* Splide.js
|
|
@@ -1593,11 +1591,11 @@ function ol(e, n, t) {
|
|
|
1593
1591
|
* License : MIT
|
|
1594
1592
|
* Copyright: 2022 Naotoshi Fujita
|
|
1595
1593
|
*/
|
|
1596
|
-
var Gn = "(prefers-reduced-motion: reduce)", Je = 1, ll = 2, tt = 3,
|
|
1594
|
+
var Gn = "(prefers-reduced-motion: reduce)", Je = 1, ll = 2, tt = 3, rt = 4, kt = 5, Ot = 6, Vt = 7, sl = {
|
|
1597
1595
|
CREATED: Je,
|
|
1598
1596
|
MOUNTED: ll,
|
|
1599
1597
|
IDLE: tt,
|
|
1600
|
-
MOVING:
|
|
1598
|
+
MOVING: rt,
|
|
1601
1599
|
SCROLLING: kt,
|
|
1602
1600
|
DRAGGING: Ot,
|
|
1603
1601
|
DESTROYED: Vt
|
|
@@ -1707,8 +1705,8 @@ function De(e, n) {
|
|
|
1707
1705
|
});
|
|
1708
1706
|
}
|
|
1709
1707
|
function B(e, n, t) {
|
|
1710
|
-
ht(n) ? We(n, function(a,
|
|
1711
|
-
B(e,
|
|
1708
|
+
ht(n) ? We(n, function(a, r) {
|
|
1709
|
+
B(e, r, a);
|
|
1712
1710
|
}) : be(e, function(a) {
|
|
1713
1711
|
An(t) || t === "" ? De(a, n) : a.setAttribute(n, String(t));
|
|
1714
1712
|
});
|
|
@@ -1775,12 +1773,12 @@ function ka(e, n, t) {
|
|
|
1775
1773
|
return he(e - n) < t;
|
|
1776
1774
|
}
|
|
1777
1775
|
function Nt(e, n, t, a) {
|
|
1778
|
-
var
|
|
1779
|
-
return a ?
|
|
1776
|
+
var r = Ye(n, t), s = Yt(n, t);
|
|
1777
|
+
return a ? r < e && e < s : r <= e && e <= s;
|
|
1780
1778
|
}
|
|
1781
1779
|
function Xe(e, n, t) {
|
|
1782
|
-
var a = Ye(n, t),
|
|
1783
|
-
return Ye(Yt(a, e),
|
|
1780
|
+
var a = Ye(n, t), r = Yt(n, t);
|
|
1781
|
+
return Ye(Yt(a, e), r);
|
|
1784
1782
|
}
|
|
1785
1783
|
function fn(e) {
|
|
1786
1784
|
return +(e > 0) - +(e < 0);
|
|
@@ -1799,29 +1797,29 @@ function ul(e) {
|
|
|
1799
1797
|
}
|
|
1800
1798
|
function Ma() {
|
|
1801
1799
|
var e = [];
|
|
1802
|
-
function n(l,
|
|
1803
|
-
|
|
1800
|
+
function n(l, i, u, o) {
|
|
1801
|
+
r(l, i, function(c, f, p) {
|
|
1804
1802
|
var h = "addEventListener" in c, d = h ? c.removeEventListener.bind(c, f, u, o) : c.removeListener.bind(c, u);
|
|
1805
1803
|
h ? c.addEventListener(f, u, o) : c.addListener(u), e.push([c, f, p, u, d]);
|
|
1806
1804
|
});
|
|
1807
1805
|
}
|
|
1808
|
-
function t(l,
|
|
1809
|
-
|
|
1806
|
+
function t(l, i, u) {
|
|
1807
|
+
r(l, i, function(o, c, f) {
|
|
1810
1808
|
e = e.filter(function(p) {
|
|
1811
1809
|
return p[0] === o && p[1] === c && p[2] === f && (!u || p[3] === u) ? (p[4](), !1) : !0;
|
|
1812
1810
|
});
|
|
1813
1811
|
});
|
|
1814
1812
|
}
|
|
1815
|
-
function a(l,
|
|
1813
|
+
function a(l, i, u) {
|
|
1816
1814
|
var o, c = !0;
|
|
1817
|
-
return typeof CustomEvent == "function" ? o = new CustomEvent(
|
|
1815
|
+
return typeof CustomEvent == "function" ? o = new CustomEvent(i, {
|
|
1818
1816
|
bubbles: c,
|
|
1819
1817
|
detail: u
|
|
1820
|
-
}) : (o = document.createEvent("CustomEvent"), o.initCustomEvent(
|
|
1818
|
+
}) : (o = document.createEvent("CustomEvent"), o.initCustomEvent(i, c, !1, u)), l.dispatchEvent(o), o;
|
|
1821
1819
|
}
|
|
1822
|
-
function
|
|
1820
|
+
function r(l, i, u) {
|
|
1823
1821
|
be(l, function(o) {
|
|
1824
|
-
o && be(
|
|
1822
|
+
o && be(i, function(c) {
|
|
1825
1823
|
c.split(" ").forEach(function(f) {
|
|
1826
1824
|
var p = f.split(".");
|
|
1827
1825
|
u(o, p[0], p[1]);
|
|
@@ -1841,44 +1839,44 @@ function Ma() {
|
|
|
1841
1839
|
destroy: s
|
|
1842
1840
|
};
|
|
1843
1841
|
}
|
|
1844
|
-
var Be = "mounted", qn = "ready", Fe = "move",
|
|
1842
|
+
var Be = "mounted", qn = "ready", Fe = "move", it = "moved", Tn = "click", wa = "active", Sa = "inactive", Da = "visible", Ta = "hidden", oe = "refresh", ve = "updated", nt = "resize", Wt = "resized", $a = "drag", Ia = "dragging", Ca = "dragged", Ht = "scroll", qe = "scrolled", cl = "overflow", $n = "destroy", La = "arrows:mounted", Oa = "arrows:updated", Fa = "pagination:mounted", Na = "pagination:updated", In = "navigation:mounted", Cn = "autoplay:play", Ra = "autoplay:playing", Ln = "autoplay:pause", On = "lazyload:loaded", Pa = "sk", Va = "sh", Bt = "ei";
|
|
1845
1843
|
function te(e) {
|
|
1846
1844
|
var n = e ? e.event.bus : document.createDocumentFragment(), t = Ma();
|
|
1847
1845
|
function a(s, l) {
|
|
1848
|
-
t.bind(n, wt(s).join(" "), function(
|
|
1849
|
-
l.apply(l, En(
|
|
1846
|
+
t.bind(n, wt(s).join(" "), function(i) {
|
|
1847
|
+
l.apply(l, En(i.detail) ? i.detail : []);
|
|
1850
1848
|
});
|
|
1851
1849
|
}
|
|
1852
|
-
function
|
|
1850
|
+
function r(s) {
|
|
1853
1851
|
t.dispatch(n, s, xe(arguments, 1));
|
|
1854
1852
|
}
|
|
1855
1853
|
return e && e.event.on($n, t.destroy), pt(t, {
|
|
1856
1854
|
bus: n,
|
|
1857
1855
|
on: a,
|
|
1858
1856
|
off: X(t.unbind, n),
|
|
1859
|
-
emit:
|
|
1857
|
+
emit: r
|
|
1860
1858
|
});
|
|
1861
1859
|
}
|
|
1862
1860
|
function jt(e, n, t, a) {
|
|
1863
|
-
var
|
|
1861
|
+
var r = Date.now, s, l = 0, i, u = !0, o = 0;
|
|
1864
1862
|
function c() {
|
|
1865
1863
|
if (!u) {
|
|
1866
|
-
if (l = e ? Ye((
|
|
1864
|
+
if (l = e ? Ye((r() - s) / e, 1) : 1, t && t(l), l >= 1 && (n(), s = r(), a && ++o >= a))
|
|
1867
1865
|
return p();
|
|
1868
|
-
|
|
1866
|
+
i = Wn(c);
|
|
1869
1867
|
}
|
|
1870
1868
|
}
|
|
1871
1869
|
function f(g) {
|
|
1872
|
-
g || d(), s =
|
|
1870
|
+
g || d(), s = r() - (g ? l * e : 0), u = !1, i = Wn(c);
|
|
1873
1871
|
}
|
|
1874
1872
|
function p() {
|
|
1875
1873
|
u = !0;
|
|
1876
1874
|
}
|
|
1877
1875
|
function h() {
|
|
1878
|
-
s =
|
|
1876
|
+
s = r(), l = 0, t && t(l);
|
|
1879
1877
|
}
|
|
1880
1878
|
function d() {
|
|
1881
|
-
|
|
1879
|
+
i && cancelAnimationFrame(i), l = 0, i = 0, u = !0;
|
|
1882
1880
|
}
|
|
1883
1881
|
function v(g) {
|
|
1884
1882
|
e = g;
|
|
@@ -1897,11 +1895,11 @@ function jt(e, n, t, a) {
|
|
|
1897
1895
|
}
|
|
1898
1896
|
function dl(e) {
|
|
1899
1897
|
var n = e;
|
|
1900
|
-
function t(
|
|
1901
|
-
n =
|
|
1898
|
+
function t(r) {
|
|
1899
|
+
n = r;
|
|
1902
1900
|
}
|
|
1903
|
-
function a(
|
|
1904
|
-
return kn(wt(
|
|
1901
|
+
function a(r) {
|
|
1902
|
+
return kn(wt(r), n);
|
|
1905
1903
|
}
|
|
1906
1904
|
return {
|
|
1907
1905
|
set: t,
|
|
@@ -1915,13 +1913,13 @@ function fl(e, n) {
|
|
|
1915
1913
|
};
|
|
1916
1914
|
}
|
|
1917
1915
|
function vl(e, n, t) {
|
|
1918
|
-
var a = e.state,
|
|
1916
|
+
var a = e.state, r = t.breakpoints || {}, s = t.reducedMotion || {}, l = Ma(), i = [];
|
|
1919
1917
|
function u() {
|
|
1920
1918
|
var d = t.mediaQuery === "min";
|
|
1921
|
-
_t(
|
|
1919
|
+
_t(r).sort(function(v, M) {
|
|
1922
1920
|
return d ? +v - +M : +M - +v;
|
|
1923
1921
|
}).forEach(function(v) {
|
|
1924
|
-
c(
|
|
1922
|
+
c(r[v], "(" + (d ? "min" : "max") + "-width:" + v + "px)");
|
|
1925
1923
|
}), c(s, Gn), f();
|
|
1926
1924
|
}
|
|
1927
1925
|
function o(d) {
|
|
@@ -1929,10 +1927,10 @@ function vl(e, n, t) {
|
|
|
1929
1927
|
}
|
|
1930
1928
|
function c(d, v) {
|
|
1931
1929
|
var M = matchMedia(v);
|
|
1932
|
-
l.bind(M, "change", f),
|
|
1930
|
+
l.bind(M, "change", f), i.push([d, M]);
|
|
1933
1931
|
}
|
|
1934
1932
|
function f() {
|
|
1935
|
-
var d = a.is(Vt), v = t.direction, M =
|
|
1933
|
+
var d = a.is(Vt), v = t.direction, M = i.reduce(function(g, y) {
|
|
1936
1934
|
return Re(g, y[1].matches ? y[0] : {});
|
|
1937
1935
|
}, {});
|
|
1938
1936
|
Hn(t), h(M), t.destroy ? e.destroy(t.destroy === "completely") : d ? (o(!0), e.mount()) : v !== t.direction && e.refresh();
|
|
@@ -1961,20 +1959,20 @@ var Kt = "Arrow", qt = Kt + "Left", Xt = Kt + "Right", Ya = Kt + "Up", xa = Kt +
|
|
|
1961
1959
|
ArrowRight: [xa, qt]
|
|
1962
1960
|
};
|
|
1963
1961
|
function ml(e, n, t) {
|
|
1964
|
-
function a(s, l,
|
|
1965
|
-
|
|
1966
|
-
var u =
|
|
1962
|
+
function a(s, l, i) {
|
|
1963
|
+
i = i || t.direction;
|
|
1964
|
+
var u = i === Xn && !l ? 1 : i === Zt ? 0 : -1;
|
|
1967
1965
|
return nn[s] && nn[s][u] || s.replace(/width|left|right/i, function(o, c) {
|
|
1968
1966
|
var f = nn[o.toLowerCase()][u] || o;
|
|
1969
1967
|
return c > 0 ? f.charAt(0).toUpperCase() + f.slice(1) : f;
|
|
1970
1968
|
});
|
|
1971
1969
|
}
|
|
1972
|
-
function
|
|
1970
|
+
function r(s) {
|
|
1973
1971
|
return s * (t.direction === Xn ? 1 : -1);
|
|
1974
1972
|
}
|
|
1975
1973
|
return {
|
|
1976
1974
|
resolve: a,
|
|
1977
|
-
orient:
|
|
1975
|
+
orient: r
|
|
1978
1976
|
};
|
|
1979
1977
|
}
|
|
1980
1978
|
var Le = "role", et = "tabindex", hl = "disabled", Me = "aria-", $t = Me + "controls", Ba = Me + "current", Zn = Me + "selected", _e = Me + "label", Fn = Me + "labelledby", za = Me + "hidden", Nn = Me + "orientation", Et = Me + "roledescription", Jn = Me + "live", Qn = Me + "busy", ea = Me + "atomic", Rn = [Le, et, hl, $t, Ba, _e, Fn, za, Nn, Et], Te = Tt + "__", ze = "is-", an = Tt, ta = Te + "track", gl = Te + "list", Jt = Te + "slide", Ua = Jt + "--clone", _l = Jt + "__container", Pn = Te + "arrows", Qt = Te + "arrow", Ga = Qt + "--prev", Wa = Qt + "--next", en = Te + "pagination", Ha = en + "__page", pl = Te + "progress", yl = pl + "__bar", bl = Te + "toggle", El = Te + "spinner", Al = Te + "sr", kl = ze + "initialized", je = ze + "active", ja = ze + "prev", Ka = ze + "next", mn = ze + "visible", hn = ze + "loading", qa = ze + "focus-in", Xa = ze + "overflow", Ml = [je, mn, ja, Ka, hn, qa, Xa], wl = {
|
|
@@ -1997,12 +1995,12 @@ function Sl(e, n) {
|
|
|
1997
1995
|
}
|
|
1998
1996
|
var Dl = 5, na = 200, Za = "touchstart mousedown", rn = "touchmove mousemove", on = "touchend touchcancel mouseup click";
|
|
1999
1997
|
function Tl(e, n, t) {
|
|
2000
|
-
var a = te(e),
|
|
1998
|
+
var a = te(e), r = a.on, s = a.bind, l = e.root, i = t.i18n, u = {}, o = [], c = [], f = [], p, h, d;
|
|
2001
1999
|
function v() {
|
|
2002
2000
|
b(), R(), y();
|
|
2003
2001
|
}
|
|
2004
2002
|
function M() {
|
|
2005
|
-
|
|
2003
|
+
r(oe, g), r(oe, v), r(ve, y), s(document, Za + " keydown", function(E) {
|
|
2006
2004
|
d = E.type === "keydown";
|
|
2007
2005
|
}, {
|
|
2008
2006
|
capture: !0
|
|
@@ -2036,7 +2034,7 @@ function Tl(e, n, t) {
|
|
|
2036
2034
|
}
|
|
2037
2035
|
function R() {
|
|
2038
2036
|
var E = l.id || ul(Tt), O = t.role;
|
|
2039
|
-
l.id = E, p.id = p.id || E + "-track", h.id = h.id || E + "-list", !Ae(l, Le) && l.tagName !== "SECTION" && O && B(l, Le, O), B(l, Et,
|
|
2037
|
+
l.id = E, p.id = p.id || E + "-track", h.id = h.id || E + "-list", !Ae(l, Le) && l.tagName !== "SECTION" && O && B(l, Le, O), B(l, Et, i.carousel), B(h, Le, "presentation");
|
|
2040
2038
|
}
|
|
2041
2039
|
function _(E) {
|
|
2042
2040
|
var O = Aa(l, E);
|
|
@@ -2053,15 +2051,15 @@ function Tl(e, n, t) {
|
|
|
2053
2051
|
}
|
|
2054
2052
|
var at = "slide", ot = "loop", It = "fade";
|
|
2055
2053
|
function $l(e, n, t, a) {
|
|
2056
|
-
var
|
|
2054
|
+
var r = te(e), s = r.on, l = r.emit, i = r.bind, u = e.Components, o = e.root, c = e.options, f = c.isNavigation, p = c.updateOnMove, h = c.i18n, d = c.pagination, v = c.slideFocus, M = u.Direction.resolve, g = Ae(a, "style"), y = Ae(a, _e), b = t > -1, R = Dt(a, "." + _l), _;
|
|
2057
2055
|
function k() {
|
|
2058
2056
|
b || (a.id = o.id + "-slide" + Dn(n + 1), B(a, Le, d ? "tabpanel" : "group"), B(a, Et, h.slide), B(a, _e, y || vn(h.slideLabel, [n + 1, e.length]))), E();
|
|
2059
2057
|
}
|
|
2060
2058
|
function E() {
|
|
2061
|
-
|
|
2059
|
+
i(a, "click", X(l, Tn, Y)), i(a, "keydown", X(l, Pa, Y)), s([it, Va, qe], T), s(In, z), p && s(Fe, P);
|
|
2062
2060
|
}
|
|
2063
2061
|
function O() {
|
|
2064
|
-
_ = !0,
|
|
2062
|
+
_ = !0, r.destroy(), Ce(a, Ml), De(a, Rn), B(a, "style", g), B(a, _e, y || "");
|
|
2065
2063
|
}
|
|
2066
2064
|
function z() {
|
|
2067
2065
|
var N = e.splides.map(function(D) {
|
|
@@ -2085,7 +2083,7 @@ function $l(e, n, t, a) {
|
|
|
2085
2083
|
}
|
|
2086
2084
|
function C() {
|
|
2087
2085
|
var N = ae(), D = !N && (!U() || b);
|
|
2088
|
-
if (e.state.is([
|
|
2086
|
+
if (e.state.is([rt, kt]) || B(a, za, D || ""), B(wn(a, c.focusableNodes || ""), et, D ? -1 : ""), v && B(a, et, D ? -1 : 0), N !== jn(a, mn) && (Ie(a, mn, N), l(N ? Da : Ta, Y)), !N && document.activeElement === a) {
|
|
2089
2087
|
var F = u.Slides.getAt(e.index);
|
|
2090
2088
|
F && ba(F.slide);
|
|
2091
2089
|
}
|
|
@@ -2122,9 +2120,9 @@ function $l(e, n, t, a) {
|
|
|
2122
2120
|
return Y;
|
|
2123
2121
|
}
|
|
2124
2122
|
function Il(e, n, t) {
|
|
2125
|
-
var a = te(e),
|
|
2123
|
+
var a = te(e), r = a.on, s = a.emit, l = a.bind, i = n.Elements, u = i.slides, o = i.list, c = [];
|
|
2126
2124
|
function f() {
|
|
2127
|
-
p(),
|
|
2125
|
+
p(), r(oe, h), r(oe, p);
|
|
2128
2126
|
}
|
|
2129
2127
|
function p() {
|
|
2130
2128
|
u.forEach(function(T, $) {
|
|
@@ -2219,9 +2217,9 @@ function Il(e, n, t) {
|
|
|
2219
2217
|
};
|
|
2220
2218
|
}
|
|
2221
2219
|
function Cl(e, n, t) {
|
|
2222
|
-
var a = te(e),
|
|
2220
|
+
var a = te(e), r = a.on, s = a.bind, l = a.emit, i = n.Slides, u = n.Direction.resolve, o = n.Elements, c = o.root, f = o.track, p = o.list, h = i.getAt, d = i.style, v, M, g;
|
|
2223
2221
|
function y() {
|
|
2224
|
-
b(), s(window, "resize load", fl(X(l, nt))),
|
|
2222
|
+
b(), s(window, "resize load", fl(X(l, nt))), r([ve, oe], b), r(nt, R);
|
|
2225
2223
|
}
|
|
2226
2224
|
function b() {
|
|
2227
2225
|
v = t.direction === Zt, Ee(c, "maxWidth", Ge(t.width)), Ee(f, u("paddingLeft"), _(!1)), Ee(f, u("paddingRight"), _(!0)), R(!0);
|
|
@@ -2292,9 +2290,9 @@ function Cl(e, n, t) {
|
|
|
2292
2290
|
}
|
|
2293
2291
|
var Ll = 2;
|
|
2294
2292
|
function Ol(e, n, t) {
|
|
2295
|
-
var a = te(e),
|
|
2293
|
+
var a = te(e), r = a.on, s = n.Elements, l = n.Slides, i = n.Direction.resolve, u = [], o;
|
|
2296
2294
|
function c() {
|
|
2297
|
-
|
|
2295
|
+
r(oe, f), r([ve, nt], h), (o = M()) && (d(o), n.Layout.resize(!0));
|
|
2298
2296
|
}
|
|
2299
2297
|
function f() {
|
|
2300
2298
|
p(), c();
|
|
@@ -2326,8 +2324,8 @@ function Ol(e, n, t) {
|
|
|
2326
2324
|
if (!e.is(ot))
|
|
2327
2325
|
g = 0;
|
|
2328
2326
|
else if (Mt(g)) {
|
|
2329
|
-
var y = t[
|
|
2330
|
-
g = b || t[
|
|
2327
|
+
var y = t[i("fixedWidth")] && n.Layout.slideSize(0), b = y && bt(ge(s.track)[i("width")] / y);
|
|
2328
|
+
g = b || t[i("autoWidth")] && e.length || t.perPage * Ll;
|
|
2331
2329
|
}
|
|
2332
2330
|
return g;
|
|
2333
2331
|
}
|
|
@@ -2337,16 +2335,16 @@ function Ol(e, n, t) {
|
|
|
2337
2335
|
};
|
|
2338
2336
|
}
|
|
2339
2337
|
function Fl(e, n, t) {
|
|
2340
|
-
var a = te(e),
|
|
2338
|
+
var a = te(e), r = a.on, s = a.emit, l = e.state.set, i = n.Layout, u = i.slideSize, o = i.getPadding, c = i.totalSize, f = i.listSize, p = i.sliderSize, h = n.Direction, d = h.resolve, v = h.orient, M = n.Elements, g = M.list, y = M.track, b;
|
|
2341
2339
|
function R() {
|
|
2342
|
-
b = n.Transition,
|
|
2340
|
+
b = n.Transition, r([Be, Wt, ve, oe], _);
|
|
2343
2341
|
}
|
|
2344
2342
|
function _() {
|
|
2345
2343
|
n.Controller.isBusy() || (n.Scroll.cancel(), E(e.index), n.Slides.update());
|
|
2346
2344
|
}
|
|
2347
2345
|
function k(D, F, H, de) {
|
|
2348
|
-
D !== F && Y(D > H) && (T(), O(P(x(), D > H), !0)), l(
|
|
2349
|
-
l(tt), s(
|
|
2346
|
+
D !== F && Y(D > H) && (T(), O(P(x(), D > H), !0)), l(rt), s(Fe, F, H, D), b.start(F, function() {
|
|
2347
|
+
l(tt), s(it, F, H, D), de && de();
|
|
2350
2348
|
});
|
|
2351
2349
|
}
|
|
2352
2350
|
function E(D) {
|
|
@@ -2425,9 +2423,9 @@ function Fl(e, n, t) {
|
|
|
2425
2423
|
};
|
|
2426
2424
|
}
|
|
2427
2425
|
function Nl(e, n, t) {
|
|
2428
|
-
var a = te(e),
|
|
2426
|
+
var a = te(e), r = a.on, s = a.emit, l = n.Move, i = l.getPosition, u = l.getLimit, o = l.toPosition, c = n.Slides, f = c.isEnough, p = c.getLength, h = t.omitEnd, d = e.is(ot), v = e.is(at), M = X(x, !1), g = X(x, !0), y = t.start || 0, b, R = y, _, k, E;
|
|
2429
2427
|
function O() {
|
|
2430
|
-
z(),
|
|
2428
|
+
z(), r([ve, oe, Bt], z), r(Wt, P);
|
|
2431
2429
|
}
|
|
2432
2430
|
function z() {
|
|
2433
2431
|
_ = p(!0), k = t.perMove, E = t.perPage, b = Y();
|
|
@@ -2439,40 +2437,40 @@ function Nl(e, n, t) {
|
|
|
2439
2437
|
}
|
|
2440
2438
|
function T(S, q, me) {
|
|
2441
2439
|
if (!Ne()) {
|
|
2442
|
-
var
|
|
2443
|
-
fe > -1 && (q || fe !== y) && (H(fe), l.move(
|
|
2440
|
+
var ie = C(S), fe = Q(ie);
|
|
2441
|
+
fe > -1 && (q || fe !== y) && (H(fe), l.move(ie, fe, R, me));
|
|
2444
2442
|
}
|
|
2445
2443
|
}
|
|
2446
|
-
function $(S, q, me,
|
|
2444
|
+
function $(S, q, me, ie) {
|
|
2447
2445
|
n.Scroll.scroll(S, q, me, function() {
|
|
2448
|
-
var fe = Q(l.toIndex(
|
|
2449
|
-
H(h ? Ye(fe, b) : fe),
|
|
2446
|
+
var fe = Q(l.toIndex(i()));
|
|
2447
|
+
H(h ? Ye(fe, b) : fe), ie && ie();
|
|
2450
2448
|
});
|
|
2451
2449
|
}
|
|
2452
2450
|
function C(S) {
|
|
2453
2451
|
var q = y;
|
|
2454
2452
|
if (Ve(S)) {
|
|
2455
|
-
var me = S.match(/([+\-<>])(\d+)?/) || [],
|
|
2456
|
-
|
|
2453
|
+
var me = S.match(/([+\-<>])(\d+)?/) || [], ie = me[1], fe = me[2];
|
|
2454
|
+
ie === "+" || ie === "-" ? q = U(y + +("" + ie + (+fe || 1)), y) : ie === ">" ? q = fe ? N(+fe) : M(!0) : ie === "<" && (q = g(!0));
|
|
2457
2455
|
} else
|
|
2458
2456
|
q = d ? S : Xe(S, 0, b);
|
|
2459
2457
|
return q;
|
|
2460
2458
|
}
|
|
2461
2459
|
function x(S, q) {
|
|
2462
|
-
var me = k || (ue() ? 1 : E),
|
|
2463
|
-
return
|
|
2460
|
+
var me = k || (ue() ? 1 : E), ie = U(y + me * (S ? -1 : 1), y, !(k || ue()));
|
|
2461
|
+
return ie === -1 && v && !ka(i(), u(!S), 1) ? S ? 0 : b : q ? ie : Q(ie);
|
|
2464
2462
|
}
|
|
2465
2463
|
function U(S, q, me) {
|
|
2466
2464
|
if (f() || ue()) {
|
|
2467
|
-
var
|
|
2468
|
-
|
|
2465
|
+
var ie = ae(S);
|
|
2466
|
+
ie !== S && (q = S, S = ie, me = !1), S < 0 || S > b ? !k && (Nt(0, S, q, !0) || Nt(b, q, S, !0)) ? S = N(D(S)) : d ? S = me ? S < 0 ? -(_ % E || E) : _ : S : t.rewind ? S = S < 0 ? b : 0 : S = -1 : me && S !== q && (S = N(D(q) + (S < q ? -1 : 1)));
|
|
2469
2467
|
} else
|
|
2470
2468
|
S = -1;
|
|
2471
2469
|
return S;
|
|
2472
2470
|
}
|
|
2473
2471
|
function ae(S) {
|
|
2474
2472
|
if (v && t.trimSpace === "move" && S !== y)
|
|
2475
|
-
for (var q =
|
|
2473
|
+
for (var q = i(); q === o(S, !0) && Nt(S, 0, e.length - 1, !t.rewind); )
|
|
2476
2474
|
S < y ? --S : ++S;
|
|
2477
2475
|
return S;
|
|
2478
2476
|
}
|
|
@@ -2507,7 +2505,7 @@ function Nl(e, n, t) {
|
|
|
2507
2505
|
return !Mt(t.focus) || t.isNavigation;
|
|
2508
2506
|
}
|
|
2509
2507
|
function Ne() {
|
|
2510
|
-
return e.state.is([
|
|
2508
|
+
return e.state.is([rt, kt]) && !!t.waitForTransition;
|
|
2511
2509
|
}
|
|
2512
2510
|
return {
|
|
2513
2511
|
mount: O,
|
|
@@ -2528,9 +2526,9 @@ function Nl(e, n, t) {
|
|
|
2528
2526
|
}
|
|
2529
2527
|
var Rl = "http://www.w3.org/2000/svg", Pl = "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", Lt = 40;
|
|
2530
2528
|
function Vl(e, n, t) {
|
|
2531
|
-
var a = te(e),
|
|
2529
|
+
var a = te(e), r = a.on, s = a.bind, l = a.emit, i = t.classes, u = t.i18n, o = n.Elements, c = n.Controller, f = o.arrows, p = o.track, h = f, d = o.prev, v = o.next, M, g, y = {};
|
|
2532
2530
|
function b() {
|
|
2533
|
-
_(),
|
|
2531
|
+
_(), r(ve, R);
|
|
2534
2532
|
}
|
|
2535
2533
|
function R() {
|
|
2536
2534
|
k(), b();
|
|
@@ -2546,16 +2544,16 @@ function Vl(e, n, t) {
|
|
|
2546
2544
|
a.destroy(), Ce(h, g), M ? (He(f ? [d, v] : h), d = v = null) : De([d, v], Rn);
|
|
2547
2545
|
}
|
|
2548
2546
|
function E() {
|
|
2549
|
-
|
|
2547
|
+
r([Be, it, oe, qe, Bt], T), s(v, "click", X(O, ">")), s(d, "click", X(O, "<"));
|
|
2550
2548
|
}
|
|
2551
2549
|
function O($) {
|
|
2552
2550
|
c.go($, !0);
|
|
2553
2551
|
}
|
|
2554
2552
|
function z() {
|
|
2555
|
-
h = f || Qe("div",
|
|
2553
|
+
h = f || Qe("div", i.arrows), d = P(!0), v = P(!1), M = !0, St(h, [d, v]), !f && Mn(h, p);
|
|
2556
2554
|
}
|
|
2557
2555
|
function P($) {
|
|
2558
|
-
var C = '<button class="' +
|
|
2556
|
+
var C = '<button class="' + i.arrow + " " + ($ ? i.prev : i.next) + '" type="button"><svg xmlns="' + Rl + '" viewBox="0 0 ' + Lt + " " + Lt + '" width="' + Lt + '" height="' + Lt + '" focusable="false"><path d="' + (t.arrowPath || Pl) + '" />';
|
|
2559
2557
|
return Ea(C);
|
|
2560
2558
|
}
|
|
2561
2559
|
function T() {
|
|
@@ -2573,7 +2571,7 @@ function Vl(e, n, t) {
|
|
|
2573
2571
|
}
|
|
2574
2572
|
var Yl = Sn + "-interval";
|
|
2575
2573
|
function xl(e, n, t) {
|
|
2576
|
-
var a = te(e),
|
|
2574
|
+
var a = te(e), r = a.on, s = a.bind, l = a.emit, i = jt(t.interval, e.go.bind(e, ">"), E), u = i.isPaused, o = n.Elements, c = n.Elements, f = c.root, p = c.toggle, h = t.autoplay, d, v, M = h === "pause";
|
|
2577
2575
|
function g() {
|
|
2578
2576
|
h && (y(), p && B(p, $t, o.track.id), M || b(), k());
|
|
2579
2577
|
}
|
|
@@ -2584,13 +2582,13 @@ function xl(e, n, t) {
|
|
|
2584
2582
|
v = z.type === "focusin", _();
|
|
2585
2583
|
}), p && s(p, "click", function() {
|
|
2586
2584
|
M ? b() : R(!0);
|
|
2587
|
-
}),
|
|
2585
|
+
}), r([Fe, Ht, oe], i.rewind), r(Fe, O);
|
|
2588
2586
|
}
|
|
2589
2587
|
function b() {
|
|
2590
|
-
u() && n.Slides.isEnough() && (
|
|
2588
|
+
u() && n.Slides.isEnough() && (i.start(!t.resetProgress), v = d = M = !1, k(), l(Cn));
|
|
2591
2589
|
}
|
|
2592
2590
|
function R(z) {
|
|
2593
|
-
z === void 0 && (z = !0), M = !!z, k(), u() || (
|
|
2591
|
+
z === void 0 && (z = !0), M = !!z, k(), u() || (i.pause(), l(Ln));
|
|
2594
2592
|
}
|
|
2595
2593
|
function _() {
|
|
2596
2594
|
M || (d || v ? R(!1) : b());
|
|
@@ -2604,28 +2602,28 @@ function xl(e, n, t) {
|
|
|
2604
2602
|
}
|
|
2605
2603
|
function O(z) {
|
|
2606
2604
|
var P = n.Slides.getAt(z);
|
|
2607
|
-
|
|
2605
|
+
i.set(P && +Ae(P.slide, Yl) || t.interval);
|
|
2608
2606
|
}
|
|
2609
2607
|
return {
|
|
2610
2608
|
mount: g,
|
|
2611
|
-
destroy:
|
|
2609
|
+
destroy: i.cancel,
|
|
2612
2610
|
play: b,
|
|
2613
2611
|
pause: R,
|
|
2614
2612
|
isPaused: u
|
|
2615
2613
|
};
|
|
2616
2614
|
}
|
|
2617
2615
|
function Bl(e, n, t) {
|
|
2618
|
-
var a = te(e),
|
|
2616
|
+
var a = te(e), r = a.on;
|
|
2619
2617
|
function s() {
|
|
2620
|
-
t.cover && (
|
|
2618
|
+
t.cover && (r(On, X(i, !0)), r([Be, ve, oe], X(l, !0)));
|
|
2621
2619
|
}
|
|
2622
2620
|
function l(u) {
|
|
2623
2621
|
n.Slides.forEach(function(o) {
|
|
2624
2622
|
var c = Dt(o.container || o.slide, "img");
|
|
2625
|
-
c && c.src &&
|
|
2623
|
+
c && c.src && i(u, c, o);
|
|
2626
2624
|
});
|
|
2627
2625
|
}
|
|
2628
|
-
function
|
|
2626
|
+
function i(u, o, c) {
|
|
2629
2627
|
c.style("background", u ? 'center/cover no-repeat url("' + o.src + '")' : "", !0), yt(o, u ? "none" : "");
|
|
2630
2628
|
}
|
|
2631
2629
|
return {
|
|
@@ -2635,15 +2633,15 @@ function Bl(e, n, t) {
|
|
|
2635
2633
|
}
|
|
2636
2634
|
var zl = 10, Ul = 600, Gl = 0.6, Wl = 1.5, Hl = 800;
|
|
2637
2635
|
function jl(e, n, t) {
|
|
2638
|
-
var a = te(e),
|
|
2636
|
+
var a = te(e), r = a.on, s = a.emit, l = e.state.set, i = n.Move, u = i.getPosition, o = i.getLimit, c = i.exceededLimit, f = i.translate, p = e.is(at), h, d, v = 1;
|
|
2639
2637
|
function M() {
|
|
2640
|
-
|
|
2638
|
+
r(Fe, R), r([ve, oe], _);
|
|
2641
2639
|
}
|
|
2642
2640
|
function g(E, O, z, P, T) {
|
|
2643
2641
|
var $ = u();
|
|
2644
2642
|
if (R(), z && (!p || !c())) {
|
|
2645
2643
|
var C = n.Layout.sliderSize(), x = fn(E) * C * xt(he(E) / C) || 0;
|
|
2646
|
-
E =
|
|
2644
|
+
E = i.toPosition(n.Controller.toDest(E % C)) + x;
|
|
2647
2645
|
}
|
|
2648
2646
|
var U = ka($, E, 1);
|
|
2649
2647
|
v = 1, O = U ? 0 : O || Yt(he(E - $) / Wl, Hl), d = P, h = jt(O, y, X(b, $, E, T), 1), l(kt), s(Ht), h.start();
|
|
@@ -2677,11 +2675,11 @@ var Ze = {
|
|
|
2677
2675
|
capture: !0
|
|
2678
2676
|
};
|
|
2679
2677
|
function Kl(e, n, t) {
|
|
2680
|
-
var a = te(e),
|
|
2678
|
+
var a = te(e), r = a.on, s = a.emit, l = a.bind, i = a.unbind, u = e.state, o = n.Move, c = n.Scroll, f = n.Controller, p = n.Elements.track, h = n.Media.reduce, d = n.Direction, v = d.resolve, M = d.orient, g = o.getPosition, y = o.exceededLimit, b, R, _, k, E, O = !1, z, P, T;
|
|
2681
2679
|
function $() {
|
|
2682
2680
|
l(p, rn, cn, Ze), l(p, on, cn, Ze), l(p, Za, x, Ze), l(p, "click", Q, {
|
|
2683
2681
|
capture: !0
|
|
2684
|
-
}), l(p, "dragstart", $e),
|
|
2682
|
+
}), l(p, "dragstart", $e), r([Be, ve], C);
|
|
2685
2683
|
}
|
|
2686
2684
|
function C() {
|
|
2687
2685
|
var L = t.drag;
|
|
@@ -2690,7 +2688,7 @@ function Kl(e, n, t) {
|
|
|
2690
2688
|
function x(L) {
|
|
2691
2689
|
if (z = !1, !P) {
|
|
2692
2690
|
var Z = fe(L);
|
|
2693
|
-
|
|
2691
|
+
ie(L.target) && (Z || !L.button) && (f.isBusy() ? $e(L, !0) : (T = Z ? p : window, E = u.is([rt, kt]), _ = null, l(T, rn, U, Ze), l(T, on, ae, Ze), o.cancel(), c.cancel(), Y(L)));
|
|
2694
2692
|
}
|
|
2695
2693
|
}
|
|
2696
2694
|
function U(L) {
|
|
@@ -2702,7 +2700,7 @@ function Kl(e, n, t) {
|
|
|
2702
2700
|
} else F(L) && (E = D(L), $e(L));
|
|
2703
2701
|
}
|
|
2704
2702
|
function ae(L) {
|
|
2705
|
-
u.is(Ot) && (u.set(tt), s(Ca)), E && (N(L), $e(L)),
|
|
2703
|
+
u.is(Ot) && (u.set(tt), s(Ca)), E && (N(L), $e(L)), i(T, rn, U), i(T, on, ae), E = !1;
|
|
2706
2704
|
}
|
|
2707
2705
|
function Q(L) {
|
|
2708
2706
|
!P && z && $e(L, !0);
|
|
@@ -2715,8 +2713,8 @@ function Kl(e, n, t) {
|
|
|
2715
2713
|
h(!1), k ? f.scroll(Ue, 0, t.snap) : e.is(It) ? f.go(M(fn(Z)) < 0 ? lt ? "<" : "-" : lt ? ">" : "+") : e.is(at) && O && lt ? f.go(y(!0) ? ">" : "<") : f.go(f.toDest(Ue), !0), h(!0);
|
|
2716
2714
|
}
|
|
2717
2715
|
function D(L) {
|
|
2718
|
-
var Z = t.dragMinThreshold, Ue = ht(Z), lt = Ue && Z.mouse || 0,
|
|
2719
|
-
return he(ue(L)) > (fe(L) ?
|
|
2716
|
+
var Z = t.dragMinThreshold, Ue = ht(Z), lt = Ue && Z.mouse || 0, tr = (Ue ? Z.touch : +Z) || 10;
|
|
2717
|
+
return he(ue(L)) > (fe(L) ? tr : lt);
|
|
2720
2718
|
}
|
|
2721
2719
|
function F(L) {
|
|
2722
2720
|
return he(ue(L)) > he(ue(L, !0));
|
|
@@ -2747,14 +2745,14 @@ function Kl(e, n, t) {
|
|
|
2747
2745
|
function me(L) {
|
|
2748
2746
|
return L / (O && e.is(at) ? Dl : 1);
|
|
2749
2747
|
}
|
|
2750
|
-
function
|
|
2748
|
+
function ie(L) {
|
|
2751
2749
|
var Z = t.noDrag;
|
|
2752
2750
|
return !gt(L, "." + Ha + ", ." + Qt) && (!Z || !gt(L, Z));
|
|
2753
2751
|
}
|
|
2754
2752
|
function fe(L) {
|
|
2755
2753
|
return typeof TouchEvent < "u" && L instanceof TouchEvent;
|
|
2756
2754
|
}
|
|
2757
|
-
function
|
|
2755
|
+
function er() {
|
|
2758
2756
|
return E;
|
|
2759
2757
|
}
|
|
2760
2758
|
function Bn(L) {
|
|
@@ -2763,7 +2761,7 @@ function Kl(e, n, t) {
|
|
|
2763
2761
|
return {
|
|
2764
2762
|
mount: $,
|
|
2765
2763
|
disable: Bn,
|
|
2766
|
-
isDragging:
|
|
2764
|
+
isDragging: er
|
|
2767
2765
|
};
|
|
2768
2766
|
}
|
|
2769
2767
|
var ql = {
|
|
@@ -2778,13 +2776,13 @@ function Vn(e) {
|
|
|
2778
2776
|
}
|
|
2779
2777
|
var aa = "keydown";
|
|
2780
2778
|
function Xl(e, n, t) {
|
|
2781
|
-
var a = te(e),
|
|
2779
|
+
var a = te(e), r = a.on, s = a.bind, l = a.unbind, i = e.root, u = n.Direction.resolve, o, c;
|
|
2782
2780
|
function f() {
|
|
2783
|
-
p(),
|
|
2781
|
+
p(), r(ve, h), r(ve, p), r(Fe, v);
|
|
2784
2782
|
}
|
|
2785
2783
|
function p() {
|
|
2786
2784
|
var g = t.keyboard;
|
|
2787
|
-
g && (o = g === "global" ? window :
|
|
2785
|
+
g && (o = g === "global" ? window : i, s(o, aa, M));
|
|
2788
2786
|
}
|
|
2789
2787
|
function h() {
|
|
2790
2788
|
l(o, aa);
|
|
@@ -2812,12 +2810,12 @@ function Xl(e, n, t) {
|
|
|
2812
2810
|
}
|
|
2813
2811
|
var vt = Sn + "-lazy", Rt = vt + "-srcset", Zl = "[" + vt + "], [" + Rt + "]";
|
|
2814
2812
|
function Jl(e, n, t) {
|
|
2815
|
-
var a = te(e),
|
|
2813
|
+
var a = te(e), r = a.on, s = a.off, l = a.bind, i = a.emit, u = t.lazyLoad === "sequential", o = [it, qe], c = [];
|
|
2816
2814
|
function f() {
|
|
2817
|
-
t.lazyLoad && (p(),
|
|
2815
|
+
t.lazyLoad && (p(), r(oe, p));
|
|
2818
2816
|
}
|
|
2819
2817
|
function p() {
|
|
2820
|
-
Oe(c), h(), u ? g() : (s(o),
|
|
2818
|
+
Oe(c), h(), u ? g() : (s(o), r(o, d), d());
|
|
2821
2819
|
}
|
|
2822
2820
|
function h() {
|
|
2823
2821
|
n.Slides.forEach(function(y) {
|
|
@@ -2842,7 +2840,7 @@ function Jl(e, n, t) {
|
|
|
2842
2840
|
}
|
|
2843
2841
|
function M(y, b) {
|
|
2844
2842
|
var R = y[0], _ = y[1];
|
|
2845
|
-
Ce(_.slide, hn), b.type !== "error" && (He(y[2]), yt(R, ""),
|
|
2843
|
+
Ce(_.slide, hn), b.type !== "error" && (He(y[2]), yt(R, ""), i(On, R, _), i(nt)), u && g();
|
|
2846
2844
|
}
|
|
2847
2845
|
function g() {
|
|
2848
2846
|
c.length && v(c.shift());
|
|
@@ -2854,11 +2852,11 @@ function Jl(e, n, t) {
|
|
|
2854
2852
|
};
|
|
2855
2853
|
}
|
|
2856
2854
|
function Ql(e, n, t) {
|
|
2857
|
-
var a = te(e),
|
|
2855
|
+
var a = te(e), r = a.on, s = a.emit, l = a.bind, i = n.Slides, u = n.Elements, o = n.Controller, c = o.hasFocus, f = o.getIndex, p = o.go, h = n.Direction.resolve, d = u.pagination, v = [], M, g;
|
|
2858
2856
|
function y() {
|
|
2859
|
-
b(),
|
|
2857
|
+
b(), r([ve, oe, Bt], y);
|
|
2860
2858
|
var P = t.pagination;
|
|
2861
|
-
d && yt(d, P ? "" : "none"), P && (
|
|
2859
|
+
d && yt(d, P ? "" : "none"), P && (r([Fe, Ht, qe], z), R(), z(), s(Fa, {
|
|
2862
2860
|
list: M,
|
|
2863
2861
|
items: v
|
|
2864
2862
|
}, O(e.index)));
|
|
@@ -2873,7 +2871,7 @@ function Ql(e, n, t) {
|
|
|
2873
2871
|
var ae = Qe("li", null, M), Q = Qe("button", {
|
|
2874
2872
|
class: T.page,
|
|
2875
2873
|
type: "button"
|
|
2876
|
-
}, ae), Y =
|
|
2874
|
+
}, ae), Y = i.getIn(U).map(function(D) {
|
|
2877
2875
|
return D.slide.id;
|
|
2878
2876
|
}), N = !c() && C > 1 ? $.pageX : $.slideX;
|
|
2879
2877
|
l(Q, "click", X(_, U)), t.paginationKeyboard && l(Q, "keydown", X(k, U)), B(ae, Le, "presentation"), B(Q, Le, "tab"), B(Q, $t, Y.join(" ")), B(Q, _e, vn(N, U + 1)), B(Q, et, -1), v.push({
|
|
@@ -2923,19 +2921,19 @@ function Ql(e, n, t) {
|
|
|
2923
2921
|
}
|
|
2924
2922
|
var es = [" ", "Enter"];
|
|
2925
2923
|
function ts(e, n, t) {
|
|
2926
|
-
var a = t.isNavigation,
|
|
2924
|
+
var a = t.isNavigation, r = t.slideFocus, s = [];
|
|
2927
2925
|
function l() {
|
|
2928
2926
|
e.splides.forEach(function(d) {
|
|
2929
2927
|
d.isParent || (o(e, d.splide), o(d.splide, e));
|
|
2930
2928
|
}), a && c();
|
|
2931
2929
|
}
|
|
2932
|
-
function
|
|
2930
|
+
function i() {
|
|
2933
2931
|
s.forEach(function(d) {
|
|
2934
2932
|
d.destroy();
|
|
2935
2933
|
}), Oe(s);
|
|
2936
2934
|
}
|
|
2937
2935
|
function u() {
|
|
2938
|
-
|
|
2936
|
+
i(), l();
|
|
2939
2937
|
}
|
|
2940
2938
|
function o(d, v) {
|
|
2941
2939
|
var M = te(d);
|
|
@@ -2958,42 +2956,42 @@ function ts(e, n, t) {
|
|
|
2958
2956
|
}
|
|
2959
2957
|
return {
|
|
2960
2958
|
setup: X(n.Media.set, {
|
|
2961
|
-
slideFocus: Mt(
|
|
2959
|
+
slideFocus: Mt(r) ? a : r
|
|
2962
2960
|
}, !0),
|
|
2963
2961
|
mount: l,
|
|
2964
|
-
destroy:
|
|
2962
|
+
destroy: i,
|
|
2965
2963
|
remount: u
|
|
2966
2964
|
};
|
|
2967
2965
|
}
|
|
2968
2966
|
function ns(e, n, t) {
|
|
2969
|
-
var a = te(e),
|
|
2967
|
+
var a = te(e), r = a.bind, s = 0;
|
|
2970
2968
|
function l() {
|
|
2971
|
-
t.wheel &&
|
|
2969
|
+
t.wheel && r(n.Elements.track, "wheel", i, Ze);
|
|
2972
2970
|
}
|
|
2973
|
-
function
|
|
2971
|
+
function i(o) {
|
|
2974
2972
|
if (o.cancelable) {
|
|
2975
2973
|
var c = o.deltaY, f = c < 0, p = dn(o), h = t.wheelMinThreshold || 0, d = t.wheelSleep || 0;
|
|
2976
2974
|
he(c) > h && p - s > d && (e.go(f ? "<" : ">"), s = p), u(f) && $e(o);
|
|
2977
2975
|
}
|
|
2978
2976
|
}
|
|
2979
2977
|
function u(o) {
|
|
2980
|
-
return !t.releaseWheel || e.state.is(
|
|
2978
|
+
return !t.releaseWheel || e.state.is(rt) || n.Controller.getAdjacent(o) !== -1;
|
|
2981
2979
|
}
|
|
2982
2980
|
return {
|
|
2983
2981
|
mount: l
|
|
2984
2982
|
};
|
|
2985
2983
|
}
|
|
2986
2984
|
var as = 90;
|
|
2987
|
-
function
|
|
2988
|
-
var a = te(e),
|
|
2985
|
+
function rs(e, n, t) {
|
|
2986
|
+
var a = te(e), r = a.on, s = n.Elements.track, l = t.live && !t.isNavigation, i = Qe("span", Al), u = jt(as, X(c, !1));
|
|
2989
2987
|
function o() {
|
|
2990
|
-
l && (p(!n.Autoplay.isPaused()), B(s, ea, !0),
|
|
2988
|
+
l && (p(!n.Autoplay.isPaused()), B(s, ea, !0), i.textContent = "…", r(Cn, X(p, !0)), r(Ln, X(p, !1)), r([it, qe], X(c, !0)));
|
|
2991
2989
|
}
|
|
2992
2990
|
function c(h) {
|
|
2993
|
-
B(s, Qn, h), h ? (St(s,
|
|
2991
|
+
B(s, Qn, h), h ? (St(s, i), u.start()) : (He(i), u.cancel());
|
|
2994
2992
|
}
|
|
2995
2993
|
function f() {
|
|
2996
|
-
De(s, [Jn, ea, Qn]), He(
|
|
2994
|
+
De(s, [Jn, ea, Qn]), He(i);
|
|
2997
2995
|
}
|
|
2998
2996
|
function p(h) {
|
|
2999
2997
|
l && B(s, Jn, h ? "off" : "polite");
|
|
@@ -3004,7 +3002,7 @@ function is(e, n, t) {
|
|
|
3004
3002
|
destroy: f
|
|
3005
3003
|
};
|
|
3006
3004
|
}
|
|
3007
|
-
var
|
|
3005
|
+
var is = /* @__PURE__ */ Object.freeze({
|
|
3008
3006
|
__proto__: null,
|
|
3009
3007
|
Media: vl,
|
|
3010
3008
|
Direction: ml,
|
|
@@ -3024,7 +3022,7 @@ var rs = /* @__PURE__ */ Object.freeze({
|
|
|
3024
3022
|
Pagination: Ql,
|
|
3025
3023
|
Sync: ts,
|
|
3026
3024
|
Wheel: ns,
|
|
3027
|
-
Live:
|
|
3025
|
+
Live: rs
|
|
3028
3026
|
}), os = {
|
|
3029
3027
|
prev: "Previous slide",
|
|
3030
3028
|
next: "Next slide",
|
|
@@ -3067,25 +3065,25 @@ var rs = /* @__PURE__ */ Object.freeze({
|
|
|
3067
3065
|
};
|
|
3068
3066
|
function ss(e, n, t) {
|
|
3069
3067
|
var a = n.Slides;
|
|
3070
|
-
function
|
|
3068
|
+
function r() {
|
|
3071
3069
|
te(e).on([Be, oe], s);
|
|
3072
3070
|
}
|
|
3073
3071
|
function s() {
|
|
3074
|
-
a.forEach(function(
|
|
3075
|
-
|
|
3072
|
+
a.forEach(function(i) {
|
|
3073
|
+
i.style("transform", "translateX(-" + 100 * i.index + "%)");
|
|
3076
3074
|
});
|
|
3077
3075
|
}
|
|
3078
|
-
function l(
|
|
3076
|
+
function l(i, u) {
|
|
3079
3077
|
a.style("transition", "opacity " + t.speed + "ms " + t.easing), ga(u);
|
|
3080
3078
|
}
|
|
3081
3079
|
return {
|
|
3082
|
-
mount:
|
|
3080
|
+
mount: r,
|
|
3083
3081
|
start: l,
|
|
3084
3082
|
cancel: cn
|
|
3085
3083
|
};
|
|
3086
3084
|
}
|
|
3087
3085
|
function us(e, n, t) {
|
|
3088
|
-
var a = n.Move,
|
|
3086
|
+
var a = n.Move, r = n.Controller, s = n.Scroll, l = n.Elements.list, i = X(Ee, l, "transition"), u;
|
|
3089
3087
|
function o() {
|
|
3090
3088
|
te(e).bind(l, "transitionend", function(h) {
|
|
3091
3089
|
h.target === l && u && (f(), u());
|
|
@@ -3093,15 +3091,15 @@ function us(e, n, t) {
|
|
|
3093
3091
|
}
|
|
3094
3092
|
function c(h, d) {
|
|
3095
3093
|
var v = a.toPosition(h, !0), M = a.getPosition(), g = p(h);
|
|
3096
|
-
he(v - M) >= 1 && g >= 1 ? t.useScroll ? s.scroll(v, g, !1, d) : (
|
|
3094
|
+
he(v - M) >= 1 && g >= 1 ? t.useScroll ? s.scroll(v, g, !1, d) : (i("transform " + g + "ms " + t.easing), a.translate(v, !0), u = d) : (a.jump(h), d());
|
|
3097
3095
|
}
|
|
3098
3096
|
function f() {
|
|
3099
|
-
|
|
3097
|
+
i(""), s.cancel();
|
|
3100
3098
|
}
|
|
3101
3099
|
function p(h) {
|
|
3102
3100
|
var d = t.rewindSpeed;
|
|
3103
3101
|
if (e.is(at) && d) {
|
|
3104
|
-
var v =
|
|
3102
|
+
var v = r.getIndex(!0), M = r.getEnd();
|
|
3105
3103
|
if (v === 0 && h >= M || v >= M && h === 0)
|
|
3106
3104
|
return d;
|
|
3107
3105
|
}
|
|
@@ -3116,29 +3114,29 @@ function us(e, n, t) {
|
|
|
3116
3114
|
var cs = /* @__PURE__ */ function() {
|
|
3117
3115
|
function e(t, a) {
|
|
3118
3116
|
this.event = te(), this.Components = {}, this.state = dl(Je), this.splides = [], this._o = {}, this._E = {};
|
|
3119
|
-
var
|
|
3120
|
-
ft(
|
|
3121
|
-
label: Ae(
|
|
3122
|
-
labelledby: Ae(
|
|
3117
|
+
var r = Ve(t) ? Aa(document, t) : t;
|
|
3118
|
+
ft(r, r + " is invalid."), this.root = r, a = Re({
|
|
3119
|
+
label: Ae(r, _e) || "",
|
|
3120
|
+
labelledby: Ae(r, Fn) || ""
|
|
3123
3121
|
}, ls, e.defaults, a || {});
|
|
3124
3122
|
try {
|
|
3125
|
-
Re(a, JSON.parse(Ae(
|
|
3123
|
+
Re(a, JSON.parse(Ae(r, Sn)));
|
|
3126
3124
|
} catch {
|
|
3127
3125
|
ft(!1, "Invalid JSON");
|
|
3128
3126
|
}
|
|
3129
3127
|
this._o = Object.create(Re({}, a));
|
|
3130
3128
|
}
|
|
3131
3129
|
var n = e.prototype;
|
|
3132
|
-
return n.mount = function(a,
|
|
3133
|
-
var s = this, l = this.state,
|
|
3134
|
-
ft(l.is([Je, Vt]), "Already mounted!"), l.set(Je), this._C =
|
|
3135
|
-
var u = pt({},
|
|
3130
|
+
return n.mount = function(a, r) {
|
|
3131
|
+
var s = this, l = this.state, i = this.Components;
|
|
3132
|
+
ft(l.is([Je, Vt]), "Already mounted!"), l.set(Je), this._C = i, this._T = r || this._T || (this.is(It) ? ss : us), this._E = a || this._E;
|
|
3133
|
+
var u = pt({}, is, this._E, {
|
|
3136
3134
|
Transition: this._T
|
|
3137
3135
|
});
|
|
3138
3136
|
return We(u, function(o, c) {
|
|
3139
|
-
var f = o(s,
|
|
3140
|
-
|
|
3141
|
-
}), We(
|
|
3137
|
+
var f = o(s, i, s._o);
|
|
3138
|
+
i[c] = f, f.setup && f.setup();
|
|
3139
|
+
}), We(i, function(o) {
|
|
3142
3140
|
o.mount && o.mount();
|
|
3143
3141
|
}), this.emit(Be), Se(this.root, kl), l.set(tt), this.emit(qn), this;
|
|
3144
3142
|
}, n.sync = function(a) {
|
|
@@ -3150,15 +3148,15 @@ var cs = /* @__PURE__ */ function() {
|
|
|
3150
3148
|
}), this.state.is(tt) && (this._C.Sync.remount(), a.Components.Sync.remount()), this;
|
|
3151
3149
|
}, n.go = function(a) {
|
|
3152
3150
|
return this._C.Controller.go(a), this;
|
|
3153
|
-
}, n.on = function(a,
|
|
3154
|
-
return this.event.on(a,
|
|
3151
|
+
}, n.on = function(a, r) {
|
|
3152
|
+
return this.event.on(a, r), this;
|
|
3155
3153
|
}, n.off = function(a) {
|
|
3156
3154
|
return this.event.off(a), this;
|
|
3157
3155
|
}, n.emit = function(a) {
|
|
3158
|
-
var
|
|
3159
|
-
return (
|
|
3160
|
-
}, n.add = function(a,
|
|
3161
|
-
return this._C.Slides.add(a,
|
|
3156
|
+
var r;
|
|
3157
|
+
return (r = this.event).emit.apply(r, [a].concat(xe(arguments, 1))), this;
|
|
3158
|
+
}, n.add = function(a, r) {
|
|
3159
|
+
return this._C.Slides.add(a, r), this;
|
|
3162
3160
|
}, n.remove = function(a) {
|
|
3163
3161
|
return this._C.Slides.remove(a), this;
|
|
3164
3162
|
}, n.is = function(a) {
|
|
@@ -3167,10 +3165,10 @@ var cs = /* @__PURE__ */ function() {
|
|
|
3167
3165
|
return this.emit(oe), this;
|
|
3168
3166
|
}, n.destroy = function(a) {
|
|
3169
3167
|
a === void 0 && (a = !0);
|
|
3170
|
-
var
|
|
3168
|
+
var r = this.event, s = this.state;
|
|
3171
3169
|
return s.is(Je) ? te(this).on(qn, this.destroy.bind(this, a)) : (We(this._C, function(l) {
|
|
3172
3170
|
l.destroy && l.destroy(a);
|
|
3173
|
-
}, !0),
|
|
3171
|
+
}, !0), r.emit($n), r.destroy(), a && Oe(this.splides), s.set(Vt)), this;
|
|
3174
3172
|
}, ol(e, [{
|
|
3175
3173
|
key: "options",
|
|
3176
3174
|
get: function() {
|
|
@@ -3193,7 +3191,7 @@ var cs = /* @__PURE__ */ function() {
|
|
|
3193
3191
|
}(), Yn = cs;
|
|
3194
3192
|
Yn.defaults = {};
|
|
3195
3193
|
Yn.STATES = sl;
|
|
3196
|
-
const
|
|
3194
|
+
const ra = [
|
|
3197
3195
|
wa,
|
|
3198
3196
|
La,
|
|
3199
3197
|
Oa,
|
|
@@ -3210,7 +3208,7 @@ const ia = [
|
|
|
3210
3208
|
On,
|
|
3211
3209
|
Be,
|
|
3212
3210
|
Fe,
|
|
3213
|
-
|
|
3211
|
+
it,
|
|
3214
3212
|
In,
|
|
3215
3213
|
Fa,
|
|
3216
3214
|
Na,
|
|
@@ -3222,15 +3220,15 @@ const ia = [
|
|
|
3222
3220
|
ve,
|
|
3223
3221
|
Da
|
|
3224
3222
|
], Ja = "splide";
|
|
3225
|
-
function
|
|
3223
|
+
function ia(e) {
|
|
3226
3224
|
return e !== null && typeof e == "object";
|
|
3227
3225
|
}
|
|
3228
3226
|
function ds(e, n) {
|
|
3229
3227
|
if (e) {
|
|
3230
3228
|
const t = Object.keys(e);
|
|
3231
3229
|
for (let a = 0; a < t.length; a++) {
|
|
3232
|
-
const
|
|
3233
|
-
if (
|
|
3230
|
+
const r = t[a];
|
|
3231
|
+
if (r !== "__proto__" && n(e[r], r) === !1)
|
|
3234
3232
|
break;
|
|
3235
3233
|
}
|
|
3236
3234
|
}
|
|
@@ -3238,8 +3236,8 @@ function ds(e, n) {
|
|
|
3238
3236
|
}
|
|
3239
3237
|
function Qa(e, n) {
|
|
3240
3238
|
const t = e;
|
|
3241
|
-
return ds(n, (a,
|
|
3242
|
-
Array.isArray(a) ? t[
|
|
3239
|
+
return ds(n, (a, r) => {
|
|
3240
|
+
Array.isArray(a) ? t[r] = a.slice() : ia(a) ? t[r] = Qa(ia(t[r]) ? t[r] : {}, a) : t[r] = a;
|
|
3243
3241
|
}), t;
|
|
3244
3242
|
}
|
|
3245
3243
|
const fs = G({
|
|
@@ -3253,11 +3251,11 @@ const fs = G({
|
|
|
3253
3251
|
}
|
|
3254
3252
|
}), xn = (e, n) => {
|
|
3255
3253
|
const t = e.__vccOpts || e;
|
|
3256
|
-
for (const [a,
|
|
3257
|
-
t[a] =
|
|
3254
|
+
for (const [a, r] of n)
|
|
3255
|
+
t[a] = r;
|
|
3258
3256
|
return t;
|
|
3259
3257
|
}, vs = { class: "splide__track" }, ms = { class: "splide__list" };
|
|
3260
|
-
function hs(e, n, t, a,
|
|
3258
|
+
function hs(e, n, t, a, r, s) {
|
|
3261
3259
|
return A(), w("div", vs, [
|
|
3262
3260
|
m("ul", ms, [
|
|
3263
3261
|
j(e.$slots, "default")
|
|
@@ -3266,7 +3264,7 @@ function hs(e, n, t, a, i, s) {
|
|
|
3266
3264
|
}
|
|
3267
3265
|
const gs = /* @__PURE__ */ xn(fs, [["render", hs]]), _s = G({
|
|
3268
3266
|
name: "Splide",
|
|
3269
|
-
emits:
|
|
3267
|
+
emits: ra.map((e) => `splide:${e}`),
|
|
3270
3268
|
components: { SplideTrack: gs },
|
|
3271
3269
|
props: {
|
|
3272
3270
|
tag: {
|
|
@@ -3294,7 +3292,7 @@ const gs = /* @__PURE__ */ xn(fs, [["render", hs]]), _s = G({
|
|
|
3294
3292
|
}), mt(() => Qa({}, e.options), (o) => {
|
|
3295
3293
|
t.value && (t.value.options = o);
|
|
3296
3294
|
}, { deep: !0 }), pn(Ja, t);
|
|
3297
|
-
const
|
|
3295
|
+
const r = I(() => {
|
|
3298
3296
|
var o;
|
|
3299
3297
|
return ((o = t.value) == null ? void 0 : o.index) || 0;
|
|
3300
3298
|
}), s = I(() => {
|
|
@@ -3305,12 +3303,12 @@ const gs = /* @__PURE__ */ xn(fs, [["render", hs]]), _s = G({
|
|
|
3305
3303
|
var c;
|
|
3306
3304
|
(c = t.value) == null || c.go(o);
|
|
3307
3305
|
}
|
|
3308
|
-
function
|
|
3306
|
+
function i(o) {
|
|
3309
3307
|
var c;
|
|
3310
3308
|
(c = t.value) == null || c.sync(o);
|
|
3311
3309
|
}
|
|
3312
3310
|
function u(o) {
|
|
3313
|
-
|
|
3311
|
+
ra.forEach((c) => {
|
|
3314
3312
|
o.on(c, (...f) => {
|
|
3315
3313
|
n.emit(`splide:${c}`, o, ...f);
|
|
3316
3314
|
});
|
|
@@ -3319,16 +3317,16 @@ const gs = /* @__PURE__ */ xn(fs, [["render", hs]]), _s = G({
|
|
|
3319
3317
|
return {
|
|
3320
3318
|
splide: t,
|
|
3321
3319
|
root: a,
|
|
3322
|
-
index:
|
|
3320
|
+
index: r,
|
|
3323
3321
|
length: s,
|
|
3324
3322
|
go: l,
|
|
3325
|
-
sync:
|
|
3323
|
+
sync: i
|
|
3326
3324
|
};
|
|
3327
3325
|
}
|
|
3328
3326
|
});
|
|
3329
|
-
function ps(e, n, t, a,
|
|
3330
|
-
const l =
|
|
3331
|
-
return A(), le(
|
|
3327
|
+
function ps(e, n, t, a, r, s) {
|
|
3328
|
+
const l = or("SplideTrack");
|
|
3329
|
+
return A(), le(lr(e.tag), {
|
|
3332
3330
|
class: "splide",
|
|
3333
3331
|
ref: "root"
|
|
3334
3332
|
}, {
|
|
@@ -3346,7 +3344,7 @@ function ps(e, n, t, a, i, s) {
|
|
|
3346
3344
|
const ys = /* @__PURE__ */ xn(_s, [["render", ps]]), bs = G({
|
|
3347
3345
|
name: "SplideSlide"
|
|
3348
3346
|
}), Es = { class: "splide__slide" };
|
|
3349
|
-
function As(e, n, t, a,
|
|
3347
|
+
function As(e, n, t, a, r, s) {
|
|
3350
3348
|
return A(), w("li", Es, [
|
|
3351
3349
|
j(e.$slots, "default")
|
|
3352
3350
|
]);
|
|
@@ -3392,16 +3390,16 @@ const ks = /* @__PURE__ */ xn(bs, [["render", As]]), Ms = {
|
|
|
3392
3390
|
__name: "MucSlider",
|
|
3393
3391
|
emits: ["changeSlide"],
|
|
3394
3392
|
setup(e, { emit: n }) {
|
|
3395
|
-
const t = n, a = ca("splide"),
|
|
3393
|
+
const t = n, a = ca("splide"), r = se(0), s = se(0), l = () => {
|
|
3396
3394
|
a.value && a.value.go(">");
|
|
3397
|
-
},
|
|
3395
|
+
}, i = () => {
|
|
3398
3396
|
a.value && a.value.go("<");
|
|
3399
|
-
}, u = I(() =>
|
|
3400
|
-
() =>
|
|
3397
|
+
}, u = I(() => r.value > 0), o = I(
|
|
3398
|
+
() => r.value < s.value - 1
|
|
3401
3399
|
);
|
|
3402
3400
|
return zt(() => {
|
|
3403
3401
|
a.value && a.value.splide && (s.value = a.value.length, a.value.splide.on("move", () => {
|
|
3404
|
-
a.value && (
|
|
3402
|
+
a.value && (r.value = a.value.splide.index, t("changeSlide", a.value.splide.index));
|
|
3405
3403
|
}));
|
|
3406
3404
|
}), (c, f) => (A(), w("div", ws, [
|
|
3407
3405
|
m("div", Ss, [
|
|
@@ -3412,7 +3410,7 @@ const ks = /* @__PURE__ */ xn(bs, [["render", As]]), Ms = {
|
|
|
3412
3410
|
key: 0,
|
|
3413
3411
|
"aria-label": "Vorheriges Element",
|
|
3414
3412
|
class: "previous-button is-control",
|
|
3415
|
-
onClick:
|
|
3413
|
+
onClick: i
|
|
3416
3414
|
}, f[0] || (f[0] = [
|
|
3417
3415
|
m("svg", { class: "icon" }, [
|
|
3418
3416
|
m("use", { "xlink:href": "#icon-arrow-left" })
|
|
@@ -3446,7 +3444,7 @@ const ks = /* @__PURE__ */ xn(bs, [["render", As]]), Ms = {
|
|
|
3446
3444
|
])
|
|
3447
3445
|
]));
|
|
3448
3446
|
}
|
|
3449
|
-
}), Cs = /* @__PURE__ */
|
|
3447
|
+
}), Cs = /* @__PURE__ */ re(Is, [["__scopeId", "data-v-c7e8c8ae"]]), Ls = /* @__PURE__ */ G({
|
|
3450
3448
|
__name: "MucSliderItem",
|
|
3451
3449
|
setup(e) {
|
|
3452
3450
|
return (n, t) => (A(), le(K(ks), null, {
|
|
@@ -3466,35 +3464,35 @@ const ks = /* @__PURE__ */ xn(bs, [["render", As]]), Ms = {
|
|
|
3466
3464
|
},
|
|
3467
3465
|
emits: ["click"],
|
|
3468
3466
|
setup(e, { emit: n }) {
|
|
3469
|
-
const t = n, a = I(() => e.isDone ? "check" : e.item.icon),
|
|
3467
|
+
const t = n, a = I(() => e.isDone ? "check" : e.item.icon), r = I(
|
|
3470
3468
|
() => e.isActive || e.isDone && !e.disabled ? 0 : -1
|
|
3471
3469
|
), s = I(
|
|
3472
3470
|
() => e.isActive ? "Aktueller Schritt: " + e.item.label : "Zurück zu Schritt: " + e.item.label
|
|
3473
3471
|
), l = () => {
|
|
3474
3472
|
e.isDone && !e.disabled && t("click", e.item.id);
|
|
3475
3473
|
};
|
|
3476
|
-
return (
|
|
3474
|
+
return (i, u) => (A(), w("li", {
|
|
3477
3475
|
class: ne(["m-form-step", {
|
|
3478
|
-
"m-form-step--current":
|
|
3479
|
-
"show-cursor":
|
|
3476
|
+
"m-form-step--current": i.isActive,
|
|
3477
|
+
"show-cursor": i.isDone && !i.disabled && !i.isActive
|
|
3480
3478
|
}]),
|
|
3481
3479
|
onClick: l
|
|
3482
3480
|
}, [
|
|
3483
3481
|
m("div", {
|
|
3484
|
-
class: ne(["m-form-step__icon", { disabled:
|
|
3485
|
-
tabindex:
|
|
3482
|
+
class: ne(["m-form-step__icon", { disabled: i.disabled }]),
|
|
3483
|
+
tabindex: r.value,
|
|
3486
3484
|
"aria-label": s.value
|
|
3487
3485
|
}, [
|
|
3488
3486
|
J(K(ye), { icon: a.value }, null, 8, ["icon"])
|
|
3489
3487
|
], 10, Os),
|
|
3490
3488
|
m("div", {
|
|
3491
|
-
class: ne(["m-form-step__title", { disabled:
|
|
3489
|
+
class: ne(["m-form-step__title", { disabled: i.disabled }])
|
|
3492
3490
|
}, [
|
|
3493
|
-
m("span", Fs, V(
|
|
3491
|
+
m("span", Fs, V(i.item.label), 1)
|
|
3494
3492
|
], 2)
|
|
3495
3493
|
], 2));
|
|
3496
3494
|
}
|
|
3497
|
-
}), Rs = /* @__PURE__ */
|
|
3495
|
+
}), Rs = /* @__PURE__ */ re(Ns, [["__scopeId", "data-v-a75259ca"]]), Ps = { class: "m-component m-component-form-progress" }, Vs = { class: "container" }, Ys = { class: "m-component__grid" }, xs = { class: "m-component__column" }, Bs = { class: "m-form-steps" }, zs = /* @__PURE__ */ G({
|
|
3498
3496
|
__name: "MucStepper",
|
|
3499
3497
|
props: {
|
|
3500
3498
|
stepItems: {},
|
|
@@ -3507,10 +3505,10 @@ const ks = /* @__PURE__ */ xn(bs, [["render", As]]), Ms = {
|
|
|
3507
3505
|
mt(
|
|
3508
3506
|
() => e.activeItem,
|
|
3509
3507
|
() => {
|
|
3510
|
-
|
|
3508
|
+
r.value = a(e.activeItem);
|
|
3511
3509
|
}
|
|
3512
3510
|
);
|
|
3513
|
-
const a = (o) => e.stepItems.findIndex((c) => c.id === o),
|
|
3511
|
+
const a = (o) => e.stepItems.findIndex((c) => c.id === o), r = se(a(e.activeItem)), s = (o) => o === e.activeItem, l = (o) => a(o) < r.value, i = (o) => e.disablePreviousSteps && !s(o) && l(o), u = (o) => {
|
|
3514
3512
|
t("changeStep", o);
|
|
3515
3513
|
};
|
|
3516
3514
|
return (o, c) => (A(), w("div", Ps, [
|
|
@@ -3523,7 +3521,7 @@ const ks = /* @__PURE__ */ xn(bs, [["render", As]]), Ms = {
|
|
|
3523
3521
|
item: f,
|
|
3524
3522
|
"is-active": s(f.id),
|
|
3525
3523
|
"is-done": l(f.id),
|
|
3526
|
-
disabled:
|
|
3524
|
+
disabled: i(f.id),
|
|
3527
3525
|
onClick: u
|
|
3528
3526
|
}, null, 8, ["item", "is-active", "is-done", "disabled"]))), 128))
|
|
3529
3527
|
])
|
|
@@ -3534,25 +3532,25 @@ const ks = /* @__PURE__ */ xn(bs, [["render", As]]), Ms = {
|
|
|
3534
3532
|
}
|
|
3535
3533
|
}), oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3536
3534
|
__proto__: null,
|
|
3537
|
-
MucBanner:
|
|
3535
|
+
MucBanner: fr,
|
|
3538
3536
|
MucButton: Pe,
|
|
3539
|
-
MucCalendar:
|
|
3540
|
-
MucCallout:
|
|
3541
|
-
MucCard:
|
|
3542
|
-
MucCardContainer:
|
|
3543
|
-
MucCheckbox:
|
|
3544
|
-
MucCheckboxGroup:
|
|
3537
|
+
MucCalendar: Br,
|
|
3538
|
+
MucCallout: Xr,
|
|
3539
|
+
MucCard: ri,
|
|
3540
|
+
MucCardContainer: li,
|
|
3541
|
+
MucCheckbox: Pi,
|
|
3542
|
+
MucCheckboxGroup: Wi,
|
|
3545
3543
|
MucComment: va,
|
|
3546
|
-
MucCommentText:
|
|
3547
|
-
MucCounter:
|
|
3544
|
+
MucCommentText: wi,
|
|
3545
|
+
MucCounter: ro,
|
|
3548
3546
|
MucDivider: bn,
|
|
3549
3547
|
MucErrorList: co,
|
|
3550
|
-
MucFileDropzone:
|
|
3548
|
+
MucFileDropzone: Fi,
|
|
3551
3549
|
MucIcon: ye,
|
|
3552
3550
|
MucInput: Eo,
|
|
3553
3551
|
MucIntro: tl,
|
|
3554
3552
|
MucLink: ma,
|
|
3555
|
-
MucPercentageSpinner:
|
|
3553
|
+
MucPercentageSpinner: rl,
|
|
3556
3554
|
MucRadioButton: So,
|
|
3557
3555
|
MucRadioButtonGroup: Lo,
|
|
3558
3556
|
MucSelect: Bo,
|
|
@@ -3567,25 +3565,25 @@ function Us(e) {
|
|
|
3567
3565
|
}
|
|
3568
3566
|
const Ws = { install: Us };
|
|
3569
3567
|
export {
|
|
3570
|
-
|
|
3568
|
+
fr as MucBanner,
|
|
3571
3569
|
Pe as MucButton,
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3570
|
+
Br as MucCalendar,
|
|
3571
|
+
Xr as MucCallout,
|
|
3572
|
+
ri as MucCard,
|
|
3573
|
+
li as MucCardContainer,
|
|
3574
|
+
Pi as MucCheckbox,
|
|
3575
|
+
Wi as MucCheckboxGroup,
|
|
3578
3576
|
va as MucComment,
|
|
3579
|
-
|
|
3580
|
-
|
|
3577
|
+
wi as MucCommentText,
|
|
3578
|
+
ro as MucCounter,
|
|
3581
3579
|
bn as MucDivider,
|
|
3582
3580
|
co as MucErrorList,
|
|
3583
|
-
|
|
3581
|
+
Fi as MucFileDropzone,
|
|
3584
3582
|
ye as MucIcon,
|
|
3585
3583
|
Eo as MucInput,
|
|
3586
3584
|
tl as MucIntro,
|
|
3587
3585
|
ma as MucLink,
|
|
3588
|
-
|
|
3586
|
+
rl as MucPercentageSpinner,
|
|
3589
3587
|
So as MucRadioButton,
|
|
3590
3588
|
Lo as MucRadioButtonGroup,
|
|
3591
3589
|
Bo as MucSelect,
|