maz-ui 3.47.2-beta.24 → 3.47.2-beta.25

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 (246) hide show
  1. package/components/MazAccordion.mjs +56 -56
  2. package/components/MazAnimatedCounter.mjs +7 -7
  3. package/components/MazAvatar.mjs +1 -1
  4. package/components/MazBackdrop.mjs +9 -9
  5. package/components/MazBadge.mjs +2 -2
  6. package/components/MazBottomSheet.mjs +1 -1
  7. package/components/MazBtn.mjs +1 -1
  8. package/components/MazCard.mjs +1 -1
  9. package/components/MazCardSpotlight.mjs +7 -7
  10. package/components/MazCarousel.mjs +1 -1
  11. package/components/MazChart.mjs +13 -13
  12. package/components/MazCheckbox.mjs +2 -2
  13. package/components/MazChecklist.mjs +1 -1
  14. package/components/MazCircularProgressBar.mjs +11 -11
  15. package/components/MazDialog.mjs +1 -1
  16. package/components/MazDialogPromise.mjs +1 -1
  17. package/components/MazDrawer.mjs +1 -1
  18. package/components/MazDropdown.mjs +1 -1
  19. package/components/MazDropzone.mjs +1 -1
  20. package/components/MazExpandAnimation.mjs +8 -8
  21. package/components/MazFullscreenLoader.mjs +2 -40
  22. package/components/MazGallery.mjs +1 -1
  23. package/components/MazIcon.mjs +9 -8
  24. package/components/MazInput.mjs +1 -1
  25. package/components/MazInputCode.mjs +2 -2
  26. package/components/MazInputNumber.mjs +1 -1
  27. package/components/MazInputPrice.mjs +1 -1
  28. package/components/MazInputTags.mjs +1 -1
  29. package/components/MazLazyImg.mjs +1 -1
  30. package/components/MazLink.d.ts +2 -2
  31. package/components/MazLink.mjs +6 -6
  32. package/components/MazLoadingBar.mjs +17 -17
  33. package/components/MazPagination.mjs +1 -1
  34. package/components/MazPhoneNumberInput.mjs +1 -1
  35. package/components/MazPicker.mjs +1 -1
  36. package/components/MazPullToRefresh.mjs +1 -1
  37. package/components/MazRadio.mjs +11 -11
  38. package/components/MazRadioButtons.mjs +2 -2
  39. package/components/MazReadingProgressBar.mjs +15 -15
  40. package/components/MazSelect.mjs +1 -1
  41. package/components/MazSlider.mjs +31 -31
  42. package/components/MazSpinner.mjs +7 -7
  43. package/components/MazStepper.d.ts +1 -1
  44. package/components/MazStepper.mjs +1 -1
  45. package/components/MazSwitch.mjs +9 -9
  46. package/components/MazTable.mjs +1 -1
  47. package/components/MazTableCell.mjs +12 -12
  48. package/components/MazTableRow.mjs +6 -6
  49. package/components/MazTableTitle.mjs +11 -11
  50. package/components/MazTabs.d.ts +3 -3
  51. package/components/MazTabs.mjs +7 -7
  52. package/components/MazTabsBar.mjs +1 -1
  53. package/components/MazTabsContent.mjs +4 -4
  54. package/components/MazTabsContentItem.mjs +8 -8
  55. package/components/MazTextarea.mjs +2 -2
  56. package/components/MazTransitionExpand.mjs +10 -10
  57. package/components/assets/MazAccordion.css +1 -1
  58. package/components/assets/MazAnimatedCounter.css +1 -1
  59. package/components/assets/MazAvatar.css +1 -1
  60. package/components/assets/MazBackdrop.css +1 -1
  61. package/components/assets/MazBadge.css +1 -1
  62. package/components/assets/MazBottomSheet.css +1 -1
  63. package/components/assets/MazBtn.css +1 -1
  64. package/components/assets/MazCard.css +1 -1
  65. package/components/assets/MazCardSpotlight.css +1 -1
  66. package/components/assets/MazCarousel.css +1 -1
  67. package/components/assets/MazCheckbox.css +1 -1
  68. package/components/assets/MazChecklist.css +1 -1
  69. package/components/assets/MazCircularProgressBar.css +1 -1
  70. package/components/assets/MazDialog.css +1 -1
  71. package/components/assets/MazDialogPromise.css +1 -1
  72. package/components/assets/MazDrawer.css +1 -1
  73. package/components/assets/MazExpandAnimation.css +1 -1
  74. package/components/assets/MazFullscreenLoader.css +1 -1
  75. package/components/assets/MazGallery.css +1 -1
  76. package/components/assets/MazInput.css +1 -1
  77. package/components/assets/MazInputCode.css +1 -1
  78. package/components/assets/MazInputNumber.css +1 -1
  79. package/components/assets/MazInputPrice.css +1 -1
  80. package/components/assets/MazInputTags.css +1 -1
  81. package/components/assets/MazLazyImg.css +1 -1
  82. package/components/assets/MazLink.css +1 -1
  83. package/components/assets/MazLoadingBar.css +1 -1
  84. package/components/assets/MazPagination.css +1 -1
  85. package/components/assets/MazPhoneNumberInput.css +1 -1
  86. package/components/assets/MazPicker.css +1 -1
  87. package/components/assets/MazPullToRefresh.css +1 -1
  88. package/components/assets/MazRadio.css +1 -1
  89. package/components/assets/MazRadioButtons.css +1 -1
  90. package/components/assets/MazReadingProgressBar.css +1 -1
  91. package/components/assets/MazSelect.css +1 -1
  92. package/components/assets/MazSlider.css +1 -1
  93. package/components/assets/MazSpinner.css +1 -1
  94. package/components/assets/MazStepper.css +1 -1
  95. package/components/assets/MazTable.css +1 -1
  96. package/components/assets/MazTableCell.css +1 -1
  97. package/components/assets/MazTableRow.css +1 -1
  98. package/components/assets/MazTableTitle.css +1 -1
  99. package/components/assets/MazTabsBar.css +1 -1
  100. package/components/assets/MazTabsContentItem.css +1 -1
  101. package/components/assets/MazTextarea.css +1 -1
  102. package/components/assets/MazTransitionExpand.css +1 -1
  103. package/components/chunks/{MazAvatar-CZzOIbzh.mjs → MazAvatar-CuOWgdVG.mjs} +18 -18
  104. package/components/chunks/{MazBadge-DCzaExPj.mjs → MazBadge-tPgFsG6Y.mjs} +6 -6
  105. package/components/chunks/{MazBottomSheet-DGsGO0zo.mjs → MazBottomSheet-CMqzf-dT.mjs} +15 -15
  106. package/components/chunks/MazBtn-B16x1gSu.mjs +103 -0
  107. package/components/chunks/MazBtn-BLSmc1v4.mjs +103 -0
  108. package/components/chunks/MazBtn-BcrrOaO_.mjs +103 -0
  109. package/components/chunks/MazBtn-Bje1xDu3.mjs +103 -0
  110. package/components/chunks/MazBtn-C5sb0470.mjs +103 -0
  111. package/components/chunks/MazBtn-CPwCJ1l-.mjs +103 -0
  112. package/components/chunks/{MazBtn-BS2kvd1Z.mjs → MazBtn-Cf-LPT5p.mjs} +4 -4
  113. package/components/chunks/MazBtn-DCyFSkZo.mjs +103 -0
  114. package/components/chunks/{MazBtn-oZhhJy09.mjs → MazBtn-DETtZdlj.mjs} +3 -3
  115. package/components/chunks/{MazBtn-B5o15XDU.mjs → MazBtn-DnJzOPh9.mjs} +4 -4
  116. package/components/chunks/{MazBtn-CM-xSnA5.mjs → MazBtn-DsGaq_eB.mjs} +3 -3
  117. package/components/chunks/{MazBtn-4-B-zs6Y.mjs → MazBtn-S7EnZYtZ.mjs} +4 -4
  118. package/components/chunks/MazBtn-iYAY4cer.mjs +103 -0
  119. package/components/chunks/MazBtn-v4i4k53h.mjs +103 -0
  120. package/components/chunks/{MazCard-98OuVlyK.mjs → MazCard-l54W3CUU.mjs} +3 -3
  121. package/components/chunks/{MazCarousel-COTaKhKF.mjs → MazCarousel-C16E1i1T.mjs} +3 -3
  122. package/components/chunks/{MazCheckbox-CbfTOJdy.mjs → MazCheckbox-C1nh-xQt.mjs} +7 -7
  123. package/components/chunks/{MazCheckbox-CCma_qyQ.mjs → MazCheckbox-CEsAHbdi.mjs} +7 -7
  124. package/components/chunks/{MazCheckbox-eOEEACaM.mjs → MazCheckbox-D-7-TdgO.mjs} +3 -3
  125. package/components/chunks/{MazChecklist-Bb_70sf5.mjs → MazChecklist-DSfD55m5.mjs} +125 -125
  126. package/components/chunks/{MazDialog-CVo6Lqqe.mjs → MazDialog-BjQ3ivmv.mjs} +17 -17
  127. package/components/chunks/{MazDialogPromise-CpVRFbno.mjs → MazDialogPromise-Bg3ZOsEI.mjs} +4 -4
  128. package/components/chunks/{MazDrawer-Bas9dy0D.mjs → MazDrawer-BqNLfW4e.mjs} +3 -3
  129. package/components/chunks/{MazDropdown-0r445NfW.mjs → MazDropdown-DNXKdC_3.mjs} +3 -2
  130. package/components/chunks/{MazDropzone-DKFkgqqD.mjs → MazDropzone-n0JE92da.mjs} +2 -2
  131. package/components/chunks/{MazExpandAnimation-Bdf0-L85.mjs → MazExpandAnimation-B04WMwpW.mjs} +8 -8
  132. package/components/chunks/MazFullscreenLoader-XF8wIEcL.mjs +48 -0
  133. package/components/chunks/{MazGallery-r8SBTCgJ.mjs → MazGallery-CzlKPQFX.mjs} +65 -65
  134. package/components/chunks/{MazGallery-xPp1apvO.mjs → MazGallery-DdZ3bFvX.mjs} +5 -5
  135. package/components/chunks/{MazIcon-_hN-Kivn.mjs → MazIcon-Cq1v4J3r.mjs} +9 -8
  136. package/components/chunks/{MazIcon-C-aPrqx2.mjs → MazIcon-DQXhsxp8.mjs} +11 -10
  137. package/{modules/chunks/MazIcon-CQd2Upkc.mjs → components/chunks/MazIcon-DR6-win-.mjs} +12 -11
  138. package/components/chunks/MazIcon-Gv6n6i4M.mjs +4 -0
  139. package/components/chunks/{MazInput-BM4n-byz.mjs → MazInput-BjnuoFvn.mjs} +26 -26
  140. package/components/chunks/{MazInput-BcutbP8N.mjs → MazInput-DB4HtpCQ.mjs} +4 -4
  141. package/components/chunks/{MazInput-C9Qh4Gt3.mjs → MazInput-yBii2AFS.mjs} +19 -19
  142. package/components/chunks/{MazInputNumber-DgjOMiOt.mjs → MazInputNumber-DqnLi9-C.mjs} +37 -37
  143. package/components/chunks/{MazInputPrice-D6fJN9yv.mjs → MazInputPrice-Ca8mL53M.mjs} +4 -4
  144. package/components/chunks/{MazInputTags-DthGSyHQ.mjs → MazInputTags-Bto9dVQq.mjs} +40 -40
  145. package/components/chunks/{MazLazyImg-DQLwaKKz.mjs → MazLazyImg-D9mlGTCs.mjs} +4 -4
  146. package/components/chunks/{MazLazyImg-B-6PQWEi.mjs → MazLazyImg-DnJyLBjr.mjs} +3 -3
  147. package/components/chunks/{MazLink-tud3eDgU.mjs → MazLink-DlUG7E5K.mjs} +3 -3
  148. package/components/chunks/{MazLoadingBar-C2qPjfEQ.mjs → MazLoadingBar-DBt1Ltm5.mjs} +8 -8
  149. package/components/chunks/{MazPagination-BSu0Ifkp.mjs → MazPagination-sxkvTajI.mjs} +49 -49
  150. package/components/chunks/{MazPhoneNumberInput-BAGcArnr.mjs → MazPhoneNumberInput-C3j3JyDI.mjs} +11 -11
  151. package/components/chunks/{MazPicker-BljfUneI.mjs → MazPicker-BUXJof_-.mjs} +9 -9
  152. package/components/chunks/{MazPickerMonthSwitcher-CEVb4BXw.mjs → MazPickerMonthSwitcher-DW2WfonJ.mjs} +1 -1
  153. package/components/chunks/{MazPickerShortcuts-DayGMC9m.mjs → MazPickerShortcuts-fw4-dWSv.mjs} +1 -1
  154. package/components/chunks/{MazPickerYearSwitcher-DC1lFIbp.mjs → MazPickerYearSwitcher-aHvmQBF1.mjs} +1 -1
  155. package/components/chunks/{MazPullToRefresh-CFQX0soS.mjs → MazPullToRefresh-a1rT-zWr.mjs} +3 -3
  156. package/components/chunks/{MazSelect-CH3JdigO.mjs → MazSelect-BwahUlbE.mjs} +49 -49
  157. package/components/chunks/{MazSelect-D3KXcHJS.mjs → MazSelect-CBaOs6va.mjs} +44 -44
  158. package/components/chunks/MazSpinner-BVQYjLWp.mjs +34 -0
  159. package/components/chunks/{MazSpinner-yr9xVdAa.mjs → MazSpinner-BYlkcKf0.mjs} +6 -6
  160. package/components/chunks/MazSpinner-B_THFs0t.mjs +34 -0
  161. package/components/chunks/MazSpinner-Bb1BgWPD.mjs +34 -0
  162. package/components/chunks/MazSpinner-Bb4B4Nz8.mjs +34 -0
  163. package/components/chunks/{MazSpinner-B5JChIrj.mjs → MazSpinner-Bpkl7q5u.mjs} +7 -7
  164. package/components/chunks/MazSpinner-BtDo7ZEC.mjs +34 -0
  165. package/components/chunks/MazSpinner-C-DOH7ou.mjs +34 -0
  166. package/components/chunks/MazSpinner-C1Rr3w9l.mjs +34 -0
  167. package/components/chunks/MazSpinner-C47dmUu7.mjs +34 -0
  168. package/components/chunks/MazSpinner-C7_Q1K-e.mjs +34 -0
  169. package/components/chunks/MazSpinner-CBHbVSef.mjs +34 -0
  170. package/components/chunks/MazSpinner-CCThMV5o.mjs +34 -0
  171. package/components/chunks/MazSpinner-CizL97Q2.mjs +34 -0
  172. package/components/chunks/{MazSpinner-BIPm54-3.mjs → MazSpinner-Cmy2WyWY.mjs} +7 -7
  173. package/components/chunks/MazSpinner-CodOqnm1.mjs +34 -0
  174. package/components/chunks/MazSpinner-Cq0S_tbE.mjs +34 -0
  175. package/components/chunks/{MazSpinner-BBZoDxwq.mjs → MazSpinner-D6PdYOcD.mjs} +7 -7
  176. package/components/chunks/MazSpinner-DV9-beEc.mjs +34 -0
  177. package/components/chunks/MazSpinner-DoFpeVcl.mjs +34 -0
  178. package/components/chunks/MazSpinner-Dx-3_EFZ.mjs +34 -0
  179. package/components/chunks/MazSpinner-PVTrAf5V.mjs +34 -0
  180. package/components/chunks/MazSpinner-PXSS3XT3.mjs +34 -0
  181. package/components/chunks/MazSpinner-XZrAaGeE.mjs +34 -0
  182. package/components/chunks/{MazStepper-B3fuhbye.mjs → MazStepper-DtAqtJjn.mjs} +32 -32
  183. package/components/chunks/{MazTable-BU3Hluiu.mjs → MazTable-Soe-MrTW.mjs} +79 -74
  184. package/components/chunks/{MazTableCell-DKMZAanm.mjs → MazTableCell-DtoO9MOe.mjs} +6 -6
  185. package/components/chunks/MazTableRow-ChFMulaU.mjs +30 -0
  186. package/components/chunks/{MazTableTitle-BSFZ84Ob.mjs → MazTableTitle-D8El-v5p.mjs} +6 -6
  187. package/components/chunks/{MazTabsBar--Xq_cpuz.mjs → MazTabsBar-8wchBiYF.mjs} +20 -20
  188. package/components/chunks/{MazTransitionExpand-Cedz9Ree.mjs → MazTransitionExpand-CRArAQZu.mjs} +10 -10
  189. package/css/main.css +1 -1
  190. package/modules/assets/MazBtn.css +1 -1
  191. package/modules/assets/MazSpinner.css +1 -1
  192. package/modules/assets/index.css +1 -1
  193. package/modules/chunks/MazBtn-D0bVfaLm.cjs +1 -0
  194. package/{components/chunks/MazBtn-BVWOyFm-.mjs → modules/chunks/MazBtn-Z86MClP9.mjs} +4 -4
  195. package/modules/chunks/{MazIcon-yWU14J0C.cjs → MazIcon-BwgJhGLT.cjs} +1 -1
  196. package/{components/chunks/MazIcon-BSUswKRF.mjs → modules/chunks/MazIcon-XtyPgbu6.mjs} +12 -11
  197. package/{components/chunks/MazSpinner-5S6Sn-lq.mjs → modules/chunks/MazSpinner-BfUXTY7m.mjs} +7 -7
  198. package/modules/chunks/MazSpinner-C5Fi9q_G.cjs +1 -0
  199. package/modules/chunks/index-Bq5KVBKA.cjs +124 -0
  200. package/modules/chunks/{index-2pl8TbAm.mjs → index-YwIF5a3Q.mjs} +19 -18
  201. package/modules/index.cjs +1 -1
  202. package/modules/index.mjs +1 -1
  203. package/nuxt/index.json +1 -1
  204. package/package.json +1 -1
  205. package/tailwindcss/tailwind.css +0 -6
  206. package/tailwindcss/variables/utilities.ts +3 -0
  207. package/types/components/MazLink.vue.d.ts +2 -2
  208. package/types/components/MazStepper.vue.d.ts +1 -1
  209. package/types/components/MazTabs.vue.d.ts +3 -3
  210. package/types/modules/composables/useFormValidator/useFormField.d.ts +56 -16
  211. package/types/modules/composables/useFormValidator/utils.d.ts +6 -6
  212. package/types/tailwindcss/variables/utilities.d.ts +3 -0
  213. package/components/chunks/MazBtn-C60T0UDa.mjs +0 -103
  214. package/components/chunks/MazBtn-C6zsmGnw.mjs +0 -103
  215. package/components/chunks/MazBtn-CC9H3U2X.mjs +0 -103
  216. package/components/chunks/MazBtn-D-lSRE8n.mjs +0 -103
  217. package/components/chunks/MazBtn-D1jMqwE1.mjs +0 -103
  218. package/components/chunks/MazBtn-DAXwt847.mjs +0 -103
  219. package/components/chunks/MazBtn-DOWVQgpN.mjs +0 -103
  220. package/components/chunks/MazBtn-DZaVjTvW.mjs +0 -103
  221. package/components/chunks/MazIcon-BoTByt7n.mjs +0 -4
  222. package/components/chunks/MazSpinner-BlbTztM3.mjs +0 -34
  223. package/components/chunks/MazSpinner-Bn4pnCJx.mjs +0 -34
  224. package/components/chunks/MazSpinner-C-ln9ldX.mjs +0 -34
  225. package/components/chunks/MazSpinner-C11EOZZd.mjs +0 -34
  226. package/components/chunks/MazSpinner-C6h03sqc.mjs +0 -34
  227. package/components/chunks/MazSpinner-CCc9ajpj.mjs +0 -34
  228. package/components/chunks/MazSpinner-CgKOIkQQ.mjs +0 -34
  229. package/components/chunks/MazSpinner-Cp_nPioh.mjs +0 -34
  230. package/components/chunks/MazSpinner-CwdlrYSt.mjs +0 -34
  231. package/components/chunks/MazSpinner-DOPjHhPx.mjs +0 -34
  232. package/components/chunks/MazSpinner-DjM6ktPY.mjs +0 -34
  233. package/components/chunks/MazSpinner-DjUU4G1h.mjs +0 -34
  234. package/components/chunks/MazSpinner-DqD51Fb6.mjs +0 -34
  235. package/components/chunks/MazSpinner-Du5o8JC_.mjs +0 -38
  236. package/components/chunks/MazSpinner-QfPXLpa_.mjs +0 -34
  237. package/components/chunks/MazSpinner-XB6tX3Ld.mjs +0 -34
  238. package/components/chunks/MazSpinner-ZFhNCy24.mjs +0 -34
  239. package/components/chunks/MazSpinner-b90e3OQK.mjs +0 -34
  240. package/components/chunks/MazSpinner-f6pBzqbu.mjs +0 -34
  241. package/components/chunks/MazTableRow-CDHpmXfw.mjs +0 -30
  242. package/modules/chunks/MazBtn-BB46O5je.mjs +0 -103
  243. package/modules/chunks/MazBtn-CZT-LQS2.cjs +0 -1
  244. package/modules/chunks/MazSpinner-C2h_t5PV.mjs +0 -34
  245. package/modules/chunks/MazSpinner-D8KHXwFm.cjs +0 -1
  246. package/modules/chunks/index-DwaxfXYQ.cjs +0 -124
