maz-ui 3.47.2-beta.9 → 3.48.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 (292) hide show
  1. package/components/MazAccordion.mjs +76 -77
  2. package/components/MazAnimatedCounter.mjs +7 -7
  3. package/components/MazAvatar.mjs +1 -1
  4. package/components/MazBackdrop.d.ts +21 -13
  5. package/components/MazBackdrop.mjs +107 -82
  6. package/components/MazBadge.mjs +2 -2
  7. package/components/MazBottomSheet.d.ts +11 -24
  8. package/components/MazBottomSheet.mjs +1 -1
  9. package/components/MazBtn.mjs +1 -1
  10. package/components/MazCard.mjs +1 -1
  11. package/components/MazCardSpotlight.mjs +7 -7
  12. package/components/MazCarousel.mjs +1 -1
  13. package/components/MazChart.mjs +13 -13
  14. package/components/MazCheckbox.mjs +36 -37
  15. package/components/MazChecklist.mjs +1 -1
  16. package/components/MazCircularProgressBar.d.ts +18 -0
  17. package/components/MazCircularProgressBar.mjs +40 -38
  18. package/components/MazDialog.d.ts +20 -31
  19. package/components/MazDialog.mjs +1 -1
  20. package/components/MazDialogPromise.d.ts +3 -3
  21. package/components/MazDialogPromise.mjs +1 -1
  22. package/components/MazDrawer.d.ts +7 -4
  23. package/components/MazDrawer.mjs +2 -194
  24. package/components/MazDropdown.mjs +1 -1
  25. package/components/MazDropzone.mjs +1 -1
  26. package/components/MazExpandAnimation.mjs +8 -8
  27. package/components/MazFullscreenLoader.mjs +2 -40
  28. package/components/MazGallery.mjs +1 -1
  29. package/components/MazIcon.mjs +9 -8
  30. package/components/MazInput.d.ts +2 -0
  31. package/components/MazInput.mjs +1 -1
  32. package/components/MazInputCode.mjs +2 -2
  33. package/components/MazInputNumber.mjs +1 -1
  34. package/components/MazInputPrice.mjs +1 -1
  35. package/components/MazInputTags.mjs +1 -1
  36. package/components/MazLazyImg.mjs +1 -1
  37. package/components/MazLink.d.ts +2 -2
  38. package/components/MazLink.mjs +6 -6
  39. package/components/MazLoadingBar.mjs +17 -17
  40. package/components/MazPagination.mjs +1 -1
  41. package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +2 -2
  42. package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +12 -23
  43. package/components/MazPhoneNumberInput/types.d.ts +4 -2
  44. package/{types/components/MazPhoneNumberInput/use-libphonenumber.d.ts → components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
  45. package/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
  46. package/components/MazPhoneNumberInput.mjs +1 -1
  47. package/components/MazPicker.mjs +1 -1
  48. package/components/MazPullToRefresh.mjs +1 -1
  49. package/components/MazRadio.mjs +18 -19
  50. package/components/MazRadioButtons.mjs +2 -2
  51. package/components/MazReadingProgressBar.mjs +15 -15
  52. package/components/MazSelect.d.ts +1 -1
  53. package/components/MazSelect.mjs +1 -1
  54. package/components/MazSlider.mjs +31 -31
  55. package/components/MazSpinner.mjs +7 -7
  56. package/components/MazStepper.d.ts +1 -1
  57. package/components/MazStepper.mjs +1 -1
  58. package/components/MazSwitch.mjs +19 -20
  59. package/components/MazTable.mjs +1 -1
  60. package/components/MazTableCell.mjs +12 -12
  61. package/components/MazTableRow.mjs +6 -6
  62. package/components/MazTableTitle.mjs +11 -11
  63. package/components/MazTabs.d.ts +3 -3
  64. package/components/MazTabs.mjs +7 -7
  65. package/components/MazTabsBar.mjs +1 -1
  66. package/components/MazTabsContent.mjs +4 -4
  67. package/components/MazTabsContentItem.mjs +10 -10
  68. package/components/MazTextarea.d.ts +26 -48
  69. package/components/MazTextarea.mjs +4 -5
  70. package/components/MazTransitionExpand.mjs +10 -10
  71. package/components/assets/MazAccordion.css +1 -1
  72. package/components/assets/MazAnimatedCounter.css +1 -1
  73. package/components/assets/MazAvatar.css +1 -1
  74. package/components/assets/MazBackdrop.css +1 -1
  75. package/components/assets/MazBadge.css +1 -1
  76. package/components/assets/MazBottomSheet.css +1 -1
  77. package/components/assets/MazBtn.css +1 -1
  78. package/components/assets/MazCard.css +1 -1
  79. package/components/assets/MazCardSpotlight.css +1 -1
  80. package/components/assets/MazCarousel.css +1 -1
  81. package/components/assets/MazCheckbox.css +1 -1
  82. package/components/assets/MazChecklist.css +1 -1
  83. package/components/assets/MazCircularProgressBar.css +1 -1
  84. package/components/assets/MazDialog.css +1 -1
  85. package/components/assets/MazDialogPromise.css +1 -1
  86. package/components/assets/MazDrawer.css +1 -1
  87. package/components/assets/MazExpandAnimation.css +1 -1
  88. package/components/assets/MazFullscreenLoader.css +1 -1
  89. package/components/assets/MazGallery.css +1 -1
  90. package/components/assets/MazInput.css +1 -1
  91. package/components/assets/MazInputCode.css +1 -1
  92. package/components/assets/MazInputNumber.css +1 -1
  93. package/components/assets/MazInputPrice.css +1 -1
  94. package/components/assets/MazInputTags.css +1 -1
  95. package/components/assets/MazLazyImg.css +1 -1
  96. package/components/assets/MazLink.css +1 -1
  97. package/components/assets/MazLoadingBar.css +1 -1
  98. package/components/assets/MazPagination.css +1 -1
  99. package/components/assets/MazPhoneNumberInput.css +1 -1
  100. package/components/assets/MazPicker.css +1 -1
  101. package/components/assets/MazPullToRefresh.css +1 -1
  102. package/components/assets/MazRadio.css +1 -1
  103. package/components/assets/MazRadioButtons.css +1 -1
  104. package/components/assets/MazReadingProgressBar.css +1 -1
  105. package/components/assets/MazSelect.css +1 -1
  106. package/components/assets/MazSlider.css +1 -1
  107. package/components/assets/MazSpinner.css +1 -1
  108. package/components/assets/MazStepper.css +1 -1
  109. package/components/assets/MazTable.css +1 -1
  110. package/components/assets/MazTableCell.css +1 -1
  111. package/components/assets/MazTableRow.css +1 -1
  112. package/components/assets/MazTableTitle.css +1 -1
  113. package/components/assets/MazTabsBar.css +1 -1
  114. package/components/assets/MazTabsContentItem.css +1 -1
  115. package/components/assets/MazTextarea.css +1 -1
  116. package/components/assets/MazTransitionExpand.css +1 -1
  117. package/components/chunks/{MazAvatar-CZzOIbzh.mjs → MazAvatar-CuOWgdVG.mjs} +18 -18
  118. package/components/chunks/{MazBadge-CupQjB8D.mjs → MazBadge-tPgFsG6Y.mjs} +6 -6
  119. package/components/chunks/MazBottomSheet-CMqzf-dT.mjs +224 -0
  120. package/components/chunks/MazBtn-B16x1gSu.mjs +103 -0
  121. package/components/chunks/MazBtn-BLSmc1v4.mjs +103 -0
  122. package/components/chunks/MazBtn-BcrrOaO_.mjs +103 -0
  123. package/components/chunks/MazBtn-Bje1xDu3.mjs +103 -0
  124. package/components/chunks/MazBtn-C5sb0470.mjs +103 -0
  125. package/components/chunks/MazBtn-CPwCJ1l-.mjs +103 -0
  126. package/components/chunks/{MazBtn-BVWOyFm-.mjs → MazBtn-Cf-LPT5p.mjs} +4 -4
  127. package/components/chunks/MazBtn-DCyFSkZo.mjs +103 -0
  128. package/components/chunks/{MazBtn-DhSKmF01.mjs → MazBtn-DETtZdlj.mjs} +3 -3
  129. package/components/chunks/{MazBtn-BSgCMRt0.mjs → MazBtn-DnJzOPh9.mjs} +4 -4
  130. package/components/chunks/{MazBtn-CM-xSnA5.mjs → MazBtn-DsGaq_eB.mjs} +3 -3
  131. package/components/chunks/{MazBtn-Br3xKJMD.mjs → MazBtn-S7EnZYtZ.mjs} +4 -4
  132. package/components/chunks/MazBtn-iYAY4cer.mjs +103 -0
  133. package/components/chunks/MazBtn-v4i4k53h.mjs +103 -0
  134. package/components/chunks/{MazCard-XBaeDZkg.mjs → MazCard-l54W3CUU.mjs} +3 -3
  135. package/components/chunks/{MazCarousel-COTaKhKF.mjs → MazCarousel-C16E1i1T.mjs} +3 -3
  136. package/components/chunks/{MazCheckbox-DxfneUvu.mjs → MazCheckbox-C1nh-xQt.mjs} +7 -7
  137. package/components/chunks/{MazCheckbox-B-Sw22La.mjs → MazCheckbox-CEsAHbdi.mjs} +7 -7
  138. package/components/chunks/{MazCheckbox-DjY15PA3.mjs → MazCheckbox-D-7-TdgO.mjs} +4 -4
  139. package/components/chunks/{MazChecklist-DaozZlNb.mjs → MazChecklist-DSfD55m5.mjs} +125 -126
  140. package/components/chunks/MazDialog-BjQ3ivmv.mjs +297 -0
  141. package/components/chunks/MazDialogPromise-Bg3ZOsEI.mjs +551 -0
  142. package/components/chunks/MazDrawer-BqNLfW4e.mjs +226 -0
  143. package/components/chunks/{MazDropdown-CKuIGitT.mjs → MazDropdown-DNXKdC_3.mjs} +5 -5
  144. package/components/chunks/{MazDropzone-DKFkgqqD.mjs → MazDropzone-n0JE92da.mjs} +2 -2
  145. package/components/chunks/{MazExpandAnimation-Bdf0-L85.mjs → MazExpandAnimation-B04WMwpW.mjs} +8 -8
  146. package/components/chunks/MazFullscreenLoader-XF8wIEcL.mjs +48 -0
  147. package/components/chunks/{MazGallery-BooLoRWi.mjs → MazGallery-CzlKPQFX.mjs} +67 -67
  148. package/components/chunks/{MazGallery-DUOQamrE.mjs → MazGallery-DdZ3bFvX.mjs} +68 -68
  149. package/components/chunks/{MazIcon-_hN-Kivn.mjs → MazIcon-Cq1v4J3r.mjs} +9 -8
  150. package/components/chunks/{MazIcon-C-aPrqx2.mjs → MazIcon-DQXhsxp8.mjs} +11 -10
  151. package/components/chunks/{MazIcon-DFW4cVVf.mjs → MazIcon-DR6-win-.mjs} +12 -11
  152. package/components/chunks/MazIcon-Gv6n6i4M.mjs +4 -0
  153. package/components/chunks/{MazInput-HLPtw5QK.mjs → MazInput-BjnuoFvn.mjs} +36 -36
  154. package/components/chunks/{MazInput-BWAWlxDa.mjs → MazInput-DB4HtpCQ.mjs} +13 -13
  155. package/components/chunks/{MazInput-DIN1VAoX.mjs → MazInput-yBii2AFS.mjs} +27 -28
  156. package/components/chunks/{MazInputNumber-7Ku2ZcG-.mjs → MazInputNumber-DqnLi9-C.mjs} +81 -82
  157. package/components/chunks/{MazInputPrice-C5yErBFP.mjs → MazInputPrice-Ca8mL53M.mjs} +44 -45
  158. package/components/chunks/{MazInputTags-DvbQ2mK8.mjs → MazInputTags-Bto9dVQq.mjs} +78 -79
  159. package/components/chunks/{MazLazyImg-DQLwaKKz.mjs → MazLazyImg-D9mlGTCs.mjs} +4 -4
  160. package/components/chunks/{MazLazyImg-B-6PQWEi.mjs → MazLazyImg-DnJyLBjr.mjs} +3 -3
  161. package/components/chunks/{MazLink-mrqHeBS0.mjs → MazLink-DlUG7E5K.mjs} +3 -3
  162. package/components/chunks/{MazLoadingBar-CNm3Yt6D.mjs → MazLoadingBar-DBt1Ltm5.mjs} +8 -8
  163. package/components/chunks/{MazPagination-BSu0Ifkp.mjs → MazPagination-sxkvTajI.mjs} +49 -49
  164. package/components/chunks/MazPhoneNumberInput-C3j3JyDI.mjs +1813 -0
  165. package/components/chunks/{MazPicker-CzYUZcLy.mjs → MazPicker-BUXJof_-.mjs} +19 -20
  166. package/components/chunks/{MazPickerMonthSwitcher-Ds5agR3Z.mjs → MazPickerMonthSwitcher-DW2WfonJ.mjs} +1 -1
  167. package/components/chunks/{MazPickerShortcuts-BP6CY9-c.mjs → MazPickerShortcuts-fw4-dWSv.mjs} +1 -1
  168. package/components/chunks/{MazPickerYearSwitcher-PM8qZMzR.mjs → MazPickerYearSwitcher-aHvmQBF1.mjs} +1 -1
  169. package/components/chunks/{MazPullToRefresh-CFQX0soS.mjs → MazPullToRefresh-a1rT-zWr.mjs} +3 -3
  170. package/components/chunks/{MazSelect-DOexatNj.mjs → MazSelect-BwahUlbE.mjs} +322 -326
  171. package/components/chunks/MazSelect-CBaOs6va.mjs +550 -0
  172. package/components/chunks/MazSpinner-BVQYjLWp.mjs +34 -0
  173. package/components/chunks/{MazSpinner-yr9xVdAa.mjs → MazSpinner-BYlkcKf0.mjs} +6 -6
  174. package/components/chunks/MazSpinner-B_THFs0t.mjs +34 -0
  175. package/components/chunks/MazSpinner-Bb1BgWPD.mjs +34 -0
  176. package/components/chunks/MazSpinner-Bb4B4Nz8.mjs +34 -0
  177. package/components/chunks/{MazSpinner-9M_EGMpy.mjs → MazSpinner-Bpkl7q5u.mjs} +7 -7
  178. package/components/chunks/MazSpinner-BtDo7ZEC.mjs +34 -0
  179. package/components/chunks/MazSpinner-C-DOH7ou.mjs +34 -0
  180. package/components/chunks/MazSpinner-C1Rr3w9l.mjs +34 -0
  181. package/components/chunks/MazSpinner-C47dmUu7.mjs +34 -0
  182. package/components/chunks/MazSpinner-C7_Q1K-e.mjs +34 -0
  183. package/components/chunks/MazSpinner-CBHbVSef.mjs +34 -0
  184. package/components/chunks/MazSpinner-CCThMV5o.mjs +34 -0
  185. package/components/chunks/MazSpinner-CizL97Q2.mjs +34 -0
  186. package/components/chunks/{MazSpinner-BJpv1muf.mjs → MazSpinner-Cmy2WyWY.mjs} +7 -7
  187. package/components/chunks/MazSpinner-CodOqnm1.mjs +34 -0
  188. package/components/chunks/MazSpinner-Cq0S_tbE.mjs +34 -0
  189. package/components/chunks/{MazSpinner-Bsy1nA3c.mjs → MazSpinner-D6PdYOcD.mjs} +7 -7
  190. package/components/chunks/MazSpinner-DV9-beEc.mjs +34 -0
  191. package/components/chunks/MazSpinner-DoFpeVcl.mjs +34 -0
  192. package/components/chunks/MazSpinner-Dx-3_EFZ.mjs +34 -0
  193. package/components/chunks/MazSpinner-PVTrAf5V.mjs +34 -0
  194. package/components/chunks/MazSpinner-PXSS3XT3.mjs +34 -0
  195. package/components/chunks/MazSpinner-XZrAaGeE.mjs +34 -0
  196. package/components/chunks/{MazStepper-B3fuhbye.mjs → MazStepper-DtAqtJjn.mjs} +32 -32
  197. package/components/chunks/{MazTable-Ci8nhgOP.mjs → MazTable-Soe-MrTW.mjs} +79 -74
  198. package/components/chunks/{MazTableCell-BIganK6X.mjs → MazTableCell-DtoO9MOe.mjs} +6 -6
  199. package/components/chunks/MazTableRow-ChFMulaU.mjs +30 -0
  200. package/components/chunks/{MazTableTitle-OEgTPQB3.mjs → MazTableTitle-D8El-v5p.mjs} +6 -6
  201. package/components/chunks/{MazTabsBar-CT35SCIK.mjs → MazTabsBar-8wchBiYF.mjs} +21 -21
  202. package/components/chunks/{MazTransitionExpand-Bcwdl9g2.mjs → MazTransitionExpand-CRArAQZu.mjs} +10 -10
  203. package/components/chunks/examples.mobile.json-tW3aL0qI.mjs +4 -0
  204. package/components/chunks/useInstanceUniqId-BkOfxhk8.mjs +10 -0
  205. package/css/main.css +1 -1
  206. package/modules/assets/MazBtn.css +1 -1
  207. package/modules/assets/MazSpinner.css +1 -1
  208. package/modules/assets/index.css +1 -1
  209. package/modules/chunks/MazBtn-D0bVfaLm.cjs +1 -0
  210. package/{components/chunks/MazBtn-BfIn7glE.mjs → modules/chunks/MazBtn-Z86MClP9.mjs} +4 -4
  211. package/modules/chunks/{MazIcon-D-Gna0vz.cjs → MazIcon-BwgJhGLT.cjs} +1 -1
  212. package/modules/chunks/{MazIcon-CeT6HK_q.mjs → MazIcon-XtyPgbu6.mjs} +12 -11
  213. package/{components/chunks/MazSpinner-BlbTztM3.mjs → modules/chunks/MazSpinner-BfUXTY7m.mjs} +7 -7
  214. package/modules/chunks/MazSpinner-C5Fi9q_G.cjs +1 -0
  215. package/modules/chunks/index-Bq5KVBKA.cjs +124 -0
  216. package/modules/chunks/{index-Kry9j5uD.mjs → index-YwIF5a3Q.mjs} +1187 -951
  217. package/modules/index.cjs +1 -1
  218. package/modules/index.mjs +47 -46
  219. package/nuxt/index.json +1 -1
  220. package/package.json +4 -3
  221. package/tailwindcss/tailwind.css +0 -6
  222. package/tailwindcss/utils/colors.ts +9 -5
  223. package/tailwindcss/variables/utilities.ts +3 -0
  224. package/types/components/MazBackdrop.vue.d.ts +21 -13
  225. package/types/components/MazBottomSheet.vue.d.ts +11 -24
  226. package/types/components/MazCircularProgressBar.vue.d.ts +18 -0
  227. package/types/components/MazDialog.vue.d.ts +20 -31
  228. package/types/components/MazDialogPromise.vue.d.ts +3 -3
  229. package/types/components/MazDrawer.vue.d.ts +7 -4
  230. package/types/components/MazInput.vue.d.ts +2 -0
  231. package/types/components/MazLink.vue.d.ts +2 -2
  232. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +2 -2
  233. package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +12 -23
  234. package/types/components/MazPhoneNumberInput/types.d.ts +4 -2
  235. package/{components/MazPhoneNumberInput/use-libphonenumber.d.ts → types/components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
  236. package/types/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
  237. package/types/components/MazSelect.vue.d.ts +1 -1
  238. package/types/components/MazStepper.vue.d.ts +1 -1
  239. package/types/components/MazTabs.vue.d.ts +3 -3
  240. package/types/components/MazTextarea.vue.d.ts +26 -48
  241. package/types/modules/composables/useFormValidator/types.d.ts +2 -2
  242. package/types/modules/composables/useFormValidator/useFormField.d.ts +56 -16
  243. package/types/modules/composables/useFormValidator/utils.d.ts +6 -6
  244. package/types/modules/composables/useLanguageDisplayNames.d.ts +13 -12
  245. package/types/modules/directives/closable.d.ts +1 -1
  246. package/types/modules/directives/tooltip/index.d.ts +21 -0
  247. package/types/tailwindcss/tailwind.config.d.ts +2 -2
  248. package/types/tailwindcss/utils/colors.d.ts +1 -1
  249. package/types/tailwindcss/variables/utilities.d.ts +3 -0
  250. package/components/MazPhoneNumberInput.d.ts +0 -240
  251. package/components/chunks/MazBottomSheet-D9EPpEV8.mjs +0 -208
  252. package/components/chunks/MazBtn-CB6xVwox.mjs +0 -103
  253. package/components/chunks/MazBtn-CIAdgMGr.mjs +0 -111
  254. package/components/chunks/MazBtn-CQq-U8qQ.mjs +0 -103
  255. package/components/chunks/MazBtn-Chk7DWOF.mjs +0 -103
  256. package/components/chunks/MazBtn-Ck84sP9a.mjs +0 -103
  257. package/components/chunks/MazBtn-DI80W9rl.mjs +0 -103
  258. package/components/chunks/MazBtn-DzwuLea3.mjs +0 -103
  259. package/components/chunks/MazBtn-tOUtVpek.mjs +0 -103
  260. package/components/chunks/MazDialog-XiX9LEiz.mjs +0 -237
  261. package/components/chunks/MazDialogPromise-B9_e3Ma9.mjs +0 -488
  262. package/components/chunks/MazIcon-BX2Gbz8R.mjs +0 -4
  263. package/components/chunks/MazPhoneNumberInput-B5Up8CqL.mjs +0 -1806
  264. package/components/chunks/MazSelect-DaDRzcT_.mjs +0 -552
  265. package/components/chunks/MazSpinner-C30YfScc.mjs +0 -34
  266. package/components/chunks/MazSpinner-C5mnD76l.mjs +0 -34
  267. package/components/chunks/MazSpinner-CDx6lo7l.mjs +0 -34
  268. package/components/chunks/MazSpinner-C_GueolV.mjs +0 -34
  269. package/components/chunks/MazSpinner-Cc-KlPEG.mjs +0 -34
  270. package/components/chunks/MazSpinner-Cgg2dkzQ.mjs +0 -34
  271. package/components/chunks/MazSpinner-CkKIUYXO.mjs +0 -34
  272. package/components/chunks/MazSpinner-CxyUHAvm.mjs +0 -34
  273. package/components/chunks/MazSpinner-DROgQW2M.mjs +0 -34
  274. package/components/chunks/MazSpinner-DjM6ktPY.mjs +0 -34
  275. package/components/chunks/MazSpinner-DjUU4G1h.mjs +0 -34
  276. package/components/chunks/MazSpinner-Du5o8JC_.mjs +0 -38
  277. package/components/chunks/MazSpinner-Dzs2W0kq.mjs +0 -34
  278. package/components/chunks/MazSpinner-NCtEpFMm.mjs +0 -34
  279. package/components/chunks/MazSpinner-QfPXLpa_.mjs +0 -34
  280. package/components/chunks/MazSpinner-XB6tX3Ld.mjs +0 -34
  281. package/components/chunks/MazSpinner-ZPQe8ON_.mjs +0 -34
  282. package/components/chunks/MazSpinner-b90e3OQK.mjs +0 -34
  283. package/components/chunks/MazSpinner-f6pBzqbu.mjs +0 -34
  284. package/components/chunks/MazTableRow-CIO-x6Lb.mjs +0 -30
  285. package/components/chunks/examples.mobile.json-JpNGylGv.mjs +0 -4
  286. package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +0 -11
  287. package/modules/chunks/MazBtn-0CRjeBvn.mjs +0 -103
  288. package/modules/chunks/MazBtn-DRqCRJD-.cjs +0 -1
  289. package/modules/chunks/MazSpinner-DV--lwdI.mjs +0 -34
  290. package/modules/chunks/MazSpinner-DersvZQw.cjs +0 -1
  291. package/modules/chunks/index-DvromXrX.cjs +0 -124
  292. package/types/components/MazPhoneNumberInput.vue.d.ts +0 -240
@@ -1,5 +1,6 @@
1
1
  import type { ComponentPublicInstance, HTMLAttributes } from 'vue';
2
- import { type Props as MazBackdropProps } from './MazBackdrop.vue';
2
+ import { nextTick } from 'vue';
3
+ import { type MazBackdropProps } from './MazBackdrop.vue';
3
4
  export interface InternalProps {
4
5
  /** @model Modal's model value */
5
6
  modelValue?: boolean;
@@ -7,31 +8,32 @@ export interface InternalProps {
7
8
  title?: string;
8
9
  /** Remove the close button in header */
9
10
  noClose?: boolean;
10
- /** Modal's width */
11
- width?: string;
12
11
  /** Modal's max-width */
13
12
  maxWidth?: string;
14
- /** Modal's max-height */
15
- maxHeight?: string;
13
+ /** Modal's min-width */
14
+ minWidth?: string;
16
15
  /** Modal's content becomes scrollable - warning: a overflow is applied */
17
16
  scrollable?: boolean;
18
17
  /** Persistent dialog (not closable by clicking outside and remove close button) */
19
18
  persistent?: boolean;
20
19
  }
21
- export type Props = InternalProps & MazBackdropProps;
22
- type __VLS_Props = Props & MazBackdropProps;
20
+ export type MazDialogProps = InternalProps & MazBackdropProps;
21
+ type __VLS_Props = InternalProps & MazBackdropProps;
23
22
  declare function __VLS_template(): {
24
23
  attrs: Partial<{}>;
25
24
  slots: {
26
25
  header?(_: {
27
26
  close: () => void;
27
+ onBackdropClicked: () => void;
28
28
  }): any;
29
29
  title?(_: {}): any;
30
30
  default?(_: {
31
31
  close: () => void;
32
+ onBackdropClicked: () => void;
32
33
  }): any;
33
34
  footer?(_: {
34
35
  close: () => void;
36
+ onBackdropClicked: () => void;
35
37
  }): any;
36
38
  };
37
39
  refs: {
@@ -47,6 +49,10 @@ declare function __VLS_template(): {
47
49
  readonly transitionName?: string | undefined;
48
50
  readonly backdropClass?: HTMLAttributes["class"];
49
51
  readonly backdropContentClass?: HTMLAttributes["class"];
52
+ readonly contentPadding?: boolean | undefined;
53
+ readonly justify?: ("center" | "end" | "start" | "space-between" | "space-around" | "none") | undefined;
54
+ readonly align?: ("center" | "end" | "start" | "none") | undefined;
55
+ readonly variant?: ("bottom-sheet" | "dialog" | "drawer") | undefined;
50
56
  readonly onClose?: ((value?: void | undefined) => any) | undefined;
51
57
  readonly onOpen?: ((value?: void | undefined) => any) | undefined;
52
58
  readonly "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
@@ -84,16 +90,7 @@ declare function __VLS_template(): {
84
90
  open: (value: void) => any;
85
91
  "update:model-value": (value: boolean) => any;
86
92
  "before-close": (value: void) => any;
87
- }, string, {
88
- modelValue: boolean;
89
- teleportSelector: string;
90
- beforeClose: () => Promise<void> | void;
91
- persistent: boolean;
92
- noCloseOnEscKey: boolean;
93
- transitionName: string;
94
- backdropClass: HTMLAttributes["class"];
95
- backdropContentClass: HTMLAttributes["class"];
96
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
93
+ }, string, {}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
97
94
  beforeCreate?: (() => void) | (() => void)[];
98
95
  created?: (() => void) | (() => void)[];
99
96
  beforeMount?: (() => void) | (() => void)[];
@@ -111,23 +108,14 @@ declare function __VLS_template(): {
111
108
  errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
112
109
  };
113
110
  $forceUpdate: () => void;
114
- $nextTick: typeof import("vue").nextTick;
111
+ $nextTick: typeof nextTick;
115
112
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
116
- } & Readonly<{
117
- modelValue: boolean;
118
- teleportSelector: string;
119
- beforeClose: () => Promise<void> | void;
120
- persistent: boolean;
121
- noCloseOnEscKey: boolean;
122
- transitionName: string;
123
- backdropClass: HTMLAttributes["class"];
124
- backdropContentClass: HTMLAttributes["class"];
125
- }> & Omit<Readonly<MazBackdropProps> & Readonly<{
113
+ } & Readonly<{}> & Omit<Readonly<MazBackdropProps> & Readonly<{
126
114
  onClose?: ((value?: void | undefined) => any) | undefined;
127
115
  onOpen?: ((value?: void | undefined) => any) | undefined;
128
116
  "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
129
117
  "onBefore-close"?: ((value?: void | undefined) => any) | undefined;
130
- }>, "close" | "onBackdropAnimationEnter" | "onBackdropAnimationLeave" | "onBackdropClicked" | "present" | "toggleModal" | "onKeyPress" | ("modelValue" | "teleportSelector" | "beforeClose" | "persistent" | "noCloseOnEscKey" | "transitionName" | "backdropClass" | "backdropContentClass")> & import("vue").ShallowUnwrapRef<{
118
+ }>, "close" | "onBackdropAnimationEnter" | "onBackdropAnimationLeave" | "onBackdropClicked" | "present" | "toggleModal" | "onKeyPress"> & import("vue").ShallowUnwrapRef<{
131
119
  onBackdropAnimationEnter: () => void;
132
120
  onBackdropAnimationLeave: () => void;
133
121
  onBackdropClicked: () => void;
@@ -139,9 +127,11 @@ declare function __VLS_template(): {
139
127
  $slots: {
140
128
  default?(_: {
141
129
  close: () => void;
130
+ onBackdropClicked: () => void;
142
131
  }): any;
143
132
  };
144
133
  }) | null;
134
+ dialogContent: HTMLDivElement;
145
135
  };
146
136
  rootEl: any;
147
137
  };
@@ -158,11 +148,10 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
158
148
  "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
159
149
  }>, {
160
150
  title: string;
161
- width: string;
162
151
  persistent: boolean;
163
152
  noClose: boolean;
164
153
  maxWidth: string;
165
- maxHeight: string;
154
+ minWidth: string;
166
155
  scrollable: boolean;
167
156
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
168
157
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazDialog-XiX9LEiz.mjs";
1
+ import { M as f } from "./chunks/MazDialog-BjQ3ivmv.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import type { DialogCustomButton, DialogData } from './MazDialogPromise/useMazDialogPromise';
2
- import { type Props as MazDialogProps } from './MazDialog.vue';
2
+ import { type MazDialogProps } from './MazDialog.vue';
3
3
  export interface MazDialogPromiseProps {
4
4
  /** Dialog Data - @type DialogData */
5
5
  data?: DialogData;
@@ -13,12 +13,12 @@ export interface MazDialogPromiseProps {
13
13
  export type Props = MazDialogPromiseProps & MazDialogProps & DialogData;
14
14
  export { useMazDialogPromise } from './MazDialogPromise/useMazDialogPromise';
15
15
  export type { ActionButton, DialogButton, DialogCustomButton, DialogData, DialogState, PromiseButton } from './MazDialogPromise/useMazDialogPromise';
16
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MazDialogPromiseProps & import("./MazDialog.vue").InternalProps & import("./MazBackdrop.vue").Props & DialogData, {
16
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<MazDialogPromiseProps & import("./MazDialog.vue").InternalProps & import("./MazBackdrop.vue").MazBackdropProps & DialogData, {
17
17
  close: () => any;
18
18
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
19
19
  close: (value: void) => any;
20
20
  open: (value: void) => any;
21
- }, string, import("vue").PublicProps, Readonly<MazDialogPromiseProps & import("./MazDialog.vue").InternalProps & import("./MazBackdrop.vue").Props & DialogData> & Readonly<{
21
+ }, string, import("vue").PublicProps, Readonly<MazDialogPromiseProps & import("./MazDialog.vue").InternalProps & import("./MazBackdrop.vue").MazBackdropProps & DialogData> & Readonly<{
22
22
  onClose?: ((value?: void | undefined) => any) | undefined;
23
23
  onOpen?: ((value?: void | undefined) => any) | undefined;
24
24
  }>, {
@@ -1,4 +1,4 @@
1
- import { a as o, u as s } from "./chunks/MazDialogPromise-B9_e3Ma9.mjs";
1
+ import { a as o, u as s } from "./chunks/MazDialogPromise-Bg3ZOsEI.mjs";
2
2
  export {
3
3
  o as default,
4
4
  s as useMazDialogPromise
@@ -1,7 +1,10 @@
1
- export interface Props {
1
+ export interface MazDrawerProps {
2
2
  /** The title of the drawer */
3
3
  title?: string;
4
- /** The variant of the drawer */
4
+ /**
5
+ * The variant of the drawer
6
+ * @values 'right', 'top', 'left', 'bottom'
7
+ */
5
8
  variant?: 'right' | 'top' | 'left' | 'bottom';
6
9
  /** The size of the drawer */
7
10
  size?: string;
@@ -24,12 +27,12 @@ declare function __VLS_template(): {
24
27
  rootEl: any;
25
28
  };
26
29
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
- declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
30
+ declare const __VLS_component: import("vue").DefineComponent<MazDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
31
  close: () => any;
29
32
  open: () => any;
30
33
  "update:model-value": (value: boolean) => any;
31
34
  "before-close": () => any;
32
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
35
+ }, string, import("vue").PublicProps, Readonly<MazDrawerProps> & Readonly<{
33
36
  onClose?: (() => any) | undefined;
34
37
  onOpen?: (() => any) | undefined;
35
38
  "onUpdate:model-value"?: ((value: boolean) => any) | undefined;
@@ -1,196 +1,4 @@
1
- import { defineComponent as V, ref as S, onMounted as g, watch as N, openBlock as r, createBlock as h, Teleport as T, createVNode as f, Transition as O, withCtx as v, createElementBlock as D, normalizeClass as d, createElementVNode as a, withModifiers as P, mergeProps as K, renderSlot as k, createCommentVNode as L, defineAsyncComponent as B, normalizeStyle as F, createTextVNode as q, toDisplayString as I, unref as z } from "vue";
2
- import './assets/MazDrawer.css';const A = "--backdrop-present", U = /* @__PURE__ */ V({
3
- inheritAttrs: !1,
4
- __name: "MazBackdrop",
5
- props: {
6
- modelValue: { type: Boolean, default: !1 },
7
- teleportSelector: { default: "body" },
8
- beforeClose: { type: Function, default: void 0 },
9
- persistent: { type: Boolean, default: !1 },
10
- noCloseOnEscKey: { type: Boolean, default: !1 },
11
- transitionName: { default: "backdrop-anim" },
12
- backdropClass: { default: void 0 },
13
- backdropContentClass: { default: void 0 }
14
- },
15
- emits: ["open", "close", "update:model-value", "before-close"],
16
- setup(b, { expose: i, emit: c }) {
17
- const e = b, t = c;
18
- function n() {
19
- document.documentElement.classList.add(A);
20
- }
21
- async function M() {
22
- document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(A);
23
- }
24
- const s = S(e.modelValue);
25
- function l() {
26
- C(!1);
27
- }
28
- async function C(o) {
29
- var p;
30
- o || (t("before-close"), await ((p = e.beforeClose) == null ? void 0 : p.call(e))), s.value = o;
31
- }
32
- function y() {
33
- t("open");
34
- }
35
- function E() {
36
- t("update:model-value", !1), t("close"), u();
37
- }
38
- function $() {
39
- e.persistent || l();
40
- }
41
- function m(o) {
42
- !e.noCloseOnEscKey && o.key === "Escape" && !e.persistent && l();
43
- }
44
- function w() {
45
- n(), document.addEventListener("keyup", m, !1);
46
- }
47
- function u() {
48
- document.removeEventListener("keyup", m), M();
49
- }
50
- return g(() => {
51
- e.modelValue ? w() : u();
52
- }), N(
53
- () => e.modelValue,
54
- (o) => {
55
- s.value = o, o ? w() : u();
56
- }
57
- ), i({
58
- onBackdropAnimationEnter: y,
59
- onBackdropAnimationLeave: E,
60
- onBackdropClicked: $,
61
- close: l,
62
- present: s,
63
- toggleModal: C,
64
- onKeyPress: m
65
- }), (o, p) => (r(), h(T, { to: o.teleportSelector }, [
66
- f(O, {
67
- appear: "",
68
- name: o.transitionName,
69
- onAfterEnter: y,
70
- onAfterLeave: E
71
- }, {
72
- default: v(() => [
73
- s.value ? (r(), D(
74
- "div",
75
- {
76
- key: 0,
77
- class: d(["m-backdrop --present", [o.backdropClass]]),
78
- tabindex: "-1",
79
- role: "dialog"
80
- },
81
- [
82
- a(
83
- "button",
84
- {
85
- class: d(["m-backdrop-overlay", { "--disabled": o.persistent }]),
86
- tabindex: "-1",
87
- onClick: P($, ["self"])
88
- },
89
- null,
90
- 2
91
- /* CLASS */
92
- ),
93
- a(
94
- "div",
95
- K({
96
- class: ["m-backdrop-content", o.backdropContentClass]
97
- }, o.$attrs, {
98
- role: "document",
99
- tabindex: "0"
100
- }),
101
- [
102
- k(o.$slots, "default", { close: l })
103
- ],
104
- 16
105
- /* FULL_PROPS */
106
- )
107
- ],
108
- 2
109
- /* CLASS */
110
- )) : L("v-if", !0)
111
- ]),
112
- _: 3
113
- /* FORWARDED */
114
- }, 8, ["name"])
115
- ], 8, ["to"]));
116
- }
117
- }), X = { class: "m-drawer-header__title" }, j = {
118
- key: 0,
119
- class: "m-drawer-header__close"
120
- }, G = { class: "m-drawer-body" }, J = /* @__PURE__ */ V({
121
- __name: "MazDrawer",
122
- props: {
123
- title: { default: void 0 },
124
- variant: { default: "right" },
125
- size: { default: "30rem" },
126
- backdropClass: { default: void 0 },
127
- noClose: { type: Boolean, default: !1 }
128
- },
129
- emits: ["before-close", "open", "close", "update:model-value"],
130
- setup(b) {
131
- const i = B(() => import("./chunks/MazBtn-CIAdgMGr.mjs").then((e) => e.M)), c = B(() => import("./chunks/x-mark-CnZwVvA7.mjs"));
132
- return (e, t) => (r(), h(U, {
133
- "backdrop-class": ["m-drawer", `--${e.variant}`, e.backdropClass],
134
- style: F({
135
- "--maz-drawer-size": e.size
136
- }),
137
- onClose: t[0] || (t[0] = (n) => e.$emit("close")),
138
- onOpen: t[1] || (t[1] = (n) => e.$emit("open")),
139
- onBeforeClose: t[2] || (t[2] = (n) => e.$emit("before-close")),
140
- "onUpdate:modelValue": t[3] || (t[3] = (n) => e.$emit("update:model-value", n))
141
- }, {
142
- default: v(({ close: n }) => [
143
- a(
144
- "div",
145
- {
146
- class: d(["m-drawer-content-wrap", [`--${e.variant}`]])
147
- },
148
- [
149
- a(
150
- "header",
151
- {
152
- class: d(["m-drawer-header", [e.$slots.title || e.title ? "--between" : "--end"]])
153
- },
154
- [
155
- a("h4", X, [
156
- k(e.$slots, "title", { close: n }, () => [
157
- q(
158
- I(e.title),
159
- 1
160
- /* TEXT */
161
- )
162
- ])
163
- ]),
164
- e.noClose ? L("v-if", !0) : (r(), D("div", j, [
165
- f(z(i), {
166
- size: "sm",
167
- color: "transparent",
168
- onClick: n
169
- }, {
170
- default: v(() => [
171
- f(z(c), { class: "icon maz-text-lg" })
172
- ]),
173
- _: 2
174
- /* DYNAMIC */
175
- }, 1032, ["onClick"])
176
- ]))
177
- ],
178
- 2
179
- /* CLASS */
180
- ),
181
- a("div", G, [
182
- k(e.$slots, "default", { close: n })
183
- ])
184
- ],
185
- 2
186
- /* CLASS */
187
- )
188
- ]),
189
- _: 3
190
- /* FORWARDED */
191
- }, 8, ["backdrop-class", "style"]));
192
- }
193
- });
1
+ import { M as f } from "./chunks/MazDrawer-BqNLfW4e.mjs";
194
2
  export {
195
- J as default
3
+ f as default
196
4
  };
@@ -1,4 +1,4 @@
1
- import { a as f } from "./chunks/MazDropdown-CKuIGitT.mjs";
1
+ import { a as f } from "./chunks/MazDropdown-DNXKdC_3.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as a } from "./chunks/MazDropzone-DKFkgqqD.mjs";
1
+ import { M as a } from "./chunks/MazDropzone-n0JE92da.mjs";
2
2
  import "vue";
3
3
  export {
4
4
  a as default
@@ -12,22 +12,22 @@ import './assets/MazExpandAnimation.css';const M = ["aria-hidden"], y = /* @__PU
12
12
  emits: ["update:modelValue"],
13
13
  setup(i) {
14
14
  const n = m(i, "modelValue"), t = d(!n.value), a = d();
15
- function r() {
15
+ function s() {
16
16
  n.value || (t.value = !0);
17
17
  }
18
- function s() {
18
+ function r() {
19
19
  n.value && (t.value = !1);
20
20
  }
21
21
  return f(() => {
22
22
  var e, o;
23
- (e = a.value) == null || e.addEventListener("transitionstart", r, !1), (o = a.value) == null || o.addEventListener("transitionend", s, !1);
23
+ (e = a.value) == null || e.addEventListener("transitionstart", s, !1), (o = a.value) == null || o.addEventListener("transitionend", r, !1);
24
24
  }), v(() => {
25
25
  var e, o;
26
- (e = a.value) == null || e.removeEventListener("transitionstart", r, !1), (o = a.value) == null || o.removeEventListener("transitionend", s, !1);
26
+ (e = a.value) == null || e.removeEventListener("transitionstart", s, !1), (o = a.value) == null || o.removeEventListener("transitionend", r, !1);
27
27
  }), (e, o) => (c(), p("div", {
28
28
  ref_key: "expandAnimationRef",
29
29
  ref: a,
30
- class: _(["m-expand-animation", { "m-expand-animation--expanded": n.value }]),
30
+ class: _(["m-expand-animation m-reset-css", { "m-expand-animation--expanded": n.value }]),
31
31
  "aria-hidden": !n.value,
32
32
  role: "region",
33
33
  style: x([{ "--expand-animation-duration": e.duration, "--expand-animation-timing-function": e.timingFunction }])
@@ -49,10 +49,10 @@ import './assets/MazExpandAnimation.css';const M = ["aria-hidden"], y = /* @__PU
49
49
  }
50
50
  }), A = (i, n) => {
51
51
  const t = i.__vccOpts || i;
52
- for (const [a, r] of n)
53
- t[a] = r;
52
+ for (const [a, s] of n)
53
+ t[a] = s;
54
54
  return t;
55
- }, z = /* @__PURE__ */ A(y, [["__scopeId", "data-v-3bfdfbc1"]]);
55
+ }, z = /* @__PURE__ */ A(y, [["__scopeId", "data-v-058a2912"]]);
56
56
  export {
57
57
  z as default
58
58
  };
@@ -1,42 +1,4 @@
1
- import { defineComponent as l, defineAsyncComponent as a, onMounted as s, onUnmounted as m, openBlock as o, createBlock as c, Teleport as d, createElementVNode as u, mergeProps as p, createVNode as f, unref as i, createElementBlock as z, renderSlot as k, createCommentVNode as y } from "vue";
2
- import './assets/MazFullscreenLoader.css';const b = { key: 0 }, S = /* @__PURE__ */ l({
3
- __name: "MazFullscreenLoader",
4
- props: {
5
- color: { default: "primary" },
6
- size: { default: "3em" },
7
- teleportSelector: { default: "body" }
8
- },
9
- setup(v) {
10
- const t = a(() => import("./chunks/MazSpinner-Du5o8JC_.mjs"));
11
- function r() {
12
- document.documentElement.classList.add("--maz-fullscreen-loader-present");
13
- }
14
- async function n() {
15
- document.documentElement.classList.remove("--maz-fullscreen-loader-present");
16
- }
17
- return s(() => {
18
- r();
19
- }), m(() => {
20
- n();
21
- }), (e, C) => (o(), c(d, { to: e.teleportSelector }, [
22
- u(
23
- "div",
24
- p({ class: "m-fullscreen-loader maz-fixed maz-inset-0 maz-z-default-backdrop maz-flex maz-flex-col maz-gap-2 maz-bg-overlay maz-text-center maz-backdrop-blur maz-flex-center" }, e.$attrs),
25
- [
26
- f(i(t), {
27
- color: e.color,
28
- size: e.size
29
- }, null, 8, ["color", "size"]),
30
- e.$slots.default ? (o(), z("span", b, [
31
- k(e.$slots, "default")
32
- ])) : y("v-if", !0)
33
- ],
34
- 16
35
- /* FULL_PROPS */
36
- )
37
- ], 8, ["to"]));
38
- }
39
- });
1
+ import { M as f } from "./chunks/MazFullscreenLoader-XF8wIEcL.mjs";
40
2
  export {
41
- S as default
3
+ f as default
42
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazGallery-DUOQamrE.mjs";
1
+ import { M as f } from "./chunks/MazGallery-DdZ3bFvX.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
- import { inject as T, defineComponent as x, ref as m, computed as p, onMounted as L, watchEffect as C, openBlock as P, createElementBlock as _, mergeProps as $, createCommentVNode as A, nextTick as q } from "vue";
2
- function H(i, c) {
3
- const o = T(i, c);
1
+ import { inject as T, defineComponent as x, ref as v, computed as p, onMounted as L, watchEffect as C, openBlock as P, createElementBlock as _, mergeProps as $, createCommentVNode as A, nextTick as q } from "vue";
2
+ function H(i, u) {
3
+ const o = T(i, u);
4
4
  if (!o)
5
5
  throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${i.toString()}`);
6
6
  return o;
@@ -25,8 +25,8 @@ const I = ["innerHTML"], V = /* @__PURE__ */ x({
25
25
  }
26
26
  },
27
27
  emits: ["loaded", "unloaded", "error"],
28
- setup(i, { emit: c }) {
29
- const o = i, d = c, a = {}, s = m(), f = m();
28
+ setup(i, { emit: u }) {
29
+ const o = i, d = u, a = {}, s = v(), f = v();
30
30
  function g() {
31
31
  try {
32
32
  return H("mazIconPath");
@@ -34,7 +34,7 @@ const I = ["innerHTML"], V = /* @__PURE__ */ x({
34
34
  return;
35
35
  }
36
36
  }
37
- const v = p(() => o.path ?? g()), S = p(() => o.src ? o.src : v.value ? `${v.value}/${o.name}.svg` : `/${o.name}.svg`);
37
+ const m = p(() => o.path ?? g()), S = p(() => o.src ? o.src : m.value ? `${m.value}/${o.name}.svg` : `/${o.name}.svg`);
38
38
  L(() => {
39
39
  !o.name && !o.src && console.error('[maz-ui](MazIcon) you should provide "name" or "src" as prop');
40
40
  });
@@ -77,8 +77,8 @@ const I = ["innerHTML"], V = /* @__PURE__ */ x({
77
77
  n.open("GET", e, !0), n.addEventListener("load", () => {
78
78
  if (n.status >= 200 && n.status < 400)
79
79
  try {
80
- let u = new DOMParser().parseFromString(n.responseText, "text/xml").querySelectorAll("svg")[0];
81
- u ? (u = o.transformSource(u), r(u)) : t(new Error('Loaded file is not valid SVG"'));
80
+ let c = new DOMParser().parseFromString(n.responseText, "text/xml").querySelectorAll("svg")[0];
81
+ c ? (c = o.transformSource(c), r(c)) : t(new Error('Loaded file is not valid SVG"'));
82
82
  } catch (l) {
83
83
  t(l);
84
84
  }
@@ -91,6 +91,7 @@ const I = ["innerHTML"], V = /* @__PURE__ */ x({
91
91
  key: 0,
92
92
  ref_key: "svgElem",
93
93
  ref: f,
94
+ class: "m-icon m-reset-css",
94
95
  width: "1em",
95
96
  height: "1em"
96
97
  }, {
@@ -91,6 +91,8 @@ export interface Props<T = ModelValueSimple> {
91
91
  roundedSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
92
92
  /** The input will be displayed in full width */
93
93
  block?: boolean;
94
+ /** The attribut autocomplete of the input */
95
+ autocomplete?: string;
94
96
  }
95
97
  export type { Color, ModelValueSimple, Size } from './types';
96
98
  declare const _default: <T extends ModelValueSimple>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazInput-DIN1VAoX.mjs";
1
+ import { M as f } from "./chunks/MazInput-yBii2AFS.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -99,7 +99,7 @@ import './assets/MazInputCode.css';const F = ["disabled"], K = { class: "m-input
99
99
  }
100
100
  const S = m(() => n.error ? "!maz-border-danger" : n.success ? "!maz-border-success" : n.warning ? "!maz-border-warning" : ""), C = m(() => `var(--maz-color-${n.color})`);
101
101
  return (e, t) => (g(), v("fieldset", {
102
- class: h(["m-input-code", [e.size ? `--${e.size}` : void 0, n.class]]),
102
+ class: h(["m-input-code m-reset-css", [e.size ? `--${e.size}` : void 0, n.class]]),
103
103
  disabled: e.disabled,
104
104
  style: P([e.style, { "--input-border-color": C.value }])
105
105
  }, [
@@ -161,7 +161,7 @@ import './assets/MazInputCode.css';const F = ["disabled"], K = { class: "m-input
161
161
  for (const [d, u] of p)
162
162
  n[d] = u;
163
163
  return n;
164
- }, R = /* @__PURE__ */ W(O, [["__scopeId", "data-v-594f962b"]]);
164
+ }, R = /* @__PURE__ */ W(O, [["__scopeId", "data-v-dbb4e5e8"]]);
165
165
  export {
166
166
  R as default
167
167
  };
@@ -1,4 +1,4 @@
1
- import { a as f } from "./chunks/MazInputNumber-7Ku2ZcG-.mjs";
1
+ import { a as f } from "./chunks/MazInputNumber-DqnLi9-C.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { a as f } from "./chunks/MazInputPrice-C5yErBFP.mjs";
1
+ import { a as f } from "./chunks/MazInputPrice-Ca8mL53M.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazInputTags-DvbQ2mK8.mjs";
1
+ import { M as f } from "./chunks/MazInputTags-Bto9dVQq.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazLazyImg-B-6PQWEi.mjs";
1
+ import { M as f } from "./chunks/MazLazyImg-DnJyLBjr.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -6,8 +6,8 @@ export interface MazLinkProps {
6
6
  /** The title of the link */
7
7
  title?: string;
8
8
  /**
9
- * The color of the link
10
- * @default '#'
9
+ * The href of the link
10
+ * @default undefined
11
11
  */
12
12
  href?: string;
13
13
  /** The route location (router-link) of the link */