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,21 +1,21 @@
1
- import './assets/MazSlider.css';
2
- import { defineComponent as te, ref as y, computed as f, watch as F, onMounted as ne, onBeforeUnmount as oe, nextTick as g, openBlock as b, createElementBlock as w, Fragment as T, createCommentVNode as ae, createElementVNode as _, normalizeStyle as B, normalizeClass as j, renderList as K, toDisplayString as se } from "vue";
3
- function le(a, l) {
1
+ import { defineComponent as te, ref as y, computed as f, watch as F, onMounted as ne, onBeforeUnmount as ae, nextTick as g, openBlock as b, createElementBlock as w, Fragment as T, createCommentVNode as oe, createElementVNode as _, normalizeStyle as B, normalizeClass as j, renderList as K, toDisplayString as ue } from "vue";
2
+ import './assets/MazSlider.css';function le(o, l) {
4
3
  let n;
5
4
  return function(...c) {
6
5
  clearTimeout(n), n = setTimeout(() => {
7
- a.apply(this, c);
6
+ o.apply(this, c);
8
7
  }, l);
9
8
  };
10
9
  }
11
- const ue = (a) => {
12
- const l = document.documentElement, n = document.body, c = a.getBoundingClientRect();
10
+ function se(o) {
11
+ const l = document.documentElement, n = document.body, c = o.getBoundingClientRect();
13
12
  return {
14
13
  y: c.top + (window.pageYOffset || l.scrollTop) - (l.clientTop || n.clientTop || 0),
15
14
  x: c.left + (window.pageXOffset || l.scrollLeft) - (l.clientLeft || n.clientLeft || 0)
16
15
  };
17
- }, re = (a, l, n = !1) => {
18
- const c = "targetTouches" in a ? a.targetTouches[0] : a, v = ue(l), i = {
16
+ }
17
+ function re(o, l, n = !1) {
18
+ const c = "targetTouches" in o ? o.targetTouches[0] : o, v = se(l), i = {
19
19
  x: c.pageX - v.x,
20
20
  y: c.pageY - v.y
21
21
  };
@@ -23,17 +23,22 @@ const ue = (a) => {
23
23
  x: n ? l.offsetWidth - i.x : i.x,
24
24
  y: n ? l.offsetHeight - i.y : i.y
25
25
  };
26
- }, q = (a, l, n, c) => c === "minus" ? l ? a >= l : !0 : n ? a <= n : !0, I = (a, l, n) => {
27
- const c = a + 1, i = l < c ? c - l : l - c;
26
+ }
27
+ function q(o, l, n, c) {
28
+ return c === "minus" ? l ? o >= l : !0 : n ? o <= n : !0;
29
+ }
30
+ function I(o, l, n) {
31
+ const c = o + 1, i = l < c ? c - l : l - c;
28
32
  return 100 / n * i / 100;
29
- }, ie = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], ce = ["data-label", "onMousedownPassive", "onTouchstartPassive", "onFocusPassive", "onBlurPassive", "onTouchendPassive", "onKeydownPassive"], de = /* @__PURE__ */ te({
33
+ }
34
+ const ie = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], ce = ["data-label", "onMousedownPassive", "onTouchstartPassive", "onFocusPassive", "onBlurPassive", "onTouchendPassive", "onKeydownPassive"], de = /* @__PURE__ */ te({
30
35
  __name: "MazSlider",
31
36
  props: {
32
37
  /** Array of cursors values */
33
38
  modelValue: {
34
39
  type: [Number, Array],
35
40
  required: !0,
36
- validator: (a) => ["number"].includes(typeof a) || Array.isArray(a) || a === null
41
+ validator: (o) => ["number"].includes(typeof o) || Array.isArray(o) || o === null
37
42
  },
38
43
  /** array of cursors label */
39
44
  labels: { type: Array, default: void 0 },
@@ -56,8 +61,8 @@ const ue = (a) => {
56
61
  noCursorAnim: { type: Boolean, default: !1 }
57
62
  },
58
63
  emits: ["update:model-value"],
59
- setup(a, { emit: l }) {
60
- const n = a, c = l, v = y(), i = y(), m = y(), d = y(), C = y([]), k = y([]), p = f(() => typeof n.modelValue == "number" ? [n.modelValue] : n.modelValue ? n.modelValue : [0]), M = f(() => Math.log(n.min || 1)), X = f(() => Math.log(n.max)), L = f(() => {
64
+ setup(o, { emit: l }) {
65
+ const n = o, c = l, v = y(), i = y(), m = y(), d = y(), C = y([]), k = y([]), p = f(() => typeof n.modelValue == "number" ? [n.modelValue] : n.modelValue ? n.modelValue : [0]), M = f(() => Math.log(n.min || 1)), X = f(() => Math.log(n.max)), L = f(() => {
61
66
  const { min: e, max: t } = n;
62
67
  return (X.value - M.value) / (t - e);
63
68
  }), A = f(() => {
@@ -77,109 +82,117 @@ const ue = (a) => {
77
82
  const $ = le(() => z(), 300);
78
83
  ne(() => {
79
84
  z(!0), window.addEventListener("resize", $);
80
- }), oe(() => {
85
+ }), ae(() => {
81
86
  window.removeEventListener("resize", $);
82
87
  });
83
- const z = async (e) => {
88
+ async function z(e) {
84
89
  e === !0 && U(), await Q(), await g();
85
- for (const [t, u] of p.value.entries())
90
+ for (const [t, s] of p.value.entries())
86
91
  P(t);
87
- }, R = (e, t) => {
92
+ }
93
+ function R(e, t) {
88
94
  e.key === "ArrowLeft" ? d.value && q(d.value[t] - 1, d.value[t - 1], d.value[t + 1], "minus") && (d.value[t]--, x(d.value)) : e.key === "ArrowRight" && d.value && q(d.value[t] + 1, d.value[t - 1], d.value[t + 1], "plus") && (d.value[t]++, x(d.value));
89
- }, W = (e) => {
95
+ }
96
+ function W(e) {
90
97
  i.value = void 0, D(e);
91
- }, U = () => {
92
- const { min: e, max: t } = n, u = p.value.map(
93
- (o) => o < e ? e : o > t ? t : o
98
+ }
99
+ function U() {
100
+ const { min: e, max: t } = n, s = p.value.map(
101
+ (a) => a < e ? e : a > t ? t : a
94
102
  );
95
- x(u), d.value = u;
96
- }, x = (e) => {
103
+ x(s), d.value = s;
104
+ }
105
+ function x(e) {
97
106
  const t = H.value ? [...e] : e[0];
98
107
  c("update:model-value", t);
99
- }, G = (e) => {
108
+ }
109
+ function G(e) {
100
110
  const { labels: t } = n;
101
111
  return t ? t[e] : void 0;
102
- }, P = (e) => {
112
+ }
113
+ function P(e) {
103
114
  D(e), n.noDivider || J();
104
- }, D = async (e) => {
105
- var u;
115
+ }
116
+ async function D(e) {
117
+ var s;
106
118
  await g();
107
119
  const t = document.querySelectorAll(".m-slider .m-slider__btn");
108
120
  if (t) {
109
- const o = t[e], s = (o == null ? void 0 : o.clientWidth) + 16, r = {
110
- left: typeof ((u = m.value) == null ? void 0 : u[e]) == "number" ? `${m.value[e] - s / 2 || 1}px` : ""
121
+ const a = t[e], u = (a == null ? void 0 : a.clientWidth) + 16, r = {
122
+ left: typeof ((s = m.value) == null ? void 0 : s[e]) == "number" ? `${m.value[e] - u / 2 || 1}px` : ""
111
123
  };
112
124
  C.value[e] = r;
113
125
  }
114
- }, J = () => {
126
+ }
127
+ function J() {
115
128
  if (m.value) {
116
129
  const e = [...m.value];
117
130
  e.push(0);
118
- const t = e.length, u = Math.round(t / 2);
119
- k.value = e.map((o, s) => ({
120
- left: `${s === 0 ? 0 : e[s - 1]}px`,
131
+ const t = e.length, s = Math.round(t / 2);
132
+ k.value = e.map((a, u) => ({
133
+ left: u === 0 ? 0 : `${e[u - 1]}px`,
121
134
  // ATTENTION: buttonPositions.value[i - 1]
122
- right: `${s + 1 === t ? 0 : "calc( 100% - " + o + "px )"}`,
123
- backgroundColor: u === s + 1 ? void 0 : s < u ? (
124
- // ligthen
125
- `rgba(255, 255, 255, ${I(s, u, t)})`
126
- ) : (
127
- // darken
128
- `rgba(0, 0, 0, ${I(s, u, t)})`
129
- )
135
+ right: u + 1 === t ? 0 : `calc( 100% - ${a}px )`,
136
+ backgroundColor: s === u + 1 ? void 0 : u < s ? `rgba(255, 255, 255, ${I(u, s, t)})` : `rgba(0, 0, 0, ${I(u, s, t)})`
137
+ // darken
130
138
  }));
131
139
  }
132
- }, Q = async () => {
133
- var s, r;
140
+ }
141
+ async function Q() {
142
+ var u, r;
134
143
  await g();
135
- const { min: e, max: t, log: u } = n, o = (s = v.value) == null ? void 0 : s.clientWidth;
136
- o ? m.value = (r = d.value) == null ? void 0 : r.map(
137
- (h) => u ? o / t * (e + (Math.log(h) - M.value) / L.value) : o / A.value * (h - e)
144
+ const { min: e, max: t, log: s } = n, a = (u = v.value) == null ? void 0 : u.clientWidth;
145
+ a ? m.value = (r = d.value) == null ? void 0 : r.map(
146
+ (h) => s ? a / t * (e + (Math.log(h) - M.value) / L.value) : a / A.value * (h - e)
138
147
  ) : console.warn("[maz-ui][MazSlider] ref component not found");
139
- }, E = async () => {
140
- var s, r, h;
148
+ }
149
+ async function E() {
150
+ var u, r, h;
141
151
  await g();
142
- const { max: e, min: t, log: u } = n, o = (s = v.value) == null ? void 0 : s.clientWidth;
143
- if (o)
144
- return u ? (r = m.value) == null ? void 0 : r.map((V) => {
145
- const Z = V / (o / e), ee = Math.exp((Z - t) * L.value + M.value);
152
+ const { max: e, min: t, log: s } = n, a = (u = v.value) == null ? void 0 : u.clientWidth;
153
+ if (a)
154
+ return s ? (r = m.value) == null ? void 0 : r.map((V) => {
155
+ const Z = V / (a / e), ee = Math.exp((Z - t) * L.value + M.value);
146
156
  return Math.round(ee);
147
157
  }) : (h = m.value) == null ? void 0 : h.map(
148
- (V) => Math.round(V / (o / A.value)) + t
158
+ (V) => Math.round(V / (a / A.value)) + t
149
159
  );
150
160
  console.warn("[maz-ui][MazSlider] ref component not found");
151
- }, S = (e, t) => {
161
+ }
162
+ function S(e, t) {
152
163
  i.value === void 0 && (i.value = t, P(t));
153
- }, O = async () => {
164
+ }
165
+ async function O() {
154
166
  if (i.value === void 0)
155
167
  return;
156
168
  const e = await E();
157
169
  e && x(e), i.value = void 0;
158
- }, N = async (e) => {
159
- var u;
170
+ }
171
+ async function N(e) {
172
+ var s;
160
173
  if (await g(), i.value === void 0)
161
174
  return;
162
- const t = (u = v.value) == null ? void 0 : u.clientWidth;
175
+ const t = (s = v.value) == null ? void 0 : s.clientWidth;
163
176
  if (m.value) {
164
- const o = m.value[i.value - 1] || 0, s = m.value[i.value + 1] || t;
177
+ const a = m.value[i.value - 1] || 0, u = m.value[i.value + 1] || t;
165
178
  if (!v.value)
166
179
  return console.error("[maz-ui](MazSlider/handleMousemove) MazSlider not available");
167
180
  m.value[i.value] = (() => {
168
181
  const r = re(e, v.value).x;
169
- return r < o ? o : s && r > s ? s : r;
182
+ return r < a ? a : u && r > u ? u : r;
170
183
  })(), d.value = await E(), P(i.value);
171
184
  }
172
- };
185
+ }
173
186
  return (e, t) => (b(), w(
174
187
  T,
175
188
  null,
176
189
  [
177
- ae(" eslint-disable vuejs-accessibility/mouse-events-have-key-events "),
190
+ oe(" eslint-disable vuejs-accessibility/mouse-events-have-key-events "),
178
191
  _(
179
192
  "div",
180
193
  {
181
- style: B([Y.value, { fontSize: a.size }]),
182
- class: j(["m-slider", [`m-slider--${a.color}`]]),
194
+ style: B([Y.value, { fontSize: o.size }]),
195
+ class: j(["m-slider", [`m-slider--${o.color}`]]),
183
196
  role: "button",
184
197
  tabindex: "-1",
185
198
  onMousemovePassive: N,
@@ -193,18 +206,18 @@ const ue = (a) => {
193
206
  ref: v,
194
207
  class: "m-slider__bar",
195
208
  role: "slider",
196
- "aria-valuenow": a.modelValue.toString(),
197
- "aria-valuemin": a.min,
198
- "aria-valuemax": a.max
209
+ "aria-valuenow": o.modelValue.toString(),
210
+ "aria-valuemin": o.min,
211
+ "aria-valuemax": o.max
199
212
  }, [
200
213
  (b(!0), w(
201
214
  T,
202
215
  null,
203
- K(k.value, (u, o) => (b(), w(
216
+ K(k.value, (s, a) => (b(), w(
204
217
  "div",
205
218
  {
206
- key: `divider-${o}`,
207
- style: B([u]),
219
+ key: `divider-${a}`,
220
+ style: B([s]),
208
221
  class: "m-slider__divider"
209
222
  },
210
223
  null,
@@ -217,27 +230,27 @@ const ue = (a) => {
217
230
  (b(!0), w(
218
231
  T,
219
232
  null,
220
- K(p.value, (u, o) => {
221
- var s;
233
+ K(p.value, (s, a) => {
234
+ var u;
222
235
  return b(), w("button", {
223
- key: `cursor-${o}`,
236
+ key: `cursor-${a}`,
224
237
  type: "button",
225
- "data-label": G(o),
238
+ "data-label": G(a),
226
239
  class: j(["m-slider__btn", {
227
- "active-cursor": o === i.value && !a.noCursorAnim
240
+ "active-cursor": a === i.value && !o.noCursorAnim
228
241
  }]),
229
- style: B([C.value[o]]),
230
- onMousedownPassive: (r) => S(r, o),
231
- onTouchstartPassive: (r) => S(r, o),
232
- onFocusPassive: (r) => S(r, o),
233
- onBlurPassive: (r) => W(o),
234
- onTouchendPassive: (r) => W(o),
235
- onKeydownPassive: (r) => R(r, o)
242
+ style: B([C.value[a]]),
243
+ onMousedownPassive: (r) => S(r, a),
244
+ onTouchstartPassive: (r) => S(r, a),
245
+ onFocusPassive: (r) => S(r, a),
246
+ onBlurPassive: (r) => W(a),
247
+ onTouchendPassive: (r) => W(a),
248
+ onKeydownPassive: (r) => R(r, a)
236
249
  }, [
237
250
  _(
238
251
  "span",
239
252
  null,
240
- se((s = d.value) == null ? void 0 : s[o]),
253
+ ue((u = d.value) == null ? void 0 : u[a]),
241
254
  1
242
255
  /* TEXT */
243
256
  )
@@ -256,12 +269,12 @@ const ue = (a) => {
256
269
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
257
270
  ));
258
271
  }
259
- }), ve = (a, l) => {
260
- const n = a.__vccOpts || a;
272
+ }), ve = (o, l) => {
273
+ const n = o.__vccOpts || o;
261
274
  for (const [c, v] of l)
262
275
  n[c] = v;
263
276
  return n;
264
- }, fe = /* @__PURE__ */ ve(de, [["__scopeId", "data-v-4993a04d"]]);
277
+ }, fe = /* @__PURE__ */ ve(de, [["__scopeId", "data-v-433a5afb"]]);
265
278
  export {
266
279
  fe as default
267
280
  };
@@ -1,6 +1,5 @@
1
- import './assets/MazSpinner.css';
2
- import { defineComponent as s, openBlock as r, createElementBlock as a, normalizeClass as p, pushScopeId as i, popScopeId as l, createElementVNode as d } from "vue";
3
- const h = (e) => (i("data-v-c67298ec"), e = e(), l(), e), _ = ["width", "height"], m = /* @__PURE__ */ h(() => /* @__PURE__ */ d(
1
+ import { defineComponent as s, openBlock as a, createElementBlock as r, normalizeClass as p, pushScopeId as i, popScopeId as l, createElementVNode as d } from "vue";
2
+ import './assets/MazSpinner.css';const h = (e) => (i("data-v-c16a57a3"), e = e(), l(), e), _ = ["width", "height"], m = /* @__PURE__ */ h(() => /* @__PURE__ */ d(
4
3
  "path",
5
4
  { d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
6
5
  null,
@@ -18,7 +17,7 @@ const h = (e) => (i("data-v-c67298ec"), e = e(), l(), e), _ = ["width", "height"
18
17
  }
19
18
  },
20
19
  setup(e) {
21
- return (o, t) => (r(), a("svg", {
20
+ return (o, t) => (a(), r("svg", {
22
21
  width: e.size,
23
22
  height: e.size,
24
23
  version: "1.1",
@@ -33,10 +32,10 @@ const h = (e) => (i("data-v-c67298ec"), e = e(), l(), e), _ = ["width", "height"
33
32
  }
34
33
  }), v = (e, o) => {
35
34
  const t = e.__vccOpts || e;
36
- for (const [c, n] of o)
37
- t[c] = n;
35
+ for (const [n, c] of o)
36
+ t[n] = c;
38
37
  return t;
39
- }, x = /* @__PURE__ */ v(g, [["__scopeId", "data-v-c67298ec"]]);
38
+ }, x = /* @__PURE__ */ v(g, [["__scopeId", "data-v-c16a57a3"]]);
40
39
  export {
41
40
  x as default
42
41
  };
@@ -1,4 +1,4 @@
1
- import { type Component, type ComponentPublicInstance, type SVGAttributes, type FunctionalComponent } from 'vue';
1
+ import { type Component, type ComponentPublicInstance, type FunctionalComponent, type SVGAttributes } from 'vue';
2
2
  import type { Color } from './types';
3
3
  export type { Color };
4
4
  export type Icon = FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component;
@@ -13,7 +13,7 @@ export interface Step {
13
13
  icon?: string | Icon;
14
14
  }
15
15
  export type Steps = Step[];
16
- export type Props = {
16
+ export interface Props {
17
17
  /** The current step */
18
18
  modelValue?: number;
19
19
  /** The steps */
@@ -35,7 +35,7 @@ export type Props = {
35
35
  allStepsValidated?: boolean;
36
36
  /** Allow to close the steps */
37
37
  canCloseSteps?: boolean;
38
- };
38
+ }
39
39
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
40
40
  modelValue: undefined;
41
41
  steps: undefined;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazStepper-DDofJsdg.mjs";
1
+ import { M as f } from "./chunks/MazStepper-DxrzKz06.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { type HTMLAttributes } from 'vue';
2
2
  import type { Color } from './types';
3
3
  export type { Color };
4
- export type Props = {
4
+ export interface Props {
5
5
  /** Style attribut of the component root element */
6
6
  style?: HTMLAttributes['style'];
7
7
  /** Class attribut of the component root element */
@@ -16,7 +16,7 @@ export type Props = {
16
16
  name?: string;
17
17
  /** The color of the switch */
18
18
  color?: Color;
19
- };
19
+ }
20
20
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
21
21
  style: undefined;
22
22
  class: undefined;
@@ -1,6 +1,5 @@
1
- import './assets/MazSwitch.css';
2
1
  import { getCurrentInstance as b, computed as t, defineComponent as v, useCssVars as k, openBlock as c, createElementBlock as i, unref as r, normalizeClass as _, normalizeStyle as y, createElementVNode as m, mergeProps as C, createCommentVNode as u, renderSlot as w } from "vue";
3
- function V({
2
+ import './assets/MazSwitch.css';function V({
4
3
  componentName: o,
5
4
  providedId: s
6
5
  }) {
@@ -31,18 +30,19 @@ const g = ["for", "aria-checked"], z = ["id", "name", "checked", "disabled"], $
31
30
  emits: ["update:model-value", "change"],
32
31
  setup(o, { emit: s }) {
33
32
  k((e) => ({
34
- "17a28b5e": h.value,
35
- "67cedd2f": f.value
33
+ "4ed3b471": h.value,
34
+ "118dd1e2": f.value
36
35
  }));
37
36
  const a = o, d = s, n = V({
38
37
  componentName: "MazCheckbox",
39
38
  providedId: a.id
40
39
  }), h = t(() => `var(--maz-color-${a.color}-alpha)`), f = t(
41
40
  () => a.modelValue ? `var(--maz-color-${a.color})` : "var(--maz-color-white)"
42
- ), p = (e) => {
41
+ );
42
+ function p(e) {
43
43
  const l = e.target;
44
44
  d("update:model-value", (l == null ? void 0 : l.checked) ?? !1), d("change", (l == null ? void 0 : l.checked) ?? !1);
45
- };
45
+ }
46
46
  return (e, l) => (c(), i("label", {
47
47
  for: r(n),
48
48
  class: _(["m-switch", [{ "--is-disabled": e.disabled }, a.class]]),
@@ -1,7 +1,7 @@
1
- import { type ThHTMLAttributes, type StyleValue, type HTMLAttributes, type Ref } from 'vue';
1
+ import { type HTMLAttributes, type Ref, type StyleValue, type ThHTMLAttributes } from 'vue';
2
2
  import type { Color, Size } from './types';
3
3
  export type { Size, Color };
4
- export type HeadersEnriched = {
4
+ export interface HeadersEnriched {
5
5
  label: string;
6
6
  key?: string;
7
7
  sortable?: boolean;
@@ -15,21 +15,22 @@ export type HeadersEnriched = {
15
15
  rowspan?: ThHTMLAttributes['rowspan'];
16
16
  colspan?: ThHTMLAttributes['colspan'];
17
17
  headers?: ThHTMLAttributes['headers'];
18
- };
18
+ }
19
19
  export type Row = Record<string, any> & {
20
20
  selected?: boolean;
21
21
  action?: (row: Row) => unknown;
22
22
  classes?: HTMLAttributes['class'];
23
23
  };
24
24
  export type Header = string | HeadersEnriched;
25
- export type Props = {
25
+ export interface Props {
26
26
  /** class of the table element */
27
27
  tableClass?: HTMLAttributes['class'];
28
28
  /** style of the table element */
29
29
  tableStyle?: StyleValue;
30
30
  /** v-model of the table - list of selected rows */
31
31
  modelValue?: (string | boolean | number)[];
32
- /** size of the table
32
+ /**
33
+ * size of the table
33
34
  * @values `'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'mini'`
34
35
  */
35
36
  size?: Size;
@@ -69,7 +70,8 @@ export type Props = {
69
70
  divider?: boolean;
70
71
  /** caption of the table */
71
72
  caption?: string;
72
- /** caption side
73
+ /**
74
+ * caption side
73
75
  * @values `'top' | 'bottom'`
74
76
  */
75
77
  captionSide?: 'top' | 'bottom';
@@ -93,19 +95,20 @@ export type Props = {
93
95
  selectable?: boolean;
94
96
  /** Enable selection of rows - key of the selected row */
95
97
  selectedKey?: string;
96
- /** table layout
98
+ /**
99
+ * table layout
97
100
  * @values `'auto' | 'fixed'`
98
101
  */
99
102
  tableLayout?: 'auto' | 'fixed';
100
103
  /** color of the loading bar */
101
104
  color?: Color;
102
- };
103
- export type MazTableProvide = {
105
+ }
106
+ export interface MazTableProvide {
104
107
  size: Ref<Size>;
105
108
  hoverable: Ref<boolean>;
106
109
  backgroundEven: Ref<boolean>;
107
110
  backgroundOdd: Ref<boolean>;
108
- };
111
+ }
109
112
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
110
113
  tableClass: undefined;
111
114
  tableStyle: undefined;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazTable-B9JiJ2B2.mjs";
1
+ import { M as f } from "./chunks/MazTable-DRUj_PZp.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,15 +1,14 @@
1
- import './assets/MazTableCell.css';
2
1
  import { inject as c, defineComponent as l, openBlock as a, createElementBlock as s, normalizeClass as i, unref as _, renderSlot as u } from "vue";
3
- function p(t, o) {
2
+ import './assets/MazTableCell.css';function d(t, o) {
4
3
  const e = c(t, o);
5
4
  if (!e)
6
5
  throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${t}`);
7
6
  return e;
8
7
  }
9
- const d = /* @__PURE__ */ l({
8
+ const p = /* @__PURE__ */ l({
10
9
  __name: "MazTableCell",
11
10
  setup(t) {
12
- const { size: o } = p("maz-table");
11
+ const { size: o } = d("maz-table");
13
12
  return (e, r) => (a(), s(
14
13
  "td",
15
14
  {
@@ -27,7 +26,7 @@ const d = /* @__PURE__ */ l({
27
26
  for (const [r, n] of o)
28
27
  e[r] = n;
29
28
  return e;
30
- }, v = /* @__PURE__ */ f(d, [["__scopeId", "data-v-0668079a"]]);
29
+ }, v = /* @__PURE__ */ f(p, [["__scopeId", "data-v-28c38d00"]]);
31
30
  export {
32
31
  v as default
33
32
  };
@@ -1,7 +1,7 @@
1
- export type Props = {
1
+ export interface Props {
2
2
  /** Override hoverable of table props */
3
3
  noHoverable?: boolean;
4
- };
4
+ }
5
5
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
6
6
  default?(_: {}): any;
7
7
  }>;
@@ -1,18 +1,17 @@
1
- import './assets/MazTableRow.css';
2
1
  import { inject as c, defineComponent as l, openBlock as s, createElementBlock as d, normalizeClass as u, unref as a, renderSlot as p } from "vue";
3
- function b(o, r) {
2
+ import './assets/MazTableRow.css';function i(o, r) {
4
3
  const e = c(o, r);
5
4
  if (!e)
6
5
  throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${o}`);
7
6
  return e;
8
7
  }
9
- const i = /* @__PURE__ */ l({
8
+ const b = /* @__PURE__ */ l({
10
9
  __name: "MazTableRow",
11
10
  props: {
12
11
  noHoverable: { type: Boolean }
13
12
  },
14
13
  setup(o) {
15
- const { hoverable: r, backgroundEven: e, backgroundOdd: n } = b("maz-table");
14
+ const { hoverable: r, backgroundEven: e, backgroundOdd: n } = i("maz-table");
16
15
  return (t, _) => (s(), d(
17
16
  "tr",
18
17
  {
@@ -34,7 +33,7 @@ const i = /* @__PURE__ */ l({
34
33
  for (const [n, t] of r)
35
34
  e[n] = t;
36
35
  return e;
37
- }, m = /* @__PURE__ */ v(i, [["__scopeId", "data-v-57ba9a97"]]);
36
+ }, m = /* @__PURE__ */ v(b, [["__scopeId", "data-v-f9d9120a"]]);
38
37
  export {
39
38
  m as default
40
39
  };
@@ -1,6 +1,5 @@
1
- import './assets/MazTableTitle.css';
2
1
  import { inject as c, defineComponent as a, openBlock as s, createElementBlock as l, normalizeClass as i, unref as _, renderSlot as u } from "vue";
3
- function p(e, o) {
2
+ import './assets/MazTableTitle.css';function p(e, o) {
4
3
  const t = c(e, o);
5
4
  if (!t)
6
5
  throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${e}`);
@@ -27,7 +26,7 @@ const d = /* @__PURE__ */ a({
27
26
  for (const [r, n] of o)
28
27
  t[r] = n;
29
28
  return t;
30
- }, v = /* @__PURE__ */ f(d, [["__scopeId", "data-v-7d02b262"]]);
29
+ }, v = /* @__PURE__ */ f(d, [["__scopeId", "data-v-cd769807"]]);
31
30
  export {
32
31
  v as default
33
32
  };
@@ -1,12 +1,12 @@
1
1
  import { type Ref } from 'vue';
2
- export type Props = {
2
+ export interface Props {
3
3
  /** The the selected tab number */
4
4
  modelValue?: number;
5
- };
6
- export type MazTabsProvide = {
5
+ }
6
+ export interface MazTabsProvide {
7
7
  currentTab: Ref<number>;
8
8
  updateCurrentTab: (index: number) => number;
9
- };
9
+ }
10
10
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
11
  "update:model-value": (index: number) => void;
12
12
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
@@ -1,4 +1,4 @@
1
- import { type BadgeRoundedSize, type BadgeColor } from './MazBadge.vue';
1
+ import type { BadgeColor, BadgeRoundedSize } from './MazBadge.vue';
2
2
  export type MazTabsBarItem = {
3
3
  label: string;
4
4
  disabled?: boolean;
@@ -11,12 +11,13 @@ export type MazTabsBarItem = {
11
11
  roundedSize?: BadgeRoundedSize;
12
12
  };
13
13
  } | string;
14
- export type Props = {
14
+ export interface Props {
15
15
  /** The items to display in the tabs bar */
16
16
  items: MazTabsBarItem[];
17
17
  /** Will add a query param to the url to keep the selected tab on page refresh */
18
18
  persistent?: boolean;
19
- /** The name of the query param to add to the url
19
+ /**
20
+ * The name of the query param to add to the url
20
21
  * @default tab
21
22
  */
22
23
  queryParam?: string;
@@ -24,11 +25,12 @@ export type Props = {
24
25
  block?: boolean;
25
26
  /** Will remove the elevation */
26
27
  noElevation?: boolean;
27
- /** Will add a scroll on the tabs bar to show selected element
28
+ /**
29
+ * Will add a scroll on the tabs bar to show selected element
28
30
  * @default true
29
31
  */
30
32
  autoScroll?: boolean;
31
- };
33
+ }
32
34
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
33
35
  queryParam: string;
34
36
  autoScroll: boolean;