maz-ui 3.43.3 → 3.44.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 (360) hide show
  1. package/components/MazAccordion.d.ts +2 -2
  2. package/components/MazAccordion.mjs +84 -84
  3. package/components/MazAnimatedCounter.mjs +9 -10
  4. package/components/MazAvatar.d.ts +3 -3
  5. package/components/MazAvatar.mjs +1 -1
  6. package/components/MazBackdrop.d.ts +2 -2
  7. package/components/MazBackdrop.mjs +12 -10
  8. package/components/MazBadge.d.ts +2 -2
  9. package/components/MazBadge.mjs +3 -4
  10. package/components/MazBottomSheet.mjs +1 -1
  11. package/components/MazBtn.d.ts +7 -5
  12. package/components/MazBtn.mjs +1 -1
  13. package/components/MazCard.d.ts +3 -3
  14. package/components/MazCard.mjs +1 -1
  15. package/components/MazCardSpotlight.d.ts +2 -2
  16. package/components/MazCardSpotlight.mjs +4 -5
  17. package/components/MazCarousel.d.ts +2 -2
  18. package/components/MazCarousel.mjs +1 -1
  19. package/components/MazChart.d.ts +1 -1
  20. package/components/MazCheckbox.d.ts +2 -2
  21. package/components/MazCheckbox.mjs +10 -11
  22. package/components/MazCircularProgressBar.d.ts +1 -1
  23. package/components/MazCircularProgressBar.mjs +21 -23
  24. package/components/MazDialog.d.ts +2 -2
  25. package/components/MazDialog.mjs +1 -1
  26. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
  27. package/components/MazDialogPromise.mjs +1 -1
  28. package/components/MazDrawer.d.ts +2 -2
  29. package/components/MazDrawer.mjs +71 -69
  30. package/components/MazDropdown.d.ts +7 -6
  31. package/components/MazDropdown.mjs +130 -128
  32. package/components/MazDropzone.d.ts +1 -1
  33. package/components/MazDropzone.mjs +1 -1
  34. package/components/MazExpandAnimation.d.ts +2 -2
  35. package/components/MazExpandAnimation.mjs +26 -26
  36. package/components/MazFullscreenLoader.d.ts +2 -2
  37. package/components/MazFullscreenLoader.mjs +11 -10
  38. package/components/MazGallery.d.ts +2 -2
  39. package/components/MazGallery.mjs +1 -1
  40. package/components/MazIcon.mjs +45 -34
  41. package/components/MazInput.d.ts +4 -4
  42. package/components/MazInput.mjs +1 -1
  43. package/components/MazInputCode.d.ts +2 -2
  44. package/components/MazInputCode.mjs +4 -5
  45. package/components/MazInputNumber.d.ts +2 -2
  46. package/components/MazInputNumber.mjs +1 -1
  47. package/components/MazInputPrice.d.ts +2 -2
  48. package/components/MazInputPrice.mjs +1 -1
  49. package/components/MazInputTags.d.ts +7 -2
  50. package/components/MazInputTags.mjs +1 -1
  51. package/components/MazLazyImg.d.ts +2 -2
  52. package/components/MazLazyImg.mjs +1 -1
  53. package/components/MazLink.d.ts +6 -6
  54. package/components/MazLink.mjs +3 -4
  55. package/components/MazLoadingBar.d.ts +2 -2
  56. package/components/MazLoadingBar.mjs +17 -18
  57. package/components/MazPagination.d.ts +3 -3
  58. package/components/MazPagination.mjs +1 -1
  59. package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
  60. package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +4 -0
  61. package/components/MazPhoneNumberInput/types.d.ts +5 -5
  62. package/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
  63. package/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
  64. package/components/MazPhoneNumberInput.d.ts +13 -8
  65. package/components/MazPhoneNumberInput.mjs +1 -1
  66. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  67. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
  68. package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  69. package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  70. package/components/MazPicker/types.d.ts +4 -4
  71. package/components/MazPicker/utils.d.ts +4 -4
  72. package/components/MazPicker.d.ts +3 -3
  73. package/components/MazPicker.mjs +1 -1
  74. package/components/MazPullToRefresh.d.ts +2 -2
  75. package/components/MazPullToRefresh.mjs +1 -1
  76. package/components/MazRadio.mjs +8 -9
  77. package/components/MazRadioButtons.d.ts +2 -2
  78. package/components/MazRadioButtons.mjs +44 -42
  79. package/components/MazReadingProgressBar.d.ts +2 -2
  80. package/components/MazReadingProgressBar.mjs +12 -13
  81. package/components/MazSelect.d.ts +4 -4
  82. package/components/MazSelect.mjs +1 -1
  83. package/components/MazSlider/utils.d.ts +4 -4
  84. package/components/MazSlider.mjs +100 -87
  85. package/components/MazSpinner.mjs +6 -7
  86. package/components/MazStepper.d.ts +3 -3
  87. package/components/MazStepper.mjs +1 -1
  88. package/components/MazSwitch.d.ts +2 -2
  89. package/components/MazSwitch.mjs +6 -6
  90. package/components/MazTable.d.ts +13 -10
  91. package/components/MazTable.mjs +1 -1
  92. package/components/MazTableCell.mjs +4 -5
  93. package/components/MazTableRow.d.ts +2 -2
  94. package/components/MazTableRow.mjs +4 -5
  95. package/components/MazTableTitle.mjs +2 -3
  96. package/components/MazTabs.d.ts +4 -4
  97. package/components/MazTabsBar.d.ts +7 -5
  98. package/components/MazTabsBar.mjs +1 -1
  99. package/components/MazTabsContent.mjs +5 -4
  100. package/components/MazTabsContentItem.mjs +16 -17
  101. package/components/MazTextarea.d.ts +2 -2
  102. package/components/MazTextarea.mjs +19 -17
  103. package/components/MazTransitionExpand.d.ts +2 -2
  104. package/components/MazTransitionExpand.mjs +19 -18
  105. package/components/assets/MazAccordion.css +1 -1
  106. package/components/assets/MazAnimatedCounter.css +1 -1
  107. package/components/assets/MazAvatar.css +1 -1
  108. package/components/assets/MazBadge.css +1 -1
  109. package/components/assets/MazBottomSheet.css +1 -1
  110. package/components/assets/MazBtn.css +1 -1
  111. package/components/assets/MazCard.css +1 -1
  112. package/components/assets/MazCardSpotlight.css +1 -1
  113. package/components/assets/MazCarousel.css +1 -1
  114. package/components/assets/MazCheckbox.css +1 -1
  115. package/components/assets/MazCircularProgressBar.css +1 -1
  116. package/components/assets/MazDialog.css +1 -1
  117. package/components/assets/MazDialogPromise.css +1 -1
  118. package/components/assets/MazExpandAnimation.css +1 -1
  119. package/components/assets/MazGallery.css +1 -1
  120. package/components/assets/MazInput.css +1 -1
  121. package/components/assets/MazInputCode.css +1 -1
  122. package/components/assets/MazInputNumber.css +1 -1
  123. package/components/assets/MazInputPrice.css +1 -1
  124. package/components/assets/MazInputTags.css +1 -1
  125. package/components/assets/MazLazyImg.css +1 -1
  126. package/components/assets/MazLink.css +1 -1
  127. package/components/assets/MazLoadingBar.css +1 -1
  128. package/components/assets/MazPagination.css +1 -1
  129. package/components/assets/MazPhoneNumberInput.css +1 -1
  130. package/components/assets/MazPicker.css +1 -1
  131. package/components/assets/MazPickerMonthSwitcher.css +1 -1
  132. package/components/assets/MazPickerShortcuts.css +1 -1
  133. package/components/assets/MazPickerYearSwitcher.css +1 -1
  134. package/components/assets/MazPullToRefresh.css +1 -1
  135. package/components/assets/MazRadio.css +1 -1
  136. package/components/assets/MazRadioButtons.css +1 -1
  137. package/components/assets/MazReadingProgressBar.css +1 -1
  138. package/components/assets/MazSelect.css +1 -1
  139. package/components/assets/MazSlider.css +1 -1
  140. package/components/assets/MazSpinner.css +1 -1
  141. package/components/assets/MazStepper.css +1 -1
  142. package/components/assets/MazSwitch.css +1 -1
  143. package/components/assets/MazTable.css +1 -1
  144. package/components/assets/MazTableCell.css +1 -1
  145. package/components/assets/MazTableRow.css +1 -1
  146. package/components/assets/MazTableTitle.css +1 -1
  147. package/components/assets/MazTabsBar.css +1 -1
  148. package/components/assets/MazTabsContentItem.css +1 -1
  149. package/components/assets/MazTextarea.css +1 -1
  150. package/components/assets/MazTransitionExpand.css +1 -1
  151. package/components/chunks/{MazAvatar-DsJvzyS9.mjs → MazAvatar-BU1nJFcV.mjs} +8 -9
  152. package/components/chunks/{MazBadge-CYJlqITD.mjs → MazBadge-CwA0md19.mjs} +4 -5
  153. package/components/chunks/{MazBottomSheet-CIlIdn-2.mjs → MazBottomSheet-DUOIusEi.mjs} +54 -52
  154. package/components/chunks/{MazBtn-CCNGs6oo.mjs → MazBtn-5BSKOcqG.mjs} +35 -36
  155. package/components/chunks/{MazBtn-Ccvl1ZWv.mjs → MazBtn-B1-sTc7F.mjs} +31 -32
  156. package/components/chunks/{MazBtn-BC5OegPu.mjs → MazBtn-BY8WCtM7.mjs} +35 -36
  157. package/components/chunks/{MazBtn-BqgdERYQ.mjs → MazBtn-C5G78zLg.mjs} +35 -36
  158. package/components/chunks/MazBtn-CeVwyYR5.mjs +150 -0
  159. package/components/chunks/{MazBtn-CX4OgPzp.mjs → MazBtn-ColLVUca.mjs} +35 -36
  160. package/components/chunks/{MazBtn-beTASOLt.mjs → MazBtn-DJhQqzja.mjs} +35 -36
  161. package/components/chunks/MazBtn-DuY28-0U.mjs +150 -0
  162. package/components/chunks/{MazBtn-BydIwD1J.mjs → MazBtn-f1mBXJeU.mjs} +31 -32
  163. package/components/chunks/MazBtn-h3WmmaEO.mjs +150 -0
  164. package/components/chunks/MazBtn-zyRLUViT.mjs +150 -0
  165. package/components/chunks/{MazCard-bmiVPg8p.mjs → MazCard-BWxV_Z-i.mjs} +25 -26
  166. package/components/chunks/{MazCarousel-CL0bMygd.mjs → MazCarousel-D5EmW7Sa.mjs} +43 -35
  167. package/components/chunks/{MazCheckbox-DsFbvpp4.mjs → MazCheckbox-BWiMbecz.mjs} +11 -12
  168. package/components/chunks/{MazCheckbox-BmPd9Bqa.mjs → MazCheckbox-D3PXkt75.mjs} +11 -12
  169. package/components/chunks/{MazDialog-BckFta4N.mjs → MazDialog-CLWKCphI.mjs} +56 -54
  170. package/components/chunks/{MazDialogPromise-Bb6h4hFz.mjs → MazDialogPromise-DVOJwdVp.mjs} +139 -126
  171. package/components/chunks/{MazDropzone-C_8mRUbK.mjs → MazDropzone-Dm2IirHm.mjs} +33 -54
  172. package/components/chunks/MazExpandAnimation-ChSSdQAq.mjs +58 -0
  173. package/components/chunks/{MazGallery-CcpeM_zk.mjs → MazGallery-BlfPe8WG.mjs} +103 -101
  174. package/components/chunks/{MazGallery-6UK5sH9P.mjs → MazGallery-Bn9p1gNb.mjs} +102 -100
  175. package/{modules/chunks/MazIcon-CiNswMKM.mjs → components/chunks/MazIcon-B8A0hQAH.mjs} +45 -34
  176. package/components/chunks/{MazIcon-Cxrv3_OK.mjs → MazIcon-BDGxCy9M.mjs} +45 -34
  177. package/components/chunks/{MazIcon-DtG5ii8R.mjs → MazIcon-D3umgnku.mjs} +45 -34
  178. package/components/chunks/{MazInput-DNwBL54e.mjs → MazInput-BpsE-mdg.mjs} +69 -69
  179. package/components/chunks/{MazInputNumber-BSdVF8-q.mjs → MazInputNumber-DGBYbDSX.mjs} +186 -182
  180. package/components/chunks/{MazInputPrice-osrAz4xd.mjs → MazInputPrice-j2BNMeFp.mjs} +134 -129
  181. package/components/chunks/{MazInputTags-XUWwx6p8.mjs → MazInputTags-CJofVaj5.mjs} +234 -252
  182. package/components/chunks/{MazLazyImg-6qrfqWKr.mjs → MazLazyImg-BFG6FIJZ.mjs} +6 -7
  183. package/components/chunks/{MazLazyImg-BelScAEF.mjs → MazLazyImg-Dboc6Xfz.mjs} +5 -6
  184. package/components/chunks/{MazPagination-DUiHgLAp.mjs → MazPagination-C6ZehQSZ.mjs} +118 -119
  185. package/components/chunks/{MazPhoneNumberInput-1tGT28Sa.mjs → MazPhoneNumberInput-DpWoNQfx.mjs} +705 -680
  186. package/components/chunks/MazPicker-ia2BEmm5.mjs +2531 -0
  187. package/components/chunks/{MazPickerMonthSwitcher-CoV-84J1.mjs → MazPickerMonthSwitcher-CKtfZ_m-.mjs} +19 -19
  188. package/components/chunks/{MazPickerShortcuts-5IfUIwpz.mjs → MazPickerShortcuts-Cc9VoqBw.mjs} +10 -10
  189. package/components/chunks/{MazPickerYearSwitcher-MeptqtZk.mjs → MazPickerYearSwitcher-0b5Wrem9.mjs} +10 -8
  190. package/components/chunks/{MazPullToRefresh-DWbmwlzV.mjs → MazPullToRefresh-CUazP4y2.mjs} +21 -22
  191. package/components/chunks/MazSelect-COJoKXbV.mjs +847 -0
  192. package/components/chunks/MazSpinner-9Jue6cel.mjs +37 -0
  193. package/components/chunks/{MazSpinner-BRgzRI07.mjs → MazSpinner-BGPOws6a.mjs} +6 -7
  194. package/components/chunks/{MazSpinner-BXxULdoD.mjs → MazSpinner-BWYdqSMP.mjs} +6 -7
  195. package/components/chunks/{MazSpinner-BKjRRWtc.mjs → MazSpinner-BZOjTZBN.mjs} +6 -7
  196. package/components/chunks/{MazSpinner-BFXwybUv.mjs → MazSpinner-BaAMq7LI.mjs} +6 -7
  197. package/components/chunks/MazSpinner-Bad2n-0k.mjs +37 -0
  198. package/components/chunks/MazSpinner-BxnVFqUu.mjs +37 -0
  199. package/components/chunks/{MazSpinner-Mvsi6uCt.mjs → MazSpinner-C41VyUup.mjs} +6 -7
  200. package/components/chunks/MazSpinner-C6StE-Mb.mjs +37 -0
  201. package/components/chunks/{MazSpinner-B-svzg-R.mjs → MazSpinner-CNIlbDfg.mjs} +6 -7
  202. package/components/chunks/MazSpinner-Cz2DHV6g.mjs +37 -0
  203. package/components/chunks/MazSpinner-D4CdHpP2.mjs +37 -0
  204. package/{modules/chunks/MazSpinner--jWWogVn.mjs → components/chunks/MazSpinner-DHQH6Bhz.mjs} +6 -7
  205. package/components/chunks/MazSpinner-DRj2VpGA.mjs +37 -0
  206. package/components/chunks/{MazSpinner-C1lg-Klx.mjs → MazSpinner-DkXequnp.mjs} +6 -7
  207. package/components/chunks/MazSpinner-EA5ejB8F.mjs +37 -0
  208. package/components/chunks/{MazSpinner-BtpIL60X.mjs → MazSpinner-RvDGcBng.mjs} +6 -7
  209. package/components/chunks/{MazSpinner-B_WP-2kr.mjs → MazSpinner-V-bFi71W.mjs} +6 -7
  210. package/components/chunks/MazSpinner-aPFlrc5E.mjs +37 -0
  211. package/components/chunks/{MazSpinner-CfA_KEZT.mjs → MazSpinner-nH44Htog.mjs} +6 -7
  212. package/components/chunks/MazSpinner-nOD-7_sU.mjs +37 -0
  213. package/components/chunks/MazSpinner-yZGK-AQe.mjs +37 -0
  214. package/components/chunks/{MazStepper-DDofJsdg.mjs → MazStepper-DxrzKz06.mjs} +94 -83
  215. package/components/chunks/MazTable-DRUj_PZp.mjs +1960 -0
  216. package/components/chunks/{MazTabsBar-BXDEQkZM.mjs → MazTabsBar-xcIIXHx5.mjs} +67 -68
  217. package/components/chunks/{MazTransitionExpand-BwuAIzII.mjs → MazTransitionExpand-B08cSrmL.mjs} +20 -19
  218. package/components/chunks/{examples.mobile.json-um0ibyv5.mjs → examples.mobile.json-JpNGylGv.mjs} +1 -1
  219. package/css/main.css +1 -1
  220. package/modules/assets/MazBtn.css +1 -1
  221. package/modules/assets/MazSpinner.css +1 -1
  222. package/modules/assets/index.css +1 -1
  223. package/modules/chunks/{MazBtn-Czcbhr3Z.cjs → MazBtn-BbCGGxkK.cjs} +2 -2
  224. package/modules/chunks/{MazBtn-CXcW31TK.mjs → MazBtn-UBHTKqaN.mjs} +35 -36
  225. package/modules/chunks/MazIcon-BDSXZYZ8.cjs +1 -0
  226. package/{components/chunks/MazIcon-DL8XAldH.mjs → modules/chunks/MazIcon-C2ch3jUS.mjs} +45 -34
  227. package/modules/chunks/{MazSpinner-Cw1KnqLM.cjs → MazSpinner-BiyFRA4w.cjs} +1 -1
  228. package/modules/chunks/MazSpinner-C9_xSbZZ.mjs +37 -0
  229. package/modules/chunks/{index-CThtJOu5.mjs → index-Cwbjspv3.mjs} +621 -588
  230. package/modules/chunks/index-tnjajVkX.cjs +124 -0
  231. package/modules/index.cjs +1 -1
  232. package/modules/index.mjs +34 -35
  233. package/nuxt/index.json +2 -2
  234. package/nuxt/index.mjs +3 -4
  235. package/nuxt/types.d.mts +24 -0
  236. package/nuxt/types.d.ts +24 -0
  237. package/package.json +77 -83
  238. package/resolvers/unplugin-directives-resolver.d.ts +1 -1
  239. package/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
  240. package/tailwindcss/tailwind.config.ts +9 -2
  241. package/tailwindcss/utils/colors.ts +3 -3
  242. package/tailwindcss/variables/colors.ts +12 -12
  243. package/tailwindcss/variables/utilities.ts +2 -2
  244. package/tailwindcss/variables/z-indexes.ts +12 -11
  245. package/types/components/MazAccordion.vue.d.ts +2 -2
  246. package/types/components/MazAvatar.vue.d.ts +3 -3
  247. package/types/components/MazBackdrop.vue.d.ts +2 -2
  248. package/types/components/MazBadge.vue.d.ts +2 -2
  249. package/types/components/MazBtn.vue.d.ts +7 -5
  250. package/types/components/MazCard.vue.d.ts +3 -3
  251. package/types/components/MazCardSpotlight.vue.d.ts +2 -2
  252. package/types/components/MazCarousel.vue.d.ts +2 -2
  253. package/types/components/MazChart.vue.d.ts +1 -1
  254. package/types/components/MazCheckbox.vue.d.ts +2 -2
  255. package/types/components/MazCircularProgressBar.vue.d.ts +1 -1
  256. package/types/components/MazDialog.vue.d.ts +2 -2
  257. package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
  258. package/types/components/MazDrawer.vue.d.ts +2 -2
  259. package/types/components/MazDropdown.vue.d.ts +7 -6
  260. package/types/components/MazDropzone.vue.d.ts +1 -1
  261. package/types/components/MazExpandAnimation.vue.d.ts +2 -2
  262. package/types/components/MazFullscreenLoader.vue.d.ts +2 -2
  263. package/types/components/MazGallery.vue.d.ts +2 -2
  264. package/types/components/MazInput.vue.d.ts +4 -4
  265. package/types/components/MazInputCode.vue.d.ts +2 -2
  266. package/types/components/MazInputNumber.vue.d.ts +2 -2
  267. package/types/components/MazInputPrice.vue.d.ts +2 -2
  268. package/types/components/MazInputTags.vue.d.ts +7 -2
  269. package/types/components/MazLazyImg.vue.d.ts +2 -2
  270. package/types/components/MazLink.vue.d.ts +6 -6
  271. package/types/components/MazLoadingBar.vue.d.ts +2 -2
  272. package/types/components/MazPagination.vue.d.ts +3 -3
  273. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
  274. package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +4 -0
  275. package/types/components/MazPhoneNumberInput/types.d.ts +5 -5
  276. package/types/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
  277. package/types/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
  278. package/types/components/MazPhoneNumberInput.vue.d.ts +13 -8
  279. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  280. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
  281. package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  282. package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  283. package/types/components/MazPicker/types.d.ts +4 -4
  284. package/types/components/MazPicker/utils.d.ts +4 -4
  285. package/types/components/MazPicker.vue.d.ts +3 -3
  286. package/types/components/MazPullToRefresh.vue.d.ts +2 -2
  287. package/types/components/MazRadioButtons.vue.d.ts +2 -2
  288. package/types/components/MazReadingProgressBar.vue.d.ts +2 -2
  289. package/types/components/MazSelect.vue.d.ts +4 -4
  290. package/types/components/MazSlider/utils.d.ts +4 -4
  291. package/types/components/MazStepper.vue.d.ts +3 -3
  292. package/types/components/MazSwitch.vue.d.ts +2 -2
  293. package/types/components/MazTable.vue.d.ts +13 -10
  294. package/types/components/MazTableRow.vue.d.ts +2 -2
  295. package/types/components/MazTabs.vue.d.ts +4 -4
  296. package/types/components/MazTabsBar.vue.d.ts +7 -5
  297. package/types/components/MazTextarea.vue.d.ts +2 -2
  298. package/types/components/MazTransitionExpand.vue.d.ts +2 -2
  299. package/types/modules/composables/use-reading-time.d.ts +5 -5
  300. package/types/modules/composables/use-theme-handler.d.ts +2 -2
  301. package/types/modules/directives/closable.d.ts +2 -2
  302. package/types/modules/directives/tooltip/index.d.ts +4 -4
  303. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
  304. package/types/modules/directives/v-lazy-img/index.d.ts +1 -1
  305. package/types/modules/filters/capitalize.d.ts +1 -1
  306. package/types/modules/filters/currency.d.ts +1 -1
  307. package/types/modules/filters/date.d.ts +1 -1
  308. package/types/modules/filters/index.d.ts +8 -4
  309. package/types/modules/filters/number.d.ts +1 -1
  310. package/types/modules/filters/telephone.d.ts +1 -1
  311. package/types/modules/helpers/idle-timeout/idle-timeout-handler.d.ts +1 -1
  312. package/types/modules/helpers/mount-component.d.ts +2 -2
  313. package/types/modules/helpers/normalize-string.d.ts +2 -2
  314. package/types/modules/helpers/swipe-handler.d.ts +2 -2
  315. package/types/modules/helpers/user-visibility/types.d.ts +2 -2
  316. package/types/modules/plugins/aos/index.d.ts +3 -3
  317. package/types/modules/plugins/index.d.ts +2 -2
  318. package/types/modules/plugins/toaster/MazToast.vue.d.ts +3 -3
  319. package/types/modules/plugins/toaster/index.d.ts +1 -2
  320. package/types/modules/plugins/toaster/types.d.ts +6 -6
  321. package/types/modules/plugins/wait/utils.d.ts +4 -4
  322. package/types/resolvers/unplugin-directives-resolver.d.ts +1 -1
  323. package/types/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
  324. package/types/tailwindcss/tailwind.config.d.ts +71 -9
  325. package/types/tailwindcss/variables/z-indexes.d.ts +11 -11
  326. package/components/chunks/MazBtn-CFwe--oV.mjs +0 -151
  327. package/components/chunks/MazBtn-DpkJQ_3W.mjs +0 -151
  328. package/components/chunks/MazBtn-Dw_CR_0X.mjs +0 -151
  329. package/components/chunks/MazBtn-_NGDIlQK.mjs +0 -151
  330. package/components/chunks/MazExpandAnimation-Cin7sZ3I.mjs +0 -58
  331. package/components/chunks/MazPicker-CltoTa2Z.mjs +0 -2477
  332. package/components/chunks/MazSelect-DDKbowf3.mjs +0 -835
  333. package/components/chunks/MazSpinner-BZUmasIf.mjs +0 -38
  334. package/components/chunks/MazSpinner-BjIFFTYY.mjs +0 -38
  335. package/components/chunks/MazSpinner-C-lFmcUR.mjs +0 -38
  336. package/components/chunks/MazSpinner-C75WMoEA.mjs +0 -38
  337. package/components/chunks/MazSpinner-CA38Ikqe.mjs +0 -38
  338. package/components/chunks/MazSpinner-CAHOYqvB.mjs +0 -38
  339. package/components/chunks/MazSpinner-COOp2WX8.mjs +0 -38
  340. package/components/chunks/MazSpinner-D-ONjGGv.mjs +0 -38
  341. package/components/chunks/MazSpinner-DJkziC4O.mjs +0 -38
  342. package/components/chunks/MazSpinner-Di0F6oZz.mjs +0 -38
  343. package/components/chunks/MazSpinner-EcA0uOQv.mjs +0 -38
  344. package/components/chunks/MazSpinner-s_0BLDqW.mjs +0 -38
  345. package/components/chunks/MazTable-B9JiJ2B2.mjs +0 -1950
  346. package/modules/chunks/MazIcon-DdFYd3W8.cjs +0 -1
  347. package/modules/chunks/index-RvIMpzcQ.cjs +0 -124
  348. package/nuxt/runtime/composables/{use-aos.mjs → use-aos.js} +0 -0
  349. package/nuxt/runtime/composables/{use-theme-handler.mjs → use-theme-handler.js} +1 -1
  350. package/nuxt/runtime/composables/{use-toast.mjs → use-toast.js} +0 -0
  351. package/nuxt/runtime/composables/{use-wait.mjs → use-wait.js} +0 -0
  352. package/nuxt/runtime/plugins/{aos.mjs → aos.js} +1 -1
  353. package/nuxt/runtime/plugins/{maz-icon-path.mjs → maz-icon-path.js} +0 -0
  354. package/nuxt/runtime/plugins/{toaster.mjs → toaster.js} +1 -1
  355. package/nuxt/runtime/plugins/{v-click-outside.mjs → v-click-outside.js} +1 -1
  356. package/nuxt/runtime/plugins/{v-fullscreen-img.mjs → v-fullscreen-img.js} +1 -1
  357. package/nuxt/runtime/plugins/{v-lazy-img.mjs → v-lazy-img.js} +1 -1
  358. package/nuxt/runtime/plugins/{v-tooltip.mjs → v-tooltip.js} +1 -1
  359. package/nuxt/runtime/plugins/{v-zoom-img.mjs → v-zoom-img.js} +1 -1
  360. package/nuxt/runtime/plugins/{wait.mjs → wait.js} +1 -1
