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.
Files changed (159) hide show
  1. package/components/MazAccordion.d.ts +12 -10
  2. package/components/MazAnimatedCounter.d.ts +15 -13
  3. package/components/MazAvatar.d.ts +9 -7
  4. package/components/MazBackdrop.d.ts +12 -21
  5. package/components/MazBadge.d.ts +6 -4
  6. package/components/MazBottomSheet.d.ts +8 -6
  7. package/components/MazBtn.d.ts +12 -10
  8. package/components/MazCard.d.ts +16 -14
  9. package/components/MazCard.mjs +1 -1
  10. package/components/MazCardSpotlight.d.ts +7 -5
  11. package/components/MazCarousel.d.ts +9 -7
  12. package/components/MazChart.d.ts +6 -6
  13. package/components/MazCheckbox.d.ts +7 -5
  14. package/components/MazCircularProgressBar.d.ts +27 -24
  15. package/components/MazDialog.d.ts +16 -24
  16. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +29 -29
  17. package/components/MazDrawer.d.ts +12 -10
  18. package/components/MazDropdown.d.ts +27 -25
  19. package/components/MazDropzone.d.ts +15 -15
  20. package/components/MazExpandAnimation.d.ts +6 -4
  21. package/components/MazFullscreenLoader.d.ts +6 -4
  22. package/components/MazIcon.d.ts +3 -3
  23. package/components/MazInput.d.ts +15 -133
  24. package/components/MazInputCode.d.ts +2 -2
  25. package/components/MazInputNumber.d.ts +2 -2
  26. package/components/MazInputPrice.d.ts +7 -5
  27. package/components/MazInputTags.d.ts +1 -1
  28. package/components/MazLazyImg.d.ts +9 -7
  29. package/components/MazLink.d.ts +10 -8
  30. package/components/MazPagination.d.ts +20 -18
  31. package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +53 -70
  32. package/components/MazPhoneNumberInput.d.ts +17 -25
  33. package/components/MazPhoneNumberInput.mjs +1 -1
  34. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +3 -3
  35. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +3 -3
  36. package/components/MazPicker.d.ts +1 -1
  37. package/components/MazPicker.mjs +1 -1
  38. package/components/MazPullToRefresh.d.ts +9 -7
  39. package/components/MazRadio.d.ts +27 -24
  40. package/components/MazRadioButtons.d.ts +10 -8
  41. package/components/MazReadingProgressBar.d.ts +1 -1
  42. package/components/MazSelect.d.ts +16 -125
  43. package/components/MazSelect.mjs +1 -1
  44. package/components/MazStepper.d.ts +10 -8
  45. package/components/MazSwitch.d.ts +9 -7
  46. package/components/MazTable.d.ts +67 -65
  47. package/components/MazTable.mjs +1 -1
  48. package/components/MazTableCell.d.ts +4 -2
  49. package/components/MazTableRow.d.ts +4 -2
  50. package/components/MazTableTitle.d.ts +4 -2
  51. package/components/MazTabs.d.ts +6 -4
  52. package/components/MazTabsBar.d.ts +18 -16
  53. package/components/MazTabsContent.d.ts +4 -2
  54. package/components/MazTabsContentItem.d.ts +6 -4
  55. package/components/MazTextarea.d.ts +1 -1
  56. package/components/MazTransitionExpand.d.ts +6 -4
  57. package/components/MazTransitionExpand.mjs +2 -2
  58. package/components/assets/MazPhoneNumberInput.css +1 -1
  59. package/components/assets/MazPickerMonthSwitcher.css +1 -1
  60. package/components/assets/MazPickerYearSwitcher.css +1 -1
  61. package/components/assets/MazSelect.css +1 -1
  62. package/components/assets/MazTable.css +1 -1
  63. package/components/assets/MazTabsBar.css +1 -1
  64. package/components/assets/MazTransitionExpand.css +1 -1
  65. package/components/chunks/{MazBtn-B5XwteK7.mjs → MazBtn-BURByjBO.mjs} +2 -2
  66. package/components/chunks/{MazBtn-CQSo596y.mjs → MazBtn-D1TNsXIe.mjs} +2 -2
  67. package/components/chunks/{MazBtn-gj2W8kzn.mjs → MazBtn-YtY4PeyZ.mjs} +2 -2
  68. package/components/chunks/{MazCard-BBwohtCJ.mjs → MazCard-BiDXoNWK.mjs} +1 -1
  69. package/components/chunks/{MazCheckbox-isKq9dAX.mjs → MazCheckbox-BMzMZ-_l.mjs} +1 -1
  70. package/components/chunks/{MazCheckbox-CqHZNrGa.mjs → MazCheckbox-B_Rx3ZCe.mjs} +1 -1
  71. package/components/chunks/{MazGallery-Din0Z37d.mjs → MazGallery-SSMQ_JIA.mjs} +2 -2
  72. package/components/chunks/{MazIcon-D2DkwtXq.mjs → MazIcon-CwITLbPL.mjs} +1 -1
  73. package/components/chunks/{MazIcon-DHzZGzIp.mjs → MazIcon-x_aGvHlZ.mjs} +1 -1
  74. package/components/chunks/{MazPhoneNumberInput-CYcy4OZW.mjs → MazPhoneNumberInput-fo2MtuWB.mjs} +6 -6
  75. package/components/chunks/{MazPicker-DCTIkgDd.mjs → MazPicker-Df-LRtwz.mjs} +2 -2
  76. package/components/chunks/{MazPickerMonthSwitcher-CINBaU3n.mjs → MazPickerMonthSwitcher-CrrfUDPA.mjs} +2 -2
  77. package/components/chunks/{MazPickerShortcuts-vvPV1aW8.mjs → MazPickerShortcuts-Dpm1ra_Y.mjs} +1 -1
  78. package/components/chunks/{MazPickerYearSwitcher-CkqFNhde.mjs → MazPickerYearSwitcher-BIeGuXI7.mjs} +2 -2
  79. package/components/chunks/{MazSelect-DvNLFDvj.mjs → MazSelect-xBiD7HuJ.mjs} +6 -6
  80. package/components/chunks/{MazSpinner-C7s8yroP.mjs → MazSpinner-C5MXwcx7.mjs} +1 -1
  81. package/components/chunks/{MazSpinner-BVd7-OTu.mjs → MazSpinner-CrDTibNk.mjs} +1 -1
  82. package/components/chunks/{MazSpinner-CpYgtvc9.mjs → MazSpinner-CvucKhXp.mjs} +1 -1
  83. package/components/chunks/MazSpinner-DDmCKWOx.mjs +37 -0
  84. package/components/chunks/{MazSpinner-CAG800x4.mjs → MazSpinner-QIX5R4Hk.mjs} +1 -1
  85. package/components/chunks/{MazTable-BN-Yp2RW.mjs → MazTable-1D7GRSpa.mjs} +6 -6
  86. package/components/chunks/{MazTransitionExpand-CYyEf_hd.mjs → MazTransitionExpand-BLFZPAt_.mjs} +11 -11
  87. package/modules/assets/index.css +1 -1
  88. package/modules/chunks/{MazBtn-BVqZ8Wej.cjs → MazBtn-BLvj2Vcl.cjs} +1 -1
  89. package/modules/chunks/{MazBtn-Cuj6yEZn.mjs → MazBtn-DhVNaOBj.mjs} +2 -2
  90. package/modules/chunks/{MazIcon-CyWCmQpN.cjs → MazIcon-BhCADEJL.cjs} +1 -1
  91. package/modules/chunks/{MazIcon-COFexHFo.mjs → MazIcon-ZPJHGsC7.mjs} +1 -1
  92. package/modules/chunks/{MazSpinner-BtXwGTnk.mjs → MazSpinner-Dx_yL6x9.mjs} +1 -1
  93. package/modules/chunks/{MazSpinner-Dz0kdTmr.cjs → MazSpinner-OdoRwyjg.cjs} +1 -1
  94. package/modules/chunks/{index-DW2zAKgR.cjs → index-BT3W7L22.cjs} +2 -2
  95. package/modules/chunks/{index-BBOf37yd.mjs → index-CgWq2KzW.mjs} +363 -360
  96. package/modules/index.cjs +1 -1
  97. package/modules/index.mjs +1 -1
  98. package/nuxt/index.json +2 -2
  99. package/nuxt/types.d.mts +4 -23
  100. package/nuxt/types.d.ts +4 -23
  101. package/package.json +25 -25
  102. package/types/components/MazAccordion.vue.d.ts +12 -10
  103. package/types/components/MazAnimatedCounter.vue.d.ts +15 -13
  104. package/types/components/MazAvatar.vue.d.ts +9 -7
  105. package/types/components/MazBackdrop.vue.d.ts +12 -21
  106. package/types/components/MazBadge.vue.d.ts +6 -4
  107. package/types/components/MazBottomSheet.vue.d.ts +8 -6
  108. package/types/components/MazBtn.vue.d.ts +12 -10
  109. package/types/components/MazCard.vue.d.ts +16 -14
  110. package/types/components/MazCardSpotlight.vue.d.ts +7 -5
  111. package/types/components/MazCarousel.vue.d.ts +9 -7
  112. package/types/components/MazChart.vue.d.ts +6 -6
  113. package/types/components/MazCheckbox.vue.d.ts +7 -5
  114. package/types/components/MazCircularProgressBar.vue.d.ts +27 -24
  115. package/types/components/MazDialog.vue.d.ts +16 -24
  116. package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +29 -29
  117. package/types/components/MazDrawer.vue.d.ts +12 -10
  118. package/types/components/MazDropdown.vue.d.ts +27 -25
  119. package/types/components/MazDropzone.vue.d.ts +15 -15
  120. package/types/components/MazExpandAnimation.vue.d.ts +6 -4
  121. package/types/components/MazFullscreenLoader.vue.d.ts +6 -4
  122. package/types/components/MazIcon.vue.d.ts +3 -3
  123. package/types/components/MazInput.vue.d.ts +15 -133
  124. package/types/components/MazInputCode.vue.d.ts +2 -2
  125. package/types/components/MazInputNumber.vue.d.ts +2 -2
  126. package/types/components/MazInputPrice.vue.d.ts +7 -5
  127. package/types/components/MazInputTags.vue.d.ts +1 -1
  128. package/types/components/MazLazyImg.vue.d.ts +9 -7
  129. package/types/components/MazLink.vue.d.ts +10 -8
  130. package/types/components/MazPagination.vue.d.ts +20 -18
  131. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +53 -70
  132. package/types/components/MazPhoneNumberInput.vue.d.ts +17 -25
  133. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +3 -3
  134. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +3 -3
  135. package/types/components/MazPicker.vue.d.ts +1 -1
  136. package/types/components/MazPullToRefresh.vue.d.ts +9 -7
  137. package/types/components/MazRadio.vue.d.ts +27 -24
  138. package/types/components/MazRadioButtons.vue.d.ts +10 -8
  139. package/types/components/MazReadingProgressBar.vue.d.ts +1 -1
  140. package/types/components/MazSelect.vue.d.ts +16 -125
  141. package/types/components/MazStepper.vue.d.ts +10 -8
  142. package/types/components/MazSwitch.vue.d.ts +9 -7
  143. package/types/components/MazTable.vue.d.ts +67 -65
  144. package/types/components/MazTableCell.vue.d.ts +4 -2
  145. package/types/components/MazTableRow.vue.d.ts +4 -2
  146. package/types/components/MazTableTitle.vue.d.ts +4 -2
  147. package/types/components/MazTabs.vue.d.ts +6 -4
  148. package/types/components/MazTabsBar.vue.d.ts +18 -16
  149. package/types/components/MazTabsContent.vue.d.ts +4 -2
  150. package/types/components/MazTabsContentItem.vue.d.ts +6 -4
  151. package/types/components/MazTextarea.vue.d.ts +1 -1
  152. package/types/components/MazTransitionExpand.vue.d.ts +6 -4
  153. package/types/modules/composables/use-form-validator/index.d.ts +5 -7
  154. package/types/modules/composables/use-form-validator/types.d.ts +16 -11
  155. package/types/modules/composables/use-form-validator/utils.d.ts +13 -13
  156. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
  157. package/types/modules/plugins/toaster/MazToast.vue.d.ts +1 -1
  158. package/types/tailwindcss/tailwind.config.d.ts +2 -2
  159. package/components/chunks/MazSpinner-D1paofz3.mjs +0 -37
