maz-ui 3.47.2-beta.9 → 3.48.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.mjs +76 -77
- package/components/MazAnimatedCounter.mjs +7 -7
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBackdrop.d.ts +21 -13
- package/components/MazBackdrop.mjs +107 -82
- package/components/MazBadge.mjs +2 -2
- package/components/MazBottomSheet.d.ts +11 -24
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.mjs +7 -7
- package/components/MazCarousel.mjs +1 -1
- package/components/MazChart.mjs +13 -13
- package/components/MazCheckbox.mjs +36 -37
- package/components/MazChecklist.mjs +1 -1
- package/components/MazCircularProgressBar.d.ts +18 -0
- package/components/MazCircularProgressBar.mjs +40 -38
- package/components/MazDialog.d.ts +20 -31
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.d.ts +3 -3
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.d.ts +7 -4
- package/components/MazDrawer.mjs +2 -194
- package/components/MazDropdown.mjs +1 -1
- package/components/MazDropzone.mjs +1 -1
- package/components/MazExpandAnimation.mjs +8 -8
- package/components/MazFullscreenLoader.mjs +2 -40
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.mjs +9 -8
- package/components/MazInput.d.ts +2 -0
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.mjs +2 -2
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.mjs +1 -1
- package/components/MazLink.d.ts +2 -2
- package/components/MazLink.mjs +6 -6
- package/components/MazLoadingBar.mjs +17 -17
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +2 -2
- package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +12 -23
- package/components/MazPhoneNumberInput/types.d.ts +4 -2
- package/{types/components/MazPhoneNumberInput/use-libphonenumber.d.ts → components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
- package/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.mjs +1 -1
- package/components/MazRadio.mjs +18 -19
- package/components/MazRadioButtons.mjs +2 -2
- package/components/MazReadingProgressBar.mjs +15 -15
- package/components/MazSelect.d.ts +1 -1
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider.mjs +31 -31
- package/components/MazSpinner.mjs +7 -7
- package/components/MazStepper.d.ts +1 -1
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.mjs +19 -20
- package/components/MazTable.mjs +1 -1
- package/components/MazTableCell.mjs +12 -12
- package/components/MazTableRow.mjs +6 -6
- package/components/MazTableTitle.mjs +11 -11
- package/components/MazTabs.d.ts +3 -3
- package/components/MazTabs.mjs +7 -7
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContent.mjs +4 -4
- package/components/MazTabsContentItem.mjs +10 -10
- package/components/MazTextarea.d.ts +26 -48
- package/components/MazTextarea.mjs +4 -5
- package/components/MazTransitionExpand.mjs +10 -10
- package/components/assets/MazAccordion.css +1 -1
- package/components/assets/MazAnimatedCounter.css +1 -1
- package/components/assets/MazAvatar.css +1 -1
- package/components/assets/MazBackdrop.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/MazChecklist.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/MazDrawer.css +1 -1
- package/components/assets/MazExpandAnimation.css +1 -1
- package/components/assets/MazFullscreenLoader.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/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/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-CZzOIbzh.mjs → MazAvatar-CuOWgdVG.mjs} +18 -18
- package/components/chunks/{MazBadge-CupQjB8D.mjs → MazBadge-tPgFsG6Y.mjs} +6 -6
- package/components/chunks/MazBottomSheet-CMqzf-dT.mjs +224 -0
- package/components/chunks/MazBtn-B16x1gSu.mjs +103 -0
- package/components/chunks/MazBtn-BLSmc1v4.mjs +103 -0
- package/components/chunks/MazBtn-BcrrOaO_.mjs +103 -0
- package/components/chunks/MazBtn-Bje1xDu3.mjs +103 -0
- package/components/chunks/MazBtn-C5sb0470.mjs +103 -0
- package/components/chunks/MazBtn-CPwCJ1l-.mjs +103 -0
- package/components/chunks/{MazBtn-BVWOyFm-.mjs → MazBtn-Cf-LPT5p.mjs} +4 -4
- package/components/chunks/MazBtn-DCyFSkZo.mjs +103 -0
- package/components/chunks/{MazBtn-DhSKmF01.mjs → MazBtn-DETtZdlj.mjs} +3 -3
- package/components/chunks/{MazBtn-BSgCMRt0.mjs → MazBtn-DnJzOPh9.mjs} +4 -4
- package/components/chunks/{MazBtn-CM-xSnA5.mjs → MazBtn-DsGaq_eB.mjs} +3 -3
- package/components/chunks/{MazBtn-Br3xKJMD.mjs → MazBtn-S7EnZYtZ.mjs} +4 -4
- package/components/chunks/MazBtn-iYAY4cer.mjs +103 -0
- package/components/chunks/MazBtn-v4i4k53h.mjs +103 -0
- package/components/chunks/{MazCard-XBaeDZkg.mjs → MazCard-l54W3CUU.mjs} +3 -3
- package/components/chunks/{MazCarousel-COTaKhKF.mjs → MazCarousel-C16E1i1T.mjs} +3 -3
- package/components/chunks/{MazCheckbox-DxfneUvu.mjs → MazCheckbox-C1nh-xQt.mjs} +7 -7
- package/components/chunks/{MazCheckbox-B-Sw22La.mjs → MazCheckbox-CEsAHbdi.mjs} +7 -7
- package/components/chunks/{MazCheckbox-DjY15PA3.mjs → MazCheckbox-D-7-TdgO.mjs} +4 -4
- package/components/chunks/{MazChecklist-DaozZlNb.mjs → MazChecklist-DSfD55m5.mjs} +125 -126
- package/components/chunks/MazDialog-BjQ3ivmv.mjs +297 -0
- package/components/chunks/MazDialogPromise-Bg3ZOsEI.mjs +551 -0
- package/components/chunks/MazDrawer-BqNLfW4e.mjs +226 -0
- package/components/chunks/{MazDropdown-CKuIGitT.mjs → MazDropdown-DNXKdC_3.mjs} +5 -5
- package/components/chunks/{MazDropzone-DKFkgqqD.mjs → MazDropzone-n0JE92da.mjs} +2 -2
- package/components/chunks/{MazExpandAnimation-Bdf0-L85.mjs → MazExpandAnimation-B04WMwpW.mjs} +8 -8
- package/components/chunks/MazFullscreenLoader-XF8wIEcL.mjs +48 -0
- package/components/chunks/{MazGallery-BooLoRWi.mjs → MazGallery-CzlKPQFX.mjs} +67 -67
- package/components/chunks/{MazGallery-DUOQamrE.mjs → MazGallery-DdZ3bFvX.mjs} +68 -68
- package/components/chunks/{MazIcon-_hN-Kivn.mjs → MazIcon-Cq1v4J3r.mjs} +9 -8
- package/components/chunks/{MazIcon-C-aPrqx2.mjs → MazIcon-DQXhsxp8.mjs} +11 -10
- package/components/chunks/{MazIcon-DFW4cVVf.mjs → MazIcon-DR6-win-.mjs} +12 -11
- package/components/chunks/MazIcon-Gv6n6i4M.mjs +4 -0
- package/components/chunks/{MazInput-HLPtw5QK.mjs → MazInput-BjnuoFvn.mjs} +36 -36
- package/components/chunks/{MazInput-BWAWlxDa.mjs → MazInput-DB4HtpCQ.mjs} +13 -13
- package/components/chunks/{MazInput-DIN1VAoX.mjs → MazInput-yBii2AFS.mjs} +27 -28
- package/components/chunks/{MazInputNumber-7Ku2ZcG-.mjs → MazInputNumber-DqnLi9-C.mjs} +81 -82
- package/components/chunks/{MazInputPrice-C5yErBFP.mjs → MazInputPrice-Ca8mL53M.mjs} +44 -45
- package/components/chunks/{MazInputTags-DvbQ2mK8.mjs → MazInputTags-Bto9dVQq.mjs} +78 -79
- package/components/chunks/{MazLazyImg-DQLwaKKz.mjs → MazLazyImg-D9mlGTCs.mjs} +4 -4
- package/components/chunks/{MazLazyImg-B-6PQWEi.mjs → MazLazyImg-DnJyLBjr.mjs} +3 -3
- package/components/chunks/{MazLink-mrqHeBS0.mjs → MazLink-DlUG7E5K.mjs} +3 -3
- package/components/chunks/{MazLoadingBar-CNm3Yt6D.mjs → MazLoadingBar-DBt1Ltm5.mjs} +8 -8
- package/components/chunks/{MazPagination-BSu0Ifkp.mjs → MazPagination-sxkvTajI.mjs} +49 -49
- package/components/chunks/MazPhoneNumberInput-C3j3JyDI.mjs +1813 -0
- package/components/chunks/{MazPicker-CzYUZcLy.mjs → MazPicker-BUXJof_-.mjs} +19 -20
- package/components/chunks/{MazPickerMonthSwitcher-Ds5agR3Z.mjs → MazPickerMonthSwitcher-DW2WfonJ.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-BP6CY9-c.mjs → MazPickerShortcuts-fw4-dWSv.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-PM8qZMzR.mjs → MazPickerYearSwitcher-aHvmQBF1.mjs} +1 -1
- package/components/chunks/{MazPullToRefresh-CFQX0soS.mjs → MazPullToRefresh-a1rT-zWr.mjs} +3 -3
- package/components/chunks/{MazSelect-DOexatNj.mjs → MazSelect-BwahUlbE.mjs} +322 -326
- package/components/chunks/MazSelect-CBaOs6va.mjs +550 -0
- package/components/chunks/MazSpinner-BVQYjLWp.mjs +34 -0
- package/components/chunks/{MazSpinner-yr9xVdAa.mjs → MazSpinner-BYlkcKf0.mjs} +6 -6
- package/components/chunks/MazSpinner-B_THFs0t.mjs +34 -0
- package/components/chunks/MazSpinner-Bb1BgWPD.mjs +34 -0
- package/components/chunks/MazSpinner-Bb4B4Nz8.mjs +34 -0
- package/components/chunks/{MazSpinner-9M_EGMpy.mjs → MazSpinner-Bpkl7q5u.mjs} +7 -7
- package/components/chunks/MazSpinner-BtDo7ZEC.mjs +34 -0
- package/components/chunks/MazSpinner-C-DOH7ou.mjs +34 -0
- package/components/chunks/MazSpinner-C1Rr3w9l.mjs +34 -0
- package/components/chunks/MazSpinner-C47dmUu7.mjs +34 -0
- package/components/chunks/MazSpinner-C7_Q1K-e.mjs +34 -0
- package/components/chunks/MazSpinner-CBHbVSef.mjs +34 -0
- package/components/chunks/MazSpinner-CCThMV5o.mjs +34 -0
- package/components/chunks/MazSpinner-CizL97Q2.mjs +34 -0
- package/components/chunks/{MazSpinner-BJpv1muf.mjs → MazSpinner-Cmy2WyWY.mjs} +7 -7
- package/components/chunks/MazSpinner-CodOqnm1.mjs +34 -0
- package/components/chunks/MazSpinner-Cq0S_tbE.mjs +34 -0
- package/components/chunks/{MazSpinner-Bsy1nA3c.mjs → MazSpinner-D6PdYOcD.mjs} +7 -7
- package/components/chunks/MazSpinner-DV9-beEc.mjs +34 -0
- package/components/chunks/MazSpinner-DoFpeVcl.mjs +34 -0
- package/components/chunks/MazSpinner-Dx-3_EFZ.mjs +34 -0
- package/components/chunks/MazSpinner-PVTrAf5V.mjs +34 -0
- package/components/chunks/MazSpinner-PXSS3XT3.mjs +34 -0
- package/components/chunks/MazSpinner-XZrAaGeE.mjs +34 -0
- package/components/chunks/{MazStepper-B3fuhbye.mjs → MazStepper-DtAqtJjn.mjs} +32 -32
- package/components/chunks/{MazTable-Ci8nhgOP.mjs → MazTable-Soe-MrTW.mjs} +79 -74
- package/components/chunks/{MazTableCell-BIganK6X.mjs → MazTableCell-DtoO9MOe.mjs} +6 -6
- package/components/chunks/MazTableRow-ChFMulaU.mjs +30 -0
- package/components/chunks/{MazTableTitle-OEgTPQB3.mjs → MazTableTitle-D8El-v5p.mjs} +6 -6
- package/components/chunks/{MazTabsBar-CT35SCIK.mjs → MazTabsBar-8wchBiYF.mjs} +21 -21
- package/components/chunks/{MazTransitionExpand-Bcwdl9g2.mjs → MazTransitionExpand-CRArAQZu.mjs} +10 -10
- package/components/chunks/examples.mobile.json-tW3aL0qI.mjs +4 -0
- package/components/chunks/useInstanceUniqId-BkOfxhk8.mjs +10 -0
- 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-D0bVfaLm.cjs +1 -0
- package/{components/chunks/MazBtn-BfIn7glE.mjs → modules/chunks/MazBtn-Z86MClP9.mjs} +4 -4
- package/modules/chunks/{MazIcon-D-Gna0vz.cjs → MazIcon-BwgJhGLT.cjs} +1 -1
- package/modules/chunks/{MazIcon-CeT6HK_q.mjs → MazIcon-XtyPgbu6.mjs} +12 -11
- package/{components/chunks/MazSpinner-BlbTztM3.mjs → modules/chunks/MazSpinner-BfUXTY7m.mjs} +7 -7
- package/modules/chunks/MazSpinner-C5Fi9q_G.cjs +1 -0
- package/modules/chunks/index-Bq5KVBKA.cjs +124 -0
- package/modules/chunks/{index-Kry9j5uD.mjs → index-YwIF5a3Q.mjs} +1187 -951
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +47 -46
- package/nuxt/index.json +1 -1
- package/package.json +4 -3
- package/tailwindcss/tailwind.css +0 -6
- package/tailwindcss/utils/colors.ts +9 -5
- package/tailwindcss/variables/utilities.ts +3 -0
- package/types/components/MazBackdrop.vue.d.ts +21 -13
- package/types/components/MazBottomSheet.vue.d.ts +11 -24
- package/types/components/MazCircularProgressBar.vue.d.ts +18 -0
- package/types/components/MazDialog.vue.d.ts +20 -31
- package/types/components/MazDialogPromise.vue.d.ts +3 -3
- package/types/components/MazDrawer.vue.d.ts +7 -4
- package/types/components/MazInput.vue.d.ts +2 -0
- package/types/components/MazLink.vue.d.ts +2 -2
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +2 -2
- package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +12 -23
- package/types/components/MazPhoneNumberInput/types.d.ts +4 -2
- package/{components/MazPhoneNumberInput/use-libphonenumber.d.ts → types/components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
- package/types/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
- package/types/components/MazSelect.vue.d.ts +1 -1
- package/types/components/MazStepper.vue.d.ts +1 -1
- package/types/components/MazTabs.vue.d.ts +3 -3
- package/types/components/MazTextarea.vue.d.ts +26 -48
- package/types/modules/composables/useFormValidator/types.d.ts +2 -2
- package/types/modules/composables/useFormValidator/useFormField.d.ts +56 -16
- package/types/modules/composables/useFormValidator/utils.d.ts +6 -6
- package/types/modules/composables/useLanguageDisplayNames.d.ts +13 -12
- package/types/modules/directives/closable.d.ts +1 -1
- package/types/modules/directives/tooltip/index.d.ts +21 -0
- package/types/tailwindcss/tailwind.config.d.ts +2 -2
- package/types/tailwindcss/utils/colors.d.ts +1 -1
- package/types/tailwindcss/variables/utilities.d.ts +3 -0
- package/components/MazPhoneNumberInput.d.ts +0 -240
- package/components/chunks/MazBottomSheet-D9EPpEV8.mjs +0 -208
- package/components/chunks/MazBtn-CB6xVwox.mjs +0 -103
- package/components/chunks/MazBtn-CIAdgMGr.mjs +0 -111
- package/components/chunks/MazBtn-CQq-U8qQ.mjs +0 -103
- package/components/chunks/MazBtn-Chk7DWOF.mjs +0 -103
- package/components/chunks/MazBtn-Ck84sP9a.mjs +0 -103
- package/components/chunks/MazBtn-DI80W9rl.mjs +0 -103
- package/components/chunks/MazBtn-DzwuLea3.mjs +0 -103
- package/components/chunks/MazBtn-tOUtVpek.mjs +0 -103
- package/components/chunks/MazDialog-XiX9LEiz.mjs +0 -237
- package/components/chunks/MazDialogPromise-B9_e3Ma9.mjs +0 -488
- package/components/chunks/MazIcon-BX2Gbz8R.mjs +0 -4
- package/components/chunks/MazPhoneNumberInput-B5Up8CqL.mjs +0 -1806
- package/components/chunks/MazSelect-DaDRzcT_.mjs +0 -552
- package/components/chunks/MazSpinner-C30YfScc.mjs +0 -34
- package/components/chunks/MazSpinner-C5mnD76l.mjs +0 -34
- package/components/chunks/MazSpinner-CDx6lo7l.mjs +0 -34
- package/components/chunks/MazSpinner-C_GueolV.mjs +0 -34
- package/components/chunks/MazSpinner-Cc-KlPEG.mjs +0 -34
- package/components/chunks/MazSpinner-Cgg2dkzQ.mjs +0 -34
- package/components/chunks/MazSpinner-CkKIUYXO.mjs +0 -34
- package/components/chunks/MazSpinner-CxyUHAvm.mjs +0 -34
- package/components/chunks/MazSpinner-DROgQW2M.mjs +0 -34
- package/components/chunks/MazSpinner-DjM6ktPY.mjs +0 -34
- package/components/chunks/MazSpinner-DjUU4G1h.mjs +0 -34
- package/components/chunks/MazSpinner-Du5o8JC_.mjs +0 -38
- package/components/chunks/MazSpinner-Dzs2W0kq.mjs +0 -34
- package/components/chunks/MazSpinner-NCtEpFMm.mjs +0 -34
- package/components/chunks/MazSpinner-QfPXLpa_.mjs +0 -34
- package/components/chunks/MazSpinner-XB6tX3Ld.mjs +0 -34
- package/components/chunks/MazSpinner-ZPQe8ON_.mjs +0 -34
- package/components/chunks/MazSpinner-b90e3OQK.mjs +0 -34
- package/components/chunks/MazSpinner-f6pBzqbu.mjs +0 -34
- package/components/chunks/MazTableRow-CIO-x6Lb.mjs +0 -30
- package/components/chunks/examples.mobile.json-JpNGylGv.mjs +0 -4
- package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +0 -11
- package/modules/chunks/MazBtn-0CRjeBvn.mjs +0 -103
- package/modules/chunks/MazBtn-DRqCRJD-.cjs +0 -1
- package/modules/chunks/MazSpinner-DV--lwdI.mjs +0 -34
- package/modules/chunks/MazSpinner-DersvZQw.cjs +0 -1
- package/modules/chunks/index-DvromXrX.cjs +0 -124
- package/types/components/MazPhoneNumberInput.vue.d.ts +0 -240
|
@@ -5,7 +5,7 @@ import './assets/MazSpinner.css';const i = ["width", "height"], m = /* @__PURE__
|
|
|
5
5
|
size: { default: "2em" },
|
|
6
6
|
color: { default: "theme" }
|
|
7
7
|
},
|
|
8
|
-
setup(
|
|
8
|
+
setup(s) {
|
|
9
9
|
return (e, t) => (p(), a("svg", {
|
|
10
10
|
width: e.size,
|
|
11
11
|
height: e.size,
|
|
@@ -15,7 +15,7 @@ import './assets/MazSpinner.css';const i = ["width", "height"], m = /* @__PURE__
|
|
|
15
15
|
y: "0px",
|
|
16
16
|
viewBox: "0 0 50 50",
|
|
17
17
|
"xml:space": "preserve",
|
|
18
|
-
class: c(["m-spinner", `m-spinner--${e.color}`]),
|
|
18
|
+
class: c(["m-spinner m-reset-css", `m-spinner--${e.color}`]),
|
|
19
19
|
style: { "enable-background": "new 0 0 50 50" }
|
|
20
20
|
}, t[0] || (t[0] = [
|
|
21
21
|
l(
|
|
@@ -27,12 +27,12 @@ import './assets/MazSpinner.css';const i = ["width", "height"], m = /* @__PURE__
|
|
|
27
27
|
)
|
|
28
28
|
]), 10, i));
|
|
29
29
|
}
|
|
30
|
-
}), d = (
|
|
31
|
-
const t =
|
|
32
|
-
for (const [
|
|
33
|
-
t[
|
|
30
|
+
}), d = (s, e) => {
|
|
31
|
+
const t = s.__vccOpts || s;
|
|
32
|
+
for (const [n, o] of e)
|
|
33
|
+
t[n] = o;
|
|
34
34
|
return t;
|
|
35
|
-
}, h = /* @__PURE__ */ d(m, [["__scopeId", "data-v-
|
|
35
|
+
}, h = /* @__PURE__ */ d(m, [["__scopeId", "data-v-52831d3b"]]);
|
|
36
36
|
export {
|
|
37
37
|
h as default
|
|
38
38
|
};
|
|
@@ -47,7 +47,7 @@ declare function __VLS_template(): {
|
|
|
47
47
|
rootEl: HTMLDivElement;
|
|
48
48
|
};
|
|
49
49
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
50
|
-
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
50
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
51
|
"update:model-value": (value: number) => any;
|
|
52
52
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
53
53
|
"onUpdate:model-value"?: ((value: number) => any) | undefined;
|
package/components/MazSwitch.mjs
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { computed as b, useId as k, defineComponent as V, ref as B, openBlock as r, createElementBlock as i, unref as c, normalizeClass as m, normalizeStyle as z, createElementVNode as f, mergeProps as C, renderSlot as E, createTextVNode as S, toDisplayString as p, createCommentVNode as h } from "vue";
|
|
2
2
|
import './assets/MazSwitch.css';function $({
|
|
3
3
|
componentName: n,
|
|
4
|
-
providedId:
|
|
4
|
+
providedId: s
|
|
5
5
|
}) {
|
|
6
|
-
|
|
7
|
-
return b(() => t ?? `${n}-${a}`);
|
|
6
|
+
return b(() => s ?? `${n}-${k().replace(/:/g, "")}`);
|
|
8
7
|
}
|
|
9
8
|
const I = ["for", "aria-checked"], N = ["id", "name", "checked", "aria-label", "disabled"], D = {
|
|
10
9
|
key: 0,
|
|
@@ -27,29 +26,29 @@ const I = ["for", "aria-checked"], N = ["id", "name", "checked", "aria-label", "
|
|
|
27
26
|
hint: {}
|
|
28
27
|
},
|
|
29
28
|
emits: ["update:model-value", "change", "blur", "focus"],
|
|
30
|
-
setup(n, { emit:
|
|
31
|
-
const
|
|
29
|
+
setup(n, { emit: s }) {
|
|
30
|
+
const l = n, o = s, d = $({
|
|
32
31
|
componentName: "MazSwitch",
|
|
33
|
-
providedId:
|
|
34
|
-
}), v = b(() =>
|
|
32
|
+
providedId: l.id
|
|
33
|
+
}), v = b(() => l.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${l.color}-alpha)`);
|
|
35
34
|
function u() {
|
|
36
|
-
o("update:model-value", !
|
|
35
|
+
o("update:model-value", !l.modelValue), o("change", !l.modelValue);
|
|
37
36
|
}
|
|
38
|
-
const
|
|
37
|
+
const t = B();
|
|
39
38
|
function y(e) {
|
|
40
39
|
["Space"].includes(e.code) && (e.preventDefault(), u());
|
|
41
40
|
}
|
|
42
41
|
function w(e) {
|
|
43
|
-
var
|
|
44
|
-
(
|
|
42
|
+
var a;
|
|
43
|
+
(a = t.value) == null || a.dispatchEvent(new Event("blur")), o("blur", e);
|
|
45
44
|
}
|
|
46
45
|
function g(e) {
|
|
47
|
-
var
|
|
48
|
-
(
|
|
46
|
+
var a;
|
|
47
|
+
(a = t.value) == null || a.dispatchEvent(new Event("focus")), o("focus", e);
|
|
49
48
|
}
|
|
50
|
-
return (e,
|
|
49
|
+
return (e, a) => (r(), i("label", {
|
|
51
50
|
for: c(d),
|
|
52
|
-
class: m(["m-switch", [{ "--is-disabled": e.disabled },
|
|
51
|
+
class: m(["m-switch m-reset-css", [{ "--is-disabled": e.disabled }, l.class]]),
|
|
53
52
|
role: "switch",
|
|
54
53
|
style: z([e.style, { "--switch-color": v.value }]),
|
|
55
54
|
"aria-checked": e.modelValue,
|
|
@@ -60,7 +59,7 @@ const I = ["for", "aria-checked"], N = ["id", "name", "checked", "aria-label", "
|
|
|
60
59
|
}, [
|
|
61
60
|
f("input", C({ id: c(d) }, e.$attrs, {
|
|
62
61
|
ref_key: "inputRef",
|
|
63
|
-
ref:
|
|
62
|
+
ref: t,
|
|
64
63
|
type: "checkbox",
|
|
65
64
|
name: e.name,
|
|
66
65
|
tabindex: "-1",
|
|
@@ -70,14 +69,14 @@ const I = ["for", "aria-checked"], N = ["id", "name", "checked", "aria-label", "
|
|
|
70
69
|
class: "m-switch__input",
|
|
71
70
|
onChange: u
|
|
72
71
|
}), null, 16, N),
|
|
73
|
-
|
|
72
|
+
a[0] || (a[0] = f(
|
|
74
73
|
"span",
|
|
75
74
|
{ class: "m-switch__toggle" },
|
|
76
75
|
null,
|
|
77
76
|
-1
|
|
78
77
|
/* HOISTED */
|
|
79
78
|
)),
|
|
80
|
-
e.$slots.default || e.label || e.hint ? (
|
|
79
|
+
e.$slots.default || e.label || e.hint ? (r(), i("span", D, [
|
|
81
80
|
E(e.$slots, "default", { value: e.modelValue }, () => [
|
|
82
81
|
S(
|
|
83
82
|
p(e.label),
|
|
@@ -85,7 +84,7 @@ const I = ["for", "aria-checked"], N = ["id", "name", "checked", "aria-label", "
|
|
|
85
84
|
/* TEXT */
|
|
86
85
|
)
|
|
87
86
|
]),
|
|
88
|
-
e.hint ? (
|
|
87
|
+
e.hint ? (r(), i(
|
|
89
88
|
"span",
|
|
90
89
|
{
|
|
91
90
|
key: 0,
|
package/components/MazTable.mjs
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { inject as c, defineComponent as
|
|
2
|
-
import './assets/MazTableCell.css';function
|
|
1
|
+
import { inject as c, defineComponent as s, openBlock as a, createElementBlock as l, normalizeClass as i, unref as _, renderSlot as m } from "vue";
|
|
2
|
+
import './assets/MazTableCell.css';function u(t, o) {
|
|
3
3
|
const e = c(t, o);
|
|
4
4
|
if (!e)
|
|
5
5
|
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${t.toString()}`);
|
|
6
6
|
return e;
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const f = "maz-table", p = (t, o) => {
|
|
9
9
|
const e = t.__vccOpts || t;
|
|
10
|
-
for (const [
|
|
11
|
-
e[
|
|
10
|
+
for (const [r, n] of o)
|
|
11
|
+
e[r] = n;
|
|
12
12
|
return e;
|
|
13
|
-
},
|
|
13
|
+
}, d = /* @__PURE__ */ s({
|
|
14
14
|
__name: "MazTableCell",
|
|
15
15
|
setup(t) {
|
|
16
|
-
const { size: o } =
|
|
17
|
-
return (e,
|
|
16
|
+
const { size: o } = u(f);
|
|
17
|
+
return (e, r) => (a(), l(
|
|
18
18
|
"td",
|
|
19
19
|
{
|
|
20
|
-
class: i(["m-table-cell", [`--${_(o)}`]])
|
|
20
|
+
class: i(["m-table-cell m-reset-css", [`--${_(o)}`]])
|
|
21
21
|
},
|
|
22
22
|
[
|
|
23
|
-
|
|
23
|
+
m(e.$slots, "default", {}, void 0, !0)
|
|
24
24
|
],
|
|
25
25
|
2
|
|
26
26
|
/* CLASS */
|
|
27
27
|
));
|
|
28
28
|
}
|
|
29
|
-
}),
|
|
29
|
+
}), b = /* @__PURE__ */ p(d, [["__scopeId", "data-v-f338a7b0"]]);
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
b as default
|
|
32
32
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { inject as c, defineComponent as
|
|
1
|
+
import { inject as c, defineComponent as s, openBlock as l, createElementBlock as d, normalizeClass as u, unref as a, renderSlot as i } from "vue";
|
|
2
2
|
import './assets/MazTableRow.css';function p(o, t) {
|
|
3
3
|
const e = c(o, t);
|
|
4
4
|
if (!e)
|
|
5
5
|
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${o.toString()}`);
|
|
6
6
|
return e;
|
|
7
7
|
}
|
|
8
|
-
const b = "maz-table",
|
|
8
|
+
const b = "maz-table", m = (o, t) => {
|
|
9
9
|
const e = o.__vccOpts || o;
|
|
10
10
|
for (const [n, r] of t)
|
|
11
11
|
e[n] = r;
|
|
12
12
|
return e;
|
|
13
|
-
},
|
|
13
|
+
}, v = /* @__PURE__ */ s({
|
|
14
14
|
__name: "MazTableRow",
|
|
15
15
|
props: {
|
|
16
16
|
noHoverable: { type: Boolean }
|
|
17
17
|
},
|
|
18
18
|
setup(o) {
|
|
19
19
|
const { hoverable: t, backgroundEven: e, backgroundOdd: n } = p(b);
|
|
20
|
-
return (r,
|
|
20
|
+
return (r, _) => (l(), d(
|
|
21
21
|
"tr",
|
|
22
22
|
{
|
|
23
|
-
class: u(["m-table-row", {
|
|
23
|
+
class: u(["m-table-row m-reset-css", {
|
|
24
24
|
"--hoverable": a(t) && !r.noHoverable,
|
|
25
25
|
"--background-odd": a(n),
|
|
26
26
|
"--background-even": a(e)
|
|
@@ -33,7 +33,7 @@ const b = "maz-table", v = (o, t) => {
|
|
|
33
33
|
/* CLASS */
|
|
34
34
|
));
|
|
35
35
|
}
|
|
36
|
-
}), g = /* @__PURE__ */ v
|
|
36
|
+
}), g = /* @__PURE__ */ m(v, [["__scopeId", "data-v-c9f9a9c5"]]);
|
|
37
37
|
export {
|
|
38
38
|
g as default
|
|
39
39
|
};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { inject as
|
|
2
|
-
import './assets/MazTableTitle.css';function
|
|
3
|
-
const t =
|
|
1
|
+
import { inject as s, defineComponent as c, openBlock as a, createElementBlock as l, normalizeClass as i, unref as _, renderSlot as f } from "vue";
|
|
2
|
+
import './assets/MazTableTitle.css';function u(e, o) {
|
|
3
|
+
const t = s(e, o);
|
|
4
4
|
if (!t)
|
|
5
5
|
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${e.toString()}`);
|
|
6
6
|
return t;
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const m = /* @__PURE__ */ c({
|
|
9
9
|
__name: "MazTableTitle",
|
|
10
10
|
setup(e) {
|
|
11
|
-
const { size: o } =
|
|
12
|
-
return (t, r) => (
|
|
11
|
+
const { size: o } = u("maz-table");
|
|
12
|
+
return (t, r) => (a(), l(
|
|
13
13
|
"th",
|
|
14
14
|
{
|
|
15
|
-
class: i(["m-table-title", [`--${_(o)}`]])
|
|
15
|
+
class: i(["m-table-title m-reset-css", [`--${_(o)}`]])
|
|
16
16
|
},
|
|
17
17
|
[
|
|
18
|
-
|
|
18
|
+
f(t.$slots, "default", {}, void 0, !0)
|
|
19
19
|
],
|
|
20
20
|
2
|
|
21
21
|
/* CLASS */
|
|
22
22
|
));
|
|
23
23
|
}
|
|
24
|
-
}),
|
|
24
|
+
}), p = (e, o) => {
|
|
25
25
|
const t = e.__vccOpts || e;
|
|
26
26
|
for (const [r, n] of o)
|
|
27
27
|
t[r] = n;
|
|
28
28
|
return t;
|
|
29
|
-
},
|
|
29
|
+
}, v = /* @__PURE__ */ p(m, [["__scopeId", "data-v-253f46bf"]]);
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
v as default
|
|
32
32
|
};
|
package/components/MazTabs.d.ts
CHANGED
|
@@ -16,10 +16,10 @@ declare function __VLS_template(): {
|
|
|
16
16
|
rootEl: HTMLDivElement;
|
|
17
17
|
};
|
|
18
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
-
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
-
"update:model-value": (
|
|
19
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
+
"update:model-value": (value: number) => any;
|
|
21
21
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
22
|
-
"onUpdate:model-value"?: ((
|
|
22
|
+
"onUpdate:model-value"?: ((value: number) => any) | undefined;
|
|
23
23
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
24
24
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
25
25
|
export default _default;
|
package/components/MazTabs.mjs
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as n, ref as c, computed as m, provide as p, openBlock as d, createElementBlock as i, renderSlot as f } from "vue";
|
|
2
|
-
const v = { class: "m-tabs" }, T = /* @__PURE__ */ n({
|
|
2
|
+
const v = { class: "m-tabs m-reset-css" }, T = /* @__PURE__ */ n({
|
|
3
3
|
__name: "MazTabs",
|
|
4
4
|
props: {
|
|
5
5
|
modelValue: {}
|
|
6
6
|
},
|
|
7
7
|
emits: ["update:model-value"],
|
|
8
|
-
setup(o, { emit:
|
|
9
|
-
const
|
|
10
|
-
get: () =>
|
|
8
|
+
setup(o, { emit: s }) {
|
|
9
|
+
const l = o, r = s, t = c(1), a = m({
|
|
10
|
+
get: () => l.modelValue ?? t.value,
|
|
11
11
|
set: (e) => {
|
|
12
|
-
t.value = e,
|
|
12
|
+
t.value = e, r("update:model-value", e);
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
|
-
function
|
|
15
|
+
function u(e) {
|
|
16
16
|
return a.value = e, e;
|
|
17
17
|
}
|
|
18
18
|
return p("maz-tabs", {
|
|
19
19
|
currentTab: a,
|
|
20
|
-
updateCurrentTab:
|
|
20
|
+
updateCurrentTab: u
|
|
21
21
|
}), (e, _) => (d(), i("div", v, [
|
|
22
22
|
f(e.$slots, "default")
|
|
23
23
|
]));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject as l, defineComponent as
|
|
1
|
+
import { inject as l, defineComponent as s, ref as c, watch as i, openBlock as u, createElementBlock as m, normalizeClass as f, renderSlot as d } from "vue";
|
|
2
2
|
function v(n, e) {
|
|
3
3
|
let t;
|
|
4
4
|
return function(...o) {
|
|
@@ -13,7 +13,7 @@ function p(n, e) {
|
|
|
13
13
|
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${n.toString()}`);
|
|
14
14
|
return t;
|
|
15
15
|
}
|
|
16
|
-
const h = /* @__PURE__ */
|
|
16
|
+
const h = /* @__PURE__ */ s({
|
|
17
17
|
__name: "MazTabsContent",
|
|
18
18
|
setup(n) {
|
|
19
19
|
const e = c(!1), { currentTab: t } = p("maz-tabs"), o = v(() => {
|
|
@@ -22,14 +22,14 @@ const h = /* @__PURE__ */ i({
|
|
|
22
22
|
function r() {
|
|
23
23
|
e.value = !0, o();
|
|
24
24
|
}
|
|
25
|
-
return
|
|
25
|
+
return i(
|
|
26
26
|
() => t.value,
|
|
27
27
|
() => r(),
|
|
28
28
|
{ immediate: !0 }
|
|
29
29
|
), (a, w) => (u(), m(
|
|
30
30
|
"div",
|
|
31
31
|
{
|
|
32
|
-
class: f(["m-tabs-content maz-relative", { "maz-overflow-hidden": e.value }])
|
|
32
|
+
class: f(["m-tabs-content maz-relative m-reset-css", { "maz-overflow-hidden": e.value }])
|
|
33
33
|
},
|
|
34
34
|
[
|
|
35
35
|
d(a.$slots, "default")
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { inject as p, defineComponent as f, ref as
|
|
2
|
-
import './assets/MazTabsContentItem.css';function
|
|
1
|
+
import { inject as p, defineComponent as f, ref as c, watch as l, computed as i, openBlock as d, createBlock as v, Transition as _, withCtx as T, withDirectives as z, createElementVNode as C, renderSlot as w, vShow as h } from "vue";
|
|
2
|
+
import './assets/MazTabsContentItem.css';function I(e, n) {
|
|
3
3
|
const t = p(e, n);
|
|
4
4
|
if (!t)
|
|
5
5
|
throw new TypeError(`[maz-ui](injectStrict) Could not resolve ${e.toString()}`);
|
|
6
6
|
return t;
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const y = /* @__PURE__ */ f({
|
|
9
9
|
__name: "MazTabsContentItem",
|
|
10
10
|
props: {
|
|
11
11
|
tab: { type: Number, required: !0 }
|
|
12
12
|
},
|
|
13
13
|
setup(e) {
|
|
14
|
-
const n = e, t =
|
|
15
|
-
|
|
14
|
+
const n = e, t = c("maz-tab-transition"), o = c(), { currentTab: r } = I("maz-tabs");
|
|
15
|
+
l(
|
|
16
16
|
() => r.value,
|
|
17
|
-
|
|
17
|
+
(a, s) => {
|
|
18
18
|
if (typeof a == "number" && typeof s == "number") {
|
|
19
19
|
const b = s < a;
|
|
20
20
|
t.value = b ? "maz-tab-transition" : "maz-tab-reverse-transition";
|
|
@@ -22,8 +22,8 @@ const I = /* @__PURE__ */ f({
|
|
|
22
22
|
},
|
|
23
23
|
{ immediate: !0 }
|
|
24
24
|
);
|
|
25
|
-
const m =
|
|
26
|
-
return (a, s) => (
|
|
25
|
+
const m = i(() => n.tab - 1), u = i(() => r.value - 1 === m.value);
|
|
26
|
+
return (a, s) => (d(), v(_, {
|
|
27
27
|
name: t.value,
|
|
28
28
|
persisted: ""
|
|
29
29
|
}, {
|
|
@@ -33,7 +33,7 @@ const I = /* @__PURE__ */ f({
|
|
|
33
33
|
{
|
|
34
34
|
ref_key: "MazTabsContentItem",
|
|
35
35
|
ref: o,
|
|
36
|
-
class: "m-tabs-content-item"
|
|
36
|
+
class: "m-tabs-content-item m-reset-css"
|
|
37
37
|
},
|
|
38
38
|
[
|
|
39
39
|
w(a.$slots, "default", {}, void 0, !0)
|
|
@@ -53,7 +53,7 @@ const I = /* @__PURE__ */ f({
|
|
|
53
53
|
for (const [o, r] of n)
|
|
54
54
|
t[o] = r;
|
|
55
55
|
return t;
|
|
56
|
-
}, M = /* @__PURE__ */ S(
|
|
56
|
+
}, M = /* @__PURE__ */ S(y, [["__scopeId", "data-v-89ecbfa6"]]);
|
|
57
57
|
export {
|
|
58
58
|
M as default
|
|
59
59
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { Color } from './types';
|
|
2
1
|
import { type HTMLAttributes } from 'vue';
|
|
2
|
+
import type { Color } from './types';
|
|
3
3
|
export type { Color };
|
|
4
|
-
export interface
|
|
4
|
+
export interface MazTextareaProps<T extends string | undefined | null> {
|
|
5
5
|
/** Style attribut of the component root element */
|
|
6
6
|
style?: HTMLAttributes['style'];
|
|
7
7
|
/** Class attribut of the component root element */
|
|
8
8
|
class?: HTMLAttributes['class'];
|
|
9
9
|
/** @model The value of the textarea */
|
|
10
|
-
modelValue?:
|
|
10
|
+
modelValue?: T;
|
|
11
11
|
/** The id of the textarea */
|
|
12
12
|
id?: string;
|
|
13
13
|
/** The name of the textarea */
|
|
@@ -59,55 +59,33 @@ export interface Props {
|
|
|
59
59
|
*/
|
|
60
60
|
appendJustify?: 'start' | 'end' | 'center' | 'space-between' | 'space-around' | 'space-evenly';
|
|
61
61
|
}
|
|
62
|
-
declare
|
|
63
|
-
|
|
62
|
+
declare const _default: <T extends string | undefined | null>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
63
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
64
|
+
readonly onInput?: ((value?: T | undefined) => any) | undefined;
|
|
65
|
+
readonly onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
66
|
+
readonly onChange?: ((value: Event) => any) | undefined;
|
|
67
|
+
readonly onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
68
|
+
readonly "onUpdate:model-value"?: ((value?: T | undefined) => any) | undefined;
|
|
69
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onInput" | "onUpdate:model-value"> & Partial<{}> & MazTextareaProps<T>> & import("vue").PublicProps;
|
|
70
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
71
|
+
attrs: any;
|
|
64
72
|
slots: {
|
|
65
73
|
label?(_: {}): any;
|
|
66
74
|
append?(_: {}): any;
|
|
67
75
|
};
|
|
68
|
-
|
|
69
|
-
|
|
76
|
+
emit: {
|
|
77
|
+
(event: "update:model-value", value?: T): void;
|
|
78
|
+
(event: "input", value?: T): void;
|
|
79
|
+
(event: "focus", value: FocusEvent): void;
|
|
80
|
+
(event: "blur", value: FocusEvent): void;
|
|
81
|
+
(event: "change", value: Event): void;
|
|
70
82
|
};
|
|
71
|
-
|
|
83
|
+
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
84
|
+
[key: string]: any;
|
|
85
|
+
}> & {
|
|
86
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
72
87
|
};
|
|
73
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
74
|
-
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
75
|
-
input: (value?: string | undefined) => any;
|
|
76
|
-
blur: (value: FocusEvent) => any;
|
|
77
|
-
change: (value: Event) => any;
|
|
78
|
-
focus: (value: FocusEvent) => any;
|
|
79
|
-
"update:model-value": (value?: string | undefined) => any;
|
|
80
|
-
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
81
|
-
onInput?: ((value?: string | undefined) => any) | undefined;
|
|
82
|
-
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
83
|
-
onChange?: ((value: Event) => any) | undefined;
|
|
84
|
-
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
85
|
-
"onUpdate:model-value"?: ((value?: string | undefined) => any) | undefined;
|
|
86
|
-
}>, {
|
|
87
|
-
label: string;
|
|
88
|
-
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
89
|
-
error: boolean;
|
|
90
|
-
success: boolean;
|
|
91
|
-
warning: boolean;
|
|
92
|
-
transparent: boolean;
|
|
93
|
-
color: Color;
|
|
94
|
-
class: HTMLAttributes["class"];
|
|
95
|
-
name: string;
|
|
96
|
-
disabled: boolean;
|
|
97
|
-
id: string;
|
|
98
|
-
modelValue: string;
|
|
99
|
-
required: boolean;
|
|
100
|
-
readonly: boolean;
|
|
101
|
-
padding: boolean;
|
|
102
|
-
border: boolean;
|
|
103
|
-
hint: string;
|
|
104
|
-
placeholder: string;
|
|
105
|
-
appendJustify: "start" | "end" | "center" | "space-between" | "space-around" | "space-evenly";
|
|
106
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
107
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
108
88
|
export default _default;
|
|
109
|
-
type
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
};
|
|
113
|
-
};
|
|
89
|
+
type __VLS_PrettifyLocal<T> = {
|
|
90
|
+
[K in keyof T]: T[K];
|
|
91
|
+
} & {};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import './assets/MazTextarea.css';var I = Object.defineProperty;
|
|
2
2
|
var M = (r, o, t) => o in r ? I(r, o, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[o] = t;
|
|
3
3
|
var z = (r, o, t) => M(r, typeof o != "symbol" ? o + "" : o, t);
|
|
4
|
-
import {
|
|
4
|
+
import { computed as n, useId as R, defineComponent as N, ref as w, onMounted as U, onBeforeUnmount as C, useSlots as H, openBlock as l, createElementBlock as i, normalizeClass as B, unref as p, normalizeStyle as A, renderSlot as k, createTextVNode as D, toDisplayString as T, createCommentVNode as m, withDirectives as J, createElementVNode as O, mergeProps as _, toHandlers as j, vModelText as P } from "vue";
|
|
5
5
|
function G({
|
|
6
6
|
componentName: r,
|
|
7
7
|
providedId: o
|
|
8
8
|
}) {
|
|
9
|
-
|
|
10
|
-
return n(() => o ?? `${r}-${t}`);
|
|
9
|
+
return n(() => o ?? `${r}-${R().replace(/:/g, "")}`);
|
|
11
10
|
}
|
|
12
11
|
function K(r, o) {
|
|
13
12
|
let t;
|
|
@@ -124,7 +123,7 @@ const W = ["for"], X = ["for"], Y = { key: 1 }, Z = { key: 2 }, x = ["id", "plac
|
|
|
124
123
|
return "--default-border";
|
|
125
124
|
}), q = n(() => y.value !== "--default-border");
|
|
126
125
|
return (e, g) => (l(), i("label", {
|
|
127
|
-
class: B(["m-textarea", [
|
|
126
|
+
class: B(["m-textarea m-reset-css", [
|
|
128
127
|
{
|
|
129
128
|
"--is-disabled": e.disabled,
|
|
130
129
|
"--has-label": f.value,
|
|
@@ -196,7 +195,7 @@ const W = ["for"], X = ["for"], Y = { key: 1 }, Z = { key: 2 }, x = ["id", "plac
|
|
|
196
195
|
for (const [a, s] of o)
|
|
197
196
|
t[a] = s;
|
|
198
197
|
return t;
|
|
199
|
-
}, ne = /* @__PURE__ */ oe(te, [["__scopeId", "data-v-
|
|
198
|
+
}, ne = /* @__PURE__ */ oe(te, [["__scopeId", "data-v-cc98bc3c"]]);
|
|
200
199
|
export {
|
|
201
200
|
ne as default
|
|
202
201
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as p, useCssVars as d, openBlock as h, createBlock as u, TransitionGroup as y, withCtx as g, renderSlot as l, nextTick as
|
|
1
|
+
import { defineComponent as p, useCssVars as d, openBlock as h, createBlock as u, TransitionGroup as y, withCtx as g, renderSlot as l, nextTick as r } from "vue";
|
|
2
2
|
import './assets/MazTransitionExpand.css';const f = /* @__PURE__ */ p({
|
|
3
3
|
__name: "MazTransitionExpand",
|
|
4
4
|
props: {
|
|
@@ -6,32 +6,32 @@ import './assets/MazTransitionExpand.css';const f = /* @__PURE__ */ p({
|
|
|
6
6
|
},
|
|
7
7
|
setup(n) {
|
|
8
8
|
d((t) => ({
|
|
9
|
-
|
|
9
|
+
"6402c434": t.animationDuration
|
|
10
10
|
}));
|
|
11
11
|
function a(t) {
|
|
12
12
|
const o = getComputedStyle(t).width;
|
|
13
13
|
t.style.width = o, t.style.position = "absolute", t.style.visibility = "hidden", t.style.height = "auto", t.style.top = "bottom";
|
|
14
14
|
const i = getComputedStyle(t).height;
|
|
15
|
-
t.style.width = "", t.style.position = "", t.style.visibility = "", t.style.height = "0px", getComputedStyle(t).height,
|
|
15
|
+
t.style.width = "", t.style.position = "", t.style.visibility = "", t.style.height = "0px", getComputedStyle(t).height, r(() => {
|
|
16
16
|
t.style.height = i;
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
function s(t) {
|
|
20
20
|
t.style.height = "auto";
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function e(t) {
|
|
23
23
|
const o = getComputedStyle(t).height;
|
|
24
|
-
t.style.height = o, getComputedStyle(t).height,
|
|
24
|
+
t.style.height = o, getComputedStyle(t).height, r(() => {
|
|
25
25
|
t.style.height = "0px";
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
28
|
return (t, o) => (h(), u(y, {
|
|
29
|
-
class: "m-transition-expand",
|
|
29
|
+
class: "m-transition-expand m-reset-css",
|
|
30
30
|
name: "maz-expand",
|
|
31
31
|
tag: "div",
|
|
32
32
|
onEnter: o[0] || (o[0] = (i) => a(i)),
|
|
33
33
|
onAfterEnter: o[1] || (o[1] = (i) => s(i)),
|
|
34
|
-
onLeave: o[2] || (o[2] = (i) =>
|
|
34
|
+
onLeave: o[2] || (o[2] = (i) => e(i))
|
|
35
35
|
}, {
|
|
36
36
|
default: g(() => [
|
|
37
37
|
l(t.$slots, "default", {}, void 0, !0)
|
|
@@ -42,10 +42,10 @@ import './assets/MazTransitionExpand.css';const f = /* @__PURE__ */ p({
|
|
|
42
42
|
}
|
|
43
43
|
}), c = (n, a) => {
|
|
44
44
|
const s = n.__vccOpts || n;
|
|
45
|
-
for (const [
|
|
46
|
-
s[
|
|
45
|
+
for (const [e, t] of a)
|
|
46
|
+
s[e] = t;
|
|
47
47
|
return s;
|
|
48
|
-
}, v = /* @__PURE__ */ c(f, [["__scopeId", "data-v-
|
|
48
|
+
}, v = /* @__PURE__ */ c(f, [["__scopeId", "data-v-fbd5f8a0"]]);
|
|
49
49
|
export {
|
|
50
50
|
v as default
|
|
51
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.m-card-spotlight[data-v-
|
|
1
|
+
.m-card-spotlight[data-v-4f773edc]{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;overflow:hidden;border-radius:var(--maz-border-radius);padding:var(--maz-border-width)}.m-card-spotlight .inner[data-v-4f773edc]{position:relative;height:auto;width:100%;overflow:hidden;border-radius:calc(var(--maz-border-radius) - var(--maz-border-width))}.m-card-spotlight .inner[data-v-4f773edc]:before{content:"";position:absolute;left:0;top:0;z-index:1;height:100%;width:100%;background-color:var(--maz-color-bg);opacity:var(--inner-opacity)}.m-card-spotlight .content[data-v-4f773edc]{position:relative;z-index:2;height:100%;width:100%}.m-card-spotlight .blob[data-v-4f773edc]{position:absolute;left:0;top:0;z-index:0;height:16rem;width:16rem;border-radius:9999px;--tw-blur: blur(40px);-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.m-card-spotlight .fakeblob[data-v-4f773edc]{display:hidden;position:absolute;z-index:-1;top:0;left:0;width:200px;height:200px;height:13rem;width:13rem;border-radius:9999px}.m-expand-animation[data-v-058a2912]{display:grid;grid-template-rows:0fr;-webkit-transition:grid-template-rows var(--expand-animation-duration) var(--expand-animation-timing-function);transition:grid-template-rows var(--expand-animation-duration) var(--expand-animation-timing-function);transition:grid-template-rows var(--expand-animation-duration) var(--expand-animation-timing-function),-ms-grid-rows var(--expand-animation-duration) var(--expand-animation-timing-function)}.m-expand-animation__inner.--overflow-hidden[data-v-058a2912]{overflow:hidden}.m-expand-animation--expanded[data-v-058a2912]{grid-template-rows:1fr}.m-accordion[data-v-6a945de6]{position:relative;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:1rem;vertical-align:top}.m-accordion__spotlight[data-v-6a945de6]{width:100%}.m-accordion__header[data-v-6a945de6]{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;width:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;gap:1rem;padding:1rem;text-align:start;-webkit-transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-accordion__header .header-icon[data-v-6a945de6]{-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-duration:.3s;transition-duration:.3s;-webkit-transition-timing-function:cubic-bezier(.4,0,.2,1);transition-timing-function:cubic-bezier(.4,0,.2,1)}.m-accordion__header .header-icon.--rotate[data-v-6a945de6]{-webkit-transform:rotate(135deg);transform:rotate(135deg)}.m-accordion__content[data-v-6a945de6]{padding:1rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.m-animated-counter[data-v-
|
|
1
|
+
.m-animated-counter[data-v-c2cd744f]{white-space:nowrap;--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.m-animated-counter.--animated[data-v-c2cd744f]{-webkit-animation:counter-c2cd744f var(--animation-duration) ease-out forwards;animation:counter-c2cd744f var(--animation-duration) ease-out forwards;counter-set:count var(--count-end)}.m-animated-counter.--prefixed[data-v-c2cd744f]:after{content:counter(count)}.m-animated-counter.--suffixed[data-v-c2cd744f]:before{content:counter(count)}.m-animated-counter[data-v-c2cd744f]:not(.--prefixed,.--suffixed):before{content:counter(count)}@property --count{syntax: "<integer>"; initial-value: 0; inherits: false;}@property --count-end{syntax: "<integer>"; initial-value: 0; inherits: false;}@-webkit-keyframes counter-c2cd744f{0%{--count-end: 0}to{--count-end: var(--count)}}@keyframes counter-c2cd744f{0%{--count-end: 0}to{--count-end: var(--count)}}
|