maz-ui 3.34.0 → 3.35.0
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.d.ts +11 -11
- package/components/MazAvatar.d.ts +17 -17
- package/components/MazBackdrop.d.ts +11 -11
- package/components/MazBadge.d.ts +11 -11
- package/components/MazBadge.mjs +4 -4
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.d.ts +12 -12
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.d.ts +13 -13
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.d.ts +11 -11
- package/components/MazCarousel.d.ts +11 -11
- package/components/MazCarousel.mjs +1 -1
- package/components/MazChart.d.ts +3 -3
- package/components/MazCheckbox.d.ts +14 -14
- package/components/MazCheckbox.mjs +14 -14
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.d.ts +11 -11
- package/components/MazDrawer.mjs +1 -1
- package/components/MazDropdown.d.ts +15 -15
- package/components/MazDropdown.mjs +1 -1
- package/components/MazDropzone.d.ts +2 -2
- package/components/MazFullscreenLoader.d.ts +11 -11
- package/components/MazGallery.d.ts +2 -2
- package/components/MazIcon.d.ts +3 -3
- package/components/MazInput.d.ts +22 -22
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.d.ts +17 -17
- package/components/MazInputCode.mjs +10 -10
- package/components/MazInputNumber.d.ts +16 -16
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.d.ts +13 -13
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.d.ts +6 -6
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.d.ts +15 -15
- package/components/MazLoadingBar.d.ts +11 -11
- package/components/MazPagination.d.ts +11 -11
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput.d.ts +16 -18
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +4 -4
- package/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
- package/components/MazPicker.d.ts +25 -25
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.d.ts +14 -14
- package/components/MazRadio.d.ts +3 -3
- package/components/MazRadio.mjs +25 -25
- package/components/MazRadioButtons.d.ts +2 -2
- package/components/MazReadingProgressBar.d.ts +12 -12
- package/components/MazSelect.d.ts +26 -19
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider.d.ts +1 -1
- package/components/MazSlider.mjs +12 -12
- package/components/MazStepper.d.ts +11 -11
- package/components/MazSwitch.d.ts +3 -3
- package/components/MazTable.d.ts +16 -16
- package/components/MazTable.mjs +1 -1
- package/components/MazTableRow.d.ts +7 -7
- package/components/MazTabs.d.ts +8 -8
- package/components/MazTabsBar.d.ts +11 -11
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTextarea.d.ts +18 -18
- package/components/MazTextarea.mjs +1 -1
- package/components/MazTransitionExpand.d.ts +11 -11
- package/components/assets/MazBadge.css +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazCheckbox.css +1 -1
- package/components/assets/MazInput.css +1 -1
- package/components/assets/MazInputCode.css +1 -1
- package/components/assets/MazInputNumber.css +1 -1
- package/components/assets/MazInputPrice.css +1 -1
- package/components/assets/MazInputTags.css +1 -1
- package/components/assets/MazPagination.css +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazPicker.css +1 -1
- package/components/assets/MazRadio.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazSlider.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTextarea.css +1 -1
- package/components/chunks/{MazBadge-CsbAI2I6.mjs → MazBadge-DyDXRPZk.mjs} +3 -3
- package/components/chunks/{MazBottomSheet-IOMz8ZtA.mjs → MazBottomSheet-BBrSS82i.mjs} +1 -1
- package/components/chunks/{MazBtn-DjpBpYlq.mjs → MazBtn-B4pnS706.mjs} +3 -3
- package/components/chunks/{MazBtn-BdEnwPnp.mjs → MazBtn-BrGm_GFq.mjs} +3 -3
- package/components/chunks/{MazBtn-DZhSEsre.mjs → MazBtn-BuKj2FC6.mjs} +11 -11
- package/components/chunks/{MazBtn-BiYUlXj8.mjs → MazBtn-CEuoZU_j.mjs} +3 -3
- package/components/chunks/{MazBtn-CVoiIKdn.mjs → MazBtn-CR9C_X7R.mjs} +3 -3
- package/components/chunks/MazBtn-DOVfeoo4.mjs +151 -0
- package/components/chunks/{MazBtn-BLeRuCcP.mjs → MazBtn-DQf0voll.mjs} +3 -3
- package/components/chunks/{MazBtn-DEM8T_xK.mjs → MazBtn-DZiMHU6q.mjs} +3 -3
- package/components/chunks/{MazBtn-DgGnjAgh.mjs → MazBtn-MuVROF9V.mjs} +11 -11
- package/components/chunks/{MazBtn-Bld9PMTY.mjs → MazBtn-U_V3Ywa7.mjs} +3 -3
- package/components/chunks/MazBtn-pY3gOUjM.mjs +151 -0
- package/components/chunks/{MazBtn-BZU-kmln.mjs → MazBtn-xmWwJAcK.mjs} +3 -3
- package/components/chunks/{MazCard-B1hUjMu-.mjs → MazCard-BF5zuDCX.mjs} +1 -1
- package/components/chunks/{MazCarousel-Cbw4b5LC.mjs → MazCarousel-CwxTOUqt.mjs} +1 -1
- package/components/chunks/{MazCheckbox-DDw-_poJ.mjs → MazCheckbox-BBRjlgY4.mjs} +9 -9
- package/components/chunks/{MazCheckbox-DKvq4VIy.mjs → MazCheckbox-BzrXpIyp.mjs} +9 -9
- package/components/chunks/{MazDialog-fdEu8dqH.mjs → MazDialog-DtQm-sV0.mjs} +1 -1
- package/components/chunks/{MazDialogPromise-DDqxVbOE.mjs → MazDialogPromise-CWl8N4Af.mjs} +2 -2
- package/components/chunks/{MazGallery-CBjEzpNH.mjs → MazGallery-CftFYr2G.mjs} +2 -2
- package/components/chunks/{MazIcon-CSZF8Zgz.mjs → MazIcon-COn5JlL6.mjs} +1 -1
- package/components/chunks/{MazInput-TEx7J5N7.mjs → MazInput-D0TWjPBi.mjs} +2 -2
- package/components/chunks/{MazInputNumber-DSWPuRyf.mjs → MazInputNumber-DQHieHlW.mjs} +28 -28
- package/components/chunks/{MazInputPrice-c1-f5bLy.mjs → MazInputPrice-Cxl1Jyt_.mjs} +2 -2
- package/components/chunks/{MazInputTags-Bk4noSYS.mjs → MazInputTags-ei2hsVtZ.mjs} +5 -5
- package/components/chunks/{MazPagination-Br-f0ZVV.mjs → MazPagination-Ch7JcLI8.mjs} +21 -21
- package/components/chunks/MazPhoneNumberInput-7Tk_G1ML.mjs +1182 -0
- package/components/chunks/{MazPicker-DkhueOQs.mjs → MazPicker-0BySEpq3.mjs} +9 -5
- package/components/chunks/{MazPickerCalendar-Cd4MGmvK.mjs → MazPickerCalendar-M6_osHAP.mjs} +3 -3
- package/components/chunks/{MazPickerHeader-BLGlt-9S.mjs → MazPickerHeader-D-6gwiN9.mjs} +1 -1
- package/components/chunks/{MazPickerMonthSwitcher-RYdc195h.mjs → MazPickerMonthSwitcher-B_kJM06G.mjs} +2 -2
- package/components/chunks/{MazPickerShortcuts-B1lUGuzu.mjs → MazPickerShortcuts-C-YOCADE.mjs} +2 -2
- package/components/chunks/{MazPickerTime-CmgmjUlO.mjs → MazPickerTime-gWRhtXec.mjs} +2 -2
- package/components/chunks/{MazPickerYearSwitcher-BaVPROJ1.mjs → MazPickerYearSwitcher-B346Biv4.mjs} +3 -3
- package/components/chunks/MazSelect-CVmgnTR-.mjs +673 -0
- package/components/chunks/{MazSpinner-BBQEKTI2.mjs → MazSpinner-B0bJbNaN.mjs} +1 -1
- package/components/chunks/MazSpinner-BLbqePcG.mjs +38 -0
- package/components/chunks/{MazSpinner-CdarwsHw.mjs → MazSpinner-C5f5Mg-w.mjs} +1 -1
- package/components/chunks/{MazSpinner-Cij1TGF9.mjs → MazSpinner-CAJ4x6v1.mjs} +1 -1
- package/components/chunks/MazSpinner-CB4XzJJF.mjs +38 -0
- package/components/chunks/MazSpinner-CCnDkF4m.mjs +38 -0
- package/components/chunks/MazSpinner-CRYzqbIv.mjs +38 -0
- package/components/chunks/{MazSpinner-BXVRU6of.mjs → MazSpinner-Ciltd2Ol.mjs} +1 -1
- package/components/chunks/MazSpinner-Cq67KMlY.mjs +38 -0
- package/components/chunks/{MazSpinner-CUYiN6_w.mjs → MazSpinner-Dl82qu_a.mjs} +1 -1
- package/components/chunks/{MazSpinner-6_mdlWzG.mjs → MazSpinner-Dtj8OoQj.mjs} +1 -1
- package/components/chunks/MazSpinner-Dty6fcnV.mjs +38 -0
- package/components/chunks/MazSpinner-MuTCx2Oq.mjs +38 -0
- package/components/chunks/MazSpinner-Pgu1cz7Q.mjs +38 -0
- package/components/chunks/{MazSpinner-Bdg7tlJM.mjs → MazSpinner-f-abl7KS.mjs} +1 -1
- package/components/chunks/{MazSpinner-Brr8ZDcU.mjs → MazSpinner-yQqsC2ED.mjs} +1 -1
- package/components/chunks/MazTable-BNHsIaXl.mjs +1774 -0
- package/components/chunks/{MazTabsBar-DE8W7hxw.mjs → MazTabsBar-CMH7Jt-K.mjs} +1 -1
- package/components/chunks/{MazTransitionExpand-Nib1jCR7.mjs → MazTransitionExpand-ChDxDDLP.mjs} +1 -1
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/chunks/{MazBtn-slucsujG.mjs → MazBtn-C7UJhdwD.mjs} +3 -3
- package/modules/chunks/{MazBtn-Ds3ljkPz.cjs → MazBtn-CAqBCvkl.cjs} +2 -2
- package/modules/chunks/{MazIcon-BFDvFiQo.cjs → MazIcon-D67r-mVk.cjs} +1 -1
- package/modules/chunks/{MazIcon-DaJQEFh2.mjs → MazIcon-Do-AT_Gw.mjs} +1 -1
- package/modules/chunks/{MazSpinner-_fcsae1V.mjs → MazSpinner-BGhcM5_9.mjs} +1 -1
- package/modules/chunks/{MazSpinner-B2otf393.cjs → MazSpinner-BwqMyVx2.cjs} +1 -1
- package/modules/chunks/{index-B48OKfFt.cjs → index-BvpGBt8_.cjs} +1 -1
- package/modules/chunks/{index-CWAO7a8o.mjs → index-Cd939Pzv.mjs} +2 -2
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/package.json +14 -14
- package/tailwindcss/variables/colors.ts +1 -0
- package/types/components/MazAccordion.vue.d.ts +11 -11
- package/types/components/MazAvatar.vue.d.ts +17 -17
- package/types/components/MazBackdrop.vue.d.ts +11 -11
- package/types/components/MazBadge.vue.d.ts +11 -11
- package/types/components/MazBtn.vue.d.ts +12 -12
- package/types/components/MazCard.vue.d.ts +13 -13
- package/types/components/MazCardSpotlight.vue.d.ts +11 -11
- package/types/components/MazCarousel.vue.d.ts +11 -11
- package/types/components/MazChart.vue.d.ts +3 -3
- package/types/components/MazCheckbox.vue.d.ts +14 -14
- package/types/components/MazDrawer.vue.d.ts +11 -11
- package/types/components/MazDropdown.vue.d.ts +15 -15
- package/types/components/MazDropzone.vue.d.ts +2 -2
- package/types/components/MazFullscreenLoader.vue.d.ts +11 -11
- package/types/components/MazGallery.vue.d.ts +2 -2
- package/types/components/MazIcon.vue.d.ts +3 -3
- package/types/components/MazInput.vue.d.ts +22 -22
- package/types/components/MazInputCode.vue.d.ts +17 -17
- package/types/components/MazInputNumber.vue.d.ts +16 -16
- package/types/components/MazInputPrice.vue.d.ts +13 -13
- package/types/components/MazInputTags.vue.d.ts +6 -6
- package/types/components/MazLazyImg.vue.d.ts +15 -15
- package/types/components/MazLoadingBar.vue.d.ts +11 -11
- package/types/components/MazPagination.vue.d.ts +11 -11
- package/types/components/MazPhoneNumberInput.vue.d.ts +16 -18
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +4 -4
- package/types/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
- package/types/components/MazPicker.vue.d.ts +25 -25
- package/types/components/MazPullToRefresh.vue.d.ts +14 -14
- package/types/components/MazRadio.vue.d.ts +3 -3
- package/types/components/MazRadioButtons.vue.d.ts +2 -2
- package/types/components/MazReadingProgressBar.vue.d.ts +12 -12
- package/types/components/MazSelect.vue.d.ts +26 -19
- package/types/components/MazSlider.vue.d.ts +1 -1
- package/types/components/MazStepper.vue.d.ts +11 -11
- package/types/components/MazSwitch.vue.d.ts +3 -3
- package/types/components/MazTable.vue.d.ts +16 -16
- package/types/components/MazTableRow.vue.d.ts +7 -7
- package/types/components/MazTabs.vue.d.ts +8 -8
- package/types/components/MazTabsBar.vue.d.ts +11 -11
- package/types/components/MazTextarea.vue.d.ts +18 -18
- package/types/components/MazTransitionExpand.vue.d.ts +11 -11
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +21 -21
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +5 -5
- package/types/tailwindcss/variables/colors.d.ts +1 -0
- package/components/chunks/MazBtn-CusrA2rx.mjs +0 -151
- package/components/chunks/MazBtn-DkgRB9qr.mjs +0 -151
- package/components/chunks/MazPhoneNumberInput-srnmCNgX.mjs +0 -1144
- package/components/chunks/MazSelect-qw3H2BrO.mjs +0 -635
- package/components/chunks/MazSpinner-Ben5F7h9.mjs +0 -38
- package/components/chunks/MazSpinner-Bo1LZi2J.mjs +0 -38
- package/components/chunks/MazSpinner-CpI7ZXGf.mjs +0 -38
- package/components/chunks/MazSpinner-D3-BtZpG.mjs +0 -38
- package/components/chunks/MazSpinner-DpeLSgmM.mjs +0 -38
- package/components/chunks/MazSpinner-PJl43bO0.mjs +0 -38
- package/components/chunks/MazSpinner-Pnq_8QwR.mjs +0 -38
- package/components/chunks/MazSpinner-laG6L6kn.mjs +0 -38
- package/components/chunks/MazTable-BL_3hR2Z.mjs +0 -1736
|
@@ -2,12 +2,12 @@ export type Props = {
|
|
|
2
2
|
id?: string;
|
|
3
3
|
modelValue?: number;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
6
6
|
id: undefined;
|
|
7
7
|
modelValue: number;
|
|
8
8
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
9
|
"update:model-value": (...args: any[]) => void;
|
|
10
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
11
11
|
id: undefined;
|
|
12
12
|
modelValue: number;
|
|
13
13
|
}>>> & {
|
|
@@ -25,15 +25,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
25
|
}): any;
|
|
26
26
|
}>;
|
|
27
27
|
export default _default;
|
|
28
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
-
} : {
|
|
33
|
-
type: import('vue').PropType<T[K]>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
28
|
type __VLS_WithDefaults<P, D> = {
|
|
38
29
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
30
|
default: D[K];
|
|
@@ -47,3 +38,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
47
38
|
$slots: S;
|
|
48
39
|
};
|
|
49
40
|
};
|
|
41
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
+
type __VLS_TypePropsToOption<T> = {
|
|
43
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
+
} : {
|
|
46
|
+
type: import('vue').PropType<T[K]>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -42,7 +42,7 @@ export type Props = {
|
|
|
42
42
|
/** Load the fallback image by default */
|
|
43
43
|
noPhoto?: boolean;
|
|
44
44
|
};
|
|
45
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
45
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
46
46
|
src: undefined;
|
|
47
47
|
caption: undefined;
|
|
48
48
|
href: undefined;
|
|
@@ -60,7 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
60
60
|
loading: (el: Element) => void;
|
|
61
61
|
loaded: (el: Element) => void;
|
|
62
62
|
error: (el: Element) => void;
|
|
63
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
63
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
64
64
|
src: undefined;
|
|
65
65
|
caption: undefined;
|
|
66
66
|
href: undefined;
|
|
@@ -73,38 +73,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
73
73
|
roundedSize: string;
|
|
74
74
|
fallbackSrc: undefined;
|
|
75
75
|
}>>> & {
|
|
76
|
-
onError?: ((el: Element) => any) | undefined;
|
|
77
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
78
|
-
onLoaded?: ((el: Element) => any) | undefined;
|
|
79
76
|
onLoading?: ((el: Element) => any) | undefined;
|
|
77
|
+
onLoaded?: ((el: Element) => any) | undefined;
|
|
78
|
+
onError?: ((el: Element) => any) | undefined;
|
|
80
79
|
onIntersecting?: ((el: Element) => any) | undefined;
|
|
80
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
81
81
|
}, {
|
|
82
82
|
size: string;
|
|
83
83
|
caption: string | null;
|
|
84
84
|
src: string | null;
|
|
85
85
|
alt: string;
|
|
86
|
-
target: string;
|
|
87
86
|
href: string;
|
|
88
|
-
to: string | Record<string, unknown>;
|
|
89
87
|
fallbackSrc: string;
|
|
88
|
+
target: string;
|
|
89
|
+
to: string | Record<string, unknown>;
|
|
90
90
|
buttonColor: Color;
|
|
91
91
|
letterCount: number;
|
|
92
|
-
roundedSize: "
|
|
92
|
+
roundedSize: "md" | "lg" | "sm" | "xl" | "none" | "full";
|
|
93
93
|
}, {}>, {
|
|
94
94
|
"round-text"?(_: {}): any;
|
|
95
95
|
icon?(_: {}): any;
|
|
96
96
|
caption?(_: {}): any;
|
|
97
97
|
}>;
|
|
98
98
|
export default _default;
|
|
99
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
100
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
101
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
102
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
103
|
-
} : {
|
|
104
|
-
type: import('vue').PropType<T[K]>;
|
|
105
|
-
required: true;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
99
|
type __VLS_WithDefaults<P, D> = {
|
|
109
100
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
110
101
|
default: D[K];
|
|
@@ -118,3 +109,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
118
109
|
$slots: S;
|
|
119
110
|
};
|
|
120
111
|
};
|
|
112
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
113
|
+
type __VLS_TypePropsToOption<T> = {
|
|
114
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
115
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
116
|
+
} : {
|
|
117
|
+
type: import('vue').PropType<T[K]>;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
@@ -15,7 +15,7 @@ declare function onBackdropAnimationEnter(): void;
|
|
|
15
15
|
declare function onBackdropAnimationLeave(): void;
|
|
16
16
|
declare function onBackdropClicked(): void;
|
|
17
17
|
declare function onKeyPress(event: KeyboardEvent): void;
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
19
19
|
modelValue: boolean;
|
|
20
20
|
teleportSelector: string;
|
|
21
21
|
beforeClose: undefined;
|
|
@@ -37,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
37
37
|
close: () => void;
|
|
38
38
|
"update:model-value": (value: boolean) => void;
|
|
39
39
|
"before-close": () => void;
|
|
40
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
41
41
|
modelValue: boolean;
|
|
42
42
|
teleportSelector: string;
|
|
43
43
|
beforeClose: undefined;
|
|
@@ -66,15 +66,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
66
66
|
}): any;
|
|
67
67
|
}>;
|
|
68
68
|
export default _default;
|
|
69
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
70
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
71
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
72
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
73
|
-
} : {
|
|
74
|
-
type: import('vue').PropType<T[K]>;
|
|
75
|
-
required: true;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
69
|
type __VLS_WithDefaults<P, D> = {
|
|
79
70
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
80
71
|
default: D[K];
|
|
@@ -88,3 +79,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
88
79
|
$slots: S;
|
|
89
80
|
};
|
|
90
81
|
};
|
|
82
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
83
|
+
type __VLS_TypePropsToOption<T> = {
|
|
84
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
85
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
86
|
+
} : {
|
|
87
|
+
type: import('vue').PropType<T[K]>;
|
|
88
|
+
required: true;
|
|
89
|
+
};
|
|
90
|
+
};
|
package/components/MazBadge.d.ts
CHANGED
|
@@ -9,14 +9,14 @@ export type Props = {
|
|
|
9
9
|
pastel?: boolean;
|
|
10
10
|
roundedSize?: BadgeRoundedSize;
|
|
11
11
|
};
|
|
12
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
13
13
|
color: string;
|
|
14
14
|
size: string;
|
|
15
15
|
nowrap: boolean;
|
|
16
16
|
outline: boolean;
|
|
17
17
|
pastel: boolean;
|
|
18
18
|
roundedSize: string;
|
|
19
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
19
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
20
20
|
color: string;
|
|
21
21
|
size: string;
|
|
22
22
|
nowrap: boolean;
|
|
@@ -34,15 +34,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
34
34
|
default?(_: {}): any;
|
|
35
35
|
}>;
|
|
36
36
|
export default _default;
|
|
37
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
39
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
-
} : {
|
|
42
|
-
type: import('vue').PropType<T[K]>;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
37
|
type __VLS_WithDefaults<P, D> = {
|
|
47
38
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
39
|
default: D[K];
|
|
@@ -56,3 +47,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
56
47
|
$slots: S;
|
|
57
48
|
};
|
|
58
49
|
};
|
|
50
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
+
type __VLS_TypePropsToOption<T> = {
|
|
52
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
+
} : {
|
|
55
|
+
type: import('vue').PropType<T[K]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
};
|
package/components/MazBadge.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./assets/MazBadge.css";
|
|
2
|
-
import { defineComponent as n, openBlock as r, createElementBlock as s, normalizeClass as d, normalizeStyle as p, renderSlot as
|
|
3
|
-
const
|
|
2
|
+
import { defineComponent as n, openBlock as r, createElementBlock as s, normalizeClass as d, normalizeStyle as p, renderSlot as u } from "vue";
|
|
3
|
+
const f = /* @__PURE__ */ n({
|
|
4
4
|
__name: "MazBadge",
|
|
5
5
|
props: {
|
|
6
6
|
color: { default: "primary" },
|
|
@@ -22,7 +22,7 @@ const u = /* @__PURE__ */ n({
|
|
|
22
22
|
style: p({ fontSize: e.size })
|
|
23
23
|
},
|
|
24
24
|
[
|
|
25
|
-
|
|
25
|
+
u(e.$slots, "default", {}, void 0, !0)
|
|
26
26
|
],
|
|
27
27
|
6
|
|
28
28
|
/* CLASS, STYLE */
|
|
@@ -33,7 +33,7 @@ const u = /* @__PURE__ */ n({
|
|
|
33
33
|
for (const [t, l] of e)
|
|
34
34
|
a[t] = l;
|
|
35
35
|
return a;
|
|
36
|
-
}, z = /* @__PURE__ */ i(
|
|
36
|
+
}, z = /* @__PURE__ */ i(f, [["__scopeId", "data-v-08065bd2"]]);
|
|
37
37
|
export {
|
|
38
38
|
z as default
|
|
39
39
|
};
|
package/components/MazBtn.d.ts
CHANGED
|
@@ -99,7 +99,7 @@ export type Props = {
|
|
|
99
99
|
/** The class applied to the content wrapper (<span />) of the button */
|
|
100
100
|
contentClass?: any;
|
|
101
101
|
};
|
|
102
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
102
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
103
103
|
variant: string;
|
|
104
104
|
size: string;
|
|
105
105
|
color: string;
|
|
@@ -108,7 +108,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
108
108
|
leftIcon: undefined;
|
|
109
109
|
rightIcon: undefined;
|
|
110
110
|
contentClass: undefined;
|
|
111
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
111
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
112
112
|
variant: string;
|
|
113
113
|
size: string;
|
|
114
114
|
color: string;
|
|
@@ -119,8 +119,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
119
119
|
contentClass: undefined;
|
|
120
120
|
}>>>, {
|
|
121
121
|
size: Size;
|
|
122
|
+
type: "button" | "reset" | "submit";
|
|
122
123
|
color: Color;
|
|
123
|
-
type: "button" | "submit" | "reset";
|
|
124
124
|
variant: "button" | "link";
|
|
125
125
|
icon: string | Icon;
|
|
126
126
|
leftIcon: string | Icon;
|
|
@@ -133,15 +133,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
133
133
|
"right-icon"?(_: {}): any;
|
|
134
134
|
}>;
|
|
135
135
|
export default _default;
|
|
136
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
137
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
138
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
139
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
140
|
-
} : {
|
|
141
|
-
type: import('vue').PropType<T[K]>;
|
|
142
|
-
required: true;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
136
|
type __VLS_WithDefaults<P, D> = {
|
|
146
137
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
147
138
|
default: D[K];
|
|
@@ -155,3 +146,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
155
146
|
$slots: S;
|
|
156
147
|
};
|
|
157
148
|
};
|
|
149
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
150
|
+
type __VLS_TypePropsToOption<T> = {
|
|
151
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
152
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
153
|
+
} : {
|
|
154
|
+
type: import('vue').PropType<T[K]>;
|
|
155
|
+
required: true;
|
|
156
|
+
};
|
|
157
|
+
};
|
package/components/MazBtn.mjs
CHANGED
package/components/MazCard.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export type Props = {
|
|
|
46
46
|
/** Title of the card in header */
|
|
47
47
|
header?: string;
|
|
48
48
|
};
|
|
49
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
49
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
50
50
|
images: undefined;
|
|
51
51
|
orientation: string;
|
|
52
52
|
href: undefined;
|
|
@@ -62,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
62
62
|
scale: boolean;
|
|
63
63
|
wrapperClass: undefined;
|
|
64
64
|
header: undefined;
|
|
65
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
65
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
66
66
|
images: undefined;
|
|
67
67
|
orientation: string;
|
|
68
68
|
href: undefined;
|
|
@@ -80,11 +80,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
80
80
|
header: undefined;
|
|
81
81
|
}>>>, {
|
|
82
82
|
header: string;
|
|
83
|
-
|
|
83
|
+
orientation: "column" | "row" | "row-reverse" | "column-reverse";
|
|
84
84
|
href: string;
|
|
85
|
+
scale: boolean;
|
|
85
86
|
to: import("vue-router").RouteLocationRaw;
|
|
86
87
|
elevation: boolean;
|
|
87
|
-
orientation: "column" | "row" | "row-reverse" | "column-reverse";
|
|
88
88
|
radius: boolean;
|
|
89
89
|
images: MazGalleryImage[];
|
|
90
90
|
noRemaining: boolean;
|
|
@@ -104,15 +104,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
104
104
|
actions?(_: {}): any;
|
|
105
105
|
}>;
|
|
106
106
|
export default _default;
|
|
107
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
108
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
109
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
110
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
111
|
-
} : {
|
|
112
|
-
type: import('vue').PropType<T[K]>;
|
|
113
|
-
required: true;
|
|
114
|
-
};
|
|
115
|
-
};
|
|
116
107
|
type __VLS_WithDefaults<P, D> = {
|
|
117
108
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
118
109
|
default: D[K];
|
|
@@ -126,3 +117,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
126
117
|
$slots: S;
|
|
127
118
|
};
|
|
128
119
|
};
|
|
120
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
121
|
+
type __VLS_TypePropsToOption<T> = {
|
|
122
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
123
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
124
|
+
} : {
|
|
125
|
+
type: import('vue').PropType<T[K]>;
|
|
126
|
+
required: true;
|
|
127
|
+
};
|
|
128
|
+
};
|
package/components/MazCard.mjs
CHANGED
|
@@ -6,10 +6,10 @@ export type Props = {
|
|
|
6
6
|
/** Remove the elevation of the component. */
|
|
7
7
|
noElevation?: boolean;
|
|
8
8
|
};
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
10
10
|
noElevation: boolean;
|
|
11
11
|
color: string;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
13
13
|
noElevation: boolean;
|
|
14
14
|
color: string;
|
|
15
15
|
}>>>, {
|
|
@@ -19,15 +19,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
19
|
default?(_: {}): any;
|
|
20
20
|
}>;
|
|
21
21
|
export default _default;
|
|
22
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
-
} : {
|
|
27
|
-
type: import('vue').PropType<T[K]>;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
22
|
type __VLS_WithDefaults<P, D> = {
|
|
32
23
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
24
|
default: D[K];
|
|
@@ -41,3 +32,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
41
32
|
$slots: S;
|
|
42
33
|
};
|
|
43
34
|
};
|
|
35
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
36
|
+
type __VLS_TypePropsToOption<T> = {
|
|
37
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
38
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
39
|
+
} : {
|
|
40
|
+
type: import('vue').PropType<T[K]>;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -8,10 +8,10 @@ export type Props = {
|
|
|
8
8
|
/** Hide the scrollbar when not active */
|
|
9
9
|
hideScrollbar?: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
12
12
|
ariaLabelPreviousButton: string;
|
|
13
13
|
ariaLabelNextButton: string;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
15
15
|
ariaLabelPreviousButton: string;
|
|
16
16
|
ariaLabelNextButton: string;
|
|
17
17
|
}>>>, {
|
|
@@ -24,15 +24,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
24
|
default?(_: {}): any;
|
|
25
25
|
}>;
|
|
26
26
|
export default _default;
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
27
|
type __VLS_WithDefaults<P, D> = {
|
|
37
28
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
38
29
|
default: D[K];
|
|
@@ -46,3 +37,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
46
37
|
$slots: S;
|
|
47
38
|
};
|
|
48
39
|
};
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToOption<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
package/components/MazChart.d.ts
CHANGED
|
@@ -45,7 +45,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
* @see https://www.chartjs.org/docs/latest/developers/api.html#update-mode
|
|
46
46
|
*/
|
|
47
47
|
updateMode: {
|
|
48
|
-
type: PropType<"
|
|
48
|
+
type: PropType<"reset" | "resize" | "default" | "none" | "hide" | "show" | "active">;
|
|
49
49
|
default: undefined;
|
|
50
50
|
};
|
|
51
51
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -92,13 +92,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
92
92
|
* @see https://www.chartjs.org/docs/latest/developers/api.html#update-mode
|
|
93
93
|
*/
|
|
94
94
|
updateMode: {
|
|
95
|
-
type: PropType<"
|
|
95
|
+
type: PropType<"reset" | "resize" | "default" | "none" | "hide" | "show" | "active">;
|
|
96
96
|
default: undefined;
|
|
97
97
|
};
|
|
98
98
|
}>>, {
|
|
99
99
|
options: Record<string, any>;
|
|
100
100
|
plugins: unknown[];
|
|
101
101
|
datasetIdKey: string;
|
|
102
|
-
updateMode: "
|
|
102
|
+
updateMode: "reset" | "resize" | "default" | "none" | "hide" | "show" | "active";
|
|
103
103
|
}, {}>;
|
|
104
104
|
export default _default;
|
|
@@ -12,7 +12,7 @@ export type Props = {
|
|
|
12
12
|
size?: Size;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
};
|
|
15
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
16
16
|
style: undefined;
|
|
17
17
|
class: undefined;
|
|
18
18
|
modelValue: undefined;
|
|
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
25
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
26
|
change: (...args: any[]) => void;
|
|
27
27
|
"update:model-value": (...args: any[]) => void;
|
|
28
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<
|
|
28
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
29
29
|
style: undefined;
|
|
30
30
|
class: undefined;
|
|
31
31
|
modelValue: undefined;
|
|
@@ -40,27 +40,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
40
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
41
41
|
}, {
|
|
42
42
|
size: Size;
|
|
43
|
-
color: Color;
|
|
44
43
|
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
45
|
-
class: any;
|
|
46
44
|
name: string;
|
|
45
|
+
id: string;
|
|
47
46
|
disabled: boolean;
|
|
48
47
|
value: string | number | boolean;
|
|
49
|
-
|
|
48
|
+
color: Color;
|
|
49
|
+
class: any;
|
|
50
50
|
modelValue: boolean | (string | number)[];
|
|
51
51
|
}, {}>, {
|
|
52
52
|
default?(_: {}): any;
|
|
53
53
|
}>;
|
|
54
54
|
export default _default;
|
|
55
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
57
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
-
} : {
|
|
60
|
-
type: import('vue').PropType<T[K]>;
|
|
61
|
-
required: true;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
55
|
type __VLS_WithDefaults<P, D> = {
|
|
65
56
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
66
57
|
default: D[K];
|
|
@@ -74,3 +65,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
74
65
|
$slots: S;
|
|
75
66
|
};
|
|
76
67
|
};
|
|
68
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
69
|
+
type __VLS_TypePropsToOption<T> = {
|
|
70
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
71
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
72
|
+
} : {
|
|
73
|
+
type: import('vue').PropType<T[K]>;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
76
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./assets/MazCheckbox.css";
|
|
2
|
-
import { computed as r, openBlock as
|
|
2
|
+
import { computed as r, openBlock as b, createElementBlock as k, createElementVNode as u, defineComponent as w, useCssVars as C, getCurrentInstance as I, unref as d, normalizeClass as p, normalizeStyle as S, mergeProps as B, createVNode as A, renderSlot as N } from "vue";
|
|
3
3
|
const $ = ({
|
|
4
4
|
componentName: t,
|
|
5
5
|
instance: a,
|
|
@@ -26,7 +26,7 @@ const $ = ({
|
|
|
26
26
|
E
|
|
27
27
|
];
|
|
28
28
|
function q(t, a) {
|
|
29
|
-
return
|
|
29
|
+
return b(), k("svg", M, [...j]);
|
|
30
30
|
}
|
|
31
31
|
const D = { render: q }, H = ["for", "aria-checked"], K = ["id", "checked", "disabled", "name"], O = /* @__PURE__ */ w({
|
|
32
32
|
inheritAttrs: !1,
|
|
@@ -50,12 +50,12 @@ const D = { render: q }, H = ["for", "aria-checked"], K = ["id", "checked", "dis
|
|
|
50
50
|
],
|
|
51
51
|
setup(t, { emit: a }) {
|
|
52
52
|
C((o) => ({
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
"
|
|
53
|
+
b8e5fc84: y.value,
|
|
54
|
+
"01c73ce0": x.value,
|
|
55
|
+
"911738ee": z.value,
|
|
56
|
+
"108a1568": V.value
|
|
57
57
|
}));
|
|
58
|
-
const n = I(), e = t,
|
|
58
|
+
const n = I(), e = t, c = a, i = $({
|
|
59
59
|
componentName: "MazCheckbox",
|
|
60
60
|
instance: n,
|
|
61
61
|
providedId: e.id
|
|
@@ -102,9 +102,9 @@ const D = { render: q }, H = ["for", "aria-checked"], K = ["id", "checked", "dis
|
|
|
102
102
|
}
|
|
103
103
|
function f(o) {
|
|
104
104
|
const l = _(o);
|
|
105
|
-
|
|
105
|
+
c("update:model-value", l), c("change", l);
|
|
106
106
|
}
|
|
107
|
-
return (o, l) => (
|
|
107
|
+
return (o, l) => (b(), k("label", {
|
|
108
108
|
for: d(i),
|
|
109
109
|
class: p(["m-checkbox", [{ "--disabled": o.disabled }, e.class]]),
|
|
110
110
|
tabindex: "0",
|
|
@@ -121,9 +121,9 @@ const D = { render: q }, H = ["for", "aria-checked"], K = ["id", "checked", "dis
|
|
|
121
121
|
disabled: o.disabled,
|
|
122
122
|
name: o.name,
|
|
123
123
|
type: "checkbox",
|
|
124
|
-
onChange: l[0] || (l[0] = (
|
|
124
|
+
onChange: l[0] || (l[0] = (s) => {
|
|
125
125
|
var h;
|
|
126
|
-
return f(o.value ?? ((h =
|
|
126
|
+
return f(o.value ?? ((h = s == null ? void 0 : s.target) == null ? void 0 : h.checked));
|
|
127
127
|
})
|
|
128
128
|
}), null, 16, K),
|
|
129
129
|
u("span", null, [
|
|
@@ -136,10 +136,10 @@ const D = { render: q }, H = ["for", "aria-checked"], K = ["id", "checked", "dis
|
|
|
136
136
|
}
|
|
137
137
|
}), P = (t, a) => {
|
|
138
138
|
const n = t.__vccOpts || t;
|
|
139
|
-
for (const [e,
|
|
140
|
-
n[e] =
|
|
139
|
+
for (const [e, c] of a)
|
|
140
|
+
n[e] = c;
|
|
141
141
|
return n;
|
|
142
|
-
}, G = /* @__PURE__ */ P(O, [["__scopeId", "data-v-
|
|
142
|
+
}, G = /* @__PURE__ */ P(O, [["__scopeId", "data-v-41945bef"]]);
|
|
143
143
|
export {
|
|
144
144
|
G as default
|
|
145
145
|
};
|
package/components/MazDialog.mjs
CHANGED