@@ -81,152 +81,34 @@ export interface Props<T = ModelValueSimple> {
81
81
  /** The input will be displayed in full width */
82
82
  block?: boolean;
83
83
  }
84
- declare const _default: <T extends ModelValueSimple>(__VLS_props: {
85
- onFocus?: ((event: Event) => any) | undefined;
86
- onBlur?: ((event: Event) => any) | undefined;
87
- onChange?: ((event: Event) => any) | undefined;
88
- onInput?: ((event: Event) => any) | undefined;
89
- onClick?: ((event: Event) => any) | undefined;
90
- "onUpdate:model-value"?: ((value?: T | undefined) => any) | undefined;
91
- style?: import("vue").StyleValue;
92
- class?: any;
93
- modelValue?: T | undefined;
94
- placeholder?: string | undefined;
95
- label?: string | undefined;
96
- name?: string | undefined;
97
- color?: Color | undefined;
98
- type?: "number" | "search" | "time" | "text" | "date" | "email" | "month" | "password" | "tel" | "url" | "week" | undefined;
99
- required?: boolean | undefined;
100
- disabled?: boolean | undefined;
101
- readonly?: boolean | undefined;
102
- id?: string | undefined;
103
- error?: boolean | undefined;
104
- success?: boolean | undefined;
105
- warning?: boolean | undefined;
106
- hint?: string | undefined;
107
- inputClasses?: string | undefined;
108
- noBorder?: boolean | undefined;
109
- noRadius?: boolean | undefined;
110
- inputmode?: "search" | "text" | "numeric" | "none" | "email" | "tel" | "url" | "decimal" | undefined;
111
- size?: Size | undefined;
112
- debounce?: number | boolean | undefined;
113
- debounceDelay?: number | undefined;
114
- validButton?: boolean | undefined;
115
- validButtonLoading?: boolean | undefined;
116
- autoFocus?: boolean | undefined;
117
- borderActive?: boolean | undefined;
118
- leftIcon?: string | Icon | undefined;
119
- rightIcon?: string | Icon | undefined;
120
- roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "full" | undefined;
121
- block?: boolean | undefined;
122
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
123
- attrs: any;
124
- slots: {
125
- "left-icon"?(_: {}): any;
126
- "right-icon"?(_: {}): any;
127
- "valid-button"?(_: {}): any;
128
- };
129
- emit: ((evt: "input", event: Event) => void) & ((evt: "click", event: Event) => void) & ((evt: "blur", event: Event) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: Event) => void) & ((evt: "update:model-value", value?: T | undefined) => void);
130
- } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
131
- props: {
84
+ declare const _default: <T extends ModelValueSimple>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
85
+ props: __VLS_Prettify<Pick<Partial<{}> & Omit<{
86
+ onFocus?: ((event: Event) => any) | undefined;
87
+ onBlur?: ((event: Event) => any) | undefined;
88
+ onChange?: ((event: Event) => any) | undefined;
89
+ onInput?: ((event: Event) => any) | undefined;
90
+ onClick?: ((event: Event) => any) | undefined;
91
+ "onUpdate:model-value"?: ((value?: T | undefined) => any) | undefined;
92
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>> & {
132
93
  onFocus?: ((event: Event) => any) | undefined;
133
94
  onBlur?: ((event: Event) => any) | undefined;
134
95
  onChange?: ((event: Event) => any) | undefined;
135
96
  onInput?: ((event: Event) => any) | undefined;
136
97
  onClick?: ((event: Event) => any) | undefined;
137
98
  "onUpdate:model-value"?: ((value?: T | undefined) => any) | undefined;
138
- style?: import("vue").StyleValue;
139
- class?: any;
140
- modelValue?: T | undefined;
141
- placeholder?: string | undefined;
142
- label?: string | undefined;
143
- name?: string | undefined;
144
- color?: Color | undefined;
145
- type?: "number" | "search" | "time" | "text" | "date" | "email" | "month" | "password" | "tel" | "url" | "week" | undefined;
146
- required?: boolean | undefined;
147
- disabled?: boolean | undefined;
148
- readonly?: boolean | undefined;
149
- id?: string | undefined;
150
- error?: boolean | undefined;
151
- success?: boolean | undefined;
152
- warning?: boolean | undefined;
153
- hint?: string | undefined;
154
- inputClasses?: string | undefined;
155
- noBorder?: boolean | undefined;
156
- noRadius?: boolean | undefined;
157
- inputmode?: "search" | "text" | "numeric" | "none" | "email" | "tel" | "url" | "decimal" | undefined;
158
- size?: Size | undefined;
159
- debounce?: number | boolean | undefined;
160
- debounceDelay?: number | undefined;
161
- validButton?: boolean | undefined;
162
- validButtonLoading?: boolean | undefined;
163
- autoFocus?: boolean | undefined;
164
- borderActive?: boolean | undefined;
165
- leftIcon?: string | Icon | undefined;
166
- rightIcon?: string | Icon | undefined;
167
- roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "full" | undefined;
168
- block?: boolean | undefined;
169
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
170
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
99
+ }, never>, "onFocus" | "onBlur" | "onChange" | "onInput" | "onClick" | "onUpdate:model-value"> & Props<T>> & __VLS_BuiltInPublicProps;
100
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
171
101
  attrs: any;
172
- slots: {
102
+ slots: ReturnType<() => {
173
103
  "left-icon"?(_: {}): any;
174
104
  "right-icon"?(_: {}): any;
175
105
  "valid-button"?(_: {}): any;
176
- };
177
- emit: ((evt: "input", event: Event) => void) & ((evt: "click", event: Event) => void) & ((evt: "blur", event: Event) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: Event) => void) & ((evt: "update:model-value", value?: T | undefined) => void);
106
+ }>;
107
+ emit: (((evt: "input", event: Event) => void) & ((evt: "click", event: Event) => void) & ((evt: "blur", event: Event) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: Event) => void) & ((evt: "update:model-value", value?: T | undefined) => void)) & {};
178
108
  }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
