maz-ui 3.43.4 → 3.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/MazAccordion.d.ts +2 -2
- package/components/MazAccordion.mjs +84 -84
- package/components/MazAnimatedCounter.mjs +9 -10
- package/components/MazAvatar.d.ts +3 -3
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBackdrop.d.ts +2 -2
- package/components/MazBackdrop.mjs +12 -10
- package/components/MazBadge.d.ts +2 -2
- package/components/MazBadge.mjs +3 -4
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.d.ts +7 -5
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.d.ts +3 -3
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.d.ts +2 -2
- package/components/MazCardSpotlight.mjs +4 -5
- package/components/MazCarousel.d.ts +2 -2
- package/components/MazCarousel.mjs +1 -1
- package/components/MazChart.d.ts +1 -1
- package/components/MazCheckbox.d.ts +2 -2
- package/components/MazCheckbox.mjs +10 -11
- package/components/MazCircularProgressBar.d.ts +1 -1
- package/components/MazCircularProgressBar.mjs +21 -23
- package/components/MazDialog.d.ts +2 -2
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.d.ts +2 -2
- package/components/MazDrawer.mjs +71 -69
- package/components/MazDropdown.d.ts +7 -6
- package/components/MazDropdown.mjs +130 -128
- package/components/MazDropzone.d.ts +1 -1
- package/components/MazDropzone.mjs +1 -1
- package/components/MazExpandAnimation.d.ts +2 -2
- package/components/MazExpandAnimation.mjs +26 -26
- package/components/MazFullscreenLoader.d.ts +2 -2
- package/components/MazFullscreenLoader.mjs +11 -10
- package/components/MazGallery.d.ts +2 -2
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.mjs +45 -34
- package/components/MazInput.d.ts +4 -4
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.d.ts +2 -2
- package/components/MazInputCode.mjs +4 -5
- package/components/MazInputNumber.d.ts +2 -2
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.d.ts +2 -2
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.d.ts +7 -2
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.d.ts +2 -2
- package/components/MazLazyImg.mjs +1 -1
- package/components/MazLink.d.ts +6 -6
- package/components/MazLink.mjs +3 -4
- package/components/MazLoadingBar.d.ts +2 -2
- package/components/MazLoadingBar.mjs +17 -18
- package/components/MazPagination.d.ts +3 -3
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
- package/components/MazPhoneNumberInput/types.d.ts +5 -5
- package/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
- package/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
- package/components/MazPhoneNumberInput.d.ts +8 -8
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
- package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
- package/components/MazPicker/types.d.ts +4 -4
- package/components/MazPicker/utils.d.ts +4 -4
- package/components/MazPicker.d.ts +3 -3
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.d.ts +2 -2
- package/components/MazPullToRefresh.mjs +1 -1
- package/components/MazRadio.mjs +8 -9
- package/components/MazRadioButtons.d.ts +2 -2
- package/components/MazRadioButtons.mjs +44 -42
- package/components/MazReadingProgressBar.d.ts +2 -2
- package/components/MazReadingProgressBar.mjs +12 -13
- package/components/MazSelect.d.ts +4 -4
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider/utils.d.ts +4 -4
- package/components/MazSlider.mjs +100 -87
- package/components/MazSpinner.mjs +6 -7
- package/components/MazStepper.d.ts +3 -3
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.d.ts +2 -2
- package/components/MazSwitch.mjs +6 -6
- package/components/MazTable.d.ts +13 -10
- package/components/MazTable.mjs +1 -1
- package/components/MazTableCell.mjs +4 -5
- package/components/MazTableRow.d.ts +2 -2
- package/components/MazTableRow.mjs +4 -5
- package/components/MazTableTitle.mjs +2 -3
- package/components/MazTabs.d.ts +4 -4
- package/components/MazTabsBar.d.ts +7 -5
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContent.mjs +5 -4
- package/components/MazTabsContentItem.mjs +16 -17
- package/components/MazTextarea.d.ts +2 -2
- package/components/MazTextarea.mjs +19 -17
- package/components/MazTransitionExpand.d.ts +2 -2
- package/components/MazTransitionExpand.mjs +19 -18
- package/components/assets/MazAccordion.css +1 -1
- package/components/assets/MazAnimatedCounter.css +1 -1
- package/components/assets/MazAvatar.css +1 -1
- package/components/assets/MazBadge.css +1 -1
- package/components/assets/MazBottomSheet.css +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazCard.css +1 -1
- package/components/assets/MazCardSpotlight.css +1 -1
- package/components/assets/MazCarousel.css +1 -1
- package/components/assets/MazCheckbox.css +1 -1
- package/components/assets/MazCircularProgressBar.css +1 -1
- package/components/assets/MazDialog.css +1 -1
- package/components/assets/MazDialogPromise.css +1 -1
- package/components/assets/MazExpandAnimation.css +1 -1
- package/components/assets/MazGallery.css +1 -1
- package/components/assets/MazInput.css +1 -1
- package/components/assets/MazInputCode.css +1 -1
- package/components/assets/MazInputNumber.css +1 -1
- package/components/assets/MazInputPrice.css +1 -1
- package/components/assets/MazInputTags.css +1 -1
- package/components/assets/MazLazyImg.css +1 -1
- package/components/assets/MazLink.css +1 -1
- package/components/assets/MazLoadingBar.css +1 -1
- package/components/assets/MazPagination.css +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazPicker.css +1 -1
- package/components/assets/MazPickerMonthSwitcher.css +1 -1
- package/components/assets/MazPickerShortcuts.css +1 -1
- package/components/assets/MazPickerYearSwitcher.css +1 -1
- package/components/assets/MazPullToRefresh.css +1 -1
- package/components/assets/MazRadio.css +1 -1
- package/components/assets/MazRadioButtons.css +1 -1
- package/components/assets/MazReadingProgressBar.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazSlider.css +1 -1
- package/components/assets/MazSpinner.css +1 -1
- package/components/assets/MazStepper.css +1 -1
- package/components/assets/MazSwitch.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTableCell.css +1 -1
- package/components/assets/MazTableRow.css +1 -1
- package/components/assets/MazTableTitle.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/assets/MazTabsContentItem.css +1 -1
- package/components/assets/MazTextarea.css +1 -1
- package/components/assets/MazTransitionExpand.css +1 -1
- package/components/chunks/{MazAvatar-DsJvzyS9.mjs → MazAvatar-BU1nJFcV.mjs} +8 -9
- package/components/chunks/{MazBadge-CYJlqITD.mjs → MazBadge-CwA0md19.mjs} +4 -5
- package/components/chunks/{MazBottomSheet-CIlIdn-2.mjs → MazBottomSheet-DUOIusEi.mjs} +54 -52
- package/components/chunks/{MazBtn-CCNGs6oo.mjs → MazBtn-5BSKOcqG.mjs} +35 -36
- package/components/chunks/{MazBtn-Ccvl1ZWv.mjs → MazBtn-B1-sTc7F.mjs} +31 -32
- package/components/chunks/{MazBtn-BC5OegPu.mjs → MazBtn-BY8WCtM7.mjs} +35 -36
- package/components/chunks/{MazBtn-CX4OgPzp.mjs → MazBtn-C5G78zLg.mjs} +35 -36
- package/components/chunks/MazBtn-CeVwyYR5.mjs +150 -0
- package/components/chunks/{MazBtn-BqgdERYQ.mjs → MazBtn-ColLVUca.mjs} +35 -36
- package/components/chunks/{MazBtn-beTASOLt.mjs → MazBtn-DJhQqzja.mjs} +35 -36
- package/components/chunks/MazBtn-DuY28-0U.mjs +150 -0
- package/components/chunks/{MazBtn-BydIwD1J.mjs → MazBtn-f1mBXJeU.mjs} +31 -32
- package/components/chunks/MazBtn-h3WmmaEO.mjs +150 -0
- package/components/chunks/MazBtn-zyRLUViT.mjs +150 -0
- package/components/chunks/{MazCard-bmiVPg8p.mjs → MazCard-BWxV_Z-i.mjs} +25 -26
- package/components/chunks/{MazCarousel-CL0bMygd.mjs → MazCarousel-D5EmW7Sa.mjs} +43 -35
- package/components/chunks/{MazCheckbox-DsFbvpp4.mjs → MazCheckbox-BWiMbecz.mjs} +11 -12
- package/components/chunks/{MazCheckbox-CCa7grGF.mjs → MazCheckbox-D3PXkt75.mjs} +11 -12
- package/components/chunks/{MazDialog-BckFta4N.mjs → MazDialog-CLWKCphI.mjs} +56 -54
- package/components/chunks/{MazDialogPromise-Bb6h4hFz.mjs → MazDialogPromise-DVOJwdVp.mjs} +139 -126
- package/components/chunks/{MazDropzone-C_8mRUbK.mjs → MazDropzone-Dm2IirHm.mjs} +33 -54
- package/components/chunks/MazExpandAnimation-ChSSdQAq.mjs +58 -0
- package/components/chunks/{MazGallery-CcpeM_zk.mjs → MazGallery-BlfPe8WG.mjs} +103 -101
- package/components/chunks/{MazGallery-6UK5sH9P.mjs → MazGallery-Bn9p1gNb.mjs} +102 -100
- package/{modules/chunks/MazIcon-CiNswMKM.mjs → components/chunks/MazIcon-B8A0hQAH.mjs} +45 -34
- package/components/chunks/{MazIcon-Cxrv3_OK.mjs → MazIcon-BDGxCy9M.mjs} +45 -34
- package/components/chunks/{MazIcon-BKuhvwwq.mjs → MazIcon-D3umgnku.mjs} +45 -34
- package/components/chunks/{MazInput-DNwBL54e.mjs → MazInput-BpsE-mdg.mjs} +69 -69
- package/components/chunks/{MazInputNumber-BSdVF8-q.mjs → MazInputNumber-DGBYbDSX.mjs} +186 -182
- package/components/chunks/{MazInputPrice-osrAz4xd.mjs → MazInputPrice-j2BNMeFp.mjs} +134 -129
- package/components/chunks/{MazInputTags-XUWwx6p8.mjs → MazInputTags-CJofVaj5.mjs} +234 -252
- package/components/chunks/{MazLazyImg-6qrfqWKr.mjs → MazLazyImg-BFG6FIJZ.mjs} +6 -7
- package/components/chunks/{MazLazyImg-BelScAEF.mjs → MazLazyImg-Dboc6Xfz.mjs} +5 -6
- package/components/chunks/{MazPagination-DUiHgLAp.mjs → MazPagination-C6ZehQSZ.mjs} +118 -119
- package/components/chunks/{MazPhoneNumberInput-HeEEyDu0.mjs → MazPhoneNumberInput-DpWoNQfx.mjs} +707 -695
- package/components/chunks/MazPicker-ia2BEmm5.mjs +2531 -0
- package/components/chunks/{MazPickerMonthSwitcher-CoV-84J1.mjs → MazPickerMonthSwitcher-CKtfZ_m-.mjs} +19 -19
- package/components/chunks/{MazPickerShortcuts-5IfUIwpz.mjs → MazPickerShortcuts-Cc9VoqBw.mjs} +10 -10
- package/components/chunks/{MazPickerYearSwitcher-MeptqtZk.mjs → MazPickerYearSwitcher-0b5Wrem9.mjs} +10 -8
- package/components/chunks/{MazPullToRefresh-DWbmwlzV.mjs → MazPullToRefresh-CUazP4y2.mjs} +21 -22
- package/components/chunks/MazSelect-COJoKXbV.mjs +847 -0
- package/components/chunks/MazSpinner-9Jue6cel.mjs +37 -0
- package/components/chunks/{MazSpinner-BKjRRWtc.mjs → MazSpinner-BGPOws6a.mjs} +6 -7
- package/components/chunks/{MazSpinner-BXxULdoD.mjs → MazSpinner-BWYdqSMP.mjs} +6 -7
- package/components/chunks/{MazSpinner-BRgzRI07.mjs → MazSpinner-BZOjTZBN.mjs} +6 -7
- package/components/chunks/{MazSpinner-B-svzg-R.mjs → MazSpinner-BaAMq7LI.mjs} +6 -7
- package/components/chunks/MazSpinner-Bad2n-0k.mjs +37 -0
- package/components/chunks/MazSpinner-BxnVFqUu.mjs +37 -0
- package/components/chunks/{MazSpinner-Mvsi6uCt.mjs → MazSpinner-C41VyUup.mjs} +6 -7
- package/components/chunks/MazSpinner-C6StE-Mb.mjs +37 -0
- package/components/chunks/{MazSpinner-BFXwybUv.mjs → MazSpinner-CNIlbDfg.mjs} +6 -7
- package/components/chunks/MazSpinner-Cz2DHV6g.mjs +37 -0
- package/components/chunks/MazSpinner-D4CdHpP2.mjs +37 -0
- package/{modules/chunks/MazSpinner--jWWogVn.mjs → components/chunks/MazSpinner-DHQH6Bhz.mjs} +6 -7
- package/components/chunks/MazSpinner-DRj2VpGA.mjs +37 -0
- package/components/chunks/{MazSpinner-C1lg-Klx.mjs → MazSpinner-DkXequnp.mjs} +6 -7
- package/components/chunks/MazSpinner-EA5ejB8F.mjs +37 -0
- package/components/chunks/{MazSpinner-BtpIL60X.mjs → MazSpinner-RvDGcBng.mjs} +6 -7
- package/components/chunks/{MazSpinner-B_WP-2kr.mjs → MazSpinner-V-bFi71W.mjs} +6 -7
- package/components/chunks/MazSpinner-aPFlrc5E.mjs +37 -0
- package/components/chunks/{MazSpinner-CfA_KEZT.mjs → MazSpinner-nH44Htog.mjs} +6 -7
- package/components/chunks/MazSpinner-nOD-7_sU.mjs +37 -0
- package/components/chunks/MazSpinner-yZGK-AQe.mjs +37 -0
- package/components/chunks/{MazStepper-DDofJsdg.mjs → MazStepper-DxrzKz06.mjs} +94 -83
- package/components/chunks/MazTable-DRUj_PZp.mjs +1960 -0
- package/components/chunks/{MazTabsBar-BXDEQkZM.mjs → MazTabsBar-xcIIXHx5.mjs} +67 -68
- package/components/chunks/{MazTransitionExpand-BwuAIzII.mjs → MazTransitionExpand-B08cSrmL.mjs} +20 -19
- package/components/chunks/{examples.mobile.json-um0ibyv5.mjs → examples.mobile.json-JpNGylGv.mjs} +1 -1
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/assets/MazSpinner.css +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/{MazBtn-Czcbhr3Z.cjs → MazBtn-BbCGGxkK.cjs} +2 -2
- package/modules/chunks/{MazBtn-CXcW31TK.mjs → MazBtn-UBHTKqaN.mjs} +35 -36
- package/modules/chunks/MazIcon-BDSXZYZ8.cjs +1 -0
- package/{components/chunks/MazIcon-DtG5ii8R.mjs → modules/chunks/MazIcon-C2ch3jUS.mjs} +45 -34
- package/modules/chunks/{MazSpinner-Cw1KnqLM.cjs → MazSpinner-BiyFRA4w.cjs} +1 -1
- package/modules/chunks/MazSpinner-C9_xSbZZ.mjs +37 -0
- package/modules/chunks/{index-CThtJOu5.mjs → index-Cwbjspv3.mjs} +621 -588
- package/modules/chunks/index-tnjajVkX.cjs +124 -0
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +34 -35
- package/nuxt/index.json +2 -2
- package/nuxt/index.mjs +3 -4
- package/nuxt/types.d.mts +24 -0
- package/nuxt/types.d.ts +24 -0
- package/package.json +77 -83
- package/resolvers/unplugin-directives-resolver.d.ts +1 -1
- package/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
- package/tailwindcss/tailwind.config.ts +9 -2
- package/tailwindcss/utils/colors.ts +3 -3
- package/tailwindcss/variables/colors.ts +12 -12
- package/tailwindcss/variables/utilities.ts +2 -2
- package/tailwindcss/variables/z-indexes.ts +12 -11
- package/types/components/MazAccordion.vue.d.ts +2 -2
- package/types/components/MazAvatar.vue.d.ts +3 -3
- package/types/components/MazBackdrop.vue.d.ts +2 -2
- package/types/components/MazBadge.vue.d.ts +2 -2
- package/types/components/MazBtn.vue.d.ts +7 -5
- package/types/components/MazCard.vue.d.ts +3 -3
- package/types/components/MazCardSpotlight.vue.d.ts +2 -2
- package/types/components/MazCarousel.vue.d.ts +2 -2
- package/types/components/MazChart.vue.d.ts +1 -1
- package/types/components/MazCheckbox.vue.d.ts +2 -2
- package/types/components/MazCircularProgressBar.vue.d.ts +1 -1
- package/types/components/MazDialog.vue.d.ts +2 -2
- package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
- package/types/components/MazDrawer.vue.d.ts +2 -2
- package/types/components/MazDropdown.vue.d.ts +7 -6
- package/types/components/MazDropzone.vue.d.ts +1 -1
- package/types/components/MazExpandAnimation.vue.d.ts +2 -2
- package/types/components/MazFullscreenLoader.vue.d.ts +2 -2
- package/types/components/MazGallery.vue.d.ts +2 -2
- package/types/components/MazInput.vue.d.ts +4 -4
- package/types/components/MazInputCode.vue.d.ts +2 -2
- package/types/components/MazInputNumber.vue.d.ts +2 -2
- package/types/components/MazInputPrice.vue.d.ts +2 -2
- package/types/components/MazInputTags.vue.d.ts +7 -2
- package/types/components/MazLazyImg.vue.d.ts +2 -2
- package/types/components/MazLink.vue.d.ts +6 -6
- package/types/components/MazLoadingBar.vue.d.ts +2 -2
- package/types/components/MazPagination.vue.d.ts +3 -3
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
- package/types/components/MazPhoneNumberInput/types.d.ts +5 -5
- package/types/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
- package/types/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
- package/types/components/MazPhoneNumberInput.vue.d.ts +8 -8
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
- package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
- package/types/components/MazPicker/types.d.ts +4 -4
- package/types/components/MazPicker/utils.d.ts +4 -4
- package/types/components/MazPicker.vue.d.ts +3 -3
- package/types/components/MazPullToRefresh.vue.d.ts +2 -2
- package/types/components/MazRadioButtons.vue.d.ts +2 -2
- package/types/components/MazReadingProgressBar.vue.d.ts +2 -2
- package/types/components/MazSelect.vue.d.ts +4 -4
- package/types/components/MazSlider/utils.d.ts +4 -4
- package/types/components/MazStepper.vue.d.ts +3 -3
- package/types/components/MazSwitch.vue.d.ts +2 -2
- package/types/components/MazTable.vue.d.ts +13 -10
- package/types/components/MazTableRow.vue.d.ts +2 -2
- package/types/components/MazTabs.vue.d.ts +4 -4
- package/types/components/MazTabsBar.vue.d.ts +7 -5
- package/types/components/MazTextarea.vue.d.ts +2 -2
- package/types/components/MazTransitionExpand.vue.d.ts +2 -2
- package/types/modules/composables/use-reading-time.d.ts +5 -5
- package/types/modules/composables/use-theme-handler.d.ts +2 -2
- package/types/modules/directives/closable.d.ts +2 -2
- package/types/modules/directives/tooltip/index.d.ts +4 -4
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
- package/types/modules/directives/v-lazy-img/index.d.ts +1 -1
- package/types/modules/filters/capitalize.d.ts +1 -1
- package/types/modules/filters/currency.d.ts +1 -1
- package/types/modules/filters/date.d.ts +1 -1
- package/types/modules/filters/index.d.ts +8 -4
- package/types/modules/filters/number.d.ts +1 -1
- package/types/modules/filters/telephone.d.ts +1 -1
- package/types/modules/helpers/idle-timeout/idle-timeout-handler.d.ts +1 -1
- package/types/modules/helpers/mount-component.d.ts +2 -2
- package/types/modules/helpers/normalize-string.d.ts +2 -2
- package/types/modules/helpers/swipe-handler.d.ts +2 -2
- package/types/modules/helpers/user-visibility/types.d.ts +2 -2
- package/types/modules/plugins/aos/index.d.ts +3 -3
- package/types/modules/plugins/index.d.ts +2 -2
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +3 -3
- package/types/modules/plugins/toaster/index.d.ts +1 -2
- package/types/modules/plugins/toaster/types.d.ts +6 -6
- package/types/modules/plugins/wait/utils.d.ts +4 -4
- package/types/resolvers/unplugin-directives-resolver.d.ts +1 -1
- package/types/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
- package/types/tailwindcss/tailwind.config.d.ts +71 -9
- package/types/tailwindcss/variables/z-indexes.d.ts +11 -11
- package/components/chunks/MazBtn-BOb7Fg_d.mjs +0 -151
- package/components/chunks/MazBtn-DpkJQ_3W.mjs +0 -151
- package/components/chunks/MazBtn-Dw_CR_0X.mjs +0 -151
- package/components/chunks/MazBtn-_NGDIlQK.mjs +0 -151
- package/components/chunks/MazExpandAnimation-Cin7sZ3I.mjs +0 -58
- package/components/chunks/MazPicker-CltoTa2Z.mjs +0 -2477
- package/components/chunks/MazSelect-DDKbowf3.mjs +0 -835
- package/components/chunks/MazSpinner-2ti3NQjo.mjs +0 -38
- package/components/chunks/MazSpinner-BZUmasIf.mjs +0 -38
- package/components/chunks/MazSpinner-C-lFmcUR.mjs +0 -38
- package/components/chunks/MazSpinner-C75WMoEA.mjs +0 -38
- package/components/chunks/MazSpinner-CA38Ikqe.mjs +0 -38
- package/components/chunks/MazSpinner-CAHOYqvB.mjs +0 -38
- package/components/chunks/MazSpinner-COOp2WX8.mjs +0 -38
- package/components/chunks/MazSpinner-D-ONjGGv.mjs +0 -38
- package/components/chunks/MazSpinner-DJkziC4O.mjs +0 -38
- package/components/chunks/MazSpinner-Di0F6oZz.mjs +0 -38
- package/components/chunks/MazSpinner-EcA0uOQv.mjs +0 -38
- package/components/chunks/MazSpinner-s_0BLDqW.mjs +0 -38
- package/components/chunks/MazTable-B9JiJ2B2.mjs +0 -1950
- package/modules/chunks/MazIcon-DdFYd3W8.cjs +0 -1
- package/modules/chunks/index-RvIMpzcQ.cjs +0 -124
- package/nuxt/runtime/composables/{use-aos.mjs → use-aos.js} +0 -0
- package/nuxt/runtime/composables/{use-theme-handler.mjs → use-theme-handler.js} +1 -1
- package/nuxt/runtime/composables/{use-toast.mjs → use-toast.js} +0 -0
- package/nuxt/runtime/composables/{use-wait.mjs → use-wait.js} +0 -0
- package/nuxt/runtime/plugins/{aos.mjs → aos.js} +1 -1
- package/nuxt/runtime/plugins/{maz-icon-path.mjs → maz-icon-path.js} +0 -0
- package/nuxt/runtime/plugins/{toaster.mjs → toaster.js} +1 -1
- package/nuxt/runtime/plugins/{v-click-outside.mjs → v-click-outside.js} +1 -1
- package/nuxt/runtime/plugins/{v-fullscreen-img.mjs → v-fullscreen-img.js} +1 -1
- package/nuxt/runtime/plugins/{v-lazy-img.mjs → v-lazy-img.js} +1 -1
- package/nuxt/runtime/plugins/{v-tooltip.mjs → v-tooltip.js} +1 -1
- package/nuxt/runtime/plugins/{v-zoom-img.mjs → v-zoom-img.js} +1 -1
- package/nuxt/runtime/plugins/{wait.mjs → wait.js} +1 -1
|
@@ -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;
|
|
@@ -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 {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Component, type ComponentPublicInstance, type
|
|
1
|
+
import { type Component, type ComponentPublicInstance, type FunctionalComponent, type SVGAttributes } from 'vue';
|
|
2
2
|
import type { Color } from './types';
|
|
3
3
|
export type { Color };
|
|
4
4
|
export type Icon = FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component;
|
|
@@ -13,7 +13,7 @@ export interface Step {
|
|
|
13
13
|
icon?: string | Icon;
|
|
14
14
|
}
|
|
15
15
|
export type Steps = Step[];
|
|
16
|
-
export
|
|
16
|
+
export interface Props {
|
|
17
17
|
/** The current step */
|
|
18
18
|
modelValue?: number;
|
|
19
19
|
/** The steps */
|
|
@@ -35,7 +35,7 @@ export type Props = {
|
|
|
35
35
|
allStepsValidated?: boolean;
|
|
36
36
|
/** Allow to close the steps */
|
|
37
37
|
canCloseSteps?: boolean;
|
|
38
|
-
}
|
|
38
|
+
}
|
|
39
39
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
40
40
|
modelValue: undefined;
|
|
41
41
|
steps: undefined;
|
|
@@ -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
|
/** Style attribut of the component root element */
|
|
6
6
|
style?: HTMLAttributes['style'];
|
|
7
7
|
/** Class attribut of the component root element */
|
|
@@ -16,7 +16,7 @@ export type Props = {
|
|
|
16
16
|
name?: string;
|
|
17
17
|
/** The color of the switch */
|
|
18
18
|
color?: Color;
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
20
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
21
21
|
style: undefined;
|
|
22
22
|
class: undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type HTMLAttributes, type Ref, type StyleValue, type ThHTMLAttributes } from 'vue';
|
|
2
2
|
import type { Color, Size } from './types';
|
|
3
3
|
export type { Size, Color };
|
|
4
|
-
export
|
|
4
|
+
export interface HeadersEnriched {
|
|
5
5
|
label: string;
|
|
6
6
|
key?: string;
|
|
7
7
|
sortable?: boolean;
|
|
@@ -15,21 +15,22 @@ export type HeadersEnriched = {
|
|
|
15
15
|
rowspan?: ThHTMLAttributes['rowspan'];
|
|
16
16
|
colspan?: ThHTMLAttributes['colspan'];
|
|
17
17
|
headers?: ThHTMLAttributes['headers'];
|
|
18
|
-
}
|
|
18
|
+
}
|
|
19
19
|
export type Row = Record<string, any> & {
|
|
20
20
|
selected?: boolean;
|
|
21
21
|
action?: (row: Row) => unknown;
|
|
22
22
|
classes?: HTMLAttributes['class'];
|
|
23
23
|
};
|
|
24
24
|
export type Header = string | HeadersEnriched;
|
|
25
|
-
export
|
|
25
|
+
export interface Props {
|
|
26
26
|
/** class of the table element */
|
|
27
27
|
tableClass?: HTMLAttributes['class'];
|
|
28
28
|
/** style of the table element */
|
|
29
29
|
tableStyle?: StyleValue;
|
|
30
30
|
/** v-model of the table - list of selected rows */
|
|
31
31
|
modelValue?: (string | boolean | number)[];
|
|
32
|
-
/**
|
|
32
|
+
/**
|
|
33
|
+
* size of the table
|
|
33
34
|
* @values `'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'mini'`
|
|
34
35
|
*/
|
|
35
36
|
size?: Size;
|
|
@@ -69,7 +70,8 @@ export type Props = {
|
|
|
69
70
|
divider?: boolean;
|
|
70
71
|
/** caption of the table */
|
|
71
72
|
caption?: string;
|
|
72
|
-
/**
|
|
73
|
+
/**
|
|
74
|
+
* caption side
|
|
73
75
|
* @values `'top' | 'bottom'`
|
|
74
76
|
*/
|
|
75
77
|
captionSide?: 'top' | 'bottom';
|
|
@@ -93,19 +95,20 @@ export type Props = {
|
|
|
93
95
|
selectable?: boolean;
|
|
94
96
|
/** Enable selection of rows - key of the selected row */
|
|
95
97
|
selectedKey?: string;
|
|
96
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* table layout
|
|
97
100
|
* @values `'auto' | 'fixed'`
|
|
98
101
|
*/
|
|
99
102
|
tableLayout?: 'auto' | 'fixed';
|
|
100
103
|
/** color of the loading bar */
|
|
101
104
|
color?: Color;
|
|
102
|
-
}
|
|
103
|
-
export
|
|
105
|
+
}
|
|
106
|
+
export interface MazTableProvide {
|
|
104
107
|
size: Ref<Size>;
|
|
105
108
|
hoverable: Ref<boolean>;
|
|
106
109
|
backgroundEven: Ref<boolean>;
|
|
107
110
|
backgroundOdd: Ref<boolean>;
|
|
108
|
-
}
|
|
111
|
+
}
|
|
109
112
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
110
113
|
tableClass: undefined;
|
|
111
114
|
tableStyle: undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface Props {
|
|
2
2
|
/** Override hoverable of table props */
|
|
3
3
|
noHoverable?: boolean;
|
|
4
|
-
}
|
|
4
|
+
}
|
|
5
5
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
|
|
6
6
|
default?(_: {}): any;
|
|
7
7
|
}>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { type Ref } from 'vue';
|
|
2
|
-
export
|
|
2
|
+
export interface Props {
|
|
3
3
|
/** The the selected tab number */
|
|
4
4
|
modelValue?: number;
|
|
5
|
-
}
|
|
6
|
-
export
|
|
5
|
+
}
|
|
6
|
+
export interface MazTabsProvide {
|
|
7
7
|
currentTab: Ref<number>;
|
|
8
8
|
updateCurrentTab: (index: number) => number;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
10
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
11
11
|
"update:model-value": (index: number) => void;
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { BadgeColor, BadgeRoundedSize } from './MazBadge.vue';
|
|
2
2
|
export type MazTabsBarItem = {
|
|
3
3
|
label: string;
|
|
4
4
|
disabled?: boolean;
|
|
@@ -11,12 +11,13 @@ export type MazTabsBarItem = {
|
|
|
11
11
|
roundedSize?: BadgeRoundedSize;
|
|
12
12
|
};
|
|
13
13
|
} | string;
|
|
14
|
-
export
|
|
14
|
+
export interface Props {
|
|
15
15
|
/** The items to display in the tabs bar */
|
|
16
16
|
items: MazTabsBarItem[];
|
|
17
17
|
/** Will add a query param to the url to keep the selected tab on page refresh */
|
|
18
18
|
persistent?: boolean;
|
|
19
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* The name of the query param to add to the url
|
|
20
21
|
* @default tab
|
|
21
22
|
*/
|
|
22
23
|
queryParam?: string;
|
|
@@ -24,11 +25,12 @@ export type Props = {
|
|
|
24
25
|
block?: boolean;
|
|
25
26
|
/** Will remove the elevation */
|
|
26
27
|
noElevation?: boolean;
|
|
27
|
-
/**
|
|
28
|
+
/**
|
|
29
|
+
* Will add a scroll on the tabs bar to show selected element
|
|
28
30
|
* @default true
|
|
29
31
|
*/
|
|
30
32
|
autoScroll?: boolean;
|
|
31
|
-
}
|
|
33
|
+
}
|
|
32
34
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
33
35
|
queryParam: string;
|
|
34
36
|
autoScroll: boolean;
|
|
@@ -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
|
/** Style attribut of the component root element */
|
|
6
6
|
style?: HTMLAttributes['style'];
|
|
7
7
|
/** Class attribut of the component root element */
|
|
@@ -32,7 +32,7 @@ export type Props = {
|
|
|
32
32
|
hint?: string;
|
|
33
33
|
/** The color of the textarea */
|
|
34
34
|
color?: Color;
|
|
35
|
-
}
|
|
35
|
+
}
|
|
36
36
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
37
37
|
style: undefined;
|
|
38
38
|
class: undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface Props {
|
|
2
2
|
/** Duration of the animation in milliseconds */
|
|
3
3
|
animationDuration?: string;
|
|
4
|
-
}
|
|
4
|
+
}
|
|
5
5
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
6
6
|
animationDuration: string;
|
|
7
7
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
export
|
|
1
|
+
import { type ComputedRef, type Ref } from 'vue';
|
|
2
|
+
export interface ReadingTimeOptions {
|
|
3
3
|
/** Content to calculate the reading time */
|
|
4
4
|
content?: string | Ref<string>;
|
|
5
5
|
/** Selector of the content to calculate the reading time */
|
|
@@ -11,8 +11,8 @@ export type ReadingTimeOptions = {
|
|
|
11
11
|
* @default 150
|
|
12
12
|
*/
|
|
13
13
|
velocity?: number | Ref<number>;
|
|
14
|
-
}
|
|
15
|
-
export
|
|
14
|
+
}
|
|
15
|
+
export interface ReadingTimeReturn {
|
|
16
16
|
/** Content to calculate the reading time */
|
|
17
17
|
content: ComputedRef<string | undefined | null>;
|
|
18
18
|
/** Number of words in the content */
|
|
@@ -21,5 +21,5 @@ export type ReadingTimeReturn = {
|
|
|
21
21
|
velocity: ComputedRef<number>;
|
|
22
22
|
/** Reading time in minutes */
|
|
23
23
|
duration: ComputedRef<number>;
|
|
24
|
-
}
|
|
24
|
+
}
|
|
25
25
|
export declare function useReadingTime(options: ReadingTimeOptions): ReadingTimeReturn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface StrictThemeHandlerOptions {
|
|
2
2
|
/**
|
|
3
3
|
* Class to be added to the html element when dark theme is set
|
|
4
4
|
* @default 'dark'
|
|
@@ -41,7 +41,7 @@ export type StrictThemeHandlerOptions = {
|
|
|
41
41
|
* @default undefined
|
|
42
42
|
*/
|
|
43
43
|
defaultTheme?: 'light' | 'dark';
|
|
44
|
-
}
|
|
44
|
+
}
|
|
45
45
|
export type ThemeHandlerOptions = Partial<StrictThemeHandlerOptions>;
|
|
46
46
|
export declare function useThemeHandler(opts?: ThemeHandlerOptions): {
|
|
47
47
|
autoSetTheme: () => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { DirectiveBinding } from 'vue';
|
|
2
2
|
type vClosableBindingValueHandler = (...args: any[]) => any;
|
|
3
|
-
|
|
3
|
+
interface vClosableBindingValueObject {
|
|
4
4
|
handler: vClosableBindingValueHandler;
|
|
5
5
|
exclude?: string[];
|
|
6
|
-
}
|
|
6
|
+
}
|
|
7
7
|
type vClosableBindingValue = vClosableBindingValueObject | vClosableBindingValueHandler;
|
|
8
8
|
type vClosableBinding = DirectiveBinding<vClosableBindingValue>;
|
|
9
9
|
declare function unbind(element: HTMLElement, binding: vClosableBinding): void;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { DirectiveBinding } from 'vue';
|
|
2
2
|
import './style.css';
|
|
3
|
-
import {
|
|
3
|
+
import type { Color } from '../../../components/types';
|
|
4
4
|
type vTooltipColor = Exclude<Color, 'transparent'> | 'default' | 'light' | 'dark';
|
|
5
|
-
|
|
5
|
+
interface vTooltipOptions {
|
|
6
6
|
position?: 'top' | 'bottom' | 'left' | 'right';
|
|
7
7
|
color?: vTooltipColor;
|
|
8
|
-
}
|
|
8
|
+
}
|
|
9
9
|
type vTooltipBindingValue = string | ({
|
|
10
10
|
text: string;
|
|
11
11
|
open?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface Props {
|
|
2
2
|
src: string;
|
|
3
3
|
clickedElementBounds?: {
|
|
4
4
|
top: number;
|
|
@@ -16,7 +16,7 @@ export type Props = {
|
|
|
16
16
|
destroy?: () => void;
|
|
17
17
|
alt?: string;
|
|
18
18
|
zoom?: boolean;
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
20
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
21
21
|
zoom: boolean;
|
|
22
22
|
offset: undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare function capitalize(value: string): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export interface FilterCurrencyOptions extends Intl.NumberFormatOptions {
|
|
2
2
|
round?: boolean;
|
|
3
3
|
}
|
|
4
|
-
export declare
|
|
4
|
+
export declare function currency(number: number | string, locale: string, options: FilterCurrencyOptions): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare function date(date: string | number | Date, locale: string, options?: Intl.DateTimeFormatOptions): string;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import type { App } from 'vue';
|
|
2
|
+
import { capitalize } from './capitalize';
|
|
3
|
+
import { currency } from './currency';
|
|
4
|
+
import { date } from './date';
|
|
5
|
+
import { number } from './number';
|
|
2
6
|
declare const filters: {
|
|
3
|
-
capitalize:
|
|
4
|
-
currency:
|
|
5
|
-
date:
|
|
6
|
-
number:
|
|
7
|
+
capitalize: typeof capitalize;
|
|
8
|
+
currency: typeof currency;
|
|
9
|
+
date: typeof date;
|
|
10
|
+
number: typeof number;
|
|
7
11
|
};
|
|
8
12
|
export type Filters = typeof filters;
|
|
9
13
|
declare const installFilters: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare function number(number: number | string, locale: string, options?: Intl.NumberFormatOptions): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare
|
|
1
|
+
export declare function telephone(telephone: string): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type App, type Component } from 'vue';
|
|
2
|
-
export declare function mount<T extends Component
|
|
3
|
-
props?:
|
|
2
|
+
export declare function mount<T extends Component, P = Record<string, unknown>>(component: T, options?: {
|
|
3
|
+
props?: P;
|
|
4
4
|
children?: unknown;
|
|
5
5
|
app?: App;
|
|
6
6
|
element?: HTMLElement;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
interface NormalizeStringOptions {
|
|
2
2
|
/**
|
|
3
3
|
* Remove accents from the string
|
|
4
4
|
* @default true
|
|
@@ -43,6 +43,6 @@ type NormalizeStringOptions = {
|
|
|
43
43
|
* options: 'NFC', 'NFD', 'NFKC', 'NFKD'
|
|
44
44
|
*/
|
|
45
45
|
customNormalizationForms?: string[];
|
|
46
|
-
}
|
|
46
|
+
}
|
|
47
47
|
export declare function normalizeString(input: string | number | boolean, options?: NormalizeStringOptions): string;
|
|
48
48
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface SwipeValues {
|
|
2
2
|
xStart: number | undefined;
|
|
3
3
|
yStart: number | undefined;
|
|
4
4
|
xEnd: number | undefined;
|
|
5
5
|
yEnd: number | undefined;
|
|
6
6
|
xDiff: number | undefined;
|
|
7
7
|
yDiff: number | undefined;
|
|
8
|
-
}
|
|
8
|
+
}
|
|
9
9
|
export type SwipeEventCallback = (event: TouchEvent) => void;
|
|
10
10
|
export type SwipeValuesCallback = (values: SwipeValues) => void;
|
|
11
11
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type UserVisibilyCallback = ({ isVisible }: {
|
|
2
2
|
isVisible: boolean;
|
|
3
3
|
}) => void;
|
|
4
|
-
export
|
|
4
|
+
export interface UserVisibilyStrictOptions {
|
|
5
5
|
/**
|
|
6
6
|
* Watch immediately
|
|
7
7
|
* @default true
|
|
@@ -17,5 +17,5 @@ export type UserVisibilyStrictOptions = {
|
|
|
17
17
|
* @default false
|
|
18
18
|
*/
|
|
19
19
|
once: boolean;
|
|
20
|
-
}
|
|
20
|
+
}
|
|
21
21
|
export type UserVisibilyOptions = Partial<UserVisibilyStrictOptions>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { App } from 'vue';
|
|
2
2
|
import type { Router } from 'vue-router';
|
|
3
|
-
export
|
|
3
|
+
export interface AosOptions {
|
|
4
4
|
animation?: {
|
|
5
5
|
delay?: number;
|
|
6
6
|
duration?: number;
|
|
@@ -9,7 +9,7 @@ export type AosOptions = {
|
|
|
9
9
|
delay?: number;
|
|
10
10
|
observer?: IntersectionObserverInit;
|
|
11
11
|
router?: Router;
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
13
|
interface ClassOptions extends Omit<AosOptions, 'router'> {
|
|
14
14
|
animation: {
|
|
15
15
|
delay: number;
|
|
@@ -29,8 +29,8 @@ export declare class AosHandler {
|
|
|
29
29
|
private handleObserver;
|
|
30
30
|
runAnimations(): Promise<void> | undefined;
|
|
31
31
|
}
|
|
32
|
-
export declare let instance: AosHandler;
|
|
33
32
|
export declare const plugin: {
|
|
34
33
|
install: (app: App, options?: AosOptions) => void;
|
|
35
34
|
};
|
|
35
|
+
export declare function getInstance(): AosHandler;
|
|
36
36
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { ToasterHandler, installToaster,
|
|
1
|
+
export { ToasterHandler, installToaster, type ToasterOptions, type ToasterPosition, type ToasterPositions, } from './toaster';
|
|
2
2
|
export { WaitHandler, plugin as installWait, instance as waitInstance } from './wait';
|
|
3
|
-
export { AosHandler, plugin as installAos,
|
|
3
|
+
export { AosHandler, plugin as installAos, getInstance as getAosInstance, type AosOptions } from './aos';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { LocalToasterOptions } from './toaster-handler';
|
|
2
|
-
import type {
|
|
3
|
-
export
|
|
2
|
+
import type { ToasterAction, ToasterLink, ToasterPosition } from './types';
|
|
3
|
+
export interface Props {
|
|
4
4
|
message: string;
|
|
5
5
|
position?: ToasterPosition;
|
|
6
6
|
maxToasts?: number | boolean;
|
|
@@ -12,7 +12,7 @@ export type Props = {
|
|
|
12
12
|
action?: ToasterAction;
|
|
13
13
|
persistent?: boolean;
|
|
14
14
|
icon?: boolean;
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
declare function close(): void;
|
|
17
17
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
18
18
|
position: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
1
2
|
import type { ToasterOptions } from './types';
|
|
2
3
|
import { ToasterHandler } from './toaster-handler';
|
|
3
|
-
import type { App } from 'vue';
|
|
4
|
-
export declare let toastInstance: ToasterHandler;
|
|
5
4
|
export declare function createToaster(app: App, options?: ToasterOptions): ToasterHandler;
|
|
6
5
|
export declare const installToaster: {
|
|
7
6
|
install(app: App, options?: ToasterOptions): void;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export type ToasterPosition = 'top' | 'top-right' | 'top-left' | 'bottom' | 'bottom-right' | 'bottom-left';
|
|
2
2
|
export type ToasterPositions = ToasterPosition;
|
|
3
|
-
export
|
|
3
|
+
export interface ToasterLink {
|
|
4
4
|
href: string;
|
|
5
5
|
text?: string;
|
|
6
6
|
/** @default _self */
|
|
7
7
|
target?: string;
|
|
8
8
|
closeToast?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export
|
|
9
|
+
}
|
|
10
|
+
export interface ToasterAction {
|
|
11
11
|
func: (..._arguments: unknown[]) => unknown;
|
|
12
12
|
text: string;
|
|
13
13
|
closeToast?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export
|
|
14
|
+
}
|
|
15
|
+
export interface ToasterOptions {
|
|
16
16
|
/**
|
|
17
17
|
* The position of the toast on the screen
|
|
18
18
|
* @default 'bottom-right'
|
|
@@ -56,4 +56,4 @@ export type ToasterOptions = {
|
|
|
56
56
|
/** @default false */
|
|
57
57
|
closeToast?: boolean;
|
|
58
58
|
};
|
|
59
|
-
}
|
|
59
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type LoaderId = unknown;
|
|
2
2
|
export declare const DEFAULT_LOADER: LoaderId;
|
|
3
|
-
export declare
|
|
4
|
-
export declare
|
|
3
|
+
export declare function uniq(array: LoaderId[]): unknown[];
|
|
4
|
+
export declare function contains(array: Array<LoaderId>): (predicate?: LoaderId | VoidFunction) => boolean;
|
|
5
5
|
export declare const hasItems: (array: LoaderId[]) => boolean;
|
|
6
|
-
export declare
|
|
7
|
-
export declare
|
|
6
|
+
export declare function push(array: LoaderId[]): (item?: LoaderId) => unknown[];
|
|
7
|
+
export declare function pop(array: LoaderId[]): (item?: LoaderId) => unknown[];
|