@muenchen/muc-patternlab-vue 1.13.0-beta.8 → 1.13.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/FileDropzone/IconFileUpload.vue.d.ts +2 -0
- package/components/FileDropzone/MucFileDropzone.stories.d.ts +49 -0
- package/components/FileDropzone/MucFileDropzone.vue.d.ts +80 -0
- package/components/FileDropzone/index.d.ts +2 -0
- package/components/PercentageSpinner/MucPercentageSpinner.stories.d.ts +1 -3
- package/components/PercentageSpinner/MucPercentageSpinner.vue.d.ts +1 -3
- package/components/index.d.ts +2 -1
- package/muc-patternlab-vue.es.js +608 -476
- package/package.json +3 -3
- package/style.css +1 -1
package/muc-patternlab-vue.es.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
const ve = ["href"],
|
|
1
|
+
import { defineComponent as h, useAttrs as le, computed as m, openBlock as o, createElementBlock as i, normalizeClass as B, normalizeStyle as ie, createElementVNode as s, createVNode as C, unref as $, renderSlot as b, createBlock as W, createCommentVNode as k, toDisplayString as d, useSlots as Z, createTextVNode as y, Fragment as H, renderList as D, createSlots as re, withCtx as z, createStaticVNode as K, ref as L, onMounted as X, onUpdated as ce, withModifiers as P, mergeModels as R, useModel as j, withDirectives as N, vModelDynamic as ue, inject as de, provide as me, readonly as pe, toRef as _e, onBeforeUnmount as fe, watch as he, vModelText as J } from "vue";
|
|
2
|
+
const ve = ["href"], T = /* @__PURE__ */ h({
|
|
3
3
|
__name: "MucIcon",
|
|
4
4
|
props: {
|
|
5
5
|
icon: {},
|
|
6
6
|
color: {}
|
|
7
7
|
},
|
|
8
8
|
setup(n) {
|
|
9
|
-
const
|
|
10
|
-
return (
|
|
9
|
+
const t = le(), e = m(() => t.class ?? "icon");
|
|
10
|
+
return (a, c) => (o(), i("svg", {
|
|
11
11
|
"aria-hidden": "true",
|
|
12
|
-
class:
|
|
13
|
-
style:
|
|
12
|
+
class: B(e.value),
|
|
13
|
+
style: ie({ color: a.color })
|
|
14
14
|
}, [
|
|
15
|
-
|
|
16
|
-
href: "#icon-" +
|
|
15
|
+
s("use", {
|
|
16
|
+
href: "#icon-" + a.icon
|
|
17
17
|
}, null, 8, ve)
|
|
18
18
|
], 6));
|
|
19
19
|
}
|
|
20
|
-
}),
|
|
20
|
+
}), ge = ["role", "aria-label"], be = { class: "container-fluid" }, ke = /* @__PURE__ */ h({
|
|
21
21
|
__name: "MucBanner",
|
|
22
22
|
props: {
|
|
23
23
|
type: { default: "info" }
|
|
24
24
|
},
|
|
25
25
|
setup(n) {
|
|
26
|
-
const
|
|
27
|
-
switch (
|
|
26
|
+
const t = n, e = m(() => {
|
|
27
|
+
switch (t.type) {
|
|
28
28
|
case "info":
|
|
29
29
|
return "m-banner--info";
|
|
30
30
|
case "success":
|
|
@@ -36,8 +36,8 @@ const ve = ["href"], A = /* @__PURE__ */ f({
|
|
|
36
36
|
default:
|
|
37
37
|
return "m-banner--info";
|
|
38
38
|
}
|
|
39
|
-
}),
|
|
40
|
-
switch (
|
|
39
|
+
}), a = m(() => {
|
|
40
|
+
switch (t.type) {
|
|
41
41
|
case "info":
|
|
42
42
|
return "dialog";
|
|
43
43
|
case "success":
|
|
@@ -49,8 +49,8 @@ const ve = ["href"], A = /* @__PURE__ */ f({
|
|
|
49
49
|
default:
|
|
50
50
|
return "dialog";
|
|
51
51
|
}
|
|
52
|
-
}),
|
|
53
|
-
switch (
|
|
52
|
+
}), c = m(() => {
|
|
53
|
+
switch (t.type) {
|
|
54
54
|
case "info":
|
|
55
55
|
return "Information";
|
|
56
56
|
case "success":
|
|
@@ -62,8 +62,8 @@ const ve = ["href"], A = /* @__PURE__ */ f({
|
|
|
62
62
|
default:
|
|
63
63
|
return "Information";
|
|
64
64
|
}
|
|
65
|
-
}), r =
|
|
66
|
-
switch (
|
|
65
|
+
}), r = m(() => {
|
|
66
|
+
switch (t.type) {
|
|
67
67
|
case "success":
|
|
68
68
|
return "check";
|
|
69
69
|
case "warning":
|
|
@@ -74,27 +74,27 @@ const ve = ["href"], A = /* @__PURE__ */ f({
|
|
|
74
74
|
return "information";
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
|
-
return (p,
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
class:
|
|
81
|
-
role:
|
|
82
|
-
"aria-label":
|
|
77
|
+
return (p, l) => (o(), i("div", null, [
|
|
78
|
+
s("div", null, [
|
|
79
|
+
s("div", {
|
|
80
|
+
class: B(["m-banner", e.value]),
|
|
81
|
+
role: a.value,
|
|
82
|
+
"aria-label": c.value
|
|
83
83
|
}, [
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
s("div", be, [
|
|
85
|
+
C($(T), { icon: r.value }, null, 8, ["icon"]),
|
|
86
|
+
b(p.$slots, "default", {}, void 0, !0)
|
|
87
87
|
])
|
|
88
|
-
], 10,
|
|
88
|
+
], 10, ge)
|
|
89
89
|
])
|
|
90
90
|
]));
|
|
91
91
|
}
|
|
92
|
-
}),
|
|
92
|
+
}), E = (n, t) => {
|
|
93
93
|
const e = n.__vccOpts || n;
|
|
94
|
-
for (const [
|
|
95
|
-
e[
|
|
94
|
+
for (const [a, c] of t)
|
|
95
|
+
e[a] = c;
|
|
96
96
|
return e;
|
|
97
|
-
}, ye = /* @__PURE__ */
|
|
97
|
+
}, ye = /* @__PURE__ */ E(ke, [["__scopeId", "data-v-53bc7eca"]]), $e = ["disabled"], G = /* @__PURE__ */ h({
|
|
98
98
|
__name: "MucButton",
|
|
99
99
|
props: {
|
|
100
100
|
variant: { default: "primary" },
|
|
@@ -103,8 +103,8 @@ const ve = ["href"], A = /* @__PURE__ */ f({
|
|
|
103
103
|
iconAnimated: { type: Boolean, default: !1 }
|
|
104
104
|
},
|
|
105
105
|
emits: ["click"],
|
|
106
|
-
setup(n, { emit:
|
|
107
|
-
const e = n,
|
|
106
|
+
setup(n, { emit: t }) {
|
|
107
|
+
const e = n, a = t, c = m(() => {
|
|
108
108
|
switch (e.variant) {
|
|
109
109
|
case "secondary":
|
|
110
110
|
return "m-button--secondary";
|
|
@@ -113,34 +113,34 @@ const ve = ["href"], A = /* @__PURE__ */ f({
|
|
|
113
113
|
default:
|
|
114
114
|
return "m-button--primary";
|
|
115
115
|
}
|
|
116
|
-
}), r =
|
|
116
|
+
}), r = m(
|
|
117
117
|
() => e.iconAnimated ? "m-button--animated-right" : ""
|
|
118
118
|
), p = () => {
|
|
119
|
-
|
|
119
|
+
a("click");
|
|
120
120
|
};
|
|
121
|
-
return (
|
|
121
|
+
return (l, v) => (o(), i("button", {
|
|
122
122
|
onClick: p,
|
|
123
|
-
disabled:
|
|
124
|
-
class:
|
|
123
|
+
disabled: l.disabled,
|
|
124
|
+
class: B(["m-button", [c.value, r.value]])
|
|
125
125
|
}, [
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
126
|
+
s("span", null, [
|
|
127
|
+
b(l.$slots, "default"),
|
|
128
|
+
l.icon ? (o(), W($(T), {
|
|
129
129
|
key: 0,
|
|
130
|
-
icon:
|
|
130
|
+
icon: l.icon,
|
|
131
131
|
class: "m-button__icon"
|
|
132
|
-
}, null, 8, ["icon"])) :
|
|
132
|
+
}, null, 8, ["icon"])) : k("", !0)
|
|
133
133
|
])
|
|
134
134
|
], 10, $e));
|
|
135
135
|
}
|
|
136
|
-
}),
|
|
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" }, Ie = { class: "m-callout__content" }, Fe = /* @__PURE__ */ h({
|
|
137
137
|
__name: "MucCallout",
|
|
138
138
|
props: {
|
|
139
139
|
type: { default: "info" }
|
|
140
140
|
},
|
|
141
141
|
setup(n) {
|
|
142
|
-
const
|
|
143
|
-
switch (
|
|
142
|
+
const t = n, e = m(() => {
|
|
143
|
+
switch (t.type) {
|
|
144
144
|
case "error":
|
|
145
145
|
case "warning":
|
|
146
146
|
return "warning";
|
|
@@ -149,8 +149,8 @@ const ve = ["href"], A = /* @__PURE__ */ f({
|
|
|
149
149
|
default:
|
|
150
150
|
return "information";
|
|
151
151
|
}
|
|
152
|
-
}),
|
|
153
|
-
switch (
|
|
152
|
+
}), a = m(() => {
|
|
153
|
+
switch (t.type) {
|
|
154
154
|
case "error":
|
|
155
155
|
return "m-callout--error";
|
|
156
156
|
case "warning":
|
|
@@ -160,8 +160,8 @@ const ve = ["href"], A = /* @__PURE__ */ f({
|
|
|
160
160
|
default:
|
|
161
161
|
return "m-callout--default";
|
|
162
162
|
}
|
|
163
|
-
}),
|
|
164
|
-
switch (
|
|
163
|
+
}), c = m(() => {
|
|
164
|
+
switch (t.type) {
|
|
165
165
|
case "success":
|
|
166
166
|
return "Erfolgreich";
|
|
167
167
|
case "warning":
|
|
@@ -172,148 +172,148 @@ const ve = ["href"], A = /* @__PURE__ */ f({
|
|
|
172
172
|
return "Information";
|
|
173
173
|
}
|
|
174
174
|
});
|
|
175
|
-
return (r, p) => (
|
|
176
|
-
class:
|
|
177
|
-
"aria-label":
|
|
175
|
+
return (r, p) => (o(), i("div", {
|
|
176
|
+
class: B(["m-callout", a.value]),
|
|
177
|
+
"aria-label": c.value
|
|
178
178
|
}, [
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
179
|
+
s("div", Ce, [
|
|
180
|
+
s("div", we, [
|
|
181
|
+
b(r.$slots, "icon", {}, () => [
|
|
182
|
+
C($(T), { icon: e.value }, null, 8, ["icon"])
|
|
183
183
|
], !0)
|
|
184
184
|
]),
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
185
|
+
s("div", Ae, [
|
|
186
|
+
s("div", Se, [
|
|
187
|
+
s("div", Te, [
|
|
188
|
+
b(r.$slots, "header", {}, void 0, !0)
|
|
189
189
|
]),
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
s("div", Ie, [
|
|
191
|
+
s("p", null, [
|
|
192
|
+
b(r.$slots, "content", { class: "m-callout__content" }, void 0, !0)
|
|
193
193
|
])
|
|
194
194
|
])
|
|
195
195
|
])
|
|
196
196
|
])
|
|
197
197
|
])
|
|
198
|
-
], 10,
|
|
198
|
+
], 10, Me));
|
|
199
199
|
}
|
|
200
|
-
}),
|
|
200
|
+
}), xe = /* @__PURE__ */ E(Fe, [["__scopeId", "data-v-609b68ea"]]), Be = { class: "card-content" }, Le = { class: "card-header" }, Ve = {
|
|
201
201
|
key: 0,
|
|
202
202
|
class: "card-tagline"
|
|
203
|
-
},
|
|
203
|
+
}, ze = /* @__PURE__ */ h({
|
|
204
204
|
__name: "MucCard",
|
|
205
205
|
props: {
|
|
206
206
|
title: {},
|
|
207
207
|
tagline: {}
|
|
208
208
|
},
|
|
209
209
|
emits: ["click"],
|
|
210
|
-
setup(n, { emit:
|
|
211
|
-
const e =
|
|
212
|
-
return (
|
|
210
|
+
setup(n, { emit: t }) {
|
|
211
|
+
const e = t;
|
|
212
|
+
return (a, c) => (o(), i("div", {
|
|
213
213
|
class: "card",
|
|
214
|
-
onClick:
|
|
214
|
+
onClick: c[0] || (c[0] = (r) => e("click", r))
|
|
215
215
|
}, [
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
216
|
+
s("div", Be, [
|
|
217
|
+
s("div", Le, [
|
|
218
|
+
b(a.$slots, "headerPrefix", {}, void 0, !0),
|
|
219
|
+
s("div", null, [
|
|
220
|
+
a.tagline ? (o(), i("div", Ve, d(a.tagline), 1)) : k("", !0),
|
|
221
|
+
s("div", null, [
|
|
222
|
+
s("h3", null, d(a.title), 1)
|
|
223
223
|
])
|
|
224
224
|
])
|
|
225
225
|
]),
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
c[1] || (c[1] = s("div", { class: "muc-divider" }, null, -1)),
|
|
227
|
+
b(a.$slots, "content", {}, void 0, !0)
|
|
228
228
|
])
|
|
229
229
|
]));
|
|
230
230
|
}
|
|
231
|
-
}), Ee = /* @__PURE__ */
|
|
231
|
+
}), Ee = /* @__PURE__ */ E(ze, [["__scopeId", "data-v-acf0a1dd"]]), Re = { class: "container card-container" }, He = /* @__PURE__ */ h({
|
|
232
232
|
__name: "MucCardContainer",
|
|
233
233
|
setup(n) {
|
|
234
|
-
return (
|
|
235
|
-
|
|
234
|
+
return (t, e) => (o(), i("div", Re, [
|
|
235
|
+
b(t.$slots, "default", {}, void 0, !0)
|
|
236
236
|
]));
|
|
237
237
|
}
|
|
238
|
-
}),
|
|
238
|
+
}), je = /* @__PURE__ */ E(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" }, We = { key: 0 }, Ue = { class: "m-comment__author" }, Ne = { class: "m-comment__date" }, qe = ["aria-label"], Ze = {
|
|
239
239
|
key: 0,
|
|
240
240
|
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",
|
|
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, O = 5, Q = /* @__PURE__ */ h({
|
|
242
242
|
__name: "MucComment",
|
|
243
243
|
props: {
|
|
244
244
|
rating: {},
|
|
245
245
|
variant: { default: "listing" }
|
|
246
246
|
},
|
|
247
247
|
setup(n) {
|
|
248
|
-
const
|
|
248
|
+
const t = Z(), e = n, a = m(() => !!t.date), c = m(() => e.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), r = m(
|
|
249
249
|
() => Math.min(Math.max(e.rating, 0), O)
|
|
250
|
-
), p =
|
|
250
|
+
), p = m(() => r.value.toLocaleString(Ye.valueOf(), {
|
|
251
251
|
minimumFractionDigits: 1
|
|
252
|
-
})),
|
|
253
|
-
const
|
|
254
|
-
let
|
|
255
|
-
return r.value !== 0 && r.value !== O && (
|
|
256
|
-
fullStars:
|
|
257
|
-
emptyStars:
|
|
258
|
-
isHalfStar:
|
|
252
|
+
})), l = m(() => {
|
|
253
|
+
const v = +(r.value % 1).toFixed(1);
|
|
254
|
+
let A = Math.min(Math.floor(r.value), O), I = Math.floor(O - r.value), f = !1;
|
|
255
|
+
return r.value !== 0 && r.value !== O && (v <= et ? I++ : v >= tt ? A++ : f = !0), {
|
|
256
|
+
fullStars: A,
|
|
257
|
+
emptyStars: I,
|
|
258
|
+
isHalfStar: f
|
|
259
259
|
};
|
|
260
260
|
});
|
|
261
|
-
return (
|
|
262
|
-
class:
|
|
261
|
+
return (v, A) => (o(), i("div", {
|
|
262
|
+
class: B(["m-comment", c.value])
|
|
263
263
|
}, [
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
v
|
|
264
|
+
s("div", Oe, [
|
|
265
|
+
s("div", Pe, [
|
|
266
|
+
b(v.$slots, "initials")
|
|
267
267
|
]),
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
v
|
|
268
|
+
s("div", De, [
|
|
269
|
+
s("span", Ge, [
|
|
270
|
+
b(v.$slots, "author")
|
|
271
271
|
]),
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
v
|
|
272
|
+
a.value ? (o(), i("span", We, [
|
|
273
|
+
s("span", Ue, [
|
|
274
|
+
A[0] || (A[0] = y(" ")),
|
|
275
|
+
b(v.$slots, "datePrefix")
|
|
276
276
|
]),
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
v
|
|
277
|
+
s("span", Ne, [
|
|
278
|
+
A[1] || (A[1] = y(" ")),
|
|
279
|
+
b(v.$slots, "date")
|
|
280
280
|
])
|
|
281
|
-
])) :
|
|
282
|
-
|
|
281
|
+
])) : k("", !0),
|
|
282
|
+
s("div", {
|
|
283
283
|
class: "m-star-rating",
|
|
284
284
|
role: "img",
|
|
285
|
-
"aria-label": `Bewertung: ${
|
|
285
|
+
"aria-label": `Bewertung: ${v.rating} von ${O} Sternen`
|
|
286
286
|
}, [
|
|
287
|
-
(
|
|
288
|
-
key:
|
|
287
|
+
(o(!0), i(H, null, D(l.value.fullStars, (I) => (o(), i("div", {
|
|
288
|
+
key: I,
|
|
289
289
|
class: "m-star-rating__item m-star-rating__item--full"
|
|
290
290
|
}, [
|
|
291
|
-
|
|
291
|
+
C($(T), { icon: "solid-star" })
|
|
292
292
|
]))), 128)),
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
])) :
|
|
296
|
-
(
|
|
297
|
-
key:
|
|
293
|
+
l.value.isHalfStar ? (o(), i("div", Ze, [
|
|
294
|
+
C($(T), { icon: "half-star" })
|
|
295
|
+
])) : k("", !0),
|
|
296
|
+
(o(!0), i(H, null, D(l.value.emptyStars, (I) => (o(), i("div", {
|
|
297
|
+
key: I,
|
|
298
298
|
class: "m-star-rating__item"
|
|
299
299
|
}, [
|
|
300
|
-
|
|
300
|
+
C($(T), { icon: "solid-star" })
|
|
301
301
|
]))), 128)),
|
|
302
|
-
|
|
303
|
-
], 8,
|
|
302
|
+
s("div", Ke, d(p.value), 1)
|
|
303
|
+
], 8, qe)
|
|
304
304
|
])
|
|
305
305
|
]),
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
v
|
|
306
|
+
s("div", Xe, [
|
|
307
|
+
s("div", Je, [
|
|
308
|
+
b(v.$slots, "headline")
|
|
309
309
|
]),
|
|
310
|
-
|
|
311
|
-
v
|
|
310
|
+
s("div", Qe, [
|
|
311
|
+
b(v.$slots, "text")
|
|
312
312
|
])
|
|
313
313
|
])
|
|
314
314
|
], 2));
|
|
315
315
|
}
|
|
316
|
-
}),
|
|
316
|
+
}), st = " ", at = /* @__PURE__ */ h({
|
|
317
317
|
__name: "MucCommentText",
|
|
318
318
|
props: {
|
|
319
319
|
datePrefix: { default: "am" },
|
|
@@ -326,112 +326,236 @@ const ve = ["href"], A = /* @__PURE__ */ f({
|
|
|
326
326
|
variant: { default: "listing" }
|
|
327
327
|
},
|
|
328
328
|
setup(n) {
|
|
329
|
-
const
|
|
330
|
-
return (
|
|
331
|
-
rating:
|
|
332
|
-
variant:
|
|
333
|
-
},
|
|
334
|
-
initials:
|
|
335
|
-
y(
|
|
329
|
+
const t = n, e = m(() => ((t.initials ?? t.author.split(st).map((a) => a.charAt(0)).join("")).match(/^.|.$/g) ?? [""]).join(""));
|
|
330
|
+
return (a, c) => (o(), W($(Q), {
|
|
331
|
+
rating: a.rating,
|
|
332
|
+
variant: a.variant
|
|
333
|
+
}, re({
|
|
334
|
+
initials: z(() => [
|
|
335
|
+
y(d(e.value), 1)
|
|
336
336
|
]),
|
|
337
|
-
datePrefix:
|
|
338
|
-
|
|
337
|
+
datePrefix: z(() => [
|
|
338
|
+
c[0] || (c[0] = y("am"))
|
|
339
339
|
]),
|
|
340
|
-
author:
|
|
341
|
-
y(
|
|
340
|
+
author: z(() => [
|
|
341
|
+
y(d(a.author), 1)
|
|
342
342
|
]),
|
|
343
|
-
headline:
|
|
344
|
-
y(
|
|
343
|
+
headline: z(() => [
|
|
344
|
+
y(d(a.headline), 1)
|
|
345
345
|
]),
|
|
346
|
-
text:
|
|
347
|
-
y(
|
|
346
|
+
text: z(() => [
|
|
347
|
+
y(d(a.text), 1)
|
|
348
348
|
]),
|
|
349
349
|
_: 2
|
|
350
350
|
}, [
|
|
351
|
-
|
|
351
|
+
a.date ? {
|
|
352
352
|
name: "date",
|
|
353
|
-
fn:
|
|
354
|
-
y(
|
|
353
|
+
fn: z(() => [
|
|
354
|
+
y(d(a.date), 1)
|
|
355
355
|
]),
|
|
356
356
|
key: "0"
|
|
357
357
|
} : void 0
|
|
358
358
|
]), 1032, ["rating", "variant"]));
|
|
359
359
|
}
|
|
360
|
-
}),
|
|
361
|
-
function
|
|
362
|
-
return
|
|
360
|
+
}), nt = {}, ot = { class: "divider-border" };
|
|
361
|
+
function lt(n, t) {
|
|
362
|
+
return o(), i("hr", ot);
|
|
363
363
|
}
|
|
364
|
-
const
|
|
364
|
+
const it = /* @__PURE__ */ E(nt, [["render", lt], ["__scopeId", "data-v-a2b37f5b"]]), rt = {}, ct = {
|
|
365
|
+
"aria-hidden": "true",
|
|
366
|
+
width: "108",
|
|
367
|
+
height: "56",
|
|
368
|
+
viewBox: "0 0 108 56",
|
|
369
|
+
fill: "none",
|
|
370
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
371
|
+
};
|
|
372
|
+
function ut(n, t) {
|
|
373
|
+
return o(), i("svg", ct, t[0] || (t[0] = [
|
|
374
|
+
K('<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)
|
|
375
|
+
]));
|
|
376
|
+
}
|
|
377
|
+
const dt = /* @__PURE__ */ E(rt, [["render", ut]]), mt = {
|
|
378
|
+
key: 0,
|
|
379
|
+
class: "m-error-message"
|
|
380
|
+
}, pt = {
|
|
381
|
+
key: 1,
|
|
382
|
+
class: "m-error-message"
|
|
383
|
+
}, _t = {
|
|
384
|
+
key: 2,
|
|
385
|
+
class: "m-error-message"
|
|
386
|
+
}, ft = /* @__PURE__ */ h({
|
|
387
|
+
__name: "MucFileDropzone",
|
|
388
|
+
props: {
|
|
389
|
+
buttonText: { default: "Upload file" },
|
|
390
|
+
additionalInformation: {},
|
|
391
|
+
disabled: { type: Boolean, default: !1 },
|
|
392
|
+
multiple: { type: Boolean, default: !0 },
|
|
393
|
+
invalidAmountWarning: {},
|
|
394
|
+
maxFileSize: { default: 0 },
|
|
395
|
+
maxFileSizeWarning: {},
|
|
396
|
+
maxTotalFileSize: { default: 0 },
|
|
397
|
+
maxTotalFileSizeWarning: {}
|
|
398
|
+
},
|
|
399
|
+
emits: [
|
|
400
|
+
/**
|
|
401
|
+
* Dropped files as {@link File[]} array
|
|
402
|
+
*/
|
|
403
|
+
"files"
|
|
404
|
+
],
|
|
405
|
+
setup(n, { emit: t }) {
|
|
406
|
+
const e = t, a = L(!0), c = L(!0), r = L(!0), p = L(!1), l = document.createElement("input");
|
|
407
|
+
X(() => {
|
|
408
|
+
l.type = "file", l.multiple = n.multiple, l.onchange = (_) => {
|
|
409
|
+
const g = _.target;
|
|
410
|
+
if (g != null && g.files && g.files.length > 0) {
|
|
411
|
+
const x = Array.from(g.files);
|
|
412
|
+
w(x);
|
|
413
|
+
}
|
|
414
|
+
};
|
|
415
|
+
}), ce(() => {
|
|
416
|
+
l.multiple = n.multiple;
|
|
417
|
+
});
|
|
418
|
+
const v = () => {
|
|
419
|
+
n.disabled || l.click();
|
|
420
|
+
}, A = (_) => {
|
|
421
|
+
var g;
|
|
422
|
+
if (!n.disabled) {
|
|
423
|
+
if (!(l != null && l.multiple)) {
|
|
424
|
+
const x = _.dataTransfer;
|
|
425
|
+
if (((g = x == null ? void 0 : x.items) == null ? void 0 : g.length) > 1) {
|
|
426
|
+
r.value = !1;
|
|
427
|
+
return;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
p.value = !0;
|
|
431
|
+
}
|
|
432
|
+
}, I = () => {
|
|
433
|
+
p.value = !1, r.value = !0;
|
|
434
|
+
}, f = (_) => {
|
|
435
|
+
var x;
|
|
436
|
+
if (n.disabled) return;
|
|
437
|
+
if (!r.value) {
|
|
438
|
+
r.value = !0;
|
|
439
|
+
return;
|
|
440
|
+
}
|
|
441
|
+
p.value = !1;
|
|
442
|
+
const g = _.dataTransfer;
|
|
443
|
+
if (((x = g == null ? void 0 : g.files) == null ? void 0 : x.length) > 0) {
|
|
444
|
+
const U = Array.from(g.files);
|
|
445
|
+
w(U);
|
|
446
|
+
}
|
|
447
|
+
}, w = (_) => {
|
|
448
|
+
a.value = F(_), c.value = V(_), !(!a.value || !c.value) && e("files", _);
|
|
449
|
+
}, F = (_) => n.maxFileSize ? !_.some((g) => g.size > n.maxFileSize * 1024 * 1024) : !0, V = (_) => n.maxTotalFileSize ? _.reduce((g, x) => g + (x.size || 0), 0) <= n.maxTotalFileSize * 1024 * 1024 : !0;
|
|
450
|
+
return (_, g) => (o(), i(H, null, [
|
|
451
|
+
s("div", {
|
|
452
|
+
class: B(["drop-zone", {
|
|
453
|
+
"is-dragover": p.value,
|
|
454
|
+
"is-not-disabled": !_.disabled
|
|
455
|
+
}]),
|
|
456
|
+
onDragover: P(A, ["prevent"]),
|
|
457
|
+
onDragleave: P(I, ["prevent"]),
|
|
458
|
+
onDrop: P(f, ["prevent"]),
|
|
459
|
+
onClick: v
|
|
460
|
+
}, [
|
|
461
|
+
C(dt),
|
|
462
|
+
C($(G), {
|
|
463
|
+
variant: "secondary",
|
|
464
|
+
icon: "upload",
|
|
465
|
+
disabled: _.disabled
|
|
466
|
+
}, {
|
|
467
|
+
default: z(() => [
|
|
468
|
+
y(d(_.buttonText), 1)
|
|
469
|
+
]),
|
|
470
|
+
_: 1
|
|
471
|
+
}, 8, ["disabled"]),
|
|
472
|
+
s("small", null, d(_.additionalInformation), 1)
|
|
473
|
+
], 34),
|
|
474
|
+
!a.value && _.maxFileSizeWarning ? (o(), i("span", mt, [
|
|
475
|
+
C($(T), { icon: "warning" }),
|
|
476
|
+
y(" " + d(_.maxFileSizeWarning), 1)
|
|
477
|
+
])) : k("", !0),
|
|
478
|
+
!c.value && _.maxTotalFileSizeWarning ? (o(), i("span", pt, [
|
|
479
|
+
C($(T), { icon: "warning" }),
|
|
480
|
+
y(" " + d(_.maxTotalFileSizeWarning), 1)
|
|
481
|
+
])) : k("", !0),
|
|
482
|
+
r.value ? k("", !0) : (o(), i("span", _t, [
|
|
483
|
+
C($(T), { icon: "warning" }),
|
|
484
|
+
y(" " + d(_.invalidAmountWarning), 1)
|
|
485
|
+
]))
|
|
486
|
+
], 64));
|
|
487
|
+
}
|
|
488
|
+
}), ht = /* @__PURE__ */ E(ft, [["__scopeId", "data-v-8c3a02f8"]]), vt = ["checked"], gt = { class: "m-label m-checkboxes__label" }, bt = /* @__PURE__ */ h({
|
|
365
489
|
__name: "MucCheckbox",
|
|
366
|
-
props: /* @__PURE__ */
|
|
490
|
+
props: /* @__PURE__ */ R({
|
|
367
491
|
label: {}
|
|
368
492
|
}, {
|
|
369
493
|
modelValue: { type: Boolean, default: !1 },
|
|
370
494
|
modelModifiers: {}
|
|
371
495
|
}),
|
|
372
|
-
emits: /* @__PURE__ */
|
|
373
|
-
setup(n, { emit:
|
|
374
|
-
const e =
|
|
375
|
-
e.value = !e.value,
|
|
496
|
+
emits: /* @__PURE__ */ R(["click"], ["update:modelValue"]),
|
|
497
|
+
setup(n, { emit: t }) {
|
|
498
|
+
const e = j(n, "modelValue"), a = t, c = () => {
|
|
499
|
+
e.value = !e.value, a("click");
|
|
376
500
|
};
|
|
377
|
-
return (r, p) => (
|
|
501
|
+
return (r, p) => (o(), i("div", {
|
|
378
502
|
class: "m-checkboxes__item",
|
|
379
|
-
onClick:
|
|
503
|
+
onClick: c
|
|
380
504
|
}, [
|
|
381
|
-
|
|
505
|
+
s("input", {
|
|
382
506
|
class: "m-checkboxes__input",
|
|
383
507
|
name: "checkbox",
|
|
384
508
|
type: "checkbox",
|
|
385
509
|
checked: e.value,
|
|
386
|
-
onClick:
|
|
387
|
-
}, null, 8,
|
|
388
|
-
|
|
510
|
+
onClick: P(c, ["stop"])
|
|
511
|
+
}, null, 8, vt),
|
|
512
|
+
s("label", gt, d(r.label), 1)
|
|
389
513
|
]));
|
|
390
514
|
}
|
|
391
|
-
}),
|
|
515
|
+
}), kt = { class: "m-form-group" }, yt = { class: "m-checkbox-group" }, $t = { class: "m-checkbox-group__legend" }, Mt = { class: "m-checkbox-group__heading" }, Ct = { class: "m-checkboxes m-checkboxes--collapse" }, wt = {
|
|
392
516
|
"aria-hidden": "true",
|
|
393
517
|
class: "icon icon--after"
|
|
394
|
-
},
|
|
518
|
+
}, At = ["href"], St = /* @__PURE__ */ h({
|
|
395
519
|
__name: "MucCheckboxGroup",
|
|
396
520
|
props: {
|
|
397
521
|
heading: {}
|
|
398
522
|
},
|
|
399
523
|
setup(n) {
|
|
400
|
-
const
|
|
401
|
-
return (r, p) => (
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
524
|
+
const t = L(!0), e = m(() => t.value ? "collapse" : ""), a = m(() => t.value ? "down" : "up"), c = () => t.value = !t.value;
|
|
525
|
+
return (r, p) => (o(), i("div", kt, [
|
|
526
|
+
s("fieldset", yt, [
|
|
527
|
+
s("legend", $t, [
|
|
528
|
+
s("h3", Mt, d(r.heading), 1)
|
|
405
529
|
]),
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
r.$slots.collapsableCheckboxes ? (
|
|
530
|
+
s("div", Ct, [
|
|
531
|
+
b(r.$slots, "checkboxes"),
|
|
532
|
+
r.$slots.collapsableCheckboxes ? (o(), i("div", {
|
|
409
533
|
key: 0,
|
|
410
|
-
class:
|
|
534
|
+
class: B(["m-checkboxes__collapse__container", e.value])
|
|
411
535
|
}, [
|
|
412
|
-
|
|
413
|
-
], 2)) :
|
|
414
|
-
r.$slots.collapsableCheckboxes ? (
|
|
536
|
+
b(r.$slots, "collapsableCheckboxes")
|
|
537
|
+
], 2)) : k("", !0),
|
|
538
|
+
r.$slots.collapsableCheckboxes ? (o(), W($(G), {
|
|
415
539
|
key: 1,
|
|
416
540
|
variant: "ghost",
|
|
417
|
-
onClick:
|
|
418
|
-
"aria-expanded": !
|
|
541
|
+
onClick: c,
|
|
542
|
+
"aria-expanded": !t.value
|
|
419
543
|
}, {
|
|
420
|
-
default:
|
|
421
|
-
p[0] || (p[0] =
|
|
422
|
-
(
|
|
423
|
-
|
|
424
|
-
href: "#icon-chevron-" +
|
|
425
|
-
}, null, 8,
|
|
544
|
+
default: z(() => [
|
|
545
|
+
p[0] || (p[0] = s("span", null, "Mehr ", -1)),
|
|
546
|
+
(o(), i("svg", wt, [
|
|
547
|
+
s("use", {
|
|
548
|
+
href: "#icon-chevron-" + a.value
|
|
549
|
+
}, null, 8, At)
|
|
426
550
|
]))
|
|
427
551
|
]),
|
|
428
552
|
_: 1
|
|
429
|
-
}, 8, ["aria-expanded"])) :
|
|
553
|
+
}, 8, ["aria-expanded"])) : k("", !0)
|
|
430
554
|
])
|
|
431
555
|
])
|
|
432
556
|
]));
|
|
433
557
|
}
|
|
434
|
-
}),
|
|
558
|
+
}), Tt = ["href", "target"], Y = /* @__PURE__ */ h({
|
|
435
559
|
__name: "MucLink",
|
|
436
560
|
props: {
|
|
437
561
|
label: {},
|
|
@@ -441,30 +565,30 @@ const lt = /* @__PURE__ */ V(ot, [["render", nt], ["__scopeId", "data-v-a2b37f5b
|
|
|
441
565
|
noUnderline: { type: Boolean, default: !1 }
|
|
442
566
|
},
|
|
443
567
|
setup(n) {
|
|
444
|
-
const
|
|
445
|
-
() =>
|
|
568
|
+
const t = n, e = m(
|
|
569
|
+
() => t.noUnderline ? "m-link--reversed-underline" : ""
|
|
446
570
|
);
|
|
447
|
-
return (
|
|
448
|
-
href:
|
|
449
|
-
target:
|
|
450
|
-
class:
|
|
571
|
+
return (a, c) => (o(), i("a", {
|
|
572
|
+
href: a.href,
|
|
573
|
+
target: a.target,
|
|
574
|
+
class: B(["m-link", e.value])
|
|
451
575
|
}, [
|
|
452
|
-
y(
|
|
453
|
-
|
|
454
|
-
|
|
576
|
+
y(d(a.label) + " ", 1),
|
|
577
|
+
b(a.$slots, "icon", {}, () => [
|
|
578
|
+
a.icon ? (o(), W($(T), {
|
|
455
579
|
key: 0,
|
|
456
|
-
icon:
|
|
580
|
+
icon: a.icon,
|
|
457
581
|
class: "icon icon--after"
|
|
458
|
-
}, null, 8, ["icon"])) :
|
|
582
|
+
}, null, 8, ["icon"])) : k("", !0)
|
|
459
583
|
])
|
|
460
|
-
], 10,
|
|
584
|
+
], 10, Tt));
|
|
461
585
|
}
|
|
462
|
-
}),
|
|
586
|
+
}), It = { class: "wrapper" }, Ft = { tabindex: "0" }, xt = {
|
|
463
587
|
class: "centered-text",
|
|
464
588
|
style: { color: "var(--color-brand-main-blue)" }
|
|
465
|
-
},
|
|
589
|
+
}, Bt = { class: "visually-hidden" }, Lt = { key: 0 }, Vt = { class: "centered-text" }, zt = { key: 1 }, Et = { class: "centered-text" }, Rt = /* @__PURE__ */ h({
|
|
466
590
|
__name: "MucCounter",
|
|
467
|
-
props: /* @__PURE__ */
|
|
591
|
+
props: /* @__PURE__ */ R({
|
|
468
592
|
label: {},
|
|
469
593
|
min: {},
|
|
470
594
|
max: {},
|
|
@@ -476,97 +600,103 @@ const lt = /* @__PURE__ */ V(ot, [["render", nt], ["__scopeId", "data-v-a2b37f5b
|
|
|
476
600
|
}),
|
|
477
601
|
emits: ["update:modelValue"],
|
|
478
602
|
setup(n) {
|
|
479
|
-
const
|
|
480
|
-
() => !!e.max && !(
|
|
481
|
-
), p =
|
|
482
|
-
() =>
|
|
603
|
+
const t = j(n, "modelValue"), e = n, a = () => t.value++, c = () => t.value--, r = m(
|
|
604
|
+
() => !!e.max && !(t.value < e.max) || e.disabled
|
|
605
|
+
), p = m(
|
|
606
|
+
() => t.value == 0 || !!e.min && !(t.value > e.min) || e.disabled
|
|
483
607
|
);
|
|
484
|
-
return (
|
|
485
|
-
|
|
486
|
-
onClick:
|
|
608
|
+
return (l, v) => (o(), i("div", It, [
|
|
609
|
+
C($(G), {
|
|
610
|
+
onClick: c,
|
|
487
611
|
variant: "secondary",
|
|
488
|
-
disabled: p.value
|
|
612
|
+
disabled: p.value,
|
|
613
|
+
"aria-label": "Anzahl " + l.label + " reduzieren auf " + (t.value - 1)
|
|
489
614
|
}, {
|
|
490
|
-
default:
|
|
491
|
-
|
|
615
|
+
default: z(() => [
|
|
616
|
+
C($(T), { icon: "minus" })
|
|
492
617
|
]),
|
|
493
618
|
_: 1
|
|
494
|
-
}, 8, ["disabled"]),
|
|
495
|
-
|
|
496
|
-
|
|
619
|
+
}, 8, ["disabled", "aria-label"]),
|
|
620
|
+
s("p", Ft, [
|
|
621
|
+
s("strong", xt, [
|
|
622
|
+
s("span", Bt, " Aktuell ausgewählte Anzahl für " + d(l.label) + " ist", 1),
|
|
623
|
+
y(" " + d(t.value), 1)
|
|
624
|
+
])
|
|
497
625
|
]),
|
|
498
|
-
|
|
499
|
-
onClick:
|
|
626
|
+
C($(G), {
|
|
627
|
+
onClick: a,
|
|
500
628
|
variant: "secondary",
|
|
501
|
-
disabled: r.value
|
|
629
|
+
disabled: r.value,
|
|
630
|
+
"aria-label": "Anzahl " + l.label + " erhöhen auf " + (t.value + 1)
|
|
502
631
|
}, {
|
|
503
|
-
default:
|
|
504
|
-
|
|
632
|
+
default: z(() => [
|
|
633
|
+
C($(T), { icon: "plus" })
|
|
505
634
|
]),
|
|
506
635
|
_: 1
|
|
507
|
-
}, 8, ["disabled"]),
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
636
|
+
}, 8, ["disabled", "aria-label"]),
|
|
637
|
+
l.link ? (o(), i("p", Lt, [
|
|
638
|
+
s("label", Vt, [
|
|
639
|
+
C($(Y), {
|
|
640
|
+
tabindex: "0",
|
|
641
|
+
label: l.label,
|
|
642
|
+
href: l.link
|
|
513
643
|
}, null, 8, ["label", "href"])
|
|
514
644
|
])
|
|
515
|
-
])) : (
|
|
516
|
-
|
|
645
|
+
])) : (o(), i("p", zt, [
|
|
646
|
+
s("label", Et, d(l.label), 1)
|
|
517
647
|
]))
|
|
518
648
|
]));
|
|
519
649
|
}
|
|
520
|
-
}),
|
|
650
|
+
}), Ht = /* @__PURE__ */ E(Rt, [["__scopeId", "data-v-2ae0cd02"]]), jt = {
|
|
521
651
|
class: "m-error-list",
|
|
522
652
|
role: "alert",
|
|
523
653
|
tabindex: "-1"
|
|
524
|
-
},
|
|
654
|
+
}, Ot = { class: "m-error-list__title" }, Pt = { class: "m-error-list__body" }, Dt = { class: "m-list m-error-list__list" }, Gt = /* @__PURE__ */ h({
|
|
525
655
|
__name: "MucErrorList",
|
|
526
656
|
props: {
|
|
527
657
|
title: {},
|
|
528
658
|
errors: {}
|
|
529
659
|
},
|
|
530
660
|
setup(n) {
|
|
531
|
-
const
|
|
532
|
-
() => typeof
|
|
661
|
+
const t = n, e = m(
|
|
662
|
+
() => typeof t.errors == "string" ? [t.errors] : t.errors
|
|
533
663
|
);
|
|
534
|
-
return (
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
(
|
|
539
|
-
|
|
664
|
+
return (a, c) => (o(), i("div", jt, [
|
|
665
|
+
s("h2", Ot, d(a.title), 1),
|
|
666
|
+
s("div", Pt, [
|
|
667
|
+
s("ul", Dt, [
|
|
668
|
+
(o(!0), i(H, null, D(e.value, (r, p) => (o(), i("li", { key: p }, [
|
|
669
|
+
s("a", null, d(r), 1)
|
|
540
670
|
]))), 128))
|
|
541
671
|
])
|
|
542
672
|
])
|
|
543
673
|
]));
|
|
544
674
|
}
|
|
545
|
-
}),
|
|
675
|
+
}), Wt = {
|
|
546
676
|
for: "search-input",
|
|
547
677
|
class: "m-label"
|
|
548
|
-
},
|
|
678
|
+
}, Ut = {
|
|
549
679
|
key: 0,
|
|
550
680
|
"aria-hidden": "true",
|
|
551
681
|
class: "mandatory"
|
|
552
|
-
},
|
|
682
|
+
}, Nt = {
|
|
553
683
|
id: "text-input-error",
|
|
554
684
|
class: "m-error-message"
|
|
555
|
-
},
|
|
685
|
+
}, qt = { class: "m-input-wrapper m-autocomplete" }, Zt = {
|
|
556
686
|
key: 0,
|
|
557
687
|
class: "m-input__prefix"
|
|
558
|
-
},
|
|
688
|
+
}, Kt = ["type", "aria-describedby", "placeholder", "required"], Xt = {
|
|
559
689
|
key: 1,
|
|
560
690
|
class: "autocomplete-result-list autocomplete-result-list--location"
|
|
561
|
-
},
|
|
691
|
+
}, Jt = ["onClick"], Qt = {
|
|
562
692
|
"aria-hidden": "true",
|
|
563
693
|
class: "icon"
|
|
564
|
-
},
|
|
694
|
+
}, Yt = ["xlink:href"], es = {
|
|
565
695
|
class: "m-hint",
|
|
566
696
|
id: "text-input-hint"
|
|
567
|
-
},
|
|
697
|
+
}, ts = /* @__PURE__ */ h({
|
|
568
698
|
__name: "MucInput",
|
|
569
|
-
props: /* @__PURE__ */
|
|
699
|
+
props: /* @__PURE__ */ R({
|
|
570
700
|
errorMsg: {},
|
|
571
701
|
placeholder: {},
|
|
572
702
|
required: { type: Boolean, default: !1 },
|
|
@@ -579,69 +709,69 @@ const lt = /* @__PURE__ */ V(ot, [["render", nt], ["__scopeId", "data-v-a2b37f5b
|
|
|
579
709
|
modelValue: { default: "" },
|
|
580
710
|
modelModifiers: {}
|
|
581
711
|
}),
|
|
582
|
-
emits: /* @__PURE__ */
|
|
583
|
-
setup(n, { emit:
|
|
584
|
-
const e =
|
|
712
|
+
emits: /* @__PURE__ */ R(["suffixClick"], ["update:modelValue"]),
|
|
713
|
+
setup(n, { emit: t }) {
|
|
714
|
+
const e = j(n, "modelValue"), a = n, c = Z(), r = t, p = m(() => a.errorMsg ? "has-error" : ""), l = m(() => a.type === "search"), v = m(() => {
|
|
585
715
|
if (e.value === "") return [];
|
|
586
|
-
const
|
|
587
|
-
return
|
|
588
|
-
(
|
|
716
|
+
const f = e.value.toLowerCase();
|
|
717
|
+
return a.datalist.filter(
|
|
718
|
+
(w) => w.toLowerCase().startsWith(f) && w.toLowerCase() !== f
|
|
589
719
|
);
|
|
590
|
-
}),
|
|
591
|
-
return (
|
|
592
|
-
class:
|
|
720
|
+
}), A = (f) => e.value = f, I = () => r("suffixClick");
|
|
721
|
+
return (f, w) => (o(), i("div", {
|
|
722
|
+
class: B(["m-form-group", p.value])
|
|
593
723
|
}, [
|
|
594
|
-
|
|
595
|
-
y(
|
|
596
|
-
|
|
724
|
+
s("label", Wt, [
|
|
725
|
+
y(d(f.label) + " ", 1),
|
|
726
|
+
f.required ? (o(), i("span", Ut, w[1] || (w[1] = [
|
|
597
727
|
y(" * "),
|
|
598
|
-
|
|
599
|
-
]))) :
|
|
728
|
+
s("span", { class: "visually-hidden" }, "(erforderlich)", -1)
|
|
729
|
+
]))) : k("", !0)
|
|
600
730
|
]),
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
731
|
+
s("p", Nt, d(f.errorMsg), 1),
|
|
732
|
+
s("div", qt, [
|
|
733
|
+
c.prefix ? (o(), i("div", Zt, [
|
|
734
|
+
s("span", null, [
|
|
735
|
+
b(f.$slots, "prefix")
|
|
606
736
|
])
|
|
607
|
-
])) :
|
|
608
|
-
N(
|
|
737
|
+
])) : k("", !0),
|
|
738
|
+
N(s("input", {
|
|
609
739
|
class: "m-input autocomplete-input",
|
|
610
|
-
type:
|
|
611
|
-
"onUpdate:modelValue":
|
|
612
|
-
"aria-describedby":
|
|
613
|
-
placeholder:
|
|
614
|
-
required:
|
|
615
|
-
}, null, 8,
|
|
616
|
-
[
|
|
740
|
+
type: f.type,
|
|
741
|
+
"onUpdate:modelValue": w[0] || (w[0] = (F) => e.value = F),
|
|
742
|
+
"aria-describedby": f.type + "-input",
|
|
743
|
+
placeholder: f.placeholder,
|
|
744
|
+
required: f.required
|
|
745
|
+
}, null, 8, Kt), [
|
|
746
|
+
[ue, e.value]
|
|
617
747
|
]),
|
|
618
|
-
|
|
619
|
-
(
|
|
748
|
+
l.value && v.value.length !== 0 ? (o(), i("ul", Xt, [
|
|
749
|
+
(o(!0), i(H, null, D(v.value, (F) => (o(), i("li", {
|
|
620
750
|
class: "autocomplete-result",
|
|
621
|
-
key:
|
|
622
|
-
onClick: (
|
|
623
|
-
},
|
|
624
|
-
])) :
|
|
625
|
-
|
|
751
|
+
key: F,
|
|
752
|
+
onClick: (V) => A(F)
|
|
753
|
+
}, d(F), 9, Jt))), 128))
|
|
754
|
+
])) : k("", !0),
|
|
755
|
+
f.suffixIcon ? (o(), i("button", {
|
|
626
756
|
key: 2,
|
|
627
757
|
class: "m-input__suffix",
|
|
628
|
-
onClick:
|
|
758
|
+
onClick: I
|
|
629
759
|
}, [
|
|
630
|
-
(
|
|
631
|
-
|
|
632
|
-
"xlink:href": "#icon-" +
|
|
633
|
-
}, null, 8,
|
|
760
|
+
(o(), i("svg", Qt, [
|
|
761
|
+
s("use", {
|
|
762
|
+
"xlink:href": "#icon-" + f.suffixIcon
|
|
763
|
+
}, null, 8, Yt)
|
|
634
764
|
])),
|
|
635
|
-
|
|
636
|
-
])) :
|
|
765
|
+
w[2] || (w[2] = s("span", { class: "visually-hidden" }, "Suchen", -1))
|
|
766
|
+
])) : k("", !0)
|
|
637
767
|
]),
|
|
638
|
-
|
|
768
|
+
s("p", es, d(f.hint), 1)
|
|
639
769
|
], 2));
|
|
640
770
|
}
|
|
641
|
-
}),
|
|
771
|
+
}), ee = Symbol("mucRadioGroup"), ss = {
|
|
642
772
|
key: 0,
|
|
643
773
|
class: "m-radios__item"
|
|
644
|
-
},
|
|
774
|
+
}, as = ["checked", "disabled"], ns = { class: "m-hint" }, os = /* @__PURE__ */ h({
|
|
645
775
|
__name: "MucRadioButton",
|
|
646
776
|
props: {
|
|
647
777
|
value: {},
|
|
@@ -650,86 +780,86 @@ const lt = /* @__PURE__ */ V(ot, [["render", nt], ["__scopeId", "data-v-a2b37f5b
|
|
|
650
780
|
disabled: { type: Boolean, default: !1 }
|
|
651
781
|
},
|
|
652
782
|
setup(n) {
|
|
653
|
-
const
|
|
654
|
-
return (
|
|
655
|
-
|
|
783
|
+
const t = n, e = de(ee), a = () => e == null ? void 0 : e.set(t.value), c = m(() => (e == null ? void 0 : e.modelValue.value) === t.value), r = m(() => t.disabled || (e == null ? void 0 : e.disabled.value)), p = m(() => (e == null ? void 0 : e.disabled) ?? !1);
|
|
784
|
+
return (l, v) => p.value ? (o(), i("div", ss, [
|
|
785
|
+
s("input", {
|
|
656
786
|
class: "m-radios__input",
|
|
657
787
|
type: "radio",
|
|
658
|
-
checked:
|
|
788
|
+
checked: c.value,
|
|
659
789
|
disabled: r.value,
|
|
660
|
-
onClick:
|
|
661
|
-
}, null, 8,
|
|
662
|
-
|
|
790
|
+
onClick: P(a, ["stop"])
|
|
791
|
+
}, null, 8, as),
|
|
792
|
+
s("label", {
|
|
663
793
|
class: "m-label m-radios__label",
|
|
664
|
-
onClick:
|
|
794
|
+
onClick: a
|
|
665
795
|
}, [
|
|
666
|
-
y(
|
|
667
|
-
|
|
796
|
+
y(d(l.label) + " ", 1),
|
|
797
|
+
s("span", ns, d(l.hint), 1)
|
|
668
798
|
])
|
|
669
|
-
])) :
|
|
799
|
+
])) : k("", !0);
|
|
670
800
|
}
|
|
671
|
-
}),
|
|
801
|
+
}), ls = { class: "m-form-group" }, is = { class: "m-radio-group" }, rs = { class: "m-radio-group__legend" }, cs = { class: "m-radio-group__heading" }, us = { class: "m-radios" }, ds = /* @__PURE__ */ h({
|
|
672
802
|
__name: "MucRadioButtonGroup",
|
|
673
|
-
props: /* @__PURE__ */
|
|
803
|
+
props: /* @__PURE__ */ R({
|
|
674
804
|
heading: {},
|
|
675
805
|
disabled: { type: Boolean, default: !1 }
|
|
676
806
|
}, {
|
|
677
807
|
modelValue: { type: [Boolean, String, Array, Object, Number, null] },
|
|
678
808
|
modelModifiers: {}
|
|
679
809
|
}),
|
|
680
|
-
emits: /* @__PURE__ */
|
|
681
|
-
setup(n, { emit:
|
|
682
|
-
const e =
|
|
683
|
-
return
|
|
810
|
+
emits: /* @__PURE__ */ R(["change"], ["update:modelValue"]),
|
|
811
|
+
setup(n, { emit: t }) {
|
|
812
|
+
const e = j(n, "modelValue"), a = n, c = t;
|
|
813
|
+
return me(ee, {
|
|
684
814
|
set: (r) => {
|
|
685
|
-
|
|
815
|
+
c("change", r), e.value = r;
|
|
686
816
|
},
|
|
687
817
|
modelValue: e,
|
|
688
|
-
disabled:
|
|
689
|
-
}), (r, p) => (
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
818
|
+
disabled: pe(_e(a.disabled))
|
|
819
|
+
}), (r, p) => (o(), i("div", ls, [
|
|
820
|
+
s("fieldset", is, [
|
|
821
|
+
s("legend", rs, [
|
|
822
|
+
s("h3", cs, d(r.heading), 1)
|
|
693
823
|
]),
|
|
694
|
-
|
|
695
|
-
|
|
824
|
+
s("div", us, [
|
|
825
|
+
b(r.$slots, "default")
|
|
696
826
|
])
|
|
697
827
|
])
|
|
698
828
|
]));
|
|
699
829
|
}
|
|
700
830
|
});
|
|
701
|
-
function
|
|
831
|
+
function ms(n, t) {
|
|
702
832
|
if (!n) return;
|
|
703
|
-
const e = (
|
|
704
|
-
|
|
833
|
+
const e = (a) => {
|
|
834
|
+
a.target !== n.value && a.composedPath().includes(n.value) || typeof t == "function" && t();
|
|
705
835
|
};
|
|
706
|
-
return
|
|
836
|
+
return X(() => {
|
|
707
837
|
window.addEventListener("click", e);
|
|
708
|
-
}),
|
|
838
|
+
}), fe(() => {
|
|
709
839
|
window.removeEventListener("click", e);
|
|
710
840
|
}), { listener: e };
|
|
711
841
|
}
|
|
712
|
-
const
|
|
842
|
+
const ps = /* @__PURE__ */ h({
|
|
713
843
|
__name: "MucSelectItem",
|
|
714
844
|
props: {
|
|
715
845
|
item: {},
|
|
716
846
|
itemLabel: {}
|
|
717
847
|
},
|
|
718
848
|
setup(n) {
|
|
719
|
-
const
|
|
720
|
-
() => typeof
|
|
849
|
+
const t = n, e = m(
|
|
850
|
+
() => typeof t.item == "string" ? t.item : t.item[t.itemLabel].toString()
|
|
721
851
|
);
|
|
722
|
-
return (
|
|
852
|
+
return (a, c) => (o(), i("span", null, d(e.value), 1));
|
|
723
853
|
}
|
|
724
|
-
}),
|
|
854
|
+
}), _s = { class: "m-label" }, fs = ["onMouseenter", "onClick"], hs = {
|
|
725
855
|
key: 0,
|
|
726
856
|
class: "option"
|
|
727
|
-
},
|
|
857
|
+
}, vs = {
|
|
728
858
|
key: 0,
|
|
729
859
|
class: "m-hint"
|
|
730
|
-
},
|
|
860
|
+
}, gs = /* @__PURE__ */ h({
|
|
731
861
|
__name: "MucSelect",
|
|
732
|
-
props: /* @__PURE__ */
|
|
862
|
+
props: /* @__PURE__ */ R({
|
|
733
863
|
items: {},
|
|
734
864
|
label: {},
|
|
735
865
|
hint: {},
|
|
@@ -744,113 +874,113 @@ const ts = /* @__PURE__ */ f({
|
|
|
744
874
|
}),
|
|
745
875
|
emits: ["update:modelValue"],
|
|
746
876
|
setup(n) {
|
|
747
|
-
const
|
|
877
|
+
const t = L(), e = j(
|
|
748
878
|
n,
|
|
749
879
|
"modelValue"
|
|
750
|
-
),
|
|
751
|
-
|
|
752
|
-
},
|
|
753
|
-
|
|
880
|
+
), a = L(!1), c = L(), r = L(!1), p = L(), l = n, v = () => {
|
|
881
|
+
a.value = !a.value, p.value = c.value;
|
|
882
|
+
}, A = () => {
|
|
883
|
+
a.value = !0, p.value = c.value, V.value = "";
|
|
754
884
|
};
|
|
755
|
-
|
|
756
|
-
|
|
885
|
+
ms(t, () => {
|
|
886
|
+
a.value = !1, V.value = F.value;
|
|
757
887
|
});
|
|
758
|
-
const
|
|
759
|
-
|
|
760
|
-
},
|
|
761
|
-
Array.isArray(e.value) && (e.value = e.value.join(" ")), typeof e.value != "string" && typeof u != "string" ? e.value = e.value[
|
|
762
|
-
},
|
|
763
|
-
Array.isArray(e.value) || (e.value = [e.value]), Array.isArray(e.value) && (typeof u == "string" ? e.value = e.value.map((
|
|
764
|
-
(
|
|
888
|
+
const I = (u) => {
|
|
889
|
+
c.value = u, l.multiple ? w(u) : f(u), l.multiple || (a.value = !1);
|
|
890
|
+
}, f = (u) => {
|
|
891
|
+
Array.isArray(e.value) && (e.value = e.value.join(" ")), typeof e.value != "string" && typeof u != "string" ? e.value = e.value[l.itemTitle] === u[l.itemTitle] ? "" : u : e.value = e.value === u ? "" : u;
|
|
892
|
+
}, w = (u) => {
|
|
893
|
+
Array.isArray(e.value) || (e.value = [e.value]), Array.isArray(e.value) && (typeof u == "string" ? e.value = e.value.map((M) => M).includes(u) ? e.value.filter((M) => M !== u) : [...e.value, u] : e.value = e.value.map((M) => M[l.itemTitle]).includes(u[l.itemTitle]) ? e.value.filter(
|
|
894
|
+
(M) => M[l.itemTitle] !== u[l.itemTitle]
|
|
765
895
|
) : [...e.value, u]);
|
|
766
|
-
},
|
|
767
|
-
|
|
768
|
-
|
|
896
|
+
}, F = m(() => typeof e.value == "string" ? e.value : Array.isArray(e.value) ? e.value.every((u) => typeof u == "string") ? e.value.join(l.multiple ? ", " : " ") : e.value.map((u) => u[l.itemTitle].toString()).join(l.multiple ? ", " : " ") : e.value[l.itemTitle].toString());
|
|
897
|
+
he(F, (u) => {
|
|
898
|
+
V.value = u;
|
|
769
899
|
});
|
|
770
|
-
const
|
|
771
|
-
() =>
|
|
772
|
-
),
|
|
900
|
+
const V = L(F.value), _ = m(
|
|
901
|
+
() => V.value == F.value ? l.items : g(V.value)
|
|
902
|
+
), g = (u) => {
|
|
773
903
|
r.value = !1;
|
|
774
|
-
const
|
|
775
|
-
(
|
|
776
|
-
) ?
|
|
777
|
-
(
|
|
778
|
-
) :
|
|
779
|
-
(
|
|
904
|
+
const M = l.items.every(
|
|
905
|
+
(S) => typeof S == "string"
|
|
906
|
+
) ? l.items.filter(
|
|
907
|
+
(S) => S.toLowerCase().includes(u.toLowerCase())
|
|
908
|
+
) : l.items.filter(
|
|
909
|
+
(S) => S[l.itemTitle].toString().toLowerCase().includes(u.toLowerCase())
|
|
780
910
|
);
|
|
781
|
-
return
|
|
782
|
-
},
|
|
911
|
+
return M.length === 0 && (r.value = !0), M;
|
|
912
|
+
}, x = (u) => u === p.value ? "active" : "", U = (u) => {
|
|
783
913
|
if (typeof u == "string")
|
|
784
914
|
return e.value.includes(u) ? "selected" : "";
|
|
785
915
|
if (Array.isArray(e.value))
|
|
786
|
-
return e.value.map((
|
|
916
|
+
return e.value.map((M) => M[l.itemTitle]).includes(u[l.itemTitle]) ? "selected" : "";
|
|
787
917
|
if (typeof e.value != "string")
|
|
788
|
-
return e.value[
|
|
789
|
-
},
|
|
790
|
-
() =>
|
|
791
|
-
),
|
|
792
|
-
() =>
|
|
918
|
+
return e.value[l.itemTitle] === u[l.itemTitle] ? "selected" : "";
|
|
919
|
+
}, te = () => p.value = "", se = m(
|
|
920
|
+
() => a.value ? "display-listbox" : ""
|
|
921
|
+
), ae = m(
|
|
922
|
+
() => l.multiple && !r.value ? "m-input-wrapper--multiselect multiselect" : "m-input-wrapper--select"
|
|
793
923
|
);
|
|
794
|
-
return (u,
|
|
924
|
+
return (u, M) => (o(), i("div", {
|
|
795
925
|
class: "m-form-group",
|
|
796
926
|
ref_key: "selectComponentRef",
|
|
797
|
-
ref:
|
|
927
|
+
ref: t
|
|
798
928
|
}, [
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
class:
|
|
929
|
+
s("label", _s, d(u.label), 1),
|
|
930
|
+
s("div", {
|
|
931
|
+
class: B(["m-input-wrapper", ae.value])
|
|
802
932
|
}, [
|
|
803
|
-
N(
|
|
933
|
+
N(s("input", {
|
|
804
934
|
type: "text",
|
|
805
935
|
class: "m-input m-combobox m-combobox--single",
|
|
806
|
-
"onUpdate:modelValue":
|
|
807
|
-
onClick:
|
|
936
|
+
"onUpdate:modelValue": M[0] || (M[0] = (S) => V.value = S),
|
|
937
|
+
onClick: A
|
|
808
938
|
}, null, 512), [
|
|
809
|
-
[
|
|
939
|
+
[J, V.value]
|
|
810
940
|
]),
|
|
811
|
-
|
|
941
|
+
s("span", {
|
|
812
942
|
class: "m-input__trigger",
|
|
813
|
-
onClick:
|
|
814
|
-
},
|
|
815
|
-
|
|
943
|
+
onClick: v
|
|
944
|
+
}, M[1] || (M[1] = [
|
|
945
|
+
s("svg", {
|
|
816
946
|
"aria-hidden": "true",
|
|
817
947
|
class: "icon"
|
|
818
948
|
}, [
|
|
819
|
-
|
|
949
|
+
s("use", { "xlink:href": "#icon-chevron-down" })
|
|
820
950
|
], -1),
|
|
821
|
-
|
|
951
|
+
s("span", { class: "visually-hidden" }, "Auswahlliste öffnen", -1)
|
|
822
952
|
])),
|
|
823
|
-
|
|
824
|
-
class:
|
|
825
|
-
onMouseleave:
|
|
953
|
+
s("ul", {
|
|
954
|
+
class: B(["listbox", se.value]),
|
|
955
|
+
onMouseleave: te
|
|
826
956
|
}, [
|
|
827
|
-
(
|
|
828
|
-
key:
|
|
829
|
-
class:
|
|
830
|
-
onMouseenter: (oe) => p.value =
|
|
831
|
-
onClick: (oe) => S
|
|
957
|
+
(o(!0), i(H, null, D(_.value, (S, ne) => (o(), i("li", {
|
|
958
|
+
key: ne,
|
|
959
|
+
class: B(["option", [x(S), U(S)]]),
|
|
960
|
+
onMouseenter: (oe) => p.value = S,
|
|
961
|
+
onClick: (oe) => I(S)
|
|
832
962
|
}, [
|
|
833
|
-
|
|
834
|
-
item:
|
|
963
|
+
C(ps, {
|
|
964
|
+
item: S,
|
|
835
965
|
"item-label": u.itemTitle
|
|
836
966
|
}, null, 8, ["item", "item-label"])
|
|
837
|
-
], 42,
|
|
838
|
-
r.value ? (
|
|
967
|
+
], 42, fs))), 128)),
|
|
968
|
+
r.value ? (o(), i("li", hs, d(u.noItemFoundMessage), 1)) : k("", !0)
|
|
839
969
|
], 34)
|
|
840
970
|
], 2),
|
|
841
|
-
u.hint ? (
|
|
971
|
+
u.hint ? (o(), i("p", vs, d(u.hint), 1)) : k("", !0)
|
|
842
972
|
], 512));
|
|
843
973
|
}
|
|
844
|
-
}),
|
|
974
|
+
}), bs = /* @__PURE__ */ E(gs, [["__scopeId", "data-v-e39e3aae"]]), ks = { class: "m-form-group has-error" }, ys = {
|
|
845
975
|
for: "textarea",
|
|
846
976
|
class: "m-label"
|
|
847
|
-
},
|
|
977
|
+
}, $s = {
|
|
848
978
|
key: 0,
|
|
849
979
|
"aria-hidden": "true",
|
|
850
980
|
class: "mandatory"
|
|
851
|
-
},
|
|
981
|
+
}, Ms = { class: "m-error-message" }, Cs = { class: "m-input-wrapper" }, ws = ["rows", "placeholder"], As = { class: "m-hint" }, Ss = /* @__PURE__ */ h({
|
|
852
982
|
__name: "MucTextArea",
|
|
853
|
-
props: /* @__PURE__ */
|
|
983
|
+
props: /* @__PURE__ */ R({
|
|
854
984
|
errorMsg: {},
|
|
855
985
|
rows: { default: 3 },
|
|
856
986
|
placeholder: {},
|
|
@@ -863,40 +993,40 @@ const ts = /* @__PURE__ */ f({
|
|
|
863
993
|
}),
|
|
864
994
|
emits: ["update:modelValue"],
|
|
865
995
|
setup(n) {
|
|
866
|
-
const
|
|
867
|
-
return (e,
|
|
868
|
-
|
|
869
|
-
y(
|
|
870
|
-
e.required ? (
|
|
996
|
+
const t = j(n, "modelValue");
|
|
997
|
+
return (e, a) => (o(), i("div", ks, [
|
|
998
|
+
s("label", ys, [
|
|
999
|
+
y(d(e.label) + " ", 1),
|
|
1000
|
+
e.required ? (o(), i("span", $s, a[1] || (a[1] = [
|
|
871
1001
|
y(" * "),
|
|
872
|
-
|
|
873
|
-
]))) :
|
|
1002
|
+
s("span", { class: "visually-hidden" }, "(erforderlich)", -1)
|
|
1003
|
+
]))) : k("", !0)
|
|
874
1004
|
]),
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
N(
|
|
1005
|
+
s("p", Ms, d(e.errorMsg), 1),
|
|
1006
|
+
s("div", Cs, [
|
|
1007
|
+
N(s("textarea", {
|
|
878
1008
|
class: "m-textarea",
|
|
879
1009
|
rows: e.rows,
|
|
880
1010
|
"aria-describedby": "textarea input",
|
|
881
1011
|
placeholder: e.placeholder,
|
|
882
|
-
"onUpdate:modelValue":
|
|
883
|
-
}, null, 8,
|
|
884
|
-
[
|
|
1012
|
+
"onUpdate:modelValue": a[0] || (a[0] = (c) => t.value = c)
|
|
1013
|
+
}, null, 8, ws), [
|
|
1014
|
+
[J, t.value]
|
|
885
1015
|
])
|
|
886
1016
|
]),
|
|
887
|
-
|
|
1017
|
+
s("p", As, d(e.hint), 1)
|
|
888
1018
|
]));
|
|
889
1019
|
}
|
|
890
|
-
}),
|
|
1020
|
+
}), Ts = {
|
|
891
1021
|
class: "m-intro m-intro-static-image",
|
|
892
1022
|
style: { "background-color": "var(--color-neutrals-blue-xlight)" }
|
|
893
|
-
},
|
|
1023
|
+
}, Is = { class: "container" }, Fs = { class: "muc-intro-content" }, xs = {
|
|
894
1024
|
key: 0,
|
|
895
1025
|
class: "m-intro-vertical__tagline"
|
|
896
|
-
},
|
|
1026
|
+
}, Bs = { class: "m-intro-vertical__title" }, Ls = {
|
|
897
1027
|
key: 0,
|
|
898
1028
|
class: "muc-divider"
|
|
899
|
-
},
|
|
1029
|
+
}, Vs = { class: "m-intro-vertical__content" }, zs = { style: { "padding-bottom": "32px" } }, Es = /* @__PURE__ */ h({
|
|
900
1030
|
__name: "MucIntro",
|
|
901
1031
|
props: {
|
|
902
1032
|
title: {},
|
|
@@ -904,100 +1034,102 @@ const ts = /* @__PURE__ */ f({
|
|
|
904
1034
|
divider: { type: Boolean }
|
|
905
1035
|
},
|
|
906
1036
|
setup(n) {
|
|
907
|
-
return (
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
1037
|
+
return (t, e) => (o(), i("div", Ts, [
|
|
1038
|
+
s("div", Is, [
|
|
1039
|
+
s("div", Fs, [
|
|
1040
|
+
s("div", null, [
|
|
1041
|
+
t.tagline ? (o(), i("p", xs, d(t.tagline), 1)) : k("", !0),
|
|
1042
|
+
s("h1", Bs, d(t.title), 1)
|
|
913
1043
|
]),
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
1044
|
+
t.divider ? (o(), i("div", Ls)) : k("", !0),
|
|
1045
|
+
s("div", Vs, [
|
|
1046
|
+
s("p", zs, [
|
|
1047
|
+
b(t.$slots, "default", {}, void 0, !0)
|
|
918
1048
|
])
|
|
919
1049
|
])
|
|
920
1050
|
])
|
|
921
1051
|
])
|
|
922
1052
|
]));
|
|
923
1053
|
}
|
|
924
|
-
}),
|
|
1054
|
+
}), Rs = /* @__PURE__ */ E(Es, [["__scopeId", "data-v-5c768acc"]]), Hs = ["width", "height"], js = {
|
|
925
1055
|
x: "100",
|
|
926
1056
|
y: "108",
|
|
927
1057
|
"text-anchor": "middle",
|
|
928
1058
|
fill: "#3a5368",
|
|
929
1059
|
"font-size": "24",
|
|
930
1060
|
"font-weight": "bold"
|
|
931
|
-
},
|
|
1061
|
+
}, Os = /* @__PURE__ */ h({
|
|
932
1062
|
__name: "MucPercentageSpinner",
|
|
933
1063
|
props: {
|
|
934
1064
|
size: { default: "300" },
|
|
935
1065
|
percentage: {}
|
|
936
1066
|
},
|
|
937
1067
|
setup(n) {
|
|
938
|
-
const
|
|
939
|
-
return (
|
|
1068
|
+
const t = m(() => n.percentage || n.percentage === 0 ? n.percentage < 0 ? "0%" : n.percentage > 100 ? "100%" : Math.round(n.percentage) + "%" : "");
|
|
1069
|
+
return (e, a) => (o(), i("svg", {
|
|
940
1070
|
xmlns: "http://www.w3.org/2000/svg",
|
|
941
|
-
width:
|
|
942
|
-
height:
|
|
1071
|
+
width: e.size,
|
|
1072
|
+
height: e.size,
|
|
943
1073
|
viewBox: "-10 -10 220 220",
|
|
944
1074
|
fill: "none",
|
|
945
1075
|
color: "#005a9f"
|
|
946
1076
|
}, [
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
], 8,
|
|
1077
|
+
a[0] || (a[0] = K('<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)),
|
|
1078
|
+
s("text", js, d(t.value), 1)
|
|
1079
|
+
], 8, Hs));
|
|
950
1080
|
}
|
|
951
|
-
}),
|
|
1081
|
+
}), q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
952
1082
|
__proto__: null,
|
|
953
1083
|
MucBanner: ye,
|
|
954
|
-
MucButton:
|
|
955
|
-
MucCallout:
|
|
1084
|
+
MucButton: G,
|
|
1085
|
+
MucCallout: xe,
|
|
956
1086
|
MucCard: Ee,
|
|
957
|
-
MucCardContainer:
|
|
958
|
-
MucCheckbox:
|
|
959
|
-
MucCheckboxGroup:
|
|
960
|
-
MucComment:
|
|
961
|
-
MucCommentText:
|
|
962
|
-
MucCounter:
|
|
963
|
-
MucDivider:
|
|
964
|
-
MucErrorList:
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
1087
|
+
MucCardContainer: je,
|
|
1088
|
+
MucCheckbox: bt,
|
|
1089
|
+
MucCheckboxGroup: St,
|
|
1090
|
+
MucComment: Q,
|
|
1091
|
+
MucCommentText: at,
|
|
1092
|
+
MucCounter: Ht,
|
|
1093
|
+
MucDivider: it,
|
|
1094
|
+
MucErrorList: Gt,
|
|
1095
|
+
MucFileDropzone: ht,
|
|
1096
|
+
MucIcon: T,
|
|
1097
|
+
MucInput: ts,
|
|
1098
|
+
MucIntro: Rs,
|
|
1099
|
+
MucLink: Y,
|
|
1100
|
+
MucPercentageSpinner: Os,
|
|
1101
|
+
MucRadioButton: os,
|
|
1102
|
+
MucRadioButtonGroup: ds,
|
|
1103
|
+
MucSelect: bs,
|
|
1104
|
+
MucTextArea: Ss
|
|
974
1105
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
975
|
-
function
|
|
976
|
-
for (const
|
|
977
|
-
n.component(
|
|
1106
|
+
function Ps(n) {
|
|
1107
|
+
for (const t in q)
|
|
1108
|
+
n.component(t, q[t]);
|
|
978
1109
|
}
|
|
979
|
-
const
|
|
1110
|
+
const Gs = { install: Ps };
|
|
980
1111
|
export {
|
|
981
1112
|
ye as MucBanner,
|
|
982
|
-
|
|
983
|
-
|
|
1113
|
+
G as MucButton,
|
|
1114
|
+
xe as MucCallout,
|
|
984
1115
|
Ee as MucCard,
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1116
|
+
je as MucCardContainer,
|
|
1117
|
+
bt as MucCheckbox,
|
|
1118
|
+
St as MucCheckboxGroup,
|
|
1119
|
+
Q as MucComment,
|
|
1120
|
+
at as MucCommentText,
|
|
1121
|
+
Ht as MucCounter,
|
|
1122
|
+
it as MucDivider,
|
|
1123
|
+
Gt as MucErrorList,
|
|
1124
|
+
ht as MucFileDropzone,
|
|
1125
|
+
T as MucIcon,
|
|
1126
|
+
ts as MucInput,
|
|
1127
|
+
Rs as MucIntro,
|
|
1128
|
+
Y as MucLink,
|
|
1129
|
+
Os as MucPercentageSpinner,
|
|
1130
|
+
os as MucRadioButton,
|
|
1131
|
+
ds as MucRadioButtonGroup,
|
|
1132
|
+
bs as MucSelect,
|
|
1133
|
+
Ss as MucTextArea,
|
|
1134
|
+
Gs as default
|
|
1003
1135
|
};
|