179
109
  [key: string]: any;
180
110
  }> & {
181
- __ctx?: {
182
- props: {
183
- onFocus?: ((event: Event) => any) | undefined;
184
- onBlur?: ((event: Event) => any) | undefined;
185
- onChange?: ((event: Event) => any) | undefined;
186
- onInput?: ((event: Event) => any) | undefined;
187
- onClick?: ((event: Event) => any) | undefined;
188
- "onUpdate:model-value"?: ((value?: T | undefined) => any) | undefined;
189
- style?: import("vue").StyleValue;
190
- class?: any;
191
- modelValue?: T | undefined;
192
- placeholder?: string | undefined;
193
- label?: string | undefined;
194
- name?: string | undefined;
195
- color?: Color | undefined;
196
- type?: "number" | "search" | "time" | "text" | "date" | "email" | "month" | "password" | "tel" | "url" | "week" | undefined;
197
- required?: boolean | undefined;
198
- disabled?: boolean | undefined;
199
- readonly?: boolean | undefined;
200
- id?: string | undefined;
201
- error?: boolean | undefined;
202
- success?: boolean | undefined;
203
- warning?: boolean | undefined;
204
- hint?: string | undefined;
205
- inputClasses?: string | undefined;
206
- noBorder?: boolean | undefined;
207
- noRadius?: boolean | undefined;
208
- inputmode?: "search" | "text" | "numeric" | "none" | "email" | "tel" | "url" | "decimal" | undefined;
209
- size?: Size | undefined;
210
- debounce?: number | boolean | undefined;
211
- debounceDelay?: number | undefined;
212
- validButton?: boolean | undefined;
213
- validButtonLoading?: boolean | undefined;
214
- autoFocus?: boolean | undefined;
215
- borderActive?: boolean | undefined;
216
- leftIcon?: string | Icon | undefined;
217
- rightIcon?: string | Icon | undefined;
218
- roundedSize?: "sm" | "md" | "lg" | "xl" | "none" | "full" | undefined;
219
- block?: boolean | undefined;
220
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
221
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
222
- attrs: any;
223
- slots: {
224
- "left-icon"?(_: {}): any;
225
- "right-icon"?(_: {}): any;
226
- "valid-button"?(_: {}): any;
227
- };
228
- emit: ((evt: "input", event: Event) => void) & ((evt: "click", event: Event) => void) & ((evt: "blur", event: Event) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: Event) => void) & ((evt: "update:model-value", value?: T | undefined) => void);
229
- } | undefined;
111
+ __ctx?: Awaited<typeof __VLS_setup>;
230
112
  };
