maz-ui 3.44.4-beta.0 → 3.44.4-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.d.ts +12 -10
- package/components/MazAnimatedCounter.d.ts +15 -13
- package/components/MazAvatar.d.ts +9 -7
- package/components/MazBackdrop.d.ts +12 -21
- package/components/MazBadge.d.ts +6 -4
- package/components/MazBottomSheet.d.ts +8 -6
- package/components/MazBtn.d.ts +12 -10
- package/components/MazCard.d.ts +16 -14
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.d.ts +7 -5
- package/components/MazCarousel.d.ts +9 -7
- package/components/MazChart.d.ts +6 -6
- package/components/MazCheckbox.d.ts +7 -5
- package/components/MazCircularProgressBar.d.ts +27 -24
- package/components/MazDialog.d.ts +16 -24
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +29 -29
- package/components/MazDrawer.d.ts +12 -10
- package/components/MazDropdown.d.ts +27 -25
- package/components/MazDropzone.d.ts +15 -15
- package/components/MazExpandAnimation.d.ts +6 -4
- package/components/MazFullscreenLoader.d.ts +6 -4
- package/components/MazIcon.d.ts +3 -3
- package/components/MazInput.d.ts +15 -133
- package/components/MazInputCode.d.ts +2 -2
- package/components/MazInputNumber.d.ts +2 -2
- package/components/MazInputPrice.d.ts +7 -5
- package/components/MazInputTags.d.ts +1 -1
- package/components/MazLazyImg.d.ts +9 -7
- package/components/MazLink.d.ts +10 -8
- package/components/MazPagination.d.ts +20 -18
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +53 -70
- package/components/MazPhoneNumberInput.d.ts +17 -25
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +3 -3
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +3 -3
- package/components/MazPicker.d.ts +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.d.ts +9 -7
- package/components/MazRadio.d.ts +27 -24
- package/components/MazRadioButtons.d.ts +10 -8
- package/components/MazReadingProgressBar.d.ts +1 -1
- package/components/MazSelect.d.ts +16 -125
- package/components/MazSelect.mjs +1 -1
- package/components/MazStepper.d.ts +10 -8
- package/components/MazSwitch.d.ts +9 -7
- package/components/MazTable.d.ts +67 -65
- package/components/MazTable.mjs +1 -1
- package/components/MazTableCell.d.ts +4 -2
- package/components/MazTableRow.d.ts +4 -2
- package/components/MazTableTitle.d.ts +4 -2
- package/components/MazTabs.d.ts +6 -4
- package/components/MazTabsBar.d.ts +18 -16
- package/components/MazTabsContent.d.ts +4 -2
- package/components/MazTabsContentItem.d.ts +6 -4
- package/components/MazTextarea.d.ts +1 -1
- package/components/MazTransitionExpand.d.ts +6 -4
- package/components/MazTransitionExpand.mjs +2 -2
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazPickerMonthSwitcher.css +1 -1
- package/components/assets/MazPickerYearSwitcher.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/assets/MazTransitionExpand.css +1 -1
- package/components/chunks/{MazBtn-B5XwteK7.mjs → MazBtn-BURByjBO.mjs} +2 -2
- package/components/chunks/{MazBtn-CQSo596y.mjs → MazBtn-D1TNsXIe.mjs} +2 -2
- package/components/chunks/{MazBtn-gj2W8kzn.mjs → MazBtn-YtY4PeyZ.mjs} +2 -2
- package/components/chunks/{MazCard-BBwohtCJ.mjs → MazCard-BiDXoNWK.mjs} +1 -1
- package/components/chunks/{MazCheckbox-isKq9dAX.mjs → MazCheckbox-BMzMZ-_l.mjs} +1 -1
- package/components/chunks/{MazCheckbox-CqHZNrGa.mjs → MazCheckbox-B_Rx3ZCe.mjs} +1 -1
- package/components/chunks/{MazGallery-Din0Z37d.mjs → MazGallery-SSMQ_JIA.mjs} +2 -2
- package/components/chunks/{MazIcon-D2DkwtXq.mjs → MazIcon-CwITLbPL.mjs} +1 -1
- package/components/chunks/{MazIcon-DHzZGzIp.mjs → MazIcon-x_aGvHlZ.mjs} +1 -1
- package/components/chunks/{MazPhoneNumberInput-CYcy4OZW.mjs → MazPhoneNumberInput-fo2MtuWB.mjs} +6 -6
- package/components/chunks/{MazPicker-DCTIkgDd.mjs → MazPicker-Df-LRtwz.mjs} +2 -2
- package/components/chunks/{MazPickerMonthSwitcher-CINBaU3n.mjs → MazPickerMonthSwitcher-CrrfUDPA.mjs} +2 -2
- package/components/chunks/{MazPickerShortcuts-vvPV1aW8.mjs → MazPickerShortcuts-Dpm1ra_Y.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-CkqFNhde.mjs → MazPickerYearSwitcher-BIeGuXI7.mjs} +2 -2
- package/components/chunks/{MazSelect-DvNLFDvj.mjs → MazSelect-xBiD7HuJ.mjs} +6 -6
- package/components/chunks/{MazSpinner-C7s8yroP.mjs → MazSpinner-C5MXwcx7.mjs} +1 -1
- package/components/chunks/{MazSpinner-BVd7-OTu.mjs → MazSpinner-CrDTibNk.mjs} +1 -1
- package/components/chunks/{MazSpinner-CpYgtvc9.mjs → MazSpinner-CvucKhXp.mjs} +1 -1
- package/components/chunks/MazSpinner-DDmCKWOx.mjs +37 -0
- package/components/chunks/{MazSpinner-CAG800x4.mjs → MazSpinner-QIX5R4Hk.mjs} +1 -1
- package/components/chunks/{MazTable-BN-Yp2RW.mjs → MazTable-1D7GRSpa.mjs} +6 -6
- package/components/chunks/{MazTransitionExpand-CYyEf_hd.mjs → MazTransitionExpand-BLFZPAt_.mjs} +11 -11
- package/modules/assets/index.css +1 -1
- package/modules/chunks/{MazBtn-BVqZ8Wej.cjs → MazBtn-BLvj2Vcl.cjs} +1 -1
- package/modules/chunks/{MazBtn-Cuj6yEZn.mjs → MazBtn-DhVNaOBj.mjs} +2 -2
- package/modules/chunks/{MazIcon-CyWCmQpN.cjs → MazIcon-BhCADEJL.cjs} +1 -1
- package/modules/chunks/{MazIcon-COFexHFo.mjs → MazIcon-ZPJHGsC7.mjs} +1 -1
- package/modules/chunks/{MazSpinner-BtXwGTnk.mjs → MazSpinner-Dx_yL6x9.mjs} +1 -1
- package/modules/chunks/{MazSpinner-Dz0kdTmr.cjs → MazSpinner-OdoRwyjg.cjs} +1 -1
- package/modules/chunks/{index-DW2zAKgR.cjs → index-BT3W7L22.cjs} +2 -2
- package/modules/chunks/{index-BBOf37yd.mjs → index-CgWq2KzW.mjs} +363 -360
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +2 -2
- package/nuxt/types.d.mts +4 -23
- package/nuxt/types.d.ts +4 -23
- package/package.json +25 -25
- package/types/components/MazAccordion.vue.d.ts +12 -10
- package/types/components/MazAnimatedCounter.vue.d.ts +15 -13
- package/types/components/MazAvatar.vue.d.ts +9 -7
- package/types/components/MazBackdrop.vue.d.ts +12 -21
- package/types/components/MazBadge.vue.d.ts +6 -4
- package/types/components/MazBottomSheet.vue.d.ts +8 -6
- package/types/components/MazBtn.vue.d.ts +12 -10
- package/types/components/MazCard.vue.d.ts +16 -14
- package/types/components/MazCardSpotlight.vue.d.ts +7 -5
- package/types/components/MazCarousel.vue.d.ts +9 -7
- package/types/components/MazChart.vue.d.ts +6 -6
- package/types/components/MazCheckbox.vue.d.ts +7 -5
- package/types/components/MazCircularProgressBar.vue.d.ts +27 -24
- package/types/components/MazDialog.vue.d.ts +16 -24
- package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +29 -29
- package/types/components/MazDrawer.vue.d.ts +12 -10
- package/types/components/MazDropdown.vue.d.ts +27 -25
- package/types/components/MazDropzone.vue.d.ts +15 -15
- package/types/components/MazExpandAnimation.vue.d.ts +6 -4
- package/types/components/MazFullscreenLoader.vue.d.ts +6 -4
- package/types/components/MazIcon.vue.d.ts +3 -3
- package/types/components/MazInput.vue.d.ts +15 -133
- package/types/components/MazInputCode.vue.d.ts +2 -2
- package/types/components/MazInputNumber.vue.d.ts +2 -2
- package/types/components/MazInputPrice.vue.d.ts +7 -5
- package/types/components/MazInputTags.vue.d.ts +1 -1
- package/types/components/MazLazyImg.vue.d.ts +9 -7
- package/types/components/MazLink.vue.d.ts +10 -8
- package/types/components/MazPagination.vue.d.ts +20 -18
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +53 -70
- package/types/components/MazPhoneNumberInput.vue.d.ts +17 -25
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +3 -3
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +3 -3
- package/types/components/MazPicker.vue.d.ts +1 -1
- package/types/components/MazPullToRefresh.vue.d.ts +9 -7
- package/types/components/MazRadio.vue.d.ts +27 -24
- package/types/components/MazRadioButtons.vue.d.ts +10 -8
- package/types/components/MazReadingProgressBar.vue.d.ts +1 -1
- package/types/components/MazSelect.vue.d.ts +16 -125
- package/types/components/MazStepper.vue.d.ts +10 -8
- package/types/components/MazSwitch.vue.d.ts +9 -7
- package/types/components/MazTable.vue.d.ts +67 -65
- package/types/components/MazTableCell.vue.d.ts +4 -2
- package/types/components/MazTableRow.vue.d.ts +4 -2
- package/types/components/MazTableTitle.vue.d.ts +4 -2
- package/types/components/MazTabs.vue.d.ts +6 -4
- package/types/components/MazTabsBar.vue.d.ts +18 -16
- package/types/components/MazTabsContent.vue.d.ts +4 -2
- package/types/components/MazTabsContentItem.vue.d.ts +6 -4
- package/types/components/MazTextarea.vue.d.ts +1 -1
- package/types/components/MazTransitionExpand.vue.d.ts +6 -4
- package/types/modules/composables/use-form-validator/index.d.ts +5 -7
- package/types/modules/composables/use-form-validator/types.d.ts +16 -11
- package/types/modules/composables/use-form-validator/utils.d.ts +13 -13
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +1 -1
- package/types/tailwindcss/tailwind.config.d.ts +2 -2
- package/components/chunks/MazSpinner-D1paofz3.mjs +0 -37
|
@@ -3,7 +3,16 @@ export interface Props {
|
|
|
3
3
|
modelValue?: number;
|
|
4
4
|
contentClass?: unknown;
|
|
5
5
|
}
|
|
6
|
-
declare
|
|
6
|
+
declare function __VLS_template(): Partial<Record<`title-${number}`, (_: {
|
|
7
|
+
isOpen: boolean;
|
|
8
|
+
}) => any>> & Partial<Record<`content-${number}`, (_: {
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
}) => any>> & {
|
|
11
|
+
content?(_: {
|
|
12
|
+
isOpen: boolean;
|
|
13
|
+
}): any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
7
16
|
id: undefined;
|
|
8
17
|
modelValue: number;
|
|
9
18
|
contentClass: undefined;
|
|
@@ -19,15 +28,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
28
|
id: string;
|
|
20
29
|
contentClass: undefined;
|
|
21
30
|
modelValue: number;
|
|
22
|
-
}, {}
|
|
23
|
-
|
|
24
|
-
}) => any>> & Partial<Record<`content-${number}`, (_: {
|
|
25
|
-
isOpen: boolean;
|
|
26
|
-
}) => any>> & {
|
|
27
|
-
content?(_: {
|
|
28
|
-
isOpen: boolean;
|
|
29
|
-
}): any;
|
|
30
|
-
}>;
|
|
31
|
+
}, {}>;
|
|
32
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
31
33
|
export default _default;
|
|
32
34
|
type __VLS_WithDefaults<P, D> = {
|
|
33
35
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
prefix?(_: {}): any;
|
|
3
|
+
prefix?(_: {}): any;
|
|
4
|
+
suffix?(_: {}): any;
|
|
5
|
+
suffix?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
8
|
/**
|
|
3
9
|
* The number to animate
|
|
4
10
|
*/
|
|
@@ -7,15 +13,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
13
|
* Duration of the animation in milliseconds
|
|
8
14
|
* @default 1000
|
|
9
15
|
*/
|
|
10
|
-
duration?: number
|
|
16
|
+
duration?: number;
|
|
11
17
|
/**
|
|
12
18
|
* Suffix to display next to the number
|
|
13
19
|
*/
|
|
14
|
-
prefix?: string
|
|
20
|
+
prefix?: string;
|
|
15
21
|
/**
|
|
16
22
|
* Suffix to display next to the number
|
|
17
23
|
*/
|
|
18
|
-
suffix?: string
|
|
24
|
+
suffix?: string;
|
|
19
25
|
}>, {
|
|
20
26
|
duration: number;
|
|
21
27
|
prefix: undefined;
|
|
@@ -29,15 +35,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
35
|
* Duration of the animation in milliseconds
|
|
30
36
|
* @default 1000
|
|
31
37
|
*/
|
|
32
|
-
duration?: number
|
|
38
|
+
duration?: number;
|
|
33
39
|
/**
|
|
34
40
|
* Suffix to display next to the number
|
|
35
41
|
*/
|
|
36
|
-
prefix?: string
|
|
42
|
+
prefix?: string;
|
|
37
43
|
/**
|
|
38
44
|
* Suffix to display next to the number
|
|
39
45
|
*/
|
|
40
|
-
suffix?: string
|
|
46
|
+
suffix?: string;
|
|
41
47
|
}>, {
|
|
42
48
|
duration: number;
|
|
43
49
|
prefix: undefined;
|
|
@@ -46,12 +52,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
46
52
|
duration: number;
|
|
47
53
|
prefix: string;
|
|
48
54
|
suffix: string;
|
|
49
|
-
}, {}
|
|
50
|
-
|
|
51
|
-
prefix?(_: {}): any;
|
|
52
|
-
suffix?(_: {}): any;
|
|
53
|
-
suffix?(_: {}): any;
|
|
54
|
-
}>;
|
|
55
|
+
}, {}>;
|
|
56
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
55
57
|
export default _default;
|
|
56
58
|
type __VLS_WithDefaults<P, D> = {
|
|
57
59
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -45,7 +45,12 @@ export interface Props {
|
|
|
45
45
|
/** Load the fallback image by default */
|
|
46
46
|
noPhoto?: boolean;
|
|
47
47
|
}
|
|
48
|
-
declare
|
|
48
|
+
declare function __VLS_template(): {
|
|
49
|
+
"round-text"?(_: {}): any;
|
|
50
|
+
icon?(_: {}): any;
|
|
51
|
+
caption?(_: {}): any;
|
|
52
|
+
};
|
|
53
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
49
54
|
src: undefined;
|
|
50
55
|
caption: undefined;
|
|
51
56
|
href: undefined;
|
|
@@ -89,15 +94,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
89
94
|
href: string;
|
|
90
95
|
fallbackSrc: string;
|
|
91
96
|
target: string;
|
|
92
|
-
roundedSize: "
|
|
97
|
+
roundedSize: "none" | "sm" | "md" | "lg" | "xl" | "full";
|
|
93
98
|
to: string | Record<string, unknown>;
|
|
94
99
|
buttonColor: Color;
|
|
95
100
|
letterCount: number;
|
|
96
|
-
}, {}
|
|
97
|
-
|
|
98
|
-
icon?(_: {}): any;
|
|
99
|
-
caption?(_: {}): any;
|
|
100
|
-
}>;
|
|
101
|
+
}, {}>;
|
|
102
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
101
103
|
export default _default;
|
|
102
104
|
type __VLS_WithDefaults<P, D> = {
|
|
103
105
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -15,7 +15,12 @@ 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
|
|
18
|
+
declare function __VLS_template(): {
|
|
19
|
+
default?(_: {
|
|
20
|
+
close: any;
|
|
21
|
+
}): any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
19
24
|
modelValue: boolean;
|
|
20
25
|
teleportSelector: string;
|
|
21
26
|
beforeClose: undefined;
|
|
@@ -32,31 +37,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
32
37
|
present: import("vue").Ref<boolean>;
|
|
33
38
|
toggleModal: typeof toggleModal;
|
|
34
39
|
onKeyPress: typeof onKeyPress;
|
|
35
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
|
-
[x: string]: (...args: unknown[]) => void;
|
|
37
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
38
|
-
modelValue: boolean;
|
|
39
|
-
teleportSelector: string;
|
|
40
|
-
beforeClose: undefined;
|
|
41
|
-
persistent: boolean;
|
|
42
|
-
noCloseOnEscKey: boolean;
|
|
43
|
-
transitionName: string;
|
|
44
|
-
backdropClass: undefined;
|
|
45
|
-
backdropContentClass: undefined;
|
|
46
|
-
}>>>, {
|
|
40
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
47
41
|
persistent: boolean;
|
|
48
42
|
transitionName: string;
|
|
49
43
|
modelValue: boolean;
|
|
50
44
|
teleportSelector: string;
|
|
51
|
-
beforeClose: () => void |
|
|
45
|
+
beforeClose: () => Promise<void> | void;
|
|
52
46
|
noCloseOnEscKey: boolean;
|
|
53
|
-
backdropClass:
|
|
54
|
-
backdropContentClass:
|
|
55
|
-
}, {}
|
|
56
|
-
|
|
57
|
-
close: typeof close;
|
|
58
|
-
}): any;
|
|
59
|
-
}>;
|
|
47
|
+
backdropClass: HTMLAttributes["class"];
|
|
48
|
+
backdropContentClass: HTMLAttributes["class"];
|
|
49
|
+
}, {}>;
|
|
50
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
60
51
|
export default _default;
|
|
61
52
|
type __VLS_WithDefaults<P, D> = {
|
|
62
53
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
package/components/MazBadge.d.ts
CHANGED
|
@@ -9,7 +9,10 @@ export interface Props {
|
|
|
9
9
|
pastel?: boolean;
|
|
10
10
|
roundedSize?: BadgeRoundedSize;
|
|
11
11
|
}
|
|
12
|
-
declare
|
|
12
|
+
declare function __VLS_template(): {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
13
16
|
color: string;
|
|
14
17
|
size: string;
|
|
15
18
|
nowrap: boolean;
|
|
@@ -30,9 +33,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
30
33
|
outline: boolean;
|
|
31
34
|
pastel: boolean;
|
|
32
35
|
nowrap: boolean;
|
|
33
|
-
}, {}
|
|
34
|
-
|
|
35
|
-
}>;
|
|
36
|
+
}, {}>;
|
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
36
38
|
export default _default;
|
|
37
39
|
type __VLS_WithDefaults<P, D> = {
|
|
38
40
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
default?(_: {
|
|
3
|
+
close: any;
|
|
4
|
+
}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<{
|
|
2
7
|
noClose: {
|
|
3
8
|
type: BooleanConstructor;
|
|
4
9
|
default: boolean;
|
|
@@ -27,11 +32,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
32
|
}, {
|
|
28
33
|
noPadding: boolean;
|
|
29
34
|
noClose: boolean;
|
|
30
|
-
}, {}
|
|
31
|
-
|
|
32
|
-
close: () => void;
|
|
33
|
-
}): any;
|
|
34
|
-
}>;
|
|
35
|
+
}, {}>;
|
|
36
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
35
37
|
export default _default;
|
|
36
38
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
39
|
new (): {
|
package/components/MazBtn.d.ts
CHANGED
|
@@ -102,7 +102,13 @@ export interface Props {
|
|
|
102
102
|
/** The class applied to the content wrapper (<span />) of the button */
|
|
103
103
|
contentClass?: HTMLAttributes['class'];
|
|
104
104
|
}
|
|
105
|
-
declare
|
|
105
|
+
declare function __VLS_template(): {
|
|
106
|
+
"left-icon"?(_: {}): any;
|
|
107
|
+
icon?(_: {}): any;
|
|
108
|
+
default?(_: {}): any;
|
|
109
|
+
"right-icon"?(_: {}): any;
|
|
110
|
+
};
|
|
111
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
106
112
|
variant: string;
|
|
107
113
|
size: string;
|
|
108
114
|
color: string;
|
|
@@ -124,20 +130,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
124
130
|
roundedSize: string;
|
|
125
131
|
}>>>, {
|
|
126
132
|
size: Size;
|
|
127
|
-
type: "
|
|
133
|
+
type: "submit" | "reset" | "button";
|
|
128
134
|
color: Color;
|
|
129
135
|
variant: "button" | "link";
|
|
130
|
-
roundedSize: "
|
|
136
|
+
roundedSize: "none" | "sm" | "md" | "lg" | "xl" | "full";
|
|
131
137
|
icon: string | Icon;
|
|
132
138
|
leftIcon: string | Icon;
|
|
133
139
|
rightIcon: string | Icon;
|
|
134
|
-
contentClass:
|
|
135
|
-
}, {}
|
|
136
|
-
|
|
137
|
-
icon?(_: {}): any;
|
|
138
|
-
default?(_: {}): any;
|
|
139
|
-
"right-icon"?(_: {}): any;
|
|
140
|
-
}>;
|
|
140
|
+
contentClass: HTMLAttributes["class"];
|
|
141
|
+
}, {}>;
|
|
142
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
141
143
|
export default _default;
|
|
142
144
|
type __VLS_WithDefaults<P, D> = {
|
|
143
145
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
package/components/MazCard.d.ts
CHANGED
|
@@ -54,7 +54,16 @@ export interface Props {
|
|
|
54
54
|
/** The card will be displayed in full width */
|
|
55
55
|
block?: boolean;
|
|
56
56
|
}
|
|
57
|
-
declare
|
|
57
|
+
declare function __VLS_template(): {
|
|
58
|
+
header?(_: {}): any;
|
|
59
|
+
default?(_: {}): any;
|
|
60
|
+
title?(_: {}): any;
|
|
61
|
+
subtitle?(_: {}): any;
|
|
62
|
+
content?(_: {}): any;
|
|
63
|
+
footer?(_: {}): any;
|
|
64
|
+
actions?(_: {}): any;
|
|
65
|
+
};
|
|
66
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
58
67
|
images: undefined;
|
|
59
68
|
orientation: string;
|
|
60
69
|
href: undefined;
|
|
@@ -91,26 +100,19 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
91
100
|
orientation: "column" | "row" | "row-reverse" | "column-reverse";
|
|
92
101
|
href: string;
|
|
93
102
|
scale: boolean;
|
|
94
|
-
to:
|
|
103
|
+
to: RouterLinkProps["to"];
|
|
95
104
|
elevation: boolean;
|
|
96
105
|
radius: boolean;
|
|
97
106
|
images: MazGalleryImage[];
|
|
98
107
|
noRemaining: boolean;
|
|
99
|
-
hrefTarget: string;
|
|
100
|
-
footerAlign: "
|
|
108
|
+
hrefTarget: "_blank" | "_self" | "_parent" | "_top" | string;
|
|
109
|
+
footerAlign: "right" | "left";
|
|
101
110
|
galleryWidth: string | number;
|
|
102
111
|
galleryHeight: string | number;
|
|
103
112
|
imagesShowCount: number;
|
|
104
|
-
wrapperClass:
|
|
105
|
-
}, {}
|
|
106
|
-
|
|
107
|
-
default?(_: {}): any;
|
|
108
|
-
title?(_: {}): any;
|
|
109
|
-
subtitle?(_: {}): any;
|
|
110
|
-
content?(_: {}): any;
|
|
111
|
-
footer?(_: {}): any;
|
|
112
|
-
actions?(_: {}): any;
|
|
113
|
-
}>;
|
|
113
|
+
wrapperClass: HTMLAttributes["class"];
|
|
114
|
+
}, {}>;
|
|
115
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
114
116
|
export default _default;
|
|
115
117
|
type __VLS_WithDefaults<P, D> = {
|
|
116
118
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
package/components/MazCard.mjs
CHANGED
|
@@ -33,7 +33,10 @@ export interface Props {
|
|
|
33
33
|
*/
|
|
34
34
|
innerOpacity?: number;
|
|
35
35
|
}
|
|
36
|
-
declare
|
|
36
|
+
declare function __VLS_template(): {
|
|
37
|
+
default?(_: {}): any;
|
|
38
|
+
};
|
|
39
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
37
40
|
noElevation: boolean;
|
|
38
41
|
color: string;
|
|
39
42
|
padding: boolean;
|
|
@@ -50,13 +53,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
50
53
|
}>>>, {
|
|
51
54
|
color: Color;
|
|
52
55
|
noElevation: boolean;
|
|
53
|
-
contentClass:
|
|
56
|
+
contentClass: HTMLAttributes["class"];
|
|
54
57
|
padding: boolean;
|
|
55
58
|
contentStyle: string | false | import("vue").CSSProperties | StyleValue[] | null;
|
|
56
59
|
innerOpacity: number;
|
|
57
|
-
}, {}
|
|
58
|
-
|
|
59
|
-
}>;
|
|
60
|
+
}, {}>;
|
|
61
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
60
62
|
export default _default;
|
|
61
63
|
type __VLS_WithDefaults<P, D> = {
|
|
62
64
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -8,7 +8,13 @@ export interface Props {
|
|
|
8
8
|
/** Hide the scrollbar when not active */
|
|
9
9
|
hideScrollbar?: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
title?(_: {}): any;
|
|
13
|
+
"previous-icon"?(_: {}): any;
|
|
14
|
+
"next-icon"?(_: {}): any;
|
|
15
|
+
default?(_: {}): any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
12
18
|
ariaLabelPreviousButton: string;
|
|
13
19
|
ariaLabelNextButton: string;
|
|
14
20
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
@@ -17,12 +23,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
17
23
|
}>>>, {
|
|
18
24
|
ariaLabelPreviousButton: string;
|
|
19
25
|
ariaLabelNextButton: string;
|
|
20
|
-
}, {}
|
|
21
|
-
|
|
22
|
-
"previous-icon"?(_: {}): any;
|
|
23
|
-
"next-icon"?(_: {}): any;
|
|
24
|
-
default?(_: {}): any;
|
|
25
|
-
}>;
|
|
26
|
+
}, {}>;
|
|
27
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
28
|
export default _default;
|
|
27
29
|
type __VLS_WithDefaults<P, D> = {
|
|
28
30
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
package/components/MazChart.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
* Chart.js chart type
|
|
7
7
|
*/
|
|
8
8
|
type: {
|
|
9
|
-
type: PropType<
|
|
9
|
+
type: PropType<ChartType>;
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
12
|
/**
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
* @see https://www.chartjs.org/docs/latest/getting-started/
|
|
15
15
|
*/
|
|
16
16
|
data: {
|
|
17
|
-
type: PropType<ChartData<
|
|
17
|
+
type: PropType<ChartData<ChartType>>;
|
|
18
18
|
required: true;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
@@ -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<UpdateMode>;
|
|
49
49
|
default: undefined;
|
|
50
50
|
};
|
|
51
51
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -53,7 +53,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
53
53
|
* Chart.js chart type
|
|
54
54
|
*/
|
|
55
55
|
type: {
|
|
56
|
-
type: PropType<
|
|
56
|
+
type: PropType<ChartType>;
|
|
57
57
|
required: true;
|
|
58
58
|
};
|
|
59
59
|
/**
|
|
@@ -61,7 +61,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
61
|
* @see https://www.chartjs.org/docs/latest/getting-started/
|
|
62
62
|
*/
|
|
63
63
|
data: {
|
|
64
|
-
type: PropType<ChartData<
|
|
64
|
+
type: PropType<ChartData<ChartType>>;
|
|
65
65
|
required: true;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
@@ -92,7 +92,7 @@ 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<UpdateMode>;
|
|
96
96
|
default: undefined;
|
|
97
97
|
};
|
|
98
98
|
}>>, {
|
|
@@ -13,7 +13,10 @@ export interface Props {
|
|
|
13
13
|
label?: string;
|
|
14
14
|
disabled?: boolean;
|
|
15
15
|
}
|
|
16
|
-
declare
|
|
16
|
+
declare function __VLS_template(): {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
};
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
17
20
|
style: undefined;
|
|
18
21
|
class: undefined;
|
|
19
22
|
modelValue: undefined;
|
|
@@ -50,11 +53,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
50
53
|
value: string | number | boolean;
|
|
51
54
|
disabled: boolean;
|
|
52
55
|
color: Color;
|
|
53
|
-
class:
|
|
56
|
+
class: HTMLAttributes["class"];
|
|
54
57
|
modelValue: boolean | (string | number)[];
|
|
55
|
-
}, {}
|
|
56
|
-
|
|
57
|
-
}>;
|
|
58
|
+
}, {}>;
|
|
59
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
58
60
|
export default _default;
|
|
59
61
|
type __VLS_WithDefaults<P, D> = {
|
|
60
62
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
+
import { type SVGAttributes } from 'vue';
|
|
1
2
|
import type { Color } from './types';
|
|
2
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
prefix?(_: {}): any;
|
|
6
|
+
suffix?(_: {}): any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
9
|
/**
|
|
4
10
|
* The percentage value of the progress bar
|
|
5
11
|
*/
|
|
@@ -8,46 +14,46 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
8
14
|
* The size of the progress bar
|
|
9
15
|
* @default '10em' (equal 80px for a font-size of 16px)
|
|
10
16
|
*/
|
|
11
|
-
size?: string
|
|
17
|
+
size?: string;
|
|
12
18
|
/**
|
|
13
19
|
* Duration of the animation in milliseconds
|
|
14
20
|
* @default 1000
|
|
15
21
|
*/
|
|
16
|
-
duration?: number
|
|
22
|
+
duration?: number;
|
|
17
23
|
/**
|
|
18
24
|
* The color of the progress bar
|
|
19
25
|
*/
|
|
20
|
-
color?: Color
|
|
26
|
+
color?: Color;
|
|
21
27
|
/**
|
|
22
28
|
* Auto color based on the count (danger, warning, success)
|
|
23
29
|
* @default false
|
|
24
30
|
*/
|
|
25
|
-
autoColor?: boolean
|
|
31
|
+
autoColor?: boolean;
|
|
26
32
|
/**
|
|
27
33
|
* Suffix to display next to the number
|
|
28
34
|
*/
|
|
29
|
-
prefix?: string
|
|
35
|
+
prefix?: string;
|
|
30
36
|
/**
|
|
31
37
|
* Suffix to display next to the number
|
|
32
38
|
*/
|
|
33
|
-
suffix?: string
|
|
39
|
+
suffix?: string;
|
|
34
40
|
/**
|
|
35
41
|
* The stroke-linecap style
|
|
36
42
|
* @default 'round'
|
|
37
43
|
* @values 'butt', 'round', 'square', 'inherit'
|
|
38
44
|
*/
|
|
39
|
-
strokeLinecap?: "
|
|
45
|
+
strokeLinecap?: SVGAttributes["stroke-linecap"];
|
|
40
46
|
/**
|
|
41
47
|
* The stroke width
|
|
42
48
|
* @default 6
|
|
43
49
|
*/
|
|
44
|
-
strokeWidth?:
|
|
50
|
+
strokeWidth?: SVGAttributes["width"];
|
|
45
51
|
/**
|
|
46
52
|
* The stroke color
|
|
47
53
|
* Use this prop to override the gradient color
|
|
48
54
|
* You can use a color name or a color code
|
|
49
55
|
*/
|
|
50
|
-
stroke?:
|
|
56
|
+
stroke?: SVGAttributes["stroke"];
|
|
51
57
|
}>, {
|
|
52
58
|
percentage: number;
|
|
53
59
|
size: string;
|
|
@@ -67,46 +73,46 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
67
73
|
* The size of the progress bar
|
|
68
74
|
* @default '10em' (equal 80px for a font-size of 16px)
|
|
69
75
|
*/
|
|
70
|
-
size?: string
|
|
76
|
+
size?: string;
|
|
71
77
|
/**
|
|
72
78
|
* Duration of the animation in milliseconds
|
|
73
79
|
* @default 1000
|
|
74
80
|
*/
|
|
75
|
-
duration?: number
|
|
81
|
+
duration?: number;
|
|
76
82
|
/**
|
|
77
83
|
* The color of the progress bar
|
|
78
84
|
*/
|
|
79
|
-
color?: Color
|
|
85
|
+
color?: Color;
|
|
80
86
|
/**
|
|
81
87
|
* Auto color based on the count (danger, warning, success)
|
|
82
88
|
* @default false
|
|
83
89
|
*/
|
|
84
|
-
autoColor?: boolean
|
|
90
|
+
autoColor?: boolean;
|
|
85
91
|
/**
|
|
86
92
|
* Suffix to display next to the number
|
|
87
93
|
*/
|
|
88
|
-
prefix?: string
|
|
94
|
+
prefix?: string;
|
|
89
95
|
/**
|
|
90
96
|
* Suffix to display next to the number
|
|
91
97
|
*/
|
|
92
|
-
suffix?: string
|
|
98
|
+
suffix?: string;
|
|
93
99
|
/**
|
|
94
100
|
* The stroke-linecap style
|
|
95
101
|
* @default 'round'
|
|
96
102
|
* @values 'butt', 'round', 'square', 'inherit'
|
|
97
103
|
*/
|
|
98
|
-
strokeLinecap?: "
|
|
104
|
+
strokeLinecap?: SVGAttributes["stroke-linecap"];
|
|
99
105
|
/**
|
|
100
106
|
* The stroke width
|
|
101
107
|
* @default 6
|
|
102
108
|
*/
|
|
103
|
-
strokeWidth?:
|
|
109
|
+
strokeWidth?: SVGAttributes["width"];
|
|
104
110
|
/**
|
|
105
111
|
* The stroke color
|
|
106
112
|
* Use this prop to override the gradient color
|
|
107
113
|
* You can use a color name or a color code
|
|
108
114
|
*/
|
|
109
|
-
stroke?:
|
|
115
|
+
stroke?: SVGAttributes["stroke"];
|
|
110
116
|
}>, {
|
|
111
117
|
percentage: number;
|
|
112
118
|
size: string;
|
|
@@ -127,11 +133,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
127
133
|
percentage: number;
|
|
128
134
|
strokeLinecap: "round" | "inherit" | "square" | "butt";
|
|
129
135
|
strokeWidth: string | number;
|
|
130
|
-
}, {}
|
|
131
|
-
|
|
132
|
-
prefix?(_: {}): any;
|
|
133
|
-
suffix?(_: {}): any;
|
|
134
|
-
}>;
|
|
136
|
+
}, {}>;
|
|
137
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
135
138
|
export default _default;
|
|
136
139
|
type __VLS_WithDefaults<P, D> = {
|
|
137
140
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|