maz-ui 3.47.2-beta.6 → 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 (102) hide show
  1. package/components/MazAccordion.mjs +91 -98
  2. package/components/MazAnimatedCounter.mjs +26 -26
  3. package/components/MazCard.mjs +1 -1
  4. package/components/MazCardSpotlight.mjs +18 -22
  5. package/components/MazCheckbox.mjs +74 -70
  6. package/components/MazChecklist.mjs +1 -1
  7. package/components/MazCircularProgressBar.mjs +48 -48
  8. package/components/MazExpandAnimation.mjs +22 -25
  9. package/components/MazGallery.mjs +1 -1
  10. package/components/MazInputCode.mjs +36 -39
  11. package/components/MazLoadingBar.mjs +31 -27
  12. package/components/MazPhoneNumberInput.mjs +1 -1
  13. package/components/MazPicker.d.ts +2 -0
  14. package/components/MazPicker.mjs +1 -1
  15. package/components/MazRadio.mjs +31 -36
  16. package/components/MazSelect.mjs +1 -1
  17. package/components/MazStepper.mjs +1 -1
  18. package/components/MazSwitch.mjs +20 -23
  19. package/components/MazTable.d.ts +6 -0
  20. package/components/MazTable.mjs +1 -1
  21. package/components/MazTableCell.d.ts +5 -1
  22. package/components/MazTableCell.mjs +22 -19
  23. package/components/MazTableRow.mjs +1 -1
  24. package/components/MazTableTitle.d.ts +5 -1
  25. package/components/MazTableTitle.mjs +16 -13
  26. package/components/MazTabsBar.mjs +1 -1
  27. package/components/assets/MazAccordion.css +1 -1
  28. package/components/assets/MazAnimatedCounter.css +1 -1
  29. package/components/assets/MazCardSpotlight.css +1 -1
  30. package/components/assets/MazCheckbox.css +1 -1
  31. package/components/assets/MazChecklist.css +1 -1
  32. package/components/assets/MazCircularProgressBar.css +1 -1
  33. package/components/assets/MazExpandAnimation.css +1 -1
  34. package/components/assets/MazGallery.css +1 -1
  35. package/components/assets/MazInputCode.css +1 -1
  36. package/components/assets/MazLoadingBar.css +1 -1
  37. package/components/assets/MazPhoneNumberInput.css +1 -1
  38. package/components/assets/MazPicker.css +1 -1
  39. package/components/assets/MazRadio.css +1 -1
  40. package/components/assets/MazSelect.css +1 -1
  41. package/components/assets/MazStepper.css +1 -1
  42. package/components/assets/MazSwitch.css +1 -1
  43. package/components/assets/MazTable.css +1 -1
  44. package/components/assets/MazTableCell.css +1 -1
  45. package/components/assets/MazTableRow.css +1 -1
  46. package/components/assets/MazTableTitle.css +1 -1
  47. package/components/assets/MazTabsBar.css +1 -1
  48. package/components/chunks/{MazBadge-CqppWg2j.mjs → MazBadge-D-0XgPWR.mjs} +1 -1
  49. package/components/chunks/{MazBtn-BBb9-9O6.mjs → MazBtn-B0Q6Kw8H.mjs} +2 -2
  50. package/components/chunks/{MazBtn-CfUZ9QSO.mjs → MazBtn-DFLIzh6y.mjs} +2 -2
  51. package/components/chunks/{MazBtn-Lsac2Q0p.mjs → MazBtn-D_K6k6A7.mjs} +2 -2
  52. package/components/chunks/{MazBtn-DhEO9uvT.mjs → MazBtn-DnZ_pj-t.mjs} +2 -2
  53. package/components/chunks/{MazBtn-D7tI764y.mjs → MazBtn-DvfMuN3B.mjs} +2 -2
  54. package/components/chunks/{MazCard-CAPZoSqv.mjs → MazCard-BkcxQOWL.mjs} +1 -1
  55. package/components/chunks/{MazCheckbox-BI2um2gY.mjs → MazCheckbox-B9iBXhoG.mjs} +63 -60
  56. package/components/chunks/{MazCheckbox-DwAd7p8o.mjs → MazCheckbox-BHhDBSbJ.mjs} +63 -58
  57. package/components/chunks/{MazCheckbox-IhiWZ8D0.mjs → MazCheckbox-BcwWN7iD.mjs} +63 -59
  58. package/components/chunks/{MazChecklist-Bqd7qTO1.mjs → MazChecklist-DxtYuoEu.mjs} +116 -116
  59. package/components/chunks/MazExpandAnimation-CUgYZyTw.mjs +54 -0
  60. package/components/chunks/{MazGallery-CRY5X5zS.mjs → MazGallery-BfdKcDIu.mjs} +39 -42
  61. package/components/chunks/{MazGallery-CXQiXWFr.mjs → MazGallery-ndO4hRUh.mjs} +38 -41
  62. package/components/chunks/{MazIcon-D3TB52NM.mjs → MazIcon-DVTWgYB6.mjs} +1 -1
  63. package/components/chunks/{MazInput-rW-KBJGJ.mjs → MazInput-DnmjeD0Q.mjs} +2 -2
  64. package/components/chunks/{MazInput-ROgC-JLt.mjs → MazInput-SGx7gJ9r.mjs} +2 -2
  65. package/components/chunks/MazLoadingBar-CBNuhilE.mjs +36 -0
  66. package/components/chunks/{MazPhoneNumberInput-Bbr0zHPZ.mjs → MazPhoneNumberInput-rGR80IeJ.mjs} +91 -96
  67. package/components/chunks/{MazPicker-EMOuyWJy.mjs → MazPicker-CUpQ552W.mjs} +341 -321
  68. package/components/chunks/{MazPickerMonthSwitcher-DJGgb6BT.mjs → MazPickerMonthSwitcher-duzi8uZ8.mjs} +1 -1
  69. package/components/chunks/{MazPickerShortcuts-Cg1uqryw.mjs → MazPickerShortcuts-Coq4ITAj.mjs} +1 -1
  70. package/components/chunks/{MazPickerYearSwitcher-BLUXEs0G.mjs → MazPickerYearSwitcher-vUTntpYE.mjs} +1 -1
  71. package/components/chunks/{MazSelect-BUETsREx.mjs → MazSelect-DA1D4Aus.mjs} +85 -90
  72. package/components/chunks/{MazSelect-BDMOrVry.mjs → MazSelect-DpLBpopb.mjs} +40 -45
  73. package/components/chunks/{MazSpinner--fscjBdL.mjs → MazSpinner-Bbagpn0P.mjs} +1 -1
  74. package/components/chunks/{MazSpinner-RzOGVi6V.mjs → MazSpinner-Bi3tSdWr.mjs} +1 -1
  75. package/components/chunks/MazSpinner-Btv2qATX.mjs +34 -0
  76. package/components/chunks/MazSpinner-CR8HZnWn.mjs +34 -0
  77. package/components/chunks/{MazSpinner-C0PBSYpC.mjs → MazSpinner-DIPbNESr.mjs} +1 -1
  78. package/components/chunks/{MazSpinner-C-64WJje.mjs → MazSpinner-a80KrraB.mjs} +1 -1
  79. package/components/chunks/{MazSpinner-CEgSruvD.mjs → MazSpinner-v0FIBDiy.mjs} +1 -1
  80. package/components/chunks/MazStepper-DKPl3uIk.mjs +218 -0
  81. package/components/chunks/{MazTable-CWsaB02U.mjs → MazTable-DBiW_J2i.mjs} +104 -100
  82. package/components/chunks/MazTableCell-D10vPzyI.mjs +26 -0
  83. package/components/chunks/{MazTableRow-6KrQQQbm.mjs → MazTableRow-CSxkhwUM.mjs} +8 -8
  84. package/components/chunks/MazTableTitle-BdRR_MXI.mjs +26 -0
  85. package/components/chunks/{MazTabsBar-CM-w7V97.mjs → MazTabsBar-BVg2pxLA.mjs} +2 -2
  86. package/components/chunks/{MazTransitionExpand-BCgH8NZP.mjs → MazTransitionExpand-2Ft7atX1.mjs} +1 -1
  87. package/css/main.css +1 -1
  88. package/nuxt/index.json +1 -1
  89. package/package.json +1 -1
  90. package/tailwindcss/variables/colors.ts +2 -0
  91. package/types/components/MazPicker.vue.d.ts +2 -0
  92. package/types/components/MazTable.vue.d.ts +6 -0
  93. package/types/components/MazTableCell.vue.d.ts +5 -1
  94. package/types/components/MazTableTitle.vue.d.ts +5 -1
  95. package/types/tailwindcss/variables/colors.d.ts +2 -0
  96. package/components/chunks/MazExpandAnimation-MDimlZGj.mjs +0 -57
  97. package/components/chunks/MazLoadingBar-D8a5KF29.mjs +0 -32
  98. package/components/chunks/MazSpinner-CMMBCwk2.mjs +0 -34
  99. package/components/chunks/MazSpinner-DebSlkVT.mjs +0 -34
  100. package/components/chunks/MazStepper-BREfkpUb.mjs +0 -213
  101. package/components/chunks/MazTableCell-CgiGF3bL.mjs +0 -23
  102. package/components/chunks/MazTableTitle-C8P3v8b6.mjs +0 -23
