maz-ui 3.47.1 → 3.47.2-beta.2

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 (163) hide show
  1. package/components/MazAccordion.mjs +36 -37
  2. package/components/MazAnimatedCounter.mjs +14 -16
  3. package/components/MazBottomSheet.mjs +1 -1
  4. package/components/MazBtn.mjs +1 -1
  5. package/components/MazCard.mjs +1 -1
  6. package/components/MazCarousel.mjs +1 -1
  7. package/components/MazChart.d.ts +1 -1
  8. package/components/MazChart.mjs +23 -32
  9. package/components/MazChecklist.mjs +1 -1
  10. package/components/MazCircularProgressBar.mjs +66 -71
  11. package/components/MazDialog.mjs +1 -1
  12. package/components/MazDialogPromise.mjs +1 -1
  13. package/components/MazDrawer.mjs +1 -1
  14. package/components/MazDropdown.mjs +162 -185
  15. package/components/MazExpandAnimation.mjs +20 -21
  16. package/components/MazGallery.mjs +1 -1
  17. package/components/MazInput.mjs +1 -1
  18. package/components/MazInputCode.mjs +30 -31
  19. package/components/MazInputNumber.mjs +1 -1
  20. package/components/MazInputPrice.mjs +1 -1
  21. package/components/MazInputTags.mjs +1 -1
  22. package/components/MazLink.mjs +18 -30
  23. package/components/MazPagination.mjs +1 -1
  24. package/components/MazPhoneNumberInput.mjs +1 -1
  25. package/components/MazPicker.mjs +1 -1
  26. package/components/MazRadio.mjs +37 -42
  27. package/components/MazRadioButtons.mjs +61 -66
  28. package/components/MazSelect.mjs +1 -1
  29. package/components/MazSlider.mjs +107 -116
  30. package/components/MazStepper.mjs +1 -1
  31. package/components/MazSwitch.mjs +24 -28
  32. package/components/MazTable.d.ts +31 -54
  33. package/components/MazTable.mjs +1 -1
  34. package/components/MazTabsBar.mjs +1 -1
  35. package/components/MazTextarea.mjs +32 -34
  36. package/components/assets/MazDropdown.css +1 -1
  37. package/components/assets/MazGallery.css +1 -1
  38. package/components/assets/MazInput.css +1 -1
  39. package/components/assets/MazInputNumber.css +1 -1
  40. package/components/assets/MazInputPrice.css +1 -1
  41. package/components/assets/MazInputTags.css +1 -1
  42. package/components/assets/MazLink.css +1 -1
  43. package/components/assets/MazPhoneNumberInput.css +1 -1
  44. package/components/assets/MazPicker.css +1 -1
  45. package/components/assets/MazSelect.css +1 -1
  46. package/components/assets/MazTable.css +1 -1
  47. package/components/assets/MazTabsBar.css +1 -1
  48. package/components/chunks/{MazBadge-CNSfzYq-.mjs → MazBadge-CqppWg2j.mjs} +1 -1
  49. package/components/chunks/{MazBottomSheet-DqK0EOsq.mjs → MazBottomSheet-CGRvZmGd.mjs} +28 -29
  50. package/{modules/chunks/MazBtn-CTqI4qhg.mjs → components/chunks/MazBtn-2VKM1wZu.mjs} +37 -49
  51. package/components/chunks/{MazBtn-TkePGm5o.mjs → MazBtn-40lm8-AL.mjs} +37 -49
  52. package/components/chunks/{MazBtn-DzBXfedt.mjs → MazBtn-BB1FyYWv.mjs} +35 -44
  53. package/components/chunks/{MazBtn-CnqRnXh_.mjs → MazBtn-BMYXMZuX.mjs} +37 -49
  54. package/components/chunks/{MazBtn-D6Jxw9Nr.mjs → MazBtn-BijEMn4r.mjs} +37 -49
  55. package/components/chunks/MazBtn-BmrcK2af.mjs +106 -0
  56. package/components/chunks/MazBtn-C72_1uvu.mjs +106 -0
  57. package/components/chunks/MazBtn-CWloP6MI.mjs +111 -0
  58. package/components/chunks/MazBtn-CcyV4DCc.mjs +106 -0
  59. package/components/chunks/MazBtn-DENEMy-c.mjs +106 -0
  60. package/components/chunks/MazBtn-DfqRZvbB.mjs +106 -0
  61. package/components/chunks/MazBtn-UnZQuu6P.mjs +106 -0
  62. package/components/chunks/MazBtn-cDJlUVVY.mjs +106 -0
  63. package/components/chunks/MazBtn-hUslV7wO.mjs +106 -0
  64. package/components/chunks/{MazCard-CfkvpcGL.mjs → MazCard-BYB8y1_u.mjs} +18 -19
  65. package/components/chunks/{MazCarousel-BEl86YGW.mjs → MazCarousel-DccWVW8H.mjs} +20 -21
  66. package/components/chunks/{MazCheckbox-BKCo6EzO.mjs → MazCheckbox-B22OcHt8.mjs} +1 -1
  67. package/components/chunks/{MazCheckbox-CI8ml-P8.mjs → MazCheckbox-DMogZVHl.mjs} +1 -1
  68. package/components/chunks/{MazCheckbox-Byqz8JJB.mjs → MazCheckbox-Db6sPUbV.mjs} +1 -1
  69. package/components/chunks/{MazChecklist-BLxsNHMP.mjs → MazChecklist-C95Y4Hb-.mjs} +112 -118
  70. package/components/chunks/{MazDialog-CPgFpAlq.mjs → MazDialog-khofH-7I.mjs} +66 -81
  71. package/components/chunks/MazDialogPromise-ZRA2ZrO4.mjs +488 -0
  72. package/components/chunks/{MazExpandAnimation-Bkw_wFTi.mjs → MazExpandAnimation-MDimlZGj.mjs} +7 -8
  73. package/components/chunks/{MazGallery-BMFwld84.mjs → MazGallery-CXQiXWFr.mjs} +267 -225
  74. package/components/chunks/{MazGallery-BKL7gfrz.mjs → MazGallery-VTZUhBKC.mjs} +249 -207
  75. package/components/chunks/{MazIcon-D8V8ixhf.mjs → MazIcon-BF5TFzse.mjs} +1 -1
  76. package/components/chunks/{MazInput-O6Q41Fm0.mjs → MazInput-DC3S-CVu.mjs} +43 -52
  77. package/components/chunks/{MazInput-CBiCdd0F.mjs → MazInput-DzWkS-g8.mjs} +41 -50
  78. package/components/chunks/{MazInput-Dx2cCzFS.mjs → MazInput-NE6H-10w.mjs} +38 -47
  79. package/components/chunks/{MazInputNumber-DYPVUz4k.mjs → MazInputNumber-DRXQXHRv.mjs} +168 -189
  80. package/components/chunks/{MazInputPrice-DZD7ZZpm.mjs → MazInputPrice-DoTnDDIN.mjs} +49 -58
  81. package/components/chunks/{MazInputTags-CxXBsTdM.mjs → MazInputTags-Dj3sW-e5.mjs} +189 -209
  82. package/components/chunks/{MazLink-Dl9ePCGm.mjs → MazLink-C_3Wya94.mjs} +19 -31
  83. package/components/chunks/{MazLoadingBar-Di2OIrPD.mjs → MazLoadingBar-DdjHRC7g.mjs} +1 -1
  84. package/components/chunks/MazPagination-BkT4_LLW.mjs +330 -0
  85. package/components/chunks/{MazPhoneNumberInput-C4TX1tGw.mjs → MazPhoneNumberInput-BbssOUzo.mjs} +503 -547
  86. package/components/chunks/{MazPicker-BcQ_-AJH.mjs → MazPicker-DwWiIYAR.mjs} +244 -265
  87. package/components/chunks/{MazPickerMonthSwitcher-hCAkEd5r.mjs → MazPickerMonthSwitcher-CmFFQoPA.mjs} +1 -1
  88. package/components/chunks/{MazPickerShortcuts-vpLyw1de.mjs → MazPickerShortcuts-DaELz7aq.mjs} +1 -1
  89. package/components/chunks/{MazPickerYearSwitcher-DvC79vrt.mjs → MazPickerYearSwitcher-m1_KXnpA.mjs} +1 -1
  90. package/components/chunks/{MazSelect-BXzgSKmL.mjs → MazSelect-BJ07NVXQ.mjs} +160 -180
  91. package/components/chunks/{MazSelect-Baj2BQH7.mjs → MazSelect-CDV9Fx6m.mjs} +124 -136
  92. package/components/chunks/{MazSpinner-Bvb-lKER.mjs → MazSpinner-Bb3f2t6w.mjs} +1 -1
  93. package/components/chunks/{MazSpinner-Cqp-BMvL.mjs → MazSpinner-BcB0szZB.mjs} +1 -1
  94. package/components/chunks/{MazSpinner-C1SiKhfK.mjs → MazSpinner-BpkPcfCt.mjs} +1 -1
  95. package/components/chunks/{MazSpinner-CAbYLlEZ.mjs → MazSpinner-BsYJDmi9.mjs} +1 -1
  96. package/components/chunks/MazSpinner-BymqEMBk.mjs +34 -0
  97. package/components/chunks/MazSpinner-C-64WJje.mjs +34 -0
  98. package/components/chunks/MazSpinner-CEFbkZkM.mjs +34 -0
  99. package/components/chunks/{MazSpinner-B8akphXs.mjs → MazSpinner-CfiIXW8y.mjs} +1 -1
  100. package/components/chunks/MazSpinner-CykRbNHD.mjs +34 -0
  101. package/components/chunks/{MazSpinner-C-z3-68w.mjs → MazSpinner-D3-pqOh3.mjs} +1 -1
  102. package/components/chunks/{MazSpinner-B5lezvu4.mjs → MazSpinner-DS58mtzm.mjs} +1 -1
  103. package/components/chunks/{MazSpinner-DwSGm0-X.mjs → MazSpinner-DmiLBQgR.mjs} +1 -1
  104. package/components/chunks/MazSpinner-Dmkr_r9u.mjs +34 -0
  105. package/components/chunks/MazSpinner-DoRGA1RI.mjs +34 -0
  106. package/components/chunks/MazSpinner-eC03bFP5.mjs +34 -0
  107. package/components/chunks/{MazSpinner-Cb3_S0zT.mjs → MazSpinner-edxn0ncQ.mjs} +1 -1
  108. package/components/chunks/MazSpinner-f2Mc2eRO.mjs +34 -0
  109. package/components/chunks/MazSpinner-n4Dp5ZsH.mjs +34 -0
  110. package/components/chunks/MazStepper-BREfkpUb.mjs +213 -0
  111. package/components/chunks/{MazTable-CulBGLaj.mjs → MazTable-BJDPdIJB.mjs} +183 -227
  112. package/components/chunks/{MazTableCell-BXDbkEJq.mjs → MazTableCell-DILuUCTe.mjs} +1 -1
  113. package/components/chunks/{MazTableRow-Ds3CDEit.mjs → MazTableRow-D6H6-c8J.mjs} +1 -1
  114. package/components/chunks/{MazTableTitle-uirsgvk_.mjs → MazTableTitle-Ch-nyY1E.mjs} +1 -1
  115. package/components/chunks/MazTabsBar-CM-w7V97.mjs +193 -0
  116. package/components/chunks/{MazTransitionExpand-4Ll_5LDO.mjs → MazTransitionExpand-PmUDa51_.mjs} +1 -1
  117. package/css/main.css +1 -1
  118. package/modules/assets/index.css +1 -1
  119. package/modules/chunks/MazBtn-B_Xlvgbg.cjs +1 -0
  120. package/modules/chunks/MazBtn-Dsr06Zgg.mjs +106 -0
  121. package/modules/chunks/{MazIcon-BtomZnkQ.cjs → MazIcon-CkuzyufF.cjs} +1 -1
  122. package/modules/chunks/{MazIcon-BB0DMfOc.mjs → MazIcon-DEgoQbMj.mjs} +1 -1
  123. package/modules/chunks/{MazSpinner-CDJhmIRl.mjs → MazSpinner-BurN-1pb.mjs} +1 -1
  124. package/modules/chunks/{MazSpinner-BASKjaLe.cjs → MazSpinner-jP4QsCNE.cjs} +1 -1
  125. package/modules/chunks/index-CUNN0eIB.cjs +124 -0
  126. package/modules/chunks/{index-C2yAjM0P.mjs → index-CxFUggmu.mjs} +925 -931
  127. package/modules/index.cjs +1 -1
  128. package/modules/index.mjs +1 -1
  129. package/nuxt/index.json +1 -1
  130. package/package.json +1 -1
  131. package/types/components/MazChart.vue.d.ts +1 -1
  132. package/types/components/MazTable.vue.d.ts +31 -54
  133. package/types/modules/composables/useFormValidator/types.d.ts +5 -1
  134. package/types/modules/composables/useFormValidator/useFormField.d.ts +3 -3
  135. package/types/modules/composables/useFormValidator/useFormValidator.d.ts +2 -2
  136. package/types/modules/composables/useFormValidator/utils.d.ts +12 -12
  137. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +5 -5
  138. package/types/modules/helpers/check-availability.d.ts +1 -0
  139. package/components/chunks/MazBtn-BRUaoP8j.mjs +0 -126
  140. package/components/chunks/MazBtn-BRnLMzhy.mjs +0 -118
  141. package/components/chunks/MazBtn-BhnOApJu.mjs +0 -118
  142. package/components/chunks/MazBtn-C28vKP_v.mjs +0 -118
  143. package/components/chunks/MazBtn-CweCwE_4.mjs +0 -118
  144. package/components/chunks/MazBtn-D7IKoL2c.mjs +0 -118
  145. package/components/chunks/MazBtn-DlD5m7T4.mjs +0 -118
  146. package/components/chunks/MazBtn-Dt8lr0GH.mjs +0 -118
  147. package/components/chunks/MazBtn-Mu18egu5.mjs +0 -118
  148. package/components/chunks/MazBtn-igor8wRn.mjs +0 -118
  149. package/components/chunks/MazDialogPromise-BCCdkrea.mjs +0 -522
  150. package/components/chunks/MazPagination-CHTMRRqE.mjs +0 -362
  151. package/components/chunks/MazSpinner-Cg26sBU2.mjs +0 -34
  152. package/components/chunks/MazSpinner-CvT-9sC7.mjs +0 -34
  153. package/components/chunks/MazSpinner-DH6C15pU.mjs +0 -34
  154. package/components/chunks/MazSpinner-DlMKBtyt.mjs +0 -34
  155. package/components/chunks/MazSpinner-Dyf9yb51.mjs +0 -34
  156. package/components/chunks/MazSpinner-M4r0cykl.mjs +0 -34
  157. package/components/chunks/MazSpinner-QHjOczon.mjs +0 -34
  158. package/components/chunks/MazSpinner-cqcpf_FX.mjs +0 -34
  159. package/components/chunks/MazSpinner-yPkPj7Q8.mjs +0 -34
  160. package/components/chunks/MazStepper-DRWtYHZR.mjs +0 -232
  161. package/components/chunks/MazTabsBar-MZYefBb8.mjs +0 -204
  162. package/modules/chunks/MazBtn-D_CpNgpD.cjs +0 -9
  163. package/modules/chunks/index-BIX1NMzX.cjs +0 -149
