maz-ui 3.47.2-beta.0 → 3.47.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/MazAccordion.mjs +36 -37
- package/components/MazAnimatedCounter.mjs +14 -16
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.mjs +1 -1
- package/components/MazCarousel.mjs +1 -1
- package/components/MazChart.mjs +23 -32
- package/components/MazChecklist.mjs +1 -1
- package/components/MazCircularProgressBar.mjs +66 -71
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.mjs +1 -1
- package/components/MazDropdown.mjs +162 -185
- package/components/MazExpandAnimation.mjs +20 -21
- package/components/MazGallery.mjs +1 -1
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.mjs +30 -31
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLink.mjs +18 -30
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazRadio.mjs +37 -42
- package/components/MazRadioButtons.mjs +61 -66
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider.mjs +107 -116
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.mjs +24 -28
- package/components/MazTable.d.ts +6 -6
- package/components/MazTable.mjs +1 -1
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTextarea.mjs +32 -34
- package/components/assets/MazLink.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/chunks/{MazBadge-CvIiiTdM.mjs → MazBadge-CqppWg2j.mjs} +1 -1
- package/components/chunks/{MazBottomSheet-DqK0EOsq.mjs → MazBottomSheet-CGRvZmGd.mjs} +28 -29
- package/{modules/chunks/MazBtn-BSnVxud6.mjs → components/chunks/MazBtn-2VKM1wZu.mjs} +37 -49
- package/components/chunks/{MazBtn-DVkwISlp.mjs → MazBtn-40lm8-AL.mjs} +37 -49
- package/components/chunks/{MazBtn-DzBXfedt.mjs → MazBtn-BB1FyYWv.mjs} +35 -44
- package/components/chunks/{MazBtn-BO3G90L3.mjs → MazBtn-BMYXMZuX.mjs} +37 -49
- package/components/chunks/{MazBtn-DJOUeES7.mjs → MazBtn-BijEMn4r.mjs} +37 -49
- package/components/chunks/MazBtn-BmrcK2af.mjs +106 -0
- package/components/chunks/MazBtn-C72_1uvu.mjs +106 -0
- package/components/chunks/MazBtn-CWloP6MI.mjs +111 -0
- package/components/chunks/MazBtn-CcyV4DCc.mjs +106 -0
- package/components/chunks/MazBtn-DENEMy-c.mjs +106 -0
- package/components/chunks/MazBtn-DfqRZvbB.mjs +106 -0
- package/components/chunks/MazBtn-UnZQuu6P.mjs +106 -0
- package/components/chunks/MazBtn-cDJlUVVY.mjs +106 -0
- package/components/chunks/MazBtn-hUslV7wO.mjs +106 -0
- package/components/chunks/{MazCard-FSXmHyhj.mjs → MazCard-BYB8y1_u.mjs} +18 -19
- package/components/chunks/{MazCarousel-BEl86YGW.mjs → MazCarousel-DccWVW8H.mjs} +20 -21
- package/components/chunks/{MazCheckbox-2G4VkxDz.mjs → MazCheckbox-B22OcHt8.mjs} +1 -1
- package/components/chunks/{MazCheckbox-Cq9gpTEw.mjs → MazCheckbox-DMogZVHl.mjs} +1 -1
- package/components/chunks/{MazCheckbox-BmnqBHaY.mjs → MazCheckbox-Db6sPUbV.mjs} +1 -1
- package/components/chunks/{MazChecklist-CY1Cv70T.mjs → MazChecklist-C95Y4Hb-.mjs} +112 -118
- package/components/chunks/{MazDialog-CPgFpAlq.mjs → MazDialog-khofH-7I.mjs} +66 -81
- package/components/chunks/MazDialogPromise-ZRA2ZrO4.mjs +488 -0
- package/components/chunks/{MazExpandAnimation-Bkw_wFTi.mjs → MazExpandAnimation-MDimlZGj.mjs} +7 -8
- package/components/chunks/{MazGallery-BknvUeo1.mjs → MazGallery-CXQiXWFr.mjs} +32 -33
- package/components/chunks/{MazGallery-CZOokGAt.mjs → MazGallery-VTZUhBKC.mjs} +33 -34
- package/components/chunks/{MazIcon-z-jTiuyI.mjs → MazIcon-BF5TFzse.mjs} +1 -1
- package/components/chunks/{MazInput-oOA7gdLO.mjs → MazInput-DC3S-CVu.mjs} +44 -53
- package/components/chunks/{MazInput-BQoQSRyL.mjs → MazInput-DzWkS-g8.mjs} +40 -49
- package/components/chunks/{MazInput-CJQB68c-.mjs → MazInput-NE6H-10w.mjs} +42 -51
- package/components/chunks/{MazInputNumber-B4mQJcVB.mjs → MazInputNumber-DRXQXHRv.mjs} +168 -189
- package/components/chunks/{MazInputPrice-BrxE5WVf.mjs → MazInputPrice-DoTnDDIN.mjs} +49 -58
- package/components/chunks/{MazInputTags-BVCej_gW.mjs → MazInputTags-Dj3sW-e5.mjs} +181 -202
- package/components/chunks/{MazLink-Dl9ePCGm.mjs → MazLink-C_3Wya94.mjs} +19 -31
- package/components/chunks/{MazLoadingBar-Dwf55oHy.mjs → MazLoadingBar-DdjHRC7g.mjs} +1 -1
- package/components/chunks/MazPagination-BkT4_LLW.mjs +330 -0
- package/components/chunks/{MazPhoneNumberInput-Cd25AzXc.mjs → MazPhoneNumberInput-BbssOUzo.mjs} +500 -544
- package/components/chunks/{MazPicker-C78yxilJ.mjs → MazPicker-DwWiIYAR.mjs} +243 -264
- package/components/chunks/{MazPickerMonthSwitcher-CyHYx8TT.mjs → MazPickerMonthSwitcher-CmFFQoPA.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-Bsi8cnox.mjs → MazPickerShortcuts-DaELz7aq.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-DLUSMAtz.mjs → MazPickerYearSwitcher-m1_KXnpA.mjs} +1 -1
- package/components/chunks/{MazSelect-CQDoUpgp.mjs → MazSelect-BJ07NVXQ.mjs} +149 -170
- package/components/chunks/{MazSelect-uCJPMXF-.mjs → MazSelect-CDV9Fx6m.mjs} +124 -136
- package/components/chunks/{MazSpinner-Bvb-lKER.mjs → MazSpinner-Bb3f2t6w.mjs} +1 -1
- package/components/chunks/{MazSpinner-Cqp-BMvL.mjs → MazSpinner-BcB0szZB.mjs} +1 -1
- package/components/chunks/{MazSpinner-BT_717pD.mjs → MazSpinner-BpkPcfCt.mjs} +1 -1
- package/components/chunks/{MazSpinner-CAbYLlEZ.mjs → MazSpinner-BsYJDmi9.mjs} +1 -1
- package/components/chunks/{MazSpinner-B9OwpEP_.mjs → MazSpinner-BymqEMBk.mjs} +1 -1
- package/components/chunks/MazSpinner-C-64WJje.mjs +34 -0
- package/components/chunks/MazSpinner-CEFbkZkM.mjs +34 -0
- package/components/chunks/{MazSpinner-EFo8dM46.mjs → MazSpinner-CfiIXW8y.mjs} +1 -1
- package/components/chunks/MazSpinner-CykRbNHD.mjs +34 -0
- package/components/chunks/{MazSpinner-C-z3-68w.mjs → MazSpinner-D3-pqOh3.mjs} +1 -1
- package/components/chunks/MazSpinner-DS58mtzm.mjs +34 -0
- package/components/chunks/{MazSpinner-2D0ZmAQz.mjs → MazSpinner-DmiLBQgR.mjs} +1 -1
- package/components/chunks/{MazSpinner-C1Ip-Dwh.mjs → MazSpinner-Dmkr_r9u.mjs} +1 -1
- package/components/chunks/MazSpinner-DoRGA1RI.mjs +34 -0
- package/components/chunks/MazSpinner-eC03bFP5.mjs +34 -0
- package/components/chunks/{MazSpinner-Cb3_S0zT.mjs → MazSpinner-edxn0ncQ.mjs} +1 -1
- package/components/chunks/MazSpinner-f2Mc2eRO.mjs +34 -0
- package/components/chunks/MazSpinner-n4Dp5ZsH.mjs +34 -0
- package/components/chunks/MazStepper-BREfkpUb.mjs +213 -0
- package/components/chunks/{MazTable-Cuz5QI08.mjs → MazTable-BJDPdIJB.mjs} +183 -227
- package/components/chunks/{MazTableCell-D_OTOJiy.mjs → MazTableCell-DILuUCTe.mjs} +1 -1
- package/components/chunks/{MazTableRow-BTcVAyOy.mjs → MazTableRow-D6H6-c8J.mjs} +1 -1
- package/components/chunks/{MazTableTitle-BDA9G6Zw.mjs → MazTableTitle-Ch-nyY1E.mjs} +1 -1
- package/components/chunks/MazTabsBar-CM-w7V97.mjs +193 -0
- package/components/chunks/{MazTransitionExpand-C-FHhOGB.mjs → MazTransitionExpand-PmUDa51_.mjs} +1 -1
- package/modules/chunks/MazBtn-B_Xlvgbg.cjs +1 -0
- package/modules/chunks/MazBtn-Dsr06Zgg.mjs +106 -0
- package/modules/chunks/{MazIcon-dhyR9Q8a.cjs → MazIcon-CkuzyufF.cjs} +1 -1
- package/modules/chunks/{MazIcon-DllGg8tw.mjs → MazIcon-DEgoQbMj.mjs} +1 -1
- package/modules/chunks/{MazSpinner-bdGjxsu6.mjs → MazSpinner-BurN-1pb.mjs} +1 -1
- package/modules/chunks/{MazSpinner-CiIyZ8gs.cjs → MazSpinner-jP4QsCNE.cjs} +1 -1
- package/modules/chunks/index-CUNN0eIB.cjs +124 -0
- package/modules/chunks/{index-x2F1l5sr.mjs → index-CxFUggmu.mjs} +257 -292
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/package.json +1 -1
- package/types/components/MazTable.vue.d.ts +6 -6
- package/types/modules/composables/useFormValidator/types.d.ts +5 -1
- package/types/modules/composables/useFormValidator/useFormField.d.ts +3 -3
- package/types/modules/composables/useFormValidator/useFormValidator.d.ts +2 -2
- package/types/modules/composables/useFormValidator/utils.d.ts +12 -12
- package/components/chunks/MazBtn-BRUaoP8j.mjs +0 -126
- package/components/chunks/MazBtn-BhnOApJu.mjs +0 -118
- package/components/chunks/MazBtn-C28vKP_v.mjs +0 -118
- package/components/chunks/MazBtn-C87UEsVs.mjs +0 -118
- package/components/chunks/MazBtn-C_l3xuAh.mjs +0 -118
- package/components/chunks/MazBtn-CweCwE_4.mjs +0 -118
- package/components/chunks/MazBtn-D7IKoL2c.mjs +0 -118
- package/components/chunks/MazBtn-DadFupkY.mjs +0 -118
- package/components/chunks/MazBtn-GGcGrIH4.mjs +0 -118
- package/components/chunks/MazBtn-Mu18egu5.mjs +0 -118
- package/components/chunks/MazDialogPromise-BCCdkrea.mjs +0 -522
- package/components/chunks/MazPagination-CHTMRRqE.mjs +0 -362
- package/components/chunks/MazSpinner-C23CZ_Za.mjs +0 -34
- package/components/chunks/MazSpinner-CViChjTw.mjs +0 -34
- package/components/chunks/MazSpinner-CZMBhCOJ.mjs +0 -34
- package/components/chunks/MazSpinner-D4C84xZe.mjs +0 -34
- package/components/chunks/MazSpinner-Dyf9yb51.mjs +0 -34
- package/components/chunks/MazSpinner-QHjOczon.mjs +0 -34
- package/components/chunks/MazSpinner-u8WQTgUR.mjs +0 -34
- package/components/chunks/MazSpinner-w-S5uCxg.mjs +0 -34
- package/components/chunks/MazStepper-DRWtYHZR.mjs +0 -232
- package/components/chunks/MazTabsBar-JkRzMDM6.mjs +0 -203
- package/modules/chunks/MazBtn-Bf9Cq5M7.cjs +0 -9
- package/modules/chunks/index-BPqjUr5e.cjs +0 -149
package/components/MazSwitch.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { useId as k, computed as b, defineComponent as V, useCssVars as B, ref as C, openBlock as i, createElementBlock as r, unref as
|
|
1
|
+
import { useId as k, computed as b, defineComponent as V, useCssVars as B, ref as C, openBlock as i, createElementBlock as r, unref as c, normalizeClass as m, normalizeStyle as z, createElementVNode as f, mergeProps as E, renderSlot as S, createTextVNode as $, toDisplayString as p, createCommentVNode as h } from "vue";
|
|
2
2
|
import './assets/MazSwitch.css';function I({
|
|
3
3
|
componentName: n,
|
|
4
|
-
providedId:
|
|
4
|
+
providedId: s
|
|
5
5
|
}) {
|
|
6
6
|
const a = k();
|
|
7
|
-
return b(() =>
|
|
7
|
+
return b(() => s ?? `${n}-${a}`);
|
|
8
8
|
}
|
|
9
|
-
const N = ["for", "aria-checked"],
|
|
9
|
+
const N = ["for", "aria-checked"], D = ["id", "name", "checked", "aria-label", "disabled"], M = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "m-switch__text"
|
|
12
|
-
},
|
|
12
|
+
}, q = /* @__PURE__ */ V({
|
|
13
13
|
inheritAttrs: !1,
|
|
14
14
|
__name: "MazSwitch",
|
|
15
15
|
props: {
|
|
@@ -27,32 +27,32 @@ const N = ["for", "aria-checked"], T = ["id", "name", "checked", "aria-label", "
|
|
|
27
27
|
hint: {}
|
|
28
28
|
},
|
|
29
29
|
emits: ["update:model-value", "change", "blur", "focus"],
|
|
30
|
-
setup(n, { emit:
|
|
30
|
+
setup(n, { emit: s }) {
|
|
31
31
|
B((e) => ({
|
|
32
32
|
"5d846531": v.value
|
|
33
33
|
}));
|
|
34
|
-
const a = n, o =
|
|
34
|
+
const a = n, o = s, d = I({
|
|
35
35
|
componentName: "MazSwitch",
|
|
36
36
|
providedId: a.id
|
|
37
37
|
}), v = b(() => a.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${a.color}-alpha)`);
|
|
38
|
-
function
|
|
38
|
+
function u() {
|
|
39
39
|
o("update:model-value", !a.modelValue), o("change", !a.modelValue);
|
|
40
40
|
}
|
|
41
|
-
const
|
|
41
|
+
const t = C();
|
|
42
42
|
function y(e) {
|
|
43
|
-
["Space"].includes(e.code) && (e.preventDefault(),
|
|
43
|
+
["Space"].includes(e.code) && (e.preventDefault(), u());
|
|
44
44
|
}
|
|
45
45
|
function w(e) {
|
|
46
46
|
var l;
|
|
47
|
-
(l =
|
|
47
|
+
(l = t.value) == null || l.dispatchEvent(new Event("blur")), o("blur", e);
|
|
48
48
|
}
|
|
49
49
|
function g(e) {
|
|
50
50
|
var l;
|
|
51
|
-
(l =
|
|
51
|
+
(l = t.value) == null || l.dispatchEvent(new Event("focus")), o("focus", e);
|
|
52
52
|
}
|
|
53
53
|
return (e, l) => (i(), r("label", {
|
|
54
|
-
for:
|
|
55
|
-
class:
|
|
54
|
+
for: c(d),
|
|
55
|
+
class: m(["m-switch", [{ "--is-disabled": e.disabled }, a.class]]),
|
|
56
56
|
role: "switch",
|
|
57
57
|
style: z(e.style),
|
|
58
58
|
"aria-checked": e.modelValue,
|
|
@@ -61,9 +61,9 @@ const N = ["for", "aria-checked"], T = ["id", "name", "checked", "aria-label", "
|
|
|
61
61
|
onFocus: g,
|
|
62
62
|
onKeydown: y
|
|
63
63
|
}, [
|
|
64
|
-
|
|
64
|
+
f("input", E({ id: c(d) }, e.$attrs, {
|
|
65
65
|
ref_key: "inputRef",
|
|
66
|
-
ref:
|
|
66
|
+
ref: t,
|
|
67
67
|
type: "checkbox",
|
|
68
68
|
name: e.name,
|
|
69
69
|
tabindex: "-1",
|
|
@@ -71,20 +71,16 @@ const N = ["for", "aria-checked"], T = ["id", "name", "checked", "aria-label", "
|
|
|
71
71
|
"aria-label": e.label,
|
|
72
72
|
disabled: e.disabled,
|
|
73
73
|
class: "m-switch__input",
|
|
74
|
-
onChange:
|
|
75
|
-
}), null, 16,
|
|
76
|
-
l[0] || (l[0] =
|
|
74
|
+
onChange: u
|
|
75
|
+
}), null, 16, D),
|
|
76
|
+
l[0] || (l[0] = f(
|
|
77
77
|
"span",
|
|
78
78
|
{ class: "m-switch__toggle" },
|
|
79
79
|
null,
|
|
80
80
|
-1
|
|
81
81
|
/* HOISTED */
|
|
82
82
|
)),
|
|
83
|
-
e.$slots.default || e.label || e.hint ? (i(), r("span",
|
|
84
|
-
d(`
|
|
85
|
-
@slot The label of the switch
|
|
86
|
-
@binding {Boolean} value - The value of the switch
|
|
87
|
-
`),
|
|
83
|
+
e.$slots.default || e.label || e.hint ? (i(), r("span", M, [
|
|
88
84
|
S(e.$slots, "default", { value: e.modelValue }, () => [
|
|
89
85
|
$(
|
|
90
86
|
p(e.label),
|
|
@@ -96,7 +92,7 @@ const N = ["for", "aria-checked"], T = ["id", "name", "checked", "aria-label", "
|
|
|
96
92
|
"span",
|
|
97
93
|
{
|
|
98
94
|
key: 0,
|
|
99
|
-
class:
|
|
95
|
+
class: m(["m-switch__hint", {
|
|
100
96
|
"--error": e.error,
|
|
101
97
|
"--success": e.success,
|
|
102
98
|
"--warning": e.warning
|
|
@@ -105,11 +101,11 @@ const N = ["for", "aria-checked"], T = ["id", "name", "checked", "aria-label", "
|
|
|
105
101
|
p(e.hint),
|
|
106
102
|
3
|
|
107
103
|
/* TEXT, CLASS */
|
|
108
|
-
)) :
|
|
109
|
-
])) :
|
|
104
|
+
)) : h("v-if", !0)
|
|
105
|
+
])) : h("v-if", !0)
|
|
110
106
|
], 46, N));
|
|
111
107
|
}
|
|
112
108
|
});
|
|
113
109
|
export {
|
|
114
|
-
|
|
110
|
+
q as default
|
|
115
111
|
};
|
package/components/MazTable.d.ts
CHANGED
|
@@ -16,9 +16,9 @@ export interface HeadersEnriched {
|
|
|
16
16
|
colspan?: ThHTMLAttributes['colspan'];
|
|
17
17
|
headers?: ThHTMLAttributes['headers'];
|
|
18
18
|
}
|
|
19
|
-
export type Row = Record<string, any> & {
|
|
19
|
+
export type Row<T extends Row<T>> = Record<string, any> & {
|
|
20
20
|
selected?: boolean;
|
|
21
|
-
action?: (row:
|
|
21
|
+
action?: (row: T) => unknown;
|
|
22
22
|
classes?: HTMLAttributes['class'];
|
|
23
23
|
};
|
|
24
24
|
export type Header = string | HeadersEnriched;
|
|
@@ -32,7 +32,7 @@ export interface Translations {
|
|
|
32
32
|
paginationRowsPerPage?: string;
|
|
33
33
|
paginationOf?: string;
|
|
34
34
|
}
|
|
35
|
-
export interface MazTableProps<T extends Row
|
|
35
|
+
export interface MazTableProps<T extends Row<T>> {
|
|
36
36
|
/** class of the table element */
|
|
37
37
|
tableClass?: HTMLAttributes['class'];
|
|
38
38
|
/** style of the table element */
|
|
@@ -137,9 +137,9 @@ export interface MazTableProvide {
|
|
|
137
137
|
backgroundEven: Ref<boolean>;
|
|
138
138
|
backgroundOdd: Ref<boolean>;
|
|
139
139
|
}
|
|
140
|
-
declare const _default: <T extends Row
|
|
140
|
+
declare const _default: <T extends Row<T>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
141
141
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
142
|
-
readonly "onUpdate:model-value"?: ((value: (string | number | boolean | Row)[] | undefined) => any) | undefined;
|
|
142
|
+
readonly "onUpdate:model-value"?: ((value: (string | number | boolean | Row<T>)[] | undefined) => any) | undefined;
|
|
143
143
|
readonly "onUpdate:search-query"?: ((searchQuery: string | undefined) => any) | undefined;
|
|
144
144
|
readonly "onUpdate:page"?: ((page: number) => any) | undefined;
|
|
145
145
|
readonly "onUpdate:page-size"?: ((pageSize: number) => any) | undefined;
|
|
@@ -209,7 +209,7 @@ declare const _default: <T extends Row>(__VLS_props: NonNullable<Awaited<typeof
|
|
|
209
209
|
"no-results-text"?(_: {}): any;
|
|
210
210
|
};
|
|
211
211
|
emit: {
|
|
212
|
-
(event: "update:model-value", value: (Row | string | number | boolean)[] | undefined): void;
|
|
212
|
+
(event: "update:model-value", value: (Row<T> | string | number | boolean)[] | undefined): void;
|
|
213
213
|
(event: "update:search-query", searchQuery: string | undefined): void;
|
|
214
214
|
(event: "update:page", page: number): void;
|
|
215
215
|
(event: "update:page-size", pageSize: number): void;
|
package/components/MazTable.mjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import './assets/MazTextarea.css';var L = Object.defineProperty;
|
|
2
2
|
var q = (r, o, e) => o in r ? L(r, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : r[o] = e;
|
|
3
|
-
var
|
|
4
|
-
import { useId as F, computed as
|
|
5
|
-
function
|
|
3
|
+
var p = (r, o, e) => q(r, typeof o != "symbol" ? o + "" : o, e);
|
|
4
|
+
import { useId as F, computed as s, defineComponent as I, ref as v, onMounted as M, onBeforeUnmount as R, openBlock as d, createElementBlock as c, normalizeClass as b, normalizeStyle as x, unref as g, createTextVNode as N, toDisplayString as S, createCommentVNode as z, withDirectives as U, createElementVNode as $, mergeProps as C, toHandlers as H, vModelText as _ } from "vue";
|
|
5
|
+
function D({
|
|
6
6
|
componentName: r,
|
|
7
7
|
providedId: o
|
|
8
8
|
}) {
|
|
9
9
|
const e = F();
|
|
10
|
-
return
|
|
10
|
+
return s(() => o ?? `${r}-${e}`);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function O(r, o) {
|
|
13
13
|
let e;
|
|
14
14
|
return function(...a) {
|
|
15
15
|
clearTimeout(e), e = setTimeout(() => {
|
|
@@ -17,10 +17,10 @@ function D(r, o) {
|
|
|
17
17
|
}, o);
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
class
|
|
20
|
+
class A {
|
|
21
21
|
constructor(o) {
|
|
22
|
-
|
|
23
|
-
this.element = o, this.onFocus = this.onFocus.bind(this), this.autogrow = this.autogrow.bind(this), this.onResize =
|
|
22
|
+
p(this, "element");
|
|
23
|
+
this.element = o, this.onFocus = this.onFocus.bind(this), this.autogrow = this.autogrow.bind(this), this.onResize = O(this.onResize.bind(this), 200), this.connect();
|
|
24
24
|
}
|
|
25
25
|
connect() {
|
|
26
26
|
this.element.addEventListener("focus", this.onFocus), this.element.style.resize = "none", this.element.style.boxSizing = "border-box";
|
|
@@ -38,7 +38,7 @@ class O {
|
|
|
38
38
|
this.element.style.height = "auto", this.element.style.overflow = "hidden", this.element.style.height = `${this.element.scrollHeight}px`;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
const
|
|
41
|
+
const P = ["for"], j = { key: 0 }, G = ["id", "placeholder", "name", "disabled", "required"], J = /* @__PURE__ */ I({
|
|
42
42
|
inheritAttrs: !1,
|
|
43
43
|
__name: "MazTextarea",
|
|
44
44
|
props: {
|
|
@@ -61,17 +61,17 @@ const A = ["for"], P = { key: 0 }, G = ["id", "placeholder", "name", "disabled",
|
|
|
61
61
|
emits: ["update:model-value", "input", "focus", "blur", "change"],
|
|
62
62
|
setup(r, { emit: o }) {
|
|
63
63
|
const e = r, a = o;
|
|
64
|
-
let
|
|
65
|
-
const m =
|
|
64
|
+
let n;
|
|
65
|
+
const m = D({
|
|
66
66
|
componentName: "MazTextarea",
|
|
67
67
|
providedId: e.id
|
|
68
|
-
}),
|
|
68
|
+
}), i = v(), l = v(!1), y = s(() => e.modelValue !== void 0 && e.modelValue !== "");
|
|
69
69
|
M(() => {
|
|
70
|
-
|
|
70
|
+
i.value && (n = new A(i.value));
|
|
71
71
|
}), R(() => {
|
|
72
|
-
|
|
72
|
+
n == null || n.disconnect();
|
|
73
73
|
});
|
|
74
|
-
const
|
|
74
|
+
const f = s({
|
|
75
75
|
get: () => e.modelValue,
|
|
76
76
|
set: (t) => {
|
|
77
77
|
a("update:model-value", t), a("input", t);
|
|
@@ -86,9 +86,9 @@ const A = ["for"], P = { key: 0 }, G = ["id", "placeholder", "name", "disabled",
|
|
|
86
86
|
function E(t) {
|
|
87
87
|
a("change", t);
|
|
88
88
|
}
|
|
89
|
-
const
|
|
90
|
-
() =>
|
|
91
|
-
), B =
|
|
89
|
+
const u = s(() => e.label || e.hint), V = s(
|
|
90
|
+
() => u.value && (l.value || y.value || !!e.placeholder)
|
|
91
|
+
), B = s(() => {
|
|
92
92
|
if (e.error)
|
|
93
93
|
return "maz-border-danger";
|
|
94
94
|
if (e.success)
|
|
@@ -115,24 +115,23 @@ const A = ["for"], P = { key: 0 }, G = ["id", "placeholder", "name", "disabled",
|
|
|
115
115
|
}
|
|
116
116
|
return "--default-border";
|
|
117
117
|
});
|
|
118
|
-
return (t,
|
|
118
|
+
return (t, h) => (d(), c(
|
|
119
119
|
"div",
|
|
120
120
|
{
|
|
121
|
-
class:
|
|
121
|
+
class: b(["m-textarea", [
|
|
122
122
|
{
|
|
123
123
|
"--is-disabled": t.disabled,
|
|
124
|
-
"--has-label":
|
|
124
|
+
"--has-label": u.value
|
|
125
125
|
},
|
|
126
126
|
e.class
|
|
127
127
|
]]),
|
|
128
128
|
style: x(t.style)
|
|
129
129
|
},
|
|
130
130
|
[
|
|
131
|
-
|
|
132
|
-
d.value ? (c(), f("label", {
|
|
131
|
+
u.value ? (d(), c("label", {
|
|
133
132
|
key: 0,
|
|
134
|
-
for:
|
|
135
|
-
class:
|
|
133
|
+
for: g(m),
|
|
134
|
+
class: b(["m-textarea__label", [
|
|
136
135
|
{
|
|
137
136
|
"maz-text-danger-600": t.error,
|
|
138
137
|
"maz-text-success-600": t.success,
|
|
@@ -147,15 +146,14 @@ const A = ["for"], P = { key: 0 }, G = ["id", "placeholder", "name", "disabled",
|
|
|
147
146
|
1
|
|
148
147
|
/* TEXT */
|
|
149
148
|
),
|
|
150
|
-
t.required ? (
|
|
151
|
-
], 10,
|
|
152
|
-
i(" eslint-enable vuejs-accessibility/label-has-for "),
|
|
149
|
+
t.required ? (d(), c("sup", j, "*")) : z("v-if", !0)
|
|
150
|
+
], 10, P)) : z("v-if", !0),
|
|
153
151
|
U($("textarea", C({
|
|
154
|
-
id:
|
|
152
|
+
id: g(m),
|
|
155
153
|
ref_key: "TextareaElement",
|
|
156
|
-
ref:
|
|
154
|
+
ref: i
|
|
157
155
|
}, t.$attrs, {
|
|
158
|
-
"onUpdate:modelValue":
|
|
156
|
+
"onUpdate:modelValue": h[0] || (h[0] = (k) => f.value = k),
|
|
159
157
|
placeholder: t.placeholder,
|
|
160
158
|
name: t.name,
|
|
161
159
|
disabled: t.disabled,
|
|
@@ -166,7 +164,7 @@ const A = ["for"], P = { key: 0 }, G = ["id", "placeholder", "name", "disabled",
|
|
|
166
164
|
focus: w,
|
|
167
165
|
change: E
|
|
168
166
|
}, !0)), null, 16, G), [
|
|
169
|
-
[_,
|
|
167
|
+
[_, f.value]
|
|
170
168
|
])
|
|
171
169
|
],
|
|
172
170
|
6
|
|
@@ -175,8 +173,8 @@ const A = ["for"], P = { key: 0 }, G = ["id", "placeholder", "name", "disabled",
|
|
|
175
173
|
}
|
|
176
174
|
}), K = (r, o) => {
|
|
177
175
|
const e = r.__vccOpts || r;
|
|
178
|
-
for (const [a,
|
|
179
|
-
e[a] =
|
|
176
|
+
for (const [a, n] of o)
|
|
177
|
+
e[a] = n;
|
|
180
178
|
return e;
|
|
181
179
|
}, X = /* @__PURE__ */ K(J, [["__scopeId", "data-v-e42cdaa5"]]);
|
|
182
180
|
export {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.m-link[data-v-
|
|
1
|
+
.m-link[data-v-40bf35c6]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;cursor:pointer;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:.25rem;text-decoration-line:none;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;-webkit-transition-duration:.2s;transition-duration:.2s;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-link.--underline[data-v-40bf35c6],.m-link.--underline-only-hover[data-v-40bf35c6]:hover{text-decoration-line:underline}.m-link.--primary[data-v-40bf35c6]{color:var(--maz-color-primary)}.m-link.--primary[data-v-40bf35c6]:hover{color:var(--maz-color-primary-600)}.m-link.--secondary[data-v-40bf35c6]{color:var(--maz-color-secondary)}.m-link.--secondary[data-v-40bf35c6]:hover{color:var(--maz-color-secondary-600)}.m-link.--info[data-v-40bf35c6]{color:var(--maz-color-info)}.m-link.--info[data-v-40bf35c6]:hover{color:var(--maz-color-info-600)}.m-link.--warning[data-v-40bf35c6]{color:var(--maz-color-warning-600)}.m-link.--warning[data-v-40bf35c6]:hover{color:var(--maz-color-warning-800)}.m-link.--danger[data-v-40bf35c6]{color:var(--maz-color-danger-600)}.m-link.--danger[data-v-40bf35c6]:hover{color:var(--maz-color-danger-800)}.m-link.--success[data-v-40bf35c6]{color:var(--maz-color-success-600)}.m-link.--success[data-v-40bf35c6]:hover{color:var(--maz-color-success-800)}.m-link.--white[data-v-40bf35c6]{color:var(--maz-color-white)}.m-link.--white[data-v-40bf35c6]:hover{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.m-link.--black[data-v-40bf35c6]{color:var(--maz-color-black)}.m-link.--black[data-v-40bf35c6]:hover{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.m-link.--theme[data-v-40bf35c6]{color:var(--maz-color-text)}.m-link.--theme[data-v-40bf35c6]:hover{color:var(--maz-color-black)}.m-link.--theme[data-v-40bf35c6]:hover:is([class~=dark] *){color:var(--maz-color-white)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.m-table[data-v-
|
|
1
|
+
.m-table[data-v-09c7d566]{position:relative;max-width:100%}.m-table-header[data-v-09c7d566]{display:-webkit-box;display:-ms-flexbox;display:flex;max-width:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:.5rem;background-color:var(--maz-color-bg);padding-top:.5rem;padding-bottom:.5rem}.m-table-header-search[data-v-09c7d566]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:.5rem}.m-table-header-title[data-v-09c7d566]{font-weight:600}.m-table-footer[data-v-09c7d566]{display:-webkit-box;display:-ms-flexbox;display:flex;max-width:100%;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:.5rem;background-color:var(--maz-color-bg);padding:.5rem}.m-table-footer-pagination[data-v-09c7d566]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:1rem}.m-table-footer-pagination-buttons[data-v-09c7d566],.m-table-footer-pagination-items-per-page[data-v-09c7d566]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:.25rem}.m-table-wrapper[data-v-09c7d566]{overflow:hidden;border-radius:.75rem;border-width:var(--maz-border-width);border-style:solid;border-color:var(--maz-color-bg-light)}.m-table-wrapper.--rounded-none[data-v-09c7d566]{border-radius:0}.m-table-wrapper.--rounded-sm[data-v-09c7d566]{border-radius:.125rem}.m-table-wrapper.--rounded-md[data-v-09c7d566]{border-radius:.375rem}.m-table-wrapper.--rounded-lg[data-v-09c7d566]{border-radius:.5rem}.m-table-wrapper.--rounded-xl[data-v-09c7d566]{border-radius:.75rem}.m-table.--has-header[data-v-09c7d566]{border-radius:var(--maz-border-radius)}.m-table:not(.--has-header) table[data-v-09c7d566]{border-radius:var(--maz-border-radius)}.m-table table[data-v-09c7d566]{display:table;width:100%;border-collapse:collapse;background-color:var(--maz-color-bg);table-layout:var(--d3635954)}.m-table table.--has-layout[data-v-09c7d566]{width:100%}.m-table table.--elevation[data-v-09c7d566]{-webkit-box-shadow:0 5px 10px 0 hsla(0,0%,0%,.05);box-shadow:0 5px 10px #0000000d}.m-table table .m-table-select-column[data-v-09c7d566]{width:2.9rem}.m-table table caption[data-v-09c7d566]{padding:.75rem;caption-side:var(--1dde4b1b)}.m-table table thead[data-v-09c7d566]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all;border-bottom-width:var(--maz-border-width);border-color:var(--maz-color-bg-light)}.m-table table thead th[data-v-09c7d566]{gap:.5rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all;font-weight:400;letter-spacing:-.025em;color:var(--maz-color-muted)}.m-table table thead th.--hidden[data-v-09c7d566]{display:none}.m-table table thead th.--sortable[data-v-09c7d566]{cursor:pointer}.m-table table thead th.--sortable[data-v-09c7d566]:hover{background-color:var(--maz-color-bg-light)}.m-table table thead th.--sortable[data-v-09c7d566]:is([class~=dark] *):hover{background-color:var(--maz-color-bg-lighter)}.m-table table thead th.--xl[data-v-09c7d566]{padding:1.25rem;font-size:1.125rem;line-height:1.75rem}.m-table table thead th.--lg[data-v-09c7d566]{padding:1rem;font-size:1rem;line-height:1.5rem}.m-table table thead th.--md[data-v-09c7d566]{padding:.75rem;font-size:.875rem;line-height:1.25rem}.m-table table thead th.--sm[data-v-09c7d566]{padding:.5rem;font-size:.75rem;line-height:1rem}.m-table table thead th.--xs[data-v-09c7d566]{padding:.25rem;font-size:.75rem;line-height:1rem}.m-table table thead th.--mini[data-v-09c7d566]{padding:.125rem;font-size:.75rem;line-height:1rem}.m-table table thead th span[data-v-09c7d566]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.m-table table thead th span .m-table-sort-icon-wrapper[data-v-09c7d566]{height:1rem;width:1rem}.m-table table thead th span .m-table-sort-icon[data-v-09c7d566]{color:var(--maz-color-muted);-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1);-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:cubic-bezier(0,0,.2,1);transition-timing-function:cubic-bezier(0,0,.2,1)}.m-table table thead th span .m-table-sort-icon.--sorted[data-v-09c7d566]{display:block;color:var(--maz-color-text)}.m-table table thead th span .m-table-sort-icon.--sorted.--up[data-v-09c7d566]{--tw-rotate: 0deg;-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.m-table table thead th span .m-table-sort-icon.--sorted.--down[data-v-09c7d566]{--tw-rotate: 180deg;-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.m-table table tbody.--divider[data-v-09c7d566]>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(var(--maz-border-width) * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(var(--maz-border-width) * var(--tw-divide-y-reverse));border-color:var(--maz-color-bg-light)}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as a, createElementBlock as l, normalizeClass as t, normalizeStyle as n, renderSlot as r } from "vue";
|
|
2
|
-
import { _ as s } from "./MazTabsBar-
|
|
2
|
+
import { _ as s } from "./MazTabsBar-CM-w7V97.mjs";
|
|
3
3
|
import '../assets/MazBadge.css';const d = /* @__PURE__ */ o({
|
|
4
4
|
__name: "MazBadge",
|
|
5
5
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as i, createElementBlock as
|
|
1
|
+
import { openBlock as i, createElementBlock as h, createElementVNode as d, defineComponent as M, ref as S, onMounted as V, watch as D, createBlock as k, Teleport as P, createVNode as A, Transition as N, withCtx as v, normalizeClass as b, withModifiers as O, mergeProps as $, renderSlot as z, createCommentVNode as L, defineAsyncComponent as T, unref as w } from "vue";
|
|
2
2
|
import '../assets/MazBottomSheet.css';const x = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
width: "1em",
|
|
@@ -7,7 +7,7 @@ import '../assets/MazBottomSheet.css';const x = {
|
|
|
7
7
|
viewBox: "0 0 24 24"
|
|
8
8
|
};
|
|
9
9
|
function K(a, l) {
|
|
10
|
-
return i(),
|
|
10
|
+
return i(), h("svg", x, l[0] || (l[0] = [
|
|
11
11
|
d(
|
|
12
12
|
"path",
|
|
13
13
|
{
|
|
@@ -23,7 +23,7 @@ function K(a, l) {
|
|
|
23
23
|
)
|
|
24
24
|
]));
|
|
25
25
|
}
|
|
26
|
-
const F = { render: K },
|
|
26
|
+
const F = { render: K }, _ = "--backdrop-present", I = /* @__PURE__ */ M({
|
|
27
27
|
inheritAttrs: !1,
|
|
28
28
|
__name: "MazBackdrop",
|
|
29
29
|
props: {
|
|
@@ -40,61 +40,61 @@ const F = { render: K }, h = "--backdrop-present", I = /* @__PURE__ */ A({
|
|
|
40
40
|
setup(a, { expose: l, emit: r }) {
|
|
41
41
|
const o = a, t = r;
|
|
42
42
|
function n() {
|
|
43
|
-
document.documentElement.classList.add(
|
|
43
|
+
document.documentElement.classList.add(_);
|
|
44
44
|
}
|
|
45
45
|
async function s() {
|
|
46
|
-
document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(
|
|
46
|
+
document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(_);
|
|
47
47
|
}
|
|
48
|
-
const c =
|
|
48
|
+
const c = S(o.modelValue);
|
|
49
49
|
function m() {
|
|
50
|
-
|
|
50
|
+
C(!1);
|
|
51
51
|
}
|
|
52
|
-
async function
|
|
52
|
+
async function C(e) {
|
|
53
53
|
var f;
|
|
54
54
|
e || (t("before-close"), await ((f = o.beforeClose) == null ? void 0 : f.call(o))), c.value = e;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function y() {
|
|
57
57
|
t("open");
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function B() {
|
|
60
60
|
t("update:model-value", !1), t("close"), p();
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function E() {
|
|
63
63
|
o.persistent || m();
|
|
64
64
|
}
|
|
65
65
|
function u(e) {
|
|
66
66
|
!o.noCloseOnEscKey && e.key === "Escape" && !o.persistent && m();
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function g() {
|
|
69
69
|
n(), document.addEventListener("keyup", u, !1);
|
|
70
70
|
}
|
|
71
71
|
function p() {
|
|
72
72
|
document.removeEventListener("keyup", u), s();
|
|
73
73
|
}
|
|
74
74
|
return V(() => {
|
|
75
|
-
o.modelValue ?
|
|
75
|
+
o.modelValue ? g() : p();
|
|
76
76
|
}), D(
|
|
77
77
|
() => o.modelValue,
|
|
78
78
|
(e) => {
|
|
79
|
-
c.value = e, e ?
|
|
79
|
+
c.value = e, e ? g() : p();
|
|
80
80
|
}
|
|
81
81
|
), l({
|
|
82
|
-
onBackdropAnimationEnter:
|
|
83
|
-
onBackdropAnimationLeave:
|
|
84
|
-
onBackdropClicked:
|
|
82
|
+
onBackdropAnimationEnter: y,
|
|
83
|
+
onBackdropAnimationLeave: B,
|
|
84
|
+
onBackdropClicked: E,
|
|
85
85
|
close: m,
|
|
86
86
|
present: c,
|
|
87
|
-
toggleModal:
|
|
87
|
+
toggleModal: C,
|
|
88
88
|
onKeyPress: u
|
|
89
89
|
}), (e, f) => (i(), k(P, { to: e.teleportSelector }, [
|
|
90
|
-
|
|
90
|
+
A(N, {
|
|
91
91
|
appear: "",
|
|
92
92
|
name: e.transitionName,
|
|
93
|
-
onAfterEnter:
|
|
94
|
-
onAfterLeave:
|
|
93
|
+
onAfterEnter: y,
|
|
94
|
+
onAfterLeave: B
|
|
95
95
|
}, {
|
|
96
96
|
default: v(() => [
|
|
97
|
-
c.value ? (i(),
|
|
97
|
+
c.value ? (i(), h(
|
|
98
98
|
"div",
|
|
99
99
|
{
|
|
100
100
|
key: 0,
|
|
@@ -108,7 +108,7 @@ const F = { render: K }, h = "--backdrop-present", I = /* @__PURE__ */ A({
|
|
|
108
108
|
{
|
|
109
109
|
class: b(["m-backdrop-overlay", { "--disabled": e.persistent }]),
|
|
110
110
|
tabindex: "-1",
|
|
111
|
-
onClick: O(
|
|
111
|
+
onClick: O(E, ["self"])
|
|
112
112
|
},
|
|
113
113
|
null,
|
|
114
114
|
2
|
|
@@ -131,14 +131,14 @@ const F = { render: K }, h = "--backdrop-present", I = /* @__PURE__ */ A({
|
|
|
131
131
|
],
|
|
132
132
|
2
|
|
133
133
|
/* CLASS */
|
|
134
|
-
)) :
|
|
134
|
+
)) : L("v-if", !0)
|
|
135
135
|
]),
|
|
136
136
|
_: 3
|
|
137
137
|
/* FORWARDED */
|
|
138
138
|
}, 8, ["name"])
|
|
139
139
|
], 8, ["to"]));
|
|
140
140
|
}
|
|
141
|
-
}), j = /* @__PURE__ */
|
|
141
|
+
}), j = /* @__PURE__ */ M({
|
|
142
142
|
__name: "MazBottomSheet",
|
|
143
143
|
props: {
|
|
144
144
|
noClose: { type: Boolean, default: !1 },
|
|
@@ -146,7 +146,7 @@ const F = { render: K }, h = "--backdrop-present", I = /* @__PURE__ */ A({
|
|
|
146
146
|
},
|
|
147
147
|
emits: ["update:model-value", "open", "close"],
|
|
148
148
|
setup(a, { emit: l }) {
|
|
149
|
-
const r = l, o = T(() => import("./MazBtn-
|
|
149
|
+
const r = l, o = T(() => import("./MazBtn-DENEMy-c.mjs"));
|
|
150
150
|
return (t, n) => (i(), k(I, {
|
|
151
151
|
"transition-name": "bottom-sheet-anim",
|
|
152
152
|
"backdrop-class": "--bottom-sheet",
|
|
@@ -163,7 +163,6 @@ const F = { render: K }, h = "--backdrop-present", I = /* @__PURE__ */ A({
|
|
|
163
163
|
}])
|
|
164
164
|
},
|
|
165
165
|
[
|
|
166
|
-
C(" Slot content "),
|
|
167
166
|
z(t.$slots, "default", { close: s }, () => [
|
|
168
167
|
n[3] || (n[3] = d(
|
|
169
168
|
"div",
|
|
@@ -175,7 +174,7 @@ const F = { render: K }, h = "--backdrop-present", I = /* @__PURE__ */ A({
|
|
|
175
174
|
/* HOISTED */
|
|
176
175
|
))
|
|
177
176
|
], !0),
|
|
178
|
-
a.noClose ?
|
|
177
|
+
a.noClose ? L("v-if", !0) : (i(), k(w(o), {
|
|
179
178
|
key: 0,
|
|
180
179
|
size: "sm",
|
|
181
180
|
class: "m-bottom-sheet__close",
|
|
@@ -183,7 +182,7 @@ const F = { render: K }, h = "--backdrop-present", I = /* @__PURE__ */ A({
|
|
|
183
182
|
onClick: s
|
|
184
183
|
}, {
|
|
185
184
|
default: v(() => [
|
|
186
|
-
|
|
185
|
+
A(w(F), { class: "maz-text-lg" })
|
|
187
186
|
]),
|
|
188
187
|
_: 2
|
|
189
188
|
/* DYNAMIC */
|