maz-ui 3.47.2-beta.5 → 3.47.2-beta.7

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 (210) hide show
  1. package/components/MazAccordion.mjs +91 -98
  2. package/components/MazAnimatedCounter.mjs +26 -26
  3. package/components/MazBottomSheet.mjs +1 -1
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.d.ts +2 -2
  6. package/components/MazCard.mjs +1 -1
  7. package/components/MazCardSpotlight.mjs +18 -22
  8. package/components/MazCarousel.mjs +1 -1
  9. package/components/MazCheckbox.mjs +74 -70
  10. package/components/MazChecklist.mjs +1 -1
  11. package/components/MazCircularProgressBar.d.ts +1 -1
  12. package/components/MazCircularProgressBar.mjs +48 -48
  13. package/components/MazDialog.mjs +1 -1
  14. package/components/MazDialogPromise.mjs +1 -1
  15. package/components/MazDrawer.mjs +1 -1
  16. package/components/MazDropdown.d.ts +22 -2
  17. package/components/MazDropdown.mjs +1 -1
  18. package/components/MazExpandAnimation.mjs +22 -25
  19. package/components/MazGallery.d.ts +1 -1
  20. package/components/MazGallery.mjs +1 -1
  21. package/components/MazInput.mjs +1 -1
  22. package/components/MazInputCode.mjs +36 -39
  23. package/components/MazInputNumber.d.ts +2 -2
  24. package/components/MazInputNumber.mjs +1 -1
  25. package/components/MazInputPrice.d.ts +2 -2
  26. package/components/MazInputPrice.mjs +1 -1
  27. package/components/MazInputTags.mjs +1 -1
  28. package/components/MazLoadingBar.mjs +31 -27
  29. package/components/MazPagination.mjs +1 -1
  30. package/components/MazPhoneNumberInput.d.ts +1 -1
  31. package/components/MazPhoneNumberInput.mjs +1 -1
  32. package/components/MazPicker.d.ts +3 -1
  33. package/components/MazPicker.mjs +1 -1
  34. package/components/MazPullToRefresh.d.ts +1 -1
  35. package/components/MazRadio.mjs +31 -36
  36. package/components/MazReadingProgressBar.d.ts +1 -1
  37. package/components/MazSelect.mjs +1 -1
  38. package/components/MazSlider.d.ts +1 -1
  39. package/components/MazStepper.mjs +1 -1
  40. package/components/MazSwitch.mjs +20 -23
  41. package/components/MazTable.d.ts +6 -0
  42. package/components/MazTable.mjs +1 -1
  43. package/components/MazTableCell.d.ts +5 -1
  44. package/components/MazTableCell.mjs +22 -19
  45. package/components/MazTableRow.mjs +1 -1
  46. package/components/MazTableTitle.d.ts +5 -1
  47. package/components/MazTableTitle.mjs +16 -13
  48. package/components/MazTabsBar.mjs +1 -1
  49. package/components/assets/MazAccordion.css +1 -1
  50. package/components/assets/MazAnimatedCounter.css +1 -1
  51. package/components/assets/MazBtn.css +1 -1
  52. package/components/assets/MazCardSpotlight.css +1 -1
  53. package/components/assets/MazCheckbox.css +1 -1
  54. package/components/assets/MazChecklist.css +1 -1
  55. package/components/assets/MazCircularProgressBar.css +1 -1
  56. package/components/assets/MazDropdown.css +1 -1
  57. package/components/assets/MazExpandAnimation.css +1 -1
  58. package/components/assets/MazGallery.css +1 -1
  59. package/components/assets/MazInputCode.css +1 -1
  60. package/components/assets/MazInputNumber.css +1 -1
  61. package/components/assets/MazInputTags.css +1 -1
  62. package/components/assets/MazLoadingBar.css +1 -1
  63. package/components/assets/MazPagination.css +1 -1
  64. package/components/assets/MazPhoneNumberInput.css +1 -1
  65. package/components/assets/MazPicker.css +1 -1
  66. package/components/assets/MazRadio.css +1 -1
  67. package/components/assets/MazSelect.css +1 -1
  68. package/components/assets/MazStepper.css +1 -1
  69. package/components/assets/MazSwitch.css +1 -1
  70. package/components/assets/MazTable.css +1 -1
  71. package/components/assets/MazTableCell.css +1 -1
  72. package/components/assets/MazTableRow.css +1 -1
  73. package/components/assets/MazTableTitle.css +1 -1
  74. package/components/assets/MazTabsBar.css +1 -1
  75. package/components/chunks/{MazBadge-CqppWg2j.mjs → MazBadge-D-0XgPWR.mjs} +1 -1
  76. package/components/chunks/{MazBottomSheet-CGRvZmGd.mjs → MazBottomSheet-C9GWCGys.mjs} +1 -1
  77. package/components/chunks/MazBtn-B0Q6Kw8H.mjs +105 -0
  78. package/components/chunks/MazBtn-CMyQNKuk.mjs +105 -0
  79. package/components/chunks/MazBtn-DA2lg-5s.mjs +113 -0
  80. package/components/chunks/MazBtn-DER-sPjl.mjs +105 -0
  81. package/components/chunks/MazBtn-DFLIzh6y.mjs +105 -0
  82. package/components/chunks/MazBtn-DHfi8M3z.mjs +105 -0
  83. package/components/chunks/MazBtn-DKyz5Hc0.mjs +105 -0
  84. package/components/chunks/MazBtn-DZb-6vcl.mjs +105 -0
  85. package/components/chunks/MazBtn-D_K6k6A7.mjs +105 -0
  86. package/components/chunks/MazBtn-DnZ_pj-t.mjs +105 -0
  87. package/components/chunks/MazBtn-DpFjxnMy.mjs +105 -0
  88. package/components/chunks/MazBtn-DvfMuN3B.mjs +105 -0
  89. package/components/chunks/MazBtn-IPfW92RY.mjs +105 -0
  90. package/components/chunks/MazBtn-VU3XSEv8.mjs +110 -0
  91. package/components/chunks/{MazCard-BYB8y1_u.mjs → MazCard-BkcxQOWL.mjs} +1 -1
  92. package/components/chunks/{MazCarousel-DccWVW8H.mjs → MazCarousel-CSv4VpC9.mjs} +1 -1
  93. package/components/chunks/{MazCheckbox-BBL0vgqe.mjs → MazCheckbox-B9iBXhoG.mjs} +63 -59
  94. package/components/chunks/{MazCheckbox-BTl370Qq.mjs → MazCheckbox-BHhDBSbJ.mjs} +64 -60
  95. package/components/chunks/{MazCheckbox-DTU2jEkC.mjs → MazCheckbox-BcwWN7iD.mjs} +63 -59
  96. package/components/chunks/{MazChecklist-CQv-sXP1.mjs → MazChecklist-DxtYuoEu.mjs} +116 -116
  97. package/components/chunks/{MazDialog-khofH-7I.mjs → MazDialog-xPCkmhrE.mjs} +1 -1
  98. package/components/chunks/{MazDialogPromise-ZRA2ZrO4.mjs → MazDialogPromise-dIHWE8dO.mjs} +2 -2
  99. package/components/chunks/MazDropdown-7WqbXnPN.mjs +442 -0
  100. package/components/chunks/MazExpandAnimation-CUgYZyTw.mjs +54 -0
  101. package/components/chunks/{MazGallery-VTZUhBKC.mjs → MazGallery-BfdKcDIu.mjs} +39 -42
  102. package/components/chunks/{MazGallery-CXQiXWFr.mjs → MazGallery-ndO4hRUh.mjs} +38 -41
  103. package/components/chunks/MazIcon-B3gy-jQ6.mjs +4 -0
  104. package/components/chunks/{MazIcon-BdQtfzuy.mjs → MazIcon-DVTWgYB6.mjs} +1 -1
  105. package/components/chunks/{MazInput-DzWkS-g8.mjs → MazInput-DG-grU7m.mjs} +1 -1
  106. package/components/chunks/{MazInput-eOtg1L9F.mjs → MazInput-DnmjeD0Q.mjs} +2 -2
  107. package/components/chunks/{MazInput-geBqeT4i.mjs → MazInput-SGx7gJ9r.mjs} +2 -2
  108. package/components/chunks/MazInputNumber-DoeT5Lcu.mjs +571 -0
  109. package/components/chunks/{MazInputPrice-DoTnDDIN.mjs → MazInputPrice-CZiypHp3.mjs} +1 -1
  110. package/components/chunks/MazInputTags-DGAglIQb.mjs +584 -0
  111. package/components/chunks/{MazLink-Cd4MwIC9.mjs → MazLink-yKgOtTlk.mjs} +1 -1
  112. package/components/chunks/MazLoadingBar-CBNuhilE.mjs +36 -0
  113. package/components/chunks/MazPagination-eJFyS5Nn.mjs +329 -0
  114. package/components/chunks/{MazPhoneNumberInput-BTm8A0bL.mjs → MazPhoneNumberInput-rGR80IeJ.mjs} +91 -96
  115. package/components/chunks/{MazPicker-DwWiIYAR.mjs → MazPicker-CUpQ552W.mjs} +727 -708
  116. package/components/chunks/{MazPickerMonthSwitcher-CmFFQoPA.mjs → MazPickerMonthSwitcher-duzi8uZ8.mjs} +1 -1
  117. package/components/chunks/{MazPickerShortcuts-DaELz7aq.mjs → MazPickerShortcuts-Coq4ITAj.mjs} +1 -1
  118. package/components/chunks/{MazPickerYearSwitcher-m1_KXnpA.mjs → MazPickerYearSwitcher-vUTntpYE.mjs} +1 -1
  119. package/components/chunks/{MazSelect-Cnz3p3n2.mjs → MazSelect-DA1D4Aus.mjs} +85 -90
  120. package/components/chunks/{MazSelect-DOiqBTNY.mjs → MazSelect-DpLBpopb.mjs} +40 -45
  121. package/components/chunks/MazSpinner-B8vOa-3i.mjs +34 -0
  122. package/components/chunks/MazSpinner-BODHZQ9h.mjs +34 -0
  123. package/components/chunks/{MazSpinner-DmiLBQgR.mjs → MazSpinner-Bbagpn0P.mjs} +1 -1
  124. package/components/chunks/MazSpinner-BdOKUqKA.mjs +34 -0
  125. package/components/chunks/{MazSpinner-Dhg-s-9s.mjs → MazSpinner-Bi3tSdWr.mjs} +1 -1
  126. package/components/chunks/{MazSpinner-B7tPZpHw.mjs → MazSpinner-Btv2qATX.mjs} +1 -1
  127. package/components/chunks/{MazSpinner-DoRGA1RI.mjs → MazSpinner-CLlK6hHp.mjs} +1 -1
  128. package/components/chunks/{MazSpinner-edxn0ncQ.mjs → MazSpinner-CQpzVTYF.mjs} +1 -1
  129. package/components/chunks/MazSpinner-CR8HZnWn.mjs +34 -0
  130. package/components/chunks/MazSpinner-ChqoF_fX.mjs +34 -0
  131. package/components/chunks/{MazSpinner-BsYJDmi9.mjs → MazSpinner-D5ciNjTR.mjs} +1 -1
  132. package/components/chunks/{MazSpinner-B1PXhYRx.mjs → MazSpinner-DIPbNESr.mjs} +1 -1
  133. package/components/chunks/{MazSpinner-BcB0szZB.mjs → MazSpinner-DJM02T-b.mjs} +1 -1
  134. package/components/chunks/{MazSpinner-Bb3f2t6w.mjs → MazSpinner-VN2Vol2B.mjs} +1 -1
  135. package/components/chunks/MazSpinner-a80KrraB.mjs +34 -0
  136. package/components/chunks/MazSpinner-dm4RUkiD.mjs +34 -0
  137. package/components/chunks/MazSpinner-oLVdOGaR.mjs +34 -0
  138. package/components/chunks/{MazSpinner-BpkPcfCt.mjs → MazSpinner-v0FIBDiy.mjs} +1 -1
  139. package/components/chunks/MazStepper-DKPl3uIk.mjs +218 -0
  140. package/components/chunks/{MazTable-BKdEx63E.mjs → MazTable-DBiW_J2i.mjs} +104 -100
  141. package/components/chunks/MazTableCell-D10vPzyI.mjs +26 -0
  142. package/components/chunks/{MazTableRow-bLFpjzu1.mjs → MazTableRow-CSxkhwUM.mjs} +8 -8
  143. package/components/chunks/MazTableTitle-BdRR_MXI.mjs +26 -0
  144. package/components/chunks/{MazTabsBar-CM-w7V97.mjs → MazTabsBar-BVg2pxLA.mjs} +2 -2
  145. package/components/chunks/{MazTransitionExpand-PmUDa51_.mjs → MazTransitionExpand-2Ft7atX1.mjs} +1 -1
  146. package/css/main.css +1 -1
  147. package/modules/assets/MazBtn.css +1 -1
  148. package/modules/chunks/MazBtn-SZHtOzgz.cjs +1 -0
  149. package/modules/chunks/MazBtn-y5LW9A2T.mjs +105 -0
  150. package/modules/chunks/{MazIcon-B8BoiF7R.cjs → MazIcon-BpVDZGXl.cjs} +1 -1
  151. package/modules/chunks/{MazIcon-C6zDSPgJ.mjs → MazIcon-Dj66ziAh.mjs} +1 -1
  152. package/modules/chunks/{MazSpinner-B-4tL9pK.cjs → MazSpinner-CPT6UF2e.cjs} +1 -1
  153. package/modules/chunks/{MazSpinner-BvJydaeF.mjs → MazSpinner-uMrdk_99.mjs} +1 -1
  154. package/modules/chunks/{index-Bf4X7amE.mjs → index-BG6gPie5.mjs} +4 -4
  155. package/modules/chunks/{index-F0B533E8.cjs → index-BTegnVLg.cjs} +2 -2
  156. package/modules/index.cjs +1 -1
  157. package/modules/index.mjs +1 -1
  158. package/nuxt/index.json +1 -1
  159. package/package.json +1 -1
  160. package/tailwindcss/variables/colors.ts +2 -0
  161. package/types/components/MazCard.vue.d.ts +2 -2
  162. package/types/components/MazCircularProgressBar.vue.d.ts +1 -1
  163. package/types/components/MazDropdown.vue.d.ts +22 -2
  164. package/types/components/MazGallery.vue.d.ts +1 -1
  165. package/types/components/MazInputNumber.vue.d.ts +2 -2
  166. package/types/components/MazInputPrice.vue.d.ts +2 -2
  167. package/types/components/MazPhoneNumberInput.vue.d.ts +1 -1
  168. package/types/components/MazPicker.vue.d.ts +3 -1
  169. package/types/components/MazPullToRefresh.vue.d.ts +1 -1
  170. package/types/components/MazReadingProgressBar.vue.d.ts +1 -1
  171. package/types/components/MazSlider.vue.d.ts +1 -1
  172. package/types/components/MazTable.vue.d.ts +6 -0
  173. package/types/components/MazTableCell.vue.d.ts +5 -1
  174. package/types/components/MazTableTitle.vue.d.ts +5 -1
  175. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +1 -1
  176. package/types/tailwindcss/variables/colors.d.ts +2 -0
  177. package/components/chunks/MazBtn-40lm8-AL.mjs +0 -106
  178. package/components/chunks/MazBtn-BB1FyYWv.mjs +0 -114
  179. package/components/chunks/MazBtn-BJxI5VQw.mjs +0 -106
  180. package/components/chunks/MazBtn-BmrcK2af.mjs +0 -106
  181. package/components/chunks/MazBtn-C72_1uvu.mjs +0 -106
  182. package/components/chunks/MazBtn-CWloP6MI.mjs +0 -111
  183. package/components/chunks/MazBtn-C_BULYqZ.mjs +0 -106
  184. package/components/chunks/MazBtn-CcyV4DCc.mjs +0 -106
  185. package/components/chunks/MazBtn-DENEMy-c.mjs +0 -106
  186. package/components/chunks/MazBtn-Sj-Pq0YV.mjs +0 -106
  187. package/components/chunks/MazBtn-UnZQuu6P.mjs +0 -106
  188. package/components/chunks/MazBtn-cUQ1Tykp.mjs +0 -106
  189. package/components/chunks/MazBtn-hUslV7wO.mjs +0 -106
  190. package/components/chunks/MazBtn-psosbsi3.mjs +0 -106
  191. package/components/chunks/MazDropdown-peYVJsXv.mjs +0 -441
  192. package/components/chunks/MazExpandAnimation-MDimlZGj.mjs +0 -57
  193. package/components/chunks/MazIcon-Bk4mYF1h.mjs +0 -4
  194. package/components/chunks/MazInputNumber-DRXQXHRv.mjs +0 -572
  195. package/components/chunks/MazInputTags-Dj3sW-e5.mjs +0 -585
  196. package/components/chunks/MazLoadingBar-DHcYPXlE.mjs +0 -32
  197. package/components/chunks/MazPagination-BkT4_LLW.mjs +0 -330
  198. package/components/chunks/MazSpinner-BymqEMBk.mjs +0 -34
  199. package/components/chunks/MazSpinner-C-64WJje.mjs +0 -34
  200. package/components/chunks/MazSpinner-D3-pqOh3.mjs +0 -34
  201. package/components/chunks/MazSpinner-DOSj2BnX.mjs +0 -34
  202. package/components/chunks/MazSpinner-DS58mtzm.mjs +0 -34
  203. package/components/chunks/MazSpinner-eC03bFP5.mjs +0 -34
  204. package/components/chunks/MazSpinner-f2Mc2eRO.mjs +0 -34
  205. package/components/chunks/MazSpinner-n4Dp5ZsH.mjs +0 -34
  206. package/components/chunks/MazStepper-BREfkpUb.mjs +0 -213
  207. package/components/chunks/MazTableCell-CozcugiL.mjs +0 -23
  208. package/components/chunks/MazTableTitle-Qk239mu9.mjs +0 -23
  209. package/modules/chunks/MazBtn-D7el03Rl.cjs +0 -1
  210. package/modules/chunks/MazBtn-D8uOirkn.mjs +0 -106
