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
@@ -1,104 +1,6 @@
1
- import { nextTick } from "vue";
2
- import { i as isServer } from "../chunks/isServer.BokzeB-Q.js";
3
- const eventHandlers = /* @__PURE__ */ new WeakMap();
4
- function getEventType() {
5
- return isServer() ? "click" : document.ontouchstart === null ? "touchstart" : "click";
6
- }
7
- function isOptionsObject(value) {
8
- return typeof value == "object" && value !== null && "callback" in value;
9
- }
10
- function getOptionsFromBinding(binding) {
11
- const value = binding.value;
12
- return isOptionsObject(value) ? {
13
- ignore: [],
14
- capture: !1,
15
- once: !1,
16
- stopPropagation: !1,
17
- ...value
18
- } : {
19
- callback: value,
20
- ignore: [],
21
- capture: !1,
22
- once: !1,
23
- stopPropagation: !1
24
- };
25
- }
26
- function shouldIgnoreElement(target, ignoreSelectors) {
27
- return isServer() ? !1 : ignoreSelectors.some((selector) => {
28
- try {
29
- if (target.matches && target.matches(selector) || target.closest && target.closest(selector) !== null)
30
- return !0;
31
- const excludedElement = document.querySelector(selector);
32
- if (excludedElement) {
33
- const elementId = excludedElement.getAttribute("id");
34
- if (elementId && target instanceof HTMLElement && target.getAttribute("id") === elementId || excludedElement.contains(target))
35
- return !0;
36
- }
37
- return !1;
38
- } catch {
39
- return !1;
40
- }
41
- });
42
- }
43
- async function onMounted(el, binding) {
44
- if (!isServer())
45
- try {
46
- onUnmounted(el);
47
- const vm = binding.instance, options = getOptionsFromBinding(binding), { callback, ignore = [], capture = !1, once = !1, stopPropagation = !1 } = options, isCallbackFunction = typeof callback == "function";
48
- if (!isCallbackFunction)
49
- throw new Error("[maz-ui](vClickOutside) the callback should be a function");
50
- await nextTick();
51
- const eventHandler = (event) => {
52
- stopPropagation && event.stopPropagation();
53
- const target = event.target;
54
- if (!target || !el)
55
- return;
56
- const isOutside = !el.contains(target), shouldIgnore = ignore.length > 0 && shouldIgnoreElement(target, ignore);
57
- if (isOutside && !shouldIgnore && callback && isCallbackFunction)
58
- return callback.call(vm, event);
59
- };
60
- eventHandlers.set(el, eventHandler);
61
- const eventType = getEventType(), eventOptions = {
62
- passive: !0,
63
- capture,
64
- once
65
- };
66
- document.addEventListener(eventType, eventHandler, eventOptions);
67
- } catch (error) {
68
- console.error("[maz-ui](vClickOutside)", error);
69
- }
70
- }
71
- function onUnmounted(el) {
72
- if (!isServer())
73
- try {
74
- const eventHandler = eventHandlers.get(el);
75
- if (eventHandler) {
76
- const eventType = getEventType();
77
- document.removeEventListener(eventType, eventHandler, !1), eventHandlers.delete(el);
78
- }
79
- } catch (error) {
80
- console.error("[maz-ui](vClickOutside)", error);
81
- }
82
- }
83
- function onUpdated(el, binding) {
84
- try {
85
- if (binding.value === binding.oldValue)
86
- return;
87
- onMounted(el, binding);
88
- } catch (error) {
89
- console.error("[maz-ui](vClickOutside)", error);
90
- }
91
- }
92
- const directive = {
93
- mounted: onMounted,
94
- updated: onUpdated,
95
- unmounted: onUnmounted
96
- }, plugin = {
97
- install: (app) => {
98
- app.directive("click-outside", directive);
99
- }
100
- };
1
+ import "vue";
2
+ import { d, p } from "../chunks/vClickOutside.C69k0jaG.js";
101
3
  export {
102
- directive as vClickOutside,
103
- plugin as vClickOutsideInstall
4
+ d as vClickOutside,
5
+ p as vClickOutsideInstall
104
6
  };
