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,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCarousel-CL0bMygd.mjs";
1
+ import { M as f } from "./chunks/MazCarousel-D5EmW7Sa.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
- import { type ChartType, type ChartData, type UpdateMode } from 'chart.js';
2
+ import { type ChartData, type ChartType, type UpdateMode } from 'chart.js';
3
3
  export type { ChartType, ChartData, UpdateMode };
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  /**
@@ -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?: HTMLAttributes['style'];
6
6
  class?: HTMLAttributes['class'];
7
7
  modelValue?: boolean | (string | number)[];
@@ -12,7 +12,7 @@ export type Props = {
12
12
  size?: Size;
13
13
  label?: string;
14
14
  disabled?: boolean;
15
- };
15
+ }
16
16
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
17
17
  style: undefined;
18
18
  class: undefined;
@@ -1,6 +1,5 @@
1
- import './assets/MazCheckbox.css';
2
1
  import { getCurrentInstance as _, computed as l, openBlock as p, createElementBlock as b, createElementVNode as u, defineComponent as w, useCssVars as C, unref as d, normalizeClass as h, normalizeStyle as I, mergeProps as S, createVNode as B, renderSlot as A, createTextVNode as N, toDisplayString as $ } from "vue";
3
- function M({
2
+ import './assets/MazCheckbox.css';function M({
4
3
  componentName: a,
5
4
  providedId: r
6
5
  }) {
@@ -54,10 +53,10 @@ const H = { render: q }, K = ["for", "aria-checked"], O = ["id", "checked", "dis
54
53
  ],
55
54
  setup(a, { emit: r }) {
56
55
  C((o) => ({
57
- "3eedcc0a": v.value,
58
- a3137f46: k.value,
59
- "03d4fcac": y.value,
60
- "5778d022": V.value
56
+ "30ad0e00": v.value,
57
+ "46bd1cbc": k.value,
58
+ "7c7c6907": y.value,
59
+ "47a52c6c": V.value
61
60
  }));
62
61
  const e = a, n = r, c = M({
63
62
  componentName: "MazCheckbox",
@@ -70,14 +69,14 @@ const H = { render: q }, K = ["for", "aria-checked"], O = ["id", "checked", "dis
70
69
  return "2.25rem";
71
70
  case "lg":
72
71
  return "2rem";
73
- default:
74
- return "1.625rem";
75
72
  case "sm":
76
73
  return "1.425rem";
77
74
  case "xs":
78
75
  return "1.325rem";
79
76
  case "mini":
80
77
  return "1.2rem";
78
+ default:
79
+ return "1.625rem";
81
80
  }
82
81
  }), x = l(() => {
83
82
  switch (e.size) {
@@ -85,14 +84,14 @@ const H = { render: q }, K = ["for", "aria-checked"], O = ["id", "checked", "dis
85
84
  return "maz-text-2xl";
86
85
  case "lg":
87
86
  return "maz-text-xl";
88
- default:
89
- return "maz-text-lg";
90
87
  case "sm":
91
88
  return "maz-text-base";
92
89
  case "xs":
93
90
  return "maz-text-sm";
94
91
  case "mini":
95
92
  return "maz-text-xs";
93
+ default:
94
+ return "maz-text-lg";
96
95
  }
97
96
  }), v = l(() => `var(--maz-color-${e.color}-contrast)`), y = l(() => `var(--maz-color-${e.color})`), V = l(
98
97
  () => ["black", "transparent"].includes(e.color) ? "var(--maz-color-muted)" : `var(--maz-color-${e.color}-alpha)`
@@ -148,7 +147,7 @@ const H = { render: q }, K = ["for", "aria-checked"], O = ["id", "checked", "dis
148
147
  for (const [n, c] of r)
149
148
  e[n] = c;
150
149
  return e;
151
- }, F = /* @__PURE__ */ T(P, [["__scopeId", "data-v-06d3ee3a"]]);
150
+ }, F = /* @__PURE__ */ T(P, [["__scopeId", "data-v-85c875a9"]]);
152
151
  export {
153
152
  F as default
154
153
  };
