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
@@ -0,0 +1,58 @@
1
+ import { defineComponent as l, mergeModels as u, useCssVars as m, useModel as f, ref as r, onMounted as v, onUnmounted as c, openBlock as p, createElementBlock as _, normalizeClass as E, createElementVNode as x, mergeProps as h, createCommentVNode as M, renderSlot as V } from "vue";
2
+ import { _ as g } from "./MazStepper-DxrzKz06.mjs";
3
+ import '../assets/MazExpandAnimation.css';const A = ["aria-hidden"], b = /* @__PURE__ */ l({
4
+ inheritAttrs: !1,
5
+ __name: "MazExpandAnimation",
6
+ props: /* @__PURE__ */ u({
7
+ duration: { default: "300ms" },
8
+ timingFunction: { default: "ease-in-out" }
9
+ }, {
10
+ modelValue: { type: Boolean },
11
+ modelModifiers: {}
12
+ }),
13
+ emits: ["update:modelValue"],
14
+ setup(d) {
15
+ m((e) => ({
16
+ "3628b947": e.duration,
17
+ "239277b5": e.timingFunction
18
+ }));
19
+ const a = f(d, "modelValue"), o = r(!a.value), t = r();
20
+ function i() {
21
+ a.value || (o.value = !0);
22
+ }
23
+ function s() {
24
+ a.value && (o.value = !1);
25
+ }
26
+ return v(() => {
27
+ var e, n;
28
+ (e = t.value) == null || e.addEventListener("transitionstart", i, !1), (n = t.value) == null || n.addEventListener("transitionend", s, !1);
29
+ }), c(() => {
30
+ var e, n;
31
+ (e = t.value) == null || e.removeEventListener("transitionstart", i, !1), (n = t.value) == null || n.removeEventListener("transitionend", s, !1);
32
+ }), (e, n) => (p(), _("div", {
33
+ ref_key: "expandAnimationRef",
34
+ ref: t,
35
+ class: E(["m-expand-animation", { "m-expand-animation--expanded": a.value }]),
36
+ "aria-hidden": !a.value,
37
+ role: "region"
38
+ }, [
39
+ x(
40
+ "div",
41
+ h({ class: "m-expand-animation__inner" }, e.$attrs, {
42
+ class: {
43
+ "--overflow-hidden": o.value
44
+ }
45
+ }),
46
+ [
47
+ M(" @slot Default Slot - Display content "),
48
+ V(e.$slots, "default", {}, void 0, !0)
49
+ ],
50
+ 16
51
+ /* FULL_PROPS */
52
+ )
53
+ ], 10, A));
54
+ }
55
+ }), k = /* @__PURE__ */ g(b, [["__scopeId", "data-v-b7ca6b97"]]);
56
+ export {
57
+ k as default
58
+ };
@@ -1,9 +1,8 @@
1
- import '../assets/MazGallery.css';
2
- var ye = Object.defineProperty;
1
+ import '../assets/MazGallery.css';var ye = Object.defineProperty;
3
2
  var be = (o, e, t) => e in o ? ye(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
4
- var g = (o, e, t) => (be(o, typeof e != "symbol" ? e + "" : e, t), t);
3
+ var f = (o, e, t) => (be(o, 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 S, withKeys as Le, withDirectives as R, createVNode as x, unref as L, vShow as we, createCommentVNode as O, createElementVNode as P, 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
- import { _ as ae } from "./MazCard-bmiVPg8p.mjs";
5
+ import { _ as ae } from "./MazCard-BWxV_Z-i.mjs";
7
6
  const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["src", "alt"], ke = /* @__PURE__ */ oe({
8
7
  __name: "MazFullscreenImg",
9
8
  props: {
@@ -22,11 +21,11 @@ const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["s
22
21
  },
23
22
  emits: ["close", "previous", "next", "before-close"],
24
23
  setup(o, { emit: e }) {
25
- const t = e, s = _(() => import("./MazSpinner-Mvsi6uCt.mjs")), r = _(() => import("./x-mark-BP8zWe_C.mjs")), f = _(() => import("./chevron-left-CcZaP3Rc.mjs")), i = o, 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(
26
- () => u.value.height < u.value.width
27
- ), 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");
24
+ const t = o, s = e, r = _(() => import("./MazSpinner-RvDGcBng.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(
25
+ () => c.value.height < c.value.width
26
+ ), 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");
28
27
  function le() {
29
- v.value = !0, C.value = !1, w.value = !0;
28
+ g.value = !0, C.value = !1, w.value = !0;
30
29
  }
31
30
  Ae(
32
31
  () => w.value,
@@ -35,7 +34,7 @@ const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["s
35
34
  }
36
35
  );
37
36
  function k() {
38
- t("before-close"), ge();
37
+ s("before-close"), ge();
39
38
  }
40
39
  function q(n) {
41
40
  n.key === "Escape" && (n.preventDefault(), k()), (n.key === "ArrowLeft" || n.key === "ArrowRight") && (n.preventDefault(), N(n.key === "ArrowRight" ? "next" : "previous"));
@@ -53,17 +52,17 @@ const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["s
53
52
  return a < 0 ? n.length - 1 : a >= n.length ? 0 : a;
54
53
  }
55
54
  async function de(n, a) {
56
- n.classList.remove(i.openInstanceClass), a.classList.add(i.openInstanceClass);
57
- const l = a.getAttribute("data-src"), h = a.getAttribute("data-alt");
58
- Z.value = h, l && (W.value = l), v.value = !1, v.value || (C.value = !0);
55
+ n.classList.remove(t.openInstanceClass), a.classList.add(t.openInstanceClass);
56
+ const i = a.getAttribute("data-src"), d = a.getAttribute("data-alt");
57
+ Z.value = d, i && (W.value = i), g.value = !1, g.value || (C.value = !0);
59
58
  }
60
59
  function N(n) {
61
60
  const a = document.querySelector(
62
- `.m-fullscreen-img-instance.${i.openInstanceClass}`
61
+ `.m-fullscreen-img-instance.${t.openInstanceClass}`
63
62
  );
64
63
  if (a) {
65
- const l = V(), h = l.indexOf(a), I = n === "next" ? h + 1 : h - 1, p = l[me(l, I)];
66
- c.value = p, p && de(a, p), t(n), d.value ? Y(z.value) : H();
64
+ const i = V(), d = i.indexOf(a), I = n === "next" ? d + 1 : d - 1, v = i[me(i, I)];
65
+ l.value = v, v && de(a, v), s(n), m.value ? Y(z.value) : H();
67
66
  }
68
67
  }
69
68
  function Y(n) {
@@ -71,32 +70,32 @@ const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["s
71
70
  }
72
71
  async function he() {
73
72
  const n = z.value;
74
- d.value ? (d.value = !d.value, H()) : (d.value = !d.value, Y(n));
73
+ m.value ? (m.value = !m.value, H()) : (m.value = !m.value, Y(n));
75
74
  }
76
75
  function G(n) {
77
76
  var a;
78
77
  return (a = z.value) == null ? void 0 : a.animate(n, {
79
- duration: i.animation.duration,
78
+ duration: t.animation.duration,
80
79
  // Durée de l'animation en millisecondes
81
- easing: i.animation.easing
80
+ easing: t.animation.easing
82
81
  // Fonction d'interpolation pour l'animation inverse
83
82
  });
84
83
  }
85
- function X(n = i.offset ?? 0) {
86
- 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(
87
- (h - 2 * n) / a,
88
- (I - 2 * n) / l
89
- ), T = (h - a * p) / 2, D = (I - l * p) / 2;
84
+ function X(n = t.offset ?? 0) {
85
+ 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(
86
+ (d - 2 * n) / a,
87
+ (I - 2 * n) / i
88
+ ), T = (d - a * v) / 2, D = (I - i * v) / 2;
90
89
  return {
91
90
  centerX: T,
92
91
  centerY: D,
93
92
  originalWidth: a,
94
- originalHeight: l,
95
- scale: p
93
+ originalHeight: i,
94
+ scale: v
96
95
  };
97
96
  }
98
97
  function K({ trigger: n }) {
99
- const { originalWidth: a, originalHeight: l, scale: h, centerX: I, centerY: p } = X(), { top: T, left: D, width: ve, height: pe } = u.value, J = [
98
+ const { originalWidth: a, originalHeight: i, scale: d, centerX: I, centerY: v } = X(), { top: T, left: D, width: ve, height: pe } = c.value, J = [
100
99
  {
101
100
  top: `${T}px`,
102
101
  left: `${D}px`,
@@ -105,10 +104,10 @@ const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["s
105
104
  opacity: 0
106
105
  },
107
106
  {
108
- top: `${p}px`,
107
+ top: `${v}px`,
109
108
  left: `${I}px`,
110
- width: `${a * h}px`,
111
- height: `${l * h}px`,
109
+ width: `${a * d}px`,
110
+ height: `${i * d}px`,
112
111
  opacity: 1
113
112
  }
114
113
  ];
@@ -117,15 +116,15 @@ const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["s
117
116
  };
118
117
  }
119
118
  function H() {
120
- const { centerX: n, centerY: a, originalHeight: l, originalWidth: h, scale: I } = X(), p = {
119
+ const { centerX: n, centerY: a, originalHeight: i, originalWidth: d, scale: I } = X(), v = {
121
120
  top: `${a}px`,
122
121
  left: `${n}px`,
123
- width: `${h * I}px`,
124
- height: `${l * I}px`
122
+ width: `${d * I}px`,
123
+ height: `${i * I}px`
125
124
  };
126
125
  if (!z.value)
127
126
  throw console.error("[maz-ui](vFullscreenImg) ImgElement is not defined");
128
- Object.assign(z.value.style, p);
127
+ Object.assign(z.value.style, v);
129
128
  }
130
129
  function fe() {
131
130
  const { frames: n } = K({
@@ -144,15 +143,15 @@ const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["s
144
143
  if (!a)
145
144
  throw console.error("[maz-ui](vFullscreenImg) close animation is not defined");
146
145
  a.onfinish = () => {
147
- var l, h;
148
- t("close"), (l = j.value) == null || l.remove(), (h = i.destroy) == null || h.call(i);
146
+ var i, d;
147
+ s("close"), (i = j.value) == null || i.remove(), (d = t.destroy) == null || d.call(t);
149
148
  };
150
149
  }
151
150
  function Q() {
152
- d.value || H();
151
+ m.value || H();
153
152
  }
154
153
  return Ie(() => {
155
- C.value = !0, document.addEventListener("keydown", q), window.addEventListener("resize", Q), ce(), m.value = V().length > 1;
154
+ C.value = !0, document.addEventListener("keydown", q), window.addEventListener("resize", Q), ce(), u.value = V().length > 1;
156
155
  }), Ee(() => {
157
156
  document.removeEventListener("keydown", q), window.removeEventListener("resize", Q), ue();
158
157
  }), (n, a) => (b(), A("div", {
@@ -165,7 +164,7 @@ const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["s
165
164
  onKeypress: Le(S(k, ["prevent"]), ["esc"])
166
165
  }, [
167
166
  R(x(
168
- L(s),
167
+ L(r),
169
168
  { class: "m-fullscreen-img-loader maz-h-16" },
170
169
  null,
171
170
  512
@@ -173,28 +172,28 @@ const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["s
173
172
  ), [
174
173
  [we, C.value]
175
174
  ]),
176
- w.value && m.value ? (b(), A("button", {
175
+ w.value && u.value ? (b(), A("button", {
177
176
  key: 0,
178
177
  type: "button",
179
178
  class: "m-fullscreen-btn --next",
180
- onClick: a[0] || (a[0] = S((l) => N("next"), ["stop"]))
179
+ onClick: a[0] || (a[0] = S((i) => N("next"), ["stop"]))
181
180
  }, [
182
- x(L(f), { class: "maz-rotate-180 maz-text-3xl" })
181
+ x(L(p), { class: "maz-rotate-180 maz-text-3xl" })
183
182
  ])) : O("v-if", !0),
184
- w.value && m.value ? (b(), A("button", {
183
+ w.value && u.value ? (b(), A("button", {
185
184
  key: 1,
186
185
  type: "button",
187
186
  class: "m-fullscreen-btn --previous",
188
- onClick: a[1] || (a[1] = S((l) => N("previous"), ["stop"]))
187
+ onClick: a[1] || (a[1] = S((i) => N("previous"), ["stop"]))
189
188
  }, [
190
- x(L(f), { class: "maz-text-3xl" })
189
+ x(L(p), { class: "maz-text-3xl" })
191
190
  ])) : O("v-if", !0),
192
191
  P("button", {
193
192
  type: "button",
194
193
  class: "m-fullscreen-btn --close",
195
194
  onClick: k
196
195
  }, [
197
- x(L(r), { class: "maz-text-3xl" })
196
+ x(L(h), { class: "maz-text-3xl" })
198
197
  ]),
199
198
  P("div", Pe, [
200
199
  O(" eslint-disable-next-line vuejs-accessibility/no-static-element-interactions, vuejs-accessibility/click-events-have-key-events "),
@@ -206,12 +205,12 @@ const Oe = ["onKeypress"], Pe = { class: "m-fullscreen-img-scroller" }, Se = ["s
206
205
  tabindex: "0",
207
206
  class: F([ie.value]),
208
207
  onLoad: le,
209
- onClick: a[2] || (a[2] = S((l) => n.zoom ? he() : void 0, ["stop"]))
208
+ onClick: a[2] || (a[2] = S((i) => n.zoom ? he() : void 0, ["stop"]))
210
209
  }, null, 42, Se)
211
210
  ])
212
211
  ], 40, Oe));
213
212
  }
214
- }), He = /* @__PURE__ */ ae(ke, [["__scopeId", "data-v-d975dba3"]]);
213
+ }), He = /* @__PURE__ */ ae(ke, [["__scopeId", "data-v-884a2c57"]]);
215
214
  function Be(o, e) {
216
215
  let t = e == null ? void 0 : e.element;
217
216
  function s() {
@@ -227,8 +226,8 @@ function Be(o, e) {
227
226
  const ne = "m-fullscreen-is-open";
228
227
  class $e {
229
228
  constructor() {
230
- g(this, "options");
231
- g(this, "defaultOptions", {
229
+ f(this, "options");
230
+ f(this, "defaultOptions", {
232
231
  scaleOnHover: !1,
233
232
  blurOnHover: !1,
234
233
  disabled: !1,
@@ -239,17 +238,17 @@ class $e {
239
238
  easing: "ease-in-out"
240
239
  }
241
240
  });
242
- g(this, "mouseEnterListener");
243
- g(this, "mouseLeaveListener");
244
- g(this, "renderPreviewListener");
241
+ f(this, "mouseEnterListener");
242
+ f(this, "mouseLeaveListener");
243
+ f(this, "renderPreviewListener");
245
244
  }
246
245
  buildOptions(e, t) {
247
- 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);
246
+ 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);
248
247
  return {
249
248
  ...this.defaultOptions,
250
249
  ...s,
251
250
  src: r,
252
- alt: f
251
+ alt: h
253
252
  };
254
253
  }
255
254
  get allInstances() {
@@ -326,12 +325,12 @@ const U = {
326
325
  };
327
326
  class Re {
328
327
  constructor(e = {}) {
329
- g(this, "observers", []);
330
- g(this, "defaultOptions", _e);
331
- g(this, "options");
332
- g(this, "onImgLoadedCallback");
333
- g(this, "onImgErrorCallback");
334
- g(this, "hasImgLoaded", !1);
328
+ f(this, "observers", []);
329
+ f(this, "defaultOptions", _e);
330
+ f(this, "options");
331
+ f(this, "onImgLoadedCallback");
332
+ f(this, "onImgErrorCallback");
333
+ f(this, "hasImgLoaded", !1);
335
334
  this.options = this.buildOptions(e), this.onImgLoadedCallback = this.imageIsLoaded.bind(this), this.onImgErrorCallback = this.imageHasError.bind(this);
336
335
  }
337
336
  async loadErrorPhoto() {
@@ -411,8 +410,8 @@ class Re {
411
410
  typeof t == "string" && this.addClass(e, this.options.noPhotoClass);
412
411
  const s = t ?? await this.loadErrorPhoto(), r = e.querySelectorAll("source");
413
412
  if (r.length > 0)
414
- for await (const f of r)
415
- f.srcset = s;
413
+ for await (const h of r)
414
+ h.srcset = s;
416
415
  else
417
416
  this.setImgSrc(e, s);
418
417
  }
@@ -437,18 +436,18 @@ class Re {
437
436
  s.src = t;
438
437
  }
439
438
  handleIntersectionObserver(e, t, s, r) {
440
- var f, i;
439
+ var h, p;
441
440
  this.observers.push(r);
442
- for (const v of s)
443
- if (v.isIntersecting) {
444
- if ((i = (f = this.options).onIntersecting) == null || i.call(f, v.target), this.options.observerOnce && r.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
441
+ for (const g of s)
442
+ if (g.isIntersecting) {
443
+ if ((p = (h = this.options).onIntersecting) == null || p.call(h, g.target), this.options.observerOnce && r.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
445
444
  return;
446
445
  this.loadImage(e, t);
447
446
  }
448
447
  }
449
448
  createObserver(e, t) {
450
- const s = (i, v) => {
451
- this.handleIntersectionObserver(e, t, i, v);
449
+ const s = (p, g) => {
450
+ this.handleIntersectionObserver(e, t, p, g);
452
451
  }, r = this.options.observerOptions;
453
452
  new IntersectionObserver(s, r).observe(e);
454
453
  }
@@ -498,7 +497,7 @@ const Fe = {
498
497
  props: {
499
498
  /**
500
499
  * 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' }]`
501
- * */
500
+ */
502
501
  images: {
503
502
  type: Array,
504
503
  default: () => []
@@ -531,29 +530,32 @@ const Fe = {
531
530
  separatorColor: { type: String, default: "transparent" }
532
531
  },
533
532
  setup(o) {
534
- Ce((m) => ({
535
- "372f679d": o.separatorColor
533
+ Ce((u) => ({
534
+ a1931c44: o.separatorColor
536
535
  }));
537
- const e = _(() => import("./no-photography-CFaiDNTH.mjs")), t = o;
536
+ const e = o, t = _(() => import("./no-photography-CFaiDNTH.mjs"));
538
537
  ze(() => {
539
- t.imagesShownCount > 5 && console.warn('[MazUI](m-gallery) The maximum of "images-shown-count" is 5');
538
+ e.imagesShownCount > 5 && console.warn('[MazUI](m-gallery) The maximum of "images-shown-count" is 5');
540
539
  });
541
540
  const s = E(() => {
542
- const m = t.noWidth, d = t.width, c = t.noHeight, u = t.height;
541
+ const u = e.noWidth, m = e.width, l = e.noHeight, c = e.height;
543
542
  return {
544
- ...m ? {} : {
545
- flex: "0 0 " + typeof d == "number" ? `${d}px` : d,
546
- width: typeof d == "number" ? `${d}px` : d
543
+ ...u ? {} : {
544
+ flex: `0 0 ${typeof m}` == "number" ? `${m}px` : m,
545
+ width: typeof m == "number" ? `${m}px` : m
547
546
  },
548
- ...c ? {} : {
549
- height: typeof u == "number" ? `${u}px` : `${u}`,
550
- minHeight: typeof u == "number" ? `${u}px` : `${u}`
547
+ ...l ? {} : {
548
+ height: typeof c == "number" ? `${c}px` : `${c}`,
549
+ minHeight: typeof c == "number" ? `${c}px` : `${c}`
551
550
  }
552
551
  };
553
- }), 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(
554
- (m) => typeof m == "object" ? { ...m, thumbnail: m.thumbnail ?? m.src } : { src: m, thumbnail: m, alt: void 0 }
555
- )), 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;
556
- return (m, d) => o.images.length > 0 || o.hasEmptyLayer ? (b(), A(
552
+ }), 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(
553
+ (u) => typeof u == "object" ? { ...u, thumbnail: u.thumbnail ?? u.src } : { src: u, thumbnail: u, alt: void 0 }
554
+ )), g = E(() => p.value.slice(0, r.value)), C = E(() => p.value.slice(r.value, e.images.length));
555
+ function w(u) {
556
+ return e.noRemaining ? !1 : (h.value && u + 1) === g.value.length;
557
+ }
558
+ return (u, m) => o.images.length > 0 || o.hasEmptyLayer ? (b(), A(
557
559
  "div",
558
560
  {
559
561
  key: 0,
@@ -565,40 +567,40 @@ const Fe = {
565
567
  (b(!0), A(
566
568
  te,
567
569
  null,
568
- se(v.value, (c, u) => (b(), A(
570
+ se(g.value, (l, c) => (b(), A(
569
571
  "figure",
570
572
  {
571
- key: u,
572
- class: F(["m-gallery__item !maz-my-0 maz-flex maz-flex-center", [`m-gallery__item--${u + 1}`]])
573
+ key: c,
574
+ class: F(["m-gallery__item !maz-my-0 maz-flex maz-flex-center", [`m-gallery__item--${c + 1}`]])
573
575
  },
574
576
  [
575
577
  R(P("img", {
576
578
  class: "m-gallery__item__image maz-flex-1",
577
579
  src: "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",
578
- alt: c.alt,
580
+ alt: l.alt,
579
581
  loading: "lazy"
580
582
  }, null, 8, Te), [
581
- [L(Fe), { src: c.thumbnail, disabled: !o.lazy }, "bg-image"],
583
+ [L(Fe), { src: l.thumbnail, disabled: !o.lazy }, "bg-image"],
582
584
  [L(U), {
583
- src: c.src,
584
- alt: c.alt,
585
- disabled: o.noZoom || w(u),
585
+ src: l.src,
586
+ alt: l.alt,
587
+ disabled: o.noZoom || w(c),
586
588
  blurOnHover: o.blur,
587
589
  scaleOnHover: o.scale
588
590
  }]
589
591
  ]),
590
- w(u) ? R((b(), A("div", De, [
592
+ w(c) ? R((b(), A("div", De, [
591
593
  P(
592
594
  "span",
593
595
  Ue,
594
- "+" + xe(f.value),
596
+ "+" + xe(h.value),
595
597
  1
596
598
  /* TEXT */
597
599
  )
598
600
  ])), [
599
601
  [L(U), {
600
- src: c.src,
601
- alt: c.alt,
602
+ src: l.src,
603
+ alt: l.alt,
602
604
  disabled: o.noZoom,
603
605
  blurOnHover: !1,
604
606
  scaleOnHover: o.scale
@@ -619,7 +621,7 @@ const Fe = {
619
621
  style: ee([s.value])
620
622
  },
621
623
  [
622
- x(L(e), { class: "maz-h-8 maz-w-8" })
624
+ x(L(t), { class: "maz-h-8 maz-w-8" })
623
625
  ],
624
626
  6
625
627
  /* CLASS, STYLE */
@@ -628,11 +630,11 @@ const Fe = {
628
630
  (b(!0), A(
629
631
  te,
630
632
  null,
631
- se(C.value, (c, u) => R((b(), A("div", {
632
- key: u,
633
+ se(C.value, (l, c) => R((b(), A("div", {
634
+ key: c,
633
635
  class: "m-gallery__hidden"
634
636
  })), [
635
- [L(U), { src: c.src, disabled: o.noZoom }]
637
+ [L(U), { src: l.src, disabled: o.noZoom }]
636
638
  ])),
637
639
  128
638
640
  /* KEYED_FRAGMENT */
@@ -642,7 +644,7 @@ const Fe = {
642
644
  /* CLASS, STYLE */
643
645
  )) : O("v-if", !0);
644
646
  }
645
- }), Ve = /* @__PURE__ */ ae(We, [["__scopeId", "data-v-bfd5041a"]]);
647
+ }), Ve = /* @__PURE__ */ ae(We, [["__scopeId", "data-v-4811cb18"]]);
646
648
  export {
647
649
  Ve as default
648
650
  };