@@ -1,4 +1,4 @@
1
- import { d as directive } from "../chunks/fullscreen-img.directive.CyOHexcO.js";
1
+ import { d as directive } from "../chunks/fullscreen-img.directive.ClMlhEtN.js";
2
2
  const plugin = {
3
3
  install(app) {
4
4
  app.directive("fullscreen-img", directive);
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";
@@ -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",
@@ -1 +1 @@
1
- export * from '@maz-ui/utils/src/index.js';
1
+ export * from '@maz-ui/utils';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "maz-ui",
3
3
  "type": "module",
4
- "version": "4.0.0-beta.4",
4
+ "version": "4.0.0-beta.5",
5
5
  "description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
6
6
  "author": "Louis Mazel <me@loicmazuel.com>",
7
7
  "license": "MIT",
@@ -183,7 +183,6 @@
183
183
  },
184
184
  "dependencies": {
185
185
  "@maz-ui/cli": "4.0.0-beta.4",
186
- "@maz-ui/icons": "4.0.0-beta.4",
187
186
  "@maz-ui/themes": "4.0.0-beta.4",
188
187
  "@maz-ui/translations": "4.0.0-beta.4",
189
188
  "@maz-ui/utils": "4.0.0-beta.4",
@@ -237,5 +236,5 @@
237
236
  "*.{js,ts,vue,mjs,mts,cjs,md}": "cross-env NODE_ENV=production eslint --fix",
238
237
  "*.{vue,css,scss,postcss,pcss}": "stylelint --fix --allow-empty-input"
239
238
  },
240
- "gitHead": "72d10dc17b2335002ee2a1cf21a62161554a83bb"
239
+ "gitHead": "79d4bf8a5170ae34773a541bb6cb141b1ca0aa04"
241
240
  }
