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

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