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,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../assets/MazBtn.css');const e=require("vue"),h=require("./index-tnjajVkX.cjs"),C=e.defineComponent({__name:"MazBtn",props:{variant:{default:"button"},size:{default:"md"},color:{default:"primary"},type:{default:"button"},rounded:{type:Boolean},roundedSize:{default:"lg"},noRounded:{type:Boolean},outline:{type:Boolean},pastel:{type:Boolean},block:{type:Boolean},noUnderline:{type:Boolean},loading:{type:Boolean},disabled:{type:Boolean},fab:{type:Boolean},icon:{default:void 0},leftIcon:{default:void 0},rightIcon:{default:void 0},noPadding:{type:Boolean},noElevation:{type:Boolean},contentClass:{default:void 0}},setup(u){const n=u,d=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./MazSpinner-BiyFRA4w.cjs"))),l=e.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./MazIcon-BDSXZYZ8.cjs"))),{href:m,to:p}=e.useAttrs(),a=e.useSlots();e.onBeforeMount(()=>{n.icon&&!n.fab&&console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props')});const r=e.computed(()=>m?"a":p?"router-link":"button"),f=e.computed(()=>n.pastel?`--${n.color}-pastel`:n.outline?`--${n.color}-outline`:`--${n.color}`),i=e.computed(()=>(n.loading||n.disabled)&&r.value==="button"),v=e.computed(()=>i.value?"--cursor-default":"--cursor-pointer"),y=e.computed(()=>`--is-${n.variant}`),t=e.computed(()=>n.loading&&n.variant==="button"),s=e.computed(()=>!!a["left-icon"]||n.leftIcon),c=e.computed(()=>!!a["right-icon"]||n.rightIcon),b=e.computed(()=>s.value||c.value),k=e.computed(()=>n.fab&&(n.icon||!!a.icon)),B=e.computed(()=>r.value==="button"?n.type:void 0);return(o,z)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(r.value),{disabled:i.value||void 0,class:e.normalizeClass(["m-btn",[`--${o.size}`,!o.fab&&o.roundedSize&&`--rounded-${o.roundedSize}`,f.value,v.value,y.value,{"--block":o.block,"--no-underline":o.noUnderline,"--fab":o.fab,"--loading":o.loading,"--disabled":i.value,"--icon":b.value,"--rounded":o.rounded,"--no-rounded":o.noRounded,"--no-padding":o.noPadding,"--no-elevation":o.noElevation}]]),type:B.value},{default:e.withCtx(()=>[s.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["m-btn__icon-left maz-flex maz-flex-center",{"maz-invisible":t.value}])},[e.createCommentVNode(`
|
|
2
2
|
@slot left-icon - The icon to display on the left of the button
|
|
3
3
|
`),e.renderSlot(o.$slots,"left-icon",{},()=>[typeof o.leftIcon=="string"?(e.openBlock(),e.createBlock(e.unref(l),{key:0,name:o.leftIcon},null,8,["name"])):o.leftIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.leftIcon),{key:1})):e.createCommentVNode("v-if",!0)],!0)],2)):e.createCommentVNode("v-if",!0),k.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["m-btn__icon",{"maz-invisible":t.value}])},[e.createCommentVNode(`
|
|
4
4
|
@slot icon - The icon to display on the fab button
|
|
@@ -6,4 +6,4 @@ require('../assets/MazBtn.css');"use strict";Object.defineProperty(exports,Symbo
|
|
|
6
6
|
@slot default - The content of the button
|
|
7
7
|
`),e.renderSlot(o.$slots,"default",{},void 0,!0)],2)):e.createCommentVNode("v-if",!0),c.value?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["m-btn__icon-right",{"maz-invisible":t.value}])},[e.createCommentVNode(`
|
|
8
8
|
@slot right-icon - The icon to display on the right of the button
|
|
9
|
-
`),e.renderSlot(o.$slots,"right-icon",{},()=>[typeof o.rightIcon=="string"?(e.openBlock(),e.createBlock(e.unref(l),{key:0,name:o.rightIcon},null,8,["name"])):o.rightIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.rightIcon),{key:1})):e.createCommentVNode("v-if",!0)],!0)],2)):e.createCommentVNode("v-if",!0),t.value?(e.openBlock(),e.createBlock(e.unref(d),{key:4,class:"m-btn-loader",size:"2em",color:o.color},null,8,["color"])):e.createCommentVNode("v-if",!0)]),_:3},8,["disabled","class","type"]))}}),g=h._export_sfc(C,[["__scopeId","data-v-
|
|
9
|
+
`),e.renderSlot(o.$slots,"right-icon",{},()=>[typeof o.rightIcon=="string"?(e.openBlock(),e.createBlock(e.unref(l),{key:0,name:o.rightIcon},null,8,["name"])):o.rightIcon?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.rightIcon),{key:1})):e.createCommentVNode("v-if",!0)],!0)],2)):e.createCommentVNode("v-if",!0),t.value?(e.openBlock(),e.createBlock(e.unref(d),{key:4,class:"m-btn-loader",size:"2em",color:o.color},null,8,["color"])):e.createCommentVNode("v-if",!0)]),_:3},8,["disabled","class","type"]))}}),g=h._export_sfc(C,[["__scopeId","data-v-48f14785"]]);exports.default=g;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import '../assets/MazBtn.css';
|
|
2
1
|
import { defineComponent as E, defineAsyncComponent as h, useAttrs as R, useSlots as w, onBeforeMount as A, computed as l, openBlock as n, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as D, createElementBlock as u, createCommentVNode as t, renderSlot as d, unref as c } from "vue";
|
|
3
|
-
import { _ as L } from "./index-
|
|
4
|
-
const P = /* @__PURE__ */ E({
|
|
2
|
+
import { _ as L } from "./index-Cwbjspv3.mjs";
|
|
3
|
+
import '../assets/MazBtn.css';const P = /* @__PURE__ */ E({
|
|
5
4
|
__name: "MazBtn",
|
|
6
5
|
props: {
|
|
7
6
|
variant: { default: "button" },
|
|
@@ -26,34 +25,34 @@ const P = /* @__PURE__ */ E({
|
|
|
26
25
|
contentClass: { default: void 0 }
|
|
27
26
|
},
|
|
28
27
|
setup(g) {
|
|
29
|
-
const z = h(() => import("./MazSpinner
|
|
28
|
+
const e = g, z = h(() => import("./MazSpinner-C9_xSbZZ.mjs")), f = h(() => import("./MazIcon-C2ch3jUS.mjs")), { href: k, to: B } = R(), p = w();
|
|
30
29
|
A(() => {
|
|
31
|
-
|
|
30
|
+
e.icon && !e.fab && console.error('[maz-ui](MazBtn) the prop "icon" must be used only with "fab" props');
|
|
32
31
|
});
|
|
33
32
|
const v = l(() => k ? "a" : B ? "router-link" : "button"), I = l(
|
|
34
|
-
() =>
|
|
33
|
+
() => e.pastel ? `--${e.color}-pastel` : e.outline ? `--${e.color}-outline` : `--${e.color}`
|
|
35
34
|
), b = l(
|
|
36
|
-
() => (
|
|
37
|
-
), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${
|
|
38
|
-
return (
|
|
35
|
+
() => (e.loading || e.disabled) && v.value === "button"
|
|
36
|
+
), C = l(() => b.value ? "--cursor-default" : "--cursor-pointer"), $ = l(() => `--is-${e.variant}`), i = l(() => e.loading && e.variant === "button"), m = l(() => !!p["left-icon"] || e.leftIcon), y = l(() => !!p["right-icon"] || e.rightIcon), M = l(() => m.value || y.value), S = l(() => e.fab && (e.icon || !!p.icon)), T = l(() => v.value === "button" ? e.type : void 0);
|
|
37
|
+
return (o, U) => (n(), a(r(v.value), {
|
|
39
38
|
disabled: b.value || void 0,
|
|
40
39
|
class: s(["m-btn", [
|
|
41
|
-
`--${
|
|
42
|
-
!
|
|
40
|
+
`--${o.size}`,
|
|
41
|
+
!o.fab && o.roundedSize && `--rounded-${o.roundedSize}`,
|
|
43
42
|
I.value,
|
|
44
43
|
C.value,
|
|
45
44
|
$.value,
|
|
46
45
|
{
|
|
47
|
-
"--block":
|
|
48
|
-
"--no-underline":
|
|
49
|
-
"--fab":
|
|
50
|
-
"--loading":
|
|
46
|
+
"--block": o.block,
|
|
47
|
+
"--no-underline": o.noUnderline,
|
|
48
|
+
"--fab": o.fab,
|
|
49
|
+
"--loading": o.loading,
|
|
51
50
|
"--disabled": b.value,
|
|
52
51
|
"--icon": M.value,
|
|
53
|
-
"--rounded":
|
|
54
|
-
"--no-rounded":
|
|
55
|
-
"--no-padding":
|
|
56
|
-
"--no-elevation":
|
|
52
|
+
"--rounded": o.rounded,
|
|
53
|
+
"--no-rounded": o.noRounded,
|
|
54
|
+
"--no-padding": o.noPadding,
|
|
55
|
+
"--no-elevation": o.noElevation
|
|
57
56
|
}
|
|
58
57
|
]]),
|
|
59
58
|
type: T.value
|
|
@@ -69,11 +68,11 @@ const P = /* @__PURE__ */ E({
|
|
|
69
68
|
t(`
|
|
70
69
|
@slot left-icon - The icon to display on the left of the button
|
|
71
70
|
`),
|
|
72
|
-
d(
|
|
73
|
-
typeof
|
|
71
|
+
d(o.$slots, "left-icon", {}, () => [
|
|
72
|
+
typeof o.leftIcon == "string" ? (n(), a(c(f), {
|
|
74
73
|
key: 0,
|
|
75
|
-
name:
|
|
76
|
-
}, null, 8, ["name"])) :
|
|
74
|
+
name: o.leftIcon
|
|
75
|
+
}, null, 8, ["name"])) : o.leftIcon ? (n(), a(r(o.leftIcon), { key: 1 })) : t("v-if", !0)
|
|
77
76
|
], !0)
|
|
78
77
|
],
|
|
79
78
|
2
|
|
@@ -89,27 +88,27 @@ const P = /* @__PURE__ */ E({
|
|
|
89
88
|
t(`
|
|
90
89
|
@slot icon - The icon to display on the fab button
|
|
91
90
|
`),
|
|
92
|
-
d(
|
|
93
|
-
typeof
|
|
91
|
+
d(o.$slots, "icon", {}, () => [
|
|
92
|
+
typeof o.icon == "string" ? (n(), a(c(f), {
|
|
94
93
|
key: 0,
|
|
95
|
-
name:
|
|
96
|
-
}, null, 8, ["name"])) :
|
|
94
|
+
name: o.icon
|
|
95
|
+
}, null, 8, ["name"])) : o.icon ? (n(), a(r(o.icon), { key: 1 })) : t("v-if", !0)
|
|
97
96
|
], !0)
|
|
98
97
|
],
|
|
99
98
|
2
|
|
100
99
|
/* CLASS */
|
|
101
100
|
)) : t("v-if", !0),
|
|
102
|
-
|
|
101
|
+
o.$slots.default ? (n(), u(
|
|
103
102
|
"span",
|
|
104
103
|
{
|
|
105
104
|
key: 2,
|
|
106
|
-
class: s([{ "maz-invisible": i.value },
|
|
105
|
+
class: s([{ "maz-invisible": i.value }, o.contentClass])
|
|
107
106
|
},
|
|
108
107
|
[
|
|
109
108
|
t(`
|
|
110
109
|
@slot default - The content of the button
|
|
111
110
|
`),
|
|
112
|
-
d(
|
|
111
|
+
d(o.$slots, "default", {}, void 0, !0)
|
|
113
112
|
],
|
|
114
113
|
2
|
|
115
114
|
/* CLASS */
|
|
@@ -124,11 +123,11 @@ const P = /* @__PURE__ */ E({
|
|
|
124
123
|
t(`
|
|
125
124
|
@slot right-icon - The icon to display on the right of the button
|
|
126
125
|
`),
|
|
127
|
-
d(
|
|
128
|
-
typeof
|
|
126
|
+
d(o.$slots, "right-icon", {}, () => [
|
|
127
|
+
typeof o.rightIcon == "string" ? (n(), a(c(f), {
|
|
129
128
|
key: 0,
|
|
130
|
-
name:
|
|
131
|
-
}, null, 8, ["name"])) :
|
|
129
|
+
name: o.rightIcon
|
|
130
|
+
}, null, 8, ["name"])) : o.rightIcon ? (n(), a(r(o.rightIcon), { key: 1 })) : t("v-if", !0)
|
|
132
131
|
], !0)
|
|
133
132
|
],
|
|
134
133
|
2
|
|
@@ -138,14 +137,14 @@ const P = /* @__PURE__ */ E({
|
|
|
138
137
|
key: 4,
|
|
139
138
|
class: "m-btn-loader",
|
|
140
139
|
size: "2em",
|
|
141
|
-
color:
|
|
140
|
+
color: o.color
|
|
142
141
|
}, null, 8, ["color"])) : t("v-if", !0)
|
|
143
142
|
]),
|
|
144
143
|
_: 3
|
|
145
144
|
/* FORWARDED */
|
|
146
145
|
}, 8, ["disabled", "class", "type"]));
|
|
147
146
|
}
|
|
148
|
-
}), V = /* @__PURE__ */ L(P, [["__scopeId", "data-v-
|
|
147
|
+
}), V = /* @__PURE__ */ L(P, [["__scopeId", "data-v-48f14785"]]);
|
|
149
148
|
export {
|
|
150
149
|
V as default
|
|
151
150
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),C=require("./index-tnjajVkX.cjs"),T=["innerHTML"],b=t.defineComponent({__name:"MazIcon",props:{src:{type:String,default:void 0},path:{type:String,default:void 0},name:{type:String,default:void 0},size:{type:String,default:void 0},title:{type:String,default:void 0},transformSource:{type:Function,default:s=>s}},emits:["loaded","unloaded","error"],setup(s,{emit:v}){const l=s,d=v,a={},i=t.ref(),m=t.ref();function g(){try{return C.injectStrict("mazIconPath")}catch{return}}const f=t.computed(()=>l.path??g()),p=t.computed(()=>l.src?l.src:f.value?`${f.value}/${l.name}.svg`:`/${l.name}.svg`);t.onMounted(()=>{!l.name&&!l.src&&console.error('[maz-ui](MazIcon) you should provide "name" or "src" as prop')});function h(e,r){const n=e.querySelectorAll("title");if(n.length>0)n[0].textContent=r;else{const o=document.createElementNS("http://www.w3.org/2000/svg","title");o.textContent=r,e.append(o)}}function S(e){return Object.keys(e).reduce((r,n)=>(e[n]!==!1&&e[n]!==null&&e[n]!==void 0&&(r[n]=e[n]),r),{})}function y(e){const r={},n=e.attributes;if(!n)return r;for(let o=n.length-1;o>=0;o--)r[n[o].name]=n[o].value;return r}function w(e){let r=e.cloneNode(!0);return r=l.transformSource(e),l.title&&h(r,l.title),e.innerHTML}async function E(e){a[e]||(a[e]=M(e));try{i.value=await a[e],await t.nextTick(),d("loaded",m.value)}catch(r){i.value&&(i.value=void 0,d("unloaded")),delete a[e],d("error",r)}}function M(e){return new Promise((r,n)=>{const o=new XMLHttpRequest;o.open("GET",e,!0),o.addEventListener("load",()=>{if(o.status>=200&&o.status<400)try{let c=new DOMParser().parseFromString(o.responseText,"text/xml").querySelectorAll("svg")[0];c?(c=l.transformSource(c),r(c)):n(new Error('Loaded file is not valid SVG"'))}catch(u){n(u)}else n(new Error("Error loading SVG"))}),o.addEventListener("error",u=>n(u)),o.send()})}return t.watchEffect(()=>E(p.value)),(e,r)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createCommentVNode(" eslint-disable vue/no-v-html "),t.createCommentVNode(" eslint-disable vue/html-self-closing "),i.value?(t.openBlock(),t.createElementBlock("svg",t.mergeProps({key:0,ref_key:"svgElem",ref:m,width:"1em",height:"1em"},{...y(i.value),...S(e.$attrs)},{style:`font-size: ${s.size}`,innerHTML:w(i.value)}),null,16,T)):t.createCommentVNode("v-if",!0),t.createCommentVNode(" eslint-enable vue/no-v-html "),t.createCommentVNode(" eslint-enable vue/html-self-closing ")],2112))}});exports.default=b;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as b, ref as
|
|
2
|
-
import { i as q } from "./
|
|
1
|
+
import { defineComponent as b, ref as v, computed as g, onMounted as P, watchEffect as _, openBlock as p, createElementBlock as h, Fragment as A, createCommentVNode as i, mergeProps as C, nextTick as $ } from "vue";
|
|
2
|
+
import { i as q } from "./index-Cwbjspv3.mjs";
|
|
3
3
|
const H = ["innerHTML"], G = /* @__PURE__ */ b({
|
|
4
4
|
__name: "MazIcon",
|
|
5
5
|
props: {
|
|
@@ -16,22 +16,24 @@ const H = ["innerHTML"], G = /* @__PURE__ */ b({
|
|
|
16
16
|
/** The function to transform the source of the SVG file - e.g: `(svg) => svg` */
|
|
17
17
|
transformSource: {
|
|
18
18
|
type: Function,
|
|
19
|
-
default: (
|
|
19
|
+
default: (s) => s
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
emits: ["loaded", "unloaded", "error"],
|
|
23
|
-
setup(
|
|
24
|
-
const
|
|
23
|
+
setup(s, { emit: S }) {
|
|
24
|
+
const o = s, d = S, a = {}, l = v(), f = v();
|
|
25
|
+
function w() {
|
|
25
26
|
try {
|
|
26
27
|
return q("mazIconPath");
|
|
27
28
|
} catch {
|
|
28
29
|
return;
|
|
29
30
|
}
|
|
30
|
-
}
|
|
31
|
+
}
|
|
32
|
+
const m = g(() => o.path ?? w()), y = g(() => o.src ? o.src : m.value ? `${m.value}/${o.name}.svg` : `/${o.name}.svg`);
|
|
31
33
|
P(() => {
|
|
32
34
|
!o.name && !o.src && console.error('[maz-ui](MazIcon) you should provide "name" or "src" as prop');
|
|
33
35
|
});
|
|
34
|
-
|
|
36
|
+
function E(e, n) {
|
|
35
37
|
const t = e.querySelectorAll("title");
|
|
36
38
|
if (t.length > 0)
|
|
37
39
|
t[0].textContent = n;
|
|
@@ -39,58 +41,67 @@ const H = ["innerHTML"], G = /* @__PURE__ */ b({
|
|
|
39
41
|
const r = document.createElementNS("http://www.w3.org/2000/svg", "title");
|
|
40
42
|
r.textContent = n, e.append(r);
|
|
41
43
|
}
|
|
42
|
-
}
|
|
44
|
+
}
|
|
45
|
+
function M(e) {
|
|
46
|
+
return Object.keys(e).reduce((n, t) => (e[t] !== !1 && e[t] !== null && e[t] !== void 0 && (n[t] = e[t]), n), {});
|
|
47
|
+
}
|
|
48
|
+
function z(e) {
|
|
43
49
|
const n = {}, t = e.attributes;
|
|
44
50
|
if (!t)
|
|
45
51
|
return n;
|
|
46
52
|
for (let r = t.length - 1; r >= 0; r--)
|
|
47
53
|
n[t[r].name] = t[r].value;
|
|
48
54
|
return n;
|
|
49
|
-
}
|
|
55
|
+
}
|
|
56
|
+
function T(e) {
|
|
50
57
|
let n = e.cloneNode(!0);
|
|
51
58
|
return n = o.transformSource(e), o.title && E(n, o.title), e.innerHTML;
|
|
52
|
-
}
|
|
53
|
-
|
|
59
|
+
}
|
|
60
|
+
async function x(e) {
|
|
61
|
+
a[e] || (a[e] = L(e));
|
|
54
62
|
try {
|
|
55
|
-
l.value = await
|
|
63
|
+
l.value = await a[e], await $(), d("loaded", f.value);
|
|
56
64
|
} catch (n) {
|
|
57
|
-
l.value && (l.value = void 0,
|
|
65
|
+
l.value && (l.value = void 0, d("unloaded")), delete a[e], d("error", n);
|
|
58
66
|
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
67
|
+
}
|
|
68
|
+
function L(e) {
|
|
69
|
+
return new Promise((n, t) => {
|
|
70
|
+
const r = new XMLHttpRequest();
|
|
71
|
+
r.open("GET", e, !0), r.addEventListener("load", () => {
|
|
72
|
+
if (r.status >= 200 && r.status < 400)
|
|
73
|
+
try {
|
|
74
|
+
let c = new DOMParser().parseFromString(r.responseText, "text/xml").querySelectorAll("svg")[0];
|
|
75
|
+
c ? (c = o.transformSource(c), n(c)) : t(new Error('Loaded file is not valid SVG"'));
|
|
76
|
+
} catch (u) {
|
|
77
|
+
t(u);
|
|
78
|
+
}
|
|
79
|
+
else
|
|
80
|
+
t(new Error("Error loading SVG"));
|
|
81
|
+
}), r.addEventListener("error", (u) => t(u)), r.send();
|
|
82
|
+
});
|
|
83
|
+
}
|
|
73
84
|
return _(() => x(y.value)), (e, n) => (p(), h(
|
|
74
85
|
A,
|
|
75
86
|
null,
|
|
76
87
|
[
|
|
77
|
-
|
|
78
|
-
|
|
88
|
+
i(" eslint-disable vue/no-v-html "),
|
|
89
|
+
i(" eslint-disable vue/html-self-closing "),
|
|
79
90
|
l.value ? (p(), h("svg", C({
|
|
80
91
|
key: 0,
|
|
81
92
|
ref_key: "svgElem",
|
|
82
|
-
ref:
|
|
93
|
+
ref: f,
|
|
83
94
|
width: "1em",
|
|
84
95
|
height: "1em"
|
|
85
96
|
}, {
|
|
86
97
|
...z(l.value),
|
|
87
98
|
...M(e.$attrs)
|
|
88
99
|
}, {
|
|
89
|
-
style: `font-size: ${
|
|
100
|
+
style: `font-size: ${s.size}`,
|
|
90
101
|
innerHTML: T(l.value)
|
|
91
|
-
}), null, 16, H)) :
|
|
92
|
-
|
|
93
|
-
|
|
102
|
+
}), null, 16, H)) : i("v-if", !0),
|
|
103
|
+
i(" eslint-enable vue/no-v-html "),
|
|
104
|
+
i(" eslint-enable vue/html-self-closing ")
|
|
94
105
|
],
|
|
95
106
|
2112
|
|
96
107
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../assets/MazSpinner.css');const t=require("vue"),n=require("./index-tnjajVkX.cjs"),o=e=>(t.pushScopeId("data-v-c16a57a3"),e=e(),t.popScopeId(),e),c=["width","height"],s=o(()=>t.createElementVNode("path",{d:"M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z"},null,-1)),r=[s],i=t.defineComponent({__name:"MazSpinner",props:{size:{type:String,default:"2em"},color:{type:String,default:"primary"}},setup(e){return(p,d)=>(t.openBlock(),t.createElementBlock("svg",{width:e.size,height:e.size,version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 50 50","xml:space":"preserve",class:t.normalizeClass(["m-spinner",`m-spinner--${e.color}`]),style:{"enable-background":"new 0 0 50 50"}},r,10,c))}}),a=n._export_sfc(i,[["__scopeId","data-v-c16a57a3"]]);exports.default=a;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { defineComponent as t, openBlock as o, createElementBlock as n, normalizeClass as s, pushScopeId as c, popScopeId as a, createElementVNode as r } from "vue";
|
|
2
|
+
import { _ as i } from "./index-Cwbjspv3.mjs";
|
|
3
|
+
import '../assets/MazSpinner.css';const p = (e) => (c("data-v-c16a57a3"), e = e(), a(), e), d = ["width", "height"], l = /* @__PURE__ */ p(() => /* @__PURE__ */ r(
|
|
4
|
+
"path",
|
|
5
|
+
{ d: "M43.935,25.145c0-10.318-8.364-18.683-18.683-18.683c-10.318,0-18.683,8.365-18.683,18.683h4.068c0-8.071,6.543-14.615,14.615-14.615c8.072,0,14.615,6.543,14.615,14.615H43.935z" },
|
|
6
|
+
null,
|
|
7
|
+
-1
|
|
8
|
+
/* HOISTED */
|
|
9
|
+
)), m = [
|
|
10
|
+
l
|
|
11
|
+
], h = /* @__PURE__ */ t({
|
|
12
|
+
__name: "MazSpinner",
|
|
13
|
+
props: {
|
|
14
|
+
size: { type: String, default: "2em" },
|
|
15
|
+
color: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: "primary"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
setup(e) {
|
|
21
|
+
return (_, u) => (o(), n("svg", {
|
|
22
|
+
width: e.size,
|
|
23
|
+
height: e.size,
|
|
24
|
+
version: "1.1",
|
|
25
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
26
|
+
x: "0px",
|
|
27
|
+
y: "0px",
|
|
28
|
+
viewBox: "0 0 50 50",
|
|
29
|
+
"xml:space": "preserve",
|
|
30
|
+
class: s(["m-spinner", `m-spinner--${e.color}`]),
|
|
31
|
+
style: { "enable-background": "new 0 0 50 50" }
|
|
32
|
+
}, m, 10, d));
|
|
33
|
+
}
|
|
34
|
+
}), f = /* @__PURE__ */ i(h, [["__scopeId", "data-v-c16a57a3"]]);
|
|
35
|
+
export {
|
|
36
|
+
f as default
|
|
37
|
+
};
|