maz-ui 4.0.0-beta.9 → 4.0.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 (384) hide show
  1. package/README.md +1 -1
  2. package/dist/assets/{MazAnimatedCounter.DkZNPRLp.css → MazAnimatedCounter.LK7oyUrl.css} +1 -1
  3. package/dist/assets/MazAnimatedText.CHvAudRU.css +1 -0
  4. package/dist/assets/MazBackdrop.09bziTPM.css +1 -0
  5. package/dist/assets/{MazBadge.DN8tdE8_.css → MazBadge.ChI2DaTU.css} +1 -1
  6. package/dist/assets/MazBtn.BvC8ftmc.css +1 -0
  7. package/dist/assets/MazCard.Dv02b2P6.css +1 -0
  8. package/dist/assets/MazCardSpotlight.B7lFD7Pi.css +1 -0
  9. package/dist/assets/MazCarousel.BLHpZIu5.css +1 -0
  10. package/dist/assets/MazCheckbox.Di88TJ3e.css +1 -0
  11. package/dist/assets/MazChecklist.Bu8wERn6.css +1 -0
  12. package/dist/assets/MazDatePicker.G6V7jjin.css +1 -0
  13. package/dist/assets/{MazDialog.DEmRfAv7.css → MazDialog.TS06kRcu.css} +1 -1
  14. package/dist/assets/MazDropdown.D90GEKDB.css +1 -0
  15. package/dist/assets/MazDropzone._2HwHowu.css +1 -0
  16. package/dist/assets/MazGallery.BTNB3D6k.css +1 -0
  17. package/dist/assets/MazInput.BvuxfP9k.css +1 -0
  18. package/dist/assets/MazInputCode.BYi64Mof.css +1 -0
  19. package/dist/assets/MazInputPhoneNumber.Baeyskod.css +1 -0
  20. package/dist/assets/MazInputTags.is2jSJk-.css +1 -0
  21. package/dist/assets/MazLazyImg.DO7a4PDm.css +1 -0
  22. package/dist/assets/MazLink.CFscNMFr.css +1 -0
  23. package/dist/assets/{MazPagination.C6cUh-p4.css → MazPagination.BUhf2Qr7.css} +1 -1
  24. package/dist/assets/MazPickerCalendar.e-eF8E7m.css +1 -0
  25. package/dist/assets/MazPickerCalendarMonth.DpijYq-O.css +1 -0
  26. package/dist/assets/{MazPickerCalendarSwitcher.uni8vJJv.css → MazPickerCalendarSwitcher.ByAVjy00.css} +1 -1
  27. package/dist/assets/{MazPickerContainer.k3DGjyHC.css → MazPickerContainer.DmHuaFqE.css} +1 -1
  28. package/dist/assets/{MazPickerHeader.ZYCJY5bX.css → MazPickerHeader.D7JXgA3q.css} +1 -1
  29. package/dist/assets/MazPickerMonthSwitcher.BJGGy53r.css +1 -0
  30. package/dist/assets/{MazPickerYearSwitcher.Cn-nS-Vv.css → MazPickerYearSwitcher.DPD1_dfz.css} +1 -1
  31. package/dist/assets/MazPopover.DIE65uVT.css +1 -0
  32. package/dist/assets/MazPullToRefresh.C0HGlupm.css +1 -0
  33. package/dist/assets/MazRadio.B0B3P1QS.css +1 -0
  34. package/dist/assets/MazRadioButtons.CfiHq8H9.css +1 -0
  35. package/dist/assets/MazReadingProgressBar.dzfwQFNg.css +1 -0
  36. package/dist/assets/MazSelect.DIwjMD31.css +1 -0
  37. package/dist/assets/{MazSelectCountry.CdNTQPhr.css → MazSelectCountry.B0tlbfgr.css} +1 -1
  38. package/dist/assets/MazSlider.WcnBC9zc.css +1 -0
  39. package/dist/assets/MazSpinner.CsiFJ1DS.css +1 -0
  40. package/dist/assets/MazStepper.C9R7g43I.css +1 -0
  41. package/dist/assets/MazSwitch.LCcK91L7.css +1 -0
  42. package/dist/assets/MazTable.Cq7FEz09.css +1 -0
  43. package/dist/assets/MazTableRow.C0Ko4yDk.css +1 -0
  44. package/dist/assets/{MazTabsBar.gcS2Fc-B.css → MazTabsBar.BRr1XiYu.css} +1 -1
  45. package/dist/assets/{MazTabsContentItem.CHfy19ZF.css → MazTabsContentItem.C84SDmj0.css} +1 -1
  46. package/dist/assets/MazTextarea.C9sZpRDZ.css +1 -0
  47. package/dist/assets/{PhoneInput.DBLH22G1.css → PhoneInput.DkOXlrI9.css} +1 -1
  48. package/dist/assets/{fullscreen-img.Bkuz1GOX.css → fullscreen-img.Br983fLC.css} +1 -1
  49. package/dist/assets/{toast.CC2VQab8.css → toast.BDNNJSjj.css} +1 -1
  50. package/dist/chunks/{MazDatePicker.De3Ltb2F.js → MazDatePicker.B1B6gUrC.js} +49 -37
  51. package/dist/chunks/{MazDialogConfirm.vue_vue_type_script_setup_true_lang.-K3NpiFL.js → MazDialogConfirm.vue_vue_type_script_setup_true_lang.DuEcluOw.js} +23 -13
  52. package/dist/chunks/{MazDropdown.vue_vue_type_style_index_0_lang.BES3jpuw.js → MazDropdown.vue_vue_type_style_index_0_lang.DULnKQ2W.js} +16 -10
  53. package/dist/chunks/{MazInputNumber.vue_vue_type_style_index_0_lang.B6DYpHfi.js → MazInputNumber.vue_vue_type_style_index_0_lang.B0D4Zzds.js} +2 -2
  54. package/dist/chunks/{MazInputPhoneNumber.DBncAmC5.js → MazInputPhoneNumber.CDy6n_Qj.js} +25 -17
  55. package/dist/chunks/{MazInputPrice.vue_vue_type_script_setup_true_lang.BA6TDX-T.js → MazInputPrice.vue_vue_type_script_setup_true_lang.3pKYuG8H.js} +18 -18
  56. package/dist/chunks/{MazPickerCalendar.DKXNI8O4.js → MazPickerCalendar.BSBQciuG.js} +8 -8
  57. package/dist/chunks/{MazPickerCalendarMonth.DKBqgrNp.js → MazPickerCalendarMonth.CFJHTFp5.js} +14 -14
  58. package/dist/chunks/{MazPickerCalendarSwitcher.CzIZol3Z.js → MazPickerCalendarSwitcher.DC21FpTy.js} +10 -10
  59. package/dist/chunks/{MazPickerContainer.Mrh-Q52I.js → MazPickerContainer.CRPzAbRt.js} +4 -6
  60. package/dist/chunks/{MazPickerHeader.Bm9vIrtB.js → MazPickerHeader.D7Tbm-yH.js} +14 -14
  61. package/dist/chunks/{MazPickerMonthSwitcher.BSD2GtY6.js → MazPickerMonthSwitcher.DzHOKbe4.js} +10 -10
  62. package/dist/chunks/{MazPickerTime.D0hilq5b.js → MazPickerTime.EZK1foEx.js} +1 -1
  63. package/dist/chunks/{MazPickerYearSwitcher.BIUYJMvj.js → MazPickerYearSwitcher.BcT8GENl.js} +4 -4
  64. package/dist/chunks/{MazSwitch.vue_vue_type_style_index_0_lang.CU43Y1ky.js → MazSwitch.vue_vue_type_style_index_0_lang.Dz7-dIc9.js} +1 -1
  65. package/dist/chunks/{MazTable.vue_vue_type_script_setup_true_lang.BcTw9Tyh.js → MazTable.vue_vue_type_script_setup_true_lang.Ct1Gtp2Q.js} +5 -5
  66. package/dist/chunks/{MazTabsContent.vue_vue_type_script_setup_true_lang.arGqYTL5.js → MazTabsContent.vue_vue_type_script_setup_true_lang.hIwO-24k.js} +2 -2
  67. package/dist/chunks/{PhoneInput.iFkRoIFk.js → PhoneInput.DukRZp5u.js} +20 -27
  68. package/dist/chunks/capitalize.CVQ1jDrh.js +6 -0
  69. package/dist/chunks/checkAvailability.UFZSC8-1.js +16 -0
  70. package/dist/chunks/debounce.DhXdop6X.js +11 -0
  71. package/dist/chunks/{dom-events.Bbe7wDQl.js → dom-events.H9KIOv83.js} +52 -52
  72. package/dist/chunks/{fullscreen-img.directive.Be383en8.js → fullscreen-img.directive.D9oQ3Gni.js} +4 -4
  73. package/dist/chunks/{isClient.WI4oSt66.js → isClient.8V3qjGdO.js} +2 -2
  74. package/dist/chunks/{mazUi.D6UdqpTO.js → mazUi.0b7z2u9g.js} +2 -2
  75. package/dist/chunks/{obsidian.Cy0R8RHy.js → obsidian.C6upWOVF.js} +2 -2
  76. package/dist/chunks/{ocean.pHrY5H_S.js → ocean.ehMlC0HV.js} +2 -2
  77. package/dist/chunks/pascalCase.BKTE3qqE.js +19 -0
  78. package/dist/chunks/{pristine.ylgbwjxO.js → pristine.DMG3eBuN.js} +6 -6
  79. package/dist/chunks/sleep.Ci7GE4BQ.js +6 -0
  80. package/dist/chunks/truthyFilter.DZvXmxeK.js +6 -0
  81. package/dist/chunks/types.D0Bp_UhS.js +6 -0
  82. package/dist/chunks/{useStringMatching.D5UvsCUS.js → useStringMatching.DzSigyZ7.js} +40 -14
  83. package/dist/chunks/{vClickOutside.DIOiluy0.js → vClickOutside.CJBKY5no.js} +6 -6
  84. package/dist/components/MazAccordion.vue.d.ts +36 -0
  85. package/dist/components/MazAnimatedCounter.js +5 -5
  86. package/dist/components/MazAnimatedCounter.vue.d.ts +59 -0
  87. package/dist/components/MazAnimatedElement.vue.d.ts +44 -0
  88. package/dist/components/MazAnimatedText.js +4 -4
  89. package/dist/components/MazAnimatedText.vue.d.ts +57 -0
  90. package/dist/components/MazAvatar.vue.d.ts +99 -0
  91. package/dist/components/MazBackdrop.js +70 -31
  92. package/dist/components/MazBackdrop.vue.d.ts +91 -0
  93. package/dist/components/MazBadge.js +5 -4
  94. package/dist/components/MazBadge.vue.d.ts +61 -0
  95. package/dist/components/MazBottomSheet.vue.d.ts +35 -0
  96. package/dist/components/MazBtn.js +6 -5
  97. package/dist/components/MazBtn.vue.d.ts +105 -0
  98. package/dist/components/MazCard.js +3 -3
  99. package/dist/components/MazCard.vue.d.ts +77 -0
  100. package/dist/components/MazCardSpotlight.js +2 -2
  101. package/dist/components/MazCardSpotlight.vue.d.ts +57 -0
  102. package/dist/components/MazCarousel.js +12 -9
  103. package/dist/components/MazCarousel.vue.d.ts +48 -0
  104. package/dist/components/MazChart.vue.d.ts +53 -0
  105. package/dist/components/MazCheckbox.js +2 -2
  106. package/dist/components/MazCheckbox.vue.d.ts +55 -0
  107. package/dist/components/MazChecklist.js +7 -7
  108. package/dist/components/MazChecklist.vue.d.ts +87 -0
  109. package/dist/components/MazCircularProgressBar.vue.d.ts +106 -0
  110. package/dist/components/MazDatePicker/MazPickerCalendar.vue.d.ts +27 -0
  111. package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +20 -0
  112. package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +125 -0
  113. package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +134 -0
  114. package/dist/components/MazDatePicker/MazPickerCalendarSwitcher.vue.d.ts +42 -0
  115. package/dist/components/MazDatePicker/MazPickerContainer.vue.d.ts +38 -0
  116. package/dist/components/MazDatePicker/MazPickerHeader.vue.d.ts +15 -0
  117. package/dist/components/MazDatePicker/MazPickerMonthSwitcher.vue.d.ts +44 -0
  118. package/dist/components/MazDatePicker/MazPickerShortcuts.vue.d.ts +16 -0
  119. package/dist/components/MazDatePicker/MazPickerTime.vue.d.ts +107 -0
  120. package/dist/components/MazDatePicker/MazPickerYearSwitcher.vue.d.ts +36 -0
  121. package/dist/components/MazDatePicker/types.d.ts +14 -0
  122. package/dist/components/MazDatePicker/utils.d.ts +61 -0
  123. package/dist/components/MazDatePicker.js +1 -1
  124. package/dist/components/MazDatePicker.vue.d.ts +547 -0
  125. package/dist/components/MazDialog.js +9 -16
  126. package/dist/components/MazDialog.vue.d.ts +247 -0
  127. package/dist/components/MazDialogConfirm/useMazDialogConfirm.d.ts +47 -0
  128. package/dist/components/MazDialogConfirm.js +2 -2
  129. package/dist/components/MazDialogConfirm.vue.d.ts +270 -0
  130. package/dist/components/MazDrawer.vue.d.ts +52 -0
  131. package/dist/components/MazDropdown.js +1 -1
  132. package/dist/components/MazDropdown.vue.d.ts +249 -0
  133. package/dist/components/MazDropzone.js +6 -6
  134. package/dist/components/MazDropzone.vue.d.ts +305 -0
  135. package/dist/components/MazExpandAnimation.vue.d.ts +44 -0
  136. package/dist/components/MazFullscreenLoader.vue.d.ts +26 -0
  137. package/dist/components/MazGallery.js +4 -4
  138. package/dist/components/MazGallery.vue.d.ts +85 -0
  139. package/dist/components/MazIcon.vue.d.ts +26 -0
  140. package/dist/components/MazInput.js +4 -4
  141. package/dist/components/MazInput.vue.d.ts +225 -0
  142. package/dist/components/MazInputCode.js +2 -2
  143. package/dist/components/MazInputCode.vue.d.ts +49 -0
  144. package/dist/components/MazInputNumber.js +1 -1
  145. package/dist/components/MazInputNumber.vue.d.ts +125 -0
  146. package/dist/components/MazInputPhoneNumber/PhoneInput.vue.d.ts +29 -0
  147. package/dist/components/MazInputPhoneNumber/useLibphonenumber.d.ts +26 -0
  148. package/dist/components/MazInputPhoneNumber/useMazInputPhoneNumber.d.ts +26 -0
  149. package/dist/components/MazInputPhoneNumber.js +1 -1
  150. package/dist/components/MazInputPhoneNumber.vue.d.ts +421 -0
  151. package/dist/components/MazInputPrice.js +1 -1
  152. package/dist/components/MazInputPrice.vue.d.ts +48 -0
  153. package/dist/components/MazInputTags.js +6 -6
  154. package/dist/components/MazInputTags.vue.d.ts +51 -0
  155. package/dist/components/MazLazyImg.js +2 -2
  156. package/dist/components/MazLazyImg.vue.d.ts +78 -0
  157. package/dist/components/MazLink.js +2 -2
  158. package/dist/components/MazLink.vue.d.ts +115 -0
  159. package/dist/components/MazLoadingBar.vue.d.ts +12 -0
  160. package/dist/components/MazPagination.js +3 -3
  161. package/dist/components/MazPagination.vue.d.ts +83 -0
  162. package/dist/components/MazPopover.js +98 -222
  163. package/dist/components/MazPopover.vue.d.ts +256 -0
  164. package/dist/components/MazPullToRefresh.js +7 -7
  165. package/dist/components/MazPullToRefresh.vue.d.ts +52 -0
  166. package/dist/components/MazRadio.js +2 -2
  167. package/dist/components/MazRadio.vue.d.ts +55 -0
  168. package/dist/components/MazRadioButtons.js +8 -7
  169. package/dist/components/MazRadioButtons.vue.d.ts +69 -0
  170. package/dist/components/MazReadingProgressBar.js +8 -8
  171. package/dist/components/MazReadingProgressBar.vue.d.ts +55 -0
  172. package/dist/components/MazSelect.js +17 -14
  173. package/dist/components/MazSelect.vue.d.ts +178 -0
  174. package/dist/components/MazSelectCountry.js +19 -18
  175. package/dist/components/MazSelectCountry.vue.d.ts +171 -0
  176. package/dist/components/MazSlider/utils.d.ts +15 -0
  177. package/dist/components/MazSlider.js +36 -36
  178. package/dist/components/MazSlider.vue.d.ts +31 -0
  179. package/dist/components/MazSpinner.js +3 -4
  180. package/dist/components/MazSpinner.vue.d.ts +15 -0
  181. package/dist/components/MazStepper.js +2 -2
  182. package/dist/components/MazStepper.vue.d.ts +60 -0
  183. package/dist/components/MazSwitch.js +1 -1
  184. package/dist/components/MazSwitch.vue.d.ts +69 -0
  185. package/dist/components/MazTable.js +3 -3
  186. package/dist/components/MazTable.vue.d.ts +324 -0
  187. package/dist/components/MazTableCell.js +1 -1
  188. package/dist/components/MazTableCell.vue.d.ts +17 -0
  189. package/dist/components/MazTableRow.js +6 -5
  190. package/dist/components/MazTableRow.vue.d.ts +23 -0
  191. package/dist/components/MazTableTitle.js +1 -1
  192. package/dist/components/MazTableTitle.vue.d.ts +17 -0
  193. package/dist/components/MazTabs.vue.d.ts +30 -0
  194. package/dist/components/MazTabsBar.js +4 -4
  195. package/dist/components/MazTabsBar.vue.d.ts +96 -0
  196. package/dist/components/MazTabsContent.js +1 -1
  197. package/dist/components/MazTabsContent.vue.d.ts +17 -0
  198. package/dist/components/MazTabsContentItem.js +6 -7
  199. package/dist/components/MazTabsContentItem.vue.d.ts +31 -0
  200. package/dist/components/MazTextarea.js +6 -6
  201. package/dist/components/MazTextarea.vue.d.ts +88 -0
  202. package/dist/components/constantes.d.ts +2 -0
  203. package/dist/components/index.d.ts +109 -0
  204. package/dist/components/index.js +8 -8
  205. package/dist/components/types.d.ts +4 -0
  206. package/dist/composables/index.d.ts +21 -0
  207. package/dist/composables/index.js +3 -1
  208. package/dist/composables/useAos.d.ts +2 -0
  209. package/dist/composables/useBreakpoints.d.ts +38 -0
  210. package/dist/composables/useDialog.d.ts +2 -0
  211. package/dist/composables/useDisplayNames.d.ts +101 -0
  212. package/dist/composables/useDisplayNames.js +20 -28
  213. package/dist/composables/useDropzone.d.ts +27 -0
  214. package/dist/composables/useDropzone.js +6 -6
  215. package/dist/composables/useFormField.d.ts +16 -0
  216. package/dist/composables/useFormField.js +3 -3
  217. package/dist/composables/useFormValidator/config.d.ts +7 -0
  218. package/dist/composables/useFormValidator/dom-events.d.ts +19 -0
  219. package/dist/composables/useFormValidator/state-management.d.ts +72 -0
  220. package/dist/composables/useFormValidator/types.d.ts +98 -0
  221. package/dist/composables/useFormValidator/validation.d.ts +37 -0
  222. package/dist/composables/useFormValidator.d.ts +23 -0
  223. package/dist/composables/useFormValidator.js +19 -3
  224. package/dist/composables/useFreezeValue.d.ts +5 -0
  225. package/dist/composables/useIdleTimeout.d.ts +5 -0
  226. package/dist/composables/useIdleTimeout.js +27 -27
  227. package/dist/composables/useInjectStrict.d.ts +2 -0
  228. package/dist/composables/useInstanceUniqId.d.ts +4 -0
  229. package/dist/composables/useInstanceUniqId.js +3 -2
  230. package/dist/composables/useMountComponent.d.ts +14 -0
  231. package/dist/composables/useReadingTime.d.ts +25 -0
  232. package/dist/composables/useStringMatching.d.ts +5 -0
  233. package/dist/composables/useStringMatching.js +1 -1
  234. package/dist/composables/useSwipe.d.ts +14 -0
  235. package/dist/composables/useSwipe.js +22 -22
  236. package/dist/composables/useTimer.d.ts +30 -0
  237. package/dist/composables/useToast.d.ts +22 -0
  238. package/dist/composables/useUserVisibility.d.ts +5 -0
  239. package/dist/composables/useUserVisibility.js +8 -8
  240. package/dist/composables/useWait.d.ts +2 -0
  241. package/dist/composables/useWindowSize.d.ts +32 -0
  242. package/dist/composables/useWindowSize.js +2 -2
  243. package/dist/css/main.css +1 -1
  244. package/dist/directives/index.d.ts +5 -0
  245. package/dist/directives/index.js +2 -2
  246. package/dist/directives/vClickOutside.d.ts +36 -0
  247. package/dist/directives/vClickOutside.js +1 -1
  248. package/dist/directives/vFullscreenImg/MazFullscreenImg.vue.d.ts +50 -0
  249. package/dist/directives/vFullscreenImg/fullscreen-img.directive.d.ts +5 -0
  250. package/dist/directives/vFullscreenImg/fullscreen-img.handler.d.ts +36 -0
  251. package/dist/directives/vFullscreenImg.d.ts +11 -0
  252. package/dist/directives/vFullscreenImg.js +1 -1
  253. package/dist/directives/vLazyImg/lazy-img.directive.d.ts +5 -0
  254. package/dist/directives/vLazyImg/lazy-img.handler.d.ts +38 -0
  255. package/dist/directives/vLazyImg/types.d.ts +29 -0
  256. package/dist/directives/vLazyImg.d.ts +12 -0
  257. package/dist/directives/vTooltip.d.ts +54 -0
  258. package/dist/directives/vTooltip.js +15 -23
  259. package/dist/directives/vZoomImg/style.d.ts +1 -0
  260. package/dist/directives/vZoomImg/svgs.d.ts +3 -0
  261. package/dist/directives/vZoomImg/zoom-img.directive.d.ts +8 -0
  262. package/dist/directives/vZoomImg/zoom-img.handler.d.ts +46 -0
  263. package/dist/directives/vZoomImg.d.ts +10 -0
  264. package/dist/index.d.ts +1 -0
  265. package/dist/plugins/aos.d.ts +81 -0
  266. package/dist/plugins/aos.js +5 -5
  267. package/dist/plugins/dialog/DialogHandler.d.ts +16 -0
  268. package/dist/plugins/dialog.d.ts +26 -0
  269. package/dist/plugins/dialog.js +1 -1
  270. package/dist/plugins/index.d.ts +5 -0
  271. package/dist/plugins/maz-ui.d.ts +43 -0
  272. package/dist/plugins/maz-ui.js +245 -371
  273. package/dist/plugins/toast/MazToast.vue.d.ts +34 -0
  274. package/dist/plugins/toast/ToastHandler.d.ts +29 -0
  275. package/dist/plugins/toast/types.d.ts +104 -0
  276. package/dist/plugins/toast.d.ts +25 -0
  277. package/dist/plugins/toast.js +8 -6
  278. package/dist/plugins/wait.d.ts +33 -0
  279. package/dist/resolvers/MazComponentsResolver.d.ts +10 -0
  280. package/dist/resolvers/MazComponentsResolver.js +516 -10
  281. package/dist/resolvers/MazDirectivesResolver.d.ts +11 -0
  282. package/dist/resolvers/MazDirectivesResolver.js +2 -2
  283. package/dist/resolvers/MazModulesResolver.d.ts +11 -0
  284. package/dist/resolvers/MazModulesResolver.js +8 -5
  285. package/dist/resolvers/index.d.ts +3 -0
  286. package/dist/tailwindcss/index.d.ts +6 -0
  287. package/dist/tailwindcss/tailwind.config.d.ts +89 -0
  288. package/dist/tailwindcss/utils/colors.d.ts +7 -0
  289. package/dist/tailwindcss/variables/breakpoints.d.ts +15 -0
  290. package/dist/tailwindcss/variables/colors.d.ts +20 -0
  291. package/dist/tailwindcss/variables/design-tokens.d.ts +35 -0
  292. package/dist/tailwindcss/variables/utilities.d.ts +17 -0
  293. package/dist/tailwindcss/variables/z-indexes.d.ts +14 -0
  294. package/dist/types/components/MazAnimatedCounter.vue.d.ts +1 -1
  295. package/dist/types/components/MazBackdrop.vue.d.ts +26 -6
  296. package/dist/types/components/MazCard.vue.d.ts +1 -1
  297. package/dist/types/components/MazCarousel.vue.d.ts +8 -5
  298. package/dist/types/components/MazChecklist.vue.d.ts +5 -5
  299. package/dist/types/components/MazDatePicker/utils.d.ts +7 -6
  300. package/dist/types/components/MazDatePicker.vue.d.ts +37 -33
  301. package/dist/types/components/MazDialog.vue.d.ts +10 -19
  302. package/dist/types/components/MazDialogConfirm/useMazDialogConfirm.d.ts +8 -6
  303. package/dist/types/components/MazDialogConfirm.vue.d.ts +18 -12
  304. package/dist/types/components/MazDropdown.vue.d.ts +10 -3
  305. package/dist/types/components/MazInputNumber.vue.d.ts +4 -4
  306. package/dist/types/components/MazInputPhoneNumber/PhoneInput.vue.d.ts +1 -1
  307. package/dist/types/components/MazInputPhoneNumber/useLibphonenumber.d.ts +1 -1
  308. package/dist/types/components/MazInputPhoneNumber/useMazInputPhoneNumber.d.ts +2 -0
  309. package/dist/types/components/MazInputPhoneNumber.vue.d.ts +11 -12
  310. package/dist/types/components/MazInputPrice.vue.d.ts +3 -3
  311. package/dist/types/components/MazInputTags.vue.d.ts +1 -1
  312. package/dist/types/components/MazLink.vue.d.ts +1 -1
  313. package/dist/types/components/MazPopover.vue.d.ts +13 -8
  314. package/dist/types/components/MazRadioButtons.vue.d.ts +9 -9
  315. package/dist/types/components/MazReadingProgressBar.vue.d.ts +1 -1
  316. package/dist/types/components/MazSelect.vue.d.ts +13 -6
  317. package/dist/types/components/MazSelectCountry.vue.d.ts +9 -9
  318. package/dist/types/components/MazTable.vue.d.ts +5 -5
  319. package/dist/types/components/MazTableRow.vue.d.ts +2 -0
  320. package/dist/types/components/types.d.ts +1 -0
  321. package/dist/types/composables/index.d.ts +1 -0
  322. package/dist/types/composables/useDisplayNames.d.ts +60 -6
  323. package/dist/types/composables/useFormField.d.ts +16 -18
  324. package/dist/types/composables/useFormValidator/config.d.ts +2 -2
  325. package/dist/types/composables/useFormValidator/dom-events.d.ts +4 -4
  326. package/dist/types/composables/useFormValidator/state-management.d.ts +40 -22
  327. package/dist/types/composables/useFormValidator/types.d.ts +13 -13
  328. package/dist/types/composables/useFormValidator/validation.d.ts +10 -16
  329. package/dist/types/composables/useFormValidator.d.ts +2 -2
  330. package/dist/types/composables/useIdleTimeout.d.ts +1 -1
  331. package/dist/types/composables/useSwipe.d.ts +1 -1
  332. package/dist/types/composables/useUserVisibility.d.ts +1 -1
  333. package/dist/types/directives/vFullscreenImg/MazFullscreenImg.vue.d.ts +2 -2
  334. package/dist/types/directives/vZoomImg.d.ts +1 -1
  335. package/dist/types/plugins/maz-ui.d.ts +5 -5
  336. package/package.json +46 -36
  337. package/dist/assets/MazAnimatedText.DDqCxrFX.css +0 -1
  338. package/dist/assets/MazBackdrop.BnhcmjbP.css +0 -1
  339. package/dist/assets/MazBtn.DUBbj2mt.css +0 -1
  340. package/dist/assets/MazCard.C6nDaeIC.css +0 -1
  341. package/dist/assets/MazCardSpotlight.IbPp_y0j.css +0 -1
  342. package/dist/assets/MazCarousel.BaqN4hLP.css +0 -1
  343. package/dist/assets/MazCheckbox.CFqw9ybT.css +0 -1
  344. package/dist/assets/MazChecklist.BzF5KtZ3.css +0 -1
  345. package/dist/assets/MazDatePicker.8GyrtM-j.css +0 -1
  346. package/dist/assets/MazDropdown.C6vjLIeN.css +0 -1
  347. package/dist/assets/MazDropzone.-8lzCrxJ.css +0 -1
  348. package/dist/assets/MazGallery.DZ3TyggM.css +0 -1
  349. package/dist/assets/MazInput.BcUsJg7p.css +0 -1
  350. package/dist/assets/MazInputCode.CG6EJBEk.css +0 -1
  351. package/dist/assets/MazInputPhoneNumber.CrXS7DOY.css +0 -1
  352. package/dist/assets/MazInputTags.DzTGy9z3.css +0 -1
  353. package/dist/assets/MazLazyImg.NlPRN3Nk.css +0 -1
  354. package/dist/assets/MazLink.wJoKRsCP.css +0 -1
  355. package/dist/assets/MazPickerCalendar.CHpWIzhL.css +0 -1
  356. package/dist/assets/MazPickerCalendarMonth.Boe_8k4x.css +0 -1
  357. package/dist/assets/MazPickerMonthSwitcher.CszcpCcY.css +0 -1
  358. package/dist/assets/MazPopover.DzCAfuWw.css +0 -1
  359. package/dist/assets/MazPullToRefresh.BQ64UvzA.css +0 -1
  360. package/dist/assets/MazRadio.XGYnbTuB.css +0 -1
  361. package/dist/assets/MazRadioButtons.BA4rjgK9.css +0 -1
  362. package/dist/assets/MazReadingProgressBar.CwBVXE3g.css +0 -1
  363. package/dist/assets/MazSelect.Cljh3PVV.css +0 -1
  364. package/dist/assets/MazSlider.y4qpnD0N.css +0 -1
  365. package/dist/assets/MazSpinner.CP85N7RJ.css +0 -1
  366. package/dist/assets/MazStepper.DtWZmm-f.css +0 -1
  367. package/dist/assets/MazSwitch.Bxmh2iFj.css +0 -1
  368. package/dist/assets/MazTable.DMlQdImb.css +0 -1
  369. package/dist/assets/MazTableRow.B78Bd4Kv.css +0 -1
  370. package/dist/assets/MazTextarea.DME7BHS5.css +0 -1
  371. package/dist/chunks/capitalize.BF6CDS_4.js +0 -6
  372. package/dist/chunks/checkAvailability.aTpZidex.js +0 -16
  373. package/dist/chunks/de.B15Maq8Z.js +0 -82
  374. package/dist/chunks/debounce.Brzkn9pm.js +0 -11
  375. package/dist/chunks/en.Q_4-KljL.js +0 -157
  376. package/dist/chunks/es.BV1TlfTw.js +0 -82
  377. package/dist/chunks/fr.BVPG-7Dk.js +0 -82
  378. package/dist/chunks/it.Be9xhI4P.js +0 -82
  379. package/dist/chunks/ja.CWU7KYEA.js +0 -82
  380. package/dist/chunks/pt.CfaFSxVt.js +0 -82
  381. package/dist/chunks/sleep.BLRH1qZG.js +0 -6
  382. package/dist/chunks/truthyFilter.C2WOKUCG.js +0 -6
  383. package/dist/chunks/useTranslations.D5aoYwD7.js +0 -10
  384. package/dist/chunks/zh-CN.CCkuvk-E.js +0 -82
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, onBeforeMount, computed, createElementBlock, createCommentVNode, openBlock, normalizeStyle, normalizeClass, createElementVNode, Fragment, renderList, withDirectives, unref, toDisplayString, createVNode } from "vue";
2
2
  import { MazNoImage } from "@maz-ui/icons";
