@mozaic-ds/vue 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mozaic-vue.css +1 -1
- package/dist/mozaic-vue.d.ts +276 -258
- package/dist/mozaic-vue.js +308 -292
- package/dist/mozaic-vue.js.map +1 -1
- package/dist/mozaic-vue.umd.cjs +1 -1
- package/dist/mozaic-vue.umd.cjs.map +1 -1
- package/package.json +2 -2
- package/src/components/avatar/MAvatar.vue +2 -2
- package/src/components/breadcrumb/MBreadcrumb.stories.ts +1 -0
- package/src/components/breadcrumb/MBreadcrumb.vue +3 -3
- package/src/components/button/MButton.vue +1 -1
- package/src/components/callout/MCallout.vue +5 -5
- package/src/components/checkbox/MCheckbox.vue +5 -1
- package/src/components/checkboxgroup/MCheckboxGroup.stories.ts +1 -1
- package/src/components/checkboxgroup/MCheckboxGroup.vue +1 -1
- package/src/components/circularprogressbar/MCircularProgressbar.vue +2 -2
- package/src/components/container/MContainer.stories.ts +3 -3
- package/src/components/container/MContainer.vue +2 -2
- package/src/components/datepicker/MDatepicker.stories.ts +1 -1
- package/src/components/datepicker/MDatepicker.vue +7 -3
- package/src/components/divider/MDivider.spec.ts +5 -5
- package/src/components/divider/MDivider.stories.ts +7 -13
- package/src/components/divider/MDivider.vue +8 -8
- package/src/components/drawer/MDrawer.vue +7 -3
- package/src/components/flag/MFlag.vue +2 -2
- package/src/components/iconbutton/MIconButton.vue +1 -1
- package/src/components/linearprogressbarbuffer/MLinearProgressbarBuffer.vue +5 -1
- package/src/components/linearprogressbarpercentage/MLinearProgressbarPercentage.vue +4 -0
- package/src/components/link/MLink.stories.ts +2 -2
- package/src/components/link/MLink.vue +22 -10
- package/src/components/loadingoverlay/MLoadingOverlay.stories.ts +1 -1
- package/src/components/loadingoverlay/MLoadingOverlay.vue +4 -0
- package/src/components/modal/MModal.vue +11 -7
- package/src/components/numberbadge/MNumberBadge.vue +4 -4
- package/src/components/overlay/MOverlay.stories.ts +1 -1
- package/src/components/overlay/MOverlay.vue +2 -2
- package/src/components/pagination/MPagination.stories.ts +1 -0
- package/src/components/pagination/MPagination.vue +1 -1
- package/src/components/passwordinput/MPasswordInput.vue +6 -2
- package/src/components/pincode/MPincode.stories.ts +1 -1
- package/src/components/pincode/MPincode.vue +5 -1
- package/src/components/quantityselector/MQuantitySelector.stories.ts +1 -1
- package/src/components/quantityselector/MQuantitySelector.vue +6 -2
- package/src/components/radio/MRadio.vue +5 -1
- package/src/components/radiogroup/MRadioGroup.vue +1 -1
- package/src/components/select/MSelect.vue +6 -2
- package/src/components/statusbadge/MStatusBadge.stories.ts +1 -1
- package/src/components/statusbadge/MStatusBadge.vue +3 -3
- package/src/components/statusdot/MStatusDot.vue +3 -3
- package/src/components/statusnotification/MStatusNotification.vue +3 -3
- package/src/components/tabs/Mtabs.spec.ts +3 -3
- package/src/components/tag/MTag.stories.ts +1 -1
- package/src/components/tag/MTag.vue +4 -0
- package/src/components/textarea/MTextArea.vue +5 -1
- package/src/components/textinput/MTextInput.vue +10 -6
- package/src/components/toaster/MToaster.vue +4 -4
- package/src/components/toggle/MToggle.vue +6 -2
- package/src/components/togglegroup/MToggleGroup.vue +2 -2
- package/src/components/tooltip/MTooltip.vue +8 -10
- package/src/main.ts +5 -4
package/dist/mozaic-vue.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as $, computed as v, createElementBlock as i, openBlock as o, normalizeClass as g, renderSlot as k, createBlock as B, resolveDynamicComponent as
|
|
1
|
+
import { defineComponent as $, computed as v, createElementBlock as i, openBlock as o, normalizeClass as g, renderSlot as k, createBlock as B, resolveDynamicComponent as q, mergeProps as V, withCtx as M, createCommentVNode as h, createElementVNode as d, Fragment as A, renderList as P, createVNode as w, createTextVNode as D, toDisplayString as b, normalizeStyle as H, ref as z, watch as T, withKeys as R, withDirectives as K, vModelDynamic as ee, nextTick as ae, vModelText as te, onMounted as se, onBeforeUnmount as oe } from "vue";
|
|
2
2
|
const le = /* @__PURE__ */ $({
|
|
3
3
|
__name: "MAvatar",
|
|
4
4
|
props: {
|
|
@@ -19,7 +19,7 @@ const le = /* @__PURE__ */ $({
|
|
|
19
19
|
for (const [t, n] of e)
|
|
20
20
|
a[t] = n;
|
|
21
21
|
return a;
|
|
22
|
-
},
|
|
22
|
+
}, Xs = /* @__PURE__ */ m(le, [["__scopeId", "data-v-9ebdb5d7"]]), ne = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "mc-link__icon",
|
|
25
25
|
"aria-hidden": "true"
|
|
@@ -44,28 +44,31 @@ const le = /* @__PURE__ */ $({
|
|
|
44
44
|
[`mc-link--${e.size}`]: e.size && e.size != "s",
|
|
45
45
|
"mc-link--inline": e.inline,
|
|
46
46
|
"mc-link--stand-alone": !e.inline
|
|
47
|
-
}))
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
47
|
+
})), t = v(() => e.router ? {
|
|
48
|
+
to: e.href,
|
|
49
|
+
target: e.target
|
|
50
|
+
} : {
|
|
51
|
+
href: e.href,
|
|
52
|
+
target: e.target
|
|
53
|
+
});
|
|
54
|
+
return (n, s) => (o(), B(q(n.router ? "router-link" : "a"), V({
|
|
55
|
+
class: ["mc-link", a.value]
|
|
56
|
+
}, t.value), {
|
|
54
57
|
default: M(() => [
|
|
55
|
-
|
|
56
|
-
k(
|
|
58
|
+
n.$slots.icon && n.iconPosition == "left" ? (o(), i("span", ne, [
|
|
59
|
+
k(n.$slots, "icon", {}, void 0, !0)
|
|
57
60
|
])) : h("", !0),
|
|
58
61
|
d("span", ie, [
|
|
59
|
-
k(
|
|
62
|
+
k(n.$slots, "default", {}, void 0, !0)
|
|
60
63
|
]),
|
|
61
|
-
|
|
62
|
-
k(
|
|
64
|
+
n.$slots.icon && n.iconPosition == "right" ? (o(), i("span", re, [
|
|
65
|
+
k(n.$slots, "icon", {}, void 0, !0)
|
|
63
66
|
])) : h("", !0)
|
|
64
67
|
]),
|
|
65
68
|
_: 3
|
|
66
|
-
},
|
|
69
|
+
}, 16, ["class"]));
|
|
67
70
|
}
|
|
68
|
-
}), ce = /* @__PURE__ */ m(de, [["__scopeId", "data-v-
|
|
71
|
+
}), ce = /* @__PURE__ */ m(de, [["__scopeId", "data-v-23fa0281"]]), ue = { class: "mc-breadcrumb__container" }, pe = /* @__PURE__ */ $({
|
|
69
72
|
__name: "MBreadcrumb",
|
|
70
73
|
props: {
|
|
71
74
|
appearance: {},
|
|
@@ -76,11 +79,10 @@ const le = /* @__PURE__ */ $({
|
|
|
76
79
|
[`mc-breadcrumb--${e.appearance}`]: e.appearance && e.appearance != "standard"
|
|
77
80
|
})), t = (n) => n === (e.links?.length ?? 0) - 1;
|
|
78
81
|
return (n, s) => (o(), i("nav", {
|
|
79
|
-
class: g(["mc-breadcrumb", a.value])
|
|
80
|
-
"aria-label": "Breadcrumb"
|
|
82
|
+
class: g(["mc-breadcrumb", a.value])
|
|
81
83
|
}, [
|
|
82
84
|
d("ul", ue, [
|
|
83
|
-
(o(!0), i(
|
|
85
|
+
(o(!0), i(A, null, P(n.links, (l, p) => (o(), i("li", {
|
|
84
86
|
class: "mc-breadcrumb__item",
|
|
85
87
|
key: `breadcrumb-${p}`
|
|
86
88
|
}, [
|
|
@@ -95,7 +97,7 @@ const le = /* @__PURE__ */ $({
|
|
|
95
97
|
"aria-current": t(p) ? "page" : void 0
|
|
96
98
|
}, {
|
|
97
99
|
default: M(() => [
|
|
98
|
-
|
|
100
|
+
D(b(l.label), 1)
|
|
99
101
|
]),
|
|
100
102
|
_: 2
|
|
101
103
|
}, 1032, ["href", "router", "appearance", "class", "aria-current"])
|
|
@@ -103,7 +105,7 @@ const le = /* @__PURE__ */ $({
|
|
|
103
105
|
])
|
|
104
106
|
], 2));
|
|
105
107
|
}
|
|
106
|
-
}),
|
|
108
|
+
}), Ys = /* @__PURE__ */ m(pe, [["__scopeId", "data-v-0cf6e2a5"]]), me = { class: "mc-loader__spinner" }, _e = ["viewBox"], ve = ["r"], be = {
|
|
107
109
|
key: 0,
|
|
108
110
|
class: "mc-loader__text",
|
|
109
111
|
role: "status"
|
|
@@ -222,7 +224,7 @@ const le = /* @__PURE__ */ $({
|
|
|
222
224
|
style: H({ visibility: t.isLoading ? "hidden" : "visible" })
|
|
223
225
|
}, [
|
|
224
226
|
k(t.$slots, "default", {}, () => [
|
|
225
|
-
n[0] || (n[0] =
|
|
227
|
+
n[0] || (n[0] = D("Button Label", -1))
|
|
226
228
|
], !0)
|
|
227
229
|
], 4)),
|
|
228
230
|
t.$slots.icon && t.iconPosition == "right" && !t.isLoading ? (o(), i("span", ke, [
|
|
@@ -230,7 +232,38 @@ const le = /* @__PURE__ */ $({
|
|
|
230
232
|
])) : h("", !0)
|
|
231
233
|
], 10, he));
|
|
232
234
|
}
|
|
233
|
-
}), N = /* @__PURE__ */ m(we, [["__scopeId", "data-v-
|
|
235
|
+
}), N = /* @__PURE__ */ m(we, [["__scopeId", "data-v-b436925a"]]), Ve = { class: "mc-callout__icon" }, Ie = { class: "mc-callout__content" }, Be = { class: "mc-callout__title" }, Ce = { class: "mc-callout__message" }, Me = {
|
|
236
|
+
key: 0,
|
|
237
|
+
class: "mc-callout__footer"
|
|
238
|
+
}, ze = /* @__PURE__ */ $({
|
|
239
|
+
__name: "MCallout",
|
|
240
|
+
props: {
|
|
241
|
+
title: {},
|
|
242
|
+
description: {},
|
|
243
|
+
appearance: { default: "standard" }
|
|
244
|
+
},
|
|
245
|
+
setup(r) {
|
|
246
|
+
const e = r, a = v(() => ({
|
|
247
|
+
[`mc-callout--${e.appearance}`]: e.appearance && e.appearance != "standard"
|
|
248
|
+
}));
|
|
249
|
+
return (t, n) => (o(), i("section", {
|
|
250
|
+
class: g(["mc-callout", a.value]),
|
|
251
|
+
role: "status"
|
|
252
|
+
}, [
|
|
253
|
+
d("div", Ve, [
|
|
254
|
+
k(t.$slots, "icon", {}, void 0, !0)
|
|
255
|
+
]),
|
|
256
|
+
d("div", Ie, [
|
|
257
|
+
d("h2", Be, b(t.title), 1),
|
|
258
|
+
d("p", Ce, b(t.description), 1),
|
|
259
|
+
t.$slots.footer ? (o(), i("div", Me, [
|
|
260
|
+
k(t.$slots, "footer", {}, void 0, !0)
|
|
261
|
+
])) : h("", !0)
|
|
262
|
+
])
|
|
263
|
+
], 2));
|
|
264
|
+
}
|
|
265
|
+
}), Zs = /* @__PURE__ */ m(ze, [["__scopeId", "data-v-0f26ffb7"]]), Le = ["id", "name", "checked", "indeterminate", "disabled", "aria-invalid"], je = ["for"], Oe = /* @__PURE__ */ $({
|
|
266
|
+
inheritAttrs: !1,
|
|
234
267
|
__name: "MCheckbox",
|
|
235
268
|
props: {
|
|
236
269
|
id: {},
|
|
@@ -252,7 +285,7 @@ const le = /* @__PURE__ */ $({
|
|
|
252
285
|
return (l, p) => (o(), i("div", {
|
|
253
286
|
class: g(["mc-checkbox", n.value])
|
|
254
287
|
}, [
|
|
255
|
-
d("input",
|
|
288
|
+
d("input", V({
|
|
256
289
|
id: l.id,
|
|
257
290
|
type: "checkbox",
|
|
258
291
|
class: ["mc-checkbox__input", t.value],
|
|
@@ -263,15 +296,15 @@ const le = /* @__PURE__ */ $({
|
|
|
263
296
|
"aria-invalid": l.isInvalid
|
|
264
297
|
}, l.$attrs, {
|
|
265
298
|
onChange: p[0] || (p[0] = (u) => s("update:modelValue", u.target.checked))
|
|
266
|
-
}), null, 16,
|
|
299
|
+
}), null, 16, Le),
|
|
267
300
|
l.label ? (o(), i("label", {
|
|
268
301
|
key: 0,
|
|
269
302
|
for: l.id,
|
|
270
303
|
class: "mc-checkbox__label"
|
|
271
|
-
}, b(l.label), 9,
|
|
304
|
+
}, b(l.label), 9, je)) : h("", !0)
|
|
272
305
|
], 2));
|
|
273
306
|
}
|
|
274
|
-
}),
|
|
307
|
+
}), Te = /* @__PURE__ */ m(Oe, [["__scopeId", "data-v-829485d4"]]), Se = /* @__PURE__ */ $({
|
|
275
308
|
__name: "MCheckboxGroup",
|
|
276
309
|
props: {
|
|
277
310
|
name: {},
|
|
@@ -300,7 +333,7 @@ const le = /* @__PURE__ */ $({
|
|
|
300
333
|
return (u, _) => (o(), i("div", {
|
|
301
334
|
class: g(["mc-field__container", s.value])
|
|
302
335
|
}, [
|
|
303
|
-
(o(!0), i(
|
|
336
|
+
(o(!0), i(A, null, P(u.options, (c) => (o(), B(Te, {
|
|
304
337
|
id: c.id,
|
|
305
338
|
key: c.id,
|
|
306
339
|
label: c.label,
|
|
@@ -314,16 +347,16 @@ const le = /* @__PURE__ */ $({
|
|
|
314
347
|
}, null, 8, ["id", "label", "is-invalid", "name", "class", "model-value", "disabled", "indented", "onUpdate:modelValue"]))), 128))
|
|
315
348
|
], 2));
|
|
316
349
|
}
|
|
317
|
-
}), xs = /* @__PURE__ */ m(
|
|
350
|
+
}), xs = /* @__PURE__ */ m(Se, [["__scopeId", "data-v-ede2973f"]]), Ae = ["aria-valuenow"], Pe = {
|
|
318
351
|
key: 0,
|
|
319
352
|
class: "mc-circular-progressbar__percentage"
|
|
320
|
-
},
|
|
353
|
+
}, De = { class: "mc-circular-progressbar__value" }, qe = {
|
|
321
354
|
key: 1,
|
|
322
355
|
class: "mc-circular-progressbar__content"
|
|
323
|
-
},
|
|
356
|
+
}, Fe = { class: "mc-circular-progressbar__number" }, Ne = {
|
|
324
357
|
key: 0,
|
|
325
358
|
class: "mc-circular-progressbar__text"
|
|
326
|
-
},
|
|
359
|
+
}, Re = /* @__PURE__ */ $({
|
|
327
360
|
__name: "MCircularProgressbar",
|
|
328
361
|
props: {
|
|
329
362
|
size: {},
|
|
@@ -363,47 +396,17 @@ const le = /* @__PURE__ */ $({
|
|
|
363
396
|
r: "46"
|
|
364
397
|
})
|
|
365
398
|
], -1)),
|
|
366
|
-
t.type === "percentage" ? (o(), i("div",
|
|
367
|
-
d("p",
|
|
399
|
+
t.type === "percentage" ? (o(), i("div", Pe, [
|
|
400
|
+
d("p", De, b(t.value), 1),
|
|
368
401
|
n[0] || (n[0] = d("p", { class: "mc-circular-progressbar__unit" }, "%", -1))
|
|
369
402
|
])) : h("", !0),
|
|
370
|
-
t.type === "content" ? (o(), i("div",
|
|
371
|
-
d("p",
|
|
372
|
-
t.additionalInfo ? (o(), i("p",
|
|
403
|
+
t.type === "content" ? (o(), i("div", qe, [
|
|
404
|
+
d("p", Fe, b(t.contentValue), 1),
|
|
405
|
+
t.additionalInfo ? (o(), i("p", Ne, b(t.additionalInfo), 1)) : h("", !0)
|
|
373
406
|
])) : h("", !0)
|
|
374
|
-
], 14,
|
|
407
|
+
], 14, Ae));
|
|
375
408
|
}
|
|
376
|
-
}), eo = /* @__PURE__ */ m(
|
|
377
|
-
key: 0,
|
|
378
|
-
class: "mc-callout__footer"
|
|
379
|
-
}, Re = /* @__PURE__ */ $({
|
|
380
|
-
__name: "MCallout",
|
|
381
|
-
props: {
|
|
382
|
-
title: {},
|
|
383
|
-
description: {},
|
|
384
|
-
appearance: { default: "standard" }
|
|
385
|
-
},
|
|
386
|
-
setup(r) {
|
|
387
|
-
const e = r, a = v(() => ({
|
|
388
|
-
[`mc-callout--${e.appearance}`]: e.appearance && e.appearance != "standard"
|
|
389
|
-
}));
|
|
390
|
-
return (t, n) => (o(), i("section", {
|
|
391
|
-
class: g(["mc-callout", a.value]),
|
|
392
|
-
role: "status"
|
|
393
|
-
}, [
|
|
394
|
-
d("div", De, [
|
|
395
|
-
k(t.$slots, "icon", {}, void 0, !0)
|
|
396
|
-
]),
|
|
397
|
-
d("div", qe, [
|
|
398
|
-
d("h2", Fe, b(t.title), 1),
|
|
399
|
-
d("p", Ae, b(t.description), 1),
|
|
400
|
-
t.$slots.footer ? (o(), i("div", Ne, [
|
|
401
|
-
k(t.$slots, "footer", {}, void 0, !0)
|
|
402
|
-
])) : h("", !0)
|
|
403
|
-
])
|
|
404
|
-
], 2));
|
|
405
|
-
}
|
|
406
|
-
}), ao = /* @__PURE__ */ m(Re, [["__scopeId", "data-v-b8152dc3"]]), Ge = /* @__PURE__ */ $({
|
|
409
|
+
}), eo = /* @__PURE__ */ m(Re, [["__scopeId", "data-v-f37d31c9"]]), Ge = /* @__PURE__ */ $({
|
|
407
410
|
__name: "MContainer",
|
|
408
411
|
props: {
|
|
409
412
|
fluid: { type: Boolean }
|
|
@@ -418,7 +421,7 @@ const le = /* @__PURE__ */ $({
|
|
|
418
421
|
k(t.$slots, "default", {}, void 0, !0)
|
|
419
422
|
], 2));
|
|
420
423
|
}
|
|
421
|
-
}),
|
|
424
|
+
}), ao = /* @__PURE__ */ m(Ge, [["__scopeId", "data-v-4b0d69ac"]]), Ue = {
|
|
422
425
|
name: "CrossCircleFilled24",
|
|
423
426
|
props: {
|
|
424
427
|
/**
|
|
@@ -445,10 +448,11 @@ function Ke(r, e, a, t, n, s) {
|
|
|
445
448
|
}, null, -1)
|
|
446
449
|
])], 8, He);
|
|
447
450
|
}
|
|
448
|
-
const
|
|
451
|
+
const F = /* @__PURE__ */ m(Ue, [["render", Ke]]), Ee = ["id", "value", "name", "disabled", "aria-invalid", "readonly"], Qe = {
|
|
449
452
|
key: 0,
|
|
450
453
|
class: "mc-datepicker__controls-options mc-controls-options"
|
|
451
454
|
}, Je = { class: "mc-controls-options__label" }, We = /* @__PURE__ */ $({
|
|
455
|
+
inheritAttrs: !1,
|
|
452
456
|
__name: "MDatepicker",
|
|
453
457
|
props: {
|
|
454
458
|
id: {},
|
|
@@ -472,7 +476,7 @@ const A = /* @__PURE__ */ m(Ue, [["render", Ke]]), Ee = ["id", "value", "name",
|
|
|
472
476
|
return (p, u) => (o(), i("div", {
|
|
473
477
|
class: g(["mc-datepicker mc-text-input", t.value])
|
|
474
478
|
}, [
|
|
475
|
-
d("input",
|
|
479
|
+
d("input", V({
|
|
476
480
|
id: p.id,
|
|
477
481
|
class: "mc-datepicker__control mc-text-input__control",
|
|
478
482
|
value: n.value,
|
|
@@ -490,7 +494,7 @@ const A = /* @__PURE__ */ m(Ue, [["render", Ke]]), Ee = ["id", "value", "name",
|
|
|
490
494
|
class: "mc-controls-options__button",
|
|
491
495
|
onClick: s
|
|
492
496
|
}, [
|
|
493
|
-
w(
|
|
497
|
+
w(F, {
|
|
494
498
|
class: "mc-controls-options__icon",
|
|
495
499
|
"aria-hidden": "true"
|
|
496
500
|
}),
|
|
@@ -499,17 +503,17 @@ const A = /* @__PURE__ */ m(Ue, [["render", Ke]]), Ee = ["id", "value", "name",
|
|
|
499
503
|
])) : h("", !0)
|
|
500
504
|
], 2));
|
|
501
505
|
}
|
|
502
|
-
}),
|
|
506
|
+
}), to = /* @__PURE__ */ m(We, [["__scopeId", "data-v-e9a7bac9"]]), Xe = { class: "mc-divider" }, Ye = /* @__PURE__ */ $({
|
|
503
507
|
__name: "MDivider",
|
|
504
508
|
props: {
|
|
505
509
|
orientation: { default: "horizontal" },
|
|
506
|
-
|
|
510
|
+
appearance: { default: "primary" },
|
|
507
511
|
size: { default: "s" }
|
|
508
512
|
},
|
|
509
513
|
setup(r) {
|
|
510
514
|
const e = r, a = v(() => ({
|
|
511
515
|
[`mc-divider-${e.orientation}`]: e.orientation,
|
|
512
|
-
[`mc-divider-horizontal--${e.
|
|
516
|
+
[`mc-divider-horizontal--${e.appearance}`]: e.appearance && e.appearance != "primary",
|
|
513
517
|
[`mc-divider-horizontal--${e.size}`]: e.size && e.size != "s"
|
|
514
518
|
}));
|
|
515
519
|
return (t, n) => (o(), i("div", Xe, [
|
|
@@ -519,7 +523,7 @@ const A = /* @__PURE__ */ m(Ue, [["render", Ke]]), Ee = ["id", "value", "name",
|
|
|
519
523
|
k(t.$slots, "default", {}, void 0, !0)
|
|
520
524
|
]));
|
|
521
525
|
}
|
|
522
|
-
}), Ze = /* @__PURE__ */ m(Ye, [["__scopeId", "data-v-
|
|
526
|
+
}), Ze = /* @__PURE__ */ m(Ye, [["__scopeId", "data-v-49acd035"]]), xe = {
|
|
523
527
|
name: "ArrowBack24",
|
|
524
528
|
props: {
|
|
525
529
|
/**
|
|
@@ -600,7 +604,7 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
600
604
|
])
|
|
601
605
|
], 10, na));
|
|
602
606
|
}
|
|
603
|
-
}), S = /* @__PURE__ */ m(ra, [["__scopeId", "data-v-
|
|
607
|
+
}), S = /* @__PURE__ */ m(ra, [["__scopeId", "data-v-f3dda78d"]]), da = ["aria-labelledby"], ca = /* @__PURE__ */ $({
|
|
604
608
|
__name: "MOverlay",
|
|
605
609
|
props: {
|
|
606
610
|
isVisible: { type: Boolean },
|
|
@@ -619,7 +623,7 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
619
623
|
], 8, da)
|
|
620
624
|
], 2));
|
|
621
625
|
}
|
|
622
|
-
}), J = /* @__PURE__ */ m(ca, [["__scopeId", "data-v-
|
|
626
|
+
}), J = /* @__PURE__ */ m(ca, [["__scopeId", "data-v-c69efda4"]]), ua = ["aria-modal", "aria-hidden"], pa = {
|
|
623
627
|
class: "mc-drawer__dialog",
|
|
624
628
|
role: "document"
|
|
625
629
|
}, ma = { class: "mc-drawer__header" }, _a = {
|
|
@@ -635,6 +639,7 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
635
639
|
key: 0,
|
|
636
640
|
class: "mc-drawer__footer"
|
|
637
641
|
}, $a = /* @__PURE__ */ $({
|
|
642
|
+
inheritAttrs: !1,
|
|
638
643
|
__name: "MDrawer",
|
|
639
644
|
props: {
|
|
640
645
|
open: { type: Boolean },
|
|
@@ -665,7 +670,7 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
665
670
|
dialogLabel: "drawerTitle"
|
|
666
671
|
}, {
|
|
667
672
|
default: M(() => [
|
|
668
|
-
d("section",
|
|
673
|
+
d("section", V({
|
|
669
674
|
class: ["mc-drawer", t.value],
|
|
670
675
|
role: "dialog",
|
|
671
676
|
"aria-labelledby": "drawerTitle",
|
|
@@ -717,7 +722,7 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
717
722
|
_: 3
|
|
718
723
|
}, 8, ["is-visible"]));
|
|
719
724
|
}
|
|
720
|
-
}),
|
|
725
|
+
}), so = /* @__PURE__ */ m($a, [["__scopeId", "data-v-6e864dfc"]]), ga = { class: "mc-field" }, ya = ["for"], ka = {
|
|
721
726
|
key: 0,
|
|
722
727
|
class: "mc-field__requirement"
|
|
723
728
|
}, wa = ["id"], Va = { class: "mc-field__content" }, Ia = ["id"], Ba = /* @__PURE__ */ $({
|
|
@@ -743,7 +748,7 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
743
748
|
class: "mc-field__label",
|
|
744
749
|
for: t.id
|
|
745
750
|
}, [
|
|
746
|
-
|
|
751
|
+
D(b(t.label) + " ", 1),
|
|
747
752
|
t.requirementText ? (o(), i("span", ka, "(" + b(t.requirementText) + ")", 1)) : h("", !0)
|
|
748
753
|
], 8, ya),
|
|
749
754
|
t.helpId && t.helpText ? (o(), i("span", {
|
|
@@ -761,7 +766,7 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
761
766
|
}, b(t.message), 11, Ia)) : h("", !0)
|
|
762
767
|
]));
|
|
763
768
|
}
|
|
764
|
-
}),
|
|
769
|
+
}), oo = /* @__PURE__ */ m(Ba, [["__scopeId", "data-v-ead078c4"]]), Ca = { class: "mc-field--group" }, Ma = ["for"], za = {
|
|
765
770
|
key: 0,
|
|
766
771
|
class: "mc-field__requirement"
|
|
767
772
|
}, La = {
|
|
@@ -788,7 +793,7 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
788
793
|
class: "mc-field__legend",
|
|
789
794
|
for: t.id
|
|
790
795
|
}, [
|
|
791
|
-
|
|
796
|
+
D(b(t.legend) + " ", 1),
|
|
792
797
|
t.requirementText ? (o(), i("span", za, "(" + b(t.requirementText) + ")", 1)) : h("", !0)
|
|
793
798
|
], 8, Ma),
|
|
794
799
|
t.helpText ? (o(), i("span", La, b(t.helpText), 1)) : h("", !0),
|
|
@@ -801,7 +806,7 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
801
806
|
}, b(t.message), 3)) : h("", !0)
|
|
802
807
|
]));
|
|
803
808
|
}
|
|
804
|
-
}),
|
|
809
|
+
}), lo = /* @__PURE__ */ m(Oa, [["__scopeId", "data-v-fc0c08dc"]]), Ta = { class: "mc-flag__label" }, Sa = /* @__PURE__ */ $({
|
|
805
810
|
__name: "MFlag",
|
|
806
811
|
props: {
|
|
807
812
|
label: {},
|
|
@@ -817,7 +822,57 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
817
822
|
d("span", Ta, b(t.label), 1)
|
|
818
823
|
], 2));
|
|
819
824
|
}
|
|
820
|
-
}),
|
|
825
|
+
}), no = /* @__PURE__ */ m(Sa, [["__scopeId", "data-v-dae5e572"]]), Aa = ["aria-valuenow"], Pa = /* @__PURE__ */ $({
|
|
826
|
+
inheritAttrs: !1,
|
|
827
|
+
__name: "MLinearProgressbarBuffer",
|
|
828
|
+
props: {
|
|
829
|
+
size: {},
|
|
830
|
+
value: { default: 0 }
|
|
831
|
+
},
|
|
832
|
+
setup(r) {
|
|
833
|
+
const e = r, a = v(() => ({
|
|
834
|
+
[`mc-linear-progressbar-buffer--${e.size}`]: e.size && e.size != "m"
|
|
835
|
+
}));
|
|
836
|
+
return (t, n) => (o(), i("div", {
|
|
837
|
+
class: g(["mc-linear-progressbar-buffer", a.value])
|
|
838
|
+
}, [
|
|
839
|
+
d("div", V({
|
|
840
|
+
class: "mc-linear-progressbar-buffer__indicator",
|
|
841
|
+
role: "progressbar",
|
|
842
|
+
style: `--progress-value: ${t.value};`,
|
|
843
|
+
"aria-valuenow": t.value,
|
|
844
|
+
"aria-valuemin": 0,
|
|
845
|
+
"aria-valuemax": 100
|
|
846
|
+
}, t.$attrs), null, 16, Aa)
|
|
847
|
+
], 2));
|
|
848
|
+
}
|
|
849
|
+
}), Da = /* @__PURE__ */ m(Pa, [["__scopeId", "data-v-5306d571"]]), qa = { class: "mc-linear-progressbar-percentage" }, Fa = ["aria-valuenow"], Na = { class: "mc-linear-progressbar-percentage__label" }, Ra = { class: "mc-linear-progressbar-percentage__value" }, Ga = /* @__PURE__ */ $({
|
|
850
|
+
inheritAttrs: !1,
|
|
851
|
+
__name: "MLinearProgressbarPercentage",
|
|
852
|
+
props: {
|
|
853
|
+
value: { default: 0 }
|
|
854
|
+
},
|
|
855
|
+
setup(r) {
|
|
856
|
+
return (e, a) => (o(), i("div", qa, [
|
|
857
|
+
d("div", V({
|
|
858
|
+
class: "mc-linear-progressbar-percentage__indicator",
|
|
859
|
+
role: "progressbar",
|
|
860
|
+
style: `--progress-value: ${e.value};`,
|
|
861
|
+
"aria-valuenow": e.value,
|
|
862
|
+
"aria-valuemin": 0,
|
|
863
|
+
"aria-valuemax": 100
|
|
864
|
+
}, e.$attrs), [
|
|
865
|
+
d("div", Na, [
|
|
866
|
+
d("p", Ra, [
|
|
867
|
+
D(b(e.value), 1),
|
|
868
|
+
a[0] || (a[0] = d("span", { class: "mc-linear-progressbar-percentage__unit" }, "%", -1))
|
|
869
|
+
])
|
|
870
|
+
])
|
|
871
|
+
], 16, Fa)
|
|
872
|
+
]));
|
|
873
|
+
}
|
|
874
|
+
}), io = /* @__PURE__ */ m(Ga, [["__scopeId", "data-v-01197cd0"]]), Ua = ["aria-label"], Ha = /* @__PURE__ */ $({
|
|
875
|
+
inheritAttrs: !1,
|
|
821
876
|
__name: "MLoadingOverlay",
|
|
822
877
|
props: {
|
|
823
878
|
isVisible: { type: Boolean },
|
|
@@ -827,7 +882,7 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
827
882
|
return (e, a) => (o(), i("div", {
|
|
828
883
|
class: g(["mc-loading-loader", { "is-visible": e.isVisible }])
|
|
829
884
|
}, [
|
|
830
|
-
d("div",
|
|
885
|
+
d("div", V({
|
|
831
886
|
role: "dialog",
|
|
832
887
|
tabindex: "-1",
|
|
833
888
|
"aria-label": e.text
|
|
@@ -837,22 +892,23 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
837
892
|
appearance: "inverse",
|
|
838
893
|
text: e.text
|
|
839
894
|
}, null, 8, ["text"])
|
|
840
|
-
], 16,
|
|
895
|
+
], 16, Ua)
|
|
841
896
|
], 2));
|
|
842
897
|
}
|
|
843
|
-
}), ro = /* @__PURE__ */ m(
|
|
898
|
+
}), ro = /* @__PURE__ */ m(Ha, [["__scopeId", "data-v-d5adc90d"]]), Ka = ["aria-modal", "aria-hidden"], Ea = {
|
|
844
899
|
class: "mc-modal__dialog",
|
|
845
900
|
role: "document"
|
|
846
|
-
},
|
|
901
|
+
}, Qa = { class: "mc-modal__header" }, Ja = {
|
|
847
902
|
key: 0,
|
|
848
903
|
class: "mc-modal__icon"
|
|
849
|
-
},
|
|
904
|
+
}, Wa = {
|
|
850
905
|
class: "mc-modal__title",
|
|
851
906
|
id: "modalTitle"
|
|
852
|
-
},
|
|
907
|
+
}, Xa = { class: "mc-modal__body" }, Ya = {
|
|
853
908
|
key: 0,
|
|
854
909
|
class: "mc-modal__footer"
|
|
855
|
-
},
|
|
910
|
+
}, Za = { class: "mc-modal__link" }, xa = /* @__PURE__ */ $({
|
|
911
|
+
inheritAttrs: !1,
|
|
856
912
|
__name: "MModal",
|
|
857
913
|
props: {
|
|
858
914
|
open: { type: Boolean },
|
|
@@ -879,7 +935,7 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
879
935
|
dialogLabel: "modalTitle"
|
|
880
936
|
}, {
|
|
881
937
|
default: M(() => [
|
|
882
|
-
d("section",
|
|
938
|
+
d("section", V({
|
|
883
939
|
class: ["mc-modal", t.value],
|
|
884
940
|
role: "dialog",
|
|
885
941
|
"aria-labelledby": "modalTitle",
|
|
@@ -889,12 +945,12 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
889
945
|
}, l.$attrs, {
|
|
890
946
|
onKeydown: R(n, ["esc"])
|
|
891
947
|
}), [
|
|
892
|
-
d("div",
|
|
893
|
-
d("header",
|
|
894
|
-
l.$slots.icon ? (o(), i("span",
|
|
948
|
+
d("div", Ea, [
|
|
949
|
+
d("header", Qa, [
|
|
950
|
+
l.$slots.icon ? (o(), i("span", Ja, [
|
|
895
951
|
k(l.$slots, "icon", {}, void 0, !0)
|
|
896
952
|
])) : h("", !0),
|
|
897
|
-
d("h2",
|
|
953
|
+
d("h2", Wa, b(l.title), 1),
|
|
898
954
|
l.closable ? (o(), B(S, {
|
|
899
955
|
key: 1,
|
|
900
956
|
class: "mc-modal__close",
|
|
@@ -908,23 +964,23 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
908
964
|
_: 1
|
|
909
965
|
})) : h("", !0)
|
|
910
966
|
]),
|
|
911
|
-
d("main",
|
|
967
|
+
d("main", Xa, [
|
|
912
968
|
d("p", null, b(l.description), 1),
|
|
913
969
|
k(l.$slots, "default", {}, void 0, !0)
|
|
914
970
|
]),
|
|
915
|
-
l.$slots.footer ? (o(), i("footer",
|
|
916
|
-
d("span",
|
|
971
|
+
l.$slots.footer ? (o(), i("footer", Ya, [
|
|
972
|
+
d("span", Za, [
|
|
917
973
|
k(l.$slots, "link", {}, void 0, !0)
|
|
918
974
|
]),
|
|
919
975
|
k(l.$slots, "footer", {}, void 0, !0)
|
|
920
976
|
])) : h("", !0)
|
|
921
977
|
])
|
|
922
|
-
], 16,
|
|
978
|
+
], 16, Ka)
|
|
923
979
|
]),
|
|
924
980
|
_: 3
|
|
925
981
|
}, 8, ["is-visible"]));
|
|
926
982
|
}
|
|
927
|
-
}), co = /* @__PURE__ */ m(
|
|
983
|
+
}), co = /* @__PURE__ */ m(xa, [["__scopeId", "data-v-41ee6da9"]]), et = /* @__PURE__ */ $({
|
|
928
984
|
__name: "MNumberBadge",
|
|
929
985
|
props: {
|
|
930
986
|
label: {},
|
|
@@ -940,11 +996,12 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
940
996
|
class: g(["mc-number-badge", a.value])
|
|
941
997
|
}, b(t.label), 3));
|
|
942
998
|
}
|
|
943
|
-
}),
|
|
999
|
+
}), at = /* @__PURE__ */ m(et, [["__scopeId", "data-v-7b35d96e"]]), tt = ["id", "name", "value", "disabled"], st = {
|
|
944
1000
|
key: 0,
|
|
945
1001
|
value: "",
|
|
946
1002
|
disabled: ""
|
|
947
|
-
},
|
|
1003
|
+
}, ot = ["value", "disabled"], lt = /* @__PURE__ */ $({
|
|
1004
|
+
inheritAttrs: !1,
|
|
948
1005
|
__name: "MSelect",
|
|
949
1006
|
props: {
|
|
950
1007
|
id: {},
|
|
@@ -964,7 +1021,7 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
964
1021
|
"mc-select--readonly": a.readonly,
|
|
965
1022
|
"is-invalid": a.isInvalid
|
|
966
1023
|
})), n = e;
|
|
967
|
-
return (s, l) => (o(), i("select",
|
|
1024
|
+
return (s, l) => (o(), i("select", V({
|
|
968
1025
|
id: s.id,
|
|
969
1026
|
class: ["mc-select", t.value],
|
|
970
1027
|
name: s.name,
|
|
@@ -973,16 +1030,16 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
973
1030
|
}, s.$attrs, {
|
|
974
1031
|
onChange: l[0] || (l[0] = (p) => n("update:modelValue", p.target.value))
|
|
975
1032
|
}), [
|
|
976
|
-
s.placeholder ? (o(), i("option",
|
|
977
|
-
(o(!0), i(
|
|
1033
|
+
s.placeholder ? (o(), i("option", st, " -- " + b(s.placeholder) + " -- ", 1)) : h("", !0),
|
|
1034
|
+
(o(!0), i(A, null, P(s.options, (p, u) => (o(), i("option", V({
|
|
978
1035
|
key: u,
|
|
979
1036
|
value: p.value
|
|
980
1037
|
}, { ref_for: !0 }, p.attributes, {
|
|
981
1038
|
disabled: p.disabled
|
|
982
|
-
}), b(p.text), 17,
|
|
983
|
-
], 16,
|
|
1039
|
+
}), b(p.text), 17, ot))), 128))
|
|
1040
|
+
], 16, tt));
|
|
984
1041
|
}
|
|
985
|
-
}),
|
|
1042
|
+
}), nt = /* @__PURE__ */ m(lt, [["__scopeId", "data-v-ded98964"]]), it = {
|
|
986
1043
|
name: "ChevronLeft24",
|
|
987
1044
|
props: {
|
|
988
1045
|
/**
|
|
@@ -993,8 +1050,8 @@ const Q = /* @__PURE__ */ m(sa, [["render", la]]), na = ["disabled", "type"], ia
|
|
|
993
1050
|
default: "currentColor"
|
|
994
1051
|
}
|
|
995
1052
|
}
|
|
996
|
-
},
|
|
997
|
-
function
|
|
1053
|
+
}, rt = ["fill"];
|
|
1054
|
+
function dt(r, e, a, t, n, s) {
|
|
998
1055
|
return o(), i("svg", {
|
|
999
1056
|
"aria-hidden": "true",
|
|
1000
1057
|
fill: a.color,
|
|
@@ -1007,9 +1064,9 @@ function at(r, e, a, t, n, s) {
|
|
|
1007
1064
|
"fill-rule": "evenodd",
|
|
1008
1065
|
d: "M14.207 6.293a1 1 0 0 1 0 1.414L9.914 12l4.293 4.293a1 1 0 0 1-1.414 1.414l-5-5a1 1 0 0 1 0-1.414l5-5a1 1 0 0 1 1.414 0"
|
|
1009
1066
|
}, null, -1)
|
|
1010
|
-
])], 8,
|
|
1067
|
+
])], 8, rt);
|
|
1011
1068
|
}
|
|
1012
|
-
const G = /* @__PURE__ */ m(
|
|
1069
|
+
const G = /* @__PURE__ */ m(it, [["render", dt]]), ct = {
|
|
1013
1070
|
name: "ChevronRight24",
|
|
1014
1071
|
props: {
|
|
1015
1072
|
/**
|
|
@@ -1020,8 +1077,8 @@ const G = /* @__PURE__ */ m(xa, [["render", at]]), tt = {
|
|
|
1020
1077
|
default: "currentColor"
|
|
1021
1078
|
}
|
|
1022
1079
|
}
|
|
1023
|
-
},
|
|
1024
|
-
function
|
|
1080
|
+
}, ut = ["fill"];
|
|
1081
|
+
function pt(r, e, a, t, n, s) {
|
|
1025
1082
|
return o(), i("svg", {
|
|
1026
1083
|
"aria-hidden": "true",
|
|
1027
1084
|
fill: a.color,
|
|
@@ -1034,20 +1091,19 @@ function ot(r, e, a, t, n, s) {
|
|
|
1034
1091
|
"fill-rule": "evenodd",
|
|
1035
1092
|
d: "M9.793 6.293a1 1 0 0 1 1.414 0l5 5a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414-1.414L14.086 12 9.793 7.707a1 1 0 0 1 0-1.414"
|
|
1036
1093
|
}, null, -1)
|
|
1037
|
-
])], 8,
|
|
1094
|
+
])], 8, ut);
|
|
1038
1095
|
}
|
|
1039
|
-
const U = /* @__PURE__ */ m(
|
|
1096
|
+
const U = /* @__PURE__ */ m(ct, [["render", pt]]), mt = {
|
|
1040
1097
|
class: "mc-pagination",
|
|
1041
|
-
role: "navigation"
|
|
1042
|
-
|
|
1043
|
-
}, nt = {
|
|
1098
|
+
role: "navigation"
|
|
1099
|
+
}, _t = {
|
|
1044
1100
|
key: 2,
|
|
1045
1101
|
class: "mc-pagination__field"
|
|
1046
|
-
},
|
|
1102
|
+
}, vt = {
|
|
1047
1103
|
key: 3,
|
|
1048
1104
|
class: "mc-pagination__label",
|
|
1049
1105
|
"aria-current": "page"
|
|
1050
|
-
},
|
|
1106
|
+
}, bt = /* @__PURE__ */ $({
|
|
1051
1107
|
__name: "MPagination",
|
|
1052
1108
|
props: {
|
|
1053
1109
|
id: {},
|
|
@@ -1077,7 +1133,7 @@ const U = /* @__PURE__ */ m(tt, [["render", ot]]), lt = {
|
|
|
1077
1133
|
);
|
|
1078
1134
|
c < a.options.length - 1 && (n.value = a.options[c + 1].value, t("update:modelValue", a.options[c + 1].value));
|
|
1079
1135
|
};
|
|
1080
|
-
return (c, f) => (o(), i("nav",
|
|
1136
|
+
return (c, f) => (o(), i("nav", mt, [
|
|
1081
1137
|
c.compact ? (o(), B(S, {
|
|
1082
1138
|
key: 1,
|
|
1083
1139
|
outlined: "",
|
|
@@ -1101,8 +1157,8 @@ const U = /* @__PURE__ */ m(tt, [["render", ot]]), lt = {
|
|
|
1101
1157
|
]),
|
|
1102
1158
|
_: 1
|
|
1103
1159
|
}, 8, ["disabled"])),
|
|
1104
|
-
c.compact ? h("", !0) : (o(), i("div",
|
|
1105
|
-
w(
|
|
1160
|
+
c.compact ? h("", !0) : (o(), i("div", _t, [
|
|
1161
|
+
w(nt, {
|
|
1106
1162
|
class: "mc-pagination__select",
|
|
1107
1163
|
id: c.id,
|
|
1108
1164
|
modelValue: n.value,
|
|
@@ -1114,7 +1170,7 @@ const U = /* @__PURE__ */ m(tt, [["render", ot]]), lt = {
|
|
|
1114
1170
|
"aria-label": c.selectLabel
|
|
1115
1171
|
}, null, 8, ["id", "modelValue", "options", "aria-label"])
|
|
1116
1172
|
])),
|
|
1117
|
-
c.compact ? (o(), i("span",
|
|
1173
|
+
c.compact ? (o(), i("span", vt, b(c.options.find((C) => C.value === n.value)?.text), 1)) : h("", !0),
|
|
1118
1174
|
c.compact ? (o(), B(S, {
|
|
1119
1175
|
key: 5,
|
|
1120
1176
|
outlined: "",
|
|
@@ -1140,10 +1196,11 @@ const U = /* @__PURE__ */ m(tt, [["render", ot]]), lt = {
|
|
|
1140
1196
|
}, 8, ["disabled"]))
|
|
1141
1197
|
]));
|
|
1142
1198
|
}
|
|
1143
|
-
}), uo = /* @__PURE__ */ m(
|
|
1199
|
+
}), uo = /* @__PURE__ */ m(bt, [["__scopeId", "data-v-4cb89be1"]]), ft = ["id", "type", "name", "placeholder", "disabled", "aria-invalid", "readonly"], ht = {
|
|
1144
1200
|
key: 0,
|
|
1145
1201
|
class: "mc-controls-options"
|
|
1146
|
-
},
|
|
1202
|
+
}, $t = { class: "mc-controls-options__label" }, gt = /* @__PURE__ */ $({
|
|
1203
|
+
inheritAttrs: !1,
|
|
1147
1204
|
__name: "MPasswordInput",
|
|
1148
1205
|
props: {
|
|
1149
1206
|
id: {},
|
|
@@ -1169,7 +1226,7 @@ const U = /* @__PURE__ */ m(tt, [["render", ot]]), lt = {
|
|
|
1169
1226
|
return (f, C) => (o(), i("div", {
|
|
1170
1227
|
class: g(["mc-password-input mc-text-input", t.value])
|
|
1171
1228
|
}, [
|
|
1172
|
-
K(d("input",
|
|
1229
|
+
K(d("input", V({
|
|
1173
1230
|
class: "mc-password-input__control mc-text-input__control",
|
|
1174
1231
|
"onUpdate:modelValue": C[0] || (C[0] = (y) => n.value = y),
|
|
1175
1232
|
id: f.id,
|
|
@@ -1181,19 +1238,19 @@ const U = /* @__PURE__ */ m(tt, [["render", ot]]), lt = {
|
|
|
1181
1238
|
readonly: f.readonly
|
|
1182
1239
|
}, f.$attrs, {
|
|
1183
1240
|
onInput: C[1] || (C[1] = (y) => c("update:modelValue", y.target.value))
|
|
1184
|
-
}), null, 16,
|
|
1241
|
+
}), null, 16, ft), [
|
|
1185
1242
|
[ee, n.value]
|
|
1186
1243
|
]),
|
|
1187
|
-
f.isClearable && n.value ? (o(), i("div",
|
|
1244
|
+
f.isClearable && n.value ? (o(), i("div", ht, [
|
|
1188
1245
|
d("button", {
|
|
1189
1246
|
class: "mc-controls-options__button",
|
|
1190
1247
|
onClick: l
|
|
1191
1248
|
}, [
|
|
1192
|
-
w(
|
|
1249
|
+
w(F, {
|
|
1193
1250
|
class: "mc-controls-options__icon",
|
|
1194
1251
|
"aria-hidden": "true"
|
|
1195
1252
|
}),
|
|
1196
|
-
d("span",
|
|
1253
|
+
d("span", $t, b(f.clearLabel), 1)
|
|
1197
1254
|
])
|
|
1198
1255
|
])) : h("", !0),
|
|
1199
1256
|
w(N, {
|
|
@@ -1206,13 +1263,14 @@ const U = /* @__PURE__ */ m(tt, [["render", ot]]), lt = {
|
|
|
1206
1263
|
ghost: ""
|
|
1207
1264
|
}, {
|
|
1208
1265
|
default: M(() => [
|
|
1209
|
-
|
|
1266
|
+
D(b(s.value ? f.buttonLabel.hide : f.buttonLabel.show), 1)
|
|
1210
1267
|
]),
|
|
1211
1268
|
_: 1
|
|
1212
1269
|
}, 8, ["aria-checked", "disabled"])
|
|
1213
1270
|
], 2));
|
|
1214
1271
|
}
|
|
1215
|
-
}), po = /* @__PURE__ */ m(
|
|
1272
|
+
}), po = /* @__PURE__ */ m(gt, [["__scopeId", "data-v-47bbb809"]]), yt = ["id", "name", "disabled", "readonly", "value", "onInput", "onKeydown"], kt = /* @__PURE__ */ $({
|
|
1273
|
+
inheritAttrs: !1,
|
|
1216
1274
|
__name: "MPincode",
|
|
1217
1275
|
props: {
|
|
1218
1276
|
id: {},
|
|
@@ -1227,36 +1285,36 @@ const U = /* @__PURE__ */ m(tt, [["render", ot]]), lt = {
|
|
|
1227
1285
|
setup(r, { emit: e }) {
|
|
1228
1286
|
const a = r, t = v(() => ({
|
|
1229
1287
|
"is-invalid": a.isInvalid
|
|
1230
|
-
})), n = e, s = z(Array(a.length).fill("")), l = z([]), p = (y,
|
|
1231
|
-
l.value[
|
|
1288
|
+
})), n = e, s = z(Array(a.length).fill("")), l = z([]), p = (y, I) => {
|
|
1289
|
+
l.value[I] = y;
|
|
1232
1290
|
};
|
|
1233
1291
|
T(
|
|
1234
1292
|
() => a.modelValue,
|
|
1235
1293
|
(y) => {
|
|
1236
|
-
const
|
|
1237
|
-
s.value = Array.from({ length: a.length }, (O, L) =>
|
|
1294
|
+
const I = String(y ?? "");
|
|
1295
|
+
s.value = Array.from({ length: a.length }, (O, L) => I[L] ?? "");
|
|
1238
1296
|
},
|
|
1239
1297
|
{ immediate: !0 }
|
|
1240
1298
|
);
|
|
1241
1299
|
const u = (y) => {
|
|
1242
1300
|
ae(() => l.value[y]?.focus());
|
|
1243
|
-
}, _ = (y,
|
|
1301
|
+
}, _ = (y, I) => {
|
|
1244
1302
|
const O = y.target.value.replace(/\D/g, "");
|
|
1245
|
-
O ? (s.value[
|
|
1246
|
-
}, c = (y,
|
|
1247
|
-
y.key === "ArrowLeft" &&
|
|
1248
|
-
}, f = (y,
|
|
1249
|
-
s.value[
|
|
1303
|
+
O ? (s.value[I] = O[0], n("update:modelValue", s.value.join("")), I + 1 < a.length && u(I + 1)) : (s.value[I] = "", n("update:modelValue", s.value.join("")));
|
|
1304
|
+
}, c = (y, I) => {
|
|
1305
|
+
y.key === "ArrowLeft" && I > 0 ? u(I - 1) : y.key === "ArrowRight" && I < a.length - 1 ? u(I + 1) : y.key === "Backspace" && f(y, I);
|
|
1306
|
+
}, f = (y, I) => {
|
|
1307
|
+
s.value[I] === "" && I > 0 && (s.value[I - 1] = "", n("update:modelValue", s.value.join("")), u(I - 1));
|
|
1250
1308
|
}, C = (y) => {
|
|
1251
1309
|
y.preventDefault();
|
|
1252
1310
|
const O = (y.clipboardData?.getData("text") ?? "").replace(/\D/g, "").slice(0, a.length).split("");
|
|
1253
1311
|
s.value = Array.from({ length: a.length }, (L, j) => O[j] ?? ""), n("update:modelValue", s.value.join("")), u(Math.min(O.length, a.length - 1));
|
|
1254
1312
|
};
|
|
1255
|
-
return (y,
|
|
1313
|
+
return (y, I) => (o(), i("div", {
|
|
1256
1314
|
class: g(["mc-pincode-input", t.value]),
|
|
1257
1315
|
onPaste: C
|
|
1258
1316
|
}, [
|
|
1259
|
-
(o(!0), i(
|
|
1317
|
+
(o(!0), i(A, null, P(s.value, (O, L) => (o(), i("input", V({
|
|
1260
1318
|
key: L,
|
|
1261
1319
|
id: `pincodeItem${L}`,
|
|
1262
1320
|
ref_for: !0,
|
|
@@ -1277,57 +1335,10 @@ const U = /* @__PURE__ */ m(tt, [["render", ot]]), lt = {
|
|
|
1277
1335
|
R((j) => f(j, L), ["backspace"]),
|
|
1278
1336
|
(j) => c(j, L)
|
|
1279
1337
|
]
|
|
1280
|
-
}), null, 16,
|
|
1338
|
+
}), null, 16, yt))), 128))
|
|
1281
1339
|
], 34));
|
|
1282
1340
|
}
|
|
1283
|
-
}), mo = /* @__PURE__ */ m(
|
|
1284
|
-
__name: "MLinearProgressbarBuffer",
|
|
1285
|
-
props: {
|
|
1286
|
-
size: {},
|
|
1287
|
-
value: { default: 0 }
|
|
1288
|
-
},
|
|
1289
|
-
setup(r) {
|
|
1290
|
-
const e = r, a = v(() => ({
|
|
1291
|
-
[`mc-linear-progressbar-buffer--${e.size}`]: e.size && e.size != "m"
|
|
1292
|
-
}));
|
|
1293
|
-
return (t, n) => (o(), i("div", {
|
|
1294
|
-
class: g(["mc-linear-progressbar-buffer", a.value])
|
|
1295
|
-
}, [
|
|
1296
|
-
d("div", I({
|
|
1297
|
-
class: "mc-linear-progressbar-buffer__indicator",
|
|
1298
|
-
role: "progressbar",
|
|
1299
|
-
style: `--progress-value: ${t.value};`,
|
|
1300
|
-
"aria-valuenow": t.value,
|
|
1301
|
-
"aria-valuemin": 0,
|
|
1302
|
-
"aria-valuemax": 100
|
|
1303
|
-
}, t.$attrs), null, 16, vt)
|
|
1304
|
-
], 2));
|
|
1305
|
-
}
|
|
1306
|
-
}), ft = /* @__PURE__ */ m(bt, [["__scopeId", "data-v-aa64aedc"]]), ht = { class: "mc-linear-progressbar-percentage" }, $t = ["aria-valuenow"], gt = { class: "mc-linear-progressbar-percentage__label" }, yt = { class: "mc-linear-progressbar-percentage__value" }, kt = /* @__PURE__ */ $({
|
|
1307
|
-
__name: "MLinearProgressbarPercentage",
|
|
1308
|
-
props: {
|
|
1309
|
-
value: { default: 0 }
|
|
1310
|
-
},
|
|
1311
|
-
setup(r) {
|
|
1312
|
-
return (e, a) => (o(), i("div", ht, [
|
|
1313
|
-
d("div", I({
|
|
1314
|
-
class: "mc-linear-progressbar-percentage__indicator",
|
|
1315
|
-
role: "progressbar",
|
|
1316
|
-
style: `--progress-value: ${e.value};`,
|
|
1317
|
-
"aria-valuenow": e.value,
|
|
1318
|
-
"aria-valuemin": 0,
|
|
1319
|
-
"aria-valuemax": 100
|
|
1320
|
-
}, e.$attrs), [
|
|
1321
|
-
d("div", gt, [
|
|
1322
|
-
d("p", yt, [
|
|
1323
|
-
q(b(e.value), 1),
|
|
1324
|
-
a[0] || (a[0] = d("span", { class: "mc-linear-progressbar-percentage__unit" }, "%", -1))
|
|
1325
|
-
])
|
|
1326
|
-
])
|
|
1327
|
-
], 16, $t)
|
|
1328
|
-
]));
|
|
1329
|
-
}
|
|
1330
|
-
}), _o = /* @__PURE__ */ m(kt, [["__scopeId", "data-v-14fbed65"]]), wt = {
|
|
1341
|
+
}), mo = /* @__PURE__ */ m(kt, [["__scopeId", "data-v-d2594b91"]]), wt = {
|
|
1331
1342
|
name: "More24",
|
|
1332
1343
|
props: {
|
|
1333
1344
|
/**
|
|
@@ -1381,7 +1392,8 @@ function zt(r, e, a, t, n, s) {
|
|
|
1381
1392
|
}, null, -1)
|
|
1382
1393
|
])], 8, Mt);
|
|
1383
1394
|
}
|
|
1384
|
-
const Lt = /* @__PURE__ */ m(Ct, [["render", zt]]), jt = ["id", "name", "disabled", "min", "max", "step", "readonly", "aria-invalid", "aria-valuemin", "aria-valuemax", "aria-valuenow"], Ot = ["aria-controls", "disabled"], Tt = { class: "mc-quantity-selector__icon" }, St = { class: "mc-quantity-selector__label" },
|
|
1395
|
+
const Lt = /* @__PURE__ */ m(Ct, [["render", zt]]), jt = ["id", "name", "disabled", "min", "max", "step", "readonly", "aria-invalid", "aria-valuemin", "aria-valuemax", "aria-valuenow"], Ot = ["aria-controls", "disabled"], Tt = { class: "mc-quantity-selector__icon" }, St = { class: "mc-quantity-selector__label" }, At = ["aria-controls", "disabled"], Pt = { class: "mc-quantity-selector__icon" }, Dt = { class: "mc-quantity-selector__label" }, qt = /* @__PURE__ */ $({
|
|
1396
|
+
inheritAttrs: !1,
|
|
1385
1397
|
__name: "MQuantitySelector",
|
|
1386
1398
|
props: {
|
|
1387
1399
|
id: {},
|
|
@@ -1416,7 +1428,7 @@ const Lt = /* @__PURE__ */ m(Ct, [["render", zt]]), jt = ["id", "name", "disable
|
|
|
1416
1428
|
return (_, c) => (o(), i("div", {
|
|
1417
1429
|
class: g(["mc-quantity-selector", n.value])
|
|
1418
1430
|
}, [
|
|
1419
|
-
K(d("input",
|
|
1431
|
+
K(d("input", V({
|
|
1420
1432
|
id: _.id,
|
|
1421
1433
|
"onUpdate:modelValue": c[0] || (c[0] = (f) => t.value = f),
|
|
1422
1434
|
class: "mc-quantity-selector__control",
|
|
@@ -1459,14 +1471,15 @@ const Lt = /* @__PURE__ */ m(Ct, [["render", zt]]), jt = ["id", "name", "disable
|
|
|
1459
1471
|
disabled: _.disabled || t.value === _.min,
|
|
1460
1472
|
onClick: l
|
|
1461
1473
|
}, [
|
|
1462
|
-
d("span",
|
|
1474
|
+
d("span", Pt, [
|
|
1463
1475
|
w(Lt)
|
|
1464
1476
|
]),
|
|
1465
|
-
d("span",
|
|
1466
|
-
], 8,
|
|
1477
|
+
d("span", Dt, b(_.decrementLabel), 1)
|
|
1478
|
+
], 8, At))
|
|
1467
1479
|
], 2));
|
|
1468
1480
|
}
|
|
1469
|
-
}),
|
|
1481
|
+
}), _o = /* @__PURE__ */ m(qt, [["__scopeId", "data-v-c0a83c82"]]), Ft = { class: "mc-radio" }, Nt = ["id", "name", "checked", "disabled", "aria-invalid"], Rt = ["for"], Gt = /* @__PURE__ */ $({
|
|
1482
|
+
inheritAttrs: !1,
|
|
1470
1483
|
__name: "MRadio",
|
|
1471
1484
|
props: {
|
|
1472
1485
|
id: {},
|
|
@@ -1481,8 +1494,8 @@ const Lt = /* @__PURE__ */ m(Ct, [["render", zt]]), jt = ["id", "name", "disable
|
|
|
1481
1494
|
const a = r, t = v(() => ({
|
|
1482
1495
|
"is-invalid": a.isInvalid
|
|
1483
1496
|
})), n = e;
|
|
1484
|
-
return (s, l) => (o(), i("div",
|
|
1485
|
-
d("input",
|
|
1497
|
+
return (s, l) => (o(), i("div", Ft, [
|
|
1498
|
+
d("input", V({
|
|
1486
1499
|
id: s.id,
|
|
1487
1500
|
type: "radio",
|
|
1488
1501
|
class: ["mc-radio__input", t.value],
|
|
@@ -1500,7 +1513,7 @@ const Lt = /* @__PURE__ */ m(Ct, [["render", zt]]), jt = ["id", "name", "disable
|
|
|
1500
1513
|
}, b(s.label), 9, Rt)) : h("", !0)
|
|
1501
1514
|
]));
|
|
1502
1515
|
}
|
|
1503
|
-
}), Ut = /* @__PURE__ */ m(Gt, [["__scopeId", "data-v-
|
|
1516
|
+
}), Ut = /* @__PURE__ */ m(Gt, [["__scopeId", "data-v-98a8422f"]]), Ht = /* @__PURE__ */ $({
|
|
1504
1517
|
__name: "MRadioGroup",
|
|
1505
1518
|
props: {
|
|
1506
1519
|
name: {},
|
|
@@ -1519,7 +1532,7 @@ const Lt = /* @__PURE__ */ m(Ct, [["render", zt]]), jt = ["id", "name", "disable
|
|
|
1519
1532
|
return (l, p) => (o(), i("div", {
|
|
1520
1533
|
class: g(["mc-field__container", t.value])
|
|
1521
1534
|
}, [
|
|
1522
|
-
(o(!0), i(
|
|
1535
|
+
(o(!0), i(A, null, P(l.options, (u) => (o(), B(Ut, {
|
|
1523
1536
|
id: u.id,
|
|
1524
1537
|
key: u.id,
|
|
1525
1538
|
label: u.label,
|
|
@@ -1532,7 +1545,7 @@ const Lt = /* @__PURE__ */ m(Ct, [["render", zt]]), jt = ["id", "name", "disable
|
|
|
1532
1545
|
}, null, 8, ["id", "label", "is-invalid", "name", "class", "model-value", "disabled", "onUpdate:modelValue"]))), 128))
|
|
1533
1546
|
], 2));
|
|
1534
1547
|
}
|
|
1535
|
-
}),
|
|
1548
|
+
}), vo = /* @__PURE__ */ m(Ht, [["__scopeId", "data-v-74a1b650"]]), Kt = /* @__PURE__ */ $({
|
|
1536
1549
|
__name: "MStatusDot",
|
|
1537
1550
|
props: {
|
|
1538
1551
|
status: { default: "info" },
|
|
@@ -1547,7 +1560,7 @@ const Lt = /* @__PURE__ */ m(Ct, [["render", zt]]), jt = ["id", "name", "disable
|
|
|
1547
1560
|
class: g(["mc-status-dot", a.value])
|
|
1548
1561
|
}, null, 2));
|
|
1549
1562
|
}
|
|
1550
|
-
}), Et = /* @__PURE__ */ m(Kt, [["__scopeId", "data-v-
|
|
1563
|
+
}), Et = /* @__PURE__ */ m(Kt, [["__scopeId", "data-v-113b7e8f"]]), Qt = { class: "mc-status-badge__label" }, Jt = /* @__PURE__ */ $({
|
|
1551
1564
|
__name: "MStatusBadge",
|
|
1552
1565
|
props: {
|
|
1553
1566
|
label: {},
|
|
@@ -1564,7 +1577,7 @@ const Lt = /* @__PURE__ */ m(Ct, [["render", zt]]), jt = ["id", "name", "disable
|
|
|
1564
1577
|
d("span", Qt, b(t.label), 1)
|
|
1565
1578
|
], 2));
|
|
1566
1579
|
}
|
|
1567
|
-
}),
|
|
1580
|
+
}), bo = /* @__PURE__ */ m(Jt, [["__scopeId", "data-v-744550c6"]]), Wt = {
|
|
1568
1581
|
name: "Cross20",
|
|
1569
1582
|
props: {
|
|
1570
1583
|
/**
|
|
@@ -1731,7 +1744,7 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1731
1744
|
class: g(["mc-status-notification", t.value]),
|
|
1732
1745
|
role: "status"
|
|
1733
1746
|
}, [
|
|
1734
|
-
(o(), B(
|
|
1747
|
+
(o(), B(q(n.value), {
|
|
1735
1748
|
class: "mc-status-notification__icon",
|
|
1736
1749
|
"aria-hidden": "true"
|
|
1737
1750
|
})),
|
|
@@ -1760,7 +1773,7 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1760
1773
|
})) : h("", !0)
|
|
1761
1774
|
], 2));
|
|
1762
1775
|
}
|
|
1763
|
-
}),
|
|
1776
|
+
}), fo = /* @__PURE__ */ m(_s, [["__scopeId", "data-v-a7c71513"]]), vs = ["aria-label"], bs = ["aria-selected", "onClick"], fs = {
|
|
1764
1777
|
key: 0,
|
|
1765
1778
|
class: "mc-tabs__icon"
|
|
1766
1779
|
}, hs = { class: "mc-tabs__label" }, $s = /* @__PURE__ */ $({
|
|
@@ -1787,7 +1800,7 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1787
1800
|
class: "mc-tabs__list",
|
|
1788
1801
|
"aria-label": u.description
|
|
1789
1802
|
}, [
|
|
1790
|
-
(o(!0), i(
|
|
1803
|
+
(o(!0), i(A, null, P(u.tabs, (c, f) => (o(), i("li", {
|
|
1791
1804
|
key: `tab-${f}`,
|
|
1792
1805
|
role: "presentation",
|
|
1793
1806
|
class: "mc-tabs__item"
|
|
@@ -1805,7 +1818,7 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1805
1818
|
onClick: (C) => s(f)
|
|
1806
1819
|
}, [
|
|
1807
1820
|
c.icon ? (o(), i("span", fs, [
|
|
1808
|
-
(o(), B(
|
|
1821
|
+
(o(), B(q(c.icon)))
|
|
1809
1822
|
])) : h("", !0),
|
|
1810
1823
|
d("div", hs, [
|
|
1811
1824
|
d("span", null, b(c.label), 1)
|
|
@@ -1816,7 +1829,8 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1816
1829
|
u.divider ? (o(), B(Ze, { key: 0 })) : h("", !0)
|
|
1817
1830
|
], 2));
|
|
1818
1831
|
}
|
|
1819
|
-
}),
|
|
1832
|
+
}), ho = /* @__PURE__ */ m($s, [["__scopeId", "data-v-3919f834"]]), gs = ["for"], ys = ["id", "name", "checked", "disabled"], ks = { class: "mc-tag__label" }, ws = ["disabled"], Vs = { class: "mc-tag__label" }, Is = ["disabled"], Bs = { class: "mc-tag__label" }, Cs = { class: "mc-tag__label" }, Ms = { class: "mc-tag__label" }, zs = /* @__PURE__ */ $({
|
|
1833
|
+
inheritAttrs: !1,
|
|
1820
1834
|
__name: "MTag",
|
|
1821
1835
|
props: {
|
|
1822
1836
|
type: { default: "informative" },
|
|
@@ -1840,7 +1854,7 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1840
1854
|
for: s.id,
|
|
1841
1855
|
class: g(["mc-tag", t.value])
|
|
1842
1856
|
}, [
|
|
1843
|
-
d("input",
|
|
1857
|
+
d("input", V({
|
|
1844
1858
|
type: "checkbox",
|
|
1845
1859
|
class: "mc-tag__input",
|
|
1846
1860
|
id: s.id,
|
|
@@ -1850,26 +1864,26 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1850
1864
|
onChange: l[0] || (l[0] = (p) => n("update:modelValue", p.target.checked))
|
|
1851
1865
|
}, s.$attrs), null, 16, ys),
|
|
1852
1866
|
d("span", ks, b(s.label), 1)
|
|
1853
|
-
], 10, gs)) : s.type === "interactive" ? (o(), i("button",
|
|
1867
|
+
], 10, gs)) : s.type === "interactive" ? (o(), i("button", V({
|
|
1854
1868
|
key: 1,
|
|
1855
1869
|
class: ["mc-tag", t.value],
|
|
1856
1870
|
type: "button",
|
|
1857
1871
|
disabled: s.disabled
|
|
1858
1872
|
}, s.$attrs), [
|
|
1859
1873
|
d("span", Vs, b(s.label), 1)
|
|
1860
|
-
], 16, ws)) : s.type === "contextualised" ? (o(), i("button",
|
|
1874
|
+
], 16, ws)) : s.type === "contextualised" ? (o(), i("button", V({
|
|
1861
1875
|
key: 2,
|
|
1862
1876
|
class: ["mc-tag", t.value],
|
|
1863
1877
|
type: "button",
|
|
1864
1878
|
disabled: s.disabled
|
|
1865
1879
|
}, s.$attrs), [
|
|
1866
|
-
w(
|
|
1880
|
+
w(at, {
|
|
1867
1881
|
appearance: "inverse",
|
|
1868
1882
|
label: s.contextualisedNumber,
|
|
1869
1883
|
size: s.size === "l" ? "m" : void 0
|
|
1870
1884
|
}, null, 8, ["label", "size"]),
|
|
1871
1885
|
d("span", Bs, b(s.label), 1)
|
|
1872
|
-
], 16, Is)) : s.type === "removable" ? (o(), i("span",
|
|
1886
|
+
], 16, Is)) : s.type === "removable" ? (o(), i("span", V({
|
|
1873
1887
|
key: 3,
|
|
1874
1888
|
class: ["mc-tag", t.value]
|
|
1875
1889
|
}, s.$attrs), [
|
|
@@ -1879,20 +1893,21 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1879
1893
|
type: "button",
|
|
1880
1894
|
onClick: l[1] || (l[1] = (p) => s.id && n("remove-tag", s.id))
|
|
1881
1895
|
}, [
|
|
1882
|
-
w(
|
|
1896
|
+
w(F, {
|
|
1883
1897
|
class: "mc-tag-removable__icon",
|
|
1884
1898
|
"aria-hidden": "true"
|
|
1885
1899
|
}),
|
|
1886
1900
|
l[2] || (l[2] = d("span", { class: "mc-tag-removable__text" }, "removableLabel", -1))
|
|
1887
1901
|
])
|
|
1888
|
-
], 16)) : (o(), i("span",
|
|
1902
|
+
], 16)) : (o(), i("span", V({
|
|
1889
1903
|
key: 4,
|
|
1890
1904
|
class: ["mc-tag", t.value]
|
|
1891
1905
|
}, s.$attrs), [
|
|
1892
1906
|
d("span", Ms, b(s.label), 1)
|
|
1893
1907
|
], 16));
|
|
1894
1908
|
}
|
|
1895
|
-
}),
|
|
1909
|
+
}), $o = /* @__PURE__ */ m(zs, [["__scopeId", "data-v-ff87c7bd"]]), Ls = ["id", "aria-invalid", "value", "name", "placeholder", "disabled", "minlength", "maxlength", "rows", "readonly"], js = /* @__PURE__ */ $({
|
|
1910
|
+
inheritAttrs: !1,
|
|
1896
1911
|
__name: "MTextArea",
|
|
1897
1912
|
props: {
|
|
1898
1913
|
id: {},
|
|
@@ -1911,7 +1926,7 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1911
1926
|
const a = r, t = v(() => ({
|
|
1912
1927
|
"is-invalid": a.isInvalid
|
|
1913
1928
|
})), n = e;
|
|
1914
|
-
return (s, l) => (o(), i("textarea",
|
|
1929
|
+
return (s, l) => (o(), i("textarea", V({
|
|
1915
1930
|
id: s.id,
|
|
1916
1931
|
class: ["mc-textarea", t.value],
|
|
1917
1932
|
"aria-invalid": s.isInvalid,
|
|
@@ -1927,13 +1942,14 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1927
1942
|
onInput: l[0] || (l[0] = (p) => n("update:modelValue", p.target.value))
|
|
1928
1943
|
}), null, 16, Ls));
|
|
1929
1944
|
}
|
|
1930
|
-
}),
|
|
1945
|
+
}), go = /* @__PURE__ */ m(js, [["__scopeId", "data-v-92dbf400"]]), Os = {
|
|
1931
1946
|
key: 0,
|
|
1932
1947
|
class: "mc-text-input__icon"
|
|
1933
1948
|
}, Ts = ["id", "value", "type", "name", "placeholder", "disabled", "aria-invalid", "readonly"], Ss = {
|
|
1934
1949
|
key: 1,
|
|
1935
1950
|
class: "mc-controls-options"
|
|
1936
|
-
},
|
|
1951
|
+
}, As = /* @__PURE__ */ $({
|
|
1952
|
+
inheritAttrs: !1,
|
|
1937
1953
|
__name: "MTextInput",
|
|
1938
1954
|
props: {
|
|
1939
1955
|
id: {},
|
|
@@ -1962,7 +1978,7 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1962
1978
|
l.$slots.icon ? (o(), i("span", Os, [
|
|
1963
1979
|
k(l.$slots, "icon", {}, void 0, !0)
|
|
1964
1980
|
])) : h("", !0),
|
|
1965
|
-
d("input",
|
|
1981
|
+
d("input", V({
|
|
1966
1982
|
id: l.id,
|
|
1967
1983
|
class: "mc-text-input__control",
|
|
1968
1984
|
value: l.modelValue,
|
|
@@ -1981,7 +1997,7 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1981
1997
|
class: "mc-controls-options__button",
|
|
1982
1998
|
onClick: n
|
|
1983
1999
|
}, [
|
|
1984
|
-
w(
|
|
2000
|
+
w(F, {
|
|
1985
2001
|
class: "mc-controls-options__icon",
|
|
1986
2002
|
"aria-hidden": "true"
|
|
1987
2003
|
}),
|
|
@@ -1990,10 +2006,10 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
1990
2006
|
])) : h("", !0)
|
|
1991
2007
|
], 2));
|
|
1992
2008
|
}
|
|
1993
|
-
}),
|
|
2009
|
+
}), yo = /* @__PURE__ */ m(As, [["__scopeId", "data-v-8e8fe88e"]]), Ps = { class: "mc-toaster__content" }, Ds = { class: "mc-toaster__message" }, qs = {
|
|
1994
2010
|
key: 0,
|
|
1995
2011
|
class: "mc-toaster__action"
|
|
1996
|
-
},
|
|
2012
|
+
}, Fs = /* @__PURE__ */ $({
|
|
1997
2013
|
__name: "MToaster",
|
|
1998
2014
|
props: {
|
|
1999
2015
|
open: { type: Boolean },
|
|
@@ -2050,13 +2066,13 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
2050
2066
|
class: g(["mc-toaster", t.value]),
|
|
2051
2067
|
role: "status"
|
|
2052
2068
|
}, [
|
|
2053
|
-
(o(), B(
|
|
2069
|
+
(o(), B(q(n.value), {
|
|
2054
2070
|
class: "mc-toaster__icon",
|
|
2055
2071
|
"aria-hidden": "true"
|
|
2056
2072
|
})),
|
|
2057
|
-
d("div",
|
|
2058
|
-
d("p",
|
|
2059
|
-
c.$slots.action ? (o(), i("div",
|
|
2073
|
+
d("div", Ps, [
|
|
2074
|
+
d("p", Ds, b(c.description), 1),
|
|
2075
|
+
c.$slots.action ? (o(), i("div", qs, [
|
|
2060
2076
|
k(c.$slots, "action", {}, void 0, !0)
|
|
2061
2077
|
])) : h("", !0)
|
|
2062
2078
|
]),
|
|
@@ -2077,14 +2093,15 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
2077
2093
|
]),
|
|
2078
2094
|
_: 1
|
|
2079
2095
|
})) : h("", !0),
|
|
2080
|
-
c.progress ? (o(), B(
|
|
2096
|
+
c.progress ? (o(), B(Da, {
|
|
2081
2097
|
key: 1,
|
|
2082
2098
|
class: "mc-toaster__indicator",
|
|
2083
2099
|
value: p.value
|
|
2084
2100
|
}, null, 8, ["value"])) : h("", !0)
|
|
2085
2101
|
], 2));
|
|
2086
2102
|
}
|
|
2087
|
-
}),
|
|
2103
|
+
}), ko = /* @__PURE__ */ m(Fs, [["__scopeId", "data-v-c7799abc"]]), Ns = ["for"], Rs = ["id", "name", "checked", "disabled"], Gs = ["for"], Us = /* @__PURE__ */ $({
|
|
2104
|
+
inheritAttrs: !1,
|
|
2088
2105
|
__name: "MToggle",
|
|
2089
2106
|
props: {
|
|
2090
2107
|
id: {},
|
|
@@ -2106,7 +2123,7 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
2106
2123
|
class: "mc-toggle__container",
|
|
2107
2124
|
for: s.id
|
|
2108
2125
|
}, [
|
|
2109
|
-
d("input",
|
|
2126
|
+
d("input", V({
|
|
2110
2127
|
id: s.id,
|
|
2111
2128
|
type: "checkbox",
|
|
2112
2129
|
class: "mc-toggle__input",
|
|
@@ -2124,34 +2141,7 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
2124
2141
|
], 8, Ns)
|
|
2125
2142
|
], 2));
|
|
2126
2143
|
}
|
|
2127
|
-
}), Hs = /* @__PURE__ */ m(Us, [["__scopeId", "data-v-
|
|
2128
|
-
__name: "MTooltip",
|
|
2129
|
-
props: {
|
|
2130
|
-
id: {},
|
|
2131
|
-
text: {},
|
|
2132
|
-
position: { default: "top" },
|
|
2133
|
-
pointer: { type: Boolean, default: !0 }
|
|
2134
|
-
},
|
|
2135
|
-
setup(r) {
|
|
2136
|
-
const e = r, a = v(() => ({
|
|
2137
|
-
[`mc-tooltip--${e.position}`]: e.position,
|
|
2138
|
-
"mc-tooltip--no-pointer": !e.pointer
|
|
2139
|
-
}));
|
|
2140
|
-
return (t, n) => (o(), i("div", Ks, [
|
|
2141
|
-
d("div", {
|
|
2142
|
-
class: g(["mc-tooltip", a.value]),
|
|
2143
|
-
"aria-describedby": t.id
|
|
2144
|
-
}, [
|
|
2145
|
-
k(t.$slots, "default", {}, void 0, !0),
|
|
2146
|
-
d("span", {
|
|
2147
|
-
id: t.id,
|
|
2148
|
-
class: "mc-tooltip__content",
|
|
2149
|
-
role: "tooltip"
|
|
2150
|
-
}, b(t.text), 9, Qs)
|
|
2151
|
-
], 10, Es)
|
|
2152
|
-
]));
|
|
2153
|
-
}
|
|
2154
|
-
}), Vo = /* @__PURE__ */ m(Js, [["__scopeId", "data-v-f90a7be6"]]), Ws = /* @__PURE__ */ $({
|
|
2144
|
+
}), Hs = /* @__PURE__ */ m(Us, [["__scopeId", "data-v-3f62827d"]]), Ks = /* @__PURE__ */ $({
|
|
2155
2145
|
__name: "MToggleGroup",
|
|
2156
2146
|
props: {
|
|
2157
2147
|
name: {},
|
|
@@ -2180,7 +2170,7 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
2180
2170
|
return (u, _) => (o(), i("div", {
|
|
2181
2171
|
class: g(s.value)
|
|
2182
2172
|
}, [
|
|
2183
|
-
(o(!0), i(
|
|
2173
|
+
(o(!0), i(A, null, P(u.options, (c) => (o(), B(Hs, {
|
|
2184
2174
|
id: c.id,
|
|
2185
2175
|
key: c.id,
|
|
2186
2176
|
label: c.label,
|
|
@@ -2193,47 +2183,73 @@ const x = /* @__PURE__ */ m(is, [["render", ds]]), cs = { class: "mc-status-noti
|
|
|
2193
2183
|
}, null, 8, ["id", "label", "is-invalid", "name", "class", "model-value", "disabled", "onUpdate:modelValue"]))), 128))
|
|
2194
2184
|
], 2));
|
|
2195
2185
|
}
|
|
2196
|
-
}),
|
|
2186
|
+
}), wo = /* @__PURE__ */ m(Ks, [["__scopeId", "data-v-2af0db8a"]]), Es = ["aria-describedby"], Qs = ["id"], Js = /* @__PURE__ */ $({
|
|
2187
|
+
__name: "MTooltip",
|
|
2188
|
+
props: {
|
|
2189
|
+
id: {},
|
|
2190
|
+
text: {},
|
|
2191
|
+
position: { default: "top" },
|
|
2192
|
+
pointer: { type: Boolean, default: !0 }
|
|
2193
|
+
},
|
|
2194
|
+
setup(r) {
|
|
2195
|
+
const e = r, a = v(() => ({
|
|
2196
|
+
[`mc-tooltip--${e.position}`]: e.position,
|
|
2197
|
+
"mc-tooltip--no-pointer": !e.pointer
|
|
2198
|
+
}));
|
|
2199
|
+
return (t, n) => (o(), i("div", {
|
|
2200
|
+
class: g(["mc-tooltip", a.value]),
|
|
2201
|
+
"aria-describedby": t.id
|
|
2202
|
+
}, [
|
|
2203
|
+
k(t.$slots, "default", {}, void 0, !0),
|
|
2204
|
+
d("span", {
|
|
2205
|
+
id: t.id,
|
|
2206
|
+
class: "mc-tooltip__content",
|
|
2207
|
+
role: "tooltip"
|
|
2208
|
+
}, b(t.text), 9, Qs)
|
|
2209
|
+
], 10, Es));
|
|
2210
|
+
}
|
|
2211
|
+
}), Vo = /* @__PURE__ */ m(Js, [["__scopeId", "data-v-424718c4"]]);
|
|
2197
2212
|
export {
|
|
2198
|
-
|
|
2199
|
-
|
|
2213
|
+
Xs as MAvatar,
|
|
2214
|
+
Ys as MBreadcrumb,
|
|
2200
2215
|
N as MButton,
|
|
2201
|
-
|
|
2202
|
-
|
|
2216
|
+
Zs as MCallout,
|
|
2217
|
+
Te as MCheckbox,
|
|
2203
2218
|
xs as MCheckboxGroup,
|
|
2204
2219
|
eo as MCircularProgressbar,
|
|
2205
|
-
|
|
2206
|
-
|
|
2220
|
+
ao as MContainer,
|
|
2221
|
+
to as MDatepicker,
|
|
2207
2222
|
Ze as MDivider,
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2223
|
+
so as MDrawer,
|
|
2224
|
+
oo as MField,
|
|
2225
|
+
lo as MFieldGroup,
|
|
2226
|
+
no as MFlag,
|
|
2212
2227
|
S as MIconButton,
|
|
2213
|
-
|
|
2214
|
-
|
|
2228
|
+
Da as MLinearProgressbarBuffer,
|
|
2229
|
+
io as MLinearProgressbarPercentage,
|
|
2215
2230
|
ce as MLink,
|
|
2216
2231
|
E as MLoader,
|
|
2217
2232
|
ro as MLoadingOverlay,
|
|
2218
2233
|
co as MModal,
|
|
2219
|
-
|
|
2234
|
+
at as MNumberBadge,
|
|
2220
2235
|
J as MOverlay,
|
|
2221
2236
|
uo as MPagination,
|
|
2222
2237
|
po as MPasswordInput,
|
|
2223
2238
|
mo as MPincode,
|
|
2224
|
-
|
|
2239
|
+
_o as MQuantitySelector,
|
|
2225
2240
|
Ut as MRadio,
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2241
|
+
vo as MRadioGroup,
|
|
2242
|
+
nt as MSelect,
|
|
2243
|
+
bo as MStatusBadge,
|
|
2244
|
+
Et as MStatusDot,
|
|
2245
|
+
fo as MStatusNotification,
|
|
2246
|
+
ho as MTabs,
|
|
2247
|
+
$o as MTag,
|
|
2248
|
+
go as MTextArea,
|
|
2249
|
+
yo as MTextInput,
|
|
2250
|
+
ko as MToaster,
|
|
2235
2251
|
Hs as MToggle,
|
|
2236
|
-
|
|
2252
|
+
wo as MToggleGroup,
|
|
2237
2253
|
Vo as MTooltip
|
|
2238
2254
|
};
|
|
2239
2255
|
//# sourceMappingURL=mozaic-vue.js.map
|