@muenchen/muc-patternlab-vue 1.15.0-beta.2 → 1.15.0-beta.4

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.
@@ -1,30 +1,30 @@
1
- import { defineComponent as p, useAttrs as ie, computed as m, openBlock as l, createElementBlock as i, normalizeClass as x, normalizeStyle as oe, createElementVNode as a, createVNode as M, unref as k, renderSlot as g, createBlock as G, createCommentVNode as b, toDisplayString as c, useSlots as K, createTextVNode as y, Fragment as R, renderList as O, createSlots as re, withCtx as B, createStaticVNode as X, ref as V, onMounted as J, onUpdated as ce, withModifiers as j, mergeModels as E, useModel as H, watch as N, withDirectives as q, vModelDynamic as ue, inject as de, provide as me, readonly as fe, toRef as he, onBeforeUnmount as ve, useTemplateRef as pe, vModelText as Q } from "vue";
2
- const _e = ["href"], T = /* @__PURE__ */ p({
1
+ import { defineComponent as g, useAttrs as _e, computed as d, openBlock as i, createElementBlock as o, normalizeClass as I, normalizeStyle as ge, createElementVNode as n, createVNode as M, unref as $, renderSlot as w, createBlock as j, createCommentVNode as b, inject as te, toDisplayString as h, Fragment as E, renderList as O, mergeModels as V, ref as L, useModel as H, provide as ae, readonly as Z, toRef as X, withCtx as T, Transition as K, useSlots as ne, createTextVNode as S, createSlots as ye, createStaticVNode as le, onMounted as se, onUpdated as ke, withModifiers as N, watch as G, withDirectives as Q, vModelDynamic as be, onBeforeUnmount as Me, useTemplateRef as $e, vModelText as ie } from "vue";
2
+ const we = ["href"], B = /* @__PURE__ */ g({
3
3
  __name: "MucIcon",
4
4
  props: {
5
5
  icon: {},
6
6
  color: {}
7
7
  },
8
- setup(e) {
9
- const s = ie(), t = m(() => s.class ?? "icon");
10
- return (n, o) => (l(), i("svg", {
8
+ setup(t) {
9
+ const a = _e(), e = d(() => a.class ?? "icon");
10
+ return (s, l) => (i(), o("svg", {
11
11
  "aria-hidden": "true",
12
- class: x(t.value),
13
- style: oe({ color: n.color })
12
+ class: I(e.value),
13
+ style: ge({ color: s.color })
14
14
  }, [
15
- a("use", {
16
- href: "#icon-" + n.icon
17
- }, null, 8, _e)
15
+ n("use", {
16
+ href: "#icon-" + s.icon
17
+ }, null, 8, we)
18
18
  ], 6));
19
19
  }
20
- }), ge = ["role", "aria-label"], be = { class: "container-fluid" }, ye = /* @__PURE__ */ p({
20
+ }), Ae = ["role", "aria-label"], Ce = { class: "container-fluid" }, De = /* @__PURE__ */ g({
21
21
  __name: "MucBanner",
22
22
  props: {
23
23
  type: { default: "info" }
24
24
  },
25
- setup(e) {
26
- const s = m(() => {
27
- switch (e.type) {
25
+ setup(t) {
26
+ const a = d(() => {
27
+ switch (t.type) {
28
28
  case "info":
29
29
  return "m-banner--info";
30
30
  case "success":
@@ -36,8 +36,8 @@ const _e = ["href"], T = /* @__PURE__ */ p({
36
36
  default:
37
37
  return "m-banner--info";
38
38
  }
39
- }), t = m(() => {
40
- switch (e.type) {
39
+ }), e = d(() => {
40
+ switch (t.type) {
41
41
  case "info":
42
42
  return "dialog";
43
43
  case "success":
@@ -49,8 +49,8 @@ const _e = ["href"], T = /* @__PURE__ */ p({
49
49
  default:
50
50
  return "dialog";
51
51
  }
52
- }), n = m(() => {
53
- switch (e.type) {
52
+ }), s = d(() => {
53
+ switch (t.type) {
54
54
  case "info":
55
55
  return "Information";
56
56
  case "success":
@@ -62,8 +62,8 @@ const _e = ["href"], T = /* @__PURE__ */ p({
62
62
  default:
63
63
  return "Information";
64
64
  }
65
- }), o = m(() => {
66
- switch (e.type) {
65
+ }), l = d(() => {
66
+ switch (t.type) {
67
67
  case "success":
68
68
  return "check";
69
69
  case "warning":
@@ -74,27 +74,27 @@ const _e = ["href"], T = /* @__PURE__ */ p({
74
74
  return "information";
75
75
  }
76
76
  });
77
- return (d, u) => (l(), i("div", null, [
78
- a("div", null, [
79
- a("div", {
80
- class: x(["m-banner", s.value]),
81
- role: t.value,
82
- "aria-label": n.value
77
+ return (c, u) => (i(), o("div", null, [
78
+ n("div", null, [
79
+ n("div", {
80
+ class: I(["m-banner", a.value]),
81
+ role: e.value,
82
+ "aria-label": s.value
83
83
  }, [
84
- a("div", be, [
85
- M(k(T), { icon: o.value }, null, 8, ["icon"]),
86
- g(d.$slots, "default", {}, void 0, !0)
84
+ n("div", Ce, [
85
+ M($(B), { icon: l.value }, null, 8, ["icon"]),
86
+ w(c.$slots, "default", {}, void 0, !0)
87
87
  ])
88
- ], 10, ge)
88
+ ], 10, Ae)
89
89
  ])
90
90
  ]));
91
91
  }
92
- }), z = (e, s) => {
93
- const t = e.__vccOpts || e;
94
- for (const [n, o] of s)
95
- t[n] = o;
96
- return t;
97
- }, ke = /* @__PURE__ */ z(ye, [["__scopeId", "data-v-01cbc1dd"]]), $e = ["disabled"], P = /* @__PURE__ */ p({
92
+ }), F = (t, a) => {
93
+ const e = t.__vccOpts || t;
94
+ for (const [s, l] of a)
95
+ e[s] = l;
96
+ return e;
97
+ }, Se = /* @__PURE__ */ F(De, [["__scopeId", "data-v-01cbc1dd"]]), Ie = ["disabled"], Y = /* @__PURE__ */ g({
98
98
  __name: "MucButton",
99
99
  props: {
100
100
  variant: { default: "primary" },
@@ -103,9 +103,9 @@ const _e = ["href"], T = /* @__PURE__ */ p({
103
103
  iconAnimated: { type: Boolean, default: !1 }
104
104
  },
105
105
  emits: ["click"],
106
- setup(e, { emit: s }) {
107
- const t = s, n = m(() => {
108
- switch (e.variant) {
106
+ setup(t, { emit: a }) {
107
+ const e = a, s = d(() => {
108
+ switch (t.variant) {
109
109
  case "secondary":
110
110
  return "m-button--secondary";
111
111
  case "ghost":
@@ -113,34 +113,346 @@ const _e = ["href"], T = /* @__PURE__ */ p({
113
113
  default:
114
114
  return "m-button--primary";
115
115
  }
116
- }), o = m(
117
- () => e.iconAnimated ? "m-button--animated-right" : ""
118
- ), d = () => {
119
- t("click");
116
+ }), l = d(
117
+ () => t.iconAnimated ? "m-button--animated-right" : ""
118
+ ), c = () => {
119
+ e("click");
120
120
  };
121
- return (u, f) => (l(), i("button", {
122
- onClick: d,
121
+ return (u, f) => (i(), o("button", {
122
+ onClick: c,
123
123
  disabled: u.disabled,
124
- class: x(["m-button", [n.value, o.value]])
124
+ class: I(["m-button", [s.value, l.value]])
125
125
  }, [
126
- a("span", null, [
127
- g(u.$slots, "default"),
128
- u.icon ? (l(), G(k(T), {
126
+ n("span", null, [
127
+ w(u.$slots, "default"),
128
+ u.icon ? (i(), j($(B), {
129
129
  key: 0,
130
130
  icon: u.icon,
131
131
  class: "m-button__icon"
132
132
  }, null, 8, ["icon"])) : b("", !0)
133
133
  ])
134
- ], 10, $e));
134
+ ], 10, Ie));
135
135
  }
136
- }), Me = ["aria-label"], Ce = { class: "m-callout__inner" }, we = { class: "m-callout__icon" }, Ae = { class: "m-callout__body" }, Se = { class: "m-callout__body__inner" }, Te = { class: "m-callout__headline" }, Fe = { class: "m-callout__content" }, Ie = /* @__PURE__ */ p({
136
+ }), oe = "de-DE", re = 12, ce = Symbol("mucCalendar"), P = (t, a) => t.getDate() === a.getDate() && t.getMonth() === a.getMonth() && t.getFullYear() === a.getFullYear(), J = (t, a) => t > a, U = (t) => t !== null && t.from !== void 0 && t.to !== void 0, Fe = /* @__PURE__ */ g({
137
+ __name: "MucDayTile",
138
+ props: {
139
+ date: {},
140
+ showAdjacentMonths: { type: Boolean, default: !1 }
141
+ },
142
+ emits: ["click"],
143
+ setup(t, { emit: a }) {
144
+ const e = te(ce), s = a, l = d(() => {
145
+ if ((e == null ? void 0 : e.selectedDate.value) === null)
146
+ return !1;
147
+ if ((e == null ? void 0 : e.selectedDate.value) instanceof Date)
148
+ return P(e == null ? void 0 : e.selectedDate.value, t.date);
149
+ if (Array.isArray(e == null ? void 0 : e.selectedDate.value))
150
+ return e == null ? void 0 : e.selectedDate.value.some(
151
+ (m) => P(m, t.date)
152
+ );
153
+ if (U(e.selectedDate.value)) {
154
+ const { from: m, to: _ } = e.selectedDate.value;
155
+ return m && P(m, t.date) || _ && P(_, t.date);
156
+ }
157
+ }), c = d(() => (e == null ? void 0 : e.variant.value) === "range" && U(e.selectedDate.value) ? (e == null ? void 0 : e.selectedDate.value.from) !== null && (e == null ? void 0 : e.selectedDate.value.to) !== null && J(t.date, e.selectedDate.value.from) && J(e.selectedDate.value.to, t.date) : !1), u = d(
158
+ () => t.date.getMonth() === (e == null ? void 0 : e.viewDate.value.getMonth())
159
+ ), f = () => {
160
+ e != null && e.allowedDates(t.date) && s("click", t.date);
161
+ };
162
+ return (m, _) => {
163
+ var v;
164
+ return u.value || m.showAdjacentMonths ? (i(), o("div", {
165
+ key: 0,
166
+ onClick: f,
167
+ class: I({
168
+ "disabled-tile": !((v = $(e)) != null && v.allowedDates(m.date)),
169
+ "off-month": !u.value,
170
+ selected: l.value,
171
+ "selected-range": c.value
172
+ })
173
+ }, h(m.date.getDate()), 3)) : b("", !0);
174
+ };
175
+ }
176
+ }), Te = /* @__PURE__ */ F(Fe, [["__scopeId", "data-v-a7631835"]]), Le = { class: "muc-calendar-view-full-size" }, Be = { class: "muc-calendar-container table-header" }, xe = { class: "muc-calendar-container" }, ze = 7, Ee = /* @__PURE__ */ g({
177
+ __name: "MucCalendarDay",
178
+ props: {
179
+ viewDate: {},
180
+ variant: {},
181
+ disabled: { type: Boolean },
182
+ showAdjacentMonths: { type: Boolean }
183
+ },
184
+ emits: ["clicked"],
185
+ setup(t, { emit: a }) {
186
+ const e = 6 * ze, s = ["Mo", "Di", "Mi", "Do", "Fr", "Sa", "So"], l = t, c = a, u = d(
187
+ () => new Date(l.viewDate.getFullYear(), l.viewDate.getMonth(), 1)
188
+ ), f = d(
189
+ () => l.showAdjacentMonths ? 0 : (u.value.getDay() || 7) - 1
190
+ ), m = d(
191
+ () => v(u.value, -u.value.getDay() || -7)
192
+ ), _ = (y) => {
193
+ c("clicked", y);
194
+ }, v = (y, A) => new Date(new Date(y).setDate(y.getDate() + A));
195
+ return (y, A) => (i(), o("div", Le, [
196
+ n("div", Be, [
197
+ (i(), o(E, null, O(s, (C, R) => n("div", {
198
+ class: "header-item",
199
+ key: R
200
+ }, [
201
+ n("strong", null, h(C), 1)
202
+ ])), 64))
203
+ ]),
204
+ n("div", xe, [
205
+ (i(!0), o(E, null, O(f.value, (C) => (i(), o("div", { key: C }))), 128)),
206
+ (i(), o(E, null, O(e, (C) => M(Te, {
207
+ class: "muc-calendar-item",
208
+ date: v(m.value, C),
209
+ "show-adjacent-months": y.showAdjacentMonths,
210
+ onClick: _,
211
+ key: C
212
+ }, null, 8, ["date", "show-adjacent-months"])), 64))
213
+ ])
214
+ ]));
215
+ }
216
+ }), Oe = /* @__PURE__ */ F(Ee, [["__scopeId", "data-v-e7805970"]]), Ve = { class: "muc-calendar-container muc-calendar-view-full-size" }, je = ["onClick"], Ye = "short", Re = /* @__PURE__ */ g({
217
+ __name: "MucCalendarMonth",
218
+ props: {
219
+ viewDate: {}
220
+ },
221
+ emits: ["clicked"],
222
+ setup(t, { emit: a }) {
223
+ const e = t, s = a, l = d(
224
+ () => Array.from(
225
+ { length: re },
226
+ (f, m) => new Date(e.viewDate.getFullYear(), m)
227
+ )
228
+ ), c = (f) => f.toLocaleDateString(oe, { month: Ye }), u = (f) => s("clicked", f);
229
+ return (f, m) => (i(), o("div", Ve, [
230
+ (i(!0), o(E, null, O(l.value, (_, v) => (i(), o("div", {
231
+ key: v,
232
+ class: I([{
233
+ "muc-calendar-current-item": (/* @__PURE__ */ new Date()).getMonth() === _.getMonth() && (/* @__PURE__ */ new Date()).getFullYear() === _.getFullYear()
234
+ }, "muc-calendar-item"]),
235
+ onClick: (y) => u(_)
236
+ }, [
237
+ n("p", null, h(c(_)), 1)
238
+ ], 10, je))), 128))
239
+ ]));
240
+ }
241
+ }), He = /* @__PURE__ */ F(Re, [["__scopeId", "data-v-61bf5bda"]]), Pe = { class: "muc-calendar-container muc-calendar-view-full-size" }, Ne = ["onClick"], Ue = "numeric", We = /* @__PURE__ */ g({
242
+ __name: "MucCalendarYear",
243
+ props: {
244
+ viewDate: {}
245
+ },
246
+ emits: ["clicked"],
247
+ setup(t, { emit: a }) {
248
+ const e = t, s = a, l = d(
249
+ () => Array.from(
250
+ { length: re },
251
+ (f, m) => new Date(
252
+ e.viewDate.getFullYear() - e.viewDate.getFullYear() % 10 + m,
253
+ e.viewDate.getMonth()
254
+ )
255
+ )
256
+ ), c = (f) => f.toLocaleDateString(oe, { year: Ue }), u = (f) => s("clicked", f);
257
+ return (f, m) => (i(), o("div", Pe, [
258
+ (i(!0), o(E, null, O(l.value, (_, v) => (i(), o("div", {
259
+ key: v,
260
+ class: I(["muc-calendar-item", {
261
+ "muc-calendar-current-item": (/* @__PURE__ */ new Date()).getFullYear() === _.getFullYear()
262
+ }]),
263
+ onClick: (y) => u(_)
264
+ }, h(c(_)), 11, Ne))), 128))
265
+ ]));
266
+ }
267
+ }), Ge = /* @__PURE__ */ F(We, [["__scopeId", "data-v-67492bc8"]]), qe = { class: "container-wrapper" }, Ke = { class: "caption" }, Ze = { class: "container-view-size" }, Xe = /* @__PURE__ */ g({
268
+ __name: "MucCalendar",
269
+ props: /* @__PURE__ */ V({
270
+ viewMonth: {},
271
+ showAdjacentMonths: { type: Boolean, default: !1 },
272
+ variant: { default: "single" },
273
+ disabled: { type: Boolean, default: !1 },
274
+ noAnimation: { type: Boolean, default: !1 },
275
+ allowedDates: { type: Function, default: () => !0 }
276
+ }, {
277
+ modelValue: {
278
+ default: null
279
+ },
280
+ modelModifiers: {}
281
+ }),
282
+ emits: ["update:modelValue"],
283
+ setup(t) {
284
+ const a = L(
285
+ t.viewMonth || new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1)
286
+ ), e = L("day"), s = L(), l = H(t, "modelValue"), c = d(() => {
287
+ switch (e.value) {
288
+ case "day":
289
+ return a.value.toLocaleDateString("de-De", {
290
+ month: "long",
291
+ year: "numeric"
292
+ });
293
+ case "month":
294
+ return a.value.toLocaleDateString("de-De", {
295
+ year: "numeric"
296
+ });
297
+ case "year": {
298
+ const r = a.value.getFullYear() - a.value.getFullYear() % 10;
299
+ return `${r} - ${r + 11}`;
300
+ }
301
+ default:
302
+ return "";
303
+ }
304
+ }), u = () => {
305
+ switch (e.value) {
306
+ case "day":
307
+ a.value = new Date(
308
+ a.value.setMonth(a.value.getMonth() - 1)
309
+ );
310
+ break;
311
+ case "month":
312
+ a.value = new Date(
313
+ a.value.setFullYear(a.value.getFullYear() - 1)
314
+ );
315
+ break;
316
+ case "year":
317
+ a.value = new Date(
318
+ a.value.setFullYear(a.value.getFullYear() - 12)
319
+ );
320
+ }
321
+ }, f = () => {
322
+ switch (e.value) {
323
+ case "day":
324
+ a.value = new Date(
325
+ a.value.setMonth(a.value.getMonth() + 1)
326
+ );
327
+ break;
328
+ case "month":
329
+ a.value = new Date(
330
+ a.value.setFullYear(a.value.getFullYear() + 1)
331
+ );
332
+ break;
333
+ case "year":
334
+ a.value = new Date(
335
+ a.value.setFullYear(a.value.getFullYear() + 12)
336
+ );
337
+ }
338
+ }, m = (r) => {
339
+ console.log(U(l.value)), (Array.isArray(l.value) || U(l.value)) && (l.value = Object.values(l.value)[0]), l.value = l.value === null || !P(l.value, r) ? r : null;
340
+ }, _ = (r) => {
341
+ l.value === null ? l.value = [] : l.value instanceof Date ? l.value = [l.value] : U(l.value) && (l.value = [
342
+ l.value.from,
343
+ l.value.to
344
+ ].filter((k) => k !== null)), l.value = l.value.includes(r) ? l.value.filter((k) => k !== r) : [...l.value, r];
345
+ }, v = (r) => {
346
+ l.value === null || Array.isArray(l.value) ? l.value = { from: null, to: null } : l.value instanceof Date && (l.value = { from: l.value, to: null }), l.value = !l.value.from || l.value.to ? { from: r, to: null } : J(l.value.from, r) ? { from: r, to: l.value.from } : { from: l.value.from, to: r };
347
+ }, y = (r) => {
348
+ if (!t.disabled)
349
+ switch (t.variant) {
350
+ case "single":
351
+ m(r);
352
+ break;
353
+ case "multiple":
354
+ _(r);
355
+ break;
356
+ case "range":
357
+ v(r);
358
+ break;
359
+ }
360
+ }, A = (r) => {
361
+ s.value = "view-detail", a.value = new Date(r.getFullYear(), r.getMonth()), R();
362
+ }, C = () => {
363
+ s.value = "view-broad", e.value === "day" ? e.value = "month" : e.value === "month" && (e.value = "year");
364
+ }, R = () => {
365
+ e.value === "year" ? e.value = "month" : e.value === "month" && (e.value = "day");
366
+ };
367
+ return ae(ce, {
368
+ viewDate: a,
369
+ selectedDate: l,
370
+ variant: Z(X(() => t.variant)),
371
+ showAdjacentMonths: Z(X(() => t.showAdjacentMonths)),
372
+ allowedDates: t.allowedDates
373
+ }), (r, k) => (i(), o("div", null, [
374
+ n("div", qe, [
375
+ n("div", Ke, [
376
+ M($(Y), {
377
+ onClick: u,
378
+ variant: "ghost",
379
+ icon: "chevron-left"
380
+ }),
381
+ M($(Y), {
382
+ class: "header",
383
+ variant: "ghost",
384
+ onClick: C
385
+ }, {
386
+ default: T(() => [
387
+ n("h3", null, h(c.value), 1)
388
+ ]),
389
+ _: 1
390
+ }),
391
+ M($(Y), {
392
+ onClick: f,
393
+ variant: "ghost",
394
+ icon: "chevron-right"
395
+ })
396
+ ]),
397
+ n("div", Ze, [
398
+ M(K, {
399
+ class: "transition",
400
+ css: !r.noAnimation,
401
+ name: s.value
402
+ }, {
403
+ default: T(() => [
404
+ e.value === "year" ? (i(), j(Ge, {
405
+ key: 0,
406
+ "view-date": a.value,
407
+ onClicked: A
408
+ }, null, 8, ["view-date"])) : b("", !0)
409
+ ]),
410
+ _: 1
411
+ }, 8, ["css", "name"]),
412
+ M(K, {
413
+ class: "transition",
414
+ css: !r.noAnimation,
415
+ name: s.value
416
+ }, {
417
+ default: T(() => [
418
+ e.value === "month" ? (i(), j(He, {
419
+ key: 0,
420
+ "view-date": a.value,
421
+ onClicked: A
422
+ }, null, 8, ["view-date"])) : b("", !0)
423
+ ]),
424
+ _: 1
425
+ }, 8, ["css", "name"]),
426
+ M(K, {
427
+ class: "transition",
428
+ css: !r.noAnimation,
429
+ name: s.value
430
+ }, {
431
+ default: T(() => [
432
+ e.value === "day" ? (i(), j(Oe, {
433
+ key: 0,
434
+ variant: r.variant,
435
+ disabled: r.disabled,
436
+ "show-adjacent-months": r.showAdjacentMonths,
437
+ "selected-date": l.value,
438
+ "view-date": a.value,
439
+ onClicked: y
440
+ }, null, 8, ["variant", "disabled", "show-adjacent-months", "selected-date", "view-date"])) : b("", !0)
441
+ ]),
442
+ _: 1
443
+ }, 8, ["css", "name"])
444
+ ])
445
+ ])
446
+ ]));
447
+ }
448
+ }), Je = /* @__PURE__ */ F(Xe, [["__scopeId", "data-v-9744d6fd"]]), Qe = ["aria-label"], et = { class: "m-callout__inner" }, tt = { class: "m-callout__icon" }, at = { class: "m-callout__body" }, nt = { class: "m-callout__body__inner" }, lt = { class: "m-callout__headline" }, st = { class: "m-callout__content" }, it = /* @__PURE__ */ g({
137
449
  __name: "MucCallout",
138
450
  props: {
139
451
  type: { default: "info" }
140
452
  },
141
- setup(e) {
142
- const s = m(() => {
143
- switch (e.type) {
453
+ setup(t) {
454
+ const a = d(() => {
455
+ switch (t.type) {
144
456
  case "error":
145
457
  case "warning":
146
458
  return "warning";
@@ -149,8 +461,8 @@ const _e = ["href"], T = /* @__PURE__ */ p({
149
461
  default:
150
462
  return "information";
151
463
  }
152
- }), t = m(() => {
153
- switch (e.type) {
464
+ }), e = d(() => {
465
+ switch (t.type) {
154
466
  case "error":
155
467
  return "m-callout--error";
156
468
  case "warning":
@@ -160,8 +472,8 @@ const _e = ["href"], T = /* @__PURE__ */ p({
160
472
  default:
161
473
  return "m-callout--default";
162
474
  }
163
- }), n = m(() => {
164
- switch (e.type) {
475
+ }), s = d(() => {
476
+ switch (t.type) {
165
477
  case "success":
166
478
  return "Erfolgreich";
167
479
  case "warning":
@@ -172,146 +484,149 @@ const _e = ["href"], T = /* @__PURE__ */ p({
172
484
  return "Information";
173
485
  }
174
486
  });
175
- return (o, d) => (l(), i("div", {
176
- class: x(["m-callout", t.value]),
177
- "aria-label": n.value
487
+ return (l, c) => (i(), o("div", {
488
+ class: I(["m-callout", e.value]),
489
+ "aria-label": s.value
178
490
  }, [
179
- a("div", Ce, [
180
- a("div", we, [
181
- g(o.$slots, "icon", {}, () => [
182
- M(k(T), { icon: s.value }, null, 8, ["icon"])
491
+ n("div", et, [
492
+ n("div", tt, [
493
+ w(l.$slots, "icon", {}, () => [
494
+ M($(B), { icon: a.value }, null, 8, ["icon"])
183
495
  ], !0)
184
496
  ]),
185
- a("div", Ae, [
186
- a("div", Se, [
187
- a("div", Te, [
188
- g(o.$slots, "header", {}, void 0, !0)
497
+ n("div", at, [
498
+ n("div", nt, [
499
+ n("div", lt, [
500
+ w(l.$slots, "header", {}, void 0, !0)
189
501
  ]),
190
- a("div", Fe, [
191
- a("p", null, [
192
- g(o.$slots, "content", { class: "m-callout__content" }, void 0, !0)
502
+ n("div", st, [
503
+ n("p", null, [
504
+ w(l.$slots, "content", { class: "m-callout__content" }, void 0, !0)
193
505
  ])
194
506
  ])
195
507
  ])
196
508
  ])
197
509
  ])
198
- ], 10, Me));
510
+ ], 10, Qe));
199
511
  }
200
- }), xe = /* @__PURE__ */ z(Ie, [["__scopeId", "data-v-71a5ca15"]]), Le = { class: "card-content" }, Be = { class: "card-header" }, Ve = {
512
+ }), ot = /* @__PURE__ */ F(it, [["__scopeId", "data-v-71a5ca15"]]), rt = { class: "card-content" }, ct = { class: "card-header" }, ut = {
201
513
  key: 0,
202
514
  class: "card-tagline"
203
- }, ze = /* @__PURE__ */ p({
515
+ }, dt = /* @__PURE__ */ g({
204
516
  __name: "MucCard",
205
517
  props: {
206
518
  title: {},
207
519
  tagline: {}
208
520
  },
209
521
  emits: ["click"],
210
- setup(e, { emit: s }) {
211
- const t = s;
212
- return (n, o) => (l(), i("div", {
522
+ setup(t, { emit: a }) {
523
+ const e = a;
524
+ return (s, l) => (i(), o("div", {
213
525
  class: "card",
214
- onClick: o[0] || (o[0] = (d) => t("click", d))
526
+ onClick: l[0] || (l[0] = (c) => e("click", c))
215
527
  }, [
216
- a("div", Le, [
217
- a("div", Be, [
218
- g(n.$slots, "headerPrefix", {}, void 0, !0),
219
- a("div", null, [
220
- n.tagline ? (l(), i("div", Ve, c(n.tagline), 1)) : b("", !0),
221
- a("div", null, [
222
- a("h3", null, c(n.title), 1)
528
+ n("div", rt, [
529
+ n("div", ct, [
530
+ w(s.$slots, "headerPrefix", {}, void 0, !0),
531
+ n("div", null, [
532
+ s.tagline ? (i(), o("div", ut, h(s.tagline), 1)) : b("", !0),
533
+ n("div", null, [
534
+ n("h3", null, h(s.title), 1)
223
535
  ])
224
536
  ])
225
537
  ]),
226
- o[1] || (o[1] = a("div", { class: "muc-divider" }, null, -1)),
227
- g(n.$slots, "content", {}, void 0, !0)
538
+ l[1] || (l[1] = n("div", { class: "muc-divider" }, null, -1)),
539
+ w(s.$slots, "content", {}, void 0, !0)
228
540
  ])
229
541
  ]));
230
542
  }
231
- }), Ee = /* @__PURE__ */ z(ze, [["__scopeId", "data-v-6dbe63e1"]]), Re = { class: "container card-container" }, He = /* @__PURE__ */ p({
543
+ }), mt = /* @__PURE__ */ F(dt, [["__scopeId", "data-v-6dbe63e1"]]), vt = { class: "container card-container" }, ht = /* @__PURE__ */ g({
232
544
  __name: "MucCardContainer",
233
- setup(e) {
234
- return (s, t) => (l(), i("div", Re, [
235
- g(s.$slots, "default", {}, void 0, !0)
545
+ setup(t) {
546
+ return (a, e) => (i(), o("div", vt, [
547
+ w(a.$slots, "default", {}, void 0, !0)
236
548
  ]));
237
549
  }
238
- }), je = /* @__PURE__ */ z(He, [["__scopeId", "data-v-6740df8f"]]), Oe = { class: "m-comment__head" }, Pe = { class: "m-comment__initials" }, De = { class: "m-comment__info" }, Ge = { class: "m-comment__author" }, Ue = { key: 0 }, We = { class: "m-comment__author" }, Ne = { class: "m-comment__date" }, qe = ["aria-label"], Ze = {
550
+ }), ft = /* @__PURE__ */ F(ht, [["__scopeId", "data-v-6740df8f"]]), pt = { class: "m-comment__head" }, _t = {
551
+ key: 0,
552
+ class: "m-comment__initials"
553
+ }, gt = { class: "m-comment__info" }, yt = { class: "m-comment__author" }, kt = { key: 0 }, bt = { class: "m-comment__author" }, Mt = { class: "m-comment__date" }, $t = ["aria-label"], wt = {
239
554
  key: 0,
240
555
  class: "m-star-rating__item m-star-rating__item--half"
241
- }, Ke = { class: "m-star-rating__numeric" }, Xe = { class: "m-comment__body" }, Je = { class: "m-comment__headline" }, Qe = { class: "m-comment__text" }, Ye = "de-DE", et = 0.2, tt = 0.8, D = 5, Y = /* @__PURE__ */ p({
556
+ }, At = { class: "m-star-rating__numeric" }, Ct = { class: "m-comment__body" }, Dt = { class: "m-comment__headline" }, St = { class: "m-comment__text" }, It = "de-DE", Ft = 0.2, Tt = 0.8, W = 5, ue = /* @__PURE__ */ g({
242
557
  __name: "MucComment",
243
558
  props: {
244
559
  rating: {},
245
560
  variant: { default: "listing" }
246
561
  },
247
- setup(e) {
248
- const s = K(), t = m(() => !!s.date), n = m(() => e.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), o = m(() => Math.min(Math.max(e.rating, 0), D)), d = m(() => o.value.toLocaleString(Ye.valueOf(), {
562
+ setup(t) {
563
+ const a = ne(), e = d(() => !!a.date), s = d(() => !!a.initials), l = d(() => t.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), c = d(() => Math.min(Math.max(t.rating, 0), W)), u = d(() => c.value.toLocaleString(It.valueOf(), {
249
564
  minimumFractionDigits: 1
250
- })), u = m(() => {
251
- const f = +(o.value % 1).toFixed(1);
252
- let C = Math.min(Math.floor(o.value), D), F = Math.floor(D - o.value), v = !1;
253
- return f !== 0 && (f <= et ? F++ : f >= tt ? C++ : v = !0), {
254
- fullStars: C,
255
- emptyStars: F,
256
- isHalfStar: v
565
+ })), f = d(() => {
566
+ const m = +(c.value % 1).toFixed(1);
567
+ let _ = Math.min(Math.floor(c.value), W), v = Math.floor(W - c.value), y = !1;
568
+ return m !== 0 && (m <= Ft ? v++ : m >= Tt ? _++ : y = !0), {
569
+ fullStars: _,
570
+ emptyStars: v,
571
+ isHalfStar: y
257
572
  };
258
573
  });
259
- return (f, C) => (l(), i("div", {
260
- class: x(["m-comment", n.value])
574
+ return (m, _) => (i(), o("div", {
575
+ class: I(["m-comment", l.value])
261
576
  }, [
262
- a("div", Oe, [
263
- a("div", Pe, [
264
- g(f.$slots, "initials")
265
- ]),
266
- a("div", De, [
267
- a("span", Ge, [
268
- g(f.$slots, "author")
577
+ n("div", pt, [
578
+ s.value ? (i(), o("div", _t, [
579
+ w(m.$slots, "initials")
580
+ ])) : b("", !0),
581
+ n("div", gt, [
582
+ n("span", yt, [
583
+ w(m.$slots, "author")
269
584
  ]),
270
- t.value ? (l(), i("span", Ue, [
271
- a("span", We, [
272
- C[0] || (C[0] = y("  ")),
273
- g(f.$slots, "datePrefix")
585
+ e.value ? (i(), o("span", kt, [
586
+ n("span", bt, [
587
+ _[0] || (_[0] = S("  ")),
588
+ w(m.$slots, "datePrefix")
274
589
  ]),
275
- a("span", Ne, [
276
- C[1] || (C[1] = y(" ")),
277
- g(f.$slots, "date")
590
+ n("span", Mt, [
591
+ _[1] || (_[1] = S(" ")),
592
+ w(m.$slots, "date")
278
593
  ])
279
594
  ])) : b("", !0),
280
- a("div", {
595
+ n("div", {
281
596
  class: "m-star-rating",
282
597
  role: "img",
283
- "aria-label": `Bewertung: ${f.rating} von ${D} Sternen`
598
+ "aria-label": `Bewertung: ${m.rating} von ${W} Sternen`
284
599
  }, [
285
- (l(!0), i(R, null, O(u.value.fullStars, (F) => (l(), i("div", {
286
- key: F,
600
+ (i(!0), o(E, null, O(f.value.fullStars, (v) => (i(), o("div", {
601
+ key: v,
287
602
  class: "m-star-rating__item m-star-rating__item--full"
288
603
  }, [
289
- M(k(T), { icon: "solid-star" })
604
+ M($(B), { icon: "solid-star" })
290
605
  ]))), 128)),
291
- u.value.isHalfStar ? (l(), i("div", Ze, [
292
- M(k(T), { icon: "half-star" })
606
+ f.value.isHalfStar ? (i(), o("div", wt, [
607
+ M($(B), { icon: "half-star" })
293
608
  ])) : b("", !0),
294
- (l(!0), i(R, null, O(u.value.emptyStars, (F) => (l(), i("div", {
295
- key: F,
609
+ (i(!0), o(E, null, O(f.value.emptyStars, (v) => (i(), o("div", {
610
+ key: v,
296
611
  class: "m-star-rating__item"
297
612
  }, [
298
- M(k(T), { icon: "solid-star" })
613
+ M($(B), { icon: "solid-star" })
299
614
  ]))), 128)),
300
- a("div", Ke, c(d.value), 1)
301
- ], 8, qe)
615
+ n("div", At, h(u.value), 1)
616
+ ], 8, $t)
302
617
  ])
303
618
  ]),
304
- a("div", Xe, [
305
- a("div", Je, [
306
- g(f.$slots, "headline")
619
+ n("div", Ct, [
620
+ n("div", Dt, [
621
+ w(m.$slots, "headline")
307
622
  ]),
308
- a("div", Qe, [
309
- g(f.$slots, "text")
623
+ n("div", St, [
624
+ w(m.$slots, "text")
310
625
  ])
311
626
  ])
312
627
  ], 2));
313
628
  }
314
- }), st = " ", at = /* @__PURE__ */ p({
629
+ }), Lt = " ", Bt = /* @__PURE__ */ g({
315
630
  __name: "MucCommentText",
316
631
  props: {
317
632
  datePrefix: { default: "am" },
@@ -323,43 +638,47 @@ const _e = ["href"], T = /* @__PURE__ */ p({
323
638
  rating: {},
324
639
  variant: { default: "listing" }
325
640
  },
326
- setup(e) {
327
- const s = m(() => ((e.initials ?? e.author.split(st).map((t) => t.charAt(0)).join("")).match(/^.|.$/g) ?? [""]).join(""));
328
- return (t, n) => (l(), G(k(Y), {
329
- rating: t.rating,
330
- variant: t.variant
331
- }, re({
332
- initials: B(() => [
333
- y(c(s.value), 1)
641
+ setup(t) {
642
+ const a = d(() => ((t.initials ?? t.author.split(Lt).map((e) => e.charAt(0)).join("")).match(/^.|.$/g) ?? [""]).join(""));
643
+ return (e, s) => (i(), j($(ue), {
644
+ rating: e.rating,
645
+ variant: e.variant
646
+ }, ye({
647
+ datePrefix: T(() => [
648
+ s[0] || (s[0] = S("am"))
334
649
  ]),
335
- datePrefix: B(() => [
336
- y(c(t.datePrefix), 1)
650
+ author: T(() => [
651
+ S(h(e.author), 1)
337
652
  ]),
338
- author: B(() => [
339
- y(c(t.author), 1)
653
+ headline: T(() => [
654
+ S(h(e.headline), 1)
340
655
  ]),
341
- headline: B(() => [
342
- y(c(t.headline), 1)
343
- ]),
344
- text: B(() => [
345
- y(c(t.text), 1)
656
+ text: T(() => [
657
+ S(h(e.text), 1)
346
658
  ]),
347
659
  _: 2
348
660
  }, [
349
- t.date ? {
350
- name: "date",
351
- fn: B(() => [
352
- y(c(t.date), 1)
661
+ a.value ? {
662
+ name: "initials",
663
+ fn: T(() => [
664
+ S(h(a.value), 1)
353
665
  ]),
354
666
  key: "0"
667
+ } : void 0,
668
+ e.date ? {
669
+ name: "date",
670
+ fn: T(() => [
671
+ S(h(e.date), 1)
672
+ ]),
673
+ key: "1"
355
674
  } : void 0
356
675
  ]), 1032, ["rating", "variant"]));
357
676
  }
358
- }), lt = {}, nt = { class: "divider-border" };
359
- function it(e, s) {
360
- return l(), i("hr", nt);
677
+ }), xt = {}, zt = { class: "divider-border" };
678
+ function Et(t, a) {
679
+ return i(), o("hr", zt);
361
680
  }
362
- const ot = /* @__PURE__ */ z(lt, [["render", it], ["__scopeId", "data-v-a2b37f5b"]]), rt = {}, ct = {
681
+ const Ot = /* @__PURE__ */ F(xt, [["render", Et], ["__scopeId", "data-v-a2b37f5b"]]), Vt = {}, jt = {
363
682
  "aria-hidden": "true",
364
683
  width: "108",
365
684
  height: "56",
@@ -367,21 +686,21 @@ const ot = /* @__PURE__ */ z(lt, [["render", it], ["__scopeId", "data-v-a2b37f5b
367
686
  fill: "none",
368
687
  xmlns: "http://www.w3.org/2000/svg"
369
688
  };
370
- function ut(e, s) {
371
- return l(), i("svg", ct, s[0] || (s[0] = [
372
- X('<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)
689
+ function Yt(t, a) {
690
+ return i(), o("svg", jt, a[0] || (a[0] = [
691
+ le('<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)
373
692
  ]));
374
693
  }
375
- const dt = /* @__PURE__ */ z(rt, [["render", ut]]), mt = {
694
+ const Rt = /* @__PURE__ */ F(Vt, [["render", Yt]]), Ht = {
376
695
  key: 0,
377
- class: "m-error-message"
378
- }, ft = {
696
+ class: "m-error-message drop-zone-error-message"
697
+ }, Pt = {
379
698
  key: 1,
380
- class: "m-error-message"
381
- }, ht = {
699
+ class: "m-error-message drop-zone-error-message"
700
+ }, Nt = {
382
701
  key: 2,
383
- class: "m-error-message"
384
- }, vt = /* @__PURE__ */ p({
702
+ class: "m-error-message drop-zone-error-message"
703
+ }, Ut = /* @__PURE__ */ g({
385
704
  __name: "MucFileDropzone",
386
705
  props: {
387
706
  buttonText: { default: "Upload file" },
@@ -400,151 +719,154 @@ const dt = /* @__PURE__ */ z(rt, [["render", ut]]), mt = {
400
719
  */
401
720
  "files"
402
721
  ],
403
- setup(e, { emit: s }) {
404
- const t = s, n = V(!0), o = V(!0), d = V(!0), u = V(!1), f = document.createElement("input");
405
- J(() => {
406
- f.type = "file", f.multiple = e.multiple, f.onchange = (h) => {
407
- const _ = h.target;
408
- if (_ != null && _.files && _.files.length > 0) {
409
- const I = Array.from(_.files);
410
- A(I);
722
+ setup(t, { emit: a }) {
723
+ const e = a, s = L(!0), l = L(!0), c = L(!0), u = L(!1), f = document.createElement("input");
724
+ se(() => {
725
+ f.type = "file", f.multiple = t.multiple, f.onchange = (r) => {
726
+ const k = r.target;
727
+ if (k != null && k.files && k.files.length > 0) {
728
+ const z = Array.from(k.files);
729
+ A(z);
411
730
  }
412
731
  };
413
- }), ce(() => {
414
- f.multiple = e.multiple;
732
+ }), ke(() => {
733
+ f.multiple = t.multiple;
415
734
  });
416
- const C = () => {
417
- e.disabled || f.click();
418
- }, F = (h) => {
419
- var _;
420
- if (!e.disabled) {
735
+ const m = () => {
736
+ t.disabled || f.click();
737
+ }, _ = (r) => {
738
+ var k;
739
+ if (!t.disabled) {
421
740
  if (!(f != null && f.multiple)) {
422
- const I = h.dataTransfer;
423
- if (((_ = I == null ? void 0 : I.items) == null ? void 0 : _.length) > 1) {
424
- d.value = !1;
741
+ const z = r.dataTransfer;
742
+ if (((k = z == null ? void 0 : z.items) == null ? void 0 : k.length) > 1) {
743
+ c.value = !1;
425
744
  return;
426
745
  }
427
746
  }
428
747
  u.value = !0;
429
748
  }
430
749
  }, v = () => {
431
- u.value = !1, d.value = !0;
432
- }, w = (h) => {
433
- var I;
434
- if (e.disabled) return;
435
- if (!d.value) {
436
- d.value = !0;
750
+ u.value = !1, c.value = !0;
751
+ }, y = (r) => {
752
+ var z;
753
+ if (t.disabled) return;
754
+ if (!c.value) {
755
+ c.value = !0;
437
756
  return;
438
757
  }
439
758
  u.value = !1;
440
- const _ = h.dataTransfer;
441
- if (((I = _ == null ? void 0 : _.files) == null ? void 0 : I.length) > 0) {
442
- const W = Array.from(_.files);
443
- A(W);
759
+ const k = r.dataTransfer;
760
+ if (((z = k == null ? void 0 : k.files) == null ? void 0 : z.length) > 0) {
761
+ const q = Array.from(k.files);
762
+ A(q);
444
763
  }
445
- }, A = (h) => {
446
- n.value = L(h), o.value = U(h), !(!n.value || !o.value) && t("files", h);
447
- }, L = (h) => e.maxFileSize ? !h.some((_) => _.size > e.maxFileSize * 1024 * 1024) : !0, U = (h) => e.maxTotalFileSize ? h.reduce((_, I) => _ + (I.size || 0), 0) <= e.maxTotalFileSize * 1024 * 1024 : !0;
448
- return (h, _) => (l(), i(R, null, [
449
- a("div", {
450
- class: x(["drop-zone", {
764
+ }, A = (r) => {
765
+ s.value = C(r), l.value = R(r), !(!s.value || !l.value) && e("files", r);
766
+ }, C = (r) => t.maxFileSize ? !r.some((k) => k.size > t.maxFileSize * 1024 * 1024) : !0, R = (r) => t.maxTotalFileSize ? r.reduce((k, z) => k + (z.size || 0), 0) <= t.maxTotalFileSize * 1024 * 1024 : !0;
767
+ return (r, k) => (i(), o(E, null, [
768
+ n("div", {
769
+ class: I(["drop-zone", {
451
770
  "is-dragover": u.value,
452
- "is-not-disabled": !h.disabled
771
+ "is-not-disabled": !r.disabled
453
772
  }]),
454
- onDragover: j(F, ["prevent"]),
455
- onDragleave: j(v, ["prevent"]),
456
- onDrop: j(w, ["prevent"]),
457
- onClick: C
773
+ onDragover: N(_, ["prevent"]),
774
+ onDragleave: N(v, ["prevent"]),
775
+ onDrop: N(y, ["prevent"]),
776
+ onClick: m
458
777
  }, [
459
- M(dt),
460
- M(k(P), {
778
+ M(Rt),
779
+ M($(Y), {
461
780
  variant: "secondary",
462
781
  icon: "upload",
463
- disabled: h.disabled
782
+ disabled: r.disabled
464
783
  }, {
465
- default: B(() => [
466
- y(c(h.buttonText), 1)
784
+ default: T(() => [
785
+ S(h(r.buttonText), 1)
467
786
  ]),
468
787
  _: 1
469
788
  }, 8, ["disabled"]),
470
- a("small", null, c(h.additionalInformation), 1)
789
+ n("small", null, h(r.additionalInformation), 1)
471
790
  ], 34),
472
- !n.value && h.maxFileSizeWarning ? (l(), i("span", mt, [
473
- M(k(T), { icon: "warning" }),
474
- y(" " + c(h.maxFileSizeWarning), 1)
791
+ !s.value && r.maxFileSizeWarning ? (i(), o("span", Ht, [
792
+ M($(B), {
793
+ icon: "warning--filled",
794
+ class: "icon"
795
+ }),
796
+ n("span", null, h(r.maxFileSizeWarning), 1)
475
797
  ])) : b("", !0),
476
- !o.value && h.maxTotalFileSizeWarning ? (l(), i("span", ft, [
477
- M(k(T), { icon: "warning" }),
478
- y(" " + c(h.maxTotalFileSizeWarning), 1)
798
+ !l.value && r.maxTotalFileSizeWarning ? (i(), o("span", Pt, [
799
+ M($(B), { icon: "warning--filled" }),
800
+ n("span", null, h(r.maxTotalFileSizeWarning), 1)
479
801
  ])) : b("", !0),
480
- d.value ? b("", !0) : (l(), i("span", ht, [
481
- M(k(T), { icon: "warning" }),
482
- y(" " + c(h.invalidAmountWarning), 1)
802
+ c.value ? b("", !0) : (i(), o("span", Nt, [
803
+ M($(B), { icon: "warning--filled" }),
804
+ n("span", null, h(r.invalidAmountWarning), 1)
483
805
  ]))
484
806
  ], 64));
485
807
  }
486
- }), pt = /* @__PURE__ */ z(vt, [["__scopeId", "data-v-8c3a02f8"]]), _t = ["checked"], gt = { class: "m-label m-checkboxes__label" }, bt = /* @__PURE__ */ p({
808
+ }), Wt = /* @__PURE__ */ F(Ut, [["__scopeId", "data-v-6c7f1541"]]), Gt = ["checked"], qt = { class: "m-label m-checkboxes__label" }, Kt = /* @__PURE__ */ g({
487
809
  __name: "MucCheckbox",
488
- props: /* @__PURE__ */ E({
810
+ props: /* @__PURE__ */ V({
489
811
  label: {}
490
812
  }, {
491
813
  modelValue: { type: Boolean, default: !1 },
492
814
  modelModifiers: {}
493
815
  }),
494
- emits: /* @__PURE__ */ E(["click"], ["update:modelValue"]),
495
- setup(e, { emit: s }) {
496
- const t = H(e, "modelValue"), n = s, o = () => {
497
- t.value = !t.value, n("click");
816
+ emits: /* @__PURE__ */ V(["click"], ["update:modelValue"]),
817
+ setup(t, { emit: a }) {
818
+ const e = H(t, "modelValue"), s = a, l = () => {
819
+ e.value = !e.value, s("click");
498
820
  };
499
- return (d, u) => (l(), i("div", {
821
+ return (c, u) => (i(), o("div", {
500
822
  class: "m-checkboxes__item",
501
- onClick: o
823
+ onClick: l
502
824
  }, [
503
- a("input", {
825
+ n("input", {
504
826
  class: "m-checkboxes__input",
505
827
  name: "checkbox",
506
828
  type: "checkbox",
507
- checked: t.value,
508
- onClick: j(o, ["stop"])
509
- }, null, 8, _t),
510
- a("label", gt, c(d.label), 1)
829
+ checked: e.value,
830
+ onClick: N(l, ["stop"])
831
+ }, null, 8, Gt),
832
+ n("label", qt, h(c.label), 1)
511
833
  ]));
512
834
  }
513
- }), yt = { class: "m-form-group" }, kt = { class: "m-checkbox-group" }, $t = { class: "m-checkbox-group__legend" }, Mt = { class: "m-checkbox-group__heading" }, Ct = { class: "m-checkboxes m-checkboxes--collapse" }, wt = {
835
+ }), Zt = { class: "m-form-group" }, Xt = { class: "m-checkbox-group" }, Jt = { class: "m-checkbox-group__legend" }, Qt = { class: "m-checkbox-group__heading" }, ea = { class: "m-checkboxes m-checkboxes--collapse" }, ta = {
514
836
  "aria-hidden": "true",
515
837
  class: "icon icon--after"
516
- }, At = ["href"], St = /* @__PURE__ */ p({
838
+ }, aa = ["href"], na = /* @__PURE__ */ g({
517
839
  __name: "MucCheckboxGroup",
518
840
  props: {
519
841
  heading: {}
520
842
  },
521
- setup(e) {
522
- const s = V(!0), t = m(() => s.value ? "collapse" : ""), n = m(() => s.value ? "down" : "up"), o = () => s.value = !s.value;
523
- return (d, u) => (l(), i("div", yt, [
524
- a("fieldset", kt, [
525
- a("legend", $t, [
526
- a("h3", Mt, c(d.heading), 1)
843
+ setup(t) {
844
+ const a = L(!0), e = d(() => a.value ? "collapse" : ""), s = d(() => a.value ? "down" : "up"), l = () => a.value = !a.value;
845
+ return (c, u) => (i(), o("div", Zt, [
846
+ n("fieldset", Xt, [
847
+ n("legend", Jt, [
848
+ n("h3", Qt, h(c.heading), 1)
527
849
  ]),
528
- a("div", Ct, [
529
- g(d.$slots, "checkboxes"),
530
- d.$slots.collapsableCheckboxes ? (l(), i("div", {
850
+ n("div", ea, [
851
+ w(c.$slots, "checkboxes"),
852
+ c.$slots.collapsableCheckboxes ? (i(), o("div", {
531
853
  key: 0,
532
- class: x(["m-checkboxes__collapse__container", t.value])
854
+ class: I(["m-checkboxes__collapse__container", e.value])
533
855
  }, [
534
- g(d.$slots, "collapsableCheckboxes")
856
+ w(c.$slots, "collapsableCheckboxes")
535
857
  ], 2)) : b("", !0),
536
- d.$slots.collapsableCheckboxes ? (l(), G(k(P), {
858
+ c.$slots.collapsableCheckboxes ? (i(), j($(Y), {
537
859
  key: 1,
538
860
  variant: "ghost",
539
- onClick: o,
540
- "aria-expanded": !s.value
861
+ onClick: l,
862
+ "aria-expanded": !a.value
541
863
  }, {
542
- default: B(() => [
543
- u[0] || (u[0] = a("span", null, "Mehr ", -1)),
544
- (l(), i("svg", wt, [
545
- a("use", {
546
- href: "#icon-chevron-" + n.value
547
- }, null, 8, At)
864
+ default: T(() => [
865
+ u[0] || (u[0] = n("span", null, "Mehr ", -1)),
866
+ (i(), o("svg", ta, [
867
+ n("use", {
868
+ href: "#icon-chevron-" + s.value
869
+ }, null, 8, aa)
548
870
  ]))
549
871
  ]),
550
872
  _: 1
@@ -553,7 +875,7 @@ const dt = /* @__PURE__ */ z(rt, [["render", ut]]), mt = {
553
875
  ])
554
876
  ]));
555
877
  }
556
- }), Tt = ["href", "target"], ee = /* @__PURE__ */ p({
878
+ }), la = ["href", "target"], de = /* @__PURE__ */ g({
557
879
  __name: "MucLink",
558
880
  props: {
559
881
  label: {},
@@ -562,31 +884,31 @@ const dt = /* @__PURE__ */ z(rt, [["render", ut]]), mt = {
562
884
  target: { default: "_blank" },
563
885
  noUnderline: { type: Boolean, default: !1 }
564
886
  },
565
- setup(e) {
566
- const s = m(
567
- () => e.noUnderline ? "m-link--reversed-underline" : ""
887
+ setup(t) {
888
+ const a = d(
889
+ () => t.noUnderline ? "m-link--reversed-underline" : ""
568
890
  );
569
- return (t, n) => (l(), i("a", {
570
- href: t.href,
571
- target: t.target,
572
- class: x(["m-link", s.value])
891
+ return (e, s) => (i(), o("a", {
892
+ href: e.href,
893
+ target: e.target,
894
+ class: I(["m-link", a.value])
573
895
  }, [
574
- y(c(t.label) + " ", 1),
575
- g(t.$slots, "icon", {}, () => [
576
- t.icon ? (l(), G(k(T), {
896
+ S(h(e.label) + " ", 1),
897
+ w(e.$slots, "icon", {}, () => [
898
+ e.icon ? (i(), j($(B), {
577
899
  key: 0,
578
- icon: t.icon,
900
+ icon: e.icon,
579
901
  class: "icon icon--after"
580
902
  }, null, 8, ["icon"])) : b("", !0)
581
903
  ])
582
- ], 10, Tt));
904
+ ], 10, la));
583
905
  }
584
- }), Ft = { class: "grid" }, It = { class: "grid-item" }, xt = { tabindex: "0" }, Lt = {
906
+ }), sa = { class: "grid" }, ia = { class: "grid-item" }, oa = { tabindex: "0" }, ra = {
585
907
  class: "centered-text-number",
586
908
  style: { color: "var(--color-brand-main-blue)" }
587
- }, Bt = { class: "visually-hidden" }, Vt = { class: "grid-item centered-text-label" }, zt = { key: 0 }, Et = { key: 1 }, Rt = /* @__PURE__ */ p({
909
+ }, ca = { class: "visually-hidden" }, ua = { class: "grid-item centered-text-label" }, da = { key: 0 }, ma = { key: 1 }, va = /* @__PURE__ */ g({
588
910
  __name: "MucCounter",
589
- props: /* @__PURE__ */ E({
911
+ props: /* @__PURE__ */ V({
590
912
  label: {},
591
913
  min: {},
592
914
  max: {},
@@ -597,120 +919,120 @@ const dt = /* @__PURE__ */ z(rt, [["render", ut]]), mt = {
597
919
  modelModifiers: {}
598
920
  }),
599
921
  emits: ["update:modelValue"],
600
- setup(e) {
601
- const s = H(e, "modelValue");
602
- N(
603
- () => e.min,
922
+ setup(t) {
923
+ const a = H(t, "modelValue");
924
+ G(
925
+ () => t.min,
604
926
  () => {
605
- e.min && s.value < e.min && (s.value = e.min);
927
+ t.min && a.value < t.min && (a.value = t.min);
606
928
  }
607
- ), N(
608
- () => e.max,
929
+ ), G(
930
+ () => t.max,
609
931
  () => {
610
- e.max && s.value > e.max && (s.value = e.max);
932
+ t.max && a.value > t.max && (a.value = t.max);
611
933
  }
612
934
  );
613
- const t = () => s.value++, n = () => s.value--, o = m(
614
- () => !!e.max && !(s.value < e.max) || e.disabled
615
- ), d = m(
616
- () => s.value == 0 || !!e.min && !(s.value > e.min) || e.disabled
935
+ const e = () => a.value++, s = () => a.value--, l = d(
936
+ () => !!t.max && !(a.value < t.max) || t.disabled
937
+ ), c = d(
938
+ () => a.value == 0 || !!t.min && !(a.value > t.min) || t.disabled
617
939
  );
618
- return (u, f) => (l(), i("div", Ft, [
619
- a("div", It, [
620
- M(k(P), {
621
- onClick: n,
940
+ return (u, f) => (i(), o("div", sa, [
941
+ n("div", ia, [
942
+ M($(Y), {
943
+ onClick: s,
622
944
  variant: "secondary",
623
- disabled: d.value,
624
- "aria-label": "Anzahl " + u.label + " reduzieren auf " + (s.value - 1)
945
+ disabled: c.value,
946
+ "aria-label": "Anzahl " + u.label + " reduzieren auf " + (a.value - 1)
625
947
  }, {
626
- default: B(() => [
627
- M(k(T), { icon: "minus" })
948
+ default: T(() => [
949
+ M($(B), { icon: "minus" })
628
950
  ]),
629
951
  _: 1
630
952
  }, 8, ["disabled", "aria-label"]),
631
- a("p", xt, [
632
- a("strong", Lt, [
633
- a("span", Bt, " Aktuell ausgewählte Anzahl für " + c(u.label) + " ist", 1),
634
- y(" " + c(s.value), 1)
953
+ n("p", oa, [
954
+ n("strong", ra, [
955
+ n("span", ca, " Aktuell ausgewählte Anzahl für " + h(u.label) + " ist", 1),
956
+ S(" " + h(a.value), 1)
635
957
  ])
636
958
  ]),
637
- M(k(P), {
638
- onClick: t,
959
+ M($(Y), {
960
+ onClick: e,
639
961
  variant: "secondary",
640
- disabled: o.value,
641
- "aria-label": "Anzahl " + u.label + " erhöhen auf " + (s.value + 1)
962
+ disabled: l.value,
963
+ "aria-label": "Anzahl " + u.label + " erhöhen auf " + (a.value + 1)
642
964
  }, {
643
- default: B(() => [
644
- M(k(T), { icon: "plus" })
965
+ default: T(() => [
966
+ M($(B), { icon: "plus" })
645
967
  ]),
646
968
  _: 1
647
969
  }, 8, ["disabled", "aria-label"])
648
970
  ]),
649
- a("div", Vt, [
650
- u.link ? (l(), i("p", zt, [
651
- a("label", null, [
652
- M(k(ee), {
971
+ n("div", ua, [
972
+ u.link ? (i(), o("p", da, [
973
+ n("label", null, [
974
+ M($(de), {
653
975
  tabindex: "0",
654
976
  label: u.label,
655
977
  href: u.link
656
978
  }, null, 8, ["label", "href"])
657
979
  ])
658
- ])) : (l(), i("p", Et, [
659
- a("label", null, c(u.label), 1)
980
+ ])) : (i(), o("p", ma, [
981
+ n("label", null, h(u.label), 1)
660
982
  ]))
661
983
  ])
662
984
  ]));
663
985
  }
664
- }), Ht = /* @__PURE__ */ z(Rt, [["__scopeId", "data-v-e3bbeec7"]]), jt = {
986
+ }), ha = /* @__PURE__ */ F(va, [["__scopeId", "data-v-e3bbeec7"]]), fa = {
665
987
  class: "m-error-list",
666
988
  role: "alert",
667
989
  tabindex: "-1"
668
- }, Ot = { class: "m-error-list__title" }, Pt = { class: "m-error-list__body" }, Dt = { class: "m-list m-error-list__list" }, Gt = "Ein Fehler ist aufgetreten!", Ut = /* @__PURE__ */ p({
990
+ }, pa = { class: "m-error-list__title" }, _a = { class: "m-error-list__body" }, ga = { class: "m-list m-error-list__list" }, ya = "Ein Fehler ist aufgetreten!", ka = /* @__PURE__ */ g({
669
991
  __name: "MucErrorList",
670
992
  props: {
671
- title: { default: () => Gt },
993
+ title: { default: () => ya },
672
994
  errors: {}
673
995
  },
674
- setup(e) {
675
- const s = m(
676
- () => typeof e.errors == "string" ? [e.errors] : e.errors
996
+ setup(t) {
997
+ const a = d(
998
+ () => typeof t.errors == "string" ? [t.errors] : t.errors
677
999
  );
678
- return (t, n) => (l(), i("div", jt, [
679
- a("h2", Ot, c(t.title), 1),
680
- a("div", Pt, [
681
- a("ul", Dt, [
682
- (l(!0), i(R, null, O(s.value, (o, d) => (l(), i("li", { key: d }, [
683
- a("a", null, c(o), 1)
1000
+ return (e, s) => (i(), o("div", fa, [
1001
+ n("h2", pa, h(e.title), 1),
1002
+ n("div", _a, [
1003
+ n("ul", ga, [
1004
+ (i(!0), o(E, null, O(a.value, (l, c) => (i(), o("li", { key: c }, [
1005
+ n("a", null, h(l), 1)
684
1006
  ]))), 128))
685
1007
  ])
686
1008
  ])
687
1009
  ]));
688
1010
  }
689
- }), Wt = {
1011
+ }), ba = {
690
1012
  for: "search-input",
691
1013
  class: "m-label"
692
- }, Nt = {
1014
+ }, Ma = {
693
1015
  key: 0,
694
1016
  "aria-hidden": "true",
695
1017
  class: "mandatory"
696
- }, qt = {
1018
+ }, $a = {
697
1019
  id: "text-input-error",
698
1020
  class: "m-error-message"
699
- }, Zt = { class: "m-input-wrapper m-autocomplete" }, Kt = {
1021
+ }, wa = { class: "m-input-wrapper m-autocomplete" }, Aa = {
700
1022
  key: 0,
701
1023
  class: "m-input__prefix"
702
- }, Xt = ["type", "aria-describedby", "placeholder", "required"], Jt = {
1024
+ }, Ca = ["type", "aria-describedby", "placeholder", "required"], Da = {
703
1025
  key: 1,
704
1026
  class: "autocomplete-result-list autocomplete-result-list--location"
705
- }, Qt = ["onClick"], Yt = {
1027
+ }, Sa = ["onClick"], Ia = {
706
1028
  "aria-hidden": "true",
707
1029
  class: "icon"
708
- }, es = ["xlink:href"], ts = {
1030
+ }, Fa = ["xlink:href"], Ta = {
709
1031
  class: "m-hint",
710
1032
  id: "text-input-hint"
711
- }, ss = /* @__PURE__ */ p({
1033
+ }, La = /* @__PURE__ */ g({
712
1034
  __name: "MucInput",
713
- props: /* @__PURE__ */ E({
1035
+ props: /* @__PURE__ */ V({
714
1036
  errorMsg: {},
715
1037
  placeholder: {},
716
1038
  required: { type: Boolean, default: !1 },
@@ -723,69 +1045,69 @@ const dt = /* @__PURE__ */ z(rt, [["render", ut]]), mt = {
723
1045
  modelValue: { default: "" },
724
1046
  modelModifiers: {}
725
1047
  }),
726
- emits: /* @__PURE__ */ E(["suffixClick"], ["update:modelValue"]),
727
- setup(e, { emit: s }) {
728
- const t = H(e, "modelValue"), n = K(), o = s, d = m(() => e.errorMsg ? "has-error" : ""), u = m(() => e.type === "search"), f = m(() => {
729
- if (t.value === "") return [];
730
- const v = t.value.toLowerCase();
731
- return e.dataList.filter(
732
- (w) => w.toLowerCase().startsWith(v) && w.toLowerCase() !== v
1048
+ emits: /* @__PURE__ */ V(["suffixClick"], ["update:modelValue"]),
1049
+ setup(t, { emit: a }) {
1050
+ const e = H(t, "modelValue"), s = ne(), l = a, c = d(() => t.errorMsg ? "has-error" : ""), u = d(() => t.type === "search"), f = d(() => {
1051
+ if (e.value === "") return [];
1052
+ const v = e.value.toLowerCase();
1053
+ return t.dataList.filter(
1054
+ (y) => y.toLowerCase().startsWith(v) && y.toLowerCase() !== v
733
1055
  );
734
- }), C = (v) => t.value = v, F = () => o("suffixClick");
735
- return (v, w) => (l(), i("div", {
736
- class: x(["m-form-group", d.value])
1056
+ }), m = (v) => e.value = v, _ = () => l("suffixClick");
1057
+ return (v, y) => (i(), o("div", {
1058
+ class: I(["m-form-group", c.value])
737
1059
  }, [
738
- a("label", Wt, [
739
- y(c(v.label) + " ", 1),
740
- v.required ? (l(), i("span", Nt, w[1] || (w[1] = [
741
- y(" * "),
742
- a("span", { class: "visually-hidden" }, "(erforderlich)", -1)
1060
+ n("label", ba, [
1061
+ S(h(v.label) + " ", 1),
1062
+ v.required ? (i(), o("span", Ma, y[1] || (y[1] = [
1063
+ S(" * "),
1064
+ n("span", { class: "visually-hidden" }, "(erforderlich)", -1)
743
1065
  ]))) : b("", !0)
744
1066
  ]),
745
- a("p", qt, c(v.errorMsg), 1),
746
- a("div", Zt, [
747
- n.prefix ? (l(), i("div", Kt, [
748
- a("span", null, [
749
- g(v.$slots, "prefix")
1067
+ n("p", $a, h(v.errorMsg), 1),
1068
+ n("div", wa, [
1069
+ s.prefix ? (i(), o("div", Aa, [
1070
+ n("span", null, [
1071
+ w(v.$slots, "prefix")
750
1072
  ])
751
1073
  ])) : b("", !0),
752
- q(a("input", {
1074
+ Q(n("input", {
753
1075
  class: "m-input autocomplete-input",
754
1076
  type: v.type,
755
- "onUpdate:modelValue": w[0] || (w[0] = (A) => t.value = A),
1077
+ "onUpdate:modelValue": y[0] || (y[0] = (A) => e.value = A),
756
1078
  "aria-describedby": v.type + "-input",
757
1079
  placeholder: v.placeholder,
758
1080
  required: v.required
759
- }, null, 8, Xt), [
760
- [ue, t.value]
1081
+ }, null, 8, Ca), [
1082
+ [be, e.value]
761
1083
  ]),
762
- u.value && f.value.length !== 0 ? (l(), i("ul", Jt, [
763
- (l(!0), i(R, null, O(f.value, (A) => (l(), i("li", {
1084
+ u.value && f.value.length !== 0 ? (i(), o("ul", Da, [
1085
+ (i(!0), o(E, null, O(f.value, (A) => (i(), o("li", {
764
1086
  class: "autocomplete-result",
765
1087
  key: A,
766
- onClick: (L) => C(A)
767
- }, c(A), 9, Qt))), 128))
1088
+ onClick: (C) => m(A)
1089
+ }, h(A), 9, Sa))), 128))
768
1090
  ])) : b("", !0),
769
- v.suffixIcon ? (l(), i("button", {
1091
+ v.suffixIcon ? (i(), o("button", {
770
1092
  key: 2,
771
1093
  class: "m-input__suffix",
772
- onClick: F
1094
+ onClick: _
773
1095
  }, [
774
- (l(), i("svg", Yt, [
775
- a("use", {
1096
+ (i(), o("svg", Ia, [
1097
+ n("use", {
776
1098
  "xlink:href": "#icon-" + v.suffixIcon
777
- }, null, 8, es)
1099
+ }, null, 8, Fa)
778
1100
  ])),
779
- w[2] || (w[2] = a("span", { class: "visually-hidden" }, "Suchen", -1))
1101
+ y[2] || (y[2] = n("span", { class: "visually-hidden" }, "Suchen", -1))
780
1102
  ])) : b("", !0)
781
1103
  ]),
782
- a("p", ts, c(v.hint), 1)
1104
+ n("p", Ta, h(v.hint), 1)
783
1105
  ], 2));
784
1106
  }
785
- }), te = Symbol("mucRadioGroup"), as = {
1107
+ }), me = Symbol("mucRadioGroup"), Ba = {
786
1108
  key: 0,
787
1109
  class: "m-radios__item"
788
- }, ls = ["checked", "disabled"], ns = { class: "m-hint" }, is = /* @__PURE__ */ p({
1110
+ }, xa = ["checked", "disabled"], za = { class: "m-hint" }, Ea = /* @__PURE__ */ g({
789
1111
  __name: "MucRadioButton",
790
1112
  props: {
791
1113
  value: {},
@@ -793,87 +1115,87 @@ const dt = /* @__PURE__ */ z(rt, [["render", ut]]), mt = {
793
1115
  hint: {},
794
1116
  disabled: { type: Boolean, default: !1 }
795
1117
  },
796
- setup(e) {
797
- const s = de(te), t = () => s == null ? void 0 : s.set(e.value), n = m(() => (s == null ? void 0 : s.modelValue.value) === e.value), o = m(() => e.disabled || (s == null ? void 0 : s.disabled.value)), d = m(() => (s == null ? void 0 : s.disabled) ?? !1);
798
- return (u, f) => d.value ? (l(), i("div", as, [
799
- a("input", {
1118
+ setup(t) {
1119
+ const a = te(me), e = () => a == null ? void 0 : a.set(t.value), s = d(() => (a == null ? void 0 : a.modelValue.value) === t.value), l = d(() => t.disabled || (a == null ? void 0 : a.disabled.value)), c = d(() => (a == null ? void 0 : a.disabled) ?? !1);
1120
+ return (u, f) => c.value ? (i(), o("div", Ba, [
1121
+ n("input", {
800
1122
  class: "m-radios__input",
801
1123
  type: "radio",
802
- checked: n.value,
803
- disabled: o.value,
804
- onClick: j(t, ["stop"])
805
- }, null, 8, ls),
806
- a("label", {
1124
+ checked: s.value,
1125
+ disabled: l.value,
1126
+ onClick: N(e, ["stop"])
1127
+ }, null, 8, xa),
1128
+ n("label", {
807
1129
  class: "m-label m-radios__label",
808
- onClick: t
1130
+ onClick: e
809
1131
  }, [
810
- y(c(u.label) + " ", 1),
811
- a("span", ns, c(u.hint), 1)
1132
+ S(h(u.label) + " ", 1),
1133
+ n("span", za, h(u.hint), 1)
812
1134
  ])
813
1135
  ])) : b("", !0);
814
1136
  }
815
- }), os = { class: "m-form-group" }, rs = { class: "m-radio-group" }, cs = { class: "m-radio-group__legend" }, us = { class: "m-radio-group__heading" }, ds = { class: "m-radios" }, ms = /* @__PURE__ */ p({
1137
+ }), Oa = { class: "m-form-group" }, Va = { class: "m-radio-group" }, ja = { class: "m-radio-group__legend" }, Ya = { class: "m-radio-group__heading" }, Ra = { class: "m-radios" }, Ha = /* @__PURE__ */ g({
816
1138
  __name: "MucRadioButtonGroup",
817
- props: /* @__PURE__ */ E({
1139
+ props: /* @__PURE__ */ V({
818
1140
  heading: {},
819
1141
  disabled: { type: Boolean, default: !1 }
820
1142
  }, {
821
1143
  modelValue: { type: [Boolean, String, Array, Object, Number, null] },
822
1144
  modelModifiers: {}
823
1145
  }),
824
- emits: /* @__PURE__ */ E(["change"], ["update:modelValue"]),
825
- setup(e, { emit: s }) {
826
- const t = H(e, "modelValue"), n = s;
827
- return me(te, {
828
- set: (o) => {
829
- n("change", o), t.value = o;
1146
+ emits: /* @__PURE__ */ V(["change"], ["update:modelValue"]),
1147
+ setup(t, { emit: a }) {
1148
+ const e = H(t, "modelValue"), s = a;
1149
+ return ae(me, {
1150
+ set: (l) => {
1151
+ s("change", l), e.value = l;
830
1152
  },
831
- modelValue: t,
832
- disabled: fe(he(() => e.disabled))
833
- }), (o, d) => (l(), i("div", os, [
834
- a("fieldset", rs, [
835
- a("legend", cs, [
836
- a("h3", us, c(o.heading), 1)
1153
+ modelValue: e,
1154
+ disabled: Z(X(() => t.disabled))
1155
+ }), (l, c) => (i(), o("div", Oa, [
1156
+ n("fieldset", Va, [
1157
+ n("legend", ja, [
1158
+ n("h3", Ya, h(l.heading), 1)
837
1159
  ]),
838
- a("div", ds, [
839
- g(o.$slots, "default")
1160
+ n("div", Ra, [
1161
+ w(l.$slots, "default")
840
1162
  ])
841
1163
  ])
842
1164
  ]));
843
1165
  }
844
1166
  });
845
- function fs(e, s) {
846
- if (!e) return;
847
- const t = (n) => {
848
- n.target !== e.value && n.composedPath().includes(e.value) || typeof s == "function" && s();
1167
+ function Pa(t, a) {
1168
+ if (!t) return;
1169
+ const e = (s) => {
1170
+ s.target !== t.value && s.composedPath().includes(t.value) || typeof a == "function" && a();
849
1171
  };
850
- return J(() => {
851
- window.addEventListener("click", t);
852
- }), ve(() => {
853
- window.removeEventListener("click", t);
854
- }), { listener: t };
1172
+ return se(() => {
1173
+ window.addEventListener("click", e);
1174
+ }), Me(() => {
1175
+ window.removeEventListener("click", e);
1176
+ }), { listener: e };
855
1177
  }
856
- const hs = /* @__PURE__ */ p({
1178
+ const Na = /* @__PURE__ */ g({
857
1179
  __name: "MucSelectItem",
858
1180
  props: {
859
1181
  item: {},
860
1182
  itemLabel: {}
861
1183
  },
862
- setup(e) {
863
- const s = m(
864
- () => typeof e.item == "string" ? e.item : e.item[e.itemLabel].toString()
1184
+ setup(t) {
1185
+ const a = d(
1186
+ () => typeof t.item == "string" ? t.item : t.item[t.itemLabel].toString()
865
1187
  );
866
- return (t, n) => (l(), i("span", null, c(s.value), 1));
1188
+ return (e, s) => (i(), o("span", null, h(a.value), 1));
867
1189
  }
868
- }), vs = { class: "m-label" }, ps = ["onMouseenter", "onClick"], _s = {
1190
+ }), Ua = { class: "m-label" }, Wa = ["onMouseenter", "onClick"], Ga = {
869
1191
  key: 0,
870
1192
  class: "option"
871
- }, gs = {
1193
+ }, qa = {
872
1194
  key: 0,
873
1195
  class: "m-hint"
874
- }, bs = /* @__PURE__ */ p({
1196
+ }, Ka = /* @__PURE__ */ g({
875
1197
  __name: "MucSelect",
876
- props: /* @__PURE__ */ E({
1198
+ props: /* @__PURE__ */ V({
877
1199
  items: {},
878
1200
  label: {},
879
1201
  hint: {},
@@ -887,110 +1209,110 @@ const hs = /* @__PURE__ */ p({
887
1209
  modelModifiers: {}
888
1210
  }),
889
1211
  emits: ["update:modelValue"],
890
- setup(e) {
891
- const s = pe("selectComponent"), t = H(
892
- e,
1212
+ setup(t) {
1213
+ const a = $e("selectComponent"), e = H(
1214
+ t,
893
1215
  "modelValue"
894
- ), n = V(!1), o = V(), d = V(!1), u = V(), f = () => {
895
- n.value = !n.value, u.value = o.value;
896
- }, C = () => {
897
- n.value = !0, u.value = o.value, L.value = "";
1216
+ ), s = L(!1), l = L(), c = L(!1), u = L(), f = () => {
1217
+ s.value = !s.value, u.value = l.value;
1218
+ }, m = () => {
1219
+ s.value = !0, u.value = l.value, C.value = "";
898
1220
  };
899
- fs(s, () => {
900
- n.value = !1, L.value = A.value;
1221
+ Pa(a, () => {
1222
+ s.value = !1, C.value = A.value;
901
1223
  });
902
- const F = (r) => {
903
- o.value = r, e.multiple ? w(r) : v(r), e.multiple || (n.value = !1);
904
- }, v = (r) => {
905
- Array.isArray(t.value) && (t.value = t.value.join(" ")), typeof t.value != "string" && typeof r != "string" ? t.value = t.value[e.itemTitle] === r[e.itemTitle] ? "" : r : t.value = t.value === r ? "" : r;
906
- }, w = (r) => {
907
- Array.isArray(t.value) || (t.value = [t.value]), Array.isArray(t.value) && (typeof r == "string" ? t.value = t.value.map(($) => $).includes(r) ? t.value.filter(($) => $ !== r) : [...t.value, r] : t.value = t.value.map(($) => $[e.itemTitle]).includes(r[e.itemTitle]) ? t.value.filter(
908
- ($) => $[e.itemTitle] !== r[e.itemTitle]
909
- ) : [...t.value, r]);
910
- }, A = m(() => typeof t.value == "string" ? t.value : Array.isArray(t.value) ? t.value.every((r) => typeof r == "string") ? t.value.join(e.multiple ? ", " : " ") : t.value.map((r) => r[e.itemTitle].toString()).join(e.multiple ? ", " : " ") : t.value[e.itemTitle].toString());
911
- N(A, (r) => {
912
- L.value = r;
1224
+ const _ = (p) => {
1225
+ l.value = p, t.multiple ? y(p) : v(p), t.multiple || (s.value = !1);
1226
+ }, v = (p) => {
1227
+ Array.isArray(e.value) && (e.value = e.value.join(" ")), typeof e.value != "string" && typeof p != "string" ? e.value = e.value[t.itemTitle] === p[t.itemTitle] ? "" : p : e.value = e.value === p ? "" : p;
1228
+ }, y = (p) => {
1229
+ Array.isArray(e.value) || (e.value = [e.value]), Array.isArray(e.value) && (typeof p == "string" ? e.value = e.value.map((D) => D).includes(p) ? e.value.filter((D) => D !== p) : [...e.value, p] : e.value = e.value.map((D) => D[t.itemTitle]).includes(p[t.itemTitle]) ? e.value.filter(
1230
+ (D) => D[t.itemTitle] !== p[t.itemTitle]
1231
+ ) : [...e.value, p]);
1232
+ }, A = d(() => typeof e.value == "string" ? e.value : Array.isArray(e.value) ? e.value.every((p) => typeof p == "string") ? e.value.join(t.multiple ? ", " : " ") : e.value.map((p) => p[t.itemTitle].toString()).join(t.multiple ? ", " : " ") : e.value[t.itemTitle].toString());
1233
+ G(A, (p) => {
1234
+ C.value = p;
913
1235
  });
914
- const L = V(A.value), U = m(
915
- () => L.value == A.value ? e.items : h(L.value)
916
- ), h = (r) => {
917
- d.value = !1;
918
- const $ = e.items.every((S) => typeof S == "string") ? e.items.filter((S) => S.toLowerCase().includes(r.toLowerCase())) : e.items.filter(
919
- (S) => S[e.itemTitle].toString().toLowerCase().includes(r.toLowerCase())
1236
+ const C = L(A.value), R = d(
1237
+ () => C.value == A.value ? t.items : r(C.value)
1238
+ ), r = (p) => {
1239
+ c.value = !1;
1240
+ const D = t.items.every((x) => typeof x == "string") ? t.items.filter((x) => x.toLowerCase().includes(p.toLowerCase())) : t.items.filter(
1241
+ (x) => x[t.itemTitle].toString().toLowerCase().includes(p.toLowerCase())
920
1242
  );
921
- return $.length === 0 && (d.value = !0), $;
922
- }, _ = (r) => r === u.value ? "active" : "", I = (r) => {
923
- if (typeof r == "string")
924
- return t.value.includes(r) ? "selected" : "";
925
- if (Array.isArray(t.value))
926
- return t.value.map(($) => $[e.itemTitle]).includes(r[e.itemTitle]) ? "selected" : "";
927
- if (typeof t.value != "string")
928
- return t.value[e.itemTitle] === r[e.itemTitle] ? "selected" : "";
929
- }, W = () => u.value = "", se = m(
930
- () => n.value ? "display-listbox" : ""
931
- ), ae = m(
932
- () => e.multiple && !d.value ? "m-input-wrapper--multiselect multiselect" : "m-input-wrapper--select"
1243
+ return D.length === 0 && (c.value = !0), D;
1244
+ }, k = (p) => p === u.value ? "active" : "", z = (p) => {
1245
+ if (typeof p == "string")
1246
+ return e.value.includes(p) ? "selected" : "";
1247
+ if (Array.isArray(e.value))
1248
+ return e.value.map((D) => D[t.itemTitle]).includes(p[t.itemTitle]) ? "selected" : "";
1249
+ if (typeof e.value != "string")
1250
+ return e.value[t.itemTitle] === p[t.itemTitle] ? "selected" : "";
1251
+ }, q = () => u.value = "", ve = d(
1252
+ () => s.value ? "display-listbox" : ""
1253
+ ), he = d(
1254
+ () => t.multiple && !c.value ? "m-input-wrapper--multiselect multiselect" : "m-input-wrapper--select"
933
1255
  );
934
- return (r, $) => (l(), i("div", {
1256
+ return (p, D) => (i(), o("div", {
935
1257
  class: "m-form-group",
936
1258
  ref_key: "selectComponent",
937
- ref: s
1259
+ ref: a
938
1260
  }, [
939
- a("label", vs, c(r.label), 1),
940
- a("div", {
941
- class: x(["m-input-wrapper", ae.value])
1261
+ n("label", Ua, h(p.label), 1),
1262
+ n("div", {
1263
+ class: I(["m-input-wrapper", he.value])
942
1264
  }, [
943
- q(a("input", {
1265
+ Q(n("input", {
944
1266
  type: "text",
945
1267
  class: "m-input m-combobox m-combobox--single",
946
- "onUpdate:modelValue": $[0] || ($[0] = (S) => L.value = S),
947
- onClick: C
1268
+ "onUpdate:modelValue": D[0] || (D[0] = (x) => C.value = x),
1269
+ onClick: m
948
1270
  }, null, 512), [
949
- [Q, L.value]
1271
+ [ie, C.value]
950
1272
  ]),
951
- a("span", {
1273
+ n("span", {
952
1274
  class: "m-input__trigger",
953
1275
  onClick: f
954
- }, $[1] || ($[1] = [
955
- a("svg", {
1276
+ }, D[1] || (D[1] = [
1277
+ n("svg", {
956
1278
  "aria-hidden": "true",
957
1279
  class: "icon"
958
1280
  }, [
959
- a("use", { "xlink:href": "#icon-chevron-down" })
1281
+ n("use", { "xlink:href": "#icon-chevron-down" })
960
1282
  ], -1),
961
- a("span", { class: "visually-hidden" }, "Auswahlliste öffnen", -1)
1283
+ n("span", { class: "visually-hidden" }, "Auswahlliste öffnen", -1)
962
1284
  ])),
963
- a("ul", {
964
- class: x(["listbox", se.value]),
965
- onMouseleave: W
1285
+ n("ul", {
1286
+ class: I(["listbox", ve.value]),
1287
+ onMouseleave: q
966
1288
  }, [
967
- (l(!0), i(R, null, O(U.value, (S, le) => (l(), i("li", {
968
- key: le,
969
- class: x(["option", [_(S), I(S)]]),
970
- onMouseenter: (ne) => u.value = S,
971
- onClick: (ne) => F(S)
1289
+ (i(!0), o(E, null, O(R.value, (x, fe) => (i(), o("li", {
1290
+ key: fe,
1291
+ class: I(["option", [k(x), z(x)]]),
1292
+ onMouseenter: (pe) => u.value = x,
1293
+ onClick: (pe) => _(x)
972
1294
  }, [
973
- M(hs, {
974
- item: S,
975
- "item-label": r.itemTitle
1295
+ M(Na, {
1296
+ item: x,
1297
+ "item-label": p.itemTitle
976
1298
  }, null, 8, ["item", "item-label"])
977
- ], 42, ps))), 128)),
978
- d.value ? (l(), i("li", _s, c(r.noItemFoundMessage), 1)) : b("", !0)
1299
+ ], 42, Wa))), 128)),
1300
+ c.value ? (i(), o("li", Ga, h(p.noItemFoundMessage), 1)) : b("", !0)
979
1301
  ], 34)
980
1302
  ], 2),
981
- r.hint ? (l(), i("p", gs, c(r.hint), 1)) : b("", !0)
1303
+ p.hint ? (i(), o("p", qa, h(p.hint), 1)) : b("", !0)
982
1304
  ], 512));
983
1305
  }
984
- }), ys = /* @__PURE__ */ z(bs, [["__scopeId", "data-v-a65ab70d"]]), ks = { class: "m-form-group has-error" }, $s = {
1306
+ }), Za = /* @__PURE__ */ F(Ka, [["__scopeId", "data-v-a65ab70d"]]), Xa = { class: "m-form-group has-error" }, Ja = {
985
1307
  for: "textarea",
986
1308
  class: "m-label"
987
- }, Ms = {
1309
+ }, Qa = {
988
1310
  key: 0,
989
1311
  "aria-hidden": "true",
990
1312
  class: "mandatory"
991
- }, Cs = { class: "m-error-message" }, ws = { class: "m-input-wrapper" }, As = ["rows", "placeholder"], Ss = { class: "m-hint" }, Ts = /* @__PURE__ */ p({
1313
+ }, en = { class: "m-error-message" }, tn = { class: "m-input-wrapper" }, an = ["rows", "placeholder"], nn = { class: "m-hint" }, ln = /* @__PURE__ */ g({
992
1314
  __name: "MucTextArea",
993
- props: /* @__PURE__ */ E({
1315
+ props: /* @__PURE__ */ V({
994
1316
  errorMsg: {},
995
1317
  rows: { default: 3 },
996
1318
  placeholder: {},
@@ -1002,144 +1324,216 @@ const hs = /* @__PURE__ */ p({
1002
1324
  modelModifiers: {}
1003
1325
  }),
1004
1326
  emits: ["update:modelValue"],
1005
- setup(e) {
1006
- const s = H(e, "modelValue");
1007
- return (t, n) => (l(), i("div", ks, [
1008
- a("label", $s, [
1009
- y(c(t.label) + " ", 1),
1010
- t.required ? (l(), i("span", Ms, n[1] || (n[1] = [
1011
- y(" * "),
1012
- a("span", { class: "visually-hidden" }, "(erforderlich)", -1)
1327
+ setup(t) {
1328
+ const a = H(t, "modelValue");
1329
+ return (e, s) => (i(), o("div", Xa, [
1330
+ n("label", Ja, [
1331
+ S(h(e.label) + " ", 1),
1332
+ e.required ? (i(), o("span", Qa, s[1] || (s[1] = [
1333
+ S(" * "),
1334
+ n("span", { class: "visually-hidden" }, "(erforderlich)", -1)
1013
1335
  ]))) : b("", !0)
1014
1336
  ]),
1015
- a("p", Cs, c(t.errorMsg), 1),
1016
- a("div", ws, [
1017
- q(a("textarea", {
1337
+ n("p", en, h(e.errorMsg), 1),
1338
+ n("div", tn, [
1339
+ Q(n("textarea", {
1018
1340
  class: "m-textarea",
1019
- rows: t.rows,
1341
+ rows: e.rows,
1020
1342
  "aria-describedby": "textarea input",
1021
- placeholder: t.placeholder,
1022
- "onUpdate:modelValue": n[0] || (n[0] = (o) => s.value = o)
1023
- }, null, 8, As), [
1024
- [Q, s.value]
1343
+ placeholder: e.placeholder,
1344
+ "onUpdate:modelValue": s[0] || (s[0] = (l) => a.value = l)
1345
+ }, null, 8, an), [
1346
+ [ie, a.value]
1025
1347
  ])
1026
1348
  ]),
1027
- a("p", Ss, c(t.hint), 1)
1349
+ n("p", nn, h(e.hint), 1)
1028
1350
  ]));
1029
1351
  }
1030
- }), Fs = {
1352
+ }), sn = {
1031
1353
  class: "m-intro m-intro-static-image",
1032
1354
  style: { "background-color": "var(--color-neutrals-blue-xlight)" }
1033
- }, Is = { class: "container" }, xs = { class: "muc-intro-content" }, Ls = {
1355
+ }, on = { class: "container" }, rn = { class: "muc-intro-content" }, cn = {
1034
1356
  key: 0,
1035
1357
  class: "m-intro-vertical__tagline"
1036
- }, Bs = { class: "m-intro-vertical__title" }, Vs = {
1358
+ }, un = { class: "m-intro-vertical__title" }, dn = {
1037
1359
  key: 0,
1038
1360
  class: "muc-divider"
1039
- }, zs = { class: "m-intro-vertical__content" }, Es = { style: { "padding-bottom": "32px" } }, Rs = /* @__PURE__ */ p({
1361
+ }, mn = { class: "m-intro-vertical__content" }, vn = { style: { "padding-bottom": "32px" } }, hn = /* @__PURE__ */ g({
1040
1362
  __name: "MucIntro",
1041
1363
  props: {
1042
1364
  title: {},
1043
1365
  tagline: {},
1044
1366
  divider: { type: Boolean }
1045
1367
  },
1046
- setup(e) {
1047
- return (s, t) => (l(), i("div", Fs, [
1048
- a("div", Is, [
1049
- a("div", xs, [
1050
- a("div", null, [
1051
- s.tagline ? (l(), i("p", Ls, c(s.tagline), 1)) : b("", !0),
1052
- a("h1", Bs, c(s.title), 1)
1368
+ setup(t) {
1369
+ return (a, e) => (i(), o("div", sn, [
1370
+ n("div", on, [
1371
+ n("div", rn, [
1372
+ n("div", null, [
1373
+ a.tagline ? (i(), o("p", cn, h(a.tagline), 1)) : b("", !0),
1374
+ n("h1", un, h(a.title), 1)
1053
1375
  ]),
1054
- s.divider ? (l(), i("div", Vs)) : b("", !0),
1055
- a("div", zs, [
1056
- a("p", Es, [
1057
- g(s.$slots, "default", {}, void 0, !0)
1376
+ a.divider ? (i(), o("div", dn)) : b("", !0),
1377
+ n("div", mn, [
1378
+ n("p", vn, [
1379
+ w(a.$slots, "default", {}, void 0, !0)
1058
1380
  ])
1059
1381
  ])
1060
1382
  ])
1061
1383
  ])
1062
1384
  ]));
1063
1385
  }
1064
- }), Hs = /* @__PURE__ */ z(Rs, [["__scopeId", "data-v-5c768acc"]]), js = ["width", "height"], Os = {
1386
+ }), fn = /* @__PURE__ */ F(hn, [["__scopeId", "data-v-5c768acc"]]), pn = ["width", "height"], _n = {
1065
1387
  x: "100",
1066
1388
  y: "108",
1067
1389
  "text-anchor": "middle",
1068
1390
  fill: "#3a5368",
1069
1391
  "font-size": "24",
1070
1392
  "font-weight": "bold"
1071
- }, Ps = /* @__PURE__ */ p({
1393
+ }, gn = /* @__PURE__ */ g({
1072
1394
  __name: "MucPercentageSpinner",
1073
1395
  props: {
1074
1396
  size: { default: "300" },
1075
1397
  percentage: {}
1076
1398
  },
1077
- setup(e) {
1078
- const s = m(() => e.percentage || e.percentage === 0 ? e.percentage < 0 ? "0%" : e.percentage > 100 ? "100%" : Math.round(e.percentage) + "%" : "");
1079
- return (t, n) => (l(), i("svg", {
1399
+ setup(t) {
1400
+ const a = d(() => t.percentage || t.percentage === 0 ? t.percentage < 0 ? "0%" : t.percentage > 100 ? "100%" : Math.round(t.percentage) + "%" : "");
1401
+ return (e, s) => (i(), o("svg", {
1080
1402
  xmlns: "http://www.w3.org/2000/svg",
1081
- width: t.size,
1082
- height: t.size,
1403
+ width: e.size,
1404
+ height: e.size,
1083
1405
  viewBox: "-10 -10 220 220",
1084
1406
  fill: "none",
1085
1407
  color: "#005a9f"
1086
1408
  }, [
1087
- n[0] || (n[0] = X('<defs><linearGradient id="spinner-firstHalf"><stop offset="0%" stop-opacity="1" stop-color="currentColor"></stop><stop offset="100%" stop-opacity="0.5" stop-color="currentColor"></stop></linearGradient><linearGradient id="spinner-secondHalf"><stop offset="0%" stop-opacity="0" stop-color="currentColor"></stop><stop offset="100%" stop-opacity="0.5" stop-color="currentColor"></stop></linearGradient></defs><g stroke-width="12"><path stroke="url(#spinner-firstHalf)" d="M 4 100 A 96 96 0 0 1 196 100"></path><path stroke="url(#spinner-secondHalf)" d="M 196 100 A 96 96 0 0 1 4 100"></path><animateTransform from="90 100 100" to="450 100 100" attributeName="transform" type="rotate" repeatCount="indefinite" dur="2300ms"></animateTransform></g>', 2)),
1088
- a("text", Os, c(s.value), 1)
1089
- ], 8, js));
1409
+ s[0] || (s[0] = le('<defs><linearGradient id="spinner-firstHalf"><stop offset="0%" stop-opacity="1" stop-color="currentColor"></stop><stop offset="100%" stop-opacity="0.5" stop-color="currentColor"></stop></linearGradient><linearGradient id="spinner-secondHalf"><stop offset="0%" stop-opacity="0" stop-color="currentColor"></stop><stop offset="100%" stop-opacity="0.5" stop-color="currentColor"></stop></linearGradient></defs><g stroke-width="12"><path stroke="url(#spinner-firstHalf)" d="M 4 100 A 96 96 0 0 1 196 100"></path><path stroke="url(#spinner-secondHalf)" d="M 196 100 A 96 96 0 0 1 4 100"></path><animateTransform from="90 100 100" to="450 100 100" attributeName="transform" type="rotate" repeatCount="indefinite" dur="2300ms"></animateTransform></g>', 2)),
1410
+ n("text", _n, h(a.value), 1)
1411
+ ], 8, pn));
1412
+ }
1413
+ }), yn = ["tabindex", "aria-label"], kn = { class: "m-form-step__title" }, bn = { "aria-disabled": "true" }, Mn = /* @__PURE__ */ g({
1414
+ __name: "MucStepperItem",
1415
+ props: {
1416
+ item: {},
1417
+ isActive: { type: Boolean },
1418
+ isDone: { type: Boolean }
1419
+ },
1420
+ emits: ["click"],
1421
+ setup(t, { emit: a }) {
1422
+ const e = a, s = d(
1423
+ () => t.isActive ? "m-form-step m-form-step--current" : "m-form-step" + l.value
1424
+ ), l = d(() => t.isDone ? " show-cursor" : ""), c = d(() => t.isDone ? "check" : t.item.icon), u = d(() => t.isActive || t.isDone ? 0 : -1), f = d(
1425
+ () => t.isActive ? "Aktueller Schritt: " + t.item.label : "Zurück zu Schritt: " + t.item.label
1426
+ ), m = () => {
1427
+ t.isDone && e("click", t.item.id);
1428
+ };
1429
+ return (_, v) => (i(), o("li", {
1430
+ class: I(s.value),
1431
+ onClick: m
1432
+ }, [
1433
+ n("div", {
1434
+ class: "m-form-step__icon",
1435
+ tabindex: u.value,
1436
+ "aria-label": f.value
1437
+ }, [
1438
+ M($(B), { icon: c.value }, null, 8, ["icon"])
1439
+ ], 8, yn),
1440
+ n("div", kn, [
1441
+ n("span", bn, h(_.item.label), 1)
1442
+ ])
1443
+ ], 2));
1444
+ }
1445
+ }), $n = /* @__PURE__ */ F(Mn, [["__scopeId", "data-v-279142f9"]]), wn = { class: "m-component m-component-form-progress" }, An = { class: "container" }, Cn = { class: "m-component__grid" }, Dn = { class: "m-component__column" }, Sn = { class: "m-form-steps" }, In = /* @__PURE__ */ g({
1446
+ __name: "MucStepper",
1447
+ props: {
1448
+ stepItems: {},
1449
+ activeItem: {}
1450
+ },
1451
+ emits: ["changeStep"],
1452
+ setup(t, { emit: a }) {
1453
+ const e = a;
1454
+ G(
1455
+ () => t.activeItem,
1456
+ () => {
1457
+ l.value = s(t.activeItem);
1458
+ }
1459
+ );
1460
+ const s = (m) => t.stepItems.findIndex((_) => _.id === m), l = L(s(t.activeItem)), c = (m) => m === t.activeItem, u = (m) => s(m) < l.value, f = (m) => {
1461
+ e("changeStep", m);
1462
+ };
1463
+ return (m, _) => (i(), o("div", wn, [
1464
+ n("div", An, [
1465
+ n("div", Cn, [
1466
+ n("div", Dn, [
1467
+ n("ol", Sn, [
1468
+ (i(!0), o(E, null, O(m.stepItems, (v) => (i(), j($n, {
1469
+ key: v.id,
1470
+ item: v,
1471
+ "is-active": c(v.id),
1472
+ "is-done": u(v.id),
1473
+ onClick: f
1474
+ }, null, 8, ["item", "is-active", "is-done"]))), 128))
1475
+ ])
1476
+ ])
1477
+ ])
1478
+ ])
1479
+ ]));
1090
1480
  }
1091
- }), Z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1481
+ }), ee = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1092
1482
  __proto__: null,
1093
- MucBanner: ke,
1094
- MucButton: P,
1095
- MucCallout: xe,
1096
- MucCard: Ee,
1097
- MucCardContainer: je,
1098
- MucCheckbox: bt,
1099
- MucCheckboxGroup: St,
1100
- MucComment: Y,
1101
- MucCommentText: at,
1102
- MucCounter: Ht,
1103
- MucDivider: ot,
1104
- MucErrorList: Ut,
1105
- MucFileDropzone: pt,
1106
- MucIcon: T,
1107
- MucInput: ss,
1108
- MucIntro: Hs,
1109
- MucLink: ee,
1110
- MucPercentageSpinner: Ps,
1111
- MucRadioButton: is,
1112
- MucRadioButtonGroup: ms,
1113
- MucSelect: ys,
1114
- MucTextArea: Ts
1483
+ MucBanner: Se,
1484
+ MucButton: Y,
1485
+ MucCalendar: Je,
1486
+ MucCallout: ot,
1487
+ MucCard: mt,
1488
+ MucCardContainer: ft,
1489
+ MucCheckbox: Kt,
1490
+ MucCheckboxGroup: na,
1491
+ MucComment: ue,
1492
+ MucCommentText: Bt,
1493
+ MucCounter: ha,
1494
+ MucDivider: Ot,
1495
+ MucErrorList: ka,
1496
+ MucFileDropzone: Wt,
1497
+ MucIcon: B,
1498
+ MucInput: La,
1499
+ MucIntro: fn,
1500
+ MucLink: de,
1501
+ MucPercentageSpinner: gn,
1502
+ MucRadioButton: Ea,
1503
+ MucRadioButtonGroup: Ha,
1504
+ MucSelect: Za,
1505
+ MucStepper: In,
1506
+ MucTextArea: ln
1115
1507
  }, Symbol.toStringTag, { value: "Module" }));
1116
- function Ds(e) {
1117
- for (const s in Z)
1118
- e.component(s, Z[s]);
1508
+ function Fn(t) {
1509
+ for (const a in ee)
1510
+ t.component(a, ee[a]);
1119
1511
  }
1120
- const Us = { install: Ds };
1512
+ const Ln = { install: Fn };
1121
1513
  export {
1122
- ke as MucBanner,
1123
- P as MucButton,
1124
- xe as MucCallout,
1125
- Ee as MucCard,
1126
- je as MucCardContainer,
1127
- bt as MucCheckbox,
1128
- St as MucCheckboxGroup,
1129
- Y as MucComment,
1130
- at as MucCommentText,
1131
- Ht as MucCounter,
1132
- ot as MucDivider,
1133
- Ut as MucErrorList,
1134
- pt as MucFileDropzone,
1135
- T as MucIcon,
1136
- ss as MucInput,
1137
- Hs as MucIntro,
1138
- ee as MucLink,
1139
- Ps as MucPercentageSpinner,
1140
- is as MucRadioButton,
1141
- ms as MucRadioButtonGroup,
1142
- ys as MucSelect,
1143
- Ts as MucTextArea,
1144
- Us as default
1514
+ Se as MucBanner,
1515
+ Y as MucButton,
1516
+ Je as MucCalendar,
1517
+ ot as MucCallout,
1518
+ mt as MucCard,
1519
+ ft as MucCardContainer,
1520
+ Kt as MucCheckbox,
1521
+ na as MucCheckboxGroup,
1522
+ ue as MucComment,
1523
+ Bt as MucCommentText,
1524
+ ha as MucCounter,
1525
+ Ot as MucDivider,
1526
+ ka as MucErrorList,
1527
+ Wt as MucFileDropzone,
1528
+ B as MucIcon,
1529
+ La as MucInput,
1530
+ fn as MucIntro,
1531
+ de as MucLink,
1532
+ gn as MucPercentageSpinner,
1533
+ Ea as MucRadioButton,
1534
+ Ha as MucRadioButtonGroup,
1535
+ Za as MucSelect,
1536
+ In as MucStepper,
1537
+ ln as MucTextArea,
1538
+ Ln as default
1145
1539
  };