3
3
  import { d as directive } from "../chunks/lazy-img.directive.BLFnGqQa.js";
4
- import { d as directive$1 } from "../chunks/fullscreen-img.directive.Be383en8.js";
4
+ import { d as directive$1 } from "../chunks/fullscreen-img.directive.D9oQ3Gni.js";
5
5
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
6
- import '../assets/MazGallery.DZ3TyggM.css';const _hoisted_1 = { class: "m-gallery__wrapper maz-flex maz-flex-1" }, _hoisted_2 = ["alt"], _hoisted_3 = {
6
+ import '../assets/MazGallery.BTNB3D6k.css';const _hoisted_1 = { class: "m-gallery__wrapper maz-flex maz-flex-1" }, _hoisted_2 = ["alt"], _hoisted_3 = {
7
7
  key: 0,
8
8
  class: "m-gallery__remaining-layer"
9
9
  }, _sfc_main = /* @__PURE__ */ defineComponent({
@@ -85,7 +85,7 @@ import '../assets/MazGallery.DZ3TyggM.css';const _hoisted_1 = { class: "m-galler
85
85
  ], 2))), 128)),
86
86
  _ctx.hasEmptyLayer && _ctx.images.length === 0 ? (openBlock(), createElementBlock("div", {
87
87
  key: 0,
88
- class: normalizeClass(["empty-layer maz-flex maz-w-full maz-bg-surface-400 maz-text-foreground maz-flex-center", { "maz-rounded-xl": _ctx.radius }]),
88
+ class: normalizeClass(["m-gallery__empty-layer", { "maz-rounded-xl": _ctx.radius }]),
89
89
  style: normalizeStyle([sizeStyle.value])
90
90
  }, [
91
91
  createVNode(unref(MazNoImage), { class: "maz-size-8" })
@@ -99,7 +99,7 @@ import '../assets/MazGallery.DZ3TyggM.css';const _hoisted_1 = { class: "m-galler
99
99
  ])), 128))