231
113
  export default _default;
232
114
  type __VLS_Prettify<T> = {
@@ -70,10 +70,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
70
70
  error: boolean;
71
71
  success: boolean;
72
72
  warning: boolean;
73
- type: "number" | "text";
73
+ type: "text" | "number";
74
74
  disabled: boolean;
75
75
  color: Color;
76
- class: any;
76
+ class: HTMLAttributes["class"];
77
77
  required: boolean;
78
78
  modelValue: string | number;
79
79
  codeLength: number;
@@ -67,12 +67,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
67
67
  size: Size;
68
68
  style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
69
69
  disabled: boolean;
70
- class: any;
70
+ class: HTMLAttributes["class"];
71
71
  max: number;
72
72
  min: number;
73
73
  modelValue: number;
74
74
  step: number;
75
- inputmode: "search" | "text" | "numeric" | "none" | "email" | "tel" | "url" | "decimal";
75
+ inputmode: "search" | "text" | "decimal" | "numeric" | "none" | "email" | "tel" | "url";
76
76
  noButtons: boolean;
77
77
  textCenter: boolean;
78
78
  }, {}>;
@@ -14,7 +14,10 @@ export interface Props {
14
14
  /** The input will be displayed in full width */
15
15
  block?: boolean;
16
16
  }
