maz-ui 3.23.5 → 3.25.0

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 (253) hide show
  1. package/components/MazAvatar.d.ts +11 -0
  2. package/components/MazAvatar.mjs +1 -1
  3. package/components/MazBackdrop.mjs +23 -24
  4. package/components/MazBadge.mjs +1 -2
  5. package/components/MazBottomSheet.mjs +1 -1
  6. package/components/MazBtn.d.ts +3 -3
  7. package/components/MazBtn.mjs +1 -1
  8. package/components/MazCard.d.ts +39 -3
  9. package/components/MazCard.mjs +1 -1
  10. package/components/MazCarousel.mjs +1 -1
  11. package/components/MazCheckbox.d.ts +18 -0
  12. package/components/MazCheckbox.mjs +49 -40
  13. package/components/MazDialog.mjs +1 -1
  14. package/components/MazDialogPromise.d.ts +6 -6
  15. package/components/MazDialogPromise.mjs +1 -1
  16. package/components/MazDrawer.d.ts +1 -3
  17. package/components/MazDrawer.mjs +1 -1
  18. package/components/MazDropdown.d.ts +25 -1
  19. package/components/MazDropdown.mjs +237 -2
  20. package/components/MazDropzone.mjs +1 -1
  21. package/components/MazFullscreenLoader.mjs +1 -1
  22. package/components/MazGallery.mjs +14 -15
  23. package/components/MazInput.d.ts +7 -7
  24. package/components/MazInput.mjs +1 -1
  25. package/components/MazInputNumber.d.ts +18 -0
  26. package/components/MazInputNumber.mjs +36 -26
  27. package/components/MazInputPrice.mjs +1 -1
  28. package/components/MazInputTags.d.ts +33 -0
  29. package/components/MazInputTags.mjs +1 -1
  30. package/components/MazLazyImg.d.ts +49 -13
  31. package/components/MazLazyImg.mjs +1 -1
  32. package/components/MazPhoneNumberInput.d.ts +7 -7
  33. package/components/MazPhoneNumberInput.mjs +1 -1
  34. package/components/MazPicker.d.ts +19 -10
  35. package/components/MazPicker.mjs +1 -1
  36. package/components/MazRadio.d.ts +18 -0
  37. package/components/MazRadio.mjs +30 -22
  38. package/components/MazRadioButtons.mjs +50 -40
  39. package/components/MazSelect.d.ts +7 -7
  40. package/components/MazSelect.mjs +1 -1
  41. package/components/MazSlider.d.ts +18 -0
  42. package/components/MazSlider.mjs +29 -30
  43. package/components/MazSpinner.mjs +10 -11
  44. package/components/MazStepper.mjs +1 -1
  45. package/components/MazSwitch.d.ts +18 -0
  46. package/components/MazSwitch.mjs +39 -29
  47. package/components/MazTabsBar.mjs +1 -1
  48. package/components/MazTabsContentItem.mjs +13 -14
  49. package/components/MazTextarea.d.ts +7 -7
  50. package/components/MazTextarea.mjs +64 -59
  51. package/components/MazTransitionExpand.mjs +10 -11
  52. package/components/assets/MazAvatar.css +1 -1
  53. package/components/assets/MazBottomSheet.css +1 -1
  54. package/components/assets/MazBtn.css +1 -1
  55. package/components/assets/MazCard.css +1 -1
  56. package/components/assets/MazCheckbox.css +1 -1
  57. package/components/assets/MazDropdown.css +1 -1
  58. package/components/assets/MazInput.css +1 -1
  59. package/components/assets/MazInputPrice.css +1 -1
  60. package/components/assets/MazInputTags.css +1 -1
  61. package/components/assets/MazLazyImg.css +1 -1
  62. package/components/assets/MazPhoneNumberInput.css +1 -1
  63. package/components/assets/MazPicker.css +1 -1
  64. package/components/assets/MazPickerCalendar.css +1 -1
  65. package/components/assets/MazRadio.css +1 -1
  66. package/components/assets/MazRadioButtons.css +1 -1
  67. package/components/assets/MazSelect.css +1 -1
  68. package/components/assets/MazSlider.css +1 -1
  69. package/components/assets/MazSwitch.css +1 -1
  70. package/components/assets/MazTextarea.css +1 -1
  71. package/components/chunks/MazAvatar-DLrG3tJX.mjs +126 -0
  72. package/components/chunks/{MazBottomSheet-c24f92f8.mjs → MazBottomSheet-xBiP2XHS.mjs} +76 -84
  73. package/{modules/chunks/MazBtn-760c3b29.mjs → components/chunks/MazBtn-0I3mOlOJ.mjs} +31 -32
  74. package/components/chunks/{MazBtn-5e426592.mjs → MazBtn-0YS6N_nF.mjs} +31 -32
  75. package/components/chunks/{MazBtn-124f3700.mjs → MazBtn-5DR4iQnT.mjs} +31 -32
  76. package/components/chunks/{MazBtn-1e61862b.mjs → MazBtn-8jL2kd1s.mjs} +31 -32
  77. package/components/chunks/MazBtn-JxVNeBVQ.mjs +152 -0
  78. package/components/chunks/MazBtn-MFxzrbrk.mjs +152 -0
  79. package/components/chunks/MazBtn-NKLCh3K0.mjs +152 -0
  80. package/components/chunks/MazBtn-Qa9DSsQk.mjs +152 -0
  81. package/components/chunks/{MazBtn-7706b2da.mjs → MazBtn-SmJwJsv2.mjs} +31 -29
  82. package/components/chunks/MazBtn-V4TdQPvz.mjs +152 -0
  83. package/components/chunks/MazBtn-V74h4t6N.mjs +152 -0
  84. package/components/chunks/MazBtn-VJ6PjVgq.mjs +152 -0
  85. package/components/chunks/MazBtn-kRBdtnQp.mjs +152 -0
  86. package/components/chunks/{MazBtn-2d1d1ba5.mjs → MazBtn-qSZOL-5_.mjs} +38 -34
  87. package/components/chunks/MazBtn-y1-B6bAs.mjs +152 -0
  88. package/components/chunks/{MazCard-bcc36489.mjs → MazCard-kNaVJd_g.mjs} +53 -47
  89. package/components/chunks/{MazCarousel-6da75122.mjs → MazCarousel--9EpK5a7.mjs} +29 -30
  90. package/components/chunks/{MazCheckbox-3a2b48b4.mjs → MazCheckbox-PPOcnk4M.mjs} +45 -36
  91. package/components/chunks/{MazCheckbox-040dc2c4.mjs → MazCheckbox-jW6eRxo-.mjs} +45 -36
  92. package/components/chunks/{MazDialog-44eda544.mjs → MazDialog-VkT6NGk2.mjs} +56 -58
  93. package/components/chunks/{MazDialogPromise-eec5acde.mjs → MazDialogPromise-l3UFldnD.mjs} +48 -50
  94. package/components/chunks/{MazDrawer-b628b37e.mjs → MazDrawer-3F4gXWn3.mjs} +42 -42
  95. package/components/chunks/{MazDropzone-8cac10a6.mjs → MazDropzone-WoRcaxpi.mjs} +19 -20
  96. package/components/chunks/{MazGallery-6b8ecedf.mjs → MazGallery-FIb-5maS.mjs} +16 -17
  97. package/components/chunks/{MazIcon-95e31ff8.mjs → MazIcon-4RyBw86a.mjs} +1 -1
  98. package/components/chunks/{MazInput-8a217995.mjs → MazInput-lyYyjd1W.mjs} +50 -45
  99. package/components/chunks/{MazInput-c51881ea.mjs → MazInput-oM9uZwIu.mjs} +50 -45
  100. package/components/chunks/{MazInput-1ed4f946.mjs → MazInput-vkiBaJEe.mjs} +67 -62
  101. package/components/chunks/{MazInputPrice-cd348d46.mjs → MazInputPrice-fwxQeZD1.mjs} +105 -101
  102. package/components/chunks/MazInputTags-XEb86YGz.mjs +611 -0
  103. package/components/chunks/{MazLazyImg-0412ab38.mjs → MazLazyImg-2j5YjrWS.mjs} +39 -27
  104. package/components/chunks/{MazLazyImg-47d3449a.mjs → MazLazyImg-Xgq8fBgy.mjs} +104 -92
  105. package/components/chunks/{MazPhoneNumberInput-e1bf46f9.mjs → MazPhoneNumberInput--P0rJeR6.mjs} +334 -316
  106. package/components/chunks/{MazPicker-e4620d8b.mjs → MazPicker-slSJEmP_.mjs} +117 -110
  107. package/components/chunks/{MazPickerCalendar-da62262c.mjs → MazPickerCalendar-yj6G2tEp.mjs} +112 -117
  108. package/components/chunks/{MazPickerHeader-a2e041eb.mjs → MazPickerHeader-cQ_nEQow.mjs} +22 -23
  109. package/components/chunks/{MazPickerMonthSwitcher-5bf8bd08.mjs → MazPickerMonthSwitcher-FJDyP9k0.mjs} +24 -25
  110. package/components/chunks/{MazPickerShortcuts-7f95430e.mjs → MazPickerShortcuts-GXPMcMyz.mjs} +10 -11
  111. package/components/chunks/{MazPickerTime-717402ae.mjs → MazPickerTime-svtlbkGq.mjs} +31 -32
  112. package/components/chunks/{MazPickerYearSwitcher-85f97b6d.mjs → MazPickerYearSwitcher-hgwU_o5-.mjs} +21 -22
  113. package/components/chunks/{MazSelect-6ff6bb96.mjs → MazSelect-mFss30EN.mjs} +214 -204
  114. package/components/chunks/{MazSpinner-054f948c.mjs → MazSpinner--c2RrYFS.mjs} +10 -11
  115. package/{modules/chunks/MazSpinner-03bd76bd.mjs → components/chunks/MazSpinner-0_bDB0ly.mjs} +10 -11
  116. package/components/chunks/{MazSpinner-6d1d24d5.mjs → MazSpinner-E1f0p5Od.mjs} +10 -11
  117. package/components/chunks/{MazSpinner-a6d61cee.mjs → MazSpinner-FtzF9BUn.mjs} +10 -11
  118. package/components/chunks/{MazSpinner-059ee1d2.mjs → MazSpinner-GCPS0yJL.mjs} +10 -11
  119. package/components/chunks/{MazSpinner-51aa73ca.mjs → MazSpinner-HxbToZa8.mjs} +10 -11
  120. package/components/chunks/{MazSpinner-d9ef329f.mjs → MazSpinner-IQQO8UPg.mjs} +10 -11
  121. package/components/chunks/MazSpinner-M2P_6vtf.mjs +38 -0
  122. package/components/chunks/MazSpinner-T09dmF-u.mjs +38 -0
  123. package/components/chunks/MazSpinner-_iylCUmE.mjs +38 -0
  124. package/components/chunks/MazSpinner-dusYVMdB.mjs +38 -0
  125. package/components/chunks/MazSpinner-e-wVuIa6.mjs +38 -0
  126. package/components/chunks/MazSpinner-hj4vBKGe.mjs +38 -0
  127. package/components/chunks/MazSpinner-jit3i4WQ.mjs +38 -0
  128. package/components/chunks/MazSpinner-nDXJSe-h.mjs +38 -0
  129. package/components/chunks/{MazSpinner-13403729.mjs → MazSpinner-o7NBR-qR.mjs} +10 -11
  130. package/components/chunks/MazSpinner-q4I09Hr8.mjs +38 -0
  131. package/components/chunks/MazSpinner-qHlsOW7F.mjs +38 -0
  132. package/components/chunks/MazSpinner-rOWjjtSq.mjs +38 -0
  133. package/components/chunks/MazSpinner-sSmqcl-q.mjs +38 -0
  134. package/components/chunks/{MazStepper-39f018f3.mjs → MazStepper-UXjd1Ryl.mjs} +16 -17
  135. package/components/chunks/{MazTabsBar-27965f16.mjs → MazTabsBar-WKO9upP5.mjs} +36 -37
  136. package/components/chunks/{MazTransitionExpand-cd24498f.mjs → MazTransitionExpand-SNjqjiCI.mjs} +9 -10
  137. package/components/chunks/{MazTransitionExpand-55cfbecb.mjs → MazTransitionExpand-k3LqGgNc.mjs} +9 -10
  138. package/components/chunks/no-photography-1qnDtpgo.mjs +4 -0
  139. package/css/main.css +1 -1
  140. package/modules/assets/MazBtn.css +1 -1
  141. package/modules/assets/index.css +1 -1
  142. package/modules/chunks/MazBtn-7fc6CaEx.cjs +1 -0
  143. package/modules/chunks/MazBtn-Dh9CWXCs.mjs +152 -0
  144. package/modules/chunks/{MazIcon-0bd6b78e.mjs → MazIcon-O2qhlLgd.mjs} +1 -1
  145. package/modules/chunks/{MazIcon-599a907f.cjs → MazIcon-rmruhJWI.cjs} +1 -1
  146. package/modules/chunks/{MazSpinner-6ffa8db1.cjs → MazSpinner-D_vmUW7o.cjs} +1 -1
  147. package/modules/chunks/MazSpinner-NY1ndqV7.mjs +38 -0
  148. package/modules/chunks/check-circle-eCAkFU82.mjs +30 -0
  149. package/modules/chunks/check-circle-il8LazeB.cjs +1 -0
  150. package/modules/chunks/exclamation-circle-ASB2qDRS.mjs +30 -0
  151. package/modules/chunks/exclamation-circle-s2sf_lGK.cjs +1 -0
  152. package/modules/chunks/exclamation-triangle-C9PjyHbK.cjs +1 -0
  153. package/modules/chunks/exclamation-triangle-Lkly8oW6.mjs +30 -0
  154. package/modules/chunks/index-4-P6-Fmb.cjs +124 -0
  155. package/modules/chunks/{index-6a90ef88.mjs → index-A4ZKAAN1.mjs} +601 -513
  156. package/modules/chunks/information-circle-8YPnkfv6.cjs +1 -0
  157. package/modules/chunks/information-circle-pRD3Ui0A.mjs +30 -0
  158. package/modules/chunks/no-photography-1qnDtpgo.mjs +4 -0
  159. package/modules/chunks/no-photography-AVNubSve.cjs +1 -0
  160. package/modules/index.cjs +1 -1
  161. package/modules/index.mjs +18 -17
  162. package/nuxt/index.d.mts +5 -0
  163. package/nuxt/index.d.ts +5 -0
  164. package/nuxt/index.json +1 -1
  165. package/nuxt/index.mjs +14 -0
  166. package/nuxt/runtime/plugins/maz-icon-path.mjs +2 -1
  167. package/package.json +5 -5
  168. package/tailwindcss/tailwind.config.ts +0 -1
  169. package/types/components/MazAvatar.vue.d.ts +11 -0
  170. package/types/components/MazBtn.vue.d.ts +3 -3
  171. package/types/components/MazCard.vue.d.ts +39 -3
  172. package/types/components/MazCheckbox.vue.d.ts +18 -0
  173. package/types/components/MazDialogPromise.vue.d.ts +6 -6
  174. package/types/components/MazDrawer.vue.d.ts +1 -3
  175. package/types/components/MazDropdown.vue.d.ts +25 -1
  176. package/types/components/MazInput.vue.d.ts +7 -7
  177. package/types/components/MazInputNumber.vue.d.ts +18 -0
  178. package/types/components/MazInputTags.vue.d.ts +33 -0
  179. package/types/components/MazLazyImg.vue.d.ts +49 -13
  180. package/types/components/MazPhoneNumberInput.vue.d.ts +7 -7
  181. package/types/components/MazPicker.vue.d.ts +19 -10
  182. package/types/components/MazRadio.vue.d.ts +18 -0
  183. package/types/components/MazSelect.vue.d.ts +7 -7
  184. package/types/components/MazSlider.vue.d.ts +18 -0
  185. package/types/components/MazSwitch.vue.d.ts +18 -0
  186. package/types/components/MazTextarea.vue.d.ts +7 -7
  187. package/types/modules/composables/index.d.ts +1 -0
  188. package/types/modules/composables/use-timer.d.ts +12 -0
  189. package/types/modules/plugins/aos/index.d.ts +12 -12
  190. package/types/modules/plugins/toaster/MazToast.vue.d.ts +6 -6
  191. package/types/modules/plugins/toaster/toaster-handler.d.ts +2 -1
  192. package/components/chunks/MazAvatar-1636f58b.mjs +0 -126
  193. package/components/chunks/MazBtn-3d74f737.mjs +0 -153
  194. package/components/chunks/MazBtn-4a447126.mjs +0 -153
  195. package/components/chunks/MazBtn-555928ed.mjs +0 -153
  196. package/components/chunks/MazBtn-571454f6.mjs +0 -153
  197. package/components/chunks/MazBtn-683effc1.mjs +0 -153
  198. package/components/chunks/MazBtn-6905cc39.mjs +0 -153
  199. package/components/chunks/MazBtn-6ce4cfd3.mjs +0 -153
  200. package/components/chunks/MazBtn-74656d5b.mjs +0 -153
  201. package/components/chunks/MazBtn-a7a913dd.mjs +0 -153
  202. package/components/chunks/MazBtn-fb3c7af8.mjs +0 -153
  203. package/components/chunks/MazDropdown-6f2248b0.mjs +0 -345
  204. package/components/chunks/MazInputTags-aa95fae7.mjs +0 -446
  205. package/components/chunks/MazSpinner-08ee440b.mjs +0 -39
  206. package/components/chunks/MazSpinner-44011019.mjs +0 -39
  207. package/components/chunks/MazSpinner-452a1534.mjs +0 -39
  208. package/components/chunks/MazSpinner-4c02cfd2.mjs +0 -39
  209. package/components/chunks/MazSpinner-6e7c4705.mjs +0 -39
  210. package/components/chunks/MazSpinner-7895f54f.mjs +0 -39
  211. package/components/chunks/MazSpinner-7eee202e.mjs +0 -39
  212. package/components/chunks/MazSpinner-805e14a6.mjs +0 -39
  213. package/components/chunks/MazSpinner-85080b43.mjs +0 -39
  214. package/components/chunks/MazSpinner-a13a50c9.mjs +0 -39
  215. package/components/chunks/MazSpinner-c67b05bb.mjs +0 -39
  216. package/components/chunks/MazSpinner-caa33afc.mjs +0 -39
  217. package/components/chunks/MazSpinner-cb8fbe9a.mjs +0 -39
  218. package/components/chunks/no-photography-4c6c77cf.mjs +0 -4
  219. package/modules/chunks/MazBtn-2f302422.cjs +0 -1
  220. package/modules/chunks/index-794680d2.cjs +0 -124
  221. package/modules/chunks/no-photography-0f6fcaf4.cjs +0 -1
  222. package/modules/chunks/no-photography-4c6c77cf.mjs +0 -4
  223. package/types/modules/plugins/toaster/timer.d.ts +0 -11
  224. /package/components/chunks/{MazIcon-52a76873.mjs → MazIcon-RrJDzX3V.mjs} +0 -0
  225. /package/components/chunks/{_plugin-vue_export-helper-dad06003.mjs → _plugin-vue_export-helper-hUChTQA_.mjs} +0 -0
  226. /package/components/chunks/{check-c9b483c0.mjs → check-JxWJRZYz.mjs} +0 -0
  227. /package/components/chunks/{check-31d7ba2f.mjs → check-_5Up9njX.mjs} +0 -0
  228. /package/components/chunks/{check-circle-59c383ed.mjs → check-circle-eCAkFU82.mjs} +0 -0
  229. /package/components/chunks/{chevron-down-2b60111a.mjs → chevron-down-bC0s_0yH.mjs} +0 -0
  230. /package/components/chunks/{chevron-left-39b4621e.mjs → chevron-left-48sF6neb.mjs} +0 -0
  231. /package/components/chunks/{chevron-right-949a60fa.mjs → chevron-right-VgbFQPBM.mjs} +0 -0
  232. /package/components/chunks/{debounce-19c516b6.mjs → debounce-fEgGlH7P.mjs} +0 -0
  233. /package/components/chunks/{examples.mobile.json-f63d22fb.mjs → examples.mobile.json-Q67ZfW9N.mjs} +0 -0
  234. /package/components/chunks/{exclamation-circle-e2620aab.mjs → exclamation-circle-ASB2qDRS.mjs} +0 -0
  235. /package/components/chunks/{exclamation-triangle-21bf116a.mjs → exclamation-triangle-Lkly8oW6.mjs} +0 -0
  236. /package/components/chunks/{eye-dc12ce09.mjs → eye-pViFfFPg.mjs} +0 -0
  237. /package/components/chunks/{eye-slash-fa42a017.mjs → eye-slash-TZFFP7DG.mjs} +0 -0
  238. /package/components/chunks/{magnifying-glass-908981c0.mjs → magnifying-glass-I3cyEYZv.mjs} +0 -0
  239. /package/components/chunks/{minus-e71140e1.mjs → minus-thGpw2GG.mjs} +0 -0
  240. /package/components/chunks/{no-photography-be94ddda.mjs → no-photography-luQMdijk.mjs} +0 -0
  241. /package/components/chunks/{no-symbol-87477ad0.mjs → no-symbol-JnXtUaU-.mjs} +0 -0
  242. /package/components/chunks/{pencil-4c35b4e7.mjs → pencil-RFgfooj4.mjs} +0 -0
  243. /package/components/chunks/{plus-c20544c3.mjs → plus-02mftP8S.mjs} +0 -0
  244. /package/components/chunks/{x-mark-7761acf4.mjs → x-mark-d7yqulTI.mjs} +0 -0
  245. /package/components/chunks/{x-mark-35f2f1e7.mjs → x-mark-pPwcH6Hz.mjs} +0 -0
  246. /package/modules/chunks/{arrow-top-right-on-square-15191934.mjs → arrow-top-right-on-square-JGWhrxDH.mjs} +0 -0
  247. /package/modules/chunks/{arrow-top-right-on-square-8e4ea6e2.cjs → arrow-top-right-on-square-jZfbSH7Z.cjs} +0 -0
  248. /package/modules/chunks/{chevron-left-39b4621e.mjs → chevron-left-48sF6neb.mjs} +0 -0
  249. /package/modules/chunks/{chevron-left-36731110.cjs → chevron-left-8yB0sLIf.cjs} +0 -0
  250. /package/modules/chunks/{link-c7791a2a.cjs → link-3xy7UuBg.cjs} +0 -0
  251. /package/modules/chunks/{link-bb14441d.mjs → link-CVsbXQMi.mjs} +0 -0
  252. /package/modules/chunks/{x-mark-a28deca5.cjs → x-mark-SZLMLvjQ.cjs} +0 -0
  253. /package/modules/chunks/{x-mark-35f2f1e7.mjs → x-mark-pPwcH6Hz.mjs} +0 -0