100
100
  ], 6)) : createCommentVNode("", !0);
101
101
  }
102
- }), MazGallery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3cff3c84"]]);
102
+ }), MazGallery = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e5e0c058"]]);
103
103
  export {
104
104
  MazGallery as default
105
105
  };
@@ -0,0 +1,85 @@
1
+ export type MazGalleryImage = {
2
+ thumbnail?: string;
3
+ src: string;
4
+ alt?: string;
5
+ } | string;
6
+ export interface MazGalleryProps {
7
+ /**
8
+ * Array of string or object: `['https://via.placeholder.com/500', 'https://via.placeholder.com/600']` or `[{ slug: 'https://via.placeholder.com/500', alt: 'image descripton' }, { slug: 'https://via.placeholder.com/600', alt: 'image descripton' }]`
9
+ */
10
+ images?: MazGalleryImage[];
11
+ /**
12
+ * Images count shown (max: 5)
13
+ * @type number
14
+ * @default 5
15
+ */
16
+ displayedCount?: number;
17
+ /**
18
+ * Remove transparent layer with the remain count (ex: +2)
19
+ * @type boolean
20
+ * @default true
21
+ */
22
+ remaining?: boolean;
23
+ /**
24
+ * Height of gallery - set to `false` to remove default height
25
+ * @type number | string | false
26
+ * @default 150
27
+ */
28
+ height?: number | string | false;
29
+ /**
30
+ * Width of gallery - set to `false` to remove default width
31
+ * @type number | string | false
32
+ * @default '100%'
33
+ */
34
+ width?: number | string | false;
35
+ /**
36
+ * Disable the border radius of the gallery
37
+ * @type boolean
38
+ * @default false
39
+ */
40
+ radius?: boolean;
41
+ /**
42
+ * Disable full size display when clicking on image
43
+ * @type boolean
44
+ * @default false
45
+ */
46
+ zoom?: boolean;
47
+ /**
48
+ * Layer with photography icon when no images is provided
49
+ * @type boolean
50
+ * @default true
51
+ */
52
+ hasEmptyLayer?: boolean;
53
+ /**
54
+ * Lazy load image - if false, images are directly loaded
55
+ * @type boolean
56
+ * @default true
57
+ */
58
+ lazy?: boolean;
59
+ /**
60
+ * Disable blur effect on image hover
61
+ * @type boolean
62
+ * @default true
63
+ */
64
+ blur?: boolean;
65
+ /**
66
+ * Disable scale animation effect on image hover
67
+ * @type boolean
68
+ * @default true
69
+ */
70
+ scale?: boolean;
71
+ /**
72
+ * Choose color of borders between images - Should be a CSS color or CSS variable - Ex: `#000` or `hsl(var(--maz-background-300))`
73
+ * @type string
74
+ * @default 'transparent'
75
+ */
76
+ separatorColor?: string;
77
+ /**
78
+ * Choose background color of the gallery - Should be a CSS color or CSS variable - Ex: `#000` or `hsl(var(--maz-background-300))`
79
+ * @type string
80
+ * @default 'hsl(var(--maz-background-300))'
81
+ */
82
+ backgroundColor?: string;
83
+ }
84
+ declare const _default: import('vue').DefineComponent<MazGalleryProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MazGalleryProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
85
+ export default _default;
@@ -0,0 +1,26 @@
1
+ export interface MazIconProps {
2
+ /** The source path of the SVG file - e.g: `/icons/home.svg` */
3
+ src?: string;
4
+ /** The path of the folder where the SVG files are stored - e.g: `/icons` */
5
+ path?: string;
6
+ /** The name of the SVG file - e.g: `home` */
7
+ name?: string;
8
+ /** The size of the SVG file - e.g: `1em` */
9
+ size?: string;
10
+ /** The title of the SVG file - e.g: `Home` */
11
+ title?: string;
12
+ /** The function to transform the source of the SVG file - e.g: `(svg) => svg` */
13
+ transformSource?: (svg: SVGElement) => SVGElement;
14
+ }
15
+ declare const _default: import('vue').DefineComponent<MazIconProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
16
+ error: (error: Error) => any;
17
+ loaded: (svg: SVGElement | undefined) => any;
18
+ unloaded: () => any;
19
+ }, string, import('vue').PublicProps, Readonly<MazIconProps> & Readonly<{
20
+ onError?: ((error: Error) => any) | undefined;
21
+ onLoaded?: ((svg: SVGElement | undefined) => any) | undefined;
22
+ onUnloaded?: (() => any) | undefined;
23
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
24
+ svgElem: SVGSVGElement;
25
+ }, any>;
26
+ export default _default;
@@ -1,9 +1,9 @@
1
1
  import { defineComponent, defineAsyncComponent, ref, onMounted, computed, useSlots, createElementBlock, openBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, unref, toDisplayString, renderSlot, createBlock, resolveDynamicComponent, withDirectives, mergeProps, toHandlers, vModelDynamic, withModifiers, withCtx, createVNode } from "vue";
