maz-ui 3.47.2-beta.24 → 3.47.2-beta.26

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 (246) hide show
  1. package/components/MazAccordion.mjs +56 -56
  2. package/components/MazAnimatedCounter.mjs +7 -7
  3. package/components/MazAvatar.mjs +1 -1
  4. package/components/MazBackdrop.mjs +9 -9
  5. package/components/MazBadge.mjs +2 -2
  6. package/components/MazBottomSheet.mjs +1 -1
  7. package/components/MazBtn.mjs +1 -1
  8. package/components/MazCard.mjs +1 -1
  9. package/components/MazCardSpotlight.mjs +7 -7
  10. package/components/MazCarousel.mjs +1 -1
  11. package/components/MazChart.mjs +13 -13
  12. package/components/MazCheckbox.mjs +2 -2
  13. package/components/MazChecklist.mjs +1 -1
  14. package/components/MazCircularProgressBar.mjs +11 -11
  15. package/components/MazDialog.mjs +1 -1
  16. package/components/MazDialogPromise.mjs +1 -1
  17. package/components/MazDrawer.mjs +1 -1
  18. package/components/MazDropdown.mjs +1 -1
  19. package/components/MazDropzone.mjs +1 -1
  20. package/components/MazExpandAnimation.mjs +8 -8
  21. package/components/MazFullscreenLoader.mjs +2 -40
  22. package/components/MazGallery.mjs +1 -1
  23. package/components/MazIcon.mjs +9 -8
  24. package/components/MazInput.mjs +1 -1
  25. package/components/MazInputCode.mjs +2 -2
  26. package/components/MazInputNumber.mjs +1 -1
  27. package/components/MazInputPrice.mjs +1 -1
  28. package/components/MazInputTags.mjs +1 -1
  29. package/components/MazLazyImg.mjs +1 -1
  30. package/components/MazLink.d.ts +2 -2
  31. package/components/MazLink.mjs +6 -6
  32. package/components/MazLoadingBar.mjs +17 -17
  33. package/components/MazPagination.mjs +1 -1
  34. package/components/MazPhoneNumberInput.mjs +1 -1
  35. package/components/MazPicker.mjs +1 -1
  36. package/components/MazPullToRefresh.mjs +1 -1
  37. package/components/MazRadio.mjs +11 -11
  38. package/components/MazRadioButtons.mjs +2 -2
  39. package/components/MazReadingProgressBar.mjs +15 -15
  40. package/components/MazSelect.mjs +1 -1
  41. package/components/MazSlider.mjs +31 -31
  42. package/components/MazSpinner.mjs +7 -7
  43. package/components/MazStepper.d.ts +1 -1
  44. package/components/MazStepper.mjs +1 -1
  45. package/components/MazSwitch.mjs +9 -9
  46. package/components/MazTable.mjs +1 -1
  47. package/components/MazTableCell.mjs +12 -12
  48. package/components/MazTableRow.mjs +6 -6
  49. package/components/MazTableTitle.mjs +11 -11
  50. package/components/MazTabs.d.ts +3 -3
  51. package/components/MazTabs.mjs +7 -7
  52. package/components/MazTabsBar.mjs +1 -1
  53. package/components/MazTabsContent.mjs +4 -4
  54. package/components/MazTabsContentItem.mjs +8 -8
  55. package/components/MazTextarea.mjs +2 -2
  56. package/components/MazTransitionExpand.mjs +10 -10
  57. package/components/assets/MazAccordion.css +1 -1
  58. package/components/assets/MazAnimatedCounter.css +1 -1
  59. package/components/assets/MazAvatar.css +1 -1
  60. package/components/assets/MazBackdrop.css +1 -1
  61. package/components/assets/MazBadge.css +1 -1
  62. package/components/assets/MazBottomSheet.css +1 -1
  63. package/components/assets/MazBtn.css +1 -1
  64. package/components/assets/MazCard.css +1 -1
  65. package/components/assets/MazCardSpotlight.css +1 -1
  66. package/components/assets/MazCarousel.css +1 -1
  67. package/components/assets/MazCheckbox.css +1 -1
  68. package/components/assets/MazChecklist.css +1 -1
  69. package/components/assets/MazCircularProgressBar.css +1 -1
  70. package/components/assets/MazDialog.css +1 -1
  71. package/components/assets/MazDialogPromise.css +1 -1
  72. package/components/assets/MazDrawer.css +1 -1
  73. package/components/assets/MazExpandAnimation.css +1 -1
  74. package/components/assets/MazFullscreenLoader.css +1 -1
  75. package/components/assets/MazGallery.css +1 -1
  76. package/components/assets/MazInput.css +1 -1
  77. package/components/assets/MazInputCode.css +1 -1
  78. package/components/assets/MazInputNumber.css +1 -1
  79. package/components/assets/MazInputPrice.css +1 -1
  80. package/components/assets/MazInputTags.css +1 -1
  81. package/components/assets/MazLazyImg.css +1 -1
  82. package/components/assets/MazLink.css +1 -1
  83. package/components/assets/MazLoadingBar.css +1 -1
  84. package/components/assets/MazPagination.css +1 -1
  85. package/components/assets/MazPhoneNumberInput.css +1 -1
  86. package/components/assets/MazPicker.css +1 -1
  87. package/components/assets/MazPullToRefresh.css +1 -1
  88. package/components/assets/MazRadio.css +1 -1
  89. package/components/assets/MazRadioButtons.css +1 -1
  90. package/components/assets/MazReadingProgressBar.css +1 -1
  91. package/components/assets/MazSelect.css +1 -1
  92. package/components/assets/MazSlider.css +1 -1
  93. package/components/assets/MazSpinner.css +1 -1
  94. package/components/assets/MazStepper.css +1 -1
  95. package/components/assets/MazTable.css +1 -1
  96. package/components/assets/MazTableCell.css +1 -1
  97. package/components/assets/MazTableRow.css +1 -1
  98. package/components/assets/MazTableTitle.css +1 -1
  99. package/components/assets/MazTabsBar.css +1 -1
  100. package/components/assets/MazTabsContentItem.css +1 -1
  101. package/components/assets/MazTextarea.css +1 -1
  102. package/components/assets/MazTransitionExpand.css +1 -1
  103. package/components/chunks/{MazAvatar-CZzOIbzh.mjs → MazAvatar-CuOWgdVG.mjs} +18 -18
  104. package/components/chunks/{MazBadge-DCzaExPj.mjs → MazBadge-tPgFsG6Y.mjs} +6 -6
  105. package/components/chunks/{MazBottomSheet-DGsGO0zo.mjs → MazBottomSheet-CMqzf-dT.mjs} +15 -15
  106. package/components/chunks/MazBtn-B16x1gSu.mjs +103 -0
  107. package/components/chunks/MazBtn-BLSmc1v4.mjs +103 -0
  108. package/components/chunks/MazBtn-BcrrOaO_.mjs +103 -0
  109. package/components/chunks/MazBtn-Bje1xDu3.mjs +103 -0
  110. package/components/chunks/MazBtn-C5sb0470.mjs +103 -0
  111. package/components/chunks/MazBtn-CPwCJ1l-.mjs +103 -0
  112. package/components/chunks/{MazBtn-BS2kvd1Z.mjs → MazBtn-Cf-LPT5p.mjs} +4 -4
  113. package/components/chunks/MazBtn-DCyFSkZo.mjs +103 -0
  114. package/components/chunks/{MazBtn-oZhhJy09.mjs → MazBtn-DETtZdlj.mjs} +3 -3
  115. package/components/chunks/{MazBtn-B5o15XDU.mjs → MazBtn-DnJzOPh9.mjs} +4 -4
  116. package/components/chunks/{MazBtn-CM-xSnA5.mjs → MazBtn-DsGaq_eB.mjs} +3 -3
  117. package/components/chunks/{MazBtn-4-B-zs6Y.mjs → MazBtn-S7EnZYtZ.mjs} +4 -4
  118. package/components/chunks/MazBtn-iYAY4cer.mjs +103 -0
  119. package/components/chunks/MazBtn-v4i4k53h.mjs +103 -0
  120. package/components/chunks/{MazCard-98OuVlyK.mjs → MazCard-l54W3CUU.mjs} +3 -3
  121. package/components/chunks/{MazCarousel-COTaKhKF.mjs → MazCarousel-C16E1i1T.mjs} +3 -3
  122. package/components/chunks/{MazCheckbox-CbfTOJdy.mjs → MazCheckbox-C1nh-xQt.mjs} +7 -7
  123. package/components/chunks/{MazCheckbox-CCma_qyQ.mjs → MazCheckbox-CEsAHbdi.mjs} +7 -7
  124. package/components/chunks/{MazCheckbox-eOEEACaM.mjs → MazCheckbox-D-7-TdgO.mjs} +3 -3
  125. package/components/chunks/{MazChecklist-Bb_70sf5.mjs → MazChecklist-DSfD55m5.mjs} +125 -125
  126. package/components/chunks/{MazDialog-CVo6Lqqe.mjs → MazDialog-BjQ3ivmv.mjs} +17 -17
  127. package/components/chunks/{MazDialogPromise-CpVRFbno.mjs → MazDialogPromise-Bg3ZOsEI.mjs} +4 -4
  128. package/components/chunks/{MazDrawer-Bas9dy0D.mjs → MazDrawer-BqNLfW4e.mjs} +3 -3
  129. package/components/chunks/{MazDropdown-0r445NfW.mjs → MazDropdown-DNXKdC_3.mjs} +3 -2
  130. package/components/chunks/{MazDropzone-DKFkgqqD.mjs → MazDropzone-n0JE92da.mjs} +2 -2
  131. package/components/chunks/{MazExpandAnimation-Bdf0-L85.mjs → MazExpandAnimation-B04WMwpW.mjs} +8 -8
  132. package/components/chunks/MazFullscreenLoader-XF8wIEcL.mjs +48 -0
  133. package/components/chunks/{MazGallery-r8SBTCgJ.mjs → MazGallery-CzlKPQFX.mjs} +65 -65
  134. package/components/chunks/{MazGallery-xPp1apvO.mjs → MazGallery-DdZ3bFvX.mjs} +5 -5
  135. package/components/chunks/{MazIcon-_hN-Kivn.mjs → MazIcon-Cq1v4J3r.mjs} +9 -8
  136. package/components/chunks/{MazIcon-C-aPrqx2.mjs → MazIcon-DQXhsxp8.mjs} +11 -10
  137. package/{modules/chunks/MazIcon-CQd2Upkc.mjs → components/chunks/MazIcon-DR6-win-.mjs} +12 -11
  138. package/components/chunks/MazIcon-Gv6n6i4M.mjs +4 -0
  139. package/components/chunks/{MazInput-BM4n-byz.mjs → MazInput-BjnuoFvn.mjs} +26 -26
  140. package/components/chunks/{MazInput-BcutbP8N.mjs → MazInput-DB4HtpCQ.mjs} +4 -4
  141. package/components/chunks/{MazInput-C9Qh4Gt3.mjs → MazInput-yBii2AFS.mjs} +19 -19
  142. package/components/chunks/{MazInputNumber-DgjOMiOt.mjs → MazInputNumber-DqnLi9-C.mjs} +37 -37
  143. package/components/chunks/{MazInputPrice-D6fJN9yv.mjs → MazInputPrice-Ca8mL53M.mjs} +4 -4
  144. package/components/chunks/{MazInputTags-DthGSyHQ.mjs → MazInputTags-Bto9dVQq.mjs} +40 -40
  145. package/components/chunks/{MazLazyImg-DQLwaKKz.mjs → MazLazyImg-D9mlGTCs.mjs} +4 -4
  146. package/components/chunks/{MazLazyImg-B-6PQWEi.mjs → MazLazyImg-DnJyLBjr.mjs} +3 -3
  147. package/components/chunks/{MazLink-tud3eDgU.mjs → MazLink-DlUG7E5K.mjs} +3 -3
  148. package/components/chunks/{MazLoadingBar-C2qPjfEQ.mjs → MazLoadingBar-DBt1Ltm5.mjs} +8 -8
  149. package/components/chunks/{MazPagination-BSu0Ifkp.mjs → MazPagination-sxkvTajI.mjs} +49 -49
  150. package/components/chunks/{MazPhoneNumberInput-BAGcArnr.mjs → MazPhoneNumberInput-C3j3JyDI.mjs} +11 -11
  151. package/components/chunks/{MazPicker-BljfUneI.mjs → MazPicker-BUXJof_-.mjs} +9 -9
  152. package/components/chunks/{MazPickerMonthSwitcher-CEVb4BXw.mjs → MazPickerMonthSwitcher-DW2WfonJ.mjs} +1 -1
  153. package/components/chunks/{MazPickerShortcuts-DayGMC9m.mjs → MazPickerShortcuts-fw4-dWSv.mjs} +1 -1
  154. package/components/chunks/{MazPickerYearSwitcher-DC1lFIbp.mjs → MazPickerYearSwitcher-aHvmQBF1.mjs} +1 -1
  155. package/components/chunks/{MazPullToRefresh-CFQX0soS.mjs → MazPullToRefresh-a1rT-zWr.mjs} +3 -3
  156. package/components/chunks/{MazSelect-CH3JdigO.mjs → MazSelect-BwahUlbE.mjs} +49 -49
  157. package/components/chunks/{MazSelect-D3KXcHJS.mjs → MazSelect-CBaOs6va.mjs} +44 -44
  158. package/components/chunks/MazSpinner-BVQYjLWp.mjs +34 -0
  159. package/components/chunks/{MazSpinner-yr9xVdAa.mjs → MazSpinner-BYlkcKf0.mjs} +6 -6
  160. package/components/chunks/MazSpinner-B_THFs0t.mjs +34 -0
  161. package/components/chunks/MazSpinner-Bb1BgWPD.mjs +34 -0
  162. package/components/chunks/MazSpinner-Bb4B4Nz8.mjs +34 -0
  163. package/components/chunks/{MazSpinner-B5JChIrj.mjs → MazSpinner-Bpkl7q5u.mjs} +7 -7
  164. package/components/chunks/MazSpinner-BtDo7ZEC.mjs +34 -0
  165. package/components/chunks/MazSpinner-C-DOH7ou.mjs +34 -0
  166. package/components/chunks/MazSpinner-C1Rr3w9l.mjs +34 -0
  167. package/components/chunks/MazSpinner-C47dmUu7.mjs +34 -0
  168. package/components/chunks/MazSpinner-C7_Q1K-e.mjs +34 -0
  169. package/components/chunks/MazSpinner-CBHbVSef.mjs +34 -0
  170. package/components/chunks/MazSpinner-CCThMV5o.mjs +34 -0
  171. package/components/chunks/MazSpinner-CizL97Q2.mjs +34 -0
  172. package/components/chunks/{MazSpinner-BIPm54-3.mjs → MazSpinner-Cmy2WyWY.mjs} +7 -7
  173. package/components/chunks/MazSpinner-CodOqnm1.mjs +34 -0
  174. package/components/chunks/MazSpinner-Cq0S_tbE.mjs +34 -0
  175. package/components/chunks/{MazSpinner-BBZoDxwq.mjs → MazSpinner-D6PdYOcD.mjs} +7 -7
  176. package/components/chunks/MazSpinner-DV9-beEc.mjs +34 -0
  177. package/components/chunks/MazSpinner-DoFpeVcl.mjs +34 -0
  178. package/components/chunks/MazSpinner-Dx-3_EFZ.mjs +34 -0
  179. package/components/chunks/MazSpinner-PVTrAf5V.mjs +34 -0
  180. package/components/chunks/MazSpinner-PXSS3XT3.mjs +34 -0
  181. package/components/chunks/MazSpinner-XZrAaGeE.mjs +34 -0
  182. package/components/chunks/{MazStepper-B3fuhbye.mjs → MazStepper-DtAqtJjn.mjs} +32 -32
  183. package/components/chunks/{MazTable-BU3Hluiu.mjs → MazTable-Soe-MrTW.mjs} +79 -74
  184. package/components/chunks/{MazTableCell-DKMZAanm.mjs → MazTableCell-DtoO9MOe.mjs} +6 -6
  185. package/components/chunks/MazTableRow-ChFMulaU.mjs +30 -0
  186. package/components/chunks/{MazTableTitle-BSFZ84Ob.mjs → MazTableTitle-D8El-v5p.mjs} +6 -6
  187. package/components/chunks/{MazTabsBar--Xq_cpuz.mjs → MazTabsBar-8wchBiYF.mjs} +20 -20
  188. package/components/chunks/{MazTransitionExpand-Cedz9Ree.mjs → MazTransitionExpand-CRArAQZu.mjs} +10 -10
  189. package/css/main.css +1 -1
  190. package/modules/assets/MazBtn.css +1 -1
  191. package/modules/assets/MazSpinner.css +1 -1
  192. package/modules/assets/index.css +1 -1
  193. package/modules/chunks/MazBtn-D0bVfaLm.cjs +1 -0
  194. package/{components/chunks/MazBtn-BVWOyFm-.mjs → modules/chunks/MazBtn-Z86MClP9.mjs} +4 -4
  195. package/modules/chunks/{MazIcon-yWU14J0C.cjs → MazIcon-BwgJhGLT.cjs} +1 -1
  196. package/{components/chunks/MazIcon-BSUswKRF.mjs → modules/chunks/MazIcon-XtyPgbu6.mjs} +12 -11
  197. package/{components/chunks/MazSpinner-5S6Sn-lq.mjs → modules/chunks/MazSpinner-BfUXTY7m.mjs} +7 -7
  198. package/modules/chunks/MazSpinner-C5Fi9q_G.cjs +1 -0
  199. package/modules/chunks/index-Bq5KVBKA.cjs +124 -0
  200. package/modules/chunks/{index-2pl8TbAm.mjs → index-YwIF5a3Q.mjs} +19 -18
  201. package/modules/index.cjs +1 -1
  202. package/modules/index.mjs +1 -1
  203. package/nuxt/index.json +1 -1
  204. package/package.json +1 -1
  205. package/tailwindcss/tailwind.css +0 -6
  206. package/tailwindcss/variables/utilities.ts +3 -0
  207. package/types/components/MazLink.vue.d.ts +2 -2
  208. package/types/components/MazStepper.vue.d.ts +1 -1
  209. package/types/components/MazTabs.vue.d.ts +3 -3
  210. package/types/modules/composables/useFormValidator/useFormField.d.ts +56 -16
  211. package/types/modules/composables/useFormValidator/utils.d.ts +6 -6
  212. package/types/tailwindcss/variables/utilities.d.ts +3 -0
  213. package/components/chunks/MazBtn-C60T0UDa.mjs +0 -103
  214. package/components/chunks/MazBtn-C6zsmGnw.mjs +0 -103
  215. package/components/chunks/MazBtn-CC9H3U2X.mjs +0 -103
  216. package/components/chunks/MazBtn-D-lSRE8n.mjs +0 -103
  217. package/components/chunks/MazBtn-D1jMqwE1.mjs +0 -103
  218. package/components/chunks/MazBtn-DAXwt847.mjs +0 -103
  219. package/components/chunks/MazBtn-DOWVQgpN.mjs +0 -103
  220. package/components/chunks/MazBtn-DZaVjTvW.mjs +0 -103
  221. package/components/chunks/MazIcon-BoTByt7n.mjs +0 -4
  222. package/components/chunks/MazSpinner-BlbTztM3.mjs +0 -34
  223. package/components/chunks/MazSpinner-Bn4pnCJx.mjs +0 -34
  224. package/components/chunks/MazSpinner-C-ln9ldX.mjs +0 -34
  225. package/components/chunks/MazSpinner-C11EOZZd.mjs +0 -34
  226. package/components/chunks/MazSpinner-C6h03sqc.mjs +0 -34
  227. package/components/chunks/MazSpinner-CCc9ajpj.mjs +0 -34
  228. package/components/chunks/MazSpinner-CgKOIkQQ.mjs +0 -34
  229. package/components/chunks/MazSpinner-Cp_nPioh.mjs +0 -34
  230. package/components/chunks/MazSpinner-CwdlrYSt.mjs +0 -34
  231. package/components/chunks/MazSpinner-DOPjHhPx.mjs +0 -34
  232. package/components/chunks/MazSpinner-DjM6ktPY.mjs +0 -34
  233. package/components/chunks/MazSpinner-DjUU4G1h.mjs +0 -34
  234. package/components/chunks/MazSpinner-DqD51Fb6.mjs +0 -34
  235. package/components/chunks/MazSpinner-Du5o8JC_.mjs +0 -38
  236. package/components/chunks/MazSpinner-QfPXLpa_.mjs +0 -34
  237. package/components/chunks/MazSpinner-XB6tX3Ld.mjs +0 -34
  238. package/components/chunks/MazSpinner-ZFhNCy24.mjs +0 -34
  239. package/components/chunks/MazSpinner-b90e3OQK.mjs +0 -34
  240. package/components/chunks/MazSpinner-f6pBzqbu.mjs +0 -34
  241. package/components/chunks/MazTableRow-CDHpmXfw.mjs +0 -30
  242. package/modules/chunks/MazBtn-BB46O5je.mjs +0 -103
  243. package/modules/chunks/MazBtn-CZT-LQS2.cjs +0 -1
  244. package/modules/chunks/MazSpinner-C2h_t5PV.mjs +0 -34
  245. package/modules/chunks/MazSpinner-D8KHXwFm.cjs +0 -1
  246. package/modules/chunks/index-DwaxfXYQ.cjs +0 -124
