maz-ui 3.47.2-beta.8 → 3.47.2-beta.9

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 (288) hide show
  1. package/components/MazAccordion.d.ts +3 -2
  2. package/components/MazAnimatedCounter.d.ts +16 -32
  3. package/components/MazAvatar.d.ts +2 -1
  4. package/components/MazAvatar.mjs +1 -1
  5. package/components/MazBackdrop.d.ts +2 -1
  6. package/components/MazBadge.d.ts +7 -2
  7. package/components/MazBadge.mjs +1 -1
  8. package/components/MazBottomSheet.d.ts +2 -1
  9. package/components/MazBottomSheet.mjs +1 -1
  10. package/components/MazBtn.d.ts +4 -3
  11. package/components/MazBtn.mjs +1 -1
  12. package/components/MazCard.d.ts +3 -2
  13. package/components/MazCard.mjs +1 -1
  14. package/components/MazCardSpotlight.d.ts +3 -2
  15. package/components/MazCarousel.d.ts +3 -2
  16. package/components/MazCarousel.mjs +1 -1
  17. package/components/MazCheckbox.d.ts +4 -3
  18. package/components/MazCheckbox.mjs +1 -1
  19. package/components/MazChecklist.d.ts +1 -1
  20. package/components/MazChecklist.mjs +1 -1
  21. package/components/MazCircularProgressBar.d.ts +18 -65
  22. package/components/MazCircularProgressBar.mjs +40 -40
  23. package/components/MazDialog.d.ts +5 -3
  24. package/components/MazDialog.mjs +1 -1
  25. package/components/MazDialogPromise.mjs +1 -1
  26. package/components/MazDrawer.d.ts +2 -1
  27. package/components/MazDrawer.mjs +1 -1
  28. package/components/MazDropdown.d.ts +2 -1
  29. package/components/MazDropdown.mjs +1 -1
  30. package/components/MazDropzone.d.ts +1 -1
  31. package/components/MazExpandAnimation.d.ts +6 -5
  32. package/components/MazFullscreenLoader.d.ts +2 -1
  33. package/components/MazGallery.mjs +1 -1
  34. package/components/MazIcon.mjs +13 -12
  35. package/components/MazInput.d.ts +16 -3
  36. package/components/MazInput.mjs +1 -1
  37. package/components/MazInputCode.d.ts +1 -1
  38. package/components/MazInputNumber.mjs +1 -1
  39. package/components/MazInputPrice.d.ts +2 -1
  40. package/components/MazInputPrice.mjs +1 -1
  41. package/components/MazInputTags.mjs +1 -1
  42. package/components/MazLazyImg.d.ts +2 -1
  43. package/components/MazLink.d.ts +2 -1
  44. package/components/MazLink.mjs +1 -1
  45. package/components/MazLoadingBar.d.ts +1 -1
  46. package/components/MazPagination.d.ts +3 -2
  47. package/components/MazPagination.mjs +1 -1
  48. package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +29 -53
  49. package/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +4 -4
  50. package/components/MazPhoneNumberInput.d.ts +5 -4
  51. package/components/MazPhoneNumberInput.mjs +1 -1
  52. package/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
  53. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
  54. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  55. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
  56. package/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
  57. package/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
  58. package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  59. package/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
  60. package/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
  61. package/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
  62. package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  63. package/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
  64. package/components/MazPicker.mjs +1 -1
  65. package/components/MazPullToRefresh.d.ts +3 -2
  66. package/components/MazRadio.d.ts +1 -1
  67. package/components/MazRadioButtons.d.ts +1 -1
  68. package/components/MazSelect.d.ts +1 -1
  69. package/components/MazSelect.mjs +1 -1
  70. package/components/MazSpinner.d.ts +1 -1
  71. package/components/MazStepper.d.ts +3 -2
  72. package/components/MazStepper.mjs +1 -1
  73. package/components/MazSwitch.d.ts +2 -1
  74. package/components/MazTable.d.ts +2 -2
  75. package/components/MazTable.mjs +1 -1
  76. package/components/MazTableCell.d.ts +3 -2
  77. package/components/MazTableRow.d.ts +3 -2
  78. package/components/MazTableTitle.d.ts +3 -2
  79. package/components/MazTabs.d.ts +3 -2
  80. package/components/MazTabsBar.d.ts +3 -2
  81. package/components/MazTabsBar.mjs +1 -1
  82. package/components/MazTabsContent.d.ts +3 -2
  83. package/components/MazTabsContentItem.d.ts +2 -1
  84. package/components/MazTextarea.d.ts +49 -1
  85. package/components/MazTextarea.mjs +129 -109
  86. package/components/MazTransitionExpand.d.ts +2 -1
  87. package/components/MazTransitionExpand.mjs +9 -9
  88. package/components/assets/MazAvatar.css +1 -1
  89. package/components/assets/MazBadge.css +1 -1
  90. package/components/assets/MazBtn.css +1 -1
  91. package/components/assets/MazCheckbox.css +1 -1
  92. package/components/assets/MazChecklist.css +1 -1
  93. package/components/assets/MazCircularProgressBar.css +1 -1
  94. package/components/assets/MazGallery.css +1 -1
  95. package/components/assets/MazInput.css +1 -1
  96. package/components/assets/MazInputNumber.css +1 -1
  97. package/components/assets/MazInputPrice.css +1 -1
  98. package/components/assets/MazInputTags.css +1 -1
  99. package/components/assets/MazPagination.css +1 -1
  100. package/components/assets/MazPhoneNumberInput.css +1 -1
  101. package/components/assets/MazPicker.css +1 -1
  102. package/components/assets/MazSelect.css +1 -1
  103. package/components/assets/MazStepper.css +1 -1
  104. package/components/assets/MazTable.css +1 -1
  105. package/components/assets/MazTableCell.css +1 -1
  106. package/components/assets/MazTableRow.css +1 -1
  107. package/components/assets/MazTextarea.css +1 -1
  108. package/components/assets/MazTransitionExpand.css +1 -1
  109. package/components/chunks/{MazAvatar-DFoZvWmg.mjs → MazAvatar-CZzOIbzh.mjs} +54 -54
  110. package/components/chunks/{MazBadge-qdgVtKdQ.mjs → MazBadge-CupQjB8D.mjs} +2 -2
  111. package/components/chunks/{MazBottomSheet-DX3dl16f.mjs → MazBottomSheet-D9EPpEV8.mjs} +1 -1
  112. package/{modules/chunks/MazBtn-D6K3B6XM.mjs → components/chunks/MazBtn-BSgCMRt0.mjs} +33 -35
  113. package/components/chunks/{MazBtn-C0fZIwfM.mjs → MazBtn-BVWOyFm-.mjs} +33 -35
  114. package/components/chunks/{MazBtn-BtmrmjP3.mjs → MazBtn-BfIn7glE.mjs} +33 -35
  115. package/components/chunks/{MazBtn-DMcVZ1r9.mjs → MazBtn-Br3xKJMD.mjs} +33 -35
  116. package/components/chunks/MazBtn-CB6xVwox.mjs +103 -0
  117. package/components/chunks/MazBtn-CIAdgMGr.mjs +111 -0
  118. package/components/chunks/MazBtn-CM-xSnA5.mjs +108 -0
  119. package/components/chunks/MazBtn-CQq-U8qQ.mjs +103 -0
  120. package/components/chunks/MazBtn-Chk7DWOF.mjs +103 -0
  121. package/components/chunks/MazBtn-Ck84sP9a.mjs +103 -0
  122. package/components/chunks/MazBtn-DI80W9rl.mjs +103 -0
  123. package/components/chunks/MazBtn-DhSKmF01.mjs +103 -0
  124. package/components/chunks/MazBtn-DzwuLea3.mjs +103 -0
  125. package/components/chunks/MazBtn-tOUtVpek.mjs +103 -0
  126. package/components/chunks/{MazCard-DMDzDjHR.mjs → MazCard-XBaeDZkg.mjs} +1 -1
  127. package/components/chunks/{MazCarousel-BjBQQBFN.mjs → MazCarousel-COTaKhKF.mjs} +1 -1
  128. package/components/chunks/{MazCheckbox-DXcpsRU4.mjs → MazCheckbox-B-Sw22La.mjs} +6 -6
  129. package/components/chunks/{MazCheckbox-9R4fuM8t.mjs → MazCheckbox-DjY15PA3.mjs} +2 -2
  130. package/components/chunks/{MazCheckbox-Dgn0lw5f.mjs → MazCheckbox-DxfneUvu.mjs} +6 -6
  131. package/components/chunks/{MazChecklist-D_IebAis.mjs → MazChecklist-DaozZlNb.mjs} +17 -17
  132. package/components/chunks/{MazDialog-Cyo_BtT4.mjs → MazDialog-XiX9LEiz.mjs} +1 -1
  133. package/components/chunks/{MazDialogPromise-CHyri_Q5.mjs → MazDialogPromise-B9_e3Ma9.mjs} +2 -2
  134. package/components/chunks/{MazDropdown-urkh4dW3.mjs → MazDropdown-CKuIGitT.mjs} +4 -3
  135. package/components/chunks/{MazExpandAnimation-CWDhei53.mjs → MazExpandAnimation-Bdf0-L85.mjs} +1 -1
  136. package/components/chunks/{MazGallery-DNN_xBeg.mjs → MazGallery-BooLoRWi.mjs} +3 -3
  137. package/components/chunks/{MazGallery-ndO4hRUh.mjs → MazGallery-DUOQamrE.mjs} +2 -2
  138. package/components/chunks/MazIcon-BX2Gbz8R.mjs +4 -0
  139. package/components/chunks/{MazIcon-B7Mn8F75.mjs → MazIcon-C-aPrqx2.mjs} +3 -2
  140. package/components/chunks/{MazIcon-BSgK89NE.mjs → MazIcon-DFW4cVVf.mjs} +4 -3
  141. package/components/chunks/{MazIcon-B4CDdmqe.mjs → MazIcon-_hN-Kivn.mjs} +13 -12
  142. package/components/chunks/MazInput-BWAWlxDa.mjs +314 -0
  143. package/components/chunks/MazInput-DIN1VAoX.mjs +325 -0
  144. package/components/chunks/MazInput-HLPtw5QK.mjs +313 -0
  145. package/components/chunks/{MazInputNumber-qQ6MrK-y.mjs → MazInputNumber-7Ku2ZcG-.mjs} +217 -187
  146. package/components/chunks/{MazInputPrice-C207E4RH.mjs → MazInputPrice-C5yErBFP.mjs} +201 -169
  147. package/components/chunks/MazInputTags-DvbQ2mK8.mjs +614 -0
  148. package/components/chunks/{MazLazyImg-C03sUOXs.mjs → MazLazyImg-DQLwaKKz.mjs} +2 -2
  149. package/components/chunks/{MazLink-Ch-w_Lf_.mjs → MazLink-mrqHeBS0.mjs} +1 -1
  150. package/components/chunks/{MazLoadingBar-rusnhtnI.mjs → MazLoadingBar-CNm3Yt6D.mjs} +1 -1
  151. package/components/chunks/MazPagination-BSu0Ifkp.mjs +327 -0
  152. package/components/chunks/{MazPhoneNumberInput-BUe2kgX6.mjs → MazPhoneNumberInput-B5Up8CqL.mjs} +437 -405
  153. package/components/chunks/MazPicker-CzYUZcLy.mjs +2487 -0
  154. package/components/chunks/{MazPickerMonthSwitcher-D46P6nV5.mjs → MazPickerMonthSwitcher-Ds5agR3Z.mjs} +1 -1
  155. package/components/chunks/{MazPickerShortcuts-C50DAlfT.mjs → MazPickerShortcuts-BP6CY9-c.mjs} +1 -1
  156. package/components/chunks/{MazPickerYearSwitcher-5EW9ebYR.mjs → MazPickerYearSwitcher-PM8qZMzR.mjs} +1 -1
  157. package/components/chunks/{MazSelect-CJnsMuMG.mjs → MazSelect-DOexatNj.mjs} +290 -258
  158. package/components/chunks/{MazSelect-C0rk6m_5.mjs → MazSelect-DaDRzcT_.mjs} +20 -20
  159. package/components/chunks/{MazSpinner-CkOG2EM9.mjs → MazSpinner-9M_EGMpy.mjs} +1 -1
  160. package/components/chunks/MazSpinner-BJpv1muf.mjs +34 -0
  161. package/components/chunks/{MazSpinner-CyvYTwaV.mjs → MazSpinner-BlbTztM3.mjs} +1 -1
  162. package/components/chunks/{MazSpinner-CQAyxmwJ.mjs → MazSpinner-Bsy1nA3c.mjs} +1 -1
  163. package/components/chunks/{MazSpinner-CbuG6vB-.mjs → MazSpinner-C30YfScc.mjs} +1 -1
  164. package/components/chunks/MazSpinner-C5mnD76l.mjs +34 -0
  165. package/components/chunks/MazSpinner-CDx6lo7l.mjs +34 -0
  166. package/components/chunks/MazSpinner-C_GueolV.mjs +34 -0
  167. package/components/chunks/{MazSpinner-BxlN_quv.mjs → MazSpinner-Cc-KlPEG.mjs} +1 -1
  168. package/components/chunks/MazSpinner-Cgg2dkzQ.mjs +34 -0
  169. package/components/chunks/MazSpinner-CkKIUYXO.mjs +34 -0
  170. package/components/chunks/{MazSpinner-CAR4Mm9l.mjs → MazSpinner-CxyUHAvm.mjs} +1 -1
  171. package/components/chunks/MazSpinner-DROgQW2M.mjs +34 -0
  172. package/components/chunks/MazSpinner-DjUU4G1h.mjs +34 -0
  173. package/components/chunks/MazSpinner-Dzs2W0kq.mjs +34 -0
  174. package/components/chunks/{MazSpinner-B2mZYoLS.mjs → MazSpinner-NCtEpFMm.mjs} +1 -1
  175. package/components/chunks/MazSpinner-QfPXLpa_.mjs +34 -0
  176. package/components/chunks/MazSpinner-ZPQe8ON_.mjs +34 -0
  177. package/components/chunks/{MazSpinner-Cef473zM.mjs → MazSpinner-b90e3OQK.mjs} +1 -1
  178. package/components/chunks/{MazStepper-BWyXIppj.mjs → MazStepper-B3fuhbye.mjs} +15 -15
  179. package/components/chunks/{MazTable-BpIXKltC.mjs → MazTable-Ci8nhgOP.mjs} +4 -4
  180. package/components/chunks/{MazTableCell-DQAaVtw4.mjs → MazTableCell-BIganK6X.mjs} +1 -1
  181. package/components/chunks/{MazTableRow-CN415w3y.mjs → MazTableRow-CIO-x6Lb.mjs} +1 -1
  182. package/components/chunks/{MazTableTitle-DbCN1l2O.mjs → MazTableTitle-OEgTPQB3.mjs} +1 -1
  183. package/components/chunks/{MazTabsBar-jlclO5zk.mjs → MazTabsBar-CT35SCIK.mjs} +1 -1
  184. package/components/chunks/{MazTransitionExpand-B2jKLvyg.mjs → MazTransitionExpand-Bcwdl9g2.mjs} +8 -8
  185. package/css/main.css +1 -1
  186. package/modules/assets/MazBtn.css +1 -1
  187. package/modules/assets/index.css +1 -1
  188. package/modules/chunks/MazBtn-0CRjeBvn.mjs +103 -0
  189. package/modules/chunks/MazBtn-DRqCRJD-.cjs +1 -0
  190. package/modules/chunks/{MazIcon-BRGZkufX.mjs → MazIcon-CeT6HK_q.mjs} +4 -3
  191. package/modules/chunks/{MazIcon--UTNvIe4.cjs → MazIcon-D-Gna0vz.cjs} +1 -1
  192. package/modules/chunks/{MazSpinner-9EkSWhvP.mjs → MazSpinner-DV--lwdI.mjs} +1 -1
  193. package/modules/chunks/{MazSpinner-B82Q3oFJ.cjs → MazSpinner-DersvZQw.cjs} +1 -1
  194. package/modules/chunks/{index-fosopmwd.cjs → index-DvromXrX.cjs} +2 -2
  195. package/modules/chunks/{index-7UZ6u--K.mjs → index-Kry9j5uD.mjs} +13 -9
  196. package/modules/index.cjs +1 -1
  197. package/modules/index.mjs +1 -1
  198. package/nuxt/index.json +1 -1
  199. package/package.json +22 -22
  200. package/types/components/MazAccordion.vue.d.ts +3 -2
  201. package/types/components/MazAnimatedCounter.vue.d.ts +16 -32
  202. package/types/components/MazAvatar.vue.d.ts +2 -1
  203. package/types/components/MazBackdrop.vue.d.ts +2 -1
  204. package/types/components/MazBadge.vue.d.ts +7 -2
  205. package/types/components/MazBottomSheet.vue.d.ts +2 -1
  206. package/types/components/MazBtn.vue.d.ts +4 -3
  207. package/types/components/MazCard.vue.d.ts +3 -2
  208. package/types/components/MazCardSpotlight.vue.d.ts +3 -2
  209. package/types/components/MazCarousel.vue.d.ts +3 -2
  210. package/types/components/MazCheckbox.vue.d.ts +4 -3
  211. package/types/components/MazChecklist.vue.d.ts +1 -1
  212. package/types/components/MazCircularProgressBar.vue.d.ts +18 -65
  213. package/types/components/MazDialog.vue.d.ts +5 -3
  214. package/types/components/MazDrawer.vue.d.ts +2 -1
  215. package/types/components/MazDropdown.vue.d.ts +2 -1
  216. package/types/components/MazDropzone.vue.d.ts +1 -1
  217. package/types/components/MazExpandAnimation.vue.d.ts +6 -5
  218. package/types/components/MazFullscreenLoader.vue.d.ts +2 -1
  219. package/types/components/MazInput.vue.d.ts +16 -3
  220. package/types/components/MazInputCode.vue.d.ts +1 -1
  221. package/types/components/MazInputPrice.vue.d.ts +2 -1
  222. package/types/components/MazLazyImg.vue.d.ts +2 -1
  223. package/types/components/MazLink.vue.d.ts +2 -1
  224. package/types/components/MazLoadingBar.vue.d.ts +1 -1
  225. package/types/components/MazPagination.vue.d.ts +3 -2
  226. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +29 -53
  227. package/types/components/MazPhoneNumberInput/PhoneInput.vue.d.ts +4 -4
  228. package/types/components/MazPhoneNumberInput.vue.d.ts +5 -4
  229. package/types/components/MazPicker/MazPickerCalendar.vue.d.ts +1 -1
  230. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarDays.vue.d.ts +1 -1
  231. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  232. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +1 -1
  233. package/types/components/MazPicker/MazPickerCalendarSwitcher.vue.d.ts +1 -1
  234. package/types/components/MazPicker/MazPickerContainer.vue.d.ts +1 -1
  235. package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  236. package/types/components/MazPicker/MazPickerHeader.vue.d.ts +1 -1
  237. package/types/components/MazPicker/MazPickerMonthSwitcher.vue.d.ts +1 -1
  238. package/types/components/MazPicker/MazPickerShortcuts.vue.d.ts +1 -1
  239. package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  240. package/types/components/MazPicker/MazPickerYearSwitcher.vue.d.ts +1 -1
  241. package/types/components/MazPullToRefresh.vue.d.ts +3 -2
  242. package/types/components/MazRadio.vue.d.ts +1 -1
  243. package/types/components/MazRadioButtons.vue.d.ts +1 -1
  244. package/types/components/MazSelect.vue.d.ts +1 -1
  245. package/types/components/MazSpinner.vue.d.ts +1 -1
  246. package/types/components/MazStepper.vue.d.ts +3 -2
  247. package/types/components/MazSwitch.vue.d.ts +2 -1
  248. package/types/components/MazTable.vue.d.ts +2 -2
  249. package/types/components/MazTableCell.vue.d.ts +3 -2
  250. package/types/components/MazTableRow.vue.d.ts +3 -2
  251. package/types/components/MazTableTitle.vue.d.ts +3 -2
  252. package/types/components/MazTabs.vue.d.ts +3 -2
  253. package/types/components/MazTabsBar.vue.d.ts +3 -2
  254. package/types/components/MazTabsContent.vue.d.ts +3 -2
  255. package/types/components/MazTabsContentItem.vue.d.ts +2 -1
  256. package/types/components/MazTextarea.vue.d.ts +49 -1
  257. package/types/components/MazTransitionExpand.vue.d.ts +2 -1
  258. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +1 -1
  259. package/components/chunks/MazBtn-B1DhLzSq.mjs +0 -105
  260. package/components/chunks/MazBtn-B6xyipje.mjs +0 -113
  261. package/components/chunks/MazBtn-BE_bHLkT.mjs +0 -105
  262. package/components/chunks/MazBtn-Blj3kViZ.mjs +0 -105
  263. package/components/chunks/MazBtn-CFf5L0DS.mjs +0 -105
  264. package/components/chunks/MazBtn-CiiCndWt.mjs +0 -105
  265. package/components/chunks/MazBtn-DWVb9GQ3.mjs +0 -105
  266. package/components/chunks/MazBtn-DanmhP4R.mjs +0 -110
  267. package/components/chunks/MazBtn-DzheqNTG.mjs +0 -105
  268. package/components/chunks/MazBtn-FtH-ADjY.mjs +0 -105
  269. package/components/chunks/MazBtn-pNpaQRRG.mjs +0 -105
  270. package/components/chunks/MazIcon-BK45d_-V.mjs +0 -4
  271. package/components/chunks/MazInput-CyWYuOsl.mjs +0 -293
  272. package/components/chunks/MazInput-DFDzf7C1.mjs +0 -281
  273. package/components/chunks/MazInput-LS_VhQAg.mjs +0 -282
  274. package/components/chunks/MazInputTags-a57ZPojk.mjs +0 -584
  275. package/components/chunks/MazPagination-CJEC7Y4E.mjs +0 -329
  276. package/components/chunks/MazPicker-DteyWEwr.mjs +0 -2457
  277. package/components/chunks/MazSpinner-CksMqwXP.mjs +0 -34
  278. package/components/chunks/MazSpinner-CqpyUTWh.mjs +0 -34
  279. package/components/chunks/MazSpinner-CsEQ9EXb.mjs +0 -34
  280. package/components/chunks/MazSpinner-CtZfuEKt.mjs +0 -34
  281. package/components/chunks/MazSpinner-DCBUvJ_o.mjs +0 -34
  282. package/components/chunks/MazSpinner-DPdh6vtw.mjs +0 -34
  283. package/components/chunks/MazSpinner-D_6j7BO6.mjs +0 -34
  284. package/components/chunks/MazSpinner-DqZc3-_U.mjs +0 -34
  285. package/components/chunks/MazSpinner-XikQHrkW.mjs +0 -34
  286. package/components/chunks/MazSpinner-a80KrraB.mjs +0 -34
  287. package/components/chunks/MazSpinner-q-AqkAjI.mjs +0 -34
  288. package/modules/chunks/MazBtn-BLjl_mR0.cjs +0 -1
