maz-ui 3.47.2-beta.2 → 3.47.2-beta.4

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 (48) hide show
  1. package/components/MazChecklist.d.ts +1 -4
  2. package/components/MazChecklist.mjs +1 -1
  3. package/components/MazPhoneNumberInput.mjs +1 -1
  4. package/components/MazSelect.mjs +1 -1
  5. package/components/MazTable.mjs +1 -1
  6. package/components/assets/MazPhoneNumberInput.css +1 -1
  7. package/components/assets/MazSelect.css +1 -1
  8. package/components/chunks/{MazBtn-BMYXMZuX.mjs → MazBtn-C_BULYqZ.mjs} +2 -2
  9. package/components/chunks/{MazBtn-2VKM1wZu.mjs → MazBtn-Sj-Pq0YV.mjs} +2 -2
  10. package/components/chunks/{MazBtn-DfqRZvbB.mjs → MazBtn-cUQ1Tykp.mjs} +2 -2
  11. package/components/chunks/{MazBtn-BijEMn4r.mjs → MazBtn-psosbsi3.mjs} +2 -2
  12. package/components/chunks/{MazCheckbox-DMogZVHl.mjs → MazCheckbox-BBL0vgqe.mjs} +1 -1
  13. package/components/chunks/{MazCheckbox-Db6sPUbV.mjs → MazCheckbox-BTl370Qq.mjs} +1 -1
  14. package/components/chunks/{MazCheckbox-B22OcHt8.mjs → MazCheckbox-DTU2jEkC.mjs} +1 -1
  15. package/components/chunks/{MazChecklist-C95Y4Hb-.mjs → MazChecklist-CQv-sXP1.mjs} +79 -79
  16. package/components/chunks/{MazIcon-BF5TFzse.mjs → MazIcon-BdQtfzuy.mjs} +1 -1
  17. package/components/chunks/{MazInput-DC3S-CVu.mjs → MazInput-eOtg1L9F.mjs} +2 -2
  18. package/components/chunks/{MazInput-NE6H-10w.mjs → MazInput-geBqeT4i.mjs} +2 -2
  19. package/components/chunks/{MazLoadingBar-DdjHRC7g.mjs → MazLoadingBar-DHcYPXlE.mjs} +1 -1
  20. package/components/chunks/{MazPhoneNumberInput-BbssOUzo.mjs → MazPhoneNumberInput-BTm8A0bL.mjs} +33 -32
  21. package/components/chunks/{MazSelect-CDV9Fx6m.mjs → MazSelect-Cnz3p3n2.mjs} +41 -40
  22. package/components/chunks/{MazSelect-BJ07NVXQ.mjs → MazSelect-DOiqBTNY.mjs} +57 -56
  23. package/components/chunks/{MazSpinner-CykRbNHD.mjs → MazSpinner-B1PXhYRx.mjs} +1 -1
  24. package/components/chunks/{MazSpinner-CEFbkZkM.mjs → MazSpinner-B7tPZpHw.mjs} +1 -1
  25. package/components/chunks/{MazSpinner-Dmkr_r9u.mjs → MazSpinner-DOSj2BnX.mjs} +1 -1
  26. package/components/chunks/{MazSpinner-CfiIXW8y.mjs → MazSpinner-Dhg-s-9s.mjs} +1 -1
  27. package/components/chunks/{MazTable-BJDPdIJB.mjs → MazTable-BKdEx63E.mjs} +1 -1
  28. package/components/chunks/{MazTableCell-DILuUCTe.mjs → MazTableCell-CozcugiL.mjs} +1 -1
  29. package/components/chunks/{MazTableRow-D6H6-c8J.mjs → MazTableRow-bLFpjzu1.mjs} +1 -1
  30. package/components/chunks/{MazTableTitle-Ch-nyY1E.mjs → MazTableTitle-Qk239mu9.mjs} +1 -1
  31. package/modules/chunks/{MazBtn-B_Xlvgbg.cjs → MazBtn-D7el03Rl.cjs} +1 -1
  32. package/modules/chunks/{MazBtn-Dsr06Zgg.mjs → MazBtn-D8uOirkn.mjs} +2 -2
  33. package/modules/chunks/{MazIcon-CkuzyufF.cjs → MazIcon-B8BoiF7R.cjs} +1 -1
  34. package/modules/chunks/{MazIcon-DEgoQbMj.mjs → MazIcon-C6zDSPgJ.mjs} +1 -1
  35. package/modules/chunks/{MazSpinner-jP4QsCNE.cjs → MazSpinner-B-4tL9pK.cjs} +1 -1
  36. package/modules/chunks/{MazSpinner-BurN-1pb.mjs → MazSpinner-BvJydaeF.mjs} +1 -1
  37. package/modules/chunks/{index-CxFUggmu.mjs → index-Bf4X7amE.mjs} +111 -105
  38. package/modules/chunks/index-F0B533E8.cjs +124 -0
  39. package/modules/index.cjs +1 -1
  40. package/modules/index.mjs +1 -1
  41. package/nuxt/index.json +1 -1
  42. package/package.json +1 -1
  43. package/types/components/MazChecklist.vue.d.ts +1 -4
  44. package/types/modules/composables/useFormValidator/types.d.ts +6 -6
  45. package/types/modules/composables/useFormValidator/useFormField.d.ts +2 -2
  46. package/types/modules/composables/useFormValidator/useFormValidator.d.ts +3 -3
  47. package/types/modules/composables/useFormValidator/utils.d.ts +5 -5
  48. package/modules/chunks/index-CUNN0eIB.cjs +0 -124
