maz-ui 3.5.0 → 3.6.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.
Files changed (174) hide show
  1. package/components/MazAvatar.d.ts +156 -149
  2. package/components/MazAvatar.mjs +656 -0
  3. package/components/MazAvatar.umd.js +2 -0
  4. package/components/MazBackdrop.d.ts +89 -89
  5. package/components/MazBackdrop.mjs +140 -0
  6. package/components/MazBackdrop.umd.js +2 -0
  7. package/components/MazBadge.d.ts +73 -68
  8. package/components/MazBadge.mjs +61 -0
  9. package/components/MazBadge.umd.js +2 -0
  10. package/components/MazBottomSheet.d.ts +36 -29
  11. package/components/MazBottomSheet.mjs +553 -0
  12. package/components/MazBottomSheet.umd.js +2 -0
  13. package/components/MazBtn.d.ts +178 -171
  14. package/components/MazBtn.mjs +371 -0
  15. package/components/MazBtn.umd.js +2 -0
  16. package/components/MazCard.d.ts +194 -183
  17. package/components/MazCard.mjs +1390 -0
  18. package/components/MazCard.umd.js +2 -0
  19. package/components/MazCarousel.d.ts +24 -16
  20. package/components/MazCarousel.mjs +469 -0
  21. package/components/MazCarousel.umd.js +2 -0
  22. package/components/MazChart/includes.d.ts +11 -11
  23. package/components/MazChart.d.ts +114 -114
  24. package/components/MazChart.mjs +135 -0
  25. package/components/MazChart.umd.js +2 -0
  26. package/components/MazCheckbox.d.ts +54 -49
  27. package/components/MazCheckbox.mjs +86 -0
  28. package/components/MazCheckbox.umd.js +2 -0
  29. package/components/MazDialog.d.ts +40 -29
  30. package/components/MazDialog.mjs +566 -0
  31. package/components/MazDialog.umd.js +2 -0
  32. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +30 -30
  33. package/components/MazDialogPromise.d.ts +36 -28
  34. package/components/MazDialogPromise.mjs +692 -0
  35. package/components/MazDialogPromise.umd.js +2 -0
  36. package/components/MazDrawer.d.ts +69 -59
  37. package/components/MazDrawer.mjs +572 -0
  38. package/components/MazDrawer.umd.js +2 -0
  39. package/components/MazDropzone.d.ts +128 -128
  40. package/components/MazDropzone.mjs +369 -0
  41. package/components/MazDropzone.umd.js +2 -0
  42. package/components/MazGallery.d.ts +144 -144
  43. package/components/MazGallery.mjs +948 -0
  44. package/components/MazGallery.umd.js +2 -0
  45. package/components/MazIcon.d.ts +64 -66
  46. package/components/MazIcon.mjs +161 -0
  47. package/components/MazIcon.umd.js +2 -0
  48. package/components/MazInput.d.ts +276 -276
  49. package/components/MazInput.mjs +750 -0
  50. package/components/MazInput.umd.js +2 -0
  51. package/components/MazInputNumber.d.ts +65 -67
  52. package/components/MazInputNumber.mjs +857 -0
  53. package/components/MazInputNumber.umd.js +2 -0
  54. package/components/MazInputPrice.d.ts +69 -64
  55. package/components/MazInputPrice.mjs +889 -0
  56. package/components/MazInputPrice.umd.js +2 -0
  57. package/components/MazInputTags.d.ts +94 -96
  58. package/components/MazInputTags.mjs +904 -0
  59. package/components/MazInputTags.umd.js +2 -0
  60. package/components/MazLazyImg.d.ts +85 -80
  61. package/components/MazLazyImg.mjs +376 -0
  62. package/components/MazLazyImg.umd.js +2 -0
  63. package/components/MazPhoneNumberInput/constantes/locales.d.ts +12 -12
  64. package/components/MazPhoneNumberInput/types.d.ts +21 -21
  65. package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +2 -2
  66. package/components/MazPhoneNumberInput/utils/index.d.ts +12 -12
  67. package/components/MazPhoneNumberInput.d.ts +253 -255
  68. package/components/MazPhoneNumberInput.mjs +1907 -0
  69. package/components/MazPhoneNumberInput.umd.js +2 -0
  70. package/components/MazPicker/MazPickerCalendar.vue.d.ts +135 -137
  71. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +20 -22
  72. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +112 -114
  73. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +122 -124
  74. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +36 -38
  75. package/components/MazPicker/MazPickerContainer.vue.d.ts +210 -212
  76. package/components/MazPicker/MazPickerFooter.vue.d.ts +16 -0
  77. package/components/MazPicker/MazPickerHeader.vue.d.ts +82 -84
  78. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +41 -43
  79. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +60 -62
  80. package/components/MazPicker/MazPickerTime.vue.d.ts +127 -129
  81. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +33 -35
  82. package/components/MazPicker/types.d.ts +15 -15
  83. package/components/MazPicker/utils.d.ts +54 -54
  84. package/components/MazPicker.d.ts +311 -313
  85. package/components/MazPicker.mjs +2942 -0
  86. package/components/MazPicker.umd.js +2 -0
  87. package/components/MazRadioButtons.d.ts +77 -69
  88. package/components/MazRadioButtons.mjs +80 -0
  89. package/components/MazRadioButtons.umd.js +2 -0
  90. package/components/MazSelect.d.ts +185 -176
  91. package/components/MazSelect.mjs +1085 -0
  92. package/components/MazSelect.umd.js +2 -0
  93. package/components/MazSlider/utils.d.ts +15 -15
  94. package/components/MazSlider.d.ts +94 -96
  95. package/components/MazSlider.mjs +377 -0
  96. package/components/MazSlider.umd.js +2 -0
  97. package/components/MazSpinner.d.ts +28 -30
  98. package/components/MazSpinner.mjs +59 -0
  99. package/components/MazSpinner.umd.js +2 -0
  100. package/components/MazStepper.d.ts +71 -73
  101. package/components/MazStepper.mjs +227 -0
  102. package/components/MazStepper.umd.js +2 -0
  103. package/components/MazSwitch.d.ts +54 -56
  104. package/components/MazSwitch.mjs +61 -0
  105. package/components/MazSwitch.umd.js +2 -0
  106. package/components/MazTabsBar.d.ts +47 -49
  107. package/components/MazTabsBar.mjs +470 -0
  108. package/components/MazTabsBar.umd.js +2 -0
  109. package/components/MazTabsContent.d.ts +21 -16
  110. package/components/MazTabsContent.mjs +89 -0
  111. package/components/MazTabsContent.umd.js +2 -0
  112. package/components/MazTabsContentItem.d.ts +19 -14
  113. package/components/MazTabsContentItem.mjs +61 -0
  114. package/components/MazTabsContentItem.umd.js +2 -0
  115. package/components/MazTextarea/textarea-autogrow.d.ts +9 -9
  116. package/components/MazTextarea.d.ts +123 -125
  117. package/components/MazTextarea.mjs +260 -0
  118. package/components/MazTextarea.umd.js +2 -0
  119. package/components/MazTransitionExpand.d.ts +9 -4
  120. package/components/MazTransitionExpand.mjs +62 -0
  121. package/components/MazTransitionExpand.umd.js +2 -0
  122. package/components/index.d.ts +33 -33
  123. package/components/index.mjs +35 -0
  124. package/components/index.umd.js +35 -0
  125. package/components/no_photo-410a8f01.mjs +4 -0
  126. package/components/types.d.ts +17 -17
  127. package/css/main.css +1 -1
  128. package/maz-ui.d.ts +234 -232
  129. package/modules/maz-ui.mjs +1892 -0
  130. package/modules/maz-ui.umd.js +2 -0
  131. package/modules/no_photo-410a8f01.mjs +4 -0
  132. package/package.json +43 -52
  133. package/tailwindcss/tailwind.config.js +6 -7
  134. package/tailwindcss/utils/colors.js +1 -3
  135. package/tailwindcss/variables/breakpoints.js +1 -2
  136. package/tailwindcss/variables/utilities.js +1 -2
  137. package/tailwindcss/variables/z-indexes.js +1 -1
  138. package/components/MazAvatar.js +0 -3
  139. package/components/MazBackdrop.js +0 -3
  140. package/components/MazBadge.js +0 -1
  141. package/components/MazBottomSheet.js +0 -3
  142. package/components/MazBtn.js +0 -3
  143. package/components/MazCard.js +0 -3
  144. package/components/MazCarousel.js +0 -3
  145. package/components/MazChart.js +0 -1
  146. package/components/MazCheckbox.js +0 -1
  147. package/components/MazDialog.js +0 -3
  148. package/components/MazDialogPromise.js +0 -3
  149. package/components/MazDrawer.js +0 -3
  150. package/components/MazDropzone.js +0 -3
  151. package/components/MazGallery.js +0 -3
  152. package/components/MazIcon.js +0 -3
  153. package/components/MazInput.js +0 -3
  154. package/components/MazInputNumber.js +0 -3
  155. package/components/MazInputPrice.js +0 -3
  156. package/components/MazInputTags.js +0 -3
  157. package/components/MazLazyImg.js +0 -3
  158. package/components/MazPhoneNumberInput.js +0 -3
  159. package/components/MazPicker.js +0 -3
  160. package/components/MazRadioButtons.js +0 -1
  161. package/components/MazSelect.js +0 -3
  162. package/components/MazSlider.js +0 -3
  163. package/components/MazSpinner.js +0 -1
  164. package/components/MazStepper.js +0 -1
  165. package/components/MazSwitch.js +0 -1
  166. package/components/MazTabsBar.js +0 -3
  167. package/components/MazTabsContent.js +0 -1
  168. package/components/MazTabsContentItem.js +0 -3
  169. package/components/MazTextarea.js +0 -1
  170. package/components/MazTransitionExpand.js +0 -1
  171. package/components/index.js +0 -35
  172. package/components/no_photo-a72545e4.js +0 -1
  173. package/modules/index.js +0 -3
  174. package/modules/no_photo-a72545e4.js +0 -1
