maz-ui 3.47.2-beta.9 → 3.48.1-beta.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 (296) 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/MazDropdown.css +1 -1
  88. package/components/assets/MazDropzone.css +1 -1
  89. package/components/assets/MazExpandAnimation.css +1 -1
  90. package/components/assets/MazFullscreenLoader.css +1 -1
  91. package/components/assets/MazGallery.css +1 -1
  92. package/components/assets/MazInput.css +1 -1
  93. package/components/assets/MazInputCode.css +1 -1
  94. package/components/assets/MazInputNumber.css +1 -1
  95. package/components/assets/MazInputPrice.css +1 -1
  96. package/components/assets/MazInputTags.css +1 -1
  97. package/components/assets/MazLazyImg.css +1 -1
  98. package/components/assets/MazLink.css +1 -1
  99. package/components/assets/MazLoadingBar.css +1 -1
  100. package/components/assets/MazPagination.css +1 -1
  101. package/components/assets/MazPhoneNumberInput.css +1 -1
  102. package/components/assets/MazPicker.css +1 -1
  103. package/components/assets/MazPickerYearSwitcher.css +1 -1
  104. package/components/assets/MazPullToRefresh.css +1 -1
  105. package/components/assets/MazRadio.css +1 -1
  106. package/components/assets/MazRadioButtons.css +1 -1
  107. package/components/assets/MazReadingProgressBar.css +1 -1
  108. package/components/assets/MazSelect.css +1 -1
  109. package/components/assets/MazSlider.css +1 -1
  110. package/components/assets/MazSpinner.css +1 -1
  111. package/components/assets/MazStepper.css +1 -1
  112. package/components/assets/MazSwitch.css +1 -1
  113. package/components/assets/MazTable.css +1 -1
  114. package/components/assets/MazTableCell.css +1 -1
  115. package/components/assets/MazTableRow.css +1 -1
  116. package/components/assets/MazTableTitle.css +1 -1
  117. package/components/assets/MazTabsBar.css +1 -1
  118. package/components/assets/MazTabsContentItem.css +1 -1
  119. package/components/assets/MazTextarea.css +1 -1
  120. package/components/assets/MazTransitionExpand.css +1 -1
  121. package/components/chunks/{MazAvatar-CZzOIbzh.mjs → MazAvatar-CuOWgdVG.mjs} +18 -18
  122. package/components/chunks/{MazBadge-CupQjB8D.mjs → MazBadge-tPgFsG6Y.mjs} +6 -6
  123. package/components/chunks/MazBottomSheet-CMqzf-dT.mjs +224 -0
  124. package/components/chunks/MazBtn-B16x1gSu.mjs +103 -0
  125. package/components/chunks/MazBtn-BLSmc1v4.mjs +103 -0
  126. package/components/chunks/MazBtn-BcrrOaO_.mjs +103 -0
  127. package/components/chunks/MazBtn-Bje1xDu3.mjs +103 -0
  128. package/components/chunks/MazBtn-C5sb0470.mjs +103 -0
  129. package/components/chunks/MazBtn-CPwCJ1l-.mjs +103 -0
  130. package/components/chunks/{MazBtn-BVWOyFm-.mjs → MazBtn-Cf-LPT5p.mjs} +4 -4
  131. package/components/chunks/MazBtn-DCyFSkZo.mjs +103 -0
  132. package/components/chunks/{MazBtn-DhSKmF01.mjs → MazBtn-DETtZdlj.mjs} +3 -3
  133. package/components/chunks/{MazBtn-BSgCMRt0.mjs → MazBtn-DnJzOPh9.mjs} +4 -4
  134. package/components/chunks/{MazBtn-CM-xSnA5.mjs → MazBtn-DsGaq_eB.mjs} +3 -3
  135. package/components/chunks/{MazBtn-Br3xKJMD.mjs → MazBtn-S7EnZYtZ.mjs} +4 -4
  136. package/components/chunks/MazBtn-iYAY4cer.mjs +103 -0
  137. package/components/chunks/MazBtn-v4i4k53h.mjs +103 -0
  138. package/components/chunks/{MazCard-XBaeDZkg.mjs → MazCard-l54W3CUU.mjs} +3 -3
  139. package/components/chunks/{MazCarousel-COTaKhKF.mjs → MazCarousel-C16E1i1T.mjs} +3 -3
  140. package/components/chunks/{MazCheckbox-DxfneUvu.mjs → MazCheckbox-C1nh-xQt.mjs} +7 -7
  141. package/components/chunks/{MazCheckbox-B-Sw22La.mjs → MazCheckbox-CEsAHbdi.mjs} +7 -7
  142. package/components/chunks/{MazCheckbox-DjY15PA3.mjs → MazCheckbox-D-7-TdgO.mjs} +4 -4
  143. package/components/chunks/{MazChecklist-DaozZlNb.mjs → MazChecklist-DSfD55m5.mjs} +125 -126
  144. package/components/chunks/MazDialog-BjQ3ivmv.mjs +297 -0
  145. package/components/chunks/MazDialogPromise-Bg3ZOsEI.mjs +551 -0
  146. package/components/chunks/MazDrawer-BqNLfW4e.mjs +226 -0
  147. package/components/chunks/{MazDropdown-CKuIGitT.mjs → MazDropdown-DNXKdC_3.mjs} +5 -5
  148. package/components/chunks/{MazDropzone-DKFkgqqD.mjs → MazDropzone-n0JE92da.mjs} +2 -2
  149. package/components/chunks/{MazExpandAnimation-Bdf0-L85.mjs → MazExpandAnimation-B04WMwpW.mjs} +8 -8
  150. package/components/chunks/MazFullscreenLoader-XF8wIEcL.mjs +48 -0
  151. package/components/chunks/{MazGallery-BooLoRWi.mjs → MazGallery-CzlKPQFX.mjs} +67 -67
  152. package/components/chunks/{MazGallery-DUOQamrE.mjs → MazGallery-DdZ3bFvX.mjs} +68 -68
  153. package/components/chunks/{MazIcon-_hN-Kivn.mjs → MazIcon-Cq1v4J3r.mjs} +9 -8
  154. package/components/chunks/{MazIcon-C-aPrqx2.mjs → MazIcon-DQXhsxp8.mjs} +11 -10
  155. package/components/chunks/{MazIcon-DFW4cVVf.mjs → MazIcon-DR6-win-.mjs} +12 -11
  156. package/components/chunks/MazIcon-Gv6n6i4M.mjs +4 -0
  157. package/components/chunks/{MazInput-HLPtw5QK.mjs → MazInput-BjnuoFvn.mjs} +36 -36
  158. package/components/chunks/{MazInput-BWAWlxDa.mjs → MazInput-DB4HtpCQ.mjs} +13 -13
  159. package/components/chunks/{MazInput-DIN1VAoX.mjs → MazInput-yBii2AFS.mjs} +27 -28
  160. package/components/chunks/{MazInputNumber-7Ku2ZcG-.mjs → MazInputNumber-DqnLi9-C.mjs} +81 -82
  161. package/components/chunks/{MazInputPrice-C5yErBFP.mjs → MazInputPrice-Ca8mL53M.mjs} +44 -45
  162. package/components/chunks/{MazInputTags-DvbQ2mK8.mjs → MazInputTags-Bto9dVQq.mjs} +78 -79
  163. package/components/chunks/{MazLazyImg-DQLwaKKz.mjs → MazLazyImg-D9mlGTCs.mjs} +4 -4
  164. package/components/chunks/{MazLazyImg-B-6PQWEi.mjs → MazLazyImg-DnJyLBjr.mjs} +3 -3
  165. package/components/chunks/{MazLink-mrqHeBS0.mjs → MazLink-DlUG7E5K.mjs} +3 -3
  166. package/components/chunks/{MazLoadingBar-CNm3Yt6D.mjs → MazLoadingBar-DBt1Ltm5.mjs} +8 -8
  167. package/components/chunks/{MazPagination-BSu0Ifkp.mjs → MazPagination-sxkvTajI.mjs} +49 -49
  168. package/components/chunks/MazPhoneNumberInput-C3j3JyDI.mjs +1813 -0
  169. package/components/chunks/{MazPicker-CzYUZcLy.mjs → MazPicker-BUXJof_-.mjs} +19 -20
  170. package/components/chunks/{MazPickerMonthSwitcher-Ds5agR3Z.mjs → MazPickerMonthSwitcher-DW2WfonJ.mjs} +1 -1
  171. package/components/chunks/{MazPickerShortcuts-BP6CY9-c.mjs → MazPickerShortcuts-fw4-dWSv.mjs} +1 -1
  172. package/components/chunks/{MazPickerYearSwitcher-PM8qZMzR.mjs → MazPickerYearSwitcher-aHvmQBF1.mjs} +1 -1
  173. package/components/chunks/{MazPullToRefresh-CFQX0soS.mjs → MazPullToRefresh-a1rT-zWr.mjs} +3 -3
  174. package/components/chunks/{MazSelect-DOexatNj.mjs → MazSelect-BwahUlbE.mjs} +322 -326
  175. package/components/chunks/MazSelect-CBaOs6va.mjs +550 -0
  176. package/components/chunks/MazSpinner-BVQYjLWp.mjs +34 -0
  177. package/components/chunks/{MazSpinner-yr9xVdAa.mjs → MazSpinner-BYlkcKf0.mjs} +6 -6
  178. package/components/chunks/MazSpinner-B_THFs0t.mjs +34 -0
  179. package/components/chunks/MazSpinner-Bb1BgWPD.mjs +34 -0
  180. package/components/chunks/MazSpinner-Bb4B4Nz8.mjs +34 -0
  181. package/components/chunks/{MazSpinner-9M_EGMpy.mjs → MazSpinner-Bpkl7q5u.mjs} +7 -7
  182. package/components/chunks/MazSpinner-BtDo7ZEC.mjs +34 -0
  183. package/components/chunks/MazSpinner-C-DOH7ou.mjs +34 -0
  184. package/components/chunks/MazSpinner-C1Rr3w9l.mjs +34 -0
  185. package/components/chunks/MazSpinner-C47dmUu7.mjs +34 -0
  186. package/components/chunks/MazSpinner-C7_Q1K-e.mjs +34 -0
  187. package/components/chunks/MazSpinner-CBHbVSef.mjs +34 -0
  188. package/components/chunks/MazSpinner-CCThMV5o.mjs +34 -0
  189. package/components/chunks/MazSpinner-CizL97Q2.mjs +34 -0
  190. package/components/chunks/{MazSpinner-BJpv1muf.mjs → MazSpinner-Cmy2WyWY.mjs} +7 -7
  191. package/components/chunks/MazSpinner-CodOqnm1.mjs +34 -0
  192. package/components/chunks/MazSpinner-Cq0S_tbE.mjs +34 -0
  193. package/components/chunks/{MazSpinner-Bsy1nA3c.mjs → MazSpinner-D6PdYOcD.mjs} +7 -7
  194. package/components/chunks/MazSpinner-DV9-beEc.mjs +34 -0
  195. package/components/chunks/MazSpinner-DoFpeVcl.mjs +34 -0
  196. package/components/chunks/MazSpinner-Dx-3_EFZ.mjs +34 -0
  197. package/components/chunks/MazSpinner-PVTrAf5V.mjs +34 -0
  198. package/components/chunks/MazSpinner-PXSS3XT3.mjs +34 -0
  199. package/components/chunks/MazSpinner-XZrAaGeE.mjs +34 -0
  200. package/components/chunks/{MazStepper-B3fuhbye.mjs → MazStepper-DtAqtJjn.mjs} +32 -32
  201. package/components/chunks/{MazTable-Ci8nhgOP.mjs → MazTable-Soe-MrTW.mjs} +79 -74
  202. package/components/chunks/{MazTableCell-BIganK6X.mjs → MazTableCell-DtoO9MOe.mjs} +6 -6
  203. package/components/chunks/MazTableRow-ChFMulaU.mjs +30 -0
  204. package/components/chunks/{MazTableTitle-OEgTPQB3.mjs → MazTableTitle-D8El-v5p.mjs} +6 -6
  205. package/components/chunks/{MazTabsBar-CT35SCIK.mjs → MazTabsBar-8wchBiYF.mjs} +21 -21
  206. package/components/chunks/{MazTransitionExpand-Bcwdl9g2.mjs → MazTransitionExpand-CRArAQZu.mjs} +10 -10
  207. package/components/chunks/examples.mobile.json-tW3aL0qI.mjs +4 -0
  208. package/components/chunks/useInstanceUniqId-BkOfxhk8.mjs +10 -0
  209. package/css/main.css +1 -1
  210. package/modules/assets/MazBtn.css +1 -1
  211. package/modules/assets/MazSpinner.css +1 -1
  212. package/modules/assets/index.css +1 -1
  213. package/modules/chunks/MazBtn-12ldn-IH.cjs +1 -0
  214. package/{components/chunks/MazBtn-BfIn7glE.mjs → modules/chunks/MazBtn-A18R0ZiR.mjs} +4 -4
  215. package/modules/chunks/{MazIcon-CeT6HK_q.mjs → MazIcon-D-FWXW5H.mjs} +12 -11
  216. package/modules/chunks/{MazIcon-D-Gna0vz.cjs → MazIcon-biM0ap4E.cjs} +1 -1
  217. package/modules/chunks/MazSpinner-BJJ4mYvt.cjs +1 -0
  218. package/{components/chunks/MazSpinner-BlbTztM3.mjs → modules/chunks/MazSpinner-wVcTxosW.mjs} +7 -7
  219. package/modules/chunks/index-BJbzM3Z0.cjs +124 -0
  220. package/modules/chunks/{index-Kry9j5uD.mjs → index-DGys9TOt.mjs} +1187 -951
  221. package/modules/index.cjs +1 -1
  222. package/modules/index.mjs +47 -46
  223. package/nuxt/index.json +1 -1
  224. package/package.json +5 -3
  225. package/tailwindcss/tailwind.css +0 -6
  226. package/tailwindcss/utils/colors.ts +9 -5
  227. package/tailwindcss/variables/utilities.ts +3 -0
  228. package/types/components/MazBackdrop.vue.d.ts +21 -13
  229. package/types/components/MazBottomSheet.vue.d.ts +11 -24
  230. package/types/components/MazCircularProgressBar.vue.d.ts +18 -0
  231. package/types/components/MazDialog.vue.d.ts +20 -31
  232. package/types/components/MazDialogPromise.vue.d.ts +3 -3
  233. package/types/components/MazDrawer.vue.d.ts +7 -4
  234. package/types/components/MazInput.vue.d.ts +2 -0
  235. package/types/components/MazLink.vue.d.ts +2 -2
  236. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +2 -2
  237. package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +12 -23
  238. package/types/components/MazPhoneNumberInput/types.d.ts +4 -2
  239. package/{components/MazPhoneNumberInput/use-libphonenumber.d.ts → types/components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
  240. package/types/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
  241. package/types/components/MazSelect.vue.d.ts +1 -1
  242. package/types/components/MazStepper.vue.d.ts +1 -1
  243. package/types/components/MazTabs.vue.d.ts +3 -3
  244. package/types/components/MazTextarea.vue.d.ts +26 -48
  245. package/types/modules/composables/useFormValidator/types.d.ts +2 -2
  246. package/types/modules/composables/useFormValidator/useFormField.d.ts +56 -16
  247. package/types/modules/composables/useFormValidator/utils.d.ts +6 -6
  248. package/types/modules/composables/useLanguageDisplayNames.d.ts +13 -12
  249. package/types/modules/directives/closable.d.ts +1 -1
  250. package/types/modules/directives/tooltip/index.d.ts +21 -0
  251. package/types/tailwindcss/tailwind.config.d.ts +2 -2
  252. package/types/tailwindcss/utils/colors.d.ts +1 -1
  253. package/types/tailwindcss/variables/utilities.d.ts +3 -0
  254. package/components/MazPhoneNumberInput.d.ts +0 -240
  255. package/components/chunks/MazBottomSheet-D9EPpEV8.mjs +0 -208
  256. package/components/chunks/MazBtn-CB6xVwox.mjs +0 -103
  257. package/components/chunks/MazBtn-CIAdgMGr.mjs +0 -111
  258. package/components/chunks/MazBtn-CQq-U8qQ.mjs +0 -103
  259. package/components/chunks/MazBtn-Chk7DWOF.mjs +0 -103
  260. package/components/chunks/MazBtn-Ck84sP9a.mjs +0 -103
  261. package/components/chunks/MazBtn-DI80W9rl.mjs +0 -103
  262. package/components/chunks/MazBtn-DzwuLea3.mjs +0 -103
  263. package/components/chunks/MazBtn-tOUtVpek.mjs +0 -103
  264. package/components/chunks/MazDialog-XiX9LEiz.mjs +0 -237
  265. package/components/chunks/MazDialogPromise-B9_e3Ma9.mjs +0 -488
  266. package/components/chunks/MazIcon-BX2Gbz8R.mjs +0 -4
  267. package/components/chunks/MazPhoneNumberInput-B5Up8CqL.mjs +0 -1806
  268. package/components/chunks/MazSelect-DaDRzcT_.mjs +0 -552
  269. package/components/chunks/MazSpinner-C30YfScc.mjs +0 -34
  270. package/components/chunks/MazSpinner-C5mnD76l.mjs +0 -34
  271. package/components/chunks/MazSpinner-CDx6lo7l.mjs +0 -34
  272. package/components/chunks/MazSpinner-C_GueolV.mjs +0 -34
  273. package/components/chunks/MazSpinner-Cc-KlPEG.mjs +0 -34
  274. package/components/chunks/MazSpinner-Cgg2dkzQ.mjs +0 -34
  275. package/components/chunks/MazSpinner-CkKIUYXO.mjs +0 -34
  276. package/components/chunks/MazSpinner-CxyUHAvm.mjs +0 -34
  277. package/components/chunks/MazSpinner-DROgQW2M.mjs +0 -34
  278. package/components/chunks/MazSpinner-DjM6ktPY.mjs +0 -34
  279. package/components/chunks/MazSpinner-DjUU4G1h.mjs +0 -34
  280. package/components/chunks/MazSpinner-Du5o8JC_.mjs +0 -38
  281. package/components/chunks/MazSpinner-Dzs2W0kq.mjs +0 -34
  282. package/components/chunks/MazSpinner-NCtEpFMm.mjs +0 -34
  283. package/components/chunks/MazSpinner-QfPXLpa_.mjs +0 -34
  284. package/components/chunks/MazSpinner-XB6tX3Ld.mjs +0 -34
  285. package/components/chunks/MazSpinner-ZPQe8ON_.mjs +0 -34
  286. package/components/chunks/MazSpinner-b90e3OQK.mjs +0 -34
  287. package/components/chunks/MazSpinner-f6pBzqbu.mjs +0 -34
  288. package/components/chunks/MazTableRow-CIO-x6Lb.mjs +0 -30
  289. package/components/chunks/examples.mobile.json-JpNGylGv.mjs +0 -4
  290. package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +0 -11
  291. package/modules/chunks/MazBtn-0CRjeBvn.mjs +0 -103
  292. package/modules/chunks/MazBtn-DRqCRJD-.cjs +0 -1
  293. package/modules/chunks/MazSpinner-DV--lwdI.mjs +0 -34
  294. package/modules/chunks/MazSpinner-DersvZQw.cjs +0 -1
  295. package/modules/chunks/index-DvromXrX.cjs +0 -124
  296. package/types/components/MazPhoneNumberInput.vue.d.ts +0 -240
@@ -1,16 +1,16 @@
1
1
  import '../assets/MazGallery.css';var Ae = Object.defineProperty;
2
2
  var Ie = (o, e, t) => e in o ? Ae(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var g = (o, e, t) => Ie(o, typeof e != "symbol" ? e + "" : e, t);
4
- import { createVNode as z, render as M, defineComponent as re, defineAsyncComponent as N, ref as p, reactive as Ee, computed as C, watch as we, onMounted as Ce, onBeforeUnmount as Le, openBlock as b, createElementBlock as A, withModifiers as O, withKeys as xe, unref as w, createCommentVNode as S, createElementVNode as k, normalizeClass as R, withDirectives as T, vShow as ze, onBeforeMount as ke, normalizeStyle as se, Fragment as ne, renderList as oe, toDisplayString as Pe } from "vue";
5
- import { _ as ie } from "./MazCard-XBaeDZkg.mjs";
4
+ import { createVNode as z, render as M, defineComponent as ae, defineAsyncComponent as N, ref as p, reactive as Ee, computed as C, watch as we, onMounted as Ce, onBeforeUnmount as Le, openBlock as b, createElementBlock as A, withModifiers as O, withKeys as xe, unref as w, createCommentVNode as S, createElementVNode as k, normalizeClass as R, withDirectives as T, vShow as ze, onBeforeMount as ke, normalizeStyle as se, Fragment as ne, renderList as oe, toDisplayString as Pe } from "vue";
5
+ import { _ as ie } from "./MazCard-l54W3CUU.mjs";
6
6
  function Oe(o, e) {
7
7
  let t = e == null ? void 0 : e.element;
8
8
  function s() {
9
9
  t && M(null, t);
10
10
  }
11
- const r = { ...e == null ? void 0 : e.props, destroy: s }, l = z(
11
+ const a = { ...e == null ? void 0 : e.props, destroy: s }, l = z(
12
12
  o,
13
- r,
13
+ a,
14
14
  e == null ? void 0 : e.children
15
15
  );
16
16
  return e != null && e.app ? (l.appContext = e.app._context, t ? M(l, t) : typeof document < "u" && (t = document.createElement("div"), M(l, t))) : (t = t ?? document.body, M(l, t)), { vNode: l, destroy: s, el: t };
@@ -21,14 +21,14 @@ function Se(o, e, t) {
21
21
  interval: 100,
22
22
  ...t
23
23
  };
24
- let r = 0;
24
+ let a = 0;
25
25
  function l() {
26
26
  const u = o();
27
- u != null ? s.expectedValue !== void 0 && u !== s.expectedValue ? r < s.maxAttempts ? (r++, setTimeout(l, s.interval)) : console.warn(s.errorMessage || `[maz-ui](checkAvailability) Nothing found after ${s.maxAttempts} attempts for ref ${u}`) : e(u) : r < s.maxAttempts ? (r++, setTimeout(l, s.interval)) : console.warn(s.errorMessage || `[maz-ui](checkAvailability) Nothing found or expected value after ${s.maxAttempts} attempts for ref ${u}`);
27
+ u != null ? s.expectedValue !== void 0 && u !== s.expectedValue ? a < s.maxAttempts ? (a++, setTimeout(l, s.interval)) : console.warn(s.errorMessage || `[maz-ui](checkAvailability) Nothing found after ${s.maxAttempts} attempts for ref ${u}`) : e(u) : a < s.maxAttempts ? (a++, setTimeout(l, s.interval)) : console.warn(s.errorMessage || `[maz-ui](checkAvailability) Nothing found or expected value after ${s.maxAttempts} attempts for ref ${u}`);
28
28
  }
29
29
  l();
30
30
  }
31
- const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["src", "alt"], Me = /* @__PURE__ */ re({
31
+ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["src", "alt"], Me = /* @__PURE__ */ ae({
32
32
  __name: "MazFullscreenImg",
33
33
  props: {
34
34
  src: {},
@@ -46,7 +46,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
46
46
  },
47
47
  emits: ["close", "previous", "next", "before-close"],
48
48
  setup(o, { emit: e }) {
49
- const t = o, s = e, r = N(() => import("./MazSpinner-9M_EGMpy.mjs")), l = N(() => import("./x-mark-CnZwVvA7.mjs")), u = N(() => import("./chevron-left-BqVOLRdC.mjs")), y = p(!1), x = p(!1), L = p(!1), h = p(!1), m = p(!1), c = Ee({
49
+ const t = o, s = e, a = N(() => import("./MazSpinner-Cmy2WyWY.mjs")), l = N(() => import("./x-mark-CnZwVvA7.mjs")), u = N(() => import("./chevron-left-BqVOLRdC.mjs")), y = p(!1), x = p(!1), L = p(!1), h = p(!1), m = p(!1), c = Ee({
50
50
  running: !1,
51
51
  ended: !1
52
52
  }), d = p(t.clickedElement), le = C(() => t.clickedElement.getBoundingClientRect()), H = p(), D = p(t.src), q = p(t.alt), j = p(), v = p(), $ = p(!0), ce = C(() => ({
@@ -55,12 +55,12 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
55
55
  "--absolute": !m.value
56
56
  }));
57
57
  function ue() {
58
- var n, a;
59
- v.value && (H.value = ((n = v.value) == null ? void 0 : n.naturalWidth) > ((a = v.value) == null ? void 0 : a.naturalHeight)), y.value = !0, x.value = !1, L.value = !0;
58
+ var n, r;
59
+ v.value && (H.value = ((n = v.value) == null ? void 0 : n.naturalWidth) > ((r = v.value) == null ? void 0 : r.naturalHeight)), y.value = !0, x.value = !1, L.value = !0;
60
60
  }
61
61
  we(
62
62
  L,
63
- async (n) => {
63
+ (n) => {
64
64
  n && ge();
65
65
  },
66
66
  { immediate: !0 }
@@ -80,22 +80,22 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
80
80
  function Y() {
81
81
  return [...document.querySelectorAll(".m-fullscreen-img-instance")];
82
82
  }
83
- function he(n, a) {
84
- return a < 0 ? n.length - 1 : a >= n.length ? 0 : a;
83
+ function he(n, r) {
84
+ return r < 0 ? n.length - 1 : r >= n.length ? 0 : r;
85
85
  }
86
- async function fe(n, a) {
87
- n.classList.remove(t.openInstanceClass), a.classList.add(t.openInstanceClass);
88
- const i = a.getAttribute("data-src"), f = a.getAttribute("data-alt");
86
+ function fe(n, r) {
87
+ n.classList.remove(t.openInstanceClass), r.classList.add(t.openInstanceClass);
88
+ const i = r.getAttribute("data-src"), f = r.getAttribute("data-alt");
89
89
  q.value = f, D.value = i ?? D.value;
90
90
  }
91
91
  function U(n) {
92
92
  $.value = !0;
93
- const a = document.querySelector(
93
+ const r = document.querySelector(
94
94
  `.m-fullscreen-img-instance.${t.openInstanceClass}`
95
95
  );
96
- if (a) {
97
- const i = Y(), f = i.indexOf(a), I = n === "next" ? f + 1 : f - 1, E = i[he(i, I)];
98
- d.value = E, E && fe(a, E), s(n), y.value = !1, x.value = !0, Se(() => y.value === !0, () => {
96
+ if (r) {
97
+ const i = Y(), f = i.indexOf(r), I = n === "next" ? f + 1 : f - 1, E = i[he(i, I)];
98
+ d.value = E, E && fe(r, E), s(n), y.value = !1, x.value = !0, Se(() => y.value === !0, () => {
99
99
  $.value = !1, m.value ? K() : P();
100
100
  }, {
101
101
  expectedValue: !0,
@@ -112,37 +112,37 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
112
112
  }
113
113
  n.style.removeProperty("max-width"), n.style.removeProperty("max-height"), n == null || n.style.removeProperty("top"), n == null || n.style.removeProperty("left"), H.value ? (n.style.height = "100vh", n.style.removeProperty("width")) : (n.style.width = "100vw", n.style.removeProperty("height"));
114
114
  }
115
- async function ve() {
115
+ function ve() {
116
116
  m.value ? (m.value = !m.value, P()) : (m.value = !m.value, K());
117
117
  }
118
118
  function X(n) {
119
119
  var i;
120
120
  c.running = !0, $.value = !1;
121
- const a = (i = v.value) == null ? void 0 : i.animate(n, {
121
+ const r = (i = v.value) == null ? void 0 : i.animate(n, {
122
122
  duration: t.animation.duration,
123
123
  easing: t.animation.easing
124
124
  });
125
- if (!a) {
125
+ if (!r) {
126
126
  console.error("[maz-ui](vFullscreenImg) animation is not defined"), c.running = !1, c.ended = !0;
127
127
  return;
128
128
  }
129
- return a;
129
+ return r;
130
130
  }
131
131
  function Q(n = t.offset ?? 0) {
132
- const a = d.value.clientWidth || 1, i = d.value.clientHeight || 1, f = window.innerWidth, I = window.innerHeight, E = Math.min(
133
- (f - 2 * n) / a,
132
+ const r = d.value.clientWidth || 1, i = d.value.clientHeight || 1, f = window.innerWidth, I = window.innerHeight, E = Math.min(
133
+ (f - 2 * n) / r,
134
134
  (I - 2 * n) / i
135
- ), W = (f - a * E) / 2, Z = (I - i * E) / 2;
135
+ ), W = (f - r * E) / 2, Z = (I - i * E) / 2;
136
136
  return {
137
137
  centerX: W,
138
138
  centerY: Z,
139
- width: a,
139
+ width: r,
140
140
  height: i,
141
141
  scale: E
142
142
  };
143
143
  }
144
144
  function J({ trigger: n }) {
145
- const { width: a, height: i, scale: f, centerX: I, centerY: E } = Q(), { top: W, left: Z, width: ye, height: be } = le.value, te = [
145
+ const { width: r, height: i, scale: f, centerX: I, centerY: E } = Q(), { top: W, left: Z, width: ye, height: be } = le.value, te = [
146
146
  {
147
147
  top: `${W}px`,
148
148
  left: `${Z}px`,
@@ -153,7 +153,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
153
153
  {
154
154
  top: `${E}px`,
155
155
  left: `${I}px`,
156
- width: `${a * f}px`,
156
+ width: `${r * f}px`,
157
157
  height: `${i * f}px`,
158
158
  opacity: 1
159
159
  }
@@ -163,12 +163,12 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
163
163
  };
164
164
  }
165
165
  function P() {
166
- const { height: n, width: a, scale: i } = Q(), f = H.value ? {
167
- width: `${a * i}px`,
166
+ const { height: n, width: r, scale: i } = Q(), f = H.value ? {
167
+ width: `${r * i}px`,
168
168
  maxHeight: `${n * i}px`
169
169
  } : {
170
170
  height: `${n * i}px`,
171
- maxWidth: `${a * i}px`
171
+ maxWidth: `${r * i}px`
172
172
  };
173
173
  if (!v.value) {
174
174
  console.error("[maz-ui](vFullscreenImg) ImgElement is not defined");
@@ -179,28 +179,28 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
179
179
  function ge() {
180
180
  const { frames: n } = J({
181
181
  trigger: "open"
182
- }), a = X(n);
183
- if (!a) {
182
+ }), r = X(n);
183
+ if (!r) {
184
184
  console.error("[maz-ui](vFullscreenImg) open animation is not defined"), P();
185
185
  return;
186
186
  }
187
- a.onfinish = () => {
187
+ r.onfinish = () => {
188
188
  P(), c.running = !1, c.ended = !0;
189
189
  };
190
190
  }
191
191
  function pe() {
192
192
  const { frames: n } = J({
193
193
  trigger: "close"
194
- }), a = X(n);
194
+ }), r = X(n);
195
195
  function i() {
196
196
  var f, I;
197
197
  s("close"), (f = j.value) == null || f.remove(), (I = t.destroy) == null || I.call(t), c.running = !1, c.ended = !0;
198
198
  }
199
- if (!a) {
199
+ if (!r) {
200
200
  console.error("[maz-ui](vFullscreenImg) close animation is not defined"), i();
201
201
  return;
202
202
  }
203
- a.onfinish = i;
203
+ r.onfinish = i;
204
204
  }
205
205
  function ee() {
206
206
  m.value || P();
@@ -209,11 +209,11 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
209
209
  x.value = !0, document.addEventListener("keydown", G), window.addEventListener("resize", ee), me(), h.value = Y().length > 1;
210
210
  }), Le(() => {
211
211
  document.removeEventListener("keydown", G), window.removeEventListener("resize", ee), de();
212
- }), (n, a) => (b(), A("div", {
212
+ }), (n, r) => (b(), A("div", {
213
213
  ref_key: "FullscreenImgElement",
214
214
  ref: j,
215
215
  role: "button",
216
- class: "m-fullscreen-img",
216
+ class: "m-fullscreen-img m-reset-css",
217
217
  tabindex: "0",
218
218
  onClick: O(B, ["stop"]),
219
219
  onKeypress: xe(O(B, ["prevent"]), ["esc"])
@@ -222,7 +222,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
222
222
  key: 0,
223
223
  type: "button",
224
224
  class: "m-fullscreen-btn --next",
225
- onClick: a[0] || (a[0] = O((i) => U("next"), ["stop"]))
225
+ onClick: r[0] || (r[0] = O((i) => U("next"), ["stop"]))
226
226
  }, [
227
227
  z(w(u), { class: "maz-rotate-180" })
228
228
  ])) : S("v-if", !0),
@@ -230,7 +230,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
230
230
  key: 1,
231
231
  type: "button",
232
232
  class: "m-fullscreen-btn --previous",
233
- onClick: a[1] || (a[1] = O((i) => U("previous"), ["stop"]))
233
+ onClick: r[1] || (r[1] = O((i) => U("previous"), ["stop"]))
234
234
  }, [
235
235
  z(w(u))
236
236
  ])) : S("v-if", !0),
@@ -250,10 +250,10 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
250
250
  tabindex: "0",
251
251
  class: R([ce.value]),
252
252
  onLoad: ue,
253
- onClick: a[2] || (a[2] = O((i) => n.zoom && ve(), ["stop"]))
253
+ onClick: r[2] || (r[2] = O((i) => n.zoom && ve(), ["stop"]))
254
254
  }, null, 42, Be),
255
255
  T(z(
256
- w(r),
256
+ w(a),
257
257
  { class: "m-fullscreen-img-loader" },
258
258
  null,
259
259
  512
@@ -264,7 +264,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
264
264
  ])
265
265
  ], 40, He));
266
266
  }
267
- }), _e = /* @__PURE__ */ ie(Me, [["__scopeId", "data-v-037cf196"]]), ae = "m-fullscreen-is-open";
267
+ }), _e = /* @__PURE__ */ ie(Me, [["__scopeId", "data-v-24a18baf"]]), re = "m-fullscreen-is-open";
268
268
  class Fe {
269
269
  constructor() {
270
270
  g(this, "options");
@@ -284,11 +284,11 @@ class Fe {
284
284
  g(this, "renderPreviewListener");
285
285
  }
286
286
  buildOptions(e, t) {
287
- const s = typeof t.value == "object" ? t.value : { src: t.value, alt: void 0 }, r = (s == null ? void 0 : s.src) ?? this.getImgSrc(e), l = (s == null ? void 0 : s.alt) ?? this.getImgAlt(e);
287
+ const s = typeof t.value == "object" ? t.value : { src: t.value, alt: void 0 }, a = (s == null ? void 0 : s.src) ?? this.getImgSrc(e), l = (s == null ? void 0 : s.alt) ?? this.getImgAlt(e);
288
288
  return {
289
289
  ...this.defaultOptions,
290
290
  ...s,
291
- src: r,
291
+ src: a,
292
292
  alt: l
293
293
  };
294
294
  }
@@ -322,10 +322,10 @@ class Fe {
322
322
  e.removeEventListener("mouseenter", this.mouseEnterListener), e.removeEventListener("mouseleave", this.mouseLeaveListener), e.removeEventListener("click", this.renderPreviewListener), e.classList.remove("m-fullscreen-img-instance"), e.style.cursor = "";
323
323
  }
324
324
  renderPreview(e) {
325
- return e.classList.add(ae), Oe(_e, {
325
+ return e.classList.add(re), Oe(_e, {
326
326
  props: {
327
327
  ...this.options,
328
- openInstanceClass: ae,
328
+ openInstanceClass: re,
329
329
  clickedElement: e,
330
330
  clickedElementBounds: e.getBoundingClientRect()
331
331
  },
@@ -426,9 +426,9 @@ class Te {
426
426
  const t = e.querySelectorAll("source");
427
427
  if (t.length > 0)
428
428
  for await (const s of t) {
429
- const r = s.getAttribute("data-lazy-srcset");
430
- if (r)
431
- s.srcset = r;
429
+ const a = s.getAttribute("data-lazy-srcset");
430
+ if (a)
431
+ s.srcset = a;
432
432
  else
433
433
  return this.imageHasError(e);
434
434
  }
@@ -449,9 +449,9 @@ class Te {
449
449
  return;
450
450
  const t = this.options.fallbackSrc ?? this.options.errorPhoto;
451
451
  typeof t == "string" && this.addClass(e, this.options.noPhotoClass);
452
- const s = t ?? await this.loadErrorPhoto(), r = e.querySelectorAll("source");
453
- if (r.length > 0)
454
- for await (const l of r)
452
+ const s = t ?? await this.loadErrorPhoto(), a = e.querySelectorAll("source");
453
+ if (a.length > 0)
454
+ for await (const l of a)
455
455
  l.srcset = s;
456
456
  else
457
457
  this.setImgSrc(e, s);
@@ -476,12 +476,12 @@ class Te {
476
476
  const s = this.getImgElement(e);
477
477
  s.src = t;
478
478
  }
479
- handleIntersectionObserver(e, t, s, r) {
479
+ handleIntersectionObserver(e, t, s, a) {
480
480
  var l, u;
481
- this.observers.push(r);
481
+ this.observers.push(a);
482
482
  for (const y of s)
483
483
  if (y.isIntersecting) {
484
- if ((u = (l = this.options).onIntersecting) == null || u.call(l, y.target), this.options.observerOnce && r.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
484
+ if ((u = (l = this.options).onIntersecting) == null || u.call(l, y.target), this.options.observerOnce && a.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
485
485
  return;
486
486
  this.loadImage(e, t);
487
487
  }
@@ -489,12 +489,12 @@ class Te {
489
489
  createObserver(e, t) {
490
490
  const s = (u, y) => {
491
491
  this.handleIntersectionObserver(e, t, u, y);
492
- }, r = this.options.observerOptions;
493
- new IntersectionObserver(s, r).observe(e);
492
+ }, a = this.options.observerOptions;
493
+ new IntersectionObserver(s, a).observe(e);
494
494
  }
495
495
  async imageHandler(e, t, s) {
496
496
  if (s === "update")
497
- for await (const r of this.observers) r.unobserve(e);
497
+ for await (const a of this.observers) a.unobserve(e);
498
498
  window.IntersectionObserver ? this.createObserver(e, t) : this.loadImage(e, t);
499
499
  }
500
500
  async bindUpdateHandler(e, t, s) {
@@ -532,7 +532,7 @@ const De = {
532
532
  }, Ue = { class: "m-gallery__wrapper maz-flex maz-flex-1" }, We = ["alt"], Ze = {
533
533
  key: 0,
534
534
  class: "m-gallery__remaining-layer maz-flex maz-bg-overlay maz-flex-center"
535
- }, Ve = { class: "maz-text-2xl maz-text-white" }, qe = /* @__PURE__ */ re({
535
+ }, Ve = { class: "maz-text-2xl maz-text-white" }, qe = /* @__PURE__ */ ae({
536
536
  __name: "MazGallery",
537
537
  props: {
538
538
  /**
@@ -586,9 +586,9 @@ const De = {
586
586
  minHeight: typeof d == "number" ? `${d}px` : `${d}`
587
587
  }
588
588
  };
589
- }), r = C(() => e.imagesShownCount <= 5 ? e.imagesShownCount : 5), l = C(() => e.images.length - (e.images.length < r.value ? e.images.length : r.value)), u = C(() => e.images.map(
589
+ }), a = C(() => e.imagesShownCount <= 5 ? e.imagesShownCount : 5), l = C(() => e.images.length - (e.images.length < a.value ? e.images.length : a.value)), u = C(() => e.images.map(
590
590
  (h) => typeof h == "object" ? { ...h, thumbnail: h.thumbnail ?? h.src } : { src: h, thumbnail: h, alt: void 0 }
591
- )), y = C(() => u.value.slice(0, r.value)), x = C(() => u.value.slice(r.value, e.images.length));
591
+ )), y = C(() => u.value.slice(0, a.value)), x = C(() => u.value.slice(a.value, e.images.length));
592
592
  function L(h) {
593
593
  return e.noRemaining ? !1 : (l.value && h + 1) === y.value.length;
594
594
  }
@@ -596,7 +596,7 @@ const De = {
596
596
  "div",
597
597
  {
598
598
  key: 0,
599
- class: R(["m-gallery maz-flex", { "maz-rounded": !o.noRadius }]),
599
+ class: R(["m-gallery m-reset-css", { "maz-rounded": !o.noRadius }]),
600
600
  style: se([s.value, { "--gallery-separator-color": o.separatorColor }])
601
601
  },
602
602
  [
@@ -681,7 +681,7 @@ const De = {
681
681
  /* CLASS, STYLE */
682
682
  )) : S("v-if", !0);
683
683
  }
684
- }), Ke = /* @__PURE__ */ ie(qe, [["__scopeId", "data-v-3b59e0cd"]]);
684
+ }), Ke = /* @__PURE__ */ ie(qe, [["__scopeId", "data-v-a92296a0"]]);
685
685
  export {
686
686
  Ke as default
687
687
  };