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

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
@@ -16,12 +16,12 @@ const H = ["innerHTML"], V = /* @__PURE__ */ T({
16
16
  /** The function to transform the source of the SVG file - e.g: `(svg) => svg` */
17
17
  transformSource: {
18
18
  type: Function,
19
- default: (a) => a
19
+ default: (i) => i
20
20
  }
21
21
  },
22
22
  emits: ["loaded", "unloaded", "error"],
23
- setup(a, { emit: p }) {
24
- const o = a, c = p, s = {}, i = m(), d = m();
23
+ setup(i, { emit: p }) {
24
+ const o = i, c = p, a = {}, s = m(), d = m();
25
25
  function g() {
26
26
  try {
27
27
  return q("mazIconPath");
@@ -59,11 +59,11 @@ const H = ["innerHTML"], V = /* @__PURE__ */ T({
59
59
  return o.title && h(r, o.title), e.innerHTML;
60
60
  }
61
61
  async function M(e) {
62
- s[e] || (s[e] = z(e));
62
+ a[e] || (a[e] = z(e));
63
63
  try {
64
- i.value = await s[e], await $(), c("loaded", d.value);
64
+ s.value = await a[e], await $(), c("loaded", d.value);
65
65
  } catch (r) {
66
- i.value && (i.value = void 0, c("unloaded")), delete s[e], c("error", r);
66
+ s.value && (s.value = void 0, c("unloaded")), delete a[e], c("error", r);
67
67
  }
68
68
  }
69
69
  function z(e) {
@@ -82,18 +82,19 @@ const H = ["innerHTML"], V = /* @__PURE__ */ T({
82
82
  }), n.addEventListener("error", (l) => t(l)), n.send();
83
83
  });
84
84
  }
85
- return L(() => M(S.value)), (e, r) => i.value ? (P(), _("svg", A({
85
+ return L(() => M(S.value)), (e, r) => s.value ? (P(), _("svg", A({
86
86
  key: 0,
87
87
  ref_key: "svgElem",
88
88
  ref: d,
89
+ class: "m-icon m-reset-css",
89
90
  width: "1em",
90
91
  height: "1em"
91
92
  }, {
92
- ...y(i.value),
93
+ ...y(s.value),
93
94
  ...w(e.$attrs)
94
95
  }, {
95
- style: `font-size: ${a.size}`,
96
- innerHTML: E(i.value)
96
+ style: `font-size: ${i.size}`,
97
+ innerHTML: E(s.value)
97
98
  }), null, 16, H)) : C("v-if", !0);
98
99
  }
99
100
  });
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as T, ref as m, computed as v, onMounted as x, watchEffect as L, openBlock as P, createElementBlock as _, mergeProps as A, createCommentVNode as C, nextTick as $ } from "vue";
2
- import { i as q } from "./index-2pl8TbAm.mjs";
2
+ import { i as q } from "./MazPhoneNumberInput-C3j3JyDI.mjs";
3
3
  const H = ["innerHTML"], V = /* @__PURE__ */ T({
4
4
  __name: "MazIcon",
5
5
  props: {
@@ -16,12 +16,12 @@ const H = ["innerHTML"], V = /* @__PURE__ */ T({
16
16
  /** The function to transform the source of the SVG file - e.g: `(svg) => svg` */
17
17
  transformSource: {
18
18
  type: Function,
19
- default: (a) => a
19
+ default: (i) => i
20
20
  }
21
21
  },
22
22
  emits: ["loaded", "unloaded", "error"],
23
- setup(a, { emit: p }) {
24
- const o = a, c = p, s = {}, i = m(), d = m();
23
+ setup(i, { emit: p }) {
24
+ const o = i, c = p, a = {}, s = m(), d = m();
25
25
  function g() {
26
26
  try {
27
27
  return q("mazIconPath");
@@ -59,11 +59,11 @@ const H = ["innerHTML"], V = /* @__PURE__ */ T({
59
59
  return o.title && h(r, o.title), e.innerHTML;
60
60
  }
61
61
  async function M(e) {
62
- s[e] || (s[e] = z(e));
62
+ a[e] || (a[e] = z(e));
63
63
  try {
64
- i.value = await s[e], await $(), c("loaded", d.value);
64
+ s.value = await a[e], await $(), c("loaded", d.value);
65
65
  } catch (r) {
66
- i.value && (i.value = void 0, c("unloaded")), delete s[e], c("error", r);
66
+ s.value && (s.value = void 0, c("unloaded")), delete a[e], c("error", r);
67
67
  }
68
68
  }
69
69
  function z(e) {
@@ -82,18 +82,19 @@ const H = ["innerHTML"], V = /* @__PURE__ */ T({
82
82
  }), n.addEventListener("error", (l) => t(l)), n.send();
83
83
  });
84
84
  }
85
- return L(() => M(S.value)), (e, r) => i.value ? (P(), _("svg", A({
85
+ return L(() => M(S.value)), (e, r) => s.value ? (P(), _("svg", A({
86
86
  key: 0,
87
87
  ref_key: "svgElem",
88
88
  ref: d,
89
+ class: "m-icon m-reset-css",
89
90
  width: "1em",
90
91
  height: "1em"
91
92
  }, {
92
- ...y(i.value),
93
+ ...y(s.value),
93
94
  ...w(e.$attrs)
94
95
  }, {
95
- style: `font-size: ${a.size}`,
96
- innerHTML: E(i.value)
96
+ style: `font-size: ${i.size}`,
97
+ innerHTML: E(s.value)
97
98
  }), null, 16, H)) : C("v-if", !0);
98
99
  }
99
100
  });
@@ -0,0 +1,4 @@
1
+ import { _ as f } from "./MazDropdown-DNXKdC_3.mjs";
2
+ export {
3
+ f as default
4
+ };
@@ -1,5 +1,5 @@
1
- import { defineComponent as W, defineAsyncComponent as f, ref as h, onMounted as X, computed as i, useSlots as Y, openBlock as o, createElementBlock as s, normalizeClass as p, normalizeStyle as Z, unref as l, toDisplayString as g, createCommentVNode as a, createElementVNode as k, renderSlot as I, createBlock as u, resolveDynamicComponent as S, withDirectives as x, mergeProps as _, toHandlers as ee, vModelDynamic as te, createTextVNode as oe, withModifiers as ae, withCtx as L, createVNode as M } from "vue";
2
- import { u as ne, _ as le } from "./MazChecklist-Bb_70sf5.mjs";
1
+ import { defineComponent as W, defineAsyncComponent as f, ref as h, onMounted as X, computed as s, useSlots as Y, openBlock as o, createElementBlock as i, normalizeClass as m, normalizeStyle as Z, unref as l, toDisplayString as g, createCommentVNode as a, createElementVNode as k, renderSlot as I, createBlock as u, resolveDynamicComponent as S, withDirectives as x, mergeProps as _, toHandlers as ee, vModelDynamic as te, createTextVNode as oe, withModifiers as ae, withCtx as L, createVNode as M } from "vue";
2
+ import { u as ne, _ as le } from "./MazChecklist-DSfD55m5.mjs";
3
3
  import '../assets/MazInput.css';function re(b, y) {
4
4
  let t;
5
5
  return function(...r) {
@@ -8,13 +8,13 @@ import '../assets/MazInput.css';function re(b, y) {
8
8
  }, y);
9
9
  };
10
10
  }
11
- const ie = ["for"], se = {
11
+ const se = ["for"], ie = {
12
12
  key: 0,
13
13
  class: "m-input-wrapper-left"
14
14
  }, ue = ["id", "name", "placeholder", "aria-label", "type", "inputmode", "disabled", "readonly", "autocomplete", "required"], de = { key: 0 }, fe = {
15
15
  key: 1,
16
16
  class: "m-input-wrapper-right"
17
- }, pe = /* @__PURE__ */ W({
17
+ }, me = /* @__PURE__ */ W({
18
18
  inheritAttrs: !1,
19
19
  __name: "MazInput",
20
20
  props: {
@@ -55,7 +55,7 @@ const ie = ["for"], se = {
55
55
  },
56
56
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
57
57
  setup(b, { emit: y }) {
58
- const t = b, r = y, w = f(() => import("./MazBtn-DAXwt847.mjs")), B = f(() => import("./MazIcon-_hN-Kivn.mjs")), T = f(() => import("./eye-slash-BoO00xzs.mjs")), q = f(() => import("./eye-f8zAUc30.mjs")), D = f(() => import("./MazChecklist-Bb_70sf5.mjs").then((e) => e.c)), m = h(!1), d = h(!1), $ = h(), C = ne({
58
+ const t = b, r = y, w = f(() => import("./MazBtn-v4i4k53h.mjs")), B = f(() => import("./MazIcon-Cq1v4J3r.mjs")), T = f(() => import("./eye-slash-BoO00xzs.mjs")), q = f(() => import("./eye-f8zAUc30.mjs")), D = f(() => import("./MazChecklist-DSfD55m5.mjs").then((e) => e.c)), p = h(!1), d = h(!1), $ = h(), C = ne({
59
59
  componentName: "MazInput",
60
60
  providedId: t.id
61
61
  });
@@ -63,7 +63,7 @@ const ie = ["for"], se = {
63
63
  var e;
64
64
  t.autoFocus && ((e = $.value) == null || e.focus());
65
65
  });
66
- const V = i(() => t.type === "password"), E = i(() => m.value ? "text" : t.type), N = i(() => {
66
+ const V = s(() => t.type === "password"), E = s(() => p.value ? "text" : t.type), N = s(() => {
67
67
  if (!t.noBorder) {
68
68
  if (t.error)
69
69
  return "maz-border-danger";
@@ -91,11 +91,11 @@ const ie = ["for"], se = {
91
91
  }
92
92
  return "--default-border";
93
93
  }
94
- }), z = Y(), P = i(() => {
94
+ }), z = Y(), P = s(() => {
95
95
  const { required: e, placeholder: n } = t;
96
96
  if (n)
97
97
  return e ? `${n} *` : n;
98
- }), A = i(() => c.value !== void 0 && c.value !== ""), F = re(
98
+ }), A = s(() => c.value !== void 0 && c.value !== ""), F = re(
99
99
  (e) => {
100
100
  r("update:model-value", e);
101
101
  },
@@ -106,10 +106,10 @@ const ie = ["for"], se = {
106
106
  return F(e);
107
107
  r("update:model-value", e);
108
108
  }
109
- const c = i({
109
+ const c = s({
110
110
  get: () => t.modelValue,
111
111
  set: (e) => O(e)
112
- }), R = i(() => (!!t.label || !!t.hint) && (d.value || !!A.value || !!t.placeholder || ["date", "month", "week"].includes(t.type))), U = i(() => !!t.label || !!t.hint);
112
+ }), R = s(() => (!!t.label || !!t.hint) && (d.value || !!A.value || !!t.placeholder || ["date", "month", "week"].includes(t.type))), U = s(() => !!t.label || !!t.hint);
113
113
  function j() {
114
114
  return !!z["right-icon"] || V.value || !!z["valid-button"] || t.validButton || !!t.rightIcon;
115
115
  }
@@ -128,10 +128,10 @@ const ie = ["for"], se = {
128
128
  function Q(e) {
129
129
  return r("input", e);
130
130
  }
131
- return (e, n) => (o(), s(
131
+ return (e, n) => (o(), i(
132
132
  "div",
133
133
  {
134
- class: p(["m-input", [
134
+ class: m(["m-input", [
135
135
  {
136
136
  "--is-focused": d.value || e.borderActive,
137
137
  "--should-up": R.value,
@@ -148,15 +148,15 @@ const ie = ["for"], se = {
148
148
  style: Z(e.style)
149
149
  },
150
150
  [
151
- e.topLabel ? (o(), s("label", {
151
+ e.topLabel ? (o(), i("label", {
152
152
  key: 0,
153
153
  for: l(C),
154
154
  class: "m-input-top-label"
155
- }, g(e.topLabel), 9, ie)) : a("v-if", !0),
155
+ }, g(e.topLabel), 9, se)) : a("v-if", !0),
156
156
  k(
157
157
  "div",
158
158
  {
159
- class: p(["m-input-wrapper", [
159
+ class: m(["m-input-wrapper m-reset-css", [
160
160
  e.inputClasses,
161
161
  N.value,
162
162
  e.roundedSize ? `--rounded-${e.roundedSize}` : { "maz-rounded": !e.noRadius },
@@ -164,7 +164,7 @@ const ie = ["for"], se = {
164
164
  ]])
165
165
  },
166
166
  [
167
- H() ? (o(), s("div", se, [
167
+ H() ? (o(), i("div", ie, [
168
168
  e.$slots["left-icon"] || e.leftIcon ? I(e.$slots, "left-icon", { key: 0 }, () => [
169
169
  typeof e.leftIcon == "string" ? (o(), u(l(B), {
170
170
  key: 0,
@@ -179,7 +179,7 @@ const ie = ["for"], se = {
179
179
  k(
180
180
  "div",
181
181
  {
182
- class: p(["m-input-wrapper-input", [`--${e.size}`, { "--top-label": !!e.topLabel }]])
182
+ class: m(["m-input-wrapper-input", [`--${e.size}`, { "--top-label": !!e.topLabel }]])
183
183
  },
184
184
  [
185
185
  x(k("input", _({ id: l(C) }, e.$attrs, {
@@ -206,11 +206,11 @@ const ie = ["for"], se = {
206
206
  }), null, 16, ue), [
207
207
  [te, c.value]
208
208
  ]),
209
- e.label || e.hint ? (o(), s(
209
+ e.label || e.hint ? (o(), i(
210
210
  "span",
211
211
  {
212
212
  key: 0,
213
- class: p(["m-input-label", [
213
+ class: m(["m-input-label", [
214
214
  {
215
215
  "maz-text-danger-600": e.error,
216
216
  "maz-text-success-600": e.success,
@@ -224,7 +224,7 @@ const ie = ["for"], se = {
224
224
  1
225
225
  /* TEXT */
226
226
  ),
227
- e.required ? (o(), s("sup", de, "*")) : a("v-if", !0)
227
+ e.required ? (o(), i("sup", de, "*")) : a("v-if", !0)
228
228
  ],
229
229
  2
230
230
  /* CLASS */
@@ -233,7 +233,7 @@ const ie = ["for"], se = {
233
233
  2
234
234
  /* CLASS */
235
235
  ),
236
- j() ? (o(), s("div", fe, [
236
+ j() ? (o(), i("div", fe, [
237
237
  e.$slots["right-icon"] || e.rightIcon ? I(e.$slots, "right-icon", { key: 0 }, () => [
238
238
  typeof e.rightIcon == "string" ? (o(), u(l(B), {
239
239
  key: 0,
@@ -249,10 +249,10 @@ const ie = ["for"], se = {
249
249
  color: "transparent",
250
250
  tabindex: "-1",
251
251
  size: "mini",
252
- onClick: n[2] || (n[2] = ae((v) => m.value = !m.value, ["stop"]))
252
+ onClick: n[2] || (n[2] = ae((v) => p.value = !p.value, ["stop"]))
253
253
  }, {
254
254
  default: L(() => [
255
- m.value ? (o(), u(l(T), {
255
+ p.value ? (o(), u(l(T), {
256
256
  key: 0,
257
257
  class: "maz-text-xl maz-text-muted"
258
258
  })) : (o(), u(l(q), {
@@ -285,11 +285,11 @@ const ie = ["for"], se = {
285
285
  2
286
286
  /* CLASS */
287
287
  ),
288
- e.assistiveText ? (o(), s(
288
+ e.assistiveText ? (o(), i(
289
289
  "div",
290
290
  {
291
291
  key: 1,
292
- class: p(["m-input-bottom-text", [
292
+ class: m(["m-input-bottom-text", [
293
293
  {
294
294
  "maz-text-danger-600": e.error,
295
295
  "maz-text-success-600": e.success,
@@ -307,7 +307,7 @@ const ie = ["for"], se = {
307
307
  /* CLASS, STYLE */
308
308
  ));
309
309
  }
310
- }), ve = /* @__PURE__ */ le(pe, [["__scopeId", "data-v-1443c13f"]]);
310
+ }), ve = /* @__PURE__ */ le(me, [["__scopeId", "data-v-04e832e5"]]);
311
311
  export {
312
312
  ve as default
313
313
  };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as W, defineAsyncComponent as f, ref as h, onMounted as X, computed as i, useSlots as Y, openBlock as o, createElementBlock as s, normalizeClass as m, normalizeStyle as Z, unref as l, toDisplayString as g, createCommentVNode as a, createElementVNode as k, renderSlot as I, createBlock as u, resolveDynamicComponent as S, withDirectives as x, mergeProps as _, toHandlers as ee, vModelDynamic as te, createTextVNode as oe, withModifiers as ae, withCtx as L, createVNode as M } from "vue";
2
2
  import { u as ne } from "./useInstanceUniqId-BkOfxhk8.mjs";
3
- import { _ as le } from "./MazTable-BU3Hluiu.mjs";
3
+ import { _ as le } from "./MazTable-Soe-MrTW.mjs";
4
4
  import '../assets/MazInput.css';function re(b, y) {
5
5
  let t;
6
6
  return function(...r) {
@@ -56,7 +56,7 @@ const ie = ["for"], se = {
56
56
  },
57
57
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
58
58
  setup(b, { emit: y }) {
59
- const t = b, r = y, w = f(() => import("./MazBtn-DOWVQgpN.mjs")), B = f(() => import("./MazIcon-C-aPrqx2.mjs")), T = f(() => import("./eye-slash-BoO00xzs.mjs")), q = f(() => import("./eye-f8zAUc30.mjs")), D = f(() => import("./check-C9Q_W85g.mjs")), p = h(!1), d = h(!1), $ = h(), C = ne({
59
+ const t = b, r = y, w = f(() => import("./MazBtn-Cf-LPT5p.mjs")), B = f(() => import("./MazIcon-DQXhsxp8.mjs")), T = f(() => import("./eye-slash-BoO00xzs.mjs")), q = f(() => import("./eye-f8zAUc30.mjs")), D = f(() => import("./check-C9Q_W85g.mjs")), p = h(!1), d = h(!1), $ = h(), C = ne({
60
60
  componentName: "MazInput",
61
61
  providedId: t.id
62
62
  });
@@ -157,7 +157,7 @@ const ie = ["for"], se = {
157
157
  k(
158
158
  "div",
159
159
  {
160
- class: m(["m-input-wrapper", [
160
+ class: m(["m-input-wrapper m-reset-css", [
161
161
  e.inputClasses,
162
162
  N.value,
163
163
  e.roundedSize ? `--rounded-${e.roundedSize}` : { "maz-rounded": !e.noRadius },
@@ -308,7 +308,7 @@ const ie = ["for"], se = {
308
308
  /* CLASS, STYLE */
309
309
  ));
310
310
  }
311
- }), be = /* @__PURE__ */ le(me, [["__scopeId", "data-v-1443c13f"]]);
311
+ }), be = /* @__PURE__ */ le(me, [["__scopeId", "data-v-04e832e5"]]);
312
312
  export {
313
313
  be as default
314
314
  };
@@ -1,4 +1,4 @@
1
- import { computed as s, useId as W, defineComponent as X, defineAsyncComponent as p, ref as g, onMounted as Y, useSlots as Z, openBlock as o, createElementBlock as d, normalizeClass as m, normalizeStyle as x, unref as r, toDisplayString as k, createCommentVNode as a, createElementVNode as I, renderSlot as w, createBlock as f, resolveDynamicComponent as S, withDirectives as _, mergeProps as ee, toHandlers as te, vModelDynamic as oe, createTextVNode as ae, withModifiers as ne, withCtx as M, createVNode as L } from "vue";
1
+ import { computed as s, useId as W, defineComponent as X, defineAsyncComponent as p, ref as g, onMounted as Y, useSlots as Z, openBlock as o, createElementBlock as d, normalizeClass as m, normalizeStyle as x, unref as r, toDisplayString as k, createCommentVNode as a, createElementVNode as I, renderSlot as w, createBlock as c, resolveDynamicComponent as S, withDirectives as _, mergeProps as ee, toHandlers as te, vModelDynamic as oe, createTextVNode as ae, withModifiers as ne, withCtx as M, createVNode as L } from "vue";
2
2
  import '../assets/MazInput.css';function le({
3
3
  componentName: i,
4
4
  providedId: u
@@ -16,10 +16,10 @@ function re(i, u) {
16
16
  const se = ["for"], ie = {
17
17
  key: 0,
18
18
  class: "m-input-wrapper-left"
19
- }, ue = ["id", "name", "placeholder", "aria-label", "type", "inputmode", "disabled", "readonly", "autocomplete", "required"], de = { key: 0 }, fe = {
19
+ }, ue = ["id", "name", "placeholder", "aria-label", "type", "inputmode", "disabled", "readonly", "autocomplete", "required"], de = { key: 0 }, ce = {
20
20
  key: 1,
21
21
  class: "m-input-wrapper-right"
22
- }, ce = /* @__PURE__ */ X({
22
+ }, fe = /* @__PURE__ */ X({
23
23
  inheritAttrs: !1,
24
24
  __name: "MazInput",
25
25
  props: {
@@ -60,7 +60,7 @@ const se = ["for"], ie = {
60
60
  },
61
61
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
62
62
  setup(i, { emit: u }) {
63
- const t = i, n = u, v = p(() => import("./MazBtn-DZaVjTvW.mjs")), B = p(() => import("./MazIcon-_hN-Kivn.mjs")), T = p(() => import("./eye-slash-BoO00xzs.mjs")), q = p(() => import("./eye-f8zAUc30.mjs")), D = p(() => import("./check-BmubdHc_.mjs")), b = g(!1), c = g(!1), $ = g(), C = le({
63
+ const t = i, n = u, v = p(() => import("./MazBtn-S7EnZYtZ.mjs")), B = p(() => import("./MazIcon-Cq1v4J3r.mjs")), T = p(() => import("./eye-slash-BoO00xzs.mjs")), q = p(() => import("./eye-f8zAUc30.mjs")), D = p(() => import("./check-BmubdHc_.mjs")), b = g(!1), f = g(!1), $ = g(), C = le({
64
64
  componentName: "MazInput",
65
65
  providedId: t.id
66
66
  });
@@ -76,7 +76,7 @@ const se = ["for"], ie = {
76
76
  return "maz-border-success";
77
77
  if (t.warning)
78
78
  return "maz-border-warning";
79
- if (c.value || t.borderActive) {
79
+ if (f.value || t.borderActive) {
80
80
  if (t.color === "black")
81
81
  return "maz-border-black";
82
82
  if (t.color === "danger")
@@ -114,7 +114,7 @@ const se = ["for"], ie = {
114
114
  const y = s({
115
115
  get: () => t.modelValue,
116
116
  set: (e) => O(e)
117
- }), R = s(() => (!!t.label || !!t.hint) && (c.value || !!A.value || !!t.placeholder || ["date", "month", "week"].includes(t.type))), U = s(() => !!t.label || !!t.hint);
117
+ }), R = s(() => (!!t.label || !!t.hint) && (f.value || !!A.value || !!t.placeholder || ["date", "month", "week"].includes(t.type))), U = s(() => !!t.label || !!t.hint);
118
118
  function j() {
119
119
  return !!h["right-icon"] || V.value || !!h["valid-button"] || t.validButton || !!t.rightIcon;
120
120
  }
@@ -122,10 +122,10 @@ const se = ["for"], ie = {
122
122
  return !!h["left-icon"] || !!t.leftIcon;
123
123
  }
124
124
  function G(e) {
125
- n("focus", e), c.value = !0;
125
+ n("focus", e), f.value = !0;
126
126
  }
127
127
  function J(e) {
128
- n("blur", e), c.value = !1;
128
+ n("blur", e), f.value = !1;
129
129
  }
130
130
  function K(e) {
131
131
  return n("change", e);
@@ -138,7 +138,7 @@ const se = ["for"], ie = {
138
138
  {
139
139
  class: m(["m-input", [
140
140
  {
141
- "--is-focused": c.value || e.borderActive,
141
+ "--is-focused": f.value || e.borderActive,
142
142
  "--should-up": R.value,
143
143
  "--has-label": U.value,
144
144
  "--is-disabled": e.disabled,
@@ -161,7 +161,7 @@ const se = ["for"], ie = {
161
161
  I(
162
162
  "div",
163
163
  {
164
- class: m(["m-input-wrapper", [
164
+ class: m(["m-input-wrapper m-reset-css", [
165
165
  e.inputClasses,
166
166
  N.value,
167
167
  e.roundedSize ? `--rounded-${e.roundedSize}` : { "maz-rounded": !e.noRadius },
@@ -171,11 +171,11 @@ const se = ["for"], ie = {
171
171
  [
172
172
  H() ? (o(), d("div", ie, [
173
173
  e.$slots["left-icon"] || e.leftIcon ? w(e.$slots, "left-icon", { key: 0 }, () => [
174
- typeof e.leftIcon == "string" ? (o(), f(r(B), {
174
+ typeof e.leftIcon == "string" ? (o(), c(r(B), {
175
175
  key: 0,
176
176
  name: e.leftIcon,
177
177
  class: "maz-text-xl maz-text-muted"
178
- }, null, 8, ["name"])) : e.leftIcon ? (o(), f(S(e.leftIcon), {
178
+ }, null, 8, ["name"])) : e.leftIcon ? (o(), c(S(e.leftIcon), {
179
179
  key: 1,
180
180
  class: "maz-text-xl maz-text-muted"
181
181
  })) : a("v-if", !0)
@@ -238,18 +238,18 @@ const se = ["for"], ie = {
238
238
  2
239
239
  /* CLASS */
240
240
  ),
241
- j() ? (o(), d("div", fe, [
241
+ j() ? (o(), d("div", ce, [
242
242
  e.$slots["right-icon"] || e.rightIcon ? w(e.$slots, "right-icon", { key: 0 }, () => [
243
- typeof e.rightIcon == "string" ? (o(), f(r(B), {
243
+ typeof e.rightIcon == "string" ? (o(), c(r(B), {
244
244
  key: 0,
245
245
  name: e.rightIcon,
246
246
  class: "maz-text-xl maz-text-muted"
247
- }, null, 8, ["name"])) : e.rightIcon ? (o(), f(S(e.rightIcon), {
247
+ }, null, 8, ["name"])) : e.rightIcon ? (o(), c(S(e.rightIcon), {
248
248
  key: 1,
249
249
  class: "maz-text-xl maz-text-muted"
250
250
  })) : a("v-if", !0)
251
251
  ], !0) : a("v-if", !0),
252
- V.value ? (o(), f(r(v), {
252
+ V.value ? (o(), c(r(v), {
253
253
  key: 1,
254
254
  color: "transparent",
255
255
  tabindex: "-1",
@@ -257,10 +257,10 @@ const se = ["for"], ie = {
257
257
  onClick: l[2] || (l[2] = ne((z) => b.value = !b.value, ["stop"]))
258
258
  }, {
259
259
  default: M(() => [
260
- b.value ? (o(), f(r(T), {
260
+ b.value ? (o(), c(r(T), {
261
261
  key: 0,
262
262
  class: "maz-text-xl maz-text-muted"
263
- })) : (o(), f(r(q), {
263
+ })) : (o(), c(r(q), {
264
264
  key: 1,
265
265
  class: "maz-text-xl maz-text-muted"
266
266
  }))
@@ -317,7 +317,7 @@ const se = ["for"], ie = {
317
317
  for (const [n, v] of u)
318
318
  t[n] = v;
319
319
  return t;
320
- }, ve = /* @__PURE__ */ pe(ce, [["__scopeId", "data-v-1443c13f"]]);
320
+ }, ve = /* @__PURE__ */ pe(fe, [["__scopeId", "data-v-04e832e5"]]);
321
321
  export {
322
322
  ve as M,
323
323
  pe as _