17
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
17
+ declare function __VLS_template(): {
18
+ "left-icon"?(_: {}): any;
19
+ };
20
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
18
21
  modelValue: undefined;
19
22
  currency: string;
20
23
  locale: string;
@@ -38,12 +41,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
38
41
  currency: string;
39
42
  max: number;
40
43
  min: number;
41
- modelValue: string | number;
44
+ modelValue: number | string;
42
45
  locale: string;
43
46
  noIcon: boolean;
44
- }, {}>, {
45
- "left-icon"?(_: {}): any;
46
- }>;
47
+ }, {}>;
48
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
47
49
  export default _default;
48
50
  type __VLS_WithDefaults<P, D> = {
49
51
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -68,7 +68,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
68
68
  warning: boolean;
69
69
  disabled: boolean;
70
70
  color: Color;
71
- class: any;
71
+ class: HTMLAttributes["class"];
72
72
  modelValue: string[] | number[];
73
73
  placeholder: string;
74
74
  addTagsOnBlur: boolean;
@@ -31,7 +31,10 @@ export interface Props {
31
31
  /** The fallback src to replace the src on loading error */
32
32
  fallbackSrc?: string;
33
33
  }
34
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
34
+ declare function __VLS_template(): {
35
+ default?(_: {}): any;
36
+ };
37
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
35
38
  style: undefined;
36
39
  class: undefined;
37
40
  image: undefined;
@@ -63,15 +66,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
63
66
  image: Image | null;
64
67
  alt: string;
65
68
  observerOptions: {
66
- root?: HTMLElement | null | undefined;
69
+ root?: HTMLElement | null;
67
70
  threshold: number;
68
- rootMargin?: string | undefined;
71
+ rootMargin?: string;
69
72
  };
70
73
  fallbackSrc: string;
71
- class: any;
72
- }, {}>, {
73
- default?(_: {}): any;
74
- }>;
74
+ class: HTMLAttributes["class"];
75
+ }, {}>;
76
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
75
77
  export default _default;
