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,59 +1,61 @@
1
- import './assets/MazDropdown.css';
2
- import { getCurrentInstance as Y, computed as Z, nextTick as x, defineComponent as ee, defineAsyncComponent as A, ref as I, watch as L, resolveComponent as oe, withDirectives as T, openBlock as b, createElementBlock as w, unref as d, normalizeClass as y, normalizeStyle as ne, createElementVNode as D, withModifiers as E, renderSlot as f, createTextVNode as $, toDisplayString as M, createCommentVNode as k, createVNode as U, mergeProps as te, withCtx as B, createBlock as N, Transition as le, Fragment as S, renderList as se, vShow as re } from "vue";
3
- function ae({
4
- componentName: n,
5
- providedId: t
1
+ import { getCurrentInstance as Y, computed as Z, nextTick as x, defineComponent as ee, defineAsyncComponent as A, ref as I, watch as L, resolveComponent as oe, withDirectives as T, openBlock as v, createElementBlock as h, unref as u, normalizeClass as k, normalizeStyle as ne, createElementVNode as C, withModifiers as D, renderSlot as p, createTextVNode as E, toDisplayString as $, createCommentVNode as b, createVNode as U, mergeProps as te, withCtx as B, createBlock as N, Transition as le, Fragment as S, renderList as se, vShow as re } from "vue";
2
+ import './assets/MazDropdown.css';function ae({
3
+ componentName: t,
4
+ providedId: l
6
5
  }) {
7
- const a = Y();
8
- return Z(() => t ?? `${n}-${a == null ? void 0 : a.uid}`);
6
+ const n = Y();
7
+ return Z(() => l ?? `${t}-${n == null ? void 0 : n.uid}`);
9
8
  }
10
- function ie(n, t) {
11
- let a;
12
- return function(...m) {
13
- clearTimeout(a), a = setTimeout(() => {
14
- n.apply(this, m);
15
- }, t);
9
+ function ie(t, l) {
10
+ let n;
11
+ return function(...c) {
12
+ clearTimeout(n), n = setTimeout(() => {
13
+ t.apply(this, c);
14
+ }, l);
16
15
  };
17
16
  }
18
- const z = "__maz-click-outside__", F = () => document.ontouchstart === null ? "touchstart" : "click";
19
- async function V(n, t) {
17
+ const M = "__maz-click-outside__";
18
+ function F() {
19
+ return document.ontouchstart === null ? "touchstart" : "click";
20
+ }
21
+ async function V(t, l) {
20
22
  try {
21
- R(n);
22
- const a = t.instance, m = t.value, s = typeof m == "function";
23
- if (!s)
23
+ R(t);
24
+ const n = l.instance, c = l.value, w = typeof c == "function";
25
+ if (!w)
24
26
  throw new Error("[maz-ui](vClickOutside) the callback should be a function");
25
- await x(), n[z] = (p) => {
26
- if ((!n || p.target && !n.contains(p.target)) && m && s)
27
- return m.call(a, p);
27
+ await x(), t[M] = (f) => {
28
+ if ((!t || f.target && !t.contains(f.target)) && c && w)
29
+ return c.call(n, f);
28
30
  };
29
- const g = F();
30
- document.addEventListener(g, n[z], { passive: !0 });
31
- } catch (a) {
32
- console.error("[maz-ui](vClickOutside)", a);
31
+ const z = F();
32
+ document.addEventListener(z, t[M], { passive: !0 });
33
+ } catch (n) {
34
+ console.error("[maz-ui](vClickOutside)", n);
33
35
  }
34
36
  }
35
- function R(n) {
37
+ function R(t) {
36
38
  try {
37
- const t = F();
38
- document.removeEventListener(t, n[z], !1), delete n[z];
39
- } catch (t) {
40
- console.error("[maz-ui](vClickOutside)", t);
39
+ const l = F();
40
+ document.removeEventListener(l, t[M], !1), delete t[M];
41
+ } catch (l) {
42
+ console.error("[maz-ui](vClickOutside)", l);
41
43
  }
42
44
  }
43
- function ue(n, t) {
45
+ function ue(t, l) {
44
46
  try {
45
- if (t.value === t.oldValue)
47
+ if (l.value === l.oldValue)
46
48
  return;
47
- V(n, t);
48
- } catch (a) {
49
- console.error("[maz-ui](vClickOutside)", a);
49
+ V(t, l);
50
+ } catch (n) {
51
+ console.error("[maz-ui](vClickOutside)", n);
50
52
  }
51
53
  }
52
54
  const de = {
53
55
  mounted: V,
54
56
  updated: ue,
55
57
  unmounted: R
56
- }, ce = ["id"], pe = ["aria-expanded"], fe = ["id"], me = { class: "button-span" }, ve = ["target", "href"], be = ["onClick"], ye = /* @__PURE__ */ ee({
58
+ }, ce = ["id"], fe = ["aria-expanded"], pe = ["id"], me = { class: "button-span" }, ve = ["target", "href"], be = ["onClick"], ye = /* @__PURE__ */ ee({
57
59
  inheritAttrs: !1,
58
60
  __name: "MazDropdown",
59
61
  props: {
@@ -82,182 +84,182 @@ const de = {
82
84
  */
83
85
  "update:open"
84
86
  ],
85
- setup(n, { emit: t }) {
86
- const a = A(() => import("./chunks/MazBtn-BydIwD1J.mjs").then((e) => e.M)), m = A(() => import("./chunks/chevron-down-CzMH-gFW.mjs")), s = n, g = t, p = ae({
87
+ setup(t, { emit: l }) {
88
+ const n = t, c = l, w = A(() => import("./chunks/MazBtn-f1mBXJeU.mjs").then((e) => e.M)), z = A(() => import("./chunks/chevron-down-CzMH-gFW.mjs")), f = ae({
87
89
  componentName: "MazDropdown",
88
- providedId: s.id
89
- }), i = I(s.open), r = I();
90
+ providedId: n.id
91
+ }), a = I(n.open), r = I(), m = ie((e) => {
92
+ i(e);
93
+ }, 200);
90
94
  function q() {
91
- i.value && u(!1);
95
+ a.value && i(!1);
92
96
  }
93
97
  function H() {
94
- u(!i.value);
98
+ i(!a.value);
95
99
  }
96
100
  function _() {
97
- ["click"].includes(s.trigger) && H();
101
+ ["click"].includes(n.trigger) && H();
98
102
  }
99
103
  function j() {
100
- ["hover", "both"].includes(s.trigger) && u(!0);
104
+ ["hover", "both"].includes(n.trigger) && i(!0);
101
105
  }
102
106
  function K() {
103
- ["hover", "both"].includes(s.trigger) && (i.value === !1 ? u(!0) : v(!0));
107
+ ["hover", "both"].includes(n.trigger) && (a.value === !1 ? i(!0) : m(!0));
104
108
  }
105
109
  function P() {
106
- ["hover", "both"].includes(s.trigger) && v(!1);
110
+ ["hover", "both"].includes(n.trigger) && m(!1);
107
111
  }
108
112
  function Q() {
109
- v(!1);
113
+ m(!1);
110
114
  }
111
- const u = (e) => {
112
- s.disabled || (i.value = e, g("update:open", e));
113
- }, v = ie((e) => {
114
- u(e);
115
- }, 200);
116
- async function G(e, l) {
117
- var c;
118
- g("menuitem-clicked", l), await ((c = e.action) == null ? void 0 : c.call(e)), s.noCloseOnClick || h();
115
+ function i(e) {
116
+ n.disabled || (a.value = e, c("update:open", e));
117
+ }
118
+ async function G(e, s) {
119
+ var d;
120
+ c("menuitem-clicked", s), await ((d = e.action) == null ? void 0 : d.call(e)), n.noCloseOnClick || y();
119
121
  }
120
- function h() {
121
- s.noCloseOnClick === !1 && u(!1);
122
+ function y() {
123
+ n.noCloseOnClick === !1 && i(!1);
122
124
  }
123
125
  function O(e) {
124
- e.key === "Escape" ? (e.preventDefault(), u(!1)) : ["ArrowDown", "ArrowUp"].includes(e.key) ? W(e) : e.key === "Enter" && typeof r.value == "number" && (e.preventDefault(), document.querySelectorAll(`#${p.value} .menuitem`)[r.value].click(), h());
126
+ e.key === "Escape" ? (e.preventDefault(), i(!1)) : ["ArrowDown", "ArrowUp"].includes(e.key) ? W(e) : e.key === "Enter" && typeof r.value == "number" && (e.preventDefault(), document.querySelectorAll(`#${f.value} .menuitem`)[r.value].click(), y());
125
127
  }
126
128
  function J(e) {
127
- ["ArrowDown", "ArrowUp", "Enter"].includes(e.key) && i.value === !1 && (e.preventDefault(), u(!0));
129
+ ["ArrowDown", "ArrowUp", "Enter"].includes(e.key) && a.value === !1 && (e.preventDefault(), i(!0));
128
130
  }
129
131
  function W(e) {
130
132
  var o;
131
133
  e.preventDefault();
132
- const l = e.key;
133
- i.value || u(!0);
134
- const c = (o = s.items) == null ? void 0 : o.length;
135
- c && (typeof r.value == "number" ? r.value === c - 1 && l === "ArrowDown" ? r.value = 0 : r.value === 0 && l === "ArrowUp" ? r.value = c - 1 : r.value = l === "ArrowDown" ? r.value + 1 : r.value - 1 : r.value = l === "ArrowDown" ? 0 : c - 1);
134
+ const s = e.key;
135
+ a.value || i(!0);
136
+ const d = (o = n.items) == null ? void 0 : o.length;
137
+ d && (typeof r.value == "number" ? r.value === d - 1 && s === "ArrowDown" ? r.value = 0 : r.value === 0 && s === "ArrowUp" ? r.value = d - 1 : r.value = s === "ArrowDown" ? r.value + 1 : r.value - 1 : r.value = s === "ArrowDown" ? 0 : d - 1);
136
138
  }
137
139
  return L(
138
- () => i.value,
140
+ () => a.value,
139
141
  (e) => {
140
142
  e ? document.addEventListener("keydown", O) : document.removeEventListener("keydown", O), r.value = void 0;
141
143
  }
142
144
  ), L(
143
- () => s.open,
144
- (e) => u(e)
145
- ), (e, l) => {
146
- const c = oe("RouterLink");
147
- return T((b(), w("div", {
148
- id: d(p),
149
- class: y(["m-dropdown", [s.class]]),
145
+ () => n.open,
146
+ (e) => i(e)
147
+ ), (e, s) => {
148
+ const d = oe("RouterLink");
149
+ return T((v(), h("div", {
150
+ id: u(f),
151
+ class: k(["m-dropdown", [n.class]]),
150
152
  style: ne(e.style)
151
153
  }, [
152
- D("div", {
154
+ C("div", {
153
155
  role: "button",
154
156
  tabindex: "0",
155
157
  class: "m-dropdown__wrapper",
156
- "aria-expanded": i.value,
158
+ "aria-expanded": a.value,
157
159
  "aria-haspopup": "menu",
158
- onClick: E(_, ["stop"]),
160
+ onClick: D(_, ["stop"]),
159
161
  onFocus: j,
160
162
  onBlur: Q,
161
163
  onKeydown: J,
162
164
  onMouseenter: K,
163
165
  onMouseleave: P
164
166
  }, [
165
- D("span", {
166
- id: `${d(p)}-labelspan`,
167
+ C("span", {
168
+ id: `${u(f)}-labelspan`,
167
169
  class: "maz-sr-only"
168
170
  }, [
169
- f(e.$slots, "screen-reader-description", {}, () => [
170
- $(
171
- M(e.screenReaderDescription),
171
+ p(e.$slots, "screen-reader-description", {}, () => [
172
+ E(
173
+ $(e.screenReaderDescription),
172
174
  1
173
175
  /* TEXT */
174
176
  )
175
177
  ])
176
- ], 8, fe),
177
- k(`
178
+ ], 8, pe),
179
+ b(`
178
180
  @slot Custom Element
179
181
  @binding {Boolen} is-open close function
180
182
  @default \`<MazBtn />\`
181
183
  `),
182
- f(e.$slots, "element", { isOpen: i.value }, () => [
183
- U(d(a), te({
184
+ p(e.$slots, "element", { isOpen: a.value }, () => [
185
+ U(u(w), te({
184
186
  color: e.color,
185
187
  disabled: e.disabled,
186
- "aria-labelledby": `${d(p)}-labelspan`
188
+ "aria-labelledby": `${u(f)}-labelspan`
187
189
  }, e.$attrs, { tabindex: "-1" }), {
188
190
  default: B(() => [
189
- D("span", me, [
190
- k(" @slot Button text "),
191
- f(e.$slots, "default"),
192
- e.noChevron ? k("v-if", !0) : (b(), N(d(m), {
191
+ C("span", me, [
192
+ b(" @slot Button text "),
193
+ p(e.$slots, "default"),
194
+ e.noChevron ? b("v-if", !0) : (v(), N(u(z), {
193
195
  key: 0,
194
- class: y([{ "maz-rotate-180": i.value }, "chevron-icon"])
196
+ class: k([{ "maz-rotate-180": a.value }, "chevron-icon"])
195
197
  }, null, 8, ["class"]))
196
198
  ]),
197
- k(" @slot Menu Label ")
199
+ b(" @slot Menu Label ")
198
200
  ]),
199
201
  _: 3
200
202
  /* FORWARDED */
201
203
  }, 16, ["color", "disabled", "aria-labelledby"])
202
204
  ])
203
- ], 40, pe),
205
+ ], 40, fe),
204
206
  U(le, {
205
207
  name: "maz-scale-fade",
206
208
  persisted: ""
207
209
  }, {
208
210
  default: B(() => [
209
- T(D(
211
+ T(C(
210
212
  "div",
211
213
  {
212
214
  role: "menu",
213
215
  "aria-label": "Menu",
214
- class: y(["menu", {
216
+ class: k(["menu", {
215
217
  "--top": e.position.includes("top"),
216
218
  "--left": e.position.includes("left"),
217
219
  "--right": e.position.includes("right"),
218
220
  "--bottom": e.position.includes("bottom")
219
221
  }]),
220
222
  tabindex: "-1",
221
- onFocus: l[0] || (l[0] = (o) => d(v)(!0)),
222
- onBlur: l[1] || (l[1] = (o) => d(v)(!1)),
223
- onMouseenter: l[2] || (l[2] = (o) => ["hover", "both"].includes(e.trigger) ? d(v)(!0) : void 0),
224
- onMouseleave: l[3] || (l[3] = (o) => ["hover", "both"].includes(e.trigger) ? d(v)(!1) : void 0)
223
+ onFocus: s[0] || (s[0] = (o) => u(m)(!0)),
224
+ onBlur: s[1] || (s[1] = (o) => u(m)(!1)),
225
+ onMouseenter: s[2] || (s[2] = (o) => ["hover", "both"].includes(e.trigger) ? u(m)(!0) : void 0),
226
+ onMouseleave: s[3] || (s[3] = (o) => ["hover", "both"].includes(e.trigger) ? u(m)(!1) : void 0)
225
227
  },
226
228
  [
227
- k(`
229
+ b(`
228
230
  @slot Custom dropdown panel
229
231
  @binding {Array} items - items prop data
230
232
  `),
231
- f(e.$slots, "dropdown", { items: e.items }, () => [
232
- (b(!0), w(
233
+ p(e.$slots, "dropdown", { items: e.items }, () => [
234
+ (v(!0), h(
233
235
  S,
234
236
  null,
235
- se(e.items, (o, C) => (b(), w(
237
+ se(e.items, (o, g) => (v(), h(
236
238
  S,
237
- { key: C },
239
+ { key: g },
238
240
  [
239
- k(`
241
+ b(`
240
242
  @slot Custom menu item
241
243
  @binding {Object} item - menu item
242
244
  `),
243
- f(e.$slots, "menuitem", { item: o }, () => [
244
- o.to ? (b(), N(c, {
245
+ p(e.$slots, "menuitem", { item: o }, () => [
246
+ o.to ? (v(), N(d, {
245
247
  key: 0,
246
248
  target: o.href ? o.target ?? "_self" : void 0,
247
249
  to: o.to,
248
- class: y(["menuitem", [
250
+ class: k(["menuitem", [
249
251
  {
250
- "--is-keyboard-selected": r.value === C
252
+ "--is-keyboard-selected": r.value === g
251
253
  },
252
254
  o.class
253
255
  ]]),
254
256
  tabindex: "-1",
255
- onClick: E(h, ["stop"])
257
+ onClick: D(y, ["stop"])
256
258
  }, {
257
259
  default: B(() => [
258
- f(e.$slots, "menuitem-label", { item: o }, () => [
259
- $(
260
- M(o.label),
260
+ p(e.$slots, "menuitem-label", { item: o }, () => [
261
+ E(
262
+ $(o.label),
261
263
  1
262
264
  /* TEXT */
263
265
  )
@@ -265,46 +267,46 @@ const de = {
265
267
  ]),
266
268
  _: 2
267
269
  /* DYNAMIC */
268
- }, 1032, ["target", "to", "class"])) : o.href ? (b(), w("a", {
270
+ }, 1032, ["target", "to", "class"])) : o.href ? (v(), h("a", {
269
271
  key: 1,
270
272
  target: o.href ? o.target ?? "_self" : void 0,
271
273
  href: o.href,
272
274
  tabindex: "-1",
273
- class: y(["menuitem", [
275
+ class: k(["menuitem", [
274
276
  {
275
- "--is-keyboard-selected": r.value === C
277
+ "--is-keyboard-selected": r.value === g
276
278
  },
277
279
  o.class
278
280
  ]]),
279
- onClick: E(h, ["stop"])
281
+ onClick: D(y, ["stop"])
280
282
  }, [
281
- f(e.$slots, "menuitem-label", { item: o }, () => [
282
- $(
283
- M(o.label),
283
+ p(e.$slots, "menuitem-label", { item: o }, () => [
284
+ E(
285
+ $(o.label),
284
286
  1
285
287
  /* TEXT */
286
288
  )
287
289
  ])
288
- ], 10, ve)) : o.action ? (b(), w("button", {
290
+ ], 10, ve)) : o.action ? (v(), h("button", {
289
291
  key: 2,
290
292
  tabindex: "-1",
291
293
  type: "button",
292
- class: y(["menuitem", [
294
+ class: k(["menuitem", [
293
295
  {
294
- "--is-keyboard-selected": r.value === C
296
+ "--is-keyboard-selected": r.value === g
295
297
  },
296
298
  o.class
297
299
  ]]),
298
- onClick: E((X) => o.action ? G(o, X) : h(), ["stop"])
300
+ onClick: D((X) => o.action ? G(o, X) : y(), ["stop"])
299
301
  }, [
300
- f(e.$slots, "menuitem-label", { item: o }, () => [
301
- $(
302
- M(o.label),
302
+ p(e.$slots, "menuitem-label", { item: o }, () => [
303
+ E(
304
+ $(o.label),
303
305
  1
304
306
  /* TEXT */
305
307
  )
306
308
  ])
307
- ], 10, be)) : k("v-if", !0)
309
+ ], 10, be)) : b("v-if", !0)
308
310
  ])
309
311
  ],
310
312
  64
@@ -318,14 +320,14 @@ const de = {
318
320
  34
319
321
  /* CLASS, NEED_HYDRATION */
320
322
  ), [
321
- [re, i.value]
323
+ [re, a.value]
322
324
  ])
323
325
  ]),
324
326
  _: 3
325
327
  /* FORWARDED */
326
328
  })
327
329
  ], 14, ce)), [
328
- [d(de), q]
330
+ [u(de), q]
329
331
  ]);
330
332
  };
331
333
  }
@@ -1,5 +1,5 @@
1
1
  import { type ComponentPublicInstance, type PropType } from 'vue';
2
- import { type DropzoneOptions, type DropzoneFile } from 'dropzone';
2
+ import type { DropzoneFile, DropzoneOptions } from 'dropzone';
3
3
  export interface MazDropzoneOptions extends DropzoneOptions {
4
4
  dictFilesDescriptions?: string;
5
5
  autoRemoveOnError?: boolean;
@@ -1,4 +1,4 @@
1
- import { M as a } from "./chunks/MazDropzone-C_8mRUbK.mjs";
1
+ import { M as a } from "./chunks/MazDropzone-Dm2IirHm.mjs";
2
2
  import "vue";
3
3
  export {
4
4
  a as default
@@ -1,4 +1,4 @@
1
- export type Props = {
1
+ export interface Props {
2
2
  /**
3
3
  * Duration of the animation in milliseconds
4
4
  * @default '300ms'
@@ -9,7 +9,7 @@ export type Props = {
9
9
  * @default 'ease-in-out'
10
10
  */
11
11
  timingFunction?: string;
12
- };
12
+ }
13
13
  declare let __VLS_typeProps: Props;
14
14
  type __VLS_PublicProps = {
15
15
  modelValue?: boolean;
@@ -1,8 +1,8 @@
1
- import './assets/MazExpandAnimation.css';
2
- import { defineComponent as u, mergeModels as m, useCssVars as f, useModel as c, ref as r, onMounted as v, onUnmounted as p, openBlock as _, createElementBlock as x, normalizeClass as l, createElementVNode as E, createCommentVNode as h, renderSlot as M } from "vue";
3
- const V = ["aria-hidden"], g = /* @__PURE__ */ u({
1
+ import { defineComponent as d, mergeModels as u, useCssVars as m, useModel as f, ref as l, onMounted as c, onUnmounted as v, openBlock as p, createElementBlock as _, normalizeClass as E, createElementVNode as x, mergeProps as h, createCommentVNode as g, renderSlot as M } from "vue";
2
+ import './assets/MazExpandAnimation.css';const V = ["aria-hidden"], A = /* @__PURE__ */ d({
3
+ inheritAttrs: !1,
4
4
  __name: "MazExpandAnimation",
5
- props: /* @__PURE__ */ m({
5
+ props: /* @__PURE__ */ u({
6
6
  duration: { default: "300ms" },
7
7
  timingFunction: { default: "ease-in-out" }
8
8
  }, {
@@ -11,52 +11,52 @@ const V = ["aria-hidden"], g = /* @__PURE__ */ u({
11
11
  }),
12
12
  emits: ["update:modelValue"],
13
13
  setup(i) {
14
- f((e) => ({
15
- "5d8624e7": e.duration,
16
- "484ea956": e.timingFunction
14
+ m((e) => ({
15
+ "3628b947": e.duration,
16
+ "239277b5": e.timingFunction
17
17
  }));
18
- const n = c(i, "modelValue"), a = r(!n.value), t = r();
18
+ const n = f(i, "modelValue"), a = l(!n.value), t = l();
19
19
  function s() {
20
20
  n.value || (a.value = !0);
21
21
  }
22
- function d() {
22
+ function r() {
23
23
  n.value && (a.value = !1);
24
24
  }
25
- return v(() => {
25
+ return c(() => {
26
26
  var e, o;
27
- (e = t.value) == null || e.addEventListener("transitionstart", s, !1), (o = t.value) == null || o.addEventListener("transitionend", d, !1);
28
- }), p(() => {
27
+ (e = t.value) == null || e.addEventListener("transitionstart", s, !1), (o = t.value) == null || o.addEventListener("transitionend", r, !1);
28
+ }), v(() => {
29
29
  var e, o;
30
- (e = t.value) == null || e.removeEventListener("transitionstart", s, !1), (o = t.value) == null || o.removeEventListener("transitionend", d, !1);
31
- }), (e, o) => (_(), x("div", {
30
+ (e = t.value) == null || e.removeEventListener("transitionstart", s, !1), (o = t.value) == null || o.removeEventListener("transitionend", r, !1);
31
+ }), (e, o) => (p(), _("div", {
32
32
  ref_key: "expandAnimationRef",
33
33
  ref: t,
34
- class: l(["m-expand-animation", { "m-expand-animation--expanded": n.value }]),
34
+ class: E(["m-expand-animation", { "m-expand-animation--expanded": n.value }]),
35
35
  "aria-hidden": !n.value,
36
36
  role: "region"
37
37
  }, [
38
- E(
38
+ x(
39
39
  "div",
40
- {
41
- class: l(["m-expand-animation__inner", {
40
+ h({ class: "m-expand-animation__inner" }, e.$attrs, {
41
+ class: {
42
42
  "--overflow-hidden": a.value
43
- }])
44
- },
43
+ }
44
+ }),
45
45
  [
46
- h(" @slot Default Slot - Display content "),
46
+ g(" @slot Default Slot - Display content "),
47
47
  M(e.$slots, "default", {}, void 0, !0)
48
48
  ],
49
- 2
50
- /* CLASS */
49
+ 16
50
+ /* FULL_PROPS */
51
51
  )
52
52
  ], 10, V));
53
53
  }
54
- }), k = (i, n) => {
54
+ }), b = (i, n) => {
55
55
  const a = i.__vccOpts || i;
56
56
  for (const [t, s] of n)
57
57
  a[t] = s;
58
58
  return a;
59
- }, A = /* @__PURE__ */ k(g, [["__scopeId", "data-v-7ecf7bef"]]);
59
+ }, y = /* @__PURE__ */ b(A, [["__scopeId", "data-v-b7ca6b97"]]);
60
60
  export {
61
- A as default
61
+ y as default
62
62
  };
@@ -1,10 +1,10 @@
1
1
  import type { Color } from './types';
2
- export type Props = {
2
+ export interface Props {
3
3
  /** The color of the spinner */
4
4
  color?: Color;
5
5
  /** The size of the spinner */
6
6
  size?: string;
7
- };
7
+ }
8
8
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
9
  color: string;
10
10
  size: string;
@@ -1,29 +1,30 @@
1
- import './assets/MazFullscreenLoader.css';
2
- import { defineComponent as r, defineAsyncComponent as l, onMounted as m, onUnmounted as c, openBlock as o, createElementBlock as n, createVNode as d, unref as u, renderSlot as i, createCommentVNode as p } from "vue";
3
- const z = { class: "maz-fixed maz-inset-0 maz-z-default-backdrop maz-flex maz-flex-col maz-gap-2 maz-bg-overlay maz-text-center maz-backdrop-blur maz-flex-center" }, f = { key: 0 }, y = /* @__PURE__ */ r({
1
+ import { defineComponent as s, defineAsyncComponent as l, onMounted as m, onUnmounted as c, openBlock as o, createElementBlock as n, createVNode as d, unref as u, renderSlot as i, createCommentVNode as f } from "vue";
2
+ import './assets/MazFullscreenLoader.css';const p = { class: "maz-fixed maz-inset-0 maz-z-default-backdrop maz-flex maz-flex-col maz-gap-2 maz-bg-overlay maz-text-center maz-backdrop-blur maz-flex-center" }, z = { key: 0 }, y = /* @__PURE__ */ s({
4
3
  __name: "MazFullscreenLoader",
5
4
  props: {
6
5
  color: { default: "primary" },
7
6
  size: { default: "3em" }
8
7
  },
9
8
  setup(_) {
10
- const t = l(() => import("./chunks/MazSpinner-CfA_KEZT.mjs")), a = () => {
9
+ const t = l(() => import("./chunks/MazSpinner-nH44Htog.mjs"));
10
+ function a() {
11
11
  document.documentElement.classList.add("--maz-fullscreen-loader-present");
12
- }, s = async () => {
12
+ }
13
+ async function r() {
13
14
  document.documentElement.classList.remove("--maz-fullscreen-loader-present");
14
- };
15
+ }
15
16
  return m(() => {
16
17
  a();
17
18
  }), c(() => {
18
- s();
19
- }), (e, k) => (o(), n("div", z, [
19
+ r();
20
+ }), (e, k) => (o(), n("div", p, [
20
21
  d(u(t), {
21
22
  color: e.color,
22
23
  size: e.size
23
24
  }, null, 8, ["color", "size"]),
24
- e.$slots.default ? (o(), n("span", f, [
25
+ e.$slots.default ? (o(), n("span", z, [
25
26
  i(e.$slots, "default")
26
- ])) : p("v-if", !0)
27
+ ])) : f("v-if", !0)
27
28
  ]));
28
29
  }
29
30
  });
@@ -4,7 +4,7 @@ export type { MazGalleryImage } from './types';
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  /**
6
6
  * Array of string or object: `['https://via.placeholder.com/500', 'https://via.placeholder.com/600']` or `[{ slug: 'https://via.placeholder.com/500', alt: 'image descripton' }, { slug: 'https://via.placeholder.com/600', alt: 'image descripton' }]`
7
- * */
7
+ */
8
8
  images: {
9
9
  type: PropType<MazGalleryImage[]>;
10
10
  default: () => never[];
@@ -77,7 +77,7 @@ declare const _default: import("vue").DefineComponent<{
77
77
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
78
78
  /**
79
79
  * Array of string or object: `['https://via.placeholder.com/500', 'https://via.placeholder.com/600']` or `[{ slug: 'https://via.placeholder.com/500', alt: 'image descripton' }, { slug: 'https://via.placeholder.com/600', alt: 'image descripton' }]`
80
- * */
80
+ */
81
81
  images: {
82
82
  type: PropType<MazGalleryImage[]>;
83
83
  default: () => never[];
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazGallery-6UK5sH9P.mjs";
1
+ import { M as f } from "./chunks/MazGallery-Bn9p1gNb.mjs";
2
2
  export {
3
3
  f as default
4
4
  };