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.
Files changed (368) hide show
  1. package/components/MazAccordion.d.ts +3 -2
  2. package/components/MazAccordion.mjs +90 -98
  3. package/components/MazAnimatedCounter.d.ts +16 -32
  4. package/components/MazAnimatedCounter.mjs +26 -26
  5. package/components/MazAvatar.d.ts +2 -1
  6. package/components/MazAvatar.mjs +1 -1
  7. package/components/MazBackdrop.d.ts +23 -14
  8. package/components/MazBackdrop.mjs +107 -82
  9. package/components/MazBadge.d.ts +7 -2
  10. package/components/MazBadge.mjs +1 -1
  11. package/components/MazBottomSheet.d.ts +13 -25
  12. package/components/MazBottomSheet.mjs +1 -1
  13. package/components/MazBtn.d.ts +4 -3
  14. package/components/MazBtn.mjs +1 -1
  15. package/components/MazCard.d.ts +5 -4
  16. package/components/MazCard.mjs +1 -1
  17. package/components/MazCardSpotlight.d.ts +3 -2
  18. package/components/MazCardSpotlight.mjs +18 -22
  19. package/components/MazCarousel.d.ts +3 -2
  20. package/components/MazCarousel.mjs +1 -1
  21. package/components/MazCheckbox.d.ts +4 -3
  22. package/components/MazCheckbox.mjs +86 -83
  23. package/components/MazChecklist.d.ts +2 -5
  24. package/components/MazChecklist.mjs +1 -1
  25. package/components/MazCircularProgressBar.d.ts +31 -60
  26. package/components/MazCircularProgressBar.mjs +76 -74
  27. package/components/MazDialog.d.ts +24 -33
  28. package/components/MazDialog.mjs +1 -1
  29. package/components/MazDialogPromise.d.ts +3 -3
  30. package/components/MazDialogPromise.mjs +1 -1
  31. package/components/MazDrawer.d.ts +9 -5
  32. package/components/MazDrawer.mjs +2 -194
  33. package/components/MazDropdown.d.ts +25 -3
  34. package/components/MazDropdown.mjs +2 -325
  35. package/components/MazDropzone.d.ts +1 -1
  36. package/components/MazExpandAnimation.d.ts +6 -5
  37. package/components/MazExpandAnimation.mjs +22 -25
  38. package/components/MazFullscreenLoader.d.ts +2 -1
  39. package/components/MazFullscreenLoader.mjs +7 -7
  40. package/components/MazGallery.d.ts +1 -1
  41. package/components/MazGallery.mjs +1 -1
  42. package/components/MazIcon.mjs +14 -13
  43. package/components/MazInput.d.ts +18 -3
  44. package/components/MazInput.mjs +1 -1
  45. package/components/MazInputCode.d.ts +1 -1
  46. package/components/MazInputCode.mjs +36 -39
  47. package/components/MazInputNumber.d.ts +2 -2
  48. package/components/MazInputNumber.mjs +1 -1
  49. package/components/MazInputPrice.d.ts +4 -3
  50. package/components/MazInputPrice.mjs +1 -1
  51. package/components/MazInputTags.mjs +1 -1
  52. package/components/MazLazyImg.d.ts +2 -1
  53. package/components/MazLink.d.ts +2 -1
  54. package/components/MazLink.mjs +1 -1
  55. package/components/MazLoadingBar.d.ts +1 -1
  56. package/components/MazLoadingBar.mjs +31 -27
  57. package/components/MazPagination.d.ts +3 -2
  58. package/components/MazPagination.mjs +1 -1
  59. package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +31 -55
  60. package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +13 -24
  61. package/components/MazPhoneNumberInput/types.d.ts +4 -2
  62. package/{types/components/MazPhoneNumberInput/use-libphonenumber.d.ts → components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
  63. package/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
  64. package/components/MazPhoneNumberInput.mjs +1 -1
  65. package/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
  66. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
  67. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  68. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
  69. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
  70. package/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
  71. package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  72. package/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
  73. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
  74. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
  75. package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  76. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
  77. package/components/MazPicker.d.ts +3 -1
  78. package/components/MazPicker.mjs +1 -1
  79. package/components/MazPullToRefresh.d.ts +4 -3
  80. package/components/MazRadio.d.ts +1 -1
  81. package/components/MazRadio.mjs +31 -37
  82. package/components/MazRadioButtons.d.ts +1 -1
  83. package/components/MazReadingProgressBar.d.ts +1 -1
  84. package/components/MazSelect.d.ts +2 -2
  85. package/components/MazSelect.mjs +1 -1
  86. package/components/MazSlider.d.ts +1 -1
  87. package/components/MazSpinner.d.ts +1 -1
  88. package/components/MazStepper.d.ts +3 -2
  89. package/components/MazStepper.mjs +1 -1
  90. package/components/MazSwitch.d.ts +2 -1
  91. package/components/MazSwitch.mjs +29 -33
  92. package/components/MazTable.d.ts +8 -2
  93. package/components/MazTable.mjs +3 -2
  94. package/components/MazTableCell.d.ts +3 -2
  95. package/components/MazTableCell.mjs +12 -12
  96. package/components/MazTableRow.d.ts +3 -2
  97. package/components/MazTableRow.mjs +16 -16
  98. package/components/MazTableTitle.d.ts +3 -2
  99. package/components/MazTableTitle.mjs +18 -18
  100. package/components/MazTabs.d.ts +3 -2
  101. package/components/MazTabsBar.d.ts +3 -2
  102. package/components/MazTabsBar.mjs +1 -1
  103. package/components/MazTabsContent.d.ts +3 -2
  104. package/components/MazTabsContent.mjs +4 -4
  105. package/components/MazTabsContentItem.d.ts +2 -1
  106. package/components/MazTabsContentItem.mjs +11 -11
  107. package/components/MazTextarea.d.ts +58 -32
  108. package/components/MazTextarea.mjs +128 -109
  109. package/components/MazTransitionExpand.d.ts +2 -1
  110. package/components/MazTransitionExpand.mjs +9 -9
  111. package/components/assets/MazAccordion.css +1 -1
  112. package/components/assets/MazAnimatedCounter.css +1 -1
  113. package/components/assets/MazAvatar.css +1 -1
  114. package/components/assets/MazBackdrop.css +1 -1
  115. package/components/assets/MazBadge.css +1 -1
  116. package/components/assets/MazBottomSheet.css +1 -1
  117. package/components/assets/MazBtn.css +1 -1
  118. package/components/assets/MazCardSpotlight.css +1 -1
  119. package/components/assets/MazCheckbox.css +1 -1
  120. package/components/assets/MazChecklist.css +1 -1
  121. package/components/assets/MazCircularProgressBar.css +1 -1
  122. package/components/assets/MazDialog.css +1 -1
  123. package/components/assets/MazDialogPromise.css +1 -1
  124. package/components/assets/MazDrawer.css +1 -1
  125. package/components/assets/MazDropdown.css +1 -1
  126. package/components/assets/MazExpandAnimation.css +1 -1
  127. package/components/assets/MazGallery.css +1 -1
  128. package/components/assets/MazInput.css +1 -1
  129. package/components/assets/MazInputCode.css +1 -1
  130. package/components/assets/MazInputNumber.css +1 -1
  131. package/components/assets/MazInputPrice.css +1 -1
  132. package/components/assets/MazInputTags.css +1 -1
  133. package/components/assets/MazLoadingBar.css +1 -1
  134. package/components/assets/MazPagination.css +1 -1
  135. package/components/assets/MazPhoneNumberInput.css +1 -1
  136. package/components/assets/MazPicker.css +1 -1
  137. package/components/assets/MazRadio.css +1 -1
  138. package/components/assets/MazSelect.css +1 -1
  139. package/components/assets/MazStepper.css +1 -1
  140. package/components/assets/MazSwitch.css +1 -1
  141. package/components/assets/MazTable.css +1 -1
  142. package/components/assets/MazTableCell.css +1 -1
  143. package/components/assets/MazTableRow.css +1 -1
  144. package/components/assets/MazTableTitle.css +1 -1
  145. package/components/assets/MazTabsBar.css +1 -1
  146. package/components/assets/MazTabsContentItem.css +1 -1
  147. package/components/assets/MazTextarea.css +1 -1
  148. package/components/assets/MazTransitionExpand.css +1 -1
  149. package/components/chunks/{MazAvatar-DFoZvWmg.mjs → MazAvatar-CZzOIbzh.mjs} +54 -54
  150. package/components/chunks/{MazBadge-CqppWg2j.mjs → MazBadge-DCzaExPj.mjs} +2 -2
  151. package/components/chunks/MazBottomSheet-DGsGO0zo.mjs +224 -0
  152. package/components/chunks/MazBtn-4-B-zs6Y.mjs +103 -0
  153. package/components/chunks/MazBtn-BS2kvd1Z.mjs +103 -0
  154. package/components/chunks/MazBtn-BVWOyFm-.mjs +103 -0
  155. package/components/chunks/MazBtn-C60T0UDa.mjs +103 -0
  156. package/components/chunks/MazBtn-C6zsmGnw.mjs +103 -0
  157. package/components/chunks/MazBtn-C7yEnuOD.mjs +103 -0
  158. package/components/chunks/MazBtn-CM-xSnA5.mjs +108 -0
  159. package/components/chunks/MazBtn-CsLtHm4K.mjs +103 -0
  160. package/components/chunks/MazBtn-D1jMqwE1.mjs +103 -0
  161. package/components/chunks/MazBtn-DAXwt847.mjs +103 -0
  162. package/components/chunks/MazBtn-DOWVQgpN.mjs +103 -0
  163. package/components/chunks/MazBtn-DZaVjTvW.mjs +103 -0
  164. package/components/chunks/MazBtn-ZAcYNusG.mjs +103 -0
  165. package/components/chunks/MazBtn-oZhhJy09.mjs +103 -0
  166. package/components/chunks/{MazCard-BYB8y1_u.mjs → MazCard-98OuVlyK.mjs} +1 -1
  167. package/components/chunks/{MazCarousel-DccWVW8H.mjs → MazCarousel-COTaKhKF.mjs} +1 -1
  168. package/components/chunks/{MazCheckbox-DMogZVHl.mjs → MazCheckbox-BNvSeNBP.mjs} +63 -59
  169. package/components/chunks/{MazCheckbox-B22OcHt8.mjs → MazCheckbox-CCma_qyQ.mjs} +63 -59
  170. package/components/chunks/{MazCheckbox-Db6sPUbV.mjs → MazCheckbox-eOEEACaM.mjs} +64 -60
  171. package/components/chunks/{MazChecklist-C95Y4Hb-.mjs → MazChecklist-Bb_70sf5.mjs} +110 -111
  172. package/components/chunks/MazDialog-Ca3jJ12T.mjs +297 -0
  173. package/components/chunks/MazDialogPromise-DOnmLhui.mjs +551 -0
  174. package/components/chunks/MazDrawer-Bas9dy0D.mjs +226 -0
  175. package/components/chunks/MazDropdown-0r445NfW.mjs +426 -0
  176. package/components/chunks/MazExpandAnimation-Bdf0-L85.mjs +54 -0
  177. package/components/chunks/{MazGallery-VTZUhBKC.mjs → MazGallery-r8SBTCgJ.mjs} +42 -45
  178. package/components/chunks/{MazGallery-CXQiXWFr.mjs → MazGallery-xPp1apvO.mjs} +94 -97
  179. package/components/chunks/MazIcon-BoTByt7n.mjs +4 -0
  180. package/components/chunks/{MazIcon-DjMuw8Bz.mjs → MazIcon-C-aPrqx2.mjs} +4 -3
  181. package/components/chunks/{MazIcon-BbvBov5G.mjs → MazIcon-_hN-Kivn.mjs} +14 -13
  182. package/components/chunks/{MazIcon-BF5TFzse.mjs → MazIcon-kLACGOa2.mjs} +4 -3
  183. package/components/chunks/MazInput-BM4n-byz.mjs +313 -0
  184. package/components/chunks/MazInput-BcutbP8N.mjs +314 -0
  185. package/components/chunks/MazInput-C9Qh4Gt3.mjs +324 -0
  186. package/components/chunks/MazInputNumber-DgjOMiOt.mjs +600 -0
  187. package/components/chunks/{MazInputPrice-DoTnDDIN.mjs → MazInputPrice-D6fJN9yv.mjs} +200 -169
  188. package/components/chunks/{MazInputTags-Dj3sW-e5.mjs → MazInputTags-DthGSyHQ.mjs} +251 -223
  189. package/components/chunks/{MazLazyImg-C03sUOXs.mjs → MazLazyImg-DQLwaKKz.mjs} +2 -2
  190. package/components/chunks/{MazLink-C_3Wya94.mjs → MazLink-tud3eDgU.mjs} +1 -1
  191. package/components/chunks/MazLoadingBar-C2qPjfEQ.mjs +36 -0
  192. package/components/chunks/MazPagination-BSu0Ifkp.mjs +327 -0
  193. package/components/chunks/MazPhoneNumberInput-BQjByOtQ.mjs +1813 -0
  194. package/components/chunks/MazPicker-BljfUneI.mjs +2486 -0
  195. package/components/chunks/{MazPickerMonthSwitcher-CmFFQoPA.mjs → MazPickerMonthSwitcher-CEVb4BXw.mjs} +1 -1
  196. package/components/chunks/{MazPickerShortcuts-DaELz7aq.mjs → MazPickerShortcuts-DayGMC9m.mjs} +1 -1
  197. package/components/chunks/{MazPickerYearSwitcher-m1_KXnpA.mjs → MazPickerYearSwitcher-DC1lFIbp.mjs} +1 -1
  198. package/components/chunks/MazSelect-CH3JdigO.mjs +867 -0
  199. package/components/chunks/MazSelect-D3KXcHJS.mjs +550 -0
  200. package/components/chunks/MazSpinner-B5JChIrj.mjs +34 -0
  201. package/components/chunks/{MazSpinner-DoRGA1RI.mjs → MazSpinner-BBZoDxwq.mjs} +1 -1
  202. package/components/chunks/{MazSpinner-BpkPcfCt.mjs → MazSpinner-BIPm54-3.mjs} +1 -1
  203. package/components/chunks/{MazSpinner-edxn0ncQ.mjs → MazSpinner-BlbTztM3.mjs} +1 -1
  204. package/components/chunks/MazSpinner-C-ln9ldX.mjs +34 -0
  205. package/components/chunks/MazSpinner-C11EOZZd.mjs +34 -0
  206. package/components/chunks/{MazSpinner-BsYJDmi9.mjs → MazSpinner-C6h03sqc.mjs} +1 -1
  207. package/components/chunks/{MazSpinner-Bb3f2t6w.mjs → MazSpinner-CCc9ajpj.mjs} +1 -1
  208. package/components/chunks/{MazSpinner-BcB0szZB.mjs → MazSpinner-CgKOIkQQ.mjs} +1 -1
  209. package/components/chunks/{MazSpinner-DmiLBQgR.mjs → MazSpinner-Cp_nPioh.mjs} +1 -1
  210. package/components/chunks/{MazSpinner-CfiIXW8y.mjs → MazSpinner-CwdlrYSt.mjs} +1 -1
  211. package/components/chunks/MazSpinner-D5Sbo759.mjs +34 -0
  212. package/components/chunks/MazSpinner-DPur0-r-.mjs +34 -0
  213. package/components/chunks/MazSpinner-DjUU4G1h.mjs +34 -0
  214. package/components/chunks/MazSpinner-DoPIk0St.mjs +34 -0
  215. package/components/chunks/{MazSpinner-C-64WJje.mjs → MazSpinner-DqD51Fb6.mjs} +1 -1
  216. package/components/chunks/MazSpinner-QfPXLpa_.mjs +34 -0
  217. package/components/chunks/MazSpinner-ZFhNCy24.mjs +34 -0
  218. package/components/chunks/MazSpinner-b90e3OQK.mjs +34 -0
  219. package/components/chunks/MazStepper-B3fuhbye.mjs +218 -0
  220. package/components/chunks/{MazTable-BJDPdIJB.mjs → MazTable-BU3Hluiu.mjs} +85 -81
  221. package/components/chunks/MazTableCell-DKMZAanm.mjs +23 -0
  222. package/components/chunks/MazTableRow-CDHpmXfw.mjs +30 -0
  223. package/components/chunks/{MazTableTitle-Ch-nyY1E.mjs → MazTableTitle-BSFZ84Ob.mjs} +4 -4
  224. package/components/chunks/{MazTabsBar-CM-w7V97.mjs → MazTabsBar--Xq_cpuz.mjs} +62 -78
  225. package/components/chunks/{MazTransitionExpand-PmUDa51_.mjs → MazTransitionExpand-Cedz9Ree.mjs} +8 -8
  226. package/components/chunks/examples.mobile.json-tW3aL0qI.mjs +4 -0
  227. package/components/chunks/{inject-strict-BmiaNiwC.mjs → inject-strict-DEDSuzCz.mjs} +3 -3
  228. package/components/chunks/useInstanceUniqId-BkOfxhk8.mjs +10 -0
  229. package/css/main.css +1 -1
  230. package/modules/assets/MazBtn.css +1 -1
  231. package/modules/assets/index.css +1 -1
  232. package/modules/chunks/MazBtn-CFge_w1W.cjs +1 -0
  233. package/modules/chunks/MazBtn-yNCoLFA6.mjs +103 -0
  234. package/modules/chunks/{MazIcon-DEgoQbMj.mjs → MazIcon-C3__MBEL.mjs} +4 -3
  235. package/modules/chunks/{MazIcon-CkuzyufF.cjs → MazIcon-CqhvM2xp.cjs} +1 -1
  236. package/modules/chunks/{MazSpinner-BurN-1pb.mjs → MazSpinner-C4XtaFJk.mjs} +1 -1
  237. package/modules/chunks/{MazSpinner-jP4QsCNE.cjs → MazSpinner-DkJAN36F.cjs} +1 -1
  238. package/modules/chunks/index-Bawg2UGE.cjs +124 -0
  239. package/modules/chunks/{index-CxFUggmu.mjs → index-CXu9R01-.mjs} +1207 -962
  240. package/modules/index.cjs +1 -1
  241. package/modules/index.mjs +47 -46
  242. package/nuxt/index.json +1 -1
  243. package/package.json +23 -22
  244. package/tailwindcss/variables/colors.ts +2 -0
  245. package/types/components/MazAccordion.vue.d.ts +3 -2
  246. package/types/components/MazAnimatedCounter.vue.d.ts +16 -32
  247. package/types/components/MazAvatar.vue.d.ts +2 -1
  248. package/types/components/MazBackdrop.vue.d.ts +23 -14
  249. package/types/components/MazBadge.vue.d.ts +7 -2
  250. package/types/components/MazBottomSheet.vue.d.ts +13 -25
  251. package/types/components/MazBtn.vue.d.ts +4 -3
  252. package/types/components/MazCard.vue.d.ts +5 -4
  253. package/types/components/MazCardSpotlight.vue.d.ts +3 -2
  254. package/types/components/MazCarousel.vue.d.ts +3 -2
  255. package/types/components/MazCheckbox.vue.d.ts +4 -3
  256. package/types/components/MazChecklist.vue.d.ts +2 -5
  257. package/types/components/MazCircularProgressBar.vue.d.ts +31 -60
  258. package/types/components/MazDialog.vue.d.ts +24 -33
  259. package/types/components/MazDialogPromise.vue.d.ts +3 -3
  260. package/types/components/MazDrawer.vue.d.ts +9 -5
  261. package/types/components/MazDropdown.vue.d.ts +25 -3
  262. package/types/components/MazDropzone.vue.d.ts +1 -1
  263. package/types/components/MazExpandAnimation.vue.d.ts +6 -5
  264. package/types/components/MazFullscreenLoader.vue.d.ts +2 -1
  265. package/types/components/MazGallery.vue.d.ts +1 -1
  266. package/types/components/MazInput.vue.d.ts +18 -3
  267. package/types/components/MazInputCode.vue.d.ts +1 -1
  268. package/types/components/MazInputNumber.vue.d.ts +2 -2
  269. package/types/components/MazInputPrice.vue.d.ts +4 -3
  270. package/types/components/MazLazyImg.vue.d.ts +2 -1
  271. package/types/components/MazLink.vue.d.ts +2 -1
  272. package/types/components/MazLoadingBar.vue.d.ts +1 -1
  273. package/types/components/MazPagination.vue.d.ts +3 -2
  274. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +31 -55
  275. package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +13 -24
  276. package/types/components/MazPhoneNumberInput/types.d.ts +4 -2
  277. package/{components/MazPhoneNumberInput/use-libphonenumber.d.ts → types/components/MazPhoneNumberInput/useLibphonenumber.d.ts} +11 -6
  278. package/types/components/MazPhoneNumberInput/{use-maz-phone-number-input.d.ts → useMazPhoneNumberInput.d.ts} +1 -1
  279. package/types/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
  280. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
  281. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  282. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
  283. package/types/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
  284. package/types/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
  285. package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  286. package/types/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
  287. package/types/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
  288. package/types/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
  289. package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  290. package/types/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
  291. package/types/components/MazPicker.vue.d.ts +3 -1
  292. package/types/components/MazPullToRefresh.vue.d.ts +4 -3
  293. package/types/components/MazRadio.vue.d.ts +1 -1
  294. package/types/components/MazRadioButtons.vue.d.ts +1 -1
  295. package/types/components/MazReadingProgressBar.vue.d.ts +1 -1
  296. package/types/components/MazSelect.vue.d.ts +2 -2
  297. package/types/components/MazSlider.vue.d.ts +1 -1
  298. package/types/components/MazSpinner.vue.d.ts +1 -1
  299. package/types/components/MazStepper.vue.d.ts +3 -2
  300. package/types/components/MazSwitch.vue.d.ts +2 -1
  301. package/types/components/MazTable.vue.d.ts +8 -2
  302. package/types/components/MazTableCell.vue.d.ts +3 -2
  303. package/types/components/MazTableRow.vue.d.ts +3 -2
  304. package/types/components/MazTableTitle.vue.d.ts +3 -2
  305. package/types/components/MazTabs.vue.d.ts +3 -2
  306. package/types/components/MazTabsBar.vue.d.ts +3 -2
  307. package/types/components/MazTabsContent.vue.d.ts +3 -2
  308. package/types/components/MazTabsContentItem.vue.d.ts +2 -1
  309. package/types/components/MazTextarea.vue.d.ts +58 -32
  310. package/types/components/MazTransitionExpand.vue.d.ts +2 -1
  311. package/types/modules/composables/useFormValidator/types.d.ts +8 -8
  312. package/types/modules/composables/useFormValidator/useFormField.d.ts +2 -2
  313. package/types/modules/composables/useFormValidator/useFormValidator.d.ts +3 -3
  314. package/types/modules/composables/useFormValidator/utils.d.ts +5 -5
  315. package/types/modules/composables/useLanguageDisplayNames.d.ts +13 -12
  316. package/types/modules/directives/closable.d.ts +1 -1
  317. package/types/modules/directives/tooltip/index.d.ts +21 -0
  318. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
  319. package/types/modules/helpers/inject-strict.d.ts +2 -1
  320. package/types/tailwindcss/variables/colors.d.ts +2 -0
  321. package/components/MazPhoneNumberInput.d.ts +0 -239
  322. package/components/chunks/MazBottomSheet-CGRvZmGd.mjs +0 -208
  323. package/components/chunks/MazBtn-2VKM1wZu.mjs +0 -106
  324. package/components/chunks/MazBtn-40lm8-AL.mjs +0 -106
  325. package/components/chunks/MazBtn-BB1FyYWv.mjs +0 -114
  326. package/components/chunks/MazBtn-BMYXMZuX.mjs +0 -106
  327. package/components/chunks/MazBtn-BijEMn4r.mjs +0 -106
  328. package/components/chunks/MazBtn-BmrcK2af.mjs +0 -106
  329. package/components/chunks/MazBtn-C72_1uvu.mjs +0 -106
  330. package/components/chunks/MazBtn-CWloP6MI.mjs +0 -111
  331. package/components/chunks/MazBtn-CcyV4DCc.mjs +0 -106
  332. package/components/chunks/MazBtn-DENEMy-c.mjs +0 -106
  333. package/components/chunks/MazBtn-DfqRZvbB.mjs +0 -106
  334. package/components/chunks/MazBtn-UnZQuu6P.mjs +0 -106
  335. package/components/chunks/MazBtn-cDJlUVVY.mjs +0 -106
  336. package/components/chunks/MazBtn-hUslV7wO.mjs +0 -106
  337. package/components/chunks/MazDialog-khofH-7I.mjs +0 -237
  338. package/components/chunks/MazDialogPromise-ZRA2ZrO4.mjs +0 -488
  339. package/components/chunks/MazExpandAnimation-MDimlZGj.mjs +0 -57
  340. package/components/chunks/MazInput-DC3S-CVu.mjs +0 -282
  341. package/components/chunks/MazInput-DzWkS-g8.mjs +0 -293
  342. package/components/chunks/MazInput-NE6H-10w.mjs +0 -281
  343. package/components/chunks/MazInputNumber-DRXQXHRv.mjs +0 -572
  344. package/components/chunks/MazLoadingBar-DdjHRC7g.mjs +0 -32
  345. package/components/chunks/MazPagination-BkT4_LLW.mjs +0 -330
  346. package/components/chunks/MazPhoneNumberInput-BbssOUzo.mjs +0 -1778
  347. package/components/chunks/MazPicker-DwWiIYAR.mjs +0 -2456
  348. package/components/chunks/MazSelect-BJ07NVXQ.mjs +0 -843
  349. package/components/chunks/MazSelect-CDV9Fx6m.mjs +0 -556
  350. package/components/chunks/MazSpinner-BymqEMBk.mjs +0 -34
  351. package/components/chunks/MazSpinner-CEFbkZkM.mjs +0 -34
  352. package/components/chunks/MazSpinner-CsEQ9EXb.mjs +0 -34
  353. package/components/chunks/MazSpinner-CykRbNHD.mjs +0 -34
  354. package/components/chunks/MazSpinner-D3-pqOh3.mjs +0 -34
  355. package/components/chunks/MazSpinner-DS58mtzm.mjs +0 -34
  356. package/components/chunks/MazSpinner-Dmkr_r9u.mjs +0 -34
  357. package/components/chunks/MazSpinner-eC03bFP5.mjs +0 -34
  358. package/components/chunks/MazSpinner-f2Mc2eRO.mjs +0 -34
  359. package/components/chunks/MazSpinner-n4Dp5ZsH.mjs +0 -34
  360. package/components/chunks/MazStepper-BREfkpUb.mjs +0 -213
  361. package/components/chunks/MazTableCell-DILuUCTe.mjs +0 -23
  362. package/components/chunks/MazTableRow-D6H6-c8J.mjs +0 -30
  363. package/components/chunks/examples.mobile.json-JpNGylGv.mjs +0 -4
  364. package/components/chunks/useInstanceUniqId-DW9jO1Sz.mjs +0 -11
  365. package/modules/chunks/MazBtn-B_Xlvgbg.cjs +0 -1
  366. package/modules/chunks/MazBtn-Dsr06Zgg.mjs +0 -106
  367. package/modules/chunks/index-CUNN0eIB.cjs +0 -124
  368. package/types/components/MazPhoneNumberInput.vue.d.ts +0 -239
@@ -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
- attrs: Partial<{}>;
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, {}, any>;
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,4 +1,4 @@
1
- import { M as f } from "./chunks/MazPagination-BkT4_LLW.mjs";
1
+ import { M as f } from "./chunks/MazPagination-BSu0Ifkp.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,32 +1,11 @@
1
1
  import type { Color, CountryCode, Position, Size, Translations } from '../MazPhoneNumberInput.vue';
2
2
  import { type HTMLAttributes } from 'vue';
3
- declare function __VLS_template(): {
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["style"];
5
+ style?: HTMLAttributes['style'];
27
6
  /** Class attribut of the component root element */
28
- class?: HTMLAttributes["class"];
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
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
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, {}, any>;
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 { Color, Size, Translations } from '../MazPhoneNumberInput.vue';
2
- declare let __VLS_typeProps: {
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
- label?: string;
8
- placeholder?: string;
9
- noExample?: boolean;
10
- disabled?: boolean;
11
- hasRadius?: boolean;
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
- } & typeof __VLS_typeProps;
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:model-value": (phoneNumber?: string | undefined) => any;
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:model-value"?: ((phoneNumber?: string | undefined) => any) | undefined;
25
- "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
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
- phoneNumber?: string;
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(examples: Examples, countryCode?: CountryCode): string | undefined;
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: (countryCode: CountryCode, countryCode2: CountryCode) => boolean;
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;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazPhoneNumberInput-BbssOUzo.mjs";
1
+ import { M as f } from "./chunks/MazPhoneNumberInput-BQjByOtQ.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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, {}, any>;
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, {}, any>;
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, {}, any>;
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, {}, any>;
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, {}, any>;
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, {}, any>;
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, {}, any>;
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, {}, any>;
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, {}, any>;
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, {}, any>;
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, {}, any>;
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, {}, any>;
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;
@@ -1,4 +1,4 @@
1
- import { b as f } from "./chunks/MazPicker-DwWiIYAR.mjs";
1
+ import { b as f } from "./chunks/MazPicker-BljfUneI.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -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
- attrs: Partial<{}>;
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, {}, any>;
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: {
@@ -1,12 +1,11 @@
1
- import { useId as S, computed as l, defineComponent as B, useCssVars as V, ref as $, openBlock as m, createElementBlock as f, unref as v, normalizeClass as p, normalizeStyle as C, createElementVNode as u, mergeProps as E, renderSlot as I, createTextVNode as R, toDisplayString as b, createCommentVNode as N } from "vue";
2
- import './assets/MazRadio.css';function M({
1
+ import { computed as s, useId as S, defineComponent as B, ref as $, openBlock as m, createElementBlock as v, unref as f, normalizeClass as p, normalizeStyle as E, createElementVNode as i, mergeProps as I, renderSlot as V, createTextVNode as C, toDisplayString as b, createCommentVNode as R } from "vue";
2
+ import './assets/MazRadio.css';function N({
3
3
  componentName: o,
4
- providedId: s
4
+ providedId: l
5
5
  }) {
6
- const a = S();
7
- return l(() => s ?? `${o}-${a}`);
6
+ return s(() => l ?? `${o}-${S().replace(/:/g, "")}`);
8
7
  }
9
- const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "checked"], q = { class: "m-radio__text" }, F = /* @__PURE__ */ B({
8
+ const M = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "checked"], _ = { class: "m-radio__text" }, q = /* @__PURE__ */ B({
10
9
  __name: "MazRadio",
11
10
  props: {
12
11
  style: { default: void 0 },
@@ -25,16 +24,11 @@ const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
25
24
  hint: {}
26
25
  },
27
26
  emits: ["update:model-value", "change", "blur", "focus"],
28
- setup(o, { emit: s }) {
29
- V((e) => ({
30
- "172f8336": h.value,
31
- "5ca6ddf3": y.value,
32
- "094f34b6": g.value
33
- }));
34
- const a = o, n = s, t = M({
27
+ setup(o, { emit: l }) {
28
+ const a = o, n = l, t = N({
35
29
  componentName: "MazRadio",
36
30
  providedId: a.id
37
- }), d = l(() => a.modelValue === a.value), h = l(() => {
31
+ }), d = s(() => a.modelValue === a.value), h = s(() => {
38
32
  switch (a.size) {
39
33
  case "xl":
40
34
  return "2.25rem";
@@ -49,37 +43,37 @@ const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
49
43
  default:
50
44
  return "1.625rem";
51
45
  }
52
- }), y = l(() => `var(--maz-color-${a.color})`), g = l(() => a.error ? "var(--maz-color-danger)" : a.warning ? "var(--maz-color-warning)" : a.success ? "var(--maz-color-success)" : ["black", "transparent"].includes(a.color) ? "var(--maz-color-muted)" : `var(--maz-color-${a.color}-alpha)`);
46
+ }), g = s(() => `var(--maz-color-${a.color})`), y = s(() => a.error ? "var(--maz-color-danger)" : a.warning ? "var(--maz-color-warning)" : a.success ? "var(--maz-color-success)" : ["black", "transparent"].includes(a.color) ? "var(--maz-color-muted)" : `var(--maz-color-${a.color}-alpha)`);
53
47
  function z(e) {
54
48
  ["Space"].includes(e.code) && (e.preventDefault(), c());
55
49
  }
56
50
  function c() {
57
51
  n("update:model-value", a.value), n("change", a.value);
58
52
  }
59
- const i = $();
53
+ const u = $();
60
54
  function w(e) {
61
55
  var r;
62
- (r = i.value) == null || r.dispatchEvent(new Event("blur")), n("blur", e);
56
+ (r = u.value) == null || r.dispatchEvent(new Event("blur")), n("blur", e);
63
57
  }
64
58
  function k(e) {
65
59
  var r;
66
- (r = i.value) == null || r.dispatchEvent(new Event("focus")), n("focus", e);
60
+ (r = u.value) == null || r.dispatchEvent(new Event("focus")), n("focus", e);
67
61
  }
68
- return (e, r) => (m(), f("label", {
69
- for: v(t),
62
+ return (e, r) => (m(), v("label", {
63
+ for: f(t),
70
64
  class: p(["m-radio", [{ "--disabled": e.disabled, "--selected": d.value, "--error": e.error, "--warning": e.warning, "--success": e.success }, a.class]]),
71
65
  tabindex: "0",
72
66
  role: "radio",
73
- style: C(e.style),
67
+ style: E([e.style, { "--radio-size": h.value, "--radio-selected-color": g.value, "--radio-box-shadow": y.value }]),
74
68
  "aria-checked": d.value,
75
69
  onBlur: w,
76
70
  onFocus: k,
77
71
  onKeydown: z
78
72
  }, [
79
- u("input", E({
80
- id: v(t),
73
+ i("input", I({
74
+ id: f(t),
81
75
  ref_key: "inputRef",
82
- ref: i,
76
+ ref: u,
83
77
  value: e.value
84
78
  }, e.$attrs, {
85
79
  tabindex: "-1",
@@ -87,29 +81,29 @@ const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
87
81
  name: e.name,
88
82
  type: "radio",
89
83
  checked: d.value,
90
- onChange: r[0] || (r[0] = (K) => c())
84
+ onChange: r[0] || (r[0] = (H) => c())
91
85
  }), null, 16, D),
92
- r[1] || (r[1] = u(
86
+ r[1] || (r[1] = i(
93
87
  "span",
94
88
  null,
95
89
  [
96
- u("span", { class: "round" })
90
+ i("span", { class: "round" })
97
91
  ],
98
92
  -1
99
93
  /* HOISTED */
100
94
  )),
101
- u("div", q, [
102
- I(e.$slots, "default", {
95
+ i("div", _, [
96
+ V(e.$slots, "default", {
103
97
  isSelected: d.value,
104
98
  value: e.value
105
99
  }, () => [
106
- R(
100
+ C(
107
101
  b(e.label),
108
102
  1
109
103
  /* TEXT */
110
104
  )
111
105
  ], !0),
112
- e.hint ? (m(), f(
106
+ e.hint ? (m(), v(
113
107
  "span",
114
108
  {
115
109
  key: 0,
@@ -122,16 +116,16 @@ const _ = ["for", "aria-checked"], D = ["id", "value", "disabled", "name", "chec
122
116
  b(e.hint),
123
117
  3
124
118
  /* TEXT, CLASS */
125
- )) : N("v-if", !0)
119
+ )) : R("v-if", !0)
126
120
  ])
127
- ], 46, _));
121
+ ], 46, M));
128
122
  }
129
- }), H = (o, s) => {
123
+ }), F = (o, l) => {
130
124
  const a = o.__vccOpts || o;
131
- for (const [n, t] of s)
125
+ for (const [n, t] of l)
132
126
  a[n] = t;
133
127
  return a;
134
- }, P = /* @__PURE__ */ H(F, [["__scopeId", "data-v-8cc8aee1"]]);
128
+ }, O = /* @__PURE__ */ F(q, [["__scopeId", "data-v-016d293e"]]);
135
129
  export {
136
- P as default
130
+ O as default
137
131
  };
@@ -51,7 +51,7 @@ declare const _default: <T extends string | number | boolean>(__VLS_props: NonNu
51
51
  readonly onChange?: ((value: T) => any) | undefined;
52
52
  readonly onFocus?: ((value: FocusEvent) => any) | undefined;
53
53
  readonly "onUpdate:model-value"?: ((value: T) => any) | undefined;
54
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:model-value"> & Props<T>> & import("vue").PublicProps;
54
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:model-value"> & Partial<{}> & Props<T>> & import("vue").PublicProps;
55
55
  expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
56
56
  attrs: any;
57
57
  slots: {
@@ -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, M = boolean>(__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<{
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>;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazSelect-BJ07NVXQ.mjs";
1
+ import { M as f } from "./chunks/MazSelect-CH3JdigO.mjs";
2
2
  export {
3
3
  f as default
4
4
  };