@@ -1,176 +1,185 @@
1
- import { type PropType } from 'vue';
2
- import type { Color, ModelValueSimple, Position, Size } from './types';
3
- export type MazSelectOption = Record<string, ModelValueSimple>;
4
- export type { Color, Size, ModelValueSimple, Position } from './types';
5
- declare const _default: import("vue").DefineComponent<{
6
- modelValue: {
7
- type: PropType<ModelValueSimple>;
8
- default: undefined;
9
- };
10
- id: {
11
- type: StringConstructor;
12
- default: undefined;
13
- };
14
- options: {
15
- type: PropType<MazSelectOption[]>;
16
- required: true;
17
- };
18
- optionValueKey: {
19
- type: StringConstructor;
20
- default: string;
21
- };
22
- optionLabelKey: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- optionInputValueKey: {
27
- type: StringConstructor;
28
- default: string;
29
- };
30
- listPosition: {
31
- type: PropType<Position>;
32
- default: string;
33
- validator: (value: Position) => boolean;
34
- };
35
- required: {
36
- type: BooleanConstructor;
37
- default: boolean;
38
- };
39
- disabled: {
40
- type: BooleanConstructor;
41
- default: boolean;
42
- };
43
- open: {
44
- type: BooleanConstructor;
45
- default: boolean;
46
- };
47
- color: {
48
- type: PropType<Color>;
49
- default: string;
50
- validator: (value: string) => boolean;
51
- };
52
- itemHeight: {
53
- type: NumberConstructor;
54
- default: number;
55
- };
56
- maxListHeight: {
57
- type: NumberConstructor;
58
- default: number;
59
- };
60
- maxListWidth: {
61
- type: NumberConstructor;
62
- default: undefined;
63
- };
64
- size: {
65
- type: PropType<Size>;
66
- default: string;
67
- validator: (value: string) => boolean;
68
- };
69
- search: {
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- searchPlaceholder: {
74
- type: StringConstructor;
75
- default: string;
76
- };
77
- }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
78
- [key: string]: any;
79
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "open" | "update:model-value" | "blur" | "focus" | "change")[], "close" | "open" | "update:model-value" | "blur" | "focus" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
80
- modelValue: {
81
- type: PropType<ModelValueSimple>;
82
- default: undefined;
83
- };
84
- id: {
85
- type: StringConstructor;
86
- default: undefined;
87
- };
88
- options: {
89
- type: PropType<MazSelectOption[]>;
90
- required: true;
91
- };
92
- optionValueKey: {
93
- type: StringConstructor;
94
- default: string;
95
- };
96
- optionLabelKey: {
97
- type: StringConstructor;
98
- default: string;
99
- };
100
- optionInputValueKey: {
101
- type: StringConstructor;
102
- default: string;
103
- };
104
- listPosition: {
105
- type: PropType<Position>;
106
- default: string;
107
- validator: (value: Position) => boolean;
108
- };
109
- required: {
110
- type: BooleanConstructor;
111
- default: boolean;
112
- };
113
- disabled: {
114
- type: BooleanConstructor;
115
- default: boolean;
116
- };
117
- open: {
118
- type: BooleanConstructor;
119
- default: boolean;
120
- };
121
- color: {
122
- type: PropType<Color>;
123
- default: string;
124
- validator: (value: string) => boolean;
125
- };
126
- itemHeight: {
127
- type: NumberConstructor;
128
- default: number;
129
- };
130
- maxListHeight: {
131
- type: NumberConstructor;
132
- default: number;
133
- };
134
- maxListWidth: {
135
- type: NumberConstructor;
136
- default: undefined;
137
- };
138
- size: {
139
- type: PropType<Size>;
140
- default: string;
141
- validator: (value: string) => boolean;
142
- };
143
- search: {
144
- type: BooleanConstructor;
145
- default: boolean;
146
- };
147
- searchPlaceholder: {
148
- type: StringConstructor;
149
- default: string;
150
- };
151
- }>> & {
152
- onClose?: ((...args: any[]) => any) | undefined;
153
- onOpen?: ((...args: any[]) => any) | undefined;
154
- "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
155
- onBlur?: ((...args: any[]) => any) | undefined;
156
- onFocus?: ((...args: any[]) => any) | undefined;
157
- onChange?: ((...args: any[]) => any) | undefined;
158
- }, {
159
- open: boolean;
160
- modelValue: ModelValueSimple;
161
- id: string;
162
- optionValueKey: string;
163
- optionLabelKey: string;
164
- optionInputValueKey: string;
165
- listPosition: Position;
166
- required: boolean;
167
- disabled: boolean;
168
- color: Color;
169
- itemHeight: number;
170
- maxListHeight: number;
171
- maxListWidth: number;
172
- size: Size;
173
- search: boolean;
174
- searchPlaceholder: string;
175
- }>;
176
- export default _default;
1
+ import { type PropType } from 'vue';
2
+ import type { Color, ModelValueSimple, Position, Size } from './types';
3
+ export type MazSelectOption = Record<string, ModelValueSimple>;
4
+ export type { Color, Size, ModelValueSimple, Position } from './types';
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
6
+ modelValue: {
7
+ type: PropType<ModelValueSimple>;
8
+ default: undefined;
9
+ };
10
+ id: {
11
+ type: StringConstructor;
12
+ default: undefined;
13
+ };
14
+ options: {
15
+ type: PropType<MazSelectOption[]>;
16
+ required: true;
17
+ };
18
+ optionValueKey: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ optionLabelKey: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ optionInputValueKey: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ listPosition: {
31
+ type: PropType<Position>;
32
+ default: string;
33
+ validator: (value: Position) => boolean;
34
+ };
35
+ required: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ disabled: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ open: {
44
+ type: BooleanConstructor;
45
+ default: boolean;
46
+ };
47
+ color: {
48
+ type: PropType<Color>;
49
+ default: string;
50
+ validator: (value: string) => boolean;
51
+ };
52
+ itemHeight: {
53
+ type: NumberConstructor;
54
+ default: number;
55
+ };
56
+ maxListHeight: {
57
+ type: NumberConstructor;
58
+ default: number;
59
+ };
60
+ maxListWidth: {
61
+ type: NumberConstructor;
62
+ default: undefined;
63
+ };
64
+ size: {
65
+ type: PropType<Size>;
66
+ default: string;
67
+ validator: (value: string) => boolean;
68
+ };
69
+ search: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
73
+ searchPlaceholder: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("blur" | "change" | "close" | "focus" | "open" | "update:model-value")[], "blur" | "change" | "close" | "focus" | "open" | "update:model-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
78
+ modelValue: {
79
+ type: PropType<ModelValueSimple>;
80
+ default: undefined;
81
+ };
82
+ id: {
83
+ type: StringConstructor;
84
+ default: undefined;
85
+ };
86
+ options: {
87
+ type: PropType<MazSelectOption[]>;
88
+ required: true;
89
+ };
90
+ optionValueKey: {
91
+ type: StringConstructor;
92
+ default: string;
93
+ };
94
+ optionLabelKey: {
95
+ type: StringConstructor;
96
+ default: string;
97
+ };
98
+ optionInputValueKey: {
99
+ type: StringConstructor;
100
+ default: string;
101
+ };
102
+ listPosition: {
103
+ type: PropType<Position>;
104
+ default: string;
105
+ validator: (value: Position) => boolean;
106
+ };
107
+ required: {
108
+ type: BooleanConstructor;
109
+ default: boolean;
110
+ };
111
+ disabled: {
112
+ type: BooleanConstructor;
113
+ default: boolean;
114
+ };
115
+ open: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ color: {
120
+ type: PropType<Color>;
121
+ default: string;
122
+ validator: (value: string) => boolean;
123
+ };
124
+ itemHeight: {
125
+ type: NumberConstructor;
126
+ default: number;
127
+ };
128
+ maxListHeight: {
129
+ type: NumberConstructor;
130
+ default: number;
131
+ };
132
+ maxListWidth: {
133
+ type: NumberConstructor;
134
+ default: undefined;
135
+ };
136
+ size: {
137
+ type: PropType<Size>;
138
+ default: string;
139
+ validator: (value: string) => boolean;
140
+ };
141
+ search: {
142
+ type: BooleanConstructor;
143
+ default: boolean;
144
+ };
145
+ searchPlaceholder: {
146
+ type: StringConstructor;
147
+ default: string;
148
+ };
149
+ }>> & {
150
+ onFocus?: ((...args: any[]) => any) | undefined;
151
+ onBlur?: ((...args: any[]) => any) | undefined;
152
+ onChange?: ((...args: any[]) => any) | undefined;
153
+ onClose?: ((...args: any[]) => any) | undefined;
154
+ onOpen?: ((...args: any[]) => any) | undefined;
155
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
156
+ }, {
157
+ search: boolean;
158
+ size: Size;
159
+ color: Color;
160
+ required: boolean;
161
+ open: boolean;
162
+ modelValue: ModelValueSimple;
163
+ disabled: boolean;
164
+ id: string;
165
+ optionValueKey: string;
166
+ optionLabelKey: string;
167
+ optionInputValueKey: string;
168
+ listPosition: Position;
169
+ itemHeight: number;
170
+ maxListHeight: number;
171
+ maxListWidth: number;
172
+ searchPlaceholder: string;
173
+ }>, {
174
+ default: (_: {
175
+ option: MazSelectOption;
176
+ isSelected: boolean;
177
+ selectedOption: ModelValueSimple;
178
+ }) => any;
179
+ }>;
180
+ export default _default;
181
+ type __VLS_WithTemplateSlots<T, S> = T & {
182
+ new (): {
183
+ $slots: S;
184
+ };
185
+ };