76
78
  type __VLS_WithDefaults<P, D> = {
77
79
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -49,7 +49,13 @@ export interface Props {
49
49
  */
50
50
  rightIcon?: string | Icon;
51
51
  }
52
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
52
+ declare function __VLS_template(): {
53
+ "left-icon"?(_: {}): any;
54
+ default?(_: {}): any;
55
+ "right-icon"?(_: {}): any;
56
+ "external-icon"?(_: {}): any;
57
+ };
58
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
53
59
  id: undefined;
54
60
  title: undefined;
55
61
  color: string;
@@ -82,7 +88,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
82
88
  id: string;
83
89
  href: string;
84
90
  color: Color;
85
- target: string;
91
+ target: "_blank" | "_self" | "_parent" | "_top" | string;
86
92
  leftIcon: string | Icon;
87
93
  rightIcon: string | Icon;
88
94
  to: RouteLocationRaw;
@@ -91,12 +97,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
91
97
  ariaLabel: string;
92
98
  underline: boolean;
93
99
  underlineOnlyHover: boolean;
94
- }, {}>, {
95
- "left-icon"?(_: {}): any;
96
- default?(_: {}): any;
97
- "right-icon"?(_: {}): any;
98
- "external-icon"?(_: {}): any;
99
- }>;
100
+ }, {}>;
101
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
100
102
  export default _default;
