maz-ui 3.47.2-beta.2 → 3.47.2-beta.20
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 +16 -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 +5 -5
- package/components/MazPhoneNumberInput/types.d.ts +2 -1
- package/components/MazPhoneNumberInput/{use-libphonenumber.d.ts → useLibphonenumber.d.ts} +4 -4
- package/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
- package/components/MazPhoneNumberInput.d.ts +69 -25
- 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-B5ioqwkK.mjs +103 -0
- package/components/chunks/MazBtn-BS2kvd1Z.mjs +103 -0
- package/components/chunks/MazBtn-BVWOyFm-.mjs +103 -0
- package/components/chunks/MazBtn-BrfhtojY.mjs +103 -0
- package/components/chunks/MazBtn-C4nwxs9T.mjs +103 -0
- package/components/chunks/MazBtn-C60T0UDa.mjs +103 -0
- package/components/chunks/MazBtn-CElHmZjv.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-D4NOcykx.mjs +103 -0
- package/components/chunks/MazBtn-Db6ai-Mv.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-B5ZcWc3y.mjs} +63 -59
- package/components/chunks/{MazCheckbox-B22OcHt8.mjs → MazCheckbox-BDPgDiU3.mjs} +63 -59
- package/components/chunks/{MazCheckbox-Db6sPUbV.mjs → MazCheckbox-BeLByOEa.mjs} +64 -60
- package/components/chunks/{MazChecklist-C95Y4Hb-.mjs → MazChecklist-BurPprmw.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-BF5TFzse.mjs → MazIcon-CaXpmvN2.mjs} +4 -3
- package/components/chunks/{MazIcon-BbvBov5G.mjs → MazIcon-_hN-Kivn.mjs} +14 -13
- package/components/chunks/MazInput-BT-mbJfZ.mjs +313 -0
- package/components/chunks/MazInput-BTIdtLkD.mjs +314 -0
- package/components/chunks/MazInput-BfWJoPre.mjs +324 -0
- package/components/chunks/MazInputNumber-R0RzDeyD.mjs +600 -0
- package/components/chunks/{MazInputPrice-DoTnDDIN.mjs → MazInputPrice-CKSdqO4X.mjs} +200 -169
- package/components/chunks/{MazInputTags-Dj3sW-e5.mjs → MazInputTags-D6jQ2-Ia.mjs} +248 -220
- 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-D3pDBJSb.mjs +36 -0
- package/components/chunks/MazPagination-BSu0Ifkp.mjs +327 -0
- package/components/chunks/{MazPhoneNumberInput-BbssOUzo.mjs → MazPhoneNumberInput-DibUhBpk.mjs} +762 -731
- package/components/chunks/MazPicker-CwiuW5Pv.mjs +2486 -0
- package/components/chunks/{MazPickerMonthSwitcher-CmFFQoPA.mjs → MazPickerMonthSwitcher-C65el7R0.mjs} +1 -1
- package/components/chunks/{MazPickerShortcuts-DaELz7aq.mjs → MazPickerShortcuts-DbrOoszH.mjs} +1 -1
- package/components/chunks/{MazPickerYearSwitcher-m1_KXnpA.mjs → MazPickerYearSwitcher-D9lqntyR.mjs} +1 -1
- package/components/chunks/MazSelect-CbT4tFqV.mjs +550 -0
- package/components/chunks/MazSelect-CyWAOXo4.mjs +867 -0
- package/components/chunks/MazSpinner-BDda3YzZ.mjs +34 -0
- package/components/chunks/{MazSpinner-BcB0szZB.mjs → MazSpinner-BlbTztM3.mjs} +1 -1
- package/components/chunks/{MazSpinner-CfiIXW8y.mjs → MazSpinner-C2-JMhVh.mjs} +1 -1
- package/components/chunks/{MazSpinner-BsYJDmi9.mjs → MazSpinner-C6h03sqc.mjs} +1 -1
- package/components/chunks/MazSpinner-CS1_l-tv.mjs +34 -0
- package/components/chunks/{MazSpinner-DmiLBQgR.mjs → MazSpinner-Cp_nPioh.mjs} +1 -1
- package/components/chunks/{MazSpinner-Bb3f2t6w.mjs → MazSpinner-CwmaAuL1.mjs} +1 -1
- package/components/chunks/{MazSpinner-BpkPcfCt.mjs → MazSpinner-D5Sbo759.mjs} +1 -1
- package/components/chunks/MazSpinner-DPur0-r-.mjs +34 -0
- package/components/chunks/MazSpinner-DYE8e9xl.mjs +34 -0
- package/components/chunks/MazSpinner-DjUU4G1h.mjs +34 -0
- package/components/chunks/{MazSpinner-C-64WJje.mjs → MazSpinner-DqD51Fb6.mjs} +1 -1
- package/components/chunks/MazSpinner-DudoF-cG.mjs +34 -0
- package/components/chunks/MazSpinner-EAz0nFxC.mjs +34 -0
- package/components/chunks/{MazSpinner-DoRGA1RI.mjs → MazSpinner-N-1gjTUE.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/MazSpinner-mtv0dluJ.mjs +34 -0
- package/components/chunks/MazStepper-B3fuhbye.mjs +218 -0
- package/components/chunks/{MazTable-BJDPdIJB.mjs → MazTable-hA0HicaL.mjs} +85 -81
- package/components/chunks/MazTableCell-DkCidYWY.mjs +23 -0
- package/components/chunks/MazTableRow-BAl6Fzm8.mjs +30 -0
- package/components/chunks/{MazTableTitle-Ch-nyY1E.mjs → MazTableTitle-CY_LNDOk.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/{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 +16 -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 +5 -5
- package/types/components/MazPhoneNumberInput/types.d.ts +2 -1
- package/types/components/MazPhoneNumberInput/{use-libphonenumber.d.ts → useLibphonenumber.d.ts} +4 -4
- package/types/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
- package/types/components/MazPhoneNumberInput.vue.d.ts +69 -25
- 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/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/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-edxn0ncQ.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/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
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
import type { Color, Size, Translations } from '../MazPhoneNumberInput.vue';
|
|
2
|
-
|
|
2
|
+
type __VLS_Props = {
|
|
3
3
|
id: string;
|
|
4
4
|
color: Color;
|
|
5
5
|
size: Size;
|
|
@@ -15,14 +15,14 @@ declare let __VLS_typeProps: {
|
|
|
15
15
|
noFormattingAsYouType?: boolean;
|
|
16
16
|
};
|
|
17
17
|
type __VLS_PublicProps = {
|
|
18
|
-
modelValue?: string;
|
|
19
|
-
} &
|
|
18
|
+
modelValue?: string | undefined | null;
|
|
19
|
+
} & __VLS_Props;
|
|
20
20
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
21
|
"update:model-value": (phoneNumber?: string | undefined) => any;
|
|
22
|
-
"update:modelValue": (
|
|
22
|
+
"update:modelValue": (value: string | null | undefined) => any;
|
|
23
23
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
24
|
"onUpdate:model-value"?: ((phoneNumber?: string | undefined) => any) | undefined;
|
|
25
|
-
"onUpdate:modelValue"?: ((
|
|
25
|
+
"onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
label: string;
|
|
28
28
|
placeholder: string;
|
|
@@ -3,7 +3,7 @@ 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
7
|
countryCallingCode?: CountryCallingCode;
|
|
8
8
|
nationalNumber?: NationalNumber;
|
|
9
9
|
type?: NumberType;
|
|
@@ -12,6 +12,7 @@ export interface Results {
|
|
|
12
12
|
uri?: string;
|
|
13
13
|
e164?: string;
|
|
14
14
|
rfc3966?: string;
|
|
15
|
+
possibleCountries?: CountryCode[];
|
|
15
16
|
phoneNumber?: string;
|
|
16
17
|
}
|
|
17
18
|
export type Translations = typeof defaultLocales;
|
package/types/components/MazPhoneNumberInput/{use-libphonenumber.d.ts → useLibphonenumber.d.ts}
RENAMED
|
@@ -2,12 +2,12 @@ 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
4
|
declare function getPhoneNumberResults({ phoneNumber, countryCode, }: {
|
|
5
|
-
phoneNumber?: string;
|
|
6
|
-
countryCode?: CountryCode;
|
|
5
|
+
phoneNumber?: string | undefined | null;
|
|
6
|
+
countryCode?: CountryCode | undefined | null;
|
|
7
7
|
}): Results;
|
|
8
|
-
declare function getAsYouTypeFormat(countryCode?: CountryCode, phoneNumber?: string): string;
|
|
9
8
|
declare function getPhoneNumberExamplesFile(): Promise<Examples>;
|
|
10
|
-
declare function getPhoneNumberExample(examples: Examples, countryCode?: CountryCode): string | undefined;
|
|
9
|
+
declare function getPhoneNumberExample(examples: Examples, countryCode?: CountryCode | undefined | null): string | undefined;
|
|
10
|
+
declare function getAsYouTypeFormat(countryCode?: CountryCode | undefined | null, phoneNumber?: string | undefined | null): string | undefined;
|
|
11
11
|
export declare function useLibphonenumber(): {
|
|
12
12
|
getAsYouTypeFormat: typeof getAsYouTypeFormat;
|
|
13
13
|
getPhoneNumberResults: typeof getPhoneNumberResults;
|
|
@@ -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;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CountryCode } from 'libphonenumber-js';
|
|
2
2
|
import type { Results, Translations } from './MazPhoneNumberInput/types';
|
|
3
3
|
import type { Color, Position, Size } from './types';
|
|
4
|
-
import { type HTMLAttributes
|
|
4
|
+
import { type HTMLAttributes } from 'vue';
|
|
5
5
|
export type { Color, CountryCode, Position, Results, Results as Result, Size, Translations };
|
|
6
6
|
export interface Props {
|
|
7
7
|
/** Style attribut of the component root element */
|
|
@@ -9,13 +9,13 @@ export interface Props {
|
|
|
9
9
|
/** Class attribut of the component root element */
|
|
10
10
|
class?: HTMLAttributes['class'];
|
|
11
11
|
/** @model Country calling code + telephone number in international format */
|
|
12
|
-
modelValue?: string;
|
|
12
|
+
modelValue?: string | undefined | null;
|
|
13
13
|
/** @deprecated */
|
|
14
|
-
defaultPhoneNumber?: string;
|
|
14
|
+
defaultPhoneNumber?: string | undefined | null;
|
|
15
15
|
/** @model Country code selected - Ex: "FR" */
|
|
16
|
-
countryCode?: CountryCode;
|
|
16
|
+
countryCode?: CountryCode | undefined | null;
|
|
17
17
|
/** @deprecated - use country-code or v-model:country-code */
|
|
18
|
-
defaultCountryCode?: CountryCode;
|
|
18
|
+
defaultCountryCode?: CountryCode | undefined | null;
|
|
19
19
|
/** Id of the component */
|
|
20
20
|
id?: string;
|
|
21
21
|
/** Placeholder of the input */
|
|
@@ -107,18 +107,62 @@ export interface Props {
|
|
|
107
107
|
*/
|
|
108
108
|
phoneInputAttributes?: Record<string, unknown>;
|
|
109
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* State
|
|
112
|
+
*/
|
|
113
|
+
declare const phoneNumber: import("vue").Ref<string | null | undefined, string | null | undefined>;
|
|
114
|
+
declare const selectedCountry: import("vue").Ref<CountryCode | null | undefined, CountryCode | null | undefined>;
|
|
115
|
+
declare const results: import("vue").Ref<{
|
|
116
|
+
isValid: boolean;
|
|
117
|
+
isPossible?: boolean | undefined;
|
|
118
|
+
countryCode?: CountryCode | undefined | null;
|
|
119
|
+
countryCallingCode?: import("libphonenumber-js").CountryCallingCode | undefined;
|
|
120
|
+
nationalNumber?: import("libphonenumber-js").NationalNumber | undefined;
|
|
121
|
+
type?: import("libphonenumber-js").NumberType;
|
|
122
|
+
formatInternational?: string | undefined;
|
|
123
|
+
formatNational?: string | undefined;
|
|
124
|
+
uri?: string | undefined;
|
|
125
|
+
e164?: string | undefined;
|
|
126
|
+
rfc3966?: string | undefined;
|
|
127
|
+
possibleCountries?: CountryCode[] | undefined;
|
|
128
|
+
phoneNumber?: string | undefined;
|
|
129
|
+
}, Results | {
|
|
130
|
+
isValid: boolean;
|
|
131
|
+
isPossible?: boolean | undefined;
|
|
132
|
+
countryCode?: CountryCode | undefined | null;
|
|
133
|
+
countryCallingCode?: import("libphonenumber-js").CountryCallingCode | undefined;
|
|
134
|
+
nationalNumber?: import("libphonenumber-js").NationalNumber | undefined;
|
|
135
|
+
type?: import("libphonenumber-js").NumberType;
|
|
136
|
+
formatInternational?: string | undefined;
|
|
137
|
+
formatNational?: string | undefined;
|
|
138
|
+
uri?: string | undefined;
|
|
139
|
+
e164?: string | undefined;
|
|
140
|
+
rfc3966?: string | undefined;
|
|
141
|
+
possibleCountries?: CountryCode[] | undefined;
|
|
142
|
+
phoneNumber?: string | undefined;
|
|
143
|
+
}>;
|
|
110
144
|
interface SelectionRange {
|
|
111
145
|
start?: number | null;
|
|
112
146
|
end?: number | null;
|
|
113
147
|
cursorAtEnd?: boolean;
|
|
114
148
|
}
|
|
115
149
|
export interface InjectedData {
|
|
116
|
-
selectedCountry:
|
|
117
|
-
phoneNumber:
|
|
118
|
-
results:
|
|
119
|
-
selectionRange:
|
|
150
|
+
selectedCountry: typeof selectedCountry;
|
|
151
|
+
phoneNumber: typeof phoneNumber;
|
|
152
|
+
results: typeof results;
|
|
153
|
+
selectionRange: typeof selectionRange;
|
|
120
154
|
}
|
|
155
|
+
declare const selectionRange: import("vue").Ref<{
|
|
156
|
+
start?: (number | null) | undefined;
|
|
157
|
+
end?: (number | null) | undefined;
|
|
158
|
+
cursorAtEnd?: boolean | undefined;
|
|
159
|
+
}, SelectionRange | {
|
|
160
|
+
start?: (number | null) | undefined;
|
|
161
|
+
end?: (number | null) | undefined;
|
|
162
|
+
cursorAtEnd?: boolean | undefined;
|
|
163
|
+
}>;
|
|
121
164
|
declare function __VLS_template(): {
|
|
165
|
+
attrs: Partial<{}>;
|
|
122
166
|
slots: {
|
|
123
167
|
"no-results"?(_: {}): any;
|
|
124
168
|
"selector-flag"?(_: {
|
|
@@ -132,7 +176,7 @@ declare function __VLS_template(): {
|
|
|
132
176
|
};
|
|
133
177
|
refs: {
|
|
134
178
|
PhoneInputRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
135
|
-
modelValue?: string;
|
|
179
|
+
modelValue?: string | undefined | null;
|
|
136
180
|
} & {
|
|
137
181
|
id: string;
|
|
138
182
|
color: Color;
|
|
@@ -149,10 +193,10 @@ declare function __VLS_template(): {
|
|
|
149
193
|
noFormattingAsYouType?: boolean;
|
|
150
194
|
}> & Readonly<{
|
|
151
195
|
"onUpdate:model-value"?: ((phoneNumber?: string | undefined) => any) | undefined;
|
|
152
|
-
"onUpdate:modelValue"?: ((
|
|
196
|
+
"onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
|
|
153
197
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
154
198
|
"update:model-value": (phoneNumber?: string | undefined) => any;
|
|
155
|
-
"update:modelValue": (
|
|
199
|
+
"update:modelValue": (value: string | null | undefined) => any;
|
|
156
200
|
}, import("vue").PublicProps, {
|
|
157
201
|
label: string;
|
|
158
202
|
placeholder: string;
|
|
@@ -164,7 +208,7 @@ declare function __VLS_template(): {
|
|
|
164
208
|
M: {};
|
|
165
209
|
Defaults: {};
|
|
166
210
|
}, Readonly<{
|
|
167
|
-
modelValue?: string;
|
|
211
|
+
modelValue?: string | undefined | null;
|
|
168
212
|
} & {
|
|
169
213
|
id: string;
|
|
170
214
|
color: Color;
|
|
@@ -181,27 +225,27 @@ declare function __VLS_template(): {
|
|
|
181
225
|
noFormattingAsYouType?: boolean;
|
|
182
226
|
}> & Readonly<{
|
|
183
227
|
"onUpdate:model-value"?: ((phoneNumber?: string | undefined) => any) | undefined;
|
|
184
|
-
"onUpdate:modelValue"?: ((
|
|
228
|
+
"onUpdate:modelValue"?: ((value: string | null | undefined) => any) | undefined;
|
|
185
229
|
}>, {}, {}, {}, {}, {
|
|
186
230
|
label: string;
|
|
187
231
|
placeholder: string;
|
|
188
232
|
}> | null;
|
|
189
233
|
};
|
|
190
|
-
|
|
234
|
+
rootEl: any;
|
|
191
235
|
};
|
|
192
236
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
193
237
|
declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
194
238
|
data: (results: Results) => any;
|
|
195
|
-
"update:model-value": (value: string) => any;
|
|
239
|
+
"update:model-value": (value: string | null | undefined) => any;
|
|
196
240
|
update: (results: Results) => any;
|
|
197
|
-
"country-code": (countryCode?: CountryCode | undefined) => any;
|
|
198
|
-
"update:country-code": (countryCode?: CountryCode | undefined) => any;
|
|
241
|
+
"country-code": (countryCode?: CountryCode | null | undefined) => any;
|
|
242
|
+
"update:country-code": (countryCode?: CountryCode | null | undefined) => any;
|
|
199
243
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
200
244
|
onData?: ((results: Results) => any) | undefined;
|
|
201
|
-
"onUpdate:model-value"?: ((value: string) => any) | undefined;
|
|
245
|
+
"onUpdate:model-value"?: ((value: string | null | undefined) => any) | undefined;
|
|
202
246
|
onUpdate?: ((results: Results) => any) | undefined;
|
|
203
|
-
"onCountry-code"?: ((countryCode?: CountryCode | undefined) => any) | undefined;
|
|
204
|
-
"onUpdate:country-code"?: ((countryCode?: CountryCode | undefined) => any) | undefined;
|
|
247
|
+
"onCountry-code"?: ((countryCode?: CountryCode | null | undefined) => any) | undefined;
|
|
248
|
+
"onUpdate:country-code"?: ((countryCode?: CountryCode | null | undefined) => any) | undefined;
|
|
205
249
|
}>, {
|
|
206
250
|
label: string;
|
|
207
251
|
style: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
@@ -209,8 +253,8 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
209
253
|
color: Color;
|
|
210
254
|
class: HTMLAttributes["class"];
|
|
211
255
|
id: string;
|
|
256
|
+
modelValue: string | null;
|
|
212
257
|
orientation: "row" | "col" | "responsive";
|
|
213
|
-
modelValue: string;
|
|
214
258
|
placeholder: string;
|
|
215
259
|
listPosition: Position;
|
|
216
260
|
searchThreshold: number;
|
|
@@ -220,11 +264,11 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
220
264
|
onlyCountries: CountryCode[];
|
|
221
265
|
customCountriesList: Record<CountryCode, string>;
|
|
222
266
|
countryLocale: string;
|
|
223
|
-
countryCode: CountryCode;
|
|
267
|
+
countryCode: CountryCode | null;
|
|
224
268
|
autoFormat: boolean;
|
|
225
269
|
noFormattingAsYouType: boolean;
|
|
226
|
-
defaultPhoneNumber: string;
|
|
227
|
-
defaultCountryCode: CountryCode;
|
|
270
|
+
defaultPhoneNumber: string | null;
|
|
271
|
+
defaultCountryCode: CountryCode | null;
|
|
228
272
|
translations: Partial<Translations>;
|
|
229
273
|
countrySelectorWidth: string;
|
|
230
274
|
countrySelectAttributes: Record<string, unknown>;
|
|
@@ -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;
|