maz-ui 3.10.0 → 3.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/components/MazAvatar.d.ts +156 -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 +178 -0
  6. package/components/MazCard.d.ts +194 -0
  7. package/components/MazCarousel.d.ts +24 -0
  8. package/components/MazCheckbox.d.ts +54 -0
  9. package/components/MazDialog.d.ts +91 -0
  10. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +30 -0
  11. package/components/MazDialogPromise.d.ts +72 -0
  12. package/components/MazDrawer.d.ts +69 -0
  13. package/components/MazDropzone.d.ts +128 -0
  14. package/components/MazGallery.d.ts +125 -0
  15. package/components/MazIcon.d.ts +64 -0
  16. package/components/MazInput.d.ts +273 -0
  17. package/components/MazInputNumber.d.ts +65 -0
  18. package/components/MazInputPrice.d.ts +69 -0
  19. package/components/MazInputTags.d.ts +94 -0
  20. package/components/MazLazyImg.d.ts +77 -0
  21. package/components/MazPhoneNumberInput/constantes/locales.d.ts +12 -0
  22. package/components/MazPhoneNumberInput/types.d.ts +21 -0
  23. package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +2 -0
  24. package/components/MazPhoneNumberInput/utils/index.d.ts +12 -0
  25. package/components/MazPhoneNumberInput.d.ts +253 -0
  26. package/components/MazPicker/MazPickerCalendar.vue.d.ts +135 -0
  27. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +20 -0
  28. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +112 -0
  29. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +122 -0
  30. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +36 -0
  31. package/components/MazPicker/MazPickerContainer.vue.d.ts +210 -0
  32. package/components/MazPicker/MazPickerFooter.vue.d.ts +16 -0
  33. package/components/MazPicker/MazPickerHeader.vue.d.ts +82 -0
  34. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +41 -0
  35. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +60 -0
  36. package/components/MazPicker/MazPickerTime.vue.d.ts +127 -0
  37. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +33 -0
  38. package/components/MazPicker/types.d.ts +15 -0
  39. package/components/MazPicker/utils.d.ts +54 -0
  40. package/components/MazPicker.d.ts +311 -0
  41. package/components/MazRadioButtons.d.ts +77 -0
  42. package/components/MazSelect.d.ts +186 -0
  43. package/components/MazSlider/utils.d.ts +15 -0
  44. package/components/MazSlider.d.ts +94 -0
  45. package/components/MazSpinner.d.ts +28 -0
  46. package/components/MazStepper.d.ts +114 -0
  47. package/components/MazSwitch.d.ts +54 -0
  48. package/components/MazTabsBar.d.ts +47 -0
  49. package/components/MazTabsContent.d.ts +21 -0
  50. package/components/MazTabsContentItem.d.ts +19 -0
  51. package/components/MazTextarea/textarea-autogrow.d.ts +9 -0
  52. package/components/MazTextarea.d.ts +123 -0
  53. package/components/MazTransitionExpand.d.ts +9 -0
  54. package/components/component-list.d.ts +1 -0
  55. package/components/index.d.ts +34 -0
  56. package/components/index.mjs +36 -0
  57. package/components/types.d.ts +17 -0
  58. package/css/aos.css +1 -0
  59. package/css/main.css +1 -0
  60. package/modules/index.d.ts +338 -0
  61. package/package.json +3 -2
