maz-ui 4.0.0-beta.3 → 4.0.0-beta.5

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 (451) hide show
  1. package/dist/assets/MazCheckbox.BFo5eYS6.css +1 -0
  2. package/dist/assets/MazInputPhoneNumber.C-Nw3080.css +1 -0
  3. package/dist/assets/MazLazyImg.NlPRN3Nk.css +1 -0
  4. package/dist/assets/{MazPopover.Bth9NWia.css → MazPopover.COR-tym7.css} +1 -1
  5. package/dist/assets/{MazSelectCountry.D2Qudf0K.css → MazSelectCountry.9RTcDxtM.css} +1 -1
  6. package/dist/chunks/{MazDatePicker.CT5yJhSN.js → MazDatePicker.Bgd0WwZk.js} +30 -12
  7. package/dist/chunks/{MazDropdown.vue_vue_type_style_index_0_lang.abk1IbMX.js → MazDropdown.vue_vue_type_style_index_0_lang.WRjG5bff.js} +8 -15
  8. package/dist/chunks/{MazInputNumber.vue_vue_type_style_index_0_lang.B6DYpHfi.js → MazInputNumber.vue_vue_type_style_index_0_lang.BUOLoXtV.js} +3 -3
  9. package/dist/chunks/{MazInputPhoneNumber.Uwhn1Q9j.js → MazInputPhoneNumber.B7mxCHgU.js} +3 -3
  10. package/dist/chunks/{MazInputPrice.vue_vue_type_script_setup_true_lang.GMKzSu7R.js → MazInputPrice.vue_vue_type_script_setup_true_lang.CT1Y2-_T.js} +33 -3
  11. package/dist/chunks/{MazPickerCalendar.RS6ZMdDK.js → MazPickerCalendar.BkmubImp.js} +1 -1
  12. package/dist/chunks/{MazPickerCalendarMonth.hQBSVkc9.js → MazPickerCalendarMonth.Df2qar5v.js} +1 -1
  13. package/dist/chunks/{MazPickerCalendarSwitcher.Cp2ux3E4.js → MazPickerCalendarSwitcher.DyrEWPLk.js} +4 -4
  14. package/dist/chunks/{MazPickerContainer.DnfB3Dqg.js → MazPickerContainer.B4fyKYAE.js} +1 -1
  15. package/dist/chunks/{MazPickerHeader.Dlz2yJ1D.js → MazPickerHeader.DoXGZZFX.js} +1 -1
  16. package/dist/chunks/{MazPickerMonthSwitcher.BpfCGGxQ.js → MazPickerMonthSwitcher.CXuVHGVq.js} +1 -2
  17. package/dist/chunks/{MazPickerTime.EuWWNfid.js → MazPickerTime.CueS5GPb.js} +1 -1
  18. package/dist/chunks/{MazPickerYearSwitcher.D4aO09D3.js → MazPickerYearSwitcher.DNdhvfKw.js} +1 -2
  19. package/dist/chunks/{MazSwitch.vue_vue_type_style_index_0_lang.DnCjlD6D.js → MazSwitch.vue_vue_type_style_index_0_lang.DQE0vFhe.js} +1 -1
  20. package/dist/chunks/{MazTable.vue_vue_type_script_setup_true_lang.bm7ng8fK.js → MazTable.vue_vue_type_script_setup_true_lang.By5YbgRn.js} +7 -7
  21. package/dist/chunks/{PhoneInput.CPjyZ8Sq.js → PhoneInput.tDA-TWr5.js} +1 -1
  22. package/dist/chunks/academic-cap.BjcfXmGu.CCSXStjO.js +24 -0
  23. package/dist/chunks/adjustments-horizontal.CT-QeIwW.CRspwA1D.js +24 -0
  24. package/dist/chunks/adjustments-vertical.BHXET8iZ.DXKjofVz.js +24 -0
  25. package/dist/chunks/archive-box-arrow-down.DY2jR2sP.D5q20o-C.js +24 -0
  26. package/dist/chunks/archive-box-x-mark.DP7eLVaB.D9lYjTGp.js +24 -0
  27. package/dist/chunks/archive-box.CVwekUWp.CAar5Lvs.js +24 -0
  28. package/dist/chunks/arrow-down-circle.DL2lvwk5.CGlJ9wP0.js +24 -0
  29. package/dist/chunks/arrow-down-left.C3nEVXaG.DsaJ0TwT.js +24 -0
  30. package/dist/chunks/arrow-down-on-square-stack.BKDRxXkf.DOjZT9_M.js +24 -0
  31. package/dist/chunks/arrow-down-on-square.DAMoXY4b.Brdd_BB2.js +24 -0
  32. package/dist/chunks/arrow-down-right.hs3isRLs.9WxtifNr.js +24 -0
  33. package/dist/chunks/arrow-down-tray.w1Emiyu3.yRzoHE0I.js +24 -0
  34. package/dist/chunks/arrow-down.DEawGjfB.CguAHec6.js +24 -0
  35. package/dist/chunks/arrow-left-circle.BlKwmMyr.BF9vGCFO.js +24 -0
  36. package/dist/chunks/arrow-left-end-on-rectangle.BwEAWEQp.D7I0qUqw.js +24 -0
  37. package/dist/chunks/arrow-left-on-rectangle.DabmkYhe.CmIlQ7wf.js +24 -0
  38. package/dist/chunks/arrow-left-start-on-rectangle.BaoR6nlq.BtEBN2A6.js +24 -0
  39. package/dist/chunks/arrow-left.D_6VKA-e.CmQE04VA.js +24 -0
  40. package/dist/chunks/arrow-long-down.5N2s8Cpw.B9JKDT7M.js +24 -0
  41. package/dist/chunks/arrow-long-left.B7AX0id9.CywMhkhH.js +24 -0
  42. package/dist/chunks/arrow-long-right.CKMPfwrE.D3pLqdNX.js +24 -0
  43. package/dist/chunks/arrow-long-up.CT8DU9jc.CIOIdvGB.js +24 -0
  44. package/dist/chunks/arrow-path-rounded-square.65lulTVg.CQh60_RA.js +24 -0
  45. package/dist/chunks/arrow-path.CJ9Wswu_.BlR1BJ4i.js +24 -0
  46. package/dist/chunks/arrow-right-circle.DDZurzmk.DPzHFj8G.js +24 -0
  47. package/dist/chunks/arrow-right-end-on-rectangle.jNNaV464.DfFRTcEu.js +24 -0
  48. package/dist/chunks/arrow-right-on-rectangle.BQLAkJlS.D4JfF9Ov.js +24 -0
  49. package/dist/chunks/arrow-right-start-on-rectangle.DgFTLubq.3qbrqXCj.js +24 -0
  50. package/dist/chunks/arrow-right.h5GY-bzG.CKBQ5VHM.js +24 -0
  51. package/dist/chunks/arrow-small-down.3SdgC1Fw.vODsecnG.js +24 -0
  52. package/dist/chunks/arrow-small-left.Dbw5rTas.C-bYHDKK.js +24 -0
  53. package/dist/chunks/arrow-small-right.DAmxBfl5.n7vH-w9t.js +24 -0
  54. package/dist/chunks/arrow-small-up.WQQD-lUO.FvbI2uG_.js +24 -0
  55. package/dist/chunks/arrow-top-right-on-square.DJeWWj5d.DWV1wrwq.js +24 -0
  56. package/dist/chunks/arrow-trending-down.CSIGp7a0.DLp5ZExP.js +24 -0
  57. package/dist/chunks/arrow-trending-up.BGar-3Mt.Cx6Pgj8o.js +24 -0
  58. package/dist/chunks/arrow-turn-down-left.C4BtwCb-.C7vbo0bi.js +24 -0
  59. package/dist/chunks/arrow-turn-down-right.Cxu2KBHI.J8piVbUW.js +24 -0
  60. package/dist/chunks/arrow-turn-left-down.BfjbBrut.D-KMuKDz.js +24 -0
  61. package/dist/chunks/arrow-turn-left-up.Bsm0aGLO.WVDAyWpM.js +24 -0
  62. package/dist/chunks/arrow-turn-right-down.DH2Wh74o.dNtSWH1C.js +24 -0
  63. package/dist/chunks/arrow-turn-right-up.ou0Uaevi.Buzu0SB-.js +24 -0
  64. package/dist/chunks/arrow-turn-up-left.Bg5YgZsj.Bkn43xjW.js +24 -0
  65. package/dist/chunks/arrow-turn-up-right.mBRM1THn.BNiuRqzk.js +24 -0
  66. package/dist/chunks/arrow-up-circle.Bzu19hQF.aerjnsXO.js +24 -0
  67. package/dist/chunks/arrow-up-left.IRrqyawV.CYNpIPVM.js +24 -0
  68. package/dist/chunks/arrow-up-on-square-stack.C1q8upHF.BtGNYi9R.js +24 -0
  69. package/dist/chunks/arrow-up-on-square.Zzd3wPoG.DSV_2koo.js +24 -0
  70. package/dist/chunks/arrow-up-right.BbJO1c1E.CgNQXpr2.js +24 -0
  71. package/dist/chunks/arrow-up-tray.BYRIGMnv.DVLg9Kkw.js +24 -0
  72. package/dist/chunks/arrow-up.DlpZOcZ-.Dc_qfm_w.js +24 -0
  73. package/dist/chunks/arrow-uturn-down.R4GNIFWx.1xJeI9TW.js +24 -0
  74. package/dist/chunks/arrow-uturn-left.C1uMohdz.DQroNRfS.js +24 -0
  75. package/dist/chunks/arrow-uturn-right.OoQi1rgb.D4ddYi69.js +24 -0
  76. package/dist/chunks/arrow-uturn-up.CA4h-qqY.CRk_dwWh.js +24 -0
  77. package/dist/chunks/arrows-pointing-in.BxJHq5jK.GkaFX_uo.js +24 -0
  78. package/dist/chunks/arrows-pointing-out.DSyAjelZ.DBsKw4zk.js +24 -0
  79. package/dist/chunks/arrows-right-left.CDFOwlcC.QpbG2nK3.js +24 -0
  80. package/dist/chunks/arrows-up-down.CzfSf__L.DQ5gcMh8.js +24 -0
  81. package/dist/chunks/at-symbol.DaUFyuwg.FAKonxFg.js +24 -0
  82. package/dist/chunks/backspace.Cu9cbNxd.DcCOHSU3.js +24 -0
  83. package/dist/chunks/backward.B68JN4JS.CqwNvpdK.js +24 -0
  84. package/dist/chunks/banknotes.Dz4gb6DH.Bc_vmzxh.js +24 -0
  85. package/dist/chunks/bars-2.C0E0O7Qs.BkkB9qGT.js +24 -0
  86. package/dist/chunks/bars-3-bottom-left.DKFMX51P.C0SPJDh6.js +24 -0
  87. package/dist/chunks/bars-3-bottom-right.Ct1xrw2s.KKvQgup3.js +24 -0
  88. package/dist/chunks/bars-3-center-left.DjUpkdr4.DbP3YQA5.js +24 -0
  89. package/dist/chunks/bars-3.B-K8M_78.Cf4kHUcq.js +24 -0
  90. package/dist/chunks/bars-4.BEt3xG4t.CUkKbYOi.js +24 -0
  91. package/dist/chunks/bars-arrow-down.CfQGLJeK.cH_4-4i2.js +24 -0
  92. package/dist/chunks/bars-arrow-up.CNsLQ8yw.Cwfjtvt4.js +24 -0
  93. package/dist/chunks/battery-0.C_-hFpYX.BSF335Bw.js +24 -0
  94. package/dist/chunks/battery-100.B69VsGq_.6MJf6W8Q.js +24 -0
  95. package/dist/chunks/battery-50.1CCBNwk2.xCj7wvTy.js +24 -0
  96. package/dist/chunks/beaker.DFKLDGeW.21Nm6WlZ.js +24 -0
  97. package/dist/chunks/bell-alert.BbDqk2az.D3ABDQ-w.js +24 -0
  98. package/dist/chunks/bell-slash.C3bKvJAV.n68SmjIt.js +24 -0
  99. package/dist/chunks/bell-snooze.C2COKl8x.Bca4lBpS.js +24 -0
  100. package/dist/chunks/bell.Fm9I5urF.DMLNQRjv.js +24 -0
  101. package/dist/chunks/bold.BDPvVUAR.BvlPriBT.js +23 -0
  102. package/dist/chunks/bolt-slash.DZlEBjB4.CEL1Y-CI.js +24 -0
  103. package/dist/chunks/bolt.B8RYziBX.ydwrTz2s.js +24 -0
  104. package/dist/chunks/book-open.CWUGLre3.DXKaHSLM.js +24 -0
  105. package/dist/chunks/bookmark-slash.Ff--gHir.ClEojQnD.js +24 -0
  106. package/dist/chunks/bookmark-square.CJBzX9qk.kdKOPQ-6.js +24 -0
  107. package/dist/chunks/bookmark.Cb2OSlaK.C3oubrJL.js +24 -0
  108. package/dist/chunks/briefcase.CTgTVSEh.DX78R1hk.js +24 -0
  109. package/dist/chunks/bug-ant.B0vPk3_N.Ct6xqXqe.js +24 -0
  110. package/dist/chunks/building-library.BqdrL-Ec.CA7EOKpn.js +24 -0
  111. package/dist/chunks/building-office-2.C1qF28CI.BTj9K19P.js +24 -0
  112. package/dist/chunks/building-office.BR20ANeD.DcYLUjuP.js +24 -0
  113. package/dist/chunks/building-storefront.D_Lbpsda.BBHRe1sf.js +24 -0
  114. package/dist/chunks/cake.Bvc4oe_S.etQ39ySd.js +24 -0
  115. package/dist/chunks/calculator.TIoQepn_.DCacd6Vr.js +24 -0
  116. package/dist/chunks/calendar-date-range.Dy5vs7S_.D2iryGH7.js +24 -0
  117. package/dist/chunks/calendar-days.oMae6t-4.KdXSppPh.js +24 -0
  118. package/dist/chunks/calendar.DxxJBJoK.CeJ8fSPb.js +24 -0
  119. package/dist/chunks/camera.Cm_7RSqq.B2qog63I.js +31 -0
  120. package/dist/chunks/chart-bar-square.C_56q4ax.D88dnWFr.js +24 -0
  121. package/dist/chunks/chart-bar.CR-2VE6U.BpP0YDjf.js +24 -0
  122. package/dist/chunks/chart-pie.CRPh8b79.DKBryPfA.js +31 -0
  123. package/dist/chunks/chat-bubble-bottom-center-text.ChYHSzWk.Bg8ClnIa.js +24 -0
  124. package/dist/chunks/chat-bubble-bottom-center.BTTqABms.D9d0N1iO.js +24 -0
  125. package/dist/chunks/chat-bubble-left-ellipsis.WSEjQ7jL.CjqH2if2.js +24 -0
  126. package/dist/chunks/chat-bubble-left-right.DqOV8vN_.BKm2s-Hz.js +24 -0
  127. package/dist/chunks/chat-bubble-left.BvdvHHlA.zR-JhdYC.js +24 -0
  128. package/dist/chunks/chat-bubble-oval-left-ellipsis.CpHCuPeS.r5W8LOR8.js +24 -0
  129. package/dist/chunks/chat-bubble-oval-left.CdqaR91h.BW9JRF8r.js +24 -0
  130. package/dist/chunks/check-badge.GjHXGEG0.C_oOCt78.js +24 -0
  131. package/dist/chunks/check-circle.CFcKgPZ4.DfY78EtL.js +24 -0
  132. package/dist/chunks/check.DfYjeOVQ.DXNsuRna.js +24 -0
  133. package/dist/chunks/chevron-double-down.CZMayNS1.CisfSsZ8.js +24 -0
  134. package/dist/chunks/chevron-double-left.De8TBs-I.DAucus_w.js +24 -0
  135. package/dist/chunks/chevron-double-right.XnTrUsod.Cuu5xoTt.js +24 -0
  136. package/dist/chunks/chevron-double-up.F7fkhaor.DRJWwQ9F.js +31 -0
  137. package/dist/chunks/chevron-down.ChGfmxD1.CQ7rtF0T.js +24 -0
  138. package/dist/chunks/chevron-left.CTBM8oHi.Ba3U4jcW.js +24 -0
  139. package/dist/chunks/chevron-right.BXTR7Es5.C6KI-hWC.js +24 -0
  140. package/dist/chunks/chevron-up-down.C7-HMAjy.DKw8M2-I.js +24 -0
  141. package/dist/chunks/chevron-up.cK7QDv75.B2N-Hk-6.js +24 -0
  142. package/dist/chunks/circle-stack.BnyTq7sI.1XtJbY6M.js +24 -0
  143. package/dist/chunks/clipboard-document-check.CJ3xBd7t.Br9n89F9.js +24 -0
  144. package/dist/chunks/clipboard-document-list.CF1likOV.D3KAtz_z.js +24 -0
  145. package/dist/chunks/clipboard-document.CdTKuGSv.ChOrKMSS.js +24 -0
  146. package/dist/chunks/clipboard.CzjWQfRH.Da-cebFK.js +24 -0
  147. package/dist/chunks/clock.NNdb3vyA.D3jUXhQ7.js +24 -0
  148. package/dist/chunks/cloud-arrow-down.CvtCNIxh.D1aF62k3.js +24 -0
  149. package/dist/chunks/cloud-arrow-up.D1JeGPbq.C4jLYHme.js +24 -0
  150. package/dist/chunks/cloud.C9fdU5-X.cydYlCh2.js +24 -0
  151. package/dist/chunks/code-bracket-square.BsQyTz1s.BeZZZPk2.js +24 -0
  152. package/dist/chunks/code-bracket.DJDL79-i.B4G6-VO6.js +24 -0
  153. package/dist/chunks/cog-6-tooth.BbV5JYl1.DeTgzUXG.js +31 -0
  154. package/dist/chunks/cog-8-tooth.BnBTLB6M.D8tH-0GQ.js +31 -0
  155. package/dist/chunks/cog.BXgqaz3X.CF2Pe_yh.js +24 -0
  156. package/dist/chunks/command-line.w_Y9_Kkc.BMaD58fF.js +24 -0
  157. package/dist/chunks/computer-desktop.BpRzP4fc.BWRlZKsP.js +24 -0
  158. package/dist/chunks/cpu-chip.ho-tmFIn.ClPQmB5Q.js +24 -0
  159. package/dist/chunks/credit-card.DkrZZI4D.ChD3ISF_.js +24 -0
  160. package/dist/chunks/cube-transparent.C8Wdi45T.CgHVrtio.js +24 -0
  161. package/dist/chunks/cube.B9UcKOKF.DVXGNDI0.js +24 -0
  162. package/dist/chunks/currency-bangladeshi.DzhT0-h5.BhxC0NCe.js +24 -0
  163. package/dist/chunks/currency-dollar.Bfi6fPEz.DxEvUH91.js +24 -0
  164. package/dist/chunks/currency-euro.Jpiq8P6z.C5ljNb5d.js +24 -0
  165. package/dist/chunks/currency-pound.DrqWKbpM.BxOh3Nry.js +24 -0
  166. package/dist/chunks/currency-rupee.DHxnpaCI.Ynrf76Aj.js +24 -0
  167. package/dist/chunks/currency-yen.DQVa07WN.DdpYfRy5.js +24 -0
  168. package/dist/chunks/cursor-arrow-rays.MVP12F6C.hM5N0ZS3.js +24 -0
  169. package/dist/chunks/cursor-arrow-ripple.xLXix2uM.UbRX2pFw.js +24 -0
  170. package/dist/chunks/device-phone-mobile.B-57CfH5.D6VQ256l.js +24 -0
  171. package/dist/chunks/device-tablet.Bjsa72o7.CH-OVJkh.js +24 -0
  172. package/dist/chunks/divide.CV4gt445.Cv9KyNuJ.js +24 -0
  173. package/dist/chunks/document-arrow-down.B_57Gtno.BlZeqf-M.js +24 -0
  174. package/dist/chunks/document-arrow-up.BF_OVDJs.CbEXCmN0.js +24 -0
  175. package/dist/chunks/document-chart-bar.B46OY9CL.CIBAYVab.js +24 -0
  176. package/dist/chunks/document-check.CvLYBdnm.DluZSYpL.js +24 -0
  177. package/dist/chunks/document-currency-bangladeshi.HbXz9Sub.Cew_CE25.js +24 -0
  178. package/dist/chunks/document-currency-dollar.DPjKxFMa.jXB-YTux.js +24 -0
  179. package/dist/chunks/document-currency-euro.C-L5djvR.C9UJW2-n.js +24 -0
  180. package/dist/chunks/document-currency-pound.BzcYNgGa.CgLXYWAs.js +24 -0
  181. package/dist/chunks/document-currency-rupee.DescAEsg.CzFKJayN.js +24 -0
  182. package/dist/chunks/document-currency-yen.CyrkAYT6.B16hPkmM.js +24 -0
  183. package/dist/chunks/document-duplicate.D7vGJG_8.CIombGpo.js +24 -0
  184. package/dist/chunks/document-magnifying-glass.Burq7Xn2.QtA02zrk.js +24 -0
  185. package/dist/chunks/document-minus.DxGQQWCr.kiSQpPdH.js +24 -0
  186. package/dist/chunks/document-plus.DKk5zAwV.H3B6AI11.js +24 -0
  187. package/dist/chunks/document-text.CSCb2U2T.ZDLRpT-o.js +24 -0
  188. package/dist/chunks/document.CS0Ohrgt.DE8cSIrm.js +24 -0
  189. package/dist/chunks/ellipsis-horizontal-circle.BFOXQi09.CTDaeIGM.js +24 -0
  190. package/dist/chunks/ellipsis-horizontal.DqhpkTUz.CclJBCQG.js +24 -0
  191. package/dist/chunks/ellipsis-vertical.B8W0CqqN.B7I6k_qQ.js +24 -0
  192. package/dist/chunks/{en.BzBlrE0C.js → en.Q_4-KljL.js} +12 -0
  193. package/dist/chunks/envelope-open.BQygUrrv.LFK3EzRF.js +24 -0
  194. package/dist/chunks/envelope.DFplr4Iv.Da66rxN8.js +24 -0
  195. package/dist/chunks/equals.Y4339RW6.CKookNbc.js +24 -0
  196. package/dist/chunks/exclamation-circle.PMllX_sR.BiDbdO8o.js +24 -0
  197. package/dist/chunks/exclamation-triangle.DP_ZdqKK.D-pRZiWC.js +24 -0
  198. package/dist/chunks/eye-dropper.BB7xFmZf.CfuOHkRE.js +24 -0
  199. package/dist/chunks/eye-slash.B-Q7zAl9.Z-QG3_NS.js +24 -0
  200. package/dist/chunks/eye.rnBIUryK.CTGdXztX.js +31 -0
  201. package/dist/chunks/face-frown.BdZUKORe.CTMmkA6s.js +24 -0
  202. package/dist/chunks/face-smile.BgHmgpsD.BD0FSBwY.js +24 -0
  203. package/dist/chunks/film.CvtqcSvO.fo_u8ciz.js +24 -0
  204. package/dist/chunks/finger-print.BalGxdl5.lX4SOFcC.js +24 -0
  205. package/dist/chunks/fire.C2S-dlHW.D_I1XNHh.js +31 -0
  206. package/dist/chunks/flag.BDHI8kIc.9T2ghrYf.js +24 -0
  207. package/dist/chunks/folder-arrow-down.CMe8l5qs.CY2PCaTR.js +24 -0
  208. package/dist/chunks/folder-minus.BIP4kiBI.CVSaimPJ.js +24 -0
  209. package/dist/chunks/folder-open.vCqZvh13.CVTeu5UO.js +24 -0
  210. package/dist/chunks/folder-plus.UKgqnCMI.BvhuTxMF.js +24 -0
  211. package/dist/chunks/folder.VY6d7M0v.BjpXSXu9.js +24 -0
  212. package/dist/chunks/fork.Bx0SP5G0.B7BHLQyz.js +49 -0
  213. package/dist/chunks/forward.CJadSay_.BBS11cS_.js +24 -0
  214. package/dist/chunks/{fullscreen-img.directive.CyOHexcO.js → fullscreen-img.directive.ClMlhEtN.js} +4 -4
  215. package/dist/chunks/funnel.CI1X4xTV.C2sbt1gJ.js +24 -0
  216. package/dist/chunks/gif.3w8BBVap.p3RkEv10.js +24 -0
  217. package/dist/chunks/gift-top.DGrJVe5T.LHgvzIEw.js +24 -0
  218. package/dist/chunks/gift.BdjKoMjg.Bf_lfrxv.js +24 -0
  219. package/dist/chunks/github.DR-YREFz.BKzaMPzV.js +20 -0
  220. package/dist/chunks/globe-alt.Ci-4WkuA.Df2W4RpY.js +24 -0
  221. package/dist/chunks/globe-americas.8k4TjYg9.DwAgObeI.js +24 -0
  222. package/dist/chunks/globe-asia-australia.CJy-S58s.BsXl4X35.js +24 -0
  223. package/dist/chunks/globe-europe-africa.Ch0apA4Z.ChCxgvsh.js +24 -0
  224. package/dist/chunks/h1.B0UxaUz3.B-fMNckN.js +24 -0
  225. package/dist/chunks/h2.CoDly_Rk.xn2P59Pu.js +24 -0
  226. package/dist/chunks/h3.BiPu_1GK.BtUGrtqm.js +24 -0
  227. package/dist/chunks/hand-raised.BibTyl03.Bmxt1b7s.js +24 -0
  228. package/dist/chunks/hand-thumb-down.BJoc9FWD.CTxVd9E4.js +24 -0
  229. package/dist/chunks/hand-thumb-up.BZWQJYwr.Byh64TmW.js +24 -0
  230. package/dist/chunks/hashtag.EamZCy49.-5GV13nB.js +24 -0
  231. package/dist/chunks/heart.DvH7fa-0.DC7zVVeb.js +24 -0
  232. package/dist/chunks/home-modern.L4UFeQLe.Q-aoULM-.js +24 -0
  233. package/dist/chunks/home.QELZheLi.CQ5VBdS-.js +24 -0
  234. package/dist/chunks/identification.CU9KU-bX.CFRzYkwU.js +24 -0
  235. package/dist/chunks/inbox-arrow-down.6HTSO1kx.DaoUuGHv.js +24 -0
  236. package/dist/chunks/inbox-stack.BfdiokBq.mWxjLRtV.js +24 -0
  237. package/dist/chunks/inbox.Biazzhd4.cuiJovdp.js +24 -0
  238. package/dist/chunks/index.CvKh762h.js +352 -0
  239. package/dist/chunks/information-circle.yhJPMoUQ.CkqMaCTJ.js +24 -0
  240. package/dist/chunks/italic.njlz_SwH.B8t1zdyt.js +24 -0
  241. package/dist/chunks/key.C8y1z_Nx.CWRIUYtz.js +24 -0
  242. package/dist/chunks/language.1Xs8PuP5.eK68tCI2.js +24 -0
  243. package/dist/chunks/lifebuoy.uldI5FjH.ttPYeOpt.js +24 -0
  244. package/dist/chunks/light-bulb.BnZMjrix.Nn8bb3uA.js +24 -0
  245. package/dist/chunks/link-slash.DYM_8hTp.DbbqWpYf.js +24 -0
  246. package/dist/chunks/link._zvxE-ZN.DCRS1Nhm.js +24 -0
  247. package/dist/chunks/list-bullet.Ck8i-zl1.DYTtynEe.js +24 -0
  248. package/dist/chunks/lock-closed.Do5wxxfB.BoHZR_Cx.js +24 -0
  249. package/dist/chunks/lock-open.DmUSVzU7.CIioMjR4.js +24 -0
  250. package/dist/chunks/magnifying-glass-circle.BBKKo-36.D6LZubsX.js +24 -0
  251. package/dist/chunks/magnifying-glass-minus.D1YH2gJK.DtYqNUQw.js +24 -0
  252. package/dist/chunks/magnifying-glass-plus.BgJ8lfbV.BBOa_lQz.js +24 -0
  253. package/dist/chunks/magnifying-glass.Bi8efyWn.BLzbV1BL.js +24 -0
  254. package/dist/chunks/map-pin.Bxbb--MZ.ea0oLEJ4.js +31 -0
  255. package/dist/chunks/map.DRcXyo0s.DMK4_gRD.js +24 -0
  256. package/dist/chunks/megaphone.BTvu-vIj.H3XYCMYF.js +24 -0
  257. package/dist/chunks/microphone.BJqDhEd7.BsJEAG9l.js +24 -0
  258. package/dist/chunks/minus-circle.DX_Wo_R6.CfihDX_c.js +24 -0
  259. package/dist/chunks/minus-small.BdK3wxa2.BruhEWWT.js +24 -0
  260. package/dist/chunks/minus.KSG6SL-A.Ci3tO7z7.js +24 -0
  261. package/dist/chunks/moon.BAqSTWOk.y5qE-JgT.js +24 -0
  262. package/dist/chunks/musical-note.Erx2eYZM.CeYcRysR.js +24 -0
  263. package/dist/chunks/newspaper.BxEeFWo5.Caqcj866.js +24 -0
  264. package/dist/chunks/no-image.G9oAqLYN.QYfh20At.js +18 -0
  265. package/dist/chunks/no-symbol.v1ZxT7PS.CLiEtcjA.js +24 -0
  266. package/dist/chunks/numbered-list.D4--Brg5.DPb7JWAD.js +24 -0
  267. package/dist/chunks/paint-brush.9Oq01j7X.BaQOU4-k.js +24 -0
  268. package/dist/chunks/paper-airplane.DKx_Ww6M.Dx_A6-r1.js +24 -0
  269. package/dist/chunks/paper-clip.Cd3ICjAc.Di3lmXzN.js +24 -0
  270. package/dist/chunks/pause-circle.Dyaqta5w.Bf5lVO6T.js +24 -0
  271. package/dist/chunks/pause.Xl-ti251.BrVoKvOq.js +24 -0
  272. package/dist/chunks/pencil-square.83G17jv5.BieHF6-5.js +24 -0
  273. package/dist/chunks/pencil.Bv-2uNMw.B6t0Zv85.js +24 -0
  274. package/dist/chunks/percent-badge.BR-COyYt.D9uZiuV4.js +24 -0
  275. package/dist/chunks/phone-arrow-down-left.bgYNFdYw.DlXuTKyQ.js +24 -0
  276. package/dist/chunks/phone-arrow-up-right.DL8xnmCp.B6ny9DGc.js +24 -0
  277. package/dist/chunks/phone-x-mark.EJ8g8Io4.iD9I0F8O.js +24 -0
  278. package/dist/chunks/phone.C9HcOJV4.DR_ydb9P.js +24 -0
  279. package/dist/chunks/photo.D2i5ltv-.Bx4bun8k.js +24 -0
  280. package/dist/chunks/play-circle.sQgQYbxL.DIVhJ_VT.js +31 -0
  281. package/dist/chunks/play-pause.7fATndsv.BlbQnYtP.js +24 -0
  282. package/dist/chunks/play.DPQ51d76.CXxYnamK.js +24 -0
  283. package/dist/chunks/plus-circle.t0rIMK17.CJuEO_hV.js +24 -0
  284. package/dist/chunks/plus-small.q2_UTnSJ.D00Lo6Gm.js +24 -0
  285. package/dist/chunks/plus.B4eFPhg5.Bjb51_89.js +24 -0
  286. package/dist/chunks/power.DbnsGjcP.ADCLCnp1.js +24 -0
  287. package/dist/chunks/presentation-chart-bar.qOHPrVoA.DzoUJVBk.js +24 -0
  288. package/dist/chunks/presentation-chart-line.kt2UcfXU.ByalT4af.js +24 -0
  289. package/dist/chunks/printer.DgYbu-oZ.oyHdK_Er.js +24 -0
  290. package/dist/chunks/puzzle-piece.DPVPnROW.Dj5Pkwqw.js +24 -0
  291. package/dist/chunks/qr-code.Cz6_gY5W.BRQos2fl.js +31 -0
  292. package/dist/chunks/question-mark-circle.BI3Pj1lM.CUkVvnjz.js +24 -0
  293. package/dist/chunks/queue-list.BTtd9gV_.BZqvXCX1.js +24 -0
  294. package/dist/chunks/radio.NXQa70KZ.DcLeSUt8.js +24 -0
  295. package/dist/chunks/receipt-percent.BEffIYGJ.C5vDjent.js +24 -0
  296. package/dist/chunks/receipt-refund.hLJiXRl-.BvT1RelP.js +24 -0
  297. package/dist/chunks/rectangle-group.DUnjEoiP.9pML-9-S.js +24 -0
  298. package/dist/chunks/rectangle-stack.DxfbSUKM.BS0h3Qu8.js +24 -0
  299. package/dist/chunks/rocket-launch.X-OfcjiP.BRHh-FkZ.js +24 -0
  300. package/dist/chunks/rss.BLvK5jPr.CckNH6AG.js +24 -0
  301. package/dist/chunks/scale.DEEYJ6Zk.CXnrDRjc.js +24 -0
  302. package/dist/chunks/scissors.Bu_6BaOX.CgCRjlsD.js +24 -0
  303. package/dist/chunks/server-stack.DmncQkqn.DlXBXJ68.js +24 -0
  304. package/dist/chunks/server.LyXBRSxY.DiraGD0N.js +24 -0
  305. package/dist/chunks/share.Cf9OjBgL.RQldJRZ9.js +24 -0
  306. package/dist/chunks/shield-check.VQpLzd2v.Bv6XREpP.js +24 -0
  307. package/dist/chunks/shield-exclamation.Be0w3_jk.Czs5h8N1.js +24 -0
  308. package/dist/chunks/shopping-bag.CmqEq0ln.Co-ENH4J.js +24 -0
  309. package/dist/chunks/shopping-cart.sDo0rmyp.Dwxg9WFh.js +24 -0
  310. package/dist/chunks/signal-slash.Cj_p1Nk-.Bos1dz3M.js +24 -0
  311. package/dist/chunks/signal.CDdRnntO.zs66muqE.js +24 -0
  312. package/dist/chunks/slash.DLlsJ67p.BovzBFnY.js +24 -0
  313. package/dist/chunks/sparkles.Cl4CxIOA.CJtVBamV.js +24 -0
  314. package/dist/chunks/speaker-wave.Dhz2ha5o.BKHqvdzL.js +24 -0
  315. package/dist/chunks/speaker-x-mark.D5bJpGdc.B-98J4TH.js +24 -0
  316. package/dist/chunks/square-2-stack.B_K3e5Xo.BpuWW3zQ.js +24 -0
  317. package/dist/chunks/square-3-stack-3d.kEZ7HRU8.u3pEG_dB.js +24 -0
  318. package/dist/chunks/squares-2x2.DbpIJWWH.czohOArw.js +24 -0
  319. package/dist/chunks/squares-plus.DJoqsZG-.C56wwQo6.js +24 -0
  320. package/dist/chunks/star-solid.ith3udUr.fI6COBY6.js +22 -0
  321. package/dist/chunks/star.BOm1sCet.CrlFtkIH.js +24 -0
  322. package/dist/chunks/stop-circle.i8k9ENGo.Bvg3kAtp.js +31 -0
  323. package/dist/chunks/stop.BvbL0z5G.BzZa9cz4.js +24 -0
  324. package/dist/chunks/strikethrough.D9IxMEze.CG0o3e8f.js +24 -0
  325. package/dist/chunks/sun.DtlkYkWH.BY6FsaIr.js +24 -0
  326. package/dist/chunks/swatch.BQEbGG5v.mzOiKL2U.js +24 -0
  327. package/dist/chunks/table-cells.DgYgkJao.D_ev8kjA.js +24 -0
  328. package/dist/chunks/tag.9pi2-WVW.AW6frX03.js +31 -0
  329. package/dist/chunks/ticket.CoeaVN1f.D8B_ZCyj.js +24 -0
  330. package/dist/chunks/trash.CKFg-ylA.BeH6WFxu.js +24 -0
  331. package/dist/chunks/trophy.DqS7is9J.BqpYwRUm.js +24 -0
  332. package/dist/chunks/truck.CiPiMFO5.I1lYcatr.js +24 -0
  333. package/dist/chunks/tv.FRI46IJL.DYLIUXzl.js +24 -0
  334. package/dist/chunks/underline.CTS7x7HZ.BTMyDX0M.js +24 -0
  335. package/dist/chunks/{normalizeString.CFe2M8S_.js → useStringMatching.D5UvsCUS.js} +40 -1
  336. package/dist/chunks/user-circle.jg7OpkHK.BzdqSzzl.js +24 -0
  337. package/dist/chunks/user-group.ZzJJeNOR.DqrCBO8z.js +24 -0
  338. package/dist/chunks/user-minus.CFpE7tJo.Cc-_xIha.js +24 -0
  339. package/dist/chunks/user-plus.56xx_RZF.DeJBUlvA.js +24 -0
  340. package/dist/chunks/user.BHnHyDaq.DDyUV-u5.js +24 -0
  341. package/dist/chunks/users.CcE72INP.DbTawkoy.js +24 -0
  342. package/dist/chunks/{utils.BBuYjMbK.js → utils.D9NiqfdV.js} +63 -6
  343. package/dist/chunks/vClickOutside.C69k0jaG.js +107 -0
  344. package/dist/chunks/variable.D2aSg3jI.B9JN_cwv.js +24 -0
  345. package/dist/chunks/video-camera-slash.BwxNb0cm.SnSS7S5P.js +24 -0
  346. package/dist/chunks/video-camera.CoJgwP4F.BmMWt0vs.js +24 -0
  347. package/dist/chunks/view-columns.LoFVFzBR.CIMGv7mf.js +24 -0
  348. package/dist/chunks/viewfinder-circle.CaQlvTWC.CJVVM5_n.js +24 -0
  349. package/dist/chunks/wallet.CqM_mibw.kwMG5OEh.js +24 -0
  350. package/dist/chunks/wifi.DUdIKgQN.DqZ0nPHO.js +24 -0
  351. package/dist/chunks/window.BeFPU0ZR.Cqieba0K.js +24 -0
  352. package/dist/chunks/wrench-screwdriver.BcMJDiuu.Ces3a6-S.js +24 -0
  353. package/dist/chunks/wrench.DhPW3HZx.CNeKEI4i.js +31 -0
  354. package/dist/chunks/x-circle.Bv0-dC8L.BikPLDPw.js +24 -0
  355. package/dist/chunks/x-mark.umAR9tn5.iu8PJ4nS.js +24 -0
  356. package/dist/components/MazAccordion.js +2 -2
  357. package/dist/components/MazAvatar.js +2 -2
  358. package/dist/components/MazBottomSheet.js +2 -2
  359. package/dist/components/MazCard.js +2 -2
  360. package/dist/components/MazCarousel.js +3 -3
  361. package/dist/components/MazCheckbox.js +4 -4
  362. package/dist/components/MazChecklist.js +4 -5
  363. package/dist/components/MazDatePicker.js +1 -1
  364. package/dist/components/MazDialog.js +2 -2
  365. package/dist/components/MazDrawer.js +2 -2
  366. package/dist/components/MazDropdown.js +1 -1
  367. package/dist/components/MazDropzone.js +5 -5
  368. package/dist/components/MazGallery.js +3 -3
  369. package/dist/components/MazInput.js +3 -3
  370. package/dist/components/MazInputNumber.js +1 -1
  371. package/dist/components/MazInputPhoneNumber.js +1 -1
  372. package/dist/components/MazInputPrice.js +1 -1
  373. package/dist/components/MazInputTags.js +2 -2
  374. package/dist/components/MazLazyImg.js +8 -8
  375. package/dist/components/MazLink.js +2 -2
  376. package/dist/components/MazPagination.js +6 -6
  377. package/dist/components/MazPopover.js +14 -13
  378. package/dist/components/MazPullToRefresh.js +7 -2
  379. package/dist/components/MazRadioButtons.js +2 -2
  380. package/dist/components/MazSelect.js +10 -8
  381. package/dist/components/MazSelectCountry.js +9 -4
  382. package/dist/components/MazStepper.js +2 -2
  383. package/dist/components/MazSwitch.js +1 -1
  384. package/dist/components/MazTable.js +2 -2
  385. package/dist/components/MazTableCell.js +1 -1
  386. package/dist/components/MazTableRow.js +1 -1
  387. package/dist/components/MazTableTitle.js +1 -1
  388. package/dist/components/MazTextarea.js +23 -2
  389. package/dist/components/index.js +6 -6
  390. package/dist/composables/index.js +2 -2
  391. package/dist/composables/useAos.js +1 -1
  392. package/dist/composables/useDialog.js +1 -1
  393. package/dist/composables/useFormField.js +1 -2
  394. package/dist/composables/useFormValidator.js +1 -1
  395. package/dist/composables/useIdleTimeout.js +108 -1
  396. package/dist/composables/useInjectStrict.js +2 -2
  397. package/dist/composables/useStringMatching.js +3 -40
  398. package/dist/composables/useSwipe.js +77 -1
  399. package/dist/composables/useToast.js +1 -1
  400. package/dist/composables/useUserVisibility.js +47 -1
  401. package/dist/composables/useWait.js +1 -1
  402. package/dist/directives/index.js +7 -7
  403. package/dist/directives/vClickOutside.js +4 -102
  404. package/dist/directives/vFullscreenImg.js +1 -1
  405. package/dist/directives/vTooltip.js +1 -1
  406. package/dist/index.js +1 -114
  407. package/dist/plugins/maz-ui.js +3 -64
  408. package/dist/plugins/toast.js +7 -7
  409. package/dist/resolvers/MazComponentsResolver.js +7 -1
  410. package/dist/types/components/MazDatePicker.vue.d.ts +11 -11
  411. package/dist/types/components/MazDialogPromise/useMazDialogPromise.d.ts +7 -7
  412. package/dist/types/components/MazDropdown.vue.d.ts +11 -11
  413. package/dist/types/components/MazInputPhoneNumber/useLibphonenumber.d.ts +2 -2
  414. package/dist/types/components/MazInputPhoneNumber/useMazInputPhoneNumber.d.ts +6 -2
  415. package/dist/types/components/MazInputPhoneNumber.vue.d.ts +28 -13
  416. package/dist/types/components/MazLazyImg.vue.d.ts +8 -8
  417. package/dist/types/components/MazPopover.vue.d.ts +10 -10
  418. package/dist/types/components/MazSelectCountry.vue.d.ts +2 -2
  419. package/dist/types/components/index.d.ts +1 -1
  420. package/dist/types/composables/useInjectStrict.d.ts +1 -1
  421. package/dist/types/directives/vClickOutside.d.ts +11 -18
  422. package/dist/types/directives/vFullscreenImg/fullscreen-img.directive.d.ts +3 -5
  423. package/dist/types/directives/vFullscreenImg.d.ts +9 -4
  424. package/dist/types/directives/vLazyImg/lazy-img.directive.d.ts +3 -5
  425. package/dist/types/directives/vLazyImg.d.ts +11 -6
  426. package/dist/types/directives/vTooltip.d.ts +12 -12
  427. package/dist/types/directives/vZoomImg/zoom-img.directive.d.ts +2 -0
  428. package/dist/types/directives/vZoomImg.d.ts +9 -5
  429. package/dist/types/index.d.ts +1 -1
  430. package/dist/types/plugins/aos.d.ts +30 -4
  431. package/dist/types/plugins/dialog.d.ts +2 -4
  432. package/dist/types/plugins/maz-ui.d.ts +2 -63
  433. package/dist/types/plugins/toast.d.ts +2 -4
  434. package/dist/types/plugins/wait.d.ts +2 -3
  435. package/package.json +7 -8
  436. package/dist/assets/MazCheckbox.C_qIngLy.css +0 -1
  437. package/dist/assets/MazInputPhoneNumber.vpA2mrZn.css +0 -1
  438. package/dist/assets/MazLazyImg.BNaVtpfX.css +0 -1
  439. package/dist/chunks/TextareaAutogrow.C22LQx0k.js +0 -25
  440. package/dist/chunks/debounceCallback.B69vn57Q.js +0 -7
  441. package/dist/chunks/formatCurrency.C8NzW9Ii.js +0 -34
  442. package/dist/chunks/formatDate.DZ_OzdnV.js +0 -21
  443. package/dist/chunks/getCountryFlagUrl.dQjriBXx.js +0 -9
  444. package/dist/chunks/idleTimeout.-ICpdeGV.js +0 -111
  445. package/dist/chunks/isServer.BokzeB-Q.js +0 -6
  446. package/dist/chunks/isStandaloneMode.BpUpOTbA.js +0 -10
  447. package/dist/chunks/pascalCase.D_nuQ66I.js +0 -11
  448. package/dist/chunks/swipeHandler.8emelhOL.js +0 -80
  449. package/dist/chunks/throttleId.7PhWZjcS.js +0 -62
  450. package/dist/chunks/userVisibility.BbQSJASv.js +0 -50
  451. package/dist/types/components/MazInputPhoneNumber/types.d.ts +0 -22
