maz-ui 3.47.2-beta.2 → 3.47.2-beta.20

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 (366) hide show
  1. package/components/MazAccordion.d.ts +3 -2
  2. package/components/MazAccordion.mjs +90 -98
  3. package/components/MazAnimatedCounter.d.ts +16 -32
  4. package/components/MazAnimatedCounter.mjs +26 -26
  5. package/components/MazAvatar.d.ts +2 -1
  6. package/components/MazAvatar.mjs +1 -1
  7. package/components/MazBackdrop.d.ts +23 -14
  8. package/components/MazBackdrop.mjs +107 -82
  9. package/components/MazBadge.d.ts +7 -2
  10. package/components/MazBadge.mjs +1 -1
  11. package/components/MazBottomSheet.d.ts +13 -25
  12. package/components/MazBottomSheet.mjs +1 -1
  13. package/components/MazBtn.d.ts +4 -3
  14. package/components/MazBtn.mjs +1 -1
  15. package/components/MazCard.d.ts +5 -4
  16. package/components/MazCard.mjs +1 -1
  17. package/components/MazCardSpotlight.d.ts +3 -2
  18. package/components/MazCardSpotlight.mjs +18 -22
  19. package/components/MazCarousel.d.ts +3 -2
  20. package/components/MazCarousel.mjs +1 -1
  21. package/components/MazCheckbox.d.ts +4 -3
  22. package/components/MazCheckbox.mjs +86 -83
  23. package/components/MazChecklist.d.ts +2 -5
  24. package/components/MazChecklist.mjs +1 -1
  25. package/components/MazCircularProgressBar.d.ts +31 -60
  26. package/components/MazCircularProgressBar.mjs +76 -74
  27. package/components/MazDialog.d.ts +24 -33
  28. package/components/MazDialog.mjs +1 -1
  29. package/components/MazDialogPromise.d.ts +3 -3
  30. package/components/MazDialogPromise.mjs +1 -1
  31. package/components/MazDrawer.d.ts +9 -5
  32. package/components/MazDrawer.mjs +2 -194
  33. package/components/MazDropdown.d.ts +25 -3
  34. package/components/MazDropdown.mjs +2 -325
  35. package/components/MazDropzone.d.ts +1 -1
  36. package/components/MazExpandAnimation.d.ts +6 -5
  37. package/components/MazExpandAnimation.mjs +22 -25
  38. package/components/MazFullscreenLoader.d.ts +2 -1
  39. package/components/MazFullscreenLoader.mjs +7 -7
  40. package/components/MazGallery.d.ts +1 -1
  41. package/components/MazGallery.mjs +1 -1
  42. package/components/MazIcon.mjs +14 -13
  43. package/components/MazInput.d.ts +16 -3
  44. package/components/MazInput.mjs +1 -1
  45. package/components/MazInputCode.d.ts +1 -1
  46. package/components/MazInputCode.mjs +36 -39
  47. package/components/MazInputNumber.d.ts +2 -2
  48. package/components/MazInputNumber.mjs +1 -1
  49. package/components/MazInputPrice.d.ts +4 -3
  50. package/components/MazInputPrice.mjs +1 -1
  51. package/components/MazInputTags.mjs +1 -1
  52. package/components/MazLazyImg.d.ts +2 -1
  53. package/components/MazLink.d.ts +2 -1
  54. package/components/MazLink.mjs +1 -1
  55. package/components/MazLoadingBar.d.ts +1 -1
  56. package/components/MazLoadingBar.mjs +31 -27
  57. package/components/MazPagination.d.ts +3 -2
  58. package/components/MazPagination.mjs +1 -1
  59. package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +31 -55
  60. package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +5 -5
  61. package/components/MazPhoneNumberInput/types.d.ts +2 -1
  62. package/components/MazPhoneNumberInput/{use-libphonenumber.d.ts → useLibphonenumber.d.ts} +4 -4
  63. package/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
  64. package/components/MazPhoneNumberInput.d.ts +69 -25
  65. package/components/MazPhoneNumberInput.mjs +1 -1
  66. package/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
  67. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
  68. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  69. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
  70. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
  71. package/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
  72. package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  73. package/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
  74. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
  75. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
  76. package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  77. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
  78. package/components/MazPicker.d.ts +3 -1
  79. package/components/MazPicker.mjs +1 -1
  80. package/components/MazPullToRefresh.d.ts +4 -3
  81. package/components/MazRadio.d.ts +1 -1
  82. package/components/MazRadio.mjs +31 -37
  83. package/components/MazRadioButtons.d.ts +1 -1
  84. package/components/MazReadingProgressBar.d.ts +1 -1
  85. package/components/MazSelect.d.ts +2 -2
  86. package/components/MazSelect.mjs +1 -1
  87. package/components/MazSlider.d.ts +1 -1
  88. package/components/MazSpinner.d.ts +1 -1
  89. package/components/MazStepper.d.ts +3 -2
  90. package/components/MazStepper.mjs +1 -1
  91. package/components/MazSwitch.d.ts +2 -1
  92. package/components/MazSwitch.mjs +29 -33
  93. package/components/MazTable.d.ts +8 -2
  94. package/components/MazTable.mjs +3 -2
  95. package/components/MazTableCell.d.ts +3 -2
  96. package/components/MazTableCell.mjs +12 -12
  97. package/components/MazTableRow.d.ts +3 -2
  98. package/components/MazTableRow.mjs +16 -16
  99. package/components/MazTableTitle.d.ts +3 -2
  100. package/components/MazTableTitle.mjs +18 -18
  101. package/components/MazTabs.d.ts +3 -2
  102. package/components/MazTabsBar.d.ts +3 -2
  103. package/components/MazTabsBar.mjs +1 -1
  104. package/components/MazTabsContent.d.ts +3 -2
  105. package/components/MazTabsContent.mjs +4 -4
  106. package/components/MazTabsContentItem.d.ts +2 -1
  107. package/components/MazTabsContentItem.mjs +11 -11
  108. package/components/MazTextarea.d.ts +58 -32
  109. package/components/MazTextarea.mjs +128 -109
  110. package/components/MazTransitionExpand.d.ts +2 -1
  111. package/components/MazTransitionExpand.mjs +9 -9
  112. package/components/assets/MazAccordion.css +1 -1
  113. package/components/assets/MazAnimatedCounter.css +1 -1
  114. package/components/assets/MazAvatar.css +1 -1
  115. package/components/assets/MazBackdrop.css +1 -1
  116. package/components/assets/MazBadge.css +1 -1
  117. package/components/assets/MazBottomSheet.css +1 -1
  118. package/components/assets/MazBtn.css +1 -1
  119. package/components/assets/MazCardSpotlight.css +1 -1
  120. package/components/assets/MazCheckbox.css +1 -1
  121. package/components/assets/MazChecklist.css +1 -1
  122. package/components/assets/MazCircularProgressBar.css +1 -1
  123. package/components/assets/MazDialog.css +1 -1
  124. package/components/assets/MazDialogPromise.css +1 -1
  125. package/components/assets/MazDrawer.css +1 -1
  126. package/components/assets/MazDropdown.css +1 -1
  127. package/components/assets/MazExpandAnimation.css +1 -1
  128. package/components/assets/MazGallery.css +1 -1
  129. package/components/assets/MazInput.css +1 -1
  130. package/components/assets/MazInputCode.css +1 -1
  131. package/components/assets/MazInputNumber.css +1 -1
  132. package/components/assets/MazInputPrice.css +1 -1
  133. package/components/assets/MazInputTags.css +1 -1
  134. package/components/assets/MazLoadingBar.css +1 -1
  135. package/components/assets/MazPagination.css +1 -1
  136. package/components/assets/MazPhoneNumberInput.css +1 -1
  137. package/components/assets/MazPicker.css +1 -1
  138. package/components/assets/MazRadio.css +1 -1
  139. package/components/assets/MazSelect.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-DFoZvWmg.mjs → MazAvatar-CZzOIbzh.mjs} +54 -54
  151. package/components/chunks/{MazBadge-CqppWg2j.mjs → MazBadge-DCzaExPj.mjs} +2 -2
  152. package/components/chunks/MazBottomSheet-DGsGO0zo.mjs +224 -0
  153. package/components/chunks/MazBtn-B5ioqwkK.mjs +103 -0
  154. package/components/chunks/MazBtn-BS2kvd1Z.mjs +103 -0
  155. package/components/chunks/MazBtn-BVWOyFm-.mjs +103 -0
  156. package/components/chunks/MazBtn-BrfhtojY.mjs +103 -0
  157. package/components/chunks/MazBtn-C4nwxs9T.mjs +103 -0
  158. package/components/chunks/MazBtn-C60T0UDa.mjs +103 -0
  159. package/components/chunks/MazBtn-CElHmZjv.mjs +103 -0
  160. package/components/chunks/MazBtn-CM-xSnA5.mjs +108 -0
  161. package/components/chunks/MazBtn-CsLtHm4K.mjs +103 -0
  162. package/components/chunks/MazBtn-D1jMqwE1.mjs +103 -0
  163. package/components/chunks/MazBtn-D4NOcykx.mjs +103 -0
  164. package/components/chunks/MazBtn-Db6ai-Mv.mjs +103 -0
  165. package/components/chunks/MazBtn-ZAcYNusG.mjs +103 -0
  166. package/components/chunks/MazBtn-oZhhJy09.mjs +103 -0
  167. package/components/chunks/{MazCard-BYB8y1_u.mjs → MazCard-98OuVlyK.mjs} +1 -1
  168. package/components/chunks/{MazCarousel-DccWVW8H.mjs → MazCarousel-COTaKhKF.mjs} +1 -1
  169. package/components/chunks/{MazCheckbox-DMogZVHl.mjs → MazCheckbox-B5ZcWc3y.mjs} +63 -59
  170. package/components/chunks/{MazCheckbox-B22OcHt8.mjs → MazCheckbox-BDPgDiU3.mjs} +63 -59
  171. package/components/chunks/{MazCheckbox-Db6sPUbV.mjs → MazCheckbox-BeLByOEa.mjs} +64 -60
  172. package/components/chunks/{MazChecklist-C95Y4Hb-.mjs → MazChecklist-BurPprmw.mjs} +110 -111
  173. package/components/chunks/MazDialog-Ca3jJ12T.mjs +297 -0
  174. package/components/chunks/MazDialogPromise-DOnmLhui.mjs +551 -0
  175. package/components/chunks/MazDrawer-Bas9dy0D.mjs +226 -0
  176. package/components/chunks/MazDropdown-0r445NfW.mjs +426 -0
  177. package/components/chunks/MazExpandAnimation-Bdf0-L85.mjs +54 -0
  178. package/components/chunks/{MazGallery-VTZUhBKC.mjs → MazGallery-r8SBTCgJ.mjs} +42 -45
  179. package/components/chunks/{MazGallery-CXQiXWFr.mjs → MazGallery-xPp1apvO.mjs} +94 -97
  180. package/components/chunks/MazIcon-BoTByt7n.mjs +4 -0
  181. package/components/chunks/{MazIcon-DjMuw8Bz.mjs → MazIcon-C-aPrqx2.mjs} +4 -3
  182. package/components/chunks/{MazIcon-BF5TFzse.mjs → MazIcon-CaXpmvN2.mjs} +4 -3
  183. package/components/chunks/{MazIcon-BbvBov5G.mjs → MazIcon-_hN-Kivn.mjs} +14 -13
  184. package/components/chunks/MazInput-BT-mbJfZ.mjs +313 -0
  185. package/components/chunks/MazInput-BTIdtLkD.mjs +314 -0
  186. package/components/chunks/MazInput-BfWJoPre.mjs +324 -0
  187. package/components/chunks/MazInputNumber-R0RzDeyD.mjs +600 -0
  188. package/components/chunks/{MazInputPrice-DoTnDDIN.mjs → MazInputPrice-CKSdqO4X.mjs} +200 -169
  189. package/components/chunks/{MazInputTags-Dj3sW-e5.mjs → MazInputTags-D6jQ2-Ia.mjs} +248 -220
  190. package/components/chunks/{MazLazyImg-C03sUOXs.mjs → MazLazyImg-DQLwaKKz.mjs} +2 -2
  191. package/components/chunks/{MazLink-C_3Wya94.mjs → MazLink-tud3eDgU.mjs} +1 -1
  192. package/components/chunks/MazLoadingBar-D3pDBJSb.mjs +36 -0
  193. package/components/chunks/MazPagination-BSu0Ifkp.mjs +327 -0
  194. package/components/chunks/{MazPhoneNumberInput-BbssOUzo.mjs → MazPhoneNumberInput-DibUhBpk.mjs} +762 -731
  195. package/components/chunks/MazPicker-CwiuW5Pv.mjs +2486 -0
  196. package/components/chunks/{MazPickerMonthSwitcher-CmFFQoPA.mjs → MazPickerMonthSwitcher-C65el7R0.mjs} +1 -1
  197. package/components/chunks/{MazPickerShortcuts-DaELz7aq.mjs → MazPickerShortcuts-DbrOoszH.mjs} +1 -1
  198. package/components/chunks/{MazPickerYearSwitcher-m1_KXnpA.mjs → MazPickerYearSwitcher-D9lqntyR.mjs} +1 -1
  199. package/components/chunks/MazSelect-CbT4tFqV.mjs +550 -0
  200. package/components/chunks/MazSelect-CyWAOXo4.mjs +867 -0
  201. package/components/chunks/MazSpinner-BDda3YzZ.mjs +34 -0
  202. package/components/chunks/{MazSpinner-BcB0szZB.mjs → MazSpinner-BlbTztM3.mjs} +1 -1
  203. package/components/chunks/{MazSpinner-CfiIXW8y.mjs → MazSpinner-C2-JMhVh.mjs} +1 -1
  204. package/components/chunks/{MazSpinner-BsYJDmi9.mjs → MazSpinner-C6h03sqc.mjs} +1 -1
  205. package/components/chunks/MazSpinner-CS1_l-tv.mjs +34 -0
  206. package/components/chunks/{MazSpinner-DmiLBQgR.mjs → MazSpinner-Cp_nPioh.mjs} +1 -1
  207. package/components/chunks/{MazSpinner-Bb3f2t6w.mjs → MazSpinner-CwmaAuL1.mjs} +1 -1
  208. package/components/chunks/{MazSpinner-BpkPcfCt.mjs → MazSpinner-D5Sbo759.mjs} +1 -1
  209. package/components/chunks/MazSpinner-DPur0-r-.mjs +34 -0
  210. package/components/chunks/MazSpinner-DYE8e9xl.mjs +34 -0
  211. package/components/chunks/MazSpinner-DjUU4G1h.mjs +34 -0
  212. package/components/chunks/{MazSpinner-C-64WJje.mjs → MazSpinner-DqD51Fb6.mjs} +1 -1
  213. package/components/chunks/MazSpinner-DudoF-cG.mjs +34 -0
  214. package/components/chunks/MazSpinner-EAz0nFxC.mjs +34 -0
  215. package/components/chunks/{MazSpinner-DoRGA1RI.mjs → MazSpinner-N-1gjTUE.mjs} +1 -1
  216. package/components/chunks/MazSpinner-QfPXLpa_.mjs +34 -0
  217. package/components/chunks/MazSpinner-ZFhNCy24.mjs +34 -0
  218. package/components/chunks/MazSpinner-b90e3OQK.mjs +34 -0
  219. package/components/chunks/MazSpinner-mtv0dluJ.mjs +34 -0
  220. package/components/chunks/MazStepper-B3fuhbye.mjs +218 -0
  221. package/components/chunks/{MazTable-BJDPdIJB.mjs → MazTable-hA0HicaL.mjs} +85 -81
  222. package/components/chunks/MazTableCell-DkCidYWY.mjs +23 -0
  223. package/components/chunks/MazTableRow-BAl6Fzm8.mjs +30 -0
  224. package/components/chunks/{MazTableTitle-Ch-nyY1E.mjs → MazTableTitle-CY_LNDOk.mjs} +4 -4
  225. package/components/chunks/{MazTabsBar-CM-w7V97.mjs → MazTabsBar--Xq_cpuz.mjs} +62 -78
  226. package/components/chunks/{MazTransitionExpand-PmUDa51_.mjs → MazTransitionExpand-Cedz9Ree.mjs} +8 -8
  227. package/components/chunks/{inject-strict-BmiaNiwC.mjs → inject-strict-DEDSuzCz.mjs} +3 -3
  228. package/components/chunks/useInstanceUniqId-BkOfxhk8.mjs +10 -0
  229. package/css/main.css +1 -1
  230. package/modules/assets/MazBtn.css +1 -1
  231. package/modules/assets/index.css +1 -1
  232. package/modules/chunks/MazBtn-CFge_w1W.cjs +1 -0
  233. package/modules/chunks/MazBtn-yNCoLFA6.mjs +103 -0
  234. package/modules/chunks/{MazIcon-DEgoQbMj.mjs → MazIcon-C3__MBEL.mjs} +4 -3
  235. package/modules/chunks/{MazIcon-CkuzyufF.cjs → MazIcon-CqhvM2xp.cjs} +1 -1
  236. package/modules/chunks/{MazSpinner-BurN-1pb.mjs → MazSpinner-C4XtaFJk.mjs} +1 -1
  237. package/modules/chunks/{MazSpinner-jP4QsCNE.cjs → MazSpinner-DkJAN36F.cjs} +1 -1
  238. package/modules/chunks/index-Bawg2UGE.cjs +124 -0
  239. package/modules/chunks/{index-CxFUggmu.mjs → index-CXu9R01-.mjs} +1207 -962
  240. package/modules/index.cjs +1 -1
  241. package/modules/index.mjs +47 -46
  242. package/nuxt/index.json +1 -1
  243. package/package.json +23 -22
  244. package/tailwindcss/variables/colors.ts +2 -0
  245. package/types/components/MazAccordion.vue.d.ts +3 -2
  246. package/types/components/MazAnimatedCounter.vue.d.ts +16 -32
  247. package/types/components/MazAvatar.vue.d.ts +2 -1
  248. package/types/components/MazBackdrop.vue.d.ts +23 -14
  249. package/types/components/MazBadge.vue.d.ts +7 -2
  250. package/types/components/MazBottomSheet.vue.d.ts +13 -25
  251. package/types/components/MazBtn.vue.d.ts +4 -3
  252. package/types/components/MazCard.vue.d.ts +5 -4
  253. package/types/components/MazCardSpotlight.vue.d.ts +3 -2
  254. package/types/components/MazCarousel.vue.d.ts +3 -2
  255. package/types/components/MazCheckbox.vue.d.ts +4 -3
  256. package/types/components/MazChecklist.vue.d.ts +2 -5
  257. package/types/components/MazCircularProgressBar.vue.d.ts +31 -60
  258. package/types/components/MazDialog.vue.d.ts +24 -33
  259. package/types/components/MazDialogPromise.vue.d.ts +3 -3
  260. package/types/components/MazDrawer.vue.d.ts +9 -5
  261. package/types/components/MazDropdown.vue.d.ts +25 -3
  262. package/types/components/MazDropzone.vue.d.ts +1 -1
  263. package/types/components/MazExpandAnimation.vue.d.ts +6 -5
  264. package/types/components/MazFullscreenLoader.vue.d.ts +2 -1
  265. package/types/components/MazGallery.vue.d.ts +1 -1
  266. package/types/components/MazInput.vue.d.ts +16 -3
  267. package/types/components/MazInputCode.vue.d.ts +1 -1
  268. package/types/components/MazInputNumber.vue.d.ts +2 -2
  269. package/types/components/MazInputPrice.vue.d.ts +4 -3
  270. package/types/components/MazLazyImg.vue.d.ts +2 -1
  271. package/types/components/MazLink.vue.d.ts +2 -1
  272. package/types/components/MazLoadingBar.vue.d.ts +1 -1
  273. package/types/components/MazPagination.vue.d.ts +3 -2
  274. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +31 -55
  275. package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +5 -5
  276. package/types/components/MazPhoneNumberInput/types.d.ts +2 -1
  277. package/types/components/MazPhoneNumberInput/{use-libphonenumber.d.ts → useLibphonenumber.d.ts} +4 -4
  278. package/types/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
  279. package/types/components/MazPhoneNumberInput.vue.d.ts +69 -25
  280. package/types/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
  281. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
  282. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  283. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
  284. package/types/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
  285. package/types/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
  286. package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  287. package/types/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
  288. package/types/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
  289. package/types/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
  290. package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  291. package/types/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
  292. package/types/components/MazPicker.vue.d.ts +3 -1
  293. package/types/components/MazPullToRefresh.vue.d.ts +4 -3
  294. package/types/components/MazRadio.vue.d.ts +1 -1
  295. package/types/components/MazRadioButtons.vue.d.ts +1 -1
  296. package/types/components/MazReadingProgressBar.vue.d.ts +1 -1
  297. package/types/components/MazSelect.vue.d.ts +2 -2
  298. package/types/components/MazSlider.vue.d.ts +1 -1
  299. package/types/components/MazSpinner.vue.d.ts +1 -1
  300. package/types/components/MazStepper.vue.d.ts +3 -2
  301. package/types/components/MazSwitch.vue.d.ts +2 -1
  302. package/types/components/MazTable.vue.d.ts +8 -2
  303. package/types/components/MazTableCell.vue.d.ts +3 -2
  304. package/types/components/MazTableRow.vue.d.ts +3 -2
  305. package/types/components/MazTableTitle.vue.d.ts +3 -2
  306. package/types/components/MazTabs.vue.d.ts +3 -2
  307. package/types/components/MazTabsBar.vue.d.ts +3 -2
  308. package/types/components/MazTabsContent.vue.d.ts +3 -2
  309. package/types/components/MazTabsContentItem.vue.d.ts +2 -1
  310. package/types/components/MazTextarea.vue.d.ts +58 -32
  311. package/types/components/MazTransitionExpand.vue.d.ts +2 -1
  312. package/types/modules/composables/useFormValidator/types.d.ts +8 -8
  313. package/types/modules/composables/useFormValidator/useFormField.d.ts +2 -2
  314. package/types/modules/composables/useFormValidator/useFormValidator.d.ts +3 -3
  315. package/types/modules/composables/useFormValidator/utils.d.ts +5 -5
  316. package/types/modules/composables/useLanguageDisplayNames.d.ts +13 -12
  317. package/types/modules/directives/closable.d.ts +1 -1
  318. package/types/modules/directives/tooltip/index.d.ts +21 -0
  319. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
  320. package/types/modules/helpers/inject-strict.d.ts +2 -1
  321. package/types/tailwindcss/variables/colors.d.ts +2 -0
  322. package/components/chunks/MazBottomSheet-CGRvZmGd.mjs +0 -208
  323. package/components/chunks/MazBtn-2VKM1wZu.mjs +0 -106
  324. package/components/chunks/MazBtn-40lm8-AL.mjs +0 -106
  325. package/components/chunks/MazBtn-BB1FyYWv.mjs +0 -114
  326. package/components/chunks/MazBtn-BMYXMZuX.mjs +0 -106
  327. package/components/chunks/MazBtn-BijEMn4r.mjs +0 -106
  328. package/components/chunks/MazBtn-BmrcK2af.mjs +0 -106
  329. package/components/chunks/MazBtn-C72_1uvu.mjs +0 -106
  330. package/components/chunks/MazBtn-CWloP6MI.mjs +0 -111
  331. package/components/chunks/MazBtn-CcyV4DCc.mjs +0 -106
  332. package/components/chunks/MazBtn-DENEMy-c.mjs +0 -106
  333. package/components/chunks/MazBtn-DfqRZvbB.mjs +0 -106
  334. package/components/chunks/MazBtn-UnZQuu6P.mjs +0 -106
  335. package/components/chunks/MazBtn-cDJlUVVY.mjs +0 -106
  336. package/components/chunks/MazBtn-hUslV7wO.mjs +0 -106
  337. package/components/chunks/MazDialog-khofH-7I.mjs +0 -237
  338. package/components/chunks/MazDialogPromise-ZRA2ZrO4.mjs +0 -488
  339. package/components/chunks/MazExpandAnimation-MDimlZGj.mjs +0 -57
  340. package/components/chunks/MazInput-DC3S-CVu.mjs +0 -282
  341. package/components/chunks/MazInput-DzWkS-g8.mjs +0 -293
  342. package/components/chunks/MazInput-NE6H-10w.mjs +0 -281
  343. package/components/chunks/MazInputNumber-DRXQXHRv.mjs +0 -572
  344. package/components/chunks/MazLoadingBar-DdjHRC7g.mjs +0 -32
  345. package/components/chunks/MazPagination-BkT4_LLW.mjs +0 -330
  346. package/components/chunks/MazPicker-DwWiIYAR.mjs +0 -2456
  347. package/components/chunks/MazSelect-BJ07NVXQ.mjs +0 -843
  348. package/components/chunks/MazSelect-CDV9Fx6m.mjs +0 -556
  349. package/components/chunks/MazSpinner-BymqEMBk.mjs +0 -34
  350. package/components/chunks/MazSpinner-CEFbkZkM.mjs +0 -34
  351. package/components/chunks/MazSpinner-CsEQ9EXb.mjs +0 -34
  352. package/components/chunks/MazSpinner-CykRbNHD.mjs +0 -34
  353. package/components/chunks/MazSpinner-D3-pqOh3.mjs +0 -34
  354. package/components/chunks/MazSpinner-DS58mtzm.mjs +0 -34
  355. package/components/chunks/MazSpinner-Dmkr_r9u.mjs +0 -34
  356. package/components/chunks/MazSpinner-eC03bFP5.mjs +0 -34
  357. package/components/chunks/MazSpinner-edxn0ncQ.mjs +0 -34
  358. package/components/chunks/MazSpinner-f2Mc2eRO.mjs +0 -34
  359. package/components/chunks/MazSpinner-n4Dp5ZsH.mjs +0 -34
  360. package/components/chunks/MazStepper-BREfkpUb.mjs +0 -213
  361. package/components/chunks/MazTableCell-DILuUCTe.mjs +0 -23
  362. package/components/chunks/MazTableRow-D6H6-c8J.mjs +0 -30
  363. package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +0 -11
  364. package/modules/chunks/MazBtn-B_Xlvgbg.cjs +0 -1
  365. package/modules/chunks/MazBtn-Dsr06Zgg.mjs +0 -106
  366. package/modules/chunks/index-CUNN0eIB.cjs +0 -124
