maz-ui 4.0.0-beta.4 → 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 (404) hide show
  1. package/dist/chunks/{MazDatePicker.CT5yJhSN.js → MazDatePicker.Bgd0WwZk.js} +30 -12
  2. package/dist/chunks/{MazDropdown.vue_vue_type_style_index_0_lang.De5b1GG8.js → MazDropdown.vue_vue_type_style_index_0_lang.WRjG5bff.js} +2 -2
  3. 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
  4. 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
  5. package/dist/chunks/{MazPickerCalendar.RS6ZMdDK.js → MazPickerCalendar.BkmubImp.js} +1 -1
  6. package/dist/chunks/{MazPickerCalendarMonth.hQBSVkc9.js → MazPickerCalendarMonth.Df2qar5v.js} +1 -1
  7. package/dist/chunks/{MazPickerCalendarSwitcher.Cp2ux3E4.js → MazPickerCalendarSwitcher.DyrEWPLk.js} +4 -4
  8. package/dist/chunks/{MazPickerContainer.DnfB3Dqg.js → MazPickerContainer.B4fyKYAE.js} +1 -1
  9. package/dist/chunks/{MazPickerHeader.Dlz2yJ1D.js → MazPickerHeader.DoXGZZFX.js} +1 -1
  10. package/dist/chunks/{MazPickerMonthSwitcher.BpfCGGxQ.js → MazPickerMonthSwitcher.CXuVHGVq.js} +1 -2
  11. package/dist/chunks/{MazPickerTime.EuWWNfid.js → MazPickerTime.CueS5GPb.js} +1 -1
  12. package/dist/chunks/{MazPickerYearSwitcher.D4aO09D3.js → MazPickerYearSwitcher.DNdhvfKw.js} +1 -2
  13. 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
  14. package/dist/chunks/academic-cap.BjcfXmGu.CCSXStjO.js +24 -0
  15. package/dist/chunks/adjustments-horizontal.CT-QeIwW.CRspwA1D.js +24 -0
  16. package/dist/chunks/adjustments-vertical.BHXET8iZ.DXKjofVz.js +24 -0
  17. package/dist/chunks/archive-box-arrow-down.DY2jR2sP.D5q20o-C.js +24 -0
  18. package/dist/chunks/archive-box-x-mark.DP7eLVaB.D9lYjTGp.js +24 -0
  19. package/dist/chunks/archive-box.CVwekUWp.CAar5Lvs.js +24 -0
  20. package/dist/chunks/arrow-down-circle.DL2lvwk5.CGlJ9wP0.js +24 -0
  21. package/dist/chunks/arrow-down-left.C3nEVXaG.DsaJ0TwT.js +24 -0
  22. package/dist/chunks/arrow-down-on-square-stack.BKDRxXkf.DOjZT9_M.js +24 -0
  23. package/dist/chunks/arrow-down-on-square.DAMoXY4b.Brdd_BB2.js +24 -0
  24. package/dist/chunks/arrow-down-right.hs3isRLs.9WxtifNr.js +24 -0
  25. package/dist/chunks/arrow-down-tray.w1Emiyu3.yRzoHE0I.js +24 -0
  26. package/dist/chunks/arrow-down.DEawGjfB.CguAHec6.js +24 -0
  27. package/dist/chunks/arrow-left-circle.BlKwmMyr.BF9vGCFO.js +24 -0
  28. package/dist/chunks/arrow-left-end-on-rectangle.BwEAWEQp.D7I0qUqw.js +24 -0
  29. package/dist/chunks/arrow-left-on-rectangle.DabmkYhe.CmIlQ7wf.js +24 -0
  30. package/dist/chunks/arrow-left-start-on-rectangle.BaoR6nlq.BtEBN2A6.js +24 -0
  31. package/dist/chunks/arrow-left.D_6VKA-e.CmQE04VA.js +24 -0
  32. package/dist/chunks/arrow-long-down.5N2s8Cpw.B9JKDT7M.js +24 -0
  33. package/dist/chunks/arrow-long-left.B7AX0id9.CywMhkhH.js +24 -0
  34. package/dist/chunks/arrow-long-right.CKMPfwrE.D3pLqdNX.js +24 -0
  35. package/dist/chunks/arrow-long-up.CT8DU9jc.CIOIdvGB.js +24 -0
  36. package/dist/chunks/arrow-path-rounded-square.65lulTVg.CQh60_RA.js +24 -0
  37. package/dist/chunks/arrow-path.CJ9Wswu_.BlR1BJ4i.js +24 -0
  38. package/dist/chunks/arrow-right-circle.DDZurzmk.DPzHFj8G.js +24 -0
  39. package/dist/chunks/arrow-right-end-on-rectangle.jNNaV464.DfFRTcEu.js +24 -0
  40. package/dist/chunks/arrow-right-on-rectangle.BQLAkJlS.D4JfF9Ov.js +24 -0
  41. package/dist/chunks/arrow-right-start-on-rectangle.DgFTLubq.3qbrqXCj.js +24 -0
  42. package/dist/chunks/arrow-right.h5GY-bzG.CKBQ5VHM.js +24 -0
  43. package/dist/chunks/arrow-small-down.3SdgC1Fw.vODsecnG.js +24 -0
  44. package/dist/chunks/arrow-small-left.Dbw5rTas.C-bYHDKK.js +24 -0
  45. package/dist/chunks/arrow-small-right.DAmxBfl5.n7vH-w9t.js +24 -0
  46. package/dist/chunks/arrow-small-up.WQQD-lUO.FvbI2uG_.js +24 -0
  47. package/dist/chunks/arrow-top-right-on-square.DJeWWj5d.DWV1wrwq.js +24 -0
  48. package/dist/chunks/arrow-trending-down.CSIGp7a0.DLp5ZExP.js +24 -0
  49. package/dist/chunks/arrow-trending-up.BGar-3Mt.Cx6Pgj8o.js +24 -0
  50. package/dist/chunks/arrow-turn-down-left.C4BtwCb-.C7vbo0bi.js +24 -0
  51. package/dist/chunks/arrow-turn-down-right.Cxu2KBHI.J8piVbUW.js +24 -0
  52. package/dist/chunks/arrow-turn-left-down.BfjbBrut.D-KMuKDz.js +24 -0
  53. package/dist/chunks/arrow-turn-left-up.Bsm0aGLO.WVDAyWpM.js +24 -0
  54. package/dist/chunks/arrow-turn-right-down.DH2Wh74o.dNtSWH1C.js +24 -0
  55. package/dist/chunks/arrow-turn-right-up.ou0Uaevi.Buzu0SB-.js +24 -0
  56. package/dist/chunks/arrow-turn-up-left.Bg5YgZsj.Bkn43xjW.js +24 -0
  57. package/dist/chunks/arrow-turn-up-right.mBRM1THn.BNiuRqzk.js +24 -0
  58. package/dist/chunks/arrow-up-circle.Bzu19hQF.aerjnsXO.js +24 -0
  59. package/dist/chunks/arrow-up-left.IRrqyawV.CYNpIPVM.js +24 -0
  60. package/dist/chunks/arrow-up-on-square-stack.C1q8upHF.BtGNYi9R.js +24 -0
  61. package/dist/chunks/arrow-up-on-square.Zzd3wPoG.DSV_2koo.js +24 -0
  62. package/dist/chunks/arrow-up-right.BbJO1c1E.CgNQXpr2.js +24 -0
  63. package/dist/chunks/arrow-up-tray.BYRIGMnv.DVLg9Kkw.js +24 -0
  64. package/dist/chunks/arrow-up.DlpZOcZ-.Dc_qfm_w.js +24 -0
  65. package/dist/chunks/arrow-uturn-down.R4GNIFWx.1xJeI9TW.js +24 -0
  66. package/dist/chunks/arrow-uturn-left.C1uMohdz.DQroNRfS.js +24 -0
  67. package/dist/chunks/arrow-uturn-right.OoQi1rgb.D4ddYi69.js +24 -0
  68. package/dist/chunks/arrow-uturn-up.CA4h-qqY.CRk_dwWh.js +24 -0
  69. package/dist/chunks/arrows-pointing-in.BxJHq5jK.GkaFX_uo.js +24 -0
  70. package/dist/chunks/arrows-pointing-out.DSyAjelZ.DBsKw4zk.js +24 -0
  71. package/dist/chunks/arrows-right-left.CDFOwlcC.QpbG2nK3.js +24 -0
  72. package/dist/chunks/arrows-up-down.CzfSf__L.DQ5gcMh8.js +24 -0
  73. package/dist/chunks/at-symbol.DaUFyuwg.FAKonxFg.js +24 -0
  74. package/dist/chunks/backspace.Cu9cbNxd.DcCOHSU3.js +24 -0
  75. package/dist/chunks/backward.B68JN4JS.CqwNvpdK.js +24 -0
  76. package/dist/chunks/banknotes.Dz4gb6DH.Bc_vmzxh.js +24 -0
  77. package/dist/chunks/bars-2.C0E0O7Qs.BkkB9qGT.js +24 -0
  78. package/dist/chunks/bars-3-bottom-left.DKFMX51P.C0SPJDh6.js +24 -0
  79. package/dist/chunks/bars-3-bottom-right.Ct1xrw2s.KKvQgup3.js +24 -0
  80. package/dist/chunks/bars-3-center-left.DjUpkdr4.DbP3YQA5.js +24 -0
  81. package/dist/chunks/bars-3.B-K8M_78.Cf4kHUcq.js +24 -0
  82. package/dist/chunks/bars-4.BEt3xG4t.CUkKbYOi.js +24 -0
  83. package/dist/chunks/bars-arrow-down.CfQGLJeK.cH_4-4i2.js +24 -0
  84. package/dist/chunks/bars-arrow-up.CNsLQ8yw.Cwfjtvt4.js +24 -0
  85. package/dist/chunks/battery-0.C_-hFpYX.BSF335Bw.js +24 -0
  86. package/dist/chunks/battery-100.B69VsGq_.6MJf6W8Q.js +24 -0
  87. package/dist/chunks/battery-50.1CCBNwk2.xCj7wvTy.js +24 -0
  88. package/dist/chunks/beaker.DFKLDGeW.21Nm6WlZ.js +24 -0
  89. package/dist/chunks/bell-alert.BbDqk2az.D3ABDQ-w.js +24 -0
  90. package/dist/chunks/bell-slash.C3bKvJAV.n68SmjIt.js +24 -0
  91. package/dist/chunks/bell-snooze.C2COKl8x.Bca4lBpS.js +24 -0
  92. package/dist/chunks/bell.Fm9I5urF.DMLNQRjv.js +24 -0
  93. package/dist/chunks/bold.BDPvVUAR.BvlPriBT.js +23 -0
  94. package/dist/chunks/bolt-slash.DZlEBjB4.CEL1Y-CI.js +24 -0
  95. package/dist/chunks/bolt.B8RYziBX.ydwrTz2s.js +24 -0
  96. package/dist/chunks/book-open.CWUGLre3.DXKaHSLM.js +24 -0
  97. package/dist/chunks/bookmark-slash.Ff--gHir.ClEojQnD.js +24 -0
  98. package/dist/chunks/bookmark-square.CJBzX9qk.kdKOPQ-6.js +24 -0
  99. package/dist/chunks/bookmark.Cb2OSlaK.C3oubrJL.js +24 -0
  100. package/dist/chunks/briefcase.CTgTVSEh.DX78R1hk.js +24 -0
  101. package/dist/chunks/bug-ant.B0vPk3_N.Ct6xqXqe.js +24 -0
  102. package/dist/chunks/building-library.BqdrL-Ec.CA7EOKpn.js +24 -0
  103. package/dist/chunks/building-office-2.C1qF28CI.BTj9K19P.js +24 -0
  104. package/dist/chunks/building-office.BR20ANeD.DcYLUjuP.js +24 -0
  105. package/dist/chunks/building-storefront.D_Lbpsda.BBHRe1sf.js +24 -0
  106. package/dist/chunks/cake.Bvc4oe_S.etQ39ySd.js +24 -0
  107. package/dist/chunks/calculator.TIoQepn_.DCacd6Vr.js +24 -0
  108. package/dist/chunks/calendar-date-range.Dy5vs7S_.D2iryGH7.js +24 -0
  109. package/dist/chunks/calendar-days.oMae6t-4.KdXSppPh.js +24 -0
  110. package/dist/chunks/calendar.DxxJBJoK.CeJ8fSPb.js +24 -0
  111. package/dist/chunks/camera.Cm_7RSqq.B2qog63I.js +31 -0
  112. package/dist/chunks/chart-bar-square.C_56q4ax.D88dnWFr.js +24 -0
  113. package/dist/chunks/chart-bar.CR-2VE6U.BpP0YDjf.js +24 -0
  114. package/dist/chunks/chart-pie.CRPh8b79.DKBryPfA.js +31 -0
  115. package/dist/chunks/chat-bubble-bottom-center-text.ChYHSzWk.Bg8ClnIa.js +24 -0
  116. package/dist/chunks/chat-bubble-bottom-center.BTTqABms.D9d0N1iO.js +24 -0
  117. package/dist/chunks/chat-bubble-left-ellipsis.WSEjQ7jL.CjqH2if2.js +24 -0
  118. package/dist/chunks/chat-bubble-left-right.DqOV8vN_.BKm2s-Hz.js +24 -0
  119. package/dist/chunks/chat-bubble-left.BvdvHHlA.zR-JhdYC.js +24 -0
  120. package/dist/chunks/chat-bubble-oval-left-ellipsis.CpHCuPeS.r5W8LOR8.js +24 -0
  121. package/dist/chunks/chat-bubble-oval-left.CdqaR91h.BW9JRF8r.js +24 -0
  122. package/dist/chunks/check-badge.GjHXGEG0.C_oOCt78.js +24 -0
  123. package/dist/chunks/check-circle.CFcKgPZ4.DfY78EtL.js +24 -0
  124. package/dist/chunks/check.DfYjeOVQ.DXNsuRna.js +24 -0
  125. package/dist/chunks/chevron-double-down.CZMayNS1.CisfSsZ8.js +24 -0
  126. package/dist/chunks/chevron-double-left.De8TBs-I.DAucus_w.js +24 -0
  127. package/dist/chunks/chevron-double-right.XnTrUsod.Cuu5xoTt.js +24 -0
  128. package/dist/chunks/chevron-double-up.F7fkhaor.DRJWwQ9F.js +31 -0
  129. package/dist/chunks/chevron-down.ChGfmxD1.CQ7rtF0T.js +24 -0
  130. package/dist/chunks/chevron-left.CTBM8oHi.Ba3U4jcW.js +24 -0
  131. package/dist/chunks/chevron-right.BXTR7Es5.C6KI-hWC.js +24 -0
  132. package/dist/chunks/chevron-up-down.C7-HMAjy.DKw8M2-I.js +24 -0
  133. package/dist/chunks/chevron-up.cK7QDv75.B2N-Hk-6.js +24 -0
  134. package/dist/chunks/circle-stack.BnyTq7sI.1XtJbY6M.js +24 -0
  135. package/dist/chunks/clipboard-document-check.CJ3xBd7t.Br9n89F9.js +24 -0
  136. package/dist/chunks/clipboard-document-list.CF1likOV.D3KAtz_z.js +24 -0
  137. package/dist/chunks/clipboard-document.CdTKuGSv.ChOrKMSS.js +24 -0
  138. package/dist/chunks/clipboard.CzjWQfRH.Da-cebFK.js +24 -0
  139. package/dist/chunks/clock.NNdb3vyA.D3jUXhQ7.js +24 -0
  140. package/dist/chunks/cloud-arrow-down.CvtCNIxh.D1aF62k3.js +24 -0
  141. package/dist/chunks/cloud-arrow-up.D1JeGPbq.C4jLYHme.js +24 -0
  142. package/dist/chunks/cloud.C9fdU5-X.cydYlCh2.js +24 -0
  143. package/dist/chunks/code-bracket-square.BsQyTz1s.BeZZZPk2.js +24 -0
  144. package/dist/chunks/code-bracket.DJDL79-i.B4G6-VO6.js +24 -0
  145. package/dist/chunks/cog-6-tooth.BbV5JYl1.DeTgzUXG.js +31 -0
  146. package/dist/chunks/cog-8-tooth.BnBTLB6M.D8tH-0GQ.js +31 -0
  147. package/dist/chunks/cog.BXgqaz3X.CF2Pe_yh.js +24 -0
  148. package/dist/chunks/command-line.w_Y9_Kkc.BMaD58fF.js +24 -0
  149. package/dist/chunks/computer-desktop.BpRzP4fc.BWRlZKsP.js +24 -0
  150. package/dist/chunks/cpu-chip.ho-tmFIn.ClPQmB5Q.js +24 -0
  151. package/dist/chunks/credit-card.DkrZZI4D.ChD3ISF_.js +24 -0
  152. package/dist/chunks/cube-transparent.C8Wdi45T.CgHVrtio.js +24 -0
  153. package/dist/chunks/cube.B9UcKOKF.DVXGNDI0.js +24 -0
  154. package/dist/chunks/currency-bangladeshi.DzhT0-h5.BhxC0NCe.js +24 -0
  155. package/dist/chunks/currency-dollar.Bfi6fPEz.DxEvUH91.js +24 -0
  156. package/dist/chunks/currency-euro.Jpiq8P6z.C5ljNb5d.js +24 -0
  157. package/dist/chunks/currency-pound.DrqWKbpM.BxOh3Nry.js +24 -0
  158. package/dist/chunks/currency-rupee.DHxnpaCI.Ynrf76Aj.js +24 -0
  159. package/dist/chunks/currency-yen.DQVa07WN.DdpYfRy5.js +24 -0
  160. package/dist/chunks/cursor-arrow-rays.MVP12F6C.hM5N0ZS3.js +24 -0
  161. package/dist/chunks/cursor-arrow-ripple.xLXix2uM.UbRX2pFw.js +24 -0
  162. package/dist/chunks/device-phone-mobile.B-57CfH5.D6VQ256l.js +24 -0
  163. package/dist/chunks/device-tablet.Bjsa72o7.CH-OVJkh.js +24 -0
  164. package/dist/chunks/divide.CV4gt445.Cv9KyNuJ.js +24 -0
  165. package/dist/chunks/document-arrow-down.B_57Gtno.BlZeqf-M.js +24 -0
  166. package/dist/chunks/document-arrow-up.BF_OVDJs.CbEXCmN0.js +24 -0
  167. package/dist/chunks/document-chart-bar.B46OY9CL.CIBAYVab.js +24 -0
  168. package/dist/chunks/document-check.CvLYBdnm.DluZSYpL.js +24 -0
  169. package/dist/chunks/document-currency-bangladeshi.HbXz9Sub.Cew_CE25.js +24 -0
  170. package/dist/chunks/document-currency-dollar.DPjKxFMa.jXB-YTux.js +24 -0
  171. package/dist/chunks/document-currency-euro.C-L5djvR.C9UJW2-n.js +24 -0
  172. package/dist/chunks/document-currency-pound.BzcYNgGa.CgLXYWAs.js +24 -0
  173. package/dist/chunks/document-currency-rupee.DescAEsg.CzFKJayN.js +24 -0
  174. package/dist/chunks/document-currency-yen.CyrkAYT6.B16hPkmM.js +24 -0
  175. package/dist/chunks/document-duplicate.D7vGJG_8.CIombGpo.js +24 -0
  176. package/dist/chunks/document-magnifying-glass.Burq7Xn2.QtA02zrk.js +24 -0
  177. package/dist/chunks/document-minus.DxGQQWCr.kiSQpPdH.js +24 -0
  178. package/dist/chunks/document-plus.DKk5zAwV.H3B6AI11.js +24 -0
  179. package/dist/chunks/document-text.CSCb2U2T.ZDLRpT-o.js +24 -0
  180. package/dist/chunks/document.CS0Ohrgt.DE8cSIrm.js +24 -0
  181. package/dist/chunks/ellipsis-horizontal-circle.BFOXQi09.CTDaeIGM.js +24 -0
  182. package/dist/chunks/ellipsis-horizontal.DqhpkTUz.CclJBCQG.js +24 -0
  183. package/dist/chunks/ellipsis-vertical.B8W0CqqN.B7I6k_qQ.js +24 -0
  184. package/dist/chunks/envelope-open.BQygUrrv.LFK3EzRF.js +24 -0
  185. package/dist/chunks/envelope.DFplr4Iv.Da66rxN8.js +24 -0
  186. package/dist/chunks/equals.Y4339RW6.CKookNbc.js +24 -0
  187. package/dist/chunks/exclamation-circle.PMllX_sR.BiDbdO8o.js +24 -0
  188. package/dist/chunks/exclamation-triangle.DP_ZdqKK.D-pRZiWC.js +24 -0
  189. package/dist/chunks/eye-dropper.BB7xFmZf.CfuOHkRE.js +24 -0
  190. package/dist/chunks/eye-slash.B-Q7zAl9.Z-QG3_NS.js +24 -0
  191. package/dist/chunks/eye.rnBIUryK.CTGdXztX.js +31 -0
  192. package/dist/chunks/face-frown.BdZUKORe.CTMmkA6s.js +24 -0
  193. package/dist/chunks/face-smile.BgHmgpsD.BD0FSBwY.js +24 -0
  194. package/dist/chunks/film.CvtqcSvO.fo_u8ciz.js +24 -0
  195. package/dist/chunks/finger-print.BalGxdl5.lX4SOFcC.js +24 -0
  196. package/dist/chunks/fire.C2S-dlHW.D_I1XNHh.js +31 -0
  197. package/dist/chunks/flag.BDHI8kIc.9T2ghrYf.js +24 -0
  198. package/dist/chunks/folder-arrow-down.CMe8l5qs.CY2PCaTR.js +24 -0
  199. package/dist/chunks/folder-minus.BIP4kiBI.CVSaimPJ.js +24 -0
  200. package/dist/chunks/folder-open.vCqZvh13.CVTeu5UO.js +24 -0
  201. package/dist/chunks/folder-plus.UKgqnCMI.BvhuTxMF.js +24 -0
  202. package/dist/chunks/folder.VY6d7M0v.BjpXSXu9.js +24 -0
  203. package/dist/chunks/fork.Bx0SP5G0.B7BHLQyz.js +49 -0
  204. package/dist/chunks/forward.CJadSay_.BBS11cS_.js +24 -0
  205. package/dist/chunks/{fullscreen-img.directive.CyOHexcO.js → fullscreen-img.directive.ClMlhEtN.js} +4 -4
  206. package/dist/chunks/funnel.CI1X4xTV.C2sbt1gJ.js +24 -0
  207. package/dist/chunks/gif.3w8BBVap.p3RkEv10.js +24 -0
  208. package/dist/chunks/gift-top.DGrJVe5T.LHgvzIEw.js +24 -0
  209. package/dist/chunks/gift.BdjKoMjg.Bf_lfrxv.js +24 -0
  210. package/dist/chunks/github.DR-YREFz.BKzaMPzV.js +20 -0
  211. package/dist/chunks/globe-alt.Ci-4WkuA.Df2W4RpY.js +24 -0
  212. package/dist/chunks/globe-americas.8k4TjYg9.DwAgObeI.js +24 -0
  213. package/dist/chunks/globe-asia-australia.CJy-S58s.BsXl4X35.js +24 -0
  214. package/dist/chunks/globe-europe-africa.Ch0apA4Z.ChCxgvsh.js +24 -0
  215. package/dist/chunks/h1.B0UxaUz3.B-fMNckN.js +24 -0
  216. package/dist/chunks/h2.CoDly_Rk.xn2P59Pu.js +24 -0
  217. package/dist/chunks/h3.BiPu_1GK.BtUGrtqm.js +24 -0
  218. package/dist/chunks/hand-raised.BibTyl03.Bmxt1b7s.js +24 -0
  219. package/dist/chunks/hand-thumb-down.BJoc9FWD.CTxVd9E4.js +24 -0
  220. package/dist/chunks/hand-thumb-up.BZWQJYwr.Byh64TmW.js +24 -0
  221. package/dist/chunks/hashtag.EamZCy49.-5GV13nB.js +24 -0
  222. package/dist/chunks/heart.DvH7fa-0.DC7zVVeb.js +24 -0
  223. package/dist/chunks/home-modern.L4UFeQLe.Q-aoULM-.js +24 -0
  224. package/dist/chunks/home.QELZheLi.CQ5VBdS-.js +24 -0
  225. package/dist/chunks/identification.CU9KU-bX.CFRzYkwU.js +24 -0
  226. package/dist/chunks/inbox-arrow-down.6HTSO1kx.DaoUuGHv.js +24 -0
  227. package/dist/chunks/inbox-stack.BfdiokBq.mWxjLRtV.js +24 -0
  228. package/dist/chunks/inbox.Biazzhd4.cuiJovdp.js +24 -0
  229. package/dist/chunks/index.CvKh762h.js +352 -0
  230. package/dist/chunks/information-circle.yhJPMoUQ.CkqMaCTJ.js +24 -0
  231. package/dist/chunks/italic.njlz_SwH.B8t1zdyt.js +24 -0
  232. package/dist/chunks/key.C8y1z_Nx.CWRIUYtz.js +24 -0
  233. package/dist/chunks/language.1Xs8PuP5.eK68tCI2.js +24 -0
  234. package/dist/chunks/lifebuoy.uldI5FjH.ttPYeOpt.js +24 -0
  235. package/dist/chunks/light-bulb.BnZMjrix.Nn8bb3uA.js +24 -0
  236. package/dist/chunks/link-slash.DYM_8hTp.DbbqWpYf.js +24 -0
  237. package/dist/chunks/link._zvxE-ZN.DCRS1Nhm.js +24 -0
  238. package/dist/chunks/list-bullet.Ck8i-zl1.DYTtynEe.js +24 -0
  239. package/dist/chunks/lock-closed.Do5wxxfB.BoHZR_Cx.js +24 -0
  240. package/dist/chunks/lock-open.DmUSVzU7.CIioMjR4.js +24 -0
  241. package/dist/chunks/magnifying-glass-circle.BBKKo-36.D6LZubsX.js +24 -0
  242. package/dist/chunks/magnifying-glass-minus.D1YH2gJK.DtYqNUQw.js +24 -0
  243. package/dist/chunks/magnifying-glass-plus.BgJ8lfbV.BBOa_lQz.js +24 -0
  244. package/dist/chunks/magnifying-glass.Bi8efyWn.BLzbV1BL.js +24 -0
  245. package/dist/chunks/map-pin.Bxbb--MZ.ea0oLEJ4.js +31 -0
  246. package/dist/chunks/map.DRcXyo0s.DMK4_gRD.js +24 -0
  247. package/dist/chunks/megaphone.BTvu-vIj.H3XYCMYF.js +24 -0
  248. package/dist/chunks/microphone.BJqDhEd7.BsJEAG9l.js +24 -0
  249. package/dist/chunks/minus-circle.DX_Wo_R6.CfihDX_c.js +24 -0
  250. package/dist/chunks/minus-small.BdK3wxa2.BruhEWWT.js +24 -0
  251. package/dist/chunks/minus.KSG6SL-A.Ci3tO7z7.js +24 -0
  252. package/dist/chunks/moon.BAqSTWOk.y5qE-JgT.js +24 -0
  253. package/dist/chunks/musical-note.Erx2eYZM.CeYcRysR.js +24 -0
  254. package/dist/chunks/newspaper.BxEeFWo5.Caqcj866.js +24 -0
  255. package/dist/chunks/no-image.G9oAqLYN.QYfh20At.js +18 -0
  256. package/dist/chunks/no-symbol.v1ZxT7PS.CLiEtcjA.js +24 -0
  257. package/dist/chunks/numbered-list.D4--Brg5.DPb7JWAD.js +24 -0
  258. package/dist/chunks/paint-brush.9Oq01j7X.BaQOU4-k.js +24 -0
  259. package/dist/chunks/paper-airplane.DKx_Ww6M.Dx_A6-r1.js +24 -0
  260. package/dist/chunks/paper-clip.Cd3ICjAc.Di3lmXzN.js +24 -0
  261. package/dist/chunks/pause-circle.Dyaqta5w.Bf5lVO6T.js +24 -0
  262. package/dist/chunks/pause.Xl-ti251.BrVoKvOq.js +24 -0
  263. package/dist/chunks/pencil-square.83G17jv5.BieHF6-5.js +24 -0
  264. package/dist/chunks/pencil.Bv-2uNMw.B6t0Zv85.js +24 -0
  265. package/dist/chunks/percent-badge.BR-COyYt.D9uZiuV4.js +24 -0
  266. package/dist/chunks/phone-arrow-down-left.bgYNFdYw.DlXuTKyQ.js +24 -0
  267. package/dist/chunks/phone-arrow-up-right.DL8xnmCp.B6ny9DGc.js +24 -0
  268. package/dist/chunks/phone-x-mark.EJ8g8Io4.iD9I0F8O.js +24 -0
  269. package/dist/chunks/phone.C9HcOJV4.DR_ydb9P.js +24 -0
  270. package/dist/chunks/photo.D2i5ltv-.Bx4bun8k.js +24 -0
  271. package/dist/chunks/play-circle.sQgQYbxL.DIVhJ_VT.js +31 -0
  272. package/dist/chunks/play-pause.7fATndsv.BlbQnYtP.js +24 -0
  273. package/dist/chunks/play.DPQ51d76.CXxYnamK.js +24 -0
  274. package/dist/chunks/plus-circle.t0rIMK17.CJuEO_hV.js +24 -0
  275. package/dist/chunks/plus-small.q2_UTnSJ.D00Lo6Gm.js +24 -0
  276. package/dist/chunks/plus.B4eFPhg5.Bjb51_89.js +24 -0
  277. package/dist/chunks/power.DbnsGjcP.ADCLCnp1.js +24 -0
  278. package/dist/chunks/presentation-chart-bar.qOHPrVoA.DzoUJVBk.js +24 -0
  279. package/dist/chunks/presentation-chart-line.kt2UcfXU.ByalT4af.js +24 -0
  280. package/dist/chunks/printer.DgYbu-oZ.oyHdK_Er.js +24 -0
  281. package/dist/chunks/puzzle-piece.DPVPnROW.Dj5Pkwqw.js +24 -0
  282. package/dist/chunks/qr-code.Cz6_gY5W.BRQos2fl.js +31 -0
  283. package/dist/chunks/question-mark-circle.BI3Pj1lM.CUkVvnjz.js +24 -0
  284. package/dist/chunks/queue-list.BTtd9gV_.BZqvXCX1.js +24 -0
  285. package/dist/chunks/radio.NXQa70KZ.DcLeSUt8.js +24 -0
  286. package/dist/chunks/receipt-percent.BEffIYGJ.C5vDjent.js +24 -0
  287. package/dist/chunks/receipt-refund.hLJiXRl-.BvT1RelP.js +24 -0
  288. package/dist/chunks/rectangle-group.DUnjEoiP.9pML-9-S.js +24 -0
  289. package/dist/chunks/rectangle-stack.DxfbSUKM.BS0h3Qu8.js +24 -0
  290. package/dist/chunks/rocket-launch.X-OfcjiP.BRHh-FkZ.js +24 -0
  291. package/dist/chunks/rss.BLvK5jPr.CckNH6AG.js +24 -0
  292. package/dist/chunks/scale.DEEYJ6Zk.CXnrDRjc.js +24 -0
  293. package/dist/chunks/scissors.Bu_6BaOX.CgCRjlsD.js +24 -0
  294. package/dist/chunks/server-stack.DmncQkqn.DlXBXJ68.js +24 -0
  295. package/dist/chunks/server.LyXBRSxY.DiraGD0N.js +24 -0
  296. package/dist/chunks/share.Cf9OjBgL.RQldJRZ9.js +24 -0
  297. package/dist/chunks/shield-check.VQpLzd2v.Bv6XREpP.js +24 -0
  298. package/dist/chunks/shield-exclamation.Be0w3_jk.Czs5h8N1.js +24 -0
  299. package/dist/chunks/shopping-bag.CmqEq0ln.Co-ENH4J.js +24 -0
  300. package/dist/chunks/shopping-cart.sDo0rmyp.Dwxg9WFh.js +24 -0
  301. package/dist/chunks/signal-slash.Cj_p1Nk-.Bos1dz3M.js +24 -0
  302. package/dist/chunks/signal.CDdRnntO.zs66muqE.js +24 -0
  303. package/dist/chunks/slash.DLlsJ67p.BovzBFnY.js +24 -0
  304. package/dist/chunks/sparkles.Cl4CxIOA.CJtVBamV.js +24 -0
  305. package/dist/chunks/speaker-wave.Dhz2ha5o.BKHqvdzL.js +24 -0
  306. package/dist/chunks/speaker-x-mark.D5bJpGdc.B-98J4TH.js +24 -0
  307. package/dist/chunks/square-2-stack.B_K3e5Xo.BpuWW3zQ.js +24 -0
  308. package/dist/chunks/square-3-stack-3d.kEZ7HRU8.u3pEG_dB.js +24 -0
  309. package/dist/chunks/squares-2x2.DbpIJWWH.czohOArw.js +24 -0
  310. package/dist/chunks/squares-plus.DJoqsZG-.C56wwQo6.js +24 -0
  311. package/dist/chunks/star-solid.ith3udUr.fI6COBY6.js +22 -0
  312. package/dist/chunks/star.BOm1sCet.CrlFtkIH.js +24 -0
  313. package/dist/chunks/stop-circle.i8k9ENGo.Bvg3kAtp.js +31 -0
  314. package/dist/chunks/stop.BvbL0z5G.BzZa9cz4.js +24 -0
  315. package/dist/chunks/strikethrough.D9IxMEze.CG0o3e8f.js +24 -0
  316. package/dist/chunks/sun.DtlkYkWH.BY6FsaIr.js +24 -0
  317. package/dist/chunks/swatch.BQEbGG5v.mzOiKL2U.js +24 -0
  318. package/dist/chunks/table-cells.DgYgkJao.D_ev8kjA.js +24 -0
  319. package/dist/chunks/tag.9pi2-WVW.AW6frX03.js +31 -0
  320. package/dist/chunks/ticket.CoeaVN1f.D8B_ZCyj.js +24 -0
  321. package/dist/chunks/trash.CKFg-ylA.BeH6WFxu.js +24 -0
  322. package/dist/chunks/trophy.DqS7is9J.BqpYwRUm.js +24 -0
  323. package/dist/chunks/truck.CiPiMFO5.I1lYcatr.js +24 -0
  324. package/dist/chunks/tv.FRI46IJL.DYLIUXzl.js +24 -0
  325. package/dist/chunks/underline.CTS7x7HZ.BTMyDX0M.js +24 -0
  326. package/dist/chunks/{normalizeString.CFe2M8S_.js → useStringMatching.D5UvsCUS.js} +40 -1
  327. package/dist/chunks/user-circle.jg7OpkHK.BzdqSzzl.js +24 -0
  328. package/dist/chunks/user-group.ZzJJeNOR.DqrCBO8z.js +24 -0
  329. package/dist/chunks/user-minus.CFpE7tJo.Cc-_xIha.js +24 -0
  330. package/dist/chunks/user-plus.56xx_RZF.DeJBUlvA.js +24 -0
  331. package/dist/chunks/user.BHnHyDaq.DDyUV-u5.js +24 -0
  332. package/dist/chunks/users.CcE72INP.DbTawkoy.js +24 -0
  333. package/dist/chunks/{utils.BBuYjMbK.js → utils.D9NiqfdV.js} +63 -6
  334. package/dist/chunks/vClickOutside.C69k0jaG.js +107 -0
  335. package/dist/chunks/variable.D2aSg3jI.B9JN_cwv.js +24 -0
  336. package/dist/chunks/video-camera-slash.BwxNb0cm.SnSS7S5P.js +24 -0
  337. package/dist/chunks/video-camera.CoJgwP4F.BmMWt0vs.js +24 -0
  338. package/dist/chunks/view-columns.LoFVFzBR.CIMGv7mf.js +24 -0
  339. package/dist/chunks/viewfinder-circle.CaQlvTWC.CJVVM5_n.js +24 -0
  340. package/dist/chunks/wallet.CqM_mibw.kwMG5OEh.js +24 -0
  341. package/dist/chunks/wifi.DUdIKgQN.DqZ0nPHO.js +24 -0
  342. package/dist/chunks/window.BeFPU0ZR.Cqieba0K.js +24 -0
  343. package/dist/chunks/wrench-screwdriver.BcMJDiuu.Ces3a6-S.js +24 -0
  344. package/dist/chunks/wrench.DhPW3HZx.CNeKEI4i.js +31 -0
  345. package/dist/chunks/x-circle.Bv0-dC8L.BikPLDPw.js +24 -0
  346. package/dist/chunks/x-mark.umAR9tn5.iu8PJ4nS.js +24 -0
  347. package/dist/components/MazAccordion.js +2 -2
  348. package/dist/components/MazAvatar.js +2 -2
  349. package/dist/components/MazBottomSheet.js +2 -2
  350. package/dist/components/MazCard.js +2 -2
  351. package/dist/components/MazCarousel.js +3 -3
  352. package/dist/components/MazCheckbox.js +2 -2
  353. package/dist/components/MazChecklist.js +4 -5
  354. package/dist/components/MazDatePicker.js +1 -1
  355. package/dist/components/MazDialog.js +2 -2
  356. package/dist/components/MazDrawer.js +2 -2
  357. package/dist/components/MazDropdown.js +1 -1
  358. package/dist/components/MazDropzone.js +5 -5
  359. package/dist/components/MazGallery.js +3 -3
  360. package/dist/components/MazInput.js +3 -3
  361. package/dist/components/MazInputNumber.js +1 -1
  362. package/dist/components/MazInputPrice.js +1 -1
  363. package/dist/components/MazInputTags.js +2 -2
  364. package/dist/components/MazLink.js +2 -2
  365. package/dist/components/MazPagination.js +6 -6
  366. package/dist/components/MazPopover.js +1 -1
  367. package/dist/components/MazPullToRefresh.js +7 -2
  368. package/dist/components/MazRadioButtons.js +2 -2
  369. package/dist/components/MazSelect.js +10 -8
  370. package/dist/components/MazSelectCountry.js +7 -2
  371. package/dist/components/MazStepper.js +2 -2
  372. package/dist/components/MazTable.js +2 -2
  373. package/dist/components/MazTableCell.js +1 -1
  374. package/dist/components/MazTableRow.js +1 -1
  375. package/dist/components/MazTableTitle.js +1 -1
  376. package/dist/components/MazTextarea.js +23 -2
  377. package/dist/components/index.js +4 -4
  378. package/dist/composables/index.js +2 -2
  379. package/dist/composables/useFormField.js +1 -2
  380. package/dist/composables/useFormValidator.js +1 -1
  381. package/dist/composables/useIdleTimeout.js +108 -1
  382. package/dist/composables/useStringMatching.js +3 -40
  383. package/dist/composables/useSwipe.js +77 -1
  384. package/dist/composables/useUserVisibility.js +47 -1
  385. package/dist/directives/index.js +7 -7
  386. package/dist/directives/vClickOutside.js +4 -102
  387. package/dist/directives/vFullscreenImg.js +1 -1
  388. package/dist/index.js +1 -114
  389. package/dist/plugins/toast.js +7 -7
  390. package/dist/resolvers/MazComponentsResolver.js +7 -1
  391. package/dist/types/index.d.ts +1 -1
  392. package/package.json +2 -3
  393. package/dist/chunks/TextareaAutogrow.C22LQx0k.js +0 -25
  394. package/dist/chunks/debounceCallback.B69vn57Q.js +0 -7
  395. package/dist/chunks/formatCurrency.C8NzW9Ii.js +0 -34
  396. package/dist/chunks/formatDate.DZ_OzdnV.js +0 -21
  397. package/dist/chunks/getCountryFlagUrl.dQjriBXx.js +0 -9
  398. package/dist/chunks/idleTimeout.-ICpdeGV.js +0 -111
  399. package/dist/chunks/isServer.BokzeB-Q.js +0 -6
  400. package/dist/chunks/isStandaloneMode.BpUpOTbA.js +0 -10
  401. package/dist/chunks/pascalCase.D_nuQ66I.js +0 -11
  402. package/dist/chunks/swipeHandler.8emelhOL.js +0 -80
  403. package/dist/chunks/throttleId.7PhWZjcS.js +0 -62
  404. package/dist/chunks/userVisibility.BbQSJASv.js +0 -50