101
103
  type __VLS_WithDefaults<P, D> = {
102
104
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -32,7 +32,24 @@ interface MazPagnationProps {
32
32
  loading?: boolean;
33
33
  }
34
34
  export type { MazPagnationProps as Props };
35
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MazPagnationProps>, {
35
+ declare function __VLS_template(): {
36
+ "first-page-sr"?(_: {
37
+ page: number;
38
+ }): any;
39
+ "previous-page-sr"?(_: {
40
+ page: number;
41
+ }): any;
42
+ "page-sr"?(_: {
43
+ page: number;
44
+ }): any;
45
+ "next-page-sr"?(_: {
46
+ page: number;
47
+ }): any;
48
+ "last-page-sr"?(_: {
49
+ page: number;
50
+ }): any;
51
+ };
52
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MazPagnationProps>, {
36
53
  modelValue: number;
37
54
  buttonProps: undefined;
38
55
  pageRange: number;
@@ -57,23 +74,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
57
74
  resultsSize: number;
58
75
  activeColor: Color;
59
76
  pageRange: number;
60
- }, {}>, {
61
- "first-page-sr"?(_: {
62
- page: number;
63
- }): any;
64
- "previous-page-sr"?(_: {
65
- page: number;
66
- }): any;
67
- "page-sr"?(_: {
68
- page: number;
69
- }): any;
70
- "next-page-sr"?(_: {
71
- page: number;
72
- }): any;
73
- "last-page-sr"?(_: {
74
- page: number;
75
- }): any;
76
- }>;
77
+ }, {}>;
78
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
77
79
  export default _default;
78
80
  type __VLS_WithDefaults<P, D> = {
79
81
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -1,39 +1,41 @@
1
- import type { Color, CountryCode, Position, Size } from '../MazPhoneNumberInput.vue';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ import { type HTMLAttributes } from 'vue';
2
+ import type { Color, CountryCode, Position, Size, Translations } from '../MazPhoneNumberInput.vue';
3
+ declare function __VLS_template(): {
4
+ "selector-flag"?(_: {
5
+ countryCode: CountryCode;
6
+ }): any;
7
+ "no-results"?(_: {}): any;
8
+ "country-list-flag"?(_: {
9
+ countryCode: string;
10
+ option: import("../MazSelect.vue").NormalizedOption;
11
+ isSelected: boolean;
12
+ }): any;
13
+ };
14
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
15
  /** Style attribut of the component root element */
4
- style?: import("vue").StyleValue;
16
+ style?: HTMLAttributes["style"];
5
17
  /** Class attribut of the component root element */
6
- class?: any;
7
- modelValue?: CountryCode | undefined;
18
+ class?: HTMLAttributes["class"];
19
+ modelValue?: CountryCode;
8
20
  id: string;
9
21
  color: Color;
10
22
  size: Size;
11
- preferredCountries?: CountryCode[] | undefined;
12
- ignoredCountries?: CountryCode[] | undefined;
13
- onlyCountries?: CountryCode[] | undefined;
14
- customCountriesList?: Record<CountryCode, string> | undefined;
15
- locales: {
16
- countrySelector: {
17
- placeholder: string;
18
- error: string;
19
- searchPlaceholder: string;
20
- };
21
- phoneInput: {
22
- placeholder: string;
23
- example: string;
24
- };
25
- };
26
- listPosition?: Position | undefined;
27
- noFlags?: boolean | undefined;
28
- noSearch?: boolean | undefined;
29
- disabled?: boolean | undefined;
30
- showCodeOnList?: boolean | undefined;
31
- countryLocale?: string | undefined;
32
- success?: boolean | undefined;
33
- error?: boolean | undefined;
34
- countrySelectorDisplayName?: boolean | undefined;
23
+ preferredCountries?: CountryCode[];
24
+ ignoredCountries?: CountryCode[];
25
+ onlyCountries?: CountryCode[];
26
+ customCountriesList?: Record<CountryCode, string>;
27
+ locales: Translations;
28
+ listPosition?: Position;
29
+ noFlags?: boolean;
30
+ noSearch?: boolean;
31
+ disabled?: boolean;
32
+ showCodeOnList?: boolean;
33
+ countryLocale?: string;
34
+ success?: boolean;
35
+ error?: boolean;
36
+ countrySelectorDisplayName?: boolean;
35
37
  width: string;
36
- excludeSelectors?: string[] | undefined;
38
+ excludeSelectors?: string[];
37
39
  }>, {
38
40
  class: undefined;
39
41
  style: undefined;
@@ -50,39 +52,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
50
52
  "update:model-value": (countryCode?: CountryCode | undefined) => void;
51
53
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
52
54
  /** Style attribut of the component root element */
53
- style?: import("vue").StyleValue;
55
+ style?: HTMLAttributes["style"];
54
56
  /** Class attribut of the component root element */
55
- class?: any;
56
- modelValue?: CountryCode | undefined;
57
+ class?: HTMLAttributes["class"];
58
+ modelValue?: CountryCode;
57
59
  id: string;
58
60
  color: Color;
59
61
  size: Size;
60
- preferredCountries?: CountryCode[] | undefined;
61
- ignoredCountries?: CountryCode[] | undefined;
62
- onlyCountries?: CountryCode[] | undefined;
63
- customCountriesList?: Record<CountryCode, string> | undefined;
64
- locales: {
65
- countrySelector: {
66
- placeholder: string;
67
- error: string;
68
- searchPlaceholder: string;
69
- };
70
- phoneInput: {
71
- placeholder: string;
72
- example: string;
73
- };
74
- };
75
- listPosition?: Position | undefined;
76
- noFlags?: boolean | undefined;
77
- noSearch?: boolean | undefined;
78
- disabled?: boolean | undefined;
79
- showCodeOnList?: boolean | undefined;
80
- countryLocale?: string | undefined;
81
- success?: boolean | undefined;
82
- error?: boolean | undefined;
83
- countrySelectorDisplayName?: boolean | undefined;
62
+ preferredCountries?: CountryCode[];
63
+ ignoredCountries?: CountryCode[];
64
+ onlyCountries?: CountryCode[];
65
+ customCountriesList?: Record<CountryCode, string>;
66
+ locales: Translations;
67
+ listPosition?: Position;
68
+ noFlags?: boolean;
69
+ noSearch?: boolean;
70
+ disabled?: boolean;
71
+ showCodeOnList?: boolean;
72
+ countryLocale?: string;
73
+ success?: boolean;
74
+ error?: boolean;
75
+ countrySelectorDisplayName?: boolean;
84
76
  width: string;
85
- excludeSelectors?: string[] | undefined;
77
+ excludeSelectors?: string[];
86
78
  }>, {
87
79
  class: undefined;
88
80
  style: undefined;
@@ -99,7 +91,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
99
91
  "onUpdate:model-value"?: ((countryCode?: CountryCode | undefined) => any) | undefined;
100
92
  }, {
101
93
  style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
102
- class: any;
94
+ class: HTMLAttributes["class"];
103
95
  width: string;
104
96
  modelValue: CountryCode;
105
97
  listPosition: Position;
@@ -109,17 +101,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
109
101
  onlyCountries: CountryCode[];
110
102
  customCountriesList: Record<CountryCode, string>;
111
103
  countryLocale: string;
112
- }, {}>, {
113
- "selector-flag"?(_: {
114
- countryCode: CountryCode;
115
- }): any;
116
- "no-results"?(_: {}): any;
117
- "country-list-flag"?(_: {
118
- countryCode: string;
119
- option: import("../MazSelect.vue").NormalizedOption;
120
- isSelected: boolean;
121
- }): any;
122
- }>;
104
+ }, {}>;
105
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
123
106
  export default _default;