@@ -98,7 +98,7 @@ import '../assets/MazDrawer.css';const Y = {
98
98
  "div",
99
99
  G({
100
100
  key: 0,
101
- class: "m-backdrop --present"
101
+ class: "m-backdrop --present m-reset-css"
102
102
  }, e.$attrs, {
103
103
  class: [e.backdropClass, e.variant && `--variant-${e.variant}`, { "--persistent": e.persistent }]
104
104
  }),
@@ -139,7 +139,7 @@ import '../assets/MazDrawer.css';const Y = {
139
139
  for (const [l, f] of r)
140
140
  d[l] = f;
141
141
  return d;
142
- }, _ = /* @__PURE__ */ O(x, [["__scopeId", "data-v-7aa1682e"]]), ee = { class: "m-drawer-header__title" }, te = {
142
+ }, _ = /* @__PURE__ */ O(x, [["__scopeId", "data-v-90448c91"]]), ee = { class: "m-drawer-header__title" }, te = {
143
143
  key: 0,
144
144
  class: "m-drawer-header__close"
145
145
  }, ne = { class: "m-drawer-body" }, oe = /* @__PURE__ */ L({
@@ -153,7 +153,7 @@ import '../assets/MazDrawer.css';const Y = {
153
153
  },
154
154
  emits: ["before-close", "open", "close", "update:model-value"],
155
155
  setup(n) {
156
- const r = n, d = D(() => import("./MazBtn-BS2kvd1Z.mjs")), l = D(() => import("./x-mark-CnZwVvA7.mjs")), f = g(() => r.variant === "left" ? "start" : r.variant === "right" ? "end" : "none"), v = g(() => r.variant === "top" ? "start" : r.variant === "bottom" ? "end" : "none"), c = J(), u = g(() => !!(r.title || c.title));
156
+ const r = n, d = D(() => import("./MazBtn-BcrrOaO_.mjs")), l = D(() => import("./x-mark-CnZwVvA7.mjs")), f = g(() => r.variant === "left" ? "start" : r.variant === "right" ? "end" : "none"), v = g(() => r.variant === "top" ? "start" : r.variant === "bottom" ? "end" : "none"), c = J(), u = g(() => !!(r.title || c.title));
157
157
  return (t, o) => (p(), T(_, {
158
158
  "backdrop-class": ["m-drawer", t.backdropClass],
159
159
  justify: f.value,
@@ -147,6 +147,7 @@ const ge = ["innerHTML"], be = /* @__PURE__ */ Z({
147
147
  key: 0,
148
148
  ref_key: "svgElem",
149
149
  ref: h,
150
+ class: "m-icon m-reset-css",
150
151
  width: "1em",
151
152
  height: "1em"
152
153
  }, {
@@ -185,7 +186,7 @@ const ge = ["innerHTML"], be = /* @__PURE__ */ Z({
185
186
  const n = l, f = s, p = me({
186
187
  componentName: "MazDropdown",
187
188
  providedId: n.id
188
- }), v = F(() => import("./MazBtn-oZhhJy09.mjs")), h = F(() => import("./MazLink-tud3eDgU.mjs")), T = F(() => import("./chevron-down-BkvtON3b.mjs")), u = A(n.open), d = A(), C = M(() => n.size === "xl" ? "maz-text-lg" : n.size === "lg" || n.size === "md" || n.size === "sm" ? "maz-text-base" : n.size === "xs" || n.size === "mini" ? "maz-text-sm" : "maz-text-lg"), y = we((e) => {
189
+ }), v = F(() => import("./MazBtn-DETtZdlj.mjs")), h = F(() => import("./MazLink-DlUG7E5K.mjs")), T = F(() => import("./chevron-down-BkvtON3b.mjs")), u = A(n.open), d = A(), C = M(() => n.size === "xl" ? "maz-text-lg" : n.size === "lg" || n.size === "md" || n.size === "sm" ? "maz-text-base" : n.size === "xs" || n.size === "mini" ? "maz-text-sm" : "maz-text-lg"), y = we((e) => {
189
190
  r(e);
190
191
  }, 200);
191
192
  function L() {
@@ -249,7 +250,7 @@ const ge = ["innerHTML"], be = /* @__PURE__ */ Z({
249
250
  (e) => r(e)
250
251
  ), (e, c) => Q((w(), E("div", {
251
252
  id: m(p),
252
- class: S(["m-dropdown", [n.class, { "--block": e.block }]]),
253
+ class: S(["m-dropdown m-reset-css", [n.class, { "--block": e.block }]]),
253
254
  style: X(e.style)
254
255
  }, [
255
256
  J("div", {
@@ -2,7 +2,7 @@ import { defineAsyncComponent as H, defineComponent as Q, ref as z, computed as
2
2
  import '../assets/MazDropzone.css';function G(n) {
3
3
  return n.default ?? n;
4
4
  }
5
- const K = H(() => import("./MazSpinner-DjM6ktPY.mjs")), P = `<div class="dz-preview dz-file-preview maz-flex-1">
5
+ const K = H(() => import("./MazSpinner-B_THFs0t.mjs")), P = `<div class="dz-preview dz-file-preview maz-flex-1">
6
6
  <div class="dz-image">
7
7
  <div data-dz-thumbnail-bg></div>
8
8
  </div>
@@ -159,7 +159,7 @@ function te(n, t, d, p, e, g) {
159
159
  ref: "ButtonElement",
160
160
  type: "button",
161
161
  name: "maz-dropzone",
162
- class: "maz-dropzone",
162
+ class: "maz-dropzone m-reset-css",
163
163
  style: W([n.dropzoneStyle])
164
164
  },
165
165
  [
@@ -1,5 +1,5 @@
1
- import { defineComponent as l, mergeModels as m, useModel as u, ref as s, onMounted as f, onUnmounted as p, openBlock as v, createElementBlock as c, normalizeClass as _, normalizeStyle as x, createElementVNode as E, mergeProps as h, renderSlot as g } from "vue";
2
- import { _ as M } from "./MazStepper-B3fuhbye.mjs";
1
+ import { defineComponent as l, mergeModels as m, useModel as u, ref as r, onMounted as f, onUnmounted as p, openBlock as v, createElementBlock as c, normalizeClass as _, normalizeStyle as x, createElementVNode as E, mergeProps as h, renderSlot as g } from "vue";
2
+ import { _ as M } from "./MazStepper-DtAqtJjn.mjs";
3
3
  import '../assets/MazExpandAnimation.css';const A = ["aria-hidden"], y = /* @__PURE__ */ l({
4
4
  inheritAttrs: !1,
5
5
  __name: "MazExpandAnimation",
@@ -12,23 +12,23 @@ import '../assets/MazExpandAnimation.css';const A = ["aria-hidden"], y = /* @__P
12
12
  }),
13
13
  emits: ["update:modelValue"],
14
14
  setup(d) {
15
- const a = u(d, "modelValue"), i = s(!a.value), t = s();
15
+ const a = u(d, "modelValue"), i = r(!a.value), t = r();
16
16
  function o() {
17
17
  a.value || (i.value = !0);
18
18
  }
19
- function r() {
19
+ function s() {
20
20
  a.value && (i.value = !1);
21
21
  }
22
22
  return f(() => {
23
23
  var e, n;
24
- (e = t.value) == null || e.addEventListener("transitionstart", o, !1), (n = t.value) == null || n.addEventListener("transitionend", r, !1);
24
+ (e = t.value) == null || e.addEventListener("transitionstart", o, !1), (n = t.value) == null || n.addEventListener("transitionend", s, !1);
25
25
  }), p(() => {
26
26
  var e, n;
27
- (e = t.value) == null || e.removeEventListener("transitionstart", o, !1), (n = t.value) == null || n.removeEventListener("transitionend", r, !1);
27
+ (e = t.value) == null || e.removeEventListener("transitionstart", o, !1), (n = t.value) == null || n.removeEventListener("transitionend", s, !1);
28
28
  }), (e, n) => (v(), c("div", {
29
29
  ref_key: "expandAnimationRef",
30
30
  ref: t,
31
- class: _(["m-expand-animation", { "m-expand-animation--expanded": a.value }]),
31
+ class: _(["m-expand-animation m-reset-css", { "m-expand-animation--expanded": a.value }]),
32
32
  "aria-hidden": !a.value,
33
33
  role: "region",
34
34
  style: x([{ "--expand-animation-duration": e.duration, "--expand-animation-timing-function": e.timingFunction }])
@@ -48,7 +48,7 @@ import '../assets/MazExpandAnimation.css';const A = ["aria-hidden"], y = /* @__P
48
48
  )
49
49
  ], 14, A));
50
50
  }
51
- }), V = /* @__PURE__ */ M(y, [["__scopeId", "data-v-3bfdfbc1"]]);
51
+ }), V = /* @__PURE__ */ M(y, [["__scopeId", "data-v-058a2912"]]);
52
52
  export {
53
53
  V as default
54
54
  };
@@ -0,0 +1,48 @@
1
+ import { defineComponent as l, defineAsyncComponent as c, onMounted as a, onUnmounted as d, openBlock as s, createBlock as m, Teleport as u, createElementVNode as p, mergeProps as i, createVNode as f, unref as _, createElementBlock as z, renderSlot as v, createCommentVNode as k } from "vue";
2
+ import '../assets/MazFullscreenLoader.css';const y = { key: 0 }, C = /* @__PURE__ */ l({
3
+ __name: "MazFullscreenLoader",
4
+ props: {
5
+ color: { default: "primary" },
6
+ size: { default: "3em" },
7
+ teleportSelector: { default: "body" }
8
+ },
9
+ setup(t) {
10
+ const r = c(() => import("./MazSpinner-C7_Q1K-e.mjs"));
11
+ function o() {
12
+ document.documentElement.classList.add("--maz-fullscreen-loader-present");
13
+ }
14
+ function n() {
15
+ document.documentElement.classList.remove("--maz-fullscreen-loader-present");
16
+ }
17
+ return a(() => {
18
+ o();
19
+ }), d(() => {
20
+ n();
21
+ }), (e, E) => (s(), m(u, { to: e.teleportSelector }, [
22
+ p(
23
+ "div",
24
+ i({ class: "m-fullscreen-loader m-reset-css" }, e.$attrs),
25
+ [
26
+ f(_(r), {
27
+ color: e.color,
28
+ size: e.size
29
+ }, null, 8, ["color", "size"]),
30
+ e.$slots.default ? (s(), z("span", y, [
31
+ v(e.$slots, "default", {}, void 0, !0)
32
+ ])) : k("v-if", !0)
33
+ ],
34
+ 16
35
+ /* FULL_PROPS */
36
+ )
37
+ ], 8, ["to"]));
38
+ }
39
+ }), M = (t, r) => {
40
+ const o = t.__vccOpts || t;
41
+ for (const [n, e] of r)
42
+ o[n] = e;
43
+ return o;
44
+ }, S = /* @__PURE__ */ M(C, [["__scopeId", "data-v-7c1470b6"]]);
45
+ export {
46
+ S as M,
47
+ M as _
48
+ };
@@ -1,16 +1,16 @@
1
1
  import '../assets/MazGallery.css';var Ae = Object.defineProperty;
2
2
  var Ie = (o, e, t) => e in o ? Ae(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
3
3
  var g = (o, e, t) => Ie(o, typeof e != "symbol" ? e + "" : e, t);
4
- import { createVNode as z, render as M, defineComponent as re, defineAsyncComponent as N, ref as p, reactive as Ee, computed as C, watch as we, onMounted as Ce, onBeforeUnmount as Le, openBlock as b, createElementBlock as A, withModifiers as O, withKeys as xe, unref as w, createCommentVNode as S, createElementVNode as k, normalizeClass as R, withDirectives as T, vShow as ze, onBeforeMount as ke, normalizeStyle as se, Fragment as ne, renderList as oe, toDisplayString as Pe } from "vue";
5
- import { _ as ie } from "./MazCard-98OuVlyK.mjs";
4
+ import { createVNode as z, render as M, defineComponent as ae, defineAsyncComponent as N, ref as p, reactive as Ee, computed as C, watch as we, onMounted as Ce, onBeforeUnmount as Le, openBlock as b, createElementBlock as A, withModifiers as O, withKeys as xe, unref as w, createCommentVNode as S, createElementVNode as k, normalizeClass as R, withDirectives as T, vShow as ze, onBeforeMount as ke, normalizeStyle as se, Fragment as ne, renderList as oe, toDisplayString as Pe } from "vue";
5
+ import { _ as ie } from "./MazCard-l54W3CUU.mjs";
6
6
  function Oe(o, e) {
7
7
  let t = e == null ? void 0 : e.element;
8
8
  function s() {
9
9
  t && M(null, t);
10
10
  }
11
- const r = { ...e == null ? void 0 : e.props, destroy: s }, l = z(
11
+ const a = { ...e == null ? void 0 : e.props, destroy: s }, l = z(
12
12
  o,
13
- r,
13
+ a,
14
14
  e == null ? void 0 : e.children
15
15
  );
16
16
  return e != null && e.app ? (l.appContext = e.app._context, t ? M(l, t) : typeof document < "u" && (t = document.createElement("div"), M(l, t))) : (t = t ?? document.body, M(l, t)), { vNode: l, destroy: s, el: t };
@@ -21,14 +21,14 @@ function Se(o, e, t) {
21
21
  interval: 100,
22
22
  ...t
23
23
  };
24
- let r = 0;
24
+ let a = 0;
25
25
  function l() {
26
26
  const u = o();
27
- u != null ? s.expectedValue !== void 0 && u !== s.expectedValue ? r < s.maxAttempts ? (r++, setTimeout(l, s.interval)) : console.warn(s.errorMessage || `[maz-ui](checkAvailability) Nothing found after ${s.maxAttempts} attempts for ref ${u}`) : e(u) : r < s.maxAttempts ? (r++, setTimeout(l, s.interval)) : console.warn(s.errorMessage || `[maz-ui](checkAvailability) Nothing found or expected value after ${s.maxAttempts} attempts for ref ${u}`);
27
+ u != null ? s.expectedValue !== void 0 && u !== s.expectedValue ? a < s.maxAttempts ? (a++, setTimeout(l, s.interval)) : console.warn(s.errorMessage || `[maz-ui](checkAvailability) Nothing found after ${s.maxAttempts} attempts for ref ${u}`) : e(u) : a < s.maxAttempts ? (a++, setTimeout(l, s.interval)) : console.warn(s.errorMessage || `[maz-ui](checkAvailability) Nothing found or expected value after ${s.maxAttempts} attempts for ref ${u}`);
28
28
  }
29
29
  l();
30
30
  }
31
- const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["src", "alt"], Me = /* @__PURE__ */ re({
31
+ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["src", "alt"], Me = /* @__PURE__ */ ae({
32
32
  __name: "MazFullscreenImg",
33
33
  props: {
34
34
  src: {},
@@ -46,7 +46,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
46
46
  },
47
47
  emits: ["close", "previous", "next", "before-close"],
48
48
  setup(o, { emit: e }) {
49
- const t = o, s = e, r = N(() => import("./MazSpinner-Cp_nPioh.mjs")), l = N(() => import("./x-mark-CnZwVvA7.mjs")), u = N(() => import("./chevron-left-BqVOLRdC.mjs")), y = p(!1), x = p(!1), L = p(!1), h = p(!1), m = p(!1), c = Ee({
49
+ const t = o, s = e, a = N(() => import("./MazSpinner-Cmy2WyWY.mjs")), l = N(() => import("./x-mark-CnZwVvA7.mjs")), u = N(() => import("./chevron-left-BqVOLRdC.mjs")), y = p(!1), x = p(!1), L = p(!1), h = p(!1), m = p(!1), c = Ee({
50
50
  running: !1,
51
51
  ended: !1
52
52
  }), d = p(t.clickedElement), le = C(() => t.clickedElement.getBoundingClientRect()), H = p(), D = p(t.src), q = p(t.alt), j = p(), v = p(), $ = p(!0), ce = C(() => ({
@@ -55,8 +55,8 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
55
55
  "--absolute": !m.value
56
56
  }));
57
57
  function ue() {
58
- var n, a;
59
- v.value && (H.value = ((n = v.value) == null ? void 0 : n.naturalWidth) > ((a = v.value) == null ? void 0 : a.naturalHeight)), y.value = !0, x.value = !1, L.value = !0;
58
+ var n, r;
59
+ v.value && (H.value = ((n = v.value) == null ? void 0 : n.naturalWidth) > ((r = v.value) == null ? void 0 : r.naturalHeight)), y.value = !0, x.value = !1, L.value = !0;
60
60
  }
61
61
  we(
62
62
  L,
@@ -80,22 +80,22 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
80
80
  function Y() {
81
81
  return [...document.querySelectorAll(".m-fullscreen-img-instance")];
82
82
  }
83
- function he(n, a) {
84
- return a < 0 ? n.length - 1 : a >= n.length ? 0 : a;
83
+ function he(n, r) {
84
+ return r < 0 ? n.length - 1 : r >= n.length ? 0 : r;
85
85
  }
86
- function fe(n, a) {
87
- n.classList.remove(t.openInstanceClass), a.classList.add(t.openInstanceClass);
88
- const i = a.getAttribute("data-src"), f = a.getAttribute("data-alt");
86
+ function fe(n, r) {
87
+ n.classList.remove(t.openInstanceClass), r.classList.add(t.openInstanceClass);
88
+ const i = r.getAttribute("data-src"), f = r.getAttribute("data-alt");
89
89
  q.value = f, D.value = i ?? D.value;
90
90
  }
91
91
  function U(n) {
92
92
  $.value = !0;
93
- const a = document.querySelector(
93
+ const r = document.querySelector(
94
94
  `.m-fullscreen-img-instance.${t.openInstanceClass}`
95
95
  );
96
- if (a) {
97
- const i = Y(), f = i.indexOf(a), I = n === "next" ? f + 1 : f - 1, E = i[he(i, I)];
98
- d.value = E, E && fe(a, E), s(n), y.value = !1, x.value = !0, Se(() => y.value === !0, () => {
96
+ if (r) {
97
+ const i = Y(), f = i.indexOf(r), I = n === "next" ? f + 1 : f - 1, E = i[he(i, I)];
98
+ d.value = E, E && fe(r, E), s(n), y.value = !1, x.value = !0, Se(() => y.value === !0, () => {
99
99
  $.value = !1, m.value ? K() : P();
100
100
  }, {
101
101
  expectedValue: !0,
@@ -118,31 +118,31 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
118
118
  function X(n) {
119
119
  var i;
120
120
  c.running = !0, $.value = !1;
121
- const a = (i = v.value) == null ? void 0 : i.animate(n, {
121
+ const r = (i = v.value) == null ? void 0 : i.animate(n, {
122
122
  duration: t.animation.duration,
123
123
  easing: t.animation.easing
124
124
  });
125
- if (!a) {
125
+ if (!r) {
126
126
  console.error("[maz-ui](vFullscreenImg) animation is not defined"), c.running = !1, c.ended = !0;
127
127
  return;
128
128
  }
129
- return a;
129
+ return r;
130
130
  }
131
131
  function Q(n = t.offset ?? 0) {
132
- const a = d.value.clientWidth || 1, i = d.value.clientHeight || 1, f = window.innerWidth, I = window.innerHeight, E = Math.min(
133
- (f - 2 * n) / a,
132
+ const r = d.value.clientWidth || 1, i = d.value.clientHeight || 1, f = window.innerWidth, I = window.innerHeight, E = Math.min(
133
+ (f - 2 * n) / r,
134
134
  (I - 2 * n) / i
135
- ), W = (f - a * E) / 2, Z = (I - i * E) / 2;
135
+ ), W = (f - r * E) / 2, Z = (I - i * E) / 2;
136
136
  return {
137
137
  centerX: W,
138
138
  centerY: Z,
139
- width: a,
139
+ width: r,
140
140
  height: i,
141
141
  scale: E
142
142
  };
143
143
  }
144
144
  function J({ trigger: n }) {
145
- const { width: a, height: i, scale: f, centerX: I, centerY: E } = Q(), { top: W, left: Z, width: ye, height: be } = le.value, te = [
145
+ const { width: r, height: i, scale: f, centerX: I, centerY: E } = Q(), { top: W, left: Z, width: ye, height: be } = le.value, te = [
146
146
  {
147
147
  top: `${W}px`,
148
148
  left: `${Z}px`,
@@ -153,7 +153,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
153
153
  {
154
154
  top: `${E}px`,
155
155
  left: `${I}px`,
156
- width: `${a * f}px`,
156
+ width: `${r * f}px`,
157
157
  height: `${i * f}px`,
158
158
  opacity: 1
159
159
  }
@@ -163,12 +163,12 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
163
163
  };
164
164
  }
165
165
  function P() {
166
- const { height: n, width: a, scale: i } = Q(), f = H.value ? {
167
- width: `${a * i}px`,
166
+ const { height: n, width: r, scale: i } = Q(), f = H.value ? {
167
+ width: `${r * i}px`,
168
168
  maxHeight: `${n * i}px`
169
169
  } : {
170
170
  height: `${n * i}px`,
171
- maxWidth: `${a * i}px`
171
+ maxWidth: `${r * i}px`
172
172
  };
173
173
  if (!v.value) {
174
174
  console.error("[maz-ui](vFullscreenImg) ImgElement is not defined");
@@ -179,28 +179,28 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
179
179
  function ge() {
180
180
  const { frames: n } = J({
181
181
  trigger: "open"
182
- }), a = X(n);
183
- if (!a) {
182
+ }), r = X(n);
183
+ if (!r) {
184
184
  console.error("[maz-ui](vFullscreenImg) open animation is not defined"), P();
185
185
  return;
186
186
  }
187
- a.onfinish = () => {
187
+ r.onfinish = () => {
188
188
  P(), c.running = !1, c.ended = !0;
189
189
  };
190
190
  }
191
191
  function pe() {
192
192
  const { frames: n } = J({
193
193
  trigger: "close"
194
- }), a = X(n);
194
+ }), r = X(n);
195
195
  function i() {
196
196
  var f, I;
197
197
  s("close"), (f = j.value) == null || f.remove(), (I = t.destroy) == null || I.call(t), c.running = !1, c.ended = !0;
198
198
  }
199
- if (!a) {
199
+ if (!r) {
200
200
  console.error("[maz-ui](vFullscreenImg) close animation is not defined"), i();
201
201
  return;
202
202
  }
203
- a.onfinish = i;
203
+ r.onfinish = i;
204
204
  }
205
205
  function ee() {
206
206
  m.value || P();
@@ -209,11 +209,11 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
209
209
  x.value = !0, document.addEventListener("keydown", G), window.addEventListener("resize", ee), me(), h.value = Y().length > 1;
210
210
  }), Le(() => {
211
211
  document.removeEventListener("keydown", G), window.removeEventListener("resize", ee), de();
212
- }), (n, a) => (b(), A("div", {
212
+ }), (n, r) => (b(), A("div", {
213
213
  ref_key: "FullscreenImgElement",
214
214
  ref: j,
215
215
  role: "button",
216
- class: "m-fullscreen-img",
216
+ class: "m-fullscreen-img m-reset-css",
217
217
  tabindex: "0",
218
218
  onClick: O(B, ["stop"]),
219
219
  onKeypress: xe(O(B, ["prevent"]), ["esc"])
@@ -222,7 +222,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
222
222
  key: 0,
223
223
  type: "button",
224
224
  class: "m-fullscreen-btn --next",
225
- onClick: a[0] || (a[0] = O((i) => U("next"), ["stop"]))
225
+ onClick: r[0] || (r[0] = O((i) => U("next"), ["stop"]))
226
226
  }, [
227
227
  z(w(u), { class: "maz-rotate-180" })
228
228
  ])) : S("v-if", !0),
@@ -230,7 +230,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
230
230
  key: 1,
231
231
  type: "button",
232
232
  class: "m-fullscreen-btn --previous",
233
- onClick: a[1] || (a[1] = O((i) => U("previous"), ["stop"]))
233
+ onClick: r[1] || (r[1] = O((i) => U("previous"), ["stop"]))
234
234
  }, [
235
235
  z(w(u))
236
236
  ])) : S("v-if", !0),
@@ -250,10 +250,10 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
250
250
  tabindex: "0",
251
251
  class: R([ce.value]),
252
252
  onLoad: ue,
253
- onClick: a[2] || (a[2] = O((i) => n.zoom && ve(), ["stop"]))
253
+ onClick: r[2] || (r[2] = O((i) => n.zoom && ve(), ["stop"]))
254
254
  }, null, 42, Be),
255
255
  T(z(
256
- w(r),
256
+ w(a),
257
257
  { class: "m-fullscreen-img-loader" },
258
258
  null,
259
259
  512
@@ -264,7 +264,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
264
264
  ])
265
265
  ], 40, He));
266
266
  }
267
- }), _e = /* @__PURE__ */ ie(Me, [["__scopeId", "data-v-4a73acb2"]]), ae = "m-fullscreen-is-open";
267
+ }), _e = /* @__PURE__ */ ie(Me, [["__scopeId", "data-v-24a18baf"]]), re = "m-fullscreen-is-open";
268
268
  class Fe {
269
269
  constructor() {
270
270
  g(this, "options");
@@ -284,11 +284,11 @@ class Fe {
284
284
  g(this, "renderPreviewListener");
285
285
  }
286
286
  buildOptions(e, t) {
287
- const s = typeof t.value == "object" ? t.value : { src: t.value, alt: void 0 }, r = (s == null ? void 0 : s.src) ?? this.getImgSrc(e), l = (s == null ? void 0 : s.alt) ?? this.getImgAlt(e);
287
+ const s = typeof t.value == "object" ? t.value : { src: t.value, alt: void 0 }, a = (s == null ? void 0 : s.src) ?? this.getImgSrc(e), l = (s == null ? void 0 : s.alt) ?? this.getImgAlt(e);
288
288
  return {
289
289
  ...this.defaultOptions,
290
290
  ...s,
291
- src: r,
291
+ src: a,
292
292
  alt: l
293
293
  };
294
294
  }
@@ -322,10 +322,10 @@ class Fe {
322
322
  e.removeEventListener("mouseenter", this.mouseEnterListener), e.removeEventListener("mouseleave", this.mouseLeaveListener), e.removeEventListener("click", this.renderPreviewListener), e.classList.remove("m-fullscreen-img-instance"), e.style.cursor = "";
323
323
  }
324
324
  renderPreview(e) {
325
- return e.classList.add(ae), Oe(_e, {
325
+ return e.classList.add(re), Oe(_e, {
326
326
  props: {
327
327
  ...this.options,
328
- openInstanceClass: ae,
328
+ openInstanceClass: re,
329
329
  clickedElement: e,
330
330
  clickedElementBounds: e.getBoundingClientRect()
331
331
  },
@@ -426,9 +426,9 @@ class Te {
426
426
  const t = e.querySelectorAll("source");
427
427
  if (t.length > 0)
428
428
  for await (const s of t) {
429
- const r = s.getAttribute("data-lazy-srcset");
430
- if (r)
431
- s.srcset = r;
429
+ const a = s.getAttribute("data-lazy-srcset");
430
+ if (a)
431
+ s.srcset = a;
432
432
  else
433
433
  return this.imageHasError(e);
434
434
  }
@@ -449,9 +449,9 @@ class Te {
449
449
  return;
450
450
  const t = this.options.fallbackSrc ?? this.options.errorPhoto;
451
451
  typeof t == "string" && this.addClass(e, this.options.noPhotoClass);
452
- const s = t ?? await this.loadErrorPhoto(), r = e.querySelectorAll("source");
453
- if (r.length > 0)
454
- for await (const l of r)
452
+ const s = t ?? await this.loadErrorPhoto(), a = e.querySelectorAll("source");
453
+ if (a.length > 0)
454
+ for await (const l of a)
455
455
  l.srcset = s;
456
456
  else
457
457
  this.setImgSrc(e, s);
@@ -476,12 +476,12 @@ class Te {
476
476
  const s = this.getImgElement(e);
477
477
  s.src = t;
478
478
  }
479
- handleIntersectionObserver(e, t, s, r) {
479
+ handleIntersectionObserver(e, t, s, a) {
480
480
  var l, u;
481
- this.observers.push(r);
481
+ this.observers.push(a);
482
482
  for (const y of s)
483
483
  if (y.isIntersecting) {
484
- if ((u = (l = this.options).onIntersecting) == null || u.call(l, y.target), this.options.observerOnce && r.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
484
+ if ((u = (l = this.options).onIntersecting) == null || u.call(l, y.target), this.options.observerOnce && a.unobserve(e), this.options.loadOnce && this.hasImgLoaded)
485
485
  return;
486
486
  this.loadImage(e, t);
487
487
  }
@@ -489,12 +489,12 @@ class Te {
489
489
  createObserver(e, t) {
490
490
  const s = (u, y) => {
491
491
  this.handleIntersectionObserver(e, t, u, y);
492
- }, r = this.options.observerOptions;
493
- new IntersectionObserver(s, r).observe(e);
492
+ }, a = this.options.observerOptions;
493
+ new IntersectionObserver(s, a).observe(e);
494
494
  }
495
495
  async imageHandler(e, t, s) {
496
496
  if (s === "update")
497
- for await (const r of this.observers) r.unobserve(e);
497
+ for await (const a of this.observers) a.unobserve(e);
498
498
  window.IntersectionObserver ? this.createObserver(e, t) : this.loadImage(e, t);
499
499
  }
500
500
  async bindUpdateHandler(e, t, s) {
@@ -532,7 +532,7 @@ const De = {
532
532
  }, Ue = { class: "m-gallery__wrapper maz-flex maz-flex-1" }, We = ["alt"], Ze = {
533
533
  key: 0,
534
534
  class: "m-gallery__remaining-layer maz-flex maz-bg-overlay maz-flex-center"
535
- }, Ve = { class: "maz-text-2xl maz-text-white" }, qe = /* @__PURE__ */ re({
535
+ }, Ve = { class: "maz-text-2xl maz-text-white" }, qe = /* @__PURE__ */ ae({
536
536
  __name: "MazGallery",
537
537
  props: {
538
538
  /**
@@ -586,9 +586,9 @@ const De = {
586
586
  minHeight: typeof d == "number" ? `${d}px` : `${d}`
587
587
  }
588
588
  };
589
- }), r = C(() => e.imagesShownCount <= 5 ? e.imagesShownCount : 5), l = C(() => e.images.length - (e.images.length < r.value ? e.images.length : r.value)), u = C(() => e.images.map(
589
+ }), a = C(() => e.imagesShownCount <= 5 ? e.imagesShownCount : 5), l = C(() => e.images.length - (e.images.length < a.value ? e.images.length : a.value)), u = C(() => e.images.map(
590
590
  (h) => typeof h == "object" ? { ...h, thumbnail: h.thumbnail ?? h.src } : { src: h, thumbnail: h, alt: void 0 }
591
- )), y = C(() => u.value.slice(0, r.value)), x = C(() => u.value.slice(r.value, e.images.length));
591
+ )), y = C(() => u.value.slice(0, a.value)), x = C(() => u.value.slice(a.value, e.images.length));
592
592
  function L(h) {
593
593
  return e.noRemaining ? !1 : (l.value && h + 1) === y.value.length;
594
594
  }
@@ -596,7 +596,7 @@ const De = {
596
596
  "div",
597
597
  {
598
598
  key: 0,
599
- class: R(["m-gallery maz-flex", { "maz-rounded": !o.noRadius }]),
599
+ class: R(["m-gallery m-reset-css", { "maz-rounded": !o.noRadius }]),
600
600
  style: se([s.value, { "--gallery-separator-color": o.separatorColor }])
601
601
  },
602
602
  [
@@ -681,7 +681,7 @@ const De = {
681
681
  /* CLASS, STYLE */
682
682
  )) : S("v-if", !0);
683
683
  }
684
- }), Ke = /* @__PURE__ */ ie(qe, [["__scopeId", "data-v-3b59e0cd"]]);
684
+ }), Ke = /* @__PURE__ */ ie(qe, [["__scopeId", "data-v-a92296a0"]]);
685
685
  export {
686
686
  Ke as default
687
687
  };
@@ -45,7 +45,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
45
45
  },
46
46
  emits: ["close", "previous", "next", "before-close"],
47
47
  setup(o, { emit: e }) {
48
- const t = o, s = e, a = N(() => import("./MazSpinner-DqD51Fb6.mjs")), l = N(() => import("./x-mark-CnZwVvA7.mjs")), u = N(() => import("./chevron-left-BqVOLRdC.mjs")), y = p(!1), x = p(!1), L = p(!1), h = p(!1), m = p(!1), c = Ee({
48
+ const t = o, s = e, a = N(() => import("./MazSpinner-CodOqnm1.mjs")), l = N(() => import("./x-mark-CnZwVvA7.mjs")), u = N(() => import("./chevron-left-BqVOLRdC.mjs")), y = p(!1), x = p(!1), L = p(!1), h = p(!1), m = p(!1), c = Ee({
49
49
  running: !1,
50
50
  ended: !1
51
51
  }), d = p(t.clickedElement), le = C(() => t.clickedElement.getBoundingClientRect()), H = p(), D = p(t.src), q = p(t.alt), j = p(), v = p(), $ = p(!0), ce = C(() => ({
@@ -212,7 +212,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
212
212
  ref_key: "FullscreenImgElement",
213
213
  ref: j,
214
214
  role: "button",
215
- class: "m-fullscreen-img",
215
+ class: "m-fullscreen-img m-reset-css",
216
216
  tabindex: "0",
217
217
  onClick: O(B, ["stop"]),
218
218
  onKeypress: xe(O(B, ["prevent"]), ["esc"])
@@ -268,7 +268,7 @@ const He = ["onKeypress"], $e = { class: "m-fullscreen-img-scroller" }, Be = ["s
268
268
  for (const [s, a] of e)
269
269
  t[s] = a;
270
270
  return t;
271
- }, _e = /* @__PURE__ */ ie(Me, [["__scopeId", "data-v-4a73acb2"]]), re = "m-fullscreen-is-open";
271
+ }, _e = /* @__PURE__ */ ie(Me, [["__scopeId", "data-v-24a18baf"]]), re = "m-fullscreen-is-open";
272
272
  class Fe {
273
273
  constructor() {
274
274
  g(this, "options");
@@ -600,7 +600,7 @@ const De = {
600
600
  "div",
601
601
  {
602
602
  key: 0,
603
- class: R(["m-gallery maz-flex", { "maz-rounded": !o.noRadius }]),
603
+ class: R(["m-gallery m-reset-css", { "maz-rounded": !o.noRadius }]),
604
604
  style: se([s.value, { "--gallery-separator-color": o.separatorColor }])
605
605
  },
606
606
  [
@@ -685,7 +685,7 @@ const De = {
685
685
  /* CLASS, STYLE */
686
686
  )) : S("v-if", !0);
687
687
  }
688
- }), Ye = /* @__PURE__ */ ie(qe, [["__scopeId", "data-v-3b59e0cd"]]);
688
+ }), Ye = /* @__PURE__ */ ie(qe, [["__scopeId", "data-v-a92296a0"]]);
689
689
  export {
690
690
  Ye as M,
691
691
  ie as _
@@ -1,6 +1,6 @@
1
- import { inject as T, defineComponent as x, ref as m, computed as p, onMounted as L, watchEffect as C, openBlock as P, createElementBlock as _, mergeProps as $, createCommentVNode as A, nextTick as q } from "vue";
2
- function H(i, c) {
3
- const o = T(i, c);
1
+ import { inject as T, defineComponent as x, ref as v, computed as p, onMounted as L, watchEffect as C, openBlock as P, createElementBlock as _, mergeProps as $, createCommentVNode as A, nextTick as q } from "vue";
2
+ function H(i, u) {
3
+ const o = T(i, u);
4
4
  if (!o)
5
5
  throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${i.toString()}`);
6
6
  return o;
@@ -25,8 +25,8 @@ const I = ["innerHTML"], V = /* @__PURE__ */ x({
25
25
  }
26
26
  },
27
27
  emits: ["loaded", "unloaded", "error"],
28
- setup(i, { emit: c }) {
29
- const o = i, d = c, a = {}, s = m(), f = m();
28
+ setup(i, { emit: u }) {
29
+ const o = i, d = u, a = {}, s = v(), f = v();
30
30
  function g() {
31
31
  try {
32
32
  return H("mazIconPath");
@@ -34,7 +34,7 @@ const I = ["innerHTML"], V = /* @__PURE__ */ x({
34
34
  return;
35
35
  }
36
36
  }
37
- const v = p(() => o.path ?? g()), S = p(() => o.src ? o.src : v.value ? `${v.value}/${o.name}.svg` : `/${o.name}.svg`);
37
+ const m = p(() => o.path ?? g()), S = p(() => o.src ? o.src : m.value ? `${m.value}/${o.name}.svg` : `/${o.name}.svg`);
38
38
  L(() => {
39
39
  !o.name && !o.src && console.error('[maz-ui](MazIcon) you should provide "name" or "src" as prop');
40
40
  });
@@ -77,8 +77,8 @@ const I = ["innerHTML"], V = /* @__PURE__ */ x({
77
77
  n.open("GET", e, !0), n.addEventListener("load", () => {
78
78
  if (n.status >= 200 && n.status < 400)
79
79
  try {
80
- let u = new DOMParser().parseFromString(n.responseText, "text/xml").querySelectorAll("svg")[0];
81
- u ? (u = o.transformSource(u), r(u)) : t(new Error('Loaded file is not valid SVG"'));
80
+ let c = new DOMParser().parseFromString(n.responseText, "text/xml").querySelectorAll("svg")[0];
81
+ c ? (c = o.transformSource(c), r(c)) : t(new Error('Loaded file is not valid SVG"'));
82
82
  } catch (l) {
83
83
  t(l);
84
84
  }
@@ -91,6 +91,7 @@ const I = ["innerHTML"], V = /* @__PURE__ */ x({
91
91
  key: 0,
92
92
  ref_key: "svgElem",
93
93
  ref: f,
94
+ class: "m-icon m-reset-css",
94
95
  width: "1em",
95
96
  height: "1em"
96
97
  }, {