2
2
  import { MazEyeSlash, MazEye } from "@maz-ui/icons";
3
- import { d as debounce } from "../chunks/debounce.Brzkn9pm.js";
3
+ import { i } from "../chunks/debounce.DhXdop6X.js";
4
4
  import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
5
5
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
6
- import '../assets/MazInput.BcUsJg7p.css';const _hoisted_1 = ["for"], _hoisted_2 = {
6
+ import '../assets/MazInput.BvuxfP9k.css';const _hoisted_1 = ["for"], _hoisted_2 = {
7
7
  key: 0,
8
8
  class: "m-input-wrapper-left"
9
9
  }, _hoisted_3 = ["id", "placeholder", "aria-label", "type", "inputmode", "name", "autocomplete", "disabled", "readonly", "required"], _hoisted_4 = {
@@ -82,7 +82,7 @@ import '../assets/MazInput.BcUsJg7p.css';const _hoisted_1 = ["for"], _hoisted_2
82
82
  }
83
83
  return "--default-border";
84
84
  }
85
- }), slots = useSlots(), debounceEmitValue = debounce(
85
+ }), slots = useSlots(), debounceEmitValue = i(
86
86
  (value) => {
87
87
  emits("update:model-value", value);
88
88
  },
@@ -243,7 +243,7 @@ import '../assets/MazInput.BcUsJg7p.css';const _hoisted_1 = ["for"], _hoisted_2
243
243
  }, toDisplayString(_ctx.assistiveText), 3)) : createCommentVNode("", !0)