@@ -1,5 +1,5 @@
1
- import { defineComponent as O, useCssVars as j, ref as S, computed as f, onMounted as K, onUnmounted as P, openBlock as p, createElementBlock as v, normalizeClass as x, 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 V, createTextVNode as B, toDisplayString as E, createCommentVNode as $, defineAsyncComponent as _, watch as H, withCtx as Z, Fragment as G, renderList as J } from "vue";
2
- import '../assets/MazChecklist.css';const W = {
1
+ import { defineComponent as O, ref as x, computed as f, onMounted as Q, onUnmounted as K, openBlock as p, createElementBlock as v, normalizeClass as A, normalizeStyle as w, createElementVNode as m, renderSlot as C, withDirectives as q, vShow as F, useId as P, unref as S, mergeProps as j, createVNode as V, createTextVNode as _, toDisplayString as I, createCommentVNode as E, defineAsyncComponent as B, watch as T, withCtx as H, Fragment as Z, renderList as G } from "vue";
2
+ import '../assets/MazChecklist.css';const J = {
3
3
  removeAccents: !0,
4
4
  caseSensitive: !1,
5
5
  replaceSpaces: !0,
@@ -10,7 +10,7 @@ import '../assets/MazChecklist.css';const W = {
10
10
  customNormalizationForms: ["NFC", "NFKD"]
11
11
  };
12
12
  function U(c, t) {
13
- const e = { ...W, ...t }, n = {
13
+ const e = { ...J, ...t }, n = {
14
14
  À: "A",
15
15
  Á: "A",
16
16
  Â: "A",
@@ -60,12 +60,12 @@ function U(c, t) {
60
60
  ó: "o"
61
61
  };
62
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, (i) => n[i] || i), 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
- for (const i of e.customNormalizationForms)
65
- l = l.normalize(i);
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
+ for (const u of e.customNormalizationForms)
65
+ l = l.normalize(u);
66
66
  return l;
67
67
  }
68
- const X = { class: "inner" }, Y = /* @__PURE__ */ O({
68
+ const W = { class: "inner" }, X = /* @__PURE__ */ O({
69
69
  __name: "MazCardSpotlight",
70
70
  props: {
71
71
  color: { default: "primary" },
@@ -76,12 +76,8 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
76
76
  innerOpacity: { default: 0.95 }
77
77
  },
78
78
  setup(c) {
79
- j((u) => ({
80
- "4f499add": u.innerOpacity,
81
- "2e65a0ad": b.value
82
- }));
83
- const t = c, e = S(), n = S(), l = S(!1);
84
- function i({ clientX: u, clientY: y }) {
79
+ const t = c, e = x(), n = x(), l = x(!1);
80
+ function u({ clientX: i, clientY: y }) {
85
81
  var s, d, z;
86
82
  l.value = !0;
87
83
  const a = (s = n.value) == null ? void 0 : s.getBoundingClientRect();
@@ -89,7 +85,7 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
89
85
  d,
90
86
  [
91
87
  {
92
- transform: `translate(${u - a.left - a.width / 2}px,${y - a.top - a.height / 2}px)`
88
+ transform: `translate(${i - a.left - a.width / 2}px,${y - a.top - a.height / 2}px)`
93
89
  }
94
90
  ],
95
91
  {
@@ -99,25 +95,25 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
99
95
  ));
100
96
  }
101
97
  const b = f(() => `var(--maz-color-${t.color}-alpha)`), h = f(() => `var(--maz-color-${t.color}-alpha-20)`);
102
- return K(() => {
103
- window.addEventListener("mousemove", i);
104
- }), P(() => {
105
- window.removeEventListener("mousemove", i);
106
- }), (u, y) => (p(), v(
98
+ return Q(() => {
99
+ window.addEventListener("mousemove", u);
100
+ }), K(() => {
101
+ window.removeEventListener("mousemove", u);
102
+ }), (i, y) => (p(), v(
107
103
  "div",
108
104
  {
109
- class: x(["m-card-spotlight", { "maz-elevation": !u.noElevation }]),
110
- style: N({ backgroundColor: h.value })
105
+ class: A(["m-card-spotlight", { "maz-elevation": !i.noElevation }]),
106
+ style: w({ backgroundColor: h.value, "--inner-opacity": i.innerOpacity })
111
107
  },
112
108
  [
113
- m("div", X, [
109
+ m("div", W, [
114
110
  m(
115
111
  "div",
116
112
  {
117
- class: x(["content", [{ "maz-p-4": u.padding }, u.contentClass]])
113
+ class: A(["content", [{ "maz-p-4": i.padding }, i.contentClass]])
118
114
  },
119
115
  [
120
- w(u.$slots, "default", {}, void 0, !0)
116
+ C(i.$slots, "default", {}, void 0, !0)
121
117
  ],
122
118
  2
123
119
  /* CLASS */
@@ -129,7 +125,7 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
129
125
  ref_key: "blobElement",
130
126
  ref: e,
131
127
  class: "blob",
132
- style: N({ backgroundColor: b.value })
128
+ style: w({ backgroundColor: b.value })
133
129
  },
134
130
  null,
135
131
  4
@@ -155,28 +151,28 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
155
151
  /* CLASS, STYLE */
156
152
  ));
157
153
  }
158
- }), L = (c, t) => {
154
+ }), D = (c, t) => {
159
155
  const e = c.__vccOpts || c;
160
156
  for (const [n, l] of t)
161
157
  e[n] = l;
162
158
  return e;
163
- }, ee = /* @__PURE__ */ L(Y, [["__scopeId", "data-v-31abf9ff"]]);
164
- function oe({
159
+ }, Y = /* @__PURE__ */ D(X, [["__scopeId", "data-v-30c7054c"]]);
160
+ function ee({
165
161
  componentName: c,
166
162
  providedId: t
167
163
  }) {
168
- const e = T();
164
+ const e = P();
169
165
  return f(() => t ?? `${c}-${e}`);
170
166
  }
171
- const ae = {
167
+ const oe = {
172
168
  xmlns: "http://www.w3.org/2000/svg",
173
169
  width: "1em",
174
170
  height: "1em",
175
171
  fill: "none",
176
172
  viewBox: "0 0 24 24"
177
173
  };
178
- function R(c, t) {
179
- return p(), v("svg", ae, t[0] || (t[0] = [
174
+ function L(c, t) {
175
+ return p(), v("svg", oe, t[0] || (t[0] = [
180
176
  m(
181
177
  "path",
182
178
  {
@@ -192,11 +188,11 @@ function R(c, t) {
192
188
  )
193
189
  ]));
194
190
  }
195
- const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
191
+ const R = { render: L }, he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
196
192
  __proto__: null,
197
- default: Q,
198
- render: R
199
- }, Symbol.toStringTag, { value: "Module" })), le = ["for", "aria-checked"], te = ["id", "checked", "disabled", "name"], re = { class: "m-checkbox__text" }, ne = /* @__PURE__ */ O({
193
+ default: R,
194
+ render: L
195
+ }, Symbol.toStringTag, { value: "Module" })), ae = ["for", "aria-checked"], le = ["id", "checked", "disabled", "name"], te = { class: "m-checkbox__text" }, re = /* @__PURE__ */ O({
200
196
  inheritAttrs: !1,
201
197
  __name: "MazCheckbox",
202
198
  props: {
@@ -217,16 +213,10 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
217
213
  },
218
214
  emits: ["update:model-value", "change", "blur", "focus"],
219
215
  setup(c, { emit: t }) {
220
- j((o) => ({
221
- b7df6194: u.value,
222
- "89a0ef50": b.value,
223
- "199d7f11": y.value,
224
- b0e1d658: a.value
225
- }));
226
- const e = c, n = t, l = oe({
216
+ const e = c, n = t, l = ee({
227
217
  componentName: "MazCheckbox",
228
218
  providedId: e.id
229
- }), i = f(
219
+ }), u = f(
230
220
  () => typeof e.value != "boolean" && Array.isArray(e.modelValue) ? e.modelValue.includes(e.value) : typeof e.modelValue == "boolean" ? e.modelValue : !1
231
221
  ), b = f(() => {
232
222
  switch (e.size) {
@@ -258,7 +248,7 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
258
248
  default:
259
249
  return "maz-text-lg";
260
250
  }
261
- }), u = 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)`);
251
+ }), 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
252
  function s(o) {
263
253
  ["Space"].includes(o.code) && (o.preventDefault(), z(e.value ?? !e.modelValue));
264
254
  }
@@ -269,8 +259,8 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
269
259
  const r = d(o);
270
260
  n("update:model-value", r), n("change", r);
271
261
  }
272
- const g = S();
273
- function A(o) {
262
+ const g = x();
263
+ function $(o) {
274
264
  var r;
275
265
  (r = g.value) == null || r.dispatchEvent(new Event("blur")), n("blur", o);
276
266
  }
@@ -279,40 +269,49 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
279
269
  (r = g.value) == null || r.dispatchEvent(new Event("focus")), n("focus", o);
280
270
  }
281
271
  return (o, r) => (p(), v("label", {
282
- for: C(l),
283
- class: x(["m-checkbox", [{ "--disabled": o.disabled, "--error": o.error, "--warning": o.warning, "--success": o.success }, e.class]]),
272
+ for: S(l),
273
+ class: A(["m-checkbox", [{ "--disabled": o.disabled, "--error": o.error, "--warning": o.warning, "--success": o.success }, e.class]]),
284
274
  tabindex: "0",
285
- style: N(o.style),
275
+ style: w([o.style, { "--checkbox-selected-color": y.value, "--checkbox-box-shadow-color": a.value }]),
286
276
  role: "checkbox",
287
- "aria-checked": i.value,
277
+ "aria-checked": u.value,
288
278
  onKeydown: s,
289
- onBlur: A,
279
+ onBlur: $,
290
280
  onFocus: k
291
281
  }, [
292
- m("input", D({
293
- id: C(l),
282
+ m("input", j({
283
+ id: S(l),
294
284
  ref_key: "inputRef",
295
285
  ref: g,
296
- checked: i.value
286
+ checked: u.value
297
287
  }, o.$attrs, {
298
288
  tabindex: "-1",
299
289
  disabled: o.disabled,
300
290
  name: o.name,
301
291
  type: "checkbox",
302
- onChange: r[0] || (r[0] = (I) => {
292
+ onChange: r[0] || (r[0] = (N) => {
303
293
  var M;
304
- return z(o.value ?? ((M = I == null ? void 0 : I.target) == null ? void 0 : M.checked));
294
+ return z(o.value ?? ((M = N == null ? void 0 : N.target) == null ? void 0 : M.checked));
305
295
  })
306
- }), null, 16, te),
307
- m("span", null, [
308
- V(C(Q), {
309
- class: x(["check-icon", h.value])
310
- }, null, 8, ["class"])
311
- ]),
312
- m("div", re, [
313
- w(o.$slots, "default", { value: o.value }, () => [
314
- B(
315
- E(o.label),
296
+ }), null, 16, le),
297
+ m(
298
+ "span",
299
+ {
300
+ style: w({ width: b.value, height: b.value })
301
+ },
302
+ [
303
+ V(S(R), {
304
+ class: A(["check-icon", h.value]),
305
+ style: w({ color: i.value })
306
+ }, null, 8, ["class", "style"])
307
+ ],
308
+ 4
309
+ /* STYLE */
310
+ ),
311
+ m("div", te, [
312
+ C(o.$slots, "default", { value: o.value }, () => [
313
+ _(
314
+ I(o.label),
316
315
  1
317
316
  /* TEXT */
318
317
  )
@@ -321,30 +320,31 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
321
320
  "span",
322
321
  {
323
322
  key: 0,
324
- class: x(["m-checkbox__hint", {
323
+ class: A(["m-checkbox__hint", {
325
324
  "--error": o.error,
326
325
  "--success": o.success,
327
326
  "--warning": o.warning
328
- }])
327
+ }]),
328
+ style: w({ boxShadow: `0 0 0 0.125rem ${a.value}` })
329
329
  },
330
- E(o.hint),
331
- 3
332
- /* TEXT, CLASS */
333
- )) : $("v-if", !0)
330
+ I(o.hint),
331
+ 7
332
+ /* TEXT, CLASS, STYLE */
333
+ )) : E("v-if", !0)
334
334
  ])
335
- ], 46, le));
335
+ ], 46, ae));
336
336
  }
337
- }), se = /* @__PURE__ */ L(ne, [["__scopeId", "data-v-178c6a46"]]), ce = { class: "m-checklist maz-flex maz-flex-col maz-gap-4" }, ue = {
337
+ }), ne = /* @__PURE__ */ D(re, [["__scopeId", "data-v-0ad2f376"]]), se = { class: "m-checklist maz-flex maz-flex-col maz-gap-4" }, ce = {
338
338
  key: 0,
339
339
  for: "query",
340
340
  class: "maz-flex maz-items-center maz-justify-between maz-gap-4"
341
- }, ie = {
341
+ }, ue = {
342
342
  key: 0,
343
343
  class: "maz-flex-none maz-truncate"
344
- }, de = {
344
+ }, ie = {
345
345
  key: 0,
346
346
  class: "maz-flex maz-h-full maz-flex-center"
347
- }, me = { class: "maz-flex maz-h-full maz-flex-col maz-gap-3 maz-flex-center" }, fe = { class: "maz-text-muted" }, pe = ["for"], ve = { class: "cap-f" }, be = /* @__PURE__ */ O({
347
+ }, de = { class: "maz-flex maz-h-full maz-flex-col maz-gap-3 maz-flex-center" }, me = { class: "maz-text-muted" }, fe = ["for"], pe = { class: "cap-f" }, ze = /* @__PURE__ */ O({
348
348
  __name: "MazChecklist",
349
349
  props: {
350
350
  modelValue: { default: void 0 },
@@ -360,18 +360,18 @@ 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: t }) {
363
- const e = c, n = t, l = _(() => import("./MazInput-ROgC-JLt.mjs")), i = _(
363
+ const e = c, n = t, l = B(() => import("./MazInput-SGx7gJ9r.mjs")), u = B(
364
364
  () => import("./magnifying-glass--nBiyXot.mjs")
365
- ), b = _(
365
+ ), b = B(
366
366
  () => import("./no-symbol-CIgKzsrB.mjs")
367
- ), h = S(e.query);
368
- H(
367
+ ), h = x(e.query);
368
+ T(
369
369
  () => e.query,
370
370
  (a) => {
371
371
  h.value = a;
372
372
  }
373
373
  );
374
- const u = f(() => {
374
+ const i = f(() => {
375
375
  var s;
376
376
  if (!h.value)
377
377
  return e.items;
@@ -384,80 +384,80 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
384
384
  h.value = a, n("update:query", a);
385
385
  }
386
386
  return (a, s) => {
387
- var d, z, g, A;
388
- return p(), v("div", ce, [
389
- (d = a.search) != null && d.enabled ? (p(), v("label", ue, [
390
- a.$slots.title || a.title ? (p(), v("span", ie, [
391
- w(a.$slots, "title", {}, () => [
392
- B(
393
- E(a.title),
387
+ var d, z, g, $;
388
+ return p(), v("div", se, [
389
+ (d = a.search) != null && d.enabled ? (p(), v("label", ce, [
390
+ a.$slots.title || a.title ? (p(), v("span", ue, [
391
+ C(a.$slots, "title", {}, () => [
392
+ _(
393
+ I(a.title),
394
394
  1
395
395
  /* TEXT */
396
396
  )
397
397
  ])
398
- ])) : $("v-if", !0),
399
- V(C(l), D({
398
+ ])) : E("v-if", !0),
399
+ V(S(l), j({
400
400
  id: "query",
401
401
  "model-value": h.value
402
402
  }, a.search, {
403
403
  color: a.color,
404
- "left-icon": a.search.leftIcon ?? C(i),
404
+ "left-icon": a.search.leftIcon ?? S(u),
405
405
  debounce: a.search.debounce ?? 300,
406
406
  label: (z = a.search) == null ? void 0 : z.label,
407
407
  name: ((g = a.search) == null ? void 0 : g.name) ?? "search",
408
- placeholder: (A = a.search) == null ? void 0 : A.placeholder,
408
+ placeholder: ($ = a.search) == null ? void 0 : $.placeholder,
409
409
  "onUpdate:modelValue": s[0] || (s[0] = (k) => y(k))
410
410
  }), null, 16, ["model-value", "color", "left-icon", "debounce", "label", "name", "placeholder"])
411
- ])) : $("v-if", !0),
412
- V(ee, {
411
+ ])) : E("v-if", !0),
412
+ V(Y, {
413
413
  color: a.color,
414
414
  "no-elevation": !a.elevation,
415
415
  padding: !1,
416
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"
417
417
  }, {
418
- default: Z(() => {
418
+ default: H(() => {
419
419
  var k;
420
420
  return [
421
- ((k = u.value) == null ? void 0 : k.length) === 0 ? (p(), v("div", de, [
422
- w(a.$slots, "no-results", {}, () => [
423
- m("div", me, [
424
- V(C(b), { class: "maz-text-3xl maz-text-muted" }),
425
- m("span", fe, [
426
- w(a.$slots, "no-results-text", {}, () => [
427
- s[2] || (s[2] = B(" No results found "))
421
+ ((k = i.value) == null ? void 0 : k.length) === 0 ? (p(), v("div", ie, [
422
+ C(a.$slots, "no-results", {}, () => [
423
+ m("div", de, [
424
+ V(S(b), { class: "maz-text-3xl maz-text-muted" }),
425
+ m("span", me, [
426
+ C(a.$slots, "no-results-text", {}, () => [
427
+ s[2] || (s[2] = _(" No results found "))
428
428
  ])
429
429
  ])
430
430
  ])
431
431
  ])
432
- ])) : $("v-if", !0),
432
+ ])) : E("v-if", !0),
433
433
  (p(!0), v(
434
- G,
434
+ Z,
435
435
  null,
436
- J(u.value, (o) => (p(), v("label", {
436
+ G(i.value, (o) => (p(), v("label", {
437
437
  key: o.value,
438
438
  for: o.value,
439
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"
440
440
  }, [
441
- V(se, {
441
+ V(ne, {
442
442
  id: o.value,
443
443
  "model-value": e.modelValue,
444
444
  value: o.value,
445
445
  color: a.color,
446
446
  "onUpdate:modelValue": s[1] || (s[1] = (r) => n("update:model-value", r))
447
447
  }, null, 8, ["id", "model-value", "value", "color"]),
448
- w(a.$slots, "item", {
448
+ C(a.$slots, "item", {
449
449
  selectedValues: a.modelValue,
450
450
  item: o
451
451
  }, () => [
452
452
  m(
453
453
  "span",
454
- ve,
455
- E(o.label),
454
+ pe,
455
+ I(o.label),
456
456
  1
457
457
  /* TEXT */
458
458
  )
459
459
  ])
460
- ], 8, pe))),
460
+ ], 8, fe))),
461
461
  128
462
462
  /* KEYED_FRAGMENT */
463
463
  ))
@@ -471,8 +471,8 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
471
471
  }
472
472
  });
473
473
  export {
474
- L as _,
475
- be as a,
476
- ze as c,
477
- oe as u
474
+ D as _,
475
+ ze as a,
476
+ he as c,
477
+ ee as u
478
478
  };
@@ -0,0 +1,54 @@
1
+ import { defineComponent as l, mergeModels as m, useModel as u, ref as s, onMounted as f, onUnmounted as p, openBlock as v, createElementBlock as c, normalizeClass as _, normalizeStyle as x, createElementVNode as E, mergeProps as h, renderSlot as g } from "vue";
2
+ import { _ as M } from "./MazStepper-DKPl3uIk.mjs";
3
+ import '../assets/MazExpandAnimation.css';const A = ["aria-hidden"], y = /* @__PURE__ */ l({
4
+ inheritAttrs: !1,
5
+ __name: "MazExpandAnimation",
6
+ props: /* @__PURE__ */ m({
7
+ duration: { default: "300ms" },
8
+ timingFunction: { default: "ease-in-out" }
9
+ }, {
10
+ modelValue: { type: Boolean },
11
+ modelModifiers: {}
12
+ }),
13
+ emits: ["update:modelValue"],
14
+ setup(d) {
15
+ const a = u(d, "modelValue"), i = s(!a.value), t = s();
16
+ function o() {
17
+ a.value || (i.value = !0);
18
+ }
19
+ function r() {
20
+ a.value && (i.value = !1);
21
+ }
22
+ return f(() => {
23
+ var e, n;
24
+ (e = t.value) == null || e.addEventListener("transitionstart", o, !1), (n = t.value) == null || n.addEventListener("transitionend", r, !1);
25
+ }), p(() => {
26
+ var e, n;
27
+ (e = t.value) == null || e.removeEventListener("transitionstart", o, !1), (n = t.value) == null || n.removeEventListener("transitionend", r, !1);
28
+ }), (e, n) => (v(), c("div", {
29
+ ref_key: "expandAnimationRef",
30
+ ref: t,
31
+ class: _(["m-expand-animation", { "m-expand-animation--expanded": a.value }]),
32
+ "aria-hidden": !a.value,
33
+ role: "region",
34
+ style: x([{ "--expand-animation-duration": e.duration, "--expand-animation-timing-function": e.timingFunction }])
35
+ }, [
36
+ E(
37
+ "div",
38
+ h({ class: "m-expand-animation__inner" }, e.$attrs, {
39
+ class: {
40
+ "--overflow-hidden": i.value
41
+ }
42
+ }),
43
+ [
44
+ g(e.$slots, "default", {}, void 0, !0)
45
+ ],
46
+ 16
47
+ /* FULL_PROPS */
48
+ )
49
+ ], 14, A));
50
+ }
51
+ }), V = /* @__PURE__ */ M(y, [["__scopeId", "data-v-3bfdfbc1"]]);
52
+ export {
53
+ V as default
54
+ };