@@ -1,4 +1,4 @@
1
- import { type Color } from './types';
1
+ import type { Color } from './types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
3
  /**
4
4
  * The percentage value of the progress bar
@@ -1,9 +1,15 @@
1
- import './assets/MazCircularProgressBar.css';
2
- import { defineComponent as _, useCssVars as $, useSlots as y, computed as r, ref as S, watch as B, openBlock as p, createElementBlock as v, normalizeClass as P, createElementVNode as n, renderSlot as l, createTextVNode as u, toDisplayString as i, createCommentVNode as m, getCurrentInstance as b, normalizeStyle as A, unref as g, createBlock as M, createSlots as I, withCtx as k } from "vue";
3
- const N = { class: "maz-sr-only" }, V = {
1
+ import { getCurrentInstance as S, computed as r, defineComponent as _, useCssVars as $, useSlots as y, ref as b, watch as B, openBlock as p, createElementBlock as v, normalizeClass as P, createElementVNode as n, renderSlot as l, createTextVNode as u, toDisplayString as i, createCommentVNode as m, normalizeStyle as A, unref as g, createBlock as M, createSlots as I, withCtx as k } from "vue";
2
+ import './assets/MazCircularProgressBar.css';function N({
3
+ componentName: a,
4
+ providedId: e
5
+ }) {
6
+ const s = S();
7
+ return r(() => e ?? `${a}-${s == null ? void 0 : s.uid}`);
8
+ }
9
+ const V = { class: "maz-sr-only" }, D = {
4
10
  key: 0,
5
11
  class: "m-animated-counter__fix"
6
- }, D = /* @__PURE__ */ _({
12
+ }, E = /* @__PURE__ */ _({
7
13
  __name: "MazAnimatedCounter",
8
14
  props: {
9
15
  count: {},
@@ -13,10 +19,10 @@ const N = { class: "maz-sr-only" }, V = {
13
19
  },
14
20
  setup(a) {
15
21
  $((t) => ({
16
- "0b7109b2": h.value,
17
- e965ff72: t.count
22
+ "7cf84c3b": h.value,
23
+ a2b7049a: t.count
18
24
  }));
19
- const e = a, s = y(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c = S(!0);
25
+ const e = a, s = y(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c = b(!0);
20
26
  B(
21
27
  () => e.count,
22
28
  (t, x) => {
@@ -36,7 +42,7 @@ const N = { class: "maz-sr-only" }, V = {
36
42
  }])
37
43
  },
38
44
  [
39
- n("span", N, [
45
+ n("span", V, [
40
46
  l(t.$slots, "prefix", {}, () => [
41
47
  u(
42
48
  i(t.prefix),
@@ -57,7 +63,7 @@ const N = { class: "maz-sr-only" }, V = {
57
63
  )
58
64
  ], !0)
59
65
  ]),
60
- f.value || d.value ? (p(), v("span", V, [
66
+ f.value || d.value ? (p(), v("span", D, [
61
67
  m(' @slot Prefix slot - Add a prefix next to the number (e.g: "$") '),
62
68
  l(t.$slots, "prefix", {}, () => [
63
69
  u(
@@ -85,15 +91,7 @@ const N = { class: "maz-sr-only" }, V = {
85
91
  for (const [f, d] of e)
86
92
  s[f] = d;
87
93
  return s;
88
- }, E = /* @__PURE__ */ z(D, [["__scopeId", "data-v-ca68c5dd"]]);
89
- function L({
90
- componentName: a,
91
- providedId: e
92
- }) {
93
- const s = b();
94
- return r(() => e ?? `${a}-${s == null ? void 0 : s.uid}`);
95
- }
96
- const T = { class: "outer" }, W = { class: "inner" }, j = { key: 0 }, q = {
94
+ }, L = /* @__PURE__ */ z(E, [["__scopeId", "data-v-95ad1bb8"]]), T = { class: "outer" }, W = { class: "inner" }, j = { key: 0 }, q = {
97
95
  xmlns: "http://www.w3.org/2000/svg",
98
96
  height: "1em",
99
97
  width: "1em",
@@ -114,10 +112,10 @@ const T = { class: "outer" }, W = { class: "inner" }, j = { key: 0 }, q = {
114
112
  },
115
113
  setup(a) {
116
114
  $((o) => ({
117
- 72728559: C.value,
118
- "1cd555a4": w.value
115
+ "0bf2c547": C.value,
116
+ "7e590576": w.value
119
117
  }));
120
- const e = a, s = y(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c = L({
118
+ const e = a, s = y(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c = N({
121
119
  componentName: "MazCircularProgressBar"
122
120
  }), h = r(() => e.percentage > 100 ? 100 : e.percentage <= 0 ? 0.5 : e.percentage), t = r(
123
121
  () => e.autoColor ? x(e.percentage) : e.color
@@ -142,7 +140,7 @@ const T = { class: "outer" }, W = { class: "inner" }, j = { key: 0 }, q = {
142
140
  g(s).default ? (p(), v("span", j, [
143
141
  m(" @slot Default slot - Replace the percaentage value "),
144
142
  l(o.$slots, "default", {}, void 0, !0)
145
- ])) : (p(), M(E, {
143
+ ])) : (p(), M(L, {
146
144
  key: 1,
147
145
  count: o.percentage,
148
146
  duration: o.duration
@@ -217,7 +215,7 @@ const T = { class: "outer" }, W = { class: "inner" }, j = { key: 0 }, q = {
217
215
  /* STYLE */
218
216
  ));
219
217
  }
220
- }), K = /* @__PURE__ */ z(F, [["__scopeId", "data-v-fd58f273"]]);
218
+ }), K = /* @__PURE__ */ z(F, [["__scopeId", "data-v-3ac6dd71"]]);
221
219
  export {
222
220
  K as default
223
221
  };
@@ -1,5 +1,5 @@
1
1
  import { type Props as MazBackdropProps } from './MazBackdrop.vue';
2
- export type Props = {
2
+ export interface Props {
3
3
  /** @model Modal's model value */
4
4
  modelValue?: boolean;
5
5
  /** Title of the modal in header */
@@ -16,7 +16,7 @@ export type Props = {
16
16
  scrollable?: boolean;
17
17
  /** Persistent dialog (not closable by clicking outside and remove close button) */
18
18
  persistent?: boolean;
19
- };
19
+ }
20
20
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props & MazBackdropProps>, {
21
21
  title: undefined;
22
22
  noClose: boolean;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazDialog-BckFta4N.mjs";
1
+ import { M as f } from "./chunks/MazDialog-CLWKCphI.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,11 +1,11 @@
1
- import { type Color, type Size } from './../types';
1
+ import type { Color, Size } from './../types';
2
2
  export interface DialogState {
3
3
  id: string;
4
4
  isActive: boolean;
5
5
  resolve: (value: unknown) => void;
6
6
  reject?: (reason?: unknown) => void;
7
7
  }
8
- export type DialogButton = {
8
+ export interface DialogButton {
9
9
  text?: string;
10
10
  block?: boolean;
11
11
  color?: Color;
@@ -14,13 +14,13 @@ export type DialogButton = {
14
14
  outline?: boolean;
15
15
  rounded?: boolean;
16
16
  size?: Size;
17
- };
17
+ }
18
18
  export type DialogCustomButton = DialogButton & {
19
19
  text: string;
20
20
  type: 'resolve' | 'reject';
21
21
  response?: unknown;
22
22
  };
23
- export type DialogData = {
23
+ export interface DialogData {
24
24
  /**
25
25
  * Dialog title
26
26
  */
@@ -51,7 +51,7 @@ export type DialogData = {
51
51
  * Dialog custom buttons
52
52
  */
53
53
  buttons?: DialogCustomButton[];
54
- };
54
+ }
55
55
  export declare const defaultData: {
56
56
  cancelText: string;
57
57
  confirmText: string;
@@ -65,7 +65,14 @@ export declare const defaultData: {
65
65
  color: "success";
66
66
  };
67
67
  };
68
- export declare const useMazDialogPromise: () => {
68
+ declare function showDialogAndWaitChoice(identifier: string, callback?: () => unknown): Promise<unknown>;
69
+ declare function removeDialogFromState(identifier: string): {
70
+ id: string;
71
+ isActive: boolean;
72
+ resolve: (value: unknown) => void;
73
+ reject?: ((reason?: unknown) => void) | undefined;
74
+ }[];
75
+ export declare function useMazDialogPromise(): {
69
76
  data: import("vue").Ref<{
70
77
  title?: string | undefined;
71
78
  message?: string | undefined;
@@ -100,7 +107,7 @@ export declare const useMazDialogPromise: () => {
100
107
  outline?: boolean | undefined;
101
108
  rounded?: boolean | undefined;
102
109
  size?: Size | undefined;
103
- type: 'resolve' | 'reject';
110
+ type: "resolve" | "reject";
104
111
  response?: unknown;
105
112
  }[] | undefined;
106
113
  }>;
@@ -110,13 +117,9 @@ export declare const useMazDialogPromise: () => {
110
117
  resolve: (value: unknown) => void;
111
118
  reject?: ((reason?: unknown) => void) | undefined;
112
119
  }[]>;
113
- showDialogAndWaitChoice: (identifier: string, callback?: () => unknown) => Promise<unknown>;
114
- removeDialogFromState: (identifier: string) => {
115
- id: string;
116
- isActive: boolean;
117
- resolve: (value: unknown) => void;
118
- reject?: ((reason?: unknown) => void) | undefined;
119
- }[];
120
+ showDialogAndWaitChoice: typeof showDialogAndWaitChoice;
121
+ removeDialogFromState: typeof removeDialogFromState;
120
122
  rejectDialog: (currentDialog: DialogState, response?: unknown) => void;
121
123
  resolveDialog: (currentDialog: DialogState, response?: unknown) => void;
122
124
  };
125
+ export {};
@@ -1,4 +1,4 @@
1
- import { a as o, u as s } from "./chunks/MazDialogPromise-Bb6h4hFz.mjs";
1
+ import { a as o, u as s } from "./chunks/MazDialogPromise-DVOJwdVp.mjs";
2
2
  export {
3
3
  o as default,
4
4
  s as useMazDialogPromise
@@ -1,4 +1,4 @@
1
- export type Props = {
1
+ export interface Props {
2
2
  /** The title of the drawer */
3
3
  title?: string;
4
4
  /** The variant of the drawer */
@@ -9,7 +9,7 @@ export type Props = {
9
9
  backdropClass?: string;
10
10
  /** Disable the close button */
11
11
  noClose?: boolean;
12
- };
12
+ }
13
13
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
14
14
  title: undefined;
15
15
  variant: string;
@@ -1,6 +1,5 @@
1
- import './assets/MazDrawer.css';
2
- import { defineComponent as h, ref as S, onMounted as g, watch as N, openBlock as d, createBlock as D, Teleport as T, createVNode as v, Transition as O, withCtx as k, createElementBlock as L, normalizeClass as i, createElementVNode as s, withModifiers as P, mergeProps as K, renderSlot as b, createCommentVNode as M, defineAsyncComponent as z, normalizeStyle as F, createTextVNode as q, toDisplayString as I, unref as A } from "vue";
3
- const V = "--backdrop-present", U = /* @__PURE__ */ h({
1
+ import { defineComponent as V, ref as S, onMounted as g, watch as N, openBlock as r, createBlock as h, Teleport as T, createVNode as f, Transition as O, withCtx as v, createElementBlock as D, normalizeClass as d, createElementVNode as a, withModifiers as P, mergeProps as K, renderSlot as k, createCommentVNode as L, defineAsyncComponent as B, normalizeStyle as F, createTextVNode as q, toDisplayString as I, unref as z } from "vue";
2
+ import './assets/MazDrawer.css';const A = "--backdrop-present", U = /* @__PURE__ */ V({
4
3
  inheritAttrs: !1,
5
4
  __name: "MazBackdrop",
6
5
  props: {
@@ -14,81 +13,84 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
14
13
  backdropContentClass: { default: void 0 }
15
14
  },
16
15
  emits: ["open", "close", "update:model-value", "before-close"],
17
- setup(C, { expose: c, emit: m }) {
18
- const e = () => {
19
- document.documentElement.classList.add(V);
20
- }, n = async () => {
21
- document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(V);
22
- }, t = m, a = C, l = S(a.modelValue);
23
- function r() {
24
- y(!1);
16
+ setup(b, { expose: i, emit: c }) {
17
+ const e = b, t = c;
18
+ function n() {
19
+ document.documentElement.classList.add(A);
25
20
  }
26
- async function y(o) {
27
- var f;
28
- o || (t("before-close"), await ((f = a.beforeClose) == null ? void 0 : f.call(a))), l.value = o;
21
+ async function M() {
22
+ document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(A);
29
23
  }
30
- function E() {
24
+ const s = S(e.modelValue);
25
+ function l() {
26
+ C(!1);
27
+ }
28
+ async function C(o) {
29
+ var p;
30
+ o || (t("before-close"), await ((p = e.beforeClose) == null ? void 0 : p.call(e))), s.value = o;
31
+ }
32
+ function y() {
31
33
  t("open");
32
34
  }
33
- function $() {
35
+ function E() {
34
36
  t("update:model-value", !1), t("close"), u();
35
37
  }
36
- function w() {
37
- a.persistent || r();
38
+ function $() {
39
+ e.persistent || l();
38
40
  }
39
- function p(o) {
40
- !a.noCloseOnEscKey && o.key === "Escape" && !a.persistent && r();
41
+ function m(o) {
42
+ !e.noCloseOnEscKey && o.key === "Escape" && !e.persistent && l();
41
43
  }
42
- function B() {
43
- e(), document.addEventListener("keyup", p, !1);
44
+ function w() {
45
+ n(), document.addEventListener("keyup", m, !1);
44
46
  }
45
47
  function u() {
46
- document.removeEventListener("keyup", p), n();
48
+ document.removeEventListener("keyup", m), M();
47
49
  }
48
50
  return g(() => {
49
- a.modelValue ? B() : u();
51
+ e.modelValue ? w() : u();
50
52
  }), N(
51
- () => a.modelValue,
53
+ () => e.modelValue,
52
54
  (o) => {
53
- l.value = o, o ? B() : u();
55
+ s.value = o, o ? w() : u();
54
56
  }
55
- ), c({
56
- onBackdropAnimationEnter: E,
57
- onBackdropAnimationLeave: $,
58
- onBackdropClicked: w,
59
- close: r,
60
- present: l,
61
- toggleModal: y,
62
- onKeyPress: p
63
- }), (o, f) => (d(), D(T, { to: o.teleportSelector }, [
64
- v(O, {
57
+ ), i({
58
+ onBackdropAnimationEnter: y,
59
+ onBackdropAnimationLeave: E,
60
+ onBackdropClicked: $,
61
+ close: l,
62
+ present: s,
63
+ toggleModal: C,
64
+ onKeyPress: m
65
+ }), (o, p) => (r(), h(T, { to: o.teleportSelector }, [
66
+ f(O, {
65
67
  appear: "",
66
68
  name: o.transitionName,
67
- onAfterEnter: E,
68
- onAfterLeave: $
69
+ onAfterEnter: y,
70
+ onAfterLeave: E
69
71
  }, {
70
- default: k(() => [
71
- l.value ? (d(), L(
72
+ default: v(() => [
73
+ s.value ? (r(), D(
72
74
  "div",
73
75
  {
74
76
  key: 0,
75
- class: i(["m-backdrop --present", [o.backdropClass]]),
77
+ class: d(["m-backdrop --present", [o.backdropClass]]),
76
78
  tabindex: "-1",
77
79
  role: "dialog"
78
80
  },
79
81
  [
80
- s(
82
+ a(
81
83
  "button",
82
84
  {
83
- class: i(["m-backdrop-overlay", { "--disabled": o.persistent }]),
85
+ class: d(["m-backdrop-overlay", { "--disabled": o.persistent }]),
84
86
  tabindex: "-1",
85
- onClick: P(w, ["self"])
87
+ onClick: P($, ["self"])
86
88
  },
87
89
  null,
88
90
  2
89
91
  /* CLASS */
90
92
  ),
91
- s(
93
+ a(
92
94
  "div",
93
95
  K({
94
96
  class: ["m-backdrop-content", o.backdropContentClass]
@@ -97,7 +99,7 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
97
99
  tabindex: "0"
98
100
  }),
99
101
  [
100
- b(o.$slots, "default", { close: r })
102
+ k(o.$slots, "default", { close: l })
101
103
  ],
102
104
  16
103
105
  /* FULL_PROPS */
@@ -105,7 +107,7 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
105
107
  ],
106
108
  2
107
109
  /* CLASS */
108
- )) : M("v-if", !0)
110
+ )) : L("v-if", !0)
109
111
  ]),
110
112
  _: 3
111
113
  /* FORWARDED */
@@ -115,7 +117,7 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
115
117
  }), X = { class: "m-drawer-header__title" }, j = {
116
118
  key: 0,
117
119
  class: "m-drawer-header__close"
118
- }, G = { class: "m-drawer-body" }, J = /* @__PURE__ */ h({
120
+ }, G = { class: "m-drawer-body" }, J = /* @__PURE__ */ V({
119
121
  __name: "MazDrawer",
120
122
  props: {
121
123
  title: { default: void 0 },
@@ -125,33 +127,33 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
125
127
  noClose: { type: Boolean, default: !1 }
126
128
  },
127
129
  emits: ["before-close", "open", "close", "update:model-value"],
128
- setup(C) {
129
- const c = z(() => import("./chunks/MazBtn-BydIwD1J.mjs").then((e) => e.M)), m = z(() => import("./chunks/x-mark-BP8zWe_C.mjs"));
130
- return (e, n) => (d(), D(U, {
130
+ setup(b) {
131
+ const i = B(() => import("./chunks/MazBtn-f1mBXJeU.mjs").then((e) => e.M)), c = B(() => import("./chunks/x-mark-BP8zWe_C.mjs"));
132
+ return (e, t) => (r(), h(U, {
131
133
  "backdrop-class": ["m-drawer", `--${e.variant}`, e.backdropClass],
132
134
  style: F({
133
135
  "--maz-drawer-size": e.size
134
136
  }),
135
- onClose: n[0] || (n[0] = (t) => e.$emit("close")),
136
- onOpen: n[1] || (n[1] = (t) => e.$emit("open")),
137
- onBeforeClose: n[2] || (n[2] = (t) => e.$emit("before-close")),
138
- "onUpdate:modelValue": n[3] || (n[3] = (t) => e.$emit("update:model-value", t))
137
+ onClose: t[0] || (t[0] = (n) => e.$emit("close")),
138
+ onOpen: t[1] || (t[1] = (n) => e.$emit("open")),
139
+ onBeforeClose: t[2] || (t[2] = (n) => e.$emit("before-close")),
140
+ "onUpdate:modelValue": t[3] || (t[3] = (n) => e.$emit("update:model-value", n))
139
141
  }, {
140
- default: k(({ close: t }) => [
141
- s(
142
+ default: v(({ close: n }) => [
143
+ a(
142
144
  "div",
143
145
  {
144
- class: i(["m-drawer-content-wrap", [`--${e.variant}`]])
146
+ class: d(["m-drawer-content-wrap", [`--${e.variant}`]])
145
147
  },
146
148
  [
147
- s(
149
+ a(
148
150
  "header",
149
151
  {
150
- class: i(["m-drawer-header", [e.$slots.title || e.title ? "--between" : "--end"]])
152
+ class: d(["m-drawer-header", [e.$slots.title || e.title ? "--between" : "--end"]])
151
153
  },
152
154
  [
153
- s("h4", X, [
154
- b(e.$slots, "title", { close: t }, () => [
155
+ a("h4", X, [
156
+ k(e.$slots, "title", { close: n }, () => [
155
157
  q(
156
158
  I(e.title),
157
159
  1
@@ -159,14 +161,14 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
159
161
  )
160
162
  ])
161
163
  ]),
162
- e.noClose ? M("v-if", !0) : (d(), L("div", j, [
163
- v(A(c), {
164
+ e.noClose ? L("v-if", !0) : (r(), D("div", j, [
165
+ f(z(i), {
164
166
  size: "sm",
165
167
  color: "transparent",
166
- onClick: t
168
+ onClick: n
167
169
  }, {
168
- default: k(() => [
169
- v(A(m), { class: "icon maz-text-lg" })
170
+ default: v(() => [
171
+ f(z(c), { class: "icon maz-text-lg" })
170
172
  ]),
171
173
  _: 2
172
174
  /* DYNAMIC */
@@ -176,8 +178,8 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
176
178
  2
177
179
  /* CLASS */
178
180
  ),
179
- s("div", G, [
180
- b(e.$slots, "default", { close: t })
181
+ a("div", G, [
182
+ k(e.$slots, "default", { close: n })
181
183
  ])
182
184
  ],
183
185
  2
@@ -1,7 +1,7 @@
1
1
  import { type HTMLAttributes } from 'vue';
2
- import { type RouteLocationRaw } from 'vue-router';
3
- import { type Position } from './types';
4
- import { type Color } from './MazBtn.vue';
2
+ import type { RouteLocationRaw } from 'vue-router';
3
+ import type { Position } from './types';
4
+ import type { Color } from './MazBtn.vue';
5
5
  export type { Color, Position };
6
6
  export type MenuItem = {
7
7
  label: string;
@@ -11,7 +11,7 @@ export type MenuItem = {
11
11
  to?: RouteLocationRaw;
12
12
  class?: unknown;
13
13
  } & Record<string, unknown>;
14
- export type Props = {
14
+ export interface Props {
15
15
  style?: HTMLAttributes['style'];
16
16
  class?: HTMLAttributes['class'];
17
17
  /** Menu items */
@@ -20,7 +20,8 @@ export type Props = {
20
20
  open?: boolean;
21
21
  /** id of the menu */
22
22
  id?: string;
23
- /** Should open the dropdown on click, hover or both
23
+ /**
24
+ * Should open the dropdown on click, hover or both
24
25
  * @default 'both'
25
26
  */
26
27
  trigger?: 'click' | 'hover' | 'both';
@@ -45,7 +46,7 @@ export type Props = {
45
46
  * @default 'Open menu dropdown'
46
47
  */
47
48
  screenReaderDescription?: string;
48
- };
49
+ }
49
50
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
50
51
  class: undefined;
51
52
  style: undefined;