244
244
  ], 6));
245
245
  }
246
- }), MazInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0e063a62"]]);
246
+ }), MazInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3ab08265"]]);
247
247
  export {
248
248
  MazInput as default
249
249
  };
@@ -0,0 +1,225 @@
1
+ import { IconComponent } from '@maz-ui/icons';
2
+ import { HTMLAttributes, InputHTMLAttributes } from 'vue';
3
+ import { MazColor, MazSize } from './types';
4
+ export type MazInputValue = string | number | null | undefined | boolean;
5
+ export interface MazInputProps<T = MazInputValue> {
6
+ /**
7
+ * Inline styles to apply to the component root element
8
+ * @type {HTMLAttributes['style']}
9
+ */
10
+ style?: HTMLAttributes['style'];
11
+ /**
12
+ * CSS classes to apply to the component root element
13
+ * @type {HTMLAttributes['class']}
14
+ */
15
+ class?: HTMLAttributes['class'];
16
+ /**
17
+ * The current value of the input field. This prop is used for two-way data binding with v-model
18
+ * @model
19
+ * @type {T}
20
+ * @example <MazInput v-model="inputValue" />
21
+ */
22
+ modelValue?: T | undefined;
23
+ /**
24
+ * Text displayed when the input is empty to guide the user
25
+ * @type {string}
26
+ * @example "Enter your email address"
27
+ */
28
+ placeholder?: InputHTMLAttributes['placeholder'];
29
+ /**
30
+ * Floating label that appears inside the input and moves up when focused or filled.
31
+ * Provides better UX than traditional placeholders
32
+ * @type {string}
33
+ * @example "Email Address"
34
+ */
35
+ label?: string;
36
+ /**
37
+ * Static label displayed above the input field. Unlike the floating label, this remains fixed
38
+ * @type {string}
39
+ * @example "User Information"
40
+ */
41
+ topLabel?: string;
42
+ /**
43
+ * Helper text displayed below the input to provide additional context or validation feedback
44
+ * @type {string}
45
+ * @example "Must contain at least 8 characters"
46
+ */
47
+ assistiveText?: string;
48
+ /**
49
+ * Theme color that affects the border and focus states of the input
50
+ * @values primary, secondary, accent, info, success, warning, destructive, contrast
51
+ * @type {MazColor}
52
+ * @example "primary"
53
+ */
54
+ color?: MazColor;
55
+ /**
56
+ * HTML input type attribute that determines the input behavior and validation
57
+ * @type {InputHTMLAttributes['type']}
58
+ * @values text, password, email, number, tel, url, search, date, time, datetime-local, month, week
59
+ * @example "email"
60
+ */
61
+ type?: InputHTMLAttributes['type'];
62
+ /**
63
+ * Makes the input field mandatory for form submission
64
+ * @type {boolean}
65
+ * @example true
66
+ */
67
+ required?: boolean;
68
+ /**
69
+ * Disables the input field, preventing user interaction and form submission
70
+ * @type {boolean}
71
+ * @example false
72
+ */
73
+ disabled?: boolean;
74
+ /**
75
+ * Makes the input field read-only, allowing selection but preventing modification
76
+ * @type {boolean}
77
+ * @example false
78
+ */
79
+ readonly?: boolean;
80
+ /**
81
+ * Unique identifier for the input element, used for form labels and accessibility
82
+ * @type {string}
83
+ * @example "user-email"
84
+ */
85
+ id?: string;
86
+ /**
87
+ * Applies error styling (red border and text) to indicate validation failure
88
+ * @type {boolean}
89
+ * @example true
90
+ */
91
+ error?: boolean;
92
+ /**
93
+ * Applies success styling (green border and text) to indicate successful validation
94
+ * @type {boolean}
95
+ * @example true
96
+ */
97
+ success?: boolean;
98
+ /**
99
+ * Applies warning styling (orange border and text) to indicate potential issues
100
+ * @type {boolean}
101
+ * @example true
102
+ */
103
+ warning?: boolean;
104
+ /**
105
+ * Alternative text that replaces the label when provided. Useful for contextual hints
106
+ * @type {string}
107
+ * @example "Optional field"
108
+ */
109
+ hint?: string;
110
+ /**
111
+ * Additional CSS classes to apply specifically to the input wrapper element
112
+ * @type {string}
113
+ * @example "custom-input-wrapper"
114
+ */
115
+ inputClasses?: string;
116
+ /**
117
+ * Controls whether the input has a visible border. Set to false for borderless inputs
118
+ * @type {boolean}
119
+ * @example true
120
+ */
121
+ border?: boolean;
122
+ /**
123
+ * HTML inputmode attribute that provides hints for virtual keyboards on mobile devices
124
+ * @type {InputHTMLAttributes['inputmode']}
125
+ * @values text, numeric, decimal, tel, search, email, url
126
+ * @example "numeric"
127
+ */
128
+ inputmode?: InputHTMLAttributes['inputmode'];
129
+ /**
130
+ * Controls the height and text size of the input component
131
+ * @values xs, sm, md, lg, xl, mini
132
+ * @type {MazSize}
133
+ * @example "md"
134
+ */
135
+ size?: MazSize;
136
+ /**
137
+ * Enables input debouncing to limit the frequency of value updates.
138
+ * When true, uses 500ms delay. When a number, uses that value as delay in milliseconds
139
+ * @type {boolean | number}
140
+ * @example true
141
+ * @example 300
142
+ */
143
+ debounce?: boolean | number;
144
+ /**
145
+ * Automatically focuses the input when the component mounts
146
+ * @type {boolean}
147
+ * @example false
148
+ */
149
+ autoFocus?: boolean;
150
+ /**
151
+ * When true, shows the colored border immediately instead of only on focus
152
+ * @type {boolean}
153
+ * @example false
154
+ */
155
+ borderActive?: boolean;
156
+ /**
157
+ * Icon displayed on the left side of the input. Can be an icon name string or icon component
158
+ * @type {string | IconComponent}
159
+ * @example "user"
160
+ * @example UserIcon
161
+ */
162
+ leftIcon?: string | IconComponent;
163
+ /**
164
+ * Icon displayed on the right side of the input. Can be an icon name string or icon component
165
+ * @type {string | IconComponent}
166
+ * @example "search"
167
+ * @example SearchIcon
168
+ */
169
+ rightIcon?: string | IconComponent;
170
+ /**
171
+ * Controls the border radius of the input component
172
+ * @values none, sm, md, lg, xl, full
173
+ * @type {'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full'}
174
+ * @example "lg"
175
+ */
176
+ roundedSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
177
+ /**
178
+ * Makes the input expand to the full width of its container
179
+ * @type {boolean}
180
+ * @example false
181
+ */
182
+ block?: boolean;
183
+ /**
184
+ * The name of the input field. Used for form submission and validation
185
+ * @type {string}
186
+ * @example "email"
187
+ */
188
+ name?: string;
189
+ /**
190
+ * The autocomplete attribute for the input field. Used for form submission and validation
191
+ * @type {string}
192
+ * @example "email"
193
+ */
194
+ autocomplete?: string;
195
+ /**
196
+ * Loading state for the input field. Used to show a loading spinner
197
+ * @note Spinner can be replace with the `loader` slot
198
+ * @default false
199
+ */
200
+ loading?: boolean;
201
+ }
202
+ declare const _default: <T extends MazInputValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
203
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
204
+ readonly onBlur?: ((event: Event) => any) | undefined;
205
+ readonly onChange?: ((event: Event) => any) | undefined;
206
+ readonly onClick?: ((event: Event) => any) | undefined;
207
+ readonly onFocus?: ((event: Event) => any) | undefined;
208
+ readonly onInput?: ((event: Event) => any) | undefined;
209
+ readonly "onUpdate:model-value"?: ((value?: T | undefined) => any) | undefined;
210
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onInput" | "onClick" | "onUpdate:model-value"> & MazInputProps<T> & Partial<{}>> & import('vue').PublicProps;
211
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
212
+ attrs: any;
213
+ slots: {
214
+ 'left-icon'?(_: {}): any;
215
+ 'right-icon'?(_: {}): any;
216
+ loader?(_: {}): any;
217
+ };
218
+ emit: ((evt: "blur", event: Event) => void) & ((evt: "change", event: Event) => void) & ((evt: "click", event: Event) => void) & ((evt: "focus", event: Event) => void) & ((evt: "input", event: Event) => void) & ((evt: "update:model-value", value?: T | undefined) => void);
219
+ }>) => import('vue').VNode & {
220
+ __ctx?: Awaited<typeof __VLS_setup>;
221
+ };
222
+ export default _default;
223
+ type __VLS_PrettifyLocal<T> = {
224
+ [K in keyof T]: T[K];
225
+ } & {};
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, ref, watch, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, Fragment, renderList, mergeProps, toDisplayString } from "vue";
2
2
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
3
- import '../assets/MazInputCode.CG6EJBEk.css';const _hoisted_1 = ["disabled"], _hoisted_2 = { class: "m-input-code__wrapper" }, _hoisted_3 = ["id", "name", "inputmode", "pattern", "required", "value", "onInput", "onKeydown", "onClick"], _sfc_main = /* @__PURE__ */ defineComponent({
3
+ import '../assets/MazInputCode.BYi64Mof.css';const _hoisted_1 = ["disabled"], _hoisted_2 = { class: "m-input-code__wrapper" }, _hoisted_3 = ["id", "name", "inputmode", "pattern", "required", "value", "onInput", "onKeydown", "onClick"], _sfc_main = /* @__PURE__ */ defineComponent({
4
4
  inheritAttrs: !1,
5
5
  __name: "MazInputCode",
6
6
  props: {
@@ -145,7 +145,7 @@ import '../assets/MazInputCode.CG6EJBEk.css';const _hoisted_1 = ["disabled"], _h
145
145
  }, toDisplayString(_ctx.hint), 3)
146
146
  ], 14, _hoisted_1));