@@ -0,0 +1,105 @@
1
+ import { defineComponent as h, defineAsyncComponent as m, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as r, normalizeClass as l, withCtx as S, renderSlot as i, unref as u, createCommentVNode as d, createElementBlock as M, createVNode as w } from "vue";
2
+ import { _ as E } from "./MazBottomSheet-C9GWCGys.mjs";
3
+ import '../assets/MazBtn.css';const F = {
4
+ key: 0,
5
+ class: "m-btn-loader-container"
6
+ }, O = /* @__PURE__ */ h({
7
+ __name: "MazBtn",
8
+ props: {
9
+ variant: { default: "button" },
10
+ size: { default: "md" },
11
+ color: { default: "primary" },
12
+ type: { default: "button" },
13
+ rounded: { type: Boolean },
14
+ roundedSize: { default: "lg" },
15
+ noRounded: { type: Boolean },
16
+ outline: { type: Boolean },
17
+ pastel: { type: Boolean },
18
+ block: { type: Boolean },
19
+ noUnderline: { type: Boolean },
20
+ loading: { type: Boolean },
21
+ disabled: { type: Boolean },
22
+ fab: { type: Boolean },
23
+ icon: { type: [String, Function, Object], default: void 0 },
24
+ leftIcon: { type: [String, Function, Object], default: void 0 },
25
+ rightIcon: { type: [String, Function, Object], default: void 0 },
26
+ noPadding: { type: Boolean },
27
+ noElevation: { type: Boolean },
28
+ justify: { default: "center" }
29
+ },
30
+ setup(p) {
31
+ const n = p, v = m(() => import("./MazSpinner-BdOKUqKA.mjs")), f = m(() => import("./MazIcon-BbvBov5G.mjs")), { href: z, to: b } = $(), c = o(() => z ? "a" : b ? "router-link" : "button"), g = o(
32
+ () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
+ ), y = o(
34
+ () => (n.loading || n.disabled) && c.value === "button"
35
+ ), j = o(() => y.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => c.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
36
+ return (e, A) => (t(), a(r(c.value), {
37
+ disabled: y.value || void 0,
38
+ class: l(["m-btn", [
39
+ `--${e.size}`,
40
+ !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
+ g.value,
42
+ j.value,
43
+ B.value,
44
+ I.value,
45
+ {
46
+ "--block": e.block,
47
+ "--no-underline": e.noUnderline,
48
+ "--fab": e.fab,
49
+ "--loading": e.loading,
50
+ "--disabled": y.value,
51
+ "--rounded": e.rounded,
52
+ "--no-rounded": e.noRounded,
53
+ "--no-padding": e.noPadding,
54
+ "--no-elevation": e.noElevation
55
+ }
56
+ ]]),
57
+ type: C.value
58
+ }, {
59
+ default: S(() => [
60
+ i(e.$slots, "left-icon", {}, () => [
61
+ typeof e.leftIcon == "string" ? (t(), a(u(f), {
62
+ key: 0,
63
+ name: e.leftIcon,
64
+ class: l([s.value])
65
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(r(e.leftIcon), {
66
+ key: 1,
67
+ class: l([s.value])
68
+ }, null, 8, ["class"])) : d("v-if", !0)
69
+ ], !0),
70
+ i(e.$slots, "icon", {}, () => [
71
+ typeof e.icon == "string" ? (t(), a(u(f), {
72
+ key: 0,
73
+ name: e.icon,
74
+ class: l([s.value])
75
+ }, null, 8, ["name", "class"])) : e.icon ? (t(), a(r(e.icon), {
76
+ key: 1,
77
+ class: l([s.value])
78
+ }, null, 8, ["class"])) : d("v-if", !0)
79
+ ], !0),
80
+ i(e.$slots, "default", {}, void 0, !0),
81
+ i(e.$slots, "right-icon", {}, () => [
82
+ typeof e.rightIcon == "string" ? (t(), a(u(f), {
83
+ key: 0,
84
+ name: e.rightIcon,
85
+ class: l([s.value])
86
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(r(e.rightIcon), {
87
+ key: 1,
88
+ class: l([s.value])
89
+ }, null, 8, ["class"])) : d("v-if", !0)
90
+ ], !0),
91
+ k.value ? (t(), M("div", F, [
92
+ w(u(v), {
93
+ size: "2em",
94
+ color: e.color
95
+ }, null, 8, ["color"])
96
+ ])) : d("v-if", !0)
97
+ ]),
98
+ _: 3
99
+ /* FORWARDED */
100
+ }, 8, ["disabled", "class", "type"]));
101
+ }
102
+ }), P = /* @__PURE__ */ E(O, [["__scopeId", "data-v-95f33abf"]]);
103
+ export {
104
+ P as default
105
+ };
@@ -0,0 +1,110 @@
1
+ import { defineComponent as h, defineAsyncComponent as z, useAttrs as $, computed as o, openBlock as t, createBlock as a, resolveDynamicComponent as d, normalizeClass as l, withCtx as S, renderSlot as f, unref as c, createCommentVNode as y, createElementBlock as M, createVNode as O } from "vue";
2
+ import '../assets/MazBtn.css';const w = {
3
+ key: 0,
4
+ class: "m-btn-loader-container"
5
+ }, E = /* @__PURE__ */ h({
6
+ __name: "MazBtn",
7
+ props: {
8
+ variant: { default: "button" },
9
+ size: { default: "md" },
10
+ color: { default: "primary" },
11
+ type: { default: "button" },
12
+ rounded: { type: Boolean },
13
+ roundedSize: { default: "lg" },
14
+ noRounded: { type: Boolean },
15
+ outline: { type: Boolean },
16
+ pastel: { type: Boolean },
17
+ block: { type: Boolean },
18
+ noUnderline: { type: Boolean },
19
+ loading: { type: Boolean },
20
+ disabled: { type: Boolean },
21
+ fab: { type: Boolean },
22
+ icon: { type: [String, Function, Object], default: void 0 },
23
+ leftIcon: { type: [String, Function, Object], default: void 0 },
24
+ rightIcon: { type: [String, Function, Object], default: void 0 },
25
+ noPadding: { type: Boolean },
26
+ noElevation: { type: Boolean },
27
+ justify: { default: "center" }
28
+ },
29
+ setup(i) {
30
+ const n = i, u = z(() => import("./MazSpinner-DJM02T-b.mjs")), r = z(() => import("./MazIcon-BbvBov5G.mjs")), { href: p, to: b } = $(), m = o(() => p ? "a" : b ? "router-link" : "button"), g = o(
31
+ () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
32
+ ), v = o(
33
+ () => (n.loading || n.disabled) && m.value === "button"
34
+ ), j = o(() => v.value ? "--cursor-default" : "--cursor-pointer"), B = o(() => `--is-${n.variant}`), k = o(() => n.loading && n.variant === "button"), C = o(() => m.value === "button" ? n.type : void 0), s = o(() => n.size === "xl" ? "maz-text-3xl" : n.size === "lg" ? "maz-text-2xl" : n.size === "md" ? "maz-text-xl" : n.size === "sm" ? "maz-text-lg" : n.size === "xs" ? "maz-text-base" : n.size === "mini" ? "maz-text-sm" : "md"), I = o(() => n.justify === "start" ? "maz-justify-start" : n.justify === "end" ? "maz-justify-end" : n.justify === "center" ? "maz-justify-center" : n.justify === "between" ? "maz-justify-between" : n.justify === "around" ? "maz-justify-around" : n.justify === "evenly" ? "maz-justify-evenly" : "maz-justify-center");
35
+ return (e, A) => (t(), a(d(m.value), {
36
+ disabled: v.value || void 0,
37
+ class: l(["m-btn", [
38
+ `--${e.size}`,
39
+ !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
40
+ g.value,
41
+ j.value,
42
+ B.value,
43
+ I.value,
44
+ {
45
+ "--block": e.block,
46
+ "--no-underline": e.noUnderline,
47
+ "--fab": e.fab,
48
+ "--loading": e.loading,
49
+ "--disabled": v.value,
50
+ "--rounded": e.rounded,
51
+ "--no-rounded": e.noRounded,
52
+ "--no-padding": e.noPadding,
53
+ "--no-elevation": e.noElevation
54
+ }
55
+ ]]),
56
+ type: C.value
57
+ }, {
58
+ default: S(() => [
59
+ f(e.$slots, "left-icon", {}, () => [
60
+ typeof e.leftIcon == "string" ? (t(), a(c(r), {
61
+ key: 0,
62
+ name: e.leftIcon,
63
+ class: l([s.value])
64
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (t(), a(d(e.leftIcon), {
65
+ key: 1,
66
+ class: l([s.value])
67
+ }, null, 8, ["class"])) : y("v-if", !0)
68
+ ], !0),
69
+ f(e.$slots, "icon", {}, () => [
70
+ typeof e.icon == "string" ? (t(), a(c(r), {
71
+ key: 0,
72
+ name: e.icon,
73
+ class: l([s.value])
74
+ }, null, 8, ["name", "class"])) : e.icon ? (t(), a(d(e.icon), {
75
+ key: 1,
76
+ class: l([s.value])
77
+ }, null, 8, ["class"])) : y("v-if", !0)
78
+ ], !0),
79
+ f(e.$slots, "default", {}, void 0, !0),
80
+ f(e.$slots, "right-icon", {}, () => [
81
+ typeof e.rightIcon == "string" ? (t(), a(c(r), {
82
+ key: 0,
83
+ name: e.rightIcon,
84
+ class: l([s.value])
85
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (t(), a(d(e.rightIcon), {
86
+ key: 1,
87
+ class: l([s.value])
88
+ }, null, 8, ["class"])) : y("v-if", !0)
89
+ ], !0),
90
+ k.value ? (t(), M("div", w, [
91
+ O(c(u), {
92
+ size: "2em",
93
+ color: e.color
94
+ }, null, 8, ["color"])
95
+ ])) : y("v-if", !0)
96
+ ]),
97
+ _: 3
98
+ /* FORWARDED */
99
+ }, 8, ["disabled", "class", "type"]));
100
+ }
101
+ }), F = (i, n) => {
102
+ const u = i.__vccOpts || i;
103
+ for (const [r, p] of n)
104
+ u[r] = p;
105
+ return u;
106
+ }, N = /* @__PURE__ */ F(E, [["__scopeId", "data-v-95f33abf"]]);
107
+ export {
108
+ N as M,
109
+ F as _
110
+ };
@@ -42,7 +42,7 @@ import '../assets/MazCard.css';const R = {
42
42
  block: { type: Boolean }
43
43
  },
44
44
  setup(m) {
45
- const o = m, v = c(() => import("./MazBtn-UnZQuu6P.mjs")), g = c(() => import("./MazGallery-VTZUhBKC.mjs")), z = c(() => import("./MazTransitionExpand-PmUDa51_.mjs")), S = c(() => import("./chevron-down-BkvtON3b.mjs")), M = H(), t = r(() => o.collapsible || o.collapsable), l = N(t.value ? o.collapseOpen : !0), k = r(() => o.href || o.to);
45
+ const o = m, v = c(() => import("./MazBtn-DFLIzh6y.mjs")), g = c(() => import("./MazGallery-BfdKcDIu.mjs")), z = c(() => import("./MazTransitionExpand-2Ft7atX1.mjs")), S = c(() => import("./chevron-down-BkvtON3b.mjs")), M = H(), t = r(() => o.collapsible || o.collapsable), l = N(t.value ? o.collapseOpen : !0), k = r(() => o.href || o.to);
46
46
  T(
47
47
  () => o.collapseOpen,
48
48
  (e) => {
@@ -11,7 +11,7 @@ import '../assets/MazCarousel.css';const W = { key: 0 }, x = {
11
11
  hideScrollbar: { type: Boolean }
12
12
  },
13
13
  setup(l) {
14
- const u = l, o = v(() => import("./MazBtn-BmrcK2af.mjs")), d = v(() => import("./chevron-left-BqVOLRdC.mjs")), f = v(() => import("./chevron-right-CbjzEeHV.mjs")), h = N(), b = _(!1), S = _(!1), m = _();
14
+ const u = l, o = v(() => import("./MazBtn-DER-sPjl.mjs")), d = v(() => import("./chevron-left-BqVOLRdC.mjs")), f = v(() => import("./chevron-right-CbjzEeHV.mjs")), h = N(), b = _(!1), S = _(!1), m = _();
15
15
  function L() {
16
16
  return !u.noScrollBtn || h.title;
17
17
  }
@@ -1,7 +1,7 @@
1
- import { defineComponent as I, useCssVars as N, computed as r, ref as E, openBlock as p, createElementBlock as h, unref as s, normalizeClass as c, normalizeStyle as A, createElementVNode as u, mergeProps as _, createVNode as M, renderSlot as D, createTextVNode as R, toDisplayString as b, createCommentVNode as q } from "vue";
2
- import { u as F, _ as H } from "./MazSelect-DOiqBTNY.mjs";
3
- import K from "./check-C9Q_W85g.mjs";
4
- import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id", "checked", "disabled", "name"], U = { class: "m-checkbox__text" }, $ = /* @__PURE__ */ I({
1
+ import { defineComponent as N, computed as r, ref as E, openBlock as v, createElementBlock as k, unref as c, normalizeClass as u, normalizeStyle as t, createElementVNode as d, mergeProps as A, createVNode as M, renderSlot as _, createTextVNode as D, toDisplayString as y, createCommentVNode as R } from "vue";
2
+ import { u as $, _ as q } from "./MazSelect-DpLBpopb.mjs";
3
+ import F from "./check-C9Q_W85g.mjs";
4
+ import '../assets/MazCheckbox.css';const H = ["for", "aria-checked"], K = ["id", "checked", "disabled", "name"], P = { class: "m-checkbox__text" }, T = /* @__PURE__ */ N({
5
5
  inheritAttrs: !1,
6
6
  __name: "MazCheckbox",
7
7
  props: {
@@ -21,19 +21,13 @@ import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id",
21
21
  hint: {}
22
22
  },
23
23
  emits: ["update:model-value", "change", "blur", "focus"],
24
- setup(v, { emit: k }) {
25
- N((e) => ({
26
- b7df6194: V.value,
27
- "89a0ef50": y.value,
28
- "199d7f11": g.value,
29
- b0e1d658: x.value
30
- }));
31
- const o = v, l = k, d = F({
24
+ setup(z, { emit: g }) {
25
+ const o = z, l = g, i = $({
32
26
  componentName: "MazCheckbox",
33
27
  providedId: o.id
34
- }), i = r(
28
+ }), m = r(
35
29
  () => typeof o.value != "boolean" && Array.isArray(o.modelValue) ? o.modelValue.includes(o.value) : typeof o.modelValue == "boolean" ? o.modelValue : !1
36
- ), y = r(() => {
30
+ ), f = r(() => {
37
31
  switch (o.size) {
38
32
  case "xl":
39
33
  return "2rem";
@@ -48,7 +42,7 @@ import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id",
48
42
  default:
49
43
  return "1.5rem";
50
44
  }
51
- }), z = r(() => {
45
+ }), V = r(() => {
52
46
  switch (o.size) {
53
47
  case "xl":
54
48
  return "maz-text-2xl";
@@ -63,83 +57,93 @@ import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id",
63
57
  default:
64
58
  return "maz-text-lg";
65
59
  }
66
- }), V = r(() => o.color === "theme" ? "var(--maz-color-bg)" : `var(--maz-color-${o.color}-contrast)`), g = r(() => o.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${o.color})`), x = r(() => o.error ? "var(--maz-color-danger)" : o.warning ? "var(--maz-color-warning)" : o.success ? "var(--maz-color-success)" : ["black", "transparent", "theme"].includes(o.color) ? "var(--maz-color-muted)" : `var(--maz-color-${o.color}-alpha)`);
67
- function w(e) {
68
- ["Space"].includes(e.code) && (e.preventDefault(), m(o.value ?? !o.modelValue));
69
- }
60
+ }), x = r(() => o.color === "theme" ? "var(--maz-color-bg)" : `var(--maz-color-${o.color}-contrast)`), w = r(() => o.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${o.color})`), h = r(() => o.error ? "var(--maz-color-danger)" : o.warning ? "var(--maz-color-warning)" : o.success ? "var(--maz-color-success)" : ["black", "transparent", "theme"].includes(o.color) ? "var(--maz-color-muted)" : `var(--maz-color-${o.color}-alpha)`);
70
61
  function C(e) {
62
+ ["Space"].includes(e.code) && (e.preventDefault(), p(o.value ?? !o.modelValue));
63
+ }
64
+ function S(e) {
71
65
  return typeof e == "boolean" && (typeof o.modelValue == "boolean" || o.modelValue === void 0 || o.modelValue === null) ? !o.modelValue : Array.isArray(o.modelValue) && typeof e != "boolean" ? o.modelValue.includes(e) ? o.modelValue.filter((a) => a !== e) : [...o.modelValue, e] : [e];
72
66
  }
73
- function m(e) {
74
- const a = C(e);
67
+ function p(e) {
68
+ const a = S(e);
75
69
  l("update:model-value", a), l("change", a);
76
70
  }
77
- const t = E();
71
+ const n = E();
78
72
  function B(e) {
79
73
  var a;
80
- (a = t.value) == null || a.dispatchEvent(new Event("blur")), l("blur", e);
74
+ (a = n.value) == null || a.dispatchEvent(new Event("blur")), l("blur", e);
81
75
  }
82
- function S(e) {
76
+ function I(e) {
83
77
  var a;
84
- (a = t.value) == null || a.dispatchEvent(new Event("focus")), l("focus", e);
78
+ (a = n.value) == null || a.dispatchEvent(new Event("focus")), l("focus", e);
85
79
  }
86
- return (e, a) => (p(), h("label", {
87
- for: s(d),
88
- class: c(["m-checkbox", [{ "--disabled": e.disabled, "--error": e.error, "--warning": e.warning, "--success": e.success }, o.class]]),
80
+ return (e, a) => (v(), k("label", {
81
+ for: c(i),
82
+ class: u(["m-checkbox", [{ "--disabled": e.disabled, "--error": e.error, "--warning": e.warning, "--success": e.success }, o.class]]),
89
83
  tabindex: "0",
90
- style: A(e.style),
84
+ style: t([e.style, { "--checkbox-selected-color": w.value, "--checkbox-box-shadow-color": h.value }]),
91
85
  role: "checkbox",
92
- "aria-checked": i.value,
93
- onKeydown: w,
86
+ "aria-checked": m.value,
87
+ onKeydown: C,
94
88
  onBlur: B,
95
- onFocus: S
89
+ onFocus: I
96
90
  }, [
97
- u("input", _({
98
- id: s(d),
91
+ d("input", A({
92
+ id: c(i),
99
93
  ref_key: "inputRef",
100
- ref: t,
101
- checked: i.value
94
+ ref: n,
95
+ checked: m.value
102
96
  }, e.$attrs, {
103
97
  tabindex: "-1",
104
98
  disabled: e.disabled,
105
99
  name: e.name,
106
100
  type: "checkbox",
107
- onChange: a[0] || (a[0] = (n) => {
108
- var f;
109
- return m(e.value ?? ((f = n == null ? void 0 : n.target) == null ? void 0 : f.checked));
101
+ onChange: a[0] || (a[0] = (s) => {
102
+ var b;
103
+ return p(e.value ?? ((b = s == null ? void 0 : s.target) == null ? void 0 : b.checked));
110
104
  })
111
- }), null, 16, T),
112
- u("span", null, [
113
- M(s(K), {
114
- class: c(["check-icon", z.value])
115
- }, null, 8, ["class"])
116
- ]),
117
- u("div", U, [
118
- D(e.$slots, "default", { value: e.value }, () => [
119
- R(
120
- b(e.label),
105
+ }), null, 16, K),
106
+ d(
107
+ "span",
108
+ {
109
+ style: t({ width: f.value, height: f.value })
110
+ },
111
+ [
112
+ M(c(F), {
113
+ class: u(["check-icon", V.value]),
114
+ style: t({ color: x.value })
115
+ }, null, 8, ["class", "style"])
116
+ ],
117
+ 4
118
+ /* STYLE */
119
+ ),
120
+ d("div", P, [
121
+ _(e.$slots, "default", { value: e.value }, () => [
122
+ D(
123
+ y(e.label),
121
124
  1
122
125
  /* TEXT */
123
126
  )
124
127
  ], !0),
125
- e.hint ? (p(), h(
128
+ e.hint ? (v(), k(
126
129
  "span",
127
130
  {
128
131
  key: 0,
129
- class: c(["m-checkbox__hint", {
132
+ class: u(["m-checkbox__hint", {
130
133
  "--error": e.error,
131
134
  "--success": e.success,
132
135
  "--warning": e.warning
133
- }])
136
+ }]),
137
+ style: t({ boxShadow: `0 0 0 0.125rem ${h.value}` })
134
138
  },
135
- b(e.hint),
136
- 3
137
- /* TEXT, CLASS */
138
- )) : q("v-if", !0)
139
+ y(e.hint),
140
+ 7
141
+ /* TEXT, CLASS, STYLE */
142
+ )) : R("v-if", !0)
139
143
  ])
140
- ], 46, P));
144
+ ], 46, H));
141
145
  }
142
- }), L = /* @__PURE__ */ H($, [["__scopeId", "data-v-178c6a46"]]);
146
+ }), J = /* @__PURE__ */ q(T, [["__scopeId", "data-v-0ad2f376"]]);
143
147
  export {
144
- L as default
148
+ J as default
145
149
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as I, useCssVars as N, computed as r, ref as E, openBlock as p, createElementBlock as h, unref as s, normalizeClass as c, normalizeStyle as A, createElementVNode as u, mergeProps as _, createVNode as M, renderSlot as D, createTextVNode as R, toDisplayString as b, createCommentVNode as q } from "vue";
2
- import { u as F } from "./useInstanceUniqId-DW9jO1Sz.mjs";
3
- import H from "./check-C9Q_W85g.mjs";
4
- import { _ as K } from "./MazTable-BKdEx63E.mjs";
5
- import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id", "checked", "disabled", "name"], U = { class: "m-checkbox__text" }, $ = /* @__PURE__ */ I({
1
+ import { defineComponent as N, computed as r, ref as E, openBlock as v, createElementBlock as k, unref as c, normalizeClass as u, normalizeStyle as t, createElementVNode as d, mergeProps as A, createVNode as M, renderSlot as _, createTextVNode as D, toDisplayString as y, createCommentVNode as R } from "vue";
2
+ import { u as $ } from "./useInstanceUniqId-DW9jO1Sz.mjs";
3
+ import q from "./check-C9Q_W85g.mjs";
4
+ import { _ as F } from "./MazTable-DBiW_J2i.mjs";
5
+ import '../assets/MazCheckbox.css';const H = ["for", "aria-checked"], K = ["id", "checked", "disabled", "name"], P = { class: "m-checkbox__text" }, T = /* @__PURE__ */ N({
6
6
  inheritAttrs: !1,
7
7
  __name: "MazCheckbox",
8
8
  props: {
@@ -22,19 +22,13 @@ import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id",
22
22
  hint: {}
23
23
  },
24
24
  emits: ["update:model-value", "change", "blur", "focus"],
25
- setup(v, { emit: k }) {
26
- N((e) => ({
27
- b7df6194: V.value,
28
- "89a0ef50": y.value,
29
- "199d7f11": g.value,
30
- b0e1d658: x.value
31
- }));
32
- const o = v, l = k, d = F({
25
+ setup(z, { emit: g }) {
26
+ const o = z, l = g, i = $({
33
27
  componentName: "MazCheckbox",
34
28
  providedId: o.id
35
- }), i = r(
29
+ }), m = r(
36
30
  () => typeof o.value != "boolean" && Array.isArray(o.modelValue) ? o.modelValue.includes(o.value) : typeof o.modelValue == "boolean" ? o.modelValue : !1
37
- ), y = r(() => {
31
+ ), f = r(() => {
38
32
  switch (o.size) {
39
33
  case "xl":
40
34
  return "2rem";
@@ -49,7 +43,7 @@ import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id",
49
43
  default:
50
44
  return "1.5rem";
51
45
  }
52
- }), z = r(() => {
46
+ }), V = r(() => {
53
47
  switch (o.size) {
54
48
  case "xl":
55
49
  return "maz-text-2xl";
@@ -64,83 +58,93 @@ import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id",
64
58
  default:
65
59
  return "maz-text-lg";
66
60
  }
67
- }), V = r(() => o.color === "theme" ? "var(--maz-color-bg)" : `var(--maz-color-${o.color}-contrast)`), g = r(() => o.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${o.color})`), x = r(() => o.error ? "var(--maz-color-danger)" : o.warning ? "var(--maz-color-warning)" : o.success ? "var(--maz-color-success)" : ["black", "transparent", "theme"].includes(o.color) ? "var(--maz-color-muted)" : `var(--maz-color-${o.color}-alpha)`);
68
- function w(e) {
69
- ["Space"].includes(e.code) && (e.preventDefault(), m(o.value ?? !o.modelValue));
70
- }
61
+ }), x = r(() => o.color === "theme" ? "var(--maz-color-bg)" : `var(--maz-color-${o.color}-contrast)`), w = r(() => o.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${o.color})`), h = r(() => o.error ? "var(--maz-color-danger)" : o.warning ? "var(--maz-color-warning)" : o.success ? "var(--maz-color-success)" : ["black", "transparent", "theme"].includes(o.color) ? "var(--maz-color-muted)" : `var(--maz-color-${o.color}-alpha)`);
71
62
  function C(e) {
63
+ ["Space"].includes(e.code) && (e.preventDefault(), p(o.value ?? !o.modelValue));
64
+ }
65
+ function S(e) {
72
66
  return typeof e == "boolean" && (typeof o.modelValue == "boolean" || o.modelValue === void 0 || o.modelValue === null) ? !o.modelValue : Array.isArray(o.modelValue) && typeof e != "boolean" ? o.modelValue.includes(e) ? o.modelValue.filter((a) => a !== e) : [...o.modelValue, e] : [e];
73
67
  }
74
- function m(e) {
75
- const a = C(e);
68
+ function p(e) {
69
+ const a = S(e);
76
70
  l("update:model-value", a), l("change", a);
77
71
  }
78
- const t = E();
72
+ const n = E();
79
73
  function B(e) {
80
74
  var a;
81
- (a = t.value) == null || a.dispatchEvent(new Event("blur")), l("blur", e);
75
+ (a = n.value) == null || a.dispatchEvent(new Event("blur")), l("blur", e);
82
76
  }
83
- function S(e) {
77
+ function I(e) {
84
78
  var a;
85
- (a = t.value) == null || a.dispatchEvent(new Event("focus")), l("focus", e);
79
+ (a = n.value) == null || a.dispatchEvent(new Event("focus")), l("focus", e);
86
80
  }
87
- return (e, a) => (p(), h("label", {
88
- for: s(d),
89
- class: c(["m-checkbox", [{ "--disabled": e.disabled, "--error": e.error, "--warning": e.warning, "--success": e.success }, o.class]]),
81
+ return (e, a) => (v(), k("label", {
82
+ for: c(i),
83
+ class: u(["m-checkbox", [{ "--disabled": e.disabled, "--error": e.error, "--warning": e.warning, "--success": e.success }, o.class]]),
90
84
  tabindex: "0",
91
- style: A(e.style),
85
+ style: t([e.style, { "--checkbox-selected-color": w.value, "--checkbox-box-shadow-color": h.value }]),
92
86
  role: "checkbox",
93
- "aria-checked": i.value,
94
- onKeydown: w,
87
+ "aria-checked": m.value,
88
+ onKeydown: C,
95
89
  onBlur: B,
96
- onFocus: S
90
+ onFocus: I
97
91
  }, [
98
- u("input", _({
99
- id: s(d),
92
+ d("input", A({
93
+ id: c(i),
100
94
  ref_key: "inputRef",
101
- ref: t,
102
- checked: i.value
95
+ ref: n,
96
+ checked: m.value
103
97
  }, e.$attrs, {
104
98
  tabindex: "-1",
105
99
  disabled: e.disabled,
106
100
  name: e.name,
107
101
  type: "checkbox",
108
- onChange: a[0] || (a[0] = (n) => {
109
- var f;
110
- return m(e.value ?? ((f = n == null ? void 0 : n.target) == null ? void 0 : f.checked));
102
+ onChange: a[0] || (a[0] = (s) => {
103
+ var b;
104
+ return p(e.value ?? ((b = s == null ? void 0 : s.target) == null ? void 0 : b.checked));
111
105
  })
112
- }), null, 16, T),
113
- u("span", null, [
114
- M(s(H), {
115
- class: c(["check-icon", z.value])
116
- }, null, 8, ["class"])
117
- ]),
118
- u("div", U, [
119
- D(e.$slots, "default", { value: e.value }, () => [
120
- R(
121
- b(e.label),
106
+ }), null, 16, K),
107
+ d(
108
+ "span",
109
+ {
110
+ style: t({ width: f.value, height: f.value })
111
+ },
112
+ [
113
+ M(c(q), {
114
+ class: u(["check-icon", V.value]),
115
+ style: t({ color: x.value })
116
+ }, null, 8, ["class", "style"])
117
+ ],
118
+ 4
119
+ /* STYLE */
120
+ ),
121
+ d("div", P, [
122
+ _(e.$slots, "default", { value: e.value }, () => [
123
+ D(
124
+ y(e.label),
122
125
  1
123
126
  /* TEXT */
124
127
  )
125
128
  ], !0),
126
- e.hint ? (p(), h(
129
+ e.hint ? (v(), k(
127
130
  "span",
128
131
  {
129
132
  key: 0,
130
- class: c(["m-checkbox__hint", {
133
+ class: u(["m-checkbox__hint", {
131
134
  "--error": e.error,
132
135
  "--success": e.success,
133
136
  "--warning": e.warning
134
- }])
137
+ }]),
138
+ style: t({ boxShadow: `0 0 0 0.125rem ${h.value}` })
135
139
  },
136
- b(e.hint),
137
- 3
138
- /* TEXT, CLASS */
139
- )) : q("v-if", !0)
140
+ y(e.hint),
141
+ 7
142
+ /* TEXT, CLASS, STYLE */
143
+ )) : R("v-if", !0)
140
144
  ])
141
- ], 46, P));
145
+ ], 46, H));
142
146
  }
143
- }), O = /* @__PURE__ */ K($, [["__scopeId", "data-v-178c6a46"]]);
147
+ }), L = /* @__PURE__ */ F(T, [["__scopeId", "data-v-0ad2f376"]]);
144
148
  export {
145
- O as default
149
+ L as default
146
150
  };