maz-ui 3.43.4 → 3.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. package/components/MazAccordion.d.ts +2 -2
  2. package/components/MazAccordion.mjs +84 -84
  3. package/components/MazAnimatedCounter.mjs +9 -10
  4. package/components/MazAvatar.d.ts +3 -3
  5. package/components/MazAvatar.mjs +1 -1
  6. package/components/MazBackdrop.d.ts +2 -2
  7. package/components/MazBackdrop.mjs +12 -10
  8. package/components/MazBadge.d.ts +2 -2
  9. package/components/MazBadge.mjs +3 -4
  10. package/components/MazBottomSheet.mjs +1 -1
  11. package/components/MazBtn.d.ts +7 -5
  12. package/components/MazBtn.mjs +1 -1
  13. package/components/MazCard.d.ts +3 -3
  14. package/components/MazCard.mjs +1 -1
  15. package/components/MazCardSpotlight.d.ts +2 -2
  16. package/components/MazCardSpotlight.mjs +4 -5
  17. package/components/MazCarousel.d.ts +2 -2
  18. package/components/MazCarousel.mjs +1 -1
  19. package/components/MazChart.d.ts +1 -1
  20. package/components/MazCheckbox.d.ts +2 -2
  21. package/components/MazCheckbox.mjs +10 -11
  22. package/components/MazCircularProgressBar.d.ts +1 -1
  23. package/components/MazCircularProgressBar.mjs +21 -23
  24. package/components/MazDialog.d.ts +2 -2
  25. package/components/MazDialog.mjs +1 -1
  26. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
  27. package/components/MazDialogPromise.mjs +1 -1
  28. package/components/MazDrawer.d.ts +2 -2
  29. package/components/MazDrawer.mjs +71 -69
  30. package/components/MazDropdown.d.ts +7 -6
  31. package/components/MazDropdown.mjs +130 -128
  32. package/components/MazDropzone.d.ts +1 -1
  33. package/components/MazDropzone.mjs +1 -1
  34. package/components/MazExpandAnimation.d.ts +2 -2
  35. package/components/MazExpandAnimation.mjs +26 -26
  36. package/components/MazFullscreenLoader.d.ts +2 -2
  37. package/components/MazFullscreenLoader.mjs +11 -10
  38. package/components/MazGallery.d.ts +2 -2
  39. package/components/MazGallery.mjs +1 -1
  40. package/components/MazIcon.mjs +45 -34
  41. package/components/MazInput.d.ts +4 -4
  42. package/components/MazInput.mjs +1 -1
  43. package/components/MazInputCode.d.ts +2 -2
  44. package/components/MazInputCode.mjs +4 -5
  45. package/components/MazInputNumber.d.ts +2 -2
  46. package/components/MazInputNumber.mjs +1 -1
  47. package/components/MazInputPrice.d.ts +2 -2
  48. package/components/MazInputPrice.mjs +1 -1
  49. package/components/MazInputTags.d.ts +7 -2
  50. package/components/MazInputTags.mjs +1 -1
  51. package/components/MazLazyImg.d.ts +2 -2
  52. package/components/MazLazyImg.mjs +1 -1
  53. package/components/MazLink.d.ts +6 -6
  54. package/components/MazLink.mjs +3 -4
  55. package/components/MazLoadingBar.d.ts +2 -2
  56. package/components/MazLoadingBar.mjs +17 -18
  57. package/components/MazPagination.d.ts +3 -3
  58. package/components/MazPagination.mjs +1 -1
  59. package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
  60. package/components/MazPhoneNumberInput/types.d.ts +5 -5
  61. package/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
  62. package/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
  63. package/components/MazPhoneNumberInput.d.ts +8 -8
  64. package/components/MazPhoneNumberInput.mjs +1 -1
  65. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  66. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
  67. package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  68. package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  69. package/components/MazPicker/types.d.ts +4 -4
  70. package/components/MazPicker/utils.d.ts +4 -4
  71. package/components/MazPicker.d.ts +3 -3
  72. package/components/MazPicker.mjs +1 -1
  73. package/components/MazPullToRefresh.d.ts +2 -2
  74. package/components/MazPullToRefresh.mjs +1 -1
  75. package/components/MazRadio.mjs +8 -9
  76. package/components/MazRadioButtons.d.ts +2 -2
  77. package/components/MazRadioButtons.mjs +44 -42
  78. package/components/MazReadingProgressBar.d.ts +2 -2
  79. package/components/MazReadingProgressBar.mjs +12 -13
  80. package/components/MazSelect.d.ts +4 -4
  81. package/components/MazSelect.mjs +1 -1
  82. package/components/MazSlider/utils.d.ts +4 -4
  83. package/components/MazSlider.mjs +100 -87
  84. package/components/MazSpinner.mjs +6 -7
  85. package/components/MazStepper.d.ts +3 -3
  86. package/components/MazStepper.mjs +1 -1
  87. package/components/MazSwitch.d.ts +2 -2
  88. package/components/MazSwitch.mjs +6 -6
  89. package/components/MazTable.d.ts +13 -10
  90. package/components/MazTable.mjs +1 -1
  91. package/components/MazTableCell.mjs +4 -5
  92. package/components/MazTableRow.d.ts +2 -2
  93. package/components/MazTableRow.mjs +4 -5
  94. package/components/MazTableTitle.mjs +2 -3
  95. package/components/MazTabs.d.ts +4 -4
  96. package/components/MazTabsBar.d.ts +7 -5
  97. package/components/MazTabsBar.mjs +1 -1
  98. package/components/MazTabsContent.mjs +5 -4
  99. package/components/MazTabsContentItem.mjs +16 -17
  100. package/components/MazTextarea.d.ts +2 -2
  101. package/components/MazTextarea.mjs +19 -17
  102. package/components/MazTransitionExpand.d.ts +2 -2
  103. package/components/MazTransitionExpand.mjs +19 -18
  104. package/components/assets/MazAccordion.css +1 -1
  105. package/components/assets/MazAnimatedCounter.css +1 -1
  106. package/components/assets/MazAvatar.css +1 -1
  107. package/components/assets/MazBadge.css +1 -1
  108. package/components/assets/MazBottomSheet.css +1 -1
  109. package/components/assets/MazBtn.css +1 -1
  110. package/components/assets/MazCard.css +1 -1
  111. package/components/assets/MazCardSpotlight.css +1 -1
  112. package/components/assets/MazCarousel.css +1 -1
  113. package/components/assets/MazCheckbox.css +1 -1
  114. package/components/assets/MazCircularProgressBar.css +1 -1
  115. package/components/assets/MazDialog.css +1 -1
  116. package/components/assets/MazDialogPromise.css +1 -1
  117. package/components/assets/MazExpandAnimation.css +1 -1
  118. package/components/assets/MazGallery.css +1 -1
  119. package/components/assets/MazInput.css +1 -1
  120. package/components/assets/MazInputCode.css +1 -1
  121. package/components/assets/MazInputNumber.css +1 -1
  122. package/components/assets/MazInputPrice.css +1 -1
  123. package/components/assets/MazInputTags.css +1 -1
  124. package/components/assets/MazLazyImg.css +1 -1
  125. package/components/assets/MazLink.css +1 -1
  126. package/components/assets/MazLoadingBar.css +1 -1
  127. package/components/assets/MazPagination.css +1 -1
  128. package/components/assets/MazPhoneNumberInput.css +1 -1
  129. package/components/assets/MazPicker.css +1 -1
  130. package/components/assets/MazPickerMonthSwitcher.css +1 -1
  131. package/components/assets/MazPickerShortcuts.css +1 -1
  132. package/components/assets/MazPickerYearSwitcher.css +1 -1
  133. package/components/assets/MazPullToRefresh.css +1 -1
  134. package/components/assets/MazRadio.css +1 -1
  135. package/components/assets/MazRadioButtons.css +1 -1
  136. package/components/assets/MazReadingProgressBar.css +1 -1
  137. package/components/assets/MazSelect.css +1 -1
  138. package/components/assets/MazSlider.css +1 -1
  139. package/components/assets/MazSpinner.css +1 -1
  140. package/components/assets/MazStepper.css +1 -1
  141. package/components/assets/MazSwitch.css +1 -1
  142. package/components/assets/MazTable.css +1 -1
  143. package/components/assets/MazTableCell.css +1 -1
  144. package/components/assets/MazTableRow.css +1 -1
  145. package/components/assets/MazTableTitle.css +1 -1
  146. package/components/assets/MazTabsBar.css +1 -1
  147. package/components/assets/MazTabsContentItem.css +1 -1
  148. package/components/assets/MazTextarea.css +1 -1
  149. package/components/assets/MazTransitionExpand.css +1 -1
  150. package/components/chunks/{MazAvatar-DsJvzyS9.mjs → MazAvatar-BU1nJFcV.mjs} +8 -9
  151. package/components/chunks/{MazBadge-CYJlqITD.mjs → MazBadge-CwA0md19.mjs} +4 -5
  152. package/components/chunks/{MazBottomSheet-CIlIdn-2.mjs → MazBottomSheet-DUOIusEi.mjs} +54 -52
  153. package/components/chunks/{MazBtn-CCNGs6oo.mjs → MazBtn-5BSKOcqG.mjs} +35 -36
  154. package/components/chunks/{MazBtn-Ccvl1ZWv.mjs → MazBtn-B1-sTc7F.mjs} +31 -32
  155. package/components/chunks/{MazBtn-BC5OegPu.mjs → MazBtn-BY8WCtM7.mjs} +35 -36
  156. package/components/chunks/{MazBtn-CX4OgPzp.mjs → MazBtn-C5G78zLg.mjs} +35 -36
  157. package/components/chunks/MazBtn-CeVwyYR5.mjs +150 -0
  158. package/components/chunks/{MazBtn-BqgdERYQ.mjs → MazBtn-ColLVUca.mjs} +35 -36
  159. package/components/chunks/{MazBtn-beTASOLt.mjs → MazBtn-DJhQqzja.mjs} +35 -36
  160. package/components/chunks/MazBtn-DuY28-0U.mjs +150 -0
  161. package/components/chunks/{MazBtn-BydIwD1J.mjs → MazBtn-f1mBXJeU.mjs} +31 -32
  162. package/components/chunks/MazBtn-h3WmmaEO.mjs +150 -0
  163. package/components/chunks/MazBtn-zyRLUViT.mjs +150 -0
  164. package/components/chunks/{MazCard-bmiVPg8p.mjs → MazCard-BWxV_Z-i.mjs} +25 -26
  165. package/components/chunks/{MazCarousel-CL0bMygd.mjs → MazCarousel-D5EmW7Sa.mjs} +43 -35
  166. package/components/chunks/{MazCheckbox-DsFbvpp4.mjs → MazCheckbox-BWiMbecz.mjs} +11 -12
  167. package/components/chunks/{MazCheckbox-CCa7grGF.mjs → MazCheckbox-D3PXkt75.mjs} +11 -12
  168. package/components/chunks/{MazDialog-BckFta4N.mjs → MazDialog-CLWKCphI.mjs} +56 -54
  169. package/components/chunks/{MazDialogPromise-Bb6h4hFz.mjs → MazDialogPromise-DVOJwdVp.mjs} +139 -126
  170. package/components/chunks/{MazDropzone-C_8mRUbK.mjs → MazDropzone-Dm2IirHm.mjs} +33 -54
  171. package/components/chunks/MazExpandAnimation-ChSSdQAq.mjs +58 -0
  172. package/components/chunks/{MazGallery-CcpeM_zk.mjs → MazGallery-BlfPe8WG.mjs} +103 -101
  173. package/components/chunks/{MazGallery-6UK5sH9P.mjs → MazGallery-Bn9p1gNb.mjs} +102 -100
  174. package/{modules/chunks/MazIcon-CiNswMKM.mjs → components/chunks/MazIcon-B8A0hQAH.mjs} +45 -34
  175. package/components/chunks/{MazIcon-Cxrv3_OK.mjs → MazIcon-BDGxCy9M.mjs} +45 -34
  176. package/components/chunks/{MazIcon-BKuhvwwq.mjs → MazIcon-D3umgnku.mjs} +45 -34
  177. package/components/chunks/{MazInput-DNwBL54e.mjs → MazInput-BpsE-mdg.mjs} +69 -69
  178. package/components/chunks/{MazInputNumber-BSdVF8-q.mjs → MazInputNumber-DGBYbDSX.mjs} +186 -182
  179. package/components/chunks/{MazInputPrice-osrAz4xd.mjs → MazInputPrice-j2BNMeFp.mjs} +134 -129
  180. package/components/chunks/{MazInputTags-XUWwx6p8.mjs → MazInputTags-CJofVaj5.mjs} +234 -252
  181. package/components/chunks/{MazLazyImg-6qrfqWKr.mjs → MazLazyImg-BFG6FIJZ.mjs} +6 -7
  182. package/components/chunks/{MazLazyImg-BelScAEF.mjs → MazLazyImg-Dboc6Xfz.mjs} +5 -6
  183. package/components/chunks/{MazPagination-DUiHgLAp.mjs → MazPagination-C6ZehQSZ.mjs} +118 -119
  184. package/components/chunks/{MazPhoneNumberInput-HeEEyDu0.mjs → MazPhoneNumberInput-DpWoNQfx.mjs} +707 -695
  185. package/components/chunks/MazPicker-ia2BEmm5.mjs +2531 -0
  186. package/components/chunks/{MazPickerMonthSwitcher-CoV-84J1.mjs → MazPickerMonthSwitcher-CKtfZ_m-.mjs} +19 -19
  187. package/components/chunks/{MazPickerShortcuts-5IfUIwpz.mjs → MazPickerShortcuts-Cc9VoqBw.mjs} +10 -10
  188. package/components/chunks/{MazPickerYearSwitcher-MeptqtZk.mjs → MazPickerYearSwitcher-0b5Wrem9.mjs} +10 -8
  189. package/components/chunks/{MazPullToRefresh-DWbmwlzV.mjs → MazPullToRefresh-CUazP4y2.mjs} +21 -22
  190. package/components/chunks/MazSelect-COJoKXbV.mjs +847 -0
  191. package/components/chunks/MazSpinner-9Jue6cel.mjs +37 -0
  192. package/components/chunks/{MazSpinner-BKjRRWtc.mjs → MazSpinner-BGPOws6a.mjs} +6 -7
  193. package/components/chunks/{MazSpinner-BXxULdoD.mjs → MazSpinner-BWYdqSMP.mjs} +6 -7
  194. package/components/chunks/{MazSpinner-BRgzRI07.mjs → MazSpinner-BZOjTZBN.mjs} +6 -7
  195. package/components/chunks/{MazSpinner-B-svzg-R.mjs → MazSpinner-BaAMq7LI.mjs} +6 -7
  196. package/components/chunks/MazSpinner-Bad2n-0k.mjs +37 -0
  197. package/components/chunks/MazSpinner-BxnVFqUu.mjs +37 -0
  198. package/components/chunks/{MazSpinner-Mvsi6uCt.mjs → MazSpinner-C41VyUup.mjs} +6 -7
  199. package/components/chunks/MazSpinner-C6StE-Mb.mjs +37 -0
  200. package/components/chunks/{MazSpinner-BFXwybUv.mjs → MazSpinner-CNIlbDfg.mjs} +6 -7
  201. package/components/chunks/MazSpinner-Cz2DHV6g.mjs +37 -0
  202. package/components/chunks/MazSpinner-D4CdHpP2.mjs +37 -0
  203. package/{modules/chunks/MazSpinner--jWWogVn.mjs → components/chunks/MazSpinner-DHQH6Bhz.mjs} +6 -7
  204. package/components/chunks/MazSpinner-DRj2VpGA.mjs +37 -0
  205. package/components/chunks/{MazSpinner-C1lg-Klx.mjs → MazSpinner-DkXequnp.mjs} +6 -7
  206. package/components/chunks/MazSpinner-EA5ejB8F.mjs +37 -0
  207. package/components/chunks/{MazSpinner-BtpIL60X.mjs → MazSpinner-RvDGcBng.mjs} +6 -7
  208. package/components/chunks/{MazSpinner-B_WP-2kr.mjs → MazSpinner-V-bFi71W.mjs} +6 -7
  209. package/components/chunks/MazSpinner-aPFlrc5E.mjs +37 -0
  210. package/components/chunks/{MazSpinner-CfA_KEZT.mjs → MazSpinner-nH44Htog.mjs} +6 -7
  211. package/components/chunks/MazSpinner-nOD-7_sU.mjs +37 -0
  212. package/components/chunks/MazSpinner-yZGK-AQe.mjs +37 -0
  213. package/components/chunks/{MazStepper-DDofJsdg.mjs → MazStepper-DxrzKz06.mjs} +94 -83
  214. package/components/chunks/MazTable-DRUj_PZp.mjs +1960 -0
  215. package/components/chunks/{MazTabsBar-BXDEQkZM.mjs → MazTabsBar-xcIIXHx5.mjs} +67 -68
  216. package/components/chunks/{MazTransitionExpand-BwuAIzII.mjs → MazTransitionExpand-B08cSrmL.mjs} +20 -19
  217. package/components/chunks/{examples.mobile.json-um0ibyv5.mjs → examples.mobile.json-JpNGylGv.mjs} +1 -1
  218. package/css/main.css +1 -1
  219. package/modules/assets/MazBtn.css +1 -1
  220. package/modules/assets/MazSpinner.css +1 -1
  221. package/modules/assets/index.css +1 -1
  222. package/modules/chunks/{MazBtn-Czcbhr3Z.cjs → MazBtn-BbCGGxkK.cjs} +2 -2
  223. package/modules/chunks/{MazBtn-CXcW31TK.mjs → MazBtn-UBHTKqaN.mjs} +35 -36
  224. package/modules/chunks/MazIcon-BDSXZYZ8.cjs +1 -0
  225. package/{components/chunks/MazIcon-DtG5ii8R.mjs → modules/chunks/MazIcon-C2ch3jUS.mjs} +45 -34
  226. package/modules/chunks/{MazSpinner-Cw1KnqLM.cjs → MazSpinner-BiyFRA4w.cjs} +1 -1
  227. package/modules/chunks/MazSpinner-C9_xSbZZ.mjs +37 -0
  228. package/modules/chunks/{index-CThtJOu5.mjs → index-Cwbjspv3.mjs} +621 -588
  229. package/modules/chunks/index-tnjajVkX.cjs +124 -0
  230. package/modules/index.cjs +1 -1
  231. package/modules/index.mjs +34 -35
  232. package/nuxt/index.json +2 -2
  233. package/nuxt/index.mjs +3 -4
  234. package/nuxt/types.d.mts +24 -0
  235. package/nuxt/types.d.ts +24 -0
  236. package/package.json +77 -83
  237. package/resolvers/unplugin-directives-resolver.d.ts +1 -1
  238. package/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
  239. package/tailwindcss/tailwind.config.ts +9 -2
  240. package/tailwindcss/utils/colors.ts +3 -3
  241. package/tailwindcss/variables/colors.ts +12 -12
  242. package/tailwindcss/variables/utilities.ts +2 -2
  243. package/tailwindcss/variables/z-indexes.ts +12 -11
  244. package/types/components/MazAccordion.vue.d.ts +2 -2
  245. package/types/components/MazAvatar.vue.d.ts +3 -3
  246. package/types/components/MazBackdrop.vue.d.ts +2 -2
  247. package/types/components/MazBadge.vue.d.ts +2 -2
  248. package/types/components/MazBtn.vue.d.ts +7 -5
  249. package/types/components/MazCard.vue.d.ts +3 -3
  250. package/types/components/MazCardSpotlight.vue.d.ts +2 -2
  251. package/types/components/MazCarousel.vue.d.ts +2 -2
  252. package/types/components/MazChart.vue.d.ts +1 -1
  253. package/types/components/MazCheckbox.vue.d.ts +2 -2
  254. package/types/components/MazCircularProgressBar.vue.d.ts +1 -1
  255. package/types/components/MazDialog.vue.d.ts +2 -2
  256. package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
  257. package/types/components/MazDrawer.vue.d.ts +2 -2
  258. package/types/components/MazDropdown.vue.d.ts +7 -6
  259. package/types/components/MazDropzone.vue.d.ts +1 -1
  260. package/types/components/MazExpandAnimation.vue.d.ts +2 -2
  261. package/types/components/MazFullscreenLoader.vue.d.ts +2 -2
  262. package/types/components/MazGallery.vue.d.ts +2 -2
  263. package/types/components/MazInput.vue.d.ts +4 -4
  264. package/types/components/MazInputCode.vue.d.ts +2 -2
  265. package/types/components/MazInputNumber.vue.d.ts +2 -2
  266. package/types/components/MazInputPrice.vue.d.ts +2 -2
  267. package/types/components/MazInputTags.vue.d.ts +7 -2
  268. package/types/components/MazLazyImg.vue.d.ts +2 -2
  269. package/types/components/MazLink.vue.d.ts +6 -6
  270. package/types/components/MazLoadingBar.vue.d.ts +2 -2
  271. package/types/components/MazPagination.vue.d.ts +3 -3
  272. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
  273. package/types/components/MazPhoneNumberInput/types.d.ts +5 -5
  274. package/types/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
  275. package/types/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
  276. package/types/components/MazPhoneNumberInput.vue.d.ts +8 -8
  277. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  278. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
  279. package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  280. package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  281. package/types/components/MazPicker/types.d.ts +4 -4
  282. package/types/components/MazPicker/utils.d.ts +4 -4
  283. package/types/components/MazPicker.vue.d.ts +3 -3
  284. package/types/components/MazPullToRefresh.vue.d.ts +2 -2
  285. package/types/components/MazRadioButtons.vue.d.ts +2 -2
  286. package/types/components/MazReadingProgressBar.vue.d.ts +2 -2
  287. package/types/components/MazSelect.vue.d.ts +4 -4
  288. package/types/components/MazSlider/utils.d.ts +4 -4
  289. package/types/components/MazStepper.vue.d.ts +3 -3
  290. package/types/components/MazSwitch.vue.d.ts +2 -2
  291. package/types/components/MazTable.vue.d.ts +13 -10
  292. package/types/components/MazTableRow.vue.d.ts +2 -2
  293. package/types/components/MazTabs.vue.d.ts +4 -4
  294. package/types/components/MazTabsBar.vue.d.ts +7 -5
  295. package/types/components/MazTextarea.vue.d.ts +2 -2
  296. package/types/components/MazTransitionExpand.vue.d.ts +2 -2
  297. package/types/modules/composables/use-reading-time.d.ts +5 -5
  298. package/types/modules/composables/use-theme-handler.d.ts +2 -2
  299. package/types/modules/directives/closable.d.ts +2 -2
  300. package/types/modules/directives/tooltip/index.d.ts +4 -4
  301. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
  302. package/types/modules/directives/v-lazy-img/index.d.ts +1 -1
  303. package/types/modules/filters/capitalize.d.ts +1 -1
  304. package/types/modules/filters/currency.d.ts +1 -1
  305. package/types/modules/filters/date.d.ts +1 -1
  306. package/types/modules/filters/index.d.ts +8 -4
  307. package/types/modules/filters/number.d.ts +1 -1
  308. package/types/modules/filters/telephone.d.ts +1 -1
  309. package/types/modules/helpers/idle-timeout/idle-timeout-handler.d.ts +1 -1
  310. package/types/modules/helpers/mount-component.d.ts +2 -2
  311. package/types/modules/helpers/normalize-string.d.ts +2 -2
  312. package/types/modules/helpers/swipe-handler.d.ts +2 -2
  313. package/types/modules/helpers/user-visibility/types.d.ts +2 -2
  314. package/types/modules/plugins/aos/index.d.ts +3 -3
  315. package/types/modules/plugins/index.d.ts +2 -2
  316. package/types/modules/plugins/toaster/MazToast.vue.d.ts +3 -3
  317. package/types/modules/plugins/toaster/index.d.ts +1 -2
  318. package/types/modules/plugins/toaster/types.d.ts +6 -6
  319. package/types/modules/plugins/wait/utils.d.ts +4 -4
  320. package/types/resolvers/unplugin-directives-resolver.d.ts +1 -1
  321. package/types/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
  322. package/types/tailwindcss/tailwind.config.d.ts +71 -9
  323. package/types/tailwindcss/variables/z-indexes.d.ts +11 -11
  324. package/components/chunks/MazBtn-BOb7Fg_d.mjs +0 -151
  325. package/components/chunks/MazBtn-DpkJQ_3W.mjs +0 -151
  326. package/components/chunks/MazBtn-Dw_CR_0X.mjs +0 -151
  327. package/components/chunks/MazBtn-_NGDIlQK.mjs +0 -151
  328. package/components/chunks/MazExpandAnimation-Cin7sZ3I.mjs +0 -58
  329. package/components/chunks/MazPicker-CltoTa2Z.mjs +0 -2477
  330. package/components/chunks/MazSelect-DDKbowf3.mjs +0 -835
  331. package/components/chunks/MazSpinner-2ti3NQjo.mjs +0 -38
  332. package/components/chunks/MazSpinner-BZUmasIf.mjs +0 -38
  333. package/components/chunks/MazSpinner-C-lFmcUR.mjs +0 -38
  334. package/components/chunks/MazSpinner-C75WMoEA.mjs +0 -38
  335. package/components/chunks/MazSpinner-CA38Ikqe.mjs +0 -38
  336. package/components/chunks/MazSpinner-CAHOYqvB.mjs +0 -38
  337. package/components/chunks/MazSpinner-COOp2WX8.mjs +0 -38
  338. package/components/chunks/MazSpinner-D-ONjGGv.mjs +0 -38
  339. package/components/chunks/MazSpinner-DJkziC4O.mjs +0 -38
  340. package/components/chunks/MazSpinner-Di0F6oZz.mjs +0 -38
  341. package/components/chunks/MazSpinner-EcA0uOQv.mjs +0 -38
  342. package/components/chunks/MazSpinner-s_0BLDqW.mjs +0 -38
  343. package/components/chunks/MazTable-B9JiJ2B2.mjs +0 -1950
  344. package/modules/chunks/MazIcon-DdFYd3W8.cjs +0 -1
  345. package/modules/chunks/index-RvIMpzcQ.cjs +0 -124
  346. package/nuxt/runtime/composables/{use-aos.mjs → use-aos.js} +0 -0
  347. package/nuxt/runtime/composables/{use-theme-handler.mjs → use-theme-handler.js} +1 -1
  348. package/nuxt/runtime/composables/{use-toast.mjs → use-toast.js} +0 -0
  349. package/nuxt/runtime/composables/{use-wait.mjs → use-wait.js} +0 -0
  350. package/nuxt/runtime/plugins/{aos.mjs → aos.js} +1 -1
  351. package/nuxt/runtime/plugins/{maz-icon-path.mjs → maz-icon-path.js} +0 -0
  352. package/nuxt/runtime/plugins/{toaster.mjs → toaster.js} +1 -1
  353. package/nuxt/runtime/plugins/{v-click-outside.mjs → v-click-outside.js} +1 -1
  354. package/nuxt/runtime/plugins/{v-fullscreen-img.mjs → v-fullscreen-img.js} +1 -1
  355. package/nuxt/runtime/plugins/{v-lazy-img.mjs → v-lazy-img.js} +1 -1
  356. package/nuxt/runtime/plugins/{v-tooltip.mjs → v-tooltip.js} +1 -1
  357. package/nuxt/runtime/plugins/{v-zoom-img.mjs → v-zoom-img.js} +1 -1
  358. package/nuxt/runtime/plugins/{wait.mjs → wait.js} +1 -1
