maz-ui 3.47.1 → 3.47.2-beta.10
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 +82 -90
- package/components/MazAnimatedCounter.d.ts +16 -32
- package/components/MazAnimatedCounter.mjs +27 -29
- package/components/MazAvatar.d.ts +2 -1
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBackdrop.d.ts +2 -1
- package/components/MazBadge.d.ts +7 -2
- package/components/MazBadge.mjs +1 -1
- package/components/MazBottomSheet.d.ts +2 -1
- 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/MazChart.d.ts +1 -1
- package/components/MazChart.mjs +23 -32
- package/components/MazCheckbox.d.ts +4 -3
- package/components/MazCheckbox.mjs +74 -70
- package/components/MazChecklist.d.ts +2 -5
- package/components/MazChecklist.mjs +1 -1
- package/components/MazCircularProgressBar.d.ts +19 -66
- package/components/MazCircularProgressBar.mjs +47 -52
- package/components/MazDialog.d.ts +5 -3
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.d.ts +2 -1
- package/components/MazDrawer.mjs +1 -1
- package/components/MazDropdown.d.ts +25 -3
- package/components/MazDropdown.mjs +2 -348
- package/components/MazDropzone.d.ts +1 -1
- package/components/MazExpandAnimation.d.ts +6 -5
- package/components/MazExpandAnimation.mjs +27 -31
- package/components/MazFullscreenLoader.d.ts +2 -1
- 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 +26 -30
- 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 +19 -31
- 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 +29 -53
- package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +4 -4
- package/components/MazPhoneNumberInput.d.ts +6 -5
- 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 +27 -37
- package/components/MazRadioButtons.d.ts +1 -1
- package/components/MazRadioButtons.mjs +61 -66
- package/components/MazReadingProgressBar.d.ts +1 -1
- package/components/MazSelect.d.ts +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider.d.ts +1 -1
- package/components/MazSlider.mjs +107 -116
- 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 +20 -27
- package/components/MazTable.d.ts +38 -55
- 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 +7 -7
- package/components/MazTextarea.d.ts +58 -32
- package/components/MazTextarea.mjs +125 -107
- 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/MazBadge.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/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/MazLink.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/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-CNSfzYq-.mjs → MazBadge-CupQjB8D.mjs} +2 -2
- package/components/chunks/{MazBottomSheet-DqK0EOsq.mjs → MazBottomSheet-D9EPpEV8.mjs} +28 -29
- package/components/chunks/MazBtn-BSgCMRt0.mjs +103 -0
- package/components/chunks/MazBtn-BVWOyFm-.mjs +103 -0
- package/components/chunks/MazBtn-BfIn7glE.mjs +103 -0
- package/components/chunks/MazBtn-Br3xKJMD.mjs +103 -0
- package/components/chunks/MazBtn-CB6xVwox.mjs +103 -0
- package/components/chunks/MazBtn-CIAdgMGr.mjs +111 -0
- package/components/chunks/MazBtn-CM-xSnA5.mjs +108 -0
- package/components/chunks/MazBtn-CQq-U8qQ.mjs +103 -0
- package/components/chunks/MazBtn-Chk7DWOF.mjs +103 -0
- package/components/chunks/MazBtn-Ck84sP9a.mjs +103 -0
- package/components/chunks/MazBtn-DI80W9rl.mjs +103 -0
- package/components/chunks/MazBtn-DhSKmF01.mjs +103 -0
- package/components/chunks/MazBtn-DzwuLea3.mjs +103 -0
- package/components/chunks/MazBtn-tOUtVpek.mjs +103 -0
- package/components/chunks/{MazCard-CfkvpcGL.mjs → MazCard-XBaeDZkg.mjs} +18 -19
- package/components/chunks/{MazCarousel-BEl86YGW.mjs → MazCarousel-COTaKhKF.mjs} +20 -21
- package/components/chunks/{MazCheckbox-Byqz8JJB.mjs → MazCheckbox-B-Sw22La.mjs} +63 -60
- package/components/chunks/{MazCheckbox-CI8ml-P8.mjs → MazCheckbox-DjY15PA3.mjs} +63 -58
- package/components/chunks/{MazCheckbox-BKCo6EzO.mjs → MazCheckbox-DxfneUvu.mjs} +63 -59
- package/components/chunks/{MazChecklist-BLxsNHMP.mjs → MazChecklist-DaozZlNb.mjs} +160 -166
- package/components/chunks/{MazDialog-CPgFpAlq.mjs → MazDialog-XiX9LEiz.mjs} +66 -81
- package/components/chunks/MazDialogPromise-B9_e3Ma9.mjs +488 -0
- package/components/chunks/MazDropdown-CKuIGitT.mjs +427 -0
- package/components/chunks/MazExpandAnimation-Bdf0-L85.mjs +54 -0
- package/components/chunks/{MazGallery-BKL7gfrz.mjs → MazGallery-BooLoRWi.mjs} +247 -208
- package/components/chunks/{MazGallery-BMFwld84.mjs → MazGallery-DUOQamrE.mjs} +265 -226
- package/components/chunks/MazIcon-BX2Gbz8R.mjs +4 -0
- package/components/chunks/{MazIcon-DjMuw8Bz.mjs → MazIcon-C-aPrqx2.mjs} +4 -3
- package/components/chunks/{MazIcon-D8V8ixhf.mjs → MazIcon-DFW4cVVf.mjs} +4 -3
- package/components/chunks/{MazIcon-BbvBov5G.mjs → MazIcon-_hN-Kivn.mjs} +14 -13
- package/components/chunks/MazInput-BWAWlxDa.mjs +314 -0
- package/components/chunks/MazInput-DIN1VAoX.mjs +325 -0
- package/components/chunks/MazInput-HLPtw5QK.mjs +313 -0
- package/components/chunks/MazInputNumber-7Ku2ZcG-.mjs +601 -0
- package/components/chunks/{MazInputPrice-DZD7ZZpm.mjs → MazInputPrice-C5yErBFP.mjs} +199 -176
- package/components/chunks/MazInputTags-DvbQ2mK8.mjs +614 -0
- package/components/chunks/{MazLazyImg-C03sUOXs.mjs → MazLazyImg-DQLwaKKz.mjs} +2 -2
- package/components/chunks/MazLink-mrqHeBS0.mjs +67 -0
- package/components/chunks/MazLoadingBar-CNm3Yt6D.mjs +36 -0
- package/components/chunks/MazPagination-BSu0Ifkp.mjs +327 -0
- package/components/chunks/{MazPhoneNumberInput-C4TX1tGw.mjs → MazPhoneNumberInput-B5Up8CqL.mjs} +597 -613
- package/components/chunks/MazPicker-CzYUZcLy.mjs +2487 -0
- package/components/chunks/{MazPickerMonthSwitcher-hCAkEd5r.mjs → MazPickerMonthSwitcher-Ds5agR3Z.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-vpLyw1de.mjs → MazPickerShortcuts-BP6CY9-c.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-DvC79vrt.mjs → MazPickerYearSwitcher-PM8qZMzR.mjs} +1 -1
- package/components/chunks/MazSelect-DOexatNj.mjs +871 -0
- package/components/chunks/{MazSelect-Baj2BQH7.mjs → MazSelect-DaDRzcT_.mjs} +172 -188
- package/components/chunks/{MazSpinner-DwSGm0-X.mjs → MazSpinner-9M_EGMpy.mjs} +1 -1
- package/components/chunks/MazSpinner-BJpv1muf.mjs +34 -0
- package/components/chunks/{MazSpinner-Cqp-BMvL.mjs → MazSpinner-BlbTztM3.mjs} +1 -1
- package/components/chunks/{MazSpinner-C1SiKhfK.mjs → MazSpinner-Bsy1nA3c.mjs} +1 -1
- package/components/chunks/MazSpinner-C30YfScc.mjs +34 -0
- package/components/chunks/MazSpinner-C5mnD76l.mjs +34 -0
- package/components/chunks/{MazSpinner-CAbYLlEZ.mjs → MazSpinner-CDx6lo7l.mjs} +1 -1
- package/components/chunks/MazSpinner-C_GueolV.mjs +34 -0
- package/components/chunks/{MazSpinner-Cb3_S0zT.mjs → MazSpinner-Cc-KlPEG.mjs} +1 -1
- package/components/chunks/MazSpinner-Cgg2dkzQ.mjs +34 -0
- package/components/chunks/{MazSpinner-B5lezvu4.mjs → MazSpinner-CkKIUYXO.mjs} +1 -1
- package/components/chunks/{MazSpinner-B8akphXs.mjs → MazSpinner-CxyUHAvm.mjs} +1 -1
- package/components/chunks/MazSpinner-DROgQW2M.mjs +34 -0
- package/components/chunks/{MazSpinner-Bvb-lKER.mjs → MazSpinner-DjUU4G1h.mjs} +1 -1
- package/components/chunks/MazSpinner-Dzs2W0kq.mjs +34 -0
- package/components/chunks/MazSpinner-NCtEpFMm.mjs +34 -0
- package/components/chunks/MazSpinner-QfPXLpa_.mjs +34 -0
- package/components/chunks/MazSpinner-ZPQe8ON_.mjs +34 -0
- package/components/chunks/{MazSpinner-C-z3-68w.mjs → MazSpinner-b90e3OQK.mjs} +1 -1
- package/components/chunks/MazStepper-B3fuhbye.mjs +218 -0
- package/components/chunks/{MazTable-CulBGLaj.mjs → MazTable-Ci8nhgOP.mjs} +199 -239
- package/components/chunks/MazTableCell-BIganK6X.mjs +23 -0
- package/components/chunks/MazTableRow-CIO-x6Lb.mjs +30 -0
- package/components/chunks/{MazTableTitle-uirsgvk_.mjs → MazTableTitle-OEgTPQB3.mjs} +4 -4
- package/components/chunks/MazTabsBar-CT35SCIK.mjs +177 -0
- package/components/chunks/{MazTransitionExpand-4Ll_5LDO.mjs → MazTransitionExpand-Bcwdl9g2.mjs} +8 -8
- package/components/chunks/{inject-strict-BmiaNiwC.mjs → inject-strict-DEDSuzCz.mjs} +3 -3
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/MazBtn-0CRjeBvn.mjs +103 -0
- package/modules/chunks/MazBtn-DRqCRJD-.cjs +1 -0
- package/modules/chunks/{MazIcon-BB0DMfOc.mjs → MazIcon-CeT6HK_q.mjs} +4 -3
- package/modules/chunks/{MazIcon-BtomZnkQ.cjs → MazIcon-D-Gna0vz.cjs} +1 -1
- package/modules/chunks/{MazSpinner-CDJhmIRl.mjs → MazSpinner-DV--lwdI.mjs} +1 -1
- package/modules/chunks/{MazSpinner-BASKjaLe.cjs → MazSpinner-DersvZQw.cjs} +1 -1
- package/modules/chunks/index-DvromXrX.cjs +124 -0
- package/modules/chunks/{index-C2yAjM0P.mjs → index-Kry9j5uD.mjs} +948 -944
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/package.json +22 -21
- 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 +2 -1
- package/types/components/MazBadge.vue.d.ts +7 -2
- package/types/components/MazBottomSheet.vue.d.ts +2 -1
- 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/MazChart.vue.d.ts +1 -1
- 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 +19 -66
- package/types/components/MazDialog.vue.d.ts +5 -3
- package/types/components/MazDrawer.vue.d.ts +2 -1
- 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 +29 -53
- package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +4 -4
- package/types/components/MazPhoneNumberInput.vue.d.ts +6 -5
- 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 +1 -1
- 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 +38 -55
- 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 +9 -5
- package/types/modules/composables/useFormValidator/useFormField.d.ts +3 -3
- package/types/modules/composables/useFormValidator/useFormValidator.d.ts +4 -4
- package/types/modules/composables/useFormValidator/utils.d.ts +17 -17
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +7 -7
- package/types/modules/helpers/check-availability.d.ts +1 -0
- package/types/modules/helpers/inject-strict.d.ts +2 -1
- package/types/tailwindcss/variables/colors.d.ts +2 -0
- package/components/chunks/MazBtn-BRUaoP8j.mjs +0 -126
- package/components/chunks/MazBtn-BRnLMzhy.mjs +0 -118
- package/components/chunks/MazBtn-BhnOApJu.mjs +0 -118
- package/components/chunks/MazBtn-C28vKP_v.mjs +0 -118
- package/components/chunks/MazBtn-CnqRnXh_.mjs +0 -118
- package/components/chunks/MazBtn-CweCwE_4.mjs +0 -118
- package/components/chunks/MazBtn-D6Jxw9Nr.mjs +0 -118
- package/components/chunks/MazBtn-D7IKoL2c.mjs +0 -118
- package/components/chunks/MazBtn-DlD5m7T4.mjs +0 -118
- package/components/chunks/MazBtn-Dt8lr0GH.mjs +0 -118
- package/components/chunks/MazBtn-DzBXfedt.mjs +0 -123
- package/components/chunks/MazBtn-Mu18egu5.mjs +0 -118
- package/components/chunks/MazBtn-TkePGm5o.mjs +0 -118
- package/components/chunks/MazBtn-igor8wRn.mjs +0 -118
- package/components/chunks/MazDialogPromise-BCCdkrea.mjs +0 -522
- package/components/chunks/MazExpandAnimation-Bkw_wFTi.mjs +0 -58
- package/components/chunks/MazInput-CBiCdd0F.mjs +0 -302
- package/components/chunks/MazInput-Dx2cCzFS.mjs +0 -290
- package/components/chunks/MazInput-O6Q41Fm0.mjs +0 -291
- package/components/chunks/MazInputNumber-DYPVUz4k.mjs +0 -593
- package/components/chunks/MazInputTags-CxXBsTdM.mjs +0 -605
- package/components/chunks/MazLink-Dl9ePCGm.mjs +0 -79
- package/components/chunks/MazLoadingBar-Di2OIrPD.mjs +0 -32
- package/components/chunks/MazPagination-CHTMRRqE.mjs +0 -362
- package/components/chunks/MazPicker-BcQ_-AJH.mjs +0 -2477
- package/components/chunks/MazSelect-BXzgSKmL.mjs +0 -863
- package/components/chunks/MazSpinner-Cg26sBU2.mjs +0 -34
- package/components/chunks/MazSpinner-CsEQ9EXb.mjs +0 -34
- package/components/chunks/MazSpinner-CvT-9sC7.mjs +0 -34
- package/components/chunks/MazSpinner-DH6C15pU.mjs +0 -34
- package/components/chunks/MazSpinner-DlMKBtyt.mjs +0 -34
- package/components/chunks/MazSpinner-Dyf9yb51.mjs +0 -34
- package/components/chunks/MazSpinner-M4r0cykl.mjs +0 -34
- package/components/chunks/MazSpinner-QHjOczon.mjs +0 -34
- package/components/chunks/MazSpinner-cqcpf_FX.mjs +0 -34
- package/components/chunks/MazSpinner-yPkPj7Q8.mjs +0 -34
- package/components/chunks/MazStepper-DRWtYHZR.mjs +0 -232
- package/components/chunks/MazTableCell-BXDbkEJq.mjs +0 -23
- package/components/chunks/MazTableRow-Ds3CDEit.mjs +0 -30
- package/components/chunks/MazTabsBar-MZYefBb8.mjs +0 -204
- package/modules/chunks/MazBtn-CTqI4qhg.mjs +0 -118
- package/modules/chunks/MazBtn-D_CpNgpD.cjs +0 -9
- package/modules/chunks/index-BIX1NMzX.cjs +0 -149
|
@@ -122,5 +122,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
122
122
|
maxDate: string;
|
|
123
123
|
hoverredDay: dayjs.Dayjs;
|
|
124
124
|
offsetMonth: number;
|
|
125
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
125
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
126
126
|
export default _default;
|
|
@@ -38,5 +38,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
38
|
"onOpen-year-switcher"?: ((...args: any[]) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
40
|
calendarDate: string;
|
|
41
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
42
42
|
export default _default;
|
|
@@ -210,5 +210,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
210
210
|
maxDate: string;
|
|
211
211
|
shortcut: string;
|
|
212
212
|
noHeader: boolean;
|
|
213
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
213
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
214
214
|
export default _default;
|
|
@@ -14,5 +14,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
14
14
|
};
|
|
15
15
|
}>> & Readonly<{
|
|
16
16
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
18
18
|
export default _default;
|
|
@@ -78,5 +78,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
78
78
|
};
|
|
79
79
|
}>> & Readonly<{}>, {
|
|
80
80
|
modelValue: PickerValue;
|
|
81
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
81
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
82
82
|
export default _default;
|
|
@@ -40,5 +40,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
40
40
|
}>> & Readonly<{
|
|
41
41
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
"onUpdate:calendar-date"?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
43
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
44
44
|
export default _default;
|
|
@@ -58,5 +58,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
}>, {
|
|
59
59
|
modelValue: PickerValue;
|
|
60
60
|
shortcut: string;
|
|
61
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
61
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
62
62
|
export default _default;
|
|
@@ -125,5 +125,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
125
125
|
minDate: string;
|
|
126
126
|
maxDate: string;
|
|
127
127
|
disabledHours: number[];
|
|
128
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
128
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
129
129
|
export default _default;
|
|
@@ -32,5 +32,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
32
32
|
}>> & Readonly<{
|
|
33
33
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
34
34
|
"onUpdate:calendar-date"?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
35
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
36
36
|
export default _default;
|
|
@@ -3,6 +3,8 @@ import type { Color, Position } from './types';
|
|
|
3
3
|
import { type HTMLAttributes } from 'vue';
|
|
4
4
|
export type { Color, PickerShortcut, PickerValue, Position };
|
|
5
5
|
export interface Props {
|
|
6
|
+
/** The id of the component */
|
|
7
|
+
id?: string;
|
|
6
8
|
/** The style of the component */
|
|
7
9
|
style?: HTMLAttributes['style'];
|
|
8
10
|
/** The class of the component */
|
|
@@ -90,13 +92,13 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
90
92
|
color: Color;
|
|
91
93
|
class: HTMLAttributes["class"];
|
|
92
94
|
disabled: boolean;
|
|
93
|
-
format: string;
|
|
94
95
|
modelValue: string | Partial<import("./MazPicker/types").RangeValue>;
|
|
95
96
|
open: boolean;
|
|
96
97
|
locale: string;
|
|
97
98
|
double: boolean;
|
|
98
99
|
inline: boolean;
|
|
99
100
|
placeholder: string;
|
|
101
|
+
format: string;
|
|
100
102
|
noUseBrowserLocale: boolean;
|
|
101
103
|
minDate: string;
|
|
102
104
|
maxDate: string;
|
package/components/MazPicker.mjs
CHANGED
|
@@ -11,6 +11,7 @@ export interface Props {
|
|
|
11
11
|
standaloneMode?: boolean;
|
|
12
12
|
}
|
|
13
13
|
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
14
15
|
slots: {
|
|
15
16
|
"pull-before"?(_: {}): any;
|
|
16
17
|
"pull-ready"?(_: {}): any;
|
|
@@ -18,7 +19,7 @@ declare function __VLS_template(): {
|
|
|
18
19
|
default?(_: {}): any;
|
|
19
20
|
};
|
|
20
21
|
refs: {};
|
|
21
|
-
|
|
22
|
+
rootEl: HTMLDivElement;
|
|
22
23
|
};
|
|
23
24
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
25
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -35,14 +36,14 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
35
36
|
onFinish?: ((...args: any[]) => any) | undefined;
|
|
36
37
|
}>, {
|
|
37
38
|
disabled: boolean;
|
|
38
|
-
offset: number;
|
|
39
39
|
action: () => unknown;
|
|
40
|
+
offset: number;
|
|
40
41
|
distance: number;
|
|
41
42
|
containerSelector: string;
|
|
42
43
|
headerClass: string;
|
|
43
44
|
spinnerColor: Color;
|
|
44
45
|
standaloneMode: boolean;
|
|
45
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
46
47
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
47
48
|
export default _default;
|
|
48
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/components/MazRadio.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ declare const _default: <T extends string | number | boolean>(__VLS_props: NonNu
|
|
|
37
37
|
readonly onChange?: ((value: T) => any) | undefined;
|
|
38
38
|
readonly onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
39
39
|
readonly "onUpdate:model-value"?: ((value: T) => any) | undefined;
|
|
40
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:model-value"> & Props<T>> & import("vue").PublicProps;
|
|
40
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:model-value"> & Partial<{}> & Props<T>> & import("vue").PublicProps;
|
|
41
41
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
42
42
|
attrs: any;
|
|
43
43
|
slots: {
|
package/components/MazRadio.mjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { useId as S, computed as l, defineComponent as
|
|
2
|
-
import './assets/MazRadio.css';function
|
|
1
|
+
import { useId as S, computed as l, 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: r,
|
|
4
4
|
providedId: s
|
|
5
5
|
}) {
|
|
6
6
|
const a = S();
|
|
7
7
|
return l(() => s ?? `${r}-${a}`);
|
|
8
8
|
}
|
|
9
|
-
const
|
|
9
|
+
const M = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "checked"], _ = { class: "m-radio__text" }, q = /* @__PURE__ */ B({
|
|
10
10
|
__name: "MazRadio",
|
|
11
11
|
props: {
|
|
12
12
|
style: { default: void 0 },
|
|
@@ -26,15 +26,10 @@ const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
26
26
|
},
|
|
27
27
|
emits: ["update:model-value", "change", "blur", "focus"],
|
|
28
28
|
setup(r, { emit: s }) {
|
|
29
|
-
|
|
30
|
-
"172f8336": g.value,
|
|
31
|
-
"5ca6ddf3": y.value,
|
|
32
|
-
"094f34b6": z.value
|
|
33
|
-
}));
|
|
34
|
-
const a = r, n = s, t = M({
|
|
29
|
+
const a = r, n = s, t = N({
|
|
35
30
|
componentName: "MazRadio",
|
|
36
31
|
providedId: a.id
|
|
37
|
-
}), d = l(() => a.modelValue === a.value),
|
|
32
|
+
}), d = l(() => a.modelValue === a.value), h = l(() => {
|
|
38
33
|
switch (a.size) {
|
|
39
34
|
case "xl":
|
|
40
35
|
return "2.25rem";
|
|
@@ -49,35 +44,35 @@ const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
49
44
|
default:
|
|
50
45
|
return "1.625rem";
|
|
51
46
|
}
|
|
52
|
-
}), y = l(() => `var(--maz-color-${a.color})`),
|
|
53
|
-
function
|
|
47
|
+
}), y = l(() => `var(--maz-color-${a.color})`), g = l(() => 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)`);
|
|
48
|
+
function z(e) {
|
|
54
49
|
["Space"].includes(e.code) && (e.preventDefault(), c());
|
|
55
50
|
}
|
|
56
51
|
function c() {
|
|
57
52
|
n("update:model-value", a.value), n("change", a.value);
|
|
58
53
|
}
|
|
59
54
|
const u = $();
|
|
60
|
-
function
|
|
55
|
+
function w(e) {
|
|
61
56
|
var o;
|
|
62
57
|
(o = u.value) == null || o.dispatchEvent(new Event("blur")), n("blur", e);
|
|
63
58
|
}
|
|
64
|
-
function
|
|
59
|
+
function k(e) {
|
|
65
60
|
var o;
|
|
66
61
|
(o = u.value) == null || o.dispatchEvent(new Event("focus")), n("focus", e);
|
|
67
62
|
}
|
|
68
|
-
return (e, o) => (m(),
|
|
69
|
-
for:
|
|
63
|
+
return (e, o) => (m(), v("label", {
|
|
64
|
+
for: f(t),
|
|
70
65
|
class: p(["m-radio", [{ "--disabled": e.disabled, "--selected": d.value, "--error": e.error, "--warning": e.warning, "--success": e.success }, a.class]]),
|
|
71
66
|
tabindex: "0",
|
|
72
67
|
role: "radio",
|
|
73
|
-
style:
|
|
68
|
+
style: E([e.style, { "--radio-size": h.value, "--radio-selected-color": y.value, "--radio-box-shadow": g.value }]),
|
|
74
69
|
"aria-checked": d.value,
|
|
75
|
-
onBlur:
|
|
76
|
-
onFocus:
|
|
77
|
-
onKeydown:
|
|
70
|
+
onBlur: w,
|
|
71
|
+
onFocus: k,
|
|
72
|
+
onKeydown: z
|
|
78
73
|
}, [
|
|
79
|
-
i("input",
|
|
80
|
-
id:
|
|
74
|
+
i("input", I({
|
|
75
|
+
id: f(t),
|
|
81
76
|
ref_key: "inputRef",
|
|
82
77
|
ref: u,
|
|
83
78
|
value: e.value
|
|
@@ -98,23 +93,18 @@ const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
98
93
|
-1
|
|
99
94
|
/* HOISTED */
|
|
100
95
|
)),
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
@binding {Boolean} is-selected - If the radio is selected
|
|
104
|
-
@binding {string | number | boolean} value - The value of the radio
|
|
105
|
-
`),
|
|
106
|
-
i("div", T, [
|
|
107
|
-
R(e.$slots, "default", {
|
|
96
|
+
i("div", _, [
|
|
97
|
+
V(e.$slots, "default", {
|
|
108
98
|
isSelected: d.value,
|
|
109
99
|
value: e.value
|
|
110
100
|
}, () => [
|
|
111
|
-
|
|
112
|
-
|
|
101
|
+
C(
|
|
102
|
+
b(e.label),
|
|
113
103
|
1
|
|
114
104
|
/* TEXT */
|
|
115
105
|
)
|
|
116
106
|
], !0),
|
|
117
|
-
e.hint ? (m(),
|
|
107
|
+
e.hint ? (m(), v(
|
|
118
108
|
"span",
|
|
119
109
|
{
|
|
120
110
|
key: 0,
|
|
@@ -124,19 +114,19 @@ const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
124
114
|
"--warning": e.warning
|
|
125
115
|
}])
|
|
126
116
|
},
|
|
127
|
-
|
|
117
|
+
b(e.hint),
|
|
128
118
|
3
|
|
129
119
|
/* TEXT, CLASS */
|
|
130
|
-
)) :
|
|
120
|
+
)) : R("v-if", !0)
|
|
131
121
|
])
|
|
132
|
-
], 46,
|
|
122
|
+
], 46, M));
|
|
133
123
|
}
|
|
134
124
|
}), F = (r, s) => {
|
|
135
125
|
const a = r.__vccOpts || r;
|
|
136
126
|
for (const [n, t] of s)
|
|
137
127
|
a[n] = t;
|
|
138
128
|
return a;
|
|
139
|
-
},
|
|
129
|
+
}, O = /* @__PURE__ */ F(q, [["__scopeId", "data-v-016d293e"]]);
|
|
140
130
|
export {
|
|
141
|
-
|
|
131
|
+
O as default
|
|
142
132
|
};
|
|
@@ -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: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as C, defineAsyncComponent as S, ref as $, openBlock as u, createElementBlock as
|
|
2
|
-
import './assets/MazRadioButtons.css';const O = { class: "m-radio-buttons" },
|
|
1
|
+
import { defineComponent as C, defineAsyncComponent as S, ref as $, openBlock as u, createElementBlock as c, createElementVNode as y, normalizeClass as i, Fragment as E, renderList as V, normalizeStyle as b, createVNode as k, Transition as R, withCtx as F, withDirectives as N, unref as q, vShow as D, createCommentVNode as _, renderSlot as I, createTextVNode as M, toDisplayString as z } from "vue";
|
|
2
|
+
import './assets/MazRadioButtons.css';const O = { class: "m-radio-buttons" }, K = ["for", "aria-checked", "onKeydown", "onBlur", "onFocus"], T = ["id", "name", "value", "onChange"], W = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "m-radio-buttons__items__checkbox"
|
|
5
|
-
},
|
|
5
|
+
}, A = /* @__PURE__ */ C({
|
|
6
6
|
__name: "MazRadioButtons",
|
|
7
7
|
props: {
|
|
8
8
|
modelValue: { default: void 0 },
|
|
@@ -21,85 +21,85 @@ import './assets/MazRadioButtons.css';const O = { class: "m-radio-buttons" }, T
|
|
|
21
21
|
hint: {}
|
|
22
22
|
},
|
|
23
23
|
emits: ["update:model-value", "change", "blur", "focus"],
|
|
24
|
-
setup(
|
|
25
|
-
const l =
|
|
26
|
-
function
|
|
24
|
+
setup(d, { emit: f }) {
|
|
25
|
+
const l = d, s = f, m = S(() => import("./chunks/check-BmubdHc_.mjs"));
|
|
26
|
+
function h(e) {
|
|
27
27
|
s("update:model-value", e.value);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function n(e) {
|
|
30
30
|
return l.modelValue === e;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
33
|
-
["Space"].includes(e.code) && (e.preventDefault(),
|
|
32
|
+
function B(e, t) {
|
|
33
|
+
["Space"].includes(e.code) && (e.preventDefault(), h(t));
|
|
34
34
|
}
|
|
35
|
-
function v(e,
|
|
36
|
-
return `option-${
|
|
35
|
+
function v(e, t) {
|
|
36
|
+
return `option-${t}-${e.value.toString()}-${l.name}`;
|
|
37
37
|
}
|
|
38
38
|
const p = $();
|
|
39
|
-
function
|
|
40
|
-
var
|
|
41
|
-
(
|
|
39
|
+
function g(e, t) {
|
|
40
|
+
var a, o;
|
|
41
|
+
(o = (a = p.value) == null ? void 0 : a[e]) == null || o.dispatchEvent(new Event("blur")), s("blur", t);
|
|
42
42
|
}
|
|
43
|
-
function w(e,
|
|
44
|
-
var
|
|
45
|
-
(
|
|
43
|
+
function w(e, t) {
|
|
44
|
+
var a, o;
|
|
45
|
+
(o = (a = p.value) == null ? void 0 : a[e]) == null || o.dispatchEvent(new Event("focus")), s("focus", t);
|
|
46
46
|
}
|
|
47
|
-
return (e,
|
|
48
|
-
|
|
47
|
+
return (e, t) => (u(), c("div", O, [
|
|
48
|
+
y(
|
|
49
49
|
"div",
|
|
50
50
|
{
|
|
51
|
-
class:
|
|
51
|
+
class: i(["m-radio-buttons__wrapper", [`--${e.orientation}`, { "--no-wrap": e.noWrap, "--block": e.block }]])
|
|
52
52
|
},
|
|
53
53
|
[
|
|
54
|
-
(u(!0),
|
|
54
|
+
(u(!0), c(
|
|
55
55
|
E,
|
|
56
56
|
null,
|
|
57
|
-
V(e.options, (
|
|
58
|
-
key: v(
|
|
59
|
-
for: v(
|
|
60
|
-
class:
|
|
57
|
+
V(e.options, (a, o) => (u(), c("label", {
|
|
58
|
+
key: v(a, o),
|
|
59
|
+
for: v(a, o),
|
|
60
|
+
class: i(["m-radio-buttons__items maz-group", [
|
|
61
61
|
{
|
|
62
|
-
"--is-selected":
|
|
62
|
+
"--is-selected": n(a.value),
|
|
63
63
|
"--elevation": e.elevation,
|
|
64
64
|
"--equal-size": e.equalSize
|
|
65
65
|
},
|
|
66
|
-
|
|
66
|
+
a.classes
|
|
67
67
|
]]),
|
|
68
68
|
tabindex: "0",
|
|
69
|
-
style:
|
|
70
|
-
|
|
69
|
+
style: b([
|
|
70
|
+
n(a.value) ? {
|
|
71
71
|
color: `var(--maz-color-${e.color}-contrast)`,
|
|
72
72
|
backgroundColor: `var(--maz-color-${e.color})`
|
|
73
73
|
} : {},
|
|
74
|
-
|
|
74
|
+
a.style
|
|
75
75
|
]),
|
|
76
76
|
role: "radio",
|
|
77
|
-
"aria-checked":
|
|
78
|
-
onKeydown: (r) =>
|
|
79
|
-
onBlur: (r) =>
|
|
80
|
-
onFocus: (r) => w(
|
|
77
|
+
"aria-checked": n(a.value),
|
|
78
|
+
onKeydown: (r) => B(r, a),
|
|
79
|
+
onBlur: (r) => g(o, r),
|
|
80
|
+
onFocus: (r) => w(o, r)
|
|
81
81
|
}, [
|
|
82
|
-
|
|
83
|
-
id: v(
|
|
82
|
+
y("input", {
|
|
83
|
+
id: v(a, o),
|
|
84
84
|
ref_for: !0,
|
|
85
85
|
ref_key: "inputRef",
|
|
86
86
|
ref: p,
|
|
87
87
|
type: "radio",
|
|
88
88
|
tabindex: "-1",
|
|
89
89
|
name: e.name,
|
|
90
|
-
value:
|
|
90
|
+
value: a.value,
|
|
91
91
|
class: "maz-hidden",
|
|
92
|
-
onChange: (r) =>
|
|
93
|
-
}, null, 40,
|
|
94
|
-
e.selector ? (u(),
|
|
95
|
-
|
|
92
|
+
onChange: (r) => h(a)
|
|
93
|
+
}, null, 40, T),
|
|
94
|
+
e.selector ? (u(), c("div", W, [
|
|
95
|
+
y(
|
|
96
96
|
"span",
|
|
97
97
|
{
|
|
98
|
-
class:
|
|
99
|
-
"--is-selected":
|
|
98
|
+
class: i({
|
|
99
|
+
"--is-selected": n(a.value)
|
|
100
100
|
}),
|
|
101
|
-
style:
|
|
102
|
-
|
|
101
|
+
style: b([
|
|
102
|
+
n(a.value) ? { backgroundColor: `var(--maz-color-${l.color}-600)` } : {}
|
|
103
103
|
])
|
|
104
104
|
},
|
|
105
105
|
[
|
|
@@ -111,14 +111,14 @@ import './assets/MazRadioButtons.css';const O = { class: "m-radio-buttons" }, T
|
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
default: F(() => [
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
N(k(
|
|
115
|
+
q(m),
|
|
116
116
|
{ class: "maz-h-full maz-w-full" },
|
|
117
117
|
null,
|
|
118
118
|
512
|
|
119
119
|
/* NEED_PATCH */
|
|
120
120
|
), [
|
|
121
|
-
[
|
|
121
|
+
[D, n(a.value)]
|
|
122
122
|
])
|
|
123
123
|
]),
|
|
124
124
|
_: 2
|
|
@@ -131,23 +131,18 @@ import './assets/MazRadioButtons.css';const O = { class: "m-radio-buttons" }, T
|
|
|
131
131
|
6
|
|
132
132
|
/* CLASS, STYLE */
|
|
133
133
|
)
|
|
134
|
-
])) :
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
@binding {string | number | boolean} option - The value of the option
|
|
139
|
-
`),
|
|
140
|
-
D(e.$slots, "default", {
|
|
141
|
-
option: o,
|
|
142
|
-
selected: t(o.value)
|
|
134
|
+
])) : _("v-if", !0),
|
|
135
|
+
I(e.$slots, "default", {
|
|
136
|
+
option: a,
|
|
137
|
+
selected: n(a.value)
|
|
143
138
|
}, () => [
|
|
144
139
|
M(
|
|
145
|
-
|
|
140
|
+
z(a.label),
|
|
146
141
|
1
|
|
147
142
|
/* TEXT */
|
|
148
143
|
)
|
|
149
144
|
], !0)
|
|
150
|
-
], 46,
|
|
145
|
+
], 46, K))),
|
|
151
146
|
128
|
|
152
147
|
/* KEYED_FRAGMENT */
|
|
153
148
|
))
|
|
@@ -155,28 +150,28 @@ import './assets/MazRadioButtons.css';const O = { class: "m-radio-buttons" }, T
|
|
|
155
150
|
2
|
|
156
151
|
/* CLASS */
|
|
157
152
|
),
|
|
158
|
-
e.hint ? (u(),
|
|
153
|
+
e.hint ? (u(), c(
|
|
159
154
|
"span",
|
|
160
155
|
{
|
|
161
156
|
key: 0,
|
|
162
|
-
class:
|
|
157
|
+
class: i(["m-radio-buttons__hint", {
|
|
163
158
|
"--error": e.error,
|
|
164
159
|
"--success": e.success,
|
|
165
160
|
"--warning": e.warning
|
|
166
161
|
}])
|
|
167
162
|
},
|
|
168
|
-
|
|
163
|
+
z(e.hint),
|
|
169
164
|
3
|
|
170
165
|
/* TEXT, CLASS */
|
|
171
|
-
)) :
|
|
166
|
+
)) : _("v-if", !0)
|
|
172
167
|
]));
|
|
173
168
|
}
|
|
174
|
-
}),
|
|
175
|
-
const l =
|
|
169
|
+
}), H = (d, f) => {
|
|
170
|
+
const l = d.__vccOpts || d;
|
|
176
171
|
for (const [s, m] of f)
|
|
177
172
|
l[s] = m;
|
|
178
173
|
return l;
|
|
179
|
-
}, j = /* @__PURE__ */ A
|
|
174
|
+
}, j = /* @__PURE__ */ H(A, [["__scopeId", "data-v-62236bc3"]]);
|
|
180
175
|
export {
|
|
181
176
|
j as default
|
|
182
177
|
};
|
|
@@ -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"];
|
|
@@ -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;
|