@@ -1,105 +0,0 @@
1
- import { defineComponent as h, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as S, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as w } from "vue";
2
- import { _ as E } from "./MazBottomSheet-DX3dl16f.mjs";
3
- import '../assets/MazBtn.css';const F = {
4
- key: 0,
5
- class: "m-btn-loader-container"
6
- }, O = /* @__PURE__ */ h({
7
- __name: "MazBtn",
8
- props: {
9
- variant: { default: "button" },
10
- size: { default: "md" },
11
- color: { default: "primary" },
12
- type: { default: "button" },
13
- rounded: { type: Boolean },
14
- roundedSize: { default: "lg" },
15
- noRounded: { type: Boolean },
16
- outline: { type: Boolean },
17
- pastel: { type: Boolean },
18
- block: { type: Boolean },
19
- noUnderline: { type: Boolean },
20
- loading: { type: Boolean },
21
- disabled: { type: Boolean },
22
- fab: { type: Boolean },
23
- icon: { type: [String, Function, Object], default: void 0 },
24
- leftIcon: { type: [String, Function, Object], default: void 0 },
25
- rightIcon: { type: [String, Function, Object], default: void 0 },
26
- noPadding: { type: Boolean },
27
- noElevation: { type: Boolean },
28
- justify: { default: "center" }
29
- },
30
- setup(p) {
31
- const n = p, v = m(() => import("./MazSpinner-CbuG6vB-.mjs")), f = m(() => import("./MazIcon-B4CDdmqe.mjs")), { href: z, to: b } = $(), c = o(() => z ? "a" : b ? "router-link" : "button"), g = o(
32
- () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
- ), y = o(
34
- () => (n.loading || n.disabled) && c.value === "button"
35
- ), j = o(() => y.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => c.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
36
- return (e, A) => (t(), a(r(c.value), {
37
- disabled: y.value || void 0,
38
- class: l(["m-btn", [
39
- `--${e.size}`,
40
- !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
- g.value,
42
- j.value,
43
- B.value,
44
- I.value,
45
- {
46
- "--block": e.block,
47
- "--no-underline": e.noUnderline,
48
- "--fab": e.fab,
49
- "--loading": e.loading,
50
- "--disabled": y.value,
51
- "--rounded": e.rounded,
52
- "--no-rounded": e.noRounded,
53
- "--no-padding": e.noPadding,
54
- "--no-elevation": e.noElevation
55
- }
56
- ]]),
57
- type: C.value
58
- }, {
59
- default: S(() => [
60
- i(e.$slots, "left-icon", {}, () => [
61
- typeof e.leftIcon == "string" ? (t(), a(u(f), {
62
- key: 0,
63
- name: e.leftIcon,
64
- class: l([s.value])
65
- }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
66
- key: 1,
67
- class: l([s.value])
68
- }, null, 8, ["class"])) : d("v-if", !0)
69
- ], !0),
70
- i(e.$slots, "icon", {}, () => [
71
- typeof e.icon == "string" ? (t(), a(u(f), {
72
- key: 0,
73
- name: e.icon,
74
- class: l([s.value])
75
- }, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
76
- key: 1,
77
- class: l([s.value])
78
- }, null, 8, ["class"])) : d("v-if", !0)
79
- ], !0),
80
- i(e.$slots, "default", {}, void 0, !0),
81
- i(e.$slots, "right-icon", {}, () => [
82
- typeof e.rightIcon == "string" ? (t(), a(u(f), {
83
- key: 0,
84
- name: e.rightIcon,
85
- class: l([s.value])
86
- }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
87
- key: 1,
88
- class: l([s.value])
89
- }, null, 8, ["class"])) : d("v-if", !0)
90
- ], !0),
91
- k.value ? (t(), M("div", F, [
92
- w(u(v), {
93
- size: "2em",
94
- color: e.color
95
- }, null, 8, ["color"])
96
- ])) : d("v-if", !0)
97
- ]),
98
- _: 3
99
- /* FORWARDED */
100
- }, 8, ["disabled", "class", "type"]));
101
- }
102
- }), P = /* @__PURE__ */ E(O, [["__scopeId", "data-v-95f33abf"]]);
103
- export {
104
- P as default
105
- };
@@ -1,105 +0,0 @@
1
- import { defineComponent as h, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as S, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as w } from "vue";
2
- import { _ as E } from "./MazChecklist-D_IebAis.mjs";
3
- import '../assets/MazBtn.css';const F = {
4
- key: 0,
5
- class: "m-btn-loader-container"
6
- }, O = /* @__PURE__ */ h({
7
- __name: "MazBtn",
8
- props: {
9
- variant: { default: "button" },
10
- size: { default: "md" },
11
- color: { default: "primary" },
12
- type: { default: "button" },
13
- rounded: { type: Boolean },
14
- roundedSize: { default: "lg" },
15
- noRounded: { type: Boolean },
16
- outline: { type: Boolean },
17
- pastel: { type: Boolean },
18
- block: { type: Boolean },
19
- noUnderline: { type: Boolean },
20
- loading: { type: Boolean },
21
- disabled: { type: Boolean },
22
- fab: { type: Boolean },
23
- icon: { type: [String, Function, Object], default: void 0 },
24
- leftIcon: { type: [String, Function, Object], default: void 0 },
25
- rightIcon: { type: [String, Function, Object], default: void 0 },
26
- noPadding: { type: Boolean },
27
- noElevation: { type: Boolean },
28
- justify: { default: "center" }
29
- },
30
- setup(p) {
31
- const n = p, v = m(() => import("./MazSpinner-CtZfuEKt.mjs")), f = m(() => import("./MazIcon-B4CDdmqe.mjs")), { href: z, to: b } = $(), c = o(() => z ? "a" : b ? "router-link" : "button"), g = o(
32
- () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
- ), y = o(
34
- () => (n.loading || n.disabled) && c.value === "button"
35
- ), j = o(() => y.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => c.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
36
- return (e, A) => (t(), a(r(c.value), {
37
- disabled: y.value || void 0,
38
- class: l(["m-btn", [
39
- `--${e.size}`,
40
- !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
- g.value,
42
- j.value,
43
- B.value,
44
- I.value,
45
- {
46
- "--block": e.block,
47
- "--no-underline": e.noUnderline,
48
- "--fab": e.fab,
49
- "--loading": e.loading,
50
- "--disabled": y.value,
51
- "--rounded": e.rounded,
52
- "--no-rounded": e.noRounded,
53
- "--no-padding": e.noPadding,
54
- "--no-elevation": e.noElevation
55
- }
56
- ]]),
57
- type: C.value
58
- }, {
59
- default: S(() => [
60
- i(e.$slots, "left-icon", {}, () => [
61
- typeof e.leftIcon == "string" ? (t(), a(u(f), {
62
- key: 0,
63
- name: e.leftIcon,
64
- class: l([s.value])
65
- }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
66
- key: 1,
67
- class: l([s.value])
68
- }, null, 8, ["class"])) : d("v-if", !0)
69
- ], !0),
70
- i(e.$slots, "icon", {}, () => [
71
- typeof e.icon == "string" ? (t(), a(u(f), {
72
- key: 0,
73
- name: e.icon,
74
- class: l([s.value])
75
- }, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
76
- key: 1,
77
- class: l([s.value])
78
- }, null, 8, ["class"])) : d("v-if", !0)
79
- ], !0),
80
- i(e.$slots, "default", {}, void 0, !0),
81
- i(e.$slots, "right-icon", {}, () => [
82
- typeof e.rightIcon == "string" ? (t(), a(u(f), {
83
- key: 0,
84
- name: e.rightIcon,
85
- class: l([s.value])
86
- }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
87
- key: 1,
88
- class: l([s.value])
89
- }, null, 8, ["class"])) : d("v-if", !0)
90
- ], !0),
91
- k.value ? (t(), M("div", F, [
92
- w(u(v), {
93
- size: "2em",
94
- color: e.color
95
- }, null, 8, ["color"])
96
- ])) : d("v-if", !0)
97
- ]),
98
- _: 3
99
- /* FORWARDED */
100
- }, 8, ["disabled", "class", "type"]));
101
- }
102
- }), P = /* @__PURE__ */ E(O, [["__scopeId", "data-v-95f33abf"]]);
103
- export {
104
- P as default
105
- };
@@ -1,105 +0,0 @@
1
- import { defineComponent as h, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as S, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as w } from "vue";
2
- import { _ as E } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
3
- import '../assets/MazBtn.css';const F = {
4
- key: 0,
5
- class: "m-btn-loader-container"
6
- }, O = /* @__PURE__ */ h({
7
- __name: "MazBtn",
8
- props: {
9
- variant: { default: "button" },
10
- size: { default: "md" },
11
- color: { default: "primary" },
12
- type: { default: "button" },
13
- rounded: { type: Boolean },
14
- roundedSize: { default: "lg" },
15
- noRounded: { type: Boolean },
16
- outline: { type: Boolean },
17
- pastel: { type: Boolean },
18
- block: { type: Boolean },
19
- noUnderline: { type: Boolean },
20
- loading: { type: Boolean },
21
- disabled: { type: Boolean },
22
- fab: { type: Boolean },
23
- icon: { type: [String, Function, Object], default: void 0 },
24
- leftIcon: { type: [String, Function, Object], default: void 0 },
25
- rightIcon: { type: [String, Function, Object], default: void 0 },
26
- noPadding: { type: Boolean },
27
- noElevation: { type: Boolean },
28
- justify: { default: "center" }
29
- },
30
- setup(p) {
31
- const n = p, v = m(() => import("./MazSpinner-yr9xVdAa.mjs")), f = m(() => import("./MazIcon-BK45d_-V.mjs")), { href: z, to: b } = $(), c = o(() => z ? "a" : b ? "router-link" : "button"), g = o(
32
- () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
- ), y = o(
34
- () => (n.loading || n.disabled) && c.value === "button"
35
- ), j = o(() => y.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => c.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
36
- return (e, A) => (t(), a(r(c.value), {
37
- disabled: y.value || void 0,
38
- class: l(["m-btn", [
39
- `--${e.size}`,
40
- !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
- g.value,
42
- j.value,
43
- B.value,
44
- I.value,
45
- {
46
- "--block": e.block,
47
- "--no-underline": e.noUnderline,
48
- "--fab": e.fab,
49
- "--loading": e.loading,
50
- "--disabled": y.value,
51
- "--rounded": e.rounded,
52
- "--no-rounded": e.noRounded,
53
- "--no-padding": e.noPadding,
54
- "--no-elevation": e.noElevation
55
- }
56
- ]]),
57
- type: C.value
58
- }, {
59
- default: S(() => [
60
- i(e.$slots, "left-icon", {}, () => [
61
- typeof e.leftIcon == "string" ? (t(), a(u(f), {
62
- key: 0,
63
- name: e.leftIcon,
64
- class: l([s.value])
65
- }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
66
- key: 1,
67
- class: l([s.value])
68
- }, null, 8, ["class"])) : d("v-if", !0)
69
- ], !0),
70
- i(e.$slots, "icon", {}, () => [
71
- typeof e.icon == "string" ? (t(), a(u(f), {
72
- key: 0,
73
- name: e.icon,
74
- class: l([s.value])
75
- }, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
76
- key: 1,
77
- class: l([s.value])
78
- }, null, 8, ["class"])) : d("v-if", !0)
79
- ], !0),
80
- i(e.$slots, "default", {}, void 0, !0),
81
- i(e.$slots, "right-icon", {}, () => [
82
- typeof e.rightIcon == "string" ? (t(), a(u(f), {
83
- key: 0,
84
- name: e.rightIcon,
85
- class: l([s.value])
86
- }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
87
- key: 1,
88
- class: l([s.value])
89
- }, null, 8, ["class"])) : d("v-if", !0)
90
- ], !0),
91
- k.value ? (t(), M("div", F, [
92
- w(u(v), {
93
- size: "2em",
94
- color: e.color
95
- }, null, 8, ["color"])
96
- ])) : d("v-if", !0)
97
- ]),
98
- _: 3
99
- /* FORWARDED */
100
- }, 8, ["disabled", "class", "type"]));
101
- }
102
- }), P = /* @__PURE__ */ E(O, [["__scopeId", "data-v-95f33abf"]]);
103
- export {
104
- P as default
105
- };
@@ -1,110 +0,0 @@
1
- import { defineComponent as h, defineAsyncComponent as z, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as d, normalizeClass as l, withCtx as S, renderSlot as f, unref as c, createCommentVNode as y, createElementBlock as M, createVNode as O } from "vue";
2
- import '../assets/MazBtn.css';const w = {
3
- key: 0,
4
- class: "m-btn-loader-container"
5
- }, E = /* @__PURE__ */ h({
6
- __name: "MazBtn",
7
- props: {
8
- variant: { default: "button" },
9
- size: { default: "md" },
10
- color: { default: "primary" },
11
- type: { default: "button" },
12
- rounded: { type: Boolean },
13
- roundedSize: { default: "lg" },
14
- noRounded: { type: Boolean },
15
- outline: { type: Boolean },
16
- pastel: { type: Boolean },
17
- block: { type: Boolean },
18
- noUnderline: { type: Boolean },
19
- loading: { type: Boolean },
20
- disabled: { type: Boolean },
21
- fab: { type: Boolean },
22
- icon: { type: [String, Function, Object], default: void 0 },
23
- leftIcon: { type: [String, Function, Object], default: void 0 },
24
- rightIcon: { type: [String, Function, Object], default: void 0 },
25
- noPadding: { type: Boolean },
26
- noElevation: { type: Boolean },
27
- justify: { default: "center" }
28
- },
29
- setup(i) {
30
- const n = i, u = z(() => import("./MazSpinner-CyvYTwaV.mjs")), r = z(() => import("./MazIcon-B4CDdmqe.mjs")), { href: p, to: b } = $(), m = o(() => p ? "a" : b ? "router-link" : "button"), g = o(
31
- () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
32
- ), v = o(
33
- () => (n.loading || n.disabled) && m.value === "button"
34
- ), j = o(() => v.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => m.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
35
- return (e, A) => (t(), a(d(m.value), {
36
- disabled: v.value || void 0,
37
- class: l(["m-btn", [
38
- `--${e.size}`,
39
- !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
40
- g.value,
41
- j.value,
42
- B.value,
43
- I.value,
44
- {
45
- "--block": e.block,
46
- "--no-underline": e.noUnderline,
47
- "--fab": e.fab,
48
- "--loading": e.loading,
49
- "--disabled": v.value,
50
- "--rounded": e.rounded,
51
- "--no-rounded": e.noRounded,
52
- "--no-padding": e.noPadding,
53
- "--no-elevation": e.noElevation
54
- }
55
- ]]),
56
- type: C.value
57
- }, {
58
- default: S(() => [
59
- f(e.$slots, "left-icon", {}, () => [
60
- typeof e.leftIcon == "string" ? (t(), a(c(r), {
61
- key: 0,
62
- name: e.leftIcon,
63
- class: l([s.value])
64
- }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(d(e.leftIcon), {
65
- key: 1,
66
- class: l([s.value])
67
- }, null, 8, ["class"])) : y("v-if", !0)
68
- ], !0),
69
- f(e.$slots, "icon", {}, () => [
70
- typeof e.icon == "string" ? (t(), a(c(r), {
71
- key: 0,
72
- name: e.icon,
73
- class: l([s.value])
74
- }, null, 8, ["name", "class"])) : e.icon ? (t(), a(d(e.icon), {
75
- key: 1,
76
- class: l([s.value])
77
- }, null, 8, ["class"])) : y("v-if", !0)
78
- ], !0),
79
- f(e.$slots, "default", {}, void 0, !0),
80
- f(e.$slots, "right-icon", {}, () => [
81
- typeof e.rightIcon == "string" ? (t(), a(c(r), {
82
- key: 0,
83
- name: e.rightIcon,
84
- class: l([s.value])
85
- }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(d(e.rightIcon), {
86
- key: 1,
87
- class: l([s.value])
88
- }, null, 8, ["class"])) : y("v-if", !0)
89
- ], !0),
90
- k.value ? (t(), M("div", w, [
91
- O(c(u), {
92
- size: "2em",
93
- color: e.color
94
- }, null, 8, ["color"])
95
- ])) : y("v-if", !0)
96
- ]),
97
- _: 3
98
- /* FORWARDED */
99
- }, 8, ["disabled", "class", "type"]));
100
- }
101
- }), F = (i, n) => {
102
- const u = i.__vccOpts || i;
103
- for (const [r, p] of n)
104
- u[r] = p;
105
- return u;
106
- }, N = /* @__PURE__ */ F(E, [["__scopeId", "data-v-95f33abf"]]);
107
- export {
108
- N as M,
109
- F as _
110
- };
@@ -1,105 +0,0 @@
1
- import { defineComponent as h, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as S, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as w } from "vue";
2
- import { _ as E } from "./MazSelect-CJnsMuMG.mjs";
3
- import '../assets/MazBtn.css';const F = {
4
- key: 0,
5
- class: "m-btn-loader-container"
6
- }, O = /* @__PURE__ */ h({
7
- __name: "MazBtn",
8
- props: {
9
- variant: { default: "button" },
10
- size: { default: "md" },
11
- color: { default: "primary" },
12
- type: { default: "button" },
13
- rounded: { type: Boolean },
14
- roundedSize: { default: "lg" },
15
- noRounded: { type: Boolean },
16
- outline: { type: Boolean },
17
- pastel: { type: Boolean },
18
- block: { type: Boolean },
19
- noUnderline: { type: Boolean },
20
- loading: { type: Boolean },
21
- disabled: { type: Boolean },
22
- fab: { type: Boolean },
23
- icon: { type: [String, Function, Object], default: void 0 },
24
- leftIcon: { type: [String, Function, Object], default: void 0 },
25
- rightIcon: { type: [String, Function, Object], default: void 0 },
26
- noPadding: { type: Boolean },
27
- noElevation: { type: Boolean },
28
- justify: { default: "center" }
29
- },
30
- setup(p) {
31
- const n = p, v = m(() => import("./MazSpinner-XikQHrkW.mjs")), f = m(() => import("./MazIcon-B4CDdmqe.mjs")), { href: z, to: b } = $(), c = o(() => z ? "a" : b ? "router-link" : "button"), g = o(
32
- () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
- ), y = o(
34
- () => (n.loading || n.disabled) && c.value === "button"
35
- ), j = o(() => y.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => c.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
36
- return (e, A) => (t(), a(r(c.value), {
37
- disabled: y.value || void 0,
38
- class: l(["m-btn", [
39
- `--${e.size}`,
40
- !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
- g.value,
42
- j.value,
43
- B.value,
44
- I.value,
45
- {
46
- "--block": e.block,
47
- "--no-underline": e.noUnderline,
48
- "--fab": e.fab,
49
- "--loading": e.loading,
50
- "--disabled": y.value,
51
- "--rounded": e.rounded,
52
- "--no-rounded": e.noRounded,
53
- "--no-padding": e.noPadding,
54
- "--no-elevation": e.noElevation
55
- }
56
- ]]),
57
- type: C.value
58
- }, {
59
- default: S(() => [
60
- i(e.$slots, "left-icon", {}, () => [
61
- typeof e.leftIcon == "string" ? (t(), a(u(f), {
62
- key: 0,
63
- name: e.leftIcon,
64
- class: l([s.value])
65
- }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
66
- key: 1,
67
- class: l([s.value])
68
- }, null, 8, ["class"])) : d("v-if", !0)
69
- ], !0),
70
- i(e.$slots, "icon", {}, () => [
71
- typeof e.icon == "string" ? (t(), a(u(f), {
72
- key: 0,
73
- name: e.icon,
74
- class: l([s.value])
75
- }, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
76
- key: 1,
77
- class: l([s.value])
78
- }, null, 8, ["class"])) : d("v-if", !0)
79
- ], !0),
80
- i(e.$slots, "default", {}, void 0, !0),
81
- i(e.$slots, "right-icon", {}, () => [
82
- typeof e.rightIcon == "string" ? (t(), a(u(f), {
83
- key: 0,
84
- name: e.rightIcon,
85
- class: l([s.value])
86
- }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
87
- key: 1,
88
- class: l([s.value])
89
- }, null, 8, ["class"])) : d("v-if", !0)
90
- ], !0),
91
- k.value ? (t(), M("div", F, [
92
- w(u(v), {
93
- size: "2em",
94
- color: e.color
95
- }, null, 8, ["color"])
96
- ])) : d("v-if", !0)
97
- ]),
98
- _: 3
99
- /* FORWARDED */
100
- }, 8, ["disabled", "class", "type"]));
101
- }
102
- }), P = /* @__PURE__ */ E(O, [["__scopeId", "data-v-95f33abf"]]);
103
- export {
104
- P as default
105
- };
@@ -1,105 +0,0 @@
1
- import { defineComponent as h, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as S, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as w } from "vue";
2
- import { _ as E } from "./MazDialog-Cyo_BtT4.mjs";
3
- import '../assets/MazBtn.css';const F = {
4
- key: 0,
5
- class: "m-btn-loader-container"
6
- }, O = /* @__PURE__ */ h({
7
- __name: "MazBtn",
8
- props: {
9
- variant: { default: "button" },
10
- size: { default: "md" },
11
- color: { default: "primary" },
12
- type: { default: "button" },
13
- rounded: { type: Boolean },
14
- roundedSize: { default: "lg" },
15
- noRounded: { type: Boolean },
16
- outline: { type: Boolean },
17
- pastel: { type: Boolean },
18
- block: { type: Boolean },
19
- noUnderline: { type: Boolean },
20
- loading: { type: Boolean },
21
- disabled: { type: Boolean },
22
- fab: { type: Boolean },
23
- icon: { type: [String, Function, Object], default: void 0 },
24
- leftIcon: { type: [String, Function, Object], default: void 0 },
25
- rightIcon: { type: [String, Function, Object], default: void 0 },
26
- noPadding: { type: Boolean },
27
- noElevation: { type: Boolean },
28
- justify: { default: "center" }
29
- },
30
- setup(p) {
31
- const n = p, v = m(() => import("./MazSpinner-CQAyxmwJ.mjs")), f = m(() => import("./MazIcon-B4CDdmqe.mjs")), { href: z, to: b } = $(), c = o(() => z ? "a" : b ? "router-link" : "button"), g = o(
32
- () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
- ), y = o(
34
- () => (n.loading || n.disabled) && c.value === "button"
35
- ), j = o(() => y.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => c.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
36
- return (e, A) => (t(), a(r(c.value), {
37
- disabled: y.value || void 0,
38
- class: l(["m-btn", [
39
- `--${e.size}`,
40
- !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
- g.value,
42
- j.value,
43
- B.value,
44
- I.value,
45
- {
46
- "--block": e.block,
47
- "--no-underline": e.noUnderline,
48
- "--fab": e.fab,
49
- "--loading": e.loading,
50
- "--disabled": y.value,
51
- "--rounded": e.rounded,
52
- "--no-rounded": e.noRounded,
53
- "--no-padding": e.noPadding,
54
- "--no-elevation": e.noElevation
55
- }
56
- ]]),
57
- type: C.value
58
- }, {
59
- default: S(() => [
60
- i(e.$slots, "left-icon", {}, () => [
61
- typeof e.leftIcon == "string" ? (t(), a(u(f), {
62
- key: 0,
63
- name: e.leftIcon,
64
- class: l([s.value])
65
- }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
66
- key: 1,
67
- class: l([s.value])
68
- }, null, 8, ["class"])) : d("v-if", !0)
69
- ], !0),
70
- i(e.$slots, "icon", {}, () => [
71
- typeof e.icon == "string" ? (t(), a(u(f), {
72
- key: 0,
73
- name: e.icon,
74
- class: l([s.value])
75
- }, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
76
- key: 1,
77
- class: l([s.value])
78
- }, null, 8, ["class"])) : d("v-if", !0)
79
- ], !0),
80
- i(e.$slots, "default", {}, void 0, !0),
81
- i(e.$slots, "right-icon", {}, () => [
82
- typeof e.rightIcon == "string" ? (t(), a(u(f), {
83
- key: 0,
84
- name: e.rightIcon,
85
- class: l([s.value])
86
- }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
87
- key: 1,
88
- class: l([s.value])
89
- }, null, 8, ["class"])) : d("v-if", !0)
90
- ], !0),
91
- k.value ? (t(), M("div", F, [
92
- w(u(v), {
93
- size: "2em",
94
- color: e.color
95
- }, null, 8, ["color"])
96
- ])) : d("v-if", !0)
97
- ]),
98
- _: 3
99
- /* FORWARDED */
100
- }, 8, ["disabled", "class", "type"]));
101
- }
102
- }), P = /* @__PURE__ */ E(O, [["__scopeId", "data-v-95f33abf"]]);
103
- export {
104
- P as default
105
- };