maz-ui 3.47.2-beta.0 → 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.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 +14 -8
- 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-CvIiiTdM.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-FSXmHyhj.mjs → MazCard-XBaeDZkg.mjs} +18 -19
- package/components/chunks/{MazCarousel-BEl86YGW.mjs → MazCarousel-COTaKhKF.mjs} +20 -21
- package/components/chunks/{MazCheckbox-BmnqBHaY.mjs → MazCheckbox-B-Sw22La.mjs} +63 -60
- package/components/chunks/{MazCheckbox-Cq9gpTEw.mjs → MazCheckbox-DjY15PA3.mjs} +63 -58
- package/components/chunks/{MazCheckbox-2G4VkxDz.mjs → MazCheckbox-DxfneUvu.mjs} +63 -59
- package/components/chunks/{MazChecklist-CY1Cv70T.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-CZOokGAt.mjs → MazGallery-BooLoRWi.mjs} +64 -68
- package/components/chunks/{MazGallery-BknvUeo1.mjs → MazGallery-DUOQamrE.mjs} +63 -67
- package/components/chunks/MazIcon-BX2Gbz8R.mjs +4 -0
- package/components/chunks/{MazIcon-DjMuw8Bz.mjs → MazIcon-C-aPrqx2.mjs} +4 -3
- package/components/chunks/{MazIcon-z-jTiuyI.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-BrxE5WVf.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-Cd25AzXc.mjs → MazPhoneNumberInput-B5Up8CqL.mjs} +596 -612
- package/components/chunks/MazPicker-CzYUZcLy.mjs +2487 -0
- package/components/chunks/{MazPickerMonthSwitcher-CyHYx8TT.mjs → MazPickerMonthSwitcher-Ds5agR3Z.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-Bsi8cnox.mjs → MazPickerShortcuts-BP6CY9-c.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-DLUSMAtz.mjs → MazPickerYearSwitcher-PM8qZMzR.mjs} +1 -1
- package/components/chunks/MazSelect-DOexatNj.mjs +871 -0
- package/components/chunks/{MazSelect-uCJPMXF-.mjs → MazSelect-DaDRzcT_.mjs} +172 -188
- package/components/chunks/{MazSpinner-2D0ZmAQz.mjs → MazSpinner-9M_EGMpy.mjs} +1 -1
- package/components/chunks/{MazSpinner-C1Ip-Dwh.mjs → MazSpinner-BJpv1muf.mjs} +1 -1
- package/components/chunks/{MazSpinner-Cqp-BMvL.mjs → MazSpinner-BlbTztM3.mjs} +1 -1
- package/components/chunks/{MazSpinner-BT_717pD.mjs → MazSpinner-Bsy1nA3c.mjs} +1 -1
- package/components/chunks/{MazSpinner-B9OwpEP_.mjs → MazSpinner-C30YfScc.mjs} +1 -1
- 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-Bvb-lKER.mjs → MazSpinner-CkKIUYXO.mjs} +1 -1
- package/components/chunks/{MazSpinner-EFo8dM46.mjs → MazSpinner-CxyUHAvm.mjs} +1 -1
- package/components/chunks/MazSpinner-DROgQW2M.mjs +34 -0
- package/components/chunks/MazSpinner-DjUU4G1h.mjs +34 -0
- 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-Cuz5QI08.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-BDA9G6Zw.mjs → MazTableTitle-OEgTPQB3.mjs} +4 -4
- package/components/chunks/MazTabsBar-CT35SCIK.mjs +177 -0
- package/components/chunks/{MazTransitionExpand-C-FHhOGB.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-DllGg8tw.mjs → MazIcon-CeT6HK_q.mjs} +4 -3
- package/modules/chunks/{MazIcon-dhyR9Q8a.cjs → MazIcon-D-Gna0vz.cjs} +1 -1
- package/modules/chunks/{MazSpinner-bdGjxsu6.mjs → MazSpinner-DV--lwdI.mjs} +1 -1
- package/modules/chunks/{MazSpinner-CiIyZ8gs.cjs → MazSpinner-DersvZQw.cjs} +1 -1
- package/modules/chunks/index-DvromXrX.cjs +124 -0
- package/modules/chunks/{index-x2F1l5sr.mjs → index-Kry9j5uD.mjs} +224 -249
- 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/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 +14 -8
- 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 +2 -2
- package/types/modules/helpers/inject-strict.d.ts +2 -1
- package/types/tailwindcss/variables/colors.d.ts +2 -0
- package/components/chunks/MazBtn-BO3G90L3.mjs +0 -118
- package/components/chunks/MazBtn-BRUaoP8j.mjs +0 -126
- package/components/chunks/MazBtn-BhnOApJu.mjs +0 -118
- package/components/chunks/MazBtn-C28vKP_v.mjs +0 -118
- package/components/chunks/MazBtn-C87UEsVs.mjs +0 -118
- package/components/chunks/MazBtn-C_l3xuAh.mjs +0 -118
- package/components/chunks/MazBtn-CweCwE_4.mjs +0 -118
- package/components/chunks/MazBtn-D7IKoL2c.mjs +0 -118
- package/components/chunks/MazBtn-DJOUeES7.mjs +0 -118
- package/components/chunks/MazBtn-DVkwISlp.mjs +0 -118
- package/components/chunks/MazBtn-DadFupkY.mjs +0 -118
- package/components/chunks/MazBtn-DzBXfedt.mjs +0 -123
- package/components/chunks/MazBtn-GGcGrIH4.mjs +0 -118
- package/components/chunks/MazBtn-Mu18egu5.mjs +0 -118
- package/components/chunks/MazDialogPromise-BCCdkrea.mjs +0 -522
- package/components/chunks/MazExpandAnimation-Bkw_wFTi.mjs +0 -58
- package/components/chunks/MazInput-BQoQSRyL.mjs +0 -302
- package/components/chunks/MazInput-CJQB68c-.mjs +0 -290
- package/components/chunks/MazInput-oOA7gdLO.mjs +0 -291
- package/components/chunks/MazInputNumber-B4mQJcVB.mjs +0 -593
- package/components/chunks/MazInputTags-BVCej_gW.mjs +0 -606
- package/components/chunks/MazLink-Dl9ePCGm.mjs +0 -79
- package/components/chunks/MazLoadingBar-Dwf55oHy.mjs +0 -32
- package/components/chunks/MazPagination-CHTMRRqE.mjs +0 -362
- package/components/chunks/MazPicker-C78yxilJ.mjs +0 -2477
- package/components/chunks/MazSelect-CQDoUpgp.mjs +0 -864
- package/components/chunks/MazSpinner-C23CZ_Za.mjs +0 -34
- package/components/chunks/MazSpinner-CViChjTw.mjs +0 -34
- package/components/chunks/MazSpinner-CZMBhCOJ.mjs +0 -34
- package/components/chunks/MazSpinner-CsEQ9EXb.mjs +0 -34
- package/components/chunks/MazSpinner-D4C84xZe.mjs +0 -34
- package/components/chunks/MazSpinner-Dyf9yb51.mjs +0 -34
- package/components/chunks/MazSpinner-QHjOczon.mjs +0 -34
- package/components/chunks/MazSpinner-u8WQTgUR.mjs +0 -34
- package/components/chunks/MazSpinner-w-S5uCxg.mjs +0 -34
- package/components/chunks/MazStepper-DRWtYHZR.mjs +0 -232
- package/components/chunks/MazTableCell-D_OTOJiy.mjs +0 -23
- package/components/chunks/MazTableRow-BTcVAyOy.mjs +0 -30
- package/components/chunks/MazTabsBar-JkRzMDM6.mjs +0 -203
- package/modules/chunks/MazBtn-BSnVxud6.mjs +0 -118
- package/modules/chunks/MazBtn-Bf9Cq5M7.cjs +0 -9
- package/modules/chunks/index-BPqjUr5e.cjs +0 -149
|
@@ -1,65 +1,6 @@
|
|
|
1
1
|
import type { Color } from './types';
|
|
2
2
|
import { type SVGAttributes } from 'vue';
|
|
3
|
-
|
|
4
|
-
slots: {
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
prefix?(_: {}): any;
|
|
7
|
-
suffix?(_: {}): any;
|
|
8
|
-
};
|
|
9
|
-
refs: {};
|
|
10
|
-
attrs: Partial<{}>;
|
|
11
|
-
};
|
|
12
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
14
|
-
/**
|
|
15
|
-
* The percentage value of the progress bar
|
|
16
|
-
*/
|
|
17
|
-
percentage: number;
|
|
18
|
-
/**
|
|
19
|
-
* The size of the progress bar
|
|
20
|
-
* @default '10em' (equal 80px for a font-size of 16px)
|
|
21
|
-
*/
|
|
22
|
-
size?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Duration of the animation in milliseconds
|
|
25
|
-
* @default 1000
|
|
26
|
-
*/
|
|
27
|
-
duration?: number;
|
|
28
|
-
/**
|
|
29
|
-
* The color of the progress bar
|
|
30
|
-
*/
|
|
31
|
-
color?: Color;
|
|
32
|
-
/**
|
|
33
|
-
* Auto color based on the count (danger, warning, success)
|
|
34
|
-
* @default false
|
|
35
|
-
*/
|
|
36
|
-
autoColor?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Suffix to display next to the number
|
|
39
|
-
*/
|
|
40
|
-
prefix?: string;
|
|
41
|
-
/**
|
|
42
|
-
* Suffix to display next to the number
|
|
43
|
-
*/
|
|
44
|
-
suffix?: string;
|
|
45
|
-
/**
|
|
46
|
-
* The stroke-linecap style
|
|
47
|
-
* @default 'round'
|
|
48
|
-
* @values 'butt', 'round', 'square', 'inherit'
|
|
49
|
-
*/
|
|
50
|
-
strokeLinecap?: SVGAttributes["stroke-linecap"];
|
|
51
|
-
/**
|
|
52
|
-
* The stroke width
|
|
53
|
-
* @default 6
|
|
54
|
-
*/
|
|
55
|
-
strokeWidth?: SVGAttributes["width"];
|
|
56
|
-
/**
|
|
57
|
-
* The stroke color
|
|
58
|
-
* Use this prop to override the gradient color
|
|
59
|
-
* You can use a color name or a color code
|
|
60
|
-
*/
|
|
61
|
-
stroke?: SVGAttributes["stroke"];
|
|
62
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
3
|
+
type __VLS_Props = {
|
|
63
4
|
/**
|
|
64
5
|
* The percentage value of the progress bar
|
|
65
6
|
*/
|
|
@@ -96,29 +37,41 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
96
37
|
* @default 'round'
|
|
97
38
|
* @values 'butt', 'round', 'square', 'inherit'
|
|
98
39
|
*/
|
|
99
|
-
strokeLinecap?: SVGAttributes[
|
|
40
|
+
strokeLinecap?: SVGAttributes['stroke-linecap'];
|
|
100
41
|
/**
|
|
101
42
|
* The stroke width
|
|
102
43
|
* @default 6
|
|
103
44
|
*/
|
|
104
|
-
strokeWidth?: SVGAttributes[
|
|
45
|
+
strokeWidth?: SVGAttributes['width'];
|
|
105
46
|
/**
|
|
106
47
|
* The stroke color
|
|
107
48
|
* Use this prop to override the gradient color
|
|
108
49
|
* You can use a color name or a color code
|
|
109
50
|
*/
|
|
110
|
-
stroke?: SVGAttributes[
|
|
111
|
-
}
|
|
51
|
+
stroke?: SVGAttributes['stroke'];
|
|
52
|
+
};
|
|
53
|
+
declare function __VLS_template(): {
|
|
54
|
+
attrs: Partial<{}>;
|
|
55
|
+
slots: {
|
|
56
|
+
default?(_: {}): any;
|
|
57
|
+
prefix?(_: {}): any;
|
|
58
|
+
suffix?(_: {}): any;
|
|
59
|
+
};
|
|
60
|
+
refs: {};
|
|
61
|
+
rootEl: HTMLDivElement;
|
|
62
|
+
};
|
|
63
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
64
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
112
65
|
size: string;
|
|
113
66
|
color: Color;
|
|
114
|
-
stroke: string;
|
|
115
67
|
duration: number;
|
|
116
68
|
prefix: string;
|
|
117
69
|
suffix: string;
|
|
70
|
+
stroke: string;
|
|
118
71
|
percentage: number;
|
|
119
72
|
strokeLinecap: "inherit" | "round" | "square" | "butt";
|
|
120
73
|
strokeWidth: string | number;
|
|
121
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
74
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
122
75
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
123
76
|
export default _default;
|
|
124
77
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { useId as w, computed as r, defineComponent as
|
|
2
|
-
import './assets/MazCircularProgressBar.css';function
|
|
1
|
+
import { useId as w, computed as r, defineComponent as g, useSlots as _, ref as S, watch as B, openBlock as p, createElementBlock as m, normalizeClass as M, normalizeStyle as y, createElementVNode as n, renderSlot as l, createTextVNode as i, toDisplayString as u, createCommentVNode as I, unref as k, createBlock as P, createSlots as N, withCtx as x } from "vue";
|
|
2
|
+
import './assets/MazCircularProgressBar.css';function A({
|
|
3
3
|
componentName: a,
|
|
4
4
|
providedId: e
|
|
5
5
|
}) {
|
|
6
6
|
const s = w();
|
|
7
7
|
return r(() => e ?? `${a}-${s}`);
|
|
8
8
|
}
|
|
9
|
-
const V = { class: "maz-sr-only" },
|
|
9
|
+
const V = { class: "maz-sr-only" }, b = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "m-animated-counter__fix"
|
|
12
|
-
},
|
|
12
|
+
}, D = /* @__PURE__ */ g({
|
|
13
13
|
__name: "MazAnimatedCounter",
|
|
14
14
|
props: {
|
|
15
15
|
count: {},
|
|
@@ -18,28 +18,28 @@ const V = { class: "maz-sr-only" }, D = {
|
|
|
18
18
|
suffix: { default: void 0 }
|
|
19
19
|
},
|
|
20
20
|
setup(a) {
|
|
21
|
-
|
|
22
|
-
"7cf84c3b": h.value,
|
|
23
|
-
a2b7049a: t.count
|
|
24
|
-
}));
|
|
25
|
-
const e = a, s = y(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c = S(!0);
|
|
21
|
+
const e = a, s = _(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c = S(!0);
|
|
26
22
|
B(
|
|
27
23
|
() => e.count,
|
|
28
|
-
(t,
|
|
29
|
-
t !==
|
|
24
|
+
(t, h) => {
|
|
25
|
+
t !== h && (c.value = !1, setTimeout(() => {
|
|
30
26
|
c.value = !0;
|
|
31
27
|
}, 100));
|
|
32
28
|
}
|
|
33
29
|
);
|
|
34
|
-
const
|
|
35
|
-
return (t,
|
|
30
|
+
const v = r(() => `${e.duration}ms`);
|
|
31
|
+
return (t, h) => (p(), m(
|
|
36
32
|
"span",
|
|
37
33
|
{
|
|
38
|
-
class:
|
|
34
|
+
class: M(["m-animated-counter", {
|
|
39
35
|
"--animated": c.value,
|
|
40
36
|
"--prefixed": f.value,
|
|
41
37
|
"--suffixed": d.value
|
|
42
|
-
}])
|
|
38
|
+
}]),
|
|
39
|
+
style: y({
|
|
40
|
+
"--count": t.count,
|
|
41
|
+
"--animation-duration": v.value
|
|
42
|
+
})
|
|
43
43
|
},
|
|
44
44
|
[
|
|
45
45
|
n("span", V, [
|
|
@@ -63,8 +63,7 @@ const V = { class: "maz-sr-only" }, D = {
|
|
|
63
63
|
)
|
|
64
64
|
], !0)
|
|
65
65
|
]),
|
|
66
|
-
f.value || d.value ? (p(),
|
|
67
|
-
m(' @slot Prefix slot - Add a prefix next to the number (e.g: "$") '),
|
|
66
|
+
f.value || d.value ? (p(), m("span", b, [
|
|
68
67
|
l(t.$slots, "prefix", {}, () => [
|
|
69
68
|
i(
|
|
70
69
|
u(t.prefix),
|
|
@@ -72,7 +71,6 @@ const V = { class: "maz-sr-only" }, D = {
|
|
|
72
71
|
/* TEXT */
|
|
73
72
|
)
|
|
74
73
|
], !0),
|
|
75
|
-
m(' @slot Suffix slot - Add a suffix next to the number (e.g: "%") '),
|
|
76
74
|
l(t.$slots, "suffix", {}, () => [
|
|
77
75
|
i(
|
|
78
76
|
u(t.suffix),
|
|
@@ -80,23 +78,23 @@ const V = { class: "maz-sr-only" }, D = {
|
|
|
80
78
|
/* TEXT */
|
|
81
79
|
)
|
|
82
80
|
], !0)
|
|
83
|
-
])) :
|
|
81
|
+
])) : I("v-if", !0)
|
|
84
82
|
],
|
|
85
|
-
|
|
86
|
-
/* CLASS */
|
|
83
|
+
6
|
|
84
|
+
/* CLASS, STYLE */
|
|
87
85
|
));
|
|
88
86
|
}
|
|
89
|
-
}),
|
|
87
|
+
}), $ = (a, e) => {
|
|
90
88
|
const s = a.__vccOpts || a;
|
|
91
89
|
for (const [f, d] of e)
|
|
92
90
|
s[f] = d;
|
|
93
91
|
return s;
|
|
94
|
-
},
|
|
92
|
+
}, E = /* @__PURE__ */ $(D, [["__scopeId", "data-v-fc78b268"]]), L = { class: "outer" }, T = { class: "inner" }, W = { key: 0 }, j = {
|
|
95
93
|
xmlns: "http://www.w3.org/2000/svg",
|
|
96
94
|
height: "1em",
|
|
97
95
|
width: "1em",
|
|
98
96
|
viewBox: "0 0 100 100"
|
|
99
|
-
},
|
|
97
|
+
}, q = ["id"], G = ["stop-color"], O = ["stop-color"], U = ["stroke-width", "stroke", "stroke-linecap"], F = /* @__PURE__ */ g({
|
|
100
98
|
__name: "MazCircularProgressBar",
|
|
101
99
|
props: {
|
|
102
100
|
percentage: { default: 0 },
|
|
@@ -111,47 +109,45 @@ const V = { class: "maz-sr-only" }, D = {
|
|
|
111
109
|
stroke: { default: void 0 }
|
|
112
110
|
},
|
|
113
111
|
setup(a) {
|
|
114
|
-
|
|
115
|
-
"6e9e446d": C.value,
|
|
116
|
-
"31fcb5e0": b.value
|
|
117
|
-
}));
|
|
118
|
-
const e = a, s = y(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c = N({
|
|
112
|
+
const e = a, s = _(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c = A({
|
|
119
113
|
componentName: "MazCircularProgressBar"
|
|
120
|
-
}),
|
|
121
|
-
() => e.autoColor ?
|
|
114
|
+
}), v = r(() => e.percentage > 100 ? 100 : e.percentage <= 0 ? 0.5 : e.percentage), t = r(
|
|
115
|
+
() => e.autoColor ? h(v.value) : e.color
|
|
122
116
|
);
|
|
123
|
-
function
|
|
117
|
+
function h(o) {
|
|
124
118
|
return o < 50 || o > 100 ? "danger" : o < 100 ? "warning" : "success";
|
|
125
119
|
}
|
|
126
|
-
const
|
|
127
|
-
return (o, H) => (p(),
|
|
120
|
+
const z = r(() => `${e.duration}ms`), C = r(() => Math.round(290 - 290 * (v.value / 100)));
|
|
121
|
+
return (o, H) => (p(), m(
|
|
128
122
|
"div",
|
|
129
123
|
{
|
|
130
124
|
class: "m-circular-progress-bar",
|
|
131
|
-
style:
|
|
125
|
+
style: y([
|
|
126
|
+
{
|
|
127
|
+
"--animation-duration": z.value,
|
|
128
|
+
"--dashoffset": C.value
|
|
129
|
+
},
|
|
132
130
|
{
|
|
133
131
|
fontSize: o.size
|
|
134
132
|
}
|
|
135
133
|
])
|
|
136
134
|
},
|
|
137
135
|
[
|
|
138
|
-
n("div",
|
|
139
|
-
n("div",
|
|
140
|
-
|
|
141
|
-
m(" @slot Default slot - Replace the percaentage value "),
|
|
136
|
+
n("div", L, [
|
|
137
|
+
n("div", T, [
|
|
138
|
+
k(s).default ? (p(), m("span", W, [
|
|
142
139
|
l(o.$slots, "default", {}, void 0, !0)
|
|
143
|
-
])) : (p(),
|
|
140
|
+
])) : (p(), P(E, {
|
|
144
141
|
key: 1,
|
|
145
142
|
count: o.percentage,
|
|
146
143
|
duration: o.duration
|
|
147
|
-
},
|
|
144
|
+
}, N({
|
|
148
145
|
_: 2
|
|
149
146
|
/* DYNAMIC */
|
|
150
147
|
}, [
|
|
151
148
|
f.value ? {
|
|
152
149
|
name: "prefix",
|
|
153
|
-
fn:
|
|
154
|
-
m(' @slot Prefix slot - Add a prefix next to the number (e.g: "$") '),
|
|
150
|
+
fn: x(() => [
|
|
155
151
|
l(o.$slots, "prefix", {}, () => [
|
|
156
152
|
i(
|
|
157
153
|
u(o.prefix),
|
|
@@ -164,8 +160,7 @@ const V = { class: "maz-sr-only" }, D = {
|
|
|
164
160
|
} : void 0,
|
|
165
161
|
d.value ? {
|
|
166
162
|
name: "suffix",
|
|
167
|
-
fn:
|
|
168
|
-
m(' @slot Suffix slot - Add a suffix next to the number (e.g: "%") '),
|
|
163
|
+
fn: x(() => [
|
|
169
164
|
l(o.$slots, "suffix", {}, () => [
|
|
170
165
|
i(
|
|
171
166
|
u(o.suffix),
|
|
@@ -179,10 +174,10 @@ const V = { class: "maz-sr-only" }, D = {
|
|
|
179
174
|
]), 1032, ["count", "duration"]))
|
|
180
175
|
])
|
|
181
176
|
]),
|
|
182
|
-
(p(),
|
|
177
|
+
(p(), m("svg", j, [
|
|
183
178
|
n("defs", null, [
|
|
184
179
|
n("linearGradient", {
|
|
185
|
-
id: `${
|
|
180
|
+
id: `${k(c)}-gradient`,
|
|
186
181
|
x1: "0",
|
|
187
182
|
x2: "0",
|
|
188
183
|
y1: "1",
|
|
@@ -191,12 +186,12 @@ const V = { class: "maz-sr-only" }, D = {
|
|
|
191
186
|
n("stop", {
|
|
192
187
|
offset: "0%",
|
|
193
188
|
"stop-color": t.value ? `var(--maz-color-${t.value}-400)` : "var(--maz-color-primary)"
|
|
194
|
-
}, null, 8,
|
|
189
|
+
}, null, 8, G),
|
|
195
190
|
n("stop", {
|
|
196
191
|
offset: "100%",
|
|
197
192
|
"stop-color": t.value ? `var(--maz-color-${t.value}-700)` : "var(--maz-color-secondary)"
|
|
198
|
-
}, null, 8,
|
|
199
|
-
], 8,
|
|
193
|
+
}, null, 8, O)
|
|
194
|
+
], 8, q)
|
|
200
195
|
]),
|
|
201
196
|
n("circle", {
|
|
202
197
|
cx: "50",
|
|
@@ -205,7 +200,7 @@ const V = { class: "maz-sr-only" }, D = {
|
|
|
205
200
|
"stroke-width": o.strokeWidth,
|
|
206
201
|
"stroke-dasharray": "290",
|
|
207
202
|
"stroke-dashoffset": "290",
|
|
208
|
-
stroke: o.stroke ? o.stroke : `url(#${
|
|
203
|
+
stroke: o.stroke ? o.stroke : `url(#${k(c)}-gradient)`,
|
|
209
204
|
fill: "none",
|
|
210
205
|
"stroke-linecap": o.strokeLinecap
|
|
211
206
|
}, null, 8, U)
|
|
@@ -215,7 +210,7 @@ const V = { class: "maz-sr-only" }, D = {
|
|
|
215
210
|
/* STYLE */
|
|
216
211
|
));
|
|
217
212
|
}
|
|
218
|
-
}), K = /* @__PURE__ */
|
|
213
|
+
}), K = /* @__PURE__ */ $(F, [["__scopeId", "data-v-fd325305"]]);
|
|
219
214
|
export {
|
|
220
215
|
K as default
|
|
221
216
|
};
|
|
@@ -19,7 +19,9 @@ export interface InternalProps {
|
|
|
19
19
|
persistent?: boolean;
|
|
20
20
|
}
|
|
21
21
|
export type Props = InternalProps & MazBackdropProps;
|
|
22
|
+
type __VLS_Props = Props & MazBackdropProps;
|
|
22
23
|
declare function __VLS_template(): {
|
|
24
|
+
attrs: Partial<{}>;
|
|
23
25
|
slots: {
|
|
24
26
|
header?(_: {
|
|
25
27
|
close: () => void;
|
|
@@ -141,16 +143,16 @@ declare function __VLS_template(): {
|
|
|
141
143
|
};
|
|
142
144
|
}) | null;
|
|
143
145
|
};
|
|
144
|
-
|
|
146
|
+
rootEl: any;
|
|
145
147
|
};
|
|
146
148
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
147
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
149
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
|
|
148
150
|
close: () => any;
|
|
149
151
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
150
152
|
close: (value: void) => any;
|
|
151
153
|
open: (value: void) => any;
|
|
152
154
|
"update:model-value": (value: boolean) => any;
|
|
153
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
155
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
154
156
|
onClose?: ((value?: void | undefined) => any) | undefined;
|
|
155
157
|
onOpen?: ((value?: void | undefined) => any) | undefined;
|
|
156
158
|
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
package/components/MazDialog.mjs
CHANGED
|
@@ -11,6 +11,7 @@ export interface Props {
|
|
|
11
11
|
noClose?: boolean;
|
|
12
12
|
}
|
|
13
13
|
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
14
15
|
slots: {
|
|
15
16
|
title?(_: {
|
|
16
17
|
close: () => void;
|
|
@@ -20,7 +21,7 @@ declare function __VLS_template(): {
|
|
|
20
21
|
}): any;
|
|
21
22
|
};
|
|
22
23
|
refs: {};
|
|
23
|
-
|
|
24
|
+
rootEl: any;
|
|
24
25
|
};
|
|
25
26
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
27
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
package/components/MazDrawer.mjs
CHANGED
|
@@ -128,7 +128,7 @@ import './assets/MazDrawer.css';const A = "--backdrop-present", U = /* @__PURE__
|
|
|
128
128
|
},
|
|
129
129
|
emits: ["before-close", "open", "close", "update:model-value"],
|
|
130
130
|
setup(b) {
|
|
131
|
-
const i = B(() => import("./chunks/MazBtn-
|
|
131
|
+
const i = B(() => import("./chunks/MazBtn-CIAdgMGr.mjs").then((e) => e.M)), c = B(() => import("./chunks/x-mark-CnZwVvA7.mjs"));
|
|
132
132
|
return (e, t) => (r(), h(U, {
|
|
133
133
|
"backdrop-class": ["m-drawer", `--${e.variant}`, e.backdropClass],
|
|
134
134
|
style: F({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { RouteLocationRaw } from 'vue-router';
|
|
2
2
|
import type { Color } from './MazBtn.vue';
|
|
3
3
|
import type { MazLinkProps } from './MazLink.vue';
|
|
4
|
-
import type { Position } from './types';
|
|
4
|
+
import type { Icon, Position, Size } from './types';
|
|
5
5
|
import { type HTMLAttributes } from 'vue';
|
|
6
|
-
export type { Color, Position };
|
|
6
|
+
export type { Color, Position, Size };
|
|
7
7
|
type ItemBase = Record<string, unknown> & {
|
|
8
8
|
label: string;
|
|
9
9
|
class?: unknown;
|
|
@@ -77,14 +77,34 @@ export interface MazDropdownProps {
|
|
|
77
77
|
* If true, the button will have a full width
|
|
78
78
|
*/
|
|
79
79
|
block?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Custom dropdown icon
|
|
82
|
+
* You can use a string to define the icon name or a Vue component
|
|
83
|
+
* @default undefined
|
|
84
|
+
*/
|
|
85
|
+
dropdownIcon?: string | Icon;
|
|
86
|
+
/**
|
|
87
|
+
* If true, the dropdown icon will rotate when the dropdown is open
|
|
88
|
+
* @default true
|
|
89
|
+
*/
|
|
90
|
+
dropdownIconAnimation?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Size of the button
|
|
93
|
+
* @default 'md'
|
|
94
|
+
*/
|
|
95
|
+
size?: Size;
|
|
80
96
|
}
|
|
81
97
|
declare function __VLS_template(): {
|
|
98
|
+
attrs: Partial<{}>;
|
|
82
99
|
slots: {
|
|
83
100
|
"screen-reader-description"?(_: {}): any;
|
|
84
101
|
element?(_: {
|
|
85
102
|
isOpen: boolean;
|
|
86
103
|
}): any;
|
|
87
104
|
default?(_: {}): any;
|
|
105
|
+
"dropdown-icon"?(_: {
|
|
106
|
+
isOpen: boolean;
|
|
107
|
+
}): any;
|
|
88
108
|
dropdown?(_: {
|
|
89
109
|
items: MenuItem[];
|
|
90
110
|
}): any;
|
|
@@ -119,7 +139,7 @@ declare function __VLS_template(): {
|
|
|
119
139
|
}): any;
|
|
120
140
|
};
|
|
121
141
|
refs: {};
|
|
122
|
-
|
|
142
|
+
rootEl: any;
|
|
123
143
|
};
|
|
124
144
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
125
145
|
declare const __VLS_component: import("vue").DefineComponent<MazDropdownProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -130,6 +150,7 @@ declare const __VLS_component: import("vue").DefineComponent<MazDropdownProps, {
|
|
|
130
150
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
131
151
|
}>, {
|
|
132
152
|
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
153
|
+
size: Size;
|
|
133
154
|
color: Color;
|
|
134
155
|
class: HTMLAttributes["class"];
|
|
135
156
|
id: string;
|
|
@@ -137,6 +158,7 @@ declare const __VLS_component: import("vue").DefineComponent<MazDropdownProps, {
|
|
|
137
158
|
trigger: "click" | "hover" | "both";
|
|
138
159
|
items: MenuItem[];
|
|
139
160
|
screenReaderDescription: string;
|
|
161
|
+
dropdownIconAnimation: boolean;
|
|
140
162
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
141
163
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
142
164
|
export default _default;
|