maz-ui 3.49.2 → 3.49.3
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.
- package/README.md +123 -43
- package/components/MazAccordion.mjs +1 -1
- package/components/MazAnimatedCounter.mjs +17 -17
- package/components/MazAnimatedElement.mjs +1 -1
- package/components/MazAnimatedText.mjs +1 -1
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBackdrop.mjs +1 -1
- package/components/MazBadge.mjs +1 -1
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.mjs +1 -1
- package/components/MazCarousel.mjs +1 -1
- package/components/MazCheckbox.mjs +1 -1
- package/components/MazChecklist.mjs +1 -1
- package/components/MazCircularProgressBar.mjs +48 -48
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.mjs +1 -1
- package/components/MazDropdown.mjs +1 -1
- package/components/MazDropzone.mjs +1 -1
- package/components/MazExpandAnimation.mjs +1 -1
- package/components/MazFullscreenLoader.mjs +1 -1
- package/components/MazGallery.mjs +1 -1
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.mjs +1 -1
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.mjs +1 -1
- package/components/MazLink.mjs +3 -3
- package/components/MazLoadingBar.mjs +1 -1
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.mjs +1 -1
- package/components/MazRadio.mjs +1 -1
- package/components/MazRadioButtons.mjs +2 -2
- package/components/MazReadingProgressBar.mjs +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider.mjs +1 -1
- package/components/MazSpinner.mjs +1 -1
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.mjs +1 -1
- package/components/MazTable.mjs +1 -1
- package/components/MazTableCell.mjs +1 -1
- package/components/MazTableRow.mjs +1 -1
- package/components/MazTableTitle.mjs +1 -1
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContentItem.mjs +1 -1
- package/components/MazTextarea.mjs +1 -1
- package/components/MazTransitionExpand.mjs +1 -1
- package/components/assets/{MazAnimatedCounter.css → MazAnimatedCounter.D9UJwqkf.css} +1 -1
- package/components/assets/{MazCircularProgressBar.css → MazCircularProgressBar.DYOxvMCy.css} +1 -1
- package/components/assets/MazSelect.KhiI70iv.css +1 -0
- package/components/assets/MazTableCell.Bmbmz3CR.css +1 -0
- package/components/assets/MazTableRow.CEdLSgbg.css +1 -0
- package/components/chunks/{MazAvatar-CuOWgdVG.mjs → MazAvatar.CNx-fB-w.mjs} +2 -2
- package/components/chunks/{MazBadge-tPgFsG6Y.mjs → MazBadge.AdlIDWRs.mjs} +2 -2
- package/components/chunks/{MazBottomSheet-CIXEEUpN.mjs → MazBottomSheet.CgosU2oQ.mjs} +2 -2
- package/components/chunks/MazBtn.1qp5aQ4N.mjs +103 -0
- package/components/chunks/MazBtn.BAflMoEe.mjs +103 -0
- package/components/chunks/MazBtn.BE40HJng.mjs +103 -0
- package/components/chunks/{MazBtn-Bdhu8JTk.mjs → MazBtn.BJh0vN8h.mjs} +3 -3
- package/components/chunks/{MazBtn-Ba8ff2Nu.mjs → MazBtn.BcPKpdoJ.mjs} +3 -3
- package/components/chunks/{MazBtn-9Jk8ZkBq.mjs → MazBtn.BsXkp99v.mjs} +3 -3
- package/components/chunks/MazBtn.C6vJDOgv.mjs +103 -0
- package/components/chunks/MazBtn.CJYzU-Jj.mjs +103 -0
- package/components/chunks/{MazBtn-BT4o0zLa.mjs → MazBtn.CQ7scMZT.mjs} +2 -2
- package/components/chunks/MazBtn.CtfRyE0d.mjs +103 -0
- package/components/chunks/MazBtn.DWNPohkh.mjs +103 -0
- package/components/chunks/{MazBtn-CbTqLKv1.mjs → MazBtn.DmpYZZhK.mjs} +3 -3
- package/components/chunks/MazBtn.NVrWAz8O.mjs +103 -0
- package/components/chunks/MazBtn.h5GSnFKe.mjs +103 -0
- package/components/chunks/{MazCard-CQBFy8r_.mjs → MazCard.D4R5VJTH.mjs} +2 -2
- package/components/chunks/{MazCarousel-Bcn7nKDo.mjs → MazCarousel.tT2IPWU9.mjs} +2 -2
- package/components/chunks/{MazCheckbox-Br41Nrq7.mjs → MazCheckbox.CFDDHjBj.mjs} +4 -4
- package/components/chunks/{MazCheckbox-B8Rnqa6O.mjs → MazCheckbox.L0nhQFjM.mjs} +3 -3
- package/components/chunks/{MazCheckbox-t4i9eR04.mjs → MazCheckbox.UAnkvAoS.mjs} +3 -3
- package/components/chunks/{MazChecklist-DLr57bfX.mjs → MazChecklist.CCPcVVKg.mjs} +4 -4
- package/components/chunks/{MazDialog-ak7mSNff.mjs → MazDialog.OnoOcvOM.mjs} +2 -2
- package/components/chunks/{MazDialogPromise-JvS9f5Of.mjs → MazDialogPromise.DslEyrLO.mjs} +3 -3
- package/components/chunks/{MazDrawer-CTsb4x_4.mjs → MazDrawer.D3JH9lqE.mjs} +2 -2
- package/components/chunks/{MazDropdown-BxMokXYe.mjs → MazDropdown.CDW3gyaa.mjs} +2 -2
- package/components/chunks/{MazDropzone-n0JE92da.mjs → MazDropzone.BWN0kCz3.mjs} +2 -2
- package/components/chunks/{MazExpandAnimation-B04WMwpW.mjs → MazExpandAnimation.NRqY0IYX.mjs} +2 -2
- package/components/chunks/{MazFullscreenLoader-XF8wIEcL.mjs → MazFullscreenLoader.Bynu3Kvu.mjs} +2 -2
- package/components/chunks/{MazGallery-C7Zp1iYc.mjs → MazGallery.2XDJQmg_.mjs} +5 -5
- package/components/chunks/{MazGallery-DdZ3bFvX.mjs → MazGallery.Ck0j45dq.mjs} +4 -4
- package/components/chunks/{MazIcon-DQXhsxp8.mjs → MazIcon.B5KEO0Na.mjs} +1 -1
- package/components/chunks/{MazIcon-mGVzj6Xw.mjs → MazIcon.B5hPzeLk.mjs} +1 -1
- package/components/chunks/MazIcon.BfRXZ8qh.mjs +4 -0
- package/components/chunks/{MazInput-C2_KlBtJ.mjs → MazInput.5Zn7f5zz.mjs} +3 -3
- package/components/chunks/{MazInput-BWHAOFtO.mjs → MazInput.B_V7iI9q.mjs} +4 -4
- package/components/chunks/{MazInput-BK2OXh6D.mjs → MazInput.JrNzZZLk.mjs} +2 -2
- package/components/chunks/{MazInputNumber-Bw6O0AGT.mjs → MazInputNumber.Daeit65q.mjs} +3 -3
- package/components/chunks/{MazInputPrice-BCM9ga_h.mjs → MazInputPrice.24GEm_Lg.mjs} +2 -2
- package/components/chunks/{MazInputTags-B0B93sN-.mjs → MazInputTags.0Z_xEZiL.mjs} +3 -3
- package/components/chunks/{MazLazyImg-D9mlGTCs.mjs → MazLazyImg.BtE4rUvl.mjs} +4 -4
- package/components/chunks/{MazLazyImg-DnJyLBjr.mjs → MazLazyImg.CC9acnrW.mjs} +3 -3
- package/components/chunks/{MazLink-PEtIzV5x.mjs → MazLink.C92ctqOA.mjs} +4 -4
- package/components/chunks/{MazLoadingBar-BjzRnYVR.mjs → MazLoadingBar.J84kR8Ts.mjs} +2 -2
- package/components/chunks/{MazPagination-DKseqKmF.mjs → MazPagination.DgR9Wyv0.mjs} +3 -3
- package/components/chunks/{MazPhoneNumberInput-CPm6LjfT.mjs → MazPhoneNumberInput.BcyaW-S8.mjs} +6 -6
- package/components/chunks/{MazPicker-BHBE1cC_.mjs → MazPicker.z_H1w2TI.mjs} +4 -4
- package/components/chunks/{MazPickerMonthSwitcher-CXfxTBNH.mjs → MazPickerMonthSwitcher.D42-_FwL.mjs} +3 -3
- package/components/chunks/{MazPickerShortcuts-BLuYu65Q.mjs → MazPickerShortcuts.D1UfHxwB.mjs} +2 -2
- package/components/chunks/{MazPickerYearSwitcher-CpSOH48Y.mjs → MazPickerYearSwitcher.BfS0Lz92.mjs} +3 -3
- package/components/chunks/{MazPullToRefresh-a1rT-zWr.mjs → MazPullToRefresh.QikB7FQT.mjs} +2 -2
- package/components/chunks/{MazSelect-uHsahxjj.mjs → MazSelect.ke0PdTcU.mjs} +3 -3
- package/components/chunks/{MazSelect-CdSRiSW9.mjs → MazSelect.vuuMDnLv.mjs} +5 -5
- package/components/chunks/MazSpinner.B4nEYwaU.mjs +34 -0
- package/components/chunks/{MazSpinner-BYlkcKf0.mjs → MazSpinner.B8L6EKV9.mjs} +2 -2
- package/components/chunks/MazSpinner.B9a2gCP3.mjs +34 -0
- package/components/chunks/MazSpinner.CBjYZ4KZ.mjs +34 -0
- package/components/chunks/MazSpinner.CPsKUg_o.mjs +34 -0
- package/components/chunks/MazSpinner.CXGURuw3.mjs +34 -0
- package/components/chunks/MazSpinner.C_i8HP1F.mjs +34 -0
- package/components/chunks/{MazSpinner-B_THFs0t.mjs → MazSpinner.Ce_9sxU7.mjs} +2 -2
- package/components/chunks/MazSpinner.CmN9GG-h.mjs +34 -0
- package/components/chunks/MazSpinner.D9YU6PN7.mjs +34 -0
- package/components/chunks/MazSpinner.DJGs9ccb.mjs +34 -0
- package/components/chunks/MazSpinner.DMR3wKqs.mjs +34 -0
- package/components/chunks/MazSpinner.DP7ZDo4s.mjs +34 -0
- package/components/chunks/{MazSpinner-BEW98Fow.mjs → MazSpinner.DQVV537L.mjs} +2 -2
- package/components/chunks/MazSpinner.DZT5jj-c.mjs +34 -0
- package/components/chunks/MazSpinner.DaGCwMP7.mjs +34 -0
- package/components/chunks/MazSpinner.DdHpWoUe.mjs +34 -0
- package/components/chunks/MazSpinner.Dl1PcqAK.mjs +34 -0
- package/components/chunks/MazSpinner.DnMH7xjZ.mjs +34 -0
- package/components/chunks/{MazSpinner-B698e0ut.mjs → MazSpinner.DsiBNRdi.mjs} +2 -2
- package/components/chunks/MazSpinner.J9PGgQcA.mjs +34 -0
- package/components/chunks/{MazSpinner-B3mUm5mz.mjs → MazSpinner.KYBb2I3W.mjs} +2 -2
- package/components/chunks/MazSpinner.u38Xp-ls.mjs +34 -0
- package/components/chunks/MazSpinner.wdUeBhfS.mjs +34 -0
- package/components/chunks/{MazStepper-DtAqtJjn.mjs → MazStepper.Gxu3fyI5.mjs} +4 -4
- package/components/chunks/{MazTable-B5BMpCK1.mjs → MazTable.Ch8nGfGk.mjs} +2 -2
- package/components/chunks/{MazTableCell-7Ahz87mm.mjs → MazTableCell.JKCc-pLM.mjs} +3 -3
- package/components/chunks/{MazTableRow-B0JiP3mV.mjs → MazTableRow.Brc02APS.mjs} +3 -3
- package/components/chunks/{MazTableTitle-BdajfMLo.mjs → MazTableTitle.CwXDPRXA.mjs} +3 -3
- package/components/chunks/{MazTabsBar-8wchBiYF.mjs → MazTabsBar.fmCbDhYh.mjs} +2 -2
- package/components/chunks/{MazTransitionExpand-BO_9-l3g.mjs → MazTransitionExpand.DL0tmQvU.mjs} +2 -2
- package/modules/chunks/MazBtn.By2sbdh8.cjs +1 -0
- package/{components/chunks/MazBtn-BHD7Xbr_.mjs → modules/chunks/MazBtn.CA5moYsw.mjs} +3 -3
- package/modules/chunks/{MazIcon-u9VBpDx8.cjs → MazIcon.B0hxYaF0.cjs} +1 -1
- package/modules/chunks/{MazIcon-CeCRHfan.mjs → MazIcon.DBGqW7oS.mjs} +1 -1
- package/modules/chunks/MazSpinner.Ci076Hb-.cjs +1 -0
- package/{components/chunks/MazSpinner-BqMt92KT.mjs → modules/chunks/MazSpinner.Cx7mdOJ3.mjs} +2 -2
- package/modules/chunks/index.CnuH12oV.cjs +124 -0
- package/modules/chunks/{index--62sMUK_.mjs → index.DfFhxzWz.mjs} +12 -12
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/package.json +6 -6
- package/components/chunks/MazBtn-DAzJbcTl.mjs +0 -103
- package/components/chunks/MazBtn-DCGXwqRM.mjs +0 -103
- package/components/chunks/MazBtn-DGIjSCP2.mjs +0 -103
- package/components/chunks/MazBtn-DXinft-p.mjs +0 -103
- package/components/chunks/MazBtn-DnpSuILi.mjs +0 -103
- package/components/chunks/MazBtn-GYr50Ap4.mjs +0 -103
- package/components/chunks/MazBtn-IBh1tCot.mjs +0 -103
- package/components/chunks/MazBtn-UDAwHekF.mjs +0 -103
- package/components/chunks/MazIcon-C47uJeFY.mjs +0 -4
- package/components/chunks/MazSpinner-Bs8Z0Ewo.mjs +0 -34
- package/components/chunks/MazSpinner-C-DOH7ou.mjs +0 -34
- package/components/chunks/MazSpinner-C2OD6LW3.mjs +0 -34
- package/components/chunks/MazSpinner-C3zQC9oz.mjs +0 -34
- package/components/chunks/MazSpinner-C5pIord0.mjs +0 -34
- package/components/chunks/MazSpinner-C7_Q1K-e.mjs +0 -34
- package/components/chunks/MazSpinner-C8KOYxzi.mjs +0 -34
- package/components/chunks/MazSpinner-C8zfJPRU.mjs +0 -34
- package/components/chunks/MazSpinner-C_uLffb-.mjs +0 -34
- package/components/chunks/MazSpinner-CodOqnm1.mjs +0 -34
- package/components/chunks/MazSpinner-Cq0S_tbE.mjs +0 -34
- package/components/chunks/MazSpinner-Cu7WoA4N.mjs +0 -34
- package/components/chunks/MazSpinner-CyqPQ7SW.mjs +0 -34
- package/components/chunks/MazSpinner-DV634NYb.mjs +0 -34
- package/components/chunks/MazSpinner-DW_14RuN.mjs +0 -34
- package/components/chunks/MazSpinner-DwQiUPTZ.mjs +0 -34
- package/components/chunks/MazSpinner-XZrAaGeE.mjs +0 -34
- package/components/chunks/MazSpinner-zV6qnXaD.mjs +0 -34
- package/modules/chunks/MazBtn-CvuJewxV.mjs +0 -103
- package/modules/chunks/MazBtn-eZwyrxMU.cjs +0 -1
- package/modules/chunks/MazSpinner-BY5lnQ7u.cjs +0 -1
- package/modules/chunks/MazSpinner-DdDJ5vzJ.mjs +0 -34
- package/modules/chunks/index-Bq7zqUSE.cjs +0 -124
- /package/components/assets/{MazAccordion.css → MazAccordion.DHZxplwt.css} +0 -0
- /package/components/assets/{MazAnimatedElement.css → MazAnimatedElement.XhNfpNyM.css} +0 -0
- /package/components/assets/{MazAnimatedText.css → MazAnimatedText.ztrJF5LY.css} +0 -0
- /package/components/assets/{MazAvatar.css → MazAvatar.CgztJYCP.css} +0 -0
- /package/components/assets/{MazBackdrop.css → MazBackdrop.DPLKrrH6.css} +0 -0
- /package/components/assets/{MazBadge.css → MazBadge.CIY0hr5U.css} +0 -0
- /package/components/assets/{MazBottomSheet.css → MazBottomSheet.BaTeNHYH.css} +0 -0
- /package/components/assets/{MazBtn.css → MazBtn.DRGAvMws.css} +0 -0
- /package/components/assets/{MazCard.css → MazCard.BVy6g9-V.css} +0 -0
- /package/components/assets/{MazCardSpotlight.css → MazCardSpotlight.CrcVk5S1.css} +0 -0
- /package/components/assets/{MazCarousel.css → MazCarousel.Bo1M1Wh3.css} +0 -0
- /package/components/assets/{MazCheckbox.css → MazCheckbox.CA7GJd2c.css} +0 -0
- /package/components/assets/{MazChecklist.css → MazChecklist.B4K89N7e.css} +0 -0
- /package/components/assets/{MazDialog.css → MazDialog.BD4tQQQl.css} +0 -0
- /package/components/assets/{MazDialogPromise.css → MazDialogPromise.BD4tQQQl.css} +0 -0
- /package/components/assets/{MazDrawer.css → MazDrawer.BdI1nBQ8.css} +0 -0
- /package/components/assets/{MazDropdown.css → MazDropdown.CtzsOmDR.css} +0 -0
- /package/components/assets/{MazDropzone.css → MazDropzone.EfEdDH2u.css} +0 -0
- /package/components/assets/{MazExpandAnimation.css → MazExpandAnimation.iDSQfAB4.css} +0 -0
- /package/components/assets/{MazFullscreenLoader.css → MazFullscreenLoader.dL5SG0Ne.css} +0 -0
- /package/components/assets/{MazGallery.css → MazGallery.CKpPdxL0.css} +0 -0
- /package/components/assets/{MazInput.css → MazInput.BAiQiFTc.css} +0 -0
- /package/components/assets/{MazInputCode.css → MazInputCode.DF9-aY4y.css} +0 -0
- /package/components/assets/{MazInputNumber.css → MazInputNumber.fr4Y-AX1.css} +0 -0
- /package/components/assets/{MazInputPrice.css → MazInputPrice.BAiQiFTc.css} +0 -0
- /package/components/assets/{MazInputTags.css → MazInputTags.CZgq4l94.css} +0 -0
- /package/components/assets/{MazLazyImg.css → MazLazyImg.TL9A0G4-.css} +0 -0
- /package/components/assets/{MazLink.css → MazLink.BBYMGbI8.css} +0 -0
- /package/components/assets/{MazLoadingBar.css → MazLoadingBar.ByRp5OgY.css} +0 -0
- /package/components/assets/{MazPagination.css → MazPagination.BGhtdKHn.css} +0 -0
- /package/components/assets/{MazPhoneNumberInput.css → MazPhoneNumberInput.tFz9umj-.css} +0 -0
- /package/components/assets/{MazPicker.css → MazPicker.BlZ4a3b1.css} +0 -0
- /package/components/assets/{MazPickerMonthSwitcher.css → MazPickerMonthSwitcher.Bnp_FbY4.css} +0 -0
- /package/components/assets/{MazPickerShortcuts.css → MazPickerShortcuts.DxPdP3Ky.css} +0 -0
- /package/components/assets/{MazPickerYearSwitcher.css → MazPickerYearSwitcher.BTPNT2u1.css} +0 -0
- /package/components/assets/{MazPullToRefresh.css → MazPullToRefresh.Bvm1bmiW.css} +0 -0
- /package/components/assets/{MazRadio.css → MazRadio.El2ThGGg.css} +0 -0
- /package/components/assets/{MazRadioButtons.css → MazRadioButtons.CB6qMCtm.css} +0 -0
- /package/components/assets/{MazReadingProgressBar.css → MazReadingProgressBar.C4x7V-Bc.css} +0 -0
- /package/components/assets/{MazSelect.css → MazSelect.DNrj4_e-.css} +0 -0
- /package/components/assets/{MazSlider.css → MazSlider.CsKD3vKO.css} +0 -0
- /package/components/assets/{MazSpinner.css → MazSpinner.DQ9_cbMH.css} +0 -0
- /package/components/assets/{MazStepper.css → MazStepper.BbJJgs0b.css} +0 -0
- /package/components/assets/{MazSwitch.css → MazSwitch.DMLND-p2.css} +0 -0
- /package/components/assets/{MazTable.css → MazTable.CLzaJZ6_.css} +0 -0
- /package/components/assets/{MazTableCell.css → MazTableCell.DINPNnIA.css} +0 -0
- /package/components/assets/{MazTableRow.css → MazTableRow.CtlU4Bey.css} +0 -0
- /package/components/assets/{MazTableTitle.css → MazTableTitle.DCRVBhuH.css} +0 -0
- /package/components/assets/{MazTabsBar.css → MazTabsBar.yIJ7lCu6.css} +0 -0
- /package/components/assets/{MazTabsContentItem.css → MazTabsContentItem.CIoBhqeU.css} +0 -0
- /package/components/assets/{MazTextarea.css → MazTextarea.BYPQCeL_.css} +0 -0
- /package/components/assets/{MazTransitionExpand.css → MazTransitionExpand.CvCjUYCg.css} +0 -0
- /package/components/chunks/{MazIcon-Cq1v4J3r.mjs → MazIcon.Cq1v4J3r.mjs} +0 -0
- /package/components/chunks/{_plugin-vue_export-helper-CHgC5LLL.mjs → _plugin-vue_export-helper.CHgC5LLL.mjs} +0 -0
- /package/components/chunks/{arrow-top-right-on-square-jPmYJ34F.mjs → arrow-top-right-on-square.jPmYJ34F.mjs} +0 -0
- /package/components/chunks/{arrow-up-DjSlktWl.mjs → arrow-up.DjSlktWl.mjs} +0 -0
- /package/components/chunks/{check-circle-Bf7AGSQ-.mjs → check-circle.Bf7AGSQ-.mjs} +0 -0
- /package/components/chunks/{check-BmubdHc_.mjs → check.BmubdHc_.mjs} +0 -0
- /package/components/chunks/{check-C9Q_W85g.mjs → check.C9Q_W85g.mjs} +0 -0
- /package/components/chunks/{chevron-double-left-D4-NpyrF.mjs → chevron-double-left.D4-NpyrF.mjs} +0 -0
- /package/components/chunks/{chevron-down-BkvtON3b.mjs → chevron-down.BkvtON3b.mjs} +0 -0
- /package/components/chunks/{chevron-left-BqVOLRdC.mjs → chevron-left.BqVOLRdC.mjs} +0 -0
- /package/components/chunks/{chevron-right-CbjzEeHV.mjs → chevron-right.CbjzEeHV.mjs} +0 -0
- /package/components/chunks/{ellipsis-horizontal-6n158ATI.mjs → ellipsis-horizontal.6n158ATI.mjs} +0 -0
- /package/components/chunks/{examples.mobile.json-tW3aL0qI.mjs → examples.mobile.json.tW3aL0qI.mjs} +0 -0
- /package/components/chunks/{exclamation-circle-CUk0ZajS.mjs → exclamation-circle.CUk0ZajS.mjs} +0 -0
- /package/components/chunks/{exclamation-triangle-Z6d0ygp8.mjs → exclamation-triangle.Z6d0ygp8.mjs} +0 -0
- /package/components/chunks/{eye-slash-BoO00xzs.mjs → eye-slash.BoO00xzs.mjs} +0 -0
- /package/components/chunks/{eye-f8zAUc30.mjs → eye.f8zAUc30.mjs} +0 -0
- /package/components/chunks/{inject-strict-DEDSuzCz.mjs → inject-strict.DEDSuzCz.mjs} +0 -0
- /package/components/chunks/{magnifying-glass--nBiyXot.mjs → magnifying-glass.-nBiyXot.mjs} +0 -0
- /package/components/chunks/{no-photography-BJX8HSus.mjs → no-photography.BJX8HSus.mjs} +0 -0
- /package/components/chunks/{no-photography-PGT8fxs_.mjs → no-photography.PGT8fxs_.mjs} +0 -0
- /package/components/chunks/{no-symbol-CIgKzsrB.mjs → no-symbol.CIgKzsrB.mjs} +0 -0
- /package/components/chunks/{pencil-Z-mPplOz.mjs → pencil.Z-mPplOz.mjs} +0 -0
- /package/components/chunks/{useInstanceUniqId-BkOfxhk8.mjs → useInstanceUniqId.BkOfxhk8.mjs} +0 -0
- /package/components/chunks/{x-mark-CnZwVvA7.mjs → x-mark.CnZwVvA7.mjs} +0 -0
- /package/components/chunks/{x-mark-wyoa-ywi.mjs → x-mark.wyoa-ywi.mjs} +0 -0
- /package/modules/assets/{MazBtn.css → MazBtn.DRGAvMws.css} +0 -0
- /package/modules/assets/{MazSpinner.css → MazSpinner.DQ9_cbMH.css} +0 -0
- /package/modules/assets/{index.css → index.B3s7AfaL.css} +0 -0
- /package/modules/chunks/{arrow-top-right-on-square-PZtr8Zs0.cjs → arrow-top-right-on-square.PZtr8Zs0.cjs} +0 -0
- /package/modules/chunks/{arrow-top-right-on-square-jPmYJ34F.mjs → arrow-top-right-on-square.jPmYJ34F.mjs} +0 -0
- /package/modules/chunks/{check-circle-Bf7AGSQ-.mjs → check-circle.Bf7AGSQ-.mjs} +0 -0
- /package/modules/chunks/{check-circle-D3i-p-t3.cjs → check-circle.D3i-p-t3.cjs} +0 -0
- /package/modules/chunks/{chevron-left-BqVOLRdC.mjs → chevron-left.BqVOLRdC.mjs} +0 -0
- /package/modules/chunks/{chevron-left-Byr9GkwI.cjs → chevron-left.Byr9GkwI.cjs} +0 -0
- /package/modules/chunks/{exclamation-circle-BXs0Yj0f.cjs → exclamation-circle.BXs0Yj0f.cjs} +0 -0
- /package/modules/chunks/{exclamation-circle-CUk0ZajS.mjs → exclamation-circle.CUk0ZajS.mjs} +0 -0
- /package/modules/chunks/{exclamation-triangle-BtW3be9S.cjs → exclamation-triangle.BtW3be9S.cjs} +0 -0
- /package/modules/chunks/{exclamation-triangle-Z6d0ygp8.mjs → exclamation-triangle.Z6d0ygp8.mjs} +0 -0
- /package/modules/chunks/{index-BgyjI1q8.mjs → index.BgyjI1q8.mjs} +0 -0
- /package/modules/chunks/{index-CXVZhyjw.cjs → index.CXVZhyjw.cjs} +0 -0
- /package/modules/chunks/{information-circle-89FseEuJ.cjs → information-circle.89FseEuJ.cjs} +0 -0
- /package/modules/chunks/{information-circle-C7e5b_nL.mjs → information-circle.C7e5b_nL.mjs} +0 -0
- /package/modules/chunks/{link-Br1lfjTR.mjs → link.Br1lfjTR.mjs} +0 -0
- /package/modules/chunks/{link-CUxj8BQ5.cjs → link.CUxj8BQ5.cjs} +0 -0
- /package/modules/chunks/{no-photography-BJX8HSus.mjs → no-photography.BJX8HSus.mjs} +0 -0
- /package/modules/chunks/{no-photography-CLNgmzDi.cjs → no-photography.CLNgmzDi.cjs} +0 -0
- /package/modules/chunks/{x-mark-CnZwVvA7.mjs → x-mark.CnZwVvA7.mjs} +0 -0
- /package/modules/chunks/{x-mark-DW2WXkoF.cjs → x-mark.DW2WXkoF.cjs} +0 -0
package/README.md
CHANGED
|
@@ -1,71 +1,151 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
|
+
<img src="https://maz-ui.com/img/logo.svg" alt="Maz UI Logo" width="100">
|
|
3
|
+
|
|
4
|
+
<h1>Maz UI</h1>
|
|
5
|
+
<p>
|
|
6
|
+
<strong>
|
|
7
|
+
Lightweight and efficient library for Vue 3 & Nuxt 3
|
|
8
|
+
</strong>
|
|
9
|
+
</p>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<p align="center">
|
|
13
|
+
<a href="https://vuejs.org"><img src="https://img.shields.io/badge/vue-3-42b983.svg" alt="vue 3"></a>
|
|
14
|
+
<a href="https://v3.nuxtjs.org"><img src="https://img.shields.io/badge/nuxt-3-42b983.svg" alt="nuxt 3"></a>
|
|
15
|
+
<a href="https://www.npmjs.com/package/maz-ui"><img src="https://img.shields.io/npm/v/maz-ui/latest.svg" alt="npm"></a>
|
|
16
|
+
<a href="https://www.npmjs.com/package/maz-ui"><img src="https://badgen.net/npm/types/maz-ui" alt="types"></a>
|
|
17
|
+
<a href="https://npm-stat.com/charts.html?package=maz-ui"><img src="https://badgen.net/npm/dm/maz-ui" alt="Downloads"></a>
|
|
18
|
+
</p>
|
|
19
|
+
|
|
20
|
+
<p align="center">
|
|
21
|
+
<a href="https://codeclimate.com/github/LouisMazel/maz-ui/maintainability"><img src="https://api.codeclimate.com/v1/badges/6b27047dcf150ccddfac/maintainability" alt="maintainability"></a>
|
|
22
|
+
<a href="https://codeclimate.com/github/LouisMazel/maz-ui/test_coverage"><img src="https://api.codeclimate.com/v1/badges/6b27047dcf150ccddfac/test_coverage" alt="test coverage"></a>
|
|
23
|
+
<img src="https://github.com/LouisMazel/maz-ui/actions/workflows/lib-test-unit.yml/badge.svg" alt="github actions test unit">
|
|
24
|
+
</p>
|
|
25
|
+
|
|
26
|
+
<h3 align="center">
|
|
27
|
+
<a href="https://maz-ui.com">Documentation</a>
|
|
28
|
+
<span> · </span>
|
|
29
|
+
<a href="https://maz-ui.com/guide/getting-started">Getting Started</a>
|
|
30
|
+
<span> · </span>
|
|
31
|
+
<a href="https://maz-ui.com/made-with-maz-ui">Showcase</a>
|
|
32
|
+
</h3>
|
|
33
|
+
|
|
34
|
+
<p align="center">
|
|
35
|
+
<picture>
|
|
36
|
+
<source media="(prefers-color-scheme: dark)" srcset="./resources/dashboard-dark.png">
|
|
37
|
+
<img src="./resources/dashboard-light.png" alt="Maz UI Demo Dashboard" width="100%" style="border-radius: 1rem;">
|
|
38
|
+
</picture>
|
|
39
|
+
<br>
|
|
40
|
+
<sub><i>Example of a dashboard built with Maz UI components</i></sub>
|
|
41
|
+
</p>
|
|
42
|
+
|
|
43
|
+
## ✨ Features
|
|
44
|
+
|
|
45
|
+
- 🎯 **Cherry-pick components** - Use only what you need
|
|
46
|
+
- 🌙 **Dark mode** - Built-in dark mode support
|
|
47
|
+
- 🎨 **Themeable** - Easy to customize with CSS variables
|
|
48
|
+
- 📱 **Responsive** - Mobile-first design approach
|
|
49
|
+
- 🔧 **TypeScript** - Full type support included
|
|
50
|
+
- ⚡️ **Lightweight** - Tree-shakeable, no bloat
|
|
51
|
+
- 🔍 **SSR** - Server-side rendering ready
|
|
52
|
+
|
|
53
|
+
## 🚀 Quick Start
|
|
2
54
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
[](https://www.npmjs.com/package/maz-ui)
|
|
7
|
-
[](https://www.npmjs.com/package/maz-ui)
|
|
8
|
-
[](https://www.npmjs.com/package/maz-ui)
|
|
9
|
-
[](https://npm-stat.com/charts.html?package=maz-ui)
|
|
10
|
-
|
|
11
|
-
<!-- [](https://bundlephobia.com/package/maz-ui)
|
|
12
|
-
[](https://bundlephobia.com/package/maz-ui)
|
|
13
|
-
[](https://bundlephobia.com/package/maz-ui)
|
|
14
|
-
[](https://bundlephobia.com/package/maz-ui) -->
|
|
55
|
+
```bash
|
|
56
|
+
npm install maz-ui
|
|
57
|
+
```
|
|
15
58
|
|
|
16
|
-
|
|
17
|
-
[](https://codeclimate.com/github/LouisMazel/maz-ui/test_coverage)
|
|
18
|
-

|
|
59
|
+
### Vue 3
|
|
19
60
|
|
|
20
|
-
|
|
61
|
+
```ts
|
|
62
|
+
// main.ts
|
|
63
|
+
import 'maz-ui/styles'
|
|
64
|
+
```
|
|
21
65
|
|
|
22
|
-
|
|
66
|
+
#### 💡 Usage
|
|
23
67
|
|
|
24
|
-
|
|
68
|
+
Then, import and use only the components, composables, and more you need:
|
|
25
69
|
|
|
26
|
-
|
|
70
|
+
```vue
|
|
71
|
+
<template>
|
|
72
|
+
<MazBtn>Click me!</MazBtn>
|
|
73
|
+
</template>
|
|
27
74
|
|
|
28
|
-
|
|
75
|
+
<script setup lang="ts">
|
|
76
|
+
import MazBtn from 'maz-ui/components/MazBtn'
|
|
77
|
+
</script>
|
|
78
|
+
```
|
|
29
79
|
|
|
30
|
-
[
|
|
80
|
+
Use provided resolvers to enjoy auto-imports and TypeScript support: [Resolvers documentation](https://maz-ui.com/guide/getting-started#recommendations)
|
|
31
81
|
|
|
32
|
-
|
|
33
|
-
npm install maz-ui
|
|
34
|
-
```
|
|
82
|
+
### Nuxt 3
|
|
35
83
|
|
|
36
|
-
|
|
84
|
+
The Nuxt module automatically:
|
|
37
85
|
|
|
38
|
-
|
|
86
|
+
- Imports all components, plugins, composables and directives on-demand (auto-imports)
|
|
87
|
+
- Includes required styles
|
|
88
|
+
- Provides TypeScript support out of the box
|
|
39
89
|
|
|
40
|
-
|
|
41
|
-
npm install maz-ui
|
|
42
|
-
```
|
|
90
|
+
[See options and more in the documentation](https://maz-ui.com/guide/nuxt)
|
|
43
91
|
|
|
44
92
|
```ts
|
|
45
|
-
// nuxt.config.
|
|
46
|
-
|
|
93
|
+
// nuxt.config.ts
|
|
47
94
|
export default defineNuxtConfig({
|
|
48
95
|
modules: ['maz-ui/nuxt'],
|
|
49
|
-
mazUi: {
|
|
50
|
-
// Options
|
|
51
|
-
},
|
|
52
96
|
})
|
|
53
97
|
```
|
|
54
98
|
|
|
55
|
-
|
|
99
|
+
#### 💡 Usage
|
|
56
100
|
|
|
57
|
-
|
|
101
|
+
No need to import components, plugins, composables or directives, they are all auto-imported.
|
|
58
102
|
|
|
59
|
-
|
|
103
|
+
```vue
|
|
104
|
+
<template>
|
|
105
|
+
<MazBtn @click="toast.success('Hello Maz UI!')"> Click me! </MazBtn>
|
|
106
|
+
</template>
|
|
107
|
+
|
|
108
|
+
<script setup lang="ts">
|
|
109
|
+
const toast = useToast()
|
|
110
|
+
</script>
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## 🎨 Theming Made Easy
|
|
114
|
+
|
|
115
|
+
Customize Maz UI to match your brand with our dedicated CLI tool:
|
|
60
116
|
|
|
61
117
|
```bash
|
|
62
|
-
|
|
118
|
+
# Install the CLI
|
|
119
|
+
npm install -g @mazui/cli
|
|
120
|
+
|
|
121
|
+
# Generate your theme
|
|
122
|
+
maz generate-css-vars
|
|
63
123
|
```
|
|
64
124
|
|
|
65
|
-
|
|
125
|
+
The CLI will automatically:
|
|
126
|
+
|
|
127
|
+
- Generate all color variations
|
|
128
|
+
- Create dark mode variables
|
|
129
|
+
- Output a ready-to-use CSS file
|
|
130
|
+
|
|
131
|
+
To know how configure the CLI, check [theming options](https://maz-ui.com/guide/theme) in our documentation.
|
|
132
|
+
|
|
133
|
+
## 🧰 What's included?
|
|
134
|
+
|
|
135
|
+
- 🧩 [Components](https://maz-ui.com/components/maz-btn) - Beautiful, accessible UI components
|
|
136
|
+
- 🔌 [Plugins](https://maz-ui.com/plugins/dialog) - Powerful plugins for common use cases
|
|
137
|
+
- 🎣 [Composables](https://maz-ui.com/composables/use-form-validator) - Reusable composition functions
|
|
138
|
+
- 📏 [Directives](https://maz-ui.com/directives/fullscreen-img) - Useful Vue directives
|
|
139
|
+
- 🛠️ [Helpers](https://maz-ui.com/helpers/currency) - Useful utilities for common tasks
|
|
140
|
+
|
|
141
|
+
## 🤝 Contributing
|
|
142
|
+
|
|
143
|
+
We're always looking for contributors! Check out our [contribution guide](./CONTRIBUTING.md) to get started.
|
|
66
144
|
|
|
67
|
-
|
|
145
|
+
## 📄 License
|
|
68
146
|
|
|
69
|
-
|
|
147
|
+
[MIT](./LICENSE)
|
|
70
148
|
|
|
71
|
-
|
|
149
|
+
<div align="center">
|
|
150
|
+
<sub>Built with ❤️ by <a href="https://github.com/LouisMazel">Louis Mazel</a></sub>
|
|
151
|
+
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as p, createElementBlock as g, createElementVNode as u, computed as $, useId as V, defineComponent as w, ref as f, onMounted as O, onUnmounted as B, normalizeClass as b, normalizeStyle as k, renderSlot as h, withDirectives as E, vShow as z, mergeModels as A, useModel as x, mergeProps as I, useSlots as L, Fragment as j, renderList as F, createBlock as N, withCtx as M, unref as y, createVNode as S } from "vue";
|
|
2
|
-
import './assets/MazAccordion.css';const R = {
|
|
2
|
+
import './assets/MazAccordion.DHZxplwt.css';const R = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
width: "1em",
|
|
5
5
|
height: "1em",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import './assets/MazAnimatedCounter.css';function
|
|
1
|
+
import { defineComponent as x, ref as g, watch as q, openBlock as C, createElementBlock as M, createElementVNode as T, renderSlot as u, createTextVNode as o, toDisplayString as r } from "vue";
|
|
2
|
+
import './assets/MazAnimatedCounter.D9UJwqkf.css';function v() {
|
|
3
3
|
return typeof document < "u";
|
|
4
4
|
}
|
|
5
|
-
const V = { class: "m-animated-counter m-reset-css" }, $ = { class: "maz-sr-only" }, k = /* @__PURE__ */
|
|
5
|
+
const V = { class: "m-animated-counter m-reset-css" }, $ = { class: "maz-sr-only" }, k = /* @__PURE__ */ x({
|
|
6
6
|
__name: "MazAnimatedCounter",
|
|
7
7
|
props: {
|
|
8
8
|
count: {},
|
|
@@ -12,27 +12,27 @@ const V = { class: "m-animated-counter m-reset-css" }, $ = { class: "maz-sr-only
|
|
|
12
12
|
delay: { default: 100 }
|
|
13
13
|
},
|
|
14
14
|
setup(a) {
|
|
15
|
-
const s = a, t =
|
|
15
|
+
const s = a, t = g(0);
|
|
16
16
|
function i() {
|
|
17
|
-
return
|
|
17
|
+
return !v() || !window.requestAnimationFrame ? (e) => (setTimeout(e, 1e3 / 60), 0) : window.requestAnimationFrame.bind(window);
|
|
18
18
|
}
|
|
19
|
-
function f(e, n,
|
|
20
|
-
const
|
|
21
|
-
if (!
|
|
19
|
+
function f(e, n, c, w) {
|
|
20
|
+
const d = i();
|
|
21
|
+
if (!v()) {
|
|
22
22
|
t.value = n;
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
25
25
|
t.value = e, setTimeout(() => {
|
|
26
|
-
const
|
|
27
|
-
const
|
|
26
|
+
const _ = performance.now(), m = (h = performance.now()) => {
|
|
27
|
+
const y = h - _, l = Math.min(y / c, 1), A = (p) => p * (2 - p);
|
|
28
28
|
t.value = Math.round(
|
|
29
|
-
e + (n - e) *
|
|
30
|
-
), l < 1 &&
|
|
29
|
+
e + (n - e) * A(l)
|
|
30
|
+
), l < 1 && d(m);
|
|
31
31
|
};
|
|
32
|
-
|
|
32
|
+
d(m);
|
|
33
33
|
}, w);
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return q(
|
|
36
36
|
() => s.count,
|
|
37
37
|
(e, n) => {
|
|
38
38
|
if (e === n)
|
|
@@ -40,8 +40,8 @@ const V = { class: "m-animated-counter m-reset-css" }, $ = { class: "maz-sr-only
|
|
|
40
40
|
f(n ?? 0, e, s.duration, s.delay);
|
|
41
41
|
},
|
|
42
42
|
{ immediate: !0 }
|
|
43
|
-
), (e, n) => (
|
|
44
|
-
|
|
43
|
+
), (e, n) => (C(), M("span", V, [
|
|
44
|
+
T("span", $, [
|
|
45
45
|
u(e.$slots, "prefix", {}, () => [
|
|
46
46
|
o(
|
|
47
47
|
r(e.prefix),
|
|
@@ -88,7 +88,7 @@ const V = { class: "m-animated-counter m-reset-css" }, $ = { class: "maz-sr-only
|
|
|
88
88
|
for (const [i, f] of s)
|
|
89
89
|
t[i] = f;
|
|
90
90
|
return t;
|
|
91
|
-
}, B = /* @__PURE__ */ z(k, [["__scopeId", "data-v-
|
|
91
|
+
}, B = /* @__PURE__ */ z(k, [["__scopeId", "data-v-9f3302af"]]);
|
|
92
92
|
export {
|
|
93
93
|
B as default
|
|
94
94
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as r, computed as i, ref as l, onMounted as c, openBlock as d, createElementBlock as m, normalizeStyle as u, renderSlot as f } from "vue";
|
|
2
|
-
import './assets/MazAnimatedElement.css';const v = /* @__PURE__ */ r({
|
|
2
|
+
import './assets/MazAnimatedElement.XhNfpNyM.css';const v = /* @__PURE__ */ r({
|
|
3
3
|
__name: "MazAnimatedElement",
|
|
4
4
|
props: {
|
|
5
5
|
direction: { default: "up" },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as l, defineComponent as A, computed as v, onMounted as z, openBlock as o, createElementBlock as u, createBlock as w, resolveDynamicComponent as g, mergeProps as k, withCtx as x, Fragment as _, renderList as D, createElementVNode as f, normalizeClass as $, normalizeStyle as h, toDisplayString as p, createCommentVNode as C, createTextVNode as b } from "vue";
|
|
2
|
-
import './assets/MazAnimatedText.css';function T(s, r, i) {
|
|
2
|
+
import './assets/MazAnimatedText.ztrJF5LY.css';function T(s, r, i) {
|
|
3
3
|
const t = {
|
|
4
4
|
maxAttempts: 20,
|
|
5
5
|
interval: 100,
|
package/components/MazAvatar.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as L, ref as P, onMounted as V, watch as D, nextTick as B, openBlock as h, createBlock as M, Teleport as N, createVNode as T, Transition as O, withCtx as $, createElementBlock as j, mergeProps as q, createElementVNode as v, normalizeClass as z, withModifiers as F, renderSlot as K, createCommentVNode as I } from "vue";
|
|
2
|
-
import './assets/MazBackdrop.css';const G = {
|
|
2
|
+
import './assets/MazBackdrop.DPLKrrH6.css';const G = {
|
|
3
3
|
role: "dialog",
|
|
4
4
|
class: "m-backdrop-container",
|
|
5
5
|
"aria-modal": "true"
|
package/components/MazBadge.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, openBlock as r, createElementBlock as s, normalizeClass as d, normalizeStyle as p, renderSlot as u } from "vue";
|
|
2
|
-
import './assets/MazBadge.css';const f = /* @__PURE__ */ n({
|
|
2
|
+
import './assets/MazBadge.CIY0hr5U.css';const f = /* @__PURE__ */ n({
|
|
3
3
|
__name: "MazBadge",
|
|
4
4
|
props: {
|
|
5
5
|
color: { default: "primary" },
|
package/components/MazBtn.mjs
CHANGED
package/components/MazCard.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as _, ref as c, computed as m, onMounted as k, onUnmounted as E, openBlock as w, createElementBlock as z, normalizeClass as v, normalizeStyle as b, createElementVNode as i, renderSlot as B, withDirectives as y, vShow as h } from "vue";
|
|
2
|
-
import './assets/MazCardSpotlight.css';const S = { class: "inner" }, $ = /* @__PURE__ */ _({
|
|
2
|
+
import './assets/MazCardSpotlight.CrcVk5S1.css';const S = { class: "inner" }, $ = /* @__PURE__ */ _({
|
|
3
3
|
__name: "MazCardSpotlight",
|
|
4
4
|
props: {
|
|
5
5
|
color: { default: "primary" },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as t, useId as N, openBlock as h, createElementBlock as p, createElementVNode as u, defineComponent as E, ref as _, unref as m, normalizeClass as f, normalizeStyle as c, mergeProps as A, createVNode as $, renderSlot as M, createTextVNode as D, toDisplayString as w, createCommentVNode as R } from "vue";
|
|
2
|
-
import './assets/MazCheckbox.css';function j({
|
|
2
|
+
import './assets/MazCheckbox.CA7GJd2c.css';function j({
|
|
3
3
|
componentName: l,
|
|
4
4
|
providedId: a
|
|
5
5
|
}) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import './assets/MazCircularProgressBar.css';function
|
|
1
|
+
import { computed as l, useId as S, defineComponent as C, ref as A, watch as q, openBlock as m, createElementBlock as g, createElementVNode as a, renderSlot as d, createTextVNode as i, toDisplayString as u, useSlots as I, normalizeStyle as T, unref as w, createBlock as V, createSlots as F, withCtx as x } from "vue";
|
|
2
|
+
import './assets/MazCircularProgressBar.DYOxvMCy.css';function N({
|
|
3
3
|
componentName: n,
|
|
4
|
-
providedId:
|
|
4
|
+
providedId: r
|
|
5
5
|
}) {
|
|
6
|
-
return
|
|
6
|
+
return l(() => r ?? `${n}-${S().replace(/:/g, "")}`);
|
|
7
7
|
}
|
|
8
|
-
function
|
|
8
|
+
function z() {
|
|
9
9
|
return typeof document < "u";
|
|
10
10
|
}
|
|
11
|
-
const b = { class: "m-animated-counter m-reset-css" }, D = { class: "maz-sr-only" }, E = /* @__PURE__ */
|
|
11
|
+
const b = { class: "m-animated-counter m-reset-css" }, D = { class: "maz-sr-only" }, E = /* @__PURE__ */ C({
|
|
12
12
|
__name: "MazAnimatedCounter",
|
|
13
13
|
props: {
|
|
14
14
|
count: {},
|
|
@@ -18,37 +18,37 @@ const b = { class: "m-animated-counter m-reset-css" }, D = { class: "maz-sr-only
|
|
|
18
18
|
delay: { default: 100 }
|
|
19
19
|
},
|
|
20
20
|
setup(n) {
|
|
21
|
-
const
|
|
22
|
-
function
|
|
23
|
-
return
|
|
21
|
+
const r = n, o = A(0);
|
|
22
|
+
function f() {
|
|
23
|
+
return !z() || !window.requestAnimationFrame ? (e) => (setTimeout(e, 1e3 / 60), 0) : window.requestAnimationFrame.bind(window);
|
|
24
24
|
}
|
|
25
|
-
function p(e, s,
|
|
26
|
-
const v =
|
|
27
|
-
if (!
|
|
28
|
-
|
|
25
|
+
function p(e, s, c, h) {
|
|
26
|
+
const v = f();
|
|
27
|
+
if (!z()) {
|
|
28
|
+
o.value = s;
|
|
29
29
|
return;
|
|
30
30
|
}
|
|
31
|
-
|
|
31
|
+
o.value = e, setTimeout(() => {
|
|
32
32
|
const k = performance.now(), t = (y = performance.now()) => {
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
e + (s - e) *
|
|
33
|
+
const B = y - k, _ = Math.min(B / c, 1), M = ($) => $ * (2 - $);
|
|
34
|
+
o.value = Math.round(
|
|
35
|
+
e + (s - e) * M(_)
|
|
36
36
|
), _ < 1 && v(t);
|
|
37
37
|
};
|
|
38
38
|
v(t);
|
|
39
39
|
}, h);
|
|
40
40
|
}
|
|
41
|
-
return
|
|
42
|
-
() =>
|
|
41
|
+
return q(
|
|
42
|
+
() => r.count,
|
|
43
43
|
(e, s) => {
|
|
44
44
|
if (e === s)
|
|
45
45
|
return;
|
|
46
|
-
p(s ?? 0, e,
|
|
46
|
+
p(s ?? 0, e, r.duration, r.delay);
|
|
47
47
|
},
|
|
48
48
|
{ immediate: !0 }
|
|
49
49
|
), (e, s) => (m(), g("span", b, [
|
|
50
50
|
a("span", D, [
|
|
51
|
-
|
|
51
|
+
d(e.$slots, "prefix", {}, () => [
|
|
52
52
|
i(
|
|
53
53
|
u(e.prefix),
|
|
54
54
|
1
|
|
@@ -60,7 +60,7 @@ const b = { class: "m-animated-counter m-reset-css" }, D = { class: "maz-sr-only
|
|
|
60
60
|
1
|
|
61
61
|
/* TEXT */
|
|
62
62
|
),
|
|
63
|
-
|
|
63
|
+
d(e.$slots, "suffix", {}, () => [
|
|
64
64
|
i(
|
|
65
65
|
u(e.suffix),
|
|
66
66
|
1
|
|
@@ -68,7 +68,7 @@ const b = { class: "m-animated-counter m-reset-css" }, D = { class: "maz-sr-only
|
|
|
68
68
|
)
|
|
69
69
|
], !0)
|
|
70
70
|
]),
|
|
71
|
-
|
|
71
|
+
d(e.$slots, "prefix", {}, () => [
|
|
72
72
|
i(
|
|
73
73
|
u(e.prefix),
|
|
74
74
|
1
|
|
@@ -76,11 +76,11 @@ const b = { class: "m-animated-counter m-reset-css" }, D = { class: "maz-sr-only
|
|
|
76
76
|
)
|
|
77
77
|
], !0),
|
|
78
78
|
i(
|
|
79
|
-
u(
|
|
79
|
+
u(o.value),
|
|
80
80
|
1
|
|
81
81
|
/* TEXT */
|
|
82
82
|
),
|
|
83
|
-
|
|
83
|
+
d(e.$slots, "suffix", {}, () => [
|
|
84
84
|
i(
|
|
85
85
|
u(e.suffix),
|
|
86
86
|
1
|
|
@@ -89,17 +89,17 @@ const b = { class: "m-animated-counter m-reset-css" }, D = { class: "maz-sr-only
|
|
|
89
89
|
], !0)
|
|
90
90
|
]));
|
|
91
91
|
}
|
|
92
|
-
}),
|
|
93
|
-
const
|
|
94
|
-
for (const [
|
|
95
|
-
|
|
96
|
-
return
|
|
97
|
-
}, L = /* @__PURE__ */
|
|
92
|
+
}), P = (n, r) => {
|
|
93
|
+
const o = n.__vccOpts || n;
|
|
94
|
+
for (const [f, p] of r)
|
|
95
|
+
o[f] = p;
|
|
96
|
+
return o;
|
|
97
|
+
}, L = /* @__PURE__ */ P(E, [["__scopeId", "data-v-9f3302af"]]), O = { class: "outer" }, W = { class: "inner" }, j = { key: 0 }, G = {
|
|
98
98
|
xmlns: "http://www.w3.org/2000/svg",
|
|
99
99
|
height: "1em",
|
|
100
100
|
width: "1em",
|
|
101
101
|
viewBox: "0 0 100 100"
|
|
102
|
-
}, Q = ["id"], R = ["stop-color"], U = ["stop-color"], H = ["stroke-width", "stroke", "stroke-linecap"], J = /* @__PURE__ */
|
|
102
|
+
}, Q = ["id"], R = ["stop-color"], U = ["stop-color"], H = ["stroke-width", "stroke", "stroke-linecap"], J = /* @__PURE__ */ C({
|
|
103
103
|
__name: "MazCircularProgressBar",
|
|
104
104
|
props: {
|
|
105
105
|
percentage: { default: 0 },
|
|
@@ -117,20 +117,20 @@ const b = { class: "m-animated-counter m-reset-css" }, D = { class: "maz-sr-only
|
|
|
117
117
|
dangerPercentage: { default: 50 }
|
|
118
118
|
},
|
|
119
119
|
setup(n) {
|
|
120
|
-
const
|
|
120
|
+
const r = n, o = I(), f = l(() => !!r.prefix || !!o.prefix), p = l(() => !!r.suffix || !!o.suffix), e = N({
|
|
121
121
|
componentName: "MazCircularProgressBar"
|
|
122
|
-
}), s =
|
|
123
|
-
() =>
|
|
122
|
+
}), s = l(() => r.percentage > 100 ? 100 : r.percentage <= 0 ? 0.5 : r.percentage), c = l(
|
|
123
|
+
() => r.autoColor ? h(s.value) : r.color
|
|
124
124
|
);
|
|
125
125
|
function h(t) {
|
|
126
|
-
return t <
|
|
126
|
+
return t < r.dangerPercentage || t > 100 ? "danger" : t < r.warningPercentage ? "warning" : t >= r.successPercentage ? "success" : "primary";
|
|
127
127
|
}
|
|
128
|
-
const v =
|
|
128
|
+
const v = l(() => `${r.duration}ms`), k = l(() => Math.round(290 - 290 * (s.value / 100)));
|
|
129
129
|
return (t, y) => (m(), g(
|
|
130
130
|
"div",
|
|
131
131
|
{
|
|
132
132
|
class: "m-circular-progress-bar m-reset-css",
|
|
133
|
-
style:
|
|
133
|
+
style: T([
|
|
134
134
|
{
|
|
135
135
|
"--animation-duration": v.value,
|
|
136
136
|
"--dashoffset": k.value
|
|
@@ -143,20 +143,20 @@ const b = { class: "m-animated-counter m-reset-css" }, D = { class: "maz-sr-only
|
|
|
143
143
|
[
|
|
144
144
|
a("div", O, [
|
|
145
145
|
a("div", W, [
|
|
146
|
-
w(
|
|
147
|
-
|
|
148
|
-
])) : (m(),
|
|
146
|
+
w(o).default ? (m(), g("span", j, [
|
|
147
|
+
d(t.$slots, "default", {}, void 0, !0)
|
|
148
|
+
])) : (m(), V(L, {
|
|
149
149
|
key: 1,
|
|
150
150
|
count: t.percentage,
|
|
151
151
|
duration: t.duration
|
|
152
|
-
},
|
|
152
|
+
}, F({
|
|
153
153
|
_: 2
|
|
154
154
|
/* DYNAMIC */
|
|
155
155
|
}, [
|
|
156
|
-
|
|
156
|
+
f.value ? {
|
|
157
157
|
name: "prefix",
|
|
158
158
|
fn: x(() => [
|
|
159
|
-
|
|
159
|
+
d(t.$slots, "prefix", {}, () => [
|
|
160
160
|
i(
|
|
161
161
|
u(t.prefix),
|
|
162
162
|
1
|
|
@@ -169,7 +169,7 @@ const b = { class: "m-animated-counter m-reset-css" }, D = { class: "maz-sr-only
|
|
|
169
169
|
p.value ? {
|
|
170
170
|
name: "suffix",
|
|
171
171
|
fn: x(() => [
|
|
172
|
-
|
|
172
|
+
d(t.$slots, "suffix", {}, () => [
|
|
173
173
|
i(
|
|
174
174
|
u(t.suffix),
|
|
175
175
|
1
|
|
@@ -193,11 +193,11 @@ const b = { class: "m-animated-counter m-reset-css" }, D = { class: "maz-sr-only
|
|
|
193
193
|
}, [
|
|
194
194
|
a("stop", {
|
|
195
195
|
offset: "0%",
|
|
196
|
-
"stop-color":
|
|
196
|
+
"stop-color": c.value ? `var(--maz-color-${c.value}-400)` : "var(--maz-color-primary)"
|
|
197
197
|
}, null, 8, R),
|
|
198
198
|
a("stop", {
|
|
199
199
|
offset: "100%",
|
|
200
|
-
"stop-color":
|
|
200
|
+
"stop-color": c.value ? `var(--maz-color-${c.value}-700)` : "var(--maz-color-secondary)"
|
|
201
201
|
}, null, 8, U)
|
|
202
202
|
], 8, Q)
|
|
203
203
|
]),
|
|
@@ -218,7 +218,7 @@ const b = { class: "m-animated-counter m-reset-css" }, D = { class: "maz-sr-only
|
|
|
218
218
|
/* STYLE */
|
|
219
219
|
));
|
|
220
220
|
}
|
|
221
|
-
}), X = /* @__PURE__ */
|
|
221
|
+
}), X = /* @__PURE__ */ P(J, [["__scopeId", "data-v-73fe8da6"]]);
|
|
222
222
|
export {
|
|
223
223
|
X as default
|
|
224
224
|
};
|
package/components/MazDialog.mjs
CHANGED
package/components/MazDrawer.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as l, mergeModels as u, useModel as m, ref as d, onMounted as f, onUnmounted as v, openBlock as c, createElementBlock as p, normalizeClass as _, normalizeStyle as x, createElementVNode as E, mergeProps as g, renderSlot as h } from "vue";
|
|
2
|
-
import './assets/MazExpandAnimation.css';const M = ["aria-hidden"], y = /* @__PURE__ */ l({
|
|
2
|
+
import './assets/MazExpandAnimation.iDSQfAB4.css';const M = ["aria-hidden"], y = /* @__PURE__ */ l({
|
|
3
3
|
inheritAttrs: !1,
|
|
4
4
|
__name: "MazExpandAnimation",
|
|
5
5
|
props: /* @__PURE__ */ u({
|