147
147
  }
148
- }), MazInputCode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-223cfa32"]]);
148
+ }), MazInputCode = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8599f1e6"]]);
149
149
  export {
150
150
  MazInputCode as default
151
151
  };
@@ -0,0 +1,49 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { MazColor } from './types';
3
+ export type MazInputCodeSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
+ export interface MazInputCodeProps<T = string | number> {
5
+ /** The style of the component. */
6
+ style?: HTMLAttributes['style'];
7
+ /** The class of the component. */
8
+ class?: HTMLAttributes['class'];
9
+ /** The value of the component (v-model). */
10
+ modelValue?: T;
11
+ /** The length of the code. */
12
+ codeLength?: number;
13
+ /** The type of the input field. */
14
+ type?: 'text' | 'number';
15
+ /** Whether to accept alpha characters. */
16
+ acceptAlpha?: boolean;
17
+ /** Whether the input is required. */
18
+ required?: boolean;
19
+ /** Whether the input is disabled. */
20
+ disabled?: boolean;
21
+ /** Whether there is an error with the input. */
22
+ error?: boolean;
23
+ /** Whether the input is successful. */
24
+ success?: boolean;
25
+ /** Whether there is a warning with the input. */
26
+ warning?: boolean;
27
+ /** The size of the component. */
28
+ size?: MazInputCodeSize;
29
+ /** The color of the component. */
30
+ color?: MazColor;
31
+ /** The hint text to display below the input. */
32
+ hint?: string;
33
+ }
34
+ declare const _default: <T extends string | number>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
35
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
36
+ readonly "onUpdate:model-value"?: ((value?: T | undefined) => any) | undefined;
37
+ readonly onCompleted?: ((value?: void | undefined) => any) | undefined;
38
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:model-value" | "onCompleted"> & MazInputCodeProps<T> & Partial<{}>> & import('vue').PublicProps;
39
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
40
+ attrs: any;
41
+ slots: {};
42
+ emit: ((evt: "update:model-value", value?: T | undefined) => void) & ((evt: "completed", value: void) => void);
43
+ }>) => import('vue').VNode & {
44
+ __ctx?: Awaited<typeof __VLS_setup>;
45
+ };
46
+ export default _default;
47
+ type __VLS_PrettifyLocal<T> = {
48
+ [K in keyof T]: T[K];
49
+ } & {};
@@ -1,4 +1,4 @@
1
- import { _ as _sfc_main } from "../chunks/MazInputNumber.vue_vue_type_style_index_0_lang.B6DYpHfi.js";
1
+ import { _ as _sfc_main } from "../chunks/MazInputNumber.vue_vue_type_style_index_0_lang.B0D4Zzds.js";
2
2
  export {
3
3
  _sfc_main as default
4
4
  };
