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,8 +1,8 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface Props {
|
|
2
2
|
id?: string;
|
|
3
3
|
modelValue?: number;
|
|
4
4
|
contentClass?: unknown;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
6
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
7
7
|
id: undefined;
|
|
8
8
|
modelValue: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import { defineComponent as k, mergeModels as x, useCssVars as V, useModel as A, ref as p, onMounted as O, onUnmounted as B, openBlock as f, createElementBlock as b, normalizeClass as $, createElementVNode as u, mergeProps as I, createCommentVNode as L, renderSlot as h, computed as g, normalizeStyle as w, withDirectives as E, vShow as z, getCurrentInstance as N, useSlots as D, Fragment as F, renderList as R, createBlock as j, withCtx as M, unref as C, createVNode as S } from "vue";
|
|
2
|
+
import './assets/MazAccordion.css';const P = ["aria-hidden"], T = /* @__PURE__ */ k({
|
|
3
|
+
inheritAttrs: !1,
|
|
4
4
|
__name: "MazExpandAnimation",
|
|
5
|
-
props: /* @__PURE__ */
|
|
5
|
+
props: /* @__PURE__ */ x({
|
|
6
6
|
duration: { default: "300ms" },
|
|
7
7
|
timingFunction: { default: "ease-in-out" }
|
|
8
8
|
}, {
|
|
@@ -11,52 +11,52 @@ const j = ["aria-hidden"], T = /* @__PURE__ */ k({
|
|
|
11
11
|
}),
|
|
12
12
|
emits: ["update:modelValue"],
|
|
13
13
|
setup(r) {
|
|
14
|
-
V((
|
|
15
|
-
"
|
|
16
|
-
"
|
|
14
|
+
V((n) => ({
|
|
15
|
+
"3628b947": n.duration,
|
|
16
|
+
"239277b5": n.timingFunction
|
|
17
17
|
}));
|
|
18
|
-
const
|
|
18
|
+
const a = A(r, "modelValue"), t = p(!a.value), l = p();
|
|
19
19
|
function i() {
|
|
20
|
-
|
|
20
|
+
a.value || (t.value = !0);
|
|
21
21
|
}
|
|
22
22
|
function m() {
|
|
23
|
-
|
|
23
|
+
a.value && (t.value = !1);
|
|
24
24
|
}
|
|
25
25
|
return O(() => {
|
|
26
|
-
var
|
|
27
|
-
(
|
|
28
|
-
}),
|
|
29
|
-
var
|
|
30
|
-
(
|
|
31
|
-
}), (
|
|
26
|
+
var n, s;
|
|
27
|
+
(n = l.value) == null || n.addEventListener("transitionstart", i, !1), (s = l.value) == null || s.addEventListener("transitionend", m, !1);
|
|
28
|
+
}), B(() => {
|
|
29
|
+
var n, s;
|
|
30
|
+
(n = l.value) == null || n.removeEventListener("transitionstart", i, !1), (s = l.value) == null || s.removeEventListener("transitionend", m, !1);
|
|
31
|
+
}), (n, s) => (f(), b("div", {
|
|
32
32
|
ref_key: "expandAnimationRef",
|
|
33
33
|
ref: l,
|
|
34
|
-
class:
|
|
35
|
-
"aria-hidden": !
|
|
34
|
+
class: $(["m-expand-animation", { "m-expand-animation--expanded": a.value }]),
|
|
35
|
+
"aria-hidden": !a.value,
|
|
36
36
|
role: "region"
|
|
37
37
|
}, [
|
|
38
38
|
u(
|
|
39
39
|
"div",
|
|
40
|
-
{
|
|
41
|
-
class:
|
|
40
|
+
I({ class: "m-expand-animation__inner" }, n.$attrs, {
|
|
41
|
+
class: {
|
|
42
42
|
"--overflow-hidden": t.value
|
|
43
|
-
}
|
|
44
|
-
},
|
|
43
|
+
}
|
|
44
|
+
}),
|
|
45
45
|
[
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
L(" @slot Default Slot - Display content "),
|
|
47
|
+
h(n.$slots, "default", {}, void 0, !0)
|
|
48
48
|
],
|
|
49
|
-
|
|
50
|
-
/*
|
|
49
|
+
16
|
|
50
|
+
/* FULL_PROPS */
|
|
51
51
|
)
|
|
52
|
-
], 10,
|
|
52
|
+
], 10, P));
|
|
53
53
|
}
|
|
54
|
-
}), y = (r,
|
|
54
|
+
}), y = (r, a) => {
|
|
55
55
|
const t = r.__vccOpts || r;
|
|
56
|
-
for (const [l, i] of
|
|
56
|
+
for (const [l, i] of a)
|
|
57
57
|
t[l] = i;
|
|
58
58
|
return t;
|
|
59
|
-
}, U = /* @__PURE__ */ y(T, [["__scopeId", "data-v-
|
|
59
|
+
}, U = /* @__PURE__ */ y(T, [["__scopeId", "data-v-b7ca6b97"]]), q = { class: "inner" }, H = /* @__PURE__ */ k({
|
|
60
60
|
__name: "MazCardSpotlight",
|
|
61
61
|
props: {
|
|
62
62
|
color: { default: "primary" },
|
|
@@ -68,16 +68,16 @@ const j = ["aria-hidden"], T = /* @__PURE__ */ k({
|
|
|
68
68
|
},
|
|
69
69
|
setup(r) {
|
|
70
70
|
V((d) => ({
|
|
71
|
-
"
|
|
72
|
-
|
|
71
|
+
"4157dd1a": d.innerOpacity,
|
|
72
|
+
"22a94e2a": n.value
|
|
73
73
|
}));
|
|
74
|
-
const
|
|
74
|
+
const a = r, t = p(), l = p(), i = p(!1);
|
|
75
75
|
function m({ clientX: d, clientY: c }) {
|
|
76
|
-
var e,
|
|
76
|
+
var e, _, o;
|
|
77
77
|
i.value = !0;
|
|
78
78
|
const v = (e = l.value) == null ? void 0 : e.getBoundingClientRect();
|
|
79
|
-
v && ((
|
|
80
|
-
|
|
79
|
+
v && ((o = (_ = t.value) == null ? void 0 : _.animate) == null || o.call(
|
|
80
|
+
_,
|
|
81
81
|
[
|
|
82
82
|
{
|
|
83
83
|
transform: `translate(${d - v.left - v.width / 2}px,${c - v.top - v.height / 2}px)`
|
|
@@ -89,15 +89,15 @@ const j = ["aria-hidden"], T = /* @__PURE__ */ k({
|
|
|
89
89
|
}
|
|
90
90
|
));
|
|
91
91
|
}
|
|
92
|
-
const
|
|
92
|
+
const n = g(() => `var(--maz-color-${a.color}-alpha)`), s = g(() => `var(--maz-color-${a.color}-alpha-20)`);
|
|
93
93
|
return O(() => {
|
|
94
94
|
window.addEventListener("mousemove", m);
|
|
95
|
-
}),
|
|
95
|
+
}), B(() => {
|
|
96
96
|
window.removeEventListener("mousemove", m);
|
|
97
|
-
}), (d, c) => (
|
|
97
|
+
}), (d, c) => (f(), b(
|
|
98
98
|
"div",
|
|
99
99
|
{
|
|
100
|
-
class:
|
|
100
|
+
class: $(["m-card-spotlight", { "maz-elevation": !d.noElevation }]),
|
|
101
101
|
style: w({ backgroundColor: s.value })
|
|
102
102
|
},
|
|
103
103
|
[
|
|
@@ -105,10 +105,10 @@ const j = ["aria-hidden"], T = /* @__PURE__ */ k({
|
|
|
105
105
|
u(
|
|
106
106
|
"div",
|
|
107
107
|
{
|
|
108
|
-
class:
|
|
108
|
+
class: $(["content", [{ "maz-p-4": d.padding }, d.contentClass]])
|
|
109
109
|
},
|
|
110
110
|
[
|
|
111
|
-
|
|
111
|
+
h(d.$slots, "default", {}, void 0, !0)
|
|
112
112
|
],
|
|
113
113
|
2
|
|
114
114
|
/* CLASS */
|
|
@@ -120,7 +120,7 @@ const j = ["aria-hidden"], T = /* @__PURE__ */ k({
|
|
|
120
120
|
ref_key: "blobElement",
|
|
121
121
|
ref: t,
|
|
122
122
|
class: "blob",
|
|
123
|
-
style: w({ backgroundColor:
|
|
123
|
+
style: w({ backgroundColor: n.value })
|
|
124
124
|
},
|
|
125
125
|
null,
|
|
126
126
|
4
|
|
@@ -146,13 +146,13 @@ const j = ["aria-hidden"], T = /* @__PURE__ */ k({
|
|
|
146
146
|
/* CLASS, STYLE */
|
|
147
147
|
));
|
|
148
148
|
}
|
|
149
|
-
}),
|
|
149
|
+
}), W = /* @__PURE__ */ y(H, [["__scopeId", "data-v-5d8ac6ae"]]), G = {
|
|
150
150
|
xmlns: "http://www.w3.org/2000/svg",
|
|
151
151
|
width: "1em",
|
|
152
152
|
height: "1em",
|
|
153
153
|
fill: "none",
|
|
154
154
|
viewBox: "0 0 24 24"
|
|
155
|
-
},
|
|
155
|
+
}, J = /* @__PURE__ */ u(
|
|
156
156
|
"path",
|
|
157
157
|
{
|
|
158
158
|
stroke: "currentColor",
|
|
@@ -164,24 +164,24 @@ const j = ["aria-hidden"], T = /* @__PURE__ */ k({
|
|
|
164
164
|
null,
|
|
165
165
|
-1
|
|
166
166
|
/* HOISTED */
|
|
167
|
-
),
|
|
168
|
-
|
|
167
|
+
), K = [
|
|
168
|
+
J
|
|
169
169
|
];
|
|
170
|
-
function
|
|
171
|
-
return
|
|
170
|
+
function Q(r, a) {
|
|
171
|
+
return f(), b("svg", G, [...K]);
|
|
172
172
|
}
|
|
173
|
-
const
|
|
174
|
-
function
|
|
173
|
+
const X = { render: Q };
|
|
174
|
+
function Y({
|
|
175
175
|
componentName: r,
|
|
176
|
-
providedId:
|
|
176
|
+
providedId: a
|
|
177
177
|
}) {
|
|
178
|
-
const t =
|
|
179
|
-
return g(() =>
|
|
178
|
+
const t = N();
|
|
179
|
+
return g(() => a ?? `${r}-${t == null ? void 0 : t.uid}`);
|
|
180
180
|
}
|
|
181
|
-
const
|
|
181
|
+
const Z = {
|
|
182
182
|
class: "m-accordion",
|
|
183
183
|
role: "presentation"
|
|
184
|
-
},
|
|
184
|
+
}, ee = ["id", "aria-controls", "aria-expanded", "onClick"], te = /* @__PURE__ */ k({
|
|
185
185
|
__name: "MazAccordion",
|
|
186
186
|
props: {
|
|
187
187
|
id: { default: void 0 },
|
|
@@ -189,13 +189,13 @@ const Y = {
|
|
|
189
189
|
contentClass: { default: void 0 }
|
|
190
190
|
},
|
|
191
191
|
emits: ["update:model-value"],
|
|
192
|
-
setup(r, { emit:
|
|
193
|
-
const t = r, l =
|
|
192
|
+
setup(r, { emit: a }) {
|
|
193
|
+
const t = r, l = a, i = Y({
|
|
194
194
|
componentName: "MazAccordion",
|
|
195
195
|
providedId: t.id
|
|
196
|
-
}), m =
|
|
196
|
+
}), m = D(), n = g(
|
|
197
197
|
() => Object.keys(m).filter((e) => e.startsWith("title-")).length
|
|
198
|
-
), s =
|
|
198
|
+
), s = p(t.modelValue), d = g({
|
|
199
199
|
get: () => t.modelValue || s.value,
|
|
200
200
|
set: (e) => {
|
|
201
201
|
s.value = e, l("update:model-value", e);
|
|
@@ -207,50 +207,50 @@ const Y = {
|
|
|
207
207
|
function v(e) {
|
|
208
208
|
d.value === e ? (s.value = 0, l("update:model-value", 0)) : (s.value = e, l("update:model-value", e));
|
|
209
209
|
}
|
|
210
|
-
return (e,
|
|
211
|
-
(
|
|
212
|
-
|
|
210
|
+
return (e, _) => (f(), b("div", Z, [
|
|
211
|
+
(f(!0), b(
|
|
212
|
+
F,
|
|
213
213
|
null,
|
|
214
|
-
|
|
215
|
-
|
|
214
|
+
R(n.value, (o) => (f(), j(
|
|
215
|
+
W,
|
|
216
216
|
{
|
|
217
|
-
key:
|
|
217
|
+
key: o,
|
|
218
218
|
class: "m-accordion__spotlight",
|
|
219
219
|
padding: !1
|
|
220
220
|
},
|
|
221
221
|
{
|
|
222
222
|
default: M(() => [
|
|
223
223
|
u("button", {
|
|
224
|
-
id: `step-${
|
|
224
|
+
id: `step-${o}-${C(i)}`,
|
|
225
225
|
class: "m-accordion__header",
|
|
226
|
-
"aria-controls": `step-${
|
|
227
|
-
"aria-expanded": c(
|
|
228
|
-
onClick: (
|
|
226
|
+
"aria-controls": `step-${o}-${C(i)}`,
|
|
227
|
+
"aria-expanded": c(o),
|
|
228
|
+
onClick: (ne) => v(o)
|
|
229
229
|
}, [
|
|
230
|
-
|
|
231
|
-
isOpen: c(
|
|
230
|
+
h(e.$slots, `title-${o}`, {
|
|
231
|
+
isOpen: c(o)
|
|
232
232
|
}, void 0, !0),
|
|
233
|
-
S(C(
|
|
234
|
-
class:
|
|
233
|
+
S(C(X), {
|
|
234
|
+
class: $(["header-icon", { "--rotate": c(o) }])
|
|
235
235
|
}, null, 8, ["class"])
|
|
236
|
-
], 8,
|
|
236
|
+
], 8, ee),
|
|
237
237
|
S(U, {
|
|
238
238
|
"animation-duration": "300ms",
|
|
239
|
-
"model-value": c(
|
|
240
|
-
"aria-labelledby": `step-${
|
|
239
|
+
"model-value": c(o),
|
|
240
|
+
"aria-labelledby": `step-${o}-${C(i)}`
|
|
241
241
|
}, {
|
|
242
242
|
default: M(() => [
|
|
243
243
|
u(
|
|
244
244
|
"div",
|
|
245
245
|
{
|
|
246
|
-
class:
|
|
246
|
+
class: $(["m-accordion__content", e.contentClass])
|
|
247
247
|
},
|
|
248
248
|
[
|
|
249
|
-
|
|
250
|
-
isOpen: c(
|
|
249
|
+
h(e.$slots, "content", {
|
|
250
|
+
isOpen: c(o)
|
|
251
251
|
}, void 0, !0),
|
|
252
|
-
|
|
253
|
-
isOpen: c(
|
|
252
|
+
h(e.$slots, `content-${o}`, {
|
|
253
|
+
isOpen: c(o)
|
|
254
254
|
}, void 0, !0)
|
|
255
255
|
],
|
|
256
256
|
2
|
|
@@ -272,7 +272,7 @@ const Y = {
|
|
|
272
272
|
))
|
|
273
273
|
]));
|
|
274
274
|
}
|
|
275
|
-
}),
|
|
275
|
+
}), ae = /* @__PURE__ */ y(te, [["__scopeId", "data-v-3413d328"]]);
|
|
276
276
|
export {
|
|
277
|
-
|
|
277
|
+
ae as default
|
|
278
278
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const b = { class: "maz-sr-only" }, g = {
|
|
1
|
+
import { defineComponent as v, useCssVars as _, useSlots as h, computed as l, ref as b, watch as C, openBlock as p, createElementBlock as m, normalizeClass as $, createElementVNode as A, renderSlot as f, createTextVNode as o, toDisplayString as a, createCommentVNode as d } from "vue";
|
|
2
|
+
import './assets/MazAnimatedCounter.css';const S = { class: "maz-sr-only" }, g = {
|
|
4
3
|
key: 0,
|
|
5
4
|
class: "m-animated-counter__fix"
|
|
6
5
|
}, k = /* @__PURE__ */ v({
|
|
@@ -13,11 +12,11 @@ const b = { class: "maz-sr-only" }, g = {
|
|
|
13
12
|
},
|
|
14
13
|
setup(n) {
|
|
15
14
|
_((e) => ({
|
|
16
|
-
"
|
|
17
|
-
|
|
15
|
+
"7cf84c3b": x.value,
|
|
16
|
+
a2b7049a: e.count
|
|
18
17
|
}));
|
|
19
|
-
const t = n, s = h(), r = l(() => !!t.prefix || !!s.prefix), u = l(() => !!t.suffix || !!s.suffix), i =
|
|
20
|
-
|
|
18
|
+
const t = n, s = h(), r = l(() => !!t.prefix || !!s.prefix), u = l(() => !!t.suffix || !!s.suffix), i = b(!0);
|
|
19
|
+
C(
|
|
21
20
|
() => t.count,
|
|
22
21
|
(e, c) => {
|
|
23
22
|
e !== c && (i.value = !1, setTimeout(() => {
|
|
@@ -29,14 +28,14 @@ const b = { class: "maz-sr-only" }, g = {
|
|
|
29
28
|
return (e, c) => (p(), m(
|
|
30
29
|
"span",
|
|
31
30
|
{
|
|
32
|
-
class:
|
|
31
|
+
class: $(["m-animated-counter", {
|
|
33
32
|
"--animated": i.value,
|
|
34
33
|
"--prefixed": r.value,
|
|
35
34
|
"--suffixed": u.value
|
|
36
35
|
}])
|
|
37
36
|
},
|
|
38
37
|
[
|
|
39
|
-
|
|
38
|
+
A("span", S, [
|
|
40
39
|
f(e.$slots, "prefix", {}, () => [
|
|
41
40
|
o(
|
|
42
41
|
a(e.prefix),
|
|
@@ -85,7 +84,7 @@ const b = { class: "maz-sr-only" }, g = {
|
|
|
85
84
|
for (const [r, u] of t)
|
|
86
85
|
s[r] = u;
|
|
87
86
|
return s;
|
|
88
|
-
}, V = /* @__PURE__ */ y(k, [["__scopeId", "data-v-
|
|
87
|
+
}, V = /* @__PURE__ */ y(k, [["__scopeId", "data-v-95ad1bb8"]]);
|
|
89
88
|
export {
|
|
90
89
|
V as default
|
|
91
90
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Color } from './types';
|
|
2
2
|
export type { Color };
|
|
3
|
-
export
|
|
3
|
+
export interface Props {
|
|
4
4
|
/** The source of the image */
|
|
5
5
|
src?: string | null;
|
|
6
6
|
/** The caption of the avatar */
|
|
@@ -44,7 +44,7 @@ export type Props = {
|
|
|
44
44
|
fallbackSrc?: string;
|
|
45
45
|
/** Load the fallback image by default */
|
|
46
46
|
noPhoto?: boolean;
|
|
47
|
-
}
|
|
47
|
+
}
|
|
48
48
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
49
49
|
src: undefined;
|
|
50
50
|
caption: undefined;
|
|
@@ -89,8 +89,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
89
89
|
href: string;
|
|
90
90
|
fallbackSrc: string;
|
|
91
91
|
target: string;
|
|
92
|
-
to: string | Record<string, unknown>;
|
|
93
92
|
roundedSize: "sm" | "md" | "lg" | "xl" | "none" | "full";
|
|
93
|
+
to: string | Record<string, unknown>;
|
|
94
94
|
buttonColor: Color;
|
|
95
95
|
letterCount: number;
|
|
96
96
|
}, {}>, {
|
package/components/MazAvatar.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'vue';
|
|
2
|
-
export
|
|
2
|
+
export interface Props {
|
|
3
3
|
modelValue?: boolean;
|
|
4
4
|
teleportSelector?: string;
|
|
5
5
|
beforeClose?: () => Promise<void> | void;
|
|
@@ -8,7 +8,7 @@ export type Props = {
|
|
|
8
8
|
transitionName?: string;
|
|
9
9
|
backdropClass?: HTMLAttributes['class'];
|
|
10
10
|
backdropContentClass?: HTMLAttributes['class'];
|
|
11
|
-
}
|
|
11
|
+
}
|
|
12
12
|
declare function close(): void;
|
|
13
13
|
declare function toggleModal(value: any): Promise<void>;
|
|
14
14
|
declare function onBackdropAnimationEnter(): void;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const b = "--backdrop-present", F = /* @__PURE__ */ A({
|
|
1
|
+
import { defineComponent as A, ref as L, onMounted as V, watch as D, openBlock as f, createBlock as N, Teleport as S, createVNode as h, Transition as M, withCtx as P, createElementBlock as T, normalizeClass as p, createElementVNode as k, withModifiers as g, mergeProps as w, renderSlot as O, createCommentVNode as K } from "vue";
|
|
2
|
+
import './assets/MazBackdrop.css';const b = "--backdrop-present", F = /* @__PURE__ */ A({
|
|
4
3
|
inheritAttrs: !1,
|
|
5
4
|
__name: "MazBackdrop",
|
|
6
5
|
props: {
|
|
@@ -15,11 +14,14 @@ const b = "--backdrop-present", F = /* @__PURE__ */ A({
|
|
|
15
14
|
},
|
|
16
15
|
emits: ["open", "close", "update:model-value", "before-close"],
|
|
17
16
|
setup(C, { expose: v, emit: y }) {
|
|
18
|
-
const
|
|
17
|
+
const o = C, t = y;
|
|
18
|
+
function E() {
|
|
19
19
|
document.documentElement.classList.add(b);
|
|
20
|
-
}
|
|
20
|
+
}
|
|
21
|
+
async function B() {
|
|
21
22
|
document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(b);
|
|
22
|
-
}
|
|
23
|
+
}
|
|
24
|
+
const n = L(o.modelValue);
|
|
23
25
|
function a() {
|
|
24
26
|
d(!1);
|
|
25
27
|
}
|
|
@@ -60,7 +62,7 @@ const b = "--backdrop-present", F = /* @__PURE__ */ A({
|
|
|
60
62
|
present: n,
|
|
61
63
|
toggleModal: d,
|
|
62
64
|
onKeyPress: s
|
|
63
|
-
}), (e, r) => (
|
|
65
|
+
}), (e, r) => (f(), N(S, { to: e.teleportSelector }, [
|
|
64
66
|
h(M, {
|
|
65
67
|
appear: "",
|
|
66
68
|
name: e.transitionName,
|
|
@@ -68,11 +70,11 @@ const b = "--backdrop-present", F = /* @__PURE__ */ A({
|
|
|
68
70
|
onAfterLeave: i
|
|
69
71
|
}, {
|
|
70
72
|
default: P(() => [
|
|
71
|
-
n.value ? (
|
|
73
|
+
n.value ? (f(), T(
|
|
72
74
|
"div",
|
|
73
75
|
{
|
|
74
76
|
key: 0,
|
|
75
|
-
class:
|
|
77
|
+
class: p(["m-backdrop --present", [e.backdropClass]]),
|
|
76
78
|
tabindex: "-1",
|
|
77
79
|
role: "dialog"
|
|
78
80
|
},
|
|
@@ -80,7 +82,7 @@ const b = "--backdrop-present", F = /* @__PURE__ */ A({
|
|
|
80
82
|
k(
|
|
81
83
|
"button",
|
|
82
84
|
{
|
|
83
|
-
class:
|
|
85
|
+
class: p(["m-backdrop-overlay", { "--disabled": e.persistent }]),
|
|
84
86
|
tabindex: "-1",
|
|
85
87
|
onClick: g(u, ["self"])
|
|
86
88
|
},
|
package/components/MazBadge.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import type { Color } from './types';
|
|
2
2
|
export type BadgeColor = Color | 'gray';
|
|
3
3
|
export type BadgeRoundedSize = 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
4
|
-
export
|
|
4
|
+
export interface Props {
|
|
5
5
|
color?: BadgeColor;
|
|
6
6
|
size?: string;
|
|
7
7
|
nowrap?: boolean;
|
|
8
8
|
outline?: boolean;
|
|
9
9
|
pastel?: boolean;
|
|
10
10
|
roundedSize?: BadgeRoundedSize;
|
|
11
|
-
}
|
|
11
|
+
}
|
|
12
12
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
13
13
|
color: string;
|
|
14
14
|
size: string;
|
package/components/MazBadge.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import './assets/MazBadge.css';
|
|
2
1
|
import { defineComponent as n, openBlock as r, createElementBlock as s, normalizeClass as d, normalizeStyle as p, renderSlot as u } from "vue";
|
|
3
|
-
const f = /* @__PURE__ */ n({
|
|
2
|
+
import './assets/MazBadge.css';const f = /* @__PURE__ */ n({
|
|
4
3
|
__name: "MazBadge",
|
|
5
4
|
props: {
|
|
6
5
|
color: { default: "primary" },
|
|
@@ -33,7 +32,7 @@ const f = /* @__PURE__ */ n({
|
|
|
33
32
|
for (const [t, l] of e)
|
|
34
33
|
a[t] = l;
|
|
35
34
|
return a;
|
|
36
|
-
},
|
|
35
|
+
}, c = /* @__PURE__ */ i(f, [["__scopeId", "data-v-2b12426e"]]);
|
|
37
36
|
export {
|
|
38
|
-
|
|
37
|
+
c as default
|
|
39
38
|
};
|
package/components/MazBtn.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type Component, type ComponentPublicInstance, type FunctionalComponent, type HTMLAttributes, type SVGAttributes } from 'vue';
|
|
2
2
|
import type { Color, Size } from './types';
|
|
3
3
|
export type { Color, Size };
|
|
4
4
|
export type Icon = FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component;
|
|
5
|
-
export
|
|
6
|
-
/**
|
|
5
|
+
export interface Props {
|
|
6
|
+
/**
|
|
7
|
+
* The variant of the button - Change UI of component (link or button style)
|
|
7
8
|
* @values `'button' | 'link'`
|
|
8
9
|
* @deprecated Use the component <MazLink /> instead
|
|
9
10
|
*/
|
|
@@ -53,7 +54,8 @@ export type Props = {
|
|
|
53
54
|
* @default false
|
|
54
55
|
*/
|
|
55
56
|
block?: boolean;
|
|
56
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* If true, the button will have no underline on hover (useful with `variant="link"`)
|
|
57
59
|
* @default false
|
|
58
60
|
*/
|
|
59
61
|
noUnderline?: boolean;
|
|
@@ -99,7 +101,7 @@ export type Props = {
|
|
|
99
101
|
noElevation?: boolean;
|
|
100
102
|
/** The class applied to the content wrapper (<span />) of the button */
|
|
101
103
|
contentClass?: HTMLAttributes['class'];
|
|
102
|
-
}
|
|
104
|
+
}
|
|
103
105
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
104
106
|
variant: string;
|
|
105
107
|
size: string;
|
package/components/MazBtn.mjs
CHANGED
package/components/MazCard.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'vue';
|
|
2
|
+
import type { RouterLinkProps } from 'vue-router';
|
|
2
3
|
import type { MazGalleryImage } from './types';
|
|
3
|
-
import { type RouterLinkProps } from 'vue-router';
|
|
4
4
|
export type { MazGalleryImage } from './types';
|
|
5
|
-
export
|
|
5
|
+
export interface Props {
|
|
6
6
|
/** Images displayed */
|
|
7
7
|
images?: MazGalleryImage[];
|
|
8
8
|
/** Card variant: Must be `column | row | row-reverse | column-reverse` */
|
|
@@ -53,7 +53,7 @@ export type Props = {
|
|
|
53
53
|
header?: string;
|
|
54
54
|
/** The card will be displayed in full width */
|
|
55
55
|
block?: boolean;
|
|
56
|
-
}
|
|
56
|
+
}
|
|
57
57
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
58
58
|
images: undefined;
|
|
59
59
|
orientation: string;
|
package/components/MazCard.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HTMLAttributes, type StyleValue } from 'vue';
|
|
2
2
|
import type { Color } from './types';
|
|
3
3
|
export type { Color };
|
|
4
|
-
export
|
|
4
|
+
export interface Props {
|
|
5
5
|
/**
|
|
6
6
|
* The color of the component.
|
|
7
7
|
* @default primary
|
|
@@ -32,7 +32,7 @@ export type Props = {
|
|
|
32
32
|
* @default 0.95
|
|
33
33
|
*/
|
|
34
34
|
innerOpacity?: number;
|
|
35
|
-
}
|
|
35
|
+
}
|
|
36
36
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
37
37
|
noElevation: boolean;
|
|
38
38
|
color: string;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import './assets/MazCardSpotlight.css';
|
|
2
1
|
import { defineComponent as g, useCssVars as k, ref as c, computed as m, onMounted as E, onUnmounted as w, openBlock as z, createElementBlock as B, normalizeClass as b, normalizeStyle as h, createElementVNode as i, renderSlot as S, withDirectives as y, vShow as C } from "vue";
|
|
3
|
-
const $ = { class: "inner" }, M = /* @__PURE__ */ g({
|
|
2
|
+
import './assets/MazCardSpotlight.css';const $ = { class: "inner" }, M = /* @__PURE__ */ g({
|
|
4
3
|
__name: "MazCardSpotlight",
|
|
5
4
|
props: {
|
|
6
5
|
color: { default: "primary" },
|
|
@@ -12,8 +11,8 @@ const $ = { class: "inner" }, M = /* @__PURE__ */ g({
|
|
|
12
11
|
},
|
|
13
12
|
setup(l) {
|
|
14
13
|
k((e) => ({
|
|
15
|
-
"
|
|
16
|
-
|
|
14
|
+
"4157dd1a": e.innerOpacity,
|
|
15
|
+
"22a94e2a": u.value
|
|
17
16
|
}));
|
|
18
17
|
const n = l, o = c(), r = c(), t = c(!1);
|
|
19
18
|
function d({ clientX: e, clientY: p }) {
|
|
@@ -95,7 +94,7 @@ const $ = { class: "inner" }, M = /* @__PURE__ */ g({
|
|
|
95
94
|
for (const [r, t] of n)
|
|
96
95
|
o[r] = t;
|
|
97
96
|
return o;
|
|
98
|
-
}, L = /* @__PURE__ */ O(M, [["__scopeId", "data-v-
|
|
97
|
+
}, L = /* @__PURE__ */ O(M, [["__scopeId", "data-v-5d8ac6ae"]]);
|
|
99
98
|
export {
|
|
100
99
|
L as default
|
|
101
100
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface Props {
|
|
2
2
|
/** Do not display the scroll buttons */
|
|
3
3
|
noScrollBtn?: boolean;
|
|
4
4
|
/** Aria label for the previous button */
|
|
@@ -7,7 +7,7 @@ export type Props = {
|
|
|
7
7
|
ariaLabelNextButton?: string;
|
|
8
8
|
/** Hide the scrollbar when not active */
|
|
9
9
|
hideScrollbar?: boolean;
|
|
10
|
-
}
|
|
10
|
+
}
|
|
11
11
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
12
12
|
ariaLabelPreviousButton: string;
|
|
13
13
|
ariaLabelNextButton: string;
|