maz-ui 3.11.4 → 3.12.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.
Files changed (63) hide show
  1. package/components/MazAvatar.d.ts +154 -0
  2. package/components/MazBackdrop.d.ts +91 -0
  3. package/components/MazBadge.d.ts +73 -0
  4. package/components/MazBottomSheet.d.ts +36 -0
  5. package/components/MazBtn.d.ts +195 -0
  6. package/components/MazCard.d.ts +194 -0
  7. package/components/MazCarousel.d.ts +24 -0
  8. package/components/MazChart.d.ts +95 -0
  9. package/components/MazCheckbox.d.ts +52 -0
  10. package/components/MazDialog.d.ts +91 -0
  11. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +30 -0
  12. package/components/MazDialogPromise.d.ts +72 -0
  13. package/components/MazDrawer.d.ts +69 -0
  14. package/components/MazDropzone.d.ts +128 -0
  15. package/components/MazGallery.d.ts +125 -0
  16. package/components/MazIcon.d.ts +64 -0
  17. package/components/MazInput.d.ts +271 -0
  18. package/components/MazInputNumber.d.ts +65 -0
  19. package/components/MazInputPrice.d.ts +69 -0
  20. package/components/MazInputTags.d.ts +92 -0
  21. package/components/MazLazyImg.d.ts +77 -0
  22. package/components/MazPhoneNumberInput/constantes/locales.d.ts +12 -0
  23. package/components/MazPhoneNumberInput/types.d.ts +21 -0
  24. package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +2 -0
  25. package/components/MazPhoneNumberInput/utils/index.d.ts +12 -0
  26. package/components/MazPhoneNumberInput.d.ts +251 -0
  27. package/components/MazPicker/MazPickerCalendar.vue.d.ts +135 -0
  28. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +20 -0
  29. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +112 -0
  30. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +122 -0
  31. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +36 -0
  32. package/components/MazPicker/MazPickerContainer.vue.d.ts +210 -0
  33. package/components/MazPicker/MazPickerFooter.vue.d.ts +16 -0
  34. package/components/MazPicker/MazPickerHeader.vue.d.ts +82 -0
  35. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +41 -0
  36. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +60 -0
  37. package/components/MazPicker/MazPickerTime.vue.d.ts +127 -0
  38. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +33 -0
  39. package/components/MazPicker/types.d.ts +15 -0
  40. package/components/MazPicker/utils.d.ts +54 -0
  41. package/components/MazPicker.d.ts +309 -0
  42. package/components/MazRadioButtons.d.ts +77 -0
  43. package/components/MazSelect.d.ts +184 -0
  44. package/components/MazSlider/utils.d.ts +15 -0
  45. package/components/MazSlider.d.ts +92 -0
  46. package/components/MazSpinner.d.ts +26 -0
  47. package/components/MazStepper.d.ts +112 -0
  48. package/components/MazSwitch.d.ts +54 -0
  49. package/components/MazTabs.d.ts +28 -0
  50. package/components/MazTabsBar.d.ts +55 -0
  51. package/components/MazTabsContent.d.ts +9 -0
  52. package/components/MazTabsContentItem.d.ts +19 -0
  53. package/components/MazTextarea/textarea-autogrow.d.ts +9 -0
  54. package/components/MazTextarea.d.ts +121 -0
  55. package/components/MazTransitionExpand.d.ts +9 -0
  56. package/components/component-list.d.ts +1 -0
  57. package/components/index.d.ts +35 -0
  58. package/components/types.d.ts +17 -0
  59. package/nuxt/index.ts +49 -21
  60. package/package.json +10 -7
  61. package/tailwindcss/tailwind.config.ts +2 -2
  62. package/types/nuxt/index.d.ts +12 -8
  63. package/types/tailwindcss/tailwind.config.d.ts +75 -1