@@ -2,7 +2,7 @@ import { defineComponent, mergeModels, useAttrs, useTemplateRef, useModel, ref,
2
2
  import { i as isClient } from "../chunks/isClient.WI4oSt66.js";
3
3
  import { t as throttle } from "../chunks/throttle.DN8ARw0a.js";
4
4
  import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
5
- import { vClickOutside as directive } from "../directives/vClickOutside.js";
5
+ import { d as directive } from "../chunks/vClickOutside.C69k0jaG.js";
6
6
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
7
7
  import '../assets/MazPopover.COR-tym7.css';const _hoisted_1 = ["id", "aria-expanded", "aria-haspopup", "aria-describedby", "aria-labelledby"], _hoisted_2 = ["id", "role", "aria-label", "aria-labelledby", "aria-describedby", "aria-modal", "tabindex", "aria-live"], _sfc_main = /* @__PURE__ */ defineComponent({
8
8
  name: "MazPopover",
@@ -1,8 +1,13 @@
1
1
  import { defineComponent, defineAsyncComponent, computed, ref, watch, onUnmounted, createElementBlock, openBlock, normalizeClass, createCommentVNode, renderSlot, normalizeStyle, createElementVNode, createVNode, unref } from "vue";
2
2
  import { i as isClient } from "../chunks/isClient.WI4oSt66.js";
3
- import { i as isStandaloneMode } from "../chunks/isStandaloneMode.BpUpOTbA.js";
4
3
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
5
- import '../assets/MazPullToRefresh.DABqbGtK.css';const _hoisted_1 = {
4
+ import '../assets/MazPullToRefresh.DABqbGtK.css';function isStandaloneMode() {
5
+ if (!isClient())
6
+ return !1;
7
+ const nav = navigator, isStandalone = window.matchMedia("(display-mode: standalone)").matches;
8
+ return nav.standalone || isStandalone;
9
+ }
10
+ const _hoisted_1 = {
6
11
  key: 0,
7
12
  class: "header-text"
8
13
  }, _hoisted_2 = {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, ref, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, Fragment, renderList, normalizeStyle, renderSlot, createVNode, Transition, withCtx, withDirectives, unref, vShow, createTextVNode, toDisplayString } from "vue";
2
- import { MazCheck } from "@maz-ui/icons";
2
+ import { i as it } from "../chunks/index.CvKh762h.js";
3
3
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
4
4
  import '../assets/MazRadioButtons.BA4rjgK9.css';const _hoisted_1 = { class: "m-radio-buttons m-reset-css" }, _hoisted_2 = ["for", "aria-checked", "onKeydown", "onBlur", "onFocus"], _hoisted_3 = ["id", "name", "value", "onChange"], _hoisted_4 = {
5
5
  key: 0,
@@ -96,7 +96,7 @@ import '../assets/MazRadioButtons.BA4rjgK9.css';const _hoisted_1 = { class: "m-r
96
96
  }, [
97
97
  createVNode(Transition, { name: "maz-radio-buttons-scale" }, {
98
98
  default: withCtx(() => [
99
- withDirectives(createVNode(unref(MazCheck), { class: "maz-size-full" }, null, 512), [
99
+ withDirectives(createVNode(unref(it), { class: "maz-size-full" }, null, 512), [
100
100
  [vShow, isSelected(option.value)]
101
101
  ])
102
102
  ]),
@@ -1,15 +1,17 @@
1
1
  import { defineComponent, mergeModels, defineAsyncComponent, useTemplateRef, computed, useModel, ref, watch, createBlock, openBlock, normalizeStyle, normalizeClass, withCtx, createElementVNode, unref, createCommentVNode, renderSlot, createElementBlock, createVNode, Fragment, renderList, toDisplayString, withModifiers, mergeProps, nextTick } from "vue";
2
- import { MazMagnifyingGlass, MazNoSymbol, MazChevronDown } from "@maz-ui/icons";
2
+ import { C as Cn, P as Pn, a as Mt } from "../chunks/index.CvKh762h.js";
3
3
  import { u as useTranslations } from "../chunks/useTranslations.BXuww4ux.js";
4
- import { d as debounceCallback } from "../chunks/debounceCallback.B69vn57Q.js";
5
4
  import { i as isClient } from "../chunks/isClient.WI4oSt66.js";
6
- import { n as normalizeString } from "../chunks/normalizeString.CFe2M8S_.js";
5
+ import { u as useStringMatching, n as normalizeString } from "../chunks/useStringMatching.D5UvsCUS.js";
7
6
  import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
8
- import { useStringMatching } from "../composables/useStringMatching.js";
9
7
  import MazInput from "./MazInput.js";
10
8
  import MazPopover from "./MazPopover.js";
11
9
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
12
- import '../assets/MazSelect.DZZpDg8z.css';const _hoisted_1 = ["aria-label"], _hoisted_2 = ["id"], _hoisted_3 = { class: "m-select-list__no-results" }, _hoisted_4 = { class: "m-select-list-optgroup" }, _hoisted_5 = ["tabindex", "onClick"], _sfc_main = /* @__PURE__ */ defineComponent({
10
+ import '../assets/MazSelect.DZZpDg8z.css';let timeout = null;
11
+ function debounceCallback(callback, delay) {
12
+ timeout && clearTimeout(timeout), timeout = setTimeout(callback, delay);
13
+ }
14
+ const _hoisted_1 = ["aria-label"], _hoisted_2 = ["id"], _hoisted_3 = { class: "m-select-list__no-results" }, _hoisted_4 = { class: "m-select-list-optgroup" }, _hoisted_5 = ["tabindex", "onClick"], _sfc_main = /* @__PURE__ */ defineComponent({
13
15
  inheritAttrs: !1,
14
16
  __name: "MazSelect",
15
17
  props: /* @__PURE__ */ mergeModels({
@@ -276,7 +278,7 @@ import '../assets/MazSelect.DZZpDg8z.css';const _hoisted_1 = ["aria-label"], _ho
276
278
  class: "m-select-input__toggle-button maz-custom",
277
279
  "aria-label": `${isOpen.value ? "collapse" : "expand"} list of options`
278
280
  }, [
279
- createVNode(unref(MazChevronDown), { class: "m-select-chevron" })
281
+ createVNode(unref(Mt), { class: "m-select-chevron" })
280
282
  ], 8, _hoisted_1)
281
283
  ], !0)
282
284
  ]),
@@ -316,11 +318,11 @@ import '../assets/MazSelect.DZZpDg8z.css';const _hoisted_1 = ["aria-label"], _ho
316
318
  autocomplete: "off",
317
319
  block: "",
318
320
  class: "m-select-list__search-input maz-flex-none",
319
- "left-icon": unref(MazMagnifyingGlass)
321
+ "left-icon": unref(Cn)
320
322
  }, null, 8, ["modelValue", "disabled", "color", "placeholder", "left-icon"])) : createCommentVNode("", !0),
321
323
  !optionList.value || optionList.value.length <= 0 ? renderSlot(_ctx.$slots, "no-results", { key: 1 }, () => [
322
324
  createElementVNode("span", _hoisted_3, [
323
- createVNode(unref(MazNoSymbol), { class: "maz-size-6 maz-text-foreground" })
325
+ createVNode(unref(Pn), { class: "maz-size-6 maz-text-foreground" })
324
326
  ])
325
327
  ], !0) : (openBlock(), createElementBlock("div", {
326
328
  key: 2,
@@ -1,7 +1,6 @@
1
1
  import { defineComponent, computed, defineAsyncComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, createVNode, mergeProps, unref, withCtx, createElementVNode, createCommentVNode, renderSlot, createBlock, toDisplayString } from "vue";
2
2
  import { u as useTranslations } from "../chunks/useTranslations.BXuww4ux.js";
3
- import { i as isServer } from "../chunks/isServer.BokzeB-Q.js";
4
- import { g as getCountryFlagUrl } from "../chunks/getCountryFlagUrl.dQjriBXx.js";
3
+ import { i as isServer } from "../chunks/vClickOutside.C69k0jaG.js";
5
4
  import { useDisplayNames } from "../composables/useDisplayNames.js";
6
5
  import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
7
6
  import MazSelect from "./MazSelect.js";
@@ -13,6 +12,12 @@ import '../assets/MazSelectCountry.9RTcDxtM.css';function getBrowserLocale() {
13
12
  throw new Error(`[MazInputPhoneNumber] (browserLocale) ${error}`);
14
13
  }
15
14
  }
15
+ const _supportedCodes = ["ad", "ae", "af", "ag", "ai", "al", "am", "ao", "aq", "ar", "as", "at", "au", "aw", "ax", "az", "ba", "bb", "bd", "be", "bf", "bg", "bh", "bi", "bj", "bl", "bm", "bn", "bo", "bq", "br", "bs", "bt", "bv", "bw", "by", "bz", "ca", "cc", "cd", "cf", "cg", "ch", "ci", "ck", "cl", "cm", "cn", "co", "cr", "cu", "cv", "cw", "cx", "cy", "cz", "de", "dj", "dk", "dm", "do", "dz", "ec", "ee", "eg", "eh", "er", "es", "et", "eu", "fi", "fj", "fk", "fm", "fo", "fr", "ga", "gb", "gb-eng", "gb-nir", "gb-sct", "gb-wls", "gd", "ge", "gf", "gg", "gh", "gi", "gl", "gm", "gn", "gp", "gq", "gr", "gs", "gt", "gu", "gw", "gy", "hk", "hm", "hn", "hr", "ht", "hu", "id", "ie", "il", "im", "in", "io", "iq", "ir", "is", "it", "je", "jm", "jo", "jp", "ke", "kg", "kh", "ki", "km", "kn", "kp", "kr", "kw", "ky", "kz", "la", "lb", "lc", "li", "lk", "lr", "ls", "lt", "lu", "lv", "ly", "ma", "mc", "md", "me", "mf", "mg", "mh", "mk", "ml", "mm", "mn", "mo", "mp", "mq", "mr", "ms", "mt", "mu", "mv", "mw", "mx", "my", "mz", "na", "nc", "ne", "nf", "ng", "ni", "nl", "no", "np", "nr", "nu", "nz", "om", "pa", "pe", "pf", "pg", "ph", "pk", "pl", "pm", "pn", "pr", "ps", "pt", "pw", "py", "qa", "re", "ro", "rs", "ru", "rw", "sa", "sb", "sc", "sd", "se", "sg", "sh", "si", "sj", "sk", "sl", "sm", "sn", "so", "sr", "ss", "st", "sv", "sx", "sy", "sz", "tc", "td", "tf", "tg", "th", "tj", "tk", "tl", "tm", "tn", "to", "tr", "tt", "tv", "tw", "tz", "ua", "ug", "um", "un", "us", "us-ak", "us-al", "us-ar", "us-az", "us-ca", "us-co", "us-ct", "us-de", "us-fl", "us-ga", "us-hi", "us-ia", "us-id", "us-il", "us-in", "us-ks", "us-ky", "us-la", "us-ma", "us-md", "us-me", "us-mi", "us-mn", "us-mo", "us-ms", "us-mt", "us-nc", "us-nd", "us-ne", "us-nh", "us-nj", "us-nm", "us-nv", "us-ny", "us-oh", "us-ok", "us-or", "us-pa", "us-ri", "us-sc", "us-sd", "us-tn", "us-tx", "us-ut", "us-va", "us-vt", "us-wa", "us-wi", "us-wv", "us-wy", "uy", "uz", "va", "vc", "ve", "vg", "vi", "vn", "vu", "wf", "ws", "xk", "ye", "yt", "za", "zm", "zw"];
16
+ function getCountryFlagUrl(countryIsoCode, size) {
17
+ const code = countryIsoCode.toLowerCase();
18
+ if (_supportedCodes.includes(code))
19
+ return size ? `https://flagcdn.com/${size}/${code}.png` : `https://flagcdn.com/${code}.svg`;
20
+ }
16
21
  const _hoisted_1 = {
17
22
  key: 0,
18
23
  class: "m-select-country__select__item__flag-container"
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, useSlots, ref, createElementBlock, openBlock, normalizeStyle, Fragment, renderList, createCommentVNode, createElementVNode, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, createTextVNode, toDisplayString, createVNode, withCtx } from "vue";
2
- import { MazCheckCircle, MazExclamationTriangle, MazExclamationCircle } from "@maz-ui/icons";
2
+ import { b as at, w as wr, u as ur } from "../chunks/index.CvKh762h.js";
3
3
  import MazExpandAnimation from "./MazExpandAnimation.js";
4
4
  import MazIcon from "./MazIcon.js";
5
5
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
@@ -33,7 +33,7 @@ import '../assets/MazStepper.DYMde9uq.css';const _hoisted_1 = ["id", "disabled",
33
33
  }
34
34
  });
35
35
  function getStepStateData(step) {
36
- return isStepSuccess(step) ? { icon: MazCheckCircle, class: "--success" } : isStepWarning(step) ? { icon: MazExclamationTriangle, class: "--warning" } : isStepError(step) ? { icon: MazExclamationCircle, class: "--error" } : { class: "--normal" };
36
+ return isStepSuccess(step) ? { icon: at, class: "--success" } : isStepWarning(step) ? { icon: wr, class: "--warning" } : isStepError(step) ? { icon: ur, class: "--error" } : { class: "--normal" };
37
37
  }
38
38
  function getStepIcon(step) {
39
39
  return __props.steps?.[step - 1]?.icon;
@@ -1,5 +1,5 @@
1
- import { _ as _sfc_main } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.bm7ng8fK.js";
2
- import { m } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.bm7ng8fK.js";
1
+ import { _ as _sfc_main } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.By5YbgRn.js";
2
+ import { m } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.By5YbgRn.js";
3
3
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
4
4
  import '../assets/MazTable.B1tkeUfE.css';const MazTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-680bb425"]]);
5
5
  export {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { useInjectStrict } from "../composables/useInjectStrict.js";
3
- import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.bm7ng8fK.js";
3
+ import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.By5YbgRn.js";
4
4
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
5
5
  import '../assets/MazTableCell.BPgmqAMD.css';const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "MazTableCell",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { useInjectStrict } from "../composables/useInjectStrict.js";
3
- import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.bm7ng8fK.js";
3
+ import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.By5YbgRn.js";
4
4
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
5
5
  import '../assets/MazTableRow.B78Bd4Kv.css';const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "MazTableRow",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
2
2
  import { useInjectStrict } from "../composables/useInjectStrict.js";
3
- import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.bm7ng8fK.js";
3
+ import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.By5YbgRn.js";
4
4
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
5
5
  import '../assets/MazTableTitle.BjJMgQFY.css';const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "MazTableTitle",
@@ -1,8 +1,29 @@
1
1
  import { defineComponent, ref, computed, onMounted, onBeforeUnmount, useSlots, createElementBlock, openBlock, normalizeStyle, unref, normalizeClass, createCommentVNode, withDirectives, renderSlot, createTextVNode, toDisplayString, createElementVNode, mergeProps, toHandlers, vModelText } from "vue";
2
- import { T as TextareaAutogrow } from "../chunks/TextareaAutogrow.C22LQx0k.js";
2
+ import { d as debounce } from "../chunks/debounce.Brzkn9pm.js";
3
3
  import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
4
4
  import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
5
- import '../assets/MazTextarea.Dz11mUeK.css';const _hoisted_1 = ["for"], _hoisted_2 = ["for"], _hoisted_3 = { key: 1 }, _hoisted_4 = { key: 2 }, _hoisted_5 = ["id", "placeholder", "name", "disabled", "required"], _hoisted_6 = {
5
+ import '../assets/MazTextarea.Dz11mUeK.css';class TextareaAutogrow {
6
+ element;
7
+ constructor(element) {
8
+ this.element = element, this.onFocus = this.onFocus.bind(this), this.autogrow = this.autogrow.bind(this), this.onResize = debounce(this.onResize.bind(this), 200), this.connect();
9
+ }
10
+ connect() {
11
+ this.element.addEventListener("focus", this.onFocus), this.element.style.resize = "none", this.element.style.boxSizing = "border-box";
12
+ }
13
+ disconnect() {
14
+ window.removeEventListener("resize", this.onResize), this.element.removeEventListener("input", this.autogrow);
15
+ }
16
+ onFocus() {
17
+ this.autogrow(), this.element.addEventListener("input", this.autogrow), window.addEventListener("resize", this.onResize), this.element.removeEventListener("focus", this.onFocus);
18
+ }
19
+ onResize() {
20
+ this.autogrow();
21
+ }
22
+ autogrow() {
23
+ this.element.style.height = "auto", this.element.style.overflow = "hidden", this.element.style.height = `${this.element.scrollHeight}px`;
24
+ }
25
+ }
26
+ const _hoisted_1 = ["for"], _hoisted_2 = ["for"], _hoisted_3 = { key: 1 }, _hoisted_4 = { key: 2 }, _hoisted_5 = ["id", "placeholder", "name", "disabled", "required"], _hoisted_6 = {
6
27
  key: 1,
7
28
  class: "m-textarea__append"
8
29
  }, _sfc_main = /* @__PURE__ */ defineComponent({
@@ -14,11 +14,11 @@ import { _ } from "../chunks/MazChart.vue_vue_type_script_setup_true_lang.JSYXGy
14
14
  import { default as default14 } from "./MazCheckbox.js";
15
15
  import { default as default15 } from "./MazChecklist.js";
16
16
  import { default as default16 } from "./MazCircularProgressBar.js";
17
- import { M } from "../chunks/MazDatePicker.CT5yJhSN.js";
17
+ import { M } from "../chunks/MazDatePicker.Bgd0WwZk.js";
18
18
  import { default as default17 } from "./MazDialog.js";
19
19
  import { _ as _2, u } from "../chunks/MazDialogPromise.vue_vue_type_script_setup_true_lang.BQvDEofz.js";
20
20
  import { default as default18 } from "./MazDrawer.js";
21
- import { _ as _3 } from "../chunks/MazDropdown.vue_vue_type_style_index_0_lang.De5b1GG8.js";
21
+ import { _ as _3 } from "../chunks/MazDropdown.vue_vue_type_style_index_0_lang.WRjG5bff.js";
22
22
  import { default as default19 } from "./MazDropzone.js";
23
23
  import { default as default20 } from "./MazExpandAnimation.js";
24
24
  import { default as default21 } from "./MazFullscreenLoader.js";
@@ -26,9 +26,9 @@ import { default as default22 } from "./MazGallery.js";
26
26
  import { default as default23 } from "./MazIcon.js";
27
27
  import { default as default24 } from "./MazInput.js";
28
28
  import { default as default25 } from "./MazInputCode.js";
29
- import { _ as _4 } from "../chunks/MazInputNumber.vue_vue_type_style_index_0_lang.B6DYpHfi.js";
29
+ import { _ as _4 } from "../chunks/MazInputNumber.vue_vue_type_style_index_0_lang.BUOLoXtV.js";
30
30
  import { M as M2 } from "../chunks/MazInputPhoneNumber.B7mxCHgU.js";
31
- import { _ as _5 } from "../chunks/MazInputPrice.vue_vue_type_script_setup_true_lang.GMKzSu7R.js";
31
+ import { _ as _5 } from "../chunks/MazInputPrice.vue_vue_type_script_setup_true_lang.CT1Y2-_T.js";
32
32
  import { default as default26 } from "./MazInputTags.js";
33
33
  import { default as default27 } from "./MazLazyImg.js";
34
34
  import { default as default28 } from "./MazLink.js";
@@ -10,7 +10,7 @@ import { useInjectStrict } from "./useInjectStrict.js";
10
10
  import { useInstanceUniqId } from "./useInstanceUniqId.js";
11
11
  import { useMountComponent } from "./useMountComponent.js";
12
12
  import { useReadingTime } from "./useReadingTime.js";
13
- import { useStringMatching } from "./useStringMatching.js";
13
+ import { u } from "../chunks/useStringMatching.D5UvsCUS.js";
14
14
  import { useSwipe } from "./useSwipe.js";
15
15
  import { useTimer } from "./useTimer.js";
16
16
  import { useToast } from "./useToast.js";
@@ -30,7 +30,7 @@ export {
30
30
  useInstanceUniqId,
31
31
  useMountComponent,
32
32
  useReadingTime,
33
- useStringMatching,
33
+ u as useStringMatching,
34
34
  useSwipe,
35
35
  useTimer,
36
36
  useToast,
@@ -1,7 +1,6 @@
1
1
  import { c as checkAvailability } from "../chunks/checkAvailability.aTpZidex.js";
2
- import { i as isEqual } from "../chunks/throttleId.7PhWZjcS.js";
2
+ import { e as getContext, f as fieldHasValidation, i as updateFieldState, j as isEqual, k as setFieldValidationState, l as getValidationEvents, d as hasModeIncludes, r as removeEventFromInteractiveElements, m as handleFieldBlur, n as findInteractiveElements, o as addEventToInteractiveElements } from "../chunks/utils.D9NiqfdV.js";
3
3
  import { computed, onMounted, onUnmounted } from "vue";
4
- import { e as getContext, f as fieldHasValidation, i as updateFieldState, j as setFieldValidationState, k as getValidationEvents, d as hasModeIncludes, r as removeEventFromInteractiveElements, l as handleFieldBlur, m as findInteractiveElements, n as addEventToInteractiveElements } from "../chunks/utils.BBuYjMbK.js";
5
4
  import { useFreezeValue } from "./useFreezeValue.js";
6
5
  function useFormField(name, options) {
7
6
  const opts = {
@@ -1,5 +1,5 @@
1
1
  import { ref, computed, watch, provide, nextTick } from "vue";
2
- import { g as getInstance, a as getFieldsStates, b as getFieldsErrors, c as getErrorMessages, u as updateFieldsStates, v as validateForm, C as CONFIG, s as scrollToError, h as handleFieldInput, d as hasModeIncludes } from "../chunks/utils.BBuYjMbK.js";
2
+ import { g as getInstance, a as getFieldsStates, b as getFieldsErrors, c as getErrorMessages, u as updateFieldsStates, v as validateForm, C as CONFIG, s as scrollToError, h as handleFieldInput, d as hasModeIncludes } from "../chunks/utils.D9NiqfdV.js";
3
3
  function useFormValidator({ schema, defaultValues, model, options }) {
4
4
  const instance = getInstance("useFormValidator"), opts = {
5
5
  mode: CONFIG.mode,
@@ -1,4 +1,111 @@
1
- import { I as IdleTimeout } from "../chunks/idleTimeout.-ICpdeGV.js";
1
+ import { i as isClient } from "../chunks/isClient.WI4oSt66.js";
2
+ class IdleTimeout {
3
+ constructor(callback, options) {
4
+ this.callback = callback, this.options = {
5
+ ...this.defaultOptions,
6
+ ...options
7
+ }, isClient() && this.start();
8
+ }
9
+ defaultOptions = {
10
+ element: void 0,
11
+ timeout: 60 * 1e3 * 5,
12
+ // 5 minutes
13
+ once: !1,
14
+ immediate: !0
15
+ };
16
+ options;
17
+ timeoutHandler;
18
+ isIdle = !1;
19
+ isDestroy = !1;
20
+ startTime = 0;
21
+ remainingTime = 0;
22
+ lastClientX = -1;
23
+ lastClientY = -1;
24
+ eventNames = [
25
+ "DOMMouseScroll",
26
+ "mousedown",
27
+ "mousemove",
28
+ "mousewheel",
29
+ "MSPointerDown",
30
+ "MSPointerMove",
31
+ "keydown",
32
+ "touchmove",
33
+ "touchstart",
34
+ "wheel",
35
+ "click"
36
+ ];
37
+ get element() {
38
+ return this.options.element ?? document.body;
39
+ }
40
+ start() {
41
+ if (!isClient()) {
42
+ console.warn("[IdleTimeout](start) you should run this method on client side");
43
+ return;
44
+ }
45
+ for (const eventName of this.eventNames)
46
+ this.element.addEventListener(eventName, this.handleEvent);
47
+ this.resetTimeout(), this.options.immediate && this.callback({ isIdle: !1, instance: this });
48
+ }
49
+ pause() {
50
+ const remainingTime = this.startTime + this.options.timeout - Date.now();
51
+ remainingTime <= 0 || (this.remainingTime = remainingTime, this.timeoutHandler && (clearTimeout(this.timeoutHandler), this.timeoutHandler = void 0));
52
+ }
53
+ resume() {
54
+ this.remainingTime <= 0 || (this.resetTimeout(), this.callback({ isIdle: this.isIdle, instance: this }), this.remainingTime = 0);
55
+ }
56
+ reset() {
57
+ this.isDestroy = !1, this.isIdle = !1, this.remainingTime = 0, this.resetTimeout(), this.callback({ isIdle: this.isIdle, instance: this });
58
+ }
59
+ destroy() {
60
+ if (!isClient()) {
61
+ console.warn("[IdleTimeout](destroy) you should run this method on client side");
62
+ return;
63
+ }
64
+ this.isDestroy = !0;
65
+ for (const eventName of this.eventNames)
66
+ this.element.removeEventListener(eventName, this.handleEvent);
67
+ this.timeoutHandler && clearTimeout(this.timeoutHandler);
68
+ }
69
+ resetTimeout() {
70
+ this.isIdle = !1, this.timeoutHandler && (clearTimeout(this.timeoutHandler), this.timeoutHandler = void 0), this.timeoutHandler = setTimeout(
71
+ this.handleTimeout.bind(this),
72
+ this.remainingTime || this.options.timeout
73
+ ), this.startTime = Date.now();
74
+ }
75
+ handleEvent = (event) => {
76
+ try {
77
+ if (this.remainingTime > 0)
78
+ return;
79
+ if (event.type === "mousemove") {
80
+ const { clientX, clientY } = event;
81
+ if (clientX === void 0 && clientY === void 0 || clientX === this.lastClientX && clientY === this.lastClientY)
82
+ return;
83
+ this.lastClientX = clientX, this.lastClientY = clientY;
84
+ }
85
+ this.resetTimeout(), this.callback({ isIdle: this.isIdle, eventType: event.type, instance: this });
86
+ } catch (error) {
87
+ throw new Error(`[IdleTimeout](handleEvent) ${error}`);
88
+ }
89
+ };
90
+ handleTimeout() {
91
+ this.isIdle = !0, this.callback({ isIdle: this.isIdle, instance: this }), this.options.once && this.destroy();
92
+ }
93
+ get destroyed() {
94
+ return this.isDestroy;
95
+ }
96
+ get timeout() {
97
+ return this.options.timeout;
98
+ }
99
+ set timeout(value) {
100
+ this.options.timeout = value;
101
+ }
102
+ get idle() {
103
+ return this.isIdle;
104
+ }
105
+ set idle(value) {
106
+ value ? this.handleTimeout() : this.reset(), this.callback({ isIdle: this.isIdle, instance: this });
107
+ }
108
+ }
2
109
  function useIdleTimeout({
3
110
  callback,
4
111
  options
@@ -1,42 +1,5 @@
1
- import { n as normalizeString } from "../chunks/normalizeString.CFe2M8S_.js";
2
- import { computed, toValue } from "vue";
3
- function levenshteinDistance(string1, string2) {
4
- const length1 = string1.length, length2 = string2.length, matrix = [];
5
- for (let index = 0; index <= length1; index++)
6
- matrix[index] = [index];
7
- for (let index = 0; index <= length2; index++)
8
- matrix[0][index] = index;
9
- for (let index = 1; index <= length1; index++)
10
- for (let index_ = 1; index_ <= length2; index_++) {
11
- const cost = string1[index - 1] === string2[index_ - 1] ? 0 : 1;
12
- matrix[index][index_] = Math.min(
13
- matrix[index - 1][index_] + 1,
14
- matrix[index][index_ - 1] + 1,
15
- matrix[index - 1][index_ - 1] + cost
16
- );
17
- }
18
- return matrix[length1][length2];
19
- }
20
- function getMatchingScore(string1, string2) {
21
- const distance = levenshteinDistance(string1, string2), maxLength = Math.max(string1.length, string2.length);
22
- return 1 - distance / maxLength;
23
- }
24
- function getMatchingResults(string1, string2, threshold = 0.75) {
25
- return getMatchingScore(string1, string2) >= threshold;
26
- }
27
- function useStringMatching(string1, string2, threshold = 0.75) {
28
- const _string1 = computed(
29
- () => normalizeString(toValue(string1))
30
- ), _string2 = computed(
31
- () => normalizeString(toValue(string2))
32
- ), _threshold = computed(() => toValue(threshold)), score = computed(() => getMatchingScore(_string1.value, _string2.value));
33
- return {
34
- isMatching: computed(
35
- () => getMatchingResults(_string1.value, _string2.value, _threshold.value)
36
- ),
37
- score
38
- };
39
- }
1
+ import { u } from "../chunks/useStringMatching.D5UvsCUS.js";
2
+ import "vue";
40
3
  export {
41
- useStringMatching
4
+ u as useStringMatching
42
5
  };
@@ -1,5 +1,81 @@
1
- import { S as Swipe } from "../chunks/swipeHandler.8emelhOL.js";
2
1
  import { ref, computed, toValue } from "vue";
2
+ const defaultOptions = {
3
+ preventDefaultOnTouchMove: !1,
4
+ preventDefaultOnMouseWheel: !1,
5
+ threshold: 50,
6
+ immediate: !1,
7
+ triggerOnEnd: !1
8
+ };
9
+ class Swipe {
10
+ constructor(inputOption) {
11
+ this.inputOption = inputOption, this.options = { ...defaultOptions, ...inputOption }, this.onToucheStartCallback = this.toucheStartHandler.bind(this), this.onToucheMoveCallback = this.handleTouchMove.bind(this), this.onToucheEndCallback = this.handleTouchEnd.bind(this), this.onMouseWheelCallback = this.handleMouseWheel.bind(this), this.start = this.startListening.bind(this), this.stop = this.stopListening.bind(this), this.options.element && this.setElement(this.options.element), this.options.immediate && this.start();
12
+ }
13
+ element;
14
+ xStart;
15
+ yStart;
16
+ xEnd;
17
+ yEnd;
18
+ xDiff;
19
+ yDiff;
20
+ onToucheStartCallback;
21
+ onToucheMoveCallback;
22
+ onToucheEndCallback;
23
+ onMouseWheelCallback;
24
+ start;
25
+ stop;
26
+ options;
27
+ startListening() {
28
+ this.setElement(this.options.element), this.element?.addEventListener("touchstart", this.onToucheStartCallback, { passive: !0 }), this.element?.addEventListener("touchmove", this.onToucheMoveCallback, { passive: !0 }), this.options.triggerOnEnd && this.element?.addEventListener("touchend", this.onToucheEndCallback, { passive: !0 }), this.options.preventDefaultOnMouseWheel && this.element?.addEventListener("mousewheel", this.onMouseWheelCallback, { passive: !1 });
29
+ }
30
+ stopListening() {
31
+ this.element?.removeEventListener("touchstart", this.onToucheStartCallback), this.element?.removeEventListener("touchmove", this.onToucheMoveCallback), this.element?.removeEventListener("touchend", this.onToucheEndCallback), this.options.preventDefaultOnMouseWheel && this.element?.removeEventListener("mousewheel", this.onMouseWheelCallback);
32
+ }
33
+ setElement(element) {
34
+ if (!element) {
35
+ console.error(
36
+ "[maz-ui][SwipeHandler](setElement) Element should be provided. Its can be a string selector or an HTMLElement"
37
+ );
38
+ return;
39
+ }
40
+ if (typeof element == "string") {
41
+ const foundElement = document.querySelector(element);
42
+ if (!(foundElement instanceof HTMLElement)) {
43
+ console.error("[maz-ui][SwipeHandler](setElement) String selector for element is not found");
44
+ return;
45
+ }
46
+ this.element = foundElement;
47
+ } else
48
+ this.element = element;
49
+ }
50
+ handleMouseWheel(event) {
51
+ event.preventDefault();
52
+ }
53
+ toucheStartHandler(event) {
54
+ this.xStart = event.touches[0].clientX, this.yStart = event.touches[0].clientY, this.emitValuesChanged();
55
+ }
56
+ emitValuesChanged() {
57
+ this.options.onValuesChanged?.({
58
+ xStart: this.xStart,
59
+ yStart: this.yStart,
60
+ xEnd: this.xEnd,
61
+ yEnd: this.yEnd,
62
+ xDiff: this.xDiff,
63
+ yDiff: this.yDiff
64
+ });
65
+ }
66
+ handleTouchMove(event) {
67
+ this.options.preventDefaultOnTouchMove && event.cancelable && event.preventDefault(), this.xEnd = event.touches[0].clientX, this.yEnd = event.touches[0].clientY, !(!this.xStart || !this.yStart) && (this.xDiff = this.xStart - this.xEnd, this.yDiff = this.yStart - this.yEnd, this.emitValuesChanged(), this.options.triggerOnEnd || this.runCallbacks(event));
68
+ }
69
+ handleTouchEnd(event) {
70
+ this.runCallbacks(event), this.emitValuesChanged();
71
+ }
72
+ runCallbacks(event) {
73
+ typeof this.xDiff != "number" || typeof this.yDiff != "number" || Math.abs(this.xDiff) < this.options.threshold && Math.abs(this.yDiff) < this.options.threshold || (Math.abs(this.xDiff) > Math.abs(this.yDiff) ? this.xDiff > 0 ? this.options.onLeft?.(event) : this.options.onRight?.(event) : this.yDiff > 0 ? this.options.onUp?.(event) : this.options.onDown?.(event), this.resetValues());
74
+ }
75
+ resetValues() {
76
+ this.xStart = void 0, this.yStart = void 0, this.xEnd = void 0, this.yEnd = void 0, this.xDiff = void 0, this.yDiff = void 0, this.emitValuesChanged();
77
+ }
78
+ }
3
79
  function useSwipe(options) {
4
80
  const xDiff = ref(), yDiff = ref(), xStart = ref(), xEnd = ref(), yStart = ref(), yEnd = ref(), element = computed(() => toValue(options.element)), swiper = new Swipe({
5
81
  ...options,
@@ -1,4 +1,50 @@
1
- import { U as UserVisibility } from "../chunks/userVisibility.BbQSJASv.js";
1
+ import { i as isClient } from "../chunks/isClient.WI4oSt66.js";
2
+ class UserVisibility {
3
+ constructor(callback, options) {
4
+ this.callback = callback, this.options = {
5
+ ...this.defaultOptions,
6
+ ...options
7
+ }, this.eventHandlerFunction = this.eventHandler.bind(this), isClient() && this.start();
8
+ }
9
+ eventHandlerFunction;
10
+ event = "visibilitychange";
11
+ timeoutHandler;
12
+ options;
13
+ defaultOptions = {
14
+ timeout: 5e3,
15
+ once: !1,
16
+ immediate: !0
17
+ };
18
+ isVisible = !1;
19
+ start() {
20
+ if (!isClient()) {
21
+ console.warn("[UserVisibility](start) you should run this method on client side");
22
+ return;
23
+ }
24
+ this.options.immediate && this.emitCallback(), this.addEventListener();
25
+ }
26
+ emitCallback() {
27
+ this.isVisible = document.visibilityState === "visible", this.callback({ isVisible: this.isVisible }), this.options.once && this.destroy();
28
+ }
29
+ eventHandler() {
30
+ document.visibilityState === "visible" && !this.isVisible ? (this.clearTimeout(), this.emitCallback()) : document.visibilityState === "hidden" && this.initTimeout();
31
+ }
32
+ clearTimeout() {
33
+ this.timeoutHandler && (clearTimeout(this.timeoutHandler), this.timeoutHandler = void 0);
34
+ }
35
+ initTimeout() {
36
+ this.clearTimeout(), this.timeoutHandler = setTimeout(this.emitCallback.bind(this), this.options.timeout);
37
+ }
38
+ addEventListener() {
39
+ document.addEventListener(this.event, this.eventHandlerFunction);
40
+ }
41
+ removeEventListener() {
42
+ document.removeEventListener(this.event, this.eventHandlerFunction);
43
+ }
44
+ destroy() {
45
+ this.removeEventListener(), this.timeoutHandler && clearTimeout(this.timeoutHandler);
46
+ }
47
+ }
2
48
  function useUserVisibility({
3
49
  callback,
4
50
  options
@@ -1,16 +1,16 @@
1
- import { vClickOutside, vClickOutsideInstall } from "./vClickOutside.js";
1
+ import { d, p } from "../chunks/vClickOutside.C69k0jaG.js";
2
2
  import { vFullscreenImgInstall } from "./vFullscreenImg.js";
3
3
  import { vLazyImgInstall } from "./vLazyImg.js";
4
4
  import { vTooltip, vTooltipInstall } from "./vTooltip.js";
5
5
  import { vZoomImg, vZoomImgInstall } from "./vZoomImg.js";
6
- import { d } from "../chunks/fullscreen-img.directive.CyOHexcO.js";
7
- import { d as d2 } from "../chunks/lazy-img.directive.D5zCo3Zi.js";
6
+ import { d as d2 } from "../chunks/fullscreen-img.directive.ClMlhEtN.js";
7
+ import { d as d3 } from "../chunks/lazy-img.directive.D5zCo3Zi.js";
8
8
  export {
9
- vClickOutside,
10
- vClickOutsideInstall,
11
- d as vFullscreenImg,
9
+ d as vClickOutside,
10
+ p as vClickOutsideInstall,
11
+ d2 as vFullscreenImg,
12
12
  vFullscreenImgInstall,
13
- d2 as vLazyImg,
13
+ d3 as vLazyImg,
14
14
  vLazyImgInstall,
15
15
  vTooltip,
16
16
  vTooltipInstall,