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
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, computed, onMounted, createBlock, openBlock, withKeys, unref, nextTick } from "vue";
|
|
2
2
|
import { MazBanknotes } from "@maz-ui/icons";
|
|
3
3
|
import MazInput from "../components/MazInput.js";
|
|
4
|
-
const
|
|
4
|
+
const u = {
|
|
5
5
|
style: "currency",
|
|
6
6
|
minimumFractionDigits: 2,
|
|
7
7
|
round: !1
|
|
8
8
|
};
|
|
9
|
-
function
|
|
10
|
-
let
|
|
11
|
-
return
|
|
9
|
+
function o(t, r, e) {
|
|
10
|
+
let i = +t;
|
|
11
|
+
return e.round && (i = Math.floor(i), e.minimumFractionDigits = 0), new Intl.NumberFormat(r, e).format(i);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
13
|
+
function c(t, r, e) {
|
|
14
|
+
if (t === void 0)
|
|
15
15
|
throw new TypeError("[maz-ui](FilterCurrency) The `number` attribute is required.");
|
|
16
|
-
if (
|
|
16
|
+
if (r === void 0)
|
|
17
17
|
throw new TypeError("[maz-ui](FilterCurrency) The `locale` attribute is required.");
|
|
18
|
-
if (typeof
|
|
18
|
+
if (typeof r != "string")
|
|
19
19
|
throw new TypeError("[maz-ui](FilterCurrency) The `locale` attribute must be a string.");
|
|
20
|
-
if (
|
|
20
|
+
if (e.currency === void 0)
|
|
21
21
|
throw new TypeError("[maz-ui](FilterCurrency) The `options.currency` attribute is required.");
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
const
|
|
25
|
-
...
|
|
26
|
-
...
|
|
23
|
+
function a(t, r, e) {
|
|
24
|
+
const i = {
|
|
25
|
+
...u,
|
|
26
|
+
...e
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
c(t, r, i);
|
|
29
29
|
try {
|
|
30
|
-
return
|
|
31
|
-
} catch (
|
|
32
|
-
throw new Error(`[maz-ui](FilterCurrency) ${
|
|
30
|
+
return o(t, r, i);
|
|
31
|
+
} catch (n) {
|
|
32
|
+
throw new Error(`[maz-ui](FilterCurrency) ${n}`);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
const props = __props, emits = __emit, internalValue = ref(getAdjustedPrice(props.modelValue));
|
|
54
54
|
watch(() => props.modelValue, updateInternalValue);
|
|
55
55
|
const isActive = ref(!1), valueString = computed(() => props.modelValue?.toString()), valueNumber = computed(() => props.modelValue), priceFormatted = computed(
|
|
56
|
-
() => typeof valueNumber.value == "number" ?
|
|
56
|
+
() => typeof valueNumber.value == "number" ? a(valueNumber.value, props.locale, { ...props.currencyOptions, currency: props.currency }) : void 0
|
|
57
57
|
);
|
|
58
58
|
function getAdjustedPrice(value) {
|
|
59
59
|
const isNegative = typeof value == "string" && value.startsWith("-");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, defineAsyncComponent, ref, computed, createElementBlock, openBlock, createBlock, createCommentVNode, createElementVNode, unref, normalizeClass, createVNode, Transition, withCtx, Fragment, renderList } from "vue";
|
|
2
2
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper.B--vMWp3.js";
|
|
3
|
-
import '../assets/MazPickerCalendar.
|
|
3
|
+
import '../assets/MazPickerCalendar.e-eF8E7m.css';const _hoisted_1 = { class: "maz-picker-calendar flex" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "MazPickerCalendar",
|
|
5
5
|
props: {
|
|
6
6
|
modelValue: {},
|
|
@@ -21,7 +21,7 @@ import '../assets/MazPickerCalendar.CHpWIzhL.css';const _hoisted_1 = { class: "m
|
|
|
21
21
|
},
|
|
22
22
|
emits: ["update:model-value", "update:calendar-date"],
|
|
23
23
|
setup(__props, { emit: __emit }) {
|
|
24
|
-
const props = __props, emits = __emit,
|
|
24
|
+
const props = __props, emits = __emit, MazPickerCalendarMonth = defineAsyncComponent(() => import("./MazPickerCalendarMonth.CFJHTFp5.js")), MazPickerCalendarSwitcher = defineAsyncComponent(() => import("./MazPickerCalendarSwitcher.DC21FpTy.js")), MazPickerMonthSwitcher = defineAsyncComponent(() => import("./MazPickerMonthSwitcher.DzHOKbe4.js")), MazPickerShortcuts = defineAsyncComponent(() => import("./MazPickerShortcuts.CMySiKny.js")), MazPickerYearSwitcher = defineAsyncComponent(() => import("./MazPickerYearSwitcher.BcT8GENl.js")), hoverredDay = ref(), hasShortcuts = computed(
|
|
25
25
|
() => props.shortcuts && props.shortcuts.length > 0 && props.range
|
|
26
26
|
), monthSwitcherOpen = ref(!1), yearSwitcherOpen = ref(!1), currentValue = computed({
|
|
27
27
|
get: () => props.modelValue,
|
|
@@ -31,7 +31,7 @@ import '../assets/MazPickerCalendar.CHpWIzhL.css';const _hoisted_1 = { class: "m
|
|
|
31
31
|
set: (calendarDate2) => emits("update:calendar-date", calendarDate2)
|
|
32
32
|
});
|
|
33
33
|
return (_ctx, _cache) => (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
34
|
-
hasShortcuts.value ? (openBlock(), createBlock(unref(
|
|
34
|
+
hasShortcuts.value ? (openBlock(), createBlock(unref(MazPickerShortcuts), {
|
|
35
35
|
key: 0,
|
|
36
36
|
modelValue: currentValue.value,
|
|
37
37
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => currentValue.value = $event),
|
|
@@ -44,7 +44,7 @@ import '../assets/MazPickerCalendar.CHpWIzhL.css';const _hoisted_1 = { class: "m
|
|
|
44
44
|
createElementVNode("div", {
|
|
45
45
|
class: normalizeClass(["maz-picker-calendar__main", { "--has-double": _ctx.double }])
|
|
46
46
|
}, [
|
|
47
|
-
createVNode(unref(
|
|
47
|
+
createVNode(unref(MazPickerCalendarSwitcher), {
|
|
48
48
|
"calendar-date": calendarDate.value,
|
|
49
49
|
"onUpdate:calendarDate": _cache[1] || (_cache[1] = ($event) => calendarDate.value = $event),
|
|
50
50
|
locale: _ctx.locale,
|
|
@@ -54,7 +54,7 @@ import '../assets/MazPickerCalendar.CHpWIzhL.css';const _hoisted_1 = { class: "m
|
|
|
54
54
|
}, null, 8, ["calendar-date", "locale", "double"]),
|
|
55
55
|
createVNode(Transition, { name: "maz-picker-slide" }, {
|
|
56
56
|
default: withCtx(() => [
|
|
57
|
-
monthSwitcherOpen.value ? (openBlock(), createBlock(unref(
|
|
57
|
+
monthSwitcherOpen.value ? (openBlock(), createBlock(unref(MazPickerMonthSwitcher), {
|
|
58
58
|
key: 0,
|
|
59
59
|
"calendar-date": calendarDate.value,
|
|
60
60
|
"onUpdate:calendarDate": _cache[4] || (_cache[4] = ($event) => calendarDate.value = $event),
|
|
@@ -68,7 +68,7 @@ import '../assets/MazPickerCalendar.CHpWIzhL.css';const _hoisted_1 = { class: "m
|
|
|
68
68
|
}),
|
|
69
69
|
createVNode(Transition, { name: "maz-picker-slide" }, {
|
|
70
70
|
default: withCtx(() => [
|
|
71
|
-
yearSwitcherOpen.value ? (openBlock(), createBlock(unref(
|
|
71
|
+
yearSwitcherOpen.value ? (openBlock(), createBlock(unref(MazPickerYearSwitcher), {
|
|
72
72
|
key: 0,
|
|
73
73
|
"calendar-date": calendarDate.value,
|
|
74
74
|
"onUpdate:calendarDate": _cache[6] || (_cache[6] = ($event) => calendarDate.value = $event),
|
|
@@ -82,7 +82,7 @@ import '../assets/MazPickerCalendar.CHpWIzhL.css';const _hoisted_1 = { class: "m
|
|
|
82
82
|
createElementVNode("div", {
|
|
83
83
|
class: normalizeClass(["maz-picker-calendar__months", { "--is-range": _ctx.range }])
|
|
84
84
|
}, [
|
|
85
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(months.value, (month) => (openBlock(), createBlock(unref(
|
|
85
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(months.value, (month) => (openBlock(), createBlock(unref(MazPickerCalendarMonth), {
|
|
86
86
|
key: month,
|
|
87
87
|
modelValue: currentValue.value,
|
|
88
88
|
"onUpdate:modelValue": _cache[8] || (_cache[8] = ($event) => currentValue.value = $event),
|
|
@@ -105,7 +105,7 @@ import '../assets/MazPickerCalendar.CHpWIzhL.css';const _hoisted_1 = { class: "m
|
|
|
105
105
|
], 2)
|
|
106
106
|
]));
|
|
107
107
|
}
|
|
108
|
-
}), MazPickerCalendar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
108
|
+
}), MazPickerCalendar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9e444411"]]);
|
|
109
109
|
export {
|
|
110
110
|
MazPickerCalendar as default
|
|
111
111
|
};
|
package/dist/chunks/{MazPickerCalendarMonth.DKBqgrNp.js → MazPickerCalendarMonth.CFJHTFp5.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, computed, createElementBlock, openBlock, Fragment, renderList, toDisplayString, useCssVars, ref, watch, createVNode, TransitionGroup, withCtx, normalizeClass, createBlock, createElementVNode } from "vue";
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
|
-
import { g as getDaysOfWeek,
|
|
3
|
+
import { g as getDaysOfWeek, a as getDaysInMonth, b as getFirstDayOfMonth, c as isRangeValue, i as isSameDate, d as isValidDate, e as isSameDay } from "./MazDatePicker.B1B6gUrC.js";
|
|
4
4
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper.B--vMWp3.js";
|
|
5
|
-
import {
|
|
5
|
+
import { i } from "./debounce.DhXdop6X.js";
|
|
6
6
|
import MazBtn from "../components/MazBtn.js";
|
|
7
|
-
import '../assets/MazPickerCalendarMonth.
|
|
7
|
+
import '../assets/MazPickerCalendarMonth.DpijYq-O.css';const _hoisted_1 = { class: "maz-picker-calendar-days" }, _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "MazPickerCalendarDays",
|
|
9
9
|
props: {
|
|
10
10
|
locale: { type: String, required: !0 },
|
|
@@ -16,7 +16,7 @@ import '../assets/MazPickerCalendarMonth.Boe_8k4x.css';const _hoisted_1 = { clas
|
|
|
16
16
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(days.value, (label) => (openBlock(), createElementBlock("span", { key: label }, toDisplayString(label), 1))), 128))
|
|
17
17
|
]));
|
|
18
18
|
}
|
|
19
|
-
}),
|
|
19
|
+
}), MazPickerCalendarDays = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-491de61c"]]), _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
20
20
|
__name: "MazPickerCalendarGrid",
|
|
21
21
|
props: {
|
|
22
22
|
modelValue: {
|
|
@@ -39,14 +39,14 @@ import '../assets/MazPickerCalendarMonth.Boe_8k4x.css';const _hoisted_1 = { clas
|
|
|
39
39
|
emits: ["update:model-value", "update:hoverred-day"],
|
|
40
40
|
setup(__props, { emit: __emit }) {
|
|
41
41
|
useCssVars((_ctx) => ({
|
|
42
|
-
|
|
43
|
-
"
|
|
42
|
+
b6bdc16c: hoverColor.value,
|
|
43
|
+
"6fbcd29d": hoverTextColor.value
|
|
44
44
|
}));
|
|
45
45
|
const props = __props, emits = __emit, MazDatePickerGrid = ref(), transitionName = ref("maz-slidenext"), calendarDateArray = computed(() => [props.calendarDate]), hoverColor = computed(() => `hsl(var(--maz-${props.color}) / 20%)`), hoverTextColor = computed(() => `hsl(var(--maz-${props.color}-foreground))`), modelValue = computed({
|
|
46
46
|
get: () => props.modelValue,
|
|
47
47
|
set: (value) => emits("update:model-value", value)
|
|
48
48
|
}), monthDays = computed(
|
|
49
|
-
() => Array.from({ length: getDaysInMonth(props.calendarDate) }, (_v,
|
|
49
|
+
() => Array.from({ length: getDaysInMonth(props.calendarDate) }, (_v, i2) => i2 + 1).map((day) => ({
|
|
50
50
|
label: day,
|
|
51
51
|
date: dayjs(props.calendarDate).set("date", day)
|
|
52
52
|
}))
|
|
@@ -131,7 +131,7 @@ import '../assets/MazPickerCalendarMonth.Boe_8k4x.css';const _hoisted_1 = { clas
|
|
|
131
131
|
function isBiggerMaxDate(day) {
|
|
132
132
|
return props.maxDate ? dayjs(day).isAfter(props.maxDate, "date") : !1;
|
|
133
133
|
}
|
|
134
|
-
const removeContainerHeight =
|
|
134
|
+
const removeContainerHeight = i(() => {
|
|
135
135
|
MazDatePickerGrid.value && (MazDatePickerGrid.value.style.minHeight = "");
|
|
136
136
|
}, 400);
|
|
137
137
|
function setContainerHeight() {
|
|
@@ -154,8 +154,8 @@ import '../assets/MazPickerCalendarMonth.Boe_8k4x.css';const _hoisted_1 = { clas
|
|
|
154
154
|
class: normalizeClass(["maz-picker-calendar-grid__container", { "--is-range": __props.range }])
|
|
155
155
|
}, [
|
|
156
156
|
(openBlock(!0), createElementBlock(Fragment, null, renderList(emptyDaysCount.value, (first) => (openBlock(), createElementBlock("div", { key: first }))), 128)),
|
|
157
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(monthDays.value, ({ label, date },
|
|
158
|
-
key:
|
|
157
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(monthDays.value, ({ label, date }, i2) => (openBlock(), createBlock(MazBtn, {
|
|
158
|
+
key: i2,
|
|
159
159
|
size: "mini",
|
|
160
160
|
color: getDayButtonColor(date),
|
|
161
161
|
type: "button",
|
|
@@ -185,7 +185,7 @@ import '../assets/MazPickerCalendarMonth.Boe_8k4x.css';const _hoisted_1 = { clas
|
|
|
185
185
|
}, 8, ["name"])
|
|
186
186
|
], 512));
|
|
187
187
|
}
|
|
188
|
-
}),
|
|
188
|
+
}), MazPickerCalendarGrid = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-fd57ecf5"]]), _sfc_main = /* @__PURE__ */ defineComponent({
|
|
189
189
|
__name: "MazPickerCalendarMonth",
|
|
190
190
|
props: {
|
|
191
191
|
modelValue: {
|
|
@@ -225,12 +225,12 @@ import '../assets/MazPickerCalendarMonth.Boe_8k4x.css';const _hoisted_1 = { clas
|
|
|
225
225
|
return (_ctx, _cache) => (openBlock(), createElementBlock("div", {
|
|
226
226
|
class: normalizeClass(["maz-picker-calendar-month", { "--has-padding": !__props.range }])
|
|
227
227
|
}, [
|
|
228
|
-
createVNode(
|
|
228
|
+
createVNode(MazPickerCalendarDays, {
|
|
229
229
|
locale: __props.locale,
|
|
230
230
|
"first-day-of-week": __props.firstDayOfWeek,
|
|
231
231
|
class: "maz-picker-calendar-month__days"
|
|
232
232
|
}, null, 8, ["locale", "first-day-of-week"]),
|
|
233
|
-
createVNode(
|
|
233
|
+
createVNode(MazPickerCalendarGrid, {
|
|
234
234
|
modelValue: modelValue.value,
|
|
235
235
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
236
236
|
"hoverred-day": hoverredDay.value,
|
|
@@ -249,7 +249,7 @@ import '../assets/MazPickerCalendarMonth.Boe_8k4x.css';const _hoisted_1 = { clas
|
|
|
249
249
|
}, null, 8, ["modelValue", "hoverred-day", "locale", "color", "has-time", "calendar-date", "first-day-of-week", "min-date", "max-date", "disabled-weekly", "disabled-dates", "disabled", "range"])
|
|
250
250
|
], 2));
|
|
251
251
|
}
|
|
252
|
-
}), MazPickerCalendarMonth = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
252
|
+
}), MazPickerCalendarMonth = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d6d0805c"]]);
|
|
253
253
|
export {
|
|
254
254
|
MazPickerCalendarMonth as default
|
|
255
255
|
};
|
package/dist/chunks/{MazPickerCalendarSwitcher.CzIZol3Z.js → MazPickerCalendarSwitcher.DC21FpTy.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, createElementBlock, openBlock, createVNode, withCtx, unref, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { MazChevronLeft } from "@maz-ui/icons";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { r } from "./capitalize.CVQ1jDrh.js";
|
|
4
|
+
import { n } from "./MazDatePicker.B1B6gUrC.js";
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import MazBtn from "../components/MazBtn.js";
|
|
7
7
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper.B--vMWp3.js";
|
|
8
|
-
import '../assets/MazPickerCalendarSwitcher.
|
|
8
|
+
import '../assets/MazPickerCalendarSwitcher.ByAVjy00.css';const _hoisted_1 = { class: "m-date-picker-calendar-switcher" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "MazPickerCalendarSwitcher",
|
|
10
10
|
props: {
|
|
11
11
|
calendarDate: { type: String, default: void 0 },
|
|
@@ -20,14 +20,14 @@ import '../assets/MazPickerCalendarSwitcher.uni8vJJv.css';const _hoisted_1 = { c
|
|
|
20
20
|
"update:calendar-date"
|
|
21
21
|
],
|
|
22
22
|
setup(__props, { emit: __emit }) {
|
|
23
|
-
const props = __props, emits = __emit, calendarDate2 = computed(() => dayjs(props.calendarDate)), monthLabel = computed(() => props.double ? `${
|
|
24
|
-
|
|
25
|
-
)} - ${
|
|
26
|
-
|
|
23
|
+
const props = __props, emits = __emit, calendarDate2 = computed(() => dayjs(props.calendarDate)), monthLabel = computed(() => props.double ? `${r(
|
|
24
|
+
n(calendarDate2.value.format(), props.locale, { month: "short" }) ?? calendarDate2.value.format()
|
|
25
|
+
)} - ${r(
|
|
26
|
+
n(calendarDate2.value.add(1, "month").format(), props.locale, {
|
|
27
27
|
month: "short"
|
|
28
28
|
}) ?? calendarDate2.value.add(1, "month").format()
|
|
29
|
-
)}` :
|
|
30
|
-
() =>
|
|
29
|
+
)}` : r(n(calendarDate2.value.format(), props.locale, { month: "short" }) ?? calendarDate2.value.format())), yearLabel = computed(
|
|
30
|
+
() => n(calendarDate2.value.format(), props.locale, { year: "numeric" })
|
|
31
31
|
);
|
|
32
32
|
function previousMonth() {
|
|
33
33
|
emits("update:calendar-date", dayjs(props.calendarDate).subtract(1, "month").format());
|
|
@@ -84,7 +84,7 @@ import '../assets/MazPickerCalendarSwitcher.uni8vJJv.css';const _hoisted_1 = { c
|
|
|
84
84
|
})
|
|
85
85
|
]));
|
|
86
86
|
}
|
|
87
|
-
}), MazPickerCalendarSwitcher = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
87
|
+
}), MazPickerCalendarSwitcher = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e52cabdb"]]);
|
|
88
88
|
export {
|
|
89
89
|
MazPickerCalendarSwitcher as default
|
|
90
90
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, defineAsyncComponent, ref, computed, createElementBlock, openBlock, normalizeClass, createBlock, createCommentVNode, createElementVNode, unref } from "vue";
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
3
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper.B--vMWp3.js";
|
|
4
|
-
import '../assets/MazPickerContainer.
|
|
4
|
+
import '../assets/MazPickerContainer.DmHuaFqE.css';const _hoisted_1 = { class: "m-date-picker-container__wrapper" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "MazPickerContainer",
|
|
6
6
|
props: {
|
|
7
7
|
modelValue: {},
|
|
@@ -30,7 +30,7 @@ import '../assets/MazPickerContainer.k3DGjyHC.css';const _hoisted_1 = { class: "
|
|
|
30
30
|
},
|
|
31
31
|
emits: ["update:model-value", "update:calendar-date", "close"],
|
|
32
32
|
setup(__props, { emit: __emit }) {
|
|
33
|
-
const emits = __emit, MazPickerCalendar = defineAsyncComponent(() => import("./MazPickerCalendar.
|
|
33
|
+
const emits = __emit, MazPickerCalendar = defineAsyncComponent(() => import("./MazPickerCalendar.BSBQciuG.js")), MazPickerHeader = defineAsyncComponent(() => import("./MazPickerHeader.D7Tbm-yH.js")), MazPickerTime = defineAsyncComponent(() => import("./MazPickerTime.EZK1foEx.js")), lastTimeValue = ref(typeof __props.modelValue == "string" && __props.hasTime ? dayjs(__props.modelValue).format("HH:mm") : "00:00");
|
|
34
34
|
function saveLastTimeValue(value) {
|
|
35
35
|
lastTimeValue.value = dayjs(value).format("HH:mm"), emits("update:model-value", value);
|
|
36
36
|
}
|
|
@@ -43,9 +43,7 @@ import '../assets/MazPickerContainer.k3DGjyHC.css';const _hoisted_1 = { class: "
|
|
|
43
43
|
}
|
|
44
44
|
const currentDate = computed({
|
|
45
45
|
get: () => __props.modelValue,
|
|
46
|
-
set: (value) =>
|
|
47
|
-
emits("update:model-value", value);
|
|
48
|
-
}
|
|
46
|
+
set: (value) => emits("update:model-value", value)
|
|
49
47
|
}), currentCalendarDate = computed({
|
|
50
48
|
get: () => __props.calendarDate,
|
|
51
49
|
set: (calendarDate) => emits("update:calendar-date", calendarDate)
|
|
@@ -111,7 +109,7 @@ import '../assets/MazPickerContainer.k3DGjyHC.css';const _hoisted_1 = { class: "
|
|
|
111
109
|
])
|
|
112
110
|
], 2));
|
|
113
111
|
}
|
|
114
|
-
}), MazPickerContainer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
112
|
+
}), MazPickerContainer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-69e91845"]]);
|
|
115
113
|
export {
|
|
116
114
|
MazPickerContainer as default
|
|
117
115
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch, createElementBlock, openBlock, normalizeClass, createCommentVNode, createVNode, TransitionGroup, withCtx, Fragment, renderList, toDisplayString } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { r } from "./capitalize.CVQ1jDrh.js";
|
|
3
|
+
import { n } from "./MazDatePicker.B1B6gUrC.js";
|
|
4
4
|
import dayjs from "dayjs";
|
|
5
5
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper.B--vMWp3.js";
|
|
6
|
-
import '../assets/MazPickerHeader.
|
|
6
|
+
import '../assets/MazPickerHeader.D7JXgA3q.css';const _hoisted_1 = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "m-date-picker-header__date"
|
|
9
9
|
}, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -21,27 +21,27 @@ import '../assets/MazPickerHeader.ZYCJY5bX.css';const _hoisted_1 = {
|
|
|
21
21
|
setup(__props) {
|
|
22
22
|
const refDate = computed(
|
|
23
23
|
() => typeof __props.modelValue == "string" ? __props.modelValue : __props.modelValue?.start
|
|
24
|
-
), transitionName = ref("maz-slidevnext"), year = computed(() => __props.modelValue && typeof __props.modelValue == "object" ? `${__props.modelValue.start ?
|
|
24
|
+
), transitionName = ref("maz-slidevnext"), year = computed(() => __props.modelValue && typeof __props.modelValue == "object" ? `${__props.modelValue.start ? n(__props.modelValue.start, __props.locale, {
|
|
25
25
|
year: "numeric",
|
|
26
26
|
timeZone: __props.formatterOptions.timeZone
|
|
27
|
-
}) : "..."} - ${__props.modelValue.end ?
|
|
27
|
+
}) : "..."} - ${__props.modelValue.end ? n(__props.modelValue.end, __props.locale, {
|
|
28
28
|
year: "numeric",
|
|
29
29
|
timeZone: __props.formatterOptions.timeZone
|
|
30
|
-
}) : "..."}` : typeof __props.modelValue == "string" ?
|
|
30
|
+
}) : "..."}` : typeof __props.modelValue == "string" ? n(__props.modelValue, __props.locale, {
|
|
31
31
|
year: "numeric",
|
|
32
32
|
timeZone: __props.formatterOptions.timeZone
|
|
33
33
|
}) : "-"), yearArray = computed(() => __props.hasDate ? [year.value] : void 0), dateString = computed(() => {
|
|
34
34
|
if (__props.modelValue && typeof __props.modelValue == "object" && (__props.modelValue.start || __props.modelValue.end)) {
|
|
35
35
|
const dateOption = __props.hideShortcuts && !__props.double ? "short" : "long";
|
|
36
|
-
return `${__props.modelValue.start ?
|
|
37
|
-
|
|
36
|
+
return `${__props.modelValue.start ? r(
|
|
37
|
+
n(__props.modelValue.start, __props.locale, {
|
|
38
38
|
weekday: dateOption,
|
|
39
39
|
month: dateOption,
|
|
40
40
|
day: "numeric",
|
|
41
41
|
timeZone: __props.formatterOptions.timeZone
|
|
42
42
|
}) ?? __props.modelValue.start
|
|
43
|
-
) : "..."} - ${__props.modelValue.end ?
|
|
44
|
-
|
|
43
|
+
) : "..."} - ${__props.modelValue.end ? r(
|
|
44
|
+
n(__props.modelValue.end, __props.locale, {
|
|
45
45
|
weekday: dateOption,
|
|
46
46
|
month: dateOption,
|
|
47
47
|
day: "numeric",
|
|
@@ -49,16 +49,16 @@ import '../assets/MazPickerHeader.ZYCJY5bX.css';const _hoisted_1 = {
|
|
|
49
49
|
}) ?? __props.modelValue.end
|
|
50
50
|
) : "..."}`;
|
|
51
51
|
} else if (typeof __props.modelValue == "string") {
|
|
52
|
-
const formattedDate =
|
|
52
|
+
const formattedDate = n(__props.modelValue, __props.locale, {
|
|
53
53
|
weekday: "long",
|
|
54
54
|
month: "long",
|
|
55
55
|
day: "numeric",
|
|
56
56
|
timeZone: __props.formatterOptions.timeZone
|
|
57
57
|
});
|
|
58
|
-
return formattedDate ?
|
|
58
|
+
return formattedDate ? r(formattedDate) : void 0;
|
|
59
59
|
}
|
|
60
60
|
return "-";
|
|
61
|
-
}), dateStringArray = computed(() => __props.hasDate ? [dateString.value] : void 0), timeValue = computed(() => refDate.value ?
|
|
61
|
+
}), dateStringArray = computed(() => __props.hasDate ? [dateString.value] : void 0), timeValue = computed(() => refDate.value ? n(refDate.value, __props.locale, {
|
|
62
62
|
timeStyle: "short",
|
|
63
63
|
timeZone: __props.formatterOptions.timeZone,
|
|
64
64
|
hour12: __props.formatterOptions.hour12
|
|
@@ -120,7 +120,7 @@ import '../assets/MazPickerHeader.ZYCJY5bX.css';const _hoisted_1 = {
|
|
|
120
120
|
], 2)) : createCommentVNode("", !0)
|
|
121
121
|
], 2));
|
|
122
122
|
}
|
|
123
|
-
}), MazPickerHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
123
|
+
}), MazPickerHeader = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c4921fd7"]]);
|
|
124
124
|
export {
|
|
125
125
|
MazPickerHeader as default
|
|
126
126
|
};
|
package/dist/chunks/{MazPickerMonthSwitcher.BSD2GtY6.js → MazPickerMonthSwitcher.DzHOKbe4.js}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, createElementBlock, openBlock, createElementVNode, createVNode, withModifiers, withCtx, unref, normalizeClass, Fragment, renderList, createBlock, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { MazXMark } from "@maz-ui/icons";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { r } from "./capitalize.CVQ1jDrh.js";
|
|
4
|
+
import { n, i as isSameDate } from "./MazDatePicker.B1B6gUrC.js";
|
|
5
5
|
import dayjs from "dayjs";
|
|
6
6
|
import MazBtn from "../components/MazBtn.js";
|
|
7
7
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper.B--vMWp3.js";
|
|
8
|
-
import '../assets/MazPickerMonthSwitcher.
|
|
8
|
+
import '../assets/MazPickerMonthSwitcher.BJGGy53r.css';const _hoisted_1 = { class: "maz-picker-month-switcher" }, _hoisted_2 = { class: "maz-picker-month-switcher__header" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
9
|
__name: "MazPickerMonthSwitcher",
|
|
10
10
|
props: {
|
|
11
11
|
calendarDate: { type: String, required: !0 },
|
|
@@ -18,19 +18,19 @@ import '../assets/MazPickerMonthSwitcher.CszcpCcY.css';const _hoisted_1 = { clas
|
|
|
18
18
|
const props = __props, emits = __emit, months = computed(() => Array.from({ length: 12 }, (_v, i) => i).map((monthNumber) => {
|
|
19
19
|
const monthDate = dayjs(props.calendarDate).set("month", monthNumber);
|
|
20
20
|
return props.double ? {
|
|
21
|
-
label: `${
|
|
22
|
-
|
|
21
|
+
label: `${r(
|
|
22
|
+
n(monthDate.format(), props.locale, {
|
|
23
23
|
month: "short"
|
|
24
24
|
}) ?? monthDate.add(1, "month").format()
|
|
25
|
-
)} - ${
|
|
26
|
-
|
|
25
|
+
)} - ${r(
|
|
26
|
+
n(monthDate.add(1, "month").format(), props.locale, {
|
|
27
27
|
month: "short"
|
|
28
28
|
}) ?? monthDate.add(1, "month").format()
|
|
29
29
|
)}`,
|
|
30
30
|
date: monthDate
|
|
31
31
|
} : {
|
|
32
|
-
label:
|
|
33
|
-
|
|
32
|
+
label: r(
|
|
33
|
+
n(monthDate.format(), props.locale, {
|
|
34
34
|
month: "long"
|
|
35
35
|
}) ?? monthDate.format()
|
|
36
36
|
),
|
|
@@ -75,7 +75,7 @@ import '../assets/MazPickerMonthSwitcher.CszcpCcY.css';const _hoisted_1 = { clas
|
|
|
75
75
|
], 2)
|
|
76
76
|
]));
|
|
77
77
|
}
|
|
78
|
-
}), MazPickerMonthSwitcher = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
78
|
+
}), MazPickerMonthSwitcher = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-32e302a1"]]);
|
|
79
79
|
export {
|
|
80
80
|
MazPickerMonthSwitcher as default
|
|
81
81
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, onMounted, watch, nextTick, createElementBlock, openBlock, normalizeClass, Fragment, renderList, createElementVNode, normalizeStyle, createBlock, withModifiers, withCtx, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import dayjs from "dayjs";
|
|
3
3
|
import MazBtn from "../components/MazBtn.js";
|
|
4
|
-
import {
|
|
4
|
+
import { f as findNearestNumberInList, s as scrollToTarget } from "./MazDatePicker.B1B6gUrC.js";
|
|
5
5
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper.B--vMWp3.js";
|
|
6
6
|
import '../assets/MazPickerTime.yINUjbDZ.css';const _hoisted_1 = { class: "m-date-picker-time__column__items" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
7
7
|
__name: "MazPickerTime",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, createElementBlock, openBlock, createElementVNode, createVNode, withModifiers, withCtx, unref, Fragment, renderList, createBlock, normalizeClass, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { MazChevronLeft, MazXMark } from "@maz-ui/icons";
|
|
3
|
-
import {
|
|
3
|
+
import { n, i as isSameDate } from "./MazDatePicker.B1B6gUrC.js";
|
|
4
4
|
import dayjs from "dayjs";
|
|
5
5
|
import MazBtn from "../components/MazBtn.js";
|
|
6
6
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper.B--vMWp3.js";
|
|
7
|
-
import '../assets/MazPickerYearSwitcher.
|
|
7
|
+
import '../assets/MazPickerYearSwitcher.DPD1_dfz.css';const _hoisted_1 = { class: "maz-picker-year-switcher" }, _hoisted_2 = { class: "maz-picker-year-switcher__header" }, _hoisted_3 = { class: "maz-flex maz-space-x-2" }, _hoisted_4 = { class: "maz-picker-year-switcher__main" }, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
__name: "MazPickerYearSwitcher",
|
|
9
9
|
props: {
|
|
10
10
|
color: { type: String, required: !0 },
|
|
@@ -16,7 +16,7 @@ import '../assets/MazPickerYearSwitcher.Cn-nS-Vv.css';const _hoisted_1 = { class
|
|
|
16
16
|
const props = __props, emits = __emit, currentDateTmp = ref(props.calendarDate), years = computed(() => Array.from({ length: 15 }, (_v, i) => i - 7).map((yearNumber) => {
|
|
17
17
|
const currentYear = dayjs(currentDateTmp.value).get("year"), dateYear = dayjs(currentDateTmp.value).set("year", currentYear + yearNumber);
|
|
18
18
|
return {
|
|
19
|
-
label:
|
|
19
|
+
label: n(dateYear.format(), props.locale, {
|
|
20
20
|
year: "numeric"
|
|
21
21
|
}) ?? dateYear.format(),
|
|
22
22
|
date: dateYear
|
|
@@ -88,7 +88,7 @@ import '../assets/MazPickerYearSwitcher.Cn-nS-Vv.css';const _hoisted_1 = { class
|
|
|
88
88
|
])
|
|
89
89
|
]));
|
|
90
90
|
}
|
|
91
|
-
}), MazPickerYearSwitcher = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
91
|
+
}), MazPickerYearSwitcher = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-0e3063eb"]]);
|
|
92
92
|
export {
|
|
93
93
|
MazPickerYearSwitcher as default
|
|
94
94
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, createCommentVNode, mergeProps, renderSlot, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { useInstanceUniqId } from "../composables/useInstanceUniqId.js";
|
|
3
|
-
import '../assets/MazSwitch.
|
|
3
|
+
import '../assets/MazSwitch.LCcK91L7.css';const _hoisted_1 = ["for", "aria-checked"], _hoisted_2 = ["id", "name", "checked", "aria-label", "disabled"], _hoisted_3 = {
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "m-switch__text"
|
|
6
6
|
}, _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useCssVars, defineAsyncComponent, computed, toRefs, provide, ref, watch, useSlots, onBeforeMount, createElementBlock, openBlock, normalizeClass, createCommentVNode, createElementVNode, renderSlot, toDisplayString, createBlock, createVNode, unref, normalizeStyle, createTextVNode, withCtx, Fragment, renderList } from "vue";
|
|
2
2
|
import { MazMagnifyingGlass, MazArrowUp, MazChevronDoubleLeft, MazChevronLeft } from "@maz-ui/icons";
|
|
3
|
-
import {
|
|
3
|
+
import { useTranslations } from "@maz-ui/translations";
|
|
4
4
|
const _hoisted_1 = {
|
|
5
5
|
key: 0,
|
|
6
6
|
class: "m-table-header"
|
|
@@ -43,7 +43,7 @@ const _hoisted_1 = {
|
|
|
43
43
|
backgroundOdd: { type: Boolean },
|
|
44
44
|
backgroundEven: { type: Boolean },
|
|
45
45
|
elevation: { type: Boolean },
|
|
46
|
-
divider: { type: Boolean },
|
|
46
|
+
divider: { type: Boolean, default: !1 },
|
|
47
47
|
caption: {},
|
|
48
48
|
captionSide: { default: "bottom" },
|
|
49
49
|
pagination: { type: Boolean },
|
|
@@ -64,8 +64,8 @@ const _hoisted_1 = {
|
|
|
64
64
|
emits: ["update:model-value", "update:search-query", "update:page", "update:page-size"],
|
|
65
65
|
setup(__props, { emit: __emit }) {
|
|
66
66
|
useCssVars((_ctx) => ({
|
|
67
|
-
"
|
|
68
|
-
"
|
|
67
|
+
"6942423e": _ctx.tableLayout,
|
|
68
|
+
"52eed6a6": _ctx.captionSide
|
|
69
69
|
}));
|
|
70
70
|
const props = __props, emits = __emit, MazBtn = defineAsyncComponent(() => import("../components/MazBtn.js")), MazCheckbox = defineAsyncComponent(() => import("../components/MazCheckbox.js")), MazInput = defineAsyncComponent(() => import("../components/MazInput.js")), MazLoadingBar = defineAsyncComponent(() => import("../components/MazLoadingBar.js")), MazSelect = defineAsyncComponent(() => import("../components/MazSelect.js")), MazTableCell = defineAsyncComponent(() => import("../components/MazTableCell.js")), MazTableRowComponent = defineAsyncComponent(() => import("../components/MazTableRow.js")), MazTableTitle = defineAsyncComponent(() => import("../components/MazTableTitle.js")), { t } = useTranslations(), messages = computed(() => ({
|
|
71
71
|
noResults: props.translations?.noResults ?? t("table.noResults"),
|
|
@@ -278,7 +278,7 @@ const _hoisted_1 = {
|
|
|
278
278
|
])) : createCommentVNode("", !0),
|
|
279
279
|
headersNormalized.value ? (openBlock(), createElementBlock("thead", _hoisted_6, [
|
|
280
280
|
renderSlot(_ctx.$slots, "thead", {}, () => [
|
|
281
|
-
createVNode(unref(MazTableRowComponent), {
|
|
281
|
+
createVNode(unref(MazTableRowComponent), { "is-head": "" }, {
|
|
282
282
|
default: withCtx(() => [
|
|
283
283
|
isSelectable.value ? (openBlock(), createBlock(unref(MazTableTitle), {
|
|
284
284
|
key: 0,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, watch, createElementBlock, openBlock, normalizeClass, renderSlot } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { i } from "./debounce.DhXdop6X.js";
|
|
3
3
|
import { useInjectStrict } from "../composables/useInjectStrict.js";
|
|
4
4
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
5
|
__name: "MazTabsContent",
|
|
6
6
|
setup(__props) {
|
|
7
|
-
const hideOverflow = ref(!1), { currentTab } = useInjectStrict("maz-tabs"), allowOverFlow =
|
|
7
|
+
const hideOverflow = ref(!1), { currentTab } = useInjectStrict("maz-tabs"), allowOverFlow = i(() => {
|
|
8
8
|
hideOverflow.value = !1;
|
|
9
9
|
}, 700);
|
|
10
10
|
function setOverflowHiddenTemp() {
|