@@ -1,21 +1,20 @@
1
- import { useId as S, computed as n, openBlock as f, createElementBlock as h, createElementVNode as c, defineComponent as N, useCssVars as _, ref as E, unref as i, normalizeClass as m, normalizeStyle as A, mergeProps as $, createVNode as M, renderSlot as D, createTextVNode as R, toDisplayString as k, createCommentVNode as j } from "vue";
2
- import './assets/MazCheckbox.css';function q({
3
- componentName: t,
1
+ import { computed as t, useId as N, openBlock as h, createElementBlock as p, createElementVNode as u, defineComponent as E, ref as _, unref as m, normalizeClass as f, normalizeStyle as c, mergeProps as A, createVNode as $, renderSlot as M, createTextVNode as D, toDisplayString as w, createCommentVNode as R } from "vue";
2
+ import './assets/MazCheckbox.css';function j({
3
+ componentName: l,
4
4
  providedId: a
5
5
  }) {
6
- const e = S();
7
- return n(() => a ?? `${t}-${e}`);
6
+ return t(() => a ?? `${l}-${N().replace(/:/g, "")}`);
8
7
  }
9
- const F = {
8
+ const q = {
10
9
  xmlns: "http://www.w3.org/2000/svg",
11
10
  width: "1em",
12
11
  height: "1em",
13
12
  fill: "none",
14
13
  viewBox: "0 0 24 24"
15
14
  };
16
- function H(t, a) {
17
- return f(), h("svg", F, a[0] || (a[0] = [
18
- c(
15
+ function F(l, a) {
16
+ return h(), p("svg", q, a[0] || (a[0] = [
17
+ u(
19
18
  "path",
20
19
  {
21
20
  stroke: "currentColor",
@@ -30,7 +29,7 @@ function H(t, a) {
30
29
  )
31
30
  ]));
32
31
  }
33
- const K = { render: H }, O = ["for", "aria-checked"], P = ["id", "checked", "disabled", "name"], T = { class: "m-checkbox__text" }, U = /* @__PURE__ */ N({
32
+ const H = { render: F }, K = ["for", "aria-checked"], O = ["id", "checked", "disabled", "name"], P = { class: "m-checkbox__text" }, T = /* @__PURE__ */ E({
34
33
  inheritAttrs: !1,
35
34
  __name: "MazCheckbox",
36
35
  props: {
@@ -50,20 +49,14 @@ const K = { render: H }, O = ["for", "aria-checked"], P = ["id", "checked", "dis
50
49
  hint: {}
51
50
  },
52
51
  emits: ["update:model-value", "change", "blur", "focus"],
53
- setup(t, { emit: a }) {
54
- _((o) => ({
55
- b7df6194: z.value,
56
- "89a0ef50": g.value,
57
- "199d7f11": w.value,
58
- b0e1d658: V.value
59
- }));
60
- const e = t, l = a, s = q({
52
+ setup(l, { emit: a }) {
53
+ const o = l, n = a, s = j({
61
54
  componentName: "MazCheckbox",
62
- providedId: e.id
63
- }), p = n(
64
- () => typeof e.value != "boolean" && Array.isArray(e.modelValue) ? e.modelValue.includes(e.value) : typeof e.modelValue == "boolean" ? e.modelValue : !1
65
- ), g = n(() => {
66
- switch (e.size) {
55
+ providedId: o.id
56
+ }), b = t(
57
+ () => typeof o.value != "boolean" && Array.isArray(o.modelValue) ? o.modelValue.includes(o.value) : typeof o.modelValue == "boolean" ? o.modelValue : !1
58
+ ), v = t(() => {
59
+ switch (o.size) {
67
60
  case "xl":
68
61
  return "2rem";
69
62
  case "lg":
@@ -77,8 +70,8 @@ const K = { render: H }, O = ["for", "aria-checked"], P = ["id", "checked", "dis
77
70
  default:
78
71
  return "1.5rem";
79
72
  }
80
- }), y = n(() => {
81
- switch (e.size) {
73
+ }), z = t(() => {
74
+ switch (o.size) {
82
75
  case "xl":
83
76
  return "maz-text-2xl";
84
77
  case "lg":
@@ -92,88 +85,98 @@ const K = { render: H }, O = ["for", "aria-checked"], P = ["id", "checked", "dis
92
85
  default:
93
86
  return "maz-text-lg";
94
87
  }
95
- }), z = n(() => e.color === "theme" ? "var(--maz-color-bg)" : `var(--maz-color-${e.color}-contrast)`), w = n(() => e.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${e.color})`), V = n(() => e.error ? "var(--maz-color-danger)" : e.warning ? "var(--maz-color-warning)" : e.success ? "var(--maz-color-success)" : ["black", "transparent", "theme"].includes(e.color) ? "var(--maz-color-muted)" : `var(--maz-color-${e.color}-alpha)`);
96
- function x(o) {
97
- ["Space"].includes(o.code) && (o.preventDefault(), b(e.value ?? !e.modelValue));
88
+ }), x = t(() => o.color === "theme" ? "var(--maz-color-bg)" : `var(--maz-color-${o.color}-contrast)`), V = t(() => o.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${o.color})`), k = t(() => o.error ? "var(--maz-color-danger)" : o.warning ? "var(--maz-color-warning)" : o.success ? "var(--maz-color-success)" : ["black", "transparent", "theme"].includes(o.color) ? "var(--maz-color-muted)" : `var(--maz-color-${o.color}-alpha)`);
89
+ function C(e) {
90
+ ["Space"].includes(e.code) && (e.preventDefault(), y(o.value ?? !o.modelValue));
98
91
  }
99
- function C(o) {
100
- return typeof o == "boolean" && (typeof e.modelValue == "boolean" || e.modelValue === void 0 || e.modelValue === null) ? !e.modelValue : Array.isArray(e.modelValue) && typeof o != "boolean" ? e.modelValue.includes(o) ? e.modelValue.filter((r) => r !== o) : [...e.modelValue, o] : [o];
92
+ function B(e) {
93
+ return typeof e == "boolean" && (typeof o.modelValue == "boolean" || o.modelValue === void 0 || o.modelValue === null) ? !o.modelValue : Array.isArray(o.modelValue) && typeof e != "boolean" ? o.modelValue.includes(e) ? o.modelValue.filter((r) => r !== e) : [...o.modelValue, e] : [e];
101
94
  }
102
- function b(o) {
103
- const r = C(o);
104
- l("update:model-value", r), l("change", r);
95
+ function y(e) {
96
+ const r = B(e);
97
+ n("update:model-value", r), n("change", r);
105
98
  }
106
- const u = E();
107
- function B(o) {
99
+ const d = _();
100
+ function S(e) {
108
101
  var r;
109
- (r = u.value) == null || r.dispatchEvent(new Event("blur")), l("blur", o);
102
+ (r = d.value) == null || r.dispatchEvent(new Event("blur")), n("blur", e);
110
103
  }
111
- function I(o) {
104
+ function I(e) {
112
105
  var r;
113
- (r = u.value) == null || r.dispatchEvent(new Event("focus")), l("focus", o);
106
+ (r = d.value) == null || r.dispatchEvent(new Event("focus")), n("focus", e);
114
107
  }
115
- return (o, r) => (f(), h("label", {
116
- for: i(s),
117
- class: m(["m-checkbox", [{ "--disabled": o.disabled, "--error": o.error, "--warning": o.warning, "--success": o.success }, e.class]]),
108
+ return (e, r) => (h(), p("label", {
109
+ for: m(s),
110
+ class: f(["m-checkbox", [{ "--disabled": e.disabled, "--error": e.error, "--warning": e.warning, "--success": e.success }, o.class]]),
118
111
  tabindex: "0",
119
- style: A(o.style),
112
+ style: c([e.style, { "--checkbox-selected-color": V.value, "--checkbox-box-shadow-color": k.value }]),
120
113
  role: "checkbox",
121
- "aria-checked": p.value,
122
- onKeydown: x,
123
- onBlur: B,
114
+ "aria-checked": b.value,
115
+ onKeydown: C,
116
+ onBlur: S,
124
117
  onFocus: I
125
118
  }, [
126
- c("input", $({
127
- id: i(s),
119
+ u("input", A({
120
+ id: m(s),
128
121
  ref_key: "inputRef",
129
- ref: u,
130
- checked: p.value
131
- }, o.$attrs, {
122
+ ref: d,
123
+ checked: b.value
124
+ }, e.$attrs, {
132
125
  tabindex: "-1",
133
- disabled: o.disabled,
134
- name: o.name,
126
+ disabled: e.disabled,
127
+ name: e.name,
135
128
  type: "checkbox",
136
- onChange: r[0] || (r[0] = (d) => {
137
- var v;
138
- return b(o.value ?? ((v = d == null ? void 0 : d.target) == null ? void 0 : v.checked));
129
+ onChange: r[0] || (r[0] = (i) => {
130
+ var g;
131
+ return y(e.value ?? ((g = i == null ? void 0 : i.target) == null ? void 0 : g.checked));
139
132
  })
140
- }), null, 16, P),
141
- c("span", null, [
142
- M(i(K), {
143
- class: m(["check-icon", y.value])
144
- }, null, 8, ["class"])
145
- ]),
146
- c("div", T, [
147
- D(o.$slots, "default", { value: o.value }, () => [
148
- R(
149
- k(o.label),
133
+ }), null, 16, O),
134
+ u(
135
+ "span",
136
+ {
137
+ style: c({ width: v.value, height: v.value })
138
+ },
139
+ [
140
+ $(m(H), {
141
+ class: f(["check-icon", z.value]),
142
+ style: c({ color: x.value })
143
+ }, null, 8, ["class", "style"])
144
+ ],
145
+ 4
146
+ /* STYLE */
147
+ ),
148
+ u("div", P, [
149
+ M(e.$slots, "default", { value: e.value }, () => [
150
+ D(
151
+ w(e.label),
150
152
  1
151
153
  /* TEXT */
152
154
  )
153
155
  ], !0),
154
- o.hint ? (f(), h(
156
+ e.hint ? (h(), p(
155
157
  "span",
156
158
  {
157
159
  key: 0,
158
- class: m(["m-checkbox__hint", {
159
- "--error": o.error,
160
- "--success": o.success,
161
- "--warning": o.warning
162
- }])
160
+ class: f(["m-checkbox__hint", {
161
+ "--error": e.error,
162
+ "--success": e.success,
163
+ "--warning": e.warning
164
+ }]),
165
+ style: c({ boxShadow: `0 0 0 0.125rem ${k.value}` })
163
166
  },
164
- k(o.hint),
165
- 3
166
- /* TEXT, CLASS */
167
- )) : j("v-if", !0)
167
+ w(e.hint),
168
+ 7
169
+ /* TEXT, CLASS, STYLE */
170
+ )) : R("v-if", !0)
168
171
  ])
169
- ], 46, O));
172
+ ], 46, K));
170
173
  }
171
- }), G = (t, a) => {
172
- const e = t.__vccOpts || t;
173
- for (const [l, s] of a)
174
- e[l] = s;
175
- return e;
176
- }, L = /* @__PURE__ */ G(U, [["__scopeId", "data-v-178c6a46"]]);
174
+ }), U = (l, a) => {
175
+ const o = l.__vccOpts || l;
176
+ for (const [n, s] of a)
177
+ o[n] = s;
178
+ return o;
179
+ }, J = /* @__PURE__ */ U(T, [["__scopeId", "data-v-65d7fb3b"]]);
177
180
  export {
178
- L as default
181
+ J as default
179
182
  };
@@ -49,7 +49,7 @@ declare const _default: <T extends string, O extends ItemOption>(__VLS_props: No
49
49
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
50
50
  readonly "onUpdate:model-value"?: ((value?: T[] | undefined) => any) | undefined;
51
51
  readonly "onUpdate:query"?: ((value?: string | undefined) => any) | undefined;
52
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value" | "onUpdate:query"> & MazCheckListProps<T, O>> & import("vue").PublicProps;
52
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value" | "onUpdate:query"> & Partial<{}> & MazCheckListProps<T, O>> & import("vue").PublicProps;
53
53
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
54
54
  attrs: any;
55
55
  slots: {
@@ -58,10 +58,7 @@ declare const _default: <T extends string, O extends ItemOption>(__VLS_props: No
58
58
  "no-results-text"?(_: {}): any;
59
59
  item?(_: {
60
60
  selectedValues: T[];
61
- item: {
62
- label: string;
63
- value: string;
64
- };
61
+ item: O;
65
62
  }): any;
66
63
  };
67
64
  emit: ((evt: "update:model-value", value?: T[] | undefined) => void) & ((evt: "update:query", value?: string | undefined) => void);
@@ -1,4 +1,4 @@
1
- import { a as f } from "./chunks/MazChecklist-C95Y4Hb-.mjs";
1
+ import { a as f } from "./chunks/MazChecklist-BurPprmw.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,16 +1,6 @@
1
1
  import type { Color } from './types';
2
2
  import { type SVGAttributes } from 'vue';
3
- declare function __VLS_template(): {
4
- slots: {
5
- default?(_: {}): any;
6
- prefix?(_: {}): any;
7
- suffix?(_: {}): any;
8
- };
9
- refs: {};
10
- attrs: Partial<{}>;
11
- };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import("vue").DefineComponent<{
3
+ type __VLS_Props = {
14
4
  /**
15
5
  * The percentage value of the progress bar
16
6
  */
@@ -47,78 +37,59 @@ declare const __VLS_component: import("vue").DefineComponent<{
47
37
  * @default 'round'
48
38
  * @values 'butt', 'round', 'square', 'inherit'
49
39
  */
50
- strokeLinecap?: SVGAttributes["stroke-linecap"];
40
+ strokeLinecap?: SVGAttributes['stroke-linecap'];
51
41
  /**
52
42
  * The stroke width
53
43
  * @default 6
54
44
  */
55
- strokeWidth?: SVGAttributes["width"];
45
+ strokeWidth?: SVGAttributes['width'];
56
46
  /**
57
47
  * The stroke color
58
48
  * Use this prop to override the gradient color
59
49
  * You can use a color name or a color code
60
50
  */
61
- stroke?: SVGAttributes["stroke"];
62
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
63
- /**
64
- * The percentage value of the progress bar
65
- */
66
- percentage: number;
67
- /**
68
- * The size of the progress bar
69
- * @default '10em' (equal 80px for a font-size of 16px)
70
- */
71
- size?: string;
72
- /**
73
- * Duration of the animation in milliseconds
74
- * @default 1000
75
- */
76
- duration?: number;
77
- /**
78
- * The color of the progress bar
79
- */
80
- color?: Color;
81
- /**
82
- * Auto color based on the count (danger, warning, success)
83
- * @default false
84
- */
85
- autoColor?: boolean;
86
- /**
87
- * Suffix to display next to the number
88
- */
89
- prefix?: string;
51
+ stroke?: SVGAttributes['stroke'];
90
52
  /**
91
- * Suffix to display next to the number
53
+ * The percentage value of the success color
54
+ * @default 100
92
55
  */
93
- suffix?: string;
56
+ successPercentage?: number;
94
57
  /**
95
- * The stroke-linecap style
96
- * @default 'round'
97
- * @values 'butt', 'round', 'square', 'inherit'
58
+ * The percentage value of the warning color
59
+ * @default 50
98
60
  */
99
- strokeLinecap?: SVGAttributes["stroke-linecap"];
61
+ warningPercentage?: number;
100
62
  /**
101
- * The stroke width
102
- * @default 6
63
+ * The percentage value of the danger color
64
+ * @default 25
103
65
  */
104
- strokeWidth?: SVGAttributes["width"];
105
- /**
106
- * The stroke color
107
- * Use this prop to override the gradient color
108
- * You can use a color name or a color code
109
- */
110
- stroke?: SVGAttributes["stroke"];
111
- }> & Readonly<{}>, {
66
+ dangerPercentage?: number;
67
+ };
68
+ declare function __VLS_template(): {
69
+ attrs: Partial<{}>;
70
+ slots: {
71
+ default?(_: {}): any;
72
+ prefix?(_: {}): any;
73
+ suffix?(_: {}): any;
74
+ };
75
+ refs: {};
76
+ rootEl: HTMLDivElement;
77
+ };
78
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
79
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
112
80
  size: string;
113
81
  color: Color;
114
- stroke: string;
115
82
  duration: number;
116
83
  prefix: string;
117
84
  suffix: string;
85
+ stroke: string;
118
86
  percentage: number;
119
87
  strokeLinecap: "inherit" | "round" | "square" | "butt";
120
88
  strokeWidth: string | number;
121
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
89
+ successPercentage: number;
90
+ warningPercentage: number;
91
+ dangerPercentage: number;
92
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
122
93
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
123
94
  export default _default;
124
95
  type __VLS_WithTemplateSlots<T, S> = T & {