package/dist/index.js CHANGED
@@ -1,114 +1 @@
1
- import { c, p } from "./chunks/pascalCase.D_nuQ66I.js";
2
- import { c as c2 } from "./chunks/capitalize.BF6CDS_4.js";
3
- import { f } from "./chunks/formatCurrency.C8NzW9Ii.js";
4
- import { f as f2 } from "./chunks/formatDate.DZ_OzdnV.js";
5
- import { c as c3 } from "./chunks/checkAvailability.aTpZidex.js";
6
- import { t as truthyFilter } from "./chunks/truthyFilter.C2WOKUCG.js";
7
- import { d } from "./chunks/debounce.Brzkn9pm.js";
8
- import { d as d2 } from "./chunks/debounceCallback.B69vn57Q.js";
9
- import { d as d3, i, t } from "./chunks/throttleId.7PhWZjcS.js";
10
- import { g } from "./chunks/getCountryFlagUrl.dQjriBXx.js";
11
- import { I } from "./chunks/idleTimeout.-ICpdeGV.js";
12
- import { i as i2 } from "./chunks/isClient.WI4oSt66.js";
13
- import { i as i3 } from "./chunks/isServer.BokzeB-Q.js";
14
- import { i as i4 } from "./chunks/isStandaloneMode.BpUpOTbA.js";
15
- import { n } from "./chunks/normalizeString.CFe2M8S_.js";
16
- import { s } from "./chunks/sleep.BLRH1qZG.js";
17
- import { S } from "./chunks/swipeHandler.8emelhOL.js";
18
- import { T } from "./chunks/TextareaAutogrow.C22LQx0k.js";
19
- import { t as t2 } from "./chunks/throttle.DN8ARw0a.js";
20
- import { U } from "./chunks/userVisibility.BbQSJASv.js";
21
- const DEFAULT_OPTIONS = {
22
- minimumFractionDigits: 2
23
- };
24
- function formatNumber(number, locale, options) {
25
- const filterOptions = {
26
- ...DEFAULT_OPTIONS,
27
- ...options
28
- };
29
- if (number === void 0)
30
- throw new TypeError("[maz-ui](FilterNumber) The `number` attribute is required.");
31
- if (locale === void 0)
32
- throw new TypeError("[maz-ui](FilterNumber) The `locale` attribute is required.");
33
- if (typeof locale != "string")
34
- throw new TypeError("[maz-ui](FilterNumber) The `locale` attribute must be a string.");
35
- try {
36
- return new Intl.NumberFormat(locale, filterOptions).format(Number(number));
37
- } catch (error) {
38
- throw new Error(`[maz-ui](FilterNumber) ${error}`);
39
- }
40
- }
41
- function countryCodeToUnicodeFlag(locale) {
42
- return [...locale].map((letter) => {
43
- const code = letter.codePointAt(0);
44
- return code ? code % 32 + 127461 : void 0;
45
- }).filter(truthyFilter).map((n2) => String.fromCodePoint(n2)).join("");
46
- }
47
- class ScriptLoader {
48
- src;
49
- script;
50
- once;
51
- async;
52
- defer;
53
- identifier;
54
- constructor({ src, identifier, once = !0, async = !0, defer = !0 }) {
55
- if (typeof window > "u")
56
- throw new TypeError("[ScriptLoader]: Is supported only on browser side");
57
- if (!src)
58
- throw new Error('[ScriptLoader]: You should provide the attribut "src"');
59
- if (!identifier)
60
- throw new Error('[ScriptLoader]: You should provide the attribut "identifier"');
61
- this.src = src, this.identifier = identifier, this.once = once, this.async = async, this.defer = defer;
62
- }
63
- removeTag(tag) {
64
- typeof tag == "string" ? document.head.querySelector(`[data-identifier="${tag}"]`)?.remove() : tag.remove();
65
- }
66
- load() {
67
- const windowInstance = window, scriptTags = document.head.querySelectorAll(`[data-identifier="${this.identifier}"]`);
68
- if (this.once && windowInstance[this.identifier] && scriptTags.length > 0)
69
- return this.script = windowInstance[this.identifier], Promise.resolve(this.script);
70
- if (!this.once && scriptTags.length > 0)
71
- for (const tag of scriptTags)
72
- this.removeTag(tag);
73
- return this.injectScript();
74
- }
75
- injectScript() {
76
- const windowInstance = window;
77
- return new Promise((resolve, reject) => {
78
- try {
79
- const script = document.createElement("script");
80
- script.src = this.src, script.async = this.async, script.defer = this.defer, script.dataset.identifier = this.identifier, script.addEventListener("error", (error) => reject(new Error(`[ScriptLoader](injectScript) ${error.message}`))), script.addEventListener("load", (success) => (this.script = success, windowInstance[this.identifier] = success, resolve(success))), document.head.append(script);
81
- } catch (error) {
82
- throw new Error(`[ScriptLoader](init) ${error}`);
83
- }
84
- });
85
- }
86
- }
87
- export {
88
- I as IdleTimeout,
89
- ScriptLoader,
90
- S as Swipe,
91
- T as TextareaAutogrow,
92
- U as UserVisibility,
93
- c as camelCase,
94
- c2 as capitalize,
95
- c3 as checkAvailability,
96
- countryCodeToUnicodeFlag,
97
- d as debounce,
98
- d2 as debounceCallback,
99
- d3 as debounceId,
100
- f as formatCurrency,
101
- f2 as formatDate,
102
- formatNumber,
103
- g as getCountryFlagUrl,
104
- i2 as isClient,
105
- i as isEqual,
106
- i3 as isServer,
107
- i4 as isStandaloneMode,
108
- n as normalizeString,
109
- p as pascalCase,
110
- s as sleep,
111
- t2 as throttle,
112
- t as throttleId,
113
- truthyFilter
114
- };
1
+ export * from "@maz-ui/utils";
@@ -260,8 +260,7 @@ function injectThemeCSS(finalPreset, config) {
260
260
  if (typeof document > "u")
261
261
  return;
262
262
  const cssOptions = {
263
- mode: "both",
264
- prefix: config.prefix
263
+ mode: config.colorMode === "auto" ? "both" : config.colorMode
265
264
  };
266
265
  if (config.injectCriticalCSS) {
267
266
  const criticalCSS = generateCriticalCSS(finalPreset, cssOptions);
@@ -284,7 +283,6 @@ const MazUiTheme = {
284
283
  strategy: "runtime",
285
284
  darkModeStrategy: "class",
286
285
  colorMode: "auto",
287
- prefix: "maz",
288
286
  injectCriticalCSS: !0,
289
287
  injectFullCSS: !0,
290
288
  ...options
@@ -311,7 +309,7 @@ const MazUiTheme = {
311
309
  themeState.currentPreset = finalPreset, config.strategy !== "buildtime" && injectThemeCSS(finalPreset, config);
312
310
  }
313
311
  }, defaultLocaleLoaders = {
314
- en: () => import("../chunks/en.BzBlrE0C.js"),
312
+ en: () => import("../chunks/en.Q_4-KljL.js"),
315
313
  fr: () => import("../chunks/fr.BVPG-7Dk.js"),
316
314
  es: () => import("../chunks/es.BV1TlfTw.js"),
317
315
  de: () => import("../chunks/de.B15Maq8Z.js"),
@@ -399,68 +397,9 @@ const MazTranslations = {
399
397
  return app.config.globalProperties.$mazTranslations = i18n, app.provide("mazTranslations", i18n), i18n;
400
398
  }
401
399
  }, MazUi = {
402
- // eslint-disable-next-line complexity, sonarjs/cognitive-complexity
403
- async install(app, options = {}) {
400
+ install(app, options = {}) {
404
401
  const { theme, translations } = options;
405
402
  app.use(MazUiTheme, theme), app.use(MazTranslations, translations);
406
- const pluginPromises = [];
407
- if (options.plugins?.dialog) {
408
- const dialogOptions = typeof options.plugins.dialog == "boolean" ? void 0 : options.plugins.dialog;
409
- pluginPromises.push(
410
- import("./dialog.js").then(({ DialogPlugin }) => {
411
- app.use(DialogPlugin, dialogOptions);
412
- })
413
- );
414
- }
415
- if (options.plugins?.toast) {
416
- const toastOptions = typeof options.plugins.toast == "boolean" ? void 0 : options.plugins.toast;
417
- pluginPromises.push(
418
- import("./toast.js").then(({ ToastPlugin }) => {
419
- app.use(ToastPlugin, toastOptions);
420
- })
421
- );
422
- }
423
- if (options.plugins?.wait && pluginPromises.push(
424
- import("./wait.js").then(({ WaitPlugin }) => {
425
- app.use(WaitPlugin);
426
- })
427
- ), options.plugins?.aos) {
428
- const aosOptions = typeof options.plugins.aos == "boolean" ? void 0 : options.plugins.aos;
429
- pluginPromises.push(
430
- import("./aos.js").then(({ AosPlugin }) => {
431
- app.use(AosPlugin, aosOptions);
432
- })
433
- );
434
- }
435
- if (options.directives?.vTooltip) {
436
- const vTooltipOptions = typeof options.directives.vTooltip == "boolean" ? void 0 : options.directives.vTooltip;
437
- pluginPromises.push(
438
- import("../directives/vTooltip.js").then(({ vTooltipInstall }) => {
439
- app.use(vTooltipInstall, vTooltipOptions);
440
- })
441
- );
442
- }
443
- if (options.directives?.vLazyImg) {
444
- const vLazyImgOptions = typeof options.directives.vLazyImg == "boolean" ? void 0 : options.directives.vLazyImg;
445
- pluginPromises.push(
446
- import("../directives/vLazyImg.js").then(({ vLazyImgInstall }) => {
447
- app.use(vLazyImgInstall, vLazyImgOptions);
448
- })
449
- );
450
- }
451
- options.directives?.vClickOutside && pluginPromises.push(
452
- import("../directives/vClickOutside.js").then(({ vClickOutsideInstall }) => {
453
- app.use(vClickOutsideInstall);
454
- })
455
- ), options.directives?.vFullscreenImg && pluginPromises.push(
456
- import("../directives/vFullscreenImg.js").then(({ vFullscreenImgInstall }) => {
457
- app.use(vFullscreenImgInstall);
458
- })
459
- ), options.directives?.vZoomImg && pluginPromises.push(
460
- import("../directives/vZoomImg.js").then(({ vZoomImgInstall }) => {
461
- app.use(vZoomImgInstall);
462
- })
463
- ), await Promise.all(pluginPromises);
464
403
  }
465
404
  };
466
405
  export {
@@ -1,6 +1,6 @@
1
1
  import { useMountComponent } from "../composables/useMountComponent.js";
2
2
  import { defineComponent, defineAsyncComponent, ref, computed, watch, onMounted, createBlock, openBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, withModifiers, createCommentVNode, createElementBlock, resolveDynamicComponent, toDisplayString, Fragment, renderList, unref, mergeProps, normalizeStyle, createVNode, vShow } from "vue";
3
- import { MazExclamationCircle, MazCheckCircle, MazInformationCircle, MazExclamationTriangle, MazXMark, MazArrowTopRightOnSquare, MazLinkIcon } from "@maz-ui/icons";
3
+ import { u as ur, b as at, t as tn, w as wr, d as si, E, f as mn } from "../chunks/index.CvKh762h.js";
4
4
  import { useTimer } from "../composables/useTimer.js";
5
5
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
6
6
  import '../assets/toast.kunueRvo.css';const _hoisted_1 = ["textContent", "innerHTML"], _hoisted_2 = {
@@ -32,13 +32,13 @@ import '../assets/toast.kunueRvo.css';const _hoisted_1 = ["textContent", "innerH
32
32
  if (__props.icon)
33
33
  switch (__props.type) {
34
34
  case "destructive":
35
- return MazExclamationTriangle;
35
+ return wr;
36
36
  case "info":
37
- return MazInformationCircle;
37
+ return tn;
38
38
  case "success":
39
- return MazCheckCircle;
39
+ return at;
40
40
  case "warning":
41
- return MazExclamationCircle;
41
+ return ur;
42
42
  default:
43
43
  return;
44
44
  }
@@ -116,7 +116,7 @@ import '../assets/toast.kunueRvo.css';const _hoisted_1 = ["textContent", "innerH
116
116
  }
117
117
  function getButtonRightIcon(button) {
118
118
  if (!(!button.to && !button.href))
119
- return button.target === "_blank" ? MazArrowTopRightOnSquare : MazLinkIcon;
119
+ return button.target === "_blank" ? E : mn;
120
120
  }
121
121
  return __expose({
122
122
  /**
@@ -182,7 +182,7 @@ import '../assets/toast.kunueRvo.css';const _hoisted_1 = ["textContent", "innerH
182
182
  class: "m-toast__close",
183
183
  onClick: _cache[5] || (_cache[5] = withModifiers(($event) => click($event), ["stop"]))
184
184
  }, [
185
- createVNode(unref(MazXMark), { class: "m-toast__close-icon" })
185
+ createVNode(unref(si), { class: "m-toast__close-icon" })
186
186
  ])
187
187
  ], 2), [
188
188
  [vShow, isActive.value]
@@ -1,4 +1,10 @@
1
- import { p as pascalCase } from "../chunks/pascalCase.D_nuQ66I.js";
1
+ import { c as capitalize } from "../chunks/capitalize.BF6CDS_4.js";
2
+ function camelCase(str) {
3
+ return str.replaceAll(/-(\w)/g, (_, c) => c ? c.toUpperCase() : "");
4
+ }
5
+ function pascalCase(str) {
6
+ return capitalize(camelCase(str));
7
+ }
2
8
  const a = [
3
9
  "MazAcademicCap",
4
10
  "MazAdjustmentsHorizontal",
@@ -249,11 +249,11 @@ declare function __VLS_template(): {
249
249
  $data: {};
250
250
  $props: {
251
251
  readonly modelValue?: boolean | undefined;
252
- readonly position?: import('./MazPopover.vue').PopoverPosition | undefined;
253
- readonly preferPosition?: import('./MazPopover.vue').PopoverPosition | undefined;
254
- readonly fallbackPosition?: import('./MazPopover.vue').PopoverPosition | undefined;
255
- readonly trigger?: import('./MazPopover.vue').PopoverTrigger | undefined;
256
- readonly role?: import('./MazPopover.vue').PopoverRole | undefined;
252
+ readonly position?: import('./MazPopover.vue').MazPopoverPosition | undefined;
253
+ readonly preferPosition?: import('./MazPopover.vue').MazPopoverPosition | undefined;
254
+ readonly fallbackPosition?: import('./MazPopover.vue').MazPopoverPosition | undefined;
255
+ readonly trigger?: import('./MazPopover.vue').MazPopoverTrigger | undefined;
256
+ readonly role?: import('./MazPopover.vue').MazPopoverRole | undefined;
257
257
  readonly ariaLabel?: string | undefined;
258
258
  readonly announceChanges?: boolean | undefined;
259
259
  readonly disabled?: boolean | undefined;
@@ -407,7 +407,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
407
407
  hideHeader: boolean;
408
408
  inputFormat: Intl.DateTimeFormatOptions;
409
409
  autoClose: boolean;
410
- pickerPosition: import('./MazPopover.vue').PopoverPosition;
410
+ pickerPosition: import('./MazPopover.vue').MazPopoverPosition;
411
411
  onlyTime: boolean;
412
412
  useBrowserLocale: boolean;
413
413
  fetchLocal: boolean;
@@ -417,11 +417,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
417
417
  $data: {};
418
418
  $props: {
419
419
  readonly modelValue?: boolean | undefined;
420
- readonly position?: import('./MazPopover.vue').PopoverPosition | undefined;
421
- readonly preferPosition?: import('./MazPopover.vue').PopoverPosition | undefined;
422
- readonly fallbackPosition?: import('./MazPopover.vue').PopoverPosition | undefined;
423
- readonly trigger?: import('./MazPopover.vue').PopoverTrigger | undefined;
424
- readonly role?: import('./MazPopover.vue').PopoverRole | undefined;
420
+ readonly position?: import('./MazPopover.vue').MazPopoverPosition | undefined;
421
+ readonly preferPosition?: import('./MazPopover.vue').MazPopoverPosition | undefined;
422
+ readonly fallbackPosition?: import('./MazPopover.vue').MazPopoverPosition | undefined;
423
+ readonly trigger?: import('./MazPopover.vue').MazPopoverTrigger | undefined;
424
+ readonly role?: import('./MazPopover.vue').MazPopoverRole | undefined;
425
425
  readonly ariaLabel?: string | undefined;
426
426
  readonly announceChanges?: boolean | undefined;
427
427
  readonly disabled?: boolean | undefined;
@@ -1,21 +1,21 @@
1
1
  import { Ref } from 'vue';
2
2
  import { MazBtnProps } from '../MazBtn.vue';
3
- export interface State {
3
+ export interface MazDialogPromiseState {
4
4
  id: string;
5
5
  isActive: boolean;
6
6
  accept: (value: unknown) => void;
7
7
  reject?: (reason?: unknown) => void;
8
8
  }
9
- export interface ActionButton extends Omit<MazBtnProps, 'type'> {
9
+ export interface MazDialogPromiseButtonAction extends Omit<MazBtnProps, 'type'> {
10
10
  text: string;
11
11
  onClick: () => unknown;
12
12
  }
13
- export interface PromiseButton extends Omit<MazBtnProps, 'type'> {
13
+ export interface MazDialogButtonPromise extends Omit<MazBtnProps, 'type'> {
14
14
  text: string;
15
15
  type: 'accept' | 'reject';
16
16
  response?: unknown;
17
17
  }
18
- export type MazDialogPromiseButton = PromiseButton | ActionButton;
18
+ export type MazDialogPromiseButton = MazDialogButtonPromise | MazDialogPromiseButtonAction;
19
19
  export interface MazDialogPromiseData {
20
20
  /**
21
21
  * Dialog title
@@ -46,9 +46,9 @@ export declare const defaultData: {
46
46
  declare function showDialogAndWaitChoice(identifier: string, callback?: () => unknown): Promise<unknown>;
47
47
  export declare function useMazDialogPromise(): {
48
48
  data: Ref<MazDialogPromiseData, MazDialogPromiseData>;
49
- dialogState: Ref<State[], State[]>;
49
+ dialogState: Ref<MazDialogPromiseState[], MazDialogPromiseState[]>;
50
50
  showDialogAndWaitChoice: typeof showDialogAndWaitChoice;
51
- reject: (currentDialog: State, response?: unknown, onClick?: () => unknown) => Promise<unknown>;
52
- accept: (currentDialog: State, response?: unknown, onClick?: () => unknown) => Promise<unknown>;
51
+ reject: (currentDialog: MazDialogPromiseState, response?: unknown, onClick?: () => unknown) => Promise<unknown>;
52
+ accept: (currentDialog: MazDialogPromiseState, response?: unknown, onClick?: () => unknown) => Promise<unknown>;
53
53
  };
54
54
  export {};
@@ -5,22 +5,22 @@ import { MazLinkProps } from './MazLink.vue';
5
5
  import { MazColor, MazSize } from './types';
6
6
  import { MazPopoverProps } from './MazPopover.vue';
7
7
  type __VLS_Props = MazDropdownProps;
8
- type ItemBase = Record<string, unknown> & {
8
+ type MazDropdownItemBase = Record<string, unknown> & {
9
9
  label: string;
10
10
  class?: unknown;
11
11
  color?: MazColor;
12
12
  };
13
- type LinkItem = ItemBase & MazLinkProps & {
13
+ type MazDropdownLinkItem = MazDropdownItemBase & MazLinkProps & {
14
14
  target?: string;
15
15
  href?: string;
16
16
  to?: RouteLocationRaw;
17
17
  };
18
- type ActionItem = ItemBase & {
18
+ type MazDropdownActionItem = MazDropdownItemBase & {
19
19
  onClick?: () => unknown;
20
20
  };
21
- export type MenuItem = (LinkItem & {
21
+ export type MazDropdownMenuItem = (MazDropdownLinkItem & {
22
22
  action?: never;
23
- }) | (ActionItem & {
23
+ }) | (MazDropdownActionItem & {
24
24
  href?: never;
25
25
  to?: never;
26
26
  target?: never;
@@ -46,7 +46,7 @@ export interface MazDropdownProps extends Omit<MazPopoverProps, 'modelValue'> {
46
46
  /**
47
47
  * Menu items to display in the dropdown
48
48
  * Each item can be either a link (with href/to properties) or an action (with onClick function)
49
- * @type {MenuItem[]}
49
+ * @type {MazDropdownMenuItem[]}
50
50
  * @default []
51
51
  * @example
52
52
  * [
@@ -54,7 +54,7 @@ export interface MazDropdownProps extends Omit<MazPopoverProps, 'modelValue'> {
54
54
  * { label: 'Settings', onClick: () => console.log('Settings clicked') }
55
55
  * ]
56
56
  */
57
- items?: MenuItem[];
57
+ items?: MazDropdownMenuItem[];
58
58
  /**
59
59
  * Unique identifier for the dropdown component
60
60
  * @type {string}
@@ -63,8 +63,8 @@ export interface MazDropdownProps extends Omit<MazPopoverProps, 'modelValue'> {
63
63
  /**
64
64
  * Determines how the dropdown should be triggered
65
65
  * @type {MazPopoverProps['trigger']}
66
- * @values click, hover, manual
67
- * @default 'click'
66
+ * @values click, hover, manual, adaptive
67
+ * @default 'adaptive'
68
68
  */
69
69
  trigger?: MazPopoverProps['trigger'];
70
70
  /**
@@ -172,14 +172,14 @@ declare function __VLS_template(): {
172
172
  open: () => void;
173
173
  }): any;
174
174
  dropdown?(_: {
175
- items: MenuItem[];
175
+ items: MazDropdownMenuItem[];
176
176
  open: () => void;
177
177
  close: () => void;
178
178
  isOpen: true;
179
179
  toggle: () => void;
180
180
  }): any;
181
181
  menuitem?(_: {
182
- item: MenuItem;
182
+ item: MazDropdownMenuItem;
183
183
  open: () => void;
184
184
  close: () => void;
185
185
  isOpen: true;
@@ -1,11 +1,11 @@
1
1
  import { CountryCode, Examples, getCountries, getCountryCallingCode } from 'libphonenumber-js';
2
- import { Results } from './types';
2
+ import { MazInputPhoneNumberData } from '../MazInputPhoneNumber.vue';
3
3
  declare function isCountryAvailable(locale: string): boolean;
4
4
  declare function getPhoneNumberResults({ phoneNumber, countryCode, checkCountryCode, }: {
5
5
  phoneNumber?: string | undefined | null;
6
6
  countryCode?: CountryCode | undefined | null;
7
7
  checkCountryCode?: boolean;
8
- }): Results;
8
+ }): MazInputPhoneNumberData;
9
9
  declare function getPhoneNumberExamplesFile(): Promise<Examples>;
10
10
  declare function getPhoneNumberExample(countryCode?: CountryCode | undefined | null): string | undefined;
11
11
  declare function getAsYouTypeFormat(countryCode?: CountryCode | undefined | null, phoneNumber?: string | undefined | null): string | undefined;
@@ -1,10 +1,14 @@
1
1
  import { CountryCode } from 'libphonenumber-js';
2
- import { Country } from './types';
2
+ export interface CountryOption {
3
+ code: CountryCode;
4
+ dialCode: string;
5
+ name: string;
6
+ }
3
7
  declare function getBrowserLocale(): {
4
8
  locale: string;
5
9
  browserLocale: string;
6
10
  } | undefined;
7
- declare function getCountryList(locale?: string, customCountriesNameListByIsoCode?: Record<CountryCode, string>): Country[] | undefined;
11
+ declare function getCountryList(locale?: string, customCountriesNameListByIsoCode?: Record<CountryCode, string>): CountryOption[] | undefined;
8
12
  declare function fetchCountryCode(): Promise<{
9
13
  data: CountryCode;
10
14
  error: undefined;
@@ -1,9 +1,24 @@
1
1
  import { MazTranslationsNestedSchema } from '@maz-ui/translations/src/types.js';
2
- import { CountryCode } from 'libphonenumber-js';
2
+ import { CountryCallingCode, CountryCode, NationalNumber, NumberType } from 'libphonenumber-js';
3
3
  import { HTMLAttributes } from 'vue';
4
- import { Results } from './MazInputPhoneNumber/types';
5
4
  import { MazPopoverProps } from './MazPopover.vue';
6
5
  import { MazColor, MazSize } from './types';
6
+ export interface MazInputPhoneNumberData {
7
+ isValid: boolean;
8
+ isPossible?: boolean;
9
+ countryCode?: CountryCode | undefined | null;
10
+ parsedCountryCode?: CountryCode | undefined | null;
11
+ countryCallingCode?: CountryCallingCode;
12
+ nationalNumber?: NationalNumber;
13
+ type?: NumberType;
14
+ formatInternational?: string;
15
+ formatNational?: string;
16
+ uri?: string;
17
+ e164?: string;
18
+ rfc3966?: string;
19
+ possibleCountries?: CountryCode[];
20
+ phoneNumber?: string | undefined | null;
21
+ }
7
22
  export interface MazInputPhoneNumberProps {
8
23
  /**
9
24
  * Style attribut of the component root element
@@ -223,9 +238,9 @@ declare const results: import('vue').Ref<{
223
238
  isPossible?: boolean | undefined;
224
239
  countryCode?: CountryCode | null | undefined;
225
240
  parsedCountryCode?: CountryCode | null | undefined;
226
- countryCallingCode?: import('libphonenumber-js').CountryCallingCode | undefined;
227
- nationalNumber?: import('libphonenumber-js').NationalNumber | undefined;
228
- type?: import('libphonenumber-js').NumberType;
241
+ countryCallingCode?: CountryCallingCode | undefined;
242
+ nationalNumber?: NationalNumber | undefined;
243
+ type?: NumberType;
229
244
  formatInternational?: string | undefined;
230
245
  formatNational?: string | undefined;
231
246
  uri?: string | undefined;
@@ -233,14 +248,14 @@ declare const results: import('vue').Ref<{
233
248
  rfc3966?: string | undefined;
234
249
  possibleCountries?: CountryCode[] | undefined;
235
250
  phoneNumber?: string | undefined | null | undefined;
236
- }, Results | {
251
+ }, MazInputPhoneNumberData | {
237
252
  isValid: boolean;
238
253
  isPossible?: boolean | undefined;
239
254
  countryCode?: CountryCode | null | undefined;
240
255
  parsedCountryCode?: CountryCode | null | undefined;
241
- countryCallingCode?: import('libphonenumber-js').CountryCallingCode | undefined;
242
- nationalNumber?: import('libphonenumber-js').NationalNumber | undefined;
243
- type?: import('libphonenumber-js').NumberType;
256
+ countryCallingCode?: CountryCallingCode | undefined;
257
+ nationalNumber?: NationalNumber | undefined;
258
+ type?: NumberType;
244
259
  formatInternational?: string | undefined;
245
260
  formatNational?: string | undefined;
246
261
  uri?: string | undefined;
@@ -264,7 +279,7 @@ declare function __VLS_template(): {
264
279
  }): any;
265
280
  'country-list-flag'?(_: {
266
281
  countryCode: CountryCode;
267
- option: import('./MazInputPhoneNumber/types').Country;
282
+ option: import('./MazInputPhoneNumber/useMazInputPhoneNumber').CountryOption;
268
283
  isSelected: boolean;
269
284
  }): any;
270
285
  };
@@ -316,12 +331,12 @@ declare function __VLS_template(): {
316
331
  };
317
332
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
318
333
  declare const __VLS_component: import('vue').DefineComponent<MazInputPhoneNumberProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
319
- data: (results: Results) => any;
334
+ data: (results: MazInputPhoneNumberData) => any;
320
335
  "update:model-value": (value: string | null | undefined) => any;
321
336
  "country-code": (countryCode?: CountryCode | null | undefined) => any;
322
337
  "update:country-code": (countryCode?: CountryCode | null | undefined) => any;
323
338
  }, string, import('vue').PublicProps, Readonly<MazInputPhoneNumberProps> & Readonly<{
324
- onData?: ((results: Results) => any) | undefined;
339
+ onData?: ((results: MazInputPhoneNumberData) => any) | undefined;
325
340
  "onUpdate:model-value"?: ((value: string | null | undefined) => any) | undefined;
326
341
  "onCountry-code"?: ((countryCode?: CountryCode | null | undefined) => any) | undefined;
327
342
  "onUpdate:country-code"?: ((countryCode?: CountryCode | null | undefined) => any) | undefined;
@@ -333,7 +348,7 @@ declare const __VLS_component: import('vue').DefineComponent<MazInputPhoneNumber
333
348
  orientation: "row" | "col" | "responsive";
334
349
  example: boolean;
335
350
  useBrowserLocale: boolean;
336
- listPosition: import('./MazPopover.vue').PopoverPosition;
351
+ listPosition: import('./MazPopover.vue').MazPopoverPosition;
337
352
  searchThreshold: number;
338
353
  hideFlags: boolean;
339
354
  showCodeInList: boolean;
@@ -47,15 +47,15 @@ declare function __VLS_template(): {
47
47
  };
48
48
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
49
49
  declare const __VLS_component: import('vue').DefineComponent<MazLazyImgProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
50
- error: (el: HTMLElement) => any;
51
- loaded: (el: HTMLElement) => any;
52
- loading: (el: HTMLElement) => any;
53
- intersecting: (el: HTMLElement) => any;
50
+ error: (el: Element) => any;
51
+ loaded: (el: Element) => any;
52
+ loading: (el: Element) => any;
53
+ intersecting: (el: Element) => any;
54
54
  }, string, import('vue').PublicProps, Readonly<MazLazyImgProps> & Readonly<{
55
- onError?: ((el: HTMLElement) => any) | undefined;
56
- onLoaded?: ((el: HTMLElement) => any) | undefined;
57
- onLoading?: ((el: HTMLElement) => any) | undefined;
58
- onIntersecting?: ((el: HTMLElement) => any) | undefined;
55
+ onError?: ((el: Element) => any) | undefined;
56
+ onLoaded?: ((el: Element) => any) | undefined;
57
+ onLoading?: ((el: Element) => any) | undefined;
58
+ onIntersecting?: ((el: Element) => any) | undefined;
59
59
  }>, {
60
60
  src: MazImage | null;
61
61
  style: string | false | import('vue').CSSProperties | import('vue').StyleValue[] | null;
@@ -1,9 +1,9 @@
1
1
  import { HTMLAttributes } from 'vue';
2
2
  import { MazColor } from './types';
3
3
  type __VLS_Props = MazPopoverProps;
4
- export type PopoverPosition = 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
5
- export type PopoverTrigger = 'click' | 'hover' | 'manual';
6
- export type PopoverRole = 'dialog' | 'tooltip' | 'menu';
4
+ export type MazPopoverPosition = 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
5
+ export type MazPopoverTrigger = 'click' | 'hover' | 'manual' | 'adaptive';
6
+ export type MazPopoverRole = 'dialog' | 'tooltip' | 'menu';
7
7
  export interface MazPopoverProps {
8
8
  /**
9
9
  * Controls the popover open state
@@ -18,35 +18,35 @@ export interface MazPopoverProps {
18
18
  * @default auto
19
19
  * @description Position of the popover relative to trigger
20
20
  */
21
- position?: PopoverPosition;
21
+ position?: MazPopoverPosition;
22
22
  /**
23
23
  * Preferred position of the popover relative to trigger when auto position is used
24
24
  * @values auto, top, bottom, left, right, top-start, top-end, bottom-start, bottom-end, left-start, left-end, right-start, right-end
25
25
  * @default 'bottom-start'
26
26
  * @description Preferred position of the popover relative to trigger
27
27
  */
28
- preferPosition?: PopoverPosition;
28
+ preferPosition?: MazPopoverPosition;
29
29
  /**
30
30
  * Fallback position of the popover relative to trigger when prefer position is not visible
31
31
  * @values auto, top, bottom, left, right, top-start, top-end, bottom-start, bottom-end, left-start, left-end, right-start, right-end
32
32
  * @default auto
33
33
  * @description Fallback position of the popover relative to trigger
34
34
  */
35
- fallbackPosition?: PopoverPosition;
35
+ fallbackPosition?: MazPopoverPosition;
36
36
  /**
37
37
  * How the popover is triggered
38
- * @values click, hover, manual
38
+ * @values click, hover, manual, adaptive
39
39
  * @default click
40
- * @description How the popover is triggered
40
+ * @description How the popover is triggered. 'adaptive' uses hover on desktop and click on mobile
41
41
  */
42
- trigger?: PopoverTrigger;
42
+ trigger?: MazPopoverTrigger;
43
43
  /**
44
44
  * ARIA role for accessibility
45
45
  * @values dialog, tooltip
46
46
  * @default dialog
47
47
  * @description ARIA role for accessibility
48
48
  */
49
- role?: PopoverRole;
49
+ role?: MazPopoverRole;
50
50
  /**
51
51
  * ARIA label for the popover
52
52
  * @default undefined
@@ -1,6 +1,6 @@
1
1
  import { MazTranslationsNestedSchema } from '@maz-ui/translations/src/types.js';
2
2
  import { HTMLAttributes } from 'vue';
3
- import { PopoverPosition } from './MazPopover.vue';
3
+ import { MazPopoverPosition } from './MazPopover.vue';
4
4
  import { MazColor, MazSize } from './types';
5
5
  import { CodesType, DisplayNameCode, DisplayNamesOptions } from '../composables/useDisplayNames';
6
6
  import { MazSelectProps } from './MazSelect.vue';
@@ -54,7 +54,7 @@ export interface MazSelectCountryProps<Option extends {
54
54
  * @type {PopoverPosition}
55
55
  * @default bottom-start
56
56
  */
57
- listPosition?: PopoverPosition;
57
+ listPosition?: MazPopoverPosition;
58
58
  /**
59
59
  * Hide flags
60
60
  */