maz-ui 3.43.4 → 3.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/MazAccordion.d.ts +2 -2
- package/components/MazAccordion.mjs +84 -84
- package/components/MazAnimatedCounter.mjs +9 -10
- package/components/MazAvatar.d.ts +3 -3
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBackdrop.d.ts +2 -2
- package/components/MazBackdrop.mjs +12 -10
- package/components/MazBadge.d.ts +2 -2
- package/components/MazBadge.mjs +3 -4
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.d.ts +7 -5
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.d.ts +3 -3
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.d.ts +2 -2
- package/components/MazCardSpotlight.mjs +4 -5
- package/components/MazCarousel.d.ts +2 -2
- package/components/MazCarousel.mjs +1 -1
- package/components/MazChart.d.ts +1 -1
- package/components/MazCheckbox.d.ts +2 -2
- package/components/MazCheckbox.mjs +10 -11
- package/components/MazCircularProgressBar.d.ts +1 -1
- package/components/MazCircularProgressBar.mjs +21 -23
- package/components/MazDialog.d.ts +2 -2
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.d.ts +2 -2
- package/components/MazDrawer.mjs +71 -69
- package/components/MazDropdown.d.ts +7 -6
- package/components/MazDropdown.mjs +130 -128
- package/components/MazDropzone.d.ts +1 -1
- package/components/MazDropzone.mjs +1 -1
- package/components/MazExpandAnimation.d.ts +2 -2
- package/components/MazExpandAnimation.mjs +26 -26
- package/components/MazFullscreenLoader.d.ts +2 -2
- package/components/MazFullscreenLoader.mjs +11 -10
- package/components/MazGallery.d.ts +2 -2
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.mjs +45 -34
- package/components/MazInput.d.ts +4 -4
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.d.ts +2 -2
- package/components/MazInputCode.mjs +4 -5
- package/components/MazInputNumber.d.ts +2 -2
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.d.ts +2 -2
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.d.ts +7 -2
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.d.ts +2 -2
- package/components/MazLazyImg.mjs +1 -1
- package/components/MazLink.d.ts +6 -6
- package/components/MazLink.mjs +3 -4
- package/components/MazLoadingBar.d.ts +2 -2
- package/components/MazLoadingBar.mjs +17 -18
- package/components/MazPagination.d.ts +3 -3
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
- package/components/MazPhoneNumberInput/types.d.ts +5 -5
- package/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
- package/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
- package/components/MazPhoneNumberInput.d.ts +8 -8
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
- package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
- package/components/MazPicker/types.d.ts +4 -4
- package/components/MazPicker/utils.d.ts +4 -4
- package/components/MazPicker.d.ts +3 -3
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.d.ts +2 -2
- package/components/MazPullToRefresh.mjs +1 -1
- package/components/MazRadio.mjs +8 -9
- package/components/MazRadioButtons.d.ts +2 -2
- package/components/MazRadioButtons.mjs +44 -42
- package/components/MazReadingProgressBar.d.ts +2 -2
- package/components/MazReadingProgressBar.mjs +12 -13
- package/components/MazSelect.d.ts +4 -4
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider/utils.d.ts +4 -4
- package/components/MazSlider.mjs +100 -87
- package/components/MazSpinner.mjs +6 -7
- package/components/MazStepper.d.ts +3 -3
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.d.ts +2 -2
- package/components/MazSwitch.mjs +6 -6
- package/components/MazTable.d.ts +13 -10
- package/components/MazTable.mjs +1 -1
- package/components/MazTableCell.mjs +4 -5
- package/components/MazTableRow.d.ts +2 -2
- package/components/MazTableRow.mjs +4 -5
- package/components/MazTableTitle.mjs +2 -3
- package/components/MazTabs.d.ts +4 -4
- package/components/MazTabsBar.d.ts +7 -5
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContent.mjs +5 -4
- package/components/MazTabsContentItem.mjs +16 -17
- package/components/MazTextarea.d.ts +2 -2
- package/components/MazTextarea.mjs +19 -17
- package/components/MazTransitionExpand.d.ts +2 -2
- package/components/MazTransitionExpand.mjs +19 -18
- package/components/assets/MazAccordion.css +1 -1
- package/components/assets/MazAnimatedCounter.css +1 -1
- package/components/assets/MazAvatar.css +1 -1
- package/components/assets/MazBadge.css +1 -1
- package/components/assets/MazBottomSheet.css +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazCard.css +1 -1
- package/components/assets/MazCardSpotlight.css +1 -1
- package/components/assets/MazCarousel.css +1 -1
- package/components/assets/MazCheckbox.css +1 -1
- package/components/assets/MazCircularProgressBar.css +1 -1
- package/components/assets/MazDialog.css +1 -1
- package/components/assets/MazDialogPromise.css +1 -1
- package/components/assets/MazExpandAnimation.css +1 -1
- package/components/assets/MazGallery.css +1 -1
- package/components/assets/MazInput.css +1 -1
- package/components/assets/MazInputCode.css +1 -1
- package/components/assets/MazInputNumber.css +1 -1
- package/components/assets/MazInputPrice.css +1 -1
- package/components/assets/MazInputTags.css +1 -1
- package/components/assets/MazLazyImg.css +1 -1
- package/components/assets/MazLink.css +1 -1
- package/components/assets/MazLoadingBar.css +1 -1
- package/components/assets/MazPagination.css +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazPicker.css +1 -1
- package/components/assets/MazPickerMonthSwitcher.css +1 -1
- package/components/assets/MazPickerShortcuts.css +1 -1
- package/components/assets/MazPickerYearSwitcher.css +1 -1
- package/components/assets/MazPullToRefresh.css +1 -1
- package/components/assets/MazRadio.css +1 -1
- package/components/assets/MazRadioButtons.css +1 -1
- package/components/assets/MazReadingProgressBar.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazSlider.css +1 -1
- package/components/assets/MazSpinner.css +1 -1
- package/components/assets/MazStepper.css +1 -1
- package/components/assets/MazSwitch.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTableCell.css +1 -1
- package/components/assets/MazTableRow.css +1 -1
- package/components/assets/MazTableTitle.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/assets/MazTabsContentItem.css +1 -1
- package/components/assets/MazTextarea.css +1 -1
- package/components/assets/MazTransitionExpand.css +1 -1
- package/components/chunks/{MazAvatar-DsJvzyS9.mjs → MazAvatar-BU1nJFcV.mjs} +8 -9
- package/components/chunks/{MazBadge-CYJlqITD.mjs → MazBadge-CwA0md19.mjs} +4 -5
- package/components/chunks/{MazBottomSheet-CIlIdn-2.mjs → MazBottomSheet-DUOIusEi.mjs} +54 -52
- package/components/chunks/{MazBtn-CCNGs6oo.mjs → MazBtn-5BSKOcqG.mjs} +35 -36
- package/components/chunks/{MazBtn-Ccvl1ZWv.mjs → MazBtn-B1-sTc7F.mjs} +31 -32
- package/components/chunks/{MazBtn-BC5OegPu.mjs → MazBtn-BY8WCtM7.mjs} +35 -36
- package/components/chunks/{MazBtn-CX4OgPzp.mjs → MazBtn-C5G78zLg.mjs} +35 -36
- package/components/chunks/MazBtn-CeVwyYR5.mjs +150 -0
- package/components/chunks/{MazBtn-BqgdERYQ.mjs → MazBtn-ColLVUca.mjs} +35 -36
- package/components/chunks/{MazBtn-beTASOLt.mjs → MazBtn-DJhQqzja.mjs} +35 -36
- package/components/chunks/MazBtn-DuY28-0U.mjs +150 -0
- package/components/chunks/{MazBtn-BydIwD1J.mjs → MazBtn-f1mBXJeU.mjs} +31 -32
- package/components/chunks/MazBtn-h3WmmaEO.mjs +150 -0
- package/components/chunks/MazBtn-zyRLUViT.mjs +150 -0
- package/components/chunks/{MazCard-bmiVPg8p.mjs → MazCard-BWxV_Z-i.mjs} +25 -26
- package/components/chunks/{MazCarousel-CL0bMygd.mjs → MazCarousel-D5EmW7Sa.mjs} +43 -35
- package/components/chunks/{MazCheckbox-DsFbvpp4.mjs → MazCheckbox-BWiMbecz.mjs} +11 -12
- package/components/chunks/{MazCheckbox-CCa7grGF.mjs → MazCheckbox-D3PXkt75.mjs} +11 -12
- package/components/chunks/{MazDialog-BckFta4N.mjs → MazDialog-CLWKCphI.mjs} +56 -54
- package/components/chunks/{MazDialogPromise-Bb6h4hFz.mjs → MazDialogPromise-DVOJwdVp.mjs} +139 -126
- package/components/chunks/{MazDropzone-C_8mRUbK.mjs → MazDropzone-Dm2IirHm.mjs} +33 -54
- package/components/chunks/MazExpandAnimation-ChSSdQAq.mjs +58 -0
- package/components/chunks/{MazGallery-CcpeM_zk.mjs → MazGallery-BlfPe8WG.mjs} +103 -101
- package/components/chunks/{MazGallery-6UK5sH9P.mjs → MazGallery-Bn9p1gNb.mjs} +102 -100
- package/{modules/chunks/MazIcon-CiNswMKM.mjs → components/chunks/MazIcon-B8A0hQAH.mjs} +45 -34
- package/components/chunks/{MazIcon-Cxrv3_OK.mjs → MazIcon-BDGxCy9M.mjs} +45 -34
- package/components/chunks/{MazIcon-BKuhvwwq.mjs → MazIcon-D3umgnku.mjs} +45 -34
- package/components/chunks/{MazInput-DNwBL54e.mjs → MazInput-BpsE-mdg.mjs} +69 -69
- package/components/chunks/{MazInputNumber-BSdVF8-q.mjs → MazInputNumber-DGBYbDSX.mjs} +186 -182
- package/components/chunks/{MazInputPrice-osrAz4xd.mjs → MazInputPrice-j2BNMeFp.mjs} +134 -129
- package/components/chunks/{MazInputTags-XUWwx6p8.mjs → MazInputTags-CJofVaj5.mjs} +234 -252
- package/components/chunks/{MazLazyImg-6qrfqWKr.mjs → MazLazyImg-BFG6FIJZ.mjs} +6 -7
- package/components/chunks/{MazLazyImg-BelScAEF.mjs → MazLazyImg-Dboc6Xfz.mjs} +5 -6
- package/components/chunks/{MazPagination-DUiHgLAp.mjs → MazPagination-C6ZehQSZ.mjs} +118 -119
- package/components/chunks/{MazPhoneNumberInput-HeEEyDu0.mjs → MazPhoneNumberInput-DpWoNQfx.mjs} +707 -695
- package/components/chunks/MazPicker-ia2BEmm5.mjs +2531 -0
- package/components/chunks/{MazPickerMonthSwitcher-CoV-84J1.mjs → MazPickerMonthSwitcher-CKtfZ_m-.mjs} +19 -19
- package/components/chunks/{MazPickerShortcuts-5IfUIwpz.mjs → MazPickerShortcuts-Cc9VoqBw.mjs} +10 -10
- package/components/chunks/{MazPickerYearSwitcher-MeptqtZk.mjs → MazPickerYearSwitcher-0b5Wrem9.mjs} +10 -8
- package/components/chunks/{MazPullToRefresh-DWbmwlzV.mjs → MazPullToRefresh-CUazP4y2.mjs} +21 -22
- package/components/chunks/MazSelect-COJoKXbV.mjs +847 -0
- package/components/chunks/MazSpinner-9Jue6cel.mjs +37 -0
- package/components/chunks/{MazSpinner-BKjRRWtc.mjs → MazSpinner-BGPOws6a.mjs} +6 -7
- package/components/chunks/{MazSpinner-BXxULdoD.mjs → MazSpinner-BWYdqSMP.mjs} +6 -7
- package/components/chunks/{MazSpinner-BRgzRI07.mjs → MazSpinner-BZOjTZBN.mjs} +6 -7
- package/components/chunks/{MazSpinner-B-svzg-R.mjs → MazSpinner-BaAMq7LI.mjs} +6 -7
- package/components/chunks/MazSpinner-Bad2n-0k.mjs +37 -0
- package/components/chunks/MazSpinner-BxnVFqUu.mjs +37 -0
- package/components/chunks/{MazSpinner-Mvsi6uCt.mjs → MazSpinner-C41VyUup.mjs} +6 -7
- package/components/chunks/MazSpinner-C6StE-Mb.mjs +37 -0
- package/components/chunks/{MazSpinner-BFXwybUv.mjs → MazSpinner-CNIlbDfg.mjs} +6 -7
- package/components/chunks/MazSpinner-Cz2DHV6g.mjs +37 -0
- package/components/chunks/MazSpinner-D4CdHpP2.mjs +37 -0
- package/{modules/chunks/MazSpinner--jWWogVn.mjs → components/chunks/MazSpinner-DHQH6Bhz.mjs} +6 -7
- package/components/chunks/MazSpinner-DRj2VpGA.mjs +37 -0
- package/components/chunks/{MazSpinner-C1lg-Klx.mjs → MazSpinner-DkXequnp.mjs} +6 -7
- package/components/chunks/MazSpinner-EA5ejB8F.mjs +37 -0
- package/components/chunks/{MazSpinner-BtpIL60X.mjs → MazSpinner-RvDGcBng.mjs} +6 -7
- package/components/chunks/{MazSpinner-B_WP-2kr.mjs → MazSpinner-V-bFi71W.mjs} +6 -7
- package/components/chunks/MazSpinner-aPFlrc5E.mjs +37 -0
- package/components/chunks/{MazSpinner-CfA_KEZT.mjs → MazSpinner-nH44Htog.mjs} +6 -7
- package/components/chunks/MazSpinner-nOD-7_sU.mjs +37 -0
- package/components/chunks/MazSpinner-yZGK-AQe.mjs +37 -0
- package/components/chunks/{MazStepper-DDofJsdg.mjs → MazStepper-DxrzKz06.mjs} +94 -83
- package/components/chunks/MazTable-DRUj_PZp.mjs +1960 -0
- package/components/chunks/{MazTabsBar-BXDEQkZM.mjs → MazTabsBar-xcIIXHx5.mjs} +67 -68
- package/components/chunks/{MazTransitionExpand-BwuAIzII.mjs → MazTransitionExpand-B08cSrmL.mjs} +20 -19
- package/components/chunks/{examples.mobile.json-um0ibyv5.mjs → examples.mobile.json-JpNGylGv.mjs} +1 -1
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/assets/MazSpinner.css +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/{MazBtn-Czcbhr3Z.cjs → MazBtn-BbCGGxkK.cjs} +2 -2
- package/modules/chunks/{MazBtn-CXcW31TK.mjs → MazBtn-UBHTKqaN.mjs} +35 -36
- package/modules/chunks/MazIcon-BDSXZYZ8.cjs +1 -0
- package/{components/chunks/MazIcon-DtG5ii8R.mjs → modules/chunks/MazIcon-C2ch3jUS.mjs} +45 -34
- package/modules/chunks/{MazSpinner-Cw1KnqLM.cjs → MazSpinner-BiyFRA4w.cjs} +1 -1
- package/modules/chunks/MazSpinner-C9_xSbZZ.mjs +37 -0
- package/modules/chunks/{index-CThtJOu5.mjs → index-Cwbjspv3.mjs} +621 -588
- package/modules/chunks/index-tnjajVkX.cjs +124 -0
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +34 -35
- package/nuxt/index.json +2 -2
- package/nuxt/index.mjs +3 -4
- package/nuxt/types.d.mts +24 -0
- package/nuxt/types.d.ts +24 -0
- package/package.json +77 -83
- package/resolvers/unplugin-directives-resolver.d.ts +1 -1
- package/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
- package/tailwindcss/tailwind.config.ts +9 -2
- package/tailwindcss/utils/colors.ts +3 -3
- package/tailwindcss/variables/colors.ts +12 -12
- package/tailwindcss/variables/utilities.ts +2 -2
- package/tailwindcss/variables/z-indexes.ts +12 -11
- package/types/components/MazAccordion.vue.d.ts +2 -2
- package/types/components/MazAvatar.vue.d.ts +3 -3
- package/types/components/MazBackdrop.vue.d.ts +2 -2
- package/types/components/MazBadge.vue.d.ts +2 -2
- package/types/components/MazBtn.vue.d.ts +7 -5
- package/types/components/MazCard.vue.d.ts +3 -3
- package/types/components/MazCardSpotlight.vue.d.ts +2 -2
- package/types/components/MazCarousel.vue.d.ts +2 -2
- package/types/components/MazChart.vue.d.ts +1 -1
- package/types/components/MazCheckbox.vue.d.ts +2 -2
- package/types/components/MazCircularProgressBar.vue.d.ts +1 -1
- package/types/components/MazDialog.vue.d.ts +2 -2
- package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
- package/types/components/MazDrawer.vue.d.ts +2 -2
- package/types/components/MazDropdown.vue.d.ts +7 -6
- package/types/components/MazDropzone.vue.d.ts +1 -1
- package/types/components/MazExpandAnimation.vue.d.ts +2 -2
- package/types/components/MazFullscreenLoader.vue.d.ts +2 -2
- package/types/components/MazGallery.vue.d.ts +2 -2
- package/types/components/MazInput.vue.d.ts +4 -4
- package/types/components/MazInputCode.vue.d.ts +2 -2
- package/types/components/MazInputNumber.vue.d.ts +2 -2
- package/types/components/MazInputPrice.vue.d.ts +2 -2
- package/types/components/MazInputTags.vue.d.ts +7 -2
- package/types/components/MazLazyImg.vue.d.ts +2 -2
- package/types/components/MazLink.vue.d.ts +6 -6
- package/types/components/MazLoadingBar.vue.d.ts +2 -2
- package/types/components/MazPagination.vue.d.ts +3 -3
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
- package/types/components/MazPhoneNumberInput/types.d.ts +5 -5
- package/types/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
- package/types/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
- package/types/components/MazPhoneNumberInput.vue.d.ts +8 -8
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
- package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
- package/types/components/MazPicker/types.d.ts +4 -4
- package/types/components/MazPicker/utils.d.ts +4 -4
- package/types/components/MazPicker.vue.d.ts +3 -3
- package/types/components/MazPullToRefresh.vue.d.ts +2 -2
- package/types/components/MazRadioButtons.vue.d.ts +2 -2
- package/types/components/MazReadingProgressBar.vue.d.ts +2 -2
- package/types/components/MazSelect.vue.d.ts +4 -4
- package/types/components/MazSlider/utils.d.ts +4 -4
- package/types/components/MazStepper.vue.d.ts +3 -3
- package/types/components/MazSwitch.vue.d.ts +2 -2
- package/types/components/MazTable.vue.d.ts +13 -10
- package/types/components/MazTableRow.vue.d.ts +2 -2
- package/types/components/MazTabs.vue.d.ts +4 -4
- package/types/components/MazTabsBar.vue.d.ts +7 -5
- package/types/components/MazTextarea.vue.d.ts +2 -2
- package/types/components/MazTransitionExpand.vue.d.ts +2 -2
- package/types/modules/composables/use-reading-time.d.ts +5 -5
- package/types/modules/composables/use-theme-handler.d.ts +2 -2
- package/types/modules/directives/closable.d.ts +2 -2
- package/types/modules/directives/tooltip/index.d.ts +4 -4
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
- package/types/modules/directives/v-lazy-img/index.d.ts +1 -1
- package/types/modules/filters/capitalize.d.ts +1 -1
- package/types/modules/filters/currency.d.ts +1 -1
- package/types/modules/filters/date.d.ts +1 -1
- package/types/modules/filters/index.d.ts +8 -4
- package/types/modules/filters/number.d.ts +1 -1
- package/types/modules/filters/telephone.d.ts +1 -1
- package/types/modules/helpers/idle-timeout/idle-timeout-handler.d.ts +1 -1
- package/types/modules/helpers/mount-component.d.ts +2 -2
- package/types/modules/helpers/normalize-string.d.ts +2 -2
- package/types/modules/helpers/swipe-handler.d.ts +2 -2
- package/types/modules/helpers/user-visibility/types.d.ts +2 -2
- package/types/modules/plugins/aos/index.d.ts +3 -3
- package/types/modules/plugins/index.d.ts +2 -2
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +3 -3
- package/types/modules/plugins/toaster/index.d.ts +1 -2
- package/types/modules/plugins/toaster/types.d.ts +6 -6
- package/types/modules/plugins/wait/utils.d.ts +4 -4
- package/types/resolvers/unplugin-directives-resolver.d.ts +1 -1
- package/types/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
- package/types/tailwindcss/tailwind.config.d.ts +71 -9
- package/types/tailwindcss/variables/z-indexes.d.ts +11 -11
- package/components/chunks/MazBtn-BOb7Fg_d.mjs +0 -151
- package/components/chunks/MazBtn-DpkJQ_3W.mjs +0 -151
- package/components/chunks/MazBtn-Dw_CR_0X.mjs +0 -151
- package/components/chunks/MazBtn-_NGDIlQK.mjs +0 -151
- package/components/chunks/MazExpandAnimation-Cin7sZ3I.mjs +0 -58
- package/components/chunks/MazPicker-CltoTa2Z.mjs +0 -2477
- package/components/chunks/MazSelect-DDKbowf3.mjs +0 -835
- package/components/chunks/MazSpinner-2ti3NQjo.mjs +0 -38
- package/components/chunks/MazSpinner-BZUmasIf.mjs +0 -38
- package/components/chunks/MazSpinner-C-lFmcUR.mjs +0 -38
- package/components/chunks/MazSpinner-C75WMoEA.mjs +0 -38
- package/components/chunks/MazSpinner-CA38Ikqe.mjs +0 -38
- package/components/chunks/MazSpinner-CAHOYqvB.mjs +0 -38
- package/components/chunks/MazSpinner-COOp2WX8.mjs +0 -38
- package/components/chunks/MazSpinner-D-ONjGGv.mjs +0 -38
- package/components/chunks/MazSpinner-DJkziC4O.mjs +0 -38
- package/components/chunks/MazSpinner-Di0F6oZz.mjs +0 -38
- package/components/chunks/MazSpinner-EcA0uOQv.mjs +0 -38
- package/components/chunks/MazSpinner-s_0BLDqW.mjs +0 -38
- package/components/chunks/MazTable-B9JiJ2B2.mjs +0 -1950
- package/modules/chunks/MazIcon-DdFYd3W8.cjs +0 -1
- package/modules/chunks/index-RvIMpzcQ.cjs +0 -124
- package/nuxt/runtime/composables/{use-aos.mjs → use-aos.js} +0 -0
- package/nuxt/runtime/composables/{use-theme-handler.mjs → use-theme-handler.js} +1 -1
- package/nuxt/runtime/composables/{use-toast.mjs → use-toast.js} +0 -0
- package/nuxt/runtime/composables/{use-wait.mjs → use-wait.js} +0 -0
- package/nuxt/runtime/plugins/{aos.mjs → aos.js} +1 -1
- package/nuxt/runtime/plugins/{maz-icon-path.mjs → maz-icon-path.js} +0 -0
- package/nuxt/runtime/plugins/{toaster.mjs → toaster.js} +1 -1
- package/nuxt/runtime/plugins/{v-click-outside.mjs → v-click-outside.js} +1 -1
- package/nuxt/runtime/plugins/{v-fullscreen-img.mjs → v-fullscreen-img.js} +1 -1
- package/nuxt/runtime/plugins/{v-lazy-img.mjs → v-lazy-img.js} +1 -1
- package/nuxt/runtime/plugins/{v-tooltip.mjs → v-tooltip.js} +1 -1
- package/nuxt/runtime/plugins/{v-zoom-img.mjs → v-zoom-img.js} +1 -1
- package/nuxt/runtime/plugins/{wait.mjs → wait.js} +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Color, Size } from './../types';
|
|
2
2
|
export interface DialogState {
|
|
3
3
|
id: string;
|
|
4
4
|
isActive: boolean;
|
|
5
5
|
resolve: (value: unknown) => void;
|
|
6
6
|
reject?: (reason?: unknown) => void;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export interface DialogButton {
|
|
9
9
|
text?: string;
|
|
10
10
|
block?: boolean;
|
|
11
11
|
color?: Color;
|
|
@@ -14,13 +14,13 @@ export type DialogButton = {
|
|
|
14
14
|
outline?: boolean;
|
|
15
15
|
rounded?: boolean;
|
|
16
16
|
size?: Size;
|
|
17
|
-
}
|
|
17
|
+
}
|
|
18
18
|
export type DialogCustomButton = DialogButton & {
|
|
19
19
|
text: string;
|
|
20
20
|
type: 'resolve' | 'reject';
|
|
21
21
|
response?: unknown;
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export interface DialogData {
|
|
24
24
|
/**
|
|
25
25
|
* Dialog title
|
|
26
26
|
*/
|
|
@@ -51,7 +51,7 @@ export type DialogData = {
|
|
|
51
51
|
* Dialog custom buttons
|
|
52
52
|
*/
|
|
53
53
|
buttons?: DialogCustomButton[];
|
|
54
|
-
}
|
|
54
|
+
}
|
|
55
55
|
export declare const defaultData: {
|
|
56
56
|
cancelText: string;
|
|
57
57
|
confirmText: string;
|
|
@@ -65,7 +65,14 @@ export declare const defaultData: {
|
|
|
65
65
|
color: "success";
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
|
|
68
|
+
declare function showDialogAndWaitChoice(identifier: string, callback?: () => unknown): Promise<unknown>;
|
|
69
|
+
declare function removeDialogFromState(identifier: string): {
|
|
70
|
+
id: string;
|
|
71
|
+
isActive: boolean;
|
|
72
|
+
resolve: (value: unknown) => void;
|
|
73
|
+
reject?: ((reason?: unknown) => void) | undefined;
|
|
74
|
+
}[];
|
|
75
|
+
export declare function useMazDialogPromise(): {
|
|
69
76
|
data: import("vue").Ref<{
|
|
70
77
|
title?: string | undefined;
|
|
71
78
|
message?: string | undefined;
|
|
@@ -100,7 +107,7 @@ export declare const useMazDialogPromise: () => {
|
|
|
100
107
|
outline?: boolean | undefined;
|
|
101
108
|
rounded?: boolean | undefined;
|
|
102
109
|
size?: Size | undefined;
|
|
103
|
-
type:
|
|
110
|
+
type: "resolve" | "reject";
|
|
104
111
|
response?: unknown;
|
|
105
112
|
}[] | undefined;
|
|
106
113
|
}>;
|
|
@@ -110,13 +117,9 @@ export declare const useMazDialogPromise: () => {
|
|
|
110
117
|
resolve: (value: unknown) => void;
|
|
111
118
|
reject?: ((reason?: unknown) => void) | undefined;
|
|
112
119
|
}[]>;
|
|
113
|
-
showDialogAndWaitChoice:
|
|
114
|
-
removeDialogFromState:
|
|
115
|
-
id: string;
|
|
116
|
-
isActive: boolean;
|
|
117
|
-
resolve: (value: unknown) => void;
|
|
118
|
-
reject?: ((reason?: unknown) => void) | undefined;
|
|
119
|
-
}[];
|
|
120
|
+
showDialogAndWaitChoice: typeof showDialogAndWaitChoice;
|
|
121
|
+
removeDialogFromState: typeof removeDialogFromState;
|
|
120
122
|
rejectDialog: (currentDialog: DialogState, response?: unknown) => void;
|
|
121
123
|
resolveDialog: (currentDialog: DialogState, response?: unknown) => void;
|
|
122
124
|
};
|
|
125
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface Props {
|
|
2
2
|
/** The title of the drawer */
|
|
3
3
|
title?: string;
|
|
4
4
|
/** The variant of the drawer */
|
|
@@ -9,7 +9,7 @@ export type Props = {
|
|
|
9
9
|
backdropClass?: string;
|
|
10
10
|
/** Disable the close button */
|
|
11
11
|
noClose?: boolean;
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
13
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
14
14
|
title: undefined;
|
|
15
15
|
variant: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { RouteLocationRaw } from 'vue-router';
|
|
3
|
+
import type { Position } from './types';
|
|
4
|
+
import type { Color } from './MazBtn.vue';
|
|
5
5
|
export type { Color, Position };
|
|
6
6
|
export type MenuItem = {
|
|
7
7
|
label: string;
|
|
@@ -11,7 +11,7 @@ export type MenuItem = {
|
|
|
11
11
|
to?: RouteLocationRaw;
|
|
12
12
|
class?: unknown;
|
|
13
13
|
} & Record<string, unknown>;
|
|
14
|
-
export
|
|
14
|
+
export interface Props {
|
|
15
15
|
style?: HTMLAttributes['style'];
|
|
16
16
|
class?: HTMLAttributes['class'];
|
|
17
17
|
/** Menu items */
|
|
@@ -20,7 +20,8 @@ export type Props = {
|
|
|
20
20
|
open?: boolean;
|
|
21
21
|
/** id of the menu */
|
|
22
22
|
id?: string;
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Should open the dropdown on click, hover or both
|
|
24
25
|
* @default 'both'
|
|
25
26
|
*/
|
|
26
27
|
trigger?: 'click' | 'hover' | 'both';
|
|
@@ -45,7 +46,7 @@ export type Props = {
|
|
|
45
46
|
* @default 'Open menu dropdown'
|
|
46
47
|
*/
|
|
47
48
|
screenReaderDescription?: string;
|
|
48
|
-
}
|
|
49
|
+
}
|
|
49
50
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
50
51
|
class: undefined;
|
|
51
52
|
style: undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentPublicInstance, type PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import type { DropzoneFile, DropzoneOptions } from 'dropzone';
|
|
3
3
|
export interface MazDropzoneOptions extends DropzoneOptions {
|
|
4
4
|
dictFilesDescriptions?: string;
|
|
5
5
|
autoRemoveOnError?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface Props {
|
|
2
2
|
/**
|
|
3
3
|
* Duration of the animation in milliseconds
|
|
4
4
|
* @default '300ms'
|
|
@@ -9,7 +9,7 @@ export type Props = {
|
|
|
9
9
|
* @default 'ease-in-out'
|
|
10
10
|
*/
|
|
11
11
|
timingFunction?: string;
|
|
12
|
-
}
|
|
12
|
+
}
|
|
13
13
|
declare let __VLS_typeProps: Props;
|
|
14
14
|
type __VLS_PublicProps = {
|
|
15
15
|
modelValue?: boolean;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Color } from './types';
|
|
2
|
-
export
|
|
2
|
+
export interface Props {
|
|
3
3
|
/** The color of the spinner */
|
|
4
4
|
color?: Color;
|
|
5
5
|
/** The size of the spinner */
|
|
6
6
|
size?: string;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
8
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
9
9
|
color: string;
|
|
10
10
|
size: string;
|
|
@@ -4,7 +4,7 @@ export type { MazGalleryImage } from './types';
|
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
/**
|
|
6
6
|
* Array of string or object: `['https://via.placeholder.com/500', 'https://via.placeholder.com/600']` or `[{ slug: 'https://via.placeholder.com/500', alt: 'image descripton' }, { slug: 'https://via.placeholder.com/600', alt: 'image descripton' }]`
|
|
7
|
-
|
|
7
|
+
*/
|
|
8
8
|
images: {
|
|
9
9
|
type: PropType<MazGalleryImage[]>;
|
|
10
10
|
default: () => never[];
|
|
@@ -77,7 +77,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
77
77
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
78
78
|
/**
|
|
79
79
|
* Array of string or object: `['https://via.placeholder.com/500', 'https://via.placeholder.com/600']` or `[{ slug: 'https://via.placeholder.com/500', alt: 'image descripton' }, { slug: 'https://via.placeholder.com/600', alt: 'image descripton' }]`
|
|
80
|
-
|
|
80
|
+
*/
|
|
81
81
|
images: {
|
|
82
82
|
type: PropType<MazGalleryImage[]>;
|
|
83
83
|
default: () => never[];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import type { Color,
|
|
1
|
+
import { type Component, type ComponentPublicInstance, type FunctionalComponent, type HTMLAttributes, type SVGAttributes } from 'vue';
|
|
2
|
+
import type { Color, ModelValueSimple, Size } from './types';
|
|
3
3
|
export type { Color, Size, ModelValueSimple } from './types';
|
|
4
4
|
export type Icon = FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component;
|
|
5
|
-
export
|
|
5
|
+
export interface Props<T = ModelValueSimple> {
|
|
6
6
|
/** The style of the component */
|
|
7
7
|
style?: HTMLAttributes['style'];
|
|
8
8
|
/** The class of the component */
|
|
@@ -80,7 +80,7 @@ export type Props<T = ModelValueSimple> = {
|
|
|
80
80
|
roundedSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
81
81
|
/** The input will be displayed in full width */
|
|
82
82
|
block?: boolean;
|
|
83
|
-
}
|
|
83
|
+
}
|
|
84
84
|
declare const _default: <T extends ModelValueSimple>(__VLS_props: {
|
|
85
85
|
onFocus?: ((event: Event) => any) | undefined;
|
|
86
86
|
onBlur?: ((event: Event) => any) | undefined;
|
|
@@ -2,7 +2,7 @@ import { type HTMLAttributes } from 'vue';
|
|
|
2
2
|
import type { Color } from './types';
|
|
3
3
|
type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
4
4
|
export type { Color, Size };
|
|
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. */
|
|
@@ -29,7 +29,7 @@ export type Props = {
|
|
|
29
29
|
size?: Size;
|
|
30
30
|
/** The color of the component. */
|
|
31
31
|
color?: Color;
|
|
32
|
-
}
|
|
32
|
+
}
|
|
33
33
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
34
34
|
style: undefined;
|
|
35
35
|
class: undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'vue';
|
|
2
2
|
import type { Size } from './types';
|
|
3
3
|
export type { Size };
|
|
4
|
-
export
|
|
4
|
+
export interface Props {
|
|
5
5
|
/** The inline style object for the component. */
|
|
6
6
|
style?: HTMLAttributes['style'];
|
|
7
7
|
/** The CSS class name for the component. */
|
|
@@ -26,7 +26,7 @@ export type Props = {
|
|
|
26
26
|
inputmode?: HTMLAttributes['inputmode'];
|
|
27
27
|
/** The input will be displayed in full width */
|
|
28
28
|
block?: boolean;
|
|
29
|
-
}
|
|
29
|
+
}
|
|
30
30
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
31
31
|
style: undefined;
|
|
32
32
|
class: undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface Props {
|
|
2
2
|
/** @model The value of the input */
|
|
3
3
|
modelValue?: number | string;
|
|
4
4
|
/** The currency to use */
|
|
@@ -13,7 +13,7 @@ export type Props = {
|
|
|
13
13
|
noIcon?: boolean;
|
|
14
14
|
/** The input will be displayed in full width */
|
|
15
15
|
block?: boolean;
|
|
16
|
-
}
|
|
16
|
+
}
|
|
17
17
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
18
18
|
modelValue: undefined;
|
|
19
19
|
currency: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'vue';
|
|
2
2
|
import type { Color, Size } from './types';
|
|
3
3
|
export type { Color, Size };
|
|
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 */
|
|
@@ -26,7 +26,9 @@ export type Props = {
|
|
|
26
26
|
color?: Color;
|
|
27
27
|
/** The input will be displayed in full width */
|
|
28
28
|
block?: boolean;
|
|
29
|
-
|
|
29
|
+
/** Add tags on blur */
|
|
30
|
+
addTagsOnBlur?: boolean;
|
|
31
|
+
}
|
|
30
32
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
31
33
|
style: undefined;
|
|
32
34
|
class: undefined;
|
|
@@ -39,6 +41,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
39
41
|
warning: boolean;
|
|
40
42
|
size: string;
|
|
41
43
|
color: string;
|
|
44
|
+
addTagsOnBlur: boolean;
|
|
42
45
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
46
|
"update:model-value": (...args: any[]) => void;
|
|
44
47
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
@@ -53,6 +56,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
53
56
|
warning: boolean;
|
|
54
57
|
size: string;
|
|
55
58
|
color: string;
|
|
59
|
+
addTagsOnBlur: boolean;
|
|
56
60
|
}>>> & {
|
|
57
61
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
58
62
|
}, {
|
|
@@ -67,6 +71,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
67
71
|
class: any;
|
|
68
72
|
modelValue: string[] | number[];
|
|
69
73
|
placeholder: string;
|
|
74
|
+
addTagsOnBlur: boolean;
|
|
70
75
|
}, {}>;
|
|
71
76
|
export default _default;
|
|
72
77
|
type __VLS_WithDefaults<P, D> = {
|
|
@@ -2,7 +2,7 @@ import { type HTMLAttributes } from 'vue';
|
|
|
2
2
|
import type { vLazyImgOptions } from './../modules/directives/v-lazy-img/types';
|
|
3
3
|
import type { Image } from './types';
|
|
4
4
|
export type { Image };
|
|
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 */
|
|
@@ -30,7 +30,7 @@ export type Props = {
|
|
|
30
30
|
observerOptions?: vLazyImgOptions['observerOptions'];
|
|
31
31
|
/** The fallback src to replace the src on loading error */
|
|
32
32
|
fallbackSrc?: string;
|
|
33
|
-
}
|
|
33
|
+
}
|
|
34
34
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
35
35
|
style: undefined;
|
|
36
36
|
class: undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type ComponentPublicInstance, type FunctionalComponent, type SVGAttributes } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import type { RouteLocationRaw } from 'vue-router';
|
|
3
|
+
import type { Component } from 'nuxt/schema';
|
|
4
|
+
import type { Color } from './types';
|
|
5
5
|
export type Icon = FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component;
|
|
6
|
-
export
|
|
6
|
+
export interface Props {
|
|
7
7
|
/** The id of the link */
|
|
8
8
|
id?: string;
|
|
9
9
|
/** The title of the link */
|
|
@@ -48,7 +48,7 @@ export type Props = {
|
|
|
48
48
|
* `@type` `{string | FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component}`
|
|
49
49
|
*/
|
|
50
50
|
rightIcon?: string | Icon;
|
|
51
|
-
}
|
|
51
|
+
}
|
|
52
52
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
53
53
|
id: undefined;
|
|
54
54
|
title: undefined;
|
|
@@ -83,9 +83,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
83
83
|
href: string;
|
|
84
84
|
color: Color;
|
|
85
85
|
target: string;
|
|
86
|
-
to: RouteLocationRaw;
|
|
87
86
|
leftIcon: string | Icon;
|
|
88
87
|
rightIcon: string | Icon;
|
|
88
|
+
to: RouteLocationRaw;
|
|
89
89
|
download: string;
|
|
90
90
|
rel: string;
|
|
91
91
|
ariaLabel: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Color } from './types';
|
|
2
2
|
export type { Color };
|
|
3
|
-
export
|
|
3
|
+
export interface Props {
|
|
4
4
|
/** The color of the component. */
|
|
5
5
|
color?: Color;
|
|
6
6
|
/** The height of the component. */
|
|
7
7
|
height?: string;
|
|
8
|
-
}
|
|
8
|
+
}
|
|
9
9
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
10
10
|
color: string;
|
|
11
11
|
height: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type Color, type
|
|
2
|
-
|
|
1
|
+
import { type Color, type Props as MazBtnProps, type Size } from './MazBtn.vue';
|
|
2
|
+
interface MazPagnationProps {
|
|
3
3
|
/** @model The current page number. */
|
|
4
4
|
modelValue?: number;
|
|
5
5
|
/**
|
|
@@ -30,7 +30,7 @@ type MazPagnationProps = {
|
|
|
30
30
|
* Enable loading state of current button
|
|
31
31
|
*/
|
|
32
32
|
loading?: boolean;
|
|
33
|
-
}
|
|
33
|
+
}
|
|
34
34
|
export type { MazPagnationProps as Props };
|
|
35
35
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<MazPagnationProps>, {
|
|
36
36
|
modelValue: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Color,
|
|
1
|
+
import type { Color, CountryCode, Position, Size } from '../MazPhoneNumberInput.vue';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
3
|
/** Style attribut of the component root element */
|
|
4
4
|
style?: import("vue").StyleValue;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CountryCallingCode, CountryCode, NationalNumber, NumberType } from 'libphonenumber-js';
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
2
|
+
import type { defaultLocales } from './default-locales';
|
|
3
|
+
export interface Results {
|
|
4
4
|
isValid: boolean;
|
|
5
5
|
isPossible?: boolean;
|
|
6
6
|
countryCode?: CountryCode;
|
|
@@ -13,13 +13,13 @@ export type Results = {
|
|
|
13
13
|
e164?: string;
|
|
14
14
|
rfc3966?: string;
|
|
15
15
|
phoneNumber?: string;
|
|
16
|
-
}
|
|
16
|
+
}
|
|
17
17
|
export type Translations = typeof defaultLocales;
|
|
18
|
-
export
|
|
18
|
+
export interface Country {
|
|
19
19
|
iso2: CountryCode;
|
|
20
20
|
dialCode: CountryCallingCode;
|
|
21
21
|
name: string;
|
|
22
|
-
}
|
|
22
|
+
}
|
|
23
23
|
export interface IpWhoResponse {
|
|
24
24
|
ip: string;
|
|
25
25
|
success: true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CountryCode, getCountries, getCountryCallingCode
|
|
1
|
+
import { type CountryCode, type Examples, getCountries, getCountryCallingCode } from 'libphonenumber-js';
|
|
2
2
|
import type { Results } from './types';
|
|
3
3
|
declare function isCountryAvailable(locale: string): boolean;
|
|
4
4
|
declare function getPhoneNumberResults({ phoneNumber, countryCode, }: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CountryCode } from 'libphonenumber-js';
|
|
2
|
+
import { type HTMLAttributes, type Ref } from 'vue';
|
|
2
3
|
import type { Results, Translations } from './MazPhoneNumberInput/types';
|
|
3
4
|
import type { Color, Position, Size } from './types';
|
|
4
5
|
export type { Color, Size, Position, CountryCode, Results, Results as Result, Translations };
|
|
5
|
-
|
|
6
|
-
export type Props = {
|
|
6
|
+
export interface Props {
|
|
7
7
|
/** Style attribut of the component root element */
|
|
8
8
|
style?: HTMLAttributes['style'];
|
|
9
9
|
/** Class attribut of the component root element */
|
|
@@ -91,18 +91,18 @@ export type Props = {
|
|
|
91
91
|
* @values "row" | "col" | "responsive"
|
|
92
92
|
*/
|
|
93
93
|
orientation?: 'row' | 'col' | 'responsive';
|
|
94
|
-
}
|
|
95
|
-
|
|
94
|
+
}
|
|
95
|
+
interface SelectionRange {
|
|
96
96
|
start?: number | null;
|
|
97
97
|
end?: number | null;
|
|
98
98
|
cursorAtEnd?: boolean;
|
|
99
|
-
}
|
|
100
|
-
export
|
|
99
|
+
}
|
|
100
|
+
export interface InjectedData {
|
|
101
101
|
selectedCountry: Ref<CountryCode | undefined>;
|
|
102
102
|
phoneNumber: Ref<string>;
|
|
103
103
|
results: Ref<Results>;
|
|
104
104
|
selectionRange: Ref<SelectionRange>;
|
|
105
|
-
}
|
|
105
|
+
}
|
|
106
106
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
107
107
|
class: undefined;
|
|
108
108
|
style: undefined;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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,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;
|