maz-ui 3.43.4 → 3.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/MazAccordion.d.ts +2 -2
- package/components/MazAccordion.mjs +84 -84
- package/components/MazAnimatedCounter.mjs +9 -10
- package/components/MazAvatar.d.ts +3 -3
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBackdrop.d.ts +2 -2
- package/components/MazBackdrop.mjs +12 -10
- package/components/MazBadge.d.ts +2 -2
- package/components/MazBadge.mjs +3 -4
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.d.ts +7 -5
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.d.ts +3 -3
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.d.ts +2 -2
- package/components/MazCardSpotlight.mjs +4 -5
- package/components/MazCarousel.d.ts +2 -2
- package/components/MazCarousel.mjs +1 -1
- package/components/MazChart.d.ts +1 -1
- package/components/MazCheckbox.d.ts +2 -2
- package/components/MazCheckbox.mjs +10 -11
- package/components/MazCircularProgressBar.d.ts +1 -1
- package/components/MazCircularProgressBar.mjs +21 -23
- package/components/MazDialog.d.ts +2 -2
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.d.ts +2 -2
- package/components/MazDrawer.mjs +71 -69
- package/components/MazDropdown.d.ts +7 -6
- package/components/MazDropdown.mjs +130 -128
- package/components/MazDropzone.d.ts +1 -1
- package/components/MazDropzone.mjs +1 -1
- package/components/MazExpandAnimation.d.ts +2 -2
- package/components/MazExpandAnimation.mjs +26 -26
- package/components/MazFullscreenLoader.d.ts +2 -2
- package/components/MazFullscreenLoader.mjs +11 -10
- package/components/MazGallery.d.ts +2 -2
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.mjs +45 -34
- package/components/MazInput.d.ts +4 -4
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.d.ts +2 -2
- package/components/MazInputCode.mjs +4 -5
- package/components/MazInputNumber.d.ts +2 -2
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.d.ts +2 -2
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.d.ts +7 -2
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.d.ts +2 -2
- package/components/MazLazyImg.mjs +1 -1
- package/components/MazLink.d.ts +6 -6
- package/components/MazLink.mjs +3 -4
- package/components/MazLoadingBar.d.ts +2 -2
- package/components/MazLoadingBar.mjs +17 -18
- package/components/MazPagination.d.ts +3 -3
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
- package/components/MazPhoneNumberInput/types.d.ts +5 -5
- package/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
- package/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
- package/components/MazPhoneNumberInput.d.ts +8 -8
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
- package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
- package/components/MazPicker/types.d.ts +4 -4
- package/components/MazPicker/utils.d.ts +4 -4
- package/components/MazPicker.d.ts +3 -3
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.d.ts +2 -2
- package/components/MazPullToRefresh.mjs +1 -1
- package/components/MazRadio.mjs +8 -9
- package/components/MazRadioButtons.d.ts +2 -2
- package/components/MazRadioButtons.mjs +44 -42
- package/components/MazReadingProgressBar.d.ts +2 -2
- package/components/MazReadingProgressBar.mjs +12 -13
- package/components/MazSelect.d.ts +4 -4
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider/utils.d.ts +4 -4
- package/components/MazSlider.mjs +100 -87
- package/components/MazSpinner.mjs +6 -7
- package/components/MazStepper.d.ts +3 -3
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.d.ts +2 -2
- package/components/MazSwitch.mjs +6 -6
- package/components/MazTable.d.ts +13 -10
- package/components/MazTable.mjs +1 -1
- package/components/MazTableCell.mjs +4 -5
- package/components/MazTableRow.d.ts +2 -2
- package/components/MazTableRow.mjs +4 -5
- package/components/MazTableTitle.mjs +2 -3
- package/components/MazTabs.d.ts +4 -4
- package/components/MazTabsBar.d.ts +7 -5
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContent.mjs +5 -4
- package/components/MazTabsContentItem.mjs +16 -17
- package/components/MazTextarea.d.ts +2 -2
- package/components/MazTextarea.mjs +19 -17
- package/components/MazTransitionExpand.d.ts +2 -2
- package/components/MazTransitionExpand.mjs +19 -18
- 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/MazBottomSheet.css +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazCard.css +1 -1
- package/components/assets/MazCardSpotlight.css +1 -1
- package/components/assets/MazCarousel.css +1 -1
- package/components/assets/MazCheckbox.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/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/MazLazyImg.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/MazPickerMonthSwitcher.css +1 -1
- package/components/assets/MazPickerShortcuts.css +1 -1
- package/components/assets/MazPickerYearSwitcher.css +1 -1
- package/components/assets/MazPullToRefresh.css +1 -1
- package/components/assets/MazRadio.css +1 -1
- package/components/assets/MazRadioButtons.css +1 -1
- package/components/assets/MazReadingProgressBar.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazSlider.css +1 -1
- package/components/assets/MazSpinner.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-DsJvzyS9.mjs → MazAvatar-BU1nJFcV.mjs} +8 -9
- package/components/chunks/{MazBadge-CYJlqITD.mjs → MazBadge-CwA0md19.mjs} +4 -5
- package/components/chunks/{MazBottomSheet-CIlIdn-2.mjs → MazBottomSheet-DUOIusEi.mjs} +54 -52
- package/components/chunks/{MazBtn-CCNGs6oo.mjs → MazBtn-5BSKOcqG.mjs} +35 -36
- package/components/chunks/{MazBtn-Ccvl1ZWv.mjs → MazBtn-B1-sTc7F.mjs} +31 -32
- package/components/chunks/{MazBtn-BC5OegPu.mjs → MazBtn-BY8WCtM7.mjs} +35 -36
- package/components/chunks/{MazBtn-CX4OgPzp.mjs → MazBtn-C5G78zLg.mjs} +35 -36
- package/components/chunks/MazBtn-CeVwyYR5.mjs +150 -0
- package/components/chunks/{MazBtn-BqgdERYQ.mjs → MazBtn-ColLVUca.mjs} +35 -36
- package/components/chunks/{MazBtn-beTASOLt.mjs → MazBtn-DJhQqzja.mjs} +35 -36
- package/components/chunks/MazBtn-DuY28-0U.mjs +150 -0
- package/components/chunks/{MazBtn-BydIwD1J.mjs → MazBtn-f1mBXJeU.mjs} +31 -32
- package/components/chunks/MazBtn-h3WmmaEO.mjs +150 -0
- package/components/chunks/MazBtn-zyRLUViT.mjs +150 -0
- package/components/chunks/{MazCard-bmiVPg8p.mjs → MazCard-BWxV_Z-i.mjs} +25 -26
- package/components/chunks/{MazCarousel-CL0bMygd.mjs → MazCarousel-D5EmW7Sa.mjs} +43 -35
- package/components/chunks/{MazCheckbox-DsFbvpp4.mjs → MazCheckbox-BWiMbecz.mjs} +11 -12
- package/components/chunks/{MazCheckbox-CCa7grGF.mjs → MazCheckbox-D3PXkt75.mjs} +11 -12
- package/components/chunks/{MazDialog-BckFta4N.mjs → MazDialog-CLWKCphI.mjs} +56 -54
- package/components/chunks/{MazDialogPromise-Bb6h4hFz.mjs → MazDialogPromise-DVOJwdVp.mjs} +139 -126
- package/components/chunks/{MazDropzone-C_8mRUbK.mjs → MazDropzone-Dm2IirHm.mjs} +33 -54
- package/components/chunks/MazExpandAnimation-ChSSdQAq.mjs +58 -0
- package/components/chunks/{MazGallery-CcpeM_zk.mjs → MazGallery-BlfPe8WG.mjs} +103 -101
- package/components/chunks/{MazGallery-6UK5sH9P.mjs → MazGallery-Bn9p1gNb.mjs} +102 -100
- package/{modules/chunks/MazIcon-CiNswMKM.mjs → components/chunks/MazIcon-B8A0hQAH.mjs} +45 -34
- package/components/chunks/{MazIcon-Cxrv3_OK.mjs → MazIcon-BDGxCy9M.mjs} +45 -34
- package/components/chunks/{MazIcon-BKuhvwwq.mjs → MazIcon-D3umgnku.mjs} +45 -34
- package/components/chunks/{MazInput-DNwBL54e.mjs → MazInput-BpsE-mdg.mjs} +69 -69
- package/components/chunks/{MazInputNumber-BSdVF8-q.mjs → MazInputNumber-DGBYbDSX.mjs} +186 -182
- package/components/chunks/{MazInputPrice-osrAz4xd.mjs → MazInputPrice-j2BNMeFp.mjs} +134 -129
- package/components/chunks/{MazInputTags-XUWwx6p8.mjs → MazInputTags-CJofVaj5.mjs} +234 -252
- package/components/chunks/{MazLazyImg-6qrfqWKr.mjs → MazLazyImg-BFG6FIJZ.mjs} +6 -7
- package/components/chunks/{MazLazyImg-BelScAEF.mjs → MazLazyImg-Dboc6Xfz.mjs} +5 -6
- package/components/chunks/{MazPagination-DUiHgLAp.mjs → MazPagination-C6ZehQSZ.mjs} +118 -119
- package/components/chunks/{MazPhoneNumberInput-HeEEyDu0.mjs → MazPhoneNumberInput-DpWoNQfx.mjs} +707 -695
- package/components/chunks/MazPicker-ia2BEmm5.mjs +2531 -0
- package/components/chunks/{MazPickerMonthSwitcher-CoV-84J1.mjs → MazPickerMonthSwitcher-CKtfZ_m-.mjs} +19 -19
- package/components/chunks/{MazPickerShortcuts-5IfUIwpz.mjs → MazPickerShortcuts-Cc9VoqBw.mjs} +10 -10
- package/components/chunks/{MazPickerYearSwitcher-MeptqtZk.mjs → MazPickerYearSwitcher-0b5Wrem9.mjs} +10 -8
- package/components/chunks/{MazPullToRefresh-DWbmwlzV.mjs → MazPullToRefresh-CUazP4y2.mjs} +21 -22
- package/components/chunks/MazSelect-COJoKXbV.mjs +847 -0
- package/components/chunks/MazSpinner-9Jue6cel.mjs +37 -0
- package/components/chunks/{MazSpinner-BKjRRWtc.mjs → MazSpinner-BGPOws6a.mjs} +6 -7
- package/components/chunks/{MazSpinner-BXxULdoD.mjs → MazSpinner-BWYdqSMP.mjs} +6 -7
- package/components/chunks/{MazSpinner-BRgzRI07.mjs → MazSpinner-BZOjTZBN.mjs} +6 -7
- package/components/chunks/{MazSpinner-B-svzg-R.mjs → MazSpinner-BaAMq7LI.mjs} +6 -7
- package/components/chunks/MazSpinner-Bad2n-0k.mjs +37 -0
- package/components/chunks/MazSpinner-BxnVFqUu.mjs +37 -0
- package/components/chunks/{MazSpinner-Mvsi6uCt.mjs → MazSpinner-C41VyUup.mjs} +6 -7
- package/components/chunks/MazSpinner-C6StE-Mb.mjs +37 -0
- package/components/chunks/{MazSpinner-BFXwybUv.mjs → MazSpinner-CNIlbDfg.mjs} +6 -7
- package/components/chunks/MazSpinner-Cz2DHV6g.mjs +37 -0
- package/components/chunks/MazSpinner-D4CdHpP2.mjs +37 -0
- package/{modules/chunks/MazSpinner--jWWogVn.mjs → components/chunks/MazSpinner-DHQH6Bhz.mjs} +6 -7
- package/components/chunks/MazSpinner-DRj2VpGA.mjs +37 -0
- package/components/chunks/{MazSpinner-C1lg-Klx.mjs → MazSpinner-DkXequnp.mjs} +6 -7
- package/components/chunks/MazSpinner-EA5ejB8F.mjs +37 -0
- package/components/chunks/{MazSpinner-BtpIL60X.mjs → MazSpinner-RvDGcBng.mjs} +6 -7
- package/components/chunks/{MazSpinner-B_WP-2kr.mjs → MazSpinner-V-bFi71W.mjs} +6 -7
- package/components/chunks/MazSpinner-aPFlrc5E.mjs +37 -0
- package/components/chunks/{MazSpinner-CfA_KEZT.mjs → MazSpinner-nH44Htog.mjs} +6 -7
- package/components/chunks/MazSpinner-nOD-7_sU.mjs +37 -0
- package/components/chunks/MazSpinner-yZGK-AQe.mjs +37 -0
- package/components/chunks/{MazStepper-DDofJsdg.mjs → MazStepper-DxrzKz06.mjs} +94 -83
- package/components/chunks/MazTable-DRUj_PZp.mjs +1960 -0
- package/components/chunks/{MazTabsBar-BXDEQkZM.mjs → MazTabsBar-xcIIXHx5.mjs} +67 -68
- package/components/chunks/{MazTransitionExpand-BwuAIzII.mjs → MazTransitionExpand-B08cSrmL.mjs} +20 -19
- package/components/chunks/{examples.mobile.json-um0ibyv5.mjs → examples.mobile.json-JpNGylGv.mjs} +1 -1
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/assets/MazSpinner.css +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/{MazBtn-Czcbhr3Z.cjs → MazBtn-BbCGGxkK.cjs} +2 -2
- package/modules/chunks/{MazBtn-CXcW31TK.mjs → MazBtn-UBHTKqaN.mjs} +35 -36
- package/modules/chunks/MazIcon-BDSXZYZ8.cjs +1 -0
- package/{components/chunks/MazIcon-DtG5ii8R.mjs → modules/chunks/MazIcon-C2ch3jUS.mjs} +45 -34
- package/modules/chunks/{MazSpinner-Cw1KnqLM.cjs → MazSpinner-BiyFRA4w.cjs} +1 -1
- package/modules/chunks/MazSpinner-C9_xSbZZ.mjs +37 -0
- package/modules/chunks/{index-CThtJOu5.mjs → index-Cwbjspv3.mjs} +621 -588
- package/modules/chunks/index-tnjajVkX.cjs +124 -0
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +34 -35
- package/nuxt/index.json +2 -2
- package/nuxt/index.mjs +3 -4
- package/nuxt/types.d.mts +24 -0
- package/nuxt/types.d.ts +24 -0
- package/package.json +77 -83
- package/resolvers/unplugin-directives-resolver.d.ts +1 -1
- package/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
- package/tailwindcss/tailwind.config.ts +9 -2
- package/tailwindcss/utils/colors.ts +3 -3
- package/tailwindcss/variables/colors.ts +12 -12
- package/tailwindcss/variables/utilities.ts +2 -2
- package/tailwindcss/variables/z-indexes.ts +12 -11
- package/types/components/MazAccordion.vue.d.ts +2 -2
- package/types/components/MazAvatar.vue.d.ts +3 -3
- package/types/components/MazBackdrop.vue.d.ts +2 -2
- package/types/components/MazBadge.vue.d.ts +2 -2
- package/types/components/MazBtn.vue.d.ts +7 -5
- package/types/components/MazCard.vue.d.ts +3 -3
- package/types/components/MazCardSpotlight.vue.d.ts +2 -2
- package/types/components/MazCarousel.vue.d.ts +2 -2
- package/types/components/MazChart.vue.d.ts +1 -1
- package/types/components/MazCheckbox.vue.d.ts +2 -2
- package/types/components/MazCircularProgressBar.vue.d.ts +1 -1
- package/types/components/MazDialog.vue.d.ts +2 -2
- package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
- package/types/components/MazDrawer.vue.d.ts +2 -2
- package/types/components/MazDropdown.vue.d.ts +7 -6
- package/types/components/MazDropzone.vue.d.ts +1 -1
- package/types/components/MazExpandAnimation.vue.d.ts +2 -2
- package/types/components/MazFullscreenLoader.vue.d.ts +2 -2
- package/types/components/MazGallery.vue.d.ts +2 -2
- package/types/components/MazInput.vue.d.ts +4 -4
- package/types/components/MazInputCode.vue.d.ts +2 -2
- package/types/components/MazInputNumber.vue.d.ts +2 -2
- package/types/components/MazInputPrice.vue.d.ts +2 -2
- package/types/components/MazInputTags.vue.d.ts +7 -2
- package/types/components/MazLazyImg.vue.d.ts +2 -2
- package/types/components/MazLink.vue.d.ts +6 -6
- package/types/components/MazLoadingBar.vue.d.ts +2 -2
- package/types/components/MazPagination.vue.d.ts +3 -3
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
- package/types/components/MazPhoneNumberInput/types.d.ts +5 -5
- package/types/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
- package/types/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
- package/types/components/MazPhoneNumberInput.vue.d.ts +8 -8
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
- package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
- package/types/components/MazPicker/types.d.ts +4 -4
- package/types/components/MazPicker/utils.d.ts +4 -4
- package/types/components/MazPicker.vue.d.ts +3 -3
- package/types/components/MazPullToRefresh.vue.d.ts +2 -2
- package/types/components/MazRadioButtons.vue.d.ts +2 -2
- package/types/components/MazReadingProgressBar.vue.d.ts +2 -2
- package/types/components/MazSelect.vue.d.ts +4 -4
- package/types/components/MazSlider/utils.d.ts +4 -4
- package/types/components/MazStepper.vue.d.ts +3 -3
- package/types/components/MazSwitch.vue.d.ts +2 -2
- package/types/components/MazTable.vue.d.ts +13 -10
- package/types/components/MazTableRow.vue.d.ts +2 -2
- package/types/components/MazTabs.vue.d.ts +4 -4
- package/types/components/MazTabsBar.vue.d.ts +7 -5
- package/types/components/MazTextarea.vue.d.ts +2 -2
- package/types/components/MazTransitionExpand.vue.d.ts +2 -2
- package/types/modules/composables/use-reading-time.d.ts +5 -5
- package/types/modules/composables/use-theme-handler.d.ts +2 -2
- package/types/modules/directives/closable.d.ts +2 -2
- package/types/modules/directives/tooltip/index.d.ts +4 -4
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
- package/types/modules/directives/v-lazy-img/index.d.ts +1 -1
- package/types/modules/filters/capitalize.d.ts +1 -1
- package/types/modules/filters/currency.d.ts +1 -1
- package/types/modules/filters/date.d.ts +1 -1
- package/types/modules/filters/index.d.ts +8 -4
- package/types/modules/filters/number.d.ts +1 -1
- package/types/modules/filters/telephone.d.ts +1 -1
- package/types/modules/helpers/idle-timeout/idle-timeout-handler.d.ts +1 -1
- package/types/modules/helpers/mount-component.d.ts +2 -2
- package/types/modules/helpers/normalize-string.d.ts +2 -2
- package/types/modules/helpers/swipe-handler.d.ts +2 -2
- package/types/modules/helpers/user-visibility/types.d.ts +2 -2
- package/types/modules/plugins/aos/index.d.ts +3 -3
- package/types/modules/plugins/index.d.ts +2 -2
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +3 -3
- package/types/modules/plugins/toaster/index.d.ts +1 -2
- package/types/modules/plugins/toaster/types.d.ts +6 -6
- package/types/modules/plugins/wait/utils.d.ts +4 -4
- package/types/resolvers/unplugin-directives-resolver.d.ts +1 -1
- package/types/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
- package/types/tailwindcss/tailwind.config.d.ts +71 -9
- package/types/tailwindcss/variables/z-indexes.d.ts +11 -11
- package/components/chunks/MazBtn-BOb7Fg_d.mjs +0 -151
- package/components/chunks/MazBtn-DpkJQ_3W.mjs +0 -151
- package/components/chunks/MazBtn-Dw_CR_0X.mjs +0 -151
- package/components/chunks/MazBtn-_NGDIlQK.mjs +0 -151
- package/components/chunks/MazExpandAnimation-Cin7sZ3I.mjs +0 -58
- package/components/chunks/MazPicker-CltoTa2Z.mjs +0 -2477
- package/components/chunks/MazSelect-DDKbowf3.mjs +0 -835
- package/components/chunks/MazSpinner-2ti3NQjo.mjs +0 -38
- package/components/chunks/MazSpinner-BZUmasIf.mjs +0 -38
- package/components/chunks/MazSpinner-C-lFmcUR.mjs +0 -38
- package/components/chunks/MazSpinner-C75WMoEA.mjs +0 -38
- package/components/chunks/MazSpinner-CA38Ikqe.mjs +0 -38
- package/components/chunks/MazSpinner-CAHOYqvB.mjs +0 -38
- package/components/chunks/MazSpinner-COOp2WX8.mjs +0 -38
- package/components/chunks/MazSpinner-D-ONjGGv.mjs +0 -38
- package/components/chunks/MazSpinner-DJkziC4O.mjs +0 -38
- package/components/chunks/MazSpinner-Di0F6oZz.mjs +0 -38
- package/components/chunks/MazSpinner-EcA0uOQv.mjs +0 -38
- package/components/chunks/MazSpinner-s_0BLDqW.mjs +0 -38
- package/components/chunks/MazTable-B9JiJ2B2.mjs +0 -1950
- package/modules/chunks/MazIcon-DdFYd3W8.cjs +0 -1
- package/modules/chunks/index-RvIMpzcQ.cjs +0 -124
- package/nuxt/runtime/composables/{use-aos.mjs → use-aos.js} +0 -0
- package/nuxt/runtime/composables/{use-theme-handler.mjs → use-theme-handler.js} +1 -1
- package/nuxt/runtime/composables/{use-toast.mjs → use-toast.js} +0 -0
- package/nuxt/runtime/composables/{use-wait.mjs → use-wait.js} +0 -0
- package/nuxt/runtime/plugins/{aos.mjs → aos.js} +1 -1
- package/nuxt/runtime/plugins/{maz-icon-path.mjs → maz-icon-path.js} +0 -0
- package/nuxt/runtime/plugins/{toaster.mjs → toaster.js} +1 -1
- package/nuxt/runtime/plugins/{v-click-outside.mjs → v-click-outside.js} +1 -1
- package/nuxt/runtime/plugins/{v-fullscreen-img.mjs → v-fullscreen-img.js} +1 -1
- package/nuxt/runtime/plugins/{v-lazy-img.mjs → v-lazy-img.js} +1 -1
- package/nuxt/runtime/plugins/{v-tooltip.mjs → v-tooltip.js} +1 -1
- package/nuxt/runtime/plugins/{v-zoom-img.mjs → v-zoom-img.js} +1 -1
- package/nuxt/runtime/plugins/{wait.mjs → wait.js} +1 -1
package/components/MazChart.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import { type
|
|
2
|
+
import { type ChartData, type ChartType, type UpdateMode } from 'chart.js';
|
|
3
3
|
export type { ChartType, ChartData, UpdateMode };
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'vue';
|
|
2
2
|
import type { Color, Size } from './types';
|
|
3
3
|
export type { Color, Size };
|
|
4
|
-
export
|
|
4
|
+
export interface Props {
|
|
5
5
|
style?: HTMLAttributes['style'];
|
|
6
6
|
class?: HTMLAttributes['class'];
|
|
7
7
|
modelValue?: boolean | (string | number)[];
|
|
@@ -12,7 +12,7 @@ export type Props = {
|
|
|
12
12
|
size?: Size;
|
|
13
13
|
label?: string;
|
|
14
14
|
disabled?: boolean;
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
17
17
|
style: undefined;
|
|
18
18
|
class: undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import './assets/MazCheckbox.css';
|
|
2
1
|
import { getCurrentInstance as _, computed as l, openBlock as p, createElementBlock as b, createElementVNode as u, defineComponent as w, useCssVars as C, unref as d, normalizeClass as h, normalizeStyle as I, mergeProps as S, createVNode as B, renderSlot as A, createTextVNode as N, toDisplayString as $ } from "vue";
|
|
3
|
-
function M({
|
|
2
|
+
import './assets/MazCheckbox.css';function M({
|
|
4
3
|
componentName: a,
|
|
5
4
|
providedId: r
|
|
6
5
|
}) {
|
|
@@ -54,10 +53,10 @@ const H = { render: q }, K = ["for", "aria-checked"], O = ["id", "checked", "dis
|
|
|
54
53
|
],
|
|
55
54
|
setup(a, { emit: r }) {
|
|
56
55
|
C((o) => ({
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
"
|
|
56
|
+
"30ad0e00": v.value,
|
|
57
|
+
"46bd1cbc": k.value,
|
|
58
|
+
"7c7c6907": y.value,
|
|
59
|
+
"47a52c6c": V.value
|
|
61
60
|
}));
|
|
62
61
|
const e = a, n = r, c = M({
|
|
63
62
|
componentName: "MazCheckbox",
|
|
@@ -70,14 +69,14 @@ const H = { render: q }, K = ["for", "aria-checked"], O = ["id", "checked", "dis
|
|
|
70
69
|
return "2.25rem";
|
|
71
70
|
case "lg":
|
|
72
71
|
return "2rem";
|
|
73
|
-
default:
|
|
74
|
-
return "1.625rem";
|
|
75
72
|
case "sm":
|
|
76
73
|
return "1.425rem";
|
|
77
74
|
case "xs":
|
|
78
75
|
return "1.325rem";
|
|
79
76
|
case "mini":
|
|
80
77
|
return "1.2rem";
|
|
78
|
+
default:
|
|
79
|
+
return "1.625rem";
|
|
81
80
|
}
|
|
82
81
|
}), x = l(() => {
|
|
83
82
|
switch (e.size) {
|
|
@@ -85,14 +84,14 @@ const H = { render: q }, K = ["for", "aria-checked"], O = ["id", "checked", "dis
|
|
|
85
84
|
return "maz-text-2xl";
|
|
86
85
|
case "lg":
|
|
87
86
|
return "maz-text-xl";
|
|
88
|
-
default:
|
|
89
|
-
return "maz-text-lg";
|
|
90
87
|
case "sm":
|
|
91
88
|
return "maz-text-base";
|
|
92
89
|
case "xs":
|
|
93
90
|
return "maz-text-sm";
|
|
94
91
|
case "mini":
|
|
95
92
|
return "maz-text-xs";
|
|
93
|
+
default:
|
|
94
|
+
return "maz-text-lg";
|
|
96
95
|
}
|
|
97
96
|
}), v = l(() => `var(--maz-color-${e.color}-contrast)`), y = l(() => `var(--maz-color-${e.color})`), V = l(
|
|
98
97
|
() => ["black", "transparent"].includes(e.color) ? "var(--maz-color-muted)" : `var(--maz-color-${e.color}-alpha)`
|
|
@@ -148,7 +147,7 @@ const H = { render: q }, K = ["for", "aria-checked"], O = ["id", "checked", "dis
|
|
|
148
147
|
for (const [n, c] of r)
|
|
149
148
|
e[n] = c;
|
|
150
149
|
return e;
|
|
151
|
-
}, F = /* @__PURE__ */ T(P, [["__scopeId", "data-v-
|
|
150
|
+
}, F = /* @__PURE__ */ T(P, [["__scopeId", "data-v-85c875a9"]]);
|
|
152
151
|
export {
|
|
153
152
|
F as default
|
|
154
153
|
};
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { getCurrentInstance as S, computed as r, defineComponent as _, useCssVars as $, useSlots as y, ref as b, watch as B, openBlock as p, createElementBlock as v, normalizeClass as P, createElementVNode as n, renderSlot as l, createTextVNode as u, toDisplayString as i, createCommentVNode as m, normalizeStyle as A, unref as g, createBlock as M, createSlots as I, withCtx as k } from "vue";
|
|
2
|
+
import './assets/MazCircularProgressBar.css';function N({
|
|
3
|
+
componentName: a,
|
|
4
|
+
providedId: e
|
|
5
|
+
}) {
|
|
6
|
+
const s = S();
|
|
7
|
+
return r(() => e ?? `${a}-${s == null ? void 0 : s.uid}`);
|
|
8
|
+
}
|
|
9
|
+
const V = { class: "maz-sr-only" }, D = {
|
|
4
10
|
key: 0,
|
|
5
11
|
class: "m-animated-counter__fix"
|
|
6
|
-
},
|
|
12
|
+
}, E = /* @__PURE__ */ _({
|
|
7
13
|
__name: "MazAnimatedCounter",
|
|
8
14
|
props: {
|
|
9
15
|
count: {},
|
|
@@ -13,10 +19,10 @@ const N = { class: "maz-sr-only" }, V = {
|
|
|
13
19
|
},
|
|
14
20
|
setup(a) {
|
|
15
21
|
$((t) => ({
|
|
16
|
-
"
|
|
17
|
-
|
|
22
|
+
"7cf84c3b": h.value,
|
|
23
|
+
a2b7049a: t.count
|
|
18
24
|
}));
|
|
19
|
-
const e = a, s = y(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c =
|
|
25
|
+
const e = a, s = y(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c = b(!0);
|
|
20
26
|
B(
|
|
21
27
|
() => e.count,
|
|
22
28
|
(t, x) => {
|
|
@@ -36,7 +42,7 @@ const N = { class: "maz-sr-only" }, V = {
|
|
|
36
42
|
}])
|
|
37
43
|
},
|
|
38
44
|
[
|
|
39
|
-
n("span",
|
|
45
|
+
n("span", V, [
|
|
40
46
|
l(t.$slots, "prefix", {}, () => [
|
|
41
47
|
u(
|
|
42
48
|
i(t.prefix),
|
|
@@ -57,7 +63,7 @@ const N = { class: "maz-sr-only" }, V = {
|
|
|
57
63
|
)
|
|
58
64
|
], !0)
|
|
59
65
|
]),
|
|
60
|
-
f.value || d.value ? (p(), v("span",
|
|
66
|
+
f.value || d.value ? (p(), v("span", D, [
|
|
61
67
|
m(' @slot Prefix slot - Add a prefix next to the number (e.g: "$") '),
|
|
62
68
|
l(t.$slots, "prefix", {}, () => [
|
|
63
69
|
u(
|
|
@@ -85,15 +91,7 @@ const N = { class: "maz-sr-only" }, V = {
|
|
|
85
91
|
for (const [f, d] of e)
|
|
86
92
|
s[f] = d;
|
|
87
93
|
return s;
|
|
88
|
-
},
|
|
89
|
-
function L({
|
|
90
|
-
componentName: a,
|
|
91
|
-
providedId: e
|
|
92
|
-
}) {
|
|
93
|
-
const s = b();
|
|
94
|
-
return r(() => e ?? `${a}-${s == null ? void 0 : s.uid}`);
|
|
95
|
-
}
|
|
96
|
-
const T = { class: "outer" }, W = { class: "inner" }, j = { key: 0 }, q = {
|
|
94
|
+
}, L = /* @__PURE__ */ z(E, [["__scopeId", "data-v-95ad1bb8"]]), T = { class: "outer" }, W = { class: "inner" }, j = { key: 0 }, q = {
|
|
97
95
|
xmlns: "http://www.w3.org/2000/svg",
|
|
98
96
|
height: "1em",
|
|
99
97
|
width: "1em",
|
|
@@ -114,10 +112,10 @@ const T = { class: "outer" }, W = { class: "inner" }, j = { key: 0 }, q = {
|
|
|
114
112
|
},
|
|
115
113
|
setup(a) {
|
|
116
114
|
$((o) => ({
|
|
117
|
-
|
|
118
|
-
"
|
|
115
|
+
"0bf2c547": C.value,
|
|
116
|
+
"7e590576": w.value
|
|
119
117
|
}));
|
|
120
|
-
const e = a, s = y(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c =
|
|
118
|
+
const e = a, s = y(), f = r(() => !!e.prefix || !!s.prefix), d = r(() => !!e.suffix || !!s.suffix), c = N({
|
|
121
119
|
componentName: "MazCircularProgressBar"
|
|
122
120
|
}), h = r(() => e.percentage > 100 ? 100 : e.percentage <= 0 ? 0.5 : e.percentage), t = r(
|
|
123
121
|
() => e.autoColor ? x(e.percentage) : e.color
|
|
@@ -142,7 +140,7 @@ const T = { class: "outer" }, W = { class: "inner" }, j = { key: 0 }, q = {
|
|
|
142
140
|
g(s).default ? (p(), v("span", j, [
|
|
143
141
|
m(" @slot Default slot - Replace the percaentage value "),
|
|
144
142
|
l(o.$slots, "default", {}, void 0, !0)
|
|
145
|
-
])) : (p(), M(
|
|
143
|
+
])) : (p(), M(L, {
|
|
146
144
|
key: 1,
|
|
147
145
|
count: o.percentage,
|
|
148
146
|
duration: o.duration
|
|
@@ -217,7 +215,7 @@ const T = { class: "outer" }, W = { class: "inner" }, j = { key: 0 }, q = {
|
|
|
217
215
|
/* STYLE */
|
|
218
216
|
));
|
|
219
217
|
}
|
|
220
|
-
}), K = /* @__PURE__ */ z(F, [["__scopeId", "data-v-
|
|
218
|
+
}), K = /* @__PURE__ */ z(F, [["__scopeId", "data-v-3ac6dd71"]]);
|
|
221
219
|
export {
|
|
222
220
|
K as default
|
|
223
221
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Props as MazBackdropProps } from './MazBackdrop.vue';
|
|
2
|
-
export
|
|
2
|
+
export interface Props {
|
|
3
3
|
/** @model Modal's model value */
|
|
4
4
|
modelValue?: boolean;
|
|
5
5
|
/** Title of the modal in header */
|
|
@@ -16,7 +16,7 @@ export type Props = {
|
|
|
16
16
|
scrollable?: boolean;
|
|
17
17
|
/** Persistent dialog (not closable by clicking outside and remove close button) */
|
|
18
18
|
persistent?: boolean;
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props & MazBackdropProps>, {
|
|
21
21
|
title: undefined;
|
|
22
22
|
noClose: boolean;
|
package/components/MazDialog.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Color, Size } from './../types';
|
|
2
2
|
export interface DialogState {
|
|
3
3
|
id: string;
|
|
4
4
|
isActive: boolean;
|
|
5
5
|
resolve: (value: unknown) => void;
|
|
6
6
|
reject?: (reason?: unknown) => void;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export interface DialogButton {
|
|
9
9
|
text?: string;
|
|
10
10
|
block?: boolean;
|
|
11
11
|
color?: Color;
|
|
@@ -14,13 +14,13 @@ export type DialogButton = {
|
|
|
14
14
|
outline?: boolean;
|
|
15
15
|
rounded?: boolean;
|
|
16
16
|
size?: Size;
|
|
17
|
-
}
|
|
17
|
+
}
|
|
18
18
|
export type DialogCustomButton = DialogButton & {
|
|
19
19
|
text: string;
|
|
20
20
|
type: 'resolve' | 'reject';
|
|
21
21
|
response?: unknown;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export interface DialogData {
|
|
24
24
|
/**
|
|
25
25
|
* Dialog title
|
|
26
26
|
*/
|
|
@@ -51,7 +51,7 @@ export type DialogData = {
|
|
|
51
51
|
* Dialog custom buttons
|
|
52
52
|
*/
|
|
53
53
|
buttons?: DialogCustomButton[];
|
|
54
|
-
}
|
|
54
|
+
}
|
|
55
55
|
export declare const defaultData: {
|
|
56
56
|
cancelText: string;
|
|
57
57
|
confirmText: string;
|
|
@@ -65,7 +65,14 @@ export declare const defaultData: {
|
|
|
65
65
|
color: "success";
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
|
|
68
|
+
declare function showDialogAndWaitChoice(identifier: string, callback?: () => unknown): Promise<unknown>;
|
|
69
|
+
declare function removeDialogFromState(identifier: string): {
|
|
70
|
+
id: string;
|
|
71
|
+
isActive: boolean;
|
|
72
|
+
resolve: (value: unknown) => void;
|
|
73
|
+
reject?: ((reason?: unknown) => void) | undefined;
|
|
74
|
+
}[];
|
|
75
|
+
export declare function useMazDialogPromise(): {
|
|
69
76
|
data: import("vue").Ref<{
|
|
70
77
|
title?: string | undefined;
|
|
71
78
|
message?: string | undefined;
|
|
@@ -100,7 +107,7 @@ export declare const useMazDialogPromise: () => {
|
|
|
100
107
|
outline?: boolean | undefined;
|
|
101
108
|
rounded?: boolean | undefined;
|
|
102
109
|
size?: Size | undefined;
|
|
103
|
-
type:
|
|
110
|
+
type: "resolve" | "reject";
|
|
104
111
|
response?: unknown;
|
|
105
112
|
}[] | undefined;
|
|
106
113
|
}>;
|
|
@@ -110,13 +117,9 @@ export declare const useMazDialogPromise: () => {
|
|
|
110
117
|
resolve: (value: unknown) => void;
|
|
111
118
|
reject?: ((reason?: unknown) => void) | undefined;
|
|
112
119
|
}[]>;
|
|
113
|
-
showDialogAndWaitChoice:
|
|
114
|
-
removeDialogFromState:
|
|
115
|
-
id: string;
|
|
116
|
-
isActive: boolean;
|
|
117
|
-
resolve: (value: unknown) => void;
|
|
118
|
-
reject?: ((reason?: unknown) => void) | undefined;
|
|
119
|
-
}[];
|
|
120
|
+
showDialogAndWaitChoice: typeof showDialogAndWaitChoice;
|
|
121
|
+
removeDialogFromState: typeof removeDialogFromState;
|
|
120
122
|
rejectDialog: (currentDialog: DialogState, response?: unknown) => void;
|
|
121
123
|
resolveDialog: (currentDialog: DialogState, response?: unknown) => void;
|
|
122
124
|
};
|
|
125
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface Props {
|
|
2
2
|
/** The title of the drawer */
|
|
3
3
|
title?: string;
|
|
4
4
|
/** The variant of the drawer */
|
|
@@ -9,7 +9,7 @@ export type Props = {
|
|
|
9
9
|
backdropClass?: string;
|
|
10
10
|
/** Disable the close button */
|
|
11
11
|
noClose?: boolean;
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
13
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
14
14
|
title: undefined;
|
|
15
15
|
variant: string;
|
package/components/MazDrawer.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const V = "--backdrop-present", U = /* @__PURE__ */ h({
|
|
1
|
+
import { defineComponent as V, ref as S, onMounted as g, watch as N, openBlock as r, createBlock as h, Teleport as T, createVNode as f, Transition as O, withCtx as v, createElementBlock as D, normalizeClass as d, createElementVNode as a, withModifiers as P, mergeProps as K, renderSlot as k, createCommentVNode as L, defineAsyncComponent as B, normalizeStyle as F, createTextVNode as q, toDisplayString as I, unref as z } from "vue";
|
|
2
|
+
import './assets/MazDrawer.css';const A = "--backdrop-present", U = /* @__PURE__ */ V({
|
|
4
3
|
inheritAttrs: !1,
|
|
5
4
|
__name: "MazBackdrop",
|
|
6
5
|
props: {
|
|
@@ -14,81 +13,84 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
|
|
|
14
13
|
backdropContentClass: { default: void 0 }
|
|
15
14
|
},
|
|
16
15
|
emits: ["open", "close", "update:model-value", "before-close"],
|
|
17
|
-
setup(
|
|
18
|
-
const e =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(V);
|
|
22
|
-
}, t = m, a = C, l = S(a.modelValue);
|
|
23
|
-
function r() {
|
|
24
|
-
y(!1);
|
|
16
|
+
setup(b, { expose: i, emit: c }) {
|
|
17
|
+
const e = b, t = c;
|
|
18
|
+
function n() {
|
|
19
|
+
document.documentElement.classList.add(A);
|
|
25
20
|
}
|
|
26
|
-
async function
|
|
27
|
-
|
|
28
|
-
o || (t("before-close"), await ((f = a.beforeClose) == null ? void 0 : f.call(a))), l.value = o;
|
|
21
|
+
async function M() {
|
|
22
|
+
document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(A);
|
|
29
23
|
}
|
|
30
|
-
|
|
24
|
+
const s = S(e.modelValue);
|
|
25
|
+
function l() {
|
|
26
|
+
C(!1);
|
|
27
|
+
}
|
|
28
|
+
async function C(o) {
|
|
29
|
+
var p;
|
|
30
|
+
o || (t("before-close"), await ((p = e.beforeClose) == null ? void 0 : p.call(e))), s.value = o;
|
|
31
|
+
}
|
|
32
|
+
function y() {
|
|
31
33
|
t("open");
|
|
32
34
|
}
|
|
33
|
-
function
|
|
35
|
+
function E() {
|
|
34
36
|
t("update:model-value", !1), t("close"), u();
|
|
35
37
|
}
|
|
36
|
-
function
|
|
37
|
-
|
|
38
|
+
function $() {
|
|
39
|
+
e.persistent || l();
|
|
38
40
|
}
|
|
39
|
-
function
|
|
40
|
-
!
|
|
41
|
+
function m(o) {
|
|
42
|
+
!e.noCloseOnEscKey && o.key === "Escape" && !e.persistent && l();
|
|
41
43
|
}
|
|
42
|
-
function
|
|
43
|
-
|
|
44
|
+
function w() {
|
|
45
|
+
n(), document.addEventListener("keyup", m, !1);
|
|
44
46
|
}
|
|
45
47
|
function u() {
|
|
46
|
-
document.removeEventListener("keyup",
|
|
48
|
+
document.removeEventListener("keyup", m), M();
|
|
47
49
|
}
|
|
48
50
|
return g(() => {
|
|
49
|
-
|
|
51
|
+
e.modelValue ? w() : u();
|
|
50
52
|
}), N(
|
|
51
|
-
() =>
|
|
53
|
+
() => e.modelValue,
|
|
52
54
|
(o) => {
|
|
53
|
-
|
|
55
|
+
s.value = o, o ? w() : u();
|
|
54
56
|
}
|
|
55
|
-
),
|
|
56
|
-
onBackdropAnimationEnter:
|
|
57
|
-
onBackdropAnimationLeave:
|
|
58
|
-
onBackdropClicked:
|
|
59
|
-
close:
|
|
60
|
-
present:
|
|
61
|
-
toggleModal:
|
|
62
|
-
onKeyPress:
|
|
63
|
-
}), (o,
|
|
64
|
-
|
|
57
|
+
), i({
|
|
58
|
+
onBackdropAnimationEnter: y,
|
|
59
|
+
onBackdropAnimationLeave: E,
|
|
60
|
+
onBackdropClicked: $,
|
|
61
|
+
close: l,
|
|
62
|
+
present: s,
|
|
63
|
+
toggleModal: C,
|
|
64
|
+
onKeyPress: m
|
|
65
|
+
}), (o, p) => (r(), h(T, { to: o.teleportSelector }, [
|
|
66
|
+
f(O, {
|
|
65
67
|
appear: "",
|
|
66
68
|
name: o.transitionName,
|
|
67
|
-
onAfterEnter:
|
|
68
|
-
onAfterLeave:
|
|
69
|
+
onAfterEnter: y,
|
|
70
|
+
onAfterLeave: E
|
|
69
71
|
}, {
|
|
70
|
-
default:
|
|
71
|
-
|
|
72
|
+
default: v(() => [
|
|
73
|
+
s.value ? (r(), D(
|
|
72
74
|
"div",
|
|
73
75
|
{
|
|
74
76
|
key: 0,
|
|
75
|
-
class:
|
|
77
|
+
class: d(["m-backdrop --present", [o.backdropClass]]),
|
|
76
78
|
tabindex: "-1",
|
|
77
79
|
role: "dialog"
|
|
78
80
|
},
|
|
79
81
|
[
|
|
80
|
-
|
|
82
|
+
a(
|
|
81
83
|
"button",
|
|
82
84
|
{
|
|
83
|
-
class:
|
|
85
|
+
class: d(["m-backdrop-overlay", { "--disabled": o.persistent }]),
|
|
84
86
|
tabindex: "-1",
|
|
85
|
-
onClick: P(
|
|
87
|
+
onClick: P($, ["self"])
|
|
86
88
|
},
|
|
87
89
|
null,
|
|
88
90
|
2
|
|
89
91
|
/* CLASS */
|
|
90
92
|
),
|
|
91
|
-
|
|
93
|
+
a(
|
|
92
94
|
"div",
|
|
93
95
|
K({
|
|
94
96
|
class: ["m-backdrop-content", o.backdropContentClass]
|
|
@@ -97,7 +99,7 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
|
|
|
97
99
|
tabindex: "0"
|
|
98
100
|
}),
|
|
99
101
|
[
|
|
100
|
-
|
|
102
|
+
k(o.$slots, "default", { close: l })
|
|
101
103
|
],
|
|
102
104
|
16
|
|
103
105
|
/* FULL_PROPS */
|
|
@@ -105,7 +107,7 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
|
|
|
105
107
|
],
|
|
106
108
|
2
|
|
107
109
|
/* CLASS */
|
|
108
|
-
)) :
|
|
110
|
+
)) : L("v-if", !0)
|
|
109
111
|
]),
|
|
110
112
|
_: 3
|
|
111
113
|
/* FORWARDED */
|
|
@@ -115,7 +117,7 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
|
|
|
115
117
|
}), X = { class: "m-drawer-header__title" }, j = {
|
|
116
118
|
key: 0,
|
|
117
119
|
class: "m-drawer-header__close"
|
|
118
|
-
}, G = { class: "m-drawer-body" }, J = /* @__PURE__ */
|
|
120
|
+
}, G = { class: "m-drawer-body" }, J = /* @__PURE__ */ V({
|
|
119
121
|
__name: "MazDrawer",
|
|
120
122
|
props: {
|
|
121
123
|
title: { default: void 0 },
|
|
@@ -125,33 +127,33 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
|
|
|
125
127
|
noClose: { type: Boolean, default: !1 }
|
|
126
128
|
},
|
|
127
129
|
emits: ["before-close", "open", "close", "update:model-value"],
|
|
128
|
-
setup(
|
|
129
|
-
const
|
|
130
|
-
return (e,
|
|
130
|
+
setup(b) {
|
|
131
|
+
const i = B(() => import("./chunks/MazBtn-f1mBXJeU.mjs").then((e) => e.M)), c = B(() => import("./chunks/x-mark-BP8zWe_C.mjs"));
|
|
132
|
+
return (e, t) => (r(), h(U, {
|
|
131
133
|
"backdrop-class": ["m-drawer", `--${e.variant}`, e.backdropClass],
|
|
132
134
|
style: F({
|
|
133
135
|
"--maz-drawer-size": e.size
|
|
134
136
|
}),
|
|
135
|
-
onClose:
|
|
136
|
-
onOpen:
|
|
137
|
-
onBeforeClose:
|
|
138
|
-
"onUpdate:modelValue":
|
|
137
|
+
onClose: t[0] || (t[0] = (n) => e.$emit("close")),
|
|
138
|
+
onOpen: t[1] || (t[1] = (n) => e.$emit("open")),
|
|
139
|
+
onBeforeClose: t[2] || (t[2] = (n) => e.$emit("before-close")),
|
|
140
|
+
"onUpdate:modelValue": t[3] || (t[3] = (n) => e.$emit("update:model-value", n))
|
|
139
141
|
}, {
|
|
140
|
-
default:
|
|
141
|
-
|
|
142
|
+
default: v(({ close: n }) => [
|
|
143
|
+
a(
|
|
142
144
|
"div",
|
|
143
145
|
{
|
|
144
|
-
class:
|
|
146
|
+
class: d(["m-drawer-content-wrap", [`--${e.variant}`]])
|
|
145
147
|
},
|
|
146
148
|
[
|
|
147
|
-
|
|
149
|
+
a(
|
|
148
150
|
"header",
|
|
149
151
|
{
|
|
150
|
-
class:
|
|
152
|
+
class: d(["m-drawer-header", [e.$slots.title || e.title ? "--between" : "--end"]])
|
|
151
153
|
},
|
|
152
154
|
[
|
|
153
|
-
|
|
154
|
-
|
|
155
|
+
a("h4", X, [
|
|
156
|
+
k(e.$slots, "title", { close: n }, () => [
|
|
155
157
|
q(
|
|
156
158
|
I(e.title),
|
|
157
159
|
1
|
|
@@ -159,14 +161,14 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
|
|
|
159
161
|
)
|
|
160
162
|
])
|
|
161
163
|
]),
|
|
162
|
-
e.noClose ?
|
|
163
|
-
|
|
164
|
+
e.noClose ? L("v-if", !0) : (r(), D("div", j, [
|
|
165
|
+
f(z(i), {
|
|
164
166
|
size: "sm",
|
|
165
167
|
color: "transparent",
|
|
166
|
-
onClick:
|
|
168
|
+
onClick: n
|
|
167
169
|
}, {
|
|
168
|
-
default:
|
|
169
|
-
|
|
170
|
+
default: v(() => [
|
|
171
|
+
f(z(c), { class: "icon maz-text-lg" })
|
|
170
172
|
]),
|
|
171
173
|
_: 2
|
|
172
174
|
/* DYNAMIC */
|
|
@@ -176,8 +178,8 @@ const V = "--backdrop-present", U = /* @__PURE__ */ h({
|
|
|
176
178
|
2
|
|
177
179
|
/* CLASS */
|
|
178
180
|
),
|
|
179
|
-
|
|
180
|
-
|
|
181
|
+
a("div", G, [
|
|
182
|
+
k(e.$slots, "default", { close: n })
|
|
181
183
|
])
|
|
182
184
|
],
|
|
183
185
|
2
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { RouteLocationRaw } from 'vue-router';
|
|
3
|
+
import type { Position } from './types';
|
|
4
|
+
import type { Color } from './MazBtn.vue';
|
|
5
5
|
export type { Color, Position };
|
|
6
6
|
export type MenuItem = {
|
|
7
7
|
label: string;
|
|
@@ -11,7 +11,7 @@ export type MenuItem = {
|
|
|
11
11
|
to?: RouteLocationRaw;
|
|
12
12
|
class?: unknown;
|
|
13
13
|
} & Record<string, unknown>;
|
|
14
|
-
export
|
|
14
|
+
export interface Props {
|
|
15
15
|
style?: HTMLAttributes['style'];
|
|
16
16
|
class?: HTMLAttributes['class'];
|
|
17
17
|
/** Menu items */
|
|
@@ -20,7 +20,8 @@ export type Props = {
|
|
|
20
20
|
open?: boolean;
|
|
21
21
|
/** id of the menu */
|
|
22
22
|
id?: string;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Should open the dropdown on click, hover or both
|
|
24
25
|
* @default 'both'
|
|
25
26
|
*/
|
|
26
27
|
trigger?: 'click' | 'hover' | 'both';
|
|
@@ -45,7 +46,7 @@ export type Props = {
|
|
|
45
46
|
* @default 'Open menu dropdown'
|
|
46
47
|
*/
|
|
47
48
|
screenReaderDescription?: string;
|
|
48
|
-
}
|
|
49
|
+
}
|
|
49
50
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
50
51
|
class: undefined;
|
|
51
52
|
style: undefined;
|