maz-ui 3.47.2-beta.8 → 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.d.ts +3 -2
- package/components/MazAccordion.mjs +76 -77
- package/components/MazAnimatedCounter.d.ts +16 -32
- package/components/MazAnimatedCounter.mjs +7 -7
- package/components/MazAvatar.d.ts +2 -1
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBackdrop.d.ts +23 -14
- package/components/MazBackdrop.mjs +107 -82
- package/components/MazBadge.d.ts +7 -2
- package/components/MazBadge.mjs +2 -2
- package/components/MazBottomSheet.d.ts +13 -25
- 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/MazCardSpotlight.mjs +7 -7
- package/components/MazCarousel.d.ts +3 -2
- package/components/MazCarousel.mjs +1 -1
- package/components/MazChart.mjs +13 -13
- package/components/MazCheckbox.d.ts +4 -3
- package/components/MazCheckbox.mjs +36 -37
- package/components/MazChecklist.d.ts +1 -1
- package/components/MazChecklist.mjs +1 -1
- package/components/MazCircularProgressBar.d.ts +30 -59
- package/components/MazCircularProgressBar.mjs +65 -63
- package/components/MazDialog.d.ts +24 -33
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise.d.ts +3 -3
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.d.ts +9 -5
- package/components/MazDrawer.mjs +2 -194
- package/components/MazDropdown.d.ts +2 -1
- package/components/MazDropdown.mjs +1 -1
- package/components/MazDropzone.d.ts +1 -1
- package/components/MazDropzone.mjs +1 -1
- package/components/MazExpandAnimation.d.ts +6 -5
- package/components/MazExpandAnimation.mjs +8 -8
- package/components/MazFullscreenLoader.d.ts +2 -1
- package/components/MazFullscreenLoader.mjs +2 -40
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.mjs +21 -19
- package/components/MazInput.d.ts +18 -3
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.d.ts +1 -1
- package/components/MazInputCode.mjs +2 -2
- 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/MazLazyImg.mjs +1 -1
- package/components/MazLink.d.ts +4 -3
- package/components/MazLink.mjs +6 -6
- package/components/MazLoadingBar.d.ts +1 -1
- package/components/MazLoadingBar.mjs +17 -17
- package/components/MazPagination.d.ts +3 -2
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +31 -55
- package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +13 -24
- 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/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/MazPullToRefresh.mjs +1 -1
- package/components/MazRadio.d.ts +1 -1
- package/components/MazRadio.mjs +18 -19
- package/components/MazRadioButtons.d.ts +1 -1
- package/components/MazRadioButtons.mjs +2 -2
- package/components/MazReadingProgressBar.mjs +15 -15
- package/components/MazSelect.d.ts +2 -2
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider.mjs +31 -31
- package/components/MazSpinner.d.ts +1 -1
- package/components/MazSpinner.mjs +7 -7
- package/components/MazStepper.d.ts +4 -3
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.d.ts +2 -1
- package/components/MazSwitch.mjs +19 -20
- package/components/MazTable.d.ts +2 -2
- package/components/MazTable.mjs +1 -1
- package/components/MazTableCell.d.ts +3 -2
- package/components/MazTableCell.mjs +12 -12
- package/components/MazTableRow.d.ts +3 -2
- package/components/MazTableRow.mjs +6 -6
- package/components/MazTableTitle.d.ts +3 -2
- package/components/MazTableTitle.mjs +11 -11
- package/components/MazTabs.d.ts +6 -5
- package/components/MazTabs.mjs +7 -7
- package/components/MazTabsBar.d.ts +3 -2
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContent.d.ts +3 -2
- package/components/MazTabsContent.mjs +4 -4
- package/components/MazTabsContentItem.d.ts +2 -1
- package/components/MazTabsContentItem.mjs +10 -10
- package/components/MazTextarea.d.ts +58 -32
- package/components/MazTextarea.mjs +128 -109
- package/components/MazTransitionExpand.d.ts +2 -1
- package/components/MazTransitionExpand.mjs +3 -3
- 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-DFoZvWmg.mjs → MazAvatar-CuOWgdVG.mjs} +54 -54
- package/components/chunks/{MazBadge-qdgVtKdQ.mjs → MazBadge-tPgFsG6Y.mjs} +6 -6
- package/components/chunks/MazBottomSheet-CMqzf-dT.mjs +224 -0
- package/{modules/chunks/MazBtn-D6K3B6XM.mjs → components/chunks/MazBtn-B16x1gSu.mjs} +33 -35
- package/components/chunks/{MazBtn-C0fZIwfM.mjs → MazBtn-BLSmc1v4.mjs} +33 -35
- package/components/chunks/{MazBtn-DMcVZ1r9.mjs → MazBtn-BcrrOaO_.mjs} +33 -35
- package/components/chunks/{MazBtn-BtmrmjP3.mjs → MazBtn-Bje1xDu3.mjs} +33 -35
- package/components/chunks/MazBtn-C5sb0470.mjs +103 -0
- package/components/chunks/MazBtn-CPwCJ1l-.mjs +103 -0
- package/components/chunks/MazBtn-Cf-LPT5p.mjs +103 -0
- package/components/chunks/MazBtn-DCyFSkZo.mjs +103 -0
- package/components/chunks/MazBtn-DETtZdlj.mjs +103 -0
- package/components/chunks/MazBtn-DnJzOPh9.mjs +103 -0
- package/components/chunks/MazBtn-DsGaq_eB.mjs +108 -0
- package/components/chunks/MazBtn-S7EnZYtZ.mjs +103 -0
- package/components/chunks/MazBtn-iYAY4cer.mjs +103 -0
- package/components/chunks/MazBtn-v4i4k53h.mjs +103 -0
- package/components/chunks/{MazCard-DMDzDjHR.mjs → MazCard-l54W3CUU.mjs} +3 -3
- package/components/chunks/{MazCarousel-BjBQQBFN.mjs → MazCarousel-C16E1i1T.mjs} +3 -3
- package/components/chunks/{MazCheckbox-Dgn0lw5f.mjs → MazCheckbox-C1nh-xQt.mjs} +3 -3
- package/components/chunks/{MazCheckbox-DXcpsRU4.mjs → MazCheckbox-CEsAHbdi.mjs} +3 -3
- package/components/chunks/{MazCheckbox-9R4fuM8t.mjs → MazCheckbox-D-7-TdgO.mjs} +4 -4
- package/components/chunks/{MazChecklist-D_IebAis.mjs → MazChecklist-DSfD55m5.mjs} +127 -128
- 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-urkh4dW3.mjs → MazDropdown-DNXKdC_3.mjs} +8 -7
- package/components/chunks/{MazDropzone-DKFkgqqD.mjs → MazDropzone-n0JE92da.mjs} +2 -2
- package/components/chunks/{MazExpandAnimation-CWDhei53.mjs → MazExpandAnimation-B04WMwpW.mjs} +8 -8
- package/components/chunks/MazFullscreenLoader-XF8wIEcL.mjs +48 -0
- package/components/chunks/{MazGallery-DNN_xBeg.mjs → MazGallery-CzlKPQFX.mjs} +67 -67
- package/components/chunks/{MazGallery-ndO4hRUh.mjs → MazGallery-DdZ3bFvX.mjs} +68 -68
- package/components/chunks/{MazIcon-B4CDdmqe.mjs → MazIcon-Cq1v4J3r.mjs} +21 -19
- package/components/chunks/{MazIcon-B7Mn8F75.mjs → MazIcon-DQXhsxp8.mjs} +14 -12
- package/{modules/chunks/MazIcon-BRGZkufX.mjs → components/chunks/MazIcon-DR6-win-.mjs} +15 -13
- package/components/chunks/MazIcon-Gv6n6i4M.mjs +4 -0
- package/components/chunks/MazInput-BjnuoFvn.mjs +313 -0
- package/components/chunks/MazInput-DB4HtpCQ.mjs +314 -0
- package/components/chunks/MazInput-yBii2AFS.mjs +324 -0
- package/components/chunks/MazInputNumber-DqnLi9-C.mjs +600 -0
- package/components/chunks/{MazInputPrice-C207E4RH.mjs → MazInputPrice-Ca8mL53M.mjs} +201 -170
- package/components/chunks/MazInputTags-Bto9dVQq.mjs +613 -0
- package/components/chunks/{MazLazyImg-C03sUOXs.mjs → MazLazyImg-D9mlGTCs.mjs} +4 -4
- package/components/chunks/{MazLazyImg-B-6PQWEi.mjs → MazLazyImg-DnJyLBjr.mjs} +3 -3
- package/components/chunks/{MazLink-Ch-w_Lf_.mjs → MazLink-DlUG7E5K.mjs} +3 -3
- package/components/chunks/{MazLoadingBar-rusnhtnI.mjs → MazLoadingBar-DBt1Ltm5.mjs} +8 -8
- package/components/chunks/MazPagination-sxkvTajI.mjs +327 -0
- package/components/chunks/MazPhoneNumberInput-C3j3JyDI.mjs +1813 -0
- package/components/chunks/MazPicker-BUXJof_-.mjs +2486 -0
- package/components/chunks/{MazPickerMonthSwitcher-D46P6nV5.mjs → MazPickerMonthSwitcher-DW2WfonJ.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-C50DAlfT.mjs → MazPickerShortcuts-fw4-dWSv.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-5EW9ebYR.mjs → MazPickerYearSwitcher-aHvmQBF1.mjs} +1 -1
- package/components/chunks/{MazPullToRefresh-CFQX0soS.mjs → MazPullToRefresh-a1rT-zWr.mjs} +3 -3
- package/components/chunks/MazSelect-BwahUlbE.mjs +867 -0
- 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-B2mZYoLS.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-BxlN_quv.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-CQAyxmwJ.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-BWyXIppj.mjs → MazStepper-DtAqtJjn.mjs} +32 -32
- package/components/chunks/{MazTable-BpIXKltC.mjs → MazTable-Soe-MrTW.mjs} +79 -74
- package/components/chunks/{MazTableCell-DQAaVtw4.mjs → MazTableCell-DtoO9MOe.mjs} +6 -6
- package/components/chunks/MazTableRow-ChFMulaU.mjs +30 -0
- package/components/chunks/{MazTableTitle-DbCN1l2O.mjs → MazTableTitle-D8El-v5p.mjs} +6 -6
- package/components/chunks/{MazTabsBar-jlclO5zk.mjs → MazTabsBar-8wchBiYF.mjs} +21 -21
- package/components/chunks/{MazTransitionExpand-B2jKLvyg.mjs → MazTransitionExpand-CRArAQZu.mjs} +12 -12
- 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/modules/chunks/MazBtn-Z86MClP9.mjs +103 -0
- package/modules/chunks/{MazIcon--UTNvIe4.cjs → MazIcon-BwgJhGLT.cjs} +1 -1
- package/{components/chunks/MazIcon-BSgK89NE.mjs → modules/chunks/MazIcon-XtyPgbu6.mjs} +15 -13
- package/{components/chunks/MazSpinner-CAR4Mm9l.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-7UZ6u--K.mjs → index-YwIF5a3Q.mjs} +1194 -954
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +47 -46
- package/nuxt/index.json +1 -1
- package/package.json +23 -22
- package/tailwindcss/tailwind.css +0 -6
- package/tailwindcss/utils/colors.ts +9 -5
- package/tailwindcss/variables/utilities.ts +3 -0
- 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 +23 -14
- package/types/components/MazBadge.vue.d.ts +7 -2
- package/types/components/MazBottomSheet.vue.d.ts +13 -25
- 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 +30 -59
- package/types/components/MazDialog.vue.d.ts +24 -33
- package/types/components/MazDialogPromise.vue.d.ts +3 -3
- package/types/components/MazDrawer.vue.d.ts +9 -5
- 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 +18 -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 +4 -3
- 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 +31 -55
- package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +13 -24
- 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/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 +2 -2
- package/types/components/MazSpinner.vue.d.ts +1 -1
- package/types/components/MazStepper.vue.d.ts +4 -3
- 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 +6 -5
- 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 +58 -32
- package/types/components/MazTransitionExpand.vue.d.ts +2 -1
- 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/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +1 -1
- 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 -239
- package/components/chunks/MazBottomSheet-DX3dl16f.mjs +0 -208
- 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/MazDialog-Cyo_BtT4.mjs +0 -237
- package/components/chunks/MazDialogPromise-CHyri_Q5.mjs +0 -488
- 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/MazInputNumber-qQ6MrK-y.mjs +0 -571
- package/components/chunks/MazInputTags-a57ZPojk.mjs +0 -584
- package/components/chunks/MazPagination-CJEC7Y4E.mjs +0 -329
- package/components/chunks/MazPhoneNumberInput-BUe2kgX6.mjs +0 -1774
- package/components/chunks/MazPicker-DteyWEwr.mjs +0 -2457
- package/components/chunks/MazSelect-C0rk6m_5.mjs +0 -552
- package/components/chunks/MazSelect-CJnsMuMG.mjs +0 -839
- package/components/chunks/MazSpinner-CbuG6vB-.mjs +0 -34
- package/components/chunks/MazSpinner-Cef473zM.mjs +0 -34
- package/components/chunks/MazSpinner-CkOG2EM9.mjs +0 -34
- 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-CyvYTwaV.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-DjM6ktPY.mjs +0 -34
- package/components/chunks/MazSpinner-DqZc3-_U.mjs +0 -34
- package/components/chunks/MazSpinner-Du5o8JC_.mjs +0 -38
- package/components/chunks/MazSpinner-XB6tX3Ld.mjs +0 -34
- package/components/chunks/MazSpinner-XikQHrkW.mjs +0 -34
- package/components/chunks/MazSpinner-a80KrraB.mjs +0 -34
- package/components/chunks/MazSpinner-f6pBzqbu.mjs +0 -34
- package/components/chunks/MazSpinner-q-AqkAjI.mjs +0 -34
- package/components/chunks/MazTableRow-CN415w3y.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-BLjl_mR0.cjs +0 -1
- package/modules/chunks/MazSpinner-9EkSWhvP.mjs +0 -34
- package/modules/chunks/MazSpinner-B82Q3oFJ.cjs +0 -1
- package/modules/chunks/index-fosopmwd.cjs +0 -124
- package/types/components/MazPhoneNumberInput.vue.d.ts +0 -239
|
@@ -4,6 +4,7 @@ export interface Props {
|
|
|
4
4
|
contentClass?: unknown;
|
|
5
5
|
}
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
7
8
|
slots: Partial<Record<`title-${number}`, (_: {
|
|
8
9
|
isOpen: boolean;
|
|
9
10
|
}) => any>> & Partial<Record<`content-${number}`, (_: {
|
|
@@ -14,7 +15,7 @@ declare function __VLS_template(): {
|
|
|
14
15
|
}): any;
|
|
15
16
|
};
|
|
16
17
|
refs: {};
|
|
17
|
-
|
|
18
|
+
rootEl: HTMLDivElement;
|
|
18
19
|
};
|
|
19
20
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
21
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -25,7 +26,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
25
26
|
id: string;
|
|
26
27
|
modelValue: number;
|
|
27
28
|
contentClass: undefined;
|
|
28
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
30
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
30
31
|
export default _default;
|
|
31
32
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openBlock as p, createElementBlock as
|
|
1
|
+
import { openBlock as p, createElementBlock as g, createElementVNode as u, computed as $, useId as V, defineComponent as w, ref as f, onMounted as O, onUnmounted as B, normalizeClass as b, normalizeStyle as k, renderSlot as h, withDirectives as E, vShow as z, mergeModels as A, useModel as x, mergeProps as I, useSlots as L, Fragment as j, renderList as F, createBlock as N, withCtx as M, unref as y, createVNode as S } from "vue";
|
|
2
2
|
import './assets/MazAccordion.css';const R = {
|
|
3
3
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4
4
|
width: "1em",
|
|
@@ -6,9 +6,9 @@ import './assets/MazAccordion.css';const R = {
|
|
|
6
6
|
fill: "none",
|
|
7
7
|
viewBox: "0 0 24 24"
|
|
8
8
|
};
|
|
9
|
-
function P(r,
|
|
10
|
-
return p(),
|
|
11
|
-
|
|
9
|
+
function P(r, t) {
|
|
10
|
+
return p(), g("svg", R, t[0] || (t[0] = [
|
|
11
|
+
u(
|
|
12
12
|
"path",
|
|
13
13
|
{
|
|
14
14
|
stroke: "currentColor",
|
|
@@ -26,10 +26,9 @@ function P(r, n) {
|
|
|
26
26
|
const T = { render: P };
|
|
27
27
|
function U({
|
|
28
28
|
componentName: r,
|
|
29
|
-
providedId:
|
|
29
|
+
providedId: t
|
|
30
30
|
}) {
|
|
31
|
-
|
|
32
|
-
return g(() => n ?? `${r}-${o}`);
|
|
31
|
+
return $(() => t ?? `${r}-${V().replace(/:/g, "")}`);
|
|
33
32
|
}
|
|
34
33
|
const q = { class: "inner" }, D = /* @__PURE__ */ w({
|
|
35
34
|
__name: "MazCardSpotlight",
|
|
@@ -42,16 +41,16 @@ const q = { class: "inner" }, D = /* @__PURE__ */ w({
|
|
|
42
41
|
innerOpacity: { default: 0.95 }
|
|
43
42
|
},
|
|
44
43
|
setup(r) {
|
|
45
|
-
const
|
|
46
|
-
function m({ clientX: d, clientY:
|
|
47
|
-
var e, _,
|
|
44
|
+
const t = r, l = f(), o = f(), s = f(!1);
|
|
45
|
+
function m({ clientX: d, clientY: c }) {
|
|
46
|
+
var e, _, n;
|
|
48
47
|
s.value = !0;
|
|
49
|
-
const v = (e =
|
|
50
|
-
v && ((
|
|
48
|
+
const v = (e = o.value) == null ? void 0 : e.getBoundingClientRect();
|
|
49
|
+
v && ((n = (_ = l.value) == null ? void 0 : _.animate) == null || n.call(
|
|
51
50
|
_,
|
|
52
51
|
[
|
|
53
52
|
{
|
|
54
|
-
transform: `translate(${d - v.left - v.width / 2}px,${
|
|
53
|
+
transform: `translate(${d - v.left - v.width / 2}px,${c - v.top - v.height / 2}px)`
|
|
55
54
|
}
|
|
56
55
|
],
|
|
57
56
|
{
|
|
@@ -60,23 +59,23 @@ const q = { class: "inner" }, D = /* @__PURE__ */ w({
|
|
|
60
59
|
}
|
|
61
60
|
));
|
|
62
61
|
}
|
|
63
|
-
const
|
|
62
|
+
const a = $(() => `var(--maz-color-${t.color}-alpha)`), i = $(() => `var(--maz-color-${t.color}-alpha-20)`);
|
|
64
63
|
return O(() => {
|
|
65
64
|
window.addEventListener("mousemove", m);
|
|
66
65
|
}), B(() => {
|
|
67
66
|
window.removeEventListener("mousemove", m);
|
|
68
|
-
}), (d,
|
|
67
|
+
}), (d, c) => (p(), g(
|
|
69
68
|
"div",
|
|
70
69
|
{
|
|
71
|
-
class:
|
|
70
|
+
class: b(["m-card-spotlight m-reset-css", { "maz-elevation": !d.noElevation }]),
|
|
72
71
|
style: k({ backgroundColor: i.value, "--inner-opacity": d.innerOpacity })
|
|
73
72
|
},
|
|
74
73
|
[
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
u("div", q, [
|
|
75
|
+
u(
|
|
77
76
|
"div",
|
|
78
77
|
{
|
|
79
|
-
class:
|
|
78
|
+
class: b(["content", [{ "maz-p-4": d.padding }, d.contentClass]])
|
|
80
79
|
},
|
|
81
80
|
[
|
|
82
81
|
h(d.$slots, "default", {}, void 0, !0)
|
|
@@ -85,13 +84,13 @@ const q = { class: "inner" }, D = /* @__PURE__ */ w({
|
|
|
85
84
|
/* CLASS */
|
|
86
85
|
)
|
|
87
86
|
]),
|
|
88
|
-
E(
|
|
87
|
+
E(u(
|
|
89
88
|
"div",
|
|
90
89
|
{
|
|
91
90
|
ref_key: "blobElement",
|
|
92
|
-
ref:
|
|
91
|
+
ref: l,
|
|
93
92
|
class: "blob",
|
|
94
|
-
style: k({ backgroundColor:
|
|
93
|
+
style: k({ backgroundColor: a.value })
|
|
95
94
|
},
|
|
96
95
|
null,
|
|
97
96
|
4
|
|
@@ -99,11 +98,11 @@ const q = { class: "inner" }, D = /* @__PURE__ */ w({
|
|
|
99
98
|
), [
|
|
100
99
|
[z, s.value]
|
|
101
100
|
]),
|
|
102
|
-
E(
|
|
101
|
+
E(u(
|
|
103
102
|
"div",
|
|
104
103
|
{
|
|
105
104
|
ref_key: "fakeblobElement",
|
|
106
|
-
ref:
|
|
105
|
+
ref: o,
|
|
107
106
|
class: "fakeblob"
|
|
108
107
|
},
|
|
109
108
|
null,
|
|
@@ -117,12 +116,12 @@ const q = { class: "inner" }, D = /* @__PURE__ */ w({
|
|
|
117
116
|
/* CLASS, STYLE */
|
|
118
117
|
));
|
|
119
118
|
}
|
|
120
|
-
}), C = (r,
|
|
121
|
-
const
|
|
122
|
-
for (const [
|
|
123
|
-
o
|
|
124
|
-
return
|
|
125
|
-
}, H = /* @__PURE__ */ C(D, [["__scopeId", "data-v-
|
|
119
|
+
}), C = (r, t) => {
|
|
120
|
+
const l = r.__vccOpts || r;
|
|
121
|
+
for (const [o, s] of t)
|
|
122
|
+
l[o] = s;
|
|
123
|
+
return l;
|
|
124
|
+
}, H = /* @__PURE__ */ C(D, [["__scopeId", "data-v-4f773edc"]]), W = ["aria-hidden"], G = /* @__PURE__ */ w({
|
|
126
125
|
inheritAttrs: !1,
|
|
127
126
|
__name: "MazExpandAnimation",
|
|
128
127
|
props: /* @__PURE__ */ A({
|
|
@@ -134,44 +133,44 @@ const q = { class: "inner" }, D = /* @__PURE__ */ w({
|
|
|
134
133
|
}),
|
|
135
134
|
emits: ["update:modelValue"],
|
|
136
135
|
setup(r) {
|
|
137
|
-
const
|
|
136
|
+
const t = x(r, "modelValue"), l = f(!t.value), o = f();
|
|
138
137
|
function s() {
|
|
139
|
-
|
|
138
|
+
t.value || (l.value = !0);
|
|
140
139
|
}
|
|
141
140
|
function m() {
|
|
142
|
-
|
|
141
|
+
t.value && (l.value = !1);
|
|
143
142
|
}
|
|
144
143
|
return O(() => {
|
|
145
|
-
var
|
|
146
|
-
(
|
|
144
|
+
var a, i;
|
|
145
|
+
(a = o.value) == null || a.addEventListener("transitionstart", s, !1), (i = o.value) == null || i.addEventListener("transitionend", m, !1);
|
|
147
146
|
}), B(() => {
|
|
148
|
-
var
|
|
149
|
-
(
|
|
150
|
-
}), (
|
|
147
|
+
var a, i;
|
|
148
|
+
(a = o.value) == null || a.removeEventListener("transitionstart", s, !1), (i = o.value) == null || i.removeEventListener("transitionend", m, !1);
|
|
149
|
+
}), (a, i) => (p(), g("div", {
|
|
151
150
|
ref_key: "expandAnimationRef",
|
|
152
|
-
ref:
|
|
153
|
-
class:
|
|
154
|
-
"aria-hidden": !
|
|
151
|
+
ref: o,
|
|
152
|
+
class: b(["m-expand-animation m-reset-css", { "m-expand-animation--expanded": t.value }]),
|
|
153
|
+
"aria-hidden": !t.value,
|
|
155
154
|
role: "region",
|
|
156
|
-
style: k([{ "--expand-animation-duration":
|
|
155
|
+
style: k([{ "--expand-animation-duration": a.duration, "--expand-animation-timing-function": a.timingFunction }])
|
|
157
156
|
}, [
|
|
158
|
-
|
|
157
|
+
u(
|
|
159
158
|
"div",
|
|
160
|
-
I({ class: "m-expand-animation__inner" },
|
|
159
|
+
I({ class: "m-expand-animation__inner" }, a.$attrs, {
|
|
161
160
|
class: {
|
|
162
|
-
"--overflow-hidden":
|
|
161
|
+
"--overflow-hidden": l.value
|
|
163
162
|
}
|
|
164
163
|
}),
|
|
165
164
|
[
|
|
166
|
-
h(
|
|
165
|
+
h(a.$slots, "default", {}, void 0, !0)
|
|
167
166
|
],
|
|
168
167
|
16
|
|
169
168
|
/* FULL_PROPS */
|
|
170
169
|
)
|
|
171
170
|
], 14, W));
|
|
172
171
|
}
|
|
173
|
-
}), J = /* @__PURE__ */ C(G, [["__scopeId", "data-v-
|
|
174
|
-
class: "m-accordion",
|
|
172
|
+
}), J = /* @__PURE__ */ C(G, [["__scopeId", "data-v-058a2912"]]), K = {
|
|
173
|
+
class: "m-accordion m-reset-css",
|
|
175
174
|
role: "presentation"
|
|
176
175
|
}, Q = ["id", "aria-controls", "aria-expanded", "onClick"], X = /* @__PURE__ */ w({
|
|
177
176
|
__name: "MazAccordion",
|
|
@@ -181,68 +180,68 @@ const q = { class: "inner" }, D = /* @__PURE__ */ w({
|
|
|
181
180
|
contentClass: { default: void 0 }
|
|
182
181
|
},
|
|
183
182
|
emits: ["update:model-value"],
|
|
184
|
-
setup(r, { emit:
|
|
185
|
-
const
|
|
183
|
+
setup(r, { emit: t }) {
|
|
184
|
+
const l = r, o = t, s = U({
|
|
186
185
|
componentName: "MazAccordion",
|
|
187
|
-
providedId:
|
|
188
|
-
}), m = L(),
|
|
186
|
+
providedId: l.id
|
|
187
|
+
}), m = L(), a = $(
|
|
189
188
|
() => Object.keys(m).filter((e) => e.startsWith("title-")).length
|
|
190
|
-
), i = f(
|
|
191
|
-
get: () =>
|
|
189
|
+
), i = f(l.modelValue), d = $({
|
|
190
|
+
get: () => l.modelValue || i.value,
|
|
192
191
|
set: (e) => {
|
|
193
|
-
i.value = e,
|
|
192
|
+
i.value = e, o("update:model-value", e);
|
|
194
193
|
}
|
|
195
194
|
});
|
|
196
|
-
function
|
|
195
|
+
function c(e) {
|
|
197
196
|
return d.value === e;
|
|
198
197
|
}
|
|
199
198
|
function v(e) {
|
|
200
|
-
d.value === e ? (i.value = 0,
|
|
199
|
+
d.value === e ? (i.value = 0, o("update:model-value", 0)) : (i.value = e, o("update:model-value", e));
|
|
201
200
|
}
|
|
202
|
-
return (e, _) => (p(),
|
|
203
|
-
(p(!0),
|
|
201
|
+
return (e, _) => (p(), g("div", K, [
|
|
202
|
+
(p(!0), g(
|
|
204
203
|
j,
|
|
205
204
|
null,
|
|
206
|
-
F(
|
|
205
|
+
F(a.value, (n) => (p(), N(
|
|
207
206
|
H,
|
|
208
207
|
{
|
|
209
|
-
key:
|
|
208
|
+
key: n,
|
|
210
209
|
class: "m-accordion__spotlight",
|
|
211
210
|
padding: !1
|
|
212
211
|
},
|
|
213
212
|
{
|
|
214
213
|
default: M(() => [
|
|
215
|
-
|
|
216
|
-
id: `step-${
|
|
214
|
+
u("button", {
|
|
215
|
+
id: `step-${n}-${y(s)}`,
|
|
217
216
|
class: "m-accordion__header",
|
|
218
|
-
"aria-controls": `step-${
|
|
219
|
-
"aria-expanded":
|
|
220
|
-
onClick: (Y) => v(
|
|
217
|
+
"aria-controls": `step-${n}-${y(s)}`,
|
|
218
|
+
"aria-expanded": c(n),
|
|
219
|
+
onClick: (Y) => v(n)
|
|
221
220
|
}, [
|
|
222
|
-
h(e.$slots, `title-${
|
|
223
|
-
isOpen:
|
|
221
|
+
h(e.$slots, `title-${n}`, {
|
|
222
|
+
isOpen: c(n)
|
|
224
223
|
}, void 0, !0),
|
|
225
224
|
S(y(T), {
|
|
226
|
-
class:
|
|
225
|
+
class: b(["header-icon", { "--rotate": c(n) }])
|
|
227
226
|
}, null, 8, ["class"])
|
|
228
227
|
], 8, Q),
|
|
229
228
|
S(J, {
|
|
230
229
|
"animation-duration": "300ms",
|
|
231
|
-
"model-value":
|
|
232
|
-
"aria-labelledby": `step-${
|
|
230
|
+
"model-value": c(n),
|
|
231
|
+
"aria-labelledby": `step-${n}-${y(s)}`
|
|
233
232
|
}, {
|
|
234
233
|
default: M(() => [
|
|
235
|
-
|
|
234
|
+
u(
|
|
236
235
|
"div",
|
|
237
236
|
{
|
|
238
|
-
class:
|
|
237
|
+
class: b(["m-accordion__content", e.contentClass])
|
|
239
238
|
},
|
|
240
239
|
[
|
|
241
240
|
h(e.$slots, "content", {
|
|
242
|
-
isOpen:
|
|
241
|
+
isOpen: c(n)
|
|
243
242
|
}, void 0, !0),
|
|
244
|
-
h(e.$slots, `content-${
|
|
245
|
-
isOpen:
|
|
243
|
+
h(e.$slots, `content-${n}`, {
|
|
244
|
+
isOpen: c(n)
|
|
246
245
|
}, void 0, !0)
|
|
247
246
|
],
|
|
248
247
|
2
|
|
@@ -264,7 +263,7 @@ const q = { class: "inner" }, D = /* @__PURE__ */ w({
|
|
|
264
263
|
))
|
|
265
264
|
]));
|
|
266
265
|
}
|
|
267
|
-
}), ee = /* @__PURE__ */ C(X, [["__scopeId", "data-v-
|
|
266
|
+
}), ee = /* @__PURE__ */ C(X, [["__scopeId", "data-v-6a945de6"]]);
|
|
268
267
|
export {
|
|
269
268
|
ee as default
|
|
270
269
|
};
|
|
@@ -1,33 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
slots: {
|
|
3
|
-
prefix?(_: {}): any;
|
|
4
|
-
prefix?(_: {}): any;
|
|
5
|
-
suffix?(_: {}): any;
|
|
6
|
-
suffix?(_: {}): any;
|
|
7
|
-
};
|
|
8
|
-
refs: {};
|
|
9
|
-
attrs: Partial<{}>;
|
|
10
|
-
};
|
|
11
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
13
|
-
/**
|
|
14
|
-
* The number to animate
|
|
15
|
-
*/
|
|
16
|
-
count: number;
|
|
17
|
-
/**
|
|
18
|
-
* Duration of the animation in milliseconds
|
|
19
|
-
* @default 1000
|
|
20
|
-
*/
|
|
21
|
-
duration?: number;
|
|
22
|
-
/**
|
|
23
|
-
* Suffix to display next to the number
|
|
24
|
-
*/
|
|
25
|
-
prefix?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Suffix to display next to the number
|
|
28
|
-
*/
|
|
29
|
-
suffix?: string;
|
|
30
|
-
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
1
|
+
type __VLS_Props = {
|
|
31
2
|
/**
|
|
32
3
|
* The number to animate
|
|
33
4
|
*/
|
|
@@ -45,11 +16,24 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
45
16
|
* Suffix to display next to the number
|
|
46
17
|
*/
|
|
47
18
|
suffix?: string;
|
|
48
|
-
}
|
|
19
|
+
};
|
|
20
|
+
declare function __VLS_template(): {
|
|
21
|
+
attrs: Partial<{}>;
|
|
22
|
+
slots: {
|
|
23
|
+
prefix?(_: {}): any;
|
|
24
|
+
prefix?(_: {}): any;
|
|
25
|
+
suffix?(_: {}): any;
|
|
26
|
+
suffix?(_: {}): any;
|
|
27
|
+
};
|
|
28
|
+
refs: {};
|
|
29
|
+
rootEl: HTMLSpanElement;
|
|
30
|
+
};
|
|
31
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
32
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
49
33
|
duration: number;
|
|
50
34
|
prefix: string;
|
|
51
35
|
suffix: string;
|
|
52
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
53
37
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
54
38
|
export default _default;
|
|
55
39
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as v, useSlots as x, computed as l, ref as _, watch as h, openBlock as d, createElementBlock as
|
|
1
|
+
import { defineComponent as v, useSlots as x, computed as l, ref as _, watch as h, openBlock as d, createElementBlock as m, normalizeClass as y, normalizeStyle as z, createElementVNode as C, renderSlot as i, createTextVNode as o, toDisplayString as a, createCommentVNode as S } from "vue";
|
|
2
2
|
import './assets/MazAnimatedCounter.css';const $ = { class: "maz-sr-only" }, k = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "m-animated-counter__fix"
|
|
@@ -20,18 +20,18 @@ import './assets/MazAnimatedCounter.css';const $ = { class: "maz-sr-only" }, k =
|
|
|
20
20
|
}, 100));
|
|
21
21
|
}
|
|
22
22
|
);
|
|
23
|
-
const
|
|
24
|
-
return (e, c) => (d(),
|
|
23
|
+
const p = l(() => `${t.duration}ms`);
|
|
24
|
+
return (e, c) => (d(), m(
|
|
25
25
|
"span",
|
|
26
26
|
{
|
|
27
|
-
class: y(["m-animated-counter", {
|
|
27
|
+
class: y(["m-animated-counter m-reset-css", {
|
|
28
28
|
"--animated": f.value,
|
|
29
29
|
"--prefixed": r.value,
|
|
30
30
|
"--suffixed": u.value
|
|
31
31
|
}]),
|
|
32
32
|
style: z({
|
|
33
33
|
"--count": e.count,
|
|
34
|
-
"--animation-duration":
|
|
34
|
+
"--animation-duration": p.value
|
|
35
35
|
})
|
|
36
36
|
},
|
|
37
37
|
[
|
|
@@ -56,7 +56,7 @@ import './assets/MazAnimatedCounter.css';const $ = { class: "maz-sr-only" }, k =
|
|
|
56
56
|
)
|
|
57
57
|
], !0)
|
|
58
58
|
]),
|
|
59
|
-
r.value || u.value ? (d(),
|
|
59
|
+
r.value || u.value ? (d(), m("span", k, [
|
|
60
60
|
i(e.$slots, "prefix", {}, () => [
|
|
61
61
|
o(
|
|
62
62
|
a(e.prefix),
|
|
@@ -82,7 +82,7 @@ import './assets/MazAnimatedCounter.css';const $ = { class: "maz-sr-only" }, k =
|
|
|
82
82
|
for (const [r, u] of t)
|
|
83
83
|
s[r] = u;
|
|
84
84
|
return s;
|
|
85
|
-
}, V = /* @__PURE__ */ M(A, [["__scopeId", "data-v-
|
|
85
|
+
}, V = /* @__PURE__ */ M(A, [["__scopeId", "data-v-c2cd744f"]]);
|
|
86
86
|
export {
|
|
87
87
|
V as default
|
|
88
88
|
};
|
|
@@ -57,13 +57,14 @@ export interface Props {
|
|
|
57
57
|
loading?: 'lazy' | 'eager' | 'intersecting';
|
|
58
58
|
}
|
|
59
59
|
declare function __VLS_template(): {
|
|
60
|
+
attrs: Partial<{}>;
|
|
60
61
|
slots: {
|
|
61
62
|
"round-text"?(_: {}): any;
|
|
62
63
|
icon?(_: {}): any;
|
|
63
64
|
caption?(_: {}): any;
|
|
64
65
|
};
|
|
65
66
|
refs: {};
|
|
66
|
-
|
|
67
|
+
rootEl: any;
|
|
67
68
|
};
|
|
68
69
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
69
70
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
package/components/MazAvatar.mjs
CHANGED
|
@@ -1,13 +1,29 @@
|
|
|
1
1
|
import { type HTMLAttributes } from 'vue';
|
|
2
|
-
export interface
|
|
2
|
+
export interface MazBackdropProps {
|
|
3
|
+
/** @model Modal's model value */
|
|
3
4
|
modelValue?: boolean;
|
|
5
|
+
/** Teleport selector */
|
|
4
6
|
teleportSelector?: string;
|
|
7
|
+
/** Function called before modal is close */
|
|
5
8
|
beforeClose?: () => Promise<void> | void;
|
|
9
|
+
/** Persistent dialog (not closable by clicking outside and remove close button) */
|
|
6
10
|
persistent?: boolean;
|
|
11
|
+
/** Prevent close on escape key */
|
|
7
12
|
noCloseOnEscKey?: boolean;
|
|
13
|
+
/** Transition name */
|
|
8
14
|
transitionName?: string;
|
|
15
|
+
/** Backdrop class */
|
|
9
16
|
backdropClass?: HTMLAttributes['class'];
|
|
17
|
+
/** Backdrop content class */
|
|
10
18
|
backdropContentClass?: HTMLAttributes['class'];
|
|
19
|
+
/** Add padding to the content */
|
|
20
|
+
contentPadding?: boolean;
|
|
21
|
+
/** Justify content */
|
|
22
|
+
justify?: 'center' | 'end' | 'start' | 'space-between' | 'space-around' | 'none';
|
|
23
|
+
/** Align content */
|
|
24
|
+
align?: 'center' | 'end' | 'start' | 'none';
|
|
25
|
+
/** Variant */
|
|
26
|
+
variant?: 'bottom-sheet' | 'dialog' | 'drawer';
|
|
11
27
|
}
|
|
12
28
|
declare function close(): void;
|
|
13
29
|
declare function toggleModal(value: any): Promise<void>;
|
|
@@ -16,16 +32,18 @@ declare function onBackdropAnimationLeave(): void;
|
|
|
16
32
|
declare function onBackdropClicked(): void;
|
|
17
33
|
declare function onKeyPress(event: KeyboardEvent): void;
|
|
18
34
|
declare function __VLS_template(): {
|
|
35
|
+
attrs: Partial<{}>;
|
|
19
36
|
slots: {
|
|
20
37
|
default?(_: {
|
|
21
38
|
close: typeof close;
|
|
39
|
+
onBackdropClicked: typeof onBackdropClicked;
|
|
22
40
|
}): any;
|
|
23
41
|
};
|
|
24
42
|
refs: {};
|
|
25
|
-
|
|
43
|
+
rootEl: any;
|
|
26
44
|
};
|
|
27
45
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
28
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
46
|
+
declare const __VLS_component: import("vue").DefineComponent<MazBackdropProps, {
|
|
29
47
|
onBackdropAnimationEnter: typeof onBackdropAnimationEnter;
|
|
30
48
|
onBackdropAnimationLeave: typeof onBackdropAnimationLeave;
|
|
31
49
|
onBackdropClicked: typeof onBackdropClicked;
|
|
@@ -38,21 +56,12 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
|
38
56
|
open: (value: void) => any;
|
|
39
57
|
"update:model-value": (value: boolean) => any;
|
|
40
58
|
"before-close": (value: void) => any;
|
|
41
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
59
|
+
}, string, import("vue").PublicProps, Readonly<MazBackdropProps> & Readonly<{
|
|
42
60
|
onClose?: ((value?: void | undefined) => any) | undefined;
|
|
43
61
|
onOpen?: ((value?: void | undefined) => any) | undefined;
|
|
44
62
|
"onUpdate:model-value"?: ((value: boolean) => any) | undefined;
|
|
45
63
|
"onBefore-close"?: ((value?: void | undefined) => any) | undefined;
|
|
46
|
-
}>, {
|
|
47
|
-
modelValue: boolean;
|
|
48
|
-
teleportSelector: string;
|
|
49
|
-
beforeClose: () => Promise<void> | void;
|
|
50
|
-
persistent: boolean;
|
|
51
|
-
noCloseOnEscKey: boolean;
|
|
52
|
-
transitionName: string;
|
|
53
|
-
backdropClass: HTMLAttributes["class"];
|
|
54
|
-
backdropContentClass: HTMLAttributes["class"];
|
|
55
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
64
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
56
65
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
57
66
|
export default _default;
|
|
58
67
|
type __VLS_WithTemplateSlots<T, S> = T & {
|