@mozaic-ds/vue 1.0.0-beta.4 → 1.0.0-beta.7

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 (49) hide show
  1. package/README.md +33 -166
  2. package/dist/mozaic-vue.css +1 -1
  3. package/dist/mozaic-vue.d.ts +347 -65
  4. package/dist/mozaic-vue.js +670 -328
  5. package/dist/mozaic-vue.js.map +1 -1
  6. package/dist/mozaic-vue.umd.cjs +1 -1
  7. package/dist/mozaic-vue.umd.cjs.map +1 -1
  8. package/package.json +3 -2
  9. package/src/components/GettingStarted.mdx +16 -5
  10. package/src/components/Introduction.mdx +35 -9
  11. package/src/components/Support.mdx +1 -1
  12. package/src/components/breadcrumb/MBreadcrumb.spec.ts +105 -0
  13. package/src/components/breadcrumb/MBreadcrumb.stories.ts +84 -0
  14. package/src/components/breadcrumb/MBreadcrumb.vue +70 -0
  15. package/src/components/button/MButton.stories.ts +1 -1
  16. package/src/components/checkbox/MCheckbox.stories.ts +1 -1
  17. package/src/components/checkboxgroup/MCheckboxGroup.stories.ts +1 -1
  18. package/src/components/checkboxgroup/MCheckboxGroup.vue +2 -2
  19. package/src/components/field/MField.stories.ts +1 -1
  20. package/src/components/fieldgroup/MFieldGroup.stories.ts +175 -26
  21. package/src/components/iconbutton/MIconButton.stories.ts +1 -1
  22. package/src/components/link/MLink.vue +1 -1
  23. package/src/components/loader/MLoader.stories.ts +1 -1
  24. package/src/components/numberbadge/MNumberBadge.spec.ts +56 -0
  25. package/src/components/{badge/MBadge.stories.ts → numberbadge/MNumberBadge.stories.ts} +8 -8
  26. package/src/components/{badge/MBadge.vue → numberbadge/MNumberBadge.vue} +4 -4
  27. package/src/components/passwordinput/MPasswordInput.spec.ts +104 -0
  28. package/src/components/passwordinput/MPasswordInput.stories.ts +75 -0
  29. package/src/components/passwordinput/MPasswordInput.vue +149 -0
  30. package/src/components/quantityselector/MQuantitySelector.stories.ts +1 -1
  31. package/src/components/radio/MRadio.stories.ts +1 -1
  32. package/src/components/radiogroup/MRadioGroup.stories.ts +1 -1
  33. package/src/components/select/MSelect.stories.ts +1 -1
  34. package/src/components/statusbadge/MStatusBadge.stories.ts +5 -5
  35. package/src/components/statusbadge/MStatusBadge.vue +6 -6
  36. package/src/components/statusdot/MStatusDot.spec.ts +51 -0
  37. package/src/components/statusdot/MStatusDot.stories.ts +48 -0
  38. package/src/components/{statusbadge → statusdot}/MStatusDot.vue +8 -4
  39. package/src/components/statusnotification/MStatusNotification.spec.ts +99 -0
  40. package/src/components/statusnotification/MStatusNotification.stories.ts +96 -0
  41. package/src/components/statusnotification/MStatusNotification.vue +106 -0
  42. package/src/components/textarea/MTextArea.stories.ts +1 -1
  43. package/src/components/textinput/MTextInput.stories.ts +1 -1
  44. package/src/components/toggle/MToggle.stories.ts +2 -2
  45. package/src/components/togglegroup/MToggleGroup.spec.ts +78 -0
  46. package/src/components/togglegroup/MToggleGroup.stories.ts +61 -0
  47. package/src/components/togglegroup/MToggleGroup.vue +97 -0
  48. package/src/main.ts +22 -39
  49. package/src/components/badge/MBadge.spec.ts +0 -16
