maz-ui 3.47.2-beta.2 → 3.47.2-beta.21
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/components/MazAccordion.d.ts +3 -2
- package/components/MazAccordion.mjs +90 -98
- package/components/MazAnimatedCounter.d.ts +16 -32
- package/components/MazAnimatedCounter.mjs +26 -26
- package/components/MazAvatar.d.ts +2 -1
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBackdrop.d.ts +23 -14
- package/components/MazBackdrop.mjs +107 -82
- package/components/MazBadge.d.ts +7 -2
- package/components/MazBadge.mjs +1 -1
- package/components/MazBottomSheet.d.ts +13 -25
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.d.ts +4 -3
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.d.ts +5 -4
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.d.ts +3 -2
- package/components/MazCardSpotlight.mjs +18 -22
- package/components/MazCarousel.d.ts +3 -2
- package/components/MazCarousel.mjs +1 -1
- package/components/MazCheckbox.d.ts +4 -3
- package/components/MazCheckbox.mjs +86 -83
- package/components/MazChecklist.d.ts +2 -5
- package/components/MazChecklist.mjs +1 -1
- package/components/MazCircularProgressBar.d.ts +31 -60
- package/components/MazCircularProgressBar.mjs +76 -74
- package/components/MazDialog.d.ts +24 -33
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.d.ts +3 -3
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.d.ts +9 -5
- package/components/MazDrawer.mjs +2 -194
- package/components/MazDropdown.d.ts +25 -3
- package/components/MazDropdown.mjs +2 -325
- package/components/MazDropzone.d.ts +1 -1
- package/components/MazExpandAnimation.d.ts +6 -5
- package/components/MazExpandAnimation.mjs +22 -25
- package/components/MazFullscreenLoader.d.ts +2 -1
- package/components/MazFullscreenLoader.mjs +7 -7
- package/components/MazGallery.d.ts +1 -1
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.mjs +14 -13
- package/components/MazInput.d.ts +18 -3
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.d.ts +1 -1
- package/components/MazInputCode.mjs +36 -39
- package/components/MazInputNumber.d.ts +2 -2
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.d.ts +4 -3
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.d.ts +2 -1
- package/components/MazLink.d.ts +2 -1
- package/components/MazLink.mjs +1 -1
- package/components/MazLoadingBar.d.ts +1 -1
- package/components/MazLoadingBar.mjs +31 -27
- package/components/MazPagination.d.ts +3 -2
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +31 -55
- package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +13 -24
- package/components/MazPhoneNumberInput/types.d.ts +4 -2
- package/{types/components/MazPhoneNumberInput/use-libphonenumber.d.ts → components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
- package/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
- package/components/MazPicker.d.ts +3 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.d.ts +4 -3
- package/components/MazRadio.d.ts +1 -1
- package/components/MazRadio.mjs +31 -37
- package/components/MazRadioButtons.d.ts +1 -1
- package/components/MazReadingProgressBar.d.ts +1 -1
- package/components/MazSelect.d.ts +2 -2
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider.d.ts +1 -1
- package/components/MazSpinner.d.ts +1 -1
- package/components/MazStepper.d.ts +3 -2
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.d.ts +2 -1
- package/components/MazSwitch.mjs +29 -33
- package/components/MazTable.d.ts +8 -2
- package/components/MazTable.mjs +3 -2
- package/components/MazTableCell.d.ts +3 -2
- package/components/MazTableCell.mjs +12 -12
- package/components/MazTableRow.d.ts +3 -2
- package/components/MazTableRow.mjs +16 -16
- package/components/MazTableTitle.d.ts +3 -2
- package/components/MazTableTitle.mjs +18 -18
- package/components/MazTabs.d.ts +3 -2
- package/components/MazTabsBar.d.ts +3 -2
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContent.d.ts +3 -2
- package/components/MazTabsContent.mjs +4 -4
- package/components/MazTabsContentItem.d.ts +2 -1
- package/components/MazTabsContentItem.mjs +11 -11
- package/components/MazTextarea.d.ts +58 -32
- package/components/MazTextarea.mjs +128 -109
- package/components/MazTransitionExpand.d.ts +2 -1
- package/components/MazTransitionExpand.mjs +9 -9
- package/components/assets/MazAccordion.css +1 -1
- package/components/assets/MazAnimatedCounter.css +1 -1
- package/components/assets/MazAvatar.css +1 -1
- package/components/assets/MazBackdrop.css +1 -1
- package/components/assets/MazBadge.css +1 -1
- package/components/assets/MazBottomSheet.css +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazCardSpotlight.css +1 -1
- package/components/assets/MazCheckbox.css +1 -1
- package/components/assets/MazChecklist.css +1 -1
- package/components/assets/MazCircularProgressBar.css +1 -1
- package/components/assets/MazDialog.css +1 -1
- package/components/assets/MazDialogPromise.css +1 -1
- package/components/assets/MazDrawer.css +1 -1
- package/components/assets/MazDropdown.css +1 -1
- package/components/assets/MazExpandAnimation.css +1 -1
- package/components/assets/MazGallery.css +1 -1
- package/components/assets/MazInput.css +1 -1
- package/components/assets/MazInputCode.css +1 -1
- package/components/assets/MazInputNumber.css +1 -1
- package/components/assets/MazInputPrice.css +1 -1
- package/components/assets/MazInputTags.css +1 -1
- package/components/assets/MazLoadingBar.css +1 -1
- package/components/assets/MazPagination.css +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazPicker.css +1 -1
- package/components/assets/MazRadio.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazStepper.css +1 -1
- package/components/assets/MazSwitch.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTableCell.css +1 -1
- package/components/assets/MazTableRow.css +1 -1
- package/components/assets/MazTableTitle.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/assets/MazTabsContentItem.css +1 -1
- package/components/assets/MazTextarea.css +1 -1
- package/components/assets/MazTransitionExpand.css +1 -1
- package/components/chunks/{MazAvatar-DFoZvWmg.mjs → MazAvatar-CZzOIbzh.mjs} +54 -54
- package/components/chunks/{MazBadge-CqppWg2j.mjs → MazBadge-DCzaExPj.mjs} +2 -2
- package/components/chunks/MazBottomSheet-DGsGO0zo.mjs +224 -0
- package/components/chunks/MazBtn-4-B-zs6Y.mjs +103 -0
- package/components/chunks/MazBtn-BS2kvd1Z.mjs +103 -0
- package/components/chunks/MazBtn-BVWOyFm-.mjs +103 -0
- package/components/chunks/MazBtn-C60T0UDa.mjs +103 -0
- package/components/chunks/MazBtn-C6zsmGnw.mjs +103 -0
- package/components/chunks/MazBtn-C7yEnuOD.mjs +103 -0
- package/components/chunks/MazBtn-CM-xSnA5.mjs +108 -0
- package/components/chunks/MazBtn-CsLtHm4K.mjs +103 -0
- package/components/chunks/MazBtn-D1jMqwE1.mjs +103 -0
- package/components/chunks/MazBtn-DAXwt847.mjs +103 -0
- package/components/chunks/MazBtn-DOWVQgpN.mjs +103 -0
- package/components/chunks/MazBtn-DZaVjTvW.mjs +103 -0
- package/components/chunks/MazBtn-ZAcYNusG.mjs +103 -0
- package/components/chunks/MazBtn-oZhhJy09.mjs +103 -0
- package/components/chunks/{MazCard-BYB8y1_u.mjs → MazCard-98OuVlyK.mjs} +1 -1
- package/components/chunks/{MazCarousel-DccWVW8H.mjs → MazCarousel-COTaKhKF.mjs} +1 -1
- package/components/chunks/{MazCheckbox-DMogZVHl.mjs → MazCheckbox-BNvSeNBP.mjs} +63 -59
- package/components/chunks/{MazCheckbox-B22OcHt8.mjs → MazCheckbox-CCma_qyQ.mjs} +63 -59
- package/components/chunks/{MazCheckbox-Db6sPUbV.mjs → MazCheckbox-eOEEACaM.mjs} +64 -60
- package/components/chunks/{MazChecklist-C95Y4Hb-.mjs → MazChecklist-Bb_70sf5.mjs} +110 -111
- package/components/chunks/MazDialog-Ca3jJ12T.mjs +297 -0
- package/components/chunks/MazDialogPromise-DOnmLhui.mjs +551 -0
- package/components/chunks/MazDrawer-Bas9dy0D.mjs +226 -0
- package/components/chunks/MazDropdown-0r445NfW.mjs +426 -0
- package/components/chunks/MazExpandAnimation-Bdf0-L85.mjs +54 -0
- package/components/chunks/{MazGallery-VTZUhBKC.mjs → MazGallery-r8SBTCgJ.mjs} +42 -45
- package/components/chunks/{MazGallery-CXQiXWFr.mjs → MazGallery-xPp1apvO.mjs} +94 -97
- package/components/chunks/MazIcon-BoTByt7n.mjs +4 -0
- package/components/chunks/{MazIcon-DjMuw8Bz.mjs → MazIcon-C-aPrqx2.mjs} +4 -3
- package/components/chunks/{MazIcon-BbvBov5G.mjs → MazIcon-_hN-Kivn.mjs} +14 -13
- package/components/chunks/{MazIcon-BF5TFzse.mjs → MazIcon-kLACGOa2.mjs} +4 -3
- package/components/chunks/MazInput-BM4n-byz.mjs +313 -0
- package/components/chunks/MazInput-BcutbP8N.mjs +314 -0
- package/components/chunks/MazInput-C9Qh4Gt3.mjs +324 -0
- package/components/chunks/MazInputNumber-DgjOMiOt.mjs +600 -0
- package/components/chunks/{MazInputPrice-DoTnDDIN.mjs → MazInputPrice-D6fJN9yv.mjs} +200 -169
- package/components/chunks/{MazInputTags-Dj3sW-e5.mjs → MazInputTags-DthGSyHQ.mjs} +251 -223
- package/components/chunks/{MazLazyImg-C03sUOXs.mjs → MazLazyImg-DQLwaKKz.mjs} +2 -2
- package/components/chunks/{MazLink-C_3Wya94.mjs → MazLink-tud3eDgU.mjs} +1 -1
- package/components/chunks/MazLoadingBar-C2qPjfEQ.mjs +36 -0
- package/components/chunks/MazPagination-BSu0Ifkp.mjs +327 -0
- package/components/chunks/MazPhoneNumberInput-BQjByOtQ.mjs +1813 -0
- package/components/chunks/MazPicker-BljfUneI.mjs +2486 -0
- package/components/chunks/{MazPickerMonthSwitcher-CmFFQoPA.mjs → MazPickerMonthSwitcher-CEVb4BXw.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-DaELz7aq.mjs → MazPickerShortcuts-DayGMC9m.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-m1_KXnpA.mjs → MazPickerYearSwitcher-DC1lFIbp.mjs} +1 -1
- package/components/chunks/MazSelect-CH3JdigO.mjs +867 -0
- package/components/chunks/MazSelect-D3KXcHJS.mjs +550 -0
- package/components/chunks/MazSpinner-B5JChIrj.mjs +34 -0
- package/components/chunks/{MazSpinner-DoRGA1RI.mjs → MazSpinner-BBZoDxwq.mjs} +1 -1
- package/components/chunks/{MazSpinner-BpkPcfCt.mjs → MazSpinner-BIPm54-3.mjs} +1 -1
- package/components/chunks/{MazSpinner-edxn0ncQ.mjs → MazSpinner-BlbTztM3.mjs} +1 -1
- package/components/chunks/MazSpinner-C-ln9ldX.mjs +34 -0
- package/components/chunks/MazSpinner-C11EOZZd.mjs +34 -0
- package/components/chunks/{MazSpinner-BsYJDmi9.mjs → MazSpinner-C6h03sqc.mjs} +1 -1
- package/components/chunks/{MazSpinner-Bb3f2t6w.mjs → MazSpinner-CCc9ajpj.mjs} +1 -1
- package/components/chunks/{MazSpinner-BcB0szZB.mjs → MazSpinner-CgKOIkQQ.mjs} +1 -1
- package/components/chunks/{MazSpinner-DmiLBQgR.mjs → MazSpinner-Cp_nPioh.mjs} +1 -1
- package/components/chunks/{MazSpinner-CfiIXW8y.mjs → MazSpinner-CwdlrYSt.mjs} +1 -1
- package/components/chunks/MazSpinner-D5Sbo759.mjs +34 -0
- package/components/chunks/MazSpinner-DPur0-r-.mjs +34 -0
- package/components/chunks/MazSpinner-DjUU4G1h.mjs +34 -0
- package/components/chunks/MazSpinner-DoPIk0St.mjs +34 -0
- package/components/chunks/{MazSpinner-C-64WJje.mjs → MazSpinner-DqD51Fb6.mjs} +1 -1
- package/components/chunks/MazSpinner-QfPXLpa_.mjs +34 -0
- package/components/chunks/MazSpinner-ZFhNCy24.mjs +34 -0
- package/components/chunks/MazSpinner-b90e3OQK.mjs +34 -0
- package/components/chunks/MazStepper-B3fuhbye.mjs +218 -0
- package/components/chunks/{MazTable-BJDPdIJB.mjs → MazTable-BU3Hluiu.mjs} +85 -81
- package/components/chunks/MazTableCell-DKMZAanm.mjs +23 -0
- package/components/chunks/MazTableRow-CDHpmXfw.mjs +30 -0
- package/components/chunks/{MazTableTitle-Ch-nyY1E.mjs → MazTableTitle-BSFZ84Ob.mjs} +4 -4
- package/components/chunks/{MazTabsBar-CM-w7V97.mjs → MazTabsBar--Xq_cpuz.mjs} +62 -78
- package/components/chunks/{MazTransitionExpand-PmUDa51_.mjs → MazTransitionExpand-Cedz9Ree.mjs} +8 -8
- package/components/chunks/examples.mobile.json-tW3aL0qI.mjs +4 -0
- package/components/chunks/{inject-strict-BmiaNiwC.mjs → inject-strict-DEDSuzCz.mjs} +3 -3
- package/components/chunks/useInstanceUniqId-BkOfxhk8.mjs +10 -0
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/MazBtn-CFge_w1W.cjs +1 -0
- package/modules/chunks/MazBtn-yNCoLFA6.mjs +103 -0
- package/modules/chunks/{MazIcon-DEgoQbMj.mjs → MazIcon-C3__MBEL.mjs} +4 -3
- package/modules/chunks/{MazIcon-CkuzyufF.cjs → MazIcon-CqhvM2xp.cjs} +1 -1
- package/modules/chunks/{MazSpinner-BurN-1pb.mjs → MazSpinner-C4XtaFJk.mjs} +1 -1
- package/modules/chunks/{MazSpinner-jP4QsCNE.cjs → MazSpinner-DkJAN36F.cjs} +1 -1
- package/modules/chunks/index-Bawg2UGE.cjs +124 -0
- package/modules/chunks/{index-CxFUggmu.mjs → index-CXu9R01-.mjs} +1207 -962
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +47 -46
- package/nuxt/index.json +1 -1
- package/package.json +23 -22
- package/tailwindcss/variables/colors.ts +2 -0
- package/types/components/MazAccordion.vue.d.ts +3 -2
- package/types/components/MazAnimatedCounter.vue.d.ts +16 -32
- package/types/components/MazAvatar.vue.d.ts +2 -1
- package/types/components/MazBackdrop.vue.d.ts +23 -14
- package/types/components/MazBadge.vue.d.ts +7 -2
- package/types/components/MazBottomSheet.vue.d.ts +13 -25
- package/types/components/MazBtn.vue.d.ts +4 -3
- package/types/components/MazCard.vue.d.ts +5 -4
- package/types/components/MazCardSpotlight.vue.d.ts +3 -2
- package/types/components/MazCarousel.vue.d.ts +3 -2
- package/types/components/MazCheckbox.vue.d.ts +4 -3
- package/types/components/MazChecklist.vue.d.ts +2 -5
- package/types/components/MazCircularProgressBar.vue.d.ts +31 -60
- package/types/components/MazDialog.vue.d.ts +24 -33
- package/types/components/MazDialogPromise.vue.d.ts +3 -3
- package/types/components/MazDrawer.vue.d.ts +9 -5
- package/types/components/MazDropdown.vue.d.ts +25 -3
- package/types/components/MazDropzone.vue.d.ts +1 -1
- package/types/components/MazExpandAnimation.vue.d.ts +6 -5
- package/types/components/MazFullscreenLoader.vue.d.ts +2 -1
- package/types/components/MazGallery.vue.d.ts +1 -1
- package/types/components/MazInput.vue.d.ts +18 -3
- package/types/components/MazInputCode.vue.d.ts +1 -1
- package/types/components/MazInputNumber.vue.d.ts +2 -2
- package/types/components/MazInputPrice.vue.d.ts +4 -3
- package/types/components/MazLazyImg.vue.d.ts +2 -1
- package/types/components/MazLink.vue.d.ts +2 -1
- package/types/components/MazLoadingBar.vue.d.ts +1 -1
- package/types/components/MazPagination.vue.d.ts +3 -2
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +31 -55
- package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +13 -24
- package/types/components/MazPhoneNumberInput/types.d.ts +4 -2
- package/{components/MazPhoneNumberInput/use-libphonenumber.d.ts → types/components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
- package/types/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
- package/types/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
- package/types/components/MazPicker.vue.d.ts +3 -1
- package/types/components/MazPullToRefresh.vue.d.ts +4 -3
- package/types/components/MazRadio.vue.d.ts +1 -1
- package/types/components/MazRadioButtons.vue.d.ts +1 -1
- package/types/components/MazReadingProgressBar.vue.d.ts +1 -1
- package/types/components/MazSelect.vue.d.ts +2 -2
- package/types/components/MazSlider.vue.d.ts +1 -1
- package/types/components/MazSpinner.vue.d.ts +1 -1
- package/types/components/MazStepper.vue.d.ts +3 -2
- package/types/components/MazSwitch.vue.d.ts +2 -1
- package/types/components/MazTable.vue.d.ts +8 -2
- package/types/components/MazTableCell.vue.d.ts +3 -2
- package/types/components/MazTableRow.vue.d.ts +3 -2
- package/types/components/MazTableTitle.vue.d.ts +3 -2
- package/types/components/MazTabs.vue.d.ts +3 -2
- package/types/components/MazTabsBar.vue.d.ts +3 -2
- package/types/components/MazTabsContent.vue.d.ts +3 -2
- package/types/components/MazTabsContentItem.vue.d.ts +2 -1
- package/types/components/MazTextarea.vue.d.ts +58 -32
- package/types/components/MazTransitionExpand.vue.d.ts +2 -1
- package/types/modules/composables/useFormValidator/types.d.ts +8 -8
- package/types/modules/composables/useFormValidator/useFormField.d.ts +2 -2
- package/types/modules/composables/useFormValidator/useFormValidator.d.ts +3 -3
- package/types/modules/composables/useFormValidator/utils.d.ts +5 -5
- package/types/modules/composables/useLanguageDisplayNames.d.ts +13 -12
- package/types/modules/directives/closable.d.ts +1 -1
- package/types/modules/directives/tooltip/index.d.ts +21 -0
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
- package/types/modules/helpers/inject-strict.d.ts +2 -1
- package/types/tailwindcss/variables/colors.d.ts +2 -0
- package/components/MazPhoneNumberInput.d.ts +0 -239
- package/components/chunks/MazBottomSheet-CGRvZmGd.mjs +0 -208
- package/components/chunks/MazBtn-2VKM1wZu.mjs +0 -106
- package/components/chunks/MazBtn-40lm8-AL.mjs +0 -106
- package/components/chunks/MazBtn-BB1FyYWv.mjs +0 -114
- package/components/chunks/MazBtn-BMYXMZuX.mjs +0 -106
- package/components/chunks/MazBtn-BijEMn4r.mjs +0 -106
- package/components/chunks/MazBtn-BmrcK2af.mjs +0 -106
- package/components/chunks/MazBtn-C72_1uvu.mjs +0 -106
- package/components/chunks/MazBtn-CWloP6MI.mjs +0 -111
- package/components/chunks/MazBtn-CcyV4DCc.mjs +0 -106
- package/components/chunks/MazBtn-DENEMy-c.mjs +0 -106
- package/components/chunks/MazBtn-DfqRZvbB.mjs +0 -106
- package/components/chunks/MazBtn-UnZQuu6P.mjs +0 -106
- package/components/chunks/MazBtn-cDJlUVVY.mjs +0 -106
- package/components/chunks/MazBtn-hUslV7wO.mjs +0 -106
- package/components/chunks/MazDialog-khofH-7I.mjs +0 -237
- package/components/chunks/MazDialogPromise-ZRA2ZrO4.mjs +0 -488
- package/components/chunks/MazExpandAnimation-MDimlZGj.mjs +0 -57
- package/components/chunks/MazInput-DC3S-CVu.mjs +0 -282
- package/components/chunks/MazInput-DzWkS-g8.mjs +0 -293
- package/components/chunks/MazInput-NE6H-10w.mjs +0 -281
- package/components/chunks/MazInputNumber-DRXQXHRv.mjs +0 -572
- package/components/chunks/MazLoadingBar-DdjHRC7g.mjs +0 -32
- package/components/chunks/MazPagination-BkT4_LLW.mjs +0 -330
- package/components/chunks/MazPhoneNumberInput-BbssOUzo.mjs +0 -1778
- package/components/chunks/MazPicker-DwWiIYAR.mjs +0 -2456
- package/components/chunks/MazSelect-BJ07NVXQ.mjs +0 -843
- package/components/chunks/MazSelect-CDV9Fx6m.mjs +0 -556
- package/components/chunks/MazSpinner-BymqEMBk.mjs +0 -34
- package/components/chunks/MazSpinner-CEFbkZkM.mjs +0 -34
- package/components/chunks/MazSpinner-CsEQ9EXb.mjs +0 -34
- package/components/chunks/MazSpinner-CykRbNHD.mjs +0 -34
- package/components/chunks/MazSpinner-D3-pqOh3.mjs +0 -34
- package/components/chunks/MazSpinner-DS58mtzm.mjs +0 -34
- package/components/chunks/MazSpinner-Dmkr_r9u.mjs +0 -34
- package/components/chunks/MazSpinner-eC03bFP5.mjs +0 -34
- package/components/chunks/MazSpinner-f2Mc2eRO.mjs +0 -34
- package/components/chunks/MazSpinner-n4Dp5ZsH.mjs +0 -34
- package/components/chunks/MazStepper-BREfkpUb.mjs +0 -213
- package/components/chunks/MazTableCell-DILuUCTe.mjs +0 -23
- package/components/chunks/MazTableRow-D6H6-c8J.mjs +0 -30
- package/components/chunks/examples.mobile.json-JpNGylGv.mjs +0 -4
- package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +0 -11
- package/modules/chunks/MazBtn-B_Xlvgbg.cjs +0 -1
- package/modules/chunks/MazBtn-Dsr06Zgg.mjs +0 -106
- package/modules/chunks/index-CUNN0eIB.cjs +0 -124
- package/types/components/MazPhoneNumberInput.vue.d.ts +0 -239
|
@@ -102,9 +102,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
102
102
|
}>, {
|
|
103
103
|
size: string;
|
|
104
104
|
color: Color;
|
|
105
|
+
labels: unknown[];
|
|
105
106
|
max: number;
|
|
106
107
|
min: number;
|
|
107
|
-
labels: unknown[];
|
|
108
108
|
noDivider: boolean;
|
|
109
109
|
log: boolean;
|
|
110
110
|
noCursorAnim: boolean;
|
|
@@ -12,5 +12,5 @@ export interface MazSpinnerProps {
|
|
|
12
12
|
*/
|
|
13
13
|
color?: Color;
|
|
14
14
|
}
|
|
15
|
-
declare const _default: import("vue").DefineComponent<MazSpinnerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MazSpinnerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
15
|
+
declare const _default: import("vue").DefineComponent<MazSpinnerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MazSpinnerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
16
16
|
export default _default;
|
|
@@ -35,6 +35,7 @@ export interface Props {
|
|
|
35
35
|
canCloseSteps?: boolean;
|
|
36
36
|
}
|
|
37
37
|
declare function __VLS_template(): {
|
|
38
|
+
attrs: Partial<{}>;
|
|
38
39
|
slots: Partial<Record<`icon-${number}`, (_: {}) => any>> & Partial<Record<`title-${number}`, (_: {}) => any>> & Partial<Record<`subtitle-${number}`, (_: {}) => any>> & Partial<Record<`title-info-${number}`, (_: {}) => any>> & Partial<Record<`content-${number}`, (_: {
|
|
39
40
|
validated: boolean;
|
|
40
41
|
error: boolean | undefined;
|
|
@@ -43,7 +44,7 @@ declare function __VLS_template(): {
|
|
|
43
44
|
previousStep: () => void;
|
|
44
45
|
}) => any>>;
|
|
45
46
|
refs: {};
|
|
46
|
-
|
|
47
|
+
rootEl: HTMLDivElement;
|
|
47
48
|
};
|
|
48
49
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
49
50
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -54,7 +55,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
54
55
|
color: Color;
|
|
55
56
|
modelValue: number;
|
|
56
57
|
steps: Steps;
|
|
57
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
58
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
58
59
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
59
60
|
export default _default;
|
|
60
61
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -28,6 +28,7 @@ export interface Props {
|
|
|
28
28
|
hint?: string;
|
|
29
29
|
}
|
|
30
30
|
declare function __VLS_template(): {
|
|
31
|
+
attrs: Partial<{}>;
|
|
31
32
|
slots: {
|
|
32
33
|
default?(_: {
|
|
33
34
|
value: boolean;
|
|
@@ -36,7 +37,7 @@ declare function __VLS_template(): {
|
|
|
36
37
|
refs: {
|
|
37
38
|
inputRef: HTMLInputElement;
|
|
38
39
|
};
|
|
39
|
-
|
|
40
|
+
rootEl: any;
|
|
40
41
|
};
|
|
41
42
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
42
43
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
package/components/MazSwitch.mjs
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './assets/MazSwitch.css';function
|
|
1
|
+
import { computed as b, useId as k, defineComponent as V, ref as B, openBlock as r, createElementBlock as i, unref as c, normalizeClass as m, normalizeStyle as z, createElementVNode as f, mergeProps as C, renderSlot as E, createTextVNode as S, toDisplayString as p, createCommentVNode as h } from "vue";
|
|
2
|
+
import './assets/MazSwitch.css';function $({
|
|
3
3
|
componentName: n,
|
|
4
|
-
providedId:
|
|
4
|
+
providedId: t
|
|
5
5
|
}) {
|
|
6
|
-
|
|
7
|
-
return b(() => s ?? `${n}-${a}`);
|
|
6
|
+
return b(() => t ?? `${n}-${k().replace(/:/g, "")}`);
|
|
8
7
|
}
|
|
9
|
-
const
|
|
8
|
+
const I = ["for", "aria-checked"], N = ["id", "name", "checked", "aria-label", "disabled"], D = {
|
|
10
9
|
key: 0,
|
|
11
10
|
class: "m-switch__text"
|
|
12
|
-
},
|
|
11
|
+
}, R = /* @__PURE__ */ V({
|
|
13
12
|
inheritAttrs: !1,
|
|
14
13
|
__name: "MazSwitch",
|
|
15
14
|
props: {
|
|
@@ -27,43 +26,40 @@ const N = ["for", "aria-checked"], D = ["id", "name", "checked", "aria-label", "
|
|
|
27
26
|
hint: {}
|
|
28
27
|
},
|
|
29
28
|
emits: ["update:model-value", "change", "blur", "focus"],
|
|
30
|
-
setup(n, { emit:
|
|
31
|
-
|
|
32
|
-
"5d846531": v.value
|
|
33
|
-
}));
|
|
34
|
-
const a = n, o = s, d = I({
|
|
29
|
+
setup(n, { emit: t }) {
|
|
30
|
+
const l = n, o = t, d = $({
|
|
35
31
|
componentName: "MazSwitch",
|
|
36
|
-
providedId:
|
|
37
|
-
}), v = b(() =>
|
|
32
|
+
providedId: l.id
|
|
33
|
+
}), v = b(() => l.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${l.color}-alpha)`);
|
|
38
34
|
function u() {
|
|
39
|
-
o("update:model-value", !
|
|
35
|
+
o("update:model-value", !l.modelValue), o("change", !l.modelValue);
|
|
40
36
|
}
|
|
41
|
-
const
|
|
37
|
+
const s = B();
|
|
42
38
|
function y(e) {
|
|
43
39
|
["Space"].includes(e.code) && (e.preventDefault(), u());
|
|
44
40
|
}
|
|
45
41
|
function w(e) {
|
|
46
|
-
var
|
|
47
|
-
(
|
|
42
|
+
var a;
|
|
43
|
+
(a = s.value) == null || a.dispatchEvent(new Event("blur")), o("blur", e);
|
|
48
44
|
}
|
|
49
45
|
function g(e) {
|
|
50
|
-
var
|
|
51
|
-
(
|
|
46
|
+
var a;
|
|
47
|
+
(a = s.value) == null || a.dispatchEvent(new Event("focus")), o("focus", e);
|
|
52
48
|
}
|
|
53
|
-
return (e,
|
|
49
|
+
return (e, a) => (r(), i("label", {
|
|
54
50
|
for: c(d),
|
|
55
|
-
class: m(["m-switch", [{ "--is-disabled": e.disabled },
|
|
51
|
+
class: m(["m-switch", [{ "--is-disabled": e.disabled }, l.class]]),
|
|
56
52
|
role: "switch",
|
|
57
|
-
style: z(e.style),
|
|
53
|
+
style: z([e.style, { "--switch-color": v.value }]),
|
|
58
54
|
"aria-checked": e.modelValue,
|
|
59
55
|
tabindex: "0",
|
|
60
56
|
onBlur: w,
|
|
61
57
|
onFocus: g,
|
|
62
58
|
onKeydown: y
|
|
63
59
|
}, [
|
|
64
|
-
f("input",
|
|
60
|
+
f("input", C({ id: c(d) }, e.$attrs, {
|
|
65
61
|
ref_key: "inputRef",
|
|
66
|
-
ref:
|
|
62
|
+
ref: s,
|
|
67
63
|
type: "checkbox",
|
|
68
64
|
name: e.name,
|
|
69
65
|
tabindex: "-1",
|
|
@@ -72,23 +68,23 @@ const N = ["for", "aria-checked"], D = ["id", "name", "checked", "aria-label", "
|
|
|
72
68
|
disabled: e.disabled,
|
|
73
69
|
class: "m-switch__input",
|
|
74
70
|
onChange: u
|
|
75
|
-
}), null, 16,
|
|
76
|
-
|
|
71
|
+
}), null, 16, N),
|
|
72
|
+
a[0] || (a[0] = f(
|
|
77
73
|
"span",
|
|
78
74
|
{ class: "m-switch__toggle" },
|
|
79
75
|
null,
|
|
80
76
|
-1
|
|
81
77
|
/* HOISTED */
|
|
82
78
|
)),
|
|
83
|
-
e.$slots.default || e.label || e.hint ? (
|
|
84
|
-
|
|
85
|
-
|
|
79
|
+
e.$slots.default || e.label || e.hint ? (r(), i("span", D, [
|
|
80
|
+
E(e.$slots, "default", { value: e.modelValue }, () => [
|
|
81
|
+
S(
|
|
86
82
|
p(e.label),
|
|
87
83
|
1
|
|
88
84
|
/* TEXT */
|
|
89
85
|
)
|
|
90
86
|
]),
|
|
91
|
-
e.hint ? (
|
|
87
|
+
e.hint ? (r(), i(
|
|
92
88
|
"span",
|
|
93
89
|
{
|
|
94
90
|
key: 0,
|
|
@@ -103,9 +99,9 @@ const N = ["for", "aria-checked"], D = ["id", "name", "checked", "aria-label", "
|
|
|
103
99
|
/* TEXT, CLASS */
|
|
104
100
|
)) : h("v-if", !0)
|
|
105
101
|
])) : h("v-if", !0)
|
|
106
|
-
], 46,
|
|
102
|
+
], 46, I));
|
|
107
103
|
}
|
|
108
104
|
});
|
|
109
105
|
export {
|
|
110
|
-
|
|
106
|
+
R as default
|
|
111
107
|
};
|
package/components/MazTable.d.ts
CHANGED
|
@@ -125,11 +125,16 @@ export interface MazTableProps<T extends Row<T>> {
|
|
|
125
125
|
*/
|
|
126
126
|
translations?: Translations;
|
|
127
127
|
/**
|
|
128
|
-
* Size of the
|
|
128
|
+
* Size radius of the component's border
|
|
129
129
|
* @values `'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full'`
|
|
130
130
|
* @default 'lg'
|
|
131
131
|
*/
|
|
132
132
|
roundedSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
133
|
+
/**
|
|
134
|
+
* Enable scrollable on table
|
|
135
|
+
* @default `false`
|
|
136
|
+
*/
|
|
137
|
+
scrollable?: boolean;
|
|
133
138
|
}
|
|
134
139
|
export interface MazTableProvide {
|
|
135
140
|
size: Ref<Size>;
|
|
@@ -137,13 +142,14 @@ export interface MazTableProvide {
|
|
|
137
142
|
backgroundEven: Ref<boolean>;
|
|
138
143
|
backgroundOdd: Ref<boolean>;
|
|
139
144
|
}
|
|
145
|
+
export declare const mazTableKey = "maz-table";
|
|
140
146
|
declare const _default: <T extends Row<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<{
|
|
141
147
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
142
148
|
readonly "onUpdate:model-value"?: ((value: (string | number | boolean | Row<T>)[] | undefined) => any) | undefined;
|
|
143
149
|
readonly "onUpdate:search-query"?: ((searchQuery: string | undefined) => any) | undefined;
|
|
144
150
|
readonly "onUpdate:page"?: ((page: number) => any) | undefined;
|
|
145
151
|
readonly "onUpdate:page-size"?: ((pageSize: number) => any) | undefined;
|
|
146
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value" | "onUpdate:search-query" | "onUpdate:page" | "onUpdate:page-size"> & MazTableProps<T>> & import("vue").PublicProps;
|
|
152
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value" | "onUpdate:search-query" | "onUpdate:page" | "onUpdate:page-size"> & Partial<{}> & MazTableProps<T>> & import("vue").PublicProps;
|
|
147
153
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
148
154
|
attrs: any;
|
|
149
155
|
slots: Partial<Record<`header-label-${string}`, (_: {
|
package/components/MazTable.mjs
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
2
3
|
slots: {
|
|
3
4
|
default?(_: {}): any;
|
|
4
5
|
};
|
|
5
6
|
refs: {};
|
|
6
|
-
|
|
7
|
+
rootEl: HTMLTableCellElement;
|
|
7
8
|
};
|
|
8
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
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>;
|
|
10
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
12
|
export default _default;
|
|
12
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,18 +1,23 @@
|
|
|
1
1
|
import { inject as c, defineComponent as l, openBlock as a, createElementBlock as s, normalizeClass as i, unref as _, renderSlot as u } from "vue";
|
|
2
|
-
import './assets/MazTableCell.css';function
|
|
2
|
+
import './assets/MazTableCell.css';function m(t, o) {
|
|
3
3
|
const e = c(t, o);
|
|
4
4
|
if (!e)
|
|
5
|
-
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${t}`);
|
|
5
|
+
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${t.toString()}`);
|
|
6
6
|
return e;
|
|
7
7
|
}
|
|
8
|
-
const d =
|
|
8
|
+
const p = "maz-table", d = (t, o) => {
|
|
9
|
+
const e = t.__vccOpts || t;
|
|
10
|
+
for (const [n, r] of o)
|
|
11
|
+
e[n] = r;
|
|
12
|
+
return e;
|
|
13
|
+
}, f = /* @__PURE__ */ l({
|
|
9
14
|
__name: "MazTableCell",
|
|
10
15
|
setup(t) {
|
|
11
|
-
const { size: o } = p
|
|
12
|
-
return (e,
|
|
16
|
+
const { size: o } = m(p);
|
|
17
|
+
return (e, n) => (a(), s(
|
|
13
18
|
"td",
|
|
14
19
|
{
|
|
15
|
-
class: i(["m-table-cell", `--${_(o)}`])
|
|
20
|
+
class: i(["m-table-cell", [`--${_(o)}`]])
|
|
16
21
|
},
|
|
17
22
|
[
|
|
18
23
|
u(e.$slots, "default", {}, void 0, !0)
|
|
@@ -21,12 +26,7 @@ const d = /* @__PURE__ */ l({
|
|
|
21
26
|
/* CLASS */
|
|
22
27
|
));
|
|
23
28
|
}
|
|
24
|
-
}),
|
|
25
|
-
const e = t.__vccOpts || t;
|
|
26
|
-
for (const [r, n] of o)
|
|
27
|
-
e[r] = n;
|
|
28
|
-
return e;
|
|
29
|
-
}, v = /* @__PURE__ */ f(d, [["__scopeId", "data-v-15457736"]]);
|
|
29
|
+
}), v = /* @__PURE__ */ d(f, [["__scopeId", "data-v-ce80193e"]]);
|
|
30
30
|
export {
|
|
31
31
|
v as default
|
|
32
32
|
};
|
|
@@ -3,14 +3,15 @@ export interface Props {
|
|
|
3
3
|
noHoverable?: boolean;
|
|
4
4
|
}
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {}): any;
|
|
8
9
|
};
|
|
9
10
|
refs: {};
|
|
10
|
-
|
|
11
|
+
rootEl: HTMLTableRowElement;
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLTableRowElement>;
|
|
14
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
16
|
export default _default;
|
|
16
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { inject as c, defineComponent as l, openBlock as s, createElementBlock as d, normalizeClass as u, unref as a, renderSlot as
|
|
2
|
-
import './assets/MazTableRow.css';function p(o,
|
|
3
|
-
const e = c(o,
|
|
1
|
+
import { inject as c, defineComponent as l, openBlock as s, createElementBlock as d, normalizeClass as u, unref as a, renderSlot as i } from "vue";
|
|
2
|
+
import './assets/MazTableRow.css';function p(o, t) {
|
|
3
|
+
const e = c(o, t);
|
|
4
4
|
if (!e)
|
|
5
|
-
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${o}`);
|
|
5
|
+
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${o.toString()}`);
|
|
6
6
|
return e;
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const b = "maz-table", v = (o, t) => {
|
|
9
|
+
const e = o.__vccOpts || o;
|
|
10
|
+
for (const [n, r] of t)
|
|
11
|
+
e[n] = r;
|
|
12
|
+
return e;
|
|
13
|
+
}, _ = /* @__PURE__ */ l({
|
|
9
14
|
__name: "MazTableRow",
|
|
10
15
|
props: {
|
|
11
16
|
noHoverable: { type: Boolean }
|
|
12
17
|
},
|
|
13
18
|
setup(o) {
|
|
14
|
-
const { hoverable:
|
|
15
|
-
return (
|
|
19
|
+
const { hoverable: t, backgroundEven: e, backgroundOdd: n } = p(b);
|
|
20
|
+
return (r, f) => (s(), d(
|
|
16
21
|
"tr",
|
|
17
22
|
{
|
|
18
23
|
class: u(["m-table-row", {
|
|
19
|
-
"--hoverable": a(
|
|
24
|
+
"--hoverable": a(t) && !r.noHoverable,
|
|
20
25
|
"--background-odd": a(n),
|
|
21
26
|
"--background-even": a(e)
|
|
22
27
|
}])
|
|
23
28
|
},
|
|
24
29
|
[
|
|
25
|
-
|
|
30
|
+
i(r.$slots, "default", {}, void 0, !0)
|
|
26
31
|
],
|
|
27
32
|
2
|
|
28
33
|
/* CLASS */
|
|
29
34
|
));
|
|
30
35
|
}
|
|
31
|
-
}),
|
|
32
|
-
const e = o.__vccOpts || o;
|
|
33
|
-
for (const [n, t] of r)
|
|
34
|
-
e[n] = t;
|
|
35
|
-
return e;
|
|
36
|
-
}, m = /* @__PURE__ */ v(i, [["__scopeId", "data-v-aabc42eb"]]);
|
|
36
|
+
}), g = /* @__PURE__ */ v(_, [["__scopeId", "data-v-feae05a9"]]);
|
|
37
37
|
export {
|
|
38
|
-
|
|
38
|
+
g as default
|
|
39
39
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
2
3
|
slots: {
|
|
3
4
|
default?(_: {}): any;
|
|
4
5
|
};
|
|
5
6
|
refs: {};
|
|
6
|
-
|
|
7
|
+
rootEl: HTMLTableCellElement;
|
|
7
8
|
};
|
|
8
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
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>;
|
|
10
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
12
|
export default _default;
|
|
12
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { inject as
|
|
2
|
-
import './assets/MazTableTitle.css';function
|
|
3
|
-
const
|
|
4
|
-
if (!
|
|
5
|
-
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${
|
|
6
|
-
return
|
|
1
|
+
import { inject as a, defineComponent as c, openBlock as s, createElementBlock as l, normalizeClass as i, unref as _, renderSlot as u } from "vue";
|
|
2
|
+
import './assets/MazTableTitle.css';function p(e, o) {
|
|
3
|
+
const t = a(e, o);
|
|
4
|
+
if (!t)
|
|
5
|
+
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${e.toString()}`);
|
|
6
|
+
return t;
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const f = /* @__PURE__ */ c({
|
|
9
9
|
__name: "MazTableTitle",
|
|
10
|
-
setup(
|
|
11
|
-
const { size: o } =
|
|
12
|
-
return (
|
|
10
|
+
setup(e) {
|
|
11
|
+
const { size: o } = p("maz-table");
|
|
12
|
+
return (t, r) => (s(), l(
|
|
13
13
|
"th",
|
|
14
14
|
{
|
|
15
|
-
class: i(["m-table-title", `--${_(o)}`])
|
|
15
|
+
class: i(["m-table-title", [`--${_(o)}`]])
|
|
16
16
|
},
|
|
17
17
|
[
|
|
18
|
-
u(
|
|
18
|
+
u(t.$slots, "default", {}, void 0, !0)
|
|
19
19
|
],
|
|
20
20
|
2
|
|
21
21
|
/* CLASS */
|
|
22
22
|
));
|
|
23
23
|
}
|
|
24
|
-
}), m = (
|
|
25
|
-
const
|
|
24
|
+
}), m = (e, o) => {
|
|
25
|
+
const t = e.__vccOpts || e;
|
|
26
26
|
for (const [r, n] of o)
|
|
27
|
-
|
|
28
|
-
return
|
|
29
|
-
},
|
|
27
|
+
t[r] = n;
|
|
28
|
+
return t;
|
|
29
|
+
}, b = /* @__PURE__ */ m(f, [["__scopeId", "data-v-05ab93b7"]]);
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
b as default
|
|
32
32
|
};
|
package/components/MazTabs.d.ts
CHANGED
|
@@ -8,18 +8,19 @@ export interface MazTabsProvide {
|
|
|
8
8
|
updateCurrentTab: (index: number) => number;
|
|
9
9
|
}
|
|
10
10
|
declare function __VLS_template(): {
|
|
11
|
+
attrs: Partial<{}>;
|
|
11
12
|
slots: {
|
|
12
13
|
default?(_: {}): any;
|
|
13
14
|
};
|
|
14
15
|
refs: {};
|
|
15
|
-
|
|
16
|
+
rootEl: HTMLDivElement;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
19
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
19
20
|
"update:model-value": (index: number) => any;
|
|
20
21
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
21
22
|
"onUpdate:model-value"?: ((index: number) => any) | undefined;
|
|
22
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
23
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
23
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
24
25
|
export default _default;
|
|
25
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -32,6 +32,7 @@ export type MazTabsBarItem = {
|
|
|
32
32
|
};
|
|
33
33
|
} | string;
|
|
34
34
|
declare function __VLS_template(): {
|
|
35
|
+
attrs: Partial<{}>;
|
|
35
36
|
slots: {
|
|
36
37
|
item?(_: {
|
|
37
38
|
item: {
|
|
@@ -56,13 +57,13 @@ declare function __VLS_template(): {
|
|
|
56
57
|
refs: {
|
|
57
58
|
tabsBarRef: HTMLDivElement;
|
|
58
59
|
};
|
|
59
|
-
|
|
60
|
+
rootEl: HTMLDivElement;
|
|
60
61
|
};
|
|
61
62
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
62
63
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
63
64
|
queryParam: string;
|
|
64
65
|
autoScroll: boolean;
|
|
65
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
66
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
66
67
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
67
68
|
export default _default;
|
|
68
69
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
2
3
|
slots: {
|
|
3
4
|
default?(_: {}): any;
|
|
4
5
|
};
|
|
5
6
|
refs: {};
|
|
6
|
-
|
|
7
|
+
rootEl: HTMLDivElement;
|
|
7
8
|
};
|
|
8
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
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>;
|
|
10
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
12
|
export default _default;
|
|
12
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject as l, defineComponent as
|
|
1
|
+
import { inject as l, defineComponent as i, ref as c, watch as s, openBlock as u, createElementBlock as m, normalizeClass as f, renderSlot as d } from "vue";
|
|
2
2
|
function v(n, e) {
|
|
3
3
|
let t;
|
|
4
4
|
return function(...o) {
|
|
@@ -10,13 +10,13 @@ function v(n, e) {
|
|
|
10
10
|
function p(n, e) {
|
|
11
11
|
const t = l(n, e);
|
|
12
12
|
if (!t)
|
|
13
|
-
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${n}`);
|
|
13
|
+
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${n.toString()}`);
|
|
14
14
|
return t;
|
|
15
15
|
}
|
|
16
|
-
const h = /* @__PURE__ */
|
|
16
|
+
const h = /* @__PURE__ */ i({
|
|
17
17
|
__name: "MazTabsContent",
|
|
18
18
|
setup(n) {
|
|
19
|
-
const e =
|
|
19
|
+
const e = c(!1), { currentTab: t } = p("maz-tabs"), o = v(() => {
|
|
20
20
|
e.value = !1;
|
|
21
21
|
}, 700);
|
|
22
22
|
function r() {
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
2
3
|
slots: {
|
|
3
4
|
default?(_: {}): any;
|
|
4
5
|
};
|
|
5
6
|
refs: {
|
|
6
7
|
MazTabsContentItem: HTMLDivElement;
|
|
7
8
|
};
|
|
8
|
-
|
|
9
|
+
rootEl: any;
|
|
9
10
|
};
|
|
10
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
12
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { inject as p, defineComponent as
|
|
2
|
-
import './assets/MazTabsContentItem.css';function
|
|
1
|
+
import { inject as p, defineComponent as d, ref as i, watch as f, computed as c, openBlock as l, createBlock as v, Transition as _, withCtx as T, withDirectives as z, createElementVNode as C, renderSlot as w, vShow as h } from "vue";
|
|
2
|
+
import './assets/MazTabsContentItem.css';function I(e, n) {
|
|
3
3
|
const t = p(e, n);
|
|
4
4
|
if (!t)
|
|
5
|
-
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${e}`);
|
|
5
|
+
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${e.toString()}`);
|
|
6
6
|
return t;
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const y = /* @__PURE__ */ d({
|
|
9
9
|
__name: "MazTabsContentItem",
|
|
10
10
|
props: {
|
|
11
11
|
tab: { type: Number, required: !0 }
|
|
12
12
|
},
|
|
13
13
|
setup(e) {
|
|
14
|
-
const n = e, t =
|
|
15
|
-
|
|
14
|
+
const n = e, t = i("maz-tab-transition"), o = i(), { currentTab: r } = I("maz-tabs");
|
|
15
|
+
f(
|
|
16
16
|
() => r.value,
|
|
17
|
-
|
|
17
|
+
(a, s) => {
|
|
18
18
|
if (typeof a == "number" && typeof s == "number") {
|
|
19
19
|
const b = s < a;
|
|
20
20
|
t.value = b ? "maz-tab-transition" : "maz-tab-reverse-transition";
|
|
@@ -22,7 +22,7 @@ const I = /* @__PURE__ */ f({
|
|
|
22
22
|
},
|
|
23
23
|
{ immediate: !0 }
|
|
24
24
|
);
|
|
25
|
-
const m =
|
|
25
|
+
const m = c(() => n.tab - 1), u = c(() => r.value - 1 === m.value);
|
|
26
26
|
return (a, s) => (l(), v(_, {
|
|
27
27
|
name: t.value,
|
|
28
28
|
persisted: ""
|
|
@@ -48,12 +48,12 @@ const I = /* @__PURE__ */ f({
|
|
|
48
48
|
/* FORWARDED */
|
|
49
49
|
}, 8, ["name"]));
|
|
50
50
|
}
|
|
51
|
-
}),
|
|
51
|
+
}), S = (e, n) => {
|
|
52
52
|
const t = e.__vccOpts || e;
|
|
53
53
|
for (const [o, r] of n)
|
|
54
54
|
t[o] = r;
|
|
55
55
|
return t;
|
|
56
|
-
},
|
|
56
|
+
}, M = /* @__PURE__ */ S(y, [["__scopeId", "data-v-43df406d"]]);
|
|
57
57
|
export {
|
|
58
|
-
|
|
58
|
+
M as default
|
|
59
59
|
};
|