@@ -0,0 +1,156 @@
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
+ validator: (value: Color) => boolean;
65
+ };
66
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
67
+ src: {
68
+ type: PropType<string | null | undefined>;
69
+ default: undefined;
70
+ };
71
+ caption: {
72
+ type: PropType<string | null | undefined>;
73
+ default: undefined;
74
+ };
75
+ href: {
76
+ type: StringConstructor;
77
+ default: undefined;
78
+ };
79
+ to: {
80
+ type: ObjectConstructor;
81
+ default: undefined;
82
+ };
83
+ alt: {
84
+ type: StringConstructor;
85
+ default: string;
86
+ };
87
+ target: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ size: {
92
+ type: StringConstructor;
93
+ default: undefined;
94
+ };
95
+ bordered: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ clickable: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ square: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ noElevation: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ showCaption: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ imageHeightFull: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ noLoader: {
120
+ type: BooleanConstructor;
121
+ default: boolean;
122
+ };
123
+ buttonColor: {
124
+ type: PropType<Color>;
125
+ default: string;
126
+ validator: (value: Color) => boolean;
127
+ };
128
+ }>> & {
129
+ onClick?: ((...args: any[]) => any) | undefined;
130
+ }, {
131
+ caption: string | null | undefined;
132
+ src: string | null | undefined;
133
+ size: string;
134
+ target: string;
135
+ href: string;
136
+ to: Record<string, any>;
137
+ noLoader: boolean;
138
+ imageHeightFull: boolean;
139
+ alt: string;
140
+ bordered: boolean;
141
+ clickable: boolean;
142
+ square: boolean;
143
+ noElevation: boolean;
144
+ showCaption: boolean;
145
+ buttonColor: Color;
146
+ }, {}>, {
147
+ "round-text"?(_: {}): any;
148
+ icon?(_: {}): any;
149
+ caption?(_: {}): any;
150
+ }>;
151
+ export default _default;
152
+ type __VLS_WithTemplateSlots<T, S> = T & {
153
+ new (): {
154
+ $slots: S;
155
+ };
156
+ };
@@ -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,178 @@
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
+ validator: (value: Color) => boolean;
19
+ };
20
+ type: {
21
+ type: StringConstructor;
22
+ default: string;
23
+ validator: (value: string) => boolean;
24
+ };
25
+ rounded: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ outline: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ pastel: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ block: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ noUnderline: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ noLeading: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ loading: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ disabled: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ fab: {
58
+ type: BooleanConstructor;
59
+ default: boolean;
60
+ };
61
+ leftIcon: {
62
+ type: StringConstructor;
63
+ default: undefined;
64
+ };
65
+ rightIcon: {
66
+ type: StringConstructor;
67
+ default: undefined;
68
+ };
69
+ noPadding: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ noElevation: {
74
+ type: BooleanConstructor;
75
+ default: boolean;
76
+ };
77
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
78
+ variant: {
79
+ type: StringConstructor;
80
+ default: string;
81
+ validator: (value: string) => boolean;
82
+ };
83
+ size: {
84
+ type: PropType<Size>;
85
+ default: string;
86
+ validator: (value: string) => boolean;
87
+ };
88
+ color: {
89
+ type: PropType<Color>;
90
+ default: string;
91
+ validator: (value: Color) => boolean;
92
+ };
93
+ type: {
94
+ type: StringConstructor;
95
+ default: string;
96
+ validator: (value: string) => boolean;
97
+ };
98
+ rounded: {
99
+ type: BooleanConstructor;
100
+ default: boolean;
101
+ };
102
+ outline: {
103
+ type: BooleanConstructor;
104
+ default: boolean;
105
+ };
106
+ pastel: {
107
+ type: BooleanConstructor;
108
+ default: boolean;
109
+ };
110
+ block: {
111
+ type: BooleanConstructor;
112
+ default: boolean;
113
+ };
114
+ noUnderline: {
115
+ type: BooleanConstructor;
116
+ default: boolean;
117
+ };
118
+ noLeading: {
119
+ type: BooleanConstructor;
120
+ default: boolean;
121
+ };
122
+ loading: {
123
+ type: BooleanConstructor;
124
+ default: boolean;
125
+ };
126
+ disabled: {
127
+ type: BooleanConstructor;
128
+ default: boolean;
129
+ };
130
+ fab: {
131
+ type: BooleanConstructor;
132
+ default: boolean;
133
+ };
134
+ leftIcon: {
135
+ type: StringConstructor;
136
+ default: undefined;
137
+ };
138
+ rightIcon: {
139
+ type: StringConstructor;
140
+ default: undefined;
141
+ };
142
+ noPadding: {
143
+ type: BooleanConstructor;
144
+ default: boolean;
145
+ };
146
+ noElevation: {
147
+ type: BooleanConstructor;
148
+ default: boolean;
149
+ };
150
+ }>>, {
151
+ type: string;
152
+ color: Color;
153
+ disabled: boolean;
154
+ size: Size;
155
+ loading: boolean;
156
+ noElevation: boolean;
157
+ outline: boolean;
158
+ pastel: boolean;
159
+ variant: string;
160
+ rounded: boolean;
161
+ block: boolean;
162
+ noUnderline: boolean;
163
+ noLeading: boolean;
164
+ fab: boolean;
165
+ leftIcon: string;
166
+ rightIcon: string;
167
+ noPadding: boolean;
168
+ }, {}>, {
169
+ "left-icon"?(_: {}): any;
170
+ default?(_: {}): any;
171
+ "right-icon"?(_: {}): any;
172
+ }>;
173
+ export default _default;
174
+ type __VLS_WithTemplateSlots<T, S> = T & {
175
+ new (): {
176
+ $slots: S;
177
+ };
178
+ };