maz-ui 4.0.0-beta.5 → 4.0.0-beta.7
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/dist/assets/MazAccordion.DUQCf8vy.css +1 -0
- package/dist/assets/{MazAnimatedCounter.CTG-PC5W.css → MazAnimatedCounter.DkZNPRLp.css} +1 -1
- package/dist/assets/MazAnimatedText.DDqCxrFX.css +1 -0
- package/dist/assets/MazBackdrop.BnhcmjbP.css +1 -0
- package/dist/assets/{MazBtn.BnRxVlqS.css → MazBtn.DUBbj2mt.css} +1 -1
- package/dist/assets/{MazCardSpotlight.Dy-wuLQq.css → MazCardSpotlight.IbPp_y0j.css} +1 -1
- package/dist/assets/MazCheckbox.CFqw9ybT.css +1 -0
- package/dist/assets/MazChecklist.BzF5KtZ3.css +1 -0
- package/dist/assets/MazDatePicker.8GyrtM-j.css +1 -0
- package/dist/assets/{MazDropzone.DafxQwbq.css → MazDropzone.-8lzCrxJ.css} +1 -1
- package/dist/assets/MazInput.BcUsJg7p.css +1 -0
- package/dist/assets/MazInputPhoneNumber.CrXS7DOY.css +1 -0
- package/dist/assets/MazInputTags.DzTGy9z3.css +1 -0
- package/dist/assets/MazLink.wJoKRsCP.css +1 -0
- package/dist/assets/MazPickerCalendarMonth.Boe_8k4x.css +1 -0
- package/dist/assets/MazPickerMonthSwitcher.CszcpCcY.css +1 -0
- package/dist/assets/{MazPickerYearSwitcher.Dl30Dwor.css → MazPickerYearSwitcher.Cn-nS-Vv.css} +1 -1
- package/dist/assets/MazPopover.DzCAfuWw.css +1 -0
- package/dist/assets/MazPullToRefresh.BQ64UvzA.css +1 -0
- package/dist/assets/MazRadio.XGYnbTuB.css +1 -0
- package/dist/assets/MazReadingProgressBar.CwBVXE3g.css +1 -0
- package/dist/assets/MazSelect.Cljh3PVV.css +1 -0
- package/dist/assets/{MazSelectCountry.9RTcDxtM.css → MazSelectCountry.CdNTQPhr.css} +1 -1
- package/dist/assets/{MazSlider.D5SgmZLH.css → MazSlider.y4qpnD0N.css} +1 -1
- package/dist/assets/{MazStepper.DYMde9uq.css → MazStepper.DtWZmm-f.css} +1 -1
- package/dist/assets/MazSwitch.Bxmh2iFj.css +1 -0
- package/dist/assets/{MazTable.B1tkeUfE.css → MazTable.DMlQdImb.css} +1 -1
- package/dist/assets/{MazTabsBar.B9N_jdqU.css → MazTabsBar.gcS2Fc-B.css} +1 -1
- package/dist/assets/MazTextarea.DME7BHS5.css +1 -0
- package/dist/assets/{PhoneInput.CyWO76iq.css → PhoneInput.DBLH22G1.css} +1 -1
- package/dist/assets/{fullscreen-img.pvt6196l.css → fullscreen-img.Bkuz1GOX.css} +1 -1
- package/dist/assets/{toast.kunueRvo.css → toast.CC2VQab8.css} +1 -1
- package/dist/chunks/{MazDatePicker.Bgd0WwZk.js → MazDatePicker.De3Ltb2F.js} +9 -29
- package/dist/chunks/{MazDialogPromise.vue_vue_type_script_setup_true_lang.BQvDEofz.js → MazDialogConfirm.vue_vue_type_script_setup_true_lang.Df9N-wrT.js} +71 -21
- package/dist/chunks/{MazDropdown.vue_vue_type_style_index_0_lang.WRjG5bff.js → MazDropdown.vue_vue_type_style_index_0_lang.BES3jpuw.js} +8 -11
- package/dist/chunks/{MazInputNumber.vue_vue_type_style_index_0_lang.BUOLoXtV.js → MazInputNumber.vue_vue_type_style_index_0_lang.B6DYpHfi.js} +3 -3
- package/dist/chunks/{MazInputPhoneNumber.B7mxCHgU.js → MazInputPhoneNumber.DBncAmC5.js} +14 -12
- package/dist/chunks/{MazInputPrice.vue_vue_type_script_setup_true_lang.CT1Y2-_T.js → MazInputPrice.vue_vue_type_script_setup_true_lang.BA6TDX-T.js} +2 -2
- package/dist/chunks/{MazPickerCalendar.BkmubImp.js → MazPickerCalendar.DKXNI8O4.js} +1 -1
- package/dist/chunks/{MazPickerCalendarMonth.Df2qar5v.js → MazPickerCalendarMonth.DKBqgrNp.js} +5 -5
- package/dist/chunks/{MazPickerCalendarSwitcher.DyrEWPLk.js → MazPickerCalendarSwitcher.CzIZol3Z.js} +4 -4
- package/dist/chunks/{MazPickerContainer.B4fyKYAE.js → MazPickerContainer.Mrh-Q52I.js} +1 -1
- package/dist/chunks/{MazPickerHeader.DoXGZZFX.js → MazPickerHeader.Bm9vIrtB.js} +1 -1
- package/dist/chunks/{MazPickerMonthSwitcher.CXuVHGVq.js → MazPickerMonthSwitcher.BSD2GtY6.js} +5 -5
- package/dist/chunks/{MazPickerTime.CueS5GPb.js → MazPickerTime.D0hilq5b.js} +1 -1
- package/dist/chunks/{MazPickerYearSwitcher.DNdhvfKw.js → MazPickerYearSwitcher.BIUYJMvj.js} +8 -26
- package/dist/chunks/{MazSwitch.vue_vue_type_style_index_0_lang.DQE0vFhe.js → MazSwitch.vue_vue_type_style_index_0_lang.CU43Y1ky.js} +1 -1
- package/dist/chunks/{MazTable.vue_vue_type_script_setup_true_lang.By5YbgRn.js → MazTable.vue_vue_type_script_setup_true_lang.BcTw9Tyh.js} +10 -10
- package/dist/chunks/{PhoneInput.tDA-TWr5.js → PhoneInput.iFkRoIFk.js} +5 -4
- package/dist/chunks/{utils.D9NiqfdV.js → dom-events.Bbe7wDQl.js} +163 -114
- package/dist/chunks/{fullscreen-img.directive.ClMlhEtN.js → fullscreen-img.directive.Be383en8.js} +6 -6
- package/dist/chunks/{lazy-img.directive.D5zCo3Zi.js → lazy-img.directive.BLFnGqQa.js} +1 -1
- package/dist/chunks/{useTranslations.BXuww4ux.js → useTranslations.D5aoYwD7.js} +1 -1
- package/dist/chunks/{vClickOutside.C69k0jaG.js → vClickOutside.DIOiluy0.js} +1 -1
- package/dist/components/MazAccordion.js +4 -4
- package/dist/components/MazAnimatedCounter.js +3 -3
- package/dist/components/MazAnimatedText.js +2 -2
- package/dist/components/MazAvatar.js +2 -2
- package/dist/components/MazBackdrop.js +3 -3
- package/dist/components/MazBottomSheet.js +2 -2
- package/dist/components/MazBtn.js +5 -4
- package/dist/components/MazCard.js +2 -2
- package/dist/components/MazCardSpotlight.js +4 -4
- package/dist/components/MazCarousel.js +4 -4
- package/dist/components/MazCheckbox.js +12 -14
- package/dist/components/MazChecklist.js +6 -6
- package/dist/components/MazDatePicker.js +1 -1
- package/dist/components/MazDialog.js +2 -2
- package/dist/components/MazDialogConfirm.js +6 -0
- package/dist/components/MazDrawer.js +2 -2
- package/dist/components/MazDropdown.js +1 -1
- package/dist/components/MazDropzone.js +10 -10
- package/dist/components/MazGallery.js +4 -4
- package/dist/components/MazInput.js +24 -19
- package/dist/components/MazInputNumber.js +1 -1
- package/dist/components/MazInputPhoneNumber.js +1 -1
- package/dist/components/MazInputPrice.js +1 -1
- package/dist/components/MazInputTags.js +4 -4
- package/dist/components/MazLazyImg.js +1 -1
- package/dist/components/MazLink.js +11 -7
- package/dist/components/MazPagination.js +7 -7
- package/dist/components/MazPopover.js +165 -79
- package/dist/components/MazPullToRefresh.js +3 -3
- package/dist/components/MazRadio.js +8 -16
- package/dist/components/MazRadioButtons.js +2 -2
- package/dist/components/MazReadingProgressBar.js +10 -3
- package/dist/components/MazSelect.js +23 -15
- package/dist/components/MazSelectCountry.js +9 -8
- package/dist/components/MazSlider.js +2 -2
- package/dist/components/MazStepper.js +4 -4
- package/dist/components/MazSwitch.js +1 -1
- package/dist/components/MazTable.js +3 -3
- package/dist/components/MazTableCell.js +1 -1
- package/dist/components/MazTableRow.js +1 -1
- package/dist/components/MazTableTitle.js +1 -1
- package/dist/components/MazTabsBar.js +6 -6
- package/dist/components/MazTextarea.js +2 -2
- package/dist/components/index.js +9 -9
- package/dist/composables/useDisplayNames.js +7 -1
- package/dist/composables/useDropzone.js +6 -6
- package/dist/composables/useFormField.js +15 -18
- package/dist/composables/useFormValidator.js +41 -28
- package/dist/composables/useWindowSize.js +1 -1
- package/dist/css/main.css +1 -1
- package/dist/directives/index.js +3 -3
- package/dist/directives/vClickOutside.js +1 -1
- package/dist/directives/vFullscreenImg.js +1 -1
- package/dist/directives/vLazyImg.js +2 -2
- package/dist/directives/vTooltip.js +96 -59
- package/dist/plugins/dialog.js +3 -3
- package/dist/plugins/maz-ui.js +121 -56
- package/dist/plugins/toast.js +15 -18
- package/dist/resolvers/MazModulesResolver.js +1 -0
- package/dist/tailwindcss/tailwind.config.js +5 -2
- package/dist/tailwindcss/variables/design-tokens.js +3 -0
- package/dist/types/components/MazAccordion.vue.d.ts +15 -2
- package/dist/types/components/MazBtn.vue.d.ts +1 -0
- package/dist/types/components/MazCheckbox.vue.d.ts +0 -6
- package/dist/types/components/MazChecklist.vue.d.ts +1 -1
- package/dist/types/components/MazDatePicker.vue.d.ts +4 -12
- package/dist/types/components/MazDialogConfirm/useMazDialogConfirm.d.ts +45 -0
- package/dist/types/components/{MazDialogPromise.vue.d.ts → MazDialogConfirm.vue.d.ts} +32 -9
- package/dist/types/components/MazInput.vue.d.ts +7 -0
- package/dist/types/components/MazInputNumber.vue.d.ts +1 -1
- package/dist/types/components/MazInputPhoneNumber.vue.d.ts +10 -2
- package/dist/types/components/MazLink.vue.d.ts +11 -0
- package/dist/types/components/MazPopover.vue.d.ts +8 -5
- package/dist/types/components/MazSelect.vue.d.ts +1 -1
- package/dist/types/components/MazSelectCountry.vue.d.ts +10 -1
- package/dist/types/components/MazStepper.vue.d.ts +13 -2
- package/dist/types/components/MazTable.vue.d.ts +63 -2
- package/dist/types/components/index.d.ts +3 -3
- package/dist/types/composables/index.d.ts +1 -1
- package/dist/types/composables/useDisplayNames.d.ts +3 -3
- package/dist/types/composables/useDropzone.d.ts +3 -3
- package/dist/types/composables/useFormField.d.ts +3 -41
- package/dist/types/composables/useFormValidator/dom-events.d.ts +19 -0
- package/dist/types/composables/useFormValidator/state-management.d.ts +54 -0
- package/dist/types/composables/useFormValidator/types.d.ts +9 -20
- package/dist/types/composables/useFormValidator/validation.d.ts +43 -0
- package/dist/types/composables/useFormValidator.d.ts +16 -10
- package/dist/types/composables/useIdleTimeout.d.ts +1 -1
- package/dist/types/composables/useSwipe.d.ts +1 -1
- package/dist/types/composables/useUserVisibility.d.ts +1 -1
- package/dist/types/directives/vTooltip.d.ts +2 -2
- package/dist/types/plugins/dialog/DialogHandler.d.ts +2 -2
- package/dist/types/tailwindcss/tailwind.config.d.ts +5 -0
- package/dist/types/tailwindcss/variables/design-tokens.d.ts +3 -0
- package/package.json +19 -15
- package/dist/assets/MazAccordion.esK3rR4p.css +0 -1
- package/dist/assets/MazAnimatedText.BrOwWuqf.css +0 -1
- package/dist/assets/MazBackdrop.DNpnLh63.css +0 -1
- package/dist/assets/MazCheckbox.BFo5eYS6.css +0 -1
- package/dist/assets/MazChecklist.CWK_Gl-t.css +0 -1
- package/dist/assets/MazDatePicker.V5JwKPrQ.css +0 -1
- package/dist/assets/MazInput.DW2KOJHY.css +0 -1
- package/dist/assets/MazInputPhoneNumber.C-Nw3080.css +0 -1
- package/dist/assets/MazInputTags.B_s9J3sw.css +0 -1
- package/dist/assets/MazLink.CCfbrUs0.css +0 -1
- package/dist/assets/MazPickerCalendarMonth.zkrPVHDv.css +0 -1
- package/dist/assets/MazPickerMonthSwitcher.168v7Hs1.css +0 -1
- package/dist/assets/MazPopover.COR-tym7.css +0 -1
- package/dist/assets/MazPullToRefresh.DABqbGtK.css +0 -1
- package/dist/assets/MazRadio.DKMFWwy_.css +0 -1
- package/dist/assets/MazReadingProgressBar.n1Is8_Y3.css +0 -1
- package/dist/assets/MazSelect.DZZpDg8z.css +0 -1
- package/dist/assets/MazSwitch.Z1ZMm7tx.css +0 -1
- package/dist/assets/MazTextarea.Dz11mUeK.css +0 -1
- package/dist/chunks/academic-cap.BjcfXmGu.CCSXStjO.js +0 -24
- package/dist/chunks/adjustments-horizontal.CT-QeIwW.CRspwA1D.js +0 -24
- package/dist/chunks/adjustments-vertical.BHXET8iZ.DXKjofVz.js +0 -24
- package/dist/chunks/archive-box-arrow-down.DY2jR2sP.D5q20o-C.js +0 -24
- package/dist/chunks/archive-box-x-mark.DP7eLVaB.D9lYjTGp.js +0 -24
- package/dist/chunks/archive-box.CVwekUWp.CAar5Lvs.js +0 -24
- package/dist/chunks/arrow-down-circle.DL2lvwk5.CGlJ9wP0.js +0 -24
- package/dist/chunks/arrow-down-left.C3nEVXaG.DsaJ0TwT.js +0 -24
- package/dist/chunks/arrow-down-on-square-stack.BKDRxXkf.DOjZT9_M.js +0 -24
- package/dist/chunks/arrow-down-on-square.DAMoXY4b.Brdd_BB2.js +0 -24
- package/dist/chunks/arrow-down-right.hs3isRLs.9WxtifNr.js +0 -24
- package/dist/chunks/arrow-down-tray.w1Emiyu3.yRzoHE0I.js +0 -24
- package/dist/chunks/arrow-down.DEawGjfB.CguAHec6.js +0 -24
- package/dist/chunks/arrow-left-circle.BlKwmMyr.BF9vGCFO.js +0 -24
- package/dist/chunks/arrow-left-end-on-rectangle.BwEAWEQp.D7I0qUqw.js +0 -24
- package/dist/chunks/arrow-left-on-rectangle.DabmkYhe.CmIlQ7wf.js +0 -24
- package/dist/chunks/arrow-left-start-on-rectangle.BaoR6nlq.BtEBN2A6.js +0 -24
- package/dist/chunks/arrow-left.D_6VKA-e.CmQE04VA.js +0 -24
- package/dist/chunks/arrow-long-down.5N2s8Cpw.B9JKDT7M.js +0 -24
- package/dist/chunks/arrow-long-left.B7AX0id9.CywMhkhH.js +0 -24
- package/dist/chunks/arrow-long-right.CKMPfwrE.D3pLqdNX.js +0 -24
- package/dist/chunks/arrow-long-up.CT8DU9jc.CIOIdvGB.js +0 -24
- package/dist/chunks/arrow-path-rounded-square.65lulTVg.CQh60_RA.js +0 -24
- package/dist/chunks/arrow-path.CJ9Wswu_.BlR1BJ4i.js +0 -24
- package/dist/chunks/arrow-right-circle.DDZurzmk.DPzHFj8G.js +0 -24
- package/dist/chunks/arrow-right-end-on-rectangle.jNNaV464.DfFRTcEu.js +0 -24
- package/dist/chunks/arrow-right-on-rectangle.BQLAkJlS.D4JfF9Ov.js +0 -24
- package/dist/chunks/arrow-right-start-on-rectangle.DgFTLubq.3qbrqXCj.js +0 -24
- package/dist/chunks/arrow-right.h5GY-bzG.CKBQ5VHM.js +0 -24
- package/dist/chunks/arrow-small-down.3SdgC1Fw.vODsecnG.js +0 -24
- package/dist/chunks/arrow-small-left.Dbw5rTas.C-bYHDKK.js +0 -24
- package/dist/chunks/arrow-small-right.DAmxBfl5.n7vH-w9t.js +0 -24
- package/dist/chunks/arrow-small-up.WQQD-lUO.FvbI2uG_.js +0 -24
- package/dist/chunks/arrow-top-right-on-square.DJeWWj5d.DWV1wrwq.js +0 -24
- package/dist/chunks/arrow-trending-down.CSIGp7a0.DLp5ZExP.js +0 -24
- package/dist/chunks/arrow-trending-up.BGar-3Mt.Cx6Pgj8o.js +0 -24
- package/dist/chunks/arrow-turn-down-left.C4BtwCb-.C7vbo0bi.js +0 -24
- package/dist/chunks/arrow-turn-down-right.Cxu2KBHI.J8piVbUW.js +0 -24
- package/dist/chunks/arrow-turn-left-down.BfjbBrut.D-KMuKDz.js +0 -24
- package/dist/chunks/arrow-turn-left-up.Bsm0aGLO.WVDAyWpM.js +0 -24
- package/dist/chunks/arrow-turn-right-down.DH2Wh74o.dNtSWH1C.js +0 -24
- package/dist/chunks/arrow-turn-right-up.ou0Uaevi.Buzu0SB-.js +0 -24
- package/dist/chunks/arrow-turn-up-left.Bg5YgZsj.Bkn43xjW.js +0 -24
- package/dist/chunks/arrow-turn-up-right.mBRM1THn.BNiuRqzk.js +0 -24
- package/dist/chunks/arrow-up-circle.Bzu19hQF.aerjnsXO.js +0 -24
- package/dist/chunks/arrow-up-left.IRrqyawV.CYNpIPVM.js +0 -24
- package/dist/chunks/arrow-up-on-square-stack.C1q8upHF.BtGNYi9R.js +0 -24
- package/dist/chunks/arrow-up-on-square.Zzd3wPoG.DSV_2koo.js +0 -24
- package/dist/chunks/arrow-up-right.BbJO1c1E.CgNQXpr2.js +0 -24
- package/dist/chunks/arrow-up-tray.BYRIGMnv.DVLg9Kkw.js +0 -24
- package/dist/chunks/arrow-up.DlpZOcZ-.Dc_qfm_w.js +0 -24
- package/dist/chunks/arrow-uturn-down.R4GNIFWx.1xJeI9TW.js +0 -24
- package/dist/chunks/arrow-uturn-left.C1uMohdz.DQroNRfS.js +0 -24
- package/dist/chunks/arrow-uturn-right.OoQi1rgb.D4ddYi69.js +0 -24
- package/dist/chunks/arrow-uturn-up.CA4h-qqY.CRk_dwWh.js +0 -24
- package/dist/chunks/arrows-pointing-in.BxJHq5jK.GkaFX_uo.js +0 -24
- package/dist/chunks/arrows-pointing-out.DSyAjelZ.DBsKw4zk.js +0 -24
- package/dist/chunks/arrows-right-left.CDFOwlcC.QpbG2nK3.js +0 -24
- package/dist/chunks/arrows-up-down.CzfSf__L.DQ5gcMh8.js +0 -24
- package/dist/chunks/at-symbol.DaUFyuwg.FAKonxFg.js +0 -24
- package/dist/chunks/backspace.Cu9cbNxd.DcCOHSU3.js +0 -24
- package/dist/chunks/backward.B68JN4JS.CqwNvpdK.js +0 -24
- package/dist/chunks/banknotes.Dz4gb6DH.Bc_vmzxh.js +0 -24
- package/dist/chunks/bars-2.C0E0O7Qs.BkkB9qGT.js +0 -24
- package/dist/chunks/bars-3-bottom-left.DKFMX51P.C0SPJDh6.js +0 -24
- package/dist/chunks/bars-3-bottom-right.Ct1xrw2s.KKvQgup3.js +0 -24
- package/dist/chunks/bars-3-center-left.DjUpkdr4.DbP3YQA5.js +0 -24
- package/dist/chunks/bars-3.B-K8M_78.Cf4kHUcq.js +0 -24
- package/dist/chunks/bars-4.BEt3xG4t.CUkKbYOi.js +0 -24
- package/dist/chunks/bars-arrow-down.CfQGLJeK.cH_4-4i2.js +0 -24
- package/dist/chunks/bars-arrow-up.CNsLQ8yw.Cwfjtvt4.js +0 -24
- package/dist/chunks/battery-0.C_-hFpYX.BSF335Bw.js +0 -24
- package/dist/chunks/battery-100.B69VsGq_.6MJf6W8Q.js +0 -24
- package/dist/chunks/battery-50.1CCBNwk2.xCj7wvTy.js +0 -24
- package/dist/chunks/beaker.DFKLDGeW.21Nm6WlZ.js +0 -24
- package/dist/chunks/bell-alert.BbDqk2az.D3ABDQ-w.js +0 -24
- package/dist/chunks/bell-slash.C3bKvJAV.n68SmjIt.js +0 -24
- package/dist/chunks/bell-snooze.C2COKl8x.Bca4lBpS.js +0 -24
- package/dist/chunks/bell.Fm9I5urF.DMLNQRjv.js +0 -24
- package/dist/chunks/bold.BDPvVUAR.BvlPriBT.js +0 -23
- package/dist/chunks/bolt-slash.DZlEBjB4.CEL1Y-CI.js +0 -24
- package/dist/chunks/bolt.B8RYziBX.ydwrTz2s.js +0 -24
- package/dist/chunks/book-open.CWUGLre3.DXKaHSLM.js +0 -24
- package/dist/chunks/bookmark-slash.Ff--gHir.ClEojQnD.js +0 -24
- package/dist/chunks/bookmark-square.CJBzX9qk.kdKOPQ-6.js +0 -24
- package/dist/chunks/bookmark.Cb2OSlaK.C3oubrJL.js +0 -24
- package/dist/chunks/briefcase.CTgTVSEh.DX78R1hk.js +0 -24
- package/dist/chunks/bug-ant.B0vPk3_N.Ct6xqXqe.js +0 -24
- package/dist/chunks/building-library.BqdrL-Ec.CA7EOKpn.js +0 -24
- package/dist/chunks/building-office-2.C1qF28CI.BTj9K19P.js +0 -24
- package/dist/chunks/building-office.BR20ANeD.DcYLUjuP.js +0 -24
- package/dist/chunks/building-storefront.D_Lbpsda.BBHRe1sf.js +0 -24
- package/dist/chunks/cake.Bvc4oe_S.etQ39ySd.js +0 -24
- package/dist/chunks/calculator.TIoQepn_.DCacd6Vr.js +0 -24
- package/dist/chunks/calendar-date-range.Dy5vs7S_.D2iryGH7.js +0 -24
- package/dist/chunks/calendar-days.oMae6t-4.KdXSppPh.js +0 -24
- package/dist/chunks/calendar.DxxJBJoK.CeJ8fSPb.js +0 -24
- package/dist/chunks/camera.Cm_7RSqq.B2qog63I.js +0 -31
- package/dist/chunks/chart-bar-square.C_56q4ax.D88dnWFr.js +0 -24
- package/dist/chunks/chart-bar.CR-2VE6U.BpP0YDjf.js +0 -24
- package/dist/chunks/chart-pie.CRPh8b79.DKBryPfA.js +0 -31
- package/dist/chunks/chat-bubble-bottom-center-text.ChYHSzWk.Bg8ClnIa.js +0 -24
- package/dist/chunks/chat-bubble-bottom-center.BTTqABms.D9d0N1iO.js +0 -24
- package/dist/chunks/chat-bubble-left-ellipsis.WSEjQ7jL.CjqH2if2.js +0 -24
- package/dist/chunks/chat-bubble-left-right.DqOV8vN_.BKm2s-Hz.js +0 -24
- package/dist/chunks/chat-bubble-left.BvdvHHlA.zR-JhdYC.js +0 -24
- package/dist/chunks/chat-bubble-oval-left-ellipsis.CpHCuPeS.r5W8LOR8.js +0 -24
- package/dist/chunks/chat-bubble-oval-left.CdqaR91h.BW9JRF8r.js +0 -24
- package/dist/chunks/check-badge.GjHXGEG0.C_oOCt78.js +0 -24
- package/dist/chunks/check-circle.CFcKgPZ4.DfY78EtL.js +0 -24
- package/dist/chunks/check.DfYjeOVQ.DXNsuRna.js +0 -24
- package/dist/chunks/chevron-double-down.CZMayNS1.CisfSsZ8.js +0 -24
- package/dist/chunks/chevron-double-left.De8TBs-I.DAucus_w.js +0 -24
- package/dist/chunks/chevron-double-right.XnTrUsod.Cuu5xoTt.js +0 -24
- package/dist/chunks/chevron-double-up.F7fkhaor.DRJWwQ9F.js +0 -31
- package/dist/chunks/chevron-down.ChGfmxD1.CQ7rtF0T.js +0 -24
- package/dist/chunks/chevron-left.CTBM8oHi.Ba3U4jcW.js +0 -24
- package/dist/chunks/chevron-right.BXTR7Es5.C6KI-hWC.js +0 -24
- package/dist/chunks/chevron-up-down.C7-HMAjy.DKw8M2-I.js +0 -24
- package/dist/chunks/chevron-up.cK7QDv75.B2N-Hk-6.js +0 -24
- package/dist/chunks/circle-stack.BnyTq7sI.1XtJbY6M.js +0 -24
- package/dist/chunks/clipboard-document-check.CJ3xBd7t.Br9n89F9.js +0 -24
- package/dist/chunks/clipboard-document-list.CF1likOV.D3KAtz_z.js +0 -24
- package/dist/chunks/clipboard-document.CdTKuGSv.ChOrKMSS.js +0 -24
- package/dist/chunks/clipboard.CzjWQfRH.Da-cebFK.js +0 -24
- package/dist/chunks/clock.NNdb3vyA.D3jUXhQ7.js +0 -24
- package/dist/chunks/cloud-arrow-down.CvtCNIxh.D1aF62k3.js +0 -24
- package/dist/chunks/cloud-arrow-up.D1JeGPbq.C4jLYHme.js +0 -24
- package/dist/chunks/cloud.C9fdU5-X.cydYlCh2.js +0 -24
- package/dist/chunks/code-bracket-square.BsQyTz1s.BeZZZPk2.js +0 -24
- package/dist/chunks/code-bracket.DJDL79-i.B4G6-VO6.js +0 -24
- package/dist/chunks/cog-6-tooth.BbV5JYl1.DeTgzUXG.js +0 -31
- package/dist/chunks/cog-8-tooth.BnBTLB6M.D8tH-0GQ.js +0 -31
- package/dist/chunks/cog.BXgqaz3X.CF2Pe_yh.js +0 -24
- package/dist/chunks/command-line.w_Y9_Kkc.BMaD58fF.js +0 -24
- package/dist/chunks/computer-desktop.BpRzP4fc.BWRlZKsP.js +0 -24
- package/dist/chunks/cpu-chip.ho-tmFIn.ClPQmB5Q.js +0 -24
- package/dist/chunks/credit-card.DkrZZI4D.ChD3ISF_.js +0 -24
- package/dist/chunks/cube-transparent.C8Wdi45T.CgHVrtio.js +0 -24
- package/dist/chunks/cube.B9UcKOKF.DVXGNDI0.js +0 -24
- package/dist/chunks/currency-bangladeshi.DzhT0-h5.BhxC0NCe.js +0 -24
- package/dist/chunks/currency-dollar.Bfi6fPEz.DxEvUH91.js +0 -24
- package/dist/chunks/currency-euro.Jpiq8P6z.C5ljNb5d.js +0 -24
- package/dist/chunks/currency-pound.DrqWKbpM.BxOh3Nry.js +0 -24
- package/dist/chunks/currency-rupee.DHxnpaCI.Ynrf76Aj.js +0 -24
- package/dist/chunks/currency-yen.DQVa07WN.DdpYfRy5.js +0 -24
- package/dist/chunks/cursor-arrow-rays.MVP12F6C.hM5N0ZS3.js +0 -24
- package/dist/chunks/cursor-arrow-ripple.xLXix2uM.UbRX2pFw.js +0 -24
- package/dist/chunks/device-phone-mobile.B-57CfH5.D6VQ256l.js +0 -24
- package/dist/chunks/device-tablet.Bjsa72o7.CH-OVJkh.js +0 -24
- package/dist/chunks/divide.CV4gt445.Cv9KyNuJ.js +0 -24
- package/dist/chunks/document-arrow-down.B_57Gtno.BlZeqf-M.js +0 -24
- package/dist/chunks/document-arrow-up.BF_OVDJs.CbEXCmN0.js +0 -24
- package/dist/chunks/document-chart-bar.B46OY9CL.CIBAYVab.js +0 -24
- package/dist/chunks/document-check.CvLYBdnm.DluZSYpL.js +0 -24
- package/dist/chunks/document-currency-bangladeshi.HbXz9Sub.Cew_CE25.js +0 -24
- package/dist/chunks/document-currency-dollar.DPjKxFMa.jXB-YTux.js +0 -24
- package/dist/chunks/document-currency-euro.C-L5djvR.C9UJW2-n.js +0 -24
- package/dist/chunks/document-currency-pound.BzcYNgGa.CgLXYWAs.js +0 -24
- package/dist/chunks/document-currency-rupee.DescAEsg.CzFKJayN.js +0 -24
- package/dist/chunks/document-currency-yen.CyrkAYT6.B16hPkmM.js +0 -24
- package/dist/chunks/document-duplicate.D7vGJG_8.CIombGpo.js +0 -24
- package/dist/chunks/document-magnifying-glass.Burq7Xn2.QtA02zrk.js +0 -24
- package/dist/chunks/document-minus.DxGQQWCr.kiSQpPdH.js +0 -24
- package/dist/chunks/document-plus.DKk5zAwV.H3B6AI11.js +0 -24
- package/dist/chunks/document-text.CSCb2U2T.ZDLRpT-o.js +0 -24
- package/dist/chunks/document.CS0Ohrgt.DE8cSIrm.js +0 -24
- package/dist/chunks/ellipsis-horizontal-circle.BFOXQi09.CTDaeIGM.js +0 -24
- package/dist/chunks/ellipsis-horizontal.DqhpkTUz.CclJBCQG.js +0 -24
- package/dist/chunks/ellipsis-vertical.B8W0CqqN.B7I6k_qQ.js +0 -24
- package/dist/chunks/envelope-open.BQygUrrv.LFK3EzRF.js +0 -24
- package/dist/chunks/envelope.DFplr4Iv.Da66rxN8.js +0 -24
- package/dist/chunks/equals.Y4339RW6.CKookNbc.js +0 -24
- package/dist/chunks/exclamation-circle.PMllX_sR.BiDbdO8o.js +0 -24
- package/dist/chunks/exclamation-triangle.DP_ZdqKK.D-pRZiWC.js +0 -24
- package/dist/chunks/eye-dropper.BB7xFmZf.CfuOHkRE.js +0 -24
- package/dist/chunks/eye-slash.B-Q7zAl9.Z-QG3_NS.js +0 -24
- package/dist/chunks/eye.rnBIUryK.CTGdXztX.js +0 -31
- package/dist/chunks/face-frown.BdZUKORe.CTMmkA6s.js +0 -24
- package/dist/chunks/face-smile.BgHmgpsD.BD0FSBwY.js +0 -24
- package/dist/chunks/film.CvtqcSvO.fo_u8ciz.js +0 -24
- package/dist/chunks/finger-print.BalGxdl5.lX4SOFcC.js +0 -24
- package/dist/chunks/fire.C2S-dlHW.D_I1XNHh.js +0 -31
- package/dist/chunks/flag.BDHI8kIc.9T2ghrYf.js +0 -24
- package/dist/chunks/folder-arrow-down.CMe8l5qs.CY2PCaTR.js +0 -24
- package/dist/chunks/folder-minus.BIP4kiBI.CVSaimPJ.js +0 -24
- package/dist/chunks/folder-open.vCqZvh13.CVTeu5UO.js +0 -24
- package/dist/chunks/folder-plus.UKgqnCMI.BvhuTxMF.js +0 -24
- package/dist/chunks/folder.VY6d7M0v.BjpXSXu9.js +0 -24
- package/dist/chunks/fork.Bx0SP5G0.B7BHLQyz.js +0 -49
- package/dist/chunks/forward.CJadSay_.BBS11cS_.js +0 -24
- package/dist/chunks/funnel.CI1X4xTV.C2sbt1gJ.js +0 -24
- package/dist/chunks/gif.3w8BBVap.p3RkEv10.js +0 -24
- package/dist/chunks/gift-top.DGrJVe5T.LHgvzIEw.js +0 -24
- package/dist/chunks/gift.BdjKoMjg.Bf_lfrxv.js +0 -24
- package/dist/chunks/github.DR-YREFz.BKzaMPzV.js +0 -20
- package/dist/chunks/globe-alt.Ci-4WkuA.Df2W4RpY.js +0 -24
- package/dist/chunks/globe-americas.8k4TjYg9.DwAgObeI.js +0 -24
- package/dist/chunks/globe-asia-australia.CJy-S58s.BsXl4X35.js +0 -24
- package/dist/chunks/globe-europe-africa.Ch0apA4Z.ChCxgvsh.js +0 -24
- package/dist/chunks/h1.B0UxaUz3.B-fMNckN.js +0 -24
- package/dist/chunks/h2.CoDly_Rk.xn2P59Pu.js +0 -24
- package/dist/chunks/h3.BiPu_1GK.BtUGrtqm.js +0 -24
- package/dist/chunks/hand-raised.BibTyl03.Bmxt1b7s.js +0 -24
- package/dist/chunks/hand-thumb-down.BJoc9FWD.CTxVd9E4.js +0 -24
- package/dist/chunks/hand-thumb-up.BZWQJYwr.Byh64TmW.js +0 -24
- package/dist/chunks/hashtag.EamZCy49.-5GV13nB.js +0 -24
- package/dist/chunks/heart.DvH7fa-0.DC7zVVeb.js +0 -24
- package/dist/chunks/home-modern.L4UFeQLe.Q-aoULM-.js +0 -24
- package/dist/chunks/home.QELZheLi.CQ5VBdS-.js +0 -24
- package/dist/chunks/identification.CU9KU-bX.CFRzYkwU.js +0 -24
- package/dist/chunks/inbox-arrow-down.6HTSO1kx.DaoUuGHv.js +0 -24
- package/dist/chunks/inbox-stack.BfdiokBq.mWxjLRtV.js +0 -24
- package/dist/chunks/inbox.Biazzhd4.cuiJovdp.js +0 -24
- package/dist/chunks/index.CvKh762h.js +0 -352
- package/dist/chunks/information-circle.yhJPMoUQ.CkqMaCTJ.js +0 -24
- package/dist/chunks/italic.njlz_SwH.B8t1zdyt.js +0 -24
- package/dist/chunks/key.C8y1z_Nx.CWRIUYtz.js +0 -24
- package/dist/chunks/language.1Xs8PuP5.eK68tCI2.js +0 -24
- package/dist/chunks/lifebuoy.uldI5FjH.ttPYeOpt.js +0 -24
- package/dist/chunks/light-bulb.BnZMjrix.Nn8bb3uA.js +0 -24
- package/dist/chunks/link-slash.DYM_8hTp.DbbqWpYf.js +0 -24
- package/dist/chunks/link._zvxE-ZN.DCRS1Nhm.js +0 -24
- package/dist/chunks/list-bullet.Ck8i-zl1.DYTtynEe.js +0 -24
- package/dist/chunks/lock-closed.Do5wxxfB.BoHZR_Cx.js +0 -24
- package/dist/chunks/lock-open.DmUSVzU7.CIioMjR4.js +0 -24
- package/dist/chunks/magnifying-glass-circle.BBKKo-36.D6LZubsX.js +0 -24
- package/dist/chunks/magnifying-glass-minus.D1YH2gJK.DtYqNUQw.js +0 -24
- package/dist/chunks/magnifying-glass-plus.BgJ8lfbV.BBOa_lQz.js +0 -24
- package/dist/chunks/magnifying-glass.Bi8efyWn.BLzbV1BL.js +0 -24
- package/dist/chunks/map-pin.Bxbb--MZ.ea0oLEJ4.js +0 -31
- package/dist/chunks/map.DRcXyo0s.DMK4_gRD.js +0 -24
- package/dist/chunks/megaphone.BTvu-vIj.H3XYCMYF.js +0 -24
- package/dist/chunks/microphone.BJqDhEd7.BsJEAG9l.js +0 -24
- package/dist/chunks/minus-circle.DX_Wo_R6.CfihDX_c.js +0 -24
- package/dist/chunks/minus-small.BdK3wxa2.BruhEWWT.js +0 -24
- package/dist/chunks/minus.KSG6SL-A.Ci3tO7z7.js +0 -24
- package/dist/chunks/moon.BAqSTWOk.y5qE-JgT.js +0 -24
- package/dist/chunks/musical-note.Erx2eYZM.CeYcRysR.js +0 -24
- package/dist/chunks/newspaper.BxEeFWo5.Caqcj866.js +0 -24
- package/dist/chunks/no-image.G9oAqLYN.QYfh20At.js +0 -18
- package/dist/chunks/no-symbol.v1ZxT7PS.CLiEtcjA.js +0 -24
- package/dist/chunks/numbered-list.D4--Brg5.DPb7JWAD.js +0 -24
- package/dist/chunks/paint-brush.9Oq01j7X.BaQOU4-k.js +0 -24
- package/dist/chunks/paper-airplane.DKx_Ww6M.Dx_A6-r1.js +0 -24
- package/dist/chunks/paper-clip.Cd3ICjAc.Di3lmXzN.js +0 -24
- package/dist/chunks/pause-circle.Dyaqta5w.Bf5lVO6T.js +0 -24
- package/dist/chunks/pause.Xl-ti251.BrVoKvOq.js +0 -24
- package/dist/chunks/pencil-square.83G17jv5.BieHF6-5.js +0 -24
- package/dist/chunks/pencil.Bv-2uNMw.B6t0Zv85.js +0 -24
- package/dist/chunks/percent-badge.BR-COyYt.D9uZiuV4.js +0 -24
- package/dist/chunks/phone-arrow-down-left.bgYNFdYw.DlXuTKyQ.js +0 -24
- package/dist/chunks/phone-arrow-up-right.DL8xnmCp.B6ny9DGc.js +0 -24
- package/dist/chunks/phone-x-mark.EJ8g8Io4.iD9I0F8O.js +0 -24
- package/dist/chunks/phone.C9HcOJV4.DR_ydb9P.js +0 -24
- package/dist/chunks/photo.D2i5ltv-.Bx4bun8k.js +0 -24
- package/dist/chunks/play-circle.sQgQYbxL.DIVhJ_VT.js +0 -31
- package/dist/chunks/play-pause.7fATndsv.BlbQnYtP.js +0 -24
- package/dist/chunks/play.DPQ51d76.CXxYnamK.js +0 -24
- package/dist/chunks/plus-circle.t0rIMK17.CJuEO_hV.js +0 -24
- package/dist/chunks/plus-small.q2_UTnSJ.D00Lo6Gm.js +0 -24
- package/dist/chunks/plus.B4eFPhg5.Bjb51_89.js +0 -24
- package/dist/chunks/power.DbnsGjcP.ADCLCnp1.js +0 -24
- package/dist/chunks/presentation-chart-bar.qOHPrVoA.DzoUJVBk.js +0 -24
- package/dist/chunks/presentation-chart-line.kt2UcfXU.ByalT4af.js +0 -24
- package/dist/chunks/printer.DgYbu-oZ.oyHdK_Er.js +0 -24
- package/dist/chunks/puzzle-piece.DPVPnROW.Dj5Pkwqw.js +0 -24
- package/dist/chunks/qr-code.Cz6_gY5W.BRQos2fl.js +0 -31
- package/dist/chunks/question-mark-circle.BI3Pj1lM.CUkVvnjz.js +0 -24
- package/dist/chunks/queue-list.BTtd9gV_.BZqvXCX1.js +0 -24
- package/dist/chunks/radio.NXQa70KZ.DcLeSUt8.js +0 -24
- package/dist/chunks/receipt-percent.BEffIYGJ.C5vDjent.js +0 -24
- package/dist/chunks/receipt-refund.hLJiXRl-.BvT1RelP.js +0 -24
- package/dist/chunks/rectangle-group.DUnjEoiP.9pML-9-S.js +0 -24
- package/dist/chunks/rectangle-stack.DxfbSUKM.BS0h3Qu8.js +0 -24
- package/dist/chunks/rocket-launch.X-OfcjiP.BRHh-FkZ.js +0 -24
- package/dist/chunks/rss.BLvK5jPr.CckNH6AG.js +0 -24
- package/dist/chunks/scale.DEEYJ6Zk.CXnrDRjc.js +0 -24
- package/dist/chunks/scissors.Bu_6BaOX.CgCRjlsD.js +0 -24
- package/dist/chunks/server-stack.DmncQkqn.DlXBXJ68.js +0 -24
- package/dist/chunks/server.LyXBRSxY.DiraGD0N.js +0 -24
- package/dist/chunks/share.Cf9OjBgL.RQldJRZ9.js +0 -24
- package/dist/chunks/shield-check.VQpLzd2v.Bv6XREpP.js +0 -24
- package/dist/chunks/shield-exclamation.Be0w3_jk.Czs5h8N1.js +0 -24
- package/dist/chunks/shopping-bag.CmqEq0ln.Co-ENH4J.js +0 -24
- package/dist/chunks/shopping-cart.sDo0rmyp.Dwxg9WFh.js +0 -24
- package/dist/chunks/signal-slash.Cj_p1Nk-.Bos1dz3M.js +0 -24
- package/dist/chunks/signal.CDdRnntO.zs66muqE.js +0 -24
- package/dist/chunks/slash.DLlsJ67p.BovzBFnY.js +0 -24
- package/dist/chunks/sparkles.Cl4CxIOA.CJtVBamV.js +0 -24
- package/dist/chunks/speaker-wave.Dhz2ha5o.BKHqvdzL.js +0 -24
- package/dist/chunks/speaker-x-mark.D5bJpGdc.B-98J4TH.js +0 -24
- package/dist/chunks/square-2-stack.B_K3e5Xo.BpuWW3zQ.js +0 -24
- package/dist/chunks/square-3-stack-3d.kEZ7HRU8.u3pEG_dB.js +0 -24
- package/dist/chunks/squares-2x2.DbpIJWWH.czohOArw.js +0 -24
- package/dist/chunks/squares-plus.DJoqsZG-.C56wwQo6.js +0 -24
- package/dist/chunks/star-solid.ith3udUr.fI6COBY6.js +0 -22
- package/dist/chunks/star.BOm1sCet.CrlFtkIH.js +0 -24
- package/dist/chunks/stop-circle.i8k9ENGo.Bvg3kAtp.js +0 -31
- package/dist/chunks/stop.BvbL0z5G.BzZa9cz4.js +0 -24
- package/dist/chunks/strikethrough.D9IxMEze.CG0o3e8f.js +0 -24
- package/dist/chunks/sun.DtlkYkWH.BY6FsaIr.js +0 -24
- package/dist/chunks/swatch.BQEbGG5v.mzOiKL2U.js +0 -24
- package/dist/chunks/table-cells.DgYgkJao.D_ev8kjA.js +0 -24
- package/dist/chunks/tag.9pi2-WVW.AW6frX03.js +0 -31
- package/dist/chunks/throttle.DN8ARw0a.js +0 -11
- package/dist/chunks/ticket.CoeaVN1f.D8B_ZCyj.js +0 -24
- package/dist/chunks/trash.CKFg-ylA.BeH6WFxu.js +0 -24
- package/dist/chunks/trophy.DqS7is9J.BqpYwRUm.js +0 -24
- package/dist/chunks/truck.CiPiMFO5.I1lYcatr.js +0 -24
- package/dist/chunks/tv.FRI46IJL.DYLIUXzl.js +0 -24
- package/dist/chunks/underline.CTS7x7HZ.BTMyDX0M.js +0 -24
- package/dist/chunks/user-circle.jg7OpkHK.BzdqSzzl.js +0 -24
- package/dist/chunks/user-group.ZzJJeNOR.DqrCBO8z.js +0 -24
- package/dist/chunks/user-minus.CFpE7tJo.Cc-_xIha.js +0 -24
- package/dist/chunks/user-plus.56xx_RZF.DeJBUlvA.js +0 -24
- package/dist/chunks/user.BHnHyDaq.DDyUV-u5.js +0 -24
- package/dist/chunks/users.CcE72INP.DbTawkoy.js +0 -24
- package/dist/chunks/variable.D2aSg3jI.B9JN_cwv.js +0 -24
- package/dist/chunks/video-camera-slash.BwxNb0cm.SnSS7S5P.js +0 -24
- package/dist/chunks/video-camera.CoJgwP4F.BmMWt0vs.js +0 -24
- package/dist/chunks/view-columns.LoFVFzBR.CIMGv7mf.js +0 -24
- package/dist/chunks/viewfinder-circle.CaQlvTWC.CJVVM5_n.js +0 -24
- package/dist/chunks/wallet.CqM_mibw.kwMG5OEh.js +0 -24
- package/dist/chunks/wifi.DUdIKgQN.DqZ0nPHO.js +0 -24
- package/dist/chunks/window.BeFPU0ZR.Cqieba0K.js +0 -24
- package/dist/chunks/wrench-screwdriver.BcMJDiuu.Ces3a6-S.js +0 -24
- package/dist/chunks/wrench.DhPW3HZx.CNeKEI4i.js +0 -31
- package/dist/chunks/x-circle.Bv0-dC8L.BikPLDPw.js +0 -24
- package/dist/chunks/x-mark.CTalOvvY.js +0 -23
- package/dist/chunks/x-mark.umAR9tn5.iu8PJ4nS.js +0 -24
- package/dist/components/MazDialogPromise.js +0 -6
- package/dist/types/components/MazDialogPromise/useMazDialogPromise.d.ts +0 -54
- package/dist/types/composables/useFormValidator/utils.d.ts +0 -116
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, createElementBlock, openBlock, createElementVNode, createCommentVNode, normalizeClass, Fragment, renderList, normalizeStyle, renderSlot, createVNode, Transition, withCtx, withDirectives, unref, vShow, createTextVNode, toDisplayString } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { MazCheck } from "@maz-ui/icons";
|
|
3
3
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
4
4
|
import '../assets/MazRadioButtons.BA4rjgK9.css';const _hoisted_1 = { class: "m-radio-buttons m-reset-css" }, _hoisted_2 = ["for", "aria-checked", "onKeydown", "onBlur", "onFocus"], _hoisted_3 = ["id", "name", "value", "onChange"], _hoisted_4 = {
|
|
5
5
|
key: 0,
|
|
@@ -96,7 +96,7 @@ import '../assets/MazRadioButtons.BA4rjgK9.css';const _hoisted_1 = { class: "m-r
|
|
|
96
96
|
}, [
|
|
97
97
|
createVNode(Transition, { name: "maz-radio-buttons-scale" }, {
|
|
98
98
|
default: withCtx(() => [
|
|
99
|
-
withDirectives(createVNode(unref(
|
|
99
|
+
withDirectives(createVNode(unref(MazCheck), { class: "maz-size-full" }, null, 512), [
|
|
100
100
|
[vShow, isSelected(option.value)]
|
|
101
101
|
])
|
|
102
102
|
]),
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch, onMounted, onBeforeUnmount, createBlock, openBlock, Teleport, createElementVNode, mergeProps, normalizeStyle, normalizeClass, nextTick } from "vue";
|
|
2
|
-
import { t as throttle } from "../chunks/throttle.DN8ARw0a.js";
|
|
3
2
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
4
|
-
import '../assets/MazReadingProgressBar.
|
|
3
|
+
import '../assets/MazReadingProgressBar.CwBVXE3g.css';function throttle(func, limit) {
|
|
4
|
+
let inThrottle = !1, lastFunc, lastRan;
|
|
5
|
+
return function(...args) {
|
|
6
|
+
inThrottle ? (clearTimeout(lastFunc), lastFunc = setTimeout(() => {
|
|
7
|
+
Date.now() - lastRan >= limit && (func.apply(this, args), lastRan = Date.now());
|
|
8
|
+
}, Math.max(limit - (Date.now() - lastRan), 0))) : (func.apply(this, args), lastRan = Date.now(), inThrottle = !0);
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
12
|
__name: "MazReadingProgressBar",
|
|
6
13
|
props: {
|
|
7
14
|
height: { default: "4px" },
|
|
@@ -61,7 +68,7 @@ import '../assets/MazReadingProgressBar.n1Is8_Y3.css';const _sfc_main = /* @__PU
|
|
|
61
68
|
], 16)
|
|
62
69
|
], 8, ["to"]));
|
|
63
70
|
}
|
|
64
|
-
}), MazReadingProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
71
|
+
}), MazReadingProgressBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fe8cbda7"]]);
|
|
65
72
|
export {
|
|
66
73
|
MazReadingProgressBar as default
|
|
67
74
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent, mergeModels, defineAsyncComponent, useTemplateRef, computed, useModel, ref, watch, createBlock, openBlock, normalizeStyle, normalizeClass, withCtx, createElementVNode, unref, createCommentVNode, renderSlot, createElementBlock, createVNode, Fragment, renderList, toDisplayString, withModifiers, mergeProps, nextTick } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as useTranslations } from "../chunks/useTranslations.
|
|
1
|
+
import { defineComponent, mergeModels, defineAsyncComponent, useTemplateRef, computed, useModel, ref, watch, createBlock, openBlock, normalizeStyle, normalizeClass, withCtx, createElementVNode, unref, createCommentVNode, renderSlot, createElementBlock, createVNode, Fragment, renderList, toDisplayString, withModifiers, mergeProps, createSlots, nextTick } from "vue";
|
|
2
|
+
import { MazMagnifyingGlass, MazNoSymbol, MazChevronDown } from "@maz-ui/icons";
|
|
3
|
+
import { u as useTranslations } from "../chunks/useTranslations.D5aoYwD7.js";
|
|
4
4
|
import { i as isClient } from "../chunks/isClient.WI4oSt66.js";
|
|
5
5
|
import { u as useStringMatching, n as normalizeString } from "../chunks/useStringMatching.D5UvsCUS.js";
|
|
6
6
|
import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
7
7
|
import MazInput from "./MazInput.js";
|
|
8
8
|
import MazPopover from "./MazPopover.js";
|
|
9
9
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
10
|
-
import '../assets/MazSelect.
|
|
10
|
+
import '../assets/MazSelect.Cljh3PVV.css';let timeout = null;
|
|
11
11
|
function debounceCallback(callback, delay) {
|
|
12
12
|
timeout && clearTimeout(timeout), timeout = setTimeout(callback, delay);
|
|
13
13
|
}
|
|
@@ -151,6 +151,8 @@ const _hoisted_1 = ["aria-label"], _hoisted_2 = ["id"], _hoisted_3 = { class: "m
|
|
|
151
151
|
}, 1e3));
|
|
152
152
|
}
|
|
153
153
|
function mainInputKeyboardHandler(event) {
|
|
154
|
+
if (event.ctrlKey || event.metaKey || event.altKey)
|
|
155
|
+
return;
|
|
154
156
|
const keyPressed = event.key;
|
|
155
157
|
(keyPressed === "ArrowDown" || keyPressed === "ArrowUp" || /^[\dA-Za-z\u0400-\u04FF]$/.test(keyPressed)) && !isOpen.value && (event.preventDefault(), popoverComponent.value?.open()), /^[\dA-Za-z\u0400-\u04FF]$/.test(keyPressed) && props.search && focusSearchInputAndSetQuery(keyPressed);
|
|
156
158
|
}
|
|
@@ -160,7 +162,7 @@ const _hoisted_1 = ["aria-label"], _hoisted_2 = ["id"], _hoisted_3 = { class: "m
|
|
|
160
162
|
const item = optionListElement.value?.querySelector(`.m-select-list-item:nth-child(${index + 1})`);
|
|
161
163
|
if (item && optionListScrollWrapper.value) {
|
|
162
164
|
const wrapperRect = optionListScrollWrapper.value.getBoundingClientRect(), itemRect = item.getBoundingClientRect(), scrollTop = item.offsetTop - wrapperRect.height / 2 + itemRect.height / 2;
|
|
163
|
-
optionListScrollWrapper.value.scrollTo({
|
|
165
|
+
optionListScrollWrapper.value.scrollTo?.({
|
|
164
166
|
top: scrollTop,
|
|
165
167
|
behavior: "auto"
|
|
166
168
|
}), nextTick(() => {
|
|
@@ -240,6 +242,7 @@ const _hoisted_1 = ["aria-label"], _hoisted_2 = ["id"], _hoisted_3 = { class: "m
|
|
|
240
242
|
offset: 0,
|
|
241
243
|
"prefer-position": _ctx.listPosition,
|
|
242
244
|
"fallback-position": "top-start",
|
|
245
|
+
"position-reference": ".m-input-wrapper",
|
|
243
246
|
onClose: onCloseList,
|
|
244
247
|
onOpen: onOpenList
|
|
245
248
|
}, {
|
|
@@ -266,10 +269,7 @@ const _hoisted_1 = ["aria-label"], _hoisted_2 = ["id"], _hoisted_3 = { class: "m
|
|
|
266
269
|
onFocus: _cache[2] || (_cache[2] = ($event) => emits("focus", $event)),
|
|
267
270
|
onBlur: _cache[3] || (_cache[3] = ($event) => emits("blur", $event)),
|
|
268
271
|
onKeydown: mainInputKeyboardHandler
|
|
269
|
-
}), {
|
|
270
|
-
"left-icon": withCtx(() => [
|
|
271
|
-
renderSlot(_ctx.$slots, "left-icon", {}, void 0, !0)
|
|
272
|
-
]),
|
|
272
|
+
}), createSlots({
|
|
273
273
|
"right-icon": withCtx(() => [
|
|
274
274
|
renderSlot(_ctx.$slots, "right-icon", {}, () => [
|
|
275
275
|
createElementVNode("button", {
|
|
@@ -278,12 +278,20 @@ const _hoisted_1 = ["aria-label"], _hoisted_2 = ["id"], _hoisted_3 = { class: "m
|
|
|
278
278
|
class: "m-select-input__toggle-button maz-custom",
|
|
279
279
|
"aria-label": `${isOpen.value ? "collapse" : "expand"} list of options`
|
|
280
280
|
}, [
|
|
281
|
-
createVNode(unref(
|
|
281
|
+
createVNode(unref(MazChevronDown), { class: "m-select-chevron" })
|
|
282
282
|
], 8, _hoisted_1)
|
|
283
283
|
], !0)
|
|
284
284
|
]),
|
|
285
|
-
_:
|
|
286
|
-
},
|
|
285
|
+
_: 2
|
|
286
|
+
}, [
|
|
287
|
+
_ctx.$slots["left-icon"] ? {
|
|
288
|
+
name: "left-icon",
|
|
289
|
+
fn: withCtx(() => [
|
|
290
|
+
renderSlot(_ctx.$slots, "left-icon", {}, void 0, !0)
|
|
291
|
+
]),
|
|
292
|
+
key: "0"
|
|
293
|
+
} : void 0
|
|
294
|
+
]), 1040, ["id", "required", "border-active", "color", "model-value", "size", "block", "placeholder", "label", "autocomplete", "disabled"])
|
|
287
295
|
]),
|
|
288
296
|
default: withCtx(() => [
|
|
289
297
|
createElementVNode("div", {
|
|
@@ -318,11 +326,11 @@ const _hoisted_1 = ["aria-label"], _hoisted_2 = ["id"], _hoisted_3 = { class: "m
|
|
|
318
326
|
autocomplete: "off",
|
|
319
327
|
block: "",
|
|
320
328
|
class: "m-select-list__search-input maz-flex-none",
|
|
321
|
-
"left-icon": unref(
|
|
329
|
+
"left-icon": unref(MazMagnifyingGlass)
|
|
322
330
|
}, null, 8, ["modelValue", "disabled", "color", "placeholder", "left-icon"])) : createCommentVNode("", !0),
|
|
323
331
|
!optionList.value || optionList.value.length <= 0 ? renderSlot(_ctx.$slots, "no-results", { key: 1 }, () => [
|
|
324
332
|
createElementVNode("span", _hoisted_3, [
|
|
325
|
-
createVNode(unref(
|
|
333
|
+
createVNode(unref(MazNoSymbol), { class: "maz-size-6 maz-text-foreground" })
|
|
326
334
|
])
|
|
327
335
|
], !0) : (openBlock(), createElementBlock("div", {
|
|
328
336
|
key: 2,
|
|
@@ -370,7 +378,7 @@ const _hoisted_1 = ["aria-label"], _hoisted_2 = ["id"], _hoisted_3 = { class: "m
|
|
|
370
378
|
_: 3
|
|
371
379
|
}, 8, ["modelValue", "class", "style", "block", "prefer-position"]));
|
|
372
380
|
}
|
|
373
|
-
}), MazSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
381
|
+
}), MazSelect = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-aa45ea2e"]]);
|
|
374
382
|
export {
|
|
375
383
|
MazSelect as default
|
|
376
384
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent, computed, defineAsyncComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, createVNode, mergeProps, unref, withCtx, createElementVNode, createCommentVNode, renderSlot, createBlock, toDisplayString } from "vue";
|
|
2
|
-
import { u as useTranslations } from "../chunks/useTranslations.
|
|
3
|
-
import { i as isServer } from "../chunks/vClickOutside.
|
|
2
|
+
import { u as useTranslations } from "../chunks/useTranslations.D5aoYwD7.js";
|
|
3
|
+
import { i as isServer } from "../chunks/vClickOutside.DIOiluy0.js";
|
|
4
4
|
import { useDisplayNames } from "../composables/useDisplayNames.js";
|
|
5
5
|
import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
6
6
|
import MazSelect from "./MazSelect.js";
|
|
7
7
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
8
|
-
import '../assets/MazSelectCountry.
|
|
8
|
+
import '../assets/MazSelectCountry.CdNTQPhr.css';function getBrowserLocale() {
|
|
9
9
|
try {
|
|
10
|
-
return isServer() ? void 0 :
|
|
10
|
+
return isServer() ? void 0 : globalThis.navigator.language;
|
|
11
11
|
} catch (error) {
|
|
12
12
|
throw new Error(`[MazInputPhoneNumber] (browserLocale) ${error}`);
|
|
13
13
|
}
|
|
@@ -50,6 +50,7 @@ const _hoisted_1 = {
|
|
|
50
50
|
options: {},
|
|
51
51
|
displayNamesOptions: { default: () => ({ type: "region", languageDisplay: "standard", fallback: "code", style: "long" }) },
|
|
52
52
|
codesType: {},
|
|
53
|
+
open: { type: Boolean },
|
|
53
54
|
label: {},
|
|
54
55
|
placeholder: {},
|
|
55
56
|
modelValue: {},
|
|
@@ -82,7 +83,7 @@ const _hoisted_1 = {
|
|
|
82
83
|
excludedCodes: () => __props.ignoredCodes,
|
|
83
84
|
preferredCodes: () => __props.preferredCodes,
|
|
84
85
|
codesType: _codesType
|
|
85
|
-
}), countriesOptions = computed(() => __props.options
|
|
86
|
+
}), countriesOptions = computed(() => __props.options ? __props.options : displayNames?.value ?? []), messages = computed(() => ({
|
|
86
87
|
searchPlaceholder: __props.translations?.searchPlaceholder ?? t("selectCountry.searchPlaceholder")
|
|
87
88
|
}));
|
|
88
89
|
function getFlagUrl(code, size = "h20") {
|
|
@@ -125,11 +126,11 @@ const _hoisted_1 = {
|
|
|
125
126
|
required: _ctx.required,
|
|
126
127
|
"search-function": _ctx.searchFunction,
|
|
127
128
|
"format-input-value": _ctx.formatInputValue,
|
|
128
|
-
"display-code": _ctx.displayCode,
|
|
129
129
|
"search-placeholder": messages.value.searchPlaceholder,
|
|
130
130
|
"search-threshold": _ctx.searchThreshold,
|
|
131
131
|
options: countriesOptions.value,
|
|
132
132
|
hint: _ctx.hint,
|
|
133
|
+
open: _ctx.open,
|
|
133
134
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.$emit("update:model-value", $event))
|
|
134
135
|
}), {
|
|
135
136
|
"left-icon": withCtx(() => [
|
|
@@ -190,10 +191,10 @@ const _hoisted_1 = {
|
|
|
190
191
|
], 2)
|
|
191
192
|
]),
|
|
192
193
|
_: 3
|
|
193
|
-
}, 16, ["id", "model-value", "option-value-key", "option-label-key", "option-input-value-key", "max-list-width", "min-list-width", "disabled", "color", "placeholder", "label", "size", "list-position", "error", "warning", "success", "search", "block", "autocomplete", "item-height", "max-list-height", "min-list-height", "required", "search-function", "format-input-value", "
|
|
194
|
+
}, 16, ["id", "model-value", "option-value-key", "option-label-key", "option-input-value-key", "max-list-width", "min-list-width", "disabled", "color", "placeholder", "label", "size", "list-position", "error", "warning", "success", "search", "block", "autocomplete", "item-height", "max-list-height", "min-list-height", "required", "search-function", "format-input-value", "search-placeholder", "search-threshold", "options", "hint", "open"])
|
|
194
195
|
], 6));
|
|
195
196
|
}
|
|
196
|
-
}), MazSelectCountry = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
197
|
+
}), MazSelectCountry = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c36e4733"]]);
|
|
197
198
|
export {
|
|
198
199
|
MazSelectCountry as default
|
|
199
200
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch, onMounted, onBeforeUnmount, nextTick, createElementBlock, openBlock, normalizeClass, normalizeStyle, createElementVNode, Fragment, renderList, toDisplayString } from "vue";
|
|
2
2
|
import { d as debounce } from "../chunks/debounce.Brzkn9pm.js";
|
|
3
3
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
4
|
-
import '../assets/MazSlider.
|
|
4
|
+
import '../assets/MazSlider.y4qpnD0N.css';function getOffset(elem) {
|
|
5
5
|
const doc = document.documentElement, body = document.body, rect = elem.getBoundingClientRect();
|
|
6
6
|
return {
|
|
7
7
|
y: rect.top + (window.pageYOffset || doc.scrollTop) - (doc.clientTop || body.clientTop || 0),
|
|
@@ -199,7 +199,7 @@ const _hoisted_1 = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], _hoisted
|
|
|
199
199
|
], 8, _hoisted_1)
|
|
200
200
|
], 38));
|
|
201
201
|
}
|
|
202
|
-
}), MazSlider = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
202
|
+
}), MazSlider = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b7aacef4"]]);
|
|
203
203
|
export {
|
|
204
204
|
MazSlider as default
|
|
205
205
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, useSlots, ref, createElementBlock, openBlock, normalizeStyle, Fragment, renderList, createCommentVNode, createElementVNode, normalizeClass, renderSlot, createBlock, resolveDynamicComponent, createTextVNode, toDisplayString, createVNode, withCtx } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { MazCheckCircle, MazExclamationTriangle, MazExclamationCircle } from "@maz-ui/icons";
|
|
3
3
|
import MazExpandAnimation from "./MazExpandAnimation.js";
|
|
4
4
|
import MazIcon from "./MazIcon.js";
|
|
5
5
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
6
|
-
import '../assets/MazStepper.
|
|
6
|
+
import '../assets/MazStepper.DtWZmm-f.css';const _hoisted_1 = ["id", "disabled", "onClick"], _hoisted_2 = { class: "m-stepper__header__wrapper" }, _hoisted_3 = { class: "m-stepper__count --primary" }, _hoisted_4 = { class: "m-stepper__count__circle" }, _hoisted_5 = { class: "m-stepper__header__content" }, _hoisted_6 = { class: "m-stepper__title" }, _hoisted_7 = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "m-stepper__subtitle"
|
|
9
9
|
}, _hoisted_8 = {
|
|
@@ -33,7 +33,7 @@ import '../assets/MazStepper.DYMde9uq.css';const _hoisted_1 = ["id", "disabled",
|
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
35
|
function getStepStateData(step) {
|
|
36
|
-
return isStepSuccess(step) ? { icon:
|
|
36
|
+
return isStepSuccess(step) ? { icon: MazCheckCircle, class: "--success" } : isStepWarning(step) ? { icon: MazExclamationTriangle, class: "--warning" } : isStepError(step) ? { icon: MazExclamationCircle, class: "--error" } : { class: "--normal" };
|
|
37
37
|
}
|
|
38
38
|
function getStepIcon(step) {
|
|
39
39
|
return __props.steps?.[step - 1]?.icon;
|
|
@@ -148,7 +148,7 @@ import '../assets/MazStepper.DYMde9uq.css';const _hoisted_1 = ["id", "disabled",
|
|
|
148
148
|
], 64))), 128))
|
|
149
149
|
], 4));
|
|
150
150
|
}
|
|
151
|
-
}), MazStepper = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
151
|
+
}), MazStepper = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c6fcb131"]]);
|
|
152
152
|
export {
|
|
153
153
|
MazStepper as default
|
|
154
154
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as _sfc_main } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.
|
|
2
|
-
import { m } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.
|
|
1
|
+
import { _ as _sfc_main } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.BcTw9Tyh.js";
|
|
2
|
+
import { m } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.BcTw9Tyh.js";
|
|
3
3
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
4
|
-
import '../assets/MazTable.
|
|
4
|
+
import '../assets/MazTable.DMlQdImb.css';const MazTable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3f352ade"]]);
|
|
5
5
|
export {
|
|
6
6
|
MazTable as default,
|
|
7
7
|
m as mazTableKey
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
|
|
2
2
|
import { useInjectStrict } from "../composables/useInjectStrict.js";
|
|
3
|
-
import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.
|
|
3
|
+
import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.BcTw9Tyh.js";
|
|
4
4
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
5
5
|
import '../assets/MazTableCell.BPgmqAMD.css';const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "MazTableCell",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
|
|
2
2
|
import { useInjectStrict } from "../composables/useInjectStrict.js";
|
|
3
|
-
import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.
|
|
3
|
+
import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.BcTw9Tyh.js";
|
|
4
4
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
5
5
|
import '../assets/MazTableRow.B78Bd4Kv.css';const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "MazTableRow",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, renderSlot } from "vue";
|
|
2
2
|
import { useInjectStrict } from "../composables/useInjectStrict.js";
|
|
3
|
-
import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.
|
|
3
|
+
import { m as mazTableKey } from "../chunks/MazTable.vue_vue_type_script_setup_true_lang.BcTw9Tyh.js";
|
|
4
4
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
5
5
|
import '../assets/MazTableTitle.BjJMgQFY.css';const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "MazTableTitle",
|
|
@@ -2,7 +2,7 @@ import { defineComponent, defineAsyncComponent, ref, computed, onBeforeMount, on
|
|
|
2
2
|
import { s as sleep } from "../chunks/sleep.BLRH1qZG.js";
|
|
3
3
|
import { useInjectStrict } from "../composables/useInjectStrict.js";
|
|
4
4
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
5
|
-
import '../assets/MazTabsBar.
|
|
5
|
+
import '../assets/MazTabsBar.gcS2Fc-B.css';const _hoisted_1 = ["disabled", "onClick"], _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "MazTabsBar",
|
|
7
7
|
props: {
|
|
8
8
|
items: {},
|
|
@@ -44,7 +44,7 @@ import '../assets/MazTabsBar.B9N_jdqU.css';const _hoisted_1 = ["disabled", "onCl
|
|
|
44
44
|
return;
|
|
45
45
|
const scrollOffset = 50;
|
|
46
46
|
if (activeTab.offsetLeft - scrollOffset < tabsBar.scrollLeft || activeTab.offsetLeft + activeTab.offsetWidth > tabsBar.scrollLeft + tabsBar.clientWidth) {
|
|
47
|
-
const tabBarPaddingLeft =
|
|
47
|
+
const tabBarPaddingLeft = globalThis.getComputedStyle(tabsBar, "padding-left").paddingLeft, tabsBarPaddingOffset = Number(tabBarPaddingLeft.slice(0, -2));
|
|
48
48
|
tabsBar.scrollTo({
|
|
49
49
|
left: activeTab.offsetLeft - tabsBarPaddingOffset - scrollOffset,
|
|
50
50
|
behavior: tabsBarHasScrollAnimation.value ? "smooth" : "instant"
|
|
@@ -75,12 +75,12 @@ import '../assets/MazTabsBar.B9N_jdqU.css';const _hoisted_1 = ["disabled", "onCl
|
|
|
75
75
|
}
|
|
76
76
|
);
|
|
77
77
|
function getQueryParamTab() {
|
|
78
|
-
const urlActuelle = new URL(
|
|
78
|
+
const urlActuelle = new URL(globalThis.location.href);
|
|
79
79
|
return Number(urlActuelle.searchParams.get(__props.queryParam));
|
|
80
80
|
}
|
|
81
81
|
function addOrUpdateQueryParamTab(tab) {
|
|
82
|
-
const urlActuelle = new URL(
|
|
83
|
-
urlActuelle.searchParams.set(__props.queryParam, String(tab)),
|
|
82
|
+
const urlActuelle = new URL(globalThis.location.href);
|
|
83
|
+
urlActuelle.searchParams.set(__props.queryParam, String(tab)), globalThis.history.replaceState({}, document.title, urlActuelle.toString());
|
|
84
84
|
}
|
|
85
85
|
return onMounted(() => {
|
|
86
86
|
__props.persistent && updateCurrentTab(getQueryParamTab() || currentTab.value || 1);
|
|
@@ -132,7 +132,7 @@ import '../assets/MazTabsBar.B9N_jdqU.css';const _hoisted_1 = ["disabled", "onCl
|
|
|
132
132
|
], 14, _hoisted_1))), 128))
|
|
133
133
|
], 2));
|
|
134
134
|
}
|
|
135
|
-
}), MazTabsBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
135
|
+
}), MazTabsBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-318a382c"]]);
|
|
136
136
|
export {
|
|
137
137
|
MazTabsBar as default
|
|
138
138
|
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, onMounted, onBeforeUnmount, useSlots, c
|
|
|
2
2
|
import { d as debounce } from "../chunks/debounce.Brzkn9pm.js";
|
|
3
3
|
import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
4
4
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
5
|
-
import '../assets/MazTextarea.
|
|
5
|
+
import '../assets/MazTextarea.DME7BHS5.css';class TextareaAutogrow {
|
|
6
6
|
element;
|
|
7
7
|
constructor(element) {
|
|
8
8
|
this.element = element, this.onFocus = this.onFocus.bind(this), this.autogrow = this.autogrow.bind(this), this.onResize = debounce(this.onResize.bind(this), 200), this.connect();
|
|
@@ -162,7 +162,7 @@ const _hoisted_1 = ["for"], _hoisted_2 = ["for"], _hoisted_3 = { key: 1 }, _hois
|
|
|
162
162
|
])) : createCommentVNode("", !0)
|
|
163
163
|
], 14, _hoisted_1));
|
|
164
164
|
}
|
|
165
|
-
}), MazTextarea = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
165
|
+
}), MazTextarea = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-33678f23"]]);
|
|
166
166
|
export {
|
|
167
167
|
MazTextarea as default
|
|
168
168
|
};
|
package/dist/components/index.js
CHANGED
|
@@ -14,11 +14,11 @@ import { _ } from "../chunks/MazChart.vue_vue_type_script_setup_true_lang.JSYXGy
|
|
|
14
14
|
import { default as default14 } from "./MazCheckbox.js";
|
|
15
15
|
import { default as default15 } from "./MazChecklist.js";
|
|
16
16
|
import { default as default16 } from "./MazCircularProgressBar.js";
|
|
17
|
-
import { M } from "../chunks/MazDatePicker.
|
|
17
|
+
import { M } from "../chunks/MazDatePicker.De3Ltb2F.js";
|
|
18
18
|
import { default as default17 } from "./MazDialog.js";
|
|
19
|
-
import { _ as _2, u } from "../chunks/
|
|
19
|
+
import { _ as _2, u } from "../chunks/MazDialogConfirm.vue_vue_type_script_setup_true_lang.Df9N-wrT.js";
|
|
20
20
|
import { default as default18 } from "./MazDrawer.js";
|
|
21
|
-
import { _ as _3 } from "../chunks/MazDropdown.vue_vue_type_style_index_0_lang.
|
|
21
|
+
import { _ as _3 } from "../chunks/MazDropdown.vue_vue_type_style_index_0_lang.BES3jpuw.js";
|
|
22
22
|
import { default as default19 } from "./MazDropzone.js";
|
|
23
23
|
import { default as default20 } from "./MazExpandAnimation.js";
|
|
24
24
|
import { default as default21 } from "./MazFullscreenLoader.js";
|
|
@@ -26,9 +26,9 @@ import { default as default22 } from "./MazGallery.js";
|
|
|
26
26
|
import { default as default23 } from "./MazIcon.js";
|
|
27
27
|
import { default as default24 } from "./MazInput.js";
|
|
28
28
|
import { default as default25 } from "./MazInputCode.js";
|
|
29
|
-
import { _ as _4 } from "../chunks/MazInputNumber.vue_vue_type_style_index_0_lang.
|
|
30
|
-
import { M as M2 } from "../chunks/MazInputPhoneNumber.
|
|
31
|
-
import { _ as _5 } from "../chunks/MazInputPrice.vue_vue_type_script_setup_true_lang.
|
|
29
|
+
import { _ as _4 } from "../chunks/MazInputNumber.vue_vue_type_style_index_0_lang.B6DYpHfi.js";
|
|
30
|
+
import { M as M2 } from "../chunks/MazInputPhoneNumber.DBncAmC5.js";
|
|
31
|
+
import { _ as _5 } from "../chunks/MazInputPrice.vue_vue_type_script_setup_true_lang.BA6TDX-T.js";
|
|
32
32
|
import { default as default26 } from "./MazInputTags.js";
|
|
33
33
|
import { default as default27 } from "./MazLazyImg.js";
|
|
34
34
|
import { default as default28 } from "./MazLink.js";
|
|
@@ -44,7 +44,7 @@ import { default as default37 } from "./MazSelectCountry.js";
|
|
|
44
44
|
import { default as default38 } from "./MazSlider.js";
|
|
45
45
|
import { default as default39 } from "./MazSpinner.js";
|
|
46
46
|
import { default as default40 } from "./MazStepper.js";
|
|
47
|
-
import { _ as _6 } from "../chunks/MazSwitch.vue_vue_type_style_index_0_lang.
|
|
47
|
+
import { _ as _6 } from "../chunks/MazSwitch.vue_vue_type_style_index_0_lang.CU43Y1ky.js";
|
|
48
48
|
import { default as default41 } from "./MazTable.js";
|
|
49
49
|
import { default as default42 } from "./MazTableCell.js";
|
|
50
50
|
import { default as default43 } from "./MazTableRow.js";
|
|
@@ -73,7 +73,7 @@ export {
|
|
|
73
73
|
default16 as MazCircularProgressBar,
|
|
74
74
|
M as MazDatePicker,
|
|
75
75
|
default17 as MazDialog,
|
|
76
|
-
_2 as
|
|
76
|
+
_2 as MazDialogConfirm,
|
|
77
77
|
default18 as MazDrawer,
|
|
78
78
|
_3 as MazDropdown,
|
|
79
79
|
default19 as MazDropzone,
|
|
@@ -111,5 +111,5 @@ export {
|
|
|
111
111
|
_8 as MazTabsContent,
|
|
112
112
|
default46 as MazTabsContentItem,
|
|
113
113
|
default47 as MazTextarea,
|
|
114
|
-
u as
|
|
114
|
+
u as useMazDialogConfirm
|
|
115
115
|
};
|
|
@@ -7,6 +7,12 @@ const bcp47Codes = ["af-ZA", "sq-AL", "ar-DZ", "ar-BH", "ar-EG", "ar-IQ", "ar-JO
|
|
|
7
7
|
style: "long",
|
|
8
8
|
localeMatcher: "lookup"
|
|
9
9
|
}, displayNamesCache = /* @__PURE__ */ new Map();
|
|
10
|
+
let cacheCleanupTimer = null;
|
|
11
|
+
function scheduleCacheCleanup() {
|
|
12
|
+
cacheCleanupTimer && clearTimeout(cacheCleanupTimer), cacheCleanupTimer = setTimeout(() => {
|
|
13
|
+
displayNamesCache.size > 50 && displayNamesCache.clear(), cacheCleanupTimer = null;
|
|
14
|
+
}, 5 * 60 * 1e3);
|
|
15
|
+
}
|
|
10
16
|
function isSameLanguageThanCode(language, code) {
|
|
11
17
|
return !language || language?.toLocaleLowerCase() === code.toLocaleLowerCase();
|
|
12
18
|
}
|
|
@@ -21,7 +27,7 @@ function getDisplayNamesInstance(locale, options = DEFAULT_DISPLAY_NAMES_OPTIONS
|
|
|
21
27
|
...options,
|
|
22
28
|
type: options.type ?? DEFAULT_DISPLAY_NAMES_OPTIONS.type
|
|
23
29
|
});
|
|
24
|
-
displayNamesCache.set(cacheKey, instance);
|
|
30
|
+
displayNamesCache.set(cacheKey, instance), scheduleCacheCleanup();
|
|
25
31
|
} catch (error) {
|
|
26
32
|
return console.warn(`[maz-ui] (useDisplayNames) Failed to create DisplayNames instance for locale ${locale}:`, error), null;
|
|
27
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as isClient } from "../chunks/isClient.WI4oSt66.js";
|
|
2
2
|
import { ref, shallowRef, watch, toValue, onBeforeUnmount, unref } from "vue";
|
|
3
|
-
function
|
|
3
|
+
function useDropzone(target, options = {}) {
|
|
4
4
|
const isOverDropZone = ref(!1), isOverError = ref(!1), files = shallowRef(null);
|
|
5
5
|
let counter = 0, isValid = !0;
|
|
6
6
|
if (isClient()) {
|
|
@@ -16,7 +16,7 @@ function useDropZone(target, options = {}) {
|
|
|
16
16
|
const types = Array.from(items ?? []).map((item) => item.type), dataTypesValid = checkDataTypes(types), multipleFilesValid = multiple || items.length <= 1;
|
|
17
17
|
return dataTypesValid && multipleFilesValid;
|
|
18
18
|
}, isSafari = function() {
|
|
19
|
-
return /^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent) && !("chrome" in
|
|
19
|
+
return /^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent) && !("chrome" in globalThis);
|
|
20
20
|
}, handleDragEvent = function(event, eventType) {
|
|
21
21
|
const dataTransferItemList = event.dataTransfer?.items;
|
|
22
22
|
isValid = (dataTransferItemList && checkValidity(dataTransferItemList)) ?? !1, preventDefaultForUnhandled && event.preventDefault();
|
|
@@ -37,11 +37,11 @@ function useDropZone(target, options = {}) {
|
|
|
37
37
|
}
|
|
38
38
|
}, removeEventListeners = function() {
|
|
39
39
|
const targetElement = toValue(target);
|
|
40
|
-
targetElement && (targetElement.removeEventListener("dragenter",
|
|
40
|
+
targetElement && (targetElement.removeEventListener("dragenter", dragHandler), targetElement.removeEventListener("dragover", dragHandler), targetElement.removeEventListener("dragleave", dragHandler), targetElement.removeEventListener("drop", dragHandler));
|
|
41
41
|
};
|
|
42
|
-
const _options = typeof options == "function" ? { onDrop: options } : options, multiple = _options.multiple ?? !0, preventDefaultForUnhandled = _options.preventDefaultForUnhandled ?? !1;
|
|
42
|
+
const _options = typeof options == "function" ? { onDrop: options } : options, multiple = _options.multiple ?? !0, preventDefaultForUnhandled = _options.preventDefaultForUnhandled ?? !1, dragHandler = (event) => handleDragEvent(event, "enter");
|
|
43
43
|
watch(() => toValue(target), (element) => {
|
|
44
|
-
element && (element.addEventListener("dragenter",
|
|
44
|
+
element && (element.addEventListener("dragenter", dragHandler), element.addEventListener("dragover", dragHandler), element.addEventListener("dragleave", dragHandler), element.addEventListener("drop", dragHandler));
|
|
45
45
|
}, { immediate: !0 }), onBeforeUnmount(() => {
|
|
46
46
|
removeEventListeners();
|
|
47
47
|
});
|
|
@@ -53,5 +53,5 @@ function useDropZone(target, options = {}) {
|
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
55
|
export {
|
|
56
|
-
|
|
56
|
+
useDropzone
|
|
57
57
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { e as getContext, f as fieldHasValidation, i as updateFieldState, j as isEqual, k as setFieldValidationState, l as getValidationEvents, d as hasModeIncludes, r as removeEventFromInteractiveElements, m as handleFieldBlur, n as findInteractiveElements, o as addEventToInteractiveElements } from "../chunks/utils.D9NiqfdV.js";
|
|
1
|
+
import { e as getContext, f as fieldHasValidation, i as updateFieldState, j as isEqual, k as setFieldValidationState, l as getValidationEvents, h as hasModeIncludes, r as removeEventFromInteractiveElements, m as findInteractiveElements, n as addEventToInteractiveElements, o as handleFieldBlur } from "../chunks/dom-events.Bbe7wDQl.js";
|
|
3
2
|
import { computed, onMounted, onUnmounted } from "vue";
|
|
4
3
|
import { useFreezeValue } from "./useFreezeValue.js";
|
|
5
4
|
function useFormField(name, options) {
|
|
@@ -13,17 +12,17 @@ function useFormField(name, options) {
|
|
|
13
12
|
internalSchema,
|
|
14
13
|
errorMessages,
|
|
15
14
|
isSubmitted
|
|
16
|
-
} = getContext(opts.formIdentifier, "useFormField"), fieldMode = fieldHasValidation(name, internalSchema.value) ? options?.mode ?? formOptions.mode : void 0;
|
|
17
|
-
|
|
15
|
+
} = getContext(opts.formIdentifier, "useFormField"), finalOpts = opts, fieldMode = fieldHasValidation(name, internalSchema.value) ? options?.mode ?? formOptions.mode : void 0;
|
|
16
|
+
finalOpts.mode = fieldMode;
|
|
18
17
|
const fieldState = computed(() => fieldsStates.value[name]);
|
|
19
18
|
if (fieldsStates.value[name] = updateFieldState({
|
|
20
19
|
name,
|
|
21
20
|
fieldState: fieldState.value,
|
|
22
21
|
payload: payload.value,
|
|
23
22
|
schema: internalSchema.value,
|
|
24
|
-
options: { ...formOptions, ...
|
|
25
|
-
}),
|
|
26
|
-
const initialValue =
|
|
23
|
+
options: { ...formOptions, ...finalOpts }
|
|
24
|
+
}), finalOpts.defaultValue !== void 0 && !isEqual(payload.value[name], finalOpts.defaultValue)) {
|
|
25
|
+
const initialValue = finalOpts.defaultValue;
|
|
27
26
|
payload.value[name] = initialValue, fieldsStates.value[name].initialValue = useFreezeValue(initialValue);
|
|
28
27
|
}
|
|
29
28
|
fieldMode && setFieldValidationState({
|
|
@@ -45,27 +44,26 @@ function useFormField(name, options) {
|
|
|
45
44
|
}
|
|
46
45
|
const validationEvents = computed(
|
|
47
46
|
() => getValidationEvents({
|
|
48
|
-
hasRef: !!
|
|
47
|
+
hasRef: !!finalOpts.ref?.value,
|
|
49
48
|
onBlur,
|
|
50
49
|
fieldState: fieldState.value
|
|
51
50
|
})
|
|
52
51
|
);
|
|
53
|
-
if (
|
|
52
|
+
if (finalOpts.ref && fieldMode && hasModeIncludes(["eager", "blur", "progressive"], fieldMode)) {
|
|
54
53
|
let interactiveElements = [];
|
|
55
54
|
const handleInteractiveElements = (element) => {
|
|
56
|
-
interactiveElements
|
|
55
|
+
interactiveElements.length > 0 && removeEventFromInteractiveElements({
|
|
56
|
+
interactiveElements,
|
|
57
|
+
onBlur
|
|
58
|
+
}), interactiveElements = findInteractiveElements(element), addEventToInteractiveElements({
|
|
57
59
|
interactiveElements,
|
|
58
60
|
onBlur,
|
|
59
61
|
mode: fieldMode
|
|
60
62
|
});
|
|
61
63
|
};
|
|
62
64
|
onMounted(() => {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
interactiveElement && handleInteractiveElements(interactiveElement);
|
|
66
|
-
}, {
|
|
67
|
-
errorMessage: `[maz-ui](useFormField) No element found for ref ${opts.ref} for field ${name}`
|
|
68
|
-
});
|
|
65
|
+
const element = finalOpts.ref?.value, elementToBind = element instanceof HTMLElement ? element : element?.$el;
|
|
66
|
+
elementToBind instanceof HTMLElement ? handleInteractiveElements(elementToBind) : console.warn(`[maz-ui](useFormField) No element found for ref in field '${String(name)}'. Make sure the ref is properly bound to an HTMLElement or Vue component (form identifier: ${formOptions.identifier})`);
|
|
69
67
|
}), onUnmounted(() => {
|
|
70
68
|
removeEventFromInteractiveElements({
|
|
71
69
|
interactiveElements,
|
|
@@ -87,8 +85,7 @@ function useFormField(name, options) {
|
|
|
87
85
|
get: () => payload.value[name],
|
|
88
86
|
set: (value) => payload.value[name] = value
|
|
89
87
|
}),
|
|
90
|
-
validationEvents
|
|
91
|
-
onBlur
|
|
88
|
+
validationEvents
|
|
92
89
|
};
|
|
93
90
|
}
|
|
94
91
|
export {
|