@@ -0,0 +1,103 @@
1
+ import { defineComponent as C, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as l, resolveDynamicComponent as r, normalizeClass as a, normalizeStyle as S, withCtx as j, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as E } from "vue";
2
+ import { _ as F } from "./MazInputPrice-Ca8mL53M.mjs";
3
+ import '../assets/MazBtn.css';const O = {
4
+ key: 0,
5
+ class: "m-btn-loader-container"
6
+ }, A = /* @__PURE__ */ C({
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(y) {
31
+ const n = y, v = m(() => import("./MazSpinner-C1Rr3w9l.mjs")), c = m(() => import("./MazIcon-Cq1v4J3r.mjs")), { href: b, to: z } = $(), f = o(() => b ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), p = o(
32
+ () => (n.loading || n.disabled) && f.value === "button"
33
+ ), B = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), I = o(() => n.loading && n.variant === "button"), h = o(() => f.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" : "maz-text-xl");
34
+ return (e, D) => (t(), l(r(f.value), {
35
+ disabled: p.value || void 0,
36
+ class: a(["m-btn m-reset-css", [
37
+ `--${e.size}`,
38
+ !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
39
+ g.value,
40
+ B.value,
41
+ k.value,
42
+ {
43
+ "--block": e.block,
44
+ "--no-underline": e.noUnderline,
45
+ "--fab": e.fab,
46
+ "--loading": e.loading,
47
+ "--disabled": p.value,
48
+ "--rounded": e.rounded,
49
+ "--no-rounded": e.noRounded,
50
+ "--no-padding": e.noPadding,
51
+ "--no-elevation": e.noElevation
52
+ }
53
+ ]]),
54
+ style: S([`--justify: ${e.justify}`]),
55
+ type: h.value
56
+ }, {
57
+ default: j(() => [
58
+ i(e.$slots, "left-icon", {}, () => [
59
+ typeof e.leftIcon == "string" ? (t(), l(u(c), {
60
+ key: 0,
61
+ name: e.leftIcon,
62
+ class: a([s.value])
63
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), l(r(e.leftIcon), {
64
+ key: 1,
65
+ class: a([s.value])
66
+ }, null, 8, ["class"])) : d("v-if", !0)
67
+ ], !0),
68
+ i(e.$slots, "icon", {}, () => [
69
+ typeof e.icon == "string" ? (t(), l(u(c), {
70
+ key: 0,
71
+ name: e.icon,
72
+ class: a([s.value])
73
+ }, null, 8, ["name", "class"])) : e.icon ? (t(), l(r(e.icon), {
74
+ key: 1,
75
+ class: a([s.value])
76
+ }, null, 8, ["class"])) : d("v-if", !0)
77
+ ], !0),
78
+ i(e.$slots, "default", {}, void 0, !0),
79
+ i(e.$slots, "right-icon", {}, () => [
80
+ typeof e.rightIcon == "string" ? (t(), l(u(c), {
81
+ key: 0,
82
+ name: e.rightIcon,
83
+ class: a([s.value])
84
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), l(r(e.rightIcon), {
85
+ key: 1,
86
+ class: a([s.value])
87
+ }, null, 8, ["class"])) : d("v-if", !0)
88
+ ], !0),
89
+ I.value ? (t(), M("div", O, [
90
+ E(u(v), {
91
+ size: "2em",
92
+ color: e.color
93
+ }, null, 8, ["color"])
94
+ ])) : d("v-if", !0)
95
+ ]),
96
+ _: 3
97
+ /* FORWARDED */
98
+ }, 8, ["disabled", "class", "style", "type"]));
99
+ }
100
+ }), R = /* @__PURE__ */ F(A, [["__scopeId", "data-v-cac550b2"]]);
101
+ export {
102
+ R as default
103
+ };
@@ -0,0 +1,103 @@
1
+ import { defineComponent as C, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as l, resolveDynamicComponent as r, normalizeClass as a, normalizeStyle as S, withCtx as j, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as E } from "vue";
2
+ import { _ as F } from "./MazCarousel-C16E1i1T.mjs";
3
+ import '../assets/MazBtn.css';const O = {
4
+ key: 0,
5
+ class: "m-btn-loader-container"
6
+ }, A = /* @__PURE__ */ C({
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(y) {
31
+ const n = y, v = m(() => import("./MazSpinner-CizL97Q2.mjs")), c = m(() => import("./MazIcon-Cq1v4J3r.mjs")), { href: b, to: z } = $(), f = o(() => b ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), p = o(
32
+ () => (n.loading || n.disabled) && f.value === "button"
33
+ ), B = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), I = o(() => n.loading && n.variant === "button"), h = o(() => f.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" : "maz-text-xl");
34
+ return (e, D) => (t(), l(r(f.value), {
35
+ disabled: p.value || void 0,
36
+ class: a(["m-btn m-reset-css", [
37
+ `--${e.size}`,
38
+ !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
39
+ g.value,
40
+ B.value,
41
+ k.value,
42
+ {
43
+ "--block": e.block,
44
+ "--no-underline": e.noUnderline,
45
+ "--fab": e.fab,
46
+ "--loading": e.loading,
47
+ "--disabled": p.value,
48
+ "--rounded": e.rounded,
49
+ "--no-rounded": e.noRounded,
50
+ "--no-padding": e.noPadding,
51
+ "--no-elevation": e.noElevation
52
+ }
53
+ ]]),
54
+ style: S([`--justify: ${e.justify}`]),
55
+ type: h.value
56
+ }, {
57
+ default: j(() => [
58
+ i(e.$slots, "left-icon", {}, () => [
59
+ typeof e.leftIcon == "string" ? (t(), l(u(c), {
60
+ key: 0,
61
+ name: e.leftIcon,
62
+ class: a([s.value])
63
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), l(r(e.leftIcon), {
64
+ key: 1,
65
+ class: a([s.value])
66
+ }, null, 8, ["class"])) : d("v-if", !0)
67
+ ], !0),
68
+ i(e.$slots, "icon", {}, () => [
69
+ typeof e.icon == "string" ? (t(), l(u(c), {
70
+ key: 0,
71
+ name: e.icon,
72
+ class: a([s.value])
73
+ }, null, 8, ["name", "class"])) : e.icon ? (t(), l(r(e.icon), {
74
+ key: 1,
75
+ class: a([s.value])
76
+ }, null, 8, ["class"])) : d("v-if", !0)
77
+ ], !0),
78
+ i(e.$slots, "default", {}, void 0, !0),
79
+ i(e.$slots, "right-icon", {}, () => [
80
+ typeof e.rightIcon == "string" ? (t(), l(u(c), {
81
+ key: 0,
82
+ name: e.rightIcon,
83
+ class: a([s.value])
84
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), l(r(e.rightIcon), {
85
+ key: 1,
86
+ class: a([s.value])
87
+ }, null, 8, ["class"])) : d("v-if", !0)
88
+ ], !0),
89
+ I.value ? (t(), M("div", O, [
90
+ E(u(v), {
91
+ size: "2em",
92
+ color: e.color
93
+ }, null, 8, ["color"])
94
+ ])) : d("v-if", !0)
95
+ ]),
96
+ _: 3
97
+ /* FORWARDED */
98
+ }, 8, ["disabled", "class", "style", "type"]));
99
+ }
100
+ }), R = /* @__PURE__ */ F(A, [["__scopeId", "data-v-cac550b2"]]);
101
+ export {
102
+ R as default
103
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as l, resolveDynamicComponent as r, normalizeClass as a, normalizeStyle as S, withCtx as j, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as E } from "vue";
2
- import { _ as F } from "./MazDrawer-Bas9dy0D.mjs";
2
+ import { _ as F } from "./MazTable-Soe-MrTW.mjs";
3
3
  import '../assets/MazBtn.css';const O = {
4
4
  key: 0,
5
5
  class: "m-btn-loader-container"
@@ -28,12 +28,12 @@ import '../assets/MazBtn.css';const O = {
28
28
  justify: { default: "center" }
29
29
  },
30
30
  setup(y) {
31
- const n = y, v = m(() => import("./MazSpinner-C6h03sqc.mjs")), c = m(() => import("./MazIcon-_hN-Kivn.mjs")), { href: b, to: z } = $(), f = o(() => b ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), p = o(
31
+ const n = y, v = m(() => import("./MazSpinner-Bpkl7q5u.mjs")), c = m(() => import("./MazIcon-DQXhsxp8.mjs")), { href: b, to: z } = $(), f = o(() => b ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), p = o(
32
32
  () => (n.loading || n.disabled) && f.value === "button"
33
33
  ), B = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), I = o(() => n.loading && n.variant === "button"), h = o(() => f.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" : "maz-text-xl");
34
34
  return (e, D) => (t(), l(r(f.value), {
35
35
  disabled: p.value || void 0,
36
- class: a(["m-btn", [
36
+ class: a(["m-btn m-reset-css", [
37
37
  `--${e.size}`,
38
38
  !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
39
39
  g.value,
@@ -97,7 +97,7 @@ import '../assets/MazBtn.css';const O = {
97
97
  /* FORWARDED */
98
98
  }, 8, ["disabled", "class", "style", "type"]));
99
99
  }
100
- }), R = /* @__PURE__ */ F(A, [["__scopeId", "data-v-bee684ff"]]);
100
+ }), R = /* @__PURE__ */ F(A, [["__scopeId", "data-v-cac550b2"]]);
101
101
  export {
102
102
  R as default
103
103
  };
@@ -0,0 +1,103 @@
1
+ import { defineComponent as C, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as l, resolveDynamicComponent as r, normalizeClass as a, normalizeStyle as S, withCtx as j, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as E } from "vue";
2
+ import { _ as F } from "./MazSelect-BwahUlbE.mjs";
3
+ import '../assets/MazBtn.css';const O = {
4
+ key: 0,
5
+ class: "m-btn-loader-container"
6
+ }, A = /* @__PURE__ */ C({
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(y) {
31
+ const n = y, v = m(() => import("./MazSpinner-Dx-3_EFZ.mjs")), c = m(() => import("./MazIcon-Cq1v4J3r.mjs")), { href: b, to: z } = $(), f = o(() => b ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), p = o(
32
+ () => (n.loading || n.disabled) && f.value === "button"
33
+ ), B = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), I = o(() => n.loading && n.variant === "button"), h = o(() => f.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" : "maz-text-xl");
34
+ return (e, D) => (t(), l(r(f.value), {
35
+ disabled: p.value || void 0,
36
+ class: a(["m-btn m-reset-css", [
37
+ `--${e.size}`,
38
+ !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
39
+ g.value,
40
+ B.value,
41
+ k.value,
42
+ {
43
+ "--block": e.block,
44
+ "--no-underline": e.noUnderline,
45
+ "--fab": e.fab,
46
+ "--loading": e.loading,
47
+ "--disabled": p.value,
48
+ "--rounded": e.rounded,
49
+ "--no-rounded": e.noRounded,
50
+ "--no-padding": e.noPadding,
51
+ "--no-elevation": e.noElevation
52
+ }
53
+ ]]),
54
+ style: S([`--justify: ${e.justify}`]),
55
+ type: h.value
56
+ }, {
57
+ default: j(() => [
58
+ i(e.$slots, "left-icon", {}, () => [
59
+ typeof e.leftIcon == "string" ? (t(), l(u(c), {
60
+ key: 0,
61
+ name: e.leftIcon,
62
+ class: a([s.value])
63
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), l(r(e.leftIcon), {
64
+ key: 1,
65
+ class: a([s.value])
66
+ }, null, 8, ["class"])) : d("v-if", !0)
67
+ ], !0),
68
+ i(e.$slots, "icon", {}, () => [
69
+ typeof e.icon == "string" ? (t(), l(u(c), {
70
+ key: 0,
71
+ name: e.icon,
72
+ class: a([s.value])
73
+ }, null, 8, ["name", "class"])) : e.icon ? (t(), l(r(e.icon), {
74
+ key: 1,
75
+ class: a([s.value])
76
+ }, null, 8, ["class"])) : d("v-if", !0)
77
+ ], !0),
78
+ i(e.$slots, "default", {}, void 0, !0),
79
+ i(e.$slots, "right-icon", {}, () => [
80
+ typeof e.rightIcon == "string" ? (t(), l(u(c), {
81
+ key: 0,
82
+ name: e.rightIcon,
83
+ class: a([s.value])
84
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), l(r(e.rightIcon), {
85
+ key: 1,
86
+ class: a([s.value])
87
+ }, null, 8, ["class"])) : d("v-if", !0)
88
+ ], !0),
89
+ I.value ? (t(), M("div", O, [
90
+ E(u(v), {
91
+ size: "2em",
92
+ color: e.color
93
+ }, null, 8, ["color"])
94
+ ])) : d("v-if", !0)
95
+ ]),
96
+ _: 3
97
+ /* FORWARDED */
98
+ }, 8, ["disabled", "class", "style", "type"]));
99
+ }
100
+ }), R = /* @__PURE__ */ F(A, [["__scopeId", "data-v-cac550b2"]]);
101
+ export {
102
+ R as default
103
+ };
@@ -28,12 +28,12 @@ import '../assets/MazBtn.css';const O = {
28
28
  justify: { default: "center" }
29
29
  },
30
30
  setup(y) {
31
- const n = y, v = m(() => import("./MazSpinner-yr9xVdAa.mjs")), c = m(() => import("./MazIcon-BoTByt7n.mjs")), { href: b, to: z } = $(), f = o(() => b ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), p = o(
31
+ const n = y, v = m(() => import("./MazSpinner-BYlkcKf0.mjs")), c = m(() => import("./MazIcon-Gv6n6i4M.mjs")), { href: b, to: z } = $(), f = o(() => b ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), p = o(
32
32
  () => (n.loading || n.disabled) && f.value === "button"
33
33
  ), B = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), I = o(() => n.loading && n.variant === "button"), h = o(() => f.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" : "maz-text-xl");
34
34
  return (e, D) => (t(), l(r(f.value), {
35
35
  disabled: p.value || void 0,
36
- class: a(["m-btn", [
36
+ class: a(["m-btn m-reset-css", [
37
37
  `--${e.size}`,
38
38
  !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
39
39
  g.value,
@@ -97,7 +97,7 @@ import '../assets/MazBtn.css';const O = {
97
97
  /* FORWARDED */
98
98
  }, 8, ["disabled", "class", "style", "type"]));
99
99
  }
100
- }), R = /* @__PURE__ */ F(A, [["__scopeId", "data-v-bee684ff"]]);
100
+ }), R = /* @__PURE__ */ F(A, [["__scopeId", "data-v-cac550b2"]]);
101
101
  export {
102
102
  R as default
103
103
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as l, resolveDynamicComponent as r, normalizeClass as a, normalizeStyle as S, withCtx as j, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as E } from "vue";
2
- import { _ as F } from "./MazDialog-CVo6Lqqe.mjs";
2
+ import { _ as F } from "./MazCard-l54W3CUU.mjs";
3
3
  import '../assets/MazBtn.css';const O = {
4
4
  key: 0,
5
5
  class: "m-btn-loader-container"
@@ -28,12 +28,12 @@ import '../assets/MazBtn.css';const O = {
28
28
  justify: { default: "center" }
29
29
  },
30
30
  setup(y) {
31
- const n = y, v = m(() => import("./MazSpinner-5S6Sn-lq.mjs")), c = m(() => import("./MazIcon-_hN-Kivn.mjs")), { href: b, to: z } = $(), f = o(() => b ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), p = o(
31
+ const n = y, v = m(() => import("./MazSpinner-Cmy2WyWY.mjs")), c = m(() => import("./MazIcon-Cq1v4J3r.mjs")), { href: b, to: z } = $(), f = o(() => b ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), p = o(
32
32
  () => (n.loading || n.disabled) && f.value === "button"
33
33
  ), B = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), I = o(() => n.loading && n.variant === "button"), h = o(() => f.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" : "maz-text-xl");
34
34
  return (e, D) => (t(), l(r(f.value), {
35
35
  disabled: p.value || void 0,
36
- class: a(["m-btn", [
36
+ class: a(["m-btn m-reset-css", [
37
37
  `--${e.size}`,
38
38
  !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
39
39
  g.value,
@@ -97,7 +97,7 @@ import '../assets/MazBtn.css';const O = {
97
97
  /* FORWARDED */
98
98
  }, 8, ["disabled", "class", "style", "type"]));
99
99
  }
100
- }), R = /* @__PURE__ */ F(A, [["__scopeId", "data-v-bee684ff"]]);
100
+ }), R = /* @__PURE__ */ F(A, [["__scopeId", "data-v-cac550b2"]]);
101
101
  export {
102
102
  R as default
103
103
  };
@@ -27,12 +27,12 @@ import '../assets/MazBtn.css';const E = {
27
27
  justify: { default: "center" }
28
28
  },
29
29
  setup(i) {
30
- const n = i, u = b(() => import("./MazSpinner-BlbTztM3.mjs")), r = b(() => import("./MazIcon-_hN-Kivn.mjs")), { href: m, to: z } = $(), v = o(() => m ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), y = o(
30
+ const n = i, u = b(() => import("./MazSpinner-D6PdYOcD.mjs")), r = b(() => import("./MazIcon-Cq1v4J3r.mjs")), { href: m, to: z } = $(), v = o(() => m ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), y = o(
31
31
  () => (n.loading || n.disabled) && v.value === "button"
32
32
  ), B = o(() => y.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), I = o(() => n.loading && n.variant === "button"), h = o(() => v.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" : "maz-text-xl");
33
33
  return (e, D) => (t(), l(d(v.value), {
34
34
  disabled: y.value || void 0,
35
- class: a(["m-btn", [
35
+ class: a(["m-btn m-reset-css", [
36
36
  `--${e.size}`,
37
37
  !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
38
38
  g.value,
@@ -101,7 +101,7 @@ import '../assets/MazBtn.css';const E = {
101
101
  for (const [r, m] of n)
102
102
  u[r] = m;
103
103
  return u;
104
- }, P = /* @__PURE__ */ A(F, [["__scopeId", "data-v-bee684ff"]]);
104
+ }, P = /* @__PURE__ */ A(F, [["__scopeId", "data-v-cac550b2"]]);
105
105
  export {
106
106
  P as M,
107
107
  A as _
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as l, resolveDynamicComponent as r, normalizeClass as a, normalizeStyle as S, withCtx as j, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as E } from "vue";
2
- import { _ as F } from "./MazInputPrice-D6fJN9yv.mjs";
2
+ import { _ as F } from "./MazInput-yBii2AFS.mjs";
3
3
  import '../assets/MazBtn.css';const O = {
4
4
  key: 0,
5
5
  class: "m-btn-loader-container"
@@ -28,12 +28,12 @@ import '../assets/MazBtn.css';const O = {
28
28
  justify: { default: "center" }
29
29
  },
30
30
  setup(y) {
31
- const n = y, v = m(() => import("./MazSpinner-CCc9ajpj.mjs")), c = m(() => import("./MazIcon-_hN-Kivn.mjs")), { href: b, to: z } = $(), f = o(() => b ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), p = o(
31
+ const n = y, v = m(() => import("./MazSpinner-CCThMV5o.mjs")), c = m(() => import("./MazIcon-Cq1v4J3r.mjs")), { href: b, to: z } = $(), f = o(() => b ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), p = o(
32
32
  () => (n.loading || n.disabled) && f.value === "button"
33
33
  ), B = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), I = o(() => n.loading && n.variant === "button"), h = o(() => f.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" : "maz-text-xl");
34
34
  return (e, D) => (t(), l(r(f.value), {
35
35
  disabled: p.value || void 0,
36
- class: a(["m-btn", [
36
+ class: a(["m-btn m-reset-css", [
37
37
  `--${e.size}`,
38
38
  !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
39
39
  g.value,
@@ -97,7 +97,7 @@ import '../assets/MazBtn.css';const O = {
97
97
  /* FORWARDED */
98
98
  }, 8, ["disabled", "class", "style", "type"]));
99
99
  }
100
- }), R = /* @__PURE__ */ F(A, [["__scopeId", "data-v-bee684ff"]]);
100
+ }), R = /* @__PURE__ */ F(A, [["__scopeId", "data-v-cac550b2"]]);
101
101
  export {
102
102
  R as default
103
103
  };
@@ -0,0 +1,103 @@
1
+ import { defineComponent as C, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as l, resolveDynamicComponent as r, normalizeClass as a, normalizeStyle as S, withCtx as j, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as E } from "vue";
2
+ import { _ as F } from "./MazPhoneNumberInput-C3j3JyDI.mjs";
3
+ import '../assets/MazBtn.css';const O = {
4
+ key: 0,
5
+ class: "m-btn-loader-container"
6
+ }, A = /* @__PURE__ */ C({
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(y) {
31
+ const n = y, v = m(() => import("./MazSpinner-BtDo7ZEC.mjs")), c = m(() => import("./MazIcon-DR6-win-.mjs")), { href: b, to: z } = $(), f = o(() => b ? "a" : z ? "router-link" : "button"), g = o(() => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`), p = o(
32
+ () => (n.loading || n.disabled) && f.value === "button"
33
+ ), B = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), I = o(() => n.loading && n.variant === "button"), h = o(() => f.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" : "maz-text-xl");
34
+ return (e, D) => (t(), l(r(f.value), {
35
+ disabled: p.value || void 0,
36
+ class: a(["m-btn m-reset-css", [
37
+ `--${e.size}`,
38
+ !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
39
+ g.value,
40
+ B.value,
41
+ k.value,
42
+ {
43
+ "--block": e.block,
44
+ "--no-underline": e.noUnderline,
45
+ "--fab": e.fab,
46
+ "--loading": e.loading,
47
+ "--disabled": p.value,
48
+ "--rounded": e.rounded,
49
+ "--no-rounded": e.noRounded,
50
+ "--no-padding": e.noPadding,
51
+ "--no-elevation": e.noElevation
52
+ }
53
+ ]]),
54
+ style: S([`--justify: ${e.justify}`]),
55
+ type: h.value
56
+ }, {
57
+ default: j(() => [
58
+ i(e.$slots, "left-icon", {}, () => [
59
+ typeof e.leftIcon == "string" ? (t(), l(u(c), {
60
+ key: 0,
61
+ name: e.leftIcon,
62
+ class: a([s.value])
63
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), l(r(e.leftIcon), {
64
+ key: 1,
65
+ class: a([s.value])
66
+ }, null, 8, ["class"])) : d("v-if", !0)
67
+ ], !0),
68
+ i(e.$slots, "icon", {}, () => [
69
+ typeof e.icon == "string" ? (t(), l(u(c), {
70
+ key: 0,
71
+ name: e.icon,
72
+ class: a([s.value])
73
+ }, null, 8, ["name", "class"])) : e.icon ? (t(), l(r(e.icon), {
74
+ key: 1,
75
+ class: a([s.value])
76
+ }, null, 8, ["class"])) : d("v-if", !0)
77
+ ], !0),
78
+ i(e.$slots, "default", {}, void 0, !0),
79
+ i(e.$slots, "right-icon", {}, () => [
80
+ typeof e.rightIcon == "string" ? (t(), l(u(c), {
81
+ key: 0,
82
+ name: e.rightIcon,
83
+ class: a([s.value])
84
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), l(r(e.rightIcon), {
85
+ key: 1,
86
+ class: a([s.value])
87
+ }, null, 8, ["class"])) : d("v-if", !0)
88
+ ], !0),
89
+ I.value ? (t(), M("div", O, [
90
+ E(u(v), {
91
+ size: "2em",
92
+ color: e.color
93
+ }, null, 8, ["color"])
94
+ ])) : d("v-if", !0)
95
+ ]),
96
+ _: 3
97
+ /* FORWARDED */
98
+ }, 8, ["disabled", "class", "style", "type"]));
99
+ }
100
+ }), R = /* @__PURE__ */ F(A, [["__scopeId", "data-v-cac550b2"]]);
101
+ export {
102
+ R as default
103
+ };