@@ -0,0 +1,154 @@
1
+ import type { PropType } from 'vue';
2
+ import type { Color } from './types';
3
+ export type { Color } from './types';
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ src: {
6
+ type: PropType<string | null | undefined>;
7
+ default: undefined;
8
+ };
9
+ caption: {
10
+ type: PropType<string | null | undefined>;
11
+ default: undefined;
12
+ };
13
+ href: {
14
+ type: StringConstructor;
15
+ default: undefined;
16
+ };
17
+ to: {
18
+ type: ObjectConstructor;
19
+ default: undefined;
20
+ };
21
+ alt: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ target: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ size: {
30
+ type: StringConstructor;
31
+ default: undefined;
32
+ };
33
+ bordered: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ clickable: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ square: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ noElevation: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ showCaption: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ imageHeightFull: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ noLoader: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ buttonColor: {
62
+ type: PropType<Color>;
63
+ default: string;
64
+ };
65
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
66
+ src: {
67
+ type: PropType<string | null | undefined>;
68
+ default: undefined;
69
+ };
70
+ caption: {
71
+ type: PropType<string | null | undefined>;
72
+ default: undefined;
73
+ };
74
+ href: {
75
+ type: StringConstructor;
76
+ default: undefined;
77
+ };
78
+ to: {
79
+ type: ObjectConstructor;
80
+ default: undefined;
81
+ };
82
+ alt: {
83
+ type: StringConstructor;
84
+ default: string;
85
+ };
86
+ target: {
87
+ type: StringConstructor;
88
+ default: string;
89
+ };
90
+ size: {
91
+ type: StringConstructor;
92
+ default: undefined;
93
+ };
94
+ bordered: {
95
+ type: BooleanConstructor;
96
+ default: boolean;
97
+ };
98
+ clickable: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ square: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ noElevation: {
107
+ type: BooleanConstructor;
108
+ default: boolean;
109
+ };
110
+ showCaption: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ };
114
+ imageHeightFull: {
115
+ type: BooleanConstructor;
116
+ default: boolean;
117
+ };
118
+ noLoader: {
119
+ type: BooleanConstructor;
120
+ default: boolean;
121
+ };
122
+ buttonColor: {
123
+ type: PropType<Color>;
124
+ default: string;
125
+ };
126
+ }>> & {
127
+ onClick?: ((...args: any[]) => any) | undefined;
128
+ }, {
129
+ caption: string | null | undefined;
130
+ src: string | null | undefined;
131
+ size: string;
132
+ target: string;
133
+ href: string;
134
+ to: Record<string, any>;
135
+ noLoader: boolean;
136
+ imageHeightFull: boolean;
137
+ alt: string;
138
+ bordered: boolean;
139
+ clickable: boolean;
140
+ square: boolean;
141
+ noElevation: boolean;
142
+ showCaption: boolean;
143
+ buttonColor: Color;
144
+ }, {}>, {
145
+ "round-text"?(_: {}): any;
146
+ icon?(_: {}): any;
147
+ caption?(_: {}): any;
148
+ }>;
149
+ export default _default;
150
+ type __VLS_WithTemplateSlots<T, S> = T & {
151
+ new (): {
152
+ $slots: S;
153
+ };
154
+ };
@@ -0,0 +1,91 @@
1
+ import { type PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ modelValue: {
4
+ type: BooleanConstructor;
5
+ default: boolean;
6
+ };
7
+ teleportSelector: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ beforeClose: {
12
+ type: PropType<Function>;
13
+ default: undefined;
14
+ };
15
+ persistent: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ noCloseOnEscKey: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ transitionName: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ backdropClass: {
28
+ type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
29
+ default: undefined;
30
+ };
31
+ backdropContentClass: {
32
+ type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
33
+ default: undefined;
34
+ };
35
+ }, {
36
+ onBackdropAnimationEnter: () => void;
37
+ onBackdropAnimationLeave: () => void;
38
+ onBackdropClicked: () => void;
39
+ close: () => void;
40
+ present: import("vue").Ref<boolean>;
41
+ toggleModal: (value: boolean) => Promise<void>;
42
+ onKeyPress: (event: KeyboardEvent) => void;
43
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "open" | "before-close" | "update:model-value")[], "close" | "open" | "before-close" | "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
+ modelValue: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ teleportSelector: {
49
+ type: StringConstructor;
50
+ default: string;
51
+ };
52
+ beforeClose: {
53
+ type: PropType<Function>;
54
+ default: undefined;
55
+ };
56
+ persistent: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ noCloseOnEscKey: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ transitionName: {
65
+ type: StringConstructor;
66
+ default: string;
67
+ };
68
+ backdropClass: {
69
+ type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
70
+ default: undefined;
71
+ };
72
+ backdropContentClass: {
73
+ type: (StringConstructor | ObjectConstructor | ArrayConstructor)[];
74
+ default: undefined;
75
+ };
76
+ }>> & {
77
+ onClose?: ((...args: any[]) => any) | undefined;
78
+ onOpen?: ((...args: any[]) => any) | undefined;
79
+ "onBefore-close"?: ((...args: any[]) => any) | undefined;
80
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
81
+ }, {
82
+ persistent: boolean;
83
+ transitionName: string;
84
+ modelValue: boolean;
85
+ teleportSelector: string;
86
+ beforeClose: Function;
87
+ noCloseOnEscKey: boolean;
88
+ backdropClass: string | Record<string, any> | unknown[];
89
+ backdropContentClass: string | Record<string, any> | unknown[];
90
+ }, {}>;
91
+ export default _default;
@@ -0,0 +1,73 @@
1
+ import type { PropType } from 'vue';
2
+ import type { Color } from './types';
3
+ export type BadgeColor = Color | 'gray';
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ color: {
6
+ type: PropType<BadgeColor>;
7
+ default: string;
8
+ validator: (value: string) => boolean;
9
+ };
10
+ size: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ nowrap: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ outline: {
19
+ type: BooleanConstructor;
20
+ default: boolean;
21
+ };
22
+ pastel: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ roundedSize: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ validator: (value: string) => boolean;
30
+ };
31
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ color: {
33
+ type: PropType<BadgeColor>;
34
+ default: string;
35
+ validator: (value: string) => boolean;
36
+ };
37
+ size: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ nowrap: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ outline: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ pastel: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ roundedSize: {
54
+ type: StringConstructor;
55
+ default: string;
56
+ validator: (value: string) => boolean;
57
+ };
58
+ }>>, {
59
+ color: BadgeColor;
60
+ size: string;
61
+ nowrap: boolean;
62
+ outline: boolean;
63
+ pastel: boolean;
64
+ roundedSize: string;
65
+ }, {}>, {
66
+ default?(_: {}): any;
67
+ }>;
68
+ export default _default;
69
+ type __VLS_WithTemplateSlots<T, S> = T & {
70
+ new (): {
71
+ $slots: S;
72
+ };
73
+ };
@@ -0,0 +1,36 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ noClose: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ noPadding: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "open" | "update:model-value")[], "close" | "open" | "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ noClose: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ noPadding: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ }>> & {
20
+ onClose?: ((...args: any[]) => any) | undefined;
21
+ onOpen?: ((...args: any[]) => any) | undefined;
22
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
23
+ }, {
24
+ noPadding: boolean;
25
+ noClose: boolean;
26
+ }, {}>, {
27
+ default?(_: {
28
+ close: any;
29
+ }): any;
30
+ }>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,195 @@
1
+ import { type PropType } from 'vue';
2
+ import type { Color, Size } from './types';
3
+ export type { Color, Size } from './types';
4
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ variant: {
6
+ type: StringConstructor;
7
+ default: string;
8
+ validator: (value: string) => boolean;
9
+ };
10
+ size: {
11
+ type: PropType<Size>;
12
+ default: string;
13
+ validator: (value: string) => boolean;
14
+ };
15
+ color: {
16
+ type: PropType<Color>;
17
+ default: string;
18
+ };
19
+ type: {
20
+ type: PropType<"button" | "reset" | "submit">;
21
+ default: string;
22
+ validator: (value: string) => boolean;
23
+ };
24
+ rounded: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ noRounded: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ outline: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ pastel: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ block: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ noUnderline: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ noLeading: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ loading: {
53
+ type: BooleanConstructor;
54
+ default: boolean;
55
+ };
56
+ disabled: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ fab: {
61
+ type: BooleanConstructor;
62
+ default: boolean;
63
+ };
64
+ icon: {
65
+ type: StringConstructor;
66
+ default: undefined;
67
+ };
68
+ leftIcon: {
69
+ type: StringConstructor;
70
+ default: undefined;
71
+ };
72
+ rightIcon: {
73
+ type: StringConstructor;
74
+ default: undefined;
75
+ };
76
+ noPadding: {
77
+ type: BooleanConstructor;
78
+ default: boolean;
79
+ };
80
+ noElevation: {
81
+ type: BooleanConstructor;
82
+ default: boolean;
83
+ };
84
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
85
+ variant: {
86
+ type: StringConstructor;
87
+ default: string;
88
+ validator: (value: string) => boolean;
89
+ };
90
+ size: {
91
+ type: PropType<Size>;
92
+ default: string;
93
+ validator: (value: string) => boolean;
94
+ };
95
+ color: {
96
+ type: PropType<Color>;
97
+ default: string;
98
+ };
99
+ type: {
100
+ type: PropType<"button" | "reset" | "submit">;
101
+ default: string;
102
+ validator: (value: string) => boolean;
103
+ };
104
+ rounded: {
105
+ type: BooleanConstructor;
106
+ default: boolean;
107
+ };
108
+ noRounded: {
109
+ type: BooleanConstructor;
110
+ default: boolean;
111
+ };
112
+ outline: {
113
+ type: BooleanConstructor;
114
+ default: boolean;
115
+ };
116
+ pastel: {
117
+ type: BooleanConstructor;
118
+ default: boolean;
119
+ };
120
+ block: {
121
+ type: BooleanConstructor;
122
+ default: boolean;
123
+ };
124
+ noUnderline: {
125
+ type: BooleanConstructor;
126
+ default: boolean;
127
+ };
128
+ noLeading: {
129
+ type: BooleanConstructor;
130
+ default: boolean;
131
+ };
132
+ loading: {
133
+ type: BooleanConstructor;
134
+ default: boolean;
135
+ };
136
+ disabled: {
137
+ type: BooleanConstructor;
138
+ default: boolean;
139
+ };
140
+ fab: {
141
+ type: BooleanConstructor;
142
+ default: boolean;
143
+ };
144
+ icon: {
145
+ type: StringConstructor;
146
+ default: undefined;
147
+ };
148
+ leftIcon: {
149
+ type: StringConstructor;
150
+ default: undefined;
151
+ };
152
+ rightIcon: {
153
+ type: StringConstructor;
154
+ default: undefined;
155
+ };
156
+ noPadding: {
157
+ type: BooleanConstructor;
158
+ default: boolean;
159
+ };
160
+ noElevation: {
161
+ type: BooleanConstructor;
162
+ default: boolean;
163
+ };
164
+ }>>, {
165
+ type: "button" | "reset" | "submit";
166
+ color: Color;
167
+ disabled: boolean;
168
+ size: Size;
169
+ loading: boolean;
170
+ noElevation: boolean;
171
+ outline: boolean;
172
+ pastel: boolean;
173
+ variant: string;
174
+ rounded: boolean;
175
+ noRounded: boolean;
176
+ block: boolean;
177
+ noUnderline: boolean;
178
+ noLeading: boolean;
179
+ fab: boolean;
180
+ icon: string;
181
+ leftIcon: string;
182
+ rightIcon: string;
183
+ noPadding: boolean;
184
+ }, {}>, {
185
+ "left-icon"?(_: {}): any;
186
+ icon?(_: {}): any;
187
+ default?(_: {}): any;
188
+ "right-icon"?(_: {}): any;
189
+ }>;
190
+ export default _default;
191
+ type __VLS_WithTemplateSlots<T, S> = T & {
192
+ new (): {
193
+ $slots: S;
194
+ };
195
+ };