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
|
@@ -0,0 +1,847 @@
|
|
|
1
|
+
import { getCurrentInstance as Me, computed as f, defineComponent as he, defineAsyncComponent as K, ref as V, onMounted as Le, useSlots as Te, openBlock as m, createElementBlock as k, normalizeClass as H, normalizeStyle as Y, createElementVNode as L, createCommentVNode as v, renderSlot as q, createBlock as S, unref as g, resolveDynamicComponent as me, withDirectives as be, mergeProps as ge, toHandlers as Ee, vModelDynamic as De, createTextVNode as Ne, toDisplayString as re, withModifiers as P, withCtx as x, createVNode as F, useCssVars as Oe, onBeforeMount as Pe, nextTick as se, Transition as Fe, Fragment as ve, renderList as He } from "vue";
|
|
2
|
+
import '../assets/MazSelect.css';function ze({
|
|
3
|
+
componentName: u,
|
|
4
|
+
providedId: r
|
|
5
|
+
}) {
|
|
6
|
+
const o = Me();
|
|
7
|
+
return f(() => r ?? `${u}-${o == null ? void 0 : o.uid}`);
|
|
8
|
+
}
|
|
9
|
+
let ie = null;
|
|
10
|
+
function qe(u, r) {
|
|
11
|
+
ie && clearTimeout(ie), ie = setTimeout(u, r);
|
|
12
|
+
}
|
|
13
|
+
const Ue = {
|
|
14
|
+
removeAccents: !0,
|
|
15
|
+
caseSensitive: !1,
|
|
16
|
+
replaceSpaces: !0,
|
|
17
|
+
removeSpecialCharacters: !1,
|
|
18
|
+
trim: !0,
|
|
19
|
+
normalizeSpaces: !0,
|
|
20
|
+
removeNumbers: !1,
|
|
21
|
+
customNormalizationForms: ["NFC", "NFKD"]
|
|
22
|
+
};
|
|
23
|
+
function _(u, r) {
|
|
24
|
+
const o = { ...Ue, ...r }, t = {
|
|
25
|
+
À: "A",
|
|
26
|
+
Á: "A",
|
|
27
|
+
Â: "A",
|
|
28
|
+
Ã: "A",
|
|
29
|
+
Ä: "A",
|
|
30
|
+
Å: "A",
|
|
31
|
+
à: "a",
|
|
32
|
+
á: "a",
|
|
33
|
+
â: "a",
|
|
34
|
+
ã: "a",
|
|
35
|
+
ä: "a",
|
|
36
|
+
å: "a",
|
|
37
|
+
È: "E",
|
|
38
|
+
É: "E",
|
|
39
|
+
Ê: "E",
|
|
40
|
+
Ë: "E",
|
|
41
|
+
è: "e",
|
|
42
|
+
é: "e",
|
|
43
|
+
ê: "e",
|
|
44
|
+
ë: "e",
|
|
45
|
+
Î: "I",
|
|
46
|
+
Ï: "I",
|
|
47
|
+
í: "I",
|
|
48
|
+
î: "i",
|
|
49
|
+
ï: "i",
|
|
50
|
+
Ô: "O",
|
|
51
|
+
Õ: "O",
|
|
52
|
+
Ö: "O",
|
|
53
|
+
Ø: "O",
|
|
54
|
+
ô: "o",
|
|
55
|
+
õ: "o",
|
|
56
|
+
ö: "o",
|
|
57
|
+
ø: "o",
|
|
58
|
+
Ù: "U",
|
|
59
|
+
Ú: "U",
|
|
60
|
+
Û: "U",
|
|
61
|
+
Ü: "U",
|
|
62
|
+
ù: "u",
|
|
63
|
+
ú: "u",
|
|
64
|
+
û: "u",
|
|
65
|
+
ü: "u",
|
|
66
|
+
Ç: "C",
|
|
67
|
+
ç: "c",
|
|
68
|
+
ÿ: "y",
|
|
69
|
+
Ñ: "N",
|
|
70
|
+
ñ: "n",
|
|
71
|
+
ó: "o"
|
|
72
|
+
};
|
|
73
|
+
let i = u.toString();
|
|
74
|
+
if (o.trim && (i = i.trim()), o.normalizeSpaces && (i = i.replaceAll(/\s+/g, " ")), o.replaceSpaces && (i = i.replaceAll(" ", "-")), o.removeNumbers && (i = i.replaceAll(/\d/g, "")), o.removeAccents && (i = i.replaceAll(/[ÀÁÂÃÄÅÇÈÉÊËÎÏÑÔÕÖØÙÚÛÜàáâãäåçèéêëíîïñóôõöøùúûüÿ]/g, (c) => t[c] || c), i = i.replaceAll(/[\u0300-\u036F]/g, "")), o.caseSensitive === !1 && (i = i.toLowerCase()), o.removeSpecialCharacters && (i = i.replaceAll(/[^\dA-Z-]/gi, "")), o.trim && (i = i.trim()), o.customNormalizationForms)
|
|
75
|
+
for (const c of o.customNormalizationForms)
|
|
76
|
+
i = i.normalize(c);
|
|
77
|
+
return i;
|
|
78
|
+
}
|
|
79
|
+
function je(u, r) {
|
|
80
|
+
const o = u.length, t = r.length, i = [];
|
|
81
|
+
for (let c = 0; c <= o; c++)
|
|
82
|
+
i[c] = [c];
|
|
83
|
+
for (let c = 0; c <= t; c++)
|
|
84
|
+
i[0][c] = c;
|
|
85
|
+
for (let c = 1; c <= o; c++)
|
|
86
|
+
for (let h = 1; h <= t; h++) {
|
|
87
|
+
const A = u[c - 1] === r[h - 1] ? 0 : 1;
|
|
88
|
+
i[c][h] = Math.min(
|
|
89
|
+
i[c - 1][h] + 1,
|
|
90
|
+
i[c][h - 1] + 1,
|
|
91
|
+
i[c - 1][h - 1] + A
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
return i[o][t];
|
|
95
|
+
}
|
|
96
|
+
function Ve(u, r) {
|
|
97
|
+
const o = je(u, r), t = Math.max(u.length, r.length);
|
|
98
|
+
return 1 - o / t;
|
|
99
|
+
}
|
|
100
|
+
function Re(u, r, o = 0.75) {
|
|
101
|
+
return Ve(u, r) >= o;
|
|
102
|
+
}
|
|
103
|
+
function ue(u, r, o = 0.75) {
|
|
104
|
+
const t = f(
|
|
105
|
+
() => _(typeof u == "string" ? u : u.value)
|
|
106
|
+
), i = f(
|
|
107
|
+
() => _(typeof r == "string" ? r : r.value)
|
|
108
|
+
), c = f(() => typeof o == "number" ? o : o.value), h = f(() => Ve(t.value, i.value));
|
|
109
|
+
return {
|
|
110
|
+
isMatching: f(
|
|
111
|
+
() => Re(t.value, i.value, c.value)
|
|
112
|
+
),
|
|
113
|
+
score: h
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
function ke(u, r, o) {
|
|
117
|
+
var h;
|
|
118
|
+
u.stopPropagation();
|
|
119
|
+
const t = typeof o.value == "function" ? o.value : o.value.handler, i = typeof o.value == "object" ? o.value.exclude : void 0;
|
|
120
|
+
let c = !1;
|
|
121
|
+
if (i && i.length > 0) {
|
|
122
|
+
for (const A of i)
|
|
123
|
+
if (!c && u.target instanceof HTMLElement) {
|
|
124
|
+
const U = (h = document.querySelector(A)) == null ? void 0 : h.getAttribute("id");
|
|
125
|
+
c = u.target.getAttribute("id") === U;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
!r.contains(u.target) && !c && (t == null || t());
|
|
129
|
+
}
|
|
130
|
+
function Ie() {
|
|
131
|
+
return document.ontouchstart === null ? "touchstart" : "click";
|
|
132
|
+
}
|
|
133
|
+
function We(u, r) {
|
|
134
|
+
const o = Ie();
|
|
135
|
+
document.removeEventListener(o, (t) => ke(t, u, r));
|
|
136
|
+
}
|
|
137
|
+
function Qe(u, r) {
|
|
138
|
+
if (typeof r.value != "function" && typeof r.value == "object" && typeof r.value.handler != "function") {
|
|
139
|
+
console.error("[maz-ui](vClosable) v-closable directive requires a handler function");
|
|
140
|
+
return;
|
|
141
|
+
}
|
|
142
|
+
const o = Ie();
|
|
143
|
+
document.addEventListener(o, (t) => ke(t, u, r));
|
|
144
|
+
}
|
|
145
|
+
const Ge = {
|
|
146
|
+
mounted: Qe,
|
|
147
|
+
unmounted: We
|
|
148
|
+
}, we = (u, r) => {
|
|
149
|
+
const o = u.__vccOpts || u;
|
|
150
|
+
for (const [t, i] of r)
|
|
151
|
+
o[t] = i;
|
|
152
|
+
return o;
|
|
153
|
+
};
|
|
154
|
+
function Ze(u, r) {
|
|
155
|
+
let o;
|
|
156
|
+
return function(...t) {
|
|
157
|
+
clearTimeout(o), o = setTimeout(() => {
|
|
158
|
+
u.apply(this, t);
|
|
159
|
+
}, r);
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
const Je = {
|
|
163
|
+
key: 0,
|
|
164
|
+
class: "m-input-wrapper-left"
|
|
165
|
+
}, Xe = { class: "m-input-wrapper-input" }, Ye = ["id", "type", "name", "inputmode", "placeholder", "aria-label", "disabled", "readonly", "required"], xe = { key: 0 }, _e = {
|
|
166
|
+
key: 1,
|
|
167
|
+
class: "m-input-wrapper-right"
|
|
168
|
+
}, et = /* @__PURE__ */ he({
|
|
169
|
+
inheritAttrs: !1,
|
|
170
|
+
__name: "MazInput",
|
|
171
|
+
props: {
|
|
172
|
+
style: { default: void 0 },
|
|
173
|
+
class: { default: void 0 },
|
|
174
|
+
modelValue: { default: void 0 },
|
|
175
|
+
placeholder: { default: void 0 },
|
|
176
|
+
label: { default: void 0 },
|
|
177
|
+
name: { default: void 0 },
|
|
178
|
+
color: { default: "primary" },
|
|
179
|
+
type: { default: "text" },
|
|
180
|
+
required: { type: Boolean, default: !1 },
|
|
181
|
+
disabled: { type: Boolean, default: !1 },
|
|
182
|
+
readonly: { type: Boolean, default: !1 },
|
|
183
|
+
id: { default: void 0 },
|
|
184
|
+
error: { type: Boolean, default: !1 },
|
|
185
|
+
success: { type: Boolean, default: !1 },
|
|
186
|
+
warning: { type: Boolean, default: !1 },
|
|
187
|
+
hint: { default: void 0 },
|
|
188
|
+
inputClasses: { default: void 0 },
|
|
189
|
+
noBorder: { type: Boolean, default: !1 },
|
|
190
|
+
noRadius: { type: Boolean, default: !1 },
|
|
191
|
+
inputmode: { default: "text" },
|
|
192
|
+
size: { default: "md" },
|
|
193
|
+
debounce: { type: [Boolean, Number], default: !1 },
|
|
194
|
+
debounceDelay: { default: 500 },
|
|
195
|
+
validButton: { type: Boolean, default: !1 },
|
|
196
|
+
validButtonLoading: { type: Boolean, default: !1 },
|
|
197
|
+
autoFocus: { type: Boolean, default: !1 },
|
|
198
|
+
borderActive: { type: Boolean, default: !1 },
|
|
199
|
+
leftIcon: { default: void 0 },
|
|
200
|
+
rightIcon: { default: void 0 },
|
|
201
|
+
roundedSize: { default: void 0 },
|
|
202
|
+
block: { type: Boolean }
|
|
203
|
+
},
|
|
204
|
+
emits: ["update:model-value", "focus", "blur", "click", "change"],
|
|
205
|
+
setup(u, { emit: r }) {
|
|
206
|
+
const o = u, t = r, i = K(() => import("./MazBtn-5BSKOcqG.mjs")), c = K(() => import("./MazIcon-BDGxCy9M.mjs")), h = K(() => import("./eye-slash-tjfxO0LK.mjs")), A = K(() => import("./eye-DqO_Jx56.mjs")), U = K(() => import("./check-7UA4j2f2.mjs")), z = V(!1), p = V(!1), T = V(), ee = ze({
|
|
207
|
+
componentName: "MazInput",
|
|
208
|
+
providedId: o.id
|
|
209
|
+
});
|
|
210
|
+
Le(() => {
|
|
211
|
+
var l;
|
|
212
|
+
o.autoFocus && ((l = T.value) == null || l.focus());
|
|
213
|
+
});
|
|
214
|
+
const W = f(() => o.type === "password"), te = f(() => z.value ? "text" : o.type), I = f(() => {
|
|
215
|
+
if (!o.noBorder) {
|
|
216
|
+
if (o.error)
|
|
217
|
+
return "maz-border-danger";
|
|
218
|
+
if (o.success)
|
|
219
|
+
return "maz-border-success";
|
|
220
|
+
if (o.warning)
|
|
221
|
+
return "maz-border-warning";
|
|
222
|
+
if (p.value || o.borderActive) {
|
|
223
|
+
if (o.color === "black")
|
|
224
|
+
return "maz-border-black";
|
|
225
|
+
if (o.color === "danger")
|
|
226
|
+
return "maz-border-danger";
|
|
227
|
+
if (o.color === "info")
|
|
228
|
+
return "maz-border-info";
|
|
229
|
+
if (o.color === "primary")
|
|
230
|
+
return "maz-border-primary";
|
|
231
|
+
if (o.color === "secondary")
|
|
232
|
+
return "maz-border-secondary";
|
|
233
|
+
if (o.color === "success")
|
|
234
|
+
return "maz-border-success";
|
|
235
|
+
if (o.color === "warning")
|
|
236
|
+
return "maz-border-warning";
|
|
237
|
+
if (o.color === "white")
|
|
238
|
+
return "maz-border-white";
|
|
239
|
+
}
|
|
240
|
+
return "--default-border";
|
|
241
|
+
}
|
|
242
|
+
}), j = Te(), Q = f(() => {
|
|
243
|
+
const { required: l, placeholder: y } = o;
|
|
244
|
+
if (y)
|
|
245
|
+
return l ? `${y} *` : y;
|
|
246
|
+
}), G = f(() => M.value !== void 0 && M.value !== ""), B = Ze(
|
|
247
|
+
(l) => {
|
|
248
|
+
t("update:model-value", l);
|
|
249
|
+
},
|
|
250
|
+
typeof o.debounce == "number" ? o.debounce : o.debounceDelay ?? 500
|
|
251
|
+
);
|
|
252
|
+
function E(l) {
|
|
253
|
+
if (o.debounce)
|
|
254
|
+
return B(l);
|
|
255
|
+
t("update:model-value", l);
|
|
256
|
+
}
|
|
257
|
+
const M = f({
|
|
258
|
+
get: () => o.modelValue,
|
|
259
|
+
set: (l) => E(l)
|
|
260
|
+
}), Z = f(() => (!!o.label || !!o.hint) && (p.value || !!G.value || !!o.placeholder || ["date", "month", "week"].includes(o.type))), J = f(() => !!o.label || !!o.hint);
|
|
261
|
+
function X() {
|
|
262
|
+
return !!j["right-icon"] || W.value || !!j["valid-button"] || o.validButton || !!o.rightIcon;
|
|
263
|
+
}
|
|
264
|
+
function C() {
|
|
265
|
+
return !!j["left-icon"] || !!o.leftIcon;
|
|
266
|
+
}
|
|
267
|
+
function R(l) {
|
|
268
|
+
t("focus", l), p.value = !0;
|
|
269
|
+
}
|
|
270
|
+
function oe(l) {
|
|
271
|
+
t("blur", l), p.value = !1;
|
|
272
|
+
}
|
|
273
|
+
function le(l) {
|
|
274
|
+
return t("change", l);
|
|
275
|
+
}
|
|
276
|
+
return (l, y) => (m(), k(
|
|
277
|
+
"div",
|
|
278
|
+
{
|
|
279
|
+
class: H(["m-input", [
|
|
280
|
+
{
|
|
281
|
+
"--is-focused": p.value || l.borderActive,
|
|
282
|
+
"--should-up": Z.value,
|
|
283
|
+
"--has-label": J.value,
|
|
284
|
+
"--is-disabled": l.disabled,
|
|
285
|
+
"--is-readonly": l.readonly,
|
|
286
|
+
"--has-z-2": l.error || l.warning || l.success,
|
|
287
|
+
"--has-state": l.error || l.warning || l.success,
|
|
288
|
+
"--block": l.block
|
|
289
|
+
},
|
|
290
|
+
o.class,
|
|
291
|
+
`--${l.color}`,
|
|
292
|
+
`--${l.size}`
|
|
293
|
+
]]),
|
|
294
|
+
style: Y(l.style)
|
|
295
|
+
},
|
|
296
|
+
[
|
|
297
|
+
L(
|
|
298
|
+
"div",
|
|
299
|
+
{
|
|
300
|
+
class: H(["m-input-wrapper", [
|
|
301
|
+
l.inputClasses,
|
|
302
|
+
I.value,
|
|
303
|
+
l.roundedSize ? `--rounded-${l.roundedSize}` : { "maz-rounded": !l.noRadius }
|
|
304
|
+
]])
|
|
305
|
+
},
|
|
306
|
+
[
|
|
307
|
+
C() ? (m(), k("div", Je, [
|
|
308
|
+
v(`
|
|
309
|
+
@slot left-icon - The icon to display on the left of the input
|
|
310
|
+
`),
|
|
311
|
+
l.$slots["left-icon"] || l.leftIcon ? q(l.$slots, "left-icon", { key: 0 }, () => [
|
|
312
|
+
typeof l.leftIcon == "string" ? (m(), S(g(c), {
|
|
313
|
+
key: 0,
|
|
314
|
+
name: l.leftIcon,
|
|
315
|
+
class: "maz-text-xl maz-text-muted"
|
|
316
|
+
}, null, 8, ["name"])) : l.leftIcon ? (m(), S(me(l.leftIcon), {
|
|
317
|
+
key: 1,
|
|
318
|
+
class: "maz-text-xl maz-text-muted"
|
|
319
|
+
})) : v("v-if", !0)
|
|
320
|
+
], !0) : v("v-if", !0)
|
|
321
|
+
])) : v("v-if", !0),
|
|
322
|
+
L("div", Xe, [
|
|
323
|
+
be(L("input", ge({
|
|
324
|
+
id: g(ee),
|
|
325
|
+
ref_key: "input",
|
|
326
|
+
ref: T,
|
|
327
|
+
"onUpdate:modelValue": y[0] || (y[0] = ($) => M.value = $),
|
|
328
|
+
type: te.value,
|
|
329
|
+
name: l.name
|
|
330
|
+
}, l.$attrs, {
|
|
331
|
+
inputmode: l.inputmode,
|
|
332
|
+
placeholder: Q.value,
|
|
333
|
+
"aria-label": l.label || l.placeholder,
|
|
334
|
+
disabled: l.disabled,
|
|
335
|
+
readonly: l.readonly,
|
|
336
|
+
required: l.required,
|
|
337
|
+
class: "m-input-input"
|
|
338
|
+
}, Ee({
|
|
339
|
+
blur: oe,
|
|
340
|
+
focus: R,
|
|
341
|
+
change: le
|
|
342
|
+
}, !0), {
|
|
343
|
+
onClick: y[1] || (y[1] = ($) => l.$emit("click", $))
|
|
344
|
+
}), null, 16, Ye), [
|
|
345
|
+
[De, M.value]
|
|
346
|
+
]),
|
|
347
|
+
l.label || l.hint ? (m(), k(
|
|
348
|
+
"span",
|
|
349
|
+
{
|
|
350
|
+
key: 0,
|
|
351
|
+
class: H(["m-input-label", [
|
|
352
|
+
{
|
|
353
|
+
"maz-text-danger-600": l.error,
|
|
354
|
+
"maz-text-success-600": l.success,
|
|
355
|
+
"maz-text-warning-600": l.warning
|
|
356
|
+
}
|
|
357
|
+
]])
|
|
358
|
+
},
|
|
359
|
+
[
|
|
360
|
+
Ne(
|
|
361
|
+
re(l.hint || l.label) + " ",
|
|
362
|
+
1
|
|
363
|
+
/* TEXT */
|
|
364
|
+
),
|
|
365
|
+
l.required ? (m(), k("sup", xe, "*")) : v("v-if", !0)
|
|
366
|
+
],
|
|
367
|
+
2
|
|
368
|
+
/* CLASS */
|
|
369
|
+
)) : v("v-if", !0)
|
|
370
|
+
]),
|
|
371
|
+
X() ? (m(), k("div", _e, [
|
|
372
|
+
v(`
|
|
373
|
+
@slot right-icon - The icon to display on the right of the input
|
|
374
|
+
`),
|
|
375
|
+
l.$slots["right-icon"] || l.rightIcon ? q(l.$slots, "right-icon", { key: 0 }, () => [
|
|
376
|
+
typeof l.rightIcon == "string" ? (m(), S(g(c), {
|
|
377
|
+
key: 0,
|
|
378
|
+
name: l.rightIcon,
|
|
379
|
+
class: "maz-text-xl maz-text-muted"
|
|
380
|
+
}, null, 8, ["name"])) : l.rightIcon ? (m(), S(me(l.rightIcon), {
|
|
381
|
+
key: 1,
|
|
382
|
+
class: "maz-text-xl maz-text-muted"
|
|
383
|
+
})) : v("v-if", !0)
|
|
384
|
+
], !0) : v("v-if", !0),
|
|
385
|
+
W.value ? (m(), S(g(i), {
|
|
386
|
+
key: 1,
|
|
387
|
+
color: "transparent",
|
|
388
|
+
tabindex: "-1",
|
|
389
|
+
size: "mini",
|
|
390
|
+
onClick: y[2] || (y[2] = P(($) => z.value = !z.value, ["stop"]))
|
|
391
|
+
}, {
|
|
392
|
+
default: x(() => [
|
|
393
|
+
z.value ? (m(), S(g(h), {
|
|
394
|
+
key: 0,
|
|
395
|
+
class: "maz-text-xl maz-text-muted"
|
|
396
|
+
})) : (m(), S(g(A), {
|
|
397
|
+
key: 1,
|
|
398
|
+
class: "maz-text-xl maz-text-muted"
|
|
399
|
+
}))
|
|
400
|
+
]),
|
|
401
|
+
_: 1
|
|
402
|
+
/* STABLE */
|
|
403
|
+
})) : v("v-if", !0),
|
|
404
|
+
v(`
|
|
405
|
+
@slot valid-button - Replace the valid button by your own
|
|
406
|
+
`),
|
|
407
|
+
l.$slots["valid-button"] || l.validButton ? q(l.$slots, "valid-button", { key: 2 }, () => [
|
|
408
|
+
F(g(i), {
|
|
409
|
+
color: "transparent",
|
|
410
|
+
disabled: l.disabled,
|
|
411
|
+
tabindex: "-1",
|
|
412
|
+
loading: l.validButtonLoading,
|
|
413
|
+
class: "m-input-valid-button",
|
|
414
|
+
size: "mini",
|
|
415
|
+
type: "submit"
|
|
416
|
+
}, {
|
|
417
|
+
default: x(() => [
|
|
418
|
+
F(g(U), { class: "maz-text-2xl maz-text-normal" })
|
|
419
|
+
]),
|
|
420
|
+
_: 1
|
|
421
|
+
/* STABLE */
|
|
422
|
+
}, 8, ["disabled", "loading"])
|
|
423
|
+
], !0) : v("v-if", !0)
|
|
424
|
+
])) : v("v-if", !0)
|
|
425
|
+
],
|
|
426
|
+
2
|
|
427
|
+
/* CLASS */
|
|
428
|
+
)
|
|
429
|
+
],
|
|
430
|
+
6
|
|
431
|
+
/* CLASS, STYLE */
|
|
432
|
+
));
|
|
433
|
+
}
|
|
434
|
+
}), ye = /* @__PURE__ */ we(et, [["__scopeId", "data-v-e9affc48"]]), tt = ["aria-label"], ot = { class: "m-select-list__no-results" }, lt = {
|
|
435
|
+
key: 2,
|
|
436
|
+
class: "m-select-list__scroll-wrapper",
|
|
437
|
+
tabindex: "-1"
|
|
438
|
+
}, at = { class: "m-select-list-optgroup" }, nt = ["onClick"], st = /* @__PURE__ */ he({
|
|
439
|
+
inheritAttrs: !1,
|
|
440
|
+
__name: "MazSelect",
|
|
441
|
+
props: {
|
|
442
|
+
style: { default: void 0 },
|
|
443
|
+
class: { default: void 0 },
|
|
444
|
+
id: { default: void 0 },
|
|
445
|
+
modelValue: { default: void 0 },
|
|
446
|
+
options: { default: void 0 },
|
|
447
|
+
optionValueKey: { default: "value" },
|
|
448
|
+
optionLabelKey: { default: "label" },
|
|
449
|
+
optionInputValueKey: { default: "label" },
|
|
450
|
+
listPosition: { default: "bottom left" },
|
|
451
|
+
itemHeight: { default: void 0 },
|
|
452
|
+
maxListHeight: { default: 240 },
|
|
453
|
+
maxListWidth: { default: void 0 },
|
|
454
|
+
size: { default: "md" },
|
|
455
|
+
color: { default: "primary" },
|
|
456
|
+
search: { type: Boolean },
|
|
457
|
+
searchPlaceholder: { default: "Search in options" },
|
|
458
|
+
open: { type: Boolean },
|
|
459
|
+
multiple: { type: Boolean, default: void 0 },
|
|
460
|
+
required: { type: Boolean },
|
|
461
|
+
disabled: { type: Boolean },
|
|
462
|
+
block: { type: Boolean },
|
|
463
|
+
excludeSelectors: { default: void 0 }
|
|
464
|
+
},
|
|
465
|
+
emits: ["close", "open", "blur", "focus", "change", "update:model-value", "selected-option"],
|
|
466
|
+
setup(u, { expose: r, emit: o }) {
|
|
467
|
+
Oe((e) => ({
|
|
468
|
+
"10a6fdb0": te.value,
|
|
469
|
+
"3653166f": ee.value,
|
|
470
|
+
"44a0b897": W.value
|
|
471
|
+
}));
|
|
472
|
+
const t = u, i = o, c = K(() => import("./MazCheckbox-BWiMbecz.mjs")), h = K(() => import("./magnifying-glass-DZGg7953.mjs")), A = K(() => import("./chevron-down-CzMH-gFW.mjs")), U = K(() => import("./no-symbol-QAqP9IlR.mjs"));
|
|
473
|
+
r({
|
|
474
|
+
/** Method to open the option list */
|
|
475
|
+
openList: N,
|
|
476
|
+
/** Method to close the option list */
|
|
477
|
+
closeList: D
|
|
478
|
+
});
|
|
479
|
+
const z = V(!1), p = V(), T = f(
|
|
480
|
+
() => ["black", "transparent", "white"].includes(t.color)
|
|
481
|
+
), ee = f(
|
|
482
|
+
() => T.value ? "var(--maz-color-black)" : `var(--maz-color-${t.color}-800)`
|
|
483
|
+
), W = f(
|
|
484
|
+
() => T.value ? "var(--maz-color-muted)" : `var(--maz-color-${t.color}-100)`
|
|
485
|
+
), te = f(
|
|
486
|
+
() => T.value ? "var(--maz-color-muted)" : `var(--maz-color-${t.color}-200)`
|
|
487
|
+
), I = f(() => z.value || t.open), j = ze({
|
|
488
|
+
componentName: "MazSelect",
|
|
489
|
+
providedId: t.id
|
|
490
|
+
});
|
|
491
|
+
function Q(e) {
|
|
492
|
+
return {
|
|
493
|
+
[t.optionValueKey]: e,
|
|
494
|
+
[t.optionLabelKey]: e,
|
|
495
|
+
[t.optionInputValueKey]: e
|
|
496
|
+
};
|
|
497
|
+
}
|
|
498
|
+
function G(e) {
|
|
499
|
+
return {
|
|
500
|
+
...e,
|
|
501
|
+
[t.optionValueKey]: e[t.optionValueKey],
|
|
502
|
+
[t.optionLabelKey]: e[t.optionLabelKey],
|
|
503
|
+
[t.optionInputValueKey]: e[t.optionInputValueKey]
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
const B = f(() => {
|
|
507
|
+
var a;
|
|
508
|
+
const e = [];
|
|
509
|
+
if (!((a = t.options) != null && a.length))
|
|
510
|
+
return [];
|
|
511
|
+
for (const s of t.options)
|
|
512
|
+
typeof s == "string" || typeof s == "number" || typeof s == "boolean" ? e.push(Q(s)) : typeof s == "object" && "options" in s && Array.isArray(s.options) ? e.push(
|
|
513
|
+
{ label: s.label, isOptGroup: !0 },
|
|
514
|
+
...s.options.map(
|
|
515
|
+
(n) => typeof n == "string" || typeof n == "number" || typeof n == "boolean" ? Q(n) : G(n)
|
|
516
|
+
)
|
|
517
|
+
) : e.push(G(s));
|
|
518
|
+
return e;
|
|
519
|
+
}), E = f(
|
|
520
|
+
() => {
|
|
521
|
+
var e;
|
|
522
|
+
return ((e = B.value) == null ? void 0 : e.filter((a) => t.multiple ? Array.isArray(t.modelValue) ? t.modelValue.includes(a[t.optionValueKey]) && !C(a[t.optionValueKey]) : !1 : t.modelValue === a[t.optionValueKey] && !C(a[t.optionValueKey]))) ?? [];
|
|
523
|
+
}
|
|
524
|
+
);
|
|
525
|
+
Pe(() => {
|
|
526
|
+
var e;
|
|
527
|
+
(e = t.options) != null && e.length || console.warn("[maz-ui](MazSelect) you must provide options"), ne();
|
|
528
|
+
});
|
|
529
|
+
const M = V(), Z = V(), J = V(), X = V();
|
|
530
|
+
function C(e) {
|
|
531
|
+
return e == null;
|
|
532
|
+
}
|
|
533
|
+
function R(e) {
|
|
534
|
+
var s;
|
|
535
|
+
return (((s = E.value) == null ? void 0 : s.some(
|
|
536
|
+
(n) => n[t.optionValueKey] === e[t.optionValueKey]
|
|
537
|
+
)) ?? !1) && !C(e[t.optionValueKey]);
|
|
538
|
+
}
|
|
539
|
+
const oe = f(() => {
|
|
540
|
+
var a;
|
|
541
|
+
if (t.multiple && t.modelValue && Array.isArray(t.modelValue))
|
|
542
|
+
return t.modelValue.map(
|
|
543
|
+
(s) => {
|
|
544
|
+
var n, d;
|
|
545
|
+
return (d = (n = B.value) == null ? void 0 : n.find((b) => b[t.optionValueKey] === s)) == null ? void 0 : d[t.optionInputValueKey];
|
|
546
|
+
}
|
|
547
|
+
).join(", ");
|
|
548
|
+
const e = (a = B.value) == null ? void 0 : a.find(
|
|
549
|
+
(s) => s[t.optionValueKey] === t.modelValue
|
|
550
|
+
);
|
|
551
|
+
return C(t.modelValue) || e == null ? void 0 : e[t.optionInputValueKey];
|
|
552
|
+
}), le = f(
|
|
553
|
+
() => t.listPosition.includes("bottom") ? "maz-slide" : "maz-slideinvert"
|
|
554
|
+
), l = V(""), y = V("");
|
|
555
|
+
function $(e, a) {
|
|
556
|
+
return a && e && _(e).includes(_(a));
|
|
557
|
+
}
|
|
558
|
+
function ce(e) {
|
|
559
|
+
var a;
|
|
560
|
+
return e ? (a = B.value) == null ? void 0 : a.filter((s) => {
|
|
561
|
+
const n = s[t.optionLabelKey], d = s[t.optionValueKey], b = s[t.optionInputValueKey];
|
|
562
|
+
return $(n, e) || $(b, e) || $(d, e) || typeof n == "string" && ue(n, e, 0.5).isMatching.value || typeof b == "string" && ue(b, e, 0.5).isMatching.value || typeof d == "string" && ue(d, e, 0.5).isMatching.value;
|
|
563
|
+
}) : B.value;
|
|
564
|
+
}
|
|
565
|
+
const w = f(() => ce(l.value));
|
|
566
|
+
async function D(e) {
|
|
567
|
+
var s, n;
|
|
568
|
+
if (!I.value)
|
|
569
|
+
return;
|
|
570
|
+
if (e && ("relatedTarget" in e && ((s = M.value) != null && s.contains(e.relatedTarget)) || e.type === "keydown"))
|
|
571
|
+
return e.preventDefault();
|
|
572
|
+
const a = e && "relatedTarget" in e && e.relatedTarget instanceof HTMLElement && e.relatedTarget.getAttribute("id");
|
|
573
|
+
if ((n = t.excludeSelectors) != null && n.includes(`#${a}`))
|
|
574
|
+
return e == null ? void 0 : e.preventDefault();
|
|
575
|
+
await se(), z.value = !1, p.value = 0, i("close", e);
|
|
576
|
+
}
|
|
577
|
+
async function N(e) {
|
|
578
|
+
t.disabled || I.value || (e == null || e.preventDefault(), z.value = !0, await ae(), i("focus", e), i("open", z.value));
|
|
579
|
+
}
|
|
580
|
+
function de() {
|
|
581
|
+
var e, a;
|
|
582
|
+
(a = ((e = Z.value) == null ? void 0 : e.$el).querySelector("input")) == null || a.focus();
|
|
583
|
+
}
|
|
584
|
+
function Se(e) {
|
|
585
|
+
z.value ? D(e) : de();
|
|
586
|
+
}
|
|
587
|
+
function Ke(e) {
|
|
588
|
+
var a, s;
|
|
589
|
+
l.value = e, (s = ((a = J.value) == null ? void 0 : a.$el).querySelector("input")) == null || s.focus();
|
|
590
|
+
}
|
|
591
|
+
function Ae(e) {
|
|
592
|
+
var s;
|
|
593
|
+
e === "Backspace" && y.value.length > 0 ? y.value = y.value.slice(0, -1) : y.value += e;
|
|
594
|
+
const a = ce(y.value);
|
|
595
|
+
a != null && a.length && (p.value = (s = w.value) == null ? void 0 : s.findIndex(
|
|
596
|
+
(n) => n[t.optionValueKey] === a[0][t.optionValueKey]
|
|
597
|
+
), typeof p.value == "number" && p.value >= 0 && ae(p.value)), qe(() => {
|
|
598
|
+
y.value = "";
|
|
599
|
+
}, 1e3);
|
|
600
|
+
}
|
|
601
|
+
function Ce(e) {
|
|
602
|
+
const a = e.key;
|
|
603
|
+
/^[\dA-Za-z\u0400-\u04FF]$/.test(a) ? (e.preventDefault(), N(e), t.search ? Ke(a) : Ae(a)) : fe(e);
|
|
604
|
+
}
|
|
605
|
+
function fe(e) {
|
|
606
|
+
const a = e.code, s = ["ArrowUp", "ArrowDown"].includes(a), n = ["Enter", "Space"].includes(a), d = a === "Escape" && I.value;
|
|
607
|
+
s ? $e(e, p.value) : n ? Be(e, p.value) : d && D(e);
|
|
608
|
+
}
|
|
609
|
+
function $e(e, a) {
|
|
610
|
+
var d;
|
|
611
|
+
e.preventDefault();
|
|
612
|
+
const s = e.code;
|
|
613
|
+
I.value || N(e);
|
|
614
|
+
const n = (d = w.value) == null ? void 0 : d.length;
|
|
615
|
+
n && (typeof a == "number" ? a === n - 1 && s === "ArrowDown" ? p.value = 0 : a === 0 && s === "ArrowUp" ? p.value = n - 1 : p.value = s === "ArrowDown" ? a + 1 : a - 1 : p.value = s === "ArrowDown" ? 0 : n - 1, ae(p.value));
|
|
616
|
+
}
|
|
617
|
+
function Be(e, a) {
|
|
618
|
+
var n, d, b;
|
|
619
|
+
if (e.preventDefault(), !I.value)
|
|
620
|
+
return N(e);
|
|
621
|
+
const s = a ? ((n = w.value) == null ? void 0 : n[a]) ?? ((d = w.value) == null ? void 0 : d[0]) : (b = w.value) == null ? void 0 : b[0];
|
|
622
|
+
C(s) || pe(s);
|
|
623
|
+
}
|
|
624
|
+
async function ae(e) {
|
|
625
|
+
var s, n;
|
|
626
|
+
await se(), typeof e != "number" && ne();
|
|
627
|
+
const a = e ?? p.value;
|
|
628
|
+
if (typeof a == "number" && a >= 0) {
|
|
629
|
+
const d = (s = X.value) == null ? void 0 : s.querySelectorAll(".m-select-list-item");
|
|
630
|
+
(n = d == null ? void 0 : d[a]) == null || n.scrollIntoView({
|
|
631
|
+
behavior: "auto",
|
|
632
|
+
block: "nearest",
|
|
633
|
+
inline: "start"
|
|
634
|
+
});
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
function ne(e) {
|
|
638
|
+
var s;
|
|
639
|
+
const a = (s = w.value) == null ? void 0 : s.findIndex((n) => {
|
|
640
|
+
var d, b;
|
|
641
|
+
return t.multiple && Array.isArray(t.modelValue) ? e ? e[t.optionValueKey] === n[t.optionValueKey] : [...t.modelValue].reverse()[0] === n[t.optionValueKey] : ((b = (d = E.value) == null ? void 0 : d[0]) == null ? void 0 : b[t.optionValueKey]) === n[t.optionValueKey];
|
|
642
|
+
});
|
|
643
|
+
p.value = a && a >= 0 ? a : 0;
|
|
644
|
+
}
|
|
645
|
+
function pe(e, a = !0) {
|
|
646
|
+
var b;
|
|
647
|
+
a && !t.multiple && se(() => D()), l.value = "";
|
|
648
|
+
const s = (b = E.value) == null ? void 0 : b.some(
|
|
649
|
+
(O) => O[t.optionValueKey] === e[t.optionValueKey]
|
|
650
|
+
);
|
|
651
|
+
let n = E.value;
|
|
652
|
+
s && t.multiple ? n = n == null ? void 0 : n.filter(
|
|
653
|
+
(O) => O[t.optionValueKey] !== e[t.optionValueKey]
|
|
654
|
+
) : t.multiple ? n.push(e) : n = [e];
|
|
655
|
+
const d = n.map((O) => O[t.optionValueKey]);
|
|
656
|
+
i("update:model-value", t.multiple ? d : d[0]), i("selected-option", e), ne(e), de();
|
|
657
|
+
}
|
|
658
|
+
return (e, a) => {
|
|
659
|
+
var s;
|
|
660
|
+
return be((m(), k(
|
|
661
|
+
"div",
|
|
662
|
+
{
|
|
663
|
+
ref_key: "mazSelectElement",
|
|
664
|
+
ref: M,
|
|
665
|
+
class: H(["m-select", [
|
|
666
|
+
{ "--is-open": I.value, "--disabled": e.disabled, "--block": e.block },
|
|
667
|
+
t.class,
|
|
668
|
+
`--${e.size}`
|
|
669
|
+
]]),
|
|
670
|
+
style: Y(e.style)
|
|
671
|
+
},
|
|
672
|
+
[
|
|
673
|
+
F(ye, ge({
|
|
674
|
+
id: g(j),
|
|
675
|
+
ref_key: "mazInputComponent",
|
|
676
|
+
ref: Z,
|
|
677
|
+
class: "m-select-input"
|
|
678
|
+
}, e.$attrs, {
|
|
679
|
+
required: e.required,
|
|
680
|
+
"border-active": z.value,
|
|
681
|
+
color: e.color,
|
|
682
|
+
"model-value": oe.value,
|
|
683
|
+
autocomplete: "off",
|
|
684
|
+
size: e.size,
|
|
685
|
+
block: "",
|
|
686
|
+
disabled: e.disabled,
|
|
687
|
+
onFocus: P(N, ["prevent", "stop"]),
|
|
688
|
+
onBlur: P(D, ["prevent", "stop"]),
|
|
689
|
+
onClick: P(N, ["prevent", "stop"]),
|
|
690
|
+
onChange: a[0] || (a[0] = (n) => i("change", n)),
|
|
691
|
+
onKeydown: Ce
|
|
692
|
+
}), {
|
|
693
|
+
"right-icon": x(() => [
|
|
694
|
+
L("button", {
|
|
695
|
+
tabindex: "-1",
|
|
696
|
+
type: "button",
|
|
697
|
+
class: "m-select-input__toggle-button maz-custom",
|
|
698
|
+
"aria-label": `${I.value ? "collapse" : "expand"} list of options`,
|
|
699
|
+
onClick: P(Se, ["stop"])
|
|
700
|
+
}, [
|
|
701
|
+
F(g(A), { class: "m-select-chevron maz-text-xl" })
|
|
702
|
+
], 8, tt)
|
|
703
|
+
]),
|
|
704
|
+
_: 1
|
|
705
|
+
/* STABLE */
|
|
706
|
+
}, 16, ["id", "required", "border-active", "color", "model-value", "size", "disabled"]),
|
|
707
|
+
F(Fe, { name: le.value }, {
|
|
708
|
+
default: x(() => [
|
|
709
|
+
I.value ? (m(), k(
|
|
710
|
+
"div",
|
|
711
|
+
{
|
|
712
|
+
key: 0,
|
|
713
|
+
ref_key: "optionsListElement",
|
|
714
|
+
ref: X,
|
|
715
|
+
class: H(["m-select-list", {
|
|
716
|
+
"--top": e.listPosition.includes("top"),
|
|
717
|
+
"--left": e.listPosition.includes("left"),
|
|
718
|
+
"--right": e.listPosition.includes("right"),
|
|
719
|
+
"--bottom": e.listPosition.includes("bottom")
|
|
720
|
+
}]),
|
|
721
|
+
style: Y({
|
|
722
|
+
maxHeight: `${e.maxListHeight}px`,
|
|
723
|
+
maxWidth: `${e.maxListWidth}px`
|
|
724
|
+
})
|
|
725
|
+
},
|
|
726
|
+
[
|
|
727
|
+
e.search ? (m(), S(ye, {
|
|
728
|
+
key: 0,
|
|
729
|
+
ref_key: "searchInputComponent",
|
|
730
|
+
ref: J,
|
|
731
|
+
modelValue: l.value,
|
|
732
|
+
"onUpdate:modelValue": [
|
|
733
|
+
a[1] || (a[1] = (n) => l.value = n),
|
|
734
|
+
a[2] || (a[2] = (n) => p.value = 0)
|
|
735
|
+
],
|
|
736
|
+
size: "sm",
|
|
737
|
+
color: e.color,
|
|
738
|
+
placeholder: e.searchPlaceholder,
|
|
739
|
+
name: "search",
|
|
740
|
+
autocomplete: "off",
|
|
741
|
+
tabindex: "-1",
|
|
742
|
+
class: "m-select-list__search-input maz-flex-none",
|
|
743
|
+
"left-icon": g(h),
|
|
744
|
+
onKeydown: fe
|
|
745
|
+
}, null, 8, ["modelValue", "color", "placeholder", "left-icon"])) : v("v-if", !0),
|
|
746
|
+
v(`
|
|
747
|
+
@slot No results slot - Displayed when no results corresponding with search query
|
|
748
|
+
`),
|
|
749
|
+
!w.value || w.value.length <= 0 ? q(e.$slots, "no-results", { key: 1 }, () => [
|
|
750
|
+
L("span", ot, [
|
|
751
|
+
F(g(U), { class: "maz-h-6 maz-w-6 maz-text-normal" })
|
|
752
|
+
])
|
|
753
|
+
], !0) : (m(), k("div", lt, [
|
|
754
|
+
(m(!0), k(
|
|
755
|
+
ve,
|
|
756
|
+
null,
|
|
757
|
+
He(w.value, (n, d) => (m(), k(
|
|
758
|
+
ve,
|
|
759
|
+
{ key: d },
|
|
760
|
+
[
|
|
761
|
+
v(`
|
|
762
|
+
@slot Custom optgroup label
|
|
763
|
+
@binding {String} label - the label of the optgroup
|
|
764
|
+
`),
|
|
765
|
+
n.label && n.isOptGroup ? q(e.$slots, "optgroup", {
|
|
766
|
+
key: 0,
|
|
767
|
+
label: n.label
|
|
768
|
+
}, () => [
|
|
769
|
+
L(
|
|
770
|
+
"span",
|
|
771
|
+
at,
|
|
772
|
+
re(n.label),
|
|
773
|
+
1
|
|
774
|
+
/* TEXT */
|
|
775
|
+
)
|
|
776
|
+
], !0) : (m(), k("button", {
|
|
777
|
+
key: 1,
|
|
778
|
+
tabindex: "-1",
|
|
779
|
+
type: "button",
|
|
780
|
+
class: H(["m-select-list-item maz-custom maz-flex-none", [
|
|
781
|
+
{
|
|
782
|
+
"--is-keyboard-selected": p.value === d,
|
|
783
|
+
"--is-selected": R(n),
|
|
784
|
+
"--is-none-value": C(n[e.optionValueKey])
|
|
785
|
+
}
|
|
786
|
+
]]),
|
|
787
|
+
style: Y(e.itemHeight ? { height: `${e.itemHeight}px` } : void 0),
|
|
788
|
+
onClick: P((b) => pe(n), ["prevent", "stop"])
|
|
789
|
+
}, [
|
|
790
|
+
e.multiple ? (m(), S(g(c), {
|
|
791
|
+
key: 0,
|
|
792
|
+
tabindex: "-1",
|
|
793
|
+
"model-value": R(n),
|
|
794
|
+
size: "sm",
|
|
795
|
+
color: e.color
|
|
796
|
+
}, null, 8, ["model-value", "color"])) : v("v-if", !0),
|
|
797
|
+
v(`
|
|
798
|
+
@slot Custom option
|
|
799
|
+
@binding {Object} option - the option object
|
|
800
|
+
@binding {Boolean} is-selected - if the option is selected
|
|
801
|
+
`),
|
|
802
|
+
q(e.$slots, "default", {
|
|
803
|
+
option: n,
|
|
804
|
+
isSelected: R(n)
|
|
805
|
+
}, () => [
|
|
806
|
+
L(
|
|
807
|
+
"span",
|
|
808
|
+
null,
|
|
809
|
+
re(n[e.optionLabelKey]),
|
|
810
|
+
1
|
|
811
|
+
/* TEXT */
|
|
812
|
+
)
|
|
813
|
+
], !0)
|
|
814
|
+
], 14, nt))
|
|
815
|
+
],
|
|
816
|
+
64
|
|
817
|
+
/* STABLE_FRAGMENT */
|
|
818
|
+
))),
|
|
819
|
+
128
|
|
820
|
+
/* KEYED_FRAGMENT */
|
|
821
|
+
))
|
|
822
|
+
]))
|
|
823
|
+
],
|
|
824
|
+
6
|
|
825
|
+
/* CLASS, STYLE */
|
|
826
|
+
)) : v("v-if", !0)
|
|
827
|
+
]),
|
|
828
|
+
_: 3
|
|
829
|
+
/* FORWARDED */
|
|
830
|
+
}, 8, ["name"])
|
|
831
|
+
],
|
|
832
|
+
6
|
|
833
|
+
/* CLASS, STYLE */
|
|
834
|
+
)), [
|
|
835
|
+
[g(Ge), {
|
|
836
|
+
exclude: (s = e.excludeSelectors) != null && s.length ? e.excludeSelectors : [],
|
|
837
|
+
handler: D
|
|
838
|
+
}]
|
|
839
|
+
]);
|
|
840
|
+
};
|
|
841
|
+
}
|
|
842
|
+
}), ut = /* @__PURE__ */ we(st, [["__scopeId", "data-v-fe0403c3"]]);
|
|
843
|
+
export {
|
|
844
|
+
ut as M,
|
|
845
|
+
we as _,
|
|
846
|
+
ze as u
|
|
847
|
+
};
|