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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (451) hide show
  1. package/dist/assets/MazCheckbox.BFo5eYS6.css +1 -0
  2. package/dist/assets/MazInputPhoneNumber.C-Nw3080.css +1 -0
  3. package/dist/assets/MazLazyImg.NlPRN3Nk.css +1 -0
  4. package/dist/assets/{MazPopover.Bth9NWia.css → MazPopover.COR-tym7.css} +1 -1
  5. package/dist/assets/{MazSelectCountry.D2Qudf0K.css → MazSelectCountry.9RTcDxtM.css} +1 -1
  6. package/dist/chunks/{MazDatePicker.CT5yJhSN.js → MazDatePicker.Bgd0WwZk.js} +30 -12
  7. package/dist/chunks/{MazDropdown.vue_vue_type_style_index_0_lang.abk1IbMX.js → MazDropdown.vue_vue_type_style_index_0_lang.WRjG5bff.js} +8 -15
  8. package/dist/chunks/{MazInputNumber.vue_vue_type_style_index_0_lang.B6DYpHfi.js → MazInputNumber.vue_vue_type_style_index_0_lang.BUOLoXtV.js} +3 -3
  9. package/dist/chunks/{MazInputPhoneNumber.Uwhn1Q9j.js → MazInputPhoneNumber.B7mxCHgU.js} +3 -3
  10. package/dist/chunks/{MazInputPrice.vue_vue_type_script_setup_true_lang.GMKzSu7R.js → MazInputPrice.vue_vue_type_script_setup_true_lang.CT1Y2-_T.js} +33 -3
  11. package/dist/chunks/{MazPickerCalendar.RS6ZMdDK.js → MazPickerCalendar.BkmubImp.js} +1 -1
  12. package/dist/chunks/{MazPickerCalendarMonth.hQBSVkc9.js → MazPickerCalendarMonth.Df2qar5v.js} +1 -1
  13. package/dist/chunks/{MazPickerCalendarSwitcher.Cp2ux3E4.js → MazPickerCalendarSwitcher.DyrEWPLk.js} +4 -4
  14. package/dist/chunks/{MazPickerContainer.DnfB3Dqg.js → MazPickerContainer.B4fyKYAE.js} +1 -1
  15. package/dist/chunks/{MazPickerHeader.Dlz2yJ1D.js → MazPickerHeader.DoXGZZFX.js} +1 -1
  16. package/dist/chunks/{MazPickerMonthSwitcher.BpfCGGxQ.js → MazPickerMonthSwitcher.CXuVHGVq.js} +1 -2
  17. package/dist/chunks/{MazPickerTime.EuWWNfid.js → MazPickerTime.CueS5GPb.js} +1 -1
  18. package/dist/chunks/{MazPickerYearSwitcher.D4aO09D3.js → MazPickerYearSwitcher.DNdhvfKw.js} +1 -2
  19. package/dist/chunks/{MazSwitch.vue_vue_type_style_index_0_lang.DnCjlD6D.js → MazSwitch.vue_vue_type_style_index_0_lang.DQE0vFhe.js} +1 -1
  20. package/dist/chunks/{MazTable.vue_vue_type_script_setup_true_lang.bm7ng8fK.js → MazTable.vue_vue_type_script_setup_true_lang.By5YbgRn.js} +7 -7
  21. package/dist/chunks/{PhoneInput.CPjyZ8Sq.js → PhoneInput.tDA-TWr5.js} +1 -1
  22. package/dist/chunks/academic-cap.BjcfXmGu.CCSXStjO.js +24 -0
  23. package/dist/chunks/adjustments-horizontal.CT-QeIwW.CRspwA1D.js +24 -0
  24. package/dist/chunks/adjustments-vertical.BHXET8iZ.DXKjofVz.js +24 -0
  25. package/dist/chunks/archive-box-arrow-down.DY2jR2sP.D5q20o-C.js +24 -0
  26. package/dist/chunks/archive-box-x-mark.DP7eLVaB.D9lYjTGp.js +24 -0
  27. package/dist/chunks/archive-box.CVwekUWp.CAar5Lvs.js +24 -0
  28. package/dist/chunks/arrow-down-circle.DL2lvwk5.CGlJ9wP0.js +24 -0
  29. package/dist/chunks/arrow-down-left.C3nEVXaG.DsaJ0TwT.js +24 -0
  30. package/dist/chunks/arrow-down-on-square-stack.BKDRxXkf.DOjZT9_M.js +24 -0
  31. package/dist/chunks/arrow-down-on-square.DAMoXY4b.Brdd_BB2.js +24 -0
  32. package/dist/chunks/arrow-down-right.hs3isRLs.9WxtifNr.js +24 -0
  33. package/dist/chunks/arrow-down-tray.w1Emiyu3.yRzoHE0I.js +24 -0
  34. package/dist/chunks/arrow-down.DEawGjfB.CguAHec6.js +24 -0
  35. package/dist/chunks/arrow-left-circle.BlKwmMyr.BF9vGCFO.js +24 -0
  36. package/dist/chunks/arrow-left-end-on-rectangle.BwEAWEQp.D7I0qUqw.js +24 -0
  37. package/dist/chunks/arrow-left-on-rectangle.DabmkYhe.CmIlQ7wf.js +24 -0
  38. package/dist/chunks/arrow-left-start-on-rectangle.BaoR6nlq.BtEBN2A6.js +24 -0
  39. package/dist/chunks/arrow-left.D_6VKA-e.CmQE04VA.js +24 -0
  40. package/dist/chunks/arrow-long-down.5N2s8Cpw.B9JKDT7M.js +24 -0
  41. package/dist/chunks/arrow-long-left.B7AX0id9.CywMhkhH.js +24 -0
  42. package/dist/chunks/arrow-long-right.CKMPfwrE.D3pLqdNX.js +24 -0
  43. package/dist/chunks/arrow-long-up.CT8DU9jc.CIOIdvGB.js +24 -0
  44. package/dist/chunks/arrow-path-rounded-square.65lulTVg.CQh60_RA.js +24 -0
  45. package/dist/chunks/arrow-path.CJ9Wswu_.BlR1BJ4i.js +24 -0
  46. package/dist/chunks/arrow-right-circle.DDZurzmk.DPzHFj8G.js +24 -0
  47. package/dist/chunks/arrow-right-end-on-rectangle.jNNaV464.DfFRTcEu.js +24 -0
  48. package/dist/chunks/arrow-right-on-rectangle.BQLAkJlS.D4JfF9Ov.js +24 -0
  49. package/dist/chunks/arrow-right-start-on-rectangle.DgFTLubq.3qbrqXCj.js +24 -0
  50. package/dist/chunks/arrow-right.h5GY-bzG.CKBQ5VHM.js +24 -0
  51. package/dist/chunks/arrow-small-down.3SdgC1Fw.vODsecnG.js +24 -0
  52. package/dist/chunks/arrow-small-left.Dbw5rTas.C-bYHDKK.js +24 -0
  53. package/dist/chunks/arrow-small-right.DAmxBfl5.n7vH-w9t.js +24 -0
  54. package/dist/chunks/arrow-small-up.WQQD-lUO.FvbI2uG_.js +24 -0
  55. package/dist/chunks/arrow-top-right-on-square.DJeWWj5d.DWV1wrwq.js +24 -0
  56. package/dist/chunks/arrow-trending-down.CSIGp7a0.DLp5ZExP.js +24 -0
  57. package/dist/chunks/arrow-trending-up.BGar-3Mt.Cx6Pgj8o.js +24 -0
  58. package/dist/chunks/arrow-turn-down-left.C4BtwCb-.C7vbo0bi.js +24 -0
  59. package/dist/chunks/arrow-turn-down-right.Cxu2KBHI.J8piVbUW.js +24 -0
  60. package/dist/chunks/arrow-turn-left-down.BfjbBrut.D-KMuKDz.js +24 -0
  61. package/dist/chunks/arrow-turn-left-up.Bsm0aGLO.WVDAyWpM.js +24 -0
  62. package/dist/chunks/arrow-turn-right-down.DH2Wh74o.dNtSWH1C.js +24 -0
  63. package/dist/chunks/arrow-turn-right-up.ou0Uaevi.Buzu0SB-.js +24 -0
  64. package/dist/chunks/arrow-turn-up-left.Bg5YgZsj.Bkn43xjW.js +24 -0
  65. package/dist/chunks/arrow-turn-up-right.mBRM1THn.BNiuRqzk.js +24 -0
  66. package/dist/chunks/arrow-up-circle.Bzu19hQF.aerjnsXO.js +24 -0
  67. package/dist/chunks/arrow-up-left.IRrqyawV.CYNpIPVM.js +24 -0
  68. package/dist/chunks/arrow-up-on-square-stack.C1q8upHF.BtGNYi9R.js +24 -0
  69. package/dist/chunks/arrow-up-on-square.Zzd3wPoG.DSV_2koo.js +24 -0
  70. package/dist/chunks/arrow-up-right.BbJO1c1E.CgNQXpr2.js +24 -0
  71. package/dist/chunks/arrow-up-tray.BYRIGMnv.DVLg9Kkw.js +24 -0
  72. package/dist/chunks/arrow-up.DlpZOcZ-.Dc_qfm_w.js +24 -0
  73. package/dist/chunks/arrow-uturn-down.R4GNIFWx.1xJeI9TW.js +24 -0
  74. package/dist/chunks/arrow-uturn-left.C1uMohdz.DQroNRfS.js +24 -0
  75. package/dist/chunks/arrow-uturn-right.OoQi1rgb.D4ddYi69.js +24 -0
  76. package/dist/chunks/arrow-uturn-up.CA4h-qqY.CRk_dwWh.js +24 -0
  77. package/dist/chunks/arrows-pointing-in.BxJHq5jK.GkaFX_uo.js +24 -0
  78. package/dist/chunks/arrows-pointing-out.DSyAjelZ.DBsKw4zk.js +24 -0
  79. package/dist/chunks/arrows-right-left.CDFOwlcC.QpbG2nK3.js +24 -0
  80. package/dist/chunks/arrows-up-down.CzfSf__L.DQ5gcMh8.js +24 -0
  81. package/dist/chunks/at-symbol.DaUFyuwg.FAKonxFg.js +24 -0
  82. package/dist/chunks/backspace.Cu9cbNxd.DcCOHSU3.js +24 -0
  83. package/dist/chunks/backward.B68JN4JS.CqwNvpdK.js +24 -0
  84. package/dist/chunks/banknotes.Dz4gb6DH.Bc_vmzxh.js +24 -0
  85. package/dist/chunks/bars-2.C0E0O7Qs.BkkB9qGT.js +24 -0
  86. package/dist/chunks/bars-3-bottom-left.DKFMX51P.C0SPJDh6.js +24 -0
  87. package/dist/chunks/bars-3-bottom-right.Ct1xrw2s.KKvQgup3.js +24 -0
  88. package/dist/chunks/bars-3-center-left.DjUpkdr4.DbP3YQA5.js +24 -0
  89. package/dist/chunks/bars-3.B-K8M_78.Cf4kHUcq.js +24 -0
  90. package/dist/chunks/bars-4.BEt3xG4t.CUkKbYOi.js +24 -0
  91. package/dist/chunks/bars-arrow-down.CfQGLJeK.cH_4-4i2.js +24 -0
  92. package/dist/chunks/bars-arrow-up.CNsLQ8yw.Cwfjtvt4.js +24 -0
  93. package/dist/chunks/battery-0.C_-hFpYX.BSF335Bw.js +24 -0
  94. package/dist/chunks/battery-100.B69VsGq_.6MJf6W8Q.js +24 -0
  95. package/dist/chunks/battery-50.1CCBNwk2.xCj7wvTy.js +24 -0
  96. package/dist/chunks/beaker.DFKLDGeW.21Nm6WlZ.js +24 -0
  97. package/dist/chunks/bell-alert.BbDqk2az.D3ABDQ-w.js +24 -0
  98. package/dist/chunks/bell-slash.C3bKvJAV.n68SmjIt.js +24 -0
  99. package/dist/chunks/bell-snooze.C2COKl8x.Bca4lBpS.js +24 -0
  100. package/dist/chunks/bell.Fm9I5urF.DMLNQRjv.js +24 -0
  101. package/dist/chunks/bold.BDPvVUAR.BvlPriBT.js +23 -0
  102. package/dist/chunks/bolt-slash.DZlEBjB4.CEL1Y-CI.js +24 -0
  103. package/dist/chunks/bolt.B8RYziBX.ydwrTz2s.js +24 -0
  104. package/dist/chunks/book-open.CWUGLre3.DXKaHSLM.js +24 -0
  105. package/dist/chunks/bookmark-slash.Ff--gHir.ClEojQnD.js +24 -0
  106. package/dist/chunks/bookmark-square.CJBzX9qk.kdKOPQ-6.js +24 -0
  107. package/dist/chunks/bookmark.Cb2OSlaK.C3oubrJL.js +24 -0
  108. package/dist/chunks/briefcase.CTgTVSEh.DX78R1hk.js +24 -0
  109. package/dist/chunks/bug-ant.B0vPk3_N.Ct6xqXqe.js +24 -0
  110. package/dist/chunks/building-library.BqdrL-Ec.CA7EOKpn.js +24 -0
  111. package/dist/chunks/building-office-2.C1qF28CI.BTj9K19P.js +24 -0
  112. package/dist/chunks/building-office.BR20ANeD.DcYLUjuP.js +24 -0
  113. package/dist/chunks/building-storefront.D_Lbpsda.BBHRe1sf.js +24 -0
  114. package/dist/chunks/cake.Bvc4oe_S.etQ39ySd.js +24 -0
  115. package/dist/chunks/calculator.TIoQepn_.DCacd6Vr.js +24 -0
  116. package/dist/chunks/calendar-date-range.Dy5vs7S_.D2iryGH7.js +24 -0
  117. package/dist/chunks/calendar-days.oMae6t-4.KdXSppPh.js +24 -0
  118. package/dist/chunks/calendar.DxxJBJoK.CeJ8fSPb.js +24 -0
  119. package/dist/chunks/camera.Cm_7RSqq.B2qog63I.js +31 -0
  120. package/dist/chunks/chart-bar-square.C_56q4ax.D88dnWFr.js +24 -0
  121. package/dist/chunks/chart-bar.CR-2VE6U.BpP0YDjf.js +24 -0
  122. package/dist/chunks/chart-pie.CRPh8b79.DKBryPfA.js +31 -0
  123. package/dist/chunks/chat-bubble-bottom-center-text.ChYHSzWk.Bg8ClnIa.js +24 -0
  124. package/dist/chunks/chat-bubble-bottom-center.BTTqABms.D9d0N1iO.js +24 -0
  125. package/dist/chunks/chat-bubble-left-ellipsis.WSEjQ7jL.CjqH2if2.js +24 -0
  126. package/dist/chunks/chat-bubble-left-right.DqOV8vN_.BKm2s-Hz.js +24 -0
  127. package/dist/chunks/chat-bubble-left.BvdvHHlA.zR-JhdYC.js +24 -0
  128. package/dist/chunks/chat-bubble-oval-left-ellipsis.CpHCuPeS.r5W8LOR8.js +24 -0
  129. package/dist/chunks/chat-bubble-oval-left.CdqaR91h.BW9JRF8r.js +24 -0
  130. package/dist/chunks/check-badge.GjHXGEG0.C_oOCt78.js +24 -0
  131. package/dist/chunks/check-circle.CFcKgPZ4.DfY78EtL.js +24 -0
  132. package/dist/chunks/check.DfYjeOVQ.DXNsuRna.js +24 -0
  133. package/dist/chunks/chevron-double-down.CZMayNS1.CisfSsZ8.js +24 -0
  134. package/dist/chunks/chevron-double-left.De8TBs-I.DAucus_w.js +24 -0
  135. package/dist/chunks/chevron-double-right.XnTrUsod.Cuu5xoTt.js +24 -0
  136. package/dist/chunks/chevron-double-up.F7fkhaor.DRJWwQ9F.js +31 -0
  137. package/dist/chunks/chevron-down.ChGfmxD1.CQ7rtF0T.js +24 -0
  138. package/dist/chunks/chevron-left.CTBM8oHi.Ba3U4jcW.js +24 -0
  139. package/dist/chunks/chevron-right.BXTR7Es5.C6KI-hWC.js +24 -0
  140. package/dist/chunks/chevron-up-down.C7-HMAjy.DKw8M2-I.js +24 -0
  141. package/dist/chunks/chevron-up.cK7QDv75.B2N-Hk-6.js +24 -0
  142. package/dist/chunks/circle-stack.BnyTq7sI.1XtJbY6M.js +24 -0
  143. package/dist/chunks/clipboard-document-check.CJ3xBd7t.Br9n89F9.js +24 -0
  144. package/dist/chunks/clipboard-document-list.CF1likOV.D3KAtz_z.js +24 -0
  145. package/dist/chunks/clipboard-document.CdTKuGSv.ChOrKMSS.js +24 -0
  146. package/dist/chunks/clipboard.CzjWQfRH.Da-cebFK.js +24 -0
  147. package/dist/chunks/clock.NNdb3vyA.D3jUXhQ7.js +24 -0
  148. package/dist/chunks/cloud-arrow-down.CvtCNIxh.D1aF62k3.js +24 -0
  149. package/dist/chunks/cloud-arrow-up.D1JeGPbq.C4jLYHme.js +24 -0
  150. package/dist/chunks/cloud.C9fdU5-X.cydYlCh2.js +24 -0
  151. package/dist/chunks/code-bracket-square.BsQyTz1s.BeZZZPk2.js +24 -0
  152. package/dist/chunks/code-bracket.DJDL79-i.B4G6-VO6.js +24 -0
  153. package/dist/chunks/cog-6-tooth.BbV5JYl1.DeTgzUXG.js +31 -0
  154. package/dist/chunks/cog-8-tooth.BnBTLB6M.D8tH-0GQ.js +31 -0
  155. package/dist/chunks/cog.BXgqaz3X.CF2Pe_yh.js +24 -0
  156. package/dist/chunks/command-line.w_Y9_Kkc.BMaD58fF.js +24 -0
  157. package/dist/chunks/computer-desktop.BpRzP4fc.BWRlZKsP.js +24 -0
  158. package/dist/chunks/cpu-chip.ho-tmFIn.ClPQmB5Q.js +24 -0
  159. package/dist/chunks/credit-card.DkrZZI4D.ChD3ISF_.js +24 -0
  160. package/dist/chunks/cube-transparent.C8Wdi45T.CgHVrtio.js +24 -0
  161. package/dist/chunks/cube.B9UcKOKF.DVXGNDI0.js +24 -0
  162. package/dist/chunks/currency-bangladeshi.DzhT0-h5.BhxC0NCe.js +24 -0
  163. package/dist/chunks/currency-dollar.Bfi6fPEz.DxEvUH91.js +24 -0
  164. package/dist/chunks/currency-euro.Jpiq8P6z.C5ljNb5d.js +24 -0
  165. package/dist/chunks/currency-pound.DrqWKbpM.BxOh3Nry.js +24 -0
  166. package/dist/chunks/currency-rupee.DHxnpaCI.Ynrf76Aj.js +24 -0
  167. package/dist/chunks/currency-yen.DQVa07WN.DdpYfRy5.js +24 -0
  168. package/dist/chunks/cursor-arrow-rays.MVP12F6C.hM5N0ZS3.js +24 -0
  169. package/dist/chunks/cursor-arrow-ripple.xLXix2uM.UbRX2pFw.js +24 -0
  170. package/dist/chunks/device-phone-mobile.B-57CfH5.D6VQ256l.js +24 -0
  171. package/dist/chunks/device-tablet.Bjsa72o7.CH-OVJkh.js +24 -0
  172. package/dist/chunks/divide.CV4gt445.Cv9KyNuJ.js +24 -0
  173. package/dist/chunks/document-arrow-down.B_57Gtno.BlZeqf-M.js +24 -0
  174. package/dist/chunks/document-arrow-up.BF_OVDJs.CbEXCmN0.js +24 -0
  175. package/dist/chunks/document-chart-bar.B46OY9CL.CIBAYVab.js +24 -0
  176. package/dist/chunks/document-check.CvLYBdnm.DluZSYpL.js +24 -0
  177. package/dist/chunks/document-currency-bangladeshi.HbXz9Sub.Cew_CE25.js +24 -0
  178. package/dist/chunks/document-currency-dollar.DPjKxFMa.jXB-YTux.js +24 -0
  179. package/dist/chunks/document-currency-euro.C-L5djvR.C9UJW2-n.js +24 -0
  180. package/dist/chunks/document-currency-pound.BzcYNgGa.CgLXYWAs.js +24 -0
  181. package/dist/chunks/document-currency-rupee.DescAEsg.CzFKJayN.js +24 -0
  182. package/dist/chunks/document-currency-yen.CyrkAYT6.B16hPkmM.js +24 -0
  183. package/dist/chunks/document-duplicate.D7vGJG_8.CIombGpo.js +24 -0
  184. package/dist/chunks/document-magnifying-glass.Burq7Xn2.QtA02zrk.js +24 -0
  185. package/dist/chunks/document-minus.DxGQQWCr.kiSQpPdH.js +24 -0
  186. package/dist/chunks/document-plus.DKk5zAwV.H3B6AI11.js +24 -0
  187. package/dist/chunks/document-text.CSCb2U2T.ZDLRpT-o.js +24 -0
  188. package/dist/chunks/document.CS0Ohrgt.DE8cSIrm.js +24 -0
  189. package/dist/chunks/ellipsis-horizontal-circle.BFOXQi09.CTDaeIGM.js +24 -0
  190. package/dist/chunks/ellipsis-horizontal.DqhpkTUz.CclJBCQG.js +24 -0
  191. package/dist/chunks/ellipsis-vertical.B8W0CqqN.B7I6k_qQ.js +24 -0
  192. package/dist/chunks/{en.BzBlrE0C.js → en.Q_4-KljL.js} +12 -0
  193. package/dist/chunks/envelope-open.BQygUrrv.LFK3EzRF.js +24 -0
  194. package/dist/chunks/envelope.DFplr4Iv.Da66rxN8.js +24 -0
  195. package/dist/chunks/equals.Y4339RW6.CKookNbc.js +24 -0
  196. package/dist/chunks/exclamation-circle.PMllX_sR.BiDbdO8o.js +24 -0
  197. package/dist/chunks/exclamation-triangle.DP_ZdqKK.D-pRZiWC.js +24 -0
  198. package/dist/chunks/eye-dropper.BB7xFmZf.CfuOHkRE.js +24 -0
  199. package/dist/chunks/eye-slash.B-Q7zAl9.Z-QG3_NS.js +24 -0
  200. package/dist/chunks/eye.rnBIUryK.CTGdXztX.js +31 -0
  201. package/dist/chunks/face-frown.BdZUKORe.CTMmkA6s.js +24 -0
  202. package/dist/chunks/face-smile.BgHmgpsD.BD0FSBwY.js +24 -0
  203. package/dist/chunks/film.CvtqcSvO.fo_u8ciz.js +24 -0
  204. package/dist/chunks/finger-print.BalGxdl5.lX4SOFcC.js +24 -0
  205. package/dist/chunks/fire.C2S-dlHW.D_I1XNHh.js +31 -0
  206. package/dist/chunks/flag.BDHI8kIc.9T2ghrYf.js +24 -0
  207. package/dist/chunks/folder-arrow-down.CMe8l5qs.CY2PCaTR.js +24 -0
  208. package/dist/chunks/folder-minus.BIP4kiBI.CVSaimPJ.js +24 -0
  209. package/dist/chunks/folder-open.vCqZvh13.CVTeu5UO.js +24 -0
  210. package/dist/chunks/folder-plus.UKgqnCMI.BvhuTxMF.js +24 -0
  211. package/dist/chunks/folder.VY6d7M0v.BjpXSXu9.js +24 -0
  212. package/dist/chunks/fork.Bx0SP5G0.B7BHLQyz.js +49 -0
  213. package/dist/chunks/forward.CJadSay_.BBS11cS_.js +24 -0
  214. package/dist/chunks/{fullscreen-img.directive.CyOHexcO.js → fullscreen-img.directive.ClMlhEtN.js} +4 -4
  215. package/dist/chunks/funnel.CI1X4xTV.C2sbt1gJ.js +24 -0
  216. package/dist/chunks/gif.3w8BBVap.p3RkEv10.js +24 -0
  217. package/dist/chunks/gift-top.DGrJVe5T.LHgvzIEw.js +24 -0
  218. package/dist/chunks/gift.BdjKoMjg.Bf_lfrxv.js +24 -0
  219. package/dist/chunks/github.DR-YREFz.BKzaMPzV.js +20 -0
  220. package/dist/chunks/globe-alt.Ci-4WkuA.Df2W4RpY.js +24 -0
  221. package/dist/chunks/globe-americas.8k4TjYg9.DwAgObeI.js +24 -0
  222. package/dist/chunks/globe-asia-australia.CJy-S58s.BsXl4X35.js +24 -0
  223. package/dist/chunks/globe-europe-africa.Ch0apA4Z.ChCxgvsh.js +24 -0
  224. package/dist/chunks/h1.B0UxaUz3.B-fMNckN.js +24 -0
  225. package/dist/chunks/h2.CoDly_Rk.xn2P59Pu.js +24 -0
  226. package/dist/chunks/h3.BiPu_1GK.BtUGrtqm.js +24 -0
  227. package/dist/chunks/hand-raised.BibTyl03.Bmxt1b7s.js +24 -0
  228. package/dist/chunks/hand-thumb-down.BJoc9FWD.CTxVd9E4.js +24 -0
  229. package/dist/chunks/hand-thumb-up.BZWQJYwr.Byh64TmW.js +24 -0
  230. package/dist/chunks/hashtag.EamZCy49.-5GV13nB.js +24 -0
  231. package/dist/chunks/heart.DvH7fa-0.DC7zVVeb.js +24 -0
  232. package/dist/chunks/home-modern.L4UFeQLe.Q-aoULM-.js +24 -0
  233. package/dist/chunks/home.QELZheLi.CQ5VBdS-.js +24 -0
  234. package/dist/chunks/identification.CU9KU-bX.CFRzYkwU.js +24 -0
  235. package/dist/chunks/inbox-arrow-down.6HTSO1kx.DaoUuGHv.js +24 -0
  236. package/dist/chunks/inbox-stack.BfdiokBq.mWxjLRtV.js +24 -0
  237. package/dist/chunks/inbox.Biazzhd4.cuiJovdp.js +24 -0
  238. package/dist/chunks/index.CvKh762h.js +352 -0
  239. package/dist/chunks/information-circle.yhJPMoUQ.CkqMaCTJ.js +24 -0
  240. package/dist/chunks/italic.njlz_SwH.B8t1zdyt.js +24 -0
  241. package/dist/chunks/key.C8y1z_Nx.CWRIUYtz.js +24 -0
  242. package/dist/chunks/language.1Xs8PuP5.eK68tCI2.js +24 -0
  243. package/dist/chunks/lifebuoy.uldI5FjH.ttPYeOpt.js +24 -0
  244. package/dist/chunks/light-bulb.BnZMjrix.Nn8bb3uA.js +24 -0
  245. package/dist/chunks/link-slash.DYM_8hTp.DbbqWpYf.js +24 -0
  246. package/dist/chunks/link._zvxE-ZN.DCRS1Nhm.js +24 -0
  247. package/dist/chunks/list-bullet.Ck8i-zl1.DYTtynEe.js +24 -0
  248. package/dist/chunks/lock-closed.Do5wxxfB.BoHZR_Cx.js +24 -0
  249. package/dist/chunks/lock-open.DmUSVzU7.CIioMjR4.js +24 -0
  250. package/dist/chunks/magnifying-glass-circle.BBKKo-36.D6LZubsX.js +24 -0
  251. package/dist/chunks/magnifying-glass-minus.D1YH2gJK.DtYqNUQw.js +24 -0
  252. package/dist/chunks/magnifying-glass-plus.BgJ8lfbV.BBOa_lQz.js +24 -0
  253. package/dist/chunks/magnifying-glass.Bi8efyWn.BLzbV1BL.js +24 -0
  254. package/dist/chunks/map-pin.Bxbb--MZ.ea0oLEJ4.js +31 -0
  255. package/dist/chunks/map.DRcXyo0s.DMK4_gRD.js +24 -0
  256. package/dist/chunks/megaphone.BTvu-vIj.H3XYCMYF.js +24 -0
  257. package/dist/chunks/microphone.BJqDhEd7.BsJEAG9l.js +24 -0
  258. package/dist/chunks/minus-circle.DX_Wo_R6.CfihDX_c.js +24 -0
  259. package/dist/chunks/minus-small.BdK3wxa2.BruhEWWT.js +24 -0
  260. package/dist/chunks/minus.KSG6SL-A.Ci3tO7z7.js +24 -0
  261. package/dist/chunks/moon.BAqSTWOk.y5qE-JgT.js +24 -0
  262. package/dist/chunks/musical-note.Erx2eYZM.CeYcRysR.js +24 -0
  263. package/dist/chunks/newspaper.BxEeFWo5.Caqcj866.js +24 -0
  264. package/dist/chunks/no-image.G9oAqLYN.QYfh20At.js +18 -0
  265. package/dist/chunks/no-symbol.v1ZxT7PS.CLiEtcjA.js +24 -0
  266. package/dist/chunks/numbered-list.D4--Brg5.DPb7JWAD.js +24 -0
  267. package/dist/chunks/paint-brush.9Oq01j7X.BaQOU4-k.js +24 -0
  268. package/dist/chunks/paper-airplane.DKx_Ww6M.Dx_A6-r1.js +24 -0
  269. package/dist/chunks/paper-clip.Cd3ICjAc.Di3lmXzN.js +24 -0
  270. package/dist/chunks/pause-circle.Dyaqta5w.Bf5lVO6T.js +24 -0
  271. package/dist/chunks/pause.Xl-ti251.BrVoKvOq.js +24 -0
  272. package/dist/chunks/pencil-square.83G17jv5.BieHF6-5.js +24 -0
  273. package/dist/chunks/pencil.Bv-2uNMw.B6t0Zv85.js +24 -0
  274. package/dist/chunks/percent-badge.BR-COyYt.D9uZiuV4.js +24 -0
  275. package/dist/chunks/phone-arrow-down-left.bgYNFdYw.DlXuTKyQ.js +24 -0
  276. package/dist/chunks/phone-arrow-up-right.DL8xnmCp.B6ny9DGc.js +24 -0
  277. package/dist/chunks/phone-x-mark.EJ8g8Io4.iD9I0F8O.js +24 -0
  278. package/dist/chunks/phone.C9HcOJV4.DR_ydb9P.js +24 -0
  279. package/dist/chunks/photo.D2i5ltv-.Bx4bun8k.js +24 -0
  280. package/dist/chunks/play-circle.sQgQYbxL.DIVhJ_VT.js +31 -0
  281. package/dist/chunks/play-pause.7fATndsv.BlbQnYtP.js +24 -0
  282. package/dist/chunks/play.DPQ51d76.CXxYnamK.js +24 -0
  283. package/dist/chunks/plus-circle.t0rIMK17.CJuEO_hV.js +24 -0
  284. package/dist/chunks/plus-small.q2_UTnSJ.D00Lo6Gm.js +24 -0
  285. package/dist/chunks/plus.B4eFPhg5.Bjb51_89.js +24 -0
  286. package/dist/chunks/power.DbnsGjcP.ADCLCnp1.js +24 -0
  287. package/dist/chunks/presentation-chart-bar.qOHPrVoA.DzoUJVBk.js +24 -0
  288. package/dist/chunks/presentation-chart-line.kt2UcfXU.ByalT4af.js +24 -0
  289. package/dist/chunks/printer.DgYbu-oZ.oyHdK_Er.js +24 -0
  290. package/dist/chunks/puzzle-piece.DPVPnROW.Dj5Pkwqw.js +24 -0
  291. package/dist/chunks/qr-code.Cz6_gY5W.BRQos2fl.js +31 -0
  292. package/dist/chunks/question-mark-circle.BI3Pj1lM.CUkVvnjz.js +24 -0
  293. package/dist/chunks/queue-list.BTtd9gV_.BZqvXCX1.js +24 -0
  294. package/dist/chunks/radio.NXQa70KZ.DcLeSUt8.js +24 -0
  295. package/dist/chunks/receipt-percent.BEffIYGJ.C5vDjent.js +24 -0
  296. package/dist/chunks/receipt-refund.hLJiXRl-.BvT1RelP.js +24 -0
  297. package/dist/chunks/rectangle-group.DUnjEoiP.9pML-9-S.js +24 -0
  298. package/dist/chunks/rectangle-stack.DxfbSUKM.BS0h3Qu8.js +24 -0
  299. package/dist/chunks/rocket-launch.X-OfcjiP.BRHh-FkZ.js +24 -0
  300. package/dist/chunks/rss.BLvK5jPr.CckNH6AG.js +24 -0
  301. package/dist/chunks/scale.DEEYJ6Zk.CXnrDRjc.js +24 -0
  302. package/dist/chunks/scissors.Bu_6BaOX.CgCRjlsD.js +24 -0
  303. package/dist/chunks/server-stack.DmncQkqn.DlXBXJ68.js +24 -0
  304. package/dist/chunks/server.LyXBRSxY.DiraGD0N.js +24 -0
  305. package/dist/chunks/share.Cf9OjBgL.RQldJRZ9.js +24 -0
  306. package/dist/chunks/shield-check.VQpLzd2v.Bv6XREpP.js +24 -0
  307. package/dist/chunks/shield-exclamation.Be0w3_jk.Czs5h8N1.js +24 -0
  308. package/dist/chunks/shopping-bag.CmqEq0ln.Co-ENH4J.js +24 -0
  309. package/dist/chunks/shopping-cart.sDo0rmyp.Dwxg9WFh.js +24 -0
  310. package/dist/chunks/signal-slash.Cj_p1Nk-.Bos1dz3M.js +24 -0
  311. package/dist/chunks/signal.CDdRnntO.zs66muqE.js +24 -0
  312. package/dist/chunks/slash.DLlsJ67p.BovzBFnY.js +24 -0
  313. package/dist/chunks/sparkles.Cl4CxIOA.CJtVBamV.js +24 -0
  314. package/dist/chunks/speaker-wave.Dhz2ha5o.BKHqvdzL.js +24 -0
  315. package/dist/chunks/speaker-x-mark.D5bJpGdc.B-98J4TH.js +24 -0
  316. package/dist/chunks/square-2-stack.B_K3e5Xo.BpuWW3zQ.js +24 -0
  317. package/dist/chunks/square-3-stack-3d.kEZ7HRU8.u3pEG_dB.js +24 -0
  318. package/dist/chunks/squares-2x2.DbpIJWWH.czohOArw.js +24 -0
  319. package/dist/chunks/squares-plus.DJoqsZG-.C56wwQo6.js +24 -0
  320. package/dist/chunks/star-solid.ith3udUr.fI6COBY6.js +22 -0
  321. package/dist/chunks/star.BOm1sCet.CrlFtkIH.js +24 -0
  322. package/dist/chunks/stop-circle.i8k9ENGo.Bvg3kAtp.js +31 -0
  323. package/dist/chunks/stop.BvbL0z5G.BzZa9cz4.js +24 -0
  324. package/dist/chunks/strikethrough.D9IxMEze.CG0o3e8f.js +24 -0
  325. package/dist/chunks/sun.DtlkYkWH.BY6FsaIr.js +24 -0
  326. package/dist/chunks/swatch.BQEbGG5v.mzOiKL2U.js +24 -0
  327. package/dist/chunks/table-cells.DgYgkJao.D_ev8kjA.js +24 -0
  328. package/dist/chunks/tag.9pi2-WVW.AW6frX03.js +31 -0
  329. package/dist/chunks/ticket.CoeaVN1f.D8B_ZCyj.js +24 -0
  330. package/dist/chunks/trash.CKFg-ylA.BeH6WFxu.js +24 -0
  331. package/dist/chunks/trophy.DqS7is9J.BqpYwRUm.js +24 -0
  332. package/dist/chunks/truck.CiPiMFO5.I1lYcatr.js +24 -0
  333. package/dist/chunks/tv.FRI46IJL.DYLIUXzl.js +24 -0
  334. package/dist/chunks/underline.CTS7x7HZ.BTMyDX0M.js +24 -0
  335. package/dist/chunks/{normalizeString.CFe2M8S_.js → useStringMatching.D5UvsCUS.js} +40 -1
  336. package/dist/chunks/user-circle.jg7OpkHK.BzdqSzzl.js +24 -0
  337. package/dist/chunks/user-group.ZzJJeNOR.DqrCBO8z.js +24 -0
  338. package/dist/chunks/user-minus.CFpE7tJo.Cc-_xIha.js +24 -0
  339. package/dist/chunks/user-plus.56xx_RZF.DeJBUlvA.js +24 -0
  340. package/dist/chunks/user.BHnHyDaq.DDyUV-u5.js +24 -0
  341. package/dist/chunks/users.CcE72INP.DbTawkoy.js +24 -0
  342. package/dist/chunks/{utils.BBuYjMbK.js → utils.D9NiqfdV.js} +63 -6
  343. package/dist/chunks/vClickOutside.C69k0jaG.js +107 -0
  344. package/dist/chunks/variable.D2aSg3jI.B9JN_cwv.js +24 -0
  345. package/dist/chunks/video-camera-slash.BwxNb0cm.SnSS7S5P.js +24 -0
  346. package/dist/chunks/video-camera.CoJgwP4F.BmMWt0vs.js +24 -0
  347. package/dist/chunks/view-columns.LoFVFzBR.CIMGv7mf.js +24 -0
  348. package/dist/chunks/viewfinder-circle.CaQlvTWC.CJVVM5_n.js +24 -0
  349. package/dist/chunks/wallet.CqM_mibw.kwMG5OEh.js +24 -0
  350. package/dist/chunks/wifi.DUdIKgQN.DqZ0nPHO.js +24 -0
  351. package/dist/chunks/window.BeFPU0ZR.Cqieba0K.js +24 -0
  352. package/dist/chunks/wrench-screwdriver.BcMJDiuu.Ces3a6-S.js +24 -0
  353. package/dist/chunks/wrench.DhPW3HZx.CNeKEI4i.js +31 -0
  354. package/dist/chunks/x-circle.Bv0-dC8L.BikPLDPw.js +24 -0
  355. package/dist/chunks/x-mark.umAR9tn5.iu8PJ4nS.js +24 -0
  356. package/dist/components/MazAccordion.js +2 -2
  357. package/dist/components/MazAvatar.js +2 -2
  358. package/dist/components/MazBottomSheet.js +2 -2
  359. package/dist/components/MazCard.js +2 -2
  360. package/dist/components/MazCarousel.js +3 -3
  361. package/dist/components/MazCheckbox.js +4 -4
  362. package/dist/components/MazChecklist.js +4 -5
  363. package/dist/components/MazDatePicker.js +1 -1
  364. package/dist/components/MazDialog.js +2 -2
  365. package/dist/components/MazDrawer.js +2 -2
  366. package/dist/components/MazDropdown.js +1 -1
  367. package/dist/components/MazDropzone.js +5 -5
  368. package/dist/components/MazGallery.js +3 -3
  369. package/dist/components/MazInput.js +3 -3
  370. package/dist/components/MazInputNumber.js +1 -1
  371. package/dist/components/MazInputPhoneNumber.js +1 -1
  372. package/dist/components/MazInputPrice.js +1 -1
  373. package/dist/components/MazInputTags.js +2 -2
  374. package/dist/components/MazLazyImg.js +8 -8
  375. package/dist/components/MazLink.js +2 -2
  376. package/dist/components/MazPagination.js +6 -6
  377. package/dist/components/MazPopover.js +14 -13
  378. package/dist/components/MazPullToRefresh.js +7 -2
  379. package/dist/components/MazRadioButtons.js +2 -2
  380. package/dist/components/MazSelect.js +10 -8
  381. package/dist/components/MazSelectCountry.js +9 -4
  382. package/dist/components/MazStepper.js +2 -2
  383. package/dist/components/MazSwitch.js +1 -1
  384. package/dist/components/MazTable.js +2 -2
  385. package/dist/components/MazTableCell.js +1 -1
  386. package/dist/components/MazTableRow.js +1 -1
  387. package/dist/components/MazTableTitle.js +1 -1
  388. package/dist/components/MazTextarea.js +23 -2
  389. package/dist/components/index.js +6 -6
  390. package/dist/composables/index.js +2 -2
  391. package/dist/composables/useAos.js +1 -1
  392. package/dist/composables/useDialog.js +1 -1
  393. package/dist/composables/useFormField.js +1 -2
  394. package/dist/composables/useFormValidator.js +1 -1
  395. package/dist/composables/useIdleTimeout.js +108 -1
  396. package/dist/composables/useInjectStrict.js +2 -2
  397. package/dist/composables/useStringMatching.js +3 -40
  398. package/dist/composables/useSwipe.js +77 -1
  399. package/dist/composables/useToast.js +1 -1
  400. package/dist/composables/useUserVisibility.js +47 -1
  401. package/dist/composables/useWait.js +1 -1
  402. package/dist/directives/index.js +7 -7
  403. package/dist/directives/vClickOutside.js +4 -102
  404. package/dist/directives/vFullscreenImg.js +1 -1
  405. package/dist/directives/vTooltip.js +1 -1
  406. package/dist/index.js +1 -114
  407. package/dist/plugins/maz-ui.js +3 -64
  408. package/dist/plugins/toast.js +7 -7
  409. package/dist/resolvers/MazComponentsResolver.js +7 -1
  410. package/dist/types/components/MazDatePicker.vue.d.ts +11 -11
  411. package/dist/types/components/MazDialogPromise/useMazDialogPromise.d.ts +7 -7
  412. package/dist/types/components/MazDropdown.vue.d.ts +11 -11
  413. package/dist/types/components/MazInputPhoneNumber/useLibphonenumber.d.ts +2 -2
  414. package/dist/types/components/MazInputPhoneNumber/useMazInputPhoneNumber.d.ts +6 -2
  415. package/dist/types/components/MazInputPhoneNumber.vue.d.ts +28 -13
  416. package/dist/types/components/MazLazyImg.vue.d.ts +8 -8
  417. package/dist/types/components/MazPopover.vue.d.ts +10 -10
  418. package/dist/types/components/MazSelectCountry.vue.d.ts +2 -2
  419. package/dist/types/components/index.d.ts +1 -1
  420. package/dist/types/composables/useInjectStrict.d.ts +1 -1
  421. package/dist/types/directives/vClickOutside.d.ts +11 -18
  422. package/dist/types/directives/vFullscreenImg/fullscreen-img.directive.d.ts +3 -5
  423. package/dist/types/directives/vFullscreenImg.d.ts +9 -4
  424. package/dist/types/directives/vLazyImg/lazy-img.directive.d.ts +3 -5
  425. package/dist/types/directives/vLazyImg.d.ts +11 -6
  426. package/dist/types/directives/vTooltip.d.ts +12 -12
  427. package/dist/types/directives/vZoomImg/zoom-img.directive.d.ts +2 -0
  428. package/dist/types/directives/vZoomImg.d.ts +9 -5
  429. package/dist/types/index.d.ts +1 -1
  430. package/dist/types/plugins/aos.d.ts +30 -4
  431. package/dist/types/plugins/dialog.d.ts +2 -4
  432. package/dist/types/plugins/maz-ui.d.ts +2 -63
  433. package/dist/types/plugins/toast.d.ts +2 -4
  434. package/dist/types/plugins/wait.d.ts +2 -3
  435. package/package.json +7 -8
  436. package/dist/assets/MazCheckbox.C_qIngLy.css +0 -1
  437. package/dist/assets/MazInputPhoneNumber.vpA2mrZn.css +0 -1
  438. package/dist/assets/MazLazyImg.BNaVtpfX.css +0 -1
  439. package/dist/chunks/TextareaAutogrow.C22LQx0k.js +0 -25
  440. package/dist/chunks/debounceCallback.B69vn57Q.js +0 -7
  441. package/dist/chunks/formatCurrency.C8NzW9Ii.js +0 -34
  442. package/dist/chunks/formatDate.DZ_OzdnV.js +0 -21
  443. package/dist/chunks/getCountryFlagUrl.dQjriBXx.js +0 -9
  444. package/dist/chunks/idleTimeout.-ICpdeGV.js +0 -111
  445. package/dist/chunks/isServer.BokzeB-Q.js +0 -6
  446. package/dist/chunks/isStandaloneMode.BpUpOTbA.js +0 -10
  447. package/dist/chunks/pascalCase.D_nuQ66I.js +0 -11
  448. package/dist/chunks/swipeHandler.8emelhOL.js +0 -80
  449. package/dist/chunks/throttleId.7PhWZjcS.js +0 -62
  450. package/dist/chunks/userVisibility.BbQSJASv.js +0 -50
  451. package/dist/types/components/MazInputPhoneNumber/types.d.ts +0 -22