@@ -0,0 +1,125 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { MazInputProps } from './MazInput.vue';
3
+ import { MazSize } from './types';
4
+ export interface MazInputNumberProps {
5
+ /**
6
+ * The inline style object for the component.
7
+ * @type {HTMLAttributes['style']}
8
+ */
9
+ style?: HTMLAttributes['style'];
10
+ /**
11
+ * The CSS class name for the component.
12
+ * @type {HTMLAttributes['class']}
13
+ */
14
+ class?: HTMLAttributes['class'];
15
+ /**
16
+ * The value of the component (v-model).
17
+ * @model
18
+ * @type {number}
19
+ */
20
+ modelValue?: number;
21
+ /**
22
+ * Whether the input number is disabled or not.
23
+ * @type {boolean}
24
+ */
25
+ disabled?: boolean;
26
+ /**
27
+ * The maximum value allowed for the input number.
28
+ * @type {number}
29
+ * @default Number.POSITIVE_INFINITY
30
+ */
31
+ max?: number;
32
+ /**
33
+ * The minimum value allowed for the input number.
34
+ * @type {number}
35
+ * @default Number.NEGATIVE_INFINITY
36
+ */
37
+ min?: number;
38
+ /**
39
+ * The step value for incrementing or decrementing the input number.
40
+ * @type {number}
41
+ * @default 1
42
+ */
43
+ step?: number;
44
+ /**
45
+ * The size of the input number component.
46
+ * @type {MazSize}
47
+ * @default 'md'
48
+ */
49
+ size?: MazSize;
50
+ /**
51
+ * Whether to hide the increment and decrement buttons or not.
52
+ * @type {boolean}
53
+ * @default false
54
+ */
55
+ hideButtons?: boolean;
56
+ /**
57
+ * Whether to center the text inside the input or not.
58
+ * @type {boolean}
59
+ * @default true
60
+ */
61
+ textCenter?: boolean;
62
+ /**
63
+ * The inputmode attribute for the input.
64
+ * @type {HTMLAttributes['inputmode']}
65
+ */
66
+ inputmode?: HTMLAttributes['inputmode'];
67
+ /**
68
+ * The input will be displayed in full width
69
+ * @type {boolean}
70
+ */
71
+ block?: boolean;
72
+ /**
73
+ * Will display the input in error state.
74
+ * @type {boolean}
75
+ * @default false
76
+ */
77
+ error?: boolean;
78
+ /**
79
+ * The hint text to display below the input.
80
+ * @type {string}
81
+ */
82
+ hint?: string;
83
+ /**
84
+ * Will display the input in success state.
85
+ * @type {boolean}
86
+ * @default false
87
+ */
88
+ success?: boolean;
89
+ /**
90
+ * Will display the input in warning state.
91
+ * @type {boolean}
92
+ * @default false
93
+ */
94
+ warning?: boolean;
95
+ /**
96
+ * The props for the input component.
97
+ * @type {MazInputProps}
98
+ */
99
+ inputProps?: MazInputProps;
100
+ }
101
+ declare const _default: import('vue').DefineComponent<MazInputNumberProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
102
+ blur: (value: Event) => any;
103
+ change: (value: Event) => any;
104
+ click: (value: Event) => any;
105
+ focus: (value: Event) => any;
106
+ "update:model-value": (value?: number | undefined) => any;
107
+ }, string, import('vue').PublicProps, Readonly<MazInputNumberProps> & Readonly<{
108
+ onBlur?: ((value: Event) => any) | undefined;
109
+ onChange?: ((value: Event) => any) | undefined;
110
+ onClick?: ((value: Event) => any) | undefined;
111
+ onFocus?: ((value: Event) => any) | undefined;
112
+ "onUpdate:model-value"?: ((value?: number | undefined) => any) | undefined;
113
+ }>, {
114
+ size: MazSize;
115
+ style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
116
+ class: HTMLAttributes["class"];
117
+ disabled: boolean;
118
+ max: number;
119
+ min: number;
120
+ modelValue: number;
121
+ step: number;
122
+ inputmode: "search" | "text" | "none" | "decimal" | "email" | "url" | "tel" | "numeric";
123
+ textCenter: boolean;
124
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
125
+ export default _default;
@@ -0,0 +1,29 @@
1
+ import { MazInputProps } from '../MazInput.vue';
2
+ type PhoneInputProps = Omit<MazInputProps, 'modelValue'> & {
3
+ id: string;
4
+ locales: {
5
+ placeholder: string;
6
+ example: string | undefined;
7
+ };
8
+ example: boolean;
9
+ hasRadius: boolean;
10
+ autoFormat: 'blur' | 'typing' | 'disabled' | false;
11
+ };
12
+ type __VLS_Props = PhoneInputProps;
13
+ type __VLS_PublicProps = {
14
+ modelValue?: string | undefined | null;
15
+ } & __VLS_Props;
16
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
17
+ /**
18
+ * Focus the input
19
+ * @description This is used to focus the input
20
+ */
21
+ focus: () => void;
22
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
+ "update:modelValue": (value: string | null | undefined) => any;
24
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
25
+ "onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
26
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
27
+ input: import('vue').ShallowUnwrapRef<{}> | null;
28
+ }, any>;
29
+ export default _default;
@@ -0,0 +1,26 @@
1
+ import { CountryCode, Examples, getCountries, getCountryCallingCode } from 'libphonenumber-js';
2
+ import { MazInputPhoneNumberData } from '../MazInputPhoneNumber.vue';
3
+ declare function isCountryAvailable(locale: string): boolean;
4
+ declare function getPhoneNumberResults({ phoneNumber, countryCode, checkCountryCode, }: {
5
+ phoneNumber?: string | undefined | null;
6
+ countryCode?: CountryCode | undefined | null;
7
+ checkCountryCode?: boolean;
8
+ }): MazInputPhoneNumberData;
9
+ declare function getPhoneNumberExamplesFile(): Promise<Examples>;
10
+ declare function getPhoneNumberExample(countryCode?: CountryCode | undefined | null): string | undefined;
11
+ declare function getAsYouTypeFormat(countryCode?: CountryCode | undefined | null, phoneNumber?: string | undefined | null): string | undefined | null;
12
+ declare function isSameCountryCallingCode(countryCode: CountryCode, countryCode2: CountryCode): boolean;
13
+ declare function loadExamples(): Promise<void>;
14
+ export declare function useLibphonenumber(): {
15
+ examples: import('vue').Ref<Examples | undefined, Examples | undefined>;
16
+ getAsYouTypeFormat: typeof getAsYouTypeFormat;
17
+ getPhoneNumberResults: typeof getPhoneNumberResults;
18
+ getPhoneNumberExamplesFile: typeof getPhoneNumberExamplesFile;
19
+ getPhoneNumberExample: typeof getPhoneNumberExample;
20
+ isSameCountryCallingCode: typeof isSameCountryCallingCode;
21
+ isCountryAvailable: typeof isCountryAvailable;
22
+ getCountries: typeof getCountries;
23
+ getCountryCallingCode: typeof getCountryCallingCode;
24
+ loadExamples: typeof loadExamples;
25
+ };
26
+ export {};