maz-ui 3.43.3 → 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/PhoneInput.vue.d.ts +4 -0
- 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 +13 -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-BqgdERYQ.mjs → MazBtn-C5G78zLg.mjs} +35 -36
- package/components/chunks/MazBtn-CeVwyYR5.mjs +150 -0
- package/components/chunks/{MazBtn-CX4OgPzp.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-BmPd9Bqa.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-DtG5ii8R.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-1tGT28Sa.mjs → MazPhoneNumberInput-DpWoNQfx.mjs} +705 -680
- 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-BRgzRI07.mjs → MazSpinner-BGPOws6a.mjs} +6 -7
- package/components/chunks/{MazSpinner-BXxULdoD.mjs → MazSpinner-BWYdqSMP.mjs} +6 -7
- package/components/chunks/{MazSpinner-BKjRRWtc.mjs → MazSpinner-BZOjTZBN.mjs} +6 -7
- package/components/chunks/{MazSpinner-BFXwybUv.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-B-svzg-R.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-DL8XAldH.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/PhoneInput.vue.d.ts +4 -0
- 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 +13 -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-CFwe--oV.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-BZUmasIf.mjs +0 -38
- package/components/chunks/MazSpinner-BjIFFTYY.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,59 +1,61 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
providedId: t
|
|
1
|
+
import { getCurrentInstance as Y, computed as Z, nextTick as x, defineComponent as ee, defineAsyncComponent as A, ref as I, watch as L, resolveComponent as oe, withDirectives as T, openBlock as v, createElementBlock as h, unref as u, normalizeClass as k, normalizeStyle as ne, createElementVNode as C, withModifiers as D, renderSlot as p, createTextVNode as E, toDisplayString as $, createCommentVNode as b, createVNode as U, mergeProps as te, withCtx as B, createBlock as N, Transition as le, Fragment as S, renderList as se, vShow as re } from "vue";
|
|
2
|
+
import './assets/MazDropdown.css';function ae({
|
|
3
|
+
componentName: t,
|
|
4
|
+
providedId: l
|
|
6
5
|
}) {
|
|
7
|
-
const
|
|
8
|
-
return Z(() =>
|
|
6
|
+
const n = Y();
|
|
7
|
+
return Z(() => l ?? `${t}-${n == null ? void 0 : n.uid}`);
|
|
9
8
|
}
|
|
10
|
-
function ie(
|
|
11
|
-
let
|
|
12
|
-
return function(...
|
|
13
|
-
clearTimeout(
|
|
14
|
-
|
|
15
|
-
},
|
|
9
|
+
function ie(t, l) {
|
|
10
|
+
let n;
|
|
11
|
+
return function(...c) {
|
|
12
|
+
clearTimeout(n), n = setTimeout(() => {
|
|
13
|
+
t.apply(this, c);
|
|
14
|
+
}, l);
|
|
16
15
|
};
|
|
17
16
|
}
|
|
18
|
-
const
|
|
19
|
-
|
|
17
|
+
const M = "__maz-click-outside__";
|
|
18
|
+
function F() {
|
|
19
|
+
return document.ontouchstart === null ? "touchstart" : "click";
|
|
20
|
+
}
|
|
21
|
+
async function V(t, l) {
|
|
20
22
|
try {
|
|
21
|
-
R(
|
|
22
|
-
const
|
|
23
|
-
if (!
|
|
23
|
+
R(t);
|
|
24
|
+
const n = l.instance, c = l.value, w = typeof c == "function";
|
|
25
|
+
if (!w)
|
|
24
26
|
throw new Error("[maz-ui](vClickOutside) the callback should be a function");
|
|
25
|
-
await x(),
|
|
26
|
-
if ((!
|
|
27
|
-
return
|
|
27
|
+
await x(), t[M] = (f) => {
|
|
28
|
+
if ((!t || f.target && !t.contains(f.target)) && c && w)
|
|
29
|
+
return c.call(n, f);
|
|
28
30
|
};
|
|
29
|
-
const
|
|
30
|
-
document.addEventListener(
|
|
31
|
-
} catch (
|
|
32
|
-
console.error("[maz-ui](vClickOutside)",
|
|
31
|
+
const z = F();
|
|
32
|
+
document.addEventListener(z, t[M], { passive: !0 });
|
|
33
|
+
} catch (n) {
|
|
34
|
+
console.error("[maz-ui](vClickOutside)", n);
|
|
33
35
|
}
|
|
34
36
|
}
|
|
35
|
-
function R(
|
|
37
|
+
function R(t) {
|
|
36
38
|
try {
|
|
37
|
-
const
|
|
38
|
-
document.removeEventListener(
|
|
39
|
-
} catch (
|
|
40
|
-
console.error("[maz-ui](vClickOutside)",
|
|
39
|
+
const l = F();
|
|
40
|
+
document.removeEventListener(l, t[M], !1), delete t[M];
|
|
41
|
+
} catch (l) {
|
|
42
|
+
console.error("[maz-ui](vClickOutside)", l);
|
|
41
43
|
}
|
|
42
44
|
}
|
|
43
|
-
function ue(
|
|
45
|
+
function ue(t, l) {
|
|
44
46
|
try {
|
|
45
|
-
if (
|
|
47
|
+
if (l.value === l.oldValue)
|
|
46
48
|
return;
|
|
47
|
-
V(
|
|
48
|
-
} catch (
|
|
49
|
-
console.error("[maz-ui](vClickOutside)",
|
|
49
|
+
V(t, l);
|
|
50
|
+
} catch (n) {
|
|
51
|
+
console.error("[maz-ui](vClickOutside)", n);
|
|
50
52
|
}
|
|
51
53
|
}
|
|
52
54
|
const de = {
|
|
53
55
|
mounted: V,
|
|
54
56
|
updated: ue,
|
|
55
57
|
unmounted: R
|
|
56
|
-
}, ce = ["id"],
|
|
58
|
+
}, ce = ["id"], fe = ["aria-expanded"], pe = ["id"], me = { class: "button-span" }, ve = ["target", "href"], be = ["onClick"], ye = /* @__PURE__ */ ee({
|
|
57
59
|
inheritAttrs: !1,
|
|
58
60
|
__name: "MazDropdown",
|
|
59
61
|
props: {
|
|
@@ -82,182 +84,182 @@ const de = {
|
|
|
82
84
|
*/
|
|
83
85
|
"update:open"
|
|
84
86
|
],
|
|
85
|
-
setup(
|
|
86
|
-
const
|
|
87
|
+
setup(t, { emit: l }) {
|
|
88
|
+
const n = t, c = l, w = A(() => import("./chunks/MazBtn-f1mBXJeU.mjs").then((e) => e.M)), z = A(() => import("./chunks/chevron-down-CzMH-gFW.mjs")), f = ae({
|
|
87
89
|
componentName: "MazDropdown",
|
|
88
|
-
providedId:
|
|
89
|
-
}),
|
|
90
|
+
providedId: n.id
|
|
91
|
+
}), a = I(n.open), r = I(), m = ie((e) => {
|
|
92
|
+
i(e);
|
|
93
|
+
}, 200);
|
|
90
94
|
function q() {
|
|
91
|
-
|
|
95
|
+
a.value && i(!1);
|
|
92
96
|
}
|
|
93
97
|
function H() {
|
|
94
|
-
|
|
98
|
+
i(!a.value);
|
|
95
99
|
}
|
|
96
100
|
function _() {
|
|
97
|
-
["click"].includes(
|
|
101
|
+
["click"].includes(n.trigger) && H();
|
|
98
102
|
}
|
|
99
103
|
function j() {
|
|
100
|
-
["hover", "both"].includes(
|
|
104
|
+
["hover", "both"].includes(n.trigger) && i(!0);
|
|
101
105
|
}
|
|
102
106
|
function K() {
|
|
103
|
-
["hover", "both"].includes(
|
|
107
|
+
["hover", "both"].includes(n.trigger) && (a.value === !1 ? i(!0) : m(!0));
|
|
104
108
|
}
|
|
105
109
|
function P() {
|
|
106
|
-
["hover", "both"].includes(
|
|
110
|
+
["hover", "both"].includes(n.trigger) && m(!1);
|
|
107
111
|
}
|
|
108
112
|
function Q() {
|
|
109
|
-
|
|
113
|
+
m(!1);
|
|
110
114
|
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
var c;
|
|
118
|
-
g("menuitem-clicked", l), await ((c = e.action) == null ? void 0 : c.call(e)), s.noCloseOnClick || h();
|
|
115
|
+
function i(e) {
|
|
116
|
+
n.disabled || (a.value = e, c("update:open", e));
|
|
117
|
+
}
|
|
118
|
+
async function G(e, s) {
|
|
119
|
+
var d;
|
|
120
|
+
c("menuitem-clicked", s), await ((d = e.action) == null ? void 0 : d.call(e)), n.noCloseOnClick || y();
|
|
119
121
|
}
|
|
120
|
-
function
|
|
121
|
-
|
|
122
|
+
function y() {
|
|
123
|
+
n.noCloseOnClick === !1 && i(!1);
|
|
122
124
|
}
|
|
123
125
|
function O(e) {
|
|
124
|
-
e.key === "Escape" ? (e.preventDefault(),
|
|
126
|
+
e.key === "Escape" ? (e.preventDefault(), i(!1)) : ["ArrowDown", "ArrowUp"].includes(e.key) ? W(e) : e.key === "Enter" && typeof r.value == "number" && (e.preventDefault(), document.querySelectorAll(`#${f.value} .menuitem`)[r.value].click(), y());
|
|
125
127
|
}
|
|
126
128
|
function J(e) {
|
|
127
|
-
["ArrowDown", "ArrowUp", "Enter"].includes(e.key) &&
|
|
129
|
+
["ArrowDown", "ArrowUp", "Enter"].includes(e.key) && a.value === !1 && (e.preventDefault(), i(!0));
|
|
128
130
|
}
|
|
129
131
|
function W(e) {
|
|
130
132
|
var o;
|
|
131
133
|
e.preventDefault();
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
const
|
|
135
|
-
|
|
134
|
+
const s = e.key;
|
|
135
|
+
a.value || i(!0);
|
|
136
|
+
const d = (o = n.items) == null ? void 0 : o.length;
|
|
137
|
+
d && (typeof r.value == "number" ? r.value === d - 1 && s === "ArrowDown" ? r.value = 0 : r.value === 0 && s === "ArrowUp" ? r.value = d - 1 : r.value = s === "ArrowDown" ? r.value + 1 : r.value - 1 : r.value = s === "ArrowDown" ? 0 : d - 1);
|
|
136
138
|
}
|
|
137
139
|
return L(
|
|
138
|
-
() =>
|
|
140
|
+
() => a.value,
|
|
139
141
|
(e) => {
|
|
140
142
|
e ? document.addEventListener("keydown", O) : document.removeEventListener("keydown", O), r.value = void 0;
|
|
141
143
|
}
|
|
142
144
|
), L(
|
|
143
|
-
() =>
|
|
144
|
-
(e) =>
|
|
145
|
-
), (e,
|
|
146
|
-
const
|
|
147
|
-
return T((
|
|
148
|
-
id:
|
|
149
|
-
class:
|
|
145
|
+
() => n.open,
|
|
146
|
+
(e) => i(e)
|
|
147
|
+
), (e, s) => {
|
|
148
|
+
const d = oe("RouterLink");
|
|
149
|
+
return T((v(), h("div", {
|
|
150
|
+
id: u(f),
|
|
151
|
+
class: k(["m-dropdown", [n.class]]),
|
|
150
152
|
style: ne(e.style)
|
|
151
153
|
}, [
|
|
152
|
-
|
|
154
|
+
C("div", {
|
|
153
155
|
role: "button",
|
|
154
156
|
tabindex: "0",
|
|
155
157
|
class: "m-dropdown__wrapper",
|
|
156
|
-
"aria-expanded":
|
|
158
|
+
"aria-expanded": a.value,
|
|
157
159
|
"aria-haspopup": "menu",
|
|
158
|
-
onClick:
|
|
160
|
+
onClick: D(_, ["stop"]),
|
|
159
161
|
onFocus: j,
|
|
160
162
|
onBlur: Q,
|
|
161
163
|
onKeydown: J,
|
|
162
164
|
onMouseenter: K,
|
|
163
165
|
onMouseleave: P
|
|
164
166
|
}, [
|
|
165
|
-
|
|
166
|
-
id: `${
|
|
167
|
+
C("span", {
|
|
168
|
+
id: `${u(f)}-labelspan`,
|
|
167
169
|
class: "maz-sr-only"
|
|
168
170
|
}, [
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
171
|
+
p(e.$slots, "screen-reader-description", {}, () => [
|
|
172
|
+
E(
|
|
173
|
+
$(e.screenReaderDescription),
|
|
172
174
|
1
|
|
173
175
|
/* TEXT */
|
|
174
176
|
)
|
|
175
177
|
])
|
|
176
|
-
], 8,
|
|
177
|
-
|
|
178
|
+
], 8, pe),
|
|
179
|
+
b(`
|
|
178
180
|
@slot Custom Element
|
|
179
181
|
@binding {Boolen} is-open close function
|
|
180
182
|
@default \`<MazBtn />\`
|
|
181
183
|
`),
|
|
182
|
-
|
|
183
|
-
U(
|
|
184
|
+
p(e.$slots, "element", { isOpen: a.value }, () => [
|
|
185
|
+
U(u(w), te({
|
|
184
186
|
color: e.color,
|
|
185
187
|
disabled: e.disabled,
|
|
186
|
-
"aria-labelledby": `${
|
|
188
|
+
"aria-labelledby": `${u(f)}-labelspan`
|
|
187
189
|
}, e.$attrs, { tabindex: "-1" }), {
|
|
188
190
|
default: B(() => [
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
e.noChevron ?
|
|
191
|
+
C("span", me, [
|
|
192
|
+
b(" @slot Button text "),
|
|
193
|
+
p(e.$slots, "default"),
|
|
194
|
+
e.noChevron ? b("v-if", !0) : (v(), N(u(z), {
|
|
193
195
|
key: 0,
|
|
194
|
-
class:
|
|
196
|
+
class: k([{ "maz-rotate-180": a.value }, "chevron-icon"])
|
|
195
197
|
}, null, 8, ["class"]))
|
|
196
198
|
]),
|
|
197
|
-
|
|
199
|
+
b(" @slot Menu Label ")
|
|
198
200
|
]),
|
|
199
201
|
_: 3
|
|
200
202
|
/* FORWARDED */
|
|
201
203
|
}, 16, ["color", "disabled", "aria-labelledby"])
|
|
202
204
|
])
|
|
203
|
-
], 40,
|
|
205
|
+
], 40, fe),
|
|
204
206
|
U(le, {
|
|
205
207
|
name: "maz-scale-fade",
|
|
206
208
|
persisted: ""
|
|
207
209
|
}, {
|
|
208
210
|
default: B(() => [
|
|
209
|
-
T(
|
|
211
|
+
T(C(
|
|
210
212
|
"div",
|
|
211
213
|
{
|
|
212
214
|
role: "menu",
|
|
213
215
|
"aria-label": "Menu",
|
|
214
|
-
class:
|
|
216
|
+
class: k(["menu", {
|
|
215
217
|
"--top": e.position.includes("top"),
|
|
216
218
|
"--left": e.position.includes("left"),
|
|
217
219
|
"--right": e.position.includes("right"),
|
|
218
220
|
"--bottom": e.position.includes("bottom")
|
|
219
221
|
}]),
|
|
220
222
|
tabindex: "-1",
|
|
221
|
-
onFocus:
|
|
222
|
-
onBlur:
|
|
223
|
-
onMouseenter:
|
|
224
|
-
onMouseleave:
|
|
223
|
+
onFocus: s[0] || (s[0] = (o) => u(m)(!0)),
|
|
224
|
+
onBlur: s[1] || (s[1] = (o) => u(m)(!1)),
|
|
225
|
+
onMouseenter: s[2] || (s[2] = (o) => ["hover", "both"].includes(e.trigger) ? u(m)(!0) : void 0),
|
|
226
|
+
onMouseleave: s[3] || (s[3] = (o) => ["hover", "both"].includes(e.trigger) ? u(m)(!1) : void 0)
|
|
225
227
|
},
|
|
226
228
|
[
|
|
227
|
-
|
|
229
|
+
b(`
|
|
228
230
|
@slot Custom dropdown panel
|
|
229
231
|
@binding {Array} items - items prop data
|
|
230
232
|
`),
|
|
231
|
-
|
|
232
|
-
(
|
|
233
|
+
p(e.$slots, "dropdown", { items: e.items }, () => [
|
|
234
|
+
(v(!0), h(
|
|
233
235
|
S,
|
|
234
236
|
null,
|
|
235
|
-
se(e.items, (o,
|
|
237
|
+
se(e.items, (o, g) => (v(), h(
|
|
236
238
|
S,
|
|
237
|
-
{ key:
|
|
239
|
+
{ key: g },
|
|
238
240
|
[
|
|
239
|
-
|
|
241
|
+
b(`
|
|
240
242
|
@slot Custom menu item
|
|
241
243
|
@binding {Object} item - menu item
|
|
242
244
|
`),
|
|
243
|
-
|
|
244
|
-
o.to ? (
|
|
245
|
+
p(e.$slots, "menuitem", { item: o }, () => [
|
|
246
|
+
o.to ? (v(), N(d, {
|
|
245
247
|
key: 0,
|
|
246
248
|
target: o.href ? o.target ?? "_self" : void 0,
|
|
247
249
|
to: o.to,
|
|
248
|
-
class:
|
|
250
|
+
class: k(["menuitem", [
|
|
249
251
|
{
|
|
250
|
-
"--is-keyboard-selected": r.value ===
|
|
252
|
+
"--is-keyboard-selected": r.value === g
|
|
251
253
|
},
|
|
252
254
|
o.class
|
|
253
255
|
]]),
|
|
254
256
|
tabindex: "-1",
|
|
255
|
-
onClick:
|
|
257
|
+
onClick: D(y, ["stop"])
|
|
256
258
|
}, {
|
|
257
259
|
default: B(() => [
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
260
|
+
p(e.$slots, "menuitem-label", { item: o }, () => [
|
|
261
|
+
E(
|
|
262
|
+
$(o.label),
|
|
261
263
|
1
|
|
262
264
|
/* TEXT */
|
|
263
265
|
)
|
|
@@ -265,46 +267,46 @@ const de = {
|
|
|
265
267
|
]),
|
|
266
268
|
_: 2
|
|
267
269
|
/* DYNAMIC */
|
|
268
|
-
}, 1032, ["target", "to", "class"])) : o.href ? (
|
|
270
|
+
}, 1032, ["target", "to", "class"])) : o.href ? (v(), h("a", {
|
|
269
271
|
key: 1,
|
|
270
272
|
target: o.href ? o.target ?? "_self" : void 0,
|
|
271
273
|
href: o.href,
|
|
272
274
|
tabindex: "-1",
|
|
273
|
-
class:
|
|
275
|
+
class: k(["menuitem", [
|
|
274
276
|
{
|
|
275
|
-
"--is-keyboard-selected": r.value ===
|
|
277
|
+
"--is-keyboard-selected": r.value === g
|
|
276
278
|
},
|
|
277
279
|
o.class
|
|
278
280
|
]]),
|
|
279
|
-
onClick:
|
|
281
|
+
onClick: D(y, ["stop"])
|
|
280
282
|
}, [
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
283
|
+
p(e.$slots, "menuitem-label", { item: o }, () => [
|
|
284
|
+
E(
|
|
285
|
+
$(o.label),
|
|
284
286
|
1
|
|
285
287
|
/* TEXT */
|
|
286
288
|
)
|
|
287
289
|
])
|
|
288
|
-
], 10, ve)) : o.action ? (
|
|
290
|
+
], 10, ve)) : o.action ? (v(), h("button", {
|
|
289
291
|
key: 2,
|
|
290
292
|
tabindex: "-1",
|
|
291
293
|
type: "button",
|
|
292
|
-
class:
|
|
294
|
+
class: k(["menuitem", [
|
|
293
295
|
{
|
|
294
|
-
"--is-keyboard-selected": r.value ===
|
|
296
|
+
"--is-keyboard-selected": r.value === g
|
|
295
297
|
},
|
|
296
298
|
o.class
|
|
297
299
|
]]),
|
|
298
|
-
onClick:
|
|
300
|
+
onClick: D((X) => o.action ? G(o, X) : y(), ["stop"])
|
|
299
301
|
}, [
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
302
|
+
p(e.$slots, "menuitem-label", { item: o }, () => [
|
|
303
|
+
E(
|
|
304
|
+
$(o.label),
|
|
303
305
|
1
|
|
304
306
|
/* TEXT */
|
|
305
307
|
)
|
|
306
308
|
])
|
|
307
|
-
], 10, be)) :
|
|
309
|
+
], 10, be)) : b("v-if", !0)
|
|
308
310
|
])
|
|
309
311
|
],
|
|
310
312
|
64
|
|
@@ -318,14 +320,14 @@ const de = {
|
|
|
318
320
|
34
|
|
319
321
|
/* CLASS, NEED_HYDRATION */
|
|
320
322
|
), [
|
|
321
|
-
[re,
|
|
323
|
+
[re, a.value]
|
|
322
324
|
])
|
|
323
325
|
]),
|
|
324
326
|
_: 3
|
|
325
327
|
/* FORWARDED */
|
|
326
328
|
})
|
|
327
329
|
], 14, ce)), [
|
|
328
|
-
[
|
|
330
|
+
[u(de), q]
|
|
329
331
|
]);
|
|
330
332
|
};
|
|
331
333
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentPublicInstance, type PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import type { DropzoneFile, DropzoneOptions } from 'dropzone';
|
|
3
3
|
export interface MazDropzoneOptions extends DropzoneOptions {
|
|
4
4
|
dictFilesDescriptions?: string;
|
|
5
5
|
autoRemoveOnError?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface Props {
|
|
2
2
|
/**
|
|
3
3
|
* Duration of the animation in milliseconds
|
|
4
4
|
* @default '300ms'
|
|
@@ -9,7 +9,7 @@ export type Props = {
|
|
|
9
9
|
* @default 'ease-in-out'
|
|
10
10
|
*/
|
|
11
11
|
timingFunction?: string;
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
13
|
declare let __VLS_typeProps: Props;
|
|
14
14
|
type __VLS_PublicProps = {
|
|
15
15
|
modelValue?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { defineComponent as d, mergeModels as u, useCssVars as m, useModel as f, ref as l, onMounted as c, onUnmounted as v, openBlock as p, createElementBlock as _, normalizeClass as E, createElementVNode as x, mergeProps as h, createCommentVNode as g, renderSlot as M } from "vue";
|
|
2
|
+
import './assets/MazExpandAnimation.css';const V = ["aria-hidden"], A = /* @__PURE__ */ d({
|
|
3
|
+
inheritAttrs: !1,
|
|
4
4
|
__name: "MazExpandAnimation",
|
|
5
|
-
props: /* @__PURE__ */
|
|
5
|
+
props: /* @__PURE__ */ u({
|
|
6
6
|
duration: { default: "300ms" },
|
|
7
7
|
timingFunction: { default: "ease-in-out" }
|
|
8
8
|
}, {
|
|
@@ -11,52 +11,52 @@ const V = ["aria-hidden"], g = /* @__PURE__ */ u({
|
|
|
11
11
|
}),
|
|
12
12
|
emits: ["update:modelValue"],
|
|
13
13
|
setup(i) {
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
"
|
|
14
|
+
m((e) => ({
|
|
15
|
+
"3628b947": e.duration,
|
|
16
|
+
"239277b5": e.timingFunction
|
|
17
17
|
}));
|
|
18
|
-
const n =
|
|
18
|
+
const n = f(i, "modelValue"), a = l(!n.value), t = l();
|
|
19
19
|
function s() {
|
|
20
20
|
n.value || (a.value = !0);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function r() {
|
|
23
23
|
n.value && (a.value = !1);
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return c(() => {
|
|
26
26
|
var e, o;
|
|
27
|
-
(e = t.value) == null || e.addEventListener("transitionstart", s, !1), (o = t.value) == null || o.addEventListener("transitionend",
|
|
28
|
-
}),
|
|
27
|
+
(e = t.value) == null || e.addEventListener("transitionstart", s, !1), (o = t.value) == null || o.addEventListener("transitionend", r, !1);
|
|
28
|
+
}), v(() => {
|
|
29
29
|
var e, o;
|
|
30
|
-
(e = t.value) == null || e.removeEventListener("transitionstart", s, !1), (o = t.value) == null || o.removeEventListener("transitionend",
|
|
31
|
-
}), (e, o) => (
|
|
30
|
+
(e = t.value) == null || e.removeEventListener("transitionstart", s, !1), (o = t.value) == null || o.removeEventListener("transitionend", r, !1);
|
|
31
|
+
}), (e, o) => (p(), _("div", {
|
|
32
32
|
ref_key: "expandAnimationRef",
|
|
33
33
|
ref: t,
|
|
34
|
-
class:
|
|
34
|
+
class: E(["m-expand-animation", { "m-expand-animation--expanded": n.value }]),
|
|
35
35
|
"aria-hidden": !n.value,
|
|
36
36
|
role: "region"
|
|
37
37
|
}, [
|
|
38
|
-
|
|
38
|
+
x(
|
|
39
39
|
"div",
|
|
40
|
-
{
|
|
41
|
-
class:
|
|
40
|
+
h({ class: "m-expand-animation__inner" }, e.$attrs, {
|
|
41
|
+
class: {
|
|
42
42
|
"--overflow-hidden": a.value
|
|
43
|
-
}
|
|
44
|
-
},
|
|
43
|
+
}
|
|
44
|
+
}),
|
|
45
45
|
[
|
|
46
|
-
|
|
46
|
+
g(" @slot Default Slot - Display content "),
|
|
47
47
|
M(e.$slots, "default", {}, void 0, !0)
|
|
48
48
|
],
|
|
49
|
-
|
|
50
|
-
/*
|
|
49
|
+
16
|
|
50
|
+
/* FULL_PROPS */
|
|
51
51
|
)
|
|
52
52
|
], 10, V));
|
|
53
53
|
}
|
|
54
|
-
}),
|
|
54
|
+
}), b = (i, n) => {
|
|
55
55
|
const a = i.__vccOpts || i;
|
|
56
56
|
for (const [t, s] of n)
|
|
57
57
|
a[t] = s;
|
|
58
58
|
return a;
|
|
59
|
-
},
|
|
59
|
+
}, y = /* @__PURE__ */ b(A, [["__scopeId", "data-v-b7ca6b97"]]);
|
|
60
60
|
export {
|
|
61
|
-
|
|
61
|
+
y as default
|
|
62
62
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Color } from './types';
|
|
2
|
-
export
|
|
2
|
+
export interface Props {
|
|
3
3
|
/** The color of the spinner */
|
|
4
4
|
color?: Color;
|
|
5
5
|
/** The size of the spinner */
|
|
6
6
|
size?: string;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
8
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
9
9
|
color: string;
|
|
10
10
|
size: string;
|
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const z = { class: "maz-fixed maz-inset-0 maz-z-default-backdrop maz-flex maz-flex-col maz-gap-2 maz-bg-overlay maz-text-center maz-backdrop-blur maz-flex-center" }, f = { key: 0 }, y = /* @__PURE__ */ r({
|
|
1
|
+
import { defineComponent as s, defineAsyncComponent as l, onMounted as m, onUnmounted as c, openBlock as o, createElementBlock as n, createVNode as d, unref as u, renderSlot as i, createCommentVNode as f } from "vue";
|
|
2
|
+
import './assets/MazFullscreenLoader.css';const p = { class: "maz-fixed maz-inset-0 maz-z-default-backdrop maz-flex maz-flex-col maz-gap-2 maz-bg-overlay maz-text-center maz-backdrop-blur maz-flex-center" }, z = { key: 0 }, y = /* @__PURE__ */ s({
|
|
4
3
|
__name: "MazFullscreenLoader",
|
|
5
4
|
props: {
|
|
6
5
|
color: { default: "primary" },
|
|
7
6
|
size: { default: "3em" }
|
|
8
7
|
},
|
|
9
8
|
setup(_) {
|
|
10
|
-
const t = l(() => import("./chunks/MazSpinner-
|
|
9
|
+
const t = l(() => import("./chunks/MazSpinner-nH44Htog.mjs"));
|
|
10
|
+
function a() {
|
|
11
11
|
document.documentElement.classList.add("--maz-fullscreen-loader-present");
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
|
+
async function r() {
|
|
13
14
|
document.documentElement.classList.remove("--maz-fullscreen-loader-present");
|
|
14
|
-
}
|
|
15
|
+
}
|
|
15
16
|
return m(() => {
|
|
16
17
|
a();
|
|
17
18
|
}), c(() => {
|
|
18
|
-
|
|
19
|
-
}), (e, k) => (o(), n("div",
|
|
19
|
+
r();
|
|
20
|
+
}), (e, k) => (o(), n("div", p, [
|
|
20
21
|
d(u(t), {
|
|
21
22
|
color: e.color,
|
|
22
23
|
size: e.size
|
|
23
24
|
}, null, 8, ["color", "size"]),
|
|
24
|
-
e.$slots.default ? (o(), n("span",
|
|
25
|
+
e.$slots.default ? (o(), n("span", z, [
|
|
25
26
|
i(e.$slots, "default")
|
|
26
|
-
])) :
|
|
27
|
+
])) : f("v-if", !0)
|
|
27
28
|
]));
|
|
28
29
|
}
|
|
29
30
|
});
|
|
@@ -4,7 +4,7 @@ export type { MazGalleryImage } from './types';
|
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
/**
|
|
6
6
|
* Array of string or object: `['https://via.placeholder.com/500', 'https://via.placeholder.com/600']` or `[{ slug: 'https://via.placeholder.com/500', alt: 'image descripton' }, { slug: 'https://via.placeholder.com/600', alt: 'image descripton' }]`
|
|
7
|
-
|
|
7
|
+
*/
|
|
8
8
|
images: {
|
|
9
9
|
type: PropType<MazGalleryImage[]>;
|
|
10
10
|
default: () => never[];
|
|
@@ -77,7 +77,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
77
77
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
78
78
|
/**
|
|
79
79
|
* Array of string or object: `['https://via.placeholder.com/500', 'https://via.placeholder.com/600']` or `[{ slug: 'https://via.placeholder.com/500', alt: 'image descripton' }, { slug: 'https://via.placeholder.com/600', alt: 'image descripton' }]`
|
|
80
|
-
|
|
80
|
+
*/
|
|
81
81
|
images: {
|
|
82
82
|
type: PropType<MazGalleryImage[]>;
|
|
83
83
|
default: () => never[];
|