maz-ui 3.10.0 → 3.10.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 (112) hide show
  1. package/README.md +40 -0
  2. package/components/MazAvatar.d.ts +156 -0
  3. package/components/MazAvatar.mjs +4 -4
  4. package/components/MazAvatar.umd.js +2 -2
  5. package/components/MazBackdrop.d.ts +91 -0
  6. package/components/MazBadge.d.ts +73 -0
  7. package/components/MazBottomSheet.d.ts +36 -0
  8. package/components/MazBottomSheet.mjs +5 -5
  9. package/components/MazBottomSheet.umd.js +2 -2
  10. package/components/MazBtn.d.ts +178 -0
  11. package/components/MazBtn.mjs +2 -2
  12. package/components/MazBtn.umd.js +1 -1
  13. package/components/MazCard.d.ts +194 -0
  14. package/components/MazCard.mjs +8 -10
  15. package/components/MazCard.umd.js +2 -2
  16. package/components/MazCarousel.d.ts +24 -0
  17. package/components/MazCarousel.mjs +5 -5
  18. package/components/MazCarousel.umd.js +2 -2
  19. package/components/MazCheckbox.d.ts +54 -0
  20. package/components/MazDialog.d.ts +91 -0
  21. package/components/MazDialog.mjs +4 -4
  22. package/components/MazDialog.umd.js +2 -2
  23. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +30 -0
  24. package/components/MazDialogPromise.d.ts +72 -0
  25. package/components/MazDialogPromise.mjs +4 -4
  26. package/components/MazDialogPromise.umd.js +2 -2
  27. package/components/MazDrawer.d.ts +69 -0
  28. package/components/MazDrawer.mjs +2 -2
  29. package/components/MazDrawer.umd.js +1 -1
  30. package/components/MazDropzone.d.ts +128 -0
  31. package/components/MazGallery.d.ts +125 -0
  32. package/components/MazGallery.mjs +5 -7
  33. package/components/MazGallery.umd.js +2 -2
  34. package/components/MazIcon.d.ts +64 -0
  35. package/components/MazIcon.mjs +2 -2
  36. package/components/MazIcon.umd.js +1 -1
  37. package/components/MazInput.d.ts +273 -0
  38. package/components/MazInput.mjs +4 -4
  39. package/components/MazInput.umd.js +2 -2
  40. package/components/MazInputNumber.d.ts +65 -0
  41. package/components/MazInputNumber.mjs +4 -4
  42. package/components/MazInputNumber.umd.js +2 -2
  43. package/components/MazInputPrice.d.ts +69 -0
  44. package/components/MazInputPrice.mjs +4 -4
  45. package/components/MazInputPrice.umd.js +2 -2
  46. package/components/MazInputTags.d.ts +94 -0
  47. package/components/MazInputTags.mjs +6 -6
  48. package/components/MazInputTags.umd.js +2 -2
  49. package/components/MazLazyImg.d.ts +77 -0
  50. package/components/MazLazyImg.mjs +1 -1
  51. package/components/MazLazyImg.umd.js +1 -1
  52. package/components/MazPhoneNumberInput/constantes/locales.d.ts +12 -0
  53. package/components/MazPhoneNumberInput/types.d.ts +21 -0
  54. package/components/MazPhoneNumberInput/utils/countries-name-list-by-iso-code.d.ts +2 -0
  55. package/components/MazPhoneNumberInput/utils/index.d.ts +12 -0
  56. package/components/MazPhoneNumberInput.d.ts +253 -0
  57. package/components/MazPhoneNumberInput.mjs +6 -6
  58. package/components/MazPhoneNumberInput.umd.js +2 -2
  59. package/components/MazPicker/MazPickerCalendar.vue.d.ts +135 -0
  60. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +20 -0
  61. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +112 -0
  62. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +122 -0
  63. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +36 -0
  64. package/components/MazPicker/MazPickerContainer.vue.d.ts +210 -0
  65. package/components/MazPicker/MazPickerFooter.vue.d.ts +16 -0
  66. package/components/MazPicker/MazPickerHeader.vue.d.ts +82 -0
  67. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +41 -0
  68. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +60 -0
  69. package/components/MazPicker/MazPickerTime.vue.d.ts +127 -0
  70. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +33 -0
  71. package/components/MazPicker/types.d.ts +15 -0
  72. package/components/MazPicker/utils.d.ts +54 -0
  73. package/components/MazPicker.d.ts +311 -0
  74. package/components/MazPicker.mjs +13 -16
  75. package/components/MazPicker.umd.js +2 -2
  76. package/components/MazRadioButtons.d.ts +77 -0
  77. package/components/MazSelect.d.ts +186 -0
  78. package/components/MazSelect.mjs +6 -6
  79. package/components/MazSelect.umd.js +2 -2
  80. package/components/MazSlider/utils.d.ts +15 -0
  81. package/components/MazSlider.d.ts +94 -0
  82. package/components/MazSpinner.d.ts +28 -0
  83. package/components/MazStepper.d.ts +114 -0
  84. package/components/MazStepper.mjs +6 -6
  85. package/components/MazStepper.umd.js +2 -2
  86. package/components/MazSwitch.d.ts +54 -0
  87. package/components/MazTabsBar.d.ts +47 -0
  88. package/components/MazTabsBar.mjs +2 -2
  89. package/components/MazTabsBar.umd.js +1 -1
  90. package/components/MazTabsContent.d.ts +21 -0
  91. package/components/MazTabsContent.mjs +2 -2
  92. package/components/MazTabsContent.umd.js +1 -1
  93. package/components/MazTabsContentItem.d.ts +19 -0
  94. package/components/MazTextarea/textarea-autogrow.d.ts +9 -0
  95. package/components/MazTextarea.d.ts +123 -0
  96. package/components/MazTextarea.mjs +2 -2
  97. package/components/MazTextarea.umd.js +1 -1
  98. package/components/MazTransitionExpand.d.ts +9 -0
  99. package/components/assets/no-photography-584c6185.mjs +4 -0
  100. package/components/component-list.d.ts +1 -0
  101. package/components/index.d.ts +34 -0
  102. package/components/index.mjs +36 -0
  103. package/components/types.d.ts +17 -0
  104. package/css/aos.css +1 -0
  105. package/css/main.css +1 -0
  106. package/modules/assets/no-photography-584c6185.mjs +4 -0
  107. package/modules/index.d.ts +338 -0
  108. package/modules/index.mjs +4 -4
  109. package/modules/index.umd.js +2 -2
  110. package/package.json +3 -2
  111. package/tailwindcss/tailwind.css +1 -1
  112. package/modules/assets/no-photography-7a1e4d68.mjs +0 -36
