maz-ui 3.46.1-beta.6 → 3.47.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 (139) hide show
  1. package/components/MazAccordion.mjs +30 -30
  2. package/components/MazBottomSheet.mjs +1 -1
  3. package/components/MazBtn.mjs +1 -1
  4. package/components/MazCard.mjs +1 -1
  5. package/components/MazCardSpotlight.mjs +15 -15
  6. package/components/MazCarousel.mjs +1 -1
  7. package/components/MazChecklist.d.ts +79 -0
  8. package/components/MazChecklist.mjs +4 -0
  9. package/components/MazDialog.mjs +1 -1
  10. package/components/MazDialogPromise.d.ts +2 -0
  11. package/components/MazDialogPromise.mjs +1 -1
  12. package/components/MazDrawer.mjs +1 -1
  13. package/components/MazDropdown.mjs +1 -1
  14. package/components/MazInput.mjs +1 -1
  15. package/components/MazInputNumber.mjs +1 -1
  16. package/components/MazInputPrice.mjs +1 -1
  17. package/components/MazInputTags.mjs +1 -1
  18. package/components/MazPagination.mjs +1 -1
  19. package/components/MazPhoneNumberInput.mjs +1 -1
  20. package/components/MazPicker.d.ts +1 -1
  21. package/components/MazPicker.mjs +1 -1
  22. package/components/MazSelect.mjs +1 -1
  23. package/components/MazTable.mjs +1 -1
  24. package/components/assets/MazAccordion.css +1 -1
  25. package/components/assets/MazBtn.css +1 -1
  26. package/components/assets/MazCardSpotlight.css +1 -1
  27. package/components/assets/MazChecklist.css +1 -0
  28. package/components/assets/MazDialog.css +1 -1
  29. package/components/assets/MazDialogPromise.css +1 -1
  30. package/components/assets/MazDropdown.css +1 -1
  31. package/components/assets/MazInputNumber.css +1 -1
  32. package/components/assets/MazInputTags.css +1 -1
  33. package/components/assets/MazPagination.css +1 -1
  34. package/components/assets/MazPicker.css +1 -1
  35. package/components/assets/MazTabsBar.css +1 -1
  36. package/components/chunks/{MazBottomSheet-DeAah_or.mjs → MazBottomSheet-BvdiOa8P.mjs} +1 -1
  37. package/components/chunks/{MazBtn-CESOVC-a.mjs → MazBtn-4g56EBmg.mjs} +1 -1
  38. package/components/chunks/{MazBtn-CRpqDW12.mjs → MazBtn-4jMQE2G-.mjs} +3 -3
  39. package/components/chunks/MazBtn-B3i4Ypas.mjs +118 -0
  40. package/components/chunks/MazBtn-B7rKmEGw.mjs +118 -0
  41. package/components/chunks/{MazBtn-BV212IYv.mjs → MazBtn-BAxR_dt3.mjs} +3 -3
  42. package/components/chunks/{MazBtn-C2htID_X.mjs → MazBtn-BF48_wJx.mjs} +3 -3
  43. package/components/chunks/{MazBtn-BXvObcWn.mjs → MazBtn-BRdMg4tc.mjs} +3 -3
  44. package/components/chunks/{MazBtn-C5IbN0rp.mjs → MazBtn-BvirhKh3.mjs} +11 -11
  45. package/components/chunks/{MazBtn-C2dJYsnq.mjs → MazBtn-CEOWwReA.mjs} +3 -3
  46. package/components/chunks/MazBtn-CGYoHDXm.mjs +118 -0
  47. package/components/chunks/{MazBtn-zMzxqcCs.mjs → MazBtn-CVDDOeLF.mjs} +11 -11
  48. package/components/chunks/MazBtn-D6T9wOxO.mjs +118 -0
  49. package/components/chunks/{MazBtn-CEFfMm7k.mjs → MazBtn-DYMxHlYa.mjs} +3 -3
  50. package/components/chunks/{MazBtn-C4xZC-A2.mjs → MazBtn-D_IQO-P2.mjs} +3 -3
  51. package/components/chunks/{MazCard-BF-2_gZV.mjs → MazCard-StYuQv11.mjs} +1 -1
  52. package/components/chunks/{MazCarousel-DVBUt8NL.mjs → MazCarousel-DEO7Tz8F.mjs} +1 -1
  53. package/components/chunks/{MazCheckbox-mgtQBs4K.mjs → MazCheckbox-CtiUQoBe.mjs} +1 -1
  54. package/components/chunks/{MazCheckbox-CeVxgVY8.mjs → MazCheckbox-D9RW0OPf.mjs} +1 -1
  55. package/components/chunks/{MazCheckbox-CEfJco3U.mjs → MazCheckbox-TiwCiE2s.mjs} +1 -1
  56. package/components/chunks/MazChecklist-B9bw1Mn4.mjs +484 -0
  57. package/components/chunks/{MazDialog-fn7vXgBg.mjs → MazDialog-C3urFx7y.mjs} +50 -54
  58. package/components/chunks/{MazDialogPromise-C8dpQb5k.mjs → MazDialogPromise-BuOWwo6n.mjs} +40 -44
  59. package/components/chunks/{MazGallery-CXJsK5ve.mjs → MazGallery-DLNvXEka.mjs} +2 -2
  60. package/components/chunks/{MazIcon-BXX3RaoN.mjs → MazIcon-DyrYf9Sl.mjs} +1 -1
  61. package/components/chunks/{MazInput-Dnwxraz4.mjs → MazInput-BZ2U145p.mjs} +1 -1
  62. package/components/chunks/MazInput-Bq_SbBRE.mjs +290 -0
  63. package/components/chunks/{MazInput-AcA93-8Q.mjs → MazInput-_rEW9XWJ.mjs} +2 -2
  64. package/components/chunks/{MazInputNumber-OY_UqCMs.mjs → MazInputNumber-G8880Neu.mjs} +2 -2
  65. package/components/chunks/{MazInputPrice-DvVAZa12.mjs → MazInputPrice-DROLM9PX.mjs} +1 -1
  66. package/components/chunks/{MazInputTags-DKlGT2IB.mjs → MazInputTags-BRmcZBo4.mjs} +2 -2
  67. package/components/chunks/{MazLoadingBar-By1umvdC.mjs → MazLoadingBar-DHFjKEEm.mjs} +1 -1
  68. package/components/chunks/{MazPagination-BL9LU84U.mjs → MazPagination-6MyYnTer.mjs} +2 -2
  69. package/components/chunks/{MazPhoneNumberInput-C7gUk5lg.mjs → MazPhoneNumberInput-r6OjPeRI.mjs} +3 -3
  70. package/components/chunks/{MazPicker-Dhm3u2MN.mjs → MazPicker-B28fQccE.mjs} +3 -3
  71. package/components/chunks/{MazPickerMonthSwitcher-ck8cl1-N.mjs → MazPickerMonthSwitcher-DrtbXCca.mjs} +1 -1
  72. package/components/chunks/{MazPickerShortcuts-hEpUqVC-.mjs → MazPickerShortcuts-TbhHaKoJ.mjs} +1 -1
  73. package/components/chunks/{MazPickerYearSwitcher-CmMxOc69.mjs → MazPickerYearSwitcher-KwUBj6Cb.mjs} +1 -1
  74. package/components/chunks/{MazSelect-ed445MXs.mjs → MazSelect-BvC9QQ6M.mjs} +2 -2
  75. package/components/chunks/{MazSelect-CGsMRdr7.mjs → MazSelect-DyQC9j4n.mjs} +3 -3
  76. package/components/chunks/{MazSpinner-Akyx5wgU.mjs → MazSpinner-3vO8e4FF.mjs} +1 -1
  77. package/components/chunks/MazSpinner-B0291afs.mjs +37 -0
  78. package/components/chunks/MazSpinner-B0aGd8rG.mjs +37 -0
  79. package/components/chunks/{MazSpinner-DbaTlD5B.mjs → MazSpinner-BziSiJFV.mjs} +1 -1
  80. package/components/chunks/MazSpinner-CKX-8iim.mjs +37 -0
  81. package/components/chunks/MazSpinner-CQ2XrZIS.mjs +37 -0
  82. package/components/chunks/{MazSpinner-B2dsE23u.mjs → MazSpinner-CRW667yE.mjs} +1 -1
  83. package/components/chunks/{MazSpinner-BCOeuzTB.mjs → MazSpinner-D-7IOf2L.mjs} +1 -1
  84. package/components/chunks/MazSpinner-D0t4IJyq.mjs +37 -0
  85. package/components/chunks/{MazSpinner-C9meLNrb.mjs → MazSpinner-D5hiFgo4.mjs} +1 -1
  86. package/components/chunks/{MazSpinner-CKOy0M1T.mjs → MazSpinner-DkXUB0w5.mjs} +1 -1
  87. package/components/chunks/{MazSpinner-BakExtKd.mjs → MazSpinner-DyVjCwmM.mjs} +1 -1
  88. package/components/chunks/MazSpinner-HZYglQFY.mjs +37 -0
  89. package/components/chunks/MazSpinner-JpzVmSvW.mjs +37 -0
  90. package/components/chunks/MazSpinner-Nu5h2A6E.mjs +37 -0
  91. package/components/chunks/MazSpinner-S6Bx7B15.mjs +37 -0
  92. package/components/chunks/MazSpinner-wR0F3mAY.mjs +37 -0
  93. package/components/chunks/{MazTable-QwG-Kh88.mjs → MazTable-DozpABdn.mjs} +1 -1
  94. package/components/chunks/{MazTableCell-BSNyqTSX.mjs → MazTableCell-DPgvJ7vY.mjs} +1 -1
  95. package/components/chunks/{MazTableRow-CgubMdrX.mjs → MazTableRow-CCcjwAV1.mjs} +1 -1
  96. package/components/chunks/{MazTableTitle-h4dattYD.mjs → MazTableTitle-Df7F9Cjh.mjs} +1 -1
  97. package/components/chunks/{MazTransitionExpand-BvqRDM9d.mjs → MazTransitionExpand--vHzXjx7.mjs} +1 -1
  98. package/components/index.d.ts +1 -0
  99. package/components/index.mjs +1 -0
  100. package/css/main.css +1 -1
  101. package/modules/assets/MazBtn.css +1 -1
  102. package/modules/assets/index.css +1 -1
  103. package/modules/chunks/{MazBtn-DvffpPyV.mjs → MazBtn-BVxI1WwF.mjs} +3 -3
  104. package/modules/chunks/{MazBtn-DeAZcD0R.cjs → MazBtn-DrB5FzZN.cjs} +2 -2
  105. package/modules/chunks/{MazIcon-BiwOZEZl.cjs → MazIcon-BMJqOZnG.cjs} +1 -1
  106. package/modules/chunks/{MazIcon-D2B0umvn.mjs → MazIcon-b8WRy8OV.mjs} +1 -1
  107. package/modules/chunks/{MazSpinner-CZIYnX05.cjs → MazSpinner-6H0uaGkV.cjs} +1 -1
  108. package/modules/chunks/{MazSpinner-Csgl_Uho.mjs → MazSpinner-B-Tki1aV.mjs} +1 -1
  109. package/modules/chunks/{index-C34aEXzu.mjs → index-Ch4k74ro.mjs} +1066 -875
  110. package/modules/chunks/index-G8fhXnFU.cjs +149 -0
  111. package/modules/index.cjs +1 -1
  112. package/modules/index.mjs +37 -35
  113. package/nuxt/index.d.mts +20 -20
  114. package/nuxt/index.d.ts +20 -20
  115. package/nuxt/index.json +1 -1
  116. package/nuxt/index.mjs +26 -5
  117. package/package.json +1 -1
  118. package/resolvers/index.cjs +1 -1
  119. package/resolvers/index.mjs +3 -1
  120. package/types/components/MazChecklist.vue.d.ts +79 -0
  121. package/types/components/MazDialogPromise.vue.d.ts +2 -0
  122. package/types/components/MazPicker.vue.d.ts +1 -1
  123. package/types/components/index.d.ts +1 -0
  124. package/types/modules/composables/index.d.ts +1 -0
  125. package/types/modules/composables/useLanguageDisplayNames.d.ts +17 -0
  126. package/types/modules/helpers/normalize-string.d.ts +1 -2
  127. package/components/chunks/MazBtn-CLFly8Ie.mjs +0 -118
  128. package/components/chunks/MazBtn-D2H26ExI.mjs +0 -118
  129. package/components/chunks/MazBtn-y4vRRWDg.mjs +0 -118
  130. package/components/chunks/MazSpinner-CL6orjX7.mjs +0 -37
  131. package/components/chunks/MazSpinner-CQTq0J6f.mjs +0 -37
  132. package/components/chunks/MazSpinner-CeZk8jA9.mjs +0 -37
  133. package/components/chunks/MazSpinner-CqS3onAE.mjs +0 -37
  134. package/components/chunks/MazSpinner-D1zj-581.mjs +0 -37
  135. package/components/chunks/MazSpinner-DJ2t85tY.mjs +0 -37
  136. package/components/chunks/MazSpinner-DgJ9tVv_.mjs +0 -37
  137. package/components/chunks/MazSpinner-DoKvoICM.mjs +0 -37
  138. package/components/chunks/MazSpinner-Oy4E193R.mjs +0 -37
  139. package/modules/chunks/index-B6Pf_QhC.cjs +0 -149
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, defineAsyncComponent as h, useAttrs as O, useSlots as w, computed as t, openBlock as l, createBlock as a, resolveDynamicComponent as d, normalizeClass as s, withCtx as E, createCommentVNode as o, renderSlot as f, unref as y, createElementBlock as R, createVNode as A } from "vue";
1
+ import { defineComponent as F, defineAsyncComponent as h, useAttrs as O, useSlots as w, computed as t, openBlock as l, createBlock as a, resolveDynamicComponent as c, normalizeClass as s, withCtx as E, createCommentVNode as o, renderSlot as f, unref as y, createElementBlock as R, createVNode as A } from "vue";
2
2
  import '../assets/MazBtn.css';const D = {
3
3
  key: 2,
4
4
  class: "m-btn-loader-container"
@@ -27,12 +27,12 @@ import '../assets/MazBtn.css';const D = {
27
27
  justify: { default: "center" }
28
28
  },
29
29
  setup(u) {
30
- const n = u, c = h(() => import("./MazSpinner-DbaTlD5B.mjs")), r = h(() => import("./MazIcon-BbvBov5G.mjs")), { href: p, to: g } = O(), v = w(), m = t(() => p ? "a" : g ? "router-link" : "button"), j = t(
30
+ const n = u, d = h(() => import("./MazSpinner-BziSiJFV.mjs")), r = h(() => import("./MazIcon-BbvBov5G.mjs")), { href: p, to: g } = O(), v = w(), m = t(() => p ? "a" : g ? "router-link" : "button"), j = t(
31
31
  () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
32
32
  ), b = t(
33
33
  () => (n.loading || n.disabled) && m.value === "button"
34
34
  ), I = t(() => b.value ? "--cursor-default" : "--cursor-pointer"), k = t(() => `--is-${n.variant}`), B = t(() => n.loading && n.variant === "button"), C = t(() => !!v["left-icon"] || n.leftIcon), z = t(() => !!v["right-icon"] || n.rightIcon), S = t(() => C.value || z.value), $ = t(() => n.icon || !!v.icon), M = t(() => m.value === "button" ? n.type : void 0), i = t(() => 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"), T = t(() => 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, P) => (l(), a(d(m.value), {
35
+ return (e, P) => (l(), a(c(m.value), {
36
36
  disabled: b.value || void 0,
37
37
  class: s(["m-btn", [
38
38
  `--${e.size}`,
@@ -65,7 +65,7 @@ import '../assets/MazBtn.css';const D = {
65
65
  key: 0,
66
66
  name: e.leftIcon,
67
67
  class: s([i.value])
68
- }, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(d(e.leftIcon), {
68
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(c(e.leftIcon), {
69
69
  key: 1,
70
70
  class: s([i.value])
71
71
  }, null, 8, ["class"])) : o("v-if", !0)
@@ -78,7 +78,7 @@ import '../assets/MazBtn.css';const D = {
78
78
  key: 0,
79
79
  name: e.icon,
80
80
  class: s([i.value])
81
- }, null, 8, ["name", "class"])) : e.icon ? (l(), a(d(e.icon), {
81
+ }, null, 8, ["name", "class"])) : e.icon ? (l(), a(c(e.icon), {
82
82
  key: 1,
83
83
  class: s([i.value])
84
84
  }, null, 8, ["class"])) : o("v-if", !0)
@@ -95,13 +95,13 @@ import '../assets/MazBtn.css';const D = {
95
95
  key: 0,
96
96
  name: e.rightIcon,
97
97
  class: s([i.value])
98
- }, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(d(e.rightIcon), {
98
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(c(e.rightIcon), {
99
99
  key: 1,
100
100
  class: s([i.value])
101
101
  }, null, 8, ["class"])) : o("v-if", !0)
102
102
  ], !0) : o("v-if", !0),
103
103
  B.value ? (l(), R("div", D, [
104
- A(y(c), {
104
+ A(y(d), {
105
105
  size: "2em",
106
106
  color: e.color
107
107
  }, null, 8, ["color"])
@@ -112,11 +112,11 @@ import '../assets/MazBtn.css';const D = {
112
112
  }, 8, ["disabled", "class", "type"]));
113
113
  }
114
114
  }), N = (u, n) => {
115
- const c = u.__vccOpts || u;
115
+ const d = u.__vccOpts || u;
116
116
  for (const [r, p] of n)
117
- c[r] = p;
118
- return c;
119
- }, V = /* @__PURE__ */ N(L, [["__scopeId", "data-v-5aedac30"]]);
117
+ d[r] = p;
118
+ return d;
119
+ }, V = /* @__PURE__ */ N(L, [["__scopeId", "data-v-d3a1ed01"]]);
120
120
  export {
121
121
  V as M,
122
122
  N as _
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as M, defineAsyncComponent as v, useAttrs as w, useSlots as E, computed as o, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
2
- import { _ as D } from "./MazCard-BF-2_gZV.mjs";
2
+ import { _ as D } from "./MazCard-StYuQv11.mjs";
3
3
  import '../assets/MazBtn.css';const L = {
4
4
  key: 2,
5
5
  class: "m-btn-loader-container"
@@ -28,7 +28,7 @@ import '../assets/MazBtn.css';const L = {
28
28
  justify: { default: "center" }
29
29
  },
30
30
  setup(b) {
31
- const n = b, z = v(() => import("./MazSpinner-BCOeuzTB.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
31
+ const n = b, z = v(() => import("./MazSpinner-D-7IOf2L.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
32
32
  () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
33
  ), p = o(
34
34
  () => (n.loading || n.disabled) && y.value === "button"
@@ -112,7 +112,7 @@ import '../assets/MazBtn.css';const L = {
112
112
  /* FORWARDED */
113
113
  }, 8, ["disabled", "class", "type"]));
114
114
  }
115
- }), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-5aedac30"]]);
115
+ }), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-d3a1ed01"]]);
116
116
  export {
117
117
  q as default
118
118
  };
@@ -0,0 +1,118 @@
1
+ import { defineComponent as M, defineAsyncComponent as v, useAttrs as w, useSlots as E, computed as o, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
2
+ import { _ as D } from "./MazBottomSheet-BvdiOa8P.mjs";
3
+ import '../assets/MazBtn.css';const L = {
4
+ key: 2,
5
+ class: "m-btn-loader-container"
6
+ }, N = /* @__PURE__ */ M({
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(b) {
31
+ const n = b, z = v(() => import("./MazSpinner-B0aGd8rG.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
32
+ () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
+ ), p = o(
34
+ () => (n.loading || n.disabled) && y.value === "button"
35
+ ), I = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), B = o(() => n.loading && n.variant === "button"), C = o(() => !!f["left-icon"] || n.leftIcon), m = o(() => !!f["right-icon"] || n.rightIcon), S = o(() => C.value || m.value), $ = o(() => n.icon || !!f.icon), T = o(() => y.value === "button" ? n.type : void 0), i = 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"), F = 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, P) => (l(), a(r(y.value), {
37
+ disabled: p.value || void 0,
38
+ class: s(["m-btn", [
39
+ `--${e.size}`,
40
+ !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
+ j.value,
42
+ I.value,
43
+ k.value,
44
+ F.value,
45
+ {
46
+ "--block": e.block,
47
+ "--no-underline": e.noUnderline,
48
+ "--fab": e.fab,
49
+ "--loading": e.loading,
50
+ "--disabled": p.value,
51
+ "--icon": S.value,
52
+ "--rounded": e.rounded,
53
+ "--no-rounded": e.noRounded,
54
+ "--no-padding": e.noPadding,
55
+ "--no-elevation": e.noElevation
56
+ }
57
+ ]]),
58
+ type: T.value
59
+ }, {
60
+ default: O(() => [
61
+ t(`
62
+ @slot left-icon - The icon to display on the left of the button
63
+ `),
64
+ u(e.$slots, "left-icon", {}, () => [
65
+ typeof e.leftIcon == "string" ? (l(), a(d(c), {
66
+ key: 0,
67
+ name: e.leftIcon,
68
+ class: s([i.value])
69
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
70
+ key: 1,
71
+ class: s([i.value])
72
+ }, null, 8, ["class"])) : t("v-if", !0)
73
+ ], !0),
74
+ t(`
75
+ @slot icon - The icon to display on the fab button
76
+ `),
77
+ $.value ? u(e.$slots, "icon", { key: 0 }, () => [
78
+ typeof e.icon == "string" ? (l(), a(d(c), {
79
+ key: 0,
80
+ name: e.icon,
81
+ class: s([i.value])
82
+ }, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
83
+ key: 1,
84
+ class: s([i.value])
85
+ }, null, 8, ["class"])) : t("v-if", !0)
86
+ ], !0) : t("v-if", !0),
87
+ t(`
88
+ @slot default - The content of the button
89
+ `),
90
+ u(e.$slots, "default", {}, void 0, !0),
91
+ t(`
92
+ @slot left-icon - The icon to display on the left of the button
93
+ `),
94
+ m.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
95
+ typeof e.rightIcon == "string" ? (l(), a(d(c), {
96
+ key: 0,
97
+ name: e.rightIcon,
98
+ class: s([i.value])
99
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
100
+ key: 1,
101
+ class: s([i.value])
102
+ }, null, 8, ["class"])) : t("v-if", !0)
103
+ ], !0) : t("v-if", !0),
104
+ B.value ? (l(), R("div", L, [
105
+ A(d(z), {
106
+ size: "2em",
107
+ color: e.color
108
+ }, null, 8, ["color"])
109
+ ])) : t("v-if", !0)
110
+ ]),
111
+ _: 3
112
+ /* FORWARDED */
113
+ }, 8, ["disabled", "class", "type"]));
114
+ }
115
+ }), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-d3a1ed01"]]);
116
+ export {
117
+ q as default
118
+ };
@@ -1,4 +1,4 @@
1
- import { defineComponent as T, defineAsyncComponent as g, useAttrs as F, useSlots as w, computed as t, openBlock as l, createBlock as a, resolveDynamicComponent as d, normalizeClass as s, withCtx as E, createCommentVNode as o, renderSlot as f, unref as y, createElementBlock as P, createVNode as R } from "vue";
1
+ import { defineComponent as T, defineAsyncComponent as g, useAttrs as F, useSlots as w, computed as t, openBlock as l, createBlock as a, resolveDynamicComponent as c, normalizeClass as s, withCtx as E, createCommentVNode as o, renderSlot as f, unref as y, createElementBlock as P, createVNode as R } from "vue";
2
2
  import '../assets/MazBtn.css';const A = {
3
3
  key: 2,
4
4
  class: "m-btn-loader-container"
@@ -27,12 +27,12 @@ import '../assets/MazBtn.css';const A = {
27
27
  justify: { default: "center" }
28
28
  },
29
29
  setup(u) {
30
- const n = u, c = g(() => import("./MazSpinner-CKOy0M1T.mjs")), r = g(() => import("./MazIcon-BbvBov5G.mjs")), { href: p, to: h } = F(), v = w(), m = t(() => p ? "a" : h ? "router-link" : "button"), j = t(
30
+ const n = u, d = g(() => import("./MazSpinner-DkXUB0w5.mjs")), r = g(() => import("./MazIcon-BbvBov5G.mjs")), { href: p, to: h } = F(), v = w(), m = t(() => p ? "a" : h ? "router-link" : "button"), j = t(
31
31
  () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
32
32
  ), b = t(
33
33
  () => (n.loading || n.disabled) && m.value === "button"
34
34
  ), I = t(() => b.value ? "--cursor-default" : "--cursor-pointer"), k = t(() => `--is-${n.variant}`), B = t(() => n.loading && n.variant === "button"), C = t(() => !!v["left-icon"] || n.leftIcon), z = t(() => !!v["right-icon"] || n.rightIcon), S = t(() => C.value || z.value), $ = t(() => n.icon || !!v.icon), M = t(() => m.value === "button" ? n.type : void 0), i = t(() => 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"), O = t(() => 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, U) => (l(), a(d(m.value), {
35
+ return (e, U) => (l(), a(c(m.value), {
36
36
  disabled: b.value || void 0,
37
37
  class: s(["m-btn", [
38
38
  `--${e.size}`,
@@ -65,7 +65,7 @@ import '../assets/MazBtn.css';const A = {
65
65
  key: 0,
66
66
  name: e.leftIcon,
67
67
  class: s([i.value])
68
- }, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(d(e.leftIcon), {
68
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(c(e.leftIcon), {
69
69
  key: 1,
70
70
  class: s([i.value])
71
71
  }, null, 8, ["class"])) : o("v-if", !0)
@@ -78,7 +78,7 @@ import '../assets/MazBtn.css';const A = {
78
78
  key: 0,
79
79
  name: e.icon,
80
80
  class: s([i.value])
81
- }, null, 8, ["name", "class"])) : e.icon ? (l(), a(d(e.icon), {
81
+ }, null, 8, ["name", "class"])) : e.icon ? (l(), a(c(e.icon), {
82
82
  key: 1,
83
83
  class: s([i.value])
84
84
  }, null, 8, ["class"])) : o("v-if", !0)
@@ -95,13 +95,13 @@ import '../assets/MazBtn.css';const A = {
95
95
  key: 0,
96
96
  name: e.rightIcon,
97
97
  class: s([i.value])
98
- }, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(d(e.rightIcon), {
98
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(c(e.rightIcon), {
99
99
  key: 1,
100
100
  class: s([i.value])
101
101
  }, null, 8, ["class"])) : o("v-if", !0)
102
102
  ], !0) : o("v-if", !0),
103
103
  B.value ? (l(), P("div", A, [
104
- R(y(c), {
104
+ R(y(d), {
105
105
  size: "2em",
106
106
  color: e.color
107
107
  }, null, 8, ["color"])
@@ -112,11 +112,11 @@ import '../assets/MazBtn.css';const A = {
112
112
  }, 8, ["disabled", "class", "type"]));
113
113
  }
114
114
  }), L = (u, n) => {
115
- const c = u.__vccOpts || u;
115
+ const d = u.__vccOpts || u;
116
116
  for (const [r, p] of n)
117
- c[r] = p;
118
- return c;
119
- }, N = /* @__PURE__ */ L(D, [["__scopeId", "data-v-5aedac30"]]), q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
117
+ d[r] = p;
118
+ return d;
119
+ }, N = /* @__PURE__ */ L(D, [["__scopeId", "data-v-d3a1ed01"]]), q = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
120
120
  __proto__: null,
121
121
  default: N
122
122
  }, Symbol.toStringTag, { value: "Module" }));
@@ -0,0 +1,118 @@
1
+ import { defineComponent as M, defineAsyncComponent as v, useAttrs as w, useSlots as E, computed as o, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
2
+ import { _ as D } from "./MazChecklist-B9bw1Mn4.mjs";
3
+ import '../assets/MazBtn.css';const L = {
4
+ key: 2,
5
+ class: "m-btn-loader-container"
6
+ }, N = /* @__PURE__ */ M({
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(b) {
31
+ const n = b, z = v(() => import("./MazSpinner-CQ2XrZIS.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
32
+ () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
+ ), p = o(
34
+ () => (n.loading || n.disabled) && y.value === "button"
35
+ ), I = o(() => p.value ? "--cursor-default" : "--cursor-pointer"), k = o(() => `--is-${n.variant}`), B = o(() => n.loading && n.variant === "button"), C = o(() => !!f["left-icon"] || n.leftIcon), m = o(() => !!f["right-icon"] || n.rightIcon), S = o(() => C.value || m.value), $ = o(() => n.icon || !!f.icon), T = o(() => y.value === "button" ? n.type : void 0), i = 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"), F = 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, P) => (l(), a(r(y.value), {
37
+ disabled: p.value || void 0,
38
+ class: s(["m-btn", [
39
+ `--${e.size}`,
40
+ !e.fab && !e.rounded && e.roundedSize && `--rounded-${e.roundedSize}`,
41
+ j.value,
42
+ I.value,
43
+ k.value,
44
+ F.value,
45
+ {
46
+ "--block": e.block,
47
+ "--no-underline": e.noUnderline,
48
+ "--fab": e.fab,
49
+ "--loading": e.loading,
50
+ "--disabled": p.value,
51
+ "--icon": S.value,
52
+ "--rounded": e.rounded,
53
+ "--no-rounded": e.noRounded,
54
+ "--no-padding": e.noPadding,
55
+ "--no-elevation": e.noElevation
56
+ }
57
+ ]]),
58
+ type: T.value
59
+ }, {
60
+ default: O(() => [
61
+ t(`
62
+ @slot left-icon - The icon to display on the left of the button
63
+ `),
64
+ u(e.$slots, "left-icon", {}, () => [
65
+ typeof e.leftIcon == "string" ? (l(), a(d(c), {
66
+ key: 0,
67
+ name: e.leftIcon,
68
+ class: s([i.value])
69
+ }, null, 8, ["name", "class"])) : e.leftIcon ? (l(), a(r(e.leftIcon), {
70
+ key: 1,
71
+ class: s([i.value])
72
+ }, null, 8, ["class"])) : t("v-if", !0)
73
+ ], !0),
74
+ t(`
75
+ @slot icon - The icon to display on the fab button
76
+ `),
77
+ $.value ? u(e.$slots, "icon", { key: 0 }, () => [
78
+ typeof e.icon == "string" ? (l(), a(d(c), {
79
+ key: 0,
80
+ name: e.icon,
81
+ class: s([i.value])
82
+ }, null, 8, ["name", "class"])) : e.icon ? (l(), a(r(e.icon), {
83
+ key: 1,
84
+ class: s([i.value])
85
+ }, null, 8, ["class"])) : t("v-if", !0)
86
+ ], !0) : t("v-if", !0),
87
+ t(`
88
+ @slot default - The content of the button
89
+ `),
90
+ u(e.$slots, "default", {}, void 0, !0),
91
+ t(`
92
+ @slot left-icon - The icon to display on the left of the button
93
+ `),
94
+ m.value ? u(e.$slots, "right-icon", { key: 1 }, () => [
95
+ typeof e.rightIcon == "string" ? (l(), a(d(c), {
96
+ key: 0,
97
+ name: e.rightIcon,
98
+ class: s([i.value])
99
+ }, null, 8, ["name", "class"])) : e.rightIcon ? (l(), a(r(e.rightIcon), {
100
+ key: 1,
101
+ class: s([i.value])
102
+ }, null, 8, ["class"])) : t("v-if", !0)
103
+ ], !0) : t("v-if", !0),
104
+ B.value ? (l(), R("div", L, [
105
+ A(d(z), {
106
+ size: "2em",
107
+ color: e.color
108
+ }, null, 8, ["color"])
109
+ ])) : t("v-if", !0)
110
+ ]),
111
+ _: 3
112
+ /* FORWARDED */
113
+ }, 8, ["disabled", "class", "type"]));
114
+ }
115
+ }), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-d3a1ed01"]]);
116
+ export {
117
+ q as default
118
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as M, defineAsyncComponent as v, useAttrs as w, useSlots as E, computed as o, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
2
- import { _ as D } from "./MazDialog-fn7vXgBg.mjs";
2
+ import { _ as D } from "./MazSelect-BvC9QQ6M.mjs";
3
3
  import '../assets/MazBtn.css';const L = {
4
4
  key: 2,
5
5
  class: "m-btn-loader-container"
@@ -28,7 +28,7 @@ import '../assets/MazBtn.css';const L = {
28
28
  justify: { default: "center" }
29
29
  },
30
30
  setup(b) {
31
- const n = b, z = v(() => import("./MazSpinner-CQTq0J6f.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
31
+ const n = b, z = v(() => import("./MazSpinner-Nu5h2A6E.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
32
32
  () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
33
  ), p = o(
34
34
  () => (n.loading || n.disabled) && y.value === "button"
@@ -112,7 +112,7 @@ import '../assets/MazBtn.css';const L = {
112
112
  /* FORWARDED */
113
113
  }, 8, ["disabled", "class", "type"]));
114
114
  }
115
- }), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-5aedac30"]]);
115
+ }), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-d3a1ed01"]]);
116
116
  export {
117
117
  q as default
118
118
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as M, defineAsyncComponent as v, useAttrs as w, useSlots as E, computed as o, openBlock as l, createBlock as a, resolveDynamicComponent as r, normalizeClass as s, withCtx as O, createCommentVNode as t, renderSlot as u, unref as d, createElementBlock as R, createVNode as A } from "vue";
2
- import { _ as D } from "./MazInput-Dnwxraz4.mjs";
2
+ import { _ as D } from "./MazInput-BZ2U145p.mjs";
3
3
  import '../assets/MazBtn.css';const L = {
4
4
  key: 2,
5
5
  class: "m-btn-loader-container"
@@ -28,7 +28,7 @@ import '../assets/MazBtn.css';const L = {
28
28
  justify: { default: "center" }
29
29
  },
30
30
  setup(b) {
31
- const n = b, z = v(() => import("./MazSpinner-DoKvoICM.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
31
+ const n = b, z = v(() => import("./MazSpinner-JpzVmSvW.mjs")), c = v(() => import("./MazIcon-BbvBov5G.mjs")), { href: h, to: g } = w(), f = E(), y = o(() => h ? "a" : g ? "router-link" : "button"), j = o(
32
32
  () => n.pastel ? `--${n.color}-pastel` : n.outline ? `--${n.color}-outline` : `--${n.color}`
33
33
  ), p = o(
34
34
  () => (n.loading || n.disabled) && y.value === "button"
@@ -112,7 +112,7 @@ import '../assets/MazBtn.css';const L = {
112
112
  /* FORWARDED */
113
113
  }, 8, ["disabled", "class", "type"]));
114
114
  }
115
- }), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-5aedac30"]]);
115
+ }), q = /* @__PURE__ */ D(N, [["__scopeId", "data-v-d3a1ed01"]]);
116
116
  export {
117
117
  q as default
118
118
  };
@@ -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-C2dJYsnq.mjs")), g = c(() => import("./MazGallery-CXJsK5ve.mjs")), z = c(() => import("./MazTransitionExpand-BvqRDM9d.mjs")), S = c(() => import("./chevron-down-BkvtON3b.mjs")), M = H(), t = r(() => o.collapsible || o.collapsable), s = N(t.value ? o.collapseOpen : !0), k = r(() => o.href || o.to);
45
+ const o = m, v = c(() => import("./MazBtn-CEOWwReA.mjs")), g = c(() => import("./MazGallery-DLNvXEka.mjs")), z = c(() => import("./MazTransitionExpand--vHzXjx7.mjs")), S = c(() => import("./chevron-down-BkvtON3b.mjs")), M = H(), t = r(() => o.collapsible || o.collapsable), s = 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 d = l, o = _(() => import("./MazBtn-y4vRRWDg.mjs")), f = _(() => import("./chevron-left-BqVOLRdC.mjs")), m = _(() => import("./chevron-right-CbjzEeHV.mjs")), h = N(), b = p(!1), S = p(!1), v = p();
14
+ const d = l, o = _(() => import("./MazBtn-B7rKmEGw.mjs")), f = _(() => import("./chevron-left-BqVOLRdC.mjs")), m = _(() => import("./chevron-right-CbjzEeHV.mjs")), h = N(), b = p(!1), S = p(!1), v = p();
15
15
  function y() {
16
16
  return !d.noScrollBtn || h.title;
17
17
  }
@@ -1,5 +1,5 @@
1
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-ed445MXs.mjs";
2
+ import { u as F, _ as H } from "./MazSelect-BvC9QQ6M.mjs";
3
3
  import K from "./check-C9Q_W85g.mjs";
4
4
  import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id", "checked", "disabled", "name"], U = { class: "m-checkbox__text" }, $ = /* @__PURE__ */ I({
5
5
  inheritAttrs: !1,
@@ -1,7 +1,7 @@
1
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
2
  import { u as F } from "./useInstanceUniqId-DW9jO1Sz.mjs";
3
3
  import H from "./check-C9Q_W85g.mjs";
4
- import { _ as K } from "./MazTable-QwG-Kh88.mjs";
4
+ import { _ as K } from "./MazTable-DozpABdn.mjs";
5
5
  import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id", "checked", "disabled", "name"], U = { class: "m-checkbox__text" }, $ = /* @__PURE__ */ I({
6
6
  inheritAttrs: !1,
7
7
  __name: "MazCheckbox",
@@ -1,5 +1,5 @@
1
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 "./MazPhoneNumberInput-C7gUk5lg.mjs";
2
+ import { u as F, _ as H } from "./MazPhoneNumberInput-r6OjPeRI.mjs";
3
3
  import K from "./check-C9Q_W85g.mjs";
4
4
  import '../assets/MazCheckbox.css';const P = ["for", "aria-checked"], T = ["id", "checked", "disabled", "name"], U = { class: "m-checkbox__text" }, $ = /* @__PURE__ */ I({
5
5
  inheritAttrs: !1,