maz-ui 3.43.4 → 3.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (358) hide show
  1. package/components/MazAccordion.d.ts +2 -2
  2. package/components/MazAccordion.mjs +84 -84
  3. package/components/MazAnimatedCounter.mjs +9 -10
  4. package/components/MazAvatar.d.ts +3 -3
  5. package/components/MazAvatar.mjs +1 -1
  6. package/components/MazBackdrop.d.ts +2 -2
  7. package/components/MazBackdrop.mjs +12 -10
  8. package/components/MazBadge.d.ts +2 -2
  9. package/components/MazBadge.mjs +3 -4
  10. package/components/MazBottomSheet.mjs +1 -1
  11. package/components/MazBtn.d.ts +7 -5
  12. package/components/MazBtn.mjs +1 -1
  13. package/components/MazCard.d.ts +3 -3
  14. package/components/MazCard.mjs +1 -1
  15. package/components/MazCardSpotlight.d.ts +2 -2
  16. package/components/MazCardSpotlight.mjs +4 -5
  17. package/components/MazCarousel.d.ts +2 -2
  18. package/components/MazCarousel.mjs +1 -1
  19. package/components/MazChart.d.ts +1 -1
  20. package/components/MazCheckbox.d.ts +2 -2
  21. package/components/MazCheckbox.mjs +10 -11
  22. package/components/MazCircularProgressBar.d.ts +1 -1
  23. package/components/MazCircularProgressBar.mjs +21 -23
  24. package/components/MazDialog.d.ts +2 -2
  25. package/components/MazDialog.mjs +1 -1
  26. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
  27. package/components/MazDialogPromise.mjs +1 -1
  28. package/components/MazDrawer.d.ts +2 -2
  29. package/components/MazDrawer.mjs +71 -69
  30. package/components/MazDropdown.d.ts +7 -6
  31. package/components/MazDropdown.mjs +130 -128
  32. package/components/MazDropzone.d.ts +1 -1
  33. package/components/MazDropzone.mjs +1 -1
  34. package/components/MazExpandAnimation.d.ts +2 -2
  35. package/components/MazExpandAnimation.mjs +26 -26
  36. package/components/MazFullscreenLoader.d.ts +2 -2
  37. package/components/MazFullscreenLoader.mjs +11 -10
  38. package/components/MazGallery.d.ts +2 -2
  39. package/components/MazGallery.mjs +1 -1
  40. package/components/MazIcon.mjs +45 -34
  41. package/components/MazInput.d.ts +4 -4
  42. package/components/MazInput.mjs +1 -1
  43. package/components/MazInputCode.d.ts +2 -2
  44. package/components/MazInputCode.mjs +4 -5
  45. package/components/MazInputNumber.d.ts +2 -2
  46. package/components/MazInputNumber.mjs +1 -1
  47. package/components/MazInputPrice.d.ts +2 -2
  48. package/components/MazInputPrice.mjs +1 -1
  49. package/components/MazInputTags.d.ts +7 -2
  50. package/components/MazInputTags.mjs +1 -1
  51. package/components/MazLazyImg.d.ts +2 -2
  52. package/components/MazLazyImg.mjs +1 -1
  53. package/components/MazLink.d.ts +6 -6
  54. package/components/MazLink.mjs +3 -4
  55. package/components/MazLoadingBar.d.ts +2 -2
  56. package/components/MazLoadingBar.mjs +17 -18
  57. package/components/MazPagination.d.ts +3 -3
  58. package/components/MazPagination.mjs +1 -1
  59. package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
  60. package/components/MazPhoneNumberInput/types.d.ts +5 -5
  61. package/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
  62. package/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
  63. package/components/MazPhoneNumberInput.d.ts +8 -8
  64. package/components/MazPhoneNumberInput.mjs +1 -1
  65. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  66. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
  67. package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  68. package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  69. package/components/MazPicker/types.d.ts +4 -4
  70. package/components/MazPicker/utils.d.ts +4 -4
  71. package/components/MazPicker.d.ts +3 -3
  72. package/components/MazPicker.mjs +1 -1
  73. package/components/MazPullToRefresh.d.ts +2 -2
  74. package/components/MazPullToRefresh.mjs +1 -1
  75. package/components/MazRadio.mjs +8 -9
  76. package/components/MazRadioButtons.d.ts +2 -2
  77. package/components/MazRadioButtons.mjs +44 -42
  78. package/components/MazReadingProgressBar.d.ts +2 -2
  79. package/components/MazReadingProgressBar.mjs +12 -13
  80. package/components/MazSelect.d.ts +4 -4
  81. package/components/MazSelect.mjs +1 -1
  82. package/components/MazSlider/utils.d.ts +4 -4
  83. package/components/MazSlider.mjs +100 -87
  84. package/components/MazSpinner.mjs +6 -7
  85. package/components/MazStepper.d.ts +3 -3
  86. package/components/MazStepper.mjs +1 -1
  87. package/components/MazSwitch.d.ts +2 -2
  88. package/components/MazSwitch.mjs +6 -6
  89. package/components/MazTable.d.ts +13 -10
  90. package/components/MazTable.mjs +1 -1
  91. package/components/MazTableCell.mjs +4 -5
  92. package/components/MazTableRow.d.ts +2 -2
  93. package/components/MazTableRow.mjs +4 -5
  94. package/components/MazTableTitle.mjs +2 -3
  95. package/components/MazTabs.d.ts +4 -4
  96. package/components/MazTabsBar.d.ts +7 -5
  97. package/components/MazTabsBar.mjs +1 -1
  98. package/components/MazTabsContent.mjs +5 -4
  99. package/components/MazTabsContentItem.mjs +16 -17
  100. package/components/MazTextarea.d.ts +2 -2
  101. package/components/MazTextarea.mjs +19 -17
  102. package/components/MazTransitionExpand.d.ts +2 -2
  103. package/components/MazTransitionExpand.mjs +19 -18
  104. package/components/assets/MazAccordion.css +1 -1
  105. package/components/assets/MazAnimatedCounter.css +1 -1
  106. package/components/assets/MazAvatar.css +1 -1
  107. package/components/assets/MazBadge.css +1 -1
  108. package/components/assets/MazBottomSheet.css +1 -1
  109. package/components/assets/MazBtn.css +1 -1
  110. package/components/assets/MazCard.css +1 -1
  111. package/components/assets/MazCardSpotlight.css +1 -1
  112. package/components/assets/MazCarousel.css +1 -1
  113. package/components/assets/MazCheckbox.css +1 -1
  114. package/components/assets/MazCircularProgressBar.css +1 -1
  115. package/components/assets/MazDialog.css +1 -1
  116. package/components/assets/MazDialogPromise.css +1 -1
  117. package/components/assets/MazExpandAnimation.css +1 -1
  118. package/components/assets/MazGallery.css +1 -1
  119. package/components/assets/MazInput.css +1 -1
  120. package/components/assets/MazInputCode.css +1 -1
  121. package/components/assets/MazInputNumber.css +1 -1
  122. package/components/assets/MazInputPrice.css +1 -1
  123. package/components/assets/MazInputTags.css +1 -1
  124. package/components/assets/MazLazyImg.css +1 -1
  125. package/components/assets/MazLink.css +1 -1
  126. package/components/assets/MazLoadingBar.css +1 -1
  127. package/components/assets/MazPagination.css +1 -1
  128. package/components/assets/MazPhoneNumberInput.css +1 -1
  129. package/components/assets/MazPicker.css +1 -1
  130. package/components/assets/MazPickerMonthSwitcher.css +1 -1
  131. package/components/assets/MazPickerShortcuts.css +1 -1
  132. package/components/assets/MazPickerYearSwitcher.css +1 -1
  133. package/components/assets/MazPullToRefresh.css +1 -1
  134. package/components/assets/MazRadio.css +1 -1
  135. package/components/assets/MazRadioButtons.css +1 -1
  136. package/components/assets/MazReadingProgressBar.css +1 -1
  137. package/components/assets/MazSelect.css +1 -1
  138. package/components/assets/MazSlider.css +1 -1
  139. package/components/assets/MazSpinner.css +1 -1
  140. package/components/assets/MazStepper.css +1 -1
  141. package/components/assets/MazSwitch.css +1 -1
  142. package/components/assets/MazTable.css +1 -1
  143. package/components/assets/MazTableCell.css +1 -1
  144. package/components/assets/MazTableRow.css +1 -1
  145. package/components/assets/MazTableTitle.css +1 -1
  146. package/components/assets/MazTabsBar.css +1 -1
  147. package/components/assets/MazTabsContentItem.css +1 -1
  148. package/components/assets/MazTextarea.css +1 -1
  149. package/components/assets/MazTransitionExpand.css +1 -1
  150. package/components/chunks/{MazAvatar-DsJvzyS9.mjs → MazAvatar-BU1nJFcV.mjs} +8 -9
  151. package/components/chunks/{MazBadge-CYJlqITD.mjs → MazBadge-CwA0md19.mjs} +4 -5
  152. package/components/chunks/{MazBottomSheet-CIlIdn-2.mjs → MazBottomSheet-DUOIusEi.mjs} +54 -52
  153. package/components/chunks/{MazBtn-CCNGs6oo.mjs → MazBtn-5BSKOcqG.mjs} +35 -36
  154. package/components/chunks/{MazBtn-Ccvl1ZWv.mjs → MazBtn-B1-sTc7F.mjs} +31 -32
  155. package/components/chunks/{MazBtn-BC5OegPu.mjs → MazBtn-BY8WCtM7.mjs} +35 -36
  156. package/components/chunks/{MazBtn-CX4OgPzp.mjs → MazBtn-C5G78zLg.mjs} +35 -36
  157. package/components/chunks/MazBtn-CeVwyYR5.mjs +150 -0
  158. package/components/chunks/{MazBtn-BqgdERYQ.mjs → MazBtn-ColLVUca.mjs} +35 -36
  159. package/components/chunks/{MazBtn-beTASOLt.mjs → MazBtn-DJhQqzja.mjs} +35 -36
  160. package/components/chunks/MazBtn-DuY28-0U.mjs +150 -0
  161. package/components/chunks/{MazBtn-BydIwD1J.mjs → MazBtn-f1mBXJeU.mjs} +31 -32
  162. package/components/chunks/MazBtn-h3WmmaEO.mjs +150 -0
  163. package/components/chunks/MazBtn-zyRLUViT.mjs +150 -0
  164. package/components/chunks/{MazCard-bmiVPg8p.mjs → MazCard-BWxV_Z-i.mjs} +25 -26
  165. package/components/chunks/{MazCarousel-CL0bMygd.mjs → MazCarousel-D5EmW7Sa.mjs} +43 -35
  166. package/components/chunks/{MazCheckbox-DsFbvpp4.mjs → MazCheckbox-BWiMbecz.mjs} +11 -12
  167. package/components/chunks/{MazCheckbox-CCa7grGF.mjs → MazCheckbox-D3PXkt75.mjs} +11 -12
  168. package/components/chunks/{MazDialog-BckFta4N.mjs → MazDialog-CLWKCphI.mjs} +56 -54
  169. package/components/chunks/{MazDialogPromise-Bb6h4hFz.mjs → MazDialogPromise-DVOJwdVp.mjs} +139 -126
  170. package/components/chunks/{MazDropzone-C_8mRUbK.mjs → MazDropzone-Dm2IirHm.mjs} +33 -54
  171. package/components/chunks/MazExpandAnimation-ChSSdQAq.mjs +58 -0
  172. package/components/chunks/{MazGallery-CcpeM_zk.mjs → MazGallery-BlfPe8WG.mjs} +103 -101
  173. package/components/chunks/{MazGallery-6UK5sH9P.mjs → MazGallery-Bn9p1gNb.mjs} +102 -100
  174. package/{modules/chunks/MazIcon-CiNswMKM.mjs → components/chunks/MazIcon-B8A0hQAH.mjs} +45 -34
  175. package/components/chunks/{MazIcon-Cxrv3_OK.mjs → MazIcon-BDGxCy9M.mjs} +45 -34
  176. package/components/chunks/{MazIcon-BKuhvwwq.mjs → MazIcon-D3umgnku.mjs} +45 -34
  177. package/components/chunks/{MazInput-DNwBL54e.mjs → MazInput-BpsE-mdg.mjs} +69 -69
  178. package/components/chunks/{MazInputNumber-BSdVF8-q.mjs → MazInputNumber-DGBYbDSX.mjs} +186 -182
  179. package/components/chunks/{MazInputPrice-osrAz4xd.mjs → MazInputPrice-j2BNMeFp.mjs} +134 -129
  180. package/components/chunks/{MazInputTags-XUWwx6p8.mjs → MazInputTags-CJofVaj5.mjs} +234 -252
  181. package/components/chunks/{MazLazyImg-6qrfqWKr.mjs → MazLazyImg-BFG6FIJZ.mjs} +6 -7
  182. package/components/chunks/{MazLazyImg-BelScAEF.mjs → MazLazyImg-Dboc6Xfz.mjs} +5 -6
  183. package/components/chunks/{MazPagination-DUiHgLAp.mjs → MazPagination-C6ZehQSZ.mjs} +118 -119
  184. package/components/chunks/{MazPhoneNumberInput-HeEEyDu0.mjs → MazPhoneNumberInput-DpWoNQfx.mjs} +707 -695
  185. package/components/chunks/MazPicker-ia2BEmm5.mjs +2531 -0
  186. package/components/chunks/{MazPickerMonthSwitcher-CoV-84J1.mjs → MazPickerMonthSwitcher-CKtfZ_m-.mjs} +19 -19
  187. package/components/chunks/{MazPickerShortcuts-5IfUIwpz.mjs → MazPickerShortcuts-Cc9VoqBw.mjs} +10 -10
  188. package/components/chunks/{MazPickerYearSwitcher-MeptqtZk.mjs → MazPickerYearSwitcher-0b5Wrem9.mjs} +10 -8
  189. package/components/chunks/{MazPullToRefresh-DWbmwlzV.mjs → MazPullToRefresh-CUazP4y2.mjs} +21 -22
  190. package/components/chunks/MazSelect-COJoKXbV.mjs +847 -0
  191. package/components/chunks/MazSpinner-9Jue6cel.mjs +37 -0
  192. package/components/chunks/{MazSpinner-BKjRRWtc.mjs → MazSpinner-BGPOws6a.mjs} +6 -7
  193. package/components/chunks/{MazSpinner-BXxULdoD.mjs → MazSpinner-BWYdqSMP.mjs} +6 -7
  194. package/components/chunks/{MazSpinner-BRgzRI07.mjs → MazSpinner-BZOjTZBN.mjs} +6 -7
  195. package/components/chunks/{MazSpinner-B-svzg-R.mjs → MazSpinner-BaAMq7LI.mjs} +6 -7
  196. package/components/chunks/MazSpinner-Bad2n-0k.mjs +37 -0
  197. package/components/chunks/MazSpinner-BxnVFqUu.mjs +37 -0
  198. package/components/chunks/{MazSpinner-Mvsi6uCt.mjs → MazSpinner-C41VyUup.mjs} +6 -7
  199. package/components/chunks/MazSpinner-C6StE-Mb.mjs +37 -0
  200. package/components/chunks/{MazSpinner-BFXwybUv.mjs → MazSpinner-CNIlbDfg.mjs} +6 -7
  201. package/components/chunks/MazSpinner-Cz2DHV6g.mjs +37 -0
  202. package/components/chunks/MazSpinner-D4CdHpP2.mjs +37 -0
  203. package/{modules/chunks/MazSpinner--jWWogVn.mjs → components/chunks/MazSpinner-DHQH6Bhz.mjs} +6 -7
  204. package/components/chunks/MazSpinner-DRj2VpGA.mjs +37 -0
  205. package/components/chunks/{MazSpinner-C1lg-Klx.mjs → MazSpinner-DkXequnp.mjs} +6 -7
  206. package/components/chunks/MazSpinner-EA5ejB8F.mjs +37 -0
  207. package/components/chunks/{MazSpinner-BtpIL60X.mjs → MazSpinner-RvDGcBng.mjs} +6 -7
  208. package/components/chunks/{MazSpinner-B_WP-2kr.mjs → MazSpinner-V-bFi71W.mjs} +6 -7
  209. package/components/chunks/MazSpinner-aPFlrc5E.mjs +37 -0
  210. package/components/chunks/{MazSpinner-CfA_KEZT.mjs → MazSpinner-nH44Htog.mjs} +6 -7
  211. package/components/chunks/MazSpinner-nOD-7_sU.mjs +37 -0
  212. package/components/chunks/MazSpinner-yZGK-AQe.mjs +37 -0
  213. package/components/chunks/{MazStepper-DDofJsdg.mjs → MazStepper-DxrzKz06.mjs} +94 -83
  214. package/components/chunks/MazTable-DRUj_PZp.mjs +1960 -0
  215. package/components/chunks/{MazTabsBar-BXDEQkZM.mjs → MazTabsBar-xcIIXHx5.mjs} +67 -68
  216. package/components/chunks/{MazTransitionExpand-BwuAIzII.mjs → MazTransitionExpand-B08cSrmL.mjs} +20 -19
  217. package/components/chunks/{examples.mobile.json-um0ibyv5.mjs → examples.mobile.json-JpNGylGv.mjs} +1 -1
  218. package/css/main.css +1 -1
  219. package/modules/assets/MazBtn.css +1 -1
  220. package/modules/assets/MazSpinner.css +1 -1
  221. package/modules/assets/index.css +1 -1
  222. package/modules/chunks/{MazBtn-Czcbhr3Z.cjs → MazBtn-BbCGGxkK.cjs} +2 -2
  223. package/modules/chunks/{MazBtn-CXcW31TK.mjs → MazBtn-UBHTKqaN.mjs} +35 -36
  224. package/modules/chunks/MazIcon-BDSXZYZ8.cjs +1 -0
  225. package/{components/chunks/MazIcon-DtG5ii8R.mjs → modules/chunks/MazIcon-C2ch3jUS.mjs} +45 -34
  226. package/modules/chunks/{MazSpinner-Cw1KnqLM.cjs → MazSpinner-BiyFRA4w.cjs} +1 -1
  227. package/modules/chunks/MazSpinner-C9_xSbZZ.mjs +37 -0
  228. package/modules/chunks/{index-CThtJOu5.mjs → index-Cwbjspv3.mjs} +621 -588
  229. package/modules/chunks/index-tnjajVkX.cjs +124 -0
  230. package/modules/index.cjs +1 -1
  231. package/modules/index.mjs +34 -35
  232. package/nuxt/index.json +2 -2
  233. package/nuxt/index.mjs +3 -4
  234. package/nuxt/types.d.mts +24 -0
  235. package/nuxt/types.d.ts +24 -0
  236. package/package.json +77 -83
  237. package/resolvers/unplugin-directives-resolver.d.ts +1 -1
  238. package/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
  239. package/tailwindcss/tailwind.config.ts +9 -2
  240. package/tailwindcss/utils/colors.ts +3 -3
  241. package/tailwindcss/variables/colors.ts +12 -12
  242. package/tailwindcss/variables/utilities.ts +2 -2
  243. package/tailwindcss/variables/z-indexes.ts +12 -11
  244. package/types/components/MazAccordion.vue.d.ts +2 -2
  245. package/types/components/MazAvatar.vue.d.ts +3 -3
  246. package/types/components/MazBackdrop.vue.d.ts +2 -2
  247. package/types/components/MazBadge.vue.d.ts +2 -2
  248. package/types/components/MazBtn.vue.d.ts +7 -5
  249. package/types/components/MazCard.vue.d.ts +3 -3
  250. package/types/components/MazCardSpotlight.vue.d.ts +2 -2
  251. package/types/components/MazCarousel.vue.d.ts +2 -2
  252. package/types/components/MazChart.vue.d.ts +1 -1
  253. package/types/components/MazCheckbox.vue.d.ts +2 -2
  254. package/types/components/MazCircularProgressBar.vue.d.ts +1 -1
  255. package/types/components/MazDialog.vue.d.ts +2 -2
  256. package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
  257. package/types/components/MazDrawer.vue.d.ts +2 -2
  258. package/types/components/MazDropdown.vue.d.ts +7 -6
  259. package/types/components/MazDropzone.vue.d.ts +1 -1
  260. package/types/components/MazExpandAnimation.vue.d.ts +2 -2
  261. package/types/components/MazFullscreenLoader.vue.d.ts +2 -2
  262. package/types/components/MazGallery.vue.d.ts +2 -2
  263. package/types/components/MazInput.vue.d.ts +4 -4
  264. package/types/components/MazInputCode.vue.d.ts +2 -2
  265. package/types/components/MazInputNumber.vue.d.ts +2 -2
  266. package/types/components/MazInputPrice.vue.d.ts +2 -2
  267. package/types/components/MazInputTags.vue.d.ts +7 -2
  268. package/types/components/MazLazyImg.vue.d.ts +2 -2
  269. package/types/components/MazLink.vue.d.ts +6 -6
  270. package/types/components/MazLoadingBar.vue.d.ts +2 -2
  271. package/types/components/MazPagination.vue.d.ts +3 -3
  272. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
  273. package/types/components/MazPhoneNumberInput/types.d.ts +5 -5
  274. package/types/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
  275. package/types/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
  276. package/types/components/MazPhoneNumberInput.vue.d.ts +8 -8
  277. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  278. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
  279. package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  280. package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  281. package/types/components/MazPicker/types.d.ts +4 -4
  282. package/types/components/MazPicker/utils.d.ts +4 -4
  283. package/types/components/MazPicker.vue.d.ts +3 -3
  284. package/types/components/MazPullToRefresh.vue.d.ts +2 -2
  285. package/types/components/MazRadioButtons.vue.d.ts +2 -2
  286. package/types/components/MazReadingProgressBar.vue.d.ts +2 -2
  287. package/types/components/MazSelect.vue.d.ts +4 -4
  288. package/types/components/MazSlider/utils.d.ts +4 -4
  289. package/types/components/MazStepper.vue.d.ts +3 -3
  290. package/types/components/MazSwitch.vue.d.ts +2 -2
  291. package/types/components/MazTable.vue.d.ts +13 -10
  292. package/types/components/MazTableRow.vue.d.ts +2 -2
  293. package/types/components/MazTabs.vue.d.ts +4 -4
  294. package/types/components/MazTabsBar.vue.d.ts +7 -5
  295. package/types/components/MazTextarea.vue.d.ts +2 -2
  296. package/types/components/MazTransitionExpand.vue.d.ts +2 -2
  297. package/types/modules/composables/use-reading-time.d.ts +5 -5
  298. package/types/modules/composables/use-theme-handler.d.ts +2 -2
  299. package/types/modules/directives/closable.d.ts +2 -2
  300. package/types/modules/directives/tooltip/index.d.ts +4 -4
  301. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
  302. package/types/modules/directives/v-lazy-img/index.d.ts +1 -1
  303. package/types/modules/filters/capitalize.d.ts +1 -1
  304. package/types/modules/filters/currency.d.ts +1 -1
  305. package/types/modules/filters/date.d.ts +1 -1
  306. package/types/modules/filters/index.d.ts +8 -4
  307. package/types/modules/filters/number.d.ts +1 -1
  308. package/types/modules/filters/telephone.d.ts +1 -1
  309. package/types/modules/helpers/idle-timeout/idle-timeout-handler.d.ts +1 -1
  310. package/types/modules/helpers/mount-component.d.ts +2 -2
  311. package/types/modules/helpers/normalize-string.d.ts +2 -2
  312. package/types/modules/helpers/swipe-handler.d.ts +2 -2
  313. package/types/modules/helpers/user-visibility/types.d.ts +2 -2
  314. package/types/modules/plugins/aos/index.d.ts +3 -3
  315. package/types/modules/plugins/index.d.ts +2 -2
  316. package/types/modules/plugins/toaster/MazToast.vue.d.ts +3 -3
  317. package/types/modules/plugins/toaster/index.d.ts +1 -2
  318. package/types/modules/plugins/toaster/types.d.ts +6 -6
  319. package/types/modules/plugins/wait/utils.d.ts +4 -4
  320. package/types/resolvers/unplugin-directives-resolver.d.ts +1 -1
  321. package/types/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
  322. package/types/tailwindcss/tailwind.config.d.ts +71 -9
  323. package/types/tailwindcss/variables/z-indexes.d.ts +11 -11
  324. package/components/chunks/MazBtn-BOb7Fg_d.mjs +0 -151
  325. package/components/chunks/MazBtn-DpkJQ_3W.mjs +0 -151
  326. package/components/chunks/MazBtn-Dw_CR_0X.mjs +0 -151
  327. package/components/chunks/MazBtn-_NGDIlQK.mjs +0 -151
  328. package/components/chunks/MazExpandAnimation-Cin7sZ3I.mjs +0 -58
  329. package/components/chunks/MazPicker-CltoTa2Z.mjs +0 -2477
  330. package/components/chunks/MazSelect-DDKbowf3.mjs +0 -835
  331. package/components/chunks/MazSpinner-2ti3NQjo.mjs +0 -38
  332. package/components/chunks/MazSpinner-BZUmasIf.mjs +0 -38
  333. package/components/chunks/MazSpinner-C-lFmcUR.mjs +0 -38
  334. package/components/chunks/MazSpinner-C75WMoEA.mjs +0 -38
  335. package/components/chunks/MazSpinner-CA38Ikqe.mjs +0 -38
  336. package/components/chunks/MazSpinner-CAHOYqvB.mjs +0 -38
  337. package/components/chunks/MazSpinner-COOp2WX8.mjs +0 -38
  338. package/components/chunks/MazSpinner-D-ONjGGv.mjs +0 -38
  339. package/components/chunks/MazSpinner-DJkziC4O.mjs +0 -38
  340. package/components/chunks/MazSpinner-Di0F6oZz.mjs +0 -38
  341. package/components/chunks/MazSpinner-EcA0uOQv.mjs +0 -38
  342. package/components/chunks/MazSpinner-s_0BLDqW.mjs +0 -38
  343. package/components/chunks/MazTable-B9JiJ2B2.mjs +0 -1950
  344. package/modules/chunks/MazIcon-DdFYd3W8.cjs +0 -1
  345. package/modules/chunks/index-RvIMpzcQ.cjs +0 -124
  346. package/nuxt/runtime/composables/{use-aos.mjs → use-aos.js} +0 -0
  347. package/nuxt/runtime/composables/{use-theme-handler.mjs → use-theme-handler.js} +1 -1
  348. package/nuxt/runtime/composables/{use-toast.mjs → use-toast.js} +0 -0
  349. package/nuxt/runtime/composables/{use-wait.mjs → use-wait.js} +0 -0
  350. package/nuxt/runtime/plugins/{aos.mjs → aos.js} +1 -1
  351. package/nuxt/runtime/plugins/{maz-icon-path.mjs → maz-icon-path.js} +0 -0
  352. package/nuxt/runtime/plugins/{toaster.mjs → toaster.js} +1 -1
  353. package/nuxt/runtime/plugins/{v-click-outside.mjs → v-click-outside.js} +1 -1
  354. package/nuxt/runtime/plugins/{v-fullscreen-img.mjs → v-fullscreen-img.js} +1 -1
  355. package/nuxt/runtime/plugins/{v-lazy-img.mjs → v-lazy-img.js} +1 -1
  356. package/nuxt/runtime/plugins/{v-tooltip.mjs → v-tooltip.js} +1 -1
  357. package/nuxt/runtime/plugins/{v-zoom-img.mjs → v-zoom-img.js} +1 -1
  358. package/nuxt/runtime/plugins/{wait.mjs → wait.js} +1 -1
