maz-ui 3.47.2-beta.2 → 3.47.2-beta.21
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 +90 -98
- package/components/MazAnimatedCounter.d.ts +16 -32
- package/components/MazAnimatedCounter.mjs +26 -26
- 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 +1 -1
- 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 +5 -4
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.d.ts +3 -2
- package/components/MazCardSpotlight.mjs +18 -22
- package/components/MazCarousel.d.ts +3 -2
- package/components/MazCarousel.mjs +1 -1
- package/components/MazCheckbox.d.ts +4 -3
- package/components/MazCheckbox.mjs +86 -83
- package/components/MazChecklist.d.ts +2 -5
- package/components/MazChecklist.mjs +1 -1
- package/components/MazCircularProgressBar.d.ts +31 -60
- package/components/MazCircularProgressBar.mjs +76 -74
- 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 +25 -3
- package/components/MazDropdown.mjs +2 -325
- package/components/MazDropzone.d.ts +1 -1
- package/components/MazExpandAnimation.d.ts +6 -5
- package/components/MazExpandAnimation.mjs +22 -25
- package/components/MazFullscreenLoader.d.ts +2 -1
- package/components/MazFullscreenLoader.mjs +7 -7
- package/components/MazGallery.d.ts +1 -1
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.mjs +14 -13
- package/components/MazInput.d.ts +18 -3
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.d.ts +1 -1
- package/components/MazInputCode.mjs +36 -39
- package/components/MazInputNumber.d.ts +2 -2
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.d.ts +4 -3
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.d.ts +2 -1
- package/components/MazLink.d.ts +2 -1
- package/components/MazLink.mjs +1 -1
- package/components/MazLoadingBar.d.ts +1 -1
- package/components/MazLoadingBar.mjs +31 -27
- 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.d.ts +3 -1
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.d.ts +4 -3
- package/components/MazRadio.d.ts +1 -1
- package/components/MazRadio.mjs +31 -37
- package/components/MazRadioButtons.d.ts +1 -1
- package/components/MazReadingProgressBar.d.ts +1 -1
- package/components/MazSelect.d.ts +2 -2
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider.d.ts +1 -1
- package/components/MazSpinner.d.ts +1 -1
- package/components/MazStepper.d.ts +3 -2
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.d.ts +2 -1
- package/components/MazSwitch.mjs +29 -33
- package/components/MazTable.d.ts +8 -2
- package/components/MazTable.mjs +3 -2
- package/components/MazTableCell.d.ts +3 -2
- package/components/MazTableCell.mjs +12 -12
- package/components/MazTableRow.d.ts +3 -2
- package/components/MazTableRow.mjs +16 -16
- package/components/MazTableTitle.d.ts +3 -2
- package/components/MazTableTitle.mjs +18 -18
- package/components/MazTabs.d.ts +3 -2
- package/components/MazTabsBar.d.ts +3 -2
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContent.d.ts +3 -2
- package/components/MazTabsContent.mjs +4 -4
- package/components/MazTabsContentItem.d.ts +2 -1
- package/components/MazTabsContentItem.mjs +11 -11
- package/components/MazTextarea.d.ts +58 -32
- package/components/MazTextarea.mjs +128 -109
- package/components/MazTransitionExpand.d.ts +2 -1
- package/components/MazTransitionExpand.mjs +9 -9
- 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/MazCardSpotlight.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/MazDropdown.css +1 -1
- package/components/assets/MazExpandAnimation.css +1 -1
- package/components/assets/MazGallery.css +1 -1
- package/components/assets/MazInput.css +1 -1
- package/components/assets/MazInputCode.css +1 -1
- package/components/assets/MazInputNumber.css +1 -1
- package/components/assets/MazInputPrice.css +1 -1
- package/components/assets/MazInputTags.css +1 -1
- package/components/assets/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/MazRadio.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazStepper.css +1 -1
- package/components/assets/MazSwitch.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTableCell.css +1 -1
- package/components/assets/MazTableRow.css +1 -1
- package/components/assets/MazTableTitle.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/assets/MazTabsContentItem.css +1 -1
- package/components/assets/MazTextarea.css +1 -1
- package/components/assets/MazTransitionExpand.css +1 -1
- package/components/chunks/{MazAvatar-DFoZvWmg.mjs → MazAvatar-CZzOIbzh.mjs} +54 -54
- package/components/chunks/{MazBadge-CqppWg2j.mjs → MazBadge-DCzaExPj.mjs} +2 -2
- package/components/chunks/MazBottomSheet-DGsGO0zo.mjs +224 -0
- package/components/chunks/MazBtn-4-B-zs6Y.mjs +103 -0
- package/components/chunks/MazBtn-BS2kvd1Z.mjs +103 -0
- package/components/chunks/MazBtn-BVWOyFm-.mjs +103 -0
- package/components/chunks/MazBtn-C60T0UDa.mjs +103 -0
- package/components/chunks/MazBtn-C6zsmGnw.mjs +103 -0
- package/components/chunks/MazBtn-C7yEnuOD.mjs +103 -0
- package/components/chunks/MazBtn-CM-xSnA5.mjs +108 -0
- package/components/chunks/MazBtn-CsLtHm4K.mjs +103 -0
- package/components/chunks/MazBtn-D1jMqwE1.mjs +103 -0
- package/components/chunks/MazBtn-DAXwt847.mjs +103 -0
- package/components/chunks/MazBtn-DOWVQgpN.mjs +103 -0
- package/components/chunks/MazBtn-DZaVjTvW.mjs +103 -0
- package/components/chunks/MazBtn-ZAcYNusG.mjs +103 -0
- package/components/chunks/MazBtn-oZhhJy09.mjs +103 -0
- package/components/chunks/{MazCard-BYB8y1_u.mjs → MazCard-98OuVlyK.mjs} +1 -1
- package/components/chunks/{MazCarousel-DccWVW8H.mjs → MazCarousel-COTaKhKF.mjs} +1 -1
- package/components/chunks/{MazCheckbox-DMogZVHl.mjs → MazCheckbox-BNvSeNBP.mjs} +63 -59
- package/components/chunks/{MazCheckbox-B22OcHt8.mjs → MazCheckbox-CCma_qyQ.mjs} +63 -59
- package/components/chunks/{MazCheckbox-Db6sPUbV.mjs → MazCheckbox-eOEEACaM.mjs} +64 -60
- package/components/chunks/{MazChecklist-C95Y4Hb-.mjs → MazChecklist-Bb_70sf5.mjs} +110 -111
- package/components/chunks/MazDialog-Ca3jJ12T.mjs +297 -0
- package/components/chunks/MazDialogPromise-DOnmLhui.mjs +551 -0
- package/components/chunks/MazDrawer-Bas9dy0D.mjs +226 -0
- package/components/chunks/MazDropdown-0r445NfW.mjs +426 -0
- package/components/chunks/MazExpandAnimation-Bdf0-L85.mjs +54 -0
- package/components/chunks/{MazGallery-VTZUhBKC.mjs → MazGallery-r8SBTCgJ.mjs} +42 -45
- package/components/chunks/{MazGallery-CXQiXWFr.mjs → MazGallery-xPp1apvO.mjs} +94 -97
- package/components/chunks/MazIcon-BoTByt7n.mjs +4 -0
- package/components/chunks/{MazIcon-DjMuw8Bz.mjs → MazIcon-C-aPrqx2.mjs} +4 -3
- package/components/chunks/{MazIcon-BbvBov5G.mjs → MazIcon-_hN-Kivn.mjs} +14 -13
- package/components/chunks/{MazIcon-BF5TFzse.mjs → MazIcon-kLACGOa2.mjs} +4 -3
- package/components/chunks/MazInput-BM4n-byz.mjs +313 -0
- package/components/chunks/MazInput-BcutbP8N.mjs +314 -0
- package/components/chunks/MazInput-C9Qh4Gt3.mjs +324 -0
- package/components/chunks/MazInputNumber-DgjOMiOt.mjs +600 -0
- package/components/chunks/{MazInputPrice-DoTnDDIN.mjs → MazInputPrice-D6fJN9yv.mjs} +200 -169
- package/components/chunks/{MazInputTags-Dj3sW-e5.mjs → MazInputTags-DthGSyHQ.mjs} +251 -223
- package/components/chunks/{MazLazyImg-C03sUOXs.mjs → MazLazyImg-DQLwaKKz.mjs} +2 -2
- package/components/chunks/{MazLink-C_3Wya94.mjs → MazLink-tud3eDgU.mjs} +1 -1
- package/components/chunks/MazLoadingBar-C2qPjfEQ.mjs +36 -0
- package/components/chunks/MazPagination-BSu0Ifkp.mjs +327 -0
- package/components/chunks/MazPhoneNumberInput-BQjByOtQ.mjs +1813 -0
- package/components/chunks/MazPicker-BljfUneI.mjs +2486 -0
- package/components/chunks/{MazPickerMonthSwitcher-CmFFQoPA.mjs → MazPickerMonthSwitcher-CEVb4BXw.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-DaELz7aq.mjs → MazPickerShortcuts-DayGMC9m.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-m1_KXnpA.mjs → MazPickerYearSwitcher-DC1lFIbp.mjs} +1 -1
- package/components/chunks/MazSelect-CH3JdigO.mjs +867 -0
- package/components/chunks/MazSelect-D3KXcHJS.mjs +550 -0
- package/components/chunks/MazSpinner-B5JChIrj.mjs +34 -0
- package/components/chunks/{MazSpinner-DoRGA1RI.mjs → MazSpinner-BBZoDxwq.mjs} +1 -1
- package/components/chunks/{MazSpinner-BpkPcfCt.mjs → MazSpinner-BIPm54-3.mjs} +1 -1
- package/components/chunks/{MazSpinner-edxn0ncQ.mjs → MazSpinner-BlbTztM3.mjs} +1 -1
- package/components/chunks/MazSpinner-C-ln9ldX.mjs +34 -0
- package/components/chunks/MazSpinner-C11EOZZd.mjs +34 -0
- package/components/chunks/{MazSpinner-BsYJDmi9.mjs → MazSpinner-C6h03sqc.mjs} +1 -1
- package/components/chunks/{MazSpinner-Bb3f2t6w.mjs → MazSpinner-CCc9ajpj.mjs} +1 -1
- package/components/chunks/{MazSpinner-BcB0szZB.mjs → MazSpinner-CgKOIkQQ.mjs} +1 -1
- package/components/chunks/{MazSpinner-DmiLBQgR.mjs → MazSpinner-Cp_nPioh.mjs} +1 -1
- package/components/chunks/{MazSpinner-CfiIXW8y.mjs → MazSpinner-CwdlrYSt.mjs} +1 -1
- package/components/chunks/MazSpinner-D5Sbo759.mjs +34 -0
- package/components/chunks/MazSpinner-DPur0-r-.mjs +34 -0
- package/components/chunks/MazSpinner-DjUU4G1h.mjs +34 -0
- package/components/chunks/MazSpinner-DoPIk0St.mjs +34 -0
- package/components/chunks/{MazSpinner-C-64WJje.mjs → MazSpinner-DqD51Fb6.mjs} +1 -1
- package/components/chunks/MazSpinner-QfPXLpa_.mjs +34 -0
- package/components/chunks/MazSpinner-ZFhNCy24.mjs +34 -0
- package/components/chunks/MazSpinner-b90e3OQK.mjs +34 -0
- package/components/chunks/MazStepper-B3fuhbye.mjs +218 -0
- package/components/chunks/{MazTable-BJDPdIJB.mjs → MazTable-BU3Hluiu.mjs} +85 -81
- package/components/chunks/MazTableCell-DKMZAanm.mjs +23 -0
- package/components/chunks/MazTableRow-CDHpmXfw.mjs +30 -0
- package/components/chunks/{MazTableTitle-Ch-nyY1E.mjs → MazTableTitle-BSFZ84Ob.mjs} +4 -4
- package/components/chunks/{MazTabsBar-CM-w7V97.mjs → MazTabsBar--Xq_cpuz.mjs} +62 -78
- package/components/chunks/{MazTransitionExpand-PmUDa51_.mjs → MazTransitionExpand-Cedz9Ree.mjs} +8 -8
- package/components/chunks/examples.mobile.json-tW3aL0qI.mjs +4 -0
- package/components/chunks/{inject-strict-BmiaNiwC.mjs → inject-strict-DEDSuzCz.mjs} +3 -3
- package/components/chunks/useInstanceUniqId-BkOfxhk8.mjs +10 -0
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/MazBtn-CFge_w1W.cjs +1 -0
- package/modules/chunks/MazBtn-yNCoLFA6.mjs +103 -0
- package/modules/chunks/{MazIcon-DEgoQbMj.mjs → MazIcon-C3__MBEL.mjs} +4 -3
- package/modules/chunks/{MazIcon-CkuzyufF.cjs → MazIcon-CqhvM2xp.cjs} +1 -1
- package/modules/chunks/{MazSpinner-BurN-1pb.mjs → MazSpinner-C4XtaFJk.mjs} +1 -1
- package/modules/chunks/{MazSpinner-jP4QsCNE.cjs → MazSpinner-DkJAN36F.cjs} +1 -1
- package/modules/chunks/index-Bawg2UGE.cjs +124 -0
- package/modules/chunks/{index-CxFUggmu.mjs → index-CXu9R01-.mjs} +1207 -962
- 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/variables/colors.ts +2 -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 +5 -4
- 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 +2 -5
- package/types/components/MazCircularProgressBar.vue.d.ts +31 -60
- 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 +25 -3
- 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/MazGallery.vue.d.ts +1 -1
- package/types/components/MazInput.vue.d.ts +18 -3
- package/types/components/MazInputCode.vue.d.ts +1 -1
- package/types/components/MazInputNumber.vue.d.ts +2 -2
- package/types/components/MazInputPrice.vue.d.ts +4 -3
- package/types/components/MazLazyImg.vue.d.ts +2 -1
- package/types/components/MazLink.vue.d.ts +2 -1
- package/types/components/MazLoadingBar.vue.d.ts +1 -1
- package/types/components/MazPagination.vue.d.ts +3 -2
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +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/MazPicker.vue.d.ts +3 -1
- package/types/components/MazPullToRefresh.vue.d.ts +4 -3
- package/types/components/MazRadio.vue.d.ts +1 -1
- package/types/components/MazRadioButtons.vue.d.ts +1 -1
- package/types/components/MazReadingProgressBar.vue.d.ts +1 -1
- package/types/components/MazSelect.vue.d.ts +2 -2
- package/types/components/MazSlider.vue.d.ts +1 -1
- package/types/components/MazSpinner.vue.d.ts +1 -1
- package/types/components/MazStepper.vue.d.ts +3 -2
- package/types/components/MazSwitch.vue.d.ts +2 -1
- package/types/components/MazTable.vue.d.ts +8 -2
- package/types/components/MazTableCell.vue.d.ts +3 -2
- package/types/components/MazTableRow.vue.d.ts +3 -2
- package/types/components/MazTableTitle.vue.d.ts +3 -2
- package/types/components/MazTabs.vue.d.ts +3 -2
- package/types/components/MazTabsBar.vue.d.ts +3 -2
- package/types/components/MazTabsContent.vue.d.ts +3 -2
- package/types/components/MazTabsContentItem.vue.d.ts +2 -1
- package/types/components/MazTextarea.vue.d.ts +58 -32
- package/types/components/MazTransitionExpand.vue.d.ts +2 -1
- package/types/modules/composables/useFormValidator/types.d.ts +8 -8
- package/types/modules/composables/useFormValidator/useFormField.d.ts +2 -2
- package/types/modules/composables/useFormValidator/useFormValidator.d.ts +3 -3
- package/types/modules/composables/useFormValidator/utils.d.ts +5 -5
- 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 +2 -2
- package/types/modules/helpers/inject-strict.d.ts +2 -1
- package/types/tailwindcss/variables/colors.d.ts +2 -0
- package/components/MazPhoneNumberInput.d.ts +0 -239
- package/components/chunks/MazBottomSheet-CGRvZmGd.mjs +0 -208
- package/components/chunks/MazBtn-2VKM1wZu.mjs +0 -106
- package/components/chunks/MazBtn-40lm8-AL.mjs +0 -106
- package/components/chunks/MazBtn-BB1FyYWv.mjs +0 -114
- package/components/chunks/MazBtn-BMYXMZuX.mjs +0 -106
- package/components/chunks/MazBtn-BijEMn4r.mjs +0 -106
- package/components/chunks/MazBtn-BmrcK2af.mjs +0 -106
- package/components/chunks/MazBtn-C72_1uvu.mjs +0 -106
- package/components/chunks/MazBtn-CWloP6MI.mjs +0 -111
- package/components/chunks/MazBtn-CcyV4DCc.mjs +0 -106
- package/components/chunks/MazBtn-DENEMy-c.mjs +0 -106
- package/components/chunks/MazBtn-DfqRZvbB.mjs +0 -106
- package/components/chunks/MazBtn-UnZQuu6P.mjs +0 -106
- package/components/chunks/MazBtn-cDJlUVVY.mjs +0 -106
- package/components/chunks/MazBtn-hUslV7wO.mjs +0 -106
- package/components/chunks/MazDialog-khofH-7I.mjs +0 -237
- package/components/chunks/MazDialogPromise-ZRA2ZrO4.mjs +0 -488
- package/components/chunks/MazExpandAnimation-MDimlZGj.mjs +0 -57
- package/components/chunks/MazInput-DC3S-CVu.mjs +0 -282
- package/components/chunks/MazInput-DzWkS-g8.mjs +0 -293
- package/components/chunks/MazInput-NE6H-10w.mjs +0 -281
- package/components/chunks/MazInputNumber-DRXQXHRv.mjs +0 -572
- package/components/chunks/MazLoadingBar-DdjHRC7g.mjs +0 -32
- package/components/chunks/MazPagination-BkT4_LLW.mjs +0 -330
- package/components/chunks/MazPhoneNumberInput-BbssOUzo.mjs +0 -1778
- package/components/chunks/MazPicker-DwWiIYAR.mjs +0 -2456
- package/components/chunks/MazSelect-BJ07NVXQ.mjs +0 -843
- package/components/chunks/MazSelect-CDV9Fx6m.mjs +0 -556
- package/components/chunks/MazSpinner-BymqEMBk.mjs +0 -34
- package/components/chunks/MazSpinner-CEFbkZkM.mjs +0 -34
- package/components/chunks/MazSpinner-CsEQ9EXb.mjs +0 -34
- package/components/chunks/MazSpinner-CykRbNHD.mjs +0 -34
- package/components/chunks/MazSpinner-D3-pqOh3.mjs +0 -34
- package/components/chunks/MazSpinner-DS58mtzm.mjs +0 -34
- package/components/chunks/MazSpinner-Dmkr_r9u.mjs +0 -34
- package/components/chunks/MazSpinner-eC03bFP5.mjs +0 -34
- package/components/chunks/MazSpinner-f2Mc2eRO.mjs +0 -34
- package/components/chunks/MazSpinner-n4Dp5ZsH.mjs +0 -34
- package/components/chunks/MazStepper-BREfkpUb.mjs +0 -213
- package/components/chunks/MazTableCell-DILuUCTe.mjs +0 -23
- package/components/chunks/MazTableRow-D6H6-c8J.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-B_Xlvgbg.cjs +0 -1
- package/modules/chunks/MazBtn-Dsr06Zgg.mjs +0 -106
- package/modules/chunks/index-CUNN0eIB.cjs +0 -124
- package/types/components/MazPhoneNumberInput.vue.d.ts +0 -239
|
@@ -50,6 +50,7 @@ export interface MazLinkProps {
|
|
|
50
50
|
rightIcon?: string | Icon;
|
|
51
51
|
}
|
|
52
52
|
declare function __VLS_template(): {
|
|
53
|
+
attrs: Partial<{}>;
|
|
53
54
|
slots: {
|
|
54
55
|
"left-icon"?(_: {}): any;
|
|
55
56
|
default?(_: {}): any;
|
|
@@ -57,7 +58,7 @@ declare function __VLS_template(): {
|
|
|
57
58
|
"external-icon"?(_: {}): any;
|
|
58
59
|
};
|
|
59
60
|
refs: {};
|
|
60
|
-
|
|
61
|
+
rootEl: any;
|
|
61
62
|
};
|
|
62
63
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
63
64
|
declare const __VLS_component: import("vue").DefineComponent<MazLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MazLinkProps> & Readonly<{}>, {
|
|
@@ -9,5 +9,5 @@ export interface Props {
|
|
|
9
9
|
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
10
10
|
color: Color;
|
|
11
11
|
height: string;
|
|
12
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
13
|
export default _default;
|
|
@@ -33,6 +33,7 @@ interface MazPagnationProps {
|
|
|
33
33
|
}
|
|
34
34
|
export type { MazPagnationProps as Props };
|
|
35
35
|
declare function __VLS_template(): {
|
|
36
|
+
attrs: Partial<{}>;
|
|
36
37
|
slots: {
|
|
37
38
|
"first-page-sr"?(_: {
|
|
38
39
|
page: number;
|
|
@@ -51,7 +52,7 @@ declare function __VLS_template(): {
|
|
|
51
52
|
}): any;
|
|
52
53
|
};
|
|
53
54
|
refs: {};
|
|
54
|
-
|
|
55
|
+
rootEl: HTMLElement;
|
|
55
56
|
};
|
|
56
57
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
57
58
|
declare const __VLS_component: import("vue").DefineComponent<MazPagnationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -65,7 +66,7 @@ declare const __VLS_component: import("vue").DefineComponent<MazPagnationProps,
|
|
|
65
66
|
resultsSize: number;
|
|
66
67
|
activeColor: Color;
|
|
67
68
|
pageRange: number;
|
|
68
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
69
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLElement>;
|
|
69
70
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
70
71
|
export default _default;
|
|
71
72
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,32 +1,11 @@
|
|
|
1
1
|
import type { Color, CountryCode, Position, Size, Translations } from '../MazPhoneNumberInput.vue';
|
|
2
2
|
import { type HTMLAttributes } from 'vue';
|
|
3
|
-
|
|
4
|
-
slots: {
|
|
5
|
-
"selector-flag"?(_: {
|
|
6
|
-
countryCode: CountryCode;
|
|
7
|
-
}): any;
|
|
8
|
-
"no-results"?(_: {}): any;
|
|
9
|
-
"country-list-flag"?(_: {
|
|
10
|
-
countryCode: string;
|
|
11
|
-
option: import("../MazSelect.vue").NormalizedOption;
|
|
12
|
-
isSelected: boolean;
|
|
13
|
-
}): any;
|
|
14
|
-
};
|
|
15
|
-
refs: {
|
|
16
|
-
CountrySelectorRef: import("vue").ShallowUnwrapRef<{
|
|
17
|
-
openList: (event: Event) => Promise<void>;
|
|
18
|
-
closeList: (event?: Event) => Promise<void>;
|
|
19
|
-
}> | null;
|
|
20
|
-
};
|
|
21
|
-
attrs: Partial<{}>;
|
|
22
|
-
};
|
|
23
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
24
|
-
declare const __VLS_component: import("vue").DefineComponent<{
|
|
3
|
+
type __VLS_Props = {
|
|
25
4
|
/** Style attribut of the component root element */
|
|
26
|
-
style?: HTMLAttributes[
|
|
5
|
+
style?: HTMLAttributes['style'];
|
|
27
6
|
/** Class attribut of the component root element */
|
|
28
|
-
class?: HTMLAttributes[
|
|
29
|
-
modelValue?: CountryCode;
|
|
7
|
+
class?: HTMLAttributes['class'];
|
|
8
|
+
modelValue?: CountryCode | undefined | null;
|
|
30
9
|
id: string;
|
|
31
10
|
color: Color;
|
|
32
11
|
size: Size;
|
|
@@ -47,41 +26,38 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
47
26
|
searchThreshold?: number;
|
|
48
27
|
width: string;
|
|
49
28
|
excludeSelectors?: string[];
|
|
50
|
-
}
|
|
29
|
+
};
|
|
30
|
+
declare function __VLS_template(): {
|
|
31
|
+
attrs: Partial<{}>;
|
|
32
|
+
slots: {
|
|
33
|
+
"selector-flag"?(_: {
|
|
34
|
+
countryCode: CountryCode;
|
|
35
|
+
}): any;
|
|
36
|
+
"no-results"?(_: {}): any;
|
|
37
|
+
"country-list-flag"?(_: {
|
|
38
|
+
countryCode: string;
|
|
39
|
+
option: import("../MazSelect.vue").NormalizedOption;
|
|
40
|
+
isSelected: boolean;
|
|
41
|
+
}): any;
|
|
42
|
+
};
|
|
43
|
+
refs: {
|
|
44
|
+
CountrySelectorRef: import("vue").ShallowUnwrapRef<{
|
|
45
|
+
openList: (event: Event) => Promise<void>;
|
|
46
|
+
closeList: (event?: Event) => Promise<void>;
|
|
47
|
+
}> | null;
|
|
48
|
+
};
|
|
49
|
+
rootEl: HTMLDivElement;
|
|
50
|
+
};
|
|
51
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
52
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
51
53
|
"update:model-value": (countryCode?: CountryCode | undefined) => any;
|
|
52
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
53
|
-
/** Style attribut of the component root element */
|
|
54
|
-
style?: HTMLAttributes["style"];
|
|
55
|
-
/** Class attribut of the component root element */
|
|
56
|
-
class?: HTMLAttributes["class"];
|
|
57
|
-
modelValue?: CountryCode;
|
|
58
|
-
id: string;
|
|
59
|
-
color: Color;
|
|
60
|
-
size: Size;
|
|
61
|
-
preferredCountries?: CountryCode[];
|
|
62
|
-
ignoredCountries?: CountryCode[];
|
|
63
|
-
onlyCountries?: CountryCode[];
|
|
64
|
-
customCountriesList?: Record<CountryCode, string>;
|
|
65
|
-
locales: Translations;
|
|
66
|
-
listPosition?: Position;
|
|
67
|
-
noFlags?: boolean;
|
|
68
|
-
noSearch?: boolean;
|
|
69
|
-
disabled?: boolean;
|
|
70
|
-
showCodeOnList?: boolean;
|
|
71
|
-
countryLocale?: string;
|
|
72
|
-
success?: boolean;
|
|
73
|
-
error?: boolean;
|
|
74
|
-
countrySelectorDisplayName?: boolean;
|
|
75
|
-
searchThreshold?: number;
|
|
76
|
-
width: string;
|
|
77
|
-
excludeSelectors?: string[];
|
|
78
|
-
}> & Readonly<{
|
|
54
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
79
55
|
"onUpdate:model-value"?: ((countryCode?: CountryCode | undefined) => any) | undefined;
|
|
80
56
|
}>, {
|
|
81
57
|
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
82
58
|
width: string;
|
|
83
59
|
class: HTMLAttributes["class"];
|
|
84
|
-
modelValue: CountryCode;
|
|
60
|
+
modelValue: CountryCode | null;
|
|
85
61
|
listPosition: Position;
|
|
86
62
|
excludeSelectors: string[];
|
|
87
63
|
preferredCountries: CountryCode[];
|
|
@@ -89,7 +65,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
|
89
65
|
onlyCountries: CountryCode[];
|
|
90
66
|
customCountriesList: Record<CountryCode, string>;
|
|
91
67
|
countryLocale: string;
|
|
92
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
68
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
93
69
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
94
70
|
export default _default;
|
|
95
71
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,30 +1,19 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type { Props } from '../MazInput.vue';
|
|
2
|
+
import type { Translations } from '../MazPhoneNumberInput.vue';
|
|
3
|
+
interface PhoneInputProps extends Omit<Props, 'modelValue'> {
|
|
3
4
|
id: string;
|
|
4
|
-
color: Color;
|
|
5
|
-
size: Size;
|
|
6
5
|
locales: Translations;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
success?: boolean;
|
|
13
|
-
error?: boolean;
|
|
14
|
-
autoFormat?: boolean;
|
|
15
|
-
noFormattingAsYouType?: boolean;
|
|
16
|
-
};
|
|
6
|
+
noExample: boolean;
|
|
7
|
+
hasRadius: boolean;
|
|
8
|
+
autoFormat: boolean;
|
|
9
|
+
}
|
|
10
|
+
type __VLS_Props = PhoneInputProps;
|
|
17
11
|
type __VLS_PublicProps = {
|
|
18
|
-
modelValue?: string;
|
|
19
|
-
} &
|
|
12
|
+
modelValue?: string | undefined | null;
|
|
13
|
+
} & __VLS_Props;
|
|
20
14
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
"update:
|
|
22
|
-
"update:modelValue": (modelValue: string) => any;
|
|
15
|
+
"update:modelValue": (value: string | null | undefined) => any;
|
|
23
16
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
-
"onUpdate:
|
|
25
|
-
|
|
26
|
-
}>, {
|
|
27
|
-
label: string;
|
|
28
|
-
placeholder: string;
|
|
29
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
19
|
export default _default;
|
|
@@ -3,7 +3,8 @@ import type { defaultLocales } from './default-locales';
|
|
|
3
3
|
export interface Results {
|
|
4
4
|
isValid: boolean;
|
|
5
5
|
isPossible?: boolean;
|
|
6
|
-
countryCode?: CountryCode;
|
|
6
|
+
countryCode?: CountryCode | undefined | null;
|
|
7
|
+
parsedCountryCode?: CountryCode | undefined | null;
|
|
7
8
|
countryCallingCode?: CountryCallingCode;
|
|
8
9
|
nationalNumber?: NationalNumber;
|
|
9
10
|
type?: NumberType;
|
|
@@ -12,7 +13,8 @@ export interface Results {
|
|
|
12
13
|
uri?: string;
|
|
13
14
|
e164?: string;
|
|
14
15
|
rfc3966?: string;
|
|
15
|
-
|
|
16
|
+
possibleCountries?: CountryCode[];
|
|
17
|
+
phoneNumber?: string | undefined | null;
|
|
16
18
|
}
|
|
17
19
|
export type Translations = typeof defaultLocales;
|
|
18
20
|
export interface Country {
|
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
import type { Results } from './types';
|
|
2
2
|
import { type CountryCode, type Examples, getCountries, getCountryCallingCode } from 'libphonenumber-js';
|
|
3
3
|
declare function isCountryAvailable(locale: string): boolean;
|
|
4
|
-
declare function getPhoneNumberResults({ phoneNumber, countryCode, }: {
|
|
5
|
-
phoneNumber?: string;
|
|
6
|
-
countryCode?: CountryCode;
|
|
4
|
+
declare function getPhoneNumberResults({ phoneNumber, countryCode, checkCountryCode, }: {
|
|
5
|
+
phoneNumber?: string | undefined | null;
|
|
6
|
+
countryCode?: CountryCode | undefined | null;
|
|
7
|
+
checkCountryCode?: boolean;
|
|
7
8
|
}): Results;
|
|
8
|
-
declare function getAsYouTypeFormat(countryCode?: CountryCode, phoneNumber?: string): string;
|
|
9
9
|
declare function getPhoneNumberExamplesFile(): Promise<Examples>;
|
|
10
|
-
declare function getPhoneNumberExample(
|
|
10
|
+
declare function getPhoneNumberExample(countryCode?: CountryCode | undefined | null): string | undefined;
|
|
11
|
+
declare function getAsYouTypeFormat(countryCode?: CountryCode | undefined | null, phoneNumber?: string | undefined | null): string | undefined;
|
|
12
|
+
declare function isSameCountryCallingCode(countryCode: CountryCode, countryCode2: CountryCode): boolean;
|
|
13
|
+
declare function loadExamples(): Promise<void>;
|
|
11
14
|
export declare function useLibphonenumber(): {
|
|
15
|
+
examples: import("vue").Ref<Examples | undefined, Examples | undefined>;
|
|
12
16
|
getAsYouTypeFormat: typeof getAsYouTypeFormat;
|
|
13
17
|
getPhoneNumberResults: typeof getPhoneNumberResults;
|
|
14
18
|
getPhoneNumberExamplesFile: typeof getPhoneNumberExamplesFile;
|
|
15
19
|
getPhoneNumberExample: typeof getPhoneNumberExample;
|
|
16
|
-
isSameCountryCallingCode:
|
|
20
|
+
isSameCountryCallingCode: typeof isSameCountryCallingCode;
|
|
17
21
|
isCountryAvailable: typeof isCountryAvailable;
|
|
18
22
|
getCountries: typeof getCountries;
|
|
19
23
|
getCountryCallingCode: typeof getCountryCallingCode;
|
|
24
|
+
loadExamples: typeof loadExamples;
|
|
20
25
|
};
|
|
21
26
|
export {};
|
|
@@ -6,7 +6,7 @@ declare function getBrowserLocale(): {
|
|
|
6
6
|
} | undefined;
|
|
7
7
|
declare function getCountriesList(locale?: string, customCountriesNameListByIsoCode?: Record<CountryCode, string>): Country[] | undefined;
|
|
8
8
|
declare function fetchCountryCode(): Promise<string | undefined>;
|
|
9
|
-
declare function sanitizePhoneNumber(input?: string): string;
|
|
9
|
+
declare function sanitizePhoneNumber(input?: string | undefined | null): string;
|
|
10
10
|
export declare function useMazPhoneNumberInput(): {
|
|
11
11
|
sanitizePhoneNumber: typeof sanitizePhoneNumber;
|
|
12
12
|
fetchCountryCode: typeof fetchCountryCode;
|
|
@@ -134,5 +134,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
134
134
|
minDate: string;
|
|
135
135
|
maxDate: string;
|
|
136
136
|
shortcut: string;
|
|
137
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
137
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
138
138
|
export default _default;
|
|
@@ -16,5 +16,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
16
16
|
type: NumberConstructor;
|
|
17
17
|
required: true;
|
|
18
18
|
};
|
|
19
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
19
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
20
20
|
export default _default;
|
|
@@ -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;
|
|
@@ -3,6 +3,8 @@ import type { Color, Position } from './types';
|
|
|
3
3
|
import { type HTMLAttributes } from 'vue';
|
|
4
4
|
export type { Color, PickerShortcut, PickerValue, Position };
|
|
5
5
|
export interface Props {
|
|
6
|
+
/** The id of the component */
|
|
7
|
+
id?: string;
|
|
6
8
|
/** The style of the component */
|
|
7
9
|
style?: HTMLAttributes['style'];
|
|
8
10
|
/** The class of the component */
|
|
@@ -90,13 +92,13 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
90
92
|
color: Color;
|
|
91
93
|
class: HTMLAttributes["class"];
|
|
92
94
|
disabled: boolean;
|
|
93
|
-
format: string;
|
|
94
95
|
modelValue: string | Partial<import("./MazPicker/types").RangeValue>;
|
|
95
96
|
open: boolean;
|
|
96
97
|
locale: string;
|
|
97
98
|
double: boolean;
|
|
98
99
|
inline: boolean;
|
|
99
100
|
placeholder: string;
|
|
101
|
+
format: string;
|
|
100
102
|
noUseBrowserLocale: boolean;
|
|
101
103
|
minDate: string;
|
|
102
104
|
maxDate: string;
|
|
@@ -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, {
|
|
@@ -35,14 +36,14 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
35
36
|
onFinish?: ((...args: any[]) => any) | undefined;
|
|
36
37
|
}>, {
|
|
37
38
|
disabled: boolean;
|
|
38
|
-
offset: number;
|
|
39
39
|
action: () => unknown;
|
|
40
|
+
offset: number;
|
|
40
41
|
distance: number;
|
|
41
42
|
containerSelector: string;
|
|
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 & {
|
|
@@ -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: {
|
|
@@ -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: {
|
|
@@ -47,8 +47,8 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
47
47
|
}>, {
|
|
48
48
|
color: Color;
|
|
49
49
|
height: string;
|
|
50
|
-
offset: number;
|
|
51
50
|
teleportSelector: string;
|
|
51
|
+
offset: number;
|
|
52
52
|
distance: number;
|
|
53
53
|
contentSelector: string;
|
|
54
54
|
barClass: HTMLAttributes["class"];
|
|
@@ -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>;
|
|
@@ -102,9 +102,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
102
102
|
}>, {
|
|
103
103
|
size: string;
|
|
104
104
|
color: Color;
|
|
105
|
+
labels: unknown[];
|
|
105
106
|
max: number;
|
|
106
107
|
min: number;
|
|
107
|
-
labels: unknown[];
|
|
108
108
|
noDivider: boolean;
|
|
109
109
|
log: boolean;
|
|
110
110
|
noCursorAnim: boolean;
|
|
@@ -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;
|
|
@@ -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,7 +44,7 @@ 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
50
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
@@ -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, {
|
|
@@ -125,11 +125,16 @@ export interface MazTableProps<T extends Row<T>> {
|
|
|
125
125
|
*/
|
|
126
126
|
translations?: Translations;
|
|
127
127
|
/**
|
|
128
|
-
* Size of the
|
|
128
|
+
* Size radius of the component's border
|
|
129
129
|
* @values `'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full'`
|
|
130
130
|
* @default 'lg'
|
|
131
131
|
*/
|
|
132
132
|
roundedSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
133
|
+
/**
|
|
134
|
+
* Enable scrollable on table
|
|
135
|
+
* @default `false`
|
|
136
|
+
*/
|
|
137
|
+
scrollable?: boolean;
|
|
133
138
|
}
|
|
134
139
|
export interface MazTableProvide {
|
|
135
140
|
size: Ref<Size>;
|
|
@@ -137,13 +142,14 @@ export interface MazTableProvide {
|
|
|
137
142
|
backgroundEven: Ref<boolean>;
|
|
138
143
|
backgroundOdd: Ref<boolean>;
|
|
139
144
|
}
|
|
145
|
+
export declare const mazTableKey = "maz-table";
|
|
140
146
|
declare const _default: <T extends Row<T>>(__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<{
|
|
141
147
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
142
148
|
readonly "onUpdate:model-value"?: ((value: (string | number | boolean | Row<T>)[] | undefined) => any) | undefined;
|
|
143
149
|
readonly "onUpdate:search-query"?: ((searchQuery: string | undefined) => any) | undefined;
|
|
144
150
|
readonly "onUpdate:page"?: ((page: number) => any) | undefined;
|
|
145
151
|
readonly "onUpdate:page-size"?: ((pageSize: number) => any) | undefined;
|
|
146
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value" | "onUpdate:search-query" | "onUpdate:page" | "onUpdate:page-size"> & MazTableProps<T>> & import("vue").PublicProps;
|
|
152
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:model-value" | "onUpdate:search-query" | "onUpdate:page" | "onUpdate:page-size"> & Partial<{}> & MazTableProps<T>> & import("vue").PublicProps;
|
|
147
153
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
148
154
|
attrs: any;
|
|
149
155
|
slots: Partial<Record<`header-label-${string}`, (_: {
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
2
3
|
slots: {
|
|
3
4
|
default?(_: {}): any;
|
|
4
5
|
};
|
|
5
6
|
refs: {};
|
|
6
|
-
|
|
7
|
+
rootEl: HTMLTableCellElement;
|
|
7
8
|
};
|
|
8
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLTableCellElement>;
|
|
10
11
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
11
12
|
export default _default;
|
|
12
13
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -3,14 +3,15 @@ export interface Props {
|
|
|
3
3
|
noHoverable?: boolean;
|
|
4
4
|
}
|
|
5
5
|
declare function __VLS_template(): {
|
|
6
|
+
attrs: Partial<{}>;
|
|
6
7
|
slots: {
|
|
7
8
|
default?(_: {}): any;
|
|
8
9
|
};
|
|
9
10
|
refs: {};
|
|
10
|
-
|
|
11
|
+
rootEl: HTMLTableRowElement;
|
|
11
12
|
};
|
|
12
13
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
-
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLTableRowElement>;
|
|
14
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
16
|
export default _default;
|
|
16
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|