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,6 +1,6 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { PickerValue } from '../types';
|
|
3
2
|
import dayjs from 'dayjs';
|
|
3
|
+
import type { PickerValue } from '../types';
|
|
4
4
|
import type { Color } from '../../types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
modelValue: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
-
import type { Color } from './../../types';
|
|
3
|
-
import type { PickerValue } from '../types';
|
|
4
2
|
import dayjs from 'dayjs';
|
|
3
|
+
import type { PickerValue } from '../types';
|
|
4
|
+
import type { Color } from './../../types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
modelValue: {
|
|
7
7
|
type: PropType<PickerValue>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
|
+
import type { Color } from '../types';
|
|
2
3
|
import { type DateTimeFormatOptions } from './utils';
|
|
3
4
|
import type { PickerValue } from './types';
|
|
4
|
-
import type { Color } from '../types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
modelValue: {
|
|
7
7
|
type: PropType<PickerValue>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export type SimpleValue = string | undefined;
|
|
2
|
-
export
|
|
2
|
+
export interface RangeValue {
|
|
3
3
|
start: string;
|
|
4
4
|
end: string;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
6
|
export type PartialRangeValue = Partial<RangeValue>;
|
|
7
7
|
export type PickerValue = SimpleValue | PartialRangeValue;
|
|
8
|
-
export
|
|
8
|
+
export interface PickerShortcut {
|
|
9
9
|
identifier: string;
|
|
10
10
|
label: string;
|
|
11
11
|
value: {
|
|
12
12
|
start: string;
|
|
13
13
|
end: string;
|
|
14
14
|
};
|
|
15
|
-
}
|
|
15
|
+
}
|
|
@@ -23,10 +23,10 @@ export declare function getRangeISODate(value: PartialRangeValue, format?: strin
|
|
|
23
23
|
start: string | undefined;
|
|
24
24
|
end: string | undefined;
|
|
25
25
|
};
|
|
26
|
-
|
|
26
|
+
interface CheckValueResponse {
|
|
27
27
|
newValue?: string;
|
|
28
28
|
newCurrentDate?: string;
|
|
29
|
-
}
|
|
29
|
+
}
|
|
30
30
|
export declare function checkValueWithMinMaxDates({ value, minDate, maxDate, format, }: {
|
|
31
31
|
value: string;
|
|
32
32
|
minDate?: string;
|
|
@@ -42,10 +42,10 @@ export declare function isValueDisabledDate({ value, disabledDates, }: {
|
|
|
42
42
|
disabledDates: string[];
|
|
43
43
|
}): boolean;
|
|
44
44
|
export declare const scrollToTarget: (scrollContainer: HTMLElement, target: HTMLElement, offset?: number, hasSmoothEffect?: boolean) => void;
|
|
45
|
-
export declare
|
|
45
|
+
export declare function findNearestNumberInList(list: number[], number: number): number;
|
|
46
46
|
export declare function convertHour24to12Format(baseHour: number): number;
|
|
47
47
|
export declare function convertHour12to24Format(baseHour: number): number;
|
|
48
|
-
export declare
|
|
48
|
+
export declare function convert12To24TimeFormat(timeStr: string): string;
|
|
49
49
|
export declare function getBrowserLocale(): string | undefined;
|
|
50
50
|
export declare function fetchLocale(): Promise<string | undefined>;
|
|
51
51
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'vue';
|
|
2
2
|
import type { Color, Position } from './types';
|
|
3
|
-
import type {
|
|
3
|
+
import type { PickerShortcut, PickerValue } from './MazPicker/types';
|
|
4
4
|
export type { PickerValue, PickerShortcut, Color, Position };
|
|
5
|
-
export
|
|
5
|
+
export interface Props {
|
|
6
6
|
/** The style of the component */
|
|
7
7
|
style?: HTMLAttributes['style'];
|
|
8
8
|
/** The class of the component */
|
|
@@ -67,7 +67,7 @@ export type Props = {
|
|
|
67
67
|
disabledHours?: number[];
|
|
68
68
|
/** The input will be displayed in full width */
|
|
69
69
|
block?: boolean;
|
|
70
|
-
}
|
|
70
|
+
}
|
|
71
71
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
72
72
|
style: undefined;
|
|
73
73
|
class: undefined;
|
package/components/MazPicker.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Color } from './types';
|
|
2
2
|
export type { Color } from './types';
|
|
3
|
-
export
|
|
3
|
+
export interface Props {
|
|
4
4
|
distance?: number;
|
|
5
5
|
offset?: number;
|
|
6
6
|
action?: () => unknown;
|
|
@@ -9,7 +9,7 @@ export type Props = {
|
|
|
9
9
|
spinnerColor?: Color;
|
|
10
10
|
disabled?: boolean;
|
|
11
11
|
standaloneMode?: boolean;
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
13
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
14
14
|
distance: number;
|
|
15
15
|
offset: number;
|
package/components/MazRadio.mjs
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import './assets/MazRadio.css';
|
|
2
1
|
import { getCurrentInstance as g, computed as r, defineComponent as S, useCssVars as y, openBlock as k, createElementBlock as z, unref as p, normalizeClass as I, normalizeStyle as C, createElementVNode as u, mergeProps as B, createCommentVNode as V, renderSlot as N, createTextVNode as _, toDisplayString as w, pushScopeId as M, popScopeId as x } from "vue";
|
|
3
|
-
function D({
|
|
2
|
+
import './assets/MazRadio.css';function D({
|
|
4
3
|
componentName: o,
|
|
5
4
|
providedId: t
|
|
6
5
|
}) {
|
|
7
6
|
const a = g();
|
|
8
7
|
return r(() => t ?? `${o}-${a == null ? void 0 : a.uid}`);
|
|
9
8
|
}
|
|
10
|
-
const E = (o) => (M("data-v-
|
|
9
|
+
const E = (o) => (M("data-v-28b8ed77"), o = o(), x(), o), R = ["for", "aria-checked"], T = ["id", "value", "disabled", "name", "checked"], $ = /* @__PURE__ */ E(() => /* @__PURE__ */ u(
|
|
11
10
|
"span",
|
|
12
11
|
null,
|
|
13
12
|
[
|
|
@@ -32,9 +31,9 @@ const E = (o) => (M("data-v-0b81d1b5"), o = o(), x(), o), R = ["for", "aria-chec
|
|
|
32
31
|
emits: ["update:model-value", "change"],
|
|
33
32
|
setup(o, { emit: t }) {
|
|
34
33
|
y((e) => ({
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
34
|
+
be58c5aa: f.value,
|
|
35
|
+
"61d8279e": v.value,
|
|
36
|
+
"31660be1": b.value
|
|
38
37
|
}));
|
|
39
38
|
const a = o, n = t, s = D({
|
|
40
39
|
componentName: "MazCheckbox",
|
|
@@ -45,14 +44,14 @@ const E = (o) => (M("data-v-0b81d1b5"), o = o(), x(), o), R = ["for", "aria-chec
|
|
|
45
44
|
return "2.25rem";
|
|
46
45
|
case "lg":
|
|
47
46
|
return "2rem";
|
|
48
|
-
default:
|
|
49
|
-
return "1.625rem";
|
|
50
47
|
case "sm":
|
|
51
48
|
return "1.425rem";
|
|
52
49
|
case "xs":
|
|
53
50
|
return "1.325rem";
|
|
54
51
|
case "mini":
|
|
55
52
|
return "1.2rem";
|
|
53
|
+
default:
|
|
54
|
+
return "1.625rem";
|
|
56
55
|
}
|
|
57
56
|
}), v = r(() => `var(--maz-color-${a.color})`), b = r(
|
|
58
57
|
() => ["black", "transparent"].includes(a.color) ? "var(--maz-color-muted)" : `var(--maz-color-${a.color}-alpha)`
|
|
@@ -109,7 +108,7 @@ const E = (o) => (M("data-v-0b81d1b5"), o = o(), x(), o), R = ["for", "aria-chec
|
|
|
109
108
|
for (const [n, s] of t)
|
|
110
109
|
a[n] = s;
|
|
111
110
|
return a;
|
|
112
|
-
}, L = /* @__PURE__ */ H(q, [["__scopeId", "data-v-
|
|
111
|
+
}, L = /* @__PURE__ */ H(q, [["__scopeId", "data-v-28b8ed77"]]);
|
|
113
112
|
export {
|
|
114
113
|
L as default
|
|
115
114
|
};
|
|
@@ -10,7 +10,7 @@ export type ButtonsRadioOption = {
|
|
|
10
10
|
/** The style to apply to the option */
|
|
11
11
|
style?: StyleValue;
|
|
12
12
|
} & Record<string, unknown>;
|
|
13
|
-
export
|
|
13
|
+
export interface Props {
|
|
14
14
|
/** @model The value of the selected option */
|
|
15
15
|
modelValue?: string | number | boolean;
|
|
16
16
|
/** The options to display */
|
|
@@ -34,7 +34,7 @@ export type Props = {
|
|
|
34
34
|
selector?: boolean;
|
|
35
35
|
/** The component will be displayed in full width */
|
|
36
36
|
block?: boolean;
|
|
37
|
-
}
|
|
37
|
+
}
|
|
38
38
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
39
39
|
modelValue: undefined;
|
|
40
40
|
name: string;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const I = ["for", "aria-checked", "onKeydown"], M = ["id", "name", "value", "onChange"], R = {
|
|
1
|
+
import { defineComponent as k, defineAsyncComponent as _, openBlock as r, createElementBlock as s, normalizeClass as f, Fragment as B, renderList as C, normalizeStyle as b, createElementVNode as h, createVNode as y, Transition as S, withCtx as $, withDirectives as w, unref as V, vShow as N, createCommentVNode as z, renderSlot as I, createTextVNode as q, toDisplayString as D } from "vue";
|
|
2
|
+
import './assets/MazRadioButtons.css';const M = ["for", "aria-checked", "onKeydown"], O = ["id", "name", "value", "onChange"], R = {
|
|
4
3
|
key: 0,
|
|
5
4
|
class: "m-radio-buttons__items__checkbox"
|
|
6
|
-
}, T = /* @__PURE__ */
|
|
5
|
+
}, T = /* @__PURE__ */ k({
|
|
7
6
|
__name: "MazRadioButtons",
|
|
8
7
|
props: {
|
|
9
8
|
modelValue: { type: [String, Number, Boolean], default: void 0 },
|
|
@@ -18,30 +17,33 @@ const I = ["for", "aria-checked", "onKeydown"], M = ["id", "name", "value", "onC
|
|
|
18
17
|
block: { type: Boolean, default: !1 }
|
|
19
18
|
},
|
|
20
19
|
emits: ["update:model-value", "change"],
|
|
21
|
-
setup(
|
|
22
|
-
const t =
|
|
23
|
-
function
|
|
24
|
-
|
|
20
|
+
setup(t, { emit: d }) {
|
|
21
|
+
const l = t, u = d, i = _(() => import("./chunks/check-CL-vqe79.mjs"));
|
|
22
|
+
function v(e) {
|
|
23
|
+
u("update:model-value", e.value);
|
|
25
24
|
}
|
|
26
25
|
function o(e) {
|
|
27
|
-
return
|
|
26
|
+
return l.modelValue === e;
|
|
28
27
|
}
|
|
29
|
-
function g(e,
|
|
30
|
-
["Space"].includes(e.code) && (e.preventDefault(),
|
|
28
|
+
function g(e, n) {
|
|
29
|
+
["Space"].includes(e.code) && (e.preventDefault(), v(n));
|
|
31
30
|
}
|
|
32
|
-
|
|
31
|
+
function c(e, n) {
|
|
32
|
+
return `option-${n}-${e.value.toString()}-${l.name}`;
|
|
33
|
+
}
|
|
34
|
+
return (e, n) => (r(), s(
|
|
33
35
|
"div",
|
|
34
36
|
{
|
|
35
|
-
class:
|
|
37
|
+
class: f(["m-radio-buttons", [`--${e.orientation}`, { "--no-wrap": e.noWrap, "--block": e.block }]])
|
|
36
38
|
},
|
|
37
39
|
[
|
|
38
40
|
(r(!0), s(
|
|
39
|
-
|
|
41
|
+
B,
|
|
40
42
|
null,
|
|
41
|
-
|
|
42
|
-
key:
|
|
43
|
-
for:
|
|
44
|
-
class:
|
|
43
|
+
C(e.options, (a, m) => (r(), s("label", {
|
|
44
|
+
key: c(a, m),
|
|
45
|
+
for: c(a, m),
|
|
46
|
+
class: f(["m-radio-buttons__items maz-group", [
|
|
45
47
|
{
|
|
46
48
|
"--is-selected": o(a.value),
|
|
47
49
|
"--elevation": e.elevation,
|
|
@@ -50,7 +52,7 @@ const I = ["for", "aria-checked", "onKeydown"], M = ["id", "name", "value", "onC
|
|
|
50
52
|
a.classes
|
|
51
53
|
]]),
|
|
52
54
|
tabindex: "0",
|
|
53
|
-
style:
|
|
55
|
+
style: b([
|
|
54
56
|
o(a.value) ? {
|
|
55
57
|
color: `var(--maz-color-${e.color}-contrast)`,
|
|
56
58
|
backgroundColor: `var(--maz-color-${e.color})`
|
|
@@ -59,29 +61,29 @@ const I = ["for", "aria-checked", "onKeydown"], M = ["id", "name", "value", "onC
|
|
|
59
61
|
]),
|
|
60
62
|
role: "radio",
|
|
61
63
|
"aria-checked": o(a.value),
|
|
62
|
-
onKeydown: (
|
|
64
|
+
onKeydown: (p) => g(p, a)
|
|
63
65
|
}, [
|
|
64
|
-
|
|
65
|
-
id:
|
|
66
|
+
h("input", {
|
|
67
|
+
id: c(a, m),
|
|
66
68
|
type: "radio",
|
|
67
69
|
name: e.name,
|
|
68
70
|
value: a.value,
|
|
69
71
|
class: "maz-hidden",
|
|
70
|
-
onChange: (
|
|
71
|
-
}, null, 40,
|
|
72
|
+
onChange: (p) => v(a)
|
|
73
|
+
}, null, 40, O),
|
|
72
74
|
e.selector ? (r(), s("div", R, [
|
|
73
|
-
|
|
75
|
+
h(
|
|
74
76
|
"span",
|
|
75
77
|
{
|
|
76
|
-
class:
|
|
78
|
+
class: f({
|
|
77
79
|
"--is-selected": o(a.value)
|
|
78
80
|
}),
|
|
79
|
-
style:
|
|
80
|
-
o(a.value) ? { backgroundColor: `var(--maz-color-${
|
|
81
|
+
style: b([
|
|
82
|
+
o(a.value) ? { backgroundColor: `var(--maz-color-${l.color}-600)` } : {}
|
|
81
83
|
])
|
|
82
84
|
},
|
|
83
85
|
[
|
|
84
|
-
|
|
86
|
+
y(
|
|
85
87
|
S,
|
|
86
88
|
{
|
|
87
89
|
name: "maz-radio-buttons-scale",
|
|
@@ -89,14 +91,14 @@ const I = ["for", "aria-checked", "onKeydown"], M = ["id", "name", "value", "onC
|
|
|
89
91
|
},
|
|
90
92
|
{
|
|
91
93
|
default: $(() => [
|
|
92
|
-
|
|
93
|
-
|
|
94
|
+
w(y(
|
|
95
|
+
V(i),
|
|
94
96
|
{ class: "maz-h-full maz-w-full" },
|
|
95
97
|
null,
|
|
96
98
|
512
|
|
97
99
|
/* NEED_PATCH */
|
|
98
100
|
), [
|
|
99
|
-
[
|
|
101
|
+
[N, o(a.value)]
|
|
100
102
|
])
|
|
101
103
|
]),
|
|
102
104
|
_: 2
|
|
@@ -109,13 +111,13 @@ const I = ["for", "aria-checked", "onKeydown"], M = ["id", "name", "value", "onC
|
|
|
109
111
|
6
|
|
110
112
|
/* CLASS, STYLE */
|
|
111
113
|
)
|
|
112
|
-
])) :
|
|
113
|
-
|
|
114
|
+
])) : z("v-if", !0),
|
|
115
|
+
z(`
|
|
114
116
|
@slot Label of the radio
|
|
115
117
|
@binding {Boolean} selected - If the option is selected
|
|
116
118
|
@binding {string | number | boolean} option - The value of the option
|
|
117
119
|
`),
|
|
118
|
-
|
|
120
|
+
I(e.$slots, "default", {
|
|
119
121
|
option: a,
|
|
120
122
|
selected: o(a.value)
|
|
121
123
|
}, () => [
|
|
@@ -125,7 +127,7 @@ const I = ["for", "aria-checked", "onKeydown"], M = ["id", "name", "value", "onC
|
|
|
125
127
|
/* TEXT */
|
|
126
128
|
)
|
|
127
129
|
], !0)
|
|
128
|
-
], 46,
|
|
130
|
+
], 46, M))),
|
|
129
131
|
128
|
|
130
132
|
/* KEYED_FRAGMENT */
|
|
131
133
|
))
|
|
@@ -134,12 +136,12 @@ const I = ["for", "aria-checked", "onKeydown"], M = ["id", "name", "value", "onC
|
|
|
134
136
|
/* CLASS */
|
|
135
137
|
));
|
|
136
138
|
}
|
|
137
|
-
}), E = (
|
|
138
|
-
const
|
|
139
|
-
for (const [
|
|
140
|
-
|
|
141
|
-
return
|
|
142
|
-
}, L = /* @__PURE__ */ E(T, [["__scopeId", "data-v-
|
|
139
|
+
}), E = (t, d) => {
|
|
140
|
+
const l = t.__vccOpts || t;
|
|
141
|
+
for (const [u, i] of d)
|
|
142
|
+
l[u] = i;
|
|
143
|
+
return l;
|
|
144
|
+
}, L = /* @__PURE__ */ E(T, [["__scopeId", "data-v-16df866e"]]);
|
|
143
145
|
export {
|
|
144
146
|
L as default
|
|
145
147
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'vue';
|
|
2
2
|
import type { Color } from './types';
|
|
3
3
|
export type { Color };
|
|
4
|
-
export
|
|
4
|
+
export interface Props {
|
|
5
5
|
/**
|
|
6
6
|
* Height of the progress bar
|
|
7
7
|
* @default 4px
|
|
@@ -37,7 +37,7 @@ export type Props = {
|
|
|
37
37
|
* @default undefined
|
|
38
38
|
*/
|
|
39
39
|
distance?: number;
|
|
40
|
-
}
|
|
40
|
+
}
|
|
41
41
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
42
42
|
height: string;
|
|
43
43
|
color: string;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import './assets/MazReadingProgressBar.css';
|
|
2
1
|
import { defineComponent as p, computed as m, ref as u, watch as v, onMounted as g, onBeforeUnmount as h, openBlock as w, createBlock as b, Teleport as y, createElementVNode as d, mergeProps as S, normalizeClass as _, normalizeStyle as B, nextTick as C } from "vue";
|
|
3
|
-
function k(
|
|
2
|
+
import './assets/MazReadingProgressBar.css';function k(r, l) {
|
|
4
3
|
let t = 0;
|
|
5
4
|
return async function() {
|
|
6
|
-
const
|
|
7
|
-
|
|
5
|
+
const o = Date.now();
|
|
6
|
+
o - t >= l && (await r(), t = o);
|
|
8
7
|
};
|
|
9
8
|
}
|
|
10
9
|
const z = /* @__PURE__ */ p({
|
|
@@ -19,8 +18,8 @@ const z = /* @__PURE__ */ p({
|
|
|
19
18
|
distance: { default: void 0 }
|
|
20
19
|
},
|
|
21
20
|
emits: ["begin", "complete"],
|
|
22
|
-
setup(
|
|
23
|
-
const t = o,
|
|
21
|
+
setup(r, { emit: l }) {
|
|
22
|
+
const t = r, o = l, a = m(() => `var(--maz-color-${t.color})`), s = u(), n = u(0);
|
|
24
23
|
v(
|
|
25
24
|
() => t.distance,
|
|
26
25
|
(e) => {
|
|
@@ -36,7 +35,7 @@ const z = /* @__PURE__ */ p({
|
|
|
36
35
|
const i = e / n.value * 100;
|
|
37
36
|
s.value = `${i}%`;
|
|
38
37
|
} else
|
|
39
|
-
e <= 0 ? (s.value = "0%",
|
|
38
|
+
e <= 0 ? (s.value = "0%", o("begin")) : e > n.value ? (s.value = "100%", o("complete")) : s.value = "0%";
|
|
40
39
|
}, 15);
|
|
41
40
|
async function f() {
|
|
42
41
|
if (n.value === 0) {
|
|
@@ -67,7 +66,7 @@ const z = /* @__PURE__ */ p({
|
|
|
67
66
|
style: B({
|
|
68
67
|
width: s.value ?? "0px",
|
|
69
68
|
height: e.height,
|
|
70
|
-
backgroundColor:
|
|
69
|
+
backgroundColor: a.value
|
|
71
70
|
})
|
|
72
71
|
},
|
|
73
72
|
null,
|
|
@@ -80,12 +79,12 @@ const z = /* @__PURE__ */ p({
|
|
|
80
79
|
)
|
|
81
80
|
], 8, ["to"]));
|
|
82
81
|
}
|
|
83
|
-
}), E = (
|
|
84
|
-
const t =
|
|
85
|
-
for (const [
|
|
86
|
-
t[
|
|
82
|
+
}), E = (r, l) => {
|
|
83
|
+
const t = r.__vccOpts || r;
|
|
84
|
+
for (const [o, a] of l)
|
|
85
|
+
t[o] = a;
|
|
87
86
|
return t;
|
|
88
|
-
}, H = /* @__PURE__ */ E(z, [["__scopeId", "data-v-
|
|
87
|
+
}, H = /* @__PURE__ */ E(z, [["__scopeId", "data-v-eb253d5f"]]);
|
|
89
88
|
export {
|
|
90
89
|
H as default
|
|
91
90
|
};
|
|
@@ -2,12 +2,12 @@ import { type HTMLAttributes } from 'vue';
|
|
|
2
2
|
import type { Color, ModelValueSimple, Position, Size } from './types';
|
|
3
3
|
export type { Color, Size, ModelValueSimple, Position } from './types';
|
|
4
4
|
export type NormalizedOption = Record<string, ModelValueSimple>;
|
|
5
|
-
export
|
|
5
|
+
export interface MazSelectOptionWithOptGroup {
|
|
6
6
|
label: string;
|
|
7
7
|
options: (NormalizedOption | string | number | boolean)[];
|
|
8
|
-
}
|
|
8
|
+
}
|
|
9
9
|
export type MazSelectOption = NormalizedOption | string | number | boolean | MazSelectOptionWithOptGroup;
|
|
10
|
-
export
|
|
10
|
+
export interface Props<T extends ModelValueSimple, U extends MazSelectOption> {
|
|
11
11
|
/** Style attribut of the component root element */
|
|
12
12
|
style?: HTMLAttributes['style'];
|
|
13
13
|
/** Class attribut of the component root element */
|
|
@@ -52,7 +52,7 @@ export type Props<T extends ModelValueSimple, U extends MazSelectOption> = {
|
|
|
52
52
|
block?: boolean;
|
|
53
53
|
/** The exclude selectors for the v-closable directive - will exclude the elements from the directive */
|
|
54
54
|
excludeSelectors?: string[];
|
|
55
|
-
}
|
|
55
|
+
}
|
|
56
56
|
declare const _default: <T extends ModelValueSimple, U extends MazSelectOption, M = boolean>(__VLS_props: {
|
|
57
57
|
onFocus?: ((value: Event) => any) | undefined;
|
|
58
58
|
onBlur?: ((value: Event) => any) | undefined;
|
package/components/MazSelect.mjs
CHANGED
|
@@ -2,14 +2,14 @@ interface IPosObject {
|
|
|
2
2
|
x: number;
|
|
3
3
|
y: number;
|
|
4
4
|
}
|
|
5
|
-
export declare
|
|
5
|
+
export declare function getOffset(elem: HTMLDivElement): IPosObject;
|
|
6
6
|
/**
|
|
7
7
|
* Get the position of the mouse/finger in the element
|
|
8
8
|
* @param e Trigger event
|
|
9
9
|
* @param elem Container element
|
|
10
10
|
* @param isReverse From the right/bottom
|
|
11
11
|
*/
|
|
12
|
-
export declare
|
|
13
|
-
export declare
|
|
14
|
-
export declare
|
|
12
|
+
export declare function getPos(e: MouseEvent | TouchEvent, elem: HTMLDivElement, isReverse?: boolean): IPosObject;
|
|
13
|
+
export declare function isBetween(value: number, prev: number, next: number, direction: string): boolean;
|
|
14
|
+
export declare function getOpacityCoeff(index: number, middle: number, length: number): number;
|
|
15
15
|
export {};
|