@@ -71,7 +71,7 @@ export type { MazLoadingBarProps } from './MazLoadingBar.vue';
71
71
  export { default as MazPagination } from './MazPagination.vue';
72
72
  export type { MazPaginationProps } from './MazPagination.vue';
73
73
  export { default as MazPopover } from './MazPopover.vue';
74
- export type { PopoverPosition as MazPopoverPosition, MazPopoverProps, PopoverRole as MazPopoverRole, PopoverTrigger as MazPopoverTrigger } from './MazPopover.vue';
74
+ export type { MazPopoverPosition, MazPopoverProps, MazPopoverRole, MazPopoverTrigger } from './MazPopover.vue';
75
75
  export { default as MazPullToRefresh } from './MazPullToRefresh.vue';
76
76
  export type { MazPullToRefreshProps } from './MazPullToRefresh.vue';
77
77
  export { default as MazRadio } from './MazRadio.vue';
@@ -1,2 +1,2 @@
1
1
  import { InjectionKey } from 'vue';
2
- export declare function useInjectStrict<T>(key: string | InjectionKey<T> | symbol, fallback?: T): NonNullable<T>;
2
+ export declare function useInjectStrict<T>(key: string | InjectionKey<T> | symbol, fallback?: T, errorMessage?: string): NonNullable<T>;
@@ -1,4 +1,4 @@
1
- import { DirectiveBinding } from 'vue';
1
+ import { ObjectDirective, Plugin } from 'vue';
2
2
  interface VClickOutsideOptions {
3
3
  /**
4
4
  * The callback function to be called when the element is clicked outside.
@@ -24,20 +24,13 @@ interface VClickOutsideOptions {
24
24
  /**
25
25
  * The value of the v-click-outside directive.
26
26
  */
27
- type vClickOutsideBindingValue = ((...args: any[]) => any) | VClickOutsideOptions;
28
- /**
29
- * The binding of the v-click-outside directive.
30
- */
31
- type vClickOutsideDirectiveBinding = DirectiveBinding<vClickOutsideBindingValue>;
32
- declare function onMounted(el: HTMLElement, binding: vClickOutsideDirectiveBinding): Promise<void>;
33
- declare function onUnmounted(el: HTMLElement): void;
34
- declare function onUpdated(el: HTMLElement, binding: vClickOutsideDirectiveBinding): void;
35
- declare const directive: {
36
- mounted: typeof onMounted;
37
- updated: typeof onUpdated;
38
- unmounted: typeof onUnmounted;
39
- };
40
- declare const plugin: {
41
- install: (app: import('vue').App<any>) => void;
42
- };
43
- export { directive as vClickOutside, type vClickOutsideBindingValue, plugin as vClickOutsideInstall, type VClickOutsideOptions, };
27
+ type VClickOutsideBindingValue = ((...args: any[]) => any) | VClickOutsideOptions;
28
+ export type VClickOutsideDirective = ObjectDirective<HTMLElement, VClickOutsideBindingValue>;
29
+ declare const directive: VClickOutsideDirective;
30
+ declare const plugin: Plugin;
31
+ export { directive as vClickOutside, type VClickOutsideBindingValue, plugin as vClickOutsideInstall, type VClickOutsideOptions, };
32
+ declare module 'vue' {
33
+ interface GlobalDirectives {
34
+ vClickOutside: VClickOutsideDirective;
35
+ }
36
+ }
@@ -1,7 +1,5 @@
1
+ import { ObjectDirective } from 'vue';
1
2
  import { VFullscreenImgBindingValue } from './fullscreen-img.handler';
2
- declare const directive: {
3
- mounted(el: HTMLElement, binding: import('vue').DirectiveBinding<VFullscreenImgBindingValue, string, string>): void;
4
- updated(el: HTMLElement, binding: import('vue').DirectiveBinding<VFullscreenImgBindingValue, string, string>): void;
5
- unmounted(el: HTMLElement): void;
6
- };
3
+ export type VFullscreenImgDirective = ObjectDirective<HTMLElement, VFullscreenImgBindingValue>;
4
+ declare const directive: VFullscreenImgDirective;
7
5
  export { directive as vFullscreenImg };
@@ -1,6 +1,11 @@
1
- declare const plugin: {
2
- install(app: import('vue').App<any>): void;
3
- };
1
+ import { Plugin } from 'vue';
2
+ import { VFullscreenImgDirective } from './vFullscreenImg/fullscreen-img.directive';
3
+ declare const plugin: Plugin;
4
4
  export { plugin as vFullscreenImgInstall };
5
- export { vFullscreenImg } from './vFullscreenImg/fullscreen-img.directive';
5
+ export { vFullscreenImg, type VFullscreenImgDirective } from './vFullscreenImg/fullscreen-img.directive';
6
6
  export type { VFullscreenImgBindingValue, VFullscreenImgOptions } from './vFullscreenImg/fullscreen-img.handler';
7
+ declare module 'vue' {
8
+ interface GlobalDirectives {
9
+ vFullscreenImg: VFullscreenImgDirective;
10
+ }
11
+ }
@@ -1,7 +1,5 @@
1
+ import { ObjectDirective } from 'vue';
1
2
  import { VLazyImgBindingValue } from './lazy-img.handler';
2
- declare const directive: {
3
- created(el: HTMLElement, binding: import('vue').DirectiveBinding<VLazyImgBindingValue, string, string>): void;
4
- updated(el: HTMLElement, binding: import('vue').DirectiveBinding<VLazyImgBindingValue, string, string>): void;
5
- unmounted(el: HTMLElement, binding: import('vue').DirectiveBinding<VLazyImgBindingValue, string, string>): void;
6
- };
3
+ export type VLazyImgDirective = ObjectDirective<HTMLElement, VLazyImgBindingValue>;
4
+ declare const directive: VLazyImgDirective;
7
5
  export { directive as vLazyImg };
@@ -1,7 +1,12 @@
1
- import { VLazyImgBindingValue, VLazyImgOptions } from './vLazyImg/types';
2
- declare const plugin: {
3
- install(app: import('vue').App<any>, opts?: Partial<import('./vLazyImg/types').ClassOptions>): void;
4
- };
5
- export { vLazyImg } from './vLazyImg/lazy-img.directive';
1
+ import { Plugin } from 'vue';
2
+ import { VLazyImgDirective } from './vLazyImg/lazy-img.directive';
3
+ import { VLazyImgOptions } from './vLazyImg/types';
4
+ declare const plugin: Plugin<[VLazyImgOptions?]>;
5
+ export { vLazyImg, type VLazyImgDirective } from './vLazyImg/lazy-img.directive';
6
6
  export { plugin as vLazyImgInstall };
7
- export type { VLazyImgBindingValue, VLazyImgOptions };
7
+ export type { VLazyImgBindingValue, VLazyImgOptions } from './vLazyImg/types';
8
+ declare module 'vue' {
9
+ interface GlobalDirectives {
10
+ vLazyImg: VLazyImgDirective;
11
+ }
12
+ }
@@ -1,5 +1,5 @@
1
- import { DirectiveBinding } from 'vue';
2
- import { MazPopoverProps, PopoverPosition, PopoverTrigger } from '../components/MazPopover.vue';
1
+ import { DirectiveBinding, ObjectDirective, Plugin } from 'vue';
2
+ import { MazPopoverPosition, MazPopoverProps, MazPopoverTrigger } from '../components/MazPopover.vue';
3
3
  interface VTooltipOptions extends Partial<Omit<MazPopoverProps, 'modelValue'>> {
4
4
  /**
5
5
  * Text to display in the tooltip
@@ -19,12 +19,12 @@ interface VTooltipOptions extends Partial<Omit<MazPopoverProps, 'modelValue'>> {
19
19
  * The preferred position is set to 'top' if no position is provided
20
20
  * @default undefined
21
21
  */
22
- position?: PopoverPosition;
22
+ position?: MazPopoverPosition;
23
23
  /**
24
24
  * Trigger of the tooltip
25
25
  * @default hover
26
26
  */
27
- trigger?: PopoverTrigger;
27
+ trigger?: MazPopoverTrigger;
28
28
  /**
29
29
  * Close on click outside
30
30
  * @default false
@@ -43,12 +43,12 @@ interface VTooltipOptions extends Partial<Omit<MazPopoverProps, 'modelValue'>> {
43
43
  }
44
44
  type VTooltipBindingValue = string | VTooltipOptions;
45
45
  export type TooltipBinding = DirectiveBinding<VTooltipBindingValue, NonNullable<MazPopoverProps['position']>>;
46
- declare const directive: {
47
- mounted(el: HTMLElement, binding: TooltipBinding): void;
48
- updated(el: HTMLElement, binding: TooltipBinding): void;
49
- unmounted(el: HTMLElement): void;
50
- };
51
- declare const plugin: {
52
- install: (app: import('vue').App<any>, options?: Partial<VTooltipOptions>) => void;
53
- };
46
+ export type VTooltipDirective = ObjectDirective<HTMLElement, VTooltipBindingValue, NonNullable<MazPopoverProps['position']>>;
47
+ declare const directive: VTooltipDirective;
48
+ declare const plugin: Plugin<[Partial<VTooltipOptions>?]>;
54
49
  export { directive as vTooltip, type VTooltipBindingValue, plugin as vTooltipInstall, type VTooltipOptions, };
50
+ declare module 'vue' {
51
+ interface GlobalDirectives {
52
+ vTooltip: VTooltipDirective;
53
+ }
54
+ }
@@ -1,4 +1,6 @@
1
+ import { ObjectDirective } from 'vue';
1
2
  import { VZoomImgBindingValue } from './zoom-img.handler';
3
+ export type VZoomImgDirective = ObjectDirective<HTMLElement, VZoomImgBindingValue>;
2
4
  export declare const vZoomImg: {
3
5
  created(el: HTMLElement, binding: import('vue').DirectiveBinding<VZoomImgBindingValue, string, string>): void;
4
6
  updated(_el: HTMLElement, binding: import('vue').DirectiveBinding<VZoomImgBindingValue, string, string>): void;
@@ -1,6 +1,10 @@
1
- import { vZoomImg } from './vZoomImg/zoom-img.directive';
2
- declare const plugin: {
3
- install(app: import('vue').App<any>): void;
4
- };
5
- export { vZoomImg, plugin as vZoomImgInstall };
1
+ import { Plugin } from 'vue';
2
+ import { vZoomImg, VZoomImgDirective } from './vZoomImg/zoom-img.directive';
3
+ declare const plugin: Plugin;
4
+ export { vZoomImg, type VZoomImgDirective, plugin as vZoomImgInstall };
6
5
  export type { VZoomImgBindingValue } from './vZoomImg/zoom-img.handler';
6
+ declare module 'vue' {
7
+ interface GlobalDirectives {
8
+ vZoomImg: VZoomImgDirective;
9
+ }
10
+ }
@@ -1 +1 @@
1
- export * from '@maz-ui/utils/src/index.js';
1
+ export * from '@maz-ui/utils';
@@ -1,13 +1,41 @@
1
- import { App } from 'vue';
1
+ import { Plugin } from 'vue';
2
2
  import { Router } from 'vue-router';
3
3
  export interface AosOptions {
4
4
  animation?: {
5
+ /**
6
+ * The delay of the animation
7
+ * @default 0
8
+ */
5
9
  delay?: number;
10
+ /**
11
+ * The duration of the animation
12
+ * @default 300
13
+ */
6
14
  duration?: number;
15
+ /**
16
+ * If true, the animation will be triggered only once
17
+ * @default true
18
+ */
7
19
  once?: boolean;
8
20
  };
21
+ /**
22
+ * The delay before the animation starts
23
+ * @default 100
24
+ */
9
25
  delay?: number;
26
+ /**
27
+ * The observer options
28
+ * @default {
29
+ * root: undefined,
30
+ * rootMargin: '0px',
31
+ * threshold: 0.2,
32
+ * }
33
+ */
10
34
  observer?: IntersectionObserverInit;
35
+ /**
36
+ * The router instance to trigger the animation on route change
37
+ * @default undefined
38
+ */
11
39
  router?: Router;
12
40
  }
