maz-ui 3.43.4 → 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 (358) 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/types.d.ts +5 -5
  61. package/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
  62. package/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
  63. package/components/MazPhoneNumberInput.d.ts +8 -8
  64. package/components/MazPhoneNumberInput.mjs +1 -1
  65. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  66. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
  67. package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  68. package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  69. package/components/MazPicker/types.d.ts +4 -4
  70. package/components/MazPicker/utils.d.ts +4 -4
  71. package/components/MazPicker.d.ts +3 -3
  72. package/components/MazPicker.mjs +1 -1
  73. package/components/MazPullToRefresh.d.ts +2 -2
  74. package/components/MazPullToRefresh.mjs +1 -1
  75. package/components/MazRadio.mjs +8 -9
  76. package/components/MazRadioButtons.d.ts +2 -2
  77. package/components/MazRadioButtons.mjs +44 -42
  78. package/components/MazReadingProgressBar.d.ts +2 -2
  79. package/components/MazReadingProgressBar.mjs +12 -13
  80. package/components/MazSelect.d.ts +4 -4
  81. package/components/MazSelect.mjs +1 -1
  82. package/components/MazSlider/utils.d.ts +4 -4
  83. package/components/MazSlider.mjs +100 -87
  84. package/components/MazSpinner.mjs +6 -7
  85. package/components/MazStepper.d.ts +3 -3
  86. package/components/MazStepper.mjs +1 -1
  87. package/components/MazSwitch.d.ts +2 -2
  88. package/components/MazSwitch.mjs +6 -6
  89. package/components/MazTable.d.ts +13 -10
  90. package/components/MazTable.mjs +1 -1
  91. package/components/MazTableCell.mjs +4 -5
  92. package/components/MazTableRow.d.ts +2 -2
  93. package/components/MazTableRow.mjs +4 -5
  94. package/components/MazTableTitle.mjs +2 -3
  95. package/components/MazTabs.d.ts +4 -4
  96. package/components/MazTabsBar.d.ts +7 -5
  97. package/components/MazTabsBar.mjs +1 -1
  98. package/components/MazTabsContent.mjs +5 -4
  99. package/components/MazTabsContentItem.mjs +16 -17
  100. package/components/MazTextarea.d.ts +2 -2
  101. package/components/MazTextarea.mjs +19 -17
  102. package/components/MazTransitionExpand.d.ts +2 -2
  103. package/components/MazTransitionExpand.mjs +19 -18
  104. package/components/assets/MazAccordion.css +1 -1
  105. package/components/assets/MazAnimatedCounter.css +1 -1
  106. package/components/assets/MazAvatar.css +1 -1
  107. package/components/assets/MazBadge.css +1 -1
  108. package/components/assets/MazBottomSheet.css +1 -1
  109. package/components/assets/MazBtn.css +1 -1
  110. package/components/assets/MazCard.css +1 -1
  111. package/components/assets/MazCardSpotlight.css +1 -1
  112. package/components/assets/MazCarousel.css +1 -1
  113. package/components/assets/MazCheckbox.css +1 -1
  114. package/components/assets/MazCircularProgressBar.css +1 -1
  115. package/components/assets/MazDialog.css +1 -1
  116. package/components/assets/MazDialogPromise.css +1 -1
  117. package/components/assets/MazExpandAnimation.css +1 -1
  118. package/components/assets/MazGallery.css +1 -1
  119. package/components/assets/MazInput.css +1 -1
  120. package/components/assets/MazInputCode.css +1 -1
  121. package/components/assets/MazInputNumber.css +1 -1
  122. package/components/assets/MazInputPrice.css +1 -1
  123. package/components/assets/MazInputTags.css +1 -1
  124. package/components/assets/MazLazyImg.css +1 -1
  125. package/components/assets/MazLink.css +1 -1
  126. package/components/assets/MazLoadingBar.css +1 -1
  127. package/components/assets/MazPagination.css +1 -1
  128. package/components/assets/MazPhoneNumberInput.css +1 -1
  129. package/components/assets/MazPicker.css +1 -1
  130. package/components/assets/MazPickerMonthSwitcher.css +1 -1
  131. package/components/assets/MazPickerShortcuts.css +1 -1
  132. package/components/assets/MazPickerYearSwitcher.css +1 -1
  133. package/components/assets/MazPullToRefresh.css +1 -1
  134. package/components/assets/MazRadio.css +1 -1
  135. package/components/assets/MazRadioButtons.css +1 -1
  136. package/components/assets/MazReadingProgressBar.css +1 -1
  137. package/components/assets/MazSelect.css +1 -1
  138. package/components/assets/MazSlider.css +1 -1
  139. package/components/assets/MazSpinner.css +1 -1
  140. package/components/assets/MazStepper.css +1 -1
  141. package/components/assets/MazSwitch.css +1 -1
  142. package/components/assets/MazTable.css +1 -1
  143. package/components/assets/MazTableCell.css +1 -1
  144. package/components/assets/MazTableRow.css +1 -1
  145. package/components/assets/MazTableTitle.css +1 -1
  146. package/components/assets/MazTabsBar.css +1 -1
  147. package/components/assets/MazTabsContentItem.css +1 -1
  148. package/components/assets/MazTextarea.css +1 -1
  149. package/components/assets/MazTransitionExpand.css +1 -1
  150. package/components/chunks/{MazAvatar-DsJvzyS9.mjs → MazAvatar-BU1nJFcV.mjs} +8 -9
  151. package/components/chunks/{MazBadge-CYJlqITD.mjs → MazBadge-CwA0md19.mjs} +4 -5
  152. package/components/chunks/{MazBottomSheet-CIlIdn-2.mjs → MazBottomSheet-DUOIusEi.mjs} +54 -52
  153. package/components/chunks/{MazBtn-CCNGs6oo.mjs → MazBtn-5BSKOcqG.mjs} +35 -36
  154. package/components/chunks/{MazBtn-Ccvl1ZWv.mjs → MazBtn-B1-sTc7F.mjs} +31 -32
  155. package/components/chunks/{MazBtn-BC5OegPu.mjs → MazBtn-BY8WCtM7.mjs} +35 -36
  156. package/components/chunks/{MazBtn-CX4OgPzp.mjs → MazBtn-C5G78zLg.mjs} +35 -36
  157. package/components/chunks/MazBtn-CeVwyYR5.mjs +150 -0
  158. package/components/chunks/{MazBtn-BqgdERYQ.mjs → MazBtn-ColLVUca.mjs} +35 -36
  159. package/components/chunks/{MazBtn-beTASOLt.mjs → MazBtn-DJhQqzja.mjs} +35 -36
  160. package/components/chunks/MazBtn-DuY28-0U.mjs +150 -0
  161. package/components/chunks/{MazBtn-BydIwD1J.mjs → MazBtn-f1mBXJeU.mjs} +31 -32
  162. package/components/chunks/MazBtn-h3WmmaEO.mjs +150 -0
  163. package/components/chunks/MazBtn-zyRLUViT.mjs +150 -0
  164. package/components/chunks/{MazCard-bmiVPg8p.mjs → MazCard-BWxV_Z-i.mjs} +25 -26
  165. package/components/chunks/{MazCarousel-CL0bMygd.mjs → MazCarousel-D5EmW7Sa.mjs} +43 -35
  166. package/components/chunks/{MazCheckbox-DsFbvpp4.mjs → MazCheckbox-BWiMbecz.mjs} +11 -12
  167. package/components/chunks/{MazCheckbox-CCa7grGF.mjs → MazCheckbox-D3PXkt75.mjs} +11 -12
  168. package/components/chunks/{MazDialog-BckFta4N.mjs → MazDialog-CLWKCphI.mjs} +56 -54
  169. package/components/chunks/{MazDialogPromise-Bb6h4hFz.mjs → MazDialogPromise-DVOJwdVp.mjs} +139 -126
  170. package/components/chunks/{MazDropzone-C_8mRUbK.mjs → MazDropzone-Dm2IirHm.mjs} +33 -54
  171. package/components/chunks/MazExpandAnimation-ChSSdQAq.mjs +58 -0
  172. package/components/chunks/{MazGallery-CcpeM_zk.mjs → MazGallery-BlfPe8WG.mjs} +103 -101
  173. package/components/chunks/{MazGallery-6UK5sH9P.mjs → MazGallery-Bn9p1gNb.mjs} +102 -100
  174. package/{modules/chunks/MazIcon-CiNswMKM.mjs → components/chunks/MazIcon-B8A0hQAH.mjs} +45 -34
  175. package/components/chunks/{MazIcon-Cxrv3_OK.mjs → MazIcon-BDGxCy9M.mjs} +45 -34
  176. package/components/chunks/{MazIcon-BKuhvwwq.mjs → MazIcon-D3umgnku.mjs} +45 -34
  177. package/components/chunks/{MazInput-DNwBL54e.mjs → MazInput-BpsE-mdg.mjs} +69 -69
  178. package/components/chunks/{MazInputNumber-BSdVF8-q.mjs → MazInputNumber-DGBYbDSX.mjs} +186 -182
  179. package/components/chunks/{MazInputPrice-osrAz4xd.mjs → MazInputPrice-j2BNMeFp.mjs} +134 -129
  180. package/components/chunks/{MazInputTags-XUWwx6p8.mjs → MazInputTags-CJofVaj5.mjs} +234 -252
  181. package/components/chunks/{MazLazyImg-6qrfqWKr.mjs → MazLazyImg-BFG6FIJZ.mjs} +6 -7
  182. package/components/chunks/{MazLazyImg-BelScAEF.mjs → MazLazyImg-Dboc6Xfz.mjs} +5 -6
  183. package/components/chunks/{MazPagination-DUiHgLAp.mjs → MazPagination-C6ZehQSZ.mjs} +118 -119
  184. package/components/chunks/{MazPhoneNumberInput-HeEEyDu0.mjs → MazPhoneNumberInput-DpWoNQfx.mjs} +707 -695
  185. package/components/chunks/MazPicker-ia2BEmm5.mjs +2531 -0
  186. package/components/chunks/{MazPickerMonthSwitcher-CoV-84J1.mjs → MazPickerMonthSwitcher-CKtfZ_m-.mjs} +19 -19
  187. package/components/chunks/{MazPickerShortcuts-5IfUIwpz.mjs → MazPickerShortcuts-Cc9VoqBw.mjs} +10 -10
  188. package/components/chunks/{MazPickerYearSwitcher-MeptqtZk.mjs → MazPickerYearSwitcher-0b5Wrem9.mjs} +10 -8
  189. package/components/chunks/{MazPullToRefresh-DWbmwlzV.mjs → MazPullToRefresh-CUazP4y2.mjs} +21 -22
  190. package/components/chunks/MazSelect-COJoKXbV.mjs +847 -0
  191. package/components/chunks/MazSpinner-9Jue6cel.mjs +37 -0
  192. package/components/chunks/{MazSpinner-BKjRRWtc.mjs → MazSpinner-BGPOws6a.mjs} +6 -7
  193. package/components/chunks/{MazSpinner-BXxULdoD.mjs → MazSpinner-BWYdqSMP.mjs} +6 -7
  194. package/components/chunks/{MazSpinner-BRgzRI07.mjs → MazSpinner-BZOjTZBN.mjs} +6 -7
  195. package/components/chunks/{MazSpinner-B-svzg-R.mjs → MazSpinner-BaAMq7LI.mjs} +6 -7
  196. package/components/chunks/MazSpinner-Bad2n-0k.mjs +37 -0
  197. package/components/chunks/MazSpinner-BxnVFqUu.mjs +37 -0
  198. package/components/chunks/{MazSpinner-Mvsi6uCt.mjs → MazSpinner-C41VyUup.mjs} +6 -7
  199. package/components/chunks/MazSpinner-C6StE-Mb.mjs +37 -0
  200. package/components/chunks/{MazSpinner-BFXwybUv.mjs → MazSpinner-CNIlbDfg.mjs} +6 -7
  201. package/components/chunks/MazSpinner-Cz2DHV6g.mjs +37 -0
  202. package/components/chunks/MazSpinner-D4CdHpP2.mjs +37 -0
  203. package/{modules/chunks/MazSpinner--jWWogVn.mjs → components/chunks/MazSpinner-DHQH6Bhz.mjs} +6 -7
  204. package/components/chunks/MazSpinner-DRj2VpGA.mjs +37 -0
  205. package/components/chunks/{MazSpinner-C1lg-Klx.mjs → MazSpinner-DkXequnp.mjs} +6 -7
  206. package/components/chunks/MazSpinner-EA5ejB8F.mjs +37 -0
  207. package/components/chunks/{MazSpinner-BtpIL60X.mjs → MazSpinner-RvDGcBng.mjs} +6 -7
  208. package/components/chunks/{MazSpinner-B_WP-2kr.mjs → MazSpinner-V-bFi71W.mjs} +6 -7
  209. package/components/chunks/MazSpinner-aPFlrc5E.mjs +37 -0
  210. package/components/chunks/{MazSpinner-CfA_KEZT.mjs → MazSpinner-nH44Htog.mjs} +6 -7
  211. package/components/chunks/MazSpinner-nOD-7_sU.mjs +37 -0
  212. package/components/chunks/MazSpinner-yZGK-AQe.mjs +37 -0
  213. package/components/chunks/{MazStepper-DDofJsdg.mjs → MazStepper-DxrzKz06.mjs} +94 -83
  214. package/components/chunks/MazTable-DRUj_PZp.mjs +1960 -0
  215. package/components/chunks/{MazTabsBar-BXDEQkZM.mjs → MazTabsBar-xcIIXHx5.mjs} +67 -68
  216. package/components/chunks/{MazTransitionExpand-BwuAIzII.mjs → MazTransitionExpand-B08cSrmL.mjs} +20 -19
  217. package/components/chunks/{examples.mobile.json-um0ibyv5.mjs → examples.mobile.json-JpNGylGv.mjs} +1 -1
  218. package/css/main.css +1 -1
  219. package/modules/assets/MazBtn.css +1 -1
  220. package/modules/assets/MazSpinner.css +1 -1
  221. package/modules/assets/index.css +1 -1
  222. package/modules/chunks/{MazBtn-Czcbhr3Z.cjs → MazBtn-BbCGGxkK.cjs} +2 -2
  223. package/modules/chunks/{MazBtn-CXcW31TK.mjs → MazBtn-UBHTKqaN.mjs} +35 -36
  224. package/modules/chunks/MazIcon-BDSXZYZ8.cjs +1 -0
  225. package/{components/chunks/MazIcon-DtG5ii8R.mjs → modules/chunks/MazIcon-C2ch3jUS.mjs} +45 -34
  226. package/modules/chunks/{MazSpinner-Cw1KnqLM.cjs → MazSpinner-BiyFRA4w.cjs} +1 -1
  227. package/modules/chunks/MazSpinner-C9_xSbZZ.mjs +37 -0
  228. package/modules/chunks/{index-CThtJOu5.mjs → index-Cwbjspv3.mjs} +621 -588
  229. package/modules/chunks/index-tnjajVkX.cjs +124 -0
  230. package/modules/index.cjs +1 -1
  231. package/modules/index.mjs +34 -35
  232. package/nuxt/index.json +2 -2
  233. package/nuxt/index.mjs +3 -4
  234. package/nuxt/types.d.mts +24 -0
  235. package/nuxt/types.d.ts +24 -0
  236. package/package.json +77 -83
  237. package/resolvers/unplugin-directives-resolver.d.ts +1 -1
  238. package/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
  239. package/tailwindcss/tailwind.config.ts +9 -2
  240. package/tailwindcss/utils/colors.ts +3 -3
  241. package/tailwindcss/variables/colors.ts +12 -12
  242. package/tailwindcss/variables/utilities.ts +2 -2
  243. package/tailwindcss/variables/z-indexes.ts +12 -11
  244. package/types/components/MazAccordion.vue.d.ts +2 -2
  245. package/types/components/MazAvatar.vue.d.ts +3 -3
  246. package/types/components/MazBackdrop.vue.d.ts +2 -2
  247. package/types/components/MazBadge.vue.d.ts +2 -2
  248. package/types/components/MazBtn.vue.d.ts +7 -5
  249. package/types/components/MazCard.vue.d.ts +3 -3
  250. package/types/components/MazCardSpotlight.vue.d.ts +2 -2
  251. package/types/components/MazCarousel.vue.d.ts +2 -2
  252. package/types/components/MazChart.vue.d.ts +1 -1
  253. package/types/components/MazCheckbox.vue.d.ts +2 -2
  254. package/types/components/MazCircularProgressBar.vue.d.ts +1 -1
  255. package/types/components/MazDialog.vue.d.ts +2 -2
  256. package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
  257. package/types/components/MazDrawer.vue.d.ts +2 -2
  258. package/types/components/MazDropdown.vue.d.ts +7 -6
  259. package/types/components/MazDropzone.vue.d.ts +1 -1
  260. package/types/components/MazExpandAnimation.vue.d.ts +2 -2
  261. package/types/components/MazFullscreenLoader.vue.d.ts +2 -2
  262. package/types/components/MazGallery.vue.d.ts +2 -2
  263. package/types/components/MazInput.vue.d.ts +4 -4
  264. package/types/components/MazInputCode.vue.d.ts +2 -2
  265. package/types/components/MazInputNumber.vue.d.ts +2 -2
  266. package/types/components/MazInputPrice.vue.d.ts +2 -2
  267. package/types/components/MazInputTags.vue.d.ts +7 -2
  268. package/types/components/MazLazyImg.vue.d.ts +2 -2
  269. package/types/components/MazLink.vue.d.ts +6 -6
  270. package/types/components/MazLoadingBar.vue.d.ts +2 -2
  271. package/types/components/MazPagination.vue.d.ts +3 -3
  272. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
  273. package/types/components/MazPhoneNumberInput/types.d.ts +5 -5
  274. package/types/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
  275. package/types/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
  276. package/types/components/MazPhoneNumberInput.vue.d.ts +8 -8
  277. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  278. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
  279. package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  280. package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  281. package/types/components/MazPicker/types.d.ts +4 -4
  282. package/types/components/MazPicker/utils.d.ts +4 -4
  283. package/types/components/MazPicker.vue.d.ts +3 -3
  284. package/types/components/MazPullToRefresh.vue.d.ts +2 -2
  285. package/types/components/MazRadioButtons.vue.d.ts +2 -2
  286. package/types/components/MazReadingProgressBar.vue.d.ts +2 -2
  287. package/types/components/MazSelect.vue.d.ts +4 -4
  288. package/types/components/MazSlider/utils.d.ts +4 -4
  289. package/types/components/MazStepper.vue.d.ts +3 -3
  290. package/types/components/MazSwitch.vue.d.ts +2 -2
  291. package/types/components/MazTable.vue.d.ts +13 -10
  292. package/types/components/MazTableRow.vue.d.ts +2 -2
  293. package/types/components/MazTabs.vue.d.ts +4 -4
  294. package/types/components/MazTabsBar.vue.d.ts +7 -5
  295. package/types/components/MazTextarea.vue.d.ts +2 -2
  296. package/types/components/MazTransitionExpand.vue.d.ts +2 -2
  297. package/types/modules/composables/use-reading-time.d.ts +5 -5
  298. package/types/modules/composables/use-theme-handler.d.ts +2 -2
  299. package/types/modules/directives/closable.d.ts +2 -2
  300. package/types/modules/directives/tooltip/index.d.ts +4 -4
  301. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
  302. package/types/modules/directives/v-lazy-img/index.d.ts +1 -1
  303. package/types/modules/filters/capitalize.d.ts +1 -1
  304. package/types/modules/filters/currency.d.ts +1 -1
  305. package/types/modules/filters/date.d.ts +1 -1
  306. package/types/modules/filters/index.d.ts +8 -4
  307. package/types/modules/filters/number.d.ts +1 -1
  308. package/types/modules/filters/telephone.d.ts +1 -1
  309. package/types/modules/helpers/idle-timeout/idle-timeout-handler.d.ts +1 -1
  310. package/types/modules/helpers/mount-component.d.ts +2 -2
  311. package/types/modules/helpers/normalize-string.d.ts +2 -2
  312. package/types/modules/helpers/swipe-handler.d.ts +2 -2
  313. package/types/modules/helpers/user-visibility/types.d.ts +2 -2
  314. package/types/modules/plugins/aos/index.d.ts +3 -3
  315. package/types/modules/plugins/index.d.ts +2 -2
  316. package/types/modules/plugins/toaster/MazToast.vue.d.ts +3 -3
  317. package/types/modules/plugins/toaster/index.d.ts +1 -2
  318. package/types/modules/plugins/toaster/types.d.ts +6 -6
  319. package/types/modules/plugins/wait/utils.d.ts +4 -4
  320. package/types/resolvers/unplugin-directives-resolver.d.ts +1 -1
  321. package/types/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
  322. package/types/tailwindcss/tailwind.config.d.ts +71 -9
  323. package/types/tailwindcss/variables/z-indexes.d.ts +11 -11
  324. package/components/chunks/MazBtn-BOb7Fg_d.mjs +0 -151
  325. package/components/chunks/MazBtn-DpkJQ_3W.mjs +0 -151
  326. package/components/chunks/MazBtn-Dw_CR_0X.mjs +0 -151
  327. package/components/chunks/MazBtn-_NGDIlQK.mjs +0 -151
  328. package/components/chunks/MazExpandAnimation-Cin7sZ3I.mjs +0 -58
  329. package/components/chunks/MazPicker-CltoTa2Z.mjs +0 -2477
  330. package/components/chunks/MazSelect-DDKbowf3.mjs +0 -835
  331. package/components/chunks/MazSpinner-2ti3NQjo.mjs +0 -38
  332. package/components/chunks/MazSpinner-BZUmasIf.mjs +0 -38
  333. package/components/chunks/MazSpinner-C-lFmcUR.mjs +0 -38
  334. package/components/chunks/MazSpinner-C75WMoEA.mjs +0 -38
  335. package/components/chunks/MazSpinner-CA38Ikqe.mjs +0 -38
  336. package/components/chunks/MazSpinner-CAHOYqvB.mjs +0 -38
  337. package/components/chunks/MazSpinner-COOp2WX8.mjs +0 -38
  338. package/components/chunks/MazSpinner-D-ONjGGv.mjs +0 -38
  339. package/components/chunks/MazSpinner-DJkziC4O.mjs +0 -38
  340. package/components/chunks/MazSpinner-Di0F6oZz.mjs +0 -38
  341. package/components/chunks/MazSpinner-EcA0uOQv.mjs +0 -38
  342. package/components/chunks/MazSpinner-s_0BLDqW.mjs +0 -38
  343. package/components/chunks/MazTable-B9JiJ2B2.mjs +0 -1950
  344. package/modules/chunks/MazIcon-DdFYd3W8.cjs +0 -1
  345. package/modules/chunks/index-RvIMpzcQ.cjs +0 -124
  346. package/nuxt/runtime/composables/{use-aos.mjs → use-aos.js} +0 -0
  347. package/nuxt/runtime/composables/{use-theme-handler.mjs → use-theme-handler.js} +1 -1
  348. package/nuxt/runtime/composables/{use-toast.mjs → use-toast.js} +0 -0
  349. package/nuxt/runtime/composables/{use-wait.mjs → use-wait.js} +0 -0
  350. package/nuxt/runtime/plugins/{aos.mjs → aos.js} +1 -1
  351. package/nuxt/runtime/plugins/{maz-icon-path.mjs → maz-icon-path.js} +0 -0
  352. package/nuxt/runtime/plugins/{toaster.mjs → toaster.js} +1 -1
  353. package/nuxt/runtime/plugins/{v-click-outside.mjs → v-click-outside.js} +1 -1
  354. package/nuxt/runtime/plugins/{v-fullscreen-img.mjs → v-fullscreen-img.js} +1 -1
  355. package/nuxt/runtime/plugins/{v-lazy-img.mjs → v-lazy-img.js} +1 -1
  356. package/nuxt/runtime/plugins/{v-tooltip.mjs → v-tooltip.js} +1 -1
  357. package/nuxt/runtime/plugins/{v-zoom-img.mjs → v-zoom-img.js} +1 -1
  358. package/nuxt/runtime/plugins/{wait.mjs → wait.js} +1 -1
