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
package/components/MazIcon.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { inject as b, defineComponent as C, ref as g, computed as p, onMounted as P, watchEffect as _, openBlock as h, createElementBlock as S, Fragment as $, createCommentVNode as
|
|
2
|
-
function H(l,
|
|
3
|
-
const
|
|
4
|
-
if (!
|
|
1
|
+
import { inject as b, defineComponent as C, ref as g, computed as p, onMounted as P, watchEffect as _, openBlock as h, createElementBlock as S, Fragment as $, createCommentVNode as s, mergeProps as A, nextTick as q } from "vue";
|
|
2
|
+
function H(l, d) {
|
|
3
|
+
const o = b(l, d);
|
|
4
|
+
if (!o)
|
|
5
5
|
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${l}`);
|
|
6
|
-
return
|
|
6
|
+
return o;
|
|
7
7
|
}
|
|
8
8
|
const I = ["innerHTML"], G = /* @__PURE__ */ C({
|
|
9
9
|
__name: "MazIcon",
|
|
@@ -25,18 +25,20 @@ const I = ["innerHTML"], G = /* @__PURE__ */ C({
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
emits: ["loaded", "unloaded", "error"],
|
|
28
|
-
setup(l, { emit:
|
|
29
|
-
const
|
|
28
|
+
setup(l, { emit: d }) {
|
|
29
|
+
const o = l, f = d, a = {}, i = g(), v = g();
|
|
30
|
+
function w() {
|
|
30
31
|
try {
|
|
31
32
|
return H("mazIconPath");
|
|
32
33
|
} catch {
|
|
33
34
|
return;
|
|
34
35
|
}
|
|
35
|
-
}
|
|
36
|
+
}
|
|
37
|
+
const m = p(() => o.path ?? w()), E = p(() => o.src ? o.src : m.value ? `${m.value}/${o.name}.svg` : `/${o.name}.svg`);
|
|
36
38
|
P(() => {
|
|
37
39
|
!o.name && !o.src && console.error('[maz-ui](MazIcon) you should provide "name" or "src" as prop');
|
|
38
40
|
});
|
|
39
|
-
|
|
41
|
+
function y(e, n) {
|
|
40
42
|
const t = e.querySelectorAll("title");
|
|
41
43
|
if (t.length > 0)
|
|
42
44
|
t[0].textContent = n;
|
|
@@ -44,43 +46,52 @@ const I = ["innerHTML"], G = /* @__PURE__ */ C({
|
|
|
44
46
|
const r = document.createElementNS("http://www.w3.org/2000/svg", "title");
|
|
45
47
|
r.textContent = n, e.append(r);
|
|
46
48
|
}
|
|
47
|
-
}
|
|
49
|
+
}
|
|
50
|
+
function z(e) {
|
|
51
|
+
return Object.keys(e).reduce((n, t) => (e[t] !== !1 && e[t] !== null && e[t] !== void 0 && (n[t] = e[t]), n), {});
|
|
52
|
+
}
|
|
53
|
+
function M(e) {
|
|
48
54
|
const n = {}, t = e.attributes;
|
|
49
55
|
if (!t)
|
|
50
56
|
return n;
|
|
51
57
|
for (let r = t.length - 1; r >= 0; r--)
|
|
52
58
|
n[t[r].name] = t[r].value;
|
|
53
59
|
return n;
|
|
54
|
-
}
|
|
60
|
+
}
|
|
61
|
+
function T(e) {
|
|
55
62
|
let n = e.cloneNode(!0);
|
|
56
63
|
return n = o.transformSource(e), o.title && y(n, o.title), e.innerHTML;
|
|
57
|
-
}
|
|
58
|
-
|
|
64
|
+
}
|
|
65
|
+
async function x(e) {
|
|
66
|
+
a[e] || (a[e] = L(e));
|
|
59
67
|
try {
|
|
60
|
-
i.value = await
|
|
68
|
+
i.value = await a[e], await q(), f("loaded", v.value);
|
|
61
69
|
} catch (n) {
|
|
62
|
-
i.value && (i.value = void 0,
|
|
70
|
+
i.value && (i.value = void 0, f("unloaded")), delete a[e], f("error", n);
|
|
63
71
|
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
72
|
+
}
|
|
73
|
+
function L(e) {
|
|
74
|
+
return new Promise((n, t) => {
|
|
75
|
+
const r = new XMLHttpRequest();
|
|
76
|
+
r.open("GET", e, !0), r.addEventListener("load", () => {
|
|
77
|
+
if (r.status >= 200 && r.status < 400)
|
|
78
|
+
try {
|
|
79
|
+
let c = new DOMParser().parseFromString(r.responseText, "text/xml").querySelectorAll("svg")[0];
|
|
80
|
+
c ? (c = o.transformSource(c), n(c)) : t(new Error('Loaded file is not valid SVG"'));
|
|
81
|
+
} catch (u) {
|
|
82
|
+
t(u);
|
|
83
|
+
}
|
|
84
|
+
else
|
|
85
|
+
t(new Error("Error loading SVG"));
|
|
86
|
+
}), r.addEventListener("error", (u) => t(u)), r.send();
|
|
87
|
+
});
|
|
88
|
+
}
|
|
78
89
|
return _(() => x(E.value)), (e, n) => (h(), S(
|
|
79
90
|
$,
|
|
80
91
|
null,
|
|
81
92
|
[
|
|
82
|
-
|
|
83
|
-
|
|
93
|
+
s(" eslint-disable vue/no-v-html "),
|
|
94
|
+
s(" eslint-disable vue/html-self-closing "),
|
|
84
95
|
i.value ? (h(), S("svg", A({
|
|
85
96
|
key: 0,
|
|
86
97
|
ref_key: "svgElem",
|
|
@@ -93,9 +104,9 @@ const I = ["innerHTML"], G = /* @__PURE__ */ C({
|
|
|
93
104
|
}, {
|
|
94
105
|
style: `font-size: ${l.size}`,
|
|
95
106
|
innerHTML: T(i.value)
|
|
96
|
-
}), null, 16, I)) :
|
|
97
|
-
|
|
98
|
-
|
|
107
|
+
}), null, 16, I)) : s("v-if", !0),
|
|
108
|
+
s(" eslint-enable vue/no-v-html "),
|
|
109
|
+
s(" eslint-enable vue/html-self-closing ")
|
|
99
110
|
],
|
|
100
111
|
2112
|
|
101
112
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
package/components/MazInput.d.ts
CHANGED
|
@@ -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;
|
package/components/MazInput.mjs
CHANGED
|
@@ -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,6 +1,5 @@
|
|
|
1
|
-
import './assets/MazInputCode.css';
|
|
2
1
|
import { defineComponent as N, useCssVars as S, ref as V, watch as M, computed as m, openBlock as v, createElementBlock as g, normalizeClass as w, normalizeStyle as P, Fragment as $, renderList as q, createCommentVNode as x, createElementVNode as D, mergeProps as E } from "vue";
|
|
3
|
-
const F = ["disabled"], K = ["inputmode", "pattern", "required", "value", "onInput", "onKeydown", "onClick"], T = /* @__PURE__ */ N({
|
|
2
|
+
import './assets/MazInputCode.css';const F = ["disabled"], K = ["inputmode", "pattern", "required", "value", "onInput", "onKeydown", "onClick"], T = /* @__PURE__ */ N({
|
|
4
3
|
inheritAttrs: !1,
|
|
5
4
|
__name: "MazInputCode",
|
|
6
5
|
props: {
|
|
@@ -21,7 +20,7 @@ const F = ["disabled"], K = ["inputmode", "pattern", "required", "value", "onInp
|
|
|
21
20
|
emits: ["update:model-value", "completed"],
|
|
22
21
|
setup(i, { emit: f }) {
|
|
23
22
|
S((e) => ({
|
|
24
|
-
"
|
|
23
|
+
"126eacc0": C.value
|
|
25
24
|
}));
|
|
26
25
|
const a = i, d = f, u = V([]), l = V(/* @__PURE__ */ new Map());
|
|
27
26
|
M(
|
|
@@ -60,7 +59,7 @@ const F = ["disabled"], K = ["inputmode", "pattern", "required", "value", "onInp
|
|
|
60
59
|
}
|
|
61
60
|
function h(e) {
|
|
62
61
|
var t;
|
|
63
|
-
return (t = a.acceptAlpha ? e.match(/^[\w.]$/
|
|
62
|
+
return (t = a.acceptAlpha ? e.match(/^[\w.]$/) : e.match(/\d+/g)) == null ? void 0 : t.toString();
|
|
64
63
|
}
|
|
65
64
|
function B(e, t) {
|
|
66
65
|
const o = l.value.get(t);
|
|
@@ -150,7 +149,7 @@ const F = ["disabled"], K = ["inputmode", "pattern", "required", "value", "onInp
|
|
|
150
149
|
for (const [d, u] of f)
|
|
151
150
|
a[d] = u;
|
|
152
151
|
return a;
|
|
153
|
-
}, W = /* @__PURE__ */ j(T, [["__scopeId", "data-v-
|
|
152
|
+
}, W = /* @__PURE__ */ j(T, [["__scopeId", "data-v-afab8168"]]);
|
|
154
153
|
export {
|
|
155
154
|
W as default
|
|
156
155
|
};
|
|
@@ -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;
|
package/components/MazLink.d.ts
CHANGED
|
@@ -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;
|
package/components/MazLink.mjs
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import './assets/MazLink.css';
|
|
2
1
|
import { defineComponent as p, defineAsyncComponent as s, openBlock as n, createBlock as l, resolveDynamicComponent as d, mergeProps as h, withCtx as c, createCommentVNode as o, renderSlot as r, unref as f, createVNode as m } from "vue";
|
|
3
|
-
const v = /* @__PURE__ */ p({
|
|
2
|
+
import './assets/MazLink.css';const v = /* @__PURE__ */ p({
|
|
4
3
|
__name: "MazLink",
|
|
5
4
|
props: {
|
|
6
5
|
id: { default: void 0 },
|
|
@@ -21,7 +20,7 @@ const v = /* @__PURE__ */ p({
|
|
|
21
20
|
setup(a) {
|
|
22
21
|
const i = s(
|
|
23
22
|
() => import("./chunks/arrow-top-right-on-square-CkcBq4qD.mjs")
|
|
24
|
-
), t = s(() => import("./chunks/MazIcon-
|
|
23
|
+
), t = s(() => import("./chunks/MazIcon-BDGxCy9M.mjs"));
|
|
25
24
|
return (e, u) => (n(), l(d(e.to ? "router-link" : "a"), h({
|
|
26
25
|
id: e.id,
|
|
27
26
|
class: ["m-link", [
|
|
@@ -78,7 +77,7 @@ const v = /* @__PURE__ */ p({
|
|
|
78
77
|
for (const [e, u] of i)
|
|
79
78
|
t[e] = u;
|
|
80
79
|
return t;
|
|
81
|
-
}, k = /* @__PURE__ */ y(v, [["__scopeId", "data-v-
|
|
80
|
+
}, k = /* @__PURE__ */ y(v, [["__scopeId", "data-v-4f837a44"]]);
|
|
82
81
|
export {
|
|
83
82
|
k as default
|
|
84
83
|
};
|
|
@@ -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,14 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const m = (o) => (p("data-v-26d3bae5"), o = o(), _(), o), u = { class: "m-loading-bar" }, h = /* @__PURE__ */ m(() => /* @__PURE__ */ i(
|
|
1
|
+
import { defineComponent as r, useCssVars as s, computed as n, openBlock as l, createElementBlock as p, pushScopeId as d, popScopeId as _, createElementVNode as i } from "vue";
|
|
2
|
+
import './assets/MazLoadingBar.css';const m = (o) => (d("data-v-be315052"), o = o(), _(), o), u = { class: "m-loading-bar" }, h = /* @__PURE__ */ m(() => /* @__PURE__ */ i(
|
|
4
3
|
"div",
|
|
5
4
|
null,
|
|
6
5
|
null,
|
|
7
6
|
-1
|
|
8
7
|
/* HOISTED */
|
|
9
|
-
)),
|
|
8
|
+
)), v = [
|
|
10
9
|
h
|
|
11
|
-
],
|
|
10
|
+
], f = /* @__PURE__ */ r({
|
|
12
11
|
__name: "MazLoadingBar",
|
|
13
12
|
props: {
|
|
14
13
|
color: { default: "primary" },
|
|
@@ -16,22 +15,22 @@ const m = (o) => (p("data-v-26d3bae5"), o = o(), _(), o), u = { class: "m-loadin
|
|
|
16
15
|
},
|
|
17
16
|
setup(o) {
|
|
18
17
|
s((t) => ({
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
"6349f7b6": t.height,
|
|
19
|
+
"02343323": e.value.alpha,
|
|
20
|
+
c6029158: e.value.main
|
|
22
21
|
}));
|
|
23
|
-
const
|
|
24
|
-
alpha: `var(--maz-color-${
|
|
25
|
-
main: `var(--maz-color-${
|
|
22
|
+
const a = o, e = n(() => ({
|
|
23
|
+
alpha: `var(--maz-color-${a.color}-alpha-20)`,
|
|
24
|
+
main: `var(--maz-color-${a.color})`
|
|
26
25
|
}));
|
|
27
|
-
return (t, c) => (l(),
|
|
26
|
+
return (t, c) => (l(), p("div", u, v));
|
|
28
27
|
}
|
|
29
|
-
}), g = (o,
|
|
30
|
-
const
|
|
31
|
-
for (const [t, c] of
|
|
32
|
-
|
|
33
|
-
return
|
|
34
|
-
}, z = /* @__PURE__ */ g(
|
|
28
|
+
}), g = (o, a) => {
|
|
29
|
+
const e = o.__vccOpts || o;
|
|
30
|
+
for (const [t, c] of a)
|
|
31
|
+
e[t] = c;
|
|
32
|
+
return e;
|
|
33
|
+
}, z = /* @__PURE__ */ g(f, [["__scopeId", "data-v-be315052"]]);
|
|
35
34
|
export {
|
|
36
35
|
z as default
|
|
37
36
|
};
|
|
@@ -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;
|
|
@@ -5,6 +5,7 @@ declare let __VLS_typeProps: {
|
|
|
5
5
|
size: Size;
|
|
6
6
|
locales: Translations;
|
|
7
7
|
label?: string;
|
|
8
|
+
placeholder?: string;
|
|
8
9
|
noExample?: boolean;
|
|
9
10
|
disabled?: boolean;
|
|
10
11
|
hasRadius?: boolean;
|
|
@@ -20,6 +21,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
20
21
|
class: undefined;
|
|
21
22
|
style: undefined;
|
|
22
23
|
label: undefined;
|
|
24
|
+
placeholder: undefined;
|
|
23
25
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
26
|
"update:modelValue": (modelValue: string) => void;
|
|
25
27
|
"update:model-value": (phoneNumber?: string | undefined) => void;
|
|
@@ -27,11 +29,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
27
29
|
class: undefined;
|
|
28
30
|
style: undefined;
|
|
29
31
|
label: undefined;
|
|
32
|
+
placeholder: undefined;
|
|
30
33
|
}>>> & {
|
|
31
34
|
"onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
|
|
32
35
|
"onUpdate:model-value"?: ((phoneNumber?: string | undefined) => any) | undefined;
|
|
33
36
|
}, {
|
|
34
37
|
label: string;
|
|
38
|
+
placeholder: string;
|
|
35
39
|
}, {}>;
|
|
36
40
|
export default _default;
|
|
37
41
|
type __VLS_WithDefaults<P, D> = {
|
|
@@ -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 */
|
|
@@ -20,6 +20,8 @@ export type Props = {
|
|
|
20
20
|
id?: string;
|
|
21
21
|
/** Placeholder of the input */
|
|
22
22
|
placeholder?: string;
|
|
23
|
+
/** label of the input */
|
|
24
|
+
label?: string;
|
|
23
25
|
/** List of country codes to place first in the select list - Ex: ['FR', 'BE', 'GE'] */
|
|
24
26
|
preferredCountries?: CountryCode[];
|
|
25
27
|
/** List of country codes to be removed from the select list - Ex: ['FR', 'BE', 'GE'] */
|
|
@@ -89,18 +91,18 @@ export type Props = {
|
|
|
89
91
|
* @values "row" | "col" | "responsive"
|
|
90
92
|
*/
|
|
91
93
|
orientation?: 'row' | 'col' | 'responsive';
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
+
}
|
|
95
|
+
interface SelectionRange {
|
|
94
96
|
start?: number | null;
|
|
95
97
|
end?: number | null;
|
|
96
98
|
cursorAtEnd?: boolean;
|
|
97
|
-
}
|
|
98
|
-
export
|
|
99
|
+
}
|
|
100
|
+
export interface InjectedData {
|
|
99
101
|
selectedCountry: Ref<CountryCode | undefined>;
|
|
100
102
|
phoneNumber: Ref<string>;
|
|
101
103
|
results: Ref<Results>;
|
|
102
104
|
selectionRange: Ref<SelectionRange>;
|
|
103
|
-
}
|
|
105
|
+
}
|
|
104
106
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
105
107
|
class: undefined;
|
|
106
108
|
style: undefined;
|
|
@@ -115,6 +117,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
115
117
|
defaultCountryCode: undefined;
|
|
116
118
|
id: undefined;
|
|
117
119
|
placeholder: undefined;
|
|
120
|
+
label: undefined;
|
|
118
121
|
preferredCountries: undefined;
|
|
119
122
|
ignoredCountries: undefined;
|
|
120
123
|
onlyCountries: undefined;
|
|
@@ -146,6 +149,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
146
149
|
defaultCountryCode: undefined;
|
|
147
150
|
id: undefined;
|
|
148
151
|
placeholder: undefined;
|
|
152
|
+
label: undefined;
|
|
149
153
|
preferredCountries: undefined;
|
|
150
154
|
ignoredCountries: undefined;
|
|
151
155
|
onlyCountries: undefined;
|
|
@@ -165,6 +169,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
165
169
|
"onUpdate:country-code"?: ((countryCode?: CountryCode | undefined) => any) | undefined;
|
|
166
170
|
}, {
|
|
167
171
|
size: Size;
|
|
172
|
+
label: string;
|
|
168
173
|
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
169
174
|
orientation: "col" | "row" | "responsive";
|
|
170
175
|
id: string;
|