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

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 (368) 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 +18 -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 +13 -24
  61. package/components/MazPhoneNumberInput/types.d.ts +4 -2
  62. package/{types/components/MazPhoneNumberInput/use-libphonenumber.d.ts → components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
  63. package/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
  64. package/components/MazPhoneNumberInput.mjs +1 -1
  65. package/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
  66. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
  67. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  68. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
  69. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
  70. package/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
  71. package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  72. package/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
  73. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
  74. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
  75. package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  76. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
  77. package/components/MazPicker.d.ts +3 -1
  78. package/components/MazPicker.mjs +1 -1
  79. package/components/MazPullToRefresh.d.ts +4 -3
  80. package/components/MazRadio.d.ts +1 -1
  81. package/components/MazRadio.mjs +31 -37
  82. package/components/MazRadioButtons.d.ts +1 -1
  83. package/components/MazReadingProgressBar.d.ts +1 -1
  84. package/components/MazSelect.d.ts +2 -2
  85. package/components/MazSelect.mjs +1 -1
  86. package/components/MazSlider.d.ts +1 -1
  87. package/components/MazSpinner.d.ts +1 -1
  88. package/components/MazStepper.d.ts +3 -2
  89. package/components/MazStepper.mjs +1 -1
  90. package/components/MazSwitch.d.ts +2 -1
  91. package/components/MazSwitch.mjs +29 -33
  92. package/components/MazTable.d.ts +8 -2
  93. package/components/MazTable.mjs +3 -2
  94. package/components/MazTableCell.d.ts +3 -2
  95. package/components/MazTableCell.mjs +12 -12
  96. package/components/MazTableRow.d.ts +3 -2
  97. package/components/MazTableRow.mjs +16 -16
  98. package/components/MazTableTitle.d.ts +3 -2
  99. package/components/MazTableTitle.mjs +18 -18
  100. package/components/MazTabs.d.ts +3 -2
  101. package/components/MazTabsBar.d.ts +3 -2
  102. package/components/MazTabsBar.mjs +1 -1
  103. package/components/MazTabsContent.d.ts +3 -2
  104. package/components/MazTabsContent.mjs +4 -4
  105. package/components/MazTabsContentItem.d.ts +2 -1
  106. package/components/MazTabsContentItem.mjs +11 -11
  107. package/components/MazTextarea.d.ts +58 -32
  108. package/components/MazTextarea.mjs +128 -109
  109. package/components/MazTransitionExpand.d.ts +2 -1
  110. package/components/MazTransitionExpand.mjs +9 -9
  111. package/components/assets/MazAccordion.css +1 -1
  112. package/components/assets/MazAnimatedCounter.css +1 -1
  113. package/components/assets/MazAvatar.css +1 -1
  114. package/components/assets/MazBackdrop.css +1 -1
  115. package/components/assets/MazBadge.css +1 -1
  116. package/components/assets/MazBottomSheet.css +1 -1
  117. package/components/assets/MazBtn.css +1 -1
  118. package/components/assets/MazCardSpotlight.css +1 -1
  119. package/components/assets/MazCheckbox.css +1 -1
  120. package/components/assets/MazChecklist.css +1 -1
  121. package/components/assets/MazCircularProgressBar.css +1 -1
  122. package/components/assets/MazDialog.css +1 -1
  123. package/components/assets/MazDialogPromise.css +1 -1
  124. package/components/assets/MazDrawer.css +1 -1
  125. package/components/assets/MazDropdown.css +1 -1
  126. package/components/assets/MazExpandAnimation.css +1 -1
  127. package/components/assets/MazGallery.css +1 -1
  128. package/components/assets/MazInput.css +1 -1
  129. package/components/assets/MazInputCode.css +1 -1
  130. package/components/assets/MazInputNumber.css +1 -1
  131. package/components/assets/MazInputPrice.css +1 -1
  132. package/components/assets/MazInputTags.css +1 -1
  133. package/components/assets/MazLoadingBar.css +1 -1
  134. package/components/assets/MazPagination.css +1 -1
  135. package/components/assets/MazPhoneNumberInput.css +1 -1
  136. package/components/assets/MazPicker.css +1 -1
  137. package/components/assets/MazRadio.css +1 -1
  138. package/components/assets/MazSelect.css +1 -1
  139. package/components/assets/MazStepper.css +1 -1
  140. package/components/assets/MazSwitch.css +1 -1
  141. package/components/assets/MazTable.css +1 -1
  142. package/components/assets/MazTableCell.css +1 -1
  143. package/components/assets/MazTableRow.css +1 -1
  144. package/components/assets/MazTableTitle.css +1 -1
  145. package/components/assets/MazTabsBar.css +1 -1
  146. package/components/assets/MazTabsContentItem.css +1 -1
  147. package/components/assets/MazTextarea.css +1 -1
  148. package/components/assets/MazTransitionExpand.css +1 -1
  149. package/components/chunks/{MazAvatar-DFoZvWmg.mjs → MazAvatar-CZzOIbzh.mjs} +54 -54
  150. package/components/chunks/{MazBadge-CqppWg2j.mjs → MazBadge-DCzaExPj.mjs} +2 -2
  151. package/components/chunks/MazBottomSheet-DGsGO0zo.mjs +224 -0
  152. package/components/chunks/MazBtn-4-B-zs6Y.mjs +103 -0
  153. package/components/chunks/MazBtn-BS2kvd1Z.mjs +103 -0
  154. package/components/chunks/MazBtn-BVWOyFm-.mjs +103 -0
  155. package/components/chunks/MazBtn-C60T0UDa.mjs +103 -0
  156. package/components/chunks/MazBtn-C6zsmGnw.mjs +103 -0
  157. package/components/chunks/MazBtn-C7yEnuOD.mjs +103 -0
  158. package/components/chunks/MazBtn-CM-xSnA5.mjs +108 -0
  159. package/components/chunks/MazBtn-CsLtHm4K.mjs +103 -0
  160. package/components/chunks/MazBtn-D1jMqwE1.mjs +103 -0
  161. package/components/chunks/MazBtn-DAXwt847.mjs +103 -0
  162. package/components/chunks/MazBtn-DOWVQgpN.mjs +103 -0
  163. package/components/chunks/MazBtn-DZaVjTvW.mjs +103 -0
  164. package/components/chunks/MazBtn-ZAcYNusG.mjs +103 -0
  165. package/components/chunks/MazBtn-oZhhJy09.mjs +103 -0
  166. package/components/chunks/{MazCard-BYB8y1_u.mjs → MazCard-98OuVlyK.mjs} +1 -1
  167. package/components/chunks/{MazCarousel-DccWVW8H.mjs → MazCarousel-COTaKhKF.mjs} +1 -1
  168. package/components/chunks/{MazCheckbox-DMogZVHl.mjs → MazCheckbox-BNvSeNBP.mjs} +63 -59
  169. package/components/chunks/{MazCheckbox-B22OcHt8.mjs → MazCheckbox-CCma_qyQ.mjs} +63 -59
  170. package/components/chunks/{MazCheckbox-Db6sPUbV.mjs → MazCheckbox-eOEEACaM.mjs} +64 -60
  171. package/components/chunks/{MazChecklist-C95Y4Hb-.mjs → MazChecklist-Bb_70sf5.mjs} +110 -111
  172. package/components/chunks/MazDialog-Ca3jJ12T.mjs +297 -0
  173. package/components/chunks/MazDialogPromise-DOnmLhui.mjs +551 -0
  174. package/components/chunks/MazDrawer-Bas9dy0D.mjs +226 -0
  175. package/components/chunks/MazDropdown-0r445NfW.mjs +426 -0
  176. package/components/chunks/MazExpandAnimation-Bdf0-L85.mjs +54 -0
  177. package/components/chunks/{MazGallery-VTZUhBKC.mjs → MazGallery-r8SBTCgJ.mjs} +42 -45
  178. package/components/chunks/{MazGallery-CXQiXWFr.mjs → MazGallery-xPp1apvO.mjs} +94 -97
  179. package/components/chunks/MazIcon-BoTByt7n.mjs +4 -0
  180. package/components/chunks/{MazIcon-DjMuw8Bz.mjs → MazIcon-C-aPrqx2.mjs} +4 -3
  181. package/components/chunks/{MazIcon-BbvBov5G.mjs → MazIcon-_hN-Kivn.mjs} +14 -13
  182. package/components/chunks/{MazIcon-BF5TFzse.mjs → MazIcon-kLACGOa2.mjs} +4 -3
  183. package/components/chunks/MazInput-BM4n-byz.mjs +313 -0
  184. package/components/chunks/MazInput-BcutbP8N.mjs +314 -0
  185. package/components/chunks/MazInput-C9Qh4Gt3.mjs +324 -0
  186. package/components/chunks/MazInputNumber-DgjOMiOt.mjs +600 -0
  187. package/components/chunks/{MazInputPrice-DoTnDDIN.mjs → MazInputPrice-D6fJN9yv.mjs} +200 -169
  188. package/components/chunks/{MazInputTags-Dj3sW-e5.mjs → MazInputTags-DthGSyHQ.mjs} +251 -223
  189. package/components/chunks/{MazLazyImg-C03sUOXs.mjs → MazLazyImg-DQLwaKKz.mjs} +2 -2
  190. package/components/chunks/{MazLink-C_3Wya94.mjs → MazLink-tud3eDgU.mjs} +1 -1
  191. package/components/chunks/MazLoadingBar-C2qPjfEQ.mjs +36 -0
  192. package/components/chunks/MazPagination-BSu0Ifkp.mjs +327 -0
  193. package/components/chunks/MazPhoneNumberInput-BQjByOtQ.mjs +1813 -0
  194. package/components/chunks/MazPicker-BljfUneI.mjs +2486 -0
  195. package/components/chunks/{MazPickerMonthSwitcher-CmFFQoPA.mjs → MazPickerMonthSwitcher-CEVb4BXw.mjs} +1 -1
  196. package/components/chunks/{MazPickerShortcuts-DaELz7aq.mjs → MazPickerShortcuts-DayGMC9m.mjs} +1 -1
  197. package/components/chunks/{MazPickerYearSwitcher-m1_KXnpA.mjs → MazPickerYearSwitcher-DC1lFIbp.mjs} +1 -1
  198. package/components/chunks/MazSelect-CH3JdigO.mjs +867 -0
  199. package/components/chunks/MazSelect-D3KXcHJS.mjs +550 -0
  200. package/components/chunks/MazSpinner-B5JChIrj.mjs +34 -0
  201. package/components/chunks/{MazSpinner-DoRGA1RI.mjs → MazSpinner-BBZoDxwq.mjs} +1 -1
  202. package/components/chunks/{MazSpinner-BpkPcfCt.mjs → MazSpinner-BIPm54-3.mjs} +1 -1
  203. package/components/chunks/{MazSpinner-edxn0ncQ.mjs → MazSpinner-BlbTztM3.mjs} +1 -1
  204. package/components/chunks/MazSpinner-C-ln9ldX.mjs +34 -0
  205. package/components/chunks/MazSpinner-C11EOZZd.mjs +34 -0
  206. package/components/chunks/{MazSpinner-BsYJDmi9.mjs → MazSpinner-C6h03sqc.mjs} +1 -1
  207. package/components/chunks/{MazSpinner-Bb3f2t6w.mjs → MazSpinner-CCc9ajpj.mjs} +1 -1
  208. package/components/chunks/{MazSpinner-BcB0szZB.mjs → MazSpinner-CgKOIkQQ.mjs} +1 -1
  209. package/components/chunks/{MazSpinner-DmiLBQgR.mjs → MazSpinner-Cp_nPioh.mjs} +1 -1
  210. package/components/chunks/{MazSpinner-CfiIXW8y.mjs → MazSpinner-CwdlrYSt.mjs} +1 -1
  211. package/components/chunks/MazSpinner-D5Sbo759.mjs +34 -0
  212. package/components/chunks/MazSpinner-DPur0-r-.mjs +34 -0
  213. package/components/chunks/MazSpinner-DjUU4G1h.mjs +34 -0
  214. package/components/chunks/MazSpinner-DoPIk0St.mjs +34 -0
  215. package/components/chunks/{MazSpinner-C-64WJje.mjs → MazSpinner-DqD51Fb6.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/MazStepper-B3fuhbye.mjs +218 -0
  220. package/components/chunks/{MazTable-BJDPdIJB.mjs → MazTable-BU3Hluiu.mjs} +85 -81
  221. package/components/chunks/MazTableCell-DKMZAanm.mjs +23 -0
  222. package/components/chunks/MazTableRow-CDHpmXfw.mjs +30 -0
  223. package/components/chunks/{MazTableTitle-Ch-nyY1E.mjs → MazTableTitle-BSFZ84Ob.mjs} +4 -4
  224. package/components/chunks/{MazTabsBar-CM-w7V97.mjs → MazTabsBar--Xq_cpuz.mjs} +62 -78
  225. package/components/chunks/{MazTransitionExpand-PmUDa51_.mjs → MazTransitionExpand-Cedz9Ree.mjs} +8 -8
  226. package/components/chunks/examples.mobile.json-tW3aL0qI.mjs +4 -0
  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 +18 -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 +13 -24
  276. package/types/components/MazPhoneNumberInput/types.d.ts +4 -2
  277. package/{components/MazPhoneNumberInput/use-libphonenumber.d.ts → types/components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
  278. package/types/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
  279. package/types/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
  280. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
  281. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  282. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
  283. package/types/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
  284. package/types/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
  285. package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  286. package/types/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
  287. package/types/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
  288. package/types/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
  289. package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  290. package/types/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
  291. package/types/components/MazPicker.vue.d.ts +3 -1
  292. package/types/components/MazPullToRefresh.vue.d.ts +4 -3
  293. package/types/components/MazRadio.vue.d.ts +1 -1
  294. package/types/components/MazRadioButtons.vue.d.ts +1 -1
  295. package/types/components/MazReadingProgressBar.vue.d.ts +1 -1
  296. package/types/components/MazSelect.vue.d.ts +2 -2
  297. package/types/components/MazSlider.vue.d.ts +1 -1
  298. package/types/components/MazSpinner.vue.d.ts +1 -1
  299. package/types/components/MazStepper.vue.d.ts +3 -2
  300. package/types/components/MazSwitch.vue.d.ts +2 -1
  301. package/types/components/MazTable.vue.d.ts +8 -2
  302. package/types/components/MazTableCell.vue.d.ts +3 -2
  303. package/types/components/MazTableRow.vue.d.ts +3 -2
  304. package/types/components/MazTableTitle.vue.d.ts +3 -2
  305. package/types/components/MazTabs.vue.d.ts +3 -2
  306. package/types/components/MazTabsBar.vue.d.ts +3 -2
  307. package/types/components/MazTabsContent.vue.d.ts +3 -2
  308. package/types/components/MazTabsContentItem.vue.d.ts +2 -1
  309. package/types/components/MazTextarea.vue.d.ts +58 -32
  310. package/types/components/MazTransitionExpand.vue.d.ts +2 -1
  311. package/types/modules/composables/useFormValidator/types.d.ts +8 -8
  312. package/types/modules/composables/useFormValidator/useFormField.d.ts +2 -2
  313. package/types/modules/composables/useFormValidator/useFormValidator.d.ts +3 -3
  314. package/types/modules/composables/useFormValidator/utils.d.ts +5 -5
  315. package/types/modules/composables/useLanguageDisplayNames.d.ts +13 -12
  316. package/types/modules/directives/closable.d.ts +1 -1
  317. package/types/modules/directives/tooltip/index.d.ts +21 -0
  318. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
  319. package/types/modules/helpers/inject-strict.d.ts +2 -1
  320. package/types/tailwindcss/variables/colors.d.ts +2 -0
  321. package/components/MazPhoneNumberInput.d.ts +0 -239
  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/MazPhoneNumberInput-BbssOUzo.mjs +0 -1778
  347. package/components/chunks/MazPicker-DwWiIYAR.mjs +0 -2456
  348. package/components/chunks/MazSelect-BJ07NVXQ.mjs +0 -843
  349. package/components/chunks/MazSelect-CDV9Fx6m.mjs +0 -556
  350. package/components/chunks/MazSpinner-BymqEMBk.mjs +0 -34
  351. package/components/chunks/MazSpinner-CEFbkZkM.mjs +0 -34
  352. package/components/chunks/MazSpinner-CsEQ9EXb.mjs +0 -34
  353. package/components/chunks/MazSpinner-CykRbNHD.mjs +0 -34
  354. package/components/chunks/MazSpinner-D3-pqOh3.mjs +0 -34
  355. package/components/chunks/MazSpinner-DS58mtzm.mjs +0 -34
  356. package/components/chunks/MazSpinner-Dmkr_r9u.mjs +0 -34
  357. package/components/chunks/MazSpinner-eC03bFP5.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/examples.mobile.json-JpNGylGv.mjs +0 -4
  364. package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +0 -11
  365. package/modules/chunks/MazBtn-B_Xlvgbg.cjs +0 -1
  366. package/modules/chunks/MazBtn-Dsr06Zgg.mjs +0 -106
  367. package/modules/chunks/index-CUNN0eIB.cjs +0 -124
  368. package/types/components/MazPhoneNumberInput.vue.d.ts +0 -239
@@ -1,33 +1,33 @@
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, useCssVars as ke, onBeforeMount as Pe, normalizeStyle as se, Fragment as ne, renderList as oe, toDisplayString as Oe } from "vue";
5
- function Se(o, e) {
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
+ function Oe(o, e) {
6
6
  let t = e == null ? void 0 : e.element;
7
7
  function s() {
8
8
  t && M(null, t);
9
9
  }
10
- const r = { ...e == null ? void 0 : e.props, destroy: s }, l = z(
10
+ const a = { ...e == null ? void 0 : e.props, destroy: s }, l = z(
11
11
  o,
12
- r,
12
+ a,
13
13
  e == null ? void 0 : e.children
14
14
  );
15
15
  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 };
16
16
  }
17
- function He(o, e, t) {
17
+ function Se(o, e, t) {
18
18
  const s = {
19
19
  maxAttempts: 20,
20
20
  interval: 100,
21
21
  ...t
22
22
  };
23
- let r = 0;
23
+ let a = 0;
24
24
  function l() {
25
25
  const u = o();
26
- 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}`);
26
+ 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}`);
27
27
  }
28
28
  l();
29
29
  }
30
- const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["src", "alt"], _e = /* @__PURE__ */ re({
30
+ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["src", "alt"], Me = /* @__PURE__ */ ae({
31
31
  __name: "MazFullscreenImg",
32
32
  props: {
33
33
  src: {},
@@ -45,7 +45,7 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
45
45
  },
46
46
  emits: ["close", "previous", "next", "before-close"],
47
47
  setup(o, { emit: e }) {
48
- const t = o, s = e, r = N(() => import("./MazSpinner-C-64WJje.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({
48
+ const t = o, s = e, a = N(() => import("./MazSpinner-DqD51Fb6.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
49
  running: !1,
50
50
  ended: !1
51
51
  }), 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(() => ({
@@ -54,12 +54,12 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
54
54
  "--absolute": !m.value
55
55
  }));
56
56
  function ue() {
57
- var n, a;
58
- 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;
57
+ var n, r;
58
+ 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;
59
59
  }
60
60
  we(
61
61
  L,
62
- async (n) => {
62
+ (n) => {
63
63
  n && ge();
64
64
  },
65
65
  { immediate: !0 }
@@ -79,22 +79,22 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
79
79
  function Y() {
80
80
  return [...document.querySelectorAll(".m-fullscreen-img-instance")];
81
81
  }
82
- function he(n, a) {
83
- return a < 0 ? n.length - 1 : a >= n.length ? 0 : a;
82
+ function he(n, r) {
83
+ return r < 0 ? n.length - 1 : r >= n.length ? 0 : r;
84
84
  }
85
- async function fe(n, a) {
86
- n.classList.remove(t.openInstanceClass), a.classList.add(t.openInstanceClass);
87
- const i = a.getAttribute("data-src"), f = a.getAttribute("data-alt");
85
+ function fe(n, r) {
86
+ n.classList.remove(t.openInstanceClass), r.classList.add(t.openInstanceClass);
87
+ const i = r.getAttribute("data-src"), f = r.getAttribute("data-alt");
88
88
  q.value = f, D.value = i ?? D.value;
89
89
  }
90
90
  function U(n) {
91
91
  $.value = !0;
92
- const a = document.querySelector(
92
+ const r = document.querySelector(
93
93
  `.m-fullscreen-img-instance.${t.openInstanceClass}`
94
94
  );
95
- if (a) {
96
- const i = Y(), f = i.indexOf(a), I = n === "next" ? f + 1 : f - 1, E = i[he(i, I)];
97
- d.value = E, E && fe(a, E), s(n), y.value = !1, x.value = !0, He(() => y.value === !0, () => {
95
+ if (r) {
96
+ const i = Y(), f = i.indexOf(r), I = n === "next" ? f + 1 : f - 1, E = i[he(i, I)];
97
+ d.value = E, E && fe(r, E), s(n), y.value = !1, x.value = !0, Se(() => y.value === !0, () => {
98
98
  $.value = !1, m.value ? K() : P();
99
99
  }, {
100
100
  expectedValue: !0,
@@ -111,40 +111,40 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
111
111
  }
112
112
  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"));
113
113
  }
114
- async function ve() {
114
+ function ve() {
115
115
  m.value ? (m.value = !m.value, P()) : (m.value = !m.value, K());
116
116
  }
117
117
  function X(n) {
118
118
  var i;
119
119
  c.running = !0, $.value = !1;
120
- const a = (i = v.value) == null ? void 0 : i.animate(n, {
120
+ const r = (i = v.value) == null ? void 0 : i.animate(n, {
121
121
  duration: t.animation.duration,
122
122
  easing: t.animation.easing
123
123
  });
124
- if (!a) {
124
+ if (!r) {
125
125
  console.error("[maz-ui](vFullscreenImg) animation is not defined"), c.running = !1, c.ended = !0;
126
126
  return;
127
127
  }
128
- return a;
128
+ return r;
129
129
  }
130
130
  function Q(n = t.offset ?? 0) {
131
- const a = d.value.clientWidth || 1, i = d.value.clientHeight || 1, f = window.innerWidth, I = window.innerHeight, E = Math.min(
132
- (f - 2 * n) / a,
131
+ const r = d.value.clientWidth || 1, i = d.value.clientHeight || 1, f = window.innerWidth, I = window.innerHeight, E = Math.min(
132
+ (f - 2 * n) / r,
133
133
  (I - 2 * n) / i
134
- ), W = (f - a * E) / 2, V = (I - i * E) / 2;
134
+ ), W = (f - r * E) / 2, Z = (I - i * E) / 2;
135
135
  return {
136
136
  centerX: W,
137
- centerY: V,
138
- width: a,
137
+ centerY: Z,
138
+ width: r,
139
139
  height: i,
140
140
  scale: E
141
141
  };
142
142
  }
143
143
  function J({ trigger: n }) {
144
- const { width: a, height: i, scale: f, centerX: I, centerY: E } = Q(), { top: W, left: V, width: ye, height: be } = le.value, te = [
144
+ const { width: r, height: i, scale: f, centerX: I, centerY: E } = Q(), { top: W, left: Z, width: ye, height: be } = le.value, te = [
145
145
  {
146
146
  top: `${W}px`,
147
- left: `${V}px`,
147
+ left: `${Z}px`,
148
148
  width: `${ye}px`,
149
149
  height: `${be}px`,
150
150
  opacity: 0
@@ -152,7 +152,7 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
152
152
  {
153
153
  top: `${E}px`,
154
154
  left: `${I}px`,
155
- width: `${a * f}px`,
155
+ width: `${r * f}px`,
156
156
  height: `${i * f}px`,
157
157
  opacity: 1
158
158
  }
@@ -162,12 +162,12 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
162
162
  };
163
163
  }
164
164
  function P() {
165
- const { height: n, width: a, scale: i } = Q(), f = H.value ? {
166
- width: `${a * i}px`,
165
+ const { height: n, width: r, scale: i } = Q(), f = H.value ? {
166
+ width: `${r * i}px`,
167
167
  maxHeight: `${n * i}px`
168
168
  } : {
169
169
  height: `${n * i}px`,
170
- maxWidth: `${a * i}px`
170
+ maxWidth: `${r * i}px`
171
171
  };
172
172
  if (!v.value) {
173
173
  console.error("[maz-ui](vFullscreenImg) ImgElement is not defined");
@@ -178,28 +178,28 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
178
178
  function ge() {
179
179
  const { frames: n } = J({
180
180
  trigger: "open"
181
- }), a = X(n);
182
- if (!a) {
181
+ }), r = X(n);
182
+ if (!r) {
183
183
  console.error("[maz-ui](vFullscreenImg) open animation is not defined"), P();
184
184
  return;
185
185
  }
186
- a.onfinish = () => {
186
+ r.onfinish = () => {
187
187
  P(), c.running = !1, c.ended = !0;
188
188
  };
189
189
  }
190
190
  function pe() {
191
191
  const { frames: n } = J({
192
192
  trigger: "close"
193
- }), a = X(n);
193
+ }), r = X(n);
194
194
  function i() {
195
195
  var f, I;
196
196
  s("close"), (f = j.value) == null || f.remove(), (I = t.destroy) == null || I.call(t), c.running = !1, c.ended = !0;
197
197
  }
198
- if (!a) {
198
+ if (!r) {
199
199
  console.error("[maz-ui](vFullscreenImg) close animation is not defined"), i();
200
200
  return;
201
201
  }
202
- a.onfinish = i;
202
+ r.onfinish = i;
203
203
  }
204
204
  function ee() {
205
205
  m.value || P();
@@ -208,7 +208,7 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
208
208
  x.value = !0, document.addEventListener("keydown", G), window.addEventListener("resize", ee), me(), h.value = Y().length > 1;
209
209
  }), Le(() => {
210
210
  document.removeEventListener("keydown", G), window.removeEventListener("resize", ee), de();
211
- }), (n, a) => (b(), A("div", {
211
+ }), (n, r) => (b(), A("div", {
212
212
  ref_key: "FullscreenImgElement",
213
213
  ref: j,
214
214
  role: "button",
@@ -221,7 +221,7 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
221
221
  key: 0,
222
222
  type: "button",
223
223
  class: "m-fullscreen-btn --next",
224
- onClick: a[0] || (a[0] = O((i) => U("next"), ["stop"]))
224
+ onClick: r[0] || (r[0] = O((i) => U("next"), ["stop"]))
225
225
  }, [
226
226
  z(w(u), { class: "maz-rotate-180" })
227
227
  ])) : S("v-if", !0),
@@ -229,7 +229,7 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
229
229
  key: 1,
230
230
  type: "button",
231
231
  class: "m-fullscreen-btn --previous",
232
- onClick: a[1] || (a[1] = O((i) => U("previous"), ["stop"]))
232
+ onClick: r[1] || (r[1] = O((i) => U("previous"), ["stop"]))
233
233
  }, [
234
234
  z(w(u))
235
235
  ])) : S("v-if", !0),
@@ -240,7 +240,7 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
240
240
  }, [
241
241
  z(w(l))
242
242
  ]),
243
- k("div", Be, [
243
+ k("div", $e, [
244
244
  k("img", {
245
245
  ref_key: "ImgElement",
246
246
  ref: v,
@@ -249,10 +249,10 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
249
249
  tabindex: "0",
250
250
  class: R([ce.value]),
251
251
  onLoad: ue,
252
- onClick: a[2] || (a[2] = O((i) => n.zoom && ve(), ["stop"]))
253
- }, null, 42, Me),
252
+ onClick: r[2] || (r[2] = O((i) => n.zoom && ve(), ["stop"]))
253
+ }, null, 42, Be),
254
254
  T(z(
255
- w(r),
255
+ w(a),
256
256
  { class: "m-fullscreen-img-loader" },
257
257
  null,
258
258
  512
@@ -261,15 +261,15 @@ const $e = ["onKeypress"], Be = { class: "m-fullscreen-img-scroller" }, Me = ["s
261
261
  [ze, x.value]
262
262
  ])
263
263
  ])
264
- ], 40, $e));
264
+ ], 40, He));
265
265
  }
266
266
  }), ie = (o, e) => {
267
267
  const t = o.__vccOpts || o;
268
- for (const [s, r] of e)
269
- t[s] = r;
268
+ for (const [s, a] of e)
269
+ t[s] = a;
270
270
  return t;
271
- }, Fe = /* @__PURE__ */ ie(_e, [["__scopeId", "data-v-b6e5fc28"]]), ae = "m-fullscreen-is-open";
272
- class Ne {
271
+ }, _e = /* @__PURE__ */ ie(Me, [["__scopeId", "data-v-4a73acb2"]]), re = "m-fullscreen-is-open";
272
+ class Fe {
273
273
  constructor() {
274
274
  g(this, "options");
275
275
  g(this, "defaultOptions", {
@@ -288,11 +288,11 @@ class Ne {
288
288
  g(this, "renderPreviewListener");
289
289
  }
290
290
  buildOptions(e, t) {
291
- 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);
291
+ 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);
292
292
  return {
293
293
  ...this.defaultOptions,
294
294
  ...s,
295
- src: r,
295
+ src: a,
296
296
  alt: l
297
297
  };
298
298
  }
@@ -326,10 +326,10 @@ class Ne {
326
326
  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 = "";
327
327
  }
328
328
  renderPreview(e) {
329
- return e.classList.add(ae), Se(Fe, {
329
+ return e.classList.add(re), Oe(_e, {
330
330
  props: {
331
331
  ...this.options,
332
- openInstanceClass: ae,
332
+ openInstanceClass: re,
333
333
  clickedElement: e,
334
334
  clickedElementBounds: e.getBoundingClientRect()
335
335
  },
@@ -344,9 +344,9 @@ class Ne {
344
344
  }
345
345
  }
346
346
  let _;
347
- const Z = {
347
+ const V = {
348
348
  mounted(o, e) {
349
- return _ = new Ne(), _.create(o, e);
349
+ return _ = new Fe(), _.create(o, e);
350
350
  },
351
351
  updated(o, e) {
352
352
  return _.update(o, e);
@@ -354,7 +354,7 @@ const Z = {
354
354
  unmounted(o) {
355
355
  return _.remove(o);
356
356
  }
357
- }, Re = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", Te = {
357
+ }, Ne = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7", Re = {
358
358
  baseClass: "m-lazy-img",
359
359
  loadedClass: "m-lazy-loaded",
360
360
  loadingClass: "m-lazy-loading",
@@ -368,10 +368,10 @@ const Z = {
368
368
  threshold: 0.1
369
369
  }
370
370
  };
371
- class De {
371
+ class Te {
372
372
  constructor(e = {}) {
373
373
  g(this, "observers", []);
374
- g(this, "defaultOptions", Te);
374
+ g(this, "defaultOptions", Re);
375
375
  g(this, "options");
376
376
  g(this, "onImgLoadedCallback");
377
377
  g(this, "onImgErrorCallback");
@@ -430,9 +430,9 @@ class De {
430
430
  const t = e.querySelectorAll("source");
431
431
  if (t.length > 0)
432
432
  for await (const s of t) {
433
- const r = s.getAttribute("data-lazy-srcset");
434
- if (r)
435
- s.srcset = r;
433
+ const a = s.getAttribute("data-lazy-srcset");
434
+ if (a)
435
+ s.srcset = a;
436
436
  else
437
437
  return this.imageHasError(e);
438
438
  }
@@ -453,9 +453,9 @@ class De {
453
453
  return;
454
454
  const t = this.options.fallbackSrc ?? this.options.errorPhoto;
455
455
  typeof t == "string" && this.addClass(e, this.options.noPhotoClass);
456
- const s = t ?? await this.loadErrorPhoto(), r = e.querySelectorAll("source");
457
- if (r.length > 0)
458
- for await (const l of r)
456
+ const s = t ?? await this.loadErrorPhoto(), a = e.querySelectorAll("source");
457
+ if (a.length > 0)
458
+ for await (const l of a)
459
459
  l.srcset = s;
460
460
  else
461
461
  this.setImgSrc(e, s);
@@ -480,12 +480,12 @@ class De {
480
480
  const s = this.getImgElement(e);
481
481
  s.src = t;
482
482
  }
483
- handleIntersectionObserver(e, t, s, r) {
483
+ handleIntersectionObserver(e, t, s, a) {
484
484
  var l, u;
485
- this.observers.push(r);
485
+ this.observers.push(a);
486
486
  for (const y of s)
487
487
  if (y.isIntersecting) {
488
- if ((u = (l = this.options).onIntersecting) == null || u.call(l, y.target), this.options.observerOnce && r.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
488
+ if ((u = (l = this.options).onIntersecting) == null || u.call(l, y.target), this.options.observerOnce && a.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
489
489
  return;
490
490
  this.loadImage(e, t);
491
491
  }
@@ -493,12 +493,12 @@ class De {
493
493
  createObserver(e, t) {
494
494
  const s = (u, y) => {
495
495
  this.handleIntersectionObserver(e, t, u, y);
496
- }, r = this.options.observerOptions;
497
- new IntersectionObserver(s, r).observe(e);
496
+ }, a = this.options.observerOptions;
497
+ new IntersectionObserver(s, a).observe(e);
498
498
  }
499
499
  async imageHandler(e, t, s) {
500
500
  if (s === "update")
501
- for await (const r of this.observers) r.unobserve(e);
501
+ for await (const a of this.observers) a.unobserve(e);
502
502
  window.IntersectionObserver ? this.createObserver(e, t) : this.loadImage(e, t);
503
503
  }
504
504
  async bindUpdateHandler(e, t, s) {
@@ -509,7 +509,7 @@ class De {
509
509
  async add(e, t) {
510
510
  if (this.hasBgImgMode(t) && this.isPictureElement(e))
511
511
  throw new Error(`[MazLazyImg] You can't use the "bg-image" mode with "<picture />" element`);
512
- setTimeout(() => this.setBaseClass(e), 0), e.getAttribute("src") || this.setImgSrc(e, Re), await this.bindUpdateHandler(e, t, "bind");
512
+ setTimeout(() => this.setBaseClass(e), 0), e.getAttribute("src") || this.setImgSrc(e, Ne), await this.bindUpdateHandler(e, t, "bind");
513
513
  }
514
514
  async update(e, t) {
515
515
  t.value !== t.oldValue && (this.hasImgLoaded = !1, this.removeAllStateClasses(e), await this.bindUpdateHandler(e, t, "update"));
@@ -522,10 +522,10 @@ class De {
522
522
  }
523
523
  }
524
524
  let F;
525
- const Ue = {
525
+ const De = {
526
526
  created(o, e) {
527
527
  const t = typeof e.value == "object" ? e.value : {};
528
- F = new De(t), F.add(o, e);
528
+ F = new Te(t), F.add(o, e);
529
529
  },
530
530
  updated(o, e) {
531
531
  F.update(o, e);
@@ -533,10 +533,10 @@ const Ue = {
533
533
  unmounted(o, e) {
534
534
  F.remove(o, e);
535
535
  }
536
- }, We = { class: "m-gallery__wrapper maz-flex maz-flex-1" }, Ve = ["alt"], Ze = {
536
+ }, Ue = { class: "m-gallery__wrapper maz-flex maz-flex-1" }, We = ["alt"], Ze = {
537
537
  key: 0,
538
538
  class: "m-gallery__remaining-layer maz-flex maz-bg-overlay maz-flex-center"
539
- }, qe = { class: "maz-text-2xl maz-text-white" }, je = /* @__PURE__ */ re({
539
+ }, Ve = { class: "maz-text-2xl maz-text-white" }, qe = /* @__PURE__ */ ae({
540
540
  __name: "MazGallery",
541
541
  props: {
542
542
  /**
@@ -574,11 +574,8 @@ const Ue = {
574
574
  separatorColor: { type: String, default: "transparent" }
575
575
  },
576
576
  setup(o) {
577
- ke((h) => ({
578
- "37b3f3e3": o.separatorColor
579
- }));
580
577
  const e = o, t = N(() => import("./no-photography-PGT8fxs_.mjs"));
581
- Pe(() => {
578
+ ke(() => {
582
579
  e.imagesShownCount > 5 && console.warn('[MazUI](m-gallery) The maximum of "images-shown-count" is 5');
583
580
  });
584
581
  const s = C(() => {
@@ -593,9 +590,9 @@ const Ue = {
593
590
  minHeight: typeof d == "number" ? `${d}px` : `${d}`
594
591
  }
595
592
  };
596
- }), 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(
593
+ }), 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(
597
594
  (h) => typeof h == "object" ? { ...h, thumbnail: h.thumbnail ?? h.src } : { src: h, thumbnail: h, alt: void 0 }
598
- )), y = C(() => u.value.slice(0, r.value)), x = C(() => u.value.slice(r.value, e.images.length));
595
+ )), y = C(() => u.value.slice(0, a.value)), x = C(() => u.value.slice(a.value, e.images.length));
599
596
  function L(h) {
600
597
  return e.noRemaining ? !1 : (l.value && h + 1) === y.value.length;
601
598
  }
@@ -604,10 +601,10 @@ const Ue = {
604
601
  {
605
602
  key: 0,
606
603
  class: R(["m-gallery maz-flex", { "maz-rounded": !o.noRadius }]),
607
- style: se([s.value])
604
+ style: se([s.value, { "--gallery-separator-color": o.separatorColor }])
608
605
  },
609
606
  [
610
- k("section", We, [
607
+ k("section", Ue, [
611
608
  (b(!0), A(
612
609
  ne,
613
610
  null,
@@ -623,9 +620,9 @@ const Ue = {
623
620
  src: "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
624
621
  alt: c.alt,
625
622
  loading: "lazy"
626
- }, null, 8, Ve), [
627
- [w(Ue), { src: c.thumbnail, disabled: !o.lazy }, "bg-image"],
628
- [w(Z), {
623
+ }, null, 8, We), [
624
+ [w(De), { src: c.thumbnail, disabled: !o.lazy }, "bg-image"],
625
+ [w(V), {
629
626
  src: c.src,
630
627
  alt: c.alt,
631
628
  disabled: o.noZoom || L(d),
@@ -636,13 +633,13 @@ const Ue = {
636
633
  L(d) ? T((b(), A("div", Ze, [
637
634
  k(
638
635
  "span",
639
- qe,
640
- "+" + Oe(l.value),
636
+ Ve,
637
+ "+" + Pe(l.value),
641
638
  1
642
639
  /* TEXT */
643
640
  )
644
641
  ])), [
645
- [w(Z), {
642
+ [w(V), {
646
643
  src: c.src,
647
644
  alt: c.alt,
648
645
  disabled: o.noZoom,
@@ -678,7 +675,7 @@ const Ue = {
678
675
  key: d,
679
676
  class: "m-gallery__hidden"
680
677
  })), [
681
- [w(Z), { src: c.src, disabled: o.noZoom }]
678
+ [w(V), { src: c.src, disabled: o.noZoom }]
682
679
  ])),
683
680
  128
684
681
  /* KEYED_FRAGMENT */
@@ -688,8 +685,8 @@ const Ue = {
688
685
  /* CLASS, STYLE */
689
686
  )) : S("v-if", !0);
690
687
  }
691
- }), Ke = /* @__PURE__ */ ie(je, [["__scopeId", "data-v-d7c3127b"]]);
688
+ }), Ye = /* @__PURE__ */ ie(qe, [["__scopeId", "data-v-3b59e0cd"]]);
692
689
  export {
693
- Ke as M,
690
+ Ye as M,
694
691
  ie as _
695
692
  };
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./MazDropdown-0r445NfW.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as T, ref as m, computed as v, onMounted as x, watchEffect as L, openBlock as P, createElementBlock as _, mergeProps as A, createCommentVNode as C, nextTick as $ } from "vue";
2
- import { i as q } from "./inject-strict-BmiaNiwC.mjs";
2
+ import { i as q } from "./inject-strict-DEDSuzCz.mjs";
3
3
  const H = ["innerHTML"], V = /* @__PURE__ */ T({
4
4
  __name: "MazIcon",
5
5
  props: {
@@ -54,8 +54,9 @@ const H = ["innerHTML"], V = /* @__PURE__ */ T({
54
54
  return r;
55
55
  }
56
56
  function E(e) {
57
- let r = e.cloneNode(!0);
58
- return r = o.transformSource(e), o.title && h(r, o.title), e.innerHTML;
57
+ e.cloneNode(!0);
58
+ const r = o.transformSource(e);
59
+ return o.title && h(r, o.title), e.innerHTML;
59
60
  }
60
61
  async function M(e) {
61
62
  s[e] || (s[e] = z(e));
@@ -2,7 +2,7 @@ import { inject as T, defineComponent as x, ref as m, computed as p, onMounted a
2
2
  function H(i, c) {
3
3
  const o = T(i, c);
4
4
  if (!o)
5
- throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${i}`);
5
+ throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${i.toString()}`);
6
6
  return o;
7
7
  }
8
8
  const I = ["innerHTML"], V = /* @__PURE__ */ x({
@@ -26,7 +26,7 @@ const I = ["innerHTML"], V = /* @__PURE__ */ x({
26
26
  },
27
27
  emits: ["loaded", "unloaded", "error"],
28
28
  setup(i, { emit: c }) {
29
- const o = i, d = c, s = {}, l = m(), f = m();
29
+ const o = i, d = c, a = {}, s = m(), f = m();
30
30
  function g() {
31
31
  try {
32
32
  return H("mazIconPath");
@@ -59,15 +59,16 @@ const I = ["innerHTML"], V = /* @__PURE__ */ x({
59
59
  return r;
60
60
  }
61
61
  function y(e) {
62
- let r = e.cloneNode(!0);
63
- return r = o.transformSource(e), o.title && h(r, o.title), e.innerHTML;
62
+ e.cloneNode(!0);
63
+ const r = o.transformSource(e);
64
+ return o.title && h(r, o.title), e.innerHTML;
64
65
  }
65
66
  async function z(e) {
66
- s[e] || (s[e] = M(e));
67
+ a[e] || (a[e] = M(e));
67
68
  try {
68
- l.value = await s[e], await q(), d("loaded", f.value);
69
+ s.value = await a[e], await q(), d("loaded", f.value);
69
70
  } catch (r) {
70
- l.value && (l.value = void 0, d("unloaded")), delete s[e], d("error", r);
71
+ s.value && (s.value = void 0, d("unloaded")), delete a[e], d("error", r);
71
72
  }
72
73
  }
73
74
  function M(e) {
@@ -78,26 +79,26 @@ const I = ["innerHTML"], V = /* @__PURE__ */ x({
78
79
  try {
79
80
  let u = new DOMParser().parseFromString(n.responseText, "text/xml").querySelectorAll("svg")[0];
80
81
  u ? (u = o.transformSource(u), r(u)) : t(new Error('Loaded file is not valid SVG"'));
81
- } catch (a) {
82
- t(a);
82
+ } catch (l) {
83
+ t(l);
83
84
  }
84
85
  else
85
86
  t(new Error("Error loading SVG"));
86
- }), n.addEventListener("error", (a) => t(a)), n.send();
87
+ }), n.addEventListener("error", (l) => t(l)), n.send();
87
88
  });
88
89
  }
89
- return C(() => z(S.value)), (e, r) => l.value ? (P(), _("svg", $({
90
+ return C(() => z(S.value)), (e, r) => s.value ? (P(), _("svg", $({
90
91
  key: 0,
91
92
  ref_key: "svgElem",
92
93
  ref: f,
93
94
  width: "1em",
94
95
  height: "1em"
95
96
  }, {
96
- ...E(l.value),
97
+ ...E(s.value),
97
98
  ...w(e.$attrs)
98
99
  }, {
99
100
  style: `font-size: ${i.size}`,
100
- innerHTML: y(l.value)
101
+ innerHTML: y(s.value)
101
102
  }), null, 16, I)) : A("v-if", !0);
102
103
  }
103
104
  });
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as T, ref as m, computed as v, onMounted as x, watchEffect as L, openBlock as P, createElementBlock as _, mergeProps as A, createCommentVNode as C, nextTick as $ } from "vue";
2
- import { i as q } from "./MazPhoneNumberInput-BbssOUzo.mjs";
2
+ import { i as q } from "./MazPhoneNumberInput-BQjByOtQ.mjs";
3
3
  const H = ["innerHTML"], V = /* @__PURE__ */ T({
4
4
  __name: "MazIcon",
5
5
  props: {
@@ -54,8 +54,9 @@ const H = ["innerHTML"], V = /* @__PURE__ */ T({
54
54
  return r;
55
55
  }
56
56
  function E(e) {
57
- let r = e.cloneNode(!0);
58
- return r = o.transformSource(e), o.title && h(r, o.title), e.innerHTML;
57
+ e.cloneNode(!0);
58
+ const r = o.transformSource(e);
59
+ return o.title && h(r, o.title), e.innerHTML;
59
60
  }
60
61
  async function M(e) {
61
62
  s[e] || (s[e] = z(e));