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
|
@@ -111,5 +111,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
111
111
|
minDate: string;
|
|
112
112
|
maxDate: string;
|
|
113
113
|
hoverredDay: dayjs.Dayjs;
|
|
114
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
114
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
115
115
|
export default _default;
|
|
@@ -122,5 +122,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
122
122
|
maxDate: string;
|
|
123
123
|
hoverredDay: dayjs.Dayjs;
|
|
124
124
|
offsetMonth: number;
|
|
125
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
125
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
126
126
|
export default _default;
|
|
@@ -38,5 +38,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
38
38
|
"onOpen-year-switcher"?: ((...args: any[]) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
40
|
calendarDate: string;
|
|
41
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
42
42
|
export default _default;
|
|
@@ -210,5 +210,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
210
210
|
maxDate: string;
|
|
211
211
|
shortcut: string;
|
|
212
212
|
noHeader: boolean;
|
|
213
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
213
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
214
214
|
export default _default;
|
|
@@ -14,5 +14,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
14
14
|
};
|
|
15
15
|
}>> & Readonly<{
|
|
16
16
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
17
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
18
18
|
export default _default;
|
|
@@ -78,5 +78,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
78
78
|
};
|
|
79
79
|
}>> & Readonly<{}>, {
|
|
80
80
|
modelValue: PickerValue;
|
|
81
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
81
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
82
82
|
export default _default;
|
|
@@ -40,5 +40,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
40
40
|
}>> & Readonly<{
|
|
41
41
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
"onUpdate:calendar-date"?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
43
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
44
44
|
export default _default;
|
|
@@ -58,5 +58,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
}>, {
|
|
59
59
|
modelValue: PickerValue;
|
|
60
60
|
shortcut: string;
|
|
61
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
61
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
62
62
|
export default _default;
|
|
@@ -125,5 +125,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
125
125
|
minDate: string;
|
|
126
126
|
maxDate: string;
|
|
127
127
|
disabledHours: number[];
|
|
128
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
128
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
129
129
|
export default _default;
|
|
@@ -32,5 +32,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
32
32
|
}>> & Readonly<{
|
|
33
33
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
34
34
|
"onUpdate:calendar-date"?: ((...args: any[]) => any) | undefined;
|
|
35
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
35
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
36
36
|
export default _default;
|
package/components/MazPicker.mjs
CHANGED
|
@@ -11,6 +11,7 @@ export interface Props {
|
|
|
11
11
|
standaloneMode?: boolean;
|
|
12
12
|
}
|
|
13
13
|
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
14
15
|
slots: {
|
|
15
16
|
"pull-before"?(_: {}): any;
|
|
16
17
|
"pull-ready"?(_: {}): any;
|
|
@@ -18,7 +19,7 @@ declare function __VLS_template(): {
|
|
|
18
19
|
default?(_: {}): any;
|
|
19
20
|
};
|
|
20
21
|
refs: {};
|
|
21
|
-
|
|
22
|
+
rootEl: HTMLDivElement;
|
|
22
23
|
};
|
|
23
24
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
25
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -42,7 +43,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
42
43
|
headerClass: string;
|
|
43
44
|
spinnerColor: Color;
|
|
44
45
|
standaloneMode: boolean;
|
|
45
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
46
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
46
47
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
47
48
|
export default _default;
|
|
48
49
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/components/MazRadio.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ declare const _default: <T extends string | number | boolean>(__VLS_props: NonNu
|
|
|
37
37
|
readonly onChange?: ((value: T) => any) | undefined;
|
|
38
38
|
readonly onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
39
39
|
readonly "onUpdate:model-value"?: ((value: T) => any) | undefined;
|
|
40
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:model-value"> & Props<T>> & import("vue").PublicProps;
|
|
40
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:model-value"> & Partial<{}> & Props<T>> & import("vue").PublicProps;
|
|
41
41
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
42
42
|
attrs: any;
|
|
43
43
|
slots: {
|
package/components/MazRadio.mjs
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { computed as l, useId as S, defineComponent as B, ref as $, openBlock as m, createElementBlock as v, unref as f, normalizeClass as p, normalizeStyle as E, createElementVNode as i, mergeProps as I, renderSlot as V, createTextVNode as C, toDisplayString as b, createCommentVNode as R } from "vue";
|
|
2
2
|
import './assets/MazRadio.css';function N({
|
|
3
|
-
componentName:
|
|
3
|
+
componentName: o,
|
|
4
4
|
providedId: s
|
|
5
5
|
}) {
|
|
6
|
-
|
|
7
|
-
return l(() => s ?? `${r}-${a}`);
|
|
6
|
+
return l(() => s ?? `${o}-${S().replace(/:/g, "")}`);
|
|
8
7
|
}
|
|
9
8
|
const M = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "checked"], _ = { class: "m-radio__text" }, q = /* @__PURE__ */ B({
|
|
10
9
|
__name: "MazRadio",
|
|
@@ -25,8 +24,8 @@ const M = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
25
24
|
hint: {}
|
|
26
25
|
},
|
|
27
26
|
emits: ["update:model-value", "change", "blur", "focus"],
|
|
28
|
-
setup(
|
|
29
|
-
const a =
|
|
27
|
+
setup(o, { emit: s }) {
|
|
28
|
+
const a = o, n = s, t = N({
|
|
30
29
|
componentName: "MazRadio",
|
|
31
30
|
providedId: a.id
|
|
32
31
|
}), d = l(() => a.modelValue === a.value), h = l(() => {
|
|
@@ -44,7 +43,7 @@ const M = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
44
43
|
default:
|
|
45
44
|
return "1.625rem";
|
|
46
45
|
}
|
|
47
|
-
}),
|
|
46
|
+
}), g = l(() => `var(--maz-color-${a.color})`), y = l(() => a.error ? "var(--maz-color-danger)" : a.warning ? "var(--maz-color-warning)" : a.success ? "var(--maz-color-success)" : ["black", "transparent"].includes(a.color) ? "var(--maz-color-muted)" : `var(--maz-color-${a.color}-alpha)`);
|
|
48
47
|
function z(e) {
|
|
49
48
|
["Space"].includes(e.code) && (e.preventDefault(), c());
|
|
50
49
|
}
|
|
@@ -53,19 +52,19 @@ const M = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
53
52
|
}
|
|
54
53
|
const u = $();
|
|
55
54
|
function w(e) {
|
|
56
|
-
var
|
|
57
|
-
(
|
|
55
|
+
var r;
|
|
56
|
+
(r = u.value) == null || r.dispatchEvent(new Event("blur")), n("blur", e);
|
|
58
57
|
}
|
|
59
58
|
function k(e) {
|
|
60
|
-
var
|
|
61
|
-
(
|
|
59
|
+
var r;
|
|
60
|
+
(r = u.value) == null || r.dispatchEvent(new Event("focus")), n("focus", e);
|
|
62
61
|
}
|
|
63
|
-
return (e,
|
|
62
|
+
return (e, r) => (m(), v("label", {
|
|
64
63
|
for: f(t),
|
|
65
|
-
class: p(["m-radio", [{ "--disabled": e.disabled, "--selected": d.value, "--error": e.error, "--warning": e.warning, "--success": e.success }, a.class]]),
|
|
64
|
+
class: p(["m-radio m-reset-css", [{ "--disabled": e.disabled, "--selected": d.value, "--error": e.error, "--warning": e.warning, "--success": e.success }, a.class]]),
|
|
66
65
|
tabindex: "0",
|
|
67
66
|
role: "radio",
|
|
68
|
-
style: E([e.style, { "--radio-size": h.value, "--radio-selected-color":
|
|
67
|
+
style: E([e.style, { "--radio-size": h.value, "--radio-selected-color": g.value, "--radio-box-shadow": y.value }]),
|
|
69
68
|
"aria-checked": d.value,
|
|
70
69
|
onBlur: w,
|
|
71
70
|
onFocus: k,
|
|
@@ -82,9 +81,9 @@ const M = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
82
81
|
name: e.name,
|
|
83
82
|
type: "radio",
|
|
84
83
|
checked: d.value,
|
|
85
|
-
onChange:
|
|
84
|
+
onChange: r[0] || (r[0] = (H) => c())
|
|
86
85
|
}), null, 16, D),
|
|
87
|
-
|
|
86
|
+
r[1] || (r[1] = i(
|
|
88
87
|
"span",
|
|
89
88
|
null,
|
|
90
89
|
[
|
|
@@ -121,12 +120,12 @@ const M = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
|
|
|
121
120
|
])
|
|
122
121
|
], 46, M));
|
|
123
122
|
}
|
|
124
|
-
}), F = (
|
|
125
|
-
const a =
|
|
123
|
+
}), F = (o, s) => {
|
|
124
|
+
const a = o.__vccOpts || o;
|
|
126
125
|
for (const [n, t] of s)
|
|
127
126
|
a[n] = t;
|
|
128
127
|
return a;
|
|
129
|
-
}, O = /* @__PURE__ */ F(q, [["__scopeId", "data-v-
|
|
128
|
+
}, O = /* @__PURE__ */ F(q, [["__scopeId", "data-v-54e93b9f"]]);
|
|
130
129
|
export {
|
|
131
130
|
O as default
|
|
132
131
|
};
|
|
@@ -51,7 +51,7 @@ declare const _default: <T extends string | number | boolean>(__VLS_props: NonNu
|
|
|
51
51
|
readonly onChange?: ((value: T) => any) | undefined;
|
|
52
52
|
readonly onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
53
53
|
readonly "onUpdate:model-value"?: ((value: T) => any) | undefined;
|
|
54
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:model-value"> & Props<T>> & import("vue").PublicProps;
|
|
54
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:model-value"> & Partial<{}> & Props<T>> & import("vue").PublicProps;
|
|
55
55
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
56
56
|
attrs: any;
|
|
57
57
|
slots: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, defineAsyncComponent as S, ref as $, openBlock as u, createElementBlock as c, createElementVNode as y, normalizeClass as i, Fragment as E, renderList as V, normalizeStyle as b, createVNode as k, Transition as R, withCtx as F, withDirectives as N, unref as q, vShow as D, createCommentVNode as _, renderSlot as I, createTextVNode as M, toDisplayString as z } from "vue";
|
|
2
|
-
import './assets/MazRadioButtons.css';const O = { class: "m-radio-buttons" }, K = ["for", "aria-checked", "onKeydown", "onBlur", "onFocus"], T = ["id", "name", "value", "onChange"], W = {
|
|
2
|
+
import './assets/MazRadioButtons.css';const O = { class: "m-radio-buttons m-reset-css" }, K = ["for", "aria-checked", "onKeydown", "onBlur", "onFocus"], T = ["id", "name", "value", "onChange"], W = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "m-radio-buttons__items__checkbox"
|
|
5
5
|
}, A = /* @__PURE__ */ C({
|
|
@@ -171,7 +171,7 @@ import './assets/MazRadioButtons.css';const O = { class: "m-radio-buttons" }, K
|
|
|
171
171
|
for (const [s, m] of f)
|
|
172
172
|
l[s] = m;
|
|
173
173
|
return l;
|
|
174
|
-
}, j = /* @__PURE__ */ H(A, [["__scopeId", "data-v-
|
|
174
|
+
}, j = /* @__PURE__ */ H(A, [["__scopeId", "data-v-4dea30c9"]]);
|
|
175
175
|
export {
|
|
176
176
|
j as default
|
|
177
177
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as p, computed as m, ref as u, watch as v, onMounted as h, onBeforeUnmount as g, openBlock as w, createBlock as y, Teleport as b, createElementVNode as d, mergeProps as S, normalizeClass as _, normalizeStyle as T, nextTick as B } from "vue";
|
|
2
|
-
import './assets/MazReadingProgressBar.css';function C(l,
|
|
2
|
+
import './assets/MazReadingProgressBar.css';function C(l, s) {
|
|
3
3
|
let t = !1, n, o;
|
|
4
4
|
return function(...r) {
|
|
5
5
|
t ? (clearTimeout(n), n = setTimeout(() => {
|
|
6
|
-
Date.now() - o >=
|
|
7
|
-
}, Math.max(
|
|
6
|
+
Date.now() - o >= s && (l.apply(this, r), o = Date.now());
|
|
7
|
+
}, Math.max(s - (Date.now() - o), 0))) : (l.apply(this, r), o = Date.now(), t = !0);
|
|
8
8
|
};
|
|
9
9
|
}
|
|
10
10
|
const k = /* @__PURE__ */ p({
|
|
@@ -19,12 +19,12 @@ const k = /* @__PURE__ */ p({
|
|
|
19
19
|
distance: { default: void 0 }
|
|
20
20
|
},
|
|
21
21
|
emits: ["begin", "complete"],
|
|
22
|
-
setup(l, { emit:
|
|
23
|
-
const t = l, n =
|
|
22
|
+
setup(l, { emit: s }) {
|
|
23
|
+
const t = l, n = s, o = m(() => `var(--maz-color-${t.color})`), r = u(), a = u(0);
|
|
24
24
|
v(
|
|
25
25
|
() => t.distance,
|
|
26
26
|
(e) => {
|
|
27
|
-
e && (
|
|
27
|
+
e && (a.value = e);
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
30
|
immediate: !0
|
|
@@ -32,19 +32,19 @@ const k = /* @__PURE__ */ p({
|
|
|
32
32
|
);
|
|
33
33
|
const c = C(() => {
|
|
34
34
|
const e = window.scrollY;
|
|
35
|
-
if (e >= 0 && e <=
|
|
36
|
-
const i = e /
|
|
35
|
+
if (e >= 0 && e <= a.value) {
|
|
36
|
+
const i = e / a.value * 100;
|
|
37
37
|
r.value = `${i}%`;
|
|
38
|
-
} else e <= 0 ? (r.value = "0%", n("begin")) : e >
|
|
38
|
+
} else e <= 0 ? (r.value = "0%", n("begin")) : e > a.value ? (r.value = "100%", n("complete")) : r.value = "0%";
|
|
39
39
|
}, 15);
|
|
40
40
|
async function f() {
|
|
41
|
-
if (
|
|
41
|
+
if (a.value === 0) {
|
|
42
42
|
const e = document.querySelector(t.contentSelector);
|
|
43
43
|
if (!e) {
|
|
44
44
|
console.error(`HTML Element with selector "${t.contentSelector}" not found.`);
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
|
-
await B(),
|
|
47
|
+
await B(), a.value = e.offsetHeight + e.offsetTop + t.offset - window.innerHeight;
|
|
48
48
|
}
|
|
49
49
|
window.addEventListener("scroll", c, {
|
|
50
50
|
passive: !0
|
|
@@ -57,7 +57,7 @@ const k = /* @__PURE__ */ p({
|
|
|
57
57
|
}), (e, i) => (w(), y(b, { to: e.teleportSelector }, [
|
|
58
58
|
d(
|
|
59
59
|
"div",
|
|
60
|
-
S({ class: "m-reading-progress-bar" }, e.$attrs),
|
|
60
|
+
S({ class: "m-reading-progress-bar m-reset-css" }, e.$attrs),
|
|
61
61
|
[
|
|
62
62
|
d(
|
|
63
63
|
"div",
|
|
@@ -79,12 +79,12 @@ const k = /* @__PURE__ */ p({
|
|
|
79
79
|
)
|
|
80
80
|
], 8, ["to"]));
|
|
81
81
|
}
|
|
82
|
-
}), z = (l,
|
|
82
|
+
}), z = (l, s) => {
|
|
83
83
|
const t = l.__vccOpts || l;
|
|
84
|
-
for (const [n, o] of
|
|
84
|
+
for (const [n, o] of s)
|
|
85
85
|
t[n] = o;
|
|
86
86
|
return t;
|
|
87
|
-
}, D = /* @__PURE__ */ z(k, [["__scopeId", "data-v-
|
|
87
|
+
}, D = /* @__PURE__ */ z(k, [["__scopeId", "data-v-25e35848"]]);
|
|
88
88
|
export {
|
|
89
89
|
D as default
|
|
90
90
|
};
|
|
@@ -88,7 +88,7 @@ export interface Props<T extends ModelValueSimple, U extends MazSelectOption> {
|
|
|
88
88
|
autocomplete?: string;
|
|
89
89
|
}
|
|
90
90
|
export type { Color, ModelValueSimple, Position, Size } from './types';
|
|
91
|
-
declare const _default: <T extends ModelValueSimple, U extends MazSelectOption
|
|
91
|
+
declare const _default: <T extends ModelValueSimple, U extends MazSelectOption>(__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<{
|
|
92
92
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
93
93
|
readonly onInput?: ((value: Event) => any) | undefined;
|
|
94
94
|
readonly onBlur?: ((value: Event) => any) | undefined;
|
|
@@ -98,7 +98,7 @@ declare const _default: <T extends ModelValueSimple, U extends MazSelectOption,
|
|
|
98
98
|
readonly onOpen?: ((value: boolean) => any) | undefined;
|
|
99
99
|
readonly "onUpdate:model-value"?: ((value: T | T[]) => any) | undefined;
|
|
100
100
|
readonly "onSelected-option"?: ((value: U) => any) | undefined;
|
|
101
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onInput" | "onClose" | "onOpen" | "onUpdate:model-value" | "onSelected-option"> & Props<T, U>> & import("vue").PublicProps;
|
|
101
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onInput" | "onClose" | "onOpen" | "onUpdate:model-value" | "onSelected-option"> & Partial<{}> & Props<T, U>> & import("vue").PublicProps;
|
|
102
102
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
103
103
|
openList: (event: Event) => Promise<void>;
|
|
104
104
|
closeList: (event?: Event) => Promise<void>;
|
package/components/MazSelect.mjs
CHANGED
package/components/MazSlider.mjs
CHANGED
|
@@ -87,7 +87,7 @@ const re = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], ie = ["data-labe
|
|
|
87
87
|
});
|
|
88
88
|
async function z(e) {
|
|
89
89
|
e === !0 && U(), await Q(), await g();
|
|
90
|
-
for (const [t
|
|
90
|
+
for (const [t] of y.value.entries())
|
|
91
91
|
P(t);
|
|
92
92
|
}
|
|
93
93
|
function R(e, t) {
|
|
@@ -97,10 +97,10 @@ const re = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], ie = ["data-labe
|
|
|
97
97
|
i.value = void 0, $(e);
|
|
98
98
|
}
|
|
99
99
|
function U() {
|
|
100
|
-
const { min: e, max: t } = n,
|
|
100
|
+
const { min: e, max: t } = n, r = y.value.map(
|
|
101
101
|
(o) => o < e ? e : o > t ? t : o
|
|
102
102
|
);
|
|
103
|
-
x(
|
|
103
|
+
x(r), d.value = r;
|
|
104
104
|
}
|
|
105
105
|
function x(e) {
|
|
106
106
|
const t = H.value ? [...e] : e[0];
|
|
@@ -114,44 +114,44 @@ const re = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], ie = ["data-labe
|
|
|
114
114
|
$(e), n.noDivider || J();
|
|
115
115
|
}
|
|
116
116
|
async function $(e) {
|
|
117
|
-
var
|
|
117
|
+
var r;
|
|
118
118
|
await g();
|
|
119
119
|
const t = document.querySelectorAll(".m-slider .m-slider__btn");
|
|
120
120
|
if (t) {
|
|
121
|
-
const o = t[e], u = (o == null ? void 0 : o.clientWidth) + 16,
|
|
122
|
-
left: typeof ((
|
|
121
|
+
const o = t[e], u = (o == null ? void 0 : o.clientWidth) + 16, s = {
|
|
122
|
+
left: typeof ((r = m.value) == null ? void 0 : r[e]) == "number" ? `${m.value[e] - u / 2 || 1}px` : ""
|
|
123
123
|
};
|
|
124
|
-
_.value[e] =
|
|
124
|
+
_.value[e] = s;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
127
|
function J() {
|
|
128
128
|
if (m.value) {
|
|
129
129
|
const e = [...m.value];
|
|
130
130
|
e.push(0);
|
|
131
|
-
const t = e.length,
|
|
131
|
+
const t = e.length, r = Math.round(t / 2);
|
|
132
132
|
B.value = e.map((o, u) => ({
|
|
133
133
|
left: u === 0 ? 0 : `${e[u - 1]}px`,
|
|
134
134
|
// ATTENTION: buttonPositions.value[i - 1]
|
|
135
135
|
right: u + 1 === t ? 0 : `calc( 100% - ${o}px )`,
|
|
136
|
-
backgroundColor:
|
|
136
|
+
backgroundColor: r === u + 1 ? void 0 : u < r ? `rgba(255, 255, 255, ${I(u, r, t)})` : `rgba(0, 0, 0, ${I(u, r, t)})`
|
|
137
137
|
// darken
|
|
138
138
|
}));
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
async function Q() {
|
|
142
|
-
var u,
|
|
142
|
+
var u, s;
|
|
143
143
|
await g();
|
|
144
|
-
const { min: e, max: t, log:
|
|
145
|
-
o ? m.value = (
|
|
146
|
-
(h) =>
|
|
144
|
+
const { min: e, max: t, log: r } = n, o = (u = v.value) == null ? void 0 : u.clientWidth;
|
|
145
|
+
o ? m.value = (s = d.value) == null ? void 0 : s.map(
|
|
146
|
+
(h) => r ? o / t * (e + (Math.log(h) - M.value) / C.value) : o / k.value * (h - e)
|
|
147
147
|
) : console.warn("[maz-ui][MazSlider] ref component not found");
|
|
148
148
|
}
|
|
149
149
|
async function W() {
|
|
150
|
-
var u,
|
|
150
|
+
var u, s, h;
|
|
151
151
|
await g();
|
|
152
|
-
const { max: e, min: t, log:
|
|
152
|
+
const { max: e, min: t, log: r } = n, o = (u = v.value) == null ? void 0 : u.clientWidth;
|
|
153
153
|
if (o)
|
|
154
|
-
return
|
|
154
|
+
return r ? (s = m.value) == null ? void 0 : s.map((T) => {
|
|
155
155
|
const Z = T / (o / e), ee = Math.exp((Z - t) * C.value + M.value);
|
|
156
156
|
return Math.round(ee);
|
|
157
157
|
}) : (h = m.value) == null ? void 0 : h.map(
|
|
@@ -169,17 +169,17 @@ const re = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], ie = ["data-labe
|
|
|
169
169
|
e && x(e), i.value = void 0;
|
|
170
170
|
}
|
|
171
171
|
async function E(e) {
|
|
172
|
-
var
|
|
172
|
+
var r;
|
|
173
173
|
if (await g(), i.value === void 0)
|
|
174
174
|
return;
|
|
175
|
-
const t = (
|
|
175
|
+
const t = (r = v.value) == null ? void 0 : r.clientWidth;
|
|
176
176
|
if (m.value) {
|
|
177
177
|
const o = m.value[i.value - 1] || 0, u = m.value[i.value + 1] || t;
|
|
178
178
|
if (!v.value)
|
|
179
179
|
return console.error("[maz-ui](MazSlider/handleMousemove) MazSlider not available");
|
|
180
180
|
m.value[i.value] = (() => {
|
|
181
|
-
const
|
|
182
|
-
return
|
|
181
|
+
const s = se(e, v.value).x;
|
|
182
|
+
return s < o ? o : u && s > u ? u : s;
|
|
183
183
|
})(), d.value = await W(), P(i.value);
|
|
184
184
|
}
|
|
185
185
|
}
|
|
@@ -187,7 +187,7 @@ const re = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], ie = ["data-labe
|
|
|
187
187
|
"div",
|
|
188
188
|
{
|
|
189
189
|
style: V([Y.value, { fontSize: a.size }]),
|
|
190
|
-
class: F(["m-slider", [`m-slider--${a.color}`]]),
|
|
190
|
+
class: F(["m-slider m-reset-css", [`m-slider--${a.color}`]]),
|
|
191
191
|
role: "button",
|
|
192
192
|
tabindex: "-1",
|
|
193
193
|
onMousemovePassive: E,
|
|
@@ -208,11 +208,11 @@ const re = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], ie = ["data-labe
|
|
|
208
208
|
(b(!0), w(
|
|
209
209
|
K,
|
|
210
210
|
null,
|
|
211
|
-
j(B.value, (
|
|
211
|
+
j(B.value, (r, o) => (b(), w(
|
|
212
212
|
"div",
|
|
213
213
|
{
|
|
214
214
|
key: `divider-${o}`,
|
|
215
|
-
style: V([
|
|
215
|
+
style: V([r]),
|
|
216
216
|
class: "m-slider__divider"
|
|
217
217
|
},
|
|
218
218
|
null,
|
|
@@ -225,7 +225,7 @@ const re = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], ie = ["data-labe
|
|
|
225
225
|
(b(!0), w(
|
|
226
226
|
K,
|
|
227
227
|
null,
|
|
228
|
-
j(y.value, (
|
|
228
|
+
j(y.value, (r, o) => {
|
|
229
229
|
var u;
|
|
230
230
|
return b(), w("button", {
|
|
231
231
|
key: `cursor-${o}`,
|
|
@@ -235,12 +235,12 @@ const re = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], ie = ["data-labe
|
|
|
235
235
|
"active-cursor": o === i.value && !a.noCursorAnim
|
|
236
236
|
}]),
|
|
237
237
|
style: V([_.value[o]]),
|
|
238
|
-
onMousedownPassive: (
|
|
239
|
-
onTouchstartPassive: (
|
|
240
|
-
onFocusPassive: (
|
|
241
|
-
onBlurPassive: (
|
|
242
|
-
onTouchendPassive: (
|
|
243
|
-
onKeydownPassive: (
|
|
238
|
+
onMousedownPassive: (s) => S(s, o),
|
|
239
|
+
onTouchstartPassive: (s) => S(s, o),
|
|
240
|
+
onFocusPassive: (s) => S(s, o),
|
|
241
|
+
onBlurPassive: (s) => A(o),
|
|
242
|
+
onTouchendPassive: (s) => A(o),
|
|
243
|
+
onKeydownPassive: (s) => R(s, o)
|
|
244
244
|
}, [
|
|
245
245
|
N(
|
|
246
246
|
"span",
|
|
@@ -265,7 +265,7 @@ const re = ["aria-valuenow", "aria-valuemin", "aria-valuemax"], ie = ["data-labe
|
|
|
265
265
|
for (const [c, v] of l)
|
|
266
266
|
n[c] = v;
|
|
267
267
|
return n;
|
|
268
|
-
}, me = /* @__PURE__ */ de(ce, [["__scopeId", "data-v-
|
|
268
|
+
}, me = /* @__PURE__ */ de(ce, [["__scopeId", "data-v-a0330fd0"]]);
|
|
269
269
|
export {
|
|
270
270
|
me as default
|
|
271
271
|
};
|
|
@@ -12,5 +12,5 @@ export interface MazSpinnerProps {
|
|
|
12
12
|
*/
|
|
13
13
|
color?: Color;
|
|
14
14
|
}
|
|
15
|
-
declare const _default: import("vue").DefineComponent<MazSpinnerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MazSpinnerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
15
|
+
declare const _default: import("vue").DefineComponent<MazSpinnerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MazSpinnerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
16
16
|
export default _default;
|
|
@@ -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
|
};
|
|
@@ -35,6 +35,7 @@ export interface Props {
|
|
|
35
35
|
canCloseSteps?: boolean;
|
|
36
36
|
}
|
|
37
37
|
declare function __VLS_template(): {
|
|
38
|
+
attrs: Partial<{}>;
|
|
38
39
|
slots: Partial<Record<`icon-${number}`, (_: {}) => any>> & Partial<Record<`title-${number}`, (_: {}) => any>> & Partial<Record<`subtitle-${number}`, (_: {}) => any>> & Partial<Record<`title-info-${number}`, (_: {}) => any>> & Partial<Record<`content-${number}`, (_: {
|
|
39
40
|
validated: boolean;
|
|
40
41
|
error: boolean | undefined;
|
|
@@ -43,10 +44,10 @@ declare function __VLS_template(): {
|
|
|
43
44
|
previousStep: () => void;
|
|
44
45
|
}) => any>>;
|
|
45
46
|
refs: {};
|
|
46
|
-
|
|
47
|
+
rootEl: HTMLDivElement;
|
|
47
48
|
};
|
|
48
49
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
49
|
-
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, {
|
|
50
51
|
"update:model-value": (value: number) => any;
|
|
51
52
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
52
53
|
"onUpdate:model-value"?: ((value: number) => any) | undefined;
|
|
@@ -54,7 +55,7 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
54
55
|
color: Color;
|
|
55
56
|
modelValue: number;
|
|
56
57
|
steps: Steps;
|
|
57
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
58
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
58
59
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
59
60
|
export default _default;
|
|
60
61
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -28,6 +28,7 @@ export interface Props {
|
|
|
28
28
|
hint?: string;
|
|
29
29
|
}
|
|
30
30
|
declare function __VLS_template(): {
|
|
31
|
+
attrs: Partial<{}>;
|
|
31
32
|
slots: {
|
|
32
33
|
default?(_: {
|
|
33
34
|
value: boolean;
|
|
@@ -36,7 +37,7 @@ declare function __VLS_template(): {
|
|
|
36
37
|
refs: {
|
|
37
38
|
inputRef: HTMLInputElement;
|
|
38
39
|
};
|
|
39
|
-
|
|
40
|
+
rootEl: any;
|
|
40
41
|
};
|
|
41
42
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
42
43
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|