@muenchen/muc-patternlab-vue 1.13.0-beta.7 → 1.13.0-beta.8

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