@muenchen/muc-patternlab-vue 1.12.1-beta.2 → 1.12.1-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.
|
@@ -4,7 +4,7 @@ import { default as MucErrorList } from './MucErrorList.vue';
|
|
|
4
4
|
import { default as MucForm } from './MucInput.vue';
|
|
5
5
|
import { default as MucRadioButton } from './MucRadioButton.vue';
|
|
6
6
|
import { default as MucRadioButtonGroup } from './MucRadioButtonGroup.vue';
|
|
7
|
-
import { default as
|
|
7
|
+
import { default as MucSelect } from './MucSelect.vue';
|
|
8
8
|
import { default as MucTextArea } from './MucTextArea.vue';
|
|
9
9
|
|
|
10
|
-
export { MucForm, MucCheckbox, MucCheckboxGroup, MucRadioButtonGroup, MucInput, MucRadioButton, MucTextArea,
|
|
10
|
+
export { MucForm, MucCheckbox, MucCheckboxGroup, MucRadioButtonGroup, MucInput, MucRadioButton, MucTextArea, MucErrorList, MucSelect, };
|
|
@@ -3,8 +3,8 @@ import { MucButton } from './Button';
|
|
|
3
3
|
import { MucCallout } from './Callout';
|
|
4
4
|
import { MucCard, MucCardContainer } from './Card';
|
|
5
5
|
import { MucComment, MucCommentText } from './Comment/';
|
|
6
|
-
import {
|
|
6
|
+
import { MucCheckbox, MucCheckboxGroup, MucErrorList, MucInput, MucRadioButton, MucRadioButtonGroup, MucSelect, MucTextArea } from './Form';
|
|
7
7
|
import { MucIcon } from './Icon';
|
|
8
8
|
import { MucIntro } from './Intro';
|
|
9
9
|
|
|
10
|
-
export { MucButton, MucBanner, MucIntro, MucCallout, MucCard, MucCardContainer, MucComment, MucCommentText,
|
|
10
|
+
export { MucButton, MucBanner, MucIntro, MucCallout, MucCard, MucCardContainer, MucComment, MucCommentText, MucRadioButton, MucRadioButtonGroup, MucInput, MucTextArea, MucCheckboxGroup, MucCheckbox, MucSelect, MucErrorList, MucIcon, };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { defineComponent as v, useAttrs as
|
|
2
|
-
const
|
|
1
|
+
import { defineComponent as v, useAttrs as Z, computed as r, openBlock as n, createElementBlock as c, normalizeClass as y, normalizeStyle as ee, createElementVNode as e, createVNode as R, unref as k, renderSlot as _, createBlock as j, createCommentVNode as $, toDisplayString as u, pushScopeId as H, popScopeId as N, useSlots as W, createTextVNode as g, Fragment as E, renderList as L, createSlots as te, withCtx as I, mergeModels as M, useModel as T, withModifiers as U, ref as O, withDirectives as z, vModelDynamic as se, inject as oe, provide as ae, readonly as ne, toRef as le, vModelText as ce } from "vue";
|
|
2
|
+
const ie = ["href"], B = /* @__PURE__ */ v({
|
|
3
3
|
__name: "MucIcon",
|
|
4
4
|
props: {
|
|
5
5
|
icon: {},
|
|
6
6
|
color: {}
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
9
|
-
const t =
|
|
10
|
-
return (
|
|
8
|
+
setup(a) {
|
|
9
|
+
const t = Z(), s = r(() => t.class ?? "icon");
|
|
10
|
+
return (o, i) => (n(), c("svg", {
|
|
11
11
|
"aria-hidden": "true",
|
|
12
|
-
class:
|
|
13
|
-
style:
|
|
12
|
+
class: y(s.value),
|
|
13
|
+
style: ee({ color: o.color })
|
|
14
14
|
}, [
|
|
15
15
|
e("use", {
|
|
16
|
-
href: "#icon-" +
|
|
17
|
-
}, null, 8,
|
|
16
|
+
href: "#icon-" + o.icon
|
|
17
|
+
}, null, 8, ie)
|
|
18
18
|
], 6));
|
|
19
19
|
}
|
|
20
|
-
}),
|
|
20
|
+
}), re = ["role", "aria-label"], ue = { class: "container-fluid" }, de = /* @__PURE__ */ v({
|
|
21
21
|
__name: "MucBanner",
|
|
22
22
|
props: {
|
|
23
23
|
type: { default: "info" }
|
|
24
24
|
},
|
|
25
|
-
setup(
|
|
26
|
-
const t =
|
|
25
|
+
setup(a) {
|
|
26
|
+
const t = a, s = r(() => {
|
|
27
27
|
switch (t.type) {
|
|
28
28
|
case "info":
|
|
29
29
|
return "m-banner--info";
|
|
@@ -36,7 +36,7 @@ const U = ["href"], b = /* @__PURE__ */ v({
|
|
|
36
36
|
default:
|
|
37
37
|
return "m-banner--info";
|
|
38
38
|
}
|
|
39
|
-
}),
|
|
39
|
+
}), o = r(() => {
|
|
40
40
|
switch (t.type) {
|
|
41
41
|
case "info":
|
|
42
42
|
return "dialog";
|
|
@@ -49,7 +49,7 @@ const U = ["href"], b = /* @__PURE__ */ v({
|
|
|
49
49
|
default:
|
|
50
50
|
return "dialog";
|
|
51
51
|
}
|
|
52
|
-
}),
|
|
52
|
+
}), i = r(() => {
|
|
53
53
|
switch (t.type) {
|
|
54
54
|
case "info":
|
|
55
55
|
return "Information";
|
|
@@ -62,7 +62,7 @@ const U = ["href"], b = /* @__PURE__ */ v({
|
|
|
62
62
|
default:
|
|
63
63
|
return "Information";
|
|
64
64
|
}
|
|
65
|
-
}), l =
|
|
65
|
+
}), l = r(() => {
|
|
66
66
|
switch (t.type) {
|
|
67
67
|
case "success":
|
|
68
68
|
return "check";
|
|
@@ -74,27 +74,27 @@ const U = ["href"], b = /* @__PURE__ */ v({
|
|
|
74
74
|
return "information";
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
|
-
return (
|
|
77
|
+
return (m, f) => (n(), c("div", null, [
|
|
78
78
|
e("div", null, [
|
|
79
79
|
e("div", {
|
|
80
|
-
class:
|
|
81
|
-
role:
|
|
82
|
-
"aria-label":
|
|
80
|
+
class: y(["m-banner", s.value]),
|
|
81
|
+
role: o.value,
|
|
82
|
+
"aria-label": i.value
|
|
83
83
|
}, [
|
|
84
|
-
e("div",
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
e("div", ue, [
|
|
85
|
+
R(k(B), { icon: l.value }, null, 8, ["icon"]),
|
|
86
|
+
_(m.$slots, "default", {}, void 0, !0)
|
|
87
87
|
])
|
|
88
|
-
], 10,
|
|
88
|
+
], 10, re)
|
|
89
89
|
])
|
|
90
90
|
]));
|
|
91
91
|
}
|
|
92
|
-
}),
|
|
93
|
-
const
|
|
94
|
-
for (const [
|
|
95
|
-
|
|
96
|
-
return
|
|
97
|
-
},
|
|
92
|
+
}), x = (a, t) => {
|
|
93
|
+
const s = a.__vccOpts || a;
|
|
94
|
+
for (const [o, i] of t)
|
|
95
|
+
s[o] = i;
|
|
96
|
+
return s;
|
|
97
|
+
}, _e = /* @__PURE__ */ x(de, [["__scopeId", "data-v-53bc7eca"]]), me = ["disabled"], D = /* @__PURE__ */ v({
|
|
98
98
|
__name: "MucButton",
|
|
99
99
|
props: {
|
|
100
100
|
variant: { default: "primary" },
|
|
@@ -103,9 +103,9 @@ const U = ["href"], b = /* @__PURE__ */ v({
|
|
|
103
103
|
iconAnimated: { type: Boolean, default: !1 }
|
|
104
104
|
},
|
|
105
105
|
emits: ["click"],
|
|
106
|
-
setup(
|
|
107
|
-
const
|
|
108
|
-
switch (
|
|
106
|
+
setup(a, { emit: t }) {
|
|
107
|
+
const s = a, o = t, i = r(() => {
|
|
108
|
+
switch (s.variant) {
|
|
109
109
|
case "secondary":
|
|
110
110
|
return "m-button--secondary";
|
|
111
111
|
case "ghost":
|
|
@@ -113,33 +113,33 @@ const U = ["href"], b = /* @__PURE__ */ v({
|
|
|
113
113
|
default:
|
|
114
114
|
return "m-button--primary";
|
|
115
115
|
}
|
|
116
|
-
}), l =
|
|
117
|
-
() =>
|
|
118
|
-
),
|
|
119
|
-
|
|
116
|
+
}), l = r(
|
|
117
|
+
() => s.iconAnimated ? "m-button--animated-right" : ""
|
|
118
|
+
), m = () => {
|
|
119
|
+
o("click");
|
|
120
120
|
};
|
|
121
|
-
return (
|
|
122
|
-
onClick:
|
|
123
|
-
disabled:
|
|
124
|
-
class:
|
|
121
|
+
return (f, h) => (n(), c("button", {
|
|
122
|
+
onClick: m,
|
|
123
|
+
disabled: f.disabled,
|
|
124
|
+
class: y(["m-button", [i.value, l.value]])
|
|
125
125
|
}, [
|
|
126
126
|
e("span", null, [
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
_(f.$slots, "default"),
|
|
128
|
+
f.icon ? (n(), j(k(B), {
|
|
129
129
|
key: 0,
|
|
130
|
-
icon:
|
|
130
|
+
icon: f.icon,
|
|
131
131
|
class: "m-button__icon"
|
|
132
|
-
}, null, 8, ["icon"])) :
|
|
132
|
+
}, null, 8, ["icon"])) : $("", !0)
|
|
133
133
|
])
|
|
134
|
-
], 10,
|
|
134
|
+
], 10, me));
|
|
135
135
|
}
|
|
136
|
-
}),
|
|
136
|
+
}), pe = ["aria-label"], he = { class: "m-callout__inner" }, ve = { class: "m-callout__icon" }, fe = { class: "m-callout__body" }, $e = { class: "m-callout__body__inner" }, ge = { class: "m-callout__headline" }, be = { class: "m-callout__content" }, ye = /* @__PURE__ */ v({
|
|
137
137
|
__name: "MucCallout",
|
|
138
138
|
props: {
|
|
139
139
|
type: { default: "info" }
|
|
140
140
|
},
|
|
141
|
-
setup(
|
|
142
|
-
const t =
|
|
141
|
+
setup(a) {
|
|
142
|
+
const t = a, s = r(() => {
|
|
143
143
|
switch (t.type) {
|
|
144
144
|
case "error":
|
|
145
145
|
return "warning";
|
|
@@ -148,7 +148,7 @@ const U = ["href"], b = /* @__PURE__ */ v({
|
|
|
148
148
|
default:
|
|
149
149
|
return "information";
|
|
150
150
|
}
|
|
151
|
-
}),
|
|
151
|
+
}), o = r(() => {
|
|
152
152
|
switch (t.type) {
|
|
153
153
|
case "error":
|
|
154
154
|
return "m-callout--error";
|
|
@@ -159,7 +159,7 @@ const U = ["href"], b = /* @__PURE__ */ v({
|
|
|
159
159
|
default:
|
|
160
160
|
return "m-callout--default";
|
|
161
161
|
}
|
|
162
|
-
}),
|
|
162
|
+
}), i = r(() => {
|
|
163
163
|
switch (t.type) {
|
|
164
164
|
case "success":
|
|
165
165
|
return "Erfolgreich";
|
|
@@ -171,148 +171,148 @@ const U = ["href"], b = /* @__PURE__ */ v({
|
|
|
171
171
|
return "Information";
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
|
-
return (l,
|
|
175
|
-
class:
|
|
176
|
-
"aria-label":
|
|
174
|
+
return (l, m) => (n(), c("div", {
|
|
175
|
+
class: y(["m-callout", o.value]),
|
|
176
|
+
"aria-label": i.value
|
|
177
177
|
}, [
|
|
178
|
-
e("div",
|
|
179
|
-
e("div",
|
|
180
|
-
|
|
181
|
-
|
|
178
|
+
e("div", he, [
|
|
179
|
+
e("div", ve, [
|
|
180
|
+
_(l.$slots, "icon", {}, () => [
|
|
181
|
+
R(k(B), { icon: s.value }, null, 8, ["icon"])
|
|
182
182
|
], !0)
|
|
183
183
|
]),
|
|
184
|
-
e("div",
|
|
185
|
-
e("div",
|
|
186
|
-
e("div",
|
|
187
|
-
|
|
184
|
+
e("div", fe, [
|
|
185
|
+
e("div", $e, [
|
|
186
|
+
e("div", ge, [
|
|
187
|
+
_(l.$slots, "header", {}, void 0, !0)
|
|
188
188
|
]),
|
|
189
|
-
e("div",
|
|
189
|
+
e("div", be, [
|
|
190
190
|
e("p", null, [
|
|
191
|
-
|
|
191
|
+
_(l.$slots, "content", { class: "m-callout__content" }, void 0, !0)
|
|
192
192
|
])
|
|
193
193
|
])
|
|
194
194
|
])
|
|
195
195
|
])
|
|
196
196
|
])
|
|
197
|
-
], 10,
|
|
197
|
+
], 10, pe));
|
|
198
198
|
}
|
|
199
|
-
}),
|
|
199
|
+
}), ke = /* @__PURE__ */ x(ye, [["__scopeId", "data-v-e6cf4104"]]), Me = (a) => (H("data-v-acf0a1dd"), a = a(), N(), a), Ce = { class: "card-content" }, we = { class: "card-header" }, Se = {
|
|
200
200
|
key: 0,
|
|
201
201
|
class: "card-tagline"
|
|
202
|
-
},
|
|
202
|
+
}, Ie = /* @__PURE__ */ Me(() => /* @__PURE__ */ e("div", { class: "muc-divider" }, null, -1)), Be = /* @__PURE__ */ v({
|
|
203
203
|
__name: "MucCard",
|
|
204
204
|
props: {
|
|
205
205
|
title: {},
|
|
206
206
|
tagline: {}
|
|
207
207
|
},
|
|
208
208
|
emits: ["click"],
|
|
209
|
-
setup(
|
|
210
|
-
const
|
|
211
|
-
return (
|
|
209
|
+
setup(a, { emit: t }) {
|
|
210
|
+
const s = t;
|
|
211
|
+
return (o, i) => (n(), c("div", {
|
|
212
212
|
class: "card",
|
|
213
|
-
onClick:
|
|
213
|
+
onClick: i[0] || (i[0] = (l) => s("click", l))
|
|
214
214
|
}, [
|
|
215
|
-
e("div",
|
|
216
|
-
e("div",
|
|
217
|
-
|
|
215
|
+
e("div", Ce, [
|
|
216
|
+
e("div", we, [
|
|
217
|
+
_(o.$slots, "headerPrefix", {}, void 0, !0),
|
|
218
218
|
e("div", null, [
|
|
219
|
-
|
|
219
|
+
o.tagline ? (n(), c("div", Se, u(o.tagline), 1)) : $("", !0),
|
|
220
220
|
e("div", null, [
|
|
221
|
-
e("h3", null,
|
|
221
|
+
e("h3", null, u(o.title), 1)
|
|
222
222
|
])
|
|
223
223
|
])
|
|
224
224
|
]),
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
Ie,
|
|
226
|
+
_(o.$slots, "content", {}, void 0, !0)
|
|
227
227
|
])
|
|
228
228
|
]));
|
|
229
229
|
}
|
|
230
|
-
}),
|
|
230
|
+
}), xe = /* @__PURE__ */ x(Be, [["__scopeId", "data-v-acf0a1dd"]]), Ve = { class: "container card-container" }, Ae = /* @__PURE__ */ v({
|
|
231
231
|
__name: "MucCardContainer",
|
|
232
|
-
setup(
|
|
233
|
-
return (t,
|
|
234
|
-
|
|
232
|
+
setup(a) {
|
|
233
|
+
return (t, s) => (n(), c("div", Ve, [
|
|
234
|
+
_(t.$slots, "default", {}, void 0, !0)
|
|
235
235
|
]));
|
|
236
236
|
}
|
|
237
|
-
}),
|
|
237
|
+
}), Re = /* @__PURE__ */ x(Ae, [["__scopeId", "data-v-6740df8f"]]), Ee = { class: "m-comment__head" }, Le = { class: "m-comment__initials" }, Te = { class: "m-comment__info" }, Oe = { class: "m-comment__author" }, je = { key: 0 }, Ge = { class: "m-comment__author" }, Pe = { class: "m-comment__date" }, qe = ["aria-label"], He = {
|
|
238
238
|
key: 0,
|
|
239
239
|
class: "m-star-rating__item m-star-rating__item--half"
|
|
240
|
-
},
|
|
240
|
+
}, Ne = { class: "m-star-rating__numeric" }, We = { class: "m-comment__body" }, Ue = { class: "m-comment__headline" }, ze = { class: "m-comment__text" }, De = "de-DE", Fe = 0.2, Ke = 0.8, A = 5, F = /* @__PURE__ */ v({
|
|
241
241
|
__name: "MucComment",
|
|
242
242
|
props: {
|
|
243
243
|
rating: {},
|
|
244
244
|
variant: { default: "listing" }
|
|
245
245
|
},
|
|
246
|
-
setup(
|
|
247
|
-
const t =
|
|
248
|
-
() => Math.min(Math.max(
|
|
249
|
-
),
|
|
246
|
+
setup(a) {
|
|
247
|
+
const t = W(), s = a, o = r(() => !!t.date), i = r(() => s.variant === "slider" ? "m-comment--slider" : "m-comment--listing"), l = r(
|
|
248
|
+
() => Math.min(Math.max(s.rating, 0), A)
|
|
249
|
+
), m = r(() => l.value.toLocaleString(De.valueOf(), {
|
|
250
250
|
minimumFractionDigits: 1
|
|
251
|
-
})),
|
|
252
|
-
const
|
|
253
|
-
let
|
|
254
|
-
return l.value !== 0 && l.value !==
|
|
255
|
-
fullStars:
|
|
256
|
-
emptyStars:
|
|
257
|
-
isHalfStar:
|
|
251
|
+
})), f = r(() => {
|
|
252
|
+
const h = +(l.value % 1).toFixed(1);
|
|
253
|
+
let C = Math.min(Math.floor(l.value), A), b = Math.floor(A - l.value), d = !1;
|
|
254
|
+
return l.value !== 0 && l.value !== A && (h <= Fe ? b++ : h >= Ke ? C++ : d = !0), {
|
|
255
|
+
fullStars: C,
|
|
256
|
+
emptyStars: b,
|
|
257
|
+
isHalfStar: d
|
|
258
258
|
};
|
|
259
259
|
});
|
|
260
|
-
return (
|
|
261
|
-
class:
|
|
260
|
+
return (h, C) => (n(), c("div", {
|
|
261
|
+
class: y(["m-comment", i.value])
|
|
262
262
|
}, [
|
|
263
|
-
e("div",
|
|
264
|
-
e("div",
|
|
265
|
-
|
|
263
|
+
e("div", Ee, [
|
|
264
|
+
e("div", Le, [
|
|
265
|
+
_(h.$slots, "initials")
|
|
266
266
|
]),
|
|
267
|
-
e("div",
|
|
268
|
-
e("span",
|
|
269
|
-
|
|
267
|
+
e("div", Te, [
|
|
268
|
+
e("span", Oe, [
|
|
269
|
+
_(h.$slots, "author")
|
|
270
270
|
]),
|
|
271
|
-
|
|
272
|
-
e("span",
|
|
273
|
-
|
|
274
|
-
|
|
271
|
+
o.value ? (n(), c("span", je, [
|
|
272
|
+
e("span", Ge, [
|
|
273
|
+
g(" "),
|
|
274
|
+
_(h.$slots, "datePrefix")
|
|
275
275
|
]),
|
|
276
|
-
e("span",
|
|
277
|
-
|
|
278
|
-
|
|
276
|
+
e("span", Pe, [
|
|
277
|
+
g(" "),
|
|
278
|
+
_(h.$slots, "date")
|
|
279
279
|
])
|
|
280
|
-
])) :
|
|
280
|
+
])) : $("", !0),
|
|
281
281
|
e("div", {
|
|
282
282
|
class: "m-star-rating",
|
|
283
283
|
role: "img",
|
|
284
|
-
"aria-label": `Bewertung: ${
|
|
284
|
+
"aria-label": `Bewertung: ${h.rating} von ${A} Sternen`
|
|
285
285
|
}, [
|
|
286
|
-
(n(!0),
|
|
287
|
-
key:
|
|
286
|
+
(n(!0), c(E, null, L(f.value.fullStars, (b) => (n(), c("div", {
|
|
287
|
+
key: b,
|
|
288
288
|
class: "m-star-rating__item m-star-rating__item--full"
|
|
289
289
|
}, [
|
|
290
|
-
|
|
290
|
+
R(k(B), { icon: "solid-star" })
|
|
291
291
|
]))), 128)),
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
])) :
|
|
295
|
-
(n(!0),
|
|
296
|
-
key:
|
|
292
|
+
f.value.isHalfStar ? (n(), c("div", He, [
|
|
293
|
+
R(k(B), { icon: "half-star" })
|
|
294
|
+
])) : $("", !0),
|
|
295
|
+
(n(!0), c(E, null, L(f.value.emptyStars, (b) => (n(), c("div", {
|
|
296
|
+
key: b,
|
|
297
297
|
class: "m-star-rating__item"
|
|
298
298
|
}, [
|
|
299
|
-
|
|
299
|
+
R(k(B), { icon: "solid-star" })
|
|
300
300
|
]))), 128)),
|
|
301
|
-
e("div",
|
|
302
|
-
], 8,
|
|
301
|
+
e("div", Ne, u(m.value), 1)
|
|
302
|
+
], 8, qe)
|
|
303
303
|
])
|
|
304
304
|
]),
|
|
305
|
-
e("div",
|
|
306
|
-
e("div",
|
|
307
|
-
|
|
305
|
+
e("div", We, [
|
|
306
|
+
e("div", Ue, [
|
|
307
|
+
_(h.$slots, "headline")
|
|
308
308
|
]),
|
|
309
|
-
e("div",
|
|
310
|
-
|
|
309
|
+
e("div", ze, [
|
|
310
|
+
_(h.$slots, "text")
|
|
311
311
|
])
|
|
312
312
|
])
|
|
313
313
|
], 2));
|
|
314
314
|
}
|
|
315
|
-
}),
|
|
315
|
+
}), Xe = " ", Je = /* @__PURE__ */ v({
|
|
316
316
|
__name: "MucCommentText",
|
|
317
317
|
props: {
|
|
318
318
|
datePrefix: { default: "am" },
|
|
@@ -324,63 +324,158 @@ const U = ["href"], b = /* @__PURE__ */ v({
|
|
|
324
324
|
rating: {},
|
|
325
325
|
variant: { default: "listing" }
|
|
326
326
|
},
|
|
327
|
-
setup(
|
|
328
|
-
const t =
|
|
329
|
-
return (
|
|
330
|
-
rating:
|
|
331
|
-
variant:
|
|
332
|
-
},
|
|
333
|
-
initials:
|
|
334
|
-
|
|
327
|
+
setup(a) {
|
|
328
|
+
const t = a, s = r(() => ((t.initials ?? t.author.split(Xe).map((o) => o.charAt(0)).join("")).match(/^.|.$/g) ?? [""]).join(""));
|
|
329
|
+
return (o, i) => (n(), j(k(F), {
|
|
330
|
+
rating: o.rating,
|
|
331
|
+
variant: o.variant
|
|
332
|
+
}, te({
|
|
333
|
+
initials: I(() => [
|
|
334
|
+
g(u(s.value), 1)
|
|
335
335
|
]),
|
|
336
|
-
datePrefix:
|
|
337
|
-
|
|
336
|
+
datePrefix: I(() => [
|
|
337
|
+
g("am")
|
|
338
338
|
]),
|
|
339
|
-
author:
|
|
340
|
-
|
|
339
|
+
author: I(() => [
|
|
340
|
+
g(u(o.author), 1)
|
|
341
341
|
]),
|
|
342
|
-
headline:
|
|
343
|
-
|
|
342
|
+
headline: I(() => [
|
|
343
|
+
g(u(o.headline), 1)
|
|
344
344
|
]),
|
|
345
|
-
text:
|
|
346
|
-
|
|
345
|
+
text: I(() => [
|
|
346
|
+
g(u(o.text), 1)
|
|
347
347
|
]),
|
|
348
348
|
_: 2
|
|
349
349
|
}, [
|
|
350
|
-
|
|
350
|
+
o.date ? {
|
|
351
351
|
name: "date",
|
|
352
|
-
fn:
|
|
353
|
-
|
|
352
|
+
fn: I(() => [
|
|
353
|
+
g(u(o.date), 1)
|
|
354
354
|
]),
|
|
355
355
|
key: "0"
|
|
356
356
|
} : void 0
|
|
357
357
|
]), 1032, ["rating", "variant"]));
|
|
358
358
|
}
|
|
359
|
-
}),
|
|
359
|
+
}), Qe = ["checked"], Ye = { class: "m-label m-checkboxes__label" }, Ze = /* @__PURE__ */ v({
|
|
360
|
+
__name: "MucCheckbox",
|
|
361
|
+
props: /* @__PURE__ */ M({
|
|
362
|
+
label: {}
|
|
363
|
+
}, {
|
|
364
|
+
modelValue: { type: Boolean, default: !1 },
|
|
365
|
+
modelModifiers: {}
|
|
366
|
+
}),
|
|
367
|
+
emits: /* @__PURE__ */ M(["click"], ["update:modelValue"]),
|
|
368
|
+
setup(a, { emit: t }) {
|
|
369
|
+
const s = T(a, "modelValue"), o = t, i = () => {
|
|
370
|
+
s.value = !s.value, o("click");
|
|
371
|
+
};
|
|
372
|
+
return (l, m) => (n(), c("div", {
|
|
373
|
+
class: "m-checkboxes__item",
|
|
374
|
+
onClick: i
|
|
375
|
+
}, [
|
|
376
|
+
e("input", {
|
|
377
|
+
class: "m-checkboxes__input",
|
|
378
|
+
name: "checkbox",
|
|
379
|
+
type: "checkbox",
|
|
380
|
+
checked: s.value,
|
|
381
|
+
onClick: U(i, ["stop"])
|
|
382
|
+
}, null, 8, Qe),
|
|
383
|
+
e("label", Ye, u(l.label), 1)
|
|
384
|
+
]));
|
|
385
|
+
}
|
|
386
|
+
}), et = { class: "m-form-group" }, tt = { class: "m-checkbox-group" }, st = { class: "m-checkbox-group__legend" }, ot = { class: "m-checkbox-group__heading" }, at = { class: "m-checkboxes m-checkboxes--collapse" }, nt = /* @__PURE__ */ e("span", null, "Mehr ", -1), lt = {
|
|
387
|
+
"aria-hidden": "true",
|
|
388
|
+
class: "icon icon--after"
|
|
389
|
+
}, ct = ["href"], it = /* @__PURE__ */ v({
|
|
390
|
+
__name: "MucCheckboxGroup",
|
|
391
|
+
props: {
|
|
392
|
+
heading: {}
|
|
393
|
+
},
|
|
394
|
+
setup(a) {
|
|
395
|
+
const t = O(!0), s = r(() => t.value ? "collapse" : ""), o = r(() => t.value ? "down" : "up"), i = () => t.value = !t.value;
|
|
396
|
+
return (l, m) => (n(), c("div", et, [
|
|
397
|
+
e("fieldset", tt, [
|
|
398
|
+
e("legend", st, [
|
|
399
|
+
e("h3", ot, u(l.heading), 1)
|
|
400
|
+
]),
|
|
401
|
+
e("div", at, [
|
|
402
|
+
_(l.$slots, "checkboxes"),
|
|
403
|
+
l.$slots.collapsableCheckboxes ? (n(), c("div", {
|
|
404
|
+
key: 0,
|
|
405
|
+
class: y(["m-checkboxes__collapse__container", s.value])
|
|
406
|
+
}, [
|
|
407
|
+
_(l.$slots, "collapsableCheckboxes")
|
|
408
|
+
], 2)) : $("", !0),
|
|
409
|
+
l.$slots.collapsableCheckboxes ? (n(), j(k(D), {
|
|
410
|
+
key: 1,
|
|
411
|
+
variant: "ghost",
|
|
412
|
+
onClick: i,
|
|
413
|
+
"aria-expanded": !t.value
|
|
414
|
+
}, {
|
|
415
|
+
default: I(() => [
|
|
416
|
+
nt,
|
|
417
|
+
(n(), c("svg", lt, [
|
|
418
|
+
e("use", {
|
|
419
|
+
href: "#icon-chevron-" + o.value
|
|
420
|
+
}, null, 8, ct)
|
|
421
|
+
]))
|
|
422
|
+
]),
|
|
423
|
+
_: 1
|
|
424
|
+
}, 8, ["aria-expanded"])) : $("", !0)
|
|
425
|
+
])
|
|
426
|
+
])
|
|
427
|
+
]));
|
|
428
|
+
}
|
|
429
|
+
}), rt = {
|
|
430
|
+
class: "m-error-list",
|
|
431
|
+
role: "alert",
|
|
432
|
+
tabindex: "-1"
|
|
433
|
+
}, ut = { class: "m-error-list__title" }, dt = { class: "m-error-list__body" }, _t = { class: "m-list m-error-list__list" }, mt = /* @__PURE__ */ v({
|
|
434
|
+
__name: "MucErrorList",
|
|
435
|
+
props: {
|
|
436
|
+
title: {},
|
|
437
|
+
errors: {}
|
|
438
|
+
},
|
|
439
|
+
setup(a) {
|
|
440
|
+
const t = a, s = r(
|
|
441
|
+
() => typeof t.errors == "string" ? [t.errors] : t.errors
|
|
442
|
+
);
|
|
443
|
+
return (o, i) => (n(), c("div", rt, [
|
|
444
|
+
e("h2", ut, u(o.title), 1),
|
|
445
|
+
e("div", dt, [
|
|
446
|
+
e("ul", _t, [
|
|
447
|
+
(n(!0), c(E, null, L(s.value, (l, m) => (n(), c("li", { key: m }, [
|
|
448
|
+
e("a", null, u(l), 1)
|
|
449
|
+
]))), 128))
|
|
450
|
+
])
|
|
451
|
+
])
|
|
452
|
+
]));
|
|
453
|
+
}
|
|
454
|
+
}), pt = {
|
|
360
455
|
for: "search-input",
|
|
361
456
|
class: "m-label"
|
|
362
|
-
},
|
|
457
|
+
}, ht = {
|
|
363
458
|
key: 0,
|
|
364
459
|
"aria-hidden": "true",
|
|
365
460
|
class: "mandatory"
|
|
366
|
-
},
|
|
461
|
+
}, vt = /* @__PURE__ */ e("span", { class: "visually-hidden" }, "(erforderlich)", -1), ft = {
|
|
367
462
|
id: "text-input-error",
|
|
368
463
|
class: "m-error-message"
|
|
369
|
-
},
|
|
464
|
+
}, $t = { class: "m-input-wrapper m-autocomplete" }, gt = {
|
|
370
465
|
key: 0,
|
|
371
466
|
class: "m-input__prefix"
|
|
372
|
-
},
|
|
467
|
+
}, bt = ["type", "aria-describedby", "placeholder", "required"], yt = {
|
|
373
468
|
key: 1,
|
|
374
469
|
class: "autocomplete-result-list autocomplete-result-list--location"
|
|
375
|
-
},
|
|
470
|
+
}, kt = ["onClick"], Mt = {
|
|
376
471
|
"aria-hidden": "true",
|
|
377
472
|
class: "icon"
|
|
378
|
-
},
|
|
473
|
+
}, Ct = ["xlink:href"], wt = /* @__PURE__ */ e("span", { class: "visually-hidden" }, "Suchen", -1), St = {
|
|
379
474
|
class: "m-hint",
|
|
380
475
|
id: "text-input-hint"
|
|
381
|
-
},
|
|
476
|
+
}, It = /* @__PURE__ */ v({
|
|
382
477
|
__name: "MucInput",
|
|
383
|
-
props: /* @__PURE__ */
|
|
478
|
+
props: /* @__PURE__ */ M({
|
|
384
479
|
errorMsg: {},
|
|
385
480
|
placeholder: {},
|
|
386
481
|
required: { type: Boolean, default: !1 },
|
|
@@ -393,127 +488,316 @@ const U = ["href"], b = /* @__PURE__ */ v({
|
|
|
393
488
|
modelValue: { default: "" },
|
|
394
489
|
modelModifiers: {}
|
|
395
490
|
}),
|
|
396
|
-
emits: /* @__PURE__ */
|
|
397
|
-
setup(
|
|
398
|
-
const
|
|
399
|
-
if (
|
|
400
|
-
const
|
|
401
|
-
return
|
|
402
|
-
(w) => w.toLowerCase().startsWith(
|
|
491
|
+
emits: /* @__PURE__ */ M(["suffixClick"], ["update:modelValue"]),
|
|
492
|
+
setup(a, { emit: t }) {
|
|
493
|
+
const s = T(a, "modelValue"), o = a, i = W(), l = t, m = r(() => o.errorMsg ? "has-error" : ""), f = r(() => o.type === "search"), h = r(() => {
|
|
494
|
+
if (s.value === "") return [];
|
|
495
|
+
const d = s.value.toLowerCase();
|
|
496
|
+
return o.datalist.filter(
|
|
497
|
+
(w) => w.toLowerCase().startsWith(d) && w.toLowerCase() !== d
|
|
403
498
|
);
|
|
404
|
-
}),
|
|
405
|
-
return (
|
|
406
|
-
class:
|
|
499
|
+
}), C = (d) => s.value = d, b = () => l("suffixClick");
|
|
500
|
+
return (d, w) => (n(), c("div", {
|
|
501
|
+
class: y(["m-form-group", m.value])
|
|
407
502
|
}, [
|
|
408
|
-
e("label",
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
])) :
|
|
503
|
+
e("label", pt, [
|
|
504
|
+
g(u(d.label) + " ", 1),
|
|
505
|
+
d.required ? (n(), c("span", ht, [
|
|
506
|
+
g(" * "),
|
|
507
|
+
vt
|
|
508
|
+
])) : $("", !0)
|
|
414
509
|
]),
|
|
415
|
-
e("p",
|
|
416
|
-
e("div",
|
|
417
|
-
|
|
510
|
+
e("p", ft, u(d.errorMsg), 1),
|
|
511
|
+
e("div", $t, [
|
|
512
|
+
i.prefix ? (n(), c("div", gt, [
|
|
418
513
|
e("span", null, [
|
|
419
|
-
d
|
|
514
|
+
_(d.$slots, "prefix")
|
|
420
515
|
])
|
|
421
|
-
])) :
|
|
422
|
-
|
|
516
|
+
])) : $("", !0),
|
|
517
|
+
z(e("input", {
|
|
423
518
|
class: "m-input autocomplete-input",
|
|
424
|
-
type:
|
|
425
|
-
"onUpdate:modelValue": w[0] || (w[0] = (S) =>
|
|
426
|
-
"aria-describedby":
|
|
427
|
-
placeholder:
|
|
428
|
-
required:
|
|
429
|
-
}, null, 8,
|
|
430
|
-
[
|
|
519
|
+
type: d.type,
|
|
520
|
+
"onUpdate:modelValue": w[0] || (w[0] = (S) => s.value = S),
|
|
521
|
+
"aria-describedby": d.type + "-input",
|
|
522
|
+
placeholder: d.placeholder,
|
|
523
|
+
required: d.required
|
|
524
|
+
}, null, 8, bt), [
|
|
525
|
+
[se, s.value]
|
|
431
526
|
]),
|
|
432
|
-
|
|
433
|
-
(n(!0),
|
|
527
|
+
f.value && h.value.length !== 0 ? (n(), c("ul", yt, [
|
|
528
|
+
(n(!0), c(E, null, L(h.value, (S) => (n(), c("li", {
|
|
434
529
|
class: "autocomplete-result",
|
|
435
530
|
key: S,
|
|
436
|
-
onClick: (
|
|
437
|
-
},
|
|
438
|
-
])) :
|
|
439
|
-
|
|
531
|
+
onClick: (G) => C(S)
|
|
532
|
+
}, u(S), 9, kt))), 128))
|
|
533
|
+
])) : $("", !0),
|
|
534
|
+
d.suffixIcon ? (n(), c("button", {
|
|
440
535
|
key: 2,
|
|
441
536
|
class: "m-input__suffix",
|
|
442
|
-
onClick:
|
|
537
|
+
onClick: b
|
|
443
538
|
}, [
|
|
444
|
-
(n(),
|
|
539
|
+
(n(), c("svg", Mt, [
|
|
445
540
|
e("use", {
|
|
446
|
-
"xlink:href": "#icon-" +
|
|
447
|
-
}, null, 8,
|
|
541
|
+
"xlink:href": "#icon-" + d.suffixIcon
|
|
542
|
+
}, null, 8, Ct)
|
|
448
543
|
])),
|
|
449
|
-
|
|
450
|
-
])) :
|
|
544
|
+
wt
|
|
545
|
+
])) : $("", !0)
|
|
451
546
|
]),
|
|
452
|
-
e("p",
|
|
547
|
+
e("p", St, u(d.hint), 1)
|
|
453
548
|
], 2));
|
|
454
549
|
}
|
|
455
|
-
}),
|
|
550
|
+
}), K = Symbol("mucRadioGroup"), Bt = {
|
|
551
|
+
key: 0,
|
|
552
|
+
class: "m-radios__item"
|
|
553
|
+
}, xt = ["checked", "disabled"], Vt = { class: "m-hint" }, At = /* @__PURE__ */ v({
|
|
554
|
+
__name: "MucRadioButton",
|
|
555
|
+
props: {
|
|
556
|
+
value: {},
|
|
557
|
+
label: {},
|
|
558
|
+
hint: {},
|
|
559
|
+
disabled: { type: Boolean, default: !1 }
|
|
560
|
+
},
|
|
561
|
+
setup(a) {
|
|
562
|
+
const t = a, s = oe(K), o = () => s == null ? void 0 : s.set(t.value), i = r(() => (s == null ? void 0 : s.modelValue.value) === t.value), l = r(() => t.disabled || (s == null ? void 0 : s.disabled.value)), m = r(() => !!(s != null && s.disabled));
|
|
563
|
+
return (f, h) => m.value ? (n(), c("div", Bt, [
|
|
564
|
+
e("input", {
|
|
565
|
+
class: "m-radios__input",
|
|
566
|
+
type: "radio",
|
|
567
|
+
checked: i.value,
|
|
568
|
+
disabled: l.value,
|
|
569
|
+
onClick: U(o, ["stop"])
|
|
570
|
+
}, null, 8, xt),
|
|
571
|
+
e("label", {
|
|
572
|
+
class: "m-label m-radios__label",
|
|
573
|
+
onClick: o
|
|
574
|
+
}, [
|
|
575
|
+
g(u(f.label) + " ", 1),
|
|
576
|
+
e("span", Vt, u(f.hint), 1)
|
|
577
|
+
])
|
|
578
|
+
])) : $("", !0);
|
|
579
|
+
}
|
|
580
|
+
}), Rt = { class: "m-form-group" }, Et = { class: "m-radio-group" }, Lt = { class: "m-radio-group__legend" }, Tt = { class: "m-radio-group__heading" }, Ot = { class: "m-radios" }, jt = /* @__PURE__ */ v({
|
|
581
|
+
__name: "MucRadioButtonGroup",
|
|
582
|
+
props: /* @__PURE__ */ M({
|
|
583
|
+
heading: {},
|
|
584
|
+
disabled: { type: Boolean, default: !1 }
|
|
585
|
+
}, {
|
|
586
|
+
modelValue: { type: [Boolean, String, Array, Object, Number, null] },
|
|
587
|
+
modelModifiers: {}
|
|
588
|
+
}),
|
|
589
|
+
emits: /* @__PURE__ */ M(["change"], ["update:modelValue"]),
|
|
590
|
+
setup(a, { emit: t }) {
|
|
591
|
+
const s = T(a, "modelValue"), o = a, i = t;
|
|
592
|
+
return ae(K, {
|
|
593
|
+
set: (l) => {
|
|
594
|
+
i("change", l), s.value = l;
|
|
595
|
+
},
|
|
596
|
+
modelValue: s,
|
|
597
|
+
disabled: ne(le(o.disabled))
|
|
598
|
+
}), (l, m) => (n(), c("div", Rt, [
|
|
599
|
+
e("fieldset", Et, [
|
|
600
|
+
e("legend", Lt, [
|
|
601
|
+
e("h3", Tt, u(l.heading), 1)
|
|
602
|
+
]),
|
|
603
|
+
e("div", Ot, [
|
|
604
|
+
_(l.$slots, "default")
|
|
605
|
+
])
|
|
606
|
+
])
|
|
607
|
+
]));
|
|
608
|
+
}
|
|
609
|
+
}), X = (a) => (H("data-v-d28d341e"), a = a(), N(), a), Gt = { class: "m-form-group" }, Pt = { class: "m-label" }, qt = ["value"], Ht = /* @__PURE__ */ X(() => /* @__PURE__ */ e("svg", {
|
|
610
|
+
"aria-hidden": "true",
|
|
611
|
+
class: "icon"
|
|
612
|
+
}, [
|
|
613
|
+
/* @__PURE__ */ e("use", { "xlink:href": "#icon-chevron-down" })
|
|
614
|
+
], -1)), Nt = /* @__PURE__ */ X(() => /* @__PURE__ */ e("span", { class: "visually-hidden" }, "Auswahlliste öffnen", -1)), Wt = [
|
|
615
|
+
Ht,
|
|
616
|
+
Nt
|
|
617
|
+
], Ut = ["onMouseenter", "onClick"], zt = {
|
|
618
|
+
key: 0,
|
|
619
|
+
class: "m-hint"
|
|
620
|
+
}, Dt = /* @__PURE__ */ v({
|
|
621
|
+
__name: "MucSelect",
|
|
622
|
+
props: /* @__PURE__ */ M({
|
|
623
|
+
items: {},
|
|
624
|
+
label: {},
|
|
625
|
+
hint: {},
|
|
626
|
+
multiple: { type: Boolean, default: !1 }
|
|
627
|
+
}, {
|
|
628
|
+
modelValue: {
|
|
629
|
+
default: []
|
|
630
|
+
},
|
|
631
|
+
modelModifiers: {}
|
|
632
|
+
}),
|
|
633
|
+
emits: ["update:modelValue"],
|
|
634
|
+
setup(a) {
|
|
635
|
+
const t = T(a, "modelValue"), s = O(!1), o = O(), i = O(), l = a, m = () => {
|
|
636
|
+
s.value = !s.value, i.value = o.value;
|
|
637
|
+
}, f = (p) => {
|
|
638
|
+
o.value = p, l.multiple ? C(p) : h(p), l.multiple || (s.value = !1);
|
|
639
|
+
}, h = (p) => {
|
|
640
|
+
typeof t.value == "object" && (t.value = t.value.join(" ")), t.value = t.value === p ? "" : p;
|
|
641
|
+
}, C = (p) => {
|
|
642
|
+
typeof t.value == "string" && (t.value = [t.value]), t.value = t.value.includes(p) ? t.value.filter((P) => P !== p) : [...t.value, p];
|
|
643
|
+
}, b = r(() => typeof t.value == "string" ? t.value : t.value.join(l.multiple ? ", " : " ")), d = (p) => p === i.value ? "active" : "", w = (p) => t.value.includes(p) ? "selected" : "", S = () => i.value = "", G = r(
|
|
644
|
+
() => s.value ? "display-listbox" : ""
|
|
645
|
+
), J = r(
|
|
646
|
+
() => l.multiple ? "m-input-wrapper--multiselect multiselect" : "m-input-wrapper--select"
|
|
647
|
+
);
|
|
648
|
+
return (p, P) => (n(), c("div", Gt, [
|
|
649
|
+
e("label", Pt, u(p.label), 1),
|
|
650
|
+
e("div", {
|
|
651
|
+
class: y(["m-input-wrapper", J.value])
|
|
652
|
+
}, [
|
|
653
|
+
e("input", {
|
|
654
|
+
type: "text",
|
|
655
|
+
class: "m-input m-combobox m-combobox--single",
|
|
656
|
+
value: b.value,
|
|
657
|
+
onClick: m,
|
|
658
|
+
readonly: ""
|
|
659
|
+
}, null, 8, qt),
|
|
660
|
+
e("span", {
|
|
661
|
+
class: "m-input__trigger",
|
|
662
|
+
onClick: m
|
|
663
|
+
}, Wt),
|
|
664
|
+
e("ul", {
|
|
665
|
+
class: y(["listbox", G.value]),
|
|
666
|
+
onMouseleave: S
|
|
667
|
+
}, [
|
|
668
|
+
(n(!0), c(E, null, L(l.items, (V, Q) => (n(), c("li", {
|
|
669
|
+
key: Q,
|
|
670
|
+
class: y(["option", [d(V), w(V)]]),
|
|
671
|
+
onMouseenter: (Y) => i.value = V,
|
|
672
|
+
onClick: (Y) => f(V)
|
|
673
|
+
}, u(V), 43, Ut))), 128))
|
|
674
|
+
], 34)
|
|
675
|
+
], 2),
|
|
676
|
+
p.hint ? (n(), c("p", zt, u(p.hint), 1)) : $("", !0)
|
|
677
|
+
]));
|
|
678
|
+
}
|
|
679
|
+
}), Ft = /* @__PURE__ */ x(Dt, [["__scopeId", "data-v-d28d341e"]]), Kt = { class: "m-form-group has-error" }, Xt = {
|
|
680
|
+
for: "textarea",
|
|
681
|
+
class: "m-label"
|
|
682
|
+
}, Jt = {
|
|
683
|
+
key: 0,
|
|
684
|
+
"aria-hidden": "true",
|
|
685
|
+
class: "mandatory"
|
|
686
|
+
}, Qt = /* @__PURE__ */ e("span", { class: "visually-hidden" }, "(erforderlich)", -1), Yt = { class: "m-error-message" }, Zt = { class: "m-input-wrapper" }, es = ["rows", "placeholder"], ts = { class: "m-hint" }, ss = /* @__PURE__ */ v({
|
|
687
|
+
__name: "MucTextArea",
|
|
688
|
+
props: /* @__PURE__ */ M({
|
|
689
|
+
errorMsg: {},
|
|
690
|
+
rows: { default: 3 },
|
|
691
|
+
placeholder: {},
|
|
692
|
+
label: {},
|
|
693
|
+
hint: {},
|
|
694
|
+
required: { type: Boolean, default: !1 }
|
|
695
|
+
}, {
|
|
696
|
+
modelValue: { default: "" },
|
|
697
|
+
modelModifiers: {}
|
|
698
|
+
}),
|
|
699
|
+
emits: ["update:modelValue"],
|
|
700
|
+
setup(a) {
|
|
701
|
+
const t = T(a, "modelValue");
|
|
702
|
+
return (s, o) => (n(), c("div", Kt, [
|
|
703
|
+
e("label", Xt, [
|
|
704
|
+
g(u(s.label) + " ", 1),
|
|
705
|
+
s.required ? (n(), c("span", Jt, [
|
|
706
|
+
g(" * "),
|
|
707
|
+
Qt
|
|
708
|
+
])) : $("", !0)
|
|
709
|
+
]),
|
|
710
|
+
e("p", Yt, u(s.errorMsg), 1),
|
|
711
|
+
e("div", Zt, [
|
|
712
|
+
z(e("textarea", {
|
|
713
|
+
class: "m-textarea",
|
|
714
|
+
rows: s.rows,
|
|
715
|
+
"aria-describedby": "textarea input",
|
|
716
|
+
placeholder: s.placeholder,
|
|
717
|
+
"onUpdate:modelValue": o[0] || (o[0] = (i) => t.value = i)
|
|
718
|
+
}, null, 8, es), [
|
|
719
|
+
[ce, t.value]
|
|
720
|
+
])
|
|
721
|
+
]),
|
|
722
|
+
e("p", ts, u(s.hint), 1)
|
|
723
|
+
]));
|
|
724
|
+
}
|
|
725
|
+
}), os = {
|
|
456
726
|
class: "m-intro m-intro-static-image",
|
|
457
727
|
style: { "background-color": "var(--color-neutrals-blue-xlight)" }
|
|
458
|
-
},
|
|
728
|
+
}, as = { class: "container" }, ns = { style: { width: "66.6%" } }, ls = {
|
|
459
729
|
key: 0,
|
|
460
730
|
class: "m-intro-vertical__tagline"
|
|
461
|
-
},
|
|
731
|
+
}, cs = { class: "m-intro-vertical__title" }, is = {
|
|
462
732
|
key: 0,
|
|
463
733
|
class: "muc-divider"
|
|
464
|
-
},
|
|
734
|
+
}, rs = { class: "m-intro-vertical__content" }, us = { style: { "padding-bottom": "32px" } }, ds = /* @__PURE__ */ v({
|
|
465
735
|
__name: "MucIntro",
|
|
466
736
|
props: {
|
|
467
737
|
title: {},
|
|
468
738
|
tagline: {},
|
|
469
739
|
divider: { type: Boolean }
|
|
470
740
|
},
|
|
471
|
-
setup(
|
|
472
|
-
return (t,
|
|
473
|
-
e("div",
|
|
474
|
-
e("div",
|
|
741
|
+
setup(a) {
|
|
742
|
+
return (t, s) => (n(), c("div", os, [
|
|
743
|
+
e("div", as, [
|
|
744
|
+
e("div", ns, [
|
|
475
745
|
e("div", null, [
|
|
476
|
-
t.tagline ? (n(),
|
|
477
|
-
e("h1",
|
|
746
|
+
t.tagline ? (n(), c("p", ls, u(t.tagline), 1)) : $("", !0),
|
|
747
|
+
e("h1", cs, u(t.title), 1)
|
|
478
748
|
]),
|
|
479
|
-
t.divider ? (n(),
|
|
480
|
-
e("div",
|
|
481
|
-
e("p",
|
|
482
|
-
|
|
749
|
+
t.divider ? (n(), c("div", is)) : $("", !0),
|
|
750
|
+
e("div", rs, [
|
|
751
|
+
e("p", us, [
|
|
752
|
+
_(t.$slots, "default", {}, void 0, !0)
|
|
483
753
|
])
|
|
484
754
|
])
|
|
485
755
|
])
|
|
486
756
|
])
|
|
487
757
|
]));
|
|
488
758
|
}
|
|
489
|
-
}),
|
|
759
|
+
}), _s = /* @__PURE__ */ x(ds, [["__scopeId", "data-v-9ad3adc7"]]), q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
490
760
|
__proto__: null,
|
|
491
|
-
MucBanner:
|
|
492
|
-
MucButton:
|
|
493
|
-
MucCallout:
|
|
494
|
-
MucCard:
|
|
495
|
-
MucCardContainer:
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
761
|
+
MucBanner: _e,
|
|
762
|
+
MucButton: D,
|
|
763
|
+
MucCallout: ke,
|
|
764
|
+
MucCard: xe,
|
|
765
|
+
MucCardContainer: Re,
|
|
766
|
+
MucCheckbox: Ze,
|
|
767
|
+
MucCheckboxGroup: it,
|
|
768
|
+
MucComment: F,
|
|
769
|
+
MucCommentText: Je,
|
|
770
|
+
MucErrorList: mt,
|
|
771
|
+
MucIcon: B,
|
|
772
|
+
MucInput: It,
|
|
773
|
+
MucIntro: _s,
|
|
774
|
+
MucRadioButton: At,
|
|
775
|
+
MucRadioButtonGroup: jt,
|
|
776
|
+
MucSelect: Ft,
|
|
777
|
+
MucTextArea: ss
|
|
501
778
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
502
|
-
function
|
|
503
|
-
for (const t in
|
|
504
|
-
|
|
779
|
+
function ms(a) {
|
|
780
|
+
for (const t in q)
|
|
781
|
+
a.component(t, q[t]);
|
|
505
782
|
}
|
|
506
|
-
const
|
|
783
|
+
const hs = { install: ms };
|
|
507
784
|
export {
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
785
|
+
_e as MucBanner,
|
|
786
|
+
D as MucButton,
|
|
787
|
+
ke as MucCallout,
|
|
788
|
+
xe as MucCard,
|
|
789
|
+
Re as MucCardContainer,
|
|
790
|
+
Ze as MucCheckbox,
|
|
791
|
+
it as MucCheckboxGroup,
|
|
792
|
+
F as MucComment,
|
|
793
|
+
Je as MucCommentText,
|
|
794
|
+
mt as MucErrorList,
|
|
795
|
+
B as MucIcon,
|
|
796
|
+
It as MucInput,
|
|
797
|
+
_s as MucIntro,
|
|
798
|
+
At as MucRadioButton,
|
|
799
|
+
jt as MucRadioButtonGroup,
|
|
800
|
+
Ft as MucSelect,
|
|
801
|
+
ss as MucTextArea,
|
|
802
|
+
hs as default
|
|
519
803
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"author": "FabianWilms",
|
|
4
4
|
"description": "A vue component library of some of the components available from https://patternlab.muenchen.space",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "1.12.1-beta.
|
|
6
|
+
"version": "1.12.1-beta.3",
|
|
7
7
|
"private": false,
|
|
8
8
|
"module": "./dist/muc-patternlab-vue.es.js",
|
|
9
9
|
"types": "./dist/types/index.d.ts",
|
|
@@ -5,7 +5,6 @@ import MucForm from "./MucInput.vue";
|
|
|
5
5
|
import MucInput from "./MucInput.vue";
|
|
6
6
|
import MucRadioButton from "./MucRadioButton.vue";
|
|
7
7
|
import MucRadioButtonGroup from "./MucRadioButtonGroup.vue";
|
|
8
|
-
import MucSingleSelect from "./MucSelect.vue";
|
|
9
8
|
import MucSelect from "./MucSelect.vue";
|
|
10
9
|
import MucTextArea from "./MucTextArea.vue";
|
|
11
10
|
|
|
@@ -17,7 +16,6 @@ export {
|
|
|
17
16
|
MucInput,
|
|
18
17
|
MucRadioButton,
|
|
19
18
|
MucTextArea,
|
|
20
|
-
MucSingleSelect,
|
|
21
19
|
MucErrorList,
|
|
22
20
|
MucSelect,
|
|
23
21
|
};
|
package/src/components/index.ts
CHANGED
|
@@ -3,7 +3,16 @@ import { MucButton } from "./Button";
|
|
|
3
3
|
import { MucCallout } from "./Callout";
|
|
4
4
|
import { MucCard, MucCardContainer } from "./Card";
|
|
5
5
|
import { MucComment, MucCommentText } from "./Comment/";
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
MucCheckbox,
|
|
8
|
+
MucCheckboxGroup,
|
|
9
|
+
MucErrorList,
|
|
10
|
+
MucInput,
|
|
11
|
+
MucRadioButton,
|
|
12
|
+
MucRadioButtonGroup,
|
|
13
|
+
MucSelect,
|
|
14
|
+
MucTextArea,
|
|
15
|
+
} from "./Form";
|
|
7
16
|
import { MucIcon } from "./Icon";
|
|
8
17
|
import { MucIntro } from "./Intro";
|
|
9
18
|
|
|
@@ -16,6 +25,13 @@ export {
|
|
|
16
25
|
MucCardContainer,
|
|
17
26
|
MucComment,
|
|
18
27
|
MucCommentText,
|
|
19
|
-
|
|
28
|
+
MucRadioButton,
|
|
29
|
+
MucRadioButtonGroup,
|
|
30
|
+
MucInput,
|
|
31
|
+
MucTextArea,
|
|
32
|
+
MucCheckboxGroup,
|
|
33
|
+
MucCheckbox,
|
|
34
|
+
MucSelect,
|
|
35
|
+
MucErrorList,
|
|
20
36
|
MucIcon,
|
|
21
37
|
};
|