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
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const g = "--backdrop-present", K = /* @__PURE__ */ S({
|
|
1
|
+
import { defineComponent as S, ref as L, onMounted as V, watch as D, openBlock as c, createBlock as k, Teleport as P, createVNode as M, Transition as $, withCtx as v, createElementBlock as A, normalizeClass as b, createElementVNode as d, withModifiers as N, mergeProps as O, renderSlot as z, createCommentVNode as C, defineAsyncComponent as I, unref as w, pushScopeId as T, popScopeId as x } from "vue";
|
|
2
|
+
import '../assets/MazBottomSheet.css';const g = "--backdrop-present", K = /* @__PURE__ */ S({
|
|
4
3
|
inheritAttrs: !1,
|
|
5
4
|
__name: "MazBackdrop",
|
|
6
5
|
props: {
|
|
@@ -14,56 +13,59 @@ const g = "--backdrop-present", K = /* @__PURE__ */ S({
|
|
|
14
13
|
backdropContentClass: { default: void 0 }
|
|
15
14
|
},
|
|
16
15
|
emits: ["open", "close", "update:model-value", "before-close"],
|
|
17
|
-
setup(t, { expose:
|
|
18
|
-
const
|
|
16
|
+
setup(t, { expose: l, emit: r }) {
|
|
17
|
+
const o = t, n = r;
|
|
18
|
+
function a() {
|
|
19
19
|
document.documentElement.classList.add(g);
|
|
20
|
-
}
|
|
20
|
+
}
|
|
21
|
+
async function s() {
|
|
21
22
|
document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(g);
|
|
22
|
-
}
|
|
23
|
+
}
|
|
24
|
+
const i = L(o.modelValue);
|
|
23
25
|
function m() {
|
|
24
26
|
_(!1);
|
|
25
27
|
}
|
|
26
|
-
async function _(
|
|
28
|
+
async function _(e) {
|
|
27
29
|
var f;
|
|
28
|
-
|
|
30
|
+
e || (n("before-close"), await ((f = o.beforeClose) == null ? void 0 : f.call(o))), i.value = e;
|
|
29
31
|
}
|
|
30
32
|
function y() {
|
|
31
33
|
n("open");
|
|
32
34
|
}
|
|
33
35
|
function h() {
|
|
34
|
-
n("update:model-value", !1), n("close"),
|
|
36
|
+
n("update:model-value", !1), n("close"), p();
|
|
35
37
|
}
|
|
36
38
|
function B() {
|
|
37
|
-
|
|
39
|
+
o.persistent || m();
|
|
38
40
|
}
|
|
39
|
-
function
|
|
40
|
-
!
|
|
41
|
+
function u(e) {
|
|
42
|
+
!o.noCloseOnEscKey && e.key === "Escape" && !o.persistent && m();
|
|
41
43
|
}
|
|
42
44
|
function E() {
|
|
43
|
-
|
|
45
|
+
a(), document.addEventListener("keyup", u, !1);
|
|
44
46
|
}
|
|
45
|
-
function
|
|
46
|
-
document.removeEventListener("keyup",
|
|
47
|
+
function p() {
|
|
48
|
+
document.removeEventListener("keyup", u), s();
|
|
47
49
|
}
|
|
48
50
|
return V(() => {
|
|
49
|
-
|
|
51
|
+
o.modelValue ? E() : p();
|
|
50
52
|
}), D(
|
|
51
|
-
() =>
|
|
52
|
-
(
|
|
53
|
-
i.value =
|
|
53
|
+
() => o.modelValue,
|
|
54
|
+
(e) => {
|
|
55
|
+
i.value = e, e ? E() : p();
|
|
54
56
|
}
|
|
55
|
-
),
|
|
57
|
+
), l({
|
|
56
58
|
onBackdropAnimationEnter: y,
|
|
57
59
|
onBackdropAnimationLeave: h,
|
|
58
60
|
onBackdropClicked: B,
|
|
59
61
|
close: m,
|
|
60
62
|
present: i,
|
|
61
63
|
toggleModal: _,
|
|
62
|
-
onKeyPress:
|
|
63
|
-
}), (
|
|
64
|
+
onKeyPress: u
|
|
65
|
+
}), (e, f) => (c(), k(P, { to: e.teleportSelector }, [
|
|
64
66
|
M($, {
|
|
65
67
|
appear: "",
|
|
66
|
-
name:
|
|
68
|
+
name: e.transitionName,
|
|
67
69
|
onAfterEnter: y,
|
|
68
70
|
onAfterLeave: h
|
|
69
71
|
}, {
|
|
@@ -72,15 +74,15 @@ const g = "--backdrop-present", K = /* @__PURE__ */ S({
|
|
|
72
74
|
"div",
|
|
73
75
|
{
|
|
74
76
|
key: 0,
|
|
75
|
-
class: b(["m-backdrop --present", [
|
|
77
|
+
class: b(["m-backdrop --present", [e.backdropClass]]),
|
|
76
78
|
tabindex: "-1",
|
|
77
79
|
role: "dialog"
|
|
78
80
|
},
|
|
79
81
|
[
|
|
80
|
-
|
|
82
|
+
d(
|
|
81
83
|
"button",
|
|
82
84
|
{
|
|
83
|
-
class: b(["m-backdrop-overlay", { "--disabled":
|
|
85
|
+
class: b(["m-backdrop-overlay", { "--disabled": e.persistent }]),
|
|
84
86
|
tabindex: "-1",
|
|
85
87
|
onClick: N(B, ["self"])
|
|
86
88
|
},
|
|
@@ -88,16 +90,16 @@ const g = "--backdrop-present", K = /* @__PURE__ */ S({
|
|
|
88
90
|
2
|
|
89
91
|
/* CLASS */
|
|
90
92
|
),
|
|
91
|
-
|
|
93
|
+
d(
|
|
92
94
|
"div",
|
|
93
95
|
O({
|
|
94
|
-
class: ["m-backdrop-content",
|
|
95
|
-
},
|
|
96
|
+
class: ["m-backdrop-content", e.backdropContentClass]
|
|
97
|
+
}, e.$attrs, {
|
|
96
98
|
role: "document",
|
|
97
99
|
tabindex: "0"
|
|
98
100
|
}),
|
|
99
101
|
[
|
|
100
|
-
z(
|
|
102
|
+
z(e.$slots, "default", { close: m })
|
|
101
103
|
],
|
|
102
104
|
16
|
|
103
105
|
/* FULL_PROPS */
|
|
@@ -118,7 +120,7 @@ const g = "--backdrop-present", K = /* @__PURE__ */ S({
|
|
|
118
120
|
height: "1em",
|
|
119
121
|
fill: "none",
|
|
120
122
|
viewBox: "0 0 24 24"
|
|
121
|
-
}, j = /* @__PURE__ */
|
|
123
|
+
}, j = /* @__PURE__ */ d(
|
|
122
124
|
"path",
|
|
123
125
|
{
|
|
124
126
|
stroke: "currentColor",
|
|
@@ -133,14 +135,14 @@ const g = "--backdrop-present", K = /* @__PURE__ */ S({
|
|
|
133
135
|
), q = [
|
|
134
136
|
j
|
|
135
137
|
];
|
|
136
|
-
function U(t,
|
|
138
|
+
function U(t, l) {
|
|
137
139
|
return c(), A("svg", F, [...q]);
|
|
138
140
|
}
|
|
139
|
-
const X = { render: U }, G = (t) => (T("data-v-
|
|
141
|
+
const X = { render: U }, G = (t) => (T("data-v-8350510b"), t = t(), x(), t), H = /* @__PURE__ */ G(() => /* @__PURE__ */ d(
|
|
140
142
|
"div",
|
|
141
143
|
{ class: "m-bottom-sheet__content-wrapper" },
|
|
142
144
|
[
|
|
143
|
-
/* @__PURE__ */
|
|
145
|
+
/* @__PURE__ */ d("p", null, "Default content")
|
|
144
146
|
],
|
|
145
147
|
-1
|
|
146
148
|
/* HOISTED */
|
|
@@ -151,17 +153,17 @@ const X = { render: U }, G = (t) => (T("data-v-46b34248"), t = t(), x(), t), H =
|
|
|
151
153
|
noPadding: { type: Boolean, default: !1 }
|
|
152
154
|
},
|
|
153
155
|
emits: ["update:model-value", "open", "close"],
|
|
154
|
-
setup(t, { emit:
|
|
155
|
-
const l = I(() => import("./MazBtn-
|
|
156
|
-
return (
|
|
156
|
+
setup(t, { emit: l }) {
|
|
157
|
+
const r = l, o = I(() => import("./MazBtn-CeVwyYR5.mjs"));
|
|
158
|
+
return (n, a) => (c(), k(K, {
|
|
157
159
|
"transition-name": "bottom-sheet-anim",
|
|
158
160
|
"backdrop-class": "--bottom-sheet",
|
|
159
|
-
onClose:
|
|
160
|
-
onOpen:
|
|
161
|
-
"onUpdate:modelValue":
|
|
161
|
+
onClose: a[0] || (a[0] = (s) => n.$emit("close", s)),
|
|
162
|
+
onOpen: a[1] || (a[1] = (s) => n.$emit("open", s)),
|
|
163
|
+
"onUpdate:modelValue": a[2] || (a[2] = (s) => r("update:model-value", s))
|
|
162
164
|
}, {
|
|
163
|
-
default: v(({ close:
|
|
164
|
-
|
|
165
|
+
default: v(({ close: s }) => [
|
|
166
|
+
d(
|
|
165
167
|
"div",
|
|
166
168
|
{
|
|
167
169
|
class: b(["m-bottom-sheet__container", {
|
|
@@ -170,15 +172,15 @@ const X = { render: U }, G = (t) => (T("data-v-46b34248"), t = t(), x(), t), H =
|
|
|
170
172
|
},
|
|
171
173
|
[
|
|
172
174
|
C(" Slot content "),
|
|
173
|
-
z(
|
|
175
|
+
z(n.$slots, "default", { close: s }, () => [
|
|
174
176
|
H
|
|
175
177
|
], !0),
|
|
176
|
-
t.noClose ? C("v-if", !0) : (c(), k(w(
|
|
178
|
+
t.noClose ? C("v-if", !0) : (c(), k(w(o), {
|
|
177
179
|
key: 0,
|
|
178
180
|
size: "sm",
|
|
179
181
|
class: "m-bottom-sheet__close",
|
|
180
182
|
color: "transparent",
|
|
181
|
-
onClick:
|
|
183
|
+
onClick: s
|
|
182
184
|
}, {
|
|
183
185
|
default: v(() => [
|
|
184
186
|
M(w(X), { class: "maz-text-lg" })
|
|
@@ -195,12 +197,12 @@ const X = { render: U }, G = (t) => (T("data-v-46b34248"), t = t(), x(), t), H =
|
|
|
195
197
|
/* FORWARDED */
|
|
196
198
|
}));
|
|
197
199
|
}
|
|
198
|
-
}), Q = (t,
|
|
199
|
-
const
|
|
200
|
-
for (const [
|
|
201
|
-
|
|
202
|
-
return
|
|
203
|
-
}, W = /* @__PURE__ */ Q(J, [["__scopeId", "data-v-
|
|
200
|
+
}), Q = (t, l) => {
|
|
201
|
+
const r = t.__vccOpts || t;
|
|
202
|
+
for (const [o, n] of l)
|
|
203
|
+
r[o] = n;
|
|
204
|
+
return r;
|
|
205
|
+
}, W = /* @__PURE__ */ Q(J, [["__scopeId", "data-v-8350510b"]]);
|
|
204
206
|
export {
|
|
205
207
|
W as M,
|
|
206
208
|
Q as _
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import '../assets/MazBtn.css';
|
|
2
1
|
import { defineComponent as E, defineAsyncComponent as h, useAttrs as R, useSlots as w, onBeforeMount as A, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as D, createElementBlock as u, createCommentVNode as t, renderSlot as d, unref as c } from "vue";
|
|
3
|
-
import { _ as L } from "./
|
|
4
|
-
const P = /* @__PURE__ */ E({
|
|
2
|
+
import { _ as L } from "./MazSelect-COJoKXbV.mjs";
|
|
3
|
+
import '../assets/MazBtn.css';const P = /* @__PURE__ */ E({
|
|
5
4
|
__name: "MazBtn",
|
|
6
5
|
props: {
|
|
7
6
|
variant: { default: "button" },
|
|
@@ -26,34 +25,34 @@ const P = /* @__PURE__ */ E({
|
|
|
26
25
|
contentClass: { default: void 0 }
|
|
27
26
|
},
|
|
28
27
|
setup(g) {
|
|
29
|
-
const z = h(() => import("./MazSpinner-
|
|
28
|
+
const e = g, z = h(() => import("./MazSpinner-nOD-7_sU.mjs")), f = h(() => import("./MazIcon-BDGxCy9M.mjs")), { href: k, to: B } = R(), p = w();
|
|
30
29
|
A(() => {
|
|
31
|
-
|
|
30
|
+
e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
32
31
|
});
|
|
33
32
|
const v = l(() => k ? "a" : B ? "router-link" : "button"), I = l(
|
|
34
|
-
() =>
|
|
33
|
+
() => e.pastel ? `--${e.color}-pastel` : e.outline ? `--${e.color}-outline` : `--${e.color}`
|
|
35
34
|
), b = l(
|
|
36
|
-
() => (
|
|
37
|
-
), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${
|
|
38
|
-
return (
|
|
35
|
+
() => (e.loading || e.disabled) && v.value === "button"
|
|
36
|
+
), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), i = l(() => e.loading && e.variant === "button"), m = l(() => !!p["left-icon"] || e.leftIcon), y = l(() => !!p["right-icon"] || e.rightIcon), M = l(() => m.value || y.value), S = l(() => e.fab && (e.icon || !!p.icon)), T = l(() => v.value === "button" ? e.type : void 0);
|
|
37
|
+
return (o, U) => (n(), a(r(v.value), {
|
|
39
38
|
disabled: b.value || void 0,
|
|
40
39
|
class: s(["m-btn", [
|
|
41
|
-
`--${
|
|
42
|
-
!
|
|
40
|
+
`--${o.size}`,
|
|
41
|
+
!o.fab && o.roundedSize && `--rounded-${o.roundedSize}`,
|
|
43
42
|
I.value,
|
|
44
43
|
C.value,
|
|
45
44
|
$.value,
|
|
46
45
|
{
|
|
47
|
-
"--block":
|
|
48
|
-
"--no-underline":
|
|
49
|
-
"--fab":
|
|
50
|
-
"--loading":
|
|
46
|
+
"--block": o.block,
|
|
47
|
+
"--no-underline": o.noUnderline,
|
|
48
|
+
"--fab": o.fab,
|
|
49
|
+
"--loading": o.loading,
|
|
51
50
|
"--disabled": b.value,
|
|
52
51
|
"--icon": M.value,
|
|
53
|
-
"--rounded":
|
|
54
|
-
"--no-rounded":
|
|
55
|
-
"--no-padding":
|
|
56
|
-
"--no-elevation":
|
|
52
|
+
"--rounded": o.rounded,
|
|
53
|
+
"--no-rounded": o.noRounded,
|
|
54
|
+
"--no-padding": o.noPadding,
|
|
55
|
+
"--no-elevation": o.noElevation
|
|
57
56
|
}
|
|
58
57
|
]]),
|
|
59
58
|
type: T.value
|
|
@@ -69,11 +68,11 @@ const P = /* @__PURE__ */ E({
|
|
|
69
68
|
t(`
|
|
70
69
|
@slot left-icon - The icon to display on the left of the button
|
|
71
70
|
`),
|
|
72
|
-
d(
|
|
73
|
-
typeof
|
|
71
|
+
d(o.$slots, "left-icon", {}, () => [
|
|
72
|
+
typeof o.leftIcon == "string" ? (n(), a(c(f), {
|
|
74
73
|
key: 0,
|
|
75
|
-
name:
|
|
76
|
-
}, null, 8, ["name"])) :
|
|
74
|
+
name: o.leftIcon
|
|
75
|
+
}, null, 8, ["name"])) : o.leftIcon ? (n(), a(r(o.leftIcon), { key: 1 })) : t("v-if", !0)
|
|
77
76
|
], !0)
|
|
78
77
|
],
|
|
79
78
|
2
|
|
@@ -89,27 +88,27 @@ const P = /* @__PURE__ */ E({
|
|
|
89
88
|
t(`
|
|
90
89
|
@slot icon - The icon to display on the fab button
|
|
91
90
|
`),
|
|
92
|
-
d(
|
|
93
|
-
typeof
|
|
91
|
+
d(o.$slots, "icon", {}, () => [
|
|
92
|
+
typeof o.icon == "string" ? (n(), a(c(f), {
|
|
94
93
|
key: 0,
|
|
95
|
-
name:
|
|
96
|
-
}, null, 8, ["name"])) :
|
|
94
|
+
name: o.icon
|
|
95
|
+
}, null, 8, ["name"])) : o.icon ? (n(), a(r(o.icon), { key: 1 })) : t("v-if", !0)
|
|
97
96
|
], !0)
|
|
98
97
|
],
|
|
99
98
|
2
|
|
100
99
|
/* CLASS */
|
|
101
100
|
)) : t("v-if", !0),
|
|
102
|
-
|
|
101
|
+
o.$slots.default ? (n(), u(
|
|
103
102
|
"span",
|
|
104
103
|
{
|
|
105
104
|
key: 2,
|
|
106
|
-
class: s([{ "maz-invisible": i.value },
|
|
105
|
+
class: s([{ "maz-invisible": i.value }, o.contentClass])
|
|
107
106
|
},
|
|
108
107
|
[
|
|
109
108
|
t(`
|
|
110
109
|
@slot default - The content of the button
|
|
111
110
|
`),
|
|
112
|
-
d(
|
|
111
|
+
d(o.$slots, "default", {}, void 0, !0)
|
|
113
112
|
],
|
|
114
113
|
2
|
|
115
114
|
/* CLASS */
|
|
@@ -124,11 +123,11 @@ const P = /* @__PURE__ */ E({
|
|
|
124
123
|
t(`
|
|
125
124
|
@slot right-icon - The icon to display on the right of the button
|
|
126
125
|
`),
|
|
127
|
-
d(
|
|
128
|
-
typeof
|
|
126
|
+
d(o.$slots, "right-icon", {}, () => [
|
|
127
|
+
typeof o.rightIcon == "string" ? (n(), a(c(f), {
|
|
129
128
|
key: 0,
|
|
130
|
-
name:
|
|
131
|
-
}, null, 8, ["name"])) :
|
|
129
|
+
name: o.rightIcon
|
|
130
|
+
}, null, 8, ["name"])) : o.rightIcon ? (n(), a(r(o.rightIcon), { key: 1 })) : t("v-if", !0)
|
|
132
131
|
], !0)
|
|
133
132
|
],
|
|
134
133
|
2
|
|
@@ -138,14 +137,14 @@ const P = /* @__PURE__ */ E({
|
|
|
138
137
|
key: 4,
|
|
139
138
|
class: "m-btn-loader",
|
|
140
139
|
size: "2em",
|
|
141
|
-
color:
|
|
140
|
+
color: o.color
|
|
142
141
|
}, null, 8, ["color"])) : t("v-if", !0)
|
|
143
142
|
]),
|
|
144
143
|
_: 3
|
|
145
144
|
/* FORWARDED */
|
|
146
145
|
}, 8, ["disabled", "class", "type"]));
|
|
147
146
|
}
|
|
148
|
-
}), V = /* @__PURE__ */ L(P, [["__scopeId", "data-v-
|
|
147
|
+
}), V = /* @__PURE__ */ L(P, [["__scopeId", "data-v-48f14785"]]);
|
|
149
148
|
export {
|
|
150
149
|
V as default
|
|
151
150
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const L = /* @__PURE__ */ E({
|
|
1
|
+
import { defineComponent as E, defineAsyncComponent as z, useAttrs as R, useSlots as w, onBeforeMount as A, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as c, normalizeClass as r, withCtx as D, createElementBlock as f, createCommentVNode as t, renderSlot as v, unref as p } from "vue";
|
|
2
|
+
import '../assets/MazBtn.css';const L = /* @__PURE__ */ E({
|
|
4
3
|
__name: "MazBtn",
|
|
5
4
|
props: {
|
|
6
5
|
variant: { default: "button" },
|
|
@@ -25,17 +24,17 @@ const L = /* @__PURE__ */ E({
|
|
|
25
24
|
contentClass: { default: void 0 }
|
|
26
25
|
},
|
|
27
26
|
setup(u) {
|
|
28
|
-
const
|
|
27
|
+
const e = u, d = z(() => import("./MazSpinner-DHQH6Bhz.mjs")), i = z(() => import("./MazIcon-BDGxCy9M.mjs")), { href: b, to: B } = R(), m = w();
|
|
29
28
|
A(() => {
|
|
30
29
|
e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
31
30
|
});
|
|
32
|
-
const
|
|
31
|
+
const y = l(() => b ? "a" : B ? "router-link" : "button"), I = l(
|
|
33
32
|
() => e.pastel ? `--${e.color}-pastel` : e.outline ? `--${e.color}-outline` : `--${e.color}`
|
|
34
|
-
),
|
|
35
|
-
() => (e.loading || e.disabled) &&
|
|
36
|
-
), C = l(() =>
|
|
37
|
-
return (o, U) => (n(), a(
|
|
38
|
-
disabled:
|
|
33
|
+
), h = l(
|
|
34
|
+
() => (e.loading || e.disabled) && y.value === "button"
|
|
35
|
+
), C = l(() => h.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), s = l(() => e.loading && e.variant === "button"), g = l(() => !!m["left-icon"] || e.leftIcon), k = l(() => !!m["right-icon"] || e.rightIcon), M = l(() => g.value || k.value), S = l(() => e.fab && (e.icon || !!m.icon)), T = l(() => y.value === "button" ? e.type : void 0);
|
|
36
|
+
return (o, U) => (n(), a(c(y.value), {
|
|
37
|
+
disabled: h.value || void 0,
|
|
39
38
|
class: r(["m-btn", [
|
|
40
39
|
`--${o.size}`,
|
|
41
40
|
!o.fab && o.roundedSize && `--rounded-${o.roundedSize}`,
|
|
@@ -47,7 +46,7 @@ const L = /* @__PURE__ */ E({
|
|
|
47
46
|
"--no-underline": o.noUnderline,
|
|
48
47
|
"--fab": o.fab,
|
|
49
48
|
"--loading": o.loading,
|
|
50
|
-
"--disabled":
|
|
49
|
+
"--disabled": h.value,
|
|
51
50
|
"--icon": M.value,
|
|
52
51
|
"--rounded": o.rounded,
|
|
53
52
|
"--no-rounded": o.noRounded,
|
|
@@ -58,7 +57,7 @@ const L = /* @__PURE__ */ E({
|
|
|
58
57
|
type: T.value
|
|
59
58
|
}, {
|
|
60
59
|
default: D(() => [
|
|
61
|
-
|
|
60
|
+
g.value ? (n(), f(
|
|
62
61
|
"div",
|
|
63
62
|
{
|
|
64
63
|
key: 0,
|
|
@@ -68,17 +67,17 @@ const L = /* @__PURE__ */ E({
|
|
|
68
67
|
t(`
|
|
69
68
|
@slot left-icon - The icon to display on the left of the button
|
|
70
69
|
`),
|
|
71
|
-
|
|
72
|
-
typeof o.leftIcon == "string" ? (n(), a(
|
|
70
|
+
v(o.$slots, "left-icon", {}, () => [
|
|
71
|
+
typeof o.leftIcon == "string" ? (n(), a(p(i), {
|
|
73
72
|
key: 0,
|
|
74
73
|
name: o.leftIcon
|
|
75
|
-
}, null, 8, ["name"])) : o.leftIcon ? (n(), a(
|
|
74
|
+
}, null, 8, ["name"])) : o.leftIcon ? (n(), a(c(o.leftIcon), { key: 1 })) : t("v-if", !0)
|
|
76
75
|
], !0)
|
|
77
76
|
],
|
|
78
77
|
2
|
|
79
78
|
/* CLASS */
|
|
80
79
|
)) : t("v-if", !0),
|
|
81
|
-
S.value ? (n(),
|
|
80
|
+
S.value ? (n(), f(
|
|
82
81
|
"div",
|
|
83
82
|
{
|
|
84
83
|
key: 1,
|
|
@@ -88,17 +87,17 @@ const L = /* @__PURE__ */ E({
|
|
|
88
87
|
t(`
|
|
89
88
|
@slot icon - The icon to display on the fab button
|
|
90
89
|
`),
|
|
91
|
-
|
|
92
|
-
typeof o.icon == "string" ? (n(), a(
|
|
90
|
+
v(o.$slots, "icon", {}, () => [
|
|
91
|
+
typeof o.icon == "string" ? (n(), a(p(i), {
|
|
93
92
|
key: 0,
|
|
94
93
|
name: o.icon
|
|
95
|
-
}, null, 8, ["name"])) : o.icon ? (n(), a(
|
|
94
|
+
}, null, 8, ["name"])) : o.icon ? (n(), a(c(o.icon), { key: 1 })) : t("v-if", !0)
|
|
96
95
|
], !0)
|
|
97
96
|
],
|
|
98
97
|
2
|
|
99
98
|
/* CLASS */
|
|
100
99
|
)) : t("v-if", !0),
|
|
101
|
-
o.$slots.default ? (n(),
|
|
100
|
+
o.$slots.default ? (n(), f(
|
|
102
101
|
"span",
|
|
103
102
|
{
|
|
104
103
|
key: 2,
|
|
@@ -108,12 +107,12 @@ const L = /* @__PURE__ */ E({
|
|
|
108
107
|
t(`
|
|
109
108
|
@slot default - The content of the button
|
|
110
109
|
`),
|
|
111
|
-
|
|
110
|
+
v(o.$slots, "default", {}, void 0, !0)
|
|
112
111
|
],
|
|
113
112
|
2
|
|
114
113
|
/* CLASS */
|
|
115
114
|
)) : t("v-if", !0),
|
|
116
|
-
|
|
115
|
+
k.value ? (n(), f(
|
|
117
116
|
"div",
|
|
118
117
|
{
|
|
119
118
|
key: 3,
|
|
@@ -123,17 +122,17 @@ const L = /* @__PURE__ */ E({
|
|
|
123
122
|
t(`
|
|
124
123
|
@slot right-icon - The icon to display on the right of the button
|
|
125
124
|
`),
|
|
126
|
-
|
|
127
|
-
typeof o.rightIcon == "string" ? (n(), a(
|
|
125
|
+
v(o.$slots, "right-icon", {}, () => [
|
|
126
|
+
typeof o.rightIcon == "string" ? (n(), a(p(i), {
|
|
128
127
|
key: 0,
|
|
129
128
|
name: o.rightIcon
|
|
130
|
-
}, null, 8, ["name"])) : o.rightIcon ? (n(), a(
|
|
129
|
+
}, null, 8, ["name"])) : o.rightIcon ? (n(), a(c(o.rightIcon), { key: 1 })) : t("v-if", !0)
|
|
131
130
|
], !0)
|
|
132
131
|
],
|
|
133
132
|
2
|
|
134
133
|
/* CLASS */
|
|
135
134
|
)) : t("v-if", !0),
|
|
136
|
-
s.value ? (n(), a(
|
|
135
|
+
s.value ? (n(), a(p(d), {
|
|
137
136
|
key: 4,
|
|
138
137
|
class: "m-btn-loader",
|
|
139
138
|
size: "2em",
|
|
@@ -144,12 +143,12 @@ const L = /* @__PURE__ */ E({
|
|
|
144
143
|
/* FORWARDED */
|
|
145
144
|
}, 8, ["disabled", "class", "type"]));
|
|
146
145
|
}
|
|
147
|
-
}), P = (u,
|
|
148
|
-
const
|
|
149
|
-
for (const [
|
|
150
|
-
i
|
|
151
|
-
return
|
|
152
|
-
}, N = /* @__PURE__ */ P(L, [["__scopeId", "data-v-
|
|
146
|
+
}), P = (u, e) => {
|
|
147
|
+
const d = u.__vccOpts || u;
|
|
148
|
+
for (const [i, b] of e)
|
|
149
|
+
d[i] = b;
|
|
150
|
+
return d;
|
|
151
|
+
}, N = /* @__PURE__ */ P(L, [["__scopeId", "data-v-48f14785"]]);
|
|
153
152
|
export {
|
|
154
153
|
N as M,
|
|
155
154
|
P as _
|