@@ -1,4 +1,4 @@
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";
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
2
  import '../assets/MazChecklist.css';const W = {
3
3
  removeAccents: !0,
4
4
  caseSensitive: !1,
@@ -9,8 +9,8 @@ import '../assets/MazChecklist.css';const W = {
9
9
  removeNumbers: !1,
10
10
  customNormalizationForms: ["NFC", "NFKD"]
11
11
  };
12
- function U(c, r) {
13
- const e = { ...W, ...r }, n = {
12
+ function U(c, t) {
13
+ const e = { ...W, ...t }, n = {
14
14
  À: "A",
15
15
  Á: "A",
16
16
  Â: "A",
@@ -60,9 +60,9 @@ function U(c, r) {
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, (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);
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);
66
66
  return l;
67
67
  }
68
68
  const X = { class: "inner" }, Y = /* @__PURE__ */ O({
@@ -76,12 +76,12 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
76
76
  innerOpacity: { default: 0.95 }
77
77
  },
78
78
  setup(c) {
79
- j((i) => ({
80
- "4f499add": i.innerOpacity,
79
+ j((u) => ({
80
+ "4f499add": u.innerOpacity,
81
81
  "2e65a0ad": b.value
82
82
  }));
83
- const r = c, e = x(), n = x(), l = x(!1);
84
- function u({ clientX: i, clientY: y }) {
83
+ const t = c, e = S(), n = S(), l = S(!1);
84
+ function i({ clientX: u, clientY: y }) {
85
85
  var s, d, z;
86
86
  l.value = !0;
87
87
  const a = (s = n.value) == null ? void 0 : s.getBoundingClientRect();
@@ -89,7 +89,7 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
89
89
  d,
90
90
  [
91
91
  {
92
- transform: `translate(${i - a.left - a.width / 2}px,${y - a.top - a.height / 2}px)`
92
+ transform: `translate(${u - 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 b = f(() => `var(--maz-color-${r.color}-alpha)`), h = f(() => `var(--maz-color-${r.color}-alpha-20)`);
101
+ const b = f(() => `var(--maz-color-${t.color}-alpha)`), h = f(() => `var(--maz-color-${t.color}-alpha-20)`);
102
102
  return K(() => {
103
- window.addEventListener("mousemove", u);
103
+ window.addEventListener("mousemove", i);
104
104
  }), P(() => {
105
- window.removeEventListener("mousemove", u);
106
- }), (i, y) => (p(), v(
105
+ window.removeEventListener("mousemove", i);
106
+ }), (u, y) => (p(), v(
107
107
  "div",
108
108
  {
109
- class: A(["m-card-spotlight", { "maz-elevation": !i.noElevation }]),
109
+ class: x(["m-card-spotlight", { "maz-elevation": !u.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: A(["content", [{ "maz-p-4": i.padding }, i.contentClass]])
117
+ class: x(["content", [{ "maz-p-4": u.padding }, u.contentClass]])
118
118
  },
119
119
  [
120
- w(i.$slots, "default", {}, void 0, !0)
120
+ w(u.$slots, "default", {}, void 0, !0)
121
121
  ],
122
122
  2
123
123
  /* CLASS */
@@ -155,18 +155,18 @@ const X = { class: "inner" }, Y = /* @__PURE__ */ O({
155
155
  /* CLASS, STYLE */
156
156
  ));
157
157
  }
158
- }), L = (c, r) => {
158
+ }), L = (c, t) => {
159
159
  const e = c.__vccOpts || c;
160
- for (const [n, l] of r)
160
+ for (const [n, l] of t)
161
161
  e[n] = l;
162
162
  return e;
163
163
  }, ee = /* @__PURE__ */ L(Y, [["__scopeId", "data-v-31abf9ff"]]);
164
164
  function oe({
165
165
  componentName: c,
166
- providedId: r
166
+ providedId: t
167
167
  }) {
168
168
  const e = T();
169
- return f(() => r ?? `${c}-${e}`);
169
+ return f(() => t ?? `${c}-${e}`);
170
170
  }
171
171
  const ae = {
172
172
  xmlns: "http://www.w3.org/2000/svg",
@@ -175,8 +175,8 @@ const ae = {
175
175
  fill: "none",
176
176
  viewBox: "0 0 24 24"
177
177
  };
178
- function R(c, r) {
179
- return p(), v("svg", ae, r[0] || (r[0] = [
178
+ function R(c, t) {
179
+ return p(), v("svg", ae, t[0] || (t[0] = [
180
180
  m(
181
181
  "path",
182
182
  {
@@ -216,17 +216,17 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
216
216
  hint: {}
217
217
  },
218
218
  emits: ["update:model-value", "change", "blur", "focus"],
219
- setup(c, { emit: r }) {
219
+ setup(c, { emit: t }) {
220
220
  j((o) => ({
221
- b7df6194: i.value,
221
+ b7df6194: u.value,
222
222
  "89a0ef50": b.value,
223
223
  "199d7f11": y.value,
224
224
  b0e1d658: a.value
225
225
  }));
226
- const e = c, n = r, l = oe({
226
+ const e = c, n = t, l = oe({
227
227
  componentName: "MazCheckbox",
228
228
  providedId: e.id
229
- }), u = f(
229
+ }), i = f(
230
230
  () => typeof e.value != "boolean" && Array.isArray(e.modelValue) ? e.modelValue.includes(e.value) : typeof e.modelValue == "boolean" ? e.modelValue : !1
231
231
  ), b = f(() => {
232
232
  switch (e.size) {
@@ -258,61 +258,61 @@ 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)`), 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)`);
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)`);
262
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((t) => t !== 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((r) => r !== o) : [...e.modelValue, o] : [o];
267
267
  }
268
268
  function z(o) {
269
- const t = d(o);
270
- n("update:model-value", t), n("change", t);
269
+ const r = d(o);
270
+ n("update:model-value", r), n("change", r);
271
271
  }
272
- const g = x();
273
- function $(o) {
274
- var t;
275
- (t = g.value) == null || t.dispatchEvent(new Event("blur")), n("blur", o);
272
+ const g = S();
273
+ function A(o) {
274
+ var r;
275
+ (r = g.value) == null || r.dispatchEvent(new Event("blur")), n("blur", o);
276
276
  }
277
277
  function k(o) {
278
- var t;
279
- (t = g.value) == null || t.dispatchEvent(new Event("focus")), n("focus", o);
278
+ var r;
279
+ (r = g.value) == null || r.dispatchEvent(new Event("focus")), n("focus", o);
280
280
  }
281
- return (o, t) => (p(), v("label", {
281
+ return (o, r) => (p(), v("label", {
282
282
  for: C(l),
283
- class: A(["m-checkbox", [{ "--disabled": o.disabled, "--error": o.error, "--warning": o.warning, "--success": o.success }, e.class]]),
283
+ class: x(["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
- "aria-checked": u.value,
287
+ "aria-checked": i.value,
288
288
  onKeydown: s,
289
- onBlur: $,
289
+ onBlur: A,
290
290
  onFocus: k
291
291
  }, [
292
292
  m("input", D({
293
293
  id: C(l),
294
294
  ref_key: "inputRef",
295
295
  ref: g,
296
- checked: u.value
296
+ checked: i.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: t[0] || (t[0] = (V) => {
302
+ onChange: r[0] || (r[0] = (I) => {
303
303
  var M;
304
- return z(o.value ?? ((M = V == null ? void 0 : V.target) == null ? void 0 : M.checked));
304
+ return z(o.value ?? ((M = I == null ? void 0 : I.target) == null ? void 0 : M.checked));
305
305
  })
306
306
  }), null, 16, te),
307
307
  m("span", null, [
308
- S(C(Q), {
309
- class: A(["check-icon", h.value])
308
+ V(C(Q), {
309
+ class: x(["check-icon", h.value])
310
310
  }, null, 8, ["class"])
311
311
  ]),
312
312
  m("div", re, [
313
313
  w(o.$slots, "default", { value: o.value }, () => [
314
314
  B(
315
- I(o.label),
315
+ E(o.label),
316
316
  1
317
317
  /* TEXT */
318
318
  )
@@ -321,24 +321,24 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
321
321
  "span",
322
322
  {
323
323
  key: 0,
324
- class: A(["m-checkbox__hint", {
324
+ class: x(["m-checkbox__hint", {
325
325
  "--error": o.error,
326
326
  "--success": o.success,
327
327
  "--warning": o.warning
328
328
  }])
329
329
  },
330
- I(o.hint),
330
+ E(o.hint),
331
331
  3
332
332
  /* TEXT, CLASS */
333
- )) : E("v-if", !0)
333
+ )) : $("v-if", !0)
334
334
  ])
335
335
  ], 46, le));
336
336
  }
337
- }), se = /* @__PURE__ */ L(ne, [["__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" }, ue = {
338
338
  key: 0,
339
339
  for: "query",
340
340
  class: "maz-flex maz-items-center maz-justify-between maz-gap-4"
341
- }, ue = {
341
+ }, ie = {
342
342
  key: 0,
343
343
  class: "maz-flex-none maz-truncate"
344
344
  }, de = {
@@ -359,19 +359,19 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
359
359
  color: { default: "primary" }
360
360
  },
361
361
  emits: ["update:query", "update:model-value"],
362
- setup(c, { emit: r }) {
363
- const e = c, n = r, l = _(() => import("./MazInput-NE6H-10w.mjs")), u = _(
362
+ setup(c, { emit: t }) {
363
+ const e = c, n = t, l = _(() => import("./MazInput-geBqeT4i.mjs")), i = _(
364
364
  () => import("./magnifying-glass--nBiyXot.mjs")
365
365
  ), b = _(
366
366
  () => import("./no-symbol-CIgKzsrB.mjs")
367
- ), h = x(e.query);
367
+ ), h = S(e.query);
368
368
  H(
369
369
  () => e.query,
370
370
  (a) => {
371
371
  h.value = a;
372
372
  }
373
373
  );
374
- const i = f(() => {
374
+ const u = f(() => {
375
375
  var s;
376
376
  if (!h.value)
377
377
  return e.items;
@@ -384,32 +384,32 @@ 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, $;
387
+ var d, z, g, A;
388
388
  return p(), v("div", ce, [
389
- (d = a.search) != null && d.enabled ? (p(), v("label", ie, [
390
- a.$slots.title || a.title ? (p(), v("span", ue, [
389
+ (d = a.search) != null && d.enabled ? (p(), v("label", ue, [
390
+ a.$slots.title || a.title ? (p(), v("span", ie, [
391
391
  w(a.$slots, "title", {}, () => [
392
392
  B(
393
- I(a.title),
393
+ E(a.title),
394
394
  1
395
395
  /* TEXT */
396
396
  )
397
397
  ])
398
- ])) : E("v-if", !0),
399
- S(C(l), D({
398
+ ])) : $("v-if", !0),
399
+ V(C(l), D({
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(u),
404
+ "left-icon": a.search.leftIcon ?? C(i),
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.search) == null ? void 0 : $.placeholder,
408
+ placeholder: (A = a.search) == null ? void 0 : A.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
- ])) : E("v-if", !0),
412
- S(ee, {
411
+ ])) : $("v-if", !0),
412
+ V(ee, {
413
413
  color: a.color,
414
414
  "no-elevation": !a.elevation,
415
415
  padding: !1,
@@ -418,10 +418,10 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
418
418
  default: Z(() => {
419
419
  var k;
420
420
  return [
421
- ((k = i.value) == null ? void 0 : k.length) === 0 ? (p(), v("div", de, [
421
+ ((k = u.value) == null ? void 0 : k.length) === 0 ? (p(), v("div", de, [
422
422
  w(a.$slots, "no-results", {}, () => [
423
423
  m("div", me, [
424
- S(C(b), { class: "maz-text-3xl maz-text-muted" }),
424
+ V(C(b), { class: "maz-text-3xl maz-text-muted" }),
425
425
  m("span", fe, [
426
426
  w(a.$slots, "no-results-text", {}, () => [
427
427
  s[2] || (s[2] = B(" No results found "))
@@ -429,30 +429,30 @@ const Q = { render: R }, ze = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Obje
429
429
  ])
430
430
  ])
431
431
  ])
432
- ])) : E("v-if", !0),
432
+ ])) : $("v-if", !0),
433
433
  (p(!0), v(
434
434
  G,
435
435
  null,
436
- J(i.value, ({ label: o, value: t }) => (p(), v("label", {
437
- key: t,
438
- for: t,
436
+ J(u.value, (o) => (p(), v("label", {
437
+ key: o.value,
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
- S(se, {
442
- id: t,
441
+ V(se, {
442
+ id: o.value,
443
443
  "model-value": e.modelValue,
444
- value: t,
444
+ value: o.value,
445
445
  color: a.color,
446
- "onUpdate:modelValue": s[1] || (s[1] = (V) => n("update:model-value", V))
446
+ "onUpdate:modelValue": s[1] || (s[1] = (r) => n("update:model-value", r))
447
447
  }, null, 8, ["id", "model-value", "value", "color"]),
448
448
  w(a.$slots, "item", {
449
449
  selectedValues: a.modelValue,
450
- item: { label: o, value: t }
450
+ item: o
451
451
  }, () => [
452
452
  m(
453
453
  "span",
454
454
  ve,
455
- I(o),
455
+ E(o.label),
456
456
  1
457
457
  /* TEXT */
458
458
  )
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as T, ref as m, computed as v, onMounted as x, watchEffect as L, openBlock as P, createElementBlock as _, mergeProps as A, createCommentVNode as C, nextTick as $ } from "vue";
2
- import { i as q } from "./MazPhoneNumberInput-BbssOUzo.mjs";
2
+ import { i as q } from "./MazPhoneNumberInput-BTm8A0bL.mjs";
3
3
  const H = ["innerHTML"], V = /* @__PURE__ */ T({
4
4
  __name: "MazIcon",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as Q, defineAsyncComponent as d, ref as h, onMounted as W, computed as r, useSlots as X, openBlock as o, createElementBlock as f, normalizeClass as z, normalizeStyle as Y, createElementVNode as g, renderSlot as k, createBlock as u, unref as i, resolveDynamicComponent as C, createCommentVNode as n, withDirectives as Z, mergeProps as x, toHandlers as _, vModelDynamic as ee, createTextVNode as te, toDisplayString as oe, withModifiers as ae, withCtx as V, createVNode as S } from "vue";
2
2
  import { u as ne } from "./useInstanceUniqId-DW9jO1Sz.mjs";
3
- import { _ as le } from "./MazTable-BJDPdIJB.mjs";
3
+ import { _ as le } from "./MazTable-BKdEx63E.mjs";
4
4
  import '../assets/MazInput.css';function re(v, y) {
5
5
  let t;
6
6
  return function(...l) {
@@ -53,7 +53,7 @@ const ie = {
53
53
  },
54
54
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
55
55
  setup(v, { emit: y }) {
56
- const t = v, l = y, I = d(() => import("./MazBtn-BijEMn4r.mjs")), B = d(() => import("./MazIcon-DjMuw8Bz.mjs")), M = d(() => import("./eye-slash-BoO00xzs.mjs")), q = d(() => import("./eye-f8zAUc30.mjs")), D = d(() => import("./check-C9Q_W85g.mjs")), c = h(!1), s = h(!1), w = h(), E = ne({
56
+ const t = v, l = y, I = d(() => import("./MazBtn-psosbsi3.mjs")), B = d(() => import("./MazIcon-DjMuw8Bz.mjs")), M = d(() => import("./eye-slash-BoO00xzs.mjs")), q = d(() => import("./eye-f8zAUc30.mjs")), D = d(() => import("./check-C9Q_W85g.mjs")), c = h(!1), s = h(!1), w = h(), E = ne({
57
57
  componentName: "MazInput",
58
58
  providedId: t.id
59
59
  });
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as Q, defineAsyncComponent as d, ref as h, onMounted as W, computed as r, useSlots as X, openBlock as o, createElementBlock as f, normalizeClass as z, normalizeStyle as Y, createElementVNode as g, renderSlot as k, createBlock as u, unref as i, resolveDynamicComponent as C, createCommentVNode as n, withDirectives as Z, mergeProps as x, toHandlers as _, vModelDynamic as ee, createTextVNode as te, toDisplayString as oe, withModifiers as ae, withCtx as V, createVNode as S } from "vue";
2
- import { u as ne, _ as le } from "./MazChecklist-C95Y4Hb-.mjs";
2
+ import { u as ne, _ as le } from "./MazChecklist-CQv-sXP1.mjs";
3
3
  import '../assets/MazInput.css';function re(v, y) {
4
4
  let t;
5
5
  return function(...l) {
@@ -52,7 +52,7 @@ const ie = {
52
52
  },
53
53
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
54
54
  setup(v, { emit: y }) {
55
- const t = v, l = y, I = d(() => import("./MazBtn-DfqRZvbB.mjs")), B = d(() => import("./MazIcon-BbvBov5G.mjs")), M = d(() => import("./eye-slash-BoO00xzs.mjs")), q = d(() => import("./eye-f8zAUc30.mjs")), D = d(() => import("./MazChecklist-C95Y4Hb-.mjs").then((e) => e.c)), c = h(!1), s = h(!1), w = h(), E = ne({
55
+ const t = v, l = y, I = d(() => import("./MazBtn-cUQ1Tykp.mjs")), B = d(() => import("./MazIcon-BbvBov5G.mjs")), M = d(() => import("./eye-slash-BoO00xzs.mjs")), q = d(() => import("./eye-f8zAUc30.mjs")), D = d(() => import("./MazChecklist-CQv-sXP1.mjs").then((e) => e.c)), c = h(!1), s = h(!1), w = h(), E = ne({
56
56
  componentName: "MazInput",
57
57
  providedId: t.id
58
58
  });
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, useCssVars as n, computed as c, openBlock as s, createElementBlock as d, createElementVNode as m } from "vue";
2
- import { _ as p } from "./MazTable-BJDPdIJB.mjs";
2
+ import { _ as p } from "./MazTable-BKdEx63E.mjs";
3
3
  import '../assets/MazLoadingBar.css';const i = { class: "m-loading-bar" }, u = /* @__PURE__ */ l({
4
4
  __name: "MazLoadingBar",
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import '../assets/MazPhoneNumberInput.css';var Ge = Object.defineProperty;
2
2
  var Je = (a, o, e) => o in a ? Ge(a, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[o] = e;
3
3
  var _ = (a, o, e) => Je(a, typeof o != "symbol" ? o + "" : o, e);
4
- import { useId as Ze, computed as h, inject as Xe, defineComponent as ne, defineAsyncComponent as q, withDirectives as ze, openBlock as b, createElementBlock as E, normalizeClass as F, normalizeStyle as ee, Fragment as be, renderList as Be, createElementVNode as j, mergeProps as oe, createVNode as H, unref as P, createCommentVNode as $, renderSlot as N, ref as k, onMounted as Ie, useSlots as xe, createBlock as U, resolveDynamicComponent as Pe, toHandlers as _e, vModelDynamic as eo, createTextVNode as oo, toDisplayString as ue, withModifiers as se, withCtx as G, useCssVars as to, onBeforeMount as lo, nextTick as ie, Transition as ao, mergeModels as ke, useModel as so, provide as no, watch as he } from "vue";
4
+ import { useId as Ze, computed as h, inject as Xe, defineComponent as se, defineAsyncComponent as q, withDirectives as ze, openBlock as b, createElementBlock as E, normalizeClass as F, normalizeStyle as ee, Fragment as be, renderList as Be, createElementVNode as j, mergeProps as oe, createVNode as H, unref as P, createCommentVNode as $, renderSlot as N, ref as k, onMounted as Ie, useSlots as xe, createBlock as U, resolveDynamicComponent as Pe, toHandlers as _e, vModelDynamic as eo, createTextVNode as oo, toDisplayString as ue, withModifiers as ae, withCtx as G, useCssVars as to, onBeforeMount as lo, nextTick as ie, Transition as ao, mergeModels as ke, useModel as so, provide as no, watch as he } from "vue";
5
5
  import { getCountries as Oe, getCountryCallingCode as ce, isSupportedCountry as ro, parsePhoneNumberFromString as io, AsYouType as uo, getExampleNumber as co } from "libphonenumber-js";
6
6
  function Ae({
7
7
  componentName: a,
@@ -204,7 +204,7 @@ const vo = {
204
204
  }, yo = ["data-lazy-srcset", "media"], go = ["alt"], bo = {
205
205
  key: 0,
206
206
  class: "m-lazy-img-component-loader"
207
- }, Co = /* @__PURE__ */ ne({
207
+ }, Co = /* @__PURE__ */ se({
208
208
  inheritAttrs: !1,
209
209
  __name: "MazLazyImg",
210
210
  props: {
@@ -225,7 +225,7 @@ const vo = {
225
225
  },
226
226
  emits: ["intersecting", "loading", "loaded", "error"],
227
227
  setup(a) {
228
- const o = a, e = q(() => import("./MazSpinner-CEFbkZkM.mjs")), t = h(() => o.image || o.src), r = h(() => {
228
+ const o = a, e = q(() => import("./MazSpinner-B7tPZpHw.mjs")), t = h(() => o.image || o.src), r = h(() => {
229
229
  var u;
230
230
  return typeof t.value == "string" ? [{ srcset: t.value }] : (u = t.value) == null ? void 0 : u.sources;
231
231
  });
@@ -274,12 +274,12 @@ const vo = {
274
274
  }]
275
275
  ]);
276
276
  }
277
- }), re = (a, o) => {
277
+ }), ne = (a, o) => {
278
278
  const e = a.__vccOpts || a;
279
279
  for (const [t, r] of o)
280
280
  e[t] = r;
281
281
  return e;
282
- }, Le = /* @__PURE__ */ re(Co, [["__scopeId", "data-v-83e40430"]]), zo = {
282
+ }, Le = /* @__PURE__ */ ne(Co, [["__scopeId", "data-v-83e40430"]]), zo = {
283
283
  removeAccents: !0,
284
284
  caseSensitive: !1,
285
285
  replaceSpaces: !0,
@@ -433,7 +433,7 @@ const Eo = {
433
433
  }, Lo = { class: "m-input-wrapper-input" }, $o = ["id", "type", "name", "inputmode", "placeholder", "aria-label", "disabled", "readonly", "required"], Bo = { key: 0 }, Oo = {
434
434
  key: 1,
435
435
  class: "m-input-wrapper-right"
436
- }, Mo = /* @__PURE__ */ ne({
436
+ }, Mo = /* @__PURE__ */ se({
437
437
  inheritAttrs: !1,
438
438
  __name: "MazInput",
439
439
  props: {
@@ -471,7 +471,7 @@ const Eo = {
471
471
  },
472
472
  emits: ["update:model-value", "focus", "blur", "click", "change", "input"],
473
473
  setup(a, { emit: o }) {
474
- const e = a, t = o, r = q(() => import("./MazBtn-2VKM1wZu.mjs")), u = q(() => import("./MazIcon-BF5TFzse.mjs")), v = q(() => import("./eye-slash-BoO00xzs.mjs")), f = q(() => import("./eye-f8zAUc30.mjs")), O = q(() => import("./check-C9Q_W85g.mjs")), L = k(!1), y = k(!1), V = k(), i = Ae({
474
+ const e = a, t = o, r = q(() => import("./MazBtn-Sj-Pq0YV.mjs")), u = q(() => import("./MazIcon-BdQtfzuy.mjs")), v = q(() => import("./eye-slash-BoO00xzs.mjs")), f = q(() => import("./eye-f8zAUc30.mjs")), O = q(() => import("./check-C9Q_W85g.mjs")), L = k(!1), y = k(!1), V = k(), i = Ae({
475
475
  componentName: "MazInput",
476
476
  providedId: e.id
477
477
  });
@@ -653,7 +653,7 @@ const Eo = {
653
653
  color: "transparent",
654
654
  tabindex: "-1",
655
655
  size: "mini",
656
- onClick: M[2] || (M[2] = se((x) => L.value = !L.value, ["stop"]))
656
+ onClick: M[2] || (M[2] = ae((x) => L.value = !L.value, ["stop"]))
657
657
  }, {
658
658
  default: G(() => [
659
659
  L.value ? (b(), U(P(v), {
@@ -694,11 +694,11 @@ const Eo = {
694
694
  /* CLASS, STYLE */
695
695
  ));
696
696
  }
697
- }), Ce = /* @__PURE__ */ re(Mo, [["__scopeId", "data-v-c42aaa7f"]]), To = ["aria-label"], Fo = { class: "m-select-list__no-results" }, No = {
697
+ }), Ce = /* @__PURE__ */ ne(Mo, [["__scopeId", "data-v-c42aaa7f"]]), To = ["aria-label"], Fo = { class: "m-select-list__no-results" }, No = {
698
698
  key: 2,
699
699
  class: "m-select-list__scroll-wrapper",
700
700
  tabindex: "-1"
701
- }, Ko = { class: "m-select-list-optgroup" }, Uo = ["onClick"], Ho = /* @__PURE__ */ ne({
701
+ }, Ko = { class: "m-select-list-optgroup" }, Uo = ["onClick"], Ho = /* @__PURE__ */ se({
702
702
  inheritAttrs: !1,
703
703
  __name: "MazSelect",
704
704
  props: {
@@ -732,14 +732,14 @@ const Eo = {
732
732
  emits: ["close", "open", "blur", "focus", "change", "input", "update:model-value", "selected-option"],
733
733
  setup(a, { expose: o, emit: e }) {
734
734
  to((l) => ({
735
- cb149e58: z.value,
736
- "215ff493": i.value,
737
- "64d6cfbb": p.value
735
+ fba4bd7a: z.value,
736
+ "2796b77c": i.value,
737
+ d1bcc1ac: p.value
738
738
  }));
739
- const t = a, r = e, u = q(() => import("./MazCheckbox-B22OcHt8.mjs")), v = q(() => import("./magnifying-glass--nBiyXot.mjs")), f = q(() => import("./chevron-down-BkvtON3b.mjs")), O = q(() => import("./no-symbol-CIgKzsrB.mjs"));
739
+ const t = a, r = e, u = q(() => import("./MazCheckbox-DTU2jEkC.mjs")), v = q(() => import("./magnifying-glass--nBiyXot.mjs")), f = q(() => import("./chevron-down-BkvtON3b.mjs")), O = q(() => import("./no-symbol-CIgKzsrB.mjs"));
740
740
  o({
741
741
  /** Method to open the option list */
742
- openList: ae,
742
+ openList: re,
743
743
  /** Method to close the option list */
744
744
  closeList: le
745
745
  });
@@ -841,7 +841,7 @@ const Eo = {
841
841
  return l == null ? void 0 : l.preventDefault();
842
842
  await ie(), L.value = !1, y.value = 0, r("close", l);
843
843
  }
844
- async function ae(l) {
844
+ async function re(l) {
845
845
  t.disabled || w.value || (l == null || l.preventDefault(), L.value = !0, await fe(), r("focus", l), r("open", L.value));
846
846
  }
847
847
  function we() {
@@ -871,7 +871,7 @@ const Eo = {
871
871
  }
872
872
  function Ye(l) {
873
873
  const d = l.key;
874
- /^[\dA-Za-z\u0400-\u04FF]$/.test(d) ? (l.preventDefault(), ae(l), t.search ? qe(d) : je(d)) : Se(l);
874
+ /^[\dA-Za-z\u0400-\u04FF]$/.test(d) ? (l.preventDefault(), re(l), t.search ? qe(d) : je(d)) : Se(l);
875
875
  }
876
876
  function Se(l, d = !0) {
877
877
  const m = l.code, c = ["ArrowUp", "ArrowDown"].includes(m), I = (d ? ["Enter", "Space"] : ["Enter"]).includes(m), B = m === "Escape" && w.value;
@@ -881,14 +881,15 @@ const Eo = {
881
881
  var I;
882
882
  l.preventDefault();
883
883
  const m = l.code;
884
- w.value || ae(l);
884
+ w.value || re(l);
885
885
  const c = (I = Q.value) == null ? void 0 : I.length;
886
886
  c && (typeof d == "number" ? d === c - 1 && m === "ArrowDown" ? y.value = 0 : d === 0 && m === "ArrowUp" ? y.value = c - 1 : y.value = m === "ArrowDown" ? d + 1 : d - 1 : y.value = m === "ArrowDown" ? 0 : c - 1, fe(y.value));
887
887
  }
888
888
  function Qe(l, d) {
889
889
  var c, I, B;
890
- if (l.preventDefault(), !w.value)
891
- return ae(l);
890
+ if (!w.value)
891
+ return;
892
+ l.preventDefault();
892
893
  const m = d ? ((c = Q.value) == null ? void 0 : c[d]) ?? ((I = Q.value) == null ? void 0 : I[0]) : (B = Q.value) == null ? void 0 : B[0];
893
894
  A(m) || Ve(m);
894
895
  }
@@ -955,9 +956,9 @@ const Eo = {
955
956
  block: "",
956
957
  autocomplete: l.autocomplete,
957
958
  disabled: l.disabled,
958
- onFocus: se(ae, ["prevent", "stop"]),
959
- onBlur: se(le, ["prevent", "stop"]),
960
- onClick: se(ae, ["prevent", "stop"]),
959
+ onFocus: ae(re, ["prevent", "stop"]),
960
+ onBlur: ae(le, ["prevent", "stop"]),
961
+ onClick: ae(re, ["prevent", "stop"]),
961
962
  onChange: d[0] || (d[0] = (c) => r("change", c)),
962
963
  onInput: d[1] || (d[1] = (c) => r("input", c)),
963
964
  onKeydown: Ye
@@ -968,7 +969,7 @@ const Eo = {
968
969
  type: "button",
969
970
  class: "m-select-input__toggle-button maz-custom",
970
971
  "aria-label": `${w.value ? "collapse" : "expand"} list of options`,
971
- onClick: se(Re, ["stop"])
972
+ onClick: ae(Re, ["stop"])
972
973
  }, [
973
974
  H(P(f), { class: "m-select-chevron maz-text-xl" })
974
975
  ], 8, To)
@@ -1053,7 +1054,7 @@ const Eo = {
1053
1054
  }
1054
1055
  ]]),
1055
1056
  style: ee(l.itemHeight ? { height: `${l.itemHeight}px` } : void 0),
1056
- onClick: se((B) => Ve(c), ["prevent", "stop"])
1057
+ onClick: ae((B) => Ve(c), ["prevent", "stop"])
1057
1058
  }, [
1058
1059
  l.multiple ? (b(), U(P(u), {
1059
1060
  key: 0,
@@ -1102,7 +1103,7 @@ const Eo = {
1102
1103
  ]);
1103
1104
  };
1104
1105
  }
1105
- }), Do = /* @__PURE__ */ re(Ho, [["__scopeId", "data-v-e35a36a6"]]);
1106
+ }), Do = /* @__PURE__ */ ne(Ho, [["__scopeId", "data-v-3b483b12"]]);
1106
1107
  function Ke() {
1107
1108
  if (typeof window > "u")
1108
1109
  return;
@@ -1164,7 +1165,7 @@ function Ue() {
1164
1165
  const Wo = ["id"], Qo = {
1165
1166
  key: 0,
1166
1167
  class: "m-country-selector__select__item__flag-container"
1167
- }, Go = /* @__PURE__ */ ne({
1168
+ }, Go = /* @__PURE__ */ se({
1168
1169
  __name: "CountrySelector",
1169
1170
  props: {
1170
1171
  style: { default: void 0 },
@@ -1351,7 +1352,7 @@ const Wo = ["id"], Qo = {
1351
1352
  /* CLASS, STYLE */
1352
1353
  ));
1353
1354
  }
1354
- }), Jo = /* @__PURE__ */ re(Go, [["__scopeId", "data-v-382b69af"]]), Zo = {
1355
+ }), Jo = /* @__PURE__ */ ne(Go, [["__scopeId", "data-v-382b69af"]]), Zo = {
1355
1356
  countrySelector: {
1356
1357
  placeholder: "Country code",
1357
1358
  error: "Choose country",
@@ -1433,7 +1434,7 @@ function He() {
1433
1434
  getCountryCallingCode: ce
1434
1435
  };
1435
1436
  }
1436
- const tt = /* @__PURE__ */ ne({
1437
+ const tt = /* @__PURE__ */ se({
1437
1438
  __name: "PhoneInput",
1438
1439
  props: /* @__PURE__ */ ke({
1439
1440
  id: {},
@@ -1517,7 +1518,7 @@ const tt = /* @__PURE__ */ ne({
1517
1518
  "onUpdate:modelValue": S[2] || (S[2] = (C) => Y(C))
1518
1519
  }), null, 16, ["id", "model-value", "disabled", "color", "error", "size", "success", "class"]));
1519
1520
  }
1520
- }), lt = /* @__PURE__ */ re(tt, [["__scopeId", "data-v-ebe8f08f"]]), at = /* @__PURE__ */ ne({
1521
+ }), lt = /* @__PURE__ */ ne(tt, [["__scopeId", "data-v-ebe8f08f"]]), at = /* @__PURE__ */ se({
1521
1522
  name: "MazPhoneNumberInput",
1522
1523
  inheritAttrs: !1,
1523
1524
  __name: "MazPhoneNumberInput",
@@ -1769,10 +1770,10 @@ const tt = /* @__PURE__ */ ne({
1769
1770
  );
1770
1771
  };
1771
1772
  }
1772
- }), it = /* @__PURE__ */ re(at, [["__scopeId", "data-v-420d6d4a"]]);
1773
+ }), it = /* @__PURE__ */ ne(at, [["__scopeId", "data-v-420d6d4a"]]);
1773
1774
  export {
1774
1775
  it as M,
1775
- re as _,
1776
+ ne as _,
1776
1777
  Me as i,
1777
1778
  Ae as u
1778
1779
  };