@@ -1,11 +1,11 @@
1
- import { type Color, type Size } from './../types';
1
+ import type { Color, Size } from './../types';
2
2
  export interface DialogState {
3
3
  id: string;
4
4
  isActive: boolean;
5
5
  resolve: (value: unknown) => void;
6
6
  reject?: (reason?: unknown) => void;
7
7
  }
8
- export type DialogButton = {
8
+ export interface DialogButton {
9
9
  text?: string;
10
10
  block?: boolean;
11
11
  color?: Color;
@@ -14,13 +14,13 @@ export type DialogButton = {
14
14
  outline?: boolean;
15
15
  rounded?: boolean;
16
16
  size?: Size;
17
- };
17
+ }
18
18
  export type DialogCustomButton = DialogButton & {
19
19
  text: string;
20
20
  type: 'resolve' | 'reject';
21
21
  response?: unknown;
22
22
  };
23
- export type DialogData = {
23
+ export interface DialogData {
24
24
  /**
25
25
  * Dialog title
26
26
  */
@@ -51,7 +51,7 @@ export type DialogData = {
51
51
  * Dialog custom buttons
52
52
  */
53
53
  buttons?: DialogCustomButton[];
54
- };
54
+ }
55
55
  export declare const defaultData: {
56
56
  cancelText: string;
57
57
  confirmText: string;
@@ -65,7 +65,14 @@ export declare const defaultData: {
65
65
  color: "success";
66
66
  };
67
67
  };
68
- export declare const useMazDialogPromise: () => {
68
+ declare function showDialogAndWaitChoice(identifier: string, callback?: () => unknown): Promise<unknown>;
69
+ declare function removeDialogFromState(identifier: string): {
70
+ id: string;
71
+ isActive: boolean;
72
+ resolve: (value: unknown) => void;
73
+ reject?: ((reason?: unknown) => void) | undefined;
74
+ }[];
75
+ export declare function useMazDialogPromise(): {
69
76
  data: import("vue").Ref<{
70
77
  title?: string | undefined;
71
78
  message?: string | undefined;
@@ -100,7 +107,7 @@ export declare const useMazDialogPromise: () => {
100
107
  outline?: boolean | undefined;
101
108
  rounded?: boolean | undefined;
102
109
  size?: Size | undefined;
103
- type: 'resolve' | 'reject';
110
+ type: "resolve" | "reject";
104
111
  response?: unknown;
105
112
  }[] | undefined;
106
113
  }>;
@@ -110,13 +117,9 @@ export declare const useMazDialogPromise: () => {
110
117
  resolve: (value: unknown) => void;
111
118
  reject?: ((reason?: unknown) => void) | undefined;
112
119
  }[]>;
113
- showDialogAndWaitChoice: (identifier: string, callback?: () => unknown) => Promise<unknown>;
114
- removeDialogFromState: (identifier: string) => {
115
- id: string;
116
- isActive: boolean;
117
- resolve: (value: unknown) => void;
118
- reject?: ((reason?: unknown) => void) | undefined;
119
- }[];
120
+ showDialogAndWaitChoice: typeof showDialogAndWaitChoice;
121
+ removeDialogFromState: typeof removeDialogFromState;
120
122
  rejectDialog: (currentDialog: DialogState, response?: unknown) => void;
121
123
  resolveDialog: (currentDialog: DialogState, response?: unknown) => void;
122
124
  };
125
+ export {};
@@ -1,4 +1,4 @@
1
- export type Props = {
1
+ export interface Props {
2
2
  /** The title of the drawer */
3
3
  title?: string;
4
4
  /** The variant of the drawer */
@@ -9,7 +9,7 @@ export type Props = {
9
9
  backdropClass?: string;
10
10
  /** Disable the close button */
11
11
  noClose?: boolean;
12
- };
12
+ }
13
13
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
14
14
  title: undefined;
15
15
  variant: string;
@@ -1,7 +1,7 @@
1
1
  import { type HTMLAttributes } from 'vue';
2
- import { type RouteLocationRaw } from 'vue-router';
3
- import { type Position } from './types';
4
- import { type Color } from './MazBtn.vue';
2
+ import type { RouteLocationRaw } from 'vue-router';
3
+ import type { Position } from './types';
4
+ import type { Color } from './MazBtn.vue';
5
5
  export type { Color, Position };
6
6
  export type MenuItem = {
7
7
  label: string;
@@ -11,7 +11,7 @@ export type MenuItem = {
11
11
  to?: RouteLocationRaw;
12
12
  class?: unknown;
13
13
  } & Record<string, unknown>;
14
- export type Props = {
14
+ export interface Props {
15
15
  style?: HTMLAttributes['style'];
16
16
  class?: HTMLAttributes['class'];
17
17
  /** Menu items */
@@ -20,7 +20,8 @@ export type Props = {
20
20
  open?: boolean;
21
21
  /** id of the menu */
22
22
  id?: string;
23
- /** Should open the dropdown on click, hover or both
23
+ /**
24
+ * Should open the dropdown on click, hover or both
24
25
  * @default 'both'
25
26
  */
26
27
  trigger?: 'click' | 'hover' | 'both';
@@ -45,7 +46,7 @@ export type Props = {
45
46
  * @default 'Open menu dropdown'
46
47
  */
47
48
  screenReaderDescription?: string;
48
- };
49
+ }
49
50
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
50
51
  class: undefined;
51
52
  style: undefined;
@@ -1,5 +1,5 @@
1
1
  import { type ComponentPublicInstance, type PropType } from 'vue';
2
- import { type DropzoneOptions, type DropzoneFile } from 'dropzone';
2
+ import type { DropzoneFile, DropzoneOptions } from 'dropzone';
3
3
  export interface MazDropzoneOptions extends DropzoneOptions {
4
4
  dictFilesDescriptions?: string;
5
5
  autoRemoveOnError?: boolean;
@@ -1,4 +1,4 @@
1
- export type Props = {
1
+ export interface Props {
2
2
  /**
3
3
  * Duration of the animation in milliseconds
4
4
  * @default '300ms'
@@ -9,7 +9,7 @@ export type Props = {
9
9
  * @default 'ease-in-out'
10
10
  */
11
11
  timingFunction?: string;
12
- };
12
+ }
13
13
  declare let __VLS_typeProps: Props;
14
14
  type __VLS_PublicProps = {
15
15
  modelValue?: boolean;
@@ -1,10 +1,10 @@
1
1
  import type { Color } from './types';
2
- export type Props = {
2
+ export interface Props {
3
3
  /** The color of the spinner */
4
4
  color?: Color;
5
5
  /** The size of the spinner */
6
6
  size?: string;
7
- };
7
+ }
8
8
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
9
  color: string;
10
10
  size: string;
@@ -4,7 +4,7 @@ export type { MazGalleryImage } from './types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  /**
6
6
  * 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' }]`
7
- * */
7
+ */
8
8
  images: {
9
9
  type: PropType<MazGalleryImage[]>;
10
10
  default: () => never[];
@@ -77,7 +77,7 @@ declare const _default: import("vue").DefineComponent<{
77
77
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
78
78
  /**
79
79
  * 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' }]`
80
- * */
80
+ */
81
81
  images: {
82
82
  type: PropType<MazGalleryImage[]>;
83
83
  default: () => never[];
@@ -1,8 +1,8 @@
1
- import { type HTMLAttributes, type FunctionalComponent, type ComponentPublicInstance, type Component, type SVGAttributes } from 'vue';
2
- import type { Color, Size, ModelValueSimple } from './types';
1
+ import { type Component, type ComponentPublicInstance, type FunctionalComponent, type HTMLAttributes, type SVGAttributes } from 'vue';
2
+ import type { Color, ModelValueSimple, Size } from './types';
3
3
  export type { Color, Size, ModelValueSimple } from './types';
4
4
  export type Icon = FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component;
5
- export type Props<T = ModelValueSimple> = {
5
+ export interface Props<T = ModelValueSimple> {
6
6
  /** The style of the component */
7
7
  style?: HTMLAttributes['style'];
8
8
  /** The class of the component */
@@ -80,7 +80,7 @@ export type Props<T = ModelValueSimple> = {
80
80
  roundedSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
81
81
  /** The input will be displayed in full width */
82
82
  block?: boolean;
83
- };
83
+ }
84
84
  declare const _default: <T extends ModelValueSimple>(__VLS_props: {
85
85
  onFocus?: ((event: Event) => any) | undefined;
86
86
  onBlur?: ((event: Event) => any) | undefined;
@@ -2,7 +2,7 @@ import { type HTMLAttributes } from 'vue';
2
2
  import type { Color } from './types';
3
3
  type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
4
4
  export type { Color, Size };
5
- export type Props = {
5
+ export interface Props {
6
6
  /** The style of the component. */
7
7
  style?: HTMLAttributes['style'];
8
8
  /** The class of the component. */
@@ -29,7 +29,7 @@ export type Props = {
29
29
  size?: Size;
30
30
  /** The color of the component. */
31
31
  color?: Color;
32
- };
32
+ }
33
33
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
34
34
  style: undefined;
35
35
  class: undefined;
@@ -1,7 +1,7 @@
1
1
  import { type HTMLAttributes } from 'vue';
2
2
  import type { Size } from './types';
3
3
  export type { Size };
4
- export type Props = {
4
+ export interface Props {
5
5
  /** The inline style object for the component. */
6
6
  style?: HTMLAttributes['style'];
7
7
  /** The CSS class name for the component. */
@@ -26,7 +26,7 @@ export type Props = {
26
26
  inputmode?: HTMLAttributes['inputmode'];
27
27
  /** The input will be displayed in full width */
28
28
  block?: boolean;
29
- };
29
+ }
30
30
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
31
31
  style: undefined;
32
32
  class: undefined;
@@ -1,4 +1,4 @@
1
- export type Props = {
1
+ export interface Props {
2
2
  /** @model The value of the input */
3
3
  modelValue?: number | string;
4
4
  /** The currency to use */
@@ -13,7 +13,7 @@ export type Props = {
13
13
  noIcon?: boolean;
14
14
  /** The input will be displayed in full width */
15
15
  block?: boolean;
16
- };
16
+ }
17
17
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
18
18
  modelValue: undefined;
19
19
  currency: string;
@@ -1,7 +1,7 @@
1
1
  import { type HTMLAttributes } from 'vue';
2
2
  import type { Color, Size } from './types';
3
3
  export type { Color, Size };
4
- export type Props = {
4
+ export interface Props {
5
5
  /** Style attribut of the component root element */
6
6
  style?: HTMLAttributes['style'];
7
7
  /** Class attribut of the component root element */
@@ -26,7 +26,9 @@ export type Props = {
26
26
  color?: Color;
27
27
  /** The input will be displayed in full width */
28
28
  block?: boolean;
29
- };
29
+ /** Add tags on blur */
30
+ addTagsOnBlur?: boolean;
31
+ }
30
32
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
31
33
  style: undefined;
32
34
  class: undefined;
@@ -39,6 +41,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
39
41
  warning: boolean;
40
42
  size: string;
41
43
  color: string;
44
+ addTagsOnBlur: boolean;
42
45
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
46
  "update:model-value": (...args: any[]) => void;
44
47
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
@@ -53,6 +56,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
53
56
  warning: boolean;
54
57
  size: string;
55
58
  color: string;
59
+ addTagsOnBlur: boolean;
56
60
  }>>> & {
57
61
  "onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
58
62
  }, {
@@ -67,6 +71,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
67
71
  class: any;
68
72
  modelValue: string[] | number[];
69
73
  placeholder: string;
74
+ addTagsOnBlur: boolean;
70
75
  }, {}>;
71
76
  export default _default;
72
77
  type __VLS_WithDefaults<P, D> = {
@@ -2,7 +2,7 @@ import { type HTMLAttributes } from 'vue';
2
2
  import type { vLazyImgOptions } from './../modules/directives/v-lazy-img/types';
3
3
  import type { Image } from './types';
4
4
  export type { Image };
5
- export type Props = {
5
+ export interface Props {
6
6
  /** The style of the component */
7
7
  style?: HTMLAttributes['style'];
8
8
  /** The class of the component */
@@ -30,7 +30,7 @@ export type Props = {
30
30
  observerOptions?: vLazyImgOptions['observerOptions'];
31
31
  /** The fallback src to replace the src on loading error */
32
32
  fallbackSrc?: string;
33
- };
33
+ }
34
34
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
35
35
  style: undefined;
36
36
  class: undefined;
@@ -1,9 +1,9 @@
1
1
  import { type ComponentPublicInstance, type FunctionalComponent, type SVGAttributes } from 'vue';
2
- import { type Color } from './types';
3
- import { type RouteLocationRaw } from 'vue-router';
4
- import { type Component } from 'nuxt/schema';
2
+ import type { RouteLocationRaw } from 'vue-router';
3
+ import type { Component } from 'nuxt/schema';
4
+ import type { Color } from './types';
5
5
  export type Icon = FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component;
6
- export type Props = {
6
+ export interface Props {
7
7
  /** The id of the link */
8
8
  id?: string;
9
9
  /** The title of the link */
@@ -48,7 +48,7 @@ export type Props = {
48
48
  * `@type` `{string | FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component}`
49
49
  */
50
50
  rightIcon?: string | Icon;
51
- };
51
+ }
52
52
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
53
53
  id: undefined;
54
54
  title: undefined;
@@ -83,9 +83,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
83
83
  href: string;
84
84
  color: Color;
85
85
  target: string;
86
- to: RouteLocationRaw;
87
86
  leftIcon: string | Icon;
88
87
  rightIcon: string | Icon;
88
+ to: RouteLocationRaw;
89
89
  download: string;
90
90
  rel: string;
91
91
  ariaLabel: string;
@@ -1,11 +1,11 @@
1
1
  import type { Color } from './types';
2
2
  export type { Color };
3
- export type Props = {
3
+ export interface Props {
4
4
  /** The color of the component. */
5
5
  color?: Color;
6
6
  /** The height of the component. */
7
7
  height?: string;
8
- };
8
+ }
9
9
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
10
10
  color: string;
11
11
  height: string;
@@ -1,5 +1,5 @@
1
- import { type Color, type Size, type Props as MazBtnProps } from './MazBtn.vue';
2
- type MazPagnationProps = {
1
+ import { type Color, type Props as MazBtnProps, type Size } from './MazBtn.vue';
2
+ interface MazPagnationProps {
3
3
  /** @model The current page number. */
4
4
  modelValue?: number;
5
5
  /**
@@ -30,7 +30,7 @@ type MazPagnationProps = {
30
30
  * Enable loading state of current button
31
31
  */
32
32
  loading?: boolean;
33
- };
33
+ }
34
34
  export type { MazPagnationProps as Props };
35
35
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MazPagnationProps>, {
36
36
  modelValue: number;
@@ -1,4 +1,4 @@
1
- import type { Color, Size, Position, CountryCode } from '../MazPhoneNumberInput.vue';
1
+ import type { Color, CountryCode, Position, Size } from '../MazPhoneNumberInput.vue';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
3
  /** Style attribut of the component root element */
4
4
  style?: import("vue").StyleValue;
@@ -5,6 +5,7 @@ declare let __VLS_typeProps: {
5
5
  size: Size;
6
6
  locales: Translations;
7
7
  label?: string;
8
+ placeholder?: string;
8
9
  noExample?: boolean;
9
10
  disabled?: boolean;
10
11
  hasRadius?: boolean;
@@ -20,6 +21,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
20
21
  class: undefined;
21
22
  style: undefined;
22
23
  label: undefined;
24
+ placeholder: undefined;
23
25
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
26
  "update:modelValue": (modelValue: string) => void;
25
27
  "update:model-value": (phoneNumber?: string | undefined) => void;
@@ -27,11 +29,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
27
29
  class: undefined;
28
30
  style: undefined;
29
31
  label: undefined;
32
+ placeholder: undefined;
30
33
  }>>> & {
31
34
  "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
32
35
  "onUpdate:model-value"?: ((phoneNumber?: string | undefined) => any) | undefined;
33
36
  }, {
34
37
  label: string;
38
+ placeholder: string;
35
39
  }, {}>;
36
40
  export default _default;
37
41
  type __VLS_WithDefaults<P, D> = {
@@ -1,6 +1,6 @@
1
1
  import type { CountryCallingCode, CountryCode, NationalNumber, NumberType } from 'libphonenumber-js';
2
- import { type defaultLocales } from './default-locales';
3
- export type Results = {
2
+ import type { defaultLocales } from './default-locales';
3
+ export interface Results {
4
4
  isValid: boolean;
5
5
  isPossible?: boolean;
6
6
  countryCode?: CountryCode;
@@ -13,13 +13,13 @@ export type Results = {
13
13
  e164?: string;
14
14
  rfc3966?: string;
15
15
  phoneNumber?: string;
16
- };
16
+ }
17
17
  export type Translations = typeof defaultLocales;
18
- export type Country = {
18
+ export interface Country {
19
19
  iso2: CountryCode;
20
20
  dialCode: CountryCallingCode;
21
21
  name: string;
22
- };
22
+ }
23
23
  export interface IpWhoResponse {
24
24
  ip: string;
25
25
  success: true;
@@ -1,4 +1,4 @@
1
- import { type CountryCode, getCountries, getCountryCallingCode, type Examples } from 'libphonenumber-js';
1
+ import { type CountryCode, type Examples, getCountries, getCountryCallingCode } from 'libphonenumber-js';
2
2
  import type { Results } from './types';
3
3
  declare function isCountryAvailable(locale: string): boolean;
4
4
  declare function getPhoneNumberResults({ phoneNumber, countryCode, }: {
@@ -1,5 +1,5 @@
1
1
  import { type CountryCode } from 'libphonenumber-js';
2
- import { type Country } from './types';
2
+ import type { Country } from './types';
3
3
  declare function getBrowserLocale(): {
4
4
  locale: string;
5
5
  browserLocale: string;
@@ -1,9 +1,9 @@
1
- import { type CountryCode } from 'libphonenumber-js';
1
+ import type { CountryCode } from 'libphonenumber-js';
2
+ import { type HTMLAttributes, type Ref } from 'vue';
2
3
  import type { Results, Translations } from './MazPhoneNumberInput/types';
3
4
  import type { Color, Position, Size } from './types';
4
5
  export type { Color, Size, Position, CountryCode, Results, Results as Result, Translations };
5
- import { type HTMLAttributes, type Ref } from 'vue';
6
- export type Props = {
6
+ export interface Props {
7
7
  /** Style attribut of the component root element */
8
8
  style?: HTMLAttributes['style'];
9
9
  /** Class attribut of the component root element */
@@ -20,6 +20,8 @@ export type Props = {
20
20
  id?: string;
21
21
  /** Placeholder of the input */
22
22
  placeholder?: string;
23
+ /** label of the input */
24
+ label?: string;
23
25
  /** List of country codes to place first in the select list - Ex: ['FR', 'BE', 'GE'] */
24
26
  preferredCountries?: CountryCode[];
25
27
  /** List of country codes to be removed from the select list - Ex: ['FR', 'BE', 'GE'] */
@@ -89,18 +91,18 @@ export type Props = {
89
91
  * @values "row" | "col" | "responsive"
90
92
  */
91
93
  orientation?: 'row' | 'col' | 'responsive';
92
- };
93
- type SelectionRange = {
94
+ }
95
+ interface SelectionRange {
94
96
  start?: number | null;
95
97
  end?: number | null;
96
98
  cursorAtEnd?: boolean;
97
- };
98
- export type InjectedData = {
99
+ }
100
+ export interface InjectedData {
99
101
  selectedCountry: Ref<CountryCode | undefined>;
100
102
  phoneNumber: Ref<string>;
101
103
  results: Ref<Results>;
102
104
  selectionRange: Ref<SelectionRange>;
103
- };
105
+ }
104
106
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
105
107
  class: undefined;
106
108
  style: undefined;
@@ -115,6 +117,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
115
117
  defaultCountryCode: undefined;
116
118
  id: undefined;
117
119
  placeholder: undefined;
120
+ label: undefined;
118
121
  preferredCountries: undefined;
119
122
  ignoredCountries: undefined;
120
123
  onlyCountries: undefined;
@@ -146,6 +149,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
146
149
  defaultCountryCode: undefined;
147
150
  id: undefined;
148
151
  placeholder: undefined;
152
+ label: undefined;
149
153
  preferredCountries: undefined;
150
154
  ignoredCountries: undefined;
151
155
  onlyCountries: undefined;
@@ -165,6 +169,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
165
169
  "onUpdate:country-code"?: ((countryCode?: CountryCode | undefined) => any) | undefined;
166
170
  }, {
167
171
  size: Size;
172
+ label: string;
168
173
  style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
169
174
  orientation: "col" | "row" | "responsive";
170
175
  id: string;
@@ -1,6 +1,6 @@
1
1
  import { type PropType } from 'vue';
2
- import type { PickerValue } from '../types';
3
2
  import dayjs from 'dayjs';
3
+ import type { PickerValue } from '../types';
4
4
  import type { Color } from '../../types';
5
5
  declare const _default: import("vue").DefineComponent<{
6
6
  modelValue: {
@@ -1,7 +1,7 @@
1
1
  import { type PropType } from 'vue';
2
- import type { Color } from './../../types';
3
- import type { PickerValue } from '../types';
4
2
  import dayjs from 'dayjs';
3
+ import type { PickerValue } from '../types';
4
+ import type { Color } from './../../types';
5
5
  declare const _default: import("vue").DefineComponent<{
6
6
  modelValue: {
7
7
  type: PropType<PickerValue>;
@@ -1,4 +1,4 @@
1
- import { type PropType } from 'vue';
1
+ import type { PropType } from 'vue';
2
2
  import type { Color } from '../types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  color: {
@@ -1,7 +1,7 @@
1
1
  import { type PropType } from 'vue';
2
+ import type { Color } from '../types';
2
3
  import { type DateTimeFormatOptions } from './utils';
3
4
  import type { PickerValue } from './types';
4
- import type { Color } from '../types';
5
5
  declare const _default: import("vue").DefineComponent<{
6
6
  modelValue: {
7
7
  type: PropType<PickerValue>;
@@ -1,15 +1,15 @@
1
1
  export type SimpleValue = string | undefined;
2
- export type RangeValue = {
2
+ export interface RangeValue {
3
3
  start: string;
4
4
  end: string;
5
- };
5
+ }
6
6
  export type PartialRangeValue = Partial<RangeValue>;
7
7
  export type PickerValue = SimpleValue | PartialRangeValue;
8
- export type PickerShortcut = {
8
+ export interface PickerShortcut {
9
9
  identifier: string;
10
10
  label: string;
11
11
  value: {
12
12
  start: string;
13
13
  end: string;
14
14
  };
15
- };
15
+ }
@@ -23,10 +23,10 @@ export declare function getRangeISODate(value: PartialRangeValue, format?: strin
23
23
  start: string | undefined;
24
24
  end: string | undefined;
25
25
  };
26
- type CheckValueResponse = {
26
+ interface CheckValueResponse {
27
27
  newValue?: string;
28
28
  newCurrentDate?: string;
29
- };
29
+ }
30
30
  export declare function checkValueWithMinMaxDates({ value, minDate, maxDate, format, }: {
31
31
  value: string;
32
32
  minDate?: string;
@@ -42,10 +42,10 @@ export declare function isValueDisabledDate({ value, disabledDates, }: {
42
42
  disabledDates: string[];
43
43
  }): boolean;
44
44
  export declare const scrollToTarget: (scrollContainer: HTMLElement, target: HTMLElement, offset?: number, hasSmoothEffect?: boolean) => void;
45
- export declare const findNearestNumberInList: (list: number[], number: number) => number;
45
+ export declare function findNearestNumberInList(list: number[], number: number): number;
46
46
  export declare function convertHour24to12Format(baseHour: number): number;
47
47
  export declare function convertHour12to24Format(baseHour: number): number;
48
- export declare const convert12To24TimeFormat: (timeStr: string) => string;
48
+ export declare function convert12To24TimeFormat(timeStr: string): string;
49
49
  export declare function getBrowserLocale(): string | undefined;
50
50
  export declare function fetchLocale(): Promise<string | undefined>;
51
51
  export {};
@@ -1,8 +1,8 @@
1
1
  import { type HTMLAttributes } from 'vue';
2
2
  import type { Color, Position } from './types';
3
- import type { PickerValue, PickerShortcut } from './MazPicker/types';
3
+ import type { PickerShortcut, PickerValue } from './MazPicker/types';
4
4
  export type { PickerValue, PickerShortcut, Color, Position };
5
- export type Props = {
5
+ export interface Props {
6
6
  /** The style of the component */
7
7
  style?: HTMLAttributes['style'];
8
8
  /** The class of the component */
@@ -67,7 +67,7 @@ export type Props = {
67
67
  disabledHours?: number[];
68
68
  /** The input will be displayed in full width */
69
69
  block?: boolean;
70
- };
70
+ }
71
71
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
72
72
  style: undefined;
73
73
  class: undefined;