13
41
  interface ClassOptions extends Omit<AosOptions, 'router'> {
@@ -29,9 +57,7 @@ export declare class AosHandler {
29
57
  private handleObserver;
30
58
  runAnimations(): Promise<void> | undefined;
31
59
  }
32
- export declare const AosPlugin: {
33
- install: (app: App, options?: AosOptions) => void;
34
- };
60
+ export declare const AosPlugin: Plugin<[AosOptions?]>;
35
61
  declare module '@vue/runtime-core' {
36
62
  interface ComponentCustomProperties {
37
63
  /**
@@ -1,8 +1,6 @@
1
- import { App } from 'vue';
1
+ import { Plugin } from 'vue';
2
2
  import { DialogOptions, DialogHandler } from './dialog/DialogHandler';
3
- export declare const DialogPlugin: {
4
- install(app: App, options?: DialogOptions): void;
5
- };
3
+ export declare const DialogPlugin: Plugin<[DialogOptions?]>;
6
4
  declare module '@vue/runtime-core' {
7
5
  interface ComponentCustomProperties {
8
6
  /**
@@ -1,5 +1,4 @@
1
- import { VLazyImgOptions, VTooltipOptions } from '../directives';
2
- import { AosOptions, DialogOptions, ToastOptions } from './index';
1
+ import { Plugin } from 'vue';
3
2
  import { MazUiThemeOptions } from '@maz-ui/themes/src/plugin.js';
4
3
  import { MazTranslationsOptions } from '@maz-ui/translations/src/index.js';
5
4
  export interface MazUiOptions {
@@ -13,51 +12,6 @@ export interface MazUiOptions {
13
12
  * Can not be disabled
14
13
  */
15
14
  translations?: MazTranslationsOptions;
16
- plugins?: {
17
- /**
18
- * If true or options are provided, the dialog plugin will be installed
19
- * The dialog plugin configurations are available in the [dialog plugin documentation](./dialog.md)
20
- */
21
- dialog?: boolean | DialogOptions;
22
- /**
23
- * If true or options are provided, the toast plugin will be installed
24
- * The toast plugin configurations
25
- */
26
- toast?: boolean | ToastOptions;
27
- /**
28
- * If true, the wait plugin will be installed
29
- * No global options are available for this plugin
30
- */
31
- wait?: boolean;
32
- /**
33
- * If true or options are provided, the aos plugin will be installed
34
- * The aos plugin configurations
35
- */
36
- aos?: boolean | AosOptions;
37
- };
38
- directives?: {
39
- /**
40
- * If true, the tooltip directive will be installed globally
41
- */
42
- vTooltip?: boolean | VTooltipOptions;
43
- /**
44
- * If true, the lazy-img directive will be installed globally
45
- */
46
- vLazyImg?: boolean | VLazyImgOptions;
47
- /**
48
- * If true, the click-outside directive will be installed globally
49
- */
50
- vClickOutside?: boolean;
51
- /**
52
- * If true, the fullscreen-img directive will be installed globally
53
- */
54
- vFullscreenImg?: boolean;
55
- /**
56
- * If true, the scroll-lock directive will be installed globally
57
- * No global options are available for this plugin
58
- */
59
- vZoomImg?: boolean;
60
- };
61
15
  }
62
16
  /**
63
17
  * @example
@@ -83,22 +37,7 @@ export interface MazUiOptions {
83
37
  * },
84
38
  * },
85
39
  * },
86
- * plugins: {
87
- * dialog: true,
88
- * toast: true,
89
- * wait: true,
90
- * aos: true,
91
- * },
92
- * directives: {
93
- * vTooltip: true,
94
- * vLazyImg: true,
95
- * vClickOutside: true,
96
- * vFullscreenImg: true,
97
- * vZoomImg: true,
98
- * },
99
40
  * })
100
41
  * ```
101
42
  */
102
- export declare const MazUi: {
103
- install(app: import('vue').App<any>, options?: MazUiOptions): Promise<void>;
104
- };
43
+ export declare const MazUi: Plugin<[MazUiOptions?]>;
@@ -1,9 +1,7 @@
1
- import { App } from 'vue';
1
+ import { Plugin } from 'vue';
2
2
  import { ToastOptions } from './toast/types';
3
3
  import { ToastHandler } from './toast/ToastHandler';
4
- export declare const ToastPlugin: {
5
- install(app: App, options?: ToastOptions): void;
6
- };
4
+ export declare const ToastPlugin: Plugin<[ToastOptions?]>;
7
5
  declare module '@vue/runtime-core' {
8
6
  interface ComponentCustomProperties {
9
7
  /**
@@ -1,3 +1,4 @@
1
+ import { Plugin } from 'vue';
1
2
  type LoaderId = string | symbol | number;
2
3
  export declare class WaitHandler {
3
4
  private _loaders;
@@ -8,9 +9,7 @@ export declare class WaitHandler {
8
9
  get anyLoading(): import('vue').ComputedRef<boolean>;
9
10
  }
10
11
  export declare const waitInstance: WaitHandler;
11
- export declare const WaitPlugin: {
12
- install: (app: import('vue').App<any>) => void;
13
- };
12
+ export declare const WaitPlugin: Plugin;
14
13
  declare module '@vue/runtime-core' {
15
14
  interface ComponentCustomProperties {
16
15
  /**
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.3",
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",
@@ -182,10 +182,10 @@
182
182
  }
183
183
  },
184
184
  "dependencies": {
185
- "@maz-ui/cli": "4.0.0-beta.3",
186
- "@maz-ui/themes": "4.0.0-beta.3",
187
- "@maz-ui/translations": "4.0.0-beta.3",
188
- "@maz-ui/utils": "4.0.0-beta.3",
185
+ "@maz-ui/cli": "4.0.0-beta.4",
186
+ "@maz-ui/themes": "4.0.0-beta.4",
187
+ "@maz-ui/translations": "4.0.0-beta.4",
188
+ "@maz-ui/utils": "4.0.0-beta.4",
189
189
  "chart.js": "^4.5.0",
190
190
  "dayjs": "^1.11.13",
191
191
  "libphonenumber-js": "^1.12.9",
@@ -193,8 +193,7 @@
193
193
  "vue-chartjs": "^5.3.2"
194
194
  },
195
195
  "devDependencies": {
196
- "@maz-ui/eslint-config": "4.0.0-beta.1",
197
- "@maz-ui/icons": "4.0.0-beta.3",
196
+ "@maz-ui/eslint-config": "4.0.0-beta.4",
198
197
  "@vitejs/plugin-vue": "^5.2.4",
199
198
  "@vitest/coverage-v8": "^3.2.4",
200
199
  "@vue/compiler-sfc": "^3.5.16",
@@ -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": "f244a338c386a818da90b083800e0fe5f37bf655"
239
+ "gitHead": "79d4bf8a5170ae34773a541bb6cb141b1ca0aa04"
241
240
  }
@@ -1 +0,0 @@
1
- .m-checkbox[data-v-cd527f18]{vertical-align:top;outline-offset:2px;outline:2px solid #0000;align-items:center;gap:.5rem;display:inline-flex;position:relative}.m-checkbox .check-icon[data-v-cd527f18]{--maz-tw-scale-x:0;--maz-tw-scale-y:0;transform:translate(var(--maz-tw-translate-x),var(--maz-tw-translate-y))rotate(var(--maz-tw-rotate))skewX(var(--maz-tw-skew-x))skewY(var(--maz-tw-skew-y))scaleX(var(--maz-tw-scale-x))scaleY(var(--maz-tw-scale-y));transition-property:transform;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-checkbox .check-icon[data-v-cd527f18] path{stroke-width:2.5px}.m-checkbox>span[data-v-cd527f18]{border-radius:calc(var(--maz-radius) - 4px);border-width:var(--maz-border-width);--maz-tw-border-opacity:1;border-color:hsl(var(--maz-border)/var(--maz-tw-border-opacity,1));justify-content:center;align-items:center;transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);display:flex;position:relative}.m-checkbox>span[data-v-cd527f18]:is([class~=dark] *){--maz-tw-border-opacity:1;border-color:hsl(var(--maz-border-400)/var(--maz-tw-border-opacity,1))}.m-checkbox input[data-v-cd527f18]{display:none}.m-checkbox input:not(:checked)~span[data-v-cd527f18]{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background)/var(--maz-tw-bg-opacity,1))}.m-checkbox input:not(:checked)~span[data-v-cd527f18]:is([class~=dark] *){background-color:hsl(var(--maz-background-400)/.6)}.m-checkbox input:checked~span[data-v-cd527f18]{border-color:var(--checkbox-selected-color);background-color:var(--checkbox-selected-color)}.m-checkbox input:checked~span .check-icon[data-v-cd527f18]{--maz-tw-scale-x:1;--maz-tw-scale-y:1;transform:translate(var(--maz-tw-translate-x),var(--maz-tw-translate-y))rotate(var(--maz-tw-rotate))skewX(var(--maz-tw-skew-x))skewY(var(--maz-tw-skew-y))scaleX(var(--maz-tw-scale-x))scaleY(var(--maz-tw-scale-y))}.m-checkbox input:disabled~span[data-v-cd527f18]{--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400)/var(--maz-tw-bg-opacity,1))}.m-checkbox input:disabled~span[data-v-cd527f18]:is([class~=dark] *){--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-300)/var(--maz-tw-bg-opacity,1))}.m-checkbox.--disabled[data-v-cd527f18]{cursor:not-allowed;--maz-tw-text-opacity:1;color:hsl(var(--maz-muted)/var(--maz-tw-text-opacity,1))}.m-checkbox.--disabled input:checked~span[data-v-cd527f18]{--maz-tw-border-opacity:1;border-color:hsl(var(--maz-border)/var(--maz-tw-border-opacity,1))}.m-checkbox.--disabled input:checked~span .check-icon[data-v-cd527f18]{--maz-tw-text-opacity:1;color:hsl(var(--maz-muted)/var(--maz-tw-text-opacity,1))}.m-checkbox[data-v-cd527f18]:not(.--disabled){cursor:pointer}.m-checkbox:not(.--disabled):hover>span[data-v-cd527f18],.m-checkbox:not(.--disabled):focus>span[data-v-cd527f18]{box-shadow:0 0 0 .125rem var(--checkbox-box-shadow-color);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-checkbox__text[data-v-cd527f18]{flex-direction:column;gap:0;display:flex}.m-checkbox__hint[data-v-cd527f18]{--maz-tw-text-opacity:1;color:hsl(var(--maz-muted)/var(--maz-tw-text-opacity,1));font-size:.875rem;line-height:1.25rem}.m-checkbox__hint.--error[data-v-cd527f18]{--maz-tw-text-opacity:1;color:hsl(var(--maz-destructive-600)/var(--maz-tw-text-opacity,1))}.m-checkbox__hint.--success[data-v-cd527f18]{--maz-tw-text-opacity:1;color:hsl(var(--maz-success-600)/var(--maz-tw-text-opacity,1))}.m-checkbox__hint.--warning[data-v-cd527f18]{--maz-tw-text-opacity:1;color:hsl(var(--maz-warning-600)/var(--maz-tw-text-opacity,1))}.m-checkbox.--error>span[data-v-cd527f18],.m-checkbox.--warning>span[data-v-cd527f18],.m-checkbox.--success>span[data-v-cd527f18]{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}
@@ -1 +0,0 @@
1
- .m-input-phone-number[data-v-4fb69048]{vertical-align:top;align-items:center;display:inline-flex;position:relative}.m-input-phone-number.--block[data-v-4fb69048]{width:100%}.m-input-phone-number.--col[data-v-4fb69048]{flex-direction:column}.m-input-phone-number.--col .m-input-phone-number__country-select[data-v-4fb69048],.m-input-phone-number.--col .m-input-phone-number__country-select[data-v-4fb69048] .m-select-country__select{min-width:100%}.m-input-phone-number.--col .m-input-phone-number__country-select[data-v-4fb69048] .m-select-country__select .m-input-wrapper{border-bottom-right-radius:0;border-bottom-left-radius:0;border-top-right-radius:var(--maz-radius)}.m-input-phone-number.--row[data-v-4fb69048]{flex-direction:row}.m-input-phone-number.--row .m-input-phone-number__country-select[data-v-4fb69048] .m-select-country__select .m-input-wrapper{border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0}.m-input-phone-number.--responsive[data-v-4fb69048]{flex-direction:column}@media (min-width:576px){.m-input-phone-number.--responsive[data-v-4fb69048]{flex-direction:row}}.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-4fb69048]{min-width:100%}@media (min-width:576px){.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-4fb69048]{min-width:inherit}}.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-4fb69048] .m-select-country__select{min-width:100%}@media (min-width:576px){.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-4fb69048] .m-select-country__select{min-width:inherit}}.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-4fb69048] .m-input-wrapper{border-bottom-right-radius:0;border-bottom-left-radius:0}@media (min-width:576px){.m-input-phone-number.--responsive .m-input-phone-number__country-select[data-v-4fb69048] .m-input-wrapper{border-bottom-right-radius:var(--maz-radius);border-bottom-left-radius:var(--maz-radius);border-top-right-radius:0;border-bottom-right-radius:0}}.m-input-phone-number__country-list-code[data-v-4fb69048]{text-align:center;--maz-tw-text-opacity:1;min-width:2rem;color:hsl(var(--maz-muted)/var(--maz-tw-text-opacity,1))}
@@ -1 +0,0 @@
1
- .m-lazy-img-component[data-v-203eb0b3]{vertical-align:top;justify-content:center;align-items:center;display:inline-flex;position:relative}.m-lazy-img-component.--block[data-v-203eb0b3],.m-lazy-img-component.--block img[data-v-203eb0b3]{width:100%}.m-lazy-img-component-loader[data-v-203eb0b3]{justify-content:center;align-items:center;display:none;position:absolute;inset:0}.m-lazy-img-component.--height-full img[data-v-203eb0b3]{width:min-content!important;max-width:min-content!important;max-height:100%!important}.m-lazy-img-component.m-lazy-error[data-v-203eb0b3]:not(.m-lazy-fallback){--maz-tw-bg-opacity:1;background-color:hsl(var(--maz-background-400)/var(--maz-tw-bg-opacity,1))}.m-lazy-img-component.m-lazy-error:not(.m-lazy-fallback) img[data-v-203eb0b3]{width:50%;height:50%}.m-lazy-img-component.m-lazy-loading .m-lazy-img-component-loader[data-v-203eb0b3]{display:flex}
@@ -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
- };