@@ -1,7 +1,6 @@
1
- import '../assets/MazGallery.css';
2
- var ye = Object.defineProperty;
1
+ import '../assets/MazGallery.css';var ye = Object.defineProperty;
3
2
  var be = (n, e, t) => e in n ? ye(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
4
- var g = (n, e, t) => (be(n, typeof e != "symbol" ? e + "" : e, t), t);
3
+ var f = (n, e, t) => (be(n, typeof e != "symbol" ? e + "" : e, t), t);
5
4
  import { defineComponent as oe, defineAsyncComponent as _, ref as y, computed as E, watch as Ae, onMounted as Ie, onBeforeUnmount as Ee, openBlock as b, createElementBlock as A, withModifiers as P, withKeys as Le, withDirectives as R, createVNode as x, unref as L, vShow as we, createCommentVNode as O, createElementVNode as k, normalizeClass as F, render as B, useCssVars as Ce, onBeforeMount as ze, normalizeStyle as ee, Fragment as te, renderList as se, toDisplayString as xe } from "vue";
6
5
  const Oe = ["onKeypress"], ke = { class: "m-fullscreen-img-scroller" }, Pe = ["src", "alt"], Se = /* @__PURE__ */ oe({
7
6
  __name: "MazFullscreenImg",
@@ -21,11 +20,11 @@ const Oe = ["onKeypress"], ke = { class: "m-fullscreen-img-scroller" }, Pe = ["s
21
20
  },
22
21
  emits: ["close", "previous", "next", "before-close"],
23
22
  setup(n, { emit: e }) {
24
- const t = e, s = _(() => import("./MazSpinner-BKjRRWtc.mjs")), r = _(() => import("./x-mark-BP8zWe_C.mjs")), f = _(() => import("./chevron-left-CcZaP3Rc.mjs")), i = n, v = y(!1), C = y(!1), w = y(!1), m = y(!1), d = y(!1), c = y(i.clickedElement), u = E(() => i.clickedElement.getBoundingClientRect()), re = E(
25
- () => u.value.height < u.value.width
26
- ), W = y(i.src), Z = y(i.alt), j = y(), z = y(), ie = E(() => d.value ? "--is-zoomed maz-cursor-zoom-out" : "maz-cursor-zoom-in");
23
+ const t = n, s = e, r = _(() => import("./MazSpinner-BaAMq7LI.mjs")), h = _(() => import("./x-mark-BP8zWe_C.mjs")), p = _(() => import("./chevron-left-CcZaP3Rc.mjs")), g = y(!1), C = y(!1), w = y(!1), u = y(!1), m = y(!1), l = y(t.clickedElement), c = E(() => t.clickedElement.getBoundingClientRect()), re = E(
24
+ () => c.value.height < c.value.width
25
+ ), W = y(t.src), Z = y(t.alt), j = y(), z = y(), ie = E(() => m.value ? "--is-zoomed maz-cursor-zoom-out" : "maz-cursor-zoom-in");
27
26
  function le() {
28
- v.value = !0, C.value = !1, w.value = !0;
27
+ g.value = !0, C.value = !1, w.value = !0;
29
28
  }
30
29
  Ae(
31
30
  () => w.value,
@@ -34,7 +33,7 @@ const Oe = ["onKeypress"], ke = { class: "m-fullscreen-img-scroller" }, Pe = ["s
34
33
  }
35
34
  );
36
35
  function S() {
37
- t("before-close"), ge();
36
+ s("before-close"), ge();
38
37
  }
39
38
  function q(o) {
40
39
  o.key === "Escape" && (o.preventDefault(), S()), (o.key === "ArrowLeft" || o.key === "ArrowRight") && (o.preventDefault(), N(o.key === "ArrowRight" ? "next" : "previous"));
@@ -52,17 +51,17 @@ const Oe = ["onKeypress"], ke = { class: "m-fullscreen-img-scroller" }, Pe = ["s
52
51
  return a < 0 ? o.length - 1 : a >= o.length ? 0 : a;
53
52
  }
54
53
  async function de(o, a) {
55
- o.classList.remove(i.openInstanceClass), a.classList.add(i.openInstanceClass);
56
- const l = a.getAttribute("data-src"), h = a.getAttribute("data-alt");
57
- Z.value = h, l && (W.value = l), v.value = !1, v.value || (C.value = !0);
54
+ o.classList.remove(t.openInstanceClass), a.classList.add(t.openInstanceClass);
55
+ const i = a.getAttribute("data-src"), d = a.getAttribute("data-alt");
56
+ Z.value = d, i && (W.value = i), g.value = !1, g.value || (C.value = !0);
58
57
  }
59
58
  function N(o) {
60
59
  const a = document.querySelector(
61
- `.m-fullscreen-img-instance.${i.openInstanceClass}`
60
+ `.m-fullscreen-img-instance.${t.openInstanceClass}`
62
61
  );
63
62
  if (a) {
64
- const l = V(), h = l.indexOf(a), I = o === "next" ? h + 1 : h - 1, p = l[me(l, I)];
65
- c.value = p, p && de(a, p), t(o), d.value ? Y(z.value) : H();
63
+ const i = V(), d = i.indexOf(a), I = o === "next" ? d + 1 : d - 1, v = i[me(i, I)];
64
+ l.value = v, v && de(a, v), s(o), m.value ? Y(z.value) : H();
66
65
  }
67
66
  }
68
67
  function Y(o) {
@@ -70,32 +69,32 @@ const Oe = ["onKeypress"], ke = { class: "m-fullscreen-img-scroller" }, Pe = ["s
70
69
  }
71
70
  async function he() {
72
71
  const o = z.value;
73
- d.value ? (d.value = !d.value, H()) : (d.value = !d.value, Y(o));
72
+ m.value ? (m.value = !m.value, H()) : (m.value = !m.value, Y(o));
74
73
  }
75
74
  function G(o) {
76
75
  var a;
77
76
  return (a = z.value) == null ? void 0 : a.animate(o, {
78
- duration: i.animation.duration,
77
+ duration: t.animation.duration,
79
78
  // Durée de l'animation en millisecondes
80
- easing: i.animation.easing
79
+ easing: t.animation.easing
81
80
  // Fonction d'interpolation pour l'animation inverse
82
81
  });
83
82
  }
84
- function X(o = i.offset ?? 0) {
85
- const a = (c.value instanceof HTMLImageElement ? c.value.naturalWidth : c.value.clientWidth) || 1, l = (c.value instanceof HTMLImageElement ? c.value.naturalHeight : c.value.clientHeight) || 1, h = window.innerWidth, I = window.innerHeight, p = Math.min(
86
- (h - 2 * o) / a,
87
- (I - 2 * o) / l
88
- ), T = (h - a * p) / 2, D = (I - l * p) / 2;
83
+ function X(o = t.offset ?? 0) {
84
+ const a = (l.value instanceof HTMLImageElement ? l.value.naturalWidth : l.value.clientWidth) || 1, i = (l.value instanceof HTMLImageElement ? l.value.naturalHeight : l.value.clientHeight) || 1, d = window.innerWidth, I = window.innerHeight, v = Math.min(
85
+ (d - 2 * o) / a,
86
+ (I - 2 * o) / i
87
+ ), T = (d - a * v) / 2, D = (I - i * v) / 2;
89
88
  return {
90
89
  centerX: T,
91
90
  centerY: D,
92
91
  originalWidth: a,
93
- originalHeight: l,
94
- scale: p
92
+ originalHeight: i,
93
+ scale: v
95
94
  };
96
95
  }
97
96
  function K({ trigger: o }) {
98
- const { originalWidth: a, originalHeight: l, scale: h, centerX: I, centerY: p } = X(), { top: T, left: D, width: ve, height: pe } = u.value, J = [
97
+ const { originalWidth: a, originalHeight: i, scale: d, centerX: I, centerY: v } = X(), { top: T, left: D, width: ve, height: pe } = c.value, J = [
99
98
  {
100
99
  top: `${T}px`,
101
100
  left: `${D}px`,
@@ -104,10 +103,10 @@ const Oe = ["onKeypress"], ke = { class: "m-fullscreen-img-scroller" }, Pe = ["s
104
103
  opacity: 0
105
104
  },
106
105
  {
107
- top: `${p}px`,
106
+ top: `${v}px`,
108
107
  left: `${I}px`,
109
- width: `${a * h}px`,
110
- height: `${l * h}px`,
108
+ width: `${a * d}px`,
109
+ height: `${i * d}px`,
111
110
  opacity: 1
112
111
  }
113
112
  ];
@@ -116,15 +115,15 @@ const Oe = ["onKeypress"], ke = { class: "m-fullscreen-img-scroller" }, Pe = ["s
116
115
  };
117
116
  }
118
117
  function H() {
119
- const { centerX: o, centerY: a, originalHeight: l, originalWidth: h, scale: I } = X(), p = {
118
+ const { centerX: o, centerY: a, originalHeight: i, originalWidth: d, scale: I } = X(), v = {
120
119
  top: `${a}px`,
121
120
  left: `${o}px`,
122
- width: `${h * I}px`,
123
- height: `${l * I}px`
121
+ width: `${d * I}px`,
122
+ height: `${i * I}px`
124
123
  };
125
124
  if (!z.value)
126
125
  throw console.error("[maz-ui](vFullscreenImg) ImgElement is not defined");
127
- Object.assign(z.value.style, p);
126
+ Object.assign(z.value.style, v);
128
127
  }
129
128
  function fe() {
130
129
  const { frames: o } = K({
@@ -143,15 +142,15 @@ const Oe = ["onKeypress"], ke = { class: "m-fullscreen-img-scroller" }, Pe = ["s
143
142
  if (!a)
144
143
  throw console.error("[maz-ui](vFullscreenImg) close animation is not defined");
145
144
  a.onfinish = () => {
146
- var l, h;
147
- t("close"), (l = j.value) == null || l.remove(), (h = i.destroy) == null || h.call(i);
145
+ var i, d;
146
+ s("close"), (i = j.value) == null || i.remove(), (d = t.destroy) == null || d.call(t);
148
147
  };
149
148
  }
150
149
  function Q() {
151
- d.value || H();
150
+ m.value || H();
152
151
  }
153
152
  return Ie(() => {
154
- C.value = !0, document.addEventListener("keydown", q), window.addEventListener("resize", Q), ce(), m.value = V().length > 1;
153
+ C.value = !0, document.addEventListener("keydown", q), window.addEventListener("resize", Q), ce(), u.value = V().length > 1;
155
154
  }), Ee(() => {
156
155
  document.removeEventListener("keydown", q), window.removeEventListener("resize", Q), ue();
157
156
  }), (o, a) => (b(), A("div", {
@@ -164,7 +163,7 @@ const Oe = ["onKeypress"], ke = { class: "m-fullscreen-img-scroller" }, Pe = ["s
164
163
  onKeypress: Le(P(S, ["prevent"]), ["esc"])
165
164
  }, [
166
165
  R(x(
167
- L(s),
166
+ L(r),
168
167
  { class: "m-fullscreen-img-loader maz-h-16" },
169
168
  null,
170
169
  512
@@ -172,28 +171,28 @@ const Oe = ["onKeypress"], ke = { class: "m-fullscreen-img-scroller" }, Pe = ["s
172
171
  ), [
173
172
  [we, C.value]
174
173
  ]),
175
- w.value && m.value ? (b(), A("button", {
174
+ w.value && u.value ? (b(), A("button", {
176
175
  key: 0,
177
176
  type: "button",
178
177
  class: "m-fullscreen-btn --next",
179
- onClick: a[0] || (a[0] = P((l) => N("next"), ["stop"]))
178
+ onClick: a[0] || (a[0] = P((i) => N("next"), ["stop"]))
180
179
  }, [
181
- x(L(f), { class: "maz-rotate-180 maz-text-3xl" })
180
+ x(L(p), { class: "maz-rotate-180 maz-text-3xl" })
182
181
  ])) : O("v-if", !0),
183
- w.value && m.value ? (b(), A("button", {
182
+ w.value && u.value ? (b(), A("button", {
184
183
  key: 1,
185
184
  type: "button",
186
185
  class: "m-fullscreen-btn --previous",
187
- onClick: a[1] || (a[1] = P((l) => N("previous"), ["stop"]))
186
+ onClick: a[1] || (a[1] = P((i) => N("previous"), ["stop"]))
188
187
  }, [
189
- x(L(f), { class: "maz-text-3xl" })
188
+ x(L(p), { class: "maz-text-3xl" })
190
189
  ])) : O("v-if", !0),
191
190
  k("button", {
192
191
  type: "button",
193
192
  class: "m-fullscreen-btn --close",
194
193
  onClick: S
195
194
  }, [
196
- x(L(r), { class: "maz-text-3xl" })
195
+ x(L(h), { class: "maz-text-3xl" })
197
196
  ]),
198
197
  k("div", ke, [
199
198
  O(" eslint-disable-next-line vuejs-accessibility/no-static-element-interactions, vuejs-accessibility/click-events-have-key-events "),
@@ -205,7 +204,7 @@ const Oe = ["onKeypress"], ke = { class: "m-fullscreen-img-scroller" }, Pe = ["s
205
204
  tabindex: "0",
206
205
  class: F([ie.value]),
207
206
  onLoad: le,
208
- onClick: a[2] || (a[2] = P((l) => o.zoom ? he() : void 0, ["stop"]))
207
+ onClick: a[2] || (a[2] = P((i) => o.zoom ? he() : void 0, ["stop"]))
209
208
  }, null, 42, Pe)
210
209
  ])
211
210
  ], 40, Oe));
@@ -215,7 +214,7 @@ const Oe = ["onKeypress"], ke = { class: "m-fullscreen-img-scroller" }, Pe = ["s
215
214
  for (const [s, r] of e)
216
215
  t[s] = r;
217
216
  return t;
218
- }, He = /* @__PURE__ */ ae(Se, [["__scopeId", "data-v-d975dba3"]]);
217
+ }, He = /* @__PURE__ */ ae(Se, [["__scopeId", "data-v-884a2c57"]]);
219
218
  function Be(n, e) {
220
219
  let t = e == null ? void 0 : e.element;
221
220
  function s() {
@@ -231,8 +230,8 @@ function Be(n, e) {
231
230
  const ne = "m-fullscreen-is-open";
232
231
  class $e {
233
232
  constructor() {
234
- g(this, "options");
235
- g(this, "defaultOptions", {
233
+ f(this, "options");
234
+ f(this, "defaultOptions", {
236
235
  scaleOnHover: !1,
237
236
  blurOnHover: !1,
238
237
  disabled: !1,
@@ -243,17 +242,17 @@ class $e {
243
242
  easing: "ease-in-out"
244
243
  }
245
244
  });
246
- g(this, "mouseEnterListener");
247
- g(this, "mouseLeaveListener");
248
- g(this, "renderPreviewListener");
245
+ f(this, "mouseEnterListener");
246
+ f(this, "mouseLeaveListener");
247
+ f(this, "renderPreviewListener");
249
248
  }
250
249
  buildOptions(e, t) {
251
- const s = typeof t.value == "object" ? t.value : { src: t.value, alt: void 0 }, r = (s == null ? void 0 : s.src) ?? this.getImgSrc(e), f = (s == null ? void 0 : s.alt) ?? this.getImgAlt(e);
250
+ const s = typeof t.value == "object" ? t.value : { src: t.value, alt: void 0 }, r = (s == null ? void 0 : s.src) ?? this.getImgSrc(e), h = (s == null ? void 0 : s.alt) ?? this.getImgAlt(e);
252
251
  return {
253
252
  ...this.defaultOptions,
254
253
  ...s,
255
254
  src: r,
256
- alt: f
255
+ alt: h
257
256
  };
258
257
  }
259
258
  get allInstances() {
@@ -330,12 +329,12 @@ const U = {
330
329
  };
331
330
  class Re {
332
331
  constructor(e = {}) {
333
- g(this, "observers", []);
334
- g(this, "defaultOptions", _e);
335
- g(this, "options");
336
- g(this, "onImgLoadedCallback");
337
- g(this, "onImgErrorCallback");
338
- g(this, "hasImgLoaded", !1);
332
+ f(this, "observers", []);
333
+ f(this, "defaultOptions", _e);
334
+ f(this, "options");
335
+ f(this, "onImgLoadedCallback");
336
+ f(this, "onImgErrorCallback");
337
+ f(this, "hasImgLoaded", !1);
339
338
  this.options = this.buildOptions(e), this.onImgLoadedCallback = this.imageIsLoaded.bind(this), this.onImgErrorCallback = this.imageHasError.bind(this);
340
339
  }
341
340
  async loadErrorPhoto() {
@@ -415,8 +414,8 @@ class Re {
415
414
  typeof t == "string" && this.addClass(e, this.options.noPhotoClass);
416
415
  const s = t ?? await this.loadErrorPhoto(), r = e.querySelectorAll("source");
417
416
  if (r.length > 0)
418
- for await (const f of r)
419
- f.srcset = s;
417
+ for await (const h of r)
418
+ h.srcset = s;
420
419
  else
421
420
  this.setImgSrc(e, s);
422
421
  }
@@ -441,18 +440,18 @@ class Re {
441
440
  s.src = t;
442
441
  }
443
442
  handleIntersectionObserver(e, t, s, r) {
444
- var f, i;
443
+ var h, p;
445
444
  this.observers.push(r);
446
- for (const v of s)
447
- if (v.isIntersecting) {
448
- if ((i = (f = this.options).onIntersecting) == null || i.call(f, v.target), this.options.observerOnce && r.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
445
+ for (const g of s)
446
+ if (g.isIntersecting) {
447
+ if ((p = (h = this.options).onIntersecting) == null || p.call(h, g.target), this.options.observerOnce && r.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
449
448
  return;
450
449
  this.loadImage(e, t);
451
450
  }
452
451
  }
453
452
  createObserver(e, t) {
454
- const s = (i, v) => {
455
- this.handleIntersectionObserver(e, t, i, v);
453
+ const s = (p, g) => {
454
+ this.handleIntersectionObserver(e, t, p, g);
456
455
  }, r = this.options.observerOptions;
457
456
  new IntersectionObserver(s, r).observe(e);
458
457
  }
@@ -502,7 +501,7 @@ const Fe = {
502
501
  props: {
503
502
  /**
504
503
  * Array of string or object: `['https://via.placeholder.com/500', 'https://via.placeholder.com/600']` or `[{ slug: 'https://via.placeholder.com/500', alt: 'image descripton' }, { slug: 'https://via.placeholder.com/600', alt: 'image descripton' }]`
505
- * */
504
+ */
506
505
  images: {
507
506
  type: Array,
508
507
  default: () => []
@@ -535,29 +534,32 @@ const Fe = {
535
534
  separatorColor: { type: String, default: "transparent" }
536
535
  },
537
536
  setup(n) {
538
- Ce((m) => ({
539
- "372f679d": n.separatorColor
537
+ Ce((u) => ({
538
+ a1931c44: n.separatorColor
540
539
  }));
541
- const e = _(() => import("./no-photography-CFaiDNTH.mjs")), t = n;
540
+ const e = n, t = _(() => import("./no-photography-CFaiDNTH.mjs"));
542
541
  ze(() => {
543
- t.imagesShownCount > 5 && console.warn('[MazUI](m-gallery) The maximum of "images-shown-count" is 5');
542
+ e.imagesShownCount > 5 && console.warn('[MazUI](m-gallery) The maximum of "images-shown-count" is 5');
544
543
  });
545
544
  const s = E(() => {
546
- const m = t.noWidth, d = t.width, c = t.noHeight, u = t.height;
545
+ const u = e.noWidth, m = e.width, l = e.noHeight, c = e.height;
547
546
  return {
548
- ...m ? {} : {
549
- flex: "0 0 " + typeof d == "number" ? `${d}px` : d,
550
- width: typeof d == "number" ? `${d}px` : d
547
+ ...u ? {} : {
548
+ flex: `0 0 ${typeof m}` == "number" ? `${m}px` : m,
549
+ width: typeof m == "number" ? `${m}px` : m
551
550
  },
552
- ...c ? {} : {
553
- height: typeof u == "number" ? `${u}px` : `${u}`,
554
- minHeight: typeof u == "number" ? `${u}px` : `${u}`
551
+ ...l ? {} : {
552
+ height: typeof c == "number" ? `${c}px` : `${c}`,
553
+ minHeight: typeof c == "number" ? `${c}px` : `${c}`
555
554
  }
556
555
  };
557
- }), r = E(() => t.imagesShownCount <= 5 ? t.imagesShownCount : 5), f = E(() => t.images.length - (t.images.length < r.value ? t.images.length : r.value)), i = E(() => t.images.map(
558
- (m) => typeof m == "object" ? { ...m, thumbnail: m.thumbnail ?? m.src } : { src: m, thumbnail: m, alt: void 0 }
559
- )), v = E(() => i.value.slice(0, r.value)), C = E(() => i.value.slice(r.value, t.images.length)), w = (m) => t.noRemaining ? !1 : (f.value && m + 1) === v.value.length;
560
- return (m, d) => n.images.length > 0 || n.hasEmptyLayer ? (b(), A(
556
+ }), r = E(() => e.imagesShownCount <= 5 ? e.imagesShownCount : 5), h = E(() => e.images.length - (e.images.length < r.value ? e.images.length : r.value)), p = E(() => e.images.map(
557
+ (u) => typeof u == "object" ? { ...u, thumbnail: u.thumbnail ?? u.src } : { src: u, thumbnail: u, alt: void 0 }
558
+ )), g = E(() => p.value.slice(0, r.value)), C = E(() => p.value.slice(r.value, e.images.length));
559
+ function w(u) {
560
+ return e.noRemaining ? !1 : (h.value && u + 1) === g.value.length;
561
+ }
562
+ return (u, m) => n.images.length > 0 || n.hasEmptyLayer ? (b(), A(
561
563
  "div",
562
564
  {
563
565
  key: 0,
@@ -569,40 +571,40 @@ const Fe = {
569
571
  (b(!0), A(
570
572
  te,
571
573
  null,
572
- se(v.value, (c, u) => (b(), A(
574
+ se(g.value, (l, c) => (b(), A(
573
575
  "figure",
574
576
  {
575
- key: u,
576
- class: F(["m-gallery__item !maz-my-0 maz-flex maz-flex-center", [`m-gallery__item--${u + 1}`]])
577
+ key: c,
578
+ class: F(["m-gallery__item !maz-my-0 maz-flex maz-flex-center", [`m-gallery__item--${c + 1}`]])
577
579
  },
578
580
  [
579
581
  R(k("img", {
580
582
  class: "m-gallery__item__image maz-flex-1",
581
583
  src: "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
582
- alt: c.alt,
584
+ alt: l.alt,
583
585
  loading: "lazy"
584
586
  }, null, 8, Te), [
585
- [L(Fe), { src: c.thumbnail, disabled: !n.lazy }, "bg-image"],
587
+ [L(Fe), { src: l.thumbnail, disabled: !n.lazy }, "bg-image"],
586
588
  [L(U), {
587
- src: c.src,
588
- alt: c.alt,
589
- disabled: n.noZoom || w(u),
589
+ src: l.src,
590
+ alt: l.alt,
591
+ disabled: n.noZoom || w(c),
590
592
  blurOnHover: n.blur,
591
593
  scaleOnHover: n.scale
592
594
  }]
593
595
  ]),
594
- w(u) ? R((b(), A("div", De, [
596
+ w(c) ? R((b(), A("div", De, [
595
597
  k(
596
598
  "span",
597
599
  Ue,
598
- "+" + xe(f.value),
600
+ "+" + xe(h.value),
599
601
  1
600
602
  /* TEXT */
601
603
  )
602
604
  ])), [
603
605
  [L(U), {
604
- src: c.src,
605
- alt: c.alt,
606
+ src: l.src,
607
+ alt: l.alt,
606
608
  disabled: n.noZoom,
607
609
  blurOnHover: !1,
608
610
  scaleOnHover: n.scale
@@ -623,7 +625,7 @@ const Fe = {
623
625
  style: ee([s.value])
624
626
  },
625
627
  [
626
- x(L(e), { class: "maz-h-8 maz-w-8" })
628
+ x(L(t), { class: "maz-h-8 maz-w-8" })
627
629
  ],
628
630
  6
629
631
  /* CLASS, STYLE */
@@ -632,11 +634,11 @@ const Fe = {
632
634
  (b(!0), A(
633
635
  te,
634
636
  null,
635
- se(C.value, (c, u) => R((b(), A("div", {
636
- key: u,
637
+ se(C.value, (l, c) => R((b(), A("div", {
638
+ key: c,
637
639
  class: "m-gallery__hidden"
638
640
  })), [
639
- [L(U), { src: c.src, disabled: n.noZoom }]
641
+ [L(U), { src: l.src, disabled: n.noZoom }]
640
642
  ])),
641
643
  128
642
644
  /* KEYED_FRAGMENT */
@@ -646,7 +648,7 @@ const Fe = {
646
648
  /* CLASS, STYLE */
647
649
  )) : O("v-if", !0);
648
650
  }
649
- }), qe = /* @__PURE__ */ ae(We, [["__scopeId", "data-v-bfd5041a"]]);
651
+ }), qe = /* @__PURE__ */ ae(We, [["__scopeId", "data-v-4811cb18"]]);
650
652
  export {
651
653
  qe as M,
652
654
  ae as _
@@ -1,5 +1,5 @@
1
- import { defineComponent as b, ref as f, computed as g, onMounted as P, watchEffect as _, openBlock as p, createElementBlock as h, Fragment as A, createCommentVNode as s, mergeProps as C, nextTick as $ } from "vue";
2
- import { i as q } from "./index-CThtJOu5.mjs";
1
+ import { defineComponent as b, ref as v, computed as g, onMounted as P, watchEffect as _, openBlock as p, createElementBlock as h, Fragment as A, createCommentVNode as i, mergeProps as C, nextTick as $ } from "vue";
2
+ import { i as q } from "./MazPhoneNumberInput-DpWoNQfx.mjs";
3
3
  const H = ["innerHTML"], G = /* @__PURE__ */ b({
4
4
  __name: "MazIcon",
5
5
  props: {
@@ -16,22 +16,24 @@ const H = ["innerHTML"], G = /* @__PURE__ */ b({
16
16
  /** The function to transform the source of the SVG file - e.g: `(svg) => svg` */
17
17
  transformSource: {
18
18
  type: Function,
19
- default: (a) => a
19
+ default: (s) => s
20
20
  }
21
21
  },
22
22
  emits: ["loaded", "unloaded", "error"],
23
- setup(a, { emit: S }) {
24
- const i = {}, l = f(), d = f(), w = () => {
23
+ setup(s, { emit: S }) {
24
+ const o = s, d = S, a = {}, l = v(), f = v();
25
+ function w() {
25
26
  try {
26
27
  return q("mazIconPath");
27
28
  } catch {
28
29
  return;
29
30
  }
30
- }, o = a, c = S, m = g(() => o.path ?? w()), y = g(() => o.src ? o.src : m.value ? `${m.value}/${o.name}.svg` : `/${o.name}.svg`);
31
+ }
32
+ const m = g(() => o.path ?? w()), y = g(() => o.src ? o.src : m.value ? `${m.value}/${o.name}.svg` : `/${o.name}.svg`);
31
33
  P(() => {
32
34
  !o.name && !o.src && console.error('[maz-ui](MazIcon) you should provide "name" or "src" as prop');
33
35
  });
34
- const E = (e, n) => {
36
+ function E(e, n) {
35
37
  const t = e.querySelectorAll("title");
36
38
  if (t.length > 0)
37
39
  t[0].textContent = n;
@@ -39,58 +41,67 @@ const H = ["innerHTML"], G = /* @__PURE__ */ b({
39
41
  const r = document.createElementNS("http://www.w3.org/2000/svg", "title");
40
42
  r.textContent = n, e.append(r);
41
43
  }
42
- }, M = (e) => Object.keys(e).reduce((n, t) => (e[t] !== !1 && e[t] !== null && e[t] !== void 0 && (n[t] = e[t]), n), {}), z = (e) => {
44
+ }
45
+ function M(e) {
46
+ return Object.keys(e).reduce((n, t) => (e[t] !== !1 && e[t] !== null && e[t] !== void 0 && (n[t] = e[t]), n), {});
47
+ }
48
+ function z(e) {
43
49
  const n = {}, t = e.attributes;
44
50
  if (!t)
45
51
  return n;
46
52
  for (let r = t.length - 1; r >= 0; r--)
47
53
  n[t[r].name] = t[r].value;
48
54
  return n;
49
- }, T = (e) => {
55
+ }
56
+ function T(e) {
50
57
  let n = e.cloneNode(!0);
51
58
  return n = o.transformSource(e), o.title && E(n, o.title), e.innerHTML;
52
- }, x = async (e) => {
53
- i[e] || (i[e] = L(e));
59
+ }
60
+ async function x(e) {
61
+ a[e] || (a[e] = L(e));
54
62
  try {
55
- l.value = await i[e], await $(), c("loaded", d.value);
63
+ l.value = await a[e], await $(), d("loaded", f.value);
56
64
  } catch (n) {
57
- l.value && (l.value = void 0, c("unloaded")), delete i[e], c("error", n);
65
+ l.value && (l.value = void 0, d("unloaded")), delete a[e], d("error", n);
58
66
  }
59
- }, L = (e) => new Promise((n, t) => {
60
- const r = new XMLHttpRequest();
61
- r.open("GET", e, !0), r.addEventListener("load", () => {
62
- if (r.status >= 200 && r.status < 400)
63
- try {
64
- let u = new DOMParser().parseFromString(r.responseText, "text/xml").querySelectorAll("svg")[0];
65
- u ? (u = o.transformSource(u), n(u)) : t(new Error('Loaded file is not valid SVG"'));
66
- } catch (v) {
67
- t(v);
68
- }
69
- else
70
- t(new Error("Error loading SVG"));
71
- }), r.addEventListener("error", () => t()), r.send();
72
- });
67
+ }
68
+ function L(e) {
69
+ return new Promise((n, t) => {
70
+ const r = new XMLHttpRequest();
71
+ r.open("GET", e, !0), r.addEventListener("load", () => {
72
+ if (r.status >= 200 && r.status < 400)
73
+ try {
74
+ let c = new DOMParser().parseFromString(r.responseText, "text/xml").querySelectorAll("svg")[0];
75
+ c ? (c = o.transformSource(c), n(c)) : t(new Error('Loaded file is not valid SVG"'));
76
+ } catch (u) {
77
+ t(u);
78
+ }
79
+ else
80
+ t(new Error("Error loading SVG"));
81
+ }), r.addEventListener("error", (u) => t(u)), r.send();
82
+ });
83
+ }
73
84
  return _(() => x(y.value)), (e, n) => (p(), h(
74
85
  A,
75
86
  null,
76
87
  [
77
- s(" eslint-disable vue/no-v-html "),
78
- s(" eslint-disable vue/html-self-closing "),
88
+ i(" eslint-disable vue/no-v-html "),
89
+ i(" eslint-disable vue/html-self-closing "),
79
90
  l.value ? (p(), h("svg", C({
80
91
  key: 0,
81
92
  ref_key: "svgElem",
82
- ref: d,
93
+ ref: f,
83
94
  width: "1em",
84
95
  height: "1em"
85
96
  }, {
86
97
  ...z(l.value),
87
98
  ...M(e.$attrs)
88
99
  }, {
89
- style: `font-size: ${a.size}`,
100
+ style: `font-size: ${s.size}`,
90
101
  innerHTML: T(l.value)
91
- }), null, 16, H)) : s("v-if", !0),
92
- s(" eslint-enable vue/no-v-html "),
93
- s(" eslint-enable vue/html-self-closing ")
102
+ }), null, 16, H)) : i("v-if", !0),
103
+ i(" eslint-enable vue/no-v-html "),
104
+ i(" eslint-enable vue/html-self-closing ")
94
105
  ],
95
106
  2112
96
107
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */