maz-ui 3.47.2-beta.2 → 3.47.2-beta.20
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 +16 -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 +5 -5
- package/components/MazPhoneNumberInput/types.d.ts +2 -1
- package/components/MazPhoneNumberInput/{use-libphonenumber.d.ts → useLibphonenumber.d.ts} +4 -4
- package/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
- package/components/MazPhoneNumberInput.d.ts +69 -25
- 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-B5ioqwkK.mjs +103 -0
- package/components/chunks/MazBtn-BS2kvd1Z.mjs +103 -0
- package/components/chunks/MazBtn-BVWOyFm-.mjs +103 -0
- package/components/chunks/MazBtn-BrfhtojY.mjs +103 -0
- package/components/chunks/MazBtn-C4nwxs9T.mjs +103 -0
- package/components/chunks/MazBtn-C60T0UDa.mjs +103 -0
- package/components/chunks/MazBtn-CElHmZjv.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-D4NOcykx.mjs +103 -0
- package/components/chunks/MazBtn-Db6ai-Mv.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-B5ZcWc3y.mjs} +63 -59
- package/components/chunks/{MazCheckbox-B22OcHt8.mjs → MazCheckbox-BDPgDiU3.mjs} +63 -59
- package/components/chunks/{MazCheckbox-Db6sPUbV.mjs → MazCheckbox-BeLByOEa.mjs} +64 -60
- package/components/chunks/{MazChecklist-C95Y4Hb-.mjs → MazChecklist-BurPprmw.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-BF5TFzse.mjs → MazIcon-CaXpmvN2.mjs} +4 -3
- package/components/chunks/{MazIcon-BbvBov5G.mjs → MazIcon-_hN-Kivn.mjs} +14 -13
- package/components/chunks/MazInput-BT-mbJfZ.mjs +313 -0
- package/components/chunks/MazInput-BTIdtLkD.mjs +314 -0
- package/components/chunks/MazInput-BfWJoPre.mjs +324 -0
- package/components/chunks/MazInputNumber-R0RzDeyD.mjs +600 -0
- package/components/chunks/{MazInputPrice-DoTnDDIN.mjs → MazInputPrice-CKSdqO4X.mjs} +200 -169
- package/components/chunks/{MazInputTags-Dj3sW-e5.mjs → MazInputTags-D6jQ2-Ia.mjs} +248 -220
- 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-D3pDBJSb.mjs +36 -0
- package/components/chunks/MazPagination-BSu0Ifkp.mjs +327 -0
- package/components/chunks/{MazPhoneNumberInput-BbssOUzo.mjs → MazPhoneNumberInput-DibUhBpk.mjs} +762 -731
- package/components/chunks/MazPicker-CwiuW5Pv.mjs +2486 -0
- package/components/chunks/{MazPickerMonthSwitcher-CmFFQoPA.mjs → MazPickerMonthSwitcher-C65el7R0.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-DaELz7aq.mjs → MazPickerShortcuts-DbrOoszH.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-m1_KXnpA.mjs → MazPickerYearSwitcher-D9lqntyR.mjs} +1 -1
- package/components/chunks/MazSelect-CbT4tFqV.mjs +550 -0
- package/components/chunks/MazSelect-CyWAOXo4.mjs +867 -0
- package/components/chunks/MazSpinner-BDda3YzZ.mjs +34 -0
- package/components/chunks/{MazSpinner-BcB0szZB.mjs → MazSpinner-BlbTztM3.mjs} +1 -1
- package/components/chunks/{MazSpinner-CfiIXW8y.mjs → MazSpinner-C2-JMhVh.mjs} +1 -1
- package/components/chunks/{MazSpinner-BsYJDmi9.mjs → MazSpinner-C6h03sqc.mjs} +1 -1
- package/components/chunks/MazSpinner-CS1_l-tv.mjs +34 -0
- package/components/chunks/{MazSpinner-DmiLBQgR.mjs → MazSpinner-Cp_nPioh.mjs} +1 -1
- package/components/chunks/{MazSpinner-Bb3f2t6w.mjs → MazSpinner-CwmaAuL1.mjs} +1 -1
- package/components/chunks/{MazSpinner-BpkPcfCt.mjs → MazSpinner-D5Sbo759.mjs} +1 -1
- package/components/chunks/MazSpinner-DPur0-r-.mjs +34 -0
- package/components/chunks/MazSpinner-DYE8e9xl.mjs +34 -0
- package/components/chunks/MazSpinner-DjUU4G1h.mjs +34 -0
- package/components/chunks/{MazSpinner-C-64WJje.mjs → MazSpinner-DqD51Fb6.mjs} +1 -1
- package/components/chunks/MazSpinner-DudoF-cG.mjs +34 -0
- package/components/chunks/MazSpinner-EAz0nFxC.mjs +34 -0
- package/components/chunks/{MazSpinner-DoRGA1RI.mjs → MazSpinner-N-1gjTUE.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/MazSpinner-mtv0dluJ.mjs +34 -0
- package/components/chunks/MazStepper-B3fuhbye.mjs +218 -0
- package/components/chunks/{MazTable-BJDPdIJB.mjs → MazTable-hA0HicaL.mjs} +85 -81
- package/components/chunks/MazTableCell-DkCidYWY.mjs +23 -0
- package/components/chunks/MazTableRow-BAl6Fzm8.mjs +30 -0
- package/components/chunks/{MazTableTitle-Ch-nyY1E.mjs → MazTableTitle-CY_LNDOk.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/{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 +16 -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 +5 -5
- package/types/components/MazPhoneNumberInput/types.d.ts +2 -1
- package/types/components/MazPhoneNumberInput/{use-libphonenumber.d.ts → useLibphonenumber.d.ts} +4 -4
- package/types/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
- package/types/components/MazPhoneNumberInput.vue.d.ts +69 -25
- 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/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/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-edxn0ncQ.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/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/components/MazRadio.mjs
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import './assets/MazRadio.css';function
|
|
1
|
+
import { computed as s, useId as S, defineComponent as B, ref as $, openBlock as m, createElementBlock as v, unref as f, normalizeClass as p, normalizeStyle as E, createElementVNode as i, mergeProps as I, renderSlot as V, createTextVNode as C, toDisplayString as b, createCommentVNode as R } from "vue";
|
|
2
|
+
import './assets/MazRadio.css';function N({
|
|
3
3
|
componentName: o,
|
|
4
|
-
providedId:
|
|
4
|
+
providedId: l
|
|
5
5
|
}) {
|
|
6
|
-
|
|
7
|
-
return l(() => s ?? `${o}-${a}`);
|
|
6
|
+
return s(() => l ?? `${o}-${S().replace(/:/g, "")}`);
|
|
8
7
|
}
|
|
9
|
-
const
|
|
8
|
+
const M = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "checked"], _ = { class: "m-radio__text" }, q = /* @__PURE__ */ B({
|
|
10
9
|
__name: "MazRadio",
|
|
11
10
|
props: {
|
|
12
11
|
style: { default: void 0 },
|
|
@@ -25,16 +24,11 @@ const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
25
24
|
hint: {}
|
|
26
25
|
},
|
|
27
26
|
emits: ["update:model-value", "change", "blur", "focus"],
|
|
28
|
-
setup(o, { emit:
|
|
29
|
-
|
|
30
|
-
"172f8336": h.value,
|
|
31
|
-
"5ca6ddf3": y.value,
|
|
32
|
-
"094f34b6": g.value
|
|
33
|
-
}));
|
|
34
|
-
const a = o, n = s, t = M({
|
|
27
|
+
setup(o, { emit: l }) {
|
|
28
|
+
const a = o, n = l, t = N({
|
|
35
29
|
componentName: "MazRadio",
|
|
36
30
|
providedId: a.id
|
|
37
|
-
}), d =
|
|
31
|
+
}), d = s(() => a.modelValue === a.value), h = s(() => {
|
|
38
32
|
switch (a.size) {
|
|
39
33
|
case "xl":
|
|
40
34
|
return "2.25rem";
|
|
@@ -49,37 +43,37 @@ const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
49
43
|
default:
|
|
50
44
|
return "1.625rem";
|
|
51
45
|
}
|
|
52
|
-
}),
|
|
46
|
+
}), g = s(() => `var(--maz-color-${a.color})`), y = s(() => a.error ? "var(--maz-color-danger)" : a.warning ? "var(--maz-color-warning)" : a.success ? "var(--maz-color-success)" : ["black", "transparent"].includes(a.color) ? "var(--maz-color-muted)" : `var(--maz-color-${a.color}-alpha)`);
|
|
53
47
|
function z(e) {
|
|
54
48
|
["Space"].includes(e.code) && (e.preventDefault(), c());
|
|
55
49
|
}
|
|
56
50
|
function c() {
|
|
57
51
|
n("update:model-value", a.value), n("change", a.value);
|
|
58
52
|
}
|
|
59
|
-
const
|
|
53
|
+
const u = $();
|
|
60
54
|
function w(e) {
|
|
61
55
|
var r;
|
|
62
|
-
(r =
|
|
56
|
+
(r = u.value) == null || r.dispatchEvent(new Event("blur")), n("blur", e);
|
|
63
57
|
}
|
|
64
58
|
function k(e) {
|
|
65
59
|
var r;
|
|
66
|
-
(r =
|
|
60
|
+
(r = u.value) == null || r.dispatchEvent(new Event("focus")), n("focus", e);
|
|
67
61
|
}
|
|
68
|
-
return (e, r) => (m(),
|
|
69
|
-
for:
|
|
62
|
+
return (e, r) => (m(), v("label", {
|
|
63
|
+
for: f(t),
|
|
70
64
|
class: p(["m-radio", [{ "--disabled": e.disabled, "--selected": d.value, "--error": e.error, "--warning": e.warning, "--success": e.success }, a.class]]),
|
|
71
65
|
tabindex: "0",
|
|
72
66
|
role: "radio",
|
|
73
|
-
style:
|
|
67
|
+
style: E([e.style, { "--radio-size": h.value, "--radio-selected-color": g.value, "--radio-box-shadow": y.value }]),
|
|
74
68
|
"aria-checked": d.value,
|
|
75
69
|
onBlur: w,
|
|
76
70
|
onFocus: k,
|
|
77
71
|
onKeydown: z
|
|
78
72
|
}, [
|
|
79
|
-
|
|
80
|
-
id:
|
|
73
|
+
i("input", I({
|
|
74
|
+
id: f(t),
|
|
81
75
|
ref_key: "inputRef",
|
|
82
|
-
ref:
|
|
76
|
+
ref: u,
|
|
83
77
|
value: e.value
|
|
84
78
|
}, e.$attrs, {
|
|
85
79
|
tabindex: "-1",
|
|
@@ -87,29 +81,29 @@ const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
87
81
|
name: e.name,
|
|
88
82
|
type: "radio",
|
|
89
83
|
checked: d.value,
|
|
90
|
-
onChange: r[0] || (r[0] = (
|
|
84
|
+
onChange: r[0] || (r[0] = (H) => c())
|
|
91
85
|
}), null, 16, D),
|
|
92
|
-
r[1] || (r[1] =
|
|
86
|
+
r[1] || (r[1] = i(
|
|
93
87
|
"span",
|
|
94
88
|
null,
|
|
95
89
|
[
|
|
96
|
-
|
|
90
|
+
i("span", { class: "round" })
|
|
97
91
|
],
|
|
98
92
|
-1
|
|
99
93
|
/* HOISTED */
|
|
100
94
|
)),
|
|
101
|
-
|
|
102
|
-
|
|
95
|
+
i("div", _, [
|
|
96
|
+
V(e.$slots, "default", {
|
|
103
97
|
isSelected: d.value,
|
|
104
98
|
value: e.value
|
|
105
99
|
}, () => [
|
|
106
|
-
|
|
100
|
+
C(
|
|
107
101
|
b(e.label),
|
|
108
102
|
1
|
|
109
103
|
/* TEXT */
|
|
110
104
|
)
|
|
111
105
|
], !0),
|
|
112
|
-
e.hint ? (m(),
|
|
106
|
+
e.hint ? (m(), v(
|
|
113
107
|
"span",
|
|
114
108
|
{
|
|
115
109
|
key: 0,
|
|
@@ -122,16 +116,16 @@ const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
122
116
|
b(e.hint),
|
|
123
117
|
3
|
|
124
118
|
/* TEXT, CLASS */
|
|
125
|
-
)) :
|
|
119
|
+
)) : R("v-if", !0)
|
|
126
120
|
])
|
|
127
|
-
], 46,
|
|
121
|
+
], 46, M));
|
|
128
122
|
}
|
|
129
|
-
}),
|
|
123
|
+
}), F = (o, l) => {
|
|
130
124
|
const a = o.__vccOpts || o;
|
|
131
|
-
for (const [n, t] of
|
|
125
|
+
for (const [n, t] of l)
|
|
132
126
|
a[n] = t;
|
|
133
127
|
return a;
|
|
134
|
-
},
|
|
128
|
+
}, O = /* @__PURE__ */ F(q, [["__scopeId", "data-v-016d293e"]]);
|
|
135
129
|
export {
|
|
136
|
-
|
|
130
|
+
O as default
|
|
137
131
|
};
|
|
@@ -51,7 +51,7 @@ declare const _default: <T extends string | number | boolean>(__VLS_props: NonNu
|
|
|
51
51
|
readonly onChange?: ((value: T) => any) | undefined;
|
|
52
52
|
readonly onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
53
53
|
readonly "onUpdate:model-value"?: ((value: T) => any) | undefined;
|
|
54
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:model-value"> & Props<T>> & import("vue").PublicProps;
|
|
54
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:model-value"> & Partial<{}> & Props<T>> & import("vue").PublicProps;
|
|
55
55
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
56
56
|
attrs: any;
|
|
57
57
|
slots: {
|
|
@@ -47,8 +47,8 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
47
47
|
}>, {
|
|
48
48
|
color: Color;
|
|
49
49
|
height: string;
|
|
50
|
-
offset: number;
|
|
51
50
|
teleportSelector: string;
|
|
51
|
+
offset: number;
|
|
52
52
|
distance: number;
|
|
53
53
|
contentSelector: string;
|
|
54
54
|
barClass: HTMLAttributes["class"];
|
|
@@ -88,7 +88,7 @@ export interface Props<T extends ModelValueSimple, U extends MazSelectOption> {
|
|
|
88
88
|
autocomplete?: string;
|
|
89
89
|
}
|
|
90
90
|
export type { Color, ModelValueSimple, Position, Size } from './types';
|
|
91
|
-
declare const _default: <T extends ModelValueSimple, U extends MazSelectOption
|
|
91
|
+
declare const _default: <T extends ModelValueSimple, U extends MazSelectOption>(__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<{
|
|
92
92
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
93
93
|
readonly onInput?: ((value: Event) => any) | undefined;
|
|
94
94
|
readonly onBlur?: ((value: Event) => any) | undefined;
|
|
@@ -98,7 +98,7 @@ declare const _default: <T extends ModelValueSimple, U extends MazSelectOption,
|
|
|
98
98
|
readonly onOpen?: ((value: boolean) => any) | undefined;
|
|
99
99
|
readonly "onUpdate:model-value"?: ((value: T | T[]) => any) | undefined;
|
|
100
100
|
readonly "onSelected-option"?: ((value: U) => any) | undefined;
|
|
101
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onInput" | "onClose" | "onOpen" | "onUpdate:model-value" | "onSelected-option"> & Props<T, U>> & import("vue").PublicProps;
|
|
101
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onInput" | "onClose" | "onOpen" | "onUpdate:model-value" | "onSelected-option"> & Partial<{}> & Props<T, U>> & import("vue").PublicProps;
|
|
102
102
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
103
103
|
openList: (event: Event) => Promise<void>;
|
|
104
104
|
closeList: (event?: Event) => Promise<void>;
|
package/components/MazSelect.mjs
CHANGED
|
@@ -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
|
};
|