@@ -62,6 +62,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
62
62
  type: PropType<Color>;
63
63
  default: string;
64
64
  };
65
+ /** Remove the icon on hover when component is clickable */
66
+ noClickableIcon: {
67
+ type: BooleanConstructor;
68
+ default: boolean;
69
+ };
65
70
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
66
71
  click: (...args: any[]) => void;
67
72
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -125,6 +130,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
125
130
  type: PropType<Color>;
126
131
  default: string;
127
132
  };
133
+ /** Remove the icon on hover when component is clickable */
134
+ noClickableIcon: {
135
+ type: BooleanConstructor;
136
+ default: boolean;
137
+ };
128
138
  }>> & {
129
139
  onClick?: ((...args: any[]) => any) | undefined;
130
140
  }, {
@@ -143,6 +153,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
143
153
  square: boolean;
144
154
  showCaption: boolean;
145
155
  buttonColor: Color;
156
+ noClickableIcon: boolean;
146
157
  }, {}>, {
147
158
  "round-text"?(_: {}): any;
148
159
  icon?(_: {}): any;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazAvatar-1636f58b.mjs";
1
+ import { M as f } from "./chunks/MazAvatar-DLrG3tJX.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,10 +1,10 @@
1
1
  import "./assets/MazBackdrop.css";
2
- import { defineComponent as y, ref as b, onMounted as C, watch as E, openBlock as m, createBlock as B, Teleport as A, createVNode as _, Transition as g, withCtx as L, createElementBlock as S, normalizeClass as p, createElementVNode as f, withModifiers as M, mergeProps as O, renderSlot as V, createCommentVNode as D } from "vue";
3
- const k = "--backdrop-present", N = () => {
2
+ import { defineComponent as v, ref as y, onMounted as C, watch as E, openBlock as u, createBlock as A, Teleport as B, createVNode as L, Transition as S, withCtx as g, createElementBlock as O, normalizeClass as p, createElementVNode as f, withModifiers as V, mergeProps as D, renderSlot as N, createCommentVNode as $ } from "vue";
3
+ const k = "--backdrop-present", M = () => {
4
4
  document.documentElement.classList.add(k);
5
- }, $ = async () => {
5
+ }, P = async () => {
6
6
  document.querySelector(".m-backdrop.--present") || document.documentElement.classList.remove(k);
7
- }, P = y({
7
+ }, T = v({
8
8
  inheritAttrs: !1,
9
9
  props: {
10
10
  modelValue: { type: Boolean, default: !1 },
@@ -25,23 +25,23 @@ const k = "--backdrop-present", N = () => {
25
25
  },
26
26
  emits: ["open", "before-close", "close", "update:model-value"],
27
27
  setup(e, { emit: o }) {
28
- const t = b(e.modelValue), a = () => {
28
+ const t = y(e.modelValue), a = () => {
29
29
  s(!1);
30
30
  }, s = async (n) => {
31
- var u;
32
- n || (o("before-close"), await ((u = e.beforeClose) == null ? void 0 : u.call(e))), t.value = n;
31
+ var m;
32
+ n || (o("before-close"), await ((m = e.beforeClose) == null ? void 0 : m.call(e))), t.value = n;
33
33
  }, c = () => {
34
34
  o("open");
35
35
  }, r = () => {
36
36
  o("update:model-value", !1), o("close"), d();
37
- }, v = () => {
37
+ }, b = () => {
38
38
  e.persistent || a();
39
39
  }, l = (n) => {
40
40
  !e.noCloseOnEscKey && n.key === "Escape" && !e.persistent && a();
41
41
  }, i = () => {
42
- N(), document.addEventListener("keyup", l, !1);
42
+ M(), document.addEventListener("keyup", l, !1);
43
43
  }, d = () => {
44
- document.removeEventListener("keyup", l), $();
44
+ document.removeEventListener("keyup", l), P();
45
45
  };
46
46
  return C(() => {
47
47
  e.modelValue ? i() : d();
@@ -53,30 +53,29 @@ const k = "--backdrop-present", N = () => {
53
53
  ), {
54
54
  onBackdropAnimationEnter: c,
55
55
  onBackdropAnimationLeave: r,
56
- onBackdropClicked: v,
56
+ onBackdropClicked: b,
57
57
  close: a,
58
58
  present: t,
59
59
  toggleModal: s,
60
60
  onKeyPress: l
61
61
  };
62
62
  }
63
- });
64
- const T = (e, o) => {
63
+ }), w = (e, o) => {
65
64
  const t = e.__vccOpts || e;
66
65
  for (const [a, s] of o)
67
66
  t[a] = s;
68
67
  return t;
69
68
  };
70
- function w(e, o, t, a, s, c) {
71
- return m(), B(A, { to: e.teleportSelector }, [
72
- _(g, {
69
+ function h(e, o, t, a, s, c) {
70
+ return u(), A(B, { to: e.teleportSelector }, [
71
+ L(S, {
73
72
  appear: "",
74
73
  name: e.transitionName,
75
74
  onAfterEnter: e.onBackdropAnimationEnter,
76
75
  onAfterLeave: e.onBackdropAnimationLeave
77
76
  }, {
78
- default: L(() => [
79
- e.present ? (m(), S(
77
+ default: g(() => [
78
+ e.present ? (u(), O(
80
79
  "div",
81
80
  {
82
81
  key: 0,
@@ -90,7 +89,7 @@ function w(e, o, t, a, s, c) {
90
89
  {
91
90
  class: p(["m-backdrop-overlay", { "--disabled": e.persistent }]),
92
91
  tabindex: "-1",
93
- onClick: o[0] || (o[0] = M((...r) => e.onBackdropClicked && e.onBackdropClicked(...r), ["self"]))
92
+ onClick: o[0] || (o[0] = V((...r) => e.onBackdropClicked && e.onBackdropClicked(...r), ["self"]))
94
93
  },
95
94
  null,
96
95
  2
@@ -98,14 +97,14 @@ function w(e, o, t, a, s, c) {
98
97
  ),
99
98
  f(
100
99
  "div",
101
- O({
100
+ D({
102
101
  class: ["m-backdrop-content", e.backdropContentClass]
103
102
  }, e.$attrs, {
104
103
  role: "document",
105
104
  tabindex: "0"
106
105
  }),
107
106
  [
108
- V(e.$slots, "default", { close: e.close })
107
+ N(e.$slots, "default", { close: e.close })
109
108
  ],
110
109
  16
111
110
  /* FULL_PROPS */
@@ -113,14 +112,14 @@ function w(e, o, t, a, s, c) {
113
112
  ],
114
113
  2
115
114
  /* CLASS */
116
- )) : D("v-if", !0)
115
+ )) : $("v-if", !0)
117
116
  ]),
118
117
  _: 3
119
118
  /* FORWARDED */
120
119
  }, 8, ["name", "onAfterEnter", "onAfterLeave"])
121
120
  ], 8, ["to"]);
122
121
  }
123
- const K = /* @__PURE__ */ T(P, [["render", w]]);
122
+ const z = /* @__PURE__ */ w(T, [["render", h]]);
124
123
  export {
125
- K as default
124
+ z as default
126
125
  };
@@ -46,8 +46,7 @@ const c = /* @__PURE__ */ o({
46
46
  /* CLASS, STYLE */
47
47
  ));
48
48
  }
49
- });
50
- const f = (e, t) => {
49
+ }), f = (e, t) => {
51
50
  const a = e.__vccOpts || e;
52
51
  for (const [n, l] of t)
53
52
  a[n] = l;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBottomSheet-c24f92f8.mjs";
1
+ import { M as f } from "./chunks/MazBottomSheet-xBiP2XHS.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -3,7 +3,7 @@ import type { Color, Size } from './types';
3
3
  export type { Color, Size };
4
4
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
5
  variant: {
6
- type: StringConstructor;
6
+ type: PropType<"button" | "link">;
7
7
  default: string;
8
8
  validator: (value: string) => boolean;
9
9
  };
@@ -83,7 +83,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
83
83
  };
84
84
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
85
85
  variant: {
86
- type: StringConstructor;
86
+ type: PropType<"button" | "link">;
87
87
  default: string;
88
88
  validator: (value: string) => boolean;
89
89
  };
@@ -166,7 +166,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
166
166
  color: Color;
167
167
  type: "button" | "submit" | "reset";
168
168
  disabled: boolean;
169
- variant: string;
169
+ variant: "button" | "link";
170
170
  rounded: boolean;
171
171
  noRounded: boolean;
172
172
  outline: boolean;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazBtn-7706b2da.mjs";
1
+ import { M as f } from "./chunks/MazBtn-qSZOL-5_.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -2,157 +2,193 @@ import { type PropType } from 'vue';
2
2
  import type { MazGalleryImage } from './types';
3
3
  export type { MazGalleryImage } from './types';
4
4
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ /** Images displayed */
5
6
  images: {
6
7
  type: PropType<MazGalleryImage[]>;
7
8
  default: undefined;
8
9
  };
10
+ /** Card variant: Must be `column | row | row-reverse | column-reverse` */
9
11
  orientation: {
10
12
  type: StringConstructor;
11
13
  default: string;
12
14
  validator: (value: string) => boolean;
13
15
  };
16
+ /** Make card a link (footer area excluded) */
14
17
  href: {
15
18
  type: StringConstructor;
16
19
  default: undefined;
17
20
  };
21
+ /** Target option of link: Muse be one of `_blank | _self | _parent | _top | framename` */
18
22
  hrefTarget: {
19
23
  type: StringConstructor;
20
24
  default: string;
21
25
  };
26
+ /** Footer text alignment: `right | left` */
22
27
  footerAlign: {
23
28
  type: StringConstructor;
24
29
  default: string;
25
30
  };
31
+ /** Gallery image width */
26
32
  galleryWidth: {
27
33
  type: (StringConstructor | NumberConstructor)[];
28
34
  default: number;
29
35
  };
36
+ /** Gallery image height */
30
37
  galleryHeight: {
31
38
  type: (StringConstructor | NumberConstructor)[];
32
39
  default: number;
33
40
  };
41
+ /** Enable "zoom" image on click (can't be used when the card has a link) */
34
42
  zoom: {
35
43
  type: BooleanConstructor;
36
44
  default: boolean;
37
45
  };
46
+ /** Set elevation to card (box-shadow) */
38
47
  elevation: {
39
48
  type: BooleanConstructor;
40
49
  default: boolean;
41
50
  };
51
+ /** Set radius to card (box-shadow) */
42
52
  radius: {
43
53
  type: BooleanConstructor;
44
54
  default: boolean;
45
55
  };
56
+ /** Set border to card */
46
57
  bordered: {
47
58
  type: BooleanConstructor;
48
59
  default: boolean;
49
60
  };
61
+ /** Number of images shown in the gallery */
50
62
  imagesShowCount: {
51
63
  type: NumberConstructor;
52
64
  default: number;
53
65
  };
66
+ /** Remove transparent layer with the remain count (ex: +2) */
54
67
  noRemaining: {
55
68
  type: BooleanConstructor;
56
69
  default: boolean;
57
70
  };
71
+ /** scale animation on hover (only linked cards) */
58
72
  scale: {
59
73
  type: BooleanConstructor;
60
74
  default: boolean;
61
75
  };
76
+ /** add classes to wrapper */
62
77
  wrapperClass: {
63
- type: StringConstructor;
64
78
  default: undefined;
65
79
  };
80
+ /** Remove padding from content wrapper */
66
81
  noPadding: {
67
82
  type: BooleanConstructor;
68
83
  default: boolean;
69
84
  };
85
+ /** Hide overflow */
70
86
  overflowHidden: {
71
87
  type: BooleanConstructor;
72
88
  default: boolean;
73
89
  };
90
+ /** Card can be open and close */
74
91
  collapsable: {
75
92
  type: BooleanConstructor;
76
93
  default: boolean;
77
94
  };
95
+ /** Card is open by default if `true` */
78
96
  collapseOpen: {
79
97
  type: BooleanConstructor;
80
98
  default: boolean;
81
99
  };
82
100
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
101
+ /** Images displayed */
83
102
  images: {
84
103
  type: PropType<MazGalleryImage[]>;
85
104
  default: undefined;
86
105
  };
106
+ /** Card variant: Must be `column | row | row-reverse | column-reverse` */
87
107
  orientation: {
88
108
  type: StringConstructor;
89
109
  default: string;
90
110
  validator: (value: string) => boolean;
91
111
  };
112
+ /** Make card a link (footer area excluded) */
92
113
  href: {
93
114
  type: StringConstructor;
94
115
  default: undefined;
95
116
  };
117
+ /** Target option of link: Muse be one of `_blank | _self | _parent | _top | framename` */
96
118
  hrefTarget: {
97
119
  type: StringConstructor;
98
120
  default: string;
99
121
  };
122
+ /** Footer text alignment: `right | left` */
100
123
  footerAlign: {
101
124
  type: StringConstructor;
102
125
  default: string;
103
126
  };
127
+ /** Gallery image width */
104
128
  galleryWidth: {
105
129
  type: (StringConstructor | NumberConstructor)[];
106
130
  default: number;
107
131
  };
132
+ /** Gallery image height */
108
133
  galleryHeight: {
109
134
  type: (StringConstructor | NumberConstructor)[];
110
135
  default: number;
111
136
  };
137
+ /** Enable "zoom" image on click (can't be used when the card has a link) */
112
138
  zoom: {
113
139
  type: BooleanConstructor;
114
140
  default: boolean;
115
141
  };
142
+ /** Set elevation to card (box-shadow) */
116
143
  elevation: {
117
144
  type: BooleanConstructor;
118
145
  default: boolean;
119
146
  };
147
+ /** Set radius to card (box-shadow) */
120
148
  radius: {
121
149
  type: BooleanConstructor;
122
150
  default: boolean;
123
151
  };
152
+ /** Set border to card */
124
153
  bordered: {
125
154
  type: BooleanConstructor;
126
155
  default: boolean;
127
156
  };
157
+ /** Number of images shown in the gallery */
128
158
  imagesShowCount: {
129
159
  type: NumberConstructor;
130
160
  default: number;
131
161
  };
162
+ /** Remove transparent layer with the remain count (ex: +2) */
132
163
  noRemaining: {
133
164
  type: BooleanConstructor;
134
165
  default: boolean;
135
166
  };
167
+ /** scale animation on hover (only linked cards) */
136
168
  scale: {
137
169
  type: BooleanConstructor;
138
170
  default: boolean;
139
171
  };
172
+ /** add classes to wrapper */
140
173
  wrapperClass: {
141
- type: StringConstructor;
142
174
  default: undefined;
143
175
  };
176
+ /** Remove padding from content wrapper */
144
177
  noPadding: {
145
178
  type: BooleanConstructor;
146
179
  default: boolean;
147
180
  };
181
+ /** Hide overflow */
148
182
  overflowHidden: {
149
183
  type: BooleanConstructor;
150
184
  default: boolean;
151
185
  };
186
+ /** Card can be open and close */
152
187
  collapsable: {
153
188
  type: BooleanConstructor;
154
189
  default: boolean;
155
190
  };
191
+ /** Card is open by default if `true` */
156
192
  collapseOpen: {
157
193
  type: BooleanConstructor;
158
194
  default: boolean;
@@ -173,7 +209,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
173
209
  elevation: boolean;
174
210
  radius: boolean;
175
211
  imagesShowCount: number;
176
- wrapperClass: string;
212
+ wrapperClass: undefined;
177
213
  overflowHidden: boolean;
178
214
  collapsable: boolean;
179
215
  collapseOpen: boolean;
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCard-bcc36489.mjs";
1
+ import { M as f } from "./chunks/MazCard-kNaVJd_g.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazCarousel-6da75122.mjs";
1
+ import { M as f } from "./chunks/MazCarousel--9EpK5a7.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -2,6 +2,14 @@ import { type PropType } from 'vue';
2
2
  import type { Color, Size } from './types';
3
3
  export type { Color, Size };
4
4
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ style: {
6
+ type: PropType<import("vue").StyleValue | undefined>;
7
+ default: undefined;
8
+ };
9
+ class: {
10
+ type: PropType<any>;
11
+ default: undefined;
12
+ };
5
13
  modelValue: {
6
14
  type: PropType<boolean | (string | number)[]>;
7
15
  default: undefined;
@@ -34,6 +42,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
34
42
  change: (...args: any[]) => void;
35
43
  "update:model-value": (...args: any[]) => void;
36
44
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
45
+ style: {
46
+ type: PropType<import("vue").StyleValue | undefined>;
47
+ default: undefined;
48
+ };
49
+ class: {
50
+ type: PropType<any>;
51
+ default: undefined;
52
+ };
37
53
  modelValue: {
38
54
  type: PropType<boolean | (string | number)[]>;
39
55
  default: undefined;
@@ -68,6 +84,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
68
84
  }, {
69
85
  size: Size;
70
86
  color: Color;
87
+ style: import("vue").StyleValue | undefined;
88
+ class: any;
71
89
  disabled: boolean;
72
90
  name: string;
73
91
  value: string | number | boolean;
@@ -1,10 +1,10 @@
1
1
  import "./assets/MazCheckbox.css";
2
- import { computed as r, openBlock as x, createElementBlock as b, createElementVNode as u, defineComponent as C, useCssVars as w, getCurrentInstance as S, unref as d, normalizeClass as p, mergeProps as I, createVNode as B, renderSlot as A } from "vue";
3
- const N = ({
4
- componentName: t,
2
+ import { computed as r, openBlock as p, createElementBlock as x, createElementVNode as u, defineComponent as w, useCssVars as C, getCurrentInstance as _, unref as d, normalizeClass as b, normalizeStyle as I, mergeProps as A, createVNode as B, renderSlot as N } from "vue";
3
+ const $ = ({
4
+ componentName: o,
5
5
  instance: a,
6
6
  providedId: n
7
- }) => r(() => n ?? `${t}-${a == null ? void 0 : a.uid}`), $ = {
7
+ }) => r(() => n ?? `${o}-${a == null ? void 0 : a.uid}`), j = {
8
8
  xmlns: "http://www.w3.org/2000/svg",
9
9
  width: "1em",
10
10
  height: "1em",
@@ -22,15 +22,24 @@ const N = ({
22
22
  null,
23
23
  -1
24
24
  /* HOISTED */
25
- ), E = [
25
+ ), O = [
26
26
  M
27
27
  ];
28
- function j(t, a) {
29
- return x(), b("svg", $, [...E]);
28
+ function E(o, a) {
29
+ return p(), x("svg", j, [...O]);
30
30
  }
31
- const q = { render: j }, D = ["for", "aria-checked"], H = ["id", "checked", "disabled", "name"], K = /* @__PURE__ */ C({
31
+ const q = { render: E }, D = ["for", "aria-checked"], H = ["id", "checked", "disabled", "name"], K = /* @__PURE__ */ w({
32
+ inheritAttrs: !1,
32
33
  __name: "MazCheckbox",
33
34
  props: {
35
+ style: {
36
+ type: [String, Array, Object],
37
+ default: void 0
38
+ },
39
+ class: {
40
+ type: [String, Array, Object],
41
+ default: void 0
42
+ },
34
43
  modelValue: {
35
44
  type: [Boolean, Array],
36
45
  default: void 0
@@ -51,20 +60,20 @@ const q = { render: j }, D = ["for", "aria-checked"], H = ["id", "checked", "dis
51
60
  /* emited when value change */
52
61
  "change"
53
62
  ],
54
- setup(t, { emit: a }) {
55
- w((o) => ({
56
- "40cdf8ce": v.value,
57
- "25e00d0a": k.value,
58
- "5692b564": _.value,
59
- "9df23cde": g.value
63
+ setup(o, { emit: a }) {
64
+ C((t) => ({
65
+ "2019e7a5": v.value,
66
+ "175b1ef2": y.value,
67
+ "6ebb5bc2": g.value,
68
+ "0830f205": z.value
60
69
  }));
61
- const n = S(), e = t, c = a, i = N({
70
+ const n = _(), e = o, c = a, i = $({
62
71
  componentName: "MazCheckbox",
63
72
  instance: n,
64
73
  providedId: e.id
65
74
  }), m = r(
66
75
  () => typeof e.value != "boolean" && Array.isArray(e.modelValue) ? e.modelValue.includes(e.value) : typeof e.modelValue == "boolean" ? e.modelValue : !1
67
- ), k = r(() => {
76
+ ), y = r(() => {
68
77
  switch (e.size) {
69
78
  case "xl":
70
79
  return "2.25rem";
@@ -79,7 +88,7 @@ const q = { render: j }, D = ["for", "aria-checked"], H = ["id", "checked", "dis
79
88
  case "mini":
80
89
  return "1.2rem";
81
90
  }
82
- }), y = r(() => {
91
+ }), k = r(() => {
83
92
  switch (e.size) {
84
93
  case "xl":
85
94
  return "maz-text-2xl";
@@ -94,55 +103,55 @@ const q = { render: j }, D = ["for", "aria-checked"], H = ["id", "checked", "dis
94
103
  case "mini":
95
104
  return "maz-text-xs";
96
105
  }
97
- }), v = r(() => `var(--maz-color-${e.color}-contrast)`), _ = r(() => `var(--maz-color-${e.color})`), g = r(
106
+ }), v = r(() => `var(--maz-color-${e.color}-contrast)`), g = r(() => `var(--maz-color-${e.color})`), z = r(
98
107
  () => ["black", "transparent"].includes(e.color) ? "var(--maz-color-muted)" : `var(--maz-color-${e.color}-alpha)`
99
108
  );
100
- function z(o) {
101
- ["Space"].includes(o.code) && (o.preventDefault(), f(e.value ?? !e.modelValue));
109
+ function V(t) {
110
+ ["Space"].includes(t.code) && (t.preventDefault(), f(e.value ?? !e.modelValue));
102
111
  }
103
- function V(o) {
104
- return typeof o == "boolean" && (typeof e.modelValue == "boolean" || e.modelValue === void 0 || e.modelValue === null) ? !e.modelValue : Array.isArray(e.modelValue) && typeof o != "boolean" ? e.modelValue.includes(o) ? e.modelValue.filter((l) => l !== o) : [...e.modelValue, o] : [o];
112
+ function S(t) {
113
+ return typeof t == "boolean" && (typeof e.modelValue == "boolean" || e.modelValue === void 0 || e.modelValue === null) ? !e.modelValue : Array.isArray(e.modelValue) && typeof t != "boolean" ? e.modelValue.includes(t) ? e.modelValue.filter((l) => l !== t) : [...e.modelValue, t] : [t];
105
114
  }
106
- function f(o) {
107
- const l = V(o);
115
+ function f(t) {
116
+ const l = S(t);
108
117
  c("update:model-value", l), c("change", l);
109
118
  }
110
- return (o, l) => (x(), b("label", {
119
+ return (t, l) => (p(), x("label", {
111
120
  for: d(i),
112
- class: p(["m-checkbox", { "--disabled": t.disabled }]),
121
+ class: b(["m-checkbox", [{ "--disabled": o.disabled }, e.class]]),
113
122
  tabindex: "0",
123
+ style: I(o.style),
114
124
  role: "checkbox",
115
125
  "aria-checked": m.value,
116
- onKeydown: z
126
+ onKeydown: V
117
127
  }, [
118
- u("input", I({
128
+ u("input", A({
119
129
  id: d(i),
120
130
  checked: m.value
121
- }, o.$attrs, {
131
+ }, t.$attrs, {
122
132
  tabindex: "-1",
123
- disabled: t.disabled,
124
- name: t.name,
133
+ disabled: o.disabled,
134
+ name: o.name,
125
135
  type: "checkbox",
126
136
  onChange: l[0] || (l[0] = (s) => {
127
137
  var h;
128
- return f(t.value ?? ((h = s == null ? void 0 : s.target) == null ? void 0 : h.checked));
138
+ return f(o.value ?? ((h = s == null ? void 0 : s.target) == null ? void 0 : h.checked));
129
139
  })
130
140
  }), null, 16, H),
131
141
  u("span", null, [
132
142
  B(d(q), {
133
- class: p(["check-icon", y.value])
143
+ class: b(["check-icon", k.value])
134
144
  }, null, 8, ["class"])
135
145
  ]),
136
- A(o.$slots, "default", {}, void 0, !0)
137
- ], 42, D));
146
+ N(t.$slots, "default", {}, void 0, !0)
147
+ ], 46, D));
138
148
  }
139
- });
140
- const O = (t, a) => {
141
- const n = t.__vccOpts || t;
149
+ }), P = (o, a) => {
150
+ const n = o.__vccOpts || o;
142
151
  for (const [e, c] of a)
143
152
  n[e] = c;
144
153
  return n;
145
- }, F = /* @__PURE__ */ O(K, [["__scopeId", "data-v-141a5e53"]]);
154
+ }, G = /* @__PURE__ */ P(K, [["__scopeId", "data-v-23979d47"]]);
146
155
  export {
147
- F as default
156
+ G as default
148
157
  };
@@ -1,4 +1,4 @@
1
- import { M as f } from "./chunks/MazDialog-44eda544.mjs";
1
+ import { M as f } from "./chunks/MazDialog-VkT6NGk2.mjs";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -2,16 +2,16 @@ import { type PropType } from 'vue';
2
2
  import { type Color, type Size } from './types';
3
3
  import { type DialogData } from './../modules/composables/use-maz-dialog-promise';
4
4
  export type DialogButton = {
5
- response?: string | boolean;
5
+ text: string;
6
6
  type: 'resolve' | 'reject';
7
+ block?: boolean;
7
8
  color?: Color;
8
- size?: Size;
9
- text: string;
10
- outline?: boolean;
11
- rounded?: boolean;
12
9
  disabled?: boolean;
13
10
  loading?: boolean;
14
- block?: boolean;
11
+ outline?: boolean;
12
+ response?: string | boolean;
13
+ rounded?: boolean;
14
+ size?: Size;
15
15
  };
16
16
  export { useMazDialogPromise, type DialogState, type DialogData, } from './../modules/composables/use-maz-dialog-promise';
17
17
  export type { Color, Size } from './types';