maz-ui 4.0.0-beta.31 → 4.0.0-beta.35
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/{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/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.aH1IKnrR.css → MazCheckbox.Di88TJ3e.css} +1 -1
- 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/{MazPagination.C6cUh-p4.css → MazPagination.BUhf2Qr7.css} +1 -1
- package/dist/assets/MazPickerCalendarMonth.DpijYq-O.css +1 -0
- package/dist/assets/{MazPickerCalendarSwitcher.CI9Vw1sJ.css → MazPickerCalendarSwitcher.ByAVjy00.css} +1 -1
- package/dist/assets/{MazPickerHeader.C4W93yMD.css → MazPickerHeader.D7JXgA3q.css} +1 -1
- package/dist/assets/MazPickerMonthSwitcher.BJGGy53r.css +1 -0
- package/dist/assets/{MazPickerYearSwitcher.CFiH13QC.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.aTHM-mpx.css → MazRadio.B0B3P1QS.css} +1 -1
- 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.EW8fKXFX.css → MazSelectCountry.B0tlbfgr.css} +1 -1
- package/dist/assets/MazSlider.WcnBC9zc.css +1 -0
- package/dist/assets/{MazStepper.BD2gDGAX.css → MazStepper.C9R7g43I.css} +1 -1
- 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/MazTextarea.C9sZpRDZ.css +1 -0
- package/dist/assets/{PhoneInput.DCWA_-gC.css → PhoneInput.DkOXlrI9.css} +1 -1
- package/dist/assets/{fullscreen-img.Bkuz1GOX.css → fullscreen-img.Br983fLC.css} +1 -1
- package/dist/assets/{toast.DH9mbkvs.css → toast.BDNNJSjj.css} +1 -1
- package/dist/chunks/{MazDatePicker.bKFpslPf.js → MazDatePicker.B1B6gUrC.js} +24 -24
- package/dist/chunks/{MazDialogConfirm.vue_vue_type_script_setup_true_lang.Grn2kB3x.js → MazDialogConfirm.vue_vue_type_script_setup_true_lang.DuEcluOw.js} +3 -1
- package/dist/chunks/{MazDropdown.vue_vue_type_style_index_0_lang.X8ygqBUZ.js → MazDropdown.vue_vue_type_style_index_0_lang.DfR-QxYQ.js} +4 -4
- 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.BVHi0OiN.js → MazInputPhoneNumber.CDy6n_Qj.js} +10 -10
- 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.lLfvUtrb.js → MazPickerCalendar.BSBQciuG.js} +1 -1
- package/dist/chunks/{MazPickerCalendarMonth.Djzgo1tF.js → MazPickerCalendarMonth.CFJHTFp5.js} +10 -10
- package/dist/chunks/{MazPickerCalendarSwitcher.Bf24kKw6.js → MazPickerCalendarSwitcher.DC21FpTy.js} +10 -10
- package/dist/chunks/{MazPickerContainer.7hYHiOaa.js → MazPickerContainer.CRPzAbRt.js} +1 -1
- package/dist/chunks/{MazPickerHeader.B00RAQPS.js → MazPickerHeader.D7Tbm-yH.js} +14 -14
- package/dist/chunks/{MazPickerMonthSwitcher.B2ZgNJWy.js → MazPickerMonthSwitcher.DzHOKbe4.js} +10 -10
- package/dist/chunks/{MazPickerTime.Bd4khA2e.js → MazPickerTime.EZK1foEx.js} +1 -1
- package/dist/chunks/{MazPickerYearSwitcher.BIy9xGIw.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.D9vRIgS6.js → PhoneInput.DukRZp5u.js} +4 -4
- 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.CxBZzgUG.js → pristine.DMG3eBuN.js} +2 -2
- package/dist/chunks/sleep.Ci7GE4BQ.js +6 -0
- package/dist/chunks/truthyFilter.DZvXmxeK.js +6 -0
- package/dist/chunks/{useStringMatching.BBezu-6J.js → useStringMatching.DzSigyZ7.js} +27 -27
- 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.vue.d.ts +61 -0
- package/dist/components/MazBottomSheet.vue.d.ts +35 -0
- package/dist/components/MazBtn.js +2 -2
- 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 +3 -3
- 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 +242 -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.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 +15 -14
- 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 +2 -2
- 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 +10 -10
- package/dist/components/MazSelect.vue.d.ts +178 -0
- package/dist/components/MazSelectCountry.js +15 -15
- 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.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.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 +1 -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 +10 -16
- package/dist/composables/useDropzone.d.ts +27 -0
- package/dist/composables/useDropzone.js +2 -2
- package/dist/composables/useFormField.d.ts +16 -0
- package/dist/composables/useFormField.js +2 -2
- 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 +1 -1
- 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/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 +13 -19
- 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 +211 -373
- 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 +2 -2
- package/dist/plugins/wait.d.ts +33 -0
- package/dist/resolvers/MazComponentsResolver.d.ts +10 -0
- package/dist/resolvers/MazComponentsResolver.js +2 -2
- 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 +3 -3
- 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/MazCarousel.vue.d.ts +4 -4
- package/dist/types/components/MazChecklist.vue.d.ts +5 -5
- package/dist/types/components/MazDatePicker/utils.d.ts +2 -2
- package/dist/types/components/MazDatePicker.vue.d.ts +11 -3
- package/dist/types/components/MazDialog.vue.d.ts +10 -19
- package/dist/types/components/MazDialogConfirm.vue.d.ts +7 -11
- package/dist/types/components/MazDropdown.vue.d.ts +2 -2
- package/dist/types/components/MazInputNumber.vue.d.ts +1 -1
- package/dist/types/components/MazInputPhoneNumber.vue.d.ts +4 -4
- package/dist/types/components/MazInputPrice.vue.d.ts +1 -1
- package/dist/types/components/MazPopover.vue.d.ts +2 -0
- package/dist/types/components/MazSelect.vue.d.ts +3 -3
- package/dist/types/components/MazSelectCountry.vue.d.ts +4 -4
- package/dist/types/components/MazTable.vue.d.ts +5 -5
- package/dist/types/components/MazTableRow.vue.d.ts +2 -0
- package/dist/types/composables/useDisplayNames.d.ts +60 -1
- package/dist/types/composables/useFormValidator.d.ts +1 -1
- 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/plugins/maz-ui.d.ts +5 -5
- package/package.json +30 -18
- package/dist/assets/MazAnimatedText.DDqCxrFX.css +0 -1
- package/dist/assets/MazBackdrop.BnhcmjbP.css +0 -1
- package/dist/assets/MazBtn.BYOKMl_2.css +0 -1
- package/dist/assets/MazCard.D0ksni8A.css +0 -1
- package/dist/assets/MazCardSpotlight.IbPp_y0j.css +0 -1
- package/dist/assets/MazCarousel.D4zTkRsG.css +0 -1
- package/dist/assets/MazChecklist.BzF5KtZ3.css +0 -1
- package/dist/assets/MazDatePicker.BUVI9tfN.css +0 -1
- package/dist/assets/MazDropdown.C6vjLIeN.css +0 -1
- package/dist/assets/MazDropzone.C2SunLAI.css +0 -1
- package/dist/assets/MazGallery.DZ3TyggM.css +0 -1
- package/dist/assets/MazInput.BPhjbYZG.css +0 -1
- package/dist/assets/MazInputCode.FA2z4HQd.css +0 -1
- package/dist/assets/MazInputPhoneNumber.DQKElfIM.css +0 -1
- package/dist/assets/MazInputTags.KNTpDHof.css +0 -1
- package/dist/assets/MazLazyImg.NlPRN3Nk.css +0 -1
- package/dist/assets/MazPickerCalendarMonth.BRoEh_ad.css +0 -1
- package/dist/assets/MazPickerMonthSwitcher.D9lfVzYo.css +0 -1
- package/dist/assets/MazPopover.B3kR2Gsa.css +0 -1
- package/dist/assets/MazPullToRefresh.BQ64UvzA.css +0 -1
- package/dist/assets/MazRadioButtons.DN_rAzT9.css +0 -1
- package/dist/assets/MazReadingProgressBar.CwBVXE3g.css +0 -1
- package/dist/assets/MazSelect.DuRAHZGW.css +0 -1
- package/dist/assets/MazSlider.y4qpnD0N.css +0 -1
- package/dist/assets/MazSwitch.Bxmh2iFj.css +0 -1
- package/dist/assets/MazTable.DMlQdImb.css +0 -1
- package/dist/assets/MazTableRow.DgBXpK9J.css +0 -1
- package/dist/assets/MazTextarea.li9dWBax.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/pascalCase.GdDKKQ-O.js +0 -19
- 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,324 @@
|
|
|
1
|
+
import { HTMLAttributes, InjectionKey, Ref, ThHTMLAttributes } from 'vue';
|
|
2
|
+
import { MazColor, MazSize } from './types';
|
|
3
|
+
import { MazUiTranslationsNestedSchema } from '@maz-ui/translations';
|
|
4
|
+
import { DeepPartial } from '@maz-ui/utils/ts-helpers/DeepPartial';
|
|
5
|
+
export interface MazTableHeadersEnriched {
|
|
6
|
+
label: string;
|
|
7
|
+
key?: string;
|
|
8
|
+
sortable?: boolean;
|
|
9
|
+
hidden?: boolean;
|
|
10
|
+
srOnly?: boolean;
|
|
11
|
+
width?: string;
|
|
12
|
+
maxWidth?: string;
|
|
13
|
+
classes?: ThHTMLAttributes['class'];
|
|
14
|
+
scope?: ThHTMLAttributes['scope'];
|
|
15
|
+
align?: ThHTMLAttributes['align'];
|
|
16
|
+
rowspan?: ThHTMLAttributes['rowspan'];
|
|
17
|
+
colspan?: ThHTMLAttributes['colspan'];
|
|
18
|
+
headers?: ThHTMLAttributes['headers'];
|
|
19
|
+
}
|
|
20
|
+
export type MazTableRow<T extends MazTableRow<T>> = Record<string, any> & {
|
|
21
|
+
selected?: boolean;
|
|
22
|
+
action?: (row: T) => unknown;
|
|
23
|
+
classes?: HTMLAttributes['class'];
|
|
24
|
+
};
|
|
25
|
+
export type MazTableHeader = string | MazTableHeadersEnriched;
|
|
26
|
+
export interface MazTableProps<T extends MazTableRow<T>> {
|
|
27
|
+
/**
|
|
28
|
+
* CSS class of the table element
|
|
29
|
+
* @type {HTMLAttributes['class']}
|
|
30
|
+
*/
|
|
31
|
+
tableClass?: HTMLAttributes['class'];
|
|
32
|
+
/**
|
|
33
|
+
* CSS style of the table element
|
|
34
|
+
* @type {HTMLAttributes['style']}
|
|
35
|
+
*/
|
|
36
|
+
tableStyle?: HTMLAttributes['style'];
|
|
37
|
+
/**
|
|
38
|
+
* List of selected rows
|
|
39
|
+
* @type {(string | boolean | number)[]}
|
|
40
|
+
* @model
|
|
41
|
+
*/
|
|
42
|
+
modelValue?: (string | boolean | number)[];
|
|
43
|
+
/**
|
|
44
|
+
* Size of the table
|
|
45
|
+
* @type {MazSize}
|
|
46
|
+
* @values xl, lg, md, sm, xs, mini
|
|
47
|
+
* @default md
|
|
48
|
+
*/
|
|
49
|
+
size?: MazSize;
|
|
50
|
+
/**
|
|
51
|
+
* Size of the search inputs
|
|
52
|
+
* @type {MazSize}
|
|
53
|
+
* @values xl, lg, md, sm, xs, mini
|
|
54
|
+
*/
|
|
55
|
+
inputSize?: MazSize;
|
|
56
|
+
/**
|
|
57
|
+
* Title of the table
|
|
58
|
+
* @type {string}
|
|
59
|
+
*/
|
|
60
|
+
title?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Headers of the table
|
|
63
|
+
* @type {MazTableHeader[]}
|
|
64
|
+
*/
|
|
65
|
+
headers?: MazTableHeader[];
|
|
66
|
+
/**
|
|
67
|
+
* Enable sort feature on all columns
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @default false
|
|
70
|
+
*/
|
|
71
|
+
sortable?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Align all headers
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @default left
|
|
76
|
+
*/
|
|
77
|
+
headersAlign?: ThHTMLAttributes['align'];
|
|
78
|
+
/**
|
|
79
|
+
* Rows of the table
|
|
80
|
+
* @type {T[]}
|
|
81
|
+
*/
|
|
82
|
+
rows?: T[];
|
|
83
|
+
/**
|
|
84
|
+
* Add hover effect on rows
|
|
85
|
+
* @type {boolean}
|
|
86
|
+
* @default false
|
|
87
|
+
*/
|
|
88
|
+
hoverable?: boolean;
|
|
89
|
+
/**
|
|
90
|
+
* Enable search feature in table header
|
|
91
|
+
* @type {boolean}
|
|
92
|
+
* @default false
|
|
93
|
+
*/
|
|
94
|
+
search?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Disable search in rows - useful to filter data yourself or make search request to server
|
|
97
|
+
* @type {boolean}
|
|
98
|
+
* @default false
|
|
99
|
+
*/
|
|
100
|
+
hideSearchInRow?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
* Disable search by column (remove select input "search by")
|
|
103
|
+
* @type {boolean}
|
|
104
|
+
* @default false
|
|
105
|
+
*/
|
|
106
|
+
hideSearchBy?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* Search query in input
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @model
|
|
111
|
+
*/
|
|
112
|
+
searchQuery?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Add background color to odd rows
|
|
115
|
+
* @type {boolean}
|
|
116
|
+
* @default false
|
|
117
|
+
*/
|
|
118
|
+
backgroundOdd?: boolean;
|
|
119
|
+
/**
|
|
120
|
+
* Add background color to even rows
|
|
121
|
+
* @type {boolean}
|
|
122
|
+
* @default false
|
|
123
|
+
*/
|
|
124
|
+
backgroundEven?: boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Add shadow to the table
|
|
127
|
+
* @type {boolean}
|
|
128
|
+
* @default false
|
|
129
|
+
*/
|
|
130
|
+
elevation?: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* add divider between rows
|
|
133
|
+
* @type {boolean}
|
|
134
|
+
* @default false
|
|
135
|
+
*/
|
|
136
|
+
divider?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Caption of the table
|
|
139
|
+
* @type {string}
|
|
140
|
+
*/
|
|
141
|
+
caption?: string;
|
|
142
|
+
/**
|
|
143
|
+
* Caption side
|
|
144
|
+
* @type {string}
|
|
145
|
+
* @values top, bottom
|
|
146
|
+
* @default bottom
|
|
147
|
+
*/
|
|
148
|
+
captionSide?: 'top' | 'bottom';
|
|
149
|
+
/**
|
|
150
|
+
* Add pagination in table footer
|
|
151
|
+
* @type {boolean}
|
|
152
|
+
* @default false
|
|
153
|
+
*/
|
|
154
|
+
pagination?: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Current page of pagination
|
|
157
|
+
* @type {number}
|
|
158
|
+
* @model
|
|
159
|
+
* @default 1
|
|
160
|
+
*/
|
|
161
|
+
page?: number;
|
|
162
|
+
/**
|
|
163
|
+
* Number of items per page
|
|
164
|
+
* @type {number}
|
|
165
|
+
* @model
|
|
166
|
+
* @default 20
|
|
167
|
+
*/
|
|
168
|
+
pageSize?: number;
|
|
169
|
+
/**
|
|
170
|
+
* Total number of pages
|
|
171
|
+
* @type {number}
|
|
172
|
+
*/
|
|
173
|
+
totalPages?: number;
|
|
174
|
+
/**
|
|
175
|
+
* Don't paginate rows - useful to make pagination request with your server
|
|
176
|
+
* @type {boolean}
|
|
177
|
+
* @default true
|
|
178
|
+
*/
|
|
179
|
+
paginateRows?: boolean;
|
|
180
|
+
/**
|
|
181
|
+
* Total number of items
|
|
182
|
+
* @type {number}
|
|
183
|
+
*/
|
|
184
|
+
totalItems?: number;
|
|
185
|
+
/**
|
|
186
|
+
* Loading state
|
|
187
|
+
* @type {boolean}
|
|
188
|
+
* @default false
|
|
189
|
+
*/
|
|
190
|
+
loading?: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* Enable selection of rows
|
|
193
|
+
* @type {boolean}
|
|
194
|
+
* @default false
|
|
195
|
+
*/
|
|
196
|
+
selectable?: boolean;
|
|
197
|
+
/**
|
|
198
|
+
* Enable selection of rows - key of the selected row
|
|
199
|
+
* @type {string}
|
|
200
|
+
*/
|
|
201
|
+
selectedKey?: string;
|
|
202
|
+
/**
|
|
203
|
+
* Table layout
|
|
204
|
+
* @type {string}
|
|
205
|
+
* @values auto, fixed
|
|
206
|
+
*/
|
|
207
|
+
tableLayout?: 'auto' | 'fixed';
|
|
208
|
+
/**
|
|
209
|
+
* Color of the component
|
|
210
|
+
* @type {MazColor}
|
|
211
|
+
* @default primary
|
|
212
|
+
*/
|
|
213
|
+
color?: MazColor;
|
|
214
|
+
/**
|
|
215
|
+
* Translations of the table
|
|
216
|
+
* @type {DeepPartial<MazUiTranslationsNestedSchema['table']>}
|
|
217
|
+
* @default Translations from @maz-ui/translations
|
|
218
|
+
*/
|
|
219
|
+
translations?: DeepPartial<MazUiTranslationsNestedSchema['table']>;
|
|
220
|
+
/**
|
|
221
|
+
* Size radius of the component's border
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @values none, sm, md, lg, xl, full
|
|
224
|
+
* @default lg
|
|
225
|
+
*/
|
|
226
|
+
roundedSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
227
|
+
/**
|
|
228
|
+
* Enable scrollable on table
|
|
229
|
+
* @type {boolean}
|
|
230
|
+
* @default false
|
|
231
|
+
*/
|
|
232
|
+
scrollable?: boolean;
|
|
233
|
+
}
|
|
234
|
+
export interface MazTableProvide {
|
|
235
|
+
size: Ref<MazSize>;
|
|
236
|
+
hoverable: Ref<boolean>;
|
|
237
|
+
backgroundEven: Ref<boolean>;
|
|
238
|
+
backgroundOdd: Ref<boolean>;
|
|
239
|
+
}
|
|
240
|
+
export declare const mazTableKey: InjectionKey<MazTableProvide>;
|
|
241
|
+
declare const _default: <T extends MazTableRow<T>>(__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<{
|
|
242
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
243
|
+
readonly "onUpdate:model-value"?: ((value: (string | number | boolean | MazTableRow<T>)[] | undefined) => any) | undefined;
|
|
244
|
+
readonly "onUpdate:search-query"?: ((searchQuery: string | undefined) => any) | undefined;
|
|
245
|
+
readonly "onUpdate:page"?: ((page: number) => any) | undefined;
|
|
246
|
+
readonly "onUpdate:page-size"?: ((pageSize: number) => any) | undefined;
|
|
247
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:model-value" | "onUpdate:search-query" | "onUpdate:page" | "onUpdate:page-size"> & MazTableProps<T> & Partial<{}>> & import('vue').PublicProps;
|
|
248
|
+
expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
|
|
249
|
+
attrs: any;
|
|
250
|
+
slots: Partial<Record<`header-label-${string}`, (_: {
|
|
251
|
+
header: {
|
|
252
|
+
label: string;
|
|
253
|
+
key?: string | undefined;
|
|
254
|
+
sortable?: boolean | undefined;
|
|
255
|
+
hidden?: boolean | undefined;
|
|
256
|
+
srOnly?: boolean | undefined;
|
|
257
|
+
width?: string | undefined;
|
|
258
|
+
maxWidth?: string | undefined;
|
|
259
|
+
classes?: ThHTMLAttributes["class"];
|
|
260
|
+
scope?: string | undefined;
|
|
261
|
+
align?: "justify" | "center" | "left" | "right" | "char" | undefined;
|
|
262
|
+
rowspan?: (string | number) | undefined;
|
|
263
|
+
colspan?: (string | number) | undefined;
|
|
264
|
+
headers?: string | undefined;
|
|
265
|
+
thHeaders?: string | undefined;
|
|
266
|
+
sorted?: "ASC" | "DESC" | undefined;
|
|
267
|
+
};
|
|
268
|
+
label: string;
|
|
269
|
+
}) => any>> & Partial<Record<`cell-${string}`, (_: {
|
|
270
|
+
row: T;
|
|
271
|
+
value: any;
|
|
272
|
+
}) => any>> & {
|
|
273
|
+
title?(_: {}): any;
|
|
274
|
+
caption?(_: {}): any;
|
|
275
|
+
thead?(_: {}): any;
|
|
276
|
+
header?(_: {
|
|
277
|
+
header: {
|
|
278
|
+
label: string;
|
|
279
|
+
key?: string | undefined;
|
|
280
|
+
sortable?: boolean | undefined;
|
|
281
|
+
hidden?: boolean | undefined;
|
|
282
|
+
srOnly?: boolean | undefined;
|
|
283
|
+
width?: string | undefined;
|
|
284
|
+
maxWidth?: string | undefined;
|
|
285
|
+
classes?: ThHTMLAttributes["class"];
|
|
286
|
+
scope?: string | undefined;
|
|
287
|
+
align?: "justify" | "center" | "left" | "right" | "char" | undefined;
|
|
288
|
+
rowspan?: (string | number) | undefined;
|
|
289
|
+
colspan?: (string | number) | undefined;
|
|
290
|
+
headers?: string | undefined;
|
|
291
|
+
thHeaders?: string | undefined;
|
|
292
|
+
sorted?: "ASC" | "DESC" | undefined;
|
|
293
|
+
};
|
|
294
|
+
label: string;
|
|
295
|
+
}): any;
|
|
296
|
+
'actions-header'?(_: {}): any;
|
|
297
|
+
default?(_: {}): any;
|
|
298
|
+
select?(_: {
|
|
299
|
+
row: T;
|
|
300
|
+
selected: boolean | undefined;
|
|
301
|
+
}): any;
|
|
302
|
+
cell?(_: {
|
|
303
|
+
row: T;
|
|
304
|
+
value: any;
|
|
305
|
+
}): any;
|
|
306
|
+
actions?(_: {
|
|
307
|
+
row: T;
|
|
308
|
+
}): any;
|
|
309
|
+
'no-results'?(_: {}): any;
|
|
310
|
+
'no-results-text'?(_: {}): any;
|
|
311
|
+
};
|
|
312
|
+
emit: {
|
|
313
|
+
(event: "update:model-value", value: (MazTableRow<T> | string | number | boolean)[] | undefined): void;
|
|
314
|
+
(event: "update:search-query", searchQuery: string | undefined): void;
|
|
315
|
+
(event: "update:page", page: number): void;
|
|
316
|
+
(event: "update:page-size", pageSize: number): void;
|
|
317
|
+
};
|
|
318
|
+
}>) => import('vue').VNode & {
|
|
319
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
320
|
+
};
|
|
321
|
+
export default _default;
|
|
322
|
+
type __VLS_PrettifyLocal<T> = {
|
|
323
|
+
[K in keyof T]: T[K];
|
|
324
|
+
} & {};
|
|
@@ -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.Ct1Gtp2Q.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",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLTableCellElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLTableCellElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -1,17 +1,18 @@
|
|
|
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.Ct1Gtp2Q.js";
|
|
4
4
|
import { _ as _export_sfc } from "../chunks/_plugin-vue_export-helper.B--vMWp3.js";
|
|
5
|
-
import '../assets/MazTableRow.
|
|
5
|
+
import '../assets/MazTableRow.C0Ko4yDk.css';const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "MazTableRow",
|
|
7
7
|
props: {
|
|
8
|
-
hoverable: { type: Boolean, default: !0 }
|
|
8
|
+
hoverable: { type: Boolean, default: !0 },
|
|
9
|
+
isHead: { type: Boolean, default: !1 }
|
|
9
10
|
},
|
|
10
11
|
setup(__props) {
|
|
11
12
|
const { backgroundEven, backgroundOdd, hoverable: injectedHoverable } = useInjectStrict(mazTableKey);
|
|
12
13
|
return (_ctx, _cache) => (openBlock(), createElementBlock("tr", {
|
|
13
14
|
class: normalizeClass(["m-table-row m-reset-css", {
|
|
14
|
-
"--hoverable": unref(injectedHoverable) && _ctx.hoverable,
|
|
15
|
+
"--hoverable": unref(injectedHoverable) && _ctx.hoverable && !_ctx.isHead,
|
|
15
16
|
"--background-odd": unref(backgroundOdd),
|
|
16
17
|
"--background-even": unref(backgroundEven)
|
|
17
18
|
}])
|
|
@@ -19,7 +20,7 @@ import '../assets/MazTableRow.DgBXpK9J.css';const _sfc_main = /* @__PURE__ */ de
|
|
|
19
20
|
renderSlot(_ctx.$slots, "default", {}, void 0, !0)
|
|
20
21
|
], 2));
|
|
21
22
|
}
|
|
22
|
-
}), MazTableRow = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
23
|
+
}), MazTableRow = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fb8a51d0"]]);
|
|
23
24
|
export {
|
|
24
25
|
MazTableRow as default
|
|
25
26
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface MazTableRowProps {
|
|
2
|
+
/** Override hoverable of table props */
|
|
3
|
+
hoverable?: boolean;
|
|
4
|
+
/** If true, the row is a head row */
|
|
5
|
+
isHead?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
default?(_: {}): any;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLTableRowElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<MazTableRowProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MazTableRowProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableRowElement>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -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.Ct1Gtp2Q.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",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLTableCellElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLTableCellElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export interface MazTabsProps {
|
|
3
|
+
/** The the selected tab number */
|
|
4
|
+
modelValue?: number;
|
|
5
|
+
}
|
|
6
|
+
export interface MazTabsProvide {
|
|
7
|
+
currentTab: Ref<number>;
|
|
8
|
+
updateCurrentTab: (index: number) => number;
|
|
9
|
+
}
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
12
|
+
slots: {
|
|
13
|
+
default?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<MazTabsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
"update:model-value": (value: number) => any;
|
|
21
|
+
}, string, import('vue').PublicProps, Readonly<MazTabsProps> & Readonly<{
|
|
22
|
+
"onUpdate:model-value"?: ((value: number) => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
new (): {
|
|
28
|
+
$slots: S;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, defineAsyncComponent, ref, computed, onBeforeMount, onMounted, watch, createElementBlock, openBlock, normalizeClass, createElementVNode, normalizeStyle, Fragment, renderList, renderSlot, createTextVNode, createBlock, createCommentVNode, toDisplayString, unref, mergeProps, withCtx } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { n } from "../chunks/sleep.Ci7GE4BQ.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.BRr1XiYu.css';const _hoisted_1 = ["disabled", "onClick"], _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "MazTabsBar",
|
|
7
7
|
props: {
|
|
8
8
|
items: {},
|
|
@@ -38,7 +38,7 @@ import '../assets/MazTabsBar.gcS2Fc-B.css';const _hoisted_1 = ["disabled", "onCl
|
|
|
38
38
|
async function setIndicatorAndScroll() {
|
|
39
39
|
if (!__props.autoScroll)
|
|
40
40
|
return;
|
|
41
|
-
await
|
|
41
|
+
await n(150);
|
|
42
42
|
const tabsBar = tabsBarRef.value, activeTab = itemRefs.value[currentTab.value - 1];
|
|
43
43
|
if (!tabsBar || !activeTab)
|
|
44
44
|
return;
|
|
@@ -132,7 +132,7 @@ import '../assets/MazTabsBar.gcS2Fc-B.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-a10056dd"]]);
|
|
136
136
|
export {
|
|
137
137
|
MazTabsBar as default
|
|
138
138
|
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { MazBadgeProps } from './MazBadge.vue';
|
|
2
|
+
export interface MazTabsBarProps {
|
|
3
|
+
/**
|
|
4
|
+
* The items to display in the tabs bar
|
|
5
|
+
* @type MazTabsBarItem[]
|
|
6
|
+
*/
|
|
7
|
+
items: MazTabsBarItem[];
|
|
8
|
+
/**
|
|
9
|
+
* Will add a query param to the url to keep the selected tab on page refresh
|
|
10
|
+
* @default false
|
|
11
|
+
*/
|
|
12
|
+
persistent?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* The name of the query param to add to the url
|
|
15
|
+
* @default tab
|
|
16
|
+
*/
|
|
17
|
+
queryParam?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Will make the tabs bar full width
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
block?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Will remove the elevation
|
|
25
|
+
* @default false
|
|
26
|
+
*/
|
|
27
|
+
elevation?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Will add a scroll on the tabs bar to show selected element
|
|
30
|
+
* @default true
|
|
31
|
+
*/
|
|
32
|
+
autoScroll?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* Will add a border to the tabs bar
|
|
35
|
+
* @default true
|
|
36
|
+
*/
|
|
37
|
+
bordered?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export type MazTabsBarItem = {
|
|
40
|
+
/**
|
|
41
|
+
* Label of the tab
|
|
42
|
+
*/
|
|
43
|
+
label: string;
|
|
44
|
+
/**
|
|
45
|
+
* Will disable the tab
|
|
46
|
+
* @default false
|
|
47
|
+
*/
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Badge to display in the tab
|
|
51
|
+
* Inherit all props of MazBadge component
|
|
52
|
+
*/
|
|
53
|
+
badge?: MazBadgeProps & {
|
|
54
|
+
/**
|
|
55
|
+
* Content of the badge
|
|
56
|
+
*/
|
|
57
|
+
content: string | number | boolean;
|
|
58
|
+
};
|
|
59
|
+
} | string;
|
|
60
|
+
declare function __VLS_template(): {
|
|
61
|
+
attrs: Partial<{}>;
|
|
62
|
+
slots: {
|
|
63
|
+
item?(_: {
|
|
64
|
+
item: {
|
|
65
|
+
label: string;
|
|
66
|
+
disabled: boolean;
|
|
67
|
+
badge: (MazBadgeProps & {
|
|
68
|
+
/**
|
|
69
|
+
* Content of the badge
|
|
70
|
+
*/
|
|
71
|
+
content: string | number | boolean;
|
|
72
|
+
}) | undefined;
|
|
73
|
+
};
|
|
74
|
+
active: boolean;
|
|
75
|
+
index: number;
|
|
76
|
+
}): any;
|
|
77
|
+
'badge-content'?(_: {
|
|
78
|
+
content: string | number | boolean;
|
|
79
|
+
}): any;
|
|
80
|
+
};
|
|
81
|
+
refs: {
|
|
82
|
+
tabsBarRef: HTMLDivElement;
|
|
83
|
+
};
|
|
84
|
+
rootEl: HTMLDivElement;
|
|
85
|
+
};
|
|
86
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
87
|
+
declare const __VLS_component: import('vue').DefineComponent<MazTabsBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MazTabsBarProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
88
|
+
tabsBarRef: HTMLDivElement;
|
|
89
|
+
}, HTMLDivElement>;
|
|
90
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
91
|
+
export default _default;
|
|
92
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
93
|
+
new (): {
|
|
94
|
+
$slots: S;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {
|
|
7
|
+
MazTabsContentItem: HTMLDivElement;
|
|
8
|
+
};
|
|
9
|
+
rootEl: any;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
13
|
+
tab: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
required: true;
|
|
16
|
+
};
|
|
17
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
|
+
tab: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
23
|
+
MazTabsContentItem: HTMLDivElement;
|
|
24
|
+
}, any>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|