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,9 +1,9 @@
1
- import { inject as b, defineComponent as C, ref as g, computed as p, onMounted as P, watchEffect as _, openBlock as h, createElementBlock as S, Fragment as $, createCommentVNode as a, mergeProps as A, nextTick as q } from "vue";
2
- function H(l, u) {
3
- const s = b(l, u);
4
- if (!s)
1
+ import { inject as b, defineComponent as C, ref as g, computed as p, onMounted as P, watchEffect as _, openBlock as h, createElementBlock as S, Fragment as $, createCommentVNode as s, mergeProps as A, nextTick as q } from "vue";
2
+ function H(l, d) {
3
+ const o = b(l, d);
4
+ if (!o)
5
5
  throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${l}`);
6
- return s;
6
+ return o;
7
7
  }
8
8
  const I = ["innerHTML"], G = /* @__PURE__ */ C({
9
9
  __name: "MazIcon",
@@ -25,18 +25,20 @@ const I = ["innerHTML"], G = /* @__PURE__ */ C({
25
25
  }
26
26
  },
27
27
  emits: ["loaded", "unloaded", "error"],
28
- setup(l, { emit: u }) {
29
- const s = {}, i = g(), v = g(), w = () => {
28
+ setup(l, { emit: d }) {
29
+ const o = l, f = d, a = {}, i = g(), v = g();
30
+ function w() {
30
31
  try {
31
32
  return H("mazIconPath");
32
33
  } catch {
33
34
  return;
34
35
  }
35
- }, o = l, d = u, f = p(() => o.path ?? w()), E = p(() => o.src ? o.src : f.value ? `${f.value}/${o.name}.svg` : `/${o.name}.svg`);
36
+ }
37
+ const m = p(() => o.path ?? w()), E = p(() => o.src ? o.src : m.value ? `${m.value}/${o.name}.svg` : `/${o.name}.svg`);
36
38
  P(() => {
37
39
  !o.name && !o.src && console.error('[maz-ui](MazIcon) you should provide "name" or "src" as prop');
38
40
  });
39
- const y = (e, n) => {
41
+ function y(e, n) {
40
42
  const t = e.querySelectorAll("title");
41
43
  if (t.length > 0)
42
44
  t[0].textContent = n;
@@ -44,43 +46,52 @@ const I = ["innerHTML"], G = /* @__PURE__ */ C({
44
46
  const r = document.createElementNS("http://www.w3.org/2000/svg", "title");
45
47
  r.textContent = n, e.append(r);
46
48
  }
47
- }, z = (e) => Object.keys(e).reduce((n, t) => (e[t] !== !1 && e[t] !== null && e[t] !== void 0 && (n[t] = e[t]), n), {}), M = (e) => {
49
+ }
50
+ function z(e) {
51
+ return Object.keys(e).reduce((n, t) => (e[t] !== !1 && e[t] !== null && e[t] !== void 0 && (n[t] = e[t]), n), {});
52
+ }
53
+ function M(e) {
48
54
  const n = {}, t = e.attributes;
49
55
  if (!t)
50
56
  return n;
51
57
  for (let r = t.length - 1; r >= 0; r--)
52
58
  n[t[r].name] = t[r].value;
53
59
  return n;
54
- }, T = (e) => {
60
+ }
61
+ function T(e) {
55
62
  let n = e.cloneNode(!0);
56
63
  return n = o.transformSource(e), o.title && y(n, o.title), e.innerHTML;
57
- }, x = async (e) => {
58
- s[e] || (s[e] = L(e));
64
+ }
65
+ async function x(e) {
66
+ a[e] || (a[e] = L(e));
59
67
  try {
60
- i.value = await s[e], await q(), d("loaded", v.value);
68
+ i.value = await a[e], await q(), f("loaded", v.value);
61
69
  } catch (n) {
62
- i.value && (i.value = void 0, d("unloaded")), delete s[e], d("error", n);
70
+ i.value && (i.value = void 0, f("unloaded")), delete a[e], f("error", n);
63
71
  }
64
- }, L = (e) => new Promise((n, t) => {
65
- const r = new XMLHttpRequest();
66
- r.open("GET", e, !0), r.addEventListener("load", () => {
67
- if (r.status >= 200 && r.status < 400)
68
- try {
69
- let c = new DOMParser().parseFromString(r.responseText, "text/xml").querySelectorAll("svg")[0];
70
- c ? (c = o.transformSource(c), n(c)) : t(new Error('Loaded file is not valid SVG"'));
71
- } catch (m) {
72
- t(m);
73
- }
74
- else
75
- t(new Error("Error loading SVG"));
76
- }), r.addEventListener("error", () => t()), r.send();
77
- });
72
+ }
73
+ function L(e) {
74
+ return new Promise((n, t) => {
75
+ const r = new XMLHttpRequest();
76
+ r.open("GET", e, !0), r.addEventListener("load", () => {
77
+ if (r.status >= 200 && r.status < 400)
78
+ try {
79
+ let c = new DOMParser().parseFromString(r.responseText, "text/xml").querySelectorAll("svg")[0];
80
+ c ? (c = o.transformSource(c), n(c)) : t(new Error('Loaded file is not valid SVG"'));
81
+ } catch (u) {
82
+ t(u);
83
+ }
84
+ else
85
+ t(new Error("Error loading SVG"));
86
+ }), r.addEventListener("error", (u) => t(u)), r.send();
87
+ });
88
+ }
78
89
  return _(() => x(E.value)), (e, n) => (h(), S(
79
90
  $,
80
91
  null,
81
92
  [
82
- a(" eslint-disable vue/no-v-html "),
83
- a(" eslint-disable vue/html-self-closing "),
93
+ s(" eslint-disable vue/no-v-html "),
94
+ s(" eslint-disable vue/html-self-closing "),
84
95
  i.value ? (h(), S("svg", A({
85
96
  key: 0,
86
97
  ref_key: "svgElem",
@@ -93,9 +104,9 @@ const I = ["innerHTML"], G = /* @__PURE__ */ C({
93
104
  }, {
94
105
  style: `font-size: ${l.size}`,
95
106
  innerHTML: T(i.value)
96
- }), null, 16, I)) : a("v-if", !0),
97
- a(" eslint-enable vue/no-v-html "),
98
- a(" eslint-enable vue/html-self-closing ")
107
+ }), null, 16, I)) : s("v-if", !0),
108
+ s(" eslint-enable vue/no-v-html "),
109
+ s(" eslint-enable vue/html-self-closing ")
99
110
  ],
100
111
  2112
101
112
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
@@ -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;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazInput-DNwBL54e.mjs";
1
+ import { M as f } from "./chunks/MazInput-BpsE-mdg.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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,6 +1,5 @@
1
- import './assets/MazInputCode.css';
2
1
  import { defineComponent as N, useCssVars as S, ref as V, watch as M, computed as m, openBlock as v, createElementBlock as g, normalizeClass as w, normalizeStyle as P, Fragment as $, renderList as q, createCommentVNode as x, createElementVNode as D, mergeProps as E } from "vue";
3
- const F = ["disabled"], K = ["inputmode", "pattern", "required", "value", "onInput", "onKeydown", "onClick"], T = /* @__PURE__ */ N({
2
+ import './assets/MazInputCode.css';const F = ["disabled"], K = ["inputmode", "pattern", "required", "value", "onInput", "onKeydown", "onClick"], T = /* @__PURE__ */ N({
4
3
  inheritAttrs: !1,
5
4
  __name: "MazInputCode",
6
5
  props: {
@@ -21,7 +20,7 @@ const F = ["disabled"], K = ["inputmode", "pattern", "required", "value", "onInp
21
20
  emits: ["update:model-value", "completed"],
22
21
  setup(i, { emit: f }) {
23
22
  S((e) => ({
24
- "2bcaf79e": C.value
23
+ "126eacc0": C.value
25
24
  }));
26
25
  const a = i, d = f, u = V([]), l = V(/* @__PURE__ */ new Map());
27
26
  M(
@@ -60,7 +59,7 @@ const F = ["disabled"], K = ["inputmode", "pattern", "required", "value", "onInp
60
59
  }
61
60
  function h(e) {
62
61
  var t;
63
- return (t = a.acceptAlpha ? e.match(/^[\w.]$/i) : e.match(/\d+/g)) == null ? void 0 : t.toString();
62
+ return (t = a.acceptAlpha ? e.match(/^[\w.]$/) : e.match(/\d+/g)) == null ? void 0 : t.toString();
64
63
  }
65
64
  function B(e, t) {
66
65
  const o = l.value.get(t);
@@ -150,7 +149,7 @@ const F = ["disabled"], K = ["inputmode", "pattern", "required", "value", "onInp
150
149
  for (const [d, u] of f)
151
150
  a[d] = u;
152
151
  return a;
153
- }, W = /* @__PURE__ */ j(T, [["__scopeId", "data-v-9c290a78"]]);
152
+ }, W = /* @__PURE__ */ j(T, [["__scopeId", "data-v-afab8168"]]);
154
153
  export {
155
154
  W as default
156
155
  };
@@ -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
- import { a as f } from "./chunks/MazInputNumber-BSdVF8-q.mjs";
1
+ import { a as f } from "./chunks/MazInputNumber-DGBYbDSX.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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,4 +1,4 @@
1
- import { a as f } from "./chunks/MazInputPrice-osrAz4xd.mjs";
1
+ import { a as f } from "./chunks/MazInputPrice-j2BNMeFp.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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> = {
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazInputTags-XUWwx6p8.mjs";
1
+ import { M as f } from "./chunks/MazInputTags-CJofVaj5.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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,4 +1,4 @@
1
- import { M as f } from "./chunks/MazLazyImg-BelScAEF.mjs";
1
+ import { M as f } from "./chunks/MazLazyImg-Dboc6Xfz.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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,6 +1,5 @@
1
- import './assets/MazLink.css';
2
1
  import { defineComponent as p, defineAsyncComponent as s, openBlock as n, createBlock as l, resolveDynamicComponent as d, mergeProps as h, withCtx as c, createCommentVNode as o, renderSlot as r, unref as f, createVNode as m } from "vue";
3
- const v = /* @__PURE__ */ p({
2
+ import './assets/MazLink.css';const v = /* @__PURE__ */ p({
4
3
  __name: "MazLink",
5
4
  props: {
6
5
  id: { default: void 0 },
@@ -21,7 +20,7 @@ const v = /* @__PURE__ */ p({
21
20
  setup(a) {
22
21
  const i = s(
23
22
  () => import("./chunks/arrow-top-right-on-square-CkcBq4qD.mjs")
24
- ), t = s(() => import("./chunks/MazIcon-Cxrv3_OK.mjs"));
23
+ ), t = s(() => import("./chunks/MazIcon-BDGxCy9M.mjs"));
25
24
  return (e, u) => (n(), l(d(e.to ? "router-link" : "a"), h({
26
25
  id: e.id,
27
26
  class: ["m-link", [
@@ -78,7 +77,7 @@ const v = /* @__PURE__ */ p({
78
77
  for (const [e, u] of i)
79
78
  t[e] = u;
80
79
  return t;
81
- }, k = /* @__PURE__ */ y(v, [["__scopeId", "data-v-439cf950"]]);
80
+ }, k = /* @__PURE__ */ y(v, [["__scopeId", "data-v-4f837a44"]]);
82
81
  export {
83
82
  k as default
84
83
  };
@@ -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,14 +1,13 @@
1
- import './assets/MazLoadingBar.css';
2
- import { defineComponent as r, useCssVars as s, computed as n, openBlock as l, createElementBlock as d, pushScopeId as p, popScopeId as _, createElementVNode as i } from "vue";
3
- const m = (o) => (p("data-v-26d3bae5"), o = o(), _(), o), u = { class: "m-loading-bar" }, h = /* @__PURE__ */ m(() => /* @__PURE__ */ i(
1
+ import { defineComponent as r, useCssVars as s, computed as n, openBlock as l, createElementBlock as p, pushScopeId as d, popScopeId as _, createElementVNode as i } from "vue";
2
+ import './assets/MazLoadingBar.css';const m = (o) => (d("data-v-be315052"), o = o(), _(), o), u = { class: "m-loading-bar" }, h = /* @__PURE__ */ m(() => /* @__PURE__ */ i(
4
3
  "div",
5
4
  null,
6
5
  null,
7
6
  -1
8
7
  /* HOISTED */
9
- )), f = [
8
+ )), v = [
10
9
  h
11
- ], v = /* @__PURE__ */ r({
10
+ ], f = /* @__PURE__ */ r({
12
11
  __name: "MazLoadingBar",
13
12
  props: {
14
13
  color: { default: "primary" },
@@ -16,22 +15,22 @@ const m = (o) => (p("data-v-26d3bae5"), o = o(), _(), o), u = { class: "m-loadin
16
15
  },
17
16
  setup(o) {
18
17
  s((t) => ({
19
- "4d5d421f": t.height,
20
- d3c0e8e8: a.value.alpha,
21
- ccfba46a: a.value.main
18
+ "6349f7b6": t.height,
19
+ "02343323": e.value.alpha,
20
+ c6029158: e.value.main
22
21
  }));
23
- const e = o, a = n(() => ({
24
- alpha: `var(--maz-color-${e.color}-alpha-20)`,
25
- main: `var(--maz-color-${e.color})`
22
+ const a = o, e = n(() => ({
23
+ alpha: `var(--maz-color-${a.color}-alpha-20)`,
24
+ main: `var(--maz-color-${a.color})`
26
25
  }));
27
- return (t, c) => (l(), d("div", u, f));
26
+ return (t, c) => (l(), p("div", u, v));
28
27
  }
29
- }), g = (o, e) => {
30
- const a = o.__vccOpts || o;
31
- for (const [t, c] of e)
32
- a[t] = c;
33
- return a;
34
- }, z = /* @__PURE__ */ g(v, [["__scopeId", "data-v-26d3bae5"]]);
28
+ }), g = (o, a) => {
29
+ const e = o.__vccOpts || o;
30
+ for (const [t, c] of a)
31
+ e[t] = c;
32
+ return e;
33
+ }, z = /* @__PURE__ */ g(f, [["__scopeId", "data-v-be315052"]]);
35
34
  export {
36
35
  z as default
37
36
  };
@@ -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 { M as f } from "./chunks/MazPagination-DUiHgLAp.mjs";
1
+ import { M as f } from "./chunks/MazPagination-C6ZehQSZ.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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,4 +1,4 @@
1
- import { M as f } from "./chunks/MazPhoneNumberInput-1tGT28Sa.mjs";
1
+ import { M as f } from "./chunks/MazPhoneNumberInput-DpWoNQfx.mjs";
2
2
  export {
3
3
  f as default
4
4
  };