@@ -1,25 +0,0 @@
1
- import { d as debounce } from "./debounce.Brzkn9pm.js";
2
- class TextareaAutogrow {
3
- element;
4
- constructor(element) {
5
- 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();
6
- }
7
- connect() {
8
- this.element.addEventListener("focus", this.onFocus), this.element.style.resize = "none", this.element.style.boxSizing = "border-box";
9
- }
10
- disconnect() {
11
- window.removeEventListener("resize", this.onResize), this.element.removeEventListener("input", this.autogrow);
12
- }
13
- onFocus() {
14
- this.autogrow(), this.element.addEventListener("input", this.autogrow), window.addEventListener("resize", this.onResize), this.element.removeEventListener("focus", this.onFocus);
15
- }
16
- onResize() {
17
- this.autogrow();
18
- }
19
- autogrow() {
20
- this.element.style.height = "auto", this.element.style.overflow = "hidden", this.element.style.height = `${this.element.scrollHeight}px`;
21
- }
22
- }
23
- export {
24
- TextareaAutogrow as T
25
- };
@@ -1,7 +0,0 @@
1
- let timeout = null;
2
- function debounceCallback(callback, delay) {
3
- timeout && clearTimeout(timeout), timeout = setTimeout(callback, delay);
4
- }
5
- export {
6
- debounceCallback as d
7
- };
@@ -1,34 +0,0 @@
1
- const DEFAULT_OPTIONS = {
2
- style: "currency",
3
- minimumFractionDigits: 2,
4
- round: !1
5
- };
6
- function getFormattedCurrency(number, locale, options) {
7
- let numberToFormat = +number;
8
- return options.round && (numberToFormat = Math.floor(numberToFormat), options.minimumFractionDigits = 0), new Intl.NumberFormat(locale, options).format(numberToFormat);
9
- }
10
- function validRequiredAttributes(number, locale, options) {
11
- if (number === void 0)
12
- throw new TypeError("[maz-ui](FilterCurrency) The `number` attribute is required.");
13
- if (locale === void 0)
14
- throw new TypeError("[maz-ui](FilterCurrency) The `locale` attribute is required.");
15
- if (typeof locale != "string")
16
- throw new TypeError("[maz-ui](FilterCurrency) The `locale` attribute must be a string.");
17
- if (options.currency === void 0)
18
- throw new TypeError("[maz-ui](FilterCurrency) The `options.currency` attribute is required.");
19
- }
20
- function formatCurrency(number, locale, options) {
21
- const options_ = {
22
- ...DEFAULT_OPTIONS,
23
- ...options
24
- };
25
- validRequiredAttributes(number, locale, options_);
26
- try {
27
- return getFormattedCurrency(number, locale, options_);
28
- } catch (error) {
29
- throw new Error(`[maz-ui](FilterCurrency) ${error}`);
30
- }
31
- }
32
- export {
33
- formatCurrency as f
34
- };
@@ -1,21 +0,0 @@
1
- const DEFAULT_OPTIONS = {
2
- month: "short",
3
- day: "numeric",
4
- year: "numeric"
5
- };
6
- function formatDate(date, locale, options) {
7
- if (locale === void 0)
8
- throw new TypeError("[maz-ui](FilterDate) The `locale` attribute is required.");
9
- if (typeof locale != "string")
10
- throw new TypeError("[maz-ui](FilterDate) The `locale` attribute must be a string.");
11
- const opts = options ?? DEFAULT_OPTIONS;
12
- try {
13
- const usedDate = date instanceof Date ? date : new Date(date);
14
- return new Intl.DateTimeFormat(locale, opts).format(usedDate);
15
- } catch (error) {
16
- throw new Error(`[maz-ui](FilterDate) ${error}`);
17
- }
18
- }
19
- export {
20
- formatDate as f
21
- };
@@ -1,9 +0,0 @@
1
- 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"];
2
- function getCountryFlagUrl(countryIsoCode, size) {
3
- const code = countryIsoCode.toLowerCase();
4
- if (_supportedCodes.includes(code))
5
- return size ? `https://flagcdn.com/${size}/${code}.png` : `https://flagcdn.com/${code}.svg`;
6
- }
7
- export {
8
- getCountryFlagUrl as g
9
- };
@@ -1,111 +0,0 @@
1
- import { i as isClient } from "./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
- }
109
- export {
110
- IdleTimeout as I
111
- };
@@ -1,6 +0,0 @@
1
- function isServer() {
2
- return typeof document > "u" || typeof window > "u";
3
- }
4
- export {
5
- isServer as i
6
- };
@@ -1,10 +0,0 @@
1
- import { i as isClient } from "./isClient.WI4oSt66.js";
2
- function isStandaloneMode() {
3
- if (!isClient())
4
- return !1;
5
- const nav = navigator, isStandalone = window.matchMedia("(display-mode: standalone)").matches;
6
- return nav.standalone || isStandalone;
7
- }
8
- export {
9
- isStandaloneMode as i
10
- };
@@ -1,11 +0,0 @@
1
- import { c as capitalize } from "./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
- }
8
- export {
9
- camelCase as c,
10
- pascalCase as p
11
- };
@@ -1,80 +0,0 @@
1
- const defaultOptions = {
2
- preventDefaultOnTouchMove: !1,
3
- preventDefaultOnMouseWheel: !1,
4
- threshold: 50,
5
- immediate: !1,
6
- triggerOnEnd: !1
7
- };
8
- class Swipe {
9
- constructor(inputOption) {
10
- 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();
11
- }
12
- element;
13
- xStart;
14
- yStart;
15
- xEnd;
16
- yEnd;
17
- xDiff;
18
- yDiff;
19
- onToucheStartCallback;
20
- onToucheMoveCallback;
21
- onToucheEndCallback;
22
- onMouseWheelCallback;
23
- start;
24
- stop;
25
- options;
26
- startListening() {
27
- 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 });
28
- }
29
- stopListening() {
30
- 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);
31
- }
32
- setElement(element) {
33
- if (!element) {
34
- console.error(
35
- "[maz-ui][SwipeHandler](setElement) Element should be provided. Its can be a string selector or an HTMLElement"
36
- );
37
- return;
38
- }
39
- if (typeof element == "string") {
40
- const foundElement = document.querySelector(element);
41
- if (!(foundElement instanceof HTMLElement)) {
42
- console.error("[maz-ui][SwipeHandler](setElement) String selector for element is not found");
43
- return;
44
- }
45
- this.element = foundElement;
46
- } else
47
- this.element = element;
48
- }
49
- handleMouseWheel(event) {
50
- event.preventDefault();
51
- }
52
- toucheStartHandler(event) {
53
- this.xStart = event.touches[0].clientX, this.yStart = event.touches[0].clientY, this.emitValuesChanged();
54
- }
55
- emitValuesChanged() {
56
- this.options.onValuesChanged?.({
57
- xStart: this.xStart,
58
- yStart: this.yStart,
59
- xEnd: this.xEnd,
60
- yEnd: this.yEnd,
61
- xDiff: this.xDiff,
62
- yDiff: this.yDiff
63
- });
64
- }
65
- handleTouchMove(event) {
66
- 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));
67
- }
68
- handleTouchEnd(event) {
69
- this.runCallbacks(event), this.emitValuesChanged();
70
- }
71
- runCallbacks(event) {
72
- 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());
73
- }
74
- resetValues() {
75
- 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();
76
- }
77
- }
78
- export {
79
- Swipe as S
80
- };