@@ -0,0 +1,253 @@
1
+ import type { CountryCode } from 'libphonenumber-js';
2
+ import type { Color, Position, Size } from './types';
3
+ import { type PropType } from 'vue';
4
+ export type { Color, Size, Position } from './types';
5
+ export type { CountryCode } from 'libphonenumber-js';
6
+ export type { Result, Translations } from './MazPhoneNumberInput/types';
7
+ declare const _default: import("vue").DefineComponent<{
8
+ modelValue: {
9
+ type: StringConstructor;
10
+ validator: (prop: string) => boolean;
11
+ default: undefined;
12
+ };
13
+ id: {
14
+ type: StringConstructor;
15
+ default: undefined;
16
+ };
17
+ placeholder: {
18
+ type: StringConstructor;
19
+ default: undefined;
20
+ };
21
+ defaultPhoneNumber: {
22
+ type: StringConstructor;
23
+ default: undefined;
24
+ };
25
+ defaultCountryCode: {
26
+ type: PropType<string>;
27
+ default: undefined;
28
+ validator: (code: string) => boolean;
29
+ };
30
+ preferredCountries: {
31
+ type: PropType<CountryCode[]>;
32
+ default: undefined;
33
+ };
34
+ ignoredCountries: {
35
+ type: PropType<CountryCode[]>;
36
+ default: undefined;
37
+ };
38
+ onlyCountries: {
39
+ type: PropType<CountryCode[]>;
40
+ default: undefined;
41
+ };
42
+ translations: {
43
+ type: PropType<{
44
+ countrySelector: {
45
+ placeholder: string;
46
+ error: string;
47
+ searchPlaceholder: string;
48
+ };
49
+ phoneInput: {
50
+ placeholder: string;
51
+ example: string;
52
+ };
53
+ }>;
54
+ default: undefined;
55
+ };
56
+ listPosition: {
57
+ type: PropType<Position>;
58
+ default: string;
59
+ validator: (value: Position) => boolean;
60
+ };
61
+ color: {
62
+ type: PropType<Color>;
63
+ default: string;
64
+ validator: (value: string) => boolean;
65
+ };
66
+ size: {
67
+ type: PropType<Size>;
68
+ default: string;
69
+ validator: (value: string) => boolean;
70
+ };
71
+ noFlags: {
72
+ type: BooleanConstructor;
73
+ default: boolean;
74
+ };
75
+ disabled: {
76
+ type: BooleanConstructor;
77
+ default: boolean;
78
+ };
79
+ noExample: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
83
+ noSearch: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ noUseBrowserLocale: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ fetchCountry: {
92
+ type: BooleanConstructor;
93
+ default: boolean;
94
+ };
95
+ noCountrySelector: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ showCodeOnList: {
100
+ type: BooleanConstructor;
101
+ default: boolean;
102
+ };
103
+ error: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ customCountriesList: {
108
+ type: PropType<Record<CountryCode, string>>;
109
+ default: undefined;
110
+ };
111
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update" | "update:model-value" | "country-code")[], "update" | "update:model-value" | "country-code", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
112
+ modelValue: {
113
+ type: StringConstructor;
114
+ validator: (prop: string) => boolean;
115
+ default: undefined;
116
+ };
117
+ id: {
118
+ type: StringConstructor;
119
+ default: undefined;
120
+ };
121
+ placeholder: {
122
+ type: StringConstructor;
123
+ default: undefined;
124
+ };
125
+ defaultPhoneNumber: {
126
+ type: StringConstructor;
127
+ default: undefined;
128
+ };
129
+ defaultCountryCode: {
130
+ type: PropType<string>;
131
+ default: undefined;
132
+ validator: (code: string) => boolean;
133
+ };
134
+ preferredCountries: {
135
+ type: PropType<CountryCode[]>;
136
+ default: undefined;
137
+ };
138
+ ignoredCountries: {
139
+ type: PropType<CountryCode[]>;
140
+ default: undefined;
141
+ };
142
+ onlyCountries: {
143
+ type: PropType<CountryCode[]>;
144
+ default: undefined;
145
+ };
146
+ translations: {
147
+ type: PropType<{
148
+ countrySelector: {
149
+ placeholder: string;
150
+ error: string;
151
+ searchPlaceholder: string;
152
+ };
153
+ phoneInput: {
154
+ placeholder: string;
155
+ example: string;
156
+ };
157
+ }>;
158
+ default: undefined;
159
+ };
160
+ listPosition: {
161
+ type: PropType<Position>;
162
+ default: string;
163
+ validator: (value: Position) => boolean;
164
+ };
165
+ color: {
166
+ type: PropType<Color>;
167
+ default: string;
168
+ validator: (value: string) => boolean;
169
+ };
170
+ size: {
171
+ type: PropType<Size>;
172
+ default: string;
173
+ validator: (value: string) => boolean;
174
+ };
175
+ noFlags: {
176
+ type: BooleanConstructor;
177
+ default: boolean;
178
+ };
179
+ disabled: {
180
+ type: BooleanConstructor;
181
+ default: boolean;
182
+ };
183
+ noExample: {
184
+ type: BooleanConstructor;
185
+ default: boolean;
186
+ };
187
+ noSearch: {
188
+ type: BooleanConstructor;
189
+ default: boolean;
190
+ };
191
+ noUseBrowserLocale: {
192
+ type: BooleanConstructor;
193
+ default: boolean;
194
+ };
195
+ fetchCountry: {
196
+ type: BooleanConstructor;
197
+ default: boolean;
198
+ };
199
+ noCountrySelector: {
200
+ type: BooleanConstructor;
201
+ default: boolean;
202
+ };
203
+ showCodeOnList: {
204
+ type: BooleanConstructor;
205
+ default: boolean;
206
+ };
207
+ error: {
208
+ type: BooleanConstructor;
209
+ default: boolean;
210
+ };
211
+ customCountriesList: {
212
+ type: PropType<Record<CountryCode, string>>;
213
+ default: undefined;
214
+ };
215
+ }>> & {
216
+ "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
217
+ onUpdate?: ((...args: any[]) => any) | undefined;
218
+ "onCountry-code"?: ((...args: any[]) => any) | undefined;
219
+ }, {
220
+ id: string;
221
+ placeholder: string;
222
+ color: Color;
223
+ disabled: boolean;
224
+ error: boolean;
225
+ size: Size;
226
+ modelValue: string;
227
+ listPosition: Position;
228
+ defaultPhoneNumber: string;
229
+ defaultCountryCode: string;
230
+ preferredCountries: CountryCode[];
231
+ ignoredCountries: CountryCode[];
232
+ onlyCountries: CountryCode[];
233
+ translations: {
234
+ countrySelector: {
235
+ placeholder: string;
236
+ error: string;
237
+ searchPlaceholder: string;
238
+ };
239
+ phoneInput: {
240
+ placeholder: string;
241
+ example: string;
242
+ };
243
+ };
244
+ noFlags: boolean;
245
+ noExample: boolean;
246
+ noSearch: boolean;
247
+ noUseBrowserLocale: boolean;
248
+ fetchCountry: boolean;
249
+ noCountrySelector: boolean;
250
+ showCodeOnList: boolean;
251
+ customCountriesList: Record<CountryCode, string>;
252
+ }, {}>;
253
+ export default _default;