maz-ui 3.47.2-beta.8 → 3.47.2-beta.9
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 +3 -2
- package/components/MazAnimatedCounter.d.ts +16 -32
- package/components/MazAvatar.d.ts +2 -1
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBackdrop.d.ts +2 -1
- package/components/MazBadge.d.ts +7 -2
- package/components/MazBadge.mjs +1 -1
- package/components/MazBottomSheet.d.ts +2 -1
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.d.ts +4 -3
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.d.ts +3 -2
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.d.ts +3 -2
- package/components/MazCarousel.d.ts +3 -2
- package/components/MazCarousel.mjs +1 -1
- package/components/MazCheckbox.d.ts +4 -3
- package/components/MazCheckbox.mjs +1 -1
- package/components/MazChecklist.d.ts +1 -1
- package/components/MazChecklist.mjs +1 -1
- package/components/MazCircularProgressBar.d.ts +18 -65
- package/components/MazCircularProgressBar.mjs +40 -40
- package/components/MazDialog.d.ts +5 -3
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.d.ts +2 -1
- package/components/MazDrawer.mjs +1 -1
- package/components/MazDropdown.d.ts +2 -1
- package/components/MazDropdown.mjs +1 -1
- package/components/MazDropzone.d.ts +1 -1
- package/components/MazExpandAnimation.d.ts +6 -5
- package/components/MazFullscreenLoader.d.ts +2 -1
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.mjs +13 -12
- package/components/MazInput.d.ts +16 -3
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.d.ts +1 -1
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.d.ts +2 -1
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.d.ts +2 -1
- package/components/MazLink.d.ts +2 -1
- package/components/MazLink.mjs +1 -1
- package/components/MazLoadingBar.d.ts +1 -1
- package/components/MazPagination.d.ts +3 -2
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +29 -53
- package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +4 -4
- package/components/MazPhoneNumberInput.d.ts +5 -4
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.d.ts +3 -2
- package/components/MazRadio.d.ts +1 -1
- package/components/MazRadioButtons.d.ts +1 -1
- package/components/MazSelect.d.ts +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazSpinner.d.ts +1 -1
- package/components/MazStepper.d.ts +3 -2
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.d.ts +2 -1
- package/components/MazTable.d.ts +2 -2
- package/components/MazTable.mjs +1 -1
- package/components/MazTableCell.d.ts +3 -2
- package/components/MazTableRow.d.ts +3 -2
- package/components/MazTableTitle.d.ts +3 -2
- package/components/MazTabs.d.ts +3 -2
- package/components/MazTabsBar.d.ts +3 -2
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContent.d.ts +3 -2
- package/components/MazTabsContentItem.d.ts +2 -1
- package/components/MazTextarea.d.ts +49 -1
- package/components/MazTextarea.mjs +129 -109
- package/components/MazTransitionExpand.d.ts +2 -1
- package/components/MazTransitionExpand.mjs +9 -9
- package/components/assets/MazAvatar.css +1 -1
- package/components/assets/MazBadge.css +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazCheckbox.css +1 -1
- package/components/assets/MazChecklist.css +1 -1
- package/components/assets/MazCircularProgressBar.css +1 -1
- package/components/assets/MazGallery.css +1 -1
- package/components/assets/MazInput.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/MazPagination.css +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazPicker.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazStepper.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/MazTextarea.css +1 -1
- package/components/assets/MazTransitionExpand.css +1 -1
- package/components/chunks/{MazAvatar-DFoZvWmg.mjs → MazAvatar-CZzOIbzh.mjs} +54 -54
- package/components/chunks/{MazBadge-qdgVtKdQ.mjs → MazBadge-CupQjB8D.mjs} +2 -2
- package/components/chunks/{MazBottomSheet-DX3dl16f.mjs → MazBottomSheet-D9EPpEV8.mjs} +1 -1
- package/{modules/chunks/MazBtn-D6K3B6XM.mjs → components/chunks/MazBtn-BSgCMRt0.mjs} +33 -35
- package/components/chunks/{MazBtn-C0fZIwfM.mjs → MazBtn-BVWOyFm-.mjs} +33 -35
- package/components/chunks/{MazBtn-BtmrmjP3.mjs → MazBtn-BfIn7glE.mjs} +33 -35
- package/components/chunks/{MazBtn-DMcVZ1r9.mjs → MazBtn-Br3xKJMD.mjs} +33 -35
- package/components/chunks/MazBtn-CB6xVwox.mjs +103 -0
- package/components/chunks/MazBtn-CIAdgMGr.mjs +111 -0
- package/components/chunks/MazBtn-CM-xSnA5.mjs +108 -0
- package/components/chunks/MazBtn-CQq-U8qQ.mjs +103 -0
- package/components/chunks/MazBtn-Chk7DWOF.mjs +103 -0
- package/components/chunks/MazBtn-Ck84sP9a.mjs +103 -0
- package/components/chunks/MazBtn-DI80W9rl.mjs +103 -0
- package/components/chunks/MazBtn-DhSKmF01.mjs +103 -0
- package/components/chunks/MazBtn-DzwuLea3.mjs +103 -0
- package/components/chunks/MazBtn-tOUtVpek.mjs +103 -0
- package/components/chunks/{MazCard-DMDzDjHR.mjs → MazCard-XBaeDZkg.mjs} +1 -1
- package/components/chunks/{MazCarousel-BjBQQBFN.mjs → MazCarousel-COTaKhKF.mjs} +1 -1
- package/components/chunks/{MazCheckbox-DXcpsRU4.mjs → MazCheckbox-B-Sw22La.mjs} +6 -6
- package/components/chunks/{MazCheckbox-9R4fuM8t.mjs → MazCheckbox-DjY15PA3.mjs} +2 -2
- package/components/chunks/{MazCheckbox-Dgn0lw5f.mjs → MazCheckbox-DxfneUvu.mjs} +6 -6
- package/components/chunks/{MazChecklist-D_IebAis.mjs → MazChecklist-DaozZlNb.mjs} +17 -17
- package/components/chunks/{MazDialog-Cyo_BtT4.mjs → MazDialog-XiX9LEiz.mjs} +1 -1
- package/components/chunks/{MazDialogPromise-CHyri_Q5.mjs → MazDialogPromise-B9_e3Ma9.mjs} +2 -2
- package/components/chunks/{MazDropdown-urkh4dW3.mjs → MazDropdown-CKuIGitT.mjs} +4 -3
- package/components/chunks/{MazExpandAnimation-CWDhei53.mjs → MazExpandAnimation-Bdf0-L85.mjs} +1 -1
- package/components/chunks/{MazGallery-DNN_xBeg.mjs → MazGallery-BooLoRWi.mjs} +3 -3
- package/components/chunks/{MazGallery-ndO4hRUh.mjs → MazGallery-DUOQamrE.mjs} +2 -2
- package/components/chunks/MazIcon-BX2Gbz8R.mjs +4 -0
- package/components/chunks/{MazIcon-B7Mn8F75.mjs → MazIcon-C-aPrqx2.mjs} +3 -2
- package/components/chunks/{MazIcon-BSgK89NE.mjs → MazIcon-DFW4cVVf.mjs} +4 -3
- package/components/chunks/{MazIcon-B4CDdmqe.mjs → MazIcon-_hN-Kivn.mjs} +13 -12
- package/components/chunks/MazInput-BWAWlxDa.mjs +314 -0
- package/components/chunks/MazInput-DIN1VAoX.mjs +325 -0
- package/components/chunks/MazInput-HLPtw5QK.mjs +313 -0
- package/components/chunks/{MazInputNumber-qQ6MrK-y.mjs → MazInputNumber-7Ku2ZcG-.mjs} +217 -187
- package/components/chunks/{MazInputPrice-C207E4RH.mjs → MazInputPrice-C5yErBFP.mjs} +201 -169
- package/components/chunks/MazInputTags-DvbQ2mK8.mjs +614 -0
- package/components/chunks/{MazLazyImg-C03sUOXs.mjs → MazLazyImg-DQLwaKKz.mjs} +2 -2
- package/components/chunks/{MazLink-Ch-w_Lf_.mjs → MazLink-mrqHeBS0.mjs} +1 -1
- package/components/chunks/{MazLoadingBar-rusnhtnI.mjs → MazLoadingBar-CNm3Yt6D.mjs} +1 -1
- package/components/chunks/MazPagination-BSu0Ifkp.mjs +327 -0
- package/components/chunks/{MazPhoneNumberInput-BUe2kgX6.mjs → MazPhoneNumberInput-B5Up8CqL.mjs} +437 -405
- package/components/chunks/MazPicker-CzYUZcLy.mjs +2487 -0
- package/components/chunks/{MazPickerMonthSwitcher-D46P6nV5.mjs → MazPickerMonthSwitcher-Ds5agR3Z.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-C50DAlfT.mjs → MazPickerShortcuts-BP6CY9-c.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-5EW9ebYR.mjs → MazPickerYearSwitcher-PM8qZMzR.mjs} +1 -1
- package/components/chunks/{MazSelect-CJnsMuMG.mjs → MazSelect-DOexatNj.mjs} +290 -258
- package/components/chunks/{MazSelect-C0rk6m_5.mjs → MazSelect-DaDRzcT_.mjs} +20 -20
- package/components/chunks/{MazSpinner-CkOG2EM9.mjs → MazSpinner-9M_EGMpy.mjs} +1 -1
- package/components/chunks/MazSpinner-BJpv1muf.mjs +34 -0
- package/components/chunks/{MazSpinner-CyvYTwaV.mjs → MazSpinner-BlbTztM3.mjs} +1 -1
- package/components/chunks/{MazSpinner-CQAyxmwJ.mjs → MazSpinner-Bsy1nA3c.mjs} +1 -1
- package/components/chunks/{MazSpinner-CbuG6vB-.mjs → MazSpinner-C30YfScc.mjs} +1 -1
- package/components/chunks/MazSpinner-C5mnD76l.mjs +34 -0
- package/components/chunks/MazSpinner-CDx6lo7l.mjs +34 -0
- package/components/chunks/MazSpinner-C_GueolV.mjs +34 -0
- package/components/chunks/{MazSpinner-BxlN_quv.mjs → MazSpinner-Cc-KlPEG.mjs} +1 -1
- package/components/chunks/MazSpinner-Cgg2dkzQ.mjs +34 -0
- package/components/chunks/MazSpinner-CkKIUYXO.mjs +34 -0
- package/components/chunks/{MazSpinner-CAR4Mm9l.mjs → MazSpinner-CxyUHAvm.mjs} +1 -1
- package/components/chunks/MazSpinner-DROgQW2M.mjs +34 -0
- package/components/chunks/MazSpinner-DjUU4G1h.mjs +34 -0
- package/components/chunks/MazSpinner-Dzs2W0kq.mjs +34 -0
- package/components/chunks/{MazSpinner-B2mZYoLS.mjs → MazSpinner-NCtEpFMm.mjs} +1 -1
- package/components/chunks/MazSpinner-QfPXLpa_.mjs +34 -0
- package/components/chunks/MazSpinner-ZPQe8ON_.mjs +34 -0
- package/components/chunks/{MazSpinner-Cef473zM.mjs → MazSpinner-b90e3OQK.mjs} +1 -1
- package/components/chunks/{MazStepper-BWyXIppj.mjs → MazStepper-B3fuhbye.mjs} +15 -15
- package/components/chunks/{MazTable-BpIXKltC.mjs → MazTable-Ci8nhgOP.mjs} +4 -4
- package/components/chunks/{MazTableCell-DQAaVtw4.mjs → MazTableCell-BIganK6X.mjs} +1 -1
- package/components/chunks/{MazTableRow-CN415w3y.mjs → MazTableRow-CIO-x6Lb.mjs} +1 -1
- package/components/chunks/{MazTableTitle-DbCN1l2O.mjs → MazTableTitle-OEgTPQB3.mjs} +1 -1
- package/components/chunks/{MazTabsBar-jlclO5zk.mjs → MazTabsBar-CT35SCIK.mjs} +1 -1
- package/components/chunks/{MazTransitionExpand-B2jKLvyg.mjs → MazTransitionExpand-Bcwdl9g2.mjs} +8 -8
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/MazBtn-0CRjeBvn.mjs +103 -0
- package/modules/chunks/MazBtn-DRqCRJD-.cjs +1 -0
- package/modules/chunks/{MazIcon-BRGZkufX.mjs → MazIcon-CeT6HK_q.mjs} +4 -3
- package/modules/chunks/{MazIcon--UTNvIe4.cjs → MazIcon-D-Gna0vz.cjs} +1 -1
- package/modules/chunks/{MazSpinner-9EkSWhvP.mjs → MazSpinner-DV--lwdI.mjs} +1 -1
- package/modules/chunks/{MazSpinner-B82Q3oFJ.cjs → MazSpinner-DersvZQw.cjs} +1 -1
- package/modules/chunks/{index-fosopmwd.cjs → index-DvromXrX.cjs} +2 -2
- package/modules/chunks/{index-7UZ6u--K.mjs → index-Kry9j5uD.mjs} +13 -9
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +1 -1
- package/nuxt/index.json +1 -1
- package/package.json +22 -22
- package/types/components/MazAccordion.vue.d.ts +3 -2
- package/types/components/MazAnimatedCounter.vue.d.ts +16 -32
- package/types/components/MazAvatar.vue.d.ts +2 -1
- package/types/components/MazBackdrop.vue.d.ts +2 -1
- package/types/components/MazBadge.vue.d.ts +7 -2
- package/types/components/MazBottomSheet.vue.d.ts +2 -1
- package/types/components/MazBtn.vue.d.ts +4 -3
- package/types/components/MazCard.vue.d.ts +3 -2
- package/types/components/MazCardSpotlight.vue.d.ts +3 -2
- package/types/components/MazCarousel.vue.d.ts +3 -2
- package/types/components/MazCheckbox.vue.d.ts +4 -3
- package/types/components/MazChecklist.vue.d.ts +1 -1
- package/types/components/MazCircularProgressBar.vue.d.ts +18 -65
- package/types/components/MazDialog.vue.d.ts +5 -3
- package/types/components/MazDrawer.vue.d.ts +2 -1
- package/types/components/MazDropdown.vue.d.ts +2 -1
- package/types/components/MazDropzone.vue.d.ts +1 -1
- package/types/components/MazExpandAnimation.vue.d.ts +6 -5
- package/types/components/MazFullscreenLoader.vue.d.ts +2 -1
- package/types/components/MazInput.vue.d.ts +16 -3
- package/types/components/MazInputCode.vue.d.ts +1 -1
- package/types/components/MazInputPrice.vue.d.ts +2 -1
- package/types/components/MazLazyImg.vue.d.ts +2 -1
- package/types/components/MazLink.vue.d.ts +2 -1
- package/types/components/MazLoadingBar.vue.d.ts +1 -1
- package/types/components/MazPagination.vue.d.ts +3 -2
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +29 -53
- package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +4 -4
- package/types/components/MazPhoneNumberInput.vue.d.ts +5 -4
- package/types/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
- package/types/components/MazPullToRefresh.vue.d.ts +3 -2
- package/types/components/MazRadio.vue.d.ts +1 -1
- package/types/components/MazRadioButtons.vue.d.ts +1 -1
- package/types/components/MazSelect.vue.d.ts +1 -1
- package/types/components/MazSpinner.vue.d.ts +1 -1
- package/types/components/MazStepper.vue.d.ts +3 -2
- package/types/components/MazSwitch.vue.d.ts +2 -1
- package/types/components/MazTable.vue.d.ts +2 -2
- package/types/components/MazTableCell.vue.d.ts +3 -2
- package/types/components/MazTableRow.vue.d.ts +3 -2
- package/types/components/MazTableTitle.vue.d.ts +3 -2
- package/types/components/MazTabs.vue.d.ts +3 -2
- package/types/components/MazTabsBar.vue.d.ts +3 -2
- package/types/components/MazTabsContent.vue.d.ts +3 -2
- package/types/components/MazTabsContentItem.vue.d.ts +2 -1
- package/types/components/MazTextarea.vue.d.ts +49 -1
- package/types/components/MazTransitionExpand.vue.d.ts +2 -1
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +1 -1
- package/components/chunks/MazBtn-B1DhLzSq.mjs +0 -105
- package/components/chunks/MazBtn-B6xyipje.mjs +0 -113
- package/components/chunks/MazBtn-BE_bHLkT.mjs +0 -105
- package/components/chunks/MazBtn-Blj3kViZ.mjs +0 -105
- package/components/chunks/MazBtn-CFf5L0DS.mjs +0 -105
- package/components/chunks/MazBtn-CiiCndWt.mjs +0 -105
- package/components/chunks/MazBtn-DWVb9GQ3.mjs +0 -105
- package/components/chunks/MazBtn-DanmhP4R.mjs +0 -110
- package/components/chunks/MazBtn-DzheqNTG.mjs +0 -105
- package/components/chunks/MazBtn-FtH-ADjY.mjs +0 -105
- package/components/chunks/MazBtn-pNpaQRRG.mjs +0 -105
- package/components/chunks/MazIcon-BK45d_-V.mjs +0 -4
- package/components/chunks/MazInput-CyWYuOsl.mjs +0 -293
- package/components/chunks/MazInput-DFDzf7C1.mjs +0 -281
- package/components/chunks/MazInput-LS_VhQAg.mjs +0 -282
- package/components/chunks/MazInputTags-a57ZPojk.mjs +0 -584
- package/components/chunks/MazPagination-CJEC7Y4E.mjs +0 -329
- package/components/chunks/MazPicker-DteyWEwr.mjs +0 -2457
- package/components/chunks/MazSpinner-CksMqwXP.mjs +0 -34
- package/components/chunks/MazSpinner-CqpyUTWh.mjs +0 -34
- package/components/chunks/MazSpinner-CsEQ9EXb.mjs +0 -34
- package/components/chunks/MazSpinner-CtZfuEKt.mjs +0 -34
- package/components/chunks/MazSpinner-DCBUvJ_o.mjs +0 -34
- package/components/chunks/MazSpinner-DPdh6vtw.mjs +0 -34
- package/components/chunks/MazSpinner-D_6j7BO6.mjs +0 -34
- package/components/chunks/MazSpinner-DqZc3-_U.mjs +0 -34
- package/components/chunks/MazSpinner-XikQHrkW.mjs +0 -34
- package/components/chunks/MazSpinner-a80KrraB.mjs +0 -34
- package/components/chunks/MazSpinner-q-AqkAjI.mjs +0 -34
- package/modules/chunks/MazBtn-BLjl_mR0.cjs +0 -1
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { defineComponent as h, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as S, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as w } from "vue";
|
|
2
|
-
import { _ as E } from "./MazBottomSheet-DX3dl16f.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const F = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, O = /* @__PURE__ */ h({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean },
|
|
28
|
-
justify: { default: "center" }
|
|
29
|
-
},
|
|
30
|
-
setup(p) {
|
|
31
|
-
const n = p, v = m(() => import("./MazSpinner-CbuG6vB-.mjs")), f = m(() => import("./MazIcon-B4CDdmqe.mjs")), { href: z, to: b } = $(), c = o(() => z ? "a" : b ? "router-link" : "button"), g = o(
|
|
32
|
-
() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
|
|
33
|
-
), y = o(
|
|
34
|
-
() => (n.loading || n.disabled) && c.value === "button"
|
|
35
|
-
), j = o(() => y.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => c.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
|
|
36
|
-
return (e, A) => (t(), a(r(c.value), {
|
|
37
|
-
disabled: y.value || void 0,
|
|
38
|
-
class: l(["m-btn", [
|
|
39
|
-
`--${e.size}`,
|
|
40
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
41
|
-
g.value,
|
|
42
|
-
j.value,
|
|
43
|
-
B.value,
|
|
44
|
-
I.value,
|
|
45
|
-
{
|
|
46
|
-
"--block": e.block,
|
|
47
|
-
"--no-underline": e.noUnderline,
|
|
48
|
-
"--fab": e.fab,
|
|
49
|
-
"--loading": e.loading,
|
|
50
|
-
"--disabled": y.value,
|
|
51
|
-
"--rounded": e.rounded,
|
|
52
|
-
"--no-rounded": e.noRounded,
|
|
53
|
-
"--no-padding": e.noPadding,
|
|
54
|
-
"--no-elevation": e.noElevation
|
|
55
|
-
}
|
|
56
|
-
]]),
|
|
57
|
-
type: C.value
|
|
58
|
-
}, {
|
|
59
|
-
default: S(() => [
|
|
60
|
-
i(e.$slots, "left-icon", {}, () => [
|
|
61
|
-
typeof e.leftIcon == "string" ? (t(), a(u(f), {
|
|
62
|
-
key: 0,
|
|
63
|
-
name: e.leftIcon,
|
|
64
|
-
class: l([s.value])
|
|
65
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
|
|
66
|
-
key: 1,
|
|
67
|
-
class: l([s.value])
|
|
68
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
69
|
-
], !0),
|
|
70
|
-
i(e.$slots, "icon", {}, () => [
|
|
71
|
-
typeof e.icon == "string" ? (t(), a(u(f), {
|
|
72
|
-
key: 0,
|
|
73
|
-
name: e.icon,
|
|
74
|
-
class: l([s.value])
|
|
75
|
-
}, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
|
|
76
|
-
key: 1,
|
|
77
|
-
class: l([s.value])
|
|
78
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
79
|
-
], !0),
|
|
80
|
-
i(e.$slots, "default", {}, void 0, !0),
|
|
81
|
-
i(e.$slots, "right-icon", {}, () => [
|
|
82
|
-
typeof e.rightIcon == "string" ? (t(), a(u(f), {
|
|
83
|
-
key: 0,
|
|
84
|
-
name: e.rightIcon,
|
|
85
|
-
class: l([s.value])
|
|
86
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
|
|
87
|
-
key: 1,
|
|
88
|
-
class: l([s.value])
|
|
89
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
90
|
-
], !0),
|
|
91
|
-
k.value ? (t(), M("div", F, [
|
|
92
|
-
w(u(v), {
|
|
93
|
-
size: "2em",
|
|
94
|
-
color: e.color
|
|
95
|
-
}, null, 8, ["color"])
|
|
96
|
-
])) : d("v-if", !0)
|
|
97
|
-
]),
|
|
98
|
-
_: 3
|
|
99
|
-
/* FORWARDED */
|
|
100
|
-
}, 8, ["disabled", "class", "type"]));
|
|
101
|
-
}
|
|
102
|
-
}), P = /* @__PURE__ */ E(O, [["__scopeId", "data-v-95f33abf"]]);
|
|
103
|
-
export {
|
|
104
|
-
P as default
|
|
105
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { defineComponent as h, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as S, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as w } from "vue";
|
|
2
|
-
import { _ as E } from "./MazChecklist-D_IebAis.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const F = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, O = /* @__PURE__ */ h({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean },
|
|
28
|
-
justify: { default: "center" }
|
|
29
|
-
},
|
|
30
|
-
setup(p) {
|
|
31
|
-
const n = p, v = m(() => import("./MazSpinner-CtZfuEKt.mjs")), f = m(() => import("./MazIcon-B4CDdmqe.mjs")), { href: z, to: b } = $(), c = o(() => z ? "a" : b ? "router-link" : "button"), g = o(
|
|
32
|
-
() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
|
|
33
|
-
), y = o(
|
|
34
|
-
() => (n.loading || n.disabled) && c.value === "button"
|
|
35
|
-
), j = o(() => y.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => c.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
|
|
36
|
-
return (e, A) => (t(), a(r(c.value), {
|
|
37
|
-
disabled: y.value || void 0,
|
|
38
|
-
class: l(["m-btn", [
|
|
39
|
-
`--${e.size}`,
|
|
40
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
41
|
-
g.value,
|
|
42
|
-
j.value,
|
|
43
|
-
B.value,
|
|
44
|
-
I.value,
|
|
45
|
-
{
|
|
46
|
-
"--block": e.block,
|
|
47
|
-
"--no-underline": e.noUnderline,
|
|
48
|
-
"--fab": e.fab,
|
|
49
|
-
"--loading": e.loading,
|
|
50
|
-
"--disabled": y.value,
|
|
51
|
-
"--rounded": e.rounded,
|
|
52
|
-
"--no-rounded": e.noRounded,
|
|
53
|
-
"--no-padding": e.noPadding,
|
|
54
|
-
"--no-elevation": e.noElevation
|
|
55
|
-
}
|
|
56
|
-
]]),
|
|
57
|
-
type: C.value
|
|
58
|
-
}, {
|
|
59
|
-
default: S(() => [
|
|
60
|
-
i(e.$slots, "left-icon", {}, () => [
|
|
61
|
-
typeof e.leftIcon == "string" ? (t(), a(u(f), {
|
|
62
|
-
key: 0,
|
|
63
|
-
name: e.leftIcon,
|
|
64
|
-
class: l([s.value])
|
|
65
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
|
|
66
|
-
key: 1,
|
|
67
|
-
class: l([s.value])
|
|
68
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
69
|
-
], !0),
|
|
70
|
-
i(e.$slots, "icon", {}, () => [
|
|
71
|
-
typeof e.icon == "string" ? (t(), a(u(f), {
|
|
72
|
-
key: 0,
|
|
73
|
-
name: e.icon,
|
|
74
|
-
class: l([s.value])
|
|
75
|
-
}, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
|
|
76
|
-
key: 1,
|
|
77
|
-
class: l([s.value])
|
|
78
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
79
|
-
], !0),
|
|
80
|
-
i(e.$slots, "default", {}, void 0, !0),
|
|
81
|
-
i(e.$slots, "right-icon", {}, () => [
|
|
82
|
-
typeof e.rightIcon == "string" ? (t(), a(u(f), {
|
|
83
|
-
key: 0,
|
|
84
|
-
name: e.rightIcon,
|
|
85
|
-
class: l([s.value])
|
|
86
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
|
|
87
|
-
key: 1,
|
|
88
|
-
class: l([s.value])
|
|
89
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
90
|
-
], !0),
|
|
91
|
-
k.value ? (t(), M("div", F, [
|
|
92
|
-
w(u(v), {
|
|
93
|
-
size: "2em",
|
|
94
|
-
color: e.color
|
|
95
|
-
}, null, 8, ["color"])
|
|
96
|
-
])) : d("v-if", !0)
|
|
97
|
-
]),
|
|
98
|
-
_: 3
|
|
99
|
-
/* FORWARDED */
|
|
100
|
-
}, 8, ["disabled", "class", "type"]));
|
|
101
|
-
}
|
|
102
|
-
}), P = /* @__PURE__ */ E(O, [["__scopeId", "data-v-95f33abf"]]);
|
|
103
|
-
export {
|
|
104
|
-
P as default
|
|
105
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { defineComponent as h, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as S, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as w } from "vue";
|
|
2
|
-
import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const F = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, O = /* @__PURE__ */ h({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean },
|
|
28
|
-
justify: { default: "center" }
|
|
29
|
-
},
|
|
30
|
-
setup(p) {
|
|
31
|
-
const n = p, v = m(() => import("./MazSpinner-yr9xVdAa.mjs")), f = m(() => import("./MazIcon-BK45d_-V.mjs")), { href: z, to: b } = $(), c = o(() => z ? "a" : b ? "router-link" : "button"), g = o(
|
|
32
|
-
() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
|
|
33
|
-
), y = o(
|
|
34
|
-
() => (n.loading || n.disabled) && c.value === "button"
|
|
35
|
-
), j = o(() => y.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => c.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
|
|
36
|
-
return (e, A) => (t(), a(r(c.value), {
|
|
37
|
-
disabled: y.value || void 0,
|
|
38
|
-
class: l(["m-btn", [
|
|
39
|
-
`--${e.size}`,
|
|
40
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
41
|
-
g.value,
|
|
42
|
-
j.value,
|
|
43
|
-
B.value,
|
|
44
|
-
I.value,
|
|
45
|
-
{
|
|
46
|
-
"--block": e.block,
|
|
47
|
-
"--no-underline": e.noUnderline,
|
|
48
|
-
"--fab": e.fab,
|
|
49
|
-
"--loading": e.loading,
|
|
50
|
-
"--disabled": y.value,
|
|
51
|
-
"--rounded": e.rounded,
|
|
52
|
-
"--no-rounded": e.noRounded,
|
|
53
|
-
"--no-padding": e.noPadding,
|
|
54
|
-
"--no-elevation": e.noElevation
|
|
55
|
-
}
|
|
56
|
-
]]),
|
|
57
|
-
type: C.value
|
|
58
|
-
}, {
|
|
59
|
-
default: S(() => [
|
|
60
|
-
i(e.$slots, "left-icon", {}, () => [
|
|
61
|
-
typeof e.leftIcon == "string" ? (t(), a(u(f), {
|
|
62
|
-
key: 0,
|
|
63
|
-
name: e.leftIcon,
|
|
64
|
-
class: l([s.value])
|
|
65
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
|
|
66
|
-
key: 1,
|
|
67
|
-
class: l([s.value])
|
|
68
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
69
|
-
], !0),
|
|
70
|
-
i(e.$slots, "icon", {}, () => [
|
|
71
|
-
typeof e.icon == "string" ? (t(), a(u(f), {
|
|
72
|
-
key: 0,
|
|
73
|
-
name: e.icon,
|
|
74
|
-
class: l([s.value])
|
|
75
|
-
}, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
|
|
76
|
-
key: 1,
|
|
77
|
-
class: l([s.value])
|
|
78
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
79
|
-
], !0),
|
|
80
|
-
i(e.$slots, "default", {}, void 0, !0),
|
|
81
|
-
i(e.$slots, "right-icon", {}, () => [
|
|
82
|
-
typeof e.rightIcon == "string" ? (t(), a(u(f), {
|
|
83
|
-
key: 0,
|
|
84
|
-
name: e.rightIcon,
|
|
85
|
-
class: l([s.value])
|
|
86
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
|
|
87
|
-
key: 1,
|
|
88
|
-
class: l([s.value])
|
|
89
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
90
|
-
], !0),
|
|
91
|
-
k.value ? (t(), M("div", F, [
|
|
92
|
-
w(u(v), {
|
|
93
|
-
size: "2em",
|
|
94
|
-
color: e.color
|
|
95
|
-
}, null, 8, ["color"])
|
|
96
|
-
])) : d("v-if", !0)
|
|
97
|
-
]),
|
|
98
|
-
_: 3
|
|
99
|
-
/* FORWARDED */
|
|
100
|
-
}, 8, ["disabled", "class", "type"]));
|
|
101
|
-
}
|
|
102
|
-
}), P = /* @__PURE__ */ E(O, [["__scopeId", "data-v-95f33abf"]]);
|
|
103
|
-
export {
|
|
104
|
-
P as default
|
|
105
|
-
};
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { defineComponent as h, defineAsyncComponent as z, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as d, normalizeClass as l, withCtx as S, renderSlot as f, unref as c, createCommentVNode as y, createElementBlock as M, createVNode as O } from "vue";
|
|
2
|
-
import '../assets/MazBtn.css';const w = {
|
|
3
|
-
key: 0,
|
|
4
|
-
class: "m-btn-loader-container"
|
|
5
|
-
}, E = /* @__PURE__ */ h({
|
|
6
|
-
__name: "MazBtn",
|
|
7
|
-
props: {
|
|
8
|
-
variant: { default: "button" },
|
|
9
|
-
size: { default: "md" },
|
|
10
|
-
color: { default: "primary" },
|
|
11
|
-
type: { default: "button" },
|
|
12
|
-
rounded: { type: Boolean },
|
|
13
|
-
roundedSize: { default: "lg" },
|
|
14
|
-
noRounded: { type: Boolean },
|
|
15
|
-
outline: { type: Boolean },
|
|
16
|
-
pastel: { type: Boolean },
|
|
17
|
-
block: { type: Boolean },
|
|
18
|
-
noUnderline: { type: Boolean },
|
|
19
|
-
loading: { type: Boolean },
|
|
20
|
-
disabled: { type: Boolean },
|
|
21
|
-
fab: { type: Boolean },
|
|
22
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
23
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
noPadding: { type: Boolean },
|
|
26
|
-
noElevation: { type: Boolean },
|
|
27
|
-
justify: { default: "center" }
|
|
28
|
-
},
|
|
29
|
-
setup(i) {
|
|
30
|
-
const n = i, u = z(() => import("./MazSpinner-CyvYTwaV.mjs")), r = z(() => import("./MazIcon-B4CDdmqe.mjs")), { href: p, to: b } = $(), m = o(() => p ? "a" : b ? "router-link" : "button"), g = o(
|
|
31
|
-
() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
|
|
32
|
-
), v = o(
|
|
33
|
-
() => (n.loading || n.disabled) && m.value === "button"
|
|
34
|
-
), j = o(() => v.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => m.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
|
|
35
|
-
return (e, A) => (t(), a(d(m.value), {
|
|
36
|
-
disabled: v.value || void 0,
|
|
37
|
-
class: l(["m-btn", [
|
|
38
|
-
`--${e.size}`,
|
|
39
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
40
|
-
g.value,
|
|
41
|
-
j.value,
|
|
42
|
-
B.value,
|
|
43
|
-
I.value,
|
|
44
|
-
{
|
|
45
|
-
"--block": e.block,
|
|
46
|
-
"--no-underline": e.noUnderline,
|
|
47
|
-
"--fab": e.fab,
|
|
48
|
-
"--loading": e.loading,
|
|
49
|
-
"--disabled": v.value,
|
|
50
|
-
"--rounded": e.rounded,
|
|
51
|
-
"--no-rounded": e.noRounded,
|
|
52
|
-
"--no-padding": e.noPadding,
|
|
53
|
-
"--no-elevation": e.noElevation
|
|
54
|
-
}
|
|
55
|
-
]]),
|
|
56
|
-
type: C.value
|
|
57
|
-
}, {
|
|
58
|
-
default: S(() => [
|
|
59
|
-
f(e.$slots, "left-icon", {}, () => [
|
|
60
|
-
typeof e.leftIcon == "string" ? (t(), a(c(r), {
|
|
61
|
-
key: 0,
|
|
62
|
-
name: e.leftIcon,
|
|
63
|
-
class: l([s.value])
|
|
64
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(d(e.leftIcon), {
|
|
65
|
-
key: 1,
|
|
66
|
-
class: l([s.value])
|
|
67
|
-
}, null, 8, ["class"])) : y("v-if", !0)
|
|
68
|
-
], !0),
|
|
69
|
-
f(e.$slots, "icon", {}, () => [
|
|
70
|
-
typeof e.icon == "string" ? (t(), a(c(r), {
|
|
71
|
-
key: 0,
|
|
72
|
-
name: e.icon,
|
|
73
|
-
class: l([s.value])
|
|
74
|
-
}, null, 8, ["name", "class"])) : e.icon ? (t(), a(d(e.icon), {
|
|
75
|
-
key: 1,
|
|
76
|
-
class: l([s.value])
|
|
77
|
-
}, null, 8, ["class"])) : y("v-if", !0)
|
|
78
|
-
], !0),
|
|
79
|
-
f(e.$slots, "default", {}, void 0, !0),
|
|
80
|
-
f(e.$slots, "right-icon", {}, () => [
|
|
81
|
-
typeof e.rightIcon == "string" ? (t(), a(c(r), {
|
|
82
|
-
key: 0,
|
|
83
|
-
name: e.rightIcon,
|
|
84
|
-
class: l([s.value])
|
|
85
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(d(e.rightIcon), {
|
|
86
|
-
key: 1,
|
|
87
|
-
class: l([s.value])
|
|
88
|
-
}, null, 8, ["class"])) : y("v-if", !0)
|
|
89
|
-
], !0),
|
|
90
|
-
k.value ? (t(), M("div", w, [
|
|
91
|
-
O(c(u), {
|
|
92
|
-
size: "2em",
|
|
93
|
-
color: e.color
|
|
94
|
-
}, null, 8, ["color"])
|
|
95
|
-
])) : y("v-if", !0)
|
|
96
|
-
]),
|
|
97
|
-
_: 3
|
|
98
|
-
/* FORWARDED */
|
|
99
|
-
}, 8, ["disabled", "class", "type"]));
|
|
100
|
-
}
|
|
101
|
-
}), F = (i, n) => {
|
|
102
|
-
const u = i.__vccOpts || i;
|
|
103
|
-
for (const [r, p] of n)
|
|
104
|
-
u[r] = p;
|
|
105
|
-
return u;
|
|
106
|
-
}, N = /* @__PURE__ */ F(E, [["__scopeId", "data-v-95f33abf"]]);
|
|
107
|
-
export {
|
|
108
|
-
N as M,
|
|
109
|
-
F as _
|
|
110
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { defineComponent as h, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as S, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as w } from "vue";
|
|
2
|
-
import { _ as E } from "./MazSelect-CJnsMuMG.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const F = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, O = /* @__PURE__ */ h({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean },
|
|
28
|
-
justify: { default: "center" }
|
|
29
|
-
},
|
|
30
|
-
setup(p) {
|
|
31
|
-
const n = p, v = m(() => import("./MazSpinner-XikQHrkW.mjs")), f = m(() => import("./MazIcon-B4CDdmqe.mjs")), { href: z, to: b } = $(), c = o(() => z ? "a" : b ? "router-link" : "button"), g = o(
|
|
32
|
-
() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
|
|
33
|
-
), y = o(
|
|
34
|
-
() => (n.loading || n.disabled) && c.value === "button"
|
|
35
|
-
), j = o(() => y.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => c.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
|
|
36
|
-
return (e, A) => (t(), a(r(c.value), {
|
|
37
|
-
disabled: y.value || void 0,
|
|
38
|
-
class: l(["m-btn", [
|
|
39
|
-
`--${e.size}`,
|
|
40
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
41
|
-
g.value,
|
|
42
|
-
j.value,
|
|
43
|
-
B.value,
|
|
44
|
-
I.value,
|
|
45
|
-
{
|
|
46
|
-
"--block": e.block,
|
|
47
|
-
"--no-underline": e.noUnderline,
|
|
48
|
-
"--fab": e.fab,
|
|
49
|
-
"--loading": e.loading,
|
|
50
|
-
"--disabled": y.value,
|
|
51
|
-
"--rounded": e.rounded,
|
|
52
|
-
"--no-rounded": e.noRounded,
|
|
53
|
-
"--no-padding": e.noPadding,
|
|
54
|
-
"--no-elevation": e.noElevation
|
|
55
|
-
}
|
|
56
|
-
]]),
|
|
57
|
-
type: C.value
|
|
58
|
-
}, {
|
|
59
|
-
default: S(() => [
|
|
60
|
-
i(e.$slots, "left-icon", {}, () => [
|
|
61
|
-
typeof e.leftIcon == "string" ? (t(), a(u(f), {
|
|
62
|
-
key: 0,
|
|
63
|
-
name: e.leftIcon,
|
|
64
|
-
class: l([s.value])
|
|
65
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
|
|
66
|
-
key: 1,
|
|
67
|
-
class: l([s.value])
|
|
68
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
69
|
-
], !0),
|
|
70
|
-
i(e.$slots, "icon", {}, () => [
|
|
71
|
-
typeof e.icon == "string" ? (t(), a(u(f), {
|
|
72
|
-
key: 0,
|
|
73
|
-
name: e.icon,
|
|
74
|
-
class: l([s.value])
|
|
75
|
-
}, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
|
|
76
|
-
key: 1,
|
|
77
|
-
class: l([s.value])
|
|
78
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
79
|
-
], !0),
|
|
80
|
-
i(e.$slots, "default", {}, void 0, !0),
|
|
81
|
-
i(e.$slots, "right-icon", {}, () => [
|
|
82
|
-
typeof e.rightIcon == "string" ? (t(), a(u(f), {
|
|
83
|
-
key: 0,
|
|
84
|
-
name: e.rightIcon,
|
|
85
|
-
class: l([s.value])
|
|
86
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
|
|
87
|
-
key: 1,
|
|
88
|
-
class: l([s.value])
|
|
89
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
90
|
-
], !0),
|
|
91
|
-
k.value ? (t(), M("div", F, [
|
|
92
|
-
w(u(v), {
|
|
93
|
-
size: "2em",
|
|
94
|
-
color: e.color
|
|
95
|
-
}, null, 8, ["color"])
|
|
96
|
-
])) : d("v-if", !0)
|
|
97
|
-
]),
|
|
98
|
-
_: 3
|
|
99
|
-
/* FORWARDED */
|
|
100
|
-
}, 8, ["disabled", "class", "type"]));
|
|
101
|
-
}
|
|
102
|
-
}), P = /* @__PURE__ */ E(O, [["__scopeId", "data-v-95f33abf"]]);
|
|
103
|
-
export {
|
|
104
|
-
P as default
|
|
105
|
-
};
|
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
import { defineComponent as h, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as S, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as w } from "vue";
|
|
2
|
-
import { _ as E } from "./MazDialog-Cyo_BtT4.mjs";
|
|
3
|
-
import '../assets/MazBtn.css';const F = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "m-btn-loader-container"
|
|
6
|
-
}, O = /* @__PURE__ */ h({
|
|
7
|
-
__name: "MazBtn",
|
|
8
|
-
props: {
|
|
9
|
-
variant: { default: "button" },
|
|
10
|
-
size: { default: "md" },
|
|
11
|
-
color: { default: "primary" },
|
|
12
|
-
type: { default: "button" },
|
|
13
|
-
rounded: { type: Boolean },
|
|
14
|
-
roundedSize: { default: "lg" },
|
|
15
|
-
noRounded: { type: Boolean },
|
|
16
|
-
outline: { type: Boolean },
|
|
17
|
-
pastel: { type: Boolean },
|
|
18
|
-
block: { type: Boolean },
|
|
19
|
-
noUnderline: { type: Boolean },
|
|
20
|
-
loading: { type: Boolean },
|
|
21
|
-
disabled: { type: Boolean },
|
|
22
|
-
fab: { type: Boolean },
|
|
23
|
-
icon: { type: [String, Function, Object], default: void 0 },
|
|
24
|
-
leftIcon: { type: [String, Function, Object], default: void 0 },
|
|
25
|
-
rightIcon: { type: [String, Function, Object], default: void 0 },
|
|
26
|
-
noPadding: { type: Boolean },
|
|
27
|
-
noElevation: { type: Boolean },
|
|
28
|
-
justify: { default: "center" }
|
|
29
|
-
},
|
|
30
|
-
setup(p) {
|
|
31
|
-
const n = p, v = m(() => import("./MazSpinner-CQAyxmwJ.mjs")), f = m(() => import("./MazIcon-B4CDdmqe.mjs")), { href: z, to: b } = $(), c = o(() => z ? "a" : b ? "router-link" : "button"), g = o(
|
|
32
|
-
() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
|
|
33
|
-
), y = o(
|
|
34
|
-
() => (n.loading || n.disabled) && c.value === "button"
|
|
35
|
-
), j = o(() => y.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => c.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
|
|
36
|
-
return (e, A) => (t(), a(r(c.value), {
|
|
37
|
-
disabled: y.value || void 0,
|
|
38
|
-
class: l(["m-btn", [
|
|
39
|
-
`--${e.size}`,
|
|
40
|
-
!e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
|
|
41
|
-
g.value,
|
|
42
|
-
j.value,
|
|
43
|
-
B.value,
|
|
44
|
-
I.value,
|
|
45
|
-
{
|
|
46
|
-
"--block": e.block,
|
|
47
|
-
"--no-underline": e.noUnderline,
|
|
48
|
-
"--fab": e.fab,
|
|
49
|
-
"--loading": e.loading,
|
|
50
|
-
"--disabled": y.value,
|
|
51
|
-
"--rounded": e.rounded,
|
|
52
|
-
"--no-rounded": e.noRounded,
|
|
53
|
-
"--no-padding": e.noPadding,
|
|
54
|
-
"--no-elevation": e.noElevation
|
|
55
|
-
}
|
|
56
|
-
]]),
|
|
57
|
-
type: C.value
|
|
58
|
-
}, {
|
|
59
|
-
default: S(() => [
|
|
60
|
-
i(e.$slots, "left-icon", {}, () => [
|
|
61
|
-
typeof e.leftIcon == "string" ? (t(), a(u(f), {
|
|
62
|
-
key: 0,
|
|
63
|
-
name: e.leftIcon,
|
|
64
|
-
class: l([s.value])
|
|
65
|
-
}, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
|
|
66
|
-
key: 1,
|
|
67
|
-
class: l([s.value])
|
|
68
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
69
|
-
], !0),
|
|
70
|
-
i(e.$slots, "icon", {}, () => [
|
|
71
|
-
typeof e.icon == "string" ? (t(), a(u(f), {
|
|
72
|
-
key: 0,
|
|
73
|
-
name: e.icon,
|
|
74
|
-
class: l([s.value])
|
|
75
|
-
}, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
|
|
76
|
-
key: 1,
|
|
77
|
-
class: l([s.value])
|
|
78
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
79
|
-
], !0),
|
|
80
|
-
i(e.$slots, "default", {}, void 0, !0),
|
|
81
|
-
i(e.$slots, "right-icon", {}, () => [
|
|
82
|
-
typeof e.rightIcon == "string" ? (t(), a(u(f), {
|
|
83
|
-
key: 0,
|
|
84
|
-
name: e.rightIcon,
|
|
85
|
-
class: l([s.value])
|
|
86
|
-
}, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
|
|
87
|
-
key: 1,
|
|
88
|
-
class: l([s.value])
|
|
89
|
-
}, null, 8, ["class"])) : d("v-if", !0)
|
|
90
|
-
], !0),
|
|
91
|
-
k.value ? (t(), M("div", F, [
|
|
92
|
-
w(u(v), {
|
|
93
|
-
size: "2em",
|
|
94
|
-
color: e.color
|
|
95
|
-
}, null, 8, ["color"])
|
|
96
|
-
])) : d("v-if", !0)
|
|
97
|
-
]),
|
|
98
|
-
_: 3
|
|
99
|
-
/* FORWARDED */
|
|
100
|
-
}, 8, ["disabled", "class", "type"]));
|
|
101
|
-
}
|
|
102
|
-
}), P = /* @__PURE__ */ E(O, [["__scopeId", "data-v-95f33abf"]]);
|
|
103
|
-
export {
|
|
104
|
-
P as default
|
|
105
|
-
};
|