@@ -1,6 +1,5 @@
1
- import '../assets/MazBottomSheet.css';
2
- import { defineComponent as S, ref as L, onMounted as V, watch as D, openBlock as c, createBlock as k, Teleport as P, createVNode as M, Transition as $, withCtx as v, createElementBlock as A, normalizeClass as b, createElementVNode as r, withModifiers as N, mergeProps as O, renderSlot as z, createCommentVNode as C, defineAsyncComponent as I, unref as w, pushScopeId as T, popScopeId as x } from "vue";
3
- const g = "--backdrop-present", K = /* @__PURE__ */ S({
1
+ import { defineComponent as S, ref as L, onMounted as V, watch as D, openBlock as c, createBlock as k, Teleport as P, createVNode as M, Transition as $, withCtx as v, createElementBlock as A, normalizeClass as b, createElementVNode as d, withModifiers as N, mergeProps as O, renderSlot as z, createCommentVNode as C, defineAsyncComponent as I, unref as w, pushScopeId as T, popScopeId as x } from "vue";
2
+ import '../assets/MazBottomSheet.css';const g = "--backdrop-present", K = /* @__PURE__ */ S({
4
3
  inheritAttrs: !1,
5
4
  __name: "MazBackdrop",
6
5
  props: {
@@ -14,56 +13,59 @@ const g = "--backdrop-present", K = /* @__PURE__ */ S({
14
13
  backdropContentClass: { default: void 0 }
15
14
  },
16
15
  emits: ["open", "close", "update:model-value", "before-close"],
17
- setup(t, { expose: a, emit: l }) {
18
- const d = () => {
16
+ setup(t, { expose: l, emit: r }) {
17
+ const o = t, n = r;
18
+ function a() {
19
19
  document.documentElement.classList.add(g);
20
- }, s = async () => {
20
+ }
21
+ async function s() {
21
22
  document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(g);
22
- }, n = l, e = t, i = L(e.modelValue);
23
+ }
24
+ const i = L(o.modelValue);
23
25
  function m() {
24
26
  _(!1);
25
27
  }
26
- async function _(o) {
28
+ async function _(e) {
27
29
  var f;
28
- o || (n("before-close"), await ((f = e.beforeClose) == null ? void 0 : f.call(e))), i.value = o;
30
+ e || (n("before-close"), await ((f = o.beforeClose) == null ? void 0 : f.call(o))), i.value = e;
29
31
  }
30
32
  function y() {
31
33
  n("open");
32
34
  }
33
35
  function h() {
34
- n("update:model-value", !1), n("close"), u();
36
+ n("update:model-value", !1), n("close"), p();
35
37
  }
36
38
  function B() {
37
- e.persistent || m();
39
+ o.persistent || m();
38
40
  }
39
- function p(o) {
40
- !e.noCloseOnEscKey && o.key === "Escape" && !e.persistent && m();
41
+ function u(e) {
42
+ !o.noCloseOnEscKey && e.key === "Escape" && !o.persistent && m();
41
43
  }
42
44
  function E() {
43
- d(), document.addEventListener("keyup", p, !1);
45
+ a(), document.addEventListener("keyup", u, !1);
44
46
  }
45
- function u() {
46
- document.removeEventListener("keyup", p), s();
47
+ function p() {
48
+ document.removeEventListener("keyup", u), s();
47
49
  }
48
50
  return V(() => {
49
- e.modelValue ? E() : u();
51
+ o.modelValue ? E() : p();
50
52
  }), D(
51
- () => e.modelValue,
52
- (o) => {
53
- i.value = o, o ? E() : u();
53
+ () => o.modelValue,
54
+ (e) => {
55
+ i.value = e, e ? E() : p();
54
56
  }
55
- ), a({
57
+ ), l({
56
58
  onBackdropAnimationEnter: y,
57
59
  onBackdropAnimationLeave: h,
58
60
  onBackdropClicked: B,
59
61
  close: m,
60
62
  present: i,
61
63
  toggleModal: _,
62
- onKeyPress: p
63
- }), (o, f) => (c(), k(P, { to: o.teleportSelector }, [
64
+ onKeyPress: u
65
+ }), (e, f) => (c(), k(P, { to: e.teleportSelector }, [
64
66
  M($, {
65
67
  appear: "",
66
- name: o.transitionName,
68
+ name: e.transitionName,
67
69
  onAfterEnter: y,
68
70
  onAfterLeave: h
69
71
  }, {
@@ -72,15 +74,15 @@ const g = "--backdrop-present", K = /* @__PURE__ */ S({
72
74
  "div",
73
75
  {
74
76
  key: 0,
75
- class: b(["m-backdrop --present", [o.backdropClass]]),
77
+ class: b(["m-backdrop --present", [e.backdropClass]]),
76
78
  tabindex: "-1",
77
79
  role: "dialog"
78
80
  },
79
81
  [
80
- r(
82
+ d(
81
83
  "button",
82
84
  {
83
- class: b(["m-backdrop-overlay", { "--disabled": o.persistent }]),
85
+ class: b(["m-backdrop-overlay", { "--disabled": e.persistent }]),
84
86
  tabindex: "-1",
85
87
  onClick: N(B, ["self"])
86
88
  },
@@ -88,16 +90,16 @@ const g = "--backdrop-present", K = /* @__PURE__ */ S({
88
90
  2
89
91
  /* CLASS */
90
92
  ),
91
- r(
93
+ d(
92
94
  "div",
93
95
  O({
94
- class: ["m-backdrop-content", o.backdropContentClass]
95
- }, o.$attrs, {
96
+ class: ["m-backdrop-content", e.backdropContentClass]
97
+ }, e.$attrs, {
96
98
  role: "document",
97
99
  tabindex: "0"
98
100
  }),
99
101
  [
100
- z(o.$slots, "default", { close: m })
102
+ z(e.$slots, "default", { close: m })
101
103
  ],
102
104
  16
103
105
  /* FULL_PROPS */
@@ -118,7 +120,7 @@ const g = "--backdrop-present", K = /* @__PURE__ */ S({
118
120
  height: "1em",
119
121
  fill: "none",
120
122
  viewBox: "0 0 24 24"
121
- }, j = /* @__PURE__ */ r(
123
+ }, j = /* @__PURE__ */ d(
122
124
  "path",
123
125
  {
124
126
  stroke: "currentColor",
@@ -133,14 +135,14 @@ const g = "--backdrop-present", K = /* @__PURE__ */ S({
133
135
  ), q = [
134
136
  j
135
137
  ];
136
- function U(t, a) {
138
+ function U(t, l) {
137
139
  return c(), A("svg", F, [...q]);
138
140
  }
139
- const X = { render: U }, G = (t) => (T("data-v-46b34248"), t = t(), x(), t), H = /* @__PURE__ */ G(() => /* @__PURE__ */ r(
141
+ const X = { render: U }, G = (t) => (T("data-v-8350510b"), t = t(), x(), t), H = /* @__PURE__ */ G(() => /* @__PURE__ */ d(
140
142
  "div",
141
143
  { class: "m-bottom-sheet__content-wrapper" },
142
144
  [
143
- /* @__PURE__ */ r("p", null, "Default content")
145
+ /* @__PURE__ */ d("p", null, "Default content")
144
146
  ],
145
147
  -1
146
148
  /* HOISTED */
@@ -151,17 +153,17 @@ const X = { render: U }, G = (t) => (T("data-v-46b34248"), t = t(), x(), t), H =
151
153
  noPadding: { type: Boolean, default: !1 }
152
154
  },
153
155
  emits: ["update:model-value", "open", "close"],
154
- setup(t, { emit: a }) {
155
- const l = I(() => import("./MazBtn-_NGDIlQK.mjs")), d = a;
156
- return (s, n) => (c(), k(K, {
156
+ setup(t, { emit: l }) {
157
+ const r = l, o = I(() => import("./MazBtn-CeVwyYR5.mjs"));
158
+ return (n, a) => (c(), k(K, {
157
159
  "transition-name": "bottom-sheet-anim",
158
160
  "backdrop-class": "--bottom-sheet",
159
- onClose: n[0] || (n[0] = (e) => s.$emit("close", e)),
160
- onOpen: n[1] || (n[1] = (e) => s.$emit("open", e)),
161
- "onUpdate:modelValue": n[2] || (n[2] = (e) => d("update:model-value", e))
161
+ onClose: a[0] || (a[0] = (s) => n.$emit("close", s)),
162
+ onOpen: a[1] || (a[1] = (s) => n.$emit("open", s)),
163
+ "onUpdate:modelValue": a[2] || (a[2] = (s) => r("update:model-value", s))
162
164
  }, {
163
- default: v(({ close: e }) => [
164
- r(
165
+ default: v(({ close: s }) => [
166
+ d(
165
167
  "div",
166
168
  {
167
169
  class: b(["m-bottom-sheet__container", {
@@ -170,15 +172,15 @@ const X = { render: U }, G = (t) => (T("data-v-46b34248"), t = t(), x(), t), H =
170
172
  },
171
173
  [
172
174
  C(" Slot content "),
173
- z(s.$slots, "default", { close: e }, () => [
175
+ z(n.$slots, "default", { close: s }, () => [
174
176
  H
175
177
  ], !0),
176
- t.noClose ? C("v-if", !0) : (c(), k(w(l), {
178
+ t.noClose ? C("v-if", !0) : (c(), k(w(o), {
177
179
  key: 0,
178
180
  size: "sm",
179
181
  class: "m-bottom-sheet__close",
180
182
  color: "transparent",
181
- onClick: e
183
+ onClick: s
182
184
  }, {
183
185
  default: v(() => [
184
186
  M(w(X), { class: "maz-text-lg" })
@@ -195,12 +197,12 @@ const X = { render: U }, G = (t) => (T("data-v-46b34248"), t = t(), x(), t), H =
195
197
  /* FORWARDED */
196
198
  }));
197
199
  }
198
- }), Q = (t, a) => {
199
- const l = t.__vccOpts || t;
200
- for (const [d, s] of a)
201
- l[d] = s;
202
- return l;
203
- }, W = /* @__PURE__ */ Q(J, [["__scopeId", "data-v-46b34248"]]);
200
+ }), Q = (t, l) => {
201
+ const r = t.__vccOpts || t;
202
+ for (const [o, n] of l)
203
+ r[o] = n;
204
+ return r;
205
+ }, W = /* @__PURE__ */ Q(J, [["__scopeId", "data-v-8350510b"]]);
204
206
  export {
205
207
  W as M,
206
208
  Q as _
@@ -1,7 +1,6 @@
1
- import '../assets/MazBtn.css';
2
1
  import { defineComponent as E, defineAsyncComponent as h, useAttrs as R, useSlots as w, onBeforeMount as A, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as D, createElementBlock as u, createCommentVNode as t, renderSlot as d, unref as c } from "vue";
3
- import { _ as L } from "./MazInput-DNwBL54e.mjs";
4
- const P = /* @__PURE__ */ E({
2
+ import { _ as L } from "./MazSelect-COJoKXbV.mjs";
3
+ import '../assets/MazBtn.css';const P = /* @__PURE__ */ E({
5
4
  __name: "MazBtn",
6
5
  props: {
7
6
  variant: { default: "button" },
@@ -26,34 +25,34 @@ const P = /* @__PURE__ */ E({
26
25
  contentClass: { default: void 0 }
27
26
  },
28
27
  setup(g) {
29
- const z = h(() => import("./MazSpinner-BXxULdoD.mjs")), f = h(() => import("./MazIcon-Cxrv3_OK.mjs")), { href: k, to: B } = R(), p = w(), o = g;
28
+ const e = g, z = h(() => import("./MazSpinner-nOD-7_sU.mjs")), f = h(() => import("./MazIcon-BDGxCy9M.mjs")), { href: k, to: B } = R(), p = w();
30
29
  A(() => {
31
- o.icon && !o.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
30
+ e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
32
31
  });
33
32
  const v = l(() => k ? "a" : B ? "router-link" : "button"), I = l(
34
- () => o.pastel ? `--${o.color}-pastel` : o.outline ? `--${o.color}-outline` : `--${o.color}`
33
+ () => e.pastel ? `--${e.color}-pastel` : e.outline ? `--${e.color}-outline` : `--${e.color}`
35
34
  ), b = l(
36
- () => (o.loading || o.disabled) && v.value === "button"
37
- ), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${o.variant}`), i = l(() => o.loading && o.variant === "button"), m = l(() => !!p["left-icon"] || o.leftIcon), y = l(() => !!p["right-icon"] || o.rightIcon), M = l(() => m.value || y.value), S = l(() => o.fab && (o.icon || !!p.icon)), T = l(() => v.value === "button" ? o.type : void 0);
38
- return (e, U) => (n(), a(r(v.value), {
35
+ () => (e.loading || e.disabled) && v.value === "button"
36
+ ), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), i = l(() => e.loading && e.variant === "button"), m = l(() => !!p["left-icon"] || e.leftIcon), y = l(() => !!p["right-icon"] || e.rightIcon), M = l(() => m.value || y.value), S = l(() => e.fab && (e.icon || !!p.icon)), T = l(() => v.value === "button" ? e.type : void 0);
37
+ return (o, U) => (n(), a(r(v.value), {
39
38
  disabled: b.value || void 0,
40
39
  class: s(["m-btn", [
41
- `--${e.size}`,
42
- !e.fab && e.roundedSize && `--rounded-${e.roundedSize}`,
40
+ `--${o.size}`,
41
+ !o.fab && o.roundedSize && `--rounded-${o.roundedSize}`,
43
42
  I.value,
44
43
  C.value,
45
44
  $.value,
46
45
  {
47
- "--block": e.block,
48
- "--no-underline": e.noUnderline,
49
- "--fab": e.fab,
50
- "--loading": e.loading,
46
+ "--block": o.block,
47
+ "--no-underline": o.noUnderline,
48
+ "--fab": o.fab,
49
+ "--loading": o.loading,
51
50
  "--disabled": b.value,
52
51
  "--icon": M.value,
53
- "--rounded": e.rounded,
54
- "--no-rounded": e.noRounded,
55
- "--no-padding": e.noPadding,
56
- "--no-elevation": e.noElevation
52
+ "--rounded": o.rounded,
53
+ "--no-rounded": o.noRounded,
54
+ "--no-padding": o.noPadding,
55
+ "--no-elevation": o.noElevation
57
56
  }
58
57
  ]]),
59
58
  type: T.value
@@ -69,11 +68,11 @@ const P = /* @__PURE__ */ E({
69
68
  t(`
70
69
  @slot left-icon - The icon to display on the left of the button
71
70
  `),
72
- d(e.$slots, "left-icon", {}, () => [
73
- typeof e.leftIcon == "string" ? (n(), a(c(f), {
71
+ d(o.$slots, "left-icon", {}, () => [
72
+ typeof o.leftIcon == "string" ? (n(), a(c(f), {
74
73
  key: 0,
75
- name: e.leftIcon
76
- }, null, 8, ["name"])) : e.leftIcon ? (n(), a(r(e.leftIcon), { key: 1 })) : t("v-if", !0)
74
+ name: o.leftIcon
75
+ }, null, 8, ["name"])) : o.leftIcon ? (n(), a(r(o.leftIcon), { key: 1 })) : t("v-if", !0)
77
76
  ], !0)
78
77
  ],
79
78
  2
@@ -89,27 +88,27 @@ const P = /* @__PURE__ */ E({
89
88
  t(`
90
89
  @slot icon - The icon to display on the fab button
91
90
  `),
92
- d(e.$slots, "icon", {}, () => [
93
- typeof e.icon == "string" ? (n(), a(c(f), {
91
+ d(o.$slots, "icon", {}, () => [
92
+ typeof o.icon == "string" ? (n(), a(c(f), {
94
93
  key: 0,
95
- name: e.icon
96
- }, null, 8, ["name"])) : e.icon ? (n(), a(r(e.icon), { key: 1 })) : t("v-if", !0)
94
+ name: o.icon
95
+ }, null, 8, ["name"])) : o.icon ? (n(), a(r(o.icon), { key: 1 })) : t("v-if", !0)
97
96
  ], !0)
98
97
  ],
99
98
  2
100
99
  /* CLASS */
101
100
  )) : t("v-if", !0),
102
- e.$slots.default ? (n(), u(
101
+ o.$slots.default ? (n(), u(
103
102
  "span",
104
103
  {
105
104
  key: 2,
106
- class: s([{ "maz-invisible": i.value }, e.contentClass])
105
+ class: s([{ "maz-invisible": i.value }, o.contentClass])
107
106
  },
108
107
  [
109
108
  t(`
110
109
  @slot default - The content of the button
111
110
  `),
112
- d(e.$slots, "default", {}, void 0, !0)
111
+ d(o.$slots, "default", {}, void 0, !0)
113
112
  ],
114
113
  2
115
114
  /* CLASS */
@@ -124,11 +123,11 @@ const P = /* @__PURE__ */ E({
124
123
  t(`
125
124
  @slot right-icon - The icon to display on the right of the button
126
125
  `),
127
- d(e.$slots, "right-icon", {}, () => [
128
- typeof e.rightIcon == "string" ? (n(), a(c(f), {
126
+ d(o.$slots, "right-icon", {}, () => [
127
+ typeof o.rightIcon == "string" ? (n(), a(c(f), {
129
128
  key: 0,
130
- name: e.rightIcon
131
- }, null, 8, ["name"])) : e.rightIcon ? (n(), a(r(e.rightIcon), { key: 1 })) : t("v-if", !0)
129
+ name: o.rightIcon
130
+ }, null, 8, ["name"])) : o.rightIcon ? (n(), a(r(o.rightIcon), { key: 1 })) : t("v-if", !0)
132
131
  ], !0)
133
132
  ],
134
133
  2
@@ -138,14 +137,14 @@ const P = /* @__PURE__ */ E({
138
137
  key: 4,
139
138
  class: "m-btn-loader",
140
139
  size: "2em",
141
- color: e.color
140
+ color: o.color
142
141
  }, null, 8, ["color"])) : t("v-if", !0)
143
142
  ]),
144
143
  _: 3
145
144
  /* FORWARDED */
146
145
  }, 8, ["disabled", "class", "type"]));
147
146
  }
148
- }), V = /* @__PURE__ */ L(P, [["__scopeId", "data-v-4d87e490"]]);
147
+ }), V = /* @__PURE__ */ L(P, [["__scopeId", "data-v-48f14785"]]);
149
148
  export {
150
149
  V as default
151
150
  };
@@ -1,6 +1,5 @@
1
- import '../assets/MazBtn.css';
2
- import { defineComponent as E, defineAsyncComponent as B, useAttrs as R, useSlots as w, onBeforeMount as A, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as d, normalizeClass as r, withCtx as D, createElementBlock as c, createCommentVNode as t, renderSlot as f, unref as v } from "vue";
3
- const L = /* @__PURE__ */ E({
1
+ import { defineComponent as E, defineAsyncComponent as z, useAttrs as R, useSlots as w, onBeforeMount as A, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as c, normalizeClass as r, withCtx as D, createElementBlock as f, createCommentVNode as t, renderSlot as v, unref as p } from "vue";
2
+ import '../assets/MazBtn.css';const L = /* @__PURE__ */ E({
4
3
  __name: "MazBtn",
5
4
  props: {
6
5
  variant: { default: "button" },
@@ -25,17 +24,17 @@ const L = /* @__PURE__ */ E({
25
24
  contentClass: { default: void 0 }
26
25
  },
27
26
  setup(u) {
28
- const p = B(() => import("./MazSpinner-B_WP-2kr.mjs")), i = B(() => import("./MazIcon-Cxrv3_OK.mjs")), { href: b, to: m } = R(), y = w(), e = u;
27
+ const e = u, d = z(() => import("./MazSpinner-DHQH6Bhz.mjs")), i = z(() => import("./MazIcon-BDGxCy9M.mjs")), { href: b, to: B } = R(), m = w();
29
28
  A(() => {
30
29
  e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
31
30
  });
32
- const h = l(() => b ? "a" : m ? "router-link" : "button"), I = l(
31
+ const y = l(() => b ? "a" : B ? "router-link" : "button"), I = l(
33
32
  () => e.pastel ? `--${e.color}-pastel` : e.outline ? `--${e.color}-outline` : `--${e.color}`
34
- ), g = l(
35
- () => (e.loading || e.disabled) && h.value === "button"
36
- ), C = l(() => g.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), s = l(() => e.loading && e.variant === "button"), k = l(() => !!y["left-icon"] || e.leftIcon), z = l(() => !!y["right-icon"] || e.rightIcon), M = l(() => k.value || z.value), S = l(() => e.fab && (e.icon || !!y.icon)), T = l(() => h.value === "button" ? e.type : void 0);
37
- return (o, U) => (n(), a(d(h.value), {
38
- disabled: g.value || void 0,
33
+ ), h = l(
34
+ () => (e.loading || e.disabled) && y.value === "button"
35
+ ), C = l(() => h.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), s = l(() => e.loading && e.variant === "button"), g = l(() => !!m["left-icon"] || e.leftIcon), k = l(() => !!m["right-icon"] || e.rightIcon), M = l(() => g.value || k.value), S = l(() => e.fab && (e.icon || !!m.icon)), T = l(() => y.value === "button" ? e.type : void 0);
36
+ return (o, U) => (n(), a(c(y.value), {
37
+ disabled: h.value || void 0,
39
38
  class: r(["m-btn", [
40
39
  `--${o.size}`,
41
40
  !o.fab && o.roundedSize && `--rounded-${o.roundedSize}`,
@@ -47,7 +46,7 @@ const L = /* @__PURE__ */ E({
47
46
  "--no-underline": o.noUnderline,
48
47
  "--fab": o.fab,
49
48
  "--loading": o.loading,
50
- "--disabled": g.value,
49
+ "--disabled": h.value,
51
50
  "--icon": M.value,
52
51
  "--rounded": o.rounded,
53
52
  "--no-rounded": o.noRounded,
@@ -58,7 +57,7 @@ const L = /* @__PURE__ */ E({
58
57
  type: T.value
59
58
  }, {
60
59
  default: D(() => [
61
- k.value ? (n(), c(
60
+ g.value ? (n(), f(
62
61
  "div",
63
62
  {
64
63
  key: 0,
@@ -68,17 +67,17 @@ const L = /* @__PURE__ */ E({
68
67
  t(`
69
68
  @slot left-icon - The icon to display on the left of the button
70
69
  `),
71
- f(o.$slots, "left-icon", {}, () => [
72
- typeof o.leftIcon == "string" ? (n(), a(v(i), {
70
+ v(o.$slots, "left-icon", {}, () => [
71
+ typeof o.leftIcon == "string" ? (n(), a(p(i), {
73
72
  key: 0,
74
73
  name: o.leftIcon
75
- }, null, 8, ["name"])) : o.leftIcon ? (n(), a(d(o.leftIcon), { key: 1 })) : t("v-if", !0)
74
+ }, null, 8, ["name"])) : o.leftIcon ? (n(), a(c(o.leftIcon), { key: 1 })) : t("v-if", !0)
76
75
  ], !0)
77
76
  ],
78
77
  2
79
78
  /* CLASS */
80
79
  )) : t("v-if", !0),
81
- S.value ? (n(), c(
80
+ S.value ? (n(), f(
82
81
  "div",
83
82
  {
84
83
  key: 1,
@@ -88,17 +87,17 @@ const L = /* @__PURE__ */ E({
88
87
  t(`
89
88
  @slot icon - The icon to display on the fab button
90
89
  `),
91
- f(o.$slots, "icon", {}, () => [
92
- typeof o.icon == "string" ? (n(), a(v(i), {
90
+ v(o.$slots, "icon", {}, () => [
91
+ typeof o.icon == "string" ? (n(), a(p(i), {
93
92
  key: 0,
94
93
  name: o.icon
95
- }, null, 8, ["name"])) : o.icon ? (n(), a(d(o.icon), { key: 1 })) : t("v-if", !0)
94
+ }, null, 8, ["name"])) : o.icon ? (n(), a(c(o.icon), { key: 1 })) : t("v-if", !0)
96
95
  ], !0)
97
96
  ],
98
97
  2
99
98
  /* CLASS */
100
99
  )) : t("v-if", !0),
101
- o.$slots.default ? (n(), c(
100
+ o.$slots.default ? (n(), f(
102
101
  "span",
103
102
  {
104
103
  key: 2,
@@ -108,12 +107,12 @@ const L = /* @__PURE__ */ E({
108
107
  t(`
109
108
  @slot default - The content of the button
110
109
  `),
111
- f(o.$slots, "default", {}, void 0, !0)
110
+ v(o.$slots, "default", {}, void 0, !0)
112
111
  ],
113
112
  2
114
113
  /* CLASS */
115
114
  )) : t("v-if", !0),
116
- z.value ? (n(), c(
115
+ k.value ? (n(), f(
117
116
  "div",
118
117
  {
119
118
  key: 3,
@@ -123,17 +122,17 @@ const L = /* @__PURE__ */ E({
123
122
  t(`
124
123
  @slot right-icon - The icon to display on the right of the button
125
124
  `),
126
- f(o.$slots, "right-icon", {}, () => [
127
- typeof o.rightIcon == "string" ? (n(), a(v(i), {
125
+ v(o.$slots, "right-icon", {}, () => [
126
+ typeof o.rightIcon == "string" ? (n(), a(p(i), {
128
127
  key: 0,
129
128
  name: o.rightIcon
130
- }, null, 8, ["name"])) : o.rightIcon ? (n(), a(d(o.rightIcon), { key: 1 })) : t("v-if", !0)
129
+ }, null, 8, ["name"])) : o.rightIcon ? (n(), a(c(o.rightIcon), { key: 1 })) : t("v-if", !0)
131
130
  ], !0)
132
131
  ],
133
132
  2
134
133
  /* CLASS */
135
134
  )) : t("v-if", !0),
136
- s.value ? (n(), a(v(p), {
135
+ s.value ? (n(), a(p(d), {
137
136
  key: 4,
138
137
  class: "m-btn-loader",
139
138
  size: "2em",
@@ -144,12 +143,12 @@ const L = /* @__PURE__ */ E({
144
143
  /* FORWARDED */
145
144
  }, 8, ["disabled", "class", "type"]));
146
145
  }
147
- }), P = (u, p) => {
148
- const i = u.__vccOpts || u;
149
- for (const [b, m] of p)
150
- i[b] = m;
151
- return i;
152
- }, N = /* @__PURE__ */ P(L, [["__scopeId", "data-v-4d87e490"]]);
146
+ }), P = (u, e) => {
147
+ const d = u.__vccOpts || u;
148
+ for (const [i, b] of e)
149
+ d[i] = b;
150
+ return d;
151
+ }, N = /* @__PURE__ */ P(L, [["__scopeId", "data-v-48f14785"]]);
153
152
  export {
154
153
  N as M,
155
154
  P as _