124
107
  type __VLS_WithDefaults<P, D> = {
125
108
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -103,7 +103,18 @@ export interface InjectedData {
103
103
  results: Ref<Results>;
104
104
  selectionRange: Ref<SelectionRange>;
105
105
  }
106
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
106
+ declare function __VLS_template(): {
107
+ "no-results"?(_: {}): any;
108
+ "selector-flag"?(_: {
109
+ countryCode: CountryCode;
110
+ }): any;
111
+ "country-list-flag"?(_: {
112
+ countryCode: import("./types").ModelValueSimple;
113
+ option: import("./MazSelect.vue").NormalizedOption;
114
+ isSelected: boolean;
115
+ }): any;
116
+ };
117
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
107
118
  class: undefined;
108
119
  style: undefined;
109
120
  listPosition: string;
@@ -171,10 +182,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
171
182
  size: Size;
172
183
  label: string;
173
184
  style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
174
- orientation: "col" | "row" | "responsive";
185
+ orientation: "row" | "col" | "responsive";
175
186
  id: string;
176
187
  color: Color;
177
- class: any;
188
+ class: HTMLAttributes["class"];
178
189
  modelValue: string;
179
190
  placeholder: string;
180
191
  listPosition: Position;
@@ -189,29 +200,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
189
200
  noFormattingAsYouType: boolean;
190
201
  defaultPhoneNumber: string;
191
202
  defaultCountryCode: CountryCode;
192
- translations: Partial<{
193
- countrySelector: {
194
- placeholder: string;
195
- error: string;
196
- searchPlaceholder: string;
197
- };
198
- phoneInput: {
199
- placeholder: string;
200
- example: string;
201
- };
202
- }>;
203
+ translations: Partial<Translations>;
203
204
  countrySelectorWidth: string;
204
- }, {}>, {
205
- "no-results"?(_: {}): any;
206
- "selector-flag"?(_: {
207
- countryCode: CountryCode;
208
- }): any;
209
- "country-list-flag"?(_: {
210
- countryCode: import("./types").ModelValueSimple;
211
- option: import("./MazSelect.vue").NormalizedOption;
212
- isSelected: boolean;
213
- }): any;
214
- }>;
205
+ }, {}>;
206
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
215
207
  export default _default;
216
208
  type __VLS_WithDefaults<P, D> = {
217
209
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -1,5 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
- import dayjs from 'dayjs';
2
+ import dayjs, { type Dayjs } from 'dayjs';
3
3
  import type { PickerValue } from '../types';
4
4
  import type { Color } from '../../types';
5
5
  declare const _default: import("vue").DefineComponent<{
@@ -44,7 +44,7 @@ declare const _default: import("vue").DefineComponent<{
44
44
  required: true;
45
45
  };
46
46
  hoverredDay: {
47
- type: PropType<dayjs.Dayjs>;
47
+ type: PropType<Dayjs>;
48
48
  default: undefined;
49
49
  };
50
50
  disabled: {
@@ -96,7 +96,7 @@ declare const _default: import("vue").DefineComponent<{
96
96
  required: true;
97
97
  };
98
98
  hoverredDay: {
99
- type: PropType<dayjs.Dayjs>;
99
+ type: PropType<Dayjs>;
100
100
  default: undefined;
101
101
  };
102
102
  disabled: {
@@ -1,5 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
- import dayjs from 'dayjs';
2
+ import dayjs, { type Dayjs } from 'dayjs';
3
3
  import type { PickerValue } from '../types';
4
4
  import type { Color } from './../../types';
5
5
  declare const _default: import("vue").DefineComponent<{
@@ -48,7 +48,7 @@ declare const _default: import("vue").DefineComponent<{
48
48
  required: true;
49
49
  };
50
50
  hoverredDay: {
51
- type: PropType<dayjs.Dayjs>;
51
+ type: PropType<Dayjs>;
52
52
  default: undefined;
53
53
  };
54
54
  disabled: {
@@ -105,7 +105,7 @@ declare const _default: import("vue").DefineComponent<{
105
105
  required: true;
106
106
  };
107
107
  hoverredDay: {
108
- type: PropType<dayjs.Dayjs>;
108
+ type: PropType<Dayjs>;
109
109
  default: undefined;
110
110
  };
111
111
  disabled: {
@@ -163,7 +163,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
163
163
  open: boolean;
164
164
  disabled: boolean;
165
165
  color: Color;
166
- class: any;
166
+ class: HTMLAttributes["class"];
167
167
  format: string;
168
168
  modelValue: string | Partial<import("./MazPicker/types").RangeValue>;
169
169
  locale: string;