@@ -1,30 +1,101 @@
1
- import { defineComponent as f, computed as m, createElementBlock as n, openBlock as l, normalizeClass as y, toDisplayString as h, createElementVNode as r, createCommentVNode as v, renderSlot as $, createVNode as V, normalizeStyle as L, createTextVNode as I, mergeProps as g, ref as B, watch as C, Fragment as M, renderList as z, createBlock as w, resolveDynamicComponent as O, withCtx as T, withDirectives as j, vModelText as q } from "vue";
2
- const S = /* @__PURE__ */ f({
3
- __name: "MBadge",
1
+ import { defineComponent as y, computed as v, createBlock as w, openBlock as l, resolveDynamicComponent as j, normalizeClass as $, withCtx as S, createElementBlock as n, createCommentVNode as h, createElementVNode as d, renderSlot as g, Fragment as B, renderList as C, createVNode as V, createTextVNode as M, toDisplayString as f, normalizeStyle as Z, mergeProps as k, ref as I, watch as O, withDirectives as T, vModelDynamic as P, vModelText as N } from "vue";
2
+ const G = {
3
+ key: 0,
4
+ class: "mc-link__icon",
5
+ "aria-hidden": "true"
6
+ }, U = { class: "mc-link__label" }, D = {
7
+ key: 1,
8
+ class: "mc-link__icon",
9
+ "aria-hidden": "true"
10
+ }, F = /* @__PURE__ */ y({
11
+ __name: "MLink",
4
12
  props: {
5
- label: {},
13
+ iconPosition: { default: "left" },
6
14
  appearance: { default: "standard" },
7
- size: { default: "s" }
15
+ size: { default: "s" },
16
+ href: { default: void 0 },
17
+ target: { default: void 0 },
18
+ inline: { type: Boolean },
19
+ router: { type: Boolean }
8
20
  },
9
21
  setup(o) {
10
- const a = o, t = m(() => ({
11
- [`mc-badge--${a.appearance}`]: a.appearance && a.appearance != "standard",
12
- [`mc-badge--${a.size}`]: a.size && a.size != "s"
22
+ const a = o, t = v(() => ({
23
+ [`mc-link--${a.appearance}`]: a.appearance && a.appearance != "standard",
24
+ [`mc-link--${a.size}`]: a.size && a.size != "s",
25
+ "mc-link--inline": a.inline,
26
+ "mc-link--stand-alone": !a.inline
13
27
  }));
14
- return (e, i) => (l(), n("span", {
15
- class: y(["mc-badge", t.value])
16
- }, h(e.label), 3));
28
+ return (e, i) => (l(), w(j(e.router ? "router-link" : "a"), {
29
+ class: $(["mc-link", t.value]),
30
+ href: e.href,
31
+ target: e.target,
32
+ to: e.router ? e.href : void 0
33
+ }, {
34
+ default: S(() => [
35
+ e.$slots.icon && e.iconPosition == "left" ? (l(), n("span", G, [
36
+ g(e.$slots, "icon", {}, void 0, !0)
37
+ ])) : h("", !0),
38
+ d("span", U, [
39
+ g(e.$slots, "default", {}, void 0, !0)
40
+ ]),
41
+ e.$slots.icon && e.iconPosition == "right" ? (l(), n("span", D, [
42
+ g(e.$slots, "icon", {}, void 0, !0)
43
+ ])) : h("", !0)
44
+ ]),
45
+ _: 3
46
+ }, 8, ["class", "href", "target", "to"]));
17
47
  }
18
48
  }), _ = (o, a) => {
19
49
  const t = o.__vccOpts || o;
20
50
  for (const [e, i] of a)
21
51
  t[e] = i;
22
52
  return t;
23
- }, ma = /* @__PURE__ */ _(S, [["__scopeId", "data-v-b427cc61"]]), P = { class: "mc-loader__spinner" }, F = ["viewBox"], D = ["r"], G = {
53
+ }, R = /* @__PURE__ */ _(F, [["__scopeId", "data-v-df607c25"]]), A = { class: "mc-breadcrumb__container" }, H = /* @__PURE__ */ y({
54
+ __name: "MBreadcrumb",
55
+ props: {
56
+ appearance: {},
57
+ links: {}
58
+ },
59
+ setup(o) {
60
+ const a = o, t = v(() => ({
61
+ [`mc-breadcrumb--${a.appearance}`]: a.appearance && a.appearance != "standard"
62
+ })), e = (i) => {
63
+ var s;
64
+ return i === (((s = a.links) == null ? void 0 : s.length) ?? 0) - 1;
65
+ };
66
+ return (i, s) => (l(), n("nav", {
67
+ class: $(["mc-breadcrumb", t.value]),
68
+ "aria-label": "Breadcrumb"
69
+ }, [
70
+ d("ul", A, [
71
+ (l(!0), n(B, null, C(i.links, (u, r) => (l(), n("li", {
72
+ class: "mc-breadcrumb__item",
73
+ key: `breadcrumb-${r}`
74
+ }, [
75
+ V(R, {
76
+ href: u.href,
77
+ router: u.router,
78
+ appearance: i.appearance,
79
+ inline: "",
80
+ class: $({
81
+ "mc-breadcrumb__current": e(r)
82
+ }),
83
+ "aria-current": e(r) ? "page" : void 0
84
+ }, {
85
+ default: S(() => [
86
+ M(f(u.label), 1)
87
+ ]),
88
+ _: 2
89
+ }, 1032, ["href", "router", "appearance", "class", "aria-current"])
90
+ ]))), 128))
91
+ ])
92
+ ], 2));
93
+ }
94
+ }), Xa = /* @__PURE__ */ _(H, [["__scopeId", "data-v-09df4905"]]), E = { class: "mc-loader__spinner" }, Q = ["viewBox"], W = ["r"], J = {
24
95
  key: 0,
25
96
  class: "mc-loader__text",
26
97
  role: "status"
27
- }, R = /* @__PURE__ */ f({
98
+ }, K = /* @__PURE__ */ y({
28
99
  __name: "MLoader",
29
100
  props: {
30
101
  appearance: { default: "standard" },
@@ -32,10 +103,10 @@ const S = /* @__PURE__ */ f({
32
103
  text: {}
33
104
  },
34
105
  setup(o) {
35
- const a = o, t = m(() => ({
106
+ const a = o, t = v(() => ({
36
107
  [`mc-loader--${a.size}`]: a.size && a.size !== "m",
37
108
  [`mc-loader--${a.appearance}`]: a.appearance && a.appearance !== "standard"
38
- })), e = m(() => {
109
+ })), e = v(() => {
39
110
  let s;
40
111
  switch (a.size) {
41
112
  case "s":
@@ -48,7 +119,7 @@ const S = /* @__PURE__ */ f({
48
119
  s = "0 0 32 32";
49
120
  }
50
121
  return s;
51
- }), i = m(() => {
122
+ }), i = v(() => {
52
123
  let s;
53
124
  switch (a.size) {
54
125
  case "s":
@@ -63,40 +134,40 @@ const S = /* @__PURE__ */ f({
63
134
  return s;
64
135
  });
65
136
  return (s, u) => (l(), n("div", {
66
- class: y(["mc-loader", t.value])
137
+ class: $(["mc-loader", t.value])
67
138
  }, [
68
- r("span", P, [
139
+ d("span", E, [
69
140
  (l(), n("svg", {
70
141
  class: "mc-loader__icon",
71
142
  xmlns: "http://www.w3.org/2000/svg",
72
143
  viewBox: e.value,
73
144
  "aria-hidden": "true"
74
145
  }, [
75
- r("circle", {
146
+ d("circle", {
76
147
  class: "mc-loader__path",
77
148
  cx: "50%",
78
149
  cy: "50%",
79
150
  r: i.value
80
- }, null, 8, D)
81
- ], 8, F))
151
+ }, null, 8, W)
152
+ ], 8, Q))
82
153
  ]),
83
- s.text ? (l(), n("p", G, h(s.text), 1)) : v("", !0)
154
+ s.text ? (l(), n("p", J, f(s.text), 1)) : h("", !0)
84
155
  ], 2));
85
156
  }
86
- }), N = /* @__PURE__ */ _(R, [["__scopeId", "data-v-56c66912"]]), U = ["disabled", "type"], Z = {
157
+ }), X = /* @__PURE__ */ _(K, [["__scopeId", "data-v-56c66912"]]), Y = ["disabled", "type"], x = {
87
158
  key: 0,
88
159
  class: "mc-button__icon"
89
- }, A = {
160
+ }, ee = {
90
161
  key: 1,
91
162
  class: "mc-button__icon",
92
163
  style: { position: "absolute" }
93
- }, E = {
164
+ }, ae = {
94
165
  key: 2,
95
166
  class: "mc-button__icon"
96
- }, H = {
167
+ }, se = {
97
168
  key: 4,
98
169
  class: "mc-button__icon"
99
- }, Q = /* @__PURE__ */ f({
170
+ }, te = /* @__PURE__ */ y({
100
171
  __name: "MButton",
101
172
  props: {
102
173
  appearance: { default: "standard" },
@@ -109,7 +180,7 @@ const S = /* @__PURE__ */ f({
109
180
  isLoading: { type: Boolean }
110
181
  },
111
182
  setup(o) {
112
- const a = o, t = m(() => ({
183
+ const a = o, t = v(() => ({
113
184
  [`mc-button--${a.appearance}`]: a.appearance && a.appearance != "standard",
114
185
  [`mc-button--${a.size}`]: a.size && a.size != "m",
115
186
  "mc-button--ghost": a.ghost,
@@ -117,36 +188,36 @@ const S = /* @__PURE__ */ f({
117
188
  "mc-button--icon-only": a.iconPosition == "only"
118
189
  }));
119
190
  return (e, i) => (l(), n("button", {
120
- class: y(["mc-button", t.value]),
191
+ class: $(["mc-button", t.value]),
121
192
  disabled: e.disabled,
122
193
  type: e.type
123
194
  }, [
124
- e.$slots.icon && e.iconPosition == "left" && !e.isLoading ? (l(), n("span", Z, [
125
- $(e.$slots, "icon", {}, void 0, !0)
126
- ])) : v("", !0),
127
- e.isLoading ? (l(), n("span", A, [
128
- V(N, {
195
+ e.$slots.icon && e.iconPosition == "left" && !e.isLoading ? (l(), n("span", x, [
196
+ g(e.$slots, "icon", {}, void 0, !0)
197
+ ])) : h("", !0),
198
+ e.isLoading ? (l(), n("span", ee, [
199
+ V(X, {
129
200
  style: { color: "currentColor" },
130
201
  size: "s"
131
202
  })
132
- ])) : v("", !0),
133
- e.$slots.icon && e.iconPosition == "only" ? (l(), n("span", E, [
134
- $(e.$slots, "icon", {}, void 0, !0)
203
+ ])) : h("", !0),
204
+ e.$slots.icon && e.iconPosition == "only" ? (l(), n("span", ae, [
205
+ g(e.$slots, "icon", {}, void 0, !0)
135
206
  ])) : (l(), n("span", {
136
207
  key: 3,
137
208
  class: "mc-button__label",
138
- style: L({ visibility: e.isLoading ? "hidden" : "visible" })
209
+ style: Z({ visibility: e.isLoading ? "hidden" : "visible" })
139
210
  }, [
140
- $(e.$slots, "default", {}, () => [
141
- i[0] || (i[0] = I("Button Label"))
211
+ g(e.$slots, "default", {}, () => [
212
+ i[0] || (i[0] = M("Button Label"))
142
213
  ], !0)
143
214
  ], 4)),
144
- e.$slots.icon && e.iconPosition == "right" && !e.isLoading ? (l(), n("span", H, [
145
- $(e.$slots, "icon", {}, void 0, !0)
146
- ])) : v("", !0)
147
- ], 10, U));
215
+ e.$slots.icon && e.iconPosition == "right" && !e.isLoading ? (l(), n("span", se, [
216
+ g(e.$slots, "icon", {}, void 0, !0)
217
+ ])) : h("", !0)
218
+ ], 10, Y));
148
219
  }
149
- }), _a = /* @__PURE__ */ _(Q, [["__scopeId", "data-v-f4f43ab6"]]), J = { class: "mc-checkbox" }, K = ["id", "name", "checked", "indeterminate", "disabled", "aria-invalid"], W = ["for"], X = /* @__PURE__ */ f({
220
+ }), le = /* @__PURE__ */ _(te, [["__scopeId", "data-v-f4f43ab6"]]), ne = { class: "mc-checkbox" }, oe = ["id", "name", "checked", "indeterminate", "disabled", "aria-invalid"], ie = ["for"], de = /* @__PURE__ */ y({
150
221
  __name: "MCheckbox",
151
222
  props: {
152
223
  id: {},
@@ -159,11 +230,11 @@ const S = /* @__PURE__ */ f({
159
230
  },
160
231
  emits: ["update:modelValue"],
161
232
  setup(o, { emit: a }) {
162
- const t = o, e = m(() => ({
233
+ const t = o, e = v(() => ({
163
234
  "is-invalid": t.isInvalid
164
235
  })), i = a;
165
- return (s, u) => (l(), n("div", J, [
166
- r("input", g({
236
+ return (s, u) => (l(), n("div", ne, [
237
+ d("input", k({
167
238
  id: s.id,
168
239
  type: "checkbox",
169
240
  class: ["mc-checkbox__input", e.value],
@@ -173,16 +244,16 @@ const S = /* @__PURE__ */ f({
173
244
  disabled: s.disabled,
174
245
  "aria-invalid": s.isInvalid
175
246
  }, s.$attrs, {
176
- onChange: u[0] || (u[0] = (c) => i("update:modelValue", c.target.checked))
177
- }), null, 16, K),
247
+ onChange: u[0] || (u[0] = (r) => i("update:modelValue", r.target.checked))
248
+ }), null, 16, oe),
178
249
  s.label ? (l(), n("label", {
179
250
  key: 0,
180
251
  for: s.id,
181
252
  class: "mc-checkbox__label"
182
- }, h(s.label), 9, W)) : v("", !0)
253
+ }, f(s.label), 9, ie)) : h("", !0)
183
254
  ]));
184
255
  }
185
- }), Y = /* @__PURE__ */ _(X, [["__scopeId", "data-v-37fd0a35"]]), x = /* @__PURE__ */ f({
256
+ }), re = /* @__PURE__ */ _(de, [["__scopeId", "data-v-37fd0a35"]]), ce = /* @__PURE__ */ y({
186
257
  __name: "MCheckboxGroup",
187
258
  props: {
188
259
  name: {},
@@ -192,42 +263,42 @@ const S = /* @__PURE__ */ f({
192
263
  },
193
264
  emits: ["update:modelValue"],
194
265
  setup(o, { emit: a }) {
195
- const t = o, e = B([]);
196
- C(
266
+ const t = o, e = I([]);
267
+ O(
197
268
  () => t.modelValue,
198
269
  (p) => {
199
270
  e.value = p || [];
200
271
  },
201
272
  { immediate: !0 }
202
273
  );
203
- const i = (p, d) => {
204
- let b = [...e.value];
205
- p && !b.includes(d) ? b.push(d) : b = b.filter((k) => k !== d), c("update:modelValue", b), e.value = b;
206
- }, s = m(() => ({
274
+ const i = (p, c) => {
275
+ let m = [...e.value];
276
+ p && !m.includes(c) ? m.push(c) : m = m.filter((b) => b !== c), r("update:modelValue", m), e.value = m;
277
+ }, s = v(() => ({
207
278
  "mc-field__container--inline": t.inline
208
- })), u = m(() => ({
279
+ })), u = v(() => ({
209
280
  "mc-field__container--inline__item": t.inline
210
- })), c = a;
211
- return (p, d) => (l(), n("div", {
212
- class: y(["mc-field__container", s.value])
281
+ })), r = a;
282
+ return (p, c) => (l(), n("div", {
283
+ class: $(["mc-field__container", s.value])
213
284
  }, [
214
- (l(!0), n(M, null, z(p.options, (b) => (l(), w(Y, {
215
- id: b.id,
216
- key: b.id,
217
- label: b.label,
218
- "is-invalid": b.isInvalid,
285
+ (l(!0), n(B, null, C(p.options, (m) => (l(), w(re, {
286
+ id: m.id,
287
+ key: m.id,
288
+ label: m.label,
289
+ "is-invalid": m.isInvalid,
219
290
  name: p.name,
220
- class: y(["mc-field__item", u.value]),
221
- "model-value": p.modelValue ? p.modelValue.includes(b.value) : void 0,
222
- disabled: b.disabled,
223
- "onUpdate:modelValue": (k) => i(k, b.value)
291
+ class: $(["mc-field__item", u.value]),
292
+ "model-value": p.modelValue ? p.modelValue.includes(m.value) : void 0,
293
+ disabled: m.disabled,
294
+ "onUpdate:modelValue": (b) => i(b, m.value)
224
295
  }, null, 8, ["id", "label", "is-invalid", "name", "class", "model-value", "disabled", "onUpdate:modelValue"]))), 128))
225
296
  ], 2));
226
297
  }
227
- }), va = /* @__PURE__ */ _(x, [["__scopeId", "data-v-51af53d0"]]), ee = { class: "mc-field" }, ae = ["for"], se = {
298
+ }), Ya = /* @__PURE__ */ _(ce, [["__scopeId", "data-v-8ee4699f"]]), ue = { class: "mc-field" }, pe = ["for"], me = {
228
299
  key: 0,
229
300
  class: "mc-field__requirement"
230
- }, te = ["id"], le = { class: "mc-field__content" }, ne = ["id"], oe = /* @__PURE__ */ f({
301
+ }, _e = ["id"], ve = { class: "mc-field__content" }, be = ["id"], fe = /* @__PURE__ */ y({
231
302
  __name: "MField",
232
303
  props: {
233
304
  id: {},
@@ -241,40 +312,40 @@ const S = /* @__PURE__ */ f({
241
312
  message: {}
242
313
  },
243
314
  setup(o) {
244
- const a = o, t = m(() => ({
315
+ const a = o, t = v(() => ({
245
316
  "is-valid": a.isValid,
246
317
  "is-invalid": a.isInvalid
247
318
  }));
248
- return (e, i) => (l(), n("div", ee, [
249
- r("label", {
319
+ return (e, i) => (l(), n("div", ue, [
320
+ d("label", {
250
321
  class: "mc-field__label",
251
322
  for: e.id
252
323
  }, [
253
- I(h(e.label) + " ", 1),
254
- e.requirementText ? (l(), n("span", se, "(" + h(e.requirementText) + ")", 1)) : v("", !0)
255
- ], 8, ae),
324
+ M(f(e.label) + " ", 1),
325
+ e.requirementText ? (l(), n("span", me, "(" + f(e.requirementText) + ")", 1)) : h("", !0)
326
+ ], 8, pe),
256
327
  e.helpId && e.helpText ? (l(), n("span", {
257
328
  key: 0,
258
329
  id: e.helpId,
259
330
  class: "mc-field__help"
260
- }, h(e.helpText), 9, te)) : v("", !0),
261
- r("div", le, [
262
- $(e.$slots, "default", {}, void 0, !0)
331
+ }, f(e.helpText), 9, _e)) : h("", !0),
332
+ d("div", ve, [
333
+ g(e.$slots, "default", {}, void 0, !0)
263
334
  ]),
264
335
  (e.isValid || e.isInvalid) && e.message ? (l(), n("span", {
265
336
  key: 1,
266
- class: y(["mc-field__validation-message", t.value]),
337
+ class: $(["mc-field__validation-message", t.value]),
267
338
  id: e.messageId
268
- }, h(e.message), 11, ne)) : v("", !0)
339
+ }, f(e.message), 11, be)) : h("", !0)
269
340
  ]));
270
341
  }
271
- }), ba = /* @__PURE__ */ _(oe, [["__scopeId", "data-v-ead078c4"]]), ie = { class: "mc-field--group" }, de = ["for"], re = {
342
+ }), xa = /* @__PURE__ */ _(fe, [["__scopeId", "data-v-ead078c4"]]), he = { class: "mc-field--group" }, $e = ["for"], ye = {
272
343
  key: 0,
273
344
  class: "mc-field__requirement"
274
- }, ce = {
345
+ }, ge = {
275
346
  key: 0,
276
347
  class: "mc-field__help"
277
- }, ue = { class: "mc-field__content" }, pe = /* @__PURE__ */ f({
348
+ }, Ve = { class: "mc-field__content" }, ke = /* @__PURE__ */ y({
278
349
  __name: "MFieldGroup",
279
350
  props: {
280
351
  id: {},
@@ -286,29 +357,29 @@ const S = /* @__PURE__ */ f({
286
357
  message: {}
287
358
  },
288
359
  setup(o) {
289
- const a = o, t = m(() => ({
360
+ const a = o, t = v(() => ({
290
361
  "is-valid": a.isValid,
291
362
  "is-invalid": a.isInvalid
292
363
  }));
293
- return (e, i) => (l(), n("fieldset", ie, [
294
- r("legend", {
364
+ return (e, i) => (l(), n("fieldset", he, [
365
+ d("legend", {
295
366
  class: "mc-field__legend",
296
367
  for: e.id
297
368
  }, [
298
- I(h(e.legend) + " ", 1),
299
- e.requirementText ? (l(), n("span", re, "(" + h(e.requirementText) + ")", 1)) : v("", !0)
300
- ], 8, de),
301
- e.helpText ? (l(), n("span", ce, h(e.helpText), 1)) : v("", !0),
302
- r("div", ue, [
303
- $(e.$slots, "default", {}, void 0, !0)
369
+ M(f(e.legend) + " ", 1),
370
+ e.requirementText ? (l(), n("span", ye, "(" + f(e.requirementText) + ")", 1)) : h("", !0)
371
+ ], 8, $e),
372
+ e.helpText ? (l(), n("span", ge, f(e.helpText), 1)) : h("", !0),
373
+ d("div", Ve, [
374
+ g(e.$slots, "default", {}, void 0, !0)
304
375
  ]),
305
376
  (e.isValid || e.isInvalid) && e.message ? (l(), n("span", {
306
377
  key: 1,
307
- class: y(["mc-field__validation-message", t.value])
308
- }, h(e.message), 3)) : v("", !0)
378
+ class: $(["mc-field__validation-message", t.value])
379
+ }, f(e.message), 3)) : h("", !0)
309
380
  ]));
310
381
  }
311
- }), fa = /* @__PURE__ */ _(pe, [["__scopeId", "data-v-fc0c08dc"]]), me = ["disabled", "type"], _e = { class: "mc-button__icon" }, ve = /* @__PURE__ */ f({
382
+ }), es = /* @__PURE__ */ _(ke, [["__scopeId", "data-v-fc0c08dc"]]), Ie = ["disabled", "type"], we = { class: "mc-button__icon" }, Be = /* @__PURE__ */ y({
312
383
  __name: "MIconButton",
313
384
  props: {
314
385
  appearance: { default: "standard" },
@@ -319,69 +390,39 @@ const S = /* @__PURE__ */ f({
319
390
  type: { default: "button" }
320
391
  },
321
392
  setup(o) {
322
- const a = o, t = m(() => ({
393
+ const a = o, t = v(() => ({
323
394
  [`mc-button--${a.appearance}`]: a.appearance && a.appearance != "standard",
324
395
  [`mc-button--${a.size}`]: a.size && a.size != "m",
325
396
  "mc-button--ghost": a.ghost,
326
397
  "mc-button--outlined": a.outlined
327
398
  }));
328
399
  return (e, i) => (l(), n("button", {
329
- class: y(["mc-button mc-button--icon-button", t.value]),
400
+ class: $(["mc-button mc-button--icon-button", t.value]),
330
401
  disabled: e.disabled,
331
402
  type: e.type
332
403
  }, [
333
- r("span", _e, [
334
- $(e.$slots, "icon", {}, void 0, !0)
404
+ d("span", we, [
405
+ g(e.$slots, "icon", {}, void 0, !0)
335
406
  ])
336
- ], 10, me));
407
+ ], 10, Ie));
337
408
  }
338
- }), ha = /* @__PURE__ */ _(ve, [["__scopeId", "data-v-abf78562"]]), be = {
339
- key: 0,
340
- class: "mc-link__icon",
341
- "aria-hidden": "true"
342
- }, fe = { class: "mc-link__label" }, he = {
343
- key: 1,
344
- class: "mc-link__icon",
345
- "aria-hidden": "true"
346
- }, ye = /* @__PURE__ */ f({
347
- __name: "MLink",
409
+ }), as = /* @__PURE__ */ _(Be, [["__scopeId", "data-v-abf78562"]]), Ce = /* @__PURE__ */ y({
410
+ __name: "MNumberBadge",
348
411
  props: {
349
- iconPosition: { default: "left" },
412
+ label: {},
350
413
  appearance: { default: "standard" },
351
- size: { default: "s" },
352
- href: { default: void 0 },
353
- target: { default: void 0 },
354
- inline: { type: Boolean },
355
- router: { type: Boolean }
414
+ size: { default: "s" }
356
415
  },
357
416
  setup(o) {
358
- const a = o, t = m(() => ({
359
- [`mc-link--${a.appearance}`]: a.appearance && a.appearance != "standard",
360
- [`mc-link--${a.size}`]: a.size && a.size != "s",
361
- "mc-link--inline": a.inline,
362
- "mc-link--stand-alone": !a.inline
417
+ const a = o, t = v(() => ({
418
+ [`mc-number-badge--${a.appearance}`]: a.appearance && a.appearance != "standard",
419
+ [`mc-number-badge--${a.size}`]: a.size && a.size != "s"
363
420
  }));
364
- return (e, i) => (l(), w(O(e.router ? "router-link" : "a"), {
365
- class: y(["mc-link", t.value]),
366
- href: e.href,
367
- target: e.target,
368
- to: e.router ? e.href : void 0
369
- }, {
370
- default: T(() => [
371
- e.$slots.icon && e.iconPosition == "left" ? (l(), n("span", be, [
372
- $(e.$slots, "icon", {}, void 0, !0)
373
- ])) : v("", !0),
374
- r("span", fe, [
375
- $(e.$slots, "default", {}, void 0, !0)
376
- ]),
377
- e.$slots.icon && e.iconPosition == "right" ? (l(), n("span", he, [
378
- $(e.$slots, "icon", {}, void 0, !0)
379
- ])) : v("", !0)
380
- ]),
381
- _: 3
382
- }, 8, ["class", "href", "target", "to"]));
421
+ return (e, i) => (l(), n("span", {
422
+ class: $(["mc-number-badge", t.value])
423
+ }, f(e.label), 3));
383
424
  }
384
- }), ya = /* @__PURE__ */ _(ye, [["__scopeId", "data-v-ad3d954f"]]), $e = ["aria-labelledby"], ge = /* @__PURE__ */ f({
425
+ }), ss = /* @__PURE__ */ _(Ce, [["__scopeId", "data-v-7e6acb92"]]), Me = ["aria-labelledby"], ze = /* @__PURE__ */ y({
385
426
  __name: "MOverlay",
386
427
  props: {
387
428
  isVisible: { type: Boolean },
@@ -389,18 +430,113 @@ const S = /* @__PURE__ */ f({
389
430
  },
390
431
  setup(o) {
391
432
  return (a, t) => (l(), n("div", {
392
- class: y(["mc-overlay", { "is-visible": a.isVisible }])
433
+ class: $(["mc-overlay", { "is-visible": a.isVisible }])
393
434
  }, [
394
- r("div", {
435
+ d("div", {
395
436
  role: "dialog",
396
437
  tabindex: "-1",
397
438
  "aria-labelledby": a.dialogLabel
398
439
  }, [
399
- $(a.$slots, "default", {}, void 0, !0)
400
- ], 8, $e)
440
+ g(a.$slots, "default", {}, void 0, !0)
441
+ ], 8, Me)
442
+ ], 2));
443
+ }
444
+ }), ts = /* @__PURE__ */ _(ze, [["__scopeId", "data-v-db90fdb3"]]), Le = {
445
+ name: "CrossCircleFilled24",
446
+ props: {
447
+ /**
448
+ * Icon color
449
+ */
450
+ color: {
451
+ type: String,
452
+ default: "currentColor"
453
+ }
454
+ }
455
+ }, Se = {
456
+ xmlns: "http://www.w3.org/2000/svg",
457
+ viewBox: "0 0 24 24"
458
+ };
459
+ function Oe(o, a, t, e, i, s) {
460
+ return l(), n("svg", Se, a[0] || (a[0] = [
461
+ d("path", {
462
+ "fill-rule": "evenodd",
463
+ d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z"
464
+ }, null, -1)
465
+ ]));
466
+ }
467
+ const q = /* @__PURE__ */ _(Le, [["render", Oe]]), je = ["id", "type", "name", "placeholder", "disabled", "aria-invalid", "readonly"], Te = {
468
+ key: 0,
469
+ class: "mc-controls-options"
470
+ }, qe = { class: "mc-controls-options__label" }, Ze = /* @__PURE__ */ y({
471
+ __name: "MPasswordInput",
472
+ props: {
473
+ id: {},
474
+ name: {},
475
+ modelValue: {},
476
+ placeholder: {},
477
+ isInvalid: { type: Boolean },
478
+ disabled: { type: Boolean },
479
+ readonly: { type: Boolean },
480
+ isClearable: { type: Boolean },
481
+ clearLabel: { default: "Clear content" },
482
+ buttonLabel: { default: () => ({ show: "Show", hide: "Hide" }) }
483
+ },
484
+ emits: ["update:modelValue"],
485
+ setup(o, { emit: a }) {
486
+ const t = o, e = v(() => ({
487
+ "is-invalid": t.isInvalid
488
+ })), i = I(t.modelValue), s = I(!1), u = () => {
489
+ i.value = "", m("update:modelValue", "");
490
+ }, r = () => {
491
+ s.value = !s.value;
492
+ }, p = v(() => s.value ? "text" : "password"), c = v(() => s.value ? "true" : "false"), m = a;
493
+ return (b, z) => (l(), n("div", {
494
+ class: $(["mc-password-input mc-text-input", e.value])
495
+ }, [
496
+ T(d("input", k({
497
+ class: "mc-password-input__control mc-text-input__control",
498
+ "onUpdate:modelValue": z[0] || (z[0] = (L) => i.value = L),
499
+ id: b.id,
500
+ type: p.value,
501
+ name: b.name,
502
+ placeholder: b.placeholder,
503
+ disabled: b.disabled,
504
+ "aria-invalid": b.isInvalid,
505
+ readonly: b.readonly
506
+ }, b.$attrs, {
507
+ onInput: z[1] || (z[1] = (L) => m("update:modelValue", L.target.value))
508
+ }), null, 16, je), [
509
+ [P, i.value]
510
+ ]),
511
+ b.isClearable && i.value ? (l(), n("div", Te, [
512
+ d("button", {
513
+ class: "mc-controls-options__button",
514
+ onClick: u
515
+ }, [
516
+ V(q, {
517
+ class: "mc-controls-options__icon",
518
+ "aria-hidden": "true"
519
+ }),
520
+ d("span", qe, f(b.clearLabel), 1)
521
+ ])
522
+ ])) : h("", !0),
523
+ V(le, {
524
+ ref: "button",
525
+ role: "switch",
526
+ "aria-checked": c.value,
527
+ disabled: b.disabled,
528
+ onClick: r,
529
+ size: "s",
530
+ ghost: ""
531
+ }, {
532
+ default: S(() => [
533
+ M(f(s.value ? b.buttonLabel.hide : b.buttonLabel.show), 1)
534
+ ]),
535
+ _: 1
536
+ }, 8, ["aria-checked", "disabled"])
401
537
  ], 2));
402
538
  }
403
- }), $a = /* @__PURE__ */ _(ge, [["__scopeId", "data-v-db90fdb3"]]), ke = {
539
+ }), ls = /* @__PURE__ */ _(Ze, [["__scopeId", "data-v-a5164b59"]]), Pe = {
404
540
  name: "More24",
405
541
  props: {
406
542
  /**
@@ -411,21 +547,21 @@ const S = /* @__PURE__ */ f({
411
547
  default: "currentColor"
412
548
  }
413
549
  }
414
- }, Ve = {
550
+ }, Ne = {
415
551
  xmlns: "http://www.w3.org/2000/svg",
416
552
  viewBox: "0 0 24 24"
417
553
  };
418
- function Ie(o, a, t, e, i, s) {
419
- return l(), n("svg", Ve, a[0] || (a[0] = [
420
- r("g", { "clip-path": "url(#a)" }, [
421
- r("path", {
554
+ function Ge(o, a, t, e, i, s) {
555
+ return l(), n("svg", Ne, a[0] || (a[0] = [
556
+ d("g", { "clip-path": "url(#a)" }, [
557
+ d("path", {
422
558
  "fill-rule": "evenodd",
423
559
  d: "M13 5a1 1 0 1 0-2 0v6H5a1 1 0 1 0 0 2h6v6a1 1 0 1 0 2 0v-6h6a1 1 0 1 0 0-2h-6V5Z"
424
560
  })
425
561
  ], -1),
426
- r("defs", null, [
427
- r("clipPath", { id: "a" }, [
428
- r("rect", {
562
+ d("defs", null, [
563
+ d("clipPath", { id: "a" }, [
564
+ d("rect", {
429
565
  width: "24",
430
566
  height: "24",
431
567
  fill: "#fff"
@@ -434,7 +570,7 @@ function Ie(o, a, t, e, i, s) {
434
570
  ], -1)
435
571
  ]));
436
572
  }
437
- const Be = /* @__PURE__ */ _(ke, [["render", Ie]]), Me = {
573
+ const Ue = /* @__PURE__ */ _(Pe, [["render", Ge]]), De = {
438
574
  name: "Less24",
439
575
  props: {
440
576
  /**
@@ -445,21 +581,21 @@ const Be = /* @__PURE__ */ _(ke, [["render", Ie]]), Me = {
445
581
  default: "currentColor"
446
582
  }
447
583
  }
448
- }, ze = {
584
+ }, Fe = {
449
585
  xmlns: "http://www.w3.org/2000/svg",
450
586
  viewBox: "0 0 24 24"
451
587
  };
452
- function we(o, a, t, e, i, s) {
453
- return l(), n("svg", ze, a[0] || (a[0] = [
454
- r("g", { "clip-path": "url(#a)" }, [
455
- r("path", {
588
+ function Re(o, a, t, e, i, s) {
589
+ return l(), n("svg", Fe, a[0] || (a[0] = [
590
+ d("g", { "clip-path": "url(#a)" }, [
591
+ d("path", {
456
592
  "fill-rule": "evenodd",
457
593
  d: "M6 12a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z"
458
594
  })
459
595
  ], -1),
460
- r("defs", null, [
461
- r("clipPath", { id: "a" }, [
462
- r("rect", {
596
+ d("defs", null, [
597
+ d("clipPath", { id: "a" }, [
598
+ d("rect", {
463
599
  width: "24",
464
600
  height: "24",
465
601
  fill: "#fff"
@@ -468,7 +604,7 @@ function we(o, a, t, e, i, s) {
468
604
  ], -1)
469
605
  ]));
470
606
  }
471
- const Ce = /* @__PURE__ */ _(Me, [["render", we]]), Le = ["id", "name", "disabled", "min", "max", "step", "readonly", "aria-invalid", "aria-valuemin", "aria-valuemax", "aria-valuenow"], Oe = ["aria-controls", "disabled"], Te = { class: "mc-quantity-selector__icon" }, je = { class: "mc-quantity-selector__label" }, qe = ["aria-controls", "disabled"], Se = { class: "mc-quantity-selector__icon" }, Pe = { class: "mc-quantity-selector__label" }, Fe = /* @__PURE__ */ f({
607
+ const Ae = /* @__PURE__ */ _(De, [["render", Re]]), He = ["id", "name", "disabled", "min", "max", "step", "readonly", "aria-invalid", "aria-valuemin", "aria-valuemax", "aria-valuenow"], Ee = ["aria-controls", "disabled"], Qe = { class: "mc-quantity-selector__icon" }, We = { class: "mc-quantity-selector__label" }, Je = ["aria-controls", "disabled"], Ke = { class: "mc-quantity-selector__icon" }, Xe = { class: "mc-quantity-selector__label" }, Ye = /* @__PURE__ */ y({
472
608
  __name: "MQuantitySelector",
473
609
  props: {
474
610
  id: {},
@@ -486,74 +622,74 @@ const Ce = /* @__PURE__ */ _(Me, [["render", we]]), Le = ["id", "name", "disable
486
622
  },
487
623
  emits: ["update:modelValue"],
488
624
  setup(o, { emit: a }) {
489
- const t = o, e = B(t.modelValue);
490
- C(e, (d) => {
491
- d !== t.modelValue && p("update:modelValue", d);
625
+ const t = o, e = I(t.modelValue);
626
+ O(e, (c) => {
627
+ c !== t.modelValue && p("update:modelValue", c);
492
628
  });
493
- const i = m(() => ({
629
+ const i = v(() => ({
494
630
  [`mc-quantity-selector--${t.size}`]: t.size && t.size != "m",
495
631
  "is-invalid": t.isInvalid
496
632
  })), s = () => {
497
633
  e.value + t.step <= t.max ? e.value += t.step : e.value = t.max;
498
634
  }, u = () => {
499
635
  e.value - t.step > t.min ? e.value -= t.step : e.value = t.min;
500
- }, c = (d) => {
501
- e.value = d, e.value > t.max && (e.value = t.max), e.value <= t.min && (e.value = t.min), p("update:modelValue", e.value);
636
+ }, r = (c) => {
637
+ e.value = c, e.value > t.max && (e.value = t.max), e.value <= t.min && (e.value = t.min), p("update:modelValue", e.value);
502
638
  }, p = a;
503
- return (d, b) => (l(), n("div", {
504
- class: y(["mc-quantity-selector", i.value])
639
+ return (c, m) => (l(), n("div", {
640
+ class: $(["mc-quantity-selector", i.value])
505
641
  }, [
506
- j(r("input", g({
507
- id: d.id,
508
- "onUpdate:modelValue": b[0] || (b[0] = (k) => e.value = k),
642
+ T(d("input", k({
643
+ id: c.id,
644
+ "onUpdate:modelValue": m[0] || (m[0] = (b) => e.value = b),
509
645
  class: "mc-quantity-selector__control",
510
646
  type: "number",
511
- name: d.name,
512
- disabled: d.disabled,
513
- min: d.min,
514
- max: d.max,
515
- step: d.step,
516
- readonly: d.readonly,
517
- "aria-invalid": d.isInvalid,
518
- "aria-valuemin": d.min,
519
- "aria-valuemax": d.max,
647
+ name: c.name,
648
+ disabled: c.disabled,
649
+ min: c.min,
650
+ max: c.max,
651
+ step: c.step,
652
+ readonly: c.readonly,
653
+ "aria-invalid": c.isInvalid,
654
+ "aria-valuemin": c.min,
655
+ "aria-valuemax": c.max,
520
656
  "aria-valuenow": e.value
521
- }, d.$attrs, {
522
- onChange: b[1] || (b[1] = (k) => c(Number(k.target.value)))
523
- }), null, 16, Le), [
524
- [q, e.value]
657
+ }, c.$attrs, {
658
+ onChange: m[1] || (m[1] = (b) => r(Number(b.target.value)))
659
+ }), null, 16, He), [
660
+ [N, e.value]
525
661
  ]),
526
- d.readonly ? v("", !0) : (l(), n("button", {
662
+ c.readonly ? h("", !0) : (l(), n("button", {
527
663
  key: 0,
528
664
  type: "button",
529
- "aria-controls": d.id,
665
+ "aria-controls": c.id,
530
666
  class: "mc-quantity-selector__button mc-quantity-selector__button--increase",
531
667
  tabindex: "-1",
532
- disabled: d.disabled || e.value === d.max,
668
+ disabled: c.disabled || e.value === c.max,
533
669
  onClick: s
534
670
  }, [
535
- r("span", Te, [
536
- V(Be)
671
+ d("span", Qe, [
672
+ V(Ue)
537
673
  ]),
538
- r("span", je, h(d.incrementlabel), 1)
539
- ], 8, Oe)),
540
- d.readonly ? v("", !0) : (l(), n("button", {
674
+ d("span", We, f(c.incrementlabel), 1)
675
+ ], 8, Ee)),
676
+ c.readonly ? h("", !0) : (l(), n("button", {
541
677
  key: 1,
542
678
  type: "button",
543
- "aria-controls": d.id,
679
+ "aria-controls": c.id,
544
680
  class: "mc-quantity-selector__button mc-quantity-selector__button--decrease",
545
681
  tabindex: "-1",
546
- disabled: d.disabled || e.value === d.min,
682
+ disabled: c.disabled || e.value === c.min,
547
683
  onClick: u
548
684
  }, [
549
- r("span", Se, [
550
- V(Ce)
685
+ d("span", Ke, [
686
+ V(Ae)
551
687
  ]),
552
- r("span", Pe, h(d.decrementLabel), 1)
553
- ], 8, qe))
688
+ d("span", Xe, f(c.decrementLabel), 1)
689
+ ], 8, Je))
554
690
  ], 2));
555
691
  }
556
- }), ga = /* @__PURE__ */ _(Fe, [["__scopeId", "data-v-a732650a"]]), De = { class: "mc-radio" }, Ge = ["id", "name", "checked", "disabled", "aria-invalid"], Re = ["for"], Ne = /* @__PURE__ */ f({
692
+ }), ns = /* @__PURE__ */ _(Ye, [["__scopeId", "data-v-a732650a"]]), xe = { class: "mc-radio" }, ea = ["id", "name", "checked", "disabled", "aria-invalid"], aa = ["for"], sa = /* @__PURE__ */ y({
557
693
  __name: "MRadio",
558
694
  props: {
559
695
  id: {},
@@ -565,11 +701,11 @@ const Ce = /* @__PURE__ */ _(Me, [["render", we]]), Le = ["id", "name", "disable
565
701
  },
566
702
  emits: ["update:modelValue"],
567
703
  setup(o, { emit: a }) {
568
- const t = o, e = m(() => ({
704
+ const t = o, e = v(() => ({
569
705
  "is-invalid": t.isInvalid
570
706
  })), i = a;
571
- return (s, u) => (l(), n("div", De, [
572
- r("input", g({
707
+ return (s, u) => (l(), n("div", xe, [
708
+ d("input", k({
573
709
  id: s.id,
574
710
  type: "radio",
575
711
  class: ["mc-radio__input", e.value],
@@ -578,16 +714,16 @@ const Ce = /* @__PURE__ */ _(Me, [["render", we]]), Le = ["id", "name", "disable
578
714
  disabled: s.disabled,
579
715
  "aria-invalid": s.isInvalid
580
716
  }, s.$attrs, {
581
- onChange: u[0] || (u[0] = (c) => i("update:modelValue", c.target.checked))
582
- }), null, 16, Ge),
717
+ onChange: u[0] || (u[0] = (r) => i("update:modelValue", r.target.checked))
718
+ }), null, 16, ea),
583
719
  s.label ? (l(), n("label", {
584
720
  key: 0,
585
721
  for: s.id,
586
722
  class: "mc-radio__label"
587
- }, h(s.label), 9, Re)) : v("", !0)
723
+ }, f(s.label), 9, aa)) : h("", !0)
588
724
  ]));
589
725
  }
590
- }), Ue = /* @__PURE__ */ _(Ne, [["__scopeId", "data-v-da78938c"]]), Ze = /* @__PURE__ */ f({
726
+ }), ta = /* @__PURE__ */ _(sa, [["__scopeId", "data-v-da78938c"]]), la = /* @__PURE__ */ y({
591
727
  __name: "MRadioGroup",
592
728
  props: {
593
729
  name: {},
@@ -598,32 +734,32 @@ const Ce = /* @__PURE__ */ _(Me, [["render", we]]), Le = ["id", "name", "disable
598
734
  },
599
735
  emits: ["update:modelValue"],
600
736
  setup(o, { emit: a }) {
601
- const t = o, e = m(() => ({
737
+ const t = o, e = v(() => ({
602
738
  "mc-field__container--inline": t.inline
603
- })), i = m(() => ({
739
+ })), i = v(() => ({
604
740
  "mc-field__container--inline__item": t.inline
605
741
  })), s = a;
606
- return (u, c) => (l(), n("div", {
607
- class: y(["mc-field__container", e.value])
742
+ return (u, r) => (l(), n("div", {
743
+ class: $(["mc-field__container", e.value])
608
744
  }, [
609
- (l(!0), n(M, null, z(u.options, (p) => (l(), w(Ue, {
745
+ (l(!0), n(B, null, C(u.options, (p) => (l(), w(ta, {
610
746
  id: p.id,
611
747
  key: p.id,
612
748
  label: p.label,
613
749
  "is-invalid": u.isInvalid,
614
750
  name: u.name,
615
- class: y(["mc-field__item", i.value]),
751
+ class: $(["mc-field__item", i.value]),
616
752
  "model-value": u.modelValue === p.value,
617
753
  disabled: p.disabled,
618
- "onUpdate:modelValue": (d) => d ? s("update:modelValue", p.value) : null
754
+ "onUpdate:modelValue": (c) => c ? s("update:modelValue", p.value) : null
619
755
  }, null, 8, ["id", "label", "is-invalid", "name", "class", "model-value", "disabled", "onUpdate:modelValue"]))), 128))
620
756
  ], 2));
621
757
  }
622
- }), ka = /* @__PURE__ */ _(Ze, [["__scopeId", "data-v-d2f5e103"]]), Ae = ["id", "name", "value", "disabled"], Ee = {
758
+ }), os = /* @__PURE__ */ _(la, [["__scopeId", "data-v-d2f5e103"]]), na = ["id", "name", "value", "disabled"], oa = {
623
759
  key: 0,
624
760
  value: "",
625
761
  disabled: ""
626
- }, He = ["value", "disabled"], Qe = /* @__PURE__ */ f({
762
+ }, ia = ["value", "disabled"], da = /* @__PURE__ */ y({
627
763
  __name: "MSelect",
628
764
  props: {
629
765
  id: {},
@@ -638,61 +774,244 @@ const Ce = /* @__PURE__ */ _(Me, [["render", we]]), Le = ["id", "name", "disable
638
774
  },
639
775
  emits: ["update:modelValue"],
640
776
  setup(o, { emit: a }) {
641
- const t = o, e = m(() => ({
777
+ const t = o, e = v(() => ({
642
778
  [`mc-select--${t.size}`]: t.size && t.size != "m",
643
779
  "mc-select--readonly": t.readonly,
644
780
  "is-invalid": t.isInvalid
645
781
  })), i = a;
646
- return (s, u) => (l(), n("select", g({
782
+ return (s, u) => (l(), n("select", k({
647
783
  id: s.id,
648
784
  class: ["mc-select", e.value],
649
785
  name: s.name,
650
786
  value: s.modelValue,
651
787
  disabled: s.disabled
652
788
  }, s.$attrs, {
653
- onChange: u[0] || (u[0] = (c) => i("update:modelValue", c.target.value))
789
+ onChange: u[0] || (u[0] = (r) => i("update:modelValue", r.target.value))
654
790
  }), [
655
- s.placeholder ? (l(), n("option", Ee, " -- " + h(s.placeholder) + " -- ", 1)) : v("", !0),
656
- (l(!0), n(M, null, z(s.options, (c, p) => (l(), n("option", g({
791
+ s.placeholder ? (l(), n("option", oa, " -- " + f(s.placeholder) + " -- ", 1)) : h("", !0),
792
+ (l(!0), n(B, null, C(s.options, (r, p) => (l(), n("option", k({
657
793
  key: p,
658
- value: c.value,
659
- ref_for: !0
660
- }, c.attributes, {
661
- disabled: c.disabled
662
- }), h(c.text), 17, He))), 128))
663
- ], 16, Ae));
794
+ value: r.value
795
+ }, { ref_for: !0 }, r.attributes, {
796
+ disabled: r.disabled
797
+ }), f(r.text), 17, ia))), 128))
798
+ ], 16, na));
664
799
  }
665
- }), Va = /* @__PURE__ */ _(Qe, [["__scopeId", "data-v-68c735e4"]]), Je = /* @__PURE__ */ f({
800
+ }), is = /* @__PURE__ */ _(da, [["__scopeId", "data-v-68c735e4"]]), ra = /* @__PURE__ */ y({
666
801
  __name: "MStatusDot",
667
802
  props: {
668
- appearance: { default: "info" }
803
+ status: { default: "info" },
804
+ size: {}
669
805
  },
670
806
  setup(o) {
671
- const a = o, t = m(() => ({
672
- [`mc-status-dot--${a.appearance}`]: a.appearance && a.appearance != "info"
807
+ const a = o, t = v(() => ({
808
+ [`mc-status-dot--${a.status}`]: a.status && a.status != "info",
809
+ [`mc-status-dot--${a.size}`]: a.size && a.size != "m"
673
810
  }));
674
811
  return (e, i) => (l(), n("span", {
675
- class: y(["mc-status-dot", t.value])
812
+ class: $(["mc-status-dot", t.value])
676
813
  }, null, 2));
677
814
  }
678
- }), Ke = /* @__PURE__ */ _(Je, [["__scopeId", "data-v-1d06a91e"]]), We = { class: "mc-status-badge__label" }, Xe = /* @__PURE__ */ f({
815
+ }), ca = /* @__PURE__ */ _(ra, [["__scopeId", "data-v-417b563f"]]), ua = { class: "mc-status-badge__label" }, pa = /* @__PURE__ */ y({
679
816
  __name: "MStatusBadge",
680
817
  props: {
681
818
  label: {},
682
- appearance: { default: "info" }
819
+ status: { default: "info" }
683
820
  },
684
821
  setup(o) {
685
- const a = o, t = m(() => ({
686
- [`mc-status-badge--${a.appearance}`]: a.appearance && a.appearance != "info"
822
+ const a = o, t = v(() => ({
823
+ [`mc-status-badge--${a.status}`]: a.status && a.status != "info"
687
824
  }));
688
825
  return (e, i) => (l(), n("div", {
689
- class: y(["mc-status-badge", t.value])
826
+ class: $(["mc-status-badge", t.value])
690
827
  }, [
691
- V(Ke, { appearance: e.appearance }, null, 8, ["appearance"]),
692
- r("span", We, h(e.label), 1)
828
+ V(ca, { status: e.status }, null, 8, ["status"]),
829
+ d("span", ua, f(e.label), 1)
693
830
  ], 2));
694
831
  }
695
- }), Ia = /* @__PURE__ */ _(Xe, [["__scopeId", "data-v-95fd9bb1"]]), Ye = ["id", "aria-invalid", "value", "name", "placeholder", "disabled", "minlength", "maxlength", "rows", "readonly"], xe = /* @__PURE__ */ f({
832
+ }), ds = /* @__PURE__ */ _(pa, [["__scopeId", "data-v-3e437a03"]]), ma = {
833
+ name: "Cross20",
834
+ props: {
835
+ /**
836
+ * Icon color
837
+ */
838
+ color: {
839
+ type: String,
840
+ default: "currentColor"
841
+ }
842
+ }
843
+ }, _a = {
844
+ xmlns: "http://www.w3.org/2000/svg",
845
+ viewBox: "0 0 20 20"
846
+ };
847
+ function va(o, a, t, e, i, s) {
848
+ return l(), n("svg", _a, a[0] || (a[0] = [
849
+ d("g", { "clip-path": "url(#a)" }, [
850
+ d("path", {
851
+ "fill-rule": "evenodd",
852
+ d: "M16.364 4.697a.75.75 0 1 0-1.061-1.06L10 8.938 4.697 3.636a.75.75 0 0 0-1.06 1.06L8.938 10l-5.303 5.303a.75.75 0 0 0 1.061 1.06L10 11.06l5.303 5.303a.75.75 0 0 0 1.06-1.06L11.062 10l5.303-5.303Z"
853
+ })
854
+ ], -1),
855
+ d("defs", null, [
856
+ d("clipPath", { id: "a" }, [
857
+ d("rect", {
858
+ width: "20",
859
+ height: "20",
860
+ fill: "#fff"
861
+ })
862
+ ])
863
+ ], -1)
864
+ ]));
865
+ }
866
+ const ba = /* @__PURE__ */ _(ma, [["render", va]]), fa = {
867
+ name: "InfoCircle32",
868
+ props: {
869
+ /**
870
+ * Icon color
871
+ */
872
+ color: {
873
+ type: String,
874
+ default: "currentColor"
875
+ }
876
+ }
877
+ }, ha = {
878
+ xmlns: "http://www.w3.org/2000/svg",
879
+ viewBox: "0 0 32 32"
880
+ };
881
+ function $a(o, a, t, e, i, s) {
882
+ return l(), n("svg", ha, a[0] || (a[0] = [
883
+ d("path", {
884
+ "fill-rule": "evenodd",
885
+ d: "M16 5C9.925 5 5 9.925 5 16s4.925 11 11 11 11-4.925 11-11S22.075 5 16 5ZM3 16C3 8.82 8.82 3 16 3s13 5.82 13 13-5.82 13-13 13S3 23.18 3 16Zm13-2.333a1 1 0 0 1 1 1v6.666a1 1 0 1 1-2 0v-6.666a1 1 0 0 1 1-1ZM16 12a1.333 1.333 0 1 0 0-2.667A1.333 1.333 0 0 0 16 12Z"
886
+ }, null, -1)
887
+ ]));
888
+ }
889
+ const ya = /* @__PURE__ */ _(fa, [["render", $a]]), ga = {
890
+ name: "WarningCircle32",
891
+ props: {
892
+ /**
893
+ * Icon color
894
+ */
895
+ color: {
896
+ type: String,
897
+ default: "currentColor"
898
+ }
899
+ }
900
+ }, Va = {
901
+ xmlns: "http://www.w3.org/2000/svg",
902
+ viewBox: "0 0 32 32"
903
+ };
904
+ function ka(o, a, t, e, i, s) {
905
+ return l(), n("svg", Va, a[0] || (a[0] = [
906
+ d("path", {
907
+ "fill-rule": "evenodd",
908
+ d: "M16 5C9.925 5 5 9.925 5 16s4.925 11 11 11 11-4.925 11-11S22.075 5 16 5ZM3 16C3 8.82 8.82 3 16 3s13 5.82 13 13-5.82 13-13 13S3 23.18 3 16Zm13-6.333a1 1 0 0 1 1 1v6.666a1 1 0 1 1-2 0v-6.666a1 1 0 0 1 1-1Zm0 13A1.333 1.333 0 1 0 16 20a1.333 1.333 0 0 0 0 2.667Z"
909
+ }, null, -1)
910
+ ]));
911
+ }
912
+ const Ia = /* @__PURE__ */ _(ga, [["render", ka]]), wa = {
913
+ name: "CrossCircle32",
914
+ props: {
915
+ /**
916
+ * Icon color
917
+ */
918
+ color: {
919
+ type: String,
920
+ default: "currentColor"
921
+ }
922
+ }
923
+ }, Ba = {
924
+ xmlns: "http://www.w3.org/2000/svg",
925
+ viewBox: "0 0 32 32"
926
+ };
927
+ function Ca(o, a, t, e, i, s) {
928
+ return l(), n("svg", Ba, a[0] || (a[0] = [
929
+ d("path", {
930
+ "fill-rule": "evenodd",
931
+ d: "M5 16C5 9.925 9.925 5 16 5s11 4.925 11 11-4.925 11-11 11S5 22.075 5 16ZM16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3Zm-3.293 8.293a1 1 0 0 0-1.414 1.414L14.586 16l-3.293 3.293a1 1 0 0 0 1.414 1.414L16 17.414l3.293 3.293a1 1 0 0 0 1.414-1.414L17.414 16l3.293-3.293a1 1 0 0 0-1.414-1.414L16 14.586l-3.293-3.293Z"
932
+ }, null, -1)
933
+ ]));
934
+ }
935
+ const Ma = /* @__PURE__ */ _(wa, [["render", Ca]]), za = {
936
+ name: "CheckCircle32",
937
+ props: {
938
+ /**
939
+ * Icon color
940
+ */
941
+ color: {
942
+ type: String,
943
+ default: "currentColor"
944
+ }
945
+ }
946
+ }, La = {
947
+ xmlns: "http://www.w3.org/2000/svg",
948
+ viewBox: "0 0 32 32"
949
+ };
950
+ function Sa(o, a, t, e, i, s) {
951
+ return l(), n("svg", La, a[0] || (a[0] = [
952
+ d("path", {
953
+ "fill-rule": "evenodd",
954
+ d: "M5 16C5 9.925 9.925 5 16 5s11 4.925 11 11-4.925 11-11 11S5 22.075 5 16ZM16 3C8.82 3 3 8.82 3 16s5.82 13 13 13 13-5.82 13-13S23.18 3 16 3Zm6.707 10.374a1 1 0 0 0-1.414-1.414l-6.626 6.626-3.293-3.293a1 1 0 0 0-1.414 1.414l4 4a1 1 0 0 0 1.414 0l7.333-7.333Z"
955
+ }, null, -1)
956
+ ]));
957
+ }
958
+ const Oa = /* @__PURE__ */ _(za, [["render", Sa]]), ja = { class: "mc-status-notification__content" }, Ta = { class: "mc-status-notification__title" }, qa = { class: "mc-status-notification__message" }, Za = {
959
+ key: 0,
960
+ class: "mc-status-notification__footer"
961
+ }, Pa = /* @__PURE__ */ y({
962
+ __name: "MStatusNotification",
963
+ props: {
964
+ title: {},
965
+ description: {},
966
+ status: { default: "info" },
967
+ closable: { type: Boolean }
968
+ },
969
+ emits: ["close"],
970
+ setup(o, { emit: a }) {
971
+ const t = o, e = v(() => ({
972
+ [`mc-status-notification--${t.status}`]: t.status && t.status != "info"
973
+ })), i = v(() => {
974
+ switch (t.status) {
975
+ case "success":
976
+ return Oa;
977
+ case "warning":
978
+ return Ia;
979
+ case "error":
980
+ return Ma;
981
+ case "info":
982
+ default:
983
+ return ya;
984
+ }
985
+ }), s = a;
986
+ return (u, r) => (l(), n("section", {
987
+ class: $(["mc-status-notification", e.value]),
988
+ role: "status"
989
+ }, [
990
+ (l(), w(j(i.value), {
991
+ class: "mc-status-notification__icon",
992
+ "aria-hidden": "true"
993
+ })),
994
+ d("div", ja, [
995
+ d("h2", Ta, f(u.title), 1),
996
+ d("p", qa, f(u.description), 1),
997
+ u.$slots.footer ? (l(), n("div", Za, [
998
+ g(u.$slots, "footer", {}, void 0, !0)
999
+ ])) : h("", !0)
1000
+ ]),
1001
+ u.closable ? (l(), n("button", {
1002
+ key: 0,
1003
+ class: "mc-status-notification-closable__close",
1004
+ onClick: r[0] || (r[0] = (p) => s("close"))
1005
+ }, [
1006
+ V(ba, {
1007
+ class: "mc-status-notification-closable__icon",
1008
+ "aria-hidden": "true"
1009
+ }),
1010
+ r[1] || (r[1] = d("span", { class: "mc-status-notification-closable__text" }, "Close", -1))
1011
+ ])) : h("", !0)
1012
+ ], 2));
1013
+ }
1014
+ }), rs = /* @__PURE__ */ _(Pa, [["__scopeId", "data-v-d6e3be16"]]), Na = ["id", "aria-invalid", "value", "name", "placeholder", "disabled", "minlength", "maxlength", "rows", "readonly"], Ga = /* @__PURE__ */ y({
696
1015
  __name: "MTextArea",
697
1016
  props: {
698
1017
  id: {},
@@ -708,10 +1027,10 @@ const Ce = /* @__PURE__ */ _(Me, [["render", we]]), Le = ["id", "name", "disable
708
1027
  },
709
1028
  emits: ["update:modelValue"],
710
1029
  setup(o, { emit: a }) {
711
- const t = o, e = m(() => ({
1030
+ const t = o, e = v(() => ({
712
1031
  "is-invalid": t.isInvalid
713
1032
  })), i = a;
714
- return (s, u) => (l(), n("textarea", g({
1033
+ return (s, u) => (l(), n("textarea", k({
715
1034
  id: s.id,
716
1035
  class: ["mc-textarea", e.value],
717
1036
  "aria-invalid": s.isInvalid,
@@ -724,39 +1043,16 @@ const Ce = /* @__PURE__ */ _(Me, [["render", we]]), Le = ["id", "name", "disable
724
1043
  rows: s.rows,
725
1044
  readonly: s.readonly
726
1045
  }, s.$attrs, {
727
- onInput: u[0] || (u[0] = (c) => i("update:modelValue", c.target.value))
728
- }), null, 16, Ye));
729
- }
730
- }), Ba = /* @__PURE__ */ _(xe, [["__scopeId", "data-v-8184b69c"]]), ea = {
731
- name: "CrossCircleFilled24",
732
- props: {
733
- /**
734
- * Icon color
735
- */
736
- color: {
737
- type: String,
738
- default: "currentColor"
739
- }
1046
+ onInput: u[0] || (u[0] = (r) => i("update:modelValue", r.target.value))
1047
+ }), null, 16, Na));
740
1048
  }
741
- }, aa = {
742
- xmlns: "http://www.w3.org/2000/svg",
743
- viewBox: "0 0 24 24"
744
- };
745
- function sa(o, a, t, e, i, s) {
746
- return l(), n("svg", aa, a[0] || (a[0] = [
747
- r("path", {
748
- "fill-rule": "evenodd",
749
- d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z"
750
- }, null, -1)
751
- ]));
752
- }
753
- const ta = /* @__PURE__ */ _(ea, [["render", sa]]), la = {
1049
+ }), cs = /* @__PURE__ */ _(Ga, [["__scopeId", "data-v-8184b69c"]]), Ua = {
754
1050
  key: 0,
755
1051
  class: "mc-text-input__icon"
756
- }, na = ["id", "value", "type", "name", "placeholder", "disabled", "aria-invalid", "readonly"], oa = {
1052
+ }, Da = ["id", "value", "type", "name", "placeholder", "disabled", "aria-invalid", "readonly"], Fa = {
757
1053
  key: 1,
758
1054
  class: "mc-controls-options"
759
- }, ia = /* @__PURE__ */ f({
1055
+ }, Ra = /* @__PURE__ */ y({
760
1056
  __name: "MTextInput",
761
1057
  props: {
762
1058
  id: {},
@@ -773,47 +1069,47 @@ const ta = /* @__PURE__ */ _(ea, [["render", sa]]), la = {
773
1069
  },
774
1070
  emits: ["update:modelValue"],
775
1071
  setup(o, { emit: a }) {
776
- const t = o, e = m(() => ({
1072
+ const t = o, e = v(() => ({
777
1073
  [`mc-text-input--${t.size}`]: t.size && t.size != "m",
778
1074
  "is-invalid": t.isInvalid
779
- })), i = B(t.modelValue), s = () => {
1075
+ })), i = I(t.modelValue), s = () => {
780
1076
  i.value = "", u("update:modelValue", "");
781
1077
  }, u = a;
782
- return (c, p) => (l(), n("div", {
783
- class: y(["mc-text-input", e.value])
1078
+ return (r, p) => (l(), n("div", {
1079
+ class: $(["mc-text-input", e.value])
784
1080
  }, [
785
- c.$slots.icon ? (l(), n("span", la, [
786
- $(c.$slots, "icon", {}, void 0, !0)
787
- ])) : v("", !0),
788
- r("input", g({
789
- id: c.id,
1081
+ r.$slots.icon ? (l(), n("span", Ua, [
1082
+ g(r.$slots, "icon", {}, void 0, !0)
1083
+ ])) : h("", !0),
1084
+ d("input", k({
1085
+ id: r.id,
790
1086
  class: "mc-text-input__control",
791
1087
  value: i.value,
792
- type: c.inputType,
793
- name: c.name,
794
- placeholder: c.placeholder,
795
- disabled: c.disabled,
796
- "aria-invalid": c.isInvalid,
797
- readonly: c.readonly
798
- }, c.$attrs, {
799
- onInput: p[0] || (p[0] = (d) => u("update:modelValue", d.target.value))
800
- }), null, 16, na),
801
- c.isClearable && i.value ? (l(), n("div", oa, [
802
- r("button", {
1088
+ type: r.inputType,
1089
+ name: r.name,
1090
+ placeholder: r.placeholder,
1091
+ disabled: r.disabled,
1092
+ "aria-invalid": r.isInvalid,
1093
+ readonly: r.readonly
1094
+ }, r.$attrs, {
1095
+ onInput: p[0] || (p[0] = (c) => u("update:modelValue", c.target.value))
1096
+ }), null, 16, Da),
1097
+ r.isClearable && i.value ? (l(), n("div", Fa, [
1098
+ d("button", {
803
1099
  type: "button",
804
1100
  class: "mc-controls-options__button",
805
1101
  onClick: s
806
1102
  }, [
807
- V(ta, {
1103
+ V(q, {
808
1104
  class: "mc-controls-options__icon",
809
1105
  "aria-hidden": "true"
810
1106
  }),
811
- p[1] || (p[1] = r("span", { class: "mc-controls-options__label" }, "{clearLabel}", -1))
1107
+ p[1] || (p[1] = d("span", { class: "mc-controls-options__label" }, "{clearLabel}", -1))
812
1108
  ])
813
- ])) : v("", !0)
1109
+ ])) : h("", !0)
814
1110
  ], 2));
815
1111
  }
816
- }), Ma = /* @__PURE__ */ _(ia, [["__scopeId", "data-v-38f67338"]]), da = ["for"], ra = ["id", "name", "checked", "disabled"], ca = ["for"], ua = /* @__PURE__ */ f({
1112
+ }), us = /* @__PURE__ */ _(Ra, [["__scopeId", "data-v-38f67338"]]), Aa = ["for"], Ha = ["id", "name", "checked", "disabled"], Ea = ["for"], Qa = /* @__PURE__ */ y({
817
1113
  __name: "MToggle",
818
1114
  props: {
819
1115
  id: {},
@@ -825,17 +1121,17 @@ const ta = /* @__PURE__ */ _(ea, [["render", sa]]), la = {
825
1121
  },
826
1122
  emits: ["update:modelValue"],
827
1123
  setup(o, { emit: a }) {
828
- const t = o, e = m(() => ({
1124
+ const t = o, e = v(() => ({
829
1125
  [`mc-toggle--${t.size}`]: t.size && t.size != "s"
830
1126
  })), i = a;
831
1127
  return (s, u) => (l(), n("div", {
832
- class: y(["mc-toggle", e.value])
1128
+ class: $(["mc-toggle", e.value])
833
1129
  }, [
834
- r("label", {
1130
+ d("label", {
835
1131
  class: "mc-toggle__container",
836
1132
  for: s.id
837
1133
  }, [
838
- r("input", g({
1134
+ d("input", k({
839
1135
  id: s.id,
840
1136
  type: "checkbox",
841
1137
  class: "mc-toggle__input",
@@ -843,35 +1139,81 @@ const ta = /* @__PURE__ */ _(ea, [["render", sa]]), la = {
843
1139
  checked: s.modelValue,
844
1140
  disabled: s.disabled
845
1141
  }, s.$attrs, {
846
- onChange: u[0] || (u[0] = (c) => i("update:modelValue", c.target.checked))
847
- }), null, 16, ra),
1142
+ onChange: u[0] || (u[0] = (r) => i("update:modelValue", r.target.checked))
1143
+ }), null, 16, Ha),
848
1144
  s.label ? (l(), n("span", {
849
1145
  key: 0,
850
1146
  for: s.id,
851
1147
  class: "mc-toggle__label"
852
- }, h(s.label), 9, ca)) : v("", !0)
853
- ], 8, da)
1148
+ }, f(s.label), 9, Ea)) : h("", !0)
1149
+ ], 8, Aa)
1150
+ ], 2));
1151
+ }
1152
+ }), Wa = /* @__PURE__ */ _(Qa, [["__scopeId", "data-v-5be734e7"]]), Ja = /* @__PURE__ */ y({
1153
+ __name: "MToggleGroup",
1154
+ props: {
1155
+ name: {},
1156
+ modelValue: {},
1157
+ options: {},
1158
+ inline: { type: Boolean }
1159
+ },
1160
+ emits: ["update:modelValue"],
1161
+ setup(o, { emit: a }) {
1162
+ const t = o, e = I([]);
1163
+ O(
1164
+ () => t.modelValue,
1165
+ (p) => {
1166
+ e.value = p || [];
1167
+ },
1168
+ { immediate: !0 }
1169
+ );
1170
+ const i = (p, c) => {
1171
+ let m = [...e.value];
1172
+ p && !m.includes(c) ? m.push(c) : m = m.filter((b) => b !== c), r("update:modelValue", m), e.value = m;
1173
+ }, s = v(() => ({
1174
+ "mc-field__container--inline": t.inline
1175
+ })), u = v(() => ({
1176
+ "mc-field__container--inline__item": t.inline
1177
+ })), r = a;
1178
+ return (p, c) => (l(), n("div", {
1179
+ class: $(s.value)
1180
+ }, [
1181
+ (l(!0), n(B, null, C(p.options, (m) => (l(), w(Wa, {
1182
+ id: m.id,
1183
+ key: m.id,
1184
+ label: m.label,
1185
+ "is-invalid": m.isInvalid,
1186
+ name: p.name,
1187
+ class: $(u.value),
1188
+ "model-value": p.modelValue ? p.modelValue.includes(m.value) : void 0,
1189
+ disabled: m.disabled,
1190
+ "onUpdate:modelValue": (b) => i(b, m.value)
1191
+ }, null, 8, ["id", "label", "is-invalid", "name", "class", "model-value", "disabled", "onUpdate:modelValue"]))), 128))
854
1192
  ], 2));
855
1193
  }
856
- }), za = /* @__PURE__ */ _(ua, [["__scopeId", "data-v-5be734e7"]]);
1194
+ }), ps = /* @__PURE__ */ _(Ja, [["__scopeId", "data-v-c6b10172"]]);
857
1195
  export {
858
- ma as MBadge,
859
- _a as MButton,
860
- Y as MCheckbox,
861
- va as MCheckboxGroup,
862
- ba as MField,
863
- fa as MFieldGroup,
864
- ha as MIconButton,
865
- ya as MLink,
866
- N as MLoader,
867
- $a as MOverlay,
868
- ga as MQuantitySelector,
869
- Ue as MRadio,
870
- ka as MRadioGroup,
871
- Va as MSelect,
872
- Ia as MStatusBadge,
873
- Ba as MTextArea,
874
- Ma as MTextInput,
875
- za as MToggle
1196
+ Xa as MBreadcrumb,
1197
+ le as MButton,
1198
+ re as MCheckbox,
1199
+ Ya as MCheckboxGroup,
1200
+ xa as MField,
1201
+ es as MFieldGroup,
1202
+ as as MIconButton,
1203
+ R as MLink,
1204
+ X as MLoader,
1205
+ ss as MNumberBadge,
1206
+ ts as MOverlay,
1207
+ ls as MPasswordInput,
1208
+ ns as MQuantitySelector,
1209
+ ta as MRadio,
1210
+ os as MRadioGroup,
1211
+ is as MSelect,
1212
+ ds as MStatusBadge,
1213
+ rs as MStatusNotification,
1214
+ cs as MTextArea,
1215
+ us as MTextInput,
1216
+ Wa as MToggle,
1217
+ ps as MToggleGroup
876
1218
  };
877
1219
  //# sourceMappingURL=mozaic-vue.js.map