@@ -1,4 +1,4 @@
1
- import { defineComponent as O, useCssVars as j, ref as A, computed as f, onMounted as K, onUnmounted as P, openBlock as p, createElementBlock as v, normalizeClass as $, normalizeStyle as N, createElementVNode as m, renderSlot as C, withDirectives as q, vShow as F, useId as T, unref as V, mergeProps as D, createVNode as x, createTextVNode as B, toDisplayString as I, createCommentVNode as b, defineAsyncComponent as _, watch as H, withCtx as Z, Fragment as G, renderList as J } from "vue";
1
+ import { defineComponent as O, useCssVars as j, ref as x, computed as f, onMounted as K, onUnmounted as P, openBlock as p, createElementBlock as v, normalizeClass as A, normalizeStyle as N, createElementVNode as m, renderSlot as w, withDirectives as q, vShow as F, useId as T, unref as C, mergeProps as D, createVNode as S, createTextVNode as B, toDisplayString as I, createCommentVNode as E, defineAsyncComponent as _, watch as H, withCtx as Z, Fragment as G, renderList as J } from "vue";
2
2
  import '../assets/MazChecklist.css';const W = {
3
3
  removeAccents: !0,
4
4
  caseSensitive: !1,
@@ -10,7 +10,7 @@ import '../assets/MazChecklist.css';const W = {
10
10
  customNormalizationForms: ["NFC", "NFKD"]
11
11
  };
12
12
  function U(c, r) {
13
- const e = { ...W, ...r }, s = {
13
+ const e = { ...W, ...r }, n = {
14
14
  À: "A",
15
15
  Á: "A",
16
16
  Â: "A",
@@ -59,11 +59,11 @@ function U(c, r) {
59
59
  ñ: "n",
60
60
  ó: "o"
61
61
  };
62
- let a = c.toString();
63
- if (e.trim && (a = a.trim()), e.normalizeSpaces && (a = a.replaceAll(/\s+/g, " ")), e.replaceSpaces && (a = a.replaceAll(" ", "-")), e.removeNumbers && (a = a.replaceAll(/\d/g, "")), e.removeAccents && (a = a.replaceAll(/[ÀÁÂÃÄÅÇÈÉÊËÎÏÑÔÕÖØÙÚÛÜàáâãäåçèéêëíîïñóôõöøùúûüÿ]/g, (u) => s[u] || u), a = a.replaceAll(/[\u0300-\u036F]/g, "")), e.caseSensitive === !1 && (a = a.toLowerCase()), e.removeSpecialCharacters && (a = a.replaceAll(/[^\dA-Z-]/gi, "")), e.trim && (a = a.trim()), e.customNormalizationForms)
62
+ let l = c.toString();
63
+ if (e.trim && (l = l.trim()), e.normalizeSpaces && (l = l.replaceAll(/\s+/g, " ")), e.replaceSpaces && (l = l.replaceAll(" ", "-")), e.removeNumbers && (l = l.replaceAll(/\d/g, "")), e.removeAccents && (l = l.replaceAll(/[ÀÁÂÃÄÅÇÈÉÊËÎÏÑÔÕÖØÙÚÛÜàáâãäåçèéêëíîïñóôõöøùúûüÿ]/g, (u) => n[u] || u), l = l.replaceAll(/[\u0300-\u036F]/g, "")), e.caseSensitive === !1 && (l = l.toLowerCase()), e.removeSpecialCharacters && (l = l.replaceAll(/[^\dA-Z-]/gi, "")), e.trim && (l = l.trim()), e.customNormalizationForms)
64
64
  for (const u of e.customNormalizationForms)
65
- a = a.normalize(u);
66
- return a;
65
+ l = l.normalize(u);
66
+ return l;
67
67
  }
68
68
  const X = { class: "inner" }, Y = /* @__PURE__ */ O({
69
69
  __name: "MazCardSpotlight",
@@ -78,18 +78,18 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
78
78
  setup(c) {
79
79
  j((i) => ({
80
80
  "4f499add": i.innerOpacity,
81
- "2e65a0ad": y.value
81
+ "2e65a0ad": b.value
82
82
  }));
83
- const r = c, e = A(), s = A(), a = A(!1);
84
- function u({ clientX: i, clientY: g }) {
85
- var n, d, z;
86
- a.value = !0;
87
- const t = (n = s.value) == null ? void 0 : n.getBoundingClientRect();
88
- t && ((z = (d = e.value) == null ? void 0 : d.animate) == null || z.call(
83
+ const r = c, e = x(), n = x(), l = x(!1);
84
+ function u({ clientX: i, clientY: y }) {
85
+ var s, d, z;
86
+ l.value = !0;
87
+ const a = (s = n.value) == null ? void 0 : s.getBoundingClientRect();
88
+ a && ((z = (d = e.value) == null ? void 0 : d.animate) == null || z.call(
89
89
  d,
90
90
  [
91
91
  {
92
- transform: `translate(${i - t.left - t.width / 2}px,${g - t.top - t.height / 2}px)`
92
+ transform: `translate(${i - a.left - a.width / 2}px,${y - a.top - a.height / 2}px)`
93
93
  }
94
94
  ],
95
95
  {
@@ -98,15 +98,15 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
98
98
  }
99
99
  ));
100
100
  }
101
- const y = f(() => `var(--maz-color-${r.color}-alpha)`), h = f(() => `var(--maz-color-${r.color}-alpha-20)`);
101
+ const b = f(() => `var(--maz-color-${r.color}-alpha)`), h = f(() => `var(--maz-color-${r.color}-alpha-20)`);
102
102
  return K(() => {
103
103
  window.addEventListener("mousemove", u);
104
104
  }), P(() => {
105
105
  window.removeEventListener("mousemove", u);
106
- }), (i, g) => (p(), v(
106
+ }), (i, y) => (p(), v(
107
107
  "div",
108
108
  {
109
- class: $(["m-card-spotlight", { "maz-elevation": !i.noElevation }]),
109
+ class: A(["m-card-spotlight", { "maz-elevation": !i.noElevation }]),
110
110
  style: N({ backgroundColor: h.value })
111
111
  },
112
112
  [
@@ -114,10 +114,10 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
114
114
  m(
115
115
  "div",
116
116
  {
117
- class: $(["content", [{ "maz-p-4": i.padding }, i.contentClass]])
117
+ class: A(["content", [{ "maz-p-4": i.padding }, i.contentClass]])
118
118
  },
119
119
  [
120
- C(i.$slots, "default", {}, void 0, !0)
120
+ w(i.$slots, "default", {}, void 0, !0)
121
121
  ],
122
122
  2
123
123
  /* CLASS */
@@ -129,26 +129,26 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
129
129
  ref_key: "blobElement",
130
130
  ref: e,
131
131
  class: "blob",
132
- style: N({ backgroundColor: y.value })
132
+ style: N({ backgroundColor: b.value })
133
133
  },
134
134
  null,
135
135
  4
136
136
  /* STYLE */
137
137
  ), [
138
- [F, a.value]
138
+ [F, l.value]
139
139
  ]),
140
140
  q(m(
141
141
  "div",
142
142
  {
143
143
  ref_key: "fakeblobElement",
144
- ref: s,
144
+ ref: n,
145
145
  class: "fakeblob"
146
146
  },
147
147
  null,
148
148
  512
149
149
  /* NEED_PATCH */
150
150
  ), [
151
- [F, a.value]
151
+ [F, l.value]
152
152
  ])
153
153
  ],
154
154
  6
@@ -157,8 +157,8 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
157
157
  }
158
158
  }), L = (c, r) => {
159
159
  const e = c.__vccOpts || c;
160
- for (const [s, a] of r)
161
- e[s] = a;
160
+ for (const [n, l] of r)
161
+ e[n] = l;
162
162
  return e;
163
163
  }, ee = /* @__PURE__ */ L(Y, [["__scopeId", "data-v-31abf9ff"]]);
164
164
  function oe({
@@ -168,7 +168,7 @@ function oe({
168
168
  const e = T();
169
169
  return f(() => r ?? `${c}-${e}`);
170
170
  }
171
- const te = {
171
+ const ae = {
172
172
  xmlns: "http://www.w3.org/2000/svg",
173
173
  width: "1em",
174
174
  height: "1em",
@@ -176,7 +176,7 @@ const te = {
176
176
  viewBox: "0 0 24 24"
177
177
  };
178
178
  function R(c, r) {
179
- return p(), v("svg", te, r[0] || (r[0] = [
179
+ return p(), v("svg", ae, r[0] || (r[0] = [
180
180
  m(
181
181
  "path",
182
182
  {
@@ -196,7 +196,7 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
196
196
  __proto__: null,
197
197
  default: Q,
198
198
  render: R
199
- }, Symbol.toStringTag, { value: "Module" })), ae = ["for", "aria-checked"], le = ["id", "checked", "disabled", "name"], re = { class: "m-checkbox__text" }, se = /* @__PURE__ */ O({
199
+ }, Symbol.toStringTag, { value: "Module" })), le = ["for", "aria-checked"], te = ["id", "checked", "disabled", "name"], re = { class: "m-checkbox__text" }, ne = /* @__PURE__ */ O({
200
200
  inheritAttrs: !1,
201
201
  __name: "MazCheckbox",
202
202
  props: {
@@ -219,16 +219,16 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
219
219
  setup(c, { emit: r }) {
220
220
  j((o) => ({
221
221
  b7df6194: i.value,
222
- "89a0ef50": y.value,
223
- "199d7f11": g.value,
224
- b0e1d658: t.value
222
+ "89a0ef50": b.value,
223
+ "199d7f11": y.value,
224
+ b0e1d658: a.value
225
225
  }));
226
- const e = c, s = r, a = oe({
226
+ const e = c, n = r, l = oe({
227
227
  componentName: "MazCheckbox",
228
228
  providedId: e.id
229
229
  }), u = f(
230
230
  () => typeof e.value != "boolean" && Array.isArray(e.modelValue) ? e.modelValue.includes(e.value) : typeof e.modelValue == "boolean" ? e.modelValue : !1
231
- ), y = f(() => {
231
+ ), b = f(() => {
232
232
  switch (e.size) {
233
233
  case "xl":
234
234
  return "2rem";
@@ -258,59 +258,59 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
258
258
  default:
259
259
  return "maz-text-lg";
260
260
  }
261
- }), i = f(() => e.color === "theme" ? "var(--maz-color-bg)" : `var(--maz-color-${e.color}-contrast)`), g = f(() => e.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${e.color})`), t = f(() => e.error ? "var(--maz-color-danger)" : e.warning ? "var(--maz-color-warning)" : e.success ? "var(--maz-color-success)" : ["black", "transparent", "theme"].includes(e.color) ? "var(--maz-color-muted)" : `var(--maz-color-${e.color}-alpha)`);
262
- function n(o) {
261
+ }), i = f(() => e.color === "theme" ? "var(--maz-color-bg)" : `var(--maz-color-${e.color}-contrast)`), y = f(() => e.color === "theme" ? "var(--maz-color-bg-theme)" : `var(--maz-color-${e.color})`), a = f(() => e.error ? "var(--maz-color-danger)" : e.warning ? "var(--maz-color-warning)" : e.success ? "var(--maz-color-success)" : ["black", "transparent", "theme"].includes(e.color) ? "var(--maz-color-muted)" : `var(--maz-color-${e.color}-alpha)`);
262
+ function s(o) {
263
263
  ["Space"].includes(o.code) && (o.preventDefault(), z(e.value ?? !e.modelValue));
264
264
  }
265
265
  function d(o) {
266
- 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];
266
+ 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((t) => t !== o) : [...e.modelValue, o] : [o];
267
267
  }
268
268
  function z(o) {
269
- const l = d(o);
270
- s("update:model-value", l), s("change", l);
269
+ const t = d(o);
270
+ n("update:model-value", t), n("change", t);
271
271
  }
272
- const k = A();
273
- function E(o) {
274
- var l;
275
- (l = k.value) == null || l.dispatchEvent(new Event("blur")), s("blur", o);
272
+ const g = x();
273
+ function $(o) {
274
+ var t;
275
+ (t = g.value) == null || t.dispatchEvent(new Event("blur")), n("blur", o);
276
276
  }
277
- function w(o) {
278
- var l;
279
- (l = k.value) == null || l.dispatchEvent(new Event("focus")), s("focus", o);
277
+ function k(o) {
278
+ var t;
279
+ (t = g.value) == null || t.dispatchEvent(new Event("focus")), n("focus", o);
280
280
  }
281
- return (o, l) => (p(), v("label", {
282
- for: V(a),
283
- class: $(["m-checkbox", [{ "--disabled": o.disabled, "--error": o.error, "--warning": o.warning, "--success": o.success }, e.class]]),
281
+ return (o, t) => (p(), v("label", {
282
+ for: C(l),
283
+ class: A(["m-checkbox", [{ "--disabled": o.disabled, "--error": o.error, "--warning": o.warning, "--success": o.success }, e.class]]),
284
284
  tabindex: "0",
285
285
  style: N(o.style),
286
286
  role: "checkbox",
287
287
  "aria-checked": u.value,
288
- onKeydown: n,
289
- onBlur: E,
290
- onFocus: w
288
+ onKeydown: s,
289
+ onBlur: $,
290
+ onFocus: k
291
291
  }, [
292
292
  m("input", D({
293
- id: V(a),
293
+ id: C(l),
294
294
  ref_key: "inputRef",
295
- ref: k,
295
+ ref: g,
296
296
  checked: u.value
297
297
  }, o.$attrs, {
298
298
  tabindex: "-1",
299
299
  disabled: o.disabled,
300
300
  name: o.name,
301
301
  type: "checkbox",
302
- onChange: l[0] || (l[0] = (S) => {
302
+ onChange: t[0] || (t[0] = (V) => {
303
303
  var M;
304
- return z(o.value ?? ((M = S == null ? void 0 : S.target) == null ? void 0 : M.checked));
304
+ return z(o.value ?? ((M = V == null ? void 0 : V.target) == null ? void 0 : M.checked));
305
305
  })
306
- }), null, 16, le),
306
+ }), null, 16, te),
307
307
  m("span", null, [
308
- x(V(Q), {
309
- class: $(["check-icon", h.value])
308
+ S(C(Q), {
309
+ class: A(["check-icon", h.value])
310
310
  }, null, 8, ["class"])
311
311
  ]),
312
312
  m("div", re, [
313
- C(o.$slots, "default", { value: o.value }, () => [
313
+ w(o.$slots, "default", { value: o.value }, () => [
314
314
  B(
315
315
  I(o.label),
316
316
  1
@@ -321,7 +321,7 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
321
321
  "span",
322
322
  {
323
323
  key: 0,
324
- class: $(["m-checkbox__hint", {
324
+ class: A(["m-checkbox__hint", {
325
325
  "--error": o.error,
326
326
  "--success": o.success,
327
327
  "--warning": o.warning
@@ -330,11 +330,11 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
330
330
  I(o.hint),
331
331
  3
332
332
  /* TEXT, CLASS */
333
- )) : b("v-if", !0)
333
+ )) : E("v-if", !0)
334
334
  ])
335
- ], 46, ae));
335
+ ], 46, le));
336
336
  }
337
- }), ne = /* @__PURE__ */ L(se, [["__scopeId", "data-v-178c6a46"]]), ce = { class: "m-checklist maz-flex maz-flex-col maz-gap-4" }, ie = {
337
+ }), se = /* @__PURE__ */ L(ne, [["__scopeId", "data-v-178c6a46"]]), ce = { class: "m-checklist maz-flex maz-flex-col maz-gap-4" }, ie = {
338
338
  key: 0,
339
339
  for: "query",
340
340
  class: "maz-flex maz-items-center maz-justify-between maz-gap-4"
@@ -360,100 +360,94 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
360
360
  },
361
361
  emits: ["update:query", "update:model-value"],
362
362
  setup(c, { emit: r }) {
363
- const e = c, s = r, a = _(() => import("./MazInput-Dx2cCzFS.mjs")), u = _(
363
+ const e = c, n = r, l = _(() => import("./MazInput-NE6H-10w.mjs")), u = _(
364
364
  () => import("./magnifying-glass--nBiyXot.mjs")
365
- ), y = _(
365
+ ), b = _(
366
366
  () => import("./no-symbol-CIgKzsrB.mjs")
367
- ), h = A(e.query);
367
+ ), h = x(e.query);
368
368
  H(
369
369
  () => e.query,
370
- (t) => {
371
- h.value = t;
370
+ (a) => {
371
+ h.value = a;
372
372
  }
373
373
  );
374
374
  const i = f(() => {
375
- var n;
375
+ var s;
376
376
  if (!h.value)
377
377
  return e.items;
378
- const t = U(h.value, e.searchOptions);
379
- return (n = e.items) == null ? void 0 : n.filter(
380
- ({ label: d }) => U(d, e.searchOptions).includes(t)
378
+ const a = U(h.value, e.searchOptions);
379
+ return (s = e.items) == null ? void 0 : s.filter(
380
+ ({ label: d }) => U(d, e.searchOptions).includes(a)
381
381
  );
382
382
  });
383
- function g(t) {
384
- h.value = t, s("update:query", t);
383
+ function y(a) {
384
+ h.value = a, n("update:query", a);
385
385
  }
386
- return (t, n) => {
387
- var d, z, k, E;
386
+ return (a, s) => {
387
+ var d, z, g, $;
388
388
  return p(), v("div", ce, [
389
- (d = t.search) != null && d.enabled ? (p(), v("label", ie, [
390
- t.$slots.title || t.title ? (p(), v("span", ue, [
391
- b(" @slot use this slot to customize the title "),
392
- C(t.$slots, "title", {}, () => [
389
+ (d = a.search) != null && d.enabled ? (p(), v("label", ie, [
390
+ a.$slots.title || a.title ? (p(), v("span", ue, [
391
+ w(a.$slots, "title", {}, () => [
393
392
  B(
394
- I(t.title),
393
+ I(a.title),
395
394
  1
396
395
  /* TEXT */
397
396
  )
398
397
  ])
399
- ])) : b("v-if", !0),
400
- x(V(a), D({
398
+ ])) : E("v-if", !0),
399
+ S(C(l), D({
401
400
  id: "query",
402
401
  "model-value": h.value
403
- }, t.search, {
404
- color: t.color,
405
- "left-icon": t.search.leftIcon ?? V(u),
406
- debounce: t.search.debounce ?? 300,
407
- label: (z = t.search) == null ? void 0 : z.label,
408
- name: ((k = t.search) == null ? void 0 : k.name) ?? "search",
409
- placeholder: (E = t.search) == null ? void 0 : E.placeholder,
410
- "onUpdate:modelValue": n[0] || (n[0] = (w) => g(w))
402
+ }, a.search, {
403
+ color: a.color,
404
+ "left-icon": a.search.leftIcon ?? C(u),
405
+ debounce: a.search.debounce ?? 300,
406
+ label: (z = a.search) == null ? void 0 : z.label,
407
+ name: ((g = a.search) == null ? void 0 : g.name) ?? "search",
408
+ placeholder: ($ = a.search) == null ? void 0 : $.placeholder,
409
+ "onUpdate:modelValue": s[0] || (s[0] = (k) => y(k))
411
410
  }), null, 16, ["model-value", "color", "left-icon", "debounce", "label", "name", "placeholder"])
412
- ])) : b("v-if", !0),
413
- x(ee, {
414
- color: t.color,
415
- "no-elevation": !t.elevation,
411
+ ])) : E("v-if", !0),
412
+ S(ee, {
413
+ color: a.color,
414
+ "no-elevation": !a.elevation,
416
415
  padding: !1,
417
416
  "content-class": "maz-flex maz-flex-col maz-maz-gap-2 maz-overflow-y-auto maz-bg-color maz-px-3 maz-py-2"
418
417
  }, {
419
418
  default: Z(() => {
420
- var w;
419
+ var k;
421
420
  return [
422
- ((w = i.value) == null ? void 0 : w.length) === 0 ? (p(), v("div", de, [
423
- b(" @slot use this slot to customize the no results area "),
424
- C(t.$slots, "no-results", {}, () => [
421
+ ((k = i.value) == null ? void 0 : k.length) === 0 ? (p(), v("div", de, [
422
+ w(a.$slots, "no-results", {}, () => [
425
423
  m("div", me, [
426
- x(V(y), { class: "maz-text-3xl maz-text-muted" }),
424
+ S(C(b), { class: "maz-text-3xl maz-text-muted" }),
427
425
  m("span", fe, [
428
- b(" @slot use this slot to customize the no results message "),
429
- C(t.$slots, "no-results-text", {}, () => [
430
- n[2] || (n[2] = B(" No results found "))
426
+ w(a.$slots, "no-results-text", {}, () => [
427
+ s[2] || (s[2] = B(" No results found "))
431
428
  ])
432
429
  ])
433
430
  ])
434
431
  ])
435
- ])) : b("v-if", !0),
432
+ ])) : E("v-if", !0),
436
433
  (p(!0), v(
437
434
  G,
438
435
  null,
439
- J(i.value, ({ label: o, value: l }) => (p(), v("label", {
440
- key: l,
441
- for: l,
436
+ J(i.value, ({ label: o, value: t }) => (p(), v("label", {
437
+ key: t,
438
+ for: t,
442
439
  class: "m-checklist-item maz-flex maz-w-full maz-cursor-pointer maz-items-center maz-gap-4 maz-rounded maz-px-3 maz-py-2 maz-text-left hover:maz-bg-color-light"
443
440
  }, [
444
- x(ne, {
445
- id: l,
441
+ S(se, {
442
+ id: t,
446
443
  "model-value": e.modelValue,
447
- value: l,
448
- color: t.color,
449
- "onUpdate:modelValue": n[1] || (n[1] = (S) => s("update:model-value", S))
444
+ value: t,
445
+ color: a.color,
446
+ "onUpdate:modelValue": s[1] || (s[1] = (V) => n("update:model-value", V))
450
447
  }, null, 8, ["id", "model-value", "value", "color"]),
451
- b(` @slot use this slot to customize the item
452
- @binding { label: string, value: string }
453
- `),
454
- C(t.$slots, "item", {
455
- selectedValues: t.modelValue,
456
- item: { label: o, value: l }
448
+ w(a.$slots, "item", {
449
+ selectedValues: a.modelValue,
450
+ item: { label: o, value: t }
457
451
  }, () => [
458
452
  m(
459
453
  "span",