@@ -1,6 +1,5 @@
1
- import '../assets/MazDialogPromise.css';
2
- import { ref as S, defineComponent as j, onMounted as W, watch as K, openBlock as p, createBlock as h, Teleport as I, createVNode as x, Transition as U, withCtx as B, createElementBlock as T, normalizeClass as M, createElementVNode as E, withModifiers as q, mergeProps as F, renderSlot as g, createCommentVNode as u, defineAsyncComponent as P, useAttrs as X, computed as b, createTextVNode as D, toDisplayString as z, unref as c, Fragment as L, renderList as G } from "vue";
3
- const A = {
1
+ import { ref as S, defineComponent as j, onMounted as W, watch as K, openBlock as p, createBlock as h, Teleport as I, createVNode as x, Transition as U, withCtx as B, createElementBlock as T, normalizeClass as M, createElementVNode as E, withModifiers as q, mergeProps as F, renderSlot as g, createCommentVNode as d, defineAsyncComponent as P, useAttrs as X, computed as b, createTextVNode as D, toDisplayString as z, unref as c, Fragment as L, renderList as G } from "vue";
2
+ import '../assets/MazDialogPromise.css';const A = {
4
3
  cancelText: "Cancel",
5
4
  confirmText: "Confirm",
6
5
  cancelButton: {
@@ -12,31 +11,42 @@ const A = {
12
11
  text: "Confirm",
13
12
  color: "success"
14
13
  }
15
- }, J = S(A), w = S([]), Q = (i, o) => new Promise((a, r) => {
16
- w.value = [
17
- ...w.value,
18
- {
19
- id: i,
20
- isActive: !0,
21
- resolve: async (k) => {
22
- await (o == null ? void 0 : o()), a(k);
23
- },
24
- reject: r
25
- }
26
- ];
27
- }), H = (i) => (w.value = w.value.filter(({ id: o }) => o !== i), w.value), N = (i, o, a = !1) => {
28
- var r;
29
- o && ((r = o[i]) == null || r.call(o, a), o.isActive = !1, setTimeout(() => {
30
- H(o.id);
14
+ }, J = S(A), w = S([]);
15
+ function Q(i, t) {
16
+ return new Promise((u, n) => {
17
+ w.value = [
18
+ ...w.value,
19
+ {
20
+ id: i,
21
+ isActive: !0,
22
+ resolve: async (f) => {
23
+ await (t == null ? void 0 : t()), u(f);
24
+ },
25
+ reject: n
26
+ }
27
+ ];
28
+ });
29
+ }
30
+ function H(i) {
31
+ return w.value = w.value.filter(({ id: t }) => t !== i), w.value;
32
+ }
33
+ function N(i, t, u = !1) {
34
+ var n;
35
+ t && ((n = t[i]) == null || n.call(t, u), t.isActive = !1, setTimeout(() => {
36
+ H(t.id);
31
37
  }, 500));
32
- }, R = () => ({
33
- data: J,
34
- dialogState: w,
35
- showDialogAndWaitChoice: Q,
36
- removeDialogFromState: H,
37
- rejectDialog: (i, o = new Error("cancel")) => N("reject", i, o),
38
- resolveDialog: (i, o = "accept") => N("resolve", i, o)
39
- }), O = "--backdrop-present", Y = /* @__PURE__ */ j({
38
+ }
39
+ function R() {
40
+ return {
41
+ data: J,
42
+ dialogState: w,
43
+ showDialogAndWaitChoice: Q,
44
+ removeDialogFromState: H,
45
+ rejectDialog: (i, t = new Error("cancel")) => N("reject", i, t),
46
+ resolveDialog: (i, t = "accept") => N("resolve", i, t)
47
+ };
48
+ }
49
+ const O = "--backdrop-present", Y = /* @__PURE__ */ j({
40
50
  inheritAttrs: !1,
41
51
  __name: "MazBackdrop",
42
52
  props: {
@@ -50,18 +60,21 @@ const A = {
50
60
  backdropContentClass: { default: void 0 }
51
61
  },
52
62
  emits: ["open", "close", "update:model-value", "before-close"],
53
- setup(i, { expose: o, emit: a }) {
54
- const r = () => {
63
+ setup(i, { expose: t, emit: u }) {
64
+ const n = i, f = u;
65
+ function k() {
55
66
  document.documentElement.classList.add(O);
56
- }, k = async () => {
67
+ }
68
+ async function o() {
57
69
  document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(O);
58
- }, f = a, t = i, s = S(t.modelValue);
59
- function l() {
70
+ }
71
+ const s = S(n.modelValue);
72
+ function a() {
60
73
  $(!1);
61
74
  }
62
- async function $(n) {
75
+ async function $(l) {
63
76
  var V;
64
- n || (f("before-close"), await ((V = t.beforeClose) == null ? void 0 : V.call(t))), s.value = n;
77
+ l || (f("before-close"), await ((V = n.beforeClose) == null ? void 0 : V.call(n))), s.value = l;
65
78
  }
66
79
  function C() {
67
80
  f("open");
@@ -70,36 +83,36 @@ const A = {
70
83
  f("update:model-value", !1), f("close"), e();
71
84
  }
72
85
  function v() {
73
- t.persistent || l();
86
+ n.persistent || a();
74
87
  }
75
- function d(n) {
76
- !t.noCloseOnEscKey && n.key === "Escape" && !t.persistent && l();
88
+ function r(l) {
89
+ !n.noCloseOnEscKey && l.key === "Escape" && !n.persistent && a();
77
90
  }
78
91
  function y() {
79
- r(), document.addEventListener("keyup", d, !1);
92
+ k(), document.addEventListener("keyup", r, !1);
80
93
  }
81
94
  function e() {
82
- document.removeEventListener("keyup", d), k();
95
+ document.removeEventListener("keyup", r), o();
83
96
  }
84
97
  return W(() => {
85
- t.modelValue ? y() : e();
98
+ n.modelValue ? y() : e();
86
99
  }), K(
87
- () => t.modelValue,
88
- (n) => {
89
- s.value = n, n ? y() : e();
100
+ () => n.modelValue,
101
+ (l) => {
102
+ s.value = l, l ? y() : e();
90
103
  }
91
- ), o({
104
+ ), t({
92
105
  onBackdropAnimationEnter: C,
93
106
  onBackdropAnimationLeave: m,
94
107
  onBackdropClicked: v,
95
- close: l,
108
+ close: a,
96
109
  present: s,
97
110
  toggleModal: $,
98
- onKeyPress: d
99
- }), (n, V) => (p(), h(I, { to: n.teleportSelector }, [
111
+ onKeyPress: r
112
+ }), (l, V) => (p(), h(I, { to: l.teleportSelector }, [
100
113
  x(U, {
101
114
  appear: "",
102
- name: n.transitionName,
115
+ name: l.transitionName,
103
116
  onAfterEnter: C,
104
117
  onAfterLeave: m
105
118
  }, {
@@ -108,7 +121,7 @@ const A = {
108
121
  "div",
109
122
  {
110
123
  key: 0,
111
- class: M(["m-backdrop --present", [n.backdropClass]]),
124
+ class: M(["m-backdrop --present", [l.backdropClass]]),
112
125
  tabindex: "-1",
113
126
  role: "dialog"
114
127
  },
@@ -116,7 +129,7 @@ const A = {
116
129
  E(
117
130
  "button",
118
131
  {
119
- class: M(["m-backdrop-overlay", { "--disabled": n.persistent }]),
132
+ class: M(["m-backdrop-overlay", { "--disabled": l.persistent }]),
120
133
  tabindex: "-1",
121
134
  onClick: q(v, ["self"])
122
135
  },
@@ -127,13 +140,13 @@ const A = {
127
140
  E(
128
141
  "div",
129
142
  F({
130
- class: ["m-backdrop-content", n.backdropContentClass]
131
- }, n.$attrs, {
143
+ class: ["m-backdrop-content", l.backdropContentClass]
144
+ }, l.$attrs, {
132
145
  role: "document",
133
146
  tabindex: "0"
134
147
  }),
135
148
  [
136
- g(n.$slots, "default", { close: l })
149
+ g(l.$slots, "default", { close: a })
137
150
  ],
138
151
  16
139
152
  /* FULL_PROPS */
@@ -141,7 +154,7 @@ const A = {
141
154
  ],
142
155
  2
143
156
  /* CLASS */
144
- )) : u("v-if", !0)
157
+ )) : d("v-if", !0)
145
158
  ]),
146
159
  _: 3
147
160
  /* FORWARDED */
@@ -178,88 +191,88 @@ const A = {
178
191
  },
179
192
  emits: ["open", "close", "update:model-value"],
180
193
  setup(i) {
181
- const o = P(() => import("./MazBtn-Dw_CR_0X.mjs")), a = P(() => import("./x-mark-BP8zWe_C.mjs")), r = X(), k = b(() => ({
182
- ...r,
194
+ const t = P(() => import("./MazBtn-h3WmmaEO.mjs")), u = P(() => import("./x-mark-BP8zWe_C.mjs")), n = X(), f = b(() => ({
195
+ ...n,
183
196
  class: void 0,
184
197
  style: void 0
185
- })), f = b(() => ({
186
- class: r.class,
187
- style: r.style
198
+ })), k = b(() => ({
199
+ class: n.class,
200
+ style: n.style
188
201
  }));
189
- return (t, s) => (p(), h(Y, F(k.value, {
190
- persistent: t.persistent,
191
- "model-value": t.modelValue,
202
+ return (o, s) => (p(), h(Y, F(f.value, {
203
+ persistent: o.persistent,
204
+ "model-value": o.modelValue,
192
205
  "transition-name": "modal-anim",
193
206
  "aria-labelledby": "dialogTitle",
194
207
  "aria-describedby": "dialogDesc",
195
- onClose: s[0] || (s[0] = (l) => t.$emit("close", l)),
196
- onOpen: s[1] || (s[1] = (l) => t.$emit("open", l)),
197
- "onUpdate:modelValue": s[2] || (s[2] = (l) => t.$emit("update:model-value", l))
208
+ onClose: s[0] || (s[0] = (a) => o.$emit("close", a)),
209
+ onOpen: s[1] || (s[1] = (a) => o.$emit("open", a)),
210
+ "onUpdate:modelValue": s[2] || (s[2] = (a) => o.$emit("update:model-value", a))
198
211
  }), {
199
- default: B(({ close: l }) => [
212
+ default: B(({ close: a }) => [
200
213
  E(
201
214
  "div",
202
215
  F({
203
- class: ["m-dialog", { "--scrollable": t.scrollable }],
216
+ class: ["m-dialog", { "--scrollable": o.scrollable }],
204
217
  role: "dialog",
205
218
  "aria-modal": "true",
206
- style: [{ width: t.width, maxWidth: t.maxWidth, maxHeight: t.maxHeight }]
207
- }, f.value),
219
+ style: [{ width: o.width, maxWidth: o.maxWidth, maxHeight: o.maxHeight }]
220
+ }, k.value),
208
221
  [
209
- u(`
222
+ d(`
210
223
  @slot Header slot
211
224
  @binding {Function} close close function
212
225
  `),
213
- g(t.$slots, "header", { close: l }, () => [
226
+ g(o.$slots, "header", { close: a }, () => [
214
227
  E(
215
228
  "div",
216
229
  {
217
- class: M(["m-dialog-header", { "--has-title": t.$slots.title || t.title }])
230
+ class: M(["m-dialog-header", { "--has-title": o.$slots.title || o.title }])
218
231
  },
219
232
  [
220
- t.$slots.title || t.title ? (p(), T("h2", Z, [
221
- u(`
233
+ o.$slots.title || o.title ? (p(), T("h2", Z, [
234
+ d(`
222
235
  @slot Title slot in the header
223
236
  `),
224
- g(t.$slots, "title", {}, () => [
237
+ g(o.$slots, "title", {}, () => [
225
238
  D(
226
- z(t.title),
239
+ z(o.title),
227
240
  1
228
241
  /* TEXT */
229
242
  )
230
243
  ], !0)
231
- ])) : u("v-if", !0),
232
- !t.noClose && !t.persistent ? (p(), h(c(o), {
244
+ ])) : d("v-if", !0),
245
+ !o.noClose && !o.persistent ? (p(), h(c(t), {
233
246
  key: 1,
234
247
  class: "m-dialog-closebtn",
235
248
  color: "transparent",
236
- onClick: l
249
+ onClick: a
237
250
  }, {
238
251
  default: B(() => [
239
- x(c(a), { class: "maz-text-lg" })
252
+ x(c(u), { class: "maz-text-lg" })
240
253
  ]),
241
254
  _: 2
242
255
  /* DYNAMIC */
243
- }, 1032, ["onClick"])) : u("v-if", !0)
256
+ }, 1032, ["onClick"])) : d("v-if", !0)
244
257
  ],
245
258
  2
246
259
  /* CLASS */
247
260
  )
248
261
  ], !0),
249
262
  E("div", _, [
250
- u(`
263
+ d(`
251
264
  @slot Default content
252
265
  @binding {Function} close close function
253
266
  `),
254
- g(t.$slots, "default", { close: l }, void 0, !0)
267
+ g(o.$slots, "default", { close: a }, void 0, !0)
255
268
  ]),
256
- t.$slots.footer ? (p(), T("div", ee, [
257
- u(`
269
+ o.$slots.footer ? (p(), T("div", ee, [
270
+ d(`
258
271
  @slot Footer slot
259
272
  @binding {Function} close close function
260
273
  `),
261
- g(t.$slots, "footer", { close: l }, void 0, !0)
262
- ])) : u("v-if", !0)
274
+ g(o.$slots, "footer", { close: a }, void 0, !0)
275
+ ])) : d("v-if", !0)
263
276
  ],
264
277
  16
265
278
  /* FULL_PROPS */
@@ -269,12 +282,12 @@ const A = {
269
282
  /* FORWARDED */
270
283
  }, 16, ["persistent", "model-value"]));
271
284
  }
272
- }), oe = (i, o) => {
273
- const a = i.__vccOpts || i;
274
- for (const [r, k] of o)
275
- a[r] = k;
276
- return a;
277
- }, ne = /* @__PURE__ */ oe(te, [["__scopeId", "data-v-cb9a9d45"]]), le = { class: "maz-flex maz-items-center maz-gap-2" }, se = /* @__PURE__ */ j({
285
+ }), oe = (i, t) => {
286
+ const u = i.__vccOpts || i;
287
+ for (const [n, f] of t)
288
+ u[n] = f;
289
+ return u;
290
+ }, ne = /* @__PURE__ */ oe(te, [["__scopeId", "data-v-20ca3bcd"]]), le = { class: "maz-flex maz-items-center maz-gap-2" }, se = /* @__PURE__ */ j({
278
291
  __name: "MazDialogPromise",
279
292
  props: {
280
293
  data: { default: void 0 },
@@ -290,35 +303,35 @@ const A = {
290
303
  persistent: { type: Boolean }
291
304
  },
292
305
  setup(i) {
293
- const o = P(() => import("./MazBtn-Dw_CR_0X.mjs")), a = i, r = b(() => a.buttons ?? s.value.buttons), { dialogState: k, rejectDialog: f, resolveDialog: t, data: s } = R(), l = b(() => {
294
- var d, y, e, n;
295
- return ((d = s.value) == null ? void 0 : d.cancelButton) ?? ((y = a.data) == null ? void 0 : y.cancelButton) ?? A.cancelButton ? {
306
+ const t = i, u = P(() => import("./MazBtn-h3WmmaEO.mjs")), n = b(() => t.buttons ?? s.value.buttons), { dialogState: f, rejectDialog: k, resolveDialog: o, data: s } = R(), a = b(() => {
307
+ var r, y, e, l;
308
+ return ((r = s.value) == null ? void 0 : r.cancelButton) ?? ((y = t.data) == null ? void 0 : y.cancelButton) ?? A.cancelButton ? {
296
309
  ...A.cancelButton,
297
310
  ...(e = s.value) == null ? void 0 : e.cancelButton,
298
- ...(n = a.data) == null ? void 0 : n.cancelButton
311
+ ...(l = t.data) == null ? void 0 : l.cancelButton
299
312
  } : !1;
300
313
  }), $ = b(() => {
301
- var d, y, e, n;
302
- return ((d = s.value) == null ? void 0 : d.confirmButton) ?? ((y = a.data) == null ? void 0 : y.confirmButton) ?? A.confirmButton ? {
314
+ var r, y, e, l;
315
+ return ((r = s.value) == null ? void 0 : r.confirmButton) ?? ((y = t.data) == null ? void 0 : y.confirmButton) ?? A.confirmButton ? {
303
316
  ...A.confirmButton,
304
317
  ...(e = s.value) == null ? void 0 : e.confirmButton,
305
- ...(n = a.data) == null ? void 0 : n.confirmButton
318
+ ...(l = t.data) == null ? void 0 : l.confirmButton
306
319
  } : !1;
307
320
  }), C = b(() => ({
308
321
  ...A,
309
322
  ...s.value,
310
- ...a.data
323
+ ...t.data
311
324
  })), m = b(
312
- () => k.value.find(({ id: v }) => v === a.identifier)
325
+ () => f.value.find(({ id: v }) => v === t.identifier)
313
326
  );
314
- return (v, d) => {
327
+ return (v, r) => {
315
328
  var y;
316
329
  return p(), h(ne, {
317
330
  "model-value": ((y = m.value) == null ? void 0 : y.isActive) ?? !1,
318
- "onUpdate:modelValue": d[2] || (d[2] = (e) => c(f)(m.value))
331
+ "onUpdate:modelValue": r[2] || (r[2] = (e) => c(k)(m.value))
319
332
  }, {
320
333
  title: B(() => [
321
- u(`
334
+ d(`
322
335
  @slot title slot - Place your title
323
336
  `),
324
337
  g(v.$slots, "title", {}, () => {
@@ -333,14 +346,14 @@ const A = {
333
346
  })
334
347
  ]),
335
348
  default: B(() => [
336
- u(`
349
+ d(`
337
350
  @slot Default slot - Place your content
338
351
  @binding {Function} resolve resolve function
339
352
  @binding {Function} reject reject function
340
353
  `),
341
354
  g(v.$slots, "default", {
342
- resolve: (e) => c(t)(m.value, e),
343
- reject: (e) => c(f)(m.value, e)
355
+ resolve: (e) => c(o)(m.value, e),
356
+ reject: (e) => c(k)(m.value, e)
344
357
  }, () => {
345
358
  var e;
346
359
  return [
@@ -353,21 +366,21 @@ const A = {
353
366
  })
354
367
  ]),
355
368
  footer: B(() => [
356
- u(`
369
+ d(`
357
370
  @slot Footer slot
358
371
  @binding {Function} resolve resolve function
359
372
  @binding {Function} reject reject function
360
373
  `),
361
374
  g(v.$slots, "footer-button", {
362
- resolve: (e) => c(t)(m.value, e),
363
- reject: (e) => c(f)(m.value, e)
375
+ resolve: (e) => c(o)(m.value, e),
376
+ reject: (e) => c(k)(m.value, e)
364
377
  }, () => [
365
378
  E("div", le, [
366
- r.value && r.value.length > 0 ? (p(!0), T(
379
+ n.value && n.value.length > 0 ? (p(!0), T(
367
380
  L,
368
381
  { key: 0 },
369
- G(r.value, (e, n) => (p(), h(c(o), {
370
- key: n,
382
+ G(n.value, (e, l) => (p(), h(c(u), {
383
+ key: l,
371
384
  color: e.color,
372
385
  size: e.size,
373
386
  outline: e.outline,
@@ -375,7 +388,7 @@ const A = {
375
388
  disabled: e.disabled,
376
389
  block: e.block,
377
390
  loading: e.loading,
378
- onClick: (V) => e.type === "resolve" ? c(t)(m.value, e.response) : c(f)(m.value, e.response)
391
+ onClick: (V) => e.type === "resolve" ? c(o)(m.value, e.response) : c(k)(m.value, e.response)
379
392
  }, {
380
393
  default: B(() => [
381
394
  D(
@@ -393,22 +406,22 @@ const A = {
393
406
  L,
394
407
  { key: 1 },
395
408
  [
396
- l.value ? (p(), h(
397
- c(o),
398
- F({ key: 0 }, l.value, {
409
+ a.value ? (p(), h(
410
+ c(u),
411
+ F({ key: 0 }, a.value, {
399
412
  outline: "",
400
- onClick: d[0] || (d[0] = (e) => c(f)(m.value))
413
+ onClick: r[0] || (r[0] = (e) => c(k)(m.value))
401
414
  }),
402
415
  {
403
416
  default: B(() => [
404
- u(`
417
+ d(`
405
418
  @slot cancel-text slot - Place your cancel text
406
419
  `),
407
420
  g(v.$slots, "cancel-text", {}, () => {
408
421
  var e;
409
422
  return [
410
423
  D(
411
- z(l.value.text ?? ((e = C.value) == null ? void 0 : e.cancelText)),
424
+ z(a.value.text ?? ((e = C.value) == null ? void 0 : e.cancelText)),
412
425
  1
413
426
  /* TEXT */
414
427
  )
@@ -420,15 +433,15 @@ const A = {
420
433
  },
421
434
  16
422
435
  /* FULL_PROPS */
423
- )) : u("v-if", !0),
436
+ )) : d("v-if", !0),
424
437
  $.value ? (p(), h(
425
- c(o),
438
+ c(u),
426
439
  F({ key: 1 }, $.value, {
427
- onClick: d[1] || (d[1] = (e) => c(t)(m.value))
440
+ onClick: r[1] || (r[1] = (e) => c(o)(m.value))
428
441
  }),
429
442
  {
430
443
  default: B(() => [
431
- u(`
444
+ d(`
432
445
  @slot confirm-text slot - Place your confirm text
433
446
  `),
434
447
  g(v.$slots, "confirm-text", {}, () => [
@@ -444,7 +457,7 @@ const A = {
444
457
  },
445
458
  16
446
459
  /* FULL_PROPS */
447
- )) : u("v-if", !0)
460
+ )) : d("v-if", !0)
448
461
  ],
449
462
  64
450
463
  /* STABLE_FRAGMENT */
@@ -1,9 +1,8 @@
1
- import '../assets/MazDropzone.css';
2
1
  import { defineAsyncComponent as H, defineComponent as Q, ref as h, computed as V, onMounted as j, onBeforeUnmount as I, resolveComponent as N, openBlock as f, createElementBlock as T, normalizeStyle as W, renderSlot as w, createElementVNode as c, toDisplayString as y, createBlock as J } from "vue";
3
- function G(n) {
2
+ import '../assets/MazDropzone.css';function G(n) {
4
3
  return n.default ?? n;
5
4
  }
6
- const K = H(() => import("./MazSpinner-DJkziC4O.mjs")), P = `<div class="dz-preview dz-file-preview maz-flex-1">
5
+ const K = H(() => import("./MazSpinner-BGPOws6a.mjs")), P = `<div class="dz-preview dz-file-preview maz-flex-1">
7
6
  <div class="dz-image">
8
7
  <div data-dz-thumbnail-bg></div>
9
8
  </div>
@@ -70,21 +69,26 @@ const K = H(() => import("./MazSpinner-DJkziC4O.mjs")), P = `<div class="dz-prev
70
69
  const g = h(), v = V(() => ({
71
70
  width: typeof n.width == "number" ? `${n.width}px` : n.width,
72
71
  height: typeof n.height == "number" ? `${n.height}px` : n.height
73
- })), u = (s, l) => {
72
+ })), u = (s, l) => (e.options = {
73
+ ...e.options,
74
+ [s]: l
75
+ }, e.options), m = (s, l) => {
76
+ e.emit("addedfile", s), e.emit("thumbnail", s, l), e.files.push(s);
77
+ }, F = (s) => e.removeAllFiles(s), b = () => e.processQueue(), x = () => e.destroy(), M = () => e.disable(), _ = () => e.enable(), S = (s, l) => e.accept(s, l), A = (s) => e.addFile(s), O = (s, l, d, o, a) => e.resizeImage(s, l, d, o, a), C = (s) => e.cancelUpload(s), z = () => e.getAcceptedFiles(), k = () => e.getRejectedFiles(), B = () => e.getFilesWithStatus(status), E = () => e.getQueuedFiles(), $ = () => e.getUploadingFiles(), D = () => e.getAddedFiles(), R = () => e.getActiveFiles(), U = (s, l) => {
74
78
  t("thumbnail", { file: s, dataUrl: l });
75
79
  let d;
76
80
  s.previewElement.classList.remove("dz-file-preview"), s.previewElement.querySelectorAll("[data-dz-thumbnail-bg]").forEach((a) => {
77
81
  d = a, d.alt = s.name, d.style.backgroundImage = `url('${l}')`;
78
82
  }), s.status === "success" && e.emit("complete", s);
79
- }, m = (s, l, d) => {
83
+ }, q = (s, l, d) => {
80
84
  t("error", { file: s, message: l, xhr: d }), e.options.autoRemoveOnError && setTimeout(() => e.removeFile(s), 3e3);
81
- }, F = (s, l, d) => {
85
+ }, L = (s, l, d) => {
82
86
  t("error", { files: s, message: l, xhr: d }), e.options.autoRemoveOnError && setTimeout(() => {
83
87
  for (const o of s)
84
88
  e.removeFile(o);
85
89
  }, 3e3);
86
90
  };
87
- j(async () => {
91
+ return j(async () => {
88
92
  const s = {
89
93
  parallelUploads: n.options.maxFiles,
90
94
  previewTemplate: P,
@@ -95,16 +99,10 @@ const K = H(() => import("./MazSpinner-DJkziC4O.mjs")), P = `<div class="dz-prev
95
99
  e = new d(r.value, {
96
100
  ...s,
97
101
  ...n.options
98
- }), e && (g.value = e.options, p.value = !0, e.on("thumbnail", u), e.on("error", m), e.on("errormultiple", F), e.on("drop", (o) => t("drop", o)), e.on("dragstart", (o) => t("dragstart", o)), e.on("dragend", (o) => t("dragend", o)), e.on("dragenter", (o) => t("dragenter", o)), e.on("dragover", (o) => t("dragover", o)), e.on("dragleave", (o) => t("dragleave", o)), e.on("paste", (o) => t("paste", o)), e.on("addedfile", (o) => t("addedfile", o)), e.on("addedfiles", (o) => t("addedfiles", o)), e.on("removedfile", (o) => t("removedfile", o)), e.on(
102
+ }), e && (g.value = e.options, p.value = !0, e.on("thumbnail", U), e.on("error", q), e.on("errormultiple", L), e.on("drop", (o) => t("drop", o)), e.on("dragstart", (o) => t("dragstart", o)), e.on("dragend", (o) => t("dragend", o)), e.on("dragenter", (o) => t("dragenter", o)), e.on("dragover", (o) => t("dragover", o)), e.on("dragleave", (o) => t("dragleave", o)), e.on("paste", (o) => t("paste", o)), e.on("addedfile", (o) => t("addedfile", o)), e.on("addedfiles", (o) => t("addedfiles", o)), e.on("removedfile", (o) => t("removedfile", o)), e.on(
99
103
  "success",
100
104
  (o, a) => t("success", { file: o, response: a })
101
- ), e.on(
102
- "successmultiple",
103
- (o, a) => t("success", { files: o, responseText: a })
104
- ), e.on("processing", (o) => t("processing", o)), e.on(
105
- "processingmultiple",
106
- (o) => t("processingmultiple", o)
107
- ), e.on(
105
+ ), e.on("successmultiple", (o, a) => t("success", { files: o, responseText: a })), e.on("processing", (o) => t("processing", o)), e.on("processingmultiple", (o) => t("processingmultiple", o)), e.on(
108
106
  "uploadprogress",
109
107
  (o, a, i) => t("uploadprogress", { file: o, progress: a, bytesSent: i })
110
108
  ), e.on(
@@ -114,57 +112,38 @@ const K = H(() => import("./MazSpinner-DJkziC4O.mjs")), P = `<div class="dz-prev
114
112
  totalBytes: a,
115
113
  totalBytesSent: i
116
114
  })
117
- ), e.on(
118
- "sending",
119
- (o, a, i) => t("sending", { file: o, xhr: a, formData: i })
120
- ), e.on(
115
+ ), e.on("sending", (o, a, i) => t("sending", { file: o, xhr: a, formData: i })), e.on(
121
116
  "sendingmultiple",
122
117
  (o, a, i) => t("sendingmultiple", { files: o, xhr: a, formData: i })
123
- ), e.on("canceled", (o) => t("canceled", o)), e.on(
124
- "canceledmultiple",
125
- (o) => t("canceledmultiple", o)
126
- ), e.on("complete", (o) => t("complete", o)), e.on(
127
- "completemultiple",
128
- (o) => t("completemultiple", o)
129
- ), e.on("maxfilesexceeded", (o) => t("maxfilesexceeded", o)), e.on(
130
- "maxfilesreached",
131
- (o) => t("maxfilesreached", o)
132
- ), e.on("queuecomplete", () => {
118
+ ), e.on("canceled", (o) => t("canceled", o)), e.on("canceledmultiple", (o) => t("canceledmultiple", o)), e.on("complete", (o) => t("complete", o)), e.on("completemultiple", (o) => t("completemultiple", o)), e.on("maxfilesexceeded", (o) => t("maxfilesexceeded", o)), e.on("maxfilesreached", (o) => t("maxfilesreached", o)), e.on("queuecomplete", () => {
133
119
  z().every((o) => o.manuallyAdded) || t("queuecomplete");
134
120
  }), e.on("reset", () => t("reset")));
135
121
  }
136
- });
137
- const b = (s, l) => (e.options = {
138
- ...e.options,
139
- [s]: l
140
- }, e.options), x = (s, l) => {
141
- e.emit("addedfile", s), e.emit("thumbnail", s, l), e.files.push(s);
142
- }, M = (s) => e.removeAllFiles(s), _ = () => e.processQueue(), S = () => e.destroy(), A = () => e.disable(), O = () => e.enable(), C = (s, l) => e.accept(s, l), k = (s) => e.addFile(s), B = (s, l, d, o, a) => e.resizeImage(s, l, d, o, a), E = (s) => e.cancelUpload(s), z = () => e.getAcceptedFiles(), $ = () => e.getRejectedFiles(), D = () => e.getFilesWithStatus(status), R = () => e.getQueuedFiles(), U = () => e.getUploadingFiles(), q = () => e.getAddedFiles(), L = () => e.getActiveFiles();
143
- return I(() => {
122
+ }), I(() => {
144
123
  n.noDestroyOnUnmount || e.destroy();
145
124
  }), {
146
125
  ButtonElement: r,
147
126
  dropzoneReady: p,
148
127
  dropzoneOptions: g,
149
128
  dropzoneStyle: v,
150
- setOption: b,
151
- manuallyAddFile: x,
152
- removeAllFiles: M,
153
- processQueue: _,
154
- destroy: S,
155
- disable: A,
156
- enable: O,
157
- accept: C,
158
- addFile: k,
159
- resizeImage: B,
160
- cancelUpload: E,
129
+ setOption: u,
130
+ manuallyAddFile: m,
131
+ removeAllFiles: F,
132
+ processQueue: b,
133
+ destroy: x,
134
+ disable: M,
135
+ enable: _,
136
+ accept: S,
137
+ addFile: A,
138
+ resizeImage: O,
139
+ cancelUpload: C,
161
140
  getAcceptedFiles: z,
162
- getRejectedFiles: $,
163
- getFilesWithStatus: D,
164
- getQueuedFiles: R,
165
- getUploadingFiles: U,
166
- getAddedFiles: q,
167
- getActiveFiles: L
141
+ getRejectedFiles: k,
142
+ getFilesWithStatus: B,
143
+ getQueuedFiles: E,
144
+ getUploadingFiles: $,
145
+ getAddedFiles: D,
146
+ getActiveFiles: R
168
147
  };
169
148
  }
170
149
  }), Y = (n, t) => {