maz-ui 4.0.0-beta.8 → 4.0.0
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 +1 -1
- package/dist/assets/{MazAnimatedCounter.DkZNPRLp.css → MazAnimatedCounter.LK7oyUrl.css} +1 -1
- package/dist/assets/MazAnimatedText.CHvAudRU.css +1 -0
- package/dist/assets/MazBackdrop.09bziTPM.css +1 -0
- package/dist/assets/{MazBadge.DN8tdE8_.css → MazBadge.ChI2DaTU.css} +1 -1
- package/dist/assets/MazBtn.BvC8ftmc.css +1 -0
- package/dist/assets/MazCard.Dv02b2P6.css +1 -0
- package/dist/assets/MazCardSpotlight.B7lFD7Pi.css +1 -0
- package/dist/assets/MazCarousel.BLHpZIu5.css +1 -0
- package/dist/assets/MazCheckbox.Di88TJ3e.css +1 -0
- package/dist/assets/MazChecklist.Bu8wERn6.css +1 -0
- package/dist/assets/MazDatePicker.G6V7jjin.css +1 -0
- package/dist/assets/{MazDialog.DEmRfAv7.css → MazDialog.TS06kRcu.css} +1 -1
- package/dist/assets/MazDropdown.D90GEKDB.css +1 -0
- package/dist/assets/MazDropzone._2HwHowu.css +1 -0
- package/dist/assets/MazGallery.BTNB3D6k.css +1 -0
- package/dist/assets/MazInput.BvuxfP9k.css +1 -0
- package/dist/assets/MazInputCode.BYi64Mof.css +1 -0
- package/dist/assets/MazInputPhoneNumber.Baeyskod.css +1 -0
- package/dist/assets/MazInputTags.is2jSJk-.css +1 -0
- package/dist/assets/MazLazyImg.DO7a4PDm.css +1 -0
- package/dist/assets/MazLink.CFscNMFr.css +1 -0
- package/dist/assets/{MazPagination.C6cUh-p4.css → MazPagination.BUhf2Qr7.css} +1 -1
- package/dist/assets/MazPickerCalendar.e-eF8E7m.css +1 -0
- package/dist/assets/MazPickerCalendarMonth.DpijYq-O.css +1 -0
- package/dist/assets/{MazPickerCalendarSwitcher.uni8vJJv.css → MazPickerCalendarSwitcher.ByAVjy00.css} +1 -1
- package/dist/assets/{MazPickerContainer.k3DGjyHC.css → MazPickerContainer.DmHuaFqE.css} +1 -1
- package/dist/assets/{MazPickerHeader.ZYCJY5bX.css → MazPickerHeader.D7JXgA3q.css} +1 -1
- package/dist/assets/MazPickerMonthSwitcher.BJGGy53r.css +1 -0
- package/dist/assets/{MazPickerYearSwitcher.Cn-nS-Vv.css → MazPickerYearSwitcher.DPD1_dfz.css} +1 -1
- package/dist/assets/MazPopover.DIE65uVT.css +1 -0
- package/dist/assets/MazPullToRefresh.C0HGlupm.css +1 -0
- package/dist/assets/MazRadio.B0B3P1QS.css +1 -0
- package/dist/assets/MazRadioButtons.CfiHq8H9.css +1 -0
- package/dist/assets/MazReadingProgressBar.dzfwQFNg.css +1 -0
- package/dist/assets/MazSelect.DIwjMD31.css +1 -0
- package/dist/assets/{MazSelectCountry.CdNTQPhr.css → MazSelectCountry.B0tlbfgr.css} +1 -1
- package/dist/assets/MazSlider.WcnBC9zc.css +1 -0
- package/dist/assets/MazSpinner.CsiFJ1DS.css +1 -0
- package/dist/assets/MazStepper.C9R7g43I.css +1 -0
- package/dist/assets/MazSwitch.LCcK91L7.css +1 -0
- package/dist/assets/MazTable.Cq7FEz09.css +1 -0
- package/dist/assets/MazTableRow.C0Ko4yDk.css +1 -0
- package/dist/assets/{MazTabsBar.gcS2Fc-B.css → MazTabsBar.BRr1XiYu.css} +1 -1
- package/dist/assets/{MazTabsContentItem.CHfy19ZF.css → MazTabsContentItem.C84SDmj0.css} +1 -1
- package/dist/assets/MazTextarea.C9sZpRDZ.css +1 -0
- package/dist/assets/{PhoneInput.DBLH22G1.css → PhoneInput.DkOXlrI9.css} +1 -1
- package/dist/assets/{fullscreen-img.Bkuz1GOX.css → fullscreen-img.Br983fLC.css} +1 -1
- package/dist/assets/{toast.CC2VQab8.css → toast.BDNNJSjj.css} +1 -1
- package/dist/chunks/{MazDatePicker.De3Ltb2F.js → MazDatePicker.B1B6gUrC.js} +49 -37
- package/dist/chunks/{MazDialogConfirm.vue_vue_type_script_setup_true_lang.-K3NpiFL.js → MazDialogConfirm.vue_vue_type_script_setup_true_lang.DuEcluOw.js} +23 -13
- package/dist/chunks/{MazDropdown.vue_vue_type_style_index_0_lang.BES3jpuw.js → MazDropdown.vue_vue_type_style_index_0_lang.DULnKQ2W.js} +16 -10
- package/dist/chunks/{MazInputNumber.vue_vue_type_style_index_0_lang.B6DYpHfi.js → MazInputNumber.vue_vue_type_style_index_0_lang.B0D4Zzds.js} +2 -2
- package/dist/chunks/{MazInputPhoneNumber.DBncAmC5.js → MazInputPhoneNumber.CDy6n_Qj.js} +25 -17
- package/dist/chunks/{MazInputPrice.vue_vue_type_script_setup_true_lang.BA6TDX-T.js → MazInputPrice.vue_vue_type_script_setup_true_lang.3pKYuG8H.js} +18 -18
- package/dist/chunks/{MazPickerCalendar.DKXNI8O4.js → MazPickerCalendar.BSBQciuG.js} +8 -8
- package/dist/chunks/{MazPickerCalendarMonth.DKBqgrNp.js → MazPickerCalendarMonth.CFJHTFp5.js} +14 -14
- package/dist/chunks/{MazPickerCalendarSwitcher.CzIZol3Z.js → MazPickerCalendarSwitcher.DC21FpTy.js} +10 -10
- package/dist/chunks/{MazPickerContainer.Mrh-Q52I.js → MazPickerContainer.CRPzAbRt.js} +4 -6
- package/dist/chunks/{MazPickerHeader.Bm9vIrtB.js → MazPickerHeader.D7Tbm-yH.js} +14 -14
- package/dist/chunks/{MazPickerMonthSwitcher.BSD2GtY6.js → MazPickerMonthSwitcher.DzHOKbe4.js} +10 -10
- package/dist/chunks/{MazPickerTime.D0hilq5b.js → MazPickerTime.EZK1foEx.js} +1 -1
- package/dist/chunks/{MazPickerYearSwitcher.BIUYJMvj.js → MazPickerYearSwitcher.BcT8GENl.js} +4 -4
- package/dist/chunks/{MazSwitch.vue_vue_type_style_index_0_lang.CU43Y1ky.js → MazSwitch.vue_vue_type_style_index_0_lang.Dz7-dIc9.js} +1 -1
- package/dist/chunks/{MazTable.vue_vue_type_script_setup_true_lang.BcTw9Tyh.js → MazTable.vue_vue_type_script_setup_true_lang.Ct1Gtp2Q.js} +5 -5
- package/dist/chunks/{MazTabsContent.vue_vue_type_script_setup_true_lang.arGqYTL5.js → MazTabsContent.vue_vue_type_script_setup_true_lang.hIwO-24k.js} +2 -2
- package/dist/chunks/{PhoneInput.iFkRoIFk.js → PhoneInput.DukRZp5u.js} +20 -27
- package/dist/chunks/capitalize.CVQ1jDrh.js +6 -0
- package/dist/chunks/checkAvailability.UFZSC8-1.js +16 -0
- package/dist/chunks/debounce.DhXdop6X.js +11 -0
- package/dist/chunks/{dom-events.Bbe7wDQl.js → dom-events.H9KIOv83.js} +52 -52
- package/dist/chunks/{fullscreen-img.directive.Be383en8.js → fullscreen-img.directive.D9oQ3Gni.js} +4 -4
- package/dist/chunks/{isClient.WI4oSt66.js → isClient.8V3qjGdO.js} +2 -2
- package/dist/chunks/{mazUi.D6UdqpTO.js → mazUi.0b7z2u9g.js} +2 -2
- package/dist/chunks/{obsidian.Cy0R8RHy.js → obsidian.C6upWOVF.js} +2 -2
- package/dist/chunks/{ocean.pHrY5H_S.js → ocean.ehMlC0HV.js} +2 -2
- package/dist/chunks/pascalCase.BKTE3qqE.js +19 -0
- package/dist/chunks/{pristine.ylgbwjxO.js → pristine.DMG3eBuN.js} +6 -6
- package/dist/chunks/sleep.Ci7GE4BQ.js +6 -0
- package/dist/chunks/truthyFilter.DZvXmxeK.js +6 -0
- package/dist/chunks/types.D0Bp_UhS.js +6 -0
- package/dist/chunks/{useStringMatching.D5UvsCUS.js → useStringMatching.DzSigyZ7.js} +40 -14
- package/dist/chunks/{vClickOutside.DIOiluy0.js → vClickOutside.CJBKY5no.js} +6 -6
- package/dist/components/MazAccordion.vue.d.ts +36 -0
- package/dist/components/MazAnimatedCounter.js +5 -5
- package/dist/components/MazAnimatedCounter.vue.d.ts +59 -0
- package/dist/components/MazAnimatedElement.vue.d.ts +44 -0
- package/dist/components/MazAnimatedText.js +4 -4
- package/dist/components/MazAnimatedText.vue.d.ts +57 -0
- package/dist/components/MazAvatar.vue.d.ts +99 -0
- package/dist/components/MazBackdrop.js +70 -31
- package/dist/components/MazBackdrop.vue.d.ts +91 -0
- package/dist/components/MazBadge.js +5 -4
- package/dist/components/MazBadge.vue.d.ts +61 -0
- package/dist/components/MazBottomSheet.vue.d.ts +35 -0
- package/dist/components/MazBtn.js +6 -5
- package/dist/components/MazBtn.vue.d.ts +105 -0
- package/dist/components/MazCard.js +3 -3
- package/dist/components/MazCard.vue.d.ts +77 -0
- package/dist/components/MazCardSpotlight.js +2 -2
- package/dist/components/MazCardSpotlight.vue.d.ts +57 -0
- package/dist/components/MazCarousel.js +12 -9
- package/dist/components/MazCarousel.vue.d.ts +48 -0
- package/dist/components/MazChart.vue.d.ts +53 -0
- package/dist/components/MazCheckbox.js +2 -2
- package/dist/components/MazCheckbox.vue.d.ts +55 -0
- package/dist/components/MazChecklist.js +7 -7
- package/dist/components/MazChecklist.vue.d.ts +87 -0
- package/dist/components/MazCircularProgressBar.vue.d.ts +106 -0
- package/dist/components/MazDatePicker/MazPickerCalendar.vue.d.ts +27 -0
- package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +20 -0
- package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +125 -0
- package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +134 -0
- package/dist/components/MazDatePicker/MazPickerCalendarSwitcher.vue.d.ts +42 -0
- package/dist/components/MazDatePicker/MazPickerContainer.vue.d.ts +38 -0
- package/dist/components/MazDatePicker/MazPickerHeader.vue.d.ts +15 -0
- package/dist/components/MazDatePicker/MazPickerMonthSwitcher.vue.d.ts +44 -0
- package/dist/components/MazDatePicker/MazPickerShortcuts.vue.d.ts +16 -0
- package/dist/components/MazDatePicker/MazPickerTime.vue.d.ts +107 -0
- package/dist/components/MazDatePicker/MazPickerYearSwitcher.vue.d.ts +36 -0
- package/dist/components/MazDatePicker/types.d.ts +14 -0
- package/dist/components/MazDatePicker/utils.d.ts +61 -0
- package/dist/components/MazDatePicker.js +1 -1
- package/dist/components/MazDatePicker.vue.d.ts +547 -0
- package/dist/components/MazDialog.js +9 -16
- package/dist/components/MazDialog.vue.d.ts +247 -0
- package/dist/components/MazDialogConfirm/useMazDialogConfirm.d.ts +47 -0
- package/dist/components/MazDialogConfirm.js +2 -2
- package/dist/components/MazDialogConfirm.vue.d.ts +270 -0
- package/dist/components/MazDrawer.vue.d.ts +52 -0
- package/dist/components/MazDropdown.js +1 -1
- package/dist/components/MazDropdown.vue.d.ts +249 -0
- package/dist/components/MazDropzone.js +6 -6
- package/dist/components/MazDropzone.vue.d.ts +305 -0
- package/dist/components/MazExpandAnimation.vue.d.ts +44 -0
- package/dist/components/MazFullscreenLoader.vue.d.ts +26 -0
- package/dist/components/MazGallery.js +4 -4
- package/dist/components/MazGallery.vue.d.ts +85 -0
- package/dist/components/MazIcon.vue.d.ts +26 -0
- package/dist/components/MazInput.js +4 -4
- package/dist/components/MazInput.vue.d.ts +225 -0
- package/dist/components/MazInputCode.js +2 -2
- package/dist/components/MazInputCode.vue.d.ts +49 -0
- package/dist/components/MazInputNumber.js +1 -1
- package/dist/components/MazInputNumber.vue.d.ts +125 -0
- package/dist/components/MazInputPhoneNumber/PhoneInput.vue.d.ts +29 -0
- package/dist/components/MazInputPhoneNumber/useLibphonenumber.d.ts +26 -0
- package/dist/components/MazInputPhoneNumber/useMazInputPhoneNumber.d.ts +26 -0
- package/dist/components/MazInputPhoneNumber.js +1 -1
- package/dist/components/MazInputPhoneNumber.vue.d.ts +421 -0
- package/dist/components/MazInputPrice.js +1 -1
- package/dist/components/MazInputPrice.vue.d.ts +48 -0
- package/dist/components/MazInputTags.js +6 -6
- package/dist/components/MazInputTags.vue.d.ts +51 -0
- package/dist/components/MazLazyImg.js +2 -2
- package/dist/components/MazLazyImg.vue.d.ts +78 -0
- package/dist/components/MazLink.js +2 -2
- package/dist/components/MazLink.vue.d.ts +115 -0
- package/dist/components/MazLoadingBar.vue.d.ts +12 -0
- package/dist/components/MazPagination.js +3 -3
- package/dist/components/MazPagination.vue.d.ts +83 -0
- package/dist/components/MazPopover.js +98 -222
- package/dist/components/MazPopover.vue.d.ts +256 -0
- package/dist/components/MazPullToRefresh.js +7 -7
- package/dist/components/MazPullToRefresh.vue.d.ts +52 -0
- package/dist/components/MazRadio.js +2 -2
- package/dist/components/MazRadio.vue.d.ts +55 -0
- package/dist/components/MazRadioButtons.js +8 -7
- package/dist/components/MazRadioButtons.vue.d.ts +69 -0
- package/dist/components/MazReadingProgressBar.js +8 -8
- package/dist/components/MazReadingProgressBar.vue.d.ts +55 -0
- package/dist/components/MazSelect.js +17 -14
- package/dist/components/MazSelect.vue.d.ts +178 -0
- package/dist/components/MazSelectCountry.js +19 -18
- package/dist/components/MazSelectCountry.vue.d.ts +171 -0
- package/dist/components/MazSlider/utils.d.ts +15 -0
- package/dist/components/MazSlider.js +36 -36
- package/dist/components/MazSlider.vue.d.ts +31 -0
- package/dist/components/MazSpinner.js +3 -4
- package/dist/components/MazSpinner.vue.d.ts +15 -0
- package/dist/components/MazStepper.js +2 -2
- package/dist/components/MazStepper.vue.d.ts +60 -0
- package/dist/components/MazSwitch.js +1 -1
- package/dist/components/MazSwitch.vue.d.ts +69 -0
- package/dist/components/MazTable.js +3 -3
- package/dist/components/MazTable.vue.d.ts +324 -0
- package/dist/components/MazTableCell.js +1 -1
- package/dist/components/MazTableCell.vue.d.ts +17 -0
- package/dist/components/MazTableRow.js +6 -5
- package/dist/components/MazTableRow.vue.d.ts +23 -0
- package/dist/components/MazTableTitle.js +1 -1
- package/dist/components/MazTableTitle.vue.d.ts +17 -0
- package/dist/components/MazTabs.vue.d.ts +30 -0
- package/dist/components/MazTabsBar.js +4 -4
- package/dist/components/MazTabsBar.vue.d.ts +96 -0
- package/dist/components/MazTabsContent.js +1 -1
- package/dist/components/MazTabsContent.vue.d.ts +17 -0
- package/dist/components/MazTabsContentItem.js +6 -7
- package/dist/components/MazTabsContentItem.vue.d.ts +31 -0
- package/dist/components/MazTextarea.js +6 -6
- package/dist/components/MazTextarea.vue.d.ts +88 -0
- package/dist/components/constantes.d.ts +2 -0
- package/dist/components/index.d.ts +109 -0
- package/dist/components/index.js +8 -8
- package/dist/components/types.d.ts +4 -0
- package/dist/composables/index.d.ts +21 -0
- package/dist/composables/index.js +3 -1
- package/dist/composables/useAos.d.ts +2 -0
- package/dist/composables/useBreakpoints.d.ts +38 -0
- package/dist/composables/useDialog.d.ts +2 -0
- package/dist/composables/useDisplayNames.d.ts +101 -0
- package/dist/composables/useDisplayNames.js +20 -28
- package/dist/composables/useDropzone.d.ts +27 -0
- package/dist/composables/useDropzone.js +6 -6
- package/dist/composables/useFormField.d.ts +16 -0
- package/dist/composables/useFormField.js +3 -3
- package/dist/composables/useFormValidator/config.d.ts +7 -0
- package/dist/composables/useFormValidator/dom-events.d.ts +19 -0
- package/dist/composables/useFormValidator/state-management.d.ts +72 -0
- package/dist/composables/useFormValidator/types.d.ts +98 -0
- package/dist/composables/useFormValidator/validation.d.ts +37 -0
- package/dist/composables/useFormValidator.d.ts +23 -0
- package/dist/composables/useFormValidator.js +19 -3
- package/dist/composables/useFreezeValue.d.ts +5 -0
- package/dist/composables/useIdleTimeout.d.ts +5 -0
- package/dist/composables/useIdleTimeout.js +27 -27
- package/dist/composables/useInjectStrict.d.ts +2 -0
- package/dist/composables/useInstanceUniqId.d.ts +4 -0
- package/dist/composables/useInstanceUniqId.js +3 -2
- package/dist/composables/useMountComponent.d.ts +14 -0
- package/dist/composables/useReadingTime.d.ts +25 -0
- package/dist/composables/useStringMatching.d.ts +5 -0
- package/dist/composables/useStringMatching.js +1 -1
- package/dist/composables/useSwipe.d.ts +14 -0
- package/dist/composables/useSwipe.js +22 -22
- package/dist/composables/useTimer.d.ts +30 -0
- package/dist/composables/useToast.d.ts +22 -0
- package/dist/composables/useUserVisibility.d.ts +5 -0
- package/dist/composables/useUserVisibility.js +8 -8
- package/dist/composables/useWait.d.ts +2 -0
- package/dist/composables/useWindowSize.d.ts +32 -0
- package/dist/composables/useWindowSize.js +2 -2
- package/dist/css/main.css +1 -1
- package/dist/directives/index.d.ts +5 -0
- package/dist/directives/index.js +2 -2
- package/dist/directives/vClickOutside.d.ts +36 -0
- package/dist/directives/vClickOutside.js +1 -1
- package/dist/directives/vFullscreenImg/MazFullscreenImg.vue.d.ts +50 -0
- package/dist/directives/vFullscreenImg/fullscreen-img.directive.d.ts +5 -0
- package/dist/directives/vFullscreenImg/fullscreen-img.handler.d.ts +36 -0
- package/dist/directives/vFullscreenImg.d.ts +11 -0
- package/dist/directives/vFullscreenImg.js +1 -1
- package/dist/directives/vLazyImg/lazy-img.directive.d.ts +5 -0
- package/dist/directives/vLazyImg/lazy-img.handler.d.ts +38 -0
- package/dist/directives/vLazyImg/types.d.ts +29 -0
- package/dist/directives/vLazyImg.d.ts +12 -0
- package/dist/directives/vTooltip.d.ts +54 -0
- package/dist/directives/vTooltip.js +15 -23
- package/dist/directives/vZoomImg/style.d.ts +1 -0
- package/dist/directives/vZoomImg/svgs.d.ts +3 -0
- package/dist/directives/vZoomImg/zoom-img.directive.d.ts +8 -0
- package/dist/directives/vZoomImg/zoom-img.handler.d.ts +46 -0
- package/dist/directives/vZoomImg.d.ts +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/plugins/aos.d.ts +81 -0
- package/dist/plugins/aos.js +5 -5
- package/dist/plugins/dialog/DialogHandler.d.ts +16 -0
- package/dist/plugins/dialog.d.ts +26 -0
- package/dist/plugins/dialog.js +1 -1
- package/dist/plugins/index.d.ts +5 -0
- package/dist/plugins/maz-ui.d.ts +43 -0
- package/dist/plugins/maz-ui.js +245 -371
- package/dist/plugins/toast/MazToast.vue.d.ts +34 -0
- package/dist/plugins/toast/ToastHandler.d.ts +29 -0
- package/dist/plugins/toast/types.d.ts +104 -0
- package/dist/plugins/toast.d.ts +25 -0
- package/dist/plugins/toast.js +8 -6
- package/dist/plugins/wait.d.ts +33 -0
- package/dist/resolvers/MazComponentsResolver.d.ts +10 -0
- package/dist/resolvers/MazComponentsResolver.js +516 -10
- package/dist/resolvers/MazDirectivesResolver.d.ts +11 -0
- package/dist/resolvers/MazDirectivesResolver.js +2 -2
- package/dist/resolvers/MazModulesResolver.d.ts +11 -0
- package/dist/resolvers/MazModulesResolver.js +8 -5
- package/dist/resolvers/index.d.ts +3 -0
- package/dist/tailwindcss/index.d.ts +6 -0
- package/dist/tailwindcss/tailwind.config.d.ts +89 -0
- package/dist/tailwindcss/utils/colors.d.ts +7 -0
- package/dist/tailwindcss/variables/breakpoints.d.ts +15 -0
- package/dist/tailwindcss/variables/colors.d.ts +20 -0
- package/dist/tailwindcss/variables/design-tokens.d.ts +35 -0
- package/dist/tailwindcss/variables/utilities.d.ts +17 -0
- package/dist/tailwindcss/variables/z-indexes.d.ts +14 -0
- package/dist/types/components/MazAnimatedCounter.vue.d.ts +1 -1
- package/dist/types/components/MazBackdrop.vue.d.ts +26 -6
- package/dist/types/components/MazCard.vue.d.ts +1 -1
- package/dist/types/components/MazCarousel.vue.d.ts +8 -5
- package/dist/types/components/MazChecklist.vue.d.ts +5 -5
- package/dist/types/components/MazDatePicker/utils.d.ts +7 -6
- package/dist/types/components/MazDatePicker.vue.d.ts +37 -33
- package/dist/types/components/MazDialog.vue.d.ts +10 -19
- package/dist/types/components/MazDialogConfirm/useMazDialogConfirm.d.ts +8 -6
- package/dist/types/components/MazDialogConfirm.vue.d.ts +18 -12
- package/dist/types/components/MazDropdown.vue.d.ts +10 -3
- package/dist/types/components/MazInputNumber.vue.d.ts +4 -4
- package/dist/types/components/MazInputPhoneNumber/PhoneInput.vue.d.ts +1 -1
- package/dist/types/components/MazInputPhoneNumber/useLibphonenumber.d.ts +1 -1
- package/dist/types/components/MazInputPhoneNumber/useMazInputPhoneNumber.d.ts +2 -0
- package/dist/types/components/MazInputPhoneNumber.vue.d.ts +11 -12
- package/dist/types/components/MazInputPrice.vue.d.ts +3 -3
- package/dist/types/components/MazInputTags.vue.d.ts +1 -1
- package/dist/types/components/MazLink.vue.d.ts +1 -1
- package/dist/types/components/MazPopover.vue.d.ts +13 -8
- package/dist/types/components/MazRadioButtons.vue.d.ts +9 -9
- package/dist/types/components/MazReadingProgressBar.vue.d.ts +1 -1
- package/dist/types/components/MazSelect.vue.d.ts +13 -6
- package/dist/types/components/MazSelectCountry.vue.d.ts +9 -9
- package/dist/types/components/MazTable.vue.d.ts +5 -5
- package/dist/types/components/MazTableRow.vue.d.ts +2 -0
- package/dist/types/components/types.d.ts +1 -0
- package/dist/types/composables/index.d.ts +1 -0
- package/dist/types/composables/useDisplayNames.d.ts +60 -6
- package/dist/types/composables/useFormField.d.ts +16 -18
- package/dist/types/composables/useFormValidator/config.d.ts +2 -2
- package/dist/types/composables/useFormValidator/dom-events.d.ts +4 -4
- package/dist/types/composables/useFormValidator/state-management.d.ts +40 -22
- package/dist/types/composables/useFormValidator/types.d.ts +15 -15
- package/dist/types/composables/useFormValidator/validation.d.ts +10 -16
- package/dist/types/composables/useFormValidator.d.ts +2 -2
- 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/vFullscreenImg/MazFullscreenImg.vue.d.ts +2 -2
- package/dist/types/directives/vZoomImg.d.ts +1 -1
- package/dist/types/plugins/maz-ui.d.ts +5 -5
- package/package.json +46 -36
- package/dist/assets/MazAnimatedText.DDqCxrFX.css +0 -1
- package/dist/assets/MazBackdrop.BnhcmjbP.css +0 -1
- package/dist/assets/MazBtn.DUBbj2mt.css +0 -1
- package/dist/assets/MazCard.C6nDaeIC.css +0 -1
- package/dist/assets/MazCardSpotlight.IbPp_y0j.css +0 -1
- package/dist/assets/MazCarousel.BaqN4hLP.css +0 -1
- package/dist/assets/MazCheckbox.CFqw9ybT.css +0 -1
- package/dist/assets/MazChecklist.BzF5KtZ3.css +0 -1
- package/dist/assets/MazDatePicker.8GyrtM-j.css +0 -1
- package/dist/assets/MazDropdown.C6vjLIeN.css +0 -1
- package/dist/assets/MazDropzone.-8lzCrxJ.css +0 -1
- package/dist/assets/MazGallery.DZ3TyggM.css +0 -1
- package/dist/assets/MazInput.BcUsJg7p.css +0 -1
- package/dist/assets/MazInputCode.CG6EJBEk.css +0 -1
- package/dist/assets/MazInputPhoneNumber.CrXS7DOY.css +0 -1
- package/dist/assets/MazInputTags.DzTGy9z3.css +0 -1
- package/dist/assets/MazLazyImg.NlPRN3Nk.css +0 -1
- package/dist/assets/MazLink.wJoKRsCP.css +0 -1
- package/dist/assets/MazPickerCalendar.CHpWIzhL.css +0 -1
- package/dist/assets/MazPickerCalendarMonth.Boe_8k4x.css +0 -1
- package/dist/assets/MazPickerMonthSwitcher.CszcpCcY.css +0 -1
- package/dist/assets/MazPopover.DzCAfuWw.css +0 -1
- package/dist/assets/MazPullToRefresh.BQ64UvzA.css +0 -1
- package/dist/assets/MazRadio.XGYnbTuB.css +0 -1
- package/dist/assets/MazRadioButtons.BA4rjgK9.css +0 -1
- package/dist/assets/MazReadingProgressBar.CwBVXE3g.css +0 -1
- package/dist/assets/MazSelect.Cljh3PVV.css +0 -1
- package/dist/assets/MazSlider.y4qpnD0N.css +0 -1
- package/dist/assets/MazSpinner.CP85N7RJ.css +0 -1
- package/dist/assets/MazStepper.DtWZmm-f.css +0 -1
- package/dist/assets/MazSwitch.Bxmh2iFj.css +0 -1
- package/dist/assets/MazTable.DMlQdImb.css +0 -1
- package/dist/assets/MazTableRow.B78Bd4Kv.css +0 -1
- package/dist/assets/MazTextarea.DME7BHS5.css +0 -1
- package/dist/chunks/capitalize.BF6CDS_4.js +0 -6
- package/dist/chunks/checkAvailability.aTpZidex.js +0 -16
- package/dist/chunks/de.B15Maq8Z.js +0 -82
- package/dist/chunks/debounce.Brzkn9pm.js +0 -11
- package/dist/chunks/en.Q_4-KljL.js +0 -157
- package/dist/chunks/es.BV1TlfTw.js +0 -82
- package/dist/chunks/fr.BVPG-7Dk.js +0 -82
- package/dist/chunks/it.Be9xhI4P.js +0 -82
- package/dist/chunks/ja.CWU7KYEA.js +0 -82
- package/dist/chunks/pt.CfaFSxVt.js +0 -82
- package/dist/chunks/sleep.BLRH1qZG.js +0 -6
- package/dist/chunks/truthyFilter.C2WOKUCG.js +0 -6
- package/dist/chunks/useTranslations.D5aoYwD7.js +0 -10
- package/dist/chunks/zh-CN.CCkuvk-E.js +0 -82
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { MazColor } from './types';
|
|
2
|
+
export type MazBadgeColor = MazColor | 'background';
|
|
3
|
+
export type MazBadgeRoundedSize = 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
4
|
+
export interface MazBadgeProps {
|
|
5
|
+
/**
|
|
6
|
+
* Color of the badge
|
|
7
|
+
* @values `'primary' | 'secondary' | 'accent' | 'info' | 'success' | 'warning' | 'destructive' | 'contrast' | 'background'`
|
|
8
|
+
* @default primary
|
|
9
|
+
*/
|
|
10
|
+
color?: MazBadgeColor;
|
|
11
|
+
/**
|
|
12
|
+
* Size of the badge
|
|
13
|
+
* @default 0.8em
|
|
14
|
+
*/
|
|
15
|
+
size?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Will not wrap the text
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
nowrap?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Will add a border to the badge
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
outlined?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Will add a pastel style to the badge
|
|
28
|
+
* @default false
|
|
29
|
+
*/
|
|
30
|
+
pastel?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Size radius of the component's border
|
|
33
|
+
* @values `'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full'`
|
|
34
|
+
* @default md
|
|
35
|
+
*/
|
|
36
|
+
roundedSize?: MazBadgeRoundedSize;
|
|
37
|
+
}
|
|
38
|
+
declare function __VLS_template(): {
|
|
39
|
+
attrs: Partial<{}>;
|
|
40
|
+
slots: {
|
|
41
|
+
default?(_: {}): any;
|
|
42
|
+
};
|
|
43
|
+
refs: {};
|
|
44
|
+
rootEl: HTMLSpanElement;
|
|
45
|
+
};
|
|
46
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
47
|
+
declare const __VLS_component: import('vue').DefineComponent<MazBadgeProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MazBadgeProps> & Readonly<{}>, {
|
|
48
|
+
size: string;
|
|
49
|
+
color: MazBadgeColor;
|
|
50
|
+
roundedSize: MazBadgeRoundedSize;
|
|
51
|
+
outlined: boolean;
|
|
52
|
+
pastel: boolean;
|
|
53
|
+
nowrap: boolean;
|
|
54
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
55
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
56
|
+
export default _default;
|
|
57
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
58
|
+
new (): {
|
|
59
|
+
$slots: S;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface MazBottomSheetProps {
|
|
2
|
+
/** @model Modal's model value */
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
/** Remove the close button */
|
|
5
|
+
hideCloseButton?: boolean;
|
|
6
|
+
/** Remove the padding on the container */
|
|
7
|
+
padding?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare function __VLS_template(): {
|
|
10
|
+
attrs: Partial<{}>;
|
|
11
|
+
slots: {
|
|
12
|
+
default?(_: {
|
|
13
|
+
close: () => void;
|
|
14
|
+
}): any;
|
|
15
|
+
};
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: any;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
|
+
declare const __VLS_component: import('vue').DefineComponent<MazBottomSheetProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
21
|
+
close: (value: void) => any;
|
|
22
|
+
open: (value: void) => any;
|
|
23
|
+
"update:model-value": (value: boolean) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<MazBottomSheetProps> & Readonly<{
|
|
25
|
+
onClose?: ((value?: void | undefined) => any) | undefined;
|
|
26
|
+
onOpen?: ((value?: void | undefined) => any) | undefined;
|
|
27
|
+
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
28
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
29
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
|
+
export default _default;
|
|
31
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
32
|
+
new (): {
|
|
33
|
+
$slots: S;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent, defineAsyncComponent, useAttrs, computed, createBlock, openBlock, resolveDynamicComponent, normalizeStyle, normalizeClass, withCtx, renderSlot, createElementBlock, createCommentVNode,
|
|
1
|
+
import { defineComponent, defineAsyncComponent, useAttrs, computed, createBlock, openBlock, resolveDynamicComponent, normalizeStyle, normalizeClass, unref, withCtx, renderSlot, createElementBlock, createCommentVNode, createTextVNode, toDisplayString, createVNode } from "vue";
|
|
2
|
+
import { g as getColor } from "../chunks/types.D0Bp_UhS.js";
|
|
2
3
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
3
|
-
import '../assets/MazBtn.
|
|
4
|
+
import '../assets/MazBtn.BvC8ftmc.css';const _hoisted_1 = {
|
|
4
5
|
key: 0,
|
|
5
6
|
class: "m-btn-loader-container"
|
|
6
7
|
}, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -24,7 +25,7 @@ import '../assets/MazBtn.DUBbj2mt.css';const _hoisted_1 = {
|
|
|
24
25
|
justify: { default: "center" }
|
|
25
26
|
},
|
|
26
27
|
setup(__props) {
|
|
27
|
-
const MazIcon = defineAsyncComponent(() => import("./MazIcon.js")), MazSpinner = defineAsyncComponent(() => import("./MazSpinner.js")), { href, to } = useAttrs(), component = computed(() => href ? "a" : to ? "router-link" : "button"), btnColorClass = computed(() => __props.pastel ? `--${__props.color}-pastel` : __props.outlined ? `--${__props.color}-outlined` : `--${__props.color}`), isDisabled = computed(
|
|
28
|
+
const MazIcon = defineAsyncComponent(() => import("./MazIcon.js")), MazSpinner = defineAsyncComponent(() => import("./MazSpinner.js")), { href, to } = useAttrs(), component = computed(() => href ? "a" : to ? "router-link" : "button"), btnColorClass = computed(() => __props.pastel ? `--${__props.color}-pastel` : __props.outlined ? `--${__props.color}-outlined` : `--${getColor(__props.color)}`), isDisabled = computed(
|
|
28
29
|
() => (__props.loading || __props.disabled) && component.value === "button"
|
|
29
30
|
), cursorClass = computed(() => isDisabled.value ? "--cursor-default" : "--cursor-pointer"), btnType = computed(() => component.value === "button" ? __props.type : void 0), iconClassSize = computed(() => __props.size === "xl" ? "maz-text-3xl" : __props.size === "lg" ? "maz-text-2xl" : __props.size === "md" ? "maz-text-xl" : __props.size === "sm" ? "maz-text-lg" : __props.size === "xs" ? "maz-text-base" : __props.size === "mini" ? "maz-text-sm" : "maz-text-xl");
|
|
30
31
|
return (_ctx, _cache) => (openBlock(), createBlock(resolveDynamicComponent(component.value), {
|
|
@@ -41,7 +42,7 @@ import '../assets/MazBtn.DUBbj2mt.css';const _hoisted_1 = {
|
|
|
41
42
|
"--no-padding": !_ctx.padding
|
|
42
43
|
}
|
|
43
44
|
]]),
|
|
44
|
-
style: normalizeStyle([`--justify: ${_ctx.justify}`, `--color: var(--maz-${_ctx.color})`]),
|
|
45
|
+
style: normalizeStyle([`--justify: ${_ctx.justify}`, `--color: var(--maz-${unref(getColor)(_ctx.color)})`]),
|
|
45
46
|
type: btnType.value
|
|
46
47
|
}, {
|
|
47
48
|
default: withCtx(() => [
|
|
@@ -87,7 +88,7 @@ import '../assets/MazBtn.DUBbj2mt.css';const _hoisted_1 = {
|
|
|
87
88
|
_: 3
|
|
88
89
|
}, 8, ["disabled", "class", "style", "type"]));
|
|
89
90
|
}
|
|
90
|
-
}), MazBtn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
91
|
+
}), MazBtn = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9b77c8cd"]]);
|
|
91
92
|
export {
|
|
92
93
|
MazBtn as default
|
|
93
94
|
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { IconComponent } from '@maz-ui/icons';
|
|
2
|
+
import { MazColor, MazSize } from './types';
|
|
3
|
+
export interface MazBtnProps {
|
|
4
|
+
/**
|
|
5
|
+
* The text of the button, if not provided, the slot will be used
|
|
6
|
+
* @default undefined
|
|
7
|
+
*/
|
|
8
|
+
text?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The size of the button
|
|
11
|
+
* @values `'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'mini'`
|
|
12
|
+
*/
|
|
13
|
+
size?: MazSize;
|
|
14
|
+
/**
|
|
15
|
+
* The color of the button
|
|
16
|
+
* @values `'primary' | 'secondary' | 'info' | 'success' | 'warning' | 'destructive' | 'transparent' | 'contrast' | 'accent' | 'background'`
|
|
17
|
+
*/
|
|
18
|
+
color?: MazColor | 'background';
|
|
19
|
+
/**
|
|
20
|
+
* The type of the button
|
|
21
|
+
* @values `'submit' | 'reset' | 'button'`
|
|
22
|
+
*/
|
|
23
|
+
type?: 'submit' | 'reset' | 'button';
|
|
24
|
+
/**
|
|
25
|
+
* Size of the rounded
|
|
26
|
+
* @values `'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full'`
|
|
27
|
+
* @default 'lg'
|
|
28
|
+
*/
|
|
29
|
+
roundedSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
30
|
+
/**
|
|
31
|
+
* If true, the button have the "border" style
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
outlined?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* If true, the button will have a pastel color
|
|
37
|
+
* @default false
|
|
38
|
+
*/
|
|
39
|
+
pastel?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* If true, the button will have a full width
|
|
42
|
+
* @default false
|
|
43
|
+
*/
|
|
44
|
+
block?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Enable the button loader
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
loading?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Disable the button
|
|
52
|
+
* @default false
|
|
53
|
+
*/
|
|
54
|
+
disabled?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* If true, the button will have a fab style
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
fab?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* The name of the icon to display or component, only with fab
|
|
62
|
+
* `@type` `{string | FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component}`
|
|
63
|
+
*/
|
|
64
|
+
icon?: string | IconComponent;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the icon or component to display on the left of the button
|
|
67
|
+
* `@type` `{string | FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component}`
|
|
68
|
+
*/
|
|
69
|
+
leftIcon?: string | IconComponent;
|
|
70
|
+
/**
|
|
71
|
+
* The name of the icon or component to display on the right of the button
|
|
72
|
+
* `@type` `{string | FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component}`
|
|
73
|
+
*/
|
|
74
|
+
rightIcon?: string | IconComponent;
|
|
75
|
+
/**
|
|
76
|
+
* If true, the button will have no padding
|
|
77
|
+
* @default true
|
|
78
|
+
*/
|
|
79
|
+
padding?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Choose how the elements are aligned in the button
|
|
82
|
+
*/
|
|
83
|
+
justify?: 'start' | 'end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
|
|
84
|
+
}
|
|
85
|
+
declare function __VLS_template(): {
|
|
86
|
+
attrs: Partial<{}>;
|
|
87
|
+
slots: {
|
|
88
|
+
'left-icon'?(_: {}): any;
|
|
89
|
+
icon?(_: {}): any;
|
|
90
|
+
default?(_: {}): any;
|
|
91
|
+
'right-icon'?(_: {}): any;
|
|
92
|
+
loader?(_: {}): any;
|
|
93
|
+
};
|
|
94
|
+
refs: {};
|
|
95
|
+
rootEl: any;
|
|
96
|
+
};
|
|
97
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
98
|
+
declare const __VLS_component: import('vue').DefineComponent<MazBtnProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MazBtnProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
99
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
100
|
+
export default _default;
|
|
101
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
102
|
+
new (): {
|
|
103
|
+
$slots: S;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
@@ -2,7 +2,7 @@ import { defineComponent, mergeModels, defineAsyncComponent, useSlots, useModel,
|
|
|
2
2
|
import { MazChevronDown } from "@maz-ui/icons";
|
|
3
3
|
import { RouterLink } from "vue-router";
|
|
4
4
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
5
|
-
import '../assets/MazCard.
|
|
5
|
+
import '../assets/MazCard.Dv02b2P6.css';const _hoisted_1 = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "m-card__gallery__wrapper"
|
|
8
8
|
}, _hoisted_2 = { class: "maz-min-w-0 maz-flex-1" }, _hoisted_3 = {
|
|
@@ -129,7 +129,7 @@ import '../assets/MazCard.C6nDaeIC.css';const _hoisted_1 = {
|
|
|
129
129
|
}), {
|
|
130
130
|
default: withCtx(() => [
|
|
131
131
|
galleryOptions.value.images ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
132
|
-
createVNode(unref(MazGallery), mergeProps(galleryOptions.value, { class: "m-card__gallery
|
|
132
|
+
createVNode(unref(MazGallery), mergeProps(galleryOptions.value, { class: "m-card__gallery" }), null, 16)
|
|
133
133
|
])) : createCommentVNode("", !0),
|
|
134
134
|
createElementVNode("div", _hoisted_2, [
|
|
135
135
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.collapsible ? unref(MazExpandAnimation) : "div"), {
|
|
@@ -175,7 +175,7 @@ import '../assets/MazCard.C6nDaeIC.css';const _hoisted_1 = {
|
|
|
175
175
|
])) : createCommentVNode("", !0)
|
|
176
176
|
], 2));
|
|
177
177
|
}
|
|
178
|
-
}), MazCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
178
|
+
}), MazCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3f7d04f5"]]);
|
|
179
179
|
export {
|
|
180
180
|
MazCard as default
|
|
181
181
|
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { RouterLinkProps } from 'vue-router';
|
|
3
|
+
import { MazGalleryProps } from './MazGallery.vue';
|
|
4
|
+
type __VLS_Props = MazCardProps;
|
|
5
|
+
export interface MazCardProps {
|
|
6
|
+
/** Card variant: Must be `column | row | row-reverse | column-reverse` */
|
|
7
|
+
orientation?: 'column' | 'row' | 'row-reverse' | 'column-reverse';
|
|
8
|
+
/** Make card a link (footer area excluded) */
|
|
9
|
+
href?: string;
|
|
10
|
+
/** Make card a link with a router-link (footer area excluded) */
|
|
11
|
+
to?: RouterLinkProps['to'];
|
|
12
|
+
/** Target option of link: Muse be one of `_blank | _self | _parent | _top | framename` */
|
|
13
|
+
hrefTarget?: '_blank' | '_self' | '_parent' | '_top' | string;
|
|
14
|
+
/** Footer text alignment: `right | left` */
|
|
15
|
+
footerAlign?: 'right' | 'left';
|
|
16
|
+
/** Images gallery props options (see `MazGallery` component) */
|
|
17
|
+
gallery?: MazGalleryProps;
|
|
18
|
+
/** scale animation on hover (only linked cards) */
|
|
19
|
+
scale?: boolean;
|
|
20
|
+
/** Set elevation to card (box-shadow) */
|
|
21
|
+
elevation?: boolean;
|
|
22
|
+
/** Set radius to card */
|
|
23
|
+
radius?: boolean;
|
|
24
|
+
/** Set border to card (in dark mode, the card is always bordered) */
|
|
25
|
+
bordered?: boolean;
|
|
26
|
+
/** add classes to wrapper */
|
|
27
|
+
wrapperClass?: HTMLAttributes['class'];
|
|
28
|
+
/** Remove padding from content wrapper */
|
|
29
|
+
padding?: boolean;
|
|
30
|
+
/** Hide overflow */
|
|
31
|
+
overflowHidden?: boolean;
|
|
32
|
+
/** Make card collapsible */
|
|
33
|
+
collapsible?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Card is open by default if `true`
|
|
36
|
+
* @model
|
|
37
|
+
*/
|
|
38
|
+
collapseOpen?: boolean;
|
|
39
|
+
/** Title of the card in header */
|
|
40
|
+
title?: string;
|
|
41
|
+
/** The card will be displayed in full width */
|
|
42
|
+
block?: boolean;
|
|
43
|
+
}
|
|
44
|
+
type __VLS_PublicProps = {
|
|
45
|
+
'collapseOpen'?: boolean;
|
|
46
|
+
} & __VLS_Props;
|
|
47
|
+
declare function __VLS_template(): {
|
|
48
|
+
attrs: Partial<{}>;
|
|
49
|
+
slots: {
|
|
50
|
+
title?(_: {}): any;
|
|
51
|
+
'content-title'?(_: {
|
|
52
|
+
collapseOpen: boolean;
|
|
53
|
+
}): any;
|
|
54
|
+
'content-subtitle'?(_: {}): any;
|
|
55
|
+
'content-body'?(_: {}): any;
|
|
56
|
+
default?(_: {
|
|
57
|
+
collapseOpen: boolean;
|
|
58
|
+
}): any;
|
|
59
|
+
footer?(_: {}): any;
|
|
60
|
+
actions?(_: {}): any;
|
|
61
|
+
};
|
|
62
|
+
refs: {};
|
|
63
|
+
rootEl: HTMLDivElement;
|
|
64
|
+
};
|
|
65
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
66
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
67
|
+
"update:collapseOpen": (...args: unknown[]) => any;
|
|
68
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
69
|
+
"onUpdate:collapseOpen"?: ((...args: unknown[]) => any) | undefined;
|
|
70
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
71
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
72
|
+
export default _default;
|
|
73
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
74
|
+
new (): {
|
|
75
|
+
$slots: S;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, onMounted, onUnmounted, createElementBlock, openBlock, normalizeStyle, normalizeClass, createElementVNode, withDirectives, renderSlot, vShow } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
3
|
-
import '../assets/MazCardSpotlight.
|
|
3
|
+
import '../assets/MazCardSpotlight.B7lFD7Pi.css';const _hoisted_1 = { class: "inner" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "MazCardSpotlight",
|
|
5
5
|
props: {
|
|
6
6
|
color: { default: "primary" },
|
|
@@ -63,7 +63,7 @@ import '../assets/MazCardSpotlight.IbPp_y0j.css';const _hoisted_1 = { class: "in
|
|
|
63
63
|
])
|
|
64
64
|
], 6));
|
|
65
65
|
}
|
|
66
|
-
}), MazCardSpotlight = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
66
|
+
}), MazCardSpotlight = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-bc3305c0"]]);
|
|
67
67
|
export {
|
|
68
68
|
MazCardSpotlight as default
|
|
69
69
|
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { HTMLAttributes, StyleValue } from 'vue';
|
|
2
|
+
import { MazColor } from './types';
|
|
3
|
+
export interface MazCardSpotlightProps {
|
|
4
|
+
/**
|
|
5
|
+
* The color of the component.
|
|
6
|
+
* @default primary
|
|
7
|
+
*/
|
|
8
|
+
color?: MazColor;
|
|
9
|
+
/**
|
|
10
|
+
* Add elevation to the component
|
|
11
|
+
* @default true
|
|
12
|
+
*/
|
|
13
|
+
elevation?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Add padding to the content
|
|
16
|
+
* @default true
|
|
17
|
+
*/
|
|
18
|
+
padding?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* The classes to apply to the content div
|
|
21
|
+
*/
|
|
22
|
+
contentClass?: HTMLAttributes['class'];
|
|
23
|
+
/**
|
|
24
|
+
* Style apply to the content div
|
|
25
|
+
*/
|
|
26
|
+
contentStyle?: StyleValue;
|
|
27
|
+
/**
|
|
28
|
+
* The opacity of the inner div - should be between 0 and 1
|
|
29
|
+
* When 0 the spotlight is completely visible
|
|
30
|
+
* When 1 the spotlight is only visible on borders
|
|
31
|
+
* @default 0.95
|
|
32
|
+
*/
|
|
33
|
+
innerOpacity?: number;
|
|
34
|
+
}
|
|
35
|
+
declare function __VLS_template(): {
|
|
36
|
+
attrs: Partial<{}>;
|
|
37
|
+
slots: {
|
|
38
|
+
default?(_: {}): any;
|
|
39
|
+
};
|
|
40
|
+
refs: {
|
|
41
|
+
blobElement: HTMLDivElement;
|
|
42
|
+
fakeblobElement: HTMLDivElement;
|
|
43
|
+
};
|
|
44
|
+
rootEl: HTMLDivElement;
|
|
45
|
+
};
|
|
46
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
47
|
+
declare const __VLS_component: import('vue').DefineComponent<MazCardSpotlightProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MazCardSpotlightProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
48
|
+
blobElement: HTMLDivElement;
|
|
49
|
+
fakeblobElement: HTMLDivElement;
|
|
50
|
+
}, HTMLDivElement>;
|
|
51
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent, defineAsyncComponent, useSlots, ref, computed, createElementBlock, openBlock, normalizeClass, createCommentVNode, createElementVNode, renderSlot, createVNode, unref, withCtx } from "vue";
|
|
1
|
+
import { defineComponent, defineAsyncComponent, useSlots, ref, computed, createElementBlock, openBlock, normalizeClass, createCommentVNode, createElementVNode, renderSlot, toDisplayString, createVNode, unref, withCtx } from "vue";
|
|
2
2
|
import { MazChevronLeft, MazChevronRight } from "@maz-ui/icons";
|
|
3
|
-
import {
|
|
3
|
+
import { useTranslations } from "@maz-ui/translations";
|
|
4
4
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
5
|
-
import '../assets/MazCarousel.
|
|
5
|
+
import '../assets/MazCarousel.BLHpZIu5.css';const _hoisted_1 = { key: 0 }, _hoisted_2 = { class: "maz-text-xl maz-font-semibold" }, _hoisted_3 = {
|
|
6
6
|
key: 1,
|
|
7
7
|
class: "m-carousel__header__actions"
|
|
8
8
|
}, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -10,7 +10,8 @@ import '../assets/MazCarousel.BaqN4hLP.css';const _hoisted_1 = { key: 0 }, _hois
|
|
|
10
10
|
props: {
|
|
11
11
|
hideScrollButtons: { type: Boolean, default: !1 },
|
|
12
12
|
translations: {},
|
|
13
|
-
hideScrollbar: { type: Boolean, default: !1 }
|
|
13
|
+
hideScrollbar: { type: Boolean, default: !1 },
|
|
14
|
+
title: {}
|
|
14
15
|
},
|
|
15
16
|
setup(__props) {
|
|
16
17
|
const MazBtn = defineAsyncComponent(() => import("./MazBtn.js")), slots = useSlots(), isScrolled = ref(!1), isScrolledMax = ref(!1), MazCarouselItems = ref(), { t } = useTranslations(), messages = computed(() => ({
|
|
@@ -20,10 +21,10 @@ import '../assets/MazCarousel.BaqN4hLP.css';const _hoisted_1 = { key: 0 }, _hois
|
|
|
20
21
|
}
|
|
21
22
|
}));
|
|
22
23
|
function hasHeader() {
|
|
23
|
-
return !__props.hideScrollButtons || slots.title;
|
|
24
|
+
return !__props.hideScrollButtons || slots.title || __props.title;
|
|
24
25
|
}
|
|
25
26
|
function hasTitle() {
|
|
26
|
-
return !!slots.title;
|
|
27
|
+
return !!slots.title || !!__props.title;
|
|
27
28
|
}
|
|
28
29
|
function next() {
|
|
29
30
|
const items = MazCarouselItems.value;
|
|
@@ -51,9 +52,11 @@ import '../assets/MazCarousel.BaqN4hLP.css';const _hoisted_1 = { key: 0 }, _hois
|
|
|
51
52
|
class: normalizeClass(["m-carousel__header", { "--has-title": hasTitle() }])
|
|
52
53
|
}, [
|
|
53
54
|
hasTitle() ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
54
|
-
renderSlot(_ctx.$slots, "title", {},
|
|
55
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
56
|
+
createElementVNode("h4", _hoisted_2, toDisplayString(_ctx.title), 1)
|
|
57
|
+
], !0)
|
|
55
58
|
])) : createCommentVNode("", !0),
|
|
56
|
-
_ctx.hideScrollButtons ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div",
|
|
59
|
+
_ctx.hideScrollButtons ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
57
60
|
createVNode(unref(MazBtn), {
|
|
58
61
|
color: "transparent",
|
|
59
62
|
class: normalizeClass(["m-carousel__btn", { "--muted": !isScrolled.value }]),
|
|
@@ -95,7 +98,7 @@ import '../assets/MazCarousel.BaqN4hLP.css';const _hoisted_1 = { key: 0 }, _hois
|
|
|
95
98
|
], 544)
|
|
96
99
|
], 2));
|
|
97
100
|
}
|
|
98
|
-
}), MazCarousel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
101
|
+
}), MazCarousel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2a628bbb"]]);
|
|
99
102
|
export {
|
|
100
103
|
MazCarousel as default
|
|
101
104
|
};
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { MazUiTranslationsNestedSchema } from '@maz-ui/translations';
|
|
2
|
+
import { DeepPartial } from '@maz-ui/utils/ts-helpers/DeepPartial';
|
|
3
|
+
export interface MazCarouselProps {
|
|
4
|
+
/**
|
|
5
|
+
* Hide display the scroll buttons
|
|
6
|
+
* @default false
|
|
7
|
+
*/
|
|
8
|
+
hideScrollButtons?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* Translations of the carousel
|
|
11
|
+
* @type {DeepPartial<MazUiTranslationsNestedSchema['carousel']>}
|
|
12
|
+
* @default Translations from @maz-ui/translations
|
|
13
|
+
*/
|
|
14
|
+
translations?: DeepPartial<MazUiTranslationsNestedSchema['carousel']>;
|
|
15
|
+
/**
|
|
16
|
+
* Hide the scrollbar when not active
|
|
17
|
+
* @default false
|
|
18
|
+
*/
|
|
19
|
+
hideScrollbar?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* The title of the carousel
|
|
22
|
+
*/
|
|
23
|
+
title?: string;
|
|
24
|
+
}
|
|
25
|
+
declare function __VLS_template(): {
|
|
26
|
+
attrs: Partial<{}>;
|
|
27
|
+
slots: {
|
|
28
|
+
title?(_: {}): any;
|
|
29
|
+
'previous-icon'?(_: {}): any;
|
|
30
|
+
'next-icon'?(_: {}): any;
|
|
31
|
+
default?(_: {}): any;
|
|
32
|
+
};
|
|
33
|
+
refs: {
|
|
34
|
+
MazCarouselItems: HTMLDivElement;
|
|
35
|
+
};
|
|
36
|
+
rootEl: HTMLDivElement;
|
|
37
|
+
};
|
|
38
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
39
|
+
declare const __VLS_component: import('vue').DefineComponent<MazCarouselProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MazCarouselProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
40
|
+
MazCarouselItems: HTMLDivElement;
|
|
41
|
+
}, HTMLDivElement>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
43
|
+
export default _default;
|
|
44
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
45
|
+
new (): {
|
|
46
|
+
$slots: S;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ChartData, ChartOptions, ChartType, DefaultDataPoint, Plugin, UpdateMode } from 'chart.js';
|
|
2
|
+
export type { ChartData as MazChartData, DefaultDataPoint as MazChartDefaultDataPoint, Plugin as MazChartPlugin, ChartType as MazChartType, UpdateMode as MazChartUpdateMode } from 'chart.js';
|
|
3
|
+
export interface MazChartProps<T extends ChartType = ChartType, TData = DefaultDataPoint<T>, TLabel = unknown> {
|
|
4
|
+
/**
|
|
5
|
+
* Type of the chart
|
|
6
|
+
* @type ChartType
|
|
7
|
+
* @values 'bar', 'line', 'scatter', 'bubble', 'pie', 'doughnut', 'polarArea', 'radar'
|
|
8
|
+
* @required
|
|
9
|
+
*/
|
|
10
|
+
type: T;
|
|
11
|
+
/**
|
|
12
|
+
* Data of the chart
|
|
13
|
+
* @type ChartData<T, TData, TLabel>
|
|
14
|
+
* @required
|
|
15
|
+
*/
|
|
16
|
+
data: ChartData<T, TData, TLabel>;
|
|
17
|
+
/**
|
|
18
|
+
* Options of the chart
|
|
19
|
+
* @type ChartOptions<T>
|
|
20
|
+
* @default {}
|
|
21
|
+
*/
|
|
22
|
+
options?: ChartOptions<T>;
|
|
23
|
+
/**
|
|
24
|
+
* Plugins of the chart
|
|
25
|
+
* @type Plugin[]
|
|
26
|
+
*/
|
|
27
|
+
plugins?: Plugin[];
|
|
28
|
+
/**
|
|
29
|
+
* Dataset ID key
|
|
30
|
+
* @type string
|
|
31
|
+
*/
|
|
32
|
+
datasetIdKey?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Update mode
|
|
35
|
+
* @type UpdateMode
|
|
36
|
+
* @values 'resize', 'reset', 'none', 'hide', 'show', 'default', 'active'
|
|
37
|
+
* @default 'default'
|
|
38
|
+
*/
|
|
39
|
+
updateMode?: UpdateMode;
|
|
40
|
+
}
|
|
41
|
+
declare const _default: <T extends ChartType, TData = DefaultDataPoint<T>, TLabel = unknown>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
42
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & MazChartProps<T, TData, TLabel> & Partial<{}>> & import('vue').PublicProps;
|
|
43
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
44
|
+
attrs: any;
|
|
45
|
+
slots: {};
|
|
46
|
+
emit: {};
|
|
47
|
+
}>) => import('vue').VNode & {
|
|
48
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
49
|
+
};
|
|
50
|
+
export default _default;
|
|
51
|
+
type __VLS_PrettifyLocal<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, createElementBlock, openBlock, normaliz
|
|
|
2
2
|
import { MazCheck } from "@maz-ui/icons";
|
|
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/MazCheckbox.
|
|
5
|
+
import '../assets/MazCheckbox.Di88TJ3e.css';const _hoisted_1 = ["for", "aria-checked"], _hoisted_2 = ["id", "checked", "disabled", "name"], _hoisted_3 = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "m-checkbox__text"
|
|
8
8
|
}, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -122,7 +122,7 @@ import '../assets/MazCheckbox.CFqw9ybT.css';const _hoisted_1 = ["for", "aria-che
|
|
|
122
122
|
])) : createCommentVNode("", !0)
|
|
123
123
|
], 46, _hoisted_1));
|
|
124
124
|
}
|
|
125
|
-
}), MazCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
125
|
+
}), MazCheckbox = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-1a4c0aa6"]]);
|
|
126
126
|
export {
|
|
127
127
|
MazCheckbox as default
|
|
128
128
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { MazColor, MazSize } from './types';
|
|
3
|
+
export type MazCheckboxValue = string | number | boolean;
|
|
4
|
+
export interface MazCheckboxProps<T = boolean | (string | number)[]> {
|
|
5
|
+
/** Style attribut of the component root element */
|
|
6
|
+
style?: HTMLAttributes['style'];
|
|
7
|
+
/** Class attribut of the component root element */
|
|
8
|
+
class?: HTMLAttributes['class'];
|
|
9
|
+
/** The model value of the checkbox */
|
|
10
|
+
modelValue?: T;
|
|
11
|
+
/** The id of the checkbox */
|
|
12
|
+
id?: string;
|
|
13
|
+
/** The color of the checkbox */
|
|
14
|
+
color?: MazColor;
|
|
15
|
+
/** The value of the checkbox when selected */
|
|
16
|
+
value?: MazCheckboxValue;
|
|
17
|
+
/** The name of the checkbox */
|
|
18
|
+
name?: string;
|
|
19
|
+
/** The size of the checkbox */
|
|
20
|
+
size?: MazSize;
|
|
21
|
+
/** Text label */
|
|
22
|
+
label?: string;
|
|
23
|
+
/** If the checkbox is disabled */
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
/** Whether there is an error with the input. */
|
|
26
|
+
error?: boolean;
|
|
27
|
+
/** Whether the input is successful. */
|
|
28
|
+
success?: boolean;
|
|
29
|
+
/** Whether there is a warning with the input. */
|
|
30
|
+
warning?: boolean;
|
|
31
|
+
/** The hint text to display below the input. */
|
|
32
|
+
hint?: string;
|
|
33
|
+
}
|
|
34
|
+
declare const _default: <T extends boolean | (string | number)[]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
35
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
36
|
+
readonly onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
37
|
+
readonly onChange?: ((value: T) => any) | undefined;
|
|
38
|
+
readonly onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
39
|
+
readonly "onUpdate:model-value"?: ((value: T) => any) | undefined;
|
|
40
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:model-value"> & MazCheckboxProps<T> & Partial<{}>> & import('vue').PublicProps;
|
|
41
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
42
|
+
attrs: any;
|
|
43
|
+
slots: {
|
|
44
|
+
default?(_: {
|
|
45
|
+
value: MazCheckboxValue;
|
|
46
|
+
}): any;
|
|
47
|
+
};
|
|
48
|
+
emit: ((evt: "blur", value: FocusEvent) => void) & ((evt: "change", value: T) => void) & ((evt: "focus", value: FocusEvent) => void) & ((evt: "update:model-value", value: T) => void);
|
|
49
|
+
}>) => import('vue').VNode & {
|
|
50
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
51
|
+
};
|
|
52
|
+
export default _default;
|
|
53
|
+
type __VLS_PrettifyLocal<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|